ultracart_api 4.1.31 → 4.1.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: 6bd605fcee263cc35c856f6df50be7ece87bbe5683b86c54e7a2366e91639998
|
|
4
|
+
data.tar.gz: 01eea49791850f1d4d8f416fe780cc57bdd31ca194dfa5b7b4f75518c47c9aa1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 349154cee847c3ec826108d90022a9957d1f18936c0882a78987934544f28ffd8a4ece78e2f4eef8bcefa8004685cf737aed6f260ed5f6bdaf5cc2e3c3e44807
|
|
7
|
+
data.tar.gz: 833b98cb8d450c8cc0b1138d1dd622cfb79e69dad04a055cb8bd153d4aa7b8426922d91656d346bc0a84ec29fce407dff42cb6543c44483df063fe08a928d22c
|
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.33
|
|
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.33'
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
install:
|
|
@@ -130,7 +130,7 @@ Class | Method | HTTP request | Description
|
|
|
130
130
|
*UltracartClient::CheckoutApi* | [**update_cart**](docs/CheckoutApi.md#update_cart) | **PUT** /checkout/cart | Update cart
|
|
131
131
|
*UltracartClient::CheckoutApi* | [**validate_cart**](docs/CheckoutApi.md#validate_cart) | **POST** /checkout/cart/validate | Validate
|
|
132
132
|
*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
|
|
133
|
-
*UltracartClient::ConversationApi* | [**delete_agent_profile_mcp**](docs/ConversationApi.md#delete_agent_profile_mcp) | **
|
|
133
|
+
*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
|
|
134
134
|
*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
|
|
135
135
|
*UltracartClient::ConversationApi* | [**delete_department**](docs/ConversationApi.md#delete_department) | **DELETE** /conversation/departments/{conversation_department_oid} | Delete a conversation department
|
|
136
136
|
*UltracartClient::ConversationApi* | [**delete_engagement**](docs/ConversationApi.md#delete_engagement) | **DELETE** /conversation/engagements/{conversation_engagement_oid} | Delete a conversation engagement
|
|
@@ -212,6 +212,7 @@ Class | Method | HTTP request | Description
|
|
|
212
212
|
*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
|
|
213
213
|
*UltracartClient::ConversationApi* | [**start_conversation**](docs/ConversationApi.md#start_conversation) | **PUT** /conversation/conversations | Start a conversation
|
|
214
214
|
*UltracartClient::ConversationApi* | [**update_agent_profile**](docs/ConversationApi.md#update_agent_profile) | **PUT** /conversation/agent/profile | Update agent profile
|
|
215
|
+
*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
|
|
215
216
|
*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
|
|
216
217
|
*UltracartClient::ConversationApi* | [**update_conversation_department**](docs/ConversationApi.md#update_conversation_department) | **PUT** /conversation/departments/{conversation_department_oid} | Update a department
|
|
217
218
|
*UltracartClient::ConversationApi* | [**update_conversation_engagement**](docs/ConversationApi.md#update_conversation_engagement) | **PUT** /conversation/engagements/{conversation_engagement_oid} | Update a engagement
|
|
@@ -1598,6 +1599,8 @@ Not every change is committed to every SDK.
|
|
|
1598
1599
|
|
|
1599
1600
|
| Version | Date | Comments |
|
|
1600
1601
|
| --: | :-: | --- |
|
|
1602
|
+
| 4.1.33 | 11/26/2025 | conversation - AI agent profile fields |
|
|
1603
|
+
| 4.1.32 | 11/20/2025 | conversion api bug fix on incorrect signature |
|
|
1601
1604
|
| 4.1.31 | 11/20/2025 | conversation - AI agent mcp server tools function |
|
|
1602
1605
|
| 4.1.30 | 11/19/2025 | conversation - AI agent MCP server configuration methods |
|
|
1603
1606
|
| 4.1.29 | 11/13/2025 | conversations - AI capabilities flag for generate coupon |
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
| **ai_chat_instructions** | **String** | Additional instructions for this AI when handle web chats | [optional] |
|
|
9
9
|
| **ai_persona** | **String** | Persona of this AI agent | [optional] |
|
|
10
10
|
| **ai_sms_instructions** | **String** | Additional instructions for this AI when handle SMS messages | [optional] |
|
|
11
|
+
| **ai_ticket_instructions** | **String** | Additional instructions for this AI when handling ticket draft replies | [optional] |
|
|
11
12
|
| **chat_limit** | **Integer** | The number of engagement chats that can be pushed on them at any given time. | [optional] |
|
|
12
13
|
| **default_language_iso_code** | **String** | The default language the agent is chatting in | [optional] |
|
|
13
14
|
| **default_status** | **String** | Default status when the agent loads conversations app. | [optional] |
|
|
@@ -16,6 +17,8 @@
|
|
|
16
17
|
| **profile_image_upload_key** | **String** | An upload key used to update the profile image. | [optional] |
|
|
17
18
|
| **profile_image_url** | **String** | Their current profile image URL | [optional] |
|
|
18
19
|
| **user_id** | **Integer** | User ID associated with the agent. Populated by getAgentProfiles call only. | [optional] |
|
|
20
|
+
| **zohodesk_classifications** | **Array<String>** | Restrict this agent to drafting replies only to tickets with these classifications | [optional] |
|
|
21
|
+
| **zohodesk_departments** | **Array<String>** | Restrict this agent to drafting replies only to these department ids | [optional] |
|
|
19
22
|
|
|
20
23
|
## Example
|
|
21
24
|
|
|
@@ -27,6 +30,7 @@ instance = UltracartClient::ConversationAgentProfile.new(
|
|
|
27
30
|
ai_chat_instructions: null,
|
|
28
31
|
ai_persona: null,
|
|
29
32
|
ai_sms_instructions: null,
|
|
33
|
+
ai_ticket_instructions: null,
|
|
30
34
|
chat_limit: null,
|
|
31
35
|
default_language_iso_code: null,
|
|
32
36
|
default_status: null,
|
|
@@ -34,7 +38,9 @@ instance = UltracartClient::ConversationAgentProfile.new(
|
|
|
34
38
|
name: null,
|
|
35
39
|
profile_image_upload_key: null,
|
|
36
40
|
profile_image_url: null,
|
|
37
|
-
user_id: null
|
|
41
|
+
user_id: null,
|
|
42
|
+
zohodesk_classifications: null,
|
|
43
|
+
zohodesk_departments: null
|
|
38
44
|
)
|
|
39
45
|
```
|
|
40
46
|
|
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 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
|
|
|
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 |
|
|
@@ -4546,6 +4547,61 @@ end
|
|
|
4546
4547
|
- **Accept**: application/json
|
|
4547
4548
|
|
|
4548
4549
|
|
|
4550
|
+
## update_agent_profile_mcp
|
|
4551
|
+
|
|
4552
|
+
> <ConversationMcpServerResponse> update_agent_profile_mcp(user_id, mcp_server_uuid, mcp_server)
|
|
4553
|
+
|
|
4554
|
+
Update an agent MCP server
|
|
4555
|
+
|
|
4556
|
+
Update an agent MCP server
|
|
4557
|
+
|
|
4558
|
+
|
|
4559
|
+
### Examples
|
|
4560
|
+
|
|
4561
|
+
|
|
4562
|
+
(No example for this operation).
|
|
4563
|
+
|
|
4564
|
+
|
|
4565
|
+
#### Using the update_agent_profile_mcp_with_http_info variant
|
|
4566
|
+
|
|
4567
|
+
This returns an Array which contains the response data, status code and headers.
|
|
4568
|
+
|
|
4569
|
+
> <Array(<ConversationMcpServerResponse>, Integer, Hash)> update_agent_profile_mcp_with_http_info(user_id, mcp_server_uuid, mcp_server)
|
|
4570
|
+
|
|
4571
|
+
```ruby
|
|
4572
|
+
begin
|
|
4573
|
+
# Update an agent MCP server
|
|
4574
|
+
data, status_code, headers = api_instance.update_agent_profile_mcp_with_http_info(user_id, mcp_server_uuid, mcp_server)
|
|
4575
|
+
p status_code # => 2xx
|
|
4576
|
+
p headers # => { ... }
|
|
4577
|
+
p data # => <ConversationMcpServerResponse>
|
|
4578
|
+
rescue UltracartClient::ApiError => e
|
|
4579
|
+
puts "Error when calling ConversationApi->update_agent_profile_mcp_with_http_info: #{e}"
|
|
4580
|
+
end
|
|
4581
|
+
```
|
|
4582
|
+
|
|
4583
|
+
### Parameters
|
|
4584
|
+
|
|
4585
|
+
| Name | Type | Description | Notes |
|
|
4586
|
+
| ---- | ---- | ----------- | ----- |
|
|
4587
|
+
| **user_id** | **Integer** | | |
|
|
4588
|
+
| **mcp_server_uuid** | **String** | | |
|
|
4589
|
+
| **mcp_server** | [**ConversationMcpServer**](ConversationMcpServer.md) | MCP Server | |
|
|
4590
|
+
|
|
4591
|
+
### Return type
|
|
4592
|
+
|
|
4593
|
+
[**ConversationMcpServerResponse**](ConversationMcpServerResponse.md)
|
|
4594
|
+
|
|
4595
|
+
### Authorization
|
|
4596
|
+
|
|
4597
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
|
4598
|
+
|
|
4599
|
+
### HTTP request headers
|
|
4600
|
+
|
|
4601
|
+
- **Content-Type**: application/json
|
|
4602
|
+
- **Accept**: application/json
|
|
4603
|
+
|
|
4604
|
+
|
|
4549
4605
|
## update_conversation_canned_message
|
|
4550
4606
|
|
|
4551
4607
|
> <ConversationCannedMessageResponse> update_conversation_canned_message(conversation_canned_message_oid, canned_message)
|
|
@@ -165,7 +165,7 @@ module UltracartClient
|
|
|
165
165
|
:return_type => return_type
|
|
166
166
|
)
|
|
167
167
|
|
|
168
|
-
data, status_code, headers = @api_client.call_api(:
|
|
168
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
169
169
|
if @api_client.config.debugging
|
|
170
170
|
@api_client.config.logger.debug "API called: ConversationApi#delete_agent_profile_mcp\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
171
171
|
end
|
|
@@ -5382,6 +5382,87 @@ module UltracartClient
|
|
|
5382
5382
|
return data, status_code, headers
|
|
5383
5383
|
end
|
|
5384
5384
|
|
|
5385
|
+
# Update an agent MCP server
|
|
5386
|
+
# Update an agent MCP server
|
|
5387
|
+
# @param user_id [Integer]
|
|
5388
|
+
# @param mcp_server_uuid [String]
|
|
5389
|
+
# @param mcp_server [ConversationMcpServer] MCP Server
|
|
5390
|
+
# @param [Hash] opts the optional parameters
|
|
5391
|
+
# @return [ConversationMcpServerResponse]
|
|
5392
|
+
def update_agent_profile_mcp(user_id, mcp_server_uuid, mcp_server, opts = {})
|
|
5393
|
+
data, _status_code, _headers = update_agent_profile_mcp_with_http_info(user_id, mcp_server_uuid, mcp_server, opts)
|
|
5394
|
+
data
|
|
5395
|
+
end
|
|
5396
|
+
|
|
5397
|
+
# Update an agent MCP server
|
|
5398
|
+
# Update an agent MCP server
|
|
5399
|
+
# @param user_id [Integer]
|
|
5400
|
+
# @param mcp_server_uuid [String]
|
|
5401
|
+
# @param mcp_server [ConversationMcpServer] MCP Server
|
|
5402
|
+
# @param [Hash] opts the optional parameters
|
|
5403
|
+
# @return [Array<(ConversationMcpServerResponse, Integer, Hash)>] ConversationMcpServerResponse data, response status code and response headers
|
|
5404
|
+
def update_agent_profile_mcp_with_http_info(user_id, mcp_server_uuid, mcp_server, opts = {})
|
|
5405
|
+
if @api_client.config.debugging
|
|
5406
|
+
@api_client.config.logger.debug 'Calling API: ConversationApi.update_agent_profile_mcp ...'
|
|
5407
|
+
end
|
|
5408
|
+
# verify the required parameter 'user_id' is set
|
|
5409
|
+
if @api_client.config.client_side_validation && user_id.nil?
|
|
5410
|
+
fail ArgumentError, "Missing the required parameter 'user_id' when calling ConversationApi.update_agent_profile_mcp"
|
|
5411
|
+
end
|
|
5412
|
+
# verify the required parameter 'mcp_server_uuid' is set
|
|
5413
|
+
if @api_client.config.client_side_validation && mcp_server_uuid.nil?
|
|
5414
|
+
fail ArgumentError, "Missing the required parameter 'mcp_server_uuid' when calling ConversationApi.update_agent_profile_mcp"
|
|
5415
|
+
end
|
|
5416
|
+
# verify the required parameter 'mcp_server' is set
|
|
5417
|
+
if @api_client.config.client_side_validation && mcp_server.nil?
|
|
5418
|
+
fail ArgumentError, "Missing the required parameter 'mcp_server' when calling ConversationApi.update_agent_profile_mcp"
|
|
5419
|
+
end
|
|
5420
|
+
# resource path
|
|
5421
|
+
local_var_path = '/conversation/agent/profiles/{user_id}/mcps/{mcp_server_uuid}'.sub('{' + 'user_id' + '}', CGI.escape(user_id.to_s)).sub('{' + 'mcp_server_uuid' + '}', CGI.escape(mcp_server_uuid.to_s))
|
|
5422
|
+
|
|
5423
|
+
# query parameters
|
|
5424
|
+
query_params = opts[:query_params] || {}
|
|
5425
|
+
|
|
5426
|
+
# header parameters
|
|
5427
|
+
header_params = opts[:header_params] || {}
|
|
5428
|
+
header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
|
|
5429
|
+
# HTTP header 'Accept' (if needed)
|
|
5430
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
5431
|
+
# HTTP header 'Content-Type'
|
|
5432
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
5433
|
+
if !content_type.nil?
|
|
5434
|
+
header_params['Content-Type'] = content_type
|
|
5435
|
+
end
|
|
5436
|
+
|
|
5437
|
+
# form parameters
|
|
5438
|
+
form_params = opts[:form_params] || {}
|
|
5439
|
+
|
|
5440
|
+
# http body (model)
|
|
5441
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(mcp_server)
|
|
5442
|
+
|
|
5443
|
+
# return_type
|
|
5444
|
+
return_type = opts[:debug_return_type] || 'ConversationMcpServerResponse'
|
|
5445
|
+
|
|
5446
|
+
# auth_names
|
|
5447
|
+
auth_names = opts[:debug_auth_names] || ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
|
5448
|
+
|
|
5449
|
+
new_options = opts.merge(
|
|
5450
|
+
:operation => :"ConversationApi.update_agent_profile_mcp",
|
|
5451
|
+
:header_params => header_params,
|
|
5452
|
+
:query_params => query_params,
|
|
5453
|
+
:form_params => form_params,
|
|
5454
|
+
:body => post_body,
|
|
5455
|
+
:auth_names => auth_names,
|
|
5456
|
+
:return_type => return_type
|
|
5457
|
+
)
|
|
5458
|
+
|
|
5459
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
5460
|
+
if @api_client.config.debugging
|
|
5461
|
+
@api_client.config.logger.debug "API called: ConversationApi#update_agent_profile_mcp\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
5462
|
+
end
|
|
5463
|
+
return data, status_code, headers
|
|
5464
|
+
end
|
|
5465
|
+
|
|
5385
5466
|
# Update a canned message
|
|
5386
5467
|
# Update a canned message
|
|
5387
5468
|
# @param conversation_canned_message_oid [Integer]
|
|
@@ -27,6 +27,9 @@ module UltracartClient
|
|
|
27
27
|
# Additional instructions for this AI when handle SMS messages
|
|
28
28
|
attr_accessor :ai_sms_instructions
|
|
29
29
|
|
|
30
|
+
# Additional instructions for this AI when handling ticket draft replies
|
|
31
|
+
attr_accessor :ai_ticket_instructions
|
|
32
|
+
|
|
30
33
|
# The number of engagement chats that can be pushed on them at any given time.
|
|
31
34
|
attr_accessor :chat_limit
|
|
32
35
|
|
|
@@ -51,6 +54,12 @@ module UltracartClient
|
|
|
51
54
|
# User ID associated with the agent. Populated by getAgentProfiles call only.
|
|
52
55
|
attr_accessor :user_id
|
|
53
56
|
|
|
57
|
+
# Restrict this agent to drafting replies only to tickets with these classifications
|
|
58
|
+
attr_accessor :zohodesk_classifications
|
|
59
|
+
|
|
60
|
+
# Restrict this agent to drafting replies only to these department ids
|
|
61
|
+
attr_accessor :zohodesk_departments
|
|
62
|
+
|
|
54
63
|
class EnumAttributeValidator
|
|
55
64
|
attr_reader :datatype
|
|
56
65
|
attr_reader :allowable_values
|
|
@@ -80,6 +89,7 @@ module UltracartClient
|
|
|
80
89
|
:'ai_chat_instructions' => :'ai_chat_instructions',
|
|
81
90
|
:'ai_persona' => :'ai_persona',
|
|
82
91
|
:'ai_sms_instructions' => :'ai_sms_instructions',
|
|
92
|
+
:'ai_ticket_instructions' => :'ai_ticket_instructions',
|
|
83
93
|
:'chat_limit' => :'chat_limit',
|
|
84
94
|
:'default_language_iso_code' => :'default_language_iso_code',
|
|
85
95
|
:'default_status' => :'default_status',
|
|
@@ -87,7 +97,9 @@ module UltracartClient
|
|
|
87
97
|
:'name' => :'name',
|
|
88
98
|
:'profile_image_upload_key' => :'profile_image_upload_key',
|
|
89
99
|
:'profile_image_url' => :'profile_image_url',
|
|
90
|
-
:'user_id' => :'user_id'
|
|
100
|
+
:'user_id' => :'user_id',
|
|
101
|
+
:'zohodesk_classifications' => :'zohodesk_classifications',
|
|
102
|
+
:'zohodesk_departments' => :'zohodesk_departments'
|
|
91
103
|
}
|
|
92
104
|
end
|
|
93
105
|
|
|
@@ -103,6 +115,7 @@ module UltracartClient
|
|
|
103
115
|
:'ai_chat_instructions' => :'String',
|
|
104
116
|
:'ai_persona' => :'String',
|
|
105
117
|
:'ai_sms_instructions' => :'String',
|
|
118
|
+
:'ai_ticket_instructions' => :'String',
|
|
106
119
|
:'chat_limit' => :'Integer',
|
|
107
120
|
:'default_language_iso_code' => :'String',
|
|
108
121
|
:'default_status' => :'String',
|
|
@@ -110,7 +123,9 @@ module UltracartClient
|
|
|
110
123
|
:'name' => :'String',
|
|
111
124
|
:'profile_image_upload_key' => :'String',
|
|
112
125
|
:'profile_image_url' => :'String',
|
|
113
|
-
:'user_id' => :'Integer'
|
|
126
|
+
:'user_id' => :'Integer',
|
|
127
|
+
:'zohodesk_classifications' => :'Array<String>',
|
|
128
|
+
:'zohodesk_departments' => :'Array<String>'
|
|
114
129
|
}
|
|
115
130
|
end
|
|
116
131
|
|
|
@@ -151,6 +166,10 @@ module UltracartClient
|
|
|
151
166
|
self.ai_sms_instructions = attributes[:'ai_sms_instructions']
|
|
152
167
|
end
|
|
153
168
|
|
|
169
|
+
if attributes.key?(:'ai_ticket_instructions')
|
|
170
|
+
self.ai_ticket_instructions = attributes[:'ai_ticket_instructions']
|
|
171
|
+
end
|
|
172
|
+
|
|
154
173
|
if attributes.key?(:'chat_limit')
|
|
155
174
|
self.chat_limit = attributes[:'chat_limit']
|
|
156
175
|
end
|
|
@@ -182,6 +201,18 @@ module UltracartClient
|
|
|
182
201
|
if attributes.key?(:'user_id')
|
|
183
202
|
self.user_id = attributes[:'user_id']
|
|
184
203
|
end
|
|
204
|
+
|
|
205
|
+
if attributes.key?(:'zohodesk_classifications')
|
|
206
|
+
if (value = attributes[:'zohodesk_classifications']).is_a?(Array)
|
|
207
|
+
self.zohodesk_classifications = value
|
|
208
|
+
end
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
if attributes.key?(:'zohodesk_departments')
|
|
212
|
+
if (value = attributes[:'zohodesk_departments']).is_a?(Array)
|
|
213
|
+
self.zohodesk_departments = value
|
|
214
|
+
end
|
|
215
|
+
end
|
|
185
216
|
end
|
|
186
217
|
|
|
187
218
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -218,6 +249,7 @@ module UltracartClient
|
|
|
218
249
|
ai_chat_instructions == o.ai_chat_instructions &&
|
|
219
250
|
ai_persona == o.ai_persona &&
|
|
220
251
|
ai_sms_instructions == o.ai_sms_instructions &&
|
|
252
|
+
ai_ticket_instructions == o.ai_ticket_instructions &&
|
|
221
253
|
chat_limit == o.chat_limit &&
|
|
222
254
|
default_language_iso_code == o.default_language_iso_code &&
|
|
223
255
|
default_status == o.default_status &&
|
|
@@ -225,7 +257,9 @@ module UltracartClient
|
|
|
225
257
|
name == o.name &&
|
|
226
258
|
profile_image_upload_key == o.profile_image_upload_key &&
|
|
227
259
|
profile_image_url == o.profile_image_url &&
|
|
228
|
-
user_id == o.user_id
|
|
260
|
+
user_id == o.user_id &&
|
|
261
|
+
zohodesk_classifications == o.zohodesk_classifications &&
|
|
262
|
+
zohodesk_departments == o.zohodesk_departments
|
|
229
263
|
end
|
|
230
264
|
|
|
231
265
|
# @see the `==` method
|
|
@@ -237,7 +271,7 @@ module UltracartClient
|
|
|
237
271
|
# Calculates hash code according to all attributes.
|
|
238
272
|
# @return [Integer] Hash code
|
|
239
273
|
def hash
|
|
240
|
-
[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
|
|
274
|
+
[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
|
|
241
275
|
end
|
|
242
276
|
|
|
243
277
|
# 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: 4.1.
|
|
4
|
+
version: 4.1.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
|