ultracart_rest_api_v2_typescript 4.0.158 → 4.0.159

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.158
1
+ ## ultracart_rest_api_v2_typescript@4.0.159
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.158 --save
39
+ npm install ultracart_rest_api_v2_typescript@4.0.159 --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.159 | 06/09/2023 | distribution center pickup times |
57
58
  | 4.0.158 | 06/08/2023 | customer profile qb tax exempt reason code field |
58
59
  | 4.0.157 | 06/06/2023 | auto order add_ons |
59
60
  | 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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracart_rest_api_v2_typescript",
3
- "version": "4.0.158",
3
+ "version": "4.0.159",
4
4
  "description": "UltraCart Rest TypeScript SDK",
5
5
  "author": "UltraCart",
6
6
  "repository": {
@@ -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,