ultracart_rest_api_v2_typescript 4.0.158 → 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 +4 -2
- package/dist/models/DistributionCenter.d.ts +90 -0
- package/dist/models/DistributionCenter.js +30 -0
- package/dist/models/ReportDataSet.d.ts +6 -0
- package/dist/models/ReportDataSet.js +2 -0
- package/dist/models/ReportExecuteQueriesRequest.d.ts +6 -0
- package/dist/models/ReportExecuteQueriesRequest.js +2 -0
- package/package.json +1 -1
- package/src/models/DistributionCenter.ts +120 -0
- package/src/models/ReportDataSet.ts +8 -0
- package/src/models/ReportExecuteQueriesRequest.ts +8 -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.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.
|
|
39
|
+
npm install ultracart_rest_api_v2_typescript@4.0.160 --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.160 | 06/14/2023 | dw bi: add request_dts on the execute queries request and report data set objects |
|
|
58
|
+
| 4.0.159 | 06/09/2023 | distribution center pickup times |
|
|
57
59
|
| 4.0.158 | 06/08/2023 | customer profile qb tax exempt reason code field |
|
|
58
60
|
| 4.0.157 | 06/06/2023 | auto order add_ons |
|
|
59
61
|
| 4.0.156 | 05/25/2023 | added venmo constants for payment type |
|
|
@@ -129,6 +129,96 @@ export interface DistributionCenter {
|
|
|
129
129
|
* @memberof DistributionCenter
|
|
130
130
|
*/
|
|
131
131
|
no_split_shipment?: boolean;
|
|
132
|
+
/**
|
|
133
|
+
* The time (EST) after which pickups will not be available on Friday
|
|
134
|
+
* @type {string}
|
|
135
|
+
* @memberof DistributionCenter
|
|
136
|
+
*/
|
|
137
|
+
pickup_cutoff_time_friday?: string;
|
|
138
|
+
/**
|
|
139
|
+
* The time (EST) after which pickups will not be available on Monday
|
|
140
|
+
* @type {string}
|
|
141
|
+
* @memberof DistributionCenter
|
|
142
|
+
*/
|
|
143
|
+
pickup_cutoff_time_monday?: string;
|
|
144
|
+
/**
|
|
145
|
+
* The time (EST) after which pickups will not be available on Saturday
|
|
146
|
+
* @type {string}
|
|
147
|
+
* @memberof DistributionCenter
|
|
148
|
+
*/
|
|
149
|
+
pickup_cutoff_time_saturday?: string;
|
|
150
|
+
/**
|
|
151
|
+
* The time (EST) after which pickups will not be available on Sunday
|
|
152
|
+
* @type {string}
|
|
153
|
+
* @memberof DistributionCenter
|
|
154
|
+
*/
|
|
155
|
+
pickup_cutoff_time_sunday?: string;
|
|
156
|
+
/**
|
|
157
|
+
* The time (EST) after which pickups will not be available on Thursday
|
|
158
|
+
* @type {string}
|
|
159
|
+
* @memberof DistributionCenter
|
|
160
|
+
*/
|
|
161
|
+
pickup_cutoff_time_thursday?: string;
|
|
162
|
+
/**
|
|
163
|
+
* The time (EST) after which pickups will not be available on Tuesday
|
|
164
|
+
* @type {string}
|
|
165
|
+
* @memberof DistributionCenter
|
|
166
|
+
*/
|
|
167
|
+
pickup_cutoff_time_tuesday?: string;
|
|
168
|
+
/**
|
|
169
|
+
* The time (EST) after which pickups will not be available on Wednesday
|
|
170
|
+
* @type {string}
|
|
171
|
+
* @memberof DistributionCenter
|
|
172
|
+
*/
|
|
173
|
+
pickup_cutoff_time_wednesday?: string;
|
|
174
|
+
/**
|
|
175
|
+
* The time (EST) after which pickups are available on Friday
|
|
176
|
+
* @type {string}
|
|
177
|
+
* @memberof DistributionCenter
|
|
178
|
+
*/
|
|
179
|
+
pickup_start_time_friday?: string;
|
|
180
|
+
/**
|
|
181
|
+
* The time (EST) after which pickups are available on Monday
|
|
182
|
+
* @type {string}
|
|
183
|
+
* @memberof DistributionCenter
|
|
184
|
+
*/
|
|
185
|
+
pickup_start_time_monday?: string;
|
|
186
|
+
/**
|
|
187
|
+
* The time (EST) after which pickups are available on Saturday
|
|
188
|
+
* @type {string}
|
|
189
|
+
* @memberof DistributionCenter
|
|
190
|
+
*/
|
|
191
|
+
pickup_start_time_saturday?: string;
|
|
192
|
+
/**
|
|
193
|
+
* The time (EST) after which pickups are available on Sunday
|
|
194
|
+
* @type {string}
|
|
195
|
+
* @memberof DistributionCenter
|
|
196
|
+
*/
|
|
197
|
+
pickup_start_time_sunday?: string;
|
|
198
|
+
/**
|
|
199
|
+
* The time (EST) after which pickups are available on Thursday
|
|
200
|
+
* @type {string}
|
|
201
|
+
* @memberof DistributionCenter
|
|
202
|
+
*/
|
|
203
|
+
pickup_start_time_thursday?: string;
|
|
204
|
+
/**
|
|
205
|
+
* The time (EST) after which pickups are available on Tuesday
|
|
206
|
+
* @type {string}
|
|
207
|
+
* @memberof DistributionCenter
|
|
208
|
+
*/
|
|
209
|
+
pickup_start_time_tuesday?: string;
|
|
210
|
+
/**
|
|
211
|
+
* The time (EST) after which pickups are available on Wednesday
|
|
212
|
+
* @type {string}
|
|
213
|
+
* @memberof DistributionCenter
|
|
214
|
+
*/
|
|
215
|
+
pickup_start_time_wednesday?: string;
|
|
216
|
+
/**
|
|
217
|
+
* The IANA timezone for all pickup times
|
|
218
|
+
* @type {string}
|
|
219
|
+
* @memberof DistributionCenter
|
|
220
|
+
*/
|
|
221
|
+
pickup_tz?: string;
|
|
132
222
|
/**
|
|
133
223
|
* Postal code of the distribution center
|
|
134
224
|
* @type {string}
|
|
@@ -43,6 +43,21 @@ function DistributionCenterFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
43
|
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
|
44
44
|
'no_customer_direct_shipments': !(0, runtime_1.exists)(json, 'no_customer_direct_shipments') ? undefined : json['no_customer_direct_shipments'],
|
|
45
45
|
'no_split_shipment': !(0, runtime_1.exists)(json, 'no_split_shipment') ? undefined : json['no_split_shipment'],
|
|
46
|
+
'pickup_cutoff_time_friday': !(0, runtime_1.exists)(json, 'pickup_cutoff_time_friday') ? undefined : json['pickup_cutoff_time_friday'],
|
|
47
|
+
'pickup_cutoff_time_monday': !(0, runtime_1.exists)(json, 'pickup_cutoff_time_monday') ? undefined : json['pickup_cutoff_time_monday'],
|
|
48
|
+
'pickup_cutoff_time_saturday': !(0, runtime_1.exists)(json, 'pickup_cutoff_time_saturday') ? undefined : json['pickup_cutoff_time_saturday'],
|
|
49
|
+
'pickup_cutoff_time_sunday': !(0, runtime_1.exists)(json, 'pickup_cutoff_time_sunday') ? undefined : json['pickup_cutoff_time_sunday'],
|
|
50
|
+
'pickup_cutoff_time_thursday': !(0, runtime_1.exists)(json, 'pickup_cutoff_time_thursday') ? undefined : json['pickup_cutoff_time_thursday'],
|
|
51
|
+
'pickup_cutoff_time_tuesday': !(0, runtime_1.exists)(json, 'pickup_cutoff_time_tuesday') ? undefined : json['pickup_cutoff_time_tuesday'],
|
|
52
|
+
'pickup_cutoff_time_wednesday': !(0, runtime_1.exists)(json, 'pickup_cutoff_time_wednesday') ? undefined : json['pickup_cutoff_time_wednesday'],
|
|
53
|
+
'pickup_start_time_friday': !(0, runtime_1.exists)(json, 'pickup_start_time_friday') ? undefined : json['pickup_start_time_friday'],
|
|
54
|
+
'pickup_start_time_monday': !(0, runtime_1.exists)(json, 'pickup_start_time_monday') ? undefined : json['pickup_start_time_monday'],
|
|
55
|
+
'pickup_start_time_saturday': !(0, runtime_1.exists)(json, 'pickup_start_time_saturday') ? undefined : json['pickup_start_time_saturday'],
|
|
56
|
+
'pickup_start_time_sunday': !(0, runtime_1.exists)(json, 'pickup_start_time_sunday') ? undefined : json['pickup_start_time_sunday'],
|
|
57
|
+
'pickup_start_time_thursday': !(0, runtime_1.exists)(json, 'pickup_start_time_thursday') ? undefined : json['pickup_start_time_thursday'],
|
|
58
|
+
'pickup_start_time_tuesday': !(0, runtime_1.exists)(json, 'pickup_start_time_tuesday') ? undefined : json['pickup_start_time_tuesday'],
|
|
59
|
+
'pickup_start_time_wednesday': !(0, runtime_1.exists)(json, 'pickup_start_time_wednesday') ? undefined : json['pickup_start_time_wednesday'],
|
|
60
|
+
'pickup_tz': !(0, runtime_1.exists)(json, 'pickup_tz') ? undefined : json['pickup_tz'],
|
|
46
61
|
'postal_code': !(0, runtime_1.exists)(json, 'postal_code') ? undefined : json['postal_code'],
|
|
47
62
|
'process_days': !(0, runtime_1.exists)(json, 'process_days') ? undefined : json['process_days'],
|
|
48
63
|
'process_inventory_start_time': !(0, runtime_1.exists)(json, 'process_inventory_start_time') ? undefined : json['process_inventory_start_time'],
|
|
@@ -89,6 +104,21 @@ function DistributionCenterToJSON(value) {
|
|
|
89
104
|
'name': value.name,
|
|
90
105
|
'no_customer_direct_shipments': value.no_customer_direct_shipments,
|
|
91
106
|
'no_split_shipment': value.no_split_shipment,
|
|
107
|
+
'pickup_cutoff_time_friday': value.pickup_cutoff_time_friday,
|
|
108
|
+
'pickup_cutoff_time_monday': value.pickup_cutoff_time_monday,
|
|
109
|
+
'pickup_cutoff_time_saturday': value.pickup_cutoff_time_saturday,
|
|
110
|
+
'pickup_cutoff_time_sunday': value.pickup_cutoff_time_sunday,
|
|
111
|
+
'pickup_cutoff_time_thursday': value.pickup_cutoff_time_thursday,
|
|
112
|
+
'pickup_cutoff_time_tuesday': value.pickup_cutoff_time_tuesday,
|
|
113
|
+
'pickup_cutoff_time_wednesday': value.pickup_cutoff_time_wednesday,
|
|
114
|
+
'pickup_start_time_friday': value.pickup_start_time_friday,
|
|
115
|
+
'pickup_start_time_monday': value.pickup_start_time_monday,
|
|
116
|
+
'pickup_start_time_saturday': value.pickup_start_time_saturday,
|
|
117
|
+
'pickup_start_time_sunday': value.pickup_start_time_sunday,
|
|
118
|
+
'pickup_start_time_thursday': value.pickup_start_time_thursday,
|
|
119
|
+
'pickup_start_time_tuesday': value.pickup_start_time_tuesday,
|
|
120
|
+
'pickup_start_time_wednesday': value.pickup_start_time_wednesday,
|
|
121
|
+
'pickup_tz': value.pickup_tz,
|
|
92
122
|
'postal_code': value.postal_code,
|
|
93
123
|
'process_days': value.process_days,
|
|
94
124
|
'process_inventory_start_time': value.process_inventory_start_time,
|
|
@@ -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
|
@@ -133,6 +133,96 @@ export interface DistributionCenter {
|
|
|
133
133
|
* @memberof DistributionCenter
|
|
134
134
|
*/
|
|
135
135
|
no_split_shipment?: boolean;
|
|
136
|
+
/**
|
|
137
|
+
* The time (EST) after which pickups will not be available on Friday
|
|
138
|
+
* @type {string}
|
|
139
|
+
* @memberof DistributionCenter
|
|
140
|
+
*/
|
|
141
|
+
pickup_cutoff_time_friday?: string;
|
|
142
|
+
/**
|
|
143
|
+
* The time (EST) after which pickups will not be available on Monday
|
|
144
|
+
* @type {string}
|
|
145
|
+
* @memberof DistributionCenter
|
|
146
|
+
*/
|
|
147
|
+
pickup_cutoff_time_monday?: string;
|
|
148
|
+
/**
|
|
149
|
+
* The time (EST) after which pickups will not be available on Saturday
|
|
150
|
+
* @type {string}
|
|
151
|
+
* @memberof DistributionCenter
|
|
152
|
+
*/
|
|
153
|
+
pickup_cutoff_time_saturday?: string;
|
|
154
|
+
/**
|
|
155
|
+
* The time (EST) after which pickups will not be available on Sunday
|
|
156
|
+
* @type {string}
|
|
157
|
+
* @memberof DistributionCenter
|
|
158
|
+
*/
|
|
159
|
+
pickup_cutoff_time_sunday?: string;
|
|
160
|
+
/**
|
|
161
|
+
* The time (EST) after which pickups will not be available on Thursday
|
|
162
|
+
* @type {string}
|
|
163
|
+
* @memberof DistributionCenter
|
|
164
|
+
*/
|
|
165
|
+
pickup_cutoff_time_thursday?: string;
|
|
166
|
+
/**
|
|
167
|
+
* The time (EST) after which pickups will not be available on Tuesday
|
|
168
|
+
* @type {string}
|
|
169
|
+
* @memberof DistributionCenter
|
|
170
|
+
*/
|
|
171
|
+
pickup_cutoff_time_tuesday?: string;
|
|
172
|
+
/**
|
|
173
|
+
* The time (EST) after which pickups will not be available on Wednesday
|
|
174
|
+
* @type {string}
|
|
175
|
+
* @memberof DistributionCenter
|
|
176
|
+
*/
|
|
177
|
+
pickup_cutoff_time_wednesday?: string;
|
|
178
|
+
/**
|
|
179
|
+
* The time (EST) after which pickups are available on Friday
|
|
180
|
+
* @type {string}
|
|
181
|
+
* @memberof DistributionCenter
|
|
182
|
+
*/
|
|
183
|
+
pickup_start_time_friday?: string;
|
|
184
|
+
/**
|
|
185
|
+
* The time (EST) after which pickups are available on Monday
|
|
186
|
+
* @type {string}
|
|
187
|
+
* @memberof DistributionCenter
|
|
188
|
+
*/
|
|
189
|
+
pickup_start_time_monday?: string;
|
|
190
|
+
/**
|
|
191
|
+
* The time (EST) after which pickups are available on Saturday
|
|
192
|
+
* @type {string}
|
|
193
|
+
* @memberof DistributionCenter
|
|
194
|
+
*/
|
|
195
|
+
pickup_start_time_saturday?: string;
|
|
196
|
+
/**
|
|
197
|
+
* The time (EST) after which pickups are available on Sunday
|
|
198
|
+
* @type {string}
|
|
199
|
+
* @memberof DistributionCenter
|
|
200
|
+
*/
|
|
201
|
+
pickup_start_time_sunday?: string;
|
|
202
|
+
/**
|
|
203
|
+
* The time (EST) after which pickups are available on Thursday
|
|
204
|
+
* @type {string}
|
|
205
|
+
* @memberof DistributionCenter
|
|
206
|
+
*/
|
|
207
|
+
pickup_start_time_thursday?: string;
|
|
208
|
+
/**
|
|
209
|
+
* The time (EST) after which pickups are available on Tuesday
|
|
210
|
+
* @type {string}
|
|
211
|
+
* @memberof DistributionCenter
|
|
212
|
+
*/
|
|
213
|
+
pickup_start_time_tuesday?: string;
|
|
214
|
+
/**
|
|
215
|
+
* The time (EST) after which pickups are available on Wednesday
|
|
216
|
+
* @type {string}
|
|
217
|
+
* @memberof DistributionCenter
|
|
218
|
+
*/
|
|
219
|
+
pickup_start_time_wednesday?: string;
|
|
220
|
+
/**
|
|
221
|
+
* The IANA timezone for all pickup times
|
|
222
|
+
* @type {string}
|
|
223
|
+
* @memberof DistributionCenter
|
|
224
|
+
*/
|
|
225
|
+
pickup_tz?: string;
|
|
136
226
|
/**
|
|
137
227
|
* Postal code of the distribution center
|
|
138
228
|
* @type {string}
|
|
@@ -260,6 +350,21 @@ export function DistributionCenterFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
260
350
|
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
261
351
|
'no_customer_direct_shipments': !exists(json, 'no_customer_direct_shipments') ? undefined : json['no_customer_direct_shipments'],
|
|
262
352
|
'no_split_shipment': !exists(json, 'no_split_shipment') ? undefined : json['no_split_shipment'],
|
|
353
|
+
'pickup_cutoff_time_friday': !exists(json, 'pickup_cutoff_time_friday') ? undefined : json['pickup_cutoff_time_friday'],
|
|
354
|
+
'pickup_cutoff_time_monday': !exists(json, 'pickup_cutoff_time_monday') ? undefined : json['pickup_cutoff_time_monday'],
|
|
355
|
+
'pickup_cutoff_time_saturday': !exists(json, 'pickup_cutoff_time_saturday') ? undefined : json['pickup_cutoff_time_saturday'],
|
|
356
|
+
'pickup_cutoff_time_sunday': !exists(json, 'pickup_cutoff_time_sunday') ? undefined : json['pickup_cutoff_time_sunday'],
|
|
357
|
+
'pickup_cutoff_time_thursday': !exists(json, 'pickup_cutoff_time_thursday') ? undefined : json['pickup_cutoff_time_thursday'],
|
|
358
|
+
'pickup_cutoff_time_tuesday': !exists(json, 'pickup_cutoff_time_tuesday') ? undefined : json['pickup_cutoff_time_tuesday'],
|
|
359
|
+
'pickup_cutoff_time_wednesday': !exists(json, 'pickup_cutoff_time_wednesday') ? undefined : json['pickup_cutoff_time_wednesday'],
|
|
360
|
+
'pickup_start_time_friday': !exists(json, 'pickup_start_time_friday') ? undefined : json['pickup_start_time_friday'],
|
|
361
|
+
'pickup_start_time_monday': !exists(json, 'pickup_start_time_monday') ? undefined : json['pickup_start_time_monday'],
|
|
362
|
+
'pickup_start_time_saturday': !exists(json, 'pickup_start_time_saturday') ? undefined : json['pickup_start_time_saturday'],
|
|
363
|
+
'pickup_start_time_sunday': !exists(json, 'pickup_start_time_sunday') ? undefined : json['pickup_start_time_sunday'],
|
|
364
|
+
'pickup_start_time_thursday': !exists(json, 'pickup_start_time_thursday') ? undefined : json['pickup_start_time_thursday'],
|
|
365
|
+
'pickup_start_time_tuesday': !exists(json, 'pickup_start_time_tuesday') ? undefined : json['pickup_start_time_tuesday'],
|
|
366
|
+
'pickup_start_time_wednesday': !exists(json, 'pickup_start_time_wednesday') ? undefined : json['pickup_start_time_wednesday'],
|
|
367
|
+
'pickup_tz': !exists(json, 'pickup_tz') ? undefined : json['pickup_tz'],
|
|
263
368
|
'postal_code': !exists(json, 'postal_code') ? undefined : json['postal_code'],
|
|
264
369
|
'process_days': !exists(json, 'process_days') ? undefined : json['process_days'],
|
|
265
370
|
'process_inventory_start_time': !exists(json, 'process_inventory_start_time') ? undefined : json['process_inventory_start_time'],
|
|
@@ -307,6 +412,21 @@ export function DistributionCenterToJSON(value?: DistributionCenter | null): any
|
|
|
307
412
|
'name': value.name,
|
|
308
413
|
'no_customer_direct_shipments': value.no_customer_direct_shipments,
|
|
309
414
|
'no_split_shipment': value.no_split_shipment,
|
|
415
|
+
'pickup_cutoff_time_friday': value.pickup_cutoff_time_friday,
|
|
416
|
+
'pickup_cutoff_time_monday': value.pickup_cutoff_time_monday,
|
|
417
|
+
'pickup_cutoff_time_saturday': value.pickup_cutoff_time_saturday,
|
|
418
|
+
'pickup_cutoff_time_sunday': value.pickup_cutoff_time_sunday,
|
|
419
|
+
'pickup_cutoff_time_thursday': value.pickup_cutoff_time_thursday,
|
|
420
|
+
'pickup_cutoff_time_tuesday': value.pickup_cutoff_time_tuesday,
|
|
421
|
+
'pickup_cutoff_time_wednesday': value.pickup_cutoff_time_wednesday,
|
|
422
|
+
'pickup_start_time_friday': value.pickup_start_time_friday,
|
|
423
|
+
'pickup_start_time_monday': value.pickup_start_time_monday,
|
|
424
|
+
'pickup_start_time_saturday': value.pickup_start_time_saturday,
|
|
425
|
+
'pickup_start_time_sunday': value.pickup_start_time_sunday,
|
|
426
|
+
'pickup_start_time_thursday': value.pickup_start_time_thursday,
|
|
427
|
+
'pickup_start_time_tuesday': value.pickup_start_time_tuesday,
|
|
428
|
+
'pickup_start_time_wednesday': value.pickup_start_time_wednesday,
|
|
429
|
+
'pickup_tz': value.pickup_tz,
|
|
310
430
|
'postal_code': value.postal_code,
|
|
311
431
|
'process_days': value.process_days,
|
|
312
432
|
'process_inventory_start_time': value.process_inventory_start_time,
|
|
@@ -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
|
}
|