ultracart_api 4.1.211 → 4.1.213
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 +4 -4
- data/README.md +4 -2
- data/docs/AutoOrderItem.md +3 -3
- data/docs/ConversationAgentAuth.md +2 -0
- data/docs/ConversationPbxAgent.md +2 -0
- data/docs/SfvbApi.md +1 -1
- data/lib/ultracart_api/api/sfvb_api.rb +2 -2
- data/lib/ultracart_api/models/auto_order_item.rb +3 -3
- data/lib/ultracart_api/models/conversation_agent_auth.rb +45 -1
- data/lib/ultracart_api/models/conversation_pbx_agent.rb +23 -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: 177eb26f4dc8564426113a71b6e12506f76fd71c4f8fdbbc3d391c7bcd488a8e
|
|
4
|
+
data.tar.gz: 65114d9f5207372850c78fa170be7ab44a24625e1cc84b557067ee7c73418964
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5e917b0943f053bc53a12ce302fc03cb021f32d59eeba867fd378ad764a1252c8e0304c70c4c3b34c085c6fe7a7c8f29fa1cd78ebfa6043588841c271f849d6f
|
|
7
|
+
data.tar.gz: d1e25329285bca936f10bd2f5273de09b8a6cb6f851c54cc78259ee9da8080d0f62860b669cdf1e19b5283c4d3ffd6a1c5c661e7032d9a84553e812da4a98599
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Note: Every method has a sample for every language. See https://github.com/Ultr
|
|
|
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.1.
|
|
10
|
+
- Package version: 4.1.213
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
- For more information, please visit [http://www.ultracart.com/api/](http://www.ultracart.com/api/)
|
|
13
13
|
|
|
@@ -16,7 +16,7 @@ This SDK is automatically generated by the [OpenAPI Generator](https://openapi-g
|
|
|
16
16
|
gemfile:
|
|
17
17
|
|
|
18
18
|
```shell
|
|
19
|
-
gem 'ultracart_api', '4.1.
|
|
19
|
+
gem 'ultracart_api', '4.1.213'
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
install:
|
|
@@ -2327,6 +2327,8 @@ Not every change is committed to every SDK.
|
|
|
2327
2327
|
|
|
2328
2328
|
| Version | Date | Comments |
|
|
2329
2329
|
| --: | :-: | --- |
|
|
2330
|
+
| 4.1.213 | 10/28/2026 | auto order - improve item field descriptions |
|
|
2331
|
+
| 4.1.212 | 10/27/2026 | conversation - pbx agent startup activity |
|
|
2330
2332
|
| 4.1.211 | 10/27/2026 | sfvb internal testing |
|
|
2331
2333
|
| 4.1.210 | 10/27/2026 | sfvb internal testing |
|
|
2332
2334
|
| 4.1.209 | 10/27/2026 | sfvb internal testing |
|
data/docs/AutoOrderItem.md
CHANGED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
| **add_ons** | [**Array<AutoOrderAddonItem>**](AutoOrderAddonItem.md) | Array of addon objects instructing which items to add to auto order and how many times they should be added. | [optional] |
|
|
8
8
|
| **arbitrary_item_id** | **String** | Arbitrary item id that should be rebilled instead of the normal schedule | [optional] |
|
|
9
9
|
| **arbitrary_percentage_discount** | **Float** | An arbitrary percentage discount to provide on future rebills | [optional] |
|
|
10
|
-
| **arbitrary_quantity** | **Float** |
|
|
10
|
+
| **arbitrary_quantity** | **Float** | Quantity to rebill. When set, every rebill uses this quantity instead of original_quantity. Set this field to change the quantity on an active auto order; the merchant auto order editor updates this same field. Each rebill charges the unit price multiplied by this quantity. | [optional] |
|
|
11
11
|
| **arbitrary_schedule_days** | **Integer** | The number of days to rebill if the frequency is set to an arbitrary number of days | [optional] |
|
|
12
|
-
| **arbitrary_unit_cost** | **Float** | Arbitrary unit cost that rebills of this item should occur at | [optional] |
|
|
12
|
+
| **arbitrary_unit_cost** | **Float** | Arbitrary unit cost that rebills of this item should occur at. This is a price per unit. Each rebill charges it multiplied by the rebill quantity (arbitrary_quantity, or original_quantity when arbitrary_quantity is null). | [optional] |
|
|
13
13
|
| **arbitrary_unit_cost_remaining_orders** | **Integer** | The number of rebills to give the arbitrary unit cost on before reverting to normal pricing. | [optional] |
|
|
14
14
|
| **auto_order_item_oid** | **Integer** | Primary key of AutoOrderItem | [optional] |
|
|
15
15
|
| **calculated_next_shipment_dts** | **String** | Calculated Date/time that this item is scheduled to rebill. Will be null if no more shipments are going to occur on this item | [optional] |
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
| **number_of_rebills** | **Integer** | The number of times this item has rebilled | [optional] |
|
|
28
28
|
| **options** | [**Array<AutoOrderItemOption>**](AutoOrderItemOption.md) | Options associated with this item | [optional] |
|
|
29
29
|
| **original_item_id** | **String** | The original item id purchased. This item controls scheduling. If you wish to modify a schedule, for example, from monthly to yearly, change this item from your monthly item to your yearly item, and then change the next_shipment_dts to your desired date. | [optional] |
|
|
30
|
-
| **original_quantity** | **Float** | The original quantity
|
|
30
|
+
| **original_quantity** | **Float** | The quantity purchased on the original order. Rebills use this quantity only when arbitrary_quantity is null. To change the quantity on future rebills, set arbitrary_quantity instead. | [optional] |
|
|
31
31
|
| **paused** | **Boolean** | True if paused. This field is an object instead of a primitive for backwards compatibility. | [optional] |
|
|
32
32
|
| **paypal_payer_id** | **String** | The PayPal Payer ID tied to this item | [optional] |
|
|
33
33
|
| **paypal_recurring_payment_profile_id** | **String** | The PayPal Profile ID tied to this item | [optional] |
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
| **parent_merchant_id** | **String** | The parent merchant ID for PBX. For non-linked merchants, equals merchant_id. | [optional] |
|
|
18
18
|
| **pbx_admin** | **Boolean** | | [optional] |
|
|
19
19
|
| **pbx_jwt** | **String** | | [optional] |
|
|
20
|
+
| **pbx_startup_activity** | **String** | Status the agent starts in when the CRM loads | [optional] |
|
|
20
21
|
| **pbx_supervisor** | **Boolean** | | [optional] |
|
|
21
22
|
| **pbx_user** | **Boolean** | | [optional] |
|
|
22
23
|
| **pbx_voice_identity** | **String** | | [optional] |
|
|
@@ -46,6 +47,7 @@ instance = UltracartClient::ConversationAgentAuth.new(
|
|
|
46
47
|
parent_merchant_id: null,
|
|
47
48
|
pbx_admin: null,
|
|
48
49
|
pbx_jwt: null,
|
|
50
|
+
pbx_startup_activity: null,
|
|
49
51
|
pbx_supervisor: null,
|
|
50
52
|
pbx_user: null,
|
|
51
53
|
pbx_voice_identity: null,
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
| **preferred_hardware_phone_uuid** | **String** | The hardware phone that will be dialed on an incoming call if routing preference is hardware_phone | [optional] |
|
|
20
20
|
| **record_outgoing_automatically** | **Boolean** | True if outgoing calls should be automatically recorded | [optional] |
|
|
21
21
|
| **shared_conversation_pbx_voicemail_mailbox_uuid** | **String** | Shared Conversation Pbx Voicemail Mailbox UUID | [optional] |
|
|
22
|
+
| **startup_activity** | **String** | Status the agent starts in when the CRM loads. Missing means available. | [optional] |
|
|
22
23
|
| **twilio_taskrouter_worker_id** | **String** | Twilio taskrouter worker Id | [optional] |
|
|
23
24
|
| **unavailable_play_audio_uuid** | **String** | Unavailable play audio UUID | [optional] |
|
|
24
25
|
| **unavailable_say** | **String** | Unavailable say | [optional] |
|
|
@@ -49,6 +50,7 @@ instance = UltracartClient::ConversationPbxAgent.new(
|
|
|
49
50
|
preferred_hardware_phone_uuid: null,
|
|
50
51
|
record_outgoing_automatically: null,
|
|
51
52
|
shared_conversation_pbx_voicemail_mailbox_uuid: null,
|
|
53
|
+
startup_activity: null,
|
|
52
54
|
twilio_taskrouter_worker_id: null,
|
|
53
55
|
unavailable_play_audio_uuid: null,
|
|
54
56
|
unavailable_say: null,
|
data/docs/SfvbApi.md
CHANGED
|
@@ -9823,7 +9823,7 @@ end
|
|
|
9823
9823
|
|
|
9824
9824
|
Request a content review of a flow or campaign email
|
|
9825
9825
|
|
|
9826
|
-
Starts a review the way the admin's Request Review does.
|
|
9826
|
+
Starts a review the way the admin's Request Review does. The review runs in the background and no test copy is sent. The email is marked pending_review at once, and the signed-in user gets the approved or rejected notice, so read the email again for the ruling. Refused with sfvb.review_not_needed when it doesn't need review, is already waiting for one, or was rejected and not changed since. An email in a flow triggered by an order or an auto order needs order_id, a test order. Needs a signed-in user, not an API key alone.
|
|
9827
9827
|
|
|
9828
9828
|
|
|
9829
9829
|
### Examples
|
|
@@ -12957,7 +12957,7 @@ module UltracartClient
|
|
|
12957
12957
|
end
|
|
12958
12958
|
|
|
12959
12959
|
# Request a content review of a flow or campaign email
|
|
12960
|
-
# Starts a review the way the admin's Request Review does.
|
|
12960
|
+
# Starts a review the way the admin's Request Review does. The review runs in the background and no test copy is sent. The email is marked pending_review at once, and the signed-in user gets the approved or rejected notice, so read the email again for the ruling. Refused with sfvb.review_not_needed when it doesn't need review, is already waiting for one, or was rejected and not changed since. An email in a flow triggered by an order or an auto order needs order_id, a test order. Needs a signed-in user, not an API key alone.
|
|
12961
12961
|
# @param storefront_oid [Integer]
|
|
12962
12962
|
# @param email_uuid [String]
|
|
12963
12963
|
# @param email_review_request [SfvbEmailReviewRequest] The test order, for an email in an order-triggered flow
|
|
@@ -12969,7 +12969,7 @@ module UltracartClient
|
|
|
12969
12969
|
end
|
|
12970
12970
|
|
|
12971
12971
|
# Request a content review of a flow or campaign email
|
|
12972
|
-
# Starts a review the way the admin's Request Review does.
|
|
12972
|
+
# Starts a review the way the admin's Request Review does. The review runs in the background and no test copy is sent. The email is marked pending_review at once, and the signed-in user gets the approved or rejected notice, so read the email again for the ruling. Refused with sfvb.review_not_needed when it doesn't need review, is already waiting for one, or was rejected and not changed since. An email in a flow triggered by an order or an auto order needs order_id, a test order. Needs a signed-in user, not an API key alone.
|
|
12973
12973
|
# @param storefront_oid [Integer]
|
|
12974
12974
|
# @param email_uuid [String]
|
|
12975
12975
|
# @param email_review_request [SfvbEmailReviewRequest] The test order, for an email in an order-triggered flow
|
|
@@ -24,13 +24,13 @@ module UltracartClient
|
|
|
24
24
|
# An arbitrary percentage discount to provide on future rebills
|
|
25
25
|
attr_accessor :arbitrary_percentage_discount
|
|
26
26
|
|
|
27
|
-
#
|
|
27
|
+
# Quantity to rebill. When set, every rebill uses this quantity instead of original_quantity. Set this field to change the quantity on an active auto order; the merchant auto order editor updates this same field. Each rebill charges the unit price multiplied by this quantity.
|
|
28
28
|
attr_accessor :arbitrary_quantity
|
|
29
29
|
|
|
30
30
|
# The number of days to rebill if the frequency is set to an arbitrary number of days
|
|
31
31
|
attr_accessor :arbitrary_schedule_days
|
|
32
32
|
|
|
33
|
-
# Arbitrary unit cost that rebills of this item should occur at
|
|
33
|
+
# Arbitrary unit cost that rebills of this item should occur at. This is a price per unit. Each rebill charges it multiplied by the rebill quantity (arbitrary_quantity, or original_quantity when arbitrary_quantity is null).
|
|
34
34
|
attr_accessor :arbitrary_unit_cost
|
|
35
35
|
|
|
36
36
|
# The number of rebills to give the arbitrary unit cost on before reverting to normal pricing.
|
|
@@ -84,7 +84,7 @@ module UltracartClient
|
|
|
84
84
|
# The original item id purchased. This item controls scheduling. If you wish to modify a schedule, for example, from monthly to yearly, change this item from your monthly item to your yearly item, and then change the next_shipment_dts to your desired date.
|
|
85
85
|
attr_accessor :original_item_id
|
|
86
86
|
|
|
87
|
-
# The original quantity
|
|
87
|
+
# The quantity purchased on the original order. Rebills use this quantity only when arbitrary_quantity is null. To change the quantity on future rebills, set arbitrary_quantity instead.
|
|
88
88
|
attr_accessor :original_quantity
|
|
89
89
|
|
|
90
90
|
# True if paused. This field is an object instead of a primitive for backwards compatibility.
|
|
@@ -45,6 +45,9 @@ module UltracartClient
|
|
|
45
45
|
|
|
46
46
|
attr_accessor :pbx_jwt
|
|
47
47
|
|
|
48
|
+
# Status the agent starts in when the CRM loads
|
|
49
|
+
attr_accessor :pbx_startup_activity
|
|
50
|
+
|
|
48
51
|
attr_accessor :pbx_supervisor
|
|
49
52
|
|
|
50
53
|
attr_accessor :pbx_user
|
|
@@ -64,6 +67,28 @@ module UltracartClient
|
|
|
64
67
|
|
|
65
68
|
attr_accessor :websocket_url
|
|
66
69
|
|
|
70
|
+
class EnumAttributeValidator
|
|
71
|
+
attr_reader :datatype
|
|
72
|
+
attr_reader :allowable_values
|
|
73
|
+
|
|
74
|
+
def initialize(datatype, allowable_values)
|
|
75
|
+
@allowable_values = allowable_values.map do |value|
|
|
76
|
+
case datatype.to_s
|
|
77
|
+
when /Integer/i
|
|
78
|
+
value.to_i
|
|
79
|
+
when /Float/i
|
|
80
|
+
value.to_f
|
|
81
|
+
else
|
|
82
|
+
value
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
def valid?(value)
|
|
88
|
+
!value || allowable_values.include?(value)
|
|
89
|
+
end
|
|
90
|
+
end
|
|
91
|
+
|
|
67
92
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
68
93
|
def self.attribute_map
|
|
69
94
|
{
|
|
@@ -80,6 +105,7 @@ module UltracartClient
|
|
|
80
105
|
:'parent_merchant_id' => :'parent_merchant_id',
|
|
81
106
|
:'pbx_admin' => :'pbx_admin',
|
|
82
107
|
:'pbx_jwt' => :'pbx_jwt',
|
|
108
|
+
:'pbx_startup_activity' => :'pbx_startup_activity',
|
|
83
109
|
:'pbx_supervisor' => :'pbx_supervisor',
|
|
84
110
|
:'pbx_user' => :'pbx_user',
|
|
85
111
|
:'pbx_voice_identity' => :'pbx_voice_identity',
|
|
@@ -113,6 +139,7 @@ module UltracartClient
|
|
|
113
139
|
:'parent_merchant_id' => :'String',
|
|
114
140
|
:'pbx_admin' => :'Boolean',
|
|
115
141
|
:'pbx_jwt' => :'String',
|
|
142
|
+
:'pbx_startup_activity' => :'String',
|
|
116
143
|
:'pbx_supervisor' => :'Boolean',
|
|
117
144
|
:'pbx_user' => :'Boolean',
|
|
118
145
|
:'pbx_voice_identity' => :'String',
|
|
@@ -202,6 +229,10 @@ module UltracartClient
|
|
|
202
229
|
self.pbx_jwt = attributes[:'pbx_jwt']
|
|
203
230
|
end
|
|
204
231
|
|
|
232
|
+
if attributes.key?(:'pbx_startup_activity')
|
|
233
|
+
self.pbx_startup_activity = attributes[:'pbx_startup_activity']
|
|
234
|
+
end
|
|
235
|
+
|
|
205
236
|
if attributes.key?(:'pbx_supervisor')
|
|
206
237
|
self.pbx_supervisor = attributes[:'pbx_supervisor']
|
|
207
238
|
end
|
|
@@ -251,9 +282,21 @@ module UltracartClient
|
|
|
251
282
|
# Check to see if the all the properties in the model are valid
|
|
252
283
|
# @return true if the model is valid
|
|
253
284
|
def valid?
|
|
285
|
+
pbx_startup_activity_validator = EnumAttributeValidator.new('String', ["available", "unavailable"])
|
|
286
|
+
return false unless pbx_startup_activity_validator.valid?(@pbx_startup_activity)
|
|
254
287
|
true
|
|
255
288
|
end
|
|
256
289
|
|
|
290
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
291
|
+
# @param [Object] pbx_startup_activity Object to be assigned
|
|
292
|
+
def pbx_startup_activity=(pbx_startup_activity)
|
|
293
|
+
validator = EnumAttributeValidator.new('String', ["available", "unavailable"])
|
|
294
|
+
unless validator.valid?(pbx_startup_activity)
|
|
295
|
+
fail ArgumentError, "invalid value for \"pbx_startup_activity\", must be one of #{validator.allowable_values}."
|
|
296
|
+
end
|
|
297
|
+
@pbx_startup_activity = pbx_startup_activity
|
|
298
|
+
end
|
|
299
|
+
|
|
257
300
|
# Checks equality by comparing each attribute.
|
|
258
301
|
# @param [Object] Object to be compared
|
|
259
302
|
def ==(o)
|
|
@@ -272,6 +315,7 @@ module UltracartClient
|
|
|
272
315
|
parent_merchant_id == o.parent_merchant_id &&
|
|
273
316
|
pbx_admin == o.pbx_admin &&
|
|
274
317
|
pbx_jwt == o.pbx_jwt &&
|
|
318
|
+
pbx_startup_activity == o.pbx_startup_activity &&
|
|
275
319
|
pbx_supervisor == o.pbx_supervisor &&
|
|
276
320
|
pbx_user == o.pbx_user &&
|
|
277
321
|
pbx_voice_identity == o.pbx_voice_identity &&
|
|
@@ -292,7 +336,7 @@ module UltracartClient
|
|
|
292
336
|
# Calculates hash code according to all attributes.
|
|
293
337
|
# @return [Integer] Hash code
|
|
294
338
|
def hash
|
|
295
|
-
[chat_admin, chat_user, conversation_participant_arn, conversation_participant_name, customer_profile, default_phone_number, group_ids, jwt, merchant_id, merchants, parent_merchant_id, pbx_admin, pbx_jwt, pbx_supervisor, pbx_user, pbx_voice_identity, pbx_voice_token, pbx_worker_token, pbx_worker_token_v2, twilio_accounts, user_id, websocket_url].hash
|
|
339
|
+
[chat_admin, chat_user, conversation_participant_arn, conversation_participant_name, customer_profile, default_phone_number, group_ids, jwt, merchant_id, merchants, parent_merchant_id, pbx_admin, pbx_jwt, pbx_startup_activity, pbx_supervisor, pbx_user, pbx_voice_identity, pbx_voice_token, pbx_worker_token, pbx_worker_token_v2, twilio_accounts, user_id, websocket_url].hash
|
|
296
340
|
end
|
|
297
341
|
|
|
298
342
|
# Builds the object from hash
|
|
@@ -60,6 +60,9 @@ module UltracartClient
|
|
|
60
60
|
# Shared Conversation Pbx Voicemail Mailbox UUID
|
|
61
61
|
attr_accessor :shared_conversation_pbx_voicemail_mailbox_uuid
|
|
62
62
|
|
|
63
|
+
# Status the agent starts in when the CRM loads. Missing means available.
|
|
64
|
+
attr_accessor :startup_activity
|
|
65
|
+
|
|
63
66
|
# Twilio taskrouter worker Id
|
|
64
67
|
attr_accessor :twilio_taskrouter_worker_id
|
|
65
68
|
|
|
@@ -124,6 +127,7 @@ module UltracartClient
|
|
|
124
127
|
:'preferred_hardware_phone_uuid' => :'preferred_hardware_phone_uuid',
|
|
125
128
|
:'record_outgoing_automatically' => :'record_outgoing_automatically',
|
|
126
129
|
:'shared_conversation_pbx_voicemail_mailbox_uuid' => :'shared_conversation_pbx_voicemail_mailbox_uuid',
|
|
130
|
+
:'startup_activity' => :'startup_activity',
|
|
127
131
|
:'twilio_taskrouter_worker_id' => :'twilio_taskrouter_worker_id',
|
|
128
132
|
:'unavailable_play_audio_uuid' => :'unavailable_play_audio_uuid',
|
|
129
133
|
:'unavailable_say' => :'unavailable_say',
|
|
@@ -158,6 +162,7 @@ module UltracartClient
|
|
|
158
162
|
:'preferred_hardware_phone_uuid' => :'String',
|
|
159
163
|
:'record_outgoing_automatically' => :'Boolean',
|
|
160
164
|
:'shared_conversation_pbx_voicemail_mailbox_uuid' => :'String',
|
|
165
|
+
:'startup_activity' => :'String',
|
|
161
166
|
:'twilio_taskrouter_worker_id' => :'String',
|
|
162
167
|
:'unavailable_play_audio_uuid' => :'String',
|
|
163
168
|
:'unavailable_say' => :'String',
|
|
@@ -252,6 +257,10 @@ module UltracartClient
|
|
|
252
257
|
self.shared_conversation_pbx_voicemail_mailbox_uuid = attributes[:'shared_conversation_pbx_voicemail_mailbox_uuid']
|
|
253
258
|
end
|
|
254
259
|
|
|
260
|
+
if attributes.key?(:'startup_activity')
|
|
261
|
+
self.startup_activity = attributes[:'startup_activity']
|
|
262
|
+
end
|
|
263
|
+
|
|
255
264
|
if attributes.key?(:'twilio_taskrouter_worker_id')
|
|
256
265
|
self.twilio_taskrouter_worker_id = attributes[:'twilio_taskrouter_worker_id']
|
|
257
266
|
end
|
|
@@ -333,6 +342,8 @@ module UltracartClient
|
|
|
333
342
|
return false if !@merchant_id.nil? && @merchant_id.to_s.length > 5
|
|
334
343
|
return false if !@personal_conversation_pbx_voicemail_mailbox_uuid.nil? && @personal_conversation_pbx_voicemail_mailbox_uuid.to_s.length > 50
|
|
335
344
|
return false if !@shared_conversation_pbx_voicemail_mailbox_uuid.nil? && @shared_conversation_pbx_voicemail_mailbox_uuid.to_s.length > 50
|
|
345
|
+
startup_activity_validator = EnumAttributeValidator.new('String', ["available", "unavailable"])
|
|
346
|
+
return false unless startup_activity_validator.valid?(@startup_activity)
|
|
336
347
|
return false if !@twilio_taskrouter_worker_id.nil? && @twilio_taskrouter_worker_id.to_s.length > 100
|
|
337
348
|
return false if !@unavailable_play_audio_uuid.nil? && @unavailable_play_audio_uuid.to_s.length > 50
|
|
338
349
|
unavailable_say_voice_validator = EnumAttributeValidator.new('String', ["man", "woman"])
|
|
@@ -392,6 +403,16 @@ module UltracartClient
|
|
|
392
403
|
@shared_conversation_pbx_voicemail_mailbox_uuid = shared_conversation_pbx_voicemail_mailbox_uuid
|
|
393
404
|
end
|
|
394
405
|
|
|
406
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
407
|
+
# @param [Object] startup_activity Object to be assigned
|
|
408
|
+
def startup_activity=(startup_activity)
|
|
409
|
+
validator = EnumAttributeValidator.new('String', ["available", "unavailable"])
|
|
410
|
+
unless validator.valid?(startup_activity)
|
|
411
|
+
fail ArgumentError, "invalid value for \"startup_activity\", must be one of #{validator.allowable_values}."
|
|
412
|
+
end
|
|
413
|
+
@startup_activity = startup_activity
|
|
414
|
+
end
|
|
415
|
+
|
|
395
416
|
# Custom attribute writer method with validation
|
|
396
417
|
# @param [Object] twilio_taskrouter_worker_id Value to be assigned
|
|
397
418
|
def twilio_taskrouter_worker_id=(twilio_taskrouter_worker_id)
|
|
@@ -452,6 +473,7 @@ module UltracartClient
|
|
|
452
473
|
preferred_hardware_phone_uuid == o.preferred_hardware_phone_uuid &&
|
|
453
474
|
record_outgoing_automatically == o.record_outgoing_automatically &&
|
|
454
475
|
shared_conversation_pbx_voicemail_mailbox_uuid == o.shared_conversation_pbx_voicemail_mailbox_uuid &&
|
|
476
|
+
startup_activity == o.startup_activity &&
|
|
455
477
|
twilio_taskrouter_worker_id == o.twilio_taskrouter_worker_id &&
|
|
456
478
|
unavailable_play_audio_uuid == o.unavailable_play_audio_uuid &&
|
|
457
479
|
unavailable_say == o.unavailable_say &&
|
|
@@ -471,7 +493,7 @@ module UltracartClient
|
|
|
471
493
|
# Calculates hash code according to all attributes.
|
|
472
494
|
# @return [Integer] Hash code
|
|
473
495
|
def hash
|
|
474
|
-
[ai, call_routing_preference, cellphone, conversation_pbx_agent_uuid, cos_uuid, default_phone_number_uuid, extension, full_name, hardware_phone_uuids, login, merchant_id, personal_conversation_pbx_voicemail_mailbox_uuid, preferred_hardware_phone_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, zoho_desk_outbound_department_id, zoho_desk_outbound_ticket_enabled].hash
|
|
496
|
+
[ai, call_routing_preference, cellphone, conversation_pbx_agent_uuid, cos_uuid, default_phone_number_uuid, extension, full_name, hardware_phone_uuids, login, merchant_id, personal_conversation_pbx_voicemail_mailbox_uuid, preferred_hardware_phone_uuid, record_outgoing_automatically, shared_conversation_pbx_voicemail_mailbox_uuid, startup_activity, twilio_taskrouter_worker_id, unavailable_play_audio_uuid, unavailable_say, unavailable_say_voice, user_id, voicemail, zoho_desk_outbound_department_id, zoho_desk_outbound_ticket_enabled].hash
|
|
475
497
|
end
|
|
476
498
|
|
|
477
499
|
# Builds the object from hash
|
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.1.
|
|
4
|
+
version: 4.1.213
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- UltraCart
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-10-
|
|
11
|
+
date: 2026-10-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|