Skip to content

Commit 349b79f

Browse files
Release 1.11.0 (#31)
1 parent f810e5f commit 349b79f

49 files changed

Lines changed: 388 additions & 170 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ All URIs are relative to *https://api.hellosign.com/v3*
160160
- [AccountGetResponse](./docs/model/AccountGetResponse.md)
161161
- [AccountResponse](./docs/model/AccountResponse.md)
162162
- [AccountResponseQuotas](./docs/model/AccountResponseQuotas.md)
163+
- [AccountResponseSettings](./docs/model/AccountResponseSettings.md)
163164
- [AccountResponseUsage](./docs/model/AccountResponseUsage.md)
164165
- [AccountUpdateRequest](./docs/model/AccountUpdateRequest.md)
165166
- [AccountVerifyRequest](./docs/model/AccountVerifyRequest.md)
@@ -303,7 +304,6 @@ All URIs are relative to *https://api.hellosign.com/v3*
303304
- [TemplateCreateRequest](./docs/model/TemplateCreateRequest.md)
304305
- [TemplateCreateResponse](./docs/model/TemplateCreateResponse.md)
305306
- [TemplateCreateResponseTemplate](./docs/model/TemplateCreateResponseTemplate.md)
306-
- [TemplateEditResponse](./docs/model/TemplateEditResponse.md)
307307
- [TemplateGetResponse](./docs/model/TemplateGetResponse.md)
308308
- [TemplateListResponse](./docs/model/TemplateListResponse.md)
309309
- [TemplateRemoveUserRequest](./docs/model/TemplateRemoveUserRequest.md)

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.10.0
1+
1.11.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.10.0/node";
41+
export const USER_AGENT = "OpenAPI-Generator/1.11.0/node";
4242

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

api/templateApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ export class TemplateApi {
290290
});
291291
}
292292
/**
293-
* Creates a template that can then be used.
293+
* Creates a template that can be used in future signature requests. If `client_id` is provided, the template will be created as an embedded template. Embedded templates can be used for embedded signature requests and can be edited later by generating a new `edit_url` with [/embedded/edit_url/{template_id}](/api/reference/operation/embeddedEditUrl/). Template creation may complete asynchronously after the initial request is accepted. It is recommended that a callback be implemented to listen for the callback event. A `template_created` event indicates the template is ready to use, while a `template_error` event indicates there was a problem while creating the template. If a callback handler has been configured and the event has not been received within 60 minutes of making the call, check the status of the request in the API dashboard and retry the request if necessary.
294294
* @summary Create Template
295295
* @param templateCreateRequest
296296
* @param options

dist/api.js

Lines changed: 58 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -13150,6 +13150,7 @@ __export(api_exports, {
1315013150
AccountGetResponse: () => AccountGetResponse,
1315113151
AccountResponse: () => AccountResponse,
1315213152
AccountResponseQuotas: () => AccountResponseQuotas,
13153+
AccountResponseSettings: () => AccountResponseSettings,
1315313154
AccountResponseUsage: () => AccountResponseUsage,
1315413155
AccountUpdateRequest: () => AccountUpdateRequest,
1315513156
AccountVerifyRequest: () => AccountVerifyRequest,
@@ -13310,7 +13311,6 @@ __export(api_exports, {
1331013311
TemplateCreateRequest: () => TemplateCreateRequest,
1331113312
TemplateCreateResponse: () => TemplateCreateResponse,
1331213313
TemplateCreateResponseTemplate: () => TemplateCreateResponseTemplate,
13313-
TemplateEditResponse: () => TemplateEditResponse,
1331413314
TemplateGetResponse: () => TemplateGetResponse,
1331513315
TemplateListResponse: () => TemplateListResponse,
1331613316
TemplateRemoveUserRequest: () => TemplateRemoveUserRequest,
@@ -16823,6 +16823,11 @@ var AccountResponse = class _AccountResponse {
1682316823
name: "usage",
1682416824
baseName: "usage",
1682516825
type: "AccountResponseUsage"
16826+
},
16827+
{
16828+
name: "settings",
16829+
baseName: "settings",
16830+
type: "AccountResponseSettings"
1682616831
}
1682716832
];
1682816833
}
@@ -16883,6 +16888,39 @@ var AccountResponseQuotas = class _AccountResponseQuotas {
1688316888
}
1688416889
};
1688516890

16891+
// model/accountResponseSettings.ts
16892+
var AccountResponseSettings = class _AccountResponseSettings {
16893+
static {
16894+
this.discriminator = void 0;
16895+
}
16896+
static {
16897+
this.attributeTypeMap = [
16898+
{
16899+
name: "signerAccessCodes",
16900+
baseName: "signer_access_codes",
16901+
type: "boolean"
16902+
},
16903+
{
16904+
name: "smsDelivery",
16905+
baseName: "sms_delivery",
16906+
type: "boolean"
16907+
},
16908+
{
16909+
name: "smsAuthentication",
16910+
baseName: "sms_authentication",
16911+
type: "boolean"
16912+
}
16913+
];
16914+
}
16915+
static getAttributeTypeMap() {
16916+
return _AccountResponseSettings.attributeTypeMap;
16917+
}
16918+
/** Attempt to instantiate and hydrate a new instance of this class */
16919+
static init(data) {
16920+
return ObjectSerializer.deserialize(data, "AccountResponseSettings");
16921+
}
16922+
};
16923+
1688616924
// model/accountResponseUsage.ts
1688716925
var AccountResponseUsage = class _AccountResponseUsage {
1688816926
static {
@@ -19240,6 +19278,7 @@ var ReportCreateRequest = class _ReportCreateRequest {
1924019278
ReportTypeEnum2["UserActivity"] = "user_activity";
1924119279
ReportTypeEnum2["DocumentStatus"] = "document_status";
1924219280
ReportTypeEnum2["SmsActivity"] = "sms_activity";
19281+
ReportTypeEnum2["FaxUsage"] = "fax_usage";
1924319282
})(ReportTypeEnum = ReportCreateRequest2.ReportTypeEnum || (ReportCreateRequest2.ReportTypeEnum = {}));
1924419283
})(ReportCreateRequest || (ReportCreateRequest = {}));
1924519284

@@ -19314,6 +19353,7 @@ var ReportResponse = class _ReportResponse {
1931419353
ReportTypeEnum2["UserActivity"] = "user_activity";
1931519354
ReportTypeEnum2["DocumentStatus"] = "document_status";
1931619355
ReportTypeEnum2["SmsActivity"] = "sms_activity";
19356+
ReportTypeEnum2["FaxUsage"] = "fax_usage";
1931719357
})(ReportTypeEnum = ReportResponse2.ReportTypeEnum || (ReportResponse2.ReportTypeEnum = {}));
1931819358
})(ReportResponse || (ReportResponse = {}));
1931919359

@@ -20079,7 +20119,7 @@ var SignatureRequestEditRequest = class _SignatureRequestEditRequest {
2007920119
*/
2008020120
this["hideTextTags"] = false;
2008120121
/**
20082-
* Send with a value of `true` if you wish to enable [electronic identification (eID)](https://www.hellosign.com/features/electronic-id), which requires the signer to verify their identity with an eID provider to sign a document.<br> **NOTE:** eID is only available on the Premium API plan. Cannot be used in `test_mode`. Only works on requests with one signer.
20122+
* Send with a value of `true` if you wish to enable [electronic identification (eID)](https://www.hellosign.com/features/electronic-id), which requires the signer to verify their identity with an eID provider to sign a document.<br> **NOTE:** You need the eID add-on to use this feature. Please [contact sales](https://sign.dropbox.com/form/contact-sales) for more information. Cannot be used in `test_mode`. Only works on requests with one signer.
2008320123
*/
2008420124
this["isEid"] = false;
2008520125
/**
@@ -20240,7 +20280,7 @@ var SignatureRequestEditWithTemplateRequest = class _SignatureRequestEditWithTem
2024020280
*/
2024120281
this["allowDecline"] = false;
2024220282
/**
20243-
* Send with a value of `true` if you wish to enable [electronic identification (eID)](https://www.hellosign.com/features/electronic-id), which requires the signer to verify their identity with an eID provider to sign a document.<br> **NOTE:** eID is only available on the Premium API plan. Cannot be used in `test_mode`. Only works on requests with one signer.
20283+
* Send with a value of `true` if you wish to enable [electronic identification (eID)](https://www.hellosign.com/features/electronic-id), which requires the signer to verify their identity with an eID provider to sign a document.<br> **NOTE:** You need the eID add-on to use this feature. Please [contact sales](https://sign.dropbox.com/form/contact-sales) for more information. Cannot be used in `test_mode`. Only works on requests with one signer.
2024420284
*/
2024520285
this["isEid"] = false;
2024620286
/**
@@ -21346,7 +21386,7 @@ var SignatureRequestSendRequest = class _SignatureRequestSendRequest {
2134621386
*/
2134721387
this["isQualifiedSignature"] = false;
2134821388
/**
21349-
* Send with a value of `true` if you wish to enable [electronic identification (eID)](https://www.hellosign.com/features/electronic-id), which requires the signer to verify their identity with an eID provider to sign a document.<br> **NOTE:** eID is only available on the Premium API plan. Cannot be used in `test_mode`. Only works on requests with one signer.
21389+
* Send with a value of `true` if you wish to enable [electronic identification (eID)](https://www.hellosign.com/features/electronic-id), which requires the signer to verify their identity with an eID provider to sign a document.<br> **NOTE:** You need the eID add-on to use this feature. Please [contact sales](https://sign.dropbox.com/form/contact-sales) for more information. Cannot be used in `test_mode`. Only works on requests with one signer.
2135021390
*/
2135121391
this["isEid"] = false;
2135221392
/**
@@ -21518,7 +21558,7 @@ var SignatureRequestSendWithTemplateRequest = class _SignatureRequestSendWithTem
2151821558
*/
2151921559
this["isQualifiedSignature"] = false;
2152021560
/**
21521-
* Send with a value of `true` if you wish to enable [electronic identification (eID)](https://www.hellosign.com/features/electronic-id), which requires the signer to verify their identity with an eID provider to sign a document.<br> **NOTE:** eID is only available on the Premium API plan. Cannot be used in `test_mode`. Only works on requests with one signer.
21561+
* Send with a value of `true` if you wish to enable [electronic identification (eID)](https://www.hellosign.com/features/electronic-id), which requires the signer to verify their identity with an eID provider to sign a document.<br> **NOTE:** You need the eID add-on to use this feature. Please [contact sales](https://sign.dropbox.com/form/contact-sales) for more information. Cannot be used in `test_mode`. Only works on requests with one signer.
2152221562
*/
2152321563
this["isEid"] = false;
2152421564
/**
@@ -23090,6 +23130,10 @@ var SubSigningOptions = class _SubSigningOptions {
2309023130
* Allows uploading the signature
2309123131
*/
2309223132
this["upload"] = false;
23133+
/**
23134+
* Turning on advanced signature details for the signature request
23135+
*/
23136+
this["forceAdvancedSignatureDetails"] = false;
2309323137
}
2309423138
static {
2309523139
this.discriminator = void 0;
@@ -23120,6 +23164,11 @@ var SubSigningOptions = class _SubSigningOptions {
2312023164
name: "upload",
2312123165
baseName: "upload",
2312223166
type: "boolean"
23167+
},
23168+
{
23169+
name: "forceAdvancedSignatureDetails",
23170+
baseName: "force_advanced_signature_details",
23171+
type: "boolean"
2312323172
}
2312423173
];
2312523174
}
@@ -24336,29 +24385,6 @@ var TemplateCreateResponseTemplate = class _TemplateCreateResponseTemplate {
2433624385
}
2433724386
};
2433824387

24339-
// model/templateEditResponse.ts
24340-
var TemplateEditResponse = class _TemplateEditResponse {
24341-
static {
24342-
this.discriminator = void 0;
24343-
}
24344-
static {
24345-
this.attributeTypeMap = [
24346-
{
24347-
name: "templateId",
24348-
baseName: "template_id",
24349-
type: "string"
24350-
}
24351-
];
24352-
}
24353-
static getAttributeTypeMap() {
24354-
return _TemplateEditResponse.attributeTypeMap;
24355-
}
24356-
/** Attempt to instantiate and hydrate a new instance of this class */
24357-
static init(data) {
24358-
return ObjectSerializer.deserialize(data, "TemplateEditResponse");
24359-
}
24360-
};
24361-
2436224388
// model/templateGetResponse.ts
2436324389
var TemplateGetResponse = class _TemplateGetResponse {
2436424390
static {
@@ -26803,6 +26829,7 @@ var typeMap = {
2680326829
AccountGetResponse,
2680426830
AccountResponse,
2680526831
AccountResponseQuotas,
26832+
AccountResponseSettings,
2680626833
AccountResponseUsage,
2680726834
AccountUpdateRequest,
2680826835
AccountVerifyRequest,
@@ -26939,7 +26966,6 @@ var typeMap = {
2693926966
TemplateCreateRequest,
2694026967
TemplateCreateResponse,
2694126968
TemplateCreateResponseTemplate,
26942-
TemplateEditResponse,
2694326969
TemplateGetResponse,
2694426970
TemplateListResponse,
2694526971
TemplateRemoveUserRequest,
@@ -34474,7 +34500,7 @@ var TemplateApi = class {
3447434500
});
3447534501
}
3447634502
/**
34477-
* Creates a template that can then be used.
34503+
* Creates a template that can be used in future signature requests. If `client_id` is provided, the template will be created as an embedded template. Embedded templates can be used for embedded signature requests and can be edited later by generating a new `edit_url` with [/embedded/edit_url/{template_id}](/api/reference/operation/embeddedEditUrl/). Template creation may complete asynchronously after the initial request is accepted. It is recommended that a callback be implemented to listen for the callback event. A `template_created` event indicates the template is ready to use, while a `template_error` event indicates there was a problem while creating the template. If a callback handler has been configured and the event has not been received within 60 minutes of making the call, check the status of the request in the API dashboard and retry the request if necessary.
3447834504
* @summary Create Template
3447934505
* @param templateCreateRequest
3448034506
* @param options
@@ -36235,7 +36261,7 @@ var HttpError = class extends Error {
3623536261
var queryParamsSerializer = (params) => {
3623636262
return import_qs.default.stringify(params, { arrayFormat: "brackets" });
3623736263
};
36238-
var USER_AGENT = "OpenAPI-Generator/1.10.0/node";
36264+
var USER_AGENT = "OpenAPI-Generator/1.11.0/node";
3623936265
var generateFormData = (obj, typemap) => {
3624036266
const data = {};
3624136267
let localVarUseFormData = false;
@@ -36316,6 +36342,7 @@ var APIS = [
3631636342
AccountGetResponse,
3631736343
AccountResponse,
3631836344
AccountResponseQuotas,
36345+
AccountResponseSettings,
3631936346
AccountResponseUsage,
3632036347
AccountUpdateRequest,
3632136348
AccountVerifyRequest,
@@ -36476,7 +36503,6 @@ var APIS = [
3647636503
TemplateCreateRequest,
3647736504
TemplateCreateResponse,
3647836505
TemplateCreateResponseTemplate,
36479-
TemplateEditResponse,
3648036506
TemplateGetResponse,
3648136507
TemplateListResponse,
3648236508
TemplateRemoveUserRequest,

docs/api/SignatureRequestApi.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,7 @@ const signingOptions: models.SubSigningOptions = {
366366
phone: false,
367367
type: true,
368368
upload: true,
369+
force_advanced_signature_details: false,
369370
};
370371

371372
const signers1: models.SubSignatureRequestSigner = {
@@ -463,6 +464,7 @@ const signingOptions: models.SubSigningOptions = {
463464
phone: false,
464465
type: true,
465466
upload: true,
467+
force_advanced_signature_details: false,
466468
};
467469

468470
const signers1: models.SubSignatureRequestTemplateSigner = {
@@ -1406,6 +1408,7 @@ const signingOptions: models.SubSigningOptions = {
14061408
phone: false,
14071409
type: true,
14081410
upload: true,
1411+
force_advanced_signature_details: false,
14091412
};
14101413

14111414
const signers1: models.SubSignatureRequestSigner = {
@@ -1507,6 +1510,7 @@ const signingOptions: models.SubSigningOptions = {
15071510
phone: false,
15081511
type: true,
15091512
upload: true,
1513+
force_advanced_signature_details: false,
15101514
};
15111515

15121516
const signers1: models.SubSignatureRequestTemplateSigner = {

docs/api/TemplateApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ templateCreate(templateCreateRequest: TemplateCreateRequest): TemplateCreateResp
8686

8787
Create Template
8888

89-
Creates a template that can then be used.
89+
Creates a template that can be used in future signature requests. If `client_id` is provided, the template will be created as an embedded template. Embedded templates can be used for embedded signature requests and can be edited later by generating a new `edit_url` with [/embedded/edit_url/{template_id}](/api/reference/operation/embeddedEditUrl/). Template creation may complete asynchronously after the initial request is accepted. It is recommended that a callback be implemented to listen for the callback event. A `template_created` event indicates the template is ready to use, while a `template_error` event indicates there was a problem while creating the template. If a callback handler has been configured and the event has not been received within 60 minutes of making the call, check the status of the request in the API dashboard and retry the request if necessary.
9090

9191
### TypeScript Example
9292

docs/model/AccountResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@ Name | Type | Description | Notes
1717
| `teamId` | ```string``` | The id of the team account belongs to. | |
1818
| `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. | |
1919
| `usage` | [```AccountResponseUsage```](AccountResponseUsage.md) | | |
20+
| `settings` | [```AccountResponseSettings```](AccountResponseSettings.md) | | |
2021

2122
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# # AccountResponseSettings
2+
3+
Subset of configured settings
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
| `signerAccessCodes` | ```boolean``` | Returns `true` if _Custom access codes_ is enabled in Admin Console. [Read more](https://developers.hellosign.com/docs/sms-tools/walkthrough). | |
10+
| `smsDelivery` | ```boolean``` | Returns `true` if _Text message_ is enabled in Admin Console. [Read more](https://developers.hellosign.com/docs/sms-tools/walkthrough). | |
11+
| `smsAuthentication` | ```boolean``` | Returns `true` if _Signer authentication_ is enabled in Admin Console. [Read more](https://developers.hellosign.com/docs/sms-tools/walkthrough). | |
12+
13+
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)

docs/model/SignatureRequestEditRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Name | Type | Description | Notes
2121
| `formFieldRules` | [```Array<SubFormFieldRule>```](SubFormFieldRule.md) | Conditional Logic rules for fields defined in `form_fields_per_document`. | |
2222
| `formFieldsPerDocument` | [```Array<SubFormFieldsPerDocumentBase>```](SubFormFieldsPerDocumentBase.md) | The fields that should appear on the document, expressed as an array of objects. (For more details you can read about it here: [Using Form Fields per Document](/docs/openapi/form-fields-per-document).)<br><br>**NOTE:** Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types.<br><br>* Text Field use `SubFormFieldsPerDocumentText`<br>* Dropdown Field use `SubFormFieldsPerDocumentDropdown`<br>* Hyperlink Field use `SubFormFieldsPerDocumentHyperlink`<br>* Checkbox Field use `SubFormFieldsPerDocumentCheckbox`<br>* Radio Field use `SubFormFieldsPerDocumentRadio`<br>* Signature Field use `SubFormFieldsPerDocumentSignature`<br>* Date Signed Field use `SubFormFieldsPerDocumentDateSigned`<br>* Initials Field use `SubFormFieldsPerDocumentInitials`<br>* Text Merge Field use `SubFormFieldsPerDocumentTextMerge`<br>* Checkbox Merge Field use `SubFormFieldsPerDocumentCheckboxMerge` | |
2323
| `hideTextTags` | ```boolean``` | Enables automatic Text Tag removal when set to true.<br><br>**NOTE:** Removing text tags this way can cause unwanted clipping. We recommend leaving this setting on `false` and instead hiding your text tags using white text or a similar approach. See the [Text Tags Walkthrough](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) for more information. | [default to false] |
24-
| `isEid` | ```boolean``` | Send with a value of `true` if you wish to enable [electronic identification (eID)](https://www.hellosign.com/features/electronic-id), which requires the signer to verify their identity with an eID provider to sign a document.&lt;br&gt;<br>**NOTE:** eID is only available on the Premium API plan. Cannot be used in `test_mode`. Only works on requests with one signer. | [default to false] |
24+
| `isEid` | ```boolean``` | Send with a value of `true` if you wish to enable [electronic identification (eID)](https://www.hellosign.com/features/electronic-id), which requires the signer to verify their identity with an eID provider to sign a document.&lt;br&gt;<br>**NOTE:** You need the eID add-on to use this feature. Please [contact sales](https://sign.dropbox.com/form/contact-sales) for more information. Cannot be used in `test_mode`. Only works on requests with one signer. | [default to false] |
2525
| `message` | ```string``` | The custom message in the email that will be sent to the signers. | |
2626
| `metadata` | ```{ [key: string]: any; }``` | Key-value data that should be attached to the signature request. This metadata is included in all API responses and events involving the signature request. For example, use the metadata field to store a signer&#39;s order number for look up when receiving events for the signature request.<br><br>Each request can include up to 10 metadata keys (or 50 nested metadata keys), with key names up to 40 characters long and values up to 1000 characters long. | |
2727
| `signingOptions` | [```SubSigningOptions```](SubSigningOptions.md) | | |

0 commit comments

Comments
 (0)