ultracart_rest_api_v2_typescript 4.0.198 → 4.0.199
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 +3 -2
- package/dist/models/OrderQuery.d.ts +18 -0
- package/dist/models/OrderQuery.js +6 -0
- package/package.json +1 -1
- package/src/models/OrderQuery.ts +24 -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.199
|
|
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.199 --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.199 | 01/16/2024 | order query - support searching by custom fields 8 through 10 |
|
|
57
58
|
| 4.0.198 | 01/12/2024 | workflow task - add properties array |
|
|
58
59
|
| 4.0.197 | 01/10/2024 | workflow tasks - support for searching by tags |
|
|
59
60
|
| 4.0.196 | 01/10/2024 | workflow task - add uuids of related tasks and tags |
|
|
@@ -75,6 +75,12 @@ export interface OrderQuery {
|
|
|
75
75
|
* @memberof OrderQuery
|
|
76
76
|
*/
|
|
77
77
|
custom_field_1?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Custom field 10
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof OrderQuery
|
|
82
|
+
*/
|
|
83
|
+
custom_field_10?: string;
|
|
78
84
|
/**
|
|
79
85
|
* Custom field 2
|
|
80
86
|
* @type {string}
|
|
@@ -111,6 +117,18 @@ export interface OrderQuery {
|
|
|
111
117
|
* @memberof OrderQuery
|
|
112
118
|
*/
|
|
113
119
|
custom_field_7?: string;
|
|
120
|
+
/**
|
|
121
|
+
* Custom field 8
|
|
122
|
+
* @type {string}
|
|
123
|
+
* @memberof OrderQuery
|
|
124
|
+
*/
|
|
125
|
+
custom_field_8?: string;
|
|
126
|
+
/**
|
|
127
|
+
* Custom field 9
|
|
128
|
+
* @type {string}
|
|
129
|
+
* @memberof OrderQuery
|
|
130
|
+
*/
|
|
131
|
+
custom_field_9?: string;
|
|
114
132
|
/**
|
|
115
133
|
* The customer profile to find associated orders for
|
|
116
134
|
* @type {number}
|
|
@@ -72,12 +72,15 @@ function OrderQueryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
72
72
|
'creation_date_end': !(0, runtime_1.exists)(json, 'creation_date_end') ? undefined : json['creation_date_end'],
|
|
73
73
|
'current_stage': !(0, runtime_1.exists)(json, 'current_stage') ? undefined : json['current_stage'],
|
|
74
74
|
'custom_field_1': !(0, runtime_1.exists)(json, 'custom_field_1') ? undefined : json['custom_field_1'],
|
|
75
|
+
'custom_field_10': !(0, runtime_1.exists)(json, 'custom_field_10') ? undefined : json['custom_field_10'],
|
|
75
76
|
'custom_field_2': !(0, runtime_1.exists)(json, 'custom_field_2') ? undefined : json['custom_field_2'],
|
|
76
77
|
'custom_field_3': !(0, runtime_1.exists)(json, 'custom_field_3') ? undefined : json['custom_field_3'],
|
|
77
78
|
'custom_field_4': !(0, runtime_1.exists)(json, 'custom_field_4') ? undefined : json['custom_field_4'],
|
|
78
79
|
'custom_field_5': !(0, runtime_1.exists)(json, 'custom_field_5') ? undefined : json['custom_field_5'],
|
|
79
80
|
'custom_field_6': !(0, runtime_1.exists)(json, 'custom_field_6') ? undefined : json['custom_field_6'],
|
|
80
81
|
'custom_field_7': !(0, runtime_1.exists)(json, 'custom_field_7') ? undefined : json['custom_field_7'],
|
|
82
|
+
'custom_field_8': !(0, runtime_1.exists)(json, 'custom_field_8') ? undefined : json['custom_field_8'],
|
|
83
|
+
'custom_field_9': !(0, runtime_1.exists)(json, 'custom_field_9') ? undefined : json['custom_field_9'],
|
|
81
84
|
'customer_profile_oid': !(0, runtime_1.exists)(json, 'customer_profile_oid') ? undefined : json['customer_profile_oid'],
|
|
82
85
|
'email': !(0, runtime_1.exists)(json, 'email') ? undefined : json['email'],
|
|
83
86
|
'first_name': !(0, runtime_1.exists)(json, 'first_name') ? undefined : json['first_name'],
|
|
@@ -122,12 +125,15 @@ function OrderQueryToJSON(value) {
|
|
|
122
125
|
'creation_date_end': value.creation_date_end,
|
|
123
126
|
'current_stage': value.current_stage,
|
|
124
127
|
'custom_field_1': value.custom_field_1,
|
|
128
|
+
'custom_field_10': value.custom_field_10,
|
|
125
129
|
'custom_field_2': value.custom_field_2,
|
|
126
130
|
'custom_field_3': value.custom_field_3,
|
|
127
131
|
'custom_field_4': value.custom_field_4,
|
|
128
132
|
'custom_field_5': value.custom_field_5,
|
|
129
133
|
'custom_field_6': value.custom_field_6,
|
|
130
134
|
'custom_field_7': value.custom_field_7,
|
|
135
|
+
'custom_field_8': value.custom_field_8,
|
|
136
|
+
'custom_field_9': value.custom_field_9,
|
|
131
137
|
'customer_profile_oid': value.customer_profile_oid,
|
|
132
138
|
'email': value.email,
|
|
133
139
|
'first_name': value.first_name,
|
package/package.json
CHANGED
package/src/models/OrderQuery.ts
CHANGED
|
@@ -79,6 +79,12 @@ export interface OrderQuery {
|
|
|
79
79
|
* @memberof OrderQuery
|
|
80
80
|
*/
|
|
81
81
|
custom_field_1?: string;
|
|
82
|
+
/**
|
|
83
|
+
* Custom field 10
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof OrderQuery
|
|
86
|
+
*/
|
|
87
|
+
custom_field_10?: string;
|
|
82
88
|
/**
|
|
83
89
|
* Custom field 2
|
|
84
90
|
* @type {string}
|
|
@@ -115,6 +121,18 @@ export interface OrderQuery {
|
|
|
115
121
|
* @memberof OrderQuery
|
|
116
122
|
*/
|
|
117
123
|
custom_field_7?: string;
|
|
124
|
+
/**
|
|
125
|
+
* Custom field 8
|
|
126
|
+
* @type {string}
|
|
127
|
+
* @memberof OrderQuery
|
|
128
|
+
*/
|
|
129
|
+
custom_field_8?: string;
|
|
130
|
+
/**
|
|
131
|
+
* Custom field 9
|
|
132
|
+
* @type {string}
|
|
133
|
+
* @memberof OrderQuery
|
|
134
|
+
*/
|
|
135
|
+
custom_field_9?: string;
|
|
118
136
|
/**
|
|
119
137
|
* The customer profile to find associated orders for
|
|
120
138
|
* @type {number}
|
|
@@ -319,12 +337,15 @@ export function OrderQueryFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
319
337
|
'creation_date_end': !exists(json, 'creation_date_end') ? undefined : json['creation_date_end'],
|
|
320
338
|
'current_stage': !exists(json, 'current_stage') ? undefined : json['current_stage'],
|
|
321
339
|
'custom_field_1': !exists(json, 'custom_field_1') ? undefined : json['custom_field_1'],
|
|
340
|
+
'custom_field_10': !exists(json, 'custom_field_10') ? undefined : json['custom_field_10'],
|
|
322
341
|
'custom_field_2': !exists(json, 'custom_field_2') ? undefined : json['custom_field_2'],
|
|
323
342
|
'custom_field_3': !exists(json, 'custom_field_3') ? undefined : json['custom_field_3'],
|
|
324
343
|
'custom_field_4': !exists(json, 'custom_field_4') ? undefined : json['custom_field_4'],
|
|
325
344
|
'custom_field_5': !exists(json, 'custom_field_5') ? undefined : json['custom_field_5'],
|
|
326
345
|
'custom_field_6': !exists(json, 'custom_field_6') ? undefined : json['custom_field_6'],
|
|
327
346
|
'custom_field_7': !exists(json, 'custom_field_7') ? undefined : json['custom_field_7'],
|
|
347
|
+
'custom_field_8': !exists(json, 'custom_field_8') ? undefined : json['custom_field_8'],
|
|
348
|
+
'custom_field_9': !exists(json, 'custom_field_9') ? undefined : json['custom_field_9'],
|
|
328
349
|
'customer_profile_oid': !exists(json, 'customer_profile_oid') ? undefined : json['customer_profile_oid'],
|
|
329
350
|
'email': !exists(json, 'email') ? undefined : json['email'],
|
|
330
351
|
'first_name': !exists(json, 'first_name') ? undefined : json['first_name'],
|
|
@@ -370,12 +391,15 @@ export function OrderQueryToJSON(value?: OrderQuery | null): any {
|
|
|
370
391
|
'creation_date_end': value.creation_date_end,
|
|
371
392
|
'current_stage': value.current_stage,
|
|
372
393
|
'custom_field_1': value.custom_field_1,
|
|
394
|
+
'custom_field_10': value.custom_field_10,
|
|
373
395
|
'custom_field_2': value.custom_field_2,
|
|
374
396
|
'custom_field_3': value.custom_field_3,
|
|
375
397
|
'custom_field_4': value.custom_field_4,
|
|
376
398
|
'custom_field_5': value.custom_field_5,
|
|
377
399
|
'custom_field_6': value.custom_field_6,
|
|
378
400
|
'custom_field_7': value.custom_field_7,
|
|
401
|
+
'custom_field_8': value.custom_field_8,
|
|
402
|
+
'custom_field_9': value.custom_field_9,
|
|
379
403
|
'customer_profile_oid': value.customer_profile_oid,
|
|
380
404
|
'email': value.email,
|
|
381
405
|
'first_name': value.first_name,
|