ultracart_api 3.10.0 → 3.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8838f8962ebca603036530336164d1ee70de2d189a65a7828401d0165ef5a395
|
4
|
+
data.tar.gz: 50fe53bc6c29cb09549756260a975fa686710769b9fa44a918727ba99fb4e8f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10d2ea2ac522d0ec3d2e8a3bf60132ccdf43c1589a87d056a21be7df26d5707087a55e97638d013c6858554356dcd33bfb9ee33df7a64edc50c3915981181162
|
7
|
+
data.tar.gz: 7efb5df0885bcf57cd1ee72ff26d76f4ced736f71e1db41694a6c5b0e5878b9a393e6c21bb28c21f1eb7c35e83d66156484702a87aa9fc6705ed24c31f4c1aba
|
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.1
|
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.1.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.1.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.1'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1171,6 +1171,7 @@ Not every change is committed to every SDK.
|
|
1171
1171
|
|
1172
1172
|
| Version | Date | Comments |
|
1173
1173
|
| --: | :-: | --- |
|
1174
|
+
| 3.10.1 | 05/12/2022 | ChannelPartnerApi added orderId to import response obj |
|
1174
1175
|
| 3.10.0 | 05/10/2022 | beta release of ChannelPartnerApi |
|
1175
1176
|
| 3.9.8 | 04/26/2022 | OrderApi.duplicateOrder |
|
1176
1177
|
| 3.9.7 | 04/25/2022 | integration logs method for zpl to pdf conversion |
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**import_errors** | **Array<String>** | Array of errors if errors occurred | [optional]
|
8
8
|
**import_warnings** | **Array<String>** | Array of warnings if warnings occurred | [optional]
|
9
9
|
**metadata** | [**ResponseMetadata**](ResponseMetadata.md) | | [optional]
|
10
|
+
**order_id** | **String** | The order id of the newly imported order if successful | [optional]
|
10
11
|
**success** | **BOOLEAN** | Indicates if API call was successful | [optional]
|
11
12
|
**warning** | [**Warning**](Warning.md) | | [optional]
|
12
13
|
|
@@ -24,6 +24,9 @@ module UltracartClient
|
|
24
24
|
|
25
25
|
attr_accessor :metadata
|
26
26
|
|
27
|
+
# The order id of the newly imported order if successful
|
28
|
+
attr_accessor :order_id
|
29
|
+
|
27
30
|
# Indicates if API call was successful
|
28
31
|
attr_accessor :success
|
29
32
|
|
@@ -36,6 +39,7 @@ module UltracartClient
|
|
36
39
|
:'import_errors' => :'import_errors',
|
37
40
|
:'import_warnings' => :'import_warnings',
|
38
41
|
:'metadata' => :'metadata',
|
42
|
+
:'order_id' => :'order_id',
|
39
43
|
:'success' => :'success',
|
40
44
|
:'warning' => :'warning'
|
41
45
|
}
|
@@ -48,6 +52,7 @@ module UltracartClient
|
|
48
52
|
:'import_errors' => :'Array<String>',
|
49
53
|
:'import_warnings' => :'Array<String>',
|
50
54
|
:'metadata' => :'ResponseMetadata',
|
55
|
+
:'order_id' => :'String',
|
51
56
|
:'success' => :'BOOLEAN',
|
52
57
|
:'warning' => :'Warning'
|
53
58
|
}
|
@@ -81,6 +86,10 @@ module UltracartClient
|
|
81
86
|
self.metadata = attributes[:'metadata']
|
82
87
|
end
|
83
88
|
|
89
|
+
if attributes.has_key?(:'order_id')
|
90
|
+
self.order_id = attributes[:'order_id']
|
91
|
+
end
|
92
|
+
|
84
93
|
if attributes.has_key?(:'success')
|
85
94
|
self.success = attributes[:'success']
|
86
95
|
end
|
@@ -112,6 +121,7 @@ module UltracartClient
|
|
112
121
|
import_errors == o.import_errors &&
|
113
122
|
import_warnings == o.import_warnings &&
|
114
123
|
metadata == o.metadata &&
|
124
|
+
order_id == o.order_id &&
|
115
125
|
success == o.success &&
|
116
126
|
warning == o.warning
|
117
127
|
end
|
@@ -125,7 +135,7 @@ module UltracartClient
|
|
125
135
|
# Calculates hash code according to all attributes.
|
126
136
|
# @return [Fixnum] Hash code
|
127
137
|
def hash
|
128
|
-
[error, import_errors, import_warnings, metadata, success, warning].hash
|
138
|
+
[error, import_errors, import_warnings, metadata, order_id, success, warning].hash
|
129
139
|
end
|
130
140
|
|
131
141
|
# 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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|