@deliverart/sdk-js-order 2.12.0 → 2.12.1
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 +11 -8
- package/dist/index.cjs +41 -14
- package/dist/index.d.cts +925 -242
- package/dist/index.d.ts +925 -242
- package/dist/index.js +38 -14
- package/package.json +9 -9
package/dist/index.d.cts
CHANGED
|
@@ -328,6 +328,118 @@ declare const deliveryOrderSchema: z.ZodObject<{
|
|
|
328
328
|
collectedAt: z.ZodNull;
|
|
329
329
|
}, z.core.$strip>;
|
|
330
330
|
type DeliveryOrder = z.infer<typeof deliveryOrderSchema>;
|
|
331
|
+
declare const collectionOrderSchema: z.ZodObject<{
|
|
332
|
+
id: z.ZodString;
|
|
333
|
+
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
334
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
335
|
+
stripe: "stripe";
|
|
336
|
+
bank_transfer: "bank_transfer";
|
|
337
|
+
cash: "cash";
|
|
338
|
+
credit_card: "credit_card";
|
|
339
|
+
}>>;
|
|
340
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
341
|
+
pending: "pending";
|
|
342
|
+
pending_verification: "pending_verification";
|
|
343
|
+
paid: "paid";
|
|
344
|
+
canceled: "canceled";
|
|
345
|
+
refunded: "refunded";
|
|
346
|
+
failed: "failed";
|
|
347
|
+
}>>;
|
|
348
|
+
source: z.ZodEnum<{
|
|
349
|
+
application: "application";
|
|
350
|
+
ecommerce: "ecommerce";
|
|
351
|
+
partner: "partner";
|
|
352
|
+
}>;
|
|
353
|
+
partner: z.ZodNullable<z.ZodEnum<{
|
|
354
|
+
deliveroo: "deliveroo";
|
|
355
|
+
justeat: "justeat";
|
|
356
|
+
glovo: "glovo";
|
|
357
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
358
|
+
}>>;
|
|
359
|
+
partnerIdentifier: z.ZodNullable<z.ZodString>;
|
|
360
|
+
sequenceId: z.ZodNullable<z.ZodString>;
|
|
361
|
+
displayId: z.ZodNullable<z.ZodString>;
|
|
362
|
+
customerInfo: z.ZodObject<{
|
|
363
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
364
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
365
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
366
|
+
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
367
|
+
contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
368
|
+
contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
369
|
+
}, z.core.$strict>;
|
|
370
|
+
billingInfo: z.ZodNullable<z.ZodObject<{
|
|
371
|
+
businessName: z.ZodString;
|
|
372
|
+
vat: z.ZodString;
|
|
373
|
+
taxCode: z.ZodString;
|
|
374
|
+
billingAddress: z.ZodObject<{
|
|
375
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
376
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
377
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
378
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
379
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
380
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
381
|
+
}, z.core.$strip>;
|
|
382
|
+
billingData: z.ZodObject<{
|
|
383
|
+
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
384
|
+
pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
|
|
385
|
+
}, z.core.$strip>;
|
|
386
|
+
}, z.core.$strip>>;
|
|
387
|
+
status: z.ZodEnum<{
|
|
388
|
+
pending: "pending";
|
|
389
|
+
confirmed: "confirmed";
|
|
390
|
+
rejected: "rejected";
|
|
391
|
+
}>;
|
|
392
|
+
preparationStatus: z.ZodEnum<{
|
|
393
|
+
to_prepare: "to_prepare";
|
|
394
|
+
in_preparation: "in_preparation";
|
|
395
|
+
done: "done";
|
|
396
|
+
}>;
|
|
397
|
+
preparationTime: z.ZodNullable<z.ZodString>;
|
|
398
|
+
preparationStartedAt: z.ZodNullable<z.ZodString>;
|
|
399
|
+
preparationEndedAt: z.ZodNullable<z.ZodString>;
|
|
400
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
401
|
+
amount: z.ZodString;
|
|
402
|
+
netAmount: z.ZodString;
|
|
403
|
+
taxAmount: z.ZodString;
|
|
404
|
+
discount: z.ZodString;
|
|
405
|
+
feeAmount: z.ZodString;
|
|
406
|
+
feeNetAmount: z.ZodString;
|
|
407
|
+
feeTaxAmount: z.ZodString;
|
|
408
|
+
totalAmount: z.ZodString;
|
|
409
|
+
totalNetAmount: z.ZodString;
|
|
410
|
+
totalTaxAmount: z.ZodString;
|
|
411
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
412
|
+
deliveryNotes: z.ZodNullable<z.ZodString>;
|
|
413
|
+
kitchenNotes: z.ZodNullable<z.ZodString>;
|
|
414
|
+
maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
|
|
415
|
+
acceptedAt: z.ZodNullable<z.ZodString>;
|
|
416
|
+
scheduledWindowStart: z.ZodNullable<z.ZodString>;
|
|
417
|
+
scheduledWindowEnd: z.ZodNullable<z.ZodString>;
|
|
418
|
+
estimatedRouteDurationSeconds: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
419
|
+
estimatedRouteDistanceMeters: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
420
|
+
stopSequence: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
421
|
+
schedulingVersion: z.ZodNullable<z.ZodString>;
|
|
422
|
+
planningMode: z.ZodEnum<{
|
|
423
|
+
PLANNED: "PLANNED";
|
|
424
|
+
FORCED: "FORCED";
|
|
425
|
+
}>;
|
|
426
|
+
isRead: z.ZodBoolean;
|
|
427
|
+
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
428
|
+
createdAt: z.ZodString;
|
|
429
|
+
updatedAt: z.ZodString;
|
|
430
|
+
type: z.ZodLiteral<"collection">;
|
|
431
|
+
address: z.ZodNull;
|
|
432
|
+
location: z.ZodNull;
|
|
433
|
+
requestedDeliveryTime: z.ZodNull;
|
|
434
|
+
finalDeliveryTime: z.ZodNull;
|
|
435
|
+
deliveryStartedAt: z.ZodNull;
|
|
436
|
+
deliveredAt: z.ZodNull;
|
|
437
|
+
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
438
|
+
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
439
|
+
collectedAt: z.ZodNullable<z.ZodString>;
|
|
440
|
+
}, z.core.$strip>;
|
|
441
|
+
type CollectionOrder = z.infer<typeof collectionOrderSchema>;
|
|
442
|
+
/** @deprecated Use `collectionOrderSchema` / `CollectionOrder`. */
|
|
331
443
|
declare const takeAwayOrderSchema: z.ZodObject<{
|
|
332
444
|
id: z.ZodString;
|
|
333
445
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
@@ -427,7 +539,7 @@ declare const takeAwayOrderSchema: z.ZodObject<{
|
|
|
427
539
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
428
540
|
createdAt: z.ZodString;
|
|
429
541
|
updatedAt: z.ZodString;
|
|
430
|
-
type: z.ZodLiteral<"
|
|
542
|
+
type: z.ZodLiteral<"collection">;
|
|
431
543
|
address: z.ZodNull;
|
|
432
544
|
location: z.ZodNull;
|
|
433
545
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -438,7 +550,8 @@ declare const takeAwayOrderSchema: z.ZodObject<{
|
|
|
438
550
|
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
439
551
|
collectedAt: z.ZodNullable<z.ZodString>;
|
|
440
552
|
}, z.core.$strip>;
|
|
441
|
-
|
|
553
|
+
/** @deprecated Use `CollectionOrder`. */
|
|
554
|
+
type TakeAwayOrder = CollectionOrder;
|
|
442
555
|
declare const kitchenOrderSchema: z.ZodObject<{
|
|
443
556
|
id: z.ZodString;
|
|
444
557
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
@@ -550,7 +663,7 @@ declare const kitchenOrderSchema: z.ZodObject<{
|
|
|
550
663
|
collectedAt: z.ZodNull;
|
|
551
664
|
}, z.core.$strip>;
|
|
552
665
|
type KitchenOrder = z.infer<typeof kitchenOrderSchema>;
|
|
553
|
-
declare const orderSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
666
|
+
declare const orderSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
554
667
|
id: z.ZodString;
|
|
555
668
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
556
669
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -768,7 +881,7 @@ declare const orderSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
768
881
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
769
882
|
createdAt: z.ZodString;
|
|
770
883
|
updatedAt: z.ZodString;
|
|
771
|
-
type: z.ZodLiteral<"
|
|
884
|
+
type: z.ZodLiteral<"collection">;
|
|
772
885
|
address: z.ZodNull;
|
|
773
886
|
location: z.ZodNull;
|
|
774
887
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -887,7 +1000,7 @@ declare const orderSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
887
1000
|
requestedCollectionTime: z.ZodNull;
|
|
888
1001
|
finalCollectionTime: z.ZodNull;
|
|
889
1002
|
collectedAt: z.ZodNull;
|
|
890
|
-
}, z.core.$strip>], "type"
|
|
1003
|
+
}, z.core.$strip>], "type">>;
|
|
891
1004
|
type Order = z.infer<typeof orderSchema>;
|
|
892
1005
|
declare const deliveryOrderDetailsSchema: z.ZodObject<{
|
|
893
1006
|
id: z.ZodString;
|
|
@@ -1085,6 +1198,193 @@ declare const deliveryOrderDetailsSchema: z.ZodObject<{
|
|
|
1085
1198
|
}, z.core.$strip>>;
|
|
1086
1199
|
}, z.core.$strip>;
|
|
1087
1200
|
type DeliveryOrderDetails = z.infer<typeof deliveryOrderDetailsSchema>;
|
|
1201
|
+
declare const collectionOrderDetailsSchema: z.ZodObject<{
|
|
1202
|
+
id: z.ZodString;
|
|
1203
|
+
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
1204
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
1205
|
+
stripe: "stripe";
|
|
1206
|
+
bank_transfer: "bank_transfer";
|
|
1207
|
+
cash: "cash";
|
|
1208
|
+
credit_card: "credit_card";
|
|
1209
|
+
}>>;
|
|
1210
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
1211
|
+
pending: "pending";
|
|
1212
|
+
pending_verification: "pending_verification";
|
|
1213
|
+
paid: "paid";
|
|
1214
|
+
canceled: "canceled";
|
|
1215
|
+
refunded: "refunded";
|
|
1216
|
+
failed: "failed";
|
|
1217
|
+
}>>;
|
|
1218
|
+
source: z.ZodEnum<{
|
|
1219
|
+
application: "application";
|
|
1220
|
+
ecommerce: "ecommerce";
|
|
1221
|
+
partner: "partner";
|
|
1222
|
+
}>;
|
|
1223
|
+
partner: z.ZodNullable<z.ZodEnum<{
|
|
1224
|
+
deliveroo: "deliveroo";
|
|
1225
|
+
justeat: "justeat";
|
|
1226
|
+
glovo: "glovo";
|
|
1227
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
1228
|
+
}>>;
|
|
1229
|
+
partnerIdentifier: z.ZodNullable<z.ZodString>;
|
|
1230
|
+
sequenceId: z.ZodNullable<z.ZodString>;
|
|
1231
|
+
displayId: z.ZodNullable<z.ZodString>;
|
|
1232
|
+
customerInfo: z.ZodObject<{
|
|
1233
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1234
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1235
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
1236
|
+
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
1237
|
+
contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1238
|
+
contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1239
|
+
}, z.core.$strict>;
|
|
1240
|
+
billingInfo: z.ZodNullable<z.ZodObject<{
|
|
1241
|
+
businessName: z.ZodString;
|
|
1242
|
+
vat: z.ZodString;
|
|
1243
|
+
taxCode: z.ZodString;
|
|
1244
|
+
billingAddress: z.ZodObject<{
|
|
1245
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1246
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1247
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1248
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1249
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1250
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1251
|
+
}, z.core.$strip>;
|
|
1252
|
+
billingData: z.ZodObject<{
|
|
1253
|
+
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1254
|
+
pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
|
|
1255
|
+
}, z.core.$strip>;
|
|
1256
|
+
}, z.core.$strip>>;
|
|
1257
|
+
status: z.ZodEnum<{
|
|
1258
|
+
pending: "pending";
|
|
1259
|
+
confirmed: "confirmed";
|
|
1260
|
+
rejected: "rejected";
|
|
1261
|
+
}>;
|
|
1262
|
+
preparationStatus: z.ZodEnum<{
|
|
1263
|
+
to_prepare: "to_prepare";
|
|
1264
|
+
in_preparation: "in_preparation";
|
|
1265
|
+
done: "done";
|
|
1266
|
+
}>;
|
|
1267
|
+
preparationTime: z.ZodNullable<z.ZodString>;
|
|
1268
|
+
preparationStartedAt: z.ZodNullable<z.ZodString>;
|
|
1269
|
+
preparationEndedAt: z.ZodNullable<z.ZodString>;
|
|
1270
|
+
totalCountableItems: z.ZodCoercedNumber<unknown>;
|
|
1271
|
+
amount: z.ZodString;
|
|
1272
|
+
netAmount: z.ZodString;
|
|
1273
|
+
taxAmount: z.ZodString;
|
|
1274
|
+
discount: z.ZodString;
|
|
1275
|
+
feeAmount: z.ZodString;
|
|
1276
|
+
feeNetAmount: z.ZodString;
|
|
1277
|
+
feeTaxAmount: z.ZodString;
|
|
1278
|
+
totalAmount: z.ZodString;
|
|
1279
|
+
totalNetAmount: z.ZodString;
|
|
1280
|
+
totalTaxAmount: z.ZodString;
|
|
1281
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
1282
|
+
deliveryNotes: z.ZodNullable<z.ZodString>;
|
|
1283
|
+
kitchenNotes: z.ZodNullable<z.ZodString>;
|
|
1284
|
+
maximumAcceptanceDate: z.ZodNullable<z.ZodString>;
|
|
1285
|
+
acceptedAt: z.ZodNullable<z.ZodString>;
|
|
1286
|
+
scheduledWindowStart: z.ZodNullable<z.ZodString>;
|
|
1287
|
+
scheduledWindowEnd: z.ZodNullable<z.ZodString>;
|
|
1288
|
+
estimatedRouteDurationSeconds: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1289
|
+
estimatedRouteDistanceMeters: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1290
|
+
stopSequence: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1291
|
+
schedulingVersion: z.ZodNullable<z.ZodString>;
|
|
1292
|
+
planningMode: z.ZodEnum<{
|
|
1293
|
+
PLANNED: "PLANNED";
|
|
1294
|
+
FORCED: "FORCED";
|
|
1295
|
+
}>;
|
|
1296
|
+
isRead: z.ZodBoolean;
|
|
1297
|
+
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
1298
|
+
createdAt: z.ZodString;
|
|
1299
|
+
updatedAt: z.ZodString;
|
|
1300
|
+
type: z.ZodLiteral<"collection">;
|
|
1301
|
+
address: z.ZodNull;
|
|
1302
|
+
location: z.ZodNull;
|
|
1303
|
+
requestedDeliveryTime: z.ZodNull;
|
|
1304
|
+
finalDeliveryTime: z.ZodNull;
|
|
1305
|
+
deliveryStartedAt: z.ZodNull;
|
|
1306
|
+
deliveredAt: z.ZodNull;
|
|
1307
|
+
requestedCollectionTime: z.ZodNullable<z.ZodString>;
|
|
1308
|
+
finalCollectionTime: z.ZodNullable<z.ZodString>;
|
|
1309
|
+
collectedAt: z.ZodNullable<z.ZodString>;
|
|
1310
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
1311
|
+
customer: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/customers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/customers/:id"> | null, unknown>>;
|
|
1312
|
+
bundle: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/bundles/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/bundles/:id"> | null, unknown>>;
|
|
1313
|
+
deliveredBy: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/users/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/users/:id"> | null, unknown>>;
|
|
1314
|
+
fees: z.ZodArray<z.ZodObject<{
|
|
1315
|
+
key: z.ZodString;
|
|
1316
|
+
amount: z.ZodString;
|
|
1317
|
+
netAmount: z.ZodString;
|
|
1318
|
+
taxAmount: z.ZodString;
|
|
1319
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
1320
|
+
}, z.core.$strip>>;
|
|
1321
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1322
|
+
id: z.ZodString;
|
|
1323
|
+
type: z.ZodEnum<{
|
|
1324
|
+
ITEM: "ITEM";
|
|
1325
|
+
CHOICE: "CHOICE";
|
|
1326
|
+
BUNDLE: "BUNDLE";
|
|
1327
|
+
}>;
|
|
1328
|
+
action: z.ZodEnum<{
|
|
1329
|
+
add: "add";
|
|
1330
|
+
remove: "remove";
|
|
1331
|
+
}>;
|
|
1332
|
+
name: z.ZodArray<z.ZodObject<{
|
|
1333
|
+
locale: z.ZodString;
|
|
1334
|
+
text: z.ZodString;
|
|
1335
|
+
}, z.core.$strip>>;
|
|
1336
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1337
|
+
locale: z.ZodString;
|
|
1338
|
+
text: z.ZodString;
|
|
1339
|
+
}, z.core.$strip>>;
|
|
1340
|
+
variantName: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1341
|
+
locale: z.ZodString;
|
|
1342
|
+
text: z.ZodString;
|
|
1343
|
+
}, z.core.$strip>>>;
|
|
1344
|
+
countable: z.ZodBoolean;
|
|
1345
|
+
quantity: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1346
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
1347
|
+
unitPrice: z.ZodString;
|
|
1348
|
+
unitNetPrice: z.ZodString;
|
|
1349
|
+
unitTaxAmount: z.ZodString;
|
|
1350
|
+
unitTaxRate: z.ZodCoercedNumber<unknown>;
|
|
1351
|
+
unitDiscount: z.ZodString;
|
|
1352
|
+
finalUnitPrice: z.ZodString;
|
|
1353
|
+
finalUnitNetPrice: z.ZodString;
|
|
1354
|
+
finalUnitTaxAmount: z.ZodString;
|
|
1355
|
+
amount: z.ZodString;
|
|
1356
|
+
netAmount: z.ZodString;
|
|
1357
|
+
taxAmount: z.ZodString;
|
|
1358
|
+
discount: z.ZodString;
|
|
1359
|
+
totalAmount: z.ZodString;
|
|
1360
|
+
totalNetAmount: z.ZodString;
|
|
1361
|
+
totalTaxAmount: z.ZodString;
|
|
1362
|
+
createdAt: z.ZodString;
|
|
1363
|
+
updatedAt: z.ZodString;
|
|
1364
|
+
removals: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
1365
|
+
modifiers: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/modifiers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/modifiers/:id">, unknown>>>;
|
|
1366
|
+
mainLevel: z.ZodBoolean;
|
|
1367
|
+
}, z.core.$strip>>;
|
|
1368
|
+
modifiers: z.ZodArray<z.ZodObject<{
|
|
1369
|
+
id: z.ZodString;
|
|
1370
|
+
name: z.ZodArray<z.ZodObject<{
|
|
1371
|
+
locale: z.ZodString;
|
|
1372
|
+
text: z.ZodString;
|
|
1373
|
+
}, z.core.$strip>>;
|
|
1374
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1375
|
+
locale: z.ZodString;
|
|
1376
|
+
text: z.ZodString;
|
|
1377
|
+
}, z.core.$strip>>;
|
|
1378
|
+
amount: z.ZodString;
|
|
1379
|
+
netAmount: z.ZodString;
|
|
1380
|
+
taxAmount: z.ZodString;
|
|
1381
|
+
createdAt: z.ZodString;
|
|
1382
|
+
updatedAt: z.ZodString;
|
|
1383
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
1384
|
+
}, z.core.$strip>>;
|
|
1385
|
+
}, z.core.$strip>;
|
|
1386
|
+
type CollectionOrderDetails = z.infer<typeof collectionOrderDetailsSchema>;
|
|
1387
|
+
/** @deprecated Use `collectionOrderDetailsSchema` / `CollectionOrderDetails`. */
|
|
1088
1388
|
declare const takeAwayOrderDetailsSchema: z.ZodObject<{
|
|
1089
1389
|
id: z.ZodString;
|
|
1090
1390
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
@@ -1184,7 +1484,7 @@ declare const takeAwayOrderDetailsSchema: z.ZodObject<{
|
|
|
1184
1484
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
1185
1485
|
createdAt: z.ZodString;
|
|
1186
1486
|
updatedAt: z.ZodString;
|
|
1187
|
-
type: z.ZodLiteral<"
|
|
1487
|
+
type: z.ZodLiteral<"collection">;
|
|
1188
1488
|
address: z.ZodNull;
|
|
1189
1489
|
location: z.ZodNull;
|
|
1190
1490
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -1270,7 +1570,8 @@ declare const takeAwayOrderDetailsSchema: z.ZodObject<{
|
|
|
1270
1570
|
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
1271
1571
|
}, z.core.$strip>>;
|
|
1272
1572
|
}, z.core.$strip>;
|
|
1273
|
-
|
|
1573
|
+
/** @deprecated Use `CollectionOrderDetails`. */
|
|
1574
|
+
type TakeAwayOrderDetails = CollectionOrderDetails;
|
|
1274
1575
|
declare const kitchenOrderDetailsSchema: z.ZodObject<{
|
|
1275
1576
|
id: z.ZodString;
|
|
1276
1577
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
@@ -1457,7 +1758,7 @@ declare const kitchenOrderDetailsSchema: z.ZodObject<{
|
|
|
1457
1758
|
}, z.core.$strip>>;
|
|
1458
1759
|
}, z.core.$strip>;
|
|
1459
1760
|
type KitchenOrderDetails = z.infer<typeof kitchenOrderDetailsSchema>;
|
|
1460
|
-
declare const orderDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1761
|
+
declare const orderDetailsSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1461
1762
|
id: z.ZodString;
|
|
1462
1763
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
1463
1764
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -1750,7 +2051,7 @@ declare const orderDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1750
2051
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
1751
2052
|
createdAt: z.ZodString;
|
|
1752
2053
|
updatedAt: z.ZodString;
|
|
1753
|
-
type: z.ZodLiteral<"
|
|
2054
|
+
type: z.ZodLiteral<"collection">;
|
|
1754
2055
|
address: z.ZodNull;
|
|
1755
2056
|
location: z.ZodNull;
|
|
1756
2057
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -2019,7 +2320,7 @@ declare const orderDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2019
2320
|
updatedAt: z.ZodString;
|
|
2020
2321
|
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
2021
2322
|
}, z.core.$strip>>;
|
|
2022
|
-
}, z.core.$strip>], "type"
|
|
2323
|
+
}, z.core.$strip>], "type">>;
|
|
2023
2324
|
type OrderDetails = z.infer<typeof orderDetailsSchema>;
|
|
2024
2325
|
type WritableOrderMenuItem = {
|
|
2025
2326
|
menuItem: MenuItemIri;
|
|
@@ -2110,7 +2411,73 @@ declare const writableDeliveryOrderSchema: z.ZodObject<{
|
|
|
2110
2411
|
deliveryTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2111
2412
|
collectionTime: z.ZodOptional<z.ZodNever>;
|
|
2112
2413
|
}, z.core.$strip>;
|
|
2113
|
-
type WritableDeliveryOrder = z.input<typeof writableDeliveryOrderSchema>;
|
|
2414
|
+
type WritableDeliveryOrder = z.input<typeof writableDeliveryOrderSchema>;
|
|
2415
|
+
declare const writableCollectionOrderSchema: z.ZodObject<{
|
|
2416
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
2417
|
+
customer: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/customers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/customers/:id"> | null, unknown>>>;
|
|
2418
|
+
source: z.ZodEnum<{
|
|
2419
|
+
application: "application";
|
|
2420
|
+
ecommerce: "ecommerce";
|
|
2421
|
+
partner: "partner";
|
|
2422
|
+
}>;
|
|
2423
|
+
partner: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2424
|
+
deliveroo: "deliveroo";
|
|
2425
|
+
justeat: "justeat";
|
|
2426
|
+
glovo: "glovo";
|
|
2427
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
2428
|
+
}>>>;
|
|
2429
|
+
partnerIdentifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2430
|
+
displayId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2431
|
+
customerInfo: z.ZodOptional<z.ZodObject<{
|
|
2432
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2433
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2434
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
2435
|
+
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
2436
|
+
contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2437
|
+
contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2438
|
+
}, z.core.$strict>>;
|
|
2439
|
+
billingInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2440
|
+
businessName: z.ZodString;
|
|
2441
|
+
vat: z.ZodString;
|
|
2442
|
+
taxCode: z.ZodString;
|
|
2443
|
+
billingAddress: z.ZodObject<{
|
|
2444
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2445
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2446
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2447
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2448
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2449
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2450
|
+
}, z.core.$strip>;
|
|
2451
|
+
billingData: z.ZodObject<{
|
|
2452
|
+
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2453
|
+
pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
|
|
2454
|
+
}, z.core.$strip>;
|
|
2455
|
+
}, z.core.$strip>>>;
|
|
2456
|
+
customerBusinessProfile: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/customers/business_profiles/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/customers/business_profiles/:id"> | null, unknown>>>;
|
|
2457
|
+
preparationStatus: z.ZodOptional<z.ZodEnum<{
|
|
2458
|
+
to_prepare: "to_prepare";
|
|
2459
|
+
in_preparation: "in_preparation";
|
|
2460
|
+
done: "done";
|
|
2461
|
+
}>>;
|
|
2462
|
+
preparationTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2463
|
+
discount: z.ZodOptional<z.ZodString>;
|
|
2464
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2465
|
+
deliveryNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2466
|
+
kitchenNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2467
|
+
autoAccept: z.ZodOptional<z.ZodBoolean>;
|
|
2468
|
+
forceScheduling: z.ZodOptional<z.ZodBoolean>;
|
|
2469
|
+
items: z.ZodArray<z.ZodType<WritableOrderMenuItem, unknown, z.core.$ZodTypeInternals<WritableOrderMenuItem, unknown>>>;
|
|
2470
|
+
type: z.ZodLiteral<"collection">;
|
|
2471
|
+
collectionTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2472
|
+
address: z.ZodOptional<z.ZodNever>;
|
|
2473
|
+
customerAddress: z.ZodOptional<z.ZodNever>;
|
|
2474
|
+
locationData: z.ZodOptional<z.ZodNever>;
|
|
2475
|
+
referenceBundle: z.ZodOptional<z.ZodNever>;
|
|
2476
|
+
resolveLocationFromAddress: z.ZodOptional<z.ZodNever>;
|
|
2477
|
+
deliveryTime: z.ZodOptional<z.ZodNever>;
|
|
2478
|
+
}, z.core.$strip>;
|
|
2479
|
+
type WritableCollectionOrder = z.input<typeof writableCollectionOrderSchema>;
|
|
2480
|
+
/** @deprecated Use `writableCollectionOrderSchema` / `WritableCollectionOrder`. */
|
|
2114
2481
|
declare const writableTakeAwayOrderSchema: z.ZodObject<{
|
|
2115
2482
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
2116
2483
|
customer: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/customers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/customers/:id"> | null, unknown>>>;
|
|
@@ -2175,6 +2542,7 @@ declare const writableTakeAwayOrderSchema: z.ZodObject<{
|
|
|
2175
2542
|
resolveLocationFromAddress: z.ZodOptional<z.ZodNever>;
|
|
2176
2543
|
deliveryTime: z.ZodOptional<z.ZodNever>;
|
|
2177
2544
|
}, z.core.$strip>;
|
|
2545
|
+
/** @deprecated Use `WritableCollectionOrder`. */
|
|
2178
2546
|
type WritableTakeAwayOrder = z.input<typeof writableTakeAwayOrderSchema>;
|
|
2179
2547
|
declare const writableKitchenOrderSchema: z.ZodObject<{
|
|
2180
2548
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
@@ -2314,6 +2682,69 @@ declare const writableOrderSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2314
2682
|
resolveLocationFromAddress: z.ZodDefault<z.ZodBoolean>;
|
|
2315
2683
|
deliveryTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2316
2684
|
collectionTime: z.ZodOptional<z.ZodNever>;
|
|
2685
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2686
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
2687
|
+
customer: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/customers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/customers/:id"> | null, unknown>>>;
|
|
2688
|
+
source: z.ZodEnum<{
|
|
2689
|
+
application: "application";
|
|
2690
|
+
ecommerce: "ecommerce";
|
|
2691
|
+
partner: "partner";
|
|
2692
|
+
}>;
|
|
2693
|
+
partner: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2694
|
+
deliveroo: "deliveroo";
|
|
2695
|
+
justeat: "justeat";
|
|
2696
|
+
glovo: "glovo";
|
|
2697
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
2698
|
+
}>>>;
|
|
2699
|
+
partnerIdentifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2700
|
+
displayId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2701
|
+
customerInfo: z.ZodOptional<z.ZodObject<{
|
|
2702
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2703
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2704
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
2705
|
+
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
2706
|
+
contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2707
|
+
contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2708
|
+
}, z.core.$strict>>;
|
|
2709
|
+
billingInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2710
|
+
businessName: z.ZodString;
|
|
2711
|
+
vat: z.ZodString;
|
|
2712
|
+
taxCode: z.ZodString;
|
|
2713
|
+
billingAddress: z.ZodObject<{
|
|
2714
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2715
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2716
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2717
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2718
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2719
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2720
|
+
}, z.core.$strip>;
|
|
2721
|
+
billingData: z.ZodObject<{
|
|
2722
|
+
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2723
|
+
pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
|
|
2724
|
+
}, z.core.$strip>;
|
|
2725
|
+
}, z.core.$strip>>>;
|
|
2726
|
+
customerBusinessProfile: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/customers/business_profiles/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/customers/business_profiles/:id"> | null, unknown>>>;
|
|
2727
|
+
preparationStatus: z.ZodOptional<z.ZodEnum<{
|
|
2728
|
+
to_prepare: "to_prepare";
|
|
2729
|
+
in_preparation: "in_preparation";
|
|
2730
|
+
done: "done";
|
|
2731
|
+
}>>;
|
|
2732
|
+
preparationTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2733
|
+
discount: z.ZodOptional<z.ZodString>;
|
|
2734
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2735
|
+
deliveryNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2736
|
+
kitchenNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2737
|
+
autoAccept: z.ZodOptional<z.ZodBoolean>;
|
|
2738
|
+
forceScheduling: z.ZodOptional<z.ZodBoolean>;
|
|
2739
|
+
items: z.ZodArray<z.ZodType<WritableOrderMenuItem, unknown, z.core.$ZodTypeInternals<WritableOrderMenuItem, unknown>>>;
|
|
2740
|
+
type: z.ZodLiteral<"collection">;
|
|
2741
|
+
collectionTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2742
|
+
address: z.ZodOptional<z.ZodNever>;
|
|
2743
|
+
customerAddress: z.ZodOptional<z.ZodNever>;
|
|
2744
|
+
locationData: z.ZodOptional<z.ZodNever>;
|
|
2745
|
+
referenceBundle: z.ZodOptional<z.ZodNever>;
|
|
2746
|
+
resolveLocationFromAddress: z.ZodOptional<z.ZodNever>;
|
|
2747
|
+
deliveryTime: z.ZodOptional<z.ZodNever>;
|
|
2317
2748
|
}, z.core.$strip>, z.ZodObject<{
|
|
2318
2749
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
2319
2750
|
customer: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/customers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/customers/:id"> | null, unknown>>>;
|
|
@@ -2618,7 +3049,7 @@ declare const regularBundleSchema: z.ZodObject<{
|
|
|
2618
3049
|
routeDistanceMeters: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
2619
3050
|
slackSeconds: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
2620
3051
|
plannerVersion: z.ZodNullable<z.ZodString>;
|
|
2621
|
-
orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3052
|
+
orders: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2622
3053
|
id: z.ZodString;
|
|
2623
3054
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
2624
3055
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -2836,7 +3267,7 @@ declare const regularBundleSchema: z.ZodObject<{
|
|
|
2836
3267
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
2837
3268
|
createdAt: z.ZodString;
|
|
2838
3269
|
updatedAt: z.ZodString;
|
|
2839
|
-
type: z.ZodLiteral<"
|
|
3270
|
+
type: z.ZodLiteral<"collection">;
|
|
2840
3271
|
address: z.ZodNull;
|
|
2841
3272
|
location: z.ZodNull;
|
|
2842
3273
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -2955,7 +3386,7 @@ declare const regularBundleSchema: z.ZodObject<{
|
|
|
2955
3386
|
requestedCollectionTime: z.ZodNull;
|
|
2956
3387
|
finalCollectionTime: z.ZodNull;
|
|
2957
3388
|
collectedAt: z.ZodNull;
|
|
2958
|
-
}, z.core.$strip>], "type"
|
|
3389
|
+
}, z.core.$strip>], "type">>>;
|
|
2959
3390
|
createdAt: z.ZodString;
|
|
2960
3391
|
updatedAt: z.ZodString;
|
|
2961
3392
|
type: z.ZodLiteral<"REGULAR">;
|
|
@@ -2984,7 +3415,7 @@ declare const forcedBundleSchema: z.ZodObject<{
|
|
|
2984
3415
|
routeDistanceMeters: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
2985
3416
|
slackSeconds: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
2986
3417
|
plannerVersion: z.ZodNullable<z.ZodString>;
|
|
2987
|
-
orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3418
|
+
orders: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2988
3419
|
id: z.ZodString;
|
|
2989
3420
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
2990
3421
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -3202,7 +3633,7 @@ declare const forcedBundleSchema: z.ZodObject<{
|
|
|
3202
3633
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
3203
3634
|
createdAt: z.ZodString;
|
|
3204
3635
|
updatedAt: z.ZodString;
|
|
3205
|
-
type: z.ZodLiteral<"
|
|
3636
|
+
type: z.ZodLiteral<"collection">;
|
|
3206
3637
|
address: z.ZodNull;
|
|
3207
3638
|
location: z.ZodNull;
|
|
3208
3639
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -3321,7 +3752,7 @@ declare const forcedBundleSchema: z.ZodObject<{
|
|
|
3321
3752
|
requestedCollectionTime: z.ZodNull;
|
|
3322
3753
|
finalCollectionTime: z.ZodNull;
|
|
3323
3754
|
collectedAt: z.ZodNull;
|
|
3324
|
-
}, z.core.$strip>], "type"
|
|
3755
|
+
}, z.core.$strip>], "type">>>;
|
|
3325
3756
|
createdAt: z.ZodString;
|
|
3326
3757
|
updatedAt: z.ZodString;
|
|
3327
3758
|
type: z.ZodLiteral<"FORCED">;
|
|
@@ -3350,7 +3781,7 @@ declare const bundleSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3350
3781
|
routeDistanceMeters: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3351
3782
|
slackSeconds: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3352
3783
|
plannerVersion: z.ZodNullable<z.ZodString>;
|
|
3353
|
-
orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3784
|
+
orders: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3354
3785
|
id: z.ZodString;
|
|
3355
3786
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
3356
3787
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -3568,7 +3999,7 @@ declare const bundleSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3568
3999
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
3569
4000
|
createdAt: z.ZodString;
|
|
3570
4001
|
updatedAt: z.ZodString;
|
|
3571
|
-
type: z.ZodLiteral<"
|
|
4002
|
+
type: z.ZodLiteral<"collection">;
|
|
3572
4003
|
address: z.ZodNull;
|
|
3573
4004
|
location: z.ZodNull;
|
|
3574
4005
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -3687,7 +4118,7 @@ declare const bundleSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3687
4118
|
requestedCollectionTime: z.ZodNull;
|
|
3688
4119
|
finalCollectionTime: z.ZodNull;
|
|
3689
4120
|
collectedAt: z.ZodNull;
|
|
3690
|
-
}, z.core.$strip>], "type"
|
|
4121
|
+
}, z.core.$strip>], "type">>>;
|
|
3691
4122
|
createdAt: z.ZodString;
|
|
3692
4123
|
updatedAt: z.ZodString;
|
|
3693
4124
|
type: z.ZodLiteral<"REGULAR">;
|
|
@@ -3714,7 +4145,7 @@ declare const bundleSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3714
4145
|
routeDistanceMeters: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3715
4146
|
slackSeconds: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3716
4147
|
plannerVersion: z.ZodNullable<z.ZodString>;
|
|
3717
|
-
orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4148
|
+
orders: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3718
4149
|
id: z.ZodString;
|
|
3719
4150
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
3720
4151
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -3932,7 +4363,7 @@ declare const bundleSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3932
4363
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
3933
4364
|
createdAt: z.ZodString;
|
|
3934
4365
|
updatedAt: z.ZodString;
|
|
3935
|
-
type: z.ZodLiteral<"
|
|
4366
|
+
type: z.ZodLiteral<"collection">;
|
|
3936
4367
|
address: z.ZodNull;
|
|
3937
4368
|
location: z.ZodNull;
|
|
3938
4369
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -4051,7 +4482,7 @@ declare const bundleSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4051
4482
|
requestedCollectionTime: z.ZodNull;
|
|
4052
4483
|
finalCollectionTime: z.ZodNull;
|
|
4053
4484
|
collectedAt: z.ZodNull;
|
|
4054
|
-
}, z.core.$strip>], "type"
|
|
4485
|
+
}, z.core.$strip>], "type">>>;
|
|
4055
4486
|
createdAt: z.ZodString;
|
|
4056
4487
|
updatedAt: z.ZodString;
|
|
4057
4488
|
type: z.ZodLiteral<"FORCED">;
|
|
@@ -4080,7 +4511,7 @@ declare const regularBundleDetailsSchema: z.ZodObject<{
|
|
|
4080
4511
|
routeDistanceMeters: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4081
4512
|
slackSeconds: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4082
4513
|
plannerVersion: z.ZodNullable<z.ZodString>;
|
|
4083
|
-
orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4514
|
+
orders: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4084
4515
|
id: z.ZodString;
|
|
4085
4516
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
4086
4517
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -4298,7 +4729,7 @@ declare const regularBundleDetailsSchema: z.ZodObject<{
|
|
|
4298
4729
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
4299
4730
|
createdAt: z.ZodString;
|
|
4300
4731
|
updatedAt: z.ZodString;
|
|
4301
|
-
type: z.ZodLiteral<"
|
|
4732
|
+
type: z.ZodLiteral<"collection">;
|
|
4302
4733
|
address: z.ZodNull;
|
|
4303
4734
|
location: z.ZodNull;
|
|
4304
4735
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -4417,7 +4848,7 @@ declare const regularBundleDetailsSchema: z.ZodObject<{
|
|
|
4417
4848
|
requestedCollectionTime: z.ZodNull;
|
|
4418
4849
|
finalCollectionTime: z.ZodNull;
|
|
4419
4850
|
collectedAt: z.ZodNull;
|
|
4420
|
-
}, z.core.$strip>], "type"
|
|
4851
|
+
}, z.core.$strip>], "type">>>;
|
|
4421
4852
|
createdAt: z.ZodString;
|
|
4422
4853
|
updatedAt: z.ZodString;
|
|
4423
4854
|
type: z.ZodLiteral<"REGULAR">;
|
|
@@ -4447,7 +4878,7 @@ declare const forcedBundleDetailsSchema: z.ZodObject<{
|
|
|
4447
4878
|
routeDistanceMeters: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4448
4879
|
slackSeconds: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4449
4880
|
plannerVersion: z.ZodNullable<z.ZodString>;
|
|
4450
|
-
orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4881
|
+
orders: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4451
4882
|
id: z.ZodString;
|
|
4452
4883
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
4453
4884
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -4665,7 +5096,7 @@ declare const forcedBundleDetailsSchema: z.ZodObject<{
|
|
|
4665
5096
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
4666
5097
|
createdAt: z.ZodString;
|
|
4667
5098
|
updatedAt: z.ZodString;
|
|
4668
|
-
type: z.ZodLiteral<"
|
|
5099
|
+
type: z.ZodLiteral<"collection">;
|
|
4669
5100
|
address: z.ZodNull;
|
|
4670
5101
|
location: z.ZodNull;
|
|
4671
5102
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -4784,7 +5215,7 @@ declare const forcedBundleDetailsSchema: z.ZodObject<{
|
|
|
4784
5215
|
requestedCollectionTime: z.ZodNull;
|
|
4785
5216
|
finalCollectionTime: z.ZodNull;
|
|
4786
5217
|
collectedAt: z.ZodNull;
|
|
4787
|
-
}, z.core.$strip>], "type"
|
|
5218
|
+
}, z.core.$strip>], "type">>>;
|
|
4788
5219
|
createdAt: z.ZodString;
|
|
4789
5220
|
updatedAt: z.ZodString;
|
|
4790
5221
|
type: z.ZodLiteral<"FORCED">;
|
|
@@ -4814,7 +5245,7 @@ declare const bundleDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4814
5245
|
routeDistanceMeters: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4815
5246
|
slackSeconds: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4816
5247
|
plannerVersion: z.ZodNullable<z.ZodString>;
|
|
4817
|
-
orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5248
|
+
orders: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4818
5249
|
id: z.ZodString;
|
|
4819
5250
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
4820
5251
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -5032,7 +5463,7 @@ declare const bundleDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5032
5463
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
5033
5464
|
createdAt: z.ZodString;
|
|
5034
5465
|
updatedAt: z.ZodString;
|
|
5035
|
-
type: z.ZodLiteral<"
|
|
5466
|
+
type: z.ZodLiteral<"collection">;
|
|
5036
5467
|
address: z.ZodNull;
|
|
5037
5468
|
location: z.ZodNull;
|
|
5038
5469
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -5151,7 +5582,7 @@ declare const bundleDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5151
5582
|
requestedCollectionTime: z.ZodNull;
|
|
5152
5583
|
finalCollectionTime: z.ZodNull;
|
|
5153
5584
|
collectedAt: z.ZodNull;
|
|
5154
|
-
}, z.core.$strip>], "type"
|
|
5585
|
+
}, z.core.$strip>], "type">>>;
|
|
5155
5586
|
createdAt: z.ZodString;
|
|
5156
5587
|
updatedAt: z.ZodString;
|
|
5157
5588
|
type: z.ZodLiteral<"REGULAR">;
|
|
@@ -5179,7 +5610,7 @@ declare const bundleDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5179
5610
|
routeDistanceMeters: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
5180
5611
|
slackSeconds: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
5181
5612
|
plannerVersion: z.ZodNullable<z.ZodString>;
|
|
5182
|
-
orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5613
|
+
orders: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5183
5614
|
id: z.ZodString;
|
|
5184
5615
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
5185
5616
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -5397,7 +5828,7 @@ declare const bundleDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5397
5828
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
5398
5829
|
createdAt: z.ZodString;
|
|
5399
5830
|
updatedAt: z.ZodString;
|
|
5400
|
-
type: z.ZodLiteral<"
|
|
5831
|
+
type: z.ZodLiteral<"collection">;
|
|
5401
5832
|
address: z.ZodNull;
|
|
5402
5833
|
location: z.ZodNull;
|
|
5403
5834
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -5516,7 +5947,7 @@ declare const bundleDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5516
5947
|
requestedCollectionTime: z.ZodNull;
|
|
5517
5948
|
finalCollectionTime: z.ZodNull;
|
|
5518
5949
|
collectedAt: z.ZodNull;
|
|
5519
|
-
}, z.core.$strip>], "type"
|
|
5950
|
+
}, z.core.$strip>], "type">>>;
|
|
5520
5951
|
createdAt: z.ZodString;
|
|
5521
5952
|
updatedAt: z.ZodString;
|
|
5522
5953
|
type: z.ZodLiteral<"FORCED">;
|
|
@@ -5686,15 +6117,15 @@ declare const bundlesQuerySchema: z.ZodObject<{
|
|
|
5686
6117
|
}, z.core.$strip>;
|
|
5687
6118
|
type BundlesQueryParams = z.infer<typeof bundlesQuerySchema>;
|
|
5688
6119
|
declare const ordersQuerySchema: z.ZodObject<{
|
|
5689
|
-
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
6120
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5690
6121
|
delivery: "delivery";
|
|
5691
|
-
|
|
6122
|
+
collection: "collection";
|
|
5692
6123
|
kitchen: "kitchen";
|
|
5693
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
6124
|
+
}>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection" | "kitchen", "delivery" | "collection" | "kitchen" | "take_away">>, z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5694
6125
|
delivery: "delivery";
|
|
5695
|
-
|
|
6126
|
+
collection: "collection";
|
|
5696
6127
|
kitchen: "kitchen";
|
|
5697
|
-
}
|
|
6128
|
+
}>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection" | "kitchen", "delivery" | "collection" | "kitchen" | "take_away">>>]>>;
|
|
5698
6129
|
source: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5699
6130
|
application: "application";
|
|
5700
6131
|
ecommerce: "ecommerce";
|
|
@@ -6049,7 +6480,7 @@ declare const createBundleResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6049
6480
|
routeDistanceMeters: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
6050
6481
|
slackSeconds: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
6051
6482
|
plannerVersion: z.ZodNullable<z.ZodString>;
|
|
6052
|
-
orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6483
|
+
orders: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6053
6484
|
id: z.ZodString;
|
|
6054
6485
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
6055
6486
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -6267,7 +6698,7 @@ declare const createBundleResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6267
6698
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
6268
6699
|
createdAt: z.ZodString;
|
|
6269
6700
|
updatedAt: z.ZodString;
|
|
6270
|
-
type: z.ZodLiteral<"
|
|
6701
|
+
type: z.ZodLiteral<"collection">;
|
|
6271
6702
|
address: z.ZodNull;
|
|
6272
6703
|
location: z.ZodNull;
|
|
6273
6704
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -6386,7 +6817,7 @@ declare const createBundleResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6386
6817
|
requestedCollectionTime: z.ZodNull;
|
|
6387
6818
|
finalCollectionTime: z.ZodNull;
|
|
6388
6819
|
collectedAt: z.ZodNull;
|
|
6389
|
-
}, z.core.$strip>], "type"
|
|
6820
|
+
}, z.core.$strip>], "type">>>;
|
|
6390
6821
|
createdAt: z.ZodString;
|
|
6391
6822
|
updatedAt: z.ZodString;
|
|
6392
6823
|
type: z.ZodLiteral<"REGULAR">;
|
|
@@ -6414,7 +6845,7 @@ declare const createBundleResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6414
6845
|
routeDistanceMeters: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
6415
6846
|
slackSeconds: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
6416
6847
|
plannerVersion: z.ZodNullable<z.ZodString>;
|
|
6417
|
-
orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6848
|
+
orders: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6418
6849
|
id: z.ZodString;
|
|
6419
6850
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
6420
6851
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -6632,7 +7063,7 @@ declare const createBundleResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6632
7063
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
6633
7064
|
createdAt: z.ZodString;
|
|
6634
7065
|
updatedAt: z.ZodString;
|
|
6635
|
-
type: z.ZodLiteral<"
|
|
7066
|
+
type: z.ZodLiteral<"collection">;
|
|
6636
7067
|
address: z.ZodNull;
|
|
6637
7068
|
location: z.ZodNull;
|
|
6638
7069
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -6751,7 +7182,7 @@ declare const createBundleResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6751
7182
|
requestedCollectionTime: z.ZodNull;
|
|
6752
7183
|
finalCollectionTime: z.ZodNull;
|
|
6753
7184
|
collectedAt: z.ZodNull;
|
|
6754
|
-
}, z.core.$strip>], "type"
|
|
7185
|
+
}, z.core.$strip>], "type">>>;
|
|
6755
7186
|
createdAt: z.ZodString;
|
|
6756
7187
|
updatedAt: z.ZodString;
|
|
6757
7188
|
type: z.ZodLiteral<"FORCED">;
|
|
@@ -6790,7 +7221,7 @@ declare class CreateBundle extends AbstractApiRequest<typeof createBundleInputSc
|
|
|
6790
7221
|
routeDistanceMeters: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
6791
7222
|
slackSeconds: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
6792
7223
|
plannerVersion: z.ZodNullable<z.ZodString>;
|
|
6793
|
-
orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7224
|
+
orders: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6794
7225
|
id: z.ZodString;
|
|
6795
7226
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
6796
7227
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -7008,7 +7439,7 @@ declare class CreateBundle extends AbstractApiRequest<typeof createBundleInputSc
|
|
|
7008
7439
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
7009
7440
|
createdAt: z.ZodString;
|
|
7010
7441
|
updatedAt: z.ZodString;
|
|
7011
|
-
type: z.ZodLiteral<"
|
|
7442
|
+
type: z.ZodLiteral<"collection">;
|
|
7012
7443
|
address: z.ZodNull;
|
|
7013
7444
|
location: z.ZodNull;
|
|
7014
7445
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -7127,7 +7558,7 @@ declare class CreateBundle extends AbstractApiRequest<typeof createBundleInputSc
|
|
|
7127
7558
|
requestedCollectionTime: z.ZodNull;
|
|
7128
7559
|
finalCollectionTime: z.ZodNull;
|
|
7129
7560
|
collectedAt: z.ZodNull;
|
|
7130
|
-
}, z.core.$strip>], "type"
|
|
7561
|
+
}, z.core.$strip>], "type">>>;
|
|
7131
7562
|
createdAt: z.ZodString;
|
|
7132
7563
|
updatedAt: z.ZodString;
|
|
7133
7564
|
type: z.ZodLiteral<"REGULAR">;
|
|
@@ -7155,7 +7586,7 @@ declare class CreateBundle extends AbstractApiRequest<typeof createBundleInputSc
|
|
|
7155
7586
|
routeDistanceMeters: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
7156
7587
|
slackSeconds: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
7157
7588
|
plannerVersion: z.ZodNullable<z.ZodString>;
|
|
7158
|
-
orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7589
|
+
orders: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7159
7590
|
id: z.ZodString;
|
|
7160
7591
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
7161
7592
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -7373,7 +7804,7 @@ declare class CreateBundle extends AbstractApiRequest<typeof createBundleInputSc
|
|
|
7373
7804
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
7374
7805
|
createdAt: z.ZodString;
|
|
7375
7806
|
updatedAt: z.ZodString;
|
|
7376
|
-
type: z.ZodLiteral<"
|
|
7807
|
+
type: z.ZodLiteral<"collection">;
|
|
7377
7808
|
address: z.ZodNull;
|
|
7378
7809
|
location: z.ZodNull;
|
|
7379
7810
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -7492,7 +7923,7 @@ declare class CreateBundle extends AbstractApiRequest<typeof createBundleInputSc
|
|
|
7492
7923
|
requestedCollectionTime: z.ZodNull;
|
|
7493
7924
|
finalCollectionTime: z.ZodNull;
|
|
7494
7925
|
collectedAt: z.ZodNull;
|
|
7495
|
-
}, z.core.$strip>], "type"
|
|
7926
|
+
}, z.core.$strip>], "type">>>;
|
|
7496
7927
|
createdAt: z.ZodString;
|
|
7497
7928
|
updatedAt: z.ZodString;
|
|
7498
7929
|
type: z.ZodLiteral<"FORCED">;
|
|
@@ -7544,7 +7975,7 @@ declare const getBundleDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
7544
7975
|
routeDistanceMeters: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
7545
7976
|
slackSeconds: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
7546
7977
|
plannerVersion: z.ZodNullable<z.ZodString>;
|
|
7547
|
-
orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7978
|
+
orders: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7548
7979
|
id: z.ZodString;
|
|
7549
7980
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
7550
7981
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -7762,7 +8193,7 @@ declare const getBundleDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
7762
8193
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
7763
8194
|
createdAt: z.ZodString;
|
|
7764
8195
|
updatedAt: z.ZodString;
|
|
7765
|
-
type: z.ZodLiteral<"
|
|
8196
|
+
type: z.ZodLiteral<"collection">;
|
|
7766
8197
|
address: z.ZodNull;
|
|
7767
8198
|
location: z.ZodNull;
|
|
7768
8199
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -7881,7 +8312,7 @@ declare const getBundleDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
7881
8312
|
requestedCollectionTime: z.ZodNull;
|
|
7882
8313
|
finalCollectionTime: z.ZodNull;
|
|
7883
8314
|
collectedAt: z.ZodNull;
|
|
7884
|
-
}, z.core.$strip>], "type"
|
|
8315
|
+
}, z.core.$strip>], "type">>>;
|
|
7885
8316
|
createdAt: z.ZodString;
|
|
7886
8317
|
updatedAt: z.ZodString;
|
|
7887
8318
|
type: z.ZodLiteral<"REGULAR">;
|
|
@@ -7909,7 +8340,7 @@ declare const getBundleDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
7909
8340
|
routeDistanceMeters: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
7910
8341
|
slackSeconds: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
7911
8342
|
plannerVersion: z.ZodNullable<z.ZodString>;
|
|
7912
|
-
orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8343
|
+
orders: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7913
8344
|
id: z.ZodString;
|
|
7914
8345
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
7915
8346
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -8127,7 +8558,7 @@ declare const getBundleDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
8127
8558
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
8128
8559
|
createdAt: z.ZodString;
|
|
8129
8560
|
updatedAt: z.ZodString;
|
|
8130
|
-
type: z.ZodLiteral<"
|
|
8561
|
+
type: z.ZodLiteral<"collection">;
|
|
8131
8562
|
address: z.ZodNull;
|
|
8132
8563
|
location: z.ZodNull;
|
|
8133
8564
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -8246,7 +8677,7 @@ declare const getBundleDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
8246
8677
|
requestedCollectionTime: z.ZodNull;
|
|
8247
8678
|
finalCollectionTime: z.ZodNull;
|
|
8248
8679
|
collectedAt: z.ZodNull;
|
|
8249
|
-
}, z.core.$strip>], "type"
|
|
8680
|
+
}, z.core.$strip>], "type">>>;
|
|
8250
8681
|
createdAt: z.ZodString;
|
|
8251
8682
|
updatedAt: z.ZodString;
|
|
8252
8683
|
type: z.ZodLiteral<"FORCED">;
|
|
@@ -8281,7 +8712,7 @@ declare class GetBundleDetails extends AbstractApiRequest<typeof getBundleDetail
|
|
|
8281
8712
|
routeDistanceMeters: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
8282
8713
|
slackSeconds: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
8283
8714
|
plannerVersion: z.ZodNullable<z.ZodString>;
|
|
8284
|
-
orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8715
|
+
orders: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8285
8716
|
id: z.ZodString;
|
|
8286
8717
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
8287
8718
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -8499,7 +8930,7 @@ declare class GetBundleDetails extends AbstractApiRequest<typeof getBundleDetail
|
|
|
8499
8930
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
8500
8931
|
createdAt: z.ZodString;
|
|
8501
8932
|
updatedAt: z.ZodString;
|
|
8502
|
-
type: z.ZodLiteral<"
|
|
8933
|
+
type: z.ZodLiteral<"collection">;
|
|
8503
8934
|
address: z.ZodNull;
|
|
8504
8935
|
location: z.ZodNull;
|
|
8505
8936
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -8618,7 +9049,7 @@ declare class GetBundleDetails extends AbstractApiRequest<typeof getBundleDetail
|
|
|
8618
9049
|
requestedCollectionTime: z.ZodNull;
|
|
8619
9050
|
finalCollectionTime: z.ZodNull;
|
|
8620
9051
|
collectedAt: z.ZodNull;
|
|
8621
|
-
}, z.core.$strip>], "type"
|
|
9052
|
+
}, z.core.$strip>], "type">>>;
|
|
8622
9053
|
createdAt: z.ZodString;
|
|
8623
9054
|
updatedAt: z.ZodString;
|
|
8624
9055
|
type: z.ZodLiteral<"REGULAR">;
|
|
@@ -8646,7 +9077,7 @@ declare class GetBundleDetails extends AbstractApiRequest<typeof getBundleDetail
|
|
|
8646
9077
|
routeDistanceMeters: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
8647
9078
|
slackSeconds: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
8648
9079
|
plannerVersion: z.ZodNullable<z.ZodString>;
|
|
8649
|
-
orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9080
|
+
orders: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8650
9081
|
id: z.ZodString;
|
|
8651
9082
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
8652
9083
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -8864,7 +9295,7 @@ declare class GetBundleDetails extends AbstractApiRequest<typeof getBundleDetail
|
|
|
8864
9295
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
8865
9296
|
createdAt: z.ZodString;
|
|
8866
9297
|
updatedAt: z.ZodString;
|
|
8867
|
-
type: z.ZodLiteral<"
|
|
9298
|
+
type: z.ZodLiteral<"collection">;
|
|
8868
9299
|
address: z.ZodNull;
|
|
8869
9300
|
location: z.ZodNull;
|
|
8870
9301
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -8983,7 +9414,7 @@ declare class GetBundleDetails extends AbstractApiRequest<typeof getBundleDetail
|
|
|
8983
9414
|
requestedCollectionTime: z.ZodNull;
|
|
8984
9415
|
finalCollectionTime: z.ZodNull;
|
|
8985
9416
|
collectedAt: z.ZodNull;
|
|
8986
|
-
}, z.core.$strip>], "type"
|
|
9417
|
+
}, z.core.$strip>], "type">>>;
|
|
8987
9418
|
createdAt: z.ZodString;
|
|
8988
9419
|
updatedAt: z.ZodString;
|
|
8989
9420
|
type: z.ZodLiteral<"FORCED">;
|
|
@@ -9101,7 +9532,7 @@ declare const getBundlesResponseSchema: z.ZodObject<{
|
|
|
9101
9532
|
routeDistanceMeters: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
9102
9533
|
slackSeconds: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
9103
9534
|
plannerVersion: z.ZodNullable<z.ZodString>;
|
|
9104
|
-
orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9535
|
+
orders: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9105
9536
|
id: z.ZodString;
|
|
9106
9537
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
9107
9538
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -9319,7 +9750,7 @@ declare const getBundlesResponseSchema: z.ZodObject<{
|
|
|
9319
9750
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
9320
9751
|
createdAt: z.ZodString;
|
|
9321
9752
|
updatedAt: z.ZodString;
|
|
9322
|
-
type: z.ZodLiteral<"
|
|
9753
|
+
type: z.ZodLiteral<"collection">;
|
|
9323
9754
|
address: z.ZodNull;
|
|
9324
9755
|
location: z.ZodNull;
|
|
9325
9756
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -9438,7 +9869,7 @@ declare const getBundlesResponseSchema: z.ZodObject<{
|
|
|
9438
9869
|
requestedCollectionTime: z.ZodNull;
|
|
9439
9870
|
finalCollectionTime: z.ZodNull;
|
|
9440
9871
|
collectedAt: z.ZodNull;
|
|
9441
|
-
}, z.core.$strip>], "type"
|
|
9872
|
+
}, z.core.$strip>], "type">>>;
|
|
9442
9873
|
createdAt: z.ZodString;
|
|
9443
9874
|
updatedAt: z.ZodString;
|
|
9444
9875
|
type: z.ZodLiteral<"REGULAR">;
|
|
@@ -9465,7 +9896,7 @@ declare const getBundlesResponseSchema: z.ZodObject<{
|
|
|
9465
9896
|
routeDistanceMeters: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
9466
9897
|
slackSeconds: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
9467
9898
|
plannerVersion: z.ZodNullable<z.ZodString>;
|
|
9468
|
-
orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9899
|
+
orders: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9469
9900
|
id: z.ZodString;
|
|
9470
9901
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
9471
9902
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -9683,7 +10114,7 @@ declare const getBundlesResponseSchema: z.ZodObject<{
|
|
|
9683
10114
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
9684
10115
|
createdAt: z.ZodString;
|
|
9685
10116
|
updatedAt: z.ZodString;
|
|
9686
|
-
type: z.ZodLiteral<"
|
|
10117
|
+
type: z.ZodLiteral<"collection">;
|
|
9687
10118
|
address: z.ZodNull;
|
|
9688
10119
|
location: z.ZodNull;
|
|
9689
10120
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -9802,7 +10233,7 @@ declare const getBundlesResponseSchema: z.ZodObject<{
|
|
|
9802
10233
|
requestedCollectionTime: z.ZodNull;
|
|
9803
10234
|
finalCollectionTime: z.ZodNull;
|
|
9804
10235
|
collectedAt: z.ZodNull;
|
|
9805
|
-
}, z.core.$strip>], "type"
|
|
10236
|
+
}, z.core.$strip>], "type">>>;
|
|
9806
10237
|
createdAt: z.ZodString;
|
|
9807
10238
|
updatedAt: z.ZodString;
|
|
9808
10239
|
type: z.ZodLiteral<"FORCED">;
|
|
@@ -9846,7 +10277,7 @@ declare class GetBundles extends AbstractApiRequest<typeof getBundlesInputSchema
|
|
|
9846
10277
|
routeDistanceMeters: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
9847
10278
|
slackSeconds: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
9848
10279
|
plannerVersion: z.ZodNullable<z.ZodString>;
|
|
9849
|
-
orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10280
|
+
orders: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9850
10281
|
id: z.ZodString;
|
|
9851
10282
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
9852
10283
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -10064,7 +10495,7 @@ declare class GetBundles extends AbstractApiRequest<typeof getBundlesInputSchema
|
|
|
10064
10495
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
10065
10496
|
createdAt: z.ZodString;
|
|
10066
10497
|
updatedAt: z.ZodString;
|
|
10067
|
-
type: z.ZodLiteral<"
|
|
10498
|
+
type: z.ZodLiteral<"collection">;
|
|
10068
10499
|
address: z.ZodNull;
|
|
10069
10500
|
location: z.ZodNull;
|
|
10070
10501
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -10183,7 +10614,7 @@ declare class GetBundles extends AbstractApiRequest<typeof getBundlesInputSchema
|
|
|
10183
10614
|
requestedCollectionTime: z.ZodNull;
|
|
10184
10615
|
finalCollectionTime: z.ZodNull;
|
|
10185
10616
|
collectedAt: z.ZodNull;
|
|
10186
|
-
}, z.core.$strip>], "type"
|
|
10617
|
+
}, z.core.$strip>], "type">>>;
|
|
10187
10618
|
createdAt: z.ZodString;
|
|
10188
10619
|
updatedAt: z.ZodString;
|
|
10189
10620
|
type: z.ZodLiteral<"REGULAR">;
|
|
@@ -10210,7 +10641,7 @@ declare class GetBundles extends AbstractApiRequest<typeof getBundlesInputSchema
|
|
|
10210
10641
|
routeDistanceMeters: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
10211
10642
|
slackSeconds: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
10212
10643
|
plannerVersion: z.ZodNullable<z.ZodString>;
|
|
10213
|
-
orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10644
|
+
orders: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10214
10645
|
id: z.ZodString;
|
|
10215
10646
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
10216
10647
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -10428,7 +10859,7 @@ declare class GetBundles extends AbstractApiRequest<typeof getBundlesInputSchema
|
|
|
10428
10859
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
10429
10860
|
createdAt: z.ZodString;
|
|
10430
10861
|
updatedAt: z.ZodString;
|
|
10431
|
-
type: z.ZodLiteral<"
|
|
10862
|
+
type: z.ZodLiteral<"collection">;
|
|
10432
10863
|
address: z.ZodNull;
|
|
10433
10864
|
location: z.ZodNull;
|
|
10434
10865
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -10547,7 +10978,7 @@ declare class GetBundles extends AbstractApiRequest<typeof getBundlesInputSchema
|
|
|
10547
10978
|
requestedCollectionTime: z.ZodNull;
|
|
10548
10979
|
finalCollectionTime: z.ZodNull;
|
|
10549
10980
|
collectedAt: z.ZodNull;
|
|
10550
|
-
}, z.core.$strip>], "type"
|
|
10981
|
+
}, z.core.$strip>], "type">>>;
|
|
10551
10982
|
createdAt: z.ZodString;
|
|
10552
10983
|
updatedAt: z.ZodString;
|
|
10553
10984
|
type: z.ZodLiteral<"FORCED">;
|
|
@@ -10663,7 +11094,7 @@ declare class GetBundles extends AbstractApiRequest<typeof getBundlesInputSchema
|
|
|
10663
11094
|
routeDistanceMeters: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
10664
11095
|
slackSeconds: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
10665
11096
|
plannerVersion: z.ZodNullable<z.ZodString>;
|
|
10666
|
-
orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11097
|
+
orders: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10667
11098
|
id: z.ZodString;
|
|
10668
11099
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
10669
11100
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -10881,7 +11312,7 @@ declare class GetBundles extends AbstractApiRequest<typeof getBundlesInputSchema
|
|
|
10881
11312
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
10882
11313
|
createdAt: z.ZodString;
|
|
10883
11314
|
updatedAt: z.ZodString;
|
|
10884
|
-
type: z.ZodLiteral<"
|
|
11315
|
+
type: z.ZodLiteral<"collection">;
|
|
10885
11316
|
address: z.ZodNull;
|
|
10886
11317
|
location: z.ZodNull;
|
|
10887
11318
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -11000,7 +11431,7 @@ declare class GetBundles extends AbstractApiRequest<typeof getBundlesInputSchema
|
|
|
11000
11431
|
requestedCollectionTime: z.ZodNull;
|
|
11001
11432
|
finalCollectionTime: z.ZodNull;
|
|
11002
11433
|
collectedAt: z.ZodNull;
|
|
11003
|
-
}, z.core.$strip>], "type"
|
|
11434
|
+
}, z.core.$strip>], "type">>>;
|
|
11004
11435
|
createdAt: z.ZodString;
|
|
11005
11436
|
updatedAt: z.ZodString;
|
|
11006
11437
|
type: z.ZodLiteral<"REGULAR">;
|
|
@@ -11027,7 +11458,7 @@ declare class GetBundles extends AbstractApiRequest<typeof getBundlesInputSchema
|
|
|
11027
11458
|
routeDistanceMeters: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
11028
11459
|
slackSeconds: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
11029
11460
|
plannerVersion: z.ZodNullable<z.ZodString>;
|
|
11030
|
-
orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11461
|
+
orders: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11031
11462
|
id: z.ZodString;
|
|
11032
11463
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
11033
11464
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -11245,7 +11676,7 @@ declare class GetBundles extends AbstractApiRequest<typeof getBundlesInputSchema
|
|
|
11245
11676
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
11246
11677
|
createdAt: z.ZodString;
|
|
11247
11678
|
updatedAt: z.ZodString;
|
|
11248
|
-
type: z.ZodLiteral<"
|
|
11679
|
+
type: z.ZodLiteral<"collection">;
|
|
11249
11680
|
address: z.ZodNull;
|
|
11250
11681
|
location: z.ZodNull;
|
|
11251
11682
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -11364,7 +11795,7 @@ declare class GetBundles extends AbstractApiRequest<typeof getBundlesInputSchema
|
|
|
11364
11795
|
requestedCollectionTime: z.ZodNull;
|
|
11365
11796
|
finalCollectionTime: z.ZodNull;
|
|
11366
11797
|
collectedAt: z.ZodNull;
|
|
11367
|
-
}, z.core.$strip>], "type"
|
|
11798
|
+
}, z.core.$strip>], "type">>>;
|
|
11368
11799
|
createdAt: z.ZodString;
|
|
11369
11800
|
updatedAt: z.ZodString;
|
|
11370
11801
|
type: z.ZodLiteral<"FORCED">;
|
|
@@ -11481,7 +11912,7 @@ declare const getBundlesFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
11481
11912
|
routeDistanceMeters: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
11482
11913
|
slackSeconds: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
11483
11914
|
plannerVersion: z.ZodNullable<z.ZodString>;
|
|
11484
|
-
orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11915
|
+
orders: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11485
11916
|
id: z.ZodString;
|
|
11486
11917
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
11487
11918
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -11699,7 +12130,7 @@ declare const getBundlesFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
11699
12130
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
11700
12131
|
createdAt: z.ZodString;
|
|
11701
12132
|
updatedAt: z.ZodString;
|
|
11702
|
-
type: z.ZodLiteral<"
|
|
12133
|
+
type: z.ZodLiteral<"collection">;
|
|
11703
12134
|
address: z.ZodNull;
|
|
11704
12135
|
location: z.ZodNull;
|
|
11705
12136
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -11818,7 +12249,7 @@ declare const getBundlesFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
11818
12249
|
requestedCollectionTime: z.ZodNull;
|
|
11819
12250
|
finalCollectionTime: z.ZodNull;
|
|
11820
12251
|
collectedAt: z.ZodNull;
|
|
11821
|
-
}, z.core.$strip>], "type"
|
|
12252
|
+
}, z.core.$strip>], "type">>>;
|
|
11822
12253
|
createdAt: z.ZodString;
|
|
11823
12254
|
updatedAt: z.ZodString;
|
|
11824
12255
|
type: z.ZodLiteral<"REGULAR">;
|
|
@@ -11845,7 +12276,7 @@ declare const getBundlesFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
11845
12276
|
routeDistanceMeters: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
11846
12277
|
slackSeconds: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
11847
12278
|
plannerVersion: z.ZodNullable<z.ZodString>;
|
|
11848
|
-
orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
12279
|
+
orders: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11849
12280
|
id: z.ZodString;
|
|
11850
12281
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
11851
12282
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -12063,7 +12494,7 @@ declare const getBundlesFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
12063
12494
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
12064
12495
|
createdAt: z.ZodString;
|
|
12065
12496
|
updatedAt: z.ZodString;
|
|
12066
|
-
type: z.ZodLiteral<"
|
|
12497
|
+
type: z.ZodLiteral<"collection">;
|
|
12067
12498
|
address: z.ZodNull;
|
|
12068
12499
|
location: z.ZodNull;
|
|
12069
12500
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -12182,7 +12613,7 @@ declare const getBundlesFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
12182
12613
|
requestedCollectionTime: z.ZodNull;
|
|
12183
12614
|
finalCollectionTime: z.ZodNull;
|
|
12184
12615
|
collectedAt: z.ZodNull;
|
|
12185
|
-
}, z.core.$strip>], "type"
|
|
12616
|
+
}, z.core.$strip>], "type">>>;
|
|
12186
12617
|
createdAt: z.ZodString;
|
|
12187
12618
|
updatedAt: z.ZodString;
|
|
12188
12619
|
type: z.ZodLiteral<"FORCED">;
|
|
@@ -12226,7 +12657,7 @@ declare class GetBundlesFromPointOfSale extends AbstractApiRequest<typeof getBun
|
|
|
12226
12657
|
routeDistanceMeters: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
12227
12658
|
slackSeconds: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
12228
12659
|
plannerVersion: z.ZodNullable<z.ZodString>;
|
|
12229
|
-
orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
12660
|
+
orders: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
12230
12661
|
id: z.ZodString;
|
|
12231
12662
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
12232
12663
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -12444,7 +12875,7 @@ declare class GetBundlesFromPointOfSale extends AbstractApiRequest<typeof getBun
|
|
|
12444
12875
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
12445
12876
|
createdAt: z.ZodString;
|
|
12446
12877
|
updatedAt: z.ZodString;
|
|
12447
|
-
type: z.ZodLiteral<"
|
|
12878
|
+
type: z.ZodLiteral<"collection">;
|
|
12448
12879
|
address: z.ZodNull;
|
|
12449
12880
|
location: z.ZodNull;
|
|
12450
12881
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -12563,7 +12994,7 @@ declare class GetBundlesFromPointOfSale extends AbstractApiRequest<typeof getBun
|
|
|
12563
12994
|
requestedCollectionTime: z.ZodNull;
|
|
12564
12995
|
finalCollectionTime: z.ZodNull;
|
|
12565
12996
|
collectedAt: z.ZodNull;
|
|
12566
|
-
}, z.core.$strip>], "type"
|
|
12997
|
+
}, z.core.$strip>], "type">>>;
|
|
12567
12998
|
createdAt: z.ZodString;
|
|
12568
12999
|
updatedAt: z.ZodString;
|
|
12569
13000
|
type: z.ZodLiteral<"REGULAR">;
|
|
@@ -12590,7 +13021,7 @@ declare class GetBundlesFromPointOfSale extends AbstractApiRequest<typeof getBun
|
|
|
12590
13021
|
routeDistanceMeters: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
12591
13022
|
slackSeconds: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
12592
13023
|
plannerVersion: z.ZodNullable<z.ZodString>;
|
|
12593
|
-
orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
13024
|
+
orders: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
12594
13025
|
id: z.ZodString;
|
|
12595
13026
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
12596
13027
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -12808,7 +13239,7 @@ declare class GetBundlesFromPointOfSale extends AbstractApiRequest<typeof getBun
|
|
|
12808
13239
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
12809
13240
|
createdAt: z.ZodString;
|
|
12810
13241
|
updatedAt: z.ZodString;
|
|
12811
|
-
type: z.ZodLiteral<"
|
|
13242
|
+
type: z.ZodLiteral<"collection">;
|
|
12812
13243
|
address: z.ZodNull;
|
|
12813
13244
|
location: z.ZodNull;
|
|
12814
13245
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -12927,7 +13358,7 @@ declare class GetBundlesFromPointOfSale extends AbstractApiRequest<typeof getBun
|
|
|
12927
13358
|
requestedCollectionTime: z.ZodNull;
|
|
12928
13359
|
finalCollectionTime: z.ZodNull;
|
|
12929
13360
|
collectedAt: z.ZodNull;
|
|
12930
|
-
}, z.core.$strip>], "type"
|
|
13361
|
+
}, z.core.$strip>], "type">>>;
|
|
12931
13362
|
createdAt: z.ZodString;
|
|
12932
13363
|
updatedAt: z.ZodString;
|
|
12933
13364
|
type: z.ZodLiteral<"FORCED">;
|
|
@@ -13043,7 +13474,7 @@ declare class GetBundlesFromPointOfSale extends AbstractApiRequest<typeof getBun
|
|
|
13043
13474
|
routeDistanceMeters: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
13044
13475
|
slackSeconds: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
13045
13476
|
plannerVersion: z.ZodNullable<z.ZodString>;
|
|
13046
|
-
orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
13477
|
+
orders: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
13047
13478
|
id: z.ZodString;
|
|
13048
13479
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
13049
13480
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -13261,7 +13692,7 @@ declare class GetBundlesFromPointOfSale extends AbstractApiRequest<typeof getBun
|
|
|
13261
13692
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
13262
13693
|
createdAt: z.ZodString;
|
|
13263
13694
|
updatedAt: z.ZodString;
|
|
13264
|
-
type: z.ZodLiteral<"
|
|
13695
|
+
type: z.ZodLiteral<"collection">;
|
|
13265
13696
|
address: z.ZodNull;
|
|
13266
13697
|
location: z.ZodNull;
|
|
13267
13698
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -13380,7 +13811,7 @@ declare class GetBundlesFromPointOfSale extends AbstractApiRequest<typeof getBun
|
|
|
13380
13811
|
requestedCollectionTime: z.ZodNull;
|
|
13381
13812
|
finalCollectionTime: z.ZodNull;
|
|
13382
13813
|
collectedAt: z.ZodNull;
|
|
13383
|
-
}, z.core.$strip>], "type"
|
|
13814
|
+
}, z.core.$strip>], "type">>>;
|
|
13384
13815
|
createdAt: z.ZodString;
|
|
13385
13816
|
updatedAt: z.ZodString;
|
|
13386
13817
|
type: z.ZodLiteral<"REGULAR">;
|
|
@@ -13407,7 +13838,7 @@ declare class GetBundlesFromPointOfSale extends AbstractApiRequest<typeof getBun
|
|
|
13407
13838
|
routeDistanceMeters: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
13408
13839
|
slackSeconds: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
13409
13840
|
plannerVersion: z.ZodNullable<z.ZodString>;
|
|
13410
|
-
orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
13841
|
+
orders: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
13411
13842
|
id: z.ZodString;
|
|
13412
13843
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
13413
13844
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -13625,7 +14056,7 @@ declare class GetBundlesFromPointOfSale extends AbstractApiRequest<typeof getBun
|
|
|
13625
14056
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
13626
14057
|
createdAt: z.ZodString;
|
|
13627
14058
|
updatedAt: z.ZodString;
|
|
13628
|
-
type: z.ZodLiteral<"
|
|
14059
|
+
type: z.ZodLiteral<"collection">;
|
|
13629
14060
|
address: z.ZodNull;
|
|
13630
14061
|
location: z.ZodNull;
|
|
13631
14062
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -13744,7 +14175,7 @@ declare class GetBundlesFromPointOfSale extends AbstractApiRequest<typeof getBun
|
|
|
13744
14175
|
requestedCollectionTime: z.ZodNull;
|
|
13745
14176
|
finalCollectionTime: z.ZodNull;
|
|
13746
14177
|
collectedAt: z.ZodNull;
|
|
13747
|
-
}, z.core.$strip>], "type"
|
|
14178
|
+
}, z.core.$strip>], "type">>>;
|
|
13748
14179
|
createdAt: z.ZodString;
|
|
13749
14180
|
updatedAt: z.ZodString;
|
|
13750
14181
|
type: z.ZodLiteral<"FORCED">;
|
|
@@ -13785,7 +14216,7 @@ declare const updateBundleResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13785
14216
|
routeDistanceMeters: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
13786
14217
|
slackSeconds: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
13787
14218
|
plannerVersion: z.ZodNullable<z.ZodString>;
|
|
13788
|
-
orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
14219
|
+
orders: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
13789
14220
|
id: z.ZodString;
|
|
13790
14221
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
13791
14222
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -14003,7 +14434,7 @@ declare const updateBundleResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
14003
14434
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
14004
14435
|
createdAt: z.ZodString;
|
|
14005
14436
|
updatedAt: z.ZodString;
|
|
14006
|
-
type: z.ZodLiteral<"
|
|
14437
|
+
type: z.ZodLiteral<"collection">;
|
|
14007
14438
|
address: z.ZodNull;
|
|
14008
14439
|
location: z.ZodNull;
|
|
14009
14440
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -14122,7 +14553,7 @@ declare const updateBundleResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
14122
14553
|
requestedCollectionTime: z.ZodNull;
|
|
14123
14554
|
finalCollectionTime: z.ZodNull;
|
|
14124
14555
|
collectedAt: z.ZodNull;
|
|
14125
|
-
}, z.core.$strip>], "type"
|
|
14556
|
+
}, z.core.$strip>], "type">>>;
|
|
14126
14557
|
createdAt: z.ZodString;
|
|
14127
14558
|
updatedAt: z.ZodString;
|
|
14128
14559
|
type: z.ZodLiteral<"REGULAR">;
|
|
@@ -14150,7 +14581,7 @@ declare const updateBundleResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
14150
14581
|
routeDistanceMeters: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
14151
14582
|
slackSeconds: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
14152
14583
|
plannerVersion: z.ZodNullable<z.ZodString>;
|
|
14153
|
-
orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
14584
|
+
orders: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
14154
14585
|
id: z.ZodString;
|
|
14155
14586
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
14156
14587
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -14368,7 +14799,7 @@ declare const updateBundleResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
14368
14799
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
14369
14800
|
createdAt: z.ZodString;
|
|
14370
14801
|
updatedAt: z.ZodString;
|
|
14371
|
-
type: z.ZodLiteral<"
|
|
14802
|
+
type: z.ZodLiteral<"collection">;
|
|
14372
14803
|
address: z.ZodNull;
|
|
14373
14804
|
location: z.ZodNull;
|
|
14374
14805
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -14487,7 +14918,7 @@ declare const updateBundleResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
14487
14918
|
requestedCollectionTime: z.ZodNull;
|
|
14488
14919
|
finalCollectionTime: z.ZodNull;
|
|
14489
14920
|
collectedAt: z.ZodNull;
|
|
14490
|
-
}, z.core.$strip>], "type"
|
|
14921
|
+
}, z.core.$strip>], "type">>>;
|
|
14491
14922
|
createdAt: z.ZodString;
|
|
14492
14923
|
updatedAt: z.ZodString;
|
|
14493
14924
|
type: z.ZodLiteral<"FORCED">;
|
|
@@ -14525,7 +14956,7 @@ declare class UpdateBundle extends AbstractApiRequest<typeof updateBundleInputSc
|
|
|
14525
14956
|
routeDistanceMeters: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
14526
14957
|
slackSeconds: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
14527
14958
|
plannerVersion: z.ZodNullable<z.ZodString>;
|
|
14528
|
-
orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
14959
|
+
orders: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
14529
14960
|
id: z.ZodString;
|
|
14530
14961
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
14531
14962
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -14743,7 +15174,7 @@ declare class UpdateBundle extends AbstractApiRequest<typeof updateBundleInputSc
|
|
|
14743
15174
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
14744
15175
|
createdAt: z.ZodString;
|
|
14745
15176
|
updatedAt: z.ZodString;
|
|
14746
|
-
type: z.ZodLiteral<"
|
|
15177
|
+
type: z.ZodLiteral<"collection">;
|
|
14747
15178
|
address: z.ZodNull;
|
|
14748
15179
|
location: z.ZodNull;
|
|
14749
15180
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -14862,7 +15293,7 @@ declare class UpdateBundle extends AbstractApiRequest<typeof updateBundleInputSc
|
|
|
14862
15293
|
requestedCollectionTime: z.ZodNull;
|
|
14863
15294
|
finalCollectionTime: z.ZodNull;
|
|
14864
15295
|
collectedAt: z.ZodNull;
|
|
14865
|
-
}, z.core.$strip>], "type"
|
|
15296
|
+
}, z.core.$strip>], "type">>>;
|
|
14866
15297
|
createdAt: z.ZodString;
|
|
14867
15298
|
updatedAt: z.ZodString;
|
|
14868
15299
|
type: z.ZodLiteral<"REGULAR">;
|
|
@@ -14890,7 +15321,7 @@ declare class UpdateBundle extends AbstractApiRequest<typeof updateBundleInputSc
|
|
|
14890
15321
|
routeDistanceMeters: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
14891
15322
|
slackSeconds: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
14892
15323
|
plannerVersion: z.ZodNullable<z.ZodString>;
|
|
14893
|
-
orders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
15324
|
+
orders: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
14894
15325
|
id: z.ZodString;
|
|
14895
15326
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
14896
15327
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -15108,7 +15539,7 @@ declare class UpdateBundle extends AbstractApiRequest<typeof updateBundleInputSc
|
|
|
15108
15539
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
15109
15540
|
createdAt: z.ZodString;
|
|
15110
15541
|
updatedAt: z.ZodString;
|
|
15111
|
-
type: z.ZodLiteral<"
|
|
15542
|
+
type: z.ZodLiteral<"collection">;
|
|
15112
15543
|
address: z.ZodNull;
|
|
15113
15544
|
location: z.ZodNull;
|
|
15114
15545
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -15227,7 +15658,7 @@ declare class UpdateBundle extends AbstractApiRequest<typeof updateBundleInputSc
|
|
|
15227
15658
|
requestedCollectionTime: z.ZodNull;
|
|
15228
15659
|
finalCollectionTime: z.ZodNull;
|
|
15229
15660
|
collectedAt: z.ZodNull;
|
|
15230
|
-
}, z.core.$strip>], "type"
|
|
15661
|
+
}, z.core.$strip>], "type">>>;
|
|
15231
15662
|
createdAt: z.ZodString;
|
|
15232
15663
|
updatedAt: z.ZodString;
|
|
15233
15664
|
type: z.ZodLiteral<"FORCED">;
|
|
@@ -15901,7 +16332,7 @@ declare class GetOrderMenuItems extends AbstractApiRequest<typeof getOrderMenuIt
|
|
|
15901
16332
|
|
|
15902
16333
|
declare const advanceOrderPreparationStatusInputSchema: z.ZodUndefined;
|
|
15903
16334
|
type AdvanceOrderPreparationStatusInput = z.infer<typeof advanceOrderPreparationStatusInputSchema>;
|
|
15904
|
-
declare const advanceOrderPreparationStatusResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
16335
|
+
declare const advanceOrderPreparationStatusResponseSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
15905
16336
|
id: z.ZodString;
|
|
15906
16337
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
15907
16338
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -16194,7 +16625,7 @@ declare const advanceOrderPreparationStatusResponseSchema: z.ZodDiscriminatedUni
|
|
|
16194
16625
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
16195
16626
|
createdAt: z.ZodString;
|
|
16196
16627
|
updatedAt: z.ZodString;
|
|
16197
|
-
type: z.ZodLiteral<"
|
|
16628
|
+
type: z.ZodLiteral<"collection">;
|
|
16198
16629
|
address: z.ZodNull;
|
|
16199
16630
|
location: z.ZodNull;
|
|
16200
16631
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -16463,14 +16894,14 @@ declare const advanceOrderPreparationStatusResponseSchema: z.ZodDiscriminatedUni
|
|
|
16463
16894
|
updatedAt: z.ZodString;
|
|
16464
16895
|
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
16465
16896
|
}, z.core.$strip>>;
|
|
16466
|
-
}, z.core.$strip>], "type"
|
|
16897
|
+
}, z.core.$strip>], "type">>;
|
|
16467
16898
|
type AdvanceOrderPreparationStatusResponse = z.infer<typeof advanceOrderPreparationStatusResponseSchema>;
|
|
16468
16899
|
declare class AdvanceOrderPreparationStatus extends AbstractApiRequest<typeof advanceOrderPreparationStatusInputSchema, typeof advanceOrderPreparationStatusResponseSchema> {
|
|
16469
16900
|
readonly method = "POST";
|
|
16470
16901
|
readonly contentType = "application/json";
|
|
16471
16902
|
readonly accept = "application/json";
|
|
16472
16903
|
readonly inputSchema: z.ZodUndefined;
|
|
16473
|
-
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
16904
|
+
readonly outputSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
16474
16905
|
id: z.ZodString;
|
|
16475
16906
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
16476
16907
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -16763,7 +17194,7 @@ declare class AdvanceOrderPreparationStatus extends AbstractApiRequest<typeof ad
|
|
|
16763
17194
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
16764
17195
|
createdAt: z.ZodString;
|
|
16765
17196
|
updatedAt: z.ZodString;
|
|
16766
|
-
type: z.ZodLiteral<"
|
|
17197
|
+
type: z.ZodLiteral<"collection">;
|
|
16767
17198
|
address: z.ZodNull;
|
|
16768
17199
|
location: z.ZodNull;
|
|
16769
17200
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -17032,7 +17463,7 @@ declare class AdvanceOrderPreparationStatus extends AbstractApiRequest<typeof ad
|
|
|
17032
17463
|
updatedAt: z.ZodString;
|
|
17033
17464
|
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
17034
17465
|
}, z.core.$strip>>;
|
|
17035
|
-
}, z.core.$strip>], "type"
|
|
17466
|
+
}, z.core.$strip>], "type">>;
|
|
17036
17467
|
readonly querySchema: undefined;
|
|
17037
17468
|
readonly headersSchema: undefined;
|
|
17038
17469
|
private readonly orderId;
|
|
@@ -17113,6 +17544,69 @@ declare const calculateOrderFeesInputSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
17113
17544
|
resolveLocationFromAddress: z.ZodDefault<z.ZodBoolean>;
|
|
17114
17545
|
deliveryTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17115
17546
|
collectionTime: z.ZodOptional<z.ZodNever>;
|
|
17547
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
17548
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
17549
|
+
customer: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/customers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/customers/:id"> | null, unknown>>>;
|
|
17550
|
+
source: z.ZodEnum<{
|
|
17551
|
+
application: "application";
|
|
17552
|
+
ecommerce: "ecommerce";
|
|
17553
|
+
partner: "partner";
|
|
17554
|
+
}>;
|
|
17555
|
+
partner: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
17556
|
+
deliveroo: "deliveroo";
|
|
17557
|
+
justeat: "justeat";
|
|
17558
|
+
glovo: "glovo";
|
|
17559
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
17560
|
+
}>>>;
|
|
17561
|
+
partnerIdentifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17562
|
+
displayId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17563
|
+
customerInfo: z.ZodOptional<z.ZodObject<{
|
|
17564
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17565
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17566
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
17567
|
+
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
17568
|
+
contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17569
|
+
contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17570
|
+
}, z.core.$strict>>;
|
|
17571
|
+
billingInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
17572
|
+
businessName: z.ZodString;
|
|
17573
|
+
vat: z.ZodString;
|
|
17574
|
+
taxCode: z.ZodString;
|
|
17575
|
+
billingAddress: z.ZodObject<{
|
|
17576
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17577
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17578
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17579
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17580
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17581
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17582
|
+
}, z.core.$strip>;
|
|
17583
|
+
billingData: z.ZodObject<{
|
|
17584
|
+
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
17585
|
+
pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
|
|
17586
|
+
}, z.core.$strip>;
|
|
17587
|
+
}, z.core.$strip>>>;
|
|
17588
|
+
customerBusinessProfile: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/customers/business_profiles/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/customers/business_profiles/:id"> | null, unknown>>>;
|
|
17589
|
+
preparationStatus: z.ZodOptional<z.ZodEnum<{
|
|
17590
|
+
to_prepare: "to_prepare";
|
|
17591
|
+
in_preparation: "in_preparation";
|
|
17592
|
+
done: "done";
|
|
17593
|
+
}>>;
|
|
17594
|
+
preparationTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17595
|
+
discount: z.ZodOptional<z.ZodString>;
|
|
17596
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17597
|
+
deliveryNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17598
|
+
kitchenNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17599
|
+
autoAccept: z.ZodOptional<z.ZodBoolean>;
|
|
17600
|
+
forceScheduling: z.ZodOptional<z.ZodBoolean>;
|
|
17601
|
+
items: z.ZodArray<z.ZodType<WritableOrderMenuItem, unknown, z.core.$ZodTypeInternals<WritableOrderMenuItem, unknown>>>;
|
|
17602
|
+
type: z.ZodLiteral<"collection">;
|
|
17603
|
+
collectionTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17604
|
+
address: z.ZodOptional<z.ZodNever>;
|
|
17605
|
+
customerAddress: z.ZodOptional<z.ZodNever>;
|
|
17606
|
+
locationData: z.ZodOptional<z.ZodNever>;
|
|
17607
|
+
referenceBundle: z.ZodOptional<z.ZodNever>;
|
|
17608
|
+
resolveLocationFromAddress: z.ZodOptional<z.ZodNever>;
|
|
17609
|
+
deliveryTime: z.ZodOptional<z.ZodNever>;
|
|
17116
17610
|
}, z.core.$strip>, z.ZodObject<{
|
|
17117
17611
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
17118
17612
|
customer: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/customers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/customers/:id"> | null, unknown>>>;
|
|
@@ -17313,24 +17807,87 @@ declare class CalculateOrderFees extends AbstractApiRequest<typeof calculateOrde
|
|
|
17313
17807
|
autoAccept: z.ZodOptional<z.ZodBoolean>;
|
|
17314
17808
|
forceScheduling: z.ZodOptional<z.ZodBoolean>;
|
|
17315
17809
|
items: z.ZodArray<z.ZodType<WritableOrderMenuItem, unknown, z.core.$ZodTypeInternals<WritableOrderMenuItem, unknown>>>;
|
|
17316
|
-
type: z.ZodLiteral<"delivery">;
|
|
17317
|
-
address: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
17318
|
-
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17319
|
-
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17320
|
-
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17321
|
-
line1: z.ZodString;
|
|
17322
|
-
city: z.ZodString;
|
|
17323
|
-
postalCode: z.ZodString;
|
|
17324
|
-
}, z.core.$strip>>>;
|
|
17325
|
-
customerAddress: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/customers/address/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/customers/address/:id"> | null, unknown>>>;
|
|
17326
|
-
locationData: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
17327
|
-
latitude: z.ZodNumber;
|
|
17328
|
-
longitude: z.ZodNumber;
|
|
17329
|
-
}, z.core.$strip>>>;
|
|
17330
|
-
referenceBundle: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/bundles/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/bundles/:id"> | null, unknown>>>;
|
|
17331
|
-
resolveLocationFromAddress: z.ZodDefault<z.ZodBoolean>;
|
|
17332
|
-
deliveryTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17333
|
-
collectionTime: z.ZodOptional<z.ZodNever>;
|
|
17810
|
+
type: z.ZodLiteral<"delivery">;
|
|
17811
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
17812
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17813
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17814
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17815
|
+
line1: z.ZodString;
|
|
17816
|
+
city: z.ZodString;
|
|
17817
|
+
postalCode: z.ZodString;
|
|
17818
|
+
}, z.core.$strip>>>;
|
|
17819
|
+
customerAddress: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/customers/address/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/customers/address/:id"> | null, unknown>>>;
|
|
17820
|
+
locationData: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
17821
|
+
latitude: z.ZodNumber;
|
|
17822
|
+
longitude: z.ZodNumber;
|
|
17823
|
+
}, z.core.$strip>>>;
|
|
17824
|
+
referenceBundle: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/bundles/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/bundles/:id"> | null, unknown>>>;
|
|
17825
|
+
resolveLocationFromAddress: z.ZodDefault<z.ZodBoolean>;
|
|
17826
|
+
deliveryTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17827
|
+
collectionTime: z.ZodOptional<z.ZodNever>;
|
|
17828
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
17829
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
17830
|
+
customer: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/customers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/customers/:id"> | null, unknown>>>;
|
|
17831
|
+
source: z.ZodEnum<{
|
|
17832
|
+
application: "application";
|
|
17833
|
+
ecommerce: "ecommerce";
|
|
17834
|
+
partner: "partner";
|
|
17835
|
+
}>;
|
|
17836
|
+
partner: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
17837
|
+
deliveroo: "deliveroo";
|
|
17838
|
+
justeat: "justeat";
|
|
17839
|
+
glovo: "glovo";
|
|
17840
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
17841
|
+
}>>>;
|
|
17842
|
+
partnerIdentifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17843
|
+
displayId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17844
|
+
customerInfo: z.ZodOptional<z.ZodObject<{
|
|
17845
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17846
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17847
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
17848
|
+
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
17849
|
+
contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17850
|
+
contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17851
|
+
}, z.core.$strict>>;
|
|
17852
|
+
billingInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
17853
|
+
businessName: z.ZodString;
|
|
17854
|
+
vat: z.ZodString;
|
|
17855
|
+
taxCode: z.ZodString;
|
|
17856
|
+
billingAddress: z.ZodObject<{
|
|
17857
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17858
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17859
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17860
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17861
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17862
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17863
|
+
}, z.core.$strip>;
|
|
17864
|
+
billingData: z.ZodObject<{
|
|
17865
|
+
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
17866
|
+
pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
|
|
17867
|
+
}, z.core.$strip>;
|
|
17868
|
+
}, z.core.$strip>>>;
|
|
17869
|
+
customerBusinessProfile: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/customers/business_profiles/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/customers/business_profiles/:id"> | null, unknown>>>;
|
|
17870
|
+
preparationStatus: z.ZodOptional<z.ZodEnum<{
|
|
17871
|
+
to_prepare: "to_prepare";
|
|
17872
|
+
in_preparation: "in_preparation";
|
|
17873
|
+
done: "done";
|
|
17874
|
+
}>>;
|
|
17875
|
+
preparationTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17876
|
+
discount: z.ZodOptional<z.ZodString>;
|
|
17877
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17878
|
+
deliveryNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17879
|
+
kitchenNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17880
|
+
autoAccept: z.ZodOptional<z.ZodBoolean>;
|
|
17881
|
+
forceScheduling: z.ZodOptional<z.ZodBoolean>;
|
|
17882
|
+
items: z.ZodArray<z.ZodType<WritableOrderMenuItem, unknown, z.core.$ZodTypeInternals<WritableOrderMenuItem, unknown>>>;
|
|
17883
|
+
type: z.ZodLiteral<"collection">;
|
|
17884
|
+
collectionTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17885
|
+
address: z.ZodOptional<z.ZodNever>;
|
|
17886
|
+
customerAddress: z.ZodOptional<z.ZodNever>;
|
|
17887
|
+
locationData: z.ZodOptional<z.ZodNever>;
|
|
17888
|
+
referenceBundle: z.ZodOptional<z.ZodNever>;
|
|
17889
|
+
resolveLocationFromAddress: z.ZodOptional<z.ZodNever>;
|
|
17890
|
+
deliveryTime: z.ZodOptional<z.ZodNever>;
|
|
17334
17891
|
}, z.core.$strip>, z.ZodObject<{
|
|
17335
17892
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
17336
17893
|
customer: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/customers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/customers/:id"> | null, unknown>>>;
|
|
@@ -17478,7 +18035,7 @@ declare class CalculateOrderFees extends AbstractApiRequest<typeof calculateOrde
|
|
|
17478
18035
|
|
|
17479
18036
|
declare const confirmOrderInputSchema: z.ZodUndefined;
|
|
17480
18037
|
type ConfirmOrderInput = z.infer<typeof confirmOrderInputSchema>;
|
|
17481
|
-
declare const confirmOrderResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
18038
|
+
declare const confirmOrderResponseSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
17482
18039
|
id: z.ZodString;
|
|
17483
18040
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
17484
18041
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -17771,7 +18328,7 @@ declare const confirmOrderResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
17771
18328
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
17772
18329
|
createdAt: z.ZodString;
|
|
17773
18330
|
updatedAt: z.ZodString;
|
|
17774
|
-
type: z.ZodLiteral<"
|
|
18331
|
+
type: z.ZodLiteral<"collection">;
|
|
17775
18332
|
address: z.ZodNull;
|
|
17776
18333
|
location: z.ZodNull;
|
|
17777
18334
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -18040,14 +18597,14 @@ declare const confirmOrderResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
18040
18597
|
updatedAt: z.ZodString;
|
|
18041
18598
|
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
18042
18599
|
}, z.core.$strip>>;
|
|
18043
|
-
}, z.core.$strip>], "type"
|
|
18600
|
+
}, z.core.$strip>], "type">>;
|
|
18044
18601
|
type ConfirmOrderResponse = z.infer<typeof confirmOrderResponseSchema>;
|
|
18045
18602
|
declare class ConfirmOrder extends AbstractApiRequest<typeof confirmOrderInputSchema, typeof confirmOrderResponseSchema> {
|
|
18046
18603
|
readonly method = "POST";
|
|
18047
18604
|
readonly contentType = "application/json";
|
|
18048
18605
|
readonly accept = "application/json";
|
|
18049
18606
|
readonly inputSchema: z.ZodUndefined;
|
|
18050
|
-
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
18607
|
+
readonly outputSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
18051
18608
|
id: z.ZodString;
|
|
18052
18609
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
18053
18610
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -18340,7 +18897,7 @@ declare class ConfirmOrder extends AbstractApiRequest<typeof confirmOrderInputSc
|
|
|
18340
18897
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
18341
18898
|
createdAt: z.ZodString;
|
|
18342
18899
|
updatedAt: z.ZodString;
|
|
18343
|
-
type: z.ZodLiteral<"
|
|
18900
|
+
type: z.ZodLiteral<"collection">;
|
|
18344
18901
|
address: z.ZodNull;
|
|
18345
18902
|
location: z.ZodNull;
|
|
18346
18903
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -18609,7 +19166,7 @@ declare class ConfirmOrder extends AbstractApiRequest<typeof confirmOrderInputSc
|
|
|
18609
19166
|
updatedAt: z.ZodString;
|
|
18610
19167
|
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
18611
19168
|
}, z.core.$strip>>;
|
|
18612
|
-
}, z.core.$strip>], "type"
|
|
19169
|
+
}, z.core.$strip>], "type">>;
|
|
18613
19170
|
readonly querySchema: undefined;
|
|
18614
19171
|
readonly headersSchema: undefined;
|
|
18615
19172
|
private readonly orderId;
|
|
@@ -18690,6 +19247,69 @@ declare const createOrderInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
18690
19247
|
resolveLocationFromAddress: z.ZodDefault<z.ZodBoolean>;
|
|
18691
19248
|
deliveryTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18692
19249
|
collectionTime: z.ZodOptional<z.ZodNever>;
|
|
19250
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19251
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
19252
|
+
customer: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/customers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/customers/:id"> | null, unknown>>>;
|
|
19253
|
+
source: z.ZodEnum<{
|
|
19254
|
+
application: "application";
|
|
19255
|
+
ecommerce: "ecommerce";
|
|
19256
|
+
partner: "partner";
|
|
19257
|
+
}>;
|
|
19258
|
+
partner: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
19259
|
+
deliveroo: "deliveroo";
|
|
19260
|
+
justeat: "justeat";
|
|
19261
|
+
glovo: "glovo";
|
|
19262
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
19263
|
+
}>>>;
|
|
19264
|
+
partnerIdentifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19265
|
+
displayId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19266
|
+
customerInfo: z.ZodOptional<z.ZodObject<{
|
|
19267
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19268
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19269
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
19270
|
+
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
19271
|
+
contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19272
|
+
contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19273
|
+
}, z.core.$strict>>;
|
|
19274
|
+
billingInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
19275
|
+
businessName: z.ZodString;
|
|
19276
|
+
vat: z.ZodString;
|
|
19277
|
+
taxCode: z.ZodString;
|
|
19278
|
+
billingAddress: z.ZodObject<{
|
|
19279
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19280
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19281
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19282
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19283
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19284
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19285
|
+
}, z.core.$strip>;
|
|
19286
|
+
billingData: z.ZodObject<{
|
|
19287
|
+
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
19288
|
+
pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
|
|
19289
|
+
}, z.core.$strip>;
|
|
19290
|
+
}, z.core.$strip>>>;
|
|
19291
|
+
customerBusinessProfile: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/customers/business_profiles/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/customers/business_profiles/:id"> | null, unknown>>>;
|
|
19292
|
+
preparationStatus: z.ZodOptional<z.ZodEnum<{
|
|
19293
|
+
to_prepare: "to_prepare";
|
|
19294
|
+
in_preparation: "in_preparation";
|
|
19295
|
+
done: "done";
|
|
19296
|
+
}>>;
|
|
19297
|
+
preparationTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19298
|
+
discount: z.ZodOptional<z.ZodString>;
|
|
19299
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19300
|
+
deliveryNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19301
|
+
kitchenNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19302
|
+
autoAccept: z.ZodOptional<z.ZodBoolean>;
|
|
19303
|
+
forceScheduling: z.ZodOptional<z.ZodBoolean>;
|
|
19304
|
+
items: z.ZodArray<z.ZodType<WritableOrderMenuItem, unknown, z.core.$ZodTypeInternals<WritableOrderMenuItem, unknown>>>;
|
|
19305
|
+
type: z.ZodLiteral<"collection">;
|
|
19306
|
+
collectionTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19307
|
+
address: z.ZodOptional<z.ZodNever>;
|
|
19308
|
+
customerAddress: z.ZodOptional<z.ZodNever>;
|
|
19309
|
+
locationData: z.ZodOptional<z.ZodNever>;
|
|
19310
|
+
referenceBundle: z.ZodOptional<z.ZodNever>;
|
|
19311
|
+
resolveLocationFromAddress: z.ZodOptional<z.ZodNever>;
|
|
19312
|
+
deliveryTime: z.ZodOptional<z.ZodNever>;
|
|
18693
19313
|
}, z.core.$strip>, z.ZodObject<{
|
|
18694
19314
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
18695
19315
|
customer: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/customers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/customers/:id"> | null, unknown>>>;
|
|
@@ -18818,7 +19438,7 @@ declare const createOrderInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
18818
19438
|
collectionTime: z.ZodOptional<z.ZodNever>;
|
|
18819
19439
|
}, z.core.$strip>], "type">;
|
|
18820
19440
|
type CreateOrderInput = z.input<typeof createOrderInputSchema>;
|
|
18821
|
-
declare const createOrderResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19441
|
+
declare const createOrderResponseSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
18822
19442
|
id: z.ZodString;
|
|
18823
19443
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
18824
19444
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -19111,7 +19731,7 @@ declare const createOrderResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
19111
19731
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
19112
19732
|
createdAt: z.ZodString;
|
|
19113
19733
|
updatedAt: z.ZodString;
|
|
19114
|
-
type: z.ZodLiteral<"
|
|
19734
|
+
type: z.ZodLiteral<"collection">;
|
|
19115
19735
|
address: z.ZodNull;
|
|
19116
19736
|
location: z.ZodNull;
|
|
19117
19737
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -19380,7 +20000,7 @@ declare const createOrderResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
19380
20000
|
updatedAt: z.ZodString;
|
|
19381
20001
|
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
19382
20002
|
}, z.core.$strip>>;
|
|
19383
|
-
}, z.core.$strip>], "type"
|
|
20003
|
+
}, z.core.$strip>], "type">>;
|
|
19384
20004
|
type CreateOrderResponse = z.infer<typeof createOrderResponseSchema>;
|
|
19385
20005
|
declare class CreateOrder extends AbstractApiRequest<typeof createOrderInputSchema, typeof createOrderResponseSchema> {
|
|
19386
20006
|
readonly method = "POST";
|
|
@@ -19459,6 +20079,69 @@ declare class CreateOrder extends AbstractApiRequest<typeof createOrderInputSche
|
|
|
19459
20079
|
resolveLocationFromAddress: z.ZodDefault<z.ZodBoolean>;
|
|
19460
20080
|
deliveryTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19461
20081
|
collectionTime: z.ZodOptional<z.ZodNever>;
|
|
20082
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
20083
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
20084
|
+
customer: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/customers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/customers/:id"> | null, unknown>>>;
|
|
20085
|
+
source: z.ZodEnum<{
|
|
20086
|
+
application: "application";
|
|
20087
|
+
ecommerce: "ecommerce";
|
|
20088
|
+
partner: "partner";
|
|
20089
|
+
}>;
|
|
20090
|
+
partner: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
20091
|
+
deliveroo: "deliveroo";
|
|
20092
|
+
justeat: "justeat";
|
|
20093
|
+
glovo: "glovo";
|
|
20094
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
20095
|
+
}>>>;
|
|
20096
|
+
partnerIdentifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20097
|
+
displayId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20098
|
+
customerInfo: z.ZodOptional<z.ZodObject<{
|
|
20099
|
+
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20100
|
+
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20101
|
+
email: z.ZodNullable<z.ZodEmail>;
|
|
20102
|
+
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
20103
|
+
contactNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20104
|
+
contactAccessCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20105
|
+
}, z.core.$strict>>;
|
|
20106
|
+
billingInfo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
20107
|
+
businessName: z.ZodString;
|
|
20108
|
+
vat: z.ZodString;
|
|
20109
|
+
taxCode: z.ZodString;
|
|
20110
|
+
billingAddress: z.ZodObject<{
|
|
20111
|
+
line1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20112
|
+
line2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20113
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20114
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20115
|
+
postalCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20116
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20117
|
+
}, z.core.$strip>;
|
|
20118
|
+
billingData: z.ZodObject<{
|
|
20119
|
+
sdi: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
20120
|
+
pec: z.ZodNullable<z.ZodOptional<z.ZodEmail>>;
|
|
20121
|
+
}, z.core.$strip>;
|
|
20122
|
+
}, z.core.$strip>>>;
|
|
20123
|
+
customerBusinessProfile: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/customers/business_profiles/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/customers/business_profiles/:id"> | null, unknown>>>;
|
|
20124
|
+
preparationStatus: z.ZodOptional<z.ZodEnum<{
|
|
20125
|
+
to_prepare: "to_prepare";
|
|
20126
|
+
in_preparation: "in_preparation";
|
|
20127
|
+
done: "done";
|
|
20128
|
+
}>>;
|
|
20129
|
+
preparationTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20130
|
+
discount: z.ZodOptional<z.ZodString>;
|
|
20131
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20132
|
+
deliveryNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20133
|
+
kitchenNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20134
|
+
autoAccept: z.ZodOptional<z.ZodBoolean>;
|
|
20135
|
+
forceScheduling: z.ZodOptional<z.ZodBoolean>;
|
|
20136
|
+
items: z.ZodArray<z.ZodType<WritableOrderMenuItem, unknown, z.core.$ZodTypeInternals<WritableOrderMenuItem, unknown>>>;
|
|
20137
|
+
type: z.ZodLiteral<"collection">;
|
|
20138
|
+
collectionTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20139
|
+
address: z.ZodOptional<z.ZodNever>;
|
|
20140
|
+
customerAddress: z.ZodOptional<z.ZodNever>;
|
|
20141
|
+
locationData: z.ZodOptional<z.ZodNever>;
|
|
20142
|
+
referenceBundle: z.ZodOptional<z.ZodNever>;
|
|
20143
|
+
resolveLocationFromAddress: z.ZodOptional<z.ZodNever>;
|
|
20144
|
+
deliveryTime: z.ZodOptional<z.ZodNever>;
|
|
19462
20145
|
}, z.core.$strip>, z.ZodObject<{
|
|
19463
20146
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
19464
20147
|
customer: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/customers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/customers/:id"> | null, unknown>>>;
|
|
@@ -19586,7 +20269,7 @@ declare class CreateOrder extends AbstractApiRequest<typeof createOrderInputSche
|
|
|
19586
20269
|
deliveryTime: z.ZodOptional<z.ZodNever>;
|
|
19587
20270
|
collectionTime: z.ZodOptional<z.ZodNever>;
|
|
19588
20271
|
}, z.core.$strip>], "type">;
|
|
19589
|
-
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
20272
|
+
readonly outputSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
19590
20273
|
id: z.ZodString;
|
|
19591
20274
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
19592
20275
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -19879,7 +20562,7 @@ declare class CreateOrder extends AbstractApiRequest<typeof createOrderInputSche
|
|
|
19879
20562
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
19880
20563
|
createdAt: z.ZodString;
|
|
19881
20564
|
updatedAt: z.ZodString;
|
|
19882
|
-
type: z.ZodLiteral<"
|
|
20565
|
+
type: z.ZodLiteral<"collection">;
|
|
19883
20566
|
address: z.ZodNull;
|
|
19884
20567
|
location: z.ZodNull;
|
|
19885
20568
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -20148,7 +20831,7 @@ declare class CreateOrder extends AbstractApiRequest<typeof createOrderInputSche
|
|
|
20148
20831
|
updatedAt: z.ZodString;
|
|
20149
20832
|
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
20150
20833
|
}, z.core.$strip>>;
|
|
20151
|
-
}, z.core.$strip>], "type"
|
|
20834
|
+
}, z.core.$strip>], "type">>;
|
|
20152
20835
|
readonly querySchema: undefined;
|
|
20153
20836
|
readonly headersSchema: undefined;
|
|
20154
20837
|
constructor(input: CreateOrderInput);
|
|
@@ -20171,15 +20854,15 @@ declare class DeleteOrder extends AbstractApiRequest<typeof deleteOrderInputSche
|
|
|
20171
20854
|
}
|
|
20172
20855
|
|
|
20173
20856
|
declare const getCustomerOrdersQuerySchema: z.ZodObject<{
|
|
20174
|
-
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
20857
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
|
|
20175
20858
|
delivery: "delivery";
|
|
20176
|
-
|
|
20859
|
+
collection: "collection";
|
|
20177
20860
|
kitchen: "kitchen";
|
|
20178
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
20861
|
+
}>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection" | "kitchen", "delivery" | "collection" | "kitchen" | "take_away">>, z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
|
|
20179
20862
|
delivery: "delivery";
|
|
20180
|
-
|
|
20863
|
+
collection: "collection";
|
|
20181
20864
|
kitchen: "kitchen";
|
|
20182
|
-
}
|
|
20865
|
+
}>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection" | "kitchen", "delivery" | "collection" | "kitchen" | "take_away">>>]>>;
|
|
20183
20866
|
source: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
20184
20867
|
application: "application";
|
|
20185
20868
|
ecommerce: "ecommerce";
|
|
@@ -20396,7 +21079,7 @@ type GetCustomerOrdersQueryParams = z.infer<typeof getCustomerOrdersQuerySchema>
|
|
|
20396
21079
|
declare const getCustomerOrdersInputSchema: z.ZodUndefined;
|
|
20397
21080
|
type GetCustomerOrdersInput = z.infer<typeof getCustomerOrdersInputSchema>;
|
|
20398
21081
|
declare const getCustomerOrdersResponseSchema: z.ZodObject<{
|
|
20399
|
-
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
21082
|
+
data: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
20400
21083
|
id: z.ZodString;
|
|
20401
21084
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
20402
21085
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -20614,7 +21297,7 @@ declare const getCustomerOrdersResponseSchema: z.ZodObject<{
|
|
|
20614
21297
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
20615
21298
|
createdAt: z.ZodString;
|
|
20616
21299
|
updatedAt: z.ZodString;
|
|
20617
|
-
type: z.ZodLiteral<"
|
|
21300
|
+
type: z.ZodLiteral<"collection">;
|
|
20618
21301
|
address: z.ZodNull;
|
|
20619
21302
|
location: z.ZodNull;
|
|
20620
21303
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -20733,7 +21416,7 @@ declare const getCustomerOrdersResponseSchema: z.ZodObject<{
|
|
|
20733
21416
|
requestedCollectionTime: z.ZodNull;
|
|
20734
21417
|
finalCollectionTime: z.ZodNull;
|
|
20735
21418
|
collectedAt: z.ZodNull;
|
|
20736
|
-
}, z.core.$strip>], "type"
|
|
21419
|
+
}, z.core.$strip>], "type">>>;
|
|
20737
21420
|
pagination: z.ZodObject<{
|
|
20738
21421
|
from: z.ZodCoercedNumber<unknown>;
|
|
20739
21422
|
to: z.ZodCoercedNumber<unknown>;
|
|
@@ -20750,7 +21433,7 @@ declare class GetCustomerOrders extends AbstractApiRequest<typeof getCustomerOrd
|
|
|
20750
21433
|
readonly accept: "application/json";
|
|
20751
21434
|
readonly inputSchema: z.ZodUndefined;
|
|
20752
21435
|
readonly outputSchema: z.ZodObject<{
|
|
20753
|
-
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
21436
|
+
data: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
20754
21437
|
id: z.ZodString;
|
|
20755
21438
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
20756
21439
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -20968,7 +21651,7 @@ declare class GetCustomerOrders extends AbstractApiRequest<typeof getCustomerOrd
|
|
|
20968
21651
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
20969
21652
|
createdAt: z.ZodString;
|
|
20970
21653
|
updatedAt: z.ZodString;
|
|
20971
|
-
type: z.ZodLiteral<"
|
|
21654
|
+
type: z.ZodLiteral<"collection">;
|
|
20972
21655
|
address: z.ZodNull;
|
|
20973
21656
|
location: z.ZodNull;
|
|
20974
21657
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -21087,7 +21770,7 @@ declare class GetCustomerOrders extends AbstractApiRequest<typeof getCustomerOrd
|
|
|
21087
21770
|
requestedCollectionTime: z.ZodNull;
|
|
21088
21771
|
finalCollectionTime: z.ZodNull;
|
|
21089
21772
|
collectedAt: z.ZodNull;
|
|
21090
|
-
}, z.core.$strip>], "type"
|
|
21773
|
+
}, z.core.$strip>], "type">>>;
|
|
21091
21774
|
pagination: z.ZodObject<{
|
|
21092
21775
|
from: z.ZodCoercedNumber<unknown>;
|
|
21093
21776
|
to: z.ZodCoercedNumber<unknown>;
|
|
@@ -21098,15 +21781,15 @@ declare class GetCustomerOrders extends AbstractApiRequest<typeof getCustomerOrd
|
|
|
21098
21781
|
}, z.core.$strip>;
|
|
21099
21782
|
}, z.core.$strip>;
|
|
21100
21783
|
readonly querySchema: z.ZodObject<{
|
|
21101
|
-
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
21784
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
|
|
21102
21785
|
delivery: "delivery";
|
|
21103
|
-
|
|
21786
|
+
collection: "collection";
|
|
21104
21787
|
kitchen: "kitchen";
|
|
21105
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
21788
|
+
}>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection" | "kitchen", "delivery" | "collection" | "kitchen" | "take_away">>, z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
|
|
21106
21789
|
delivery: "delivery";
|
|
21107
|
-
|
|
21790
|
+
collection: "collection";
|
|
21108
21791
|
kitchen: "kitchen";
|
|
21109
|
-
}
|
|
21792
|
+
}>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection" | "kitchen", "delivery" | "collection" | "kitchen" | "take_away">>>]>>;
|
|
21110
21793
|
source: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
21111
21794
|
application: "application";
|
|
21112
21795
|
ecommerce: "ecommerce";
|
|
@@ -21320,7 +22003,7 @@ declare class GetCustomerOrders extends AbstractApiRequest<typeof getCustomerOrd
|
|
|
21320
22003
|
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
21321
22004
|
}, z.core.$strip>;
|
|
21322
22005
|
readonly headersSchema: undefined;
|
|
21323
|
-
readonly listItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
22006
|
+
readonly listItemSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
21324
22007
|
id: z.ZodString;
|
|
21325
22008
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
21326
22009
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -21538,7 +22221,7 @@ declare class GetCustomerOrders extends AbstractApiRequest<typeof getCustomerOrd
|
|
|
21538
22221
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
21539
22222
|
createdAt: z.ZodString;
|
|
21540
22223
|
updatedAt: z.ZodString;
|
|
21541
|
-
type: z.ZodLiteral<"
|
|
22224
|
+
type: z.ZodLiteral<"collection">;
|
|
21542
22225
|
address: z.ZodNull;
|
|
21543
22226
|
location: z.ZodNull;
|
|
21544
22227
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -21657,7 +22340,7 @@ declare class GetCustomerOrders extends AbstractApiRequest<typeof getCustomerOrd
|
|
|
21657
22340
|
requestedCollectionTime: z.ZodNull;
|
|
21658
22341
|
finalCollectionTime: z.ZodNull;
|
|
21659
22342
|
collectedAt: z.ZodNull;
|
|
21660
|
-
}, z.core.$strip>], "type"
|
|
22343
|
+
}, z.core.$strip>], "type">>;
|
|
21661
22344
|
readonly paginationDefaultEnabled = true;
|
|
21662
22345
|
private readonly customerId;
|
|
21663
22346
|
constructor(customerId: string, options?: {
|
|
@@ -21668,7 +22351,7 @@ declare class GetCustomerOrders extends AbstractApiRequest<typeof getCustomerOrd
|
|
|
21668
22351
|
|
|
21669
22352
|
declare const generateOrderBundleInputSchema: z.ZodUndefined;
|
|
21670
22353
|
type GenerateOrderBundleInput = z.infer<typeof generateOrderBundleInputSchema>;
|
|
21671
|
-
declare const generateOrderBundleResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
22354
|
+
declare const generateOrderBundleResponseSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
21672
22355
|
id: z.ZodString;
|
|
21673
22356
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
21674
22357
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -21961,7 +22644,7 @@ declare const generateOrderBundleResponseSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
21961
22644
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
21962
22645
|
createdAt: z.ZodString;
|
|
21963
22646
|
updatedAt: z.ZodString;
|
|
21964
|
-
type: z.ZodLiteral<"
|
|
22647
|
+
type: z.ZodLiteral<"collection">;
|
|
21965
22648
|
address: z.ZodNull;
|
|
21966
22649
|
location: z.ZodNull;
|
|
21967
22650
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -22230,14 +22913,14 @@ declare const generateOrderBundleResponseSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
22230
22913
|
updatedAt: z.ZodString;
|
|
22231
22914
|
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
22232
22915
|
}, z.core.$strip>>;
|
|
22233
|
-
}, z.core.$strip>], "type"
|
|
22916
|
+
}, z.core.$strip>], "type">>;
|
|
22234
22917
|
type GenerateOrderBundleResponse = z.infer<typeof generateOrderBundleResponseSchema>;
|
|
22235
22918
|
declare class GenerateOrderBundle extends AbstractApiRequest<typeof generateOrderBundleInputSchema, typeof generateOrderBundleResponseSchema> {
|
|
22236
22919
|
readonly method: "POST";
|
|
22237
22920
|
readonly contentType: "application/json";
|
|
22238
22921
|
readonly accept: "application/json";
|
|
22239
22922
|
readonly inputSchema: z.ZodUndefined;
|
|
22240
|
-
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
22923
|
+
readonly outputSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
22241
22924
|
id: z.ZodString;
|
|
22242
22925
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
22243
22926
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -22530,7 +23213,7 @@ declare class GenerateOrderBundle extends AbstractApiRequest<typeof generateOrde
|
|
|
22530
23213
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
22531
23214
|
createdAt: z.ZodString;
|
|
22532
23215
|
updatedAt: z.ZodString;
|
|
22533
|
-
type: z.ZodLiteral<"
|
|
23216
|
+
type: z.ZodLiteral<"collection">;
|
|
22534
23217
|
address: z.ZodNull;
|
|
22535
23218
|
location: z.ZodNull;
|
|
22536
23219
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -22799,7 +23482,7 @@ declare class GenerateOrderBundle extends AbstractApiRequest<typeof generateOrde
|
|
|
22799
23482
|
updatedAt: z.ZodString;
|
|
22800
23483
|
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
22801
23484
|
}, z.core.$strip>>;
|
|
22802
|
-
}, z.core.$strip>], "type"
|
|
23485
|
+
}, z.core.$strip>], "type">>;
|
|
22803
23486
|
readonly querySchema: undefined;
|
|
22804
23487
|
readonly headersSchema: undefined;
|
|
22805
23488
|
private readonly orderId;
|
|
@@ -22809,7 +23492,7 @@ declare class GenerateOrderBundle extends AbstractApiRequest<typeof generateOrde
|
|
|
22809
23492
|
|
|
22810
23493
|
declare const getOrderDetailsInputSchema: z.ZodUndefined;
|
|
22811
23494
|
type GetOrderDetailsInput = z.infer<typeof getOrderDetailsInputSchema>;
|
|
22812
|
-
declare const getOrderDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
23495
|
+
declare const getOrderDetailsResponseSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
22813
23496
|
id: z.ZodString;
|
|
22814
23497
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
22815
23498
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -23102,7 +23785,7 @@ declare const getOrderDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
23102
23785
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
23103
23786
|
createdAt: z.ZodString;
|
|
23104
23787
|
updatedAt: z.ZodString;
|
|
23105
|
-
type: z.ZodLiteral<"
|
|
23788
|
+
type: z.ZodLiteral<"collection">;
|
|
23106
23789
|
address: z.ZodNull;
|
|
23107
23790
|
location: z.ZodNull;
|
|
23108
23791
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -23371,14 +24054,14 @@ declare const getOrderDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
23371
24054
|
updatedAt: z.ZodString;
|
|
23372
24055
|
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
23373
24056
|
}, z.core.$strip>>;
|
|
23374
|
-
}, z.core.$strip>], "type"
|
|
24057
|
+
}, z.core.$strip>], "type">>;
|
|
23375
24058
|
type GetOrderDetailsResponse = z.infer<typeof getOrderDetailsResponseSchema>;
|
|
23376
24059
|
declare class GetOrderDetails extends AbstractApiRequest<typeof getOrderDetailsInputSchema, typeof getOrderDetailsResponseSchema> {
|
|
23377
24060
|
readonly method = "GET";
|
|
23378
24061
|
readonly contentType = "application/json";
|
|
23379
24062
|
readonly accept = "application/json";
|
|
23380
24063
|
readonly inputSchema: z.ZodUndefined;
|
|
23381
|
-
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
24064
|
+
readonly outputSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
23382
24065
|
id: z.ZodString;
|
|
23383
24066
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
23384
24067
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -23671,7 +24354,7 @@ declare class GetOrderDetails extends AbstractApiRequest<typeof getOrderDetailsI
|
|
|
23671
24354
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
23672
24355
|
createdAt: z.ZodString;
|
|
23673
24356
|
updatedAt: z.ZodString;
|
|
23674
|
-
type: z.ZodLiteral<"
|
|
24357
|
+
type: z.ZodLiteral<"collection">;
|
|
23675
24358
|
address: z.ZodNull;
|
|
23676
24359
|
location: z.ZodNull;
|
|
23677
24360
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -23940,7 +24623,7 @@ declare class GetOrderDetails extends AbstractApiRequest<typeof getOrderDetailsI
|
|
|
23940
24623
|
updatedAt: z.ZodString;
|
|
23941
24624
|
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
23942
24625
|
}, z.core.$strip>>;
|
|
23943
|
-
}, z.core.$strip>], "type"
|
|
24626
|
+
}, z.core.$strip>], "type">>;
|
|
23944
24627
|
readonly querySchema: undefined;
|
|
23945
24628
|
readonly headersSchema: undefined;
|
|
23946
24629
|
private readonly orderId;
|
|
@@ -23949,15 +24632,15 @@ declare class GetOrderDetails extends AbstractApiRequest<typeof getOrderDetailsI
|
|
|
23949
24632
|
}
|
|
23950
24633
|
|
|
23951
24634
|
declare const getOrdersQuerySchema: z.ZodObject<{
|
|
23952
|
-
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
24635
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
|
|
23953
24636
|
delivery: "delivery";
|
|
23954
|
-
|
|
24637
|
+
collection: "collection";
|
|
23955
24638
|
kitchen: "kitchen";
|
|
23956
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
24639
|
+
}>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection" | "kitchen", "delivery" | "collection" | "kitchen" | "take_away">>, z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
|
|
23957
24640
|
delivery: "delivery";
|
|
23958
|
-
|
|
24641
|
+
collection: "collection";
|
|
23959
24642
|
kitchen: "kitchen";
|
|
23960
|
-
}
|
|
24643
|
+
}>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection" | "kitchen", "delivery" | "collection" | "kitchen" | "take_away">>>]>>;
|
|
23961
24644
|
source: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
23962
24645
|
application: "application";
|
|
23963
24646
|
ecommerce: "ecommerce";
|
|
@@ -24174,7 +24857,7 @@ type GetOrdersQueryParams = z.infer<typeof getOrdersQuerySchema>;
|
|
|
24174
24857
|
declare const getOrdersInputSchema: z.ZodUndefined;
|
|
24175
24858
|
type GetOrdersInput = z.infer<typeof getOrdersInputSchema>;
|
|
24176
24859
|
declare const getOrdersResponseSchema: z.ZodObject<{
|
|
24177
|
-
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
24860
|
+
data: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
24178
24861
|
id: z.ZodString;
|
|
24179
24862
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
24180
24863
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -24392,7 +25075,7 @@ declare const getOrdersResponseSchema: z.ZodObject<{
|
|
|
24392
25075
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
24393
25076
|
createdAt: z.ZodString;
|
|
24394
25077
|
updatedAt: z.ZodString;
|
|
24395
|
-
type: z.ZodLiteral<"
|
|
25078
|
+
type: z.ZodLiteral<"collection">;
|
|
24396
25079
|
address: z.ZodNull;
|
|
24397
25080
|
location: z.ZodNull;
|
|
24398
25081
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -24511,7 +25194,7 @@ declare const getOrdersResponseSchema: z.ZodObject<{
|
|
|
24511
25194
|
requestedCollectionTime: z.ZodNull;
|
|
24512
25195
|
finalCollectionTime: z.ZodNull;
|
|
24513
25196
|
collectedAt: z.ZodNull;
|
|
24514
|
-
}, z.core.$strip>], "type"
|
|
25197
|
+
}, z.core.$strip>], "type">>>;
|
|
24515
25198
|
pagination: z.ZodObject<{
|
|
24516
25199
|
from: z.ZodCoercedNumber<unknown>;
|
|
24517
25200
|
to: z.ZodCoercedNumber<unknown>;
|
|
@@ -24528,7 +25211,7 @@ declare class GetOrders extends AbstractApiRequest<typeof getOrdersInputSchema,
|
|
|
24528
25211
|
readonly accept: "application/json";
|
|
24529
25212
|
readonly inputSchema: z.ZodUndefined;
|
|
24530
25213
|
readonly outputSchema: z.ZodObject<{
|
|
24531
|
-
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
25214
|
+
data: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
24532
25215
|
id: z.ZodString;
|
|
24533
25216
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
24534
25217
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -24746,7 +25429,7 @@ declare class GetOrders extends AbstractApiRequest<typeof getOrdersInputSchema,
|
|
|
24746
25429
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
24747
25430
|
createdAt: z.ZodString;
|
|
24748
25431
|
updatedAt: z.ZodString;
|
|
24749
|
-
type: z.ZodLiteral<"
|
|
25432
|
+
type: z.ZodLiteral<"collection">;
|
|
24750
25433
|
address: z.ZodNull;
|
|
24751
25434
|
location: z.ZodNull;
|
|
24752
25435
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -24865,7 +25548,7 @@ declare class GetOrders extends AbstractApiRequest<typeof getOrdersInputSchema,
|
|
|
24865
25548
|
requestedCollectionTime: z.ZodNull;
|
|
24866
25549
|
finalCollectionTime: z.ZodNull;
|
|
24867
25550
|
collectedAt: z.ZodNull;
|
|
24868
|
-
}, z.core.$strip>], "type"
|
|
25551
|
+
}, z.core.$strip>], "type">>>;
|
|
24869
25552
|
pagination: z.ZodObject<{
|
|
24870
25553
|
from: z.ZodCoercedNumber<unknown>;
|
|
24871
25554
|
to: z.ZodCoercedNumber<unknown>;
|
|
@@ -24876,15 +25559,15 @@ declare class GetOrders extends AbstractApiRequest<typeof getOrdersInputSchema,
|
|
|
24876
25559
|
}, z.core.$strip>;
|
|
24877
25560
|
}, z.core.$strip>;
|
|
24878
25561
|
readonly querySchema: z.ZodObject<{
|
|
24879
|
-
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
25562
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
|
|
24880
25563
|
delivery: "delivery";
|
|
24881
|
-
|
|
25564
|
+
collection: "collection";
|
|
24882
25565
|
kitchen: "kitchen";
|
|
24883
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
25566
|
+
}>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection" | "kitchen", "delivery" | "collection" | "kitchen" | "take_away">>, z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
|
|
24884
25567
|
delivery: "delivery";
|
|
24885
|
-
|
|
25568
|
+
collection: "collection";
|
|
24886
25569
|
kitchen: "kitchen";
|
|
24887
|
-
}
|
|
25570
|
+
}>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection" | "kitchen", "delivery" | "collection" | "kitchen" | "take_away">>>]>>;
|
|
24888
25571
|
source: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
24889
25572
|
application: "application";
|
|
24890
25573
|
ecommerce: "ecommerce";
|
|
@@ -25098,7 +25781,7 @@ declare class GetOrders extends AbstractApiRequest<typeof getOrdersInputSchema,
|
|
|
25098
25781
|
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
25099
25782
|
}, z.core.$strip>;
|
|
25100
25783
|
readonly headersSchema: undefined;
|
|
25101
|
-
readonly listItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
25784
|
+
readonly listItemSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
25102
25785
|
id: z.ZodString;
|
|
25103
25786
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
25104
25787
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -25316,7 +25999,7 @@ declare class GetOrders extends AbstractApiRequest<typeof getOrdersInputSchema,
|
|
|
25316
25999
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
25317
26000
|
createdAt: z.ZodString;
|
|
25318
26001
|
updatedAt: z.ZodString;
|
|
25319
|
-
type: z.ZodLiteral<"
|
|
26002
|
+
type: z.ZodLiteral<"collection">;
|
|
25320
26003
|
address: z.ZodNull;
|
|
25321
26004
|
location: z.ZodNull;
|
|
25322
26005
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -25435,7 +26118,7 @@ declare class GetOrders extends AbstractApiRequest<typeof getOrdersInputSchema,
|
|
|
25435
26118
|
requestedCollectionTime: z.ZodNull;
|
|
25436
26119
|
finalCollectionTime: z.ZodNull;
|
|
25437
26120
|
collectedAt: z.ZodNull;
|
|
25438
|
-
}, z.core.$strip>], "type"
|
|
26121
|
+
}, z.core.$strip>], "type">>;
|
|
25439
26122
|
readonly paginationDefaultEnabled = true;
|
|
25440
26123
|
constructor(options?: {
|
|
25441
26124
|
query?: OrdersQueryParams;
|
|
@@ -25444,15 +26127,15 @@ declare class GetOrders extends AbstractApiRequest<typeof getOrdersInputSchema,
|
|
|
25444
26127
|
}
|
|
25445
26128
|
|
|
25446
26129
|
declare const getPointOfSaleOrdersQuerySchema: z.ZodObject<{
|
|
25447
|
-
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
26130
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
|
|
25448
26131
|
delivery: "delivery";
|
|
25449
|
-
|
|
26132
|
+
collection: "collection";
|
|
25450
26133
|
kitchen: "kitchen";
|
|
25451
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
26134
|
+
}>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection" | "kitchen", "delivery" | "collection" | "kitchen" | "take_away">>, z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
|
|
25452
26135
|
delivery: "delivery";
|
|
25453
|
-
|
|
26136
|
+
collection: "collection";
|
|
25454
26137
|
kitchen: "kitchen";
|
|
25455
|
-
}
|
|
26138
|
+
}>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection" | "kitchen", "delivery" | "collection" | "kitchen" | "take_away">>>]>>;
|
|
25456
26139
|
source: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
25457
26140
|
application: "application";
|
|
25458
26141
|
ecommerce: "ecommerce";
|
|
@@ -25669,7 +26352,7 @@ type GetPointOfSaleOrdersQueryParams = z.infer<typeof getPointOfSaleOrdersQueryS
|
|
|
25669
26352
|
declare const getPointOfSaleOrdersInputSchema: z.ZodUndefined;
|
|
25670
26353
|
type GetPointOfSaleOrdersInput = z.infer<typeof getPointOfSaleOrdersInputSchema>;
|
|
25671
26354
|
declare const getPointOfSaleOrdersResponseSchema: z.ZodObject<{
|
|
25672
|
-
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
26355
|
+
data: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
25673
26356
|
id: z.ZodString;
|
|
25674
26357
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
25675
26358
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -25887,7 +26570,7 @@ declare const getPointOfSaleOrdersResponseSchema: z.ZodObject<{
|
|
|
25887
26570
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
25888
26571
|
createdAt: z.ZodString;
|
|
25889
26572
|
updatedAt: z.ZodString;
|
|
25890
|
-
type: z.ZodLiteral<"
|
|
26573
|
+
type: z.ZodLiteral<"collection">;
|
|
25891
26574
|
address: z.ZodNull;
|
|
25892
26575
|
location: z.ZodNull;
|
|
25893
26576
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -26006,7 +26689,7 @@ declare const getPointOfSaleOrdersResponseSchema: z.ZodObject<{
|
|
|
26006
26689
|
requestedCollectionTime: z.ZodNull;
|
|
26007
26690
|
finalCollectionTime: z.ZodNull;
|
|
26008
26691
|
collectedAt: z.ZodNull;
|
|
26009
|
-
}, z.core.$strip>], "type"
|
|
26692
|
+
}, z.core.$strip>], "type">>>;
|
|
26010
26693
|
pagination: z.ZodObject<{
|
|
26011
26694
|
from: z.ZodCoercedNumber<unknown>;
|
|
26012
26695
|
to: z.ZodCoercedNumber<unknown>;
|
|
@@ -26023,7 +26706,7 @@ declare class GetPointOfSaleOrders extends AbstractApiRequest<typeof getPointOfS
|
|
|
26023
26706
|
readonly accept: "application/json";
|
|
26024
26707
|
readonly inputSchema: z.ZodUndefined;
|
|
26025
26708
|
readonly outputSchema: z.ZodObject<{
|
|
26026
|
-
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
26709
|
+
data: z.ZodArray<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
26027
26710
|
id: z.ZodString;
|
|
26028
26711
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
26029
26712
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -26241,7 +26924,7 @@ declare class GetPointOfSaleOrders extends AbstractApiRequest<typeof getPointOfS
|
|
|
26241
26924
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
26242
26925
|
createdAt: z.ZodString;
|
|
26243
26926
|
updatedAt: z.ZodString;
|
|
26244
|
-
type: z.ZodLiteral<"
|
|
26927
|
+
type: z.ZodLiteral<"collection">;
|
|
26245
26928
|
address: z.ZodNull;
|
|
26246
26929
|
location: z.ZodNull;
|
|
26247
26930
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -26360,7 +27043,7 @@ declare class GetPointOfSaleOrders extends AbstractApiRequest<typeof getPointOfS
|
|
|
26360
27043
|
requestedCollectionTime: z.ZodNull;
|
|
26361
27044
|
finalCollectionTime: z.ZodNull;
|
|
26362
27045
|
collectedAt: z.ZodNull;
|
|
26363
|
-
}, z.core.$strip>], "type"
|
|
27046
|
+
}, z.core.$strip>], "type">>>;
|
|
26364
27047
|
pagination: z.ZodObject<{
|
|
26365
27048
|
from: z.ZodCoercedNumber<unknown>;
|
|
26366
27049
|
to: z.ZodCoercedNumber<unknown>;
|
|
@@ -26371,15 +27054,15 @@ declare class GetPointOfSaleOrders extends AbstractApiRequest<typeof getPointOfS
|
|
|
26371
27054
|
}, z.core.$strip>;
|
|
26372
27055
|
}, z.core.$strip>;
|
|
26373
27056
|
readonly querySchema: z.ZodObject<{
|
|
26374
|
-
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
27057
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
|
|
26375
27058
|
delivery: "delivery";
|
|
26376
|
-
|
|
27059
|
+
collection: "collection";
|
|
26377
27060
|
kitchen: "kitchen";
|
|
26378
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
27061
|
+
}>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection" | "kitchen", "delivery" | "collection" | "kitchen" | "take_away">>, z.ZodArray<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
|
|
26379
27062
|
delivery: "delivery";
|
|
26380
|
-
|
|
27063
|
+
collection: "collection";
|
|
26381
27064
|
kitchen: "kitchen";
|
|
26382
|
-
}
|
|
27065
|
+
}>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection" | "kitchen", "delivery" | "collection" | "kitchen" | "take_away">>>]>>;
|
|
26383
27066
|
source: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
26384
27067
|
application: "application";
|
|
26385
27068
|
ecommerce: "ecommerce";
|
|
@@ -26593,7 +27276,7 @@ declare class GetPointOfSaleOrders extends AbstractApiRequest<typeof getPointOfS
|
|
|
26593
27276
|
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
26594
27277
|
}, z.core.$strip>;
|
|
26595
27278
|
readonly headersSchema: undefined;
|
|
26596
|
-
readonly listItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
27279
|
+
readonly listItemSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
26597
27280
|
id: z.ZodString;
|
|
26598
27281
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
26599
27282
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -26811,7 +27494,7 @@ declare class GetPointOfSaleOrders extends AbstractApiRequest<typeof getPointOfS
|
|
|
26811
27494
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
26812
27495
|
createdAt: z.ZodString;
|
|
26813
27496
|
updatedAt: z.ZodString;
|
|
26814
|
-
type: z.ZodLiteral<"
|
|
27497
|
+
type: z.ZodLiteral<"collection">;
|
|
26815
27498
|
address: z.ZodNull;
|
|
26816
27499
|
location: z.ZodNull;
|
|
26817
27500
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -26930,7 +27613,7 @@ declare class GetPointOfSaleOrders extends AbstractApiRequest<typeof getPointOfS
|
|
|
26930
27613
|
requestedCollectionTime: z.ZodNull;
|
|
26931
27614
|
finalCollectionTime: z.ZodNull;
|
|
26932
27615
|
collectedAt: z.ZodNull;
|
|
26933
|
-
}, z.core.$strip>], "type"
|
|
27616
|
+
}, z.core.$strip>], "type">>;
|
|
26934
27617
|
readonly paginationDefaultEnabled = true;
|
|
26935
27618
|
private readonly pointOfSaleId;
|
|
26936
27619
|
constructor(pointOfSaleId: string, options?: {
|
|
@@ -27032,7 +27715,7 @@ declare class GetOrderRescheduleOptions extends AbstractApiRequest<typeof getOrd
|
|
|
27032
27715
|
|
|
27033
27716
|
declare const markOrderAsCollectedInputSchema: z.ZodUndefined;
|
|
27034
27717
|
type MarkOrderAsCollectedInput = z.infer<typeof markOrderAsCollectedInputSchema>;
|
|
27035
|
-
declare const markOrderAsCollectedResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
27718
|
+
declare const markOrderAsCollectedResponseSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
27036
27719
|
id: z.ZodString;
|
|
27037
27720
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
27038
27721
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -27325,7 +28008,7 @@ declare const markOrderAsCollectedResponseSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
27325
28008
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
27326
28009
|
createdAt: z.ZodString;
|
|
27327
28010
|
updatedAt: z.ZodString;
|
|
27328
|
-
type: z.ZodLiteral<"
|
|
28011
|
+
type: z.ZodLiteral<"collection">;
|
|
27329
28012
|
address: z.ZodNull;
|
|
27330
28013
|
location: z.ZodNull;
|
|
27331
28014
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -27594,14 +28277,14 @@ declare const markOrderAsCollectedResponseSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
27594
28277
|
updatedAt: z.ZodString;
|
|
27595
28278
|
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
27596
28279
|
}, z.core.$strip>>;
|
|
27597
|
-
}, z.core.$strip>], "type"
|
|
28280
|
+
}, z.core.$strip>], "type">>;
|
|
27598
28281
|
type MarkOrderAsCollectedResponse = z.infer<typeof markOrderAsCollectedResponseSchema>;
|
|
27599
28282
|
declare class MarkOrderAsCollected extends AbstractApiRequest<typeof markOrderAsCollectedInputSchema, typeof markOrderAsCollectedResponseSchema> {
|
|
27600
28283
|
readonly method = "POST";
|
|
27601
28284
|
readonly contentType = "application/json";
|
|
27602
28285
|
readonly accept = "application/json";
|
|
27603
28286
|
readonly inputSchema: z.ZodUndefined;
|
|
27604
|
-
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
28287
|
+
readonly outputSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
27605
28288
|
id: z.ZodString;
|
|
27606
28289
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
27607
28290
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -27894,7 +28577,7 @@ declare class MarkOrderAsCollected extends AbstractApiRequest<typeof markOrderAs
|
|
|
27894
28577
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
27895
28578
|
createdAt: z.ZodString;
|
|
27896
28579
|
updatedAt: z.ZodString;
|
|
27897
|
-
type: z.ZodLiteral<"
|
|
28580
|
+
type: z.ZodLiteral<"collection">;
|
|
27898
28581
|
address: z.ZodNull;
|
|
27899
28582
|
location: z.ZodNull;
|
|
27900
28583
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -28163,7 +28846,7 @@ declare class MarkOrderAsCollected extends AbstractApiRequest<typeof markOrderAs
|
|
|
28163
28846
|
updatedAt: z.ZodString;
|
|
28164
28847
|
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
28165
28848
|
}, z.core.$strip>>;
|
|
28166
|
-
}, z.core.$strip>], "type"
|
|
28849
|
+
}, z.core.$strip>], "type">>;
|
|
28167
28850
|
readonly querySchema: undefined;
|
|
28168
28851
|
readonly headersSchema: undefined;
|
|
28169
28852
|
private readonly orderId;
|
|
@@ -28173,7 +28856,7 @@ declare class MarkOrderAsCollected extends AbstractApiRequest<typeof markOrderAs
|
|
|
28173
28856
|
|
|
28174
28857
|
declare const markOrderAsReadInputSchema: z.ZodUndefined;
|
|
28175
28858
|
type MarkOrderAsReadInput = z.infer<typeof markOrderAsReadInputSchema>;
|
|
28176
|
-
declare const markOrderAsReadResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
28859
|
+
declare const markOrderAsReadResponseSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
28177
28860
|
id: z.ZodString;
|
|
28178
28861
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
28179
28862
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -28466,7 +29149,7 @@ declare const markOrderAsReadResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
28466
29149
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
28467
29150
|
createdAt: z.ZodString;
|
|
28468
29151
|
updatedAt: z.ZodString;
|
|
28469
|
-
type: z.ZodLiteral<"
|
|
29152
|
+
type: z.ZodLiteral<"collection">;
|
|
28470
29153
|
address: z.ZodNull;
|
|
28471
29154
|
location: z.ZodNull;
|
|
28472
29155
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -28735,14 +29418,14 @@ declare const markOrderAsReadResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
28735
29418
|
updatedAt: z.ZodString;
|
|
28736
29419
|
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
28737
29420
|
}, z.core.$strip>>;
|
|
28738
|
-
}, z.core.$strip>], "type"
|
|
29421
|
+
}, z.core.$strip>], "type">>;
|
|
28739
29422
|
type MarkOrderAsReadResponse = z.infer<typeof markOrderAsReadResponseSchema>;
|
|
28740
29423
|
declare class MarkOrderAsRead extends AbstractApiRequest<typeof markOrderAsReadInputSchema, typeof markOrderAsReadResponseSchema> {
|
|
28741
29424
|
readonly method = "POST";
|
|
28742
29425
|
readonly contentType = "application/json";
|
|
28743
29426
|
readonly accept = "application/json";
|
|
28744
29427
|
readonly inputSchema: z.ZodUndefined;
|
|
28745
|
-
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
29428
|
+
readonly outputSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
28746
29429
|
id: z.ZodString;
|
|
28747
29430
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
28748
29431
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -29035,7 +29718,7 @@ declare class MarkOrderAsRead extends AbstractApiRequest<typeof markOrderAsReadI
|
|
|
29035
29718
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
29036
29719
|
createdAt: z.ZodString;
|
|
29037
29720
|
updatedAt: z.ZodString;
|
|
29038
|
-
type: z.ZodLiteral<"
|
|
29721
|
+
type: z.ZodLiteral<"collection">;
|
|
29039
29722
|
address: z.ZodNull;
|
|
29040
29723
|
location: z.ZodNull;
|
|
29041
29724
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -29304,7 +29987,7 @@ declare class MarkOrderAsRead extends AbstractApiRequest<typeof markOrderAsReadI
|
|
|
29304
29987
|
updatedAt: z.ZodString;
|
|
29305
29988
|
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
29306
29989
|
}, z.core.$strip>>;
|
|
29307
|
-
}, z.core.$strip>], "type"
|
|
29990
|
+
}, z.core.$strip>], "type">>;
|
|
29308
29991
|
readonly querySchema: undefined;
|
|
29309
29992
|
readonly headersSchema: undefined;
|
|
29310
29993
|
private readonly orderId;
|
|
@@ -29459,7 +30142,7 @@ declare class PayOrder extends AbstractApiRequest<typeof payOrderInputSchema, ty
|
|
|
29459
30142
|
|
|
29460
30143
|
declare const rejectOrderInputSchema: z.ZodUndefined;
|
|
29461
30144
|
type RejectOrderInput = z.infer<typeof rejectOrderInputSchema>;
|
|
29462
|
-
declare const rejectOrderResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
30145
|
+
declare const rejectOrderResponseSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
29463
30146
|
id: z.ZodString;
|
|
29464
30147
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
29465
30148
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -29752,7 +30435,7 @@ declare const rejectOrderResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
29752
30435
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
29753
30436
|
createdAt: z.ZodString;
|
|
29754
30437
|
updatedAt: z.ZodString;
|
|
29755
|
-
type: z.ZodLiteral<"
|
|
30438
|
+
type: z.ZodLiteral<"collection">;
|
|
29756
30439
|
address: z.ZodNull;
|
|
29757
30440
|
location: z.ZodNull;
|
|
29758
30441
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -30021,14 +30704,14 @@ declare const rejectOrderResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
30021
30704
|
updatedAt: z.ZodString;
|
|
30022
30705
|
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
30023
30706
|
}, z.core.$strip>>;
|
|
30024
|
-
}, z.core.$strip>], "type"
|
|
30707
|
+
}, z.core.$strip>], "type">>;
|
|
30025
30708
|
type RejectOrderResponse = z.infer<typeof rejectOrderResponseSchema>;
|
|
30026
30709
|
declare class RejectOrder extends AbstractApiRequest<typeof rejectOrderInputSchema, typeof rejectOrderResponseSchema> {
|
|
30027
30710
|
readonly method = "POST";
|
|
30028
30711
|
readonly contentType = "application/json";
|
|
30029
30712
|
readonly accept = "application/json";
|
|
30030
30713
|
readonly inputSchema: z.ZodUndefined;
|
|
30031
|
-
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
30714
|
+
readonly outputSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
30032
30715
|
id: z.ZodString;
|
|
30033
30716
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
30034
30717
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -30321,7 +31004,7 @@ declare class RejectOrder extends AbstractApiRequest<typeof rejectOrderInputSche
|
|
|
30321
31004
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
30322
31005
|
createdAt: z.ZodString;
|
|
30323
31006
|
updatedAt: z.ZodString;
|
|
30324
|
-
type: z.ZodLiteral<"
|
|
31007
|
+
type: z.ZodLiteral<"collection">;
|
|
30325
31008
|
address: z.ZodNull;
|
|
30326
31009
|
location: z.ZodNull;
|
|
30327
31010
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -30590,7 +31273,7 @@ declare class RejectOrder extends AbstractApiRequest<typeof rejectOrderInputSche
|
|
|
30590
31273
|
updatedAt: z.ZodString;
|
|
30591
31274
|
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
30592
31275
|
}, z.core.$strip>>;
|
|
30593
|
-
}, z.core.$strip>], "type"
|
|
31276
|
+
}, z.core.$strip>], "type">>;
|
|
30594
31277
|
readonly querySchema: undefined;
|
|
30595
31278
|
readonly headersSchema: undefined;
|
|
30596
31279
|
private readonly orderId;
|
|
@@ -30751,7 +31434,7 @@ declare const updateOrderInputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
30751
31434
|
collectionTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30752
31435
|
}, z.core.$strip>]>;
|
|
30753
31436
|
type UpdateOrderInput = z.input<typeof updateOrderInputSchema>;
|
|
30754
|
-
declare const updateOrderResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
31437
|
+
declare const updateOrderResponseSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
30755
31438
|
id: z.ZodString;
|
|
30756
31439
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
30757
31440
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -31044,7 +31727,7 @@ declare const updateOrderResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
31044
31727
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
31045
31728
|
createdAt: z.ZodString;
|
|
31046
31729
|
updatedAt: z.ZodString;
|
|
31047
|
-
type: z.ZodLiteral<"
|
|
31730
|
+
type: z.ZodLiteral<"collection">;
|
|
31048
31731
|
address: z.ZodNull;
|
|
31049
31732
|
location: z.ZodNull;
|
|
31050
31733
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -31313,7 +31996,7 @@ declare const updateOrderResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
31313
31996
|
updatedAt: z.ZodString;
|
|
31314
31997
|
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
31315
31998
|
}, z.core.$strip>>;
|
|
31316
|
-
}, z.core.$strip>], "type"
|
|
31999
|
+
}, z.core.$strip>], "type">>;
|
|
31317
32000
|
type UpdateOrderResponse = z.infer<typeof updateOrderResponseSchema>;
|
|
31318
32001
|
declare class UpdateOrder extends AbstractApiRequest<typeof updateOrderInputSchema, typeof updateOrderResponseSchema> {
|
|
31319
32002
|
readonly method = "PATCH";
|
|
@@ -31471,7 +32154,7 @@ declare class UpdateOrder extends AbstractApiRequest<typeof updateOrderInputSche
|
|
|
31471
32154
|
deliveryTime: z.ZodOptional<z.ZodNever>;
|
|
31472
32155
|
collectionTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31473
32156
|
}, z.core.$strip>]>;
|
|
31474
|
-
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
32157
|
+
readonly outputSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
31475
32158
|
id: z.ZodString;
|
|
31476
32159
|
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
31477
32160
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
@@ -31764,7 +32447,7 @@ declare class UpdateOrder extends AbstractApiRequest<typeof updateOrderInputSche
|
|
|
31764
32447
|
firstReadAt: z.ZodNullable<z.ZodString>;
|
|
31765
32448
|
createdAt: z.ZodString;
|
|
31766
32449
|
updatedAt: z.ZodString;
|
|
31767
|
-
type: z.ZodLiteral<"
|
|
32450
|
+
type: z.ZodLiteral<"collection">;
|
|
31768
32451
|
address: z.ZodNull;
|
|
31769
32452
|
location: z.ZodNull;
|
|
31770
32453
|
requestedDeliveryTime: z.ZodNull;
|
|
@@ -32033,7 +32716,7 @@ declare class UpdateOrder extends AbstractApiRequest<typeof updateOrderInputSche
|
|
|
32033
32716
|
updatedAt: z.ZodString;
|
|
32034
32717
|
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/orders/menu_items/:id">, unknown>>>;
|
|
32035
32718
|
}, z.core.$strip>>;
|
|
32036
|
-
}, z.core.$strip>], "type"
|
|
32719
|
+
}, z.core.$strip>], "type">>;
|
|
32037
32720
|
readonly querySchema: undefined;
|
|
32038
32721
|
readonly headersSchema: undefined;
|
|
32039
32722
|
private readonly orderId;
|
|
@@ -32058,4 +32741,4 @@ type BundleIri = z.infer<typeof bundleIriSchema>;
|
|
|
32058
32741
|
declare const bundleNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/bundles/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/bundles/:id"> | null, unknown>>;
|
|
32059
32742
|
type BundleNullableIri = z.infer<typeof bundleNullableIriSchema>;
|
|
32060
32743
|
|
|
32061
|
-
export { AdvanceOrderPreparationStatus, type AdvanceOrderPreparationStatusInput, type AdvanceOrderPreparationStatusResponse, type Bundle, type BundleDetails, type BundleIri, type BundleNullableIri, type BundlesQueryParams, CalculateOrderFees, type CalculateOrderFeesInput, type CalculateOrderFeesResponse, ConfirmOrder, type ConfirmOrderInput, type ConfirmOrderResponse, CreateBundle, type CreateBundleInput, type CreateBundleResponse, CreateOrder, type CreateOrderInput, type CreateOrderResponse, DeleteBundle, DeleteOrder, type DeliveryOrder, type DeliveryOrderDetails, type FeeSimulation, type ForcedBundle, type ForcedBundleDetails, GenerateOrderBundle, type GenerateOrderBundleInput, type GenerateOrderBundleResponse, GetBundleDetails, type GetBundleDetailsInput, type GetBundleDetailsResponse, GetBundles, GetBundlesFromPointOfSale, type GetBundlesFromPointOfSaleInput, type GetBundlesFromPointOfSaleQueryParams, type GetBundlesFromPointOfSaleResponse, type GetBundlesInput, type GetBundlesQueryParams, type GetBundlesResponse, GetCustomerOrders, type GetCustomerOrdersInput, type GetCustomerOrdersQueryParams, type GetCustomerOrdersResponse, GetOrderDetails, type GetOrderDetailsInput, type GetOrderDetailsResponse, GetOrderMenuItemDetails, type GetOrderMenuItemDetailsInput, type GetOrderMenuItemDetailsResponse, GetOrderMenuItemModifierDetails, type GetOrderMenuItemModifierDetailsInput, type GetOrderMenuItemModifierDetailsResponse, GetOrderMenuItemModifierModifierDetails, GetOrderMenuItemModifiers, type GetOrderMenuItemModifiersInput, type GetOrderMenuItemModifiersQueryParams, type GetOrderMenuItemModifiersResponse, GetOrderMenuItems, type GetOrderMenuItemsInput, type GetOrderMenuItemsQueryParams, type GetOrderMenuItemsResponse, GetOrderRescheduleOptions, type GetOrderRescheduleOptionsInput, type GetOrderRescheduleOptionsQuery, type GetOrderRescheduleOptionsResponse, GetOrders, type GetOrdersInput, type GetOrdersQueryParams, type GetOrdersResponse, GetPointOfSaleOrders, type GetPointOfSaleOrdersInput, type GetPointOfSaleOrdersQueryParams, type GetPointOfSaleOrdersResponse, type KitchenOrder, type KitchenOrderDetails, MarkOrderAsCollected, type MarkOrderAsCollectedInput, type MarkOrderAsCollectedResponse, MarkOrderAsRead, type MarkOrderAsReadInput, type MarkOrderAsReadResponse, type Order, type OrderAddressType, type OrderBillingInfo, type OrderCustomerInfo, type OrderDetails, type OrderFeeDto, type OrderIri, type OrderMenuItem, type OrderMenuItemDetails, type OrderMenuItemIri, type OrderMenuItemModifier, type OrderMenuItemModifierDetails, type OrderMenuItemModifierIri, type OrderMenuItemModifierNullableIri, type OrderMenuItemModifiersQueryParams, type OrderMenuItemNullableIri, type OrderMenuItemsQueryParams, type OrderNullableIri, type OrderRescheduleOption, type OrderRescheduleOptionsQuery, type OrderRescheduleReferenceBundle, type OrderRescheduleWindow, type OrdersQueryParams, PayOrder, type PayOrderInput, type PayOrderResponse, type RegularBundle, type RegularBundleDetails, RejectOrder, type RejectOrderInput, type RejectOrderResponse, type TakeAwayOrder, type TakeAwayOrderDetails, UpdateBundle, type UpdateBundleInput, type UpdateBundleResponse, UpdateOrder, type UpdateOrderInput, type UpdateOrderResponse, type WritableBundle, type WritableDeliveryOrder, type WritableKitchenOrder, type WritableOrder, type WritableOrderMenuItem, type WritableOrderMenuItemModifier, type WritableTakeAwayOrder, type WritableUpdateOrder, advanceOrderPreparationStatusInputSchema, advanceOrderPreparationStatusResponseSchema, bundleDetailsSchema, bundleIriSchema, bundleNullableIriSchema, bundleSchema, bundlesQuerySchema, calculateOrderFeesInputSchema, calculateOrderFeesResponseSchema, confirmOrderInputSchema, confirmOrderResponseSchema, createBundleInputSchema, createBundleResponseSchema, createOrderInputSchema, createOrderResponseSchema, deleteBundleInputSchema, deleteBundleResponseSchema, deleteOrderInputSchema, deleteOrderResponseSchema, deliveryOrderDetailsSchema, deliveryOrderSchema, feeSimulationSchema, forcedBundleDetailsSchema, forcedBundleSchema, generateOrderBundleInputSchema, generateOrderBundleResponseSchema, getBundleDetailsInputSchema, getBundleDetailsResponseSchema, getBundlesFromPointOfSaleInputSchema, getBundlesFromPointOfSaleQuerySchema, getBundlesFromPointOfSaleResponseSchema, getBundlesInputSchema, getBundlesQuerySchema, getBundlesResponseSchema, getCustomerOrdersInputSchema, getCustomerOrdersQuerySchema, getCustomerOrdersResponseSchema, getOrderDetailsInputSchema, getOrderDetailsResponseSchema, getOrderMenuItemDetailsInputSchema, getOrderMenuItemDetailsResponseSchema, getOrderMenuItemModifierDetailsInputSchema, getOrderMenuItemModifierDetailsResponseSchema, getOrderMenuItemModifiersInputSchema, getOrderMenuItemModifiersQuerySchema, getOrderMenuItemModifiersResponseSchema, getOrderMenuItemsInputSchema, getOrderMenuItemsQuerySchema, getOrderMenuItemsResponseSchema, getOrderRescheduleOptionsInputSchema, getOrderRescheduleOptionsQuerySchema, getOrderRescheduleOptionsResponseSchema, getOrdersInputSchema, getOrdersQuerySchema, getOrdersResponseSchema, getPointOfSaleOrdersInputSchema, getPointOfSaleOrdersQuerySchema, getPointOfSaleOrdersResponseSchema, kitchenOrderDetailsSchema, kitchenOrderSchema, localeItemSchema, markOrderAsCollectedInputSchema, markOrderAsCollectedResponseSchema, markOrderAsReadInputSchema, markOrderAsReadResponseSchema, orderAddressSchema, orderBillingInfoSchema, orderCustomerInfoSchema, orderDetailsSchema, orderFeeDtoSchema, orderIriSchema, orderMenuItemDetailsSchema, orderMenuItemIriSchema, orderMenuItemModifierDetailsSchema, orderMenuItemModifierIriSchema, orderMenuItemModifierNullableIriSchema, orderMenuItemModifierSchema, orderMenuItemModifiersQuerySchema, orderMenuItemNullableIriSchema, orderMenuItemSchema, orderMenuItemsQuerySchema, orderNullableIriSchema, orderRescheduleOptionSchema, orderRescheduleOptionsQuerySchema, orderRescheduleReferenceBundleSchema, orderRescheduleWindowSchema, orderSchema, ordersQuerySchema, payOrderInputSchema, payOrderResponseSchema, regularBundleDetailsSchema, regularBundleSchema, rejectOrderInputSchema, rejectOrderResponseSchema, takeAwayOrderDetailsSchema, takeAwayOrderSchema, updateBundleInputSchema, updateBundleResponseSchema, updateOrderInputSchema, updateOrderResponseSchema, writableBundleSchema, writableDeliveryOrderSchema, writableKitchenOrderSchema, writableOrderMenuItemModifierSchema, writableOrderMenuItemSchema, writableOrderSchema, writableTakeAwayOrderSchema, writableUpdateOrderSchema };
|
|
32744
|
+
export { AdvanceOrderPreparationStatus, type AdvanceOrderPreparationStatusInput, type AdvanceOrderPreparationStatusResponse, type Bundle, type BundleDetails, type BundleIri, type BundleNullableIri, type BundlesQueryParams, CalculateOrderFees, type CalculateOrderFeesInput, type CalculateOrderFeesResponse, type CollectionOrder, type CollectionOrderDetails, ConfirmOrder, type ConfirmOrderInput, type ConfirmOrderResponse, CreateBundle, type CreateBundleInput, type CreateBundleResponse, CreateOrder, type CreateOrderInput, type CreateOrderResponse, DeleteBundle, DeleteOrder, type DeliveryOrder, type DeliveryOrderDetails, type FeeSimulation, type ForcedBundle, type ForcedBundleDetails, GenerateOrderBundle, type GenerateOrderBundleInput, type GenerateOrderBundleResponse, GetBundleDetails, type GetBundleDetailsInput, type GetBundleDetailsResponse, GetBundles, GetBundlesFromPointOfSale, type GetBundlesFromPointOfSaleInput, type GetBundlesFromPointOfSaleQueryParams, type GetBundlesFromPointOfSaleResponse, type GetBundlesInput, type GetBundlesQueryParams, type GetBundlesResponse, GetCustomerOrders, type GetCustomerOrdersInput, type GetCustomerOrdersQueryParams, type GetCustomerOrdersResponse, GetOrderDetails, type GetOrderDetailsInput, type GetOrderDetailsResponse, GetOrderMenuItemDetails, type GetOrderMenuItemDetailsInput, type GetOrderMenuItemDetailsResponse, GetOrderMenuItemModifierDetails, type GetOrderMenuItemModifierDetailsInput, type GetOrderMenuItemModifierDetailsResponse, GetOrderMenuItemModifierModifierDetails, GetOrderMenuItemModifiers, type GetOrderMenuItemModifiersInput, type GetOrderMenuItemModifiersQueryParams, type GetOrderMenuItemModifiersResponse, GetOrderMenuItems, type GetOrderMenuItemsInput, type GetOrderMenuItemsQueryParams, type GetOrderMenuItemsResponse, GetOrderRescheduleOptions, type GetOrderRescheduleOptionsInput, type GetOrderRescheduleOptionsQuery, type GetOrderRescheduleOptionsResponse, GetOrders, type GetOrdersInput, type GetOrdersQueryParams, type GetOrdersResponse, GetPointOfSaleOrders, type GetPointOfSaleOrdersInput, type GetPointOfSaleOrdersQueryParams, type GetPointOfSaleOrdersResponse, type KitchenOrder, type KitchenOrderDetails, MarkOrderAsCollected, type MarkOrderAsCollectedInput, type MarkOrderAsCollectedResponse, MarkOrderAsRead, type MarkOrderAsReadInput, type MarkOrderAsReadResponse, type Order, type OrderAddressType, type OrderBillingInfo, type OrderCustomerInfo, type OrderDetails, type OrderFeeDto, type OrderIri, type OrderMenuItem, type OrderMenuItemDetails, type OrderMenuItemIri, type OrderMenuItemModifier, type OrderMenuItemModifierDetails, type OrderMenuItemModifierIri, type OrderMenuItemModifierNullableIri, type OrderMenuItemModifiersQueryParams, type OrderMenuItemNullableIri, type OrderMenuItemsQueryParams, type OrderNullableIri, type OrderRescheduleOption, type OrderRescheduleOptionsQuery, type OrderRescheduleReferenceBundle, type OrderRescheduleWindow, type OrdersQueryParams, PayOrder, type PayOrderInput, type PayOrderResponse, type RegularBundle, type RegularBundleDetails, RejectOrder, type RejectOrderInput, type RejectOrderResponse, type TakeAwayOrder, type TakeAwayOrderDetails, UpdateBundle, type UpdateBundleInput, type UpdateBundleResponse, UpdateOrder, type UpdateOrderInput, type UpdateOrderResponse, type WritableBundle, type WritableCollectionOrder, type WritableDeliveryOrder, type WritableKitchenOrder, type WritableOrder, type WritableOrderMenuItem, type WritableOrderMenuItemModifier, type WritableTakeAwayOrder, type WritableUpdateOrder, advanceOrderPreparationStatusInputSchema, advanceOrderPreparationStatusResponseSchema, bundleDetailsSchema, bundleIriSchema, bundleNullableIriSchema, bundleSchema, bundlesQuerySchema, calculateOrderFeesInputSchema, calculateOrderFeesResponseSchema, collectionOrderDetailsSchema, collectionOrderSchema, confirmOrderInputSchema, confirmOrderResponseSchema, createBundleInputSchema, createBundleResponseSchema, createOrderInputSchema, createOrderResponseSchema, deleteBundleInputSchema, deleteBundleResponseSchema, deleteOrderInputSchema, deleteOrderResponseSchema, deliveryOrderDetailsSchema, deliveryOrderSchema, feeSimulationSchema, forcedBundleDetailsSchema, forcedBundleSchema, generateOrderBundleInputSchema, generateOrderBundleResponseSchema, getBundleDetailsInputSchema, getBundleDetailsResponseSchema, getBundlesFromPointOfSaleInputSchema, getBundlesFromPointOfSaleQuerySchema, getBundlesFromPointOfSaleResponseSchema, getBundlesInputSchema, getBundlesQuerySchema, getBundlesResponseSchema, getCustomerOrdersInputSchema, getCustomerOrdersQuerySchema, getCustomerOrdersResponseSchema, getOrderDetailsInputSchema, getOrderDetailsResponseSchema, getOrderMenuItemDetailsInputSchema, getOrderMenuItemDetailsResponseSchema, getOrderMenuItemModifierDetailsInputSchema, getOrderMenuItemModifierDetailsResponseSchema, getOrderMenuItemModifiersInputSchema, getOrderMenuItemModifiersQuerySchema, getOrderMenuItemModifiersResponseSchema, getOrderMenuItemsInputSchema, getOrderMenuItemsQuerySchema, getOrderMenuItemsResponseSchema, getOrderRescheduleOptionsInputSchema, getOrderRescheduleOptionsQuerySchema, getOrderRescheduleOptionsResponseSchema, getOrdersInputSchema, getOrdersQuerySchema, getOrdersResponseSchema, getPointOfSaleOrdersInputSchema, getPointOfSaleOrdersQuerySchema, getPointOfSaleOrdersResponseSchema, kitchenOrderDetailsSchema, kitchenOrderSchema, localeItemSchema, markOrderAsCollectedInputSchema, markOrderAsCollectedResponseSchema, markOrderAsReadInputSchema, markOrderAsReadResponseSchema, orderAddressSchema, orderBillingInfoSchema, orderCustomerInfoSchema, orderDetailsSchema, orderFeeDtoSchema, orderIriSchema, orderMenuItemDetailsSchema, orderMenuItemIriSchema, orderMenuItemModifierDetailsSchema, orderMenuItemModifierIriSchema, orderMenuItemModifierNullableIriSchema, orderMenuItemModifierSchema, orderMenuItemModifiersQuerySchema, orderMenuItemNullableIriSchema, orderMenuItemSchema, orderMenuItemsQuerySchema, orderNullableIriSchema, orderRescheduleOptionSchema, orderRescheduleOptionsQuerySchema, orderRescheduleReferenceBundleSchema, orderRescheduleWindowSchema, orderSchema, ordersQuerySchema, payOrderInputSchema, payOrderResponseSchema, regularBundleDetailsSchema, regularBundleSchema, rejectOrderInputSchema, rejectOrderResponseSchema, takeAwayOrderDetailsSchema, takeAwayOrderSchema, updateBundleInputSchema, updateBundleResponseSchema, updateOrderInputSchema, updateOrderResponseSchema, writableBundleSchema, writableCollectionOrderSchema, writableDeliveryOrderSchema, writableKitchenOrderSchema, writableOrderMenuItemModifierSchema, writableOrderMenuItemSchema, writableOrderSchema, writableTakeAwayOrderSchema, writableUpdateOrderSchema };
|