ultracart_api 4.0.173 → 4.0.175
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01e64d5b16b2c79f98e4f8115be4fcf28bd2e9ceee18f9b285d536ee805491ef
|
4
|
+
data.tar.gz: 87468557cb2065ce0f955f81602a288e436cb434fc17fb9b5a1493cf78aee98e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b30a23be2553bdebcc167b9c30060f53e85a77f0278b2351c3dfc29d336de8a240414446c50dc790b3bd582baa09de9d63236dffa0590a4488652238233cc049
|
7
|
+
data.tar.gz: cf4fbd70b4dccf6e9d36755a41a6c083dbc92b908910bb79db926112603ed8390c3adb024a2bc892fff1afdf40605db5e5a407ceaab337726afb07f202cda723
|
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.175
|
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.175.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.175.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.175'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -1370,6 +1370,8 @@ Not every change is committed to every SDK.
|
|
1370
1370
|
|
1371
1371
|
| Version | Date | Comments |
|
1372
1372
|
| --: | :-: | --- |
|
1373
|
+
| 4.0.175 | 09/06/2023 | esp condition for survey trigger |
|
1374
|
+
| 4.0.174 | 09/05/2023 | auto order schedule - add intervals for 4 6 and 8 weeks |
|
1373
1375
|
| 4.0.173 | 08/31/2023 | new coupon - free item and free shipping with purchase |
|
1374
1376
|
| 4.0.172 | 08/16/2023 | added validate_original_order query param to auto order update method |
|
1375
1377
|
| 4.0.171 | 08/14/2023 | esp - add require_order_within_last to the settings object |
|
@@ -323,7 +323,7 @@ module UltracartClient
|
|
323
323
|
# Check to see if the all the properties in the model are valid
|
324
324
|
# @return true if the model is valid
|
325
325
|
def valid?
|
326
|
-
frequency_validator = EnumAttributeValidator.new('String', ["Weekly", "Biweekly", "Every...", "Every 10 Days", "Every 24 Days", "Every 28 Days", "Monthly", "Every 45 Days", "Every 2 Months", "Every 3 Months", "Every 4 Months", "Every 6 Months", "Yearly"])
|
326
|
+
frequency_validator = EnumAttributeValidator.new('String', ["Weekly", "Biweekly", "Every...", "Every 10 Days", "Every 24 Days", "Every 28 Days", "Monthly", "Every 45 Days", "Every 2 Months", "Every 3 Months", "Every 4 Months", "Every 6 Months", "Yearly", "Every 4 Weeks", "Every 6 Weeks", "Every 8 Weeks"])
|
327
327
|
return false unless frequency_validator.valid?(@frequency)
|
328
328
|
true
|
329
329
|
end
|
@@ -331,7 +331,7 @@ module UltracartClient
|
|
331
331
|
# Custom attribute writer method checking allowed values (enum).
|
332
332
|
# @param [Object] frequency Object to be assigned
|
333
333
|
def frequency=(frequency)
|
334
|
-
validator = EnumAttributeValidator.new('String', ["Weekly", "Biweekly", "Every...", "Every 10 Days", "Every 24 Days", "Every 28 Days", "Monthly", "Every 45 Days", "Every 2 Months", "Every 3 Months", "Every 4 Months", "Every 6 Months", "Yearly"])
|
334
|
+
validator = EnumAttributeValidator.new('String', ["Weekly", "Biweekly", "Every...", "Every 10 Days", "Every 24 Days", "Every 28 Days", "Monthly", "Every 45 Days", "Every 2 Months", "Every 3 Months", "Every 4 Months", "Every 6 Months", "Yearly", "Every 4 Weeks", "Every 6 Weeks", "Every 8 Weeks"])
|
335
335
|
unless validator.valid?(frequency)
|
336
336
|
fail ArgumentError, "invalid value for \"frequency\", must be one of #{validator.allowable_values}."
|
337
337
|
end
|
@@ -113,7 +113,7 @@ module UltracartClient
|
|
113
113
|
# Check to see if the all the properties in the model are valid
|
114
114
|
# @return true if the model is valid
|
115
115
|
def valid?
|
116
|
-
frequency_validator = EnumAttributeValidator.new('String', ["Weekly", "Biweekly", "Every...", "Every 10 Days", "Every 24 Days", "Every 28 Days", "Monthly", "Every 45 Days", "Every 2 Months", "Every 3 Months", "Every 4 Months", "Every 6 Months", "Yearly"])
|
116
|
+
frequency_validator = EnumAttributeValidator.new('String', ["Weekly", "Biweekly", "Every...", "Every 10 Days", "Every 24 Days", "Every 28 Days", "Monthly", "Every 45 Days", "Every 2 Months", "Every 3 Months", "Every 4 Months", "Every 6 Months", "Yearly", "Every 4 Weeks", "Every 6 Weeks", "Every 8 Weeks"])
|
117
117
|
return false unless frequency_validator.valid?(@frequency)
|
118
118
|
true
|
119
119
|
end
|
@@ -121,7 +121,7 @@ module UltracartClient
|
|
121
121
|
# Custom attribute writer method checking allowed values (enum).
|
122
122
|
# @param [Object] frequency Object to be assigned
|
123
123
|
def frequency=(frequency)
|
124
|
-
validator = EnumAttributeValidator.new('String', ["Weekly", "Biweekly", "Every...", "Every 10 Days", "Every 24 Days", "Every 28 Days", "Monthly", "Every 45 Days", "Every 2 Months", "Every 3 Months", "Every 4 Months", "Every 6 Months", "Yearly"])
|
124
|
+
validator = EnumAttributeValidator.new('String', ["Weekly", "Biweekly", "Every...", "Every 10 Days", "Every 24 Days", "Every 28 Days", "Monthly", "Every 45 Days", "Every 2 Months", "Every 3 Months", "Every 4 Months", "Every 6 Months", "Yearly", "Every 4 Weeks", "Every 6 Weeks", "Every 8 Weeks"])
|
125
125
|
unless validator.valid?(frequency)
|
126
126
|
fail ArgumentError, "invalid value for \"frequency\", must be one of #{validator.allowable_values}."
|
127
127
|
end
|
@@ -155,7 +155,7 @@ module UltracartClient
|
|
155
155
|
# Check to see if the all the properties in the model are valid
|
156
156
|
# @return true if the model is valid
|
157
157
|
def valid?
|
158
|
-
auto_order_schedule_validator = EnumAttributeValidator.new('String', ["Weekly", "Every 10 Days", "Biweekly", "Every 24 Days", "Every 28 Days", "Monthly", "Every 45 Days", "Every 2 Months", "Every 3 Months", "Every 4 Months", "Every 6 Months", "Yearly"])
|
158
|
+
auto_order_schedule_validator = EnumAttributeValidator.new('String', ["Weekly", "Every 10 Days", "Biweekly", "Every 24 Days", "Every 28 Days", "Monthly", "Every 45 Days", "Every 2 Months", "Every 3 Months", "Every 4 Months", "Every 6 Months", "Yearly", "Every 4 Weeks", "Every 6 Weeks", "Every 8 Weeks"])
|
159
159
|
return false unless auto_order_schedule_validator.valid?(@auto_order_schedule)
|
160
160
|
return false if !@merchant_item_id.nil? && @merchant_item_id.to_s.length > 20
|
161
161
|
true
|
@@ -164,7 +164,7 @@ module UltracartClient
|
|
164
164
|
# Custom attribute writer method checking allowed values (enum).
|
165
165
|
# @param [Object] auto_order_schedule Object to be assigned
|
166
166
|
def auto_order_schedule=(auto_order_schedule)
|
167
|
-
validator = EnumAttributeValidator.new('String', ["Weekly", "Every 10 Days", "Biweekly", "Every 24 Days", "Every 28 Days", "Monthly", "Every 45 Days", "Every 2 Months", "Every 3 Months", "Every 4 Months", "Every 6 Months", "Yearly"])
|
167
|
+
validator = EnumAttributeValidator.new('String', ["Weekly", "Every 10 Days", "Biweekly", "Every 24 Days", "Every 28 Days", "Monthly", "Every 45 Days", "Every 2 Months", "Every 3 Months", "Every 4 Months", "Every 6 Months", "Yearly", "Every 4 Weeks", "Every 6 Weeks", "Every 8 Weeks"])
|
168
168
|
unless validator.valid?(auto_order_schedule)
|
169
169
|
fail ArgumentError, "invalid value for \"auto_order_schedule\", must be one of #{validator.allowable_values}."
|
170
170
|
end
|
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.175
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|