Skip to content

Commit f810e5f

Browse files
imonkiaalyx-db
andauthored
Release 1.10.0 (#30)
Co-authored-by: Monica Auriemma <[email protected]>
1 parent 2708c62 commit f810e5f

26 files changed

+317
-38
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.9.0
1+
1.10.0

api/apis.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const queryParamsSerializer = (params) => {
3838
return Qs.stringify(params, { arrayFormat: "brackets" });
3939
};
4040

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

4343
/**
4444
* Generates an object containing form data.

dist/api.js

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19239,6 +19239,7 @@ var ReportCreateRequest = class _ReportCreateRequest {
1923919239
((ReportTypeEnum2) => {
1924019240
ReportTypeEnum2["UserActivity"] = "user_activity";
1924119241
ReportTypeEnum2["DocumentStatus"] = "document_status";
19242+
ReportTypeEnum2["SmsActivity"] = "sms_activity";
1924219243
})(ReportTypeEnum = ReportCreateRequest2.ReportTypeEnum || (ReportCreateRequest2.ReportTypeEnum = {}));
1924319244
})(ReportCreateRequest || (ReportCreateRequest = {}));
1924419245

@@ -19312,6 +19313,7 @@ var ReportResponse = class _ReportResponse {
1931219313
((ReportTypeEnum2) => {
1931319314
ReportTypeEnum2["UserActivity"] = "user_activity";
1931419315
ReportTypeEnum2["DocumentStatus"] = "document_status";
19316+
ReportTypeEnum2["SmsActivity"] = "sms_activity";
1931519317
})(ReportTypeEnum = ReportResponse2.ReportTypeEnum || (ReportResponse2.ReportTypeEnum = {}));
1931619318
})(ReportResponse || (ReportResponse = {}));
1931719319

@@ -25344,6 +25346,16 @@ var TemplateResponseDocumentFormFieldText = class _TemplateResponseDocumentFormF
2534425346
baseName: "validation_type",
2534525347
type: "TemplateResponseDocumentFormFieldText.ValidationTypeEnum"
2534625348
},
25349+
{
25350+
name: "validationCustomRegex",
25351+
baseName: "validation_custom_regex",
25352+
type: "string"
25353+
},
25354+
{
25355+
name: "validationCustomRegexFormatLabel",
25356+
baseName: "validation_custom_regex_format_label",
25357+
type: "string"
25358+
},
2534725359
{
2534825360
name: "group",
2534925361
baseName: "group",
@@ -36223,7 +36235,7 @@ var HttpError = class extends Error {
3622336235
var queryParamsSerializer = (params) => {
3622436236
return import_qs.default.stringify(params, { arrayFormat: "brackets" });
3622536237
};
36226-
var USER_AGENT = "OpenAPI-Generator/1.9.0/node";
36238+
var USER_AGENT = "OpenAPI-Generator/1.10.0/node";
3622736239
var generateFormData = (obj, typemap) => {
3622836240
const data = {};
3622936241
let localVarUseFormData = false;

docs/model/OAuthTokenRefreshRequest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
88
------------ | ------------- | ------------- | -------------
99
| `grantType`<sup>*_required_</sup> | ```string``` | When refreshing an existing token use `refresh_token`. | [default to 'refresh_token'] |
1010
| `refreshToken`<sup>*_required_</sup> | ```string``` | The token provided when you got the expired access token. | |
11-
| `clientId` | ```string``` | The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the &quot;Client Credentials Required&quot; setting is enabled for token refresh; optional if disabled. | |
12-
| `clientSecret` | ```string``` | The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the &quot;Client Credentials Required&quot; setting is enabled for token refresh; optional if disabled. | |
11+
| `clientId` | ```string``` | The client ID for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings. | |
12+
| `clientSecret` | ```string``` | The client secret for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings. | |
1313

1414
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)

docs/model/TemplateResponseDocumentFormFieldText.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ Name | Type | Description | Notes
1212
| `originalFontSize` | ```number``` | Original font size used in this form field&#39;s text. | |
1313
| `fontFamily` | ```string``` | Font family used in this form field&#39;s text. | |
1414
| `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. | |
15+
| `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. | |
16+
| `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. | |
1517
| `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. | |
1618

1719
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)

model/oAuthTokenRefreshRequest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ export class OAuthTokenRefreshRequest {
3434
*/
3535
"refreshToken": string;
3636
/**
37-
* The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the \"Client Credentials Required\" setting is enabled for token refresh; optional if disabled.
37+
* The client ID for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings.
3838
*/
3939
"clientId"?: string;
4040
/**
41-
* The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the \"Client Credentials Required\" setting is enabled for token refresh; optional if disabled.
41+
* The client secret for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings.
4242
*/
4343
"clientSecret"?: string;
4444

model/reportCreateRequest.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,6 @@ export namespace ReportCreateRequest {
7272
export enum ReportTypeEnum {
7373
UserActivity = "user_activity",
7474
DocumentStatus = "document_status",
75+
SmsActivity = "sms_activity",
7576
}
7677
}

model/reportResponse.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,6 @@ export namespace ReportResponse {
8484
export enum ReportTypeEnum {
8585
UserActivity = "user_activity",
8686
DocumentStatus = "document_status",
87+
SmsActivity = "sms_activity",
8788
}
8889
}

model/templateResponseDocumentFormFieldText.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ export class TemplateResponseDocumentFormFieldText extends TemplateResponseDocum
5151
* 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.
5252
*/
5353
"validationType"?: TemplateResponseDocumentFormFieldText.ValidationTypeEnum;
54+
/**
55+
* When `validation_type` is set to `custom_regex`, this specifies the custom regular expression pattern that will be used to validate the text field.
56+
*/
57+
"validationCustomRegex"?: string | null;
58+
/**
59+
* 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.
60+
*/
61+
"validationCustomRegexFormatLabel"?: string | null;
5462
/**
5563
* The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.
5664
*/
@@ -89,6 +97,16 @@ export class TemplateResponseDocumentFormFieldText extends TemplateResponseDocum
8997
baseName: "validation_type",
9098
type: "TemplateResponseDocumentFormFieldText.ValidationTypeEnum",
9199
},
100+
{
101+
name: "validationCustomRegex",
102+
baseName: "validation_custom_regex",
103+
type: "string",
104+
},
105+
{
106+
name: "validationCustomRegexFormatLabel",
107+
baseName: "validation_custom_regex_format_label",
108+
type: "string",
109+
},
92110
{
93111
name: "group",
94112
baseName: "group",

openapi-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ generatorName: typescript-node
22
typeMappings: {}
33
additionalProperties:
44
npmName: "@dropbox/sign"
5-
npmVersion: 1.9.0
5+
npmVersion: 1.10.0
66
supportsES6: true
77
apiDocPath: ./docs/api
88
modelDocPath: ./docs/model

0 commit comments

Comments
 (0)