ultracart_rest_api_v2_typescript 4.0.205 → 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 +4 -2
- package/dist/models/ChannelPartnerOrder.d.ts +6 -0
- package/dist/models/ChannelPartnerOrder.js +2 -0
- package/dist/models/WorkflowTask.d.ts +12 -0
- package/dist/models/WorkflowTask.js +4 -0
- package/package.json +1 -1
- package/src/models/ChannelPartnerOrder.ts +8 -0
- package/src/models/WorkflowTask.ts +16 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## ultracart_rest_api_v2_typescript@4.0.
|
|
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.
|
|
39
|
+
npm install ultracart_rest_api_v2_typescript@4.0.207 --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.207 | 03/25/2024 | workflowtask - add global_task_number and object_task_number |
|
|
58
|
+
| 4.0.206 | 03/25/2024 | added sales_rep_code to Channel partner order |
|
|
57
59
|
| 4.0.205 | 03/19/2024 | workflow task - method to obtain open task count |
|
|
58
60
|
| 4.0.204 | 03/19/2024 | workflow task - addl status values, expiration_dts, and system task type |
|
|
59
61
|
| 4.0.203 | 03/15/2024 | workflow - getWorkflowAgentWebsocketAuthorization method added |
|
|
@@ -353,6 +353,12 @@ export interface ChannelPartnerOrder {
|
|
|
353
353
|
* @memberof ChannelPartnerOrder
|
|
354
354
|
*/
|
|
355
355
|
rotating_transaction_gateway_code?: string;
|
|
356
|
+
/**
|
|
357
|
+
* Sales rep code
|
|
358
|
+
* @type {string}
|
|
359
|
+
* @memberof ChannelPartnerOrder
|
|
360
|
+
*/
|
|
361
|
+
sales_rep_code?: string;
|
|
356
362
|
/**
|
|
357
363
|
* Screen branding theme code
|
|
358
364
|
* @type {string}
|
|
@@ -98,6 +98,7 @@ function ChannelPartnerOrderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
98
98
|
'payment_method': !(0, runtime_1.exists)(json, 'payment_method') ? undefined : json['payment_method'],
|
|
99
99
|
'purchase_order_number': !(0, runtime_1.exists)(json, 'purchase_order_number') ? undefined : json['purchase_order_number'],
|
|
100
100
|
'rotating_transaction_gateway_code': !(0, runtime_1.exists)(json, 'rotating_transaction_gateway_code') ? undefined : json['rotating_transaction_gateway_code'],
|
|
101
|
+
'sales_rep_code': !(0, runtime_1.exists)(json, 'sales_rep_code') ? undefined : json['sales_rep_code'],
|
|
101
102
|
'screen_branding_theme_code': !(0, runtime_1.exists)(json, 'screen_branding_theme_code') ? undefined : json['screen_branding_theme_code'],
|
|
102
103
|
'ship_on_date': !(0, runtime_1.exists)(json, 'ship_on_date') ? undefined : json['ship_on_date'],
|
|
103
104
|
'ship_to_residential': !(0, runtime_1.exists)(json, 'ship_to_residential') ? undefined : json['ship_to_residential'],
|
|
@@ -189,6 +190,7 @@ function ChannelPartnerOrderToJSON(value) {
|
|
|
189
190
|
'payment_method': value.payment_method,
|
|
190
191
|
'purchase_order_number': value.purchase_order_number,
|
|
191
192
|
'rotating_transaction_gateway_code': value.rotating_transaction_gateway_code,
|
|
193
|
+
'sales_rep_code': value.sales_rep_code,
|
|
192
194
|
'screen_branding_theme_code': value.screen_branding_theme_code,
|
|
193
195
|
'ship_on_date': value.ship_on_date,
|
|
194
196
|
'ship_to_residential': value.ship_to_residential,
|
|
@@ -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
|
@@ -368,6 +368,12 @@ export interface ChannelPartnerOrder {
|
|
|
368
368
|
* @memberof ChannelPartnerOrder
|
|
369
369
|
*/
|
|
370
370
|
rotating_transaction_gateway_code?: string;
|
|
371
|
+
/**
|
|
372
|
+
* Sales rep code
|
|
373
|
+
* @type {string}
|
|
374
|
+
* @memberof ChannelPartnerOrder
|
|
375
|
+
*/
|
|
376
|
+
sales_rep_code?: string;
|
|
371
377
|
/**
|
|
372
378
|
* Screen branding theme code
|
|
373
379
|
* @type {string}
|
|
@@ -600,6 +606,7 @@ export function ChannelPartnerOrderFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
600
606
|
'payment_method': !exists(json, 'payment_method') ? undefined : json['payment_method'],
|
|
601
607
|
'purchase_order_number': !exists(json, 'purchase_order_number') ? undefined : json['purchase_order_number'],
|
|
602
608
|
'rotating_transaction_gateway_code': !exists(json, 'rotating_transaction_gateway_code') ? undefined : json['rotating_transaction_gateway_code'],
|
|
609
|
+
'sales_rep_code': !exists(json, 'sales_rep_code') ? undefined : json['sales_rep_code'],
|
|
603
610
|
'screen_branding_theme_code': !exists(json, 'screen_branding_theme_code') ? undefined : json['screen_branding_theme_code'],
|
|
604
611
|
'ship_on_date': !exists(json, 'ship_on_date') ? undefined : json['ship_on_date'],
|
|
605
612
|
'ship_to_residential': !exists(json, 'ship_to_residential') ? undefined : json['ship_to_residential'],
|
|
@@ -692,6 +699,7 @@ export function ChannelPartnerOrderToJSON(value?: ChannelPartnerOrder | null): a
|
|
|
692
699
|
'payment_method': value.payment_method,
|
|
693
700
|
'purchase_order_number': value.purchase_order_number,
|
|
694
701
|
'rotating_transaction_gateway_code': value.rotating_transaction_gateway_code,
|
|
702
|
+
'sales_rep_code': value.sales_rep_code,
|
|
695
703
|
'screen_branding_theme_code': value.screen_branding_theme_code,
|
|
696
704
|
'ship_on_date': value.ship_on_date,
|
|
697
705
|
'ship_to_residential': value.ship_to_residential,
|
|
@@ -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,
|