ultracart_api 4.0.227 → 4.0.228

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ac2366fac2ae6a387c3ca288316a55495125d2f860179af6742755f41a191750
4
- data.tar.gz: cda25eece20b319afd74cbbbf400fbc8b1b750f5020cd2f64c53d948294fa886
3
+ metadata.gz: e3c59cef2a7c9d3e6b13c3c026b1319c82cd180c77f81333add3a4f3a23e92a4
4
+ data.tar.gz: 78115bf376880031df4198d80a303e625648636ecfb9c070609369051cb00301
5
5
  SHA512:
6
- metadata.gz: 4b552ade3a551cee9b4bf9ded6075d5f44f1e51ff23a3987d4eabf5797efdd7d4fbdadade839f32a7f2e707728b491d26b21f4eca0f24d629fcf87c21cfe4bf9
7
- data.tar.gz: df91ec48fb312ffb57bd16dffd08d2ce0151b9cf77bca479fcb9c14acf25512196144808fd5fbb97c0311e546f0ca8bff3757eafc6ed09fa6b8f2099cc18d61b
6
+ metadata.gz: a2c98e867773c2464f74a254690ace434a5e98280c1ff5dc383dee3ff1e19e601853e90a55831b08a10dbc83d0a701f5ef4add957b8d4f9415e4bc060f439bf6
7
+ data.tar.gz: 4099b811d687e16fdcfe376f6da82763ccb678feda214d37895119e7524ecdb84fdea8bf198ee95751a105562f4f55a53bdfff9d0a7a31244a53fee073459d1c
data/README.md CHANGED
@@ -7,7 +7,7 @@ UltraCart REST API Version 2
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: 2.0.0
10
- - Package version: 4.0.227
10
+ - Package version: 4.0.228
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
13
13
 
@@ -24,16 +24,16 @@ gem build ultracart_api.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./ultracart_api-4.0.227.gem
27
+ gem install ./ultracart_api-4.0.228.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./ultracart_api-4.0.227.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./ultracart_api-4.0.228.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'ultracart_api', '~> 4.0.227'
36
+ gem 'ultracart_api', '~> 4.0.228'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -1517,6 +1517,7 @@ Not every change is committed to every SDK.
1517
1517
 
1518
1518
  | Version | Date | Comments |
1519
1519
  | --: | :-: | --- |
1520
+ | 4.0.228 | 06/07/2024 | conversation pbx - adjust agent voicemail box uuid fields |
1520
1521
  | 4.0.227 | 06/03/2024 | conversationPbxPhoneNumber - fix serialized name for phone number UUID |
1521
1522
  | 4.0.226 | 05/31/2024 | ItemApi.getInventorySnapshot method |
1522
1523
  | 4.0.225 | 05/30/2024 | add adult sig req. to the merchant item destination markup for items |
@@ -6,13 +6,14 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **cellphone** | **String** | Cellphone number of agent in E.164 format | [optional] |
8
8
  | **conversation_pbx_agent_uuid** | **String** | Conversation Pbx Agent unique identifier | [optional] |
9
- | **conversation_pbx_voicemail_mailbox_uuid** | **String** | Conversation Pbx Voicemail Mailbox UUID | [optional] |
10
9
  | **extension** | **Integer** | Extension | [optional] |
11
10
  | **forward_calls_to_cellphone** | **Boolean** | True if calls to this agent should be forwarded to their cellphone | [optional] |
12
11
  | **full_name** | **String** | Full name | [optional] |
13
12
  | **login** | **String** | Agent login | [optional] |
14
13
  | **merchant_id** | **String** | Merchant Id | [optional] |
14
+ | **personal_conversation_pbx_voicemail_mailbox_uuid** | **String** | Personal Conversation Pbx Voicemail Mailbox UUID | [optional] |
15
15
  | **record_outgoing_automatically** | **Boolean** | True if outgoing calls should be automatically recorded | [optional] |
16
+ | **shared_conversation_pbx_voicemail_mailbox_uuid** | **String** | Shared Conversation Pbx Voicemail Mailbox UUID | [optional] |
16
17
  | **twilio_taskrouter_worker_id** | **String** | Twilio taskrouter worker Id | [optional] |
17
18
  | **unavailable_play_audio_uuid** | **String** | Unavailable play audio UUID | [optional] |
18
19
  | **unavailable_say** | **String** | Unavailable say | [optional] |
@@ -28,13 +29,14 @@ require 'ultracart_api'
28
29
  instance = UltracartClient::ConversationPbxAgent.new(
29
30
  cellphone: null,
30
31
  conversation_pbx_agent_uuid: null,
31
- conversation_pbx_voicemail_mailbox_uuid: null,
32
32
  extension: null,
33
33
  forward_calls_to_cellphone: null,
34
34
  full_name: null,
35
35
  login: null,
36
36
  merchant_id: null,
37
+ personal_conversation_pbx_voicemail_mailbox_uuid: null,
37
38
  record_outgoing_automatically: null,
39
+ shared_conversation_pbx_voicemail_mailbox_uuid: null,
38
40
  twilio_taskrouter_worker_id: null,
39
41
  unavailable_play_audio_uuid: null,
40
42
  unavailable_say: null,
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **report_as_upsell** | **Boolean** | Report as an upsell | [optional] |
8
- | **report_pickable_quantities** | **Array<Integer>** | Report pickable quantities | [optional] |
8
+ | **report_pickable_quantities** | **Array<Integer>** | Report pickable quantities (deprecated) | [optional] |
9
9
 
10
10
  ## Example
11
11
 
@@ -21,9 +21,6 @@ module UltracartClient
21
21
  # Conversation Pbx Agent unique identifier
22
22
  attr_accessor :conversation_pbx_agent_uuid
23
23
 
24
- # Conversation Pbx Voicemail Mailbox UUID
25
- attr_accessor :conversation_pbx_voicemail_mailbox_uuid
26
-
27
24
  # Extension
28
25
  attr_accessor :extension
29
26
 
@@ -39,9 +36,15 @@ module UltracartClient
39
36
  # Merchant Id
40
37
  attr_accessor :merchant_id
41
38
 
39
+ # Personal Conversation Pbx Voicemail Mailbox UUID
40
+ attr_accessor :personal_conversation_pbx_voicemail_mailbox_uuid
41
+
42
42
  # True if outgoing calls should be automatically recorded
43
43
  attr_accessor :record_outgoing_automatically
44
44
 
45
+ # Shared Conversation Pbx Voicemail Mailbox UUID
46
+ attr_accessor :shared_conversation_pbx_voicemail_mailbox_uuid
47
+
45
48
  # Twilio taskrouter worker Id
46
49
  attr_accessor :twilio_taskrouter_worker_id
47
50
 
@@ -65,13 +68,14 @@ module UltracartClient
65
68
  {
66
69
  :'cellphone' => :'cellphone',
67
70
  :'conversation_pbx_agent_uuid' => :'conversation_pbx_agent_uuid',
68
- :'conversation_pbx_voicemail_mailbox_uuid' => :'conversation_pbx_voicemail_mailbox_uuid',
69
71
  :'extension' => :'extension',
70
72
  :'forward_calls_to_cellphone' => :'forward_calls_to_cellphone',
71
73
  :'full_name' => :'full_name',
72
74
  :'login' => :'login',
73
75
  :'merchant_id' => :'merchant_id',
76
+ :'personal_conversation_pbx_voicemail_mailbox_uuid' => :'personal_conversation_pbx_voicemail_mailbox_uuid',
74
77
  :'record_outgoing_automatically' => :'record_outgoing_automatically',
78
+ :'shared_conversation_pbx_voicemail_mailbox_uuid' => :'shared_conversation_pbx_voicemail_mailbox_uuid',
75
79
  :'twilio_taskrouter_worker_id' => :'twilio_taskrouter_worker_id',
76
80
  :'unavailable_play_audio_uuid' => :'unavailable_play_audio_uuid',
77
81
  :'unavailable_say' => :'unavailable_say',
@@ -91,13 +95,14 @@ module UltracartClient
91
95
  {
92
96
  :'cellphone' => :'String',
93
97
  :'conversation_pbx_agent_uuid' => :'String',
94
- :'conversation_pbx_voicemail_mailbox_uuid' => :'String',
95
98
  :'extension' => :'Integer',
96
99
  :'forward_calls_to_cellphone' => :'Boolean',
97
100
  :'full_name' => :'String',
98
101
  :'login' => :'String',
99
102
  :'merchant_id' => :'String',
103
+ :'personal_conversation_pbx_voicemail_mailbox_uuid' => :'String',
100
104
  :'record_outgoing_automatically' => :'Boolean',
105
+ :'shared_conversation_pbx_voicemail_mailbox_uuid' => :'String',
101
106
  :'twilio_taskrouter_worker_id' => :'String',
102
107
  :'unavailable_play_audio_uuid' => :'String',
103
108
  :'unavailable_say' => :'String',
@@ -136,10 +141,6 @@ module UltracartClient
136
141
  self.conversation_pbx_agent_uuid = attributes[:'conversation_pbx_agent_uuid']
137
142
  end
138
143
 
139
- if attributes.key?(:'conversation_pbx_voicemail_mailbox_uuid')
140
- self.conversation_pbx_voicemail_mailbox_uuid = attributes[:'conversation_pbx_voicemail_mailbox_uuid']
141
- end
142
-
143
144
  if attributes.key?(:'extension')
144
145
  self.extension = attributes[:'extension']
145
146
  end
@@ -160,10 +161,18 @@ module UltracartClient
160
161
  self.merchant_id = attributes[:'merchant_id']
161
162
  end
162
163
 
164
+ if attributes.key?(:'personal_conversation_pbx_voicemail_mailbox_uuid')
165
+ self.personal_conversation_pbx_voicemail_mailbox_uuid = attributes[:'personal_conversation_pbx_voicemail_mailbox_uuid']
166
+ end
167
+
163
168
  if attributes.key?(:'record_outgoing_automatically')
164
169
  self.record_outgoing_automatically = attributes[:'record_outgoing_automatically']
165
170
  end
166
171
 
172
+ if attributes.key?(:'shared_conversation_pbx_voicemail_mailbox_uuid')
173
+ self.shared_conversation_pbx_voicemail_mailbox_uuid = attributes[:'shared_conversation_pbx_voicemail_mailbox_uuid']
174
+ end
175
+
167
176
  if attributes.key?(:'twilio_taskrouter_worker_id')
168
177
  self.twilio_taskrouter_worker_id = attributes[:'twilio_taskrouter_worker_id']
169
178
  end
@@ -197,14 +206,18 @@ module UltracartClient
197
206
  invalid_properties.push('invalid value for "cellphone", the character length must be smaller than or equal to 50.')
198
207
  end
199
208
 
200
- if !@conversation_pbx_voicemail_mailbox_uuid.nil? && @conversation_pbx_voicemail_mailbox_uuid.to_s.length > 50
201
- invalid_properties.push('invalid value for "conversation_pbx_voicemail_mailbox_uuid", the character length must be smaller than or equal to 50.')
202
- end
203
-
204
209
  if !@merchant_id.nil? && @merchant_id.to_s.length > 5
205
210
  invalid_properties.push('invalid value for "merchant_id", the character length must be smaller than or equal to 5.')
206
211
  end
207
212
 
213
+ if !@personal_conversation_pbx_voicemail_mailbox_uuid.nil? && @personal_conversation_pbx_voicemail_mailbox_uuid.to_s.length > 50
214
+ invalid_properties.push('invalid value for "personal_conversation_pbx_voicemail_mailbox_uuid", the character length must be smaller than or equal to 50.')
215
+ end
216
+
217
+ if !@shared_conversation_pbx_voicemail_mailbox_uuid.nil? && @shared_conversation_pbx_voicemail_mailbox_uuid.to_s.length > 50
218
+ invalid_properties.push('invalid value for "shared_conversation_pbx_voicemail_mailbox_uuid", the character length must be smaller than or equal to 50.')
219
+ end
220
+
208
221
  if !@twilio_taskrouter_worker_id.nil? && @twilio_taskrouter_worker_id.to_s.length > 100
209
222
  invalid_properties.push('invalid value for "twilio_taskrouter_worker_id", the character length must be smaller than or equal to 100.')
210
223
  end
@@ -224,8 +237,9 @@ module UltracartClient
224
237
  # @return true if the model is valid
225
238
  def valid?
226
239
  return false if !@cellphone.nil? && @cellphone.to_s.length > 50
227
- return false if !@conversation_pbx_voicemail_mailbox_uuid.nil? && @conversation_pbx_voicemail_mailbox_uuid.to_s.length > 50
228
240
  return false if !@merchant_id.nil? && @merchant_id.to_s.length > 5
241
+ return false if !@personal_conversation_pbx_voicemail_mailbox_uuid.nil? && @personal_conversation_pbx_voicemail_mailbox_uuid.to_s.length > 50
242
+ return false if !@shared_conversation_pbx_voicemail_mailbox_uuid.nil? && @shared_conversation_pbx_voicemail_mailbox_uuid.to_s.length > 50
229
243
  return false if !@twilio_taskrouter_worker_id.nil? && @twilio_taskrouter_worker_id.to_s.length > 100
230
244
  return false if !@unavailable_play_audio_uuid.nil? && @unavailable_play_audio_uuid.to_s.length > 50
231
245
  return false if !@unavailable_say_voice.nil? && @unavailable_say_voice.to_s.length > 50
@@ -242,16 +256,6 @@ module UltracartClient
242
256
  @cellphone = cellphone
243
257
  end
244
258
 
245
- # Custom attribute writer method with validation
246
- # @param [Object] conversation_pbx_voicemail_mailbox_uuid Value to be assigned
247
- def conversation_pbx_voicemail_mailbox_uuid=(conversation_pbx_voicemail_mailbox_uuid)
248
- if !conversation_pbx_voicemail_mailbox_uuid.nil? && conversation_pbx_voicemail_mailbox_uuid.to_s.length > 50
249
- fail ArgumentError, 'invalid value for "conversation_pbx_voicemail_mailbox_uuid", the character length must be smaller than or equal to 50.'
250
- end
251
-
252
- @conversation_pbx_voicemail_mailbox_uuid = conversation_pbx_voicemail_mailbox_uuid
253
- end
254
-
255
259
  # Custom attribute writer method with validation
256
260
  # @param [Object] merchant_id Value to be assigned
257
261
  def merchant_id=(merchant_id)
@@ -262,6 +266,26 @@ module UltracartClient
262
266
  @merchant_id = merchant_id
263
267
  end
264
268
 
269
+ # Custom attribute writer method with validation
270
+ # @param [Object] personal_conversation_pbx_voicemail_mailbox_uuid Value to be assigned
271
+ def personal_conversation_pbx_voicemail_mailbox_uuid=(personal_conversation_pbx_voicemail_mailbox_uuid)
272
+ if !personal_conversation_pbx_voicemail_mailbox_uuid.nil? && personal_conversation_pbx_voicemail_mailbox_uuid.to_s.length > 50
273
+ fail ArgumentError, 'invalid value for "personal_conversation_pbx_voicemail_mailbox_uuid", the character length must be smaller than or equal to 50.'
274
+ end
275
+
276
+ @personal_conversation_pbx_voicemail_mailbox_uuid = personal_conversation_pbx_voicemail_mailbox_uuid
277
+ end
278
+
279
+ # Custom attribute writer method with validation
280
+ # @param [Object] shared_conversation_pbx_voicemail_mailbox_uuid Value to be assigned
281
+ def shared_conversation_pbx_voicemail_mailbox_uuid=(shared_conversation_pbx_voicemail_mailbox_uuid)
282
+ if !shared_conversation_pbx_voicemail_mailbox_uuid.nil? && shared_conversation_pbx_voicemail_mailbox_uuid.to_s.length > 50
283
+ fail ArgumentError, 'invalid value for "shared_conversation_pbx_voicemail_mailbox_uuid", the character length must be smaller than or equal to 50.'
284
+ end
285
+
286
+ @shared_conversation_pbx_voicemail_mailbox_uuid = shared_conversation_pbx_voicemail_mailbox_uuid
287
+ end
288
+
265
289
  # Custom attribute writer method with validation
266
290
  # @param [Object] twilio_taskrouter_worker_id Value to be assigned
267
291
  def twilio_taskrouter_worker_id=(twilio_taskrouter_worker_id)
@@ -299,13 +323,14 @@ module UltracartClient
299
323
  self.class == o.class &&
300
324
  cellphone == o.cellphone &&
301
325
  conversation_pbx_agent_uuid == o.conversation_pbx_agent_uuid &&
302
- conversation_pbx_voicemail_mailbox_uuid == o.conversation_pbx_voicemail_mailbox_uuid &&
303
326
  extension == o.extension &&
304
327
  forward_calls_to_cellphone == o.forward_calls_to_cellphone &&
305
328
  full_name == o.full_name &&
306
329
  login == o.login &&
307
330
  merchant_id == o.merchant_id &&
331
+ personal_conversation_pbx_voicemail_mailbox_uuid == o.personal_conversation_pbx_voicemail_mailbox_uuid &&
308
332
  record_outgoing_automatically == o.record_outgoing_automatically &&
333
+ shared_conversation_pbx_voicemail_mailbox_uuid == o.shared_conversation_pbx_voicemail_mailbox_uuid &&
309
334
  twilio_taskrouter_worker_id == o.twilio_taskrouter_worker_id &&
310
335
  unavailable_play_audio_uuid == o.unavailable_play_audio_uuid &&
311
336
  unavailable_say == o.unavailable_say &&
@@ -323,7 +348,7 @@ module UltracartClient
323
348
  # Calculates hash code according to all attributes.
324
349
  # @return [Integer] Hash code
325
350
  def hash
326
- [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
351
+ [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
327
352
  end
328
353
 
329
354
  # Builds the object from hash
@@ -18,7 +18,7 @@ module UltracartClient
18
18
  # Report as an upsell
19
19
  attr_accessor :report_as_upsell
20
20
 
21
- # Report pickable quantities
21
+ # Report pickable quantities (deprecated)
22
22
  attr_accessor :report_pickable_quantities
23
23
 
24
24
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.0.1-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '4.0.227'
14
+ VERSION = '4.0.228'
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: 4.0.227
4
+ version: 4.0.228
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