@ventrata/octo-types 0.0.8 → 0.0.10
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/dist/index.d.ts +46 -0
- package/dist/models/BookingConfirmationBody.d.ts +17 -1
- package/dist/models/BookingPickupBody.d.ts +18 -0
- package/dist/models/BookingReservationBody.d.ts +16 -0
- package/dist/models/BookingUpdateBody.d.ts +16 -0
- package/dist/models/CancelOrderBody.d.ts +6 -0
- package/dist/models/CancelOrderRequest_id.d.ts +4 -0
- package/dist/models/ConfirmOrderBody.d.ts +19 -0
- package/dist/models/ConfirmOrderPricingBody.d.ts +6 -0
- package/dist/models/ConfirmOrderRequest_id.d.ts +4 -0
- package/dist/models/CreateOrderBody.d.ts +19 -0
- package/dist/models/CreateOrderPricingBody.d.ts +6 -0
- package/dist/models/CreateOrderRequest_id.d.ts +4 -0
- package/dist/models/ExtendOrderBody.d.ts +3 -0
- package/dist/models/ExtendOrderRequest_id.d.ts +4 -0
- package/dist/models/GetMappingsQueryParams_optionId.d.ts +4 -0
- package/dist/models/GetMappingsQueryParams_productId.d.ts +4 -0
- package/dist/models/GetMappingsQueryParams_resellerReference.d.ts +4 -0
- package/dist/models/GetMappingsQueryParams_resellerStatus.d.ts +5 -0
- package/dist/models/GetMappingsRequest.d.ts +19 -0
- package/dist/models/GetOrderRequest_id.d.ts +4 -0
- package/dist/models/MappingToUpdate.d.ts +31 -0
- package/dist/models/OrderPathParams.d.ts +6 -0
- package/dist/models/Product.d.ts +1 -1
- package/dist/models/ProductGoogle.d.ts +1 -1
- package/dist/models/UpdateMappingsRequest.d.ts +4 -0
- package/dist/models/UpdateOrderBody.d.ts +19 -0
- package/dist/models/UpdateOrderPricingBody.d.ts +6 -0
- package/dist/models/UpdateOrderRequest_id.d.ts +4 -0
- package/dist/schemas/BookingConfirmationBody.d.ts +22 -10
- package/dist/schemas/BookingConfirmationRequest.d.ts +38 -18
- package/dist/schemas/BookingPickupBody.d.ts +17 -0
- package/dist/schemas/BookingReservationBody.d.ts +12 -0
- package/dist/schemas/BookingReservationRequest.d.ts +20 -0
- package/dist/schemas/BookingUpdateBody.d.ts +12 -0
- package/dist/schemas/BookingUpdateRequest.d.ts +20 -0
- package/dist/schemas/CancelOrderBody.d.ts +8 -0
- package/dist/schemas/CancelOrderRequest_id.d.ts +2 -0
- package/dist/schemas/ConfirmOrderBody.d.ts +92 -0
- package/dist/schemas/ConfirmOrderPricingBody.d.ts +8 -0
- package/dist/schemas/ConfirmOrderRequest_id.d.ts +2 -0
- package/dist/schemas/CreateOrderBody.d.ts +92 -0
- package/dist/schemas/CreateOrderPricingBody.d.ts +8 -0
- package/dist/schemas/CreateOrderRequest_id.d.ts +2 -0
- package/dist/schemas/ExtendOrderBody.d.ts +8 -0
- package/dist/schemas/ExtendOrderRequest_id.d.ts +2 -0
- package/dist/schemas/GetMappingsQueryParams_optionId.d.ts +2 -0
- package/dist/schemas/GetMappingsQueryParams_productId.d.ts +2 -0
- package/dist/schemas/GetMappingsQueryParams_resellerReference.d.ts +2 -0
- package/dist/schemas/GetMappingsQueryParams_resellerStatus.d.ts +1 -0
- package/dist/schemas/GetMappingsRequest.d.ts +17 -0
- package/dist/schemas/GetOrderRequest_id.d.ts +2 -0
- package/dist/schemas/MappingToUpdate.d.ts +26 -0
- package/dist/schemas/OrderPathParams.d.ts +8 -0
- package/dist/schemas/ProductGoogle.d.ts +4 -4
- package/dist/schemas/UpdateMappingsRequest.d.ts +48 -0
- package/dist/schemas/UpdateOrderBody.d.ts +92 -0
- package/dist/schemas/UpdateOrderPricingBody.d.ts +8 -0
- package/dist/schemas/UpdateOrderRequest_id.d.ts +2 -0
- package/package.json +1 -1
|
@@ -128,7 +128,7 @@ export declare const bookingConfirmationRequestSchema: z.ZodIntersection<z.ZodOb
|
|
|
128
128
|
body: z.ZodObject<{
|
|
129
129
|
emailReceipt: z.ZodOptional<z.ZodBoolean>;
|
|
130
130
|
resellerReference: z.ZodOptional<z.ZodString>;
|
|
131
|
-
unitItems: z.ZodArray<z.ZodObject<{
|
|
131
|
+
unitItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
132
132
|
uuid: z.ZodOptional<z.ZodString>;
|
|
133
133
|
unitId: z.ZodOptional<z.ZodString>;
|
|
134
134
|
unitType: z.ZodOptional<z.ZodString>;
|
|
@@ -146,7 +146,7 @@ export declare const bookingConfirmationRequestSchema: z.ZodIntersection<z.ZodOb
|
|
|
146
146
|
uuid?: string | undefined;
|
|
147
147
|
resellerReference?: string | undefined;
|
|
148
148
|
alias?: string | undefined;
|
|
149
|
-
}>, "many"
|
|
149
|
+
}>, "many">>;
|
|
150
150
|
contact: z.ZodObject<{
|
|
151
151
|
fullName: z.ZodOptional<z.ZodString>;
|
|
152
152
|
firstName: z.ZodOptional<z.ZodString>;
|
|
@@ -195,6 +195,10 @@ export declare const bookingConfirmationRequestSchema: z.ZodIntersection<z.ZodOb
|
|
|
195
195
|
}>;
|
|
196
196
|
notes: z.ZodOptional<z.ZodString>;
|
|
197
197
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
198
|
+
pickupRequested: z.ZodOptional<z.ZodBoolean>;
|
|
199
|
+
pickupPointId: z.ZodOptional<z.ZodString>;
|
|
200
|
+
pickupHotel: z.ZodOptional<z.ZodString>;
|
|
201
|
+
pickupHotelRoom: z.ZodOptional<z.ZodString>;
|
|
198
202
|
}, "strip", z.ZodTypeAny, {
|
|
199
203
|
contact: {
|
|
200
204
|
firstName?: string | undefined;
|
|
@@ -212,17 +216,21 @@ export declare const bookingConfirmationRequestSchema: z.ZodIntersection<z.ZodOb
|
|
|
212
216
|
streetAddress?: string | null | undefined;
|
|
213
217
|
city?: string | null | undefined;
|
|
214
218
|
};
|
|
215
|
-
|
|
219
|
+
notes?: string | undefined;
|
|
220
|
+
resellerReference?: string | undefined;
|
|
221
|
+
unitItems?: {
|
|
216
222
|
unitId?: string | undefined;
|
|
217
223
|
unitType?: string | undefined;
|
|
218
224
|
uuid?: string | undefined;
|
|
219
225
|
resellerReference?: string | undefined;
|
|
220
226
|
alias?: string | undefined;
|
|
221
|
-
}[];
|
|
222
|
-
notes?: string | undefined;
|
|
223
|
-
resellerReference?: string | undefined;
|
|
227
|
+
}[] | undefined;
|
|
224
228
|
emailReceipt?: boolean | undefined;
|
|
229
|
+
pickupRequested?: boolean | undefined;
|
|
230
|
+
pickupHotel?: string | undefined;
|
|
225
231
|
metadata?: Record<string, string> | undefined;
|
|
232
|
+
pickupPointId?: string | undefined;
|
|
233
|
+
pickupHotelRoom?: string | undefined;
|
|
226
234
|
}, {
|
|
227
235
|
contact: {
|
|
228
236
|
firstName?: string | undefined;
|
|
@@ -240,17 +248,21 @@ export declare const bookingConfirmationRequestSchema: z.ZodIntersection<z.ZodOb
|
|
|
240
248
|
streetAddress?: string | null | undefined;
|
|
241
249
|
city?: string | null | undefined;
|
|
242
250
|
};
|
|
243
|
-
|
|
251
|
+
notes?: string | undefined;
|
|
252
|
+
resellerReference?: string | undefined;
|
|
253
|
+
unitItems?: {
|
|
244
254
|
unitId?: string | undefined;
|
|
245
255
|
unitType?: string | undefined;
|
|
246
256
|
uuid?: string | undefined;
|
|
247
257
|
resellerReference?: string | undefined;
|
|
248
258
|
alias?: string | undefined;
|
|
249
|
-
}[];
|
|
250
|
-
notes?: string | undefined;
|
|
251
|
-
resellerReference?: string | undefined;
|
|
259
|
+
}[] | undefined;
|
|
252
260
|
emailReceipt?: boolean | undefined;
|
|
261
|
+
pickupRequested?: boolean | undefined;
|
|
262
|
+
pickupHotel?: string | undefined;
|
|
253
263
|
metadata?: Record<string, string> | undefined;
|
|
264
|
+
pickupPointId?: string | undefined;
|
|
265
|
+
pickupHotelRoom?: string | undefined;
|
|
254
266
|
}>;
|
|
255
267
|
}, "strip", z.ZodTypeAny, {
|
|
256
268
|
body: {
|
|
@@ -270,17 +282,21 @@ export declare const bookingConfirmationRequestSchema: z.ZodIntersection<z.ZodOb
|
|
|
270
282
|
streetAddress?: string | null | undefined;
|
|
271
283
|
city?: string | null | undefined;
|
|
272
284
|
};
|
|
273
|
-
|
|
285
|
+
notes?: string | undefined;
|
|
286
|
+
resellerReference?: string | undefined;
|
|
287
|
+
unitItems?: {
|
|
274
288
|
unitId?: string | undefined;
|
|
275
289
|
unitType?: string | undefined;
|
|
276
290
|
uuid?: string | undefined;
|
|
277
291
|
resellerReference?: string | undefined;
|
|
278
292
|
alias?: string | undefined;
|
|
279
|
-
}[];
|
|
280
|
-
notes?: string | undefined;
|
|
281
|
-
resellerReference?: string | undefined;
|
|
293
|
+
}[] | undefined;
|
|
282
294
|
emailReceipt?: boolean | undefined;
|
|
295
|
+
pickupRequested?: boolean | undefined;
|
|
296
|
+
pickupHotel?: string | undefined;
|
|
283
297
|
metadata?: Record<string, string> | undefined;
|
|
298
|
+
pickupPointId?: string | undefined;
|
|
299
|
+
pickupHotelRoom?: string | undefined;
|
|
284
300
|
};
|
|
285
301
|
}, {
|
|
286
302
|
body: {
|
|
@@ -300,16 +316,20 @@ export declare const bookingConfirmationRequestSchema: z.ZodIntersection<z.ZodOb
|
|
|
300
316
|
streetAddress?: string | null | undefined;
|
|
301
317
|
city?: string | null | undefined;
|
|
302
318
|
};
|
|
303
|
-
|
|
319
|
+
notes?: string | undefined;
|
|
320
|
+
resellerReference?: string | undefined;
|
|
321
|
+
unitItems?: {
|
|
304
322
|
unitId?: string | undefined;
|
|
305
323
|
unitType?: string | undefined;
|
|
306
324
|
uuid?: string | undefined;
|
|
307
325
|
resellerReference?: string | undefined;
|
|
308
326
|
alias?: string | undefined;
|
|
309
|
-
}[];
|
|
310
|
-
notes?: string | undefined;
|
|
311
|
-
resellerReference?: string | undefined;
|
|
327
|
+
}[] | undefined;
|
|
312
328
|
emailReceipt?: boolean | undefined;
|
|
329
|
+
pickupRequested?: boolean | undefined;
|
|
330
|
+
pickupHotel?: string | undefined;
|
|
313
331
|
metadata?: Record<string, string> | undefined;
|
|
332
|
+
pickupPointId?: string | undefined;
|
|
333
|
+
pickupHotelRoom?: string | undefined;
|
|
314
334
|
};
|
|
315
335
|
}>>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const bookingPickupBodySchema: z.ZodObject<{
|
|
3
|
+
pickupRequested: z.ZodOptional<z.ZodBoolean>;
|
|
4
|
+
pickupPointId: z.ZodOptional<z.ZodString>;
|
|
5
|
+
pickupHotel: z.ZodOptional<z.ZodString>;
|
|
6
|
+
pickupHotelRoom: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
pickupRequested?: boolean | undefined;
|
|
9
|
+
pickupHotel?: string | undefined;
|
|
10
|
+
pickupPointId?: string | undefined;
|
|
11
|
+
pickupHotelRoom?: string | undefined;
|
|
12
|
+
}, {
|
|
13
|
+
pickupRequested?: boolean | undefined;
|
|
14
|
+
pickupHotel?: string | undefined;
|
|
15
|
+
pickupPointId?: string | undefined;
|
|
16
|
+
pickupHotelRoom?: string | undefined;
|
|
17
|
+
}>;
|
|
@@ -82,6 +82,10 @@ export declare const bookingReservationBodySchema: z.ZodObject<{
|
|
|
82
82
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
83
83
|
orderId: z.ZodOptional<z.ZodString>;
|
|
84
84
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
85
|
+
pickupRequested: z.ZodOptional<z.ZodBoolean>;
|
|
86
|
+
pickupPointId: z.ZodOptional<z.ZodString>;
|
|
87
|
+
pickupHotel: z.ZodOptional<z.ZodString>;
|
|
88
|
+
pickupHotelRoom: z.ZodOptional<z.ZodString>;
|
|
85
89
|
}, "strip", z.ZodTypeAny, {
|
|
86
90
|
productId: string;
|
|
87
91
|
optionId: string;
|
|
@@ -119,8 +123,12 @@ export declare const bookingReservationBodySchema: z.ZodObject<{
|
|
|
119
123
|
settlementMethod?: import("..").SettlementMethod | undefined;
|
|
120
124
|
quote?: boolean | undefined;
|
|
121
125
|
emailReceipt?: boolean | undefined;
|
|
126
|
+
pickupRequested?: boolean | undefined;
|
|
127
|
+
pickupHotel?: string | undefined;
|
|
122
128
|
orderId?: string | undefined;
|
|
123
129
|
metadata?: Record<string, string> | undefined;
|
|
130
|
+
pickupPointId?: string | undefined;
|
|
131
|
+
pickupHotelRoom?: string | undefined;
|
|
124
132
|
expirationMinutes?: number | undefined;
|
|
125
133
|
redeemed?: boolean | undefined;
|
|
126
134
|
}, {
|
|
@@ -160,8 +168,12 @@ export declare const bookingReservationBodySchema: z.ZodObject<{
|
|
|
160
168
|
settlementMethod?: import("..").SettlementMethod | undefined;
|
|
161
169
|
quote?: boolean | undefined;
|
|
162
170
|
emailReceipt?: boolean | undefined;
|
|
171
|
+
pickupRequested?: boolean | undefined;
|
|
172
|
+
pickupHotel?: string | undefined;
|
|
163
173
|
orderId?: string | undefined;
|
|
164
174
|
metadata?: Record<string, string> | undefined;
|
|
175
|
+
pickupPointId?: string | undefined;
|
|
176
|
+
pickupHotelRoom?: string | undefined;
|
|
165
177
|
expirationMinutes?: number | undefined;
|
|
166
178
|
redeemed?: boolean | undefined;
|
|
167
179
|
}>;
|
|
@@ -83,6 +83,10 @@ export declare const bookingReservationRequestSchema: z.ZodObject<{
|
|
|
83
83
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
84
84
|
orderId: z.ZodOptional<z.ZodString>;
|
|
85
85
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
86
|
+
pickupRequested: z.ZodOptional<z.ZodBoolean>;
|
|
87
|
+
pickupPointId: z.ZodOptional<z.ZodString>;
|
|
88
|
+
pickupHotel: z.ZodOptional<z.ZodString>;
|
|
89
|
+
pickupHotelRoom: z.ZodOptional<z.ZodString>;
|
|
86
90
|
}, "strip", z.ZodTypeAny, {
|
|
87
91
|
productId: string;
|
|
88
92
|
optionId: string;
|
|
@@ -120,8 +124,12 @@ export declare const bookingReservationRequestSchema: z.ZodObject<{
|
|
|
120
124
|
settlementMethod?: import("..").SettlementMethod | undefined;
|
|
121
125
|
quote?: boolean | undefined;
|
|
122
126
|
emailReceipt?: boolean | undefined;
|
|
127
|
+
pickupRequested?: boolean | undefined;
|
|
128
|
+
pickupHotel?: string | undefined;
|
|
123
129
|
orderId?: string | undefined;
|
|
124
130
|
metadata?: Record<string, string> | undefined;
|
|
131
|
+
pickupPointId?: string | undefined;
|
|
132
|
+
pickupHotelRoom?: string | undefined;
|
|
125
133
|
expirationMinutes?: number | undefined;
|
|
126
134
|
redeemed?: boolean | undefined;
|
|
127
135
|
}, {
|
|
@@ -161,8 +169,12 @@ export declare const bookingReservationRequestSchema: z.ZodObject<{
|
|
|
161
169
|
settlementMethod?: import("..").SettlementMethod | undefined;
|
|
162
170
|
quote?: boolean | undefined;
|
|
163
171
|
emailReceipt?: boolean | undefined;
|
|
172
|
+
pickupRequested?: boolean | undefined;
|
|
173
|
+
pickupHotel?: string | undefined;
|
|
164
174
|
orderId?: string | undefined;
|
|
165
175
|
metadata?: Record<string, string> | undefined;
|
|
176
|
+
pickupPointId?: string | undefined;
|
|
177
|
+
pickupHotelRoom?: string | undefined;
|
|
166
178
|
expirationMinutes?: number | undefined;
|
|
167
179
|
redeemed?: boolean | undefined;
|
|
168
180
|
}>;
|
|
@@ -204,8 +216,12 @@ export declare const bookingReservationRequestSchema: z.ZodObject<{
|
|
|
204
216
|
settlementMethod?: import("..").SettlementMethod | undefined;
|
|
205
217
|
quote?: boolean | undefined;
|
|
206
218
|
emailReceipt?: boolean | undefined;
|
|
219
|
+
pickupRequested?: boolean | undefined;
|
|
220
|
+
pickupHotel?: string | undefined;
|
|
207
221
|
orderId?: string | undefined;
|
|
208
222
|
metadata?: Record<string, string> | undefined;
|
|
223
|
+
pickupPointId?: string | undefined;
|
|
224
|
+
pickupHotelRoom?: string | undefined;
|
|
209
225
|
expirationMinutes?: number | undefined;
|
|
210
226
|
redeemed?: boolean | undefined;
|
|
211
227
|
};
|
|
@@ -247,8 +263,12 @@ export declare const bookingReservationRequestSchema: z.ZodObject<{
|
|
|
247
263
|
settlementMethod?: import("..").SettlementMethod | undefined;
|
|
248
264
|
quote?: boolean | undefined;
|
|
249
265
|
emailReceipt?: boolean | undefined;
|
|
266
|
+
pickupRequested?: boolean | undefined;
|
|
267
|
+
pickupHotel?: string | undefined;
|
|
250
268
|
orderId?: string | undefined;
|
|
251
269
|
metadata?: Record<string, string> | undefined;
|
|
270
|
+
pickupPointId?: string | undefined;
|
|
271
|
+
pickupHotelRoom?: string | undefined;
|
|
252
272
|
expirationMinutes?: number | undefined;
|
|
253
273
|
redeemed?: boolean | undefined;
|
|
254
274
|
};
|
|
@@ -80,6 +80,10 @@ export declare const bookingUpdateBodySchema: z.ZodObject<{
|
|
|
80
80
|
uuid: z.ZodOptional<z.ZodString>;
|
|
81
81
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
82
82
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
83
|
+
pickupRequested: z.ZodOptional<z.ZodBoolean>;
|
|
84
|
+
pickupPointId: z.ZodOptional<z.ZodString>;
|
|
85
|
+
pickupHotel: z.ZodOptional<z.ZodString>;
|
|
86
|
+
pickupHotelRoom: z.ZodOptional<z.ZodString>;
|
|
83
87
|
}, "strip", z.ZodTypeAny, {
|
|
84
88
|
notes?: string | undefined;
|
|
85
89
|
tags?: string[] | undefined;
|
|
@@ -116,7 +120,11 @@ export declare const bookingUpdateBodySchema: z.ZodObject<{
|
|
|
116
120
|
settlementMethod?: import("..").SettlementMethod | undefined;
|
|
117
121
|
quote?: boolean | undefined;
|
|
118
122
|
emailReceipt?: boolean | undefined;
|
|
123
|
+
pickupRequested?: boolean | undefined;
|
|
124
|
+
pickupHotel?: string | undefined;
|
|
119
125
|
metadata?: Record<string, string> | undefined;
|
|
126
|
+
pickupPointId?: string | undefined;
|
|
127
|
+
pickupHotelRoom?: string | undefined;
|
|
120
128
|
expirationMinutes?: number | undefined;
|
|
121
129
|
redeemed?: boolean | undefined;
|
|
122
130
|
}, {
|
|
@@ -155,7 +163,11 @@ export declare const bookingUpdateBodySchema: z.ZodObject<{
|
|
|
155
163
|
settlementMethod?: import("..").SettlementMethod | undefined;
|
|
156
164
|
quote?: boolean | undefined;
|
|
157
165
|
emailReceipt?: boolean | undefined;
|
|
166
|
+
pickupRequested?: boolean | undefined;
|
|
167
|
+
pickupHotel?: string | undefined;
|
|
158
168
|
metadata?: Record<string, string> | undefined;
|
|
169
|
+
pickupPointId?: string | undefined;
|
|
170
|
+
pickupHotelRoom?: string | undefined;
|
|
159
171
|
expirationMinutes?: number | undefined;
|
|
160
172
|
redeemed?: boolean | undefined;
|
|
161
173
|
}>;
|
|
@@ -81,6 +81,10 @@ export declare const bookingUpdateRequestSchema: z.ZodObject<{
|
|
|
81
81
|
uuid: z.ZodOptional<z.ZodString>;
|
|
82
82
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
83
83
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
84
|
+
pickupRequested: z.ZodOptional<z.ZodBoolean>;
|
|
85
|
+
pickupPointId: z.ZodOptional<z.ZodString>;
|
|
86
|
+
pickupHotel: z.ZodOptional<z.ZodString>;
|
|
87
|
+
pickupHotelRoom: z.ZodOptional<z.ZodString>;
|
|
84
88
|
}, "strip", z.ZodTypeAny, {
|
|
85
89
|
notes?: string | undefined;
|
|
86
90
|
tags?: string[] | undefined;
|
|
@@ -117,7 +121,11 @@ export declare const bookingUpdateRequestSchema: z.ZodObject<{
|
|
|
117
121
|
settlementMethod?: import("..").SettlementMethod | undefined;
|
|
118
122
|
quote?: boolean | undefined;
|
|
119
123
|
emailReceipt?: boolean | undefined;
|
|
124
|
+
pickupRequested?: boolean | undefined;
|
|
125
|
+
pickupHotel?: string | undefined;
|
|
120
126
|
metadata?: Record<string, string> | undefined;
|
|
127
|
+
pickupPointId?: string | undefined;
|
|
128
|
+
pickupHotelRoom?: string | undefined;
|
|
121
129
|
expirationMinutes?: number | undefined;
|
|
122
130
|
redeemed?: boolean | undefined;
|
|
123
131
|
}, {
|
|
@@ -156,7 +164,11 @@ export declare const bookingUpdateRequestSchema: z.ZodObject<{
|
|
|
156
164
|
settlementMethod?: import("..").SettlementMethod | undefined;
|
|
157
165
|
quote?: boolean | undefined;
|
|
158
166
|
emailReceipt?: boolean | undefined;
|
|
167
|
+
pickupRequested?: boolean | undefined;
|
|
168
|
+
pickupHotel?: string | undefined;
|
|
159
169
|
metadata?: Record<string, string> | undefined;
|
|
170
|
+
pickupPointId?: string | undefined;
|
|
171
|
+
pickupHotelRoom?: string | undefined;
|
|
160
172
|
expirationMinutes?: number | undefined;
|
|
161
173
|
redeemed?: boolean | undefined;
|
|
162
174
|
}>;
|
|
@@ -197,7 +209,11 @@ export declare const bookingUpdateRequestSchema: z.ZodObject<{
|
|
|
197
209
|
settlementMethod?: import("..").SettlementMethod | undefined;
|
|
198
210
|
quote?: boolean | undefined;
|
|
199
211
|
emailReceipt?: boolean | undefined;
|
|
212
|
+
pickupRequested?: boolean | undefined;
|
|
213
|
+
pickupHotel?: string | undefined;
|
|
200
214
|
metadata?: Record<string, string> | undefined;
|
|
215
|
+
pickupPointId?: string | undefined;
|
|
216
|
+
pickupHotelRoom?: string | undefined;
|
|
201
217
|
expirationMinutes?: number | undefined;
|
|
202
218
|
redeemed?: boolean | undefined;
|
|
203
219
|
};
|
|
@@ -238,7 +254,11 @@ export declare const bookingUpdateRequestSchema: z.ZodObject<{
|
|
|
238
254
|
settlementMethod?: import("..").SettlementMethod | undefined;
|
|
239
255
|
quote?: boolean | undefined;
|
|
240
256
|
emailReceipt?: boolean | undefined;
|
|
257
|
+
pickupRequested?: boolean | undefined;
|
|
258
|
+
pickupHotel?: string | undefined;
|
|
241
259
|
metadata?: Record<string, string> | undefined;
|
|
260
|
+
pickupPointId?: string | undefined;
|
|
261
|
+
pickupHotelRoom?: string | undefined;
|
|
242
262
|
expirationMinutes?: number | undefined;
|
|
243
263
|
redeemed?: boolean | undefined;
|
|
244
264
|
};
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const confirmOrderBodySchema: z.ZodObject<{
|
|
3
|
+
expirationMinutes: z.ZodOptional<z.ZodNumber>;
|
|
4
|
+
emailReceipt: z.ZodOptional<z.ZodBoolean>;
|
|
5
|
+
contact: z.ZodOptional<z.ZodObject<{
|
|
6
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
7
|
+
firstName: z.ZodOptional<z.ZodString>;
|
|
8
|
+
lastName: z.ZodOptional<z.ZodString>;
|
|
9
|
+
emailAddress: z.ZodOptional<z.ZodString>;
|
|
10
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
11
|
+
locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12
|
+
postalCode: z.ZodOptional<z.ZodString>;
|
|
13
|
+
country: z.ZodOptional<z.ZodString>;
|
|
14
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
15
|
+
taxId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
16
|
+
streetAddress: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
17
|
+
city: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
18
|
+
state: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
19
|
+
allowMarketing: z.ZodOptional<z.ZodBoolean>;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
firstName?: string | undefined;
|
|
22
|
+
lastName?: string | undefined;
|
|
23
|
+
emailAddress?: string | undefined;
|
|
24
|
+
phoneNumber?: string | undefined;
|
|
25
|
+
country?: string | undefined;
|
|
26
|
+
notes?: string | undefined;
|
|
27
|
+
locales?: string[] | undefined;
|
|
28
|
+
allowMarketing?: boolean | undefined;
|
|
29
|
+
postalCode?: string | undefined;
|
|
30
|
+
state?: string | null | undefined;
|
|
31
|
+
fullName?: string | undefined;
|
|
32
|
+
taxId?: string | null | undefined;
|
|
33
|
+
streetAddress?: string | null | undefined;
|
|
34
|
+
city?: string | null | undefined;
|
|
35
|
+
}, {
|
|
36
|
+
firstName?: string | undefined;
|
|
37
|
+
lastName?: string | undefined;
|
|
38
|
+
emailAddress?: string | undefined;
|
|
39
|
+
phoneNumber?: string | undefined;
|
|
40
|
+
country?: string | undefined;
|
|
41
|
+
notes?: string | undefined;
|
|
42
|
+
locales?: string[] | undefined;
|
|
43
|
+
allowMarketing?: boolean | undefined;
|
|
44
|
+
postalCode?: string | undefined;
|
|
45
|
+
state?: string | null | undefined;
|
|
46
|
+
fullName?: string | undefined;
|
|
47
|
+
taxId?: string | null | undefined;
|
|
48
|
+
streetAddress?: string | null | undefined;
|
|
49
|
+
city?: string | null | undefined;
|
|
50
|
+
}>>;
|
|
51
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
52
|
+
}, "strip", z.ZodTypeAny, {
|
|
53
|
+
currency?: string | undefined;
|
|
54
|
+
contact?: {
|
|
55
|
+
firstName?: string | undefined;
|
|
56
|
+
lastName?: string | undefined;
|
|
57
|
+
emailAddress?: string | undefined;
|
|
58
|
+
phoneNumber?: string | undefined;
|
|
59
|
+
country?: string | undefined;
|
|
60
|
+
notes?: string | undefined;
|
|
61
|
+
locales?: string[] | undefined;
|
|
62
|
+
allowMarketing?: boolean | undefined;
|
|
63
|
+
postalCode?: string | undefined;
|
|
64
|
+
state?: string | null | undefined;
|
|
65
|
+
fullName?: string | undefined;
|
|
66
|
+
taxId?: string | null | undefined;
|
|
67
|
+
streetAddress?: string | null | undefined;
|
|
68
|
+
city?: string | null | undefined;
|
|
69
|
+
} | undefined;
|
|
70
|
+
emailReceipt?: boolean | undefined;
|
|
71
|
+
expirationMinutes?: number | undefined;
|
|
72
|
+
}, {
|
|
73
|
+
currency?: string | undefined;
|
|
74
|
+
contact?: {
|
|
75
|
+
firstName?: string | undefined;
|
|
76
|
+
lastName?: string | undefined;
|
|
77
|
+
emailAddress?: string | undefined;
|
|
78
|
+
phoneNumber?: string | undefined;
|
|
79
|
+
country?: string | undefined;
|
|
80
|
+
notes?: string | undefined;
|
|
81
|
+
locales?: string[] | undefined;
|
|
82
|
+
allowMarketing?: boolean | undefined;
|
|
83
|
+
postalCode?: string | undefined;
|
|
84
|
+
state?: string | null | undefined;
|
|
85
|
+
fullName?: string | undefined;
|
|
86
|
+
taxId?: string | null | undefined;
|
|
87
|
+
streetAddress?: string | null | undefined;
|
|
88
|
+
city?: string | null | undefined;
|
|
89
|
+
} | undefined;
|
|
90
|
+
emailReceipt?: boolean | undefined;
|
|
91
|
+
expirationMinutes?: number | undefined;
|
|
92
|
+
}>;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const createOrderBodySchema: z.ZodObject<{
|
|
3
|
+
expirationMinutes: z.ZodOptional<z.ZodNumber>;
|
|
4
|
+
emailReceipt: z.ZodOptional<z.ZodBoolean>;
|
|
5
|
+
contact: z.ZodOptional<z.ZodObject<{
|
|
6
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
7
|
+
firstName: z.ZodOptional<z.ZodString>;
|
|
8
|
+
lastName: z.ZodOptional<z.ZodString>;
|
|
9
|
+
emailAddress: z.ZodOptional<z.ZodString>;
|
|
10
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
11
|
+
locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12
|
+
postalCode: z.ZodOptional<z.ZodString>;
|
|
13
|
+
country: z.ZodOptional<z.ZodString>;
|
|
14
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
15
|
+
taxId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
16
|
+
streetAddress: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
17
|
+
city: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
18
|
+
state: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
19
|
+
allowMarketing: z.ZodOptional<z.ZodBoolean>;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
firstName?: string | undefined;
|
|
22
|
+
lastName?: string | undefined;
|
|
23
|
+
emailAddress?: string | undefined;
|
|
24
|
+
phoneNumber?: string | undefined;
|
|
25
|
+
country?: string | undefined;
|
|
26
|
+
notes?: string | undefined;
|
|
27
|
+
locales?: string[] | undefined;
|
|
28
|
+
allowMarketing?: boolean | undefined;
|
|
29
|
+
postalCode?: string | undefined;
|
|
30
|
+
state?: string | null | undefined;
|
|
31
|
+
fullName?: string | undefined;
|
|
32
|
+
taxId?: string | null | undefined;
|
|
33
|
+
streetAddress?: string | null | undefined;
|
|
34
|
+
city?: string | null | undefined;
|
|
35
|
+
}, {
|
|
36
|
+
firstName?: string | undefined;
|
|
37
|
+
lastName?: string | undefined;
|
|
38
|
+
emailAddress?: string | undefined;
|
|
39
|
+
phoneNumber?: string | undefined;
|
|
40
|
+
country?: string | undefined;
|
|
41
|
+
notes?: string | undefined;
|
|
42
|
+
locales?: string[] | undefined;
|
|
43
|
+
allowMarketing?: boolean | undefined;
|
|
44
|
+
postalCode?: string | undefined;
|
|
45
|
+
state?: string | null | undefined;
|
|
46
|
+
fullName?: string | undefined;
|
|
47
|
+
taxId?: string | null | undefined;
|
|
48
|
+
streetAddress?: string | null | undefined;
|
|
49
|
+
city?: string | null | undefined;
|
|
50
|
+
}>>;
|
|
51
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
52
|
+
}, "strip", z.ZodTypeAny, {
|
|
53
|
+
currency?: string | undefined;
|
|
54
|
+
contact?: {
|
|
55
|
+
firstName?: string | undefined;
|
|
56
|
+
lastName?: string | undefined;
|
|
57
|
+
emailAddress?: string | undefined;
|
|
58
|
+
phoneNumber?: string | undefined;
|
|
59
|
+
country?: string | undefined;
|
|
60
|
+
notes?: string | undefined;
|
|
61
|
+
locales?: string[] | undefined;
|
|
62
|
+
allowMarketing?: boolean | undefined;
|
|
63
|
+
postalCode?: string | undefined;
|
|
64
|
+
state?: string | null | undefined;
|
|
65
|
+
fullName?: string | undefined;
|
|
66
|
+
taxId?: string | null | undefined;
|
|
67
|
+
streetAddress?: string | null | undefined;
|
|
68
|
+
city?: string | null | undefined;
|
|
69
|
+
} | undefined;
|
|
70
|
+
emailReceipt?: boolean | undefined;
|
|
71
|
+
expirationMinutes?: number | undefined;
|
|
72
|
+
}, {
|
|
73
|
+
currency?: string | undefined;
|
|
74
|
+
contact?: {
|
|
75
|
+
firstName?: string | undefined;
|
|
76
|
+
lastName?: string | undefined;
|
|
77
|
+
emailAddress?: string | undefined;
|
|
78
|
+
phoneNumber?: string | undefined;
|
|
79
|
+
country?: string | undefined;
|
|
80
|
+
notes?: string | undefined;
|
|
81
|
+
locales?: string[] | undefined;
|
|
82
|
+
allowMarketing?: boolean | undefined;
|
|
83
|
+
postalCode?: string | undefined;
|
|
84
|
+
state?: string | null | undefined;
|
|
85
|
+
fullName?: string | undefined;
|
|
86
|
+
taxId?: string | null | undefined;
|
|
87
|
+
streetAddress?: string | null | undefined;
|
|
88
|
+
city?: string | null | undefined;
|
|
89
|
+
} | undefined;
|
|
90
|
+
emailReceipt?: boolean | undefined;
|
|
91
|
+
expirationMinutes?: number | undefined;
|
|
92
|
+
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getMappingsQueryParams_resellerStatusSchema: import("zod").ZodNativeEnum<typeof import("..").ResellerStatus>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const getMappingsRequestSchema: z.ZodObject<{
|
|
3
|
+
productId: z.ZodOptional<z.ZodString>;
|
|
4
|
+
optionId: z.ZodOptional<z.ZodString>;
|
|
5
|
+
resellerReference: z.ZodOptional<z.ZodString>;
|
|
6
|
+
resellerStatus: z.ZodOptional<z.ZodNativeEnum<typeof import("..").ResellerStatus>>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
productId?: string | undefined;
|
|
9
|
+
optionId?: string | undefined;
|
|
10
|
+
resellerReference?: string | undefined;
|
|
11
|
+
resellerStatus?: import("..").ResellerStatus | undefined;
|
|
12
|
+
}, {
|
|
13
|
+
productId?: string | undefined;
|
|
14
|
+
optionId?: string | undefined;
|
|
15
|
+
resellerReference?: string | undefined;
|
|
16
|
+
resellerStatus?: import("..").ResellerStatus | undefined;
|
|
17
|
+
}>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const mappingToUpdateSchema: z.ZodObject<{
|
|
3
|
+
resellerReference: z.ZodString;
|
|
4
|
+
resellerStatus: z.ZodNativeEnum<typeof import("..").ResellerStatus>;
|
|
5
|
+
title: z.ZodString;
|
|
6
|
+
url: z.ZodString;
|
|
7
|
+
webhookUrl: z.ZodNullable<z.ZodString>;
|
|
8
|
+
optionRequired: z.ZodBoolean;
|
|
9
|
+
unitRequired: z.ZodBoolean;
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
|
+
title: string;
|
|
12
|
+
url: string;
|
|
13
|
+
resellerReference: string;
|
|
14
|
+
resellerStatus: import("..").ResellerStatus;
|
|
15
|
+
webhookUrl: string | null;
|
|
16
|
+
optionRequired: boolean;
|
|
17
|
+
unitRequired: boolean;
|
|
18
|
+
}, {
|
|
19
|
+
title: string;
|
|
20
|
+
url: string;
|
|
21
|
+
resellerReference: string;
|
|
22
|
+
resellerStatus: import("..").ResellerStatus;
|
|
23
|
+
webhookUrl: string | null;
|
|
24
|
+
optionRequired: boolean;
|
|
25
|
+
unitRequired: boolean;
|
|
26
|
+
}>;
|