ultracart_api 4.1.211 → 4.1.212
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 +3 -2
- data/docs/ConversationAgentAuth.md +2 -0
- data/docs/ConversationPbxAgent.md +2 -0
- 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 +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: daa7439a4c2c9d9b5c10024beb9d848a7b728c9ff5d057a22923f9381802cf38
|
|
4
|
+
data.tar.gz: 5acd544d65144e915ecf68e29428ec9fd3ba8012fecbe54a992afa54b8fae08c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9137149162a374efa7ab54e06cd729eae0046b7d82d08248d3e8fbfbb368098e57469ae74ce9a2cf3428e19acdddefe24c902a827c78abda8f0f89f0cb37ec91
|
|
7
|
+
data.tar.gz: 05c4be8139c905ef860a89b6c19ff9b3ed2557eef3975b3298a4720f538b37cda040b24861a92f5f3e9aea5270814ee6323f698b961c58af95f10119da73bae8
|
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.212
|
|
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.212'
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
install:
|
|
@@ -2327,6 +2327,7 @@ Not every change is committed to every SDK.
|
|
|
2327
2327
|
|
|
2328
2328
|
| Version | Date | Comments |
|
|
2329
2329
|
| --: | :-: | --- |
|
|
2330
|
+
| 4.1.212 | 10/27/2026 | conversation - pbx agent startup activity |
|
|
2330
2331
|
| 4.1.211 | 10/27/2026 | sfvb internal testing |
|
|
2331
2332
|
| 4.1.210 | 10/27/2026 | sfvb internal testing |
|
|
2332
2333
|
| 4.1.209 | 10/27/2026 | sfvb internal testing |
|
|
@@ -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,
|
|
@@ -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
|