ultracart_rest_api_v2_typescript 4.0.159 → 4.0.160

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.159
1
+ ## ultracart_rest_api_v2_typescript@4.0.160
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.159 --save
39
+ npm install ultracart_rest_api_v2_typescript@4.0.160 --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.160 | 06/14/2023 | dw bi: add request_dts on the execute queries request and report data set objects |
57
58
  | 4.0.159 | 06/09/2023 | distribution center pickup times |
58
59
  | 4.0.158 | 06/08/2023 | customer profile qb tax exempt reason code field |
59
60
  | 4.0.157 | 06/06/2023 | auto order add_ons |
@@ -89,6 +89,12 @@ export interface ReportDataSet {
89
89
  * @memberof ReportDataSet
90
90
  */
91
91
  page_size?: number;
92
+ /**
93
+ * Date/Time of the client submitted the request. Can be used to resolve out of order query completion results
94
+ * @type {string}
95
+ * @memberof ReportDataSet
96
+ */
97
+ request_dts?: string;
92
98
  /**
93
99
  * The schema associated with the data set.
94
100
  * @type {Array<ReportDataSetSchema>}
@@ -46,6 +46,7 @@ function ReportDataSetFromJSONTyped(json, ignoreDiscriminator) {
46
46
  'merchant_id': !(0, runtime_1.exists)(json, 'merchant_id') ? undefined : json['merchant_id'],
47
47
  'page_count': !(0, runtime_1.exists)(json, 'page_count') ? undefined : json['page_count'],
48
48
  'page_size': !(0, runtime_1.exists)(json, 'page_size') ? undefined : json['page_size'],
49
+ 'request_dts': !(0, runtime_1.exists)(json, 'request_dts') ? undefined : json['request_dts'],
49
50
  'schema': !(0, runtime_1.exists)(json, 'schema') ? undefined : (json['schema'].map(ReportDataSetSchema_1.ReportDataSetSchemaFromJSON)),
50
51
  'security_level': !(0, runtime_1.exists)(json, 'security_level') ? undefined : json['security_level'],
51
52
  'timezone': !(0, runtime_1.exists)(json, 'timezone') ? undefined : json['timezone'],
@@ -73,6 +74,7 @@ function ReportDataSetToJSON(value) {
73
74
  'merchant_id': value.merchant_id,
74
75
  'page_count': value.page_count,
75
76
  'page_size': value.page_size,
77
+ 'request_dts': value.request_dts,
76
78
  'schema': value.schema === undefined ? undefined : (value.schema.map(ReportDataSetSchema_1.ReportDataSetSchemaToJSON)),
77
79
  'security_level': value.security_level,
78
80
  'timezone': value.timezone,
@@ -52,6 +52,12 @@ export interface ReportExecuteQueriesRequest {
52
52
  * @memberof ReportExecuteQueriesRequest
53
53
  */
54
54
  queries?: Array<ReportDataSetQuery>;
55
+ /**
56
+ * Date/Time of the client submitted the request. Can be used to resolve out of order query completion results
57
+ * @type {string}
58
+ * @memberof ReportExecuteQueriesRequest
59
+ */
60
+ request_dts?: string;
55
61
  /**
56
62
  * Security level to execute report under
57
63
  * @type {string}
@@ -40,6 +40,7 @@ function ReportExecuteQueriesRequestFromJSONTyped(json, ignoreDiscriminator) {
40
40
  'default_project_id': !(0, runtime_1.exists)(json, 'default_project_id') ? undefined : json['default_project_id'],
41
41
  'merchant_id': !(0, runtime_1.exists)(json, 'merchant_id') ? undefined : json['merchant_id'],
42
42
  'queries': !(0, runtime_1.exists)(json, 'queries') ? undefined : (json['queries'].map(ReportDataSetQuery_1.ReportDataSetQueryFromJSON)),
43
+ 'request_dts': !(0, runtime_1.exists)(json, 'request_dts') ? undefined : json['request_dts'],
43
44
  'security_level': !(0, runtime_1.exists)(json, 'security_level') ? undefined : json['security_level'],
44
45
  };
45
46
  }
@@ -58,6 +59,7 @@ function ReportExecuteQueriesRequestToJSON(value) {
58
59
  'default_project_id': value.default_project_id,
59
60
  'merchant_id': value.merchant_id,
60
61
  'queries': value.queries === undefined ? undefined : (value.queries.map(ReportDataSetQuery_1.ReportDataSetQueryToJSON)),
62
+ 'request_dts': value.request_dts,
61
63
  'security_level': value.security_level,
62
64
  };
63
65
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.0.159",
3
+ "version": "4.0.160",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -104,6 +104,12 @@ export interface ReportDataSet {
104
104
  * @memberof ReportDataSet
105
105
  */
106
106
  page_size?: number;
107
+ /**
108
+ * Date/Time of the client submitted the request. Can be used to resolve out of order query completion results
109
+ * @type {string}
110
+ * @memberof ReportDataSet
111
+ */
112
+ request_dts?: string;
107
113
  /**
108
114
  * The schema associated with the data set.
109
115
  * @type {Array<ReportDataSetSchema>}
@@ -164,6 +170,7 @@ export function ReportDataSetFromJSONTyped(json: any, ignoreDiscriminator: boole
164
170
  'merchant_id': !exists(json, 'merchant_id') ? undefined : json['merchant_id'],
165
171
  'page_count': !exists(json, 'page_count') ? undefined : json['page_count'],
166
172
  'page_size': !exists(json, 'page_size') ? undefined : json['page_size'],
173
+ 'request_dts': !exists(json, 'request_dts') ? undefined : json['request_dts'],
167
174
  'schema': !exists(json, 'schema') ? undefined : ((json['schema'] as Array<any>).map(ReportDataSetSchemaFromJSON)),
168
175
  'security_level': !exists(json, 'security_level') ? undefined : json['security_level'],
169
176
  'timezone': !exists(json, 'timezone') ? undefined : json['timezone'],
@@ -192,6 +199,7 @@ export function ReportDataSetToJSON(value?: ReportDataSet | null): any {
192
199
  'merchant_id': value.merchant_id,
193
200
  'page_count': value.page_count,
194
201
  'page_size': value.page_size,
202
+ 'request_dts': value.request_dts,
195
203
  'schema': value.schema === undefined ? undefined : ((value.schema as Array<any>).map(ReportDataSetSchemaToJSON)),
196
204
  'security_level': value.security_level,
197
205
  'timezone': value.timezone,
@@ -62,6 +62,12 @@ export interface ReportExecuteQueriesRequest {
62
62
  * @memberof ReportExecuteQueriesRequest
63
63
  */
64
64
  queries?: Array<ReportDataSetQuery>;
65
+ /**
66
+ * Date/Time of the client submitted the request. Can be used to resolve out of order query completion results
67
+ * @type {string}
68
+ * @memberof ReportExecuteQueriesRequest
69
+ */
70
+ request_dts?: string;
65
71
  /**
66
72
  * Security level to execute report under
67
73
  * @type {string}
@@ -99,6 +105,7 @@ export function ReportExecuteQueriesRequestFromJSONTyped(json: any, ignoreDiscri
99
105
  'default_project_id': !exists(json, 'default_project_id') ? undefined : json['default_project_id'],
100
106
  'merchant_id': !exists(json, 'merchant_id') ? undefined : json['merchant_id'],
101
107
  'queries': !exists(json, 'queries') ? undefined : ((json['queries'] as Array<any>).map(ReportDataSetQueryFromJSON)),
108
+ 'request_dts': !exists(json, 'request_dts') ? undefined : json['request_dts'],
102
109
  'security_level': !exists(json, 'security_level') ? undefined : json['security_level'],
103
110
  };
104
111
  }
@@ -118,6 +125,7 @@ export function ReportExecuteQueriesRequestToJSON(value?: ReportExecuteQueriesRe
118
125
  'default_project_id': value.default_project_id,
119
126
  'merchant_id': value.merchant_id,
120
127
  'queries': value.queries === undefined ? undefined : ((value.queries as Array<any>).map(ReportDataSetQueryToJSON)),
128
+ 'request_dts': value.request_dts,
121
129
  'security_level': value.security_level,
122
130
  };
123
131
  }