ultracart_api 3.11.12 → 3.11.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8dd6b43df2a59352163bdc4453b58bee736266f702df858212bd39a8ecef74b4
4
- data.tar.gz: 8fe09ee7e86e1f4912779910210fa45e695a72f5dfba34d07ae4d6e082e5e68d
3
+ metadata.gz: 656f56eb03edbe8d3fcea4b31483a94fbe1b59a1da823f4013651c8516b8c7b8
4
+ data.tar.gz: 686a268af6211e982927372fbceebe8f1b8928afffb0cb3c0397d240acd4ab8f
5
5
  SHA512:
6
- metadata.gz: 60fe73920e231ec1efc1514c51beba12e48d55de8da2e716dce78ffc16914927107921d5435946be38b40918328000694fce0fab108005c762da863da2150ecd
7
- data.tar.gz: cee3ecaa29da09f5b093e9c92ab5e5e2791c538d5e73f1014e21c45a097b10bb12bba587b36deb2d4f7ea8d5f4cc5d6ff9553ea966679d556023ee878b16016a
6
+ metadata.gz: 7c3ed31f2dcc4dd982973caf97c6da4141750386e003aea8cc8edea593f4a174bd65a9f8656d3883afcd4c6030ab55627541fd7b64e09ccca688c5275b6b2a25
7
+ data.tar.gz: 188eccb8f4461e294feea9f14de956749b5ef32b7a25bf0242216aa2e12bbe802ccd7bf440c427e67fcd7f4e5a0e91af549f99fd232402e19b0bc21df659665c
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.12
10
+ - Package version: 3.11.13
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.12.gem
27
+ gem install ./ultracart_api-3.11.13.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.11.12.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.11.13.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.12'
35
+ gem 'ultracart_api', '~> 3.11.13'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -1532,6 +1532,7 @@ Not every change is committed to every SDK.
1532
1532
 
1533
1533
  | Version | Date | Comments |
1534
1534
  | --: | :-: | --- |
1535
+ | 3.11.13 | 05/20/2025 | conversation - virtual agent flag and virtual agent cost |
1535
1536
  | 3.11.12 | 05/19/2025 | conversations - AI agent capabilities method |
1536
1537
  | 3.11.11 | 05/19/2025 | conversations - virtual AI budgets |
1537
1538
  | 3.11.10 | 05/06/2025 | conversation - ConversationAgentProfile.user_id added for agent profiles call |
data/docs/Conversation.md CHANGED
@@ -21,6 +21,8 @@ Name | Type | Description | Notes
21
21
  **sentiment** | [**ConversationSentiment**](ConversationSentiment.md) | | [optional]
22
22
  **start_dts** | **String** | Start of the conversation date/time | [optional]
23
23
  **unread_messages** | **BOOLEAN** | | [optional]
24
+ **virtual_agent** | **BOOLEAN** | True if a virtual agent answered the conversation | [optional]
25
+ **virtual_agent_cost** | **Float** | The cost of this conversation performed by the virtual agent | [optional]
24
26
  **visible** | **BOOLEAN** | | [optional]
25
27
 
26
28
 
@@ -5,6 +5,7 @@ Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **exclude_coupon** | **BOOLEAN** | Exclude coupons | [optional]
7
7
  **exclude_from_free_promotion** | **BOOLEAN** | Exclude from free promotion | [optional]
8
+ **exclude_from_loyalty** | **BOOLEAN** | Exclude from loyalty. Must be set to true or false to save. Null is ignored for backwards SDK compatibility | [optional]
8
9
  **items** | [**Array<ItemRestrictionItem>**](ItemRestrictionItem.md) | Items | [optional]
9
10
  **maximum_quantity** | **Integer** | Maximum quantity | [optional]
10
11
  **minimum_quantity** | **Integer** | Minimum quantity (defaults to 1) | [optional]
@@ -56,6 +56,12 @@ module UltracartClient
56
56
 
57
57
  attr_accessor :unread_messages
58
58
 
59
+ # True if a virtual agent answered the conversation
60
+ attr_accessor :virtual_agent
61
+
62
+ # The cost of this conversation performed by the virtual agent
63
+ attr_accessor :virtual_agent_cost
64
+
59
65
  attr_accessor :visible
60
66
 
61
67
  class EnumAttributeValidator
@@ -101,6 +107,8 @@ module UltracartClient
101
107
  :'sentiment' => :'sentiment',
102
108
  :'start_dts' => :'start_dts',
103
109
  :'unread_messages' => :'unread_messages',
110
+ :'virtual_agent' => :'virtual_agent',
111
+ :'virtual_agent_cost' => :'virtual_agent_cost',
104
112
  :'visible' => :'visible'
105
113
  }
106
114
  end
@@ -126,6 +134,8 @@ module UltracartClient
126
134
  :'sentiment' => :'ConversationSentiment',
127
135
  :'start_dts' => :'String',
128
136
  :'unread_messages' => :'BOOLEAN',
137
+ :'virtual_agent' => :'BOOLEAN',
138
+ :'virtual_agent_cost' => :'Float',
129
139
  :'visible' => :'BOOLEAN'
130
140
  }
131
141
  end
@@ -214,6 +224,14 @@ module UltracartClient
214
224
  self.unread_messages = attributes[:'unread_messages']
215
225
  end
216
226
 
227
+ if attributes.has_key?(:'virtual_agent')
228
+ self.virtual_agent = attributes[:'virtual_agent']
229
+ end
230
+
231
+ if attributes.has_key?(:'virtual_agent_cost')
232
+ self.virtual_agent_cost = attributes[:'virtual_agent_cost']
233
+ end
234
+
217
235
  if attributes.has_key?(:'visible')
218
236
  self.visible = attributes[:'visible']
219
237
  end
@@ -267,6 +285,8 @@ module UltracartClient
267
285
  sentiment == o.sentiment &&
268
286
  start_dts == o.start_dts &&
269
287
  unread_messages == o.unread_messages &&
288
+ virtual_agent == o.virtual_agent &&
289
+ virtual_agent_cost == o.virtual_agent_cost &&
270
290
  visible == o.visible
271
291
  end
272
292
 
@@ -279,7 +299,7 @@ module UltracartClient
279
299
  # Calculates hash code according to all attributes.
280
300
  # @return [Fixnum] Hash code
281
301
  def hash
282
- [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
302
+ [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
283
303
  end
284
304
 
285
305
  # Builds the object from hash
@@ -20,6 +20,9 @@ module UltracartClient
20
20
  # Exclude from free promotion
21
21
  attr_accessor :exclude_from_free_promotion
22
22
 
23
+ # Exclude from loyalty. Must be set to true or false to save. Null is ignored for backwards SDK compatibility
24
+ attr_accessor :exclude_from_loyalty
25
+
23
26
  # Items
24
27
  attr_accessor :items
25
28
 
@@ -43,6 +46,7 @@ module UltracartClient
43
46
  {
44
47
  :'exclude_coupon' => :'exclude_coupon',
45
48
  :'exclude_from_free_promotion' => :'exclude_from_free_promotion',
49
+ :'exclude_from_loyalty' => :'exclude_from_loyalty',
46
50
  :'items' => :'items',
47
51
  :'maximum_quantity' => :'maximum_quantity',
48
52
  :'minimum_quantity' => :'minimum_quantity',
@@ -57,6 +61,7 @@ module UltracartClient
57
61
  {
58
62
  :'exclude_coupon' => :'BOOLEAN',
59
63
  :'exclude_from_free_promotion' => :'BOOLEAN',
64
+ :'exclude_from_loyalty' => :'BOOLEAN',
60
65
  :'items' => :'Array<ItemRestrictionItem>',
61
66
  :'maximum_quantity' => :'Integer',
62
67
  :'minimum_quantity' => :'Integer',
@@ -82,6 +87,10 @@ module UltracartClient
82
87
  self.exclude_from_free_promotion = attributes[:'exclude_from_free_promotion']
83
88
  end
84
89
 
90
+ if attributes.has_key?(:'exclude_from_loyalty')
91
+ self.exclude_from_loyalty = attributes[:'exclude_from_loyalty']
92
+ end
93
+
85
94
  if attributes.has_key?(:'items')
86
95
  if (value = attributes[:'items']).is_a?(Array)
87
96
  self.items = value
@@ -129,6 +138,7 @@ module UltracartClient
129
138
  self.class == o.class &&
130
139
  exclude_coupon == o.exclude_coupon &&
131
140
  exclude_from_free_promotion == o.exclude_from_free_promotion &&
141
+ exclude_from_loyalty == o.exclude_from_loyalty &&
132
142
  items == o.items &&
133
143
  maximum_quantity == o.maximum_quantity &&
134
144
  minimum_quantity == o.minimum_quantity &&
@@ -146,7 +156,7 @@ module UltracartClient
146
156
  # Calculates hash code according to all attributes.
147
157
  # @return [Fixnum] Hash code
148
158
  def hash
149
- [exclude_coupon, exclude_from_free_promotion, items, maximum_quantity, minimum_quantity, multiple_quantity, one_per_customer, purchase_separately].hash
159
+ [exclude_coupon, exclude_from_free_promotion, exclude_from_loyalty, items, maximum_quantity, minimum_quantity, multiple_quantity, one_per_customer, purchase_separately].hash
150
160
  end
151
161
 
152
162
  # Builds the object from hash
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.15-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '3.11.12'
14
+ VERSION = '3.11.13'
15
15
  end
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.12
4
+ version: 3.11.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-19 00:00:00.000000000 Z
11
+ date: 2025-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus