ultracart_api 3.10.191 → 3.10.193

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.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +19 -4
  3. data/docs/AutoOrder.md +1 -0
  4. data/docs/AutoOrderItem.md +2 -0
  5. data/docs/ConversationApi.md +408 -0
  6. data/docs/ConversationPbxVoicemailMessage.md +20 -0
  7. data/docs/ConversationPbxVoicemailMessageResponse.md +12 -0
  8. data/docs/ConversationPbxVoicemailMessageSummariesResponse.md +12 -0
  9. data/docs/ConversationPbxVoicemailMessageSummary.md +17 -0
  10. data/docs/ItemApi.md +53 -0
  11. data/docs/WorkflowTask.md +2 -2
  12. data/docs/WorkflowTasksRequest.md +2 -0
  13. data/lib/ultracart_api/api/conversation_api.rb +448 -0
  14. data/lib/ultracart_api/api/item_api.rb +60 -0
  15. data/lib/ultracart_api/models/auto_order.rb +11 -1
  16. data/lib/ultracart_api/models/auto_order_item.rb +21 -1
  17. data/lib/ultracart_api/models/conversation_pbx_phone_number_response.rb +3 -3
  18. data/lib/ultracart_api/models/conversation_pbx_phone_numbers_response.rb +3 -3
  19. data/lib/ultracart_api/models/conversation_pbx_time_based_response.rb +3 -3
  20. data/lib/ultracart_api/models/conversation_pbx_time_baseds_response.rb +3 -3
  21. data/lib/ultracart_api/models/conversation_pbx_time_range_response.rb +3 -3
  22. data/lib/ultracart_api/models/conversation_pbx_time_ranges_response.rb +3 -3
  23. data/lib/ultracart_api/models/conversation_pbx_voicemail_mailbox.rb +29 -5
  24. data/lib/ultracart_api/models/conversation_pbx_voicemail_mailbox_response.rb +3 -3
  25. data/lib/ultracart_api/models/conversation_pbx_voicemail_mailboxes_response.rb +3 -3
  26. data/lib/ultracart_api/models/conversation_pbx_voicemail_message.rb +339 -0
  27. data/lib/ultracart_api/models/conversation_pbx_voicemail_message_response.rb +221 -0
  28. data/lib/ultracart_api/models/conversation_pbx_voicemail_message_summaries_response.rb +223 -0
  29. data/lib/ultracart_api/models/conversation_pbx_voicemail_message_summary.rb +309 -0
  30. data/lib/ultracart_api/models/workflow_task.rb +2 -2
  31. data/lib/ultracart_api/models/workflow_tasks_request.rb +21 -1
  32. data/lib/ultracart_api/version.rb +1 -1
  33. data/lib/ultracart_api.rb +4 -0
  34. metadata +10 -2
@@ -0,0 +1,223 @@
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 ConversationPbxVoicemailMessageSummariesResponse
17
+ attr_accessor :error
18
+
19
+ attr_accessor :metadata
20
+
21
+ # Indicates if API call was successful
22
+ attr_accessor :success
23
+
24
+ attr_accessor :voicemail_message_summaries
25
+
26
+ attr_accessor :warning
27
+
28
+ # Attribute mapping from ruby-style variable name to JSON key.
29
+ def self.attribute_map
30
+ {
31
+ :'error' => :'error',
32
+ :'metadata' => :'metadata',
33
+ :'success' => :'success',
34
+ :'voicemail_message_summaries' => :'voicemail_message_summaries',
35
+ :'warning' => :'warning'
36
+ }
37
+ end
38
+
39
+ # Attribute type mapping.
40
+ def self.swagger_types
41
+ {
42
+ :'error' => :'Error',
43
+ :'metadata' => :'ResponseMetadata',
44
+ :'success' => :'BOOLEAN',
45
+ :'voicemail_message_summaries' => :'Array<ConversationPbxVoicemailMessageSummary>',
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?(:'error')
59
+ self.error = attributes[:'error']
60
+ end
61
+
62
+ if attributes.has_key?(:'metadata')
63
+ self.metadata = attributes[:'metadata']
64
+ end
65
+
66
+ if attributes.has_key?(:'success')
67
+ self.success = attributes[:'success']
68
+ end
69
+
70
+ if attributes.has_key?(:'voicemail_message_summaries')
71
+ if (value = attributes[:'voicemail_message_summaries']).is_a?(Array)
72
+ self.voicemail_message_summaries = value
73
+ end
74
+ end
75
+
76
+ if attributes.has_key?(:'warning')
77
+ self.warning = attributes[:'warning']
78
+ end
79
+ end
80
+
81
+ # Show invalid properties with the reasons. Usually used together with valid?
82
+ # @return Array for valid properties with the reasons
83
+ def list_invalid_properties
84
+ invalid_properties = Array.new
85
+ invalid_properties
86
+ end
87
+
88
+ # Check to see if the all the properties in the model are valid
89
+ # @return true if the model is valid
90
+ def valid?
91
+ true
92
+ end
93
+
94
+ # Checks equality by comparing each attribute.
95
+ # @param [Object] Object to be compared
96
+ def ==(o)
97
+ return true if self.equal?(o)
98
+ self.class == o.class &&
99
+ error == o.error &&
100
+ metadata == o.metadata &&
101
+ success == o.success &&
102
+ voicemail_message_summaries == o.voicemail_message_summaries &&
103
+ warning == o.warning
104
+ end
105
+
106
+ # @see the `==` method
107
+ # @param [Object] Object to be compared
108
+ def eql?(o)
109
+ self == o
110
+ end
111
+
112
+ # Calculates hash code according to all attributes.
113
+ # @return [Fixnum] Hash code
114
+ def hash
115
+ [error, metadata, success, voicemail_message_summaries, warning].hash
116
+ end
117
+
118
+ # Builds the object from hash
119
+ # @param [Hash] attributes Model attributes in the form of hash
120
+ # @return [Object] Returns the model itself
121
+ def build_from_hash(attributes)
122
+ return nil unless attributes.is_a?(Hash)
123
+ self.class.swagger_types.each_pair do |key, type|
124
+ if type =~ /\AArray<(.*)>/i
125
+ # check to ensure the input is an array given that the attribute
126
+ # is documented as an array but the input is not
127
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
128
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
129
+ end
130
+ elsif !attributes[self.class.attribute_map[key]].nil?
131
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
132
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
133
+ end
134
+
135
+ self
136
+ end
137
+
138
+ # Deserializes the data based on type
139
+ # @param string type Data type
140
+ # @param string value Value to be deserialized
141
+ # @return [Object] Deserialized data
142
+ def _deserialize(type, value)
143
+ case type.to_sym
144
+ when :DateTime
145
+ DateTime.parse(value)
146
+ when :Date
147
+ Date.parse(value)
148
+ when :String
149
+ value.to_s
150
+ when :Integer
151
+ value.to_i
152
+ when :Float
153
+ value.to_f
154
+ when :BOOLEAN
155
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
156
+ true
157
+ else
158
+ false
159
+ end
160
+ when :Object
161
+ # generic object (usually a Hash), return directly
162
+ value
163
+ when /\AArray<(?<inner_type>.+)>\z/
164
+ inner_type = Regexp.last_match[:inner_type]
165
+ value.map { |v| _deserialize(inner_type, v) }
166
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
167
+ k_type = Regexp.last_match[:k_type]
168
+ v_type = Regexp.last_match[:v_type]
169
+ {}.tap do |hash|
170
+ value.each do |k, v|
171
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
172
+ end
173
+ end
174
+ else # model
175
+ temp_model = UltracartClient.const_get(type).new
176
+ temp_model.build_from_hash(value)
177
+ end
178
+ end
179
+
180
+ # Returns the string representation of the object
181
+ # @return [String] String presentation of the object
182
+ def to_s
183
+ to_hash.to_s
184
+ end
185
+
186
+ # to_body is an alias to to_hash (backward compatibility)
187
+ # @return [Hash] Returns the object in the form of hash
188
+ def to_body
189
+ to_hash
190
+ end
191
+
192
+ # Returns the object in the form of hash
193
+ # @return [Hash] Returns the object in the form of hash
194
+ def to_hash
195
+ hash = {}
196
+ self.class.attribute_map.each_pair do |attr, param|
197
+ value = self.send(attr)
198
+ next if value.nil?
199
+ hash[param] = _to_hash(value)
200
+ end
201
+ hash
202
+ end
203
+
204
+ # Outputs non-array value in the form of hash
205
+ # For object, use to_hash. Otherwise, just return the value
206
+ # @param [Object] value Any valid value
207
+ # @return [Hash] Returns the value in the form of hash
208
+ def _to_hash(value)
209
+ if value.is_a?(Array)
210
+ value.compact.map { |v| _to_hash(v) }
211
+ elsif value.is_a?(Hash)
212
+ {}.tap do |hash|
213
+ value.each { |k, v| hash[k] = _to_hash(v) }
214
+ end
215
+ elsif value.respond_to? :to_hash
216
+ value.to_hash
217
+ else
218
+ value
219
+ end
220
+ end
221
+
222
+ end
223
+ end
@@ -0,0 +1,309 @@
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 ConversationPbxVoicemailMessageSummary
17
+ # Call SID
18
+ attr_accessor :call_sid
19
+
20
+ # Duration in seconds
21
+ attr_accessor :duration
22
+
23
+ # From phone number in E.164
24
+ attr_accessor :from
25
+
26
+ # From caller id (if available)
27
+ attr_accessor :from_caller_id
28
+
29
+ # True if the voicemail has been listened to in the user interface
30
+ attr_accessor :listened
31
+
32
+ # Merchant ID
33
+ attr_accessor :merchant_id
34
+
35
+ # Recording SID
36
+ attr_accessor :recording_sid
37
+
38
+ # Recording size in bytes
39
+ attr_accessor :recording_size_bytes
40
+
41
+ # Recording Status
42
+ attr_accessor :recording_status
43
+
44
+ # Voicemail date/time
45
+ attr_accessor :voicemail_dts
46
+
47
+ class EnumAttributeValidator
48
+ attr_reader :datatype
49
+ attr_reader :allowable_values
50
+
51
+ def initialize(datatype, allowable_values)
52
+ @allowable_values = allowable_values.map do |value|
53
+ case datatype.to_s
54
+ when /Integer/i
55
+ value.to_i
56
+ when /Float/i
57
+ value.to_f
58
+ else
59
+ value
60
+ end
61
+ end
62
+ end
63
+
64
+ def valid?(value)
65
+ !value || allowable_values.include?(value)
66
+ end
67
+ end
68
+
69
+ # Attribute mapping from ruby-style variable name to JSON key.
70
+ def self.attribute_map
71
+ {
72
+ :'call_sid' => :'call_sid',
73
+ :'duration' => :'duration',
74
+ :'from' => :'from',
75
+ :'from_caller_id' => :'from_caller_id',
76
+ :'listened' => :'listened',
77
+ :'merchant_id' => :'merchant_id',
78
+ :'recording_sid' => :'recording_sid',
79
+ :'recording_size_bytes' => :'recording_size_bytes',
80
+ :'recording_status' => :'recording_status',
81
+ :'voicemail_dts' => :'voicemail_dts'
82
+ }
83
+ end
84
+
85
+ # Attribute type mapping.
86
+ def self.swagger_types
87
+ {
88
+ :'call_sid' => :'String',
89
+ :'duration' => :'Integer',
90
+ :'from' => :'String',
91
+ :'from_caller_id' => :'String',
92
+ :'listened' => :'BOOLEAN',
93
+ :'merchant_id' => :'String',
94
+ :'recording_sid' => :'String',
95
+ :'recording_size_bytes' => :'Integer',
96
+ :'recording_status' => :'String',
97
+ :'voicemail_dts' => :'String'
98
+ }
99
+ end
100
+
101
+ # Initializes the object
102
+ # @param [Hash] attributes Model attributes in the form of hash
103
+ def initialize(attributes = {})
104
+ return unless attributes.is_a?(Hash)
105
+
106
+ # convert string to symbol for hash key
107
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
108
+
109
+ if attributes.has_key?(:'call_sid')
110
+ self.call_sid = attributes[:'call_sid']
111
+ end
112
+
113
+ if attributes.has_key?(:'duration')
114
+ self.duration = attributes[:'duration']
115
+ end
116
+
117
+ if attributes.has_key?(:'from')
118
+ self.from = attributes[:'from']
119
+ end
120
+
121
+ if attributes.has_key?(:'from_caller_id')
122
+ self.from_caller_id = attributes[:'from_caller_id']
123
+ end
124
+
125
+ if attributes.has_key?(:'listened')
126
+ self.listened = attributes[:'listened']
127
+ end
128
+
129
+ if attributes.has_key?(:'merchant_id')
130
+ self.merchant_id = attributes[:'merchant_id']
131
+ end
132
+
133
+ if attributes.has_key?(:'recording_sid')
134
+ self.recording_sid = attributes[:'recording_sid']
135
+ end
136
+
137
+ if attributes.has_key?(:'recording_size_bytes')
138
+ self.recording_size_bytes = attributes[:'recording_size_bytes']
139
+ end
140
+
141
+ if attributes.has_key?(:'recording_status')
142
+ self.recording_status = attributes[:'recording_status']
143
+ end
144
+
145
+ if attributes.has_key?(:'voicemail_dts')
146
+ self.voicemail_dts = attributes[:'voicemail_dts']
147
+ end
148
+ end
149
+
150
+ # Show invalid properties with the reasons. Usually used together with valid?
151
+ # @return Array for valid properties with the reasons
152
+ def list_invalid_properties
153
+ invalid_properties = Array.new
154
+ invalid_properties
155
+ end
156
+
157
+ # Check to see if the all the properties in the model are valid
158
+ # @return true if the model is valid
159
+ def valid?
160
+ recording_status_validator = EnumAttributeValidator.new('String', ['completed'])
161
+ return false unless recording_status_validator.valid?(@recording_status)
162
+ true
163
+ end
164
+
165
+ # Custom attribute writer method checking allowed values (enum).
166
+ # @param [Object] recording_status Object to be assigned
167
+ def recording_status=(recording_status)
168
+ validator = EnumAttributeValidator.new('String', ['completed'])
169
+ unless validator.valid?(recording_status)
170
+ fail ArgumentError, 'invalid value for "recording_status", must be one of #{validator.allowable_values}.'
171
+ end
172
+ @recording_status = recording_status
173
+ end
174
+
175
+ # Checks equality by comparing each attribute.
176
+ # @param [Object] Object to be compared
177
+ def ==(o)
178
+ return true if self.equal?(o)
179
+ self.class == o.class &&
180
+ call_sid == o.call_sid &&
181
+ duration == o.duration &&
182
+ from == o.from &&
183
+ from_caller_id == o.from_caller_id &&
184
+ listened == o.listened &&
185
+ merchant_id == o.merchant_id &&
186
+ recording_sid == o.recording_sid &&
187
+ recording_size_bytes == o.recording_size_bytes &&
188
+ recording_status == o.recording_status &&
189
+ voicemail_dts == o.voicemail_dts
190
+ end
191
+
192
+ # @see the `==` method
193
+ # @param [Object] Object to be compared
194
+ def eql?(o)
195
+ self == o
196
+ end
197
+
198
+ # Calculates hash code according to all attributes.
199
+ # @return [Fixnum] Hash code
200
+ def hash
201
+ [call_sid, duration, from, from_caller_id, listened, merchant_id, recording_sid, recording_size_bytes, recording_status, voicemail_dts].hash
202
+ end
203
+
204
+ # Builds the object from hash
205
+ # @param [Hash] attributes Model attributes in the form of hash
206
+ # @return [Object] Returns the model itself
207
+ def build_from_hash(attributes)
208
+ return nil unless attributes.is_a?(Hash)
209
+ self.class.swagger_types.each_pair do |key, type|
210
+ if type =~ /\AArray<(.*)>/i
211
+ # check to ensure the input is an array given that the attribute
212
+ # is documented as an array but the input is not
213
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
214
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
215
+ end
216
+ elsif !attributes[self.class.attribute_map[key]].nil?
217
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
218
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
219
+ end
220
+
221
+ self
222
+ end
223
+
224
+ # Deserializes the data based on type
225
+ # @param string type Data type
226
+ # @param string value Value to be deserialized
227
+ # @return [Object] Deserialized data
228
+ def _deserialize(type, value)
229
+ case type.to_sym
230
+ when :DateTime
231
+ DateTime.parse(value)
232
+ when :Date
233
+ Date.parse(value)
234
+ when :String
235
+ value.to_s
236
+ when :Integer
237
+ value.to_i
238
+ when :Float
239
+ value.to_f
240
+ when :BOOLEAN
241
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
242
+ true
243
+ else
244
+ false
245
+ end
246
+ when :Object
247
+ # generic object (usually a Hash), return directly
248
+ value
249
+ when /\AArray<(?<inner_type>.+)>\z/
250
+ inner_type = Regexp.last_match[:inner_type]
251
+ value.map { |v| _deserialize(inner_type, v) }
252
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
253
+ k_type = Regexp.last_match[:k_type]
254
+ v_type = Regexp.last_match[:v_type]
255
+ {}.tap do |hash|
256
+ value.each do |k, v|
257
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
258
+ end
259
+ end
260
+ else # model
261
+ temp_model = UltracartClient.const_get(type).new
262
+ temp_model.build_from_hash(value)
263
+ end
264
+ end
265
+
266
+ # Returns the string representation of the object
267
+ # @return [String] String presentation of the object
268
+ def to_s
269
+ to_hash.to_s
270
+ end
271
+
272
+ # to_body is an alias to to_hash (backward compatibility)
273
+ # @return [Hash] Returns the object in the form of hash
274
+ def to_body
275
+ to_hash
276
+ end
277
+
278
+ # Returns the object in the form of hash
279
+ # @return [Hash] Returns the object in the form of hash
280
+ def to_hash
281
+ hash = {}
282
+ self.class.attribute_map.each_pair do |attr, param|
283
+ value = self.send(attr)
284
+ next if value.nil?
285
+ hash[param] = _to_hash(value)
286
+ end
287
+ hash
288
+ end
289
+
290
+ # Outputs non-array value in the form of hash
291
+ # For object, use to_hash. Otherwise, just return the value
292
+ # @param [Object] value Any valid value
293
+ # @return [Hash] Returns the value in the form of hash
294
+ def _to_hash(value)
295
+ if value.is_a?(Array)
296
+ value.compact.map { |v| _to_hash(v) }
297
+ elsif value.is_a?(Hash)
298
+ {}.tap do |hash|
299
+ value.each { |k, v| hash[k] = _to_hash(v) }
300
+ end
301
+ elsif value.respond_to? :to_hash
302
+ value.to_hash
303
+ else
304
+ value
305
+ end
306
+ end
307
+
308
+ end
309
+ end
@@ -49,7 +49,7 @@ module UltracartClient
49
49
  # Date/time that the workflow task will expire and be closed. This is set by system generated tasks.
50
50
  attr_accessor :expiration_dts
51
51
 
52
- # Global task numer
52
+ # Global task number
53
53
  attr_accessor :global_task_number
54
54
 
55
55
  # Array of history records for the task
@@ -70,7 +70,7 @@ module UltracartClient
70
70
  # Object ID
71
71
  attr_accessor :object_id
72
72
 
73
- # Object specific task numer
73
+ # Object specific task number
74
74
  attr_accessor :object_task_number
75
75
 
76
76
  # Object Type
@@ -14,12 +14,18 @@ require 'date'
14
14
 
15
15
  module UltracartClient
16
16
  class WorkflowTasksRequest
17
+ # Assigned to group
18
+ attr_accessor :assigned_to_group
19
+
17
20
  # Assigned to group ID
18
21
  attr_accessor :assigned_to_group_id
19
22
 
20
23
  # Tasks are assigned to me either by direct user id or a group that the user is a member of
21
24
  attr_accessor :assigned_to_me
22
25
 
26
+ # Assigned to user
27
+ attr_accessor :assigned_to_user
28
+
23
29
  # Assigned to user ID
24
30
  attr_accessor :assigned_to_user_id
25
31
 
@@ -92,8 +98,10 @@ module UltracartClient
92
98
  # Attribute mapping from ruby-style variable name to JSON key.
93
99
  def self.attribute_map
94
100
  {
101
+ :'assigned_to_group' => :'assigned_to_group',
95
102
  :'assigned_to_group_id' => :'assigned_to_group_id',
96
103
  :'assigned_to_me' => :'assigned_to_me',
104
+ :'assigned_to_user' => :'assigned_to_user',
97
105
  :'assigned_to_user_id' => :'assigned_to_user_id',
98
106
  :'created_by' => :'created_by',
99
107
  :'created_dts_begin' => :'created_dts_begin',
@@ -116,8 +124,10 @@ module UltracartClient
116
124
  # Attribute type mapping.
117
125
  def self.swagger_types
118
126
  {
127
+ :'assigned_to_group' => :'String',
119
128
  :'assigned_to_group_id' => :'Integer',
120
129
  :'assigned_to_me' => :'BOOLEAN',
130
+ :'assigned_to_user' => :'String',
121
131
  :'assigned_to_user_id' => :'Integer',
122
132
  :'created_by' => :'WorkflowUser',
123
133
  :'created_dts_begin' => :'String',
@@ -145,6 +155,10 @@ module UltracartClient
145
155
  # convert string to symbol for hash key
146
156
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
147
157
 
158
+ if attributes.has_key?(:'assigned_to_group')
159
+ self.assigned_to_group = attributes[:'assigned_to_group']
160
+ end
161
+
148
162
  if attributes.has_key?(:'assigned_to_group_id')
149
163
  self.assigned_to_group_id = attributes[:'assigned_to_group_id']
150
164
  end
@@ -153,6 +167,10 @@ module UltracartClient
153
167
  self.assigned_to_me = attributes[:'assigned_to_me']
154
168
  end
155
169
 
170
+ if attributes.has_key?(:'assigned_to_user')
171
+ self.assigned_to_user = attributes[:'assigned_to_user']
172
+ end
173
+
156
174
  if attributes.has_key?(:'assigned_to_user_id')
157
175
  self.assigned_to_user_id = attributes[:'assigned_to_user_id']
158
176
  end
@@ -274,8 +292,10 @@ module UltracartClient
274
292
  def ==(o)
275
293
  return true if self.equal?(o)
276
294
  self.class == o.class &&
295
+ assigned_to_group == o.assigned_to_group &&
277
296
  assigned_to_group_id == o.assigned_to_group_id &&
278
297
  assigned_to_me == o.assigned_to_me &&
298
+ assigned_to_user == o.assigned_to_user &&
279
299
  assigned_to_user_id == o.assigned_to_user_id &&
280
300
  created_by == o.created_by &&
281
301
  created_dts_begin == o.created_dts_begin &&
@@ -303,7 +323,7 @@ module UltracartClient
303
323
  # Calculates hash code according to all attributes.
304
324
  # @return [Fixnum] Hash code
305
325
  def hash
306
- [assigned_to_group_id, assigned_to_me, assigned_to_user_id, created_by, created_dts_begin, created_dts_end, delay_until_dts_begin, delay_until_dts_end, due_dts_begin, due_dts_end, last_update_dts_begin, last_update_dts_end, object_email, object_type, priority, status, tags, unassigned].hash
326
+ [assigned_to_group, assigned_to_group_id, assigned_to_me, assigned_to_user, assigned_to_user_id, created_by, created_dts_begin, created_dts_end, delay_until_dts_begin, delay_until_dts_end, due_dts_begin, due_dts_end, last_update_dts_begin, last_update_dts_end, object_email, object_type, priority, status, tags, unassigned].hash
307
327
  end
308
328
 
309
329
  # Builds the object from hash
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.15-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '3.10.191'
14
+ VERSION = '3.10.193'
15
15
  end
data/lib/ultracart_api.rb CHANGED
@@ -217,6 +217,10 @@ require 'ultracart_api/models/conversation_pbx_time_ranges_response'
217
217
  require 'ultracart_api/models/conversation_pbx_voicemail_mailbox'
218
218
  require 'ultracart_api/models/conversation_pbx_voicemail_mailbox_response'
219
219
  require 'ultracart_api/models/conversation_pbx_voicemail_mailboxes_response'
220
+ require 'ultracart_api/models/conversation_pbx_voicemail_message'
221
+ require 'ultracart_api/models/conversation_pbx_voicemail_message_response'
222
+ require 'ultracart_api/models/conversation_pbx_voicemail_message_summaries_response'
223
+ require 'ultracart_api/models/conversation_pbx_voicemail_message_summary'
220
224
  require 'ultracart_api/models/conversation_permissions'
221
225
  require 'ultracart_api/models/conversation_permissions_response'
222
226
  require 'ultracart_api/models/conversation_response'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ultracart_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.10.191
4
+ version: 3.10.193
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-26 00:00:00.000000000 Z
11
+ date: 2024-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -427,6 +427,10 @@ files:
427
427
  - docs/ConversationPbxVoicemailMailbox.md
428
428
  - docs/ConversationPbxVoicemailMailboxResponse.md
429
429
  - docs/ConversationPbxVoicemailMailboxesResponse.md
430
+ - docs/ConversationPbxVoicemailMessage.md
431
+ - docs/ConversationPbxVoicemailMessageResponse.md
432
+ - docs/ConversationPbxVoicemailMessageSummariesResponse.md
433
+ - docs/ConversationPbxVoicemailMessageSummary.md
430
434
  - docs/ConversationPermissions.md
431
435
  - docs/ConversationPermissionsResponse.md
432
436
  - docs/ConversationResponse.md
@@ -1309,6 +1313,10 @@ files:
1309
1313
  - lib/ultracart_api/models/conversation_pbx_voicemail_mailbox.rb
1310
1314
  - lib/ultracart_api/models/conversation_pbx_voicemail_mailbox_response.rb
1311
1315
  - lib/ultracart_api/models/conversation_pbx_voicemail_mailboxes_response.rb
1316
+ - lib/ultracart_api/models/conversation_pbx_voicemail_message.rb
1317
+ - lib/ultracart_api/models/conversation_pbx_voicemail_message_response.rb
1318
+ - lib/ultracart_api/models/conversation_pbx_voicemail_message_summaries_response.rb
1319
+ - lib/ultracart_api/models/conversation_pbx_voicemail_message_summary.rb
1312
1320
  - lib/ultracart_api/models/conversation_permissions.rb
1313
1321
  - lib/ultracart_api/models/conversation_permissions_response.rb
1314
1322
  - lib/ultracart_api/models/conversation_response.rb