ultracart_api 3.10.75 → 3.10.76
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 +2 -1
- data/docs/ConversationWebchatContext.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/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: c5ac5a0345c3e93281993dd31339c8d36e31e7aa28e9571be034083e0a4d6d05
|
|
4
|
+
data.tar.gz: 1e9d2bf53b0b89689bb2c0220d84b135165dcd1189ada5c2d3fac42c464cf535
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ef17eee7b39f907655e34bd8b35ba706d0fb5c456e132177efd1e8c0ec20f39546f9d1704b6872e51cab102421b9c0e92db93c395c40e23bfd926e20d0be408f
|
|
7
|
+
data.tar.gz: 2e33b97af3901e0178a508e63baca52bc185e12b4b6ee7b26e24cba01079fffa3dcea1a6f8d79b7d25a5991d06acc1830c458f1a3f16d230442247b23623e2d5
|
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.76
|
|
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.76.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.76.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.76'
|
|
36
36
|
|
|
37
37
|
### Install from Git
|
|
38
38
|
|
|
@@ -1227,6 +1227,7 @@ Not every change is committed to every SDK.
|
|
|
1227
1227
|
|
|
1228
1228
|
| Version | Date | Comments |
|
|
1229
1229
|
| --: | :-: | --- |
|
|
1230
|
+
| 3.10.76 | 12/06/2022 | convo - add session_start_dts to webchat context, cart - add customer_profile.signup_dts |
|
|
1230
1231
|
| 3.10.75 | 12/06/2022 | customer api - expose edi information and editor values |
|
|
1231
1232
|
| 3.10.74 | 12/02/2022 | conversations - customer last unresponded dts |
|
|
1232
1233
|
| 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
|
|
|
@@ -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
|