ultracart_rest_api_v2_typescript 4.0.195 → 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.195
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.195 --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,8 @@ 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 |
58
+ | 4.0.196 | 01/10/2024 | workflow task - add uuids of related tasks and tags |
57
59
  | 4.0.195 | 01/03/2024 | workflow - add task_context field to task obj |
58
60
  | 4.0.194 | 12/15/2023 | bug fix on bad docs breaking yaml schema |
59
61
  | 4.0.193 | 12/12/2023 | webhook - added event ruler property |
@@ -479,7 +479,7 @@ export interface OrderApiInterface {
479
479
  */
480
480
  processPayment(requestParameters: ProcessPaymentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<OrderProcessPaymentResponse>;
481
481
  /**
482
- * Perform a refund operation on an order and then update the order if successful
482
+ * Perform a refund operation on an order and then update the order if successful. All of the object properties ending in _refunded should be the TOTAL amount that should end up being refunded. UltraCart will calculate the actual amount to refund based upon the prior refunds.
483
483
  * @summary Refund an order
484
484
  * @param {string} orderId The order id to refund.
485
485
  * @param {Order} order Order to refund
@@ -496,7 +496,7 @@ export interface OrderApiInterface {
496
496
  */
497
497
  refundOrderRaw(requestParameters: RefundOrderRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<OrderResponse>>;
498
498
  /**
499
- * Perform a refund operation on an order and then update the order if successful
499
+ * Perform a refund operation on an order and then update the order if successful. All of the object properties ending in _refunded should be the TOTAL amount that should end up being refunded. UltraCart will calculate the actual amount to refund based upon the prior refunds.
500
500
  * Refund an order
501
501
  */
502
502
  refundOrder(requestParameters: RefundOrderRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<OrderResponse>;
@@ -793,12 +793,12 @@ export declare class OrderApi extends runtime.BaseAPI implements OrderApiInterfa
793
793
  */
794
794
  processPayment(requestParameters: ProcessPaymentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<OrderProcessPaymentResponse>;
795
795
  /**
796
- * Perform a refund operation on an order and then update the order if successful
796
+ * Perform a refund operation on an order and then update the order if successful. All of the object properties ending in _refunded should be the TOTAL amount that should end up being refunded. UltraCart will calculate the actual amount to refund based upon the prior refunds.
797
797
  * Refund an order
798
798
  */
799
799
  refundOrderRaw(requestParameters: RefundOrderRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<OrderResponse>>;
800
800
  /**
801
- * Perform a refund operation on an order and then update the order if successful
801
+ * Perform a refund operation on an order and then update the order if successful. All of the object properties ending in _refunded should be the TOTAL amount that should end up being refunded. UltraCart will calculate the actual amount to refund based upon the prior refunds.
802
802
  * Refund an order
803
803
  */
804
804
  refundOrder(requestParameters: RefundOrderRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<OrderResponse>;
@@ -1403,7 +1403,7 @@ var OrderApi = /** @class */ (function (_super) {
1403
1403
  });
1404
1404
  };
1405
1405
  /**
1406
- * Perform a refund operation on an order and then update the order if successful
1406
+ * Perform a refund operation on an order and then update the order if successful. All of the object properties ending in _refunded should be the TOTAL amount that should end up being refunded. UltraCart will calculate the actual amount to refund based upon the prior refunds.
1407
1407
  * Refund an order
1408
1408
  */
1409
1409
  OrderApi.prototype.refundOrderRaw = function (requestParameters, initOverrides) {
@@ -1470,7 +1470,7 @@ var OrderApi = /** @class */ (function (_super) {
1470
1470
  });
1471
1471
  };
1472
1472
  /**
1473
- * Perform a refund operation on an order and then update the order if successful
1473
+ * Perform a refund operation on an order and then update the order if successful. All of the object properties ending in _refunded should be the TOTAL amount that should end up being refunded. UltraCart will calculate the actual amount to refund based upon the prior refunds.
1474
1474
  * Refund an order
1475
1475
  */
1476
1476
  OrderApi.prototype.refundOrder = function (requestParameters, initOverrides) {
@@ -46,6 +46,18 @@ export interface CartSummary {
46
46
  * @memberof CartSummary
47
47
  */
48
48
  health_benefit_card_amount?: Currency;
49
+ /**
50
+ *
51
+ * @type {Currency}
52
+ * @memberof CartSummary
53
+ */
54
+ health_benefit_card_balance?: Currency;
55
+ /**
56
+ * Health benefit card requirements
57
+ * @type {string}
58
+ * @memberof CartSummary
59
+ */
60
+ health_benefit_card_requirements?: string;
49
61
  /**
50
62
  *
51
63
  * @type {Currency}
@@ -30,6 +30,8 @@ function CartSummaryFromJSONTyped(json, ignoreDiscriminator) {
30
30
  'arbitrary_tax_rate': !(0, runtime_1.exists)(json, 'arbitrary_tax_rate') ? undefined : (0, Currency_1.CurrencyFromJSON)(json['arbitrary_tax_rate']),
31
31
  'arbitrary_taxable_subtotal': !(0, runtime_1.exists)(json, 'arbitrary_taxable_subtotal') ? undefined : (0, Currency_1.CurrencyFromJSON)(json['arbitrary_taxable_subtotal']),
32
32
  'health_benefit_card_amount': !(0, runtime_1.exists)(json, 'health_benefit_card_amount') ? undefined : (0, Currency_1.CurrencyFromJSON)(json['health_benefit_card_amount']),
33
+ 'health_benefit_card_balance': !(0, runtime_1.exists)(json, 'health_benefit_card_balance') ? undefined : (0, Currency_1.CurrencyFromJSON)(json['health_benefit_card_balance']),
34
+ 'health_benefit_card_requirements': !(0, runtime_1.exists)(json, 'health_benefit_card_requirements') ? undefined : json['health_benefit_card_requirements'],
33
35
  'internal_gift_certificate_amount': !(0, runtime_1.exists)(json, 'internal_gift_certificate_amount') ? undefined : (0, Currency_1.CurrencyFromJSON)(json['internal_gift_certificate_amount']),
34
36
  'shipping_handling': !(0, runtime_1.exists)(json, 'shipping_handling') ? undefined : (0, Currency_1.CurrencyFromJSON)(json['shipping_handling']),
35
37
  'shipping_handling_discount': !(0, runtime_1.exists)(json, 'shipping_handling_discount') ? undefined : (0, Currency_1.CurrencyFromJSON)(json['shipping_handling_discount']),
@@ -59,6 +61,8 @@ function CartSummaryToJSON(value) {
59
61
  'arbitrary_tax_rate': (0, Currency_1.CurrencyToJSON)(value.arbitrary_tax_rate),
60
62
  'arbitrary_taxable_subtotal': (0, Currency_1.CurrencyToJSON)(value.arbitrary_taxable_subtotal),
61
63
  'health_benefit_card_amount': (0, Currency_1.CurrencyToJSON)(value.health_benefit_card_amount),
64
+ 'health_benefit_card_balance': (0, Currency_1.CurrencyToJSON)(value.health_benefit_card_balance),
65
+ 'health_benefit_card_requirements': value.health_benefit_card_requirements,
62
66
  'internal_gift_certificate_amount': (0, Currency_1.CurrencyToJSON)(value.internal_gift_certificate_amount),
63
67
  'shipping_handling': (0, Currency_1.CurrencyToJSON)(value.shipping_handling),
64
68
  'shipping_handling_discount': (0, Currency_1.CurrencyToJSON)(value.shipping_handling_discount),
@@ -67,6 +67,12 @@ export interface WorkflowTask {
67
67
  * @memberof WorkflowTask
68
68
  */
69
69
  delay_until_dts?: string;
70
+ /**
71
+ * Dependant Workflow Task UUID (must be completed before this task can be completed)
72
+ * @type {string}
73
+ * @memberof WorkflowTask
74
+ */
75
+ dependant_workflow_task_uuid?: string;
70
76
  /**
71
77
  * Date/time that the workflow task is due
72
78
  * @type {string}
@@ -127,12 +133,24 @@ export interface WorkflowTask {
127
133
  * @memberof WorkflowTask
128
134
  */
129
135
  priority?: WorkflowTaskPriorityEnum;
136
+ /**
137
+ * Related Workflow Task UUID
138
+ * @type {string}
139
+ * @memberof WorkflowTask
140
+ */
141
+ related_workflow_task_uuid?: string;
130
142
  /**
131
143
  * Status of the workflow task
132
144
  * @type {string}
133
145
  * @memberof WorkflowTask
134
146
  */
135
147
  status?: WorkflowTaskStatusEnum;
148
+ /**
149
+ * Tags
150
+ * @type {Array<string>}
151
+ * @memberof WorkflowTask
152
+ */
153
+ tags?: Array<string>;
136
154
  /**
137
155
  * User friendly string of the task context
138
156
  * @type {string}
@@ -64,6 +64,7 @@ function WorkflowTaskFromJSONTyped(json, ignoreDiscriminator) {
64
64
  'created_by': !(0, runtime_1.exists)(json, 'created_by') ? undefined : (0, WorkflowUser_1.WorkflowUserFromJSON)(json['created_by']),
65
65
  'created_dts': !(0, runtime_1.exists)(json, 'created_dts') ? undefined : json['created_dts'],
66
66
  'delay_until_dts': !(0, runtime_1.exists)(json, 'delay_until_dts') ? undefined : json['delay_until_dts'],
67
+ 'dependant_workflow_task_uuid': !(0, runtime_1.exists)(json, 'dependant_workflow_task_uuid') ? undefined : json['dependant_workflow_task_uuid'],
67
68
  'due_dts': !(0, runtime_1.exists)(json, 'due_dts') ? undefined : json['due_dts'],
68
69
  'histories': !(0, runtime_1.exists)(json, 'histories') ? undefined : (json['histories'].map(WorkflowTaskHistory_1.WorkflowTaskHistoryFromJSON)),
69
70
  'last_update_dts': !(0, runtime_1.exists)(json, 'last_update_dts') ? undefined : json['last_update_dts'],
@@ -74,7 +75,9 @@ function WorkflowTaskFromJSONTyped(json, ignoreDiscriminator) {
74
75
  'object_type': !(0, runtime_1.exists)(json, 'object_type') ? undefined : json['object_type'],
75
76
  'object_url': !(0, runtime_1.exists)(json, 'object_url') ? undefined : json['object_url'],
76
77
  'priority': !(0, runtime_1.exists)(json, 'priority') ? undefined : json['priority'],
78
+ 'related_workflow_task_uuid': !(0, runtime_1.exists)(json, 'related_workflow_task_uuid') ? undefined : json['related_workflow_task_uuid'],
77
79
  'status': !(0, runtime_1.exists)(json, 'status') ? undefined : json['status'],
80
+ 'tags': !(0, runtime_1.exists)(json, 'tags') ? undefined : json['tags'],
78
81
  'task_context': !(0, runtime_1.exists)(json, 'task_context') ? undefined : json['task_context'],
79
82
  'task_details': !(0, runtime_1.exists)(json, 'task_details') ? undefined : json['task_details'],
80
83
  'task_name': !(0, runtime_1.exists)(json, 'task_name') ? undefined : json['task_name'],
@@ -98,6 +101,7 @@ function WorkflowTaskToJSON(value) {
98
101
  'created_by': (0, WorkflowUser_1.WorkflowUserToJSON)(value.created_by),
99
102
  'created_dts': value.created_dts,
100
103
  'delay_until_dts': value.delay_until_dts,
104
+ 'dependant_workflow_task_uuid': value.dependant_workflow_task_uuid,
101
105
  'due_dts': value.due_dts,
102
106
  'histories': value.histories === undefined ? undefined : (value.histories.map(WorkflowTaskHistory_1.WorkflowTaskHistoryToJSON)),
103
107
  'last_update_dts': value.last_update_dts,
@@ -108,7 +112,9 @@ function WorkflowTaskToJSON(value) {
108
112
  'object_type': value.object_type,
109
113
  'object_url': value.object_url,
110
114
  'priority': value.priority,
115
+ 'related_workflow_task_uuid': value.related_workflow_task_uuid,
111
116
  'status': value.status,
117
+ 'tags': value.tags,
112
118
  'task_context': value.task_context,
113
119
  'task_details': value.task_details,
114
120
  'task_name': value.task_name,
@@ -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.195",
3
+ "version": "4.0.197",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -623,7 +623,7 @@ export interface OrderApiInterface {
623
623
  processPayment(requestParameters: ProcessPaymentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<OrderProcessPaymentResponse>;
624
624
 
625
625
  /**
626
- * Perform a refund operation on an order and then update the order if successful
626
+ * Perform a refund operation on an order and then update the order if successful. All of the object properties ending in _refunded should be the TOTAL amount that should end up being refunded. UltraCart will calculate the actual amount to refund based upon the prior refunds.
627
627
  * @summary Refund an order
628
628
  * @param {string} orderId The order id to refund.
629
629
  * @param {Order} order Order to refund
@@ -641,7 +641,7 @@ export interface OrderApiInterface {
641
641
  refundOrderRaw(requestParameters: RefundOrderRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<OrderResponse>>;
642
642
 
643
643
  /**
644
- * Perform a refund operation on an order and then update the order if successful
644
+ * Perform a refund operation on an order and then update the order if successful. All of the object properties ending in _refunded should be the TOTAL amount that should end up being refunded. UltraCart will calculate the actual amount to refund based upon the prior refunds.
645
645
  * Refund an order
646
646
  */
647
647
  refundOrder(requestParameters: RefundOrderRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<OrderResponse>;
@@ -1770,7 +1770,7 @@ export class OrderApi extends runtime.BaseAPI implements OrderApiInterface {
1770
1770
  }
1771
1771
 
1772
1772
  /**
1773
- * Perform a refund operation on an order and then update the order if successful
1773
+ * Perform a refund operation on an order and then update the order if successful. All of the object properties ending in _refunded should be the TOTAL amount that should end up being refunded. UltraCart will calculate the actual amount to refund based upon the prior refunds.
1774
1774
  * Refund an order
1775
1775
  */
1776
1776
  async refundOrderRaw(requestParameters: RefundOrderRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<OrderResponse>> {
@@ -1837,7 +1837,7 @@ export class OrderApi extends runtime.BaseAPI implements OrderApiInterface {
1837
1837
  }
1838
1838
 
1839
1839
  /**
1840
- * Perform a refund operation on an order and then update the order if successful
1840
+ * Perform a refund operation on an order and then update the order if successful. All of the object properties ending in _refunded should be the TOTAL amount that should end up being refunded. UltraCart will calculate the actual amount to refund based upon the prior refunds.
1841
1841
  * Refund an order
1842
1842
  */
1843
1843
  async refundOrder(requestParameters: RefundOrderRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<OrderResponse> {
@@ -56,6 +56,18 @@ export interface CartSummary {
56
56
  * @memberof CartSummary
57
57
  */
58
58
  health_benefit_card_amount?: Currency;
59
+ /**
60
+ *
61
+ * @type {Currency}
62
+ * @memberof CartSummary
63
+ */
64
+ health_benefit_card_balance?: Currency;
65
+ /**
66
+ * Health benefit card requirements
67
+ * @type {string}
68
+ * @memberof CartSummary
69
+ */
70
+ health_benefit_card_requirements?: string;
59
71
  /**
60
72
  *
61
73
  * @type {Currency}
@@ -151,6 +163,8 @@ export function CartSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean
151
163
  'arbitrary_tax_rate': !exists(json, 'arbitrary_tax_rate') ? undefined : CurrencyFromJSON(json['arbitrary_tax_rate']),
152
164
  'arbitrary_taxable_subtotal': !exists(json, 'arbitrary_taxable_subtotal') ? undefined : CurrencyFromJSON(json['arbitrary_taxable_subtotal']),
153
165
  'health_benefit_card_amount': !exists(json, 'health_benefit_card_amount') ? undefined : CurrencyFromJSON(json['health_benefit_card_amount']),
166
+ 'health_benefit_card_balance': !exists(json, 'health_benefit_card_balance') ? undefined : CurrencyFromJSON(json['health_benefit_card_balance']),
167
+ 'health_benefit_card_requirements': !exists(json, 'health_benefit_card_requirements') ? undefined : json['health_benefit_card_requirements'],
154
168
  'internal_gift_certificate_amount': !exists(json, 'internal_gift_certificate_amount') ? undefined : CurrencyFromJSON(json['internal_gift_certificate_amount']),
155
169
  'shipping_handling': !exists(json, 'shipping_handling') ? undefined : CurrencyFromJSON(json['shipping_handling']),
156
170
  'shipping_handling_discount': !exists(json, 'shipping_handling_discount') ? undefined : CurrencyFromJSON(json['shipping_handling_discount']),
@@ -181,6 +195,8 @@ export function CartSummaryToJSON(value?: CartSummary | null): any {
181
195
  'arbitrary_tax_rate': CurrencyToJSON(value.arbitrary_tax_rate),
182
196
  'arbitrary_taxable_subtotal': CurrencyToJSON(value.arbitrary_taxable_subtotal),
183
197
  'health_benefit_card_amount': CurrencyToJSON(value.health_benefit_card_amount),
198
+ 'health_benefit_card_balance': CurrencyToJSON(value.health_benefit_card_balance),
199
+ 'health_benefit_card_requirements': value.health_benefit_card_requirements,
184
200
  'internal_gift_certificate_amount': CurrencyToJSON(value.internal_gift_certificate_amount),
185
201
  'shipping_handling': CurrencyToJSON(value.shipping_handling),
186
202
  'shipping_handling_discount': CurrencyToJSON(value.shipping_handling_discount),
@@ -92,6 +92,12 @@ export interface WorkflowTask {
92
92
  * @memberof WorkflowTask
93
93
  */
94
94
  delay_until_dts?: string;
95
+ /**
96
+ * Dependant Workflow Task UUID (must be completed before this task can be completed)
97
+ * @type {string}
98
+ * @memberof WorkflowTask
99
+ */
100
+ dependant_workflow_task_uuid?: string;
95
101
  /**
96
102
  * Date/time that the workflow task is due
97
103
  * @type {string}
@@ -152,12 +158,24 @@ export interface WorkflowTask {
152
158
  * @memberof WorkflowTask
153
159
  */
154
160
  priority?: WorkflowTaskPriorityEnum;
161
+ /**
162
+ * Related Workflow Task UUID
163
+ * @type {string}
164
+ * @memberof WorkflowTask
165
+ */
166
+ related_workflow_task_uuid?: string;
155
167
  /**
156
168
  * Status of the workflow task
157
169
  * @type {string}
158
170
  * @memberof WorkflowTask
159
171
  */
160
172
  status?: WorkflowTaskStatusEnum;
173
+ /**
174
+ * Tags
175
+ * @type {Array<string>}
176
+ * @memberof WorkflowTask
177
+ */
178
+ tags?: Array<string>;
161
179
  /**
162
180
  * User friendly string of the task context
163
181
  * @type {string}
@@ -238,6 +256,7 @@ export function WorkflowTaskFromJSONTyped(json: any, ignoreDiscriminator: boolea
238
256
  'created_by': !exists(json, 'created_by') ? undefined : WorkflowUserFromJSON(json['created_by']),
239
257
  'created_dts': !exists(json, 'created_dts') ? undefined : json['created_dts'],
240
258
  'delay_until_dts': !exists(json, 'delay_until_dts') ? undefined : json['delay_until_dts'],
259
+ 'dependant_workflow_task_uuid': !exists(json, 'dependant_workflow_task_uuid') ? undefined : json['dependant_workflow_task_uuid'],
241
260
  'due_dts': !exists(json, 'due_dts') ? undefined : json['due_dts'],
242
261
  'histories': !exists(json, 'histories') ? undefined : ((json['histories'] as Array<any>).map(WorkflowTaskHistoryFromJSON)),
243
262
  'last_update_dts': !exists(json, 'last_update_dts') ? undefined : json['last_update_dts'],
@@ -248,7 +267,9 @@ export function WorkflowTaskFromJSONTyped(json: any, ignoreDiscriminator: boolea
248
267
  'object_type': !exists(json, 'object_type') ? undefined : json['object_type'],
249
268
  'object_url': !exists(json, 'object_url') ? undefined : json['object_url'],
250
269
  'priority': !exists(json, 'priority') ? undefined : json['priority'],
270
+ 'related_workflow_task_uuid': !exists(json, 'related_workflow_task_uuid') ? undefined : json['related_workflow_task_uuid'],
251
271
  'status': !exists(json, 'status') ? undefined : json['status'],
272
+ 'tags': !exists(json, 'tags') ? undefined : json['tags'],
252
273
  'task_context': !exists(json, 'task_context') ? undefined : json['task_context'],
253
274
  'task_details': !exists(json, 'task_details') ? undefined : json['task_details'],
254
275
  'task_name': !exists(json, 'task_name') ? undefined : json['task_name'],
@@ -273,6 +294,7 @@ export function WorkflowTaskToJSON(value?: WorkflowTask | null): any {
273
294
  'created_by': WorkflowUserToJSON(value.created_by),
274
295
  'created_dts': value.created_dts,
275
296
  'delay_until_dts': value.delay_until_dts,
297
+ 'dependant_workflow_task_uuid': value.dependant_workflow_task_uuid,
276
298
  'due_dts': value.due_dts,
277
299
  'histories': value.histories === undefined ? undefined : ((value.histories as Array<any>).map(WorkflowTaskHistoryToJSON)),
278
300
  'last_update_dts': value.last_update_dts,
@@ -283,7 +305,9 @@ export function WorkflowTaskToJSON(value?: WorkflowTask | null): any {
283
305
  'object_type': value.object_type,
284
306
  'object_url': value.object_url,
285
307
  'priority': value.priority,
308
+ 'related_workflow_task_uuid': value.related_workflow_task_uuid,
286
309
  'status': value.status,
310
+ 'tags': value.tags,
287
311
  'task_context': value.task_context,
288
312
  'task_details': value.task_details,
289
313
  'task_name': value.task_name,
@@ -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
  }