@ventrata/octo-types 0.0.7 → 0.0.9
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/BookingCancellationBody.d.ts +3 -1
- package/dist/models/BookingConfirmationBody.d.ts +19 -1
- package/dist/models/BookingPickupBody.d.ts +18 -0
- package/dist/models/BookingReservationBody.d.ts +17 -0
- package/dist/models/BookingUpdateBody.d.ts +17 -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/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/BookingCancellationBody.d.ts +12 -5
- package/dist/schemas/BookingCancellationRequest.d.ts +12 -2
- package/dist/schemas/BookingConfirmationBody.d.ts +26 -8
- package/dist/schemas/BookingConfirmationRequest.d.ts +44 -14
- package/dist/schemas/BookingPickupBody.d.ts +17 -0
- package/dist/schemas/BookingReservationBody.d.ts +15 -0
- package/dist/schemas/BookingReservationRequest.d.ts +25 -0
- package/dist/schemas/BookingUpdateBody.d.ts +15 -0
- package/dist/schemas/BookingUpdateRequest.d.ts +25 -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/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>;
|
|
@@ -193,6 +193,12 @@ export declare const bookingConfirmationRequestSchema: z.ZodIntersection<z.ZodOb
|
|
|
193
193
|
streetAddress?: string | null | undefined;
|
|
194
194
|
city?: string | null | undefined;
|
|
195
195
|
}>;
|
|
196
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
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>;
|
|
196
202
|
}, "strip", z.ZodTypeAny, {
|
|
197
203
|
contact: {
|
|
198
204
|
firstName?: string | undefined;
|
|
@@ -210,15 +216,21 @@ export declare const bookingConfirmationRequestSchema: z.ZodIntersection<z.ZodOb
|
|
|
210
216
|
streetAddress?: string | null | undefined;
|
|
211
217
|
city?: string | null | undefined;
|
|
212
218
|
};
|
|
213
|
-
|
|
219
|
+
notes?: string | undefined;
|
|
220
|
+
resellerReference?: string | undefined;
|
|
221
|
+
unitItems?: {
|
|
214
222
|
unitId?: string | undefined;
|
|
215
223
|
unitType?: string | undefined;
|
|
216
224
|
uuid?: string | undefined;
|
|
217
225
|
resellerReference?: string | undefined;
|
|
218
226
|
alias?: string | undefined;
|
|
219
|
-
}[];
|
|
220
|
-
resellerReference?: string | undefined;
|
|
227
|
+
}[] | undefined;
|
|
221
228
|
emailReceipt?: boolean | undefined;
|
|
229
|
+
pickupRequested?: boolean | undefined;
|
|
230
|
+
pickupHotel?: string | undefined;
|
|
231
|
+
metadata?: Record<string, string> | undefined;
|
|
232
|
+
pickupPointId?: string | undefined;
|
|
233
|
+
pickupHotelRoom?: string | undefined;
|
|
222
234
|
}, {
|
|
223
235
|
contact: {
|
|
224
236
|
firstName?: string | undefined;
|
|
@@ -236,15 +248,21 @@ export declare const bookingConfirmationRequestSchema: z.ZodIntersection<z.ZodOb
|
|
|
236
248
|
streetAddress?: string | null | undefined;
|
|
237
249
|
city?: string | null | undefined;
|
|
238
250
|
};
|
|
239
|
-
|
|
251
|
+
notes?: string | undefined;
|
|
252
|
+
resellerReference?: string | undefined;
|
|
253
|
+
unitItems?: {
|
|
240
254
|
unitId?: string | undefined;
|
|
241
255
|
unitType?: string | undefined;
|
|
242
256
|
uuid?: string | undefined;
|
|
243
257
|
resellerReference?: string | undefined;
|
|
244
258
|
alias?: string | undefined;
|
|
245
|
-
}[];
|
|
246
|
-
resellerReference?: string | undefined;
|
|
259
|
+
}[] | undefined;
|
|
247
260
|
emailReceipt?: boolean | undefined;
|
|
261
|
+
pickupRequested?: boolean | undefined;
|
|
262
|
+
pickupHotel?: string | undefined;
|
|
263
|
+
metadata?: Record<string, string> | undefined;
|
|
264
|
+
pickupPointId?: string | undefined;
|
|
265
|
+
pickupHotelRoom?: string | undefined;
|
|
248
266
|
}>;
|
|
249
267
|
}, "strip", z.ZodTypeAny, {
|
|
250
268
|
body: {
|
|
@@ -264,15 +282,21 @@ export declare const bookingConfirmationRequestSchema: z.ZodIntersection<z.ZodOb
|
|
|
264
282
|
streetAddress?: string | null | undefined;
|
|
265
283
|
city?: string | null | undefined;
|
|
266
284
|
};
|
|
267
|
-
|
|
285
|
+
notes?: string | undefined;
|
|
286
|
+
resellerReference?: string | undefined;
|
|
287
|
+
unitItems?: {
|
|
268
288
|
unitId?: string | undefined;
|
|
269
289
|
unitType?: string | undefined;
|
|
270
290
|
uuid?: string | undefined;
|
|
271
291
|
resellerReference?: string | undefined;
|
|
272
292
|
alias?: string | undefined;
|
|
273
|
-
}[];
|
|
274
|
-
resellerReference?: string | undefined;
|
|
293
|
+
}[] | undefined;
|
|
275
294
|
emailReceipt?: boolean | undefined;
|
|
295
|
+
pickupRequested?: boolean | undefined;
|
|
296
|
+
pickupHotel?: string | undefined;
|
|
297
|
+
metadata?: Record<string, string> | undefined;
|
|
298
|
+
pickupPointId?: string | undefined;
|
|
299
|
+
pickupHotelRoom?: string | undefined;
|
|
276
300
|
};
|
|
277
301
|
}, {
|
|
278
302
|
body: {
|
|
@@ -292,14 +316,20 @@ export declare const bookingConfirmationRequestSchema: z.ZodIntersection<z.ZodOb
|
|
|
292
316
|
streetAddress?: string | null | undefined;
|
|
293
317
|
city?: string | null | undefined;
|
|
294
318
|
};
|
|
295
|
-
|
|
319
|
+
notes?: string | undefined;
|
|
320
|
+
resellerReference?: string | undefined;
|
|
321
|
+
unitItems?: {
|
|
296
322
|
unitId?: string | undefined;
|
|
297
323
|
unitType?: string | undefined;
|
|
298
324
|
uuid?: string | undefined;
|
|
299
325
|
resellerReference?: string | undefined;
|
|
300
326
|
alias?: string | undefined;
|
|
301
|
-
}[];
|
|
302
|
-
resellerReference?: string | undefined;
|
|
327
|
+
}[] | undefined;
|
|
303
328
|
emailReceipt?: boolean | undefined;
|
|
329
|
+
pickupRequested?: boolean | undefined;
|
|
330
|
+
pickupHotel?: string | undefined;
|
|
331
|
+
metadata?: Record<string, string> | undefined;
|
|
332
|
+
pickupPointId?: string | undefined;
|
|
333
|
+
pickupHotelRoom?: string | undefined;
|
|
304
334
|
};
|
|
305
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
|
+
}>;
|
|
@@ -81,6 +81,11 @@ export declare const bookingReservationBodySchema: z.ZodObject<{
|
|
|
81
81
|
uuid: z.ZodOptional<z.ZodString>;
|
|
82
82
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
83
83
|
orderId: z.ZodOptional<z.ZodString>;
|
|
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>;
|
|
84
89
|
}, "strip", z.ZodTypeAny, {
|
|
85
90
|
productId: string;
|
|
86
91
|
optionId: string;
|
|
@@ -118,7 +123,12 @@ export declare const bookingReservationBodySchema: z.ZodObject<{
|
|
|
118
123
|
settlementMethod?: import("..").SettlementMethod | undefined;
|
|
119
124
|
quote?: boolean | undefined;
|
|
120
125
|
emailReceipt?: boolean | undefined;
|
|
126
|
+
pickupRequested?: boolean | undefined;
|
|
127
|
+
pickupHotel?: string | undefined;
|
|
121
128
|
orderId?: string | undefined;
|
|
129
|
+
metadata?: Record<string, string> | undefined;
|
|
130
|
+
pickupPointId?: string | undefined;
|
|
131
|
+
pickupHotelRoom?: string | undefined;
|
|
122
132
|
expirationMinutes?: number | undefined;
|
|
123
133
|
redeemed?: boolean | undefined;
|
|
124
134
|
}, {
|
|
@@ -158,7 +168,12 @@ export declare const bookingReservationBodySchema: z.ZodObject<{
|
|
|
158
168
|
settlementMethod?: import("..").SettlementMethod | undefined;
|
|
159
169
|
quote?: boolean | undefined;
|
|
160
170
|
emailReceipt?: boolean | undefined;
|
|
171
|
+
pickupRequested?: boolean | undefined;
|
|
172
|
+
pickupHotel?: string | undefined;
|
|
161
173
|
orderId?: string | undefined;
|
|
174
|
+
metadata?: Record<string, string> | undefined;
|
|
175
|
+
pickupPointId?: string | undefined;
|
|
176
|
+
pickupHotelRoom?: string | undefined;
|
|
162
177
|
expirationMinutes?: number | undefined;
|
|
163
178
|
redeemed?: boolean | undefined;
|
|
164
179
|
}>;
|
|
@@ -82,6 +82,11 @@ export declare const bookingReservationRequestSchema: z.ZodObject<{
|
|
|
82
82
|
uuid: z.ZodOptional<z.ZodString>;
|
|
83
83
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
84
84
|
orderId: z.ZodOptional<z.ZodString>;
|
|
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>;
|
|
85
90
|
}, "strip", z.ZodTypeAny, {
|
|
86
91
|
productId: string;
|
|
87
92
|
optionId: string;
|
|
@@ -119,7 +124,12 @@ export declare const bookingReservationRequestSchema: z.ZodObject<{
|
|
|
119
124
|
settlementMethod?: import("..").SettlementMethod | undefined;
|
|
120
125
|
quote?: boolean | undefined;
|
|
121
126
|
emailReceipt?: boolean | undefined;
|
|
127
|
+
pickupRequested?: boolean | undefined;
|
|
128
|
+
pickupHotel?: string | undefined;
|
|
122
129
|
orderId?: string | undefined;
|
|
130
|
+
metadata?: Record<string, string> | undefined;
|
|
131
|
+
pickupPointId?: string | undefined;
|
|
132
|
+
pickupHotelRoom?: string | undefined;
|
|
123
133
|
expirationMinutes?: number | undefined;
|
|
124
134
|
redeemed?: boolean | undefined;
|
|
125
135
|
}, {
|
|
@@ -159,7 +169,12 @@ export declare const bookingReservationRequestSchema: z.ZodObject<{
|
|
|
159
169
|
settlementMethod?: import("..").SettlementMethod | undefined;
|
|
160
170
|
quote?: boolean | undefined;
|
|
161
171
|
emailReceipt?: boolean | undefined;
|
|
172
|
+
pickupRequested?: boolean | undefined;
|
|
173
|
+
pickupHotel?: string | undefined;
|
|
162
174
|
orderId?: string | undefined;
|
|
175
|
+
metadata?: Record<string, string> | undefined;
|
|
176
|
+
pickupPointId?: string | undefined;
|
|
177
|
+
pickupHotelRoom?: string | undefined;
|
|
163
178
|
expirationMinutes?: number | undefined;
|
|
164
179
|
redeemed?: boolean | undefined;
|
|
165
180
|
}>;
|
|
@@ -201,7 +216,12 @@ export declare const bookingReservationRequestSchema: z.ZodObject<{
|
|
|
201
216
|
settlementMethod?: import("..").SettlementMethod | undefined;
|
|
202
217
|
quote?: boolean | undefined;
|
|
203
218
|
emailReceipt?: boolean | undefined;
|
|
219
|
+
pickupRequested?: boolean | undefined;
|
|
220
|
+
pickupHotel?: string | undefined;
|
|
204
221
|
orderId?: string | undefined;
|
|
222
|
+
metadata?: Record<string, string> | undefined;
|
|
223
|
+
pickupPointId?: string | undefined;
|
|
224
|
+
pickupHotelRoom?: string | undefined;
|
|
205
225
|
expirationMinutes?: number | undefined;
|
|
206
226
|
redeemed?: boolean | undefined;
|
|
207
227
|
};
|
|
@@ -243,7 +263,12 @@ export declare const bookingReservationRequestSchema: z.ZodObject<{
|
|
|
243
263
|
settlementMethod?: import("..").SettlementMethod | undefined;
|
|
244
264
|
quote?: boolean | undefined;
|
|
245
265
|
emailReceipt?: boolean | undefined;
|
|
266
|
+
pickupRequested?: boolean | undefined;
|
|
267
|
+
pickupHotel?: string | undefined;
|
|
246
268
|
orderId?: string | undefined;
|
|
269
|
+
metadata?: Record<string, string> | undefined;
|
|
270
|
+
pickupPointId?: string | undefined;
|
|
271
|
+
pickupHotelRoom?: string | undefined;
|
|
247
272
|
expirationMinutes?: number | undefined;
|
|
248
273
|
redeemed?: boolean | undefined;
|
|
249
274
|
};
|
|
@@ -79,6 +79,11 @@ export declare const bookingUpdateBodySchema: z.ZodObject<{
|
|
|
79
79
|
redeemed: z.ZodOptional<z.ZodBoolean>;
|
|
80
80
|
uuid: z.ZodOptional<z.ZodString>;
|
|
81
81
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
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>;
|
|
82
87
|
}, "strip", z.ZodTypeAny, {
|
|
83
88
|
notes?: string | undefined;
|
|
84
89
|
tags?: string[] | undefined;
|
|
@@ -115,6 +120,11 @@ export declare const bookingUpdateBodySchema: z.ZodObject<{
|
|
|
115
120
|
settlementMethod?: import("..").SettlementMethod | undefined;
|
|
116
121
|
quote?: boolean | undefined;
|
|
117
122
|
emailReceipt?: boolean | undefined;
|
|
123
|
+
pickupRequested?: boolean | undefined;
|
|
124
|
+
pickupHotel?: string | undefined;
|
|
125
|
+
metadata?: Record<string, string> | undefined;
|
|
126
|
+
pickupPointId?: string | undefined;
|
|
127
|
+
pickupHotelRoom?: string | undefined;
|
|
118
128
|
expirationMinutes?: number | undefined;
|
|
119
129
|
redeemed?: boolean | undefined;
|
|
120
130
|
}, {
|
|
@@ -153,6 +163,11 @@ export declare const bookingUpdateBodySchema: z.ZodObject<{
|
|
|
153
163
|
settlementMethod?: import("..").SettlementMethod | undefined;
|
|
154
164
|
quote?: boolean | undefined;
|
|
155
165
|
emailReceipt?: boolean | undefined;
|
|
166
|
+
pickupRequested?: boolean | undefined;
|
|
167
|
+
pickupHotel?: string | undefined;
|
|
168
|
+
metadata?: Record<string, string> | undefined;
|
|
169
|
+
pickupPointId?: string | undefined;
|
|
170
|
+
pickupHotelRoom?: string | undefined;
|
|
156
171
|
expirationMinutes?: number | undefined;
|
|
157
172
|
redeemed?: boolean | undefined;
|
|
158
173
|
}>;
|
|
@@ -80,6 +80,11 @@ export declare const bookingUpdateRequestSchema: z.ZodObject<{
|
|
|
80
80
|
redeemed: z.ZodOptional<z.ZodBoolean>;
|
|
81
81
|
uuid: z.ZodOptional<z.ZodString>;
|
|
82
82
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
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>;
|
|
83
88
|
}, "strip", z.ZodTypeAny, {
|
|
84
89
|
notes?: string | undefined;
|
|
85
90
|
tags?: string[] | undefined;
|
|
@@ -116,6 +121,11 @@ export declare const bookingUpdateRequestSchema: z.ZodObject<{
|
|
|
116
121
|
settlementMethod?: import("..").SettlementMethod | undefined;
|
|
117
122
|
quote?: boolean | undefined;
|
|
118
123
|
emailReceipt?: boolean | undefined;
|
|
124
|
+
pickupRequested?: boolean | undefined;
|
|
125
|
+
pickupHotel?: string | undefined;
|
|
126
|
+
metadata?: Record<string, string> | undefined;
|
|
127
|
+
pickupPointId?: string | undefined;
|
|
128
|
+
pickupHotelRoom?: string | undefined;
|
|
119
129
|
expirationMinutes?: number | undefined;
|
|
120
130
|
redeemed?: boolean | undefined;
|
|
121
131
|
}, {
|
|
@@ -154,6 +164,11 @@ export declare const bookingUpdateRequestSchema: z.ZodObject<{
|
|
|
154
164
|
settlementMethod?: import("..").SettlementMethod | undefined;
|
|
155
165
|
quote?: boolean | undefined;
|
|
156
166
|
emailReceipt?: boolean | undefined;
|
|
167
|
+
pickupRequested?: boolean | undefined;
|
|
168
|
+
pickupHotel?: string | undefined;
|
|
169
|
+
metadata?: Record<string, string> | undefined;
|
|
170
|
+
pickupPointId?: string | undefined;
|
|
171
|
+
pickupHotelRoom?: string | undefined;
|
|
157
172
|
expirationMinutes?: number | undefined;
|
|
158
173
|
redeemed?: boolean | undefined;
|
|
159
174
|
}>;
|
|
@@ -194,6 +209,11 @@ export declare const bookingUpdateRequestSchema: z.ZodObject<{
|
|
|
194
209
|
settlementMethod?: import("..").SettlementMethod | undefined;
|
|
195
210
|
quote?: boolean | undefined;
|
|
196
211
|
emailReceipt?: boolean | undefined;
|
|
212
|
+
pickupRequested?: boolean | undefined;
|
|
213
|
+
pickupHotel?: string | undefined;
|
|
214
|
+
metadata?: Record<string, string> | undefined;
|
|
215
|
+
pickupPointId?: string | undefined;
|
|
216
|
+
pickupHotelRoom?: string | undefined;
|
|
197
217
|
expirationMinutes?: number | undefined;
|
|
198
218
|
redeemed?: boolean | undefined;
|
|
199
219
|
};
|
|
@@ -234,6 +254,11 @@ export declare const bookingUpdateRequestSchema: z.ZodObject<{
|
|
|
234
254
|
settlementMethod?: import("..").SettlementMethod | undefined;
|
|
235
255
|
quote?: boolean | undefined;
|
|
236
256
|
emailReceipt?: boolean | undefined;
|
|
257
|
+
pickupRequested?: boolean | undefined;
|
|
258
|
+
pickupHotel?: string | undefined;
|
|
259
|
+
metadata?: Record<string, string> | undefined;
|
|
260
|
+
pickupPointId?: string | undefined;
|
|
261
|
+
pickupHotelRoom?: string | undefined;
|
|
237
262
|
expirationMinutes?: number | undefined;
|
|
238
263
|
redeemed?: boolean | undefined;
|
|
239
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
|
+
}>;
|