diff --git a/README.md b/README.md index 532c58d..0245666 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ Python 3.8+ Install using `pip`: ```shell -python3 -m pip install dropbox-sign==1.11.0 +python3 -m pip install dropbox-sign==1.12.0 ``` Alternatively: @@ -400,6 +400,6 @@ apisupport@hellosign.com This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 3.0.0 -- Package version: 1.11.0 +- Package version: 1.12.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen diff --git a/VERSION b/VERSION index 1cac385..0eed1a2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.11.0 +1.12.0 diff --git a/docs/SignatureRequestApi.md b/docs/SignatureRequestApi.md index 0397351..79db31d 100644 --- a/docs/SignatureRequestApi.md +++ b/docs/SignatureRequestApi.md @@ -676,12 +676,14 @@ with ApiClient(configuration) as api_client: files=[ open("./example_signature_request.pdf", "rb").read(), ], - metadata=json.loads(""" + metadata=json.loads( + """ { "custom_id": 1234, "custom_text": "NDA #9" } - """), + """ + ), field_options=field_options, signing_options=signing_options, signers=signers, @@ -1705,12 +1707,14 @@ with ApiClient(configuration) as api_client: files=[ open("./example_signature_request.pdf", "rb").read(), ], - metadata=json.loads(""" + metadata=json.loads( + """ { "custom_id": 1234, "custom_text": "NDA #9" } - """), + """ + ), field_options=field_options, signing_options=signing_options, signers=signers, diff --git a/docs/SignatureRequestCreateEmbeddedRequest.md b/docs/SignatureRequestCreateEmbeddedRequest.md index 9f2fe05..7379968 100644 --- a/docs/SignatureRequestCreateEmbeddedRequest.md +++ b/docs/SignatureRequestCreateEmbeddedRequest.md @@ -27,6 +27,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` | ```str``` | 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/SignatureRequestEditEmbeddedRequest.md b/docs/SignatureRequestEditEmbeddedRequest.md index 5165d1d..ce03182 100644 --- a/docs/SignatureRequestEditEmbeddedRequest.md +++ b/docs/SignatureRequestEditEmbeddedRequest.md @@ -27,6 +27,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` | ```str``` | 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/SignatureRequestEditRequest.md b/docs/SignatureRequestEditRequest.md index a6731f7..5965a58 100644 --- a/docs/SignatureRequestEditRequest.md +++ b/docs/SignatureRequestEditRequest.md @@ -29,6 +29,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` | ```str``` | 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#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/SignatureRequestSendRequest.md b/docs/SignatureRequestSendRequest.md index 20db17a..26f3ba4 100644 --- a/docs/SignatureRequestSendRequest.md +++ b/docs/SignatureRequestSendRequest.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` | ```str``` | 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#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/TemplateCreateEmbeddedDraftRequest.md b/docs/TemplateCreateEmbeddedDraftRequest.md index c63d971..69969e7 100644 --- a/docs/TemplateCreateEmbeddedDraftRequest.md +++ b/docs/TemplateCreateEmbeddedDraftRequest.md @@ -30,6 +30,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] | | `title` | ```str``` | 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#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/TemplateCreateRequest.md b/docs/TemplateCreateRequest.md index a5341c3..dc99d24 100644 --- a/docs/TemplateCreateRequest.md +++ b/docs/TemplateCreateRequest.md @@ -23,6 +23,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] | | `title` | ```str``` | 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#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UnclaimedDraftCreateEmbeddedRequest.md b/docs/UnclaimedDraftCreateEmbeddedRequest.md index 49704d2..f5a8d88 100644 --- a/docs/UnclaimedDraftCreateEmbeddedRequest.md +++ b/docs/UnclaimedDraftCreateEmbeddedRequest.md @@ -39,6 +39,7 @@ Name | Type | Description | Notes | `type` | ```str``` | 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/UnclaimedDraftCreateRequest.md b/docs/UnclaimedDraftCreateRequest.md index 2d84e6e..b30c170 100644 --- a/docs/UnclaimedDraftCreateRequest.md +++ b/docs/UnclaimedDraftCreateRequest.md @@ -28,6 +28,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#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/dropbox_sign/__init__.py b/dropbox_sign/__init__.py index 8dbc90b..5c116de 100644 --- a/dropbox_sign/__init__.py +++ b/dropbox_sign/__init__.py @@ -14,7 +14,8 @@ Do not edit the class manually. """ # noqa: E501 -__version__ = "1.11.0" + +__version__ = "1.12.0" # import apis into sdk package from dropbox_sign.apis import * diff --git a/dropbox_sign/api_client.py b/dropbox_sign/api_client.py index e192e4b..bc8efc9 100644 --- a/dropbox_sign/api_client.py +++ b/dropbox_sign/api_client.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + import datetime from dateutil.parser import parse from enum import Enum @@ -88,7 +89,7 @@ def __init__( self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = "OpenAPI-Generator/1.11.0/python" + self.user_agent = "OpenAPI-Generator/1.12.0/python" self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/dropbox_sign/configuration.py b/dropbox_sign/configuration.py index 700b2d4..b757859 100644 --- a/dropbox_sign/configuration.py +++ b/dropbox_sign/configuration.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + import copy import http.client as httplib import logging @@ -23,6 +24,7 @@ import urllib3 + JSON_SCHEMA_VALIDATION_KEYWORDS = { "multipleOf", "maximum", @@ -544,7 +546,7 @@ def to_debug_report(self) -> str: "OS: {env}\n" "Python Version: {pyversion}\n" "Version of the API: 3.0.0\n" - "SDK Package Version: 1.11.0".format( + "SDK Package Version: 1.12.0".format( env=sys.platform, pyversion=sys.version ) ) diff --git a/dropbox_sign/models/__init__.py b/dropbox_sign/models/__init__.py index bb54e90..2fd3342 100644 --- a/dropbox_sign/models/__init__.py +++ b/dropbox_sign/models/__init__.py @@ -13,6 +13,7 @@ Do not edit the class manually. """ # noqa: E501 + # import models into model package from dropbox_sign.models.account_create_request import AccountCreateRequest from dropbox_sign.models.account_create_response import AccountCreateResponse diff --git a/dropbox_sign/models/account_create_request.py b/dropbox_sign/models/account_create_request.py index c460b55..06eb224 100644 --- a/dropbox_sign/models/account_create_request.py +++ b/dropbox_sign/models/account_create_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/account_create_response.py b/dropbox_sign/models/account_create_response.py index f1a8dc6..3bcabfd 100644 --- a/dropbox_sign/models/account_create_response.py +++ b/dropbox_sign/models/account_create_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/account_get_response.py b/dropbox_sign/models/account_get_response.py index 4ff2857..9a12adb 100644 --- a/dropbox_sign/models/account_get_response.py +++ b/dropbox_sign/models/account_get_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/account_response.py b/dropbox_sign/models/account_response.py index 94f3216..9f8beb4 100644 --- a/dropbox_sign/models/account_response.py +++ b/dropbox_sign/models/account_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/account_response_quotas.py b/dropbox_sign/models/account_response_quotas.py index 995d323..d2b2ffb 100644 --- a/dropbox_sign/models/account_response_quotas.py +++ b/dropbox_sign/models/account_response_quotas.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/account_response_settings.py b/dropbox_sign/models/account_response_settings.py index b35cdc6..18fbe98 100644 --- a/dropbox_sign/models/account_response_settings.py +++ b/dropbox_sign/models/account_response_settings.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/account_response_usage.py b/dropbox_sign/models/account_response_usage.py index abf963f..6fc7593 100644 --- a/dropbox_sign/models/account_response_usage.py +++ b/dropbox_sign/models/account_response_usage.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/account_update_request.py b/dropbox_sign/models/account_update_request.py index a502292..a0cafd7 100644 --- a/dropbox_sign/models/account_update_request.py +++ b/dropbox_sign/models/account_update_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/account_verify_request.py b/dropbox_sign/models/account_verify_request.py index 794ceb8..39804b0 100644 --- a/dropbox_sign/models/account_verify_request.py +++ b/dropbox_sign/models/account_verify_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/account_verify_response.py b/dropbox_sign/models/account_verify_response.py index bf8198c..3b0ee8d 100644 --- a/dropbox_sign/models/account_verify_response.py +++ b/dropbox_sign/models/account_verify_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/account_verify_response_account.py b/dropbox_sign/models/account_verify_response_account.py index ccd1d40..98f5fb3 100644 --- a/dropbox_sign/models/account_verify_response_account.py +++ b/dropbox_sign/models/account_verify_response_account.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/api_app_create_request.py b/dropbox_sign/models/api_app_create_request.py index cec5bfa..788c74a 100644 --- a/dropbox_sign/models/api_app_create_request.py +++ b/dropbox_sign/models/api_app_create_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/api_app_get_response.py b/dropbox_sign/models/api_app_get_response.py index 2933696..4337be1 100644 --- a/dropbox_sign/models/api_app_get_response.py +++ b/dropbox_sign/models/api_app_get_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/api_app_list_response.py b/dropbox_sign/models/api_app_list_response.py index 6d9b8af..98a950e 100644 --- a/dropbox_sign/models/api_app_list_response.py +++ b/dropbox_sign/models/api_app_list_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/api_app_response.py b/dropbox_sign/models/api_app_response.py index cdca9dc..ad4e872 100644 --- a/dropbox_sign/models/api_app_response.py +++ b/dropbox_sign/models/api_app_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/api_app_response_o_auth.py b/dropbox_sign/models/api_app_response_o_auth.py index 388f840..b078c1a 100644 --- a/dropbox_sign/models/api_app_response_o_auth.py +++ b/dropbox_sign/models/api_app_response_o_auth.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/api_app_response_options.py b/dropbox_sign/models/api_app_response_options.py index 80315b9..ec34ed9 100644 --- a/dropbox_sign/models/api_app_response_options.py +++ b/dropbox_sign/models/api_app_response_options.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/api_app_response_owner_account.py b/dropbox_sign/models/api_app_response_owner_account.py index 95ca832..d579948 100644 --- a/dropbox_sign/models/api_app_response_owner_account.py +++ b/dropbox_sign/models/api_app_response_owner_account.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/api_app_response_white_labeling_options.py b/dropbox_sign/models/api_app_response_white_labeling_options.py index a131766..b574721 100644 --- a/dropbox_sign/models/api_app_response_white_labeling_options.py +++ b/dropbox_sign/models/api_app_response_white_labeling_options.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/api_app_update_request.py b/dropbox_sign/models/api_app_update_request.py index 393954c..7370a7e 100644 --- a/dropbox_sign/models/api_app_update_request.py +++ b/dropbox_sign/models/api_app_update_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/bulk_send_job_get_response.py b/dropbox_sign/models/bulk_send_job_get_response.py index 94b90cf..9461ccf 100644 --- a/dropbox_sign/models/bulk_send_job_get_response.py +++ b/dropbox_sign/models/bulk_send_job_get_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/bulk_send_job_get_response_signature_requests.py b/dropbox_sign/models/bulk_send_job_get_response_signature_requests.py index ded8504..704089b 100644 --- a/dropbox_sign/models/bulk_send_job_get_response_signature_requests.py +++ b/dropbox_sign/models/bulk_send_job_get_response_signature_requests.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/bulk_send_job_list_response.py b/dropbox_sign/models/bulk_send_job_list_response.py index 83c4551..8f97918 100644 --- a/dropbox_sign/models/bulk_send_job_list_response.py +++ b/dropbox_sign/models/bulk_send_job_list_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/bulk_send_job_response.py b/dropbox_sign/models/bulk_send_job_response.py index fb95404..8d6eeee 100644 --- a/dropbox_sign/models/bulk_send_job_response.py +++ b/dropbox_sign/models/bulk_send_job_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/bulk_send_job_send_response.py b/dropbox_sign/models/bulk_send_job_send_response.py index 288b87c..a2eca97 100644 --- a/dropbox_sign/models/bulk_send_job_send_response.py +++ b/dropbox_sign/models/bulk_send_job_send_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/embedded_edit_url_request.py b/dropbox_sign/models/embedded_edit_url_request.py index 104164c..849ebf4 100644 --- a/dropbox_sign/models/embedded_edit_url_request.py +++ b/dropbox_sign/models/embedded_edit_url_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/embedded_edit_url_response.py b/dropbox_sign/models/embedded_edit_url_response.py index cf59086..653ca7c 100644 --- a/dropbox_sign/models/embedded_edit_url_response.py +++ b/dropbox_sign/models/embedded_edit_url_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/embedded_edit_url_response_embedded.py b/dropbox_sign/models/embedded_edit_url_response_embedded.py index 64c804d..67413cb 100644 --- a/dropbox_sign/models/embedded_edit_url_response_embedded.py +++ b/dropbox_sign/models/embedded_edit_url_response_embedded.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/embedded_sign_url_response.py b/dropbox_sign/models/embedded_sign_url_response.py index cd89bea..f0e03a1 100644 --- a/dropbox_sign/models/embedded_sign_url_response.py +++ b/dropbox_sign/models/embedded_sign_url_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/embedded_sign_url_response_embedded.py b/dropbox_sign/models/embedded_sign_url_response_embedded.py index fb2f95a..dc71457 100644 --- a/dropbox_sign/models/embedded_sign_url_response_embedded.py +++ b/dropbox_sign/models/embedded_sign_url_response_embedded.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/error_response.py b/dropbox_sign/models/error_response.py index d710384..98c6e5a 100644 --- a/dropbox_sign/models/error_response.py +++ b/dropbox_sign/models/error_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/error_response_error.py b/dropbox_sign/models/error_response_error.py index 4f17bb6..6991a0a 100644 --- a/dropbox_sign/models/error_response_error.py +++ b/dropbox_sign/models/error_response_error.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/event_callback_request.py b/dropbox_sign/models/event_callback_request.py index a5cad66..f8ac847 100644 --- a/dropbox_sign/models/event_callback_request.py +++ b/dropbox_sign/models/event_callback_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/event_callback_request_event.py b/dropbox_sign/models/event_callback_request_event.py index 67def10..7f263da 100644 --- a/dropbox_sign/models/event_callback_request_event.py +++ b/dropbox_sign/models/event_callback_request_event.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/event_callback_request_event_metadata.py b/dropbox_sign/models/event_callback_request_event_metadata.py index 3990376..fee5309 100644 --- a/dropbox_sign/models/event_callback_request_event_metadata.py +++ b/dropbox_sign/models/event_callback_request_event_metadata.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/fax_get_response.py b/dropbox_sign/models/fax_get_response.py index 0c139a6..25bf9d2 100644 --- a/dropbox_sign/models/fax_get_response.py +++ b/dropbox_sign/models/fax_get_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/fax_line_add_user_request.py b/dropbox_sign/models/fax_line_add_user_request.py index 4951c87..7a7a92b 100644 --- a/dropbox_sign/models/fax_line_add_user_request.py +++ b/dropbox_sign/models/fax_line_add_user_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/fax_line_area_code_get_country_enum.py b/dropbox_sign/models/fax_line_area_code_get_country_enum.py index 6249d14..94df885 100644 --- a/dropbox_sign/models/fax_line_area_code_get_country_enum.py +++ b/dropbox_sign/models/fax_line_area_code_get_country_enum.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import json from enum import Enum diff --git a/dropbox_sign/models/fax_line_area_code_get_province_enum.py b/dropbox_sign/models/fax_line_area_code_get_province_enum.py index e111091..e7994f3 100644 --- a/dropbox_sign/models/fax_line_area_code_get_province_enum.py +++ b/dropbox_sign/models/fax_line_area_code_get_province_enum.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import json from enum import Enum diff --git a/dropbox_sign/models/fax_line_area_code_get_response.py b/dropbox_sign/models/fax_line_area_code_get_response.py index 55bbd57..4d41c9b 100644 --- a/dropbox_sign/models/fax_line_area_code_get_response.py +++ b/dropbox_sign/models/fax_line_area_code_get_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/fax_line_area_code_get_state_enum.py b/dropbox_sign/models/fax_line_area_code_get_state_enum.py index 5f30280..8cfe5ad 100644 --- a/dropbox_sign/models/fax_line_area_code_get_state_enum.py +++ b/dropbox_sign/models/fax_line_area_code_get_state_enum.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import json from enum import Enum diff --git a/dropbox_sign/models/fax_line_create_request.py b/dropbox_sign/models/fax_line_create_request.py index 722ecd0..7a8d88c 100644 --- a/dropbox_sign/models/fax_line_create_request.py +++ b/dropbox_sign/models/fax_line_create_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/fax_line_delete_request.py b/dropbox_sign/models/fax_line_delete_request.py index 2ba409b..9e96609 100644 --- a/dropbox_sign/models/fax_line_delete_request.py +++ b/dropbox_sign/models/fax_line_delete_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/fax_line_list_response.py b/dropbox_sign/models/fax_line_list_response.py index 354b03d..07581a3 100644 --- a/dropbox_sign/models/fax_line_list_response.py +++ b/dropbox_sign/models/fax_line_list_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/fax_line_remove_user_request.py b/dropbox_sign/models/fax_line_remove_user_request.py index 08e9cb5..6021a0c 100644 --- a/dropbox_sign/models/fax_line_remove_user_request.py +++ b/dropbox_sign/models/fax_line_remove_user_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/fax_line_response.py b/dropbox_sign/models/fax_line_response.py index d85e0c2..bb733f4 100644 --- a/dropbox_sign/models/fax_line_response.py +++ b/dropbox_sign/models/fax_line_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/fax_line_response_fax_line.py b/dropbox_sign/models/fax_line_response_fax_line.py index d55a0cd..8a0676c 100644 --- a/dropbox_sign/models/fax_line_response_fax_line.py +++ b/dropbox_sign/models/fax_line_response_fax_line.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/fax_list_response.py b/dropbox_sign/models/fax_list_response.py index 4afc53b..99140e3 100644 --- a/dropbox_sign/models/fax_list_response.py +++ b/dropbox_sign/models/fax_list_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/fax_response.py b/dropbox_sign/models/fax_response.py index 9f33611..1648df8 100644 --- a/dropbox_sign/models/fax_response.py +++ b/dropbox_sign/models/fax_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/fax_response_transmission.py b/dropbox_sign/models/fax_response_transmission.py index 3d54f4e..66c613d 100644 --- a/dropbox_sign/models/fax_response_transmission.py +++ b/dropbox_sign/models/fax_response_transmission.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/fax_send_request.py b/dropbox_sign/models/fax_send_request.py index 71bdb7b..c4f0af8 100644 --- a/dropbox_sign/models/fax_send_request.py +++ b/dropbox_sign/models/fax_send_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/file_response.py b/dropbox_sign/models/file_response.py index 6e70e78..434a4f1 100644 --- a/dropbox_sign/models/file_response.py +++ b/dropbox_sign/models/file_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/file_response_data_uri.py b/dropbox_sign/models/file_response_data_uri.py index 2a535f7..da1384d 100644 --- a/dropbox_sign/models/file_response_data_uri.py +++ b/dropbox_sign/models/file_response_data_uri.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/list_info_response.py b/dropbox_sign/models/list_info_response.py index 23583a0..cdca4fa 100644 --- a/dropbox_sign/models/list_info_response.py +++ b/dropbox_sign/models/list_info_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/o_auth_token_generate_request.py b/dropbox_sign/models/o_auth_token_generate_request.py index 915adcd..06359f4 100644 --- a/dropbox_sign/models/o_auth_token_generate_request.py +++ b/dropbox_sign/models/o_auth_token_generate_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/o_auth_token_refresh_request.py b/dropbox_sign/models/o_auth_token_refresh_request.py index bd2b11e..7a1aa9a 100644 --- a/dropbox_sign/models/o_auth_token_refresh_request.py +++ b/dropbox_sign/models/o_auth_token_refresh_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/o_auth_token_response.py b/dropbox_sign/models/o_auth_token_response.py index b56f36a..4b91161 100644 --- a/dropbox_sign/models/o_auth_token_response.py +++ b/dropbox_sign/models/o_auth_token_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/report_create_request.py b/dropbox_sign/models/report_create_request.py index 3d94d8f..ec6afec 100644 --- a/dropbox_sign/models/report_create_request.py +++ b/dropbox_sign/models/report_create_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/report_create_response.py b/dropbox_sign/models/report_create_response.py index fb309c1..3d781b9 100644 --- a/dropbox_sign/models/report_create_response.py +++ b/dropbox_sign/models/report_create_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/report_response.py b/dropbox_sign/models/report_response.py index 40ca150..b3ed31e 100644 --- a/dropbox_sign/models/report_response.py +++ b/dropbox_sign/models/report_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/signature_request_bulk_create_embedded_with_template_request.py b/dropbox_sign/models/signature_request_bulk_create_embedded_with_template_request.py index eb69f33..54fd997 100644 --- a/dropbox_sign/models/signature_request_bulk_create_embedded_with_template_request.py +++ b/dropbox_sign/models/signature_request_bulk_create_embedded_with_template_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/signature_request_bulk_send_with_template_request.py b/dropbox_sign/models/signature_request_bulk_send_with_template_request.py index c52618e..54cb980 100644 --- a/dropbox_sign/models/signature_request_bulk_send_with_template_request.py +++ b/dropbox_sign/models/signature_request_bulk_send_with_template_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/signature_request_create_embedded_request.py b/dropbox_sign/models/signature_request_create_embedded_request.py index 2d855ef..68c784e 100644 --- a/dropbox_sign/models/signature_request_create_embedded_request.py +++ b/dropbox_sign/models/signature_request_create_embedded_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 @@ -134,6 +135,10 @@ class SignatureRequestCreateEmbeddedRequest(BaseModel): default=False, 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`.", ) + ignore_text_tags_extraction_errors: Optional[StrictBool] = Field( + default=False, + description="Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`.", + ) populate_auto_fill_fields: Optional[StrictBool] = Field( default=False, 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. **NOTE:** Keep your signer's information safe by ensuring that the _signer on your signature request is the intended party_ before using this feature.", @@ -165,6 +170,7 @@ class SignatureRequestCreateEmbeddedRequest(BaseModel): "test_mode", "title", "use_text_tags", + "ignore_text_tags_extraction_errors", "populate_auto_fill_fields", "expires_at", ] @@ -378,6 +384,11 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: if obj.get("use_text_tags") is not None else False ), + "ignore_text_tags_extraction_errors": ( + obj.get("ignore_text_tags_extraction_errors") + if obj.get("ignore_text_tags_extraction_errors") is not None + else False + ), "populate_auto_fill_fields": ( obj.get("populate_auto_fill_fields") if obj.get("populate_auto_fill_fields") is not None @@ -423,6 +434,7 @@ def openapi_types(cls) -> Dict[str, str]: "test_mode": "(bool,)", "title": "(str,)", "use_text_tags": "(bool,)", + "ignore_text_tags_extraction_errors": "(bool,)", "populate_auto_fill_fields": "(bool,)", "expires_at": "(int,)", } diff --git a/dropbox_sign/models/signature_request_create_embedded_with_template_request.py b/dropbox_sign/models/signature_request_create_embedded_with_template_request.py index cb4362e..07c2d0c 100644 --- a/dropbox_sign/models/signature_request_create_embedded_with_template_request.py +++ b/dropbox_sign/models/signature_request_create_embedded_with_template_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/signature_request_edit_embedded_request.py b/dropbox_sign/models/signature_request_edit_embedded_request.py index b5579db..4ea9149 100644 --- a/dropbox_sign/models/signature_request_edit_embedded_request.py +++ b/dropbox_sign/models/signature_request_edit_embedded_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 @@ -134,6 +135,10 @@ class SignatureRequestEditEmbeddedRequest(BaseModel): default=False, 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`.", ) + ignore_text_tags_extraction_errors: Optional[StrictBool] = Field( + default=False, + description="Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`.", + ) populate_auto_fill_fields: Optional[StrictBool] = Field( default=False, 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. **NOTE:** Keep your signer's information safe by ensuring that the _signer on your signature request is the intended party_ before using this feature.", @@ -165,6 +170,7 @@ class SignatureRequestEditEmbeddedRequest(BaseModel): "test_mode", "title", "use_text_tags", + "ignore_text_tags_extraction_errors", "populate_auto_fill_fields", "expires_at", ] @@ -378,6 +384,11 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: if obj.get("use_text_tags") is not None else False ), + "ignore_text_tags_extraction_errors": ( + obj.get("ignore_text_tags_extraction_errors") + if obj.get("ignore_text_tags_extraction_errors") is not None + else False + ), "populate_auto_fill_fields": ( obj.get("populate_auto_fill_fields") if obj.get("populate_auto_fill_fields") is not None @@ -423,6 +434,7 @@ def openapi_types(cls) -> Dict[str, str]: "test_mode": "(bool,)", "title": "(str,)", "use_text_tags": "(bool,)", + "ignore_text_tags_extraction_errors": "(bool,)", "populate_auto_fill_fields": "(bool,)", "expires_at": "(int,)", } diff --git a/dropbox_sign/models/signature_request_edit_embedded_with_template_request.py b/dropbox_sign/models/signature_request_edit_embedded_with_template_request.py index 1c04809..0061169 100644 --- a/dropbox_sign/models/signature_request_edit_embedded_with_template_request.py +++ b/dropbox_sign/models/signature_request_edit_embedded_with_template_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/signature_request_edit_request.py b/dropbox_sign/models/signature_request_edit_request.py index 3f622f8..181af59 100644 --- a/dropbox_sign/models/signature_request_edit_request.py +++ b/dropbox_sign/models/signature_request_edit_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 @@ -143,6 +144,10 @@ class SignatureRequestEditRequest(BaseModel): default=False, 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`.", ) + ignore_text_tags_extraction_errors: Optional[StrictBool] = Field( + default=False, + description="Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`.", + ) expires_at: Optional[StrictInt] = Field( default=None, 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.", @@ -172,6 +177,7 @@ class SignatureRequestEditRequest(BaseModel): "test_mode", "title", "use_text_tags", + "ignore_text_tags_extraction_errors", "expires_at", ] @@ -386,6 +392,11 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: if obj.get("use_text_tags") is not None else False ), + "ignore_text_tags_extraction_errors": ( + obj.get("ignore_text_tags_extraction_errors") + if obj.get("ignore_text_tags_extraction_errors") is not None + else False + ), "expires_at": obj.get("expires_at"), } ) @@ -428,6 +439,7 @@ def openapi_types(cls) -> Dict[str, str]: "test_mode": "(bool,)", "title": "(str,)", "use_text_tags": "(bool,)", + "ignore_text_tags_extraction_errors": "(bool,)", "expires_at": "(int,)", } diff --git a/dropbox_sign/models/signature_request_edit_with_template_request.py b/dropbox_sign/models/signature_request_edit_with_template_request.py index b7215ec..1c5bf5a 100644 --- a/dropbox_sign/models/signature_request_edit_with_template_request.py +++ b/dropbox_sign/models/signature_request_edit_with_template_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/signature_request_get_response.py b/dropbox_sign/models/signature_request_get_response.py index 10d2b12..546c12c 100644 --- a/dropbox_sign/models/signature_request_get_response.py +++ b/dropbox_sign/models/signature_request_get_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/signature_request_list_response.py b/dropbox_sign/models/signature_request_list_response.py index 4c46fbe..2df4cbf 100644 --- a/dropbox_sign/models/signature_request_list_response.py +++ b/dropbox_sign/models/signature_request_list_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/signature_request_remind_request.py b/dropbox_sign/models/signature_request_remind_request.py index 3454e86..df37e04 100644 --- a/dropbox_sign/models/signature_request_remind_request.py +++ b/dropbox_sign/models/signature_request_remind_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/signature_request_response.py b/dropbox_sign/models/signature_request_response.py index 4be2db4..7720256 100644 --- a/dropbox_sign/models/signature_request_response.py +++ b/dropbox_sign/models/signature_request_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/signature_request_response_attachment.py b/dropbox_sign/models/signature_request_response_attachment.py index 10bb333..30af758 100644 --- a/dropbox_sign/models/signature_request_response_attachment.py +++ b/dropbox_sign/models/signature_request_response_attachment.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/signature_request_response_custom_field_base.py b/dropbox_sign/models/signature_request_response_custom_field_base.py index a9ab8dd..61ecdd6 100644 --- a/dropbox_sign/models/signature_request_response_custom_field_base.py +++ b/dropbox_sign/models/signature_request_response_custom_field_base.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/signature_request_response_custom_field_checkbox.py b/dropbox_sign/models/signature_request_response_custom_field_checkbox.py index e10fe7e..de55b64 100644 --- a/dropbox_sign/models/signature_request_response_custom_field_checkbox.py +++ b/dropbox_sign/models/signature_request_response_custom_field_checkbox.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/signature_request_response_custom_field_text.py b/dropbox_sign/models/signature_request_response_custom_field_text.py index 8f9e4eb..48fa24f 100644 --- a/dropbox_sign/models/signature_request_response_custom_field_text.py +++ b/dropbox_sign/models/signature_request_response_custom_field_text.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/signature_request_response_custom_field_type_enum.py b/dropbox_sign/models/signature_request_response_custom_field_type_enum.py index a8e880e..8f715ae 100644 --- a/dropbox_sign/models/signature_request_response_custom_field_type_enum.py +++ b/dropbox_sign/models/signature_request_response_custom_field_type_enum.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import json from enum import Enum diff --git a/dropbox_sign/models/signature_request_response_data_base.py b/dropbox_sign/models/signature_request_response_data_base.py index 9353ca3..374d2cc 100644 --- a/dropbox_sign/models/signature_request_response_data_base.py +++ b/dropbox_sign/models/signature_request_response_data_base.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/signature_request_response_data_type_enum.py b/dropbox_sign/models/signature_request_response_data_type_enum.py index eaae18c..8c4d01d 100644 --- a/dropbox_sign/models/signature_request_response_data_type_enum.py +++ b/dropbox_sign/models/signature_request_response_data_type_enum.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import json from enum import Enum diff --git a/dropbox_sign/models/signature_request_response_data_value_checkbox.py b/dropbox_sign/models/signature_request_response_data_value_checkbox.py index 8d3604e..4e25833 100644 --- a/dropbox_sign/models/signature_request_response_data_value_checkbox.py +++ b/dropbox_sign/models/signature_request_response_data_value_checkbox.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/signature_request_response_data_value_checkbox_merge.py b/dropbox_sign/models/signature_request_response_data_value_checkbox_merge.py index ba5fd38..0a25a7c 100644 --- a/dropbox_sign/models/signature_request_response_data_value_checkbox_merge.py +++ b/dropbox_sign/models/signature_request_response_data_value_checkbox_merge.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/signature_request_response_data_value_date_signed.py b/dropbox_sign/models/signature_request_response_data_value_date_signed.py index 4644f1b..ac09c26 100644 --- a/dropbox_sign/models/signature_request_response_data_value_date_signed.py +++ b/dropbox_sign/models/signature_request_response_data_value_date_signed.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/signature_request_response_data_value_dropdown.py b/dropbox_sign/models/signature_request_response_data_value_dropdown.py index f4423cb..9eb7352 100644 --- a/dropbox_sign/models/signature_request_response_data_value_dropdown.py +++ b/dropbox_sign/models/signature_request_response_data_value_dropdown.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/signature_request_response_data_value_initials.py b/dropbox_sign/models/signature_request_response_data_value_initials.py index d470cd7..9a5f190 100644 --- a/dropbox_sign/models/signature_request_response_data_value_initials.py +++ b/dropbox_sign/models/signature_request_response_data_value_initials.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/signature_request_response_data_value_radio.py b/dropbox_sign/models/signature_request_response_data_value_radio.py index db6f2bd..38b3cc0 100644 --- a/dropbox_sign/models/signature_request_response_data_value_radio.py +++ b/dropbox_sign/models/signature_request_response_data_value_radio.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/signature_request_response_data_value_signature.py b/dropbox_sign/models/signature_request_response_data_value_signature.py index af7eade..a928d10 100644 --- a/dropbox_sign/models/signature_request_response_data_value_signature.py +++ b/dropbox_sign/models/signature_request_response_data_value_signature.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/signature_request_response_data_value_text.py b/dropbox_sign/models/signature_request_response_data_value_text.py index 8c9ad56..7b5b782 100644 --- a/dropbox_sign/models/signature_request_response_data_value_text.py +++ b/dropbox_sign/models/signature_request_response_data_value_text.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/signature_request_response_data_value_text_merge.py b/dropbox_sign/models/signature_request_response_data_value_text_merge.py index 176c4b0..13b9591 100644 --- a/dropbox_sign/models/signature_request_response_data_value_text_merge.py +++ b/dropbox_sign/models/signature_request_response_data_value_text_merge.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/signature_request_response_signatures.py b/dropbox_sign/models/signature_request_response_signatures.py index ae4f2d9..9b36e81 100644 --- a/dropbox_sign/models/signature_request_response_signatures.py +++ b/dropbox_sign/models/signature_request_response_signatures.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/signature_request_send_request.py b/dropbox_sign/models/signature_request_send_request.py index 4d78103..8e61eb9 100644 --- a/dropbox_sign/models/signature_request_send_request.py +++ b/dropbox_sign/models/signature_request_send_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 @@ -147,6 +148,10 @@ class SignatureRequestSendRequest(BaseModel): default=False, 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`.", ) + ignore_text_tags_extraction_errors: Optional[StrictBool] = Field( + default=False, + description="Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`.", + ) expires_at: Optional[StrictInt] = Field( default=None, 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.", @@ -177,6 +182,7 @@ class SignatureRequestSendRequest(BaseModel): "test_mode", "title", "use_text_tags", + "ignore_text_tags_extraction_errors", "expires_at", ] @@ -396,6 +402,11 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: if obj.get("use_text_tags") is not None else False ), + "ignore_text_tags_extraction_errors": ( + obj.get("ignore_text_tags_extraction_errors") + if obj.get("ignore_text_tags_extraction_errors") is not None + else False + ), "expires_at": obj.get("expires_at"), } ) @@ -439,6 +450,7 @@ def openapi_types(cls) -> Dict[str, str]: "test_mode": "(bool,)", "title": "(str,)", "use_text_tags": "(bool,)", + "ignore_text_tags_extraction_errors": "(bool,)", "expires_at": "(int,)", } diff --git a/dropbox_sign/models/signature_request_send_with_template_request.py b/dropbox_sign/models/signature_request_send_with_template_request.py index f4f4230..71cbf11 100644 --- a/dropbox_sign/models/signature_request_send_with_template_request.py +++ b/dropbox_sign/models/signature_request_send_with_template_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/signature_request_update_request.py b/dropbox_sign/models/signature_request_update_request.py index dcb2de5..a5ec1dd 100644 --- a/dropbox_sign/models/signature_request_update_request.py +++ b/dropbox_sign/models/signature_request_update_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/sub_attachment.py b/dropbox_sign/models/sub_attachment.py index b2203b2..82daeb1 100644 --- a/dropbox_sign/models/sub_attachment.py +++ b/dropbox_sign/models/sub_attachment.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/sub_bulk_signer_list.py b/dropbox_sign/models/sub_bulk_signer_list.py index e1eb782..899f577 100644 --- a/dropbox_sign/models/sub_bulk_signer_list.py +++ b/dropbox_sign/models/sub_bulk_signer_list.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/sub_bulk_signer_list_custom_field.py b/dropbox_sign/models/sub_bulk_signer_list_custom_field.py index 3964068..0efdff2 100644 --- a/dropbox_sign/models/sub_bulk_signer_list_custom_field.py +++ b/dropbox_sign/models/sub_bulk_signer_list_custom_field.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/sub_cc.py b/dropbox_sign/models/sub_cc.py index 02b6b98..fb14ef0 100644 --- a/dropbox_sign/models/sub_cc.py +++ b/dropbox_sign/models/sub_cc.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/sub_custom_field.py b/dropbox_sign/models/sub_custom_field.py index 952debc..ec74927 100644 --- a/dropbox_sign/models/sub_custom_field.py +++ b/dropbox_sign/models/sub_custom_field.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/sub_editor_options.py b/dropbox_sign/models/sub_editor_options.py index 230af54..8693cfa 100644 --- a/dropbox_sign/models/sub_editor_options.py +++ b/dropbox_sign/models/sub_editor_options.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/sub_field_options.py b/dropbox_sign/models/sub_field_options.py index 3a09fad..12336e6 100644 --- a/dropbox_sign/models/sub_field_options.py +++ b/dropbox_sign/models/sub_field_options.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/sub_form_field_group.py b/dropbox_sign/models/sub_form_field_group.py index 833b044..a892d21 100644 --- a/dropbox_sign/models/sub_form_field_group.py +++ b/dropbox_sign/models/sub_form_field_group.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/sub_form_field_rule.py b/dropbox_sign/models/sub_form_field_rule.py index f61f998..f09ac20 100644 --- a/dropbox_sign/models/sub_form_field_rule.py +++ b/dropbox_sign/models/sub_form_field_rule.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/sub_form_field_rule_action.py b/dropbox_sign/models/sub_form_field_rule_action.py index 0330099..59be433 100644 --- a/dropbox_sign/models/sub_form_field_rule_action.py +++ b/dropbox_sign/models/sub_form_field_rule_action.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/sub_form_field_rule_trigger.py b/dropbox_sign/models/sub_form_field_rule_trigger.py index a045125..ff6c5be 100644 --- a/dropbox_sign/models/sub_form_field_rule_trigger.py +++ b/dropbox_sign/models/sub_form_field_rule_trigger.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/sub_form_fields_per_document_base.py b/dropbox_sign/models/sub_form_fields_per_document_base.py index 95c0737..615f108 100644 --- a/dropbox_sign/models/sub_form_fields_per_document_base.py +++ b/dropbox_sign/models/sub_form_fields_per_document_base.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/sub_form_fields_per_document_checkbox.py b/dropbox_sign/models/sub_form_fields_per_document_checkbox.py index 4fe8308..9053898 100644 --- a/dropbox_sign/models/sub_form_fields_per_document_checkbox.py +++ b/dropbox_sign/models/sub_form_fields_per_document_checkbox.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/sub_form_fields_per_document_checkbox_merge.py b/dropbox_sign/models/sub_form_fields_per_document_checkbox_merge.py index 67d7aa4..aa94733 100644 --- a/dropbox_sign/models/sub_form_fields_per_document_checkbox_merge.py +++ b/dropbox_sign/models/sub_form_fields_per_document_checkbox_merge.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/sub_form_fields_per_document_date_signed.py b/dropbox_sign/models/sub_form_fields_per_document_date_signed.py index 5adeffd..583a3a8 100644 --- a/dropbox_sign/models/sub_form_fields_per_document_date_signed.py +++ b/dropbox_sign/models/sub_form_fields_per_document_date_signed.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/sub_form_fields_per_document_dropdown.py b/dropbox_sign/models/sub_form_fields_per_document_dropdown.py index b5b13e5..c668c35 100644 --- a/dropbox_sign/models/sub_form_fields_per_document_dropdown.py +++ b/dropbox_sign/models/sub_form_fields_per_document_dropdown.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/sub_form_fields_per_document_font_enum.py b/dropbox_sign/models/sub_form_fields_per_document_font_enum.py index c01ac7c..8865fdc 100644 --- a/dropbox_sign/models/sub_form_fields_per_document_font_enum.py +++ b/dropbox_sign/models/sub_form_fields_per_document_font_enum.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import json from enum import Enum diff --git a/dropbox_sign/models/sub_form_fields_per_document_hyperlink.py b/dropbox_sign/models/sub_form_fields_per_document_hyperlink.py index 887a098..650d766 100644 --- a/dropbox_sign/models/sub_form_fields_per_document_hyperlink.py +++ b/dropbox_sign/models/sub_form_fields_per_document_hyperlink.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/sub_form_fields_per_document_initials.py b/dropbox_sign/models/sub_form_fields_per_document_initials.py index faefc0b..3383d71 100644 --- a/dropbox_sign/models/sub_form_fields_per_document_initials.py +++ b/dropbox_sign/models/sub_form_fields_per_document_initials.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/sub_form_fields_per_document_radio.py b/dropbox_sign/models/sub_form_fields_per_document_radio.py index 20aca18..a91bd86 100644 --- a/dropbox_sign/models/sub_form_fields_per_document_radio.py +++ b/dropbox_sign/models/sub_form_fields_per_document_radio.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/sub_form_fields_per_document_signature.py b/dropbox_sign/models/sub_form_fields_per_document_signature.py index 60c40c7..11a056c 100644 --- a/dropbox_sign/models/sub_form_fields_per_document_signature.py +++ b/dropbox_sign/models/sub_form_fields_per_document_signature.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/sub_form_fields_per_document_text.py b/dropbox_sign/models/sub_form_fields_per_document_text.py index 0e41d42..c2e2c3a 100644 --- a/dropbox_sign/models/sub_form_fields_per_document_text.py +++ b/dropbox_sign/models/sub_form_fields_per_document_text.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/sub_form_fields_per_document_text_merge.py b/dropbox_sign/models/sub_form_fields_per_document_text_merge.py index 152b548..990c237 100644 --- a/dropbox_sign/models/sub_form_fields_per_document_text_merge.py +++ b/dropbox_sign/models/sub_form_fields_per_document_text_merge.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/sub_form_fields_per_document_type_enum.py b/dropbox_sign/models/sub_form_fields_per_document_type_enum.py index 005c16d..e1d61ca 100644 --- a/dropbox_sign/models/sub_form_fields_per_document_type_enum.py +++ b/dropbox_sign/models/sub_form_fields_per_document_type_enum.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import json from enum import Enum diff --git a/dropbox_sign/models/sub_merge_field.py b/dropbox_sign/models/sub_merge_field.py index 9ced5d5..e83058e 100644 --- a/dropbox_sign/models/sub_merge_field.py +++ b/dropbox_sign/models/sub_merge_field.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/sub_o_auth.py b/dropbox_sign/models/sub_o_auth.py index 6d10141..2c11784 100644 --- a/dropbox_sign/models/sub_o_auth.py +++ b/dropbox_sign/models/sub_o_auth.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/sub_options.py b/dropbox_sign/models/sub_options.py index 75a57ff..e7965f4 100644 --- a/dropbox_sign/models/sub_options.py +++ b/dropbox_sign/models/sub_options.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/sub_signature_request_grouped_signers.py b/dropbox_sign/models/sub_signature_request_grouped_signers.py index 9246b82..a14f315 100644 --- a/dropbox_sign/models/sub_signature_request_grouped_signers.py +++ b/dropbox_sign/models/sub_signature_request_grouped_signers.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/sub_signature_request_signer.py b/dropbox_sign/models/sub_signature_request_signer.py index 486d819..3337098 100644 --- a/dropbox_sign/models/sub_signature_request_signer.py +++ b/dropbox_sign/models/sub_signature_request_signer.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/sub_signature_request_template_signer.py b/dropbox_sign/models/sub_signature_request_template_signer.py index 1d41cd4..4d1e239 100644 --- a/dropbox_sign/models/sub_signature_request_template_signer.py +++ b/dropbox_sign/models/sub_signature_request_template_signer.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/sub_signing_options.py b/dropbox_sign/models/sub_signing_options.py index e1416ed..7d442ba 100644 --- a/dropbox_sign/models/sub_signing_options.py +++ b/dropbox_sign/models/sub_signing_options.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/sub_team_response.py b/dropbox_sign/models/sub_team_response.py index 7eb8822..5a3b7f7 100644 --- a/dropbox_sign/models/sub_team_response.py +++ b/dropbox_sign/models/sub_team_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/sub_template_role.py b/dropbox_sign/models/sub_template_role.py index 2024d5c..fd40763 100644 --- a/dropbox_sign/models/sub_template_role.py +++ b/dropbox_sign/models/sub_template_role.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/sub_unclaimed_draft_signer.py b/dropbox_sign/models/sub_unclaimed_draft_signer.py index aa13619..318fd80 100644 --- a/dropbox_sign/models/sub_unclaimed_draft_signer.py +++ b/dropbox_sign/models/sub_unclaimed_draft_signer.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/sub_unclaimed_draft_template_signer.py b/dropbox_sign/models/sub_unclaimed_draft_template_signer.py index 98ef0fa..a668e9f 100644 --- a/dropbox_sign/models/sub_unclaimed_draft_template_signer.py +++ b/dropbox_sign/models/sub_unclaimed_draft_template_signer.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/sub_white_labeling_options.py b/dropbox_sign/models/sub_white_labeling_options.py index 44acf44..9fe6f14 100644 --- a/dropbox_sign/models/sub_white_labeling_options.py +++ b/dropbox_sign/models/sub_white_labeling_options.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/team_add_member_request.py b/dropbox_sign/models/team_add_member_request.py index afa2232..9fa1fbc 100644 --- a/dropbox_sign/models/team_add_member_request.py +++ b/dropbox_sign/models/team_add_member_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/team_create_request.py b/dropbox_sign/models/team_create_request.py index 3cec269..94d38e6 100644 --- a/dropbox_sign/models/team_create_request.py +++ b/dropbox_sign/models/team_create_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/team_get_info_response.py b/dropbox_sign/models/team_get_info_response.py index 8a26bdb..e716e4d 100644 --- a/dropbox_sign/models/team_get_info_response.py +++ b/dropbox_sign/models/team_get_info_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/team_get_response.py b/dropbox_sign/models/team_get_response.py index 6740d48..3c137e3 100644 --- a/dropbox_sign/models/team_get_response.py +++ b/dropbox_sign/models/team_get_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/team_info_response.py b/dropbox_sign/models/team_info_response.py index 9002a81..b10d7cb 100644 --- a/dropbox_sign/models/team_info_response.py +++ b/dropbox_sign/models/team_info_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/team_invite_response.py b/dropbox_sign/models/team_invite_response.py index 88a4072..0f37720 100644 --- a/dropbox_sign/models/team_invite_response.py +++ b/dropbox_sign/models/team_invite_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/team_invites_response.py b/dropbox_sign/models/team_invites_response.py index 1a107ec..e6171e8 100644 --- a/dropbox_sign/models/team_invites_response.py +++ b/dropbox_sign/models/team_invites_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/team_member_response.py b/dropbox_sign/models/team_member_response.py index 0f6006e..d59fc5d 100644 --- a/dropbox_sign/models/team_member_response.py +++ b/dropbox_sign/models/team_member_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/team_members_response.py b/dropbox_sign/models/team_members_response.py index 0a55ac2..73ed1c4 100644 --- a/dropbox_sign/models/team_members_response.py +++ b/dropbox_sign/models/team_members_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/team_parent_response.py b/dropbox_sign/models/team_parent_response.py index 579f0ed..2478765 100644 --- a/dropbox_sign/models/team_parent_response.py +++ b/dropbox_sign/models/team_parent_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/team_remove_member_request.py b/dropbox_sign/models/team_remove_member_request.py index 52c3732..0df67ab 100644 --- a/dropbox_sign/models/team_remove_member_request.py +++ b/dropbox_sign/models/team_remove_member_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/team_response.py b/dropbox_sign/models/team_response.py index 3ea2e35..9f72e11 100644 --- a/dropbox_sign/models/team_response.py +++ b/dropbox_sign/models/team_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/team_sub_teams_response.py b/dropbox_sign/models/team_sub_teams_response.py index a705e74..15e0a30 100644 --- a/dropbox_sign/models/team_sub_teams_response.py +++ b/dropbox_sign/models/team_sub_teams_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/team_update_request.py b/dropbox_sign/models/team_update_request.py index 3603914..9c4b17e 100644 --- a/dropbox_sign/models/team_update_request.py +++ b/dropbox_sign/models/team_update_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_add_user_request.py b/dropbox_sign/models/template_add_user_request.py index 06d4887..2e44471 100644 --- a/dropbox_sign/models/template_add_user_request.py +++ b/dropbox_sign/models/template_add_user_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_create_embedded_draft_request.py b/dropbox_sign/models/template_create_embedded_draft_request.py index 2c4e521..cf20903 100644 --- a/dropbox_sign/models/template_create_embedded_draft_request.py +++ b/dropbox_sign/models/template_create_embedded_draft_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 @@ -134,6 +135,10 @@ class TemplateCreateEmbeddedDraftRequest(BaseModel): default=False, description="Enable the detection of predefined PDF fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`).", ) + ignore_text_tags_extraction_errors: Optional[StrictBool] = Field( + default=False, + description="Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`.", + ) __properties: ClassVar[List[str]] = [ "client_id", "files", @@ -160,6 +165,7 @@ class TemplateCreateEmbeddedDraftRequest(BaseModel): "test_mode", "title", "use_preexisting_fields", + "ignore_text_tags_extraction_errors", ] model_config = ConfigDict( @@ -371,6 +377,11 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: if obj.get("use_preexisting_fields") is not None else False ), + "ignore_text_tags_extraction_errors": ( + obj.get("ignore_text_tags_extraction_errors") + if obj.get("ignore_text_tags_extraction_errors") is not None + else False + ), } ) return _obj @@ -413,6 +424,7 @@ def openapi_types(cls) -> Dict[str, str]: "test_mode": "(bool,)", "title": "(str,)", "use_preexisting_fields": "(bool,)", + "ignore_text_tags_extraction_errors": "(bool,)", } @classmethod diff --git a/dropbox_sign/models/template_create_embedded_draft_response.py b/dropbox_sign/models/template_create_embedded_draft_response.py index 1bdaf8d..fb9a0eb 100644 --- a/dropbox_sign/models/template_create_embedded_draft_response.py +++ b/dropbox_sign/models/template_create_embedded_draft_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_create_embedded_draft_response_template.py b/dropbox_sign/models/template_create_embedded_draft_response_template.py index 01c86dd..3016dce 100644 --- a/dropbox_sign/models/template_create_embedded_draft_response_template.py +++ b/dropbox_sign/models/template_create_embedded_draft_response_template.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_create_request.py b/dropbox_sign/models/template_create_request.py index 8505936..447c5ab 100644 --- a/dropbox_sign/models/template_create_request.py +++ b/dropbox_sign/models/template_create_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 @@ -107,6 +108,10 @@ class TemplateCreateRequest(BaseModel): default=False, description="Enable the detection of predefined PDF fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`).", ) + ignore_text_tags_extraction_errors: Optional[StrictBool] = Field( + default=False, + description="Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`.", + ) __properties: ClassVar[List[str]] = [ "form_fields_per_document", "signer_roles", @@ -126,6 +131,7 @@ class TemplateCreateRequest(BaseModel): "test_mode", "title", "use_preexisting_fields", + "ignore_text_tags_extraction_errors", ] model_config = ConfigDict( @@ -301,6 +307,11 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: if obj.get("use_preexisting_fields") is not None else False ), + "ignore_text_tags_extraction_errors": ( + obj.get("ignore_text_tags_extraction_errors") + if obj.get("ignore_text_tags_extraction_errors") is not None + else False + ), } ) return _obj @@ -336,6 +347,7 @@ def openapi_types(cls) -> Dict[str, str]: "test_mode": "(bool,)", "title": "(str,)", "use_preexisting_fields": "(bool,)", + "ignore_text_tags_extraction_errors": "(bool,)", } @classmethod diff --git a/dropbox_sign/models/template_create_response.py b/dropbox_sign/models/template_create_response.py index 9654fb9..bc5f6c6 100644 --- a/dropbox_sign/models/template_create_response.py +++ b/dropbox_sign/models/template_create_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_create_response_template.py b/dropbox_sign/models/template_create_response_template.py index 64051f7..25d9bd7 100644 --- a/dropbox_sign/models/template_create_response_template.py +++ b/dropbox_sign/models/template_create_response_template.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_get_response.py b/dropbox_sign/models/template_get_response.py index 3f581a1..10d714c 100644 --- a/dropbox_sign/models/template_get_response.py +++ b/dropbox_sign/models/template_get_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_list_response.py b/dropbox_sign/models/template_list_response.py index c1b1036..5ccaba7 100644 --- a/dropbox_sign/models/template_list_response.py +++ b/dropbox_sign/models/template_list_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_remove_user_request.py b/dropbox_sign/models/template_remove_user_request.py index 27ac144..44ddbf4 100644 --- a/dropbox_sign/models/template_remove_user_request.py +++ b/dropbox_sign/models/template_remove_user_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_response.py b/dropbox_sign/models/template_response.py index 66d732e..667465f 100644 --- a/dropbox_sign/models/template_response.py +++ b/dropbox_sign/models/template_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_response_account.py b/dropbox_sign/models/template_response_account.py index 88c9766..d29db33 100644 --- a/dropbox_sign/models/template_response_account.py +++ b/dropbox_sign/models/template_response_account.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_response_account_quota.py b/dropbox_sign/models/template_response_account_quota.py index 89f54c8..e4fa366 100644 --- a/dropbox_sign/models/template_response_account_quota.py +++ b/dropbox_sign/models/template_response_account_quota.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_response_cc_role.py b/dropbox_sign/models/template_response_cc_role.py index 1f17d0c..89a3b4c 100644 --- a/dropbox_sign/models/template_response_cc_role.py +++ b/dropbox_sign/models/template_response_cc_role.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_response_document.py b/dropbox_sign/models/template_response_document.py index a717728..d2f0caf 100644 --- a/dropbox_sign/models/template_response_document.py +++ b/dropbox_sign/models/template_response_document.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_response_document_custom_field_base.py b/dropbox_sign/models/template_response_document_custom_field_base.py index 278b83a..6c6a35b 100644 --- a/dropbox_sign/models/template_response_document_custom_field_base.py +++ b/dropbox_sign/models/template_response_document_custom_field_base.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_response_document_custom_field_checkbox.py b/dropbox_sign/models/template_response_document_custom_field_checkbox.py index 60acd17..35e3915 100644 --- a/dropbox_sign/models/template_response_document_custom_field_checkbox.py +++ b/dropbox_sign/models/template_response_document_custom_field_checkbox.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_response_document_custom_field_text.py b/dropbox_sign/models/template_response_document_custom_field_text.py index 8d71ca6..09a85e2 100644 --- a/dropbox_sign/models/template_response_document_custom_field_text.py +++ b/dropbox_sign/models/template_response_document_custom_field_text.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_response_document_field_group.py b/dropbox_sign/models/template_response_document_field_group.py index b9774c2..8f3bc1a 100644 --- a/dropbox_sign/models/template_response_document_field_group.py +++ b/dropbox_sign/models/template_response_document_field_group.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_response_document_field_group_rule.py b/dropbox_sign/models/template_response_document_field_group_rule.py index df4e5b8..17d81cb 100644 --- a/dropbox_sign/models/template_response_document_field_group_rule.py +++ b/dropbox_sign/models/template_response_document_field_group_rule.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_response_document_form_field_base.py b/dropbox_sign/models/template_response_document_form_field_base.py index ff2269f..6f8777a 100644 --- a/dropbox_sign/models/template_response_document_form_field_base.py +++ b/dropbox_sign/models/template_response_document_form_field_base.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_response_document_form_field_checkbox.py b/dropbox_sign/models/template_response_document_form_field_checkbox.py index a24921b..d81d657 100644 --- a/dropbox_sign/models/template_response_document_form_field_checkbox.py +++ b/dropbox_sign/models/template_response_document_form_field_checkbox.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_response_document_form_field_date_signed.py b/dropbox_sign/models/template_response_document_form_field_date_signed.py index 8b7f3d1..8ee5fe3 100644 --- a/dropbox_sign/models/template_response_document_form_field_date_signed.py +++ b/dropbox_sign/models/template_response_document_form_field_date_signed.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_response_document_form_field_dropdown.py b/dropbox_sign/models/template_response_document_form_field_dropdown.py index 76b0356..2b30ae4 100644 --- a/dropbox_sign/models/template_response_document_form_field_dropdown.py +++ b/dropbox_sign/models/template_response_document_form_field_dropdown.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_response_document_form_field_hyperlink.py b/dropbox_sign/models/template_response_document_form_field_hyperlink.py index 9e97983..0102248 100644 --- a/dropbox_sign/models/template_response_document_form_field_hyperlink.py +++ b/dropbox_sign/models/template_response_document_form_field_hyperlink.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_response_document_form_field_initials.py b/dropbox_sign/models/template_response_document_form_field_initials.py index 1f4eb73..64321ad 100644 --- a/dropbox_sign/models/template_response_document_form_field_initials.py +++ b/dropbox_sign/models/template_response_document_form_field_initials.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_response_document_form_field_radio.py b/dropbox_sign/models/template_response_document_form_field_radio.py index f085585..0f0c344 100644 --- a/dropbox_sign/models/template_response_document_form_field_radio.py +++ b/dropbox_sign/models/template_response_document_form_field_radio.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_response_document_form_field_signature.py b/dropbox_sign/models/template_response_document_form_field_signature.py index 844558f..c509f92 100644 --- a/dropbox_sign/models/template_response_document_form_field_signature.py +++ b/dropbox_sign/models/template_response_document_form_field_signature.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_response_document_form_field_text.py b/dropbox_sign/models/template_response_document_form_field_text.py index 3fcd287..6280970 100644 --- a/dropbox_sign/models/template_response_document_form_field_text.py +++ b/dropbox_sign/models/template_response_document_form_field_text.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_response_document_static_field_base.py b/dropbox_sign/models/template_response_document_static_field_base.py index 927c2c0..d9735c7 100644 --- a/dropbox_sign/models/template_response_document_static_field_base.py +++ b/dropbox_sign/models/template_response_document_static_field_base.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_response_document_static_field_checkbox.py b/dropbox_sign/models/template_response_document_static_field_checkbox.py index d8d1f13..0afba0d 100644 --- a/dropbox_sign/models/template_response_document_static_field_checkbox.py +++ b/dropbox_sign/models/template_response_document_static_field_checkbox.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_response_document_static_field_date_signed.py b/dropbox_sign/models/template_response_document_static_field_date_signed.py index bfc9f2e..0b232a6 100644 --- a/dropbox_sign/models/template_response_document_static_field_date_signed.py +++ b/dropbox_sign/models/template_response_document_static_field_date_signed.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_response_document_static_field_dropdown.py b/dropbox_sign/models/template_response_document_static_field_dropdown.py index fb7cde0..7ac71ec 100644 --- a/dropbox_sign/models/template_response_document_static_field_dropdown.py +++ b/dropbox_sign/models/template_response_document_static_field_dropdown.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_response_document_static_field_hyperlink.py b/dropbox_sign/models/template_response_document_static_field_hyperlink.py index dd322e0..bdd27c9 100644 --- a/dropbox_sign/models/template_response_document_static_field_hyperlink.py +++ b/dropbox_sign/models/template_response_document_static_field_hyperlink.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_response_document_static_field_initials.py b/dropbox_sign/models/template_response_document_static_field_initials.py index 22da861..bd755ee 100644 --- a/dropbox_sign/models/template_response_document_static_field_initials.py +++ b/dropbox_sign/models/template_response_document_static_field_initials.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_response_document_static_field_radio.py b/dropbox_sign/models/template_response_document_static_field_radio.py index cb58af2..a78d5b8 100644 --- a/dropbox_sign/models/template_response_document_static_field_radio.py +++ b/dropbox_sign/models/template_response_document_static_field_radio.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_response_document_static_field_signature.py b/dropbox_sign/models/template_response_document_static_field_signature.py index 664b3d7..c0ff8ee 100644 --- a/dropbox_sign/models/template_response_document_static_field_signature.py +++ b/dropbox_sign/models/template_response_document_static_field_signature.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_response_document_static_field_text.py b/dropbox_sign/models/template_response_document_static_field_text.py index a70afa3..03a3a48 100644 --- a/dropbox_sign/models/template_response_document_static_field_text.py +++ b/dropbox_sign/models/template_response_document_static_field_text.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_response_field_avg_text_length.py b/dropbox_sign/models/template_response_field_avg_text_length.py index 34dc711..1936e75 100644 --- a/dropbox_sign/models/template_response_field_avg_text_length.py +++ b/dropbox_sign/models/template_response_field_avg_text_length.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_response_signer_role.py b/dropbox_sign/models/template_response_signer_role.py index 571469e..2cada15 100644 --- a/dropbox_sign/models/template_response_signer_role.py +++ b/dropbox_sign/models/template_response_signer_role.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_update_files_request.py b/dropbox_sign/models/template_update_files_request.py index 424a254..18612dd 100644 --- a/dropbox_sign/models/template_update_files_request.py +++ b/dropbox_sign/models/template_update_files_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_update_files_response.py b/dropbox_sign/models/template_update_files_response.py index 94b5620..67b1d3b 100644 --- a/dropbox_sign/models/template_update_files_response.py +++ b/dropbox_sign/models/template_update_files_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/template_update_files_response_template.py b/dropbox_sign/models/template_update_files_response_template.py index 0825101..2a8cd11 100644 --- a/dropbox_sign/models/template_update_files_response_template.py +++ b/dropbox_sign/models/template_update_files_response_template.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/unclaimed_draft_create_embedded_request.py b/dropbox_sign/models/unclaimed_draft_create_embedded_request.py index 2ca5e9c..26e98fb 100644 --- a/dropbox_sign/models/unclaimed_draft_create_embedded_request.py +++ b/dropbox_sign/models/unclaimed_draft_create_embedded_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 @@ -175,6 +176,10 @@ class UnclaimedDraftCreateEmbeddedRequest(BaseModel): default=False, 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.", ) + ignore_text_tags_extraction_errors: Optional[StrictBool] = Field( + default=False, + description="Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`.", + ) populate_auto_fill_fields: Optional[StrictBool] = Field( default=False, 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. **NOTE:** Keep your signer's information safe by ensuring that the _signer on your signature request is the intended party_ before using this feature.", @@ -218,6 +223,7 @@ class UnclaimedDraftCreateEmbeddedRequest(BaseModel): "type", "use_preexisting_fields", "use_text_tags", + "ignore_text_tags_extraction_errors", "populate_auto_fill_fields", "expires_at", ] @@ -482,6 +488,11 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: if obj.get("use_text_tags") is not None else False ), + "ignore_text_tags_extraction_errors": ( + obj.get("ignore_text_tags_extraction_errors") + if obj.get("ignore_text_tags_extraction_errors") is not None + else False + ), "populate_auto_fill_fields": ( obj.get("populate_auto_fill_fields") if obj.get("populate_auto_fill_fields") is not None @@ -539,6 +550,7 @@ def openapi_types(cls) -> Dict[str, str]: "type": "(str,)", "use_preexisting_fields": "(bool,)", "use_text_tags": "(bool,)", + "ignore_text_tags_extraction_errors": "(bool,)", "populate_auto_fill_fields": "(bool,)", "expires_at": "(int,)", } diff --git a/dropbox_sign/models/unclaimed_draft_create_embedded_with_template_request.py b/dropbox_sign/models/unclaimed_draft_create_embedded_with_template_request.py index 7ce070f..3ab7023 100644 --- a/dropbox_sign/models/unclaimed_draft_create_embedded_with_template_request.py +++ b/dropbox_sign/models/unclaimed_draft_create_embedded_with_template_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/unclaimed_draft_create_request.py b/dropbox_sign/models/unclaimed_draft_create_request.py index 88ae683..deacb02 100644 --- a/dropbox_sign/models/unclaimed_draft_create_request.py +++ b/dropbox_sign/models/unclaimed_draft_create_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 @@ -134,6 +135,10 @@ class UnclaimedDraftCreateRequest(BaseModel): default=False, 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.", ) + ignore_text_tags_extraction_errors: Optional[StrictBool] = Field( + default=False, + description="Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`.", + ) expires_at: Optional[StrictInt] = Field( default=None, 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. **NOTE:** This does not correspond to the **expires_at** returned in the response.", @@ -162,6 +167,7 @@ class UnclaimedDraftCreateRequest(BaseModel): "test_mode", "use_preexisting_fields", "use_text_tags", + "ignore_text_tags_extraction_errors", "expires_at", ] @@ -374,6 +380,11 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: if obj.get("use_text_tags") is not None else False ), + "ignore_text_tags_extraction_errors": ( + obj.get("ignore_text_tags_extraction_errors") + if obj.get("ignore_text_tags_extraction_errors") is not None + else False + ), "expires_at": obj.get("expires_at"), } ) @@ -415,6 +426,7 @@ def openapi_types(cls) -> Dict[str, str]: "test_mode": "(bool,)", "use_preexisting_fields": "(bool,)", "use_text_tags": "(bool,)", + "ignore_text_tags_extraction_errors": "(bool,)", "expires_at": "(int,)", } diff --git a/dropbox_sign/models/unclaimed_draft_create_response.py b/dropbox_sign/models/unclaimed_draft_create_response.py index dab0513..085e5b9 100644 --- a/dropbox_sign/models/unclaimed_draft_create_response.py +++ b/dropbox_sign/models/unclaimed_draft_create_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/unclaimed_draft_edit_and_resend_request.py b/dropbox_sign/models/unclaimed_draft_edit_and_resend_request.py index 29e4afe..38903be 100644 --- a/dropbox_sign/models/unclaimed_draft_edit_and_resend_request.py +++ b/dropbox_sign/models/unclaimed_draft_edit_and_resend_request.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/unclaimed_draft_response.py b/dropbox_sign/models/unclaimed_draft_response.py index 5f8849d..51fdcfa 100644 --- a/dropbox_sign/models/unclaimed_draft_response.py +++ b/dropbox_sign/models/unclaimed_draft_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/models/warning_response.py b/dropbox_sign/models/warning_response.py index 5e0b464..d2a26d5 100644 --- a/dropbox_sign/models/warning_response.py +++ b/dropbox_sign/models/warning_response.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 diff --git a/dropbox_sign/rest.py b/dropbox_sign/rest.py index dcabe9c..4aaa80d 100644 --- a/dropbox_sign/rest.py +++ b/dropbox_sign/rest.py @@ -12,6 +12,7 @@ Do not edit the class manually. """ # noqa: E501 + import io import json import re diff --git a/examples/SignatureRequestEditExample.py b/examples/SignatureRequestEditExample.py index bc7ac18..08cc2c5 100644 --- a/examples/SignatureRequestEditExample.py +++ b/examples/SignatureRequestEditExample.py @@ -51,12 +51,14 @@ files=[ open("./example_signature_request.pdf", "rb").read(), ], - metadata=json.loads(""" + metadata=json.loads( + """ { "custom_id": 1234, "custom_text": "NDA #9" } - """), + """ + ), field_options=field_options, signing_options=signing_options, signers=signers, diff --git a/examples/SignatureRequestEditGroupedSignersExample.py b/examples/SignatureRequestEditGroupedSignersExample.py index 632209f..01e81f7 100644 --- a/examples/SignatureRequestEditGroupedSignersExample.py +++ b/examples/SignatureRequestEditGroupedSignersExample.py @@ -81,12 +81,14 @@ "lawyer1@dropboxsign.com", "lawyer2@dropboxsign.com", ], - metadata=json.loads(""" + metadata=json.loads( + """ { "custom_id": 1234, "custom_text": "NDA #9" } - """), + """ + ), field_options=field_options, signing_options=signing_options, grouped_signers=grouped_signers, diff --git a/examples/SignatureRequestSendExample.py b/examples/SignatureRequestSendExample.py index fcf55d1..d4899c4 100644 --- a/examples/SignatureRequestSendExample.py +++ b/examples/SignatureRequestSendExample.py @@ -52,12 +52,14 @@ files=[ open("./example_signature_request.pdf", "rb").read(), ], - metadata=json.loads(""" + metadata=json.loads( + """ { "custom_id": 1234, "custom_text": "NDA #9" } - """), + """ + ), field_options=field_options, signing_options=signing_options, signers=signers, diff --git a/examples/SignatureRequestSendGroupedSignersExample.py b/examples/SignatureRequestSendGroupedSignersExample.py index 60b3ac5..1029ec2 100644 --- a/examples/SignatureRequestSendGroupedSignersExample.py +++ b/examples/SignatureRequestSendGroupedSignersExample.py @@ -81,12 +81,14 @@ "lawyer1@dropboxsign.com", "lawyer2@dropboxsign.com", ], - metadata=json.loads(""" + metadata=json.loads( + """ { "custom_id": 1234, "custom_text": "NDA #9" } - """), + """ + ), field_options=field_options, signing_options=signing_options, grouped_signers=grouped_signers, diff --git a/openapi-config.yaml b/openapi-config.yaml index 7bb5490..c718d39 100644 --- a/openapi-config.yaml +++ b/openapi-config.yaml @@ -5,7 +5,7 @@ additionalProperties: generatorLanguageVersion: ">=3.8" packageName: dropbox_sign projectName: dropbox-sign - packageVersion: 1.11.0 + packageVersion: 1.12.0 sortModelPropertiesByRequiredFlag: true legacyDiscriminatorBehavior: true packageAuthor: Dropbox Sign API Team diff --git a/openapi-sdk.yaml b/openapi-sdk.yaml index ed174d3..ac9e788 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/pyproject.toml b/pyproject.toml index ed9bef3..854c04b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "dropbox_sign" -version = "1.11.0" +version = "1.12.0" description = "Dropbox Sign API" authors = ["Official Python SDK for the Dropbox Sign API "] license = "MIT" diff --git a/setup.py b/setup.py index d5125ab..2efb0d8 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ # prerequisite: setuptools # http://pypi.python.org/pypi/setuptools NAME = "dropbox-sign" -VERSION = "1.11.0" +VERSION = "1.12.0" PYTHON_REQUIRES = ">= 3.8" REQUIRES = [ "urllib3 >= 1.25.3, < 3.0.0", diff --git a/templates/test-requirements.mustache b/templates/test-requirements.mustache index 9453a41..e827333 100644 --- a/templates/test-requirements.mustache +++ b/templates/test-requirements.mustache @@ -5,5 +5,5 @@ flake8 >= 4.0.0 types-python-dateutil >= 2.8.19.14 mypy >= 1.5 {{#useCustomTemplateCode}} -black>=24.8.0 +black==25.1.0 {{/useCustomTemplateCode}} diff --git a/test-requirements.txt b/test-requirements.txt index 6658973..29d3726 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -4,4 +4,4 @@ tox >= 3.9.0 flake8 >= 4.0.0 types-python-dateutil >= 2.8.19.14 mypy >= 1.5 -black>=24.8.0 +black==25.1.0 diff --git a/test_fixtures/FileResponse.json b/test_fixtures/FileResponse.json index 42417f5..e38e42f 100644 --- a/test_fixtures/FileResponse.json +++ b/test_fixtures/FileResponse.json @@ -1,6 +1,6 @@ { "default": { - "file_url": "https://s3.amazonaws.com/hellofax_uploads/super_groups/2016/03/18/9aba07a585d7e223b4f137c8981c5e5892893c00/merged-completed.pdf?AWSAccessKeyId=AKIAJWEWDFQHQMBECJZA&Expires=1452868903&Signature=M%2FNDS%2BQre8xjPvzm7fHf%2BjO8Zbc%3D", + "file_url": "https://s3.amazonaws.com/hellofax_uploads/super_groups/2016/03/18/9aba07a585d7e223b4f137c8981c5e5892893c00/merged-completed.pdf?AWSAccessKeyId=EXAMPLE_ACCESS_KEY_ID&Expires=1452868903&Signature=EXAMPLE_SIGNATURE", "expires_at": 1458605123 } } diff --git a/test_fixtures/SignatureRequestCreateEmbeddedRequest.json b/test_fixtures/SignatureRequestCreateEmbeddedRequest.json index 097446a..3b62c46 100644 --- a/test_fixtures/SignatureRequestCreateEmbeddedRequest.json +++ b/test_fixtures/SignatureRequestCreateEmbeddedRequest.json @@ -122,7 +122,8 @@ "subject": "The NDA we talked about", "test_mode": true, "title": "NDA with Acme Co.", - "use_text_tags": false + "use_text_tags": false, + "ignore_text_tags_extraction_errors": false }, "with_grouped_signers": { "allow_decline": true, @@ -259,6 +260,7 @@ "subject": "The NDA we talked about", "test_mode": true, "title": "NDA with Acme Co.", - "use_text_tags": false + "use_text_tags": false, + "ignore_text_tags_extraction_errors": false } } diff --git a/test_fixtures/SignatureRequestSendRequest.json b/test_fixtures/SignatureRequestSendRequest.json index 1f56eb7..d5e59f7 100644 --- a/test_fixtures/SignatureRequestSendRequest.json +++ b/test_fixtures/SignatureRequestSendRequest.json @@ -236,7 +236,8 @@ "subject": "The NDA we talked about", "test_mode": true, "title": "NDA with Acme Co.", - "use_text_tags": true + "use_text_tags": true, + "ignore_text_tags_extraction_errors": false }, "with_grouped_signers": { "allow_decline": true, @@ -476,6 +477,7 @@ "subject": "The NDA we talked about", "test_mode": true, "title": "NDA with Acme Co.", - "use_text_tags": true + "use_text_tags": true, + "ignore_text_tags_extraction_errors": false } } diff --git a/test_fixtures/TemplateCreateEmbeddedDraftRequest.json b/test_fixtures/TemplateCreateEmbeddedDraftRequest.json index b293945..96919f9 100644 --- a/test_fixtures/TemplateCreateEmbeddedDraftRequest.json +++ b/test_fixtures/TemplateCreateEmbeddedDraftRequest.json @@ -120,6 +120,7 @@ "subject": "Please sign this document", "test_mode": true, "title": "Test Template", - "use_preexisting_fields": true + "use_preexisting_fields": true, + "ignore_text_tags_extraction_errors": false } } diff --git a/test_fixtures/UnclaimedDraftCreateEmbeddedRequest.json b/test_fixtures/UnclaimedDraftCreateEmbeddedRequest.json index addbe6a..4cdf5e1 100644 --- a/test_fixtures/UnclaimedDraftCreateEmbeddedRequest.json +++ b/test_fixtures/UnclaimedDraftCreateEmbeddedRequest.json @@ -137,6 +137,7 @@ "test_mode": true, "type": "send_document", "use_preexisting_fields": true, - "use_text_tags": true + "use_text_tags": true, + "ignore_text_tags_extraction_errors": false } } diff --git a/test_fixtures/UnclaimedDraftCreateRequest.json b/test_fixtures/UnclaimedDraftCreateRequest.json index a9ab5b5..008df32 100644 --- a/test_fixtures/UnclaimedDraftCreateRequest.json +++ b/test_fixtures/UnclaimedDraftCreateRequest.json @@ -122,6 +122,7 @@ "test_mode": true, "type": "send_document", "use_preexisting_fields": true, - "use_text_tags": true + "use_text_tags": true, + "ignore_text_tags_extraction_errors": false } }