ultracart_api 3.10.107 → 3.10.109
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/PricingTier.md +1 -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: f8b4957f645caf0c8bad81ec2718d9f480e7baff1e3eed81db3978fe3f2e3306
|
4
|
+
data.tar.gz: 38780489a14189db37c7bd059eeec072d6d569cd05bc67dcd0dda2ae947a4177
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4431dbb3399e915a0e175652024a8b2895775ca125e2d0467e0ceb0efeca9f775711a91b22789829dc97ea47175e9dacdba5ae997d0c0d593fa73927665ea4e
|
7
|
+
data.tar.gz: 74ccc6e942f363a910bd1eefd040f8a730e540677c1d8d8810dac8cf94af0d056f8ea347bca6fa94d3173a5d0d9780a57437fa9c3460c7754a4d559f02167303
|
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.109
|
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.109.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.109.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.109'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1292,6 +1292,8 @@ Not every change is committed to every SDK.
|
|
1292
1292
|
|
1293
1293
|
| Version | Date | Comments |
|
1294
1294
|
| --: | :-: | --- |
|
1295
|
+
| 3.10.109 | 01/26/2023 | typo in ConversationWebsocketMessage |
|
1296
|
+
| 3.10.108 | 01/25/2023 | conversation - added message type of engagement prompt |
|
1295
1297
|
| 3.10.107 | 01/25/2023 | convo event for engage customer |
|
1296
1298
|
| 3.10.106 | 01/25/2023 | order api method generateInvoice |
|
1297
1299
|
| 3.10.105 | 01/24/2023 | auto order - cancel minimum and change balance options |
|
data/docs/PricingTier.md
CHANGED
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
|
|
16
16
|
**default_tier** | **BOOLEAN** | Default tier | [optional]
|
17
17
|
**display_on_wholesale_signup** | **BOOLEAN** | Display on wholesale signup | [optional]
|
18
18
|
**exclude_from_free_promotion** | **BOOLEAN** | Exclude from free promotion | [optional]
|
19
|
+
**exempt_loyalty_rewards** | **BOOLEAN** | Exempt from Loyalty Rewards | [optional]
|
19
20
|
**exempt_shipping_handling_charge** | **BOOLEAN** | Exempt shipping handling charge | [optional]
|
20
21
|
**free_shipping** | **BOOLEAN** | Free shipping | [optional]
|
21
22
|
**free_shipping_minimum** | **Float** | Free shipping minimum | [optional]
|
@@ -199,7 +199,7 @@ module UltracartClient
|
|
199
199
|
# Check to see if the all the properties in the model are valid
|
200
200
|
# @return true if the model is valid
|
201
201
|
def valid?
|
202
|
-
type_validator = EnumAttributeValidator.new('String', ['message', 'notice'])
|
202
|
+
type_validator = EnumAttributeValidator.new('String', ['message', 'notice', 'engagement prompt'])
|
203
203
|
return false unless type_validator.valid?(@type)
|
204
204
|
true
|
205
205
|
end
|
@@ -207,7 +207,7 @@ module UltracartClient
|
|
207
207
|
# Custom attribute writer method checking allowed values (enum).
|
208
208
|
# @param [Object] type Object to be assigned
|
209
209
|
def type=(type)
|
210
|
-
validator = EnumAttributeValidator.new('String', ['message', 'notice'])
|
210
|
+
validator = EnumAttributeValidator.new('String', ['message', 'notice', 'engagement prompt'])
|
211
211
|
unless validator.valid?(type)
|
212
212
|
fail ArgumentError, 'invalid value for "type", must be one of #{validator.allowable_values}.'
|
213
213
|
end
|
@@ -238,7 +238,7 @@ module UltracartClient
|
|
238
238
|
# Check to see if the all the properties in the model are valid
|
239
239
|
# @return true if the model is valid
|
240
240
|
def valid?
|
241
|
-
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
|
241
|
+
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'])
|
242
242
|
return false unless event_type_validator.valid?(@event_type)
|
243
243
|
type_validator = EnumAttributeValidator.new('String', ['message', 'event', 'ping', 'check queue position'])
|
244
244
|
return false unless type_validator.valid?(@type)
|
@@ -248,7 +248,7 @@ module UltracartClient
|
|
248
248
|
# Custom attribute writer method checking allowed values (enum).
|
249
249
|
# @param [Object] event_type Object to be assigned
|
250
250
|
def event_type=(event_type)
|
251
|
-
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
|
251
|
+
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'])
|
252
252
|
unless validator.valid?(event_type)
|
253
253
|
fail ArgumentError, 'invalid value for "event_type", must be one of #{validator.allowable_values}.'
|
254
254
|
end
|
@@ -52,6 +52,9 @@ module UltracartClient
|
|
52
52
|
# Exclude from free promotion
|
53
53
|
attr_accessor :exclude_from_free_promotion
|
54
54
|
|
55
|
+
# Exempt from Loyalty Rewards
|
56
|
+
attr_accessor :exempt_loyalty_rewards
|
57
|
+
|
55
58
|
# Exempt shipping handling charge
|
56
59
|
attr_accessor :exempt_shipping_handling_charge
|
57
60
|
|
@@ -121,6 +124,7 @@ module UltracartClient
|
|
121
124
|
:'default_tier' => :'default_tier',
|
122
125
|
:'display_on_wholesale_signup' => :'display_on_wholesale_signup',
|
123
126
|
:'exclude_from_free_promotion' => :'exclude_from_free_promotion',
|
127
|
+
:'exempt_loyalty_rewards' => :'exempt_loyalty_rewards',
|
124
128
|
:'exempt_shipping_handling_charge' => :'exempt_shipping_handling_charge',
|
125
129
|
:'free_shipping' => :'free_shipping',
|
126
130
|
:'free_shipping_minimum' => :'free_shipping_minimum',
|
@@ -158,6 +162,7 @@ module UltracartClient
|
|
158
162
|
:'default_tier' => :'BOOLEAN',
|
159
163
|
:'display_on_wholesale_signup' => :'BOOLEAN',
|
160
164
|
:'exclude_from_free_promotion' => :'BOOLEAN',
|
165
|
+
:'exempt_loyalty_rewards' => :'BOOLEAN',
|
161
166
|
:'exempt_shipping_handling_charge' => :'BOOLEAN',
|
162
167
|
:'free_shipping' => :'BOOLEAN',
|
163
168
|
:'free_shipping_minimum' => :'Float',
|
@@ -239,6 +244,10 @@ module UltracartClient
|
|
239
244
|
self.exclude_from_free_promotion = attributes[:'exclude_from_free_promotion']
|
240
245
|
end
|
241
246
|
|
247
|
+
if attributes.has_key?(:'exempt_loyalty_rewards')
|
248
|
+
self.exempt_loyalty_rewards = attributes[:'exempt_loyalty_rewards']
|
249
|
+
end
|
250
|
+
|
242
251
|
if attributes.has_key?(:'exempt_shipping_handling_charge')
|
243
252
|
self.exempt_shipping_handling_charge = attributes[:'exempt_shipping_handling_charge']
|
244
253
|
end
|
@@ -358,6 +367,7 @@ module UltracartClient
|
|
358
367
|
default_tier == o.default_tier &&
|
359
368
|
display_on_wholesale_signup == o.display_on_wholesale_signup &&
|
360
369
|
exclude_from_free_promotion == o.exclude_from_free_promotion &&
|
370
|
+
exempt_loyalty_rewards == o.exempt_loyalty_rewards &&
|
361
371
|
exempt_shipping_handling_charge == o.exempt_shipping_handling_charge &&
|
362
372
|
free_shipping == o.free_shipping &&
|
363
373
|
free_shipping_minimum == o.free_shipping_minimum &&
|
@@ -387,7 +397,7 @@ module UltracartClient
|
|
387
397
|
# Calculates hash code according to all attributes.
|
388
398
|
# @return [Fixnum] Hash code
|
389
399
|
def hash
|
390
|
-
[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
|
400
|
+
[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
|
391
401
|
end
|
392
402
|
|
393
403
|
# 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.109
|
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
|