ultracart_api 4.1.69 → 4.1.70
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/ConversationPbxQueue.md +24 -0
- data/lib/ultracart_api/models/conversation_pbx_queue.rb +151 -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: 69b88c8f377abe4c258f2596ea4e535308b97fbf6efe2a717f755140d765c197
|
|
4
|
+
data.tar.gz: ba05247f4eb23b62b456e53830b11027d47abae099fbe46928fc364fcbe22a95
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 23f47bd84edce36c0bf5f724a8e381facaec5a8be8124fe4894decd8af81c4fc41a735ff5c8f26fdc77d987b207b691ccef5f722acbf9879112f697cc7669cd5
|
|
7
|
+
data.tar.gz: 5305bc35dcf40acdacd65a5a92e69c3a5655258415381130d96abcd018d67b9fcdf84fbca54c016d11a8f63edc682d50b865f5fcecb160e6e48f9ef8f5373a3c
|
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.70
|
|
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.70'
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
install:
|
|
@@ -1686,6 +1686,7 @@ Not every change is committed to every SDK.
|
|
|
1686
1686
|
|
|
1687
1687
|
| Version | Date | Comments |
|
|
1688
1688
|
| --: | :-: | --- |
|
|
1689
|
+
| 4.1.70 | 04/03/2026 | conversation pbx - queue callback settings |
|
|
1689
1690
|
| 4.1.69 | 03/31/2026 | conversations - user specific audio methods |
|
|
1690
1691
|
| 4.1.68 | 03/31/2026 | oauth - device support |
|
|
1691
1692
|
| 4.1.67 | 02/24/2026 | customer activity - sms and sms_stop fields added |
|
|
@@ -8,6 +8,18 @@
|
|
|
8
8
|
| **ai_timeout_seconds** | **Integer** | AI timeout seconds | [optional] |
|
|
9
9
|
| **announce_queue_position** | **Boolean** | If true, the customer is told their queue position upon entering the queue | [optional] |
|
|
10
10
|
| **automatic_coach_agent_uuid** | **String** | AI Agent UUID to automatically engage to provide coaching | [optional] |
|
|
11
|
+
| **callback_announce_audio_uuid** | **String** | Custom audio file UUID for the callback offer prompt | [optional] |
|
|
12
|
+
| **callback_announce_say** | **String** | Custom TTS text for the callback offer prompt | [optional] |
|
|
13
|
+
| **callback_confirm_audio_uuid** | **String** | Custom audio file UUID for the callback confirmation message | [optional] |
|
|
14
|
+
| **callback_confirm_say** | **String** | Custom TTS text for the callback confirmation message | [optional] |
|
|
15
|
+
| **callback_enabled** | **Boolean** | If true, the callback option is enabled for this queue | [optional] |
|
|
16
|
+
| **callback_hours_only** | **Boolean** | When true, only offer callbacks during business hours | [optional] |
|
|
17
|
+
| **callback_max_attempts** | **Integer** | Maximum number of times the system will attempt to call the customer back | [optional] |
|
|
18
|
+
| **callback_max_offers** | **Integer** | Maximum number of times the callback option is offered to a caller per call | [optional] |
|
|
19
|
+
| **callback_max_pending** | **Integer** | Maximum number of pending callbacks allowed per queue | [optional] |
|
|
20
|
+
| **callback_offer_after_seconds** | **Integer** | Seconds a caller must wait in queue before the callback option is offered | [optional] |
|
|
21
|
+
| **callback_offer_interval_seconds** | **Integer** | Seconds between repeat callback offers to the same caller | [optional] |
|
|
22
|
+
| **callback_retry_delay_seconds** | **Integer** | Delay in seconds between callback retry attempts | [optional] |
|
|
11
23
|
| **conversation_pbx_queue_uuid** | **String** | Conversation Pbx Queue unique identifier | [optional] |
|
|
12
24
|
| **conversation_voicemail_mailbox_uuid** | **String** | The voicemail mailbox associated with this queue | [optional] |
|
|
13
25
|
| **hold_conversation_pbx_audio_uuid** | **String** | The audio to play while holding in a queue | [optional] |
|
|
@@ -39,6 +51,18 @@ instance = UltracartClient::ConversationPbxQueue.new(
|
|
|
39
51
|
ai_timeout_seconds: null,
|
|
40
52
|
announce_queue_position: null,
|
|
41
53
|
automatic_coach_agent_uuid: null,
|
|
54
|
+
callback_announce_audio_uuid: null,
|
|
55
|
+
callback_announce_say: null,
|
|
56
|
+
callback_confirm_audio_uuid: null,
|
|
57
|
+
callback_confirm_say: null,
|
|
58
|
+
callback_enabled: null,
|
|
59
|
+
callback_hours_only: null,
|
|
60
|
+
callback_max_attempts: null,
|
|
61
|
+
callback_max_offers: null,
|
|
62
|
+
callback_max_pending: null,
|
|
63
|
+
callback_offer_after_seconds: null,
|
|
64
|
+
callback_offer_interval_seconds: null,
|
|
65
|
+
callback_retry_delay_seconds: null,
|
|
42
66
|
conversation_pbx_queue_uuid: null,
|
|
43
67
|
conversation_voicemail_mailbox_uuid: null,
|
|
44
68
|
hold_conversation_pbx_audio_uuid: null,
|
|
@@ -27,6 +27,42 @@ module UltracartClient
|
|
|
27
27
|
# AI Agent UUID to automatically engage to provide coaching
|
|
28
28
|
attr_accessor :automatic_coach_agent_uuid
|
|
29
29
|
|
|
30
|
+
# Custom audio file UUID for the callback offer prompt
|
|
31
|
+
attr_accessor :callback_announce_audio_uuid
|
|
32
|
+
|
|
33
|
+
# Custom TTS text for the callback offer prompt
|
|
34
|
+
attr_accessor :callback_announce_say
|
|
35
|
+
|
|
36
|
+
# Custom audio file UUID for the callback confirmation message
|
|
37
|
+
attr_accessor :callback_confirm_audio_uuid
|
|
38
|
+
|
|
39
|
+
# Custom TTS text for the callback confirmation message
|
|
40
|
+
attr_accessor :callback_confirm_say
|
|
41
|
+
|
|
42
|
+
# If true, the callback option is enabled for this queue
|
|
43
|
+
attr_accessor :callback_enabled
|
|
44
|
+
|
|
45
|
+
# When true, only offer callbacks during business hours
|
|
46
|
+
attr_accessor :callback_hours_only
|
|
47
|
+
|
|
48
|
+
# Maximum number of times the system will attempt to call the customer back
|
|
49
|
+
attr_accessor :callback_max_attempts
|
|
50
|
+
|
|
51
|
+
# Maximum number of times the callback option is offered to a caller per call
|
|
52
|
+
attr_accessor :callback_max_offers
|
|
53
|
+
|
|
54
|
+
# Maximum number of pending callbacks allowed per queue
|
|
55
|
+
attr_accessor :callback_max_pending
|
|
56
|
+
|
|
57
|
+
# Seconds a caller must wait in queue before the callback option is offered
|
|
58
|
+
attr_accessor :callback_offer_after_seconds
|
|
59
|
+
|
|
60
|
+
# Seconds between repeat callback offers to the same caller
|
|
61
|
+
attr_accessor :callback_offer_interval_seconds
|
|
62
|
+
|
|
63
|
+
# Delay in seconds between callback retry attempts
|
|
64
|
+
attr_accessor :callback_retry_delay_seconds
|
|
65
|
+
|
|
30
66
|
# Conversation Pbx Queue unique identifier
|
|
31
67
|
attr_accessor :conversation_pbx_queue_uuid
|
|
32
68
|
|
|
@@ -115,6 +151,18 @@ module UltracartClient
|
|
|
115
151
|
:'ai_timeout_seconds' => :'ai_timeout_seconds',
|
|
116
152
|
:'announce_queue_position' => :'announce_queue_position',
|
|
117
153
|
:'automatic_coach_agent_uuid' => :'automatic_coach_agent_uuid',
|
|
154
|
+
:'callback_announce_audio_uuid' => :'callback_announce_audio_uuid',
|
|
155
|
+
:'callback_announce_say' => :'callback_announce_say',
|
|
156
|
+
:'callback_confirm_audio_uuid' => :'callback_confirm_audio_uuid',
|
|
157
|
+
:'callback_confirm_say' => :'callback_confirm_say',
|
|
158
|
+
:'callback_enabled' => :'callback_enabled',
|
|
159
|
+
:'callback_hours_only' => :'callback_hours_only',
|
|
160
|
+
:'callback_max_attempts' => :'callback_max_attempts',
|
|
161
|
+
:'callback_max_offers' => :'callback_max_offers',
|
|
162
|
+
:'callback_max_pending' => :'callback_max_pending',
|
|
163
|
+
:'callback_offer_after_seconds' => :'callback_offer_after_seconds',
|
|
164
|
+
:'callback_offer_interval_seconds' => :'callback_offer_interval_seconds',
|
|
165
|
+
:'callback_retry_delay_seconds' => :'callback_retry_delay_seconds',
|
|
118
166
|
:'conversation_pbx_queue_uuid' => :'conversation_pbx_queue_uuid',
|
|
119
167
|
:'conversation_voicemail_mailbox_uuid' => :'conversation_voicemail_mailbox_uuid',
|
|
120
168
|
:'hold_conversation_pbx_audio_uuid' => :'hold_conversation_pbx_audio_uuid',
|
|
@@ -150,6 +198,18 @@ module UltracartClient
|
|
|
150
198
|
:'ai_timeout_seconds' => :'Integer',
|
|
151
199
|
:'announce_queue_position' => :'Boolean',
|
|
152
200
|
:'automatic_coach_agent_uuid' => :'String',
|
|
201
|
+
:'callback_announce_audio_uuid' => :'String',
|
|
202
|
+
:'callback_announce_say' => :'String',
|
|
203
|
+
:'callback_confirm_audio_uuid' => :'String',
|
|
204
|
+
:'callback_confirm_say' => :'String',
|
|
205
|
+
:'callback_enabled' => :'Boolean',
|
|
206
|
+
:'callback_hours_only' => :'Boolean',
|
|
207
|
+
:'callback_max_attempts' => :'Integer',
|
|
208
|
+
:'callback_max_offers' => :'Integer',
|
|
209
|
+
:'callback_max_pending' => :'Integer',
|
|
210
|
+
:'callback_offer_after_seconds' => :'Integer',
|
|
211
|
+
:'callback_offer_interval_seconds' => :'Integer',
|
|
212
|
+
:'callback_retry_delay_seconds' => :'Integer',
|
|
153
213
|
:'conversation_pbx_queue_uuid' => :'String',
|
|
154
214
|
:'conversation_voicemail_mailbox_uuid' => :'String',
|
|
155
215
|
:'hold_conversation_pbx_audio_uuid' => :'String',
|
|
@@ -210,6 +270,54 @@ module UltracartClient
|
|
|
210
270
|
self.automatic_coach_agent_uuid = attributes[:'automatic_coach_agent_uuid']
|
|
211
271
|
end
|
|
212
272
|
|
|
273
|
+
if attributes.key?(:'callback_announce_audio_uuid')
|
|
274
|
+
self.callback_announce_audio_uuid = attributes[:'callback_announce_audio_uuid']
|
|
275
|
+
end
|
|
276
|
+
|
|
277
|
+
if attributes.key?(:'callback_announce_say')
|
|
278
|
+
self.callback_announce_say = attributes[:'callback_announce_say']
|
|
279
|
+
end
|
|
280
|
+
|
|
281
|
+
if attributes.key?(:'callback_confirm_audio_uuid')
|
|
282
|
+
self.callback_confirm_audio_uuid = attributes[:'callback_confirm_audio_uuid']
|
|
283
|
+
end
|
|
284
|
+
|
|
285
|
+
if attributes.key?(:'callback_confirm_say')
|
|
286
|
+
self.callback_confirm_say = attributes[:'callback_confirm_say']
|
|
287
|
+
end
|
|
288
|
+
|
|
289
|
+
if attributes.key?(:'callback_enabled')
|
|
290
|
+
self.callback_enabled = attributes[:'callback_enabled']
|
|
291
|
+
end
|
|
292
|
+
|
|
293
|
+
if attributes.key?(:'callback_hours_only')
|
|
294
|
+
self.callback_hours_only = attributes[:'callback_hours_only']
|
|
295
|
+
end
|
|
296
|
+
|
|
297
|
+
if attributes.key?(:'callback_max_attempts')
|
|
298
|
+
self.callback_max_attempts = attributes[:'callback_max_attempts']
|
|
299
|
+
end
|
|
300
|
+
|
|
301
|
+
if attributes.key?(:'callback_max_offers')
|
|
302
|
+
self.callback_max_offers = attributes[:'callback_max_offers']
|
|
303
|
+
end
|
|
304
|
+
|
|
305
|
+
if attributes.key?(:'callback_max_pending')
|
|
306
|
+
self.callback_max_pending = attributes[:'callback_max_pending']
|
|
307
|
+
end
|
|
308
|
+
|
|
309
|
+
if attributes.key?(:'callback_offer_after_seconds')
|
|
310
|
+
self.callback_offer_after_seconds = attributes[:'callback_offer_after_seconds']
|
|
311
|
+
end
|
|
312
|
+
|
|
313
|
+
if attributes.key?(:'callback_offer_interval_seconds')
|
|
314
|
+
self.callback_offer_interval_seconds = attributes[:'callback_offer_interval_seconds']
|
|
315
|
+
end
|
|
316
|
+
|
|
317
|
+
if attributes.key?(:'callback_retry_delay_seconds')
|
|
318
|
+
self.callback_retry_delay_seconds = attributes[:'callback_retry_delay_seconds']
|
|
319
|
+
end
|
|
320
|
+
|
|
213
321
|
if attributes.key?(:'conversation_pbx_queue_uuid')
|
|
214
322
|
self.conversation_pbx_queue_uuid = attributes[:'conversation_pbx_queue_uuid']
|
|
215
323
|
end
|
|
@@ -295,6 +403,14 @@ module UltracartClient
|
|
|
295
403
|
# @return Array for valid properties with the reasons
|
|
296
404
|
def list_invalid_properties
|
|
297
405
|
invalid_properties = Array.new
|
|
406
|
+
if !@callback_announce_audio_uuid.nil? && @callback_announce_audio_uuid.to_s.length > 50
|
|
407
|
+
invalid_properties.push('invalid value for "callback_announce_audio_uuid", the character length must be smaller than or equal to 50.')
|
|
408
|
+
end
|
|
409
|
+
|
|
410
|
+
if !@callback_confirm_audio_uuid.nil? && @callback_confirm_audio_uuid.to_s.length > 50
|
|
411
|
+
invalid_properties.push('invalid value for "callback_confirm_audio_uuid", the character length must be smaller than or equal to 50.')
|
|
412
|
+
end
|
|
413
|
+
|
|
298
414
|
if !@conversation_voicemail_mailbox_uuid.nil? && @conversation_voicemail_mailbox_uuid.to_s.length > 50
|
|
299
415
|
invalid_properties.push('invalid value for "conversation_voicemail_mailbox_uuid", the character length must be smaller than or equal to 50.')
|
|
300
416
|
end
|
|
@@ -343,6 +459,8 @@ module UltracartClient
|
|
|
343
459
|
def valid?
|
|
344
460
|
ai_priority_validator = EnumAttributeValidator.new('String', ["neutral", "first", "backup"])
|
|
345
461
|
return false unless ai_priority_validator.valid?(@ai_priority)
|
|
462
|
+
return false if !@callback_announce_audio_uuid.nil? && @callback_announce_audio_uuid.to_s.length > 50
|
|
463
|
+
return false if !@callback_confirm_audio_uuid.nil? && @callback_confirm_audio_uuid.to_s.length > 50
|
|
346
464
|
return false if !@conversation_voicemail_mailbox_uuid.nil? && @conversation_voicemail_mailbox_uuid.to_s.length > 50
|
|
347
465
|
return false if !@hold_conversation_pbx_audio_uuid.nil? && @hold_conversation_pbx_audio_uuid.to_s.length > 50
|
|
348
466
|
return false if !@merchant_id.nil? && @merchant_id.to_s.length > 5
|
|
@@ -370,6 +488,26 @@ module UltracartClient
|
|
|
370
488
|
@ai_priority = ai_priority
|
|
371
489
|
end
|
|
372
490
|
|
|
491
|
+
# Custom attribute writer method with validation
|
|
492
|
+
# @param [Object] callback_announce_audio_uuid Value to be assigned
|
|
493
|
+
def callback_announce_audio_uuid=(callback_announce_audio_uuid)
|
|
494
|
+
if !callback_announce_audio_uuid.nil? && callback_announce_audio_uuid.to_s.length > 50
|
|
495
|
+
fail ArgumentError, 'invalid value for "callback_announce_audio_uuid", the character length must be smaller than or equal to 50.'
|
|
496
|
+
end
|
|
497
|
+
|
|
498
|
+
@callback_announce_audio_uuid = callback_announce_audio_uuid
|
|
499
|
+
end
|
|
500
|
+
|
|
501
|
+
# Custom attribute writer method with validation
|
|
502
|
+
# @param [Object] callback_confirm_audio_uuid Value to be assigned
|
|
503
|
+
def callback_confirm_audio_uuid=(callback_confirm_audio_uuid)
|
|
504
|
+
if !callback_confirm_audio_uuid.nil? && callback_confirm_audio_uuid.to_s.length > 50
|
|
505
|
+
fail ArgumentError, 'invalid value for "callback_confirm_audio_uuid", the character length must be smaller than or equal to 50.'
|
|
506
|
+
end
|
|
507
|
+
|
|
508
|
+
@callback_confirm_audio_uuid = callback_confirm_audio_uuid
|
|
509
|
+
end
|
|
510
|
+
|
|
373
511
|
# Custom attribute writer method with validation
|
|
374
512
|
# @param [Object] conversation_voicemail_mailbox_uuid Value to be assigned
|
|
375
513
|
def conversation_voicemail_mailbox_uuid=(conversation_voicemail_mailbox_uuid)
|
|
@@ -479,6 +617,18 @@ module UltracartClient
|
|
|
479
617
|
ai_timeout_seconds == o.ai_timeout_seconds &&
|
|
480
618
|
announce_queue_position == o.announce_queue_position &&
|
|
481
619
|
automatic_coach_agent_uuid == o.automatic_coach_agent_uuid &&
|
|
620
|
+
callback_announce_audio_uuid == o.callback_announce_audio_uuid &&
|
|
621
|
+
callback_announce_say == o.callback_announce_say &&
|
|
622
|
+
callback_confirm_audio_uuid == o.callback_confirm_audio_uuid &&
|
|
623
|
+
callback_confirm_say == o.callback_confirm_say &&
|
|
624
|
+
callback_enabled == o.callback_enabled &&
|
|
625
|
+
callback_hours_only == o.callback_hours_only &&
|
|
626
|
+
callback_max_attempts == o.callback_max_attempts &&
|
|
627
|
+
callback_max_offers == o.callback_max_offers &&
|
|
628
|
+
callback_max_pending == o.callback_max_pending &&
|
|
629
|
+
callback_offer_after_seconds == o.callback_offer_after_seconds &&
|
|
630
|
+
callback_offer_interval_seconds == o.callback_offer_interval_seconds &&
|
|
631
|
+
callback_retry_delay_seconds == o.callback_retry_delay_seconds &&
|
|
482
632
|
conversation_pbx_queue_uuid == o.conversation_pbx_queue_uuid &&
|
|
483
633
|
conversation_voicemail_mailbox_uuid == o.conversation_voicemail_mailbox_uuid &&
|
|
484
634
|
hold_conversation_pbx_audio_uuid == o.hold_conversation_pbx_audio_uuid &&
|
|
@@ -510,7 +660,7 @@ module UltracartClient
|
|
|
510
660
|
# Calculates hash code according to all attributes.
|
|
511
661
|
# @return [Integer] Hash code
|
|
512
662
|
def hash
|
|
513
|
-
[ai_priority, ai_timeout_seconds, announce_queue_position, automatic_coach_agent_uuid, conversation_pbx_queue_uuid, conversation_voicemail_mailbox_uuid, hold_conversation_pbx_audio_uuid, max_hold_seconds, members, merchant_id, name, no_agent_available_play_audio_uuid, no_agent_available_say, no_agent_available_say_voice, play_audio_uuid, record_call, say, say_voice, twilio_taskrouter_workflow_sid, twilio_workspace_queue_sid, voicemail, wait_critical_seconds, wait_warning_seconds, wrap_up_seconds].hash
|
|
663
|
+
[ai_priority, ai_timeout_seconds, announce_queue_position, automatic_coach_agent_uuid, callback_announce_audio_uuid, callback_announce_say, callback_confirm_audio_uuid, callback_confirm_say, callback_enabled, callback_hours_only, callback_max_attempts, callback_max_offers, callback_max_pending, callback_offer_after_seconds, callback_offer_interval_seconds, callback_retry_delay_seconds, conversation_pbx_queue_uuid, conversation_voicemail_mailbox_uuid, hold_conversation_pbx_audio_uuid, max_hold_seconds, members, merchant_id, name, no_agent_available_play_audio_uuid, no_agent_available_say, no_agent_available_say_voice, play_audio_uuid, record_call, say, say_voice, twilio_taskrouter_workflow_sid, twilio_workspace_queue_sid, voicemail, wait_critical_seconds, wait_warning_seconds, wrap_up_seconds].hash
|
|
514
664
|
end
|
|
515
665
|
|
|
516
666
|
# 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.70
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- UltraCart
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-03
|
|
11
|
+
date: 2026-04-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|