From cb7c86b2004f64bba4fbc52af34127619e8d2f92 Mon Sep 17 00:00:00 2001 From: mchatlas Date: Thu, 3 Sep 2026 14:32:04 +0200 Subject: [PATCH 1/2] Release 1.13.0 --- README.md | 6 +-- VERSION | 2 +- .../SignatureRequestCreateEmbeddedRequest.md | 1 - .../SignatureRequestEditEmbeddedRequest.md | 1 - docs/Model/SignatureRequestEditRequest.md | 1 - docs/Model/SignatureRequestSendRequest.md | 1 - .../TemplateCreateEmbeddedDraftRequest.md | 1 - docs/Model/TemplateCreateRequest.md | 1 - ...mplateResponseDocumentFormFieldDropdown.md | 1 + .../UnclaimedDraftCreateEmbeddedRequest.md | 1 - docs/Model/UnclaimedDraftCreateRequest.md | 1 - openapi-config.yaml | 4 +- openapi-sdk.yaml | 37 +++---------------- src/Configuration.php | 4 +- .../SignatureRequestCreateEmbeddedRequest.php | 34 ----------------- .../SignatureRequestEditEmbeddedRequest.php | 34 ----------------- src/Model/SignatureRequestEditRequest.php | 34 ----------------- src/Model/SignatureRequestSendRequest.php | 34 ----------------- .../TemplateCreateEmbeddedDraftRequest.php | 34 ----------------- src/Model/TemplateCreateRequest.php | 34 ----------------- ...plateResponseDocumentFormFieldDropdown.php | 34 +++++++++++++++++ .../UnclaimedDraftCreateEmbeddedRequest.php | 34 ----------------- src/Model/UnclaimedDraftCreateRequest.php | 34 ----------------- 23 files changed, 48 insertions(+), 320 deletions(-) diff --git a/README.md b/README.md index 48e6229..3e89c0f 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ To install the bindings via [Composer](https://getcomposer.org/), add the follow ```json { "require": { - "dropbox/sign": "^1.12.0" + "dropbox/sign": "^1.10.0" }, "minimum-stability": "dev" } @@ -64,7 +64,7 @@ Then run `composer install` Alternatively, install directly with ``` -composer require dropbox/sign:^1.12.0 +composer require dropbox/sign:^1.10.0 ``` ## Getting Started @@ -447,6 +447,6 @@ apisupport@hellosign.com This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: `3.0.0` - - Package version: `1.12.0` + - Package version: `1.13.0` - Generator version: `7.12.0` - Build package: `org.openapitools.codegen.languages.PhpClientCodegen` diff --git a/VERSION b/VERSION index 0eed1a2..feaae22 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.12.0 +1.13.0 diff --git a/docs/Model/SignatureRequestCreateEmbeddedRequest.md b/docs/Model/SignatureRequestCreateEmbeddedRequest.md index 639123f..a953bcb 100644 --- a/docs/Model/SignatureRequestCreateEmbeddedRequest.md +++ b/docs/Model/SignatureRequestCreateEmbeddedRequest.md @@ -28,7 +28,6 @@ Name | Type | Description | Notes | `test_mode` | ```bool``` | Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. | [default to false] | | `title` | ```string``` | The title you want to assign to the SignatureRequest. | | | `use_text_tags` | ```bool``` | Send with a value of `true` if you wish to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document. Defaults to disabled, or `false`. | [default to false] | -| `ignore_text_tags_extraction_errors` | ```bool``` | Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. | [default to false] | | `populate_auto_fill_fields` | ```bool``` | Controls whether [auto fill fields](https://faq.hellosign.com/hc/en-us/articles/360051467511-Auto-Fill-Fields) can automatically populate a signer's information during signing.

**NOTE:** Keep your signer's information safe by ensuring that the _signer on your signature request is the intended party_ before using this feature. | [default to false] | | `expires_at` | ```int``` | When the signature request will expire. Unsigned signatures will be moved to the expired status, and no longer signable. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details. | | diff --git a/docs/Model/SignatureRequestEditEmbeddedRequest.md b/docs/Model/SignatureRequestEditEmbeddedRequest.md index 772db71..b2567ac 100644 --- a/docs/Model/SignatureRequestEditEmbeddedRequest.md +++ b/docs/Model/SignatureRequestEditEmbeddedRequest.md @@ -28,7 +28,6 @@ Name | Type | Description | Notes | `test_mode` | ```bool``` | Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. | [default to false] | | `title` | ```string``` | The title you want to assign to the SignatureRequest. | | | `use_text_tags` | ```bool``` | Send with a value of `true` if you wish to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document. Defaults to disabled, or `false`. | [default to false] | -| `ignore_text_tags_extraction_errors` | ```bool``` | Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. | [default to false] | | `populate_auto_fill_fields` | ```bool``` | Controls whether [auto fill fields](https://faq.hellosign.com/hc/en-us/articles/360051467511-Auto-Fill-Fields) can automatically populate a signer's information during signing.

**NOTE:** Keep your signer's information safe by ensuring that the _signer on your signature request is the intended party_ before using this feature. | [default to false] | | `expires_at` | ```int``` | When the signature request will expire. Unsigned signatures will be moved to the expired status, and no longer signable. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details. | | diff --git a/docs/Model/SignatureRequestEditRequest.md b/docs/Model/SignatureRequestEditRequest.md index e4139fe..bd308cf 100644 --- a/docs/Model/SignatureRequestEditRequest.md +++ b/docs/Model/SignatureRequestEditRequest.md @@ -30,7 +30,6 @@ Name | Type | Description | Notes | `test_mode` | ```bool``` | Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. | [default to false] | | `title` | ```string``` | The title you want to assign to the SignatureRequest. | | | `use_text_tags` | ```bool``` | Send with a value of `true` if you wish to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document. Defaults to disabled, or `false`. | [default to false] | -| `ignore_text_tags_extraction_errors` | ```bool``` | Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. | [default to false] | | `expires_at` | ```int``` | When the signature request will expire. Unsigned signatures will be moved to the expired status, and no longer signable. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details. | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/SignatureRequestSendRequest.md b/docs/Model/SignatureRequestSendRequest.md index 2d3e247..bad47fc 100644 --- a/docs/Model/SignatureRequestSendRequest.md +++ b/docs/Model/SignatureRequestSendRequest.md @@ -31,7 +31,6 @@ Name | Type | Description | Notes | `test_mode` | ```bool``` | Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. | [default to false] | | `title` | ```string``` | The title you want to assign to the SignatureRequest. | | | `use_text_tags` | ```bool``` | Send with a value of `true` if you wish to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document. Defaults to disabled, or `false`. | [default to false] | -| `ignore_text_tags_extraction_errors` | ```bool``` | Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. | [default to false] | | `expires_at` | ```int``` | When the signature request will expire. Unsigned signatures will be moved to the expired status, and no longer signable. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details. | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/TemplateCreateEmbeddedDraftRequest.md b/docs/Model/TemplateCreateEmbeddedDraftRequest.md index 26e5e7d..d9ef188 100644 --- a/docs/Model/TemplateCreateEmbeddedDraftRequest.md +++ b/docs/Model/TemplateCreateEmbeddedDraftRequest.md @@ -31,6 +31,5 @@ Name | Type | Description | Notes | `test_mode` | ```bool``` | Whether this is a test, the signature request created from this draft will not be legally binding if set to `true`. Defaults to `false`. | [default to false] | | `title` | ```string``` | The title you want to assign to the SignatureRequest. | | | `use_preexisting_fields` | ```bool``` | Enable the detection of predefined PDF fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). | [default to false] | -| `ignore_text_tags_extraction_errors` | ```bool``` | Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. | [default to false] | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/TemplateCreateRequest.md b/docs/Model/TemplateCreateRequest.md index 44696ba..1a4b677 100644 --- a/docs/Model/TemplateCreateRequest.md +++ b/docs/Model/TemplateCreateRequest.md @@ -24,6 +24,5 @@ Name | Type | Description | Notes | `test_mode` | ```bool``` | Whether this is a test, the signature request created from this draft will not be legally binding if set to `true`. Defaults to `false`. | [default to false] | | `title` | ```string``` | The title you want to assign to the SignatureRequest. | | | `use_preexisting_fields` | ```bool``` | Enable the detection of predefined PDF fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). | [default to false] | -| `ignore_text_tags_extraction_errors` | ```bool``` | Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. | [default to false] | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/TemplateResponseDocumentFormFieldDropdown.md b/docs/Model/TemplateResponseDocumentFormFieldDropdown.md index 35cadab..61b05ae 100644 --- a/docs/Model/TemplateResponseDocumentFormFieldDropdown.md +++ b/docs/Model/TemplateResponseDocumentFormFieldDropdown.md @@ -8,5 +8,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- | `type`*_required_ | ```string``` | The type of this form field. See [field types](/api/reference/constants/#field-types).

* Text Field uses `TemplateResponseDocumentFormFieldText`
* Dropdown Field uses `TemplateResponseDocumentFormFieldDropdown`
* Hyperlink Field uses `TemplateResponseDocumentFormFieldHyperlink`
* Checkbox Field uses `TemplateResponseDocumentFormFieldCheckbox`
* Radio Field uses `TemplateResponseDocumentFormFieldRadio`
* Signature Field uses `TemplateResponseDocumentFormFieldSignature`
* Date Signed Field uses `TemplateResponseDocumentFormFieldDateSigned`
* Initials Field uses `TemplateResponseDocumentFormFieldInitials` | [default to 'dropdown'] | | `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. | | +| `options` | ```string[]``` | The options available for this dropdown form field. | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/UnclaimedDraftCreateEmbeddedRequest.md b/docs/Model/UnclaimedDraftCreateEmbeddedRequest.md index 161bdf3..4d9b2c5 100644 --- a/docs/Model/UnclaimedDraftCreateEmbeddedRequest.md +++ b/docs/Model/UnclaimedDraftCreateEmbeddedRequest.md @@ -40,7 +40,6 @@ Name | Type | Description | Notes | `type` | ```string``` | The type of the draft. By default this is `request_signature`, but you can set it to `send_document` if you want to self sign a document and download it. | [default to 'request_signature'] | | `use_preexisting_fields` | ```bool``` | Set `use_text_tags` to `true` to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document (defaults to disabled, or `false`). Alternatively, if your PDF contains pre-defined fields, enable the detection of these fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). Currently we only support use of either `use_text_tags` or `use_preexisting_fields` parameter, not both. | [default to false] | | `use_text_tags` | ```bool``` | Set `use_text_tags` to `true` to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document (defaults to disabled, or `false`). Alternatively, if your PDF contains pre-defined fields, enable the detection of these fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). Currently we only support use of either `use_text_tags` or `use_preexisting_fields` parameter, not both. | [default to false] | -| `ignore_text_tags_extraction_errors` | ```bool``` | Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. | [default to false] | | `populate_auto_fill_fields` | ```bool``` | Controls whether [auto fill fields](https://faq.hellosign.com/hc/en-us/articles/360051467511-Auto-Fill-Fields) can automatically populate a signer's information during signing.

**NOTE:** Keep your signer's information safe by ensuring that the _signer on your signature request is the intended party_ before using this feature. | [default to false] | | `expires_at` | ```int``` | When the signature request will expire. Unsigned signatures will be moved to the expired status, and no longer signable. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details.

**NOTE:** This does not correspond to the **expires_at** returned in the response. | | diff --git a/docs/Model/UnclaimedDraftCreateRequest.md b/docs/Model/UnclaimedDraftCreateRequest.md index 4936457..afcb4a7 100644 --- a/docs/Model/UnclaimedDraftCreateRequest.md +++ b/docs/Model/UnclaimedDraftCreateRequest.md @@ -29,7 +29,6 @@ Name | Type | Description | Notes | `test_mode` | ```bool``` | Whether this is a test, the signature request created from this draft will not be legally binding if set to `true`. Defaults to `false`. | [default to false] | | `use_preexisting_fields` | ```bool``` | Set `use_text_tags` to `true` to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document (defaults to disabled, or `false`). Alternatively, if your PDF contains pre-defined fields, enable the detection of these fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). Currently we only support use of either `use_text_tags` or `use_preexisting_fields` parameter, not both. | [default to false] | | `use_text_tags` | ```bool``` | Set `use_text_tags` to `true` to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document (defaults to disabled, or `false`). Alternatively, if your PDF contains pre-defined fields, enable the detection of these fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). Currently we only support use of either `use_text_tags` or `use_preexisting_fields` parameter, not both. | [default to false] | -| `ignore_text_tags_extraction_errors` | ```bool``` | Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. | [default to false] | | `expires_at` | ```int``` | When the signature request will expire. Unsigned signatures will be moved to the expired status, and no longer signable. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details.

**NOTE:** This does not correspond to the **expires_at** returned in the response. | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/openapi-config.yaml b/openapi-config.yaml index 99e8223..e6011dd 100644 --- a/openapi-config.yaml +++ b/openapi-config.yaml @@ -1,8 +1,8 @@ generatorName: php additionalProperties: packageName: dropbox/sign - packageVersion: "^1.12.0" - artifactVersion: 1.12.0 + packageVersion: "^1.10.0" + artifactVersion: 1.13.0 invokerPackage: "Dropbox\\Sign" sortModelPropertiesByRequiredFlag: true srcBasePath: src diff --git a/openapi-sdk.yaml b/openapi-sdk.yaml index ac9e788..ba50232 100644 --- a/openapi-sdk.yaml +++ b/openapi-sdk.yaml @@ -8553,10 +8553,6 @@ components: description: 'Send with a value of `true` if you wish to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document. Defaults to disabled, or `false`.' type: boolean default: false - ignore_text_tags_extraction_errors: - description: 'Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`.' - type: boolean - default: false populate_auto_fill_fields: description: |- Controls whether [auto fill fields](https://faq.hellosign.com/hc/en-us/articles/360051467511-Auto-Fill-Fields) can automatically populate a signer's information during signing. @@ -8802,10 +8798,6 @@ components: description: 'Send with a value of `true` if you wish to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document. Defaults to disabled, or `false`.' type: boolean default: false - ignore_text_tags_extraction_errors: - description: 'Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`.' - type: boolean - default: false expires_at: description: 'When the signature request will expire. Unsigned signatures will be moved to the expired status, and no longer signable. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details.' type: integer @@ -8951,10 +8943,6 @@ components: description: 'Send with a value of `true` if you wish to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document. Defaults to disabled, or `false`.' type: boolean default: false - ignore_text_tags_extraction_errors: - description: 'Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`.' - type: boolean - default: false populate_auto_fill_fields: description: |- Controls whether [auto fill fields](https://faq.hellosign.com/hc/en-us/articles/360051467511-Auto-Fill-Fields) can automatically populate a signer's information during signing. @@ -9310,10 +9298,6 @@ components: description: 'Send with a value of `true` if you wish to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document. Defaults to disabled, or `false`.' type: boolean default: false - ignore_text_tags_extraction_errors: - description: 'Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`.' - type: boolean - default: false expires_at: description: 'When the signature request will expire. Unsigned signatures will be moved to the expired status, and no longer signable. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details.' type: integer @@ -10671,10 +10655,6 @@ components: description: 'Enable the detection of predefined PDF fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`).' type: boolean default: false - ignore_text_tags_extraction_errors: - description: 'Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`.' - type: boolean - default: false type: object TemplateCreateEmbeddedDraftRequest: required: @@ -10817,10 +10797,6 @@ components: description: 'Enable the detection of predefined PDF fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`).' type: boolean default: false - ignore_text_tags_extraction_errors: - description: 'Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`.' - type: boolean - default: false type: object TemplateRemoveUserRequest: properties: @@ -11000,10 +10976,6 @@ components: description: 'Set `use_text_tags` to `true` to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document (defaults to disabled, or `false`). Alternatively, if your PDF contains pre-defined fields, enable the detection of these fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). Currently we only support use of either `use_text_tags` or `use_preexisting_fields` parameter, not both.' type: boolean default: false - ignore_text_tags_extraction_errors: - description: 'Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`.' - type: boolean - default: false expires_at: description: |- When the signature request will expire. Unsigned signatures will be moved to the expired status, and no longer signable. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details. @@ -11194,10 +11166,6 @@ components: description: 'Set `use_text_tags` to `true` to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document (defaults to disabled, or `false`). Alternatively, if your PDF contains pre-defined fields, enable the detection of these fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). Currently we only support use of either `use_text_tags` or `use_preexisting_fields` parameter, not both.' type: boolean default: false - ignore_text_tags_extraction_errors: - description: 'Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`.' - type: boolean - default: false populate_auto_fill_fields: description: |- Controls whether [auto fill fields](https://faq.hellosign.com/hc/en-us/articles/360051467511-Auto-Fill-Fields) can automatically populate a signer's information during signing. @@ -13104,6 +13072,11 @@ components: 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 nullable: true + options: + description: 'The options available for this dropdown form field.' + type: array + items: + type: string type: object TemplateResponseDocumentFormFieldHyperlink: description: 'This class extends `TemplateResponseDocumentFormFieldBase`' diff --git a/src/Configuration.php b/src/Configuration.php index 7ec1396..1073adc 100644 --- a/src/Configuration.php +++ b/src/Configuration.php @@ -97,7 +97,7 @@ class Configuration * * @var string */ - protected $userAgent = 'OpenAPI-Generator/1.12.0/PHP'; + protected $userAgent = 'OpenAPI-Generator/1.13.0/PHP'; /** * Debug switch (default set to false) @@ -438,7 +438,7 @@ public static function toDebugReport() $report .= ' OS: ' . php_uname() . PHP_EOL; $report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL; $report .= ' The version of the OpenAPI document: 3.0.0' . PHP_EOL; - $report .= ' SDK Package Version: 1.12.0' . PHP_EOL; + $report .= ' SDK Package Version: 1.13.0' . PHP_EOL; $report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL; return $report; diff --git a/src/Model/SignatureRequestCreateEmbeddedRequest.php b/src/Model/SignatureRequestCreateEmbeddedRequest.php index 1da278f..1a7cda1 100644 --- a/src/Model/SignatureRequestCreateEmbeddedRequest.php +++ b/src/Model/SignatureRequestCreateEmbeddedRequest.php @@ -80,7 +80,6 @@ class SignatureRequestCreateEmbeddedRequest implements ModelInterface, ArrayAcce 'test_mode' => 'bool', 'title' => 'string', 'use_text_tags' => 'bool', - 'ignore_text_tags_extraction_errors' => 'bool', 'populate_auto_fill_fields' => 'bool', 'expires_at' => 'int', ]; @@ -115,7 +114,6 @@ class SignatureRequestCreateEmbeddedRequest implements ModelInterface, ArrayAcce 'test_mode' => null, 'title' => null, 'use_text_tags' => null, - 'ignore_text_tags_extraction_errors' => null, 'populate_auto_fill_fields' => null, 'expires_at' => null, ]; @@ -148,7 +146,6 @@ class SignatureRequestCreateEmbeddedRequest implements ModelInterface, ArrayAcce 'test_mode' => false, 'title' => false, 'use_text_tags' => false, - 'ignore_text_tags_extraction_errors' => false, 'populate_auto_fill_fields' => false, 'expires_at' => true, ]; @@ -253,7 +250,6 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'test_mode', 'title' => 'title', 'use_text_tags' => 'use_text_tags', - 'ignore_text_tags_extraction_errors' => 'ignore_text_tags_extraction_errors', 'populate_auto_fill_fields' => 'populate_auto_fill_fields', 'expires_at' => 'expires_at', ]; @@ -286,7 +282,6 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'setTestMode', 'title' => 'setTitle', 'use_text_tags' => 'setUseTextTags', - 'ignore_text_tags_extraction_errors' => 'setIgnoreTextTagsExtractionErrors', 'populate_auto_fill_fields' => 'setPopulateAutoFillFields', 'expires_at' => 'setExpiresAt', ]; @@ -319,7 +314,6 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'getTestMode', 'title' => 'getTitle', 'use_text_tags' => 'getUseTextTags', - 'ignore_text_tags_extraction_errors' => 'getIgnoreTextTagsExtractionErrors', 'populate_auto_fill_fields' => 'getPopulateAutoFillFields', 'expires_at' => 'getExpiresAt', ]; @@ -402,7 +396,6 @@ public function __construct(?array $data = null) $this->setIfExists('test_mode', $data ?? [], false); $this->setIfExists('title', $data ?? [], null); $this->setIfExists('use_text_tags', $data ?? [], false); - $this->setIfExists('ignore_text_tags_extraction_errors', $data ?? [], false); $this->setIfExists('populate_auto_fill_fields', $data ?? [], false); $this->setIfExists('expires_at', $data ?? [], null); } @@ -1088,33 +1081,6 @@ public function setUseTextTags(?bool $use_text_tags) return $this; } - /** - * Gets ignore_text_tags_extraction_errors - * - * @return bool|null - */ - public function getIgnoreTextTagsExtractionErrors() - { - return $this->container['ignore_text_tags_extraction_errors']; - } - - /** - * Sets ignore_text_tags_extraction_errors - * - * @param bool|null $ignore_text_tags_extraction_errors Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. - * - * @return self - */ - public function setIgnoreTextTagsExtractionErrors(?bool $ignore_text_tags_extraction_errors) - { - if (is_null($ignore_text_tags_extraction_errors)) { - throw new InvalidArgumentException('non-nullable ignore_text_tags_extraction_errors cannot be null'); - } - $this->container['ignore_text_tags_extraction_errors'] = $ignore_text_tags_extraction_errors; - - return $this; - } - /** * Gets populate_auto_fill_fields * diff --git a/src/Model/SignatureRequestEditEmbeddedRequest.php b/src/Model/SignatureRequestEditEmbeddedRequest.php index 3a19021..2795f5a 100644 --- a/src/Model/SignatureRequestEditEmbeddedRequest.php +++ b/src/Model/SignatureRequestEditEmbeddedRequest.php @@ -80,7 +80,6 @@ class SignatureRequestEditEmbeddedRequest implements ModelInterface, ArrayAccess 'test_mode' => 'bool', 'title' => 'string', 'use_text_tags' => 'bool', - 'ignore_text_tags_extraction_errors' => 'bool', 'populate_auto_fill_fields' => 'bool', 'expires_at' => 'int', ]; @@ -115,7 +114,6 @@ class SignatureRequestEditEmbeddedRequest implements ModelInterface, ArrayAccess 'test_mode' => null, 'title' => null, 'use_text_tags' => null, - 'ignore_text_tags_extraction_errors' => null, 'populate_auto_fill_fields' => null, 'expires_at' => null, ]; @@ -148,7 +146,6 @@ class SignatureRequestEditEmbeddedRequest implements ModelInterface, ArrayAccess 'test_mode' => false, 'title' => false, 'use_text_tags' => false, - 'ignore_text_tags_extraction_errors' => false, 'populate_auto_fill_fields' => false, 'expires_at' => true, ]; @@ -253,7 +250,6 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'test_mode', 'title' => 'title', 'use_text_tags' => 'use_text_tags', - 'ignore_text_tags_extraction_errors' => 'ignore_text_tags_extraction_errors', 'populate_auto_fill_fields' => 'populate_auto_fill_fields', 'expires_at' => 'expires_at', ]; @@ -286,7 +282,6 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'setTestMode', 'title' => 'setTitle', 'use_text_tags' => 'setUseTextTags', - 'ignore_text_tags_extraction_errors' => 'setIgnoreTextTagsExtractionErrors', 'populate_auto_fill_fields' => 'setPopulateAutoFillFields', 'expires_at' => 'setExpiresAt', ]; @@ -319,7 +314,6 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'getTestMode', 'title' => 'getTitle', 'use_text_tags' => 'getUseTextTags', - 'ignore_text_tags_extraction_errors' => 'getIgnoreTextTagsExtractionErrors', 'populate_auto_fill_fields' => 'getPopulateAutoFillFields', 'expires_at' => 'getExpiresAt', ]; @@ -402,7 +396,6 @@ public function __construct(?array $data = null) $this->setIfExists('test_mode', $data ?? [], false); $this->setIfExists('title', $data ?? [], null); $this->setIfExists('use_text_tags', $data ?? [], false); - $this->setIfExists('ignore_text_tags_extraction_errors', $data ?? [], false); $this->setIfExists('populate_auto_fill_fields', $data ?? [], false); $this->setIfExists('expires_at', $data ?? [], null); } @@ -1088,33 +1081,6 @@ public function setUseTextTags(?bool $use_text_tags) return $this; } - /** - * Gets ignore_text_tags_extraction_errors - * - * @return bool|null - */ - public function getIgnoreTextTagsExtractionErrors() - { - return $this->container['ignore_text_tags_extraction_errors']; - } - - /** - * Sets ignore_text_tags_extraction_errors - * - * @param bool|null $ignore_text_tags_extraction_errors Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. - * - * @return self - */ - public function setIgnoreTextTagsExtractionErrors(?bool $ignore_text_tags_extraction_errors) - { - if (is_null($ignore_text_tags_extraction_errors)) { - throw new InvalidArgumentException('non-nullable ignore_text_tags_extraction_errors cannot be null'); - } - $this->container['ignore_text_tags_extraction_errors'] = $ignore_text_tags_extraction_errors; - - return $this; - } - /** * Gets populate_auto_fill_fields * diff --git a/src/Model/SignatureRequestEditRequest.php b/src/Model/SignatureRequestEditRequest.php index b23ca78..1e16db8 100644 --- a/src/Model/SignatureRequestEditRequest.php +++ b/src/Model/SignatureRequestEditRequest.php @@ -82,7 +82,6 @@ class SignatureRequestEditRequest implements ModelInterface, ArrayAccess, JsonSe 'test_mode' => 'bool', 'title' => 'string', 'use_text_tags' => 'bool', - 'ignore_text_tags_extraction_errors' => 'bool', 'expires_at' => 'int', ]; @@ -118,7 +117,6 @@ class SignatureRequestEditRequest implements ModelInterface, ArrayAccess, JsonSe 'test_mode' => null, 'title' => null, 'use_text_tags' => null, - 'ignore_text_tags_extraction_errors' => null, 'expires_at' => null, ]; @@ -152,7 +150,6 @@ class SignatureRequestEditRequest implements ModelInterface, ArrayAccess, JsonSe 'test_mode' => false, 'title' => false, 'use_text_tags' => false, - 'ignore_text_tags_extraction_errors' => false, 'expires_at' => true, ]; @@ -258,7 +255,6 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'test_mode', 'title' => 'title', 'use_text_tags' => 'use_text_tags', - 'ignore_text_tags_extraction_errors' => 'ignore_text_tags_extraction_errors', 'expires_at' => 'expires_at', ]; @@ -292,7 +288,6 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'setTestMode', 'title' => 'setTitle', 'use_text_tags' => 'setUseTextTags', - 'ignore_text_tags_extraction_errors' => 'setIgnoreTextTagsExtractionErrors', 'expires_at' => 'setExpiresAt', ]; @@ -326,7 +321,6 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'getTestMode', 'title' => 'getTitle', 'use_text_tags' => 'getUseTextTags', - 'ignore_text_tags_extraction_errors' => 'getIgnoreTextTagsExtractionErrors', 'expires_at' => 'getExpiresAt', ]; @@ -410,7 +404,6 @@ public function __construct(?array $data = null) $this->setIfExists('test_mode', $data ?? [], false); $this->setIfExists('title', $data ?? [], null); $this->setIfExists('use_text_tags', $data ?? [], false); - $this->setIfExists('ignore_text_tags_extraction_errors', $data ?? [], false); $this->setIfExists('expires_at', $data ?? [], null); } @@ -1146,33 +1139,6 @@ public function setUseTextTags(?bool $use_text_tags) return $this; } - /** - * Gets ignore_text_tags_extraction_errors - * - * @return bool|null - */ - public function getIgnoreTextTagsExtractionErrors() - { - return $this->container['ignore_text_tags_extraction_errors']; - } - - /** - * Sets ignore_text_tags_extraction_errors - * - * @param bool|null $ignore_text_tags_extraction_errors Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. - * - * @return self - */ - public function setIgnoreTextTagsExtractionErrors(?bool $ignore_text_tags_extraction_errors) - { - if (is_null($ignore_text_tags_extraction_errors)) { - throw new InvalidArgumentException('non-nullable ignore_text_tags_extraction_errors cannot be null'); - } - $this->container['ignore_text_tags_extraction_errors'] = $ignore_text_tags_extraction_errors; - - return $this; - } - /** * Gets expires_at * diff --git a/src/Model/SignatureRequestSendRequest.php b/src/Model/SignatureRequestSendRequest.php index 823c7ea..a0f7423 100644 --- a/src/Model/SignatureRequestSendRequest.php +++ b/src/Model/SignatureRequestSendRequest.php @@ -83,7 +83,6 @@ class SignatureRequestSendRequest implements ModelInterface, ArrayAccess, JsonSe 'test_mode' => 'bool', 'title' => 'string', 'use_text_tags' => 'bool', - 'ignore_text_tags_extraction_errors' => 'bool', 'expires_at' => 'int', ]; @@ -120,7 +119,6 @@ class SignatureRequestSendRequest implements ModelInterface, ArrayAccess, JsonSe 'test_mode' => null, 'title' => null, 'use_text_tags' => null, - 'ignore_text_tags_extraction_errors' => null, 'expires_at' => null, ]; @@ -155,7 +153,6 @@ class SignatureRequestSendRequest implements ModelInterface, ArrayAccess, JsonSe 'test_mode' => false, 'title' => false, 'use_text_tags' => false, - 'ignore_text_tags_extraction_errors' => false, 'expires_at' => true, ]; @@ -262,7 +259,6 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'test_mode', 'title' => 'title', 'use_text_tags' => 'use_text_tags', - 'ignore_text_tags_extraction_errors' => 'ignore_text_tags_extraction_errors', 'expires_at' => 'expires_at', ]; @@ -297,7 +293,6 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'setTestMode', 'title' => 'setTitle', 'use_text_tags' => 'setUseTextTags', - 'ignore_text_tags_extraction_errors' => 'setIgnoreTextTagsExtractionErrors', 'expires_at' => 'setExpiresAt', ]; @@ -332,7 +327,6 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'getTestMode', 'title' => 'getTitle', 'use_text_tags' => 'getUseTextTags', - 'ignore_text_tags_extraction_errors' => 'getIgnoreTextTagsExtractionErrors', 'expires_at' => 'getExpiresAt', ]; @@ -417,7 +411,6 @@ public function __construct(?array $data = null) $this->setIfExists('test_mode', $data ?? [], false); $this->setIfExists('title', $data ?? [], null); $this->setIfExists('use_text_tags', $data ?? [], false); - $this->setIfExists('ignore_text_tags_extraction_errors', $data ?? [], false); $this->setIfExists('expires_at', $data ?? [], null); } @@ -1182,33 +1175,6 @@ public function setUseTextTags(?bool $use_text_tags) return $this; } - /** - * Gets ignore_text_tags_extraction_errors - * - * @return bool|null - */ - public function getIgnoreTextTagsExtractionErrors() - { - return $this->container['ignore_text_tags_extraction_errors']; - } - - /** - * Sets ignore_text_tags_extraction_errors - * - * @param bool|null $ignore_text_tags_extraction_errors Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. - * - * @return self - */ - public function setIgnoreTextTagsExtractionErrors(?bool $ignore_text_tags_extraction_errors) - { - if (is_null($ignore_text_tags_extraction_errors)) { - throw new InvalidArgumentException('non-nullable ignore_text_tags_extraction_errors cannot be null'); - } - $this->container['ignore_text_tags_extraction_errors'] = $ignore_text_tags_extraction_errors; - - return $this; - } - /** * Gets expires_at * diff --git a/src/Model/TemplateCreateEmbeddedDraftRequest.php b/src/Model/TemplateCreateEmbeddedDraftRequest.php index b8bf159..9d151a1 100644 --- a/src/Model/TemplateCreateEmbeddedDraftRequest.php +++ b/src/Model/TemplateCreateEmbeddedDraftRequest.php @@ -83,7 +83,6 @@ class TemplateCreateEmbeddedDraftRequest implements ModelInterface, ArrayAccess, 'test_mode' => 'bool', 'title' => 'string', 'use_preexisting_fields' => 'bool', - 'ignore_text_tags_extraction_errors' => 'bool', ]; /** @@ -119,7 +118,6 @@ class TemplateCreateEmbeddedDraftRequest implements ModelInterface, ArrayAccess, 'test_mode' => null, 'title' => null, 'use_preexisting_fields' => null, - 'ignore_text_tags_extraction_errors' => null, ]; /** @@ -153,7 +151,6 @@ class TemplateCreateEmbeddedDraftRequest implements ModelInterface, ArrayAccess, 'test_mode' => false, 'title' => false, 'use_preexisting_fields' => false, - 'ignore_text_tags_extraction_errors' => false, ]; /** @@ -259,7 +256,6 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'test_mode', 'title' => 'title', 'use_preexisting_fields' => 'use_preexisting_fields', - 'ignore_text_tags_extraction_errors' => 'ignore_text_tags_extraction_errors', ]; /** @@ -293,7 +289,6 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'setTestMode', 'title' => 'setTitle', 'use_preexisting_fields' => 'setUsePreexistingFields', - 'ignore_text_tags_extraction_errors' => 'setIgnoreTextTagsExtractionErrors', ]; /** @@ -327,7 +322,6 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'getTestMode', 'title' => 'getTitle', 'use_preexisting_fields' => 'getUsePreexistingFields', - 'ignore_text_tags_extraction_errors' => 'getIgnoreTextTagsExtractionErrors', ]; /** @@ -411,7 +405,6 @@ public function __construct(?array $data = null) $this->setIfExists('test_mode', $data ?? [], false); $this->setIfExists('title', $data ?? [], null); $this->setIfExists('use_preexisting_fields', $data ?? [], false); - $this->setIfExists('ignore_text_tags_extraction_errors', $data ?? [], false); } /** @@ -1168,33 +1161,6 @@ public function setUsePreexistingFields(?bool $use_preexisting_fields) return $this; } - /** - * Gets ignore_text_tags_extraction_errors - * - * @return bool|null - */ - public function getIgnoreTextTagsExtractionErrors() - { - return $this->container['ignore_text_tags_extraction_errors']; - } - - /** - * Sets ignore_text_tags_extraction_errors - * - * @param bool|null $ignore_text_tags_extraction_errors Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. - * - * @return self - */ - public function setIgnoreTextTagsExtractionErrors(?bool $ignore_text_tags_extraction_errors) - { - if (is_null($ignore_text_tags_extraction_errors)) { - throw new InvalidArgumentException('non-nullable ignore_text_tags_extraction_errors cannot be null'); - } - $this->container['ignore_text_tags_extraction_errors'] = $ignore_text_tags_extraction_errors; - - return $this; - } - /** * Returns true if offset exists. False otherwise. * diff --git a/src/Model/TemplateCreateRequest.php b/src/Model/TemplateCreateRequest.php index 52625c6..87e69a2 100644 --- a/src/Model/TemplateCreateRequest.php +++ b/src/Model/TemplateCreateRequest.php @@ -76,7 +76,6 @@ class TemplateCreateRequest implements ModelInterface, ArrayAccess, JsonSerializ 'test_mode' => 'bool', 'title' => 'string', 'use_preexisting_fields' => 'bool', - 'ignore_text_tags_extraction_errors' => 'bool', ]; /** @@ -105,7 +104,6 @@ class TemplateCreateRequest implements ModelInterface, ArrayAccess, JsonSerializ 'test_mode' => null, 'title' => null, 'use_preexisting_fields' => null, - 'ignore_text_tags_extraction_errors' => null, ]; /** @@ -132,7 +130,6 @@ class TemplateCreateRequest implements ModelInterface, ArrayAccess, JsonSerializ 'test_mode' => false, 'title' => false, 'use_preexisting_fields' => false, - 'ignore_text_tags_extraction_errors' => false, ]; /** @@ -231,7 +228,6 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'test_mode', 'title' => 'title', 'use_preexisting_fields' => 'use_preexisting_fields', - 'ignore_text_tags_extraction_errors' => 'ignore_text_tags_extraction_errors', ]; /** @@ -258,7 +254,6 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'setTestMode', 'title' => 'setTitle', 'use_preexisting_fields' => 'setUsePreexistingFields', - 'ignore_text_tags_extraction_errors' => 'setIgnoreTextTagsExtractionErrors', ]; /** @@ -285,7 +280,6 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'getTestMode', 'title' => 'getTitle', 'use_preexisting_fields' => 'getUsePreexistingFields', - 'ignore_text_tags_extraction_errors' => 'getIgnoreTextTagsExtractionErrors', ]; /** @@ -362,7 +356,6 @@ public function __construct(?array $data = null) $this->setIfExists('test_mode', $data ?? [], false); $this->setIfExists('title', $data ?? [], null); $this->setIfExists('use_preexisting_fields', $data ?? [], false); - $this->setIfExists('ignore_text_tags_extraction_errors', $data ?? [], false); } /** @@ -933,33 +926,6 @@ public function setUsePreexistingFields(?bool $use_preexisting_fields) return $this; } - /** - * Gets ignore_text_tags_extraction_errors - * - * @return bool|null - */ - public function getIgnoreTextTagsExtractionErrors() - { - return $this->container['ignore_text_tags_extraction_errors']; - } - - /** - * Sets ignore_text_tags_extraction_errors - * - * @param bool|null $ignore_text_tags_extraction_errors Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. - * - * @return self - */ - public function setIgnoreTextTagsExtractionErrors(?bool $ignore_text_tags_extraction_errors) - { - if (is_null($ignore_text_tags_extraction_errors)) { - throw new InvalidArgumentException('non-nullable ignore_text_tags_extraction_errors cannot be null'); - } - $this->container['ignore_text_tags_extraction_errors'] = $ignore_text_tags_extraction_errors; - - return $this; - } - /** * Returns true if offset exists. False otherwise. * diff --git a/src/Model/TemplateResponseDocumentFormFieldDropdown.php b/src/Model/TemplateResponseDocumentFormFieldDropdown.php index 9760912..f4b334a 100644 --- a/src/Model/TemplateResponseDocumentFormFieldDropdown.php +++ b/src/Model/TemplateResponseDocumentFormFieldDropdown.php @@ -59,6 +59,7 @@ class TemplateResponseDocumentFormFieldDropdown extends TemplateResponseDocument protected static $openAPITypes = [ 'type' => 'string', 'group' => 'string', + 'options' => 'string[]', ]; /** @@ -71,6 +72,7 @@ class TemplateResponseDocumentFormFieldDropdown extends TemplateResponseDocument protected static $openAPIFormats = [ 'type' => null, 'group' => null, + 'options' => null, ]; /** @@ -81,6 +83,7 @@ class TemplateResponseDocumentFormFieldDropdown extends TemplateResponseDocument protected static array $openAPINullables = [ 'type' => false, 'group' => true, + 'options' => false, ]; /** @@ -163,6 +166,7 @@ public function isNullableSetToNull(string $property): bool protected static $attributeMap = [ 'type' => 'type', 'group' => 'group', + 'options' => 'options', ]; /** @@ -173,6 +177,7 @@ public function isNullableSetToNull(string $property): bool protected static $setters = [ 'type' => 'setType', 'group' => 'setGroup', + 'options' => 'setOptions', ]; /** @@ -183,6 +188,7 @@ public function isNullableSetToNull(string $property): bool protected static $getters = [ 'type' => 'getType', 'group' => 'getGroup', + 'options' => 'getOptions', ]; /** @@ -238,6 +244,7 @@ public function __construct(?array $data = null) $this->setIfExists('type', $data ?? [], 'dropdown'); $this->setIfExists('group', $data ?? [], null); + $this->setIfExists('options', $data ?? [], null); } /** @@ -363,6 +370,33 @@ public function setGroup(?string $group) return $this; } + /** + * Gets options + * + * @return string[]|null + */ + public function getOptions() + { + return $this->container['options']; + } + + /** + * Sets options + * + * @param string[]|null $options the options available for this dropdown form field + * + * @return self + */ + public function setOptions(?array $options) + { + if (is_null($options)) { + throw new InvalidArgumentException('non-nullable options cannot be null'); + } + $this->container['options'] = $options; + + return $this; + } + /** * Returns true if offset exists. False otherwise. * diff --git a/src/Model/UnclaimedDraftCreateEmbeddedRequest.php b/src/Model/UnclaimedDraftCreateEmbeddedRequest.php index 2838ed2..fa78f95 100644 --- a/src/Model/UnclaimedDraftCreateEmbeddedRequest.php +++ b/src/Model/UnclaimedDraftCreateEmbeddedRequest.php @@ -93,7 +93,6 @@ class UnclaimedDraftCreateEmbeddedRequest implements ModelInterface, ArrayAccess 'type' => 'string', 'use_preexisting_fields' => 'bool', 'use_text_tags' => 'bool', - 'ignore_text_tags_extraction_errors' => 'bool', 'populate_auto_fill_fields' => 'bool', 'expires_at' => 'int', ]; @@ -140,7 +139,6 @@ class UnclaimedDraftCreateEmbeddedRequest implements ModelInterface, ArrayAccess 'type' => null, 'use_preexisting_fields' => null, 'use_text_tags' => null, - 'ignore_text_tags_extraction_errors' => null, 'populate_auto_fill_fields' => null, 'expires_at' => null, ]; @@ -185,7 +183,6 @@ class UnclaimedDraftCreateEmbeddedRequest implements ModelInterface, ArrayAccess 'type' => false, 'use_preexisting_fields' => false, 'use_text_tags' => false, - 'ignore_text_tags_extraction_errors' => false, 'populate_auto_fill_fields' => false, 'expires_at' => true, ]; @@ -302,7 +299,6 @@ public function isNullableSetToNull(string $property): bool 'type' => 'type', 'use_preexisting_fields' => 'use_preexisting_fields', 'use_text_tags' => 'use_text_tags', - 'ignore_text_tags_extraction_errors' => 'ignore_text_tags_extraction_errors', 'populate_auto_fill_fields' => 'populate_auto_fill_fields', 'expires_at' => 'expires_at', ]; @@ -347,7 +343,6 @@ public function isNullableSetToNull(string $property): bool 'type' => 'setType', 'use_preexisting_fields' => 'setUsePreexistingFields', 'use_text_tags' => 'setUseTextTags', - 'ignore_text_tags_extraction_errors' => 'setIgnoreTextTagsExtractionErrors', 'populate_auto_fill_fields' => 'setPopulateAutoFillFields', 'expires_at' => 'setExpiresAt', ]; @@ -392,7 +387,6 @@ public function isNullableSetToNull(string $property): bool 'type' => 'getType', 'use_preexisting_fields' => 'getUsePreexistingFields', 'use_text_tags' => 'getUseTextTags', - 'ignore_text_tags_extraction_errors' => 'getIgnoreTextTagsExtractionErrors', 'populate_auto_fill_fields' => 'getPopulateAutoFillFields', 'expires_at' => 'getExpiresAt', ]; @@ -503,7 +497,6 @@ public function __construct(?array $data = null) $this->setIfExists('type', $data ?? [], 'request_signature'); $this->setIfExists('use_preexisting_fields', $data ?? [], false); $this->setIfExists('use_text_tags', $data ?? [], false); - $this->setIfExists('ignore_text_tags_extraction_errors', $data ?? [], false); $this->setIfExists('populate_auto_fill_fields', $data ?? [], false); $this->setIfExists('expires_at', $data ?? [], null); } @@ -1527,33 +1520,6 @@ public function setUseTextTags(?bool $use_text_tags) return $this; } - /** - * Gets ignore_text_tags_extraction_errors - * - * @return bool|null - */ - public function getIgnoreTextTagsExtractionErrors() - { - return $this->container['ignore_text_tags_extraction_errors']; - } - - /** - * Sets ignore_text_tags_extraction_errors - * - * @param bool|null $ignore_text_tags_extraction_errors Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. - * - * @return self - */ - public function setIgnoreTextTagsExtractionErrors(?bool $ignore_text_tags_extraction_errors) - { - if (is_null($ignore_text_tags_extraction_errors)) { - throw new InvalidArgumentException('non-nullable ignore_text_tags_extraction_errors cannot be null'); - } - $this->container['ignore_text_tags_extraction_errors'] = $ignore_text_tags_extraction_errors; - - return $this; - } - /** * Gets populate_auto_fill_fields * diff --git a/src/Model/UnclaimedDraftCreateRequest.php b/src/Model/UnclaimedDraftCreateRequest.php index 57d82c5..ed00604 100644 --- a/src/Model/UnclaimedDraftCreateRequest.php +++ b/src/Model/UnclaimedDraftCreateRequest.php @@ -82,7 +82,6 @@ class UnclaimedDraftCreateRequest implements ModelInterface, ArrayAccess, JsonSe 'test_mode' => 'bool', 'use_preexisting_fields' => 'bool', 'use_text_tags' => 'bool', - 'ignore_text_tags_extraction_errors' => 'bool', 'expires_at' => 'int', ]; @@ -117,7 +116,6 @@ class UnclaimedDraftCreateRequest implements ModelInterface, ArrayAccess, JsonSe 'test_mode' => null, 'use_preexisting_fields' => null, 'use_text_tags' => null, - 'ignore_text_tags_extraction_errors' => null, 'expires_at' => null, ]; @@ -150,7 +148,6 @@ class UnclaimedDraftCreateRequest implements ModelInterface, ArrayAccess, JsonSe 'test_mode' => false, 'use_preexisting_fields' => false, 'use_text_tags' => false, - 'ignore_text_tags_extraction_errors' => false, 'expires_at' => true, ]; @@ -255,7 +252,6 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'test_mode', 'use_preexisting_fields' => 'use_preexisting_fields', 'use_text_tags' => 'use_text_tags', - 'ignore_text_tags_extraction_errors' => 'ignore_text_tags_extraction_errors', 'expires_at' => 'expires_at', ]; @@ -288,7 +284,6 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'setTestMode', 'use_preexisting_fields' => 'setUsePreexistingFields', 'use_text_tags' => 'setUseTextTags', - 'ignore_text_tags_extraction_errors' => 'setIgnoreTextTagsExtractionErrors', 'expires_at' => 'setExpiresAt', ]; @@ -321,7 +316,6 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'getTestMode', 'use_preexisting_fields' => 'getUsePreexistingFields', 'use_text_tags' => 'getUseTextTags', - 'ignore_text_tags_extraction_errors' => 'getIgnoreTextTagsExtractionErrors', 'expires_at' => 'getExpiresAt', ]; @@ -420,7 +414,6 @@ public function __construct(?array $data = null) $this->setIfExists('test_mode', $data ?? [], false); $this->setIfExists('use_preexisting_fields', $data ?? [], false); $this->setIfExists('use_text_tags', $data ?? [], false); - $this->setIfExists('ignore_text_tags_extraction_errors', $data ?? [], false); $this->setIfExists('expires_at', $data ?? [], null); } @@ -1143,33 +1136,6 @@ public function setUseTextTags(?bool $use_text_tags) return $this; } - /** - * Gets ignore_text_tags_extraction_errors - * - * @return bool|null - */ - public function getIgnoreTextTagsExtractionErrors() - { - return $this->container['ignore_text_tags_extraction_errors']; - } - - /** - * Sets ignore_text_tags_extraction_errors - * - * @param bool|null $ignore_text_tags_extraction_errors Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. - * - * @return self - */ - public function setIgnoreTextTagsExtractionErrors(?bool $ignore_text_tags_extraction_errors) - { - if (is_null($ignore_text_tags_extraction_errors)) { - throw new InvalidArgumentException('non-nullable ignore_text_tags_extraction_errors cannot be null'); - } - $this->container['ignore_text_tags_extraction_errors'] = $ignore_text_tags_extraction_errors; - - return $this; - } - /** * Gets expires_at * From a556d605f4f2ed7fbc332c1d9533c734076eed47 Mon Sep 17 00:00:00 2001 From: mchatlas Date: Thu, 3 Sep 2026 14:38:16 +0200 Subject: [PATCH 2/2] Keep release scoped to dropdown options --- README.md | 4 +-- .../SignatureRequestCreateEmbeddedRequest.md | 1 + .../SignatureRequestEditEmbeddedRequest.md | 1 + docs/Model/SignatureRequestEditRequest.md | 1 + docs/Model/SignatureRequestSendRequest.md | 1 + .../TemplateCreateEmbeddedDraftRequest.md | 1 + docs/Model/TemplateCreateRequest.md | 1 + .../UnclaimedDraftCreateEmbeddedRequest.md | 1 + docs/Model/UnclaimedDraftCreateRequest.md | 1 + openapi-config.yaml | 2 +- openapi-sdk.yaml | 32 +++++++++++++++++ .../SignatureRequestCreateEmbeddedRequest.php | 34 +++++++++++++++++++ .../SignatureRequestEditEmbeddedRequest.php | 34 +++++++++++++++++++ src/Model/SignatureRequestEditRequest.php | 34 +++++++++++++++++++ src/Model/SignatureRequestSendRequest.php | 34 +++++++++++++++++++ .../TemplateCreateEmbeddedDraftRequest.php | 34 +++++++++++++++++++ src/Model/TemplateCreateRequest.php | 34 +++++++++++++++++++ .../UnclaimedDraftCreateEmbeddedRequest.php | 34 +++++++++++++++++++ src/Model/UnclaimedDraftCreateRequest.php | 34 +++++++++++++++++++ 19 files changed, 315 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3e89c0f..d37a6ca 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ To install the bindings via [Composer](https://getcomposer.org/), add the follow ```json { "require": { - "dropbox/sign": "^1.10.0" + "dropbox/sign": "^1.13.0" }, "minimum-stability": "dev" } @@ -64,7 +64,7 @@ Then run `composer install` Alternatively, install directly with ``` -composer require dropbox/sign:^1.10.0 +composer require dropbox/sign:^1.13.0 ``` ## Getting Started diff --git a/docs/Model/SignatureRequestCreateEmbeddedRequest.md b/docs/Model/SignatureRequestCreateEmbeddedRequest.md index a953bcb..639123f 100644 --- a/docs/Model/SignatureRequestCreateEmbeddedRequest.md +++ b/docs/Model/SignatureRequestCreateEmbeddedRequest.md @@ -28,6 +28,7 @@ Name | Type | Description | Notes | `test_mode` | ```bool``` | Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. | [default to false] | | `title` | ```string``` | The title you want to assign to the SignatureRequest. | | | `use_text_tags` | ```bool``` | Send with a value of `true` if you wish to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document. Defaults to disabled, or `false`. | [default to false] | +| `ignore_text_tags_extraction_errors` | ```bool``` | Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. | [default to false] | | `populate_auto_fill_fields` | ```bool``` | Controls whether [auto fill fields](https://faq.hellosign.com/hc/en-us/articles/360051467511-Auto-Fill-Fields) can automatically populate a signer's information during signing.

**NOTE:** Keep your signer's information safe by ensuring that the _signer on your signature request is the intended party_ before using this feature. | [default to false] | | `expires_at` | ```int``` | When the signature request will expire. Unsigned signatures will be moved to the expired status, and no longer signable. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details. | | diff --git a/docs/Model/SignatureRequestEditEmbeddedRequest.md b/docs/Model/SignatureRequestEditEmbeddedRequest.md index b2567ac..772db71 100644 --- a/docs/Model/SignatureRequestEditEmbeddedRequest.md +++ b/docs/Model/SignatureRequestEditEmbeddedRequest.md @@ -28,6 +28,7 @@ Name | Type | Description | Notes | `test_mode` | ```bool``` | Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. | [default to false] | | `title` | ```string``` | The title you want to assign to the SignatureRequest. | | | `use_text_tags` | ```bool``` | Send with a value of `true` if you wish to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document. Defaults to disabled, or `false`. | [default to false] | +| `ignore_text_tags_extraction_errors` | ```bool``` | Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. | [default to false] | | `populate_auto_fill_fields` | ```bool``` | Controls whether [auto fill fields](https://faq.hellosign.com/hc/en-us/articles/360051467511-Auto-Fill-Fields) can automatically populate a signer's information during signing.

**NOTE:** Keep your signer's information safe by ensuring that the _signer on your signature request is the intended party_ before using this feature. | [default to false] | | `expires_at` | ```int``` | When the signature request will expire. Unsigned signatures will be moved to the expired status, and no longer signable. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details. | | diff --git a/docs/Model/SignatureRequestEditRequest.md b/docs/Model/SignatureRequestEditRequest.md index bd308cf..e4139fe 100644 --- a/docs/Model/SignatureRequestEditRequest.md +++ b/docs/Model/SignatureRequestEditRequest.md @@ -30,6 +30,7 @@ Name | Type | Description | Notes | `test_mode` | ```bool``` | Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. | [default to false] | | `title` | ```string``` | The title you want to assign to the SignatureRequest. | | | `use_text_tags` | ```bool``` | Send with a value of `true` if you wish to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document. Defaults to disabled, or `false`. | [default to false] | +| `ignore_text_tags_extraction_errors` | ```bool``` | Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. | [default to false] | | `expires_at` | ```int``` | When the signature request will expire. Unsigned signatures will be moved to the expired status, and no longer signable. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details. | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/SignatureRequestSendRequest.md b/docs/Model/SignatureRequestSendRequest.md index bad47fc..2d3e247 100644 --- a/docs/Model/SignatureRequestSendRequest.md +++ b/docs/Model/SignatureRequestSendRequest.md @@ -31,6 +31,7 @@ Name | Type | Description | Notes | `test_mode` | ```bool``` | Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. | [default to false] | | `title` | ```string``` | The title you want to assign to the SignatureRequest. | | | `use_text_tags` | ```bool``` | Send with a value of `true` if you wish to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document. Defaults to disabled, or `false`. | [default to false] | +| `ignore_text_tags_extraction_errors` | ```bool``` | Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. | [default to false] | | `expires_at` | ```int``` | When the signature request will expire. Unsigned signatures will be moved to the expired status, and no longer signable. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details. | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/TemplateCreateEmbeddedDraftRequest.md b/docs/Model/TemplateCreateEmbeddedDraftRequest.md index d9ef188..26e5e7d 100644 --- a/docs/Model/TemplateCreateEmbeddedDraftRequest.md +++ b/docs/Model/TemplateCreateEmbeddedDraftRequest.md @@ -31,5 +31,6 @@ Name | Type | Description | Notes | `test_mode` | ```bool``` | Whether this is a test, the signature request created from this draft will not be legally binding if set to `true`. Defaults to `false`. | [default to false] | | `title` | ```string``` | The title you want to assign to the SignatureRequest. | | | `use_preexisting_fields` | ```bool``` | Enable the detection of predefined PDF fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). | [default to false] | +| `ignore_text_tags_extraction_errors` | ```bool``` | Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. | [default to false] | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/TemplateCreateRequest.md b/docs/Model/TemplateCreateRequest.md index 1a4b677..44696ba 100644 --- a/docs/Model/TemplateCreateRequest.md +++ b/docs/Model/TemplateCreateRequest.md @@ -24,5 +24,6 @@ Name | Type | Description | Notes | `test_mode` | ```bool``` | Whether this is a test, the signature request created from this draft will not be legally binding if set to `true`. Defaults to `false`. | [default to false] | | `title` | ```string``` | The title you want to assign to the SignatureRequest. | | | `use_preexisting_fields` | ```bool``` | Enable the detection of predefined PDF fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). | [default to false] | +| `ignore_text_tags_extraction_errors` | ```bool``` | Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. | [default to false] | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/UnclaimedDraftCreateEmbeddedRequest.md b/docs/Model/UnclaimedDraftCreateEmbeddedRequest.md index 4d9b2c5..161bdf3 100644 --- a/docs/Model/UnclaimedDraftCreateEmbeddedRequest.md +++ b/docs/Model/UnclaimedDraftCreateEmbeddedRequest.md @@ -40,6 +40,7 @@ Name | Type | Description | Notes | `type` | ```string``` | The type of the draft. By default this is `request_signature`, but you can set it to `send_document` if you want to self sign a document and download it. | [default to 'request_signature'] | | `use_preexisting_fields` | ```bool``` | Set `use_text_tags` to `true` to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document (defaults to disabled, or `false`). Alternatively, if your PDF contains pre-defined fields, enable the detection of these fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). Currently we only support use of either `use_text_tags` or `use_preexisting_fields` parameter, not both. | [default to false] | | `use_text_tags` | ```bool``` | Set `use_text_tags` to `true` to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document (defaults to disabled, or `false`). Alternatively, if your PDF contains pre-defined fields, enable the detection of these fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). Currently we only support use of either `use_text_tags` or `use_preexisting_fields` parameter, not both. | [default to false] | +| `ignore_text_tags_extraction_errors` | ```bool``` | Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. | [default to false] | | `populate_auto_fill_fields` | ```bool``` | Controls whether [auto fill fields](https://faq.hellosign.com/hc/en-us/articles/360051467511-Auto-Fill-Fields) can automatically populate a signer's information during signing.

**NOTE:** Keep your signer's information safe by ensuring that the _signer on your signature request is the intended party_ before using this feature. | [default to false] | | `expires_at` | ```int``` | When the signature request will expire. Unsigned signatures will be moved to the expired status, and no longer signable. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details.

**NOTE:** This does not correspond to the **expires_at** returned in the response. | | diff --git a/docs/Model/UnclaimedDraftCreateRequest.md b/docs/Model/UnclaimedDraftCreateRequest.md index afcb4a7..4936457 100644 --- a/docs/Model/UnclaimedDraftCreateRequest.md +++ b/docs/Model/UnclaimedDraftCreateRequest.md @@ -29,6 +29,7 @@ Name | Type | Description | Notes | `test_mode` | ```bool``` | Whether this is a test, the signature request created from this draft will not be legally binding if set to `true`. Defaults to `false`. | [default to false] | | `use_preexisting_fields` | ```bool``` | Set `use_text_tags` to `true` to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document (defaults to disabled, or `false`). Alternatively, if your PDF contains pre-defined fields, enable the detection of these fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). Currently we only support use of either `use_text_tags` or `use_preexisting_fields` parameter, not both. | [default to false] | | `use_text_tags` | ```bool``` | Set `use_text_tags` to `true` to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document (defaults to disabled, or `false`). Alternatively, if your PDF contains pre-defined fields, enable the detection of these fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). Currently we only support use of either `use_text_tags` or `use_preexisting_fields` parameter, not both. | [default to false] | +| `ignore_text_tags_extraction_errors` | ```bool``` | Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. | [default to false] | | `expires_at` | ```int``` | When the signature request will expire. Unsigned signatures will be moved to the expired status, and no longer signable. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details.

**NOTE:** This does not correspond to the **expires_at** returned in the response. | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/openapi-config.yaml b/openapi-config.yaml index e6011dd..a934e6e 100644 --- a/openapi-config.yaml +++ b/openapi-config.yaml @@ -1,7 +1,7 @@ generatorName: php additionalProperties: packageName: dropbox/sign - packageVersion: "^1.10.0" + packageVersion: "^1.13.0" artifactVersion: 1.13.0 invokerPackage: "Dropbox\\Sign" sortModelPropertiesByRequiredFlag: true diff --git a/openapi-sdk.yaml b/openapi-sdk.yaml index ba50232..576b442 100644 --- a/openapi-sdk.yaml +++ b/openapi-sdk.yaml @@ -8553,6 +8553,10 @@ components: description: 'Send with a value of `true` if you wish to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document. Defaults to disabled, or `false`.' type: boolean default: false + ignore_text_tags_extraction_errors: + description: 'Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`.' + type: boolean + default: false populate_auto_fill_fields: description: |- Controls whether [auto fill fields](https://faq.hellosign.com/hc/en-us/articles/360051467511-Auto-Fill-Fields) can automatically populate a signer's information during signing. @@ -8798,6 +8802,10 @@ components: description: 'Send with a value of `true` if you wish to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document. Defaults to disabled, or `false`.' type: boolean default: false + ignore_text_tags_extraction_errors: + description: 'Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`.' + type: boolean + default: false expires_at: description: 'When the signature request will expire. Unsigned signatures will be moved to the expired status, and no longer signable. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details.' type: integer @@ -8943,6 +8951,10 @@ components: description: 'Send with a value of `true` if you wish to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document. Defaults to disabled, or `false`.' type: boolean default: false + ignore_text_tags_extraction_errors: + description: 'Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`.' + type: boolean + default: false populate_auto_fill_fields: description: |- Controls whether [auto fill fields](https://faq.hellosign.com/hc/en-us/articles/360051467511-Auto-Fill-Fields) can automatically populate a signer's information during signing. @@ -9298,6 +9310,10 @@ components: description: 'Send with a value of `true` if you wish to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document. Defaults to disabled, or `false`.' type: boolean default: false + ignore_text_tags_extraction_errors: + description: 'Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`.' + type: boolean + default: false expires_at: description: 'When the signature request will expire. Unsigned signatures will be moved to the expired status, and no longer signable. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details.' type: integer @@ -10655,6 +10671,10 @@ components: description: 'Enable the detection of predefined PDF fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`).' type: boolean default: false + ignore_text_tags_extraction_errors: + description: 'Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`.' + type: boolean + default: false type: object TemplateCreateEmbeddedDraftRequest: required: @@ -10797,6 +10817,10 @@ components: description: 'Enable the detection of predefined PDF fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`).' type: boolean default: false + ignore_text_tags_extraction_errors: + description: 'Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`.' + type: boolean + default: false type: object TemplateRemoveUserRequest: properties: @@ -10976,6 +11000,10 @@ components: description: 'Set `use_text_tags` to `true` to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document (defaults to disabled, or `false`). Alternatively, if your PDF contains pre-defined fields, enable the detection of these fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). Currently we only support use of either `use_text_tags` or `use_preexisting_fields` parameter, not both.' type: boolean default: false + ignore_text_tags_extraction_errors: + description: 'Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`.' + type: boolean + default: false expires_at: description: |- When the signature request will expire. Unsigned signatures will be moved to the expired status, and no longer signable. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details. @@ -11166,6 +11194,10 @@ components: description: 'Set `use_text_tags` to `true` to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document (defaults to disabled, or `false`). Alternatively, if your PDF contains pre-defined fields, enable the detection of these fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). Currently we only support use of either `use_text_tags` or `use_preexisting_fields` parameter, not both.' type: boolean default: false + ignore_text_tags_extraction_errors: + description: 'Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`.' + type: boolean + default: false populate_auto_fill_fields: description: |- Controls whether [auto fill fields](https://faq.hellosign.com/hc/en-us/articles/360051467511-Auto-Fill-Fields) can automatically populate a signer's information during signing. diff --git a/src/Model/SignatureRequestCreateEmbeddedRequest.php b/src/Model/SignatureRequestCreateEmbeddedRequest.php index 1a7cda1..1da278f 100644 --- a/src/Model/SignatureRequestCreateEmbeddedRequest.php +++ b/src/Model/SignatureRequestCreateEmbeddedRequest.php @@ -80,6 +80,7 @@ class SignatureRequestCreateEmbeddedRequest implements ModelInterface, ArrayAcce 'test_mode' => 'bool', 'title' => 'string', 'use_text_tags' => 'bool', + 'ignore_text_tags_extraction_errors' => 'bool', 'populate_auto_fill_fields' => 'bool', 'expires_at' => 'int', ]; @@ -114,6 +115,7 @@ class SignatureRequestCreateEmbeddedRequest implements ModelInterface, ArrayAcce 'test_mode' => null, 'title' => null, 'use_text_tags' => null, + 'ignore_text_tags_extraction_errors' => null, 'populate_auto_fill_fields' => null, 'expires_at' => null, ]; @@ -146,6 +148,7 @@ class SignatureRequestCreateEmbeddedRequest implements ModelInterface, ArrayAcce 'test_mode' => false, 'title' => false, 'use_text_tags' => false, + 'ignore_text_tags_extraction_errors' => false, 'populate_auto_fill_fields' => false, 'expires_at' => true, ]; @@ -250,6 +253,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'test_mode', 'title' => 'title', 'use_text_tags' => 'use_text_tags', + 'ignore_text_tags_extraction_errors' => 'ignore_text_tags_extraction_errors', 'populate_auto_fill_fields' => 'populate_auto_fill_fields', 'expires_at' => 'expires_at', ]; @@ -282,6 +286,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'setTestMode', 'title' => 'setTitle', 'use_text_tags' => 'setUseTextTags', + 'ignore_text_tags_extraction_errors' => 'setIgnoreTextTagsExtractionErrors', 'populate_auto_fill_fields' => 'setPopulateAutoFillFields', 'expires_at' => 'setExpiresAt', ]; @@ -314,6 +319,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'getTestMode', 'title' => 'getTitle', 'use_text_tags' => 'getUseTextTags', + 'ignore_text_tags_extraction_errors' => 'getIgnoreTextTagsExtractionErrors', 'populate_auto_fill_fields' => 'getPopulateAutoFillFields', 'expires_at' => 'getExpiresAt', ]; @@ -396,6 +402,7 @@ public function __construct(?array $data = null) $this->setIfExists('test_mode', $data ?? [], false); $this->setIfExists('title', $data ?? [], null); $this->setIfExists('use_text_tags', $data ?? [], false); + $this->setIfExists('ignore_text_tags_extraction_errors', $data ?? [], false); $this->setIfExists('populate_auto_fill_fields', $data ?? [], false); $this->setIfExists('expires_at', $data ?? [], null); } @@ -1081,6 +1088,33 @@ public function setUseTextTags(?bool $use_text_tags) return $this; } + /** + * Gets ignore_text_tags_extraction_errors + * + * @return bool|null + */ + public function getIgnoreTextTagsExtractionErrors() + { + return $this->container['ignore_text_tags_extraction_errors']; + } + + /** + * Sets ignore_text_tags_extraction_errors + * + * @param bool|null $ignore_text_tags_extraction_errors Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. + * + * @return self + */ + public function setIgnoreTextTagsExtractionErrors(?bool $ignore_text_tags_extraction_errors) + { + if (is_null($ignore_text_tags_extraction_errors)) { + throw new InvalidArgumentException('non-nullable ignore_text_tags_extraction_errors cannot be null'); + } + $this->container['ignore_text_tags_extraction_errors'] = $ignore_text_tags_extraction_errors; + + return $this; + } + /** * Gets populate_auto_fill_fields * diff --git a/src/Model/SignatureRequestEditEmbeddedRequest.php b/src/Model/SignatureRequestEditEmbeddedRequest.php index 2795f5a..3a19021 100644 --- a/src/Model/SignatureRequestEditEmbeddedRequest.php +++ b/src/Model/SignatureRequestEditEmbeddedRequest.php @@ -80,6 +80,7 @@ class SignatureRequestEditEmbeddedRequest implements ModelInterface, ArrayAccess 'test_mode' => 'bool', 'title' => 'string', 'use_text_tags' => 'bool', + 'ignore_text_tags_extraction_errors' => 'bool', 'populate_auto_fill_fields' => 'bool', 'expires_at' => 'int', ]; @@ -114,6 +115,7 @@ class SignatureRequestEditEmbeddedRequest implements ModelInterface, ArrayAccess 'test_mode' => null, 'title' => null, 'use_text_tags' => null, + 'ignore_text_tags_extraction_errors' => null, 'populate_auto_fill_fields' => null, 'expires_at' => null, ]; @@ -146,6 +148,7 @@ class SignatureRequestEditEmbeddedRequest implements ModelInterface, ArrayAccess 'test_mode' => false, 'title' => false, 'use_text_tags' => false, + 'ignore_text_tags_extraction_errors' => false, 'populate_auto_fill_fields' => false, 'expires_at' => true, ]; @@ -250,6 +253,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'test_mode', 'title' => 'title', 'use_text_tags' => 'use_text_tags', + 'ignore_text_tags_extraction_errors' => 'ignore_text_tags_extraction_errors', 'populate_auto_fill_fields' => 'populate_auto_fill_fields', 'expires_at' => 'expires_at', ]; @@ -282,6 +286,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'setTestMode', 'title' => 'setTitle', 'use_text_tags' => 'setUseTextTags', + 'ignore_text_tags_extraction_errors' => 'setIgnoreTextTagsExtractionErrors', 'populate_auto_fill_fields' => 'setPopulateAutoFillFields', 'expires_at' => 'setExpiresAt', ]; @@ -314,6 +319,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'getTestMode', 'title' => 'getTitle', 'use_text_tags' => 'getUseTextTags', + 'ignore_text_tags_extraction_errors' => 'getIgnoreTextTagsExtractionErrors', 'populate_auto_fill_fields' => 'getPopulateAutoFillFields', 'expires_at' => 'getExpiresAt', ]; @@ -396,6 +402,7 @@ public function __construct(?array $data = null) $this->setIfExists('test_mode', $data ?? [], false); $this->setIfExists('title', $data ?? [], null); $this->setIfExists('use_text_tags', $data ?? [], false); + $this->setIfExists('ignore_text_tags_extraction_errors', $data ?? [], false); $this->setIfExists('populate_auto_fill_fields', $data ?? [], false); $this->setIfExists('expires_at', $data ?? [], null); } @@ -1081,6 +1088,33 @@ public function setUseTextTags(?bool $use_text_tags) return $this; } + /** + * Gets ignore_text_tags_extraction_errors + * + * @return bool|null + */ + public function getIgnoreTextTagsExtractionErrors() + { + return $this->container['ignore_text_tags_extraction_errors']; + } + + /** + * Sets ignore_text_tags_extraction_errors + * + * @param bool|null $ignore_text_tags_extraction_errors Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. + * + * @return self + */ + public function setIgnoreTextTagsExtractionErrors(?bool $ignore_text_tags_extraction_errors) + { + if (is_null($ignore_text_tags_extraction_errors)) { + throw new InvalidArgumentException('non-nullable ignore_text_tags_extraction_errors cannot be null'); + } + $this->container['ignore_text_tags_extraction_errors'] = $ignore_text_tags_extraction_errors; + + return $this; + } + /** * Gets populate_auto_fill_fields * diff --git a/src/Model/SignatureRequestEditRequest.php b/src/Model/SignatureRequestEditRequest.php index 1e16db8..b23ca78 100644 --- a/src/Model/SignatureRequestEditRequest.php +++ b/src/Model/SignatureRequestEditRequest.php @@ -82,6 +82,7 @@ class SignatureRequestEditRequest implements ModelInterface, ArrayAccess, JsonSe 'test_mode' => 'bool', 'title' => 'string', 'use_text_tags' => 'bool', + 'ignore_text_tags_extraction_errors' => 'bool', 'expires_at' => 'int', ]; @@ -117,6 +118,7 @@ class SignatureRequestEditRequest implements ModelInterface, ArrayAccess, JsonSe 'test_mode' => null, 'title' => null, 'use_text_tags' => null, + 'ignore_text_tags_extraction_errors' => null, 'expires_at' => null, ]; @@ -150,6 +152,7 @@ class SignatureRequestEditRequest implements ModelInterface, ArrayAccess, JsonSe 'test_mode' => false, 'title' => false, 'use_text_tags' => false, + 'ignore_text_tags_extraction_errors' => false, 'expires_at' => true, ]; @@ -255,6 +258,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'test_mode', 'title' => 'title', 'use_text_tags' => 'use_text_tags', + 'ignore_text_tags_extraction_errors' => 'ignore_text_tags_extraction_errors', 'expires_at' => 'expires_at', ]; @@ -288,6 +292,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'setTestMode', 'title' => 'setTitle', 'use_text_tags' => 'setUseTextTags', + 'ignore_text_tags_extraction_errors' => 'setIgnoreTextTagsExtractionErrors', 'expires_at' => 'setExpiresAt', ]; @@ -321,6 +326,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'getTestMode', 'title' => 'getTitle', 'use_text_tags' => 'getUseTextTags', + 'ignore_text_tags_extraction_errors' => 'getIgnoreTextTagsExtractionErrors', 'expires_at' => 'getExpiresAt', ]; @@ -404,6 +410,7 @@ public function __construct(?array $data = null) $this->setIfExists('test_mode', $data ?? [], false); $this->setIfExists('title', $data ?? [], null); $this->setIfExists('use_text_tags', $data ?? [], false); + $this->setIfExists('ignore_text_tags_extraction_errors', $data ?? [], false); $this->setIfExists('expires_at', $data ?? [], null); } @@ -1139,6 +1146,33 @@ public function setUseTextTags(?bool $use_text_tags) return $this; } + /** + * Gets ignore_text_tags_extraction_errors + * + * @return bool|null + */ + public function getIgnoreTextTagsExtractionErrors() + { + return $this->container['ignore_text_tags_extraction_errors']; + } + + /** + * Sets ignore_text_tags_extraction_errors + * + * @param bool|null $ignore_text_tags_extraction_errors Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. + * + * @return self + */ + public function setIgnoreTextTagsExtractionErrors(?bool $ignore_text_tags_extraction_errors) + { + if (is_null($ignore_text_tags_extraction_errors)) { + throw new InvalidArgumentException('non-nullable ignore_text_tags_extraction_errors cannot be null'); + } + $this->container['ignore_text_tags_extraction_errors'] = $ignore_text_tags_extraction_errors; + + return $this; + } + /** * Gets expires_at * diff --git a/src/Model/SignatureRequestSendRequest.php b/src/Model/SignatureRequestSendRequest.php index a0f7423..823c7ea 100644 --- a/src/Model/SignatureRequestSendRequest.php +++ b/src/Model/SignatureRequestSendRequest.php @@ -83,6 +83,7 @@ class SignatureRequestSendRequest implements ModelInterface, ArrayAccess, JsonSe 'test_mode' => 'bool', 'title' => 'string', 'use_text_tags' => 'bool', + 'ignore_text_tags_extraction_errors' => 'bool', 'expires_at' => 'int', ]; @@ -119,6 +120,7 @@ class SignatureRequestSendRequest implements ModelInterface, ArrayAccess, JsonSe 'test_mode' => null, 'title' => null, 'use_text_tags' => null, + 'ignore_text_tags_extraction_errors' => null, 'expires_at' => null, ]; @@ -153,6 +155,7 @@ class SignatureRequestSendRequest implements ModelInterface, ArrayAccess, JsonSe 'test_mode' => false, 'title' => false, 'use_text_tags' => false, + 'ignore_text_tags_extraction_errors' => false, 'expires_at' => true, ]; @@ -259,6 +262,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'test_mode', 'title' => 'title', 'use_text_tags' => 'use_text_tags', + 'ignore_text_tags_extraction_errors' => 'ignore_text_tags_extraction_errors', 'expires_at' => 'expires_at', ]; @@ -293,6 +297,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'setTestMode', 'title' => 'setTitle', 'use_text_tags' => 'setUseTextTags', + 'ignore_text_tags_extraction_errors' => 'setIgnoreTextTagsExtractionErrors', 'expires_at' => 'setExpiresAt', ]; @@ -327,6 +332,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'getTestMode', 'title' => 'getTitle', 'use_text_tags' => 'getUseTextTags', + 'ignore_text_tags_extraction_errors' => 'getIgnoreTextTagsExtractionErrors', 'expires_at' => 'getExpiresAt', ]; @@ -411,6 +417,7 @@ public function __construct(?array $data = null) $this->setIfExists('test_mode', $data ?? [], false); $this->setIfExists('title', $data ?? [], null); $this->setIfExists('use_text_tags', $data ?? [], false); + $this->setIfExists('ignore_text_tags_extraction_errors', $data ?? [], false); $this->setIfExists('expires_at', $data ?? [], null); } @@ -1175,6 +1182,33 @@ public function setUseTextTags(?bool $use_text_tags) return $this; } + /** + * Gets ignore_text_tags_extraction_errors + * + * @return bool|null + */ + public function getIgnoreTextTagsExtractionErrors() + { + return $this->container['ignore_text_tags_extraction_errors']; + } + + /** + * Sets ignore_text_tags_extraction_errors + * + * @param bool|null $ignore_text_tags_extraction_errors Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. + * + * @return self + */ + public function setIgnoreTextTagsExtractionErrors(?bool $ignore_text_tags_extraction_errors) + { + if (is_null($ignore_text_tags_extraction_errors)) { + throw new InvalidArgumentException('non-nullable ignore_text_tags_extraction_errors cannot be null'); + } + $this->container['ignore_text_tags_extraction_errors'] = $ignore_text_tags_extraction_errors; + + return $this; + } + /** * Gets expires_at * diff --git a/src/Model/TemplateCreateEmbeddedDraftRequest.php b/src/Model/TemplateCreateEmbeddedDraftRequest.php index 9d151a1..b8bf159 100644 --- a/src/Model/TemplateCreateEmbeddedDraftRequest.php +++ b/src/Model/TemplateCreateEmbeddedDraftRequest.php @@ -83,6 +83,7 @@ class TemplateCreateEmbeddedDraftRequest implements ModelInterface, ArrayAccess, 'test_mode' => 'bool', 'title' => 'string', 'use_preexisting_fields' => 'bool', + 'ignore_text_tags_extraction_errors' => 'bool', ]; /** @@ -118,6 +119,7 @@ class TemplateCreateEmbeddedDraftRequest implements ModelInterface, ArrayAccess, 'test_mode' => null, 'title' => null, 'use_preexisting_fields' => null, + 'ignore_text_tags_extraction_errors' => null, ]; /** @@ -151,6 +153,7 @@ class TemplateCreateEmbeddedDraftRequest implements ModelInterface, ArrayAccess, 'test_mode' => false, 'title' => false, 'use_preexisting_fields' => false, + 'ignore_text_tags_extraction_errors' => false, ]; /** @@ -256,6 +259,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'test_mode', 'title' => 'title', 'use_preexisting_fields' => 'use_preexisting_fields', + 'ignore_text_tags_extraction_errors' => 'ignore_text_tags_extraction_errors', ]; /** @@ -289,6 +293,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'setTestMode', 'title' => 'setTitle', 'use_preexisting_fields' => 'setUsePreexistingFields', + 'ignore_text_tags_extraction_errors' => 'setIgnoreTextTagsExtractionErrors', ]; /** @@ -322,6 +327,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'getTestMode', 'title' => 'getTitle', 'use_preexisting_fields' => 'getUsePreexistingFields', + 'ignore_text_tags_extraction_errors' => 'getIgnoreTextTagsExtractionErrors', ]; /** @@ -405,6 +411,7 @@ public function __construct(?array $data = null) $this->setIfExists('test_mode', $data ?? [], false); $this->setIfExists('title', $data ?? [], null); $this->setIfExists('use_preexisting_fields', $data ?? [], false); + $this->setIfExists('ignore_text_tags_extraction_errors', $data ?? [], false); } /** @@ -1161,6 +1168,33 @@ public function setUsePreexistingFields(?bool $use_preexisting_fields) return $this; } + /** + * Gets ignore_text_tags_extraction_errors + * + * @return bool|null + */ + public function getIgnoreTextTagsExtractionErrors() + { + return $this->container['ignore_text_tags_extraction_errors']; + } + + /** + * Sets ignore_text_tags_extraction_errors + * + * @param bool|null $ignore_text_tags_extraction_errors Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. + * + * @return self + */ + public function setIgnoreTextTagsExtractionErrors(?bool $ignore_text_tags_extraction_errors) + { + if (is_null($ignore_text_tags_extraction_errors)) { + throw new InvalidArgumentException('non-nullable ignore_text_tags_extraction_errors cannot be null'); + } + $this->container['ignore_text_tags_extraction_errors'] = $ignore_text_tags_extraction_errors; + + return $this; + } + /** * Returns true if offset exists. False otherwise. * diff --git a/src/Model/TemplateCreateRequest.php b/src/Model/TemplateCreateRequest.php index 87e69a2..52625c6 100644 --- a/src/Model/TemplateCreateRequest.php +++ b/src/Model/TemplateCreateRequest.php @@ -76,6 +76,7 @@ class TemplateCreateRequest implements ModelInterface, ArrayAccess, JsonSerializ 'test_mode' => 'bool', 'title' => 'string', 'use_preexisting_fields' => 'bool', + 'ignore_text_tags_extraction_errors' => 'bool', ]; /** @@ -104,6 +105,7 @@ class TemplateCreateRequest implements ModelInterface, ArrayAccess, JsonSerializ 'test_mode' => null, 'title' => null, 'use_preexisting_fields' => null, + 'ignore_text_tags_extraction_errors' => null, ]; /** @@ -130,6 +132,7 @@ class TemplateCreateRequest implements ModelInterface, ArrayAccess, JsonSerializ 'test_mode' => false, 'title' => false, 'use_preexisting_fields' => false, + 'ignore_text_tags_extraction_errors' => false, ]; /** @@ -228,6 +231,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'test_mode', 'title' => 'title', 'use_preexisting_fields' => 'use_preexisting_fields', + 'ignore_text_tags_extraction_errors' => 'ignore_text_tags_extraction_errors', ]; /** @@ -254,6 +258,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'setTestMode', 'title' => 'setTitle', 'use_preexisting_fields' => 'setUsePreexistingFields', + 'ignore_text_tags_extraction_errors' => 'setIgnoreTextTagsExtractionErrors', ]; /** @@ -280,6 +285,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'getTestMode', 'title' => 'getTitle', 'use_preexisting_fields' => 'getUsePreexistingFields', + 'ignore_text_tags_extraction_errors' => 'getIgnoreTextTagsExtractionErrors', ]; /** @@ -356,6 +362,7 @@ public function __construct(?array $data = null) $this->setIfExists('test_mode', $data ?? [], false); $this->setIfExists('title', $data ?? [], null); $this->setIfExists('use_preexisting_fields', $data ?? [], false); + $this->setIfExists('ignore_text_tags_extraction_errors', $data ?? [], false); } /** @@ -926,6 +933,33 @@ public function setUsePreexistingFields(?bool $use_preexisting_fields) return $this; } + /** + * Gets ignore_text_tags_extraction_errors + * + * @return bool|null + */ + public function getIgnoreTextTagsExtractionErrors() + { + return $this->container['ignore_text_tags_extraction_errors']; + } + + /** + * Sets ignore_text_tags_extraction_errors + * + * @param bool|null $ignore_text_tags_extraction_errors Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. + * + * @return self + */ + public function setIgnoreTextTagsExtractionErrors(?bool $ignore_text_tags_extraction_errors) + { + if (is_null($ignore_text_tags_extraction_errors)) { + throw new InvalidArgumentException('non-nullable ignore_text_tags_extraction_errors cannot be null'); + } + $this->container['ignore_text_tags_extraction_errors'] = $ignore_text_tags_extraction_errors; + + return $this; + } + /** * Returns true if offset exists. False otherwise. * diff --git a/src/Model/UnclaimedDraftCreateEmbeddedRequest.php b/src/Model/UnclaimedDraftCreateEmbeddedRequest.php index fa78f95..2838ed2 100644 --- a/src/Model/UnclaimedDraftCreateEmbeddedRequest.php +++ b/src/Model/UnclaimedDraftCreateEmbeddedRequest.php @@ -93,6 +93,7 @@ class UnclaimedDraftCreateEmbeddedRequest implements ModelInterface, ArrayAccess 'type' => 'string', 'use_preexisting_fields' => 'bool', 'use_text_tags' => 'bool', + 'ignore_text_tags_extraction_errors' => 'bool', 'populate_auto_fill_fields' => 'bool', 'expires_at' => 'int', ]; @@ -139,6 +140,7 @@ class UnclaimedDraftCreateEmbeddedRequest implements ModelInterface, ArrayAccess 'type' => null, 'use_preexisting_fields' => null, 'use_text_tags' => null, + 'ignore_text_tags_extraction_errors' => null, 'populate_auto_fill_fields' => null, 'expires_at' => null, ]; @@ -183,6 +185,7 @@ class UnclaimedDraftCreateEmbeddedRequest implements ModelInterface, ArrayAccess 'type' => false, 'use_preexisting_fields' => false, 'use_text_tags' => false, + 'ignore_text_tags_extraction_errors' => false, 'populate_auto_fill_fields' => false, 'expires_at' => true, ]; @@ -299,6 +302,7 @@ public function isNullableSetToNull(string $property): bool 'type' => 'type', 'use_preexisting_fields' => 'use_preexisting_fields', 'use_text_tags' => 'use_text_tags', + 'ignore_text_tags_extraction_errors' => 'ignore_text_tags_extraction_errors', 'populate_auto_fill_fields' => 'populate_auto_fill_fields', 'expires_at' => 'expires_at', ]; @@ -343,6 +347,7 @@ public function isNullableSetToNull(string $property): bool 'type' => 'setType', 'use_preexisting_fields' => 'setUsePreexistingFields', 'use_text_tags' => 'setUseTextTags', + 'ignore_text_tags_extraction_errors' => 'setIgnoreTextTagsExtractionErrors', 'populate_auto_fill_fields' => 'setPopulateAutoFillFields', 'expires_at' => 'setExpiresAt', ]; @@ -387,6 +392,7 @@ public function isNullableSetToNull(string $property): bool 'type' => 'getType', 'use_preexisting_fields' => 'getUsePreexistingFields', 'use_text_tags' => 'getUseTextTags', + 'ignore_text_tags_extraction_errors' => 'getIgnoreTextTagsExtractionErrors', 'populate_auto_fill_fields' => 'getPopulateAutoFillFields', 'expires_at' => 'getExpiresAt', ]; @@ -497,6 +503,7 @@ public function __construct(?array $data = null) $this->setIfExists('type', $data ?? [], 'request_signature'); $this->setIfExists('use_preexisting_fields', $data ?? [], false); $this->setIfExists('use_text_tags', $data ?? [], false); + $this->setIfExists('ignore_text_tags_extraction_errors', $data ?? [], false); $this->setIfExists('populate_auto_fill_fields', $data ?? [], false); $this->setIfExists('expires_at', $data ?? [], null); } @@ -1520,6 +1527,33 @@ public function setUseTextTags(?bool $use_text_tags) return $this; } + /** + * Gets ignore_text_tags_extraction_errors + * + * @return bool|null + */ + public function getIgnoreTextTagsExtractionErrors() + { + return $this->container['ignore_text_tags_extraction_errors']; + } + + /** + * Sets ignore_text_tags_extraction_errors + * + * @param bool|null $ignore_text_tags_extraction_errors Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. + * + * @return self + */ + public function setIgnoreTextTagsExtractionErrors(?bool $ignore_text_tags_extraction_errors) + { + if (is_null($ignore_text_tags_extraction_errors)) { + throw new InvalidArgumentException('non-nullable ignore_text_tags_extraction_errors cannot be null'); + } + $this->container['ignore_text_tags_extraction_errors'] = $ignore_text_tags_extraction_errors; + + return $this; + } + /** * Gets populate_auto_fill_fields * diff --git a/src/Model/UnclaimedDraftCreateRequest.php b/src/Model/UnclaimedDraftCreateRequest.php index ed00604..57d82c5 100644 --- a/src/Model/UnclaimedDraftCreateRequest.php +++ b/src/Model/UnclaimedDraftCreateRequest.php @@ -82,6 +82,7 @@ class UnclaimedDraftCreateRequest implements ModelInterface, ArrayAccess, JsonSe 'test_mode' => 'bool', 'use_preexisting_fields' => 'bool', 'use_text_tags' => 'bool', + 'ignore_text_tags_extraction_errors' => 'bool', 'expires_at' => 'int', ]; @@ -116,6 +117,7 @@ class UnclaimedDraftCreateRequest implements ModelInterface, ArrayAccess, JsonSe 'test_mode' => null, 'use_preexisting_fields' => null, 'use_text_tags' => null, + 'ignore_text_tags_extraction_errors' => null, 'expires_at' => null, ]; @@ -148,6 +150,7 @@ class UnclaimedDraftCreateRequest implements ModelInterface, ArrayAccess, JsonSe 'test_mode' => false, 'use_preexisting_fields' => false, 'use_text_tags' => false, + 'ignore_text_tags_extraction_errors' => false, 'expires_at' => true, ]; @@ -252,6 +255,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'test_mode', 'use_preexisting_fields' => 'use_preexisting_fields', 'use_text_tags' => 'use_text_tags', + 'ignore_text_tags_extraction_errors' => 'ignore_text_tags_extraction_errors', 'expires_at' => 'expires_at', ]; @@ -284,6 +288,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'setTestMode', 'use_preexisting_fields' => 'setUsePreexistingFields', 'use_text_tags' => 'setUseTextTags', + 'ignore_text_tags_extraction_errors' => 'setIgnoreTextTagsExtractionErrors', 'expires_at' => 'setExpiresAt', ]; @@ -316,6 +321,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'getTestMode', 'use_preexisting_fields' => 'getUsePreexistingFields', 'use_text_tags' => 'getUseTextTags', + 'ignore_text_tags_extraction_errors' => 'getIgnoreTextTagsExtractionErrors', 'expires_at' => 'getExpiresAt', ]; @@ -414,6 +420,7 @@ public function __construct(?array $data = null) $this->setIfExists('test_mode', $data ?? [], false); $this->setIfExists('use_preexisting_fields', $data ?? [], false); $this->setIfExists('use_text_tags', $data ?? [], false); + $this->setIfExists('ignore_text_tags_extraction_errors', $data ?? [], false); $this->setIfExists('expires_at', $data ?? [], null); } @@ -1136,6 +1143,33 @@ public function setUseTextTags(?bool $use_text_tags) return $this; } + /** + * Gets ignore_text_tags_extraction_errors + * + * @return bool|null + */ + public function getIgnoreTextTagsExtractionErrors() + { + return $this->container['ignore_text_tags_extraction_errors']; + } + + /** + * Sets ignore_text_tags_extraction_errors + * + * @param bool|null $ignore_text_tags_extraction_errors Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. + * + * @return self + */ + public function setIgnoreTextTagsExtractionErrors(?bool $ignore_text_tags_extraction_errors) + { + if (is_null($ignore_text_tags_extraction_errors)) { + throw new InvalidArgumentException('non-nullable ignore_text_tags_extraction_errors cannot be null'); + } + $this->container['ignore_text_tags_extraction_errors'] = $ignore_text_tags_extraction_errors; + + return $this; + } + /** * Gets expires_at *