ultracart_api 4.0.197 → 4.0.199
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 +6 -0
- data/docs/WorkflowTask.md +2 -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: 7b51ea911782ad66e3b9d4a9fc0d38c278b10e27db20d89a45bb260657bb216a
|
4
|
+
data.tar.gz: c05574295f8e9f6714ca3ec17d871fbe7a566fb736683c1d0cb270510c94ba5a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2dfcda5a1f76e8fe12554771f3e21744085478b222d0b4602f78957ce2f0e44af70acc7ba27c237050ca44ec9795bc3c4805ad470bb23aa9eb68d5353250affe
|
7
|
+
data.tar.gz: 3eef8147055652bcf8e125ad94be1cdf67c2ebbfc682ef72b5e96d5b3d1912635862c9dddb936df71f0a11e6ea1d9fbf08aa22e385ebf331e4e9f36af3054318
|
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.199
|
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.199.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.199.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.199'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -1406,6 +1406,8 @@ Not every change is committed to every SDK.
|
|
1406
1406
|
|
1407
1407
|
| Version | Date | Comments |
|
1408
1408
|
| --: | :-: | --- |
|
1409
|
+
| 4.0.199 | 01/16/2024 | order query - support searching by custom fields 8 through 10 |
|
1410
|
+
| 4.0.198 | 01/12/2024 | workflow task - add properties array |
|
1409
1411
|
| 4.0.197 | 01/10/2024 | workflow tasks - support for searching by tags |
|
1410
1412
|
| 4.0.196 | 01/10/2024 | workflow task - add uuids of related tasks and tags |
|
1411
1413
|
| 4.0.195 | 01/03/2024 | workflow - add task_context field to task obj |
|
data/docs/OrderQuery.md
CHANGED
@@ -14,12 +14,15 @@
|
|
14
14
|
| **creation_date_end** | **String** | Date/time that the order was created | [optional] |
|
15
15
|
| **current_stage** | **String** | Current stage that the order is in. | [optional] |
|
16
16
|
| **custom_field_1** | **String** | Custom field 1 | [optional] |
|
17
|
+
| **custom_field_10** | **String** | Custom field 10 | [optional] |
|
17
18
|
| **custom_field_2** | **String** | Custom field 2 | [optional] |
|
18
19
|
| **custom_field_3** | **String** | Custom field 3 | [optional] |
|
19
20
|
| **custom_field_4** | **String** | Custom field 4 | [optional] |
|
20
21
|
| **custom_field_5** | **String** | Custom field 5 | [optional] |
|
21
22
|
| **custom_field_6** | **String** | Custom field 6 | [optional] |
|
22
23
|
| **custom_field_7** | **String** | Custom field 7 | [optional] |
|
24
|
+
| **custom_field_8** | **String** | Custom field 8 | [optional] |
|
25
|
+
| **custom_field_9** | **String** | Custom field 9 | [optional] |
|
23
26
|
| **customer_profile_oid** | **Integer** | The customer profile to find associated orders for | [optional] |
|
24
27
|
| **email** | **String** | Email | [optional] |
|
25
28
|
| **first_name** | **String** | First name | [optional] |
|
@@ -60,12 +63,15 @@ instance = UltracartClient::OrderQuery.new(
|
|
60
63
|
creation_date_end: null,
|
61
64
|
current_stage: null,
|
62
65
|
custom_field_1: null,
|
66
|
+
custom_field_10: null,
|
63
67
|
custom_field_2: null,
|
64
68
|
custom_field_3: null,
|
65
69
|
custom_field_4: null,
|
66
70
|
custom_field_5: null,
|
67
71
|
custom_field_6: null,
|
68
72
|
custom_field_7: null,
|
73
|
+
custom_field_8: null,
|
74
|
+
custom_field_9: null,
|
69
75
|
customer_profile_oid: null,
|
70
76
|
email: null,
|
71
77
|
first_name: null,
|
data/docs/WorkflowTask.md
CHANGED
@@ -23,6 +23,7 @@
|
|
23
23
|
| **object_type** | **String** | Object Type | [optional] |
|
24
24
|
| **object_url** | **String** | Object URL | [optional] |
|
25
25
|
| **priority** | **String** | Priority | [optional] |
|
26
|
+
| **properties** | [**Array<Property>**](Property.md) | Properties | [optional] |
|
26
27
|
| **related_workflow_task_uuid** | **String** | Related Workflow Task UUID | [optional] |
|
27
28
|
| **status** | **String** | Status of the workflow task | [optional] |
|
28
29
|
| **tags** | **Array<String>** | Tags | [optional] |
|
@@ -56,6 +57,7 @@ instance = UltracartClient::WorkflowTask.new(
|
|
56
57
|
object_type: null,
|
57
58
|
object_url: null,
|
58
59
|
priority: null,
|
60
|
+
properties: null,
|
59
61
|
related_workflow_task_uuid: null,
|
60
62
|
status: null,
|
61
63
|
tags: null,
|
@@ -45,6 +45,9 @@ module UltracartClient
|
|
45
45
|
# Custom field 1
|
46
46
|
attr_accessor :custom_field_1
|
47
47
|
|
48
|
+
# Custom field 10
|
49
|
+
attr_accessor :custom_field_10
|
50
|
+
|
48
51
|
# Custom field 2
|
49
52
|
attr_accessor :custom_field_2
|
50
53
|
|
@@ -63,6 +66,12 @@ module UltracartClient
|
|
63
66
|
# Custom field 7
|
64
67
|
attr_accessor :custom_field_7
|
65
68
|
|
69
|
+
# Custom field 8
|
70
|
+
attr_accessor :custom_field_8
|
71
|
+
|
72
|
+
# Custom field 9
|
73
|
+
attr_accessor :custom_field_9
|
74
|
+
|
66
75
|
# The customer profile to find associated orders for
|
67
76
|
attr_accessor :customer_profile_oid
|
68
77
|
|
@@ -167,12 +176,15 @@ module UltracartClient
|
|
167
176
|
:'creation_date_end' => :'creation_date_end',
|
168
177
|
:'current_stage' => :'current_stage',
|
169
178
|
:'custom_field_1' => :'custom_field_1',
|
179
|
+
:'custom_field_10' => :'custom_field_10',
|
170
180
|
:'custom_field_2' => :'custom_field_2',
|
171
181
|
:'custom_field_3' => :'custom_field_3',
|
172
182
|
:'custom_field_4' => :'custom_field_4',
|
173
183
|
:'custom_field_5' => :'custom_field_5',
|
174
184
|
:'custom_field_6' => :'custom_field_6',
|
175
185
|
:'custom_field_7' => :'custom_field_7',
|
186
|
+
:'custom_field_8' => :'custom_field_8',
|
187
|
+
:'custom_field_9' => :'custom_field_9',
|
176
188
|
:'customer_profile_oid' => :'customer_profile_oid',
|
177
189
|
:'email' => :'email',
|
178
190
|
:'first_name' => :'first_name',
|
@@ -217,12 +229,15 @@ module UltracartClient
|
|
217
229
|
:'creation_date_end' => :'String',
|
218
230
|
:'current_stage' => :'String',
|
219
231
|
:'custom_field_1' => :'String',
|
232
|
+
:'custom_field_10' => :'String',
|
220
233
|
:'custom_field_2' => :'String',
|
221
234
|
:'custom_field_3' => :'String',
|
222
235
|
:'custom_field_4' => :'String',
|
223
236
|
:'custom_field_5' => :'String',
|
224
237
|
:'custom_field_6' => :'String',
|
225
238
|
:'custom_field_7' => :'String',
|
239
|
+
:'custom_field_8' => :'String',
|
240
|
+
:'custom_field_9' => :'String',
|
226
241
|
:'customer_profile_oid' => :'Integer',
|
227
242
|
:'email' => :'String',
|
228
243
|
:'first_name' => :'String',
|
@@ -310,6 +325,10 @@ module UltracartClient
|
|
310
325
|
self.custom_field_1 = attributes[:'custom_field_1']
|
311
326
|
end
|
312
327
|
|
328
|
+
if attributes.key?(:'custom_field_10')
|
329
|
+
self.custom_field_10 = attributes[:'custom_field_10']
|
330
|
+
end
|
331
|
+
|
313
332
|
if attributes.key?(:'custom_field_2')
|
314
333
|
self.custom_field_2 = attributes[:'custom_field_2']
|
315
334
|
end
|
@@ -334,6 +353,14 @@ module UltracartClient
|
|
334
353
|
self.custom_field_7 = attributes[:'custom_field_7']
|
335
354
|
end
|
336
355
|
|
356
|
+
if attributes.key?(:'custom_field_8')
|
357
|
+
self.custom_field_8 = attributes[:'custom_field_8']
|
358
|
+
end
|
359
|
+
|
360
|
+
if attributes.key?(:'custom_field_9')
|
361
|
+
self.custom_field_9 = attributes[:'custom_field_9']
|
362
|
+
end
|
363
|
+
|
337
364
|
if attributes.key?(:'customer_profile_oid')
|
338
365
|
self.customer_profile_oid = attributes[:'customer_profile_oid']
|
339
366
|
end
|
@@ -659,12 +686,15 @@ module UltracartClient
|
|
659
686
|
creation_date_end == o.creation_date_end &&
|
660
687
|
current_stage == o.current_stage &&
|
661
688
|
custom_field_1 == o.custom_field_1 &&
|
689
|
+
custom_field_10 == o.custom_field_10 &&
|
662
690
|
custom_field_2 == o.custom_field_2 &&
|
663
691
|
custom_field_3 == o.custom_field_3 &&
|
664
692
|
custom_field_4 == o.custom_field_4 &&
|
665
693
|
custom_field_5 == o.custom_field_5 &&
|
666
694
|
custom_field_6 == o.custom_field_6 &&
|
667
695
|
custom_field_7 == o.custom_field_7 &&
|
696
|
+
custom_field_8 == o.custom_field_8 &&
|
697
|
+
custom_field_9 == o.custom_field_9 &&
|
668
698
|
customer_profile_oid == o.customer_profile_oid &&
|
669
699
|
email == o.email &&
|
670
700
|
first_name == o.first_name &&
|
@@ -699,7 +729,7 @@ module UltracartClient
|
|
699
729
|
# Calculates hash code according to all attributes.
|
700
730
|
# @return [Integer] Hash code
|
701
731
|
def hash
|
702
|
-
[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
|
732
|
+
[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
|
703
733
|
end
|
704
734
|
|
705
735
|
# Builds the object from hash
|
@@ -71,6 +71,9 @@ module UltracartClient
|
|
71
71
|
# Priority
|
72
72
|
attr_accessor :priority
|
73
73
|
|
74
|
+
# Properties
|
75
|
+
attr_accessor :properties
|
76
|
+
|
74
77
|
# Related Workflow Task UUID
|
75
78
|
attr_accessor :related_workflow_task_uuid
|
76
79
|
|
@@ -136,6 +139,7 @@ module UltracartClient
|
|
136
139
|
:'object_type' => :'object_type',
|
137
140
|
:'object_url' => :'object_url',
|
138
141
|
:'priority' => :'priority',
|
142
|
+
:'properties' => :'properties',
|
139
143
|
:'related_workflow_task_uuid' => :'related_workflow_task_uuid',
|
140
144
|
:'status' => :'status',
|
141
145
|
:'tags' => :'tags',
|
@@ -173,6 +177,7 @@ module UltracartClient
|
|
173
177
|
:'object_type' => :'String',
|
174
178
|
:'object_url' => :'String',
|
175
179
|
:'priority' => :'String',
|
180
|
+
:'properties' => :'Array<Property>',
|
176
181
|
:'related_workflow_task_uuid' => :'String',
|
177
182
|
:'status' => :'String',
|
178
183
|
:'tags' => :'Array<String>',
|
@@ -286,6 +291,12 @@ module UltracartClient
|
|
286
291
|
self.priority = attributes[:'priority']
|
287
292
|
end
|
288
293
|
|
294
|
+
if attributes.key?(:'properties')
|
295
|
+
if (value = attributes[:'properties']).is_a?(Array)
|
296
|
+
self.properties = value
|
297
|
+
end
|
298
|
+
end
|
299
|
+
|
289
300
|
if attributes.key?(:'related_workflow_task_uuid')
|
290
301
|
self.related_workflow_task_uuid = attributes[:'related_workflow_task_uuid']
|
291
302
|
end
|
@@ -390,6 +401,7 @@ module UltracartClient
|
|
390
401
|
object_type == o.object_type &&
|
391
402
|
object_url == o.object_url &&
|
392
403
|
priority == o.priority &&
|
404
|
+
properties == o.properties &&
|
393
405
|
related_workflow_task_uuid == o.related_workflow_task_uuid &&
|
394
406
|
status == o.status &&
|
395
407
|
tags == o.tags &&
|
@@ -408,7 +420,7 @@ module UltracartClient
|
|
408
420
|
# Calculates hash code according to all attributes.
|
409
421
|
# @return [Integer] Hash code
|
410
422
|
def hash
|
411
|
-
[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
|
423
|
+
[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
|
412
424
|
end
|
413
425
|
|
414
426
|
# 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: 4.0.
|
4
|
+
version: 4.0.199
|
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
|