ultracart_api 3.11.31 → 3.11.33
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d508630490dcc323c85795f81f82eb287507dc1fd2f0364b23265aae228d9f34
|
|
4
|
+
data.tar.gz: 278463342c54274fdc77271d5cea1f56dfa628b55102bdbfcec328da07ea0547
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0ab7d5fd8f7846ff9c6f6c097dfd849690fa15af0d4a2836a8a3704ce4f43f1d3d2dd1c0e6a25e3fc99b5ba54715da8885ab71b96aa976c2a3a0131871ac841e
|
|
7
|
+
data.tar.gz: 36089124805452a530233b7253e4e7ed0fe4354959fa12f15b3f1c4265594f14fc9e0f9b64a055edc1a51941181ec0b6818175ddeac1c377126d311d334e7989
|
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.
|
|
10
|
+
- Package version: 3.11.33
|
|
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.
|
|
27
|
+
gem install ./ultracart_api-3.11.33.gem
|
|
28
28
|
```
|
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.11.
|
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.11.33.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.
|
|
35
|
+
gem 'ultracart_api', '~> 3.11.33'
|
|
36
36
|
|
|
37
37
|
### Install from Git
|
|
38
38
|
|
|
@@ -134,7 +134,7 @@ Class | Method | HTTP request | Description
|
|
|
134
134
|
*UltracartClient::CheckoutApi* | [**update_cart**](docs/CheckoutApi.md#update_cart) | **PUT** /checkout/cart | Update cart
|
|
135
135
|
*UltracartClient::CheckoutApi* | [**validate_cart**](docs/CheckoutApi.md#validate_cart) | **POST** /checkout/cart/validate | Validate
|
|
136
136
|
*UltracartClient::ConversationApi* | [**delete_agent_profile_knowledge_base_document**](docs/ConversationApi.md#delete_agent_profile_knowledge_base_document) | **DELETE** /conversation/agent/profiles/{user_id}/knowledge_base/{document_uuid} | Delete a knowledge base document
|
|
137
|
-
*UltracartClient::ConversationApi* | [**delete_agent_profile_mcp**](docs/ConversationApi.md#delete_agent_profile_mcp) | **
|
|
137
|
+
*UltracartClient::ConversationApi* | [**delete_agent_profile_mcp**](docs/ConversationApi.md#delete_agent_profile_mcp) | **DELETE** /conversation/agent/profiles/{user_id}/mcps/{mcp_server_uuid} | Delete an agent MCP server
|
|
138
138
|
*UltracartClient::ConversationApi* | [**delete_conversation_canned_message**](docs/ConversationApi.md#delete_conversation_canned_message) | **DELETE** /conversation/canned_messages/{conversation_canned_message_oid} | Delete a conversation canned message
|
|
139
139
|
*UltracartClient::ConversationApi* | [**delete_department**](docs/ConversationApi.md#delete_department) | **DELETE** /conversation/departments/{conversation_department_oid} | Delete a conversation department
|
|
140
140
|
*UltracartClient::ConversationApi* | [**delete_engagement**](docs/ConversationApi.md#delete_engagement) | **DELETE** /conversation/engagements/{conversation_engagement_oid} | Delete a conversation engagement
|
|
@@ -216,6 +216,7 @@ Class | Method | HTTP request | Description
|
|
|
216
216
|
*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
|
|
217
217
|
*UltracartClient::ConversationApi* | [**start_conversation**](docs/ConversationApi.md#start_conversation) | **PUT** /conversation/conversations | Start a conversation
|
|
218
218
|
*UltracartClient::ConversationApi* | [**update_agent_profile**](docs/ConversationApi.md#update_agent_profile) | **PUT** /conversation/agent/profile | Update agent profile
|
|
219
|
+
*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
|
|
219
220
|
*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
|
|
220
221
|
*UltracartClient::ConversationApi* | [**update_conversation_department**](docs/ConversationApi.md#update_conversation_department) | **PUT** /conversation/departments/{conversation_department_oid} | Update a department
|
|
221
222
|
*UltracartClient::ConversationApi* | [**update_conversation_engagement**](docs/ConversationApi.md#update_conversation_engagement) | **PUT** /conversation/engagements/{conversation_engagement_oid} | Update a engagement
|
|
@@ -1600,6 +1601,8 @@ Not every change is committed to every SDK.
|
|
|
1600
1601
|
|
|
1601
1602
|
| Version | Date | Comments |
|
|
1602
1603
|
| --: | :-: | --- |
|
|
1604
|
+
| 3.11.33 | 11/26/2025 | conversation - AI agent profile fields |
|
|
1605
|
+
| 3.11.32 | 11/20/2025 | conversion api bug fix on incorrect signature |
|
|
1603
1606
|
| 3.11.31 | 11/20/2025 | conversation - AI agent mcp server tools function |
|
|
1604
1607
|
| 3.11.30 | 11/19/2025 | conversation - AI agent MCP server configuration methods |
|
|
1605
1608
|
| 3.11.29 | 11/13/2025 | conversations - AI capabilities flag for generate coupon |
|
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**ai_chat_instructions** | **String** | Additional instructions for this AI when handle web chats | [optional]
|
|
8
8
|
**ai_persona** | **String** | Persona of this AI agent | [optional]
|
|
9
9
|
**ai_sms_instructions** | **String** | Additional instructions for this AI when handle SMS messages | [optional]
|
|
10
|
+
**ai_ticket_instructions** | **String** | Additional instructions for this AI when handling ticket draft replies | [optional]
|
|
10
11
|
**chat_limit** | **Integer** | The number of engagement chats that can be pushed on them at any given time. | [optional]
|
|
11
12
|
**default_language_iso_code** | **String** | The default language the agent is chatting in | [optional]
|
|
12
13
|
**default_status** | **String** | Default status when the agent loads conversations app. | [optional]
|
|
@@ -15,5 +16,7 @@ Name | Type | Description | Notes
|
|
|
15
16
|
**profile_image_upload_key** | **String** | An upload key used to update the profile image. | [optional]
|
|
16
17
|
**profile_image_url** | **String** | Their current profile image URL | [optional]
|
|
17
18
|
**user_id** | **Integer** | User ID associated with the agent. Populated by getAgentProfiles call only. | [optional]
|
|
19
|
+
**zohodesk_classifications** | **Array<String>** | Restrict this agent to drafting replies only to tickets with these classifications | [optional]
|
|
20
|
+
**zohodesk_departments** | **Array<String>** | Restrict this agent to drafting replies only to these department ids | [optional]
|
|
18
21
|
|
|
19
22
|
|
data/docs/ConversationApi.md
CHANGED
|
@@ -5,7 +5,7 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
7
|
[**delete_agent_profile_knowledge_base_document**](ConversationApi.md#delete_agent_profile_knowledge_base_document) | **DELETE** /conversation/agent/profiles/{user_id}/knowledge_base/{document_uuid} | Delete a knowledge base document
|
|
8
|
-
[**delete_agent_profile_mcp**](ConversationApi.md#delete_agent_profile_mcp) | **
|
|
8
|
+
[**delete_agent_profile_mcp**](ConversationApi.md#delete_agent_profile_mcp) | **DELETE** /conversation/agent/profiles/{user_id}/mcps/{mcp_server_uuid} | Delete an agent MCP server
|
|
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
|
|
@@ -87,6 +87,7 @@ Method | HTTP request | Description
|
|
|
87
87
|
[**sms_unsubscribe_conversation**](ConversationApi.md#sms_unsubscribe_conversation) | **PUT** /conversation/conversations/{conversation_uuid}/sms_unsubscribe | Unsubscribe any SMS participants in this conversation
|
|
88
88
|
[**start_conversation**](ConversationApi.md#start_conversation) | **PUT** /conversation/conversations | Start a conversation
|
|
89
89
|
[**update_agent_profile**](ConversationApi.md#update_agent_profile) | **PUT** /conversation/agent/profile | Update agent profile
|
|
90
|
+
[**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
|
|
90
91
|
[**update_conversation_canned_message**](ConversationApi.md#update_conversation_canned_message) | **PUT** /conversation/canned_messages/{conversation_canned_message_oid} | Update a canned message
|
|
91
92
|
[**update_conversation_department**](ConversationApi.md#update_conversation_department) | **PUT** /conversation/departments/{conversation_department_oid} | Update a department
|
|
92
93
|
[**update_conversation_engagement**](ConversationApi.md#update_conversation_engagement) | **PUT** /conversation/engagements/{conversation_engagement_oid} | Update a engagement
|
|
@@ -4181,6 +4182,62 @@ Name | Type | Description | Notes
|
|
|
4181
4182
|
|
|
4182
4183
|
|
|
4183
4184
|
|
|
4185
|
+
# **update_agent_profile_mcp**
|
|
4186
|
+
> ConversationMcpServerResponse update_agent_profile_mcp(user_id, mcp_server_uuid, mcp_server)
|
|
4187
|
+
|
|
4188
|
+
Update an agent MCP server
|
|
4189
|
+
|
|
4190
|
+
Update an agent MCP server
|
|
4191
|
+
|
|
4192
|
+
### Example
|
|
4193
|
+
```ruby
|
|
4194
|
+
# load the gem
|
|
4195
|
+
require 'ultracart_api'
|
|
4196
|
+
|
|
4197
|
+
# Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
|
|
4198
|
+
simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
|
|
4199
|
+
api_instance = UltracartClient::ConversationApi.new_using_api_key(simple_key, false, false)
|
|
4200
|
+
|
|
4201
|
+
|
|
4202
|
+
user_id = 56 # Integer |
|
|
4203
|
+
|
|
4204
|
+
mcp_server_uuid = 'mcp_server_uuid_example' # String |
|
|
4205
|
+
|
|
4206
|
+
mcp_server = UltracartClient::ConversationMcpServer.new # ConversationMcpServer | MCP Server
|
|
4207
|
+
|
|
4208
|
+
|
|
4209
|
+
begin
|
|
4210
|
+
#Update an agent MCP server
|
|
4211
|
+
result = api_instance.update_agent_profile_mcp(user_id, mcp_server_uuid, mcp_server)
|
|
4212
|
+
p result
|
|
4213
|
+
rescue UltracartClient::ApiError => e
|
|
4214
|
+
puts "Exception when calling ConversationApi->update_agent_profile_mcp: #{e}"
|
|
4215
|
+
end
|
|
4216
|
+
```
|
|
4217
|
+
|
|
4218
|
+
### Parameters
|
|
4219
|
+
|
|
4220
|
+
Name | Type | Description | Notes
|
|
4221
|
+
------------- | ------------- | ------------- | -------------
|
|
4222
|
+
**user_id** | **Integer**| |
|
|
4223
|
+
**mcp_server_uuid** | **String**| |
|
|
4224
|
+
**mcp_server** | [**ConversationMcpServer**](ConversationMcpServer.md)| MCP Server |
|
|
4225
|
+
|
|
4226
|
+
### Return type
|
|
4227
|
+
|
|
4228
|
+
[**ConversationMcpServerResponse**](ConversationMcpServerResponse.md)
|
|
4229
|
+
|
|
4230
|
+
### Authorization
|
|
4231
|
+
|
|
4232
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
|
4233
|
+
|
|
4234
|
+
### HTTP request headers
|
|
4235
|
+
|
|
4236
|
+
- **Content-Type**: application/json
|
|
4237
|
+
- **Accept**: application/json
|
|
4238
|
+
|
|
4239
|
+
|
|
4240
|
+
|
|
4184
4241
|
# **update_conversation_canned_message**
|
|
4185
4242
|
> ConversationCannedMessageResponse update_conversation_canned_message(conversation_canned_message_oid, canned_message)
|
|
4186
4243
|
|
|
@@ -142,7 +142,7 @@ module UltracartClient
|
|
|
142
142
|
# http body (model)
|
|
143
143
|
post_body = nil
|
|
144
144
|
auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
|
145
|
-
data, status_code, headers = @api_client.call_api(:
|
|
145
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
146
146
|
:header_params => header_params,
|
|
147
147
|
:query_params => query_params,
|
|
148
148
|
:form_params => form_params,
|
|
@@ -4531,6 +4531,73 @@ module UltracartClient
|
|
|
4531
4531
|
end
|
|
4532
4532
|
return data, status_code, headers
|
|
4533
4533
|
end
|
|
4534
|
+
# Update an agent MCP server
|
|
4535
|
+
# Update an agent MCP server
|
|
4536
|
+
# @param user_id
|
|
4537
|
+
# @param mcp_server_uuid
|
|
4538
|
+
# @param mcp_server MCP Server
|
|
4539
|
+
# @param [Hash] opts the optional parameters
|
|
4540
|
+
# @return [ConversationMcpServerResponse]
|
|
4541
|
+
def update_agent_profile_mcp(user_id, mcp_server_uuid, mcp_server, opts = {})
|
|
4542
|
+
data, _status_code, _headers = update_agent_profile_mcp_with_http_info(user_id, mcp_server_uuid, mcp_server, opts)
|
|
4543
|
+
data
|
|
4544
|
+
end
|
|
4545
|
+
|
|
4546
|
+
# Update an agent MCP server
|
|
4547
|
+
# Update an agent MCP server
|
|
4548
|
+
# @param user_id
|
|
4549
|
+
# @param mcp_server_uuid
|
|
4550
|
+
# @param mcp_server MCP Server
|
|
4551
|
+
# @param [Hash] opts the optional parameters
|
|
4552
|
+
# @return [Array<(ConversationMcpServerResponse, Fixnum, Hash)>] ConversationMcpServerResponse data, response status code and response headers
|
|
4553
|
+
def update_agent_profile_mcp_with_http_info(user_id, mcp_server_uuid, mcp_server, opts = {})
|
|
4554
|
+
if @api_client.config.debugging
|
|
4555
|
+
@api_client.config.logger.debug 'Calling API: ConversationApi.update_agent_profile_mcp ...'
|
|
4556
|
+
end
|
|
4557
|
+
# verify the required parameter 'user_id' is set
|
|
4558
|
+
if @api_client.config.client_side_validation && user_id.nil?
|
|
4559
|
+
fail ArgumentError, "Missing the required parameter 'user_id' when calling ConversationApi.update_agent_profile_mcp"
|
|
4560
|
+
end
|
|
4561
|
+
# verify the required parameter 'mcp_server_uuid' is set
|
|
4562
|
+
if @api_client.config.client_side_validation && mcp_server_uuid.nil?
|
|
4563
|
+
fail ArgumentError, "Missing the required parameter 'mcp_server_uuid' when calling ConversationApi.update_agent_profile_mcp"
|
|
4564
|
+
end
|
|
4565
|
+
# verify the required parameter 'mcp_server' is set
|
|
4566
|
+
if @api_client.config.client_side_validation && mcp_server.nil?
|
|
4567
|
+
fail ArgumentError, "Missing the required parameter 'mcp_server' when calling ConversationApi.update_agent_profile_mcp"
|
|
4568
|
+
end
|
|
4569
|
+
# resource path
|
|
4570
|
+
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)
|
|
4571
|
+
|
|
4572
|
+
# query parameters
|
|
4573
|
+
query_params = {}
|
|
4574
|
+
|
|
4575
|
+
# header parameters
|
|
4576
|
+
header_params = {}
|
|
4577
|
+
header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
|
|
4578
|
+
# HTTP header 'Accept' (if needed)
|
|
4579
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
4580
|
+
# HTTP header 'Content-Type'
|
|
4581
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
|
4582
|
+
|
|
4583
|
+
# form parameters
|
|
4584
|
+
form_params = {}
|
|
4585
|
+
|
|
4586
|
+
# http body (model)
|
|
4587
|
+
post_body = @api_client.object_to_http_body(mcp_server)
|
|
4588
|
+
auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
|
4589
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
4590
|
+
:header_params => header_params,
|
|
4591
|
+
:query_params => query_params,
|
|
4592
|
+
:form_params => form_params,
|
|
4593
|
+
:body => post_body,
|
|
4594
|
+
:auth_names => auth_names,
|
|
4595
|
+
:return_type => 'ConversationMcpServerResponse')
|
|
4596
|
+
if @api_client.config.debugging
|
|
4597
|
+
@api_client.config.logger.debug "API called: ConversationApi#update_agent_profile_mcp\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4598
|
+
end
|
|
4599
|
+
return data, status_code, headers
|
|
4600
|
+
end
|
|
4534
4601
|
# Update a canned message
|
|
4535
4602
|
# Update a canned message
|
|
4536
4603
|
# @param conversation_canned_message_oid
|
|
@@ -26,6 +26,9 @@ module UltracartClient
|
|
|
26
26
|
# Additional instructions for this AI when handle SMS messages
|
|
27
27
|
attr_accessor :ai_sms_instructions
|
|
28
28
|
|
|
29
|
+
# Additional instructions for this AI when handling ticket draft replies
|
|
30
|
+
attr_accessor :ai_ticket_instructions
|
|
31
|
+
|
|
29
32
|
# The number of engagement chats that can be pushed on them at any given time.
|
|
30
33
|
attr_accessor :chat_limit
|
|
31
34
|
|
|
@@ -50,6 +53,12 @@ module UltracartClient
|
|
|
50
53
|
# User ID associated with the agent. Populated by getAgentProfiles call only.
|
|
51
54
|
attr_accessor :user_id
|
|
52
55
|
|
|
56
|
+
# Restrict this agent to drafting replies only to tickets with these classifications
|
|
57
|
+
attr_accessor :zohodesk_classifications
|
|
58
|
+
|
|
59
|
+
# Restrict this agent to drafting replies only to these department ids
|
|
60
|
+
attr_accessor :zohodesk_departments
|
|
61
|
+
|
|
53
62
|
class EnumAttributeValidator
|
|
54
63
|
attr_reader :datatype
|
|
55
64
|
attr_reader :allowable_values
|
|
@@ -79,6 +88,7 @@ module UltracartClient
|
|
|
79
88
|
:'ai_chat_instructions' => :'ai_chat_instructions',
|
|
80
89
|
:'ai_persona' => :'ai_persona',
|
|
81
90
|
:'ai_sms_instructions' => :'ai_sms_instructions',
|
|
91
|
+
:'ai_ticket_instructions' => :'ai_ticket_instructions',
|
|
82
92
|
:'chat_limit' => :'chat_limit',
|
|
83
93
|
:'default_language_iso_code' => :'default_language_iso_code',
|
|
84
94
|
:'default_status' => :'default_status',
|
|
@@ -86,7 +96,9 @@ module UltracartClient
|
|
|
86
96
|
:'name' => :'name',
|
|
87
97
|
:'profile_image_upload_key' => :'profile_image_upload_key',
|
|
88
98
|
:'profile_image_url' => :'profile_image_url',
|
|
89
|
-
:'user_id' => :'user_id'
|
|
99
|
+
:'user_id' => :'user_id',
|
|
100
|
+
:'zohodesk_classifications' => :'zohodesk_classifications',
|
|
101
|
+
:'zohodesk_departments' => :'zohodesk_departments'
|
|
90
102
|
}
|
|
91
103
|
end
|
|
92
104
|
|
|
@@ -97,6 +109,7 @@ module UltracartClient
|
|
|
97
109
|
:'ai_chat_instructions' => :'String',
|
|
98
110
|
:'ai_persona' => :'String',
|
|
99
111
|
:'ai_sms_instructions' => :'String',
|
|
112
|
+
:'ai_ticket_instructions' => :'String',
|
|
100
113
|
:'chat_limit' => :'Integer',
|
|
101
114
|
:'default_language_iso_code' => :'String',
|
|
102
115
|
:'default_status' => :'String',
|
|
@@ -104,7 +117,9 @@ module UltracartClient
|
|
|
104
117
|
:'name' => :'String',
|
|
105
118
|
:'profile_image_upload_key' => :'String',
|
|
106
119
|
:'profile_image_url' => :'String',
|
|
107
|
-
:'user_id' => :'Integer'
|
|
120
|
+
:'user_id' => :'Integer',
|
|
121
|
+
:'zohodesk_classifications' => :'Array<String>',
|
|
122
|
+
:'zohodesk_departments' => :'Array<String>'
|
|
108
123
|
}
|
|
109
124
|
end
|
|
110
125
|
|
|
@@ -132,6 +147,10 @@ module UltracartClient
|
|
|
132
147
|
self.ai_sms_instructions = attributes[:'ai_sms_instructions']
|
|
133
148
|
end
|
|
134
149
|
|
|
150
|
+
if attributes.has_key?(:'ai_ticket_instructions')
|
|
151
|
+
self.ai_ticket_instructions = attributes[:'ai_ticket_instructions']
|
|
152
|
+
end
|
|
153
|
+
|
|
135
154
|
if attributes.has_key?(:'chat_limit')
|
|
136
155
|
self.chat_limit = attributes[:'chat_limit']
|
|
137
156
|
end
|
|
@@ -163,6 +182,18 @@ module UltracartClient
|
|
|
163
182
|
if attributes.has_key?(:'user_id')
|
|
164
183
|
self.user_id = attributes[:'user_id']
|
|
165
184
|
end
|
|
185
|
+
|
|
186
|
+
if attributes.has_key?(:'zohodesk_classifications')
|
|
187
|
+
if (value = attributes[:'zohodesk_classifications']).is_a?(Array)
|
|
188
|
+
self.zohodesk_classifications = value
|
|
189
|
+
end
|
|
190
|
+
end
|
|
191
|
+
|
|
192
|
+
if attributes.has_key?(:'zohodesk_departments')
|
|
193
|
+
if (value = attributes[:'zohodesk_departments']).is_a?(Array)
|
|
194
|
+
self.zohodesk_departments = value
|
|
195
|
+
end
|
|
196
|
+
end
|
|
166
197
|
end
|
|
167
198
|
|
|
168
199
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -199,6 +230,7 @@ module UltracartClient
|
|
|
199
230
|
ai_chat_instructions == o.ai_chat_instructions &&
|
|
200
231
|
ai_persona == o.ai_persona &&
|
|
201
232
|
ai_sms_instructions == o.ai_sms_instructions &&
|
|
233
|
+
ai_ticket_instructions == o.ai_ticket_instructions &&
|
|
202
234
|
chat_limit == o.chat_limit &&
|
|
203
235
|
default_language_iso_code == o.default_language_iso_code &&
|
|
204
236
|
default_status == o.default_status &&
|
|
@@ -206,7 +238,9 @@ module UltracartClient
|
|
|
206
238
|
name == o.name &&
|
|
207
239
|
profile_image_upload_key == o.profile_image_upload_key &&
|
|
208
240
|
profile_image_url == o.profile_image_url &&
|
|
209
|
-
user_id == o.user_id
|
|
241
|
+
user_id == o.user_id &&
|
|
242
|
+
zohodesk_classifications == o.zohodesk_classifications &&
|
|
243
|
+
zohodesk_departments == o.zohodesk_departments
|
|
210
244
|
end
|
|
211
245
|
|
|
212
246
|
# @see the `==` method
|
|
@@ -218,7 +252,7 @@ module UltracartClient
|
|
|
218
252
|
# Calculates hash code according to all attributes.
|
|
219
253
|
# @return [Fixnum] Hash code
|
|
220
254
|
def hash
|
|
221
|
-
[ai, ai_chat_instructions, ai_persona, ai_sms_instructions, chat_limit, default_language_iso_code, default_status, display_name, name, profile_image_upload_key, profile_image_url, user_id].hash
|
|
255
|
+
[ai, ai_chat_instructions, ai_persona, ai_sms_instructions, ai_ticket_instructions, chat_limit, default_language_iso_code, default_status, display_name, name, profile_image_upload_key, profile_image_url, user_id, zohodesk_classifications, zohodesk_departments].hash
|
|
222
256
|
end
|
|
223
257
|
|
|
224
258
|
# Builds the object from hash
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ultracart_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.11.
|
|
4
|
+
version: 3.11.33
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- UltraCart
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-11-
|
|
11
|
+
date: 2025-11-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|