diff --git a/LICENSE b/LICENSE index 4025343..ef7ea60 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (C) 2023 dropbox.com +Copyright (c) 2024 dropbox.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/VERSION b/VERSION index 9c6d629..fdd3be6 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.6.1 +1.6.2 diff --git a/api/apis.ts b/api/apis.ts index 5922256..9a6b328 100644 --- a/api/apis.ts +++ b/api/apis.ts @@ -38,7 +38,7 @@ export const queryParamsSerializer = (params) => { return Qs.stringify(params, { arrayFormat: "brackets" }); }; -export const USER_AGENT = "OpenAPI-Generator/1.6.1/node"; +export const USER_AGENT = "OpenAPI-Generator/1.6.2/node"; /** * Generates an object containing form data. diff --git a/dist/api.js b/dist/api.js index 956018a..a97d30e 100644 --- a/dist/api.js +++ b/dist/api.js @@ -32364,7 +32364,7 @@ var HttpError = class extends Error { var queryParamsSerializer = (params) => { return import_qs.default.stringify(params, { arrayFormat: "brackets" }); }; -var USER_AGENT = "OpenAPI-Generator/1.6.1/node"; +var USER_AGENT = "OpenAPI-Generator/1.6.2/node"; var generateFormData = (obj, typemap) => { const data = {}; let localVarUseFormData = false; diff --git a/openapi-config.yaml b/openapi-config.yaml index cd09bc1..3dfbf13 100644 --- a/openapi-config.yaml +++ b/openapi-config.yaml @@ -2,38 +2,42 @@ generatorName: typescript-node typeMappings: {} additionalProperties: npmName: "@dropbox/sign" - npmVersion: 1.6.1 + npmVersion: 1.6.2 supportsES6: true apiDocPath: ./docs/api modelDocPath: ./docs/model sortModelPropertiesByRequiredFlag: true useCustomTemplateCode: true + licenseCopyrightYear: 2024 files: - npmignore: + dropbox-npmignore: templateType: SupportingFiles destinationFilename: .npmignore - api-doc.mustache: + dropbox-api-doc.mustache: templateType: APIDocs destinationFilename: .md - model-doc.mustache: + dropbox-model-doc.mustache: templateType: ModelDocs destinationFilename: .md - README.mustache: + dropbox-README.mustache: templateType: SupportingFiles destinationFilename: README.md - eventCallbackHelper.mustache: + dropbox-eventCallbackHelper.mustache: templateType: SupportingFiles destinationFilename: model/eventCallbackHelper.ts - VERSION.mustache: + dropbox-LICENSE.mustache: + templateType: SupportingFiles + destinationFilename: LICENSE + dropbox-VERSION.mustache: templateType: SupportingFiles destinationFilename: VERSION - api-index.mustache: + dropbox-api-index.mustache: templateType: SupportingFiles destinationFilename: api/index.ts - model-index.mustache: + dropbox-model-index.mustache: templateType: SupportingFiles destinationFilename: model/index.ts - prettierrc.cjs: + dropbox-prettierrc.cjs: templateType: SupportingFiles destinationFilename: .prettierrc.cjs globalProperties: diff --git a/package-lock.json b/package-lock.json index 6ebcad9..9b3c25d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@dropbox/sign", - "version": "1.6.1", + "version": "1.6.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@dropbox/sign", - "version": "1.6.1", + "version": "1.6.2", "dependencies": { "axios": "^1.7.0", "bluebird": "^3.7.2", diff --git a/package.json b/package.json index 9cb8dac..45e7751 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dropbox/sign", - "version": "1.6.1", + "version": "1.6.2", "description": "Official Node client for Dropbox Sign", "repository": { "type": "git", diff --git a/templates/dropbox-LICENSE.mustache b/templates/dropbox-LICENSE.mustache new file mode 100644 index 0000000..22039a6 --- /dev/null +++ b/templates/dropbox-LICENSE.mustache @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) {{licenseCopyrightYear}} dropbox.com + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/templates/README.mustache b/templates/dropbox-README.mustache similarity index 100% rename from templates/README.mustache rename to templates/dropbox-README.mustache diff --git a/templates/VERSION.mustache b/templates/dropbox-VERSION.mustache similarity index 100% rename from templates/VERSION.mustache rename to templates/dropbox-VERSION.mustache diff --git a/templates/api-doc.mustache b/templates/dropbox-api-doc.mustache similarity index 100% rename from templates/api-doc.mustache rename to templates/dropbox-api-doc.mustache diff --git a/templates/api-index.mustache b/templates/dropbox-api-index.mustache similarity index 100% rename from templates/api-index.mustache rename to templates/dropbox-api-index.mustache diff --git a/templates/eventCallbackHelper.mustache b/templates/dropbox-eventCallbackHelper.mustache similarity index 100% rename from templates/eventCallbackHelper.mustache rename to templates/dropbox-eventCallbackHelper.mustache diff --git a/templates/model-doc.mustache b/templates/dropbox-model-doc.mustache similarity index 100% rename from templates/model-doc.mustache rename to templates/dropbox-model-doc.mustache diff --git a/templates/model-index.mustache b/templates/dropbox-model-index.mustache similarity index 100% rename from templates/model-index.mustache rename to templates/dropbox-model-index.mustache diff --git a/templates/npmignore b/templates/dropbox-npmignore similarity index 100% rename from templates/npmignore rename to templates/dropbox-npmignore diff --git a/templates/prettierrc.cjs b/templates/dropbox-prettierrc.cjs similarity index 100% rename from templates/prettierrc.cjs rename to templates/dropbox-prettierrc.cjs diff --git a/types/api/apis.d.ts b/types/api/apis.d.ts index 8d2c6be..1a3027e 100644 --- a/types/api/apis.d.ts +++ b/types/api/apis.d.ts @@ -23,7 +23,7 @@ export interface returnTypeI { body?: any; } export declare const queryParamsSerializer: (params: any) => string; -export declare const USER_AGENT = "OpenAPI-Generator/1.6.1/node"; +export declare const USER_AGENT = "OpenAPI-Generator/1.6.2/node"; export declare const generateFormData: (obj: any, typemap: AttributeTypeMap) => { localVarUseFormData: boolean; data: object;