Skip to content

Commit

Permalink
Release 1.5.0 (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtreminio-dropbox authored Aug 22, 2024
1 parent 80ba4b7 commit 4e60584
Show file tree
Hide file tree
Showing 20 changed files with 224 additions and 78 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.4.2
1.5.0
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.2/node";
export const USER_AGENT = "OpenAPI-Generator/1.5.0/node";

/**
* Generates an object containing form data.
Expand Down
34 changes: 33 additions & 1 deletion dist/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -12559,6 +12559,7 @@ __export(api_exports, {
AccountGetResponse: () => AccountGetResponse,
AccountResponse: () => AccountResponse,
AccountResponseQuotas: () => AccountResponseQuotas,
AccountResponseUsage: () => AccountResponseUsage,
AccountUpdateRequest: () => AccountUpdateRequest,
AccountVerifyRequest: () => AccountVerifyRequest,
AccountVerifyResponse: () => AccountVerifyResponse,
Expand Down Expand Up @@ -15781,6 +15782,11 @@ AccountResponse.attributeTypeMap = [
name: "locale",
baseName: "locale",
type: "string"
},
{
name: "usage",
baseName: "usage",
type: "AccountResponseUsage"
}
];

Expand Down Expand Up @@ -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"
}
];

Expand Down Expand Up @@ -23378,6 +23408,7 @@ var typeMap = {
AccountGetResponse,
AccountResponse,
AccountResponseQuotas,
AccountResponseUsage,
AccountUpdateRequest,
AccountVerifyRequest,
AccountVerifyResponse,
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -30694,6 +30725,7 @@ var APIS = [
AccountGetResponse,
AccountResponse,
AccountResponseQuotas,
AccountResponseUsage,
AccountUpdateRequest,
AccountVerifyRequest,
AccountVerifyResponse,
Expand Down
1 change: 1 addition & 0 deletions docs/model/AccountResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
1 change: 1 addition & 0 deletions docs/model/AccountResponseQuotas.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
11 changes: 11 additions & 0 deletions docs/model/AccountResponseUsage.md
Original file line number Diff line number Diff line change
@@ -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)
7 changes: 7 additions & 0 deletions model/accountResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

import { RequestFile, AttributeTypeMap, ObjectSerializer } from "./";
import { AccountResponseQuotas } from "./accountResponseQuotas";
import { AccountResponseUsage } from "./accountResponseUsage";

export class AccountResponse {
/**
Expand Down Expand Up @@ -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;

Expand Down Expand Up @@ -117,6 +119,11 @@ export class AccountResponse {
baseName: "locale",
type: "string",
},
{
name: "usage",
baseName: "usage",
type: "AccountResponseUsage",
},
];

static getAttributeTypeMap(): AttributeTypeMap {
Expand Down
9 changes: 9 additions & 0 deletions model/accountResponseQuotas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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 {
Expand Down
54 changes: 54 additions & 0 deletions model/accountResponseUsage.ts
Original file line number Diff line number Diff line change
@@ -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");
}
}
3 changes: 3 additions & 0 deletions model/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -233,6 +234,7 @@ export let typeMap: { [index: string]: any } = {
AccountGetResponse: AccountGetResponse,
AccountResponse: AccountResponse,
AccountResponseQuotas: AccountResponseQuotas,
AccountResponseUsage: AccountResponseUsage,
AccountUpdateRequest: AccountUpdateRequest,
AccountVerifyRequest: AccountVerifyRequest,
AccountVerifyResponse: AccountVerifyResponse,
Expand Down Expand Up @@ -441,6 +443,7 @@ export {
AccountGetResponse,
AccountResponse,
AccountResponseQuotas,
AccountResponseUsage,
AccountUpdateRequest,
AccountVerifyRequest,
AccountVerifyResponse,
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.2
npmVersion: 1.5.0
supportsES6: true
apiDocPath: ./docs/api
modelDocPath: ./docs/model
Expand Down
Loading

0 comments on commit 4e60584

Please sign in to comment.