ultracart_api 3.10.193 → 3.10.195

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,193 @@
1
+ =begin
2
+ #UltraCart Rest API V2
3
+
4
+ #UltraCart REST API Version 2
5
+
6
+ OpenAPI spec version: 2.0.0
7
+ Contact: support@ultracart.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.15-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module UltracartClient
16
+ class ConversationPbxAudioUploadUrl
17
+ attr_accessor :key
18
+
19
+ attr_accessor :url
20
+
21
+ # Attribute mapping from ruby-style variable name to JSON key.
22
+ def self.attribute_map
23
+ {
24
+ :'key' => :'key',
25
+ :'url' => :'url'
26
+ }
27
+ end
28
+
29
+ # Attribute type mapping.
30
+ def self.swagger_types
31
+ {
32
+ :'key' => :'String',
33
+ :'url' => :'String'
34
+ }
35
+ end
36
+
37
+ # Initializes the object
38
+ # @param [Hash] attributes Model attributes in the form of hash
39
+ def initialize(attributes = {})
40
+ return unless attributes.is_a?(Hash)
41
+
42
+ # convert string to symbol for hash key
43
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
44
+
45
+ if attributes.has_key?(:'key')
46
+ self.key = attributes[:'key']
47
+ end
48
+
49
+ if attributes.has_key?(:'url')
50
+ self.url = attributes[:'url']
51
+ end
52
+ end
53
+
54
+ # Show invalid properties with the reasons. Usually used together with valid?
55
+ # @return Array for valid properties with the reasons
56
+ def list_invalid_properties
57
+ invalid_properties = Array.new
58
+ invalid_properties
59
+ end
60
+
61
+ # Check to see if the all the properties in the model are valid
62
+ # @return true if the model is valid
63
+ def valid?
64
+ true
65
+ end
66
+
67
+ # Checks equality by comparing each attribute.
68
+ # @param [Object] Object to be compared
69
+ def ==(o)
70
+ return true if self.equal?(o)
71
+ self.class == o.class &&
72
+ key == o.key &&
73
+ url == o.url
74
+ end
75
+
76
+ # @see the `==` method
77
+ # @param [Object] Object to be compared
78
+ def eql?(o)
79
+ self == o
80
+ end
81
+
82
+ # Calculates hash code according to all attributes.
83
+ # @return [Fixnum] Hash code
84
+ def hash
85
+ [key, url].hash
86
+ end
87
+
88
+ # Builds the object from hash
89
+ # @param [Hash] attributes Model attributes in the form of hash
90
+ # @return [Object] Returns the model itself
91
+ def build_from_hash(attributes)
92
+ return nil unless attributes.is_a?(Hash)
93
+ self.class.swagger_types.each_pair do |key, type|
94
+ if type =~ /\AArray<(.*)>/i
95
+ # check to ensure the input is an array given that the attribute
96
+ # is documented as an array but the input is not
97
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
98
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
99
+ end
100
+ elsif !attributes[self.class.attribute_map[key]].nil?
101
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
102
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
103
+ end
104
+
105
+ self
106
+ end
107
+
108
+ # Deserializes the data based on type
109
+ # @param string type Data type
110
+ # @param string value Value to be deserialized
111
+ # @return [Object] Deserialized data
112
+ def _deserialize(type, value)
113
+ case type.to_sym
114
+ when :DateTime
115
+ DateTime.parse(value)
116
+ when :Date
117
+ Date.parse(value)
118
+ when :String
119
+ value.to_s
120
+ when :Integer
121
+ value.to_i
122
+ when :Float
123
+ value.to_f
124
+ when :BOOLEAN
125
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
126
+ true
127
+ else
128
+ false
129
+ end
130
+ when :Object
131
+ # generic object (usually a Hash), return directly
132
+ value
133
+ when /\AArray<(?<inner_type>.+)>\z/
134
+ inner_type = Regexp.last_match[:inner_type]
135
+ value.map { |v| _deserialize(inner_type, v) }
136
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
137
+ k_type = Regexp.last_match[:k_type]
138
+ v_type = Regexp.last_match[:v_type]
139
+ {}.tap do |hash|
140
+ value.each do |k, v|
141
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
142
+ end
143
+ end
144
+ else # model
145
+ temp_model = UltracartClient.const_get(type).new
146
+ temp_model.build_from_hash(value)
147
+ end
148
+ end
149
+
150
+ # Returns the string representation of the object
151
+ # @return [String] String presentation of the object
152
+ def to_s
153
+ to_hash.to_s
154
+ end
155
+
156
+ # to_body is an alias to to_hash (backward compatibility)
157
+ # @return [Hash] Returns the object in the form of hash
158
+ def to_body
159
+ to_hash
160
+ end
161
+
162
+ # Returns the object in the form of hash
163
+ # @return [Hash] Returns the object in the form of hash
164
+ def to_hash
165
+ hash = {}
166
+ self.class.attribute_map.each_pair do |attr, param|
167
+ value = self.send(attr)
168
+ next if value.nil?
169
+ hash[param] = _to_hash(value)
170
+ end
171
+ hash
172
+ end
173
+
174
+ # Outputs non-array value in the form of hash
175
+ # For object, use to_hash. Otherwise, just return the value
176
+ # @param [Object] value Any valid value
177
+ # @return [Hash] Returns the value in the form of hash
178
+ def _to_hash(value)
179
+ if value.is_a?(Array)
180
+ value.compact.map { |v| _to_hash(v) }
181
+ elsif value.is_a?(Hash)
182
+ {}.tap do |hash|
183
+ value.each { |k, v| hash[k] = _to_hash(v) }
184
+ end
185
+ elsif value.respond_to? :to_hash
186
+ value.to_hash
187
+ else
188
+ value
189
+ end
190
+ end
191
+
192
+ end
193
+ end
@@ -0,0 +1,221 @@
1
+ =begin
2
+ #UltraCart Rest API V2
3
+
4
+ #UltraCart REST API Version 2
5
+
6
+ OpenAPI spec version: 2.0.0
7
+ Contact: support@ultracart.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.15-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module UltracartClient
16
+ class ConversationPbxAudioUploadUrlResponse
17
+ attr_accessor :conversation_pbx_audio_upload_url
18
+
19
+ attr_accessor :error
20
+
21
+ attr_accessor :metadata
22
+
23
+ # Indicates if API call was successful
24
+ attr_accessor :success
25
+
26
+ attr_accessor :warning
27
+
28
+ # Attribute mapping from ruby-style variable name to JSON key.
29
+ def self.attribute_map
30
+ {
31
+ :'conversation_pbx_audio_upload_url' => :'conversation_pbx_audio_upload_url',
32
+ :'error' => :'error',
33
+ :'metadata' => :'metadata',
34
+ :'success' => :'success',
35
+ :'warning' => :'warning'
36
+ }
37
+ end
38
+
39
+ # Attribute type mapping.
40
+ def self.swagger_types
41
+ {
42
+ :'conversation_pbx_audio_upload_url' => :'ConversationPbxAudioUploadUrl',
43
+ :'error' => :'Error',
44
+ :'metadata' => :'ResponseMetadata',
45
+ :'success' => :'BOOLEAN',
46
+ :'warning' => :'Warning'
47
+ }
48
+ end
49
+
50
+ # Initializes the object
51
+ # @param [Hash] attributes Model attributes in the form of hash
52
+ def initialize(attributes = {})
53
+ return unless attributes.is_a?(Hash)
54
+
55
+ # convert string to symbol for hash key
56
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
57
+
58
+ if attributes.has_key?(:'conversation_pbx_audio_upload_url')
59
+ self.conversation_pbx_audio_upload_url = attributes[:'conversation_pbx_audio_upload_url']
60
+ end
61
+
62
+ if attributes.has_key?(:'error')
63
+ self.error = attributes[:'error']
64
+ end
65
+
66
+ if attributes.has_key?(:'metadata')
67
+ self.metadata = attributes[:'metadata']
68
+ end
69
+
70
+ if attributes.has_key?(:'success')
71
+ self.success = attributes[:'success']
72
+ end
73
+
74
+ if attributes.has_key?(:'warning')
75
+ self.warning = attributes[:'warning']
76
+ end
77
+ end
78
+
79
+ # Show invalid properties with the reasons. Usually used together with valid?
80
+ # @return Array for valid properties with the reasons
81
+ def list_invalid_properties
82
+ invalid_properties = Array.new
83
+ invalid_properties
84
+ end
85
+
86
+ # Check to see if the all the properties in the model are valid
87
+ # @return true if the model is valid
88
+ def valid?
89
+ true
90
+ end
91
+
92
+ # Checks equality by comparing each attribute.
93
+ # @param [Object] Object to be compared
94
+ def ==(o)
95
+ return true if self.equal?(o)
96
+ self.class == o.class &&
97
+ conversation_pbx_audio_upload_url == o.conversation_pbx_audio_upload_url &&
98
+ error == o.error &&
99
+ metadata == o.metadata &&
100
+ success == o.success &&
101
+ warning == o.warning
102
+ end
103
+
104
+ # @see the `==` method
105
+ # @param [Object] Object to be compared
106
+ def eql?(o)
107
+ self == o
108
+ end
109
+
110
+ # Calculates hash code according to all attributes.
111
+ # @return [Fixnum] Hash code
112
+ def hash
113
+ [conversation_pbx_audio_upload_url, error, metadata, success, warning].hash
114
+ end
115
+
116
+ # Builds the object from hash
117
+ # @param [Hash] attributes Model attributes in the form of hash
118
+ # @return [Object] Returns the model itself
119
+ def build_from_hash(attributes)
120
+ return nil unless attributes.is_a?(Hash)
121
+ self.class.swagger_types.each_pair do |key, type|
122
+ if type =~ /\AArray<(.*)>/i
123
+ # check to ensure the input is an array given that the attribute
124
+ # is documented as an array but the input is not
125
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
126
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
127
+ end
128
+ elsif !attributes[self.class.attribute_map[key]].nil?
129
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
130
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
131
+ end
132
+
133
+ self
134
+ end
135
+
136
+ # Deserializes the data based on type
137
+ # @param string type Data type
138
+ # @param string value Value to be deserialized
139
+ # @return [Object] Deserialized data
140
+ def _deserialize(type, value)
141
+ case type.to_sym
142
+ when :DateTime
143
+ DateTime.parse(value)
144
+ when :Date
145
+ Date.parse(value)
146
+ when :String
147
+ value.to_s
148
+ when :Integer
149
+ value.to_i
150
+ when :Float
151
+ value.to_f
152
+ when :BOOLEAN
153
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
154
+ true
155
+ else
156
+ false
157
+ end
158
+ when :Object
159
+ # generic object (usually a Hash), return directly
160
+ value
161
+ when /\AArray<(?<inner_type>.+)>\z/
162
+ inner_type = Regexp.last_match[:inner_type]
163
+ value.map { |v| _deserialize(inner_type, v) }
164
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
165
+ k_type = Regexp.last_match[:k_type]
166
+ v_type = Regexp.last_match[:v_type]
167
+ {}.tap do |hash|
168
+ value.each do |k, v|
169
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
170
+ end
171
+ end
172
+ else # model
173
+ temp_model = UltracartClient.const_get(type).new
174
+ temp_model.build_from_hash(value)
175
+ end
176
+ end
177
+
178
+ # Returns the string representation of the object
179
+ # @return [String] String presentation of the object
180
+ def to_s
181
+ to_hash.to_s
182
+ end
183
+
184
+ # to_body is an alias to to_hash (backward compatibility)
185
+ # @return [Hash] Returns the object in the form of hash
186
+ def to_body
187
+ to_hash
188
+ end
189
+
190
+ # Returns the object in the form of hash
191
+ # @return [Hash] Returns the object in the form of hash
192
+ def to_hash
193
+ hash = {}
194
+ self.class.attribute_map.each_pair do |attr, param|
195
+ value = self.send(attr)
196
+ next if value.nil?
197
+ hash[param] = _to_hash(value)
198
+ end
199
+ hash
200
+ end
201
+
202
+ # Outputs non-array value in the form of hash
203
+ # For object, use to_hash. Otherwise, just return the value
204
+ # @param [Object] value Any valid value
205
+ # @return [Hash] Returns the value in the form of hash
206
+ def _to_hash(value)
207
+ if value.is_a?(Array)
208
+ value.compact.map { |v| _to_hash(v) }
209
+ elsif value.is_a?(Hash)
210
+ {}.tap do |hash|
211
+ value.each { |k, v| hash[k] = _to_hash(v) }
212
+ end
213
+ elsif value.respond_to? :to_hash
214
+ value.to_hash
215
+ else
216
+ value
217
+ end
218
+ end
219
+
220
+ end
221
+ end
@@ -16,7 +16,7 @@ module UltracartClient
16
16
  class ConversationPbxCustomerSnapshotResponse
17
17
  attr_accessor :auto_orders
18
18
 
19
- attr_accessor :customer
19
+ attr_accessor :customers
20
20
 
21
21
  attr_accessor :error
22
22
 
@@ -33,7 +33,7 @@ module UltracartClient
33
33
  def self.attribute_map
34
34
  {
35
35
  :'auto_orders' => :'auto_orders',
36
- :'customer' => :'customer',
36
+ :'customers' => :'customers',
37
37
  :'error' => :'error',
38
38
  :'metadata' => :'metadata',
39
39
  :'orders' => :'orders',
@@ -46,7 +46,7 @@ module UltracartClient
46
46
  def self.swagger_types
47
47
  {
48
48
  :'auto_orders' => :'Array<AutoOrder>',
49
- :'customer' => :'Customer',
49
+ :'customers' => :'Array<Customer>',
50
50
  :'error' => :'Error',
51
51
  :'metadata' => :'ResponseMetadata',
52
52
  :'orders' => :'Array<Order>',
@@ -69,8 +69,10 @@ module UltracartClient
69
69
  end
70
70
  end
71
71
 
72
- if attributes.has_key?(:'customer')
73
- self.customer = attributes[:'customer']
72
+ if attributes.has_key?(:'customers')
73
+ if (value = attributes[:'customers']).is_a?(Array)
74
+ self.customers = value
75
+ end
74
76
  end
75
77
 
76
78
  if attributes.has_key?(:'error')
@@ -115,7 +117,7 @@ module UltracartClient
115
117
  return true if self.equal?(o)
116
118
  self.class == o.class &&
117
119
  auto_orders == o.auto_orders &&
118
- customer == o.customer &&
120
+ customers == o.customers &&
119
121
  error == o.error &&
120
122
  metadata == o.metadata &&
121
123
  orders == o.orders &&
@@ -132,7 +134,7 @@ module UltracartClient
132
134
  # Calculates hash code according to all attributes.
133
135
  # @return [Fixnum] Hash code
134
136
  def hash
135
- [auto_orders, customer, error, metadata, orders, success, warning].hash
137
+ [auto_orders, customers, error, metadata, orders, success, warning].hash
136
138
  end
137
139
 
138
140
  # Builds the object from hash
@@ -73,6 +73,9 @@ module UltracartClient
73
73
  # Wait time in seconds before warning
74
74
  attr_accessor :wait_warning_seconds
75
75
 
76
+ # Wrap up time in seconds
77
+ attr_accessor :wrap_up_seconds
78
+
76
79
  # Attribute mapping from ruby-style variable name to JSON key.
77
80
  def self.attribute_map
78
81
  {
@@ -95,7 +98,8 @@ module UltracartClient
95
98
  :'twilio_workspace_queue_sid' => :'twilio_workspace_queue_sid',
96
99
  :'voicemail' => :'voicemail',
97
100
  :'wait_critical_seconds' => :'wait_critical_seconds',
98
- :'wait_warning_seconds' => :'wait_warning_seconds'
101
+ :'wait_warning_seconds' => :'wait_warning_seconds',
102
+ :'wrap_up_seconds' => :'wrap_up_seconds'
99
103
  }
100
104
  end
101
105
 
@@ -121,7 +125,8 @@ module UltracartClient
121
125
  :'twilio_workspace_queue_sid' => :'String',
122
126
  :'voicemail' => :'BOOLEAN',
123
127
  :'wait_critical_seconds' => :'Integer',
124
- :'wait_warning_seconds' => :'Integer'
128
+ :'wait_warning_seconds' => :'Integer',
129
+ :'wrap_up_seconds' => :'Integer'
125
130
  }
126
131
  end
127
132
 
@@ -212,6 +217,10 @@ module UltracartClient
212
217
  if attributes.has_key?(:'wait_warning_seconds')
213
218
  self.wait_warning_seconds = attributes[:'wait_warning_seconds']
214
219
  end
220
+
221
+ if attributes.has_key?(:'wrap_up_seconds')
222
+ self.wrap_up_seconds = attributes[:'wrap_up_seconds']
223
+ end
215
224
  end
216
225
 
217
226
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -401,7 +410,8 @@ module UltracartClient
401
410
  twilio_workspace_queue_sid == o.twilio_workspace_queue_sid &&
402
411
  voicemail == o.voicemail &&
403
412
  wait_critical_seconds == o.wait_critical_seconds &&
404
- wait_warning_seconds == o.wait_warning_seconds
413
+ wait_warning_seconds == o.wait_warning_seconds &&
414
+ wrap_up_seconds == o.wrap_up_seconds
405
415
  end
406
416
 
407
417
  # @see the `==` method
@@ -413,7 +423,7 @@ module UltracartClient
413
423
  # Calculates hash code according to all attributes.
414
424
  # @return [Fixnum] Hash code
415
425
  def hash
416
- [announce_queue_position, conversation_pbx_queue_uuid, conversation_voicemail_mailbox_uuid, hold_conversation_pbx_audio_uuid, max_hold_seconds, members, merchant_id, name, no_agent_available_play_audio_uuid, no_agent_available_say, no_agent_available_say_voice, play_audio_uuid, record_call, say, say_voice, twilio_taskrouter_workflow_sid, twilio_workspace_queue_sid, voicemail, wait_critical_seconds, wait_warning_seconds].hash
426
+ [announce_queue_position, conversation_pbx_queue_uuid, conversation_voicemail_mailbox_uuid, hold_conversation_pbx_audio_uuid, max_hold_seconds, members, merchant_id, name, no_agent_available_play_audio_uuid, no_agent_available_say, no_agent_available_say_voice, play_audio_uuid, record_call, say, say_voice, twilio_taskrouter_workflow_sid, twilio_workspace_queue_sid, voicemail, wait_critical_seconds, wait_warning_seconds, wrap_up_seconds].hash
417
427
  end
418
428
 
419
429
  # Builds the object from hash
@@ -35,6 +35,22 @@ module UltracartClient
35
35
  # Email template virtual path
36
36
  attr_accessor :email_template_vm_path
37
37
 
38
+ attr_accessor :external_generation
39
+
40
+ attr_accessor :external_generation_authentication
41
+
42
+ attr_accessor :external_generation_basic_password
43
+
44
+ attr_accessor :external_generation_basic_username
45
+
46
+ attr_accessor :external_generation_header_name
47
+
48
+ attr_accessor :external_generation_header_value
49
+
50
+ attr_accessor :external_generation_id
51
+
52
+ attr_accessor :external_generation_url
53
+
38
54
  # Filter profile equation json
39
55
  attr_accessor :filter_profile_equation_json
40
56
 
@@ -102,6 +118,14 @@ module UltracartClient
102
118
  :'email_container_cjson' => :'email_container_cjson',
103
119
  :'email_container_cjson_last_modified_dts' => :'email_container_cjson_last_modified_dts',
104
120
  :'email_template_vm_path' => :'email_template_vm_path',
121
+ :'external_generation' => :'external_generation',
122
+ :'external_generation_authentication' => :'external_generation_authentication',
123
+ :'external_generation_basic_password' => :'external_generation_basic_password',
124
+ :'external_generation_basic_username' => :'external_generation_basic_username',
125
+ :'external_generation_header_name' => :'external_generation_header_name',
126
+ :'external_generation_header_value' => :'external_generation_header_value',
127
+ :'external_generation_id' => :'external_generation_id',
128
+ :'external_generation_url' => :'external_generation_url',
105
129
  :'filter_profile_equation_json' => :'filter_profile_equation_json',
106
130
  :'individually_render' => :'individually_render',
107
131
  :'library_item_oid' => :'library_item_oid',
@@ -134,6 +158,14 @@ module UltracartClient
134
158
  :'email_container_cjson' => :'String',
135
159
  :'email_container_cjson_last_modified_dts' => :'String',
136
160
  :'email_template_vm_path' => :'String',
161
+ :'external_generation' => :'BOOLEAN',
162
+ :'external_generation_authentication' => :'String',
163
+ :'external_generation_basic_password' => :'String',
164
+ :'external_generation_basic_username' => :'String',
165
+ :'external_generation_header_name' => :'String',
166
+ :'external_generation_header_value' => :'String',
167
+ :'external_generation_id' => :'String',
168
+ :'external_generation_url' => :'String',
137
169
  :'filter_profile_equation_json' => :'String',
138
170
  :'individually_render' => :'BOOLEAN',
139
171
  :'library_item_oid' => :'Integer',
@@ -192,6 +224,38 @@ module UltracartClient
192
224
  self.email_template_vm_path = attributes[:'email_template_vm_path']
193
225
  end
194
226
 
227
+ if attributes.has_key?(:'external_generation')
228
+ self.external_generation = attributes[:'external_generation']
229
+ end
230
+
231
+ if attributes.has_key?(:'external_generation_authentication')
232
+ self.external_generation_authentication = attributes[:'external_generation_authentication']
233
+ end
234
+
235
+ if attributes.has_key?(:'external_generation_basic_password')
236
+ self.external_generation_basic_password = attributes[:'external_generation_basic_password']
237
+ end
238
+
239
+ if attributes.has_key?(:'external_generation_basic_username')
240
+ self.external_generation_basic_username = attributes[:'external_generation_basic_username']
241
+ end
242
+
243
+ if attributes.has_key?(:'external_generation_header_name')
244
+ self.external_generation_header_name = attributes[:'external_generation_header_name']
245
+ end
246
+
247
+ if attributes.has_key?(:'external_generation_header_value')
248
+ self.external_generation_header_value = attributes[:'external_generation_header_value']
249
+ end
250
+
251
+ if attributes.has_key?(:'external_generation_id')
252
+ self.external_generation_id = attributes[:'external_generation_id']
253
+ end
254
+
255
+ if attributes.has_key?(:'external_generation_url')
256
+ self.external_generation_url = attributes[:'external_generation_url']
257
+ end
258
+
195
259
  if attributes.has_key?(:'filter_profile_equation_json')
196
260
  self.filter_profile_equation_json = attributes[:'filter_profile_equation_json']
197
261
  end
@@ -294,6 +358,14 @@ module UltracartClient
294
358
  email_container_cjson == o.email_container_cjson &&
295
359
  email_container_cjson_last_modified_dts == o.email_container_cjson_last_modified_dts &&
296
360
  email_template_vm_path == o.email_template_vm_path &&
361
+ external_generation == o.external_generation &&
362
+ external_generation_authentication == o.external_generation_authentication &&
363
+ external_generation_basic_password == o.external_generation_basic_password &&
364
+ external_generation_basic_username == o.external_generation_basic_username &&
365
+ external_generation_header_name == o.external_generation_header_name &&
366
+ external_generation_header_value == o.external_generation_header_value &&
367
+ external_generation_id == o.external_generation_id &&
368
+ external_generation_url == o.external_generation_url &&
297
369
  filter_profile_equation_json == o.filter_profile_equation_json &&
298
370
  individually_render == o.individually_render &&
299
371
  library_item_oid == o.library_item_oid &&
@@ -324,7 +396,7 @@ module UltracartClient
324
396
  # Calculates hash code according to all attributes.
325
397
  # @return [Fixnum] Hash code
326
398
  def hash
327
- [deleted, edited_by_user, email_communication_sequence_email_uuid, email_communication_sequence_uuid, email_container_cjson, email_container_cjson_last_modified_dts, email_template_vm_path, filter_profile_equation_json, individually_render, library_item_oid, magic_link, merchant_id, pending_review, preview_text, rejected, requires_review, screenshot_large_full_url, screenshot_large_viewport_url, screenshot_small_full_url, screenshot_small_viewport_url, smart_sending, storefront_oid, subject, suspended_for_spam, transactional_email, version].hash
399
+ [deleted, edited_by_user, email_communication_sequence_email_uuid, email_communication_sequence_uuid, email_container_cjson, email_container_cjson_last_modified_dts, email_template_vm_path, external_generation, external_generation_authentication, external_generation_basic_password, external_generation_basic_username, external_generation_header_name, external_generation_header_value, external_generation_id, external_generation_url, filter_profile_equation_json, individually_render, library_item_oid, magic_link, merchant_id, pending_review, preview_text, rejected, requires_review, screenshot_large_full_url, screenshot_large_viewport_url, screenshot_small_full_url, screenshot_small_viewport_url, smart_sending, storefront_oid, subject, suspended_for_spam, transactional_email, version].hash
328
400
  end
329
401
 
330
402
  # Builds the object from hash
@@ -14,10 +14,10 @@ require 'date'
14
14
 
15
15
  module UltracartClient
16
16
  class ItemChargeback
17
- # Addendums
17
+ # Addendums (deprecated)
18
18
  attr_accessor :addendums
19
19
 
20
- # Adjustment requests
20
+ # Adjustment requests (deprecated)
21
21
  attr_accessor :adjustment_requests
22
22
 
23
23
  # Attribute mapping from ruby-style variable name to JSON key.