Skip to content
Closed
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.9.0
1.10.0
2 changes: 1 addition & 1 deletion api/apis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const queryParamsSerializer = (params) => {
return Qs.stringify(params, { arrayFormat: "brackets" });
};

export const USER_AGENT = "OpenAPI-Generator/1.9.0/node";
export const USER_AGENT = "OpenAPI-Generator/1.10.0/node";

/**
* Generates an object containing form data.
Expand Down
14 changes: 13 additions & 1 deletion dist/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -19239,6 +19239,7 @@ var ReportCreateRequest = class _ReportCreateRequest {
((ReportTypeEnum2) => {
ReportTypeEnum2["UserActivity"] = "user_activity";
ReportTypeEnum2["DocumentStatus"] = "document_status";
ReportTypeEnum2["SmsActivity"] = "sms_activity";
})(ReportTypeEnum = ReportCreateRequest2.ReportTypeEnum || (ReportCreateRequest2.ReportTypeEnum = {}));
})(ReportCreateRequest || (ReportCreateRequest = {}));

Expand Down Expand Up @@ -19312,6 +19313,7 @@ var ReportResponse = class _ReportResponse {
((ReportTypeEnum2) => {
ReportTypeEnum2["UserActivity"] = "user_activity";
ReportTypeEnum2["DocumentStatus"] = "document_status";
ReportTypeEnum2["SmsActivity"] = "sms_activity";
})(ReportTypeEnum = ReportResponse2.ReportTypeEnum || (ReportResponse2.ReportTypeEnum = {}));
})(ReportResponse || (ReportResponse = {}));

Expand Down Expand Up @@ -25344,6 +25346,16 @@ var TemplateResponseDocumentFormFieldText = class _TemplateResponseDocumentFormF
baseName: "validation_type",
type: "TemplateResponseDocumentFormFieldText.ValidationTypeEnum"
},
{
name: "validationCustomRegex",
baseName: "validation_custom_regex",
type: "string"
},
{
name: "validationCustomRegexFormatLabel",
baseName: "validation_custom_regex_format_label",
type: "string"
},
{
name: "group",
baseName: "group",
Expand Down Expand Up @@ -36223,7 +36235,7 @@ var HttpError = class extends Error {
var queryParamsSerializer = (params) => {
return import_qs.default.stringify(params, { arrayFormat: "brackets" });
};
var USER_AGENT = "OpenAPI-Generator/1.9.0/node";
var USER_AGENT = "OpenAPI-Generator/1.10.0/node";
var generateFormData = (obj, typemap) => {
const data = {};
let localVarUseFormData = false;
Expand Down
2 changes: 2 additions & 0 deletions docs/model/TemplateResponseDocumentFormFieldText.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Name | Type | Description | Notes
| `originalFontSize` | ```number``` | Original font size used in this form field's text. | |
| `fontFamily` | ```string``` | Font family used in this form field's text. | |
| `validationType` | ```string``` | Each text field may contain a `validation_type` parameter. Check out the list of [validation types](https://faq.hellosign.com/hc/en-us/articles/217115577) to learn more about the possible values. | |
| `validationCustomRegex` | ```string``` | When `validation_type` is set to `custom_regex`, this specifies the custom regular expression pattern that will be used to validate the text field. | |
| `validationCustomRegexFormatLabel` | ```string``` | When `validation_type` is set to `custom_regex`, this specifies the error message displayed to the signer when the text does not match the provided regex pattern. | |
| `group` | ```string``` | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | |

[[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 model/reportCreateRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,6 @@ export namespace ReportCreateRequest {
export enum ReportTypeEnum {
UserActivity = "user_activity",
DocumentStatus = "document_status",
SmsActivity = "sms_activity",
}
}
1 change: 1 addition & 0 deletions model/reportResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,6 @@ export namespace ReportResponse {
export enum ReportTypeEnum {
UserActivity = "user_activity",
DocumentStatus = "document_status",
SmsActivity = "sms_activity",
}
}
18 changes: 18 additions & 0 deletions model/templateResponseDocumentFormFieldText.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@ export class TemplateResponseDocumentFormFieldText extends TemplateResponseDocum
* Each text field may contain a `validation_type` parameter. Check out the list of [validation types](https://faq.hellosign.com/hc/en-us/articles/217115577) to learn more about the possible values.
*/
"validationType"?: TemplateResponseDocumentFormFieldText.ValidationTypeEnum;
/**
* When `validation_type` is set to `custom_regex`, this specifies the custom regular expression pattern that will be used to validate the text field.
*/
"validationCustomRegex"?: string | null;
/**
* When `validation_type` is set to `custom_regex`, this specifies the error message displayed to the signer when the text does not match the provided regex pattern.
*/
"validationCustomRegexFormatLabel"?: string | null;
/**
* The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
*/
Expand Down Expand Up @@ -89,6 +97,16 @@ export class TemplateResponseDocumentFormFieldText extends TemplateResponseDocum
baseName: "validation_type",
type: "TemplateResponseDocumentFormFieldText.ValidationTypeEnum",
},
{
name: "validationCustomRegex",
baseName: "validation_custom_regex",
type: "string",
},
{
name: "validationCustomRegexFormatLabel",
baseName: "validation_custom_regex_format_label",
type: "string",
},
{
name: "group",
baseName: "group",
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.9.0
npmVersion: 1.10.0
supportsES6: true
apiDocPath: ./docs/api
modelDocPath: ./docs/model
Expand Down
14 changes: 12 additions & 2 deletions openapi-sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7797,7 +7797,7 @@ components:
type: array
items:
type: string
maxItems: 2
maxItems: 10
minItems: 1
name:
description: 'The name you want to assign to the ApiApp.'
Expand All @@ -7823,7 +7823,7 @@ components:
type: array
items:
type: string
maxItems: 2
maxItems: 10
name:
description: 'The name you want to assign to the ApiApp.'
type: string
Expand Down Expand Up @@ -8135,6 +8135,7 @@ components:
enum:
- user_activity
- document_status
- sms_activity
maxItems: 2
minItems: 1
start_date:
Expand Down Expand Up @@ -11964,6 +11965,7 @@ components:
enum:
- user_activity
- document_status
- sms_activity
type: object
x-internal-class: true
SignatureRequestResponse:
Expand Down Expand Up @@ -13130,6 +13132,14 @@ components:
- employer_identification_number
- custom_regex
nullable: true
validation_custom_regex:
description: 'When `validation_type` is set to `custom_regex`, this specifies the custom regular expression pattern that will be used to validate the text field.'
type: string
nullable: true
validation_custom_regex_format_label:
description: 'When `validation_type` is set to `custom_regex`, this specifies the error message displayed to the signer when the text does not match the provided regex pattern.'
type: string
nullable: true
group:
description: 'The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.'
type: string
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.9.0",
"version": "1.10.0",
"description": "Official Node client for Dropbox Sign",
"repository": {
"type": "git",
Expand Down
7 changes: 0 additions & 7 deletions test_fixtures/AccountCreateRequest.json

This file was deleted.

16 changes: 0 additions & 16 deletions test_fixtures/AccountCreateResponse.json

This file was deleted.

14 changes: 0 additions & 14 deletions test_fixtures/AccountGetResponse.json

This file was deleted.

5 changes: 0 additions & 5 deletions test_fixtures/AccountUpdateRequest.json

This file was deleted.

5 changes: 0 additions & 5 deletions test_fixtures/AccountVerifyRequest.json

This file was deleted.

7 changes: 0 additions & 7 deletions test_fixtures/AccountVerifyResponse.json

This file was deleted.

35 changes: 0 additions & 35 deletions test_fixtures/ApiAppCreateRequest.json

This file was deleted.

43 changes: 0 additions & 43 deletions test_fixtures/ApiAppGetResponse.json

This file was deleted.

49 changes: 0 additions & 49 deletions test_fixtures/ApiAppListResponse.json

This file was deleted.

Loading
Loading