ultracart_api 3.10.72 → 3.10.73
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc14606b1afc57da9f86873291a29fcf6926727765ee8c27d1e537cadd739c09
|
4
|
+
data.tar.gz: dad1ffff57a1c4dda799f1331c2db1a39eeb166d160e49dbe70c79cb472b0f39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7ed042b8ef645836ae669da451b8e6aadd9eb70d47b549fc0f820c7fc48f012fc3b061afa77b799990fecc86ee1beda8d26d2c66439968a3761fd3c4ba5685a
|
7
|
+
data.tar.gz: 0dcc9c0cd37c901082c0df88a38abb5fed99cd9a98ee37e0d67227e49eebd5875d04baf042fdd0d26c094491bf85040a6b895e68e66bd2ab20212099df335f06
|
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.
|
10
|
+
- Package version: 3.10.73
|
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.
|
27
|
+
gem install ./ultracart_api-3.10.73.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.10.
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.10.73.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.
|
35
|
+
gem 'ultracart_api', '~> 3.10.73'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1225,6 +1225,7 @@ Not every change is committed to every SDK.
|
|
1225
1225
|
|
1226
1226
|
| Version | Date | Comments |
|
1227
1227
|
| --: | :-: | --- |
|
1228
|
+
| 3.10.73 | 11/30/2022 | conversations - add order and auto order information to webchat context |
|
1228
1229
|
| 3.10.72 | 11/30/2022 | order item - addl fields for linking kits to kit components |
|
1229
1230
|
| 3.10.71 | 11/29/2022 | converstation marked convo read method |
|
1230
1231
|
| 3.10.70 | 11/21/2022 | coupon - addl optional minimums for percent off msrp items coupon |
|
@@ -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]
|
@@ -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
|