ultracart_api 4.1.6 → 4.1.7
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 +3 -2
- data/docs/ConversationAgentProfile.md +8 -0
- data/lib/ultracart_api/models/conversation_agent_profile.rb +41 -1
- data/lib/ultracart_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6f3a683613b1018628224e6efb16065b44d8ba2e77df9710d5c7ecb9e5f868b
|
4
|
+
data.tar.gz: 5f2ef29b9a7f718d8f7abf93cfd6c3203d809fe60632e2058ed5d40367853326
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b44381fc7babd188a4eff34734111fae121f5d074677dab3aa331b1552ed68f7c776bc96548ebe6d0c6b7fade559b0e4667fb72e9baac70efc7383fdf38bc071
|
7
|
+
data.tar.gz: 4f97b60e7794cf61f77dedc5b808a58b73e6bbc6f5777ef7a3f49f25c43ccfb2a8d77fb99002cdbbdf8cc05c9e2acff9df21624fcdfb355f7bbe307a2a054ffb
|
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.7
|
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.7'
|
20
20
|
```
|
21
21
|
|
22
22
|
install:
|
@@ -1518,6 +1518,7 @@ Not every change is committed to every SDK.
|
|
1518
1518
|
|
1519
1519
|
| Version | Date | Comments |
|
1520
1520
|
| --: | :-: | --- |
|
1521
|
+
| 4.1.7 | 04/21/2025 | conversation agent additional fields |
|
1521
1522
|
| 4.1.6 | 04/16/2025 | added channel partner order item properties |
|
1522
1523
|
| 4.1.5 | 03/28/2025 | added paypal fastlane constants for payments |
|
1523
1524
|
| 4.1.4 | 03/07/2025 | updated github readme.md |
|
@@ -4,6 +4,10 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **ai** | **Boolean** | AI powered chat bot | [optional] |
|
8
|
+
| **ai_chat_instructions** | **String** | Additional instructions for this AI when handle web chats | [optional] |
|
9
|
+
| **ai_persona** | **String** | Persona of this AI agent | [optional] |
|
10
|
+
| **ai_sms_instructions** | **String** | Additional instructions for this AI when handle SMS messages | [optional] |
|
7
11
|
| **chat_limit** | **Integer** | The number of engagement chats that can be pushed on them at any given time. | [optional] |
|
8
12
|
| **default_language_iso_code** | **String** | The default language the agent is chatting in | [optional] |
|
9
13
|
| **default_status** | **String** | Default status when the agent loads conversations app. | [optional] |
|
@@ -18,6 +22,10 @@
|
|
18
22
|
require 'ultracart_api'
|
19
23
|
|
20
24
|
instance = UltracartClient::ConversationAgentProfile.new(
|
25
|
+
ai: null,
|
26
|
+
ai_chat_instructions: null,
|
27
|
+
ai_persona: null,
|
28
|
+
ai_sms_instructions: null,
|
21
29
|
chat_limit: null,
|
22
30
|
default_language_iso_code: null,
|
23
31
|
default_status: null,
|
@@ -15,6 +15,18 @@ require 'time'
|
|
15
15
|
|
16
16
|
module UltracartClient
|
17
17
|
class ConversationAgentProfile
|
18
|
+
# AI powered chat bot
|
19
|
+
attr_accessor :ai
|
20
|
+
|
21
|
+
# Additional instructions for this AI when handle web chats
|
22
|
+
attr_accessor :ai_chat_instructions
|
23
|
+
|
24
|
+
# Persona of this AI agent
|
25
|
+
attr_accessor :ai_persona
|
26
|
+
|
27
|
+
# Additional instructions for this AI when handle SMS messages
|
28
|
+
attr_accessor :ai_sms_instructions
|
29
|
+
|
18
30
|
# The number of engagement chats that can be pushed on them at any given time.
|
19
31
|
attr_accessor :chat_limit
|
20
32
|
|
@@ -61,6 +73,10 @@ module UltracartClient
|
|
61
73
|
# Attribute mapping from ruby-style variable name to JSON key.
|
62
74
|
def self.attribute_map
|
63
75
|
{
|
76
|
+
:'ai' => :'ai',
|
77
|
+
:'ai_chat_instructions' => :'ai_chat_instructions',
|
78
|
+
:'ai_persona' => :'ai_persona',
|
79
|
+
:'ai_sms_instructions' => :'ai_sms_instructions',
|
64
80
|
:'chat_limit' => :'chat_limit',
|
65
81
|
:'default_language_iso_code' => :'default_language_iso_code',
|
66
82
|
:'default_status' => :'default_status',
|
@@ -79,6 +95,10 @@ module UltracartClient
|
|
79
95
|
# Attribute type mapping.
|
80
96
|
def self.openapi_types
|
81
97
|
{
|
98
|
+
:'ai' => :'Boolean',
|
99
|
+
:'ai_chat_instructions' => :'String',
|
100
|
+
:'ai_persona' => :'String',
|
101
|
+
:'ai_sms_instructions' => :'String',
|
82
102
|
:'chat_limit' => :'Integer',
|
83
103
|
:'default_language_iso_code' => :'String',
|
84
104
|
:'default_status' => :'String',
|
@@ -110,6 +130,22 @@ module UltracartClient
|
|
110
130
|
h[k.to_sym] = v
|
111
131
|
}
|
112
132
|
|
133
|
+
if attributes.key?(:'ai')
|
134
|
+
self.ai = attributes[:'ai']
|
135
|
+
end
|
136
|
+
|
137
|
+
if attributes.key?(:'ai_chat_instructions')
|
138
|
+
self.ai_chat_instructions = attributes[:'ai_chat_instructions']
|
139
|
+
end
|
140
|
+
|
141
|
+
if attributes.key?(:'ai_persona')
|
142
|
+
self.ai_persona = attributes[:'ai_persona']
|
143
|
+
end
|
144
|
+
|
145
|
+
if attributes.key?(:'ai_sms_instructions')
|
146
|
+
self.ai_sms_instructions = attributes[:'ai_sms_instructions']
|
147
|
+
end
|
148
|
+
|
113
149
|
if attributes.key?(:'chat_limit')
|
114
150
|
self.chat_limit = attributes[:'chat_limit']
|
115
151
|
end
|
@@ -169,6 +205,10 @@ module UltracartClient
|
|
169
205
|
def ==(o)
|
170
206
|
return true if self.equal?(o)
|
171
207
|
self.class == o.class &&
|
208
|
+
ai == o.ai &&
|
209
|
+
ai_chat_instructions == o.ai_chat_instructions &&
|
210
|
+
ai_persona == o.ai_persona &&
|
211
|
+
ai_sms_instructions == o.ai_sms_instructions &&
|
172
212
|
chat_limit == o.chat_limit &&
|
173
213
|
default_language_iso_code == o.default_language_iso_code &&
|
174
214
|
default_status == o.default_status &&
|
@@ -187,7 +227,7 @@ module UltracartClient
|
|
187
227
|
# Calculates hash code according to all attributes.
|
188
228
|
# @return [Integer] Hash code
|
189
229
|
def hash
|
190
|
-
[chat_limit, default_language_iso_code, default_status, display_name, name, profile_image_upload_key, profile_image_url].hash
|
230
|
+
[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].hash
|
191
231
|
end
|
192
232
|
|
193
233
|
# 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.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-04-
|
11
|
+
date: 2025-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|