ultracart_api 3.2.6 → 3.2.7
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 +4 -4
- data/README.md +5 -4
- data/docs/AutoOrderQuery.md +3 -1
- data/docs/IntegrationLog.md +2 -0
- data/lib/ultracart_api/models/auto_order_query.rb +22 -2
- data/lib/ultracart_api/models/integration_log.rb +22 -4
- 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: c6bcb0f48790262e2bdcde23a09fbeefada2a059366145495e0645918b7d83f4
|
4
|
+
data.tar.gz: 90cd78a8bc8b3214eb9074182990f21738dce96266606deb9454eebcd97761f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 955b1598afefe7ee52de58ae7cab180a6ad19d7c456aebaf2c3cd9214bfd600448c5c295a0fb4d0c86512e5512d5783b9655672524d2bef94c5e87e27074782c
|
7
|
+
data.tar.gz: bf6f0d38a928ab1ce6b8b827265a83ba3e194c3c59caf5a38b19053be55be455295d1086a35cc00bee978d6e11033f66535d20fd542e42f204de9963d4ff3514
|
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.2.
|
10
|
+
- Package version: 3.2.7
|
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.2.
|
27
|
+
gem install ./ultracart_api-3.2.7.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.2.
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.2.7.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.2.
|
35
|
+
gem 'ultracart_api', '~> 3.2.7'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1032,6 +1032,7 @@ Not every change is committed to every SDK.
|
|
1032
1032
|
|
1033
1033
|
| Version | Date | Comments |
|
1034
1034
|
| --: | :-: | --- |
|
1035
|
+
| 3.2.7 | 07/05/2021 | integration logger bug fixes |
|
1035
1036
|
| 3.2.6 | 06/25/2021 | integration log: added logger name |
|
1036
1037
|
| 3.2.2 | 06/24/2021 | integration log file mime type added |
|
1037
1038
|
| 3.2.0 | 06/23/2021 | Changed 4 methods due to naming conflicts revealed through swagger validator. All internal methods, so impact should be negligible |
|
data/docs/AutoOrderQuery.md
CHANGED
@@ -11,10 +11,12 @@ Name | Type | Description | Notes
|
|
11
11
|
**customer_profile_oid** | **Integer** | Customer profile object identifier | [optional]
|
12
12
|
**email** | **String** | Email | [optional]
|
13
13
|
**first_name** | **String** | First name | [optional]
|
14
|
-
**item_id** | **String** | Item ID | [optional]
|
14
|
+
**item_id** | **String** | Item ID. Deprecated query field. This incorrectly meant the original order contained this item id. | [optional]
|
15
15
|
**last_name** | **String** | Last name | [optional]
|
16
|
+
**next_item_id** | **String** | Next Item ID that is supposed to ship. This is calculated based upon the schedule associated with the original item id. | [optional]
|
16
17
|
**next_shipment_date_begin** | **String** | Next shipment date begin | [optional]
|
17
18
|
**next_shipment_date_end** | **String** | Next shipment date end | [optional]
|
19
|
+
**original_item_id** | **String** | Original Item ID purchased on auto order. | [optional]
|
18
20
|
**original_order_date_begin** | **String** | Original order date begin | [optional]
|
19
21
|
**original_order_date_end** | **String** | Original order date end | [optional]
|
20
22
|
**original_order_id** | **String** | Original order ID | [optional]
|
data/docs/IntegrationLog.md
CHANGED
@@ -15,9 +15,11 @@ Name | Type | Description | Notes
|
|
15
15
|
**logger_id** | **String** | | [optional]
|
16
16
|
**logger_name** | **String** | | [optional]
|
17
17
|
**logs** | [**Array<IntegrationLogLog>**](IntegrationLogLog.md) | | [optional]
|
18
|
+
**omit_log_map** | **BOOLEAN** | | [optional]
|
18
19
|
**order_ids** | **Array<String>** | | [optional]
|
19
20
|
**pk** | **String** | | [optional]
|
20
21
|
**sk** | **String** | | [optional]
|
21
22
|
**status** | **String** | | [optional]
|
23
|
+
**status_code** | **Integer** | | [optional]
|
22
24
|
|
23
25
|
|
@@ -38,18 +38,24 @@ module UltracartClient
|
|
38
38
|
# First name
|
39
39
|
attr_accessor :first_name
|
40
40
|
|
41
|
-
# Item ID
|
41
|
+
# Item ID. Deprecated query field. This incorrectly meant the original order contained this item id.
|
42
42
|
attr_accessor :item_id
|
43
43
|
|
44
44
|
# Last name
|
45
45
|
attr_accessor :last_name
|
46
46
|
|
47
|
+
# Next Item ID that is supposed to ship. This is calculated based upon the schedule associated with the original item id.
|
48
|
+
attr_accessor :next_item_id
|
49
|
+
|
47
50
|
# Next shipment date begin
|
48
51
|
attr_accessor :next_shipment_date_begin
|
49
52
|
|
50
53
|
# Next shipment date end
|
51
54
|
attr_accessor :next_shipment_date_end
|
52
55
|
|
56
|
+
# Original Item ID purchased on auto order.
|
57
|
+
attr_accessor :original_item_id
|
58
|
+
|
53
59
|
# Original order date begin
|
54
60
|
attr_accessor :original_order_date_begin
|
55
61
|
|
@@ -84,8 +90,10 @@ module UltracartClient
|
|
84
90
|
:'first_name' => :'first_name',
|
85
91
|
:'item_id' => :'item_id',
|
86
92
|
:'last_name' => :'last_name',
|
93
|
+
:'next_item_id' => :'next_item_id',
|
87
94
|
:'next_shipment_date_begin' => :'next_shipment_date_begin',
|
88
95
|
:'next_shipment_date_end' => :'next_shipment_date_end',
|
96
|
+
:'original_item_id' => :'original_item_id',
|
89
97
|
:'original_order_date_begin' => :'original_order_date_begin',
|
90
98
|
:'original_order_date_end' => :'original_order_date_end',
|
91
99
|
:'original_order_id' => :'original_order_id',
|
@@ -109,8 +117,10 @@ module UltracartClient
|
|
109
117
|
:'first_name' => :'String',
|
110
118
|
:'item_id' => :'String',
|
111
119
|
:'last_name' => :'String',
|
120
|
+
:'next_item_id' => :'String',
|
112
121
|
:'next_shipment_date_begin' => :'String',
|
113
122
|
:'next_shipment_date_end' => :'String',
|
123
|
+
:'original_item_id' => :'String',
|
114
124
|
:'original_order_date_begin' => :'String',
|
115
125
|
:'original_order_date_end' => :'String',
|
116
126
|
:'original_order_id' => :'String',
|
@@ -169,6 +179,10 @@ module UltracartClient
|
|
169
179
|
self.last_name = attributes[:'last_name']
|
170
180
|
end
|
171
181
|
|
182
|
+
if attributes.has_key?(:'next_item_id')
|
183
|
+
self.next_item_id = attributes[:'next_item_id']
|
184
|
+
end
|
185
|
+
|
172
186
|
if attributes.has_key?(:'next_shipment_date_begin')
|
173
187
|
self.next_shipment_date_begin = attributes[:'next_shipment_date_begin']
|
174
188
|
end
|
@@ -177,6 +191,10 @@ module UltracartClient
|
|
177
191
|
self.next_shipment_date_end = attributes[:'next_shipment_date_end']
|
178
192
|
end
|
179
193
|
|
194
|
+
if attributes.has_key?(:'original_item_id')
|
195
|
+
self.original_item_id = attributes[:'original_item_id']
|
196
|
+
end
|
197
|
+
|
180
198
|
if attributes.has_key?(:'original_order_date_begin')
|
181
199
|
self.original_order_date_begin = attributes[:'original_order_date_begin']
|
182
200
|
end
|
@@ -294,8 +312,10 @@ module UltracartClient
|
|
294
312
|
first_name == o.first_name &&
|
295
313
|
item_id == o.item_id &&
|
296
314
|
last_name == o.last_name &&
|
315
|
+
next_item_id == o.next_item_id &&
|
297
316
|
next_shipment_date_begin == o.next_shipment_date_begin &&
|
298
317
|
next_shipment_date_end == o.next_shipment_date_end &&
|
318
|
+
original_item_id == o.original_item_id &&
|
299
319
|
original_order_date_begin == o.original_order_date_begin &&
|
300
320
|
original_order_date_end == o.original_order_date_end &&
|
301
321
|
original_order_id == o.original_order_id &&
|
@@ -314,7 +334,7 @@ module UltracartClient
|
|
314
334
|
# Calculates hash code according to all attributes.
|
315
335
|
# @return [Fixnum] Hash code
|
316
336
|
def hash
|
317
|
-
[auto_order_code, card_type, city, company, country_code, customer_profile_oid, email, first_name, item_id, last_name, next_shipment_date_begin, next_shipment_date_end, original_order_date_begin, original_order_date_end, original_order_id, phone, postal_code, state, status].hash
|
337
|
+
[auto_order_code, card_type, city, company, country_code, customer_profile_oid, email, first_name, item_id, last_name, next_item_id, next_shipment_date_begin, next_shipment_date_end, original_item_id, original_order_date_begin, original_order_date_end, original_order_id, phone, postal_code, state, status].hash
|
318
338
|
end
|
319
339
|
|
320
340
|
# Builds the object from hash
|
@@ -38,6 +38,8 @@ module UltracartClient
|
|
38
38
|
|
39
39
|
attr_accessor :logs
|
40
40
|
|
41
|
+
attr_accessor :omit_log_map
|
42
|
+
|
41
43
|
attr_accessor :order_ids
|
42
44
|
|
43
45
|
attr_accessor :pk
|
@@ -46,6 +48,8 @@ module UltracartClient
|
|
46
48
|
|
47
49
|
attr_accessor :status
|
48
50
|
|
51
|
+
attr_accessor :status_code
|
52
|
+
|
49
53
|
# Attribute mapping from ruby-style variable name to JSON key.
|
50
54
|
def self.attribute_map
|
51
55
|
{
|
@@ -61,10 +65,12 @@ module UltracartClient
|
|
61
65
|
:'logger_id' => :'logger_id',
|
62
66
|
:'logger_name' => :'logger_name',
|
63
67
|
:'logs' => :'logs',
|
68
|
+
:'omit_log_map' => :'omit_log_map',
|
64
69
|
:'order_ids' => :'order_ids',
|
65
70
|
:'pk' => :'pk',
|
66
71
|
:'sk' => :'sk',
|
67
|
-
:'status' => :'status'
|
72
|
+
:'status' => :'status',
|
73
|
+
:'status_code' => :'status_code'
|
68
74
|
}
|
69
75
|
end
|
70
76
|
|
@@ -83,10 +89,12 @@ module UltracartClient
|
|
83
89
|
:'logger_id' => :'String',
|
84
90
|
:'logger_name' => :'String',
|
85
91
|
:'logs' => :'Array<IntegrationLogLog>',
|
92
|
+
:'omit_log_map' => :'BOOLEAN',
|
86
93
|
:'order_ids' => :'Array<String>',
|
87
94
|
:'pk' => :'String',
|
88
95
|
:'sk' => :'String',
|
89
|
-
:'status' => :'String'
|
96
|
+
:'status' => :'String',
|
97
|
+
:'status_code' => :'Integer'
|
90
98
|
}
|
91
99
|
end
|
92
100
|
|
@@ -150,6 +158,10 @@ module UltracartClient
|
|
150
158
|
end
|
151
159
|
end
|
152
160
|
|
161
|
+
if attributes.has_key?(:'omit_log_map')
|
162
|
+
self.omit_log_map = attributes[:'omit_log_map']
|
163
|
+
end
|
164
|
+
|
153
165
|
if attributes.has_key?(:'order_ids')
|
154
166
|
if (value = attributes[:'order_ids']).is_a?(Array)
|
155
167
|
self.order_ids = value
|
@@ -167,6 +179,10 @@ module UltracartClient
|
|
167
179
|
if attributes.has_key?(:'status')
|
168
180
|
self.status = attributes[:'status']
|
169
181
|
end
|
182
|
+
|
183
|
+
if attributes.has_key?(:'status_code')
|
184
|
+
self.status_code = attributes[:'status_code']
|
185
|
+
end
|
170
186
|
end
|
171
187
|
|
172
188
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -199,10 +215,12 @@ module UltracartClient
|
|
199
215
|
logger_id == o.logger_id &&
|
200
216
|
logger_name == o.logger_name &&
|
201
217
|
logs == o.logs &&
|
218
|
+
omit_log_map == o.omit_log_map &&
|
202
219
|
order_ids == o.order_ids &&
|
203
220
|
pk == o.pk &&
|
204
221
|
sk == o.sk &&
|
205
|
-
status == o.status
|
222
|
+
status == o.status &&
|
223
|
+
status_code == o.status_code
|
206
224
|
end
|
207
225
|
|
208
226
|
# @see the `==` method
|
@@ -214,7 +232,7 @@ module UltracartClient
|
|
214
232
|
# Calculates hash code according to all attributes.
|
215
233
|
# @return [Fixnum] Hash code
|
216
234
|
def hash
|
217
|
-
[action, direction, email, files, integration_log_oid, item_id, item_ipn_oid, log_dts, log_type, logger_id, logger_name, logs, order_ids, pk, sk, status].hash
|
235
|
+
[action, direction, email, files, integration_log_oid, item_id, item_ipn_oid, log_dts, log_type, logger_id, logger_name, logs, omit_log_map, order_ids, pk, sk, status, status_code].hash
|
218
236
|
end
|
219
237
|
|
220
238
|
# 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.2.
|
4
|
+
version: 3.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|