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.
Files changed (100) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +2 -2
  3. data/lib/docusign_esign.rb +464 -447
  4. data/{tests → lib/docusign_esign/api}/.DS_Store +0 -0
  5. data/lib/docusign_esign/api/accounts_api.rb +69 -8
  6. data/lib/docusign_esign/api/authentication_api.rb +8 -8
  7. data/lib/docusign_esign/api/bulk_envelopes_api.rb +335 -0
  8. data/lib/docusign_esign/api/connect_api.rb +400 -0
  9. data/lib/docusign_esign/api/envelopes_api.rb +77 -588
  10. data/lib/docusign_esign/api/notary_api.rb +439 -0
  11. data/lib/docusign_esign/api/organizations_api.rb +232 -0
  12. data/lib/docusign_esign/api/tsps_api.rb +256 -0
  13. data/lib/docusign_esign/models/account_settings_information.rb +125 -10
  14. data/lib/docusign_esign/models/account_ui_settings.rb +60 -4
  15. data/lib/docusign_esign/models/admin_message.rb +198 -0
  16. data/lib/docusign_esign/models/agent.rb +21 -1
  17. data/lib/docusign_esign/models/approve.rb +29 -1
  18. data/lib/docusign_esign/models/ask_an_admin.rb +218 -0
  19. data/lib/docusign_esign/models/carbon_copy.rb +39 -1
  20. data/lib/docusign_esign/models/certified_delivery.rb +39 -1
  21. data/lib/docusign_esign/models/checkbox.rb +29 -1
  22. data/lib/docusign_esign/models/comment_thread.rb +29 -1
  23. data/lib/docusign_esign/models/company.rb +29 -1
  24. data/lib/docusign_esign/models/complete_sign_request.rb +22 -2
  25. data/lib/docusign_esign/models/connect_custom_configuration.rb +19 -19
  26. data/lib/docusign_esign/models/credential.rb +12 -2
  27. data/lib/docusign_esign/models/date.rb +29 -1
  28. data/lib/docusign_esign/models/date_signed.rb +29 -1
  29. data/lib/docusign_esign/models/decline.rb +29 -1
  30. data/lib/docusign_esign/models/document.rb +53 -1
  31. data/lib/docusign_esign/models/document_fields_information.rb +1 -1
  32. data/lib/docusign_esign/models/document_html_display_settings.rb +11 -1
  33. data/lib/docusign_esign/models/document_security_store.rb +1 -1
  34. data/lib/docusign_esign/models/document_update_info.rb +1 -1
  35. data/lib/docusign_esign/models/editor.rb +21 -1
  36. data/lib/docusign_esign/models/email.rb +29 -1
  37. data/lib/docusign_esign/models/email_address.rb +29 -1
  38. data/lib/docusign_esign/models/envelope_document.rb +11 -1
  39. data/lib/docusign_esign/models/envelope_id.rb +29 -1
  40. data/lib/docusign_esign/models/envelope_template.rb +1 -11
  41. data/lib/docusign_esign/models/first_name.rb +29 -1
  42. data/lib/docusign_esign/models/formula_tab.rb +29 -1
  43. data/lib/docusign_esign/models/full_name.rb +29 -1
  44. data/lib/docusign_esign/models/in_person_signer.rb +21 -1
  45. data/lib/docusign_esign/models/initial_here.rb +29 -1
  46. data/lib/docusign_esign/models/intermediary.rb +21 -1
  47. data/lib/docusign_esign/models/last_name.rb +29 -1
  48. data/lib/docusign_esign/models/list.rb +29 -1
  49. data/lib/docusign_esign/models/notarize.rb +29 -1
  50. data/lib/docusign_esign/models/notary.rb +217 -0
  51. data/lib/docusign_esign/models/notary_host.rb +21 -1
  52. data/lib/docusign_esign/models/notary_jurisdiction.rb +246 -0
  53. data/lib/docusign_esign/models/notary_jurisdiction_list.rb +250 -0
  54. data/lib/docusign_esign/models/notary_result.rb +199 -0
  55. data/lib/docusign_esign/models/note.rb +29 -1
  56. data/lib/docusign_esign/models/number.rb +29 -1
  57. data/lib/docusign_esign/models/ocr_request.rb +238 -0
  58. data/lib/docusign_esign/models/offline_attributes.rb +238 -0
  59. data/lib/docusign_esign/models/poly_line_overlay.rb +29 -1
  60. data/lib/docusign_esign/models/proof_service_resource_token.rb +188 -0
  61. data/lib/docusign_esign/models/proof_service_view_link.rb +188 -0
  62. data/lib/docusign_esign/models/radio.rb +20 -1
  63. data/lib/docusign_esign/models/recipient_email_notification.rb +1 -1
  64. data/lib/docusign_esign/models/recipient_proof_file.rb +188 -0
  65. data/lib/docusign_esign/models/revision.rb +11 -2
  66. data/lib/docusign_esign/models/seal_sign.rb +21 -1
  67. data/lib/docusign_esign/models/sender.rb +1 -1
  68. data/lib/docusign_esign/models/sign_hash_document.rb +12 -3
  69. data/lib/docusign_esign/models/sign_hash_session_info_response.rb +12 -3
  70. data/lib/docusign_esign/models/sign_here.rb +38 -1
  71. data/lib/docusign_esign/models/sign_session_info_request.rb +12 -2
  72. data/lib/docusign_esign/models/signature_data_info.rb +1 -1
  73. data/lib/docusign_esign/models/signer.rb +31 -2
  74. data/lib/docusign_esign/models/signer_attachment.rb +29 -1
  75. data/lib/docusign_esign/models/smart_contract_information.rb +198 -0
  76. data/lib/docusign_esign/models/smart_section.rb +29 -1
  77. data/lib/docusign_esign/models/smart_section_display_settings.rb +11 -1
  78. data/lib/docusign_esign/models/ssn.rb +29 -1
  79. data/lib/docusign_esign/models/stamp.rb +336 -0
  80. data/lib/docusign_esign/models/tab_group.rb +29 -1
  81. data/lib/docusign_esign/models/text.rb +29 -1
  82. data/lib/docusign_esign/models/time_stamp_field.rb +1 -1
  83. data/lib/docusign_esign/models/title.rb +29 -1
  84. data/lib/docusign_esign/models/tsp_health_check_request.rb +1 -1
  85. data/lib/docusign_esign/models/tsp_health_check_status_description.rb +1 -1
  86. data/lib/docusign_esign/models/update_transaction_request.rb +1 -1
  87. data/lib/docusign_esign/models/update_transaction_response.rb +1 -1
  88. data/lib/docusign_esign/models/usage_history.rb +1 -1
  89. data/lib/docusign_esign/models/user.rb +27 -5
  90. data/lib/docusign_esign/models/user_info_response.rb +1 -1
  91. data/lib/docusign_esign/models/user_information.rb +1 -1
  92. data/lib/docusign_esign/models/user_signature.rb +14 -4
  93. data/lib/docusign_esign/models/view.rb +29 -1
  94. data/lib/docusign_esign/models/witness.rb +30 -1
  95. data/lib/docusign_esign/models/zip.rb +29 -1
  96. data/lib/docusign_esign/version.rb +1 -1
  97. data/tests/Gemfile.lock +1 -1
  98. metadata +20 -7
  99. data/Gemfile.lock +0 -73
  100. 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 Text
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
 
@@ -213,6 +218,8 @@ module DocuSign_eSign
213
218
 
214
219
  attr_accessor :shared_metadata
215
220
 
221
+ attr_accessor :smart_contract_information
222
+
216
223
  # 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.
217
224
  attr_accessor :status
218
225
 
@@ -297,6 +304,8 @@ module DocuSign_eSign
297
304
  # Attribute mapping from ruby-style variable name to JSON key.
298
305
  def self.attribute_map
299
306
  {
307
+ :'anchor_allow_white_space_in_characters' => :'anchorAllowWhiteSpaceInCharacters',
308
+ :'anchor_allow_white_space_in_characters_metadata' => :'anchorAllowWhiteSpaceInCharactersMetadata',
300
309
  :'anchor_case_sensitive' => :'anchorCaseSensitive',
301
310
  :'anchor_case_sensitive_metadata' => :'anchorCaseSensitiveMetadata',
302
311
  :'anchor_horizontal_alignment' => :'anchorHorizontalAlignment',
@@ -377,6 +386,7 @@ module DocuSign_eSign
377
386
  :'sender_required_metadata' => :'senderRequiredMetadata',
378
387
  :'shared' => :'shared',
379
388
  :'shared_metadata' => :'sharedMetadata',
389
+ :'smart_contract_information' => :'smartContractInformation',
380
390
  :'status' => :'status',
381
391
  :'status_metadata' => :'statusMetadata',
382
392
  :'tab_group_labels' => :'tabGroupLabels',
@@ -415,6 +425,8 @@ module DocuSign_eSign
415
425
  # Attribute type mapping.
416
426
  def self.swagger_types
417
427
  {
428
+ :'anchor_allow_white_space_in_characters' => :'String',
429
+ :'anchor_allow_white_space_in_characters_metadata' => :'PropertyMetadata',
418
430
  :'anchor_case_sensitive' => :'String',
419
431
  :'anchor_case_sensitive_metadata' => :'PropertyMetadata',
420
432
  :'anchor_horizontal_alignment' => :'String',
@@ -495,6 +507,7 @@ module DocuSign_eSign
495
507
  :'sender_required_metadata' => :'PropertyMetadata',
496
508
  :'shared' => :'String',
497
509
  :'shared_metadata' => :'PropertyMetadata',
510
+ :'smart_contract_information' => :'SmartContractInformation',
498
511
  :'status' => :'String',
499
512
  :'status_metadata' => :'PropertyMetadata',
500
513
  :'tab_group_labels' => :'Array<String>',
@@ -538,6 +551,14 @@ module DocuSign_eSign
538
551
  # convert string to symbol for hash key
539
552
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
540
553
 
554
+ if attributes.has_key?(:'anchorAllowWhiteSpaceInCharacters')
555
+ self.anchor_allow_white_space_in_characters = attributes[:'anchorAllowWhiteSpaceInCharacters']
556
+ end
557
+
558
+ if attributes.has_key?(:'anchorAllowWhiteSpaceInCharactersMetadata')
559
+ self.anchor_allow_white_space_in_characters_metadata = attributes[:'anchorAllowWhiteSpaceInCharactersMetadata']
560
+ end
561
+
541
562
  if attributes.has_key?(:'anchorCaseSensitive')
542
563
  self.anchor_case_sensitive = attributes[:'anchorCaseSensitive']
543
564
  end
@@ -858,6 +879,10 @@ module DocuSign_eSign
858
879
  self.shared_metadata = attributes[:'sharedMetadata']
859
880
  end
860
881
 
882
+ if attributes.has_key?(:'smartContractInformation')
883
+ self.smart_contract_information = attributes[:'smartContractInformation']
884
+ end
885
+
861
886
  if attributes.has_key?(:'status')
862
887
  self.status = attributes[:'status']
863
888
  end
@@ -1008,6 +1033,8 @@ module DocuSign_eSign
1008
1033
  def ==(o)
1009
1034
  return true if self.equal?(o)
1010
1035
  self.class == o.class &&
1036
+ anchor_allow_white_space_in_characters == o.anchor_allow_white_space_in_characters &&
1037
+ anchor_allow_white_space_in_characters_metadata == o.anchor_allow_white_space_in_characters_metadata &&
1011
1038
  anchor_case_sensitive == o.anchor_case_sensitive &&
1012
1039
  anchor_case_sensitive_metadata == o.anchor_case_sensitive_metadata &&
1013
1040
  anchor_horizontal_alignment == o.anchor_horizontal_alignment &&
@@ -1088,6 +1115,7 @@ module DocuSign_eSign
1088
1115
  sender_required_metadata == o.sender_required_metadata &&
1089
1116
  shared == o.shared &&
1090
1117
  shared_metadata == o.shared_metadata &&
1118
+ smart_contract_information == o.smart_contract_information &&
1091
1119
  status == o.status &&
1092
1120
  status_metadata == o.status_metadata &&
1093
1121
  tab_group_labels == o.tab_group_labels &&
@@ -1131,7 +1159,7 @@ module DocuSign_eSign
1131
1159
  # Calculates hash code according to all attributes.
1132
1160
  # @return [Fixnum] Hash code
1133
1161
  def hash
1134
- [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, conceal_value_on_document, conceal_value_on_document_metadata, conditional_parent_label, conditional_parent_label_metadata, conditional_parent_value, conditional_parent_value_metadata, custom_tab_id, custom_tab_id_metadata, disable_auto_size, disable_auto_size_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, formula, formula_metadata, height, height_metadata, is_payment_amount, is_payment_amount_metadata, italic, italic_metadata, locale_policy, locked, locked_metadata, max_length, max_length_metadata, merge_field, merge_field_xml, name, name_metadata, original_value, original_value_metadata, 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, validation_message, validation_message_metadata, validation_pattern, validation_pattern_metadata, value, value_metadata, width, width_metadata, x_position, x_position_metadata, y_position, y_position_metadata].hash
1162
+ [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, conceal_value_on_document, conceal_value_on_document_metadata, conditional_parent_label, conditional_parent_label_metadata, conditional_parent_value, conditional_parent_value_metadata, custom_tab_id, custom_tab_id_metadata, disable_auto_size, disable_auto_size_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, formula, formula_metadata, height, height_metadata, is_payment_amount, is_payment_amount_metadata, italic, italic_metadata, locale_policy, locked, locked_metadata, max_length, max_length_metadata, merge_field, merge_field_xml, name, name_metadata, original_value, original_value_metadata, 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, validation_message, validation_message_metadata, validation_pattern, validation_pattern_metadata, value, value_metadata, width, width_metadata, x_position, x_position_metadata, y_position, y_position_metadata].hash
1135
1163
  end
1136
1164
 
1137
1165
  # Builds the object from hash
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
5
5
 
6
- OpenAPI spec version: v2
6
+ OpenAPI spec version: v2.1
7
7
  Contact: devcenter@docusign.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -14,6 +14,11 @@ require 'date'
14
14
  module DocuSign_eSign
15
15
 
16
16
  class Title
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
 
@@ -183,6 +188,8 @@ module DocuSign_eSign
183
188
 
184
189
  attr_accessor :required_metadata
185
190
 
191
+ attr_accessor :smart_contract_information
192
+
186
193
  # 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.
187
194
  attr_accessor :status
188
195
 
@@ -257,6 +264,8 @@ module DocuSign_eSign
257
264
  # Attribute mapping from ruby-style variable name to JSON key.
258
265
  def self.attribute_map
259
266
  {
267
+ :'anchor_allow_white_space_in_characters' => :'anchorAllowWhiteSpaceInCharacters',
268
+ :'anchor_allow_white_space_in_characters_metadata' => :'anchorAllowWhiteSpaceInCharactersMetadata',
260
269
  :'anchor_case_sensitive' => :'anchorCaseSensitive',
261
270
  :'anchor_case_sensitive_metadata' => :'anchorCaseSensitiveMetadata',
262
271
  :'anchor_horizontal_alignment' => :'anchorHorizontalAlignment',
@@ -325,6 +334,7 @@ module DocuSign_eSign
325
334
  :'recipient_id_metadata' => :'recipientIdMetadata',
326
335
  :'required' => :'required',
327
336
  :'required_metadata' => :'requiredMetadata',
337
+ :'smart_contract_information' => :'smartContractInformation',
328
338
  :'status' => :'status',
329
339
  :'status_metadata' => :'statusMetadata',
330
340
  :'tab_group_labels' => :'tabGroupLabels',
@@ -359,6 +369,8 @@ module DocuSign_eSign
359
369
  # Attribute type mapping.
360
370
  def self.swagger_types
361
371
  {
372
+ :'anchor_allow_white_space_in_characters' => :'String',
373
+ :'anchor_allow_white_space_in_characters_metadata' => :'PropertyMetadata',
362
374
  :'anchor_case_sensitive' => :'String',
363
375
  :'anchor_case_sensitive_metadata' => :'PropertyMetadata',
364
376
  :'anchor_horizontal_alignment' => :'String',
@@ -427,6 +439,7 @@ module DocuSign_eSign
427
439
  :'recipient_id_metadata' => :'PropertyMetadata',
428
440
  :'required' => :'String',
429
441
  :'required_metadata' => :'PropertyMetadata',
442
+ :'smart_contract_information' => :'SmartContractInformation',
430
443
  :'status' => :'String',
431
444
  :'status_metadata' => :'PropertyMetadata',
432
445
  :'tab_group_labels' => :'Array<String>',
@@ -466,6 +479,14 @@ module DocuSign_eSign
466
479
  # convert string to symbol for hash key
467
480
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
468
481
 
482
+ if attributes.has_key?(:'anchorAllowWhiteSpaceInCharacters')
483
+ self.anchor_allow_white_space_in_characters = attributes[:'anchorAllowWhiteSpaceInCharacters']
484
+ end
485
+
486
+ if attributes.has_key?(:'anchorAllowWhiteSpaceInCharactersMetadata')
487
+ self.anchor_allow_white_space_in_characters_metadata = attributes[:'anchorAllowWhiteSpaceInCharactersMetadata']
488
+ end
489
+
469
490
  if attributes.has_key?(:'anchorCaseSensitive')
470
491
  self.anchor_case_sensitive = attributes[:'anchorCaseSensitive']
471
492
  end
@@ -738,6 +759,10 @@ module DocuSign_eSign
738
759
  self.required_metadata = attributes[:'requiredMetadata']
739
760
  end
740
761
 
762
+ if attributes.has_key?(:'smartContractInformation')
763
+ self.smart_contract_information = attributes[:'smartContractInformation']
764
+ end
765
+
741
766
  if attributes.has_key?(:'status')
742
767
  self.status = attributes[:'status']
743
768
  end
@@ -872,6 +897,8 @@ module DocuSign_eSign
872
897
  def ==(o)
873
898
  return true if self.equal?(o)
874
899
  self.class == o.class &&
900
+ anchor_allow_white_space_in_characters == o.anchor_allow_white_space_in_characters &&
901
+ anchor_allow_white_space_in_characters_metadata == o.anchor_allow_white_space_in_characters_metadata &&
875
902
  anchor_case_sensitive == o.anchor_case_sensitive &&
876
903
  anchor_case_sensitive_metadata == o.anchor_case_sensitive_metadata &&
877
904
  anchor_horizontal_alignment == o.anchor_horizontal_alignment &&
@@ -940,6 +967,7 @@ module DocuSign_eSign
940
967
  recipient_id_metadata == o.recipient_id_metadata &&
941
968
  required == o.required &&
942
969
  required_metadata == o.required_metadata &&
970
+ smart_contract_information == o.smart_contract_information &&
943
971
  status == o.status &&
944
972
  status_metadata == o.status_metadata &&
945
973
  tab_group_labels == o.tab_group_labels &&
@@ -979,7 +1007,7 @@ module DocuSign_eSign
979
1007
  # Calculates hash code according to all attributes.
980
1008
  # @return [Fixnum] Hash code
981
1009
  def hash
982
- [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, conceal_value_on_document, conceal_value_on_document_metadata, conditional_parent_label, conditional_parent_label_metadata, conditional_parent_value, conditional_parent_value_metadata, custom_tab_id, custom_tab_id_metadata, disable_auto_size, disable_auto_size_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, locale_policy, locked, locked_metadata, max_length, max_length_metadata, merge_field, merge_field_xml, name, name_metadata, original_value, original_value_metadata, 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_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
1010
+ [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, conceal_value_on_document, conceal_value_on_document_metadata, conditional_parent_label, conditional_parent_label_metadata, conditional_parent_value, conditional_parent_value_metadata, custom_tab_id, custom_tab_id_metadata, disable_auto_size, disable_auto_size_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, locale_policy, locked, locked_metadata, max_length, max_length_metadata, merge_field, merge_field_xml, name, name_metadata, original_value, original_value_metadata, 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_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
983
1011
  end
984
1012
 
985
1013
  # Builds the object from hash
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
5
5
 
6
- OpenAPI spec version: v2
6
+ OpenAPI spec version: v2.1
7
7
  Contact: devcenter@docusign.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
5
5
 
6
- OpenAPI spec version: v2
6
+ OpenAPI spec version: v2.1
7
7
  Contact: devcenter@docusign.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
5
5
 
6
- OpenAPI spec version: v2
6
+ OpenAPI spec version: v2.1
7
7
  Contact: devcenter@docusign.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
5
5
 
6
- OpenAPI spec version: v2
6
+ OpenAPI spec version: v2.1
7
7
  Contact: devcenter@docusign.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -12,7 +12,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
12
12
  require 'date'
13
13
 
14
14
  module DocuSign_eSign
15
- # A complex element consisting of: * lastSentDateTime - the date and time the user last sent an envelope. * lastSignedDateTime - the date and time the user last signed an envelope. * sentCount - the number of envelopes the user has sent. * signedCount - the number of envelopes the user has signed.
15
+ # A complex element consisting of: * lastSentDateTime – the date and time the user last sent an envelope. * lastSignedDateTime – the date and time the user last signed an envelope. * sentCount – the number of envelopes the user has sent. * signedCount – the number of envelopes the user has signed.
16
16
  class UsageHistory
17
17
  # The date and time the user last sent an envelope.
18
18
  attr_accessor :last_sent_date_time
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
5
5
 
6
- OpenAPI spec version: v2
6
+ OpenAPI spec version: v2.1
7
7
  Contact: devcenter@docusign.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -14,6 +14,9 @@ require 'date'
14
14
  module DocuSign_eSign
15
15
 
16
16
  class User
17
+ #
18
+ attr_accessor :cell_phone_number
19
+
17
20
  #
18
21
  attr_accessor :country_code
19
22
 
@@ -26,24 +29,31 @@ module DocuSign_eSign
26
29
  #
27
30
  attr_accessor :email
28
31
 
32
+ #
33
+ attr_accessor :external_claims
34
+
29
35
 
30
36
  # Attribute mapping from ruby-style variable name to JSON key.
31
37
  def self.attribute_map
32
38
  {
39
+ :'cell_phone_number' => :'cellPhoneNumber',
33
40
  :'country_code' => :'countryCode',
34
41
  :'credentials' => :'credentials',
35
42
  :'display_name' => :'displayName',
36
- :'email' => :'email'
43
+ :'email' => :'email',
44
+ :'external_claims' => :'externalClaims'
37
45
  }
38
46
  end
39
47
 
40
48
  # Attribute type mapping.
41
49
  def self.swagger_types
42
50
  {
51
+ :'cell_phone_number' => :'String',
43
52
  :'country_code' => :'String',
44
53
  :'credentials' => :'Array<Credential>',
45
54
  :'display_name' => :'String',
46
- :'email' => :'String'
55
+ :'email' => :'String',
56
+ :'external_claims' => :'Array<ExternalClaim>'
47
57
  }
48
58
  end
49
59
 
@@ -55,6 +65,10 @@ module DocuSign_eSign
55
65
  # convert string to symbol for hash key
56
66
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
57
67
 
68
+ if attributes.has_key?(:'cellPhoneNumber')
69
+ self.cell_phone_number = attributes[:'cellPhoneNumber']
70
+ end
71
+
58
72
  if attributes.has_key?(:'countryCode')
59
73
  self.country_code = attributes[:'countryCode']
60
74
  end
@@ -73,6 +87,12 @@ module DocuSign_eSign
73
87
  self.email = attributes[:'email']
74
88
  end
75
89
 
90
+ if attributes.has_key?(:'externalClaims')
91
+ if (value = attributes[:'externalClaims']).is_a?(Array)
92
+ self.external_claims = value
93
+ end
94
+ end
95
+
76
96
  end
77
97
 
78
98
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -93,10 +113,12 @@ module DocuSign_eSign
93
113
  def ==(o)
94
114
  return true if self.equal?(o)
95
115
  self.class == o.class &&
116
+ cell_phone_number == o.cell_phone_number &&
96
117
  country_code == o.country_code &&
97
118
  credentials == o.credentials &&
98
119
  display_name == o.display_name &&
99
- email == o.email
120
+ email == o.email &&
121
+ external_claims == o.external_claims
100
122
  end
101
123
 
102
124
  # @see the `==` method
@@ -108,7 +130,7 @@ module DocuSign_eSign
108
130
  # Calculates hash code according to all attributes.
109
131
  # @return [Fixnum] Hash code
110
132
  def hash
111
- [country_code, credentials, display_name, email].hash
133
+ [cell_phone_number, country_code, credentials, display_name, email, external_claims].hash
112
134
  end
113
135
 
114
136
  # Builds the object from hash
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
5
5
 
6
- OpenAPI spec version: v2
6
+ OpenAPI spec version: v2.1
7
7
  Contact: devcenter@docusign.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
 
@@ -48,7 +48,7 @@ module DocuSign_eSign
48
48
 
49
49
  attr_accessor :forgotten_password_info
50
50
 
51
- # A list of the group information for groups to add the user to. Group information can be found by calling [ML:GET group information]. The only required parameter is groupId. The parameters are: * groupId - The DocuSign group ID for the group. * groupName - The name of the group * permissionProfileId - The ID of the permission profile associated with the group. * groupType - The group type.
51
+ # A list of the group information for groups to add the user to. Group information can be found by calling [ML:GET group information]. The only required parameter is groupId. The parameters are: * groupId – The DocuSign group ID for the group. * groupName – The name of the group * permissionProfileId – The ID of the permission profile associated with the group. * groupType – The group type.
52
52
  attr_accessor :group_list
53
53
 
54
54
  attr_accessor :home_address
@@ -99,6 +99,9 @@ module DocuSign_eSign
99
99
  #
100
100
  attr_accessor :stamp_type
101
101
 
102
+ # 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.
103
+ attr_accessor :status
104
+
102
105
 
103
106
  # Attribute mapping from ruby-style variable name to JSON key.
104
107
  def self.attribute_map
@@ -131,7 +134,8 @@ module DocuSign_eSign
131
134
  :'stamp_format' => :'stampFormat',
132
135
  :'stamp_image_uri' => :'stampImageUri',
133
136
  :'stamp_size_mm' => :'stampSizeMM',
134
- :'stamp_type' => :'stampType'
137
+ :'stamp_type' => :'stampType',
138
+ :'status' => :'status'
135
139
  }
136
140
  end
137
141
 
@@ -166,7 +170,8 @@ module DocuSign_eSign
166
170
  :'stamp_format' => :'String',
167
171
  :'stamp_image_uri' => :'String',
168
172
  :'stamp_size_mm' => :'String',
169
- :'stamp_type' => :'String'
173
+ :'stamp_type' => :'String',
174
+ :'status' => :'String'
170
175
  }
171
176
  end
172
177
 
@@ -294,6 +299,10 @@ module DocuSign_eSign
294
299
  self.stamp_type = attributes[:'stampType']
295
300
  end
296
301
 
302
+ if attributes.has_key?(:'status')
303
+ self.status = attributes[:'status']
304
+ end
305
+
297
306
  end
298
307
 
299
308
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -342,7 +351,8 @@ module DocuSign_eSign
342
351
  stamp_format == o.stamp_format &&
343
352
  stamp_image_uri == o.stamp_image_uri &&
344
353
  stamp_size_mm == o.stamp_size_mm &&
345
- stamp_type == o.stamp_type
354
+ stamp_type == o.stamp_type &&
355
+ status == o.status
346
356
  end
347
357
 
348
358
  # @see the `==` method
@@ -354,7 +364,7 @@ module DocuSign_eSign
354
364
  # Calculates hash code according to all attributes.
355
365
  # @return [Fixnum] Hash code
356
366
  def hash
357
- [adopted_date_time, created_date_time, custom_field, date_stamp_properties, disallow_user_resize_stamp, error_details, external_id, image_base64, image_type, initials150_image_id, initials_image_uri, is_default, last_modified_date_time, nrds_id, nrds_last_name, nrds_status, phonetic_name, signature150_image_id, signature_font, signature_id, signature_image_uri, signature_initials, signature_name, signature_rights, signature_type, stamp_format, stamp_image_uri, stamp_size_mm, stamp_type].hash
367
+ [adopted_date_time, created_date_time, custom_field, date_stamp_properties, disallow_user_resize_stamp, error_details, external_id, image_base64, image_type, initials150_image_id, initials_image_uri, is_default, last_modified_date_time, nrds_id, nrds_last_name, nrds_status, phonetic_name, signature150_image_id, signature_font, signature_id, signature_image_uri, signature_initials, signature_name, signature_rights, signature_type, stamp_format, stamp_image_uri, stamp_size_mm, stamp_type, status].hash
358
368
  end
359
369
 
360
370
  # Builds the object from hash
@@ -14,6 +14,11 @@ require 'date'
14
14
  module DocuSign_eSign
15
15
 
16
16
  class View
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
 
@@ -161,6 +166,8 @@ module DocuSign_eSign
161
166
  #
162
167
  attr_accessor :required_read
163
168
 
169
+ attr_accessor :smart_contract_information
170
+
164
171
  # 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.
165
172
  attr_accessor :status
166
173
 
@@ -230,6 +237,8 @@ module DocuSign_eSign
230
237
  # Attribute mapping from ruby-style variable name to JSON key.
231
238
  def self.attribute_map
232
239
  {
240
+ :'anchor_allow_white_space_in_characters' => :'anchorAllowWhiteSpaceInCharacters',
241
+ :'anchor_allow_white_space_in_characters_metadata' => :'anchorAllowWhiteSpaceInCharactersMetadata',
233
242
  :'anchor_case_sensitive' => :'anchorCaseSensitive',
234
243
  :'anchor_case_sensitive_metadata' => :'anchorCaseSensitiveMetadata',
235
244
  :'anchor_horizontal_alignment' => :'anchorHorizontalAlignment',
@@ -289,6 +298,7 @@ module DocuSign_eSign
289
298
  :'required' => :'required',
290
299
  :'required_metadata' => :'requiredMetadata',
291
300
  :'required_read' => :'requiredRead',
301
+ :'smart_contract_information' => :'smartContractInformation',
292
302
  :'status' => :'status',
293
303
  :'status_metadata' => :'statusMetadata',
294
304
  :'tab_group_labels' => :'tabGroupLabels',
@@ -321,6 +331,8 @@ module DocuSign_eSign
321
331
  # Attribute type mapping.
322
332
  def self.swagger_types
323
333
  {
334
+ :'anchor_allow_white_space_in_characters' => :'String',
335
+ :'anchor_allow_white_space_in_characters_metadata' => :'PropertyMetadata',
324
336
  :'anchor_case_sensitive' => :'String',
325
337
  :'anchor_case_sensitive_metadata' => :'PropertyMetadata',
326
338
  :'anchor_horizontal_alignment' => :'String',
@@ -380,6 +392,7 @@ module DocuSign_eSign
380
392
  :'required' => :'String',
381
393
  :'required_metadata' => :'PropertyMetadata',
382
394
  :'required_read' => :'String',
395
+ :'smart_contract_information' => :'SmartContractInformation',
383
396
  :'status' => :'String',
384
397
  :'status_metadata' => :'PropertyMetadata',
385
398
  :'tab_group_labels' => :'Array<String>',
@@ -417,6 +430,14 @@ module DocuSign_eSign
417
430
  # convert string to symbol for hash key
418
431
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
419
432
 
433
+ if attributes.has_key?(:'anchorAllowWhiteSpaceInCharacters')
434
+ self.anchor_allow_white_space_in_characters = attributes[:'anchorAllowWhiteSpaceInCharacters']
435
+ end
436
+
437
+ if attributes.has_key?(:'anchorAllowWhiteSpaceInCharactersMetadata')
438
+ self.anchor_allow_white_space_in_characters_metadata = attributes[:'anchorAllowWhiteSpaceInCharactersMetadata']
439
+ end
440
+
420
441
  if attributes.has_key?(:'anchorCaseSensitive')
421
442
  self.anchor_case_sensitive = attributes[:'anchorCaseSensitive']
422
443
  end
@@ -653,6 +674,10 @@ module DocuSign_eSign
653
674
  self.required_read = attributes[:'requiredRead']
654
675
  end
655
676
 
677
+ if attributes.has_key?(:'smartContractInformation')
678
+ self.smart_contract_information = attributes[:'smartContractInformation']
679
+ end
680
+
656
681
  if attributes.has_key?(:'status')
657
682
  self.status = attributes[:'status']
658
683
  end
@@ -779,6 +804,8 @@ module DocuSign_eSign
779
804
  def ==(o)
780
805
  return true if self.equal?(o)
781
806
  self.class == o.class &&
807
+ anchor_allow_white_space_in_characters == o.anchor_allow_white_space_in_characters &&
808
+ anchor_allow_white_space_in_characters_metadata == o.anchor_allow_white_space_in_characters_metadata &&
782
809
  anchor_case_sensitive == o.anchor_case_sensitive &&
783
810
  anchor_case_sensitive_metadata == o.anchor_case_sensitive_metadata &&
784
811
  anchor_horizontal_alignment == o.anchor_horizontal_alignment &&
@@ -838,6 +865,7 @@ module DocuSign_eSign
838
865
  required == o.required &&
839
866
  required_metadata == o.required_metadata &&
840
867
  required_read == o.required_read &&
868
+ smart_contract_information == o.smart_contract_information &&
841
869
  status == o.status &&
842
870
  status_metadata == o.status_metadata &&
843
871
  tab_group_labels == o.tab_group_labels &&
@@ -875,7 +903,7 @@ module DocuSign_eSign
875
903
  # Calculates hash code according to all attributes.
876
904
  # @return [Fixnum] Hash code
877
905
  def hash
878
- [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, button_text, button_text_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, locale_policy, 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, required_read, 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, width, width_metadata, x_position, x_position_metadata, y_position, y_position_metadata].hash
906
+ [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, button_text, button_text_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, locale_policy, 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, required_read, 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, width, width_metadata, x_position, x_position_metadata, y_position, y_position_metadata].hash
879
907
  end
880
908
 
881
909
  # Builds the object from hash