ultracart_rest_api_v2_typescript 4.0.197 → 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 CHANGED
@@ -1,4 +1,4 @@
1
- ## ultracart_rest_api_v2_typescript@4.0.197
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.197 --save
39
+ npm install ultracart_rest_api_v2_typescript@4.0.199 --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.199 | 01/16/2024 | order query - support searching by custom fields 8 through 10 |
58
+ | 4.0.198 | 01/12/2024 | workflow task - add properties array |
57
59
  | 4.0.197 | 01/10/2024 | workflow tasks - support for searching by tags |
58
60
  | 4.0.196 | 01/10/2024 | workflow task - add uuids of related tasks and tags |
59
61
  | 4.0.195 | 01/03/2024 | workflow - add task_context field to task obj |
@@ -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,
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { Property } from './Property';
12
13
  import { WorkflowAttachment } from './WorkflowAttachment';
13
14
  import { WorkflowNote } from './WorkflowNote';
14
15
  import { WorkflowTaskHistory } from './WorkflowTaskHistory';
@@ -133,6 +134,12 @@ export interface WorkflowTask {
133
134
  * @memberof WorkflowTask
134
135
  */
135
136
  priority?: WorkflowTaskPriorityEnum;
137
+ /**
138
+ * Properties
139
+ * @type {Array<Property>}
140
+ * @memberof WorkflowTask
141
+ */
142
+ properties?: Array<Property>;
136
143
  /**
137
144
  * Related Workflow Task UUID
138
145
  * @type {string}
@@ -15,6 +15,7 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.WorkflowTaskToJSON = exports.WorkflowTaskFromJSONTyped = exports.WorkflowTaskFromJSON = exports.WorkflowTaskStatusEnum = exports.WorkflowTaskPriorityEnum = exports.WorkflowTaskObjectTypeEnum = void 0;
17
17
  var runtime_1 = require("../runtime");
18
+ var Property_1 = require("./Property");
18
19
  var WorkflowAttachment_1 = require("./WorkflowAttachment");
19
20
  var WorkflowNote_1 = require("./WorkflowNote");
20
21
  var WorkflowTaskHistory_1 = require("./WorkflowTaskHistory");
@@ -75,6 +76,7 @@ function WorkflowTaskFromJSONTyped(json, ignoreDiscriminator) {
75
76
  'object_type': !(0, runtime_1.exists)(json, 'object_type') ? undefined : json['object_type'],
76
77
  'object_url': !(0, runtime_1.exists)(json, 'object_url') ? undefined : json['object_url'],
77
78
  'priority': !(0, runtime_1.exists)(json, 'priority') ? undefined : json['priority'],
79
+ 'properties': !(0, runtime_1.exists)(json, 'properties') ? undefined : (json['properties'].map(Property_1.PropertyFromJSON)),
78
80
  'related_workflow_task_uuid': !(0, runtime_1.exists)(json, 'related_workflow_task_uuid') ? undefined : json['related_workflow_task_uuid'],
79
81
  'status': !(0, runtime_1.exists)(json, 'status') ? undefined : json['status'],
80
82
  'tags': !(0, runtime_1.exists)(json, 'tags') ? undefined : json['tags'],
@@ -112,6 +114,7 @@ function WorkflowTaskToJSON(value) {
112
114
  'object_type': value.object_type,
113
115
  'object_url': value.object_url,
114
116
  'priority': value.priority,
117
+ 'properties': value.properties === undefined ? undefined : (value.properties.map(Property_1.PropertyToJSON)),
115
118
  'related_workflow_task_uuid': value.related_workflow_task_uuid,
116
119
  'status': value.status,
117
120
  'tags': value.tags,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.0.197",
3
+ "version": "4.0.199",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -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,
@@ -13,6 +13,12 @@
13
13
  */
14
14
 
15
15
  import { exists, mapValues } from '../runtime';
16
+ import {
17
+ Property,
18
+ PropertyFromJSON,
19
+ PropertyFromJSONTyped,
20
+ PropertyToJSON,
21
+ } from './Property';
16
22
  import {
17
23
  WorkflowAttachment,
18
24
  WorkflowAttachmentFromJSON,
@@ -158,6 +164,12 @@ export interface WorkflowTask {
158
164
  * @memberof WorkflowTask
159
165
  */
160
166
  priority?: WorkflowTaskPriorityEnum;
167
+ /**
168
+ * Properties
169
+ * @type {Array<Property>}
170
+ * @memberof WorkflowTask
171
+ */
172
+ properties?: Array<Property>;
161
173
  /**
162
174
  * Related Workflow Task UUID
163
175
  * @type {string}
@@ -267,6 +279,7 @@ export function WorkflowTaskFromJSONTyped(json: any, ignoreDiscriminator: boolea
267
279
  'object_type': !exists(json, 'object_type') ? undefined : json['object_type'],
268
280
  'object_url': !exists(json, 'object_url') ? undefined : json['object_url'],
269
281
  'priority': !exists(json, 'priority') ? undefined : json['priority'],
282
+ 'properties': !exists(json, 'properties') ? undefined : ((json['properties'] as Array<any>).map(PropertyFromJSON)),
270
283
  'related_workflow_task_uuid': !exists(json, 'related_workflow_task_uuid') ? undefined : json['related_workflow_task_uuid'],
271
284
  'status': !exists(json, 'status') ? undefined : json['status'],
272
285
  'tags': !exists(json, 'tags') ? undefined : json['tags'],
@@ -305,6 +318,7 @@ export function WorkflowTaskToJSON(value?: WorkflowTask | null): any {
305
318
  'object_type': value.object_type,
306
319
  'object_url': value.object_url,
307
320
  'priority': value.priority,
321
+ 'properties': value.properties === undefined ? undefined : ((value.properties as Array<any>).map(PropertyToJSON)),
308
322
  'related_workflow_task_uuid': value.related_workflow_task_uuid,
309
323
  'status': value.status,
310
324
  'tags': value.tags,