ultracart_api 3.11.39 → 3.11.41

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.
@@ -9,9 +9,11 @@ Method | HTTP request | Description
9
9
  [**delete_conversation_canned_message**](ConversationApi.md#delete_conversation_canned_message) | **DELETE** /conversation/canned_messages/{conversation_canned_message_oid} | Delete a conversation canned message
10
10
  [**delete_department**](ConversationApi.md#delete_department) | **DELETE** /conversation/departments/{conversation_department_oid} | Delete a conversation department
11
11
  [**delete_engagement**](ConversationApi.md#delete_engagement) | **DELETE** /conversation/engagements/{conversation_engagement_oid} | Delete a conversation engagement
12
+ [**delete_pbx_address**](ConversationApi.md#delete_pbx_address) | **DELETE** /conversation/pbx/address/{conversationPbxAddressUuid} | Delete pbx address
12
13
  [**delete_pbx_agent_voicemail**](ConversationApi.md#delete_pbx_agent_voicemail) | **DELETE** /conversation/pbx/agent/voicemails/{recording_sid} | Delete Agent Voicemail
13
14
  [**delete_pbx_audio**](ConversationApi.md#delete_pbx_audio) | **DELETE** /conversation/pbx/audio/{conversationPbxAudioUuid} | Delete pbx audio
14
15
  [**delete_pbx_menu**](ConversationApi.md#delete_pbx_menu) | **DELETE** /conversation/pbx/menu/{conversationPbxMenuUuid} | Delete pbx menu
16
+ [**delete_pbx_phone_number**](ConversationApi.md#delete_pbx_phone_number) | **DELETE** /conversation/pbx/phone_number/{conversationPbxPhoneNumberUuid} | Delete pbx phoneNumber
15
17
  [**delete_pbx_queue**](ConversationApi.md#delete_pbx_queue) | **DELETE** /conversation/pbx/queue/{conversationPbxQueueUuid} | Delete pbx queue
16
18
  [**delete_pbx_queue_voicemail**](ConversationApi.md#delete_pbx_queue_voicemail) | **DELETE** /conversation/pbx/queues/{queue_uuid}/voicemails/{recording_sid} | Delete Queue Voicemail
17
19
  [**delete_pbx_time_based**](ConversationApi.md#delete_pbx_time_based) | **DELETE** /conversation/pbx/time_based/{conversationPbxTimeBasedUuid} | Delete pbx timeBased
@@ -43,6 +45,8 @@ Method | HTTP request | Description
43
45
  [**get_conversations_autocomplete**](ConversationApi.md#get_conversations_autocomplete) | **POST** /conversation/conversations/autocomplete | Retrieve a list of matching terms for a search field
44
46
  [**get_conversations_search**](ConversationApi.md#get_conversations_search) | **POST** /conversation/conversations/search | Search conversations
45
47
  [**get_locations_for_engagement**](ConversationApi.md#get_locations_for_engagement) | **POST** /conversation/locations | Get location data for engagement configuration
48
+ [**get_pbx_address**](ConversationApi.md#get_pbx_address) | **GET** /conversation/pbx/address/{conversationPbxAddressUuid} | Get pbx address
49
+ [**get_pbx_addresses**](ConversationApi.md#get_pbx_addresses) | **GET** /conversation/pbx/address | Get pbx addresses
46
50
  [**get_pbx_agent**](ConversationApi.md#get_pbx_agent) | **GET** /conversation/pbx/agent/{conversationPbxAgentUuid} | Get pbx agent
47
51
  [**get_pbx_agent_voicemail**](ConversationApi.md#get_pbx_agent_voicemail) | **GET** /conversation/pbx/agent/voicemails/{recording_sid} | Get Agent Voicemail
48
52
  [**get_pbx_agent_voicemails**](ConversationApi.md#get_pbx_agent_voicemails) | **GET** /conversation/pbx/agent/voicemails | Get Agent Voicemails
@@ -71,6 +75,7 @@ Method | HTTP request | Description
71
75
  [**insert_conversation_canned_message**](ConversationApi.md#insert_conversation_canned_message) | **POST** /conversation/canned_messages | Insert a canned message
72
76
  [**insert_conversation_department**](ConversationApi.md#insert_conversation_department) | **POST** /conversation/departments | Insert a department
73
77
  [**insert_conversation_engagement**](ConversationApi.md#insert_conversation_engagement) | **POST** /conversation/engagements | Insert a engagement
78
+ [**insert_pbx_address**](ConversationApi.md#insert_pbx_address) | **POST** /conversation/pbx/address | Insert pbx address
74
79
  [**insert_pbx_audio**](ConversationApi.md#insert_pbx_audio) | **POST** /conversation/pbx/audio | Insert pbx audio
75
80
  [**insert_pbx_menu**](ConversationApi.md#insert_pbx_menu) | **POST** /conversation/pbx/menu | Insert pbx menu
76
81
  [**insert_pbx_queue**](ConversationApi.md#insert_pbx_queue) | **POST** /conversation/pbx/queue | Insert pbx queue
@@ -82,8 +87,11 @@ Method | HTTP request | Description
82
87
  [**listened_pbx_agent_voicemail**](ConversationApi.md#listened_pbx_agent_voicemail) | **GET** /conversation/pbx/agent/voicemails/{recording_sid}/listened | Listened Agent Voicemail
83
88
  [**listened_pbx_queue_voicemail**](ConversationApi.md#listened_pbx_queue_voicemail) | **GET** /conversation/pbx/queues/{queue_uuid}/voicemails/{recording_sid}/listened | Listened Queue Voicemail
84
89
  [**mark_read_conversation**](ConversationApi.md#mark_read_conversation) | **PUT** /conversation/conversations/{conversation_uuid}/markread | Mark a conversation as read
90
+ [**protect_pbx_phone_number**](ConversationApi.md#protect_pbx_phone_number) | **PUT** /conversation/pbx/phone_number/{conversationPbxPhoneNumberUuid}/protect | Protect pbx phoneNumber from deletion
91
+ [**purchase_pbx_phone_number**](ConversationApi.md#purchase_pbx_phone_number) | **POST** /conversation/pbx/phone_number | Purchase pbx phone number
85
92
  [**reset_conversation_pbx_queue_statistics**](ConversationApi.md#reset_conversation_pbx_queue_statistics) | **POST** /conversation/pbx/queues/{queue_uuid}/reset_statistics | reset statistics within the queue
86
93
  [**search_conversation_canned_messages**](ConversationApi.md#search_conversation_canned_messages) | **POST** /conversation/canned_messages/search | Search for canned messages by short_code
94
+ [**search_pbx_available_phone_numbers**](ConversationApi.md#search_pbx_available_phone_numbers) | **GET** /conversation/pbx/phone_number/search | Search for available phone numbers
87
95
  [**sms_unsubscribe_conversation**](ConversationApi.md#sms_unsubscribe_conversation) | **PUT** /conversation/conversations/{conversation_uuid}/sms_unsubscribe | Unsubscribe any SMS participants in this conversation
88
96
  [**start_conversation**](ConversationApi.md#start_conversation) | **PUT** /conversation/conversations | Start a conversation
89
97
  [**update_agent_profile**](ConversationApi.md#update_agent_profile) | **PUT** /conversation/agent/profile | Update agent profile
@@ -92,6 +100,7 @@ Method | HTTP request | Description
92
100
  [**update_conversation_department**](ConversationApi.md#update_conversation_department) | **PUT** /conversation/departments/{conversation_department_oid} | Update a department
93
101
  [**update_conversation_engagement**](ConversationApi.md#update_conversation_engagement) | **PUT** /conversation/engagements/{conversation_engagement_oid} | Update a engagement
94
102
  [**update_conversation_webchat_queue_status**](ConversationApi.md#update_conversation_webchat_queue_status) | **PUT** /conversation/conversations/queues/{queue_name}/status | Update status within the queue
103
+ [**update_pbx_address**](ConversationApi.md#update_pbx_address) | **PUT** /conversation/pbx/address/{conversationPbxAddressUuid} | Update pbx address
95
104
  [**update_pbx_agent**](ConversationApi.md#update_pbx_agent) | **PUT** /conversation/pbx/agent/{conversationPbxAgentUuid} | Update pbx agent
96
105
  [**update_pbx_audio**](ConversationApi.md#update_pbx_audio) | **PUT** /conversation/pbx/audio/{conversationPbxAudioUuid} | Update pbx audio
97
106
  [**update_pbx_menu**](ConversationApi.md#update_pbx_menu) | **PUT** /conversation/pbx/menu/{conversationPbxMenuUuid} | Update pbx menu
@@ -356,6 +365,56 @@ nil (empty response body)
356
365
 
357
366
 
358
367
 
368
+ # **delete_pbx_address**
369
+ > ConversationPbxAddressResponse delete_pbx_address(conversation_pbx_address_uuid)
370
+
371
+ Delete pbx address
372
+
373
+ Delete a pbx address
374
+
375
+ ### Example
376
+ ```ruby
377
+ # load the gem
378
+ require 'ultracart_api'
379
+
380
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
381
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
382
+ api_instance = UltracartClient::ConversationApi.new_using_api_key(simple_key, false, false)
383
+
384
+
385
+ conversation_pbx_address_uuid = 'conversation_pbx_address_uuid_example' # String |
386
+
387
+
388
+ begin
389
+ #Delete pbx address
390
+ result = api_instance.delete_pbx_address(conversation_pbx_address_uuid)
391
+ p result
392
+ rescue UltracartClient::ApiError => e
393
+ puts "Exception when calling ConversationApi->delete_pbx_address: #{e}"
394
+ end
395
+ ```
396
+
397
+ ### Parameters
398
+
399
+ Name | Type | Description | Notes
400
+ ------------- | ------------- | ------------- | -------------
401
+ **conversation_pbx_address_uuid** | **String**| |
402
+
403
+ ### Return type
404
+
405
+ [**ConversationPbxAddressResponse**](ConversationPbxAddressResponse.md)
406
+
407
+ ### Authorization
408
+
409
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
410
+
411
+ ### HTTP request headers
412
+
413
+ - **Content-Type**: application/json
414
+ - **Accept**: application/json
415
+
416
+
417
+
359
418
  # **delete_pbx_agent_voicemail**
360
419
  > delete_pbx_agent_voicemail(recording_sid)
361
420
 
@@ -505,6 +564,55 @@ Name | Type | Description | Notes
505
564
 
506
565
 
507
566
 
567
+ # **delete_pbx_phone_number**
568
+ > delete_pbx_phone_number(conversation_pbx_phone_number_uuid)
569
+
570
+ Delete pbx phoneNumber
571
+
572
+ Delete a pbx phoneNumber. Only works if deletion_protected is false.
573
+
574
+ ### Example
575
+ ```ruby
576
+ # load the gem
577
+ require 'ultracart_api'
578
+
579
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
580
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
581
+ api_instance = UltracartClient::ConversationApi.new_using_api_key(simple_key, false, false)
582
+
583
+
584
+ conversation_pbx_phone_number_uuid = 'conversation_pbx_phone_number_uuid_example' # String |
585
+
586
+
587
+ begin
588
+ #Delete pbx phoneNumber
589
+ api_instance.delete_pbx_phone_number(conversation_pbx_phone_number_uuid)
590
+ rescue UltracartClient::ApiError => e
591
+ puts "Exception when calling ConversationApi->delete_pbx_phone_number: #{e}"
592
+ end
593
+ ```
594
+
595
+ ### Parameters
596
+
597
+ Name | Type | Description | Notes
598
+ ------------- | ------------- | ------------- | -------------
599
+ **conversation_pbx_phone_number_uuid** | **String**| |
600
+
601
+ ### Return type
602
+
603
+ nil (empty response body)
604
+
605
+ ### Authorization
606
+
607
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
608
+
609
+ ### HTTP request headers
610
+
611
+ - **Content-Type**: application/json
612
+ - **Accept**: application/json
613
+
614
+
615
+
508
616
  # **delete_pbx_queue**
509
617
  > ConversationPbxQueueResponse delete_pbx_queue(conversation_pbx_queue_uuid)
510
618
 
@@ -2028,6 +2136,101 @@ This endpoint does not need any parameter.
2028
2136
 
2029
2137
 
2030
2138
 
2139
+ # **get_pbx_address**
2140
+ > ConversationPbxAddressResponse get_pbx_address(conversation_pbx_address_uuid)
2141
+
2142
+ Get pbx address
2143
+
2144
+ Retrieve a pbx address
2145
+
2146
+ ### Example
2147
+ ```ruby
2148
+ # load the gem
2149
+ require 'ultracart_api'
2150
+
2151
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
2152
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
2153
+ api_instance = UltracartClient::ConversationApi.new_using_api_key(simple_key, false, false)
2154
+
2155
+
2156
+ conversation_pbx_address_uuid = 'conversation_pbx_address_uuid_example' # String |
2157
+
2158
+
2159
+ begin
2160
+ #Get pbx address
2161
+ result = api_instance.get_pbx_address(conversation_pbx_address_uuid)
2162
+ p result
2163
+ rescue UltracartClient::ApiError => e
2164
+ puts "Exception when calling ConversationApi->get_pbx_address: #{e}"
2165
+ end
2166
+ ```
2167
+
2168
+ ### Parameters
2169
+
2170
+ Name | Type | Description | Notes
2171
+ ------------- | ------------- | ------------- | -------------
2172
+ **conversation_pbx_address_uuid** | **String**| |
2173
+
2174
+ ### Return type
2175
+
2176
+ [**ConversationPbxAddressResponse**](ConversationPbxAddressResponse.md)
2177
+
2178
+ ### Authorization
2179
+
2180
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
2181
+
2182
+ ### HTTP request headers
2183
+
2184
+ - **Content-Type**: application/json
2185
+ - **Accept**: application/json
2186
+
2187
+
2188
+
2189
+ # **get_pbx_addresses**
2190
+ > ConversationPbxAddressesResponse get_pbx_addresses
2191
+
2192
+ Get pbx addresses
2193
+
2194
+ Retrieve pbx addresses
2195
+
2196
+ ### Example
2197
+ ```ruby
2198
+ # load the gem
2199
+ require 'ultracart_api'
2200
+
2201
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
2202
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
2203
+ api_instance = UltracartClient::ConversationApi.new_using_api_key(simple_key, false, false)
2204
+
2205
+
2206
+
2207
+ begin
2208
+ #Get pbx addresses
2209
+ result = api_instance.get_pbx_addresses
2210
+ p result
2211
+ rescue UltracartClient::ApiError => e
2212
+ puts "Exception when calling ConversationApi->get_pbx_addresses: #{e}"
2213
+ end
2214
+ ```
2215
+
2216
+ ### Parameters
2217
+ This endpoint does not need any parameter.
2218
+
2219
+ ### Return type
2220
+
2221
+ [**ConversationPbxAddressesResponse**](ConversationPbxAddressesResponse.md)
2222
+
2223
+ ### Authorization
2224
+
2225
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
2226
+
2227
+ ### HTTP request headers
2228
+
2229
+ - **Content-Type**: application/json
2230
+ - **Accept**: application/json
2231
+
2232
+
2233
+
2031
2234
  # **get_pbx_agent**
2032
2235
  > ConversationPbxAgentResponse get_pbx_agent(conversation_pbx_agent_uuid)
2033
2236
 
@@ -3382,6 +3585,56 @@ Name | Type | Description | Notes
3382
3585
 
3383
3586
 
3384
3587
 
3588
+ # **insert_pbx_address**
3589
+ > ConversationPbxAddressResponse insert_pbx_address(pbx_address)
3590
+
3591
+ Insert pbx address
3592
+
3593
+ Insert a pbx address
3594
+
3595
+ ### Example
3596
+ ```ruby
3597
+ # load the gem
3598
+ require 'ultracart_api'
3599
+
3600
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
3601
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
3602
+ api_instance = UltracartClient::ConversationApi.new_using_api_key(simple_key, false, false)
3603
+
3604
+
3605
+ pbx_address = UltracartClient::ConversationPbxAddress.new # ConversationPbxAddress | Pbx Address
3606
+
3607
+
3608
+ begin
3609
+ #Insert pbx address
3610
+ result = api_instance.insert_pbx_address(pbx_address)
3611
+ p result
3612
+ rescue UltracartClient::ApiError => e
3613
+ puts "Exception when calling ConversationApi->insert_pbx_address: #{e}"
3614
+ end
3615
+ ```
3616
+
3617
+ ### Parameters
3618
+
3619
+ Name | Type | Description | Notes
3620
+ ------------- | ------------- | ------------- | -------------
3621
+ **pbx_address** | [**ConversationPbxAddress**](ConversationPbxAddress.md)| Pbx Address |
3622
+
3623
+ ### Return type
3624
+
3625
+ [**ConversationPbxAddressResponse**](ConversationPbxAddressResponse.md)
3626
+
3627
+ ### Authorization
3628
+
3629
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
3630
+
3631
+ ### HTTP request headers
3632
+
3633
+ - **Content-Type**: application/json
3634
+ - **Accept**: application/json
3635
+
3636
+
3637
+
3385
3638
  # **insert_pbx_audio**
3386
3639
  > ConversationPbxAudioResponse insert_pbx_audio(pbx_audio)
3387
3640
 
@@ -3934,6 +4187,106 @@ nil (empty response body)
3934
4187
 
3935
4188
 
3936
4189
 
4190
+ # **protect_pbx_phone_number**
4191
+ > ConversationPbxPhoneNumberResponse protect_pbx_phone_number(conversation_pbx_phone_number_uuid)
4192
+
4193
+ Protect pbx phoneNumber from deletion
4194
+
4195
+ Protect a pbx phoneNumber from deletion. This is a one-way operation and cannot be undone through the API.
4196
+
4197
+ ### Example
4198
+ ```ruby
4199
+ # load the gem
4200
+ require 'ultracart_api'
4201
+
4202
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
4203
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
4204
+ api_instance = UltracartClient::ConversationApi.new_using_api_key(simple_key, false, false)
4205
+
4206
+
4207
+ conversation_pbx_phone_number_uuid = 'conversation_pbx_phone_number_uuid_example' # String |
4208
+
4209
+
4210
+ begin
4211
+ #Protect pbx phoneNumber from deletion
4212
+ result = api_instance.protect_pbx_phone_number(conversation_pbx_phone_number_uuid)
4213
+ p result
4214
+ rescue UltracartClient::ApiError => e
4215
+ puts "Exception when calling ConversationApi->protect_pbx_phone_number: #{e}"
4216
+ end
4217
+ ```
4218
+
4219
+ ### Parameters
4220
+
4221
+ Name | Type | Description | Notes
4222
+ ------------- | ------------- | ------------- | -------------
4223
+ **conversation_pbx_phone_number_uuid** | **String**| |
4224
+
4225
+ ### Return type
4226
+
4227
+ [**ConversationPbxPhoneNumberResponse**](ConversationPbxPhoneNumberResponse.md)
4228
+
4229
+ ### Authorization
4230
+
4231
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
4232
+
4233
+ ### HTTP request headers
4234
+
4235
+ - **Content-Type**: application/json
4236
+ - **Accept**: application/json
4237
+
4238
+
4239
+
4240
+ # **purchase_pbx_phone_number**
4241
+ > ConversationPbxPhoneNumberResponse purchase_pbx_phone_number(phone_number_purchase_request)
4242
+
4243
+ Purchase pbx phone number
4244
+
4245
+ Purchase a phone number from Twilio. The phone_number must be from the available phone number search results.
4246
+
4247
+ ### Example
4248
+ ```ruby
4249
+ # load the gem
4250
+ require 'ultracart_api'
4251
+
4252
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
4253
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
4254
+ api_instance = UltracartClient::ConversationApi.new_using_api_key(simple_key, false, false)
4255
+
4256
+
4257
+ phone_number_purchase_request = UltracartClient::ConversationPbxPhoneNumberPurchaseRequest.new # ConversationPbxPhoneNumberPurchaseRequest | Phone number purchase request
4258
+
4259
+
4260
+ begin
4261
+ #Purchase pbx phone number
4262
+ result = api_instance.purchase_pbx_phone_number(phone_number_purchase_request)
4263
+ p result
4264
+ rescue UltracartClient::ApiError => e
4265
+ puts "Exception when calling ConversationApi->purchase_pbx_phone_number: #{e}"
4266
+ end
4267
+ ```
4268
+
4269
+ ### Parameters
4270
+
4271
+ Name | Type | Description | Notes
4272
+ ------------- | ------------- | ------------- | -------------
4273
+ **phone_number_purchase_request** | [**ConversationPbxPhoneNumberPurchaseRequest**](ConversationPbxPhoneNumberPurchaseRequest.md)| Phone number purchase request |
4274
+
4275
+ ### Return type
4276
+
4277
+ [**ConversationPbxPhoneNumberResponse**](ConversationPbxPhoneNumberResponse.md)
4278
+
4279
+ ### Authorization
4280
+
4281
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
4282
+
4283
+ ### HTTP request headers
4284
+
4285
+ - **Content-Type**: application/json
4286
+ - **Accept**: application/json
4287
+
4288
+
4289
+
3937
4290
  # **reset_conversation_pbx_queue_statistics**
3938
4291
  > reset_conversation_pbx_queue_statistics(queue_uuid)
3939
4292
 
@@ -4033,6 +4386,70 @@ Name | Type | Description | Notes
4033
4386
 
4034
4387
 
4035
4388
 
4389
+ # **search_pbx_available_phone_numbers**
4390
+ > ConversationPbxAvailablePhoneNumbersResponse search_pbx_available_phone_numbers(country, opts)
4391
+
4392
+ Search for available phone numbers
4393
+
4394
+ Search for available phone numbers from Twilio that can be purchased
4395
+
4396
+ ### Example
4397
+ ```ruby
4398
+ # load the gem
4399
+ require 'ultracart_api'
4400
+
4401
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
4402
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
4403
+ api_instance = UltracartClient::ConversationApi.new_using_api_key(simple_key, false, false)
4404
+
4405
+
4406
+ country = 'country_example' # String | ISO country code (e.g., US, CA, GB)
4407
+
4408
+ opts = {
4409
+ area_code: 'area_code_example', # String | Area code filter (e.g., 614)
4410
+ contains: 'contains_example', # String | Pattern to match (e.g., 555, *PIZZA)
4411
+ sms_enabled: true, # BOOLEAN | Filter for SMS capability
4412
+ voice_enabled: true, # BOOLEAN | Filter for voice capability
4413
+ type: 'type_example', # String | Phone number type
4414
+ limit: 56 # Integer | Max results (default 20, max 100)
4415
+ }
4416
+
4417
+ begin
4418
+ #Search for available phone numbers
4419
+ result = api_instance.search_pbx_available_phone_numbers(country, opts)
4420
+ p result
4421
+ rescue UltracartClient::ApiError => e
4422
+ puts "Exception when calling ConversationApi->search_pbx_available_phone_numbers: #{e}"
4423
+ end
4424
+ ```
4425
+
4426
+ ### Parameters
4427
+
4428
+ Name | Type | Description | Notes
4429
+ ------------- | ------------- | ------------- | -------------
4430
+ **country** | **String**| ISO country code (e.g., US, CA, GB) |
4431
+ **area_code** | **String**| Area code filter (e.g., 614) | [optional]
4432
+ **contains** | **String**| Pattern to match (e.g., 555, *PIZZA) | [optional]
4433
+ **sms_enabled** | **BOOLEAN**| Filter for SMS capability | [optional]
4434
+ **voice_enabled** | **BOOLEAN**| Filter for voice capability | [optional]
4435
+ **type** | **String**| Phone number type | [optional]
4436
+ **limit** | **Integer**| Max results (default 20, max 100) | [optional]
4437
+
4438
+ ### Return type
4439
+
4440
+ [**ConversationPbxAvailablePhoneNumbersResponse**](ConversationPbxAvailablePhoneNumbersResponse.md)
4441
+
4442
+ ### Authorization
4443
+
4444
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
4445
+
4446
+ ### HTTP request headers
4447
+
4448
+ - **Content-Type**: application/json
4449
+ - **Accept**: application/json
4450
+
4451
+
4452
+
4036
4453
  # **sms_unsubscribe_conversation**
4037
4454
  > sms_unsubscribe_conversation(conversation_uuid)
4038
4455
 
@@ -4449,6 +4866,59 @@ nil (empty response body)
4449
4866
 
4450
4867
 
4451
4868
 
4869
+ # **update_pbx_address**
4870
+ > ConversationPbxAddressResponse update_pbx_address(conversation_pbx_address_uuid, pbx_address)
4871
+
4872
+ Update pbx address
4873
+
4874
+ Update a pbx address
4875
+
4876
+ ### Example
4877
+ ```ruby
4878
+ # load the gem
4879
+ require 'ultracart_api'
4880
+
4881
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
4882
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
4883
+ api_instance = UltracartClient::ConversationApi.new_using_api_key(simple_key, false, false)
4884
+
4885
+
4886
+ conversation_pbx_address_uuid = 'conversation_pbx_address_uuid_example' # String |
4887
+
4888
+ pbx_address = UltracartClient::ConversationPbxAddress.new # ConversationPbxAddress | Pbx Address
4889
+
4890
+
4891
+ begin
4892
+ #Update pbx address
4893
+ result = api_instance.update_pbx_address(conversation_pbx_address_uuid, pbx_address)
4894
+ p result
4895
+ rescue UltracartClient::ApiError => e
4896
+ puts "Exception when calling ConversationApi->update_pbx_address: #{e}"
4897
+ end
4898
+ ```
4899
+
4900
+ ### Parameters
4901
+
4902
+ Name | Type | Description | Notes
4903
+ ------------- | ------------- | ------------- | -------------
4904
+ **conversation_pbx_address_uuid** | **String**| |
4905
+ **pbx_address** | [**ConversationPbxAddress**](ConversationPbxAddress.md)| Pbx Address |
4906
+
4907
+ ### Return type
4908
+
4909
+ [**ConversationPbxAddressResponse**](ConversationPbxAddressResponse.md)
4910
+
4911
+ ### Authorization
4912
+
4913
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
4914
+
4915
+ ### HTTP request headers
4916
+
4917
+ - **Content-Type**: application/json
4918
+ - **Accept**: application/json
4919
+
4920
+
4921
+
4452
4922
  # **update_pbx_agent**
4453
4923
  > ConversationPbxAgentResponse update_pbx_agent(conversation_pbx_agent_uuid, pbx_agent)
4454
4924
 
@@ -0,0 +1,19 @@
1
+ # UltracartClient::ConversationPbxAddress
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **address_sid** | **String** | Twilio Address SID | [optional]
7
+ **city** | **String** | City | [optional]
8
+ **conversation_pbx_address_uuid** | **String** | Conversation Pbx Address UUID | [optional]
9
+ **country_code** | **String** | ISO country code (2 characters) | [optional]
10
+ **customer_name** | **String** | Customer name | [optional]
11
+ **friendly_name** | **String** | Friendly name for the address | [optional]
12
+ **merchant_id** | **String** | Merchant Id | [optional]
13
+ **postal_code** | **String** | Postal code | [optional]
14
+ **region** | **String** | State/Province/Region | [optional]
15
+ **street** | **String** | Street address | [optional]
16
+ **validated** | **BOOLEAN** | Whether the address has been validated by Twilio | [optional]
17
+ **verified** | **BOOLEAN** | Whether the address has been verified by Twilio | [optional]
18
+
19
+
@@ -0,0 +1,12 @@
1
+ # UltracartClient::ConversationPbxAddressResponse
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **address** | [**ConversationPbxAddress**](ConversationPbxAddress.md) | | [optional]
7
+ **error** | [**Error**](Error.md) | | [optional]
8
+ **metadata** | [**ResponseMetadata**](ResponseMetadata.md) | | [optional]
9
+ **success** | **BOOLEAN** | Indicates if API call was successful | [optional]
10
+ **warning** | [**Warning**](Warning.md) | | [optional]
11
+
12
+
@@ -0,0 +1,8 @@
1
+ # UltracartClient::ConversationPbxAddressesResponse
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **addresses** | [**Array<ConversationPbxAddress>**](ConversationPbxAddress.md) | | [optional]
7
+
8
+
@@ -0,0 +1,16 @@
1
+ # UltracartClient::ConversationPbxAvailablePhoneNumber
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **address_requirements** | **String** | Address requirements | [optional]
7
+ **country** | **String** | ISO country code | [optional]
8
+ **friendly_name** | **String** | Friendly formatted phone number | [optional]
9
+ **locality** | **String** | City/Locality | [optional]
10
+ **mms** | **BOOLEAN** | MMS capability | [optional]
11
+ **phone_number** | **String** | Phone number in E.164 format | [optional]
12
+ **region** | **String** | State/Province/Region | [optional]
13
+ **sms** | **BOOLEAN** | SMS capability | [optional]
14
+ **voice** | **BOOLEAN** | Voice capability | [optional]
15
+
16
+
@@ -0,0 +1,12 @@
1
+ # UltracartClient::ConversationPbxAvailablePhoneNumbersResponse
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **available_phone_numbers** | [**Array<ConversationPbxAvailablePhoneNumber>**](ConversationPbxAvailablePhoneNumber.md) | | [optional]
7
+ **error** | [**Error**](Error.md) | | [optional]
8
+ **metadata** | [**ResponseMetadata**](ResponseMetadata.md) | | [optional]
9
+ **success** | **BOOLEAN** | Indicates if API call was successful | [optional]
10
+ **warning** | [**Warning**](Warning.md) | | [optional]
11
+
12
+
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
6
6
  **action** | **String** | Action | [optional]
7
7
  **action_target** | **String** | Action target. This is the UUID associated with the configuration object of that particular type. | [optional]
8
8
  **conversation_pbx_phone_number_uuid** | **String** | Conversation Pbx Phone Number UUID | [optional]
9
+ **deletion_protected** | **BOOLEAN** | If true, this phone number cannot be deleted through the API. It must be deleted via the Twilio console. | [optional]
9
10
  **merchant_id** | **String** | Merchant Id | [optional]
10
11
  **phone_number** | **String** | Phone number | [optional]
11
12
 
@@ -0,0 +1,12 @@
1
+ # UltracartClient::ConversationPbxPhoneNumberPurchaseRequest
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **action** | **String** | Initial action for incoming calls | [optional]
7
+ **action_target** | **String** | Initial action target UUID | [optional]
8
+ **address_sid** | **String** | Address SID if required for regulatory compliance | [optional]
9
+ **friendly_name** | **String** | Friendly name for the phone number | [optional]
10
+ **phone_number** | **String** | Phone number to purchase in E.164 format (from search results) | [optional]
11
+
12
+