diff --git a/openapi-raw.yaml b/openapi-raw.yaml index 132929285..d9420e127 100644 --- a/openapi-raw.yaml +++ b/openapi-raw.yaml @@ -929,6 +929,47 @@ paths: seo: title: '_t__ApiAppList::SEO::TITLE' description: '_t__ApiAppList::SEO::DESCRIPTION' + /notification/retry: + post: + tags: + - 'Callbacks and Events' + summary: 'Resend an API notification asynchronously.' + description: 'Queues an API notification by event_type and id. A new notification event is generated from current object state.' + operationId: apiNotificationRetry + responses: + '202': + description: 'Resend queued' + 4XX: + description: failed_operation + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + examples: + 400_example: + $ref: '#/components/examples/Error400Response' + 401_example: + $ref: '#/components/examples/Error401Response' + 402_example: + $ref: '#/components/examples/Error402Response' + 403_example: + $ref: '#/components/examples/Error403Response' + 429_example: + $ref: '#/components/examples/Error429Response' + 404_example: + $ref: '#/components/examples/Error404Response' + 4XX_example: + $ref: '#/components/examples/Error4XXResponse' + security: + - + api_key: [] + - + oauth2: + - request_signature + - signature_request_access + x-hideOn: + - doc + - sdk '/bulk_send_job/{bulk_send_job_id}': get: tags: @@ -5026,6 +5067,8 @@ paths: $ref: '#/components/examples/Error429Response' 404_example: $ref: '#/components/examples/Error404Response' + 409_example: + $ref: '#/components/examples/Error409Response' 4XX_example: $ref: '#/components/examples/Error4XXResponse' security: @@ -8462,6 +8505,10 @@ components: description: '_t__SignatureRequestCreateEmbedded::USE_TEXT_TAGS' type: boolean default: false + ignore_text_tags_extraction_errors: + description: '_t__SignatureRequestCreateEmbedded::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS' + type: boolean + default: false populate_auto_fill_fields: description: '_t__SignatureRequestCreateEmbedded::POPULATE_AUTO_FILL_FIELDS' type: boolean @@ -8664,6 +8711,11 @@ components: description: '_t__SignatureRequestSend::USE_PREEXISTING_FIELDS' type: boolean default: false + ignore_text_tags_extraction_errors: + description: '_t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS' + type: boolean + default: false + x-hideOn: doc expires_at: description: '_t__SignatureRequestSend::EXPIRES_AT' type: integer @@ -8777,6 +8829,11 @@ components: description: '_t__SignatureRequestCreateEmbedded::USE_TEXT_TAGS' type: boolean default: false + ignore_text_tags_extraction_errors: + description: '_t__SignatureRequestCreateEmbedded::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS' + type: boolean + default: false + x-hideOn: doc populate_auto_fill_fields: description: '_t__SignatureRequestCreateEmbedded::POPULATE_AUTO_FILL_FIELDS' type: boolean @@ -9080,6 +9137,11 @@ components: description: '_t__SignatureRequestSend::USE_PREEXISTING_FIELDS' type: boolean default: false + ignore_text_tags_extraction_errors: + description: '_t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS' + type: boolean + default: false + x-hideOn: doc expires_at: description: '_t__SignatureRequestSend::EXPIRES_AT' type: integer @@ -10267,6 +10329,11 @@ components: description: '_t__TemplateCreate::USE_PREEXISTING_FIELDS' type: boolean default: false + ignore_text_tags_extraction_errors: + description: '_t__TemplateCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS' + type: boolean + default: false + x-hideOn: doc signer_experience: description: '_t__TemplateCreate::SIGNER_EXPERIENCE' allOf: @@ -10385,6 +10452,11 @@ components: description: '_t__TemplateCreateEmbeddedDraft::USE_PREEXISTING_FIELDS' type: boolean default: false + ignore_text_tags_extraction_errors: + description: '_t__TemplateCreateEmbeddedDraft::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS' + type: boolean + default: false + x-hideOn: doc signer_experience: description: '_t__TemplateCreateEmbeddedDraft::SIGNER_EXPERIENCE' allOf: @@ -10573,6 +10645,11 @@ components: description: '_t__UnclaimedDraftCreate::USE_TEXT_TAGS' type: boolean default: false + ignore_text_tags_extraction_errors: + description: '_t__UnclaimedDraftCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS' + type: boolean + default: false + x-hideOn: doc expires_at: description: '_t__UnclaimedDraftCreate::EXPIRES_AT' type: integer @@ -10733,6 +10810,11 @@ components: description: '_t__UnclaimedDraftCreateEmbedded::USE_TEXT_TAGS' type: boolean default: false + ignore_text_tags_extraction_errors: + description: '_t__UnclaimedDraftCreateEmbedded::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS' + type: boolean + default: false + x-hideOn: doc populate_auto_fill_fields: description: '_t__UnclaimedDraftCreateEmbedded::POPULATE_AUTO_FILL_FIELDS' type: boolean @@ -11481,6 +11563,68 @@ components: error_name: description: '_t__ErrorResponseError::ERROR_NAME' type: string + enum: + - bad_request + - unauthorized + - payment_required + - forbidden + - not_found + - conflict + - exceeded_rate + - unknown + - team_invite_failed + - max_faxes + - invalid_recipient + - signature_request_cancel_failed + - signature_request_remove_failed + - maintenance + - method_not_supported + - invalid_reminder + - unavailable + - unprocessable_entity + - signature_request_expired + - deleted + x-fern-enum: + bad_request: + description: '_t__ErrorCatalog::bad_request::SUMMARY' + unauthorized: + description: '_t__ErrorCatalog::unauthorized::SUMMARY' + payment_required: + description: '_t__ErrorCatalog::payment_required::SUMMARY' + forbidden: + description: '_t__ErrorCatalog::forbidden::SUMMARY' + not_found: + description: '_t__ErrorCatalog::not_found::SUMMARY' + conflict: + description: '_t__ErrorCatalog::conflict::SUMMARY' + exceeded_rate: + description: '_t__ErrorCatalog::exceeded_rate::SUMMARY' + unknown: + description: '_t__ErrorCatalog::unknown::SUMMARY' + team_invite_failed: + description: '_t__ErrorCatalog::team_invite_failed::SUMMARY' + max_faxes: + description: '_t__ErrorCatalog::max_faxes::SUMMARY' + invalid_recipient: + description: '_t__ErrorCatalog::invalid_recipient::SUMMARY' + signature_request_cancel_failed: + description: '_t__ErrorCatalog::signature_request_cancel_failed::SUMMARY' + signature_request_remove_failed: + description: '_t__ErrorCatalog::signature_request_remove_failed::SUMMARY' + maintenance: + description: '_t__ErrorCatalog::maintenance::SUMMARY' + method_not_supported: + description: '_t__ErrorCatalog::method_not_supported::SUMMARY' + invalid_reminder: + description: '_t__ErrorCatalog::invalid_reminder::SUMMARY' + unavailable: + description: '_t__ErrorCatalog::unavailable::SUMMARY' + unprocessable_entity: + description: '_t__ErrorCatalog::unprocessable_entity::SUMMARY' + signature_request_expired: + description: '_t__ErrorCatalog::signature_request_expired::SUMMARY' + deleted: + description: '_t__ErrorCatalog::deleted::SUMMARY' type: object FaxResponse: required: @@ -13132,6 +13276,8 @@ components: template: $ref: '#/components/schemas/TemplateResponse' type: object + x-fern-audiences: + - events EventCallbackRequestEvent: description: '_t__EventCallbackRequestEvent::DESCRIPTION' required: @@ -13175,6 +13321,8 @@ components: event_metadata: $ref: '#/components/schemas/EventCallbackRequestEventMetadata' type: object + x-fern-audiences: + - events EventCallbackRequestEventMetadata: description: '_t__EventCallbackRequestEventMetadata::DESCRIPTION' properties: @@ -13195,6 +13343,542 @@ components: type: string nullable: true type: object + x-fern-audiences: + - events + EventCallbackSignatureRequestViewed: + title: '_t__EventCallbackSignatureRequestViewed::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [signature_request_viewed] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + x-hideOn: sdk + EventCallbackSignatureRequestSigned: + title: '_t__EventCallbackSignatureRequestSigned::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [signature_request_signed] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + x-hideOn: sdk + EventCallbackSignatureRequestSignerRemoved: + title: '_t__EventCallbackSignatureRequestSignerRemoved::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [signature_request_signer_removed] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + x-hideOn: sdk + EventCallbackSignatureRequestDownloadable: + title: '_t__EventCallbackSignatureRequestDownloadable::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [signature_request_downloadable] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + x-hideOn: sdk + EventCallbackSignatureRequestSent: + title: '_t__EventCallbackSignatureRequestSent::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [signature_request_sent] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + x-hideOn: sdk + EventCallbackSignatureRequestAllSigned: + title: '_t__EventCallbackSignatureRequestAllSigned::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [signature_request_all_signed] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + x-hideOn: sdk + EventCallbackSignatureRequestInvalid: + title: '_t__EventCallbackSignatureRequestInvalid::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [signature_request_invalid] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + x-hideOn: sdk + EventCallbackSignatureRequestEmailBounce: + title: '_t__EventCallbackSignatureRequestEmailBounce::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [signature_request_email_bounce] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + x-hideOn: sdk + EventCallbackSignatureRequestRemind: + title: '_t__EventCallbackSignatureRequestRemind::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [signature_request_remind] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + x-hideOn: sdk + EventCallbackSignatureRequestIncompleteQes: + title: '_t__EventCallbackSignatureRequestIncompleteQes::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [signature_request_incomplete_qes] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + x-hideOn: sdk + EventCallbackSignatureRequestDestroyed: + title: '_t__EventCallbackSignatureRequestDestroyed::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [signature_request_destroyed] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + x-hideOn: sdk + EventCallbackSignatureRequestCanceled: + title: '_t__EventCallbackSignatureRequestCanceled::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [signature_request_canceled] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + x-hideOn: sdk + EventCallbackSignatureRequestDeclined: + title: '_t__EventCallbackSignatureRequestDeclined::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [signature_request_declined] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + x-hideOn: sdk + EventCallbackSignatureRequestExpired: + title: '_t__EventCallbackSignatureRequestExpired::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [signature_request_expired] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + x-hideOn: sdk + EventCallbackSignatureRequestReassigned: + title: '_t__EventCallbackSignatureRequestReassigned::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [signature_request_reassigned] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + x-hideOn: sdk + EventCallbackSignatureRequestPrepared: + title: '_t__EventCallbackSignatureRequestPrepared::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [signature_request_prepared] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + x-hideOn: sdk + EventCallbackAccountConfirmed: + title: '_t__EventCallbackAccountConfirmed::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [account_confirmed] + type: object + account: + $ref: '#/components/schemas/AccountResponse' + type: object + x-fern-audiences: + - events + x-hideOn: sdk + EventCallbackUnknownError: + title: '_t__EventCallbackUnknownError::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [unknown_error] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + x-hideOn: sdk + EventCallbackFileError: + title: '_t__EventCallbackFileError::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [file_error] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + x-hideOn: sdk + EventCallbackTemplateCreated: + title: '_t__EventCallbackTemplateCreated::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [template_created] + type: object + template: + $ref: '#/components/schemas/TemplateResponse' + type: object + x-fern-audiences: + - events + x-hideOn: sdk + EventCallbackTemplateError: + title: '_t__EventCallbackTemplateError::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [template_error] + type: object + template: + $ref: '#/components/schemas/TemplateResponse' + type: object + x-fern-audiences: + - events + x-hideOn: sdk + EventCallbackSignUrlInvalid: + title: '_t__EventCallbackSignUrlInvalid::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [sign_url_invalid] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + x-hideOn: sdk + EventCallbackCallbackTest: + title: '_t__EventCallbackCallbackTest::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [callback_test] + type: object + type: object + x-fern-audiences: + - events + x-hideOn: sdk + EventCallbackPayload: + title: 'Event Callback Payload' + description: 'JSON payload delivered for a webhook event. The concrete shape is selected by `event.event_type`.' + oneOf: + - + $ref: '#/components/schemas/EventCallbackSignatureRequestViewed' + - + $ref: '#/components/schemas/EventCallbackSignatureRequestSigned' + - + $ref: '#/components/schemas/EventCallbackSignatureRequestSignerRemoved' + - + $ref: '#/components/schemas/EventCallbackSignatureRequestDownloadable' + - + $ref: '#/components/schemas/EventCallbackSignatureRequestSent' + - + $ref: '#/components/schemas/EventCallbackSignatureRequestAllSigned' + - + $ref: '#/components/schemas/EventCallbackSignatureRequestInvalid' + - + $ref: '#/components/schemas/EventCallbackSignatureRequestEmailBounce' + - + $ref: '#/components/schemas/EventCallbackSignatureRequestRemind' + - + $ref: '#/components/schemas/EventCallbackSignatureRequestIncompleteQes' + - + $ref: '#/components/schemas/EventCallbackSignatureRequestDestroyed' + - + $ref: '#/components/schemas/EventCallbackSignatureRequestCanceled' + - + $ref: '#/components/schemas/EventCallbackSignatureRequestDeclined' + - + $ref: '#/components/schemas/EventCallbackSignatureRequestExpired' + - + $ref: '#/components/schemas/EventCallbackSignatureRequestReassigned' + - + $ref: '#/components/schemas/EventCallbackSignatureRequestPrepared' + - + $ref: '#/components/schemas/EventCallbackAccountConfirmed' + - + $ref: '#/components/schemas/EventCallbackUnknownError' + - + $ref: '#/components/schemas/EventCallbackFileError' + - + $ref: '#/components/schemas/EventCallbackTemplateCreated' + - + $ref: '#/components/schemas/EventCallbackTemplateError' + - + $ref: '#/components/schemas/EventCallbackSignUrlInvalid' + - + $ref: '#/components/schemas/EventCallbackCallbackTest' + x-fern-audiences: + - events + x-hideOn: sdk responses: EventCallbackResponse: description: 'successful operation' @@ -13203,6 +13887,8 @@ components: schema: type: string default: 'Hello API Event Received' + x-fern-audiences: + - events examples: AccountCreateRequest: summary: 'Default Example' @@ -13711,22 +14397,170 @@ components: summary: '_t__EventCallbackAccountSignatureRequestSentExample::SUMMARY' value: $ref: examples/json/EventCallbackAccountSignatureRequestSent.json + x-fern-audiences: + - events EventCallbackAccountTemplateCreated: summary: '_t__EventCallbackAccountTemplateCreatedExample::SUMMARY' value: $ref: examples/json/EventCallbackAccountTemplateCreated.json + x-fern-audiences: + - events EventCallbackAppAccountConfirmed: summary: '_t__EventCallbackAppAccountConfirmedExample::SUMMARY' value: $ref: examples/json/EventCallbackAppAccountConfirmed.json + x-fern-audiences: + - events EventCallbackAppSignatureRequestSent: summary: '_t__EventCallbackAppSignatureRequestSentExample::SUMMARY' value: $ref: examples/json/EventCallbackAppSignatureRequestSent.json + x-fern-audiences: + - events EventCallbackAppTemplateCreated: summary: '_t__EventCallbackAppTemplateCreatedExample::SUMMARY' value: $ref: examples/json/EventCallbackAppTemplateCreated.json + x-fern-audiences: + - events + EventCallbackSignatureRequestViewed: + summary: '_t__EventCallbackSignatureRequestViewed::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestViewed.json + x-fern-audiences: + - events + EventCallbackSignatureRequestSigned: + summary: '_t__EventCallbackSignatureRequestSigned::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestSigned.json + x-fern-audiences: + - events + EventCallbackSignatureRequestSignerRemoved: + summary: '_t__EventCallbackSignatureRequestSignerRemoved::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestSignerRemoved.json + x-fern-audiences: + - events + EventCallbackSignatureRequestDownloadable: + summary: '_t__EventCallbackSignatureRequestDownloadable::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestDownloadable.json + x-fern-audiences: + - events + EventCallbackSignatureRequestSent: + summary: '_t__EventCallbackSignatureRequestSent::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestSent.json + x-fern-audiences: + - events + EventCallbackSignatureRequestAllSigned: + summary: '_t__EventCallbackSignatureRequestAllSigned::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestAllSigned.json + x-fern-audiences: + - events + EventCallbackSignatureRequestInvalid: + summary: '_t__EventCallbackSignatureRequestInvalid::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestInvalid.json + x-fern-audiences: + - events + EventCallbackSignatureRequestEmailBounce: + summary: '_t__EventCallbackSignatureRequestEmailBounce::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestEmailBounce.json + x-fern-audiences: + - events + EventCallbackSignatureRequestRemind: + summary: '_t__EventCallbackSignatureRequestRemind::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestRemind.json + x-fern-audiences: + - events + EventCallbackSignatureRequestIncompleteQes: + summary: '_t__EventCallbackSignatureRequestIncompleteQes::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestIncompleteQes.json + x-fern-audiences: + - events + EventCallbackSignatureRequestDestroyed: + summary: '_t__EventCallbackSignatureRequestDestroyed::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestDestroyed.json + x-fern-audiences: + - events + EventCallbackSignatureRequestCanceled: + summary: '_t__EventCallbackSignatureRequestCanceled::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestCanceled.json + x-fern-audiences: + - events + EventCallbackSignatureRequestDeclined: + summary: '_t__EventCallbackSignatureRequestDeclined::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestDeclined.json + x-fern-audiences: + - events + EventCallbackSignatureRequestExpired: + summary: '_t__EventCallbackSignatureRequestExpired::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestExpired.json + x-fern-audiences: + - events + EventCallbackSignatureRequestReassigned: + summary: '_t__EventCallbackSignatureRequestReassigned::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestReassigned.json + x-fern-audiences: + - events + EventCallbackSignatureRequestPrepared: + summary: '_t__EventCallbackSignatureRequestPrepared::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestPrepared.json + x-fern-audiences: + - events + EventCallbackAccountConfirmed: + summary: '_t__EventCallbackAccountConfirmed::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackAccountConfirmed.json + x-fern-audiences: + - events + EventCallbackUnknownError: + summary: '_t__EventCallbackUnknownError::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackUnknownError.json + x-fern-audiences: + - events + EventCallbackFileError: + summary: '_t__EventCallbackFileError::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackFileError.json + x-fern-audiences: + - events + EventCallbackTemplateCreated: + summary: '_t__EventCallbackTemplateCreated::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackTemplateCreated.json + x-fern-audiences: + - events + EventCallbackTemplateError: + summary: '_t__EventCallbackTemplateError::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackTemplateError.json + x-fern-audiences: + - events + EventCallbackSignUrlInvalid: + summary: '_t__EventCallbackSignUrlInvalid::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignUrlInvalid.json + x-fern-audiences: + - events + EventCallbackCallbackTest: + summary: '_t__EventCallbackCallbackTest::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackCallbackTest.json + x-fern-audiences: + - events requestBodies: EventCallbackAccountRequest: description: '_t__EventCallbackAccountRequest::DESCRIPTION' @@ -13839,92 +14673,376 @@ x-webhooks: summary: '_t__OpenApi::ACCOUNT_CALLBACK::SUMMARY' operationId: accountUpdateEventCallback description: '_md__OpenApi::ACCOUNT_CALLBACK::DESCRIPTION' + tags: + - 'Callbacks and Events' x-meta: seo: title: '_t__accountUpdateEventCallback::SEO::TITLE' description: '_t__accountUpdateEventCallback::SEO::DESCRIPTION' - x-codeSamples: - - - lang: PHP - label: PHP - source: - $ref: examples/EventCallbackExample.php - - - lang: 'C#' - label: 'C#' - source: - $ref: examples/EventCallbackExample.cs - - - lang: TypeScript - label: TypeScript - source: - $ref: examples/EventCallbackExample.ts - - - lang: Java - label: Java - source: - $ref: examples/EventCallbackExample.java - - - lang: Ruby - label: Ruby - source: - $ref: examples/EventCallbackExample.rb - - - lang: Python - label: Python - source: - $ref: examples/EventCallbackExample.py - tags: - - 'Callbacks and Events' + x-fern-audiences: + - events + x-hideOn: sdk requestBody: - $ref: '#/components/requestBodies/EventCallbackAccountRequest' + description: '_t__EventCallbackAccountRequest::DESCRIPTION' + content: + application/json: + schema: + $ref: '#/components/schemas/EventCallbackPayload' + examples: + signature_request_viewed_example: + $ref: '#/components/examples/EventCallbackSignatureRequestViewed' + signature_request_signed_example: + $ref: '#/components/examples/EventCallbackSignatureRequestSigned' + signature_request_signer_removed_example: + $ref: '#/components/examples/EventCallbackSignatureRequestSignerRemoved' + signature_request_downloadable_example: + $ref: '#/components/examples/EventCallbackSignatureRequestDownloadable' + signature_request_sent_example: + $ref: '#/components/examples/EventCallbackSignatureRequestSent' + signature_request_all_signed_example: + $ref: '#/components/examples/EventCallbackSignatureRequestAllSigned' + signature_request_invalid_example: + $ref: '#/components/examples/EventCallbackSignatureRequestInvalid' + signature_request_email_bounce_example: + $ref: '#/components/examples/EventCallbackSignatureRequestEmailBounce' + signature_request_remind_example: + $ref: '#/components/examples/EventCallbackSignatureRequestRemind' + signature_request_incomplete_qes_example: + $ref: '#/components/examples/EventCallbackSignatureRequestIncompleteQes' + signature_request_destroyed_example: + $ref: '#/components/examples/EventCallbackSignatureRequestDestroyed' + signature_request_canceled_example: + $ref: '#/components/examples/EventCallbackSignatureRequestCanceled' + signature_request_declined_example: + $ref: '#/components/examples/EventCallbackSignatureRequestDeclined' + signature_request_expired_example: + $ref: '#/components/examples/EventCallbackSignatureRequestExpired' + signature_request_reassigned_example: + $ref: '#/components/examples/EventCallbackSignatureRequestReassigned' + signature_request_prepared_example: + $ref: '#/components/examples/EventCallbackSignatureRequestPrepared' + account_confirmed_example: + $ref: '#/components/examples/EventCallbackAccountConfirmed' + unknown_error_example: + $ref: '#/components/examples/EventCallbackUnknownError' + file_error_example: + $ref: '#/components/examples/EventCallbackFileError' + template_created_example: + $ref: '#/components/examples/EventCallbackTemplateCreated' + template_error_example: + $ref: '#/components/examples/EventCallbackTemplateError' + sign_url_invalid_example: + $ref: '#/components/examples/EventCallbackSignUrlInvalid' + callback_test_example: + $ref: '#/components/examples/EventCallbackCallbackTest' responses: '200': $ref: '#/components/responses/EventCallbackResponse' appCallback: post: summary: '_t__OpenApi::APP_CALLBACK::SUMMARY' - description: '_md__OpenApi::APP_CALLBACK::DESCRIPTION' operationId: apiAppCreateEventCallback + description: '_md__OpenApi::APP_CALLBACK::DESCRIPTION' + tags: + - 'Callbacks and Events' x-meta: seo: title: '_t__appCreateEventCallback::SEO::TITLE' description: '_t__appCreateEventCallback::SEO::DESCRIPTION' - x-codeSamples: - - - lang: PHP - label: PHP - source: - $ref: examples/EventCallbackExample.php - - - lang: 'C#' - label: 'C#' - source: - $ref: examples/EventCallbackExample.cs - - - lang: TypeScript - label: TypeScript - source: - $ref: examples/EventCallbackExample.ts - - - lang: Java - label: Java - source: - $ref: examples/EventCallbackExample.java - - - lang: Ruby - label: Ruby - source: - $ref: examples/EventCallbackExample.rb - - - lang: Python - label: Python - source: - $ref: examples/EventCallbackExample.py - tags: - - 'Callbacks and Events' + x-fern-audiences: + - events + x-hideOn: sdk requestBody: - $ref: '#/components/requestBodies/EventCallbackAppRequest' + description: '_t__EventCallbackAppRequest::DESCRIPTION' + content: + application/json: + schema: + $ref: '#/components/schemas/EventCallbackPayload' + examples: + signature_request_viewed_example: + $ref: '#/components/examples/EventCallbackSignatureRequestViewed' + signature_request_signed_example: + $ref: '#/components/examples/EventCallbackSignatureRequestSigned' + signature_request_signer_removed_example: + $ref: '#/components/examples/EventCallbackSignatureRequestSignerRemoved' + signature_request_downloadable_example: + $ref: '#/components/examples/EventCallbackSignatureRequestDownloadable' + signature_request_sent_example: + $ref: '#/components/examples/EventCallbackSignatureRequestSent' + signature_request_all_signed_example: + $ref: '#/components/examples/EventCallbackSignatureRequestAllSigned' + signature_request_invalid_example: + $ref: '#/components/examples/EventCallbackSignatureRequestInvalid' + signature_request_email_bounce_example: + $ref: '#/components/examples/EventCallbackSignatureRequestEmailBounce' + signature_request_remind_example: + $ref: '#/components/examples/EventCallbackSignatureRequestRemind' + signature_request_incomplete_qes_example: + $ref: '#/components/examples/EventCallbackSignatureRequestIncompleteQes' + signature_request_destroyed_example: + $ref: '#/components/examples/EventCallbackSignatureRequestDestroyed' + signature_request_canceled_example: + $ref: '#/components/examples/EventCallbackSignatureRequestCanceled' + signature_request_declined_example: + $ref: '#/components/examples/EventCallbackSignatureRequestDeclined' + signature_request_expired_example: + $ref: '#/components/examples/EventCallbackSignatureRequestExpired' + signature_request_reassigned_example: + $ref: '#/components/examples/EventCallbackSignatureRequestReassigned' + signature_request_prepared_example: + $ref: '#/components/examples/EventCallbackSignatureRequestPrepared' + account_confirmed_example: + $ref: '#/components/examples/EventCallbackAccountConfirmed' + unknown_error_example: + $ref: '#/components/examples/EventCallbackUnknownError' + file_error_example: + $ref: '#/components/examples/EventCallbackFileError' + template_created_example: + $ref: '#/components/examples/EventCallbackTemplateCreated' + template_error_example: + $ref: '#/components/examples/EventCallbackTemplateError' + sign_url_invalid_example: + $ref: '#/components/examples/EventCallbackSignUrlInvalid' + callback_test_example: + $ref: '#/components/examples/EventCallbackCallbackTest' responses: '200': $ref: '#/components/responses/EventCallbackResponse' +x-error-codes: + bad_request: + http_status: 400 + summary: '_t__ErrorCatalog::bad_request::SUMMARY' + cause: '_t__ErrorCatalog::bad_request::CAUSE' + remediation: '_t__ErrorCatalog::bad_request::REMEDIATION' + retryable: 'no' + unauthorized: + http_status: 401 + summary: '_t__ErrorCatalog::unauthorized::SUMMARY' + cause: '_t__ErrorCatalog::unauthorized::CAUSE' + remediation: '_t__ErrorCatalog::unauthorized::REMEDIATION' + retryable: 'no' + payment_required: + http_status: 402 + summary: '_t__ErrorCatalog::payment_required::SUMMARY' + cause: '_t__ErrorCatalog::payment_required::CAUSE' + remediation: '_t__ErrorCatalog::payment_required::REMEDIATION' + retryable: 'no' + forbidden: + http_status: 403 + summary: '_t__ErrorCatalog::forbidden::SUMMARY' + cause: '_t__ErrorCatalog::forbidden::CAUSE' + remediation: '_t__ErrorCatalog::forbidden::REMEDIATION' + retryable: 'no' + not_found: + http_status: 404 + summary: '_t__ErrorCatalog::not_found::SUMMARY' + cause: '_t__ErrorCatalog::not_found::CAUSE' + remediation: '_t__ErrorCatalog::not_found::REMEDIATION' + retryable: 'no' + conflict: + http_status: 409 + summary: '_t__ErrorCatalog::conflict::SUMMARY' + cause: '_t__ErrorCatalog::conflict::CAUSE' + remediation: '_t__ErrorCatalog::conflict::REMEDIATION' + retryable: conditional + exceeded_rate: + http_status: 429 + summary: '_t__ErrorCatalog::exceeded_rate::SUMMARY' + cause: '_t__ErrorCatalog::exceeded_rate::CAUSE' + remediation: '_t__ErrorCatalog::exceeded_rate::REMEDIATION' + retryable: 'yes' + backoff: '_t__ErrorCatalog::exceeded_rate::BACKOFF' + unknown: + http_status: 500 + summary: '_t__ErrorCatalog::unknown::SUMMARY' + cause: '_t__ErrorCatalog::unknown::CAUSE' + remediation: '_t__ErrorCatalog::unknown::REMEDIATION' + retryable: conditional + backoff: '_t__ErrorCatalog::unknown::BACKOFF' + team_invite_failed: + http_status: 403 + summary: '_t__ErrorCatalog::team_invite_failed::SUMMARY' + cause: '_t__ErrorCatalog::team_invite_failed::CAUSE' + remediation: '_t__ErrorCatalog::team_invite_failed::REMEDIATION' + retryable: 'no' + max_faxes: + http_status: 429 + summary: '_t__ErrorCatalog::max_faxes::SUMMARY' + cause: '_t__ErrorCatalog::max_faxes::CAUSE' + remediation: '_t__ErrorCatalog::max_faxes::REMEDIATION' + retryable: 'yes' + backoff: '_t__ErrorCatalog::max_faxes::BACKOFF' + invalid_recipient: + http_status: 400 + summary: '_t__ErrorCatalog::invalid_recipient::SUMMARY' + cause: '_t__ErrorCatalog::invalid_recipient::CAUSE' + remediation: '_t__ErrorCatalog::invalid_recipient::REMEDIATION' + retryable: 'no' + signature_request_cancel_failed: + http_status: 400 + summary: '_t__ErrorCatalog::signature_request_cancel_failed::SUMMARY' + cause: '_t__ErrorCatalog::signature_request_cancel_failed::CAUSE' + remediation: '_t__ErrorCatalog::signature_request_cancel_failed::REMEDIATION' + retryable: 'no' + signature_request_remove_failed: + http_status: 400 + summary: '_t__ErrorCatalog::signature_request_remove_failed::SUMMARY' + cause: '_t__ErrorCatalog::signature_request_remove_failed::CAUSE' + remediation: '_t__ErrorCatalog::signature_request_remove_failed::REMEDIATION' + retryable: 'no' + maintenance: + http_status: 503 + summary: '_t__ErrorCatalog::maintenance::SUMMARY' + cause: '_t__ErrorCatalog::maintenance::CAUSE' + remediation: '_t__ErrorCatalog::maintenance::REMEDIATION' + retryable: 'yes' + backoff: '_t__ErrorCatalog::maintenance::BACKOFF' + method_not_supported: + http_status: 405 + summary: '_t__ErrorCatalog::method_not_supported::SUMMARY' + cause: '_t__ErrorCatalog::method_not_supported::CAUSE' + remediation: '_t__ErrorCatalog::method_not_supported::REMEDIATION' + retryable: 'no' + invalid_reminder: + http_status: 400 + summary: '_t__ErrorCatalog::invalid_reminder::SUMMARY' + cause: '_t__ErrorCatalog::invalid_reminder::CAUSE' + remediation: '_t__ErrorCatalog::invalid_reminder::REMEDIATION' + retryable: 'no' + unavailable: + http_status: 503 + summary: '_t__ErrorCatalog::unavailable::SUMMARY' + cause: '_t__ErrorCatalog::unavailable::CAUSE' + remediation: '_t__ErrorCatalog::unavailable::REMEDIATION' + retryable: 'yes' + backoff: '_t__ErrorCatalog::unavailable::BACKOFF' + unprocessable_entity: + http_status: 422 + summary: '_t__ErrorCatalog::unprocessable_entity::SUMMARY' + cause: '_t__ErrorCatalog::unprocessable_entity::CAUSE' + remediation: '_t__ErrorCatalog::unprocessable_entity::REMEDIATION' + retryable: conditional + backoff: '_t__ErrorCatalog::unprocessable_entity::BACKOFF' + signature_request_expired: + http_status: + - 400 + - 403 + summary: '_t__ErrorCatalog::signature_request_expired::SUMMARY' + cause: '_t__ErrorCatalog::signature_request_expired::CAUSE' + remediation: '_t__ErrorCatalog::signature_request_expired::REMEDIATION' + retryable: 'no' + deleted: + http_status: 410 + summary: '_t__ErrorCatalog::deleted::SUMMARY' + cause: '_t__ErrorCatalog::deleted::CAUSE' + remediation: '_t__ErrorCatalog::deleted::REMEDIATION' + retryable: 'no' +x-oauth-error-codes: + invalid_grant: + http_status: + - 400 + - 401 + summary: '_t__OAuthErrorCatalog::invalid_grant::SUMMARY' + cause: '_t__OAuthErrorCatalog::invalid_grant::CAUSE' + remediation: '_t__OAuthErrorCatalog::invalid_grant::REMEDIATION' + retryable: 'no' + invalid_client: + http_status: 400 + summary: '_t__OAuthErrorCatalog::invalid_client::SUMMARY' + cause: '_t__OAuthErrorCatalog::invalid_client::CAUSE' + remediation: '_t__OAuthErrorCatalog::invalid_client::REMEDIATION' + retryable: 'no' + invalid_request: + http_status: 400 + summary: '_t__OAuthErrorCatalog::invalid_request::SUMMARY' + cause: '_t__OAuthErrorCatalog::invalid_request::CAUSE' + remediation: '_t__OAuthErrorCatalog::invalid_request::REMEDIATION' + retryable: 'no' + unauthorized_client: + http_status: + - 401 + - 403 + summary: '_t__OAuthErrorCatalog::unauthorized_client::SUMMARY' + cause: '_t__OAuthErrorCatalog::unauthorized_client::CAUSE' + remediation: '_t__OAuthErrorCatalog::unauthorized_client::REMEDIATION' + retryable: 'no' + unsupported_grant_type: + http_status: 400 + summary: '_t__OAuthErrorCatalog::unsupported_grant_type::SUMMARY' + cause: '_t__OAuthErrorCatalog::unsupported_grant_type::CAUSE' + remediation: '_t__OAuthErrorCatalog::unsupported_grant_type::REMEDIATION' + retryable: 'no' + payment_required: + http_status: 402 + summary: '_t__OAuthErrorCatalog::payment_required::SUMMARY' + cause: '_t__OAuthErrorCatalog::payment_required::CAUSE' + remediation: '_t__OAuthErrorCatalog::payment_required::REMEDIATION' + retryable: 'no' + addon_required: + http_status: 402 + summary: '_t__OAuthErrorCatalog::addon_required::SUMMARY' + cause: '_t__OAuthErrorCatalog::addon_required::CAUSE' + remediation: '_t__OAuthErrorCatalog::addon_required::REMEDIATION' + retryable: 'no' + invalid_scope: + http_status: 400 + summary: '_t__OAuthErrorCatalog::invalid_scope::SUMMARY' + cause: '_t__OAuthErrorCatalog::invalid_scope::CAUSE' + remediation: '_t__OAuthErrorCatalog::invalid_scope::REMEDIATION' + retryable: 'no' + quota_reached: + http_status: 402 + summary: '_t__OAuthErrorCatalog::quota_reached::SUMMARY' + cause: '_t__OAuthErrorCatalog::quota_reached::CAUSE' + remediation: '_t__OAuthErrorCatalog::quota_reached::REMEDIATION' + retryable: 'no' + server_error: + http_status: 500 + summary: '_t__OAuthErrorCatalog::server_error::SUMMARY' + cause: '_t__OAuthErrorCatalog::server_error::CAUSE' + remediation: '_t__OAuthErrorCatalog::server_error::REMEDIATION' + retryable: 'yes' + backoff: '_t__OAuthErrorCatalog::server_error::BACKOFF' + temporary_unavailable: + http_status: 503 + summary: '_t__OAuthErrorCatalog::temporary_unavailable::SUMMARY' + cause: '_t__OAuthErrorCatalog::temporary_unavailable::CAUSE' + remediation: '_t__OAuthErrorCatalog::temporary_unavailable::REMEDIATION' + retryable: 'yes' + backoff: '_t__OAuthErrorCatalog::temporary_unavailable::BACKOFF' +x-error-events: + signature_request_invalid: + event_type: signature_request_invalid + delivery: webhook + summary: '_t__ErrorEventCatalog::signature_request_invalid::SUMMARY' + cause: '_t__ErrorEventCatalog::signature_request_invalid::CAUSE' + remediation: '_t__ErrorEventCatalog::signature_request_invalid::REMEDIATION' + retryable: conditional + unknown_error: + event_type: unknown_error + delivery: webhook + summary: '_t__ErrorEventCatalog::unknown_error::SUMMARY' + cause: '_t__ErrorEventCatalog::unknown_error::CAUSE' + remediation: '_t__ErrorEventCatalog::unknown_error::REMEDIATION' + retryable: conditional + file_error: + event_type: file_error + delivery: webhook + summary: '_t__ErrorEventCatalog::file_error::SUMMARY' + cause: '_t__ErrorEventCatalog::file_error::CAUSE' + remediation: '_t__ErrorEventCatalog::file_error::REMEDIATION' + retryable: conditional + template_error: + event_type: template_error + delivery: webhook + summary: '_t__ErrorEventCatalog::template_error::SUMMARY' + cause: '_t__ErrorEventCatalog::template_error::CAUSE' + remediation: '_t__ErrorEventCatalog::template_error::REMEDIATION' + retryable: conditional + sign_url_invalid: + event_type: sign_url_invalid + delivery: webhook + summary: '_t__ErrorEventCatalog::sign_url_invalid::SUMMARY' + cause: '_t__ErrorEventCatalog::sign_url_invalid::CAUSE' + remediation: '_t__ErrorEventCatalog::sign_url_invalid::REMEDIATION' + retryable: 'yes' diff --git a/openapi-sdk.yaml b/openapi-sdk.yaml index ed174d3ca..d560b4008 100644 --- a/openapi-sdk.yaml +++ b/openapi-sdk.yaml @@ -5087,6 +5087,8 @@ paths: $ref: '#/components/examples/Error429Response' 404_example: $ref: '#/components/examples/Error404Response' + 409_example: + $ref: '#/components/examples/Error409Response' 4XX_example: $ref: '#/components/examples/Error4XXResponse' security: @@ -8553,6 +8555,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 +8804,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: '_t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS' + 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 +8953,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 +9312,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: '_t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS' + 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 +10673,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: '_t__TemplateCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS' + type: boolean + default: false type: object TemplateCreateEmbeddedDraftRequest: required: @@ -10797,6 +10819,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: '_t__TemplateCreateEmbeddedDraft::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS' + type: boolean + default: false type: object TemplateRemoveUserRequest: properties: @@ -10976,6 +11002,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: '_t__UnclaimedDraftCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS' + 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 +11196,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: '_t__UnclaimedDraftCreateEmbedded::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS' + 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. @@ -11945,6 +11979,68 @@ components: error_name: description: 'Name of the error.' type: string + enum: + - bad_request + - unauthorized + - payment_required + - forbidden + - not_found + - conflict + - exceeded_rate + - unknown + - team_invite_failed + - max_faxes + - invalid_recipient + - signature_request_cancel_failed + - signature_request_remove_failed + - maintenance + - method_not_supported + - invalid_reminder + - unavailable + - unprocessable_entity + - signature_request_expired + - deleted + x-fern-enum: + bad_request: + description: '_t__ErrorCatalog::bad_request::SUMMARY' + unauthorized: + description: '_t__ErrorCatalog::unauthorized::SUMMARY' + payment_required: + description: '_t__ErrorCatalog::payment_required::SUMMARY' + forbidden: + description: '_t__ErrorCatalog::forbidden::SUMMARY' + not_found: + description: '_t__ErrorCatalog::not_found::SUMMARY' + conflict: + description: '_t__ErrorCatalog::conflict::SUMMARY' + exceeded_rate: + description: '_t__ErrorCatalog::exceeded_rate::SUMMARY' + unknown: + description: '_t__ErrorCatalog::unknown::SUMMARY' + team_invite_failed: + description: '_t__ErrorCatalog::team_invite_failed::SUMMARY' + max_faxes: + description: '_t__ErrorCatalog::max_faxes::SUMMARY' + invalid_recipient: + description: '_t__ErrorCatalog::invalid_recipient::SUMMARY' + signature_request_cancel_failed: + description: '_t__ErrorCatalog::signature_request_cancel_failed::SUMMARY' + signature_request_remove_failed: + description: '_t__ErrorCatalog::signature_request_remove_failed::SUMMARY' + maintenance: + description: '_t__ErrorCatalog::maintenance::SUMMARY' + method_not_supported: + description: '_t__ErrorCatalog::method_not_supported::SUMMARY' + invalid_reminder: + description: '_t__ErrorCatalog::invalid_reminder::SUMMARY' + unavailable: + description: '_t__ErrorCatalog::unavailable::SUMMARY' + unprocessable_entity: + description: '_t__ErrorCatalog::unprocessable_entity::SUMMARY' + signature_request_expired: + description: '_t__ErrorCatalog::signature_request_expired::SUMMARY' + deleted: + description: '_t__ErrorCatalog::deleted::SUMMARY' type: object FaxResponse: required: @@ -13745,6 +13841,8 @@ components: template: $ref: '#/components/schemas/TemplateResponse' type: object + x-fern-audiences: + - events EventCallbackRequestEvent: description: 'Basic information about the event that occurred.' required: @@ -13788,6 +13886,8 @@ components: event_metadata: $ref: '#/components/schemas/EventCallbackRequestEventMetadata' type: object + x-fern-audiences: + - events EventCallbackRequestEventMetadata: description: 'Specific metadata about the event.' properties: @@ -13808,6 +13908,8 @@ components: type: string nullable: true type: object + x-fern-audiences: + - events responses: EventCallbackResponse: description: 'successful operation' @@ -13816,6 +13918,8 @@ components: schema: type: string default: 'Hello API Event Received' + x-fern-audiences: + - events examples: AccountCreateRequest: summary: 'Default Example' @@ -14317,22 +14421,170 @@ components: summary: 'Example: signature_request_sent' value: $ref: examples/json/EventCallbackAccountSignatureRequestSent.json + x-fern-audiences: + - events EventCallbackAccountTemplateCreated: summary: 'Example: template_created' value: $ref: examples/json/EventCallbackAccountTemplateCreated.json + x-fern-audiences: + - events EventCallbackAppAccountConfirmed: summary: 'Example: account_confirmed' value: $ref: examples/json/EventCallbackAppAccountConfirmed.json + x-fern-audiences: + - events EventCallbackAppSignatureRequestSent: summary: 'Example: signature_request_sent' value: $ref: examples/json/EventCallbackAppSignatureRequestSent.json + x-fern-audiences: + - events EventCallbackAppTemplateCreated: summary: 'Example: template_created' value: $ref: examples/json/EventCallbackAppTemplateCreated.json + x-fern-audiences: + - events + EventCallbackSignatureRequestViewed: + summary: '_t__EventCallbackSignatureRequestViewed::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestViewed.json + x-fern-audiences: + - events + EventCallbackSignatureRequestSigned: + summary: '_t__EventCallbackSignatureRequestSigned::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestSigned.json + x-fern-audiences: + - events + EventCallbackSignatureRequestSignerRemoved: + summary: '_t__EventCallbackSignatureRequestSignerRemoved::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestSignerRemoved.json + x-fern-audiences: + - events + EventCallbackSignatureRequestDownloadable: + summary: '_t__EventCallbackSignatureRequestDownloadable::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestDownloadable.json + x-fern-audiences: + - events + EventCallbackSignatureRequestSent: + summary: '_t__EventCallbackSignatureRequestSent::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestSent.json + x-fern-audiences: + - events + EventCallbackSignatureRequestAllSigned: + summary: '_t__EventCallbackSignatureRequestAllSigned::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestAllSigned.json + x-fern-audiences: + - events + EventCallbackSignatureRequestInvalid: + summary: '_t__EventCallbackSignatureRequestInvalid::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestInvalid.json + x-fern-audiences: + - events + EventCallbackSignatureRequestEmailBounce: + summary: '_t__EventCallbackSignatureRequestEmailBounce::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestEmailBounce.json + x-fern-audiences: + - events + EventCallbackSignatureRequestRemind: + summary: '_t__EventCallbackSignatureRequestRemind::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestRemind.json + x-fern-audiences: + - events + EventCallbackSignatureRequestIncompleteQes: + summary: '_t__EventCallbackSignatureRequestIncompleteQes::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestIncompleteQes.json + x-fern-audiences: + - events + EventCallbackSignatureRequestDestroyed: + summary: '_t__EventCallbackSignatureRequestDestroyed::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestDestroyed.json + x-fern-audiences: + - events + EventCallbackSignatureRequestCanceled: + summary: '_t__EventCallbackSignatureRequestCanceled::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestCanceled.json + x-fern-audiences: + - events + EventCallbackSignatureRequestDeclined: + summary: '_t__EventCallbackSignatureRequestDeclined::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestDeclined.json + x-fern-audiences: + - events + EventCallbackSignatureRequestExpired: + summary: '_t__EventCallbackSignatureRequestExpired::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestExpired.json + x-fern-audiences: + - events + EventCallbackSignatureRequestReassigned: + summary: '_t__EventCallbackSignatureRequestReassigned::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestReassigned.json + x-fern-audiences: + - events + EventCallbackSignatureRequestPrepared: + summary: '_t__EventCallbackSignatureRequestPrepared::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestPrepared.json + x-fern-audiences: + - events + EventCallbackAccountConfirmed: + summary: '_t__EventCallbackAccountConfirmed::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackAccountConfirmed.json + x-fern-audiences: + - events + EventCallbackUnknownError: + summary: '_t__EventCallbackUnknownError::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackUnknownError.json + x-fern-audiences: + - events + EventCallbackFileError: + summary: '_t__EventCallbackFileError::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackFileError.json + x-fern-audiences: + - events + EventCallbackTemplateCreated: + summary: '_t__EventCallbackTemplateCreated::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackTemplateCreated.json + x-fern-audiences: + - events + EventCallbackTemplateError: + summary: '_t__EventCallbackTemplateError::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackTemplateError.json + x-fern-audiences: + - events + EventCallbackSignUrlInvalid: + summary: '_t__EventCallbackSignUrlInvalid::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignUrlInvalid.json + x-fern-audiences: + - events + EventCallbackCallbackTest: + summary: '_t__EventCallbackCallbackTest::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackCallbackTest.json + x-fern-audiences: + - events requestBodies: EventCallbackAccountRequest: description: |- @@ -14410,100 +14662,242 @@ security: externalDocs: description: 'Legacy API Reference' url: 'https://app.hellosign.com/api/reference' -x-webhooks: - accountCallback: - post: - summary: 'Account Callbacks' - operationId: accountUpdateEventCallback - description: - $ref: ./markdown/en/descriptions/account-callback-description.md - x-meta: - seo: - title: 'Account Callbacks | API Documentation | Dropbox Sign for Developers' - description: 'The Dropbox Sign API allows you to build with a wide range of tools. To find out how to consume Dropbox Sign Events at the account level, click here.' - x-codeSamples: - - - lang: PHP - label: PHP - source: - $ref: examples/EventCallbackExample.php - - - lang: 'C#' - label: 'C#' - source: - $ref: examples/EventCallbackExample.cs - - - lang: TypeScript - label: TypeScript - source: - $ref: examples/EventCallbackExample.ts - - - lang: Java - label: Java - source: - $ref: examples/EventCallbackExample.java - - - lang: Ruby - label: Ruby - source: - $ref: examples/EventCallbackExample.rb - - - lang: Python - label: Python - source: - $ref: examples/EventCallbackExample.py - tags: - - 'Callbacks and Events' - requestBody: - $ref: '#/components/requestBodies/EventCallbackAccountRequest' - responses: - 200: - $ref: '#/components/responses/EventCallbackResponse' - appCallback: - post: - summary: 'App Callbacks' - description: - $ref: ./markdown/en/descriptions/api-app-callback-description.md - operationId: apiAppCreateEventCallback - x-meta: - seo: - title: 'App Callbacks | API Documentation | Dropbox Sign for Developers' - description: 'The Dropbox Sign API allows you to build with a wide range of tools. To find out how to consume Dropbox Sign Events at the App level, click here.' - x-codeSamples: - - - lang: PHP - label: PHP - source: - $ref: examples/EventCallbackExample.php - - - lang: 'C#' - label: 'C#' - source: - $ref: examples/EventCallbackExample.cs - - - lang: TypeScript - label: TypeScript - source: - $ref: examples/EventCallbackExample.ts - - - lang: Java - label: Java - source: - $ref: examples/EventCallbackExample.java - - - lang: Ruby - label: Ruby - source: - $ref: examples/EventCallbackExample.rb - - - lang: Python - label: Python - source: - $ref: examples/EventCallbackExample.py - tags: - - 'Callbacks and Events' - requestBody: - $ref: '#/components/requestBodies/EventCallbackAppRequest' - responses: - 200: - $ref: '#/components/responses/EventCallbackResponse' +x-webhooks: [] +x-error-codes: + bad_request: + http_status: 400 + summary: '_t__ErrorCatalog::bad_request::SUMMARY' + cause: '_t__ErrorCatalog::bad_request::CAUSE' + remediation: '_t__ErrorCatalog::bad_request::REMEDIATION' + retryable: 'no' + unauthorized: + http_status: 401 + summary: '_t__ErrorCatalog::unauthorized::SUMMARY' + cause: '_t__ErrorCatalog::unauthorized::CAUSE' + remediation: '_t__ErrorCatalog::unauthorized::REMEDIATION' + retryable: 'no' + payment_required: + http_status: 402 + summary: '_t__ErrorCatalog::payment_required::SUMMARY' + cause: '_t__ErrorCatalog::payment_required::CAUSE' + remediation: '_t__ErrorCatalog::payment_required::REMEDIATION' + retryable: 'no' + forbidden: + http_status: 403 + summary: '_t__ErrorCatalog::forbidden::SUMMARY' + cause: '_t__ErrorCatalog::forbidden::CAUSE' + remediation: '_t__ErrorCatalog::forbidden::REMEDIATION' + retryable: 'no' + not_found: + http_status: 404 + summary: '_t__ErrorCatalog::not_found::SUMMARY' + cause: '_t__ErrorCatalog::not_found::CAUSE' + remediation: '_t__ErrorCatalog::not_found::REMEDIATION' + retryable: 'no' + conflict: + http_status: 409 + summary: '_t__ErrorCatalog::conflict::SUMMARY' + cause: '_t__ErrorCatalog::conflict::CAUSE' + remediation: '_t__ErrorCatalog::conflict::REMEDIATION' + retryable: conditional + exceeded_rate: + http_status: 429 + summary: '_t__ErrorCatalog::exceeded_rate::SUMMARY' + cause: '_t__ErrorCatalog::exceeded_rate::CAUSE' + remediation: '_t__ErrorCatalog::exceeded_rate::REMEDIATION' + retryable: 'yes' + backoff: '_t__ErrorCatalog::exceeded_rate::BACKOFF' + unknown: + http_status: 500 + summary: '_t__ErrorCatalog::unknown::SUMMARY' + cause: '_t__ErrorCatalog::unknown::CAUSE' + remediation: '_t__ErrorCatalog::unknown::REMEDIATION' + retryable: conditional + backoff: '_t__ErrorCatalog::unknown::BACKOFF' + team_invite_failed: + http_status: 403 + summary: '_t__ErrorCatalog::team_invite_failed::SUMMARY' + cause: '_t__ErrorCatalog::team_invite_failed::CAUSE' + remediation: '_t__ErrorCatalog::team_invite_failed::REMEDIATION' + retryable: 'no' + max_faxes: + http_status: 429 + summary: '_t__ErrorCatalog::max_faxes::SUMMARY' + cause: '_t__ErrorCatalog::max_faxes::CAUSE' + remediation: '_t__ErrorCatalog::max_faxes::REMEDIATION' + retryable: 'yes' + backoff: '_t__ErrorCatalog::max_faxes::BACKOFF' + invalid_recipient: + http_status: 400 + summary: '_t__ErrorCatalog::invalid_recipient::SUMMARY' + cause: '_t__ErrorCatalog::invalid_recipient::CAUSE' + remediation: '_t__ErrorCatalog::invalid_recipient::REMEDIATION' + retryable: 'no' + signature_request_cancel_failed: + http_status: 400 + summary: '_t__ErrorCatalog::signature_request_cancel_failed::SUMMARY' + cause: '_t__ErrorCatalog::signature_request_cancel_failed::CAUSE' + remediation: '_t__ErrorCatalog::signature_request_cancel_failed::REMEDIATION' + retryable: 'no' + signature_request_remove_failed: + http_status: 400 + summary: '_t__ErrorCatalog::signature_request_remove_failed::SUMMARY' + cause: '_t__ErrorCatalog::signature_request_remove_failed::CAUSE' + remediation: '_t__ErrorCatalog::signature_request_remove_failed::REMEDIATION' + retryable: 'no' + maintenance: + http_status: 503 + summary: '_t__ErrorCatalog::maintenance::SUMMARY' + cause: '_t__ErrorCatalog::maintenance::CAUSE' + remediation: '_t__ErrorCatalog::maintenance::REMEDIATION' + retryable: 'yes' + backoff: '_t__ErrorCatalog::maintenance::BACKOFF' + method_not_supported: + http_status: 405 + summary: '_t__ErrorCatalog::method_not_supported::SUMMARY' + cause: '_t__ErrorCatalog::method_not_supported::CAUSE' + remediation: '_t__ErrorCatalog::method_not_supported::REMEDIATION' + retryable: 'no' + invalid_reminder: + http_status: 400 + summary: '_t__ErrorCatalog::invalid_reminder::SUMMARY' + cause: '_t__ErrorCatalog::invalid_reminder::CAUSE' + remediation: '_t__ErrorCatalog::invalid_reminder::REMEDIATION' + retryable: 'no' + unavailable: + http_status: 503 + summary: '_t__ErrorCatalog::unavailable::SUMMARY' + cause: '_t__ErrorCatalog::unavailable::CAUSE' + remediation: '_t__ErrorCatalog::unavailable::REMEDIATION' + retryable: 'yes' + backoff: '_t__ErrorCatalog::unavailable::BACKOFF' + unprocessable_entity: + http_status: 422 + summary: '_t__ErrorCatalog::unprocessable_entity::SUMMARY' + cause: '_t__ErrorCatalog::unprocessable_entity::CAUSE' + remediation: '_t__ErrorCatalog::unprocessable_entity::REMEDIATION' + retryable: conditional + backoff: '_t__ErrorCatalog::unprocessable_entity::BACKOFF' + signature_request_expired: + http_status: + - 400 + - 403 + summary: '_t__ErrorCatalog::signature_request_expired::SUMMARY' + cause: '_t__ErrorCatalog::signature_request_expired::CAUSE' + remediation: '_t__ErrorCatalog::signature_request_expired::REMEDIATION' + retryable: 'no' + deleted: + http_status: 410 + summary: '_t__ErrorCatalog::deleted::SUMMARY' + cause: '_t__ErrorCatalog::deleted::CAUSE' + remediation: '_t__ErrorCatalog::deleted::REMEDIATION' + retryable: 'no' +x-oauth-error-codes: + invalid_grant: + http_status: + - 400 + - 401 + summary: '_t__OAuthErrorCatalog::invalid_grant::SUMMARY' + cause: '_t__OAuthErrorCatalog::invalid_grant::CAUSE' + remediation: '_t__OAuthErrorCatalog::invalid_grant::REMEDIATION' + retryable: 'no' + invalid_client: + http_status: 400 + summary: '_t__OAuthErrorCatalog::invalid_client::SUMMARY' + cause: '_t__OAuthErrorCatalog::invalid_client::CAUSE' + remediation: '_t__OAuthErrorCatalog::invalid_client::REMEDIATION' + retryable: 'no' + invalid_request: + http_status: 400 + summary: '_t__OAuthErrorCatalog::invalid_request::SUMMARY' + cause: '_t__OAuthErrorCatalog::invalid_request::CAUSE' + remediation: '_t__OAuthErrorCatalog::invalid_request::REMEDIATION' + retryable: 'no' + unauthorized_client: + http_status: + - 401 + - 403 + summary: '_t__OAuthErrorCatalog::unauthorized_client::SUMMARY' + cause: '_t__OAuthErrorCatalog::unauthorized_client::CAUSE' + remediation: '_t__OAuthErrorCatalog::unauthorized_client::REMEDIATION' + retryable: 'no' + unsupported_grant_type: + http_status: 400 + summary: '_t__OAuthErrorCatalog::unsupported_grant_type::SUMMARY' + cause: '_t__OAuthErrorCatalog::unsupported_grant_type::CAUSE' + remediation: '_t__OAuthErrorCatalog::unsupported_grant_type::REMEDIATION' + retryable: 'no' + payment_required: + http_status: 402 + summary: '_t__OAuthErrorCatalog::payment_required::SUMMARY' + cause: '_t__OAuthErrorCatalog::payment_required::CAUSE' + remediation: '_t__OAuthErrorCatalog::payment_required::REMEDIATION' + retryable: 'no' + addon_required: + http_status: 402 + summary: '_t__OAuthErrorCatalog::addon_required::SUMMARY' + cause: '_t__OAuthErrorCatalog::addon_required::CAUSE' + remediation: '_t__OAuthErrorCatalog::addon_required::REMEDIATION' + retryable: 'no' + invalid_scope: + http_status: 400 + summary: '_t__OAuthErrorCatalog::invalid_scope::SUMMARY' + cause: '_t__OAuthErrorCatalog::invalid_scope::CAUSE' + remediation: '_t__OAuthErrorCatalog::invalid_scope::REMEDIATION' + retryable: 'no' + quota_reached: + http_status: 402 + summary: '_t__OAuthErrorCatalog::quota_reached::SUMMARY' + cause: '_t__OAuthErrorCatalog::quota_reached::CAUSE' + remediation: '_t__OAuthErrorCatalog::quota_reached::REMEDIATION' + retryable: 'no' + server_error: + http_status: 500 + summary: '_t__OAuthErrorCatalog::server_error::SUMMARY' + cause: '_t__OAuthErrorCatalog::server_error::CAUSE' + remediation: '_t__OAuthErrorCatalog::server_error::REMEDIATION' + retryable: 'yes' + backoff: '_t__OAuthErrorCatalog::server_error::BACKOFF' + temporary_unavailable: + http_status: 503 + summary: '_t__OAuthErrorCatalog::temporary_unavailable::SUMMARY' + cause: '_t__OAuthErrorCatalog::temporary_unavailable::CAUSE' + remediation: '_t__OAuthErrorCatalog::temporary_unavailable::REMEDIATION' + retryable: 'yes' + backoff: '_t__OAuthErrorCatalog::temporary_unavailable::BACKOFF' +x-error-events: + signature_request_invalid: + event_type: signature_request_invalid + delivery: webhook + summary: '_t__ErrorEventCatalog::signature_request_invalid::SUMMARY' + cause: '_t__ErrorEventCatalog::signature_request_invalid::CAUSE' + remediation: '_t__ErrorEventCatalog::signature_request_invalid::REMEDIATION' + retryable: conditional + unknown_error: + event_type: unknown_error + delivery: webhook + summary: '_t__ErrorEventCatalog::unknown_error::SUMMARY' + cause: '_t__ErrorEventCatalog::unknown_error::CAUSE' + remediation: '_t__ErrorEventCatalog::unknown_error::REMEDIATION' + retryable: conditional + file_error: + event_type: file_error + delivery: webhook + summary: '_t__ErrorEventCatalog::file_error::SUMMARY' + cause: '_t__ErrorEventCatalog::file_error::CAUSE' + remediation: '_t__ErrorEventCatalog::file_error::REMEDIATION' + retryable: conditional + template_error: + event_type: template_error + delivery: webhook + summary: '_t__ErrorEventCatalog::template_error::SUMMARY' + cause: '_t__ErrorEventCatalog::template_error::CAUSE' + remediation: '_t__ErrorEventCatalog::template_error::REMEDIATION' + retryable: conditional + sign_url_invalid: + event_type: sign_url_invalid + delivery: webhook + summary: '_t__ErrorEventCatalog::sign_url_invalid::SUMMARY' + cause: '_t__ErrorEventCatalog::sign_url_invalid::CAUSE' + remediation: '_t__ErrorEventCatalog::sign_url_invalid::REMEDIATION' + retryable: 'yes' diff --git a/openapi.yaml b/openapi.yaml index 41e64091d..f153897df 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -5087,6 +5087,8 @@ paths: $ref: '#/components/examples/Error429Response' 404_example: $ref: '#/components/examples/Error404Response' + 409_example: + $ref: '#/components/examples/Error409Response' 4XX_example: $ref: '#/components/examples/Error4XXResponse' security: @@ -8553,6 +8555,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. @@ -11925,6 +11931,68 @@ components: error_name: description: 'Name of the error.' type: string + enum: + - bad_request + - unauthorized + - payment_required + - forbidden + - not_found + - conflict + - exceeded_rate + - unknown + - team_invite_failed + - max_faxes + - invalid_recipient + - signature_request_cancel_failed + - signature_request_remove_failed + - maintenance + - method_not_supported + - invalid_reminder + - unavailable + - unprocessable_entity + - signature_request_expired + - deleted + x-fern-enum: + bad_request: + description: '_t__ErrorCatalog::bad_request::SUMMARY' + unauthorized: + description: '_t__ErrorCatalog::unauthorized::SUMMARY' + payment_required: + description: '_t__ErrorCatalog::payment_required::SUMMARY' + forbidden: + description: '_t__ErrorCatalog::forbidden::SUMMARY' + not_found: + description: '_t__ErrorCatalog::not_found::SUMMARY' + conflict: + description: '_t__ErrorCatalog::conflict::SUMMARY' + exceeded_rate: + description: '_t__ErrorCatalog::exceeded_rate::SUMMARY' + unknown: + description: '_t__ErrorCatalog::unknown::SUMMARY' + team_invite_failed: + description: '_t__ErrorCatalog::team_invite_failed::SUMMARY' + max_faxes: + description: '_t__ErrorCatalog::max_faxes::SUMMARY' + invalid_recipient: + description: '_t__ErrorCatalog::invalid_recipient::SUMMARY' + signature_request_cancel_failed: + description: '_t__ErrorCatalog::signature_request_cancel_failed::SUMMARY' + signature_request_remove_failed: + description: '_t__ErrorCatalog::signature_request_remove_failed::SUMMARY' + maintenance: + description: '_t__ErrorCatalog::maintenance::SUMMARY' + method_not_supported: + description: '_t__ErrorCatalog::method_not_supported::SUMMARY' + invalid_reminder: + description: '_t__ErrorCatalog::invalid_reminder::SUMMARY' + unavailable: + description: '_t__ErrorCatalog::unavailable::SUMMARY' + unprocessable_entity: + description: '_t__ErrorCatalog::unprocessable_entity::SUMMARY' + signature_request_expired: + description: '_t__ErrorCatalog::signature_request_expired::SUMMARY' + deleted: + description: '_t__ErrorCatalog::deleted::SUMMARY' type: object FaxResponse: required: @@ -13731,6 +13799,8 @@ components: template: $ref: '#/components/schemas/TemplateResponse' type: object + x-fern-audiences: + - events EventCallbackRequestEvent: description: 'Basic information about the event that occurred.' required: @@ -13774,6 +13844,8 @@ components: event_metadata: $ref: '#/components/schemas/EventCallbackRequestEventMetadata' type: object + x-fern-audiences: + - events EventCallbackRequestEventMetadata: description: 'Specific metadata about the event.' properties: @@ -13794,6 +13866,518 @@ components: type: string nullable: true type: object + x-fern-audiences: + - events + EventCallbackSignatureRequestViewed: + title: '_t__EventCallbackSignatureRequestViewed::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [signature_request_viewed] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + EventCallbackSignatureRequestSigned: + title: '_t__EventCallbackSignatureRequestSigned::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [signature_request_signed] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + EventCallbackSignatureRequestSignerRemoved: + title: '_t__EventCallbackSignatureRequestSignerRemoved::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [signature_request_signer_removed] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + EventCallbackSignatureRequestDownloadable: + title: '_t__EventCallbackSignatureRequestDownloadable::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [signature_request_downloadable] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + EventCallbackSignatureRequestSent: + title: '_t__EventCallbackSignatureRequestSent::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [signature_request_sent] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + EventCallbackSignatureRequestAllSigned: + title: '_t__EventCallbackSignatureRequestAllSigned::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [signature_request_all_signed] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + EventCallbackSignatureRequestInvalid: + title: '_t__EventCallbackSignatureRequestInvalid::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [signature_request_invalid] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + EventCallbackSignatureRequestEmailBounce: + title: '_t__EventCallbackSignatureRequestEmailBounce::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [signature_request_email_bounce] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + EventCallbackSignatureRequestRemind: + title: '_t__EventCallbackSignatureRequestRemind::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [signature_request_remind] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + EventCallbackSignatureRequestIncompleteQes: + title: '_t__EventCallbackSignatureRequestIncompleteQes::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [signature_request_incomplete_qes] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + EventCallbackSignatureRequestDestroyed: + title: '_t__EventCallbackSignatureRequestDestroyed::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [signature_request_destroyed] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + EventCallbackSignatureRequestCanceled: + title: '_t__EventCallbackSignatureRequestCanceled::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [signature_request_canceled] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + EventCallbackSignatureRequestDeclined: + title: '_t__EventCallbackSignatureRequestDeclined::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [signature_request_declined] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + EventCallbackSignatureRequestExpired: + title: '_t__EventCallbackSignatureRequestExpired::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [signature_request_expired] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + EventCallbackSignatureRequestReassigned: + title: '_t__EventCallbackSignatureRequestReassigned::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [signature_request_reassigned] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + EventCallbackSignatureRequestPrepared: + title: '_t__EventCallbackSignatureRequestPrepared::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [signature_request_prepared] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + EventCallbackAccountConfirmed: + title: '_t__EventCallbackAccountConfirmed::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [account_confirmed] + type: object + account: + $ref: '#/components/schemas/AccountResponse' + type: object + x-fern-audiences: + - events + EventCallbackUnknownError: + title: '_t__EventCallbackUnknownError::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [unknown_error] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + EventCallbackFileError: + title: '_t__EventCallbackFileError::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [file_error] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + EventCallbackTemplateCreated: + title: '_t__EventCallbackTemplateCreated::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [template_created] + type: object + template: + $ref: '#/components/schemas/TemplateResponse' + type: object + x-fern-audiences: + - events + EventCallbackTemplateError: + title: '_t__EventCallbackTemplateError::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [template_error] + type: object + template: + $ref: '#/components/schemas/TemplateResponse' + type: object + x-fern-audiences: + - events + EventCallbackSignUrlInvalid: + title: '_t__EventCallbackSignUrlInvalid::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [sign_url_invalid] + type: object + signature_request: + $ref: '#/components/schemas/SignatureRequestResponse' + type: object + x-fern-audiences: + - events + EventCallbackCallbackTest: + title: '_t__EventCallbackCallbackTest::EVENT_TITLE' + required: + - event + properties: + event: + allOf: + - + $ref: '#/components/schemas/EventCallbackRequestEvent' + - + properties: + event_type: + type: string + enum: [callback_test] + type: object + type: object + x-fern-audiences: + - events + EventCallbackPayload: + title: 'Event Callback Payload' + description: 'JSON payload delivered for a webhook event. The concrete shape is selected by `event.event_type`.' + oneOf: + - + $ref: '#/components/schemas/EventCallbackSignatureRequestViewed' + - + $ref: '#/components/schemas/EventCallbackSignatureRequestSigned' + - + $ref: '#/components/schemas/EventCallbackSignatureRequestSignerRemoved' + - + $ref: '#/components/schemas/EventCallbackSignatureRequestDownloadable' + - + $ref: '#/components/schemas/EventCallbackSignatureRequestSent' + - + $ref: '#/components/schemas/EventCallbackSignatureRequestAllSigned' + - + $ref: '#/components/schemas/EventCallbackSignatureRequestInvalid' + - + $ref: '#/components/schemas/EventCallbackSignatureRequestEmailBounce' + - + $ref: '#/components/schemas/EventCallbackSignatureRequestRemind' + - + $ref: '#/components/schemas/EventCallbackSignatureRequestIncompleteQes' + - + $ref: '#/components/schemas/EventCallbackSignatureRequestDestroyed' + - + $ref: '#/components/schemas/EventCallbackSignatureRequestCanceled' + - + $ref: '#/components/schemas/EventCallbackSignatureRequestDeclined' + - + $ref: '#/components/schemas/EventCallbackSignatureRequestExpired' + - + $ref: '#/components/schemas/EventCallbackSignatureRequestReassigned' + - + $ref: '#/components/schemas/EventCallbackSignatureRequestPrepared' + - + $ref: '#/components/schemas/EventCallbackAccountConfirmed' + - + $ref: '#/components/schemas/EventCallbackUnknownError' + - + $ref: '#/components/schemas/EventCallbackFileError' + - + $ref: '#/components/schemas/EventCallbackTemplateCreated' + - + $ref: '#/components/schemas/EventCallbackTemplateError' + - + $ref: '#/components/schemas/EventCallbackSignUrlInvalid' + - + $ref: '#/components/schemas/EventCallbackCallbackTest' + x-fern-audiences: + - events responses: EventCallbackResponse: description: 'successful operation' @@ -13802,6 +14386,8 @@ components: schema: type: string default: 'Hello API Event Received' + x-fern-audiences: + - events examples: AccountCreateRequest: summary: 'Default Example' @@ -14303,22 +14889,170 @@ components: summary: 'Example: signature_request_sent' value: $ref: examples/json/EventCallbackAccountSignatureRequestSent.json + x-fern-audiences: + - events EventCallbackAccountTemplateCreated: summary: 'Example: template_created' value: $ref: examples/json/EventCallbackAccountTemplateCreated.json + x-fern-audiences: + - events EventCallbackAppAccountConfirmed: summary: 'Example: account_confirmed' value: $ref: examples/json/EventCallbackAppAccountConfirmed.json + x-fern-audiences: + - events EventCallbackAppSignatureRequestSent: summary: 'Example: signature_request_sent' value: $ref: examples/json/EventCallbackAppSignatureRequestSent.json + x-fern-audiences: + - events EventCallbackAppTemplateCreated: summary: 'Example: template_created' value: $ref: examples/json/EventCallbackAppTemplateCreated.json + x-fern-audiences: + - events + EventCallbackSignatureRequestViewed: + summary: '_t__EventCallbackSignatureRequestViewed::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestViewed.json + x-fern-audiences: + - events + EventCallbackSignatureRequestSigned: + summary: '_t__EventCallbackSignatureRequestSigned::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestSigned.json + x-fern-audiences: + - events + EventCallbackSignatureRequestSignerRemoved: + summary: '_t__EventCallbackSignatureRequestSignerRemoved::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestSignerRemoved.json + x-fern-audiences: + - events + EventCallbackSignatureRequestDownloadable: + summary: '_t__EventCallbackSignatureRequestDownloadable::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestDownloadable.json + x-fern-audiences: + - events + EventCallbackSignatureRequestSent: + summary: '_t__EventCallbackSignatureRequestSent::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestSent.json + x-fern-audiences: + - events + EventCallbackSignatureRequestAllSigned: + summary: '_t__EventCallbackSignatureRequestAllSigned::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestAllSigned.json + x-fern-audiences: + - events + EventCallbackSignatureRequestInvalid: + summary: '_t__EventCallbackSignatureRequestInvalid::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestInvalid.json + x-fern-audiences: + - events + EventCallbackSignatureRequestEmailBounce: + summary: '_t__EventCallbackSignatureRequestEmailBounce::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestEmailBounce.json + x-fern-audiences: + - events + EventCallbackSignatureRequestRemind: + summary: '_t__EventCallbackSignatureRequestRemind::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestRemind.json + x-fern-audiences: + - events + EventCallbackSignatureRequestIncompleteQes: + summary: '_t__EventCallbackSignatureRequestIncompleteQes::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestIncompleteQes.json + x-fern-audiences: + - events + EventCallbackSignatureRequestDestroyed: + summary: '_t__EventCallbackSignatureRequestDestroyed::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestDestroyed.json + x-fern-audiences: + - events + EventCallbackSignatureRequestCanceled: + summary: '_t__EventCallbackSignatureRequestCanceled::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestCanceled.json + x-fern-audiences: + - events + EventCallbackSignatureRequestDeclined: + summary: '_t__EventCallbackSignatureRequestDeclined::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestDeclined.json + x-fern-audiences: + - events + EventCallbackSignatureRequestExpired: + summary: '_t__EventCallbackSignatureRequestExpired::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestExpired.json + x-fern-audiences: + - events + EventCallbackSignatureRequestReassigned: + summary: '_t__EventCallbackSignatureRequestReassigned::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestReassigned.json + x-fern-audiences: + - events + EventCallbackSignatureRequestPrepared: + summary: '_t__EventCallbackSignatureRequestPrepared::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignatureRequestPrepared.json + x-fern-audiences: + - events + EventCallbackAccountConfirmed: + summary: '_t__EventCallbackAccountConfirmed::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackAccountConfirmed.json + x-fern-audiences: + - events + EventCallbackUnknownError: + summary: '_t__EventCallbackUnknownError::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackUnknownError.json + x-fern-audiences: + - events + EventCallbackFileError: + summary: '_t__EventCallbackFileError::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackFileError.json + x-fern-audiences: + - events + EventCallbackTemplateCreated: + summary: '_t__EventCallbackTemplateCreated::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackTemplateCreated.json + x-fern-audiences: + - events + EventCallbackTemplateError: + summary: '_t__EventCallbackTemplateError::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackTemplateError.json + x-fern-audiences: + - events + EventCallbackSignUrlInvalid: + summary: '_t__EventCallbackSignUrlInvalid::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackSignUrlInvalid.json + x-fern-audiences: + - events + EventCallbackCallbackTest: + summary: '_t__EventCallbackCallbackTest::EVENT_EXAMPLE_SUMMARY' + value: + $ref: examples/json/EventCallbackCallbackTest.json + x-fern-audiences: + - events requestBodies: EventCallbackAccountRequest: description: |- @@ -14452,93 +15186,379 @@ x-webhooks: operationId: accountUpdateEventCallback description: $ref: ./markdown/en/descriptions/account-callback-description.md + tags: + - 'Callbacks and Events' x-meta: seo: title: 'Account Callbacks | API Documentation | Dropbox Sign for Developers' description: 'The Dropbox Sign API allows you to build with a wide range of tools. To find out how to consume Dropbox Sign Events at the account level, click here.' - x-codeSamples: - - - lang: PHP - label: PHP - source: - $ref: examples/EventCallbackExample.php - - - lang: 'C#' - label: 'C#' - source: - $ref: examples/EventCallbackExample.cs - - - lang: TypeScript - label: TypeScript - source: - $ref: examples/EventCallbackExample.ts - - - lang: Java - label: Java - source: - $ref: examples/EventCallbackExample.java - - - lang: Ruby - label: Ruby - source: - $ref: examples/EventCallbackExample.rb - - - lang: Python - label: Python - source: - $ref: examples/EventCallbackExample.py - tags: - - 'Callbacks and Events' + x-fern-audiences: + - events requestBody: - $ref: '#/components/requestBodies/EventCallbackAccountRequest' + description: |- + **Account Callback Payloads --** + Events that are reported at the Account level through the the *Account callback URL* defined in your [API settings](https://app.hellosign.com/home/myAccount#api). The *Account callback URL* can also be updated by calling [Update Account](/api/reference/operation/accountUpdate) and passing a `callback_url`. + content: + application/json: + schema: + $ref: '#/components/schemas/EventCallbackPayload' + examples: + signature_request_viewed_example: + $ref: '#/components/examples/EventCallbackSignatureRequestViewed' + signature_request_signed_example: + $ref: '#/components/examples/EventCallbackSignatureRequestSigned' + signature_request_signer_removed_example: + $ref: '#/components/examples/EventCallbackSignatureRequestSignerRemoved' + signature_request_downloadable_example: + $ref: '#/components/examples/EventCallbackSignatureRequestDownloadable' + signature_request_sent_example: + $ref: '#/components/examples/EventCallbackSignatureRequestSent' + signature_request_all_signed_example: + $ref: '#/components/examples/EventCallbackSignatureRequestAllSigned' + signature_request_invalid_example: + $ref: '#/components/examples/EventCallbackSignatureRequestInvalid' + signature_request_email_bounce_example: + $ref: '#/components/examples/EventCallbackSignatureRequestEmailBounce' + signature_request_remind_example: + $ref: '#/components/examples/EventCallbackSignatureRequestRemind' + signature_request_incomplete_qes_example: + $ref: '#/components/examples/EventCallbackSignatureRequestIncompleteQes' + signature_request_destroyed_example: + $ref: '#/components/examples/EventCallbackSignatureRequestDestroyed' + signature_request_canceled_example: + $ref: '#/components/examples/EventCallbackSignatureRequestCanceled' + signature_request_declined_example: + $ref: '#/components/examples/EventCallbackSignatureRequestDeclined' + signature_request_expired_example: + $ref: '#/components/examples/EventCallbackSignatureRequestExpired' + signature_request_reassigned_example: + $ref: '#/components/examples/EventCallbackSignatureRequestReassigned' + signature_request_prepared_example: + $ref: '#/components/examples/EventCallbackSignatureRequestPrepared' + account_confirmed_example: + $ref: '#/components/examples/EventCallbackAccountConfirmed' + unknown_error_example: + $ref: '#/components/examples/EventCallbackUnknownError' + file_error_example: + $ref: '#/components/examples/EventCallbackFileError' + template_created_example: + $ref: '#/components/examples/EventCallbackTemplateCreated' + template_error_example: + $ref: '#/components/examples/EventCallbackTemplateError' + sign_url_invalid_example: + $ref: '#/components/examples/EventCallbackSignUrlInvalid' + callback_test_example: + $ref: '#/components/examples/EventCallbackCallbackTest' responses: 200: $ref: '#/components/responses/EventCallbackResponse' appCallback: post: summary: 'App Callbacks' + operationId: apiAppCreateEventCallback description: $ref: ./markdown/en/descriptions/api-app-callback-description.md - operationId: apiAppCreateEventCallback + tags: + - 'Callbacks and Events' x-meta: seo: title: 'App Callbacks | API Documentation | Dropbox Sign for Developers' description: 'The Dropbox Sign API allows you to build with a wide range of tools. To find out how to consume Dropbox Sign Events at the App level, click here.' - x-codeSamples: - - - lang: PHP - label: PHP - source: - $ref: examples/EventCallbackExample.php - - - lang: 'C#' - label: 'C#' - source: - $ref: examples/EventCallbackExample.cs - - - lang: TypeScript - label: TypeScript - source: - $ref: examples/EventCallbackExample.ts - - - lang: Java - label: Java - source: - $ref: examples/EventCallbackExample.java - - - lang: Ruby - label: Ruby - source: - $ref: examples/EventCallbackExample.rb - - - lang: Python - label: Python - source: - $ref: examples/EventCallbackExample.py - tags: - - 'Callbacks and Events' + x-fern-audiences: + - events requestBody: - $ref: '#/components/requestBodies/EventCallbackAppRequest' + description: |- + **API App Callback Payloads --** + Events that are reported at the API App level through the *Event callback URL* defined in your [API settings](https://app.hellosign.com/home/myAccount#api) for a specific app. The *Event callback URL* can also be updated by calling [Update API App](/api/reference/operation/apiAppUpdate) and passing a `callback_url`. + content: + application/json: + schema: + $ref: '#/components/schemas/EventCallbackPayload' + examples: + signature_request_viewed_example: + $ref: '#/components/examples/EventCallbackSignatureRequestViewed' + signature_request_signed_example: + $ref: '#/components/examples/EventCallbackSignatureRequestSigned' + signature_request_signer_removed_example: + $ref: '#/components/examples/EventCallbackSignatureRequestSignerRemoved' + signature_request_downloadable_example: + $ref: '#/components/examples/EventCallbackSignatureRequestDownloadable' + signature_request_sent_example: + $ref: '#/components/examples/EventCallbackSignatureRequestSent' + signature_request_all_signed_example: + $ref: '#/components/examples/EventCallbackSignatureRequestAllSigned' + signature_request_invalid_example: + $ref: '#/components/examples/EventCallbackSignatureRequestInvalid' + signature_request_email_bounce_example: + $ref: '#/components/examples/EventCallbackSignatureRequestEmailBounce' + signature_request_remind_example: + $ref: '#/components/examples/EventCallbackSignatureRequestRemind' + signature_request_incomplete_qes_example: + $ref: '#/components/examples/EventCallbackSignatureRequestIncompleteQes' + signature_request_destroyed_example: + $ref: '#/components/examples/EventCallbackSignatureRequestDestroyed' + signature_request_canceled_example: + $ref: '#/components/examples/EventCallbackSignatureRequestCanceled' + signature_request_declined_example: + $ref: '#/components/examples/EventCallbackSignatureRequestDeclined' + signature_request_expired_example: + $ref: '#/components/examples/EventCallbackSignatureRequestExpired' + signature_request_reassigned_example: + $ref: '#/components/examples/EventCallbackSignatureRequestReassigned' + signature_request_prepared_example: + $ref: '#/components/examples/EventCallbackSignatureRequestPrepared' + account_confirmed_example: + $ref: '#/components/examples/EventCallbackAccountConfirmed' + unknown_error_example: + $ref: '#/components/examples/EventCallbackUnknownError' + file_error_example: + $ref: '#/components/examples/EventCallbackFileError' + template_created_example: + $ref: '#/components/examples/EventCallbackTemplateCreated' + template_error_example: + $ref: '#/components/examples/EventCallbackTemplateError' + sign_url_invalid_example: + $ref: '#/components/examples/EventCallbackSignUrlInvalid' + callback_test_example: + $ref: '#/components/examples/EventCallbackCallbackTest' responses: 200: $ref: '#/components/responses/EventCallbackResponse' +x-error-codes: + bad_request: + http_status: 400 + summary: '_t__ErrorCatalog::bad_request::SUMMARY' + cause: '_t__ErrorCatalog::bad_request::CAUSE' + remediation: '_t__ErrorCatalog::bad_request::REMEDIATION' + retryable: 'no' + unauthorized: + http_status: 401 + summary: '_t__ErrorCatalog::unauthorized::SUMMARY' + cause: '_t__ErrorCatalog::unauthorized::CAUSE' + remediation: '_t__ErrorCatalog::unauthorized::REMEDIATION' + retryable: 'no' + payment_required: + http_status: 402 + summary: '_t__ErrorCatalog::payment_required::SUMMARY' + cause: '_t__ErrorCatalog::payment_required::CAUSE' + remediation: '_t__ErrorCatalog::payment_required::REMEDIATION' + retryable: 'no' + forbidden: + http_status: 403 + summary: '_t__ErrorCatalog::forbidden::SUMMARY' + cause: '_t__ErrorCatalog::forbidden::CAUSE' + remediation: '_t__ErrorCatalog::forbidden::REMEDIATION' + retryable: 'no' + not_found: + http_status: 404 + summary: '_t__ErrorCatalog::not_found::SUMMARY' + cause: '_t__ErrorCatalog::not_found::CAUSE' + remediation: '_t__ErrorCatalog::not_found::REMEDIATION' + retryable: 'no' + conflict: + http_status: 409 + summary: '_t__ErrorCatalog::conflict::SUMMARY' + cause: '_t__ErrorCatalog::conflict::CAUSE' + remediation: '_t__ErrorCatalog::conflict::REMEDIATION' + retryable: conditional + exceeded_rate: + http_status: 429 + summary: '_t__ErrorCatalog::exceeded_rate::SUMMARY' + cause: '_t__ErrorCatalog::exceeded_rate::CAUSE' + remediation: '_t__ErrorCatalog::exceeded_rate::REMEDIATION' + retryable: 'yes' + backoff: '_t__ErrorCatalog::exceeded_rate::BACKOFF' + unknown: + http_status: 500 + summary: '_t__ErrorCatalog::unknown::SUMMARY' + cause: '_t__ErrorCatalog::unknown::CAUSE' + remediation: '_t__ErrorCatalog::unknown::REMEDIATION' + retryable: conditional + backoff: '_t__ErrorCatalog::unknown::BACKOFF' + team_invite_failed: + http_status: 403 + summary: '_t__ErrorCatalog::team_invite_failed::SUMMARY' + cause: '_t__ErrorCatalog::team_invite_failed::CAUSE' + remediation: '_t__ErrorCatalog::team_invite_failed::REMEDIATION' + retryable: 'no' + max_faxes: + http_status: 429 + summary: '_t__ErrorCatalog::max_faxes::SUMMARY' + cause: '_t__ErrorCatalog::max_faxes::CAUSE' + remediation: '_t__ErrorCatalog::max_faxes::REMEDIATION' + retryable: 'yes' + backoff: '_t__ErrorCatalog::max_faxes::BACKOFF' + invalid_recipient: + http_status: 400 + summary: '_t__ErrorCatalog::invalid_recipient::SUMMARY' + cause: '_t__ErrorCatalog::invalid_recipient::CAUSE' + remediation: '_t__ErrorCatalog::invalid_recipient::REMEDIATION' + retryable: 'no' + signature_request_cancel_failed: + http_status: 400 + summary: '_t__ErrorCatalog::signature_request_cancel_failed::SUMMARY' + cause: '_t__ErrorCatalog::signature_request_cancel_failed::CAUSE' + remediation: '_t__ErrorCatalog::signature_request_cancel_failed::REMEDIATION' + retryable: 'no' + signature_request_remove_failed: + http_status: 400 + summary: '_t__ErrorCatalog::signature_request_remove_failed::SUMMARY' + cause: '_t__ErrorCatalog::signature_request_remove_failed::CAUSE' + remediation: '_t__ErrorCatalog::signature_request_remove_failed::REMEDIATION' + retryable: 'no' + maintenance: + http_status: 503 + summary: '_t__ErrorCatalog::maintenance::SUMMARY' + cause: '_t__ErrorCatalog::maintenance::CAUSE' + remediation: '_t__ErrorCatalog::maintenance::REMEDIATION' + retryable: 'yes' + backoff: '_t__ErrorCatalog::maintenance::BACKOFF' + method_not_supported: + http_status: 405 + summary: '_t__ErrorCatalog::method_not_supported::SUMMARY' + cause: '_t__ErrorCatalog::method_not_supported::CAUSE' + remediation: '_t__ErrorCatalog::method_not_supported::REMEDIATION' + retryable: 'no' + invalid_reminder: + http_status: 400 + summary: '_t__ErrorCatalog::invalid_reminder::SUMMARY' + cause: '_t__ErrorCatalog::invalid_reminder::CAUSE' + remediation: '_t__ErrorCatalog::invalid_reminder::REMEDIATION' + retryable: 'no' + unavailable: + http_status: 503 + summary: '_t__ErrorCatalog::unavailable::SUMMARY' + cause: '_t__ErrorCatalog::unavailable::CAUSE' + remediation: '_t__ErrorCatalog::unavailable::REMEDIATION' + retryable: 'yes' + backoff: '_t__ErrorCatalog::unavailable::BACKOFF' + unprocessable_entity: + http_status: 422 + summary: '_t__ErrorCatalog::unprocessable_entity::SUMMARY' + cause: '_t__ErrorCatalog::unprocessable_entity::CAUSE' + remediation: '_t__ErrorCatalog::unprocessable_entity::REMEDIATION' + retryable: conditional + backoff: '_t__ErrorCatalog::unprocessable_entity::BACKOFF' + signature_request_expired: + http_status: + - 400 + - 403 + summary: '_t__ErrorCatalog::signature_request_expired::SUMMARY' + cause: '_t__ErrorCatalog::signature_request_expired::CAUSE' + remediation: '_t__ErrorCatalog::signature_request_expired::REMEDIATION' + retryable: 'no' + deleted: + http_status: 410 + summary: '_t__ErrorCatalog::deleted::SUMMARY' + cause: '_t__ErrorCatalog::deleted::CAUSE' + remediation: '_t__ErrorCatalog::deleted::REMEDIATION' + retryable: 'no' +x-oauth-error-codes: + invalid_grant: + http_status: + - 400 + - 401 + summary: '_t__OAuthErrorCatalog::invalid_grant::SUMMARY' + cause: '_t__OAuthErrorCatalog::invalid_grant::CAUSE' + remediation: '_t__OAuthErrorCatalog::invalid_grant::REMEDIATION' + retryable: 'no' + invalid_client: + http_status: 400 + summary: '_t__OAuthErrorCatalog::invalid_client::SUMMARY' + cause: '_t__OAuthErrorCatalog::invalid_client::CAUSE' + remediation: '_t__OAuthErrorCatalog::invalid_client::REMEDIATION' + retryable: 'no' + invalid_request: + http_status: 400 + summary: '_t__OAuthErrorCatalog::invalid_request::SUMMARY' + cause: '_t__OAuthErrorCatalog::invalid_request::CAUSE' + remediation: '_t__OAuthErrorCatalog::invalid_request::REMEDIATION' + retryable: 'no' + unauthorized_client: + http_status: + - 401 + - 403 + summary: '_t__OAuthErrorCatalog::unauthorized_client::SUMMARY' + cause: '_t__OAuthErrorCatalog::unauthorized_client::CAUSE' + remediation: '_t__OAuthErrorCatalog::unauthorized_client::REMEDIATION' + retryable: 'no' + unsupported_grant_type: + http_status: 400 + summary: '_t__OAuthErrorCatalog::unsupported_grant_type::SUMMARY' + cause: '_t__OAuthErrorCatalog::unsupported_grant_type::CAUSE' + remediation: '_t__OAuthErrorCatalog::unsupported_grant_type::REMEDIATION' + retryable: 'no' + payment_required: + http_status: 402 + summary: '_t__OAuthErrorCatalog::payment_required::SUMMARY' + cause: '_t__OAuthErrorCatalog::payment_required::CAUSE' + remediation: '_t__OAuthErrorCatalog::payment_required::REMEDIATION' + retryable: 'no' + addon_required: + http_status: 402 + summary: '_t__OAuthErrorCatalog::addon_required::SUMMARY' + cause: '_t__OAuthErrorCatalog::addon_required::CAUSE' + remediation: '_t__OAuthErrorCatalog::addon_required::REMEDIATION' + retryable: 'no' + invalid_scope: + http_status: 400 + summary: '_t__OAuthErrorCatalog::invalid_scope::SUMMARY' + cause: '_t__OAuthErrorCatalog::invalid_scope::CAUSE' + remediation: '_t__OAuthErrorCatalog::invalid_scope::REMEDIATION' + retryable: 'no' + quota_reached: + http_status: 402 + summary: '_t__OAuthErrorCatalog::quota_reached::SUMMARY' + cause: '_t__OAuthErrorCatalog::quota_reached::CAUSE' + remediation: '_t__OAuthErrorCatalog::quota_reached::REMEDIATION' + retryable: 'no' + server_error: + http_status: 500 + summary: '_t__OAuthErrorCatalog::server_error::SUMMARY' + cause: '_t__OAuthErrorCatalog::server_error::CAUSE' + remediation: '_t__OAuthErrorCatalog::server_error::REMEDIATION' + retryable: 'yes' + backoff: '_t__OAuthErrorCatalog::server_error::BACKOFF' + temporary_unavailable: + http_status: 503 + summary: '_t__OAuthErrorCatalog::temporary_unavailable::SUMMARY' + cause: '_t__OAuthErrorCatalog::temporary_unavailable::CAUSE' + remediation: '_t__OAuthErrorCatalog::temporary_unavailable::REMEDIATION' + retryable: 'yes' + backoff: '_t__OAuthErrorCatalog::temporary_unavailable::BACKOFF' +x-error-events: + signature_request_invalid: + event_type: signature_request_invalid + delivery: webhook + summary: '_t__ErrorEventCatalog::signature_request_invalid::SUMMARY' + cause: '_t__ErrorEventCatalog::signature_request_invalid::CAUSE' + remediation: '_t__ErrorEventCatalog::signature_request_invalid::REMEDIATION' + retryable: conditional + unknown_error: + event_type: unknown_error + delivery: webhook + summary: '_t__ErrorEventCatalog::unknown_error::SUMMARY' + cause: '_t__ErrorEventCatalog::unknown_error::CAUSE' + remediation: '_t__ErrorEventCatalog::unknown_error::REMEDIATION' + retryable: conditional + file_error: + event_type: file_error + delivery: webhook + summary: '_t__ErrorEventCatalog::file_error::SUMMARY' + cause: '_t__ErrorEventCatalog::file_error::CAUSE' + remediation: '_t__ErrorEventCatalog::file_error::REMEDIATION' + retryable: conditional + template_error: + event_type: template_error + delivery: webhook + summary: '_t__ErrorEventCatalog::template_error::SUMMARY' + cause: '_t__ErrorEventCatalog::template_error::CAUSE' + remediation: '_t__ErrorEventCatalog::template_error::REMEDIATION' + retryable: conditional + sign_url_invalid: + event_type: sign_url_invalid + delivery: webhook + summary: '_t__ErrorEventCatalog::sign_url_invalid::SUMMARY' + cause: '_t__ErrorEventCatalog::sign_url_invalid::CAUSE' + remediation: '_t__ErrorEventCatalog::sign_url_invalid::REMEDIATION' + retryable: 'yes' diff --git a/sdks/dotnet/docs/SignatureRequestCreateEmbeddedRequest.md b/sdks/dotnet/docs/SignatureRequestCreateEmbeddedRequest.md index babeb4eb2..b2ccd4120 100644 --- a/sdks/dotnet/docs/SignatureRequestCreateEmbeddedRequest.md +++ b/sdks/dotnet/docs/SignatureRequestCreateEmbeddedRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ClientId** | **string** | Client id of the app you're using to create this embedded signature request. Used for security purposes. | **Files** | **List<System.IO.Stream>** | Use `files[]` to indicate the uploaded file(s) to send for signature.

This endpoint requires either **files** or **file_urls[]**, but not both. | [optional] **FileUrls** | **List<string>** | Use `file_urls[]` to have Dropbox Sign download the file(s) to send for signature.

This endpoint requires either **files** or **file_urls[]**, but not both. | [optional] **Signers** | [**List<SubSignatureRequestSigner>**](SubSignatureRequestSigner.md) | Add Signers to your Signature Request.

This endpoint requires either **signers** or **grouped_signers**, but not both. | [optional] **GroupedSigners** | [**List<SubSignatureRequestGroupedSigners>**](SubSignatureRequestGroupedSigners.md) | Add Grouped Signers to your Signature Request.

This endpoint requires either **signers** or **grouped_signers**, but not both. | [optional] **AllowDecline** | **bool** | Allows signers to decline to sign a document if `true`. Defaults to `false`. | [optional] [default to false]**AllowReassign** | **bool** | Allows signers to reassign their signature requests to other signers if set to `true`. Defaults to `false`.

**NOTE:** Only available for Premium plan. | [optional] [default to false]**Attachments** | [**List<SubAttachment>**](SubAttachment.md) | A list describing the attachments | [optional] **CcEmailAddresses** | **List<string>** | The email addresses that should be CCed. | [optional] **CustomFields** | [**List<SubCustomField>**](SubCustomField.md) | When used together with merge fields, `custom_fields` allows users to add pre-filled data to their signature requests.

Pre-filled data can be used with "send-once" signature requests by adding merge fields with `form_fields_per_document` or [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) while passing values back with `custom_fields` together in one API call.

For using pre-filled on repeatable signature requests, merge fields are added to templates in the Dropbox Sign UI or by calling [/template/create_embedded_draft](/api/reference/operation/templateCreateEmbeddedDraft) and then passing `custom_fields` on subsequent signature requests referencing that template. | [optional] **FieldOptions** | [**SubFieldOptions**](SubFieldOptions.md) | | [optional] **FormFieldGroups** | [**List<SubFormFieldGroup>**](SubFormFieldGroup.md) | Group information for fields defined in `form_fields_per_document`. String-indexed JSON array with `group_label` and `requirement` keys. `form_fields_per_document` must contain fields referencing a group defined in `form_field_groups`. | [optional] **FormFieldRules** | [**List<SubFormFieldRule>**](SubFormFieldRule.md) | Conditional Logic rules for fields defined in `form_fields_per_document`. | [optional] **FormFieldsPerDocument** | [**List<SubFormFieldsPerDocumentBase>**](SubFormFieldsPerDocumentBase.md) | The fields that should appear on the document, expressed as an array of objects. (For more details you can read about it here: [Using Form Fields per Document](/docs/openapi/form-fields-per-document).)

**NOTE:** Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types.

* Text Field use `SubFormFieldsPerDocumentText`
* Dropdown Field use `SubFormFieldsPerDocumentDropdown`
* Hyperlink Field use `SubFormFieldsPerDocumentHyperlink`
* Checkbox Field use `SubFormFieldsPerDocumentCheckbox`
* Radio Field use `SubFormFieldsPerDocumentRadio`
* Signature Field use `SubFormFieldsPerDocumentSignature`
* Date Signed Field use `SubFormFieldsPerDocumentDateSigned`
* Initials Field use `SubFormFieldsPerDocumentInitials`
* Text Merge Field use `SubFormFieldsPerDocumentTextMerge`
* Checkbox Merge Field use `SubFormFieldsPerDocumentCheckboxMerge` | [optional] **HideTextTags** | **bool** | Enables automatic Text Tag removal when set to true.

**NOTE:** Removing text tags this way can cause unwanted clipping. We recommend leaving this setting on `false` and instead hiding your text tags using white text or a similar approach. See the [Text Tags Walkthrough](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) for more information. | [optional] [default to false]**Message** | **string** | The custom message in the email that will be sent to the signers. | [optional] **Metadata** | **Dictionary<string, Object>** | Key-value data that should be attached to the signature request. This metadata is included in all API responses and events involving the signature request. For example, use the metadata field to store a signer's order number for look up when receiving events for the signature request.

Each request can include up to 10 metadata keys (or 50 nested metadata keys), with key names up to 40 characters long and values up to 1000 characters long. | [optional] **SigningOptions** | [**SubSigningOptions**](SubSigningOptions.md) | | [optional] **Subject** | **string** | The subject in the email that will be sent to the signers. | [optional] **TestMode** | **bool** | Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. | [optional] [default to false]**Title** | **string** | The title you want to assign to the SignatureRequest. | [optional] **UseTextTags** | **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`. | [optional] [default to false]**PopulateAutoFillFields** | **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. | [optional] [default to false]**ExpiresAt** | **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. | [optional] +**ClientId** | **string** | Client id of the app you're using to create this embedded signature request. Used for security purposes. | **Files** | **List<System.IO.Stream>** | Use `files[]` to indicate the uploaded file(s) to send for signature.

This endpoint requires either **files** or **file_urls[]**, but not both. | [optional] **FileUrls** | **List<string>** | Use `file_urls[]` to have Dropbox Sign download the file(s) to send for signature.

This endpoint requires either **files** or **file_urls[]**, but not both. | [optional] **Signers** | [**List<SubSignatureRequestSigner>**](SubSignatureRequestSigner.md) | Add Signers to your Signature Request.

This endpoint requires either **signers** or **grouped_signers**, but not both. | [optional] **GroupedSigners** | [**List<SubSignatureRequestGroupedSigners>**](SubSignatureRequestGroupedSigners.md) | Add Grouped Signers to your Signature Request.

This endpoint requires either **signers** or **grouped_signers**, but not both. | [optional] **AllowDecline** | **bool** | Allows signers to decline to sign a document if `true`. Defaults to `false`. | [optional] [default to false]**AllowReassign** | **bool** | Allows signers to reassign their signature requests to other signers if set to `true`. Defaults to `false`.

**NOTE:** Only available for Premium plan. | [optional] [default to false]**Attachments** | [**List<SubAttachment>**](SubAttachment.md) | A list describing the attachments | [optional] **CcEmailAddresses** | **List<string>** | The email addresses that should be CCed. | [optional] **CustomFields** | [**List<SubCustomField>**](SubCustomField.md) | When used together with merge fields, `custom_fields` allows users to add pre-filled data to their signature requests.

Pre-filled data can be used with "send-once" signature requests by adding merge fields with `form_fields_per_document` or [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) while passing values back with `custom_fields` together in one API call.

For using pre-filled on repeatable signature requests, merge fields are added to templates in the Dropbox Sign UI or by calling [/template/create_embedded_draft](/api/reference/operation/templateCreateEmbeddedDraft) and then passing `custom_fields` on subsequent signature requests referencing that template. | [optional] **FieldOptions** | [**SubFieldOptions**](SubFieldOptions.md) | | [optional] **FormFieldGroups** | [**List<SubFormFieldGroup>**](SubFormFieldGroup.md) | Group information for fields defined in `form_fields_per_document`. String-indexed JSON array with `group_label` and `requirement` keys. `form_fields_per_document` must contain fields referencing a group defined in `form_field_groups`. | [optional] **FormFieldRules** | [**List<SubFormFieldRule>**](SubFormFieldRule.md) | Conditional Logic rules for fields defined in `form_fields_per_document`. | [optional] **FormFieldsPerDocument** | [**List<SubFormFieldsPerDocumentBase>**](SubFormFieldsPerDocumentBase.md) | The fields that should appear on the document, expressed as an array of objects. (For more details you can read about it here: [Using Form Fields per Document](/docs/openapi/form-fields-per-document).)

**NOTE:** Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types.

* Text Field use `SubFormFieldsPerDocumentText`
* Dropdown Field use `SubFormFieldsPerDocumentDropdown`
* Hyperlink Field use `SubFormFieldsPerDocumentHyperlink`
* Checkbox Field use `SubFormFieldsPerDocumentCheckbox`
* Radio Field use `SubFormFieldsPerDocumentRadio`
* Signature Field use `SubFormFieldsPerDocumentSignature`
* Date Signed Field use `SubFormFieldsPerDocumentDateSigned`
* Initials Field use `SubFormFieldsPerDocumentInitials`
* Text Merge Field use `SubFormFieldsPerDocumentTextMerge`
* Checkbox Merge Field use `SubFormFieldsPerDocumentCheckboxMerge` | [optional] **HideTextTags** | **bool** | Enables automatic Text Tag removal when set to true.

**NOTE:** Removing text tags this way can cause unwanted clipping. We recommend leaving this setting on `false` and instead hiding your text tags using white text or a similar approach. See the [Text Tags Walkthrough](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) for more information. | [optional] [default to false]**Message** | **string** | The custom message in the email that will be sent to the signers. | [optional] **Metadata** | **Dictionary<string, Object>** | Key-value data that should be attached to the signature request. This metadata is included in all API responses and events involving the signature request. For example, use the metadata field to store a signer's order number for look up when receiving events for the signature request.

Each request can include up to 10 metadata keys (or 50 nested metadata keys), with key names up to 40 characters long and values up to 1000 characters long. | [optional] **SigningOptions** | [**SubSigningOptions**](SubSigningOptions.md) | | [optional] **Subject** | **string** | The subject in the email that will be sent to the signers. | [optional] **TestMode** | **bool** | Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. | [optional] [default to false]**Title** | **string** | The title you want to assign to the SignatureRequest. | [optional] **UseTextTags** | **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`. | [optional] [default to false]**IgnoreTextTagsExtractionErrors** | **bool** | Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. | [optional] [default to false]**PopulateAutoFillFields** | **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. | [optional] [default to false]**ExpiresAt** | **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. | [optional] [[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/sdks/dotnet/docs/SignatureRequestEditEmbeddedRequest.md b/sdks/dotnet/docs/SignatureRequestEditEmbeddedRequest.md index 3d7e41773..60994a1b7 100644 --- a/sdks/dotnet/docs/SignatureRequestEditEmbeddedRequest.md +++ b/sdks/dotnet/docs/SignatureRequestEditEmbeddedRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ClientId** | **string** | Client id of the app you're using to create this embedded signature request. Used for security purposes. | **Files** | **List<System.IO.Stream>** | Use `files[]` to indicate the uploaded file(s) to send for signature.

This endpoint requires either **files** or **file_urls[]**, but not both. | [optional] **FileUrls** | **List<string>** | Use `file_urls[]` to have Dropbox Sign download the file(s) to send for signature.

This endpoint requires either **files** or **file_urls[]**, but not both. | [optional] **Signers** | [**List<SubSignatureRequestSigner>**](SubSignatureRequestSigner.md) | Add Signers to your Signature Request.

This endpoint requires either **signers** or **grouped_signers**, but not both. | [optional] **GroupedSigners** | [**List<SubSignatureRequestGroupedSigners>**](SubSignatureRequestGroupedSigners.md) | Add Grouped Signers to your Signature Request.

This endpoint requires either **signers** or **grouped_signers**, but not both. | [optional] **AllowDecline** | **bool** | Allows signers to decline to sign a document if `true`. Defaults to `false`. | [optional] [default to false]**AllowReassign** | **bool** | Allows signers to reassign their signature requests to other signers if set to `true`. Defaults to `false`.

**NOTE:** Only available for Premium plan. | [optional] [default to false]**Attachments** | [**List<SubAttachment>**](SubAttachment.md) | A list describing the attachments | [optional] **CcEmailAddresses** | **List<string>** | The email addresses that should be CCed. | [optional] **CustomFields** | [**List<SubCustomField>**](SubCustomField.md) | When used together with merge fields, `custom_fields` allows users to add pre-filled data to their signature requests.

Pre-filled data can be used with "send-once" signature requests by adding merge fields with `form_fields_per_document` or [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) while passing values back with `custom_fields` together in one API call.

For using pre-filled on repeatable signature requests, merge fields are added to templates in the Dropbox Sign UI or by calling [/template/create_embedded_draft](/api/reference/operation/templateCreateEmbeddedDraft) and then passing `custom_fields` on subsequent signature requests referencing that template. | [optional] **FieldOptions** | [**SubFieldOptions**](SubFieldOptions.md) | | [optional] **FormFieldGroups** | [**List<SubFormFieldGroup>**](SubFormFieldGroup.md) | Group information for fields defined in `form_fields_per_document`. String-indexed JSON array with `group_label` and `requirement` keys. `form_fields_per_document` must contain fields referencing a group defined in `form_field_groups`. | [optional] **FormFieldRules** | [**List<SubFormFieldRule>**](SubFormFieldRule.md) | Conditional Logic rules for fields defined in `form_fields_per_document`. | [optional] **FormFieldsPerDocument** | [**List<SubFormFieldsPerDocumentBase>**](SubFormFieldsPerDocumentBase.md) | The fields that should appear on the document, expressed as an array of objects. (For more details you can read about it here: [Using Form Fields per Document](/docs/openapi/form-fields-per-document).)

**NOTE:** Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types.

* Text Field use `SubFormFieldsPerDocumentText`
* Dropdown Field use `SubFormFieldsPerDocumentDropdown`
* Hyperlink Field use `SubFormFieldsPerDocumentHyperlink`
* Checkbox Field use `SubFormFieldsPerDocumentCheckbox`
* Radio Field use `SubFormFieldsPerDocumentRadio`
* Signature Field use `SubFormFieldsPerDocumentSignature`
* Date Signed Field use `SubFormFieldsPerDocumentDateSigned`
* Initials Field use `SubFormFieldsPerDocumentInitials`
* Text Merge Field use `SubFormFieldsPerDocumentTextMerge`
* Checkbox Merge Field use `SubFormFieldsPerDocumentCheckboxMerge` | [optional] **HideTextTags** | **bool** | Enables automatic Text Tag removal when set to true.

**NOTE:** Removing text tags this way can cause unwanted clipping. We recommend leaving this setting on `false` and instead hiding your text tags using white text or a similar approach. See the [Text Tags Walkthrough](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) for more information. | [optional] [default to false]**Message** | **string** | The custom message in the email that will be sent to the signers. | [optional] **Metadata** | **Dictionary<string, Object>** | Key-value data that should be attached to the signature request. This metadata is included in all API responses and events involving the signature request. For example, use the metadata field to store a signer's order number for look up when receiving events for the signature request.

Each request can include up to 10 metadata keys (or 50 nested metadata keys), with key names up to 40 characters long and values up to 1000 characters long. | [optional] **SigningOptions** | [**SubSigningOptions**](SubSigningOptions.md) | | [optional] **Subject** | **string** | The subject in the email that will be sent to the signers. | [optional] **TestMode** | **bool** | Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. | [optional] [default to false]**Title** | **string** | The title you want to assign to the SignatureRequest. | [optional] **UseTextTags** | **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`. | [optional] [default to false]**PopulateAutoFillFields** | **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. | [optional] [default to false]**ExpiresAt** | **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. | [optional] +**ClientId** | **string** | Client id of the app you're using to create this embedded signature request. Used for security purposes. | **Files** | **List<System.IO.Stream>** | Use `files[]` to indicate the uploaded file(s) to send for signature.

This endpoint requires either **files** or **file_urls[]**, but not both. | [optional] **FileUrls** | **List<string>** | Use `file_urls[]` to have Dropbox Sign download the file(s) to send for signature.

This endpoint requires either **files** or **file_urls[]**, but not both. | [optional] **Signers** | [**List<SubSignatureRequestSigner>**](SubSignatureRequestSigner.md) | Add Signers to your Signature Request.

This endpoint requires either **signers** or **grouped_signers**, but not both. | [optional] **GroupedSigners** | [**List<SubSignatureRequestGroupedSigners>**](SubSignatureRequestGroupedSigners.md) | Add Grouped Signers to your Signature Request.

This endpoint requires either **signers** or **grouped_signers**, but not both. | [optional] **AllowDecline** | **bool** | Allows signers to decline to sign a document if `true`. Defaults to `false`. | [optional] [default to false]**AllowReassign** | **bool** | Allows signers to reassign their signature requests to other signers if set to `true`. Defaults to `false`.

**NOTE:** Only available for Premium plan. | [optional] [default to false]**Attachments** | [**List<SubAttachment>**](SubAttachment.md) | A list describing the attachments | [optional] **CcEmailAddresses** | **List<string>** | The email addresses that should be CCed. | [optional] **CustomFields** | [**List<SubCustomField>**](SubCustomField.md) | When used together with merge fields, `custom_fields` allows users to add pre-filled data to their signature requests.

Pre-filled data can be used with "send-once" signature requests by adding merge fields with `form_fields_per_document` or [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) while passing values back with `custom_fields` together in one API call.

For using pre-filled on repeatable signature requests, merge fields are added to templates in the Dropbox Sign UI or by calling [/template/create_embedded_draft](/api/reference/operation/templateCreateEmbeddedDraft) and then passing `custom_fields` on subsequent signature requests referencing that template. | [optional] **FieldOptions** | [**SubFieldOptions**](SubFieldOptions.md) | | [optional] **FormFieldGroups** | [**List<SubFormFieldGroup>**](SubFormFieldGroup.md) | Group information for fields defined in `form_fields_per_document`. String-indexed JSON array with `group_label` and `requirement` keys. `form_fields_per_document` must contain fields referencing a group defined in `form_field_groups`. | [optional] **FormFieldRules** | [**List<SubFormFieldRule>**](SubFormFieldRule.md) | Conditional Logic rules for fields defined in `form_fields_per_document`. | [optional] **FormFieldsPerDocument** | [**List<SubFormFieldsPerDocumentBase>**](SubFormFieldsPerDocumentBase.md) | The fields that should appear on the document, expressed as an array of objects. (For more details you can read about it here: [Using Form Fields per Document](/docs/openapi/form-fields-per-document).)

**NOTE:** Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types.

* Text Field use `SubFormFieldsPerDocumentText`
* Dropdown Field use `SubFormFieldsPerDocumentDropdown`
* Hyperlink Field use `SubFormFieldsPerDocumentHyperlink`
* Checkbox Field use `SubFormFieldsPerDocumentCheckbox`
* Radio Field use `SubFormFieldsPerDocumentRadio`
* Signature Field use `SubFormFieldsPerDocumentSignature`
* Date Signed Field use `SubFormFieldsPerDocumentDateSigned`
* Initials Field use `SubFormFieldsPerDocumentInitials`
* Text Merge Field use `SubFormFieldsPerDocumentTextMerge`
* Checkbox Merge Field use `SubFormFieldsPerDocumentCheckboxMerge` | [optional] **HideTextTags** | **bool** | Enables automatic Text Tag removal when set to true.

**NOTE:** Removing text tags this way can cause unwanted clipping. We recommend leaving this setting on `false` and instead hiding your text tags using white text or a similar approach. See the [Text Tags Walkthrough](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) for more information. | [optional] [default to false]**Message** | **string** | The custom message in the email that will be sent to the signers. | [optional] **Metadata** | **Dictionary<string, Object>** | Key-value data that should be attached to the signature request. This metadata is included in all API responses and events involving the signature request. For example, use the metadata field to store a signer's order number for look up when receiving events for the signature request.

Each request can include up to 10 metadata keys (or 50 nested metadata keys), with key names up to 40 characters long and values up to 1000 characters long. | [optional] **SigningOptions** | [**SubSigningOptions**](SubSigningOptions.md) | | [optional] **Subject** | **string** | The subject in the email that will be sent to the signers. | [optional] **TestMode** | **bool** | Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. | [optional] [default to false]**Title** | **string** | The title you want to assign to the SignatureRequest. | [optional] **UseTextTags** | **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`. | [optional] [default to false]**IgnoreTextTagsExtractionErrors** | **bool** | Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. | [optional] [default to false]**PopulateAutoFillFields** | **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. | [optional] [default to false]**ExpiresAt** | **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. | [optional] [[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/sdks/dotnet/docs/SignatureRequestEditRequest.md b/sdks/dotnet/docs/SignatureRequestEditRequest.md index bb50808de..2a00ddf8b 100644 --- a/sdks/dotnet/docs/SignatureRequestEditRequest.md +++ b/sdks/dotnet/docs/SignatureRequestEditRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Files** | **List<System.IO.Stream>** | Use `files[]` to indicate the uploaded file(s) to send for signature.

This endpoint requires either **files** or **file_urls[]**, but not both. | [optional] **FileUrls** | **List<string>** | Use `file_urls[]` to have Dropbox Sign download the file(s) to send for signature.

This endpoint requires either **files** or **file_urls[]**, but not both. | [optional] **Signers** | [**List<SubSignatureRequestSigner>**](SubSignatureRequestSigner.md) | Add Signers to your Signature Request.

This endpoint requires either **signers** or **grouped_signers**, but not both. | [optional] **GroupedSigners** | [**List<SubSignatureRequestGroupedSigners>**](SubSignatureRequestGroupedSigners.md) | Add Grouped Signers to your Signature Request.

This endpoint requires either **signers** or **grouped_signers**, but not both. | [optional] **AllowDecline** | **bool** | Allows signers to decline to sign a document if `true`. Defaults to `false`. | [optional] [default to false]**AllowReassign** | **bool** | Allows signers to reassign their signature requests to other signers if set to `true`. Defaults to `false`.

**NOTE:** Only available for Premium plan and higher. | [optional] [default to false]**Attachments** | [**List<SubAttachment>**](SubAttachment.md) | A list describing the attachments | [optional] **CcEmailAddresses** | **List<string>** | The email addresses that should be CCed. | [optional] **ClientId** | **string** | The client id of the API App you want to associate with this request. Used to apply the branding and callback url defined for the app. | [optional] **CustomFields** | [**List<SubCustomField>**](SubCustomField.md) | When used together with merge fields, `custom_fields` allows users to add pre-filled data to their signature requests.

Pre-filled data can be used with "send-once" signature requests by adding merge fields with `form_fields_per_document` or [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) while passing values back with `custom_fields` together in one API call.

For using pre-filled on repeatable signature requests, merge fields are added to templates in the Dropbox Sign UI or by calling [/template/create_embedded_draft](/api/reference/operation/templateCreateEmbeddedDraft) and then passing `custom_fields` on subsequent signature requests referencing that template. | [optional] **FieldOptions** | [**SubFieldOptions**](SubFieldOptions.md) | | [optional] **FormFieldGroups** | [**List<SubFormFieldGroup>**](SubFormFieldGroup.md) | Group information for fields defined in `form_fields_per_document`. String-indexed JSON array with `group_label` and `requirement` keys. `form_fields_per_document` must contain fields referencing a group defined in `form_field_groups`. | [optional] **FormFieldRules** | [**List<SubFormFieldRule>**](SubFormFieldRule.md) | Conditional Logic rules for fields defined in `form_fields_per_document`. | [optional] **FormFieldsPerDocument** | [**List<SubFormFieldsPerDocumentBase>**](SubFormFieldsPerDocumentBase.md) | The fields that should appear on the document, expressed as an array of objects. (For more details you can read about it here: [Using Form Fields per Document](/docs/openapi/form-fields-per-document).)

**NOTE:** Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types.

* Text Field use `SubFormFieldsPerDocumentText`
* Dropdown Field use `SubFormFieldsPerDocumentDropdown`
* Hyperlink Field use `SubFormFieldsPerDocumentHyperlink`
* Checkbox Field use `SubFormFieldsPerDocumentCheckbox`
* Radio Field use `SubFormFieldsPerDocumentRadio`
* Signature Field use `SubFormFieldsPerDocumentSignature`
* Date Signed Field use `SubFormFieldsPerDocumentDateSigned`
* Initials Field use `SubFormFieldsPerDocumentInitials`
* Text Merge Field use `SubFormFieldsPerDocumentTextMerge`
* Checkbox Merge Field use `SubFormFieldsPerDocumentCheckboxMerge` | [optional] **HideTextTags** | **bool** | Enables automatic Text Tag removal when set to true.

**NOTE:** Removing text tags this way can cause unwanted clipping. We recommend leaving this setting on `false` and instead hiding your text tags using white text or a similar approach. See the [Text Tags Walkthrough](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) for more information. | [optional] [default to false]**IsEid** | **bool** | Send with a value of `true` if you wish to enable [electronic identification (eID)](https://www.hellosign.com/features/electronic-id), which requires the signer to verify their identity with an eID provider to sign a document.<br>
**NOTE:** You need the eID add-on to use this feature. Please [contact sales](https://sign.dropbox.com/form/contact-sales) for more information. Cannot be used in `test_mode`. Only works on requests with one signer. | [optional] [default to false]**Message** | **string** | The custom message in the email that will be sent to the signers. | [optional] **Metadata** | **Dictionary<string, Object>** | Key-value data that should be attached to the signature request. This metadata is included in all API responses and events involving the signature request. For example, use the metadata field to store a signer's order number for look up when receiving events for the signature request.

Each request can include up to 10 metadata keys (or 50 nested metadata keys), with key names up to 40 characters long and values up to 1000 characters long. | [optional] **SigningOptions** | [**SubSigningOptions**](SubSigningOptions.md) | | [optional] **SigningRedirectUrl** | **string** | The URL you want signers redirected to after they successfully sign. | [optional] **Subject** | **string** | The subject in the email that will be sent to the signers. | [optional] **TestMode** | **bool** | Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. | [optional] [default to false]**Title** | **string** | The title you want to assign to the SignatureRequest. | [optional] **UseTextTags** | **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`. | [optional] [default to false]**ExpiresAt** | **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. | [optional] +**Files** | **List<System.IO.Stream>** | Use `files[]` to indicate the uploaded file(s) to send for signature.

This endpoint requires either **files** or **file_urls[]**, but not both. | [optional] **FileUrls** | **List<string>** | Use `file_urls[]` to have Dropbox Sign download the file(s) to send for signature.

This endpoint requires either **files** or **file_urls[]**, but not both. | [optional] **Signers** | [**List<SubSignatureRequestSigner>**](SubSignatureRequestSigner.md) | Add Signers to your Signature Request.

This endpoint requires either **signers** or **grouped_signers**, but not both. | [optional] **GroupedSigners** | [**List<SubSignatureRequestGroupedSigners>**](SubSignatureRequestGroupedSigners.md) | Add Grouped Signers to your Signature Request.

This endpoint requires either **signers** or **grouped_signers**, but not both. | [optional] **AllowDecline** | **bool** | Allows signers to decline to sign a document if `true`. Defaults to `false`. | [optional] [default to false]**AllowReassign** | **bool** | Allows signers to reassign their signature requests to other signers if set to `true`. Defaults to `false`.

**NOTE:** Only available for Premium plan and higher. | [optional] [default to false]**Attachments** | [**List<SubAttachment>**](SubAttachment.md) | A list describing the attachments | [optional] **CcEmailAddresses** | **List<string>** | The email addresses that should be CCed. | [optional] **ClientId** | **string** | The client id of the API App you want to associate with this request. Used to apply the branding and callback url defined for the app. | [optional] **CustomFields** | [**List<SubCustomField>**](SubCustomField.md) | When used together with merge fields, `custom_fields` allows users to add pre-filled data to their signature requests.

Pre-filled data can be used with "send-once" signature requests by adding merge fields with `form_fields_per_document` or [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) while passing values back with `custom_fields` together in one API call.

For using pre-filled on repeatable signature requests, merge fields are added to templates in the Dropbox Sign UI or by calling [/template/create_embedded_draft](/api/reference/operation/templateCreateEmbeddedDraft) and then passing `custom_fields` on subsequent signature requests referencing that template. | [optional] **FieldOptions** | [**SubFieldOptions**](SubFieldOptions.md) | | [optional] **FormFieldGroups** | [**List<SubFormFieldGroup>**](SubFormFieldGroup.md) | Group information for fields defined in `form_fields_per_document`. String-indexed JSON array with `group_label` and `requirement` keys. `form_fields_per_document` must contain fields referencing a group defined in `form_field_groups`. | [optional] **FormFieldRules** | [**List<SubFormFieldRule>**](SubFormFieldRule.md) | Conditional Logic rules for fields defined in `form_fields_per_document`. | [optional] **FormFieldsPerDocument** | [**List<SubFormFieldsPerDocumentBase>**](SubFormFieldsPerDocumentBase.md) | The fields that should appear on the document, expressed as an array of objects. (For more details you can read about it here: [Using Form Fields per Document](/docs/openapi/form-fields-per-document).)

**NOTE:** Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types.

* Text Field use `SubFormFieldsPerDocumentText`
* Dropdown Field use `SubFormFieldsPerDocumentDropdown`
* Hyperlink Field use `SubFormFieldsPerDocumentHyperlink`
* Checkbox Field use `SubFormFieldsPerDocumentCheckbox`
* Radio Field use `SubFormFieldsPerDocumentRadio`
* Signature Field use `SubFormFieldsPerDocumentSignature`
* Date Signed Field use `SubFormFieldsPerDocumentDateSigned`
* Initials Field use `SubFormFieldsPerDocumentInitials`
* Text Merge Field use `SubFormFieldsPerDocumentTextMerge`
* Checkbox Merge Field use `SubFormFieldsPerDocumentCheckboxMerge` | [optional] **HideTextTags** | **bool** | Enables automatic Text Tag removal when set to true.

**NOTE:** Removing text tags this way can cause unwanted clipping. We recommend leaving this setting on `false` and instead hiding your text tags using white text or a similar approach. See the [Text Tags Walkthrough](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) for more information. | [optional] [default to false]**IsEid** | **bool** | Send with a value of `true` if you wish to enable [electronic identification (eID)](https://www.hellosign.com/features/electronic-id), which requires the signer to verify their identity with an eID provider to sign a document.<br>
**NOTE:** You need the eID add-on to use this feature. Please [contact sales](https://sign.dropbox.com/form/contact-sales) for more information. Cannot be used in `test_mode`. Only works on requests with one signer. | [optional] [default to false]**Message** | **string** | The custom message in the email that will be sent to the signers. | [optional] **Metadata** | **Dictionary<string, Object>** | Key-value data that should be attached to the signature request. This metadata is included in all API responses and events involving the signature request. For example, use the metadata field to store a signer's order number for look up when receiving events for the signature request.

Each request can include up to 10 metadata keys (or 50 nested metadata keys), with key names up to 40 characters long and values up to 1000 characters long. | [optional] **SigningOptions** | [**SubSigningOptions**](SubSigningOptions.md) | | [optional] **SigningRedirectUrl** | **string** | The URL you want signers redirected to after they successfully sign. | [optional] **Subject** | **string** | The subject in the email that will be sent to the signers. | [optional] **TestMode** | **bool** | Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. | [optional] [default to false]**Title** | **string** | The title you want to assign to the SignatureRequest. | [optional] **UseTextTags** | **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`. | [optional] [default to false]**IgnoreTextTagsExtractionErrors** | **bool** | _t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | [optional] [default to false]**ExpiresAt** | **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. | [optional] [[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/sdks/dotnet/docs/SignatureRequestSendRequest.md b/sdks/dotnet/docs/SignatureRequestSendRequest.md index 5261aeb91..80dd6238a 100644 --- a/sdks/dotnet/docs/SignatureRequestSendRequest.md +++ b/sdks/dotnet/docs/SignatureRequestSendRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Files** | **List<System.IO.Stream>** | Use `files[]` to indicate the uploaded file(s) to send for signature.

This endpoint requires either **files** or **file_urls[]**, but not both. | [optional] **FileUrls** | **List<string>** | Use `file_urls[]` to have Dropbox Sign download the file(s) to send for signature.

This endpoint requires either **files** or **file_urls[]**, but not both. | [optional] **Signers** | [**List<SubSignatureRequestSigner>**](SubSignatureRequestSigner.md) | Add Signers to your Signature Request.

This endpoint requires either **signers** or **grouped_signers**, but not both. | [optional] **GroupedSigners** | [**List<SubSignatureRequestGroupedSigners>**](SubSignatureRequestGroupedSigners.md) | Add Grouped Signers to your Signature Request.

This endpoint requires either **signers** or **grouped_signers**, but not both. | [optional] **AllowDecline** | **bool** | Allows signers to decline to sign a document if `true`. Defaults to `false`. | [optional] [default to false]**AllowReassign** | **bool** | Allows signers to reassign their signature requests to other signers if set to `true`. Defaults to `false`.

**NOTE:** Only available for Premium plan and higher. | [optional] [default to false]**Attachments** | [**List<SubAttachment>**](SubAttachment.md) | A list describing the attachments | [optional] **CcEmailAddresses** | **List<string>** | The email addresses that should be CCed. | [optional] **ClientId** | **string** | The client id of the API App you want to associate with this request. Used to apply the branding and callback url defined for the app. | [optional] **CustomFields** | [**List<SubCustomField>**](SubCustomField.md) | When used together with merge fields, `custom_fields` allows users to add pre-filled data to their signature requests.

Pre-filled data can be used with "send-once" signature requests by adding merge fields with `form_fields_per_document` or [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) while passing values back with `custom_fields` together in one API call.

For using pre-filled on repeatable signature requests, merge fields are added to templates in the Dropbox Sign UI or by calling [/template/create_embedded_draft](/api/reference/operation/templateCreateEmbeddedDraft) and then passing `custom_fields` on subsequent signature requests referencing that template. | [optional] **FieldOptions** | [**SubFieldOptions**](SubFieldOptions.md) | | [optional] **FormFieldGroups** | [**List<SubFormFieldGroup>**](SubFormFieldGroup.md) | Group information for fields defined in `form_fields_per_document`. String-indexed JSON array with `group_label` and `requirement` keys. `form_fields_per_document` must contain fields referencing a group defined in `form_field_groups`. | [optional] **FormFieldRules** | [**List<SubFormFieldRule>**](SubFormFieldRule.md) | Conditional Logic rules for fields defined in `form_fields_per_document`. | [optional] **FormFieldsPerDocument** | [**List<SubFormFieldsPerDocumentBase>**](SubFormFieldsPerDocumentBase.md) | The fields that should appear on the document, expressed as an array of objects. (For more details you can read about it here: [Using Form Fields per Document](/docs/openapi/form-fields-per-document).)

**NOTE:** Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types.

* Text Field use `SubFormFieldsPerDocumentText`
* Dropdown Field use `SubFormFieldsPerDocumentDropdown`
* Hyperlink Field use `SubFormFieldsPerDocumentHyperlink`
* Checkbox Field use `SubFormFieldsPerDocumentCheckbox`
* Radio Field use `SubFormFieldsPerDocumentRadio`
* Signature Field use `SubFormFieldsPerDocumentSignature`
* Date Signed Field use `SubFormFieldsPerDocumentDateSigned`
* Initials Field use `SubFormFieldsPerDocumentInitials`
* Text Merge Field use `SubFormFieldsPerDocumentTextMerge`
* Checkbox Merge Field use `SubFormFieldsPerDocumentCheckboxMerge` | [optional] **HideTextTags** | **bool** | Enables automatic Text Tag removal when set to true.

**NOTE:** Removing text tags this way can cause unwanted clipping. We recommend leaving this setting on `false` and instead hiding your text tags using white text or a similar approach. See the [Text Tags Walkthrough](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) for more information. | [optional] [default to false]**IsQualifiedSignature** | **bool** | Send with a value of `true` if you wish to enable [Qualified Electronic Signatures](https://www.hellosign.com/features/qualified-electronic-signatures) (QES), which requires a face-to-face call to verify the signer's identity.<br>
**NOTE:** QES is only available on the Premium API plan as an add-on purchase. Cannot be used in `test_mode`. Only works on requests with one signer. | [optional] [default to false]**IsEid** | **bool** | Send with a value of `true` if you wish to enable [electronic identification (eID)](https://www.hellosign.com/features/electronic-id), which requires the signer to verify their identity with an eID provider to sign a document.<br>
**NOTE:** You need the eID add-on to use this feature. Please [contact sales](https://sign.dropbox.com/form/contact-sales) for more information. Cannot be used in `test_mode`. Only works on requests with one signer. | [optional] [default to false]**Message** | **string** | The custom message in the email that will be sent to the signers. | [optional] **Metadata** | **Dictionary<string, Object>** | Key-value data that should be attached to the signature request. This metadata is included in all API responses and events involving the signature request. For example, use the metadata field to store a signer's order number for look up when receiving events for the signature request.

Each request can include up to 10 metadata keys (or 50 nested metadata keys), with key names up to 40 characters long and values up to 1000 characters long. | [optional] **SigningOptions** | [**SubSigningOptions**](SubSigningOptions.md) | | [optional] **SigningRedirectUrl** | **string** | The URL you want signers redirected to after they successfully sign. | [optional] **Subject** | **string** | The subject in the email that will be sent to the signers. | [optional] **TestMode** | **bool** | Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. | [optional] [default to false]**Title** | **string** | The title you want to assign to the SignatureRequest. | [optional] **UseTextTags** | **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`. | [optional] [default to false]**ExpiresAt** | **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. | [optional] +**Files** | **List<System.IO.Stream>** | Use `files[]` to indicate the uploaded file(s) to send for signature.

This endpoint requires either **files** or **file_urls[]**, but not both. | [optional] **FileUrls** | **List<string>** | Use `file_urls[]` to have Dropbox Sign download the file(s) to send for signature.

This endpoint requires either **files** or **file_urls[]**, but not both. | [optional] **Signers** | [**List<SubSignatureRequestSigner>**](SubSignatureRequestSigner.md) | Add Signers to your Signature Request.

This endpoint requires either **signers** or **grouped_signers**, but not both. | [optional] **GroupedSigners** | [**List<SubSignatureRequestGroupedSigners>**](SubSignatureRequestGroupedSigners.md) | Add Grouped Signers to your Signature Request.

This endpoint requires either **signers** or **grouped_signers**, but not both. | [optional] **AllowDecline** | **bool** | Allows signers to decline to sign a document if `true`. Defaults to `false`. | [optional] [default to false]**AllowReassign** | **bool** | Allows signers to reassign their signature requests to other signers if set to `true`. Defaults to `false`.

**NOTE:** Only available for Premium plan and higher. | [optional] [default to false]**Attachments** | [**List<SubAttachment>**](SubAttachment.md) | A list describing the attachments | [optional] **CcEmailAddresses** | **List<string>** | The email addresses that should be CCed. | [optional] **ClientId** | **string** | The client id of the API App you want to associate with this request. Used to apply the branding and callback url defined for the app. | [optional] **CustomFields** | [**List<SubCustomField>**](SubCustomField.md) | When used together with merge fields, `custom_fields` allows users to add pre-filled data to their signature requests.

Pre-filled data can be used with "send-once" signature requests by adding merge fields with `form_fields_per_document` or [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) while passing values back with `custom_fields` together in one API call.

For using pre-filled on repeatable signature requests, merge fields are added to templates in the Dropbox Sign UI or by calling [/template/create_embedded_draft](/api/reference/operation/templateCreateEmbeddedDraft) and then passing `custom_fields` on subsequent signature requests referencing that template. | [optional] **FieldOptions** | [**SubFieldOptions**](SubFieldOptions.md) | | [optional] **FormFieldGroups** | [**List<SubFormFieldGroup>**](SubFormFieldGroup.md) | Group information for fields defined in `form_fields_per_document`. String-indexed JSON array with `group_label` and `requirement` keys. `form_fields_per_document` must contain fields referencing a group defined in `form_field_groups`. | [optional] **FormFieldRules** | [**List<SubFormFieldRule>**](SubFormFieldRule.md) | Conditional Logic rules for fields defined in `form_fields_per_document`. | [optional] **FormFieldsPerDocument** | [**List<SubFormFieldsPerDocumentBase>**](SubFormFieldsPerDocumentBase.md) | The fields that should appear on the document, expressed as an array of objects. (For more details you can read about it here: [Using Form Fields per Document](/docs/openapi/form-fields-per-document).)

**NOTE:** Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types.

* Text Field use `SubFormFieldsPerDocumentText`
* Dropdown Field use `SubFormFieldsPerDocumentDropdown`
* Hyperlink Field use `SubFormFieldsPerDocumentHyperlink`
* Checkbox Field use `SubFormFieldsPerDocumentCheckbox`
* Radio Field use `SubFormFieldsPerDocumentRadio`
* Signature Field use `SubFormFieldsPerDocumentSignature`
* Date Signed Field use `SubFormFieldsPerDocumentDateSigned`
* Initials Field use `SubFormFieldsPerDocumentInitials`
* Text Merge Field use `SubFormFieldsPerDocumentTextMerge`
* Checkbox Merge Field use `SubFormFieldsPerDocumentCheckboxMerge` | [optional] **HideTextTags** | **bool** | Enables automatic Text Tag removal when set to true.

**NOTE:** Removing text tags this way can cause unwanted clipping. We recommend leaving this setting on `false` and instead hiding your text tags using white text or a similar approach. See the [Text Tags Walkthrough](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) for more information. | [optional] [default to false]**IsQualifiedSignature** | **bool** | Send with a value of `true` if you wish to enable [Qualified Electronic Signatures](https://www.hellosign.com/features/qualified-electronic-signatures) (QES), which requires a face-to-face call to verify the signer's identity.<br>
**NOTE:** QES is only available on the Premium API plan as an add-on purchase. Cannot be used in `test_mode`. Only works on requests with one signer. | [optional] [default to false]**IsEid** | **bool** | Send with a value of `true` if you wish to enable [electronic identification (eID)](https://www.hellosign.com/features/electronic-id), which requires the signer to verify their identity with an eID provider to sign a document.<br>
**NOTE:** You need the eID add-on to use this feature. Please [contact sales](https://sign.dropbox.com/form/contact-sales) for more information. Cannot be used in `test_mode`. Only works on requests with one signer. | [optional] [default to false]**Message** | **string** | The custom message in the email that will be sent to the signers. | [optional] **Metadata** | **Dictionary<string, Object>** | Key-value data that should be attached to the signature request. This metadata is included in all API responses and events involving the signature request. For example, use the metadata field to store a signer's order number for look up when receiving events for the signature request.

Each request can include up to 10 metadata keys (or 50 nested metadata keys), with key names up to 40 characters long and values up to 1000 characters long. | [optional] **SigningOptions** | [**SubSigningOptions**](SubSigningOptions.md) | | [optional] **SigningRedirectUrl** | **string** | The URL you want signers redirected to after they successfully sign. | [optional] **Subject** | **string** | The subject in the email that will be sent to the signers. | [optional] **TestMode** | **bool** | Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. | [optional] [default to false]**Title** | **string** | The title you want to assign to the SignatureRequest. | [optional] **UseTextTags** | **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`. | [optional] [default to false]**IgnoreTextTagsExtractionErrors** | **bool** | _t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | [optional] [default to false]**ExpiresAt** | **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. | [optional] [[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/sdks/dotnet/docs/TemplateCreateEmbeddedDraftRequest.md b/sdks/dotnet/docs/TemplateCreateEmbeddedDraftRequest.md index 299d6feef..42da2285d 100644 --- a/sdks/dotnet/docs/TemplateCreateEmbeddedDraftRequest.md +++ b/sdks/dotnet/docs/TemplateCreateEmbeddedDraftRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ClientId** | **string** | Client id of the app you're using to create this draft. Used to apply the branding and callback url defined for the app. | **Files** | **List<System.IO.Stream>** | Use `files[]` to indicate the uploaded file(s) to send for signature.

This endpoint requires either **files** or **file_urls[]**, but not both. | [optional] **FileUrls** | **List<string>** | Use `file_urls[]` to have Dropbox Sign download the file(s) to send for signature.

This endpoint requires either **files** or **file_urls[]**, but not both. | [optional] **AllowCcs** | **bool** | This allows the requester to specify whether the user is allowed to provide email addresses to CC when creating a template. | [optional] [default to true]**AllowReassign** | **bool** | Allows signers to reassign their signature requests to other signers if set to `true`. Defaults to `false`.

**NOTE:** Only available for Premium plan and higher. | [optional] [default to false]**Attachments** | [**List<SubAttachment>**](SubAttachment.md) | A list describing the attachments | [optional] **CcRoles** | **List<string>** | The CC roles that must be assigned when using the template to send a signature request | [optional] **EditorOptions** | [**SubEditorOptions**](SubEditorOptions.md) | | [optional] **FieldOptions** | [**SubFieldOptions**](SubFieldOptions.md) | | [optional] **ForceSignerRoles** | **bool** | Provide users the ability to review/edit the template signer roles. | [optional] [default to false]**ForceSubjectMessage** | **bool** | Provide users the ability to review/edit the template subject and message. | [optional] [default to false]**FormFieldGroups** | [**List<SubFormFieldGroup>**](SubFormFieldGroup.md) | Group information for fields defined in `form_fields_per_document`. String-indexed JSON array with `group_label` and `requirement` keys. `form_fields_per_document` must contain fields referencing a group defined in `form_field_groups`. | [optional] **FormFieldRules** | [**List<SubFormFieldRule>**](SubFormFieldRule.md) | Conditional Logic rules for fields defined in `form_fields_per_document`. | [optional] **FormFieldsPerDocument** | [**List<SubFormFieldsPerDocumentBase>**](SubFormFieldsPerDocumentBase.md) | The fields that should appear on the document, expressed as an array of objects. (For more details you can read about it here: [Using Form Fields per Document](/docs/openapi/form-fields-per-document).)

**NOTE:** Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types.

* Text Field use `SubFormFieldsPerDocumentText`
* Dropdown Field use `SubFormFieldsPerDocumentDropdown`
* Hyperlink Field use `SubFormFieldsPerDocumentHyperlink`
* Checkbox Field use `SubFormFieldsPerDocumentCheckbox`
* Radio Field use `SubFormFieldsPerDocumentRadio`
* Signature Field use `SubFormFieldsPerDocumentSignature`
* Date Signed Field use `SubFormFieldsPerDocumentDateSigned`
* Initials Field use `SubFormFieldsPerDocumentInitials`
* Text Merge Field use `SubFormFieldsPerDocumentTextMerge`
* Checkbox Merge Field use `SubFormFieldsPerDocumentCheckboxMerge` | [optional] **MergeFields** | [**List<SubMergeField>**](SubMergeField.md) | Add merge fields to the template. Merge fields are placed by the user creating the template and used to pre-fill data by passing values into signature requests with the `custom_fields` parameter. If the signature request using that template *does not* pass a value into a merge field, then an empty field remains in the document. | [optional] **Message** | **string** | The default template email message. | [optional] **Metadata** | **Dictionary<string, Object>** | Key-value data that should be attached to the signature request. This metadata is included in all API responses and events involving the signature request. For example, use the metadata field to store a signer's order number for look up when receiving events for the signature request.

Each request can include up to 10 metadata keys (or 50 nested metadata keys), with key names up to 40 characters long and values up to 1000 characters long. | [optional] **ShowPreview** | **bool** | This allows the requester to enable the editor/preview experience.

- `show_preview=true`: Allows requesters to enable the editor/preview experience. - `show_preview=false`: Allows requesters to disable the editor/preview experience. | [optional] [default to false]**ShowProgressStepper** | **bool** | When only one step remains in the signature request process and this parameter is set to `false` then the progress stepper will be hidden. | [optional] [default to true]**SignerRoles** | [**List<SubTemplateRole>**](SubTemplateRole.md) | An array of the designated signer roles that must be specified when sending a SignatureRequest using this Template. | [optional] **SkipMeNow** | **bool** | Disables the "Me (Now)" option for the person preparing the document. Does not work with type `send_document`. Defaults to `false`. | [optional] [default to false]**Subject** | **string** | The template title (alias). | [optional] **TestMode** | **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`. | [optional] [default to false]**Title** | **string** | The title you want to assign to the SignatureRequest. | [optional] **UsePreexistingFields** | **bool** | Enable the detection of predefined PDF fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). | [optional] [default to false] +**ClientId** | **string** | Client id of the app you're using to create this draft. Used to apply the branding and callback url defined for the app. | **Files** | **List<System.IO.Stream>** | Use `files[]` to indicate the uploaded file(s) to send for signature.

This endpoint requires either **files** or **file_urls[]**, but not both. | [optional] **FileUrls** | **List<string>** | Use `file_urls[]` to have Dropbox Sign download the file(s) to send for signature.

This endpoint requires either **files** or **file_urls[]**, but not both. | [optional] **AllowCcs** | **bool** | This allows the requester to specify whether the user is allowed to provide email addresses to CC when creating a template. | [optional] [default to true]**AllowReassign** | **bool** | Allows signers to reassign their signature requests to other signers if set to `true`. Defaults to `false`.

**NOTE:** Only available for Premium plan and higher. | [optional] [default to false]**Attachments** | [**List<SubAttachment>**](SubAttachment.md) | A list describing the attachments | [optional] **CcRoles** | **List<string>** | The CC roles that must be assigned when using the template to send a signature request | [optional] **EditorOptions** | [**SubEditorOptions**](SubEditorOptions.md) | | [optional] **FieldOptions** | [**SubFieldOptions**](SubFieldOptions.md) | | [optional] **ForceSignerRoles** | **bool** | Provide users the ability to review/edit the template signer roles. | [optional] [default to false]**ForceSubjectMessage** | **bool** | Provide users the ability to review/edit the template subject and message. | [optional] [default to false]**FormFieldGroups** | [**List<SubFormFieldGroup>**](SubFormFieldGroup.md) | Group information for fields defined in `form_fields_per_document`. String-indexed JSON array with `group_label` and `requirement` keys. `form_fields_per_document` must contain fields referencing a group defined in `form_field_groups`. | [optional] **FormFieldRules** | [**List<SubFormFieldRule>**](SubFormFieldRule.md) | Conditional Logic rules for fields defined in `form_fields_per_document`. | [optional] **FormFieldsPerDocument** | [**List<SubFormFieldsPerDocumentBase>**](SubFormFieldsPerDocumentBase.md) | The fields that should appear on the document, expressed as an array of objects. (For more details you can read about it here: [Using Form Fields per Document](/docs/openapi/form-fields-per-document).)

**NOTE:** Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types.

* Text Field use `SubFormFieldsPerDocumentText`
* Dropdown Field use `SubFormFieldsPerDocumentDropdown`
* Hyperlink Field use `SubFormFieldsPerDocumentHyperlink`
* Checkbox Field use `SubFormFieldsPerDocumentCheckbox`
* Radio Field use `SubFormFieldsPerDocumentRadio`
* Signature Field use `SubFormFieldsPerDocumentSignature`
* Date Signed Field use `SubFormFieldsPerDocumentDateSigned`
* Initials Field use `SubFormFieldsPerDocumentInitials`
* Text Merge Field use `SubFormFieldsPerDocumentTextMerge`
* Checkbox Merge Field use `SubFormFieldsPerDocumentCheckboxMerge` | [optional] **MergeFields** | [**List<SubMergeField>**](SubMergeField.md) | Add merge fields to the template. Merge fields are placed by the user creating the template and used to pre-fill data by passing values into signature requests with the `custom_fields` parameter. If the signature request using that template *does not* pass a value into a merge field, then an empty field remains in the document. | [optional] **Message** | **string** | The default template email message. | [optional] **Metadata** | **Dictionary<string, Object>** | Key-value data that should be attached to the signature request. This metadata is included in all API responses and events involving the signature request. For example, use the metadata field to store a signer's order number for look up when receiving events for the signature request.

Each request can include up to 10 metadata keys (or 50 nested metadata keys), with key names up to 40 characters long and values up to 1000 characters long. | [optional] **ShowPreview** | **bool** | This allows the requester to enable the editor/preview experience.

- `show_preview=true`: Allows requesters to enable the editor/preview experience. - `show_preview=false`: Allows requesters to disable the editor/preview experience. | [optional] [default to false]**ShowProgressStepper** | **bool** | When only one step remains in the signature request process and this parameter is set to `false` then the progress stepper will be hidden. | [optional] [default to true]**SignerRoles** | [**List<SubTemplateRole>**](SubTemplateRole.md) | An array of the designated signer roles that must be specified when sending a SignatureRequest using this Template. | [optional] **SkipMeNow** | **bool** | Disables the "Me (Now)" option for the person preparing the document. Does not work with type `send_document`. Defaults to `false`. | [optional] [default to false]**Subject** | **string** | The template title (alias). | [optional] **TestMode** | **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`. | [optional] [default to false]**Title** | **string** | The title you want to assign to the SignatureRequest. | [optional] **UsePreexistingFields** | **bool** | Enable the detection of predefined PDF fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). | [optional] [default to false]**IgnoreTextTagsExtractionErrors** | **bool** | _t__TemplateCreateEmbeddedDraft::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | [optional] [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/sdks/dotnet/docs/TemplateCreateRequest.md b/sdks/dotnet/docs/TemplateCreateRequest.md index 9a80d0c9a..aa5ca5bf8 100644 --- a/sdks/dotnet/docs/TemplateCreateRequest.md +++ b/sdks/dotnet/docs/TemplateCreateRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**FormFieldsPerDocument** | [**List<SubFormFieldsPerDocumentBase>**](SubFormFieldsPerDocumentBase.md) | The fields that should appear on the document, expressed as an array of objects. (For more details you can read about it here: [Using Form Fields per Document](/docs/openapi/form-fields-per-document).)

**NOTE:** Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types.

* Text Field use `SubFormFieldsPerDocumentText`
* Dropdown Field use `SubFormFieldsPerDocumentDropdown`
* Hyperlink Field use `SubFormFieldsPerDocumentHyperlink`
* Checkbox Field use `SubFormFieldsPerDocumentCheckbox`
* Radio Field use `SubFormFieldsPerDocumentRadio`
* Signature Field use `SubFormFieldsPerDocumentSignature`
* Date Signed Field use `SubFormFieldsPerDocumentDateSigned`
* Initials Field use `SubFormFieldsPerDocumentInitials`
* Text Merge Field use `SubFormFieldsPerDocumentTextMerge`
* Checkbox Merge Field use `SubFormFieldsPerDocumentCheckboxMerge` | **SignerRoles** | [**List<SubTemplateRole>**](SubTemplateRole.md) | An array of the designated signer roles that must be specified when sending a SignatureRequest using this Template. | **Files** | **List<System.IO.Stream>** | Use `files[]` to indicate the uploaded file(s) to send for signature.

This endpoint requires either **files** or **file_urls[]**, but not both. | [optional] **FileUrls** | **List<string>** | Use `file_urls[]` to have Dropbox Sign download the file(s) to send for signature.

This endpoint requires either **files** or **file_urls[]**, but not both. | [optional] **AllowReassign** | **bool** | Allows signers to reassign their signature requests to other signers if set to `true`. Defaults to `false`.

**NOTE:** Only available for Premium plan and higher. | [optional] [default to false]**Attachments** | [**List<SubAttachment>**](SubAttachment.md) | A list describing the attachments | [optional] **CcRoles** | **List<string>** | The CC roles that must be assigned when using the template to send a signature request | [optional] **ClientId** | **string** | Client id of the app you're using to create this draft. Used to apply the branding and callback url defined for the app. | [optional] **FieldOptions** | [**SubFieldOptions**](SubFieldOptions.md) | | [optional] **FormFieldGroups** | [**List<SubFormFieldGroup>**](SubFormFieldGroup.md) | Group information for fields defined in `form_fields_per_document`. String-indexed JSON array with `group_label` and `requirement` keys. `form_fields_per_document` must contain fields referencing a group defined in `form_field_groups`. | [optional] **FormFieldRules** | [**List<SubFormFieldRule>**](SubFormFieldRule.md) | Conditional Logic rules for fields defined in `form_fields_per_document`. | [optional] **MergeFields** | [**List<SubMergeField>**](SubMergeField.md) | Add merge fields to the template. Merge fields are placed by the user creating the template and used to pre-fill data by passing values into signature requests with the `custom_fields` parameter. If the signature request using that template *does not* pass a value into a merge field, then an empty field remains in the document. | [optional] **Message** | **string** | The default template email message. | [optional] **Metadata** | **Dictionary<string, Object>** | Key-value data that should be attached to the signature request. This metadata is included in all API responses and events involving the signature request. For example, use the metadata field to store a signer's order number for look up when receiving events for the signature request.

Each request can include up to 10 metadata keys (or 50 nested metadata keys), with key names up to 40 characters long and values up to 1000 characters long. | [optional] **Subject** | **string** | The template title (alias). | [optional] **TestMode** | **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`. | [optional] [default to false]**Title** | **string** | The title you want to assign to the SignatureRequest. | [optional] **UsePreexistingFields** | **bool** | Enable the detection of predefined PDF fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). | [optional] [default to false] +**FormFieldsPerDocument** | [**List<SubFormFieldsPerDocumentBase>**](SubFormFieldsPerDocumentBase.md) | The fields that should appear on the document, expressed as an array of objects. (For more details you can read about it here: [Using Form Fields per Document](/docs/openapi/form-fields-per-document).)

**NOTE:** Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types.

* Text Field use `SubFormFieldsPerDocumentText`
* Dropdown Field use `SubFormFieldsPerDocumentDropdown`
* Hyperlink Field use `SubFormFieldsPerDocumentHyperlink`
* Checkbox Field use `SubFormFieldsPerDocumentCheckbox`
* Radio Field use `SubFormFieldsPerDocumentRadio`
* Signature Field use `SubFormFieldsPerDocumentSignature`
* Date Signed Field use `SubFormFieldsPerDocumentDateSigned`
* Initials Field use `SubFormFieldsPerDocumentInitials`
* Text Merge Field use `SubFormFieldsPerDocumentTextMerge`
* Checkbox Merge Field use `SubFormFieldsPerDocumentCheckboxMerge` | **SignerRoles** | [**List<SubTemplateRole>**](SubTemplateRole.md) | An array of the designated signer roles that must be specified when sending a SignatureRequest using this Template. | **Files** | **List<System.IO.Stream>** | Use `files[]` to indicate the uploaded file(s) to send for signature.

This endpoint requires either **files** or **file_urls[]**, but not both. | [optional] **FileUrls** | **List<string>** | Use `file_urls[]` to have Dropbox Sign download the file(s) to send for signature.

This endpoint requires either **files** or **file_urls[]**, but not both. | [optional] **AllowReassign** | **bool** | Allows signers to reassign their signature requests to other signers if set to `true`. Defaults to `false`.

**NOTE:** Only available for Premium plan and higher. | [optional] [default to false]**Attachments** | [**List<SubAttachment>**](SubAttachment.md) | A list describing the attachments | [optional] **CcRoles** | **List<string>** | The CC roles that must be assigned when using the template to send a signature request | [optional] **ClientId** | **string** | Client id of the app you're using to create this draft. Used to apply the branding and callback url defined for the app. | [optional] **FieldOptions** | [**SubFieldOptions**](SubFieldOptions.md) | | [optional] **FormFieldGroups** | [**List<SubFormFieldGroup>**](SubFormFieldGroup.md) | Group information for fields defined in `form_fields_per_document`. String-indexed JSON array with `group_label` and `requirement` keys. `form_fields_per_document` must contain fields referencing a group defined in `form_field_groups`. | [optional] **FormFieldRules** | [**List<SubFormFieldRule>**](SubFormFieldRule.md) | Conditional Logic rules for fields defined in `form_fields_per_document`. | [optional] **MergeFields** | [**List<SubMergeField>**](SubMergeField.md) | Add merge fields to the template. Merge fields are placed by the user creating the template and used to pre-fill data by passing values into signature requests with the `custom_fields` parameter. If the signature request using that template *does not* pass a value into a merge field, then an empty field remains in the document. | [optional] **Message** | **string** | The default template email message. | [optional] **Metadata** | **Dictionary<string, Object>** | Key-value data that should be attached to the signature request. This metadata is included in all API responses and events involving the signature request. For example, use the metadata field to store a signer's order number for look up when receiving events for the signature request.

Each request can include up to 10 metadata keys (or 50 nested metadata keys), with key names up to 40 characters long and values up to 1000 characters long. | [optional] **Subject** | **string** | The template title (alias). | [optional] **TestMode** | **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`. | [optional] [default to false]**Title** | **string** | The title you want to assign to the SignatureRequest. | [optional] **UsePreexistingFields** | **bool** | Enable the detection of predefined PDF fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). | [optional] [default to false]**IgnoreTextTagsExtractionErrors** | **bool** | _t__TemplateCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | [optional] [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/sdks/dotnet/docs/UnclaimedDraftCreateEmbeddedRequest.md b/sdks/dotnet/docs/UnclaimedDraftCreateEmbeddedRequest.md index d3bc89c77..b845ab189 100644 --- a/sdks/dotnet/docs/UnclaimedDraftCreateEmbeddedRequest.md +++ b/sdks/dotnet/docs/UnclaimedDraftCreateEmbeddedRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ClientId** | **string** | Client id of the app used to create the draft. Used to apply the branding and callback url defined for the app. | **RequesterEmailAddress** | **string** | The email address of the user that should be designated as the requester of this draft, if the draft type is `request_signature`. | **Files** | **List<System.IO.Stream>** | Use `files[]` to indicate the uploaded file(s) to send for signature.

This endpoint requires either **files** or **file_urls[]**, but not both. | [optional] **FileUrls** | **List<string>** | Use `file_urls[]` to have Dropbox Sign download the file(s) to send for signature.

This endpoint requires either **files** or **file_urls[]**, but not both. | [optional] **AllowCcs** | **bool** | This allows the requester to specify whether the user is allowed to provide email addresses to CC when claiming the draft. | [optional] [default to true]**AllowDecline** | **bool** | Allows signers to decline to sign a document if `true`. Defaults to `false`. | [optional] [default to false]**AllowReassign** | **bool** | Allows signers to reassign their signature requests to other signers if set to `true`. Defaults to `false`.

**NOTE:** Only available for Premium plan and higher. | [optional] [default to false]**Attachments** | [**List<SubAttachment>**](SubAttachment.md) | A list describing the attachments | [optional] **CcEmailAddresses** | **List<string>** | The email addresses that should be CCed. | [optional] **CustomFields** | [**List<SubCustomField>**](SubCustomField.md) | When used together with merge fields, `custom_fields` allows users to add pre-filled data to their signature requests.

Pre-filled data can be used with "send-once" signature requests by adding merge fields with `form_fields_per_document` or [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) while passing values back with `custom_fields` together in one API call.

For using pre-filled on repeatable signature requests, merge fields are added to templates in the Dropbox Sign UI or by calling [/template/create_embedded_draft](/api/reference/operation/templateCreateEmbeddedDraft) and then passing `custom_fields` on subsequent signature requests referencing that template. | [optional] **EditorOptions** | [**SubEditorOptions**](SubEditorOptions.md) | | [optional] **FieldOptions** | [**SubFieldOptions**](SubFieldOptions.md) | | [optional] **ForceSignerPage** | **bool** | Provide users the ability to review/edit the signers. | [optional] [default to false]**ForceSubjectMessage** | **bool** | Provide users the ability to review/edit the subject and message. | [optional] [default to false]**FormFieldGroups** | [**List<SubFormFieldGroup>**](SubFormFieldGroup.md) | Group information for fields defined in `form_fields_per_document`. String-indexed JSON array with `group_label` and `requirement` keys. `form_fields_per_document` must contain fields referencing a group defined in `form_field_groups`. | [optional] **FormFieldRules** | [**List<SubFormFieldRule>**](SubFormFieldRule.md) | Conditional Logic rules for fields defined in `form_fields_per_document`. | [optional] **FormFieldsPerDocument** | [**List<SubFormFieldsPerDocumentBase>**](SubFormFieldsPerDocumentBase.md) | The fields that should appear on the document, expressed as an array of objects. (For more details you can read about it here: [Using Form Fields per Document](/docs/openapi/form-fields-per-document).)

**NOTE:** Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types.

* Text Field use `SubFormFieldsPerDocumentText`
* Dropdown Field use `SubFormFieldsPerDocumentDropdown`
* Hyperlink Field use `SubFormFieldsPerDocumentHyperlink`
* Checkbox Field use `SubFormFieldsPerDocumentCheckbox`
* Radio Field use `SubFormFieldsPerDocumentRadio`
* Signature Field use `SubFormFieldsPerDocumentSignature`
* Date Signed Field use `SubFormFieldsPerDocumentDateSigned`
* Initials Field use `SubFormFieldsPerDocumentInitials`
* Text Merge Field use `SubFormFieldsPerDocumentTextMerge`
* Checkbox Merge Field use `SubFormFieldsPerDocumentCheckboxMerge` | [optional] **HideTextTags** | **bool** | Send with a value of `true` if you wish to enable automatic Text Tag removal. Defaults to `false`. When using Text Tags it is preferred that you set this to `false` and hide your tags with white text or something similar because the automatic removal system can cause unwanted clipping. See the [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) walkthrough for more details. | [optional] [default to false]**HoldRequest** | **bool** | The request from this draft will not automatically send to signers post-claim if set to `true`. Requester must [release](/api/reference/operation/signatureRequestReleaseHold/) the request from hold when ready to send. Defaults to `false`. | [optional] [default to false]**IsForEmbeddedSigning** | **bool** | The request created from this draft will also be signable in embedded mode if set to `true`. Defaults to `false`. | [optional] [default to false]**Message** | **string** | The custom message in the email that will be sent to the signers. | [optional] **Metadata** | **Dictionary<string, Object>** | Key-value data that should be attached to the signature request. This metadata is included in all API responses and events involving the signature request. For example, use the metadata field to store a signer's order number for look up when receiving events for the signature request.

Each request can include up to 10 metadata keys (or 50 nested metadata keys), with key names up to 40 characters long and values up to 1000 characters long. | [optional] **RequestingRedirectUrl** | **string** | The URL you want signers redirected to after they successfully request a signature. | [optional] **ShowPreview** | **bool** | This allows the requester to enable the editor/preview experience.

- `show_preview=true`: Allows requesters to enable the editor/preview experience. - `show_preview=false`: Allows requesters to disable the editor/preview experience. | [optional] **ShowProgressStepper** | **bool** | When only one step remains in the signature request process and this parameter is set to `false` then the progress stepper will be hidden. | [optional] [default to true]**Signers** | [**List<SubUnclaimedDraftSigner>**](SubUnclaimedDraftSigner.md) | Add Signers to your Unclaimed Draft Signature Request. | [optional] **SigningOptions** | [**SubSigningOptions**](SubSigningOptions.md) | | [optional] **SigningRedirectUrl** | **string** | The URL you want signers redirected to after they successfully sign. | [optional] **SkipMeNow** | **bool** | Disables the "Me (Now)" option for the person preparing the document. Does not work with type `send_document`. Defaults to `false`. | [optional] [default to false]**Subject** | **string** | The subject in the email that will be sent to the signers. | [optional] **TestMode** | **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`. | [optional] [default to false]**Type** | **string** | The type of the draft. By default this is `request_signature`, but you can set it to `send_document` if you want to self sign a document and download it. | [optional] [default to TypeEnum.RequestSignature]**UsePreexistingFields** | **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. | [optional] [default to false]**UseTextTags** | **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. | [optional] [default to false]**PopulateAutoFillFields** | **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. | [optional] [default to false]**ExpiresAt** | **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. | [optional] +**ClientId** | **string** | Client id of the app used to create the draft. Used to apply the branding and callback url defined for the app. | **RequesterEmailAddress** | **string** | The email address of the user that should be designated as the requester of this draft, if the draft type is `request_signature`. | **Files** | **List<System.IO.Stream>** | Use `files[]` to indicate the uploaded file(s) to send for signature.

This endpoint requires either **files** or **file_urls[]**, but not both. | [optional] **FileUrls** | **List<string>** | Use `file_urls[]` to have Dropbox Sign download the file(s) to send for signature.

This endpoint requires either **files** or **file_urls[]**, but not both. | [optional] **AllowCcs** | **bool** | This allows the requester to specify whether the user is allowed to provide email addresses to CC when claiming the draft. | [optional] [default to true]**AllowDecline** | **bool** | Allows signers to decline to sign a document if `true`. Defaults to `false`. | [optional] [default to false]**AllowReassign** | **bool** | Allows signers to reassign their signature requests to other signers if set to `true`. Defaults to `false`.

**NOTE:** Only available for Premium plan and higher. | [optional] [default to false]**Attachments** | [**List<SubAttachment>**](SubAttachment.md) | A list describing the attachments | [optional] **CcEmailAddresses** | **List<string>** | The email addresses that should be CCed. | [optional] **CustomFields** | [**List<SubCustomField>**](SubCustomField.md) | When used together with merge fields, `custom_fields` allows users to add pre-filled data to their signature requests.

Pre-filled data can be used with "send-once" signature requests by adding merge fields with `form_fields_per_document` or [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) while passing values back with `custom_fields` together in one API call.

For using pre-filled on repeatable signature requests, merge fields are added to templates in the Dropbox Sign UI or by calling [/template/create_embedded_draft](/api/reference/operation/templateCreateEmbeddedDraft) and then passing `custom_fields` on subsequent signature requests referencing that template. | [optional] **EditorOptions** | [**SubEditorOptions**](SubEditorOptions.md) | | [optional] **FieldOptions** | [**SubFieldOptions**](SubFieldOptions.md) | | [optional] **ForceSignerPage** | **bool** | Provide users the ability to review/edit the signers. | [optional] [default to false]**ForceSubjectMessage** | **bool** | Provide users the ability to review/edit the subject and message. | [optional] [default to false]**FormFieldGroups** | [**List<SubFormFieldGroup>**](SubFormFieldGroup.md) | Group information for fields defined in `form_fields_per_document`. String-indexed JSON array with `group_label` and `requirement` keys. `form_fields_per_document` must contain fields referencing a group defined in `form_field_groups`. | [optional] **FormFieldRules** | [**List<SubFormFieldRule>**](SubFormFieldRule.md) | Conditional Logic rules for fields defined in `form_fields_per_document`. | [optional] **FormFieldsPerDocument** | [**List<SubFormFieldsPerDocumentBase>**](SubFormFieldsPerDocumentBase.md) | The fields that should appear on the document, expressed as an array of objects. (For more details you can read about it here: [Using Form Fields per Document](/docs/openapi/form-fields-per-document).)

**NOTE:** Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types.

* Text Field use `SubFormFieldsPerDocumentText`
* Dropdown Field use `SubFormFieldsPerDocumentDropdown`
* Hyperlink Field use `SubFormFieldsPerDocumentHyperlink`
* Checkbox Field use `SubFormFieldsPerDocumentCheckbox`
* Radio Field use `SubFormFieldsPerDocumentRadio`
* Signature Field use `SubFormFieldsPerDocumentSignature`
* Date Signed Field use `SubFormFieldsPerDocumentDateSigned`
* Initials Field use `SubFormFieldsPerDocumentInitials`
* Text Merge Field use `SubFormFieldsPerDocumentTextMerge`
* Checkbox Merge Field use `SubFormFieldsPerDocumentCheckboxMerge` | [optional] **HideTextTags** | **bool** | Send with a value of `true` if you wish to enable automatic Text Tag removal. Defaults to `false`. When using Text Tags it is preferred that you set this to `false` and hide your tags with white text or something similar because the automatic removal system can cause unwanted clipping. See the [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) walkthrough for more details. | [optional] [default to false]**HoldRequest** | **bool** | The request from this draft will not automatically send to signers post-claim if set to `true`. Requester must [release](/api/reference/operation/signatureRequestReleaseHold/) the request from hold when ready to send. Defaults to `false`. | [optional] [default to false]**IsForEmbeddedSigning** | **bool** | The request created from this draft will also be signable in embedded mode if set to `true`. Defaults to `false`. | [optional] [default to false]**Message** | **string** | The custom message in the email that will be sent to the signers. | [optional] **Metadata** | **Dictionary<string, Object>** | Key-value data that should be attached to the signature request. This metadata is included in all API responses and events involving the signature request. For example, use the metadata field to store a signer's order number for look up when receiving events for the signature request.

Each request can include up to 10 metadata keys (or 50 nested metadata keys), with key names up to 40 characters long and values up to 1000 characters long. | [optional] **RequestingRedirectUrl** | **string** | The URL you want signers redirected to after they successfully request a signature. | [optional] **ShowPreview** | **bool** | This allows the requester to enable the editor/preview experience.

- `show_preview=true`: Allows requesters to enable the editor/preview experience. - `show_preview=false`: Allows requesters to disable the editor/preview experience. | [optional] **ShowProgressStepper** | **bool** | When only one step remains in the signature request process and this parameter is set to `false` then the progress stepper will be hidden. | [optional] [default to true]**Signers** | [**List<SubUnclaimedDraftSigner>**](SubUnclaimedDraftSigner.md) | Add Signers to your Unclaimed Draft Signature Request. | [optional] **SigningOptions** | [**SubSigningOptions**](SubSigningOptions.md) | | [optional] **SigningRedirectUrl** | **string** | The URL you want signers redirected to after they successfully sign. | [optional] **SkipMeNow** | **bool** | Disables the "Me (Now)" option for the person preparing the document. Does not work with type `send_document`. Defaults to `false`. | [optional] [default to false]**Subject** | **string** | The subject in the email that will be sent to the signers. | [optional] **TestMode** | **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`. | [optional] [default to false]**Type** | **string** | The type of the draft. By default this is `request_signature`, but you can set it to `send_document` if you want to self sign a document and download it. | [optional] [default to TypeEnum.RequestSignature]**UsePreexistingFields** | **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. | [optional] [default to false]**UseTextTags** | **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. | [optional] [default to false]**IgnoreTextTagsExtractionErrors** | **bool** | _t__UnclaimedDraftCreateEmbedded::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | [optional] [default to false]**PopulateAutoFillFields** | **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. | [optional] [default to false]**ExpiresAt** | **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. | [optional] [[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/sdks/dotnet/docs/UnclaimedDraftCreateRequest.md b/sdks/dotnet/docs/UnclaimedDraftCreateRequest.md index 462e91456..2052045bb 100644 --- a/sdks/dotnet/docs/UnclaimedDraftCreateRequest.md +++ b/sdks/dotnet/docs/UnclaimedDraftCreateRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Type** | **string** | The type of unclaimed draft to create. Use `send_document` to create a claimable file, and `request_signature` for a claimable signature request. If the type is `request_signature` then signers name and email_address are not optional. | **Files** | **List<System.IO.Stream>** | Use `files[]` to indicate the uploaded file(s) to send for signature.

This endpoint requires either **files** or **file_urls[]**, but not both. | [optional] **FileUrls** | **List<string>** | Use `file_urls[]` to have Dropbox Sign download the file(s) to send for signature.

This endpoint requires either **files** or **file_urls[]**, but not both. | [optional] **AllowDecline** | **bool** | Allows signers to decline to sign a document if `true`. Defaults to `false`. | [optional] [default to false]**Attachments** | [**List<SubAttachment>**](SubAttachment.md) | A list describing the attachments | [optional] **CcEmailAddresses** | **List<string>** | The email addresses that should be CCed. | [optional] **ClientId** | **string** | Client id of the app used to create the draft. Used to apply the branding and callback url defined for the app. | [optional] **CustomFields** | [**List<SubCustomField>**](SubCustomField.md) | When used together with merge fields, `custom_fields` allows users to add pre-filled data to their signature requests.

Pre-filled data can be used with "send-once" signature requests by adding merge fields with `form_fields_per_document` or [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) while passing values back with `custom_fields` together in one API call.

For using pre-filled on repeatable signature requests, merge fields are added to templates in the Dropbox Sign UI or by calling [/template/create_embedded_draft](/api/reference/operation/templateCreateEmbeddedDraft) and then passing `custom_fields` on subsequent signature requests referencing that template. | [optional] **FieldOptions** | [**SubFieldOptions**](SubFieldOptions.md) | | [optional] **FormFieldGroups** | [**List<SubFormFieldGroup>**](SubFormFieldGroup.md) | Group information for fields defined in `form_fields_per_document`. String-indexed JSON array with `group_label` and `requirement` keys. `form_fields_per_document` must contain fields referencing a group defined in `form_field_groups`. | [optional] **FormFieldRules** | [**List<SubFormFieldRule>**](SubFormFieldRule.md) | Conditional Logic rules for fields defined in `form_fields_per_document`. | [optional] **FormFieldsPerDocument** | [**List<SubFormFieldsPerDocumentBase>**](SubFormFieldsPerDocumentBase.md) | The fields that should appear on the document, expressed as an array of objects. (For more details you can read about it here: [Using Form Fields per Document](/docs/openapi/form-fields-per-document).)

**NOTE:** Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types.

* Text Field use `SubFormFieldsPerDocumentText`
* Dropdown Field use `SubFormFieldsPerDocumentDropdown`
* Hyperlink Field use `SubFormFieldsPerDocumentHyperlink`
* Checkbox Field use `SubFormFieldsPerDocumentCheckbox`
* Radio Field use `SubFormFieldsPerDocumentRadio`
* Signature Field use `SubFormFieldsPerDocumentSignature`
* Date Signed Field use `SubFormFieldsPerDocumentDateSigned`
* Initials Field use `SubFormFieldsPerDocumentInitials`
* Text Merge Field use `SubFormFieldsPerDocumentTextMerge`
* Checkbox Merge Field use `SubFormFieldsPerDocumentCheckboxMerge` | [optional] **HideTextTags** | **bool** | Send with a value of `true` if you wish to enable automatic Text Tag removal. Defaults to `false`. When using Text Tags it is preferred that you set this to `false` and hide your tags with white text or something similar because the automatic removal system can cause unwanted clipping. See the [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) walkthrough for more details. | [optional] [default to false]**Message** | **string** | The custom message in the email that will be sent to the signers. | [optional] **Metadata** | **Dictionary<string, Object>** | Key-value data that should be attached to the signature request. This metadata is included in all API responses and events involving the signature request. For example, use the metadata field to store a signer's order number for look up when receiving events for the signature request.

Each request can include up to 10 metadata keys (or 50 nested metadata keys), with key names up to 40 characters long and values up to 1000 characters long. | [optional] **ShowProgressStepper** | **bool** | When only one step remains in the signature request process and this parameter is set to `false` then the progress stepper will be hidden. | [optional] [default to true]**Signers** | [**List<SubUnclaimedDraftSigner>**](SubUnclaimedDraftSigner.md) | Add Signers to your Unclaimed Draft Signature Request. | [optional] **SigningOptions** | [**SubSigningOptions**](SubSigningOptions.md) | | [optional] **SigningRedirectUrl** | **string** | The URL you want signers redirected to after they successfully sign. | [optional] **Subject** | **string** | The subject in the email that will be sent to the signers. | [optional] **TestMode** | **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`. | [optional] [default to false]**UsePreexistingFields** | **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. | [optional] [default to false]**UseTextTags** | **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. | [optional] [default to false]**ExpiresAt** | **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. | [optional] +**Type** | **string** | The type of unclaimed draft to create. Use `send_document` to create a claimable file, and `request_signature` for a claimable signature request. If the type is `request_signature` then signers name and email_address are not optional. | **Files** | **List<System.IO.Stream>** | Use `files[]` to indicate the uploaded file(s) to send for signature.

This endpoint requires either **files** or **file_urls[]**, but not both. | [optional] **FileUrls** | **List<string>** | Use `file_urls[]` to have Dropbox Sign download the file(s) to send for signature.

This endpoint requires either **files** or **file_urls[]**, but not both. | [optional] **AllowDecline** | **bool** | Allows signers to decline to sign a document if `true`. Defaults to `false`. | [optional] [default to false]**Attachments** | [**List<SubAttachment>**](SubAttachment.md) | A list describing the attachments | [optional] **CcEmailAddresses** | **List<string>** | The email addresses that should be CCed. | [optional] **ClientId** | **string** | Client id of the app used to create the draft. Used to apply the branding and callback url defined for the app. | [optional] **CustomFields** | [**List<SubCustomField>**](SubCustomField.md) | When used together with merge fields, `custom_fields` allows users to add pre-filled data to their signature requests.

Pre-filled data can be used with "send-once" signature requests by adding merge fields with `form_fields_per_document` or [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) while passing values back with `custom_fields` together in one API call.

For using pre-filled on repeatable signature requests, merge fields are added to templates in the Dropbox Sign UI or by calling [/template/create_embedded_draft](/api/reference/operation/templateCreateEmbeddedDraft) and then passing `custom_fields` on subsequent signature requests referencing that template. | [optional] **FieldOptions** | [**SubFieldOptions**](SubFieldOptions.md) | | [optional] **FormFieldGroups** | [**List<SubFormFieldGroup>**](SubFormFieldGroup.md) | Group information for fields defined in `form_fields_per_document`. String-indexed JSON array with `group_label` and `requirement` keys. `form_fields_per_document` must contain fields referencing a group defined in `form_field_groups`. | [optional] **FormFieldRules** | [**List<SubFormFieldRule>**](SubFormFieldRule.md) | Conditional Logic rules for fields defined in `form_fields_per_document`. | [optional] **FormFieldsPerDocument** | [**List<SubFormFieldsPerDocumentBase>**](SubFormFieldsPerDocumentBase.md) | The fields that should appear on the document, expressed as an array of objects. (For more details you can read about it here: [Using Form Fields per Document](/docs/openapi/form-fields-per-document).)

**NOTE:** Fields like **text**, **dropdown**, **checkbox**, **radio**, and **hyperlink** have additional required and optional parameters. Check out the list of [additional parameters](/api/reference/constants/#form-fields-per-document) for these field types.

* Text Field use `SubFormFieldsPerDocumentText`
* Dropdown Field use `SubFormFieldsPerDocumentDropdown`
* Hyperlink Field use `SubFormFieldsPerDocumentHyperlink`
* Checkbox Field use `SubFormFieldsPerDocumentCheckbox`
* Radio Field use `SubFormFieldsPerDocumentRadio`
* Signature Field use `SubFormFieldsPerDocumentSignature`
* Date Signed Field use `SubFormFieldsPerDocumentDateSigned`
* Initials Field use `SubFormFieldsPerDocumentInitials`
* Text Merge Field use `SubFormFieldsPerDocumentTextMerge`
* Checkbox Merge Field use `SubFormFieldsPerDocumentCheckboxMerge` | [optional] **HideTextTags** | **bool** | Send with a value of `true` if you wish to enable automatic Text Tag removal. Defaults to `false`. When using Text Tags it is preferred that you set this to `false` and hide your tags with white text or something similar because the automatic removal system can cause unwanted clipping. See the [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) walkthrough for more details. | [optional] [default to false]**Message** | **string** | The custom message in the email that will be sent to the signers. | [optional] **Metadata** | **Dictionary<string, Object>** | Key-value data that should be attached to the signature request. This metadata is included in all API responses and events involving the signature request. For example, use the metadata field to store a signer's order number for look up when receiving events for the signature request.

Each request can include up to 10 metadata keys (or 50 nested metadata keys), with key names up to 40 characters long and values up to 1000 characters long. | [optional] **ShowProgressStepper** | **bool** | When only one step remains in the signature request process and this parameter is set to `false` then the progress stepper will be hidden. | [optional] [default to true]**Signers** | [**List<SubUnclaimedDraftSigner>**](SubUnclaimedDraftSigner.md) | Add Signers to your Unclaimed Draft Signature Request. | [optional] **SigningOptions** | [**SubSigningOptions**](SubSigningOptions.md) | | [optional] **SigningRedirectUrl** | **string** | The URL you want signers redirected to after they successfully sign. | [optional] **Subject** | **string** | The subject in the email that will be sent to the signers. | [optional] **TestMode** | **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`. | [optional] [default to false]**UsePreexistingFields** | **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. | [optional] [default to false]**UseTextTags** | **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. | [optional] [default to false]**IgnoreTextTagsExtractionErrors** | **bool** | _t__UnclaimedDraftCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | [optional] [default to false]**ExpiresAt** | **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. | [optional] [[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/sdks/dotnet/src/Dropbox.Sign/Model/ErrorResponseError.cs b/sdks/dotnet/src/Dropbox.Sign/Model/ErrorResponseError.cs index f1b9ca907..0ee57e597 100644 --- a/sdks/dotnet/src/Dropbox.Sign/Model/ErrorResponseError.cs +++ b/sdks/dotnet/src/Dropbox.Sign/Model/ErrorResponseError.cs @@ -33,6 +33,141 @@ namespace Dropbox.Sign.Model [JsonObject(ItemNullValueHandling = NullValueHandling.Ignore)] public partial class ErrorResponseError : IEquatable, IValidatableObject { + /// + /// Name of the error. + /// + /// Name of the error. + [JsonConverter(typeof(StringEnumConverter))] + public enum ErrorNameEnum + { + /// + /// Enum BadRequest for value: bad_request + /// + [EnumMember(Value = "bad_request")] + BadRequest = 1, + + /// + /// Enum Unauthorized for value: unauthorized + /// + [EnumMember(Value = "unauthorized")] + Unauthorized = 2, + + /// + /// Enum PaymentRequired for value: payment_required + /// + [EnumMember(Value = "payment_required")] + PaymentRequired = 3, + + /// + /// Enum Forbidden for value: forbidden + /// + [EnumMember(Value = "forbidden")] + Forbidden = 4, + + /// + /// Enum NotFound for value: not_found + /// + [EnumMember(Value = "not_found")] + NotFound = 5, + + /// + /// Enum Conflict for value: conflict + /// + [EnumMember(Value = "conflict")] + Conflict = 6, + + /// + /// Enum ExceededRate for value: exceeded_rate + /// + [EnumMember(Value = "exceeded_rate")] + ExceededRate = 7, + + /// + /// Enum Unknown for value: unknown + /// + [EnumMember(Value = "unknown")] + Unknown = 8, + + /// + /// Enum TeamInviteFailed for value: team_invite_failed + /// + [EnumMember(Value = "team_invite_failed")] + TeamInviteFailed = 9, + + /// + /// Enum MaxFaxes for value: max_faxes + /// + [EnumMember(Value = "max_faxes")] + MaxFaxes = 10, + + /// + /// Enum InvalidRecipient for value: invalid_recipient + /// + [EnumMember(Value = "invalid_recipient")] + InvalidRecipient = 11, + + /// + /// Enum SignatureRequestCancelFailed for value: signature_request_cancel_failed + /// + [EnumMember(Value = "signature_request_cancel_failed")] + SignatureRequestCancelFailed = 12, + + /// + /// Enum SignatureRequestRemoveFailed for value: signature_request_remove_failed + /// + [EnumMember(Value = "signature_request_remove_failed")] + SignatureRequestRemoveFailed = 13, + + /// + /// Enum Maintenance for value: maintenance + /// + [EnumMember(Value = "maintenance")] + Maintenance = 14, + + /// + /// Enum MethodNotSupported for value: method_not_supported + /// + [EnumMember(Value = "method_not_supported")] + MethodNotSupported = 15, + + /// + /// Enum InvalidReminder for value: invalid_reminder + /// + [EnumMember(Value = "invalid_reminder")] + InvalidReminder = 16, + + /// + /// Enum Unavailable for value: unavailable + /// + [EnumMember(Value = "unavailable")] + Unavailable = 17, + + /// + /// Enum UnprocessableEntity for value: unprocessable_entity + /// + [EnumMember(Value = "unprocessable_entity")] + UnprocessableEntity = 18, + + /// + /// Enum SignatureRequestExpired for value: signature_request_expired + /// + [EnumMember(Value = "signature_request_expired")] + SignatureRequestExpired = 19, + + /// + /// Enum Deleted for value: deleted + /// + [EnumMember(Value = "deleted")] + Deleted = 20 + } + + + /// + /// Name of the error. + /// + /// Name of the error. + [DataMember(Name = "error_name", IsRequired = true, EmitDefaultValue = true)] + public ErrorNameEnum ErrorName { get; set; } /// /// Initializes a new instance of the class. /// @@ -44,7 +179,7 @@ protected ErrorResponseError() { } /// Message describing an error. (required). /// Path at which an error occurred.. /// Name of the error. (required). - public ErrorResponseError(string errorMsg = default(string), string errorPath = default(string), string errorName = default(string)) + public ErrorResponseError(string errorMsg = default(string), string errorPath = default(string), ErrorNameEnum errorName = default(ErrorNameEnum)) { // to ensure "errorMsg" is required (not null) @@ -53,11 +188,6 @@ protected ErrorResponseError() { } throw new ArgumentNullException("errorMsg is a required property for ErrorResponseError and cannot be null"); } this.ErrorMsg = errorMsg; - // to ensure "errorName" is required (not null) - if (errorName == null) - { - throw new ArgumentNullException("errorName is a required property for ErrorResponseError and cannot be null"); - } this.ErrorName = errorName; this.ErrorPath = errorPath; } @@ -85,13 +215,6 @@ public static ErrorResponseError Init(string jsonData) [DataMember(Name = "error_msg", IsRequired = true, EmitDefaultValue = true)] public string ErrorMsg { get; set; } - /// - /// Name of the error. - /// - /// Name of the error. - [DataMember(Name = "error_name", IsRequired = true, EmitDefaultValue = true)] - public string ErrorName { get; set; } - /// /// Path at which an error occurred. /// @@ -152,8 +275,7 @@ public bool Equals(ErrorResponseError input) ) && ( this.ErrorName == input.ErrorName || - (this.ErrorName != null && - this.ErrorName.Equals(input.ErrorName)) + this.ErrorName.Equals(input.ErrorName) ) && ( this.ErrorPath == input.ErrorPath || @@ -175,10 +297,7 @@ public override int GetHashCode() { hashCode = (hashCode * 59) + this.ErrorMsg.GetHashCode(); } - if (this.ErrorName != null) - { - hashCode = (hashCode * 59) + this.ErrorName.GetHashCode(); - } + hashCode = (hashCode * 59) + this.ErrorName.GetHashCode(); if (this.ErrorPath != null) { hashCode = (hashCode * 59) + this.ErrorPath.GetHashCode(); diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/SignatureRequestCreateEmbeddedRequest.cs b/sdks/dotnet/src/Dropbox.Sign/Model/SignatureRequestCreateEmbeddedRequest.cs index 310802209..164799418 100644 --- a/sdks/dotnet/src/Dropbox.Sign/Model/SignatureRequestCreateEmbeddedRequest.cs +++ b/sdks/dotnet/src/Dropbox.Sign/Model/SignatureRequestCreateEmbeddedRequest.cs @@ -63,9 +63,10 @@ protected SignatureRequestCreateEmbeddedRequest() { } /// Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. (default to false). /// The title you want to assign to the SignatureRequest.. /// 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). + /// Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. (default to false). /// 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). /// 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.. - public SignatureRequestCreateEmbeddedRequest(List files = default(List), List fileUrls = default(List), List signers = default(List), List groupedSigners = default(List), bool allowDecline = false, bool allowReassign = false, List attachments = default(List), List ccEmailAddresses = default(List), string clientId = default(string), List customFields = default(List), SubFieldOptions fieldOptions = default(SubFieldOptions), List formFieldGroups = default(List), List formFieldRules = default(List), List formFieldsPerDocument = default(List), bool hideTextTags = false, string message = default(string), Dictionary metadata = default(Dictionary), SubSigningOptions signingOptions = default(SubSigningOptions), string subject = default(string), bool testMode = false, string title = default(string), bool useTextTags = false, bool populateAutoFillFields = false, int? expiresAt = default(int?)) + public SignatureRequestCreateEmbeddedRequest(List files = default(List), List fileUrls = default(List), List signers = default(List), List groupedSigners = default(List), bool allowDecline = false, bool allowReassign = false, List attachments = default(List), List ccEmailAddresses = default(List), string clientId = default(string), List customFields = default(List), SubFieldOptions fieldOptions = default(SubFieldOptions), List formFieldGroups = default(List), List formFieldRules = default(List), List formFieldsPerDocument = default(List), bool hideTextTags = false, string message = default(string), Dictionary metadata = default(Dictionary), SubSigningOptions signingOptions = default(SubSigningOptions), string subject = default(string), bool testMode = false, string title = default(string), bool useTextTags = false, bool ignoreTextTagsExtractionErrors = false, bool populateAutoFillFields = false, int? expiresAt = default(int?)) { // to ensure "clientId" is required (not null) @@ -95,6 +96,7 @@ protected SignatureRequestCreateEmbeddedRequest() { } this.TestMode = testMode; this.Title = title; this.UseTextTags = useTextTags; + this.IgnoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; this.PopulateAutoFillFields = populateAutoFillFields; this.ExpiresAt = expiresAt; } @@ -267,6 +269,13 @@ public static SignatureRequestCreateEmbeddedRequest Init(string jsonData) [DataMember(Name = "use_text_tags", EmitDefaultValue = true)] public bool UseTextTags { get; set; } + /// + /// Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. + /// + /// Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. + [DataMember(Name = "ignore_text_tags_extraction_errors", EmitDefaultValue = true)] + public bool IgnoreTextTagsExtractionErrors { get; set; } + /// /// 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. /// @@ -311,6 +320,7 @@ public override string ToString() sb.Append(" TestMode: ").Append(TestMode).Append("\n"); sb.Append(" Title: ").Append(Title).Append("\n"); sb.Append(" UseTextTags: ").Append(UseTextTags).Append("\n"); + sb.Append(" IgnoreTextTagsExtractionErrors: ").Append(IgnoreTextTagsExtractionErrors).Append("\n"); sb.Append(" PopulateAutoFillFields: ").Append(PopulateAutoFillFields).Append("\n"); sb.Append(" ExpiresAt: ").Append(ExpiresAt).Append("\n"); sb.Append("}\n"); @@ -464,6 +474,10 @@ public bool Equals(SignatureRequestCreateEmbeddedRequest input) this.UseTextTags == input.UseTextTags || this.UseTextTags.Equals(input.UseTextTags) ) && + ( + this.IgnoreTextTagsExtractionErrors == input.IgnoreTextTagsExtractionErrors || + this.IgnoreTextTagsExtractionErrors.Equals(input.IgnoreTextTagsExtractionErrors) + ) && ( this.PopulateAutoFillFields == input.PopulateAutoFillFields || this.PopulateAutoFillFields.Equals(input.PopulateAutoFillFields) @@ -557,6 +571,7 @@ public override int GetHashCode() hashCode = (hashCode * 59) + this.Title.GetHashCode(); } hashCode = (hashCode * 59) + this.UseTextTags.GetHashCode(); + hashCode = (hashCode * 59) + this.IgnoreTextTagsExtractionErrors.GetHashCode(); hashCode = (hashCode * 59) + this.PopulateAutoFillFields.GetHashCode(); if (this.ExpiresAt != null) { @@ -751,6 +766,13 @@ public List GetOpenApiTypes() Value = UseTextTags, }); types.Add(new OpenApiType() + { + Name = "ignore_text_tags_extraction_errors", + Property = "IgnoreTextTagsExtractionErrors", + Type = "bool", + Value = IgnoreTextTagsExtractionErrors, + }); + types.Add(new OpenApiType() { Name = "populate_auto_fill_fields", Property = "PopulateAutoFillFields", diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/SignatureRequestEditEmbeddedRequest.cs b/sdks/dotnet/src/Dropbox.Sign/Model/SignatureRequestEditEmbeddedRequest.cs index 68a03290b..7c1c63da3 100644 --- a/sdks/dotnet/src/Dropbox.Sign/Model/SignatureRequestEditEmbeddedRequest.cs +++ b/sdks/dotnet/src/Dropbox.Sign/Model/SignatureRequestEditEmbeddedRequest.cs @@ -63,9 +63,10 @@ protected SignatureRequestEditEmbeddedRequest() { } /// Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. (default to false). /// The title you want to assign to the SignatureRequest.. /// 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). + /// Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. (default to false). /// 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). /// 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.. - public SignatureRequestEditEmbeddedRequest(List files = default(List), List fileUrls = default(List), List signers = default(List), List groupedSigners = default(List), bool allowDecline = false, bool allowReassign = false, List attachments = default(List), List ccEmailAddresses = default(List), string clientId = default(string), List customFields = default(List), SubFieldOptions fieldOptions = default(SubFieldOptions), List formFieldGroups = default(List), List formFieldRules = default(List), List formFieldsPerDocument = default(List), bool hideTextTags = false, string message = default(string), Dictionary metadata = default(Dictionary), SubSigningOptions signingOptions = default(SubSigningOptions), string subject = default(string), bool testMode = false, string title = default(string), bool useTextTags = false, bool populateAutoFillFields = false, int? expiresAt = default(int?)) + public SignatureRequestEditEmbeddedRequest(List files = default(List), List fileUrls = default(List), List signers = default(List), List groupedSigners = default(List), bool allowDecline = false, bool allowReassign = false, List attachments = default(List), List ccEmailAddresses = default(List), string clientId = default(string), List customFields = default(List), SubFieldOptions fieldOptions = default(SubFieldOptions), List formFieldGroups = default(List), List formFieldRules = default(List), List formFieldsPerDocument = default(List), bool hideTextTags = false, string message = default(string), Dictionary metadata = default(Dictionary), SubSigningOptions signingOptions = default(SubSigningOptions), string subject = default(string), bool testMode = false, string title = default(string), bool useTextTags = false, bool ignoreTextTagsExtractionErrors = false, bool populateAutoFillFields = false, int? expiresAt = default(int?)) { // to ensure "clientId" is required (not null) @@ -95,6 +96,7 @@ protected SignatureRequestEditEmbeddedRequest() { } this.TestMode = testMode; this.Title = title; this.UseTextTags = useTextTags; + this.IgnoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; this.PopulateAutoFillFields = populateAutoFillFields; this.ExpiresAt = expiresAt; } @@ -267,6 +269,13 @@ public static SignatureRequestEditEmbeddedRequest Init(string jsonData) [DataMember(Name = "use_text_tags", EmitDefaultValue = true)] public bool UseTextTags { get; set; } + /// + /// Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. + /// + /// Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. + [DataMember(Name = "ignore_text_tags_extraction_errors", EmitDefaultValue = true)] + public bool IgnoreTextTagsExtractionErrors { get; set; } + /// /// 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. /// @@ -311,6 +320,7 @@ public override string ToString() sb.Append(" TestMode: ").Append(TestMode).Append("\n"); sb.Append(" Title: ").Append(Title).Append("\n"); sb.Append(" UseTextTags: ").Append(UseTextTags).Append("\n"); + sb.Append(" IgnoreTextTagsExtractionErrors: ").Append(IgnoreTextTagsExtractionErrors).Append("\n"); sb.Append(" PopulateAutoFillFields: ").Append(PopulateAutoFillFields).Append("\n"); sb.Append(" ExpiresAt: ").Append(ExpiresAt).Append("\n"); sb.Append("}\n"); @@ -464,6 +474,10 @@ public bool Equals(SignatureRequestEditEmbeddedRequest input) this.UseTextTags == input.UseTextTags || this.UseTextTags.Equals(input.UseTextTags) ) && + ( + this.IgnoreTextTagsExtractionErrors == input.IgnoreTextTagsExtractionErrors || + this.IgnoreTextTagsExtractionErrors.Equals(input.IgnoreTextTagsExtractionErrors) + ) && ( this.PopulateAutoFillFields == input.PopulateAutoFillFields || this.PopulateAutoFillFields.Equals(input.PopulateAutoFillFields) @@ -557,6 +571,7 @@ public override int GetHashCode() hashCode = (hashCode * 59) + this.Title.GetHashCode(); } hashCode = (hashCode * 59) + this.UseTextTags.GetHashCode(); + hashCode = (hashCode * 59) + this.IgnoreTextTagsExtractionErrors.GetHashCode(); hashCode = (hashCode * 59) + this.PopulateAutoFillFields.GetHashCode(); if (this.ExpiresAt != null) { @@ -751,6 +766,13 @@ public List GetOpenApiTypes() Value = UseTextTags, }); types.Add(new OpenApiType() + { + Name = "ignore_text_tags_extraction_errors", + Property = "IgnoreTextTagsExtractionErrors", + Type = "bool", + Value = IgnoreTextTagsExtractionErrors, + }); + types.Add(new OpenApiType() { Name = "populate_auto_fill_fields", Property = "PopulateAutoFillFields", diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/SignatureRequestEditRequest.cs b/sdks/dotnet/src/Dropbox.Sign/Model/SignatureRequestEditRequest.cs index 585c78c47..1abae4b13 100644 --- a/sdks/dotnet/src/Dropbox.Sign/Model/SignatureRequestEditRequest.cs +++ b/sdks/dotnet/src/Dropbox.Sign/Model/SignatureRequestEditRequest.cs @@ -65,8 +65,9 @@ protected SignatureRequestEditRequest() { } /// Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. (default to false). /// The title you want to assign to the SignatureRequest.. /// 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). + /// _t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS (default to false). /// 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.. - public SignatureRequestEditRequest(List files = default(List), List fileUrls = default(List), List signers = default(List), List groupedSigners = default(List), bool allowDecline = false, bool allowReassign = false, List attachments = default(List), List ccEmailAddresses = default(List), string clientId = default(string), List customFields = default(List), SubFieldOptions fieldOptions = default(SubFieldOptions), List formFieldGroups = default(List), List formFieldRules = default(List), List formFieldsPerDocument = default(List), bool hideTextTags = false, bool isEid = false, string message = default(string), Dictionary metadata = default(Dictionary), SubSigningOptions signingOptions = default(SubSigningOptions), string signingRedirectUrl = default(string), string subject = default(string), bool testMode = false, string title = default(string), bool useTextTags = false, int? expiresAt = default(int?)) + public SignatureRequestEditRequest(List files = default(List), List fileUrls = default(List), List signers = default(List), List groupedSigners = default(List), bool allowDecline = false, bool allowReassign = false, List attachments = default(List), List ccEmailAddresses = default(List), string clientId = default(string), List customFields = default(List), SubFieldOptions fieldOptions = default(SubFieldOptions), List formFieldGroups = default(List), List formFieldRules = default(List), List formFieldsPerDocument = default(List), bool hideTextTags = false, bool isEid = false, string message = default(string), Dictionary metadata = default(Dictionary), SubSigningOptions signingOptions = default(SubSigningOptions), string signingRedirectUrl = default(string), string subject = default(string), bool testMode = false, string title = default(string), bool useTextTags = false, bool ignoreTextTagsExtractionErrors = false, int? expiresAt = default(int?)) { this.Files = files; @@ -93,6 +94,7 @@ protected SignatureRequestEditRequest() { } this.TestMode = testMode; this.Title = title; this.UseTextTags = useTextTags; + this.IgnoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; this.ExpiresAt = expiresAt; } @@ -278,6 +280,13 @@ public static SignatureRequestEditRequest Init(string jsonData) [DataMember(Name = "use_text_tags", EmitDefaultValue = true)] public bool UseTextTags { get; set; } + /// + /// _t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + /// + /// _t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + [DataMember(Name = "ignore_text_tags_extraction_errors", EmitDefaultValue = true)] + public bool IgnoreTextTagsExtractionErrors { get; set; } + /// /// 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. /// @@ -317,6 +326,7 @@ public override string ToString() sb.Append(" TestMode: ").Append(TestMode).Append("\n"); sb.Append(" Title: ").Append(Title).Append("\n"); sb.Append(" UseTextTags: ").Append(UseTextTags).Append("\n"); + sb.Append(" IgnoreTextTagsExtractionErrors: ").Append(IgnoreTextTagsExtractionErrors).Append("\n"); sb.Append(" ExpiresAt: ").Append(ExpiresAt).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -478,6 +488,10 @@ public bool Equals(SignatureRequestEditRequest input) this.UseTextTags == input.UseTextTags || this.UseTextTags.Equals(input.UseTextTags) ) && + ( + this.IgnoreTextTagsExtractionErrors == input.IgnoreTextTagsExtractionErrors || + this.IgnoreTextTagsExtractionErrors.Equals(input.IgnoreTextTagsExtractionErrors) + ) && ( this.ExpiresAt == input.ExpiresAt || (this.ExpiresAt != null && @@ -572,6 +586,7 @@ public override int GetHashCode() hashCode = (hashCode * 59) + this.Title.GetHashCode(); } hashCode = (hashCode * 59) + this.UseTextTags.GetHashCode(); + hashCode = (hashCode * 59) + this.IgnoreTextTagsExtractionErrors.GetHashCode(); if (this.ExpiresAt != null) { hashCode = (hashCode * 59) + this.ExpiresAt.GetHashCode(); @@ -779,6 +794,13 @@ public List GetOpenApiTypes() Value = UseTextTags, }); types.Add(new OpenApiType() + { + Name = "ignore_text_tags_extraction_errors", + Property = "IgnoreTextTagsExtractionErrors", + Type = "bool", + Value = IgnoreTextTagsExtractionErrors, + }); + types.Add(new OpenApiType() { Name = "expires_at", Property = "ExpiresAt", diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/SignatureRequestSendRequest.cs b/sdks/dotnet/src/Dropbox.Sign/Model/SignatureRequestSendRequest.cs index 9719a297a..a90925114 100644 --- a/sdks/dotnet/src/Dropbox.Sign/Model/SignatureRequestSendRequest.cs +++ b/sdks/dotnet/src/Dropbox.Sign/Model/SignatureRequestSendRequest.cs @@ -66,8 +66,9 @@ protected SignatureRequestSendRequest() { } /// Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. (default to false). /// The title you want to assign to the SignatureRequest.. /// 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). + /// _t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS (default to false). /// 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.. - public SignatureRequestSendRequest(List files = default(List), List fileUrls = default(List), List signers = default(List), List groupedSigners = default(List), bool allowDecline = false, bool allowReassign = false, List attachments = default(List), List ccEmailAddresses = default(List), string clientId = default(string), List customFields = default(List), SubFieldOptions fieldOptions = default(SubFieldOptions), List formFieldGroups = default(List), List formFieldRules = default(List), List formFieldsPerDocument = default(List), bool hideTextTags = false, bool isQualifiedSignature = false, bool isEid = false, string message = default(string), Dictionary metadata = default(Dictionary), SubSigningOptions signingOptions = default(SubSigningOptions), string signingRedirectUrl = default(string), string subject = default(string), bool testMode = false, string title = default(string), bool useTextTags = false, int? expiresAt = default(int?)) + public SignatureRequestSendRequest(List files = default(List), List fileUrls = default(List), List signers = default(List), List groupedSigners = default(List), bool allowDecline = false, bool allowReassign = false, List attachments = default(List), List ccEmailAddresses = default(List), string clientId = default(string), List customFields = default(List), SubFieldOptions fieldOptions = default(SubFieldOptions), List formFieldGroups = default(List), List formFieldRules = default(List), List formFieldsPerDocument = default(List), bool hideTextTags = false, bool isQualifiedSignature = false, bool isEid = false, string message = default(string), Dictionary metadata = default(Dictionary), SubSigningOptions signingOptions = default(SubSigningOptions), string signingRedirectUrl = default(string), string subject = default(string), bool testMode = false, string title = default(string), bool useTextTags = false, bool ignoreTextTagsExtractionErrors = false, int? expiresAt = default(int?)) { this.Files = files; @@ -95,6 +96,7 @@ protected SignatureRequestSendRequest() { } this.TestMode = testMode; this.Title = title; this.UseTextTags = useTextTags; + this.IgnoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; this.ExpiresAt = expiresAt; } @@ -288,6 +290,13 @@ public static SignatureRequestSendRequest Init(string jsonData) [DataMember(Name = "use_text_tags", EmitDefaultValue = true)] public bool UseTextTags { get; set; } + /// + /// _t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + /// + /// _t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + [DataMember(Name = "ignore_text_tags_extraction_errors", EmitDefaultValue = true)] + public bool IgnoreTextTagsExtractionErrors { get; set; } + /// /// 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. /// @@ -328,6 +337,7 @@ public override string ToString() sb.Append(" TestMode: ").Append(TestMode).Append("\n"); sb.Append(" Title: ").Append(Title).Append("\n"); sb.Append(" UseTextTags: ").Append(UseTextTags).Append("\n"); + sb.Append(" IgnoreTextTagsExtractionErrors: ").Append(IgnoreTextTagsExtractionErrors).Append("\n"); sb.Append(" ExpiresAt: ").Append(ExpiresAt).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -493,6 +503,10 @@ public bool Equals(SignatureRequestSendRequest input) this.UseTextTags == input.UseTextTags || this.UseTextTags.Equals(input.UseTextTags) ) && + ( + this.IgnoreTextTagsExtractionErrors == input.IgnoreTextTagsExtractionErrors || + this.IgnoreTextTagsExtractionErrors.Equals(input.IgnoreTextTagsExtractionErrors) + ) && ( this.ExpiresAt == input.ExpiresAt || (this.ExpiresAt != null && @@ -588,6 +602,7 @@ public override int GetHashCode() hashCode = (hashCode * 59) + this.Title.GetHashCode(); } hashCode = (hashCode * 59) + this.UseTextTags.GetHashCode(); + hashCode = (hashCode * 59) + this.IgnoreTextTagsExtractionErrors.GetHashCode(); if (this.ExpiresAt != null) { hashCode = (hashCode * 59) + this.ExpiresAt.GetHashCode(); @@ -802,6 +817,13 @@ public List GetOpenApiTypes() Value = UseTextTags, }); types.Add(new OpenApiType() + { + Name = "ignore_text_tags_extraction_errors", + Property = "IgnoreTextTagsExtractionErrors", + Type = "bool", + Value = IgnoreTextTagsExtractionErrors, + }); + types.Add(new OpenApiType() { Name = "expires_at", Property = "ExpiresAt", diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateCreateEmbeddedDraftRequest.cs b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateCreateEmbeddedDraftRequest.cs index 4220dc5df..6ba6a920d 100644 --- a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateCreateEmbeddedDraftRequest.cs +++ b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateCreateEmbeddedDraftRequest.cs @@ -66,7 +66,8 @@ protected TemplateCreateEmbeddedDraftRequest() { } /// 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). /// The title you want to assign to the SignatureRequest.. /// Enable the detection of predefined PDF fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). (default to false). - public TemplateCreateEmbeddedDraftRequest(List files = default(List), List fileUrls = default(List), bool allowCcs = true, bool allowReassign = false, List attachments = default(List), List ccRoles = default(List), string clientId = default(string), SubEditorOptions editorOptions = default(SubEditorOptions), SubFieldOptions fieldOptions = default(SubFieldOptions), bool forceSignerRoles = false, bool forceSubjectMessage = false, List formFieldGroups = default(List), List formFieldRules = default(List), List formFieldsPerDocument = default(List), List mergeFields = default(List), string message = default(string), Dictionary metadata = default(Dictionary), bool showPreview = false, bool showProgressStepper = true, List signerRoles = default(List), bool skipMeNow = false, string subject = default(string), bool testMode = false, string title = default(string), bool usePreexistingFields = false) + /// _t__TemplateCreateEmbeddedDraft::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS (default to false). + public TemplateCreateEmbeddedDraftRequest(List files = default(List), List fileUrls = default(List), bool allowCcs = true, bool allowReassign = false, List attachments = default(List), List ccRoles = default(List), string clientId = default(string), SubEditorOptions editorOptions = default(SubEditorOptions), SubFieldOptions fieldOptions = default(SubFieldOptions), bool forceSignerRoles = false, bool forceSubjectMessage = false, List formFieldGroups = default(List), List formFieldRules = default(List), List formFieldsPerDocument = default(List), List mergeFields = default(List), string message = default(string), Dictionary metadata = default(Dictionary), bool showPreview = false, bool showProgressStepper = true, List signerRoles = default(List), bool skipMeNow = false, string subject = default(string), bool testMode = false, string title = default(string), bool usePreexistingFields = false, bool ignoreTextTagsExtractionErrors = false) { // to ensure "clientId" is required (not null) @@ -99,6 +100,7 @@ protected TemplateCreateEmbeddedDraftRequest() { } this.TestMode = testMode; this.Title = title; this.UsePreexistingFields = usePreexistingFields; + this.IgnoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; } /// @@ -290,6 +292,13 @@ public static TemplateCreateEmbeddedDraftRequest Init(string jsonData) [DataMember(Name = "use_preexisting_fields", EmitDefaultValue = true)] public bool UsePreexistingFields { get; set; } + /// + /// _t__TemplateCreateEmbeddedDraft::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + /// + /// _t__TemplateCreateEmbeddedDraft::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + [DataMember(Name = "ignore_text_tags_extraction_errors", EmitDefaultValue = true)] + public bool IgnoreTextTagsExtractionErrors { get; set; } + /// /// Returns the string presentation of the object /// @@ -323,6 +332,7 @@ public override string ToString() sb.Append(" TestMode: ").Append(TestMode).Append("\n"); sb.Append(" Title: ").Append(Title).Append("\n"); sb.Append(" UsePreexistingFields: ").Append(UsePreexistingFields).Append("\n"); + sb.Append(" IgnoreTextTagsExtractionErrors: ").Append(IgnoreTextTagsExtractionErrors).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -483,6 +493,10 @@ public bool Equals(TemplateCreateEmbeddedDraftRequest input) ( this.UsePreexistingFields == input.UsePreexistingFields || this.UsePreexistingFields.Equals(input.UsePreexistingFields) + ) && + ( + this.IgnoreTextTagsExtractionErrors == input.IgnoreTextTagsExtractionErrors || + this.IgnoreTextTagsExtractionErrors.Equals(input.IgnoreTextTagsExtractionErrors) ); } @@ -568,6 +582,7 @@ public override int GetHashCode() hashCode = (hashCode * 59) + this.Title.GetHashCode(); } hashCode = (hashCode * 59) + this.UsePreexistingFields.GetHashCode(); + hashCode = (hashCode * 59) + this.IgnoreTextTagsExtractionErrors.GetHashCode(); return hashCode; } } @@ -771,6 +786,13 @@ public List GetOpenApiTypes() Type = "bool", Value = UsePreexistingFields, }); + types.Add(new OpenApiType() + { + Name = "ignore_text_tags_extraction_errors", + Property = "IgnoreTextTagsExtractionErrors", + Type = "bool", + Value = IgnoreTextTagsExtractionErrors, + }); return types; } diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateCreateRequest.cs b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateCreateRequest.cs index 5db1a03e2..c433bf6fa 100644 --- a/sdks/dotnet/src/Dropbox.Sign/Model/TemplateCreateRequest.cs +++ b/sdks/dotnet/src/Dropbox.Sign/Model/TemplateCreateRequest.cs @@ -59,7 +59,8 @@ protected TemplateCreateRequest() { } /// 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). /// The title you want to assign to the SignatureRequest.. /// Enable the detection of predefined PDF fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). (default to false). - public TemplateCreateRequest(List files = default(List), List fileUrls = default(List), bool allowReassign = false, List attachments = default(List), List ccRoles = default(List), string clientId = default(string), SubFieldOptions fieldOptions = default(SubFieldOptions), List formFieldGroups = default(List), List formFieldRules = default(List), List formFieldsPerDocument = default(List), List mergeFields = default(List), string message = default(string), Dictionary metadata = default(Dictionary), List signerRoles = default(List), string subject = default(string), bool testMode = false, string title = default(string), bool usePreexistingFields = false) + /// _t__TemplateCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS (default to false). + public TemplateCreateRequest(List files = default(List), List fileUrls = default(List), bool allowReassign = false, List attachments = default(List), List ccRoles = default(List), string clientId = default(string), SubFieldOptions fieldOptions = default(SubFieldOptions), List formFieldGroups = default(List), List formFieldRules = default(List), List formFieldsPerDocument = default(List), List mergeFields = default(List), string message = default(string), Dictionary metadata = default(Dictionary), List signerRoles = default(List), string subject = default(string), bool testMode = false, string title = default(string), bool usePreexistingFields = false, bool ignoreTextTagsExtractionErrors = false) { // to ensure "formFieldsPerDocument" is required (not null) @@ -90,6 +91,7 @@ protected TemplateCreateRequest() { } this.TestMode = testMode; this.Title = title; this.UsePreexistingFields = usePreexistingFields; + this.IgnoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; } /// @@ -233,6 +235,13 @@ public static TemplateCreateRequest Init(string jsonData) [DataMember(Name = "use_preexisting_fields", EmitDefaultValue = true)] public bool UsePreexistingFields { get; set; } + /// + /// _t__TemplateCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + /// + /// _t__TemplateCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + [DataMember(Name = "ignore_text_tags_extraction_errors", EmitDefaultValue = true)] + public bool IgnoreTextTagsExtractionErrors { get; set; } + /// /// Returns the string presentation of the object /// @@ -259,6 +268,7 @@ public override string ToString() sb.Append(" TestMode: ").Append(TestMode).Append("\n"); sb.Append(" Title: ").Append(Title).Append("\n"); sb.Append(" UsePreexistingFields: ").Append(UsePreexistingFields).Append("\n"); + sb.Append(" IgnoreTextTagsExtractionErrors: ").Append(IgnoreTextTagsExtractionErrors).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -390,6 +400,10 @@ public bool Equals(TemplateCreateRequest input) ( this.UsePreexistingFields == input.UsePreexistingFields || this.UsePreexistingFields.Equals(input.UsePreexistingFields) + ) && + ( + this.IgnoreTextTagsExtractionErrors == input.IgnoreTextTagsExtractionErrors || + this.IgnoreTextTagsExtractionErrors.Equals(input.IgnoreTextTagsExtractionErrors) ); } @@ -465,6 +479,7 @@ public override int GetHashCode() hashCode = (hashCode * 59) + this.Title.GetHashCode(); } hashCode = (hashCode * 59) + this.UsePreexistingFields.GetHashCode(); + hashCode = (hashCode * 59) + this.IgnoreTextTagsExtractionErrors.GetHashCode(); return hashCode; } } @@ -619,6 +634,13 @@ public List GetOpenApiTypes() Type = "bool", Value = UsePreexistingFields, }); + types.Add(new OpenApiType() + { + Name = "ignore_text_tags_extraction_errors", + Property = "IgnoreTextTagsExtractionErrors", + Type = "bool", + Value = IgnoreTextTagsExtractionErrors, + }); return types; } diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/UnclaimedDraftCreateEmbeddedRequest.cs b/sdks/dotnet/src/Dropbox.Sign/Model/UnclaimedDraftCreateEmbeddedRequest.cs index 00ece6767..94ee46bcb 100644 --- a/sdks/dotnet/src/Dropbox.Sign/Model/UnclaimedDraftCreateEmbeddedRequest.cs +++ b/sdks/dotnet/src/Dropbox.Sign/Model/UnclaimedDraftCreateEmbeddedRequest.cs @@ -102,9 +102,10 @@ protected UnclaimedDraftCreateEmbeddedRequest() { } /// 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 TypeEnum.RequestSignature). /// 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). /// 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). + /// _t__UnclaimedDraftCreateEmbedded::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS (default to false). /// 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). /// 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.. - public UnclaimedDraftCreateEmbeddedRequest(List files = default(List), List fileUrls = default(List), bool allowCcs = true, bool allowDecline = false, bool allowReassign = false, List attachments = default(List), List ccEmailAddresses = default(List), string clientId = default(string), List customFields = default(List), SubEditorOptions editorOptions = default(SubEditorOptions), SubFieldOptions fieldOptions = default(SubFieldOptions), bool forceSignerPage = false, bool forceSubjectMessage = false, List formFieldGroups = default(List), List formFieldRules = default(List), List formFieldsPerDocument = default(List), bool hideTextTags = false, bool holdRequest = false, bool isForEmbeddedSigning = false, string message = default(string), Dictionary metadata = default(Dictionary), string requesterEmailAddress = default(string), string requestingRedirectUrl = default(string), bool showPreview = default(bool), bool showProgressStepper = true, List signers = default(List), SubSigningOptions signingOptions = default(SubSigningOptions), string signingRedirectUrl = default(string), bool skipMeNow = false, string subject = default(string), bool testMode = false, TypeEnum? type = TypeEnum.RequestSignature, bool usePreexistingFields = false, bool useTextTags = false, bool populateAutoFillFields = false, int? expiresAt = default(int?)) + public UnclaimedDraftCreateEmbeddedRequest(List files = default(List), List fileUrls = default(List), bool allowCcs = true, bool allowDecline = false, bool allowReassign = false, List attachments = default(List), List ccEmailAddresses = default(List), string clientId = default(string), List customFields = default(List), SubEditorOptions editorOptions = default(SubEditorOptions), SubFieldOptions fieldOptions = default(SubFieldOptions), bool forceSignerPage = false, bool forceSubjectMessage = false, List formFieldGroups = default(List), List formFieldRules = default(List), List formFieldsPerDocument = default(List), bool hideTextTags = false, bool holdRequest = false, bool isForEmbeddedSigning = false, string message = default(string), Dictionary metadata = default(Dictionary), string requesterEmailAddress = default(string), string requestingRedirectUrl = default(string), bool showPreview = default(bool), bool showProgressStepper = true, List signers = default(List), SubSigningOptions signingOptions = default(SubSigningOptions), string signingRedirectUrl = default(string), bool skipMeNow = false, string subject = default(string), bool testMode = false, TypeEnum? type = TypeEnum.RequestSignature, bool usePreexistingFields = false, bool useTextTags = false, bool ignoreTextTagsExtractionErrors = false, bool populateAutoFillFields = false, int? expiresAt = default(int?)) { // to ensure "clientId" is required (not null) @@ -151,6 +152,7 @@ protected UnclaimedDraftCreateEmbeddedRequest() { } this.Type = type; this.UsePreexistingFields = usePreexistingFields; this.UseTextTags = useTextTags; + this.IgnoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; this.PopulateAutoFillFields = populateAutoFillFields; this.ExpiresAt = expiresAt; } @@ -399,6 +401,13 @@ public static UnclaimedDraftCreateEmbeddedRequest Init(string jsonData) [DataMember(Name = "use_text_tags", EmitDefaultValue = true)] public bool UseTextTags { get; set; } + /// + /// _t__UnclaimedDraftCreateEmbedded::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + /// + /// _t__UnclaimedDraftCreateEmbedded::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + [DataMember(Name = "ignore_text_tags_extraction_errors", EmitDefaultValue = true)] + public bool IgnoreTextTagsExtractionErrors { get; set; } + /// /// 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. /// @@ -455,6 +464,7 @@ public override string ToString() sb.Append(" Type: ").Append(Type).Append("\n"); sb.Append(" UsePreexistingFields: ").Append(UsePreexistingFields).Append("\n"); sb.Append(" UseTextTags: ").Append(UseTextTags).Append("\n"); + sb.Append(" IgnoreTextTagsExtractionErrors: ").Append(IgnoreTextTagsExtractionErrors).Append("\n"); sb.Append(" PopulateAutoFillFields: ").Append(PopulateAutoFillFields).Append("\n"); sb.Append(" ExpiresAt: ").Append(ExpiresAt).Append("\n"); sb.Append("}\n"); @@ -657,6 +667,10 @@ public bool Equals(UnclaimedDraftCreateEmbeddedRequest input) this.UseTextTags == input.UseTextTags || this.UseTextTags.Equals(input.UseTextTags) ) && + ( + this.IgnoreTextTagsExtractionErrors == input.IgnoreTextTagsExtractionErrors || + this.IgnoreTextTagsExtractionErrors.Equals(input.IgnoreTextTagsExtractionErrors) + ) && ( this.PopulateAutoFillFields == input.PopulateAutoFillFields || this.PopulateAutoFillFields.Equals(input.PopulateAutoFillFields) @@ -768,6 +782,7 @@ public override int GetHashCode() hashCode = (hashCode * 59) + this.Type.GetHashCode(); hashCode = (hashCode * 59) + this.UsePreexistingFields.GetHashCode(); hashCode = (hashCode * 59) + this.UseTextTags.GetHashCode(); + hashCode = (hashCode * 59) + this.IgnoreTextTagsExtractionErrors.GetHashCode(); hashCode = (hashCode * 59) + this.PopulateAutoFillFields.GetHashCode(); if (this.ExpiresAt != null) { @@ -1040,6 +1055,13 @@ public List GetOpenApiTypes() Value = UseTextTags, }); types.Add(new OpenApiType() + { + Name = "ignore_text_tags_extraction_errors", + Property = "IgnoreTextTagsExtractionErrors", + Type = "bool", + Value = IgnoreTextTagsExtractionErrors, + }); + types.Add(new OpenApiType() { Name = "populate_auto_fill_fields", Property = "PopulateAutoFillFields", diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/UnclaimedDraftCreateRequest.cs b/sdks/dotnet/src/Dropbox.Sign/Model/UnclaimedDraftCreateRequest.cs index 065407e17..8f44c5e46 100644 --- a/sdks/dotnet/src/Dropbox.Sign/Model/UnclaimedDraftCreateRequest.cs +++ b/sdks/dotnet/src/Dropbox.Sign/Model/UnclaimedDraftCreateRequest.cs @@ -91,8 +91,9 @@ protected UnclaimedDraftCreateRequest() { } /// The type of unclaimed draft to create. Use `send_document` to create a claimable file, and `request_signature` for a claimable signature request. If the type is `request_signature` then signers name and email_address are not optional. (required). /// 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). /// 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). + /// _t__UnclaimedDraftCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS (default to false). /// 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.. - public UnclaimedDraftCreateRequest(List files = default(List), List fileUrls = default(List), bool allowDecline = false, List attachments = default(List), List ccEmailAddresses = default(List), string clientId = default(string), List customFields = default(List), SubFieldOptions fieldOptions = default(SubFieldOptions), List formFieldGroups = default(List), List formFieldRules = default(List), List formFieldsPerDocument = default(List), bool hideTextTags = false, string message = default(string), Dictionary metadata = default(Dictionary), bool showProgressStepper = true, List signers = default(List), SubSigningOptions signingOptions = default(SubSigningOptions), string signingRedirectUrl = default(string), string subject = default(string), bool testMode = false, TypeEnum type = default(TypeEnum), bool usePreexistingFields = false, bool useTextTags = false, int? expiresAt = default(int?)) + public UnclaimedDraftCreateRequest(List files = default(List), List fileUrls = default(List), bool allowDecline = false, List attachments = default(List), List ccEmailAddresses = default(List), string clientId = default(string), List customFields = default(List), SubFieldOptions fieldOptions = default(SubFieldOptions), List formFieldGroups = default(List), List formFieldRules = default(List), List formFieldsPerDocument = default(List), bool hideTextTags = false, string message = default(string), Dictionary metadata = default(Dictionary), bool showProgressStepper = true, List signers = default(List), SubSigningOptions signingOptions = default(SubSigningOptions), string signingRedirectUrl = default(string), string subject = default(string), bool testMode = false, TypeEnum type = default(TypeEnum), bool usePreexistingFields = false, bool useTextTags = false, bool ignoreTextTagsExtractionErrors = false, int? expiresAt = default(int?)) { this.Type = type; @@ -118,6 +119,7 @@ protected UnclaimedDraftCreateRequest() { } this.TestMode = testMode; this.UsePreexistingFields = usePreexistingFields; this.UseTextTags = useTextTags; + this.IgnoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; this.ExpiresAt = expiresAt; } @@ -289,6 +291,13 @@ public static UnclaimedDraftCreateRequest Init(string jsonData) [DataMember(Name = "use_text_tags", EmitDefaultValue = true)] public bool UseTextTags { get; set; } + /// + /// _t__UnclaimedDraftCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + /// + /// _t__UnclaimedDraftCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + [DataMember(Name = "ignore_text_tags_extraction_errors", EmitDefaultValue = true)] + public bool IgnoreTextTagsExtractionErrors { get; set; } + /// /// 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. /// @@ -327,6 +336,7 @@ public override string ToString() sb.Append(" TestMode: ").Append(TestMode).Append("\n"); sb.Append(" UsePreexistingFields: ").Append(UsePreexistingFields).Append("\n"); sb.Append(" UseTextTags: ").Append(UseTextTags).Append("\n"); + sb.Append(" IgnoreTextTagsExtractionErrors: ").Append(IgnoreTextTagsExtractionErrors).Append("\n"); sb.Append(" ExpiresAt: ").Append(ExpiresAt).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -481,6 +491,10 @@ public bool Equals(UnclaimedDraftCreateRequest input) this.UseTextTags == input.UseTextTags || this.UseTextTags.Equals(input.UseTextTags) ) && + ( + this.IgnoreTextTagsExtractionErrors == input.IgnoreTextTagsExtractionErrors || + this.IgnoreTextTagsExtractionErrors.Equals(input.IgnoreTextTagsExtractionErrors) + ) && ( this.ExpiresAt == input.ExpiresAt || (this.ExpiresAt != null && @@ -568,6 +582,7 @@ public override int GetHashCode() hashCode = (hashCode * 59) + this.TestMode.GetHashCode(); hashCode = (hashCode * 59) + this.UsePreexistingFields.GetHashCode(); hashCode = (hashCode * 59) + this.UseTextTags.GetHashCode(); + hashCode = (hashCode * 59) + this.IgnoreTextTagsExtractionErrors.GetHashCode(); if (this.ExpiresAt != null) { hashCode = (hashCode * 59) + this.ExpiresAt.GetHashCode(); @@ -762,6 +777,13 @@ public List GetOpenApiTypes() Value = UseTextTags, }); types.Add(new OpenApiType() + { + Name = "ignore_text_tags_extraction_errors", + Property = "IgnoreTextTagsExtractionErrors", + Type = "bool", + Value = IgnoreTextTagsExtractionErrors, + }); + types.Add(new OpenApiType() { Name = "expires_at", Property = "ExpiresAt", diff --git a/sdks/java-v1/docs/ErrorResponseError.md b/sdks/java-v1/docs/ErrorResponseError.md index 656aa5c7f..733411fd1 100644 --- a/sdks/java-v1/docs/ErrorResponseError.md +++ b/sdks/java-v1/docs/ErrorResponseError.md @@ -9,8 +9,35 @@ Contains information about an error that occurred. | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| | `errorMsg`*_required_ | ```String``` | Message describing an error. | | -| `errorName`*_required_ | ```String``` | Name of the error. | | +| `errorName`*_required_ | [```ErrorNameEnum```](#ErrorNameEnum) | Name of the error. | | | `errorPath` | ```String``` | Path at which an error occurred. | | +## Enum: ErrorNameEnum + +| Name | Value | +---- | ----- +| BAD_REQUEST | "bad_request" | +| UNAUTHORIZED | "unauthorized" | +| PAYMENT_REQUIRED | "payment_required" | +| FORBIDDEN | "forbidden" | +| NOT_FOUND | "not_found" | +| CONFLICT | "conflict" | +| EXCEEDED_RATE | "exceeded_rate" | +| UNKNOWN | "unknown" | +| TEAM_INVITE_FAILED | "team_invite_failed" | +| MAX_FAXES | "max_faxes" | +| INVALID_RECIPIENT | "invalid_recipient" | +| SIGNATURE_REQUEST_CANCEL_FAILED | "signature_request_cancel_failed" | +| SIGNATURE_REQUEST_REMOVE_FAILED | "signature_request_remove_failed" | +| MAINTENANCE | "maintenance" | +| METHOD_NOT_SUPPORTED | "method_not_supported" | +| INVALID_REMINDER | "invalid_reminder" | +| UNAVAILABLE | "unavailable" | +| UNPROCESSABLE_ENTITY | "unprocessable_entity" | +| SIGNATURE_REQUEST_EXPIRED | "signature_request_expired" | +| DELETED | "deleted" | + + + diff --git a/sdks/java-v1/docs/SignatureRequestCreateEmbeddedRequest.md b/sdks/java-v1/docs/SignatureRequestCreateEmbeddedRequest.md index 383f8a8f3..5c9fb864a 100644 --- a/sdks/java-v1/docs/SignatureRequestCreateEmbeddedRequest.md +++ b/sdks/java-v1/docs/SignatureRequestCreateEmbeddedRequest.md @@ -30,6 +30,7 @@ | `testMode` | ```Boolean``` | Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. | | | `title` | ```String``` | The title you want to assign to the SignatureRequest. | | | `useTextTags` | ```Boolean``` | 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`. | | +| `ignoreTextTagsExtractionErrors` | ```Boolean``` | Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. | | | `populateAutoFillFields` | ```Boolean``` | 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. | | | `expiresAt` | ```Integer``` | 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/sdks/java-v1/docs/SignatureRequestEditEmbeddedRequest.md b/sdks/java-v1/docs/SignatureRequestEditEmbeddedRequest.md index dd8b06061..6bceed341 100644 --- a/sdks/java-v1/docs/SignatureRequestEditEmbeddedRequest.md +++ b/sdks/java-v1/docs/SignatureRequestEditEmbeddedRequest.md @@ -30,6 +30,7 @@ | `testMode` | ```Boolean``` | Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. | | | `title` | ```String``` | The title you want to assign to the SignatureRequest. | | | `useTextTags` | ```Boolean``` | 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`. | | +| `ignoreTextTagsExtractionErrors` | ```Boolean``` | Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. | | | `populateAutoFillFields` | ```Boolean``` | 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. | | | `expiresAt` | ```Integer``` | 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/sdks/java-v1/docs/SignatureRequestEditRequest.md b/sdks/java-v1/docs/SignatureRequestEditRequest.md index b4705fe97..8b75171b1 100644 --- a/sdks/java-v1/docs/SignatureRequestEditRequest.md +++ b/sdks/java-v1/docs/SignatureRequestEditRequest.md @@ -32,6 +32,7 @@ | `testMode` | ```Boolean``` | Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. | | | `title` | ```String``` | The title you want to assign to the SignatureRequest. | | | `useTextTags` | ```Boolean``` | 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`. | | +| `ignoreTextTagsExtractionErrors` | ```Boolean``` | _t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | | | `expiresAt` | ```Integer``` | 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/sdks/java-v1/docs/SignatureRequestSendRequest.md b/sdks/java-v1/docs/SignatureRequestSendRequest.md index a34284aa2..1bafc1cd0 100644 --- a/sdks/java-v1/docs/SignatureRequestSendRequest.md +++ b/sdks/java-v1/docs/SignatureRequestSendRequest.md @@ -33,6 +33,7 @@ | `testMode` | ```Boolean``` | Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. | | | `title` | ```String``` | The title you want to assign to the SignatureRequest. | | | `useTextTags` | ```Boolean``` | 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`. | | +| `ignoreTextTagsExtractionErrors` | ```Boolean``` | _t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | | | `expiresAt` | ```Integer``` | 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/sdks/java-v1/docs/TemplateCreateEmbeddedDraftRequest.md b/sdks/java-v1/docs/TemplateCreateEmbeddedDraftRequest.md index 05f2497fc..f55464253 100644 --- a/sdks/java-v1/docs/TemplateCreateEmbeddedDraftRequest.md +++ b/sdks/java-v1/docs/TemplateCreateEmbeddedDraftRequest.md @@ -33,6 +33,7 @@ | `testMode` | ```Boolean``` | Whether this is a test, the signature request created from this draft will not be legally binding if set to `true`. Defaults to `false`. | | | `title` | ```String``` | The title you want to assign to the SignatureRequest. | | | `usePreexistingFields` | ```Boolean``` | Enable the detection of predefined PDF fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). | | +| `ignoreTextTagsExtractionErrors` | ```Boolean``` | _t__TemplateCreateEmbeddedDraft::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | | diff --git a/sdks/java-v1/docs/TemplateCreateRequest.md b/sdks/java-v1/docs/TemplateCreateRequest.md index 5f99510d9..f04e1bd84 100644 --- a/sdks/java-v1/docs/TemplateCreateRequest.md +++ b/sdks/java-v1/docs/TemplateCreateRequest.md @@ -26,6 +26,7 @@ | `testMode` | ```Boolean``` | Whether this is a test, the signature request created from this draft will not be legally binding if set to `true`. Defaults to `false`. | | | `title` | ```String``` | The title you want to assign to the SignatureRequest. | | | `usePreexistingFields` | ```Boolean``` | Enable the detection of predefined PDF fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). | | +| `ignoreTextTagsExtractionErrors` | ```Boolean``` | _t__TemplateCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | | diff --git a/sdks/java-v1/docs/UnclaimedDraftCreateEmbeddedRequest.md b/sdks/java-v1/docs/UnclaimedDraftCreateEmbeddedRequest.md index aab362d77..8d3670fcd 100644 --- a/sdks/java-v1/docs/UnclaimedDraftCreateEmbeddedRequest.md +++ b/sdks/java-v1/docs/UnclaimedDraftCreateEmbeddedRequest.md @@ -42,6 +42,7 @@ | `type` | [```TypeEnum```](#TypeEnum) | 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. | | | `usePreexistingFields` | ```Boolean``` | 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. | | | `useTextTags` | ```Boolean``` | 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. | | +| `ignoreTextTagsExtractionErrors` | ```Boolean``` | _t__UnclaimedDraftCreateEmbedded::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | | | `populateAutoFillFields` | ```Boolean``` | 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. | | | `expiresAt` | ```Integer``` | 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/sdks/java-v1/docs/UnclaimedDraftCreateRequest.md b/sdks/java-v1/docs/UnclaimedDraftCreateRequest.md index f23c6f4ba..7dda3209e 100644 --- a/sdks/java-v1/docs/UnclaimedDraftCreateRequest.md +++ b/sdks/java-v1/docs/UnclaimedDraftCreateRequest.md @@ -31,6 +31,7 @@ | `testMode` | ```Boolean``` | Whether this is a test, the signature request created from this draft will not be legally binding if set to `true`. Defaults to `false`. | | | `usePreexistingFields` | ```Boolean``` | 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. | | | `useTextTags` | ```Boolean``` | 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. | | +| `ignoreTextTagsExtractionErrors` | ```Boolean``` | _t__UnclaimedDraftCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | | | `expiresAt` | ```Integer``` | 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/sdks/java-v1/src/main/java/com/dropbox/sign/model/ErrorResponseError.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/ErrorResponseError.java index e9624c65f..26215a447 100644 --- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/ErrorResponseError.java +++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/ErrorResponseError.java @@ -14,10 +14,12 @@ import com.dropbox.sign.ApiException; import com.dropbox.sign.JSON; +import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.annotation.JsonValue; import com.fasterxml.jackson.databind.ObjectMapper; import java.util.HashMap; import java.util.Map; @@ -37,8 +39,77 @@ public class ErrorResponseError { public static final String JSON_PROPERTY_ERROR_MSG = "error_msg"; @javax.annotation.Nonnull private String errorMsg; + /** Name of the error. */ + public enum ErrorNameEnum { + BAD_REQUEST(String.valueOf("bad_request")), + + UNAUTHORIZED(String.valueOf("unauthorized")), + + PAYMENT_REQUIRED(String.valueOf("payment_required")), + + FORBIDDEN(String.valueOf("forbidden")), + + NOT_FOUND(String.valueOf("not_found")), + + CONFLICT(String.valueOf("conflict")), + + EXCEEDED_RATE(String.valueOf("exceeded_rate")), + + UNKNOWN(String.valueOf("unknown")), + + TEAM_INVITE_FAILED(String.valueOf("team_invite_failed")), + + MAX_FAXES(String.valueOf("max_faxes")), + + INVALID_RECIPIENT(String.valueOf("invalid_recipient")), + + SIGNATURE_REQUEST_CANCEL_FAILED(String.valueOf("signature_request_cancel_failed")), + + SIGNATURE_REQUEST_REMOVE_FAILED(String.valueOf("signature_request_remove_failed")), + + MAINTENANCE(String.valueOf("maintenance")), + + METHOD_NOT_SUPPORTED(String.valueOf("method_not_supported")), + + INVALID_REMINDER(String.valueOf("invalid_reminder")), + + UNAVAILABLE(String.valueOf("unavailable")), + + UNPROCESSABLE_ENTITY(String.valueOf("unprocessable_entity")), + + SIGNATURE_REQUEST_EXPIRED(String.valueOf("signature_request_expired")), + + DELETED(String.valueOf("deleted")); + + private String value; + + ErrorNameEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static ErrorNameEnum fromValue(String value) { + for (ErrorNameEnum b : ErrorNameEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + public static final String JSON_PROPERTY_ERROR_NAME = "error_name"; - @javax.annotation.Nonnull private String errorName; + @javax.annotation.Nonnull private ErrorNameEnum errorName; public static final String JSON_PROPERTY_ERROR_PATH = "error_path"; @javax.annotation.Nullable private String errorPath; @@ -82,7 +153,7 @@ public void setErrorMsg(@javax.annotation.Nonnull String errorMsg) { this.errorMsg = errorMsg; } - public ErrorResponseError errorName(@javax.annotation.Nonnull String errorName) { + public ErrorResponseError errorName(@javax.annotation.Nonnull ErrorNameEnum errorName) { this.errorName = errorName; return this; } @@ -95,13 +166,13 @@ public ErrorResponseError errorName(@javax.annotation.Nonnull String errorName) @javax.annotation.Nonnull @JsonProperty(JSON_PROPERTY_ERROR_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getErrorName() { + public ErrorNameEnum getErrorName() { return errorName; } @JsonProperty(JSON_PROPERTY_ERROR_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setErrorName(@javax.annotation.Nonnull String errorName) { + public void setErrorName(@javax.annotation.Nonnull ErrorNameEnum errorName) { this.errorName = errorName; } diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/SignatureRequestCreateEmbeddedRequest.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/SignatureRequestCreateEmbeddedRequest.java index 8e1987c37..619de9b1b 100644 --- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/SignatureRequestCreateEmbeddedRequest.java +++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/SignatureRequestCreateEmbeddedRequest.java @@ -50,6 +50,7 @@ SignatureRequestCreateEmbeddedRequest.JSON_PROPERTY_TEST_MODE, SignatureRequestCreateEmbeddedRequest.JSON_PROPERTY_TITLE, SignatureRequestCreateEmbeddedRequest.JSON_PROPERTY_USE_TEXT_TAGS, + SignatureRequestCreateEmbeddedRequest.JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS, SignatureRequestCreateEmbeddedRequest.JSON_PROPERTY_POPULATE_AUTO_FILL_FIELDS, SignatureRequestCreateEmbeddedRequest.JSON_PROPERTY_EXPIRES_AT }) @@ -126,6 +127,10 @@ public class SignatureRequestCreateEmbeddedRequest { public static final String JSON_PROPERTY_USE_TEXT_TAGS = "use_text_tags"; @javax.annotation.Nullable private Boolean useTextTags = false; + public static final String JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS = + "ignore_text_tags_extraction_errors"; + @javax.annotation.Nullable private Boolean ignoreTextTagsExtractionErrors = false; + public static final String JSON_PROPERTY_POPULATE_AUTO_FILL_FIELDS = "populate_auto_fill_fields"; @javax.annotation.Nullable private Boolean populateAutoFillFields = false; @@ -802,6 +807,31 @@ public void setUseTextTags(@javax.annotation.Nullable Boolean useTextTags) { this.useTextTags = useTextTags; } + public SignatureRequestCreateEmbeddedRequest ignoreTextTagsExtractionErrors( + @javax.annotation.Nullable Boolean ignoreTextTagsExtractionErrors) { + this.ignoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; + return this; + } + + /** + * Sent with a value of `true` to ignore the validation errors from text tags + * extraction. Defaults to `false`. + * + * @return ignoreTextTagsExtractionErrors + */ + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Boolean getIgnoreTextTagsExtractionErrors() { + return ignoreTextTagsExtractionErrors; + } + + @JsonProperty(JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIgnoreTextTagsExtractionErrors( + @javax.annotation.Nullable Boolean ignoreTextTagsExtractionErrors) { + this.ignoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; + } + public SignatureRequestCreateEmbeddedRequest populateAutoFillFields( @javax.annotation.Nullable Boolean populateAutoFillFields) { this.populateAutoFillFields = populateAutoFillFields; @@ -903,6 +933,9 @@ public boolean equals(Object o) { && Objects.equals(this.title, signatureRequestCreateEmbeddedRequest.title) && Objects.equals( this.useTextTags, signatureRequestCreateEmbeddedRequest.useTextTags) + && Objects.equals( + this.ignoreTextTagsExtractionErrors, + signatureRequestCreateEmbeddedRequest.ignoreTextTagsExtractionErrors) && Objects.equals( this.populateAutoFillFields, signatureRequestCreateEmbeddedRequest.populateAutoFillFields) @@ -934,6 +967,7 @@ public int hashCode() { testMode, title, useTextTags, + ignoreTextTagsExtractionErrors, populateAutoFillFields, expiresAt); } @@ -966,6 +1000,9 @@ public String toString() { sb.append(" testMode: ").append(toIndentedString(testMode)).append("\n"); sb.append(" title: ").append(toIndentedString(title)).append("\n"); sb.append(" useTextTags: ").append(toIndentedString(useTextTags)).append("\n"); + sb.append(" ignoreTextTagsExtractionErrors: ") + .append(toIndentedString(ignoreTextTagsExtractionErrors)) + .append("\n"); sb.append(" populateAutoFillFields: ") .append(toIndentedString(populateAutoFillFields)) .append("\n"); @@ -1410,6 +1447,30 @@ public Map createFormData() throws ApiException { JSON.getDefault().getMapper().writeValueAsString(useTextTags)); } } + if (ignoreTextTagsExtractionErrors != null) { + if (isFileTypeOrListOfFiles(ignoreTextTagsExtractionErrors)) { + fileTypeFound = true; + } + + if (ignoreTextTagsExtractionErrors.getClass().equals(java.io.File.class) + || ignoreTextTagsExtractionErrors.getClass().equals(Integer.class) + || ignoreTextTagsExtractionErrors.getClass().equals(String.class) + || ignoreTextTagsExtractionErrors.getClass().isEnum()) { + map.put("ignore_text_tags_extraction_errors", ignoreTextTagsExtractionErrors); + } else if (isListOfFile(ignoreTextTagsExtractionErrors)) { + for (int i = 0; i < getListSize(ignoreTextTagsExtractionErrors); i++) { + map.put( + "ignore_text_tags_extraction_errors[" + i + "]", + getFromList(ignoreTextTagsExtractionErrors, i)); + } + } else { + map.put( + "ignore_text_tags_extraction_errors", + JSON.getDefault() + .getMapper() + .writeValueAsString(ignoreTextTagsExtractionErrors)); + } + } if (populateAutoFillFields != null) { if (isFileTypeOrListOfFiles(populateAutoFillFields)) { fileTypeFound = true; diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/SignatureRequestEditEmbeddedRequest.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/SignatureRequestEditEmbeddedRequest.java index 752946426..7e81329a4 100644 --- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/SignatureRequestEditEmbeddedRequest.java +++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/SignatureRequestEditEmbeddedRequest.java @@ -50,6 +50,7 @@ SignatureRequestEditEmbeddedRequest.JSON_PROPERTY_TEST_MODE, SignatureRequestEditEmbeddedRequest.JSON_PROPERTY_TITLE, SignatureRequestEditEmbeddedRequest.JSON_PROPERTY_USE_TEXT_TAGS, + SignatureRequestEditEmbeddedRequest.JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS, SignatureRequestEditEmbeddedRequest.JSON_PROPERTY_POPULATE_AUTO_FILL_FIELDS, SignatureRequestEditEmbeddedRequest.JSON_PROPERTY_EXPIRES_AT }) @@ -126,6 +127,10 @@ public class SignatureRequestEditEmbeddedRequest { public static final String JSON_PROPERTY_USE_TEXT_TAGS = "use_text_tags"; @javax.annotation.Nullable private Boolean useTextTags = false; + public static final String JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS = + "ignore_text_tags_extraction_errors"; + @javax.annotation.Nullable private Boolean ignoreTextTagsExtractionErrors = false; + public static final String JSON_PROPERTY_POPULATE_AUTO_FILL_FIELDS = "populate_auto_fill_fields"; @javax.annotation.Nullable private Boolean populateAutoFillFields = false; @@ -798,6 +803,31 @@ public void setUseTextTags(@javax.annotation.Nullable Boolean useTextTags) { this.useTextTags = useTextTags; } + public SignatureRequestEditEmbeddedRequest ignoreTextTagsExtractionErrors( + @javax.annotation.Nullable Boolean ignoreTextTagsExtractionErrors) { + this.ignoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; + return this; + } + + /** + * Sent with a value of `true` to ignore the validation errors from text tags + * extraction. Defaults to `false`. + * + * @return ignoreTextTagsExtractionErrors + */ + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Boolean getIgnoreTextTagsExtractionErrors() { + return ignoreTextTagsExtractionErrors; + } + + @JsonProperty(JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIgnoreTextTagsExtractionErrors( + @javax.annotation.Nullable Boolean ignoreTextTagsExtractionErrors) { + this.ignoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; + } + public SignatureRequestEditEmbeddedRequest populateAutoFillFields( @javax.annotation.Nullable Boolean populateAutoFillFields) { this.populateAutoFillFields = populateAutoFillFields; @@ -896,6 +926,9 @@ public boolean equals(Object o) { && Objects.equals(this.testMode, signatureRequestEditEmbeddedRequest.testMode) && Objects.equals(this.title, signatureRequestEditEmbeddedRequest.title) && Objects.equals(this.useTextTags, signatureRequestEditEmbeddedRequest.useTextTags) + && Objects.equals( + this.ignoreTextTagsExtractionErrors, + signatureRequestEditEmbeddedRequest.ignoreTextTagsExtractionErrors) && Objects.equals( this.populateAutoFillFields, signatureRequestEditEmbeddedRequest.populateAutoFillFields) @@ -927,6 +960,7 @@ public int hashCode() { testMode, title, useTextTags, + ignoreTextTagsExtractionErrors, populateAutoFillFields, expiresAt); } @@ -959,6 +993,9 @@ public String toString() { sb.append(" testMode: ").append(toIndentedString(testMode)).append("\n"); sb.append(" title: ").append(toIndentedString(title)).append("\n"); sb.append(" useTextTags: ").append(toIndentedString(useTextTags)).append("\n"); + sb.append(" ignoreTextTagsExtractionErrors: ") + .append(toIndentedString(ignoreTextTagsExtractionErrors)) + .append("\n"); sb.append(" populateAutoFillFields: ") .append(toIndentedString(populateAutoFillFields)) .append("\n"); @@ -1403,6 +1440,30 @@ public Map createFormData() throws ApiException { JSON.getDefault().getMapper().writeValueAsString(useTextTags)); } } + if (ignoreTextTagsExtractionErrors != null) { + if (isFileTypeOrListOfFiles(ignoreTextTagsExtractionErrors)) { + fileTypeFound = true; + } + + if (ignoreTextTagsExtractionErrors.getClass().equals(java.io.File.class) + || ignoreTextTagsExtractionErrors.getClass().equals(Integer.class) + || ignoreTextTagsExtractionErrors.getClass().equals(String.class) + || ignoreTextTagsExtractionErrors.getClass().isEnum()) { + map.put("ignore_text_tags_extraction_errors", ignoreTextTagsExtractionErrors); + } else if (isListOfFile(ignoreTextTagsExtractionErrors)) { + for (int i = 0; i < getListSize(ignoreTextTagsExtractionErrors); i++) { + map.put( + "ignore_text_tags_extraction_errors[" + i + "]", + getFromList(ignoreTextTagsExtractionErrors, i)); + } + } else { + map.put( + "ignore_text_tags_extraction_errors", + JSON.getDefault() + .getMapper() + .writeValueAsString(ignoreTextTagsExtractionErrors)); + } + } if (populateAutoFillFields != null) { if (isFileTypeOrListOfFiles(populateAutoFillFields)) { fileTypeFound = true; diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/SignatureRequestEditRequest.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/SignatureRequestEditRequest.java index 85a485a07..d53855f98 100644 --- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/SignatureRequestEditRequest.java +++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/SignatureRequestEditRequest.java @@ -52,6 +52,7 @@ SignatureRequestEditRequest.JSON_PROPERTY_TEST_MODE, SignatureRequestEditRequest.JSON_PROPERTY_TITLE, SignatureRequestEditRequest.JSON_PROPERTY_USE_TEXT_TAGS, + SignatureRequestEditRequest.JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS, SignatureRequestEditRequest.JSON_PROPERTY_EXPIRES_AT }) @javax.annotation.Generated( @@ -133,6 +134,10 @@ public class SignatureRequestEditRequest { public static final String JSON_PROPERTY_USE_TEXT_TAGS = "use_text_tags"; @javax.annotation.Nullable private Boolean useTextTags = false; + public static final String JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS = + "ignore_text_tags_extraction_errors"; + @javax.annotation.Nullable private Boolean ignoreTextTagsExtractionErrors = false; + public static final String JSON_PROPERTY_EXPIRES_AT = "expires_at"; @javax.annotation.Nullable private Integer expiresAt; @@ -844,6 +849,30 @@ public void setUseTextTags(@javax.annotation.Nullable Boolean useTextTags) { this.useTextTags = useTextTags; } + public SignatureRequestEditRequest ignoreTextTagsExtractionErrors( + @javax.annotation.Nullable Boolean ignoreTextTagsExtractionErrors) { + this.ignoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; + return this; + } + + /** + * _t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + * + * @return ignoreTextTagsExtractionErrors + */ + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Boolean getIgnoreTextTagsExtractionErrors() { + return ignoreTextTagsExtractionErrors; + } + + @JsonProperty(JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIgnoreTextTagsExtractionErrors( + @javax.annotation.Nullable Boolean ignoreTextTagsExtractionErrors) { + this.ignoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; + } + public SignatureRequestEditRequest expiresAt(@javax.annotation.Nullable Integer expiresAt) { this.expiresAt = expiresAt; return this; @@ -906,6 +935,9 @@ public boolean equals(Object o) { && Objects.equals(this.testMode, signatureRequestEditRequest.testMode) && Objects.equals(this.title, signatureRequestEditRequest.title) && Objects.equals(this.useTextTags, signatureRequestEditRequest.useTextTags) + && Objects.equals( + this.ignoreTextTagsExtractionErrors, + signatureRequestEditRequest.ignoreTextTagsExtractionErrors) && Objects.equals(this.expiresAt, signatureRequestEditRequest.expiresAt); } @@ -936,6 +968,7 @@ public int hashCode() { testMode, title, useTextTags, + ignoreTextTagsExtractionErrors, expiresAt); } @@ -971,6 +1004,9 @@ public String toString() { sb.append(" testMode: ").append(toIndentedString(testMode)).append("\n"); sb.append(" title: ").append(toIndentedString(title)).append("\n"); sb.append(" useTextTags: ").append(toIndentedString(useTextTags)).append("\n"); + sb.append(" ignoreTextTagsExtractionErrors: ") + .append(toIndentedString(ignoreTextTagsExtractionErrors)) + .append("\n"); sb.append(" expiresAt: ").append(toIndentedString(expiresAt)).append("\n"); sb.append("}"); return sb.toString(); @@ -1452,6 +1488,30 @@ public Map createFormData() throws ApiException { JSON.getDefault().getMapper().writeValueAsString(useTextTags)); } } + if (ignoreTextTagsExtractionErrors != null) { + if (isFileTypeOrListOfFiles(ignoreTextTagsExtractionErrors)) { + fileTypeFound = true; + } + + if (ignoreTextTagsExtractionErrors.getClass().equals(java.io.File.class) + || ignoreTextTagsExtractionErrors.getClass().equals(Integer.class) + || ignoreTextTagsExtractionErrors.getClass().equals(String.class) + || ignoreTextTagsExtractionErrors.getClass().isEnum()) { + map.put("ignore_text_tags_extraction_errors", ignoreTextTagsExtractionErrors); + } else if (isListOfFile(ignoreTextTagsExtractionErrors)) { + for (int i = 0; i < getListSize(ignoreTextTagsExtractionErrors); i++) { + map.put( + "ignore_text_tags_extraction_errors[" + i + "]", + getFromList(ignoreTextTagsExtractionErrors, i)); + } + } else { + map.put( + "ignore_text_tags_extraction_errors", + JSON.getDefault() + .getMapper() + .writeValueAsString(ignoreTextTagsExtractionErrors)); + } + } if (expiresAt != null) { if (isFileTypeOrListOfFiles(expiresAt)) { fileTypeFound = true; diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/SignatureRequestSendRequest.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/SignatureRequestSendRequest.java index 912bf0f17..f4786b05c 100644 --- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/SignatureRequestSendRequest.java +++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/SignatureRequestSendRequest.java @@ -53,6 +53,7 @@ SignatureRequestSendRequest.JSON_PROPERTY_TEST_MODE, SignatureRequestSendRequest.JSON_PROPERTY_TITLE, SignatureRequestSendRequest.JSON_PROPERTY_USE_TEXT_TAGS, + SignatureRequestSendRequest.JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS, SignatureRequestSendRequest.JSON_PROPERTY_EXPIRES_AT }) @javax.annotation.Generated( @@ -137,6 +138,10 @@ public class SignatureRequestSendRequest { public static final String JSON_PROPERTY_USE_TEXT_TAGS = "use_text_tags"; @javax.annotation.Nullable private Boolean useTextTags = false; + public static final String JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS = + "ignore_text_tags_extraction_errors"; + @javax.annotation.Nullable private Boolean ignoreTextTagsExtractionErrors = false; + public static final String JSON_PROPERTY_EXPIRES_AT = "expires_at"; @javax.annotation.Nullable private Integer expiresAt; @@ -879,6 +884,30 @@ public void setUseTextTags(@javax.annotation.Nullable Boolean useTextTags) { this.useTextTags = useTextTags; } + public SignatureRequestSendRequest ignoreTextTagsExtractionErrors( + @javax.annotation.Nullable Boolean ignoreTextTagsExtractionErrors) { + this.ignoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; + return this; + } + + /** + * _t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + * + * @return ignoreTextTagsExtractionErrors + */ + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Boolean getIgnoreTextTagsExtractionErrors() { + return ignoreTextTagsExtractionErrors; + } + + @JsonProperty(JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIgnoreTextTagsExtractionErrors( + @javax.annotation.Nullable Boolean ignoreTextTagsExtractionErrors) { + this.ignoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; + } + public SignatureRequestSendRequest expiresAt(@javax.annotation.Nullable Integer expiresAt) { this.expiresAt = expiresAt; return this; @@ -943,6 +972,9 @@ public boolean equals(Object o) { && Objects.equals(this.testMode, signatureRequestSendRequest.testMode) && Objects.equals(this.title, signatureRequestSendRequest.title) && Objects.equals(this.useTextTags, signatureRequestSendRequest.useTextTags) + && Objects.equals( + this.ignoreTextTagsExtractionErrors, + signatureRequestSendRequest.ignoreTextTagsExtractionErrors) && Objects.equals(this.expiresAt, signatureRequestSendRequest.expiresAt); } @@ -974,6 +1006,7 @@ public int hashCode() { testMode, title, useTextTags, + ignoreTextTagsExtractionErrors, expiresAt); } @@ -1012,6 +1045,9 @@ public String toString() { sb.append(" testMode: ").append(toIndentedString(testMode)).append("\n"); sb.append(" title: ").append(toIndentedString(title)).append("\n"); sb.append(" useTextTags: ").append(toIndentedString(useTextTags)).append("\n"); + sb.append(" ignoreTextTagsExtractionErrors: ") + .append(toIndentedString(ignoreTextTagsExtractionErrors)) + .append("\n"); sb.append(" expiresAt: ").append(toIndentedString(expiresAt)).append("\n"); sb.append("}"); return sb.toString(); @@ -1515,6 +1551,30 @@ public Map createFormData() throws ApiException { JSON.getDefault().getMapper().writeValueAsString(useTextTags)); } } + if (ignoreTextTagsExtractionErrors != null) { + if (isFileTypeOrListOfFiles(ignoreTextTagsExtractionErrors)) { + fileTypeFound = true; + } + + if (ignoreTextTagsExtractionErrors.getClass().equals(java.io.File.class) + || ignoreTextTagsExtractionErrors.getClass().equals(Integer.class) + || ignoreTextTagsExtractionErrors.getClass().equals(String.class) + || ignoreTextTagsExtractionErrors.getClass().isEnum()) { + map.put("ignore_text_tags_extraction_errors", ignoreTextTagsExtractionErrors); + } else if (isListOfFile(ignoreTextTagsExtractionErrors)) { + for (int i = 0; i < getListSize(ignoreTextTagsExtractionErrors); i++) { + map.put( + "ignore_text_tags_extraction_errors[" + i + "]", + getFromList(ignoreTextTagsExtractionErrors, i)); + } + } else { + map.put( + "ignore_text_tags_extraction_errors", + JSON.getDefault() + .getMapper() + .writeValueAsString(ignoreTextTagsExtractionErrors)); + } + } if (expiresAt != null) { if (isFileTypeOrListOfFiles(expiresAt)) { fileTypeFound = true; diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateCreateEmbeddedDraftRequest.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateCreateEmbeddedDraftRequest.java index 0061bf657..bfe256eab 100644 --- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateCreateEmbeddedDraftRequest.java +++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateCreateEmbeddedDraftRequest.java @@ -52,7 +52,8 @@ TemplateCreateEmbeddedDraftRequest.JSON_PROPERTY_SUBJECT, TemplateCreateEmbeddedDraftRequest.JSON_PROPERTY_TEST_MODE, TemplateCreateEmbeddedDraftRequest.JSON_PROPERTY_TITLE, - TemplateCreateEmbeddedDraftRequest.JSON_PROPERTY_USE_PREEXISTING_FIELDS + TemplateCreateEmbeddedDraftRequest.JSON_PROPERTY_USE_PREEXISTING_FIELDS, + TemplateCreateEmbeddedDraftRequest.JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS }) @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", @@ -135,6 +136,10 @@ public class TemplateCreateEmbeddedDraftRequest { public static final String JSON_PROPERTY_USE_PREEXISTING_FIELDS = "use_preexisting_fields"; @javax.annotation.Nullable private Boolean usePreexistingFields = false; + public static final String JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS = + "ignore_text_tags_extraction_errors"; + @javax.annotation.Nullable private Boolean ignoreTextTagsExtractionErrors = false; + public TemplateCreateEmbeddedDraftRequest() {} /** @@ -850,6 +855,30 @@ public void setUsePreexistingFields(@javax.annotation.Nullable Boolean usePreexi this.usePreexistingFields = usePreexistingFields; } + public TemplateCreateEmbeddedDraftRequest ignoreTextTagsExtractionErrors( + @javax.annotation.Nullable Boolean ignoreTextTagsExtractionErrors) { + this.ignoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; + return this; + } + + /** + * _t__TemplateCreateEmbeddedDraft::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + * + * @return ignoreTextTagsExtractionErrors + */ + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Boolean getIgnoreTextTagsExtractionErrors() { + return ignoreTextTagsExtractionErrors; + } + + @JsonProperty(JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIgnoreTextTagsExtractionErrors( + @javax.annotation.Nullable Boolean ignoreTextTagsExtractionErrors) { + this.ignoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; + } + /** Return true if this TemplateCreateEmbeddedDraftRequest object is equal to o. */ @Override public boolean equals(Object o) { @@ -899,7 +928,10 @@ public boolean equals(Object o) { && Objects.equals(this.title, templateCreateEmbeddedDraftRequest.title) && Objects.equals( this.usePreexistingFields, - templateCreateEmbeddedDraftRequest.usePreexistingFields); + templateCreateEmbeddedDraftRequest.usePreexistingFields) + && Objects.equals( + this.ignoreTextTagsExtractionErrors, + templateCreateEmbeddedDraftRequest.ignoreTextTagsExtractionErrors); } @Override @@ -929,7 +961,8 @@ public int hashCode() { subject, testMode, title, - usePreexistingFields); + usePreexistingFields, + ignoreTextTagsExtractionErrors); } @Override @@ -969,6 +1002,9 @@ public String toString() { sb.append(" usePreexistingFields: ") .append(toIndentedString(usePreexistingFields)) .append("\n"); + sb.append(" ignoreTextTagsExtractionErrors: ") + .append(toIndentedString(ignoreTextTagsExtractionErrors)) + .append("\n"); sb.append("}"); return sb.toString(); } @@ -1475,6 +1511,30 @@ public Map createFormData() throws ApiException { JSON.getDefault().getMapper().writeValueAsString(usePreexistingFields)); } } + if (ignoreTextTagsExtractionErrors != null) { + if (isFileTypeOrListOfFiles(ignoreTextTagsExtractionErrors)) { + fileTypeFound = true; + } + + if (ignoreTextTagsExtractionErrors.getClass().equals(java.io.File.class) + || ignoreTextTagsExtractionErrors.getClass().equals(Integer.class) + || ignoreTextTagsExtractionErrors.getClass().equals(String.class) + || ignoreTextTagsExtractionErrors.getClass().isEnum()) { + map.put("ignore_text_tags_extraction_errors", ignoreTextTagsExtractionErrors); + } else if (isListOfFile(ignoreTextTagsExtractionErrors)) { + for (int i = 0; i < getListSize(ignoreTextTagsExtractionErrors); i++) { + map.put( + "ignore_text_tags_extraction_errors[" + i + "]", + getFromList(ignoreTextTagsExtractionErrors, i)); + } + } else { + map.put( + "ignore_text_tags_extraction_errors", + JSON.getDefault() + .getMapper() + .writeValueAsString(ignoreTextTagsExtractionErrors)); + } + } } catch (Exception e) { throw new ApiException(e); } diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateCreateRequest.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateCreateRequest.java index 8e3815a5b..a22e2a921 100644 --- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateCreateRequest.java +++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/TemplateCreateRequest.java @@ -45,7 +45,8 @@ TemplateCreateRequest.JSON_PROPERTY_SUBJECT, TemplateCreateRequest.JSON_PROPERTY_TEST_MODE, TemplateCreateRequest.JSON_PROPERTY_TITLE, - TemplateCreateRequest.JSON_PROPERTY_USE_PREEXISTING_FIELDS + TemplateCreateRequest.JSON_PROPERTY_USE_PREEXISTING_FIELDS, + TemplateCreateRequest.JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS }) @javax.annotation.Generated( value = "org.openapitools.codegen.languages.JavaClientCodegen", @@ -108,6 +109,10 @@ public class TemplateCreateRequest { public static final String JSON_PROPERTY_USE_PREEXISTING_FIELDS = "use_preexisting_fields"; @javax.annotation.Nullable private Boolean usePreexistingFields = false; + public static final String JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS = + "ignore_text_tags_extraction_errors"; + @javax.annotation.Nullable private Boolean ignoreTextTagsExtractionErrors = false; + public TemplateCreateRequest() {} /** @@ -649,6 +654,30 @@ public void setUsePreexistingFields(@javax.annotation.Nullable Boolean usePreexi this.usePreexistingFields = usePreexistingFields; } + public TemplateCreateRequest ignoreTextTagsExtractionErrors( + @javax.annotation.Nullable Boolean ignoreTextTagsExtractionErrors) { + this.ignoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; + return this; + } + + /** + * _t__TemplateCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + * + * @return ignoreTextTagsExtractionErrors + */ + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Boolean getIgnoreTextTagsExtractionErrors() { + return ignoreTextTagsExtractionErrors; + } + + @JsonProperty(JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIgnoreTextTagsExtractionErrors( + @javax.annotation.Nullable Boolean ignoreTextTagsExtractionErrors) { + this.ignoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; + } + /** Return true if this TemplateCreateRequest object is equal to o. */ @Override public boolean equals(Object o) { @@ -678,7 +707,10 @@ public boolean equals(Object o) { && Objects.equals(this.testMode, templateCreateRequest.testMode) && Objects.equals(this.title, templateCreateRequest.title) && Objects.equals( - this.usePreexistingFields, templateCreateRequest.usePreexistingFields); + this.usePreexistingFields, templateCreateRequest.usePreexistingFields) + && Objects.equals( + this.ignoreTextTagsExtractionErrors, + templateCreateRequest.ignoreTextTagsExtractionErrors); } @Override @@ -701,7 +733,8 @@ public int hashCode() { subject, testMode, title, - usePreexistingFields); + usePreexistingFields, + ignoreTextTagsExtractionErrors); } @Override @@ -730,6 +763,9 @@ public String toString() { sb.append(" usePreexistingFields: ") .append(toIndentedString(usePreexistingFields)) .append("\n"); + sb.append(" ignoreTextTagsExtractionErrors: ") + .append(toIndentedString(ignoreTextTagsExtractionErrors)) + .append("\n"); sb.append("}"); return sb.toString(); } @@ -1092,6 +1128,30 @@ public Map createFormData() throws ApiException { JSON.getDefault().getMapper().writeValueAsString(usePreexistingFields)); } } + if (ignoreTextTagsExtractionErrors != null) { + if (isFileTypeOrListOfFiles(ignoreTextTagsExtractionErrors)) { + fileTypeFound = true; + } + + if (ignoreTextTagsExtractionErrors.getClass().equals(java.io.File.class) + || ignoreTextTagsExtractionErrors.getClass().equals(Integer.class) + || ignoreTextTagsExtractionErrors.getClass().equals(String.class) + || ignoreTextTagsExtractionErrors.getClass().isEnum()) { + map.put("ignore_text_tags_extraction_errors", ignoreTextTagsExtractionErrors); + } else if (isListOfFile(ignoreTextTagsExtractionErrors)) { + for (int i = 0; i < getListSize(ignoreTextTagsExtractionErrors); i++) { + map.put( + "ignore_text_tags_extraction_errors[" + i + "]", + getFromList(ignoreTextTagsExtractionErrors, i)); + } + } else { + map.put( + "ignore_text_tags_extraction_errors", + JSON.getDefault() + .getMapper() + .writeValueAsString(ignoreTextTagsExtractionErrors)); + } + } } catch (Exception e) { throw new ApiException(e); } diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/UnclaimedDraftCreateEmbeddedRequest.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/UnclaimedDraftCreateEmbeddedRequest.java index 4b758039a..b8d347470 100644 --- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/UnclaimedDraftCreateEmbeddedRequest.java +++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/UnclaimedDraftCreateEmbeddedRequest.java @@ -64,6 +64,7 @@ UnclaimedDraftCreateEmbeddedRequest.JSON_PROPERTY_TYPE, UnclaimedDraftCreateEmbeddedRequest.JSON_PROPERTY_USE_PREEXISTING_FIELDS, UnclaimedDraftCreateEmbeddedRequest.JSON_PROPERTY_USE_TEXT_TAGS, + UnclaimedDraftCreateEmbeddedRequest.JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS, UnclaimedDraftCreateEmbeddedRequest.JSON_PROPERTY_POPULATE_AUTO_FILL_FIELDS, UnclaimedDraftCreateEmbeddedRequest.JSON_PROPERTY_EXPIRES_AT }) @@ -211,6 +212,10 @@ public static TypeEnum fromValue(String value) { public static final String JSON_PROPERTY_USE_TEXT_TAGS = "use_text_tags"; @javax.annotation.Nullable private Boolean useTextTags = false; + public static final String JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS = + "ignore_text_tags_extraction_errors"; + @javax.annotation.Nullable private Boolean ignoreTextTagsExtractionErrors = false; + public static final String JSON_PROPERTY_POPULATE_AUTO_FILL_FIELDS = "populate_auto_fill_fields"; @javax.annotation.Nullable private Boolean populateAutoFillFields = false; @@ -1171,6 +1176,30 @@ public void setUseTextTags(@javax.annotation.Nullable Boolean useTextTags) { this.useTextTags = useTextTags; } + public UnclaimedDraftCreateEmbeddedRequest ignoreTextTagsExtractionErrors( + @javax.annotation.Nullable Boolean ignoreTextTagsExtractionErrors) { + this.ignoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; + return this; + } + + /** + * _t__UnclaimedDraftCreateEmbedded::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + * + * @return ignoreTextTagsExtractionErrors + */ + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Boolean getIgnoreTextTagsExtractionErrors() { + return ignoreTextTagsExtractionErrors; + } + + @JsonProperty(JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIgnoreTextTagsExtractionErrors( + @javax.annotation.Nullable Boolean ignoreTextTagsExtractionErrors) { + this.ignoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; + } + public UnclaimedDraftCreateEmbeddedRequest populateAutoFillFields( @javax.annotation.Nullable Boolean populateAutoFillFields) { this.populateAutoFillFields = populateAutoFillFields; @@ -1297,6 +1326,9 @@ public boolean equals(Object o) { this.usePreexistingFields, unclaimedDraftCreateEmbeddedRequest.usePreexistingFields) && Objects.equals(this.useTextTags, unclaimedDraftCreateEmbeddedRequest.useTextTags) + && Objects.equals( + this.ignoreTextTagsExtractionErrors, + unclaimedDraftCreateEmbeddedRequest.ignoreTextTagsExtractionErrors) && Objects.equals( this.populateAutoFillFields, unclaimedDraftCreateEmbeddedRequest.populateAutoFillFields) @@ -1340,6 +1372,7 @@ public int hashCode() { type, usePreexistingFields, useTextTags, + ignoreTextTagsExtractionErrors, populateAutoFillFields, expiresAt); } @@ -1398,6 +1431,9 @@ public String toString() { .append(toIndentedString(usePreexistingFields)) .append("\n"); sb.append(" useTextTags: ").append(toIndentedString(useTextTags)).append("\n"); + sb.append(" ignoreTextTagsExtractionErrors: ") + .append(toIndentedString(ignoreTextTagsExtractionErrors)) + .append("\n"); sb.append(" populateAutoFillFields: ") .append(toIndentedString(populateAutoFillFields)) .append("\n"); @@ -2100,6 +2136,30 @@ public Map createFormData() throws ApiException { JSON.getDefault().getMapper().writeValueAsString(useTextTags)); } } + if (ignoreTextTagsExtractionErrors != null) { + if (isFileTypeOrListOfFiles(ignoreTextTagsExtractionErrors)) { + fileTypeFound = true; + } + + if (ignoreTextTagsExtractionErrors.getClass().equals(java.io.File.class) + || ignoreTextTagsExtractionErrors.getClass().equals(Integer.class) + || ignoreTextTagsExtractionErrors.getClass().equals(String.class) + || ignoreTextTagsExtractionErrors.getClass().isEnum()) { + map.put("ignore_text_tags_extraction_errors", ignoreTextTagsExtractionErrors); + } else if (isListOfFile(ignoreTextTagsExtractionErrors)) { + for (int i = 0; i < getListSize(ignoreTextTagsExtractionErrors); i++) { + map.put( + "ignore_text_tags_extraction_errors[" + i + "]", + getFromList(ignoreTextTagsExtractionErrors, i)); + } + } else { + map.put( + "ignore_text_tags_extraction_errors", + JSON.getDefault() + .getMapper() + .writeValueAsString(ignoreTextTagsExtractionErrors)); + } + } if (populateAutoFillFields != null) { if (isFileTypeOrListOfFiles(populateAutoFillFields)) { fileTypeFound = true; diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/UnclaimedDraftCreateRequest.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/UnclaimedDraftCreateRequest.java index 0b0b6b61b..9bf376df2 100644 --- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/UnclaimedDraftCreateRequest.java +++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/UnclaimedDraftCreateRequest.java @@ -53,6 +53,7 @@ UnclaimedDraftCreateRequest.JSON_PROPERTY_TEST_MODE, UnclaimedDraftCreateRequest.JSON_PROPERTY_USE_PREEXISTING_FIELDS, UnclaimedDraftCreateRequest.JSON_PROPERTY_USE_TEXT_TAGS, + UnclaimedDraftCreateRequest.JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS, UnclaimedDraftCreateRequest.JSON_PROPERTY_EXPIRES_AT }) @javax.annotation.Generated( @@ -167,6 +168,10 @@ public static TypeEnum fromValue(String value) { public static final String JSON_PROPERTY_USE_TEXT_TAGS = "use_text_tags"; @javax.annotation.Nullable private Boolean useTextTags = false; + public static final String JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS = + "ignore_text_tags_extraction_errors"; + @javax.annotation.Nullable private Boolean ignoreTextTagsExtractionErrors = false; + public static final String JSON_PROPERTY_EXPIRES_AT = "expires_at"; @javax.annotation.Nullable private Integer expiresAt; @@ -852,6 +857,30 @@ public void setUseTextTags(@javax.annotation.Nullable Boolean useTextTags) { this.useTextTags = useTextTags; } + public UnclaimedDraftCreateRequest ignoreTextTagsExtractionErrors( + @javax.annotation.Nullable Boolean ignoreTextTagsExtractionErrors) { + this.ignoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; + return this; + } + + /** + * _t__UnclaimedDraftCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + * + * @return ignoreTextTagsExtractionErrors + */ + @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public Boolean getIgnoreTextTagsExtractionErrors() { + return ignoreTextTagsExtractionErrors; + } + + @JsonProperty(JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIgnoreTextTagsExtractionErrors( + @javax.annotation.Nullable Boolean ignoreTextTagsExtractionErrors) { + this.ignoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; + } + public UnclaimedDraftCreateRequest expiresAt(@javax.annotation.Nullable Integer expiresAt) { this.expiresAt = expiresAt; return this; @@ -916,6 +945,9 @@ public boolean equals(Object o) { && Objects.equals( this.usePreexistingFields, unclaimedDraftCreateRequest.usePreexistingFields) && Objects.equals(this.useTextTags, unclaimedDraftCreateRequest.useTextTags) + && Objects.equals( + this.ignoreTextTagsExtractionErrors, + unclaimedDraftCreateRequest.ignoreTextTagsExtractionErrors) && Objects.equals(this.expiresAt, unclaimedDraftCreateRequest.expiresAt); } @@ -945,6 +977,7 @@ public int hashCode() { testMode, usePreexistingFields, useTextTags, + ignoreTextTagsExtractionErrors, expiresAt); } @@ -983,6 +1016,9 @@ public String toString() { .append(toIndentedString(usePreexistingFields)) .append("\n"); sb.append(" useTextTags: ").append(toIndentedString(useTextTags)).append("\n"); + sb.append(" ignoreTextTagsExtractionErrors: ") + .append(toIndentedString(ignoreTextTagsExtractionErrors)) + .append("\n"); sb.append(" expiresAt: ").append(toIndentedString(expiresAt)).append("\n"); sb.append("}"); return sb.toString(); @@ -1450,6 +1486,30 @@ public Map createFormData() throws ApiException { JSON.getDefault().getMapper().writeValueAsString(useTextTags)); } } + if (ignoreTextTagsExtractionErrors != null) { + if (isFileTypeOrListOfFiles(ignoreTextTagsExtractionErrors)) { + fileTypeFound = true; + } + + if (ignoreTextTagsExtractionErrors.getClass().equals(java.io.File.class) + || ignoreTextTagsExtractionErrors.getClass().equals(Integer.class) + || ignoreTextTagsExtractionErrors.getClass().equals(String.class) + || ignoreTextTagsExtractionErrors.getClass().isEnum()) { + map.put("ignore_text_tags_extraction_errors", ignoreTextTagsExtractionErrors); + } else if (isListOfFile(ignoreTextTagsExtractionErrors)) { + for (int i = 0; i < getListSize(ignoreTextTagsExtractionErrors); i++) { + map.put( + "ignore_text_tags_extraction_errors[" + i + "]", + getFromList(ignoreTextTagsExtractionErrors, i)); + } + } else { + map.put( + "ignore_text_tags_extraction_errors", + JSON.getDefault() + .getMapper() + .writeValueAsString(ignoreTextTagsExtractionErrors)); + } + } if (expiresAt != null) { if (isFileTypeOrListOfFiles(expiresAt)) { fileTypeFound = true; diff --git a/sdks/java-v2/docs/ErrorResponseError.md b/sdks/java-v2/docs/ErrorResponseError.md index 656aa5c7f..733411fd1 100644 --- a/sdks/java-v2/docs/ErrorResponseError.md +++ b/sdks/java-v2/docs/ErrorResponseError.md @@ -9,8 +9,35 @@ Contains information about an error that occurred. | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| | `errorMsg`*_required_ | ```String``` | Message describing an error. | | -| `errorName`*_required_ | ```String``` | Name of the error. | | +| `errorName`*_required_ | [```ErrorNameEnum```](#ErrorNameEnum) | Name of the error. | | | `errorPath` | ```String``` | Path at which an error occurred. | | +## Enum: ErrorNameEnum + +| Name | Value | +---- | ----- +| BAD_REQUEST | "bad_request" | +| UNAUTHORIZED | "unauthorized" | +| PAYMENT_REQUIRED | "payment_required" | +| FORBIDDEN | "forbidden" | +| NOT_FOUND | "not_found" | +| CONFLICT | "conflict" | +| EXCEEDED_RATE | "exceeded_rate" | +| UNKNOWN | "unknown" | +| TEAM_INVITE_FAILED | "team_invite_failed" | +| MAX_FAXES | "max_faxes" | +| INVALID_RECIPIENT | "invalid_recipient" | +| SIGNATURE_REQUEST_CANCEL_FAILED | "signature_request_cancel_failed" | +| SIGNATURE_REQUEST_REMOVE_FAILED | "signature_request_remove_failed" | +| MAINTENANCE | "maintenance" | +| METHOD_NOT_SUPPORTED | "method_not_supported" | +| INVALID_REMINDER | "invalid_reminder" | +| UNAVAILABLE | "unavailable" | +| UNPROCESSABLE_ENTITY | "unprocessable_entity" | +| SIGNATURE_REQUEST_EXPIRED | "signature_request_expired" | +| DELETED | "deleted" | + + + diff --git a/sdks/java-v2/docs/SignatureRequestCreateEmbeddedRequest.md b/sdks/java-v2/docs/SignatureRequestCreateEmbeddedRequest.md index 383f8a8f3..5c9fb864a 100644 --- a/sdks/java-v2/docs/SignatureRequestCreateEmbeddedRequest.md +++ b/sdks/java-v2/docs/SignatureRequestCreateEmbeddedRequest.md @@ -30,6 +30,7 @@ | `testMode` | ```Boolean``` | Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. | | | `title` | ```String``` | The title you want to assign to the SignatureRequest. | | | `useTextTags` | ```Boolean``` | 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`. | | +| `ignoreTextTagsExtractionErrors` | ```Boolean``` | Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. | | | `populateAutoFillFields` | ```Boolean``` | 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. | | | `expiresAt` | ```Integer``` | 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/sdks/java-v2/docs/SignatureRequestEditEmbeddedRequest.md b/sdks/java-v2/docs/SignatureRequestEditEmbeddedRequest.md index dd8b06061..6bceed341 100644 --- a/sdks/java-v2/docs/SignatureRequestEditEmbeddedRequest.md +++ b/sdks/java-v2/docs/SignatureRequestEditEmbeddedRequest.md @@ -30,6 +30,7 @@ | `testMode` | ```Boolean``` | Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. | | | `title` | ```String``` | The title you want to assign to the SignatureRequest. | | | `useTextTags` | ```Boolean``` | 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`. | | +| `ignoreTextTagsExtractionErrors` | ```Boolean``` | Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. | | | `populateAutoFillFields` | ```Boolean``` | 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. | | | `expiresAt` | ```Integer``` | 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/sdks/java-v2/docs/SignatureRequestEditRequest.md b/sdks/java-v2/docs/SignatureRequestEditRequest.md index b4705fe97..8b75171b1 100644 --- a/sdks/java-v2/docs/SignatureRequestEditRequest.md +++ b/sdks/java-v2/docs/SignatureRequestEditRequest.md @@ -32,6 +32,7 @@ | `testMode` | ```Boolean``` | Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. | | | `title` | ```String``` | The title you want to assign to the SignatureRequest. | | | `useTextTags` | ```Boolean``` | 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`. | | +| `ignoreTextTagsExtractionErrors` | ```Boolean``` | _t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | | | `expiresAt` | ```Integer``` | 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/sdks/java-v2/docs/SignatureRequestSendRequest.md b/sdks/java-v2/docs/SignatureRequestSendRequest.md index a34284aa2..1bafc1cd0 100644 --- a/sdks/java-v2/docs/SignatureRequestSendRequest.md +++ b/sdks/java-v2/docs/SignatureRequestSendRequest.md @@ -33,6 +33,7 @@ | `testMode` | ```Boolean``` | Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. | | | `title` | ```String``` | The title you want to assign to the SignatureRequest. | | | `useTextTags` | ```Boolean``` | 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`. | | +| `ignoreTextTagsExtractionErrors` | ```Boolean``` | _t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | | | `expiresAt` | ```Integer``` | 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/sdks/java-v2/docs/TemplateCreateEmbeddedDraftRequest.md b/sdks/java-v2/docs/TemplateCreateEmbeddedDraftRequest.md index 05f2497fc..f55464253 100644 --- a/sdks/java-v2/docs/TemplateCreateEmbeddedDraftRequest.md +++ b/sdks/java-v2/docs/TemplateCreateEmbeddedDraftRequest.md @@ -33,6 +33,7 @@ | `testMode` | ```Boolean``` | Whether this is a test, the signature request created from this draft will not be legally binding if set to `true`. Defaults to `false`. | | | `title` | ```String``` | The title you want to assign to the SignatureRequest. | | | `usePreexistingFields` | ```Boolean``` | Enable the detection of predefined PDF fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). | | +| `ignoreTextTagsExtractionErrors` | ```Boolean``` | _t__TemplateCreateEmbeddedDraft::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | | diff --git a/sdks/java-v2/docs/TemplateCreateRequest.md b/sdks/java-v2/docs/TemplateCreateRequest.md index 5f99510d9..f04e1bd84 100644 --- a/sdks/java-v2/docs/TemplateCreateRequest.md +++ b/sdks/java-v2/docs/TemplateCreateRequest.md @@ -26,6 +26,7 @@ | `testMode` | ```Boolean``` | Whether this is a test, the signature request created from this draft will not be legally binding if set to `true`. Defaults to `false`. | | | `title` | ```String``` | The title you want to assign to the SignatureRequest. | | | `usePreexistingFields` | ```Boolean``` | Enable the detection of predefined PDF fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). | | +| `ignoreTextTagsExtractionErrors` | ```Boolean``` | _t__TemplateCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | | diff --git a/sdks/java-v2/docs/UnclaimedDraftCreateEmbeddedRequest.md b/sdks/java-v2/docs/UnclaimedDraftCreateEmbeddedRequest.md index aab362d77..8d3670fcd 100644 --- a/sdks/java-v2/docs/UnclaimedDraftCreateEmbeddedRequest.md +++ b/sdks/java-v2/docs/UnclaimedDraftCreateEmbeddedRequest.md @@ -42,6 +42,7 @@ | `type` | [```TypeEnum```](#TypeEnum) | 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. | | | `usePreexistingFields` | ```Boolean``` | 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. | | | `useTextTags` | ```Boolean``` | 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. | | +| `ignoreTextTagsExtractionErrors` | ```Boolean``` | _t__UnclaimedDraftCreateEmbedded::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | | | `populateAutoFillFields` | ```Boolean``` | 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. | | | `expiresAt` | ```Integer``` | 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/sdks/java-v2/docs/UnclaimedDraftCreateRequest.md b/sdks/java-v2/docs/UnclaimedDraftCreateRequest.md index f23c6f4ba..7dda3209e 100644 --- a/sdks/java-v2/docs/UnclaimedDraftCreateRequest.md +++ b/sdks/java-v2/docs/UnclaimedDraftCreateRequest.md @@ -31,6 +31,7 @@ | `testMode` | ```Boolean``` | Whether this is a test, the signature request created from this draft will not be legally binding if set to `true`. Defaults to `false`. | | | `usePreexistingFields` | ```Boolean``` | 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. | | | `useTextTags` | ```Boolean``` | 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. | | +| `ignoreTextTagsExtractionErrors` | ```Boolean``` | _t__UnclaimedDraftCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | | | `expiresAt` | ```Integer``` | 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/sdks/java-v2/src/main/java/com/dropbox/sign/model/ErrorResponseError.java b/sdks/java-v2/src/main/java/com/dropbox/sign/model/ErrorResponseError.java index af87ec4aa..ab2cadc89 100644 --- a/sdks/java-v2/src/main/java/com/dropbox/sign/model/ErrorResponseError.java +++ b/sdks/java-v2/src/main/java/com/dropbox/sign/model/ErrorResponseError.java @@ -44,9 +44,80 @@ public class ErrorResponseError { @jakarta.annotation.Nonnull private String errorMsg; + /** + * Name of the error. + */ + public enum ErrorNameEnum { + BAD_REQUEST(String.valueOf("bad_request")), + + UNAUTHORIZED(String.valueOf("unauthorized")), + + PAYMENT_REQUIRED(String.valueOf("payment_required")), + + FORBIDDEN(String.valueOf("forbidden")), + + NOT_FOUND(String.valueOf("not_found")), + + CONFLICT(String.valueOf("conflict")), + + EXCEEDED_RATE(String.valueOf("exceeded_rate")), + + UNKNOWN(String.valueOf("unknown")), + + TEAM_INVITE_FAILED(String.valueOf("team_invite_failed")), + + MAX_FAXES(String.valueOf("max_faxes")), + + INVALID_RECIPIENT(String.valueOf("invalid_recipient")), + + SIGNATURE_REQUEST_CANCEL_FAILED(String.valueOf("signature_request_cancel_failed")), + + SIGNATURE_REQUEST_REMOVE_FAILED(String.valueOf("signature_request_remove_failed")), + + MAINTENANCE(String.valueOf("maintenance")), + + METHOD_NOT_SUPPORTED(String.valueOf("method_not_supported")), + + INVALID_REMINDER(String.valueOf("invalid_reminder")), + + UNAVAILABLE(String.valueOf("unavailable")), + + UNPROCESSABLE_ENTITY(String.valueOf("unprocessable_entity")), + + SIGNATURE_REQUEST_EXPIRED(String.valueOf("signature_request_expired")), + + DELETED(String.valueOf("deleted")); + + private String value; + + ErrorNameEnum(String value) { + this.value = value; + } + + @JsonValue + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + @JsonCreator + public static ErrorNameEnum fromValue(String value) { + for (ErrorNameEnum b : ErrorNameEnum.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + } + public static final String JSON_PROPERTY_ERROR_NAME = "error_name"; @jakarta.annotation.Nonnull - private String errorName; + private ErrorNameEnum errorName; public static final String JSON_PROPERTY_ERROR_PATH = "error_path"; @jakarta.annotation.Nullable @@ -95,7 +166,7 @@ public void setErrorMsg(@jakarta.annotation.Nonnull String errorMsg) { } - public ErrorResponseError errorName(@jakarta.annotation.Nonnull String errorName) { + public ErrorResponseError errorName(@jakarta.annotation.Nonnull ErrorNameEnum errorName) { this.errorName = errorName; return this; } @@ -108,14 +179,14 @@ public ErrorResponseError errorName(@jakarta.annotation.Nonnull String errorName @JsonProperty(JSON_PROPERTY_ERROR_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public String getErrorName() { + public ErrorNameEnum getErrorName() { return errorName; } @JsonProperty(JSON_PROPERTY_ERROR_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) - public void setErrorName(@jakarta.annotation.Nonnull String errorName) { + public void setErrorName(@jakarta.annotation.Nonnull ErrorNameEnum errorName) { this.errorName = errorName; } diff --git a/sdks/java-v2/src/main/java/com/dropbox/sign/model/SignatureRequestCreateEmbeddedRequest.java b/sdks/java-v2/src/main/java/com/dropbox/sign/model/SignatureRequestCreateEmbeddedRequest.java index 3002deccd..ef2c003f9 100644 --- a/sdks/java-v2/src/main/java/com/dropbox/sign/model/SignatureRequestCreateEmbeddedRequest.java +++ b/sdks/java-v2/src/main/java/com/dropbox/sign/model/SignatureRequestCreateEmbeddedRequest.java @@ -69,6 +69,7 @@ SignatureRequestCreateEmbeddedRequest.JSON_PROPERTY_TEST_MODE, SignatureRequestCreateEmbeddedRequest.JSON_PROPERTY_TITLE, SignatureRequestCreateEmbeddedRequest.JSON_PROPERTY_USE_TEXT_TAGS, + SignatureRequestCreateEmbeddedRequest.JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS, SignatureRequestCreateEmbeddedRequest.JSON_PROPERTY_POPULATE_AUTO_FILL_FIELDS, SignatureRequestCreateEmbeddedRequest.JSON_PROPERTY_EXPIRES_AT }) @@ -163,6 +164,10 @@ public class SignatureRequestCreateEmbeddedRequest { @jakarta.annotation.Nullable private Boolean useTextTags = false; + public static final String JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS = "ignore_text_tags_extraction_errors"; + @jakarta.annotation.Nullable + private Boolean ignoreTextTagsExtractionErrors = false; + public static final String JSON_PROPERTY_POPULATE_AUTO_FILL_FIELDS = "populate_auto_fill_fields"; @jakarta.annotation.Nullable private Boolean populateAutoFillFields = false; @@ -827,6 +832,31 @@ public void setUseTextTags(@jakarta.annotation.Nullable Boolean useTextTags) { } + public SignatureRequestCreateEmbeddedRequest ignoreTextTagsExtractionErrors(@jakarta.annotation.Nullable Boolean ignoreTextTagsExtractionErrors) { + this.ignoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; + return this; + } + + /** + * Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. + * @return ignoreTextTagsExtractionErrors + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIgnoreTextTagsExtractionErrors() { + return ignoreTextTagsExtractionErrors; + } + + + @JsonProperty(JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIgnoreTextTagsExtractionErrors(@jakarta.annotation.Nullable Boolean ignoreTextTagsExtractionErrors) { + this.ignoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; + } + + public SignatureRequestCreateEmbeddedRequest populateAutoFillFields(@jakarta.annotation.Nullable Boolean populateAutoFillFields) { this.populateAutoFillFields = populateAutoFillFields; return this; @@ -911,13 +941,14 @@ public boolean equals(Object o) { Objects.equals(this.testMode, signatureRequestCreateEmbeddedRequest.testMode) && Objects.equals(this.title, signatureRequestCreateEmbeddedRequest.title) && Objects.equals(this.useTextTags, signatureRequestCreateEmbeddedRequest.useTextTags) && + Objects.equals(this.ignoreTextTagsExtractionErrors, signatureRequestCreateEmbeddedRequest.ignoreTextTagsExtractionErrors) && Objects.equals(this.populateAutoFillFields, signatureRequestCreateEmbeddedRequest.populateAutoFillFields) && Objects.equals(this.expiresAt, signatureRequestCreateEmbeddedRequest.expiresAt); } @Override public int hashCode() { - return Objects.hash(clientId, files, fileUrls, signers, groupedSigners, allowDecline, allowReassign, attachments, ccEmailAddresses, customFields, fieldOptions, formFieldGroups, formFieldRules, formFieldsPerDocument, hideTextTags, message, metadata, signingOptions, subject, testMode, title, useTextTags, populateAutoFillFields, expiresAt); + return Objects.hash(clientId, files, fileUrls, signers, groupedSigners, allowDecline, allowReassign, attachments, ccEmailAddresses, customFields, fieldOptions, formFieldGroups, formFieldRules, formFieldsPerDocument, hideTextTags, message, metadata, signingOptions, subject, testMode, title, useTextTags, ignoreTextTagsExtractionErrors, populateAutoFillFields, expiresAt); } @Override @@ -946,6 +977,7 @@ public String toString() { sb.append(" testMode: ").append(toIndentedString(testMode)).append("\n"); sb.append(" title: ").append(toIndentedString(title)).append("\n"); sb.append(" useTextTags: ").append(toIndentedString(useTextTags)).append("\n"); + sb.append(" ignoreTextTagsExtractionErrors: ").append(toIndentedString(ignoreTextTagsExtractionErrors)).append("\n"); sb.append(" populateAutoFillFields: ").append(toIndentedString(populateAutoFillFields)).append("\n"); sb.append(" expiresAt: ").append(toIndentedString(expiresAt)).append("\n"); sb.append("}"); @@ -1374,6 +1406,25 @@ public Map createFormData() throws ApiException { map.put("use_text_tags", JSON.getDefault().getMapper().writeValueAsString(useTextTags)); } } + if (ignoreTextTagsExtractionErrors != null) { + if (isFileTypeOrListOfFiles(ignoreTextTagsExtractionErrors)) { + fileTypeFound = true; + } + + if (ignoreTextTagsExtractionErrors.getClass().equals(java.io.File.class) || + ignoreTextTagsExtractionErrors.getClass().equals(Integer.class) || + ignoreTextTagsExtractionErrors.getClass().equals(String.class) || + ignoreTextTagsExtractionErrors.getClass().isEnum()) { + map.put("ignore_text_tags_extraction_errors", ignoreTextTagsExtractionErrors); + } else if (isListOfFile(ignoreTextTagsExtractionErrors)) { + for(int i = 0; i< getListSize(ignoreTextTagsExtractionErrors); i++) { + map.put("ignore_text_tags_extraction_errors[" + i + "]", getFromList(ignoreTextTagsExtractionErrors, i)); + } + } + else { + map.put("ignore_text_tags_extraction_errors", JSON.getDefault().getMapper().writeValueAsString(ignoreTextTagsExtractionErrors)); + } + } if (populateAutoFillFields != null) { if (isFileTypeOrListOfFiles(populateAutoFillFields)) { fileTypeFound = true; diff --git a/sdks/java-v2/src/main/java/com/dropbox/sign/model/SignatureRequestEditEmbeddedRequest.java b/sdks/java-v2/src/main/java/com/dropbox/sign/model/SignatureRequestEditEmbeddedRequest.java index 9a40b64a2..67cae5bee 100644 --- a/sdks/java-v2/src/main/java/com/dropbox/sign/model/SignatureRequestEditEmbeddedRequest.java +++ b/sdks/java-v2/src/main/java/com/dropbox/sign/model/SignatureRequestEditEmbeddedRequest.java @@ -69,6 +69,7 @@ SignatureRequestEditEmbeddedRequest.JSON_PROPERTY_TEST_MODE, SignatureRequestEditEmbeddedRequest.JSON_PROPERTY_TITLE, SignatureRequestEditEmbeddedRequest.JSON_PROPERTY_USE_TEXT_TAGS, + SignatureRequestEditEmbeddedRequest.JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS, SignatureRequestEditEmbeddedRequest.JSON_PROPERTY_POPULATE_AUTO_FILL_FIELDS, SignatureRequestEditEmbeddedRequest.JSON_PROPERTY_EXPIRES_AT }) @@ -163,6 +164,10 @@ public class SignatureRequestEditEmbeddedRequest { @jakarta.annotation.Nullable private Boolean useTextTags = false; + public static final String JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS = "ignore_text_tags_extraction_errors"; + @jakarta.annotation.Nullable + private Boolean ignoreTextTagsExtractionErrors = false; + public static final String JSON_PROPERTY_POPULATE_AUTO_FILL_FIELDS = "populate_auto_fill_fields"; @jakarta.annotation.Nullable private Boolean populateAutoFillFields = false; @@ -827,6 +832,31 @@ public void setUseTextTags(@jakarta.annotation.Nullable Boolean useTextTags) { } + public SignatureRequestEditEmbeddedRequest ignoreTextTagsExtractionErrors(@jakarta.annotation.Nullable Boolean ignoreTextTagsExtractionErrors) { + this.ignoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; + return this; + } + + /** + * Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. + * @return ignoreTextTagsExtractionErrors + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIgnoreTextTagsExtractionErrors() { + return ignoreTextTagsExtractionErrors; + } + + + @JsonProperty(JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIgnoreTextTagsExtractionErrors(@jakarta.annotation.Nullable Boolean ignoreTextTagsExtractionErrors) { + this.ignoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; + } + + public SignatureRequestEditEmbeddedRequest populateAutoFillFields(@jakarta.annotation.Nullable Boolean populateAutoFillFields) { this.populateAutoFillFields = populateAutoFillFields; return this; @@ -911,13 +941,14 @@ public boolean equals(Object o) { Objects.equals(this.testMode, signatureRequestEditEmbeddedRequest.testMode) && Objects.equals(this.title, signatureRequestEditEmbeddedRequest.title) && Objects.equals(this.useTextTags, signatureRequestEditEmbeddedRequest.useTextTags) && + Objects.equals(this.ignoreTextTagsExtractionErrors, signatureRequestEditEmbeddedRequest.ignoreTextTagsExtractionErrors) && Objects.equals(this.populateAutoFillFields, signatureRequestEditEmbeddedRequest.populateAutoFillFields) && Objects.equals(this.expiresAt, signatureRequestEditEmbeddedRequest.expiresAt); } @Override public int hashCode() { - return Objects.hash(clientId, files, fileUrls, signers, groupedSigners, allowDecline, allowReassign, attachments, ccEmailAddresses, customFields, fieldOptions, formFieldGroups, formFieldRules, formFieldsPerDocument, hideTextTags, message, metadata, signingOptions, subject, testMode, title, useTextTags, populateAutoFillFields, expiresAt); + return Objects.hash(clientId, files, fileUrls, signers, groupedSigners, allowDecline, allowReassign, attachments, ccEmailAddresses, customFields, fieldOptions, formFieldGroups, formFieldRules, formFieldsPerDocument, hideTextTags, message, metadata, signingOptions, subject, testMode, title, useTextTags, ignoreTextTagsExtractionErrors, populateAutoFillFields, expiresAt); } @Override @@ -946,6 +977,7 @@ public String toString() { sb.append(" testMode: ").append(toIndentedString(testMode)).append("\n"); sb.append(" title: ").append(toIndentedString(title)).append("\n"); sb.append(" useTextTags: ").append(toIndentedString(useTextTags)).append("\n"); + sb.append(" ignoreTextTagsExtractionErrors: ").append(toIndentedString(ignoreTextTagsExtractionErrors)).append("\n"); sb.append(" populateAutoFillFields: ").append(toIndentedString(populateAutoFillFields)).append("\n"); sb.append(" expiresAt: ").append(toIndentedString(expiresAt)).append("\n"); sb.append("}"); @@ -1374,6 +1406,25 @@ public Map createFormData() throws ApiException { map.put("use_text_tags", JSON.getDefault().getMapper().writeValueAsString(useTextTags)); } } + if (ignoreTextTagsExtractionErrors != null) { + if (isFileTypeOrListOfFiles(ignoreTextTagsExtractionErrors)) { + fileTypeFound = true; + } + + if (ignoreTextTagsExtractionErrors.getClass().equals(java.io.File.class) || + ignoreTextTagsExtractionErrors.getClass().equals(Integer.class) || + ignoreTextTagsExtractionErrors.getClass().equals(String.class) || + ignoreTextTagsExtractionErrors.getClass().isEnum()) { + map.put("ignore_text_tags_extraction_errors", ignoreTextTagsExtractionErrors); + } else if (isListOfFile(ignoreTextTagsExtractionErrors)) { + for(int i = 0; i< getListSize(ignoreTextTagsExtractionErrors); i++) { + map.put("ignore_text_tags_extraction_errors[" + i + "]", getFromList(ignoreTextTagsExtractionErrors, i)); + } + } + else { + map.put("ignore_text_tags_extraction_errors", JSON.getDefault().getMapper().writeValueAsString(ignoreTextTagsExtractionErrors)); + } + } if (populateAutoFillFields != null) { if (isFileTypeOrListOfFiles(populateAutoFillFields)) { fileTypeFound = true; diff --git a/sdks/java-v2/src/main/java/com/dropbox/sign/model/SignatureRequestEditRequest.java b/sdks/java-v2/src/main/java/com/dropbox/sign/model/SignatureRequestEditRequest.java index 9ca66e0f5..a4b031697 100644 --- a/sdks/java-v2/src/main/java/com/dropbox/sign/model/SignatureRequestEditRequest.java +++ b/sdks/java-v2/src/main/java/com/dropbox/sign/model/SignatureRequestEditRequest.java @@ -71,6 +71,7 @@ SignatureRequestEditRequest.JSON_PROPERTY_TEST_MODE, SignatureRequestEditRequest.JSON_PROPERTY_TITLE, SignatureRequestEditRequest.JSON_PROPERTY_USE_TEXT_TAGS, + SignatureRequestEditRequest.JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS, SignatureRequestEditRequest.JSON_PROPERTY_EXPIRES_AT }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.12.0") @@ -172,6 +173,10 @@ public class SignatureRequestEditRequest { @jakarta.annotation.Nullable private Boolean useTextTags = false; + public static final String JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS = "ignore_text_tags_extraction_errors"; + @jakarta.annotation.Nullable + private Boolean ignoreTextTagsExtractionErrors = false; + public static final String JSON_PROPERTY_EXPIRES_AT = "expires_at"; @jakarta.annotation.Nullable private Integer expiresAt; @@ -882,6 +887,31 @@ public void setUseTextTags(@jakarta.annotation.Nullable Boolean useTextTags) { } + public SignatureRequestEditRequest ignoreTextTagsExtractionErrors(@jakarta.annotation.Nullable Boolean ignoreTextTagsExtractionErrors) { + this.ignoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; + return this; + } + + /** + * _t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + * @return ignoreTextTagsExtractionErrors + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIgnoreTextTagsExtractionErrors() { + return ignoreTextTagsExtractionErrors; + } + + + @JsonProperty(JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIgnoreTextTagsExtractionErrors(@jakarta.annotation.Nullable Boolean ignoreTextTagsExtractionErrors) { + this.ignoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; + } + + public SignatureRequestEditRequest expiresAt(@jakarta.annotation.Nullable Integer expiresAt) { this.expiresAt = expiresAt; return this; @@ -943,12 +973,13 @@ public boolean equals(Object o) { Objects.equals(this.testMode, signatureRequestEditRequest.testMode) && Objects.equals(this.title, signatureRequestEditRequest.title) && Objects.equals(this.useTextTags, signatureRequestEditRequest.useTextTags) && + Objects.equals(this.ignoreTextTagsExtractionErrors, signatureRequestEditRequest.ignoreTextTagsExtractionErrors) && Objects.equals(this.expiresAt, signatureRequestEditRequest.expiresAt); } @Override public int hashCode() { - return Objects.hash(files, fileUrls, signers, groupedSigners, allowDecline, allowReassign, attachments, ccEmailAddresses, clientId, customFields, fieldOptions, formFieldGroups, formFieldRules, formFieldsPerDocument, hideTextTags, isEid, message, metadata, signingOptions, signingRedirectUrl, subject, testMode, title, useTextTags, expiresAt); + return Objects.hash(files, fileUrls, signers, groupedSigners, allowDecline, allowReassign, attachments, ccEmailAddresses, clientId, customFields, fieldOptions, formFieldGroups, formFieldRules, formFieldsPerDocument, hideTextTags, isEid, message, metadata, signingOptions, signingRedirectUrl, subject, testMode, title, useTextTags, ignoreTextTagsExtractionErrors, expiresAt); } @Override @@ -979,6 +1010,7 @@ public String toString() { sb.append(" testMode: ").append(toIndentedString(testMode)).append("\n"); sb.append(" title: ").append(toIndentedString(title)).append("\n"); sb.append(" useTextTags: ").append(toIndentedString(useTextTags)).append("\n"); + sb.append(" ignoreTextTagsExtractionErrors: ").append(toIndentedString(ignoreTextTagsExtractionErrors)).append("\n"); sb.append(" expiresAt: ").append(toIndentedString(expiresAt)).append("\n"); sb.append("}"); return sb.toString(); @@ -1444,6 +1476,25 @@ public Map createFormData() throws ApiException { map.put("use_text_tags", JSON.getDefault().getMapper().writeValueAsString(useTextTags)); } } + if (ignoreTextTagsExtractionErrors != null) { + if (isFileTypeOrListOfFiles(ignoreTextTagsExtractionErrors)) { + fileTypeFound = true; + } + + if (ignoreTextTagsExtractionErrors.getClass().equals(java.io.File.class) || + ignoreTextTagsExtractionErrors.getClass().equals(Integer.class) || + ignoreTextTagsExtractionErrors.getClass().equals(String.class) || + ignoreTextTagsExtractionErrors.getClass().isEnum()) { + map.put("ignore_text_tags_extraction_errors", ignoreTextTagsExtractionErrors); + } else if (isListOfFile(ignoreTextTagsExtractionErrors)) { + for(int i = 0; i< getListSize(ignoreTextTagsExtractionErrors); i++) { + map.put("ignore_text_tags_extraction_errors[" + i + "]", getFromList(ignoreTextTagsExtractionErrors, i)); + } + } + else { + map.put("ignore_text_tags_extraction_errors", JSON.getDefault().getMapper().writeValueAsString(ignoreTextTagsExtractionErrors)); + } + } if (expiresAt != null) { if (isFileTypeOrListOfFiles(expiresAt)) { fileTypeFound = true; diff --git a/sdks/java-v2/src/main/java/com/dropbox/sign/model/SignatureRequestSendRequest.java b/sdks/java-v2/src/main/java/com/dropbox/sign/model/SignatureRequestSendRequest.java index 89792b2b5..7d4e882cc 100644 --- a/sdks/java-v2/src/main/java/com/dropbox/sign/model/SignatureRequestSendRequest.java +++ b/sdks/java-v2/src/main/java/com/dropbox/sign/model/SignatureRequestSendRequest.java @@ -72,6 +72,7 @@ SignatureRequestSendRequest.JSON_PROPERTY_TEST_MODE, SignatureRequestSendRequest.JSON_PROPERTY_TITLE, SignatureRequestSendRequest.JSON_PROPERTY_USE_TEXT_TAGS, + SignatureRequestSendRequest.JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS, SignatureRequestSendRequest.JSON_PROPERTY_EXPIRES_AT }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.12.0") @@ -178,6 +179,10 @@ public class SignatureRequestSendRequest { @jakarta.annotation.Nullable private Boolean useTextTags = false; + public static final String JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS = "ignore_text_tags_extraction_errors"; + @jakarta.annotation.Nullable + private Boolean ignoreTextTagsExtractionErrors = false; + public static final String JSON_PROPERTY_EXPIRES_AT = "expires_at"; @jakarta.annotation.Nullable private Integer expiresAt; @@ -917,6 +922,31 @@ public void setUseTextTags(@jakarta.annotation.Nullable Boolean useTextTags) { } + public SignatureRequestSendRequest ignoreTextTagsExtractionErrors(@jakarta.annotation.Nullable Boolean ignoreTextTagsExtractionErrors) { + this.ignoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; + return this; + } + + /** + * _t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + * @return ignoreTextTagsExtractionErrors + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIgnoreTextTagsExtractionErrors() { + return ignoreTextTagsExtractionErrors; + } + + + @JsonProperty(JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIgnoreTextTagsExtractionErrors(@jakarta.annotation.Nullable Boolean ignoreTextTagsExtractionErrors) { + this.ignoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; + } + + public SignatureRequestSendRequest expiresAt(@jakarta.annotation.Nullable Integer expiresAt) { this.expiresAt = expiresAt; return this; @@ -979,12 +1009,13 @@ public boolean equals(Object o) { Objects.equals(this.testMode, signatureRequestSendRequest.testMode) && Objects.equals(this.title, signatureRequestSendRequest.title) && Objects.equals(this.useTextTags, signatureRequestSendRequest.useTextTags) && + Objects.equals(this.ignoreTextTagsExtractionErrors, signatureRequestSendRequest.ignoreTextTagsExtractionErrors) && Objects.equals(this.expiresAt, signatureRequestSendRequest.expiresAt); } @Override public int hashCode() { - return Objects.hash(files, fileUrls, signers, groupedSigners, allowDecline, allowReassign, attachments, ccEmailAddresses, clientId, customFields, fieldOptions, formFieldGroups, formFieldRules, formFieldsPerDocument, hideTextTags, isQualifiedSignature, isEid, message, metadata, signingOptions, signingRedirectUrl, subject, testMode, title, useTextTags, expiresAt); + return Objects.hash(files, fileUrls, signers, groupedSigners, allowDecline, allowReassign, attachments, ccEmailAddresses, clientId, customFields, fieldOptions, formFieldGroups, formFieldRules, formFieldsPerDocument, hideTextTags, isQualifiedSignature, isEid, message, metadata, signingOptions, signingRedirectUrl, subject, testMode, title, useTextTags, ignoreTextTagsExtractionErrors, expiresAt); } @Override @@ -1016,6 +1047,7 @@ public String toString() { sb.append(" testMode: ").append(toIndentedString(testMode)).append("\n"); sb.append(" title: ").append(toIndentedString(title)).append("\n"); sb.append(" useTextTags: ").append(toIndentedString(useTextTags)).append("\n"); + sb.append(" ignoreTextTagsExtractionErrors: ").append(toIndentedString(ignoreTextTagsExtractionErrors)).append("\n"); sb.append(" expiresAt: ").append(toIndentedString(expiresAt)).append("\n"); sb.append("}"); return sb.toString(); @@ -1500,6 +1532,25 @@ public Map createFormData() throws ApiException { map.put("use_text_tags", JSON.getDefault().getMapper().writeValueAsString(useTextTags)); } } + if (ignoreTextTagsExtractionErrors != null) { + if (isFileTypeOrListOfFiles(ignoreTextTagsExtractionErrors)) { + fileTypeFound = true; + } + + if (ignoreTextTagsExtractionErrors.getClass().equals(java.io.File.class) || + ignoreTextTagsExtractionErrors.getClass().equals(Integer.class) || + ignoreTextTagsExtractionErrors.getClass().equals(String.class) || + ignoreTextTagsExtractionErrors.getClass().isEnum()) { + map.put("ignore_text_tags_extraction_errors", ignoreTextTagsExtractionErrors); + } else if (isListOfFile(ignoreTextTagsExtractionErrors)) { + for(int i = 0; i< getListSize(ignoreTextTagsExtractionErrors); i++) { + map.put("ignore_text_tags_extraction_errors[" + i + "]", getFromList(ignoreTextTagsExtractionErrors, i)); + } + } + else { + map.put("ignore_text_tags_extraction_errors", JSON.getDefault().getMapper().writeValueAsString(ignoreTextTagsExtractionErrors)); + } + } if (expiresAt != null) { if (isFileTypeOrListOfFiles(expiresAt)) { fileTypeFound = true; diff --git a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateCreateEmbeddedDraftRequest.java b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateCreateEmbeddedDraftRequest.java index d7786dade..9e68b937e 100644 --- a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateCreateEmbeddedDraftRequest.java +++ b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateCreateEmbeddedDraftRequest.java @@ -70,7 +70,8 @@ TemplateCreateEmbeddedDraftRequest.JSON_PROPERTY_SUBJECT, TemplateCreateEmbeddedDraftRequest.JSON_PROPERTY_TEST_MODE, TemplateCreateEmbeddedDraftRequest.JSON_PROPERTY_TITLE, - TemplateCreateEmbeddedDraftRequest.JSON_PROPERTY_USE_PREEXISTING_FIELDS + TemplateCreateEmbeddedDraftRequest.JSON_PROPERTY_USE_PREEXISTING_FIELDS, + TemplateCreateEmbeddedDraftRequest.JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.12.0") @JsonIgnoreProperties(ignoreUnknown=true) @@ -175,6 +176,10 @@ public class TemplateCreateEmbeddedDraftRequest { @jakarta.annotation.Nullable private Boolean usePreexistingFields = false; + public static final String JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS = "ignore_text_tags_extraction_errors"; + @jakarta.annotation.Nullable + private Boolean ignoreTextTagsExtractionErrors = false; + public TemplateCreateEmbeddedDraftRequest() { } @@ -898,6 +903,31 @@ public void setUsePreexistingFields(@jakarta.annotation.Nullable Boolean usePree } + public TemplateCreateEmbeddedDraftRequest ignoreTextTagsExtractionErrors(@jakarta.annotation.Nullable Boolean ignoreTextTagsExtractionErrors) { + this.ignoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; + return this; + } + + /** + * _t__TemplateCreateEmbeddedDraft::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + * @return ignoreTextTagsExtractionErrors + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIgnoreTextTagsExtractionErrors() { + return ignoreTextTagsExtractionErrors; + } + + + @JsonProperty(JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIgnoreTextTagsExtractionErrors(@jakarta.annotation.Nullable Boolean ignoreTextTagsExtractionErrors) { + this.ignoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; + } + + /** * Return true if this TemplateCreateEmbeddedDraftRequest object is equal to o. */ @@ -934,12 +964,13 @@ public boolean equals(Object o) { Objects.equals(this.subject, templateCreateEmbeddedDraftRequest.subject) && Objects.equals(this.testMode, templateCreateEmbeddedDraftRequest.testMode) && Objects.equals(this.title, templateCreateEmbeddedDraftRequest.title) && - Objects.equals(this.usePreexistingFields, templateCreateEmbeddedDraftRequest.usePreexistingFields); + Objects.equals(this.usePreexistingFields, templateCreateEmbeddedDraftRequest.usePreexistingFields) && + Objects.equals(this.ignoreTextTagsExtractionErrors, templateCreateEmbeddedDraftRequest.ignoreTextTagsExtractionErrors); } @Override public int hashCode() { - return Objects.hash(clientId, files, fileUrls, allowCcs, allowReassign, attachments, ccRoles, editorOptions, fieldOptions, forceSignerRoles, forceSubjectMessage, formFieldGroups, formFieldRules, formFieldsPerDocument, mergeFields, message, metadata, showPreview, showProgressStepper, signerRoles, skipMeNow, subject, testMode, title, usePreexistingFields); + return Objects.hash(clientId, files, fileUrls, allowCcs, allowReassign, attachments, ccRoles, editorOptions, fieldOptions, forceSignerRoles, forceSubjectMessage, formFieldGroups, formFieldRules, formFieldsPerDocument, mergeFields, message, metadata, showPreview, showProgressStepper, signerRoles, skipMeNow, subject, testMode, title, usePreexistingFields, ignoreTextTagsExtractionErrors); } @Override @@ -971,6 +1002,7 @@ public String toString() { sb.append(" testMode: ").append(toIndentedString(testMode)).append("\n"); sb.append(" title: ").append(toIndentedString(title)).append("\n"); sb.append(" usePreexistingFields: ").append(toIndentedString(usePreexistingFields)).append("\n"); + sb.append(" ignoreTextTagsExtractionErrors: ").append(toIndentedString(ignoreTextTagsExtractionErrors)).append("\n"); sb.append("}"); return sb.toString(); } @@ -1454,6 +1486,25 @@ public Map createFormData() throws ApiException { map.put("use_preexisting_fields", JSON.getDefault().getMapper().writeValueAsString(usePreexistingFields)); } } + if (ignoreTextTagsExtractionErrors != null) { + if (isFileTypeOrListOfFiles(ignoreTextTagsExtractionErrors)) { + fileTypeFound = true; + } + + if (ignoreTextTagsExtractionErrors.getClass().equals(java.io.File.class) || + ignoreTextTagsExtractionErrors.getClass().equals(Integer.class) || + ignoreTextTagsExtractionErrors.getClass().equals(String.class) || + ignoreTextTagsExtractionErrors.getClass().isEnum()) { + map.put("ignore_text_tags_extraction_errors", ignoreTextTagsExtractionErrors); + } else if (isListOfFile(ignoreTextTagsExtractionErrors)) { + for(int i = 0; i< getListSize(ignoreTextTagsExtractionErrors); i++) { + map.put("ignore_text_tags_extraction_errors[" + i + "]", getFromList(ignoreTextTagsExtractionErrors, i)); + } + } + else { + map.put("ignore_text_tags_extraction_errors", JSON.getDefault().getMapper().writeValueAsString(ignoreTextTagsExtractionErrors)); + } + } } catch (Exception e) { throw new ApiException(e); } diff --git a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateCreateRequest.java b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateCreateRequest.java index 2a353e0ec..13a580185 100644 --- a/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateCreateRequest.java +++ b/sdks/java-v2/src/main/java/com/dropbox/sign/model/TemplateCreateRequest.java @@ -62,7 +62,8 @@ TemplateCreateRequest.JSON_PROPERTY_SUBJECT, TemplateCreateRequest.JSON_PROPERTY_TEST_MODE, TemplateCreateRequest.JSON_PROPERTY_TITLE, - TemplateCreateRequest.JSON_PROPERTY_USE_PREEXISTING_FIELDS + TemplateCreateRequest.JSON_PROPERTY_USE_PREEXISTING_FIELDS, + TemplateCreateRequest.JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.12.0") @JsonIgnoreProperties(ignoreUnknown=true) @@ -139,6 +140,10 @@ public class TemplateCreateRequest { @jakarta.annotation.Nullable private Boolean usePreexistingFields = false; + public static final String JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS = "ignore_text_tags_extraction_errors"; + @jakarta.annotation.Nullable + private Boolean ignoreTextTagsExtractionErrors = false; + public TemplateCreateRequest() { } @@ -687,6 +692,31 @@ public void setUsePreexistingFields(@jakarta.annotation.Nullable Boolean usePree } + public TemplateCreateRequest ignoreTextTagsExtractionErrors(@jakarta.annotation.Nullable Boolean ignoreTextTagsExtractionErrors) { + this.ignoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; + return this; + } + + /** + * _t__TemplateCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + * @return ignoreTextTagsExtractionErrors + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIgnoreTextTagsExtractionErrors() { + return ignoreTextTagsExtractionErrors; + } + + + @JsonProperty(JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIgnoreTextTagsExtractionErrors(@jakarta.annotation.Nullable Boolean ignoreTextTagsExtractionErrors) { + this.ignoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; + } + + /** * Return true if this TemplateCreateRequest object is equal to o. */ @@ -716,12 +746,13 @@ public boolean equals(Object o) { Objects.equals(this.subject, templateCreateRequest.subject) && Objects.equals(this.testMode, templateCreateRequest.testMode) && Objects.equals(this.title, templateCreateRequest.title) && - Objects.equals(this.usePreexistingFields, templateCreateRequest.usePreexistingFields); + Objects.equals(this.usePreexistingFields, templateCreateRequest.usePreexistingFields) && + Objects.equals(this.ignoreTextTagsExtractionErrors, templateCreateRequest.ignoreTextTagsExtractionErrors); } @Override public int hashCode() { - return Objects.hash(formFieldsPerDocument, signerRoles, files, fileUrls, allowReassign, attachments, ccRoles, clientId, fieldOptions, formFieldGroups, formFieldRules, mergeFields, message, metadata, subject, testMode, title, usePreexistingFields); + return Objects.hash(formFieldsPerDocument, signerRoles, files, fileUrls, allowReassign, attachments, ccRoles, clientId, fieldOptions, formFieldGroups, formFieldRules, mergeFields, message, metadata, subject, testMode, title, usePreexistingFields, ignoreTextTagsExtractionErrors); } @Override @@ -746,6 +777,7 @@ public String toString() { sb.append(" testMode: ").append(toIndentedString(testMode)).append("\n"); sb.append(" title: ").append(toIndentedString(title)).append("\n"); sb.append(" usePreexistingFields: ").append(toIndentedString(usePreexistingFields)).append("\n"); + sb.append(" ignoreTextTagsExtractionErrors: ").append(toIndentedString(ignoreTextTagsExtractionErrors)).append("\n"); sb.append("}"); return sb.toString(); } @@ -1096,6 +1128,25 @@ public Map createFormData() throws ApiException { map.put("use_preexisting_fields", JSON.getDefault().getMapper().writeValueAsString(usePreexistingFields)); } } + if (ignoreTextTagsExtractionErrors != null) { + if (isFileTypeOrListOfFiles(ignoreTextTagsExtractionErrors)) { + fileTypeFound = true; + } + + if (ignoreTextTagsExtractionErrors.getClass().equals(java.io.File.class) || + ignoreTextTagsExtractionErrors.getClass().equals(Integer.class) || + ignoreTextTagsExtractionErrors.getClass().equals(String.class) || + ignoreTextTagsExtractionErrors.getClass().isEnum()) { + map.put("ignore_text_tags_extraction_errors", ignoreTextTagsExtractionErrors); + } else if (isListOfFile(ignoreTextTagsExtractionErrors)) { + for(int i = 0; i< getListSize(ignoreTextTagsExtractionErrors); i++) { + map.put("ignore_text_tags_extraction_errors[" + i + "]", getFromList(ignoreTextTagsExtractionErrors, i)); + } + } + else { + map.put("ignore_text_tags_extraction_errors", JSON.getDefault().getMapper().writeValueAsString(ignoreTextTagsExtractionErrors)); + } + } } catch (Exception e) { throw new ApiException(e); } diff --git a/sdks/java-v2/src/main/java/com/dropbox/sign/model/UnclaimedDraftCreateEmbeddedRequest.java b/sdks/java-v2/src/main/java/com/dropbox/sign/model/UnclaimedDraftCreateEmbeddedRequest.java index 0c762b684..165da933e 100644 --- a/sdks/java-v2/src/main/java/com/dropbox/sign/model/UnclaimedDraftCreateEmbeddedRequest.java +++ b/sdks/java-v2/src/main/java/com/dropbox/sign/model/UnclaimedDraftCreateEmbeddedRequest.java @@ -81,6 +81,7 @@ UnclaimedDraftCreateEmbeddedRequest.JSON_PROPERTY_TYPE, UnclaimedDraftCreateEmbeddedRequest.JSON_PROPERTY_USE_PREEXISTING_FIELDS, UnclaimedDraftCreateEmbeddedRequest.JSON_PROPERTY_USE_TEXT_TAGS, + UnclaimedDraftCreateEmbeddedRequest.JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS, UnclaimedDraftCreateEmbeddedRequest.JSON_PROPERTY_POPULATE_AUTO_FILL_FIELDS, UnclaimedDraftCreateEmbeddedRequest.JSON_PROPERTY_EXPIRES_AT }) @@ -258,6 +259,10 @@ public static TypeEnum fromValue(String value) { @jakarta.annotation.Nullable private Boolean useTextTags = false; + public static final String JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS = "ignore_text_tags_extraction_errors"; + @jakarta.annotation.Nullable + private Boolean ignoreTextTagsExtractionErrors = false; + public static final String JSON_PROPERTY_POPULATE_AUTO_FILL_FIELDS = "populate_auto_fill_fields"; @jakarta.annotation.Nullable private Boolean populateAutoFillFields = false; @@ -1214,6 +1219,31 @@ public void setUseTextTags(@jakarta.annotation.Nullable Boolean useTextTags) { } + public UnclaimedDraftCreateEmbeddedRequest ignoreTextTagsExtractionErrors(@jakarta.annotation.Nullable Boolean ignoreTextTagsExtractionErrors) { + this.ignoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; + return this; + } + + /** + * _t__UnclaimedDraftCreateEmbedded::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + * @return ignoreTextTagsExtractionErrors + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIgnoreTextTagsExtractionErrors() { + return ignoreTextTagsExtractionErrors; + } + + + @JsonProperty(JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIgnoreTextTagsExtractionErrors(@jakarta.annotation.Nullable Boolean ignoreTextTagsExtractionErrors) { + this.ignoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; + } + + public UnclaimedDraftCreateEmbeddedRequest populateAutoFillFields(@jakarta.annotation.Nullable Boolean populateAutoFillFields) { this.populateAutoFillFields = populateAutoFillFields; return this; @@ -1310,13 +1340,14 @@ public boolean equals(Object o) { Objects.equals(this.type, unclaimedDraftCreateEmbeddedRequest.type) && Objects.equals(this.usePreexistingFields, unclaimedDraftCreateEmbeddedRequest.usePreexistingFields) && Objects.equals(this.useTextTags, unclaimedDraftCreateEmbeddedRequest.useTextTags) && + Objects.equals(this.ignoreTextTagsExtractionErrors, unclaimedDraftCreateEmbeddedRequest.ignoreTextTagsExtractionErrors) && Objects.equals(this.populateAutoFillFields, unclaimedDraftCreateEmbeddedRequest.populateAutoFillFields) && Objects.equals(this.expiresAt, unclaimedDraftCreateEmbeddedRequest.expiresAt); } @Override public int hashCode() { - return Objects.hash(clientId, requesterEmailAddress, files, fileUrls, allowCcs, allowDecline, allowReassign, attachments, ccEmailAddresses, customFields, editorOptions, fieldOptions, forceSignerPage, forceSubjectMessage, formFieldGroups, formFieldRules, formFieldsPerDocument, hideTextTags, holdRequest, isForEmbeddedSigning, message, metadata, requestingRedirectUrl, showPreview, showProgressStepper, signers, signingOptions, signingRedirectUrl, skipMeNow, subject, testMode, type, usePreexistingFields, useTextTags, populateAutoFillFields, expiresAt); + return Objects.hash(clientId, requesterEmailAddress, files, fileUrls, allowCcs, allowDecline, allowReassign, attachments, ccEmailAddresses, customFields, editorOptions, fieldOptions, forceSignerPage, forceSubjectMessage, formFieldGroups, formFieldRules, formFieldsPerDocument, hideTextTags, holdRequest, isForEmbeddedSigning, message, metadata, requestingRedirectUrl, showPreview, showProgressStepper, signers, signingOptions, signingRedirectUrl, skipMeNow, subject, testMode, type, usePreexistingFields, useTextTags, ignoreTextTagsExtractionErrors, populateAutoFillFields, expiresAt); } @Override @@ -1357,6 +1388,7 @@ public String toString() { sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" usePreexistingFields: ").append(toIndentedString(usePreexistingFields)).append("\n"); sb.append(" useTextTags: ").append(toIndentedString(useTextTags)).append("\n"); + sb.append(" ignoreTextTagsExtractionErrors: ").append(toIndentedString(ignoreTextTagsExtractionErrors)).append("\n"); sb.append(" populateAutoFillFields: ").append(toIndentedString(populateAutoFillFields)).append("\n"); sb.append(" expiresAt: ").append(toIndentedString(expiresAt)).append("\n"); sb.append("}"); @@ -2013,6 +2045,25 @@ public Map createFormData() throws ApiException { map.put("use_text_tags", JSON.getDefault().getMapper().writeValueAsString(useTextTags)); } } + if (ignoreTextTagsExtractionErrors != null) { + if (isFileTypeOrListOfFiles(ignoreTextTagsExtractionErrors)) { + fileTypeFound = true; + } + + if (ignoreTextTagsExtractionErrors.getClass().equals(java.io.File.class) || + ignoreTextTagsExtractionErrors.getClass().equals(Integer.class) || + ignoreTextTagsExtractionErrors.getClass().equals(String.class) || + ignoreTextTagsExtractionErrors.getClass().isEnum()) { + map.put("ignore_text_tags_extraction_errors", ignoreTextTagsExtractionErrors); + } else if (isListOfFile(ignoreTextTagsExtractionErrors)) { + for(int i = 0; i< getListSize(ignoreTextTagsExtractionErrors); i++) { + map.put("ignore_text_tags_extraction_errors[" + i + "]", getFromList(ignoreTextTagsExtractionErrors, i)); + } + } + else { + map.put("ignore_text_tags_extraction_errors", JSON.getDefault().getMapper().writeValueAsString(ignoreTextTagsExtractionErrors)); + } + } if (populateAutoFillFields != null) { if (isFileTypeOrListOfFiles(populateAutoFillFields)) { fileTypeFound = true; diff --git a/sdks/java-v2/src/main/java/com/dropbox/sign/model/UnclaimedDraftCreateRequest.java b/sdks/java-v2/src/main/java/com/dropbox/sign/model/UnclaimedDraftCreateRequest.java index 58a73751a..f163cf175 100644 --- a/sdks/java-v2/src/main/java/com/dropbox/sign/model/UnclaimedDraftCreateRequest.java +++ b/sdks/java-v2/src/main/java/com/dropbox/sign/model/UnclaimedDraftCreateRequest.java @@ -69,6 +69,7 @@ UnclaimedDraftCreateRequest.JSON_PROPERTY_TEST_MODE, UnclaimedDraftCreateRequest.JSON_PROPERTY_USE_PREEXISTING_FIELDS, UnclaimedDraftCreateRequest.JSON_PROPERTY_USE_TEXT_TAGS, + UnclaimedDraftCreateRequest.JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS, UnclaimedDraftCreateRequest.JSON_PROPERTY_EXPIRES_AT }) @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.12.0") @@ -201,6 +202,10 @@ public static TypeEnum fromValue(String value) { @jakarta.annotation.Nullable private Boolean useTextTags = false; + public static final String JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS = "ignore_text_tags_extraction_errors"; + @jakarta.annotation.Nullable + private Boolean ignoreTextTagsExtractionErrors = false; + public static final String JSON_PROPERTY_EXPIRES_AT = "expires_at"; @jakarta.annotation.Nullable private Integer expiresAt; @@ -878,6 +883,31 @@ public void setUseTextTags(@jakarta.annotation.Nullable Boolean useTextTags) { } + public UnclaimedDraftCreateRequest ignoreTextTagsExtractionErrors(@jakarta.annotation.Nullable Boolean ignoreTextTagsExtractionErrors) { + this.ignoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; + return this; + } + + /** + * _t__UnclaimedDraftCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + * @return ignoreTextTagsExtractionErrors + */ + @jakarta.annotation.Nullable + @JsonProperty(JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + + public Boolean getIgnoreTextTagsExtractionErrors() { + return ignoreTextTagsExtractionErrors; + } + + + @JsonProperty(JSON_PROPERTY_IGNORE_TEXT_TAGS_EXTRACTION_ERRORS) + @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) + public void setIgnoreTextTagsExtractionErrors(@jakarta.annotation.Nullable Boolean ignoreTextTagsExtractionErrors) { + this.ignoreTextTagsExtractionErrors = ignoreTextTagsExtractionErrors; + } + + public UnclaimedDraftCreateRequest expiresAt(@jakarta.annotation.Nullable Integer expiresAt) { this.expiresAt = expiresAt; return this; @@ -938,12 +968,13 @@ public boolean equals(Object o) { Objects.equals(this.testMode, unclaimedDraftCreateRequest.testMode) && Objects.equals(this.usePreexistingFields, unclaimedDraftCreateRequest.usePreexistingFields) && Objects.equals(this.useTextTags, unclaimedDraftCreateRequest.useTextTags) && + Objects.equals(this.ignoreTextTagsExtractionErrors, unclaimedDraftCreateRequest.ignoreTextTagsExtractionErrors) && Objects.equals(this.expiresAt, unclaimedDraftCreateRequest.expiresAt); } @Override public int hashCode() { - return Objects.hash(type, files, fileUrls, allowDecline, attachments, ccEmailAddresses, clientId, customFields, fieldOptions, formFieldGroups, formFieldRules, formFieldsPerDocument, hideTextTags, message, metadata, showProgressStepper, signers, signingOptions, signingRedirectUrl, subject, testMode, usePreexistingFields, useTextTags, expiresAt); + return Objects.hash(type, files, fileUrls, allowDecline, attachments, ccEmailAddresses, clientId, customFields, fieldOptions, formFieldGroups, formFieldRules, formFieldsPerDocument, hideTextTags, message, metadata, showProgressStepper, signers, signingOptions, signingRedirectUrl, subject, testMode, usePreexistingFields, useTextTags, ignoreTextTagsExtractionErrors, expiresAt); } @Override @@ -973,6 +1004,7 @@ public String toString() { sb.append(" testMode: ").append(toIndentedString(testMode)).append("\n"); sb.append(" usePreexistingFields: ").append(toIndentedString(usePreexistingFields)).append("\n"); sb.append(" useTextTags: ").append(toIndentedString(useTextTags)).append("\n"); + sb.append(" ignoreTextTagsExtractionErrors: ").append(toIndentedString(ignoreTextTagsExtractionErrors)).append("\n"); sb.append(" expiresAt: ").append(toIndentedString(expiresAt)).append("\n"); sb.append("}"); return sb.toString(); @@ -1419,6 +1451,25 @@ public Map createFormData() throws ApiException { map.put("use_text_tags", JSON.getDefault().getMapper().writeValueAsString(useTextTags)); } } + if (ignoreTextTagsExtractionErrors != null) { + if (isFileTypeOrListOfFiles(ignoreTextTagsExtractionErrors)) { + fileTypeFound = true; + } + + if (ignoreTextTagsExtractionErrors.getClass().equals(java.io.File.class) || + ignoreTextTagsExtractionErrors.getClass().equals(Integer.class) || + ignoreTextTagsExtractionErrors.getClass().equals(String.class) || + ignoreTextTagsExtractionErrors.getClass().isEnum()) { + map.put("ignore_text_tags_extraction_errors", ignoreTextTagsExtractionErrors); + } else if (isListOfFile(ignoreTextTagsExtractionErrors)) { + for(int i = 0; i< getListSize(ignoreTextTagsExtractionErrors); i++) { + map.put("ignore_text_tags_extraction_errors[" + i + "]", getFromList(ignoreTextTagsExtractionErrors, i)); + } + } + else { + map.put("ignore_text_tags_extraction_errors", JSON.getDefault().getMapper().writeValueAsString(ignoreTextTagsExtractionErrors)); + } + } if (expiresAt != null) { if (isFileTypeOrListOfFiles(expiresAt)) { fileTypeFound = true; diff --git a/sdks/node/dist/api.js b/sdks/node/dist/api.js index 2e7b36985..7a80a8bb1 100644 --- a/sdks/node/dist/api.js +++ b/sdks/node/dist/api.js @@ -18009,7 +18009,7 @@ var ErrorResponseError = class _ErrorResponseError { { name: "errorName", baseName: "error_name", - type: "string" + type: "ErrorResponseError.ErrorNameEnum" }, { name: "errorPath", @@ -18026,6 +18026,31 @@ var ErrorResponseError = class _ErrorResponseError { return ObjectSerializer.deserialize(data, "ErrorResponseError"); } }; +((ErrorResponseError2) => { + let ErrorNameEnum; + ((ErrorNameEnum2) => { + ErrorNameEnum2["BadRequest"] = "bad_request"; + ErrorNameEnum2["Unauthorized"] = "unauthorized"; + ErrorNameEnum2["PaymentRequired"] = "payment_required"; + ErrorNameEnum2["Forbidden"] = "forbidden"; + ErrorNameEnum2["NotFound"] = "not_found"; + ErrorNameEnum2["Conflict"] = "conflict"; + ErrorNameEnum2["ExceededRate"] = "exceeded_rate"; + ErrorNameEnum2["Unknown"] = "unknown"; + ErrorNameEnum2["TeamInviteFailed"] = "team_invite_failed"; + ErrorNameEnum2["MaxFaxes"] = "max_faxes"; + ErrorNameEnum2["InvalidRecipient"] = "invalid_recipient"; + ErrorNameEnum2["SignatureRequestCancelFailed"] = "signature_request_cancel_failed"; + ErrorNameEnum2["SignatureRequestRemoveFailed"] = "signature_request_remove_failed"; + ErrorNameEnum2["Maintenance"] = "maintenance"; + ErrorNameEnum2["MethodNotSupported"] = "method_not_supported"; + ErrorNameEnum2["InvalidReminder"] = "invalid_reminder"; + ErrorNameEnum2["Unavailable"] = "unavailable"; + ErrorNameEnum2["UnprocessableEntity"] = "unprocessable_entity"; + ErrorNameEnum2["SignatureRequestExpired"] = "signature_request_expired"; + ErrorNameEnum2["Deleted"] = "deleted"; + })(ErrorNameEnum = ErrorResponseError2.ErrorNameEnum || (ErrorResponseError2.ErrorNameEnum = {})); +})(ErrorResponseError || (ErrorResponseError = {})); // model/eventCallbackHelper.ts var crypto2 = __toESM(require("crypto")); @@ -19572,6 +19597,10 @@ var SignatureRequestCreateEmbeddedRequest = class _SignatureRequestCreateEmbedde * 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`. */ this["useTextTags"] = false; + /** + * Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. + */ + this["ignoreTextTagsExtractionErrors"] = false; /** * 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. */ @@ -19692,6 +19721,11 @@ var SignatureRequestCreateEmbeddedRequest = class _SignatureRequestCreateEmbedde baseName: "use_text_tags", type: "boolean" }, + { + name: "ignoreTextTagsExtractionErrors", + baseName: "ignore_text_tags_extraction_errors", + type: "boolean" + }, { name: "populateAutoFillFields", baseName: "populate_auto_fill_fields", @@ -19849,6 +19883,10 @@ var SignatureRequestEditEmbeddedRequest = class _SignatureRequestEditEmbeddedReq * 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`. */ this["useTextTags"] = false; + /** + * Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. + */ + this["ignoreTextTagsExtractionErrors"] = false; /** * 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. */ @@ -19969,6 +20007,11 @@ var SignatureRequestEditEmbeddedRequest = class _SignatureRequestEditEmbeddedReq baseName: "use_text_tags", type: "boolean" }, + { + name: "ignoreTextTagsExtractionErrors", + baseName: "ignore_text_tags_extraction_errors", + type: "boolean" + }, { name: "populateAutoFillFields", baseName: "populate_auto_fill_fields", @@ -20130,6 +20173,10 @@ var SignatureRequestEditRequest = class _SignatureRequestEditRequest { * 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`. */ this["useTextTags"] = false; + /** + * _t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + */ + this["ignoreTextTagsExtractionErrors"] = false; } static { this.discriminator = void 0; @@ -20256,6 +20303,11 @@ var SignatureRequestEditRequest = class _SignatureRequestEditRequest { baseName: "use_text_tags", type: "boolean" }, + { + name: "ignoreTextTagsExtractionErrors", + baseName: "ignore_text_tags_extraction_errors", + type: "boolean" + }, { name: "expiresAt", baseName: "expires_at", @@ -21397,6 +21449,10 @@ var SignatureRequestSendRequest = class _SignatureRequestSendRequest { * 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`. */ this["useTextTags"] = false; + /** + * _t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + */ + this["ignoreTextTagsExtractionErrors"] = false; } static { this.discriminator = void 0; @@ -21528,6 +21584,11 @@ var SignatureRequestSendRequest = class _SignatureRequestSendRequest { baseName: "use_text_tags", type: "boolean" }, + { + name: "ignoreTextTagsExtractionErrors", + baseName: "ignore_text_tags_extraction_errors", + type: "boolean" + }, { name: "expiresAt", baseName: "expires_at", @@ -23995,6 +24056,10 @@ var TemplateCreateEmbeddedDraftRequest = class _TemplateCreateEmbeddedDraftReque * Enable the detection of predefined PDF fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). */ this["usePreexistingFields"] = false; + /** + * _t__TemplateCreateEmbeddedDraft::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + */ + this["ignoreTextTagsExtractionErrors"] = false; } static { this.discriminator = void 0; @@ -24125,6 +24190,11 @@ var TemplateCreateEmbeddedDraftRequest = class _TemplateCreateEmbeddedDraftReque name: "usePreexistingFields", baseName: "use_preexisting_fields", type: "boolean" + }, + { + name: "ignoreTextTagsExtractionErrors", + baseName: "ignore_text_tags_extraction_errors", + type: "boolean" } ]; } @@ -24227,6 +24297,10 @@ var TemplateCreateRequest = class _TemplateCreateRequest { * Enable the detection of predefined PDF fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). */ this["usePreexistingFields"] = false; + /** + * _t__TemplateCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + */ + this["ignoreTextTagsExtractionErrors"] = false; } static { this.discriminator = void 0; @@ -24322,6 +24396,11 @@ var TemplateCreateRequest = class _TemplateCreateRequest { name: "usePreexistingFields", baseName: "use_preexisting_fields", type: "boolean" + }, + { + name: "ignoreTextTagsExtractionErrors", + baseName: "ignore_text_tags_extraction_errors", + type: "boolean" } ]; } @@ -26006,6 +26085,10 @@ var UnclaimedDraftCreateEmbeddedRequest = class _UnclaimedDraftCreateEmbeddedReq * 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. */ this["useTextTags"] = false; + /** + * _t__UnclaimedDraftCreateEmbedded::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + */ + this["ignoreTextTagsExtractionErrors"] = false; /** * 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. */ @@ -26186,6 +26269,11 @@ var UnclaimedDraftCreateEmbeddedRequest = class _UnclaimedDraftCreateEmbeddedReq baseName: "use_text_tags", type: "boolean" }, + { + name: "ignoreTextTagsExtractionErrors", + baseName: "ignore_text_tags_extraction_errors", + type: "boolean" + }, { name: "populateAutoFillFields", baseName: "populate_auto_fill_fields", @@ -26469,6 +26557,10 @@ var UnclaimedDraftCreateRequest = class _UnclaimedDraftCreateRequest { * 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. */ this["useTextTags"] = false; + /** + * _t__UnclaimedDraftCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + */ + this["ignoreTextTagsExtractionErrors"] = false; } static { this.discriminator = void 0; @@ -26590,6 +26682,11 @@ var UnclaimedDraftCreateRequest = class _UnclaimedDraftCreateRequest { baseName: "use_text_tags", type: "boolean" }, + { + name: "ignoreTextTagsExtractionErrors", + baseName: "ignore_text_tags_extraction_errors", + type: "boolean" + }, { name: "expiresAt", baseName: "expires_at", @@ -26790,6 +26887,7 @@ var WarningResponse = class _WarningResponse { // model/index.ts var enumsMap = { + "ErrorResponseError.ErrorNameEnum": ErrorResponseError.ErrorNameEnum, "EventCallbackRequestEvent.EventTypeEnum": EventCallbackRequestEvent.EventTypeEnum, FaxLineAreaCodeGetCountryEnum, FaxLineAreaCodeGetProvinceEnum, diff --git a/sdks/node/docs/model/SignatureRequestCreateEmbeddedRequest.md b/sdks/node/docs/model/SignatureRequestCreateEmbeddedRequest.md index d8cbf1583..60e0f1ee5 100644 --- a/sdks/node/docs/model/SignatureRequestCreateEmbeddedRequest.md +++ b/sdks/node/docs/model/SignatureRequestCreateEmbeddedRequest.md @@ -28,6 +28,7 @@ Name | Type | Description | Notes | `testMode` | ```boolean``` | Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. | [default to false] | | `title` | ```string``` | The title you want to assign to the SignatureRequest. | | | `useTextTags` | ```boolean``` | 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] | +| `ignoreTextTagsExtractionErrors` | ```boolean``` | Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. | [default to false] | | `populateAutoFillFields` | ```boolean``` | 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] | | `expiresAt` | ```number``` | 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/sdks/node/docs/model/SignatureRequestEditEmbeddedRequest.md b/sdks/node/docs/model/SignatureRequestEditEmbeddedRequest.md index bcc66ecf9..55cf08069 100644 --- a/sdks/node/docs/model/SignatureRequestEditEmbeddedRequest.md +++ b/sdks/node/docs/model/SignatureRequestEditEmbeddedRequest.md @@ -28,6 +28,7 @@ Name | Type | Description | Notes | `testMode` | ```boolean``` | Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. | [default to false] | | `title` | ```string``` | The title you want to assign to the SignatureRequest. | | | `useTextTags` | ```boolean``` | 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] | +| `ignoreTextTagsExtractionErrors` | ```boolean``` | Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. | [default to false] | | `populateAutoFillFields` | ```boolean``` | 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] | | `expiresAt` | ```number``` | 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/sdks/node/docs/model/SignatureRequestEditRequest.md b/sdks/node/docs/model/SignatureRequestEditRequest.md index 3e29f398f..41a6eaebf 100644 --- a/sdks/node/docs/model/SignatureRequestEditRequest.md +++ b/sdks/node/docs/model/SignatureRequestEditRequest.md @@ -30,6 +30,7 @@ Name | Type | Description | Notes | `testMode` | ```boolean``` | Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. | [default to false] | | `title` | ```string``` | The title you want to assign to the SignatureRequest. | | | `useTextTags` | ```boolean``` | 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] | +| `ignoreTextTagsExtractionErrors` | ```boolean``` | _t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | [default to false] | | `expiresAt` | ```number``` | When the signature request will expire. Unsigned signatures will be moved to the expired status, and no longer signable. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details. | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/sdks/node/docs/model/SignatureRequestSendRequest.md b/sdks/node/docs/model/SignatureRequestSendRequest.md index 656e79f9f..1422c0bd0 100644 --- a/sdks/node/docs/model/SignatureRequestSendRequest.md +++ b/sdks/node/docs/model/SignatureRequestSendRequest.md @@ -31,6 +31,7 @@ Name | Type | Description | Notes | `testMode` | ```boolean``` | Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. | [default to false] | | `title` | ```string``` | The title you want to assign to the SignatureRequest. | | | `useTextTags` | ```boolean``` | 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] | +| `ignoreTextTagsExtractionErrors` | ```boolean``` | _t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | [default to false] | | `expiresAt` | ```number``` | When the signature request will expire. Unsigned signatures will be moved to the expired status, and no longer signable. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details. | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/sdks/node/docs/model/TemplateCreateEmbeddedDraftRequest.md b/sdks/node/docs/model/TemplateCreateEmbeddedDraftRequest.md index 0a6d8c813..f9ba58984 100644 --- a/sdks/node/docs/model/TemplateCreateEmbeddedDraftRequest.md +++ b/sdks/node/docs/model/TemplateCreateEmbeddedDraftRequest.md @@ -31,5 +31,6 @@ Name | Type | Description | Notes | `testMode` | ```boolean``` | Whether this is a test, the signature request created from this draft will not be legally binding if set to `true`. Defaults to `false`. | [default to false] | | `title` | ```string``` | The title you want to assign to the SignatureRequest. | | | `usePreexistingFields` | ```boolean``` | Enable the detection of predefined PDF fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). | [default to false] | +| `ignoreTextTagsExtractionErrors` | ```boolean``` | _t__TemplateCreateEmbeddedDraft::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | [default to false] | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/sdks/node/docs/model/TemplateCreateRequest.md b/sdks/node/docs/model/TemplateCreateRequest.md index 738ed648d..11b499ed8 100644 --- a/sdks/node/docs/model/TemplateCreateRequest.md +++ b/sdks/node/docs/model/TemplateCreateRequest.md @@ -24,5 +24,6 @@ Name | Type | Description | Notes | `testMode` | ```boolean``` | Whether this is a test, the signature request created from this draft will not be legally binding if set to `true`. Defaults to `false`. | [default to false] | | `title` | ```string``` | The title you want to assign to the SignatureRequest. | | | `usePreexistingFields` | ```boolean``` | Enable the detection of predefined PDF fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). | [default to false] | +| `ignoreTextTagsExtractionErrors` | ```boolean``` | _t__TemplateCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | [default to false] | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/sdks/node/docs/model/UnclaimedDraftCreateEmbeddedRequest.md b/sdks/node/docs/model/UnclaimedDraftCreateEmbeddedRequest.md index 444d8d77c..a03a57529 100644 --- a/sdks/node/docs/model/UnclaimedDraftCreateEmbeddedRequest.md +++ b/sdks/node/docs/model/UnclaimedDraftCreateEmbeddedRequest.md @@ -40,6 +40,7 @@ Name | Type | Description | Notes | `type` | ```string``` | The type of the draft. By default this is `request_signature`, but you can set it to `send_document` if you want to self sign a document and download it. | [default to TypeEnum.RequestSignature] | | `usePreexistingFields` | ```boolean``` | 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] | | `useTextTags` | ```boolean``` | 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] | +| `ignoreTextTagsExtractionErrors` | ```boolean``` | _t__UnclaimedDraftCreateEmbedded::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | [default to false] | | `populateAutoFillFields` | ```boolean``` | 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] | | `expiresAt` | ```number``` | 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/sdks/node/docs/model/UnclaimedDraftCreateRequest.md b/sdks/node/docs/model/UnclaimedDraftCreateRequest.md index 255cbe395..fa098d553 100644 --- a/sdks/node/docs/model/UnclaimedDraftCreateRequest.md +++ b/sdks/node/docs/model/UnclaimedDraftCreateRequest.md @@ -29,6 +29,7 @@ Name | Type | Description | Notes | `testMode` | ```boolean``` | 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] | | `usePreexistingFields` | ```boolean``` | 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] | | `useTextTags` | ```boolean``` | 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] | +| `ignoreTextTagsExtractionErrors` | ```boolean``` | _t__UnclaimedDraftCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | [default to false] | | `expiresAt` | ```number``` | When the signature request will expire. Unsigned signatures will be moved to the expired status, and no longer signable. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details.

**NOTE:** This does not correspond to the **expires_at** returned in the response. | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/sdks/node/model/errorResponseError.ts b/sdks/node/model/errorResponseError.ts index 577bb5dd5..9dc11b936 100644 --- a/sdks/node/model/errorResponseError.ts +++ b/sdks/node/model/errorResponseError.ts @@ -35,7 +35,7 @@ export class ErrorResponseError { /** * Name of the error. */ - "errorName": string; + "errorName": ErrorResponseError.ErrorNameEnum; /** * Path at which an error occurred. */ @@ -52,7 +52,7 @@ export class ErrorResponseError { { name: "errorName", baseName: "error_name", - type: "string", + type: "ErrorResponseError.ErrorNameEnum", }, { name: "errorPath", @@ -70,3 +70,28 @@ export class ErrorResponseError { return ObjectSerializer.deserialize(data, "ErrorResponseError"); } } + +export namespace ErrorResponseError { + export enum ErrorNameEnum { + BadRequest = "bad_request", + Unauthorized = "unauthorized", + PaymentRequired = "payment_required", + Forbidden = "forbidden", + NotFound = "not_found", + Conflict = "conflict", + ExceededRate = "exceeded_rate", + Unknown = "unknown", + TeamInviteFailed = "team_invite_failed", + MaxFaxes = "max_faxes", + InvalidRecipient = "invalid_recipient", + SignatureRequestCancelFailed = "signature_request_cancel_failed", + SignatureRequestRemoveFailed = "signature_request_remove_failed", + Maintenance = "maintenance", + MethodNotSupported = "method_not_supported", + InvalidReminder = "invalid_reminder", + Unavailable = "unavailable", + UnprocessableEntity = "unprocessable_entity", + SignatureRequestExpired = "signature_request_expired", + Deleted = "deleted", + } +} diff --git a/sdks/node/model/index.ts b/sdks/node/model/index.ts index 47632382b..963d98157 100644 --- a/sdks/node/model/index.ts +++ b/sdks/node/model/index.ts @@ -206,6 +206,7 @@ import { UnclaimedDraftResponse } from "./unclaimedDraftResponse"; import { WarningResponse } from "./warningResponse"; export let enumsMap: { [index: string]: any } = { + "ErrorResponseError.ErrorNameEnum": ErrorResponseError.ErrorNameEnum, "EventCallbackRequestEvent.EventTypeEnum": EventCallbackRequestEvent.EventTypeEnum, FaxLineAreaCodeGetCountryEnum: FaxLineAreaCodeGetCountryEnum, diff --git a/sdks/node/model/signatureRequestCreateEmbeddedRequest.ts b/sdks/node/model/signatureRequestCreateEmbeddedRequest.ts index 774cbec6c..f71d2cbe5 100644 --- a/sdks/node/model/signatureRequestCreateEmbeddedRequest.ts +++ b/sdks/node/model/signatureRequestCreateEmbeddedRequest.ts @@ -116,6 +116,10 @@ export class SignatureRequestCreateEmbeddedRequest { * 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`. */ "useTextTags"?: boolean = false; + /** + * Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. + */ + "ignoreTextTagsExtractionErrors"?: boolean = false; /** * 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. */ @@ -238,6 +242,11 @@ export class SignatureRequestCreateEmbeddedRequest { baseName: "use_text_tags", type: "boolean", }, + { + name: "ignoreTextTagsExtractionErrors", + baseName: "ignore_text_tags_extraction_errors", + type: "boolean", + }, { name: "populateAutoFillFields", baseName: "populate_auto_fill_fields", diff --git a/sdks/node/model/signatureRequestEditEmbeddedRequest.ts b/sdks/node/model/signatureRequestEditEmbeddedRequest.ts index 78b05c0ac..62ceecc89 100644 --- a/sdks/node/model/signatureRequestEditEmbeddedRequest.ts +++ b/sdks/node/model/signatureRequestEditEmbeddedRequest.ts @@ -116,6 +116,10 @@ export class SignatureRequestEditEmbeddedRequest { * 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`. */ "useTextTags"?: boolean = false; + /** + * Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. + */ + "ignoreTextTagsExtractionErrors"?: boolean = false; /** * 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. */ @@ -238,6 +242,11 @@ export class SignatureRequestEditEmbeddedRequest { baseName: "use_text_tags", type: "boolean", }, + { + name: "ignoreTextTagsExtractionErrors", + baseName: "ignore_text_tags_extraction_errors", + type: "boolean", + }, { name: "populateAutoFillFields", baseName: "populate_auto_fill_fields", diff --git a/sdks/node/model/signatureRequestEditRequest.ts b/sdks/node/model/signatureRequestEditRequest.ts index 5f079203c..e1d07384d 100644 --- a/sdks/node/model/signatureRequestEditRequest.ts +++ b/sdks/node/model/signatureRequestEditRequest.ts @@ -124,6 +124,10 @@ export class SignatureRequestEditRequest { * 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`. */ "useTextTags"?: boolean = false; + /** + * _t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + */ + "ignoreTextTagsExtractionErrors"?: boolean = false; /** * 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. */ @@ -252,6 +256,11 @@ export class SignatureRequestEditRequest { baseName: "use_text_tags", type: "boolean", }, + { + name: "ignoreTextTagsExtractionErrors", + baseName: "ignore_text_tags_extraction_errors", + type: "boolean", + }, { name: "expiresAt", baseName: "expires_at", diff --git a/sdks/node/model/signatureRequestSendRequest.ts b/sdks/node/model/signatureRequestSendRequest.ts index f18588a35..427807895 100644 --- a/sdks/node/model/signatureRequestSendRequest.ts +++ b/sdks/node/model/signatureRequestSendRequest.ts @@ -130,6 +130,10 @@ export class SignatureRequestSendRequest { * 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`. */ "useTextTags"?: boolean = false; + /** + * _t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + */ + "ignoreTextTagsExtractionErrors"?: boolean = false; /** * 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. */ @@ -263,6 +267,11 @@ export class SignatureRequestSendRequest { baseName: "use_text_tags", type: "boolean", }, + { + name: "ignoreTextTagsExtractionErrors", + baseName: "ignore_text_tags_extraction_errors", + type: "boolean", + }, { name: "expiresAt", baseName: "expires_at", diff --git a/sdks/node/model/templateCreateEmbeddedDraftRequest.ts b/sdks/node/model/templateCreateEmbeddedDraftRequest.ts index 657fa7c86..30e619985 100644 --- a/sdks/node/model/templateCreateEmbeddedDraftRequest.ts +++ b/sdks/node/model/templateCreateEmbeddedDraftRequest.ts @@ -127,6 +127,10 @@ export class TemplateCreateEmbeddedDraftRequest { * Enable the detection of predefined PDF fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). */ "usePreexistingFields"?: boolean = false; + /** + * _t__TemplateCreateEmbeddedDraft::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + */ + "ignoreTextTagsExtractionErrors"?: boolean = false; static discriminator: string | undefined = undefined; @@ -256,6 +260,11 @@ export class TemplateCreateEmbeddedDraftRequest { baseName: "use_preexisting_fields", type: "boolean", }, + { + name: "ignoreTextTagsExtractionErrors", + baseName: "ignore_text_tags_extraction_errors", + type: "boolean", + }, ]; static getAttributeTypeMap(): AttributeTypeMap { diff --git a/sdks/node/model/templateCreateRequest.ts b/sdks/node/model/templateCreateRequest.ts index 66701c09e..c295182ce 100644 --- a/sdks/node/model/templateCreateRequest.ts +++ b/sdks/node/model/templateCreateRequest.ts @@ -101,6 +101,10 @@ export class TemplateCreateRequest { * Enable the detection of predefined PDF fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). */ "usePreexistingFields"?: boolean = false; + /** + * _t__TemplateCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + */ + "ignoreTextTagsExtractionErrors"?: boolean = false; static discriminator: string | undefined = undefined; @@ -195,6 +199,11 @@ export class TemplateCreateRequest { baseName: "use_preexisting_fields", type: "boolean", }, + { + name: "ignoreTextTagsExtractionErrors", + baseName: "ignore_text_tags_extraction_errors", + type: "boolean", + }, ]; static getAttributeTypeMap(): AttributeTypeMap { diff --git a/sdks/node/model/unclaimedDraftCreateEmbeddedRequest.ts b/sdks/node/model/unclaimedDraftCreateEmbeddedRequest.ts index 950f3c5c1..fe3e43cad 100644 --- a/sdks/node/model/unclaimedDraftCreateEmbeddedRequest.ts +++ b/sdks/node/model/unclaimedDraftCreateEmbeddedRequest.ts @@ -165,6 +165,10 @@ export class UnclaimedDraftCreateEmbeddedRequest { * 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. */ "useTextTags"?: boolean = false; + /** + * _t__UnclaimedDraftCreateEmbedded::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + */ + "ignoreTextTagsExtractionErrors"?: boolean = false; /** * 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. */ @@ -347,6 +351,11 @@ export class UnclaimedDraftCreateEmbeddedRequest { baseName: "use_text_tags", type: "boolean", }, + { + name: "ignoreTextTagsExtractionErrors", + baseName: "ignore_text_tags_extraction_errors", + type: "boolean", + }, { name: "populateAutoFillFields", baseName: "populate_auto_fill_fields", diff --git a/sdks/node/model/unclaimedDraftCreateRequest.ts b/sdks/node/model/unclaimedDraftCreateRequest.ts index cac96a626..51ebb3c49 100644 --- a/sdks/node/model/unclaimedDraftCreateRequest.ts +++ b/sdks/node/model/unclaimedDraftCreateRequest.ts @@ -122,6 +122,10 @@ export class UnclaimedDraftCreateRequest { * 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. */ "useTextTags"?: boolean = false; + /** + * _t__UnclaimedDraftCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + */ + "ignoreTextTagsExtractionErrors"?: boolean = false; /** * 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. */ @@ -245,6 +249,11 @@ export class UnclaimedDraftCreateRequest { baseName: "use_text_tags", type: "boolean", }, + { + name: "ignoreTextTagsExtractionErrors", + baseName: "ignore_text_tags_extraction_errors", + type: "boolean", + }, { name: "expiresAt", baseName: "expires_at", diff --git a/sdks/node/types/model/errorResponseError.d.ts b/sdks/node/types/model/errorResponseError.d.ts index 084f883b1..11e969783 100644 --- a/sdks/node/types/model/errorResponseError.d.ts +++ b/sdks/node/types/model/errorResponseError.d.ts @@ -1,10 +1,34 @@ import { AttributeTypeMap } from "./"; export declare class ErrorResponseError { "errorMsg": string; - "errorName": string; + "errorName": ErrorResponseError.ErrorNameEnum; "errorPath"?: string; static discriminator: string | undefined; static attributeTypeMap: AttributeTypeMap; static getAttributeTypeMap(): AttributeTypeMap; static init(data: any): ErrorResponseError; } +export declare namespace ErrorResponseError { + enum ErrorNameEnum { + BadRequest = "bad_request", + Unauthorized = "unauthorized", + PaymentRequired = "payment_required", + Forbidden = "forbidden", + NotFound = "not_found", + Conflict = "conflict", + ExceededRate = "exceeded_rate", + Unknown = "unknown", + TeamInviteFailed = "team_invite_failed", + MaxFaxes = "max_faxes", + InvalidRecipient = "invalid_recipient", + SignatureRequestCancelFailed = "signature_request_cancel_failed", + SignatureRequestRemoveFailed = "signature_request_remove_failed", + Maintenance = "maintenance", + MethodNotSupported = "method_not_supported", + InvalidReminder = "invalid_reminder", + Unavailable = "unavailable", + UnprocessableEntity = "unprocessable_entity", + SignatureRequestExpired = "signature_request_expired", + Deleted = "deleted" + } +} diff --git a/sdks/node/types/model/signatureRequestCreateEmbeddedRequest.d.ts b/sdks/node/types/model/signatureRequestCreateEmbeddedRequest.d.ts index a26931cca..5c9c7b9a0 100644 --- a/sdks/node/types/model/signatureRequestCreateEmbeddedRequest.d.ts +++ b/sdks/node/types/model/signatureRequestCreateEmbeddedRequest.d.ts @@ -33,6 +33,7 @@ export declare class SignatureRequestCreateEmbeddedRequest { "testMode"?: boolean; "title"?: string; "useTextTags"?: boolean; + "ignoreTextTagsExtractionErrors"?: boolean; "populateAutoFillFields"?: boolean; "expiresAt"?: number | null; static discriminator: string | undefined; diff --git a/sdks/node/types/model/signatureRequestEditEmbeddedRequest.d.ts b/sdks/node/types/model/signatureRequestEditEmbeddedRequest.d.ts index 6c2691435..dbccb8ffc 100644 --- a/sdks/node/types/model/signatureRequestEditEmbeddedRequest.d.ts +++ b/sdks/node/types/model/signatureRequestEditEmbeddedRequest.d.ts @@ -33,6 +33,7 @@ export declare class SignatureRequestEditEmbeddedRequest { "testMode"?: boolean; "title"?: string; "useTextTags"?: boolean; + "ignoreTextTagsExtractionErrors"?: boolean; "populateAutoFillFields"?: boolean; "expiresAt"?: number | null; static discriminator: string | undefined; diff --git a/sdks/node/types/model/signatureRequestEditRequest.d.ts b/sdks/node/types/model/signatureRequestEditRequest.d.ts index 91a01f76c..041c1c572 100644 --- a/sdks/node/types/model/signatureRequestEditRequest.d.ts +++ b/sdks/node/types/model/signatureRequestEditRequest.d.ts @@ -35,6 +35,7 @@ export declare class SignatureRequestEditRequest { "testMode"?: boolean; "title"?: string; "useTextTags"?: boolean; + "ignoreTextTagsExtractionErrors"?: boolean; "expiresAt"?: number | null; static discriminator: string | undefined; static attributeTypeMap: AttributeTypeMap; diff --git a/sdks/node/types/model/signatureRequestSendRequest.d.ts b/sdks/node/types/model/signatureRequestSendRequest.d.ts index cd862694b..65e86dbb2 100644 --- a/sdks/node/types/model/signatureRequestSendRequest.d.ts +++ b/sdks/node/types/model/signatureRequestSendRequest.d.ts @@ -36,6 +36,7 @@ export declare class SignatureRequestSendRequest { "testMode"?: boolean; "title"?: string; "useTextTags"?: boolean; + "ignoreTextTagsExtractionErrors"?: boolean; "expiresAt"?: number | null; static discriminator: string | undefined; static attributeTypeMap: AttributeTypeMap; diff --git a/sdks/node/types/model/templateCreateEmbeddedDraftRequest.d.ts b/sdks/node/types/model/templateCreateEmbeddedDraftRequest.d.ts index a527c0e84..2d26c15d3 100644 --- a/sdks/node/types/model/templateCreateEmbeddedDraftRequest.d.ts +++ b/sdks/node/types/model/templateCreateEmbeddedDraftRequest.d.ts @@ -35,6 +35,7 @@ export declare class TemplateCreateEmbeddedDraftRequest { "testMode"?: boolean; "title"?: string; "usePreexistingFields"?: boolean; + "ignoreTextTagsExtractionErrors"?: boolean; static discriminator: string | undefined; static attributeTypeMap: AttributeTypeMap; static getAttributeTypeMap(): AttributeTypeMap; diff --git a/sdks/node/types/model/templateCreateRequest.d.ts b/sdks/node/types/model/templateCreateRequest.d.ts index b81d319ea..ccc4ca91b 100644 --- a/sdks/node/types/model/templateCreateRequest.d.ts +++ b/sdks/node/types/model/templateCreateRequest.d.ts @@ -27,6 +27,7 @@ export declare class TemplateCreateRequest { "testMode"?: boolean; "title"?: string; "usePreexistingFields"?: boolean; + "ignoreTextTagsExtractionErrors"?: boolean; static discriminator: string | undefined; static attributeTypeMap: AttributeTypeMap; static getAttributeTypeMap(): AttributeTypeMap; diff --git a/sdks/node/types/model/unclaimedDraftCreateEmbeddedRequest.d.ts b/sdks/node/types/model/unclaimedDraftCreateEmbeddedRequest.d.ts index 1b48b08e1..f68e09ba4 100644 --- a/sdks/node/types/model/unclaimedDraftCreateEmbeddedRequest.d.ts +++ b/sdks/node/types/model/unclaimedDraftCreateEmbeddedRequest.d.ts @@ -45,6 +45,7 @@ export declare class UnclaimedDraftCreateEmbeddedRequest { "type"?: UnclaimedDraftCreateEmbeddedRequest.TypeEnum; "usePreexistingFields"?: boolean; "useTextTags"?: boolean; + "ignoreTextTagsExtractionErrors"?: boolean; "populateAutoFillFields"?: boolean; "expiresAt"?: number | null; static discriminator: string | undefined; diff --git a/sdks/node/types/model/unclaimedDraftCreateRequest.d.ts b/sdks/node/types/model/unclaimedDraftCreateRequest.d.ts index fd54bdc79..a4513ef2e 100644 --- a/sdks/node/types/model/unclaimedDraftCreateRequest.d.ts +++ b/sdks/node/types/model/unclaimedDraftCreateRequest.d.ts @@ -33,6 +33,7 @@ export declare class UnclaimedDraftCreateRequest { "testMode"?: boolean; "usePreexistingFields"?: boolean; "useTextTags"?: boolean; + "ignoreTextTagsExtractionErrors"?: boolean; "expiresAt"?: number | null; static discriminator: string | undefined; static attributeTypeMap: AttributeTypeMap; diff --git a/sdks/php/docs/Model/SignatureRequestCreateEmbeddedRequest.md b/sdks/php/docs/Model/SignatureRequestCreateEmbeddedRequest.md index a953bcbc2..639123f60 100644 --- a/sdks/php/docs/Model/SignatureRequestCreateEmbeddedRequest.md +++ b/sdks/php/docs/Model/SignatureRequestCreateEmbeddedRequest.md @@ -28,6 +28,7 @@ Name | Type | Description | Notes | `test_mode` | ```bool``` | Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. | [default to false] | | `title` | ```string``` | The title you want to assign to the SignatureRequest. | | | `use_text_tags` | ```bool``` | Send with a value of `true` if you wish to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document. Defaults to disabled, or `false`. | [default to false] | +| `ignore_text_tags_extraction_errors` | ```bool``` | Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. | [default to false] | | `populate_auto_fill_fields` | ```bool``` | Controls whether [auto fill fields](https://faq.hellosign.com/hc/en-us/articles/360051467511-Auto-Fill-Fields) can automatically populate a signer's information during signing.

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

**NOTE:** Keep your signer's information safe by ensuring that the _signer on your signature request is the intended party_ before using this feature. | [default to false] | | `expires_at` | ```int``` | When the signature request will expire. Unsigned signatures will be moved to the expired status, and no longer signable. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details. | | diff --git a/sdks/php/docs/Model/SignatureRequestEditRequest.md b/sdks/php/docs/Model/SignatureRequestEditRequest.md index bd308cf42..7eec689d2 100644 --- a/sdks/php/docs/Model/SignatureRequestEditRequest.md +++ b/sdks/php/docs/Model/SignatureRequestEditRequest.md @@ -30,6 +30,7 @@ Name | Type | Description | Notes | `test_mode` | ```bool``` | Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. | [default to false] | | `title` | ```string``` | The title you want to assign to the SignatureRequest. | | | `use_text_tags` | ```bool``` | Send with a value of `true` if you wish to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document. Defaults to disabled, or `false`. | [default to false] | +| `ignore_text_tags_extraction_errors` | ```bool``` | _t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | [default to false] | | `expires_at` | ```int``` | When the signature request will expire. Unsigned signatures will be moved to the expired status, and no longer signable. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details. | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/sdks/php/docs/Model/SignatureRequestSendRequest.md b/sdks/php/docs/Model/SignatureRequestSendRequest.md index bad47fcfc..1daaf6f37 100644 --- a/sdks/php/docs/Model/SignatureRequestSendRequest.md +++ b/sdks/php/docs/Model/SignatureRequestSendRequest.md @@ -31,6 +31,7 @@ Name | Type | Description | Notes | `test_mode` | ```bool``` | Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. | [default to false] | | `title` | ```string``` | The title you want to assign to the SignatureRequest. | | | `use_text_tags` | ```bool``` | Send with a value of `true` if you wish to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document. Defaults to disabled, or `false`. | [default to false] | +| `ignore_text_tags_extraction_errors` | ```bool``` | _t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | [default to false] | | `expires_at` | ```int``` | When the signature request will expire. Unsigned signatures will be moved to the expired status, and no longer signable. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details. | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/sdks/php/docs/Model/TemplateCreateEmbeddedDraftRequest.md b/sdks/php/docs/Model/TemplateCreateEmbeddedDraftRequest.md index d9ef188de..ad131e353 100644 --- a/sdks/php/docs/Model/TemplateCreateEmbeddedDraftRequest.md +++ b/sdks/php/docs/Model/TemplateCreateEmbeddedDraftRequest.md @@ -31,5 +31,6 @@ Name | Type | Description | Notes | `test_mode` | ```bool``` | Whether this is a test, the signature request created from this draft will not be legally binding if set to `true`. Defaults to `false`. | [default to false] | | `title` | ```string``` | The title you want to assign to the SignatureRequest. | | | `use_preexisting_fields` | ```bool``` | Enable the detection of predefined PDF fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). | [default to false] | +| `ignore_text_tags_extraction_errors` | ```bool``` | _t__TemplateCreateEmbeddedDraft::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | [default to false] | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/sdks/php/docs/Model/TemplateCreateRequest.md b/sdks/php/docs/Model/TemplateCreateRequest.md index 1a4b677f1..de015bd9f 100644 --- a/sdks/php/docs/Model/TemplateCreateRequest.md +++ b/sdks/php/docs/Model/TemplateCreateRequest.md @@ -24,5 +24,6 @@ Name | Type | Description | Notes | `test_mode` | ```bool``` | Whether this is a test, the signature request created from this draft will not be legally binding if set to `true`. Defaults to `false`. | [default to false] | | `title` | ```string``` | The title you want to assign to the SignatureRequest. | | | `use_preexisting_fields` | ```bool``` | Enable the detection of predefined PDF fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). | [default to false] | +| `ignore_text_tags_extraction_errors` | ```bool``` | _t__TemplateCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | [default to false] | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/sdks/php/docs/Model/UnclaimedDraftCreateEmbeddedRequest.md b/sdks/php/docs/Model/UnclaimedDraftCreateEmbeddedRequest.md index 4d9b2c5c4..bb6dbad77 100644 --- a/sdks/php/docs/Model/UnclaimedDraftCreateEmbeddedRequest.md +++ b/sdks/php/docs/Model/UnclaimedDraftCreateEmbeddedRequest.md @@ -40,6 +40,7 @@ Name | Type | Description | Notes | `type` | ```string``` | The type of the draft. By default this is `request_signature`, but you can set it to `send_document` if you want to self sign a document and download it. | [default to 'request_signature'] | | `use_preexisting_fields` | ```bool``` | Set `use_text_tags` to `true` to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document (defaults to disabled, or `false`). Alternatively, if your PDF contains pre-defined fields, enable the detection of these fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). Currently we only support use of either `use_text_tags` or `use_preexisting_fields` parameter, not both. | [default to false] | | `use_text_tags` | ```bool``` | Set `use_text_tags` to `true` to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document (defaults to disabled, or `false`). Alternatively, if your PDF contains pre-defined fields, enable the detection of these fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). Currently we only support use of either `use_text_tags` or `use_preexisting_fields` parameter, not both. | [default to false] | +| `ignore_text_tags_extraction_errors` | ```bool``` | _t__UnclaimedDraftCreateEmbedded::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | [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/sdks/php/docs/Model/UnclaimedDraftCreateRequest.md b/sdks/php/docs/Model/UnclaimedDraftCreateRequest.md index afcb4a779..56b632487 100644 --- a/sdks/php/docs/Model/UnclaimedDraftCreateRequest.md +++ b/sdks/php/docs/Model/UnclaimedDraftCreateRequest.md @@ -29,6 +29,7 @@ Name | Type | Description | Notes | `test_mode` | ```bool``` | Whether this is a test, the signature request created from this draft will not be legally binding if set to `true`. Defaults to `false`. | [default to false] | | `use_preexisting_fields` | ```bool``` | Set `use_text_tags` to `true` to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document (defaults to disabled, or `false`). Alternatively, if your PDF contains pre-defined fields, enable the detection of these fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). Currently we only support use of either `use_text_tags` or `use_preexisting_fields` parameter, not both. | [default to false] | | `use_text_tags` | ```bool``` | Set `use_text_tags` to `true` to enable [Text Tags](https://app.hellosign.com/api/textTagsWalkthrough#TextTagIntro) parsing in your document (defaults to disabled, or `false`). Alternatively, if your PDF contains pre-defined fields, enable the detection of these fields by setting the `use_preexisting_fields` to `true` (defaults to disabled, or `false`). Currently we only support use of either `use_text_tags` or `use_preexisting_fields` parameter, not both. | [default to false] | +| `ignore_text_tags_extraction_errors` | ```bool``` | _t__UnclaimedDraftCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | [default to false] | | `expires_at` | ```int``` | When the signature request will expire. Unsigned signatures will be moved to the expired status, and no longer signable. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details.

**NOTE:** This does not correspond to the **expires_at** returned in the response. | | [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/sdks/php/src/Model/ErrorResponseError.php b/sdks/php/src/Model/ErrorResponseError.php index 65c09c1dc..e25a47a9a 100644 --- a/sdks/php/src/Model/ErrorResponseError.php +++ b/sdks/php/src/Model/ErrorResponseError.php @@ -233,6 +233,58 @@ public function getModelName() return self::$openAPIModelName; } + public const ERROR_NAME_BAD_REQUEST = 'bad_request'; + public const ERROR_NAME_UNAUTHORIZED = 'unauthorized'; + public const ERROR_NAME_PAYMENT_REQUIRED = 'payment_required'; + public const ERROR_NAME_FORBIDDEN = 'forbidden'; + public const ERROR_NAME_NOT_FOUND = 'not_found'; + public const ERROR_NAME_CONFLICT = 'conflict'; + public const ERROR_NAME_EXCEEDED_RATE = 'exceeded_rate'; + public const ERROR_NAME_UNKNOWN = 'unknown'; + public const ERROR_NAME_TEAM_INVITE_FAILED = 'team_invite_failed'; + public const ERROR_NAME_MAX_FAXES = 'max_faxes'; + public const ERROR_NAME_INVALID_RECIPIENT = 'invalid_recipient'; + public const ERROR_NAME_SIGNATURE_REQUEST_CANCEL_FAILED = 'signature_request_cancel_failed'; + public const ERROR_NAME_SIGNATURE_REQUEST_REMOVE_FAILED = 'signature_request_remove_failed'; + public const ERROR_NAME_MAINTENANCE = 'maintenance'; + public const ERROR_NAME_METHOD_NOT_SUPPORTED = 'method_not_supported'; + public const ERROR_NAME_INVALID_REMINDER = 'invalid_reminder'; + public const ERROR_NAME_UNAVAILABLE = 'unavailable'; + public const ERROR_NAME_UNPROCESSABLE_ENTITY = 'unprocessable_entity'; + public const ERROR_NAME_SIGNATURE_REQUEST_EXPIRED = 'signature_request_expired'; + public const ERROR_NAME_DELETED = 'deleted'; + + /** + * Gets allowable values of the enum + * + * @return string[] + */ + public function getErrorNameAllowableValues() + { + return [ + self::ERROR_NAME_BAD_REQUEST, + self::ERROR_NAME_UNAUTHORIZED, + self::ERROR_NAME_PAYMENT_REQUIRED, + self::ERROR_NAME_FORBIDDEN, + self::ERROR_NAME_NOT_FOUND, + self::ERROR_NAME_CONFLICT, + self::ERROR_NAME_EXCEEDED_RATE, + self::ERROR_NAME_UNKNOWN, + self::ERROR_NAME_TEAM_INVITE_FAILED, + self::ERROR_NAME_MAX_FAXES, + self::ERROR_NAME_INVALID_RECIPIENT, + self::ERROR_NAME_SIGNATURE_REQUEST_CANCEL_FAILED, + self::ERROR_NAME_SIGNATURE_REQUEST_REMOVE_FAILED, + self::ERROR_NAME_MAINTENANCE, + self::ERROR_NAME_METHOD_NOT_SUPPORTED, + self::ERROR_NAME_INVALID_REMINDER, + self::ERROR_NAME_UNAVAILABLE, + self::ERROR_NAME_UNPROCESSABLE_ENTITY, + self::ERROR_NAME_SIGNATURE_REQUEST_EXPIRED, + self::ERROR_NAME_DELETED, + ]; + } + /** * Associative array for storing property values * @@ -304,6 +356,15 @@ public function listInvalidProperties() if ($this->container['error_name'] === null) { $invalidProperties[] = "'error_name' can't be null"; } + $allowedValues = $this->getErrorNameAllowableValues(); + if (!is_null($this->container['error_name']) && !in_array($this->container['error_name'], $allowedValues, true)) { + $invalidProperties[] = sprintf( + "invalid value '%s' for 'error_name', must be one of '%s'", + $this->container['error_name'], + implode("', '", $allowedValues) + ); + } + return $invalidProperties; } @@ -367,6 +428,16 @@ public function setErrorName(string $error_name) if (is_null($error_name)) { throw new InvalidArgumentException('non-nullable error_name cannot be null'); } + $allowedValues = $this->getErrorNameAllowableValues(); + if (!in_array($error_name, $allowedValues, true)) { + throw new InvalidArgumentException( + sprintf( + "Invalid value '%s' for 'error_name', must be one of '%s'", + $error_name, + implode("', '", $allowedValues) + ) + ); + } $this->container['error_name'] = $error_name; return $this; diff --git a/sdks/php/src/Model/SignatureRequestCreateEmbeddedRequest.php b/sdks/php/src/Model/SignatureRequestCreateEmbeddedRequest.php index 1a7cda140..1da278f10 100644 --- a/sdks/php/src/Model/SignatureRequestCreateEmbeddedRequest.php +++ b/sdks/php/src/Model/SignatureRequestCreateEmbeddedRequest.php @@ -80,6 +80,7 @@ class SignatureRequestCreateEmbeddedRequest implements ModelInterface, ArrayAcce 'test_mode' => 'bool', 'title' => 'string', 'use_text_tags' => 'bool', + 'ignore_text_tags_extraction_errors' => 'bool', 'populate_auto_fill_fields' => 'bool', 'expires_at' => 'int', ]; @@ -114,6 +115,7 @@ class SignatureRequestCreateEmbeddedRequest implements ModelInterface, ArrayAcce 'test_mode' => null, 'title' => null, 'use_text_tags' => null, + 'ignore_text_tags_extraction_errors' => null, 'populate_auto_fill_fields' => null, 'expires_at' => null, ]; @@ -146,6 +148,7 @@ class SignatureRequestCreateEmbeddedRequest implements ModelInterface, ArrayAcce 'test_mode' => false, 'title' => false, 'use_text_tags' => false, + 'ignore_text_tags_extraction_errors' => false, 'populate_auto_fill_fields' => false, 'expires_at' => true, ]; @@ -250,6 +253,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'test_mode', 'title' => 'title', 'use_text_tags' => 'use_text_tags', + 'ignore_text_tags_extraction_errors' => 'ignore_text_tags_extraction_errors', 'populate_auto_fill_fields' => 'populate_auto_fill_fields', 'expires_at' => 'expires_at', ]; @@ -282,6 +286,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'setTestMode', 'title' => 'setTitle', 'use_text_tags' => 'setUseTextTags', + 'ignore_text_tags_extraction_errors' => 'setIgnoreTextTagsExtractionErrors', 'populate_auto_fill_fields' => 'setPopulateAutoFillFields', 'expires_at' => 'setExpiresAt', ]; @@ -314,6 +319,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'getTestMode', 'title' => 'getTitle', 'use_text_tags' => 'getUseTextTags', + 'ignore_text_tags_extraction_errors' => 'getIgnoreTextTagsExtractionErrors', 'populate_auto_fill_fields' => 'getPopulateAutoFillFields', 'expires_at' => 'getExpiresAt', ]; @@ -396,6 +402,7 @@ public function __construct(?array $data = null) $this->setIfExists('test_mode', $data ?? [], false); $this->setIfExists('title', $data ?? [], null); $this->setIfExists('use_text_tags', $data ?? [], false); + $this->setIfExists('ignore_text_tags_extraction_errors', $data ?? [], false); $this->setIfExists('populate_auto_fill_fields', $data ?? [], false); $this->setIfExists('expires_at', $data ?? [], null); } @@ -1081,6 +1088,33 @@ public function setUseTextTags(?bool $use_text_tags) return $this; } + /** + * Gets ignore_text_tags_extraction_errors + * + * @return bool|null + */ + public function getIgnoreTextTagsExtractionErrors() + { + return $this->container['ignore_text_tags_extraction_errors']; + } + + /** + * Sets ignore_text_tags_extraction_errors + * + * @param bool|null $ignore_text_tags_extraction_errors Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. + * + * @return self + */ + public function setIgnoreTextTagsExtractionErrors(?bool $ignore_text_tags_extraction_errors) + { + if (is_null($ignore_text_tags_extraction_errors)) { + throw new InvalidArgumentException('non-nullable ignore_text_tags_extraction_errors cannot be null'); + } + $this->container['ignore_text_tags_extraction_errors'] = $ignore_text_tags_extraction_errors; + + return $this; + } + /** * Gets populate_auto_fill_fields * diff --git a/sdks/php/src/Model/SignatureRequestEditEmbeddedRequest.php b/sdks/php/src/Model/SignatureRequestEditEmbeddedRequest.php index 2795f5a2b..3a1902156 100644 --- a/sdks/php/src/Model/SignatureRequestEditEmbeddedRequest.php +++ b/sdks/php/src/Model/SignatureRequestEditEmbeddedRequest.php @@ -80,6 +80,7 @@ class SignatureRequestEditEmbeddedRequest implements ModelInterface, ArrayAccess 'test_mode' => 'bool', 'title' => 'string', 'use_text_tags' => 'bool', + 'ignore_text_tags_extraction_errors' => 'bool', 'populate_auto_fill_fields' => 'bool', 'expires_at' => 'int', ]; @@ -114,6 +115,7 @@ class SignatureRequestEditEmbeddedRequest implements ModelInterface, ArrayAccess 'test_mode' => null, 'title' => null, 'use_text_tags' => null, + 'ignore_text_tags_extraction_errors' => null, 'populate_auto_fill_fields' => null, 'expires_at' => null, ]; @@ -146,6 +148,7 @@ class SignatureRequestEditEmbeddedRequest implements ModelInterface, ArrayAccess 'test_mode' => false, 'title' => false, 'use_text_tags' => false, + 'ignore_text_tags_extraction_errors' => false, 'populate_auto_fill_fields' => false, 'expires_at' => true, ]; @@ -250,6 +253,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'test_mode', 'title' => 'title', 'use_text_tags' => 'use_text_tags', + 'ignore_text_tags_extraction_errors' => 'ignore_text_tags_extraction_errors', 'populate_auto_fill_fields' => 'populate_auto_fill_fields', 'expires_at' => 'expires_at', ]; @@ -282,6 +286,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'setTestMode', 'title' => 'setTitle', 'use_text_tags' => 'setUseTextTags', + 'ignore_text_tags_extraction_errors' => 'setIgnoreTextTagsExtractionErrors', 'populate_auto_fill_fields' => 'setPopulateAutoFillFields', 'expires_at' => 'setExpiresAt', ]; @@ -314,6 +319,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'getTestMode', 'title' => 'getTitle', 'use_text_tags' => 'getUseTextTags', + 'ignore_text_tags_extraction_errors' => 'getIgnoreTextTagsExtractionErrors', 'populate_auto_fill_fields' => 'getPopulateAutoFillFields', 'expires_at' => 'getExpiresAt', ]; @@ -396,6 +402,7 @@ public function __construct(?array $data = null) $this->setIfExists('test_mode', $data ?? [], false); $this->setIfExists('title', $data ?? [], null); $this->setIfExists('use_text_tags', $data ?? [], false); + $this->setIfExists('ignore_text_tags_extraction_errors', $data ?? [], false); $this->setIfExists('populate_auto_fill_fields', $data ?? [], false); $this->setIfExists('expires_at', $data ?? [], null); } @@ -1081,6 +1088,33 @@ public function setUseTextTags(?bool $use_text_tags) return $this; } + /** + * Gets ignore_text_tags_extraction_errors + * + * @return bool|null + */ + public function getIgnoreTextTagsExtractionErrors() + { + return $this->container['ignore_text_tags_extraction_errors']; + } + + /** + * Sets ignore_text_tags_extraction_errors + * + * @param bool|null $ignore_text_tags_extraction_errors Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. + * + * @return self + */ + public function setIgnoreTextTagsExtractionErrors(?bool $ignore_text_tags_extraction_errors) + { + if (is_null($ignore_text_tags_extraction_errors)) { + throw new InvalidArgumentException('non-nullable ignore_text_tags_extraction_errors cannot be null'); + } + $this->container['ignore_text_tags_extraction_errors'] = $ignore_text_tags_extraction_errors; + + return $this; + } + /** * Gets populate_auto_fill_fields * diff --git a/sdks/php/src/Model/SignatureRequestEditRequest.php b/sdks/php/src/Model/SignatureRequestEditRequest.php index 1e16db897..450b921ab 100644 --- a/sdks/php/src/Model/SignatureRequestEditRequest.php +++ b/sdks/php/src/Model/SignatureRequestEditRequest.php @@ -82,6 +82,7 @@ class SignatureRequestEditRequest implements ModelInterface, ArrayAccess, JsonSe 'test_mode' => 'bool', 'title' => 'string', 'use_text_tags' => 'bool', + 'ignore_text_tags_extraction_errors' => 'bool', 'expires_at' => 'int', ]; @@ -117,6 +118,7 @@ class SignatureRequestEditRequest implements ModelInterface, ArrayAccess, JsonSe 'test_mode' => null, 'title' => null, 'use_text_tags' => null, + 'ignore_text_tags_extraction_errors' => null, 'expires_at' => null, ]; @@ -150,6 +152,7 @@ class SignatureRequestEditRequest implements ModelInterface, ArrayAccess, JsonSe 'test_mode' => false, 'title' => false, 'use_text_tags' => false, + 'ignore_text_tags_extraction_errors' => false, 'expires_at' => true, ]; @@ -255,6 +258,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'test_mode', 'title' => 'title', 'use_text_tags' => 'use_text_tags', + 'ignore_text_tags_extraction_errors' => 'ignore_text_tags_extraction_errors', 'expires_at' => 'expires_at', ]; @@ -288,6 +292,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'setTestMode', 'title' => 'setTitle', 'use_text_tags' => 'setUseTextTags', + 'ignore_text_tags_extraction_errors' => 'setIgnoreTextTagsExtractionErrors', 'expires_at' => 'setExpiresAt', ]; @@ -321,6 +326,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'getTestMode', 'title' => 'getTitle', 'use_text_tags' => 'getUseTextTags', + 'ignore_text_tags_extraction_errors' => 'getIgnoreTextTagsExtractionErrors', 'expires_at' => 'getExpiresAt', ]; @@ -404,6 +410,7 @@ public function __construct(?array $data = null) $this->setIfExists('test_mode', $data ?? [], false); $this->setIfExists('title', $data ?? [], null); $this->setIfExists('use_text_tags', $data ?? [], false); + $this->setIfExists('ignore_text_tags_extraction_errors', $data ?? [], false); $this->setIfExists('expires_at', $data ?? [], null); } @@ -1139,6 +1146,33 @@ public function setUseTextTags(?bool $use_text_tags) return $this; } + /** + * Gets ignore_text_tags_extraction_errors + * + * @return bool|null + */ + public function getIgnoreTextTagsExtractionErrors() + { + return $this->container['ignore_text_tags_extraction_errors']; + } + + /** + * Sets ignore_text_tags_extraction_errors + * + * @param bool|null $ignore_text_tags_extraction_errors _t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + * + * @return self + */ + public function setIgnoreTextTagsExtractionErrors(?bool $ignore_text_tags_extraction_errors) + { + if (is_null($ignore_text_tags_extraction_errors)) { + throw new InvalidArgumentException('non-nullable ignore_text_tags_extraction_errors cannot be null'); + } + $this->container['ignore_text_tags_extraction_errors'] = $ignore_text_tags_extraction_errors; + + return $this; + } + /** * Gets expires_at * diff --git a/sdks/php/src/Model/SignatureRequestSendRequest.php b/sdks/php/src/Model/SignatureRequestSendRequest.php index a0f74237e..935fc88a9 100644 --- a/sdks/php/src/Model/SignatureRequestSendRequest.php +++ b/sdks/php/src/Model/SignatureRequestSendRequest.php @@ -83,6 +83,7 @@ class SignatureRequestSendRequest implements ModelInterface, ArrayAccess, JsonSe 'test_mode' => 'bool', 'title' => 'string', 'use_text_tags' => 'bool', + 'ignore_text_tags_extraction_errors' => 'bool', 'expires_at' => 'int', ]; @@ -119,6 +120,7 @@ class SignatureRequestSendRequest implements ModelInterface, ArrayAccess, JsonSe 'test_mode' => null, 'title' => null, 'use_text_tags' => null, + 'ignore_text_tags_extraction_errors' => null, 'expires_at' => null, ]; @@ -153,6 +155,7 @@ class SignatureRequestSendRequest implements ModelInterface, ArrayAccess, JsonSe 'test_mode' => false, 'title' => false, 'use_text_tags' => false, + 'ignore_text_tags_extraction_errors' => false, 'expires_at' => true, ]; @@ -259,6 +262,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'test_mode', 'title' => 'title', 'use_text_tags' => 'use_text_tags', + 'ignore_text_tags_extraction_errors' => 'ignore_text_tags_extraction_errors', 'expires_at' => 'expires_at', ]; @@ -293,6 +297,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'setTestMode', 'title' => 'setTitle', 'use_text_tags' => 'setUseTextTags', + 'ignore_text_tags_extraction_errors' => 'setIgnoreTextTagsExtractionErrors', 'expires_at' => 'setExpiresAt', ]; @@ -327,6 +332,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'getTestMode', 'title' => 'getTitle', 'use_text_tags' => 'getUseTextTags', + 'ignore_text_tags_extraction_errors' => 'getIgnoreTextTagsExtractionErrors', 'expires_at' => 'getExpiresAt', ]; @@ -411,6 +417,7 @@ public function __construct(?array $data = null) $this->setIfExists('test_mode', $data ?? [], false); $this->setIfExists('title', $data ?? [], null); $this->setIfExists('use_text_tags', $data ?? [], false); + $this->setIfExists('ignore_text_tags_extraction_errors', $data ?? [], false); $this->setIfExists('expires_at', $data ?? [], null); } @@ -1175,6 +1182,33 @@ public function setUseTextTags(?bool $use_text_tags) return $this; } + /** + * Gets ignore_text_tags_extraction_errors + * + * @return bool|null + */ + public function getIgnoreTextTagsExtractionErrors() + { + return $this->container['ignore_text_tags_extraction_errors']; + } + + /** + * Sets ignore_text_tags_extraction_errors + * + * @param bool|null $ignore_text_tags_extraction_errors _t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + * + * @return self + */ + public function setIgnoreTextTagsExtractionErrors(?bool $ignore_text_tags_extraction_errors) + { + if (is_null($ignore_text_tags_extraction_errors)) { + throw new InvalidArgumentException('non-nullable ignore_text_tags_extraction_errors cannot be null'); + } + $this->container['ignore_text_tags_extraction_errors'] = $ignore_text_tags_extraction_errors; + + return $this; + } + /** * Gets expires_at * diff --git a/sdks/php/src/Model/TemplateCreateEmbeddedDraftRequest.php b/sdks/php/src/Model/TemplateCreateEmbeddedDraftRequest.php index 9d151a16f..41bee3fb8 100644 --- a/sdks/php/src/Model/TemplateCreateEmbeddedDraftRequest.php +++ b/sdks/php/src/Model/TemplateCreateEmbeddedDraftRequest.php @@ -83,6 +83,7 @@ class TemplateCreateEmbeddedDraftRequest implements ModelInterface, ArrayAccess, 'test_mode' => 'bool', 'title' => 'string', 'use_preexisting_fields' => 'bool', + 'ignore_text_tags_extraction_errors' => 'bool', ]; /** @@ -118,6 +119,7 @@ class TemplateCreateEmbeddedDraftRequest implements ModelInterface, ArrayAccess, 'test_mode' => null, 'title' => null, 'use_preexisting_fields' => null, + 'ignore_text_tags_extraction_errors' => null, ]; /** @@ -151,6 +153,7 @@ class TemplateCreateEmbeddedDraftRequest implements ModelInterface, ArrayAccess, 'test_mode' => false, 'title' => false, 'use_preexisting_fields' => false, + 'ignore_text_tags_extraction_errors' => false, ]; /** @@ -256,6 +259,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'test_mode', 'title' => 'title', 'use_preexisting_fields' => 'use_preexisting_fields', + 'ignore_text_tags_extraction_errors' => 'ignore_text_tags_extraction_errors', ]; /** @@ -289,6 +293,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'setTestMode', 'title' => 'setTitle', 'use_preexisting_fields' => 'setUsePreexistingFields', + 'ignore_text_tags_extraction_errors' => 'setIgnoreTextTagsExtractionErrors', ]; /** @@ -322,6 +327,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'getTestMode', 'title' => 'getTitle', 'use_preexisting_fields' => 'getUsePreexistingFields', + 'ignore_text_tags_extraction_errors' => 'getIgnoreTextTagsExtractionErrors', ]; /** @@ -405,6 +411,7 @@ public function __construct(?array $data = null) $this->setIfExists('test_mode', $data ?? [], false); $this->setIfExists('title', $data ?? [], null); $this->setIfExists('use_preexisting_fields', $data ?? [], false); + $this->setIfExists('ignore_text_tags_extraction_errors', $data ?? [], false); } /** @@ -1161,6 +1168,33 @@ public function setUsePreexistingFields(?bool $use_preexisting_fields) return $this; } + /** + * Gets ignore_text_tags_extraction_errors + * + * @return bool|null + */ + public function getIgnoreTextTagsExtractionErrors() + { + return $this->container['ignore_text_tags_extraction_errors']; + } + + /** + * Sets ignore_text_tags_extraction_errors + * + * @param bool|null $ignore_text_tags_extraction_errors _t__TemplateCreateEmbeddedDraft::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + * + * @return self + */ + public function setIgnoreTextTagsExtractionErrors(?bool $ignore_text_tags_extraction_errors) + { + if (is_null($ignore_text_tags_extraction_errors)) { + throw new InvalidArgumentException('non-nullable ignore_text_tags_extraction_errors cannot be null'); + } + $this->container['ignore_text_tags_extraction_errors'] = $ignore_text_tags_extraction_errors; + + return $this; + } + /** * Returns true if offset exists. False otherwise. * diff --git a/sdks/php/src/Model/TemplateCreateRequest.php b/sdks/php/src/Model/TemplateCreateRequest.php index 87e69a2be..5e4c819b8 100644 --- a/sdks/php/src/Model/TemplateCreateRequest.php +++ b/sdks/php/src/Model/TemplateCreateRequest.php @@ -76,6 +76,7 @@ class TemplateCreateRequest implements ModelInterface, ArrayAccess, JsonSerializ 'test_mode' => 'bool', 'title' => 'string', 'use_preexisting_fields' => 'bool', + 'ignore_text_tags_extraction_errors' => 'bool', ]; /** @@ -104,6 +105,7 @@ class TemplateCreateRequest implements ModelInterface, ArrayAccess, JsonSerializ 'test_mode' => null, 'title' => null, 'use_preexisting_fields' => null, + 'ignore_text_tags_extraction_errors' => null, ]; /** @@ -130,6 +132,7 @@ class TemplateCreateRequest implements ModelInterface, ArrayAccess, JsonSerializ 'test_mode' => false, 'title' => false, 'use_preexisting_fields' => false, + 'ignore_text_tags_extraction_errors' => false, ]; /** @@ -228,6 +231,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'test_mode', 'title' => 'title', 'use_preexisting_fields' => 'use_preexisting_fields', + 'ignore_text_tags_extraction_errors' => 'ignore_text_tags_extraction_errors', ]; /** @@ -254,6 +258,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'setTestMode', 'title' => 'setTitle', 'use_preexisting_fields' => 'setUsePreexistingFields', + 'ignore_text_tags_extraction_errors' => 'setIgnoreTextTagsExtractionErrors', ]; /** @@ -280,6 +285,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'getTestMode', 'title' => 'getTitle', 'use_preexisting_fields' => 'getUsePreexistingFields', + 'ignore_text_tags_extraction_errors' => 'getIgnoreTextTagsExtractionErrors', ]; /** @@ -356,6 +362,7 @@ public function __construct(?array $data = null) $this->setIfExists('test_mode', $data ?? [], false); $this->setIfExists('title', $data ?? [], null); $this->setIfExists('use_preexisting_fields', $data ?? [], false); + $this->setIfExists('ignore_text_tags_extraction_errors', $data ?? [], false); } /** @@ -926,6 +933,33 @@ public function setUsePreexistingFields(?bool $use_preexisting_fields) return $this; } + /** + * Gets ignore_text_tags_extraction_errors + * + * @return bool|null + */ + public function getIgnoreTextTagsExtractionErrors() + { + return $this->container['ignore_text_tags_extraction_errors']; + } + + /** + * Sets ignore_text_tags_extraction_errors + * + * @param bool|null $ignore_text_tags_extraction_errors _t__TemplateCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + * + * @return self + */ + public function setIgnoreTextTagsExtractionErrors(?bool $ignore_text_tags_extraction_errors) + { + if (is_null($ignore_text_tags_extraction_errors)) { + throw new InvalidArgumentException('non-nullable ignore_text_tags_extraction_errors cannot be null'); + } + $this->container['ignore_text_tags_extraction_errors'] = $ignore_text_tags_extraction_errors; + + return $this; + } + /** * Returns true if offset exists. False otherwise. * diff --git a/sdks/php/src/Model/UnclaimedDraftCreateEmbeddedRequest.php b/sdks/php/src/Model/UnclaimedDraftCreateEmbeddedRequest.php index fa78f95e6..3118a8440 100644 --- a/sdks/php/src/Model/UnclaimedDraftCreateEmbeddedRequest.php +++ b/sdks/php/src/Model/UnclaimedDraftCreateEmbeddedRequest.php @@ -93,6 +93,7 @@ class UnclaimedDraftCreateEmbeddedRequest implements ModelInterface, ArrayAccess 'type' => 'string', 'use_preexisting_fields' => 'bool', 'use_text_tags' => 'bool', + 'ignore_text_tags_extraction_errors' => 'bool', 'populate_auto_fill_fields' => 'bool', 'expires_at' => 'int', ]; @@ -139,6 +140,7 @@ class UnclaimedDraftCreateEmbeddedRequest implements ModelInterface, ArrayAccess 'type' => null, 'use_preexisting_fields' => null, 'use_text_tags' => null, + 'ignore_text_tags_extraction_errors' => null, 'populate_auto_fill_fields' => null, 'expires_at' => null, ]; @@ -183,6 +185,7 @@ class UnclaimedDraftCreateEmbeddedRequest implements ModelInterface, ArrayAccess 'type' => false, 'use_preexisting_fields' => false, 'use_text_tags' => false, + 'ignore_text_tags_extraction_errors' => false, 'populate_auto_fill_fields' => false, 'expires_at' => true, ]; @@ -299,6 +302,7 @@ public function isNullableSetToNull(string $property): bool 'type' => 'type', 'use_preexisting_fields' => 'use_preexisting_fields', 'use_text_tags' => 'use_text_tags', + 'ignore_text_tags_extraction_errors' => 'ignore_text_tags_extraction_errors', 'populate_auto_fill_fields' => 'populate_auto_fill_fields', 'expires_at' => 'expires_at', ]; @@ -343,6 +347,7 @@ public function isNullableSetToNull(string $property): bool 'type' => 'setType', 'use_preexisting_fields' => 'setUsePreexistingFields', 'use_text_tags' => 'setUseTextTags', + 'ignore_text_tags_extraction_errors' => 'setIgnoreTextTagsExtractionErrors', 'populate_auto_fill_fields' => 'setPopulateAutoFillFields', 'expires_at' => 'setExpiresAt', ]; @@ -387,6 +392,7 @@ public function isNullableSetToNull(string $property): bool 'type' => 'getType', 'use_preexisting_fields' => 'getUsePreexistingFields', 'use_text_tags' => 'getUseTextTags', + 'ignore_text_tags_extraction_errors' => 'getIgnoreTextTagsExtractionErrors', 'populate_auto_fill_fields' => 'getPopulateAutoFillFields', 'expires_at' => 'getExpiresAt', ]; @@ -497,6 +503,7 @@ public function __construct(?array $data = null) $this->setIfExists('type', $data ?? [], 'request_signature'); $this->setIfExists('use_preexisting_fields', $data ?? [], false); $this->setIfExists('use_text_tags', $data ?? [], false); + $this->setIfExists('ignore_text_tags_extraction_errors', $data ?? [], false); $this->setIfExists('populate_auto_fill_fields', $data ?? [], false); $this->setIfExists('expires_at', $data ?? [], null); } @@ -1520,6 +1527,33 @@ public function setUseTextTags(?bool $use_text_tags) return $this; } + /** + * Gets ignore_text_tags_extraction_errors + * + * @return bool|null + */ + public function getIgnoreTextTagsExtractionErrors() + { + return $this->container['ignore_text_tags_extraction_errors']; + } + + /** + * Sets ignore_text_tags_extraction_errors + * + * @param bool|null $ignore_text_tags_extraction_errors _t__UnclaimedDraftCreateEmbedded::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + * + * @return self + */ + public function setIgnoreTextTagsExtractionErrors(?bool $ignore_text_tags_extraction_errors) + { + if (is_null($ignore_text_tags_extraction_errors)) { + throw new InvalidArgumentException('non-nullable ignore_text_tags_extraction_errors cannot be null'); + } + $this->container['ignore_text_tags_extraction_errors'] = $ignore_text_tags_extraction_errors; + + return $this; + } + /** * Gets populate_auto_fill_fields * diff --git a/sdks/php/src/Model/UnclaimedDraftCreateRequest.php b/sdks/php/src/Model/UnclaimedDraftCreateRequest.php index ed0060400..cff7983c0 100644 --- a/sdks/php/src/Model/UnclaimedDraftCreateRequest.php +++ b/sdks/php/src/Model/UnclaimedDraftCreateRequest.php @@ -82,6 +82,7 @@ class UnclaimedDraftCreateRequest implements ModelInterface, ArrayAccess, JsonSe 'test_mode' => 'bool', 'use_preexisting_fields' => 'bool', 'use_text_tags' => 'bool', + 'ignore_text_tags_extraction_errors' => 'bool', 'expires_at' => 'int', ]; @@ -116,6 +117,7 @@ class UnclaimedDraftCreateRequest implements ModelInterface, ArrayAccess, JsonSe 'test_mode' => null, 'use_preexisting_fields' => null, 'use_text_tags' => null, + 'ignore_text_tags_extraction_errors' => null, 'expires_at' => null, ]; @@ -148,6 +150,7 @@ class UnclaimedDraftCreateRequest implements ModelInterface, ArrayAccess, JsonSe 'test_mode' => false, 'use_preexisting_fields' => false, 'use_text_tags' => false, + 'ignore_text_tags_extraction_errors' => false, 'expires_at' => true, ]; @@ -252,6 +255,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'test_mode', 'use_preexisting_fields' => 'use_preexisting_fields', 'use_text_tags' => 'use_text_tags', + 'ignore_text_tags_extraction_errors' => 'ignore_text_tags_extraction_errors', 'expires_at' => 'expires_at', ]; @@ -284,6 +288,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'setTestMode', 'use_preexisting_fields' => 'setUsePreexistingFields', 'use_text_tags' => 'setUseTextTags', + 'ignore_text_tags_extraction_errors' => 'setIgnoreTextTagsExtractionErrors', 'expires_at' => 'setExpiresAt', ]; @@ -316,6 +321,7 @@ public function isNullableSetToNull(string $property): bool 'test_mode' => 'getTestMode', 'use_preexisting_fields' => 'getUsePreexistingFields', 'use_text_tags' => 'getUseTextTags', + 'ignore_text_tags_extraction_errors' => 'getIgnoreTextTagsExtractionErrors', 'expires_at' => 'getExpiresAt', ]; @@ -414,6 +420,7 @@ public function __construct(?array $data = null) $this->setIfExists('test_mode', $data ?? [], false); $this->setIfExists('use_preexisting_fields', $data ?? [], false); $this->setIfExists('use_text_tags', $data ?? [], false); + $this->setIfExists('ignore_text_tags_extraction_errors', $data ?? [], false); $this->setIfExists('expires_at', $data ?? [], null); } @@ -1136,6 +1143,33 @@ public function setUseTextTags(?bool $use_text_tags) return $this; } + /** + * Gets ignore_text_tags_extraction_errors + * + * @return bool|null + */ + public function getIgnoreTextTagsExtractionErrors() + { + return $this->container['ignore_text_tags_extraction_errors']; + } + + /** + * Sets ignore_text_tags_extraction_errors + * + * @param bool|null $ignore_text_tags_extraction_errors _t__UnclaimedDraftCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + * + * @return self + */ + public function setIgnoreTextTagsExtractionErrors(?bool $ignore_text_tags_extraction_errors) + { + if (is_null($ignore_text_tags_extraction_errors)) { + throw new InvalidArgumentException('non-nullable ignore_text_tags_extraction_errors cannot be null'); + } + $this->container['ignore_text_tags_extraction_errors'] = $ignore_text_tags_extraction_errors; + + return $this; + } + /** * Gets expires_at * diff --git a/sdks/python/docs/SignatureRequestApi.md b/sdks/python/docs/SignatureRequestApi.md index 039735160..79db31de2 100644 --- a/sdks/python/docs/SignatureRequestApi.md +++ b/sdks/python/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/sdks/python/docs/SignatureRequestCreateEmbeddedRequest.md b/sdks/python/docs/SignatureRequestCreateEmbeddedRequest.md index 9f2fe0584..737996807 100644 --- a/sdks/python/docs/SignatureRequestCreateEmbeddedRequest.md +++ b/sdks/python/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/sdks/python/docs/SignatureRequestEditEmbeddedRequest.md b/sdks/python/docs/SignatureRequestEditEmbeddedRequest.md index 5165d1da6..ce0318240 100644 --- a/sdks/python/docs/SignatureRequestEditEmbeddedRequest.md +++ b/sdks/python/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/sdks/python/docs/SignatureRequestEditRequest.md b/sdks/python/docs/SignatureRequestEditRequest.md index a6731f71a..a4bda201e 100644 --- a/sdks/python/docs/SignatureRequestEditRequest.md +++ b/sdks/python/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``` | _t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | [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/sdks/python/docs/SignatureRequestSendRequest.md b/sdks/python/docs/SignatureRequestSendRequest.md index 20db17ad6..0f71f3452 100644 --- a/sdks/python/docs/SignatureRequestSendRequest.md +++ b/sdks/python/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``` | _t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | [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/sdks/python/docs/TemplateCreateEmbeddedDraftRequest.md b/sdks/python/docs/TemplateCreateEmbeddedDraftRequest.md index c63d97184..9292d639e 100644 --- a/sdks/python/docs/TemplateCreateEmbeddedDraftRequest.md +++ b/sdks/python/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``` | _t__TemplateCreateEmbeddedDraft::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | [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/sdks/python/docs/TemplateCreateRequest.md b/sdks/python/docs/TemplateCreateRequest.md index a5341c381..211e077a1 100644 --- a/sdks/python/docs/TemplateCreateRequest.md +++ b/sdks/python/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``` | _t__TemplateCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | [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/sdks/python/docs/UnclaimedDraftCreateEmbeddedRequest.md b/sdks/python/docs/UnclaimedDraftCreateEmbeddedRequest.md index 49704d25b..ce5bc3440 100644 --- a/sdks/python/docs/UnclaimedDraftCreateEmbeddedRequest.md +++ b/sdks/python/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``` | _t__UnclaimedDraftCreateEmbedded::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | [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/sdks/python/docs/UnclaimedDraftCreateRequest.md b/sdks/python/docs/UnclaimedDraftCreateRequest.md index 2d84e6ea7..2105f2e46 100644 --- a/sdks/python/docs/UnclaimedDraftCreateRequest.md +++ b/sdks/python/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``` | _t__UnclaimedDraftCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | [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/sdks/python/dropbox_sign/__init__.py b/sdks/python/dropbox_sign/__init__.py index aac250c6c..a45398df8 100644 --- a/sdks/python/dropbox_sign/__init__.py +++ b/sdks/python/dropbox_sign/__init__.py @@ -14,6 +14,7 @@ Do not edit the class manually. """ # noqa: E501 + __version__ = "1.11-dev" # import apis into sdk package diff --git a/sdks/python/dropbox_sign/api_client.py b/sdks/python/dropbox_sign/api_client.py index dc69cd990..008f7a64a 100644 --- a/sdks/python/dropbox_sign/api_client.py +++ b/sdks/python/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 diff --git a/sdks/python/dropbox_sign/configuration.py b/sdks/python/dropbox_sign/configuration.py index d90745439..15be2f037 100644 --- a/sdks/python/dropbox_sign/configuration.py +++ b/sdks/python/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", diff --git a/sdks/python/dropbox_sign/models/__init__.py b/sdks/python/dropbox_sign/models/__init__.py index bb54e9011..2fd334213 100644 --- a/sdks/python/dropbox_sign/models/__init__.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/account_create_request.py b/sdks/python/dropbox_sign/models/account_create_request.py index c460b5556..06eb22484 100644 --- a/sdks/python/dropbox_sign/models/account_create_request.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/account_create_response.py b/sdks/python/dropbox_sign/models/account_create_response.py index f1a8dc67b..3bcabfd76 100644 --- a/sdks/python/dropbox_sign/models/account_create_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/account_get_response.py b/sdks/python/dropbox_sign/models/account_get_response.py index 4ff285781..9a12adb80 100644 --- a/sdks/python/dropbox_sign/models/account_get_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/account_response.py b/sdks/python/dropbox_sign/models/account_response.py index 94f32163b..9f8beb4d2 100644 --- a/sdks/python/dropbox_sign/models/account_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/account_response_quotas.py b/sdks/python/dropbox_sign/models/account_response_quotas.py index 995d323c7..d2b2ffbb0 100644 --- a/sdks/python/dropbox_sign/models/account_response_quotas.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/account_response_settings.py b/sdks/python/dropbox_sign/models/account_response_settings.py index b35cdc6f4..18fbe9844 100644 --- a/sdks/python/dropbox_sign/models/account_response_settings.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/account_response_usage.py b/sdks/python/dropbox_sign/models/account_response_usage.py index abf963fcd..6fc759346 100644 --- a/sdks/python/dropbox_sign/models/account_response_usage.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/account_update_request.py b/sdks/python/dropbox_sign/models/account_update_request.py index a502292f3..a0cafd7c4 100644 --- a/sdks/python/dropbox_sign/models/account_update_request.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/account_verify_request.py b/sdks/python/dropbox_sign/models/account_verify_request.py index 794ceb845..39804b0bc 100644 --- a/sdks/python/dropbox_sign/models/account_verify_request.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/account_verify_response.py b/sdks/python/dropbox_sign/models/account_verify_response.py index bf8198c56..3b0ee8ddf 100644 --- a/sdks/python/dropbox_sign/models/account_verify_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/account_verify_response_account.py b/sdks/python/dropbox_sign/models/account_verify_response_account.py index ccd1d403e..98f5fb302 100644 --- a/sdks/python/dropbox_sign/models/account_verify_response_account.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/api_app_create_request.py b/sdks/python/dropbox_sign/models/api_app_create_request.py index cec5bfaa1..788c74a23 100644 --- a/sdks/python/dropbox_sign/models/api_app_create_request.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/api_app_get_response.py b/sdks/python/dropbox_sign/models/api_app_get_response.py index 2933696ba..4337be1ee 100644 --- a/sdks/python/dropbox_sign/models/api_app_get_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/api_app_list_response.py b/sdks/python/dropbox_sign/models/api_app_list_response.py index 6d9b8afc0..98a950e09 100644 --- a/sdks/python/dropbox_sign/models/api_app_list_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/api_app_response.py b/sdks/python/dropbox_sign/models/api_app_response.py index cdca9dca8..ad4e87207 100644 --- a/sdks/python/dropbox_sign/models/api_app_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/api_app_response_o_auth.py b/sdks/python/dropbox_sign/models/api_app_response_o_auth.py index 388f840ac..b078c1a71 100644 --- a/sdks/python/dropbox_sign/models/api_app_response_o_auth.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/api_app_response_options.py b/sdks/python/dropbox_sign/models/api_app_response_options.py index 80315b901..ec34ed913 100644 --- a/sdks/python/dropbox_sign/models/api_app_response_options.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/api_app_response_owner_account.py b/sdks/python/dropbox_sign/models/api_app_response_owner_account.py index 95ca83253..d57994800 100644 --- a/sdks/python/dropbox_sign/models/api_app_response_owner_account.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/api_app_response_white_labeling_options.py b/sdks/python/dropbox_sign/models/api_app_response_white_labeling_options.py index a1317662c..b5747219c 100644 --- a/sdks/python/dropbox_sign/models/api_app_response_white_labeling_options.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/api_app_update_request.py b/sdks/python/dropbox_sign/models/api_app_update_request.py index 393954c1d..7370a7e96 100644 --- a/sdks/python/dropbox_sign/models/api_app_update_request.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/bulk_send_job_get_response.py b/sdks/python/dropbox_sign/models/bulk_send_job_get_response.py index 94b90cfa1..9461ccfa6 100644 --- a/sdks/python/dropbox_sign/models/bulk_send_job_get_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/bulk_send_job_get_response_signature_requests.py b/sdks/python/dropbox_sign/models/bulk_send_job_get_response_signature_requests.py index ded85043d..704089bef 100644 --- a/sdks/python/dropbox_sign/models/bulk_send_job_get_response_signature_requests.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/bulk_send_job_list_response.py b/sdks/python/dropbox_sign/models/bulk_send_job_list_response.py index 83c4551c6..8f9791880 100644 --- a/sdks/python/dropbox_sign/models/bulk_send_job_list_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/bulk_send_job_response.py b/sdks/python/dropbox_sign/models/bulk_send_job_response.py index fb95404f8..8d6eeeee0 100644 --- a/sdks/python/dropbox_sign/models/bulk_send_job_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/bulk_send_job_send_response.py b/sdks/python/dropbox_sign/models/bulk_send_job_send_response.py index 288b87cbd..a2eca9737 100644 --- a/sdks/python/dropbox_sign/models/bulk_send_job_send_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/embedded_edit_url_request.py b/sdks/python/dropbox_sign/models/embedded_edit_url_request.py index 104164cb5..849ebf426 100644 --- a/sdks/python/dropbox_sign/models/embedded_edit_url_request.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/embedded_edit_url_response.py b/sdks/python/dropbox_sign/models/embedded_edit_url_response.py index cf5908634..653ca7c2c 100644 --- a/sdks/python/dropbox_sign/models/embedded_edit_url_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/embedded_edit_url_response_embedded.py b/sdks/python/dropbox_sign/models/embedded_edit_url_response_embedded.py index 64c804dbc..67413cb9a 100644 --- a/sdks/python/dropbox_sign/models/embedded_edit_url_response_embedded.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/embedded_sign_url_response.py b/sdks/python/dropbox_sign/models/embedded_sign_url_response.py index cd89bea61..f0e03a177 100644 --- a/sdks/python/dropbox_sign/models/embedded_sign_url_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/embedded_sign_url_response_embedded.py b/sdks/python/dropbox_sign/models/embedded_sign_url_response_embedded.py index fb2f95acb..dc7145702 100644 --- a/sdks/python/dropbox_sign/models/embedded_sign_url_response_embedded.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/error_response.py b/sdks/python/dropbox_sign/models/error_response.py index d71038457..98c6e5a90 100644 --- a/sdks/python/dropbox_sign/models/error_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/error_response_error.py b/sdks/python/dropbox_sign/models/error_response_error.py index 4f17bb6ee..b2f63bbce 100644 --- a/sdks/python/dropbox_sign/models/error_response_error.py +++ b/sdks/python/dropbox_sign/models/error_response_error.py @@ -12,12 +12,13 @@ Do not edit the class manually. """ # noqa: E501 + from __future__ import annotations import pprint import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing import Optional, Set from typing_extensions import Self @@ -38,6 +39,38 @@ class ErrorResponseError(BaseModel): ) __properties: ClassVar[List[str]] = ["error_msg", "error_name", "error_path"] + @field_validator("error_name") + def error_name_validate_enum(cls, value): + """Validates the enum""" + if value not in set( + [ + "bad_request", + "unauthorized", + "payment_required", + "forbidden", + "not_found", + "conflict", + "exceeded_rate", + "unknown", + "team_invite_failed", + "max_faxes", + "invalid_recipient", + "signature_request_cancel_failed", + "signature_request_remove_failed", + "maintenance", + "method_not_supported", + "invalid_reminder", + "unavailable", + "unprocessable_entity", + "signature_request_expired", + "deleted", + ] + ): + raise ValueError( + "must be one of enum values ('bad_request', 'unauthorized', 'payment_required', 'forbidden', 'not_found', 'conflict', 'exceeded_rate', 'unknown', 'team_invite_failed', 'max_faxes', 'invalid_recipient', 'signature_request_cancel_failed', 'signature_request_remove_failed', 'maintenance', 'method_not_supported', 'invalid_reminder', 'unavailable', 'unprocessable_entity', 'signature_request_expired', 'deleted')" + ) + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/sdks/python/dropbox_sign/models/event_callback_request.py b/sdks/python/dropbox_sign/models/event_callback_request.py index a5cad664d..f8ac8473d 100644 --- a/sdks/python/dropbox_sign/models/event_callback_request.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/event_callback_request_event.py b/sdks/python/dropbox_sign/models/event_callback_request_event.py index 67def101d..7f263da42 100644 --- a/sdks/python/dropbox_sign/models/event_callback_request_event.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/event_callback_request_event_metadata.py b/sdks/python/dropbox_sign/models/event_callback_request_event_metadata.py index 39903767b..fee5309d9 100644 --- a/sdks/python/dropbox_sign/models/event_callback_request_event_metadata.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/fax_get_response.py b/sdks/python/dropbox_sign/models/fax_get_response.py index 0c139a61a..25bf9d2fd 100644 --- a/sdks/python/dropbox_sign/models/fax_get_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/fax_line_add_user_request.py b/sdks/python/dropbox_sign/models/fax_line_add_user_request.py index 4951c87bd..7a7a92b60 100644 --- a/sdks/python/dropbox_sign/models/fax_line_add_user_request.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/fax_line_area_code_get_country_enum.py b/sdks/python/dropbox_sign/models/fax_line_area_code_get_country_enum.py index 6249d1459..94df88562 100644 --- a/sdks/python/dropbox_sign/models/fax_line_area_code_get_country_enum.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/fax_line_area_code_get_province_enum.py b/sdks/python/dropbox_sign/models/fax_line_area_code_get_province_enum.py index e111091cc..e7994f3f5 100644 --- a/sdks/python/dropbox_sign/models/fax_line_area_code_get_province_enum.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/fax_line_area_code_get_response.py b/sdks/python/dropbox_sign/models/fax_line_area_code_get_response.py index 55bbd5703..4d41c9b56 100644 --- a/sdks/python/dropbox_sign/models/fax_line_area_code_get_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/fax_line_area_code_get_state_enum.py b/sdks/python/dropbox_sign/models/fax_line_area_code_get_state_enum.py index 5f302809e..8cfe5ad2e 100644 --- a/sdks/python/dropbox_sign/models/fax_line_area_code_get_state_enum.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/fax_line_create_request.py b/sdks/python/dropbox_sign/models/fax_line_create_request.py index 722ecd04c..7a8d88c34 100644 --- a/sdks/python/dropbox_sign/models/fax_line_create_request.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/fax_line_delete_request.py b/sdks/python/dropbox_sign/models/fax_line_delete_request.py index 2ba409b29..9e966098b 100644 --- a/sdks/python/dropbox_sign/models/fax_line_delete_request.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/fax_line_list_response.py b/sdks/python/dropbox_sign/models/fax_line_list_response.py index 354b03d5e..07581a37e 100644 --- a/sdks/python/dropbox_sign/models/fax_line_list_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/fax_line_remove_user_request.py b/sdks/python/dropbox_sign/models/fax_line_remove_user_request.py index 08e9cb5e3..6021a0c84 100644 --- a/sdks/python/dropbox_sign/models/fax_line_remove_user_request.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/fax_line_response.py b/sdks/python/dropbox_sign/models/fax_line_response.py index d85e0c2ac..bb733f4da 100644 --- a/sdks/python/dropbox_sign/models/fax_line_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/fax_line_response_fax_line.py b/sdks/python/dropbox_sign/models/fax_line_response_fax_line.py index d55a0cd7d..8a0676cbe 100644 --- a/sdks/python/dropbox_sign/models/fax_line_response_fax_line.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/fax_list_response.py b/sdks/python/dropbox_sign/models/fax_list_response.py index 4afc53b6c..99140e3c0 100644 --- a/sdks/python/dropbox_sign/models/fax_list_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/fax_response.py b/sdks/python/dropbox_sign/models/fax_response.py index 9f336111d..1648df8e2 100644 --- a/sdks/python/dropbox_sign/models/fax_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/fax_response_transmission.py b/sdks/python/dropbox_sign/models/fax_response_transmission.py index 3d54f4e57..66c613dd2 100644 --- a/sdks/python/dropbox_sign/models/fax_response_transmission.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/fax_send_request.py b/sdks/python/dropbox_sign/models/fax_send_request.py index 71bdb7b61..c4f0af8c1 100644 --- a/sdks/python/dropbox_sign/models/fax_send_request.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/file_response.py b/sdks/python/dropbox_sign/models/file_response.py index 6e70e7805..434a4f1be 100644 --- a/sdks/python/dropbox_sign/models/file_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/file_response_data_uri.py b/sdks/python/dropbox_sign/models/file_response_data_uri.py index 2a535f798..da1384d66 100644 --- a/sdks/python/dropbox_sign/models/file_response_data_uri.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/list_info_response.py b/sdks/python/dropbox_sign/models/list_info_response.py index 23583a020..cdca4fa28 100644 --- a/sdks/python/dropbox_sign/models/list_info_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/o_auth_token_generate_request.py b/sdks/python/dropbox_sign/models/o_auth_token_generate_request.py index 915adcd27..06359f488 100644 --- a/sdks/python/dropbox_sign/models/o_auth_token_generate_request.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/o_auth_token_refresh_request.py b/sdks/python/dropbox_sign/models/o_auth_token_refresh_request.py index bd2b11ed2..7a1aa9ae1 100644 --- a/sdks/python/dropbox_sign/models/o_auth_token_refresh_request.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/o_auth_token_response.py b/sdks/python/dropbox_sign/models/o_auth_token_response.py index b56f36a14..4b91161f4 100644 --- a/sdks/python/dropbox_sign/models/o_auth_token_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/report_create_request.py b/sdks/python/dropbox_sign/models/report_create_request.py index 3d94d8fd6..ec6afec9c 100644 --- a/sdks/python/dropbox_sign/models/report_create_request.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/report_create_response.py b/sdks/python/dropbox_sign/models/report_create_response.py index fb309c154..3d781b9bd 100644 --- a/sdks/python/dropbox_sign/models/report_create_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/report_response.py b/sdks/python/dropbox_sign/models/report_response.py index 40ca150cd..b3ed31ee4 100644 --- a/sdks/python/dropbox_sign/models/report_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/signature_request_bulk_create_embedded_with_template_request.py b/sdks/python/dropbox_sign/models/signature_request_bulk_create_embedded_with_template_request.py index eb69f3375..54fd997c1 100644 --- a/sdks/python/dropbox_sign/models/signature_request_bulk_create_embedded_with_template_request.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/signature_request_bulk_send_with_template_request.py b/sdks/python/dropbox_sign/models/signature_request_bulk_send_with_template_request.py index c52618e77..54cb9808f 100644 --- a/sdks/python/dropbox_sign/models/signature_request_bulk_send_with_template_request.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/signature_request_create_embedded_request.py b/sdks/python/dropbox_sign/models/signature_request_create_embedded_request.py index 2d855ef50..68c784e84 100644 --- a/sdks/python/dropbox_sign/models/signature_request_create_embedded_request.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/signature_request_create_embedded_with_template_request.py b/sdks/python/dropbox_sign/models/signature_request_create_embedded_with_template_request.py index cb4362e6d..07c2d0cfe 100644 --- a/sdks/python/dropbox_sign/models/signature_request_create_embedded_with_template_request.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/signature_request_edit_embedded_request.py b/sdks/python/dropbox_sign/models/signature_request_edit_embedded_request.py index b5579dbf5..4ea9149f2 100644 --- a/sdks/python/dropbox_sign/models/signature_request_edit_embedded_request.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/signature_request_edit_embedded_with_template_request.py b/sdks/python/dropbox_sign/models/signature_request_edit_embedded_with_template_request.py index 1c0480924..0061169bb 100644 --- a/sdks/python/dropbox_sign/models/signature_request_edit_embedded_with_template_request.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/signature_request_edit_request.py b/sdks/python/dropbox_sign/models/signature_request_edit_request.py index 3f622f8d5..8b4814b85 100644 --- a/sdks/python/dropbox_sign/models/signature_request_edit_request.py +++ b/sdks/python/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="_t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS", + ) 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/sdks/python/dropbox_sign/models/signature_request_edit_with_template_request.py b/sdks/python/dropbox_sign/models/signature_request_edit_with_template_request.py index b7215ec46..1c5bf5a5b 100644 --- a/sdks/python/dropbox_sign/models/signature_request_edit_with_template_request.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/signature_request_get_response.py b/sdks/python/dropbox_sign/models/signature_request_get_response.py index 10d2b1229..546c12ce3 100644 --- a/sdks/python/dropbox_sign/models/signature_request_get_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/signature_request_list_response.py b/sdks/python/dropbox_sign/models/signature_request_list_response.py index 4c46fbeef..2df4cbfe3 100644 --- a/sdks/python/dropbox_sign/models/signature_request_list_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/signature_request_remind_request.py b/sdks/python/dropbox_sign/models/signature_request_remind_request.py index 3454e86b4..df37e043e 100644 --- a/sdks/python/dropbox_sign/models/signature_request_remind_request.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/signature_request_response.py b/sdks/python/dropbox_sign/models/signature_request_response.py index 4be2db472..7720256b8 100644 --- a/sdks/python/dropbox_sign/models/signature_request_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/signature_request_response_attachment.py b/sdks/python/dropbox_sign/models/signature_request_response_attachment.py index 10bb333b1..30af75823 100644 --- a/sdks/python/dropbox_sign/models/signature_request_response_attachment.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/signature_request_response_custom_field_base.py b/sdks/python/dropbox_sign/models/signature_request_response_custom_field_base.py index a9ab8ddf5..61ecdd69c 100644 --- a/sdks/python/dropbox_sign/models/signature_request_response_custom_field_base.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/signature_request_response_custom_field_checkbox.py b/sdks/python/dropbox_sign/models/signature_request_response_custom_field_checkbox.py index e10fe7e3a..de55b64e5 100644 --- a/sdks/python/dropbox_sign/models/signature_request_response_custom_field_checkbox.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/signature_request_response_custom_field_text.py b/sdks/python/dropbox_sign/models/signature_request_response_custom_field_text.py index 8f9e4eb1a..48fa24f29 100644 --- a/sdks/python/dropbox_sign/models/signature_request_response_custom_field_text.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/signature_request_response_custom_field_type_enum.py b/sdks/python/dropbox_sign/models/signature_request_response_custom_field_type_enum.py index a8e880e2e..8f715aea2 100644 --- a/sdks/python/dropbox_sign/models/signature_request_response_custom_field_type_enum.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/signature_request_response_data_base.py b/sdks/python/dropbox_sign/models/signature_request_response_data_base.py index 9353ca349..374d2cc50 100644 --- a/sdks/python/dropbox_sign/models/signature_request_response_data_base.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/signature_request_response_data_type_enum.py b/sdks/python/dropbox_sign/models/signature_request_response_data_type_enum.py index eaae18cfe..8c4d01dac 100644 --- a/sdks/python/dropbox_sign/models/signature_request_response_data_type_enum.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/signature_request_response_data_value_checkbox.py b/sdks/python/dropbox_sign/models/signature_request_response_data_value_checkbox.py index 8d3604e42..4e258335d 100644 --- a/sdks/python/dropbox_sign/models/signature_request_response_data_value_checkbox.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/signature_request_response_data_value_checkbox_merge.py b/sdks/python/dropbox_sign/models/signature_request_response_data_value_checkbox_merge.py index ba5fd382b..0a25a7ca7 100644 --- a/sdks/python/dropbox_sign/models/signature_request_response_data_value_checkbox_merge.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/signature_request_response_data_value_date_signed.py b/sdks/python/dropbox_sign/models/signature_request_response_data_value_date_signed.py index 4644f1b36..ac09c2600 100644 --- a/sdks/python/dropbox_sign/models/signature_request_response_data_value_date_signed.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/signature_request_response_data_value_dropdown.py b/sdks/python/dropbox_sign/models/signature_request_response_data_value_dropdown.py index f4423cb1b..9eb735261 100644 --- a/sdks/python/dropbox_sign/models/signature_request_response_data_value_dropdown.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/signature_request_response_data_value_initials.py b/sdks/python/dropbox_sign/models/signature_request_response_data_value_initials.py index d470cd74b..9a5f19055 100644 --- a/sdks/python/dropbox_sign/models/signature_request_response_data_value_initials.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/signature_request_response_data_value_radio.py b/sdks/python/dropbox_sign/models/signature_request_response_data_value_radio.py index db6f2bd50..38b3cc04a 100644 --- a/sdks/python/dropbox_sign/models/signature_request_response_data_value_radio.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/signature_request_response_data_value_signature.py b/sdks/python/dropbox_sign/models/signature_request_response_data_value_signature.py index af7eade77..a928d102b 100644 --- a/sdks/python/dropbox_sign/models/signature_request_response_data_value_signature.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/signature_request_response_data_value_text.py b/sdks/python/dropbox_sign/models/signature_request_response_data_value_text.py index 8c9ad56e5..7b5b782e5 100644 --- a/sdks/python/dropbox_sign/models/signature_request_response_data_value_text.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/signature_request_response_data_value_text_merge.py b/sdks/python/dropbox_sign/models/signature_request_response_data_value_text_merge.py index 176c4b0cb..13b9591e9 100644 --- a/sdks/python/dropbox_sign/models/signature_request_response_data_value_text_merge.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/signature_request_response_signatures.py b/sdks/python/dropbox_sign/models/signature_request_response_signatures.py index ae4f2d9be..9b36e81f6 100644 --- a/sdks/python/dropbox_sign/models/signature_request_response_signatures.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/signature_request_send_request.py b/sdks/python/dropbox_sign/models/signature_request_send_request.py index 4d781039d..90f1f4b26 100644 --- a/sdks/python/dropbox_sign/models/signature_request_send_request.py +++ b/sdks/python/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="_t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS", + ) 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/sdks/python/dropbox_sign/models/signature_request_send_with_template_request.py b/sdks/python/dropbox_sign/models/signature_request_send_with_template_request.py index f4f4230d1..71cbf1153 100644 --- a/sdks/python/dropbox_sign/models/signature_request_send_with_template_request.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/signature_request_update_request.py b/sdks/python/dropbox_sign/models/signature_request_update_request.py index dcb2de5b9..a5ec1ddc1 100644 --- a/sdks/python/dropbox_sign/models/signature_request_update_request.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/sub_attachment.py b/sdks/python/dropbox_sign/models/sub_attachment.py index b2203b2ff..82daeb1f5 100644 --- a/sdks/python/dropbox_sign/models/sub_attachment.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/sub_bulk_signer_list.py b/sdks/python/dropbox_sign/models/sub_bulk_signer_list.py index e1eb782df..899f57701 100644 --- a/sdks/python/dropbox_sign/models/sub_bulk_signer_list.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/sub_bulk_signer_list_custom_field.py b/sdks/python/dropbox_sign/models/sub_bulk_signer_list_custom_field.py index 396406867..0efdff283 100644 --- a/sdks/python/dropbox_sign/models/sub_bulk_signer_list_custom_field.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/sub_cc.py b/sdks/python/dropbox_sign/models/sub_cc.py index 02b6b98a4..fb14ef0c0 100644 --- a/sdks/python/dropbox_sign/models/sub_cc.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/sub_custom_field.py b/sdks/python/dropbox_sign/models/sub_custom_field.py index 952debcec..ec74927d1 100644 --- a/sdks/python/dropbox_sign/models/sub_custom_field.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/sub_editor_options.py b/sdks/python/dropbox_sign/models/sub_editor_options.py index 230af545b..8693cfa02 100644 --- a/sdks/python/dropbox_sign/models/sub_editor_options.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/sub_field_options.py b/sdks/python/dropbox_sign/models/sub_field_options.py index 3a09fad08..12336e67e 100644 --- a/sdks/python/dropbox_sign/models/sub_field_options.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/sub_form_field_group.py b/sdks/python/dropbox_sign/models/sub_form_field_group.py index 833b04461..a892d2147 100644 --- a/sdks/python/dropbox_sign/models/sub_form_field_group.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/sub_form_field_rule.py b/sdks/python/dropbox_sign/models/sub_form_field_rule.py index f61f9984f..f09ac200c 100644 --- a/sdks/python/dropbox_sign/models/sub_form_field_rule.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/sub_form_field_rule_action.py b/sdks/python/dropbox_sign/models/sub_form_field_rule_action.py index 033009908..59be4336a 100644 --- a/sdks/python/dropbox_sign/models/sub_form_field_rule_action.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/sub_form_field_rule_trigger.py b/sdks/python/dropbox_sign/models/sub_form_field_rule_trigger.py index a045125d6..ff6c5beca 100644 --- a/sdks/python/dropbox_sign/models/sub_form_field_rule_trigger.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/sub_form_fields_per_document_base.py b/sdks/python/dropbox_sign/models/sub_form_fields_per_document_base.py index 95c07378e..615f1089e 100644 --- a/sdks/python/dropbox_sign/models/sub_form_fields_per_document_base.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/sub_form_fields_per_document_checkbox.py b/sdks/python/dropbox_sign/models/sub_form_fields_per_document_checkbox.py index 4fe8308bf..90538984b 100644 --- a/sdks/python/dropbox_sign/models/sub_form_fields_per_document_checkbox.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/sub_form_fields_per_document_checkbox_merge.py b/sdks/python/dropbox_sign/models/sub_form_fields_per_document_checkbox_merge.py index 67d7aa4e5..aa947338f 100644 --- a/sdks/python/dropbox_sign/models/sub_form_fields_per_document_checkbox_merge.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/sub_form_fields_per_document_date_signed.py b/sdks/python/dropbox_sign/models/sub_form_fields_per_document_date_signed.py index 5adeffd8e..583a3a8e6 100644 --- a/sdks/python/dropbox_sign/models/sub_form_fields_per_document_date_signed.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/sub_form_fields_per_document_dropdown.py b/sdks/python/dropbox_sign/models/sub_form_fields_per_document_dropdown.py index b5b13e537..c668c354e 100644 --- a/sdks/python/dropbox_sign/models/sub_form_fields_per_document_dropdown.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/sub_form_fields_per_document_font_enum.py b/sdks/python/dropbox_sign/models/sub_form_fields_per_document_font_enum.py index c01ac7c5c..8865fdc9e 100644 --- a/sdks/python/dropbox_sign/models/sub_form_fields_per_document_font_enum.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/sub_form_fields_per_document_hyperlink.py b/sdks/python/dropbox_sign/models/sub_form_fields_per_document_hyperlink.py index 887a0987d..650d76679 100644 --- a/sdks/python/dropbox_sign/models/sub_form_fields_per_document_hyperlink.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/sub_form_fields_per_document_initials.py b/sdks/python/dropbox_sign/models/sub_form_fields_per_document_initials.py index faefc0b12..3383d7151 100644 --- a/sdks/python/dropbox_sign/models/sub_form_fields_per_document_initials.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/sub_form_fields_per_document_radio.py b/sdks/python/dropbox_sign/models/sub_form_fields_per_document_radio.py index 20aca1855..a91bd8688 100644 --- a/sdks/python/dropbox_sign/models/sub_form_fields_per_document_radio.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/sub_form_fields_per_document_signature.py b/sdks/python/dropbox_sign/models/sub_form_fields_per_document_signature.py index 60c40c746..11a056cb0 100644 --- a/sdks/python/dropbox_sign/models/sub_form_fields_per_document_signature.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/sub_form_fields_per_document_text.py b/sdks/python/dropbox_sign/models/sub_form_fields_per_document_text.py index 0e41d4278..c2e2c3ae4 100644 --- a/sdks/python/dropbox_sign/models/sub_form_fields_per_document_text.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/sub_form_fields_per_document_text_merge.py b/sdks/python/dropbox_sign/models/sub_form_fields_per_document_text_merge.py index 152b54856..990c2374a 100644 --- a/sdks/python/dropbox_sign/models/sub_form_fields_per_document_text_merge.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/sub_form_fields_per_document_type_enum.py b/sdks/python/dropbox_sign/models/sub_form_fields_per_document_type_enum.py index 005c16db2..e1d61ca05 100644 --- a/sdks/python/dropbox_sign/models/sub_form_fields_per_document_type_enum.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/sub_merge_field.py b/sdks/python/dropbox_sign/models/sub_merge_field.py index 9ced5d512..e83058e97 100644 --- a/sdks/python/dropbox_sign/models/sub_merge_field.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/sub_o_auth.py b/sdks/python/dropbox_sign/models/sub_o_auth.py index 6d1014143..2c11784aa 100644 --- a/sdks/python/dropbox_sign/models/sub_o_auth.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/sub_options.py b/sdks/python/dropbox_sign/models/sub_options.py index 75a57ffca..e7965f446 100644 --- a/sdks/python/dropbox_sign/models/sub_options.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/sub_signature_request_grouped_signers.py b/sdks/python/dropbox_sign/models/sub_signature_request_grouped_signers.py index 9246b829c..a14f315f0 100644 --- a/sdks/python/dropbox_sign/models/sub_signature_request_grouped_signers.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/sub_signature_request_signer.py b/sdks/python/dropbox_sign/models/sub_signature_request_signer.py index 486d819be..3337098c4 100644 --- a/sdks/python/dropbox_sign/models/sub_signature_request_signer.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/sub_signature_request_template_signer.py b/sdks/python/dropbox_sign/models/sub_signature_request_template_signer.py index 1d41cd463..4d1e239ec 100644 --- a/sdks/python/dropbox_sign/models/sub_signature_request_template_signer.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/sub_signing_options.py b/sdks/python/dropbox_sign/models/sub_signing_options.py index e1416ed82..7d442bacf 100644 --- a/sdks/python/dropbox_sign/models/sub_signing_options.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/sub_team_response.py b/sdks/python/dropbox_sign/models/sub_team_response.py index 7eb8822ff..5a3b7f74f 100644 --- a/sdks/python/dropbox_sign/models/sub_team_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/sub_template_role.py b/sdks/python/dropbox_sign/models/sub_template_role.py index 2024d5c7d..fd407632c 100644 --- a/sdks/python/dropbox_sign/models/sub_template_role.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/sub_unclaimed_draft_signer.py b/sdks/python/dropbox_sign/models/sub_unclaimed_draft_signer.py index aa13619af..318fd8056 100644 --- a/sdks/python/dropbox_sign/models/sub_unclaimed_draft_signer.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/sub_unclaimed_draft_template_signer.py b/sdks/python/dropbox_sign/models/sub_unclaimed_draft_template_signer.py index 98ef0fa2b..a668e9fdc 100644 --- a/sdks/python/dropbox_sign/models/sub_unclaimed_draft_template_signer.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/sub_white_labeling_options.py b/sdks/python/dropbox_sign/models/sub_white_labeling_options.py index 44acf440e..9fe6f145c 100644 --- a/sdks/python/dropbox_sign/models/sub_white_labeling_options.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/team_add_member_request.py b/sdks/python/dropbox_sign/models/team_add_member_request.py index afa2232e6..9fa1fbc88 100644 --- a/sdks/python/dropbox_sign/models/team_add_member_request.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/team_create_request.py b/sdks/python/dropbox_sign/models/team_create_request.py index 3cec269be..94d38e66b 100644 --- a/sdks/python/dropbox_sign/models/team_create_request.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/team_get_info_response.py b/sdks/python/dropbox_sign/models/team_get_info_response.py index 8a26bdb91..e716e4daa 100644 --- a/sdks/python/dropbox_sign/models/team_get_info_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/team_get_response.py b/sdks/python/dropbox_sign/models/team_get_response.py index 6740d48f0..3c137e35a 100644 --- a/sdks/python/dropbox_sign/models/team_get_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/team_info_response.py b/sdks/python/dropbox_sign/models/team_info_response.py index 9002a81c6..b10d7cb82 100644 --- a/sdks/python/dropbox_sign/models/team_info_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/team_invite_response.py b/sdks/python/dropbox_sign/models/team_invite_response.py index 88a4072f8..0f377202b 100644 --- a/sdks/python/dropbox_sign/models/team_invite_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/team_invites_response.py b/sdks/python/dropbox_sign/models/team_invites_response.py index 1a107ec58..e6171e8fe 100644 --- a/sdks/python/dropbox_sign/models/team_invites_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/team_member_response.py b/sdks/python/dropbox_sign/models/team_member_response.py index 0f6006e32..d59fc5d64 100644 --- a/sdks/python/dropbox_sign/models/team_member_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/team_members_response.py b/sdks/python/dropbox_sign/models/team_members_response.py index 0a55ac24d..73ed1c490 100644 --- a/sdks/python/dropbox_sign/models/team_members_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/team_parent_response.py b/sdks/python/dropbox_sign/models/team_parent_response.py index 579f0ede7..2478765be 100644 --- a/sdks/python/dropbox_sign/models/team_parent_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/team_remove_member_request.py b/sdks/python/dropbox_sign/models/team_remove_member_request.py index 52c373255..0df67abe9 100644 --- a/sdks/python/dropbox_sign/models/team_remove_member_request.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/team_response.py b/sdks/python/dropbox_sign/models/team_response.py index 3ea2e3524..9f72e11fe 100644 --- a/sdks/python/dropbox_sign/models/team_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/team_sub_teams_response.py b/sdks/python/dropbox_sign/models/team_sub_teams_response.py index a705e74c3..15e0a30c6 100644 --- a/sdks/python/dropbox_sign/models/team_sub_teams_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/team_update_request.py b/sdks/python/dropbox_sign/models/team_update_request.py index 360391441..9c4b17e55 100644 --- a/sdks/python/dropbox_sign/models/team_update_request.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_add_user_request.py b/sdks/python/dropbox_sign/models/template_add_user_request.py index 06d488773..2e4447115 100644 --- a/sdks/python/dropbox_sign/models/template_add_user_request.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_create_embedded_draft_request.py b/sdks/python/dropbox_sign/models/template_create_embedded_draft_request.py index 2c4e52152..9f2df89c0 100644 --- a/sdks/python/dropbox_sign/models/template_create_embedded_draft_request.py +++ b/sdks/python/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="_t__TemplateCreateEmbeddedDraft::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS", + ) __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/sdks/python/dropbox_sign/models/template_create_embedded_draft_response.py b/sdks/python/dropbox_sign/models/template_create_embedded_draft_response.py index 1bdaf8d4b..fb9a0eb9a 100644 --- a/sdks/python/dropbox_sign/models/template_create_embedded_draft_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_create_embedded_draft_response_template.py b/sdks/python/dropbox_sign/models/template_create_embedded_draft_response_template.py index 01c86dde6..3016dce2e 100644 --- a/sdks/python/dropbox_sign/models/template_create_embedded_draft_response_template.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_create_request.py b/sdks/python/dropbox_sign/models/template_create_request.py index 8505936cd..6a2a88699 100644 --- a/sdks/python/dropbox_sign/models/template_create_request.py +++ b/sdks/python/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="_t__TemplateCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS", + ) __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/sdks/python/dropbox_sign/models/template_create_response.py b/sdks/python/dropbox_sign/models/template_create_response.py index 9654fb9e3..bc5f6c6a2 100644 --- a/sdks/python/dropbox_sign/models/template_create_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_create_response_template.py b/sdks/python/dropbox_sign/models/template_create_response_template.py index 64051f724..25d9bd7bd 100644 --- a/sdks/python/dropbox_sign/models/template_create_response_template.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_get_response.py b/sdks/python/dropbox_sign/models/template_get_response.py index 3f581a17a..10d714c52 100644 --- a/sdks/python/dropbox_sign/models/template_get_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_list_response.py b/sdks/python/dropbox_sign/models/template_list_response.py index c1b1036c9..5ccaba716 100644 --- a/sdks/python/dropbox_sign/models/template_list_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_remove_user_request.py b/sdks/python/dropbox_sign/models/template_remove_user_request.py index 27ac14435..44ddbf42e 100644 --- a/sdks/python/dropbox_sign/models/template_remove_user_request.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_response.py b/sdks/python/dropbox_sign/models/template_response.py index 66d732ef5..667465fff 100644 --- a/sdks/python/dropbox_sign/models/template_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_response_account.py b/sdks/python/dropbox_sign/models/template_response_account.py index 88c9766c5..d29db33d0 100644 --- a/sdks/python/dropbox_sign/models/template_response_account.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_response_account_quota.py b/sdks/python/dropbox_sign/models/template_response_account_quota.py index 89f54c88a..e4fa3668b 100644 --- a/sdks/python/dropbox_sign/models/template_response_account_quota.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_response_cc_role.py b/sdks/python/dropbox_sign/models/template_response_cc_role.py index 1f17d0cc1..89a3b4c88 100644 --- a/sdks/python/dropbox_sign/models/template_response_cc_role.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_response_document.py b/sdks/python/dropbox_sign/models/template_response_document.py index a7177287c..d2f0cafb6 100644 --- a/sdks/python/dropbox_sign/models/template_response_document.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_response_document_custom_field_base.py b/sdks/python/dropbox_sign/models/template_response_document_custom_field_base.py index 278b83aaa..6c6a35b7e 100644 --- a/sdks/python/dropbox_sign/models/template_response_document_custom_field_base.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_response_document_custom_field_checkbox.py b/sdks/python/dropbox_sign/models/template_response_document_custom_field_checkbox.py index 60acd170d..35e391517 100644 --- a/sdks/python/dropbox_sign/models/template_response_document_custom_field_checkbox.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_response_document_custom_field_text.py b/sdks/python/dropbox_sign/models/template_response_document_custom_field_text.py index 8d71ca65a..09a85e20f 100644 --- a/sdks/python/dropbox_sign/models/template_response_document_custom_field_text.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_response_document_field_group.py b/sdks/python/dropbox_sign/models/template_response_document_field_group.py index b9774c263..8f3bc1a16 100644 --- a/sdks/python/dropbox_sign/models/template_response_document_field_group.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_response_document_field_group_rule.py b/sdks/python/dropbox_sign/models/template_response_document_field_group_rule.py index df4e5b827..17d81cbd9 100644 --- a/sdks/python/dropbox_sign/models/template_response_document_field_group_rule.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_response_document_form_field_base.py b/sdks/python/dropbox_sign/models/template_response_document_form_field_base.py index ff2269fa8..6f8777a3b 100644 --- a/sdks/python/dropbox_sign/models/template_response_document_form_field_base.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_response_document_form_field_checkbox.py b/sdks/python/dropbox_sign/models/template_response_document_form_field_checkbox.py index a24921b12..d81d6572a 100644 --- a/sdks/python/dropbox_sign/models/template_response_document_form_field_checkbox.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_response_document_form_field_date_signed.py b/sdks/python/dropbox_sign/models/template_response_document_form_field_date_signed.py index 8b7f3d13f..8ee5fe31b 100644 --- a/sdks/python/dropbox_sign/models/template_response_document_form_field_date_signed.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_response_document_form_field_dropdown.py b/sdks/python/dropbox_sign/models/template_response_document_form_field_dropdown.py index 76b035657..2b30ae4c5 100644 --- a/sdks/python/dropbox_sign/models/template_response_document_form_field_dropdown.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_response_document_form_field_hyperlink.py b/sdks/python/dropbox_sign/models/template_response_document_form_field_hyperlink.py index 9e9798369..0102248d3 100644 --- a/sdks/python/dropbox_sign/models/template_response_document_form_field_hyperlink.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_response_document_form_field_initials.py b/sdks/python/dropbox_sign/models/template_response_document_form_field_initials.py index 1f4eb7392..64321add8 100644 --- a/sdks/python/dropbox_sign/models/template_response_document_form_field_initials.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_response_document_form_field_radio.py b/sdks/python/dropbox_sign/models/template_response_document_form_field_radio.py index f0855859c..0f0c3443a 100644 --- a/sdks/python/dropbox_sign/models/template_response_document_form_field_radio.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_response_document_form_field_signature.py b/sdks/python/dropbox_sign/models/template_response_document_form_field_signature.py index 844558f21..c509f92ce 100644 --- a/sdks/python/dropbox_sign/models/template_response_document_form_field_signature.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_response_document_form_field_text.py b/sdks/python/dropbox_sign/models/template_response_document_form_field_text.py index 3fcd28712..6280970f4 100644 --- a/sdks/python/dropbox_sign/models/template_response_document_form_field_text.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_response_document_static_field_base.py b/sdks/python/dropbox_sign/models/template_response_document_static_field_base.py index 927c2c026..d9735c703 100644 --- a/sdks/python/dropbox_sign/models/template_response_document_static_field_base.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_response_document_static_field_checkbox.py b/sdks/python/dropbox_sign/models/template_response_document_static_field_checkbox.py index d8d1f135f..0afba0d9f 100644 --- a/sdks/python/dropbox_sign/models/template_response_document_static_field_checkbox.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_response_document_static_field_date_signed.py b/sdks/python/dropbox_sign/models/template_response_document_static_field_date_signed.py index bfc9f2e33..0b232a6c9 100644 --- a/sdks/python/dropbox_sign/models/template_response_document_static_field_date_signed.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_response_document_static_field_dropdown.py b/sdks/python/dropbox_sign/models/template_response_document_static_field_dropdown.py index fb7cde0fb..7ac71ec4e 100644 --- a/sdks/python/dropbox_sign/models/template_response_document_static_field_dropdown.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_response_document_static_field_hyperlink.py b/sdks/python/dropbox_sign/models/template_response_document_static_field_hyperlink.py index dd322e0e6..bdd27c9d2 100644 --- a/sdks/python/dropbox_sign/models/template_response_document_static_field_hyperlink.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_response_document_static_field_initials.py b/sdks/python/dropbox_sign/models/template_response_document_static_field_initials.py index 22da86102..bd755ee8e 100644 --- a/sdks/python/dropbox_sign/models/template_response_document_static_field_initials.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_response_document_static_field_radio.py b/sdks/python/dropbox_sign/models/template_response_document_static_field_radio.py index cb58af258..a78d5b803 100644 --- a/sdks/python/dropbox_sign/models/template_response_document_static_field_radio.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_response_document_static_field_signature.py b/sdks/python/dropbox_sign/models/template_response_document_static_field_signature.py index 664b3d7d2..c0ff8eee6 100644 --- a/sdks/python/dropbox_sign/models/template_response_document_static_field_signature.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_response_document_static_field_text.py b/sdks/python/dropbox_sign/models/template_response_document_static_field_text.py index a70afa340..03a3a4831 100644 --- a/sdks/python/dropbox_sign/models/template_response_document_static_field_text.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_response_field_avg_text_length.py b/sdks/python/dropbox_sign/models/template_response_field_avg_text_length.py index 34dc71172..1936e75ee 100644 --- a/sdks/python/dropbox_sign/models/template_response_field_avg_text_length.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_response_signer_role.py b/sdks/python/dropbox_sign/models/template_response_signer_role.py index 571469e90..2cada158d 100644 --- a/sdks/python/dropbox_sign/models/template_response_signer_role.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_update_files_request.py b/sdks/python/dropbox_sign/models/template_update_files_request.py index 424a254b0..18612ddbf 100644 --- a/sdks/python/dropbox_sign/models/template_update_files_request.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_update_files_response.py b/sdks/python/dropbox_sign/models/template_update_files_response.py index 94b562027..67b1d3b68 100644 --- a/sdks/python/dropbox_sign/models/template_update_files_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/template_update_files_response_template.py b/sdks/python/dropbox_sign/models/template_update_files_response_template.py index 0825101cb..2a8cd11ad 100644 --- a/sdks/python/dropbox_sign/models/template_update_files_response_template.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/unclaimed_draft_create_embedded_request.py b/sdks/python/dropbox_sign/models/unclaimed_draft_create_embedded_request.py index 2ca5e9c5b..0e29ac978 100644 --- a/sdks/python/dropbox_sign/models/unclaimed_draft_create_embedded_request.py +++ b/sdks/python/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="_t__UnclaimedDraftCreateEmbedded::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS", + ) 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/sdks/python/dropbox_sign/models/unclaimed_draft_create_embedded_with_template_request.py b/sdks/python/dropbox_sign/models/unclaimed_draft_create_embedded_with_template_request.py index 7ce070ff1..3ab702393 100644 --- a/sdks/python/dropbox_sign/models/unclaimed_draft_create_embedded_with_template_request.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/unclaimed_draft_create_request.py b/sdks/python/dropbox_sign/models/unclaimed_draft_create_request.py index 88ae6835e..2ceeb3c21 100644 --- a/sdks/python/dropbox_sign/models/unclaimed_draft_create_request.py +++ b/sdks/python/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="_t__UnclaimedDraftCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS", + ) 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/sdks/python/dropbox_sign/models/unclaimed_draft_create_response.py b/sdks/python/dropbox_sign/models/unclaimed_draft_create_response.py index dab0513a1..085e5b907 100644 --- a/sdks/python/dropbox_sign/models/unclaimed_draft_create_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/unclaimed_draft_edit_and_resend_request.py b/sdks/python/dropbox_sign/models/unclaimed_draft_edit_and_resend_request.py index 29e4afe3a..38903beef 100644 --- a/sdks/python/dropbox_sign/models/unclaimed_draft_edit_and_resend_request.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/unclaimed_draft_response.py b/sdks/python/dropbox_sign/models/unclaimed_draft_response.py index 5f8849d69..51fdcfa9b 100644 --- a/sdks/python/dropbox_sign/models/unclaimed_draft_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/models/warning_response.py b/sdks/python/dropbox_sign/models/warning_response.py index 5e0b464ce..d2a26d5c3 100644 --- a/sdks/python/dropbox_sign/models/warning_response.py +++ b/sdks/python/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/sdks/python/dropbox_sign/rest.py b/sdks/python/dropbox_sign/rest.py index dcabe9c34..4aaa80dbe 100644 --- a/sdks/python/dropbox_sign/rest.py +++ b/sdks/python/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/sdks/ruby/docs/SignatureRequestCreateEmbeddedRequest.md b/sdks/ruby/docs/SignatureRequestCreateEmbeddedRequest.md index 72ba0eed1..c28a2b4b8 100644 --- a/sdks/ruby/docs/SignatureRequestCreateEmbeddedRequest.md +++ b/sdks/ruby/docs/SignatureRequestCreateEmbeddedRequest.md @@ -28,6 +28,7 @@ | `test_mode` | ```Boolean``` | Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. | [default to false] | | `title` | ```String``` | The title you want to assign to the SignatureRequest. | | | `use_text_tags` | ```Boolean``` | 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` | ```Boolean``` | 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` | ```Boolean``` | 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` | ```Integer``` | 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/sdks/ruby/docs/SignatureRequestEditEmbeddedRequest.md b/sdks/ruby/docs/SignatureRequestEditEmbeddedRequest.md index 383cd8e89..6a56a2eb0 100644 --- a/sdks/ruby/docs/SignatureRequestEditEmbeddedRequest.md +++ b/sdks/ruby/docs/SignatureRequestEditEmbeddedRequest.md @@ -28,6 +28,7 @@ | `test_mode` | ```Boolean``` | Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. | [default to false] | | `title` | ```String``` | The title you want to assign to the SignatureRequest. | | | `use_text_tags` | ```Boolean``` | 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` | ```Boolean``` | 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` | ```Boolean``` | 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` | ```Integer``` | 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/sdks/ruby/docs/SignatureRequestEditRequest.md b/sdks/ruby/docs/SignatureRequestEditRequest.md index ce5325052..df5963f2f 100644 --- a/sdks/ruby/docs/SignatureRequestEditRequest.md +++ b/sdks/ruby/docs/SignatureRequestEditRequest.md @@ -30,5 +30,6 @@ | `test_mode` | ```Boolean``` | Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. | [default to false] | | `title` | ```String``` | The title you want to assign to the SignatureRequest. | | | `use_text_tags` | ```Boolean``` | 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` | ```Boolean``` | _t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | [default to false] | | `expires_at` | ```Integer``` | 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/sdks/ruby/docs/SignatureRequestSendRequest.md b/sdks/ruby/docs/SignatureRequestSendRequest.md index ca6f16746..ef864d0b3 100644 --- a/sdks/ruby/docs/SignatureRequestSendRequest.md +++ b/sdks/ruby/docs/SignatureRequestSendRequest.md @@ -31,5 +31,6 @@ | `test_mode` | ```Boolean``` | Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. | [default to false] | | `title` | ```String``` | The title you want to assign to the SignatureRequest. | | | `use_text_tags` | ```Boolean``` | 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` | ```Boolean``` | _t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | [default to false] | | `expires_at` | ```Integer``` | 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/sdks/ruby/docs/TemplateCreateEmbeddedDraftRequest.md b/sdks/ruby/docs/TemplateCreateEmbeddedDraftRequest.md index d23e4cea8..d304e2b5a 100644 --- a/sdks/ruby/docs/TemplateCreateEmbeddedDraftRequest.md +++ b/sdks/ruby/docs/TemplateCreateEmbeddedDraftRequest.md @@ -31,4 +31,5 @@ | `test_mode` | ```Boolean``` | Whether this is a test, the signature request created from this draft will not be legally binding if set to `true`. Defaults to `false`. | [default to false] | | `title` | ```String``` | The title you want to assign to the SignatureRequest. | | | `use_preexisting_fields` | ```Boolean``` | 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` | ```Boolean``` | _t__TemplateCreateEmbeddedDraft::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | [default to false] | diff --git a/sdks/ruby/docs/TemplateCreateRequest.md b/sdks/ruby/docs/TemplateCreateRequest.md index 35e9df09e..d431b2a11 100644 --- a/sdks/ruby/docs/TemplateCreateRequest.md +++ b/sdks/ruby/docs/TemplateCreateRequest.md @@ -24,4 +24,5 @@ | `test_mode` | ```Boolean``` | Whether this is a test, the signature request created from this draft will not be legally binding if set to `true`. Defaults to `false`. | [default to false] | | `title` | ```String``` | The title you want to assign to the SignatureRequest. | | | `use_preexisting_fields` | ```Boolean``` | 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` | ```Boolean``` | _t__TemplateCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | [default to false] | diff --git a/sdks/ruby/docs/UnclaimedDraftCreateEmbeddedRequest.md b/sdks/ruby/docs/UnclaimedDraftCreateEmbeddedRequest.md index 47acc3977..ab4d7c05c 100644 --- a/sdks/ruby/docs/UnclaimedDraftCreateEmbeddedRequest.md +++ b/sdks/ruby/docs/UnclaimedDraftCreateEmbeddedRequest.md @@ -40,6 +40,7 @@ | `type` | ```String``` | The type of the draft. By default this is `request_signature`, but you can set it to `send_document` if you want to self sign a document and download it. | [default to 'request_signature'] | | `use_preexisting_fields` | ```Boolean``` | 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` | ```Boolean``` | 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` | ```Boolean``` | _t__UnclaimedDraftCreateEmbedded::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | [default to false] | | `populate_auto_fill_fields` | ```Boolean``` | 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` | ```Integer``` | 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/sdks/ruby/docs/UnclaimedDraftCreateRequest.md b/sdks/ruby/docs/UnclaimedDraftCreateRequest.md index 3eeacd59f..92663e3a2 100644 --- a/sdks/ruby/docs/UnclaimedDraftCreateRequest.md +++ b/sdks/ruby/docs/UnclaimedDraftCreateRequest.md @@ -29,5 +29,6 @@ | `test_mode` | ```Boolean``` | 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` | ```Boolean``` | 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` | ```Boolean``` | 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` | ```Boolean``` | _t__UnclaimedDraftCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS | [default to false] | | `expires_at` | ```Integer``` | 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/sdks/ruby/lib/dropbox-sign/models/error_response_error.rb b/sdks/ruby/lib/dropbox-sign/models/error_response_error.rb index b1b85ff45..61781f3d7 100644 --- a/sdks/ruby/lib/dropbox-sign/models/error_response_error.rb +++ b/sdks/ruby/lib/dropbox-sign/models/error_response_error.rb @@ -31,6 +31,28 @@ class ErrorResponseError # @return [String] attr_accessor :error_path + class EnumAttributeValidator + attr_reader :datatype + attr_reader :allowable_values + + def initialize(datatype, allowable_values) + @allowable_values = allowable_values.map do |value| + case datatype.to_s + when /Integer/i + value.to_i + when /Float/i + value.to_f + else + value + end + end + end + + def valid?(value) + !value || allowable_values.include?(value) + end + end + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { @@ -139,6 +161,8 @@ def list_invalid_properties def valid? return false if @error_msg.nil? return false if @error_name.nil? + error_name_validator = EnumAttributeValidator.new('String', ["bad_request", "unauthorized", "payment_required", "forbidden", "not_found", "conflict", "exceeded_rate", "unknown", "team_invite_failed", "max_faxes", "invalid_recipient", "signature_request_cancel_failed", "signature_request_remove_failed", "maintenance", "method_not_supported", "invalid_reminder", "unavailable", "unprocessable_entity", "signature_request_expired", "deleted"]) + return false unless error_name_validator.valid?(@error_name) true end @@ -152,13 +176,13 @@ def error_msg=(error_msg) @error_msg = error_msg end - # Custom attribute writer method with validation - # @param [Object] error_name Value to be assigned + # Custom attribute writer method checking allowed values (enum). + # @param [Object] error_name Object to be assigned def error_name=(error_name) - if error_name.nil? - fail ArgumentError, 'error_name cannot be nil' + validator = EnumAttributeValidator.new('String', ["bad_request", "unauthorized", "payment_required", "forbidden", "not_found", "conflict", "exceeded_rate", "unknown", "team_invite_failed", "max_faxes", "invalid_recipient", "signature_request_cancel_failed", "signature_request_remove_failed", "maintenance", "method_not_supported", "invalid_reminder", "unavailable", "unprocessable_entity", "signature_request_expired", "deleted"]) + unless validator.valid?(error_name) + fail ArgumentError, "invalid value for \"error_name\", must be one of #{validator.allowable_values}." end - @error_name = error_name end diff --git a/sdks/ruby/lib/dropbox-sign/models/signature_request_create_embedded_request.rb b/sdks/ruby/lib/dropbox-sign/models/signature_request_create_embedded_request.rb index 9ea538769..d6f857ba4 100644 --- a/sdks/ruby/lib/dropbox-sign/models/signature_request_create_embedded_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/signature_request_create_embedded_request.rb @@ -104,6 +104,10 @@ class SignatureRequestCreateEmbeddedRequest # @return [Boolean] attr_accessor :use_text_tags + # Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. + # @return [Boolean] + attr_accessor :ignore_text_tags_extraction_errors + # 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. # @return [Boolean] attr_accessor :populate_auto_fill_fields @@ -137,6 +141,7 @@ def self.attribute_map :'test_mode' => :'test_mode', :'title' => :'title', :'use_text_tags' => :'use_text_tags', + :'ignore_text_tags_extraction_errors' => :'ignore_text_tags_extraction_errors', :'populate_auto_fill_fields' => :'populate_auto_fill_fields', :'expires_at' => :'expires_at' } @@ -177,6 +182,7 @@ def self.openapi_types :'test_mode' => :'Boolean', :'title' => :'String', :'use_text_tags' => :'Boolean', + :'ignore_text_tags_extraction_errors' => :'Boolean', :'populate_auto_fill_fields' => :'Boolean', :'expires_at' => :'Integer' } @@ -350,6 +356,12 @@ def initialize(attributes = {}) self.use_text_tags = false end + if attributes.key?(:'ignore_text_tags_extraction_errors') + self.ignore_text_tags_extraction_errors = attributes[:'ignore_text_tags_extraction_errors'] + else + self.ignore_text_tags_extraction_errors = false + end + if attributes.key?(:'populate_auto_fill_fields') self.populate_auto_fill_fields = attributes[:'populate_auto_fill_fields'] else @@ -467,6 +479,7 @@ def ==(o) test_mode == o.test_mode && title == o.title && use_text_tags == o.use_text_tags && + ignore_text_tags_extraction_errors == o.ignore_text_tags_extraction_errors && populate_auto_fill_fields == o.populate_auto_fill_fields && expires_at == o.expires_at end @@ -480,7 +493,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_id, files, file_urls, signers, grouped_signers, allow_decline, allow_reassign, attachments, cc_email_addresses, custom_fields, field_options, form_field_groups, form_field_rules, form_fields_per_document, hide_text_tags, message, metadata, signing_options, subject, test_mode, title, use_text_tags, populate_auto_fill_fields, expires_at].hash + [client_id, files, file_urls, signers, grouped_signers, allow_decline, allow_reassign, attachments, cc_email_addresses, custom_fields, field_options, form_field_groups, form_field_rules, form_fields_per_document, hide_text_tags, message, metadata, signing_options, subject, test_mode, title, use_text_tags, ignore_text_tags_extraction_errors, populate_auto_fill_fields, expires_at].hash end # Builds the object from hash diff --git a/sdks/ruby/lib/dropbox-sign/models/signature_request_edit_embedded_request.rb b/sdks/ruby/lib/dropbox-sign/models/signature_request_edit_embedded_request.rb index eb9ece9ee..7fc162d16 100644 --- a/sdks/ruby/lib/dropbox-sign/models/signature_request_edit_embedded_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/signature_request_edit_embedded_request.rb @@ -104,6 +104,10 @@ class SignatureRequestEditEmbeddedRequest # @return [Boolean] attr_accessor :use_text_tags + # Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. + # @return [Boolean] + attr_accessor :ignore_text_tags_extraction_errors + # 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. # @return [Boolean] attr_accessor :populate_auto_fill_fields @@ -137,6 +141,7 @@ def self.attribute_map :'test_mode' => :'test_mode', :'title' => :'title', :'use_text_tags' => :'use_text_tags', + :'ignore_text_tags_extraction_errors' => :'ignore_text_tags_extraction_errors', :'populate_auto_fill_fields' => :'populate_auto_fill_fields', :'expires_at' => :'expires_at' } @@ -177,6 +182,7 @@ def self.openapi_types :'test_mode' => :'Boolean', :'title' => :'String', :'use_text_tags' => :'Boolean', + :'ignore_text_tags_extraction_errors' => :'Boolean', :'populate_auto_fill_fields' => :'Boolean', :'expires_at' => :'Integer' } @@ -350,6 +356,12 @@ def initialize(attributes = {}) self.use_text_tags = false end + if attributes.key?(:'ignore_text_tags_extraction_errors') + self.ignore_text_tags_extraction_errors = attributes[:'ignore_text_tags_extraction_errors'] + else + self.ignore_text_tags_extraction_errors = false + end + if attributes.key?(:'populate_auto_fill_fields') self.populate_auto_fill_fields = attributes[:'populate_auto_fill_fields'] else @@ -467,6 +479,7 @@ def ==(o) test_mode == o.test_mode && title == o.title && use_text_tags == o.use_text_tags && + ignore_text_tags_extraction_errors == o.ignore_text_tags_extraction_errors && populate_auto_fill_fields == o.populate_auto_fill_fields && expires_at == o.expires_at end @@ -480,7 +493,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_id, files, file_urls, signers, grouped_signers, allow_decline, allow_reassign, attachments, cc_email_addresses, custom_fields, field_options, form_field_groups, form_field_rules, form_fields_per_document, hide_text_tags, message, metadata, signing_options, subject, test_mode, title, use_text_tags, populate_auto_fill_fields, expires_at].hash + [client_id, files, file_urls, signers, grouped_signers, allow_decline, allow_reassign, attachments, cc_email_addresses, custom_fields, field_options, form_field_groups, form_field_rules, form_fields_per_document, hide_text_tags, message, metadata, signing_options, subject, test_mode, title, use_text_tags, ignore_text_tags_extraction_errors, populate_auto_fill_fields, expires_at].hash end # Builds the object from hash diff --git a/sdks/ruby/lib/dropbox-sign/models/signature_request_edit_request.rb b/sdks/ruby/lib/dropbox-sign/models/signature_request_edit_request.rb index 68e7c2f6c..09fc1201f 100644 --- a/sdks/ruby/lib/dropbox-sign/models/signature_request_edit_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/signature_request_edit_request.rb @@ -112,6 +112,10 @@ class SignatureRequestEditRequest # @return [Boolean] attr_accessor :use_text_tags + # _t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + # @return [Boolean] + attr_accessor :ignore_text_tags_extraction_errors + # 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. # @return [Integer, nil] attr_accessor :expires_at @@ -143,6 +147,7 @@ def self.attribute_map :'test_mode' => :'test_mode', :'title' => :'title', :'use_text_tags' => :'use_text_tags', + :'ignore_text_tags_extraction_errors' => :'ignore_text_tags_extraction_errors', :'expires_at' => :'expires_at' } end @@ -184,6 +189,7 @@ def self.openapi_types :'test_mode' => :'Boolean', :'title' => :'String', :'use_text_tags' => :'Boolean', + :'ignore_text_tags_extraction_errors' => :'Boolean', :'expires_at' => :'Integer' } end @@ -366,6 +372,12 @@ def initialize(attributes = {}) self.use_text_tags = false end + if attributes.key?(:'ignore_text_tags_extraction_errors') + self.ignore_text_tags_extraction_errors = attributes[:'ignore_text_tags_extraction_errors'] + else + self.ignore_text_tags_extraction_errors = false + end + if attributes.key?(:'expires_at') self.expires_at = attributes[:'expires_at'] end @@ -464,6 +476,7 @@ def ==(o) test_mode == o.test_mode && title == o.title && use_text_tags == o.use_text_tags && + ignore_text_tags_extraction_errors == o.ignore_text_tags_extraction_errors && expires_at == o.expires_at end @@ -476,7 +489,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [files, file_urls, signers, grouped_signers, allow_decline, allow_reassign, attachments, cc_email_addresses, client_id, custom_fields, field_options, form_field_groups, form_field_rules, form_fields_per_document, hide_text_tags, is_eid, message, metadata, signing_options, signing_redirect_url, subject, test_mode, title, use_text_tags, expires_at].hash + [files, file_urls, signers, grouped_signers, allow_decline, allow_reassign, attachments, cc_email_addresses, client_id, custom_fields, field_options, form_field_groups, form_field_rules, form_fields_per_document, hide_text_tags, is_eid, message, metadata, signing_options, signing_redirect_url, subject, test_mode, title, use_text_tags, ignore_text_tags_extraction_errors, expires_at].hash end # Builds the object from hash diff --git a/sdks/ruby/lib/dropbox-sign/models/signature_request_send_request.rb b/sdks/ruby/lib/dropbox-sign/models/signature_request_send_request.rb index 8dec7e411..460b571ca 100644 --- a/sdks/ruby/lib/dropbox-sign/models/signature_request_send_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/signature_request_send_request.rb @@ -116,6 +116,10 @@ class SignatureRequestSendRequest # @return [Boolean] attr_accessor :use_text_tags + # _t__SignatureRequestSend::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + # @return [Boolean] + attr_accessor :ignore_text_tags_extraction_errors + # 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. # @return [Integer, nil] attr_accessor :expires_at @@ -148,6 +152,7 @@ def self.attribute_map :'test_mode' => :'test_mode', :'title' => :'title', :'use_text_tags' => :'use_text_tags', + :'ignore_text_tags_extraction_errors' => :'ignore_text_tags_extraction_errors', :'expires_at' => :'expires_at' } end @@ -190,6 +195,7 @@ def self.openapi_types :'test_mode' => :'Boolean', :'title' => :'String', :'use_text_tags' => :'Boolean', + :'ignore_text_tags_extraction_errors' => :'Boolean', :'expires_at' => :'Integer' } end @@ -378,6 +384,12 @@ def initialize(attributes = {}) self.use_text_tags = false end + if attributes.key?(:'ignore_text_tags_extraction_errors') + self.ignore_text_tags_extraction_errors = attributes[:'ignore_text_tags_extraction_errors'] + else + self.ignore_text_tags_extraction_errors = false + end + if attributes.key?(:'expires_at') self.expires_at = attributes[:'expires_at'] end @@ -477,6 +489,7 @@ def ==(o) test_mode == o.test_mode && title == o.title && use_text_tags == o.use_text_tags && + ignore_text_tags_extraction_errors == o.ignore_text_tags_extraction_errors && expires_at == o.expires_at end @@ -489,7 +502,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [files, file_urls, signers, grouped_signers, allow_decline, allow_reassign, attachments, cc_email_addresses, client_id, custom_fields, field_options, form_field_groups, form_field_rules, form_fields_per_document, hide_text_tags, is_qualified_signature, is_eid, message, metadata, signing_options, signing_redirect_url, subject, test_mode, title, use_text_tags, expires_at].hash + [files, file_urls, signers, grouped_signers, allow_decline, allow_reassign, attachments, cc_email_addresses, client_id, custom_fields, field_options, form_field_groups, form_field_rules, form_fields_per_document, hide_text_tags, is_qualified_signature, is_eid, message, metadata, signing_options, signing_redirect_url, subject, test_mode, title, use_text_tags, ignore_text_tags_extraction_errors, expires_at].hash end # Builds the object from hash diff --git a/sdks/ruby/lib/dropbox-sign/models/template_create_embedded_draft_request.rb b/sdks/ruby/lib/dropbox-sign/models/template_create_embedded_draft_request.rb index 4b006bdac..7cba6756d 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_create_embedded_draft_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_create_embedded_draft_request.rb @@ -116,6 +116,10 @@ class TemplateCreateEmbeddedDraftRequest # @return [Boolean] attr_accessor :use_preexisting_fields + # _t__TemplateCreateEmbeddedDraft::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + # @return [Boolean] + attr_accessor :ignore_text_tags_extraction_errors + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { @@ -143,7 +147,8 @@ def self.attribute_map :'subject' => :'subject', :'test_mode' => :'test_mode', :'title' => :'title', - :'use_preexisting_fields' => :'use_preexisting_fields' + :'use_preexisting_fields' => :'use_preexisting_fields', + :'ignore_text_tags_extraction_errors' => :'ignore_text_tags_extraction_errors' } end @@ -184,7 +189,8 @@ def self.openapi_types :'subject' => :'String', :'test_mode' => :'Boolean', :'title' => :'String', - :'use_preexisting_fields' => :'Boolean' + :'use_preexisting_fields' => :'Boolean', + :'ignore_text_tags_extraction_errors' => :'Boolean' } end @@ -372,6 +378,12 @@ def initialize(attributes = {}) else self.use_preexisting_fields = false end + + if attributes.key?(:'ignore_text_tags_extraction_errors') + self.ignore_text_tags_extraction_errors = attributes[:'ignore_text_tags_extraction_errors'] + else + self.ignore_text_tags_extraction_errors = false + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -467,7 +479,8 @@ def ==(o) subject == o.subject && test_mode == o.test_mode && title == o.title && - use_preexisting_fields == o.use_preexisting_fields + use_preexisting_fields == o.use_preexisting_fields && + ignore_text_tags_extraction_errors == o.ignore_text_tags_extraction_errors end # @see the `==` method @@ -479,7 +492,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_id, files, file_urls, allow_ccs, allow_reassign, attachments, cc_roles, editor_options, field_options, force_signer_roles, force_subject_message, form_field_groups, form_field_rules, form_fields_per_document, merge_fields, message, metadata, show_preview, show_progress_stepper, signer_roles, skip_me_now, subject, test_mode, title, use_preexisting_fields].hash + [client_id, files, file_urls, allow_ccs, allow_reassign, attachments, cc_roles, editor_options, field_options, force_signer_roles, force_subject_message, form_field_groups, form_field_rules, form_fields_per_document, merge_fields, message, metadata, show_preview, show_progress_stepper, signer_roles, skip_me_now, subject, test_mode, title, use_preexisting_fields, ignore_text_tags_extraction_errors].hash end # Builds the object from hash diff --git a/sdks/ruby/lib/dropbox-sign/models/template_create_request.rb b/sdks/ruby/lib/dropbox-sign/models/template_create_request.rb index 2376b7867..0bc576987 100644 --- a/sdks/ruby/lib/dropbox-sign/models/template_create_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/template_create_request.rb @@ -89,6 +89,10 @@ class TemplateCreateRequest # @return [Boolean] attr_accessor :use_preexisting_fields + # _t__TemplateCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + # @return [Boolean] + attr_accessor :ignore_text_tags_extraction_errors + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { @@ -109,7 +113,8 @@ def self.attribute_map :'subject' => :'subject', :'test_mode' => :'test_mode', :'title' => :'title', - :'use_preexisting_fields' => :'use_preexisting_fields' + :'use_preexisting_fields' => :'use_preexisting_fields', + :'ignore_text_tags_extraction_errors' => :'ignore_text_tags_extraction_errors' } end @@ -143,7 +148,8 @@ def self.openapi_types :'subject' => :'String', :'test_mode' => :'Boolean', :'title' => :'String', - :'use_preexisting_fields' => :'Boolean' + :'use_preexisting_fields' => :'Boolean', + :'ignore_text_tags_extraction_errors' => :'Boolean' } end @@ -291,6 +297,12 @@ def initialize(attributes = {}) else self.use_preexisting_fields = false end + + if attributes.key?(:'ignore_text_tags_extraction_errors') + self.ignore_text_tags_extraction_errors = attributes[:'ignore_text_tags_extraction_errors'] + else + self.ignore_text_tags_extraction_errors = false + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -394,7 +406,8 @@ def ==(o) subject == o.subject && test_mode == o.test_mode && title == o.title && - use_preexisting_fields == o.use_preexisting_fields + use_preexisting_fields == o.use_preexisting_fields && + ignore_text_tags_extraction_errors == o.ignore_text_tags_extraction_errors end # @see the `==` method @@ -406,7 +419,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [form_fields_per_document, signer_roles, files, file_urls, allow_reassign, attachments, cc_roles, client_id, field_options, form_field_groups, form_field_rules, merge_fields, message, metadata, subject, test_mode, title, use_preexisting_fields].hash + [form_fields_per_document, signer_roles, files, file_urls, allow_reassign, attachments, cc_roles, client_id, field_options, form_field_groups, form_field_rules, merge_fields, message, metadata, subject, test_mode, title, use_preexisting_fields, ignore_text_tags_extraction_errors].hash end # Builds the object from hash diff --git a/sdks/ruby/lib/dropbox-sign/models/unclaimed_draft_create_embedded_request.rb b/sdks/ruby/lib/dropbox-sign/models/unclaimed_draft_create_embedded_request.rb index 210aae825..baabd3b95 100644 --- a/sdks/ruby/lib/dropbox-sign/models/unclaimed_draft_create_embedded_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/unclaimed_draft_create_embedded_request.rb @@ -152,6 +152,10 @@ class UnclaimedDraftCreateEmbeddedRequest # @return [Boolean] attr_accessor :use_text_tags + # _t__UnclaimedDraftCreateEmbedded::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + # @return [Boolean] + attr_accessor :ignore_text_tags_extraction_errors + # 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. # @return [Boolean] attr_accessor :populate_auto_fill_fields @@ -219,6 +223,7 @@ def self.attribute_map :'type' => :'type', :'use_preexisting_fields' => :'use_preexisting_fields', :'use_text_tags' => :'use_text_tags', + :'ignore_text_tags_extraction_errors' => :'ignore_text_tags_extraction_errors', :'populate_auto_fill_fields' => :'populate_auto_fill_fields', :'expires_at' => :'expires_at' } @@ -271,6 +276,7 @@ def self.openapi_types :'type' => :'String', :'use_preexisting_fields' => :'Boolean', :'use_text_tags' => :'Boolean', + :'ignore_text_tags_extraction_errors' => :'Boolean', :'populate_auto_fill_fields' => :'Boolean', :'expires_at' => :'Integer' } @@ -508,6 +514,12 @@ def initialize(attributes = {}) self.use_text_tags = false end + if attributes.key?(:'ignore_text_tags_extraction_errors') + self.ignore_text_tags_extraction_errors = attributes[:'ignore_text_tags_extraction_errors'] + else + self.ignore_text_tags_extraction_errors = false + end + if attributes.key?(:'populate_auto_fill_fields') self.populate_auto_fill_fields = attributes[:'populate_auto_fill_fields'] else @@ -649,6 +661,7 @@ def ==(o) type == o.type && use_preexisting_fields == o.use_preexisting_fields && use_text_tags == o.use_text_tags && + ignore_text_tags_extraction_errors == o.ignore_text_tags_extraction_errors && populate_auto_fill_fields == o.populate_auto_fill_fields && expires_at == o.expires_at end @@ -662,7 +675,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_id, requester_email_address, files, file_urls, allow_ccs, allow_decline, allow_reassign, attachments, cc_email_addresses, custom_fields, editor_options, field_options, force_signer_page, force_subject_message, form_field_groups, form_field_rules, form_fields_per_document, hide_text_tags, hold_request, is_for_embedded_signing, message, metadata, requesting_redirect_url, show_preview, show_progress_stepper, signers, signing_options, signing_redirect_url, skip_me_now, subject, test_mode, type, use_preexisting_fields, use_text_tags, populate_auto_fill_fields, expires_at].hash + [client_id, requester_email_address, files, file_urls, allow_ccs, allow_decline, allow_reassign, attachments, cc_email_addresses, custom_fields, editor_options, field_options, force_signer_page, force_subject_message, form_field_groups, form_field_rules, form_fields_per_document, hide_text_tags, hold_request, is_for_embedded_signing, message, metadata, requesting_redirect_url, show_preview, show_progress_stepper, signers, signing_options, signing_redirect_url, skip_me_now, subject, test_mode, type, use_preexisting_fields, use_text_tags, ignore_text_tags_extraction_errors, populate_auto_fill_fields, expires_at].hash end # Builds the object from hash diff --git a/sdks/ruby/lib/dropbox-sign/models/unclaimed_draft_create_request.rb b/sdks/ruby/lib/dropbox-sign/models/unclaimed_draft_create_request.rb index 3aa84129f..3746bd5ae 100644 --- a/sdks/ruby/lib/dropbox-sign/models/unclaimed_draft_create_request.rb +++ b/sdks/ruby/lib/dropbox-sign/models/unclaimed_draft_create_request.rb @@ -109,6 +109,10 @@ class UnclaimedDraftCreateRequest # @return [Boolean] attr_accessor :use_text_tags + # _t__UnclaimedDraftCreate::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS + # @return [Boolean] + attr_accessor :ignore_text_tags_extraction_errors + # 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. # @return [Integer, nil] attr_accessor :expires_at @@ -161,6 +165,7 @@ def self.attribute_map :'test_mode' => :'test_mode', :'use_preexisting_fields' => :'use_preexisting_fields', :'use_text_tags' => :'use_text_tags', + :'ignore_text_tags_extraction_errors' => :'ignore_text_tags_extraction_errors', :'expires_at' => :'expires_at' } end @@ -201,6 +206,7 @@ def self.openapi_types :'test_mode' => :'Boolean', :'use_preexisting_fields' => :'Boolean', :'use_text_tags' => :'Boolean', + :'ignore_text_tags_extraction_errors' => :'Boolean', :'expires_at' => :'Integer' } end @@ -377,6 +383,12 @@ def initialize(attributes = {}) self.use_text_tags = false end + if attributes.key?(:'ignore_text_tags_extraction_errors') + self.ignore_text_tags_extraction_errors = attributes[:'ignore_text_tags_extraction_errors'] + else + self.ignore_text_tags_extraction_errors = false + end + if attributes.key?(:'expires_at') self.expires_at = attributes[:'expires_at'] end @@ -476,6 +488,7 @@ def ==(o) test_mode == o.test_mode && use_preexisting_fields == o.use_preexisting_fields && use_text_tags == o.use_text_tags && + ignore_text_tags_extraction_errors == o.ignore_text_tags_extraction_errors && expires_at == o.expires_at end @@ -488,7 +501,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [type, files, file_urls, allow_decline, attachments, cc_email_addresses, client_id, custom_fields, field_options, form_field_groups, form_field_rules, form_fields_per_document, hide_text_tags, message, metadata, show_progress_stepper, signers, signing_options, signing_redirect_url, subject, test_mode, use_preexisting_fields, use_text_tags, expires_at].hash + [type, files, file_urls, allow_decline, attachments, cc_email_addresses, client_id, custom_fields, field_options, form_field_groups, form_field_rules, form_fields_per_document, hide_text_tags, message, metadata, show_progress_stepper, signers, signing_options, signing_redirect_url, subject, test_mode, use_preexisting_fields, use_text_tags, ignore_text_tags_extraction_errors, expires_at].hash end # Builds the object from hash diff --git a/test_fixtures/SignatureRequestCreateEmbeddedRequest.json b/test_fixtures/SignatureRequestCreateEmbeddedRequest.json index 097446a77..3b62c461c 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 1f56eb7cc..d5e59f7cb 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 b293945e7..96919f9ac 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 addbe6ac5..4cdf5e14c 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 a9ab5b5f4..008df320e 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 } } diff --git a/translations/en.yaml b/translations/en.yaml index f32507e4f..061f57178 100644 --- a/translations/en.yaml +++ b/translations/en.yaml @@ -362,6 +362,7 @@ "SignatureRequestCreateEmbedded::TEST_MODE": Whether this is a test, the signature request will not be legally binding if set to `true`. Defaults to `false`. "SignatureRequestCreateEmbedded::TITLE": The title you want to assign to the SignatureRequest. "SignatureRequestCreateEmbedded::USE_TEXT_TAGS": 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`. +"SignatureRequestCreateEmbedded::IGNORE_TEXT_TAGS_EXTRACTION_ERRORS": Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. "SignatureRequestCreateEmbedded::ALLOW_FORM_VIEW": Allows signers to view the form fields before signing if set to `true`. Defaults to `false`. "SignatureRequestCreateEmbedded::SIGNER_EXPERIENCE": Configuration options for modifying the settings of the signer application. Supports changing the form view behavior.