ultracart_api 3.10.153 → 3.10.155
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/AutoOrderApi.md +2 -0
- data/docs/EmailSettings.md +1 -0
- data/lib/ultracart_api/api/auto_order_api.rb +3 -0
- data/lib/ultracart_api/models/email_settings.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: 57080fecb18b095e1f44bd2eab80895accce496e85a876e62bed6b67e0f60789
|
4
|
+
data.tar.gz: 5447019d580b5937c776098e3dd906d22bf0bc8b25f2ea61bf617d703e9068e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 704f9b3869416c846440b9f4937b93cd6031db37f7350c9a59b39c1b17b87d446bf1a2b3f81d519739be61345d617d4b8f5ebf644fa877ea075a5c48bd843399
|
7
|
+
data.tar.gz: 4041322469ec3c62c2cfd4c98a186fe2091f46cfd36245e4e035a50b1f244e4939c186842c26f05d322008101741bf57d33d496ecca3b330638bd0840e776d91
|
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.155
|
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.155.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.155.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.155'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1360,6 +1360,8 @@ Not every change is committed to every SDK.
|
|
1360
1360
|
|
1361
1361
|
| Version | Date | Comments |
|
1362
1362
|
| --: | :-: | --- |
|
1363
|
+
| 3.10.155 | 08/16/2023 | added validate_original_order query param to auto order update method |
|
1364
|
+
| 3.10.154 | 08/14/2023 | esp - add require_order_within_last to the settings object |
|
1363
1365
|
| 3.10.153 | 08/14/2023 | esp - expose rate limiter values in settings object |
|
1364
1366
|
| 3.10.152 | 07/27/2023 | dw bi - add settings to the report and page objects |
|
1365
1367
|
| 3.10.151 | 07/19/2023 | dw bi - add data_source_uuid to filter connection obj |
|
data/docs/AutoOrderApi.md
CHANGED
@@ -462,6 +462,7 @@ auto_order = UltracartClient::AutoOrder.new # AutoOrder | Auto order to update
|
|
462
462
|
auto_order_oid = 56 # Integer | The auto order oid to update.
|
463
463
|
|
464
464
|
opts = {
|
465
|
+
validate_original_order: 'validate_original_order_example', # String | Validate original order before updating
|
465
466
|
_expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
|
466
467
|
}
|
467
468
|
|
@@ -480,6 +481,7 @@ Name | Type | Description | Notes
|
|
480
481
|
------------- | ------------- | ------------- | -------------
|
481
482
|
**auto_order** | [**AutoOrder**](AutoOrder.md)| Auto order to update |
|
482
483
|
**auto_order_oid** | **Integer**| The auto order oid to update. |
|
484
|
+
**validate_original_order** | **String**| Validate original order before updating | [optional]
|
483
485
|
**_expand** | **String**| The object expansion to perform on the result. See documentation for examples | [optional]
|
484
486
|
|
485
487
|
### Return type
|
data/docs/EmailSettings.md
CHANGED
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
|
|
15
15
|
**postcard_from_name** | **String** | | [optional]
|
16
16
|
**postcard_from_postal_code** | **String** | | [optional]
|
17
17
|
**postcard_from_state** | **String** | | [optional]
|
18
|
+
**require_order_within_last** | **Integer** | Require order within last | [optional]
|
18
19
|
**reviews_io_configured** | **BOOLEAN** | True if the Reviews.io integration is configured | [optional]
|
19
20
|
**sms_esp_twilio_uuid** | **String** | | [optional]
|
20
21
|
**sms_phone_number** | **String** | | [optional]
|
@@ -512,6 +512,7 @@ module UltracartClient
|
|
512
512
|
# @param auto_order Auto order to update
|
513
513
|
# @param auto_order_oid The auto order oid to update.
|
514
514
|
# @param [Hash] opts the optional parameters
|
515
|
+
# @option opts [String] :validate_original_order Validate original order before updating
|
515
516
|
# @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
|
516
517
|
# @return [AutoOrderResponse]
|
517
518
|
def update_auto_order(auto_order, auto_order_oid, opts = {})
|
@@ -524,6 +525,7 @@ module UltracartClient
|
|
524
525
|
# @param auto_order Auto order to update
|
525
526
|
# @param auto_order_oid The auto order oid to update.
|
526
527
|
# @param [Hash] opts the optional parameters
|
528
|
+
# @option opts [String] :validate_original_order Validate original order before updating
|
527
529
|
# @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
|
528
530
|
# @return [Array<(AutoOrderResponse, Fixnum, Hash)>] AutoOrderResponse data, response status code and response headers
|
529
531
|
def update_auto_order_with_http_info(auto_order, auto_order_oid, opts = {})
|
@@ -543,6 +545,7 @@ module UltracartClient
|
|
543
545
|
|
544
546
|
# query parameters
|
545
547
|
query_params = {}
|
548
|
+
query_params[:'validate_original_order'] = opts[:'validate_original_order'] if !opts[:'validate_original_order'].nil?
|
546
549
|
query_params[:'_expand'] = opts[:'_expand'] if !opts[:'_expand'].nil?
|
547
550
|
|
548
551
|
# header parameters
|
@@ -41,6 +41,9 @@ module UltracartClient
|
|
41
41
|
|
42
42
|
attr_accessor :postcard_from_state
|
43
43
|
|
44
|
+
# Require order within last
|
45
|
+
attr_accessor :require_order_within_last
|
46
|
+
|
44
47
|
# True if the Reviews.io integration is configured
|
45
48
|
attr_accessor :reviews_io_configured
|
46
49
|
|
@@ -69,6 +72,7 @@ module UltracartClient
|
|
69
72
|
:'postcard_from_name' => :'postcard_from_name',
|
70
73
|
:'postcard_from_postal_code' => :'postcard_from_postal_code',
|
71
74
|
:'postcard_from_state' => :'postcard_from_state',
|
75
|
+
:'require_order_within_last' => :'require_order_within_last',
|
72
76
|
:'reviews_io_configured' => :'reviews_io_configured',
|
73
77
|
:'sms_esp_twilio_uuid' => :'sms_esp_twilio_uuid',
|
74
78
|
:'sms_phone_number' => :'sms_phone_number',
|
@@ -93,6 +97,7 @@ module UltracartClient
|
|
93
97
|
:'postcard_from_name' => :'String',
|
94
98
|
:'postcard_from_postal_code' => :'String',
|
95
99
|
:'postcard_from_state' => :'String',
|
100
|
+
:'require_order_within_last' => :'Integer',
|
96
101
|
:'reviews_io_configured' => :'BOOLEAN',
|
97
102
|
:'sms_esp_twilio_uuid' => :'String',
|
98
103
|
:'sms_phone_number' => :'String',
|
@@ -158,6 +163,10 @@ module UltracartClient
|
|
158
163
|
self.postcard_from_state = attributes[:'postcard_from_state']
|
159
164
|
end
|
160
165
|
|
166
|
+
if attributes.has_key?(:'require_order_within_last')
|
167
|
+
self.require_order_within_last = attributes[:'require_order_within_last']
|
168
|
+
end
|
169
|
+
|
161
170
|
if attributes.has_key?(:'reviews_io_configured')
|
162
171
|
self.reviews_io_configured = attributes[:'reviews_io_configured']
|
163
172
|
end
|
@@ -213,6 +222,7 @@ module UltracartClient
|
|
213
222
|
postcard_from_name == o.postcard_from_name &&
|
214
223
|
postcard_from_postal_code == o.postcard_from_postal_code &&
|
215
224
|
postcard_from_state == o.postcard_from_state &&
|
225
|
+
require_order_within_last == o.require_order_within_last &&
|
216
226
|
reviews_io_configured == o.reviews_io_configured &&
|
217
227
|
sms_esp_twilio_uuid == o.sms_esp_twilio_uuid &&
|
218
228
|
sms_phone_number == o.sms_phone_number &&
|
@@ -230,7 +240,7 @@ module UltracartClient
|
|
230
240
|
# Calculates hash code according to all attributes.
|
231
241
|
# @return [Fixnum] Hash code
|
232
242
|
def hash
|
233
|
-
[emails_per_day, emails_per_hour, emails_per_month, marketing_esp_domain_user, marketing_esp_domain_uuid, marketing_esp_friendly_name, postcard_from_address1, postcard_from_address2, postcard_from_city, postcard_from_name, postcard_from_postal_code, postcard_from_state, reviews_io_configured, sms_esp_twilio_uuid, sms_phone_number, transactional_esp_domain_user, transactional_esp_domain_uuid, transactional_esp_friendly_name].hash
|
243
|
+
[emails_per_day, emails_per_hour, emails_per_month, marketing_esp_domain_user, marketing_esp_domain_uuid, marketing_esp_friendly_name, postcard_from_address1, postcard_from_address2, postcard_from_city, postcard_from_name, postcard_from_postal_code, postcard_from_state, require_order_within_last, reviews_io_configured, sms_esp_twilio_uuid, sms_phone_number, transactional_esp_domain_user, transactional_esp_domain_uuid, transactional_esp_friendly_name].hash
|
234
244
|
end
|
235
245
|
|
236
246
|
# 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.155
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|