ultracart_api 4.1.10 → 4.1.12
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 +12 -2
- data/docs/ConversationApi.md +282 -0
- data/docs/ConversationVirtualAgentBudget.md +24 -0
- data/docs/ConversationVirtualAgentBudgetResponse.md +26 -0
- data/docs/ConversationVirtualAgentCapabilities.md +34 -0
- data/docs/ConversationVirtualAgentCapabilitiesResponse.md +26 -0
- data/lib/ultracart_api/api/conversation_api.rb +254 -0
- data/lib/ultracart_api/models/conversation_virtual_agent_budget.rb +246 -0
- data/lib/ultracart_api/models/conversation_virtual_agent_budget_response.rb +256 -0
- data/lib/ultracart_api/models/conversation_virtual_agent_capabilities.rb +291 -0
- data/lib/ultracart_api/models/conversation_virtual_agent_capabilities_response.rb +256 -0
- data/lib/ultracart_api/version.rb +1 -1
- data/lib/ultracart_api.rb +4 -0
- metadata +10 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69102a25b45643b1a65dc8ffb1acf59215dea3a1fab2a585bfd0f20da1095f30
|
4
|
+
data.tar.gz: df0465e38a715afc022c7b1371f891b4369c7ee22056f3dce43b13d26589461f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9749a34ba80d6414a07d8235218886f14c5f0dac7f6786828d1e32d0d50c1c364b82090944d325c0733b2dd2664d0e83c314ddaebc5093c43be3421dd8442a0c
|
7
|
+
data.tar.gz: eed807659d9c845e5127417b87903b75c12ee0f31dad82bfc64de649877e87b9633cb5cd19558dc6f1efa13ab40253a0af70acf4e0fb382ab9d2e659bd15ba6c
|
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.12
|
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.12'
|
20
20
|
```
|
21
21
|
|
22
22
|
install:
|
@@ -187,6 +187,8 @@ Class | Method | HTTP request | Description
|
|
187
187
|
*UltracartClient::ConversationApi* | [**get_pbx_time_ranges**](docs/ConversationApi.md#get_pbx_time_ranges) | **GET** /conversation/pbx/time_range | Get pbx timeRanges
|
188
188
|
*UltracartClient::ConversationApi* | [**get_pbx_voicemail_mailbox**](docs/ConversationApi.md#get_pbx_voicemail_mailbox) | **GET** /conversation/pbx/voicemail_mailbox/{conversationPbxVoicemailMailboxUuid} | Get pbx voicemailMailbox
|
189
189
|
*UltracartClient::ConversationApi* | [**get_pbx_voicemail_mailboxes**](docs/ConversationApi.md#get_pbx_voicemail_mailboxes) | **GET** /conversation/pbx/voicemail_mailbox | Get pbx voicemailMailboxes
|
190
|
+
*UltracartClient::ConversationApi* | [**get_virtual_agent_budget**](docs/ConversationApi.md#get_virtual_agent_budget) | **GET** /conversation/virtualagent/budget | Get virtual agent budget
|
191
|
+
*UltracartClient::ConversationApi* | [**get_virtual_agent_capabilities**](docs/ConversationApi.md#get_virtual_agent_capabilities) | **GET** /conversation/virtualagent/capabilities | Get virtual agent capabilities
|
190
192
|
*UltracartClient::ConversationApi* | [**insert_conversation_canned_message**](docs/ConversationApi.md#insert_conversation_canned_message) | **POST** /conversation/canned_messages | Insert a canned message
|
191
193
|
*UltracartClient::ConversationApi* | [**insert_conversation_department**](docs/ConversationApi.md#insert_conversation_department) | **POST** /conversation/departments | Insert a department
|
192
194
|
*UltracartClient::ConversationApi* | [**insert_conversation_engagement**](docs/ConversationApi.md#insert_conversation_engagement) | **POST** /conversation/engagements | Insert a engagement
|
@@ -218,6 +220,8 @@ Class | Method | HTTP request | Description
|
|
218
220
|
*UltracartClient::ConversationApi* | [**update_pbx_time_based**](docs/ConversationApi.md#update_pbx_time_based) | **PUT** /conversation/pbx/time_based/{conversationPbxTimeBasedUuid} | Update pbx timeBased
|
219
221
|
*UltracartClient::ConversationApi* | [**update_pbx_time_range**](docs/ConversationApi.md#update_pbx_time_range) | **PUT** /conversation/pbx/time_range/{conversationPbxTimeRangeUuid} | Update pbx timeRange
|
220
222
|
*UltracartClient::ConversationApi* | [**update_pbx_voicemail_mailbox**](docs/ConversationApi.md#update_pbx_voicemail_mailbox) | **PUT** /conversation/pbx/voicemail_mailbox/{conversationPbxVoicemailMailboxUuid} | Update pbx voicemailMailbox
|
223
|
+
*UltracartClient::ConversationApi* | [**update_virtual_agent_budget**](docs/ConversationApi.md#update_virtual_agent_budget) | **PUT** /conversation/virtualagent/budget | Update virtual agent budget
|
224
|
+
*UltracartClient::ConversationApi* | [**update_virtual_agent_capabilities**](docs/ConversationApi.md#update_virtual_agent_capabilities) | **PUT** /conversation/virtualagent/capabilities | Update virtual agent capabilities
|
221
225
|
*UltracartClient::CouponApi* | [**delete_coupon**](docs/CouponApi.md#delete_coupon) | **DELETE** /coupon/coupons/{coupon_oid} | Delete a coupon
|
222
226
|
*UltracartClient::CouponApi* | [**delete_coupons_by_code**](docs/CouponApi.md#delete_coupons_by_code) | **DELETE** /coupon/coupons/by_code | Deletes multiple coupons
|
223
227
|
*UltracartClient::CouponApi* | [**delete_coupons_by_oid**](docs/CouponApi.md#delete_coupons_by_oid) | **DELETE** /coupon/coupons/by_oid | Deletes multiple coupons
|
@@ -808,6 +812,10 @@ Class | Method | HTTP request | Description
|
|
808
812
|
- [UltracartClient::ConversationStartResponse](docs/ConversationStartResponse.md)
|
809
813
|
- [UltracartClient::ConversationSummary](docs/ConversationSummary.md)
|
810
814
|
- [UltracartClient::ConversationTwilioAccount](docs/ConversationTwilioAccount.md)
|
815
|
+
- [UltracartClient::ConversationVirtualAgentBudget](docs/ConversationVirtualAgentBudget.md)
|
816
|
+
- [UltracartClient::ConversationVirtualAgentBudgetResponse](docs/ConversationVirtualAgentBudgetResponse.md)
|
817
|
+
- [UltracartClient::ConversationVirtualAgentCapabilities](docs/ConversationVirtualAgentCapabilities.md)
|
818
|
+
- [UltracartClient::ConversationVirtualAgentCapabilitiesResponse](docs/ConversationVirtualAgentCapabilitiesResponse.md)
|
811
819
|
- [UltracartClient::ConversationWebchatContext](docs/ConversationWebchatContext.md)
|
812
820
|
- [UltracartClient::ConversationWebchatQueueStatus](docs/ConversationWebchatQueueStatus.md)
|
813
821
|
- [UltracartClient::ConversationWebchatQueueStatusAgent](docs/ConversationWebchatQueueStatusAgent.md)
|
@@ -1522,6 +1530,8 @@ Not every change is committed to every SDK.
|
|
1522
1530
|
|
1523
1531
|
| Version | Date | Comments |
|
1524
1532
|
| --: | :-: | --- |
|
1533
|
+
| 4.1.12 | 05/19/2025 | conversations - AI agent capabilities method |
|
1534
|
+
| 4.1.11 | 05/19/2025 | conversations - virtual AI budgets |
|
1525
1535
|
| 4.1.10 | 05/06/2025 | conversation - ConversationAgentProfile.user_id added for agent profiles call |
|
1526
1536
|
| 4.1.9 | 05/05/2025 | conversations - method to fetch all agent profiles for admin screens |
|
1527
1537
|
| 4.1.8 | 04/22/2025 | order property fields for created_by and created_dts |
|
data/docs/ConversationApi.md
CHANGED
@@ -57,6 +57,8 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
|
|
57
57
|
| [**get_pbx_time_ranges**](ConversationApi.md#get_pbx_time_ranges) | **GET** /conversation/pbx/time_range | Get pbx timeRanges |
|
58
58
|
| [**get_pbx_voicemail_mailbox**](ConversationApi.md#get_pbx_voicemail_mailbox) | **GET** /conversation/pbx/voicemail_mailbox/{conversationPbxVoicemailMailboxUuid} | Get pbx voicemailMailbox |
|
59
59
|
| [**get_pbx_voicemail_mailboxes**](ConversationApi.md#get_pbx_voicemail_mailboxes) | **GET** /conversation/pbx/voicemail_mailbox | Get pbx voicemailMailboxes |
|
60
|
+
| [**get_virtual_agent_budget**](ConversationApi.md#get_virtual_agent_budget) | **GET** /conversation/virtualagent/budget | Get virtual agent budget |
|
61
|
+
| [**get_virtual_agent_capabilities**](ConversationApi.md#get_virtual_agent_capabilities) | **GET** /conversation/virtualagent/capabilities | Get virtual agent capabilities |
|
60
62
|
| [**insert_conversation_canned_message**](ConversationApi.md#insert_conversation_canned_message) | **POST** /conversation/canned_messages | Insert a canned message |
|
61
63
|
| [**insert_conversation_department**](ConversationApi.md#insert_conversation_department) | **POST** /conversation/departments | Insert a department |
|
62
64
|
| [**insert_conversation_engagement**](ConversationApi.md#insert_conversation_engagement) | **POST** /conversation/engagements | Insert a engagement |
|
@@ -88,6 +90,8 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
|
|
88
90
|
| [**update_pbx_time_based**](ConversationApi.md#update_pbx_time_based) | **PUT** /conversation/pbx/time_based/{conversationPbxTimeBasedUuid} | Update pbx timeBased |
|
89
91
|
| [**update_pbx_time_range**](ConversationApi.md#update_pbx_time_range) | **PUT** /conversation/pbx/time_range/{conversationPbxTimeRangeUuid} | Update pbx timeRange |
|
90
92
|
| [**update_pbx_voicemail_mailbox**](ConversationApi.md#update_pbx_voicemail_mailbox) | **PUT** /conversation/pbx/voicemail_mailbox/{conversationPbxVoicemailMailboxUuid} | Update pbx voicemailMailbox |
|
93
|
+
| [**update_virtual_agent_budget**](ConversationApi.md#update_virtual_agent_budget) | **PUT** /conversation/virtualagent/budget | Update virtual agent budget |
|
94
|
+
| [**update_virtual_agent_capabilities**](ConversationApi.md#update_virtual_agent_capabilities) | **PUT** /conversation/virtualagent/capabilities | Update virtual agent capabilities |
|
91
95
|
|
92
96
|
|
93
97
|
## delete_conversation_canned_message
|
@@ -3809,6 +3813,142 @@ This endpoint does not need any parameter.
|
|
3809
3813
|
- **Accept**: application/json
|
3810
3814
|
|
3811
3815
|
|
3816
|
+
## get_virtual_agent_budget
|
3817
|
+
|
3818
|
+
> <ConversationVirtualAgentBudgetResponse> get_virtual_agent_budget
|
3819
|
+
|
3820
|
+
Get virtual agent budget
|
3821
|
+
|
3822
|
+
Retrieve virtual agent budget
|
3823
|
+
|
3824
|
+
### Examples
|
3825
|
+
|
3826
|
+
```ruby
|
3827
|
+
require 'time'
|
3828
|
+
require 'ultracart_api'
|
3829
|
+
require 'json'
|
3830
|
+
require 'yaml'
|
3831
|
+
require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
|
3832
|
+
|
3833
|
+
# This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
|
3834
|
+
# As such, this might not be the best way to use this object.
|
3835
|
+
# Please see https://github.com/UltraCart/sdk_samples for working examples.
|
3836
|
+
|
3837
|
+
api = UltracartClient::ConversationApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
|
3838
|
+
|
3839
|
+
begin
|
3840
|
+
# Get virtual agent budget
|
3841
|
+
result = api_instance.get_virtual_agent_budget
|
3842
|
+
p result
|
3843
|
+
rescue UltracartClient::ApiError => e
|
3844
|
+
puts "Error when calling ConversationApi->get_virtual_agent_budget: #{e}"
|
3845
|
+
end
|
3846
|
+
```
|
3847
|
+
|
3848
|
+
#### Using the get_virtual_agent_budget_with_http_info variant
|
3849
|
+
|
3850
|
+
This returns an Array which contains the response data, status code and headers.
|
3851
|
+
|
3852
|
+
> <Array(<ConversationVirtualAgentBudgetResponse>, Integer, Hash)> get_virtual_agent_budget_with_http_info
|
3853
|
+
|
3854
|
+
```ruby
|
3855
|
+
begin
|
3856
|
+
# Get virtual agent budget
|
3857
|
+
data, status_code, headers = api_instance.get_virtual_agent_budget_with_http_info
|
3858
|
+
p status_code # => 2xx
|
3859
|
+
p headers # => { ... }
|
3860
|
+
p data # => <ConversationVirtualAgentBudgetResponse>
|
3861
|
+
rescue UltracartClient::ApiError => e
|
3862
|
+
puts "Error when calling ConversationApi->get_virtual_agent_budget_with_http_info: #{e}"
|
3863
|
+
end
|
3864
|
+
```
|
3865
|
+
|
3866
|
+
### Parameters
|
3867
|
+
|
3868
|
+
This endpoint does not need any parameter.
|
3869
|
+
|
3870
|
+
### Return type
|
3871
|
+
|
3872
|
+
[**ConversationVirtualAgentBudgetResponse**](ConversationVirtualAgentBudgetResponse.md)
|
3873
|
+
|
3874
|
+
### Authorization
|
3875
|
+
|
3876
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
3877
|
+
|
3878
|
+
### HTTP request headers
|
3879
|
+
|
3880
|
+
- **Content-Type**: Not defined
|
3881
|
+
- **Accept**: application/json
|
3882
|
+
|
3883
|
+
|
3884
|
+
## get_virtual_agent_capabilities
|
3885
|
+
|
3886
|
+
> <ConversationVirtualAgentCapabilitiesResponse> get_virtual_agent_capabilities
|
3887
|
+
|
3888
|
+
Get virtual agent capabilities
|
3889
|
+
|
3890
|
+
Retrieve virtual agent capabilities
|
3891
|
+
|
3892
|
+
### Examples
|
3893
|
+
|
3894
|
+
```ruby
|
3895
|
+
require 'time'
|
3896
|
+
require 'ultracart_api'
|
3897
|
+
require 'json'
|
3898
|
+
require 'yaml'
|
3899
|
+
require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
|
3900
|
+
|
3901
|
+
# This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
|
3902
|
+
# As such, this might not be the best way to use this object.
|
3903
|
+
# Please see https://github.com/UltraCart/sdk_samples for working examples.
|
3904
|
+
|
3905
|
+
api = UltracartClient::ConversationApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
|
3906
|
+
|
3907
|
+
begin
|
3908
|
+
# Get virtual agent capabilities
|
3909
|
+
result = api_instance.get_virtual_agent_capabilities
|
3910
|
+
p result
|
3911
|
+
rescue UltracartClient::ApiError => e
|
3912
|
+
puts "Error when calling ConversationApi->get_virtual_agent_capabilities: #{e}"
|
3913
|
+
end
|
3914
|
+
```
|
3915
|
+
|
3916
|
+
#### Using the get_virtual_agent_capabilities_with_http_info variant
|
3917
|
+
|
3918
|
+
This returns an Array which contains the response data, status code and headers.
|
3919
|
+
|
3920
|
+
> <Array(<ConversationVirtualAgentCapabilitiesResponse>, Integer, Hash)> get_virtual_agent_capabilities_with_http_info
|
3921
|
+
|
3922
|
+
```ruby
|
3923
|
+
begin
|
3924
|
+
# Get virtual agent capabilities
|
3925
|
+
data, status_code, headers = api_instance.get_virtual_agent_capabilities_with_http_info
|
3926
|
+
p status_code # => 2xx
|
3927
|
+
p headers # => { ... }
|
3928
|
+
p data # => <ConversationVirtualAgentCapabilitiesResponse>
|
3929
|
+
rescue UltracartClient::ApiError => e
|
3930
|
+
puts "Error when calling ConversationApi->get_virtual_agent_capabilities_with_http_info: #{e}"
|
3931
|
+
end
|
3932
|
+
```
|
3933
|
+
|
3934
|
+
### Parameters
|
3935
|
+
|
3936
|
+
This endpoint does not need any parameter.
|
3937
|
+
|
3938
|
+
### Return type
|
3939
|
+
|
3940
|
+
[**ConversationVirtualAgentCapabilitiesResponse**](ConversationVirtualAgentCapabilitiesResponse.md)
|
3941
|
+
|
3942
|
+
### Authorization
|
3943
|
+
|
3944
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
3945
|
+
|
3946
|
+
### HTTP request headers
|
3947
|
+
|
3948
|
+
- **Content-Type**: Not defined
|
3949
|
+
- **Accept**: application/json
|
3950
|
+
|
3951
|
+
|
3812
3952
|
## insert_conversation_canned_message
|
3813
3953
|
|
3814
3954
|
> <ConversationCannedMessageResponse> insert_conversation_canned_message(canned_message)
|
@@ -6031,3 +6171,145 @@ end
|
|
6031
6171
|
- **Content-Type**: application/json
|
6032
6172
|
- **Accept**: application/json
|
6033
6173
|
|
6174
|
+
|
6175
|
+
## update_virtual_agent_budget
|
6176
|
+
|
6177
|
+
> <ConversationVirtualAgentBudgetResponse> update_virtual_agent_budget(virtual_agent_budget)
|
6178
|
+
|
6179
|
+
Update virtual agent budget
|
6180
|
+
|
6181
|
+
Update virtual agent budget
|
6182
|
+
|
6183
|
+
### Examples
|
6184
|
+
|
6185
|
+
```ruby
|
6186
|
+
require 'time'
|
6187
|
+
require 'ultracart_api'
|
6188
|
+
require 'json'
|
6189
|
+
require 'yaml'
|
6190
|
+
require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
|
6191
|
+
|
6192
|
+
# This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
|
6193
|
+
# As such, this might not be the best way to use this object.
|
6194
|
+
# Please see https://github.com/UltraCart/sdk_samples for working examples.
|
6195
|
+
|
6196
|
+
api = UltracartClient::ConversationApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
|
6197
|
+
virtual_agent_budget = UltracartClient::ConversationVirtualAgentBudget.new # ConversationVirtualAgentBudget | Virtual Agent Budget
|
6198
|
+
|
6199
|
+
begin
|
6200
|
+
# Update virtual agent budget
|
6201
|
+
result = api_instance.update_virtual_agent_budget(virtual_agent_budget)
|
6202
|
+
p result
|
6203
|
+
rescue UltracartClient::ApiError => e
|
6204
|
+
puts "Error when calling ConversationApi->update_virtual_agent_budget: #{e}"
|
6205
|
+
end
|
6206
|
+
```
|
6207
|
+
|
6208
|
+
#### Using the update_virtual_agent_budget_with_http_info variant
|
6209
|
+
|
6210
|
+
This returns an Array which contains the response data, status code and headers.
|
6211
|
+
|
6212
|
+
> <Array(<ConversationVirtualAgentBudgetResponse>, Integer, Hash)> update_virtual_agent_budget_with_http_info(virtual_agent_budget)
|
6213
|
+
|
6214
|
+
```ruby
|
6215
|
+
begin
|
6216
|
+
# Update virtual agent budget
|
6217
|
+
data, status_code, headers = api_instance.update_virtual_agent_budget_with_http_info(virtual_agent_budget)
|
6218
|
+
p status_code # => 2xx
|
6219
|
+
p headers # => { ... }
|
6220
|
+
p data # => <ConversationVirtualAgentBudgetResponse>
|
6221
|
+
rescue UltracartClient::ApiError => e
|
6222
|
+
puts "Error when calling ConversationApi->update_virtual_agent_budget_with_http_info: #{e}"
|
6223
|
+
end
|
6224
|
+
```
|
6225
|
+
|
6226
|
+
### Parameters
|
6227
|
+
|
6228
|
+
| Name | Type | Description | Notes |
|
6229
|
+
| ---- | ---- | ----------- | ----- |
|
6230
|
+
| **virtual_agent_budget** | [**ConversationVirtualAgentBudget**](ConversationVirtualAgentBudget.md) | Virtual Agent Budget | |
|
6231
|
+
|
6232
|
+
### Return type
|
6233
|
+
|
6234
|
+
[**ConversationVirtualAgentBudgetResponse**](ConversationVirtualAgentBudgetResponse.md)
|
6235
|
+
|
6236
|
+
### Authorization
|
6237
|
+
|
6238
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
6239
|
+
|
6240
|
+
### HTTP request headers
|
6241
|
+
|
6242
|
+
- **Content-Type**: application/json
|
6243
|
+
- **Accept**: application/json
|
6244
|
+
|
6245
|
+
|
6246
|
+
## update_virtual_agent_capabilities
|
6247
|
+
|
6248
|
+
> <ConversationVirtualAgentCapabilitiesResponse> update_virtual_agent_capabilities(virtual_agent_capabilities)
|
6249
|
+
|
6250
|
+
Update virtual agent capabilities
|
6251
|
+
|
6252
|
+
Update virtual agent capabilities
|
6253
|
+
|
6254
|
+
### Examples
|
6255
|
+
|
6256
|
+
```ruby
|
6257
|
+
require 'time'
|
6258
|
+
require 'ultracart_api'
|
6259
|
+
require 'json'
|
6260
|
+
require 'yaml'
|
6261
|
+
require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
|
6262
|
+
|
6263
|
+
# This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
|
6264
|
+
# As such, this might not be the best way to use this object.
|
6265
|
+
# Please see https://github.com/UltraCart/sdk_samples for working examples.
|
6266
|
+
|
6267
|
+
api = UltracartClient::ConversationApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
|
6268
|
+
virtual_agent_capabilities = UltracartClient::ConversationVirtualAgentCapabilities.new # ConversationVirtualAgentCapabilities | Virtual Agent Capabilities
|
6269
|
+
|
6270
|
+
begin
|
6271
|
+
# Update virtual agent capabilities
|
6272
|
+
result = api_instance.update_virtual_agent_capabilities(virtual_agent_capabilities)
|
6273
|
+
p result
|
6274
|
+
rescue UltracartClient::ApiError => e
|
6275
|
+
puts "Error when calling ConversationApi->update_virtual_agent_capabilities: #{e}"
|
6276
|
+
end
|
6277
|
+
```
|
6278
|
+
|
6279
|
+
#### Using the update_virtual_agent_capabilities_with_http_info variant
|
6280
|
+
|
6281
|
+
This returns an Array which contains the response data, status code and headers.
|
6282
|
+
|
6283
|
+
> <Array(<ConversationVirtualAgentCapabilitiesResponse>, Integer, Hash)> update_virtual_agent_capabilities_with_http_info(virtual_agent_capabilities)
|
6284
|
+
|
6285
|
+
```ruby
|
6286
|
+
begin
|
6287
|
+
# Update virtual agent capabilities
|
6288
|
+
data, status_code, headers = api_instance.update_virtual_agent_capabilities_with_http_info(virtual_agent_capabilities)
|
6289
|
+
p status_code # => 2xx
|
6290
|
+
p headers # => { ... }
|
6291
|
+
p data # => <ConversationVirtualAgentCapabilitiesResponse>
|
6292
|
+
rescue UltracartClient::ApiError => e
|
6293
|
+
puts "Error when calling ConversationApi->update_virtual_agent_capabilities_with_http_info: #{e}"
|
6294
|
+
end
|
6295
|
+
```
|
6296
|
+
|
6297
|
+
### Parameters
|
6298
|
+
|
6299
|
+
| Name | Type | Description | Notes |
|
6300
|
+
| ---- | ---- | ----------- | ----- |
|
6301
|
+
| **virtual_agent_capabilities** | [**ConversationVirtualAgentCapabilities**](ConversationVirtualAgentCapabilities.md) | Virtual Agent Capabilities | |
|
6302
|
+
|
6303
|
+
### Return type
|
6304
|
+
|
6305
|
+
[**ConversationVirtualAgentCapabilitiesResponse**](ConversationVirtualAgentCapabilitiesResponse.md)
|
6306
|
+
|
6307
|
+
### Authorization
|
6308
|
+
|
6309
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
6310
|
+
|
6311
|
+
### HTTP request headers
|
6312
|
+
|
6313
|
+
- **Content-Type**: application/json
|
6314
|
+
- **Accept**: application/json
|
6315
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# UltracartClient::ConversationVirtualAgentBudget
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **budget_daily** | **Float** | | [optional] |
|
8
|
+
| **budget_monthly** | **Float** | | [optional] |
|
9
|
+
| **used_daily** | **Float** | | [optional] |
|
10
|
+
| **used_monthly** | **Float** | | [optional] |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'ultracart_api'
|
16
|
+
|
17
|
+
instance = UltracartClient::ConversationVirtualAgentBudget.new(
|
18
|
+
budget_daily: null,
|
19
|
+
budget_monthly: null,
|
20
|
+
used_daily: null,
|
21
|
+
used_monthly: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# UltracartClient::ConversationVirtualAgentBudgetResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **budget** | [**ConversationVirtualAgentBudget**](ConversationVirtualAgentBudget.md) | | [optional] |
|
8
|
+
| **error** | [**Error**](Error.md) | | [optional] |
|
9
|
+
| **metadata** | [**ResponseMetadata**](ResponseMetadata.md) | | [optional] |
|
10
|
+
| **success** | **Boolean** | Indicates if API call was successful | [optional] |
|
11
|
+
| **warning** | [**Warning**](Warning.md) | | [optional] |
|
12
|
+
|
13
|
+
## Example
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'ultracart_api'
|
17
|
+
|
18
|
+
instance = UltracartClient::ConversationVirtualAgentBudgetResponse.new(
|
19
|
+
budget: null,
|
20
|
+
error: null,
|
21
|
+
metadata: null,
|
22
|
+
success: null,
|
23
|
+
warning: null
|
24
|
+
)
|
25
|
+
```
|
26
|
+
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# UltracartClient::ConversationVirtualAgentCapabilities
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **cancel_subscription** | **Boolean** | | [optional] |
|
8
|
+
| **delay_subscription** | **Boolean** | | [optional] |
|
9
|
+
| **lookup_order_information** | **Boolean** | | [optional] |
|
10
|
+
| **lookup_subscription_information** | **Boolean** | | [optional] |
|
11
|
+
| **open_support_ticket** | **Boolean** | | [optional] |
|
12
|
+
| **pause_subscription** | **Boolean** | | [optional] |
|
13
|
+
| **resume_subscription** | **Boolean** | | [optional] |
|
14
|
+
| **transfer_chat_to_live_agent** | **Boolean** | | [optional] |
|
15
|
+
| **update_subscription_credit_card** | **Boolean** | | [optional] |
|
16
|
+
|
17
|
+
## Example
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'ultracart_api'
|
21
|
+
|
22
|
+
instance = UltracartClient::ConversationVirtualAgentCapabilities.new(
|
23
|
+
cancel_subscription: null,
|
24
|
+
delay_subscription: null,
|
25
|
+
lookup_order_information: null,
|
26
|
+
lookup_subscription_information: null,
|
27
|
+
open_support_ticket: null,
|
28
|
+
pause_subscription: null,
|
29
|
+
resume_subscription: null,
|
30
|
+
transfer_chat_to_live_agent: null,
|
31
|
+
update_subscription_credit_card: null
|
32
|
+
)
|
33
|
+
```
|
34
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# UltracartClient::ConversationVirtualAgentCapabilitiesResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **capabilities** | [**ConversationVirtualAgentCapabilities**](ConversationVirtualAgentCapabilities.md) | | [optional] |
|
8
|
+
| **error** | [**Error**](Error.md) | | [optional] |
|
9
|
+
| **metadata** | [**ResponseMetadata**](ResponseMetadata.md) | | [optional] |
|
10
|
+
| **success** | **Boolean** | Indicates if API call was successful | [optional] |
|
11
|
+
| **warning** | [**Warning**](Warning.md) | | [optional] |
|
12
|
+
|
13
|
+
## Example
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'ultracart_api'
|
17
|
+
|
18
|
+
instance = UltracartClient::ConversationVirtualAgentCapabilitiesResponse.new(
|
19
|
+
capabilities: null,
|
20
|
+
error: null,
|
21
|
+
metadata: null,
|
22
|
+
success: null,
|
23
|
+
warning: null
|
24
|
+
)
|
25
|
+
```
|
26
|
+
|