ultracart_api 4.0.89.rc → 4.0.91.rc
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -4
- data/docs/Conversation.md +2 -0
- data/docs/ConversationSummary.md +2 -0
- data/docs/ConversationWebchatContext.md +4 -0
- data/lib/ultracart_api/models/conversation.rb +11 -1
- data/lib/ultracart_api/models/conversation_summary.rb +11 -1
- data/lib/ultracart_api/models/conversation_webchat_context.rb +23 -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: 25e96decee5cbe02863dcc5160000d54e507905f01913e73db395dd3dafe38b7
|
4
|
+
data.tar.gz: d0234a670742c2e73a2ec200744a37bfbd8e196fce69c9c5ce84948de6e3e0e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e462ee027c6940f14e00e0ccb0d432243cbf7e25d4bd7b2e23d5e12fb45abc6d2f49acc44ca74733d8be1ecd087dacf6a9106898ba6fa1dd3fd93abac538e1f
|
7
|
+
data.tar.gz: 6f6188975dc9a196609a95b56ed5da4520204fd1b9b97223c36b68de3c5424cdd56b7e8fd3f64484994f229cb962fca2cc855a9648f6a93c2411f0db22784f56
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ UltraCart REST API Version 2
|
|
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.0.
|
10
|
+
- Package version: 4.0.91.rc
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build ultracart_api.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./ultracart_api-4.0.
|
27
|
+
gem install ./ultracart_api-4.0.91.rc.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./ultracart_api-4.0.
|
30
|
+
(for development, run `gem install --dev ./ultracart_api-4.0.91.rc.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'ultracart_api', '~> 4.0.
|
36
|
+
gem 'ultracart_api', '~> 4.0.91.rc'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -1234,6 +1234,8 @@ Not every change is committed to every SDK.
|
|
1234
1234
|
|
1235
1235
|
| Version | Date | Comments |
|
1236
1236
|
| --: | :-: | --- |
|
1237
|
+
| 4.0.91-RC | 12/02/2022 | conversations - customer last unresponded dts |
|
1238
|
+
| 4.0.90-RC | 11/30/2022 | conversations - add order and auto order information to webchat context |
|
1237
1239
|
| 4.0.89-RC | 11/30/2022 | order item - addl fields for linking kits to kit components |
|
1238
1240
|
| 4.0.88-RC | 11/29/2022 | converstation marked convo read method |
|
1239
1241
|
| 4.0.87-RC | 11/21/2022 | coupon - addl optional minimums for percent off msrp items coupon |
|
data/docs/Conversation.md
CHANGED
@@ -8,6 +8,7 @@
|
|
8
8
|
| **closed** | **Boolean** | | [optional] |
|
9
9
|
| **conversation_arn** | **String** | | [optional] |
|
10
10
|
| **conversation_uuid** | **String** | | [optional] |
|
11
|
+
| **customer_first_message_unresponded_to_dts** | **String** | Date/time of the first customer message that is unresponded to. | [optional] |
|
11
12
|
| **last_conversation_message_body** | **String** | | [optional] |
|
12
13
|
| **last_conversation_participant_arn** | **String** | | [optional] |
|
13
14
|
| **last_conversation_participant_name** | **String** | | [optional] |
|
@@ -32,6 +33,7 @@ instance = UltracartClient::Conversation.new(
|
|
32
33
|
closed: null,
|
33
34
|
conversation_arn: null,
|
34
35
|
conversation_uuid: null,
|
36
|
+
customer_first_message_unresponded_to_dts: null,
|
35
37
|
last_conversation_message_body: null,
|
36
38
|
last_conversation_participant_arn: null,
|
37
39
|
last_conversation_participant_name: null,
|
data/docs/ConversationSummary.md
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
| **closed** | **Boolean** | | [optional] |
|
8
8
|
| **conversation_arn** | **String** | | [optional] |
|
9
9
|
| **conversation_uuid** | **String** | | [optional] |
|
10
|
+
| **customer_first_message_unresponded_to_dts** | **String** | Date/time of the first customer message that is unresponded to. | [optional] |
|
10
11
|
| **last_conversation_message_body** | **String** | | [optional] |
|
11
12
|
| **last_conversation_participant_arn** | **String** | | [optional] |
|
12
13
|
| **last_conversation_participant_name** | **String** | | [optional] |
|
@@ -29,6 +30,7 @@ instance = UltracartClient::ConversationSummary.new(
|
|
29
30
|
closed: null,
|
30
31
|
conversation_arn: null,
|
31
32
|
conversation_uuid: null,
|
33
|
+
customer_first_message_unresponded_to_dts: null,
|
32
34
|
last_conversation_message_body: null,
|
33
35
|
last_conversation_participant_arn: null,
|
34
36
|
last_conversation_participant_name: null,
|
@@ -4,8 +4,10 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **auto_orders** | [**Array<AutoOrder>**](AutoOrder.md) | | [optional] |
|
7
8
|
| **cart** | [**Cart**](Cart.md) | | [optional] |
|
8
9
|
| **current_url** | **String** | | [optional] |
|
10
|
+
| **orders** | [**Array<Order>**](Order.md) | | [optional] |
|
9
11
|
| **page_view** | [**Array<HitPageView>**](HitPageView.md) | | [optional] |
|
10
12
|
| **session_start** | [**HitSessionStart**](HitSessionStart.md) | | [optional] |
|
11
13
|
| **session_utm** | [**HitSessionUtm**](HitSessionUtm.md) | | [optional] |
|
@@ -16,8 +18,10 @@
|
|
16
18
|
require 'ultracart_api'
|
17
19
|
|
18
20
|
instance = UltracartClient::ConversationWebchatContext.new(
|
21
|
+
auto_orders: null,
|
19
22
|
cart: null,
|
20
23
|
current_url: null,
|
24
|
+
orders: null,
|
21
25
|
page_view: null,
|
22
26
|
session_start: null,
|
23
27
|
session_utm: null
|
@@ -24,6 +24,9 @@ module UltracartClient
|
|
24
24
|
|
25
25
|
attr_accessor :conversation_uuid
|
26
26
|
|
27
|
+
# Date/time of the first customer message that is unresponded to.
|
28
|
+
attr_accessor :customer_first_message_unresponded_to_dts
|
29
|
+
|
27
30
|
attr_accessor :last_conversation_message_body
|
28
31
|
|
29
32
|
attr_accessor :last_conversation_participant_arn
|
@@ -83,6 +86,7 @@ module UltracartClient
|
|
83
86
|
:'closed' => :'closed',
|
84
87
|
:'conversation_arn' => :'conversation_arn',
|
85
88
|
:'conversation_uuid' => :'conversation_uuid',
|
89
|
+
:'customer_first_message_unresponded_to_dts' => :'customer_first_message_unresponded_to_dts',
|
86
90
|
:'last_conversation_message_body' => :'last_conversation_message_body',
|
87
91
|
:'last_conversation_participant_arn' => :'last_conversation_participant_arn',
|
88
92
|
:'last_conversation_participant_name' => :'last_conversation_participant_name',
|
@@ -111,6 +115,7 @@ module UltracartClient
|
|
111
115
|
:'closed' => :'Boolean',
|
112
116
|
:'conversation_arn' => :'String',
|
113
117
|
:'conversation_uuid' => :'String',
|
118
|
+
:'customer_first_message_unresponded_to_dts' => :'String',
|
114
119
|
:'last_conversation_message_body' => :'String',
|
115
120
|
:'last_conversation_participant_arn' => :'String',
|
116
121
|
:'last_conversation_participant_name' => :'String',
|
@@ -164,6 +169,10 @@ module UltracartClient
|
|
164
169
|
self.conversation_uuid = attributes[:'conversation_uuid']
|
165
170
|
end
|
166
171
|
|
172
|
+
if attributes.key?(:'customer_first_message_unresponded_to_dts')
|
173
|
+
self.customer_first_message_unresponded_to_dts = attributes[:'customer_first_message_unresponded_to_dts']
|
174
|
+
end
|
175
|
+
|
167
176
|
if attributes.key?(:'last_conversation_message_body')
|
168
177
|
self.last_conversation_message_body = attributes[:'last_conversation_message_body']
|
169
178
|
end
|
@@ -255,6 +264,7 @@ module UltracartClient
|
|
255
264
|
closed == o.closed &&
|
256
265
|
conversation_arn == o.conversation_arn &&
|
257
266
|
conversation_uuid == o.conversation_uuid &&
|
267
|
+
customer_first_message_unresponded_to_dts == o.customer_first_message_unresponded_to_dts &&
|
258
268
|
last_conversation_message_body == o.last_conversation_message_body &&
|
259
269
|
last_conversation_participant_arn == o.last_conversation_participant_arn &&
|
260
270
|
last_conversation_participant_name == o.last_conversation_participant_name &&
|
@@ -279,7 +289,7 @@ module UltracartClient
|
|
279
289
|
# Calculates hash code according to all attributes.
|
280
290
|
# @return [Integer] Hash code
|
281
291
|
def hash
|
282
|
-
[base_language_iso_code, closed, conversation_arn, conversation_uuid, 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, start_dts, unread_messages, visible].hash
|
292
|
+
[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, start_dts, unread_messages, visible].hash
|
283
293
|
end
|
284
294
|
|
285
295
|
# Builds the object from hash
|
@@ -21,6 +21,9 @@ module UltracartClient
|
|
21
21
|
|
22
22
|
attr_accessor :conversation_uuid
|
23
23
|
|
24
|
+
# Date/time of the first customer message that is unresponded to.
|
25
|
+
attr_accessor :customer_first_message_unresponded_to_dts
|
26
|
+
|
24
27
|
attr_accessor :last_conversation_message_body
|
25
28
|
|
26
29
|
attr_accessor :last_conversation_participant_arn
|
@@ -77,6 +80,7 @@ module UltracartClient
|
|
77
80
|
:'closed' => :'closed',
|
78
81
|
:'conversation_arn' => :'conversation_arn',
|
79
82
|
:'conversation_uuid' => :'conversation_uuid',
|
83
|
+
:'customer_first_message_unresponded_to_dts' => :'customer_first_message_unresponded_to_dts',
|
80
84
|
:'last_conversation_message_body' => :'last_conversation_message_body',
|
81
85
|
:'last_conversation_participant_arn' => :'last_conversation_participant_arn',
|
82
86
|
:'last_conversation_participant_name' => :'last_conversation_participant_name',
|
@@ -103,6 +107,7 @@ module UltracartClient
|
|
103
107
|
:'closed' => :'Boolean',
|
104
108
|
:'conversation_arn' => :'String',
|
105
109
|
:'conversation_uuid' => :'String',
|
110
|
+
:'customer_first_message_unresponded_to_dts' => :'String',
|
106
111
|
:'last_conversation_message_body' => :'String',
|
107
112
|
:'last_conversation_participant_arn' => :'String',
|
108
113
|
:'last_conversation_participant_name' => :'String',
|
@@ -151,6 +156,10 @@ module UltracartClient
|
|
151
156
|
self.conversation_uuid = attributes[:'conversation_uuid']
|
152
157
|
end
|
153
158
|
|
159
|
+
if attributes.key?(:'customer_first_message_unresponded_to_dts')
|
160
|
+
self.customer_first_message_unresponded_to_dts = attributes[:'customer_first_message_unresponded_to_dts']
|
161
|
+
end
|
162
|
+
|
154
163
|
if attributes.key?(:'last_conversation_message_body')
|
155
164
|
self.last_conversation_message_body = attributes[:'last_conversation_message_body']
|
156
165
|
end
|
@@ -235,6 +244,7 @@ module UltracartClient
|
|
235
244
|
closed == o.closed &&
|
236
245
|
conversation_arn == o.conversation_arn &&
|
237
246
|
conversation_uuid == o.conversation_uuid &&
|
247
|
+
customer_first_message_unresponded_to_dts == o.customer_first_message_unresponded_to_dts &&
|
238
248
|
last_conversation_message_body == o.last_conversation_message_body &&
|
239
249
|
last_conversation_participant_arn == o.last_conversation_participant_arn &&
|
240
250
|
last_conversation_participant_name == o.last_conversation_participant_name &&
|
@@ -258,7 +268,7 @@ module UltracartClient
|
|
258
268
|
# Calculates hash code according to all attributes.
|
259
269
|
# @return [Integer] Hash code
|
260
270
|
def hash
|
261
|
-
[closed, conversation_arn, conversation_uuid, last_conversation_message_body, last_conversation_participant_arn, last_conversation_participant_name, last_interactive_message_dts, last_message_dts, medium, merchant_id, message_count, participants, start_dts, unread_messages, visible].hash
|
271
|
+
[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, participants, start_dts, unread_messages, visible].hash
|
262
272
|
end
|
263
273
|
|
264
274
|
# Builds the object from hash
|
@@ -15,10 +15,14 @@ require 'time'
|
|
15
15
|
|
16
16
|
module UltracartClient
|
17
17
|
class ConversationWebchatContext
|
18
|
+
attr_accessor :auto_orders
|
19
|
+
|
18
20
|
attr_accessor :cart
|
19
21
|
|
20
22
|
attr_accessor :current_url
|
21
23
|
|
24
|
+
attr_accessor :orders
|
25
|
+
|
22
26
|
attr_accessor :page_view
|
23
27
|
|
24
28
|
attr_accessor :session_start
|
@@ -28,8 +32,10 @@ module UltracartClient
|
|
28
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
29
33
|
def self.attribute_map
|
30
34
|
{
|
35
|
+
:'auto_orders' => :'auto_orders',
|
31
36
|
:'cart' => :'cart',
|
32
37
|
:'current_url' => :'current_url',
|
38
|
+
:'orders' => :'orders',
|
33
39
|
:'page_view' => :'page_view',
|
34
40
|
:'session_start' => :'session_start',
|
35
41
|
:'session_utm' => :'session_utm'
|
@@ -44,8 +50,10 @@ module UltracartClient
|
|
44
50
|
# Attribute type mapping.
|
45
51
|
def self.openapi_types
|
46
52
|
{
|
53
|
+
:'auto_orders' => :'Array<AutoOrder>',
|
47
54
|
:'cart' => :'Cart',
|
48
55
|
:'current_url' => :'String',
|
56
|
+
:'orders' => :'Array<Order>',
|
49
57
|
:'page_view' => :'Array<HitPageView>',
|
50
58
|
:'session_start' => :'HitSessionStart',
|
51
59
|
:'session_utm' => :'HitSessionUtm'
|
@@ -73,6 +81,12 @@ module UltracartClient
|
|
73
81
|
h[k.to_sym] = v
|
74
82
|
}
|
75
83
|
|
84
|
+
if attributes.key?(:'auto_orders')
|
85
|
+
if (value = attributes[:'auto_orders']).is_a?(Array)
|
86
|
+
self.auto_orders = value
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
76
90
|
if attributes.key?(:'cart')
|
77
91
|
self.cart = attributes[:'cart']
|
78
92
|
end
|
@@ -81,6 +95,12 @@ module UltracartClient
|
|
81
95
|
self.current_url = attributes[:'current_url']
|
82
96
|
end
|
83
97
|
|
98
|
+
if attributes.key?(:'orders')
|
99
|
+
if (value = attributes[:'orders']).is_a?(Array)
|
100
|
+
self.orders = value
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
84
104
|
if attributes.key?(:'page_view')
|
85
105
|
if (value = attributes[:'page_view']).is_a?(Array)
|
86
106
|
self.page_view = value
|
@@ -114,8 +134,10 @@ module UltracartClient
|
|
114
134
|
def ==(o)
|
115
135
|
return true if self.equal?(o)
|
116
136
|
self.class == o.class &&
|
137
|
+
auto_orders == o.auto_orders &&
|
117
138
|
cart == o.cart &&
|
118
139
|
current_url == o.current_url &&
|
140
|
+
orders == o.orders &&
|
119
141
|
page_view == o.page_view &&
|
120
142
|
session_start == o.session_start &&
|
121
143
|
session_utm == o.session_utm
|
@@ -130,7 +152,7 @@ module UltracartClient
|
|
130
152
|
# Calculates hash code according to all attributes.
|
131
153
|
# @return [Integer] Hash code
|
132
154
|
def hash
|
133
|
-
[cart, current_url, page_view, session_start, session_utm].hash
|
155
|
+
[auto_orders, cart, current_url, orders, page_view, session_start, session_utm].hash
|
134
156
|
end
|
135
157
|
|
136
158
|
# 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.0.
|
4
|
+
version: 4.0.91.rc
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|