ultracart_api 4.1.12 → 4.1.13
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/Conversation.md +4 -0
- data/docs/ItemRestriction.md +2 -0
- data/lib/ultracart_api/models/conversation.rb +21 -1
- data/lib/ultracart_api/models/item_restriction.rb +11 -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: 3a946d9c9a1fc472d1268629bdecc625b9b69254fe4ab711e65e2b6bb46ff81e
|
4
|
+
data.tar.gz: cc195035bc8e94040c3abd2564141c632d6ec2ae3bc6149859305938e6fc763d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 612d6641cbba23242cb36825571989d82f2148fcac953db69e55c114e57e21833dfb19cda0c5dd650c7972def15542ef840c614aa689c4a8655f22308bf7cca6
|
7
|
+
data.tar.gz: b631b15fbe14bc3e330b58d3f8e9cfc3e20c97b6f13a2fba51a1029a9dc417368837f42227b39788cc658b9b4b5f02052f36b556e2f5ca2b6c4f686f4404c063
|
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.13
|
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.13'
|
20
20
|
```
|
21
21
|
|
22
22
|
install:
|
@@ -1530,6 +1530,7 @@ Not every change is committed to every SDK.
|
|
1530
1530
|
|
1531
1531
|
| Version | Date | Comments |
|
1532
1532
|
| --: | :-: | --- |
|
1533
|
+
| 4.1.13 | 05/20/2025 | conversation - virtual agent flag and virtual agent cost |
|
1533
1534
|
| 4.1.12 | 05/19/2025 | conversations - AI agent capabilities method |
|
1534
1535
|
| 4.1.11 | 05/19/2025 | conversations - virtual AI budgets |
|
1535
1536
|
| 4.1.10 | 05/06/2025 | conversation - ConversationAgentProfile.user_id added for agent profiles call |
|
data/docs/Conversation.md
CHANGED
@@ -22,6 +22,8 @@
|
|
22
22
|
| **sentiment** | [**ConversationSentiment**](ConversationSentiment.md) | | [optional] |
|
23
23
|
| **start_dts** | **String** | Start of the conversation date/time | [optional] |
|
24
24
|
| **unread_messages** | **Boolean** | | [optional] |
|
25
|
+
| **virtual_agent** | **Boolean** | True if a virtual agent answered the conversation | [optional] |
|
26
|
+
| **virtual_agent_cost** | **Float** | The cost of this conversation performed by the virtual agent | [optional] |
|
25
27
|
| **visible** | **Boolean** | | [optional] |
|
26
28
|
|
27
29
|
## Example
|
@@ -48,6 +50,8 @@ instance = UltracartClient::Conversation.new(
|
|
48
50
|
sentiment: null,
|
49
51
|
start_dts: null,
|
50
52
|
unread_messages: null,
|
53
|
+
virtual_agent: null,
|
54
|
+
virtual_agent_cost: null,
|
51
55
|
visible: null
|
52
56
|
)
|
53
57
|
```
|
data/docs/ItemRestriction.md
CHANGED
@@ -6,6 +6,7 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **exclude_coupon** | **Boolean** | Exclude coupons | [optional] |
|
8
8
|
| **exclude_from_free_promotion** | **Boolean** | Exclude from free promotion | [optional] |
|
9
|
+
| **exclude_from_loyalty** | **Boolean** | Exclude from loyalty. Must be set to true or false to save. Null is ignored for backwards SDK compatibility | [optional] |
|
9
10
|
| **items** | [**Array<ItemRestrictionItem>**](ItemRestrictionItem.md) | Items | [optional] |
|
10
11
|
| **maximum_quantity** | **Integer** | Maximum quantity | [optional] |
|
11
12
|
| **minimum_quantity** | **Integer** | Minimum quantity (defaults to 1) | [optional] |
|
@@ -21,6 +22,7 @@ require 'ultracart_api'
|
|
21
22
|
instance = UltracartClient::ItemRestriction.new(
|
22
23
|
exclude_coupon: null,
|
23
24
|
exclude_from_free_promotion: null,
|
25
|
+
exclude_from_loyalty: null,
|
24
26
|
items: null,
|
25
27
|
maximum_quantity: null,
|
26
28
|
minimum_quantity: null,
|
@@ -57,6 +57,12 @@ module UltracartClient
|
|
57
57
|
|
58
58
|
attr_accessor :unread_messages
|
59
59
|
|
60
|
+
# True if a virtual agent answered the conversation
|
61
|
+
attr_accessor :virtual_agent
|
62
|
+
|
63
|
+
# The cost of this conversation performed by the virtual agent
|
64
|
+
attr_accessor :virtual_agent_cost
|
65
|
+
|
60
66
|
attr_accessor :visible
|
61
67
|
|
62
68
|
class EnumAttributeValidator
|
@@ -102,6 +108,8 @@ module UltracartClient
|
|
102
108
|
:'sentiment' => :'sentiment',
|
103
109
|
:'start_dts' => :'start_dts',
|
104
110
|
:'unread_messages' => :'unread_messages',
|
111
|
+
:'virtual_agent' => :'virtual_agent',
|
112
|
+
:'virtual_agent_cost' => :'virtual_agent_cost',
|
105
113
|
:'visible' => :'visible'
|
106
114
|
}
|
107
115
|
end
|
@@ -132,6 +140,8 @@ module UltracartClient
|
|
132
140
|
:'sentiment' => :'ConversationSentiment',
|
133
141
|
:'start_dts' => :'String',
|
134
142
|
:'unread_messages' => :'Boolean',
|
143
|
+
:'virtual_agent' => :'Boolean',
|
144
|
+
:'virtual_agent_cost' => :'Float',
|
135
145
|
:'visible' => :'Boolean'
|
136
146
|
}
|
137
147
|
end
|
@@ -233,6 +243,14 @@ module UltracartClient
|
|
233
243
|
self.unread_messages = attributes[:'unread_messages']
|
234
244
|
end
|
235
245
|
|
246
|
+
if attributes.key?(:'virtual_agent')
|
247
|
+
self.virtual_agent = attributes[:'virtual_agent']
|
248
|
+
end
|
249
|
+
|
250
|
+
if attributes.key?(:'virtual_agent_cost')
|
251
|
+
self.virtual_agent_cost = attributes[:'virtual_agent_cost']
|
252
|
+
end
|
253
|
+
|
236
254
|
if attributes.key?(:'visible')
|
237
255
|
self.visible = attributes[:'visible']
|
238
256
|
end
|
@@ -286,6 +304,8 @@ module UltracartClient
|
|
286
304
|
sentiment == o.sentiment &&
|
287
305
|
start_dts == o.start_dts &&
|
288
306
|
unread_messages == o.unread_messages &&
|
307
|
+
virtual_agent == o.virtual_agent &&
|
308
|
+
virtual_agent_cost == o.virtual_agent_cost &&
|
289
309
|
visible == o.visible
|
290
310
|
end
|
291
311
|
|
@@ -298,7 +318,7 @@ module UltracartClient
|
|
298
318
|
# Calculates hash code according to all attributes.
|
299
319
|
# @return [Integer] Hash code
|
300
320
|
def hash
|
301
|
-
[base_language_iso_code, closed, conversation_arn, conversation_uuid, customer_first_message_unresponded_to_dts, last_conversation_message_body, last_conversation_participant_arn, last_conversation_participant_name, last_interactive_message_dts, last_message_dts, medium, merchant_id, message_count, messages, participants, sentiment, start_dts, unread_messages, visible].hash
|
321
|
+
[base_language_iso_code, closed, conversation_arn, conversation_uuid, customer_first_message_unresponded_to_dts, last_conversation_message_body, last_conversation_participant_arn, last_conversation_participant_name, last_interactive_message_dts, last_message_dts, medium, merchant_id, message_count, messages, participants, sentiment, start_dts, unread_messages, virtual_agent, virtual_agent_cost, visible].hash
|
302
322
|
end
|
303
323
|
|
304
324
|
# Builds the object from hash
|
@@ -21,6 +21,9 @@ module UltracartClient
|
|
21
21
|
# Exclude from free promotion
|
22
22
|
attr_accessor :exclude_from_free_promotion
|
23
23
|
|
24
|
+
# Exclude from loyalty. Must be set to true or false to save. Null is ignored for backwards SDK compatibility
|
25
|
+
attr_accessor :exclude_from_loyalty
|
26
|
+
|
24
27
|
# Items
|
25
28
|
attr_accessor :items
|
26
29
|
|
@@ -44,6 +47,7 @@ module UltracartClient
|
|
44
47
|
{
|
45
48
|
:'exclude_coupon' => :'exclude_coupon',
|
46
49
|
:'exclude_from_free_promotion' => :'exclude_from_free_promotion',
|
50
|
+
:'exclude_from_loyalty' => :'exclude_from_loyalty',
|
47
51
|
:'items' => :'items',
|
48
52
|
:'maximum_quantity' => :'maximum_quantity',
|
49
53
|
:'minimum_quantity' => :'minimum_quantity',
|
@@ -63,6 +67,7 @@ module UltracartClient
|
|
63
67
|
{
|
64
68
|
:'exclude_coupon' => :'Boolean',
|
65
69
|
:'exclude_from_free_promotion' => :'Boolean',
|
70
|
+
:'exclude_from_loyalty' => :'Boolean',
|
66
71
|
:'items' => :'Array<ItemRestrictionItem>',
|
67
72
|
:'maximum_quantity' => :'Integer',
|
68
73
|
:'minimum_quantity' => :'Integer',
|
@@ -101,6 +106,10 @@ module UltracartClient
|
|
101
106
|
self.exclude_from_free_promotion = attributes[:'exclude_from_free_promotion']
|
102
107
|
end
|
103
108
|
|
109
|
+
if attributes.key?(:'exclude_from_loyalty')
|
110
|
+
self.exclude_from_loyalty = attributes[:'exclude_from_loyalty']
|
111
|
+
end
|
112
|
+
|
104
113
|
if attributes.key?(:'items')
|
105
114
|
if (value = attributes[:'items']).is_a?(Array)
|
106
115
|
self.items = value
|
@@ -148,6 +157,7 @@ module UltracartClient
|
|
148
157
|
self.class == o.class &&
|
149
158
|
exclude_coupon == o.exclude_coupon &&
|
150
159
|
exclude_from_free_promotion == o.exclude_from_free_promotion &&
|
160
|
+
exclude_from_loyalty == o.exclude_from_loyalty &&
|
151
161
|
items == o.items &&
|
152
162
|
maximum_quantity == o.maximum_quantity &&
|
153
163
|
minimum_quantity == o.minimum_quantity &&
|
@@ -165,7 +175,7 @@ module UltracartClient
|
|
165
175
|
# Calculates hash code according to all attributes.
|
166
176
|
# @return [Integer] Hash code
|
167
177
|
def hash
|
168
|
-
[exclude_coupon, exclude_from_free_promotion, items, maximum_quantity, minimum_quantity, multiple_quantity, one_per_customer, purchase_separately].hash
|
178
|
+
[exclude_coupon, exclude_from_free_promotion, exclude_from_loyalty, items, maximum_quantity, minimum_quantity, multiple_quantity, one_per_customer, purchase_separately].hash
|
169
179
|
end
|
170
180
|
|
171
181
|
# 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.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-05-
|
11
|
+
date: 2025-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|