ultracart_api 4.0.196 → 4.0.198
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/WorkflowTask.md +2 -0
- data/docs/WorkflowTasksRequest.md +2 -0
- data/lib/ultracart_api/models/workflow_task.rb +13 -1
- data/lib/ultracart_api/models/workflow_tasks_request.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: 314fdc15c768a22b6342a22d3e29a9dac8a9a9a9b31f244045be140ab0dcf3b1
|
4
|
+
data.tar.gz: e5a1b54ee345dc7a2e859cfbd11909a917fd644ffcab46ac9580a1c45e7e16ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83c10045aad83a9b952a9643c14fd67940fc8d9da5b1e6f340f952ec333ff3ff798a25e136a793333f1e631844cc34d64426425822fd03506882dcc379d7c538
|
7
|
+
data.tar.gz: 7205e585540656c0da0f3ad89ed2fcf579d3092e457e1ead6d2d36d3deccb30594100b2360d8ace40a8c98604b4956dad601017c565f06ed80a4f1259c7dfe46
|
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.198
|
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.198.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.198.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.198'
|
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.198 | 01/12/2024 | workflow task - add properties array |
|
1410
|
+
| 4.0.197 | 01/10/2024 | workflow tasks - support for searching by tags |
|
1409
1411
|
| 4.0.196 | 01/10/2024 | workflow task - add uuids of related tasks and tags |
|
1410
1412
|
| 4.0.195 | 01/03/2024 | workflow - add task_context field to task obj |
|
1411
1413
|
| 4.0.194 | 12/15/2023 | bug fix on bad docs breaking yaml schema |
|
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,
|
@@ -20,6 +20,7 @@
|
|
20
20
|
| **object_type** | **String** | Object Type | [optional] |
|
21
21
|
| **priority** | **String** | Priority | [optional] |
|
22
22
|
| **status** | **String** | Status of the workflow task | [optional] |
|
23
|
+
| **tags** | **Array<String>** | Tasks that are tagged with the specified tags | [optional] |
|
23
24
|
| **unassigned** | **Boolean** | Tasks that are unassigned to a user or group | [optional] |
|
24
25
|
|
25
26
|
## Example
|
@@ -44,6 +45,7 @@ instance = UltracartClient::WorkflowTasksRequest.new(
|
|
44
45
|
object_type: null,
|
45
46
|
priority: null,
|
46
47
|
status: null,
|
48
|
+
tags: null,
|
47
49
|
unassigned: null
|
48
50
|
)
|
49
51
|
```
|
@@ -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
|
@@ -62,6 +62,9 @@ module UltracartClient
|
|
62
62
|
# Status of the workflow task
|
63
63
|
attr_accessor :status
|
64
64
|
|
65
|
+
# Tasks that are tagged with the specified tags
|
66
|
+
attr_accessor :tags
|
67
|
+
|
65
68
|
# Tasks that are unassigned to a user or group
|
66
69
|
attr_accessor :unassigned
|
67
70
|
|
@@ -106,6 +109,7 @@ module UltracartClient
|
|
106
109
|
:'object_type' => :'object_type',
|
107
110
|
:'priority' => :'priority',
|
108
111
|
:'status' => :'status',
|
112
|
+
:'tags' => :'tags',
|
109
113
|
:'unassigned' => :'unassigned'
|
110
114
|
}
|
111
115
|
end
|
@@ -134,6 +138,7 @@ module UltracartClient
|
|
134
138
|
:'object_type' => :'String',
|
135
139
|
:'priority' => :'String',
|
136
140
|
:'status' => :'String',
|
141
|
+
:'tags' => :'Array<String>',
|
137
142
|
:'unassigned' => :'Boolean'
|
138
143
|
}
|
139
144
|
end
|
@@ -223,6 +228,12 @@ module UltracartClient
|
|
223
228
|
self.status = attributes[:'status']
|
224
229
|
end
|
225
230
|
|
231
|
+
if attributes.key?(:'tags')
|
232
|
+
if (value = attributes[:'tags']).is_a?(Array)
|
233
|
+
self.tags = value
|
234
|
+
end
|
235
|
+
end
|
236
|
+
|
226
237
|
if attributes.key?(:'unassigned')
|
227
238
|
self.unassigned = attributes[:'unassigned']
|
228
239
|
end
|
@@ -298,6 +309,7 @@ module UltracartClient
|
|
298
309
|
object_type == o.object_type &&
|
299
310
|
priority == o.priority &&
|
300
311
|
status == o.status &&
|
312
|
+
tags == o.tags &&
|
301
313
|
unassigned == o.unassigned
|
302
314
|
end
|
303
315
|
|
@@ -310,7 +322,7 @@ module UltracartClient
|
|
310
322
|
# Calculates hash code according to all attributes.
|
311
323
|
# @return [Integer] Hash code
|
312
324
|
def hash
|
313
|
-
[assigned_to_group_id, assigned_to_me, assigned_to_user_id, created_by, created_dts_begin, created_dts_end, delay_until_dts_begin, delay_until_dts_end, due_dts_begin, due_dts_end, last_update_dts_begin, last_update_dts_end, object_email, object_type, priority, status, unassigned].hash
|
325
|
+
[assigned_to_group_id, assigned_to_me, assigned_to_user_id, created_by, created_dts_begin, created_dts_end, delay_until_dts_begin, delay_until_dts_end, due_dts_begin, due_dts_end, last_update_dts_begin, last_update_dts_end, object_email, object_type, priority, status, tags, unassigned].hash
|
314
326
|
end
|
315
327
|
|
316
328
|
# 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.198
|
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-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|