ultracart_api 3.10.72 → 3.10.74

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a23cf90af37f343bfa79e47b903d3ba2bb171456e8f9b8bc6e2da4cb436806da
4
- data.tar.gz: 6934ff83c022f9ab12072850e831ae87872138cc066cc8b6ab80a3c7b83debd5
3
+ metadata.gz: 795509c775e549ec21470723b95b3281bfef9774f98fbd1274c15b5f68be9a8e
4
+ data.tar.gz: 1e7fa410b20512c29fe53339d1d155bc83771bde4326250da20f848bb6d97ba9
5
5
  SHA512:
6
- metadata.gz: d89fc6270427f74a77797c57e1f8262d29628c6647ffac2cd79583f1d467467d8e41bd7945c26990bbca4686f7a282282bc5a9f763622833ed575c06c1f3e755
7
- data.tar.gz: 654c0c2e4dbe086109db9ad680a03a17e1f0af6c28c482bbc07a7ea68e1a8380c55caa9b1cc289c310d40d59c110040df4f46a0e3fcbc6ac19673f0740aa25b1
6
+ metadata.gz: af643b839f56f518ba0479ec3831046e67d1a2d5a40fdafa65792d777b082927e2fa4562a8a0947d6c16b439ccf4ac2fd89dc93aa95873323f2548a53d06f317
7
+ data.tar.gz: 2ac4b0d11bea4cd3434b3d0cbd2be798f0874de7883e6694ecc9ca8f4c634a2ac8f374dee44b564b06480e5bdfbb6ad23bce9981767dfc16dfc38592abf9950e
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.10.72
10
+ - Package version: 3.10.74
11
11
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
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.10.72.gem
27
+ gem install ./ultracart_api-3.10.74.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.10.72.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.10.74.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.10.72'
35
+ gem 'ultracart_api', '~> 3.10.74'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -1225,6 +1225,8 @@ Not every change is committed to every SDK.
1225
1225
 
1226
1226
  | Version | Date | Comments |
1227
1227
  | --: | :-: | --- |
1228
+ | 3.10.74 | 12/02/2022 | conversations - customer last unresponded dts |
1229
+ | 3.10.73 | 11/30/2022 | conversations - add order and auto order information to webchat context |
1228
1230
  | 3.10.72 | 11/30/2022 | order item - addl fields for linking kits to kit components |
1229
1231
  | 3.10.71 | 11/29/2022 | converstation marked convo read method |
1230
1232
  | 3.10.70 | 11/21/2022 | coupon - addl optional minimums for percent off msrp items coupon |
data/docs/Conversation.md CHANGED
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
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]
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
6
6
  **closed** | **BOOLEAN** | | [optional]
7
7
  **conversation_arn** | **String** | | [optional]
8
8
  **conversation_uuid** | **String** | | [optional]
9
+ **customer_first_message_unresponded_to_dts** | **String** | Date/time of the first customer message that is unresponded to. | [optional]
9
10
  **last_conversation_message_body** | **String** | | [optional]
10
11
  **last_conversation_participant_arn** | **String** | | [optional]
11
12
  **last_conversation_participant_name** | **String** | | [optional]
@@ -3,8 +3,10 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
+ **auto_orders** | [**Array<AutoOrder>**](AutoOrder.md) | | [optional]
6
7
  **cart** | [**Cart**](Cart.md) | | [optional]
7
8
  **current_url** | **String** | | [optional]
9
+ **orders** | [**Array<Order>**](Order.md) | | [optional]
8
10
  **page_view** | [**Array<HitPageView>**](HitPageView.md) | | [optional]
9
11
  **session_start** | [**HitSessionStart**](HitSessionStart.md) | | [optional]
10
12
  **session_utm** | [**HitSessionUtm**](HitSessionUtm.md) | | [optional]
@@ -23,6 +23,9 @@ module UltracartClient
23
23
 
24
24
  attr_accessor :conversation_uuid
25
25
 
26
+ # Date/time of the first customer message that is unresponded to.
27
+ attr_accessor :customer_first_message_unresponded_to_dts
28
+
26
29
  attr_accessor :last_conversation_message_body
27
30
 
28
31
  attr_accessor :last_conversation_participant_arn
@@ -82,6 +85,7 @@ module UltracartClient
82
85
  :'closed' => :'closed',
83
86
  :'conversation_arn' => :'conversation_arn',
84
87
  :'conversation_uuid' => :'conversation_uuid',
88
+ :'customer_first_message_unresponded_to_dts' => :'customer_first_message_unresponded_to_dts',
85
89
  :'last_conversation_message_body' => :'last_conversation_message_body',
86
90
  :'last_conversation_participant_arn' => :'last_conversation_participant_arn',
87
91
  :'last_conversation_participant_name' => :'last_conversation_participant_name',
@@ -105,6 +109,7 @@ module UltracartClient
105
109
  :'closed' => :'BOOLEAN',
106
110
  :'conversation_arn' => :'String',
107
111
  :'conversation_uuid' => :'String',
112
+ :'customer_first_message_unresponded_to_dts' => :'String',
108
113
  :'last_conversation_message_body' => :'String',
109
114
  :'last_conversation_participant_arn' => :'String',
110
115
  :'last_conversation_participant_name' => :'String',
@@ -145,6 +150,10 @@ module UltracartClient
145
150
  self.conversation_uuid = attributes[:'conversation_uuid']
146
151
  end
147
152
 
153
+ if attributes.has_key?(:'customer_first_message_unresponded_to_dts')
154
+ self.customer_first_message_unresponded_to_dts = attributes[:'customer_first_message_unresponded_to_dts']
155
+ end
156
+
148
157
  if attributes.has_key?(:'last_conversation_message_body')
149
158
  self.last_conversation_message_body = attributes[:'last_conversation_message_body']
150
159
  end
@@ -236,6 +245,7 @@ module UltracartClient
236
245
  closed == o.closed &&
237
246
  conversation_arn == o.conversation_arn &&
238
247
  conversation_uuid == o.conversation_uuid &&
248
+ customer_first_message_unresponded_to_dts == o.customer_first_message_unresponded_to_dts &&
239
249
  last_conversation_message_body == o.last_conversation_message_body &&
240
250
  last_conversation_participant_arn == o.last_conversation_participant_arn &&
241
251
  last_conversation_participant_name == o.last_conversation_participant_name &&
@@ -260,7 +270,7 @@ module UltracartClient
260
270
  # Calculates hash code according to all attributes.
261
271
  # @return [Fixnum] Hash code
262
272
  def hash
263
- [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
273
+ [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
264
274
  end
265
275
 
266
276
  # Builds the object from hash
@@ -20,6 +20,9 @@ module UltracartClient
20
20
 
21
21
  attr_accessor :conversation_uuid
22
22
 
23
+ # Date/time of the first customer message that is unresponded to.
24
+ attr_accessor :customer_first_message_unresponded_to_dts
25
+
23
26
  attr_accessor :last_conversation_message_body
24
27
 
25
28
  attr_accessor :last_conversation_participant_arn
@@ -76,6 +79,7 @@ module UltracartClient
76
79
  :'closed' => :'closed',
77
80
  :'conversation_arn' => :'conversation_arn',
78
81
  :'conversation_uuid' => :'conversation_uuid',
82
+ :'customer_first_message_unresponded_to_dts' => :'customer_first_message_unresponded_to_dts',
79
83
  :'last_conversation_message_body' => :'last_conversation_message_body',
80
84
  :'last_conversation_participant_arn' => :'last_conversation_participant_arn',
81
85
  :'last_conversation_participant_name' => :'last_conversation_participant_name',
@@ -97,6 +101,7 @@ module UltracartClient
97
101
  :'closed' => :'BOOLEAN',
98
102
  :'conversation_arn' => :'String',
99
103
  :'conversation_uuid' => :'String',
104
+ :'customer_first_message_unresponded_to_dts' => :'String',
100
105
  :'last_conversation_message_body' => :'String',
101
106
  :'last_conversation_participant_arn' => :'String',
102
107
  :'last_conversation_participant_name' => :'String',
@@ -132,6 +137,10 @@ module UltracartClient
132
137
  self.conversation_uuid = attributes[:'conversation_uuid']
133
138
  end
134
139
 
140
+ if attributes.has_key?(:'customer_first_message_unresponded_to_dts')
141
+ self.customer_first_message_unresponded_to_dts = attributes[:'customer_first_message_unresponded_to_dts']
142
+ end
143
+
135
144
  if attributes.has_key?(:'last_conversation_message_body')
136
145
  self.last_conversation_message_body = attributes[:'last_conversation_message_body']
137
146
  end
@@ -216,6 +225,7 @@ module UltracartClient
216
225
  closed == o.closed &&
217
226
  conversation_arn == o.conversation_arn &&
218
227
  conversation_uuid == o.conversation_uuid &&
228
+ customer_first_message_unresponded_to_dts == o.customer_first_message_unresponded_to_dts &&
219
229
  last_conversation_message_body == o.last_conversation_message_body &&
220
230
  last_conversation_participant_arn == o.last_conversation_participant_arn &&
221
231
  last_conversation_participant_name == o.last_conversation_participant_name &&
@@ -239,7 +249,7 @@ module UltracartClient
239
249
  # Calculates hash code according to all attributes.
240
250
  # @return [Fixnum] Hash code
241
251
  def hash
242
- [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
252
+ [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
243
253
  end
244
254
 
245
255
  # Builds the object from hash
@@ -14,10 +14,14 @@ require 'date'
14
14
 
15
15
  module UltracartClient
16
16
  class ConversationWebchatContext
17
+ attr_accessor :auto_orders
18
+
17
19
  attr_accessor :cart
18
20
 
19
21
  attr_accessor :current_url
20
22
 
23
+ attr_accessor :orders
24
+
21
25
  attr_accessor :page_view
22
26
 
23
27
  attr_accessor :session_start
@@ -27,8 +31,10 @@ module UltracartClient
27
31
  # Attribute mapping from ruby-style variable name to JSON key.
28
32
  def self.attribute_map
29
33
  {
34
+ :'auto_orders' => :'auto_orders',
30
35
  :'cart' => :'cart',
31
36
  :'current_url' => :'current_url',
37
+ :'orders' => :'orders',
32
38
  :'page_view' => :'page_view',
33
39
  :'session_start' => :'session_start',
34
40
  :'session_utm' => :'session_utm'
@@ -38,8 +44,10 @@ module UltracartClient
38
44
  # Attribute type mapping.
39
45
  def self.swagger_types
40
46
  {
47
+ :'auto_orders' => :'Array<AutoOrder>',
41
48
  :'cart' => :'Cart',
42
49
  :'current_url' => :'String',
50
+ :'orders' => :'Array<Order>',
43
51
  :'page_view' => :'Array<HitPageView>',
44
52
  :'session_start' => :'HitSessionStart',
45
53
  :'session_utm' => :'HitSessionUtm'
@@ -54,6 +62,12 @@ module UltracartClient
54
62
  # convert string to symbol for hash key
55
63
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
56
64
 
65
+ if attributes.has_key?(:'auto_orders')
66
+ if (value = attributes[:'auto_orders']).is_a?(Array)
67
+ self.auto_orders = value
68
+ end
69
+ end
70
+
57
71
  if attributes.has_key?(:'cart')
58
72
  self.cart = attributes[:'cart']
59
73
  end
@@ -62,6 +76,12 @@ module UltracartClient
62
76
  self.current_url = attributes[:'current_url']
63
77
  end
64
78
 
79
+ if attributes.has_key?(:'orders')
80
+ if (value = attributes[:'orders']).is_a?(Array)
81
+ self.orders = value
82
+ end
83
+ end
84
+
65
85
  if attributes.has_key?(:'page_view')
66
86
  if (value = attributes[:'page_view']).is_a?(Array)
67
87
  self.page_view = value
@@ -95,8 +115,10 @@ module UltracartClient
95
115
  def ==(o)
96
116
  return true if self.equal?(o)
97
117
  self.class == o.class &&
118
+ auto_orders == o.auto_orders &&
98
119
  cart == o.cart &&
99
120
  current_url == o.current_url &&
121
+ orders == o.orders &&
100
122
  page_view == o.page_view &&
101
123
  session_start == o.session_start &&
102
124
  session_utm == o.session_utm
@@ -111,7 +133,7 @@ module UltracartClient
111
133
  # Calculates hash code according to all attributes.
112
134
  # @return [Fixnum] Hash code
113
135
  def hash
114
- [cart, current_url, page_view, session_start, session_utm].hash
136
+ [auto_orders, cart, current_url, orders, page_view, session_start, session_utm].hash
115
137
  end
116
138
 
117
139
  # 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.10.72'
14
+ VERSION = '3.10.74'
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.10.72
4
+ version: 3.10.74
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-30 00:00:00.000000000 Z
11
+ date: 2022-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus