ultracart_api 3.11.6 → 3.11.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 +5 -4
- data/docs/ConversationAgentProfile.md +4 -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: 92f6f99dc1f5feb53f904286db7b4b64e826216475d035eae764582cd4de9289
|
4
|
+
data.tar.gz: 046f7d43ba531ac393c193f4ad648c90db45de0a0af29b606d27f023f565d549
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2cba53e132de9f78dceca21db105fe70694243bc70614dafd73ae0d384e8051641a0dbbb0d5f593661adbeb7216f503fb7eb5b118cd61a47e957361a5e0880c0
|
7
|
+
data.tar.gz: b5e8dbe5c69913185576747868803eb337437f9aa1dfeda6b4f0c7ad665035555db22f6b7d08cdf6453b4e483aa78b1c0cc77e2b49c77fcde66ff6f34d5b59f5
|
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.7
|
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.7.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.7.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.7'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1520,6 +1520,7 @@ Not every change is committed to every SDK.
|
|
1520
1520
|
|
1521
1521
|
| Version | Date | Comments |
|
1522
1522
|
| --: | :-: | --- |
|
1523
|
+
| 3.11.7 | 04/21/2025 | conversation agent additional fields |
|
1523
1524
|
| 3.11.6 | 04/16/2025 | added channel partner order item properties |
|
1524
1525
|
| 3.11.5 | 03/28/2025 | added paypal fastlane constants for payments |
|
1525
1526
|
| 3.11.4 | 03/07/2025 | updated github readme.md |
|
@@ -3,6 +3,10 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
+
**ai** | **BOOLEAN** | AI powered chat bot | [optional]
|
7
|
+
**ai_chat_instructions** | **String** | Additional instructions for this AI when handle web chats | [optional]
|
8
|
+
**ai_persona** | **String** | Persona of this AI agent | [optional]
|
9
|
+
**ai_sms_instructions** | **String** | Additional instructions for this AI when handle SMS messages | [optional]
|
6
10
|
**chat_limit** | **Integer** | The number of engagement chats that can be pushed on them at any given time. | [optional]
|
7
11
|
**default_language_iso_code** | **String** | The default language the agent is chatting in | [optional]
|
8
12
|
**default_status** | **String** | Default status when the agent loads conversations app. | [optional]
|
@@ -14,6 +14,18 @@ require 'date'
|
|
14
14
|
|
15
15
|
module UltracartClient
|
16
16
|
class ConversationAgentProfile
|
17
|
+
# AI powered chat bot
|
18
|
+
attr_accessor :ai
|
19
|
+
|
20
|
+
# Additional instructions for this AI when handle web chats
|
21
|
+
attr_accessor :ai_chat_instructions
|
22
|
+
|
23
|
+
# Persona of this AI agent
|
24
|
+
attr_accessor :ai_persona
|
25
|
+
|
26
|
+
# Additional instructions for this AI when handle SMS messages
|
27
|
+
attr_accessor :ai_sms_instructions
|
28
|
+
|
17
29
|
# The number of engagement chats that can be pushed on them at any given time.
|
18
30
|
attr_accessor :chat_limit
|
19
31
|
|
@@ -60,6 +72,10 @@ module UltracartClient
|
|
60
72
|
# Attribute mapping from ruby-style variable name to JSON key.
|
61
73
|
def self.attribute_map
|
62
74
|
{
|
75
|
+
:'ai' => :'ai',
|
76
|
+
:'ai_chat_instructions' => :'ai_chat_instructions',
|
77
|
+
:'ai_persona' => :'ai_persona',
|
78
|
+
:'ai_sms_instructions' => :'ai_sms_instructions',
|
63
79
|
:'chat_limit' => :'chat_limit',
|
64
80
|
:'default_language_iso_code' => :'default_language_iso_code',
|
65
81
|
:'default_status' => :'default_status',
|
@@ -73,6 +89,10 @@ module UltracartClient
|
|
73
89
|
# Attribute type mapping.
|
74
90
|
def self.swagger_types
|
75
91
|
{
|
92
|
+
:'ai' => :'BOOLEAN',
|
93
|
+
:'ai_chat_instructions' => :'String',
|
94
|
+
:'ai_persona' => :'String',
|
95
|
+
:'ai_sms_instructions' => :'String',
|
76
96
|
:'chat_limit' => :'Integer',
|
77
97
|
:'default_language_iso_code' => :'String',
|
78
98
|
:'default_status' => :'String',
|
@@ -91,6 +111,22 @@ module UltracartClient
|
|
91
111
|
# convert string to symbol for hash key
|
92
112
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
93
113
|
|
114
|
+
if attributes.has_key?(:'ai')
|
115
|
+
self.ai = attributes[:'ai']
|
116
|
+
end
|
117
|
+
|
118
|
+
if attributes.has_key?(:'ai_chat_instructions')
|
119
|
+
self.ai_chat_instructions = attributes[:'ai_chat_instructions']
|
120
|
+
end
|
121
|
+
|
122
|
+
if attributes.has_key?(:'ai_persona')
|
123
|
+
self.ai_persona = attributes[:'ai_persona']
|
124
|
+
end
|
125
|
+
|
126
|
+
if attributes.has_key?(:'ai_sms_instructions')
|
127
|
+
self.ai_sms_instructions = attributes[:'ai_sms_instructions']
|
128
|
+
end
|
129
|
+
|
94
130
|
if attributes.has_key?(:'chat_limit')
|
95
131
|
self.chat_limit = attributes[:'chat_limit']
|
96
132
|
end
|
@@ -150,6 +186,10 @@ module UltracartClient
|
|
150
186
|
def ==(o)
|
151
187
|
return true if self.equal?(o)
|
152
188
|
self.class == o.class &&
|
189
|
+
ai == o.ai &&
|
190
|
+
ai_chat_instructions == o.ai_chat_instructions &&
|
191
|
+
ai_persona == o.ai_persona &&
|
192
|
+
ai_sms_instructions == o.ai_sms_instructions &&
|
153
193
|
chat_limit == o.chat_limit &&
|
154
194
|
default_language_iso_code == o.default_language_iso_code &&
|
155
195
|
default_status == o.default_status &&
|
@@ -168,7 +208,7 @@ module UltracartClient
|
|
168
208
|
# Calculates hash code according to all attributes.
|
169
209
|
# @return [Fixnum] Hash code
|
170
210
|
def hash
|
171
|
-
[chat_limit, default_language_iso_code, default_status, display_name, name, profile_image_upload_key, profile_image_url].hash
|
211
|
+
[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
|
172
212
|
end
|
173
213
|
|
174
214
|
# 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.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
|