ultracart_api 4.0.92.rc → 4.0.94.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/CartCustomerProfile.md +3 -1
- data/docs/ConversationWebchatContext.md +2 -0
- data/docs/EmailSegment.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/models/email_segment.rb +11 -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: 345dfbd650f7482716965b7a524e0a541905c7452d61b6fcf6b25217ba8722fc
|
4
|
+
data.tar.gz: f8fcc2cfc62e8335ae3ed187737999d4054a3601435cb27619cb7c1a02908802
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b42a58503acef5e404e1acdb37c458f25b9160eda970c257a0f8d9c152114211b7b77dfd3a8426b9854750536108ef110df04ef0d259cd6072fc3b2f37d5a24
|
7
|
+
data.tar.gz: e151789a9cf8d44a2abb0be910a989c87ce9a185d2787995199f80a5f0451a18218b03484fbbf95fbb6cb7062490b387103f6c9920626f6f091b2ac7aa2898c0
|
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.94.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.94.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.94.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.94.rc'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -1236,6 +1236,8 @@ Not every change is committed to every SDK.
|
|
1236
1236
|
|
1237
1237
|
| Version | Date | Comments |
|
1238
1238
|
| --: | :-: | --- |
|
1239
|
+
| 4.0.94-RC | 12/08/2022 | communications - expose the rebuild percentage |
|
1240
|
+
| 4.0.93-RC | 12/06/2022 | convo - add session_start_dts to webchat context, cart - add customer_profile.signup_dts |
|
1239
1241
|
| 4.0.92-RC | 12/06/2022 | customer api - expose edi information and editor values |
|
1240
1242
|
| 4.0.91-RC | 12/02/2022 | conversations - customer last unresponded dts |
|
1241
1243
|
| 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
|
```
|
data/docs/EmailSegment.md
CHANGED
@@ -16,6 +16,7 @@
|
|
16
16
|
| **merchant_id** | **String** | Merchant ID | [optional] |
|
17
17
|
| **name** | **String** | Name of email segment | [optional] |
|
18
18
|
| **rank_json** | **String** | Rank settings json | [optional] |
|
19
|
+
| **rebuild_percentage** | **Float** | Percentage of completion for a rebuild. The value range will be 0-1. Multiply by 100 to format for display. | [optional] |
|
19
20
|
| **rebuild_required** | **Boolean** | True if a rebuild is required because some part of the segment has changed | [optional] |
|
20
21
|
| **storefront_oid** | **Integer** | Storefront oid | [optional] |
|
21
22
|
| **thirdparty_join_add_tags** | **Array<String>** | Third party provider tags to add when a customer joins the segment. | [optional] |
|
@@ -44,6 +45,7 @@ instance = UltracartClient::EmailSegment.new(
|
|
44
45
|
merchant_id: null,
|
45
46
|
name: null,
|
46
47
|
rank_json: null,
|
48
|
+
rebuild_percentage: null,
|
47
49
|
rebuild_required: null,
|
48
50
|
storefront_oid: null,
|
49
51
|
thirdparty_join_add_tags: null,
|
@@ -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
|
@@ -51,6 +51,9 @@ module UltracartClient
|
|
51
51
|
# Rank settings json
|
52
52
|
attr_accessor :rank_json
|
53
53
|
|
54
|
+
# Percentage of completion for a rebuild. The value range will be 0-1. Multiply by 100 to format for display.
|
55
|
+
attr_accessor :rebuild_percentage
|
56
|
+
|
54
57
|
# True if a rebuild is required because some part of the segment has changed
|
55
58
|
attr_accessor :rebuild_required
|
56
59
|
|
@@ -93,6 +96,7 @@ module UltracartClient
|
|
93
96
|
:'merchant_id' => :'merchant_id',
|
94
97
|
:'name' => :'name',
|
95
98
|
:'rank_json' => :'rank_json',
|
99
|
+
:'rebuild_percentage' => :'rebuild_percentage',
|
96
100
|
:'rebuild_required' => :'rebuild_required',
|
97
101
|
:'storefront_oid' => :'storefront_oid',
|
98
102
|
:'thirdparty_join_add_tags' => :'thirdparty_join_add_tags',
|
@@ -125,6 +129,7 @@ module UltracartClient
|
|
125
129
|
:'merchant_id' => :'String',
|
126
130
|
:'name' => :'String',
|
127
131
|
:'rank_json' => :'String',
|
132
|
+
:'rebuild_percentage' => :'Float',
|
128
133
|
:'rebuild_required' => :'Boolean',
|
129
134
|
:'storefront_oid' => :'Integer',
|
130
135
|
:'thirdparty_join_add_tags' => :'Array<String>',
|
@@ -206,6 +211,10 @@ module UltracartClient
|
|
206
211
|
self.rank_json = attributes[:'rank_json']
|
207
212
|
end
|
208
213
|
|
214
|
+
if attributes.key?(:'rebuild_percentage')
|
215
|
+
self.rebuild_percentage = attributes[:'rebuild_percentage']
|
216
|
+
end
|
217
|
+
|
209
218
|
if attributes.key?(:'rebuild_required')
|
210
219
|
self.rebuild_required = attributes[:'rebuild_required']
|
211
220
|
end
|
@@ -298,6 +307,7 @@ module UltracartClient
|
|
298
307
|
merchant_id == o.merchant_id &&
|
299
308
|
name == o.name &&
|
300
309
|
rank_json == o.rank_json &&
|
310
|
+
rebuild_percentage == o.rebuild_percentage &&
|
301
311
|
rebuild_required == o.rebuild_required &&
|
302
312
|
storefront_oid == o.storefront_oid &&
|
303
313
|
thirdparty_join_add_tags == o.thirdparty_join_add_tags &&
|
@@ -318,7 +328,7 @@ module UltracartClient
|
|
318
328
|
# Calculates hash code according to all attributes.
|
319
329
|
# @return [Integer] Hash code
|
320
330
|
def hash
|
321
|
-
[allow_csv_download, allow_facebook_audiences, created_dts, deleted, email_segment_uuid, esp_list_segment_folder_uuid, facebook_custom_audience, filter_profile_equation_json, member_count, merchant_id, name, rank_json, rebuild_required, storefront_oid, thirdparty_join_add_tags, thirdparty_join_remove_tags, thirdparty_leave_add_tags, thirdparty_leave_remove_tags, thirdparty_list_id, thirdparty_provider_name, used_by].hash
|
331
|
+
[allow_csv_download, allow_facebook_audiences, created_dts, deleted, email_segment_uuid, esp_list_segment_folder_uuid, facebook_custom_audience, filter_profile_equation_json, member_count, merchant_id, name, rank_json, rebuild_percentage, rebuild_required, storefront_oid, thirdparty_join_add_tags, thirdparty_join_remove_tags, thirdparty_leave_add_tags, thirdparty_leave_remove_tags, thirdparty_list_id, thirdparty_provider_name, used_by].hash
|
322
332
|
end
|
323
333
|
|
324
334
|
# 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.94.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-12-
|
11
|
+
date: 2022-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|