ultracart_api 4.0.92.rc → 4.0.93.rc
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 +5 -4
- data/docs/CartCustomerProfile.md +3 -1
- data/docs/ConversationWebchatContext.md +2 -0
- data/lib/ultracart_api/models/cart_customer_profile.rb +12 -2
- data/lib/ultracart_api/models/conversation_webchat_context.rb +11 -1
- data/lib/ultracart_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ae6c862aed3a7283b66faa351ca71189ad7cec45e2a1f5ed11ffedbd761bdbfa
|
|
4
|
+
data.tar.gz: d3f497b94a22839f348d1a1d0fba9f014cc6659288bfe6c94ef2456144ee2d3a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bb36a6bab8d9c31d380f80402ebf3df90b287f41568d911cc29016d39b9035849f016908ae2e0ffb8dd3b57e3beba65c5a132425e1d018ed683b16fad6b36af9
|
|
7
|
+
data.tar.gz: ec84c5ca334ed8892a80394f7c8b74aa4dcd1046b4a74ae64126726fa7eb3c3451432a02ba31ada050caf582af82588af6a2e64eacc8e61ed6a11ca7e30750d6
|
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.93.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.93.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.93.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.93.rc'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -1236,6 +1236,7 @@ Not every change is committed to every SDK.
|
|
|
1236
1236
|
|
|
1237
1237
|
| Version | Date | Comments |
|
|
1238
1238
|
| --: | :-: | --- |
|
|
1239
|
+
| 4.0.93-RC | 12/06/2022 | convo - add session_start_dts to webchat context, cart - add customer_profile.signup_dts |
|
|
1239
1240
|
| 4.0.92-RC | 12/06/2022 | customer api - expose edi information and editor values |
|
|
1240
1241
|
| 4.0.91-RC | 12/02/2022 | conversations - customer last unresponded dts |
|
|
1241
1242
|
| 4.0.90-RC | 11/30/2022 | conversations - add order and auto order information to webchat context |
|
data/docs/CartCustomerProfile.md
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
| **email** | **String** | Email | [optional] |
|
|
16
16
|
| **fedex_account_number** | **String** | FedEx account number on file | [optional] |
|
|
17
17
|
| **free_shipping** | **Boolean** | True if this profile always qualifies for free shipping | [optional] |
|
|
18
|
-
| **free_shipping_minimum** | **Float** | The minimum
|
|
18
|
+
| **free_shipping_minimum** | **Float** | The minimum amount that this profile has to purchase to qualify for free shipping | [optional] |
|
|
19
19
|
| **maximum_item_count** | **Integer** | Maximum item count this profile can purchase | [optional] |
|
|
20
20
|
| **minimum_item_count** | **Integer** | Minimum item count this profile must purchase | [optional] |
|
|
21
21
|
| **minimum_subtotal** | **Float** | Minimum subtotal this profile must purchase | [optional] |
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
| **no_realtime_charge** | **Boolean** | True if this customers orders are not charged in real-time | [optional] |
|
|
25
25
|
| **pricing_tiers** | **Array<String>** | Pricing tier names this profile qualifies for | [optional] |
|
|
26
26
|
| **shipping_addresses** | [**Array<CartCustomerProfileAddress>**](CartCustomerProfileAddress.md) | Shipping addresses on file for this profile | [optional] |
|
|
27
|
+
| **signup_dts** | **String** | Signup date | [optional] |
|
|
27
28
|
| **tax_exempt** | **Boolean** | True if this profile is exempt from sales tax | [optional] |
|
|
28
29
|
| **ups_account_number** | **String** | UPS account number on file | [optional] |
|
|
29
30
|
|
|
@@ -53,6 +54,7 @@ instance = UltracartClient::CartCustomerProfile.new(
|
|
|
53
54
|
no_realtime_charge: null,
|
|
54
55
|
pricing_tiers: null,
|
|
55
56
|
shipping_addresses: null,
|
|
57
|
+
signup_dts: null,
|
|
56
58
|
tax_exempt: null,
|
|
57
59
|
ups_account_number: null
|
|
58
60
|
)
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
| **orders** | [**Array<Order>**](Order.md) | | [optional] |
|
|
11
11
|
| **page_view** | [**Array<HitPageView>**](HitPageView.md) | | [optional] |
|
|
12
12
|
| **session_start** | [**HitSessionStart**](HitSessionStart.md) | | [optional] |
|
|
13
|
+
| **session_start_dts** | **String** | Date/time that the session was started (if known) | [optional] |
|
|
13
14
|
| **session_utm** | [**HitSessionUtm**](HitSessionUtm.md) | | [optional] |
|
|
14
15
|
|
|
15
16
|
## Example
|
|
@@ -24,6 +25,7 @@ instance = UltracartClient::ConversationWebchatContext.new(
|
|
|
24
25
|
orders: null,
|
|
25
26
|
page_view: null,
|
|
26
27
|
session_start: null,
|
|
28
|
+
session_start_dts: null,
|
|
27
29
|
session_utm: null
|
|
28
30
|
)
|
|
29
31
|
```
|
|
@@ -48,7 +48,7 @@ module UltracartClient
|
|
|
48
48
|
# True if this profile always qualifies for free shipping
|
|
49
49
|
attr_accessor :free_shipping
|
|
50
50
|
|
|
51
|
-
# The minimum
|
|
51
|
+
# The minimum amount that this profile has to purchase to qualify for free shipping
|
|
52
52
|
attr_accessor :free_shipping_minimum
|
|
53
53
|
|
|
54
54
|
# Maximum item count this profile can purchase
|
|
@@ -75,6 +75,9 @@ module UltracartClient
|
|
|
75
75
|
# Shipping addresses on file for this profile
|
|
76
76
|
attr_accessor :shipping_addresses
|
|
77
77
|
|
|
78
|
+
# Signup date
|
|
79
|
+
attr_accessor :signup_dts
|
|
80
|
+
|
|
78
81
|
# True if this profile is exempt from sales tax
|
|
79
82
|
attr_accessor :tax_exempt
|
|
80
83
|
|
|
@@ -104,6 +107,7 @@ module UltracartClient
|
|
|
104
107
|
:'no_realtime_charge' => :'no_realtime_charge',
|
|
105
108
|
:'pricing_tiers' => :'pricing_tiers',
|
|
106
109
|
:'shipping_addresses' => :'shipping_addresses',
|
|
110
|
+
:'signup_dts' => :'signup_dts',
|
|
107
111
|
:'tax_exempt' => :'tax_exempt',
|
|
108
112
|
:'ups_account_number' => :'ups_account_number'
|
|
109
113
|
}
|
|
@@ -137,6 +141,7 @@ module UltracartClient
|
|
|
137
141
|
:'no_realtime_charge' => :'Boolean',
|
|
138
142
|
:'pricing_tiers' => :'Array<String>',
|
|
139
143
|
:'shipping_addresses' => :'Array<CartCustomerProfileAddress>',
|
|
144
|
+
:'signup_dts' => :'String',
|
|
140
145
|
:'tax_exempt' => :'Boolean',
|
|
141
146
|
:'ups_account_number' => :'String'
|
|
142
147
|
}
|
|
@@ -251,6 +256,10 @@ module UltracartClient
|
|
|
251
256
|
end
|
|
252
257
|
end
|
|
253
258
|
|
|
259
|
+
if attributes.key?(:'signup_dts')
|
|
260
|
+
self.signup_dts = attributes[:'signup_dts']
|
|
261
|
+
end
|
|
262
|
+
|
|
254
263
|
if attributes.key?(:'tax_exempt')
|
|
255
264
|
self.tax_exempt = attributes[:'tax_exempt']
|
|
256
265
|
end
|
|
@@ -298,6 +307,7 @@ module UltracartClient
|
|
|
298
307
|
no_realtime_charge == o.no_realtime_charge &&
|
|
299
308
|
pricing_tiers == o.pricing_tiers &&
|
|
300
309
|
shipping_addresses == o.shipping_addresses &&
|
|
310
|
+
signup_dts == o.signup_dts &&
|
|
301
311
|
tax_exempt == o.tax_exempt &&
|
|
302
312
|
ups_account_number == o.ups_account_number
|
|
303
313
|
end
|
|
@@ -311,7 +321,7 @@ module UltracartClient
|
|
|
311
321
|
# Calculates hash code according to all attributes.
|
|
312
322
|
# @return [Integer] Hash code
|
|
313
323
|
def hash
|
|
314
|
-
[allow_3rd_party_billing, allow_cod, allow_purchase_order, billing_addresses, credit_cards, customer_profile_oid, dhl_account_number, dhl_duty_account_number, email, fedex_account_number, free_shipping, free_shipping_minimum, maximum_item_count, minimum_item_count, minimum_subtotal, no_coupons, no_free_shipping, no_realtime_charge, pricing_tiers, shipping_addresses, tax_exempt, ups_account_number].hash
|
|
324
|
+
[allow_3rd_party_billing, allow_cod, allow_purchase_order, billing_addresses, credit_cards, customer_profile_oid, dhl_account_number, dhl_duty_account_number, email, fedex_account_number, free_shipping, free_shipping_minimum, maximum_item_count, minimum_item_count, minimum_subtotal, no_coupons, no_free_shipping, no_realtime_charge, pricing_tiers, shipping_addresses, signup_dts, tax_exempt, ups_account_number].hash
|
|
315
325
|
end
|
|
316
326
|
|
|
317
327
|
# Builds the object from hash
|
|
@@ -27,6 +27,9 @@ module UltracartClient
|
|
|
27
27
|
|
|
28
28
|
attr_accessor :session_start
|
|
29
29
|
|
|
30
|
+
# Date/time that the session was started (if known)
|
|
31
|
+
attr_accessor :session_start_dts
|
|
32
|
+
|
|
30
33
|
attr_accessor :session_utm
|
|
31
34
|
|
|
32
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -38,6 +41,7 @@ module UltracartClient
|
|
|
38
41
|
:'orders' => :'orders',
|
|
39
42
|
:'page_view' => :'page_view',
|
|
40
43
|
:'session_start' => :'session_start',
|
|
44
|
+
:'session_start_dts' => :'session_start_dts',
|
|
41
45
|
:'session_utm' => :'session_utm'
|
|
42
46
|
}
|
|
43
47
|
end
|
|
@@ -56,6 +60,7 @@ module UltracartClient
|
|
|
56
60
|
:'orders' => :'Array<Order>',
|
|
57
61
|
:'page_view' => :'Array<HitPageView>',
|
|
58
62
|
:'session_start' => :'HitSessionStart',
|
|
63
|
+
:'session_start_dts' => :'String',
|
|
59
64
|
:'session_utm' => :'HitSessionUtm'
|
|
60
65
|
}
|
|
61
66
|
end
|
|
@@ -111,6 +116,10 @@ module UltracartClient
|
|
|
111
116
|
self.session_start = attributes[:'session_start']
|
|
112
117
|
end
|
|
113
118
|
|
|
119
|
+
if attributes.key?(:'session_start_dts')
|
|
120
|
+
self.session_start_dts = attributes[:'session_start_dts']
|
|
121
|
+
end
|
|
122
|
+
|
|
114
123
|
if attributes.key?(:'session_utm')
|
|
115
124
|
self.session_utm = attributes[:'session_utm']
|
|
116
125
|
end
|
|
@@ -140,6 +149,7 @@ module UltracartClient
|
|
|
140
149
|
orders == o.orders &&
|
|
141
150
|
page_view == o.page_view &&
|
|
142
151
|
session_start == o.session_start &&
|
|
152
|
+
session_start_dts == o.session_start_dts &&
|
|
143
153
|
session_utm == o.session_utm
|
|
144
154
|
end
|
|
145
155
|
|
|
@@ -152,7 +162,7 @@ module UltracartClient
|
|
|
152
162
|
# Calculates hash code according to all attributes.
|
|
153
163
|
# @return [Integer] Hash code
|
|
154
164
|
def hash
|
|
155
|
-
[auto_orders, cart, current_url, orders, page_view, session_start, session_utm].hash
|
|
165
|
+
[auto_orders, cart, current_url, orders, page_view, session_start, session_start_dts, session_utm].hash
|
|
156
166
|
end
|
|
157
167
|
|
|
158
168
|
# Builds the object from hash
|