dropbox-sign 1.4.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +30 -25
- data/README.md +6 -12
- data/VERSION +1 -1
- data/docs/AccountResponse.md +1 -0
- data/docs/AccountResponseQuotas.md +1 -0
- data/docs/AccountResponseUsage.md +10 -0
- data/docs/EmbeddedEditUrlRequest.md +1 -1
- data/docs/SignatureRequestApi.md +7 -422
- data/docs/SignatureRequestBulkCreateEmbeddedWithTemplateRequest.md +1 -1
- data/docs/SignatureRequestBulkSendWithTemplateRequest.md +1 -1
- data/docs/SignatureRequestCreateEmbeddedRequest.md +4 -4
- data/docs/SignatureRequestCreateEmbeddedWithTemplateRequest.md +1 -1
- data/docs/SignatureRequestSendRequest.md +5 -5
- data/docs/SignatureRequestSendWithTemplateRequest.md +2 -2
- data/docs/SignatureRequestUpdateRequest.md +2 -2
- data/docs/SubAttachment.md +1 -1
- data/docs/SubCustomField.md +1 -1
- data/docs/SubFieldOptions.md +1 -1
- data/docs/SubFormFieldsPerDocumentBase.md +2 -2
- data/docs/SubFormFieldsPerDocumentDateSigned.md +1 -1
- data/docs/SubFormFieldsPerDocumentDropdown.md +1 -1
- data/docs/SubFormFieldsPerDocumentHyperlink.md +1 -1
- data/docs/SubFormFieldsPerDocumentText.md +2 -2
- data/docs/SubFormFieldsPerDocumentTextMerge.md +1 -1
- data/docs/SubSignatureRequestGroupedSigners.md +1 -1
- data/docs/SubSignatureRequestSigner.md +1 -1
- data/docs/SubSignatureRequestTemplateSigner.md +1 -1
- data/docs/SubSigningOptions.md +1 -1
- data/docs/TeamAddMemberRequest.md +1 -1
- data/docs/TeamRemoveMemberRequest.md +2 -2
- data/docs/TemplateAddUserRequest.md +2 -2
- data/docs/TemplateCreateEmbeddedDraftRequest.md +2 -2
- data/docs/TemplateCreateRequest.md +2 -2
- data/docs/TemplateResponseDocument.md +1 -1
- data/docs/TemplateResponseDocumentStaticFieldBase.md +1 -1
- data/docs/UnclaimedDraftApi.md +3 -3
- data/docs/UnclaimedDraftCreateEmbeddedRequest.md +4 -4
- data/docs/UnclaimedDraftCreateEmbeddedWithTemplateRequest.md +3 -3
- data/docs/UnclaimedDraftCreateRequest.md +2 -2
- data/dropbox-sign.gemspec +2 -1
- data/lib/dropbox-sign/api/account_api.rb +1 -1
- data/lib/dropbox-sign/api/api_app_api.rb +3 -3
- data/lib/dropbox-sign/api/bulk_send_job_api.rb +5 -5
- data/lib/dropbox-sign/api/embedded_api.rb +1 -1
- data/lib/dropbox-sign/api/o_auth_api.rb +1 -1
- data/lib/dropbox-sign/api/report_api.rb +1 -1
- data/lib/dropbox-sign/api/signature_request_api.rb +19 -479
- data/lib/dropbox-sign/api/team_api.rb +5 -5
- data/lib/dropbox-sign/api/template_api.rb +4 -4
- data/lib/dropbox-sign/api/unclaimed_draft_api.rb +7 -7
- data/lib/dropbox-sign/api_client.rb +27 -24
- data/lib/dropbox-sign/api_error.rb +2 -1
- data/lib/dropbox-sign/configuration.rb +39 -9
- data/lib/dropbox-sign/event_callback_helper.rb +1 -1
- data/lib/dropbox-sign/models/account_create_request.rb +2 -4
- data/lib/dropbox-sign/models/account_create_response.rb +2 -4
- data/lib/dropbox-sign/models/account_get_response.rb +2 -4
- data/lib/dropbox-sign/models/account_response.rb +17 -9
- data/lib/dropbox-sign/models/account_response_quotas.rb +19 -9
- data/lib/dropbox-sign/models/account_response_usage.rb +251 -0
- data/lib/dropbox-sign/models/account_update_request.rb +2 -4
- data/lib/dropbox-sign/models/account_verify_request.rb +2 -4
- data/lib/dropbox-sign/models/account_verify_response.rb +2 -4
- data/lib/dropbox-sign/models/account_verify_response_account.rb +2 -4
- data/lib/dropbox-sign/models/api_app_create_request.rb +2 -4
- data/lib/dropbox-sign/models/api_app_get_response.rb +2 -4
- data/lib/dropbox-sign/models/api_app_list_response.rb +2 -4
- data/lib/dropbox-sign/models/api_app_response.rb +2 -4
- data/lib/dropbox-sign/models/api_app_response_o_auth.rb +2 -4
- data/lib/dropbox-sign/models/api_app_response_options.rb +2 -4
- data/lib/dropbox-sign/models/api_app_response_owner_account.rb +2 -4
- data/lib/dropbox-sign/models/api_app_response_white_labeling_options.rb +2 -4
- data/lib/dropbox-sign/models/api_app_update_request.rb +3 -5
- data/lib/dropbox-sign/models/bulk_send_job_get_response.rb +2 -4
- data/lib/dropbox-sign/models/bulk_send_job_get_response_signature_requests.rb +2 -4
- data/lib/dropbox-sign/models/bulk_send_job_list_response.rb +2 -4
- data/lib/dropbox-sign/models/bulk_send_job_response.rb +2 -4
- data/lib/dropbox-sign/models/bulk_send_job_send_response.rb +2 -4
- data/lib/dropbox-sign/models/embedded_edit_url_request.rb +3 -5
- data/lib/dropbox-sign/models/embedded_edit_url_response.rb +2 -4
- data/lib/dropbox-sign/models/embedded_edit_url_response_embedded.rb +2 -4
- data/lib/dropbox-sign/models/embedded_sign_url_response.rb +2 -4
- data/lib/dropbox-sign/models/embedded_sign_url_response_embedded.rb +2 -4
- data/lib/dropbox-sign/models/error_response.rb +2 -4
- data/lib/dropbox-sign/models/error_response_error.rb +2 -4
- data/lib/dropbox-sign/models/event_callback_request.rb +2 -4
- data/lib/dropbox-sign/models/event_callback_request_event.rb +2 -4
- data/lib/dropbox-sign/models/event_callback_request_event_metadata.rb +2 -4
- data/lib/dropbox-sign/models/file_response.rb +2 -4
- data/lib/dropbox-sign/models/file_response_data_uri.rb +2 -4
- data/lib/dropbox-sign/models/list_info_response.rb +2 -4
- data/lib/dropbox-sign/models/o_auth_token_generate_request.rb +2 -4
- data/lib/dropbox-sign/models/o_auth_token_refresh_request.rb +2 -4
- data/lib/dropbox-sign/models/o_auth_token_response.rb +2 -4
- data/lib/dropbox-sign/models/report_create_request.rb +2 -4
- data/lib/dropbox-sign/models/report_create_response.rb +2 -4
- data/lib/dropbox-sign/models/report_response.rb +2 -4
- data/lib/dropbox-sign/models/signature_request_bulk_create_embedded_with_template_request.rb +6 -8
- data/lib/dropbox-sign/models/signature_request_bulk_send_with_template_request.rb +6 -8
- data/lib/dropbox-sign/models/signature_request_create_embedded_request.rb +9 -11
- data/lib/dropbox-sign/models/signature_request_create_embedded_with_template_request.rb +6 -8
- data/lib/dropbox-sign/models/signature_request_get_response.rb +2 -4
- data/lib/dropbox-sign/models/signature_request_list_response.rb +2 -4
- data/lib/dropbox-sign/models/signature_request_remind_request.rb +2 -4
- data/lib/dropbox-sign/models/signature_request_response.rb +2 -4
- data/lib/dropbox-sign/models/signature_request_response_attachment.rb +2 -4
- data/lib/dropbox-sign/models/signature_request_response_custom_field_base.rb +2 -4
- data/lib/dropbox-sign/models/signature_request_response_custom_field_checkbox.rb +2 -4
- data/lib/dropbox-sign/models/signature_request_response_custom_field_text.rb +2 -4
- data/lib/dropbox-sign/models/signature_request_response_custom_field_type_enum.rb +8 -4
- data/lib/dropbox-sign/models/signature_request_response_data_base.rb +2 -4
- data/lib/dropbox-sign/models/signature_request_response_data_type_enum.rb +8 -4
- data/lib/dropbox-sign/models/signature_request_response_data_value_checkbox.rb +2 -4
- data/lib/dropbox-sign/models/signature_request_response_data_value_checkbox_merge.rb +2 -4
- data/lib/dropbox-sign/models/signature_request_response_data_value_date_signed.rb +2 -4
- data/lib/dropbox-sign/models/signature_request_response_data_value_dropdown.rb +2 -4
- data/lib/dropbox-sign/models/signature_request_response_data_value_initials.rb +2 -4
- data/lib/dropbox-sign/models/signature_request_response_data_value_radio.rb +2 -4
- data/lib/dropbox-sign/models/signature_request_response_data_value_signature.rb +2 -4
- data/lib/dropbox-sign/models/signature_request_response_data_value_text.rb +2 -4
- data/lib/dropbox-sign/models/signature_request_response_data_value_text_merge.rb +2 -4
- data/lib/dropbox-sign/models/signature_request_response_signatures.rb +2 -4
- data/lib/dropbox-sign/models/signature_request_send_request.rb +10 -12
- data/lib/dropbox-sign/models/signature_request_send_with_template_request.rb +8 -9
- data/lib/dropbox-sign/models/signature_request_update_request.rb +4 -6
- data/lib/dropbox-sign/models/sub_attachment.rb +3 -5
- data/lib/dropbox-sign/models/sub_bulk_signer_list.rb +2 -4
- data/lib/dropbox-sign/models/sub_bulk_signer_list_custom_field.rb +2 -4
- data/lib/dropbox-sign/models/sub_cc.rb +2 -4
- data/lib/dropbox-sign/models/sub_custom_field.rb +3 -5
- data/lib/dropbox-sign/models/sub_editor_options.rb +2 -4
- data/lib/dropbox-sign/models/sub_field_options.rb +3 -5
- data/lib/dropbox-sign/models/sub_form_field_group.rb +2 -4
- data/lib/dropbox-sign/models/sub_form_field_rule.rb +2 -4
- data/lib/dropbox-sign/models/sub_form_field_rule_action.rb +2 -4
- data/lib/dropbox-sign/models/sub_form_field_rule_trigger.rb +2 -4
- data/lib/dropbox-sign/models/sub_form_fields_per_document_base.rb +4 -6
- data/lib/dropbox-sign/models/sub_form_fields_per_document_checkbox.rb +2 -4
- data/lib/dropbox-sign/models/sub_form_fields_per_document_checkbox_merge.rb +2 -4
- data/lib/dropbox-sign/models/sub_form_fields_per_document_date_signed.rb +3 -5
- data/lib/dropbox-sign/models/sub_form_fields_per_document_dropdown.rb +3 -5
- data/lib/dropbox-sign/models/sub_form_fields_per_document_font_enum.rb +8 -4
- data/lib/dropbox-sign/models/sub_form_fields_per_document_hyperlink.rb +3 -5
- data/lib/dropbox-sign/models/sub_form_fields_per_document_initials.rb +2 -4
- data/lib/dropbox-sign/models/sub_form_fields_per_document_radio.rb +2 -4
- data/lib/dropbox-sign/models/sub_form_fields_per_document_signature.rb +2 -4
- data/lib/dropbox-sign/models/sub_form_fields_per_document_text.rb +4 -6
- data/lib/dropbox-sign/models/sub_form_fields_per_document_text_merge.rb +3 -5
- data/lib/dropbox-sign/models/sub_form_fields_per_document_type_enum.rb +8 -4
- data/lib/dropbox-sign/models/sub_merge_field.rb +2 -4
- data/lib/dropbox-sign/models/sub_o_auth.rb +2 -4
- data/lib/dropbox-sign/models/sub_options.rb +2 -4
- data/lib/dropbox-sign/models/sub_signature_request_grouped_signers.rb +3 -5
- data/lib/dropbox-sign/models/sub_signature_request_signer.rb +5 -7
- data/lib/dropbox-sign/models/sub_signature_request_template_signer.rb +5 -7
- data/lib/dropbox-sign/models/sub_signing_options.rb +3 -5
- data/lib/dropbox-sign/models/sub_team_response.rb +2 -4
- data/lib/dropbox-sign/models/sub_template_role.rb +2 -4
- data/lib/dropbox-sign/models/sub_unclaimed_draft_signer.rb +2 -4
- data/lib/dropbox-sign/models/sub_unclaimed_draft_template_signer.rb +2 -4
- data/lib/dropbox-sign/models/sub_white_labeling_options.rb +2 -4
- data/lib/dropbox-sign/models/team_add_member_request.rb +3 -5
- data/lib/dropbox-sign/models/team_create_request.rb +2 -4
- data/lib/dropbox-sign/models/team_get_info_response.rb +2 -4
- data/lib/dropbox-sign/models/team_get_response.rb +2 -4
- data/lib/dropbox-sign/models/team_info_response.rb +2 -4
- data/lib/dropbox-sign/models/team_invite_response.rb +2 -4
- data/lib/dropbox-sign/models/team_invites_response.rb +2 -4
- data/lib/dropbox-sign/models/team_member_response.rb +2 -4
- data/lib/dropbox-sign/models/team_members_response.rb +2 -4
- data/lib/dropbox-sign/models/team_parent_response.rb +2 -4
- data/lib/dropbox-sign/models/team_remove_member_request.rb +4 -6
- data/lib/dropbox-sign/models/team_response.rb +2 -4
- data/lib/dropbox-sign/models/team_sub_teams_response.rb +2 -4
- data/lib/dropbox-sign/models/team_update_request.rb +2 -4
- data/lib/dropbox-sign/models/template_add_user_request.rb +4 -6
- data/lib/dropbox-sign/models/template_create_embedded_draft_request.rb +6 -8
- data/lib/dropbox-sign/models/template_create_embedded_draft_response.rb +2 -4
- data/lib/dropbox-sign/models/template_create_embedded_draft_response_template.rb +2 -4
- data/lib/dropbox-sign/models/template_create_request.rb +6 -8
- data/lib/dropbox-sign/models/template_create_response.rb +2 -4
- data/lib/dropbox-sign/models/template_create_response_template.rb +2 -4
- data/lib/dropbox-sign/models/template_edit_response.rb +2 -4
- data/lib/dropbox-sign/models/template_get_response.rb +2 -4
- data/lib/dropbox-sign/models/template_list_response.rb +2 -4
- data/lib/dropbox-sign/models/template_remove_user_request.rb +2 -4
- data/lib/dropbox-sign/models/template_response.rb +2 -4
- data/lib/dropbox-sign/models/template_response_account.rb +2 -4
- data/lib/dropbox-sign/models/template_response_account_quota.rb +2 -4
- data/lib/dropbox-sign/models/template_response_cc_role.rb +2 -4
- data/lib/dropbox-sign/models/template_response_document.rb +3 -5
- data/lib/dropbox-sign/models/template_response_document_custom_field_base.rb +2 -4
- data/lib/dropbox-sign/models/template_response_document_custom_field_checkbox.rb +2 -4
- data/lib/dropbox-sign/models/template_response_document_custom_field_text.rb +2 -4
- data/lib/dropbox-sign/models/template_response_document_field_group.rb +2 -4
- data/lib/dropbox-sign/models/template_response_document_field_group_rule.rb +2 -4
- data/lib/dropbox-sign/models/template_response_document_form_field_base.rb +2 -4
- data/lib/dropbox-sign/models/template_response_document_form_field_checkbox.rb +2 -4
- data/lib/dropbox-sign/models/template_response_document_form_field_date_signed.rb +2 -4
- data/lib/dropbox-sign/models/template_response_document_form_field_dropdown.rb +2 -4
- data/lib/dropbox-sign/models/template_response_document_form_field_hyperlink.rb +2 -4
- data/lib/dropbox-sign/models/template_response_document_form_field_initials.rb +2 -4
- data/lib/dropbox-sign/models/template_response_document_form_field_radio.rb +2 -4
- data/lib/dropbox-sign/models/template_response_document_form_field_signature.rb +2 -4
- data/lib/dropbox-sign/models/template_response_document_form_field_text.rb +2 -4
- data/lib/dropbox-sign/models/template_response_document_static_field_base.rb +3 -5
- data/lib/dropbox-sign/models/template_response_document_static_field_checkbox.rb +2 -4
- data/lib/dropbox-sign/models/template_response_document_static_field_date_signed.rb +2 -4
- data/lib/dropbox-sign/models/template_response_document_static_field_dropdown.rb +2 -4
- data/lib/dropbox-sign/models/template_response_document_static_field_hyperlink.rb +2 -4
- data/lib/dropbox-sign/models/template_response_document_static_field_initials.rb +2 -4
- data/lib/dropbox-sign/models/template_response_document_static_field_radio.rb +2 -4
- data/lib/dropbox-sign/models/template_response_document_static_field_signature.rb +2 -4
- data/lib/dropbox-sign/models/template_response_document_static_field_text.rb +2 -4
- data/lib/dropbox-sign/models/template_response_field_avg_text_length.rb +2 -4
- data/lib/dropbox-sign/models/template_response_signer_role.rb +2 -4
- data/lib/dropbox-sign/models/template_update_files_request.rb +4 -6
- data/lib/dropbox-sign/models/template_update_files_response.rb +2 -4
- data/lib/dropbox-sign/models/template_update_files_response_template.rb +2 -4
- data/lib/dropbox-sign/models/unclaimed_draft_create_embedded_request.rb +9 -10
- data/lib/dropbox-sign/models/unclaimed_draft_create_embedded_with_template_request.rb +8 -10
- data/lib/dropbox-sign/models/unclaimed_draft_create_request.rb +7 -8
- data/lib/dropbox-sign/models/unclaimed_draft_create_response.rb +2 -4
- data/lib/dropbox-sign/models/unclaimed_draft_edit_and_resend_request.rb +2 -4
- data/lib/dropbox-sign/models/unclaimed_draft_response.rb +2 -4
- data/lib/dropbox-sign/models/warning_response.rb +2 -4
- data/lib/dropbox-sign/version.rb +2 -2
- data/lib/dropbox-sign.rb +2 -5
- data/openapi-config.yaml +1 -1
- data/openapi-sdk.yaml +1565 -2574
- data/run-build +1 -1
- data/spec/api_client_spec.rb +3 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/templates/README.mustache +1 -0
- data/templates/api.mustache +58 -12
- data/templates/api_client.mustache +16 -35
- data/templates/api_client_faraday_partial.mustache +102 -44
- data/templates/api_client_httpx_partial.mustache +134 -0
- data/templates/api_client_typhoeus_partial.mustache +23 -15
- data/templates/api_doc.mustache +1 -1
- data/templates/api_error.mustache +1 -0
- data/templates/api_info.mustache +1 -1
- data/templates/api_test.mustache +1 -1
- data/templates/base_object.mustache +1 -3
- data/templates/configuration.mustache +139 -33
- data/templates/configuration_faraday_partial.mustache +40 -0
- data/templates/configuration_httpx_partial.mustache +11 -0
- data/templates/configuration_typhoeus_partial.mustache +41 -0
- data/templates/gem.mustache +14 -0
- data/templates/gemspec.mustache +10 -4
- data/templates/model_test.mustache +3 -2
- data/templates/partial_model_enum_class.mustache +7 -4
- data/templates/partial_model_generic.mustache +7 -7
- data/templates/partial_oneof_module.mustache +4 -4
- data/templates/partial_oneof_module_doc.mustache +1 -0
- data/templates/travis.mustache +1 -4
- metadata +14 -16
- data/docs/SignatureRequestEditEmbeddedRequest.md +0 -33
- data/docs/SignatureRequestEditEmbeddedWithTemplateRequest.md +0 -24
- data/docs/SignatureRequestEditRequest.md +0 -35
- data/docs/SignatureRequestEditWithTemplateRequest.md +0 -26
- data/lib/dropbox-sign/models/signature_request_edit_embedded_request.rb +0 -593
- data/lib/dropbox-sign/models/signature_request_edit_embedded_with_template_request.rb +0 -490
- data/lib/dropbox-sign/models/signature_request_edit_request.rb +0 -612
- data/lib/dropbox-sign/models/signature_request_edit_with_template_request.rb +0 -509
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: apisupport@hellosign.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.7.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -193,8 +193,6 @@ module Dropbox::Sign
|
|
193
193
|
else
|
194
194
|
false
|
195
195
|
end
|
196
|
-
when :File
|
197
|
-
value
|
198
196
|
when :Object
|
199
197
|
# generic object (usually a Hash), return directly
|
200
198
|
value
|
@@ -212,7 +210,7 @@ module Dropbox::Sign
|
|
212
210
|
else # model
|
213
211
|
# models (e.g. Pet)
|
214
212
|
klass = Dropbox::Sign.const_get(type)
|
215
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
213
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
216
214
|
end
|
217
215
|
end
|
218
216
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: apisupport@hellosign.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.7.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -193,8 +193,6 @@ module Dropbox::Sign
|
|
193
193
|
else
|
194
194
|
false
|
195
195
|
end
|
196
|
-
when :File
|
197
|
-
value
|
198
196
|
when :Object
|
199
197
|
# generic object (usually a Hash), return directly
|
200
198
|
value
|
@@ -212,7 +210,7 @@ module Dropbox::Sign
|
|
212
210
|
else # model
|
213
211
|
# models (e.g. Pet)
|
214
212
|
klass = Dropbox::Sign.const_get(type)
|
215
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
213
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
216
214
|
end
|
217
215
|
end
|
218
216
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: apisupport@hellosign.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.7.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -193,8 +193,6 @@ module Dropbox::Sign
|
|
193
193
|
else
|
194
194
|
false
|
195
195
|
end
|
196
|
-
when :File
|
197
|
-
value
|
198
196
|
when :Object
|
199
197
|
# generic object (usually a Hash), return directly
|
200
198
|
value
|
@@ -212,7 +210,7 @@ module Dropbox::Sign
|
|
212
210
|
else # model
|
213
211
|
# models (e.g. Pet)
|
214
212
|
klass = Dropbox::Sign.const_get(type)
|
215
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
213
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
216
214
|
end
|
217
215
|
end
|
218
216
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: apisupport@hellosign.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.7.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -193,8 +193,6 @@ module Dropbox::Sign
|
|
193
193
|
else
|
194
194
|
false
|
195
195
|
end
|
196
|
-
when :File
|
197
|
-
value
|
198
196
|
when :Object
|
199
197
|
# generic object (usually a Hash), return directly
|
200
198
|
value
|
@@ -212,7 +210,7 @@ module Dropbox::Sign
|
|
212
210
|
else # model
|
213
211
|
# models (e.g. Pet)
|
214
212
|
klass = Dropbox::Sign.const_get(type)
|
215
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
213
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
216
214
|
end
|
217
215
|
end
|
218
216
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: apisupport@hellosign.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.7.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -193,8 +193,6 @@ module Dropbox::Sign
|
|
193
193
|
else
|
194
194
|
false
|
195
195
|
end
|
196
|
-
when :File
|
197
|
-
value
|
198
196
|
when :Object
|
199
197
|
# generic object (usually a Hash), return directly
|
200
198
|
value
|
@@ -212,7 +210,7 @@ module Dropbox::Sign
|
|
212
210
|
else # model
|
213
211
|
# models (e.g. Pet)
|
214
212
|
klass = Dropbox::Sign.const_get(type)
|
215
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
213
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
216
214
|
end
|
217
215
|
end
|
218
216
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: apisupport@hellosign.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.7.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -193,8 +193,6 @@ module Dropbox::Sign
|
|
193
193
|
else
|
194
194
|
false
|
195
195
|
end
|
196
|
-
when :File
|
197
|
-
value
|
198
196
|
when :Object
|
199
197
|
# generic object (usually a Hash), return directly
|
200
198
|
value
|
@@ -212,7 +210,7 @@ module Dropbox::Sign
|
|
212
210
|
else # model
|
213
211
|
# models (e.g. Pet)
|
214
212
|
klass = Dropbox::Sign.const_get(type)
|
215
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
213
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
216
214
|
end
|
217
215
|
end
|
218
216
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: apisupport@hellosign.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.7.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -193,8 +193,6 @@ module Dropbox::Sign
|
|
193
193
|
else
|
194
194
|
false
|
195
195
|
end
|
196
|
-
when :File
|
197
|
-
value
|
198
196
|
when :Object
|
199
197
|
# generic object (usually a Hash), return directly
|
200
198
|
value
|
@@ -212,7 +210,7 @@ module Dropbox::Sign
|
|
212
210
|
else # model
|
213
211
|
# models (e.g. Pet)
|
214
212
|
klass = Dropbox::Sign.const_get(type)
|
215
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
213
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
216
214
|
end
|
217
215
|
end
|
218
216
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: apisupport@hellosign.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.7.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -193,8 +193,6 @@ module Dropbox::Sign
|
|
193
193
|
else
|
194
194
|
false
|
195
195
|
end
|
196
|
-
when :File
|
197
|
-
value
|
198
196
|
when :Object
|
199
197
|
# generic object (usually a Hash), return directly
|
200
198
|
value
|
@@ -212,7 +210,7 @@ module Dropbox::Sign
|
|
212
210
|
else # model
|
213
211
|
# models (e.g. Pet)
|
214
212
|
klass = Dropbox::Sign.const_get(type)
|
215
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
213
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
216
214
|
end
|
217
215
|
end
|
218
216
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: apisupport@hellosign.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.7.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -390,8 +390,6 @@ module Dropbox::Sign
|
|
390
390
|
else
|
391
391
|
false
|
392
392
|
end
|
393
|
-
when :File
|
394
|
-
value
|
395
393
|
when :Object
|
396
394
|
# generic object (usually a Hash), return directly
|
397
395
|
value
|
@@ -409,7 +407,7 @@ module Dropbox::Sign
|
|
409
407
|
else # model
|
410
408
|
# models (e.g. Pet)
|
411
409
|
klass = Dropbox::Sign.const_get(type)
|
412
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
410
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
413
411
|
end
|
414
412
|
end
|
415
413
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: apisupport@hellosign.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.7.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -38,7 +38,7 @@ module Dropbox::Sign
|
|
38
38
|
# @return [Boolean]
|
39
39
|
attr_accessor :allow_decline
|
40
40
|
|
41
|
-
# Allows signers to reassign their signature requests to other signers if set to `true`. Defaults to `false`. **
|
41
|
+
# 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.
|
42
42
|
# @return [Boolean]
|
43
43
|
attr_accessor :allow_reassign
|
44
44
|
|
@@ -69,19 +69,19 @@ module Dropbox::Sign
|
|
69
69
|
# @return [Array<SubFormFieldRule>]
|
70
70
|
attr_accessor :form_field_rules
|
71
71
|
|
72
|
-
# 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
|
72
|
+
# 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`
|
73
73
|
# @return [Array<SubFormFieldsPerDocumentBase>]
|
74
74
|
attr_accessor :form_fields_per_document
|
75
75
|
|
76
|
-
# Enables automatic Text Tag removal when set to true. **NOTE
|
76
|
+
# 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.
|
77
77
|
# @return [Boolean]
|
78
78
|
attr_accessor :hide_text_tags
|
79
79
|
|
80
|
-
# 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> **
|
80
|
+
# 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.
|
81
81
|
# @return [Boolean]
|
82
82
|
attr_accessor :is_qualified_signature
|
83
83
|
|
84
|
-
# 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> **
|
84
|
+
# Send with a value of `true` if you wish to enable [electronic identification (eID)](https://www.hellosign.com/features/electronic-id), which requires the signer to verify their identity with an eID provider to sign a document.<br> **NOTE:** eID is only available on the Premium API plan. Cannot be used in `test_mode`. Only works on requests with one signer.
|
85
85
|
# @return [Boolean]
|
86
86
|
attr_accessor :is_eid
|
87
87
|
|
@@ -408,7 +408,7 @@ module Dropbox::Sign
|
|
408
408
|
# Custom attribute writer method with validation
|
409
409
|
# @param [Object] message Value to be assigned
|
410
410
|
def message=(message)
|
411
|
-
if
|
411
|
+
if message.to_s.length > 5000
|
412
412
|
fail ArgumentError, 'invalid value for "message", the character length must be smaller than or equal to 5000.'
|
413
413
|
end
|
414
414
|
|
@@ -424,7 +424,7 @@ module Dropbox::Sign
|
|
424
424
|
# Custom attribute writer method with validation
|
425
425
|
# @param [Object] subject Value to be assigned
|
426
426
|
def subject=(subject)
|
427
|
-
if
|
427
|
+
if subject.to_s.length > 255
|
428
428
|
fail ArgumentError, 'invalid value for "subject", the character length must be smaller than or equal to 255.'
|
429
429
|
end
|
430
430
|
|
@@ -434,7 +434,7 @@ module Dropbox::Sign
|
|
434
434
|
# Custom attribute writer method with validation
|
435
435
|
# @param [Object] title Value to be assigned
|
436
436
|
def title=(title)
|
437
|
-
if
|
437
|
+
if title.to_s.length > 255
|
438
438
|
fail ArgumentError, 'invalid value for "title", the character length must be smaller than or equal to 255.'
|
439
439
|
end
|
440
440
|
|
@@ -537,8 +537,6 @@ module Dropbox::Sign
|
|
537
537
|
else
|
538
538
|
false
|
539
539
|
end
|
540
|
-
when :File
|
541
|
-
value
|
542
540
|
when :Object
|
543
541
|
# generic object (usually a Hash), return directly
|
544
542
|
value
|
@@ -556,7 +554,7 @@ module Dropbox::Sign
|
|
556
554
|
else # model
|
557
555
|
# models (e.g. Pet)
|
558
556
|
klass = Dropbox::Sign.const_get(type)
|
559
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
557
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
560
558
|
end
|
561
559
|
end
|
562
560
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: apisupport@hellosign.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.7.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -17,6 +17,7 @@ module Dropbox
|
|
17
17
|
end
|
18
18
|
|
19
19
|
module Dropbox::Sign
|
20
|
+
#
|
20
21
|
class SignatureRequestSendWithTemplateRequest
|
21
22
|
# Use `template_ids` to create a SignatureRequest from one or more templates, in the order in which the template will be used.
|
22
23
|
# @return [Array<String>]
|
@@ -50,11 +51,11 @@ module Dropbox::Sign
|
|
50
51
|
# @return [Array<String>]
|
51
52
|
attr_accessor :file_urls
|
52
53
|
|
53
|
-
# 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> **
|
54
|
+
# 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.
|
54
55
|
# @return [Boolean]
|
55
56
|
attr_accessor :is_qualified_signature
|
56
57
|
|
57
|
-
# 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> **
|
58
|
+
# Send with a value of `true` if you wish to enable [electronic identification (eID)](https://www.hellosign.com/features/electronic-id), which requires the signer to verify their identity with an eID provider to sign a document.<br> **NOTE:** eID is only available on the Premium API plan. Cannot be used in `test_mode`. Only works on requests with one signer.
|
58
59
|
# @return [Boolean]
|
59
60
|
attr_accessor :is_eid
|
60
61
|
|
@@ -314,7 +315,7 @@ module Dropbox::Sign
|
|
314
315
|
# Custom attribute writer method with validation
|
315
316
|
# @param [Object] message Value to be assigned
|
316
317
|
def message=(message)
|
317
|
-
if
|
318
|
+
if message.to_s.length > 5000
|
318
319
|
fail ArgumentError, 'invalid value for "message", the character length must be smaller than or equal to 5000.'
|
319
320
|
end
|
320
321
|
|
@@ -330,7 +331,7 @@ module Dropbox::Sign
|
|
330
331
|
# Custom attribute writer method with validation
|
331
332
|
# @param [Object] subject Value to be assigned
|
332
333
|
def subject=(subject)
|
333
|
-
if
|
334
|
+
if subject.to_s.length > 255
|
334
335
|
fail ArgumentError, 'invalid value for "subject", the character length must be smaller than or equal to 255.'
|
335
336
|
end
|
336
337
|
|
@@ -340,7 +341,7 @@ module Dropbox::Sign
|
|
340
341
|
# Custom attribute writer method with validation
|
341
342
|
# @param [Object] title Value to be assigned
|
342
343
|
def title=(title)
|
343
|
-
if
|
344
|
+
if title.to_s.length > 255
|
344
345
|
fail ArgumentError, 'invalid value for "title", the character length must be smaller than or equal to 255.'
|
345
346
|
end
|
346
347
|
|
@@ -434,8 +435,6 @@ module Dropbox::Sign
|
|
434
435
|
else
|
435
436
|
false
|
436
437
|
end
|
437
|
-
when :File
|
438
|
-
value
|
439
438
|
when :Object
|
440
439
|
# generic object (usually a Hash), return directly
|
441
440
|
value
|
@@ -453,7 +452,7 @@ module Dropbox::Sign
|
|
453
452
|
else # model
|
454
453
|
# models (e.g. Pet)
|
455
454
|
klass = Dropbox::Sign.const_get(type)
|
456
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
455
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
457
456
|
end
|
458
457
|
end
|
459
458
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: apisupport@hellosign.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.7.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -22,11 +22,11 @@ module Dropbox::Sign
|
|
22
22
|
# @return [String]
|
23
23
|
attr_accessor :signature_id
|
24
24
|
|
25
|
-
# The new email address for the recipient. This will generate a new `signature_id` value. **NOTE
|
25
|
+
# The new email address for the recipient. This will generate a new `signature_id` value. **NOTE:** Optional if `name` is provided.
|
26
26
|
# @return [String]
|
27
27
|
attr_accessor :email_address
|
28
28
|
|
29
|
-
# The new name for the recipient. **NOTE
|
29
|
+
# The new name for the recipient. **NOTE:** Optional if `email_address` is provided.
|
30
30
|
# @return [String]
|
31
31
|
attr_accessor :name
|
32
32
|
|
@@ -215,8 +215,6 @@ module Dropbox::Sign
|
|
215
215
|
else
|
216
216
|
false
|
217
217
|
end
|
218
|
-
when :File
|
219
|
-
value
|
220
218
|
when :Object
|
221
219
|
# generic object (usually a Hash), return directly
|
222
220
|
value
|
@@ -234,7 +232,7 @@ module Dropbox::Sign
|
|
234
232
|
else # model
|
235
233
|
# models (e.g. Pet)
|
236
234
|
klass = Dropbox::Sign.const_get(type)
|
237
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
235
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
238
236
|
end
|
239
237
|
end
|
240
238
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: apisupport@hellosign.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.7.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -22,7 +22,7 @@ module Dropbox::Sign
|
|
22
22
|
# @return [String]
|
23
23
|
attr_accessor :name
|
24
24
|
|
25
|
-
# The signer's index in the `signers` parameter (0-based indexing). **NOTE
|
25
|
+
# The signer's index in the `signers` parameter (0-based indexing). **NOTE:** Only one signer can be assigned per attachment.
|
26
26
|
# @return [Integer]
|
27
27
|
attr_accessor :signer_index
|
28
28
|
|
@@ -221,8 +221,6 @@ module Dropbox::Sign
|
|
221
221
|
else
|
222
222
|
false
|
223
223
|
end
|
224
|
-
when :File
|
225
|
-
value
|
226
224
|
when :Object
|
227
225
|
# generic object (usually a Hash), return directly
|
228
226
|
value
|
@@ -240,7 +238,7 @@ module Dropbox::Sign
|
|
240
238
|
else # model
|
241
239
|
# models (e.g. Pet)
|
242
240
|
klass = Dropbox::Sign.const_get(type)
|
243
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
241
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
244
242
|
end
|
245
243
|
end
|
246
244
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: apisupport@hellosign.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.7.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -191,8 +191,6 @@ module Dropbox::Sign
|
|
191
191
|
else
|
192
192
|
false
|
193
193
|
end
|
194
|
-
when :File
|
195
|
-
value
|
196
194
|
when :Object
|
197
195
|
# generic object (usually a Hash), return directly
|
198
196
|
value
|
@@ -210,7 +208,7 @@ module Dropbox::Sign
|
|
210
208
|
else # model
|
211
209
|
# models (e.g. Pet)
|
212
210
|
klass = Dropbox::Sign.const_get(type)
|
213
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
211
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
214
212
|
end
|
215
213
|
end
|
216
214
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: apisupport@hellosign.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.7.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -197,8 +197,6 @@ module Dropbox::Sign
|
|
197
197
|
else
|
198
198
|
false
|
199
199
|
end
|
200
|
-
when :File
|
201
|
-
value
|
202
200
|
when :Object
|
203
201
|
# generic object (usually a Hash), return directly
|
204
202
|
value
|
@@ -216,7 +214,7 @@ module Dropbox::Sign
|
|
216
214
|
else # model
|
217
215
|
# models (e.g. Pet)
|
218
216
|
klass = Dropbox::Sign.const_get(type)
|
219
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
217
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
220
218
|
end
|
221
219
|
end
|
222
220
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: apisupport@hellosign.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.7.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -197,8 +197,6 @@ module Dropbox::Sign
|
|
197
197
|
else
|
198
198
|
false
|
199
199
|
end
|
200
|
-
when :File
|
201
|
-
value
|
202
200
|
when :Object
|
203
201
|
# generic object (usually a Hash), return directly
|
204
202
|
value
|
@@ -216,7 +214,7 @@ module Dropbox::Sign
|
|
216
214
|
else # model
|
217
215
|
# models (e.g. Pet)
|
218
216
|
klass = Dropbox::Sign.const_get(type)
|
219
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
217
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
220
218
|
end
|
221
219
|
end
|
222
220
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: apisupport@hellosign.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.7.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -23,7 +23,7 @@ module Dropbox::Sign
|
|
23
23
|
# @return [String]
|
24
24
|
attr_accessor :name
|
25
25
|
|
26
|
-
# Used to create editable merge fields. When the value matches a role passed in with `signers`, that role can edit the data that was pre-filled to that field. This field is optional, but required when this custom field object is set to `required = true`. **
|
26
|
+
# Used to create editable merge fields. When the value matches a role passed in with `signers`, that role can edit the data that was pre-filled to that field. This field is optional, but required when this custom field object is set to `required = true`. **NOTE:** Editable merge fields are only supported for single signer requests (or the first signer in ordered signature requests). If used when there are multiple signers in an unordered signature request, the editor value is ignored and the field won't be editable.
|
27
27
|
# @return [String]
|
28
28
|
attr_accessor :editor
|
29
29
|
|
@@ -217,8 +217,6 @@ module Dropbox::Sign
|
|
217
217
|
else
|
218
218
|
false
|
219
219
|
end
|
220
|
-
when :File
|
221
|
-
value
|
222
220
|
when :Object
|
223
221
|
# generic object (usually a Hash), return directly
|
224
222
|
value
|
@@ -236,7 +234,7 @@ module Dropbox::Sign
|
|
236
234
|
else # model
|
237
235
|
# models (e.g. Pet)
|
238
236
|
klass = Dropbox::Sign.const_get(type)
|
239
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
237
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
240
238
|
end
|
241
239
|
end
|
242
240
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: apisupport@hellosign.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.7.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -192,8 +192,6 @@ module Dropbox::Sign
|
|
192
192
|
else
|
193
193
|
false
|
194
194
|
end
|
195
|
-
when :File
|
196
|
-
value
|
197
195
|
when :Object
|
198
196
|
# generic object (usually a Hash), return directly
|
199
197
|
value
|
@@ -211,7 +209,7 @@ module Dropbox::Sign
|
|
211
209
|
else # model
|
212
210
|
# models (e.g. Pet)
|
213
211
|
klass = Dropbox::Sign.const_get(type)
|
214
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
212
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
215
213
|
end
|
216
214
|
end
|
217
215
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 3.0.0
|
7
7
|
Contact: apisupport@hellosign.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.7.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -19,7 +19,7 @@ end
|
|
19
19
|
module Dropbox::Sign
|
20
20
|
# This allows the requester to specify field options for a signature request.
|
21
21
|
class SubFieldOptions
|
22
|
-
# Allows requester to specify the date format (see list of allowed [formats](/api/reference/constants/#date-formats)) **
|
22
|
+
# Allows requester to specify the date format (see list of allowed [formats](/api/reference/constants/#date-formats)) **NOTE:** Only available for Premium and higher.
|
23
23
|
# @return [String]
|
24
24
|
attr_accessor :date_format
|
25
25
|
|
@@ -216,8 +216,6 @@ module Dropbox::Sign
|
|
216
216
|
else
|
217
217
|
false
|
218
218
|
end
|
219
|
-
when :File
|
220
|
-
value
|
221
219
|
when :Object
|
222
220
|
# generic object (usually a Hash), return directly
|
223
221
|
value
|
@@ -235,7 +233,7 @@ module Dropbox::Sign
|
|
235
233
|
else # model
|
236
234
|
# models (e.g. Pet)
|
237
235
|
klass = Dropbox::Sign.const_get(type)
|
238
|
-
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
236
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
239
237
|
end
|
240
238
|
end
|
241
239
|
|