ultracart_api 4.0.189 → 4.0.190
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: 6bb4888ade7e617598e447e16bf9d3db18ba5f2572c55a739b2f81ea847d24bd
|
4
|
+
data.tar.gz: 76c7a646b40ea087d26336dbc7dd52e0caed7a4f74099a5746944bfd056346a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed8d98a33c2118e48ee04bf8e2dd1560239efd9557e87331190abbe6c44ac50d8161e35f9258c742347e7dbe594ac43963a2c2b1edfd262bc747eb8a5ca6f93e
|
7
|
+
data.tar.gz: 4c765530eeda3421eb05df0f8f6f1686e2a7791446e7ec8a7eb2e67c1c47f5825b167d452488e463b9650a6671f3862e0a9a9b9ca9f8974604ec2b4d7ecbdedd
|
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.190
|
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.190.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.190.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.190'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -1404,6 +1404,7 @@ Not every change is committed to every SDK.
|
|
1404
1404
|
|
1405
1405
|
| Version | Date | Comments |
|
1406
1406
|
| --: | :-: | --- |
|
1407
|
+
| 4.0.190 | 11/20/2023 | item.google_product_search.color bugfix for bad length validation: 20 to 100 |
|
1407
1408
|
| 4.0.189 | 11/13/2023 | coupon - editor values for item tags |
|
1408
1409
|
| 4.0.188 | 11/13/2023 | coupon - percent off items - add support for include/exclude by item tags |
|
1409
1410
|
| 4.0.187 | 11/09/2023 | item - new auto order step type: pause until |
|
data/docs/WorkflowApi.md
CHANGED
@@ -308,7 +308,7 @@ end
|
|
308
308
|
|
309
309
|
## get_workflow_task_by_object_type
|
310
310
|
|
311
|
-
> <
|
311
|
+
> <WorkflowTasksResponse> get_workflow_task_by_object_type(object_type, object_id)
|
312
312
|
|
313
313
|
Retrieve a workflow task by object type and id
|
314
314
|
|
@@ -344,7 +344,7 @@ end
|
|
344
344
|
|
345
345
|
This returns an Array which contains the response data, status code and headers.
|
346
346
|
|
347
|
-
> <Array(<
|
347
|
+
> <Array(<WorkflowTasksResponse>, Integer, Hash)> get_workflow_task_by_object_type_with_http_info(object_type, object_id)
|
348
348
|
|
349
349
|
```ruby
|
350
350
|
begin
|
@@ -352,7 +352,7 @@ begin
|
|
352
352
|
data, status_code, headers = api_instance.get_workflow_task_by_object_type_with_http_info(object_type, object_id)
|
353
353
|
p status_code # => 2xx
|
354
354
|
p headers # => { ... }
|
355
|
-
p data # => <
|
355
|
+
p data # => <WorkflowTasksResponse>
|
356
356
|
rescue UltracartClient::ApiError => e
|
357
357
|
puts "Error when calling WorkflowApi->get_workflow_task_by_object_type_with_http_info: #{e}"
|
358
358
|
end
|
@@ -367,7 +367,7 @@ end
|
|
367
367
|
|
368
368
|
### Return type
|
369
369
|
|
370
|
-
[**
|
370
|
+
[**WorkflowTasksResponse**](WorkflowTasksResponse.md)
|
371
371
|
|
372
372
|
### Authorization
|
373
373
|
|
@@ -293,7 +293,7 @@ module UltracartClient
|
|
293
293
|
# @param object_type [String]
|
294
294
|
# @param object_id [String]
|
295
295
|
# @param [Hash] opts the optional parameters
|
296
|
-
# @return [
|
296
|
+
# @return [WorkflowTasksResponse]
|
297
297
|
def get_workflow_task_by_object_type(object_type, object_id, opts = {})
|
298
298
|
data, _status_code, _headers = get_workflow_task_by_object_type_with_http_info(object_type, object_id, opts)
|
299
299
|
data
|
@@ -304,7 +304,7 @@ module UltracartClient
|
|
304
304
|
# @param object_type [String]
|
305
305
|
# @param object_id [String]
|
306
306
|
# @param [Hash] opts the optional parameters
|
307
|
-
# @return [Array<(
|
307
|
+
# @return [Array<(WorkflowTasksResponse, Integer, Hash)>] WorkflowTasksResponse data, response status code and response headers
|
308
308
|
def get_workflow_task_by_object_type_with_http_info(object_type, object_id, opts = {})
|
309
309
|
if @api_client.config.debugging
|
310
310
|
@api_client.config.logger.debug 'Calling API: WorkflowApi.get_workflow_task_by_object_type ...'
|
@@ -336,7 +336,7 @@ module UltracartClient
|
|
336
336
|
post_body = opts[:debug_body]
|
337
337
|
|
338
338
|
# return_type
|
339
|
-
return_type = opts[:debug_return_type] || '
|
339
|
+
return_type = opts[:debug_return_type] || 'WorkflowTasksResponse'
|
340
340
|
|
341
341
|
# auth_names
|
342
342
|
auth_names = opts[:debug_auth_names] || ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
@@ -537,8 +537,8 @@ module UltracartClient
|
|
537
537
|
invalid_properties.push('invalid value for "category_description", the character length must be smaller than or equal to 1000.')
|
538
538
|
end
|
539
539
|
|
540
|
-
if !@color.nil? && @color.to_s.length >
|
541
|
-
invalid_properties.push('invalid value for "color", the character length must be smaller than or equal to
|
540
|
+
if !@color.nil? && @color.to_s.length > 100
|
541
|
+
invalid_properties.push('invalid value for "color", the character length must be smaller than or equal to 100.')
|
542
542
|
end
|
543
543
|
|
544
544
|
if !@condition.nil? && @condition.to_s.length > 15
|
@@ -667,7 +667,7 @@ module UltracartClient
|
|
667
667
|
return false if !@book_isbn.nil? && @book_isbn.to_s.length > 20
|
668
668
|
return false if !@book_publisher.nil? && @book_publisher.to_s.length > 50
|
669
669
|
return false if !@category_description.nil? && @category_description.to_s.length > 1000
|
670
|
-
return false if !@color.nil? && @color.to_s.length >
|
670
|
+
return false if !@color.nil? && @color.to_s.length > 100
|
671
671
|
return false if !@condition.nil? && @condition.to_s.length > 15
|
672
672
|
return false if !@custom_label0.nil? && @custom_label0.to_s.length > 50
|
673
673
|
return false if !@custom_label1.nil? && @custom_label1.to_s.length > 50
|
@@ -821,8 +821,8 @@ module UltracartClient
|
|
821
821
|
# Custom attribute writer method with validation
|
822
822
|
# @param [Object] color Value to be assigned
|
823
823
|
def color=(color)
|
824
|
-
if !color.nil? && color.to_s.length >
|
825
|
-
fail ArgumentError, 'invalid value for "color", the character length must be smaller than or equal to
|
824
|
+
if !color.nil? && color.to_s.length > 100
|
825
|
+
fail ArgumentError, 'invalid value for "color", the character length must be smaller than or equal to 100.'
|
826
826
|
end
|
827
827
|
|
828
828
|
@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: 4.0.
|
4
|
+
version: 4.0.190
|
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
|