docusign_esign 3.16.0 → 3.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/lib/docusign_esign/api/accounts_api.rb +15 -66
  4. data/lib/docusign_esign/api/envelopes_api.rb +6 -6
  5. data/lib/docusign_esign/client/api_client.rb +1 -1
  6. data/lib/docusign_esign/models/account_role_settings.rb +20 -1
  7. data/lib/docusign_esign/models/account_settings_information.rb +82 -3
  8. data/lib/docusign_esign/models/account_ui_settings.rb +13 -13
  9. data/lib/docusign_esign/models/approve.rb +20 -1
  10. data/lib/docusign_esign/models/billing_invoices_summary.rb +21 -1
  11. data/lib/docusign_esign/models/billing_plan_information.rb +21 -1
  12. data/lib/docusign_esign/models/bulk_send_batch_status.rb +11 -1
  13. data/lib/docusign_esign/models/bulk_send_envelopes_info.rb +101 -1
  14. data/lib/docusign_esign/models/bulk_send_error_status.rb +11 -1
  15. data/lib/docusign_esign/models/checkbox.rb +20 -1
  16. data/lib/docusign_esign/models/comment_thread.rb +20 -1
  17. data/lib/docusign_esign/models/commission_county.rb +20 -1
  18. data/lib/docusign_esign/models/commission_expiration.rb +20 -1
  19. data/lib/docusign_esign/models/commission_number.rb +20 -1
  20. data/lib/docusign_esign/models/commission_state.rb +20 -1
  21. data/lib/docusign_esign/models/company.rb +20 -1
  22. data/lib/docusign_esign/models/connect_custom_configuration.rb +23 -1
  23. data/lib/docusign_esign/models/currency.rb +20 -1
  24. data/lib/docusign_esign/models/date.rb +20 -1
  25. data/lib/docusign_esign/models/date_signed.rb +20 -1
  26. data/lib/docusign_esign/models/decline.rb +20 -1
  27. data/lib/docusign_esign/models/draw.rb +20 -1
  28. data/lib/docusign_esign/models/email.rb +20 -1
  29. data/lib/docusign_esign/models/email_address.rb +20 -1
  30. data/lib/docusign_esign/models/envelope_id.rb +20 -1
  31. data/lib/docusign_esign/models/first_name.rb +20 -1
  32. data/lib/docusign_esign/models/formula_tab.rb +20 -1
  33. data/lib/docusign_esign/models/full_name.rb +20 -1
  34. data/lib/docusign_esign/models/id_evidence_resource_token.rb +194 -0
  35. data/lib/docusign_esign/models/id_evidence_view_link.rb +184 -0
  36. data/lib/docusign_esign/models/initial_here.rb +20 -1
  37. data/lib/docusign_esign/models/last_name.rb +20 -1
  38. data/lib/docusign_esign/models/list.rb +20 -1
  39. data/lib/docusign_esign/models/new_account_definition.rb +21 -1
  40. data/lib/docusign_esign/models/notarize.rb +20 -1
  41. data/lib/docusign_esign/models/notary_seal.rb +20 -1
  42. data/lib/docusign_esign/models/note.rb +20 -1
  43. data/lib/docusign_esign/models/number.rb +20 -1
  44. data/lib/docusign_esign/models/participant.rb +896 -0
  45. data/lib/docusign_esign/models/phone_number.rb +20 -1
  46. data/lib/docusign_esign/models/poly_line_overlay.rb +20 -1
  47. data/lib/docusign_esign/models/radio.rb +20 -1
  48. data/lib/docusign_esign/models/recipient_token_client_ur_ls.rb +102 -2
  49. data/lib/docusign_esign/models/recipients.rb +13 -1
  50. data/lib/docusign_esign/models/sender_company.rb +20 -1
  51. data/lib/docusign_esign/models/sender_name.rb +20 -1
  52. data/lib/docusign_esign/models/sign_here.rb +20 -1
  53. data/lib/docusign_esign/models/signer_attachment.rb +20 -1
  54. data/lib/docusign_esign/models/smart_section.rb +20 -1
  55. data/lib/docusign_esign/models/ssn.rb +20 -1
  56. data/lib/docusign_esign/models/tab_group.rb +20 -1
  57. data/lib/docusign_esign/models/template_recipients.rb +13 -1
  58. data/lib/docusign_esign/models/text.rb +20 -1
  59. data/lib/docusign_esign/models/title.rb +20 -1
  60. data/lib/docusign_esign/models/user_settings_information.rb +20 -1
  61. data/lib/docusign_esign/models/view.rb +20 -1
  62. data/lib/docusign_esign/models/zip.rb +20 -1
  63. data/lib/docusign_esign/version.rb +1 -1
  64. data/lib/docusign_esign.rb +3 -3
  65. data/tests/spec/unit_tests_using_jwt_spec.rb +4 -4
  66. metadata +5 -2
@@ -38,9 +38,9 @@ module DocuSign_eSign
38
38
  attr_accessor :enable_envelope_copy_with_data_metadata
39
39
 
40
40
  #
41
- attr_accessor :enable_legacy_homepage_link
41
+ attr_accessor :enable_legacy_sendflow_link
42
42
 
43
- attr_accessor :enable_legacy_homepage_link_metadata
43
+ attr_accessor :enable_legacy_sendflow_link_metadata
44
44
 
45
45
  #
46
46
  attr_accessor :has_external_linked_accounts
@@ -95,8 +95,8 @@ module DocuSign_eSign
95
95
  :'enable_easy_sign_template_upload_metadata' => :'enableEasySignTemplateUploadMetadata',
96
96
  :'enable_envelope_copy_with_data' => :'enableEnvelopeCopyWithData',
97
97
  :'enable_envelope_copy_with_data_metadata' => :'enableEnvelopeCopyWithDataMetadata',
98
- :'enable_legacy_homepage_link' => :'enableLegacyHomepageLink',
99
- :'enable_legacy_homepage_link_metadata' => :'enableLegacyHomepageLinkMetadata',
98
+ :'enable_legacy_sendflow_link' => :'enableLegacySendflowLink',
99
+ :'enable_legacy_sendflow_link_metadata' => :'enableLegacySendflowLinkMetadata',
100
100
  :'has_external_linked_accounts' => :'hasExternalLinkedAccounts',
101
101
  :'has_external_linked_accounts_metadata' => :'hasExternalLinkedAccountsMetadata',
102
102
  :'hide_send_an_envelope' => :'hideSendAnEnvelope',
@@ -129,8 +129,8 @@ module DocuSign_eSign
129
129
  :'enable_easy_sign_template_upload_metadata' => :'SettingsMetadata',
130
130
  :'enable_envelope_copy_with_data' => :'String',
131
131
  :'enable_envelope_copy_with_data_metadata' => :'SettingsMetadata',
132
- :'enable_legacy_homepage_link' => :'String',
133
- :'enable_legacy_homepage_link_metadata' => :'SettingsMetadata',
132
+ :'enable_legacy_sendflow_link' => :'String',
133
+ :'enable_legacy_sendflow_link_metadata' => :'SettingsMetadata',
134
134
  :'has_external_linked_accounts' => :'String',
135
135
  :'has_external_linked_accounts_metadata' => :'SettingsMetadata',
136
136
  :'hide_send_an_envelope' => :'String',
@@ -198,12 +198,12 @@ module DocuSign_eSign
198
198
  self.enable_envelope_copy_with_data_metadata = attributes[:'enableEnvelopeCopyWithDataMetadata']
199
199
  end
200
200
 
201
- if attributes.has_key?(:'enableLegacyHomepageLink')
202
- self.enable_legacy_homepage_link = attributes[:'enableLegacyHomepageLink']
201
+ if attributes.has_key?(:'enableLegacySendflowLink')
202
+ self.enable_legacy_sendflow_link = attributes[:'enableLegacySendflowLink']
203
203
  end
204
204
 
205
- if attributes.has_key?(:'enableLegacyHomepageLinkMetadata')
206
- self.enable_legacy_homepage_link_metadata = attributes[:'enableLegacyHomepageLinkMetadata']
205
+ if attributes.has_key?(:'enableLegacySendflowLinkMetadata')
206
+ self.enable_legacy_sendflow_link_metadata = attributes[:'enableLegacySendflowLinkMetadata']
207
207
  end
208
208
 
209
209
  if attributes.has_key?(:'hasExternalLinkedAccounts')
@@ -299,8 +299,8 @@ module DocuSign_eSign
299
299
  enable_easy_sign_template_upload_metadata == o.enable_easy_sign_template_upload_metadata &&
300
300
  enable_envelope_copy_with_data == o.enable_envelope_copy_with_data &&
301
301
  enable_envelope_copy_with_data_metadata == o.enable_envelope_copy_with_data_metadata &&
302
- enable_legacy_homepage_link == o.enable_legacy_homepage_link &&
303
- enable_legacy_homepage_link_metadata == o.enable_legacy_homepage_link_metadata &&
302
+ enable_legacy_sendflow_link == o.enable_legacy_sendflow_link &&
303
+ enable_legacy_sendflow_link_metadata == o.enable_legacy_sendflow_link_metadata &&
304
304
  has_external_linked_accounts == o.has_external_linked_accounts &&
305
305
  has_external_linked_accounts_metadata == o.has_external_linked_accounts_metadata &&
306
306
  hide_send_an_envelope == o.hide_send_an_envelope &&
@@ -328,7 +328,7 @@ module DocuSign_eSign
328
328
  # Calculates hash code according to all attributes.
329
329
  # @return [Fixnum] Hash code
330
330
  def hash
331
- [admin_message, ask_an_admin, enable_admin_message, enable_admin_message_metadata, enable_easy_sign_can_use_multi_template_apply, enable_easy_sign_can_use_multi_template_apply_metadata, enable_easy_sign_template_upload, enable_easy_sign_template_upload_metadata, enable_envelope_copy_with_data, enable_envelope_copy_with_data_metadata, enable_legacy_homepage_link, enable_legacy_homepage_link_metadata, has_external_linked_accounts, has_external_linked_accounts_metadata, hide_send_an_envelope, hide_send_an_envelope_metadata, hide_use_a_template, hide_use_a_template_in_prepare, hide_use_a_template_in_prepare_metadata, hide_use_a_template_metadata, order_based_recipient_id_generation, order_based_recipient_id_generation_metadata, remove_envelope_forwarding, remove_envelope_forwarding_metadata, should_redact_access_code, should_redact_access_code_metadata, upload_new_image_to_sign_or_initial, upload_new_image_to_sign_or_initial_metadata].hash
331
+ [admin_message, ask_an_admin, enable_admin_message, enable_admin_message_metadata, enable_easy_sign_can_use_multi_template_apply, enable_easy_sign_can_use_multi_template_apply_metadata, enable_easy_sign_template_upload, enable_easy_sign_template_upload_metadata, enable_envelope_copy_with_data, enable_envelope_copy_with_data_metadata, enable_legacy_sendflow_link, enable_legacy_sendflow_link_metadata, has_external_linked_accounts, has_external_linked_accounts_metadata, hide_send_an_envelope, hide_send_an_envelope_metadata, hide_use_a_template, hide_use_a_template_in_prepare, hide_use_a_template_in_prepare_metadata, hide_use_a_template_metadata, order_based_recipient_id_generation, order_based_recipient_id_generation_metadata, remove_envelope_forwarding, remove_envelope_forwarding_metadata, should_redact_access_code, should_redact_access_code_metadata, upload_new_image_to_sign_or_initial, upload_new_image_to_sign_or_initial_metadata].hash
332
332
  end
333
333
 
334
334
  # Builds the object from hash
@@ -73,6 +73,11 @@ module DocuSign_eSign
73
73
 
74
74
  attr_accessor :button_text_metadata
75
75
 
76
+ #
77
+ attr_accessor :caption
78
+
79
+ attr_accessor :caption_metadata
80
+
76
81
  # For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.
77
82
  attr_accessor :conditional_parent_label
78
83
 
@@ -254,6 +259,8 @@ module DocuSign_eSign
254
259
  :'bold_metadata' => :'boldMetadata',
255
260
  :'button_text' => :'buttonText',
256
261
  :'button_text_metadata' => :'buttonTextMetadata',
262
+ :'caption' => :'caption',
263
+ :'caption_metadata' => :'captionMetadata',
257
264
  :'conditional_parent_label' => :'conditionalParentLabel',
258
265
  :'conditional_parent_label_metadata' => :'conditionalParentLabelMetadata',
259
266
  :'conditional_parent_value' => :'conditionalParentValue',
@@ -346,6 +353,8 @@ module DocuSign_eSign
346
353
  :'bold_metadata' => :'PropertyMetadata',
347
354
  :'button_text' => :'String',
348
355
  :'button_text_metadata' => :'PropertyMetadata',
356
+ :'caption' => :'String',
357
+ :'caption_metadata' => :'PropertyMetadata',
349
358
  :'conditional_parent_label' => :'String',
350
359
  :'conditional_parent_label_metadata' => :'PropertyMetadata',
351
360
  :'conditional_parent_value' => :'String',
@@ -515,6 +524,14 @@ module DocuSign_eSign
515
524
  self.button_text_metadata = attributes[:'buttonTextMetadata']
516
525
  end
517
526
 
527
+ if attributes.has_key?(:'caption')
528
+ self.caption = attributes[:'caption']
529
+ end
530
+
531
+ if attributes.has_key?(:'captionMetadata')
532
+ self.caption_metadata = attributes[:'captionMetadata']
533
+ end
534
+
518
535
  if attributes.has_key?(:'conditionalParentLabel')
519
536
  self.conditional_parent_label = attributes[:'conditionalParentLabel']
520
537
  end
@@ -808,6 +825,8 @@ module DocuSign_eSign
808
825
  bold_metadata == o.bold_metadata &&
809
826
  button_text == o.button_text &&
810
827
  button_text_metadata == o.button_text_metadata &&
828
+ caption == o.caption &&
829
+ caption_metadata == o.caption_metadata &&
811
830
  conditional_parent_label == o.conditional_parent_label &&
812
831
  conditional_parent_label_metadata == o.conditional_parent_label_metadata &&
813
832
  conditional_parent_value == o.conditional_parent_value &&
@@ -881,7 +900,7 @@ module DocuSign_eSign
881
900
  # Calculates hash code according to all attributes.
882
901
  # @return [Fixnum] Hash code
883
902
  def hash
884
- [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, 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, underline, underline_metadata, width, width_metadata, x_position, x_position_metadata, y_position, y_position_metadata].hash
903
+ [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, caption, caption_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, 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, underline, underline_metadata, width, width_metadata, x_position, x_position_metadata, y_position, y_position_metadata].hash
885
904
  end
886
905
 
887
906
  # Builds the object from hash
@@ -13,9 +13,15 @@ require 'date'
13
13
 
14
14
  module DocuSign_eSign
15
15
  class BillingInvoicesSummary
16
+ #
17
+ attr_accessor :account_balance
18
+
16
19
  # Reserved: TBD
17
20
  attr_accessor :billing_invoices
18
21
 
22
+ #
23
+ attr_accessor :currency_code
24
+
19
25
  #
20
26
  attr_accessor :past_due_balance
21
27
 
@@ -25,7 +31,9 @@ module DocuSign_eSign
25
31
  # Attribute mapping from ruby-style variable name to JSON key.
26
32
  def self.attribute_map
27
33
  {
34
+ :'account_balance' => :'accountBalance',
28
35
  :'billing_invoices' => :'billingInvoices',
36
+ :'currency_code' => :'currencyCode',
29
37
  :'past_due_balance' => :'pastDueBalance',
30
38
  :'payment_allowed' => :'paymentAllowed'
31
39
  }
@@ -34,7 +42,9 @@ module DocuSign_eSign
34
42
  # Attribute type mapping.
35
43
  def self.swagger_types
36
44
  {
45
+ :'account_balance' => :'String',
37
46
  :'billing_invoices' => :'Array<BillingInvoice>',
47
+ :'currency_code' => :'String',
38
48
  :'past_due_balance' => :'String',
39
49
  :'payment_allowed' => :'String'
40
50
  }
@@ -48,12 +58,20 @@ module DocuSign_eSign
48
58
  # convert string to symbol for hash key
49
59
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
50
60
 
61
+ if attributes.has_key?(:'accountBalance')
62
+ self.account_balance = attributes[:'accountBalance']
63
+ end
64
+
51
65
  if attributes.has_key?(:'billingInvoices')
52
66
  if (value = attributes[:'billingInvoices']).is_a?(Array)
53
67
  self.billing_invoices = value
54
68
  end
55
69
  end
56
70
 
71
+ if attributes.has_key?(:'currencyCode')
72
+ self.currency_code = attributes[:'currencyCode']
73
+ end
74
+
57
75
  if attributes.has_key?(:'pastDueBalance')
58
76
  self.past_due_balance = attributes[:'pastDueBalance']
59
77
  end
@@ -81,7 +99,9 @@ module DocuSign_eSign
81
99
  def ==(o)
82
100
  return true if self.equal?(o)
83
101
  self.class == o.class &&
102
+ account_balance == o.account_balance &&
84
103
  billing_invoices == o.billing_invoices &&
104
+ currency_code == o.currency_code &&
85
105
  past_due_balance == o.past_due_balance &&
86
106
  payment_allowed == o.payment_allowed
87
107
  end
@@ -95,7 +115,7 @@ module DocuSign_eSign
95
115
  # Calculates hash code according to all attributes.
96
116
  # @return [Fixnum] Hash code
97
117
  def hash
98
- [billing_invoices, past_due_balance, payment_allowed].hash
118
+ [account_balance, billing_invoices, currency_code, past_due_balance, payment_allowed].hash
99
119
  end
100
120
 
101
121
  # Builds the object from hash
@@ -24,6 +24,9 @@ module DocuSign_eSign
24
24
  #
25
25
  attr_accessor :downgrade_reason
26
26
 
27
+ #
28
+ attr_accessor :enable_pre_auth
29
+
27
30
  #
28
31
  attr_accessor :enable_support
29
32
 
@@ -40,6 +43,9 @@ module DocuSign_eSign
40
43
 
41
44
  attr_accessor :plan_information
42
45
 
46
+ #
47
+ attr_accessor :process_payment
48
+
43
49
  attr_accessor :referral_information
44
50
 
45
51
  #
@@ -71,12 +77,14 @@ module DocuSign_eSign
71
77
  :'credit_card_information' => :'creditCardInformation',
72
78
  :'direct_debit_processor_information' => :'directDebitProcessorInformation',
73
79
  :'downgrade_reason' => :'downgradeReason',
80
+ :'enable_pre_auth' => :'enablePreAuth',
74
81
  :'enable_support' => :'enableSupport',
75
82
  :'included_seats' => :'includedSeats',
76
83
  :'incremental_seats' => :'incrementalSeats',
77
84
  :'payment_method' => :'paymentMethod',
78
85
  :'payment_processor_information' => :'paymentProcessorInformation',
79
86
  :'plan_information' => :'planInformation',
87
+ :'process_payment' => :'processPayment',
80
88
  :'referral_information' => :'referralInformation',
81
89
  :'renewal_status' => :'renewalStatus',
82
90
  :'sale_discount_amount' => :'saleDiscountAmount',
@@ -96,12 +104,14 @@ module DocuSign_eSign
96
104
  :'credit_card_information' => :'CreditCardInformation',
97
105
  :'direct_debit_processor_information' => :'DirectDebitProcessorInformation',
98
106
  :'downgrade_reason' => :'String',
107
+ :'enable_pre_auth' => :'String',
99
108
  :'enable_support' => :'String',
100
109
  :'included_seats' => :'String',
101
110
  :'incremental_seats' => :'String',
102
111
  :'payment_method' => :'String',
103
112
  :'payment_processor_information' => :'PaymentProcessorInformation',
104
113
  :'plan_information' => :'PlanInformation',
114
+ :'process_payment' => :'String',
105
115
  :'referral_information' => :'ReferralInformation',
106
116
  :'renewal_status' => :'String',
107
117
  :'sale_discount_amount' => :'String',
@@ -141,6 +151,10 @@ module DocuSign_eSign
141
151
  self.downgrade_reason = attributes[:'downgradeReason']
142
152
  end
143
153
 
154
+ if attributes.has_key?(:'enablePreAuth')
155
+ self.enable_pre_auth = attributes[:'enablePreAuth']
156
+ end
157
+
144
158
  if attributes.has_key?(:'enableSupport')
145
159
  self.enable_support = attributes[:'enableSupport']
146
160
  end
@@ -165,6 +179,10 @@ module DocuSign_eSign
165
179
  self.plan_information = attributes[:'planInformation']
166
180
  end
167
181
 
182
+ if attributes.has_key?(:'processPayment')
183
+ self.process_payment = attributes[:'processPayment']
184
+ end
185
+
168
186
  if attributes.has_key?(:'referralInformation')
169
187
  self.referral_information = attributes[:'referralInformation']
170
188
  end
@@ -221,12 +239,14 @@ module DocuSign_eSign
221
239
  credit_card_information == o.credit_card_information &&
222
240
  direct_debit_processor_information == o.direct_debit_processor_information &&
223
241
  downgrade_reason == o.downgrade_reason &&
242
+ enable_pre_auth == o.enable_pre_auth &&
224
243
  enable_support == o.enable_support &&
225
244
  included_seats == o.included_seats &&
226
245
  incremental_seats == o.incremental_seats &&
227
246
  payment_method == o.payment_method &&
228
247
  payment_processor_information == o.payment_processor_information &&
229
248
  plan_information == o.plan_information &&
249
+ process_payment == o.process_payment &&
230
250
  referral_information == o.referral_information &&
231
251
  renewal_status == o.renewal_status &&
232
252
  sale_discount_amount == o.sale_discount_amount &&
@@ -246,7 +266,7 @@ module DocuSign_eSign
246
266
  # Calculates hash code according to all attributes.
247
267
  # @return [Fixnum] Hash code
248
268
  def hash
249
- [app_store_receipt, billing_address, credit_card_information, direct_debit_processor_information, downgrade_reason, enable_support, included_seats, incremental_seats, payment_method, payment_processor_information, plan_information, referral_information, renewal_status, sale_discount_amount, sale_discount_fixed_amount, sale_discount_percent, sale_discount_periods, sale_discount_seat_price_override, tax_exempt_id].hash
269
+ [app_store_receipt, billing_address, credit_card_information, direct_debit_processor_information, downgrade_reason, enable_pre_auth, enable_support, included_seats, incremental_seats, payment_method, payment_processor_information, plan_information, process_payment, referral_information, renewal_status, sale_discount_amount, sale_discount_fixed_amount, sale_discount_percent, sale_discount_periods, sale_discount_seat_price_override, tax_exempt_id].hash
250
270
  end
251
271
 
252
272
  # Builds the object from hash
@@ -54,6 +54,9 @@ module DocuSign_eSign
54
54
  #
55
55
  attr_accessor :queued
56
56
 
57
+ #
58
+ attr_accessor :resends_remaining
59
+
57
60
  #
58
61
  attr_accessor :sender_user_id
59
62
 
@@ -80,6 +83,7 @@ module DocuSign_eSign
80
83
  :'mailing_list_name' => :'mailingListName',
81
84
  :'owner_user_id' => :'ownerUserId',
82
85
  :'queued' => :'queued',
86
+ :'resends_remaining' => :'resendsRemaining',
83
87
  :'sender_user_id' => :'senderUserId',
84
88
  :'sent' => :'sent',
85
89
  :'submitted_date' => :'submittedDate'
@@ -103,6 +107,7 @@ module DocuSign_eSign
103
107
  :'mailing_list_name' => :'String',
104
108
  :'owner_user_id' => :'String',
105
109
  :'queued' => :'String',
110
+ :'resends_remaining' => :'String',
106
111
  :'sender_user_id' => :'String',
107
112
  :'sent' => :'String',
108
113
  :'submitted_date' => :'String'
@@ -175,6 +180,10 @@ module DocuSign_eSign
175
180
  self.queued = attributes[:'queued']
176
181
  end
177
182
 
183
+ if attributes.has_key?(:'resendsRemaining')
184
+ self.resends_remaining = attributes[:'resendsRemaining']
185
+ end
186
+
178
187
  if attributes.has_key?(:'senderUserId')
179
188
  self.sender_user_id = attributes[:'senderUserId']
180
189
  end
@@ -220,6 +229,7 @@ module DocuSign_eSign
220
229
  mailing_list_name == o.mailing_list_name &&
221
230
  owner_user_id == o.owner_user_id &&
222
231
  queued == o.queued &&
232
+ resends_remaining == o.resends_remaining &&
223
233
  sender_user_id == o.sender_user_id &&
224
234
  sent == o.sent &&
225
235
  submitted_date == o.submitted_date
@@ -234,7 +244,7 @@ module DocuSign_eSign
234
244
  # Calculates hash code according to all attributes.
235
245
  # @return [Fixnum] Hash code
236
246
  def hash
237
- [action, action_status, batch_id, batch_name, batch_size, bulk_errors, envelope_id_or_template_id, envelopes_info, envelopes_uri, failed, mailing_list_id, mailing_list_name, owner_user_id, queued, sender_user_id, sent, submitted_date].hash
247
+ [action, action_status, batch_id, batch_name, batch_size, bulk_errors, envelope_id_or_template_id, envelopes_info, envelopes_uri, failed, mailing_list_id, mailing_list_name, owner_user_id, queued, resends_remaining, sender_user_id, sent, submitted_date].hash
238
248
  end
239
249
 
240
250
  # Builds the object from hash
@@ -13,20 +13,60 @@ require 'date'
13
13
 
14
14
  module DocuSign_eSign
15
15
  class BulkSendEnvelopesInfo
16
+ # Specifies the Authoritative copy feature. If set to true the Authoritative copy feature is enabled.
17
+ attr_accessor :authoritative_copy
18
+
16
19
  #
17
20
  attr_accessor :completed
18
21
 
22
+ #
23
+ attr_accessor :correct
24
+
25
+ #
26
+ attr_accessor :created
27
+
19
28
  #
20
29
  attr_accessor :declined
21
30
 
31
+ #
32
+ attr_accessor :deleted
33
+
34
+ #
35
+ attr_accessor :delivered
36
+
37
+ #
38
+ attr_accessor :digital_signatures_pending
39
+
40
+ #
41
+ attr_accessor :sent
42
+
43
+ #
44
+ attr_accessor :signed
45
+
46
+ #
47
+ attr_accessor :timed_out
48
+
49
+ #
50
+ attr_accessor :transfer_completed
51
+
22
52
  #
23
53
  attr_accessor :voided
24
54
 
25
55
  # Attribute mapping from ruby-style variable name to JSON key.
26
56
  def self.attribute_map
27
57
  {
58
+ :'authoritative_copy' => :'authoritativeCopy',
28
59
  :'completed' => :'completed',
60
+ :'correct' => :'correct',
61
+ :'created' => :'created',
29
62
  :'declined' => :'declined',
63
+ :'deleted' => :'deleted',
64
+ :'delivered' => :'delivered',
65
+ :'digital_signatures_pending' => :'digitalSignaturesPending',
66
+ :'sent' => :'sent',
67
+ :'signed' => :'signed',
68
+ :'timed_out' => :'timedOut',
69
+ :'transfer_completed' => :'transferCompleted',
30
70
  :'voided' => :'voided'
31
71
  }
32
72
  end
@@ -34,8 +74,18 @@ module DocuSign_eSign
34
74
  # Attribute type mapping.
35
75
  def self.swagger_types
36
76
  {
77
+ :'authoritative_copy' => :'String',
37
78
  :'completed' => :'String',
79
+ :'correct' => :'String',
80
+ :'created' => :'String',
38
81
  :'declined' => :'String',
82
+ :'deleted' => :'String',
83
+ :'delivered' => :'String',
84
+ :'digital_signatures_pending' => :'String',
85
+ :'sent' => :'String',
86
+ :'signed' => :'String',
87
+ :'timed_out' => :'String',
88
+ :'transfer_completed' => :'String',
39
89
  :'voided' => :'String'
40
90
  }
41
91
  end
@@ -48,14 +98,54 @@ module DocuSign_eSign
48
98
  # convert string to symbol for hash key
49
99
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
50
100
 
101
+ if attributes.has_key?(:'authoritativeCopy')
102
+ self.authoritative_copy = attributes[:'authoritativeCopy']
103
+ end
104
+
51
105
  if attributes.has_key?(:'completed')
52
106
  self.completed = attributes[:'completed']
53
107
  end
54
108
 
109
+ if attributes.has_key?(:'correct')
110
+ self.correct = attributes[:'correct']
111
+ end
112
+
113
+ if attributes.has_key?(:'created')
114
+ self.created = attributes[:'created']
115
+ end
116
+
55
117
  if attributes.has_key?(:'declined')
56
118
  self.declined = attributes[:'declined']
57
119
  end
58
120
 
121
+ if attributes.has_key?(:'deleted')
122
+ self.deleted = attributes[:'deleted']
123
+ end
124
+
125
+ if attributes.has_key?(:'delivered')
126
+ self.delivered = attributes[:'delivered']
127
+ end
128
+
129
+ if attributes.has_key?(:'digitalSignaturesPending')
130
+ self.digital_signatures_pending = attributes[:'digitalSignaturesPending']
131
+ end
132
+
133
+ if attributes.has_key?(:'sent')
134
+ self.sent = attributes[:'sent']
135
+ end
136
+
137
+ if attributes.has_key?(:'signed')
138
+ self.signed = attributes[:'signed']
139
+ end
140
+
141
+ if attributes.has_key?(:'timedOut')
142
+ self.timed_out = attributes[:'timedOut']
143
+ end
144
+
145
+ if attributes.has_key?(:'transferCompleted')
146
+ self.transfer_completed = attributes[:'transferCompleted']
147
+ end
148
+
59
149
  if attributes.has_key?(:'voided')
60
150
  self.voided = attributes[:'voided']
61
151
  end
@@ -79,8 +169,18 @@ module DocuSign_eSign
79
169
  def ==(o)
80
170
  return true if self.equal?(o)
81
171
  self.class == o.class &&
172
+ authoritative_copy == o.authoritative_copy &&
82
173
  completed == o.completed &&
174
+ correct == o.correct &&
175
+ created == o.created &&
83
176
  declined == o.declined &&
177
+ deleted == o.deleted &&
178
+ delivered == o.delivered &&
179
+ digital_signatures_pending == o.digital_signatures_pending &&
180
+ sent == o.sent &&
181
+ signed == o.signed &&
182
+ timed_out == o.timed_out &&
183
+ transfer_completed == o.transfer_completed &&
84
184
  voided == o.voided
85
185
  end
86
186
 
@@ -93,7 +193,7 @@ module DocuSign_eSign
93
193
  # Calculates hash code according to all attributes.
94
194
  # @return [Fixnum] Hash code
95
195
  def hash
96
- [completed, declined, voided].hash
196
+ [authoritative_copy, completed, correct, created, declined, deleted, delivered, digital_signatures_pending, sent, signed, timed_out, transfer_completed, voided].hash
97
197
  end
98
198
 
99
199
  # Builds the object from hash
@@ -16,6 +16,9 @@ module DocuSign_eSign
16
16
  #
17
17
  attr_accessor :created
18
18
 
19
+ # The envelope ID of the envelope status that failed to post.
20
+ attr_accessor :envelope_id
21
+
19
22
  #
20
23
  attr_accessor :error_message
21
24
 
@@ -26,6 +29,7 @@ module DocuSign_eSign
26
29
  def self.attribute_map
27
30
  {
28
31
  :'created' => :'created',
32
+ :'envelope_id' => :'envelopeId',
29
33
  :'error_message' => :'errorMessage',
30
34
  :'recipient_emails' => :'recipientEmails'
31
35
  }
@@ -35,6 +39,7 @@ module DocuSign_eSign
35
39
  def self.swagger_types
36
40
  {
37
41
  :'created' => :'String',
42
+ :'envelope_id' => :'String',
38
43
  :'error_message' => :'String',
39
44
  :'recipient_emails' => :'Array<String>'
40
45
  }
@@ -52,6 +57,10 @@ module DocuSign_eSign
52
57
  self.created = attributes[:'created']
53
58
  end
54
59
 
60
+ if attributes.has_key?(:'envelopeId')
61
+ self.envelope_id = attributes[:'envelopeId']
62
+ end
63
+
55
64
  if attributes.has_key?(:'errorMessage')
56
65
  self.error_message = attributes[:'errorMessage']
57
66
  end
@@ -82,6 +91,7 @@ module DocuSign_eSign
82
91
  return true if self.equal?(o)
83
92
  self.class == o.class &&
84
93
  created == o.created &&
94
+ envelope_id == o.envelope_id &&
85
95
  error_message == o.error_message &&
86
96
  recipient_emails == o.recipient_emails
87
97
  end
@@ -95,7 +105,7 @@ module DocuSign_eSign
95
105
  # Calculates hash code according to all attributes.
96
106
  # @return [Fixnum] Hash code
97
107
  def hash
98
- [created, error_message, recipient_emails].hash
108
+ [created, envelope_id, error_message, recipient_emails].hash
99
109
  end
100
110
 
101
111
  # Builds the object from hash
@@ -68,6 +68,11 @@ module DocuSign_eSign
68
68
 
69
69
  attr_accessor :bold_metadata
70
70
 
71
+ #
72
+ attr_accessor :caption
73
+
74
+ attr_accessor :caption_metadata
75
+
71
76
  # For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.
72
77
  attr_accessor :conditional_parent_label
73
78
 
@@ -295,6 +300,8 @@ module DocuSign_eSign
295
300
  :'anchor_y_offset_metadata' => :'anchorYOffsetMetadata',
296
301
  :'bold' => :'bold',
297
302
  :'bold_metadata' => :'boldMetadata',
303
+ :'caption' => :'caption',
304
+ :'caption_metadata' => :'captionMetadata',
298
305
  :'conditional_parent_label' => :'conditionalParentLabel',
299
306
  :'conditional_parent_label_metadata' => :'conditionalParentLabelMetadata',
300
307
  :'conditional_parent_value' => :'conditionalParentValue',
@@ -404,6 +411,8 @@ module DocuSign_eSign
404
411
  :'anchor_y_offset_metadata' => :'PropertyMetadata',
405
412
  :'bold' => :'String',
406
413
  :'bold_metadata' => :'PropertyMetadata',
414
+ :'caption' => :'String',
415
+ :'caption_metadata' => :'PropertyMetadata',
407
416
  :'conditional_parent_label' => :'String',
408
417
  :'conditional_parent_label_metadata' => :'PropertyMetadata',
409
418
  :'conditional_parent_value' => :'String',
@@ -584,6 +593,14 @@ module DocuSign_eSign
584
593
  self.bold_metadata = attributes[:'boldMetadata']
585
594
  end
586
595
 
596
+ if attributes.has_key?(:'caption')
597
+ self.caption = attributes[:'caption']
598
+ end
599
+
600
+ if attributes.has_key?(:'captionMetadata')
601
+ self.caption_metadata = attributes[:'captionMetadata']
602
+ end
603
+
587
604
  if attributes.has_key?(:'conditionalParentLabel')
588
605
  self.conditional_parent_label = attributes[:'conditionalParentLabel']
589
606
  end
@@ -951,6 +968,8 @@ module DocuSign_eSign
951
968
  anchor_y_offset_metadata == o.anchor_y_offset_metadata &&
952
969
  bold == o.bold &&
953
970
  bold_metadata == o.bold_metadata &&
971
+ caption == o.caption &&
972
+ caption_metadata == o.caption_metadata &&
954
973
  conditional_parent_label == o.conditional_parent_label &&
955
974
  conditional_parent_label_metadata == o.conditional_parent_label_metadata &&
956
975
  conditional_parent_value == o.conditional_parent_value &&
@@ -1043,7 +1062,7 @@ module DocuSign_eSign
1043
1062
  # Calculates hash code according to all attributes.
1044
1063
  # @return [Fixnum] Hash code
1045
1064
  def hash
1046
- [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, locked, locked_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, require_initial_on_shared_change, require_initial_on_shared_change_metadata, selected, selected_metadata, selected_original, selected_original_metadata, shared, shared_metadata, share_to_recipients, share_to_recipients_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, underline, underline_metadata, value, value_metadata, width, width_metadata, x_position, x_position_metadata, y_position, y_position_metadata].hash
1065
+ [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, caption, caption_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, locked, locked_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, require_initial_on_shared_change, require_initial_on_shared_change_metadata, selected, selected_metadata, selected_original, selected_original_metadata, shared, shared_metadata, share_to_recipients, share_to_recipients_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, underline, underline_metadata, value, value_metadata, width, width_metadata, x_position, x_position_metadata, y_position, y_position_metadata].hash
1047
1066
  end
1048
1067
 
1049
1068
  # Builds the object from hash