ultracart_api 4.0.226 → 4.0.228

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: a04688dd66fd6c770680e8aea005e0f0bd6fe584c632a72aea4e9aea51b6ff04
4
- data.tar.gz: 67d6838c5141f29a579323cbfb6fd26097cef6a70f29733b9e9a2f4a9b4962eb
3
+ metadata.gz: e3c59cef2a7c9d3e6b13c3c026b1319c82cd180c77f81333add3a4f3a23e92a4
4
+ data.tar.gz: 78115bf376880031df4198d80a303e625648636ecfb9c070609369051cb00301
5
5
  SHA512:
6
- metadata.gz: f90479911baeee644673103d6b0b1ff2085d2ed4b012083be51f2512ae1abf13901a11eee4f667235eada4cf542331b1c3a88b90fd70f5cc31f6ed3ad0652aee
7
- data.tar.gz: f1e74794241f8817f4c2175343b499223373f353fb79938fcc4e3ce835946595f340877f5a9a799bd153e9e891fc091482c5a4d8b89924c7f49c0a9de6c4e721
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.226
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.226.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.226.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.226'
36
+ gem 'ultracart_api', '~> 4.0.228'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -311,7 +311,7 @@ Class | Method | HTTP request | Description
311
311
  *UltracartClient::ItemApi* | [**insert_item**](docs/ItemApi.md#insert_item) | **POST** /item/items | Create an item
312
312
  *UltracartClient::ItemApi* | [**insert_review**](docs/ItemApi.md#insert_review) | **POST** /item/items/{merchant_item_oid}/reviews | Insert a review
313
313
  *UltracartClient::ItemApi* | [**insert_update_item_content_attribute**](docs/ItemApi.md#insert_update_item_content_attribute) | **POST** /item/items/{merchant_item_oid}/content/attributes | Upsert an item content attribute
314
- *UltracartClient::ItemApi* | [**rest_item_inventory_snapshot_response**](docs/ItemApi.md#rest_item_inventory_snapshot_response) | **GET** /item/items/inventory_snapshot | Retrieve a list of item inventories
314
+ *UltracartClient::ItemApi* | [**rest_item_inventory_snapshot_response**](docs/ItemApi.md#rest_item_inventory_snapshot_response) | **GET** /item/items/inventory_snapshot | Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
315
315
  *UltracartClient::ItemApi* | [**update_digital_item**](docs/ItemApi.md#update_digital_item) | **PUT** /item/digital_library/{digital_item_oid} | Updates a file within the digital library
316
316
  *UltracartClient::ItemApi* | [**update_item**](docs/ItemApi.md#update_item) | **PUT** /item/items/{merchant_item_oid} | Update an item
317
317
  *UltracartClient::ItemApi* | [**update_items**](docs/ItemApi.md#update_items) | **PUT** /item/items/batch | Update multiple items
@@ -1517,6 +1517,8 @@ 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 |
1521
+ | 4.0.227 | 06/03/2024 | conversationPbxPhoneNumber - fix serialized name for phone number UUID |
1520
1522
  | 4.0.226 | 05/31/2024 | ItemApi.getInventorySnapshot method |
1521
1523
  | 4.0.225 | 05/30/2024 | add adult sig req. to the merchant item destination markup for items |
1522
1524
  | 4.0.224 | 05/29/2024 | added methods getEmailCommseqRateLimiters, resetEmailCommseqRateLimiters |
@@ -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,
@@ -6,7 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **action** | **String** | Action | [optional] |
8
8
  | **action_target** | **String** | Action target. This is the UUID associated with the configuration object of that particular type. | [optional] |
9
- | **conversation_pbx_time_range_uuid** | **String** | Conversation Pbx Phone Number UUID | [optional] |
9
+ | **conversation_pbx_phone_number_uuid** | **String** | Conversation Pbx Phone Number UUID | [optional] |
10
10
  | **merchant_id** | **String** | Merchant Id | [optional] |
11
11
  | **phone_number** | **String** | Phone number | [optional] |
12
12
 
@@ -18,7 +18,7 @@ require 'ultracart_api'
18
18
  instance = UltracartClient::ConversationPbxPhoneNumber.new(
19
19
  action: null,
20
20
  action_target: null,
21
- conversation_pbx_time_range_uuid: null,
21
+ conversation_pbx_phone_number_uuid: null,
22
22
  merchant_id: null,
23
23
  phone_number: null
24
24
  )
data/docs/ItemApi.md CHANGED
@@ -21,7 +21,7 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
21
21
  | [**insert_item**](ItemApi.md#insert_item) | **POST** /item/items | Create an item |
22
22
  | [**insert_review**](ItemApi.md#insert_review) | **POST** /item/items/{merchant_item_oid}/reviews | Insert a review |
23
23
  | [**insert_update_item_content_attribute**](ItemApi.md#insert_update_item_content_attribute) | **POST** /item/items/{merchant_item_oid}/content/attributes | Upsert an item content attribute |
24
- | [**rest_item_inventory_snapshot_response**](ItemApi.md#rest_item_inventory_snapshot_response) | **GET** /item/items/inventory_snapshot | Retrieve a list of item inventories |
24
+ | [**rest_item_inventory_snapshot_response**](ItemApi.md#rest_item_inventory_snapshot_response) | **GET** /item/items/inventory_snapshot | Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response. |
25
25
  | [**update_digital_item**](ItemApi.md#update_digital_item) | **PUT** /item/digital_library/{digital_item_oid} | Updates a file within the digital library |
26
26
  | [**update_item**](ItemApi.md#update_item) | **PUT** /item/items/{merchant_item_oid} | Update an item |
27
27
  | [**update_items**](ItemApi.md#update_items) | **PUT** /item/items/batch | Update multiple items |
@@ -1304,9 +1304,9 @@ nil (empty response body)
1304
1304
 
1305
1305
  > <ItemInventorySnapshotResponse> rest_item_inventory_snapshot_response
1306
1306
 
1307
- Retrieve a list of item inventories
1307
+ Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
1308
1308
 
1309
- Retrieves a list of item inventories.
1309
+ Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
1310
1310
 
1311
1311
  ### Examples
1312
1312
 
@@ -1324,7 +1324,7 @@ require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/
1324
1324
  api = UltracartClient::ItemApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
1325
1325
 
1326
1326
  begin
1327
- # Retrieve a list of item inventories
1327
+ # Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
1328
1328
  result = api_instance.rest_item_inventory_snapshot_response
1329
1329
  p result
1330
1330
  rescue UltracartClient::ApiError => e
@@ -1340,7 +1340,7 @@ This returns an Array which contains the response data, status code and headers.
1340
1340
 
1341
1341
  ```ruby
1342
1342
  begin
1343
- # Retrieve a list of item inventories
1343
+ # Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
1344
1344
  data, status_code, headers = api_instance.rest_item_inventory_snapshot_response_with_http_info
1345
1345
  p status_code # => 2xx
1346
1346
  p headers # => { ... }
@@ -18,8 +18,8 @@
18
18
  | **recurring_merchant_item_oid** | **Integer** | Item object identifier to rebill | [optional] |
19
19
  | **repeat_count** | **Integer** | Number of times to rebill. Last step can be null for infinite | [optional] |
20
20
  | **schedule** | **String** | Frequency of the rebill | [optional] |
21
- | **subscribe_email_list_name** | **String** | Email list name to subscribe the customer to when the rebill occurs | [optional] |
22
- | **subscribe_email_list_oid** | **Integer** | Email list identifier to subscribe the customer to when this rebill occurs | [optional] |
21
+ | **subscribe_email_list_name** | **String** | Email list name to subscribe the customer to when the rebill occurs (decommissioned email engine) | [optional] |
22
+ | **subscribe_email_list_oid** | **Integer** | Email list identifier to subscribe the customer to when this rebill occurs (decommissioned email engine) | [optional] |
23
23
  | **type** | **String** | Type of step (item, kit only, loop or pause) | [optional] |
24
24
 
25
25
  ## Example
@@ -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&lt;Integer&gt;** | Report pickable quantities | [optional] |
8
+ | **report_pickable_quantities** | **Array&lt;Integer&gt;** | Report pickable quantities (deprecated) | [optional] |
9
9
 
10
10
  ## Example
11
11
 
@@ -1221,8 +1221,8 @@ module UltracartClient
1221
1221
  return data, status_code, headers
1222
1222
  end
1223
1223
 
1224
- # Retrieve a list of item inventories
1225
- # Retrieves a list of item inventories.
1224
+ # Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
1225
+ # Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
1226
1226
  # @param [Hash] opts the optional parameters
1227
1227
  # @return [ItemInventorySnapshotResponse]
1228
1228
  def rest_item_inventory_snapshot_response(opts = {})
@@ -1230,8 +1230,8 @@ module UltracartClient
1230
1230
  data
1231
1231
  end
1232
1232
 
1233
- # Retrieve a list of item inventories
1234
- # Retrieves a list of item inventories.
1233
+ # Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
1234
+ # Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
1235
1235
  # @param [Hash] opts the optional parameters
1236
1236
  # @return [Array<(ItemInventorySnapshotResponse, Integer, Hash)>] ItemInventorySnapshotResponse data, response status code and response headers
1237
1237
  def rest_item_inventory_snapshot_response_with_http_info(opts = {})
@@ -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
@@ -22,7 +22,7 @@ module UltracartClient
22
22
  attr_accessor :action_target
23
23
 
24
24
  # Conversation Pbx Phone Number UUID
25
- attr_accessor :conversation_pbx_time_range_uuid
25
+ attr_accessor :conversation_pbx_phone_number_uuid
26
26
 
27
27
  # Merchant Id
28
28
  attr_accessor :merchant_id
@@ -57,7 +57,7 @@ module UltracartClient
57
57
  {
58
58
  :'action' => :'action',
59
59
  :'action_target' => :'action_target',
60
- :'conversation_pbx_time_range_uuid' => :'conversation_pbx_time_range_uuid',
60
+ :'conversation_pbx_phone_number_uuid' => :'conversation_pbx_phone_number_uuid',
61
61
  :'merchant_id' => :'merchant_id',
62
62
  :'phone_number' => :'phone_number'
63
63
  }
@@ -73,7 +73,7 @@ module UltracartClient
73
73
  {
74
74
  :'action' => :'String',
75
75
  :'action_target' => :'String',
76
- :'conversation_pbx_time_range_uuid' => :'String',
76
+ :'conversation_pbx_phone_number_uuid' => :'String',
77
77
  :'merchant_id' => :'String',
78
78
  :'phone_number' => :'String'
79
79
  }
@@ -108,8 +108,8 @@ module UltracartClient
108
108
  self.action_target = attributes[:'action_target']
109
109
  end
110
110
 
111
- if attributes.key?(:'conversation_pbx_time_range_uuid')
112
- self.conversation_pbx_time_range_uuid = attributes[:'conversation_pbx_time_range_uuid']
111
+ if attributes.key?(:'conversation_pbx_phone_number_uuid')
112
+ self.conversation_pbx_phone_number_uuid = attributes[:'conversation_pbx_phone_number_uuid']
113
113
  end
114
114
 
115
115
  if attributes.key?(:'merchant_id')
@@ -133,8 +133,8 @@ module UltracartClient
133
133
  invalid_properties.push('invalid value for "action_target", the character length must be smaller than or equal to 50.')
134
134
  end
135
135
 
136
- if !@conversation_pbx_time_range_uuid.nil? && @conversation_pbx_time_range_uuid.to_s.length > 50
137
- invalid_properties.push('invalid value for "conversation_pbx_time_range_uuid", the character length must be smaller than or equal to 50.')
136
+ if !@conversation_pbx_phone_number_uuid.nil? && @conversation_pbx_phone_number_uuid.to_s.length > 50
137
+ invalid_properties.push('invalid value for "conversation_pbx_phone_number_uuid", the character length must be smaller than or equal to 50.')
138
138
  end
139
139
 
140
140
  if !@merchant_id.nil? && @merchant_id.to_s.length > 5
@@ -155,7 +155,7 @@ module UltracartClient
155
155
  return false unless action_validator.valid?(@action)
156
156
  return false if !@action.nil? && @action.to_s.length > 30
157
157
  return false if !@action_target.nil? && @action_target.to_s.length > 50
158
- return false if !@conversation_pbx_time_range_uuid.nil? && @conversation_pbx_time_range_uuid.to_s.length > 50
158
+ return false if !@conversation_pbx_phone_number_uuid.nil? && @conversation_pbx_phone_number_uuid.to_s.length > 50
159
159
  return false if !@merchant_id.nil? && @merchant_id.to_s.length > 5
160
160
  return false if !@phone_number.nil? && @phone_number.to_s.length > 50
161
161
  true
@@ -182,13 +182,13 @@ module UltracartClient
182
182
  end
183
183
 
184
184
  # Custom attribute writer method with validation
185
- # @param [Object] conversation_pbx_time_range_uuid Value to be assigned
186
- def conversation_pbx_time_range_uuid=(conversation_pbx_time_range_uuid)
187
- if !conversation_pbx_time_range_uuid.nil? && conversation_pbx_time_range_uuid.to_s.length > 50
188
- fail ArgumentError, 'invalid value for "conversation_pbx_time_range_uuid", the character length must be smaller than or equal to 50.'
185
+ # @param [Object] conversation_pbx_phone_number_uuid Value to be assigned
186
+ def conversation_pbx_phone_number_uuid=(conversation_pbx_phone_number_uuid)
187
+ if !conversation_pbx_phone_number_uuid.nil? && conversation_pbx_phone_number_uuid.to_s.length > 50
188
+ fail ArgumentError, 'invalid value for "conversation_pbx_phone_number_uuid", the character length must be smaller than or equal to 50.'
189
189
  end
190
190
 
191
- @conversation_pbx_time_range_uuid = conversation_pbx_time_range_uuid
191
+ @conversation_pbx_phone_number_uuid = conversation_pbx_phone_number_uuid
192
192
  end
193
193
 
194
194
  # Custom attribute writer method with validation
@@ -218,7 +218,7 @@ module UltracartClient
218
218
  self.class == o.class &&
219
219
  action == o.action &&
220
220
  action_target == o.action_target &&
221
- conversation_pbx_time_range_uuid == o.conversation_pbx_time_range_uuid &&
221
+ conversation_pbx_phone_number_uuid == o.conversation_pbx_phone_number_uuid &&
222
222
  merchant_id == o.merchant_id &&
223
223
  phone_number == o.phone_number
224
224
  end
@@ -232,7 +232,7 @@ module UltracartClient
232
232
  # Calculates hash code according to all attributes.
233
233
  # @return [Integer] Hash code
234
234
  def hash
235
- [action, action_target, conversation_pbx_time_range_uuid, merchant_id, phone_number].hash
235
+ [action, action_target, conversation_pbx_phone_number_uuid, merchant_id, phone_number].hash
236
236
  end
237
237
 
238
238
  # Builds the object from hash
@@ -57,10 +57,10 @@ module UltracartClient
57
57
  # Frequency of the rebill
58
58
  attr_accessor :schedule
59
59
 
60
- # Email list name to subscribe the customer to when the rebill occurs
60
+ # Email list name to subscribe the customer to when the rebill occurs (decommissioned email engine)
61
61
  attr_accessor :subscribe_email_list_name
62
62
 
63
- # Email list identifier to subscribe the customer to when this rebill occurs
63
+ # Email list identifier to subscribe the customer to when this rebill occurs (decommissioned email engine)
64
64
  attr_accessor :subscribe_email_list_oid
65
65
 
66
66
  # Type of step (item, kit only, loop or pause)
@@ -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.226'
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.226
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-05-31 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