docusign_esign 3.10.0 → 3.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -1
- data/docusign_esign-2.12.0.rc1.gem +0 -0
- data/docusign_esign-3.12.0.rc1.gem +0 -0
- data/docusign_esign.gemspec +1 -0
- data/lib/docusign_esign/api/envelopes_api.rb +0 -287
- data/lib/docusign_esign/api/users_api.rb +45 -9
- data/lib/docusign_esign/client/api_client.rb +3 -2
- data/lib/docusign_esign/configuration.rb +2 -1
- data/lib/docusign_esign/models/account_billing_plan.rb +31 -1
- data/lib/docusign_esign/models/account_billing_plan_response.rb +11 -1
- data/lib/docusign_esign/models/account_signature_definition.rb +11 -1
- data/lib/docusign_esign/models/agent.rb +20 -1
- data/lib/docusign_esign/models/carbon_copy.rb +20 -1
- data/lib/docusign_esign/models/certified_delivery.rb +20 -1
- data/lib/docusign_esign/models/credit_card_information.rb +24 -4
- data/lib/docusign_esign/models/downgrade_billing_plan_information.rb +44 -4
- data/lib/docusign_esign/models/downgrade_plan_update_response.rb +54 -4
- data/lib/docusign_esign/models/editor.rb +20 -1
- data/lib/docusign_esign/models/envelope_form_data.rb +1 -1
- data/lib/docusign_esign/models/in_person_signer.rb +11 -1
- data/lib/docusign_esign/models/initial_here.rb +11 -1
- data/lib/docusign_esign/models/intermediary.rb +20 -1
- data/lib/docusign_esign/models/notary_host.rb +11 -1
- data/lib/docusign_esign/models/notary_recipient.rb +20 -1
- data/lib/docusign_esign/models/payment_method_with_options.rb +13 -1
- data/lib/docusign_esign/models/prefill_form_data.rb +216 -0
- data/lib/docusign_esign/models/prefill_tabs.rb +25 -1
- data/lib/docusign_esign/models/recipient_preview_request.rb +10 -1
- data/lib/docusign_esign/models/recipient_proof_file.rb +11 -1
- data/lib/docusign_esign/models/recipient_token_client_ur_ls.rb +174 -0
- data/lib/docusign_esign/models/recipient_view_request.rb +10 -1
- data/lib/docusign_esign/models/report_in_product_run_response_row_fields.rb +121 -1
- data/lib/docusign_esign/models/seal_sign.rb +11 -1
- data/lib/docusign_esign/models/sender_company.rb +1011 -0
- data/lib/docusign_esign/models/sender_name.rb +1011 -0
- data/lib/docusign_esign/models/sign_here.rb +11 -1
- data/lib/docusign_esign/models/signer.rb +20 -1
- data/lib/docusign_esign/models/signer_attachment.rb +11 -1
- data/lib/docusign_esign/models/template_role.rb +10 -1
- data/lib/docusign_esign/models/template_tabs.rb +1 -1
- data/lib/docusign_esign/models/user_account_management_granular_information.rb +20 -1
- data/lib/docusign_esign/models/user_signature_definition.rb +11 -1
- data/lib/docusign_esign/models/witness.rb +20 -1
- data/lib/docusign_esign/version.rb +1 -1
- data/lib/docusign_esign.rb +5 -3
- data/runLinter.sh +1 -0
- data/tests/Gemfile.lock +3 -3
- metadata +29 -5
- data/docusign_esign-2.10.0.gem +0 -0
- data/docusign_esign-2.10.0.rc1.gem +0 -0
- data/docusign_esign-3.10.0.rc1.gem +0 -0
@@ -100,6 +100,9 @@ module DocuSign_eSign
|
|
100
100
|
|
101
101
|
attr_accessor :form_page_number_metadata
|
102
102
|
|
103
|
+
#
|
104
|
+
attr_accessor :hand_draw_required
|
105
|
+
|
103
106
|
# Height of the tab in pixels.
|
104
107
|
attr_accessor :height
|
105
108
|
|
@@ -243,6 +246,7 @@ module DocuSign_eSign
|
|
243
246
|
:'form_page_label_metadata' => :'formPageLabelMetadata',
|
244
247
|
:'form_page_number' => :'formPageNumber',
|
245
248
|
:'form_page_number_metadata' => :'formPageNumberMetadata',
|
249
|
+
:'hand_draw_required' => :'handDrawRequired',
|
246
250
|
:'height' => :'height',
|
247
251
|
:'height_metadata' => :'heightMetadata',
|
248
252
|
:'merge_field' => :'mergeField',
|
@@ -326,6 +330,7 @@ module DocuSign_eSign
|
|
326
330
|
:'form_page_label_metadata' => :'PropertyMetadata',
|
327
331
|
:'form_page_number' => :'String',
|
328
332
|
:'form_page_number_metadata' => :'PropertyMetadata',
|
333
|
+
:'hand_draw_required' => :'String',
|
329
334
|
:'height' => :'String',
|
330
335
|
:'height_metadata' => :'PropertyMetadata',
|
331
336
|
:'merge_field' => :'MergeField',
|
@@ -519,6 +524,10 @@ module DocuSign_eSign
|
|
519
524
|
self.form_page_number_metadata = attributes[:'formPageNumberMetadata']
|
520
525
|
end
|
521
526
|
|
527
|
+
if attributes.has_key?(:'handDrawRequired')
|
528
|
+
self.hand_draw_required = attributes[:'handDrawRequired']
|
529
|
+
end
|
530
|
+
|
522
531
|
if attributes.has_key?(:'height')
|
523
532
|
self.height = attributes[:'height']
|
524
533
|
end
|
@@ -743,6 +752,7 @@ module DocuSign_eSign
|
|
743
752
|
form_page_label_metadata == o.form_page_label_metadata &&
|
744
753
|
form_page_number == o.form_page_number &&
|
745
754
|
form_page_number_metadata == o.form_page_number_metadata &&
|
755
|
+
hand_draw_required == o.hand_draw_required &&
|
746
756
|
height == o.height &&
|
747
757
|
height_metadata == o.height_metadata &&
|
748
758
|
merge_field == o.merge_field &&
|
@@ -796,7 +806,7 @@ module DocuSign_eSign
|
|
796
806
|
# Calculates hash code according to all attributes.
|
797
807
|
# @return [Fixnum] Hash code
|
798
808
|
def hash
|
799
|
-
[anchor_allow_white_space_in_characters, anchor_allow_white_space_in_characters_metadata, anchor_case_sensitive, anchor_case_sensitive_metadata, anchor_horizontal_alignment, anchor_horizontal_alignment_metadata, anchor_ignore_if_not_present, anchor_ignore_if_not_present_metadata, anchor_match_whole_word, anchor_match_whole_word_metadata, anchor_string, anchor_string_metadata, anchor_tab_processor_version, anchor_tab_processor_version_metadata, anchor_units, anchor_units_metadata, anchor_x_offset, anchor_x_offset_metadata, anchor_y_offset, anchor_y_offset_metadata, conditional_parent_label, conditional_parent_label_metadata, conditional_parent_value, conditional_parent_value_metadata, custom_tab_id, custom_tab_id_metadata, document_id, document_id_metadata, error_details, form_order, form_order_metadata, form_page_label, form_page_label_metadata, form_page_number, form_page_number_metadata, height, height_metadata, merge_field, merge_field_xml, name, name_metadata, optional, optional_metadata, page_number, page_number_metadata, recipient_id, recipient_id_guid, recipient_id_guid_metadata, recipient_id_metadata, scale_value, scale_value_metadata, smart_contract_information, source, status, status_metadata, tab_group_labels, tab_group_labels_metadata, tab_id, tab_id_metadata, tab_label, tab_label_metadata, tab_order, tab_order_metadata, tab_type, tab_type_metadata, template_locked, template_locked_metadata, template_required, template_required_metadata, tooltip, tool_tip_metadata, width, width_metadata, x_position, x_position_metadata, y_position, y_position_metadata].hash
|
809
|
+
[anchor_allow_white_space_in_characters, anchor_allow_white_space_in_characters_metadata, anchor_case_sensitive, anchor_case_sensitive_metadata, anchor_horizontal_alignment, anchor_horizontal_alignment_metadata, anchor_ignore_if_not_present, anchor_ignore_if_not_present_metadata, anchor_match_whole_word, anchor_match_whole_word_metadata, anchor_string, anchor_string_metadata, anchor_tab_processor_version, anchor_tab_processor_version_metadata, anchor_units, anchor_units_metadata, anchor_x_offset, anchor_x_offset_metadata, anchor_y_offset, anchor_y_offset_metadata, conditional_parent_label, conditional_parent_label_metadata, conditional_parent_value, conditional_parent_value_metadata, custom_tab_id, custom_tab_id_metadata, document_id, document_id_metadata, error_details, form_order, form_order_metadata, form_page_label, form_page_label_metadata, form_page_number, form_page_number_metadata, hand_draw_required, height, height_metadata, merge_field, merge_field_xml, name, name_metadata, optional, optional_metadata, page_number, page_number_metadata, recipient_id, recipient_id_guid, recipient_id_guid_metadata, recipient_id_metadata, scale_value, scale_value_metadata, smart_contract_information, source, status, status_metadata, tab_group_labels, tab_group_labels_metadata, tab_id, tab_id_metadata, tab_label, tab_label_metadata, tab_order, tab_order_metadata, tab_type, tab_type_metadata, template_locked, template_locked_metadata, template_required, template_required_metadata, tooltip, tool_tip_metadata, width, width_metadata, x_position, x_position_metadata, y_position, y_position_metadata].hash
|
800
810
|
end
|
801
811
|
|
802
812
|
# Builds the object from hash
|
@@ -27,6 +27,9 @@ module DocuSign_eSign
|
|
27
27
|
#
|
28
28
|
attr_accessor :allow_system_override_for_locked_recipient
|
29
29
|
|
30
|
+
#
|
31
|
+
attr_accessor :auto_responded_reason
|
32
|
+
|
30
33
|
# Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters.
|
31
34
|
attr_accessor :client_user_id
|
32
35
|
|
@@ -124,6 +127,8 @@ module DocuSign_eSign
|
|
124
127
|
|
125
128
|
attr_accessor :phone_authentication
|
126
129
|
|
130
|
+
attr_accessor :phone_number
|
131
|
+
|
127
132
|
# Reserved:
|
128
133
|
attr_accessor :recipient_attachments
|
129
134
|
|
@@ -207,6 +212,7 @@ module DocuSign_eSign
|
|
207
212
|
:'add_access_code_to_email' => :'addAccessCodeToEmail',
|
208
213
|
:'additional_notifications' => :'additionalNotifications',
|
209
214
|
:'allow_system_override_for_locked_recipient' => :'allowSystemOverrideForLockedRecipient',
|
215
|
+
:'auto_responded_reason' => :'autoRespondedReason',
|
210
216
|
:'client_user_id' => :'clientUserId',
|
211
217
|
:'completed_count' => :'completedCount',
|
212
218
|
:'custom_fields' => :'customFields',
|
@@ -244,6 +250,7 @@ module DocuSign_eSign
|
|
244
250
|
:'note' => :'note',
|
245
251
|
:'note_metadata' => :'noteMetadata',
|
246
252
|
:'phone_authentication' => :'phoneAuthentication',
|
253
|
+
:'phone_number' => :'phoneNumber',
|
247
254
|
:'recipient_attachments' => :'recipientAttachments',
|
248
255
|
:'recipient_authentication_status' => :'recipientAuthenticationStatus',
|
249
256
|
:'recipient_feature_metadata' => :'recipientFeatureMetadata',
|
@@ -282,6 +289,7 @@ module DocuSign_eSign
|
|
282
289
|
:'add_access_code_to_email' => :'String',
|
283
290
|
:'additional_notifications' => :'Array<RecipientAdditionalNotification>',
|
284
291
|
:'allow_system_override_for_locked_recipient' => :'String',
|
292
|
+
:'auto_responded_reason' => :'String',
|
285
293
|
:'client_user_id' => :'String',
|
286
294
|
:'completed_count' => :'String',
|
287
295
|
:'custom_fields' => :'Array<String>',
|
@@ -319,6 +327,7 @@ module DocuSign_eSign
|
|
319
327
|
:'note' => :'String',
|
320
328
|
:'note_metadata' => :'PropertyMetadata',
|
321
329
|
:'phone_authentication' => :'RecipientPhoneAuthentication',
|
330
|
+
:'phone_number' => :'RecipientPhoneNumber',
|
322
331
|
:'recipient_attachments' => :'Array<RecipientAttachment>',
|
323
332
|
:'recipient_authentication_status' => :'AuthenticationStatus',
|
324
333
|
:'recipient_feature_metadata' => :'Array<FeatureAvailableMetadata>',
|
@@ -379,6 +388,10 @@ module DocuSign_eSign
|
|
379
388
|
self.allow_system_override_for_locked_recipient = attributes[:'allowSystemOverrideForLockedRecipient']
|
380
389
|
end
|
381
390
|
|
391
|
+
if attributes.has_key?(:'autoRespondedReason')
|
392
|
+
self.auto_responded_reason = attributes[:'autoRespondedReason']
|
393
|
+
end
|
394
|
+
|
382
395
|
if attributes.has_key?(:'clientUserId')
|
383
396
|
self.client_user_id = attributes[:'clientUserId']
|
384
397
|
end
|
@@ -533,6 +546,10 @@ module DocuSign_eSign
|
|
533
546
|
self.phone_authentication = attributes[:'phoneAuthentication']
|
534
547
|
end
|
535
548
|
|
549
|
+
if attributes.has_key?(:'phoneNumber')
|
550
|
+
self.phone_number = attributes[:'phoneNumber']
|
551
|
+
end
|
552
|
+
|
536
553
|
if attributes.has_key?(:'recipientAttachments')
|
537
554
|
if (value = attributes[:'recipientAttachments']).is_a?(Array)
|
538
555
|
self.recipient_attachments = value
|
@@ -673,6 +690,7 @@ module DocuSign_eSign
|
|
673
690
|
add_access_code_to_email == o.add_access_code_to_email &&
|
674
691
|
additional_notifications == o.additional_notifications &&
|
675
692
|
allow_system_override_for_locked_recipient == o.allow_system_override_for_locked_recipient &&
|
693
|
+
auto_responded_reason == o.auto_responded_reason &&
|
676
694
|
client_user_id == o.client_user_id &&
|
677
695
|
completed_count == o.completed_count &&
|
678
696
|
custom_fields == o.custom_fields &&
|
@@ -710,6 +728,7 @@ module DocuSign_eSign
|
|
710
728
|
note == o.note &&
|
711
729
|
note_metadata == o.note_metadata &&
|
712
730
|
phone_authentication == o.phone_authentication &&
|
731
|
+
phone_number == o.phone_number &&
|
713
732
|
recipient_attachments == o.recipient_attachments &&
|
714
733
|
recipient_authentication_status == o.recipient_authentication_status &&
|
715
734
|
recipient_feature_metadata == o.recipient_feature_metadata &&
|
@@ -748,7 +767,7 @@ module DocuSign_eSign
|
|
748
767
|
# Calculates hash code according to all attributes.
|
749
768
|
# @return [Fixnum] Hash code
|
750
769
|
def hash
|
751
|
-
[access_code, access_code_metadata, add_access_code_to_email, additional_notifications, allow_system_override_for_locked_recipient, client_user_id, completed_count, custom_fields, declined_date_time, declined_reason, delivered_date_time, delivery_method, delivery_method_metadata, designator_id, designator_id_guid, document_visibility, email, email_metadata, email_notification, embedded_recipient_start_url, error_details, excluded_documents, fax_number, fax_number_metadata, first_name, first_name_metadata, full_name, full_name_metadata, id_check_configuration_name, id_check_configuration_name_metadata, id_check_information_input, identity_verification, inherit_email_notification_configuration, last_name, last_name_metadata, locked_recipient_phone_auth_editable, locked_recipient_sms_editable, name, name_metadata, note, note_metadata, phone_authentication, recipient_attachments, recipient_authentication_status, recipient_feature_metadata, recipient_id, recipient_id_guid, recipient_type, recipient_type_metadata, require_id_lookup, require_id_lookup_metadata, role_name, routing_order, routing_order_metadata, sent_date_time, signed_date_time, signing_group_id, signing_group_id_metadata, signing_group_name, signing_group_users, sms_authentication, social_authentications, status, status_code, suppress_emails, template_locked, template_required, total_tab_count, user_id].hash
|
770
|
+
[access_code, access_code_metadata, add_access_code_to_email, additional_notifications, allow_system_override_for_locked_recipient, auto_responded_reason, client_user_id, completed_count, custom_fields, declined_date_time, declined_reason, delivered_date_time, delivery_method, delivery_method_metadata, designator_id, designator_id_guid, document_visibility, email, email_metadata, email_notification, embedded_recipient_start_url, error_details, excluded_documents, fax_number, fax_number_metadata, first_name, first_name_metadata, full_name, full_name_metadata, id_check_configuration_name, id_check_configuration_name_metadata, id_check_information_input, identity_verification, inherit_email_notification_configuration, last_name, last_name_metadata, locked_recipient_phone_auth_editable, locked_recipient_sms_editable, name, name_metadata, note, note_metadata, phone_authentication, phone_number, recipient_attachments, recipient_authentication_status, recipient_feature_metadata, recipient_id, recipient_id_guid, recipient_type, recipient_type_metadata, require_id_lookup, require_id_lookup_metadata, role_name, routing_order, routing_order_metadata, sent_date_time, signed_date_time, signing_group_id, signing_group_id_metadata, signing_group_name, signing_group_users, sms_authentication, social_authentications, status, status_code, suppress_emails, template_locked, template_required, total_tab_count, user_id].hash
|
752
771
|
end
|
753
772
|
|
754
773
|
# Builds the object from hash
|
@@ -24,6 +24,9 @@ module DocuSign_eSign
|
|
24
24
|
#
|
25
25
|
attr_accessor :allow_system_override_for_locked_recipient
|
26
26
|
|
27
|
+
#
|
28
|
+
attr_accessor :auto_responded_reason
|
29
|
+
|
27
30
|
# Specifies whether the recipient is embedded or remote. If the `clientUserId` property is not null then the recipient is embedded. Note that if the `ClientUserId` property is set and either `SignerMustHaveAccount` or `SignerMustLoginToSign` property of the account settings is set to **true**, an error is generated on sending.ng. Maximum length: 100 characters.
|
28
31
|
attr_accessor :client_user_id
|
29
32
|
|
@@ -190,6 +193,7 @@ module DocuSign_eSign
|
|
190
193
|
:'access_code_metadata' => :'accessCodeMetadata',
|
191
194
|
:'add_access_code_to_email' => :'addAccessCodeToEmail',
|
192
195
|
:'allow_system_override_for_locked_recipient' => :'allowSystemOverrideForLockedRecipient',
|
196
|
+
:'auto_responded_reason' => :'autoRespondedReason',
|
193
197
|
:'client_user_id' => :'clientUserId',
|
194
198
|
:'completed_count' => :'completedCount',
|
195
199
|
:'custom_fields' => :'customFields',
|
@@ -259,6 +263,7 @@ module DocuSign_eSign
|
|
259
263
|
:'access_code_metadata' => :'PropertyMetadata',
|
260
264
|
:'add_access_code_to_email' => :'String',
|
261
265
|
:'allow_system_override_for_locked_recipient' => :'String',
|
266
|
+
:'auto_responded_reason' => :'String',
|
262
267
|
:'client_user_id' => :'String',
|
263
268
|
:'completed_count' => :'String',
|
264
269
|
:'custom_fields' => :'Array<String>',
|
@@ -345,6 +350,10 @@ module DocuSign_eSign
|
|
345
350
|
self.allow_system_override_for_locked_recipient = attributes[:'allowSystemOverrideForLockedRecipient']
|
346
351
|
end
|
347
352
|
|
353
|
+
if attributes.has_key?(:'autoRespondedReason')
|
354
|
+
self.auto_responded_reason = attributes[:'autoRespondedReason']
|
355
|
+
end
|
356
|
+
|
348
357
|
if attributes.has_key?(:'clientUserId')
|
349
358
|
self.client_user_id = attributes[:'clientUserId']
|
350
359
|
end
|
@@ -616,6 +625,7 @@ module DocuSign_eSign
|
|
616
625
|
access_code_metadata == o.access_code_metadata &&
|
617
626
|
add_access_code_to_email == o.add_access_code_to_email &&
|
618
627
|
allow_system_override_for_locked_recipient == o.allow_system_override_for_locked_recipient &&
|
628
|
+
auto_responded_reason == o.auto_responded_reason &&
|
619
629
|
client_user_id == o.client_user_id &&
|
620
630
|
completed_count == o.completed_count &&
|
621
631
|
custom_fields == o.custom_fields &&
|
@@ -686,7 +696,7 @@ module DocuSign_eSign
|
|
686
696
|
# Calculates hash code according to all attributes.
|
687
697
|
# @return [Fixnum] Hash code
|
688
698
|
def hash
|
689
|
-
[access_code, access_code_metadata, add_access_code_to_email, allow_system_override_for_locked_recipient, client_user_id, completed_count, custom_fields, declined_date_time, declined_reason, delivered_date_time, delivery_method, delivery_method_metadata, designator_id, designator_id_guid, document_visibility, email, email_metadata, email_notification, embedded_recipient_start_url, error_details, fax_number, fax_number_metadata, host_recipient_id, id_check_configuration_name, id_check_configuration_name_metadata, id_check_information_input, identity_verification, inherit_email_notification_configuration, locked_recipient_phone_auth_editable, locked_recipient_sms_editable, name, name_metadata, note, note_metadata, phone_authentication, recipient_attachments, recipient_authentication_status, recipient_feature_metadata, recipient_id, recipient_id_guid, recipient_type, recipient_type_metadata, require_id_lookup, require_id_lookup_metadata, role_name, routing_order, routing_order_metadata, sent_date_time, signed_date_time, signing_group_id, signing_group_id_metadata, signing_group_name, signing_group_users, sms_authentication, social_authentications, status, status_code, suppress_emails, tabs, template_locked, template_required, total_tab_count, user_id].hash
|
699
|
+
[access_code, access_code_metadata, add_access_code_to_email, allow_system_override_for_locked_recipient, auto_responded_reason, client_user_id, completed_count, custom_fields, declined_date_time, declined_reason, delivered_date_time, delivery_method, delivery_method_metadata, designator_id, designator_id_guid, document_visibility, email, email_metadata, email_notification, embedded_recipient_start_url, error_details, fax_number, fax_number_metadata, host_recipient_id, id_check_configuration_name, id_check_configuration_name_metadata, id_check_information_input, identity_verification, inherit_email_notification_configuration, locked_recipient_phone_auth_editable, locked_recipient_sms_editable, name, name_metadata, note, note_metadata, phone_authentication, recipient_attachments, recipient_authentication_status, recipient_feature_metadata, recipient_id, recipient_id_guid, recipient_type, recipient_type_metadata, require_id_lookup, require_id_lookup_metadata, role_name, routing_order, routing_order_metadata, sent_date_time, signed_date_time, signing_group_id, signing_group_id_metadata, signing_group_name, signing_group_users, sms_authentication, social_authentications, status, status_code, suppress_emails, tabs, template_locked, template_required, total_tab_count, user_id].hash
|
690
700
|
end
|
691
701
|
|
692
702
|
# Builds the object from hash
|
@@ -36,6 +36,9 @@ module DocuSign_eSign
|
|
36
36
|
#
|
37
37
|
attr_accessor :auto_navigation
|
38
38
|
|
39
|
+
#
|
40
|
+
attr_accessor :auto_responded_reason
|
41
|
+
|
39
42
|
# Contains a URI for an endpoint that allows you to easily retrieve bulk recipient information.
|
40
43
|
attr_accessor :bulk_recipients_uri
|
41
44
|
|
@@ -164,6 +167,8 @@ module DocuSign_eSign
|
|
164
167
|
|
165
168
|
attr_accessor :phone_authentication
|
166
169
|
|
170
|
+
attr_accessor :phone_number
|
171
|
+
|
167
172
|
attr_accessor :proof_file
|
168
173
|
|
169
174
|
# Reserved:
|
@@ -276,6 +281,7 @@ module DocuSign_eSign
|
|
276
281
|
:'agent_can_edit_name' => :'agentCanEditName',
|
277
282
|
:'allow_system_override_for_locked_recipient' => :'allowSystemOverrideForLockedRecipient',
|
278
283
|
:'auto_navigation' => :'autoNavigation',
|
284
|
+
:'auto_responded_reason' => :'autoRespondedReason',
|
279
285
|
:'bulk_recipients_uri' => :'bulkRecipientsUri',
|
280
286
|
:'can_sign_offline' => :'canSignOffline',
|
281
287
|
:'client_user_id' => :'clientUserId',
|
@@ -324,6 +330,7 @@ module DocuSign_eSign
|
|
324
330
|
:'note_metadata' => :'noteMetadata',
|
325
331
|
:'offline_attributes' => :'offlineAttributes',
|
326
332
|
:'phone_authentication' => :'phoneAuthentication',
|
333
|
+
:'phone_number' => :'phoneNumber',
|
327
334
|
:'proof_file' => :'proofFile',
|
328
335
|
:'recipient_attachments' => :'recipientAttachments',
|
329
336
|
:'recipient_authentication_status' => :'recipientAuthenticationStatus',
|
@@ -375,6 +382,7 @@ module DocuSign_eSign
|
|
375
382
|
:'agent_can_edit_name' => :'String',
|
376
383
|
:'allow_system_override_for_locked_recipient' => :'String',
|
377
384
|
:'auto_navigation' => :'String',
|
385
|
+
:'auto_responded_reason' => :'String',
|
378
386
|
:'bulk_recipients_uri' => :'String',
|
379
387
|
:'can_sign_offline' => :'String',
|
380
388
|
:'client_user_id' => :'String',
|
@@ -423,6 +431,7 @@ module DocuSign_eSign
|
|
423
431
|
:'note_metadata' => :'PropertyMetadata',
|
424
432
|
:'offline_attributes' => :'OfflineAttributes',
|
425
433
|
:'phone_authentication' => :'RecipientPhoneAuthentication',
|
434
|
+
:'phone_number' => :'RecipientPhoneNumber',
|
426
435
|
:'proof_file' => :'RecipientProofFile',
|
427
436
|
:'recipient_attachments' => :'Array<RecipientAttachment>',
|
428
437
|
:'recipient_authentication_status' => :'AuthenticationStatus',
|
@@ -505,6 +514,10 @@ module DocuSign_eSign
|
|
505
514
|
self.auto_navigation = attributes[:'autoNavigation']
|
506
515
|
end
|
507
516
|
|
517
|
+
if attributes.has_key?(:'autoRespondedReason')
|
518
|
+
self.auto_responded_reason = attributes[:'autoRespondedReason']
|
519
|
+
end
|
520
|
+
|
508
521
|
if attributes.has_key?(:'bulkRecipientsUri')
|
509
522
|
self.bulk_recipients_uri = attributes[:'bulkRecipientsUri']
|
510
523
|
end
|
@@ -705,6 +718,10 @@ module DocuSign_eSign
|
|
705
718
|
self.phone_authentication = attributes[:'phoneAuthentication']
|
706
719
|
end
|
707
720
|
|
721
|
+
if attributes.has_key?(:'phoneNumber')
|
722
|
+
self.phone_number = attributes[:'phoneNumber']
|
723
|
+
end
|
724
|
+
|
708
725
|
if attributes.has_key?(:'proofFile')
|
709
726
|
self.proof_file = attributes[:'proofFile']
|
710
727
|
end
|
@@ -890,6 +907,7 @@ module DocuSign_eSign
|
|
890
907
|
agent_can_edit_name == o.agent_can_edit_name &&
|
891
908
|
allow_system_override_for_locked_recipient == o.allow_system_override_for_locked_recipient &&
|
892
909
|
auto_navigation == o.auto_navigation &&
|
910
|
+
auto_responded_reason == o.auto_responded_reason &&
|
893
911
|
bulk_recipients_uri == o.bulk_recipients_uri &&
|
894
912
|
can_sign_offline == o.can_sign_offline &&
|
895
913
|
client_user_id == o.client_user_id &&
|
@@ -938,6 +956,7 @@ module DocuSign_eSign
|
|
938
956
|
note_metadata == o.note_metadata &&
|
939
957
|
offline_attributes == o.offline_attributes &&
|
940
958
|
phone_authentication == o.phone_authentication &&
|
959
|
+
phone_number == o.phone_number &&
|
941
960
|
proof_file == o.proof_file &&
|
942
961
|
recipient_attachments == o.recipient_attachments &&
|
943
962
|
recipient_authentication_status == o.recipient_authentication_status &&
|
@@ -986,7 +1005,7 @@ module DocuSign_eSign
|
|
986
1005
|
# Calculates hash code according to all attributes.
|
987
1006
|
# @return [Fixnum] Hash code
|
988
1007
|
def hash
|
989
|
-
[access_code, access_code_metadata, add_access_code_to_email, additional_notifications, agent_can_edit_email, agent_can_edit_name, allow_system_override_for_locked_recipient, auto_navigation, bulk_recipients_uri, can_sign_offline, client_user_id, completed_count, creation_reason, custom_fields, declined_date_time, declined_reason, default_recipient, delivered_date_time, delivery_method, delivery_method_metadata, designator_id, designator_id_guid, document_visibility, email, email_metadata, email_notification, embedded_recipient_start_url, error_details, excluded_documents, fax_number, fax_number_metadata, first_name, first_name_metadata, full_name, full_name_metadata, id_check_configuration_name, id_check_configuration_name_metadata, id_check_information_input, identity_verification, inherit_email_notification_configuration, is_bulk_recipient, is_bulk_recipient_metadata, last_name, last_name_metadata, live_oak_start_url, locked_recipient_phone_auth_editable, locked_recipient_sms_editable, name, name_metadata, notary_id, notary_signers, notary_type, note, note_metadata, offline_attributes, phone_authentication, proof_file, recipient_attachments, recipient_authentication_status, recipient_feature_metadata, recipient_id, recipient_id_guid, recipient_signature_providers, recipient_supplies_tabs, recipient_type, recipient_type_metadata, require_id_lookup, require_id_lookup_metadata, require_signer_certificate, require_sign_on_paper, require_upload_signature, role_name, routing_order, routing_order_metadata, sent_date_time, signature_info, signed_date_time, sign_in_each_location, sign_in_each_location_metadata, signing_group_id, signing_group_id_metadata, signing_group_name, signing_group_users, sms_authentication, social_authentications, status, status_code, suppress_emails, tabs, template_locked, template_required, total_tab_count, user_id].hash
|
1008
|
+
[access_code, access_code_metadata, add_access_code_to_email, additional_notifications, agent_can_edit_email, agent_can_edit_name, allow_system_override_for_locked_recipient, auto_navigation, auto_responded_reason, bulk_recipients_uri, can_sign_offline, client_user_id, completed_count, creation_reason, custom_fields, declined_date_time, declined_reason, default_recipient, delivered_date_time, delivery_method, delivery_method_metadata, designator_id, designator_id_guid, document_visibility, email, email_metadata, email_notification, embedded_recipient_start_url, error_details, excluded_documents, fax_number, fax_number_metadata, first_name, first_name_metadata, full_name, full_name_metadata, id_check_configuration_name, id_check_configuration_name_metadata, id_check_information_input, identity_verification, inherit_email_notification_configuration, is_bulk_recipient, is_bulk_recipient_metadata, last_name, last_name_metadata, live_oak_start_url, locked_recipient_phone_auth_editable, locked_recipient_sms_editable, name, name_metadata, notary_id, notary_signers, notary_type, note, note_metadata, offline_attributes, phone_authentication, phone_number, proof_file, recipient_attachments, recipient_authentication_status, recipient_feature_metadata, recipient_id, recipient_id_guid, recipient_signature_providers, recipient_supplies_tabs, recipient_type, recipient_type_metadata, require_id_lookup, require_id_lookup_metadata, require_signer_certificate, require_sign_on_paper, require_upload_signature, role_name, routing_order, routing_order_metadata, sent_date_time, signature_info, signed_date_time, sign_in_each_location, sign_in_each_location_metadata, signing_group_id, signing_group_id_metadata, signing_group_name, signing_group_users, sms_authentication, social_authentications, status, status_code, suppress_emails, tabs, template_locked, template_required, total_tab_count, user_id].hash
|
990
1009
|
end
|
991
1010
|
|
992
1011
|
# Builds the object from hash
|
@@ -13,6 +13,9 @@ require 'date'
|
|
13
13
|
|
14
14
|
module DocuSign_eSign
|
15
15
|
class PaymentMethodWithOptions
|
16
|
+
#
|
17
|
+
attr_accessor :supported_currencies
|
18
|
+
|
16
19
|
#
|
17
20
|
attr_accessor :supported_options
|
18
21
|
|
@@ -22,6 +25,7 @@ module DocuSign_eSign
|
|
22
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
23
26
|
def self.attribute_map
|
24
27
|
{
|
28
|
+
:'supported_currencies' => :'supportedCurrencies',
|
25
29
|
:'supported_options' => :'supportedOptions',
|
26
30
|
:'type' => :'type'
|
27
31
|
}
|
@@ -30,6 +34,7 @@ module DocuSign_eSign
|
|
30
34
|
# Attribute type mapping.
|
31
35
|
def self.swagger_types
|
32
36
|
{
|
37
|
+
:'supported_currencies' => :'Array<String>',
|
33
38
|
:'supported_options' => :'Array<String>',
|
34
39
|
:'type' => :'String'
|
35
40
|
}
|
@@ -43,6 +48,12 @@ module DocuSign_eSign
|
|
43
48
|
# convert string to symbol for hash key
|
44
49
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
45
50
|
|
51
|
+
if attributes.has_key?(:'supportedCurrencies')
|
52
|
+
if (value = attributes[:'supportedCurrencies']).is_a?(Array)
|
53
|
+
self.supported_currencies = value
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
46
57
|
if attributes.has_key?(:'supportedOptions')
|
47
58
|
if (value = attributes[:'supportedOptions']).is_a?(Array)
|
48
59
|
self.supported_options = value
|
@@ -72,6 +83,7 @@ module DocuSign_eSign
|
|
72
83
|
def ==(o)
|
73
84
|
return true if self.equal?(o)
|
74
85
|
self.class == o.class &&
|
86
|
+
supported_currencies == o.supported_currencies &&
|
75
87
|
supported_options == o.supported_options &&
|
76
88
|
type == o.type
|
77
89
|
end
|
@@ -85,7 +97,7 @@ module DocuSign_eSign
|
|
85
97
|
# Calculates hash code according to all attributes.
|
86
98
|
# @return [Fixnum] Hash code
|
87
99
|
def hash
|
88
|
-
[supported_options, type].hash
|
100
|
+
[supported_currencies, supported_options, type].hash
|
89
101
|
end
|
90
102
|
|
91
103
|
# Builds the object from hash
|
@@ -0,0 +1,216 @@
|
|
1
|
+
=begin
|
2
|
+
#DocuSign REST API
|
3
|
+
|
4
|
+
#The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
|
5
|
+
|
6
|
+
OpenAPI spec version: v2.1
|
7
|
+
Contact: devcenter@docusign.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
|
10
|
+
=end
|
11
|
+
|
12
|
+
require 'date'
|
13
|
+
|
14
|
+
module DocuSign_eSign
|
15
|
+
class PrefillFormData
|
16
|
+
#
|
17
|
+
attr_accessor :form_data
|
18
|
+
|
19
|
+
#
|
20
|
+
attr_accessor :sender_email
|
21
|
+
|
22
|
+
#
|
23
|
+
attr_accessor :sender_name
|
24
|
+
|
25
|
+
#
|
26
|
+
attr_accessor :sender_user_id
|
27
|
+
|
28
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
29
|
+
def self.attribute_map
|
30
|
+
{
|
31
|
+
:'form_data' => :'formData',
|
32
|
+
:'sender_email' => :'senderEmail',
|
33
|
+
:'sender_name' => :'senderName',
|
34
|
+
:'sender_user_id' => :'senderUserId'
|
35
|
+
}
|
36
|
+
end
|
37
|
+
|
38
|
+
# Attribute type mapping.
|
39
|
+
def self.swagger_types
|
40
|
+
{
|
41
|
+
:'form_data' => :'Array<FormDataItem>',
|
42
|
+
:'sender_email' => :'String',
|
43
|
+
:'sender_name' => :'String',
|
44
|
+
:'sender_user_id' => :'String'
|
45
|
+
}
|
46
|
+
end
|
47
|
+
|
48
|
+
# Initializes the object
|
49
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
50
|
+
def initialize(attributes = {})
|
51
|
+
return unless attributes.is_a?(Hash)
|
52
|
+
|
53
|
+
# convert string to symbol for hash key
|
54
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
55
|
+
|
56
|
+
if attributes.has_key?(:'formData')
|
57
|
+
if (value = attributes[:'formData']).is_a?(Array)
|
58
|
+
self.form_data = value
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
if attributes.has_key?(:'senderEmail')
|
63
|
+
self.sender_email = attributes[:'senderEmail']
|
64
|
+
end
|
65
|
+
|
66
|
+
if attributes.has_key?(:'senderName')
|
67
|
+
self.sender_name = attributes[:'senderName']
|
68
|
+
end
|
69
|
+
|
70
|
+
if attributes.has_key?(:'senderUserId')
|
71
|
+
self.sender_user_id = attributes[:'senderUserId']
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
76
|
+
# @return Array for valid properties with the reasons
|
77
|
+
def list_invalid_properties
|
78
|
+
invalid_properties = Array.new
|
79
|
+
invalid_properties
|
80
|
+
end
|
81
|
+
|
82
|
+
# Check to see if the all the properties in the model are valid
|
83
|
+
# @return true if the model is valid
|
84
|
+
def valid?
|
85
|
+
true
|
86
|
+
end
|
87
|
+
|
88
|
+
# Checks equality by comparing each attribute.
|
89
|
+
# @param [Object] Object to be compared
|
90
|
+
def ==(o)
|
91
|
+
return true if self.equal?(o)
|
92
|
+
self.class == o.class &&
|
93
|
+
form_data == o.form_data &&
|
94
|
+
sender_email == o.sender_email &&
|
95
|
+
sender_name == o.sender_name &&
|
96
|
+
sender_user_id == o.sender_user_id
|
97
|
+
end
|
98
|
+
|
99
|
+
# @see the `==` method
|
100
|
+
# @param [Object] Object to be compared
|
101
|
+
def eql?(o)
|
102
|
+
self == o
|
103
|
+
end
|
104
|
+
|
105
|
+
# Calculates hash code according to all attributes.
|
106
|
+
# @return [Fixnum] Hash code
|
107
|
+
def hash
|
108
|
+
[form_data, sender_email, sender_name, sender_user_id].hash
|
109
|
+
end
|
110
|
+
|
111
|
+
# Builds the object from hash
|
112
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
113
|
+
# @return [Object] Returns the model itself
|
114
|
+
def build_from_hash(attributes)
|
115
|
+
return nil unless attributes.is_a?(Hash)
|
116
|
+
self.class.swagger_types.each_pair do |key, type|
|
117
|
+
if type =~ /\AArray<(.*)>/i
|
118
|
+
# check to ensure the input is an array given that the attribute
|
119
|
+
# is documented as an array but the input is not
|
120
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
121
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
122
|
+
end
|
123
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
124
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
125
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
126
|
+
end
|
127
|
+
|
128
|
+
self
|
129
|
+
end
|
130
|
+
|
131
|
+
# Deserializes the data based on type
|
132
|
+
# @param string type Data type
|
133
|
+
# @param string value Value to be deserialized
|
134
|
+
# @return [Object] Deserialized data
|
135
|
+
def _deserialize(type, value)
|
136
|
+
case type.to_sym
|
137
|
+
when :DateTime
|
138
|
+
DateTime.parse(value)
|
139
|
+
when :Date
|
140
|
+
Date.parse(value)
|
141
|
+
when :String
|
142
|
+
value.to_s
|
143
|
+
when :Integer
|
144
|
+
value.to_i
|
145
|
+
when :Float
|
146
|
+
value.to_f
|
147
|
+
when :BOOLEAN
|
148
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
149
|
+
true
|
150
|
+
else
|
151
|
+
false
|
152
|
+
end
|
153
|
+
when :Object
|
154
|
+
# generic object (usually a Hash), return directly
|
155
|
+
value
|
156
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
157
|
+
inner_type = Regexp.last_match[:inner_type]
|
158
|
+
value.map { |v| _deserialize(inner_type, v) }
|
159
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
160
|
+
k_type = Regexp.last_match[:k_type]
|
161
|
+
v_type = Regexp.last_match[:v_type]
|
162
|
+
{}.tap do |hash|
|
163
|
+
value.each do |k, v|
|
164
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
165
|
+
end
|
166
|
+
end
|
167
|
+
else # model
|
168
|
+
temp_model = DocuSign_eSign.const_get(type).new
|
169
|
+
temp_model.build_from_hash(value)
|
170
|
+
end
|
171
|
+
end
|
172
|
+
|
173
|
+
# Returns the string representation of the object
|
174
|
+
# @return [String] String presentation of the object
|
175
|
+
def to_s
|
176
|
+
to_hash.to_s
|
177
|
+
end
|
178
|
+
|
179
|
+
# to_body is an alias to to_hash (backward compatibility)
|
180
|
+
# @return [Hash] Returns the object in the form of hash
|
181
|
+
def to_body
|
182
|
+
to_hash
|
183
|
+
end
|
184
|
+
|
185
|
+
# Returns the object in the form of hash
|
186
|
+
# @return [Hash] Returns the object in the form of hash
|
187
|
+
def to_hash
|
188
|
+
hash = {}
|
189
|
+
self.class.attribute_map.each_pair do |attr, param|
|
190
|
+
value = self.send(attr)
|
191
|
+
next if value.nil?
|
192
|
+
hash[param] = _to_hash(value)
|
193
|
+
end
|
194
|
+
hash
|
195
|
+
end
|
196
|
+
|
197
|
+
# Outputs non-array value in the form of hash
|
198
|
+
# For object, use to_hash. Otherwise, just return the value
|
199
|
+
# @param [Object] value Any valid value
|
200
|
+
# @return [Hash] Returns the value in the form of hash
|
201
|
+
def _to_hash(value)
|
202
|
+
if value.is_a?(Array)
|
203
|
+
value.compact.map { |v| _to_hash(v) }
|
204
|
+
elsif value.is_a?(Hash)
|
205
|
+
{}.tap do |hash|
|
206
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
207
|
+
end
|
208
|
+
elsif value.respond_to? :to_hash
|
209
|
+
value.to_hash
|
210
|
+
else
|
211
|
+
value
|
212
|
+
end
|
213
|
+
end
|
214
|
+
|
215
|
+
end
|
216
|
+
end
|