ultracart_api 3.10.209 → 3.10.211
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -5
- data/docs/ConversationPbxAgent.md +2 -1
- data/docs/ConversationPbxPhoneNumber.md +1 -1
- data/docs/ItemApi.md +4 -4
- data/docs/ItemAutoOrderStep.md +2 -2
- data/docs/ItemReporting.md +1 -1
- data/lib/ultracart_api/api/item_api.rb +4 -4
- data/lib/ultracart_api/models/conversation_pbx_agent.rb +51 -26
- data/lib/ultracart_api/models/conversation_pbx_phone_number.rb +15 -15
- data/lib/ultracart_api/models/item_auto_order_step.rb +2 -2
- data/lib/ultracart_api/models/item_reporting.rb +1 -1
- data/lib/ultracart_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef4d553a50f563be1fa121d3a629c1a47359902147ee09b647e5b49a7f3624fc
|
4
|
+
data.tar.gz: 205d94573abad839416731ca2f68b6a5adb2c1e2bfa10440223ffa865cc34be5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
27
|
+
gem install ./ultracart_api-3.10.211.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.10.
|
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.
|
35
|
+
gem 'ultracart_api', '~> 3.10.211'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -305,7 +305,7 @@ Class | Method | HTTP request | Description
|
|
305
305
|
*UltracartClient::ItemApi* | [**insert_item**](docs/ItemApi.md#insert_item) | **POST** /item/items | Create an item
|
306
306
|
*UltracartClient::ItemApi* | [**insert_review**](docs/ItemApi.md#insert_review) | **POST** /item/items/{merchant_item_oid}/reviews | Insert a review
|
307
307
|
*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
|
308
|
-
*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
|
308
|
+
*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.
|
309
309
|
*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
|
310
310
|
*UltracartClient::ItemApi* | [**update_item**](docs/ItemApi.md#update_item) | **PUT** /item/items/{merchant_item_oid} | Update an item
|
311
311
|
*UltracartClient::ItemApi* | [**update_items**](docs/ItemApi.md#update_items) | **PUT** /item/items/batch | Update multiple items
|
@@ -1509,6 +1509,8 @@ 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 |
|
1513
|
+
| 3.10.210 | 06/03/2024 | conversationPbxPhoneNumber - fix serialized name for phone number UUID |
|
1512
1514
|
| 3.10.209 | 05/31/2024 | ItemApi.getInventorySnapshot method |
|
1513
1515
|
| 3.10.208 | 05/30/2024 | add adult sig req. to the merchant item destination markup for items |
|
1514
1516
|
| 3.10.207 | 05/29/2024 | added methods getEmailCommseqRateLimiters, resetEmailCommseqRateLimiters |
|
@@ -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]
|
@@ -5,7 +5,7 @@ Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**action** | **String** | Action | [optional]
|
7
7
|
**action_target** | **String** | Action target. This is the UUID associated with the configuration object of that particular type. | [optional]
|
8
|
-
**
|
8
|
+
**conversation_pbx_phone_number_uuid** | **String** | Conversation Pbx Phone Number UUID | [optional]
|
9
9
|
**merchant_id** | **String** | Merchant Id | [optional]
|
10
10
|
**phone_number** | **String** | Phone number | [optional]
|
11
11
|
|
data/docs/ItemApi.md
CHANGED
@@ -21,7 +21,7 @@ Method | HTTP request | Description
|
|
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
|
@@ -946,9 +946,9 @@ nil (empty response body)
|
|
946
946
|
# **rest_item_inventory_snapshot_response**
|
947
947
|
> ItemInventorySnapshotResponse rest_item_inventory_snapshot_response
|
948
948
|
|
949
|
-
Retrieve a list of item inventories
|
949
|
+
Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
950
950
|
|
951
|
-
|
951
|
+
Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
952
952
|
|
953
953
|
### Example
|
954
954
|
```ruby
|
@@ -962,7 +962,7 @@ api_instance = UltracartClient::ItemApi.new_using_api_key(simple_key, false, fal
|
|
962
962
|
|
963
963
|
|
964
964
|
begin
|
965
|
-
#Retrieve a list of item inventories
|
965
|
+
#Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
966
966
|
result = api_instance.rest_item_inventory_snapshot_response
|
967
967
|
p result
|
968
968
|
rescue UltracartClient::ApiError => e
|
data/docs/ItemAutoOrderStep.md
CHANGED
@@ -17,8 +17,8 @@ Name | Type | Description | Notes
|
|
17
17
|
**recurring_merchant_item_oid** | **Integer** | Item object identifier to rebill | [optional]
|
18
18
|
**repeat_count** | **Integer** | Number of times to rebill. Last step can be null for infinite | [optional]
|
19
19
|
**schedule** | **String** | Frequency of the rebill | [optional]
|
20
|
-
**subscribe_email_list_name** | **String** | Email list name to subscribe the customer to when the rebill occurs | [optional]
|
21
|
-
**subscribe_email_list_oid** | **Integer** | Email list identifier to subscribe the customer to when this rebill occurs | [optional]
|
20
|
+
**subscribe_email_list_name** | **String** | Email list name to subscribe the customer to when the rebill occurs (decommissioned email engine) | [optional]
|
21
|
+
**subscribe_email_list_oid** | **Integer** | Email list identifier to subscribe the customer to when this rebill occurs (decommissioned email engine) | [optional]
|
22
22
|
**type** | **String** | Type of step (item, kit only, loop or pause) | [optional]
|
23
23
|
|
24
24
|
|
data/docs/ItemReporting.md
CHANGED
@@ -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
|
|
@@ -1044,8 +1044,8 @@ module UltracartClient
|
|
1044
1044
|
end
|
1045
1045
|
return data, status_code, headers
|
1046
1046
|
end
|
1047
|
-
# Retrieve a list of item inventories
|
1048
|
-
#
|
1047
|
+
# Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
1048
|
+
# Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
1049
1049
|
# @param [Hash] opts the optional parameters
|
1050
1050
|
# @return [ItemInventorySnapshotResponse]
|
1051
1051
|
def rest_item_inventory_snapshot_response(opts = {})
|
@@ -1053,8 +1053,8 @@ module UltracartClient
|
|
1053
1053
|
data
|
1054
1054
|
end
|
1055
1055
|
|
1056
|
-
# Retrieve a list of item inventories
|
1057
|
-
#
|
1056
|
+
# Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
1057
|
+
# Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
|
1058
1058
|
# @param [Hash] opts the optional parameters
|
1059
1059
|
# @return [Array<(ItemInventorySnapshotResponse, Fixnum, Hash)>] ItemInventorySnapshotResponse data, response status code and response headers
|
1060
1060
|
def rest_item_inventory_snapshot_response_with_http_info(opts = {})
|
@@ -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,
|
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
|
@@ -21,7 +21,7 @@ module UltracartClient
|
|
21
21
|
attr_accessor :action_target
|
22
22
|
|
23
23
|
# Conversation Pbx Phone Number UUID
|
24
|
-
attr_accessor :
|
24
|
+
attr_accessor :conversation_pbx_phone_number_uuid
|
25
25
|
|
26
26
|
# Merchant Id
|
27
27
|
attr_accessor :merchant_id
|
@@ -56,7 +56,7 @@ module UltracartClient
|
|
56
56
|
{
|
57
57
|
:'action' => :'action',
|
58
58
|
:'action_target' => :'action_target',
|
59
|
-
:'
|
59
|
+
:'conversation_pbx_phone_number_uuid' => :'conversation_pbx_phone_number_uuid',
|
60
60
|
:'merchant_id' => :'merchant_id',
|
61
61
|
:'phone_number' => :'phone_number'
|
62
62
|
}
|
@@ -67,7 +67,7 @@ module UltracartClient
|
|
67
67
|
{
|
68
68
|
:'action' => :'String',
|
69
69
|
:'action_target' => :'String',
|
70
|
-
:'
|
70
|
+
:'conversation_pbx_phone_number_uuid' => :'String',
|
71
71
|
:'merchant_id' => :'String',
|
72
72
|
:'phone_number' => :'String'
|
73
73
|
}
|
@@ -89,8 +89,8 @@ module UltracartClient
|
|
89
89
|
self.action_target = attributes[:'action_target']
|
90
90
|
end
|
91
91
|
|
92
|
-
if attributes.has_key?(:'
|
93
|
-
self.
|
92
|
+
if attributes.has_key?(:'conversation_pbx_phone_number_uuid')
|
93
|
+
self.conversation_pbx_phone_number_uuid = attributes[:'conversation_pbx_phone_number_uuid']
|
94
94
|
end
|
95
95
|
|
96
96
|
if attributes.has_key?(:'merchant_id')
|
@@ -114,8 +114,8 @@ module UltracartClient
|
|
114
114
|
invalid_properties.push('invalid value for "action_target", the character length must be smaller than or equal to 50.')
|
115
115
|
end
|
116
116
|
|
117
|
-
if !@
|
118
|
-
invalid_properties.push('invalid value for "
|
117
|
+
if !@conversation_pbx_phone_number_uuid.nil? && @conversation_pbx_phone_number_uuid.to_s.length > 50
|
118
|
+
invalid_properties.push('invalid value for "conversation_pbx_phone_number_uuid", the character length must be smaller than or equal to 50.')
|
119
119
|
end
|
120
120
|
|
121
121
|
if !@merchant_id.nil? && @merchant_id.to_s.length > 5
|
@@ -136,7 +136,7 @@ module UltracartClient
|
|
136
136
|
return false unless action_validator.valid?(@action)
|
137
137
|
return false if !@action.nil? && @action.to_s.length > 30
|
138
138
|
return false if !@action_target.nil? && @action_target.to_s.length > 50
|
139
|
-
return false if !@
|
139
|
+
return false if !@conversation_pbx_phone_number_uuid.nil? && @conversation_pbx_phone_number_uuid.to_s.length > 50
|
140
140
|
return false if !@merchant_id.nil? && @merchant_id.to_s.length > 5
|
141
141
|
return false if !@phone_number.nil? && @phone_number.to_s.length > 50
|
142
142
|
true
|
@@ -163,13 +163,13 @@ module UltracartClient
|
|
163
163
|
end
|
164
164
|
|
165
165
|
# Custom attribute writer method with validation
|
166
|
-
# @param [Object]
|
167
|
-
def
|
168
|
-
if !
|
169
|
-
fail ArgumentError, 'invalid value for "
|
166
|
+
# @param [Object] conversation_pbx_phone_number_uuid Value to be assigned
|
167
|
+
def conversation_pbx_phone_number_uuid=(conversation_pbx_phone_number_uuid)
|
168
|
+
if !conversation_pbx_phone_number_uuid.nil? && conversation_pbx_phone_number_uuid.to_s.length > 50
|
169
|
+
fail ArgumentError, 'invalid value for "conversation_pbx_phone_number_uuid", the character length must be smaller than or equal to 50.'
|
170
170
|
end
|
171
171
|
|
172
|
-
@
|
172
|
+
@conversation_pbx_phone_number_uuid = conversation_pbx_phone_number_uuid
|
173
173
|
end
|
174
174
|
|
175
175
|
# Custom attribute writer method with validation
|
@@ -199,7 +199,7 @@ module UltracartClient
|
|
199
199
|
self.class == o.class &&
|
200
200
|
action == o.action &&
|
201
201
|
action_target == o.action_target &&
|
202
|
-
|
202
|
+
conversation_pbx_phone_number_uuid == o.conversation_pbx_phone_number_uuid &&
|
203
203
|
merchant_id == o.merchant_id &&
|
204
204
|
phone_number == o.phone_number
|
205
205
|
end
|
@@ -213,7 +213,7 @@ module UltracartClient
|
|
213
213
|
# Calculates hash code according to all attributes.
|
214
214
|
# @return [Fixnum] Hash code
|
215
215
|
def hash
|
216
|
-
[action, action_target,
|
216
|
+
[action, action_target, conversation_pbx_phone_number_uuid, merchant_id, phone_number].hash
|
217
217
|
end
|
218
218
|
|
219
219
|
# Builds the object from hash
|
@@ -56,10 +56,10 @@ module UltracartClient
|
|
56
56
|
# Frequency of the rebill
|
57
57
|
attr_accessor :schedule
|
58
58
|
|
59
|
-
# Email list name to subscribe the customer to when the rebill occurs
|
59
|
+
# Email list name to subscribe the customer to when the rebill occurs (decommissioned email engine)
|
60
60
|
attr_accessor :subscribe_email_list_name
|
61
61
|
|
62
|
-
# Email list identifier to subscribe the customer to when this rebill occurs
|
62
|
+
# Email list identifier to subscribe the customer to when this rebill occurs (decommissioned email engine)
|
63
63
|
attr_accessor :subscribe_email_list_oid
|
64
64
|
|
65
65
|
# Type of step (item, kit only, loop or pause)
|
@@ -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.
|
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.
|
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-
|
11
|
+
date: 2024-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|