ultracart_rest_api_v2_typescript 4.0.196 → 4.0.197

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.196
1
+ ## ultracart_rest_api_v2_typescript@4.0.197
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.196 --save
39
+ npm install ultracart_rest_api_v2_typescript@4.0.197 --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.197 | 01/10/2024 | workflow tasks - support for searching by tags |
57
58
  | 4.0.196 | 01/10/2024 | workflow task - add uuids of related tasks and tags |
58
59
  | 4.0.195 | 01/03/2024 | workflow - add task_context field to task obj |
59
60
  | 4.0.194 | 12/15/2023 | bug fix on bad docs breaking yaml schema |
@@ -112,6 +112,12 @@ export interface WorkflowTasksRequest {
112
112
  * @memberof WorkflowTasksRequest
113
113
  */
114
114
  status?: WorkflowTasksRequestStatusEnum;
115
+ /**
116
+ * Tasks that are tagged with the specified tags
117
+ * @type {Array<string>}
118
+ * @memberof WorkflowTasksRequest
119
+ */
120
+ tags?: Array<string>;
115
121
  /**
116
122
  * Tasks that are unassigned to a user or group
117
123
  * @type {boolean}
@@ -68,6 +68,7 @@ function WorkflowTasksRequestFromJSONTyped(json, ignoreDiscriminator) {
68
68
  'object_type': !(0, runtime_1.exists)(json, 'object_type') ? undefined : json['object_type'],
69
69
  'priority': !(0, runtime_1.exists)(json, 'priority') ? undefined : json['priority'],
70
70
  'status': !(0, runtime_1.exists)(json, 'status') ? undefined : json['status'],
71
+ 'tags': !(0, runtime_1.exists)(json, 'tags') ? undefined : json['tags'],
71
72
  'unassigned': !(0, runtime_1.exists)(json, 'unassigned') ? undefined : json['unassigned'],
72
73
  };
73
74
  }
@@ -96,6 +97,7 @@ function WorkflowTasksRequestToJSON(value) {
96
97
  'object_type': value.object_type,
97
98
  'priority': value.priority,
98
99
  'status': value.status,
100
+ 'tags': value.tags,
99
101
  'unassigned': value.unassigned,
100
102
  };
101
103
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.0.196",
3
+ "version": "4.0.197",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -122,6 +122,12 @@ export interface WorkflowTasksRequest {
122
122
  * @memberof WorkflowTasksRequest
123
123
  */
124
124
  status?: WorkflowTasksRequestStatusEnum;
125
+ /**
126
+ * Tasks that are tagged with the specified tags
127
+ * @type {Array<string>}
128
+ * @memberof WorkflowTasksRequest
129
+ */
130
+ tags?: Array<string>;
125
131
  /**
126
132
  * Tasks that are unassigned to a user or group
127
133
  * @type {boolean}
@@ -191,6 +197,7 @@ export function WorkflowTasksRequestFromJSONTyped(json: any, ignoreDiscriminator
191
197
  'object_type': !exists(json, 'object_type') ? undefined : json['object_type'],
192
198
  'priority': !exists(json, 'priority') ? undefined : json['priority'],
193
199
  'status': !exists(json, 'status') ? undefined : json['status'],
200
+ 'tags': !exists(json, 'tags') ? undefined : json['tags'],
194
201
  'unassigned': !exists(json, 'unassigned') ? undefined : json['unassigned'],
195
202
  };
196
203
  }
@@ -220,6 +227,7 @@ export function WorkflowTasksRequestToJSON(value?: WorkflowTasksRequest | null):
220
227
  'object_type': value.object_type,
221
228
  'priority': value.priority,
222
229
  'status': value.status,
230
+ 'tags': value.tags,
223
231
  'unassigned': value.unassigned,
224
232
  };
225
233
  }