diff --git a/README.md b/README.md index caa493d..0d019cc 100644 --- a/README.md +++ b/README.md @@ -172,6 +172,7 @@ All URIs are relative to *https://api.hellosign.com/v3* - [AccountGetResponse](./docs/model/AccountGetResponse.md) - [AccountResponse](./docs/model/AccountResponse.md) - [AccountResponseQuotas](./docs/model/AccountResponseQuotas.md) +- [AccountResponseUsage](./docs/model/AccountResponseUsage.md) - [AccountUpdateRequest](./docs/model/AccountUpdateRequest.md) - [AccountVerifyRequest](./docs/model/AccountVerifyRequest.md) - [AccountVerifyResponse](./docs/model/AccountVerifyResponse.md) diff --git a/VERSION b/VERSION index 9df886c..bc80560 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.4.2 +1.5.0 diff --git a/api/apis.ts b/api/apis.ts index f87bc65..d370d20 100644 --- a/api/apis.ts +++ b/api/apis.ts @@ -39,7 +39,7 @@ export const queryParamsSerializer = (params) => { export { RequestFile } from "../model"; -export const USER_AGENT = "OpenAPI-Generator/1.4.2/node"; +export const USER_AGENT = "OpenAPI-Generator/1.5.0/node"; /** * Generates an object containing form data. diff --git a/dist/api.js b/dist/api.js index 808ead9..845e7ea 100644 --- a/dist/api.js +++ b/dist/api.js @@ -12559,6 +12559,7 @@ __export(api_exports, { AccountGetResponse: () => AccountGetResponse, AccountResponse: () => AccountResponse, AccountResponseQuotas: () => AccountResponseQuotas, + AccountResponseUsage: () => AccountResponseUsage, AccountUpdateRequest: () => AccountUpdateRequest, AccountVerifyRequest: () => AccountVerifyRequest, AccountVerifyResponse: () => AccountVerifyResponse, @@ -15781,6 +15782,11 @@ AccountResponse.attributeTypeMap = [ name: "locale", baseName: "locale", type: "string" + }, + { + name: "usage", + baseName: "usage", + type: "AccountResponseUsage" } ]; @@ -15820,6 +15826,30 @@ AccountResponseQuotas.attributeTypeMap = [ name: "smsVerificationsLeft", baseName: "sms_verifications_left", type: "number" + }, + { + name: "numFaxPagesLeft", + baseName: "num_fax_pages_left", + type: "number" + } +]; + +// model/accountResponseUsage.ts +var _AccountResponseUsage = class { + static getAttributeTypeMap() { + return _AccountResponseUsage.attributeTypeMap; + } + static init(data) { + return ObjectSerializer.deserialize(data, "AccountResponseUsage"); + } +}; +var AccountResponseUsage = _AccountResponseUsage; +AccountResponseUsage.discriminator = void 0; +AccountResponseUsage.attributeTypeMap = [ + { + name: "faxPagesSent", + baseName: "fax_pages_sent", + type: "number" } ]; @@ -23378,6 +23408,7 @@ var typeMap = { AccountGetResponse, AccountResponse, AccountResponseQuotas, + AccountResponseUsage, AccountUpdateRequest, AccountVerifyRequest, AccountVerifyResponse, @@ -30614,7 +30645,7 @@ var HttpError = class extends Error { var queryParamsSerializer = (params) => { return import_qs.default.stringify(params, { arrayFormat: "brackets" }); }; -var USER_AGENT = "OpenAPI-Generator/1.4.2/node"; +var USER_AGENT = "OpenAPI-Generator/1.5.0/node"; var generateFormData = (obj, typemap) => { const data = {}; let localVarUseFormData = false; @@ -30694,6 +30725,7 @@ var APIS = [ AccountGetResponse, AccountResponse, AccountResponseQuotas, + AccountResponseUsage, AccountUpdateRequest, AccountVerifyRequest, AccountVerifyResponse, diff --git a/docs/model/AccountResponse.md b/docs/model/AccountResponse.md index a642cee..b24e163 100644 --- a/docs/model/AccountResponse.md +++ b/docs/model/AccountResponse.md @@ -16,5 +16,6 @@ Name | Type | Description | Notes | `roleCode` | ```string``` | The membership role for the team. | | | `teamId` | ```string``` | The id of the team account belongs to. | | | `locale` | ```string``` | The locale used in this Account. Check out the list of [supported locales](/api/reference/constants/#supported-locales) to learn more about the possible values. | | +| `usage` | [```AccountResponseUsage```](AccountResponseUsage.md) | | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/model/AccountResponseQuotas.md b/docs/model/AccountResponseQuotas.md index d285ef2..55beed9 100644 --- a/docs/model/AccountResponseQuotas.md +++ b/docs/model/AccountResponseQuotas.md @@ -11,5 +11,6 @@ Name | Type | Description | Notes | `templatesTotal` | ```number``` | Total API templates allowed. | | | `templatesLeft` | ```number``` | API templates remaining. | | | `smsVerificationsLeft` | ```number``` | SMS verifications remaining. | | +| `numFaxPagesLeft` | ```number``` | Number of fax pages left | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/model/AccountResponseUsage.md b/docs/model/AccountResponseUsage.md new file mode 100644 index 0000000..2f095fb --- /dev/null +++ b/docs/model/AccountResponseUsage.md @@ -0,0 +1,11 @@ +# # AccountResponseUsage + +Details concerning monthly usage + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +| `faxPagesSent` | ```number``` | Number of fax pages sent | | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/model/accountResponse.ts b/model/accountResponse.ts index b558805..5173bbc 100644 --- a/model/accountResponse.ts +++ b/model/accountResponse.ts @@ -24,6 +24,7 @@ import { RequestFile, AttributeTypeMap, ObjectSerializer } from "./"; import { AccountResponseQuotas } from "./accountResponseQuotas"; +import { AccountResponseUsage } from "./accountResponseUsage"; export class AccountResponse { /** @@ -63,6 +64,7 @@ export class AccountResponse { * The locale used in this Account. Check out the list of [supported locales](/api/reference/constants/#supported-locales) to learn more about the possible values. */ "locale"?: string | null; + "usage"?: AccountResponseUsage; static discriminator: string | undefined = undefined; @@ -117,6 +119,11 @@ export class AccountResponse { baseName: "locale", type: "string", }, + { + name: "usage", + baseName: "usage", + type: "AccountResponseUsage", + }, ]; static getAttributeTypeMap(): AttributeTypeMap { diff --git a/model/accountResponseQuotas.ts b/model/accountResponseQuotas.ts index dd62dde..d831c61 100644 --- a/model/accountResponseQuotas.ts +++ b/model/accountResponseQuotas.ts @@ -48,6 +48,10 @@ export class AccountResponseQuotas { * SMS verifications remaining. */ "smsVerificationsLeft"?: number | null; + /** + * Number of fax pages left + */ + "numFaxPagesLeft"?: number | null; static discriminator: string | undefined = undefined; @@ -77,6 +81,11 @@ export class AccountResponseQuotas { baseName: "sms_verifications_left", type: "number", }, + { + name: "numFaxPagesLeft", + baseName: "num_fax_pages_left", + type: "number", + }, ]; static getAttributeTypeMap(): AttributeTypeMap { diff --git a/model/accountResponseUsage.ts b/model/accountResponseUsage.ts new file mode 100644 index 0000000..8c19a17 --- /dev/null +++ b/model/accountResponseUsage.ts @@ -0,0 +1,54 @@ +/** + * The MIT License (MIT) + * + * Copyright (C) 2023 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. + */ + +import { RequestFile, AttributeTypeMap, ObjectSerializer } from "./"; + +/** + * Details concerning monthly usage + */ +export class AccountResponseUsage { + /** + * Number of fax pages sent + */ + "faxPagesSent"?: number | null; + + static discriminator: string | undefined = undefined; + + static attributeTypeMap: AttributeTypeMap = [ + { + name: "faxPagesSent", + baseName: "fax_pages_sent", + type: "number", + }, + ]; + + static getAttributeTypeMap(): AttributeTypeMap { + return AccountResponseUsage.attributeTypeMap; + } + + /** Attempt to instantiate and hydrate a new instance of this class */ + static init(data: any): AccountResponseUsage { + return ObjectSerializer.deserialize(data, "AccountResponseUsage"); + } +} diff --git a/model/index.ts b/model/index.ts index edb86a0..6006219 100644 --- a/model/index.ts +++ b/model/index.ts @@ -3,6 +3,7 @@ import { AccountCreateResponse } from "./accountCreateResponse"; import { AccountGetResponse } from "./accountGetResponse"; import { AccountResponse } from "./accountResponse"; import { AccountResponseQuotas } from "./accountResponseQuotas"; +import { AccountResponseUsage } from "./accountResponseUsage"; import { AccountUpdateRequest } from "./accountUpdateRequest"; import { AccountVerifyRequest } from "./accountVerifyRequest"; import { AccountVerifyResponse } from "./accountVerifyResponse"; @@ -233,6 +234,7 @@ export let typeMap: { [index: string]: any } = { AccountGetResponse: AccountGetResponse, AccountResponse: AccountResponse, AccountResponseQuotas: AccountResponseQuotas, + AccountResponseUsage: AccountResponseUsage, AccountUpdateRequest: AccountUpdateRequest, AccountVerifyRequest: AccountVerifyRequest, AccountVerifyResponse: AccountVerifyResponse, @@ -441,6 +443,7 @@ export { AccountGetResponse, AccountResponse, AccountResponseQuotas, + AccountResponseUsage, AccountUpdateRequest, AccountVerifyRequest, AccountVerifyResponse, diff --git a/openapi-config.yaml b/openapi-config.yaml index fb01fc5..9780a13 100644 --- a/openapi-config.yaml +++ b/openapi-config.yaml @@ -2,7 +2,7 @@ generatorName: typescript-node typeMappings: {} additionalProperties: npmName: "@dropbox/sign" - npmVersion: 1.4.2 + npmVersion: 1.5.0 supportsES6: true apiDocPath: ./docs/api modelDocPath: ./docs/model diff --git a/openapi-sdk.yaml b/openapi-sdk.yaml index 6a2f61a..9bf5a68 100644 --- a/openapi-sdk.yaml +++ b/openapi-sdk.yaml @@ -7918,7 +7918,7 @@ components: initials: '#/components/schemas/SubFormFieldsPerDocumentInitials' text-merge: '#/components/schemas/SubFormFieldsPerDocumentTextMerge' checkbox-merge: '#/components/schemas/SubFormFieldsPerDocumentCheckboxMerge' - x-internal: true + x-internal-class: true x-base-class: true SubSignatureRequestGroupedSigners: required: @@ -9129,7 +9129,7 @@ components: items: $ref: '#/components/schemas/WarningResponse' type: object - x-internal: true + x-internal-class: true AccountGetResponse: properties: account: @@ -9140,7 +9140,7 @@ components: items: $ref: '#/components/schemas/WarningResponse' type: object - x-internal: true + x-internal-class: true AccountVerifyResponse: properties: account: @@ -9151,7 +9151,7 @@ components: items: $ref: '#/components/schemas/WarningResponse' type: object - x-internal: true + x-internal-class: true ApiAppGetResponse: properties: api_app: @@ -9162,7 +9162,7 @@ components: items: $ref: '#/components/schemas/WarningResponse' type: object - x-internal: true + x-internal-class: true ApiAppListResponse: properties: api_apps: @@ -9178,7 +9178,7 @@ components: items: $ref: '#/components/schemas/WarningResponse' type: object - x-internal: true + x-internal-class: true BulkSendJobGetResponse: properties: bulk_send_job: @@ -9196,7 +9196,7 @@ components: items: $ref: '#/components/schemas/WarningResponse' type: object - x-internal: true + x-internal-class: true BulkSendJobListResponse: properties: bulk_send_jobs: @@ -9212,7 +9212,7 @@ components: items: $ref: '#/components/schemas/WarningResponse' type: object - x-internal: true + x-internal-class: true BulkSendJobSendResponse: properties: bulk_send_job: @@ -9223,7 +9223,7 @@ components: items: $ref: '#/components/schemas/WarningResponse' type: object - x-internal: true + x-internal-class: true EmbeddedEditUrlResponse: properties: embedded: @@ -9234,7 +9234,7 @@ components: items: $ref: '#/components/schemas/WarningResponse' type: object - x-internal: true + x-internal-class: true EmbeddedSignUrlResponse: properties: embedded: @@ -9245,7 +9245,7 @@ components: items: $ref: '#/components/schemas/WarningResponse' type: object - x-internal: true + x-internal-class: true ErrorResponse: required: - error @@ -9262,14 +9262,14 @@ components: description: 'When the link expires.' type: integer type: object - x-internal: true + x-internal-class: true FileResponseDataUri: properties: data_uri: description: 'File as base64 encoded string.' type: string type: object - x-internal: true + x-internal-class: true ReportCreateResponse: properties: report: @@ -9280,7 +9280,7 @@ components: items: $ref: '#/components/schemas/WarningResponse' type: object - x-internal: true + x-internal-class: true SignatureRequestGetResponse: properties: signature_request: @@ -9291,7 +9291,7 @@ components: items: $ref: '#/components/schemas/WarningResponse' type: object - x-internal: true + x-internal-class: true SignatureRequestListResponse: properties: signature_requests: @@ -9307,7 +9307,7 @@ components: items: $ref: '#/components/schemas/WarningResponse' type: object - x-internal: true + x-internal-class: true AccountResponse: properties: account_id: @@ -9343,8 +9343,10 @@ components: description: 'The locale used in this Account. Check out the list of [supported locales](/api/reference/constants/#supported-locales) to learn more about the possible values.' type: string nullable: true + usage: + $ref: '#/components/schemas/AccountResponseUsage' type: object - x-internal: true + x-internal-class: true OAuthTokenResponse: properties: access_token: @@ -9360,7 +9362,7 @@ components: type: string nullable: true type: object - x-internal: true + x-internal-class: true AccountResponseQuotas: description: 'Details concerning remaining monthly quotas.' properties: @@ -9384,15 +9386,28 @@ components: description: 'SMS verifications remaining.' type: integer nullable: true + num_fax_pages_left: + description: 'Number of fax pages left' + type: integer + nullable: true + type: object + x-internal-class: true + AccountResponseUsage: + description: 'Details concerning monthly usage' + properties: + fax_pages_sent: + description: 'Number of fax pages sent' + type: integer + nullable: true type: object - x-internal: true + x-internal-class: true AccountVerifyResponseAccount: properties: email_address: description: 'The email address associated with the Account.' type: string type: object - x-internal: true + x-internal-class: true ApiAppResponse: description: 'Contains information about an API App.' properties: @@ -9426,7 +9441,7 @@ components: white_labeling_options: $ref: '#/components/schemas/ApiAppResponseWhiteLabelingOptions' type: object - x-internal: true + x-internal-class: true ApiAppResponseOAuth: description: 'An object describing the app''s OAuth properties, or null if OAuth is not configured for the app.' properties: @@ -9446,7 +9461,7 @@ components: type: boolean type: object nullable: true - x-internal: true + x-internal-class: true ApiAppResponseOptions: description: 'An object with options that override account settings.' properties: @@ -9455,7 +9470,7 @@ components: type: boolean type: object nullable: true - x-internal: true + x-internal-class: true ApiAppResponseOwnerAccount: description: 'An object describing the app''s owner' properties: @@ -9466,7 +9481,7 @@ components: description: 'The owner account''s email address' type: string type: object - x-internal: true + x-internal-class: true ApiAppResponseWhiteLabelingOptions: description: 'An object with options to customize the app''s signer page' properties: @@ -9500,7 +9515,7 @@ components: type: string type: object nullable: true - x-internal: true + x-internal-class: true BulkSendJobResponse: description: 'Contains information about the BulkSendJob such as when it was created and how many signature requests are queued.' properties: @@ -9518,7 +9533,7 @@ components: description: 'Time that the BulkSendJob was created.' type: integer type: object - x-internal: true + x-internal-class: true BulkSendJobGetResponseSignatureRequests: title: BulkSendJobGetResponseSignatureRequests type: object @@ -9530,7 +9545,7 @@ components: bulk_send_job_id: description: 'The id of the BulkSendJob.' type: string - x-internal: true + x-internal-class: true EmbeddedEditUrlResponseEmbedded: description: 'An embedded template object.' properties: @@ -9541,7 +9556,7 @@ components: description: 'The specific time that the the `edit_url` link expires, in epoch.' type: integer type: object - x-internal: true + x-internal-class: true EmbeddedSignUrlResponseEmbedded: description: 'An object that contains necessary information to set up embedded signing.' properties: @@ -9552,7 +9567,7 @@ components: description: 'The specific time that the the `sign_url` link expires, in epoch.' type: integer type: object - x-internal: true + x-internal-class: true ErrorResponseError: description: 'Contains information about an error that occurred.' required: @@ -9586,7 +9601,7 @@ components: description: 'Objects returned per page.' type: integer type: object - x-internal: true + x-internal-class: true ReportResponse: description: 'Contains information about the report request.' properties: @@ -9607,7 +9622,7 @@ components: - user_activity - document_status type: object - x-internal: true + x-internal-class: true SignatureRequestResponse: description: 'Contains information about a signature request.' properties: @@ -9715,7 +9730,7 @@ components: type: string nullable: true type: object - x-internal: true + x-internal-class: true SignatureRequestResponseAttachment: description: 'Signer attachments.' required: @@ -9745,7 +9760,7 @@ components: type: integer nullable: true type: object - x-internal: true + x-internal-class: true SignatureRequestResponseCustomFieldBase: description: |- An array of Custom Field objects containing the name and type of each custom field. @@ -9777,7 +9792,7 @@ components: mapping: text: '#/components/schemas/SignatureRequestResponseCustomFieldText' checkbox: '#/components/schemas/SignatureRequestResponseCustomFieldCheckbox' - x-internal: true + x-internal-class: true x-base-class: true SignatureRequestResponseCustomFieldCheckbox: description: 'This class extends `SignatureRequestResponseCustomFieldBase`.' @@ -9850,7 +9865,7 @@ components: initials: '#/components/schemas/SignatureRequestResponseDataValueInitials' text-merge: '#/components/schemas/SignatureRequestResponseDataValueTextMerge' checkbox-merge: '#/components/schemas/SignatureRequestResponseDataValueCheckboxMerge' - x-internal: true + x-internal-class: true x-base-class: true SignatureRequestResponseDataTypeEnum: type: string @@ -10066,7 +10081,7 @@ components: type: string nullable: true type: object - x-internal: true + x-internal-class: true TeamResponse: description: 'Contains information about your team and its members' properties: @@ -10088,7 +10103,7 @@ components: items: type: string type: object - x-internal: true + x-internal-class: true TeamInfoResponse: properties: team_id: @@ -10106,7 +10121,7 @@ components: description: 'Number of sub teams within a team' type: integer type: object - x-internal: true + x-internal-class: true TeamInviteResponse: properties: email_address: @@ -10128,7 +10143,7 @@ components: description: 'Timestamp when the invitation is expiring.' type: integer type: object - x-internal: true + x-internal-class: true TeamMemberResponse: properties: account_id: @@ -10141,7 +10156,7 @@ components: description: 'The specific role a member has on the team.' type: string type: object - x-internal: true + x-internal-class: true TeamParentResponse: description: 'Information about the parent team if a team has one, set to `null` otherwise.' properties: @@ -10153,7 +10168,7 @@ components: type: string type: object nullable: true - x-internal: true + x-internal-class: true SubTeamResponse: properties: team_id: @@ -10163,7 +10178,7 @@ components: description: 'The name of a team' type: string type: object - x-internal: true + x-internal-class: true TemplateResponse: description: 'Contains information about the templates you and your team have created.' properties: @@ -10237,7 +10252,7 @@ components: $ref: '#/components/schemas/TemplateResponseAccount' nullable: true type: object - x-internal: true + x-internal-class: true TemplateResponseAccount: properties: account_id: @@ -10258,7 +10273,7 @@ components: quotas: $ref: '#/components/schemas/TemplateResponseAccountQuota' type: object - x-internal: true + x-internal-class: true TemplateResponseAccountQuota: description: 'An array of the designated CC roles that must be specified when sending a SignatureRequest using this Template.' properties: @@ -10275,14 +10290,14 @@ components: description: 'SMS verifications remaining.' type: integer type: object - x-internal: true + x-internal-class: true TemplateResponseCCRole: properties: name: description: 'The name of the Role.' type: string type: object - x-internal: true + x-internal-class: true TemplateCreateEmbeddedDraftResponseTemplate: description: 'Template object with parameters: `template_id`, `edit_url`, `expires_at`.' properties: @@ -10302,7 +10317,7 @@ components: $ref: '#/components/schemas/WarningResponse' deprecated: true type: object - x-internal: true + x-internal-class: true TemplateCreateResponseTemplate: description: 'Template object with parameters: `template_id`.' properties: @@ -10310,7 +10325,7 @@ components: description: 'The id of the Template.' type: string type: object - x-internal: true + x-internal-class: true TemplateResponseDocument: properties: name: @@ -10341,7 +10356,7 @@ components: $ref: '#/components/schemas/TemplateResponseDocumentStaticFieldBase' nullable: true type: object - x-internal: true + x-internal-class: true TemplateResponseDocumentCustomFieldBase: description: 'An array of Form Field objects containing the name and type of each named field.' required: @@ -10384,7 +10399,7 @@ components: mapping: text: '#/components/schemas/TemplateResponseDocumentCustomFieldText' checkbox: '#/components/schemas/TemplateResponseDocumentCustomFieldCheckbox' - x-internal: true + x-internal-class: true x-base-class: true TemplateResponseDocumentCustomFieldCheckbox: description: 'This class extends `TemplateResponseDocumentCustomFieldBase`' @@ -10441,7 +10456,7 @@ components: rule: $ref: '#/components/schemas/TemplateResponseDocumentFieldGroupRule' type: object - x-internal: true + x-internal-class: true TemplateResponseDocumentFieldGroupRule: description: 'The rule used to validate checkboxes in the form field group. See [checkbox field grouping](/api/reference/constants/#checkbox-field-grouping).' properties: @@ -10457,7 +10472,7 @@ components: description: 'Name of the group' type: string type: object - x-internal: true + x-internal-class: true TemplateResponseDocumentFormFieldBase: description: 'An array of Form Field objects containing the name and type of each named field.' required: @@ -10505,7 +10520,7 @@ components: signature: '#/components/schemas/TemplateResponseDocumentFormFieldSignature' date_signed: '#/components/schemas/TemplateResponseDocumentFormFieldDateSigned' initials: '#/components/schemas/TemplateResponseDocumentFormFieldInitials' - x-internal: true + x-internal-class: true x-base-class: true TemplateResponseDocumentFormFieldCheckbox: description: 'This class extends `TemplateResponseDocumentFormFieldBase`' @@ -10799,7 +10814,7 @@ components: signature: '#/components/schemas/TemplateResponseDocumentStaticFieldSignature' date_signed: '#/components/schemas/TemplateResponseDocumentStaticFieldDateSigned' initials: '#/components/schemas/TemplateResponseDocumentStaticFieldInitials' - x-internal: true + x-internal-class: true x-base-class: true TemplateResponseDocumentStaticFieldCheckbox: description: 'This class extends `TemplateResponseDocumentStaticFieldBase`' @@ -11019,7 +11034,7 @@ components: description: 'Number of characters per line.' type: integer type: object - x-internal: true + x-internal-class: true TemplateResponseSignerRole: properties: name: @@ -11029,7 +11044,7 @@ components: description: 'If signer order is assigned this is the 0-based index for this role.' type: integer type: object - x-internal: true + x-internal-class: true TemplateUpdateFilesResponseTemplate: description: 'Contains template id' properties: @@ -11043,7 +11058,7 @@ components: $ref: '#/components/schemas/WarningResponse' deprecated: true type: object - x-internal: true + x-internal-class: true UnclaimedDraftResponse: description: 'A group of documents that a user can take ownership of via the claim URL.' properties: @@ -11070,7 +11085,7 @@ components: description: 'Whether this is a test draft. Signature requests made from test drafts have no legal value.' type: boolean type: object - x-internal: true + x-internal-class: true WarningResponse: description: 'A list of warnings.' required: @@ -11094,7 +11109,7 @@ components: items: $ref: '#/components/schemas/WarningResponse' type: object - x-internal: true + x-internal-class: true TeamGetInfoResponse: properties: team: @@ -11105,7 +11120,7 @@ components: items: $ref: '#/components/schemas/WarningResponse' type: object - x-internal: true + x-internal-class: true TeamInvitesResponse: properties: team_invites: @@ -11118,7 +11133,7 @@ components: items: $ref: '#/components/schemas/WarningResponse' type: object - x-internal: true + x-internal-class: true TeamMembersResponse: properties: team_members: @@ -11133,7 +11148,7 @@ components: items: $ref: '#/components/schemas/WarningResponse' type: object - x-internal: true + x-internal-class: true TeamSubTeamsResponse: properties: sub_teams: @@ -11148,7 +11163,7 @@ components: items: $ref: '#/components/schemas/WarningResponse' type: object - x-internal: true + x-internal-class: true TemplateCreateResponse: properties: template: @@ -11159,7 +11174,7 @@ components: items: $ref: '#/components/schemas/WarningResponse' type: object - x-internal: true + x-internal-class: true TemplateCreateEmbeddedDraftResponse: properties: template: @@ -11170,7 +11185,7 @@ components: items: $ref: '#/components/schemas/WarningResponse' type: object - x-internal: true + x-internal-class: true TemplateEditResponse: properties: template_id: @@ -11187,7 +11202,7 @@ components: items: $ref: '#/components/schemas/WarningResponse' type: object - x-internal: true + x-internal-class: true TemplateListResponse: properties: templates: @@ -11203,13 +11218,13 @@ components: items: $ref: '#/components/schemas/WarningResponse' type: object - x-internal: true + x-internal-class: true TemplateUpdateFilesResponse: properties: template: $ref: '#/components/schemas/TemplateUpdateFilesResponseTemplate' type: object - x-internal: true + x-internal-class: true UnclaimedDraftCreateResponse: properties: unclaimed_draft: @@ -11220,7 +11235,7 @@ components: items: $ref: '#/components/schemas/WarningResponse' type: object - x-internal: true + x-internal-class: true EventCallbackRequest: title: EventCallbackRequest required: diff --git a/package-lock.json b/package-lock.json index 3ea8275..0300276 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@dropbox/sign", - "version": "1.4.2", + "version": "1.5.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@dropbox/sign", - "version": "1.4.2", + "version": "1.5.0", "dependencies": { "axios": "^1.6.0", "bluebird": "^3.5.0", diff --git a/package.json b/package.json index 5fb4463..e3622f1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dropbox/sign", - "version": "1.4.2", + "version": "1.5.0", "description": "Official Node client for Dropbox Sign", "repository": { "type": "git", diff --git a/types/api/apis.d.ts b/types/api/apis.d.ts index c94a9c4..67c759c 100644 --- a/types/api/apis.d.ts +++ b/types/api/apis.d.ts @@ -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.2/node"; +export declare const USER_AGENT = "OpenAPI-Generator/1.5.0/node"; export declare const generateFormData: (obj: any, typemap: AttributeTypeMap) => { localVarUseFormData: boolean; data: object; diff --git a/types/model/accountResponse.d.ts b/types/model/accountResponse.d.ts index 81e6447..c38fde9 100644 --- a/types/model/accountResponse.d.ts +++ b/types/model/accountResponse.d.ts @@ -1,5 +1,6 @@ import { AttributeTypeMap } from "./"; import { AccountResponseQuotas } from "./accountResponseQuotas"; +import { AccountResponseUsage } from "./accountResponseUsage"; export declare class AccountResponse { "accountId"?: string; "emailAddress"?: string; @@ -11,6 +12,7 @@ export declare class AccountResponse { "roleCode"?: string | null; "teamId"?: string | null; "locale"?: string | null; + "usage"?: AccountResponseUsage; static discriminator: string | undefined; static attributeTypeMap: AttributeTypeMap; static getAttributeTypeMap(): AttributeTypeMap; diff --git a/types/model/accountResponseQuotas.d.ts b/types/model/accountResponseQuotas.d.ts index 13035a4..6bbcc52 100644 --- a/types/model/accountResponseQuotas.d.ts +++ b/types/model/accountResponseQuotas.d.ts @@ -5,6 +5,7 @@ export declare class AccountResponseQuotas { "templatesTotal"?: number | null; "templatesLeft"?: number | null; "smsVerificationsLeft"?: number | null; + "numFaxPagesLeft"?: number | null; static discriminator: string | undefined; static attributeTypeMap: AttributeTypeMap; static getAttributeTypeMap(): AttributeTypeMap; diff --git a/types/model/accountResponseUsage.d.ts b/types/model/accountResponseUsage.d.ts new file mode 100644 index 0000000..7506ca0 --- /dev/null +++ b/types/model/accountResponseUsage.d.ts @@ -0,0 +1,8 @@ +import { AttributeTypeMap } from "./"; +export declare class AccountResponseUsage { + "faxPagesSent"?: number | null; + static discriminator: string | undefined; + static attributeTypeMap: AttributeTypeMap; + static getAttributeTypeMap(): AttributeTypeMap; + static init(data: any): AccountResponseUsage; +} diff --git a/types/model/index.d.ts b/types/model/index.d.ts index 927a025..f748121 100644 --- a/types/model/index.d.ts +++ b/types/model/index.d.ts @@ -3,6 +3,7 @@ import { AccountCreateResponse } from "./accountCreateResponse"; import { AccountGetResponse } from "./accountGetResponse"; import { AccountResponse } from "./accountResponse"; import { AccountResponseQuotas } from "./accountResponseQuotas"; +import { AccountResponseUsage } from "./accountResponseUsage"; import { AccountUpdateRequest } from "./accountUpdateRequest"; import { AccountVerifyRequest } from "./accountVerifyRequest"; import { AccountVerifyResponse } from "./accountVerifyResponse"; @@ -177,4 +178,4 @@ export declare let enumsMap: { export declare let typeMap: { [index: string]: any; }; -export { AccountCreateRequest, AccountCreateResponse, AccountGetResponse, AccountResponse, AccountResponseQuotas, AccountUpdateRequest, AccountVerifyRequest, AccountVerifyResponse, AccountVerifyResponseAccount, ApiAppCreateRequest, ApiAppGetResponse, ApiAppListResponse, ApiAppResponse, ApiAppResponseOAuth, ApiAppResponseOptions, ApiAppResponseOwnerAccount, ApiAppResponseWhiteLabelingOptions, ApiAppUpdateRequest, BulkSendJobGetResponse, BulkSendJobGetResponseSignatureRequests, BulkSendJobListResponse, BulkSendJobResponse, BulkSendJobSendResponse, EmbeddedEditUrlRequest, EmbeddedEditUrlResponse, EmbeddedEditUrlResponseEmbedded, EmbeddedSignUrlResponse, EmbeddedSignUrlResponseEmbedded, ErrorResponse, ErrorResponseError, EventCallbackRequest, EventCallbackRequestEvent, EventCallbackRequestEventMetadata, FileResponse, FileResponseDataUri, ListInfoResponse, OAuthTokenGenerateRequest, OAuthTokenRefreshRequest, OAuthTokenResponse, ReportCreateRequest, ReportCreateResponse, ReportResponse, SignatureRequestBulkCreateEmbeddedWithTemplateRequest, SignatureRequestBulkSendWithTemplateRequest, SignatureRequestCreateEmbeddedRequest, SignatureRequestCreateEmbeddedWithTemplateRequest, SignatureRequestGetResponse, SignatureRequestListResponse, SignatureRequestRemindRequest, SignatureRequestResponse, SignatureRequestResponseAttachment, SignatureRequestResponseCustomFieldBase, SignatureRequestResponseCustomFieldCheckbox, SignatureRequestResponseCustomFieldText, SignatureRequestResponseCustomFieldTypeEnum, SignatureRequestResponseDataBase, SignatureRequestResponseDataTypeEnum, SignatureRequestResponseDataValueCheckbox, SignatureRequestResponseDataValueCheckboxMerge, SignatureRequestResponseDataValueDateSigned, SignatureRequestResponseDataValueDropdown, SignatureRequestResponseDataValueInitials, SignatureRequestResponseDataValueRadio, SignatureRequestResponseDataValueSignature, SignatureRequestResponseDataValueText, SignatureRequestResponseDataValueTextMerge, SignatureRequestResponseSignatures, SignatureRequestSendRequest, SignatureRequestSendWithTemplateRequest, SignatureRequestUpdateRequest, SubAttachment, SubBulkSignerList, SubBulkSignerListCustomField, SubCC, SubCustomField, SubEditorOptions, SubFieldOptions, SubFormFieldGroup, SubFormFieldRule, SubFormFieldRuleAction, SubFormFieldRuleTrigger, SubFormFieldsPerDocumentBase, SubFormFieldsPerDocumentCheckbox, SubFormFieldsPerDocumentCheckboxMerge, SubFormFieldsPerDocumentDateSigned, SubFormFieldsPerDocumentDropdown, SubFormFieldsPerDocumentFontEnum, SubFormFieldsPerDocumentHyperlink, SubFormFieldsPerDocumentInitials, SubFormFieldsPerDocumentRadio, SubFormFieldsPerDocumentSignature, SubFormFieldsPerDocumentText, SubFormFieldsPerDocumentTextMerge, SubFormFieldsPerDocumentTypeEnum, SubMergeField, SubOAuth, SubOptions, SubSignatureRequestGroupedSigners, SubSignatureRequestSigner, SubSignatureRequestTemplateSigner, SubSigningOptions, SubTeamResponse, SubTemplateRole, SubUnclaimedDraftSigner, SubUnclaimedDraftTemplateSigner, SubWhiteLabelingOptions, TeamAddMemberRequest, TeamCreateRequest, TeamGetInfoResponse, TeamGetResponse, TeamInfoResponse, TeamInviteResponse, TeamInvitesResponse, TeamMemberResponse, TeamMembersResponse, TeamParentResponse, TeamRemoveMemberRequest, TeamResponse, TeamSubTeamsResponse, TeamUpdateRequest, TemplateAddUserRequest, TemplateCreateEmbeddedDraftRequest, TemplateCreateEmbeddedDraftResponse, TemplateCreateEmbeddedDraftResponseTemplate, TemplateCreateRequest, TemplateCreateResponse, TemplateCreateResponseTemplate, TemplateEditResponse, TemplateGetResponse, TemplateListResponse, TemplateRemoveUserRequest, TemplateResponse, TemplateResponseAccount, TemplateResponseAccountQuota, TemplateResponseCCRole, TemplateResponseDocument, TemplateResponseDocumentCustomFieldBase, TemplateResponseDocumentCustomFieldCheckbox, TemplateResponseDocumentCustomFieldText, TemplateResponseDocumentFieldGroup, TemplateResponseDocumentFieldGroupRule, TemplateResponseDocumentFormFieldBase, TemplateResponseDocumentFormFieldCheckbox, TemplateResponseDocumentFormFieldDateSigned, TemplateResponseDocumentFormFieldDropdown, TemplateResponseDocumentFormFieldHyperlink, TemplateResponseDocumentFormFieldInitials, TemplateResponseDocumentFormFieldRadio, TemplateResponseDocumentFormFieldSignature, TemplateResponseDocumentFormFieldText, TemplateResponseDocumentStaticFieldBase, TemplateResponseDocumentStaticFieldCheckbox, TemplateResponseDocumentStaticFieldDateSigned, TemplateResponseDocumentStaticFieldDropdown, TemplateResponseDocumentStaticFieldHyperlink, TemplateResponseDocumentStaticFieldInitials, TemplateResponseDocumentStaticFieldRadio, TemplateResponseDocumentStaticFieldSignature, TemplateResponseDocumentStaticFieldText, TemplateResponseFieldAvgTextLength, TemplateResponseSignerRole, TemplateUpdateFilesRequest, TemplateUpdateFilesResponse, TemplateUpdateFilesResponseTemplate, UnclaimedDraftCreateEmbeddedRequest, UnclaimedDraftCreateEmbeddedWithTemplateRequest, UnclaimedDraftCreateRequest, UnclaimedDraftCreateResponse, UnclaimedDraftEditAndResendRequest, UnclaimedDraftResponse, WarningResponse, EventCallbackHelper, RequestDetailedFile, RequestFile, AttributeTypeMap, ObjectSerializer, Authentication, HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth, VoidAuth, Interceptor, }; +export { AccountCreateRequest, AccountCreateResponse, AccountGetResponse, AccountResponse, AccountResponseQuotas, AccountResponseUsage, AccountUpdateRequest, AccountVerifyRequest, AccountVerifyResponse, AccountVerifyResponseAccount, ApiAppCreateRequest, ApiAppGetResponse, ApiAppListResponse, ApiAppResponse, ApiAppResponseOAuth, ApiAppResponseOptions, ApiAppResponseOwnerAccount, ApiAppResponseWhiteLabelingOptions, ApiAppUpdateRequest, BulkSendJobGetResponse, BulkSendJobGetResponseSignatureRequests, BulkSendJobListResponse, BulkSendJobResponse, BulkSendJobSendResponse, EmbeddedEditUrlRequest, EmbeddedEditUrlResponse, EmbeddedEditUrlResponseEmbedded, EmbeddedSignUrlResponse, EmbeddedSignUrlResponseEmbedded, ErrorResponse, ErrorResponseError, EventCallbackRequest, EventCallbackRequestEvent, EventCallbackRequestEventMetadata, FileResponse, FileResponseDataUri, ListInfoResponse, OAuthTokenGenerateRequest, OAuthTokenRefreshRequest, OAuthTokenResponse, ReportCreateRequest, ReportCreateResponse, ReportResponse, SignatureRequestBulkCreateEmbeddedWithTemplateRequest, SignatureRequestBulkSendWithTemplateRequest, SignatureRequestCreateEmbeddedRequest, SignatureRequestCreateEmbeddedWithTemplateRequest, SignatureRequestGetResponse, SignatureRequestListResponse, SignatureRequestRemindRequest, SignatureRequestResponse, SignatureRequestResponseAttachment, SignatureRequestResponseCustomFieldBase, SignatureRequestResponseCustomFieldCheckbox, SignatureRequestResponseCustomFieldText, SignatureRequestResponseCustomFieldTypeEnum, SignatureRequestResponseDataBase, SignatureRequestResponseDataTypeEnum, SignatureRequestResponseDataValueCheckbox, SignatureRequestResponseDataValueCheckboxMerge, SignatureRequestResponseDataValueDateSigned, SignatureRequestResponseDataValueDropdown, SignatureRequestResponseDataValueInitials, SignatureRequestResponseDataValueRadio, SignatureRequestResponseDataValueSignature, SignatureRequestResponseDataValueText, SignatureRequestResponseDataValueTextMerge, SignatureRequestResponseSignatures, SignatureRequestSendRequest, SignatureRequestSendWithTemplateRequest, SignatureRequestUpdateRequest, SubAttachment, SubBulkSignerList, SubBulkSignerListCustomField, SubCC, SubCustomField, SubEditorOptions, SubFieldOptions, SubFormFieldGroup, SubFormFieldRule, SubFormFieldRuleAction, SubFormFieldRuleTrigger, SubFormFieldsPerDocumentBase, SubFormFieldsPerDocumentCheckbox, SubFormFieldsPerDocumentCheckboxMerge, SubFormFieldsPerDocumentDateSigned, SubFormFieldsPerDocumentDropdown, SubFormFieldsPerDocumentFontEnum, SubFormFieldsPerDocumentHyperlink, SubFormFieldsPerDocumentInitials, SubFormFieldsPerDocumentRadio, SubFormFieldsPerDocumentSignature, SubFormFieldsPerDocumentText, SubFormFieldsPerDocumentTextMerge, SubFormFieldsPerDocumentTypeEnum, SubMergeField, SubOAuth, SubOptions, SubSignatureRequestGroupedSigners, SubSignatureRequestSigner, SubSignatureRequestTemplateSigner, SubSigningOptions, SubTeamResponse, SubTemplateRole, SubUnclaimedDraftSigner, SubUnclaimedDraftTemplateSigner, SubWhiteLabelingOptions, TeamAddMemberRequest, TeamCreateRequest, TeamGetInfoResponse, TeamGetResponse, TeamInfoResponse, TeamInviteResponse, TeamInvitesResponse, TeamMemberResponse, TeamMembersResponse, TeamParentResponse, TeamRemoveMemberRequest, TeamResponse, TeamSubTeamsResponse, TeamUpdateRequest, TemplateAddUserRequest, TemplateCreateEmbeddedDraftRequest, TemplateCreateEmbeddedDraftResponse, TemplateCreateEmbeddedDraftResponseTemplate, TemplateCreateRequest, TemplateCreateResponse, TemplateCreateResponseTemplate, TemplateEditResponse, TemplateGetResponse, TemplateListResponse, TemplateRemoveUserRequest, TemplateResponse, TemplateResponseAccount, TemplateResponseAccountQuota, TemplateResponseCCRole, TemplateResponseDocument, TemplateResponseDocumentCustomFieldBase, TemplateResponseDocumentCustomFieldCheckbox, TemplateResponseDocumentCustomFieldText, TemplateResponseDocumentFieldGroup, TemplateResponseDocumentFieldGroupRule, TemplateResponseDocumentFormFieldBase, TemplateResponseDocumentFormFieldCheckbox, TemplateResponseDocumentFormFieldDateSigned, TemplateResponseDocumentFormFieldDropdown, TemplateResponseDocumentFormFieldHyperlink, TemplateResponseDocumentFormFieldInitials, TemplateResponseDocumentFormFieldRadio, TemplateResponseDocumentFormFieldSignature, TemplateResponseDocumentFormFieldText, TemplateResponseDocumentStaticFieldBase, TemplateResponseDocumentStaticFieldCheckbox, TemplateResponseDocumentStaticFieldDateSigned, TemplateResponseDocumentStaticFieldDropdown, TemplateResponseDocumentStaticFieldHyperlink, TemplateResponseDocumentStaticFieldInitials, TemplateResponseDocumentStaticFieldRadio, TemplateResponseDocumentStaticFieldSignature, TemplateResponseDocumentStaticFieldText, TemplateResponseFieldAvgTextLength, TemplateResponseSignerRole, TemplateUpdateFilesRequest, TemplateUpdateFilesResponse, TemplateUpdateFilesResponseTemplate, UnclaimedDraftCreateEmbeddedRequest, UnclaimedDraftCreateEmbeddedWithTemplateRequest, UnclaimedDraftCreateRequest, UnclaimedDraftCreateResponse, UnclaimedDraftEditAndResendRequest, UnclaimedDraftResponse, WarningResponse, EventCallbackHelper, RequestDetailedFile, RequestFile, AttributeTypeMap, ObjectSerializer, Authentication, HttpBasicAuth, HttpBearerAuth, ApiKeyAuth, OAuth, VoidAuth, Interceptor, };