ultracart_api 3.10.201 → 3.10.202
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 +5 -8
- data/docs/ConversationApi.md +0 -204
- data/docs/ConversationPbxAgent.md +6 -0
- data/lib/ultracart_api/api/conversation_api.rb +0 -220
- data/lib/ultracart_api/models/conversation_pbx_agent.rb +91 -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: 896f9249a654450812992c951625ddf9847ba53af0647380df2a7b2bacf0ce3e
|
|
4
|
+
data.tar.gz: f8812b0fd82a0f91e48ff06900115f1be4849ca82a7dd8fc4085555bdbbdd619
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7fdb370d7fb3d2b5fa3eec8358baf17c93f146ba0913de118856afec39180d3810dd36cff046f3f84eea4c7e2847d04cbe9c43ee5dbc081fae01da5159a2d7a7
|
|
7
|
+
data.tar.gz: 5bddf2c7b2a6c3b1bf5d965d44d8f62f30316eacb5712758b35cd6027cddab6e04407d1be39c33e48fc8c6b124885b7871971d0cf42f2f26846b321b781dc524
|
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.202
|
|
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.202.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.202.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.202'
|
|
36
36
|
|
|
37
37
|
### Install from Git
|
|
38
38
|
|
|
@@ -136,11 +136,9 @@ Class | Method | HTTP request | Description
|
|
|
136
136
|
*UltracartClient::ConversationApi* | [**delete_conversation_canned_message**](docs/ConversationApi.md#delete_conversation_canned_message) | **DELETE** /conversation/canned_messages/{conversation_canned_message_oid} | Delete a conversation canned message
|
|
137
137
|
*UltracartClient::ConversationApi* | [**delete_department**](docs/ConversationApi.md#delete_department) | **DELETE** /conversation/departments/{conversation_department_oid} | Delete a conversation department
|
|
138
138
|
*UltracartClient::ConversationApi* | [**delete_engagement**](docs/ConversationApi.md#delete_engagement) | **DELETE** /conversation/engagements/{conversation_engagement_oid} | Delete a conversation engagement
|
|
139
|
-
*UltracartClient::ConversationApi* | [**delete_pbx_agent**](docs/ConversationApi.md#delete_pbx_agent) | **DELETE** /conversation/pbx/agent/{conversationPbxAgentUuid} | Delete pbx agent
|
|
140
139
|
*UltracartClient::ConversationApi* | [**delete_pbx_agent_voicemail**](docs/ConversationApi.md#delete_pbx_agent_voicemail) | **DELETE** /conversation/pbx/agent/voicemails/{recording_sid} | Delete Agent Voicemail
|
|
141
140
|
*UltracartClient::ConversationApi* | [**delete_pbx_audio**](docs/ConversationApi.md#delete_pbx_audio) | **DELETE** /conversation/pbx/audio/{conversationPbxAudioUuid} | Delete pbx audio
|
|
142
141
|
*UltracartClient::ConversationApi* | [**delete_pbx_menu**](docs/ConversationApi.md#delete_pbx_menu) | **DELETE** /conversation/pbx/menu/{conversationPbxMenuUuid} | Delete pbx menu
|
|
143
|
-
*UltracartClient::ConversationApi* | [**delete_pbx_phone_number**](docs/ConversationApi.md#delete_pbx_phone_number) | **DELETE** /conversation/pbx/phone_number/{conversationPbxPhoneNumberUuid} | Delete pbx phoneNumber
|
|
144
142
|
*UltracartClient::ConversationApi* | [**delete_pbx_queue**](docs/ConversationApi.md#delete_pbx_queue) | **DELETE** /conversation/pbx/queue/{conversationPbxQueueUuid} | Delete pbx queue
|
|
145
143
|
*UltracartClient::ConversationApi* | [**delete_pbx_queue_voicemail**](docs/ConversationApi.md#delete_pbx_queue_voicemail) | **DELETE** /conversation/pbx/queues/{queue_uuid}/voicemails/{recording_sid} | Delete Queue Voicemail
|
|
146
144
|
*UltracartClient::ConversationApi* | [**delete_pbx_time_based**](docs/ConversationApi.md#delete_pbx_time_based) | **DELETE** /conversation/pbx/time_based/{conversationPbxTimeBasedUuid} | Delete pbx timeBased
|
|
@@ -190,10 +188,8 @@ Class | Method | HTTP request | Description
|
|
|
190
188
|
*UltracartClient::ConversationApi* | [**insert_conversation_canned_message**](docs/ConversationApi.md#insert_conversation_canned_message) | **POST** /conversation/canned_messages | Insert a canned message
|
|
191
189
|
*UltracartClient::ConversationApi* | [**insert_conversation_department**](docs/ConversationApi.md#insert_conversation_department) | **POST** /conversation/departments | Insert a department
|
|
192
190
|
*UltracartClient::ConversationApi* | [**insert_conversation_engagement**](docs/ConversationApi.md#insert_conversation_engagement) | **POST** /conversation/engagements | Insert a engagement
|
|
193
|
-
*UltracartClient::ConversationApi* | [**insert_pbx_agent**](docs/ConversationApi.md#insert_pbx_agent) | **POST** /conversation/pbx/agent | Insert pbx agent
|
|
194
191
|
*UltracartClient::ConversationApi* | [**insert_pbx_audio**](docs/ConversationApi.md#insert_pbx_audio) | **POST** /conversation/pbx/audio | Insert pbx audio
|
|
195
192
|
*UltracartClient::ConversationApi* | [**insert_pbx_menu**](docs/ConversationApi.md#insert_pbx_menu) | **POST** /conversation/pbx/menu | Insert pbx menu
|
|
196
|
-
*UltracartClient::ConversationApi* | [**insert_pbx_phone_number**](docs/ConversationApi.md#insert_pbx_phone_number) | **POST** /conversation/pbx/phone_number | Insert pbx phoneNumber
|
|
197
193
|
*UltracartClient::ConversationApi* | [**insert_pbx_queue**](docs/ConversationApi.md#insert_pbx_queue) | **POST** /conversation/pbx/queue | Insert pbx queue
|
|
198
194
|
*UltracartClient::ConversationApi* | [**insert_pbx_time_based**](docs/ConversationApi.md#insert_pbx_time_based) | **POST** /conversation/pbx/time_based | Insert pbx timeBased
|
|
199
195
|
*UltracartClient::ConversationApi* | [**insert_pbx_time_range**](docs/ConversationApi.md#insert_pbx_time_range) | **POST** /conversation/pbx/time_range | Insert pbx timeRange
|
|
@@ -1505,6 +1501,7 @@ Not every change is committed to every SDK.
|
|
|
1505
1501
|
|
|
1506
1502
|
| Version | Date | Comments |
|
|
1507
1503
|
| --: | :-: | --- |
|
|
1504
|
+
| 3.10.202 | 05/15/2024 | conversation pbx - missing fields on agent object |
|
|
1508
1505
|
| 3.10.201 | 05/14/2024 | conversation pbx - allowed value constants on the action |
|
|
1509
1506
|
| 3.10.200 | 05/13/2024 | conversation pbx - bug fix on camelCase property names |
|
|
1510
1507
|
| 3.10.199 | 05/13/2024 | conversation pbx - allow nullable day of week in time range |
|
data/docs/ConversationApi.md
CHANGED
|
@@ -7,11 +7,9 @@ Method | HTTP request | Description
|
|
|
7
7
|
[**delete_conversation_canned_message**](ConversationApi.md#delete_conversation_canned_message) | **DELETE** /conversation/canned_messages/{conversation_canned_message_oid} | Delete a conversation canned message
|
|
8
8
|
[**delete_department**](ConversationApi.md#delete_department) | **DELETE** /conversation/departments/{conversation_department_oid} | Delete a conversation department
|
|
9
9
|
[**delete_engagement**](ConversationApi.md#delete_engagement) | **DELETE** /conversation/engagements/{conversation_engagement_oid} | Delete a conversation engagement
|
|
10
|
-
[**delete_pbx_agent**](ConversationApi.md#delete_pbx_agent) | **DELETE** /conversation/pbx/agent/{conversationPbxAgentUuid} | Delete pbx agent
|
|
11
10
|
[**delete_pbx_agent_voicemail**](ConversationApi.md#delete_pbx_agent_voicemail) | **DELETE** /conversation/pbx/agent/voicemails/{recording_sid} | Delete Agent Voicemail
|
|
12
11
|
[**delete_pbx_audio**](ConversationApi.md#delete_pbx_audio) | **DELETE** /conversation/pbx/audio/{conversationPbxAudioUuid} | Delete pbx audio
|
|
13
12
|
[**delete_pbx_menu**](ConversationApi.md#delete_pbx_menu) | **DELETE** /conversation/pbx/menu/{conversationPbxMenuUuid} | Delete pbx menu
|
|
14
|
-
[**delete_pbx_phone_number**](ConversationApi.md#delete_pbx_phone_number) | **DELETE** /conversation/pbx/phone_number/{conversationPbxPhoneNumberUuid} | Delete pbx phoneNumber
|
|
15
13
|
[**delete_pbx_queue**](ConversationApi.md#delete_pbx_queue) | **DELETE** /conversation/pbx/queue/{conversationPbxQueueUuid} | Delete pbx queue
|
|
16
14
|
[**delete_pbx_queue_voicemail**](ConversationApi.md#delete_pbx_queue_voicemail) | **DELETE** /conversation/pbx/queues/{queue_uuid}/voicemails/{recording_sid} | Delete Queue Voicemail
|
|
17
15
|
[**delete_pbx_time_based**](ConversationApi.md#delete_pbx_time_based) | **DELETE** /conversation/pbx/time_based/{conversationPbxTimeBasedUuid} | Delete pbx timeBased
|
|
@@ -61,10 +59,8 @@ Method | HTTP request | Description
|
|
|
61
59
|
[**insert_conversation_canned_message**](ConversationApi.md#insert_conversation_canned_message) | **POST** /conversation/canned_messages | Insert a canned message
|
|
62
60
|
[**insert_conversation_department**](ConversationApi.md#insert_conversation_department) | **POST** /conversation/departments | Insert a department
|
|
63
61
|
[**insert_conversation_engagement**](ConversationApi.md#insert_conversation_engagement) | **POST** /conversation/engagements | Insert a engagement
|
|
64
|
-
[**insert_pbx_agent**](ConversationApi.md#insert_pbx_agent) | **POST** /conversation/pbx/agent | Insert pbx agent
|
|
65
62
|
[**insert_pbx_audio**](ConversationApi.md#insert_pbx_audio) | **POST** /conversation/pbx/audio | Insert pbx audio
|
|
66
63
|
[**insert_pbx_menu**](ConversationApi.md#insert_pbx_menu) | **POST** /conversation/pbx/menu | Insert pbx menu
|
|
67
|
-
[**insert_pbx_phone_number**](ConversationApi.md#insert_pbx_phone_number) | **POST** /conversation/pbx/phone_number | Insert pbx phoneNumber
|
|
68
64
|
[**insert_pbx_queue**](ConversationApi.md#insert_pbx_queue) | **POST** /conversation/pbx/queue | Insert pbx queue
|
|
69
65
|
[**insert_pbx_time_based**](ConversationApi.md#insert_pbx_time_based) | **POST** /conversation/pbx/time_based | Insert pbx timeBased
|
|
70
66
|
[**insert_pbx_time_range**](ConversationApi.md#insert_pbx_time_range) | **POST** /conversation/pbx/time_range | Insert pbx timeRange
|
|
@@ -240,56 +236,6 @@ nil (empty response body)
|
|
|
240
236
|
|
|
241
237
|
|
|
242
238
|
|
|
243
|
-
# **delete_pbx_agent**
|
|
244
|
-
> ConversationPbxAgentResponse delete_pbx_agent(conversation_pbx_agent_uuid)
|
|
245
|
-
|
|
246
|
-
Delete pbx agent
|
|
247
|
-
|
|
248
|
-
Delete a pbx agent
|
|
249
|
-
|
|
250
|
-
### Example
|
|
251
|
-
```ruby
|
|
252
|
-
# load the gem
|
|
253
|
-
require 'ultracart_api'
|
|
254
|
-
|
|
255
|
-
# Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
|
|
256
|
-
simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
|
|
257
|
-
api_instance = UltracartClient::ConversationApi.new_using_api_key(simple_key, false, false)
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
conversation_pbx_agent_uuid = 'conversation_pbx_agent_uuid_example' # String |
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
begin
|
|
264
|
-
#Delete pbx agent
|
|
265
|
-
result = api_instance.delete_pbx_agent(conversation_pbx_agent_uuid)
|
|
266
|
-
p result
|
|
267
|
-
rescue UltracartClient::ApiError => e
|
|
268
|
-
puts "Exception when calling ConversationApi->delete_pbx_agent: #{e}"
|
|
269
|
-
end
|
|
270
|
-
```
|
|
271
|
-
|
|
272
|
-
### Parameters
|
|
273
|
-
|
|
274
|
-
Name | Type | Description | Notes
|
|
275
|
-
------------- | ------------- | ------------- | -------------
|
|
276
|
-
**conversation_pbx_agent_uuid** | **String**| |
|
|
277
|
-
|
|
278
|
-
### Return type
|
|
279
|
-
|
|
280
|
-
[**ConversationPbxAgentResponse**](ConversationPbxAgentResponse.md)
|
|
281
|
-
|
|
282
|
-
### Authorization
|
|
283
|
-
|
|
284
|
-
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
|
285
|
-
|
|
286
|
-
### HTTP request headers
|
|
287
|
-
|
|
288
|
-
- **Content-Type**: application/json
|
|
289
|
-
- **Accept**: application/json
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
239
|
# **delete_pbx_agent_voicemail**
|
|
294
240
|
> delete_pbx_agent_voicemail(recording_sid)
|
|
295
241
|
|
|
@@ -439,56 +385,6 @@ Name | Type | Description | Notes
|
|
|
439
385
|
|
|
440
386
|
|
|
441
387
|
|
|
442
|
-
# **delete_pbx_phone_number**
|
|
443
|
-
> ConversationPbxPhoneNumberResponse delete_pbx_phone_number(conversation_pbx_phone_number_uuid)
|
|
444
|
-
|
|
445
|
-
Delete pbx phoneNumber
|
|
446
|
-
|
|
447
|
-
Delete a pbx phoneNumber
|
|
448
|
-
|
|
449
|
-
### Example
|
|
450
|
-
```ruby
|
|
451
|
-
# load the gem
|
|
452
|
-
require 'ultracart_api'
|
|
453
|
-
|
|
454
|
-
# Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
|
|
455
|
-
simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
|
|
456
|
-
api_instance = UltracartClient::ConversationApi.new_using_api_key(simple_key, false, false)
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
conversation_pbx_phone_number_uuid = 'conversation_pbx_phone_number_uuid_example' # String |
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
begin
|
|
463
|
-
#Delete pbx phoneNumber
|
|
464
|
-
result = api_instance.delete_pbx_phone_number(conversation_pbx_phone_number_uuid)
|
|
465
|
-
p result
|
|
466
|
-
rescue UltracartClient::ApiError => e
|
|
467
|
-
puts "Exception when calling ConversationApi->delete_pbx_phone_number: #{e}"
|
|
468
|
-
end
|
|
469
|
-
```
|
|
470
|
-
|
|
471
|
-
### Parameters
|
|
472
|
-
|
|
473
|
-
Name | Type | Description | Notes
|
|
474
|
-
------------- | ------------- | ------------- | -------------
|
|
475
|
-
**conversation_pbx_phone_number_uuid** | **String**| |
|
|
476
|
-
|
|
477
|
-
### Return type
|
|
478
|
-
|
|
479
|
-
[**ConversationPbxPhoneNumberResponse**](ConversationPbxPhoneNumberResponse.md)
|
|
480
|
-
|
|
481
|
-
### Authorization
|
|
482
|
-
|
|
483
|
-
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
|
484
|
-
|
|
485
|
-
### HTTP request headers
|
|
486
|
-
|
|
487
|
-
- **Content-Type**: application/json
|
|
488
|
-
- **Accept**: application/json
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
388
|
# **delete_pbx_queue**
|
|
493
389
|
> ConversationPbxQueueResponse delete_pbx_queue(conversation_pbx_queue_uuid)
|
|
494
390
|
|
|
@@ -2866,56 +2762,6 @@ Name | Type | Description | Notes
|
|
|
2866
2762
|
|
|
2867
2763
|
|
|
2868
2764
|
|
|
2869
|
-
# **insert_pbx_agent**
|
|
2870
|
-
> ConversationPbxAgentResponse insert_pbx_agent(pbx_agent)
|
|
2871
|
-
|
|
2872
|
-
Insert pbx agent
|
|
2873
|
-
|
|
2874
|
-
Insert a pbx agent
|
|
2875
|
-
|
|
2876
|
-
### Example
|
|
2877
|
-
```ruby
|
|
2878
|
-
# load the gem
|
|
2879
|
-
require 'ultracart_api'
|
|
2880
|
-
|
|
2881
|
-
# Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
|
|
2882
|
-
simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
|
|
2883
|
-
api_instance = UltracartClient::ConversationApi.new_using_api_key(simple_key, false, false)
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
pbx_agent = UltracartClient::ConversationPbxAgent.new # ConversationPbxAgent | Pbx Agent
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
begin
|
|
2890
|
-
#Insert pbx agent
|
|
2891
|
-
result = api_instance.insert_pbx_agent(pbx_agent)
|
|
2892
|
-
p result
|
|
2893
|
-
rescue UltracartClient::ApiError => e
|
|
2894
|
-
puts "Exception when calling ConversationApi->insert_pbx_agent: #{e}"
|
|
2895
|
-
end
|
|
2896
|
-
```
|
|
2897
|
-
|
|
2898
|
-
### Parameters
|
|
2899
|
-
|
|
2900
|
-
Name | Type | Description | Notes
|
|
2901
|
-
------------- | ------------- | ------------- | -------------
|
|
2902
|
-
**pbx_agent** | [**ConversationPbxAgent**](ConversationPbxAgent.md)| Pbx Agent |
|
|
2903
|
-
|
|
2904
|
-
### Return type
|
|
2905
|
-
|
|
2906
|
-
[**ConversationPbxAgentResponse**](ConversationPbxAgentResponse.md)
|
|
2907
|
-
|
|
2908
|
-
### Authorization
|
|
2909
|
-
|
|
2910
|
-
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
|
2911
|
-
|
|
2912
|
-
### HTTP request headers
|
|
2913
|
-
|
|
2914
|
-
- **Content-Type**: application/json
|
|
2915
|
-
- **Accept**: application/json
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
2765
|
# **insert_pbx_audio**
|
|
2920
2766
|
> ConversationPbxAudioResponse insert_pbx_audio(pbx_audio)
|
|
2921
2767
|
|
|
@@ -3016,56 +2862,6 @@ Name | Type | Description | Notes
|
|
|
3016
2862
|
|
|
3017
2863
|
|
|
3018
2864
|
|
|
3019
|
-
# **insert_pbx_phone_number**
|
|
3020
|
-
> ConversationPbxPhoneNumberResponse insert_pbx_phone_number(pbx_phone_number)
|
|
3021
|
-
|
|
3022
|
-
Insert pbx phoneNumber
|
|
3023
|
-
|
|
3024
|
-
Insert a pbx phoneNumber
|
|
3025
|
-
|
|
3026
|
-
### Example
|
|
3027
|
-
```ruby
|
|
3028
|
-
# load the gem
|
|
3029
|
-
require 'ultracart_api'
|
|
3030
|
-
|
|
3031
|
-
# Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
|
|
3032
|
-
simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
|
|
3033
|
-
api_instance = UltracartClient::ConversationApi.new_using_api_key(simple_key, false, false)
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
pbx_phone_number = UltracartClient::ConversationPbxPhoneNumber.new # ConversationPbxPhoneNumber | Pbx PhoneNumber
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
begin
|
|
3040
|
-
#Insert pbx phoneNumber
|
|
3041
|
-
result = api_instance.insert_pbx_phone_number(pbx_phone_number)
|
|
3042
|
-
p result
|
|
3043
|
-
rescue UltracartClient::ApiError => e
|
|
3044
|
-
puts "Exception when calling ConversationApi->insert_pbx_phone_number: #{e}"
|
|
3045
|
-
end
|
|
3046
|
-
```
|
|
3047
|
-
|
|
3048
|
-
### Parameters
|
|
3049
|
-
|
|
3050
|
-
Name | Type | Description | Notes
|
|
3051
|
-
------------- | ------------- | ------------- | -------------
|
|
3052
|
-
**pbx_phone_number** | [**ConversationPbxPhoneNumber**](ConversationPbxPhoneNumber.md)| Pbx PhoneNumber |
|
|
3053
|
-
|
|
3054
|
-
### Return type
|
|
3055
|
-
|
|
3056
|
-
[**ConversationPbxPhoneNumberResponse**](ConversationPbxPhoneNumberResponse.md)
|
|
3057
|
-
|
|
3058
|
-
### Authorization
|
|
3059
|
-
|
|
3060
|
-
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
|
3061
|
-
|
|
3062
|
-
### HTTP request headers
|
|
3063
|
-
|
|
3064
|
-
- **Content-Type**: application/json
|
|
3065
|
-
- **Accept**: application/json
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
2865
|
# **insert_pbx_queue**
|
|
3070
2866
|
> ConversationPbxQueueResponse insert_pbx_queue(pbx_queue)
|
|
3071
2867
|
|
|
@@ -6,10 +6,16 @@ Name | Type | Description | Notes
|
|
|
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
8
|
**conversation_pbx_voicemail_mailbox_uuid** | **String** | Conversation Pbx Voicemail Mailbox UUID | [optional]
|
|
9
|
+
**extension** | **Integer** | Extension | [optional]
|
|
9
10
|
**forward_calls_to_cellphone** | **BOOLEAN** | True if calls to this agent should be forwarded to their cellphone | [optional]
|
|
11
|
+
**full_name** | **String** | Full name | [optional]
|
|
12
|
+
**login** | **String** | Agent login | [optional]
|
|
10
13
|
**merchant_id** | **String** | Merchant Id | [optional]
|
|
11
14
|
**record_outgoing_automatically** | **BOOLEAN** | True if outgoing calls should be automatically recorded | [optional]
|
|
12
15
|
**twilio_taskrouter_worker_id** | **String** | Twilio taskrouter worker Id | [optional]
|
|
16
|
+
**unavailable_play_audio_uuid** | **String** | Unavailable play audio UUID | [optional]
|
|
17
|
+
**unavailable_say** | **String** | Unavailable say | [optional]
|
|
18
|
+
**unavailable_say_voice** | **String** | Unavailable say voice | [optional]
|
|
13
19
|
**user_id** | **Integer** | User Id | [optional]
|
|
14
20
|
**voicemail** | **BOOLEAN** | True if this agent has voicemail configured | [optional]
|
|
15
21
|
|
|
@@ -194,61 +194,6 @@ module UltracartClient
|
|
|
194
194
|
end
|
|
195
195
|
return data, status_code, headers
|
|
196
196
|
end
|
|
197
|
-
# Delete pbx agent
|
|
198
|
-
# Delete a pbx agent
|
|
199
|
-
# @param conversation_pbx_agent_uuid
|
|
200
|
-
# @param [Hash] opts the optional parameters
|
|
201
|
-
# @return [ConversationPbxAgentResponse]
|
|
202
|
-
def delete_pbx_agent(conversation_pbx_agent_uuid, opts = {})
|
|
203
|
-
data, _status_code, _headers = delete_pbx_agent_with_http_info(conversation_pbx_agent_uuid, opts)
|
|
204
|
-
data
|
|
205
|
-
end
|
|
206
|
-
|
|
207
|
-
# Delete pbx agent
|
|
208
|
-
# Delete a pbx agent
|
|
209
|
-
# @param conversation_pbx_agent_uuid
|
|
210
|
-
# @param [Hash] opts the optional parameters
|
|
211
|
-
# @return [Array<(ConversationPbxAgentResponse, Fixnum, Hash)>] ConversationPbxAgentResponse data, response status code and response headers
|
|
212
|
-
def delete_pbx_agent_with_http_info(conversation_pbx_agent_uuid, opts = {})
|
|
213
|
-
if @api_client.config.debugging
|
|
214
|
-
@api_client.config.logger.debug 'Calling API: ConversationApi.delete_pbx_agent ...'
|
|
215
|
-
end
|
|
216
|
-
# verify the required parameter 'conversation_pbx_agent_uuid' is set
|
|
217
|
-
if @api_client.config.client_side_validation && conversation_pbx_agent_uuid.nil?
|
|
218
|
-
fail ArgumentError, "Missing the required parameter 'conversation_pbx_agent_uuid' when calling ConversationApi.delete_pbx_agent"
|
|
219
|
-
end
|
|
220
|
-
# resource path
|
|
221
|
-
local_var_path = '/conversation/pbx/agent/{conversationPbxAgentUuid}'.sub('{' + 'conversationPbxAgentUuid' + '}', conversation_pbx_agent_uuid.to_s)
|
|
222
|
-
|
|
223
|
-
# query parameters
|
|
224
|
-
query_params = {}
|
|
225
|
-
|
|
226
|
-
# header parameters
|
|
227
|
-
header_params = {}
|
|
228
|
-
header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
|
|
229
|
-
# HTTP header 'Accept' (if needed)
|
|
230
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
231
|
-
# HTTP header 'Content-Type'
|
|
232
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
233
|
-
|
|
234
|
-
# form parameters
|
|
235
|
-
form_params = {}
|
|
236
|
-
|
|
237
|
-
# http body (model)
|
|
238
|
-
post_body = nil
|
|
239
|
-
auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
|
240
|
-
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
241
|
-
:header_params => header_params,
|
|
242
|
-
:query_params => query_params,
|
|
243
|
-
:form_params => form_params,
|
|
244
|
-
:body => post_body,
|
|
245
|
-
:auth_names => auth_names,
|
|
246
|
-
:return_type => 'ConversationPbxAgentResponse')
|
|
247
|
-
if @api_client.config.debugging
|
|
248
|
-
@api_client.config.logger.debug "API called: ConversationApi#delete_pbx_agent\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
249
|
-
end
|
|
250
|
-
return data, status_code, headers
|
|
251
|
-
end
|
|
252
197
|
# Delete Agent Voicemail
|
|
253
198
|
# Delete pbx agent Voicemail
|
|
254
199
|
# @param recording_sid
|
|
@@ -413,61 +358,6 @@ module UltracartClient
|
|
|
413
358
|
end
|
|
414
359
|
return data, status_code, headers
|
|
415
360
|
end
|
|
416
|
-
# Delete pbx phoneNumber
|
|
417
|
-
# Delete a pbx phoneNumber
|
|
418
|
-
# @param conversation_pbx_phone_number_uuid
|
|
419
|
-
# @param [Hash] opts the optional parameters
|
|
420
|
-
# @return [ConversationPbxPhoneNumberResponse]
|
|
421
|
-
def delete_pbx_phone_number(conversation_pbx_phone_number_uuid, opts = {})
|
|
422
|
-
data, _status_code, _headers = delete_pbx_phone_number_with_http_info(conversation_pbx_phone_number_uuid, opts)
|
|
423
|
-
data
|
|
424
|
-
end
|
|
425
|
-
|
|
426
|
-
# Delete pbx phoneNumber
|
|
427
|
-
# Delete a pbx phoneNumber
|
|
428
|
-
# @param conversation_pbx_phone_number_uuid
|
|
429
|
-
# @param [Hash] opts the optional parameters
|
|
430
|
-
# @return [Array<(ConversationPbxPhoneNumberResponse, Fixnum, Hash)>] ConversationPbxPhoneNumberResponse data, response status code and response headers
|
|
431
|
-
def delete_pbx_phone_number_with_http_info(conversation_pbx_phone_number_uuid, opts = {})
|
|
432
|
-
if @api_client.config.debugging
|
|
433
|
-
@api_client.config.logger.debug 'Calling API: ConversationApi.delete_pbx_phone_number ...'
|
|
434
|
-
end
|
|
435
|
-
# verify the required parameter 'conversation_pbx_phone_number_uuid' is set
|
|
436
|
-
if @api_client.config.client_side_validation && conversation_pbx_phone_number_uuid.nil?
|
|
437
|
-
fail ArgumentError, "Missing the required parameter 'conversation_pbx_phone_number_uuid' when calling ConversationApi.delete_pbx_phone_number"
|
|
438
|
-
end
|
|
439
|
-
# resource path
|
|
440
|
-
local_var_path = '/conversation/pbx/phone_number/{conversationPbxPhoneNumberUuid}'.sub('{' + 'conversationPbxPhoneNumberUuid' + '}', conversation_pbx_phone_number_uuid.to_s)
|
|
441
|
-
|
|
442
|
-
# query parameters
|
|
443
|
-
query_params = {}
|
|
444
|
-
|
|
445
|
-
# header parameters
|
|
446
|
-
header_params = {}
|
|
447
|
-
header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
|
|
448
|
-
# HTTP header 'Accept' (if needed)
|
|
449
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
450
|
-
# HTTP header 'Content-Type'
|
|
451
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
452
|
-
|
|
453
|
-
# form parameters
|
|
454
|
-
form_params = {}
|
|
455
|
-
|
|
456
|
-
# http body (model)
|
|
457
|
-
post_body = nil
|
|
458
|
-
auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
|
459
|
-
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
460
|
-
:header_params => header_params,
|
|
461
|
-
:query_params => query_params,
|
|
462
|
-
:form_params => form_params,
|
|
463
|
-
:body => post_body,
|
|
464
|
-
:auth_names => auth_names,
|
|
465
|
-
:return_type => 'ConversationPbxPhoneNumberResponse')
|
|
466
|
-
if @api_client.config.debugging
|
|
467
|
-
@api_client.config.logger.debug "API called: ConversationApi#delete_pbx_phone_number\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
468
|
-
end
|
|
469
|
-
return data, status_code, headers
|
|
470
|
-
end
|
|
471
361
|
# Delete pbx queue
|
|
472
362
|
# Delete a pbx queue
|
|
473
363
|
# @param conversation_pbx_queue_uuid
|
|
@@ -3077,61 +2967,6 @@ module UltracartClient
|
|
|
3077
2967
|
end
|
|
3078
2968
|
return data, status_code, headers
|
|
3079
2969
|
end
|
|
3080
|
-
# Insert pbx agent
|
|
3081
|
-
# Insert a pbx agent
|
|
3082
|
-
# @param pbx_agent Pbx Agent
|
|
3083
|
-
# @param [Hash] opts the optional parameters
|
|
3084
|
-
# @return [ConversationPbxAgentResponse]
|
|
3085
|
-
def insert_pbx_agent(pbx_agent, opts = {})
|
|
3086
|
-
data, _status_code, _headers = insert_pbx_agent_with_http_info(pbx_agent, opts)
|
|
3087
|
-
data
|
|
3088
|
-
end
|
|
3089
|
-
|
|
3090
|
-
# Insert pbx agent
|
|
3091
|
-
# Insert a pbx agent
|
|
3092
|
-
# @param pbx_agent Pbx Agent
|
|
3093
|
-
# @param [Hash] opts the optional parameters
|
|
3094
|
-
# @return [Array<(ConversationPbxAgentResponse, Fixnum, Hash)>] ConversationPbxAgentResponse data, response status code and response headers
|
|
3095
|
-
def insert_pbx_agent_with_http_info(pbx_agent, opts = {})
|
|
3096
|
-
if @api_client.config.debugging
|
|
3097
|
-
@api_client.config.logger.debug 'Calling API: ConversationApi.insert_pbx_agent ...'
|
|
3098
|
-
end
|
|
3099
|
-
# verify the required parameter 'pbx_agent' is set
|
|
3100
|
-
if @api_client.config.client_side_validation && pbx_agent.nil?
|
|
3101
|
-
fail ArgumentError, "Missing the required parameter 'pbx_agent' when calling ConversationApi.insert_pbx_agent"
|
|
3102
|
-
end
|
|
3103
|
-
# resource path
|
|
3104
|
-
local_var_path = '/conversation/pbx/agent'
|
|
3105
|
-
|
|
3106
|
-
# query parameters
|
|
3107
|
-
query_params = {}
|
|
3108
|
-
|
|
3109
|
-
# header parameters
|
|
3110
|
-
header_params = {}
|
|
3111
|
-
header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
|
|
3112
|
-
# HTTP header 'Accept' (if needed)
|
|
3113
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
3114
|
-
# HTTP header 'Content-Type'
|
|
3115
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
3116
|
-
|
|
3117
|
-
# form parameters
|
|
3118
|
-
form_params = {}
|
|
3119
|
-
|
|
3120
|
-
# http body (model)
|
|
3121
|
-
post_body = @api_client.object_to_http_body(pbx_agent)
|
|
3122
|
-
auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
|
3123
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
3124
|
-
:header_params => header_params,
|
|
3125
|
-
:query_params => query_params,
|
|
3126
|
-
:form_params => form_params,
|
|
3127
|
-
:body => post_body,
|
|
3128
|
-
:auth_names => auth_names,
|
|
3129
|
-
:return_type => 'ConversationPbxAgentResponse')
|
|
3130
|
-
if @api_client.config.debugging
|
|
3131
|
-
@api_client.config.logger.debug "API called: ConversationApi#insert_pbx_agent\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3132
|
-
end
|
|
3133
|
-
return data, status_code, headers
|
|
3134
|
-
end
|
|
3135
2970
|
# Insert pbx audio
|
|
3136
2971
|
# Insert a pbx audio
|
|
3137
2972
|
# @param pbx_audio Pbx Audio
|
|
@@ -3242,61 +3077,6 @@ module UltracartClient
|
|
|
3242
3077
|
end
|
|
3243
3078
|
return data, status_code, headers
|
|
3244
3079
|
end
|
|
3245
|
-
# Insert pbx phoneNumber
|
|
3246
|
-
# Insert a pbx phoneNumber
|
|
3247
|
-
# @param pbx_phone_number Pbx PhoneNumber
|
|
3248
|
-
# @param [Hash] opts the optional parameters
|
|
3249
|
-
# @return [ConversationPbxPhoneNumberResponse]
|
|
3250
|
-
def insert_pbx_phone_number(pbx_phone_number, opts = {})
|
|
3251
|
-
data, _status_code, _headers = insert_pbx_phone_number_with_http_info(pbx_phone_number, opts)
|
|
3252
|
-
data
|
|
3253
|
-
end
|
|
3254
|
-
|
|
3255
|
-
# Insert pbx phoneNumber
|
|
3256
|
-
# Insert a pbx phoneNumber
|
|
3257
|
-
# @param pbx_phone_number Pbx PhoneNumber
|
|
3258
|
-
# @param [Hash] opts the optional parameters
|
|
3259
|
-
# @return [Array<(ConversationPbxPhoneNumberResponse, Fixnum, Hash)>] ConversationPbxPhoneNumberResponse data, response status code and response headers
|
|
3260
|
-
def insert_pbx_phone_number_with_http_info(pbx_phone_number, opts = {})
|
|
3261
|
-
if @api_client.config.debugging
|
|
3262
|
-
@api_client.config.logger.debug 'Calling API: ConversationApi.insert_pbx_phone_number ...'
|
|
3263
|
-
end
|
|
3264
|
-
# verify the required parameter 'pbx_phone_number' is set
|
|
3265
|
-
if @api_client.config.client_side_validation && pbx_phone_number.nil?
|
|
3266
|
-
fail ArgumentError, "Missing the required parameter 'pbx_phone_number' when calling ConversationApi.insert_pbx_phone_number"
|
|
3267
|
-
end
|
|
3268
|
-
# resource path
|
|
3269
|
-
local_var_path = '/conversation/pbx/phone_number'
|
|
3270
|
-
|
|
3271
|
-
# query parameters
|
|
3272
|
-
query_params = {}
|
|
3273
|
-
|
|
3274
|
-
# header parameters
|
|
3275
|
-
header_params = {}
|
|
3276
|
-
header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
|
|
3277
|
-
# HTTP header 'Accept' (if needed)
|
|
3278
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
3279
|
-
# HTTP header 'Content-Type'
|
|
3280
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
3281
|
-
|
|
3282
|
-
# form parameters
|
|
3283
|
-
form_params = {}
|
|
3284
|
-
|
|
3285
|
-
# http body (model)
|
|
3286
|
-
post_body = @api_client.object_to_http_body(pbx_phone_number)
|
|
3287
|
-
auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
|
3288
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
3289
|
-
:header_params => header_params,
|
|
3290
|
-
:query_params => query_params,
|
|
3291
|
-
:form_params => form_params,
|
|
3292
|
-
:body => post_body,
|
|
3293
|
-
:auth_names => auth_names,
|
|
3294
|
-
:return_type => 'ConversationPbxPhoneNumberResponse')
|
|
3295
|
-
if @api_client.config.debugging
|
|
3296
|
-
@api_client.config.logger.debug "API called: ConversationApi#insert_pbx_phone_number\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3297
|
-
end
|
|
3298
|
-
return data, status_code, headers
|
|
3299
|
-
end
|
|
3300
3080
|
# Insert pbx queue
|
|
3301
3081
|
# Insert a pbx queue
|
|
3302
3082
|
# @param pbx_queue Pbx Queue
|
|
@@ -23,9 +23,18 @@ module UltracartClient
|
|
|
23
23
|
# Conversation Pbx Voicemail Mailbox UUID
|
|
24
24
|
attr_accessor :conversation_pbx_voicemail_mailbox_uuid
|
|
25
25
|
|
|
26
|
+
# Extension
|
|
27
|
+
attr_accessor :extension
|
|
28
|
+
|
|
26
29
|
# True if calls to this agent should be forwarded to their cellphone
|
|
27
30
|
attr_accessor :forward_calls_to_cellphone
|
|
28
31
|
|
|
32
|
+
# Full name
|
|
33
|
+
attr_accessor :full_name
|
|
34
|
+
|
|
35
|
+
# Agent login
|
|
36
|
+
attr_accessor :login
|
|
37
|
+
|
|
29
38
|
# Merchant Id
|
|
30
39
|
attr_accessor :merchant_id
|
|
31
40
|
|
|
@@ -35,6 +44,15 @@ module UltracartClient
|
|
|
35
44
|
# Twilio taskrouter worker Id
|
|
36
45
|
attr_accessor :twilio_taskrouter_worker_id
|
|
37
46
|
|
|
47
|
+
# Unavailable play audio UUID
|
|
48
|
+
attr_accessor :unavailable_play_audio_uuid
|
|
49
|
+
|
|
50
|
+
# Unavailable say
|
|
51
|
+
attr_accessor :unavailable_say
|
|
52
|
+
|
|
53
|
+
# Unavailable say voice
|
|
54
|
+
attr_accessor :unavailable_say_voice
|
|
55
|
+
|
|
38
56
|
# User Id
|
|
39
57
|
attr_accessor :user_id
|
|
40
58
|
|
|
@@ -47,10 +65,16 @@ module UltracartClient
|
|
|
47
65
|
:'cellphone' => :'cellphone',
|
|
48
66
|
:'conversation_pbx_agent_uuid' => :'conversation_pbx_agent_uuid',
|
|
49
67
|
:'conversation_pbx_voicemail_mailbox_uuid' => :'conversation_pbx_voicemail_mailbox_uuid',
|
|
68
|
+
:'extension' => :'extension',
|
|
50
69
|
:'forward_calls_to_cellphone' => :'forward_calls_to_cellphone',
|
|
70
|
+
:'full_name' => :'full_name',
|
|
71
|
+
:'login' => :'login',
|
|
51
72
|
:'merchant_id' => :'merchant_id',
|
|
52
73
|
:'record_outgoing_automatically' => :'record_outgoing_automatically',
|
|
53
74
|
:'twilio_taskrouter_worker_id' => :'twilio_taskrouter_worker_id',
|
|
75
|
+
:'unavailable_play_audio_uuid' => :'unavailable_play_audio_uuid',
|
|
76
|
+
:'unavailable_say' => :'unavailable_say',
|
|
77
|
+
:'unavailable_say_voice' => :'unavailable_say_voice',
|
|
54
78
|
:'user_id' => :'user_id',
|
|
55
79
|
:'voicemail' => :'voicemail'
|
|
56
80
|
}
|
|
@@ -62,10 +86,16 @@ module UltracartClient
|
|
|
62
86
|
:'cellphone' => :'String',
|
|
63
87
|
:'conversation_pbx_agent_uuid' => :'String',
|
|
64
88
|
:'conversation_pbx_voicemail_mailbox_uuid' => :'String',
|
|
89
|
+
:'extension' => :'Integer',
|
|
65
90
|
:'forward_calls_to_cellphone' => :'BOOLEAN',
|
|
91
|
+
:'full_name' => :'String',
|
|
92
|
+
:'login' => :'String',
|
|
66
93
|
:'merchant_id' => :'String',
|
|
67
94
|
:'record_outgoing_automatically' => :'BOOLEAN',
|
|
68
95
|
:'twilio_taskrouter_worker_id' => :'String',
|
|
96
|
+
:'unavailable_play_audio_uuid' => :'String',
|
|
97
|
+
:'unavailable_say' => :'String',
|
|
98
|
+
:'unavailable_say_voice' => :'String',
|
|
69
99
|
:'user_id' => :'Integer',
|
|
70
100
|
:'voicemail' => :'BOOLEAN'
|
|
71
101
|
}
|
|
@@ -91,10 +121,22 @@ module UltracartClient
|
|
|
91
121
|
self.conversation_pbx_voicemail_mailbox_uuid = attributes[:'conversation_pbx_voicemail_mailbox_uuid']
|
|
92
122
|
end
|
|
93
123
|
|
|
124
|
+
if attributes.has_key?(:'extension')
|
|
125
|
+
self.extension = attributes[:'extension']
|
|
126
|
+
end
|
|
127
|
+
|
|
94
128
|
if attributes.has_key?(:'forward_calls_to_cellphone')
|
|
95
129
|
self.forward_calls_to_cellphone = attributes[:'forward_calls_to_cellphone']
|
|
96
130
|
end
|
|
97
131
|
|
|
132
|
+
if attributes.has_key?(:'full_name')
|
|
133
|
+
self.full_name = attributes[:'full_name']
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
if attributes.has_key?(:'login')
|
|
137
|
+
self.login = attributes[:'login']
|
|
138
|
+
end
|
|
139
|
+
|
|
98
140
|
if attributes.has_key?(:'merchant_id')
|
|
99
141
|
self.merchant_id = attributes[:'merchant_id']
|
|
100
142
|
end
|
|
@@ -107,6 +149,18 @@ module UltracartClient
|
|
|
107
149
|
self.twilio_taskrouter_worker_id = attributes[:'twilio_taskrouter_worker_id']
|
|
108
150
|
end
|
|
109
151
|
|
|
152
|
+
if attributes.has_key?(:'unavailable_play_audio_uuid')
|
|
153
|
+
self.unavailable_play_audio_uuid = attributes[:'unavailable_play_audio_uuid']
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
if attributes.has_key?(:'unavailable_say')
|
|
157
|
+
self.unavailable_say = attributes[:'unavailable_say']
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
if attributes.has_key?(:'unavailable_say_voice')
|
|
161
|
+
self.unavailable_say_voice = attributes[:'unavailable_say_voice']
|
|
162
|
+
end
|
|
163
|
+
|
|
110
164
|
if attributes.has_key?(:'user_id')
|
|
111
165
|
self.user_id = attributes[:'user_id']
|
|
112
166
|
end
|
|
@@ -136,6 +190,14 @@ module UltracartClient
|
|
|
136
190
|
invalid_properties.push('invalid value for "twilio_taskrouter_worker_id", the character length must be smaller than or equal to 100.')
|
|
137
191
|
end
|
|
138
192
|
|
|
193
|
+
if !@unavailable_play_audio_uuid.nil? && @unavailable_play_audio_uuid.to_s.length > 50
|
|
194
|
+
invalid_properties.push('invalid value for "unavailable_play_audio_uuid", the character length must be smaller than or equal to 50.')
|
|
195
|
+
end
|
|
196
|
+
|
|
197
|
+
if !@unavailable_say_voice.nil? && @unavailable_say_voice.to_s.length > 50
|
|
198
|
+
invalid_properties.push('invalid value for "unavailable_say_voice", the character length must be smaller than or equal to 50.')
|
|
199
|
+
end
|
|
200
|
+
|
|
139
201
|
invalid_properties
|
|
140
202
|
end
|
|
141
203
|
|
|
@@ -146,6 +208,8 @@ module UltracartClient
|
|
|
146
208
|
return false if !@conversation_pbx_voicemail_mailbox_uuid.nil? && @conversation_pbx_voicemail_mailbox_uuid.to_s.length > 50
|
|
147
209
|
return false if !@merchant_id.nil? && @merchant_id.to_s.length > 5
|
|
148
210
|
return false if !@twilio_taskrouter_worker_id.nil? && @twilio_taskrouter_worker_id.to_s.length > 100
|
|
211
|
+
return false if !@unavailable_play_audio_uuid.nil? && @unavailable_play_audio_uuid.to_s.length > 50
|
|
212
|
+
return false if !@unavailable_say_voice.nil? && @unavailable_say_voice.to_s.length > 50
|
|
149
213
|
true
|
|
150
214
|
end
|
|
151
215
|
|
|
@@ -189,6 +253,26 @@ module UltracartClient
|
|
|
189
253
|
@twilio_taskrouter_worker_id = twilio_taskrouter_worker_id
|
|
190
254
|
end
|
|
191
255
|
|
|
256
|
+
# Custom attribute writer method with validation
|
|
257
|
+
# @param [Object] unavailable_play_audio_uuid Value to be assigned
|
|
258
|
+
def unavailable_play_audio_uuid=(unavailable_play_audio_uuid)
|
|
259
|
+
if !unavailable_play_audio_uuid.nil? && unavailable_play_audio_uuid.to_s.length > 50
|
|
260
|
+
fail ArgumentError, 'invalid value for "unavailable_play_audio_uuid", the character length must be smaller than or equal to 50.'
|
|
261
|
+
end
|
|
262
|
+
|
|
263
|
+
@unavailable_play_audio_uuid = unavailable_play_audio_uuid
|
|
264
|
+
end
|
|
265
|
+
|
|
266
|
+
# Custom attribute writer method with validation
|
|
267
|
+
# @param [Object] unavailable_say_voice Value to be assigned
|
|
268
|
+
def unavailable_say_voice=(unavailable_say_voice)
|
|
269
|
+
if !unavailable_say_voice.nil? && unavailable_say_voice.to_s.length > 50
|
|
270
|
+
fail ArgumentError, 'invalid value for "unavailable_say_voice", the character length must be smaller than or equal to 50.'
|
|
271
|
+
end
|
|
272
|
+
|
|
273
|
+
@unavailable_say_voice = unavailable_say_voice
|
|
274
|
+
end
|
|
275
|
+
|
|
192
276
|
# Checks equality by comparing each attribute.
|
|
193
277
|
# @param [Object] Object to be compared
|
|
194
278
|
def ==(o)
|
|
@@ -197,10 +281,16 @@ module UltracartClient
|
|
|
197
281
|
cellphone == o.cellphone &&
|
|
198
282
|
conversation_pbx_agent_uuid == o.conversation_pbx_agent_uuid &&
|
|
199
283
|
conversation_pbx_voicemail_mailbox_uuid == o.conversation_pbx_voicemail_mailbox_uuid &&
|
|
284
|
+
extension == o.extension &&
|
|
200
285
|
forward_calls_to_cellphone == o.forward_calls_to_cellphone &&
|
|
286
|
+
full_name == o.full_name &&
|
|
287
|
+
login == o.login &&
|
|
201
288
|
merchant_id == o.merchant_id &&
|
|
202
289
|
record_outgoing_automatically == o.record_outgoing_automatically &&
|
|
203
290
|
twilio_taskrouter_worker_id == o.twilio_taskrouter_worker_id &&
|
|
291
|
+
unavailable_play_audio_uuid == o.unavailable_play_audio_uuid &&
|
|
292
|
+
unavailable_say == o.unavailable_say &&
|
|
293
|
+
unavailable_say_voice == o.unavailable_say_voice &&
|
|
204
294
|
user_id == o.user_id &&
|
|
205
295
|
voicemail == o.voicemail
|
|
206
296
|
end
|
|
@@ -214,7 +304,7 @@ module UltracartClient
|
|
|
214
304
|
# Calculates hash code according to all attributes.
|
|
215
305
|
# @return [Fixnum] Hash code
|
|
216
306
|
def hash
|
|
217
|
-
[cellphone, conversation_pbx_agent_uuid, conversation_pbx_voicemail_mailbox_uuid, forward_calls_to_cellphone, merchant_id, record_outgoing_automatically, twilio_taskrouter_worker_id, user_id, voicemail].hash
|
|
307
|
+
[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
|
|
218
308
|
end
|
|
219
309
|
|
|
220
310
|
# 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: 3.10.
|
|
4
|
+
version: 3.10.202
|
|
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-
|
|
11
|
+
date: 2024-05-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|