diff --git a/.travis.yml b/.travis.yml index 3513cbc..e8df308 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,4 +8,4 @@ script: - bundle install --path vendor/bundle - bundle exec rspec - gem build dropbox-sign.gemspec - - gem install ./dropbox-sign-1.12.0.gem + - gem install ./dropbox-sign-1.13.0.gem diff --git a/Gemfile.lock b/Gemfile.lock index f368c25..53ba4af 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - dropbox-sign (1.12.0) + dropbox-sign (1.13.0) typhoeus (~> 1.0, >= 1.0.1) GEM diff --git a/README.md b/README.md index 3adb348..bdddf0d 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ directory that corresponds to the file you want updated. This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 3.0.0 -- Package version: 1.12.0 +- Package version: 1.13.0 - Generator version: 7.12.0 - Build package: org.openapitools.codegen.languages.RubyClientCodegen @@ -47,15 +47,15 @@ gem build dropbox-sign.gemspec Then install the gem locally: ```shell -gem install ./dropbox-sign-1.12.0.gem +gem install ./dropbox-sign-1.13.0.gem ``` -(for development, run `gem install --dev ./dropbox-sign-1.12.0.gem` to install the development dependencies) +(for development, run `gem install --dev ./dropbox-sign-1.13.0.gem` to install the development dependencies) Finally add this to the Gemfile: - gem 'dropbox-sign', '~> 1.12.0' + gem 'dropbox-sign', '~> 1.13.0' ### Install from Git diff --git a/VERSION b/VERSION index 0eed1a2..feaae22 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.12.0 +1.13.0 diff --git a/docs/SignatureRequestCreateEmbeddedRequest.md b/docs/SignatureRequestCreateEmbeddedRequest.md index 72ba0ee..c28a2b4 100644 --- a/docs/SignatureRequestCreateEmbeddedRequest.md +++ b/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/docs/SignatureRequestEditEmbeddedRequest.md b/docs/SignatureRequestEditEmbeddedRequest.md index 383cd8e..6a56a2e 100644 --- a/docs/SignatureRequestEditEmbeddedRequest.md +++ b/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/docs/SignatureRequestEditRequest.md b/docs/SignatureRequestEditRequest.md index ce53250..b7e4ffb 100644 --- a/docs/SignatureRequestEditRequest.md +++ b/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``` | Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. | [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/docs/SignatureRequestSendRequest.md b/docs/SignatureRequestSendRequest.md index ca6f167..51bb1a2 100644 --- a/docs/SignatureRequestSendRequest.md +++ b/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``` | Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. | [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/docs/TemplateCreateEmbeddedDraftRequest.md b/docs/TemplateCreateEmbeddedDraftRequest.md index d23e4ce..4cbd9bf 100644 --- a/docs/TemplateCreateEmbeddedDraftRequest.md +++ b/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``` | Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. | [default to false] | diff --git a/docs/TemplateCreateRequest.md b/docs/TemplateCreateRequest.md index 35e9df0..1d543e1 100644 --- a/docs/TemplateCreateRequest.md +++ b/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``` | Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. | [default to false] | diff --git a/docs/UnclaimedDraftCreateEmbeddedRequest.md b/docs/UnclaimedDraftCreateEmbeddedRequest.md index 47acc39..1023778 100644 --- a/docs/UnclaimedDraftCreateEmbeddedRequest.md +++ b/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``` | 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.

**NOTE:** This does not correspond to the **expires_at** returned in the response. | | diff --git a/docs/UnclaimedDraftCreateRequest.md b/docs/UnclaimedDraftCreateRequest.md index 3eeacd5..75eab21 100644 --- a/docs/UnclaimedDraftCreateRequest.md +++ b/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``` | Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`. | [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/lib/dropbox-sign/models/signature_request_create_embedded_request.rb b/lib/dropbox-sign/models/signature_request_create_embedded_request.rb index 9ea5387..d6f857b 100644 --- a/lib/dropbox-sign/models/signature_request_create_embedded_request.rb +++ b/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/lib/dropbox-sign/models/signature_request_edit_embedded_request.rb b/lib/dropbox-sign/models/signature_request_edit_embedded_request.rb index eb9ece9..7fc162d 100644 --- a/lib/dropbox-sign/models/signature_request_edit_embedded_request.rb +++ b/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/lib/dropbox-sign/models/signature_request_edit_request.rb b/lib/dropbox-sign/models/signature_request_edit_request.rb index 68e7c2f..43d7f12 100644 --- a/lib/dropbox-sign/models/signature_request_edit_request.rb +++ b/lib/dropbox-sign/models/signature_request_edit_request.rb @@ -112,6 +112,10 @@ class SignatureRequestEditRequest # @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 + # 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/lib/dropbox-sign/models/signature_request_send_request.rb b/lib/dropbox-sign/models/signature_request_send_request.rb index 8dec7e4..dd3ad81 100644 --- a/lib/dropbox-sign/models/signature_request_send_request.rb +++ b/lib/dropbox-sign/models/signature_request_send_request.rb @@ -116,6 +116,10 @@ class SignatureRequestSendRequest # @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 + # 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/lib/dropbox-sign/models/template_create_embedded_draft_request.rb b/lib/dropbox-sign/models/template_create_embedded_draft_request.rb index 4b006bd..a846072 100644 --- a/lib/dropbox-sign/models/template_create_embedded_draft_request.rb +++ b/lib/dropbox-sign/models/template_create_embedded_draft_request.rb @@ -116,6 +116,10 @@ class TemplateCreateEmbeddedDraftRequest # @return [Boolean] attr_accessor :use_preexisting_fields + # 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 + # 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/lib/dropbox-sign/models/template_create_request.rb b/lib/dropbox-sign/models/template_create_request.rb index 2376b78..8b3d470 100644 --- a/lib/dropbox-sign/models/template_create_request.rb +++ b/lib/dropbox-sign/models/template_create_request.rb @@ -89,6 +89,10 @@ class TemplateCreateRequest # @return [Boolean] attr_accessor :use_preexisting_fields + # 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 + # 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/lib/dropbox-sign/models/unclaimed_draft_create_embedded_request.rb b/lib/dropbox-sign/models/unclaimed_draft_create_embedded_request.rb index 210aae8..9d52d17 100644 --- a/lib/dropbox-sign/models/unclaimed_draft_create_embedded_request.rb +++ b/lib/dropbox-sign/models/unclaimed_draft_create_embedded_request.rb @@ -152,6 +152,10 @@ class UnclaimedDraftCreateEmbeddedRequest # @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 @@ -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/lib/dropbox-sign/models/unclaimed_draft_create_request.rb b/lib/dropbox-sign/models/unclaimed_draft_create_request.rb index 3aa8412..62c54fc 100644 --- a/lib/dropbox-sign/models/unclaimed_draft_create_request.rb +++ b/lib/dropbox-sign/models/unclaimed_draft_create_request.rb @@ -109,6 +109,10 @@ class UnclaimedDraftCreateRequest # @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 + # 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/lib/dropbox-sign/version.rb b/lib/dropbox-sign/version.rb index e4c0bb5..0c62a77 100644 --- a/lib/dropbox-sign/version.rb +++ b/lib/dropbox-sign/version.rb @@ -14,5 +14,5 @@ module Dropbox end module Dropbox::Sign - VERSION = '1.12.0' + VERSION = '1.13.0' end diff --git a/openapi-config.yaml b/openapi-config.yaml index 1ce77f4..b6918fe 100644 --- a/openapi-config.yaml +++ b/openapi-config.yaml @@ -9,7 +9,7 @@ additionalProperties: gemName: dropbox-sign gemRequiredRubyVersion: '>= 2.7' moduleName: "Dropbox::Sign" - gemVersion: 1.12.0 + gemVersion: 1.13.0 sortModelPropertiesByRequiredFlag: true legacyDiscriminatorBehavior: true gitUserId: hellosign diff --git a/openapi-sdk.yaml b/openapi-sdk.yaml index 389363e..72b323a 100644 --- a/openapi-sdk.yaml +++ b/openapi-sdk.yaml @@ -8555,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. @@ -8800,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: 'Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`.' + type: boolean + default: false expires_at: description: 'When the signature request will expire. Unsigned signatures will be moved to the expired status, and no longer signable. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details.' type: integer @@ -8945,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. @@ -9300,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: 'Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`.' + type: boolean + default: false expires_at: description: 'When the signature request will expire. Unsigned signatures will be moved to the expired status, and no longer signable. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details.' type: integer @@ -10657,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: 'Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`.' + type: boolean + default: false type: object TemplateCreateEmbeddedDraftRequest: required: @@ -10799,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: 'Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`.' + type: boolean + default: false type: object TemplateRemoveUserRequest: properties: @@ -10978,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: 'Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`.' + type: boolean + default: false expires_at: description: |- When the signature request will expire. Unsigned signatures will be moved to the expired status, and no longer signable. See [Signature Request Expiration Date](https://developers.hellosign.com/docs/signature-request/expiration/) for details. @@ -11168,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: 'Sent with a value of `true` to ignore the validation errors from text tags extraction. Defaults to `false`.' + type: boolean + default: false populate_auto_fill_fields: description: |- Controls whether [auto fill fields](https://faq.hellosign.com/hc/en-us/articles/360051467511-Auto-Fill-Fields) can automatically populate a signer's information during signing. diff --git a/test_fixtures/FileResponse.json b/test_fixtures/FileResponse.json index 42417f5..e38e42f 100644 --- a/test_fixtures/FileResponse.json +++ b/test_fixtures/FileResponse.json @@ -1,6 +1,6 @@ { "default": { - "file_url": "https://s3.amazonaws.com/hellofax_uploads/super_groups/2016/03/18/9aba07a585d7e223b4f137c8981c5e5892893c00/merged-completed.pdf?AWSAccessKeyId=AKIAJWEWDFQHQMBECJZA&Expires=1452868903&Signature=M%2FNDS%2BQre8xjPvzm7fHf%2BjO8Zbc%3D", + "file_url": "https://s3.amazonaws.com/hellofax_uploads/super_groups/2016/03/18/9aba07a585d7e223b4f137c8981c5e5892893c00/merged-completed.pdf?AWSAccessKeyId=EXAMPLE_ACCESS_KEY_ID&Expires=1452868903&Signature=EXAMPLE_SIGNATURE", "expires_at": 1458605123 } } diff --git a/test_fixtures/SignatureRequestCreateEmbeddedRequest.json b/test_fixtures/SignatureRequestCreateEmbeddedRequest.json index 097446a..3b62c46 100644 --- a/test_fixtures/SignatureRequestCreateEmbeddedRequest.json +++ b/test_fixtures/SignatureRequestCreateEmbeddedRequest.json @@ -122,7 +122,8 @@ "subject": "The NDA we talked about", "test_mode": true, "title": "NDA with Acme Co.", - "use_text_tags": false + "use_text_tags": false, + "ignore_text_tags_extraction_errors": false }, "with_grouped_signers": { "allow_decline": true, @@ -259,6 +260,7 @@ "subject": "The NDA we talked about", "test_mode": true, "title": "NDA with Acme Co.", - "use_text_tags": false + "use_text_tags": false, + "ignore_text_tags_extraction_errors": false } } diff --git a/test_fixtures/SignatureRequestSendRequest.json b/test_fixtures/SignatureRequestSendRequest.json index 1f56eb7..d5e59f7 100644 --- a/test_fixtures/SignatureRequestSendRequest.json +++ b/test_fixtures/SignatureRequestSendRequest.json @@ -236,7 +236,8 @@ "subject": "The NDA we talked about", "test_mode": true, "title": "NDA with Acme Co.", - "use_text_tags": true + "use_text_tags": true, + "ignore_text_tags_extraction_errors": false }, "with_grouped_signers": { "allow_decline": true, @@ -476,6 +477,7 @@ "subject": "The NDA we talked about", "test_mode": true, "title": "NDA with Acme Co.", - "use_text_tags": true + "use_text_tags": true, + "ignore_text_tags_extraction_errors": false } } diff --git a/test_fixtures/TemplateCreateEmbeddedDraftRequest.json b/test_fixtures/TemplateCreateEmbeddedDraftRequest.json index b293945..96919f9 100644 --- a/test_fixtures/TemplateCreateEmbeddedDraftRequest.json +++ b/test_fixtures/TemplateCreateEmbeddedDraftRequest.json @@ -120,6 +120,7 @@ "subject": "Please sign this document", "test_mode": true, "title": "Test Template", - "use_preexisting_fields": true + "use_preexisting_fields": true, + "ignore_text_tags_extraction_errors": false } } diff --git a/test_fixtures/UnclaimedDraftCreateEmbeddedRequest.json b/test_fixtures/UnclaimedDraftCreateEmbeddedRequest.json index addbe6a..4cdf5e1 100644 --- a/test_fixtures/UnclaimedDraftCreateEmbeddedRequest.json +++ b/test_fixtures/UnclaimedDraftCreateEmbeddedRequest.json @@ -137,6 +137,7 @@ "test_mode": true, "type": "send_document", "use_preexisting_fields": true, - "use_text_tags": true + "use_text_tags": true, + "ignore_text_tags_extraction_errors": false } } diff --git a/test_fixtures/UnclaimedDraftCreateRequest.json b/test_fixtures/UnclaimedDraftCreateRequest.json index a9ab5b5..008df32 100644 --- a/test_fixtures/UnclaimedDraftCreateRequest.json +++ b/test_fixtures/UnclaimedDraftCreateRequest.json @@ -122,6 +122,7 @@ "test_mode": true, "type": "send_document", "use_preexisting_fields": true, - "use_text_tags": true + "use_text_tags": true, + "ignore_text_tags_extraction_errors": false } }