docusign_esign 3.12.0 → 3.13.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. data/CHANGELOG.md +6 -0
  2. data/lib/docusign_esign/api/accounts_api.rb +4 -4
  3. data/lib/docusign_esign/api/billing_api.rb +6 -2
  4. data/lib/docusign_esign/api/connect_api.rb +85 -0
  5. data/lib/docusign_esign/api/envelopes_api.rb +137 -3
  6. data/lib/docusign_esign/models/account_billing_plan.rb +11 -1
  7. data/lib/docusign_esign/models/account_billing_plan_response.rb +10 -1
  8. data/lib/docusign_esign/models/account_settings_information.rb +39 -1
  9. data/lib/docusign_esign/models/app_store_receipt.rb +21 -1
  10. data/lib/docusign_esign/models/billing_charge.rb +1 -1
  11. data/lib/docusign_esign/models/checkbox.rb +20 -1
  12. data/lib/docusign_esign/models/connect_custom_configuration.rb +14 -4
  13. data/lib/docusign_esign/models/connect_user_info.rb +224 -0
  14. data/lib/docusign_esign/models/date.rb +20 -1
  15. data/lib/docusign_esign/models/downgrade_plan_update_response.rb +11 -1
  16. data/lib/docusign_esign/models/downgrade_request_information.rb +204 -0
  17. data/lib/docusign_esign/models/email.rb +20 -1
  18. data/lib/docusign_esign/models/event_notification.rb +11 -1
  19. data/lib/docusign_esign/models/formula_tab.rb +20 -1
  20. data/lib/docusign_esign/models/integrated_connect_user_info_list.rb +246 -0
  21. data/lib/docusign_esign/models/list.rb +20 -1
  22. data/lib/docusign_esign/models/number.rb +20 -1
  23. data/lib/docusign_esign/models/radio_group.rb +20 -1
  24. data/lib/docusign_esign/models/recipient_identity_phone_number.rb +41 -4
  25. data/lib/docusign_esign/models/recipient_identity_verification.rb +13 -4
  26. data/lib/docusign_esign/models/ssn.rb +20 -1
  27. data/lib/docusign_esign/models/text.rb +20 -1
  28. data/lib/docusign_esign/models/zip.rb +20 -1
  29. data/lib/docusign_esign/version.rb +1 -1
  30. data/lib/docusign_esign.rb +3 -1
  31. metadata +112 -89
  32. checksums.yaml +0 -7
  33. data/Gemfile.lock +0 -73
  34. data/docusign_esign-2.12.0.rc1.gem +0 -0
  35. data/docusign_esign-3.12.0.rc1.gem +0 -0
  36. data/lib/docusign_esign/.DS_Store +0 -0
  37. data/lib/docusign_esign/api/.DS_Store +0 -0
  38. data/lib/docusign_esign/client/.DS_Store +0 -0
  39. data/tests/.DS_Store +0 -0
  40. data/tests/Gemfile.lock +0 -46
  41. data/tests/docs/private.pem +0 -27
@@ -207,6 +207,11 @@ module DocuSign_eSign
207
207
 
208
208
  attr_accessor :shared_metadata
209
209
 
210
+ #
211
+ attr_accessor :share_to_recipients
212
+
213
+ attr_accessor :share_to_recipients_metadata
214
+
210
215
  attr_accessor :smart_contract_information
211
216
 
212
217
  #
@@ -373,6 +378,8 @@ module DocuSign_eSign
373
378
  :'sender_required_metadata' => :'senderRequiredMetadata',
374
379
  :'shared' => :'shared',
375
380
  :'shared_metadata' => :'sharedMetadata',
381
+ :'share_to_recipients' => :'shareToRecipients',
382
+ :'share_to_recipients_metadata' => :'shareToRecipientsMetadata',
376
383
  :'smart_contract_information' => :'smartContractInformation',
377
384
  :'source' => :'source',
378
385
  :'status' => :'status',
@@ -491,6 +498,8 @@ module DocuSign_eSign
491
498
  :'sender_required_metadata' => :'PropertyMetadata',
492
499
  :'shared' => :'String',
493
500
  :'shared_metadata' => :'PropertyMetadata',
501
+ :'share_to_recipients' => :'String',
502
+ :'share_to_recipients_metadata' => :'PropertyMetadata',
494
503
  :'smart_contract_information' => :'SmartContractInformation',
495
504
  :'source' => :'String',
496
505
  :'status' => :'String',
@@ -848,6 +857,14 @@ module DocuSign_eSign
848
857
  self.shared_metadata = attributes[:'sharedMetadata']
849
858
  end
850
859
 
860
+ if attributes.has_key?(:'shareToRecipients')
861
+ self.share_to_recipients = attributes[:'shareToRecipients']
862
+ end
863
+
864
+ if attributes.has_key?(:'shareToRecipientsMetadata')
865
+ self.share_to_recipients_metadata = attributes[:'shareToRecipientsMetadata']
866
+ end
867
+
851
868
  if attributes.has_key?(:'smartContractInformation')
852
869
  self.smart_contract_information = attributes[:'smartContractInformation']
853
870
  end
@@ -1083,6 +1100,8 @@ module DocuSign_eSign
1083
1100
  sender_required_metadata == o.sender_required_metadata &&
1084
1101
  shared == o.shared &&
1085
1102
  shared_metadata == o.shared_metadata &&
1103
+ share_to_recipients == o.share_to_recipients &&
1104
+ share_to_recipients_metadata == o.share_to_recipients_metadata &&
1086
1105
  smart_contract_information == o.smart_contract_information &&
1087
1106
  source == o.source &&
1088
1107
  status == o.status &&
@@ -1128,7 +1147,7 @@ module DocuSign_eSign
1128
1147
  # Calculates hash code according to all attributes.
1129
1148
  # @return [Fixnum] Hash code
1130
1149
  def hash
1131
- [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, 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, 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, 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
1150
+ [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, 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, 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, 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
1132
1151
  end
1133
1152
 
1134
1153
  # Builds the object from hash
@@ -37,6 +37,9 @@ module DocuSign_eSign
37
37
  #
38
38
  attr_accessor :message
39
39
 
40
+ #
41
+ attr_accessor :product_id
42
+
40
43
  #
41
44
  attr_accessor :promo_code
42
45
 
@@ -60,6 +63,7 @@ module DocuSign_eSign
60
63
  :'downgrade_plan_name' => :'downgradePlanName',
61
64
  :'downgrade_request_status' => :'downgradeRequestStatus',
62
65
  :'message' => :'message',
66
+ :'product_id' => :'productId',
63
67
  :'promo_code' => :'promoCode',
64
68
  :'sale_discount' => :'saleDiscount',
65
69
  :'sale_discount_periods' => :'saleDiscountPeriods',
@@ -78,6 +82,7 @@ module DocuSign_eSign
78
82
  :'downgrade_plan_name' => :'String',
79
83
  :'downgrade_request_status' => :'String',
80
84
  :'message' => :'String',
85
+ :'product_id' => :'String',
81
86
  :'promo_code' => :'String',
82
87
  :'sale_discount' => :'String',
83
88
  :'sale_discount_periods' => :'String',
@@ -125,6 +130,10 @@ module DocuSign_eSign
125
130
  self.message = attributes[:'message']
126
131
  end
127
132
 
133
+ if attributes.has_key?(:'productId')
134
+ self.product_id = attributes[:'productId']
135
+ end
136
+
128
137
  if attributes.has_key?(:'promoCode')
129
138
  self.promo_code = attributes[:'promoCode']
130
139
  end
@@ -168,6 +177,7 @@ module DocuSign_eSign
168
177
  downgrade_plan_name == o.downgrade_plan_name &&
169
178
  downgrade_request_status == o.downgrade_request_status &&
170
179
  message == o.message &&
180
+ product_id == o.product_id &&
171
181
  promo_code == o.promo_code &&
172
182
  sale_discount == o.sale_discount &&
173
183
  sale_discount_periods == o.sale_discount_periods &&
@@ -183,7 +193,7 @@ module DocuSign_eSign
183
193
  # Calculates hash code according to all attributes.
184
194
  # @return [Fixnum] Hash code
185
195
  def hash
186
- [account_payment_method, discount_applied, downgrade_effective_date, downgrade_payment_cycle, downgrade_plan_id, downgrade_plan_name, downgrade_request_status, message, promo_code, sale_discount, sale_discount_periods, sale_discount_type].hash
196
+ [account_payment_method, discount_applied, downgrade_effective_date, downgrade_payment_cycle, downgrade_plan_id, downgrade_plan_name, downgrade_request_status, message, product_id, promo_code, sale_discount, sale_discount_periods, sale_discount_type].hash
187
197
  end
188
198
 
189
199
  # Builds the object from hash
@@ -0,0 +1,204 @@
1
+ =begin
2
+ #DocuSign REST API
3
+
4
+ #The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
5
+
6
+ OpenAPI spec version: v2.1
7
+ Contact: devcenter@docusign.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ =end
11
+
12
+ require 'date'
13
+
14
+ module DocuSign_eSign
15
+ class DowngradeRequestInformation
16
+ #
17
+ attr_accessor :downgrade_request_creation
18
+
19
+ #
20
+ attr_accessor :downgrade_request_product_id
21
+
22
+ #
23
+ attr_accessor :downgrade_request_status
24
+
25
+ # Attribute mapping from ruby-style variable name to JSON key.
26
+ def self.attribute_map
27
+ {
28
+ :'downgrade_request_creation' => :'downgradeRequestCreation',
29
+ :'downgrade_request_product_id' => :'downgradeRequestProductId',
30
+ :'downgrade_request_status' => :'downgradeRequestStatus'
31
+ }
32
+ end
33
+
34
+ # Attribute type mapping.
35
+ def self.swagger_types
36
+ {
37
+ :'downgrade_request_creation' => :'String',
38
+ :'downgrade_request_product_id' => :'String',
39
+ :'downgrade_request_status' => :'String'
40
+ }
41
+ end
42
+
43
+ # Initializes the object
44
+ # @param [Hash] attributes Model attributes in the form of hash
45
+ def initialize(attributes = {})
46
+ return unless attributes.is_a?(Hash)
47
+
48
+ # convert string to symbol for hash key
49
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
50
+
51
+ if attributes.has_key?(:'downgradeRequestCreation')
52
+ self.downgrade_request_creation = attributes[:'downgradeRequestCreation']
53
+ end
54
+
55
+ if attributes.has_key?(:'downgradeRequestProductId')
56
+ self.downgrade_request_product_id = attributes[:'downgradeRequestProductId']
57
+ end
58
+
59
+ if attributes.has_key?(:'downgradeRequestStatus')
60
+ self.downgrade_request_status = attributes[:'downgradeRequestStatus']
61
+ end
62
+ end
63
+
64
+ # Show invalid properties with the reasons. Usually used together with valid?
65
+ # @return Array for valid properties with the reasons
66
+ def list_invalid_properties
67
+ invalid_properties = Array.new
68
+ invalid_properties
69
+ end
70
+
71
+ # Check to see if the all the properties in the model are valid
72
+ # @return true if the model is valid
73
+ def valid?
74
+ true
75
+ end
76
+
77
+ # Checks equality by comparing each attribute.
78
+ # @param [Object] Object to be compared
79
+ def ==(o)
80
+ return true if self.equal?(o)
81
+ self.class == o.class &&
82
+ downgrade_request_creation == o.downgrade_request_creation &&
83
+ downgrade_request_product_id == o.downgrade_request_product_id &&
84
+ downgrade_request_status == o.downgrade_request_status
85
+ end
86
+
87
+ # @see the `==` method
88
+ # @param [Object] Object to be compared
89
+ def eql?(o)
90
+ self == o
91
+ end
92
+
93
+ # Calculates hash code according to all attributes.
94
+ # @return [Fixnum] Hash code
95
+ def hash
96
+ [downgrade_request_creation, downgrade_request_product_id, downgrade_request_status].hash
97
+ end
98
+
99
+ # Builds the object from hash
100
+ # @param [Hash] attributes Model attributes in the form of hash
101
+ # @return [Object] Returns the model itself
102
+ def build_from_hash(attributes)
103
+ return nil unless attributes.is_a?(Hash)
104
+ self.class.swagger_types.each_pair do |key, type|
105
+ if type =~ /\AArray<(.*)>/i
106
+ # check to ensure the input is an array given that the attribute
107
+ # is documented as an array but the input is not
108
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
109
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
110
+ end
111
+ elsif !attributes[self.class.attribute_map[key]].nil?
112
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
113
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
114
+ end
115
+
116
+ self
117
+ end
118
+
119
+ # Deserializes the data based on type
120
+ # @param string type Data type
121
+ # @param string value Value to be deserialized
122
+ # @return [Object] Deserialized data
123
+ def _deserialize(type, value)
124
+ case type.to_sym
125
+ when :DateTime
126
+ DateTime.parse(value)
127
+ when :Date
128
+ Date.parse(value)
129
+ when :String
130
+ value.to_s
131
+ when :Integer
132
+ value.to_i
133
+ when :Float
134
+ value.to_f
135
+ when :BOOLEAN
136
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
137
+ true
138
+ else
139
+ false
140
+ end
141
+ when :Object
142
+ # generic object (usually a Hash), return directly
143
+ value
144
+ when /\AArray<(?<inner_type>.+)>\z/
145
+ inner_type = Regexp.last_match[:inner_type]
146
+ value.map { |v| _deserialize(inner_type, v) }
147
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
148
+ k_type = Regexp.last_match[:k_type]
149
+ v_type = Regexp.last_match[:v_type]
150
+ {}.tap do |hash|
151
+ value.each do |k, v|
152
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
153
+ end
154
+ end
155
+ else # model
156
+ temp_model = DocuSign_eSign.const_get(type).new
157
+ temp_model.build_from_hash(value)
158
+ end
159
+ end
160
+
161
+ # Returns the string representation of the object
162
+ # @return [String] String presentation of the object
163
+ def to_s
164
+ to_hash.to_s
165
+ end
166
+
167
+ # to_body is an alias to to_hash (backward compatibility)
168
+ # @return [Hash] Returns the object in the form of hash
169
+ def to_body
170
+ to_hash
171
+ end
172
+
173
+ # Returns the object in the form of hash
174
+ # @return [Hash] Returns the object in the form of hash
175
+ def to_hash
176
+ hash = {}
177
+ self.class.attribute_map.each_pair do |attr, param|
178
+ value = self.send(attr)
179
+ next if value.nil?
180
+ hash[param] = _to_hash(value)
181
+ end
182
+ hash
183
+ end
184
+
185
+ # Outputs non-array value in the form of hash
186
+ # For object, use to_hash. Otherwise, just return the value
187
+ # @param [Object] value Any valid value
188
+ # @return [Hash] Returns the value in the form of hash
189
+ def _to_hash(value)
190
+ if value.is_a?(Array)
191
+ value.compact.map { |v| _to_hash(v) }
192
+ elsif value.is_a?(Hash)
193
+ {}.tap do |hash|
194
+ value.each { |k, v| hash[k] = _to_hash(v) }
195
+ end
196
+ elsif value.respond_to? :to_hash
197
+ value.to_hash
198
+ else
199
+ value
200
+ end
201
+ end
202
+
203
+ end
204
+ end
@@ -207,6 +207,11 @@ module DocuSign_eSign
207
207
 
208
208
  attr_accessor :shared_metadata
209
209
 
210
+ #
211
+ attr_accessor :share_to_recipients
212
+
213
+ attr_accessor :share_to_recipients_metadata
214
+
210
215
  attr_accessor :smart_contract_information
211
216
 
212
217
  #
@@ -373,6 +378,8 @@ module DocuSign_eSign
373
378
  :'sender_required_metadata' => :'senderRequiredMetadata',
374
379
  :'shared' => :'shared',
375
380
  :'shared_metadata' => :'sharedMetadata',
381
+ :'share_to_recipients' => :'shareToRecipients',
382
+ :'share_to_recipients_metadata' => :'shareToRecipientsMetadata',
376
383
  :'smart_contract_information' => :'smartContractInformation',
377
384
  :'source' => :'source',
378
385
  :'status' => :'status',
@@ -491,6 +498,8 @@ module DocuSign_eSign
491
498
  :'sender_required_metadata' => :'PropertyMetadata',
492
499
  :'shared' => :'String',
493
500
  :'shared_metadata' => :'PropertyMetadata',
501
+ :'share_to_recipients' => :'String',
502
+ :'share_to_recipients_metadata' => :'PropertyMetadata',
494
503
  :'smart_contract_information' => :'SmartContractInformation',
495
504
  :'source' => :'String',
496
505
  :'status' => :'String',
@@ -848,6 +857,14 @@ module DocuSign_eSign
848
857
  self.shared_metadata = attributes[:'sharedMetadata']
849
858
  end
850
859
 
860
+ if attributes.has_key?(:'shareToRecipients')
861
+ self.share_to_recipients = attributes[:'shareToRecipients']
862
+ end
863
+
864
+ if attributes.has_key?(:'shareToRecipientsMetadata')
865
+ self.share_to_recipients_metadata = attributes[:'shareToRecipientsMetadata']
866
+ end
867
+
851
868
  if attributes.has_key?(:'smartContractInformation')
852
869
  self.smart_contract_information = attributes[:'smartContractInformation']
853
870
  end
@@ -1083,6 +1100,8 @@ module DocuSign_eSign
1083
1100
  sender_required_metadata == o.sender_required_metadata &&
1084
1101
  shared == o.shared &&
1085
1102
  shared_metadata == o.shared_metadata &&
1103
+ share_to_recipients == o.share_to_recipients &&
1104
+ share_to_recipients_metadata == o.share_to_recipients_metadata &&
1086
1105
  smart_contract_information == o.smart_contract_information &&
1087
1106
  source == o.source &&
1088
1107
  status == o.status &&
@@ -1128,7 +1147,7 @@ module DocuSign_eSign
1128
1147
  # Calculates hash code according to all attributes.
1129
1148
  # @return [Fixnum] Hash code
1130
1149
  def hash
1131
- [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, 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, 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, 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
1150
+ [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, 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, 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, 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
1132
1151
  end
1133
1152
 
1134
1153
  # Builds the object from hash
@@ -14,6 +14,9 @@ require 'date'
14
14
  module DocuSign_eSign
15
15
  # This optional complex element allows a message to be sent a specified URL when the envelope or recipient changes status. It is similar to DocuSign Connect. For example, if an envelope changes from \"Sent\" to \"Delivered\", a message containing the updated envelope status and optionally the documents is sent to the URL. When an eventNotification is attached to an envelope using the API, it only applies to the envelope (treating the envelope as the sender). This is different from envelopes created through the console user interface, where the user is treated as the sender.
16
16
  class EventNotification
17
+ #
18
+ attr_accessor :delivery_mode
19
+
17
20
  # A list of envelope-level event statuses that will trigger Connect to send updates to the endpoint specified in the `url` property. To receive notifications, you must include either an `envelopeEvents` node or a `recipientEvents` node. You do not need to specify both.
18
21
  attr_accessor :envelope_events
19
22
 
@@ -67,6 +70,7 @@ module DocuSign_eSign
67
70
  # Attribute mapping from ruby-style variable name to JSON key.
68
71
  def self.attribute_map
69
72
  {
73
+ :'delivery_mode' => :'deliveryMode',
70
74
  :'envelope_events' => :'envelopeEvents',
71
75
  :'event_data' => :'eventData',
72
76
  :'include_certificate_of_completion' => :'includeCertificateOfCompletion',
@@ -90,6 +94,7 @@ module DocuSign_eSign
90
94
  # Attribute type mapping.
91
95
  def self.swagger_types
92
96
  {
97
+ :'delivery_mode' => :'String',
93
98
  :'envelope_events' => :'Array<EnvelopeEvent>',
94
99
  :'event_data' => :'ConnectEventData',
95
100
  :'include_certificate_of_completion' => :'String',
@@ -118,6 +123,10 @@ module DocuSign_eSign
118
123
  # convert string to symbol for hash key
119
124
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
120
125
 
126
+ if attributes.has_key?(:'deliveryMode')
127
+ self.delivery_mode = attributes[:'deliveryMode']
128
+ end
129
+
121
130
  if attributes.has_key?(:'envelopeEvents')
122
131
  if (value = attributes[:'envelopeEvents']).is_a?(Array)
123
132
  self.envelope_events = value
@@ -209,6 +218,7 @@ module DocuSign_eSign
209
218
  def ==(o)
210
219
  return true if self.equal?(o)
211
220
  self.class == o.class &&
221
+ delivery_mode == o.delivery_mode &&
212
222
  envelope_events == o.envelope_events &&
213
223
  event_data == o.event_data &&
214
224
  include_certificate_of_completion == o.include_certificate_of_completion &&
@@ -237,7 +247,7 @@ module DocuSign_eSign
237
247
  # Calculates hash code according to all attributes.
238
248
  # @return [Fixnum] Hash code
239
249
  def hash
240
- [envelope_events, event_data, include_certificate_of_completion, include_certificate_with_soap, include_document_fields, include_documents, include_envelope_void_reason, include_hmac, include_sender_account_as_custom_field, include_time_zone, logging_enabled, recipient_events, require_acknowledgment, sign_message_with_x509_cert, soap_name_space, url, use_soap_interface].hash
250
+ [delivery_mode, envelope_events, event_data, include_certificate_of_completion, include_certificate_with_soap, include_document_fields, include_documents, include_envelope_void_reason, include_hmac, include_sender_account_as_custom_field, include_time_zone, logging_enabled, recipient_events, require_acknowledgment, sign_message_with_x509_cert, soap_name_space, url, use_soap_interface].hash
241
251
  end
242
252
 
243
253
  # Builds the object from hash
@@ -229,6 +229,11 @@ module DocuSign_eSign
229
229
 
230
230
  attr_accessor :shared_metadata
231
231
 
232
+ #
233
+ attr_accessor :share_to_recipients
234
+
235
+ attr_accessor :share_to_recipients_metadata
236
+
232
237
  attr_accessor :smart_contract_information
233
238
 
234
239
  #
@@ -404,6 +409,8 @@ module DocuSign_eSign
404
409
  :'sender_required_metadata' => :'senderRequiredMetadata',
405
410
  :'shared' => :'shared',
406
411
  :'shared_metadata' => :'sharedMetadata',
412
+ :'share_to_recipients' => :'shareToRecipients',
413
+ :'share_to_recipients_metadata' => :'shareToRecipientsMetadata',
407
414
  :'smart_contract_information' => :'smartContractInformation',
408
415
  :'source' => :'source',
409
416
  :'status' => :'status',
@@ -531,6 +538,8 @@ module DocuSign_eSign
531
538
  :'sender_required_metadata' => :'PropertyMetadata',
532
539
  :'shared' => :'String',
533
540
  :'shared_metadata' => :'PropertyMetadata',
541
+ :'share_to_recipients' => :'String',
542
+ :'share_to_recipients_metadata' => :'PropertyMetadata',
534
543
  :'smart_contract_information' => :'SmartContractInformation',
535
544
  :'source' => :'String',
536
545
  :'status' => :'String',
@@ -924,6 +933,14 @@ module DocuSign_eSign
924
933
  self.shared_metadata = attributes[:'sharedMetadata']
925
934
  end
926
935
 
936
+ if attributes.has_key?(:'shareToRecipients')
937
+ self.share_to_recipients = attributes[:'shareToRecipients']
938
+ end
939
+
940
+ if attributes.has_key?(:'shareToRecipientsMetadata')
941
+ self.share_to_recipients_metadata = attributes[:'shareToRecipientsMetadata']
942
+ end
943
+
927
944
  if attributes.has_key?(:'smartContractInformation')
928
945
  self.smart_contract_information = attributes[:'smartContractInformation']
929
946
  end
@@ -1168,6 +1185,8 @@ module DocuSign_eSign
1168
1185
  sender_required_metadata == o.sender_required_metadata &&
1169
1186
  shared == o.shared &&
1170
1187
  shared_metadata == o.shared_metadata &&
1188
+ share_to_recipients == o.share_to_recipients &&
1189
+ share_to_recipients_metadata == o.share_to_recipients_metadata &&
1171
1190
  smart_contract_information == o.smart_contract_information &&
1172
1191
  source == o.source &&
1173
1192
  status == o.status &&
@@ -1213,7 +1232,7 @@ module DocuSign_eSign
1213
1232
  # Calculates hash code according to all attributes.
1214
1233
  # @return [Fixnum] Hash code
1215
1234
  def hash
1216
- [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, hidden, hidden_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, payment_details, 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, round_decimal_places, round_decimal_places_metadata, sender_required, sender_required_metadata, shared, shared_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, 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
1235
+ [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, hidden, hidden_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, payment_details, 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, round_decimal_places, round_decimal_places_metadata, sender_required, sender_required_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, 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
1217
1236
  end
1218
1237
 
1219
1238
  # Builds the object from hash