ultracart_api 4.0.124.rc → 4.0.125.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 +5 -4
- data/docs/PricingTier.md +2 -0
- data/lib/ultracart_api/models/conversation_message.rb +2 -2
- data/lib/ultracart_api/models/conversation_websocket_message.rb +2 -2
- data/lib/ultracart_api/models/pricing_tier.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: 754f75dc200860e9cba67b2a0447be1d60189c16a8dc853b0ee00ae2f08aea45
|
4
|
+
data.tar.gz: b40e4408ae07e4eb17cfb06f1478410800d0d8fe4cbd15138e7b9179c1c3a1a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2b4e81f44eaeb1ece12e39b6f9483b50546f43a5464c59017282ff77ca1d8b334fa20925ab5da4aef2f8914420a1a4730289fd587b68374430e897c80a2f8a1
|
7
|
+
data.tar.gz: 9b34813a0160623225a298aeee9a265a6101a0d3a8406629a54009bce30aa99eb1ae9e380c315817024000afd16ff58006b3b26076967750437bc2d049b4b205
|
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.125.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.125.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.125.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.125.rc'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -1300,6 +1300,7 @@ Not every change is committed to every SDK.
|
|
1300
1300
|
|
1301
1301
|
| Version | Date | Comments |
|
1302
1302
|
| --: | :-: | --- |
|
1303
|
+
| 4.0.125-RC | 01/26/2023 | conversation - added message type of engagement prompt |
|
1303
1304
|
| 4.0.124-RC | 01/25/2023 | convo event for engage customer |
|
1304
1305
|
| 4.0.123-RC | 01/25/2023 | order api method generateInvoice |
|
1305
1306
|
| 4.0.122-RC | 01/24/2023 | auto order - cancel minimum and change balance options |
|
data/docs/PricingTier.md
CHANGED
@@ -17,6 +17,7 @@
|
|
17
17
|
| **default_tier** | **Boolean** | Default tier | [optional] |
|
18
18
|
| **display_on_wholesale_signup** | **Boolean** | Display on wholesale signup | [optional] |
|
19
19
|
| **exclude_from_free_promotion** | **Boolean** | Exclude from free promotion | [optional] |
|
20
|
+
| **exempt_loyalty_rewards** | **Boolean** | Exempt from Loyalty Rewards | [optional] |
|
20
21
|
| **exempt_shipping_handling_charge** | **Boolean** | Exempt shipping handling charge | [optional] |
|
21
22
|
| **free_shipping** | **Boolean** | Free shipping | [optional] |
|
22
23
|
| **free_shipping_minimum** | **Float** | Free shipping minimum | [optional] |
|
@@ -55,6 +56,7 @@ instance = UltracartClient::PricingTier.new(
|
|
55
56
|
default_tier: null,
|
56
57
|
display_on_wholesale_signup: null,
|
57
58
|
exclude_from_free_promotion: null,
|
59
|
+
exempt_loyalty_rewards: null,
|
58
60
|
exempt_shipping_handling_charge: null,
|
59
61
|
free_shipping: null,
|
60
62
|
free_shipping_minimum: null,
|
@@ -218,7 +218,7 @@ module UltracartClient
|
|
218
218
|
# Check to see if the all the properties in the model are valid
|
219
219
|
# @return true if the model is valid
|
220
220
|
def valid?
|
221
|
-
type_validator = EnumAttributeValidator.new('String', ["message", "notice"])
|
221
|
+
type_validator = EnumAttributeValidator.new('String', ["message", "notice", "engagement prompt"])
|
222
222
|
return false unless type_validator.valid?(@type)
|
223
223
|
true
|
224
224
|
end
|
@@ -226,7 +226,7 @@ module UltracartClient
|
|
226
226
|
# Custom attribute writer method checking allowed values (enum).
|
227
227
|
# @param [Object] type Object to be assigned
|
228
228
|
def type=(type)
|
229
|
-
validator = EnumAttributeValidator.new('String', ["message", "notice"])
|
229
|
+
validator = EnumAttributeValidator.new('String', ["message", "notice", "engagement prompt"])
|
230
230
|
unless validator.valid?(type)
|
231
231
|
fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
|
232
232
|
end
|
@@ -257,7 +257,7 @@ module UltracartClient
|
|
257
257
|
# Check to see if the all the properties in the model are valid
|
258
258
|
# @return true if the model is valid
|
259
259
|
def valid?
|
260
|
-
event_type_validator = EnumAttributeValidator.new('String', ["queue position", "webchat start conversation", "conversation closed", "new conversation", "new message", "updated message", "queue status update", "rrweb", "participant update", "participant join", "participant
|
260
|
+
event_type_validator = EnumAttributeValidator.new('String', ["queue position", "webchat start conversation", "conversation closed", "new conversation", "new message", "updated message", "queue status update", "rrweb", "participant update", "participant join", "participant left", "read message", "typing", "add coupon", "add item", "webchat context", "engage customer"])
|
261
261
|
return false unless event_type_validator.valid?(@event_type)
|
262
262
|
type_validator = EnumAttributeValidator.new('String', ["message", "event", "ping", "check queue position"])
|
263
263
|
return false unless type_validator.valid?(@type)
|
@@ -267,7 +267,7 @@ module UltracartClient
|
|
267
267
|
# Custom attribute writer method checking allowed values (enum).
|
268
268
|
# @param [Object] event_type Object to be assigned
|
269
269
|
def event_type=(event_type)
|
270
|
-
validator = EnumAttributeValidator.new('String', ["queue position", "webchat start conversation", "conversation closed", "new conversation", "new message", "updated message", "queue status update", "rrweb", "participant update", "participant join", "participant
|
270
|
+
validator = EnumAttributeValidator.new('String', ["queue position", "webchat start conversation", "conversation closed", "new conversation", "new message", "updated message", "queue status update", "rrweb", "participant update", "participant join", "participant left", "read message", "typing", "add coupon", "add item", "webchat context", "engage customer"])
|
271
271
|
unless validator.valid?(event_type)
|
272
272
|
fail ArgumentError, "invalid value for \"event_type\", must be one of #{validator.allowable_values}."
|
273
273
|
end
|
@@ -53,6 +53,9 @@ module UltracartClient
|
|
53
53
|
# Exclude from free promotion
|
54
54
|
attr_accessor :exclude_from_free_promotion
|
55
55
|
|
56
|
+
# Exempt from Loyalty Rewards
|
57
|
+
attr_accessor :exempt_loyalty_rewards
|
58
|
+
|
56
59
|
# Exempt shipping handling charge
|
57
60
|
attr_accessor :exempt_shipping_handling_charge
|
58
61
|
|
@@ -122,6 +125,7 @@ module UltracartClient
|
|
122
125
|
:'default_tier' => :'default_tier',
|
123
126
|
:'display_on_wholesale_signup' => :'display_on_wholesale_signup',
|
124
127
|
:'exclude_from_free_promotion' => :'exclude_from_free_promotion',
|
128
|
+
:'exempt_loyalty_rewards' => :'exempt_loyalty_rewards',
|
125
129
|
:'exempt_shipping_handling_charge' => :'exempt_shipping_handling_charge',
|
126
130
|
:'free_shipping' => :'free_shipping',
|
127
131
|
:'free_shipping_minimum' => :'free_shipping_minimum',
|
@@ -164,6 +168,7 @@ module UltracartClient
|
|
164
168
|
:'default_tier' => :'Boolean',
|
165
169
|
:'display_on_wholesale_signup' => :'Boolean',
|
166
170
|
:'exclude_from_free_promotion' => :'Boolean',
|
171
|
+
:'exempt_loyalty_rewards' => :'Boolean',
|
167
172
|
:'exempt_shipping_handling_charge' => :'Boolean',
|
168
173
|
:'free_shipping' => :'Boolean',
|
169
174
|
:'free_shipping_minimum' => :'Float',
|
@@ -258,6 +263,10 @@ module UltracartClient
|
|
258
263
|
self.exclude_from_free_promotion = attributes[:'exclude_from_free_promotion']
|
259
264
|
end
|
260
265
|
|
266
|
+
if attributes.key?(:'exempt_loyalty_rewards')
|
267
|
+
self.exempt_loyalty_rewards = attributes[:'exempt_loyalty_rewards']
|
268
|
+
end
|
269
|
+
|
261
270
|
if attributes.key?(:'exempt_shipping_handling_charge')
|
262
271
|
self.exempt_shipping_handling_charge = attributes[:'exempt_shipping_handling_charge']
|
263
272
|
end
|
@@ -377,6 +386,7 @@ module UltracartClient
|
|
377
386
|
default_tier == o.default_tier &&
|
378
387
|
display_on_wholesale_signup == o.display_on_wholesale_signup &&
|
379
388
|
exclude_from_free_promotion == o.exclude_from_free_promotion &&
|
389
|
+
exempt_loyalty_rewards == o.exempt_loyalty_rewards &&
|
380
390
|
exempt_shipping_handling_charge == o.exempt_shipping_handling_charge &&
|
381
391
|
free_shipping == o.free_shipping &&
|
382
392
|
free_shipping_minimum == o.free_shipping_minimum &&
|
@@ -406,7 +416,7 @@ module UltracartClient
|
|
406
416
|
# Calculates hash code according to all attributes.
|
407
417
|
# @return [Integer] Hash code
|
408
418
|
def hash
|
409
|
-
[allow_3rd_party_billing, allow_cod, allow_purchase_order, allow_quote_request, approval_notification, auto_approve_cod, auto_approve_purchase_order, default_on_wholesale_signup, default_percentage_discount, default_shipping_method_oid, default_tier, display_on_wholesale_signup, exclude_from_free_promotion, exempt_shipping_handling_charge, free_shipping, free_shipping_minimum, maximum_item_count, minimum_item_count, minimum_subtotal, name, no_coupons, no_free_shipping, no_realtime_charge, not_valid_when_coupon_present, pricing_tier_oid, realtime_percentage_discount, signup_notification, suppress_buysafe, suppress_mailing_list, tax_exempt, track_separately].hash
|
419
|
+
[allow_3rd_party_billing, allow_cod, allow_purchase_order, allow_quote_request, approval_notification, auto_approve_cod, auto_approve_purchase_order, default_on_wholesale_signup, default_percentage_discount, default_shipping_method_oid, default_tier, display_on_wholesale_signup, exclude_from_free_promotion, exempt_loyalty_rewards, exempt_shipping_handling_charge, free_shipping, free_shipping_minimum, maximum_item_count, minimum_item_count, minimum_subtotal, name, no_coupons, no_free_shipping, no_realtime_charge, not_valid_when_coupon_present, pricing_tier_oid, realtime_percentage_discount, signup_notification, suppress_buysafe, suppress_mailing_list, tax_exempt, track_separately].hash
|
410
420
|
end
|
411
421
|
|
412
422
|
# 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.125.rc
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-01-
|
11
|
+
date: 2023-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|