ultracart_rest_api_v2_typescript 4.0.206 → 4.0.207

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.206
1
+ ## ultracart_rest_api_v2_typescript@4.0.207
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.206 --save
39
+ npm install ultracart_rest_api_v2_typescript@4.0.207 --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.207 | 03/25/2024 | workflowtask - add global_task_number and object_task_number |
57
58
  | 4.0.206 | 03/25/2024 | added sales_rep_code to Channel partner order |
58
59
  | 4.0.205 | 03/19/2024 | workflow task - method to obtain open task count |
59
60
  | 4.0.204 | 03/19/2024 | workflow task - addl status values, expiration_dts, and system task type |
@@ -86,6 +86,12 @@ export interface WorkflowTask {
86
86
  * @memberof WorkflowTask
87
87
  */
88
88
  expiration_dts?: string;
89
+ /**
90
+ * Global task numer
91
+ * @type {number}
92
+ * @memberof WorkflowTask
93
+ */
94
+ global_task_number?: number;
89
95
  /**
90
96
  * Array of history records for the task
91
97
  * @type {Array<WorkflowTaskHistory>}
@@ -122,6 +128,12 @@ export interface WorkflowTask {
122
128
  * @memberof WorkflowTask
123
129
  */
124
130
  object_id?: string;
131
+ /**
132
+ * Object specific task numer
133
+ * @type {number}
134
+ * @memberof WorkflowTask
135
+ */
136
+ object_task_number?: number;
125
137
  /**
126
138
  * Object Type
127
139
  * @type {string}
@@ -82,12 +82,14 @@ function WorkflowTaskFromJSONTyped(json, ignoreDiscriminator) {
82
82
  'dependant_workflow_task_uuid': !(0, runtime_1.exists)(json, 'dependant_workflow_task_uuid') ? undefined : json['dependant_workflow_task_uuid'],
83
83
  'due_dts': !(0, runtime_1.exists)(json, 'due_dts') ? undefined : json['due_dts'],
84
84
  'expiration_dts': !(0, runtime_1.exists)(json, 'expiration_dts') ? undefined : json['expiration_dts'],
85
+ 'global_task_number': !(0, runtime_1.exists)(json, 'global_task_number') ? undefined : json['global_task_number'],
85
86
  'histories': !(0, runtime_1.exists)(json, 'histories') ? undefined : (json['histories'].map(WorkflowTaskHistory_1.WorkflowTaskHistoryFromJSON)),
86
87
  'last_update_dts': !(0, runtime_1.exists)(json, 'last_update_dts') ? undefined : json['last_update_dts'],
87
88
  'merchant_id': !(0, runtime_1.exists)(json, 'merchant_id') ? undefined : json['merchant_id'],
88
89
  'notes': !(0, runtime_1.exists)(json, 'notes') ? undefined : (json['notes'].map(WorkflowNote_1.WorkflowNoteFromJSON)),
89
90
  'object_email': !(0, runtime_1.exists)(json, 'object_email') ? undefined : json['object_email'],
90
91
  'object_id': !(0, runtime_1.exists)(json, 'object_id') ? undefined : json['object_id'],
92
+ 'object_task_number': !(0, runtime_1.exists)(json, 'object_task_number') ? undefined : json['object_task_number'],
91
93
  'object_type': !(0, runtime_1.exists)(json, 'object_type') ? undefined : json['object_type'],
92
94
  'object_url': !(0, runtime_1.exists)(json, 'object_url') ? undefined : json['object_url'],
93
95
  'priority': !(0, runtime_1.exists)(json, 'priority') ? undefined : json['priority'],
@@ -122,12 +124,14 @@ function WorkflowTaskToJSON(value) {
122
124
  'dependant_workflow_task_uuid': value.dependant_workflow_task_uuid,
123
125
  'due_dts': value.due_dts,
124
126
  'expiration_dts': value.expiration_dts,
127
+ 'global_task_number': value.global_task_number,
125
128
  'histories': value.histories === undefined ? undefined : (value.histories.map(WorkflowTaskHistory_1.WorkflowTaskHistoryToJSON)),
126
129
  'last_update_dts': value.last_update_dts,
127
130
  'merchant_id': value.merchant_id,
128
131
  'notes': value.notes === undefined ? undefined : (value.notes.map(WorkflowNote_1.WorkflowNoteToJSON)),
129
132
  'object_email': value.object_email,
130
133
  'object_id': value.object_id,
134
+ 'object_task_number': value.object_task_number,
131
135
  'object_type': value.object_type,
132
136
  'object_url': value.object_url,
133
137
  'priority': value.priority,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.0.206",
3
+ "version": "4.0.207",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -116,6 +116,12 @@ export interface WorkflowTask {
116
116
  * @memberof WorkflowTask
117
117
  */
118
118
  expiration_dts?: string;
119
+ /**
120
+ * Global task numer
121
+ * @type {number}
122
+ * @memberof WorkflowTask
123
+ */
124
+ global_task_number?: number;
119
125
  /**
120
126
  * Array of history records for the task
121
127
  * @type {Array<WorkflowTaskHistory>}
@@ -152,6 +158,12 @@ export interface WorkflowTask {
152
158
  * @memberof WorkflowTask
153
159
  */
154
160
  object_id?: string;
161
+ /**
162
+ * Object specific task numer
163
+ * @type {number}
164
+ * @memberof WorkflowTask
165
+ */
166
+ object_task_number?: number;
155
167
  /**
156
168
  * Object Type
157
169
  * @type {string}
@@ -299,12 +311,14 @@ export function WorkflowTaskFromJSONTyped(json: any, ignoreDiscriminator: boolea
299
311
  'dependant_workflow_task_uuid': !exists(json, 'dependant_workflow_task_uuid') ? undefined : json['dependant_workflow_task_uuid'],
300
312
  'due_dts': !exists(json, 'due_dts') ? undefined : json['due_dts'],
301
313
  'expiration_dts': !exists(json, 'expiration_dts') ? undefined : json['expiration_dts'],
314
+ 'global_task_number': !exists(json, 'global_task_number') ? undefined : json['global_task_number'],
302
315
  'histories': !exists(json, 'histories') ? undefined : ((json['histories'] as Array<any>).map(WorkflowTaskHistoryFromJSON)),
303
316
  'last_update_dts': !exists(json, 'last_update_dts') ? undefined : json['last_update_dts'],
304
317
  'merchant_id': !exists(json, 'merchant_id') ? undefined : json['merchant_id'],
305
318
  'notes': !exists(json, 'notes') ? undefined : ((json['notes'] as Array<any>).map(WorkflowNoteFromJSON)),
306
319
  'object_email': !exists(json, 'object_email') ? undefined : json['object_email'],
307
320
  'object_id': !exists(json, 'object_id') ? undefined : json['object_id'],
321
+ 'object_task_number': !exists(json, 'object_task_number') ? undefined : json['object_task_number'],
308
322
  'object_type': !exists(json, 'object_type') ? undefined : json['object_type'],
309
323
  'object_url': !exists(json, 'object_url') ? undefined : json['object_url'],
310
324
  'priority': !exists(json, 'priority') ? undefined : json['priority'],
@@ -340,12 +354,14 @@ export function WorkflowTaskToJSON(value?: WorkflowTask | null): any {
340
354
  'dependant_workflow_task_uuid': value.dependant_workflow_task_uuid,
341
355
  'due_dts': value.due_dts,
342
356
  'expiration_dts': value.expiration_dts,
357
+ 'global_task_number': value.global_task_number,
343
358
  'histories': value.histories === undefined ? undefined : ((value.histories as Array<any>).map(WorkflowTaskHistoryToJSON)),
344
359
  'last_update_dts': value.last_update_dts,
345
360
  'merchant_id': value.merchant_id,
346
361
  'notes': value.notes === undefined ? undefined : ((value.notes as Array<any>).map(WorkflowNoteToJSON)),
347
362
  'object_email': value.object_email,
348
363
  'object_id': value.object_id,
364
+ 'object_task_number': value.object_task_number,
349
365
  'object_type': value.object_type,
350
366
  'object_url': value.object_url,
351
367
  'priority': value.priority,