ultracart_api 4.0.170 → 4.0.172

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: 76a33947e5bbde6082f7f06278ba13a5c6b416a87cd3f7911fd110cef96c4de2
4
- data.tar.gz: 631b119358cbfa47dec4a36c3081b6c9d83c5cfe06d2361f3984b62356bd42c4
3
+ metadata.gz: ff43a4bf81d01c001c8d3d65e9f7e808cee00caaa627b360b92f5575201134d0
4
+ data.tar.gz: cb51249dced632b59a67dc66b35fe46ea1172a027094905ed94d94499e692411
5
5
  SHA512:
6
- metadata.gz: 8ea3e533397ec735346bceac15c6af08b983a83e3d3b72c8b3a8a3efdd058f0e6f740312af66ec06756a8b590d7bef7089a275dd3c1731ada5abf0f7635c867f
7
- data.tar.gz: 89f0cff54845504a25c4a8898897abab5725feb5a0f18edd05d79b7741a1f048f3e99672610f4316d0a7106a7e9c8adfe7c47f596c4c81e6f57bba72eaf92228
6
+ metadata.gz: ade3fbcaf6f52cfdb44e079ee18668ee9796dc8b07a689a02305869853bed0063f318da0ed2f36d12b0d0fe29e75e83429a64037cb9dc12cd67ecde08f93e153
7
+ data.tar.gz: 3c0fc32599ba2eaad8edc2c270d1681517002c15a73f1b6759856bf8206a31106be0ba681f4749191a33ad9f08986b50fa27b353b4c9f8117a5f9c5d28f1f84c
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.170
10
+ - Package version: 4.0.172
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.170.gem
27
+ gem install ./ultracart_api-4.0.172.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./ultracart_api-4.0.170.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./ultracart_api-4.0.172.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.170'
36
+ gem 'ultracart_api', '~> 4.0.172'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -1368,6 +1368,8 @@ Not every change is committed to every SDK.
1368
1368
 
1369
1369
  | Version | Date | Comments |
1370
1370
  | --: | :-: | --- |
1371
+ | 4.0.172 | 08/16/2023 | added validate_original_order query param to auto order update method |
1372
+ | 4.0.171 | 08/14/2023 | esp - add require_order_within_last to the settings object |
1371
1373
  | 4.0.170 | 08/14/2023 | esp - expose rate limiter values in settings object |
1372
1374
  | 4.0.169 | 07/27/2023 | dw bi - add settings to the report and page objects |
1373
1375
  | 4.0.168 | 07/19/2023 | dw bi - add data_source_uuid to filter connection obj |
data/docs/AutoOrderApi.md CHANGED
@@ -613,6 +613,7 @@ api = UltracartClient::AutoOrderApi.new_using_api_key(Constants::API_KEY, Consta
613
613
  auto_order_oid = 56 # Integer | The auto order oid to update.
614
614
  auto_order = UltracartClient::AutoOrder.new # AutoOrder | Auto order to update
615
615
  opts = {
616
+ validate_original_order: 'validate_original_order_example', # String | Validate original order before updating
616
617
  _expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
617
618
  }
618
619
 
@@ -649,6 +650,7 @@ end
649
650
  | ---- | ---- | ----------- | ----- |
650
651
  | **auto_order_oid** | **Integer** | The auto order oid to update. | |
651
652
  | **auto_order** | [**AutoOrder**](AutoOrder.md) | Auto order to update | |
653
+ | **validate_original_order** | **String** | Validate original order before updating | [optional] |
652
654
  | **_expand** | **String** | The object expansion to perform on the result. See documentation for examples | [optional] |
653
655
 
654
656
  ### Return type
@@ -16,6 +16,7 @@
16
16
  | **postcard_from_name** | **String** | | [optional] |
17
17
  | **postcard_from_postal_code** | **String** | | [optional] |
18
18
  | **postcard_from_state** | **String** | | [optional] |
19
+ | **require_order_within_last** | **Integer** | Require order within last | [optional] |
19
20
  | **reviews_io_configured** | **Boolean** | True if the Reviews.io integration is configured | [optional] |
20
21
  | **sms_esp_twilio_uuid** | **String** | | [optional] |
21
22
  | **sms_phone_number** | **String** | | [optional] |
@@ -41,6 +42,7 @@ instance = UltracartClient::EmailSettings.new(
41
42
  postcard_from_name: null,
42
43
  postcard_from_postal_code: null,
43
44
  postcard_from_state: null,
45
+ require_order_within_last: null,
44
46
  reviews_io_configured: null,
45
47
  sms_esp_twilio_uuid: null,
46
48
  sms_phone_number: null,
@@ -585,6 +585,7 @@ module UltracartClient
585
585
  # @param auto_order_oid [Integer] The auto order oid to update.
586
586
  # @param auto_order [AutoOrder] Auto order to update
587
587
  # @param [Hash] opts the optional parameters
588
+ # @option opts [String] :validate_original_order Validate original order before updating
588
589
  # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
589
590
  # @return [AutoOrderResponse]
590
591
  def update_auto_order(auto_order_oid, auto_order, opts = {})
@@ -597,6 +598,7 @@ module UltracartClient
597
598
  # @param auto_order_oid [Integer] The auto order oid to update.
598
599
  # @param auto_order [AutoOrder] Auto order to update
599
600
  # @param [Hash] opts the optional parameters
601
+ # @option opts [String] :validate_original_order Validate original order before updating
600
602
  # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
601
603
  # @return [Array<(AutoOrderResponse, Integer, Hash)>] AutoOrderResponse data, response status code and response headers
602
604
  def update_auto_order_with_http_info(auto_order_oid, auto_order, opts = {})
@@ -616,6 +618,7 @@ module UltracartClient
616
618
 
617
619
  # query parameters
618
620
  query_params = opts[:query_params] || {}
621
+ query_params[:'validate_original_order'] = opts[:'validate_original_order'] if !opts[:'validate_original_order'].nil?
619
622
  query_params[:'_expand'] = opts[:'_expand'] if !opts[:'_expand'].nil?
620
623
 
621
624
  # header parameters
@@ -42,6 +42,9 @@ module UltracartClient
42
42
 
43
43
  attr_accessor :postcard_from_state
44
44
 
45
+ # Require order within last
46
+ attr_accessor :require_order_within_last
47
+
45
48
  # True if the Reviews.io integration is configured
46
49
  attr_accessor :reviews_io_configured
47
50
 
@@ -70,6 +73,7 @@ module UltracartClient
70
73
  :'postcard_from_name' => :'postcard_from_name',
71
74
  :'postcard_from_postal_code' => :'postcard_from_postal_code',
72
75
  :'postcard_from_state' => :'postcard_from_state',
76
+ :'require_order_within_last' => :'require_order_within_last',
73
77
  :'reviews_io_configured' => :'reviews_io_configured',
74
78
  :'sms_esp_twilio_uuid' => :'sms_esp_twilio_uuid',
75
79
  :'sms_phone_number' => :'sms_phone_number',
@@ -99,6 +103,7 @@ module UltracartClient
99
103
  :'postcard_from_name' => :'String',
100
104
  :'postcard_from_postal_code' => :'String',
101
105
  :'postcard_from_state' => :'String',
106
+ :'require_order_within_last' => :'Integer',
102
107
  :'reviews_io_configured' => :'Boolean',
103
108
  :'sms_esp_twilio_uuid' => :'String',
104
109
  :'sms_phone_number' => :'String',
@@ -177,6 +182,10 @@ module UltracartClient
177
182
  self.postcard_from_state = attributes[:'postcard_from_state']
178
183
  end
179
184
 
185
+ if attributes.key?(:'require_order_within_last')
186
+ self.require_order_within_last = attributes[:'require_order_within_last']
187
+ end
188
+
180
189
  if attributes.key?(:'reviews_io_configured')
181
190
  self.reviews_io_configured = attributes[:'reviews_io_configured']
182
191
  end
@@ -232,6 +241,7 @@ module UltracartClient
232
241
  postcard_from_name == o.postcard_from_name &&
233
242
  postcard_from_postal_code == o.postcard_from_postal_code &&
234
243
  postcard_from_state == o.postcard_from_state &&
244
+ require_order_within_last == o.require_order_within_last &&
235
245
  reviews_io_configured == o.reviews_io_configured &&
236
246
  sms_esp_twilio_uuid == o.sms_esp_twilio_uuid &&
237
247
  sms_phone_number == o.sms_phone_number &&
@@ -249,7 +259,7 @@ module UltracartClient
249
259
  # Calculates hash code according to all attributes.
250
260
  # @return [Integer] Hash code
251
261
  def hash
252
- [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
262
+ [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
253
263
  end
254
264
 
255
265
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.0.1-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '4.0.170'
14
+ VERSION = '4.0.172'
15
15
  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.170
4
+ version: 4.0.172
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-14 00:00:00.000000000 Z
11
+ date: 2023-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus