ultracart_rest_api_v2_typescript 4.0.203 → 4.0.204

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.203
1
+ ## ultracart_rest_api_v2_typescript@4.0.204
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.203 --save
39
+ npm install ultracart_rest_api_v2_typescript@4.0.204 --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.204 | 03/19/2024 | workflow task - addl status values, expiration_dts, and system task type |
57
58
  | 4.0.203 | 03/15/2024 | workflow - getWorkflowAgentWebsocketAuthorization method added |
58
59
  | 4.0.202 | 03/08/2024 | added getWorkflowTaskTags method |
59
60
  | 4.0.201 | 02/27/2024 | esp - sms statistic layer |
@@ -147,6 +147,9 @@ export interface LeaveConversationRequest {
147
147
  export interface MarkReadConversationRequest {
148
148
  conversationUuid: string;
149
149
  }
150
+ export interface ResetConversationPbxQueueStatisticsRequest {
151
+ queueUuid: string;
152
+ }
150
153
  export interface SearchConversationCannedMessagesRequest {
151
154
  searchRequest: ConversationCannedMessagesSearch;
152
155
  }
@@ -1057,6 +1060,20 @@ export interface ConversationApiInterface {
1057
1060
  * Mark a conversation as read
1058
1061
  */
1059
1062
  markReadConversation(requestParameters: MarkReadConversationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
1063
+ /**
1064
+ * reset statistics within the queue
1065
+ * @summary reset statistics within the queue
1066
+ * @param {string} queueUuid
1067
+ * @param {*} [options] Override http request option.
1068
+ * @throws {RequiredError}
1069
+ * @memberof ConversationApiInterface
1070
+ */
1071
+ resetConversationPbxQueueStatisticsRaw(requestParameters: ResetConversationPbxQueueStatisticsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
1072
+ /**
1073
+ * reset statistics within the queue
1074
+ * reset statistics within the queue
1075
+ */
1076
+ resetConversationPbxQueueStatistics(requestParameters: ResetConversationPbxQueueStatisticsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
1060
1077
  /**
1061
1078
  * Search for canned messages by short_code
1062
1079
  * @summary Search for canned messages by short_code
@@ -1908,6 +1925,16 @@ export declare class ConversationApi extends runtime.BaseAPI implements Conversa
1908
1925
  * Mark a conversation as read
1909
1926
  */
1910
1927
  markReadConversation(requestParameters: MarkReadConversationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
1928
+ /**
1929
+ * reset statistics within the queue
1930
+ * reset statistics within the queue
1931
+ */
1932
+ resetConversationPbxQueueStatisticsRaw(requestParameters: ResetConversationPbxQueueStatisticsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
1933
+ /**
1934
+ * reset statistics within the queue
1935
+ * reset statistics within the queue
1936
+ */
1937
+ resetConversationPbxQueueStatistics(requestParameters: ResetConversationPbxQueueStatisticsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
1911
1938
  /**
1912
1939
  * Search for canned messages by short_code
1913
1940
  * Search for canned messages by short_code
@@ -3655,6 +3655,63 @@ var ConversationApi = /** @class */ (function (_super) {
3655
3655
  });
3656
3656
  });
3657
3657
  };
3658
+ /**
3659
+ * reset statistics within the queue
3660
+ * reset statistics within the queue
3661
+ */
3662
+ ConversationApi.prototype.resetConversationPbxQueueStatisticsRaw = function (requestParameters, initOverrides) {
3663
+ return __awaiter(this, void 0, void 0, function () {
3664
+ var queryParameters, headerParameters, _a, _b, response;
3665
+ return __generator(this, function (_c) {
3666
+ switch (_c.label) {
3667
+ case 0:
3668
+ if (requestParameters.queueUuid === null || requestParameters.queueUuid === undefined) {
3669
+ throw new runtime.RequiredError('queueUuid', 'Required parameter requestParameters.queueUuid was null or undefined when calling resetConversationPbxQueueStatistics.');
3670
+ }
3671
+ queryParameters = {};
3672
+ headerParameters = {};
3673
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
3674
+ // oauth required
3675
+ _a = headerParameters;
3676
+ _b = "Authorization";
3677
+ return [4 /*yield*/, this.configuration.accessToken("ultraCartOauth", ["conversation_write"])];
3678
+ case 1:
3679
+ // oauth required
3680
+ _a[_b] = _c.sent();
3681
+ _c.label = 2;
3682
+ case 2:
3683
+ if (this.configuration && this.configuration.apiKey) {
3684
+ headerParameters["x-ultracart-simple-key"] = this.configuration.apiKey("x-ultracart-simple-key"); // ultraCartSimpleApiKey authentication
3685
+ }
3686
+ return [4 /*yield*/, this.request({
3687
+ path: "/conversation/pbx/queues/{queue_uuid}/reset_statistics".replace("{".concat("queue_uuid", "}"), encodeURIComponent(String(requestParameters.queueUuid))),
3688
+ method: 'POST',
3689
+ headers: headerParameters,
3690
+ query: queryParameters,
3691
+ }, initOverrides)];
3692
+ case 3:
3693
+ response = _c.sent();
3694
+ return [2 /*return*/, new runtime.VoidApiResponse(response)];
3695
+ }
3696
+ });
3697
+ });
3698
+ };
3699
+ /**
3700
+ * reset statistics within the queue
3701
+ * reset statistics within the queue
3702
+ */
3703
+ ConversationApi.prototype.resetConversationPbxQueueStatistics = function (requestParameters, initOverrides) {
3704
+ return __awaiter(this, void 0, void 0, function () {
3705
+ return __generator(this, function (_a) {
3706
+ switch (_a.label) {
3707
+ case 0: return [4 /*yield*/, this.resetConversationPbxQueueStatisticsRaw(requestParameters, initOverrides)];
3708
+ case 1:
3709
+ _a.sent();
3710
+ return [2 /*return*/];
3711
+ }
3712
+ });
3713
+ });
3714
+ };
3658
3715
  /**
3659
3716
  * Search for canned messages by short_code
3660
3717
  * Search for canned messages by short_code
@@ -80,6 +80,12 @@ export interface WorkflowTask {
80
80
  * @memberof WorkflowTask
81
81
  */
82
82
  due_dts?: string;
83
+ /**
84
+ * Date/time that the workflow task will expire and be closed. This is set by system generated tasks.
85
+ * @type {string}
86
+ * @memberof WorkflowTask
87
+ */
88
+ expiration_dts?: string;
83
89
  /**
84
90
  * Array of history records for the task
85
91
  * @type {Array<WorkflowTaskHistory>}
@@ -152,6 +158,12 @@ export interface WorkflowTask {
152
158
  * @memberof WorkflowTask
153
159
  */
154
160
  status?: WorkflowTaskStatusEnum;
161
+ /**
162
+ * Constant for the type of system generated task
163
+ * @type {string}
164
+ * @memberof WorkflowTask
165
+ */
166
+ system_task_type?: WorkflowTaskSystemTaskTypeEnum;
155
167
  /**
156
168
  * Tags
157
169
  * @type {Array<string>}
@@ -212,8 +224,23 @@ export declare const WorkflowTaskStatusEnum: {
212
224
  readonly Closed: "closed";
213
225
  readonly Delayed: "delayed";
214
226
  readonly AwaitingCustomerFeedback: "awaiting customer feedback";
227
+ readonly ClosedSystem: "closed - system";
228
+ readonly ClosedCustomer: "closed - customer";
229
+ readonly ClosedExpiration: "closed - expiration";
215
230
  };
216
231
  export type WorkflowTaskStatusEnum = typeof WorkflowTaskStatusEnum[keyof typeof WorkflowTaskStatusEnum];
232
+ /**
233
+ * @export
234
+ */
235
+ export declare const WorkflowTaskSystemTaskTypeEnum: {
236
+ readonly OrderAccountsReceivable: "order_accounts_receivable";
237
+ readonly OrderFraudReview: "order_fraud_review";
238
+ readonly AutoOrderCardUpdateIssue: "auto_order_card_update_issue";
239
+ readonly AutoOrderCanceledPayment: "auto_order_canceled_payment";
240
+ readonly ItemLowStock: "item_low_stock";
241
+ readonly ItemOutOfStock: "item_out_of_stock";
242
+ };
243
+ export type WorkflowTaskSystemTaskTypeEnum = typeof WorkflowTaskSystemTaskTypeEnum[keyof typeof WorkflowTaskSystemTaskTypeEnum];
217
244
  export declare function WorkflowTaskFromJSON(json: any): WorkflowTask;
218
245
  export declare function WorkflowTaskFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkflowTask;
219
246
  export declare function WorkflowTaskToJSON(value?: WorkflowTask | null): any;
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.WorkflowTaskToJSON = exports.WorkflowTaskFromJSONTyped = exports.WorkflowTaskFromJSON = exports.WorkflowTaskStatusEnum = exports.WorkflowTaskPriorityEnum = exports.WorkflowTaskObjectTypeEnum = void 0;
16
+ exports.WorkflowTaskToJSON = exports.WorkflowTaskFromJSONTyped = exports.WorkflowTaskFromJSON = exports.WorkflowTaskSystemTaskTypeEnum = exports.WorkflowTaskStatusEnum = exports.WorkflowTaskPriorityEnum = exports.WorkflowTaskObjectTypeEnum = void 0;
17
17
  var runtime_1 = require("../runtime");
18
18
  var Property_1 = require("./Property");
19
19
  var WorkflowAttachment_1 = require("./WorkflowAttachment");
@@ -46,7 +46,21 @@ exports.WorkflowTaskStatusEnum = {
46
46
  Open: 'open',
47
47
  Closed: 'closed',
48
48
  Delayed: 'delayed',
49
- AwaitingCustomerFeedback: 'awaiting customer feedback'
49
+ AwaitingCustomerFeedback: 'awaiting customer feedback',
50
+ ClosedSystem: 'closed - system',
51
+ ClosedCustomer: 'closed - customer',
52
+ ClosedExpiration: 'closed - expiration'
53
+ };
54
+ /**
55
+ * @export
56
+ */
57
+ exports.WorkflowTaskSystemTaskTypeEnum = {
58
+ OrderAccountsReceivable: 'order_accounts_receivable',
59
+ OrderFraudReview: 'order_fraud_review',
60
+ AutoOrderCardUpdateIssue: 'auto_order_card_update_issue',
61
+ AutoOrderCanceledPayment: 'auto_order_canceled_payment',
62
+ ItemLowStock: 'item_low_stock',
63
+ ItemOutOfStock: 'item_out_of_stock'
50
64
  };
51
65
  function WorkflowTaskFromJSON(json) {
52
66
  return WorkflowTaskFromJSONTyped(json, false);
@@ -67,6 +81,7 @@ function WorkflowTaskFromJSONTyped(json, ignoreDiscriminator) {
67
81
  'delay_until_dts': !(0, runtime_1.exists)(json, 'delay_until_dts') ? undefined : json['delay_until_dts'],
68
82
  'dependant_workflow_task_uuid': !(0, runtime_1.exists)(json, 'dependant_workflow_task_uuid') ? undefined : json['dependant_workflow_task_uuid'],
69
83
  'due_dts': !(0, runtime_1.exists)(json, 'due_dts') ? undefined : json['due_dts'],
84
+ 'expiration_dts': !(0, runtime_1.exists)(json, 'expiration_dts') ? undefined : json['expiration_dts'],
70
85
  'histories': !(0, runtime_1.exists)(json, 'histories') ? undefined : (json['histories'].map(WorkflowTaskHistory_1.WorkflowTaskHistoryFromJSON)),
71
86
  'last_update_dts': !(0, runtime_1.exists)(json, 'last_update_dts') ? undefined : json['last_update_dts'],
72
87
  'merchant_id': !(0, runtime_1.exists)(json, 'merchant_id') ? undefined : json['merchant_id'],
@@ -79,6 +94,7 @@ function WorkflowTaskFromJSONTyped(json, ignoreDiscriminator) {
79
94
  'properties': !(0, runtime_1.exists)(json, 'properties') ? undefined : (json['properties'].map(Property_1.PropertyFromJSON)),
80
95
  'related_workflow_task_uuid': !(0, runtime_1.exists)(json, 'related_workflow_task_uuid') ? undefined : json['related_workflow_task_uuid'],
81
96
  'status': !(0, runtime_1.exists)(json, 'status') ? undefined : json['status'],
97
+ 'system_task_type': !(0, runtime_1.exists)(json, 'system_task_type') ? undefined : json['system_task_type'],
82
98
  'tags': !(0, runtime_1.exists)(json, 'tags') ? undefined : json['tags'],
83
99
  'task_context': !(0, runtime_1.exists)(json, 'task_context') ? undefined : json['task_context'],
84
100
  'task_details': !(0, runtime_1.exists)(json, 'task_details') ? undefined : json['task_details'],
@@ -105,6 +121,7 @@ function WorkflowTaskToJSON(value) {
105
121
  'delay_until_dts': value.delay_until_dts,
106
122
  'dependant_workflow_task_uuid': value.dependant_workflow_task_uuid,
107
123
  'due_dts': value.due_dts,
124
+ 'expiration_dts': value.expiration_dts,
108
125
  'histories': value.histories === undefined ? undefined : (value.histories.map(WorkflowTaskHistory_1.WorkflowTaskHistoryToJSON)),
109
126
  'last_update_dts': value.last_update_dts,
110
127
  'merchant_id': value.merchant_id,
@@ -117,6 +134,7 @@ function WorkflowTaskToJSON(value) {
117
134
  'properties': value.properties === undefined ? undefined : (value.properties.map(Property_1.PropertyToJSON)),
118
135
  'related_workflow_task_uuid': value.related_workflow_task_uuid,
119
136
  'status': value.status,
137
+ 'system_task_type': value.system_task_type,
120
138
  'tags': value.tags,
121
139
  'task_context': value.task_context,
122
140
  'task_details': value.task_details,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.0.203",
3
+ "version": "4.0.204",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -367,6 +367,10 @@ export interface MarkReadConversationRequest {
367
367
  conversationUuid: string;
368
368
  }
369
369
 
370
+ export interface ResetConversationPbxQueueStatisticsRequest {
371
+ queueUuid: string;
372
+ }
373
+
370
374
  export interface SearchConversationCannedMessagesRequest {
371
375
  searchRequest: ConversationCannedMessagesSearch;
372
376
  }
@@ -1415,6 +1419,22 @@ export interface ConversationApiInterface {
1415
1419
  */
1416
1420
  markReadConversation(requestParameters: MarkReadConversationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
1417
1421
 
1422
+ /**
1423
+ * reset statistics within the queue
1424
+ * @summary reset statistics within the queue
1425
+ * @param {string} queueUuid
1426
+ * @param {*} [options] Override http request option.
1427
+ * @throws {RequiredError}
1428
+ * @memberof ConversationApiInterface
1429
+ */
1430
+ resetConversationPbxQueueStatisticsRaw(requestParameters: ResetConversationPbxQueueStatisticsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
1431
+
1432
+ /**
1433
+ * reset statistics within the queue
1434
+ * reset statistics within the queue
1435
+ */
1436
+ resetConversationPbxQueueStatistics(requestParameters: ResetConversationPbxQueueStatisticsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
1437
+
1418
1438
  /**
1419
1439
  * Search for canned messages by short_code
1420
1440
  * @summary Search for canned messages by short_code
@@ -4181,6 +4201,46 @@ export class ConversationApi extends runtime.BaseAPI implements ConversationApiI
4181
4201
  await this.markReadConversationRaw(requestParameters, initOverrides);
4182
4202
  }
4183
4203
 
4204
+ /**
4205
+ * reset statistics within the queue
4206
+ * reset statistics within the queue
4207
+ */
4208
+ async resetConversationPbxQueueStatisticsRaw(requestParameters: ResetConversationPbxQueueStatisticsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
4209
+ if (requestParameters.queueUuid === null || requestParameters.queueUuid === undefined) {
4210
+ throw new runtime.RequiredError('queueUuid','Required parameter requestParameters.queueUuid was null or undefined when calling resetConversationPbxQueueStatistics.');
4211
+ }
4212
+
4213
+ const queryParameters: any = {};
4214
+
4215
+ const headerParameters: runtime.HTTPHeaders = {};
4216
+
4217
+ if (this.configuration && this.configuration.accessToken) {
4218
+ // oauth required
4219
+ headerParameters["Authorization"] = await this.configuration.accessToken("ultraCartOauth", ["conversation_write"]);
4220
+ }
4221
+
4222
+ if (this.configuration && this.configuration.apiKey) {
4223
+ headerParameters["x-ultracart-simple-key"] = this.configuration.apiKey("x-ultracart-simple-key"); // ultraCartSimpleApiKey authentication
4224
+ }
4225
+
4226
+ const response = await this.request({
4227
+ path: `/conversation/pbx/queues/{queue_uuid}/reset_statistics`.replace(`{${"queue_uuid"}}`, encodeURIComponent(String(requestParameters.queueUuid))),
4228
+ method: 'POST',
4229
+ headers: headerParameters,
4230
+ query: queryParameters,
4231
+ }, initOverrides);
4232
+
4233
+ return new runtime.VoidApiResponse(response);
4234
+ }
4235
+
4236
+ /**
4237
+ * reset statistics within the queue
4238
+ * reset statistics within the queue
4239
+ */
4240
+ async resetConversationPbxQueueStatistics(requestParameters: ResetConversationPbxQueueStatisticsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
4241
+ await this.resetConversationPbxQueueStatisticsRaw(requestParameters, initOverrides);
4242
+ }
4243
+
4184
4244
  /**
4185
4245
  * Search for canned messages by short_code
4186
4246
  * Search for canned messages by short_code
@@ -110,6 +110,12 @@ export interface WorkflowTask {
110
110
  * @memberof WorkflowTask
111
111
  */
112
112
  due_dts?: string;
113
+ /**
114
+ * Date/time that the workflow task will expire and be closed. This is set by system generated tasks.
115
+ * @type {string}
116
+ * @memberof WorkflowTask
117
+ */
118
+ expiration_dts?: string;
113
119
  /**
114
120
  * Array of history records for the task
115
121
  * @type {Array<WorkflowTaskHistory>}
@@ -182,6 +188,12 @@ export interface WorkflowTask {
182
188
  * @memberof WorkflowTask
183
189
  */
184
190
  status?: WorkflowTaskStatusEnum;
191
+ /**
192
+ * Constant for the type of system generated task
193
+ * @type {string}
194
+ * @memberof WorkflowTask
195
+ */
196
+ system_task_type?: WorkflowTaskSystemTaskTypeEnum;
185
197
  /**
186
198
  * Tags
187
199
  * @type {Array<string>}
@@ -245,10 +257,26 @@ export const WorkflowTaskStatusEnum = {
245
257
  Open: 'open',
246
258
  Closed: 'closed',
247
259
  Delayed: 'delayed',
248
- AwaitingCustomerFeedback: 'awaiting customer feedback'
260
+ AwaitingCustomerFeedback: 'awaiting customer feedback',
261
+ ClosedSystem: 'closed - system',
262
+ ClosedCustomer: 'closed - customer',
263
+ ClosedExpiration: 'closed - expiration'
249
264
  } as const;
250
265
  export type WorkflowTaskStatusEnum = typeof WorkflowTaskStatusEnum[keyof typeof WorkflowTaskStatusEnum];
251
266
 
267
+ /**
268
+ * @export
269
+ */
270
+ export const WorkflowTaskSystemTaskTypeEnum = {
271
+ OrderAccountsReceivable: 'order_accounts_receivable',
272
+ OrderFraudReview: 'order_fraud_review',
273
+ AutoOrderCardUpdateIssue: 'auto_order_card_update_issue',
274
+ AutoOrderCanceledPayment: 'auto_order_canceled_payment',
275
+ ItemLowStock: 'item_low_stock',
276
+ ItemOutOfStock: 'item_out_of_stock'
277
+ } as const;
278
+ export type WorkflowTaskSystemTaskTypeEnum = typeof WorkflowTaskSystemTaskTypeEnum[keyof typeof WorkflowTaskSystemTaskTypeEnum];
279
+
252
280
 
253
281
  export function WorkflowTaskFromJSON(json: any): WorkflowTask {
254
282
  return WorkflowTaskFromJSONTyped(json, false);
@@ -270,6 +298,7 @@ export function WorkflowTaskFromJSONTyped(json: any, ignoreDiscriminator: boolea
270
298
  'delay_until_dts': !exists(json, 'delay_until_dts') ? undefined : json['delay_until_dts'],
271
299
  'dependant_workflow_task_uuid': !exists(json, 'dependant_workflow_task_uuid') ? undefined : json['dependant_workflow_task_uuid'],
272
300
  'due_dts': !exists(json, 'due_dts') ? undefined : json['due_dts'],
301
+ 'expiration_dts': !exists(json, 'expiration_dts') ? undefined : json['expiration_dts'],
273
302
  'histories': !exists(json, 'histories') ? undefined : ((json['histories'] as Array<any>).map(WorkflowTaskHistoryFromJSON)),
274
303
  'last_update_dts': !exists(json, 'last_update_dts') ? undefined : json['last_update_dts'],
275
304
  'merchant_id': !exists(json, 'merchant_id') ? undefined : json['merchant_id'],
@@ -282,6 +311,7 @@ export function WorkflowTaskFromJSONTyped(json: any, ignoreDiscriminator: boolea
282
311
  'properties': !exists(json, 'properties') ? undefined : ((json['properties'] as Array<any>).map(PropertyFromJSON)),
283
312
  'related_workflow_task_uuid': !exists(json, 'related_workflow_task_uuid') ? undefined : json['related_workflow_task_uuid'],
284
313
  'status': !exists(json, 'status') ? undefined : json['status'],
314
+ 'system_task_type': !exists(json, 'system_task_type') ? undefined : json['system_task_type'],
285
315
  'tags': !exists(json, 'tags') ? undefined : json['tags'],
286
316
  'task_context': !exists(json, 'task_context') ? undefined : json['task_context'],
287
317
  'task_details': !exists(json, 'task_details') ? undefined : json['task_details'],
@@ -309,6 +339,7 @@ export function WorkflowTaskToJSON(value?: WorkflowTask | null): any {
309
339
  'delay_until_dts': value.delay_until_dts,
310
340
  'dependant_workflow_task_uuid': value.dependant_workflow_task_uuid,
311
341
  'due_dts': value.due_dts,
342
+ 'expiration_dts': value.expiration_dts,
312
343
  'histories': value.histories === undefined ? undefined : ((value.histories as Array<any>).map(WorkflowTaskHistoryToJSON)),
313
344
  'last_update_dts': value.last_update_dts,
314
345
  'merchant_id': value.merchant_id,
@@ -321,6 +352,7 @@ export function WorkflowTaskToJSON(value?: WorkflowTask | null): any {
321
352
  'properties': value.properties === undefined ? undefined : ((value.properties as Array<any>).map(PropertyToJSON)),
322
353
  'related_workflow_task_uuid': value.related_workflow_task_uuid,
323
354
  'status': value.status,
355
+ 'system_task_type': value.system_task_type,
324
356
  'tags': value.tags,
325
357
  'task_context': value.task_context,
326
358
  'task_details': value.task_details,