ultracart_rest_api_v2_typescript 4.0.197 → 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.
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## ultracart_rest_api_v2_typescript@4.0.
|
|
1
|
+
## ultracart_rest_api_v2_typescript@4.0.198
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install ultracart_rest_api_v2_typescript@4.0.
|
|
39
|
+
npm install ultracart_rest_api_v2_typescript@4.0.198 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -54,6 +54,7 @@ Not every change is committed to every SDK.
|
|
|
54
54
|
|
|
55
55
|
| Version | Date | Comments |
|
|
56
56
|
| --: | :-: | --- |
|
|
57
|
+
| 4.0.198 | 01/12/2024 | workflow task - add properties array |
|
|
57
58
|
| 4.0.197 | 01/10/2024 | workflow tasks - support for searching by tags |
|
|
58
59
|
| 4.0.196 | 01/10/2024 | workflow task - add uuids of related tasks and tags |
|
|
59
60
|
| 4.0.195 | 01/03/2024 | workflow - add task_context field to task obj |
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { Property } from './Property';
|
|
12
13
|
import { WorkflowAttachment } from './WorkflowAttachment';
|
|
13
14
|
import { WorkflowNote } from './WorkflowNote';
|
|
14
15
|
import { WorkflowTaskHistory } from './WorkflowTaskHistory';
|
|
@@ -133,6 +134,12 @@ export interface WorkflowTask {
|
|
|
133
134
|
* @memberof WorkflowTask
|
|
134
135
|
*/
|
|
135
136
|
priority?: WorkflowTaskPriorityEnum;
|
|
137
|
+
/**
|
|
138
|
+
* Properties
|
|
139
|
+
* @type {Array<Property>}
|
|
140
|
+
* @memberof WorkflowTask
|
|
141
|
+
*/
|
|
142
|
+
properties?: Array<Property>;
|
|
136
143
|
/**
|
|
137
144
|
* Related Workflow Task UUID
|
|
138
145
|
* @type {string}
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.WorkflowTaskToJSON = exports.WorkflowTaskFromJSONTyped = exports.WorkflowTaskFromJSON = exports.WorkflowTaskStatusEnum = exports.WorkflowTaskPriorityEnum = exports.WorkflowTaskObjectTypeEnum = void 0;
|
|
17
17
|
var runtime_1 = require("../runtime");
|
|
18
|
+
var Property_1 = require("./Property");
|
|
18
19
|
var WorkflowAttachment_1 = require("./WorkflowAttachment");
|
|
19
20
|
var WorkflowNote_1 = require("./WorkflowNote");
|
|
20
21
|
var WorkflowTaskHistory_1 = require("./WorkflowTaskHistory");
|
|
@@ -75,6 +76,7 @@ function WorkflowTaskFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
75
76
|
'object_type': !(0, runtime_1.exists)(json, 'object_type') ? undefined : json['object_type'],
|
|
76
77
|
'object_url': !(0, runtime_1.exists)(json, 'object_url') ? undefined : json['object_url'],
|
|
77
78
|
'priority': !(0, runtime_1.exists)(json, 'priority') ? undefined : json['priority'],
|
|
79
|
+
'properties': !(0, runtime_1.exists)(json, 'properties') ? undefined : (json['properties'].map(Property_1.PropertyFromJSON)),
|
|
78
80
|
'related_workflow_task_uuid': !(0, runtime_1.exists)(json, 'related_workflow_task_uuid') ? undefined : json['related_workflow_task_uuid'],
|
|
79
81
|
'status': !(0, runtime_1.exists)(json, 'status') ? undefined : json['status'],
|
|
80
82
|
'tags': !(0, runtime_1.exists)(json, 'tags') ? undefined : json['tags'],
|
|
@@ -112,6 +114,7 @@ function WorkflowTaskToJSON(value) {
|
|
|
112
114
|
'object_type': value.object_type,
|
|
113
115
|
'object_url': value.object_url,
|
|
114
116
|
'priority': value.priority,
|
|
117
|
+
'properties': value.properties === undefined ? undefined : (value.properties.map(Property_1.PropertyToJSON)),
|
|
115
118
|
'related_workflow_task_uuid': value.related_workflow_task_uuid,
|
|
116
119
|
'status': value.status,
|
|
117
120
|
'tags': value.tags,
|
package/package.json
CHANGED
|
@@ -13,6 +13,12 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import {
|
|
17
|
+
Property,
|
|
18
|
+
PropertyFromJSON,
|
|
19
|
+
PropertyFromJSONTyped,
|
|
20
|
+
PropertyToJSON,
|
|
21
|
+
} from './Property';
|
|
16
22
|
import {
|
|
17
23
|
WorkflowAttachment,
|
|
18
24
|
WorkflowAttachmentFromJSON,
|
|
@@ -158,6 +164,12 @@ export interface WorkflowTask {
|
|
|
158
164
|
* @memberof WorkflowTask
|
|
159
165
|
*/
|
|
160
166
|
priority?: WorkflowTaskPriorityEnum;
|
|
167
|
+
/**
|
|
168
|
+
* Properties
|
|
169
|
+
* @type {Array<Property>}
|
|
170
|
+
* @memberof WorkflowTask
|
|
171
|
+
*/
|
|
172
|
+
properties?: Array<Property>;
|
|
161
173
|
/**
|
|
162
174
|
* Related Workflow Task UUID
|
|
163
175
|
* @type {string}
|
|
@@ -267,6 +279,7 @@ export function WorkflowTaskFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
|
|
267
279
|
'object_type': !exists(json, 'object_type') ? undefined : json['object_type'],
|
|
268
280
|
'object_url': !exists(json, 'object_url') ? undefined : json['object_url'],
|
|
269
281
|
'priority': !exists(json, 'priority') ? undefined : json['priority'],
|
|
282
|
+
'properties': !exists(json, 'properties') ? undefined : ((json['properties'] as Array<any>).map(PropertyFromJSON)),
|
|
270
283
|
'related_workflow_task_uuid': !exists(json, 'related_workflow_task_uuid') ? undefined : json['related_workflow_task_uuid'],
|
|
271
284
|
'status': !exists(json, 'status') ? undefined : json['status'],
|
|
272
285
|
'tags': !exists(json, 'tags') ? undefined : json['tags'],
|
|
@@ -305,6 +318,7 @@ export function WorkflowTaskToJSON(value?: WorkflowTask | null): any {
|
|
|
305
318
|
'object_type': value.object_type,
|
|
306
319
|
'object_url': value.object_url,
|
|
307
320
|
'priority': value.priority,
|
|
321
|
+
'properties': value.properties === undefined ? undefined : ((value.properties as Array<any>).map(PropertyToJSON)),
|
|
308
322
|
'related_workflow_task_uuid': value.related_workflow_task_uuid,
|
|
309
323
|
'status': value.status,
|
|
310
324
|
'tags': value.tags,
|