Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.4.1 #16

Merged
merged 1 commit into from
Apr 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.4.0
1.4.1
2 changes: 1 addition & 1 deletion api/apis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const queryParamsSerializer = (params) => {

export { RequestFile } from "../model";

export const USER_AGENT = "OpenAPI-Generator/1.4.0/node";
export const USER_AGENT = "OpenAPI-Generator/1.4.1/node";

/**
* Generates an object containing form data.
Expand Down
2 changes: 1 addition & 1 deletion api/oAuthApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ import {
USER_AGENT,
} from "./";

let defaultBasePath = "https://api.hellosign.com/v3";
let defaultBasePath = "https://app.hellosign.com";

// ===============================================
// This file is autogenerated - Please do not edit
Expand Down
12 changes: 12 additions & 0 deletions bin/replace
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,15 @@ rep 'LegalVersionEnum_Terms1' \
rep 'TypeEnum_RequestSignature' \
'UnclaimedDraftCreateEmbeddedRequest.TypeEnum.RequestSignature'
printf "\n\n"

printf "Fixing broken defaultBasePath for OAuth endpoints ...\n"
perl -pi -e 's#let defaultBasePath = "https://api.hellosign.com/v3";#let defaultBasePath = "https://app.hellosign.com";#g' \
"${ROOT_DIR}/api/oAuthApi.ts"

grep -ilr "https://api.hellosign.com/v3" "${ROOT_DIR}/api/oAuthApi.ts"
if [ $? -eq 0 ]; then
printf "Error: https://api.hellosign.com/v3 server URL not replaced in api/oAuthApi.ts\n"
exit 1
fi

printf "\n\n"
4 changes: 2 additions & 2 deletions dist/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -25751,7 +25751,7 @@ var EmbeddedApi = class {
};

// api/oAuthApi.ts
var defaultBasePath5 = "https://api.hellosign.com/v3";
var defaultBasePath5 = "https://app.hellosign.com";
var OAuthApi = class {
constructor(basePath) {
this._basePath = defaultBasePath5;
Expand Down Expand Up @@ -31657,7 +31657,7 @@ var HttpError = class extends Error {
var queryParamsSerializer = (params) => {
return import_qs.default.stringify(params, { arrayFormat: "brackets" });
};
var USER_AGENT = "OpenAPI-Generator/1.4.0/node";
var USER_AGENT = "OpenAPI-Generator/1.4.1/node";
var generateFormData = (obj, typemap) => {
const data = {};
let localVarUseFormData = false;
Expand Down
2 changes: 1 addition & 1 deletion openapi-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ generatorName: typescript-node
typeMappings: {}
additionalProperties:
npmName: "@dropbox/sign"
npmVersion: 1.4.0
npmVersion: 1.4.1
supportsES6: true
apiDocPath: ./docs/api
modelDocPath: ./docs/model
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dropbox/sign",
"version": "1.4.0",
"version": "1.4.1",
"description": "Official Node client for Dropbox Sign",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion types/api/apis.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export interface returnTypeI {
}
export declare const queryParamsSerializer: (params: any) => any;
export { RequestFile } from "../model";
export declare const USER_AGENT = "OpenAPI-Generator/1.4.0/node";
export declare const USER_AGENT = "OpenAPI-Generator/1.4.1/node";
export declare const generateFormData: (obj: any, typemap: AttributeTypeMap) => {
localVarUseFormData: boolean;
data: object;
Expand Down
Loading