ultracart_rest_api_v2_typescript 4.0.207 → 4.0.208
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.208
|
|
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.208 --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.208 | 03/26/2024 | WorkflowTask - added assigned_to_user_or_group field |
|
|
57
58
|
| 4.0.207 | 03/25/2024 | workflowtask - add global_task_number and object_task_number |
|
|
58
59
|
| 4.0.206 | 03/25/2024 | added sales_rep_code to Channel partner order |
|
|
59
60
|
| 4.0.205 | 03/19/2024 | workflow task - method to obtain open task count |
|
|
@@ -44,6 +44,12 @@ export interface WorkflowTask {
|
|
|
44
44
|
* @memberof WorkflowTask
|
|
45
45
|
*/
|
|
46
46
|
assigned_to_user_id?: number;
|
|
47
|
+
/**
|
|
48
|
+
* Assigned to user or group (used for sorting)
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof WorkflowTask
|
|
51
|
+
*/
|
|
52
|
+
assigned_to_user_or_group?: string;
|
|
47
53
|
/**
|
|
48
54
|
* Attachments to the Workflow Task
|
|
49
55
|
* @type {Array<WorkflowAttachment>}
|
|
@@ -75,6 +75,7 @@ function WorkflowTaskFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
75
75
|
'assigned_to_group_id': !(0, runtime_1.exists)(json, 'assigned_to_group_id') ? undefined : json['assigned_to_group_id'],
|
|
76
76
|
'assigned_to_user': !(0, runtime_1.exists)(json, 'assigned_to_user') ? undefined : json['assigned_to_user'],
|
|
77
77
|
'assigned_to_user_id': !(0, runtime_1.exists)(json, 'assigned_to_user_id') ? undefined : json['assigned_to_user_id'],
|
|
78
|
+
'assigned_to_user_or_group': !(0, runtime_1.exists)(json, 'assigned_to_user_or_group') ? undefined : json['assigned_to_user_or_group'],
|
|
78
79
|
'attachments': !(0, runtime_1.exists)(json, 'attachments') ? undefined : (json['attachments'].map(WorkflowAttachment_1.WorkflowAttachmentFromJSON)),
|
|
79
80
|
'created_by': !(0, runtime_1.exists)(json, 'created_by') ? undefined : (0, WorkflowUser_1.WorkflowUserFromJSON)(json['created_by']),
|
|
80
81
|
'created_dts': !(0, runtime_1.exists)(json, 'created_dts') ? undefined : json['created_dts'],
|
|
@@ -117,6 +118,7 @@ function WorkflowTaskToJSON(value) {
|
|
|
117
118
|
'assigned_to_group_id': value.assigned_to_group_id,
|
|
118
119
|
'assigned_to_user': value.assigned_to_user,
|
|
119
120
|
'assigned_to_user_id': value.assigned_to_user_id,
|
|
121
|
+
'assigned_to_user_or_group': value.assigned_to_user_or_group,
|
|
120
122
|
'attachments': value.attachments === undefined ? undefined : (value.attachments.map(WorkflowAttachment_1.WorkflowAttachmentToJSON)),
|
|
121
123
|
'created_by': (0, WorkflowUser_1.WorkflowUserToJSON)(value.created_by),
|
|
122
124
|
'created_dts': value.created_dts,
|
package/package.json
CHANGED
|
@@ -74,6 +74,12 @@ export interface WorkflowTask {
|
|
|
74
74
|
* @memberof WorkflowTask
|
|
75
75
|
*/
|
|
76
76
|
assigned_to_user_id?: number;
|
|
77
|
+
/**
|
|
78
|
+
* Assigned to user or group (used for sorting)
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof WorkflowTask
|
|
81
|
+
*/
|
|
82
|
+
assigned_to_user_or_group?: string;
|
|
77
83
|
/**
|
|
78
84
|
* Attachments to the Workflow Task
|
|
79
85
|
* @type {Array<WorkflowAttachment>}
|
|
@@ -304,6 +310,7 @@ export function WorkflowTaskFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
|
|
304
310
|
'assigned_to_group_id': !exists(json, 'assigned_to_group_id') ? undefined : json['assigned_to_group_id'],
|
|
305
311
|
'assigned_to_user': !exists(json, 'assigned_to_user') ? undefined : json['assigned_to_user'],
|
|
306
312
|
'assigned_to_user_id': !exists(json, 'assigned_to_user_id') ? undefined : json['assigned_to_user_id'],
|
|
313
|
+
'assigned_to_user_or_group': !exists(json, 'assigned_to_user_or_group') ? undefined : json['assigned_to_user_or_group'],
|
|
307
314
|
'attachments': !exists(json, 'attachments') ? undefined : ((json['attachments'] as Array<any>).map(WorkflowAttachmentFromJSON)),
|
|
308
315
|
'created_by': !exists(json, 'created_by') ? undefined : WorkflowUserFromJSON(json['created_by']),
|
|
309
316
|
'created_dts': !exists(json, 'created_dts') ? undefined : json['created_dts'],
|
|
@@ -347,6 +354,7 @@ export function WorkflowTaskToJSON(value?: WorkflowTask | null): any {
|
|
|
347
354
|
'assigned_to_group_id': value.assigned_to_group_id,
|
|
348
355
|
'assigned_to_user': value.assigned_to_user,
|
|
349
356
|
'assigned_to_user_id': value.assigned_to_user_id,
|
|
357
|
+
'assigned_to_user_or_group': value.assigned_to_user_or_group,
|
|
350
358
|
'attachments': value.attachments === undefined ? undefined : ((value.attachments as Array<any>).map(WorkflowAttachmentToJSON)),
|
|
351
359
|
'created_by': WorkflowUserToJSON(value.created_by),
|
|
352
360
|
'created_dts': value.created_dts,
|