docusign_esign 3.0.0 → 3.1.0.pre.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -2
- data/lib/docusign_esign.rb +464 -447
- data/{tests → lib/docusign_esign/api}/.DS_Store +0 -0
- data/lib/docusign_esign/api/accounts_api.rb +69 -8
- data/lib/docusign_esign/api/authentication_api.rb +8 -8
- data/lib/docusign_esign/api/bulk_envelopes_api.rb +335 -0
- data/lib/docusign_esign/api/connect_api.rb +400 -0
- data/lib/docusign_esign/api/envelopes_api.rb +77 -588
- data/lib/docusign_esign/api/notary_api.rb +439 -0
- data/lib/docusign_esign/api/organizations_api.rb +232 -0
- data/lib/docusign_esign/api/tsps_api.rb +256 -0
- data/lib/docusign_esign/models/account_settings_information.rb +125 -10
- data/lib/docusign_esign/models/account_ui_settings.rb +60 -4
- data/lib/docusign_esign/models/admin_message.rb +198 -0
- data/lib/docusign_esign/models/agent.rb +21 -1
- data/lib/docusign_esign/models/approve.rb +29 -1
- data/lib/docusign_esign/models/ask_an_admin.rb +218 -0
- data/lib/docusign_esign/models/carbon_copy.rb +39 -1
- data/lib/docusign_esign/models/certified_delivery.rb +39 -1
- data/lib/docusign_esign/models/checkbox.rb +29 -1
- data/lib/docusign_esign/models/comment_thread.rb +29 -1
- data/lib/docusign_esign/models/company.rb +29 -1
- data/lib/docusign_esign/models/complete_sign_request.rb +22 -2
- data/lib/docusign_esign/models/connect_custom_configuration.rb +19 -19
- data/lib/docusign_esign/models/credential.rb +12 -2
- data/lib/docusign_esign/models/date.rb +29 -1
- data/lib/docusign_esign/models/date_signed.rb +29 -1
- data/lib/docusign_esign/models/decline.rb +29 -1
- data/lib/docusign_esign/models/document.rb +53 -1
- data/lib/docusign_esign/models/document_fields_information.rb +1 -1
- data/lib/docusign_esign/models/document_html_display_settings.rb +11 -1
- data/lib/docusign_esign/models/document_security_store.rb +1 -1
- data/lib/docusign_esign/models/document_update_info.rb +1 -1
- data/lib/docusign_esign/models/editor.rb +21 -1
- data/lib/docusign_esign/models/email.rb +29 -1
- data/lib/docusign_esign/models/email_address.rb +29 -1
- data/lib/docusign_esign/models/envelope_document.rb +11 -1
- data/lib/docusign_esign/models/envelope_id.rb +29 -1
- data/lib/docusign_esign/models/envelope_template.rb +1 -11
- data/lib/docusign_esign/models/first_name.rb +29 -1
- data/lib/docusign_esign/models/formula_tab.rb +29 -1
- data/lib/docusign_esign/models/full_name.rb +29 -1
- data/lib/docusign_esign/models/in_person_signer.rb +21 -1
- data/lib/docusign_esign/models/initial_here.rb +29 -1
- data/lib/docusign_esign/models/intermediary.rb +21 -1
- data/lib/docusign_esign/models/last_name.rb +29 -1
- data/lib/docusign_esign/models/list.rb +29 -1
- data/lib/docusign_esign/models/notarize.rb +29 -1
- data/lib/docusign_esign/models/notary.rb +217 -0
- data/lib/docusign_esign/models/notary_host.rb +21 -1
- data/lib/docusign_esign/models/notary_jurisdiction.rb +246 -0
- data/lib/docusign_esign/models/notary_jurisdiction_list.rb +250 -0
- data/lib/docusign_esign/models/notary_result.rb +199 -0
- data/lib/docusign_esign/models/note.rb +29 -1
- data/lib/docusign_esign/models/number.rb +29 -1
- data/lib/docusign_esign/models/ocr_request.rb +238 -0
- data/lib/docusign_esign/models/offline_attributes.rb +238 -0
- data/lib/docusign_esign/models/poly_line_overlay.rb +29 -1
- data/lib/docusign_esign/models/proof_service_resource_token.rb +188 -0
- data/lib/docusign_esign/models/proof_service_view_link.rb +188 -0
- data/lib/docusign_esign/models/radio.rb +20 -1
- data/lib/docusign_esign/models/recipient_email_notification.rb +1 -1
- data/lib/docusign_esign/models/recipient_proof_file.rb +188 -0
- data/lib/docusign_esign/models/revision.rb +11 -2
- data/lib/docusign_esign/models/seal_sign.rb +21 -1
- data/lib/docusign_esign/models/sender.rb +1 -1
- data/lib/docusign_esign/models/sign_hash_document.rb +12 -3
- data/lib/docusign_esign/models/sign_hash_session_info_response.rb +12 -3
- data/lib/docusign_esign/models/sign_here.rb +38 -1
- data/lib/docusign_esign/models/sign_session_info_request.rb +12 -2
- data/lib/docusign_esign/models/signature_data_info.rb +1 -1
- data/lib/docusign_esign/models/signer.rb +31 -2
- data/lib/docusign_esign/models/signer_attachment.rb +29 -1
- data/lib/docusign_esign/models/smart_contract_information.rb +198 -0
- data/lib/docusign_esign/models/smart_section.rb +29 -1
- data/lib/docusign_esign/models/smart_section_display_settings.rb +11 -1
- data/lib/docusign_esign/models/ssn.rb +29 -1
- data/lib/docusign_esign/models/stamp.rb +336 -0
- data/lib/docusign_esign/models/tab_group.rb +29 -1
- data/lib/docusign_esign/models/text.rb +29 -1
- data/lib/docusign_esign/models/time_stamp_field.rb +1 -1
- data/lib/docusign_esign/models/title.rb +29 -1
- data/lib/docusign_esign/models/tsp_health_check_request.rb +1 -1
- data/lib/docusign_esign/models/tsp_health_check_status_description.rb +1 -1
- data/lib/docusign_esign/models/update_transaction_request.rb +1 -1
- data/lib/docusign_esign/models/update_transaction_response.rb +1 -1
- data/lib/docusign_esign/models/usage_history.rb +1 -1
- data/lib/docusign_esign/models/user.rb +27 -5
- data/lib/docusign_esign/models/user_info_response.rb +1 -1
- data/lib/docusign_esign/models/user_information.rb +1 -1
- data/lib/docusign_esign/models/user_signature.rb +14 -4
- data/lib/docusign_esign/models/view.rb +29 -1
- data/lib/docusign_esign/models/witness.rb +30 -1
- data/lib/docusign_esign/models/zip.rb +29 -1
- data/lib/docusign_esign/version.rb +1 -1
- data/tests/Gemfile.lock +1 -1
- metadata +20 -7
- data/Gemfile.lock +0 -73
- data/docusign_esign-2.1.0.gem +0 -0
@@ -14,6 +14,11 @@ require 'date'
|
|
14
14
|
module DocuSign_eSign
|
15
15
|
|
16
16
|
class List
|
17
|
+
#
|
18
|
+
attr_accessor :anchor_allow_white_space_in_characters
|
19
|
+
|
20
|
+
attr_accessor :anchor_allow_white_space_in_characters_metadata
|
21
|
+
|
17
22
|
# When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.
|
18
23
|
attr_accessor :anchor_case_sensitive
|
19
24
|
|
@@ -186,6 +191,8 @@ module DocuSign_eSign
|
|
186
191
|
|
187
192
|
attr_accessor :shared_metadata
|
188
193
|
|
194
|
+
attr_accessor :smart_contract_information
|
195
|
+
|
189
196
|
# Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.
|
190
197
|
attr_accessor :status
|
191
198
|
|
@@ -260,6 +267,8 @@ module DocuSign_eSign
|
|
260
267
|
# Attribute mapping from ruby-style variable name to JSON key.
|
261
268
|
def self.attribute_map
|
262
269
|
{
|
270
|
+
:'anchor_allow_white_space_in_characters' => :'anchorAllowWhiteSpaceInCharacters',
|
271
|
+
:'anchor_allow_white_space_in_characters_metadata' => :'anchorAllowWhiteSpaceInCharactersMetadata',
|
263
272
|
:'anchor_case_sensitive' => :'anchorCaseSensitive',
|
264
273
|
:'anchor_case_sensitive_metadata' => :'anchorCaseSensitiveMetadata',
|
265
274
|
:'anchor_horizontal_alignment' => :'anchorHorizontalAlignment',
|
@@ -329,6 +338,7 @@ module DocuSign_eSign
|
|
329
338
|
:'sender_required_metadata' => :'senderRequiredMetadata',
|
330
339
|
:'shared' => :'shared',
|
331
340
|
:'shared_metadata' => :'sharedMetadata',
|
341
|
+
:'smart_contract_information' => :'smartContractInformation',
|
332
342
|
:'status' => :'status',
|
333
343
|
:'status_metadata' => :'statusMetadata',
|
334
344
|
:'tab_group_labels' => :'tabGroupLabels',
|
@@ -363,6 +373,8 @@ module DocuSign_eSign
|
|
363
373
|
# Attribute type mapping.
|
364
374
|
def self.swagger_types
|
365
375
|
{
|
376
|
+
:'anchor_allow_white_space_in_characters' => :'String',
|
377
|
+
:'anchor_allow_white_space_in_characters_metadata' => :'PropertyMetadata',
|
366
378
|
:'anchor_case_sensitive' => :'String',
|
367
379
|
:'anchor_case_sensitive_metadata' => :'PropertyMetadata',
|
368
380
|
:'anchor_horizontal_alignment' => :'String',
|
@@ -432,6 +444,7 @@ module DocuSign_eSign
|
|
432
444
|
:'sender_required_metadata' => :'PropertyMetadata',
|
433
445
|
:'shared' => :'String',
|
434
446
|
:'shared_metadata' => :'PropertyMetadata',
|
447
|
+
:'smart_contract_information' => :'SmartContractInformation',
|
435
448
|
:'status' => :'String',
|
436
449
|
:'status_metadata' => :'PropertyMetadata',
|
437
450
|
:'tab_group_labels' => :'Array<String>',
|
@@ -471,6 +484,14 @@ module DocuSign_eSign
|
|
471
484
|
# convert string to symbol for hash key
|
472
485
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
473
486
|
|
487
|
+
if attributes.has_key?(:'anchorAllowWhiteSpaceInCharacters')
|
488
|
+
self.anchor_allow_white_space_in_characters = attributes[:'anchorAllowWhiteSpaceInCharacters']
|
489
|
+
end
|
490
|
+
|
491
|
+
if attributes.has_key?(:'anchorAllowWhiteSpaceInCharactersMetadata')
|
492
|
+
self.anchor_allow_white_space_in_characters_metadata = attributes[:'anchorAllowWhiteSpaceInCharactersMetadata']
|
493
|
+
end
|
494
|
+
|
474
495
|
if attributes.has_key?(:'anchorCaseSensitive')
|
475
496
|
self.anchor_case_sensitive = attributes[:'anchorCaseSensitive']
|
476
497
|
end
|
@@ -749,6 +770,10 @@ module DocuSign_eSign
|
|
749
770
|
self.shared_metadata = attributes[:'sharedMetadata']
|
750
771
|
end
|
751
772
|
|
773
|
+
if attributes.has_key?(:'smartContractInformation')
|
774
|
+
self.smart_contract_information = attributes[:'smartContractInformation']
|
775
|
+
end
|
776
|
+
|
752
777
|
if attributes.has_key?(:'status')
|
753
778
|
self.status = attributes[:'status']
|
754
779
|
end
|
@@ -883,6 +908,8 @@ module DocuSign_eSign
|
|
883
908
|
def ==(o)
|
884
909
|
return true if self.equal?(o)
|
885
910
|
self.class == o.class &&
|
911
|
+
anchor_allow_white_space_in_characters == o.anchor_allow_white_space_in_characters &&
|
912
|
+
anchor_allow_white_space_in_characters_metadata == o.anchor_allow_white_space_in_characters_metadata &&
|
886
913
|
anchor_case_sensitive == o.anchor_case_sensitive &&
|
887
914
|
anchor_case_sensitive_metadata == o.anchor_case_sensitive_metadata &&
|
888
915
|
anchor_horizontal_alignment == o.anchor_horizontal_alignment &&
|
@@ -952,6 +979,7 @@ module DocuSign_eSign
|
|
952
979
|
sender_required_metadata == o.sender_required_metadata &&
|
953
980
|
shared == o.shared &&
|
954
981
|
shared_metadata == o.shared_metadata &&
|
982
|
+
smart_contract_information == o.smart_contract_information &&
|
955
983
|
status == o.status &&
|
956
984
|
status_metadata == o.status_metadata &&
|
957
985
|
tab_group_labels == o.tab_group_labels &&
|
@@ -991,7 +1019,7 @@ module DocuSign_eSign
|
|
991
1019
|
# Calculates hash code according to all attributes.
|
992
1020
|
# @return [Fixnum] Hash code
|
993
1021
|
def hash
|
994
|
-
[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, bold, bold_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, font, font_color, font_color_metadata, font_metadata, font_size, font_size_metadata, form_order, form_order_metadata, form_page_label, form_page_label_metadata, form_page_number, form_page_number_metadata, height, height_metadata, italic, italic_metadata, list_items, list_selected_value, list_selected_value_metadata, locale_policy, locked, locked_metadata, merge_field, merge_field_xml, page_number, page_number_metadata, recipient_id, recipient_id_guid, recipient_id_guid_metadata, recipient_id_metadata, require_all, require_all_metadata, required, required_metadata, require_initial_on_shared_change, require_initial_on_shared_change_metadata, sender_required, sender_required_metadata, shared, shared_metadata, 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, underline, underline_metadata, value, value_metadata, width, width_metadata, x_position, x_position_metadata, y_position, y_position_metadata].hash
|
1022
|
+
[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, bold, bold_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, font, font_color, font_color_metadata, font_metadata, font_size, font_size_metadata, form_order, form_order_metadata, form_page_label, form_page_label_metadata, form_page_number, form_page_number_metadata, height, height_metadata, italic, italic_metadata, list_items, list_selected_value, list_selected_value_metadata, locale_policy, locked, locked_metadata, merge_field, merge_field_xml, page_number, page_number_metadata, recipient_id, recipient_id_guid, recipient_id_guid_metadata, recipient_id_metadata, require_all, require_all_metadata, required, required_metadata, require_initial_on_shared_change, require_initial_on_shared_change_metadata, sender_required, sender_required_metadata, shared, shared_metadata, smart_contract_information, 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, underline, underline_metadata, value, value_metadata, width, width_metadata, x_position, x_position_metadata, y_position, y_position_metadata].hash
|
995
1023
|
end
|
996
1024
|
|
997
1025
|
# Builds the object from hash
|
@@ -14,6 +14,11 @@ require 'date'
|
|
14
14
|
module DocuSign_eSign
|
15
15
|
|
16
16
|
class Notarize
|
17
|
+
#
|
18
|
+
attr_accessor :anchor_allow_white_space_in_characters
|
19
|
+
|
20
|
+
attr_accessor :anchor_allow_white_space_in_characters_metadata
|
21
|
+
|
17
22
|
# When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.
|
18
23
|
attr_accessor :anchor_case_sensitive
|
19
24
|
|
@@ -131,6 +136,8 @@ module DocuSign_eSign
|
|
131
136
|
|
132
137
|
attr_accessor :required_metadata
|
133
138
|
|
139
|
+
attr_accessor :smart_contract_information
|
140
|
+
|
134
141
|
# Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.
|
135
142
|
attr_accessor :status
|
136
143
|
|
@@ -190,6 +197,8 @@ module DocuSign_eSign
|
|
190
197
|
# Attribute mapping from ruby-style variable name to JSON key.
|
191
198
|
def self.attribute_map
|
192
199
|
{
|
200
|
+
:'anchor_allow_white_space_in_characters' => :'anchorAllowWhiteSpaceInCharacters',
|
201
|
+
:'anchor_allow_white_space_in_characters_metadata' => :'anchorAllowWhiteSpaceInCharactersMetadata',
|
193
202
|
:'anchor_case_sensitive' => :'anchorCaseSensitive',
|
194
203
|
:'anchor_case_sensitive_metadata' => :'anchorCaseSensitiveMetadata',
|
195
204
|
:'anchor_horizontal_alignment' => :'anchorHorizontalAlignment',
|
@@ -237,6 +246,7 @@ module DocuSign_eSign
|
|
237
246
|
:'recipient_id_metadata' => :'recipientIdMetadata',
|
238
247
|
:'required' => :'required',
|
239
248
|
:'required_metadata' => :'requiredMetadata',
|
249
|
+
:'smart_contract_information' => :'smartContractInformation',
|
240
250
|
:'status' => :'status',
|
241
251
|
:'status_metadata' => :'statusMetadata',
|
242
252
|
:'tab_group_labels' => :'tabGroupLabels',
|
@@ -265,6 +275,8 @@ module DocuSign_eSign
|
|
265
275
|
# Attribute type mapping.
|
266
276
|
def self.swagger_types
|
267
277
|
{
|
278
|
+
:'anchor_allow_white_space_in_characters' => :'String',
|
279
|
+
:'anchor_allow_white_space_in_characters_metadata' => :'PropertyMetadata',
|
268
280
|
:'anchor_case_sensitive' => :'String',
|
269
281
|
:'anchor_case_sensitive_metadata' => :'PropertyMetadata',
|
270
282
|
:'anchor_horizontal_alignment' => :'String',
|
@@ -312,6 +324,7 @@ module DocuSign_eSign
|
|
312
324
|
:'recipient_id_metadata' => :'PropertyMetadata',
|
313
325
|
:'required' => :'String',
|
314
326
|
:'required_metadata' => :'PropertyMetadata',
|
327
|
+
:'smart_contract_information' => :'SmartContractInformation',
|
315
328
|
:'status' => :'String',
|
316
329
|
:'status_metadata' => :'PropertyMetadata',
|
317
330
|
:'tab_group_labels' => :'Array<String>',
|
@@ -345,6 +358,14 @@ module DocuSign_eSign
|
|
345
358
|
# convert string to symbol for hash key
|
346
359
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
347
360
|
|
361
|
+
if attributes.has_key?(:'anchorAllowWhiteSpaceInCharacters')
|
362
|
+
self.anchor_allow_white_space_in_characters = attributes[:'anchorAllowWhiteSpaceInCharacters']
|
363
|
+
end
|
364
|
+
|
365
|
+
if attributes.has_key?(:'anchorAllowWhiteSpaceInCharactersMetadata')
|
366
|
+
self.anchor_allow_white_space_in_characters_metadata = attributes[:'anchorAllowWhiteSpaceInCharactersMetadata']
|
367
|
+
end
|
368
|
+
|
348
369
|
if attributes.has_key?(:'anchorCaseSensitive')
|
349
370
|
self.anchor_case_sensitive = attributes[:'anchorCaseSensitive']
|
350
371
|
end
|
@@ -533,6 +554,10 @@ module DocuSign_eSign
|
|
533
554
|
self.required_metadata = attributes[:'requiredMetadata']
|
534
555
|
end
|
535
556
|
|
557
|
+
if attributes.has_key?(:'smartContractInformation')
|
558
|
+
self.smart_contract_information = attributes[:'smartContractInformation']
|
559
|
+
end
|
560
|
+
|
536
561
|
if attributes.has_key?(:'status')
|
537
562
|
self.status = attributes[:'status']
|
538
563
|
end
|
@@ -643,6 +668,8 @@ module DocuSign_eSign
|
|
643
668
|
def ==(o)
|
644
669
|
return true if self.equal?(o)
|
645
670
|
self.class == o.class &&
|
671
|
+
anchor_allow_white_space_in_characters == o.anchor_allow_white_space_in_characters &&
|
672
|
+
anchor_allow_white_space_in_characters_metadata == o.anchor_allow_white_space_in_characters_metadata &&
|
646
673
|
anchor_case_sensitive == o.anchor_case_sensitive &&
|
647
674
|
anchor_case_sensitive_metadata == o.anchor_case_sensitive_metadata &&
|
648
675
|
anchor_horizontal_alignment == o.anchor_horizontal_alignment &&
|
@@ -690,6 +717,7 @@ module DocuSign_eSign
|
|
690
717
|
recipient_id_metadata == o.recipient_id_metadata &&
|
691
718
|
required == o.required &&
|
692
719
|
required_metadata == o.required_metadata &&
|
720
|
+
smart_contract_information == o.smart_contract_information &&
|
693
721
|
status == o.status &&
|
694
722
|
status_metadata == o.status_metadata &&
|
695
723
|
tab_group_labels == o.tab_group_labels &&
|
@@ -723,7 +751,7 @@ module DocuSign_eSign
|
|
723
751
|
# Calculates hash code according to all attributes.
|
724
752
|
# @return [Fixnum] Hash code
|
725
753
|
def hash
|
726
|
-
[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, locked, locked_metadata, merge_field, merge_field_xml, page_number, page_number_metadata, recipient_id, recipient_id_guid, recipient_id_guid_metadata, recipient_id_metadata, required, required_metadata, status, status_metadata, tab_group_labels, tab_group_labels_metadata, tab_id, tab_id_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
|
754
|
+
[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, locked, locked_metadata, merge_field, merge_field_xml, page_number, page_number_metadata, recipient_id, recipient_id_guid, recipient_id_guid_metadata, recipient_id_metadata, required, required_metadata, smart_contract_information, status, status_metadata, tab_group_labels, tab_group_labels_metadata, tab_id, tab_id_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
|
727
755
|
end
|
728
756
|
|
729
757
|
# Builds the object from hash
|
@@ -0,0 +1,217 @@
|
|
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
|
+
|
16
|
+
class Notary
|
17
|
+
#
|
18
|
+
attr_accessor :created_date
|
19
|
+
|
20
|
+
#
|
21
|
+
attr_accessor :enabled
|
22
|
+
|
23
|
+
#
|
24
|
+
attr_accessor :searchable
|
25
|
+
|
26
|
+
attr_accessor :user_info
|
27
|
+
|
28
|
+
|
29
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
30
|
+
def self.attribute_map
|
31
|
+
{
|
32
|
+
:'created_date' => :'createdDate',
|
33
|
+
:'enabled' => :'enabled',
|
34
|
+
:'searchable' => :'searchable',
|
35
|
+
:'user_info' => :'userInfo'
|
36
|
+
}
|
37
|
+
end
|
38
|
+
|
39
|
+
# Attribute type mapping.
|
40
|
+
def self.swagger_types
|
41
|
+
{
|
42
|
+
:'created_date' => :'String',
|
43
|
+
:'enabled' => :'String',
|
44
|
+
:'searchable' => :'String',
|
45
|
+
:'user_info' => :'UserInformation'
|
46
|
+
}
|
47
|
+
end
|
48
|
+
|
49
|
+
# Initializes the object
|
50
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
51
|
+
def initialize(attributes = {})
|
52
|
+
return unless attributes.is_a?(Hash)
|
53
|
+
|
54
|
+
# convert string to symbol for hash key
|
55
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
56
|
+
|
57
|
+
if attributes.has_key?(:'createdDate')
|
58
|
+
self.created_date = attributes[:'createdDate']
|
59
|
+
end
|
60
|
+
|
61
|
+
if attributes.has_key?(:'enabled')
|
62
|
+
self.enabled = attributes[:'enabled']
|
63
|
+
end
|
64
|
+
|
65
|
+
if attributes.has_key?(:'searchable')
|
66
|
+
self.searchable = attributes[:'searchable']
|
67
|
+
end
|
68
|
+
|
69
|
+
if attributes.has_key?(:'userInfo')
|
70
|
+
self.user_info = attributes[:'userInfo']
|
71
|
+
end
|
72
|
+
|
73
|
+
end
|
74
|
+
|
75
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
76
|
+
# @return Array for valid properies with the reasons
|
77
|
+
def list_invalid_properties
|
78
|
+
invalid_properties = Array.new
|
79
|
+
return 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
|
+
return 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
|
+
created_date == o.created_date &&
|
94
|
+
enabled == o.enabled &&
|
95
|
+
searchable == o.searchable &&
|
96
|
+
user_info == o.user_info
|
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
|
+
[created_date, enabled, searchable, user_info].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 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
|
+
|
217
|
+
end
|
@@ -45,6 +45,12 @@ module DocuSign_eSign
|
|
45
45
|
|
46
46
|
attr_accessor :delivery_method_metadata
|
47
47
|
|
48
|
+
#
|
49
|
+
attr_accessor :designator_id
|
50
|
+
|
51
|
+
#
|
52
|
+
attr_accessor :designator_id_guid
|
53
|
+
|
48
54
|
#
|
49
55
|
attr_accessor :document_visibility
|
50
56
|
|
@@ -188,6 +194,8 @@ module DocuSign_eSign
|
|
188
194
|
:'delivered_date_time' => :'deliveredDateTime',
|
189
195
|
:'delivery_method' => :'deliveryMethod',
|
190
196
|
:'delivery_method_metadata' => :'deliveryMethodMetadata',
|
197
|
+
:'designator_id' => :'designatorId',
|
198
|
+
:'designator_id_guid' => :'designatorIdGuid',
|
191
199
|
:'document_visibility' => :'documentVisibility',
|
192
200
|
:'email' => :'email',
|
193
201
|
:'email_metadata' => :'emailMetadata',
|
@@ -253,6 +261,8 @@ module DocuSign_eSign
|
|
253
261
|
:'delivered_date_time' => :'String',
|
254
262
|
:'delivery_method' => :'String',
|
255
263
|
:'delivery_method_metadata' => :'PropertyMetadata',
|
264
|
+
:'designator_id' => :'String',
|
265
|
+
:'designator_id_guid' => :'String',
|
256
266
|
:'document_visibility' => :'Array<DocumentVisibility>',
|
257
267
|
:'email' => :'String',
|
258
268
|
:'email_metadata' => :'PropertyMetadata',
|
@@ -358,6 +368,14 @@ module DocuSign_eSign
|
|
358
368
|
self.delivery_method_metadata = attributes[:'deliveryMethodMetadata']
|
359
369
|
end
|
360
370
|
|
371
|
+
if attributes.has_key?(:'designatorId')
|
372
|
+
self.designator_id = attributes[:'designatorId']
|
373
|
+
end
|
374
|
+
|
375
|
+
if attributes.has_key?(:'designatorIdGuid')
|
376
|
+
self.designator_id_guid = attributes[:'designatorIdGuid']
|
377
|
+
end
|
378
|
+
|
361
379
|
if attributes.has_key?(:'documentVisibility')
|
362
380
|
if (value = attributes[:'documentVisibility']).is_a?(Array)
|
363
381
|
self.document_visibility = value
|
@@ -591,6 +609,8 @@ module DocuSign_eSign
|
|
591
609
|
delivered_date_time == o.delivered_date_time &&
|
592
610
|
delivery_method == o.delivery_method &&
|
593
611
|
delivery_method_metadata == o.delivery_method_metadata &&
|
612
|
+
designator_id == o.designator_id &&
|
613
|
+
designator_id_guid == o.designator_id_guid &&
|
594
614
|
document_visibility == o.document_visibility &&
|
595
615
|
email == o.email &&
|
596
616
|
email_metadata == o.email_metadata &&
|
@@ -650,7 +670,7 @@ module DocuSign_eSign
|
|
650
670
|
# Calculates hash code according to all attributes.
|
651
671
|
# @return [Fixnum] Hash code
|
652
672
|
def hash
|
653
|
-
[access_code, access_code_metadata, add_access_code_to_email, client_user_id, completed_count, custom_fields, declined_date_time, declined_reason, delivered_date_time, delivery_method, delivery_method_metadata, 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, 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
|
673
|
+
[access_code, access_code_metadata, add_access_code_to_email, 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, 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
|
654
674
|
end
|
655
675
|
|
656
676
|
# Builds the object from hash
|