ultracart_api 3.10.210 → 3.10.211

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b403a2062b04d6314a96984f128de4de451a802ebdd4b8d6429149a6ae5e2a68
4
- data.tar.gz: bfccba20cd04d268f88e2bc991e7a1e4397320aef5f0479686a7227e08bc67b6
3
+ metadata.gz: ef4d553a50f563be1fa121d3a629c1a47359902147ee09b647e5b49a7f3624fc
4
+ data.tar.gz: 205d94573abad839416731ca2f68b6a5adb2c1e2bfa10440223ffa865cc34be5
5
5
  SHA512:
6
- metadata.gz: b55ff67aacd614722052d6ec7c89036a6c028b363e1a25be4a35bdf7f1c00e9dfb1b81d4bd97f8c8d8c65092c8d20e9f619d7c62938b09c3d3bd2cfabac3f4c9
7
- data.tar.gz: 8afa6c1c224dbffed8c98aaddb1438a5b216e9de8d43ae4857d59541653943a8511e375975d85857f842f5f801273e7c86fb6897eca51e614306c047dd85ed53
6
+ metadata.gz: 00b7cbdfd52a1b599eeac233f4e1a5ac6382a246b00252c9051c9e041f3c43cf05a30f741828f387d924fae77c6cb717287a1f0abcea03faf23589de8de19636
7
+ data.tar.gz: 232f5d28b268981761c8409ecd85eab1efddd38ec457508d29ac80f7bc515f8f8537ead1c7faeedb39c98dc5026bdbd37d1df428da8253cf7cd461e69d5e5782
data/README.md CHANGED
@@ -7,7 +7,7 @@ UltraCart REST API Version 2
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
9
  - API version: 2.0.0
10
- - Package version: 3.10.210
10
+ - Package version: 3.10.211
11
11
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
13
13
 
@@ -24,15 +24,15 @@ gem build ultracart_api.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./ultracart_api-3.10.210.gem
27
+ gem install ./ultracart_api-3.10.211.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.10.210.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.10.211.gem` to install the development dependencies)
30
30
 
31
31
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
32
 
33
33
  Finally add this to the Gemfile:
34
34
 
35
- gem 'ultracart_api', '~> 3.10.210'
35
+ gem 'ultracart_api', '~> 3.10.211'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -1509,6 +1509,7 @@ Not every change is committed to every SDK.
1509
1509
 
1510
1510
  | Version | Date | Comments |
1511
1511
  | --: | :-: | --- |
1512
+ | 3.10.211 | 06/07/2024 | conversation pbx - adjust agent voicemail box uuid fields |
1512
1513
  | 3.10.210 | 06/03/2024 | conversationPbxPhoneNumber - fix serialized name for phone number UUID |
1513
1514
  | 3.10.209 | 05/31/2024 | ItemApi.getInventorySnapshot method |
1514
1515
  | 3.10.208 | 05/30/2024 | add adult sig req. to the merchant item destination markup for items |
@@ -5,13 +5,14 @@ Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **cellphone** | **String** | Cellphone number of agent in E.164 format | [optional]
7
7
  **conversation_pbx_agent_uuid** | **String** | Conversation Pbx Agent unique identifier | [optional]
8
- **conversation_pbx_voicemail_mailbox_uuid** | **String** | Conversation Pbx Voicemail Mailbox UUID | [optional]
9
8
  **extension** | **Integer** | Extension | [optional]
10
9
  **forward_calls_to_cellphone** | **BOOLEAN** | True if calls to this agent should be forwarded to their cellphone | [optional]
11
10
  **full_name** | **String** | Full name | [optional]
12
11
  **login** | **String** | Agent login | [optional]
13
12
  **merchant_id** | **String** | Merchant Id | [optional]
13
+ **personal_conversation_pbx_voicemail_mailbox_uuid** | **String** | Personal Conversation Pbx Voicemail Mailbox UUID | [optional]
14
14
  **record_outgoing_automatically** | **BOOLEAN** | True if outgoing calls should be automatically recorded | [optional]
15
+ **shared_conversation_pbx_voicemail_mailbox_uuid** | **String** | Shared Conversation Pbx Voicemail Mailbox UUID | [optional]
15
16
  **twilio_taskrouter_worker_id** | **String** | Twilio taskrouter worker Id | [optional]
16
17
  **unavailable_play_audio_uuid** | **String** | Unavailable play audio UUID | [optional]
17
18
  **unavailable_say** | **String** | Unavailable say | [optional]
@@ -4,6 +4,6 @@
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **report_as_upsell** | **BOOLEAN** | Report as an upsell | [optional]
7
- **report_pickable_quantities** | **Array<Integer>** | Report pickable quantities | [optional]
7
+ **report_pickable_quantities** | **Array<Integer>** | Report pickable quantities (deprecated) | [optional]
8
8
 
9
9
 
@@ -20,9 +20,6 @@ module UltracartClient
20
20
  # Conversation Pbx Agent unique identifier
21
21
  attr_accessor :conversation_pbx_agent_uuid
22
22
 
23
- # Conversation Pbx Voicemail Mailbox UUID
24
- attr_accessor :conversation_pbx_voicemail_mailbox_uuid
25
-
26
23
  # Extension
27
24
  attr_accessor :extension
28
25
 
@@ -38,9 +35,15 @@ module UltracartClient
38
35
  # Merchant Id
39
36
  attr_accessor :merchant_id
40
37
 
38
+ # Personal Conversation Pbx Voicemail Mailbox UUID
39
+ attr_accessor :personal_conversation_pbx_voicemail_mailbox_uuid
40
+
41
41
  # True if outgoing calls should be automatically recorded
42
42
  attr_accessor :record_outgoing_automatically
43
43
 
44
+ # Shared Conversation Pbx Voicemail Mailbox UUID
45
+ attr_accessor :shared_conversation_pbx_voicemail_mailbox_uuid
46
+
44
47
  # Twilio taskrouter worker Id
45
48
  attr_accessor :twilio_taskrouter_worker_id
46
49
 
@@ -64,13 +67,14 @@ module UltracartClient
64
67
  {
65
68
  :'cellphone' => :'cellphone',
66
69
  :'conversation_pbx_agent_uuid' => :'conversation_pbx_agent_uuid',
67
- :'conversation_pbx_voicemail_mailbox_uuid' => :'conversation_pbx_voicemail_mailbox_uuid',
68
70
  :'extension' => :'extension',
69
71
  :'forward_calls_to_cellphone' => :'forward_calls_to_cellphone',
70
72
  :'full_name' => :'full_name',
71
73
  :'login' => :'login',
72
74
  :'merchant_id' => :'merchant_id',
75
+ :'personal_conversation_pbx_voicemail_mailbox_uuid' => :'personal_conversation_pbx_voicemail_mailbox_uuid',
73
76
  :'record_outgoing_automatically' => :'record_outgoing_automatically',
77
+ :'shared_conversation_pbx_voicemail_mailbox_uuid' => :'shared_conversation_pbx_voicemail_mailbox_uuid',
74
78
  :'twilio_taskrouter_worker_id' => :'twilio_taskrouter_worker_id',
75
79
  :'unavailable_play_audio_uuid' => :'unavailable_play_audio_uuid',
76
80
  :'unavailable_say' => :'unavailable_say',
@@ -85,13 +89,14 @@ module UltracartClient
85
89
  {
86
90
  :'cellphone' => :'String',
87
91
  :'conversation_pbx_agent_uuid' => :'String',
88
- :'conversation_pbx_voicemail_mailbox_uuid' => :'String',
89
92
  :'extension' => :'Integer',
90
93
  :'forward_calls_to_cellphone' => :'BOOLEAN',
91
94
  :'full_name' => :'String',
92
95
  :'login' => :'String',
93
96
  :'merchant_id' => :'String',
97
+ :'personal_conversation_pbx_voicemail_mailbox_uuid' => :'String',
94
98
  :'record_outgoing_automatically' => :'BOOLEAN',
99
+ :'shared_conversation_pbx_voicemail_mailbox_uuid' => :'String',
95
100
  :'twilio_taskrouter_worker_id' => :'String',
96
101
  :'unavailable_play_audio_uuid' => :'String',
97
102
  :'unavailable_say' => :'String',
@@ -117,10 +122,6 @@ module UltracartClient
117
122
  self.conversation_pbx_agent_uuid = attributes[:'conversation_pbx_agent_uuid']
118
123
  end
119
124
 
120
- if attributes.has_key?(:'conversation_pbx_voicemail_mailbox_uuid')
121
- self.conversation_pbx_voicemail_mailbox_uuid = attributes[:'conversation_pbx_voicemail_mailbox_uuid']
122
- end
123
-
124
125
  if attributes.has_key?(:'extension')
125
126
  self.extension = attributes[:'extension']
126
127
  end
@@ -141,10 +142,18 @@ module UltracartClient
141
142
  self.merchant_id = attributes[:'merchant_id']
142
143
  end
143
144
 
145
+ if attributes.has_key?(:'personal_conversation_pbx_voicemail_mailbox_uuid')
146
+ self.personal_conversation_pbx_voicemail_mailbox_uuid = attributes[:'personal_conversation_pbx_voicemail_mailbox_uuid']
147
+ end
148
+
144
149
  if attributes.has_key?(:'record_outgoing_automatically')
145
150
  self.record_outgoing_automatically = attributes[:'record_outgoing_automatically']
146
151
  end
147
152
 
153
+ if attributes.has_key?(:'shared_conversation_pbx_voicemail_mailbox_uuid')
154
+ self.shared_conversation_pbx_voicemail_mailbox_uuid = attributes[:'shared_conversation_pbx_voicemail_mailbox_uuid']
155
+ end
156
+
148
157
  if attributes.has_key?(:'twilio_taskrouter_worker_id')
149
158
  self.twilio_taskrouter_worker_id = attributes[:'twilio_taskrouter_worker_id']
150
159
  end
@@ -178,14 +187,18 @@ module UltracartClient
178
187
  invalid_properties.push('invalid value for "cellphone", the character length must be smaller than or equal to 50.')
179
188
  end
180
189
 
181
- if !@conversation_pbx_voicemail_mailbox_uuid.nil? && @conversation_pbx_voicemail_mailbox_uuid.to_s.length > 50
182
- invalid_properties.push('invalid value for "conversation_pbx_voicemail_mailbox_uuid", the character length must be smaller than or equal to 50.')
183
- end
184
-
185
190
  if !@merchant_id.nil? && @merchant_id.to_s.length > 5
186
191
  invalid_properties.push('invalid value for "merchant_id", the character length must be smaller than or equal to 5.')
187
192
  end
188
193
 
194
+ if !@personal_conversation_pbx_voicemail_mailbox_uuid.nil? && @personal_conversation_pbx_voicemail_mailbox_uuid.to_s.length > 50
195
+ invalid_properties.push('invalid value for "personal_conversation_pbx_voicemail_mailbox_uuid", the character length must be smaller than or equal to 50.')
196
+ end
197
+
198
+ if !@shared_conversation_pbx_voicemail_mailbox_uuid.nil? && @shared_conversation_pbx_voicemail_mailbox_uuid.to_s.length > 50
199
+ invalid_properties.push('invalid value for "shared_conversation_pbx_voicemail_mailbox_uuid", the character length must be smaller than or equal to 50.')
200
+ end
201
+
189
202
  if !@twilio_taskrouter_worker_id.nil? && @twilio_taskrouter_worker_id.to_s.length > 100
190
203
  invalid_properties.push('invalid value for "twilio_taskrouter_worker_id", the character length must be smaller than or equal to 100.')
191
204
  end
@@ -205,8 +218,9 @@ module UltracartClient
205
218
  # @return true if the model is valid
206
219
  def valid?
207
220
  return false if !@cellphone.nil? && @cellphone.to_s.length > 50
208
- return false if !@conversation_pbx_voicemail_mailbox_uuid.nil? && @conversation_pbx_voicemail_mailbox_uuid.to_s.length > 50
209
221
  return false if !@merchant_id.nil? && @merchant_id.to_s.length > 5
222
+ return false if !@personal_conversation_pbx_voicemail_mailbox_uuid.nil? && @personal_conversation_pbx_voicemail_mailbox_uuid.to_s.length > 50
223
+ return false if !@shared_conversation_pbx_voicemail_mailbox_uuid.nil? && @shared_conversation_pbx_voicemail_mailbox_uuid.to_s.length > 50
210
224
  return false if !@twilio_taskrouter_worker_id.nil? && @twilio_taskrouter_worker_id.to_s.length > 100
211
225
  return false if !@unavailable_play_audio_uuid.nil? && @unavailable_play_audio_uuid.to_s.length > 50
212
226
  return false if !@unavailable_say_voice.nil? && @unavailable_say_voice.to_s.length > 50
@@ -223,16 +237,6 @@ module UltracartClient
223
237
  @cellphone = cellphone
224
238
  end
225
239
 
226
- # Custom attribute writer method with validation
227
- # @param [Object] conversation_pbx_voicemail_mailbox_uuid Value to be assigned
228
- def conversation_pbx_voicemail_mailbox_uuid=(conversation_pbx_voicemail_mailbox_uuid)
229
- if !conversation_pbx_voicemail_mailbox_uuid.nil? && conversation_pbx_voicemail_mailbox_uuid.to_s.length > 50
230
- fail ArgumentError, 'invalid value for "conversation_pbx_voicemail_mailbox_uuid", the character length must be smaller than or equal to 50.'
231
- end
232
-
233
- @conversation_pbx_voicemail_mailbox_uuid = conversation_pbx_voicemail_mailbox_uuid
234
- end
235
-
236
240
  # Custom attribute writer method with validation
237
241
  # @param [Object] merchant_id Value to be assigned
238
242
  def merchant_id=(merchant_id)
@@ -243,6 +247,26 @@ module UltracartClient
243
247
  @merchant_id = merchant_id
244
248
  end
245
249
 
250
+ # Custom attribute writer method with validation
251
+ # @param [Object] personal_conversation_pbx_voicemail_mailbox_uuid Value to be assigned
252
+ def personal_conversation_pbx_voicemail_mailbox_uuid=(personal_conversation_pbx_voicemail_mailbox_uuid)
253
+ if !personal_conversation_pbx_voicemail_mailbox_uuid.nil? && personal_conversation_pbx_voicemail_mailbox_uuid.to_s.length > 50
254
+ fail ArgumentError, 'invalid value for "personal_conversation_pbx_voicemail_mailbox_uuid", the character length must be smaller than or equal to 50.'
255
+ end
256
+
257
+ @personal_conversation_pbx_voicemail_mailbox_uuid = personal_conversation_pbx_voicemail_mailbox_uuid
258
+ end
259
+
260
+ # Custom attribute writer method with validation
261
+ # @param [Object] shared_conversation_pbx_voicemail_mailbox_uuid Value to be assigned
262
+ def shared_conversation_pbx_voicemail_mailbox_uuid=(shared_conversation_pbx_voicemail_mailbox_uuid)
263
+ if !shared_conversation_pbx_voicemail_mailbox_uuid.nil? && shared_conversation_pbx_voicemail_mailbox_uuid.to_s.length > 50
264
+ fail ArgumentError, 'invalid value for "shared_conversation_pbx_voicemail_mailbox_uuid", the character length must be smaller than or equal to 50.'
265
+ end
266
+
267
+ @shared_conversation_pbx_voicemail_mailbox_uuid = shared_conversation_pbx_voicemail_mailbox_uuid
268
+ end
269
+
246
270
  # Custom attribute writer method with validation
247
271
  # @param [Object] twilio_taskrouter_worker_id Value to be assigned
248
272
  def twilio_taskrouter_worker_id=(twilio_taskrouter_worker_id)
@@ -280,13 +304,14 @@ module UltracartClient
280
304
  self.class == o.class &&
281
305
  cellphone == o.cellphone &&
282
306
  conversation_pbx_agent_uuid == o.conversation_pbx_agent_uuid &&
283
- conversation_pbx_voicemail_mailbox_uuid == o.conversation_pbx_voicemail_mailbox_uuid &&
284
307
  extension == o.extension &&
285
308
  forward_calls_to_cellphone == o.forward_calls_to_cellphone &&
286
309
  full_name == o.full_name &&
287
310
  login == o.login &&
288
311
  merchant_id == o.merchant_id &&
312
+ personal_conversation_pbx_voicemail_mailbox_uuid == o.personal_conversation_pbx_voicemail_mailbox_uuid &&
289
313
  record_outgoing_automatically == o.record_outgoing_automatically &&
314
+ shared_conversation_pbx_voicemail_mailbox_uuid == o.shared_conversation_pbx_voicemail_mailbox_uuid &&
290
315
  twilio_taskrouter_worker_id == o.twilio_taskrouter_worker_id &&
291
316
  unavailable_play_audio_uuid == o.unavailable_play_audio_uuid &&
292
317
  unavailable_say == o.unavailable_say &&
@@ -304,7 +329,7 @@ module UltracartClient
304
329
  # Calculates hash code according to all attributes.
305
330
  # @return [Fixnum] Hash code
306
331
  def hash
307
- [cellphone, conversation_pbx_agent_uuid, conversation_pbx_voicemail_mailbox_uuid, extension, forward_calls_to_cellphone, full_name, login, merchant_id, record_outgoing_automatically, twilio_taskrouter_worker_id, unavailable_play_audio_uuid, unavailable_say, unavailable_say_voice, user_id, voicemail].hash
332
+ [cellphone, conversation_pbx_agent_uuid, extension, forward_calls_to_cellphone, full_name, login, merchant_id, personal_conversation_pbx_voicemail_mailbox_uuid, record_outgoing_automatically, shared_conversation_pbx_voicemail_mailbox_uuid, twilio_taskrouter_worker_id, unavailable_play_audio_uuid, unavailable_say, unavailable_say_voice, user_id, voicemail].hash
308
333
  end
309
334
 
310
335
  # Builds the object from hash
@@ -17,7 +17,7 @@ module UltracartClient
17
17
  # Report as an upsell
18
18
  attr_accessor :report_as_upsell
19
19
 
20
- # Report pickable quantities
20
+ # Report pickable quantities (deprecated)
21
21
  attr_accessor :report_pickable_quantities
22
22
 
23
23
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.15-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '3.10.210'
14
+ VERSION = '3.10.211'
15
15
  end
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.210
4
+ version: 3.10.211
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-03 00:00:00.000000000 Z
11
+ date: 2024-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus