ultracart_api 3.10.75 → 3.10.77
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 +6 -4
- data/docs/CartCustomerProfile.md +2 -1
- data/docs/ConversationWebchatContext.md +1 -0
- data/docs/EmailSegment.md +1 -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: 91094d5d17015eb705708a5fd2d8c92d780a5595c49d7e3793d0672f29e37966
|
|
4
|
+
data.tar.gz: 7583246ba94da64955806edfb58699afda0be9ff069095589466acf63c52995e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aa1783270e8b03e9f6eeab6d128f21b0268caefae73634dd5d657ca8c4dc28f580c6b2bfd1897cbae508872507e7f423834ea0154f834e0c564a1f0537285f67
|
|
7
|
+
data.tar.gz: eb8b863c60a6511936a8182085964249fd26a38a0af532b0ec9e927ac6bd3de6900adc46987b983b655935b81f81f1b0ca61e42030b28ed230247e3789c1467f
|
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.77
|
|
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.77.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.77.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.77'
|
|
36
36
|
|
|
37
37
|
### Install from Git
|
|
38
38
|
|
|
@@ -1227,6 +1227,8 @@ Not every change is committed to every SDK.
|
|
|
1227
1227
|
|
|
1228
1228
|
| Version | Date | Comments |
|
|
1229
1229
|
| --: | :-: | --- |
|
|
1230
|
+
| 3.10.77 | 12/08/2022 | communications - expose the rebuild percentage |
|
|
1231
|
+
| 3.10.76 | 12/06/2022 | convo - add session_start_dts to webchat context, cart - add customer_profile.signup_dts |
|
|
1230
1232
|
| 3.10.75 | 12/06/2022 | customer api - expose edi information and editor values |
|
|
1231
1233
|
| 3.10.74 | 12/02/2022 | conversations - customer last unresponded dts |
|
|
1232
1234
|
| 3.10.73 | 11/30/2022 | conversations - add order and auto order information to webchat context |
|
data/docs/CartCustomerProfile.md
CHANGED
|
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
|
|
|
14
14
|
**email** | **String** | Email | [optional]
|
|
15
15
|
**fedex_account_number** | **String** | FedEx account number on file | [optional]
|
|
16
16
|
**free_shipping** | **BOOLEAN** | True if this profile always qualifies for free shipping | [optional]
|
|
17
|
-
**free_shipping_minimum** | **Float** | The minimum
|
|
17
|
+
**free_shipping_minimum** | **Float** | The minimum amount that this profile has to purchase to qualify for free shipping | [optional]
|
|
18
18
|
**maximum_item_count** | **Integer** | Maximum item count this profile can purchase | [optional]
|
|
19
19
|
**minimum_item_count** | **Integer** | Minimum item count this profile must purchase | [optional]
|
|
20
20
|
**minimum_subtotal** | **Float** | Minimum subtotal this profile must purchase | [optional]
|
|
@@ -23,6 +23,7 @@ Name | Type | Description | Notes
|
|
|
23
23
|
**no_realtime_charge** | **BOOLEAN** | True if this customers orders are not charged in real-time | [optional]
|
|
24
24
|
**pricing_tiers** | **Array<String>** | Pricing tier names this profile qualifies for | [optional]
|
|
25
25
|
**shipping_addresses** | [**Array<CartCustomerProfileAddress>**](CartCustomerProfileAddress.md) | Shipping addresses on file for this profile | [optional]
|
|
26
|
+
**signup_dts** | **String** | Signup date | [optional]
|
|
26
27
|
**tax_exempt** | **BOOLEAN** | True if this profile is exempt from sales tax | [optional]
|
|
27
28
|
**ups_account_number** | **String** | UPS account number on file | [optional]
|
|
28
29
|
|
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**orders** | [**Array<Order>**](Order.md) | | [optional]
|
|
10
10
|
**page_view** | [**Array<HitPageView>**](HitPageView.md) | | [optional]
|
|
11
11
|
**session_start** | [**HitSessionStart**](HitSessionStart.md) | | [optional]
|
|
12
|
+
**session_start_dts** | **String** | Date/time that the session was started (if known) | [optional]
|
|
12
13
|
**session_utm** | [**HitSessionUtm**](HitSessionUtm.md) | | [optional]
|
|
13
14
|
|
|
14
15
|
|
data/docs/EmailSegment.md
CHANGED
|
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
|
|
|
15
15
|
**merchant_id** | **String** | Merchant ID | [optional]
|
|
16
16
|
**name** | **String** | Name of email segment | [optional]
|
|
17
17
|
**rank_json** | **String** | Rank settings json | [optional]
|
|
18
|
+
**rebuild_percentage** | **Float** | Percentage of completion for a rebuild. The value range will be 0-1. Multiply by 100 to format for display. | [optional]
|
|
18
19
|
**rebuild_required** | **BOOLEAN** | True if a rebuild is required because some part of the segment has changed | [optional]
|
|
19
20
|
**storefront_oid** | **Integer** | Storefront oid | [optional]
|
|
20
21
|
**thirdparty_join_add_tags** | **Array<String>** | Third party provider tags to add when a customer joins the segment. | [optional]
|
|
@@ -47,7 +47,7 @@ module UltracartClient
|
|
|
47
47
|
# True if this profile always qualifies for free shipping
|
|
48
48
|
attr_accessor :free_shipping
|
|
49
49
|
|
|
50
|
-
# The minimum
|
|
50
|
+
# The minimum amount that this profile has to purchase to qualify for free shipping
|
|
51
51
|
attr_accessor :free_shipping_minimum
|
|
52
52
|
|
|
53
53
|
# Maximum item count this profile can purchase
|
|
@@ -74,6 +74,9 @@ module UltracartClient
|
|
|
74
74
|
# Shipping addresses on file for this profile
|
|
75
75
|
attr_accessor :shipping_addresses
|
|
76
76
|
|
|
77
|
+
# Signup date
|
|
78
|
+
attr_accessor :signup_dts
|
|
79
|
+
|
|
77
80
|
# True if this profile is exempt from sales tax
|
|
78
81
|
attr_accessor :tax_exempt
|
|
79
82
|
|
|
@@ -103,6 +106,7 @@ module UltracartClient
|
|
|
103
106
|
:'no_realtime_charge' => :'no_realtime_charge',
|
|
104
107
|
:'pricing_tiers' => :'pricing_tiers',
|
|
105
108
|
:'shipping_addresses' => :'shipping_addresses',
|
|
109
|
+
:'signup_dts' => :'signup_dts',
|
|
106
110
|
:'tax_exempt' => :'tax_exempt',
|
|
107
111
|
:'ups_account_number' => :'ups_account_number'
|
|
108
112
|
}
|
|
@@ -131,6 +135,7 @@ module UltracartClient
|
|
|
131
135
|
:'no_realtime_charge' => :'BOOLEAN',
|
|
132
136
|
:'pricing_tiers' => :'Array<String>',
|
|
133
137
|
:'shipping_addresses' => :'Array<CartCustomerProfileAddress>',
|
|
138
|
+
:'signup_dts' => :'String',
|
|
134
139
|
:'tax_exempt' => :'BOOLEAN',
|
|
135
140
|
:'ups_account_number' => :'String'
|
|
136
141
|
}
|
|
@@ -232,6 +237,10 @@ module UltracartClient
|
|
|
232
237
|
end
|
|
233
238
|
end
|
|
234
239
|
|
|
240
|
+
if attributes.has_key?(:'signup_dts')
|
|
241
|
+
self.signup_dts = attributes[:'signup_dts']
|
|
242
|
+
end
|
|
243
|
+
|
|
235
244
|
if attributes.has_key?(:'tax_exempt')
|
|
236
245
|
self.tax_exempt = attributes[:'tax_exempt']
|
|
237
246
|
end
|
|
@@ -279,6 +288,7 @@ module UltracartClient
|
|
|
279
288
|
no_realtime_charge == o.no_realtime_charge &&
|
|
280
289
|
pricing_tiers == o.pricing_tiers &&
|
|
281
290
|
shipping_addresses == o.shipping_addresses &&
|
|
291
|
+
signup_dts == o.signup_dts &&
|
|
282
292
|
tax_exempt == o.tax_exempt &&
|
|
283
293
|
ups_account_number == o.ups_account_number
|
|
284
294
|
end
|
|
@@ -292,7 +302,7 @@ module UltracartClient
|
|
|
292
302
|
# Calculates hash code according to all attributes.
|
|
293
303
|
# @return [Fixnum] Hash code
|
|
294
304
|
def hash
|
|
295
|
-
[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
|
|
305
|
+
[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
|
|
296
306
|
end
|
|
297
307
|
|
|
298
308
|
# Builds the object from hash
|
|
@@ -26,6 +26,9 @@ module UltracartClient
|
|
|
26
26
|
|
|
27
27
|
attr_accessor :session_start
|
|
28
28
|
|
|
29
|
+
# Date/time that the session was started (if known)
|
|
30
|
+
attr_accessor :session_start_dts
|
|
31
|
+
|
|
29
32
|
attr_accessor :session_utm
|
|
30
33
|
|
|
31
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -37,6 +40,7 @@ module UltracartClient
|
|
|
37
40
|
:'orders' => :'orders',
|
|
38
41
|
:'page_view' => :'page_view',
|
|
39
42
|
:'session_start' => :'session_start',
|
|
43
|
+
:'session_start_dts' => :'session_start_dts',
|
|
40
44
|
:'session_utm' => :'session_utm'
|
|
41
45
|
}
|
|
42
46
|
end
|
|
@@ -50,6 +54,7 @@ module UltracartClient
|
|
|
50
54
|
:'orders' => :'Array<Order>',
|
|
51
55
|
:'page_view' => :'Array<HitPageView>',
|
|
52
56
|
:'session_start' => :'HitSessionStart',
|
|
57
|
+
:'session_start_dts' => :'String',
|
|
53
58
|
:'session_utm' => :'HitSessionUtm'
|
|
54
59
|
}
|
|
55
60
|
end
|
|
@@ -92,6 +97,10 @@ module UltracartClient
|
|
|
92
97
|
self.session_start = attributes[:'session_start']
|
|
93
98
|
end
|
|
94
99
|
|
|
100
|
+
if attributes.has_key?(:'session_start_dts')
|
|
101
|
+
self.session_start_dts = attributes[:'session_start_dts']
|
|
102
|
+
end
|
|
103
|
+
|
|
95
104
|
if attributes.has_key?(:'session_utm')
|
|
96
105
|
self.session_utm = attributes[:'session_utm']
|
|
97
106
|
end
|
|
@@ -121,6 +130,7 @@ module UltracartClient
|
|
|
121
130
|
orders == o.orders &&
|
|
122
131
|
page_view == o.page_view &&
|
|
123
132
|
session_start == o.session_start &&
|
|
133
|
+
session_start_dts == o.session_start_dts &&
|
|
124
134
|
session_utm == o.session_utm
|
|
125
135
|
end
|
|
126
136
|
|
|
@@ -133,7 +143,7 @@ module UltracartClient
|
|
|
133
143
|
# Calculates hash code according to all attributes.
|
|
134
144
|
# @return [Fixnum] Hash code
|
|
135
145
|
def hash
|
|
136
|
-
[auto_orders, cart, current_url, orders, page_view, session_start, session_utm].hash
|
|
146
|
+
[auto_orders, cart, current_url, orders, page_view, session_start, session_start_dts, session_utm].hash
|
|
137
147
|
end
|
|
138
148
|
|
|
139
149
|
# Builds the object from hash
|
|
@@ -50,6 +50,9 @@ module UltracartClient
|
|
|
50
50
|
# Rank settings json
|
|
51
51
|
attr_accessor :rank_json
|
|
52
52
|
|
|
53
|
+
# Percentage of completion for a rebuild. The value range will be 0-1. Multiply by 100 to format for display.
|
|
54
|
+
attr_accessor :rebuild_percentage
|
|
55
|
+
|
|
53
56
|
# True if a rebuild is required because some part of the segment has changed
|
|
54
57
|
attr_accessor :rebuild_required
|
|
55
58
|
|
|
@@ -92,6 +95,7 @@ module UltracartClient
|
|
|
92
95
|
:'merchant_id' => :'merchant_id',
|
|
93
96
|
:'name' => :'name',
|
|
94
97
|
:'rank_json' => :'rank_json',
|
|
98
|
+
:'rebuild_percentage' => :'rebuild_percentage',
|
|
95
99
|
:'rebuild_required' => :'rebuild_required',
|
|
96
100
|
:'storefront_oid' => :'storefront_oid',
|
|
97
101
|
:'thirdparty_join_add_tags' => :'thirdparty_join_add_tags',
|
|
@@ -119,6 +123,7 @@ module UltracartClient
|
|
|
119
123
|
:'merchant_id' => :'String',
|
|
120
124
|
:'name' => :'String',
|
|
121
125
|
:'rank_json' => :'String',
|
|
126
|
+
:'rebuild_percentage' => :'Float',
|
|
122
127
|
:'rebuild_required' => :'BOOLEAN',
|
|
123
128
|
:'storefront_oid' => :'Integer',
|
|
124
129
|
:'thirdparty_join_add_tags' => :'Array<String>',
|
|
@@ -187,6 +192,10 @@ module UltracartClient
|
|
|
187
192
|
self.rank_json = attributes[:'rank_json']
|
|
188
193
|
end
|
|
189
194
|
|
|
195
|
+
if attributes.has_key?(:'rebuild_percentage')
|
|
196
|
+
self.rebuild_percentage = attributes[:'rebuild_percentage']
|
|
197
|
+
end
|
|
198
|
+
|
|
190
199
|
if attributes.has_key?(:'rebuild_required')
|
|
191
200
|
self.rebuild_required = attributes[:'rebuild_required']
|
|
192
201
|
end
|
|
@@ -279,6 +288,7 @@ module UltracartClient
|
|
|
279
288
|
merchant_id == o.merchant_id &&
|
|
280
289
|
name == o.name &&
|
|
281
290
|
rank_json == o.rank_json &&
|
|
291
|
+
rebuild_percentage == o.rebuild_percentage &&
|
|
282
292
|
rebuild_required == o.rebuild_required &&
|
|
283
293
|
storefront_oid == o.storefront_oid &&
|
|
284
294
|
thirdparty_join_add_tags == o.thirdparty_join_add_tags &&
|
|
@@ -299,7 +309,7 @@ module UltracartClient
|
|
|
299
309
|
# Calculates hash code according to all attributes.
|
|
300
310
|
# @return [Fixnum] Hash code
|
|
301
311
|
def hash
|
|
302
|
-
[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
|
|
312
|
+
[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
|
|
303
313
|
end
|
|
304
314
|
|
|
305
315
|
# 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: 3.10.
|
|
4
|
+
version: 3.10.77
|
|
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
|