ultracart_api 3.11.29 → 3.11.30

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f15a4bee3ec313c9824b1419c462687d1167a8f6ec4c3b9fb4d256a0f3cb1e0d
4
- data.tar.gz: bb7f59b2db18ae492701e9f46d9267e841f6ae494f71f423e782253ad896b632
3
+ metadata.gz: 50e86579960cc0fb8e178e6ece69e1b9405e2162f9348d1ad8d39e0d0a406a7f
4
+ data.tar.gz: 792a24d8ccba205aa55b4b3d91a5dd3793db5a10661e606a7deb7283e13d6808
5
5
  SHA512:
6
- metadata.gz: 0ee18dc4801f6372ceecd60a6243a720032206e85c90935aa4907e5156a678490592704cbfbad7e01e7c222e1b01dd0e8fedea0723dee1c57fb29af18b30615a
7
- data.tar.gz: f3e4ef905dc9a0743c5a71380b119ba115430fde5299a8a794352fb3e6c849dc7eff2b4f544cd52cbbd0907997e5220790b5f292a939a61b7065f21ee49dca94
6
+ metadata.gz: d2b8a674c6c5b423328dd5a9765b2590e4dc1db7ab418ad017745f4de5ef30496c65dac19f54192072a9cdd3de2f751e767eaf836d98a2f07322d1920f482733
7
+ data.tar.gz: b64d95d41c945990b79412add044d59bf6b47c5af94acec7eb39b7f8f17b487457397efcde809ee6fcd034caa8685efc2134c11d6764a7caed4a5eb8ec399341
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.11.29
10
+ - Package version: 3.11.30
11
11
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [http://www.ultracart.com/api/](http://www.ultracart.com/api/)
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.11.29.gem
27
+ gem install ./ultracart_api-3.11.30.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.11.29.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.11.30.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.11.29'
35
+ gem 'ultracart_api', '~> 3.11.30'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -148,6 +148,8 @@ Class | Method | HTTP request | Description
148
148
  *UltracartClient::ConversationApi* | [**get_agent_keep_alive**](docs/ConversationApi.md#get_agent_keep_alive) | **GET** /conversation/agent/keepalive | Agent keep alive
149
149
  *UltracartClient::ConversationApi* | [**get_agent_profile**](docs/ConversationApi.md#get_agent_profile) | **GET** /conversation/agent/profile | Get agent profile
150
150
  *UltracartClient::ConversationApi* | [**get_agent_profile_knowledge_base**](docs/ConversationApi.md#get_agent_profile_knowledge_base) | **GET** /conversation/agent/profiles/{user_id}/knowledge_base | Get the list of knowledge base documents associated with this agent profile
151
+ *UltracartClient::ConversationApi* | [**get_agent_profile_mcp**](docs/ConversationApi.md#get_agent_profile_mcp) | **GET** /conversation/agent/profiles/{user_id}/mcps/{mcp_server_uuid} | Get an MCP server associated with this agent
152
+ *UltracartClient::ConversationApi* | [**get_agent_profile_mcps**](docs/ConversationApi.md#get_agent_profile_mcps) | **GET** /conversation/agent/profiles/{user_id}/mcps | Get the list of MCP servers associated with this agent
151
153
  *UltracartClient::ConversationApi* | [**get_agent_profiles**](docs/ConversationApi.md#get_agent_profiles) | **GET** /conversation/agent/profiles | Get agent profiles
152
154
  *UltracartClient::ConversationApi* | [**get_agent_websocket_authorization**](docs/ConversationApi.md#get_agent_websocket_authorization) | **PUT** /conversation/agent/auth | Get agent websocket authorization
153
155
  *UltracartClient::ConversationApi* | [**get_conversation**](docs/ConversationApi.md#get_conversation) | **GET** /conversation/conversations/{conversation_uuid} | Retrieve a conversation
@@ -192,6 +194,7 @@ Class | Method | HTTP request | Description
192
194
  *UltracartClient::ConversationApi* | [**get_virtual_agent_budget**](docs/ConversationApi.md#get_virtual_agent_budget) | **GET** /conversation/virtualagent/budget | Get virtual agent budget
193
195
  *UltracartClient::ConversationApi* | [**get_virtual_agent_capabilities**](docs/ConversationApi.md#get_virtual_agent_capabilities) | **GET** /conversation/virtualagent/capabilities | Get virtual agent capabilities
194
196
  *UltracartClient::ConversationApi* | [**insert_agent_profile_knowledge_base_document**](docs/ConversationApi.md#insert_agent_profile_knowledge_base_document) | **POST** /conversation/agent/profiles/{user_id}/knowledge_base | Insert a knowledge base document
197
+ *UltracartClient::ConversationApi* | [**insert_agent_profile_mcp**](docs/ConversationApi.md#insert_agent_profile_mcp) | **POST** /conversation/agent/profiles/{user_id}/mcps | Insert an agent MCP server
195
198
  *UltracartClient::ConversationApi* | [**insert_conversation_canned_message**](docs/ConversationApi.md#insert_conversation_canned_message) | **POST** /conversation/canned_messages | Insert a canned message
196
199
  *UltracartClient::ConversationApi* | [**insert_conversation_department**](docs/ConversationApi.md#insert_conversation_department) | **POST** /conversation/departments | Insert a department
197
200
  *UltracartClient::ConversationApi* | [**insert_conversation_engagement**](docs/ConversationApi.md#insert_conversation_engagement) | **POST** /conversation/engagements | Insert a engagement
@@ -211,6 +214,7 @@ Class | Method | HTTP request | Description
211
214
  *UltracartClient::ConversationApi* | [**sms_unsubscribe_conversation**](docs/ConversationApi.md#sms_unsubscribe_conversation) | **PUT** /conversation/conversations/{conversation_uuid}/sms_unsubscribe | Unsubscribe any SMS participants in this conversation
212
215
  *UltracartClient::ConversationApi* | [**start_conversation**](docs/ConversationApi.md#start_conversation) | **PUT** /conversation/conversations | Start a conversation
213
216
  *UltracartClient::ConversationApi* | [**update_agent_profile**](docs/ConversationApi.md#update_agent_profile) | **PUT** /conversation/agent/profile | Update agent profile
217
+ *UltracartClient::ConversationApi* | [**update_agent_profile_mcp**](docs/ConversationApi.md#update_agent_profile_mcp) | **POST** /conversation/agent/profiles/{user_id}/mcps/{mcp_server_uuid} | Update an agent MCP server
214
218
  *UltracartClient::ConversationApi* | [**update_conversation_canned_message**](docs/ConversationApi.md#update_conversation_canned_message) | **PUT** /conversation/canned_messages/{conversation_canned_message_oid} | Update a canned message
215
219
  *UltracartClient::ConversationApi* | [**update_conversation_department**](docs/ConversationApi.md#update_conversation_department) | **PUT** /conversation/departments/{conversation_department_oid} | Update a department
216
220
  *UltracartClient::ConversationApi* | [**update_conversation_engagement**](docs/ConversationApi.md#update_conversation_engagement) | **PUT** /conversation/engagements/{conversation_engagement_oid} | Update a engagement
@@ -789,6 +793,9 @@ Class | Method | HTTP request | Description
789
793
  - [UltracartClient::ConversationLocationCountry](docs/ConversationLocationCountry.md)
790
794
  - [UltracartClient::ConversationLocationStateProvince](docs/ConversationLocationStateProvince.md)
791
795
  - [UltracartClient::ConversationLocationsResponse](docs/ConversationLocationsResponse.md)
796
+ - [UltracartClient::ConversationMcpServer](docs/ConversationMcpServer.md)
797
+ - [UltracartClient::ConversationMcpServerResponse](docs/ConversationMcpServerResponse.md)
798
+ - [UltracartClient::ConversationMcpServersResponse](docs/ConversationMcpServersResponse.md)
792
799
  - [UltracartClient::ConversationMessage](docs/ConversationMessage.md)
793
800
  - [UltracartClient::ConversationMessageTranslation](docs/ConversationMessageTranslation.md)
794
801
  - [UltracartClient::ConversationMessageTransportStatus](docs/ConversationMessageTransportStatus.md)
@@ -1591,6 +1598,7 @@ Not every change is committed to every SDK.
1591
1598
 
1592
1599
  | Version | Date | Comments |
1593
1600
  | --: | :-: | --- |
1601
+ | 3.11.30 | 11/19/2025 | conversation - AI agent MCP server configuration methods |
1594
1602
  | 3.11.29 | 11/13/2025 | conversations - AI capabilities flag for generate coupon |
1595
1603
  | 3.11.28 | 11/07/2025 | OrderApi.assignToAffiliate |
1596
1604
  | 3.11.27 | 11/06/2025 | conversation ai knowledge base changes |
@@ -19,6 +19,8 @@ Method | HTTP request | Description
19
19
  [**get_agent_keep_alive**](ConversationApi.md#get_agent_keep_alive) | **GET** /conversation/agent/keepalive | Agent keep alive
20
20
  [**get_agent_profile**](ConversationApi.md#get_agent_profile) | **GET** /conversation/agent/profile | Get agent profile
21
21
  [**get_agent_profile_knowledge_base**](ConversationApi.md#get_agent_profile_knowledge_base) | **GET** /conversation/agent/profiles/{user_id}/knowledge_base | Get the list of knowledge base documents associated with this agent profile
22
+ [**get_agent_profile_mcp**](ConversationApi.md#get_agent_profile_mcp) | **GET** /conversation/agent/profiles/{user_id}/mcps/{mcp_server_uuid} | Get an MCP server associated with this agent
23
+ [**get_agent_profile_mcps**](ConversationApi.md#get_agent_profile_mcps) | **GET** /conversation/agent/profiles/{user_id}/mcps | Get the list of MCP servers associated with this agent
22
24
  [**get_agent_profiles**](ConversationApi.md#get_agent_profiles) | **GET** /conversation/agent/profiles | Get agent profiles
23
25
  [**get_agent_websocket_authorization**](ConversationApi.md#get_agent_websocket_authorization) | **PUT** /conversation/agent/auth | Get agent websocket authorization
24
26
  [**get_conversation**](ConversationApi.md#get_conversation) | **GET** /conversation/conversations/{conversation_uuid} | Retrieve a conversation
@@ -63,6 +65,7 @@ Method | HTTP request | Description
63
65
  [**get_virtual_agent_budget**](ConversationApi.md#get_virtual_agent_budget) | **GET** /conversation/virtualagent/budget | Get virtual agent budget
64
66
  [**get_virtual_agent_capabilities**](ConversationApi.md#get_virtual_agent_capabilities) | **GET** /conversation/virtualagent/capabilities | Get virtual agent capabilities
65
67
  [**insert_agent_profile_knowledge_base_document**](ConversationApi.md#insert_agent_profile_knowledge_base_document) | **POST** /conversation/agent/profiles/{user_id}/knowledge_base | Insert a knowledge base document
68
+ [**insert_agent_profile_mcp**](ConversationApi.md#insert_agent_profile_mcp) | **POST** /conversation/agent/profiles/{user_id}/mcps | Insert an agent MCP server
66
69
  [**insert_conversation_canned_message**](ConversationApi.md#insert_conversation_canned_message) | **POST** /conversation/canned_messages | Insert a canned message
67
70
  [**insert_conversation_department**](ConversationApi.md#insert_conversation_department) | **POST** /conversation/departments | Insert a department
68
71
  [**insert_conversation_engagement**](ConversationApi.md#insert_conversation_engagement) | **POST** /conversation/engagements | Insert a engagement
@@ -82,6 +85,7 @@ Method | HTTP request | Description
82
85
  [**sms_unsubscribe_conversation**](ConversationApi.md#sms_unsubscribe_conversation) | **PUT** /conversation/conversations/{conversation_uuid}/sms_unsubscribe | Unsubscribe any SMS participants in this conversation
83
86
  [**start_conversation**](ConversationApi.md#start_conversation) | **PUT** /conversation/conversations | Start a conversation
84
87
  [**update_agent_profile**](ConversationApi.md#update_agent_profile) | **PUT** /conversation/agent/profile | Update agent profile
88
+ [**update_agent_profile_mcp**](ConversationApi.md#update_agent_profile_mcp) | **POST** /conversation/agent/profiles/{user_id}/mcps/{mcp_server_uuid} | Update an agent MCP server
85
89
  [**update_conversation_canned_message**](ConversationApi.md#update_conversation_canned_message) | **PUT** /conversation/canned_messages/{conversation_canned_message_oid} | Update a canned message
86
90
  [**update_conversation_department**](ConversationApi.md#update_conversation_department) | **PUT** /conversation/departments/{conversation_department_oid} | Update a department
87
91
  [**update_conversation_engagement**](ConversationApi.md#update_conversation_engagement) | **PUT** /conversation/engagements/{conversation_engagement_oid} | Update a engagement
@@ -838,6 +842,109 @@ Name | Type | Description | Notes
838
842
 
839
843
 
840
844
 
845
+ # **get_agent_profile_mcp**
846
+ > ConversationMcpServerResponse get_agent_profile_mcp(user_id, mcp_server_uuid)
847
+
848
+ Get an MCP server associated with this agent
849
+
850
+ Retrieve MCP server associated with this agent
851
+
852
+ ### Example
853
+ ```ruby
854
+ # load the gem
855
+ require 'ultracart_api'
856
+
857
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
858
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
859
+ api_instance = UltracartClient::ConversationApi.new_using_api_key(simple_key, false, false)
860
+
861
+
862
+ user_id = 56 # Integer |
863
+
864
+ mcp_server_uuid = 'mcp_server_uuid_example' # String |
865
+
866
+
867
+ begin
868
+ #Get an MCP server associated with this agent
869
+ result = api_instance.get_agent_profile_mcp(user_id, mcp_server_uuid)
870
+ p result
871
+ rescue UltracartClient::ApiError => e
872
+ puts "Exception when calling ConversationApi->get_agent_profile_mcp: #{e}"
873
+ end
874
+ ```
875
+
876
+ ### Parameters
877
+
878
+ Name | Type | Description | Notes
879
+ ------------- | ------------- | ------------- | -------------
880
+ **user_id** | **Integer**| |
881
+ **mcp_server_uuid** | **String**| |
882
+
883
+ ### Return type
884
+
885
+ [**ConversationMcpServerResponse**](ConversationMcpServerResponse.md)
886
+
887
+ ### Authorization
888
+
889
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
890
+
891
+ ### HTTP request headers
892
+
893
+ - **Content-Type**: application/json
894
+ - **Accept**: application/json
895
+
896
+
897
+
898
+ # **get_agent_profile_mcps**
899
+ > ConversationMcpServersResponse get_agent_profile_mcps(user_id)
900
+
901
+ Get the list of MCP servers associated with this agent
902
+
903
+ Retrieve MCP servers associated with this agent
904
+
905
+ ### Example
906
+ ```ruby
907
+ # load the gem
908
+ require 'ultracart_api'
909
+
910
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
911
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
912
+ api_instance = UltracartClient::ConversationApi.new_using_api_key(simple_key, false, false)
913
+
914
+
915
+ user_id = 56 # Integer |
916
+
917
+
918
+ begin
919
+ #Get the list of MCP servers associated with this agent
920
+ result = api_instance.get_agent_profile_mcps(user_id)
921
+ p result
922
+ rescue UltracartClient::ApiError => e
923
+ puts "Exception when calling ConversationApi->get_agent_profile_mcps: #{e}"
924
+ end
925
+ ```
926
+
927
+ ### Parameters
928
+
929
+ Name | Type | Description | Notes
930
+ ------------- | ------------- | ------------- | -------------
931
+ **user_id** | **Integer**| |
932
+
933
+ ### Return type
934
+
935
+ [**ConversationMcpServersResponse**](ConversationMcpServersResponse.md)
936
+
937
+ ### Authorization
938
+
939
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
940
+
941
+ ### HTTP request headers
942
+
943
+ - **Content-Type**: application/json
944
+ - **Accept**: application/json
945
+
946
+
947
+
841
948
  # **get_agent_profiles**
842
949
  > ConversationAgentProfilesResponse get_agent_profiles
843
950
 
@@ -2965,6 +3072,59 @@ Name | Type | Description | Notes
2965
3072
 
2966
3073
 
2967
3074
 
3075
+ # **insert_agent_profile_mcp**
3076
+ > ConversationMcpServerResponse insert_agent_profile_mcp(user_id, mcp_server)
3077
+
3078
+ Insert an agent MCP server
3079
+
3080
+ Insert an agent MCP server
3081
+
3082
+ ### Example
3083
+ ```ruby
3084
+ # load the gem
3085
+ require 'ultracart_api'
3086
+
3087
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
3088
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
3089
+ api_instance = UltracartClient::ConversationApi.new_using_api_key(simple_key, false, false)
3090
+
3091
+
3092
+ user_id = 56 # Integer |
3093
+
3094
+ mcp_server = UltracartClient::ConversationMcpServer.new # ConversationMcpServer | MCP Server
3095
+
3096
+
3097
+ begin
3098
+ #Insert an agent MCP server
3099
+ result = api_instance.insert_agent_profile_mcp(user_id, mcp_server)
3100
+ p result
3101
+ rescue UltracartClient::ApiError => e
3102
+ puts "Exception when calling ConversationApi->insert_agent_profile_mcp: #{e}"
3103
+ end
3104
+ ```
3105
+
3106
+ ### Parameters
3107
+
3108
+ Name | Type | Description | Notes
3109
+ ------------- | ------------- | ------------- | -------------
3110
+ **user_id** | **Integer**| |
3111
+ **mcp_server** | [**ConversationMcpServer**](ConversationMcpServer.md)| MCP Server |
3112
+
3113
+ ### Return type
3114
+
3115
+ [**ConversationMcpServerResponse**](ConversationMcpServerResponse.md)
3116
+
3117
+ ### Authorization
3118
+
3119
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
3120
+
3121
+ ### HTTP request headers
3122
+
3123
+ - **Content-Type**: application/json
3124
+ - **Accept**: application/json
3125
+
3126
+
3127
+
2968
3128
  # **insert_conversation_canned_message**
2969
3129
  > ConversationCannedMessageResponse insert_conversation_canned_message(canned_message)
2970
3130
 
@@ -3915,6 +4075,62 @@ Name | Type | Description | Notes
3915
4075
 
3916
4076
 
3917
4077
 
4078
+ # **update_agent_profile_mcp**
4079
+ > ConversationMcpServerResponse update_agent_profile_mcp(user_id, mcp_server_uuid, mcp_server)
4080
+
4081
+ Update an agent MCP server
4082
+
4083
+ Update an agent MCP server
4084
+
4085
+ ### Example
4086
+ ```ruby
4087
+ # load the gem
4088
+ require 'ultracart_api'
4089
+
4090
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
4091
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
4092
+ api_instance = UltracartClient::ConversationApi.new_using_api_key(simple_key, false, false)
4093
+
4094
+
4095
+ user_id = 56 # Integer |
4096
+
4097
+ mcp_server_uuid = 'mcp_server_uuid_example' # String |
4098
+
4099
+ mcp_server = UltracartClient::ConversationMcpServer.new # ConversationMcpServer | MCP Server
4100
+
4101
+
4102
+ begin
4103
+ #Update an agent MCP server
4104
+ result = api_instance.update_agent_profile_mcp(user_id, mcp_server_uuid, mcp_server)
4105
+ p result
4106
+ rescue UltracartClient::ApiError => e
4107
+ puts "Exception when calling ConversationApi->update_agent_profile_mcp: #{e}"
4108
+ end
4109
+ ```
4110
+
4111
+ ### Parameters
4112
+
4113
+ Name | Type | Description | Notes
4114
+ ------------- | ------------- | ------------- | -------------
4115
+ **user_id** | **Integer**| |
4116
+ **mcp_server_uuid** | **String**| |
4117
+ **mcp_server** | [**ConversationMcpServer**](ConversationMcpServer.md)| MCP Server |
4118
+
4119
+ ### Return type
4120
+
4121
+ [**ConversationMcpServerResponse**](ConversationMcpServerResponse.md)
4122
+
4123
+ ### Authorization
4124
+
4125
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
4126
+
4127
+ ### HTTP request headers
4128
+
4129
+ - **Content-Type**: application/json
4130
+ - **Accept**: application/json
4131
+
4132
+
4133
+
3918
4134
  # **update_conversation_canned_message**
3919
4135
  > ConversationCannedMessageResponse update_conversation_canned_message(conversation_canned_message_oid, canned_message)
3920
4136
 
@@ -0,0 +1,15 @@
1
+ # UltracartClient::ConversationMcpServer
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **auth_method** | **String** | Authorization Method | [optional]
7
+ **basic_password** | **String** | Basic password | [optional]
8
+ **basic_user_name** | **String** | Basic user name | [optional]
9
+ **header_name** | **String** | Header name | [optional]
10
+ **header_value** | **String** | Header value | [optional]
11
+ **mcp_server_uuid** | **String** | UUID of the MCP server configuration | [optional]
12
+ **priority** | **Integer** | Priority on which the MCP server tools are incorporated into the model. Lower number comes first | [optional]
13
+ **url** | **String** | URL to the MCP server (must be https) | [optional]
14
+
15
+
@@ -0,0 +1,12 @@
1
+ # UltracartClient::ConversationMcpServerResponse
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **error** | [**Error**](Error.md) | | [optional]
7
+ **mcp_server** | [**ConversationMcpServer**](ConversationMcpServer.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,12 @@
1
+ # UltracartClient::ConversationMcpServersResponse
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **error** | [**Error**](Error.md) | | [optional]
7
+ **mcp_servers** | [**Array<ConversationMcpServer>**](ConversationMcpServer.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
+
data/docs/ItemShipping.md CHANGED
@@ -27,6 +27,7 @@ Name | Type | Description | Notes
27
27
  **freight_class** | **String** | Freight class | [optional]
28
28
  **hazmat** | **BOOLEAN** | Hazardous material | [optional]
29
29
  **hold_for_transmission** | **BOOLEAN** | Hold for transmission | [optional]
30
+ **include_on_packing_slip** | **BOOLEAN** | Force this item onto the packing slip even if there is no weight. | [optional]
30
31
  **made_to_order** | **BOOLEAN** | True if this item is made to order | [optional]
31
32
  **made_to_order_lead_time** | **Integer** | Number of days lead time it takes to make the item before ite can ship | [optional]
32
33
  **max_days_time_in_transit** | **Integer** | Maximum days allowed in transit | [optional]
@@ -851,6 +851,122 @@ module UltracartClient
851
851
  end
852
852
  return data, status_code, headers
853
853
  end
854
+ # Get an MCP server associated with this agent
855
+ # Retrieve MCP server associated with this agent
856
+ # @param user_id
857
+ # @param mcp_server_uuid
858
+ # @param [Hash] opts the optional parameters
859
+ # @return [ConversationMcpServerResponse]
860
+ def get_agent_profile_mcp(user_id, mcp_server_uuid, opts = {})
861
+ data, _status_code, _headers = get_agent_profile_mcp_with_http_info(user_id, mcp_server_uuid, opts)
862
+ data
863
+ end
864
+
865
+ # Get an MCP server associated with this agent
866
+ # Retrieve MCP server associated with this agent
867
+ # @param user_id
868
+ # @param mcp_server_uuid
869
+ # @param [Hash] opts the optional parameters
870
+ # @return [Array<(ConversationMcpServerResponse, Fixnum, Hash)>] ConversationMcpServerResponse data, response status code and response headers
871
+ def get_agent_profile_mcp_with_http_info(user_id, mcp_server_uuid, opts = {})
872
+ if @api_client.config.debugging
873
+ @api_client.config.logger.debug 'Calling API: ConversationApi.get_agent_profile_mcp ...'
874
+ end
875
+ # verify the required parameter 'user_id' is set
876
+ if @api_client.config.client_side_validation && user_id.nil?
877
+ fail ArgumentError, "Missing the required parameter 'user_id' when calling ConversationApi.get_agent_profile_mcp"
878
+ end
879
+ # verify the required parameter 'mcp_server_uuid' is set
880
+ if @api_client.config.client_side_validation && mcp_server_uuid.nil?
881
+ fail ArgumentError, "Missing the required parameter 'mcp_server_uuid' when calling ConversationApi.get_agent_profile_mcp"
882
+ end
883
+ # resource path
884
+ local_var_path = '/conversation/agent/profiles/{user_id}/mcps/{mcp_server_uuid}'.sub('{' + 'user_id' + '}', user_id.to_s).sub('{' + 'mcp_server_uuid' + '}', mcp_server_uuid.to_s)
885
+
886
+ # query parameters
887
+ query_params = {}
888
+
889
+ # header parameters
890
+ header_params = {}
891
+ header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
892
+ # HTTP header 'Accept' (if needed)
893
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
894
+ # HTTP header 'Content-Type'
895
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
896
+
897
+ # form parameters
898
+ form_params = {}
899
+
900
+ # http body (model)
901
+ post_body = nil
902
+ auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
903
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
904
+ :header_params => header_params,
905
+ :query_params => query_params,
906
+ :form_params => form_params,
907
+ :body => post_body,
908
+ :auth_names => auth_names,
909
+ :return_type => 'ConversationMcpServerResponse')
910
+ if @api_client.config.debugging
911
+ @api_client.config.logger.debug "API called: ConversationApi#get_agent_profile_mcp\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
912
+ end
913
+ return data, status_code, headers
914
+ end
915
+ # Get the list of MCP servers associated with this agent
916
+ # Retrieve MCP servers associated with this agent
917
+ # @param user_id
918
+ # @param [Hash] opts the optional parameters
919
+ # @return [ConversationMcpServersResponse]
920
+ def get_agent_profile_mcps(user_id, opts = {})
921
+ data, _status_code, _headers = get_agent_profile_mcps_with_http_info(user_id, opts)
922
+ data
923
+ end
924
+
925
+ # Get the list of MCP servers associated with this agent
926
+ # Retrieve MCP servers associated with this agent
927
+ # @param user_id
928
+ # @param [Hash] opts the optional parameters
929
+ # @return [Array<(ConversationMcpServersResponse, Fixnum, Hash)>] ConversationMcpServersResponse data, response status code and response headers
930
+ def get_agent_profile_mcps_with_http_info(user_id, opts = {})
931
+ if @api_client.config.debugging
932
+ @api_client.config.logger.debug 'Calling API: ConversationApi.get_agent_profile_mcps ...'
933
+ end
934
+ # verify the required parameter 'user_id' is set
935
+ if @api_client.config.client_side_validation && user_id.nil?
936
+ fail ArgumentError, "Missing the required parameter 'user_id' when calling ConversationApi.get_agent_profile_mcps"
937
+ end
938
+ # resource path
939
+ local_var_path = '/conversation/agent/profiles/{user_id}/mcps'.sub('{' + 'user_id' + '}', user_id.to_s)
940
+
941
+ # query parameters
942
+ query_params = {}
943
+
944
+ # header parameters
945
+ header_params = {}
946
+ header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
947
+ # HTTP header 'Accept' (if needed)
948
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
949
+ # HTTP header 'Content-Type'
950
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
951
+
952
+ # form parameters
953
+ form_params = {}
954
+
955
+ # http body (model)
956
+ post_body = nil
957
+ auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
958
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
959
+ :header_params => header_params,
960
+ :query_params => query_params,
961
+ :form_params => form_params,
962
+ :body => post_body,
963
+ :auth_names => auth_names,
964
+ :return_type => 'ConversationMcpServersResponse')
965
+ if @api_client.config.debugging
966
+ @api_client.config.logger.debug "API called: ConversationApi#get_agent_profile_mcps\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
967
+ end
968
+ return data, status_code, headers
969
+ end
854
970
  # Get agent profiles
855
971
  # Retrieve the agents profile
856
972
  # @param [Hash] opts the optional parameters
@@ -3187,6 +3303,67 @@ module UltracartClient
3187
3303
  end
3188
3304
  return data, status_code, headers
3189
3305
  end
3306
+ # Insert an agent MCP server
3307
+ # Insert an agent MCP server
3308
+ # @param user_id
3309
+ # @param mcp_server MCP Server
3310
+ # @param [Hash] opts the optional parameters
3311
+ # @return [ConversationMcpServerResponse]
3312
+ def insert_agent_profile_mcp(user_id, mcp_server, opts = {})
3313
+ data, _status_code, _headers = insert_agent_profile_mcp_with_http_info(user_id, mcp_server, opts)
3314
+ data
3315
+ end
3316
+
3317
+ # Insert an agent MCP server
3318
+ # Insert an agent MCP server
3319
+ # @param user_id
3320
+ # @param mcp_server MCP Server
3321
+ # @param [Hash] opts the optional parameters
3322
+ # @return [Array<(ConversationMcpServerResponse, Fixnum, Hash)>] ConversationMcpServerResponse data, response status code and response headers
3323
+ def insert_agent_profile_mcp_with_http_info(user_id, mcp_server, opts = {})
3324
+ if @api_client.config.debugging
3325
+ @api_client.config.logger.debug 'Calling API: ConversationApi.insert_agent_profile_mcp ...'
3326
+ end
3327
+ # verify the required parameter 'user_id' is set
3328
+ if @api_client.config.client_side_validation && user_id.nil?
3329
+ fail ArgumentError, "Missing the required parameter 'user_id' when calling ConversationApi.insert_agent_profile_mcp"
3330
+ end
3331
+ # verify the required parameter 'mcp_server' is set
3332
+ if @api_client.config.client_side_validation && mcp_server.nil?
3333
+ fail ArgumentError, "Missing the required parameter 'mcp_server' when calling ConversationApi.insert_agent_profile_mcp"
3334
+ end
3335
+ # resource path
3336
+ local_var_path = '/conversation/agent/profiles/{user_id}/mcps'.sub('{' + 'user_id' + '}', user_id.to_s)
3337
+
3338
+ # query parameters
3339
+ query_params = {}
3340
+
3341
+ # header parameters
3342
+ header_params = {}
3343
+ header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
3344
+ # HTTP header 'Accept' (if needed)
3345
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3346
+ # HTTP header 'Content-Type'
3347
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
3348
+
3349
+ # form parameters
3350
+ form_params = {}
3351
+
3352
+ # http body (model)
3353
+ post_body = @api_client.object_to_http_body(mcp_server)
3354
+ auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
3355
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
3356
+ :header_params => header_params,
3357
+ :query_params => query_params,
3358
+ :form_params => form_params,
3359
+ :body => post_body,
3360
+ :auth_names => auth_names,
3361
+ :return_type => 'ConversationMcpServerResponse')
3362
+ if @api_client.config.debugging
3363
+ @api_client.config.logger.debug "API called: ConversationApi#insert_agent_profile_mcp\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3364
+ end
3365
+ return data, status_code, headers
3366
+ end
3190
3367
  # Insert a canned message
3191
3368
  # Insert a canned message
3192
3369
  # @param canned_message Canned message
@@ -4233,6 +4410,73 @@ module UltracartClient
4233
4410
  end
4234
4411
  return data, status_code, headers
4235
4412
  end
4413
+ # Update an agent MCP server
4414
+ # Update an agent MCP server
4415
+ # @param user_id
4416
+ # @param mcp_server_uuid
4417
+ # @param mcp_server MCP Server
4418
+ # @param [Hash] opts the optional parameters
4419
+ # @return [ConversationMcpServerResponse]
4420
+ def update_agent_profile_mcp(user_id, mcp_server_uuid, mcp_server, opts = {})
4421
+ data, _status_code, _headers = update_agent_profile_mcp_with_http_info(user_id, mcp_server_uuid, mcp_server, opts)
4422
+ data
4423
+ end
4424
+
4425
+ # Update an agent MCP server
4426
+ # Update an agent MCP server
4427
+ # @param user_id
4428
+ # @param mcp_server_uuid
4429
+ # @param mcp_server MCP Server
4430
+ # @param [Hash] opts the optional parameters
4431
+ # @return [Array<(ConversationMcpServerResponse, Fixnum, Hash)>] ConversationMcpServerResponse data, response status code and response headers
4432
+ def update_agent_profile_mcp_with_http_info(user_id, mcp_server_uuid, mcp_server, opts = {})
4433
+ if @api_client.config.debugging
4434
+ @api_client.config.logger.debug 'Calling API: ConversationApi.update_agent_profile_mcp ...'
4435
+ end
4436
+ # verify the required parameter 'user_id' is set
4437
+ if @api_client.config.client_side_validation && user_id.nil?
4438
+ fail ArgumentError, "Missing the required parameter 'user_id' when calling ConversationApi.update_agent_profile_mcp"
4439
+ end
4440
+ # verify the required parameter 'mcp_server_uuid' is set
4441
+ if @api_client.config.client_side_validation && mcp_server_uuid.nil?
4442
+ fail ArgumentError, "Missing the required parameter 'mcp_server_uuid' when calling ConversationApi.update_agent_profile_mcp"
4443
+ end
4444
+ # verify the required parameter 'mcp_server' is set
4445
+ if @api_client.config.client_side_validation && mcp_server.nil?
4446
+ fail ArgumentError, "Missing the required parameter 'mcp_server' when calling ConversationApi.update_agent_profile_mcp"
4447
+ end
4448
+ # resource path
4449
+ local_var_path = '/conversation/agent/profiles/{user_id}/mcps/{mcp_server_uuid}'.sub('{' + 'user_id' + '}', user_id.to_s).sub('{' + 'mcp_server_uuid' + '}', mcp_server_uuid.to_s)
4450
+
4451
+ # query parameters
4452
+ query_params = {}
4453
+
4454
+ # header parameters
4455
+ header_params = {}
4456
+ header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
4457
+ # HTTP header 'Accept' (if needed)
4458
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4459
+ # HTTP header 'Content-Type'
4460
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
4461
+
4462
+ # form parameters
4463
+ form_params = {}
4464
+
4465
+ # http body (model)
4466
+ post_body = @api_client.object_to_http_body(mcp_server)
4467
+ auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
4468
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
4469
+ :header_params => header_params,
4470
+ :query_params => query_params,
4471
+ :form_params => form_params,
4472
+ :body => post_body,
4473
+ :auth_names => auth_names,
4474
+ :return_type => 'ConversationMcpServerResponse')
4475
+ if @api_client.config.debugging
4476
+ @api_client.config.logger.debug "API called: ConversationApi#update_agent_profile_mcp\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4477
+ end
4478
+ return data, status_code, headers
4479
+ end
4236
4480
  # Update a canned message
4237
4481
  # Update a canned message
4238
4482
  # @param conversation_canned_message_oid