ultracart_api 3.10.171 → 3.10.173
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/CouponEditorValues.md +1 -0
- data/docs/WorkflowApi.md +2 -2
- data/lib/ultracart_api/api/workflow_api.rb +3 -3
- data/lib/ultracart_api/models/coupon_editor_values.rb +13 -1
- data/lib/ultracart_api/models/item_google_product_search.rb +5 -5
- 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: 18f876d4736b449a876e2a0af5d7263144a416681c230429b44d42a673283e47
|
4
|
+
data.tar.gz: 19e995fde5ed0841b2503bf83fa7e1a64f28a482bbcf8e0f7f1c70bafca525bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1843bfca4a0f860222856e23d62ef95e7e3b2bbaa227455c9ed1aedd20fe83f93a40bb5acb8360a9146ab3335ad2adbbbd23abf0c969a36544f8a5c56426828c
|
7
|
+
data.tar.gz: bfde9c66f5bbc83b0449bdbf53b31ff2a786d7c55045718c6c0689f47f0398a86298f32743a166994b1085b2ee03e29f1c3fb48b07527a153669716583f73f82
|
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.173
|
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.173.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.173.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.173'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1396,6 +1396,8 @@ Not every change is committed to every SDK.
|
|
1396
1396
|
|
1397
1397
|
| Version | Date | Comments |
|
1398
1398
|
| --: | :-: | --- |
|
1399
|
+
| 3.10.173 | 11/20/2023 | item.google_product_search.color bugfix for bad length validation: 20 to 100 |
|
1400
|
+
| 3.10.172 | 11/13/2023 | coupon - editor values for item tags |
|
1399
1401
|
| 3.10.171 | 11/13/2023 | coupon - percent off items - add support for include/exclude by item tags |
|
1400
1402
|
| 3.10.170 | 11/09/2023 | item - new auto order step type: pause until |
|
1401
1403
|
| 3.10.169 | 11/06/2023 | customer api - added wishlist methods |
|
data/docs/CouponEditorValues.md
CHANGED
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**coupon_types_for_display** | [**Array<CouponType>**](CouponType.md) | coupon_types_for_display | [optional]
|
9
9
|
**currency_codes** | **Array<String>** | currency_codes | [optional]
|
10
10
|
**deprecated_themes** | [**Array<SimpleValue>**](SimpleValue.md) | deprecated_themes | [optional]
|
11
|
+
**item_tags** | **Array<String>** | Item tags | [optional]
|
11
12
|
**mix_and_match_names** | **Array<String>** | mix_and_match_names | [optional]
|
12
13
|
**shipping_methods** | **Array<String>** | shipping_methods | [optional]
|
13
14
|
**storefronts** | [**Array<SimpleValue>**](SimpleValue.md) | storefronts | [optional]
|
data/docs/WorkflowApi.md
CHANGED
@@ -221,7 +221,7 @@ Name | Type | Description | Notes
|
|
221
221
|
|
222
222
|
|
223
223
|
# **get_workflow_task_by_object_type**
|
224
|
-
>
|
224
|
+
> WorkflowTasksResponse get_workflow_task_by_object_type(object_type, object_id)
|
225
225
|
|
226
226
|
Retrieve a workflow task by object type and id
|
227
227
|
|
@@ -260,7 +260,7 @@ Name | Type | Description | Notes
|
|
260
260
|
|
261
261
|
### Return type
|
262
262
|
|
263
|
-
[**
|
263
|
+
[**WorkflowTasksResponse**](WorkflowTasksResponse.md)
|
264
264
|
|
265
265
|
### Authorization
|
266
266
|
|
@@ -257,7 +257,7 @@ module UltracartClient
|
|
257
257
|
# @param object_type
|
258
258
|
# @param object_id
|
259
259
|
# @param [Hash] opts the optional parameters
|
260
|
-
# @return [
|
260
|
+
# @return [WorkflowTasksResponse]
|
261
261
|
def get_workflow_task_by_object_type(object_type, object_id, opts = {})
|
262
262
|
data, _status_code, _headers = get_workflow_task_by_object_type_with_http_info(object_type, object_id, opts)
|
263
263
|
data
|
@@ -268,7 +268,7 @@ module UltracartClient
|
|
268
268
|
# @param object_type
|
269
269
|
# @param object_id
|
270
270
|
# @param [Hash] opts the optional parameters
|
271
|
-
# @return [Array<(
|
271
|
+
# @return [Array<(WorkflowTasksResponse, Fixnum, Hash)>] WorkflowTasksResponse data, response status code and response headers
|
272
272
|
def get_workflow_task_by_object_type_with_http_info(object_type, object_id, opts = {})
|
273
273
|
if @api_client.config.debugging
|
274
274
|
@api_client.config.logger.debug 'Calling API: WorkflowApi.get_workflow_task_by_object_type ...'
|
@@ -307,7 +307,7 @@ module UltracartClient
|
|
307
307
|
:form_params => form_params,
|
308
308
|
:body => post_body,
|
309
309
|
:auth_names => auth_names,
|
310
|
-
:return_type => '
|
310
|
+
:return_type => 'WorkflowTasksResponse')
|
311
311
|
if @api_client.config.debugging
|
312
312
|
@api_client.config.logger.debug "API called: WorkflowApi#get_workflow_task_by_object_type\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
313
313
|
end
|
@@ -29,6 +29,9 @@ module UltracartClient
|
|
29
29
|
# deprecated_themes
|
30
30
|
attr_accessor :deprecated_themes
|
31
31
|
|
32
|
+
# Item tags
|
33
|
+
attr_accessor :item_tags
|
34
|
+
|
32
35
|
# mix_and_match_names
|
33
36
|
attr_accessor :mix_and_match_names
|
34
37
|
|
@@ -52,6 +55,7 @@ module UltracartClient
|
|
52
55
|
:'coupon_types_for_display' => :'coupon_types_for_display',
|
53
56
|
:'currency_codes' => :'currency_codes',
|
54
57
|
:'deprecated_themes' => :'deprecated_themes',
|
58
|
+
:'item_tags' => :'item_tags',
|
55
59
|
:'mix_and_match_names' => :'mix_and_match_names',
|
56
60
|
:'shipping_methods' => :'shipping_methods',
|
57
61
|
:'storefronts' => :'storefronts',
|
@@ -68,6 +72,7 @@ module UltracartClient
|
|
68
72
|
:'coupon_types_for_display' => :'Array<CouponType>',
|
69
73
|
:'currency_codes' => :'Array<String>',
|
70
74
|
:'deprecated_themes' => :'Array<SimpleValue>',
|
75
|
+
:'item_tags' => :'Array<String>',
|
71
76
|
:'mix_and_match_names' => :'Array<String>',
|
72
77
|
:'shipping_methods' => :'Array<String>',
|
73
78
|
:'storefronts' => :'Array<SimpleValue>',
|
@@ -114,6 +119,12 @@ module UltracartClient
|
|
114
119
|
end
|
115
120
|
end
|
116
121
|
|
122
|
+
if attributes.has_key?(:'item_tags')
|
123
|
+
if (value = attributes[:'item_tags']).is_a?(Array)
|
124
|
+
self.item_tags = value
|
125
|
+
end
|
126
|
+
end
|
127
|
+
|
117
128
|
if attributes.has_key?(:'mix_and_match_names')
|
118
129
|
if (value = attributes[:'mix_and_match_names']).is_a?(Array)
|
119
130
|
self.mix_and_match_names = value
|
@@ -168,6 +179,7 @@ module UltracartClient
|
|
168
179
|
coupon_types_for_display == o.coupon_types_for_display &&
|
169
180
|
currency_codes == o.currency_codes &&
|
170
181
|
deprecated_themes == o.deprecated_themes &&
|
182
|
+
item_tags == o.item_tags &&
|
171
183
|
mix_and_match_names == o.mix_and_match_names &&
|
172
184
|
shipping_methods == o.shipping_methods &&
|
173
185
|
storefronts == o.storefronts &&
|
@@ -184,7 +196,7 @@ module UltracartClient
|
|
184
196
|
# Calculates hash code according to all attributes.
|
185
197
|
# @return [Fixnum] Hash code
|
186
198
|
def hash
|
187
|
-
[affiliates, coupon_types, coupon_types_for_display, currency_codes, deprecated_themes, mix_and_match_names, shipping_methods, storefronts, usable_by, valid_with_other_coupons].hash
|
199
|
+
[affiliates, coupon_types, coupon_types_for_display, currency_codes, deprecated_themes, item_tags, mix_and_match_names, shipping_methods, storefronts, usable_by, valid_with_other_coupons].hash
|
188
200
|
end
|
189
201
|
|
190
202
|
# Builds the object from hash
|
@@ -518,8 +518,8 @@ module UltracartClient
|
|
518
518
|
invalid_properties.push('invalid value for "category_description", the character length must be smaller than or equal to 1000.')
|
519
519
|
end
|
520
520
|
|
521
|
-
if !@color.nil? && @color.to_s.length >
|
522
|
-
invalid_properties.push('invalid value for "color", the character length must be smaller than or equal to
|
521
|
+
if !@color.nil? && @color.to_s.length > 100
|
522
|
+
invalid_properties.push('invalid value for "color", the character length must be smaller than or equal to 100.')
|
523
523
|
end
|
524
524
|
|
525
525
|
if !@condition.nil? && @condition.to_s.length > 15
|
@@ -648,7 +648,7 @@ module UltracartClient
|
|
648
648
|
return false if !@book_isbn.nil? && @book_isbn.to_s.length > 20
|
649
649
|
return false if !@book_publisher.nil? && @book_publisher.to_s.length > 50
|
650
650
|
return false if !@category_description.nil? && @category_description.to_s.length > 1000
|
651
|
-
return false if !@color.nil? && @color.to_s.length >
|
651
|
+
return false if !@color.nil? && @color.to_s.length > 100
|
652
652
|
return false if !@condition.nil? && @condition.to_s.length > 15
|
653
653
|
return false if !@custom_label0.nil? && @custom_label0.to_s.length > 50
|
654
654
|
return false if !@custom_label1.nil? && @custom_label1.to_s.length > 50
|
@@ -802,8 +802,8 @@ module UltracartClient
|
|
802
802
|
# Custom attribute writer method with validation
|
803
803
|
# @param [Object] color Value to be assigned
|
804
804
|
def color=(color)
|
805
|
-
if !color.nil? && color.to_s.length >
|
806
|
-
fail ArgumentError, 'invalid value for "color", the character length must be smaller than or equal to
|
805
|
+
if !color.nil? && color.to_s.length > 100
|
806
|
+
fail ArgumentError, 'invalid value for "color", the character length must be smaller than or equal to 100.'
|
807
807
|
end
|
808
808
|
|
809
809
|
@color = color
|
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.173
|
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-
|
11
|
+
date: 2023-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|