ultracart_api 3.10.180 → 3.10.182
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 +6 -4
- data/docs/OrderQuery.md +3 -0
- data/docs/WorkflowTask.md +1 -0
- data/lib/ultracart_api/models/order_query.rb +31 -1
- data/lib/ultracart_api/models/workflow_task.rb +13 -1
- 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: 88c9fa44016b8fcabc3f7ef00362b64949639393227f68d27ff4c82ecbc19793
|
|
4
|
+
data.tar.gz: 06c51e5cec877da46fd8efac8b771921e49f3dec9b42543aad7506c9be409b31
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1123323cd8840bfbffa65f8354a11142abfb7bd834ff670f9d13490967277d2bbc84ef0d1b292cad35672a4aefd07ea067e82f1a5ccdd0120e87e6195407cd95
|
|
7
|
+
data.tar.gz: 96728cb0c63a8f7d746f2ad09cf23850c3699c39de8647613a199479d71290532185413c41a7cdf798a70b26400e89f6fc08b698410da920c5ae593c2114be6b
|
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.182
|
|
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.182.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.182.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.182'
|
|
36
36
|
|
|
37
37
|
### Install from Git
|
|
38
38
|
|
|
@@ -1398,6 +1398,8 @@ Not every change is committed to every SDK.
|
|
|
1398
1398
|
|
|
1399
1399
|
| Version | Date | Comments |
|
|
1400
1400
|
| --: | :-: | --- |
|
|
1401
|
+
| 3.10.182 | 01/16/2024 | order query - support searching by custom fields 8 through 10 |
|
|
1402
|
+
| 3.10.181 | 01/12/2024 | workflow task - add properties array |
|
|
1401
1403
|
| 3.10.180 | 01/10/2024 | workflow tasks - support for searching by tags |
|
|
1402
1404
|
| 3.10.179 | 01/10/2024 | workflow task - add uuids of related tasks and tags |
|
|
1403
1405
|
| 3.10.178 | 01/03/2024 | workflow - add task_context field to task obj |
|
data/docs/OrderQuery.md
CHANGED
|
@@ -13,12 +13,15 @@ Name | Type | Description | Notes
|
|
|
13
13
|
**creation_date_end** | **String** | Date/time that the order was created | [optional]
|
|
14
14
|
**current_stage** | **String** | Current stage that the order is in. | [optional]
|
|
15
15
|
**custom_field_1** | **String** | Custom field 1 | [optional]
|
|
16
|
+
**custom_field_10** | **String** | Custom field 10 | [optional]
|
|
16
17
|
**custom_field_2** | **String** | Custom field 2 | [optional]
|
|
17
18
|
**custom_field_3** | **String** | Custom field 3 | [optional]
|
|
18
19
|
**custom_field_4** | **String** | Custom field 4 | [optional]
|
|
19
20
|
**custom_field_5** | **String** | Custom field 5 | [optional]
|
|
20
21
|
**custom_field_6** | **String** | Custom field 6 | [optional]
|
|
21
22
|
**custom_field_7** | **String** | Custom field 7 | [optional]
|
|
23
|
+
**custom_field_8** | **String** | Custom field 8 | [optional]
|
|
24
|
+
**custom_field_9** | **String** | Custom field 9 | [optional]
|
|
22
25
|
**customer_profile_oid** | **Integer** | The customer profile to find associated orders for | [optional]
|
|
23
26
|
**email** | **String** | Email | [optional]
|
|
24
27
|
**first_name** | **String** | First name | [optional]
|
data/docs/WorkflowTask.md
CHANGED
|
@@ -22,6 +22,7 @@ Name | Type | Description | Notes
|
|
|
22
22
|
**object_type** | **String** | Object Type | [optional]
|
|
23
23
|
**object_url** | **String** | Object URL | [optional]
|
|
24
24
|
**priority** | **String** | Priority | [optional]
|
|
25
|
+
**properties** | [**Array<Property>**](Property.md) | Properties | [optional]
|
|
25
26
|
**related_workflow_task_uuid** | **String** | Related Workflow Task UUID | [optional]
|
|
26
27
|
**status** | **String** | Status of the workflow task | [optional]
|
|
27
28
|
**tags** | **Array<String>** | Tags | [optional]
|
|
@@ -44,6 +44,9 @@ module UltracartClient
|
|
|
44
44
|
# Custom field 1
|
|
45
45
|
attr_accessor :custom_field_1
|
|
46
46
|
|
|
47
|
+
# Custom field 10
|
|
48
|
+
attr_accessor :custom_field_10
|
|
49
|
+
|
|
47
50
|
# Custom field 2
|
|
48
51
|
attr_accessor :custom_field_2
|
|
49
52
|
|
|
@@ -62,6 +65,12 @@ module UltracartClient
|
|
|
62
65
|
# Custom field 7
|
|
63
66
|
attr_accessor :custom_field_7
|
|
64
67
|
|
|
68
|
+
# Custom field 8
|
|
69
|
+
attr_accessor :custom_field_8
|
|
70
|
+
|
|
71
|
+
# Custom field 9
|
|
72
|
+
attr_accessor :custom_field_9
|
|
73
|
+
|
|
65
74
|
# The customer profile to find associated orders for
|
|
66
75
|
attr_accessor :customer_profile_oid
|
|
67
76
|
|
|
@@ -166,12 +175,15 @@ module UltracartClient
|
|
|
166
175
|
:'creation_date_end' => :'creation_date_end',
|
|
167
176
|
:'current_stage' => :'current_stage',
|
|
168
177
|
:'custom_field_1' => :'custom_field_1',
|
|
178
|
+
:'custom_field_10' => :'custom_field_10',
|
|
169
179
|
:'custom_field_2' => :'custom_field_2',
|
|
170
180
|
:'custom_field_3' => :'custom_field_3',
|
|
171
181
|
:'custom_field_4' => :'custom_field_4',
|
|
172
182
|
:'custom_field_5' => :'custom_field_5',
|
|
173
183
|
:'custom_field_6' => :'custom_field_6',
|
|
174
184
|
:'custom_field_7' => :'custom_field_7',
|
|
185
|
+
:'custom_field_8' => :'custom_field_8',
|
|
186
|
+
:'custom_field_9' => :'custom_field_9',
|
|
175
187
|
:'customer_profile_oid' => :'customer_profile_oid',
|
|
176
188
|
:'email' => :'email',
|
|
177
189
|
:'first_name' => :'first_name',
|
|
@@ -211,12 +223,15 @@ module UltracartClient
|
|
|
211
223
|
:'creation_date_end' => :'String',
|
|
212
224
|
:'current_stage' => :'String',
|
|
213
225
|
:'custom_field_1' => :'String',
|
|
226
|
+
:'custom_field_10' => :'String',
|
|
214
227
|
:'custom_field_2' => :'String',
|
|
215
228
|
:'custom_field_3' => :'String',
|
|
216
229
|
:'custom_field_4' => :'String',
|
|
217
230
|
:'custom_field_5' => :'String',
|
|
218
231
|
:'custom_field_6' => :'String',
|
|
219
232
|
:'custom_field_7' => :'String',
|
|
233
|
+
:'custom_field_8' => :'String',
|
|
234
|
+
:'custom_field_9' => :'String',
|
|
220
235
|
:'customer_profile_oid' => :'Integer',
|
|
221
236
|
:'email' => :'String',
|
|
222
237
|
:'first_name' => :'String',
|
|
@@ -291,6 +306,10 @@ module UltracartClient
|
|
|
291
306
|
self.custom_field_1 = attributes[:'custom_field_1']
|
|
292
307
|
end
|
|
293
308
|
|
|
309
|
+
if attributes.has_key?(:'custom_field_10')
|
|
310
|
+
self.custom_field_10 = attributes[:'custom_field_10']
|
|
311
|
+
end
|
|
312
|
+
|
|
294
313
|
if attributes.has_key?(:'custom_field_2')
|
|
295
314
|
self.custom_field_2 = attributes[:'custom_field_2']
|
|
296
315
|
end
|
|
@@ -315,6 +334,14 @@ module UltracartClient
|
|
|
315
334
|
self.custom_field_7 = attributes[:'custom_field_7']
|
|
316
335
|
end
|
|
317
336
|
|
|
337
|
+
if attributes.has_key?(:'custom_field_8')
|
|
338
|
+
self.custom_field_8 = attributes[:'custom_field_8']
|
|
339
|
+
end
|
|
340
|
+
|
|
341
|
+
if attributes.has_key?(:'custom_field_9')
|
|
342
|
+
self.custom_field_9 = attributes[:'custom_field_9']
|
|
343
|
+
end
|
|
344
|
+
|
|
318
345
|
if attributes.has_key?(:'customer_profile_oid')
|
|
319
346
|
self.customer_profile_oid = attributes[:'customer_profile_oid']
|
|
320
347
|
end
|
|
@@ -640,12 +667,15 @@ module UltracartClient
|
|
|
640
667
|
creation_date_end == o.creation_date_end &&
|
|
641
668
|
current_stage == o.current_stage &&
|
|
642
669
|
custom_field_1 == o.custom_field_1 &&
|
|
670
|
+
custom_field_10 == o.custom_field_10 &&
|
|
643
671
|
custom_field_2 == o.custom_field_2 &&
|
|
644
672
|
custom_field_3 == o.custom_field_3 &&
|
|
645
673
|
custom_field_4 == o.custom_field_4 &&
|
|
646
674
|
custom_field_5 == o.custom_field_5 &&
|
|
647
675
|
custom_field_6 == o.custom_field_6 &&
|
|
648
676
|
custom_field_7 == o.custom_field_7 &&
|
|
677
|
+
custom_field_8 == o.custom_field_8 &&
|
|
678
|
+
custom_field_9 == o.custom_field_9 &&
|
|
649
679
|
customer_profile_oid == o.customer_profile_oid &&
|
|
650
680
|
email == o.email &&
|
|
651
681
|
first_name == o.first_name &&
|
|
@@ -680,7 +710,7 @@ module UltracartClient
|
|
|
680
710
|
# Calculates hash code according to all attributes.
|
|
681
711
|
# @return [Fixnum] Hash code
|
|
682
712
|
def hash
|
|
683
|
-
[cc_email, channel_partner_code, channel_partner_order_id, city, company, country_code, creation_date_begin, creation_date_end, current_stage, custom_field_1, custom_field_2, custom_field_3, custom_field_4, custom_field_5, custom_field_6, custom_field_7, customer_profile_oid, email, first_name, item_id, last_name, order_id, payment_date_begin, payment_date_end, payment_method, phone, postal_code, purchase_order_number, refund_date_begin, refund_date_end, rma, screen_branding_theme_code, shipment_date_begin, shipment_date_end, shipped_on_date_begin, shipped_on_date_end, state_region, storefront_host_name, total].hash
|
|
713
|
+
[cc_email, channel_partner_code, channel_partner_order_id, city, company, country_code, creation_date_begin, creation_date_end, current_stage, custom_field_1, custom_field_10, custom_field_2, custom_field_3, custom_field_4, custom_field_5, custom_field_6, custom_field_7, custom_field_8, custom_field_9, customer_profile_oid, email, first_name, item_id, last_name, order_id, payment_date_begin, payment_date_end, payment_method, phone, postal_code, purchase_order_number, refund_date_begin, refund_date_end, rma, screen_branding_theme_code, shipment_date_begin, shipment_date_end, shipped_on_date_begin, shipped_on_date_end, state_region, storefront_host_name, total].hash
|
|
684
714
|
end
|
|
685
715
|
|
|
686
716
|
# Builds the object from hash
|
|
@@ -70,6 +70,9 @@ module UltracartClient
|
|
|
70
70
|
# Priority
|
|
71
71
|
attr_accessor :priority
|
|
72
72
|
|
|
73
|
+
# Properties
|
|
74
|
+
attr_accessor :properties
|
|
75
|
+
|
|
73
76
|
# Related Workflow Task UUID
|
|
74
77
|
attr_accessor :related_workflow_task_uuid
|
|
75
78
|
|
|
@@ -135,6 +138,7 @@ module UltracartClient
|
|
|
135
138
|
:'object_type' => :'object_type',
|
|
136
139
|
:'object_url' => :'object_url',
|
|
137
140
|
:'priority' => :'priority',
|
|
141
|
+
:'properties' => :'properties',
|
|
138
142
|
:'related_workflow_task_uuid' => :'related_workflow_task_uuid',
|
|
139
143
|
:'status' => :'status',
|
|
140
144
|
:'tags' => :'tags',
|
|
@@ -167,6 +171,7 @@ module UltracartClient
|
|
|
167
171
|
:'object_type' => :'String',
|
|
168
172
|
:'object_url' => :'String',
|
|
169
173
|
:'priority' => :'String',
|
|
174
|
+
:'properties' => :'Array<Property>',
|
|
170
175
|
:'related_workflow_task_uuid' => :'String',
|
|
171
176
|
:'status' => :'String',
|
|
172
177
|
:'tags' => :'Array<String>',
|
|
@@ -267,6 +272,12 @@ module UltracartClient
|
|
|
267
272
|
self.priority = attributes[:'priority']
|
|
268
273
|
end
|
|
269
274
|
|
|
275
|
+
if attributes.has_key?(:'properties')
|
|
276
|
+
if (value = attributes[:'properties']).is_a?(Array)
|
|
277
|
+
self.properties = value
|
|
278
|
+
end
|
|
279
|
+
end
|
|
280
|
+
|
|
270
281
|
if attributes.has_key?(:'related_workflow_task_uuid')
|
|
271
282
|
self.related_workflow_task_uuid = attributes[:'related_workflow_task_uuid']
|
|
272
283
|
end
|
|
@@ -371,6 +382,7 @@ module UltracartClient
|
|
|
371
382
|
object_type == o.object_type &&
|
|
372
383
|
object_url == o.object_url &&
|
|
373
384
|
priority == o.priority &&
|
|
385
|
+
properties == o.properties &&
|
|
374
386
|
related_workflow_task_uuid == o.related_workflow_task_uuid &&
|
|
375
387
|
status == o.status &&
|
|
376
388
|
tags == o.tags &&
|
|
@@ -389,7 +401,7 @@ module UltracartClient
|
|
|
389
401
|
# Calculates hash code according to all attributes.
|
|
390
402
|
# @return [Fixnum] Hash code
|
|
391
403
|
def hash
|
|
392
|
-
[assigned_to_group, assigned_to_group_id, assigned_to_user, assigned_to_user_id, attachments, created_by, created_dts, delay_until_dts, dependant_workflow_task_uuid, due_dts, histories, last_update_dts, merchant_id, notes, object_email, object_id, object_type, object_url, priority, related_workflow_task_uuid, status, tags, task_context, task_details, task_name, workflow_task_uuid].hash
|
|
404
|
+
[assigned_to_group, assigned_to_group_id, assigned_to_user, assigned_to_user_id, attachments, created_by, created_dts, delay_until_dts, dependant_workflow_task_uuid, due_dts, histories, last_update_dts, merchant_id, notes, object_email, object_id, object_type, object_url, priority, properties, related_workflow_task_uuid, status, tags, task_context, task_details, task_name, workflow_task_uuid].hash
|
|
393
405
|
end
|
|
394
406
|
|
|
395
407
|
# 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.182
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- UltraCart
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-01-
|
|
11
|
+
date: 2024-01-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|