@jaicome/contracts 0.0.75 → 0.0.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fulfillment-states.d.mts +43 -2
- package/dist/fulfillment-states.mjs +67 -2
- package/dist/index.d.mts +1244 -449
- package/dist/index.mjs +179 -52
- package/dist/{orders-Dr9SO3_e.d.mts → orders-CHXvc7L7.d.mts} +809 -254
- package/dist/payments-Qea5Yb_X.d.mts +387 -0
- package/dist/schema/index.d.mts +890 -638
- package/dist/schema/index.mjs +2 -2
- package/dist/utils/payment-resolver.d.mts +87 -0
- package/dist/utils/payment-resolver.mjs +118 -0
- package/dist/{schema-BtaubbtD.mjs → zatca-CEInGWOH.mjs} +549 -238
- package/package.json +7 -2
package/dist/schema/index.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { $ as orderModifierSchema, A as ValidatePromoCodeForOrderResult, B as orderByIdOutputSchema, C as OrderPromocodeInput, D as ScheduleType, E as OrderSummary, F as getOrderByIdInputSchema, G as orderFulfillmentHistorySchema, H as orderCustomerSchema, I as getOrderConfigInputSchema, J as orderFulfillmentStateValues, K as orderFulfillmentOutputSchema, L as listOrdersInputSchema, M as createOrderInputSchema, N as defaultOrderSort, O as UpdateFulfillmentInput, P as fetchOrderByIdOutputSchema, Q as orderLineItemSchema, R as listOrdersOutputSchema, S as OrderOutput, T as OrderSource, U as orderEntitiesSchema, V as orderConfigSchema, W as orderFilterSchema, X as orderGatewayIds, Y as orderFulfillmentTypes, Z as orderLineItemInputSchema, _ as OrderFulfillmentHistory, a as GetOrderByIdInput, at as orderSummarySchema, b as OrderLineItemInput, c as ListOrdersOutput, ct as upsertOrderConfigInputSchema, d as OrderByIdOutput, et as orderOutputSchema, f as OrderConfig, g as OrderFulfillment, h as OrderFilter, i as FulfillmentState, it as orderSourceSchema, j as checkoutResultSchema, k as UpsertOrderConfigInput, l as Order, lt as validatePromoCodeForOrderResultSchema, m as OrderEntities, n as CreateOrderInput, nt as orderPromocodeSummarySchema, o as GetOrderConfigInput, ot as scheduleTypeEnum, p as OrderCustomer, q as orderFulfillmentSchema, r as FetchOrderByIdOutput, rt as orderSchema, s as ListOrdersInput, st as updateFulfillmentInputSchema, t as CheckoutResult, tt as orderPromocodeInputSchema, u as OrderAmount, v as OrderFulfillmentOutput, w as OrderPromocodeSummary, x as OrderModifier, y as OrderLineItem, z as orderAmountSchema } from "../orders-
|
|
1
|
+
import { $ as orderModifierSchema, A as ValidatePromoCodeForOrderResult, B as orderByIdOutputSchema, C as OrderPromocodeInput, D as ScheduleType, E as OrderSummary, F as getOrderByIdInputSchema, G as orderFulfillmentHistorySchema, H as orderCustomerSchema, I as getOrderConfigInputSchema, J as orderFulfillmentStateValues, K as orderFulfillmentOutputSchema, L as listOrdersInputSchema, M as createOrderInputSchema, N as defaultOrderSort, O as UpdateFulfillmentInput, P as fetchOrderByIdOutputSchema, Q as orderLineItemSchema, R as listOrdersOutputSchema, S as OrderOutput, T as OrderSource, U as orderEntitiesSchema, V as orderConfigSchema, W as orderFilterSchema, X as orderGatewayIds, Y as orderFulfillmentTypes, Z as orderLineItemInputSchema, _ as OrderFulfillmentHistory, a as GetOrderByIdInput, at as orderSummarySchema, b as OrderLineItemInput, c as ListOrdersOutput, ct as upsertOrderConfigInputSchema, d as OrderByIdOutput, et as orderOutputSchema, f as OrderConfig, g as OrderFulfillment, h as OrderFilter, i as FulfillmentState, it as orderSourceSchema, j as checkoutResultSchema, k as UpsertOrderConfigInput, l as Order, lt as validatePromoCodeForOrderResultSchema, m as OrderEntities, n as CreateOrderInput, nt as orderPromocodeSummarySchema, o as GetOrderConfigInput, ot as scheduleTypeEnum, p as OrderCustomer, q as orderFulfillmentSchema, r as FetchOrderByIdOutput, rt as orderSchema, s as ListOrdersInput, st as updateFulfillmentInputSchema, t as CheckoutResult, tt as orderPromocodeInputSchema, u as OrderAmount, v as OrderFulfillmentOutput, w as OrderPromocodeSummary, x as OrderModifier, y as OrderLineItem, z as orderAmountSchema } from "../orders-CHXvc7L7.mjs";
|
|
2
|
+
import { A as recordPaymentInputSchema, B as paymentGatewayIds, C as listPaymentsInputSchema, D as paymentOutputSchema, E as paymentListItemSchema, F as setPaidOutputSchema, I as AcceptedPaymentMethod, L as PaymentGateway, M as refundOrderOutputSchema, N as refundPaymentInputSchema, O as paymentSourceSchema, P as setPaidInputSchema, R as PaymentMethod, S as initiatePaymentOutputSchema, T as paymentFilterSchema, V as paymentMethodIds, _ as SetPaidOutput, a as ListPaymentsInput, b as getPaymentInputSchema, c as PaymentListItem, d as PaymentStatus, f as RecordPaymentInput, g as SetPaidInput, h as RefundPaymentInput, i as InitiatePaymentOutput, j as refundOrderInputSchema, k as paymentStatuses, l as PaymentOutput, m as RefundOrderOutput, n as GetPaymentInput, o as ListPaymentsOutput, p as RefundOrderInput, r as InitiatePaymentInput, s as PaymentFilter, t as CodPaymentType, u as PaymentSource, v as codPaymentTypeIds, w as listPaymentsOutputSchema, x as initiatePaymentInputSchema, y as gatewayIds, z as acceptedPaymentIds } from "../payments-Qea5Yb_X.mjs";
|
|
2
3
|
import z$1, { z } from "zod";
|
|
3
4
|
|
|
4
5
|
//#region src/schema/banners.d.ts
|
|
@@ -252,10 +253,12 @@ declare const businessHoursSchema: z$1.ZodObject<{
|
|
|
252
253
|
type BusinessHours = z$1.infer<typeof businessHoursSchema>;
|
|
253
254
|
//#endregion
|
|
254
255
|
//#region src/schema/catalog.d.ts
|
|
255
|
-
declare const catalogAmountSchema: z.
|
|
256
|
+
declare const catalogAmountSchema: z.ZodCoercedBigInt<unknown>;
|
|
256
257
|
type CatalogAmount = z.infer<typeof catalogAmountSchema>;
|
|
257
258
|
declare const catalogAvailabilityValues: readonly ["AVAILABLE", "SOLDOUT", "UNAVAILABLE"];
|
|
259
|
+
type CatalogAvailability = (typeof catalogAvailabilityValues)[number];
|
|
258
260
|
declare const catalogSelectionTypeValues: readonly ["SINGLE", "MULTIPLE"];
|
|
261
|
+
type CatalogSelectionType = (typeof catalogSelectionTypeValues)[number];
|
|
259
262
|
declare const catalogFoodIngredientValues: readonly ["CELERY", "CRUSTACEANS", "EGGS", "FISH", "GLUTEN", "LUPIN", "MILK", "MOLLUSCS", "MUSTARD", "PEANUTS", "SESAME", "SOY", "SULPHITES", "TREE_NUTS"];
|
|
260
263
|
declare const catalogDietaryPreferenceValues: readonly ["DAIRY_FREE", "GLUTEN_FREE", "SPICY", "HIGH_SALT", "NUT_FREE", "VEGAN", "VEGETARIAN"];
|
|
261
264
|
declare const catalogCategoryBaseSchema: z.ZodObject<{
|
|
@@ -266,15 +269,15 @@ declare const catalogCategoryBaseSchema: z.ZodObject<{
|
|
|
266
269
|
}, z.core.$strip>;
|
|
267
270
|
type CatalogCategory = z.infer<typeof catalogCategoryBaseSchema>;
|
|
268
271
|
declare const catalogPriceRangeSchema: z.ZodObject<{
|
|
269
|
-
minAmount: z.
|
|
270
|
-
maxAmount: z.
|
|
272
|
+
minAmount: z.ZodCoercedBigInt<unknown>;
|
|
273
|
+
maxAmount: z.ZodCoercedBigInt<unknown>;
|
|
271
274
|
currency: z.ZodString;
|
|
272
275
|
}, z.core.$strip>;
|
|
273
276
|
type CatalogPriceRange = z.infer<typeof catalogPriceRangeSchema>;
|
|
274
277
|
declare const catalogModifierBaseSchema: z.ZodObject<{
|
|
275
278
|
id: z.ZodString;
|
|
276
279
|
name: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
277
|
-
priceAmount: z.
|
|
280
|
+
priceAmount: z.ZodCoercedBigInt<unknown>;
|
|
278
281
|
currency: z.ZodString;
|
|
279
282
|
availability: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
280
283
|
AVAILABLE: "AVAILABLE";
|
|
@@ -296,7 +299,7 @@ declare const catalogModifierListBaseSchema: z.ZodObject<{
|
|
|
296
299
|
modifiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
297
300
|
id: z.ZodString;
|
|
298
301
|
name: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
299
|
-
priceAmount: z.
|
|
302
|
+
priceAmount: z.ZodCoercedBigInt<unknown>;
|
|
300
303
|
currency: z.ZodString;
|
|
301
304
|
availability: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
302
305
|
AVAILABLE: "AVAILABLE";
|
|
@@ -311,7 +314,7 @@ type CatalogModifierListBase = z.infer<typeof catalogModifierListBaseSchema>;
|
|
|
311
314
|
declare const catalogVariationBaseSchema: z.ZodObject<{
|
|
312
315
|
id: z.ZodString;
|
|
313
316
|
name: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
314
|
-
priceAmount: z.
|
|
317
|
+
priceAmount: z.ZodCoercedBigInt<unknown>;
|
|
315
318
|
currency: z.ZodString;
|
|
316
319
|
availability: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
317
320
|
AVAILABLE: "AVAILABLE";
|
|
@@ -324,7 +327,7 @@ type CatalogVariationBase = z.infer<typeof catalogVariationBaseSchema>;
|
|
|
324
327
|
declare const catalogVariationWithDefaultSchema: z.ZodObject<{
|
|
325
328
|
id: z.ZodString;
|
|
326
329
|
name: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
327
|
-
priceAmount: z.
|
|
330
|
+
priceAmount: z.ZodCoercedBigInt<unknown>;
|
|
328
331
|
currency: z.ZodString;
|
|
329
332
|
availability: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
330
333
|
AVAILABLE: "AVAILABLE";
|
|
@@ -349,8 +352,8 @@ declare const catalogItemSummarySchema: z.ZodObject<{
|
|
|
349
352
|
ordinal: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
350
353
|
currency: z.ZodString;
|
|
351
354
|
priceRange: z.ZodObject<{
|
|
352
|
-
minAmount: z.
|
|
353
|
-
maxAmount: z.
|
|
355
|
+
minAmount: z.ZodCoercedBigInt<unknown>;
|
|
356
|
+
maxAmount: z.ZodCoercedBigInt<unknown>;
|
|
354
357
|
currency: z.ZodString;
|
|
355
358
|
}, z.core.$strip>;
|
|
356
359
|
categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -363,7 +366,10 @@ declare const catalogItemDetailSchema: z.ZodObject<{
|
|
|
363
366
|
id: z.ZodString;
|
|
364
367
|
name: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
365
368
|
description: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
366
|
-
|
|
369
|
+
images: z.ZodArray<z.ZodObject<{
|
|
370
|
+
id: z.ZodString;
|
|
371
|
+
url: z.ZodString;
|
|
372
|
+
}, z.core.$strip>>;
|
|
367
373
|
foodAndBeverageDetails: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
368
374
|
calorie: z.ZodNumber;
|
|
369
375
|
ingredients: z.ZodArray<z.ZodEnum<{
|
|
@@ -395,7 +401,7 @@ declare const catalogItemDetailSchema: z.ZodObject<{
|
|
|
395
401
|
variations: z.ZodArray<z.ZodObject<{
|
|
396
402
|
id: z.ZodString;
|
|
397
403
|
name: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
398
|
-
priceAmount: z.
|
|
404
|
+
priceAmount: z.ZodCoercedBigInt<unknown>;
|
|
399
405
|
currency: z.ZodString;
|
|
400
406
|
availability: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
401
407
|
AVAILABLE: "AVAILABLE";
|
|
@@ -415,7 +421,7 @@ declare const catalogItemDetailSchema: z.ZodObject<{
|
|
|
415
421
|
modifiers: z.ZodArray<z.ZodObject<{
|
|
416
422
|
id: z.ZodString;
|
|
417
423
|
name: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
418
|
-
priceAmount: z.
|
|
424
|
+
priceAmount: z.ZodCoercedBigInt<unknown>;
|
|
419
425
|
currency: z.ZodString;
|
|
420
426
|
availability: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
421
427
|
AVAILABLE: "AVAILABLE";
|
|
@@ -440,8 +446,8 @@ declare const catalogItemDetailSchema: z.ZodObject<{
|
|
|
440
446
|
ordinal: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
441
447
|
currency: z.ZodString;
|
|
442
448
|
priceRange: z.ZodObject<{
|
|
443
|
-
minAmount: z.
|
|
444
|
-
maxAmount: z.
|
|
449
|
+
minAmount: z.ZodCoercedBigInt<unknown>;
|
|
450
|
+
maxAmount: z.ZodCoercedBigInt<unknown>;
|
|
445
451
|
currency: z.ZodString;
|
|
446
452
|
}, z.core.$strip>;
|
|
447
453
|
}, z.core.$strip>;
|
|
@@ -467,8 +473,8 @@ declare const catalogCategorySchema: z.ZodObject<{
|
|
|
467
473
|
ordinal: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
468
474
|
currency: z.ZodString;
|
|
469
475
|
priceRange: z.ZodObject<{
|
|
470
|
-
minAmount: z.
|
|
471
|
-
maxAmount: z.
|
|
476
|
+
minAmount: z.ZodCoercedBigInt<unknown>;
|
|
477
|
+
maxAmount: z.ZodCoercedBigInt<unknown>;
|
|
472
478
|
currency: z.ZodString;
|
|
473
479
|
}, z.core.$strip>;
|
|
474
480
|
categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -489,8 +495,8 @@ declare const catalogItemFilterSchema: z.ZodObject<{
|
|
|
489
495
|
UNAVAILABLE: "UNAVAILABLE";
|
|
490
496
|
}>>>;
|
|
491
497
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
492
|
-
priceMin: z.ZodOptional<z.ZodNullable<z.
|
|
493
|
-
priceMax: z.ZodOptional<z.ZodNullable<z.
|
|
498
|
+
priceMin: z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>;
|
|
499
|
+
priceMax: z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>;
|
|
494
500
|
}, z.core.$strip>;
|
|
495
501
|
type CatalogItemFilter = z.infer<typeof catalogItemFilterSchema>;
|
|
496
502
|
declare const listCatalogItemsInputSchema: z.ZodObject<{
|
|
@@ -509,8 +515,8 @@ declare const listCatalogItemsInputSchema: z.ZodObject<{
|
|
|
509
515
|
UNAVAILABLE: "UNAVAILABLE";
|
|
510
516
|
}>>>;
|
|
511
517
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
512
|
-
priceMin: z.ZodOptional<z.ZodNullable<z.
|
|
513
|
-
priceMax: z.ZodOptional<z.ZodNullable<z.
|
|
518
|
+
priceMin: z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>;
|
|
519
|
+
priceMax: z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>;
|
|
514
520
|
}, z.core.$strip>>;
|
|
515
521
|
sort: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
516
522
|
asc: "asc";
|
|
@@ -533,8 +539,8 @@ declare const listCatalogItemsOutputSchema: z.ZodObject<{
|
|
|
533
539
|
ordinal: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
534
540
|
currency: z.ZodString;
|
|
535
541
|
priceRange: z.ZodObject<{
|
|
536
|
-
minAmount: z.
|
|
537
|
-
maxAmount: z.
|
|
542
|
+
minAmount: z.ZodCoercedBigInt<unknown>;
|
|
543
|
+
maxAmount: z.ZodCoercedBigInt<unknown>;
|
|
538
544
|
currency: z.ZodString;
|
|
539
545
|
}, z.core.$strip>;
|
|
540
546
|
categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -559,7 +565,10 @@ declare const getCatalogItemOutputSchema: z.ZodObject<{
|
|
|
559
565
|
id: z.ZodString;
|
|
560
566
|
name: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
561
567
|
description: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
562
|
-
|
|
568
|
+
images: z.ZodArray<z.ZodObject<{
|
|
569
|
+
id: z.ZodString;
|
|
570
|
+
url: z.ZodString;
|
|
571
|
+
}, z.core.$strip>>;
|
|
563
572
|
foodAndBeverageDetails: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
564
573
|
calorie: z.ZodNumber;
|
|
565
574
|
ingredients: z.ZodArray<z.ZodEnum<{
|
|
@@ -591,7 +600,7 @@ declare const getCatalogItemOutputSchema: z.ZodObject<{
|
|
|
591
600
|
variations: z.ZodArray<z.ZodObject<{
|
|
592
601
|
id: z.ZodString;
|
|
593
602
|
name: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
594
|
-
priceAmount: z.
|
|
603
|
+
priceAmount: z.ZodCoercedBigInt<unknown>;
|
|
595
604
|
currency: z.ZodString;
|
|
596
605
|
availability: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
597
606
|
AVAILABLE: "AVAILABLE";
|
|
@@ -611,7 +620,7 @@ declare const getCatalogItemOutputSchema: z.ZodObject<{
|
|
|
611
620
|
modifiers: z.ZodArray<z.ZodObject<{
|
|
612
621
|
id: z.ZodString;
|
|
613
622
|
name: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
614
|
-
priceAmount: z.
|
|
623
|
+
priceAmount: z.ZodCoercedBigInt<unknown>;
|
|
615
624
|
currency: z.ZodString;
|
|
616
625
|
availability: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
617
626
|
AVAILABLE: "AVAILABLE";
|
|
@@ -636,8 +645,8 @@ declare const getCatalogItemOutputSchema: z.ZodObject<{
|
|
|
636
645
|
ordinal: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
637
646
|
currency: z.ZodString;
|
|
638
647
|
priceRange: z.ZodObject<{
|
|
639
|
-
minAmount: z.
|
|
640
|
-
maxAmount: z.
|
|
648
|
+
minAmount: z.ZodCoercedBigInt<unknown>;
|
|
649
|
+
maxAmount: z.ZodCoercedBigInt<unknown>;
|
|
641
650
|
currency: z.ZodString;
|
|
642
651
|
}, z.core.$strip>;
|
|
643
652
|
}, z.core.$strip>;
|
|
@@ -653,8 +662,8 @@ declare const catalogVariationFilterSchema: z.ZodObject<{
|
|
|
653
662
|
UNAVAILABLE: "UNAVAILABLE";
|
|
654
663
|
}>>>;
|
|
655
664
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
656
|
-
priceMin: z.ZodOptional<z.ZodNullable<z.
|
|
657
|
-
priceMax: z.ZodOptional<z.ZodNullable<z.
|
|
665
|
+
priceMin: z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>;
|
|
666
|
+
priceMax: z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>;
|
|
658
667
|
}, z.core.$strip>;
|
|
659
668
|
type CatalogVariationFilter = z.infer<typeof catalogVariationFilterSchema>;
|
|
660
669
|
declare const listCatalogVariationsInputSchema: z.ZodObject<{
|
|
@@ -673,8 +682,8 @@ declare const listCatalogVariationsInputSchema: z.ZodObject<{
|
|
|
673
682
|
UNAVAILABLE: "UNAVAILABLE";
|
|
674
683
|
}>>>;
|
|
675
684
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
676
|
-
priceMin: z.ZodOptional<z.ZodNullable<z.
|
|
677
|
-
priceMax: z.ZodOptional<z.ZodNullable<z.
|
|
685
|
+
priceMin: z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>;
|
|
686
|
+
priceMax: z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>;
|
|
678
687
|
}, z.core.$strip>>;
|
|
679
688
|
sort: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
680
689
|
asc: "asc";
|
|
@@ -686,7 +695,7 @@ declare const listCatalogVariationsOutputSchema: z.ZodObject<{
|
|
|
686
695
|
items: z.ZodArray<z.ZodObject<{
|
|
687
696
|
id: z.ZodString;
|
|
688
697
|
name: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
689
|
-
priceAmount: z.
|
|
698
|
+
priceAmount: z.ZodCoercedBigInt<unknown>;
|
|
690
699
|
currency: z.ZodString;
|
|
691
700
|
availability: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
692
701
|
AVAILABLE: "AVAILABLE";
|
|
@@ -714,8 +723,8 @@ declare const catalogModifierFilterSchema: z.ZodObject<{
|
|
|
714
723
|
UNAVAILABLE: "UNAVAILABLE";
|
|
715
724
|
}>>>;
|
|
716
725
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
717
|
-
priceMin: z.ZodOptional<z.ZodNullable<z.
|
|
718
|
-
priceMax: z.ZodOptional<z.ZodNullable<z.
|
|
726
|
+
priceMin: z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>;
|
|
727
|
+
priceMax: z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>;
|
|
719
728
|
}, z.core.$strip>;
|
|
720
729
|
type CatalogModifierFilter = z.infer<typeof catalogModifierFilterSchema>;
|
|
721
730
|
declare const listCatalogModifiersInputSchema: z.ZodObject<{
|
|
@@ -733,8 +742,8 @@ declare const listCatalogModifiersInputSchema: z.ZodObject<{
|
|
|
733
742
|
UNAVAILABLE: "UNAVAILABLE";
|
|
734
743
|
}>>>;
|
|
735
744
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
736
|
-
priceMin: z.ZodOptional<z.ZodNullable<z.
|
|
737
|
-
priceMax: z.ZodOptional<z.ZodNullable<z.
|
|
745
|
+
priceMin: z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>;
|
|
746
|
+
priceMax: z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>;
|
|
738
747
|
}, z.core.$strip>>;
|
|
739
748
|
sort: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
740
749
|
asc: "asc";
|
|
@@ -746,7 +755,7 @@ declare const listCatalogModifiersOutputSchema: z.ZodObject<{
|
|
|
746
755
|
items: z.ZodArray<z.ZodObject<{
|
|
747
756
|
id: z.ZodString;
|
|
748
757
|
name: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
749
|
-
priceAmount: z.
|
|
758
|
+
priceAmount: z.ZodCoercedBigInt<unknown>;
|
|
750
759
|
currency: z.ZodString;
|
|
751
760
|
availability: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
752
761
|
AVAILABLE: "AVAILABLE";
|
|
@@ -800,6 +809,16 @@ declare const listCatalogModifierListsInputSchema: z.ZodObject<{
|
|
|
800
809
|
}>>>;
|
|
801
810
|
}, z.core.$strip>;
|
|
802
811
|
type ListCatalogModifierListsInput = z.infer<typeof listCatalogModifierListsInputSchema>;
|
|
812
|
+
declare const catalogModifierListSummarySchema: z.ZodObject<{
|
|
813
|
+
id: z.ZodString;
|
|
814
|
+
name: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
815
|
+
selectionType: z.ZodEnum<{
|
|
816
|
+
SINGLE: "SINGLE";
|
|
817
|
+
MULTIPLE: "MULTIPLE";
|
|
818
|
+
}>;
|
|
819
|
+
ordinal: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
820
|
+
}, z.core.$strip>;
|
|
821
|
+
type CatalogModifierListSummary = z.infer<typeof catalogModifierListSummarySchema>;
|
|
803
822
|
declare const listCatalogModifierListsOutputSchema: z.ZodObject<{
|
|
804
823
|
items: z.ZodArray<z.ZodObject<{
|
|
805
824
|
id: z.ZodString;
|
|
@@ -866,8 +885,8 @@ declare const listCatalogCategoriesWithItemsOutputSchema: z.ZodObject<{
|
|
|
866
885
|
ordinal: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
867
886
|
currency: z.ZodString;
|
|
868
887
|
priceRange: z.ZodObject<{
|
|
869
|
-
minAmount: z.
|
|
870
|
-
maxAmount: z.
|
|
888
|
+
minAmount: z.ZodCoercedBigInt<unknown>;
|
|
889
|
+
maxAmount: z.ZodCoercedBigInt<unknown>;
|
|
871
890
|
currency: z.ZodString;
|
|
872
891
|
}, z.core.$strip>;
|
|
873
892
|
categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -980,7 +999,7 @@ type UpsertModifierLocationOverrideInput = z.infer<typeof upsertModifierLocation
|
|
|
980
999
|
declare const upsertModifierInputSchema: z.ZodObject<{
|
|
981
1000
|
modifierListId: z.ZodString;
|
|
982
1001
|
name: z.ZodString;
|
|
983
|
-
priceAmount: z.
|
|
1002
|
+
priceAmount: z.ZodCoercedBigInt<unknown>;
|
|
984
1003
|
onByDefault: z.ZodBoolean;
|
|
985
1004
|
ordinal: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
986
1005
|
modifierId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1006,7 +1025,7 @@ declare const createItemInputSchema: z.ZodObject<{
|
|
|
1006
1025
|
merchantId: z.ZodOptional<z.ZodString>;
|
|
1007
1026
|
variation: z.ZodObject<{
|
|
1008
1027
|
name: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1009
|
-
priceAmount: z.
|
|
1028
|
+
priceAmount: z.ZodCoercedBigInt<unknown>;
|
|
1010
1029
|
externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1011
1030
|
ordinal: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1012
1031
|
}, z.core.$strip>;
|
|
@@ -1028,6 +1047,7 @@ declare const updateItemInputSchema: z.ZodObject<{
|
|
|
1028
1047
|
SOLDOUT: "SOLDOUT";
|
|
1029
1048
|
UNAVAILABLE: "UNAVAILABLE";
|
|
1030
1049
|
}>>>;
|
|
1050
|
+
ordinal: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1031
1051
|
}, z.core.$strip>;
|
|
1032
1052
|
}, z.core.$strip>;
|
|
1033
1053
|
type UpdateItemInput = z.infer<typeof updateItemInputSchema>;
|
|
@@ -1061,7 +1081,7 @@ type DeleteVariationOutput = z.infer<typeof deleteVariationOutputSchema>;
|
|
|
1061
1081
|
declare const createVariationInputSchema: z.ZodObject<{
|
|
1062
1082
|
itemId: z.ZodString;
|
|
1063
1083
|
name: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1064
|
-
priceAmount: z.
|
|
1084
|
+
priceAmount: z.ZodCoercedBigInt<unknown>;
|
|
1065
1085
|
availability: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1066
1086
|
AVAILABLE: "AVAILABLE";
|
|
1067
1087
|
SOLDOUT: "SOLDOUT";
|
|
@@ -1076,7 +1096,7 @@ declare const createVariationOutputSchema: z.ZodObject<{
|
|
|
1076
1096
|
id: z.ZodString;
|
|
1077
1097
|
itemId: z.ZodString;
|
|
1078
1098
|
name: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1079
|
-
priceAmount: z.
|
|
1099
|
+
priceAmount: z.ZodCoercedBigInt<unknown>;
|
|
1080
1100
|
availability: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1081
1101
|
AVAILABLE: "AVAILABLE";
|
|
1082
1102
|
SOLDOUT: "SOLDOUT";
|
|
@@ -1088,7 +1108,7 @@ declare const updateVariationInputSchema: z.ZodObject<{
|
|
|
1088
1108
|
variationId: z.ZodString;
|
|
1089
1109
|
update: z.ZodObject<{
|
|
1090
1110
|
name: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
1091
|
-
priceAmount: z.ZodOptional<z.ZodNullable<z.
|
|
1111
|
+
priceAmount: z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>;
|
|
1092
1112
|
availability: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1093
1113
|
AVAILABLE: "AVAILABLE";
|
|
1094
1114
|
SOLDOUT: "SOLDOUT";
|
|
@@ -1131,7 +1151,7 @@ type CreateModifierListOutput = z.infer<typeof createModifierListOutputSchema>;
|
|
|
1131
1151
|
declare const createModifierInputSchema: z.ZodObject<{
|
|
1132
1152
|
modifierListId: z.ZodString;
|
|
1133
1153
|
name: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1134
|
-
priceAmount: z.
|
|
1154
|
+
priceAmount: z.ZodCoercedBigInt<unknown>;
|
|
1135
1155
|
onByDefault: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1136
1156
|
ordinal: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1137
1157
|
externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1141,7 +1161,7 @@ type CreateModifierInput = z.infer<typeof createModifierInputSchema>;
|
|
|
1141
1161
|
declare const createModifierOutputSchema: z.ZodObject<{
|
|
1142
1162
|
id: z.ZodString;
|
|
1143
1163
|
name: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1144
|
-
priceAmount: z.
|
|
1164
|
+
priceAmount: z.ZodCoercedBigInt<unknown>;
|
|
1145
1165
|
modifierListId: z.ZodString;
|
|
1146
1166
|
onByDefault: z.ZodBoolean;
|
|
1147
1167
|
}, z.core.$strip>;
|
|
@@ -1233,7 +1253,7 @@ type CatalogModifierDefaultLocationOverride = z.infer<typeof catalogModifierDefa
|
|
|
1233
1253
|
declare const getModifierOutputSchema: z.ZodObject<{
|
|
1234
1254
|
id: z.ZodString;
|
|
1235
1255
|
name: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1236
|
-
priceAmount: z.
|
|
1256
|
+
priceAmount: z.ZodCoercedBigInt<unknown>;
|
|
1237
1257
|
currency: z.ZodString;
|
|
1238
1258
|
availability: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1239
1259
|
AVAILABLE: "AVAILABLE";
|
|
@@ -1281,7 +1301,7 @@ declare const catalogModifierListDetailSchema: z.ZodObject<{
|
|
|
1281
1301
|
modifiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1282
1302
|
id: z.ZodString;
|
|
1283
1303
|
name: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1284
|
-
priceAmount: z.
|
|
1304
|
+
priceAmount: z.ZodCoercedBigInt<unknown>;
|
|
1285
1305
|
currency: z.ZodString;
|
|
1286
1306
|
availability: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1287
1307
|
AVAILABLE: "AVAILABLE";
|
|
@@ -1325,7 +1345,7 @@ declare const getModifierListOutputSchema: z.ZodObject<{
|
|
|
1325
1345
|
modifiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1326
1346
|
id: z.ZodString;
|
|
1327
1347
|
name: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1328
|
-
priceAmount: z.
|
|
1348
|
+
priceAmount: z.ZodCoercedBigInt<unknown>;
|
|
1329
1349
|
currency: z.ZodString;
|
|
1330
1350
|
availability: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1331
1351
|
AVAILABLE: "AVAILABLE";
|
|
@@ -1360,8 +1380,8 @@ declare const getModifierListOutputSchema: z.ZodObject<{
|
|
|
1360
1380
|
type GetModifierListOutput = z.infer<typeof getModifierListOutputSchema>;
|
|
1361
1381
|
declare const updateModifierInputSchema: z.ZodObject<{
|
|
1362
1382
|
modifierId: z.ZodString;
|
|
1363
|
-
name: z.ZodString
|
|
1364
|
-
priceAmount: z.
|
|
1383
|
+
name: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1384
|
+
priceAmount: z.ZodCoercedBigInt<unknown>;
|
|
1365
1385
|
onByDefault: z.ZodBoolean;
|
|
1366
1386
|
ordinal: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1367
1387
|
merchantId: z.ZodOptional<z.ZodString>;
|
|
@@ -1373,7 +1393,7 @@ declare const updateModifierOutputSchema: z.ZodObject<{
|
|
|
1373
1393
|
type UpdateModifierOutput = z.infer<typeof updateModifierOutputSchema>;
|
|
1374
1394
|
declare const updateModifierListInputSchema: z.ZodObject<{
|
|
1375
1395
|
modifierListId: z.ZodString;
|
|
1376
|
-
name: z.ZodString
|
|
1396
|
+
name: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1377
1397
|
selectionType: z.ZodEnum<{
|
|
1378
1398
|
SINGLE: "SINGLE";
|
|
1379
1399
|
MULTIPLE: "MULTIPLE";
|
|
@@ -2072,9 +2092,9 @@ declare const discountOutputSchema: z.ZodObject<{
|
|
|
2072
2092
|
declare const anbPaymentStatusSchema: z.ZodEnum<{
|
|
2073
2093
|
FAILED: "FAILED";
|
|
2074
2094
|
INITIATED: "INITIATED";
|
|
2095
|
+
PAID: "PAID";
|
|
2075
2096
|
PENDING: "PENDING";
|
|
2076
2097
|
PROCESSING: "PROCESSING";
|
|
2077
|
-
PAID: "PAID";
|
|
2078
2098
|
RETURNED: "RETURNED";
|
|
2079
2099
|
CANCELED: "CANCELED";
|
|
2080
2100
|
}>;
|
|
@@ -2132,9 +2152,9 @@ declare const anbSinglePaymentInitiationResponseSchema: z.ZodObject<{
|
|
|
2132
2152
|
status: z.ZodOptional<z.ZodEnum<{
|
|
2133
2153
|
FAILED: "FAILED";
|
|
2134
2154
|
INITIATED: "INITIATED";
|
|
2155
|
+
PAID: "PAID";
|
|
2135
2156
|
PENDING: "PENDING";
|
|
2136
2157
|
PROCESSING: "PROCESSING";
|
|
2137
|
-
PAID: "PAID";
|
|
2138
2158
|
RETURNED: "RETURNED";
|
|
2139
2159
|
CANCELED: "CANCELED";
|
|
2140
2160
|
}>>;
|
|
@@ -2157,9 +2177,9 @@ declare const anbSinglePaymentResponseSchema: z.ZodObject<{
|
|
|
2157
2177
|
status: z.ZodOptional<z.ZodEnum<{
|
|
2158
2178
|
FAILED: "FAILED";
|
|
2159
2179
|
INITIATED: "INITIATED";
|
|
2180
|
+
PAID: "PAID";
|
|
2160
2181
|
PENDING: "PENDING";
|
|
2161
2182
|
PROCESSING: "PROCESSING";
|
|
2162
|
-
PAID: "PAID";
|
|
2163
2183
|
RETURNED: "RETURNED";
|
|
2164
2184
|
CANCELED: "CANCELED";
|
|
2165
2185
|
}>>;
|
|
@@ -2181,9 +2201,9 @@ declare const anbPaymentStatusResponseSchema: z.ZodObject<{
|
|
|
2181
2201
|
status: z.ZodEnum<{
|
|
2182
2202
|
FAILED: "FAILED";
|
|
2183
2203
|
INITIATED: "INITIATED";
|
|
2204
|
+
PAID: "PAID";
|
|
2184
2205
|
PENDING: "PENDING";
|
|
2185
2206
|
PROCESSING: "PROCESSING";
|
|
2186
|
-
PAID: "PAID";
|
|
2187
2207
|
RETURNED: "RETURNED";
|
|
2188
2208
|
CANCELED: "CANCELED";
|
|
2189
2209
|
}>;
|
|
@@ -2205,9 +2225,9 @@ declare const anbWebhookPayloadSchema: z.ZodObject<{
|
|
|
2205
2225
|
status: z.ZodEnum<{
|
|
2206
2226
|
FAILED: "FAILED";
|
|
2207
2227
|
INITIATED: "INITIATED";
|
|
2228
|
+
PAID: "PAID";
|
|
2208
2229
|
PENDING: "PENDING";
|
|
2209
2230
|
PROCESSING: "PROCESSING";
|
|
2210
|
-
PAID: "PAID";
|
|
2211
2231
|
RETURNED: "RETURNED";
|
|
2212
2232
|
CANCELED: "CANCELED";
|
|
2213
2233
|
}>;
|
|
@@ -2299,15 +2319,11 @@ declare const createLeadOutputSchema: z.ZodObject<{
|
|
|
2299
2319
|
updatedAt: z.ZodDate;
|
|
2300
2320
|
}, z.core.$strip>>;
|
|
2301
2321
|
legalDetails: z.ZodNullable<z.ZodObject<{
|
|
2302
|
-
id: z.ZodUUID;
|
|
2303
|
-
merchantId: z.ZodUUID;
|
|
2304
2322
|
CRNNumber: z.ZodString;
|
|
2305
2323
|
VATName: z.ZodNullable<z.ZodString>;
|
|
2306
2324
|
VATNumber: z.ZodNullable<z.ZodString>;
|
|
2307
2325
|
crnDocUrl: z.ZodNullable<z.ZodString>;
|
|
2308
2326
|
vatDocUrl: z.ZodNullable<z.ZodString>;
|
|
2309
|
-
createdAt: z.ZodDate;
|
|
2310
|
-
updatedAt: z.ZodDate;
|
|
2311
2327
|
}, z.core.$strip>>;
|
|
2312
2328
|
}, z.core.$strip>;
|
|
2313
2329
|
crmLeadId: z.ZodNullable<z.ZodString>;
|
|
@@ -2363,8 +2379,8 @@ declare const locationFilterSchema: z$1.ZodObject<{
|
|
|
2363
2379
|
HIDDEN: "HIDDEN";
|
|
2364
2380
|
}>>>>;
|
|
2365
2381
|
type: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodEnum<{
|
|
2366
|
-
PHYSICAL: "PHYSICAL";
|
|
2367
2382
|
ONLINE: "ONLINE";
|
|
2383
|
+
PHYSICAL: "PHYSICAL";
|
|
2368
2384
|
}>>>;
|
|
2369
2385
|
name: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
2370
2386
|
slug: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -2392,8 +2408,8 @@ declare const listLocationsInputSchema: z$1.ZodObject<{
|
|
|
2392
2408
|
HIDDEN: "HIDDEN";
|
|
2393
2409
|
}>>>>;
|
|
2394
2410
|
type: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodEnum<{
|
|
2395
|
-
PHYSICAL: "PHYSICAL";
|
|
2396
2411
|
ONLINE: "ONLINE";
|
|
2412
|
+
PHYSICAL: "PHYSICAL";
|
|
2397
2413
|
}>>>;
|
|
2398
2414
|
name: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
2399
2415
|
slug: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -2468,10 +2484,10 @@ declare const createDeliveryWindowInputSchema: z$1.ZodObject<{
|
|
|
2468
2484
|
type CreateDeliveryWindowInput = z$1.infer<typeof createDeliveryWindowInputSchema>;
|
|
2469
2485
|
declare const providerPricingConfigSchema: z$1.ZodObject<{
|
|
2470
2486
|
provider: z$1.ZodEnum<{
|
|
2471
|
-
LOCAL: "LOCAL";
|
|
2472
|
-
QMILE: "QMILE";
|
|
2473
2487
|
LEAJLAK: "LEAJLAK";
|
|
2474
2488
|
PARCEL: "PARCEL";
|
|
2489
|
+
QMILE: "QMILE";
|
|
2490
|
+
LOCAL: "LOCAL";
|
|
2475
2491
|
}>;
|
|
2476
2492
|
isEnabled: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
2477
2493
|
priority: z$1.ZodDefault<z$1.ZodNumber>;
|
|
@@ -2493,10 +2509,10 @@ declare const createDeliveryConfigInputSchema: z$1.ZodObject<{
|
|
|
2493
2509
|
isEnabled: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
2494
2510
|
providers: z$1.ZodArray<z$1.ZodObject<{
|
|
2495
2511
|
provider: z$1.ZodEnum<{
|
|
2496
|
-
LOCAL: "LOCAL";
|
|
2497
|
-
QMILE: "QMILE";
|
|
2498
2512
|
LEAJLAK: "LEAJLAK";
|
|
2499
2513
|
PARCEL: "PARCEL";
|
|
2514
|
+
QMILE: "QMILE";
|
|
2515
|
+
LOCAL: "LOCAL";
|
|
2500
2516
|
}>;
|
|
2501
2517
|
isEnabled: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
2502
2518
|
priority: z$1.ZodDefault<z$1.ZodNumber>;
|
|
@@ -2529,7 +2545,7 @@ declare const createDeliveryConfigInputSchema: z$1.ZodObject<{
|
|
|
2529
2545
|
minDeliveryAmount: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodBigInt>>;
|
|
2530
2546
|
acceptedPayments: z$1.ZodDefault<z$1.ZodArray<z$1.ZodEnum<{
|
|
2531
2547
|
COD: "COD";
|
|
2532
|
-
|
|
2548
|
+
ONLINE: "ONLINE";
|
|
2533
2549
|
}>>>;
|
|
2534
2550
|
}, z$1.core.$strip>;
|
|
2535
2551
|
type CreateDeliveryConfigInput = z$1.infer<typeof createDeliveryConfigInputSchema>;
|
|
@@ -2537,10 +2553,10 @@ declare const deliveryConfigSchema: z$1.ZodObject<{
|
|
|
2537
2553
|
isEnabled: z$1.ZodBoolean;
|
|
2538
2554
|
providers: z$1.ZodArray<z$1.ZodObject<{
|
|
2539
2555
|
provider: z$1.ZodEnum<{
|
|
2540
|
-
LOCAL: "LOCAL";
|
|
2541
|
-
QMILE: "QMILE";
|
|
2542
2556
|
LEAJLAK: "LEAJLAK";
|
|
2543
2557
|
PARCEL: "PARCEL";
|
|
2558
|
+
QMILE: "QMILE";
|
|
2559
|
+
LOCAL: "LOCAL";
|
|
2544
2560
|
}>;
|
|
2545
2561
|
isEnabled: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
2546
2562
|
priority: z$1.ZodDefault<z$1.ZodNumber>;
|
|
@@ -2573,7 +2589,7 @@ declare const deliveryConfigSchema: z$1.ZodObject<{
|
|
|
2573
2589
|
minDeliveryAmount: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodBigInt>>;
|
|
2574
2590
|
acceptedPayments: z$1.ZodArray<z$1.ZodEnum<{
|
|
2575
2591
|
COD: "COD";
|
|
2576
|
-
|
|
2592
|
+
ONLINE: "ONLINE";
|
|
2577
2593
|
}>>;
|
|
2578
2594
|
}, z$1.core.$strip>;
|
|
2579
2595
|
type DeliveryConfig = z$1.infer<typeof deliveryConfigSchema>;
|
|
@@ -2581,10 +2597,10 @@ declare const addProviderInputSchema: z$1.ZodObject<{
|
|
|
2581
2597
|
locationId: z$1.ZodUUID;
|
|
2582
2598
|
provider: z$1.ZodObject<{
|
|
2583
2599
|
provider: z$1.ZodEnum<{
|
|
2584
|
-
LOCAL: "LOCAL";
|
|
2585
|
-
QMILE: "QMILE";
|
|
2586
2600
|
LEAJLAK: "LEAJLAK";
|
|
2587
2601
|
PARCEL: "PARCEL";
|
|
2602
|
+
QMILE: "QMILE";
|
|
2603
|
+
LOCAL: "LOCAL";
|
|
2588
2604
|
}>;
|
|
2589
2605
|
isEnabled: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
2590
2606
|
priority: z$1.ZodDefault<z$1.ZodNumber>;
|
|
@@ -2606,27 +2622,27 @@ type AddProviderInput = z$1.infer<typeof addProviderInputSchema>;
|
|
|
2606
2622
|
declare const removeProviderInputSchema: z$1.ZodObject<{
|
|
2607
2623
|
locationId: z$1.ZodUUID;
|
|
2608
2624
|
provider: z$1.ZodEnum<{
|
|
2609
|
-
LOCAL: "LOCAL";
|
|
2610
|
-
QMILE: "QMILE";
|
|
2611
2625
|
LEAJLAK: "LEAJLAK";
|
|
2612
2626
|
PARCEL: "PARCEL";
|
|
2627
|
+
QMILE: "QMILE";
|
|
2628
|
+
LOCAL: "LOCAL";
|
|
2613
2629
|
}>;
|
|
2614
2630
|
}, z$1.core.$strip>;
|
|
2615
2631
|
type RemoveProviderInput = z$1.infer<typeof removeProviderInputSchema>;
|
|
2616
2632
|
declare const updateProviderInputSchema: z$1.ZodObject<{
|
|
2617
2633
|
locationId: z$1.ZodUUID;
|
|
2618
2634
|
provider: z$1.ZodEnum<{
|
|
2619
|
-
LOCAL: "LOCAL";
|
|
2620
|
-
QMILE: "QMILE";
|
|
2621
2635
|
LEAJLAK: "LEAJLAK";
|
|
2622
2636
|
PARCEL: "PARCEL";
|
|
2637
|
+
QMILE: "QMILE";
|
|
2638
|
+
LOCAL: "LOCAL";
|
|
2623
2639
|
}>;
|
|
2624
2640
|
updates: z$1.ZodObject<{
|
|
2625
2641
|
provider: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2626
|
-
LOCAL: "LOCAL";
|
|
2627
|
-
QMILE: "QMILE";
|
|
2628
2642
|
LEAJLAK: "LEAJLAK";
|
|
2629
2643
|
PARCEL: "PARCEL";
|
|
2644
|
+
QMILE: "QMILE";
|
|
2645
|
+
LOCAL: "LOCAL";
|
|
2630
2646
|
}>>;
|
|
2631
2647
|
isEnabled: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodBoolean>>;
|
|
2632
2648
|
priority: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodNumber>>;
|
|
@@ -2672,7 +2688,7 @@ declare const pickupConfigSchema: z$1.ZodObject<{
|
|
|
2672
2688
|
preparationTimeMinutes: z$1.ZodNumber;
|
|
2673
2689
|
acceptedPayments: z$1.ZodArray<z$1.ZodEnum<{
|
|
2674
2690
|
COD: "COD";
|
|
2675
|
-
|
|
2691
|
+
ONLINE: "ONLINE";
|
|
2676
2692
|
}>>;
|
|
2677
2693
|
}, z$1.core.$strip>;
|
|
2678
2694
|
declare const dineInConfigSchema: z$1.ZodObject<{
|
|
@@ -2680,7 +2696,7 @@ declare const dineInConfigSchema: z$1.ZodObject<{
|
|
|
2680
2696
|
numberOfTables: z$1.ZodNumber;
|
|
2681
2697
|
acceptedPayments: z$1.ZodArray<z$1.ZodEnum<{
|
|
2682
2698
|
COD: "COD";
|
|
2683
|
-
|
|
2699
|
+
ONLINE: "ONLINE";
|
|
2684
2700
|
}>>;
|
|
2685
2701
|
}, z$1.core.$strip>;
|
|
2686
2702
|
declare const curbsideSpotSchema: z$1.ZodObject<{
|
|
@@ -2701,7 +2717,7 @@ declare const curbsideConfigSchema: z$1.ZodObject<{
|
|
|
2701
2717
|
}, z$1.core.$strip>>>;
|
|
2702
2718
|
acceptedPayments: z$1.ZodArray<z$1.ZodEnum<{
|
|
2703
2719
|
COD: "COD";
|
|
2704
|
-
|
|
2720
|
+
ONLINE: "ONLINE";
|
|
2705
2721
|
}>>;
|
|
2706
2722
|
}, z$1.core.$strip>;
|
|
2707
2723
|
declare const temporaryClosureInputSchema: z$1.ZodObject<{
|
|
@@ -2801,10 +2817,10 @@ declare const locationSchema: z$1.ZodObject<{
|
|
|
2801
2817
|
isEnabled: z$1.ZodBoolean;
|
|
2802
2818
|
providers: z$1.ZodArray<z$1.ZodObject<{
|
|
2803
2819
|
provider: z$1.ZodEnum<{
|
|
2804
|
-
LOCAL: "LOCAL";
|
|
2805
|
-
QMILE: "QMILE";
|
|
2806
2820
|
LEAJLAK: "LEAJLAK";
|
|
2807
2821
|
PARCEL: "PARCEL";
|
|
2822
|
+
QMILE: "QMILE";
|
|
2823
|
+
LOCAL: "LOCAL";
|
|
2808
2824
|
}>;
|
|
2809
2825
|
isEnabled: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
2810
2826
|
priority: z$1.ZodDefault<z$1.ZodNumber>;
|
|
@@ -2837,7 +2853,7 @@ declare const locationSchema: z$1.ZodObject<{
|
|
|
2837
2853
|
minDeliveryAmount: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodBigInt>>;
|
|
2838
2854
|
acceptedPayments: z$1.ZodArray<z$1.ZodEnum<{
|
|
2839
2855
|
COD: "COD";
|
|
2840
|
-
|
|
2856
|
+
ONLINE: "ONLINE";
|
|
2841
2857
|
}>>;
|
|
2842
2858
|
}, z$1.core.$strip>>>;
|
|
2843
2859
|
pickup: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -2845,7 +2861,7 @@ declare const locationSchema: z$1.ZodObject<{
|
|
|
2845
2861
|
preparationTimeMinutes: z$1.ZodNumber;
|
|
2846
2862
|
acceptedPayments: z$1.ZodArray<z$1.ZodEnum<{
|
|
2847
2863
|
COD: "COD";
|
|
2848
|
-
|
|
2864
|
+
ONLINE: "ONLINE";
|
|
2849
2865
|
}>>;
|
|
2850
2866
|
}, z$1.core.$strip>>>;
|
|
2851
2867
|
dinein: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -2853,7 +2869,7 @@ declare const locationSchema: z$1.ZodObject<{
|
|
|
2853
2869
|
numberOfTables: z$1.ZodNumber;
|
|
2854
2870
|
acceptedPayments: z$1.ZodArray<z$1.ZodEnum<{
|
|
2855
2871
|
COD: "COD";
|
|
2856
|
-
|
|
2872
|
+
ONLINE: "ONLINE";
|
|
2857
2873
|
}>>;
|
|
2858
2874
|
}, z$1.core.$strip>>>;
|
|
2859
2875
|
curbside: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -2867,7 +2883,7 @@ declare const locationSchema: z$1.ZodObject<{
|
|
|
2867
2883
|
}, z$1.core.$strip>>>;
|
|
2868
2884
|
acceptedPayments: z$1.ZodArray<z$1.ZodEnum<{
|
|
2869
2885
|
COD: "COD";
|
|
2870
|
-
|
|
2886
|
+
ONLINE: "ONLINE";
|
|
2871
2887
|
}>>;
|
|
2872
2888
|
}, z$1.core.$strip>>>;
|
|
2873
2889
|
acceptedFulfillment: z$1.ZodArray<z$1.ZodEnum<{
|
|
@@ -2899,7 +2915,7 @@ declare const locationSchema: z$1.ZodObject<{
|
|
|
2899
2915
|
mcc: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
2900
2916
|
paymentTypes: z$1.ZodArray<z$1.ZodEnum<{
|
|
2901
2917
|
COD: "COD";
|
|
2902
|
-
|
|
2918
|
+
ONLINE: "ONLINE";
|
|
2903
2919
|
}>>;
|
|
2904
2920
|
theme: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
2905
2921
|
colors: z$1.ZodObject<{
|
|
@@ -3033,10 +3049,10 @@ declare const locationSummarySchema: z$1.ZodObject<{
|
|
|
3033
3049
|
isEnabled: z$1.ZodBoolean;
|
|
3034
3050
|
providers: z$1.ZodArray<z$1.ZodObject<{
|
|
3035
3051
|
provider: z$1.ZodEnum<{
|
|
3036
|
-
LOCAL: "LOCAL";
|
|
3037
|
-
QMILE: "QMILE";
|
|
3038
3052
|
LEAJLAK: "LEAJLAK";
|
|
3039
3053
|
PARCEL: "PARCEL";
|
|
3054
|
+
QMILE: "QMILE";
|
|
3055
|
+
LOCAL: "LOCAL";
|
|
3040
3056
|
}>;
|
|
3041
3057
|
isEnabled: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
3042
3058
|
priority: z$1.ZodDefault<z$1.ZodNumber>;
|
|
@@ -3069,7 +3085,7 @@ declare const locationSummarySchema: z$1.ZodObject<{
|
|
|
3069
3085
|
minDeliveryAmount: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodBigInt>>;
|
|
3070
3086
|
acceptedPayments: z$1.ZodArray<z$1.ZodEnum<{
|
|
3071
3087
|
COD: "COD";
|
|
3072
|
-
|
|
3088
|
+
ONLINE: "ONLINE";
|
|
3073
3089
|
}>>;
|
|
3074
3090
|
}, z$1.core.$strip>>>;
|
|
3075
3091
|
pickup: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -3077,7 +3093,7 @@ declare const locationSummarySchema: z$1.ZodObject<{
|
|
|
3077
3093
|
preparationTimeMinutes: z$1.ZodNumber;
|
|
3078
3094
|
acceptedPayments: z$1.ZodArray<z$1.ZodEnum<{
|
|
3079
3095
|
COD: "COD";
|
|
3080
|
-
|
|
3096
|
+
ONLINE: "ONLINE";
|
|
3081
3097
|
}>>;
|
|
3082
3098
|
}, z$1.core.$strip>>>;
|
|
3083
3099
|
dinein: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -3085,7 +3101,7 @@ declare const locationSummarySchema: z$1.ZodObject<{
|
|
|
3085
3101
|
numberOfTables: z$1.ZodNumber;
|
|
3086
3102
|
acceptedPayments: z$1.ZodArray<z$1.ZodEnum<{
|
|
3087
3103
|
COD: "COD";
|
|
3088
|
-
|
|
3104
|
+
ONLINE: "ONLINE";
|
|
3089
3105
|
}>>;
|
|
3090
3106
|
}, z$1.core.$strip>>>;
|
|
3091
3107
|
curbside: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -3099,7 +3115,7 @@ declare const locationSummarySchema: z$1.ZodObject<{
|
|
|
3099
3115
|
}, z$1.core.$strip>>>;
|
|
3100
3116
|
acceptedPayments: z$1.ZodArray<z$1.ZodEnum<{
|
|
3101
3117
|
COD: "COD";
|
|
3102
|
-
|
|
3118
|
+
ONLINE: "ONLINE";
|
|
3103
3119
|
}>>;
|
|
3104
3120
|
}, z$1.core.$strip>>>;
|
|
3105
3121
|
acceptedFulfillment: z$1.ZodArray<z$1.ZodEnum<{
|
|
@@ -3117,7 +3133,7 @@ declare const locationSummarySchema: z$1.ZodObject<{
|
|
|
3117
3133
|
numberOfTables: z$1.ZodDefault<z$1.ZodNumber>;
|
|
3118
3134
|
acceptedPayments: z$1.ZodArray<z$1.ZodEnum<{
|
|
3119
3135
|
COD: "COD";
|
|
3120
|
-
|
|
3136
|
+
ONLINE: "ONLINE";
|
|
3121
3137
|
}>>;
|
|
3122
3138
|
theme: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
3123
3139
|
colors: z$1.ZodObject<{
|
|
@@ -3242,10 +3258,10 @@ declare const listLocationsOutputSchema: z$1.ZodObject<{
|
|
|
3242
3258
|
isEnabled: z$1.ZodBoolean;
|
|
3243
3259
|
providers: z$1.ZodArray<z$1.ZodObject<{
|
|
3244
3260
|
provider: z$1.ZodEnum<{
|
|
3245
|
-
LOCAL: "LOCAL";
|
|
3246
|
-
QMILE: "QMILE";
|
|
3247
3261
|
LEAJLAK: "LEAJLAK";
|
|
3248
3262
|
PARCEL: "PARCEL";
|
|
3263
|
+
QMILE: "QMILE";
|
|
3264
|
+
LOCAL: "LOCAL";
|
|
3249
3265
|
}>;
|
|
3250
3266
|
isEnabled: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
3251
3267
|
priority: z$1.ZodDefault<z$1.ZodNumber>;
|
|
@@ -3278,7 +3294,7 @@ declare const listLocationsOutputSchema: z$1.ZodObject<{
|
|
|
3278
3294
|
minDeliveryAmount: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodBigInt>>;
|
|
3279
3295
|
acceptedPayments: z$1.ZodArray<z$1.ZodEnum<{
|
|
3280
3296
|
COD: "COD";
|
|
3281
|
-
|
|
3297
|
+
ONLINE: "ONLINE";
|
|
3282
3298
|
}>>;
|
|
3283
3299
|
}, z$1.core.$strip>>>;
|
|
3284
3300
|
pickup: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -3286,7 +3302,7 @@ declare const listLocationsOutputSchema: z$1.ZodObject<{
|
|
|
3286
3302
|
preparationTimeMinutes: z$1.ZodNumber;
|
|
3287
3303
|
acceptedPayments: z$1.ZodArray<z$1.ZodEnum<{
|
|
3288
3304
|
COD: "COD";
|
|
3289
|
-
|
|
3305
|
+
ONLINE: "ONLINE";
|
|
3290
3306
|
}>>;
|
|
3291
3307
|
}, z$1.core.$strip>>>;
|
|
3292
3308
|
dinein: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -3294,7 +3310,7 @@ declare const listLocationsOutputSchema: z$1.ZodObject<{
|
|
|
3294
3310
|
numberOfTables: z$1.ZodNumber;
|
|
3295
3311
|
acceptedPayments: z$1.ZodArray<z$1.ZodEnum<{
|
|
3296
3312
|
COD: "COD";
|
|
3297
|
-
|
|
3313
|
+
ONLINE: "ONLINE";
|
|
3298
3314
|
}>>;
|
|
3299
3315
|
}, z$1.core.$strip>>>;
|
|
3300
3316
|
curbside: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -3308,7 +3324,7 @@ declare const listLocationsOutputSchema: z$1.ZodObject<{
|
|
|
3308
3324
|
}, z$1.core.$strip>>>;
|
|
3309
3325
|
acceptedPayments: z$1.ZodArray<z$1.ZodEnum<{
|
|
3310
3326
|
COD: "COD";
|
|
3311
|
-
|
|
3327
|
+
ONLINE: "ONLINE";
|
|
3312
3328
|
}>>;
|
|
3313
3329
|
}, z$1.core.$strip>>>;
|
|
3314
3330
|
acceptedFulfillment: z$1.ZodArray<z$1.ZodEnum<{
|
|
@@ -3326,7 +3342,7 @@ declare const listLocationsOutputSchema: z$1.ZodObject<{
|
|
|
3326
3342
|
numberOfTables: z$1.ZodDefault<z$1.ZodNumber>;
|
|
3327
3343
|
acceptedPayments: z$1.ZodArray<z$1.ZodEnum<{
|
|
3328
3344
|
COD: "COD";
|
|
3329
|
-
|
|
3345
|
+
ONLINE: "ONLINE";
|
|
3330
3346
|
}>>;
|
|
3331
3347
|
theme: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
3332
3348
|
colors: z$1.ZodObject<{
|
|
@@ -3382,8 +3398,8 @@ declare const createLocationInputSchema: z$1.ZodObject<{
|
|
|
3382
3398
|
phoneNumber: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
3383
3399
|
description: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>>;
|
|
3384
3400
|
type: z$1.ZodDefault<z$1.ZodEnum<{
|
|
3385
|
-
PHYSICAL: "PHYSICAL";
|
|
3386
3401
|
ONLINE: "ONLINE";
|
|
3402
|
+
PHYSICAL: "PHYSICAL";
|
|
3387
3403
|
}>>;
|
|
3388
3404
|
status: z$1.ZodDefault<z$1.ZodEnum<{
|
|
3389
3405
|
ACTIVE: "ACTIVE";
|
|
@@ -3412,8 +3428,8 @@ declare const updateLocationInputSchema: z$1.ZodObject<{
|
|
|
3412
3428
|
phoneNumber: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>>;
|
|
3413
3429
|
description: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>>>;
|
|
3414
3430
|
type: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodEnum<{
|
|
3415
|
-
PHYSICAL: "PHYSICAL";
|
|
3416
3431
|
ONLINE: "ONLINE";
|
|
3432
|
+
PHYSICAL: "PHYSICAL";
|
|
3417
3433
|
}>>>;
|
|
3418
3434
|
status: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodEnum<{
|
|
3419
3435
|
ACTIVE: "ACTIVE";
|
|
@@ -3462,10 +3478,10 @@ declare const createDeliveryConfigForLocationInputSchema: z$1.ZodObject<{
|
|
|
3462
3478
|
isEnabled: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
3463
3479
|
providers: z$1.ZodArray<z$1.ZodObject<{
|
|
3464
3480
|
provider: z$1.ZodEnum<{
|
|
3465
|
-
LOCAL: "LOCAL";
|
|
3466
|
-
QMILE: "QMILE";
|
|
3467
3481
|
LEAJLAK: "LEAJLAK";
|
|
3468
3482
|
PARCEL: "PARCEL";
|
|
3483
|
+
QMILE: "QMILE";
|
|
3484
|
+
LOCAL: "LOCAL";
|
|
3469
3485
|
}>;
|
|
3470
3486
|
isEnabled: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
3471
3487
|
priority: z$1.ZodDefault<z$1.ZodNumber>;
|
|
@@ -3498,7 +3514,7 @@ declare const createDeliveryConfigForLocationInputSchema: z$1.ZodObject<{
|
|
|
3498
3514
|
minDeliveryAmount: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodBigInt>>;
|
|
3499
3515
|
acceptedPayments: z$1.ZodDefault<z$1.ZodArray<z$1.ZodEnum<{
|
|
3500
3516
|
COD: "COD";
|
|
3501
|
-
|
|
3517
|
+
ONLINE: "ONLINE";
|
|
3502
3518
|
}>>>;
|
|
3503
3519
|
}, z$1.core.$strip>;
|
|
3504
3520
|
}, z$1.core.$strip>;
|
|
@@ -3556,7 +3572,7 @@ declare const upsertDineInInputSchema: z$1.ZodObject<{
|
|
|
3556
3572
|
}, z$1.core.$strip>>>;
|
|
3557
3573
|
acceptedPayments: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
3558
3574
|
COD: "COD";
|
|
3559
|
-
|
|
3575
|
+
ONLINE: "ONLINE";
|
|
3560
3576
|
}>>>;
|
|
3561
3577
|
}, z$1.core.$strip>;
|
|
3562
3578
|
}, z$1.core.$strip>;
|
|
@@ -3567,10 +3583,10 @@ declare const upsertDeliveryInputSchema: z$1.ZodObject<{
|
|
|
3567
3583
|
isEnabled: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodBoolean>>;
|
|
3568
3584
|
providers: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
3569
3585
|
provider: z$1.ZodEnum<{
|
|
3570
|
-
LOCAL: "LOCAL";
|
|
3571
|
-
QMILE: "QMILE";
|
|
3572
3586
|
LEAJLAK: "LEAJLAK";
|
|
3573
3587
|
PARCEL: "PARCEL";
|
|
3588
|
+
QMILE: "QMILE";
|
|
3589
|
+
LOCAL: "LOCAL";
|
|
3574
3590
|
}>;
|
|
3575
3591
|
isEnabled: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
3576
3592
|
priority: z$1.ZodDefault<z$1.ZodNumber>;
|
|
@@ -3603,7 +3619,7 @@ declare const upsertDeliveryInputSchema: z$1.ZodObject<{
|
|
|
3603
3619
|
minDeliveryAmount: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodBigInt>>>;
|
|
3604
3620
|
acceptedPayments: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodEnum<{
|
|
3605
3621
|
COD: "COD";
|
|
3606
|
-
|
|
3622
|
+
ONLINE: "ONLINE";
|
|
3607
3623
|
}>>>>;
|
|
3608
3624
|
}, z$1.core.$strip>;
|
|
3609
3625
|
}, z$1.core.$strip>;
|
|
@@ -3650,7 +3666,7 @@ declare const upsertPickupInputSchema: z$1.ZodObject<{
|
|
|
3650
3666
|
}, z$1.core.$strip>>>;
|
|
3651
3667
|
acceptedPayments: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
3652
3668
|
COD: "COD";
|
|
3653
|
-
|
|
3669
|
+
ONLINE: "ONLINE";
|
|
3654
3670
|
}>>>;
|
|
3655
3671
|
}, z$1.core.$strip>;
|
|
3656
3672
|
}, z$1.core.$strip>;
|
|
@@ -3674,7 +3690,7 @@ declare const upsertCurbsideInputSchema: z$1.ZodObject<{
|
|
|
3674
3690
|
}, z$1.core.$strip>>>;
|
|
3675
3691
|
acceptedPayments: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
|
|
3676
3692
|
COD: "COD";
|
|
3677
|
-
|
|
3693
|
+
ONLINE: "ONLINE";
|
|
3678
3694
|
}>>>;
|
|
3679
3695
|
}, z$1.core.$strip>;
|
|
3680
3696
|
}, z$1.core.$strip>;
|
|
@@ -3767,6 +3783,7 @@ declare const createWhatsAppGroupOutputSchema: z$1.ZodObject<{
|
|
|
3767
3783
|
id: z$1.ZodString;
|
|
3768
3784
|
groupJid: z$1.ZodString;
|
|
3769
3785
|
groupName: z$1.ZodString;
|
|
3786
|
+
inviteLink: z$1.ZodOptional<z$1.ZodString>;
|
|
3770
3787
|
}, z$1.core.$strip>;
|
|
3771
3788
|
type CreateWhatsAppGroupOutput = z$1.infer<typeof createWhatsAppGroupOutputSchema>;
|
|
3772
3789
|
/**
|
|
@@ -3782,6 +3799,7 @@ declare const linkWhatsAppGroupOutputSchema: z$1.ZodObject<{
|
|
|
3782
3799
|
id: z$1.ZodString;
|
|
3783
3800
|
groupJid: z$1.ZodString;
|
|
3784
3801
|
groupName: z$1.ZodString;
|
|
3802
|
+
inviteLink: z$1.ZodOptional<z$1.ZodString>;
|
|
3785
3803
|
}, z$1.core.$strip>;
|
|
3786
3804
|
type LinkWhatsAppGroupOutput = z$1.infer<typeof linkWhatsAppGroupOutputSchema>;
|
|
3787
3805
|
/**
|
|
@@ -3898,13 +3916,23 @@ declare const deleteLocationBusinessHoursInputSchema: z$1.ZodObject<{
|
|
|
3898
3916
|
locationId: z$1.ZodUUID;
|
|
3899
3917
|
}, z$1.core.$strip>;
|
|
3900
3918
|
type DeleteLocationBusinessHoursInput = z$1.infer<typeof deleteLocationBusinessHoursInputSchema>;
|
|
3919
|
+
declare const deleteLocationInputSchema: z$1.ZodObject<{
|
|
3920
|
+
locationId: z$1.ZodUUID;
|
|
3921
|
+
}, z$1.core.$strip>;
|
|
3922
|
+
type DeleteLocationInput = z$1.infer<typeof deleteLocationInputSchema>;
|
|
3923
|
+
declare const deleteLocationOutputSchema: z$1.ZodObject<{
|
|
3924
|
+
success: z$1.ZodLiteral<true>;
|
|
3925
|
+
locationId: z$1.ZodUUID;
|
|
3926
|
+
deletedAt: z$1.ZodDate;
|
|
3927
|
+
}, z$1.core.$strip>;
|
|
3928
|
+
type DeleteLocationOutput = z$1.infer<typeof deleteLocationOutputSchema>;
|
|
3901
3929
|
//#endregion
|
|
3902
3930
|
//#region src/schema/merchant-integrations.d.ts
|
|
3903
3931
|
declare const deliveryProviderSchema: z.ZodEnum<{
|
|
3904
|
-
LOCAL: "LOCAL";
|
|
3905
|
-
QMILE: "QMILE";
|
|
3906
3932
|
LEAJLAK: "LEAJLAK";
|
|
3907
3933
|
PARCEL: "PARCEL";
|
|
3934
|
+
QMILE: "QMILE";
|
|
3935
|
+
LOCAL: "LOCAL";
|
|
3908
3936
|
}>;
|
|
3909
3937
|
type DeliveryProvider = z.infer<typeof deliveryProviderSchema>;
|
|
3910
3938
|
declare const posProviderSchema: z.ZodEnum<{
|
|
@@ -3912,10 +3940,10 @@ declare const posProviderSchema: z.ZodEnum<{
|
|
|
3912
3940
|
}>;
|
|
3913
3941
|
type PosProvider = z.infer<typeof posProviderSchema>;
|
|
3914
3942
|
declare const integrationProviderSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3915
|
-
LOCAL: "LOCAL";
|
|
3916
|
-
QMILE: "QMILE";
|
|
3917
3943
|
LEAJLAK: "LEAJLAK";
|
|
3918
3944
|
PARCEL: "PARCEL";
|
|
3945
|
+
QMILE: "QMILE";
|
|
3946
|
+
LOCAL: "LOCAL";
|
|
3919
3947
|
}>, z.ZodEnum<{
|
|
3920
3948
|
SQUARE: "SQUARE";
|
|
3921
3949
|
}>]>;
|
|
@@ -3990,10 +4018,10 @@ type MerchantIntegrationBase = z.infer<typeof merchantIntegrationBaseSchema>;
|
|
|
3990
4018
|
declare const createIntegrationInputSchema: z.ZodObject<{
|
|
3991
4019
|
merchantId: z.ZodUUID;
|
|
3992
4020
|
provider: z.ZodEnum<{
|
|
3993
|
-
LOCAL: "LOCAL";
|
|
3994
|
-
QMILE: "QMILE";
|
|
3995
4021
|
LEAJLAK: "LEAJLAK";
|
|
3996
4022
|
PARCEL: "PARCEL";
|
|
4023
|
+
QMILE: "QMILE";
|
|
4024
|
+
LOCAL: "LOCAL";
|
|
3997
4025
|
}>;
|
|
3998
4026
|
data: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3999
4027
|
type: z.ZodLiteral<"LEAJLAK">;
|
|
@@ -4036,10 +4064,10 @@ type CreateIntegrationOutput = z.infer<typeof createIntegrationOutputSchema>;
|
|
|
4036
4064
|
declare const getIntegrationInputSchema: z.ZodObject<{
|
|
4037
4065
|
merchantId: z.ZodOptional<z.ZodUUID>;
|
|
4038
4066
|
provider: z.ZodUnion<readonly [z.ZodEnum<{
|
|
4039
|
-
LOCAL: "LOCAL";
|
|
4040
|
-
QMILE: "QMILE";
|
|
4041
4067
|
LEAJLAK: "LEAJLAK";
|
|
4042
4068
|
PARCEL: "PARCEL";
|
|
4069
|
+
QMILE: "QMILE";
|
|
4070
|
+
LOCAL: "LOCAL";
|
|
4043
4071
|
}>, z.ZodEnum<{
|
|
4044
4072
|
SQUARE: "SQUARE";
|
|
4045
4073
|
}>]>;
|
|
@@ -4199,10 +4227,10 @@ type ConnectIntegrationOutput = z.infer<typeof connectIntegrationOutputSchema>;
|
|
|
4199
4227
|
declare const disconnectIntegrationInputSchema: z.ZodObject<{
|
|
4200
4228
|
merchantId: z.ZodOptional<z.ZodUUID>;
|
|
4201
4229
|
provider: z.ZodUnion<readonly [z.ZodEnum<{
|
|
4202
|
-
LOCAL: "LOCAL";
|
|
4203
|
-
QMILE: "QMILE";
|
|
4204
4230
|
LEAJLAK: "LEAJLAK";
|
|
4205
4231
|
PARCEL: "PARCEL";
|
|
4232
|
+
QMILE: "QMILE";
|
|
4233
|
+
LOCAL: "LOCAL";
|
|
4206
4234
|
}>, z.ZodEnum<{
|
|
4207
4235
|
SQUARE: "SQUARE";
|
|
4208
4236
|
}>]>;
|
|
@@ -4214,10 +4242,10 @@ declare const deliveryBaseSchema: z.ZodObject<{
|
|
|
4214
4242
|
merchantId: z.ZodUUID;
|
|
4215
4243
|
locationId: z.ZodUUID;
|
|
4216
4244
|
provider: z.ZodEnum<{
|
|
4217
|
-
LOCAL: "LOCAL";
|
|
4218
|
-
QMILE: "QMILE";
|
|
4219
4245
|
LEAJLAK: "LEAJLAK";
|
|
4220
4246
|
PARCEL: "PARCEL";
|
|
4247
|
+
QMILE: "QMILE";
|
|
4248
|
+
LOCAL: "LOCAL";
|
|
4221
4249
|
}>;
|
|
4222
4250
|
providerOrderId: z.ZodNullable<z.ZodString>;
|
|
4223
4251
|
status: z.ZodEnum<{
|
|
@@ -4241,10 +4269,10 @@ type DeliveryBase = z.infer<typeof deliveryBaseSchema>;
|
|
|
4241
4269
|
declare const integrateLocationInputSchema: z.ZodObject<{
|
|
4242
4270
|
merchantId: z.ZodOptional<z.ZodUUID>;
|
|
4243
4271
|
provider: z.ZodEnum<{
|
|
4244
|
-
LOCAL: "LOCAL";
|
|
4245
|
-
QMILE: "QMILE";
|
|
4246
4272
|
LEAJLAK: "LEAJLAK";
|
|
4247
4273
|
PARCEL: "PARCEL";
|
|
4274
|
+
QMILE: "QMILE";
|
|
4275
|
+
LOCAL: "LOCAL";
|
|
4248
4276
|
}>;
|
|
4249
4277
|
locationId: z.ZodUUID;
|
|
4250
4278
|
contactPerson: z.ZodOptional<z.ZodString>;
|
|
@@ -4338,9 +4366,9 @@ declare const merchantInvoiceSchema: z.ZodObject<{
|
|
|
4338
4366
|
status: z.ZodEnum<{
|
|
4339
4367
|
CANCELLED: "CANCELLED";
|
|
4340
4368
|
FAILED: "FAILED";
|
|
4341
|
-
PENDING: "PENDING";
|
|
4342
4369
|
PAID: "PAID";
|
|
4343
4370
|
DRAFT: "DRAFT";
|
|
4371
|
+
PENDING: "PENDING";
|
|
4344
4372
|
}>;
|
|
4345
4373
|
dueDate: z.ZodNullable<z.ZodDate>;
|
|
4346
4374
|
paidAt: z.ZodNullable<z.ZodDate>;
|
|
@@ -4373,13 +4401,13 @@ declare const merchantBaseSchema: z.ZodObject<{
|
|
|
4373
4401
|
id: z.ZodUUID;
|
|
4374
4402
|
name: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
4375
4403
|
description: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
4376
|
-
slug: z.ZodString
|
|
4404
|
+
slug: z.ZodNullable<z.ZodString>;
|
|
4377
4405
|
ownerId: z.ZodString;
|
|
4378
4406
|
country: z.ZodString;
|
|
4379
|
-
businessEmail: z.ZodString
|
|
4380
|
-
phoneNumber: z.ZodString
|
|
4381
|
-
logoUrl: z.ZodString
|
|
4382
|
-
bannerUrl: z.ZodString
|
|
4407
|
+
businessEmail: z.ZodNullable<z.ZodString>;
|
|
4408
|
+
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
4409
|
+
logoUrl: z.ZodNullable<z.ZodString>;
|
|
4410
|
+
bannerUrl: z.ZodNullable<z.ZodString>;
|
|
4383
4411
|
createdAt: z.ZodDate;
|
|
4384
4412
|
updatedAt: z.ZodDate;
|
|
4385
4413
|
}, z.core.$strip>;
|
|
@@ -4403,15 +4431,11 @@ declare const merchantIntegrationSchema: z.ZodObject<{
|
|
|
4403
4431
|
}, z.core.$strip>;
|
|
4404
4432
|
type MerchantIntegration = z.infer<typeof merchantIntegrationSchema>;
|
|
4405
4433
|
declare const merchantLegalDetailsSchema: z.ZodObject<{
|
|
4406
|
-
id: z.ZodUUID;
|
|
4407
|
-
merchantId: z.ZodUUID;
|
|
4408
4434
|
CRNNumber: z.ZodString;
|
|
4409
4435
|
VATName: z.ZodNullable<z.ZodString>;
|
|
4410
4436
|
VATNumber: z.ZodNullable<z.ZodString>;
|
|
4411
4437
|
crnDocUrl: z.ZodNullable<z.ZodString>;
|
|
4412
4438
|
vatDocUrl: z.ZodNullable<z.ZodString>;
|
|
4413
|
-
createdAt: z.ZodDate;
|
|
4414
|
-
updatedAt: z.ZodDate;
|
|
4415
4439
|
}, z.core.$strip>;
|
|
4416
4440
|
type MerchantLegalDetails = z.infer<typeof merchantLegalDetailsSchema>;
|
|
4417
4441
|
declare const merchantFullDetailsSchema: z.ZodObject<{
|
|
@@ -4454,15 +4478,11 @@ declare const merchantFullDetailsSchema: z.ZodObject<{
|
|
|
4454
4478
|
updatedAt: z.ZodDate;
|
|
4455
4479
|
}, z.core.$strip>>;
|
|
4456
4480
|
legalDetails: z.ZodNullable<z.ZodObject<{
|
|
4457
|
-
id: z.ZodUUID;
|
|
4458
|
-
merchantId: z.ZodUUID;
|
|
4459
4481
|
CRNNumber: z.ZodString;
|
|
4460
4482
|
VATName: z.ZodNullable<z.ZodString>;
|
|
4461
4483
|
VATNumber: z.ZodNullable<z.ZodString>;
|
|
4462
4484
|
crnDocUrl: z.ZodNullable<z.ZodString>;
|
|
4463
4485
|
vatDocUrl: z.ZodNullable<z.ZodString>;
|
|
4464
|
-
createdAt: z.ZodDate;
|
|
4465
|
-
updatedAt: z.ZodDate;
|
|
4466
4486
|
}, z.core.$strip>>;
|
|
4467
4487
|
}, z.core.$strip>;
|
|
4468
4488
|
type MerchantFullDetails = z.infer<typeof merchantFullDetailsSchema>;
|
|
@@ -4471,13 +4491,13 @@ declare const merchantSummarySchema: z.ZodObject<{
|
|
|
4471
4491
|
id: z.ZodUUID;
|
|
4472
4492
|
name: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
4473
4493
|
description: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
4474
|
-
slug: z.ZodString
|
|
4494
|
+
slug: z.ZodNullable<z.ZodString>;
|
|
4475
4495
|
ownerId: z.ZodString;
|
|
4476
4496
|
country: z.ZodString;
|
|
4477
|
-
businessEmail: z.ZodString
|
|
4478
|
-
phoneNumber: z.ZodString
|
|
4479
|
-
logoUrl: z.ZodString
|
|
4480
|
-
bannerUrl: z.ZodString
|
|
4497
|
+
businessEmail: z.ZodNullable<z.ZodString>;
|
|
4498
|
+
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
4499
|
+
logoUrl: z.ZodNullable<z.ZodString>;
|
|
4500
|
+
bannerUrl: z.ZodNullable<z.ZodString>;
|
|
4481
4501
|
createdAt: z.ZodDate;
|
|
4482
4502
|
updatedAt: z.ZodDate;
|
|
4483
4503
|
}, z.core.$strip>;
|
|
@@ -4540,6 +4560,7 @@ declare const merchantListItemSchema: z.ZodObject<{
|
|
|
4540
4560
|
name: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
4541
4561
|
businessEmail: z.ZodNullable<z.ZodString>;
|
|
4542
4562
|
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
4563
|
+
logoUrl: z.ZodNullable<z.ZodString>;
|
|
4543
4564
|
country: z.ZodString;
|
|
4544
4565
|
createdAt: z.ZodDate;
|
|
4545
4566
|
}, z.core.$strip>;
|
|
@@ -4550,6 +4571,7 @@ declare const listMerchantsOutputSchema: z.ZodObject<{
|
|
|
4550
4571
|
name: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
4551
4572
|
businessEmail: z.ZodNullable<z.ZodString>;
|
|
4552
4573
|
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
4574
|
+
logoUrl: z.ZodNullable<z.ZodString>;
|
|
4553
4575
|
country: z.ZodString;
|
|
4554
4576
|
createdAt: z.ZodDate;
|
|
4555
4577
|
}, z.core.$strip>>;
|
|
@@ -4561,35 +4583,16 @@ declare const listMerchantsOutputSchema: z.ZodObject<{
|
|
|
4561
4583
|
}, z.core.$strip>;
|
|
4562
4584
|
}, z.core.$strip>;
|
|
4563
4585
|
type ListMerchantsOutput = z.infer<typeof listMerchantsOutputSchema>;
|
|
4564
|
-
declare const
|
|
4565
|
-
merchantId: z.ZodUUID;
|
|
4566
|
-
CRNNumber: z.ZodString;
|
|
4567
|
-
VATName: z.ZodOptional<z.ZodString>;
|
|
4568
|
-
VATNumber: z.ZodOptional<z.ZodString>;
|
|
4569
|
-
crnDoc: z.ZodOptional<z.ZodCustom<File, File>>;
|
|
4570
|
-
vatDoc: z.ZodOptional<z.ZodCustom<File, File>>;
|
|
4571
|
-
}, z.core.$strip>;
|
|
4572
|
-
type CreateMerchantLegalDetailsInput = z.infer<typeof createMerchantLegalDetailsInputSchema>;
|
|
4573
|
-
declare const updateMerchantLegalDetailsInputSchema: z.ZodObject<{
|
|
4574
|
-
merchantId: z.ZodUUID;
|
|
4575
|
-
legalDetailsId: z.ZodUUID;
|
|
4576
|
-
CRNNumber: z.ZodOptional<z.ZodString>;
|
|
4577
|
-
VATName: z.ZodOptional<z.ZodString>;
|
|
4578
|
-
VATNumber: z.ZodOptional<z.ZodString>;
|
|
4579
|
-
crnDoc: z.ZodOptional<z.ZodNullable<z.ZodCustom<File, File>>>;
|
|
4580
|
-
vatDoc: z.ZodOptional<z.ZodNullable<z.ZodCustom<File, File>>>;
|
|
4581
|
-
}, z.core.$strip>;
|
|
4582
|
-
type UpdateMerchantLegalDetailsInput = z.infer<typeof updateMerchantLegalDetailsInputSchema>;
|
|
4583
|
-
declare const uploadCrnDocumentInputSchema: z.ZodObject<{
|
|
4586
|
+
declare const uploadMerchantCrnDocInputSchema: z.ZodObject<{
|
|
4584
4587
|
merchantId: z.ZodUUID;
|
|
4585
4588
|
crnDoc: z.ZodCustom<File, File>;
|
|
4586
4589
|
}, z.core.$strip>;
|
|
4587
|
-
type
|
|
4588
|
-
declare const
|
|
4590
|
+
type UploadMerchantCrnDocInput = z.infer<typeof uploadMerchantCrnDocInputSchema>;
|
|
4591
|
+
declare const uploadMerchantVatDocInputSchema: z.ZodObject<{
|
|
4589
4592
|
merchantId: z.ZodUUID;
|
|
4590
4593
|
vatDoc: z.ZodCustom<File, File>;
|
|
4591
4594
|
}, z.core.$strip>;
|
|
4592
|
-
type
|
|
4595
|
+
type UploadMerchantVatDocInput = z.infer<typeof uploadMerchantVatDocInputSchema>;
|
|
4593
4596
|
declare const updateMerchantInputSchema: z.ZodObject<{
|
|
4594
4597
|
merchantId: z.ZodUUID;
|
|
4595
4598
|
name: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -4598,8 +4601,24 @@ declare const updateMerchantInputSchema: z.ZodObject<{
|
|
|
4598
4601
|
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
4599
4602
|
logo: z.ZodOptional<z.ZodNullable<z.ZodCustom<File, File>>>;
|
|
4600
4603
|
banner: z.ZodOptional<z.ZodNullable<z.ZodCustom<File, File>>>;
|
|
4604
|
+
legalDetails: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4605
|
+
CRNNumber: z.ZodOptional<z.ZodString>;
|
|
4606
|
+
VATName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4607
|
+
VATNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4608
|
+
}, z.core.$strip>>>;
|
|
4601
4609
|
}, z.core.$strip>;
|
|
4602
4610
|
type UpdateMerchantInput = z.infer<typeof updateMerchantInputSchema>;
|
|
4611
|
+
declare const deleteMerchantAccountInputSchema: z.ZodObject<{
|
|
4612
|
+
password: z.ZodString;
|
|
4613
|
+
confirmSoftDelete: z.ZodLiteral<true>;
|
|
4614
|
+
}, z.core.$strip>;
|
|
4615
|
+
type DeleteMerchantAccountInput = z.infer<typeof deleteMerchantAccountInputSchema>;
|
|
4616
|
+
declare const deleteMerchantAccountOutputSchema: z.ZodObject<{
|
|
4617
|
+
success: z.ZodLiteral<true>;
|
|
4618
|
+
merchantId: z.ZodUUID;
|
|
4619
|
+
deletedAt: z.ZodDate;
|
|
4620
|
+
}, z.core.$strip>;
|
|
4621
|
+
type DeleteMerchantAccountOutput = z.infer<typeof deleteMerchantAccountOutputSchema>;
|
|
4603
4622
|
//#endregion
|
|
4604
4623
|
//#region src/schema/message-templates.d.ts
|
|
4605
4624
|
declare const messageTemplateProviderEnum: readonly ["whatsapp", "email", "push", "sms"];
|
|
@@ -4621,30 +4640,30 @@ declare const messageTemplateBaseSchema: z.ZodObject<{
|
|
|
4621
4640
|
}, z.core.$strip>;
|
|
4622
4641
|
type MessageTemplate = z.infer<typeof messageTemplateBaseSchema>;
|
|
4623
4642
|
declare const createMessageTemplateInputSchema: z.ZodObject<{
|
|
4624
|
-
name: z.ZodString;
|
|
4625
4643
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4626
|
-
|
|
4644
|
+
language: z.ZodDefault<z.ZodString>;
|
|
4645
|
+
name: z.ZodString;
|
|
4627
4646
|
provider: z.ZodEnum<{
|
|
4628
4647
|
email: "email";
|
|
4629
4648
|
push: "push";
|
|
4630
4649
|
whatsapp: "whatsapp";
|
|
4631
4650
|
sms: "sms";
|
|
4632
4651
|
}>;
|
|
4633
|
-
|
|
4652
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
4634
4653
|
template: z.ZodString;
|
|
4635
4654
|
}, z.core.$strip>;
|
|
4636
4655
|
type CreateMessageTemplateInput = z.infer<typeof createMessageTemplateInputSchema>;
|
|
4637
4656
|
declare const updateMessageTemplateInputSchema: z.ZodObject<{
|
|
4638
|
-
name: z.ZodOptional<z.ZodString>;
|
|
4639
4657
|
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
4640
|
-
|
|
4658
|
+
language: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
4659
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4641
4660
|
provider: z.ZodOptional<z.ZodEnum<{
|
|
4642
4661
|
email: "email";
|
|
4643
4662
|
push: "push";
|
|
4644
4663
|
whatsapp: "whatsapp";
|
|
4645
4664
|
sms: "sms";
|
|
4646
4665
|
}>>;
|
|
4647
|
-
|
|
4666
|
+
isActive: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
4648
4667
|
template: z.ZodOptional<z.ZodString>;
|
|
4649
4668
|
}, z.core.$strip>;
|
|
4650
4669
|
type UpdateMessageTemplateInput = z.infer<typeof updateMessageTemplateInputSchema>;
|
|
@@ -4954,433 +4973,50 @@ declare const paginationSchema: z.ZodObject<{
|
|
|
4954
4973
|
}, z.core.$strip>;
|
|
4955
4974
|
type Pagination = z.infer<typeof paginationSchema>;
|
|
4956
4975
|
//#endregion
|
|
4957
|
-
//#region src/schema/
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
|
|
4967
|
-
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
|
|
4974
|
-
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
|
|
4978
|
-
type PaymentGateway = (typeof paymentGatewayIds)[number] | null;
|
|
4979
|
-
//#endregion
|
|
4980
|
-
//#region src/schema/payments.d.ts
|
|
4981
|
-
declare const gatewayIds: readonly ["MOYASAR"];
|
|
4982
|
-
declare const paymentStatuses: readonly ["INITIATED", "PAID", "AUTHORIZED", "FAILED", "REFUNDED", "CAPTURED", "VOIDED", "VERIFIED"];
|
|
4983
|
-
declare const initiatePaymentInputSchema: z.ZodObject<{
|
|
4984
|
-
entities: z.ZodObject<{
|
|
4985
|
-
merchantId: z.ZodString;
|
|
4986
|
-
customerId: z.ZodString;
|
|
4987
|
-
}, z.core.$strip>;
|
|
4988
|
-
payment: z.ZodObject<{
|
|
4989
|
-
method: z.ZodEnum<{
|
|
4990
|
-
ONLINE: "ONLINE";
|
|
4991
|
-
COD: "COD";
|
|
4992
|
-
}>;
|
|
4993
|
-
orderId: z.ZodString;
|
|
4994
|
-
amount: z.ZodNumber;
|
|
4995
|
-
currency: z.ZodString;
|
|
4996
|
-
description: z.ZodString;
|
|
4997
|
-
language: z.ZodString;
|
|
4998
|
-
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4999
|
-
success_url: z.ZodString;
|
|
5000
|
-
}, z.core.$strip>;
|
|
5001
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
5002
|
-
}, z.core.$strip>;
|
|
5003
|
-
type InitiatePaymentInput = z.infer<typeof initiatePaymentInputSchema>;
|
|
5004
|
-
declare const initiatePaymentOutputSchema: z.ZodObject<{
|
|
5005
|
-
url: z.ZodString;
|
|
4976
|
+
//#region src/schema/payouts.d.ts
|
|
4977
|
+
declare const payoutStatusSchema: z.ZodEnum<{
|
|
4978
|
+
CANCELLED: "CANCELLED";
|
|
4979
|
+
FAILED: "FAILED";
|
|
4980
|
+
PAID: "PAID";
|
|
4981
|
+
PENDING: "PENDING";
|
|
4982
|
+
QUEUED: "QUEUED";
|
|
4983
|
+
PROCESSING: "PROCESSING";
|
|
4984
|
+
}>;
|
|
4985
|
+
declare const payoutProviderSchema: z.ZodEnum<{
|
|
4986
|
+
ANB: "ANB";
|
|
4987
|
+
}>;
|
|
4988
|
+
declare const bankAccountSchema: z.ZodObject<{
|
|
4989
|
+
id: z.ZodString;
|
|
4990
|
+
merchantId: z.ZodString;
|
|
4991
|
+
locationId: z.ZodNullable<z.ZodString>;
|
|
4992
|
+
bicCode: z.ZodString;
|
|
4993
|
+
accountNumber: z.ZodString;
|
|
4994
|
+
accountHolderName: z.ZodString;
|
|
4995
|
+
createdAt: z.ZodDate;
|
|
4996
|
+
updatedAt: z.ZodDate;
|
|
5006
4997
|
}, z.core.$strip>;
|
|
5007
|
-
|
|
5008
|
-
|
|
5009
|
-
|
|
5010
|
-
|
|
5011
|
-
|
|
5012
|
-
|
|
5013
|
-
|
|
5014
|
-
|
|
5015
|
-
expYear: z.ZodOptional<z.ZodNumber>;
|
|
5016
|
-
fingerprint: z.ZodOptional<z.ZodString>;
|
|
5017
|
-
last4: z.ZodOptional<z.ZodString>;
|
|
5018
|
-
}, z.core.$strip>>;
|
|
5019
|
-
digitalWalletDetails: z.ZodOptional<z.ZodObject<{
|
|
5020
|
-
type: z.ZodOptional<z.ZodString>;
|
|
5021
|
-
brand: z.ZodOptional<z.ZodString>;
|
|
5022
|
-
applicationDetails: z.ZodOptional<z.ZodUnknown>;
|
|
5023
|
-
}, z.core.$strip>>;
|
|
5024
|
-
receivedMoney: z.ZodOptional<z.ZodUnknown>;
|
|
5025
|
-
changeMoney: z.ZodOptional<z.ZodUnknown>;
|
|
4998
|
+
declare const createPayoutInputSchema: z.ZodObject<{
|
|
4999
|
+
locationId: z.ZodString;
|
|
5000
|
+
windowStartAt: z.ZodDate;
|
|
5001
|
+
windowEndAt: z.ZodDate;
|
|
5002
|
+
provider: z.ZodOptional<z.ZodEnum<{
|
|
5003
|
+
ANB: "ANB";
|
|
5004
|
+
}>>;
|
|
5005
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
5026
5006
|
}, z.core.$strip>;
|
|
5027
|
-
|
|
5028
|
-
|
|
5029
|
-
|
|
5030
|
-
orderId: z.ZodString;
|
|
5031
|
-
payment: z.ZodObject<{
|
|
5032
|
-
paymentId: z.ZodString;
|
|
5033
|
-
amount: z.ZodNumber;
|
|
5034
|
-
currency: z.ZodString;
|
|
5035
|
-
fee: z.ZodNumber;
|
|
5036
|
-
status: z.ZodEnum<{
|
|
5037
|
-
FAILED: "FAILED";
|
|
5038
|
-
REFUNDED: "REFUNDED";
|
|
5039
|
-
INITIATED: "INITIATED";
|
|
5040
|
-
PAID: "PAID";
|
|
5041
|
-
AUTHORIZED: "AUTHORIZED";
|
|
5042
|
-
CAPTURED: "CAPTURED";
|
|
5043
|
-
VOIDED: "VOIDED";
|
|
5044
|
-
VERIFIED: "VERIFIED";
|
|
5045
|
-
}>;
|
|
5046
|
-
gateway: z.ZodNullable<z.ZodEnum<{
|
|
5047
|
-
MOYASAR: "MOYASAR";
|
|
5048
|
-
}>>;
|
|
5049
|
-
source: z.ZodObject<{
|
|
5050
|
-
type: z.ZodOptional<z.ZodString>;
|
|
5051
|
-
company: z.ZodOptional<z.ZodString>;
|
|
5052
|
-
entryMethod: z.ZodOptional<z.ZodString>;
|
|
5053
|
-
card: z.ZodOptional<z.ZodObject<{
|
|
5054
|
-
bin: z.ZodOptional<z.ZodString>;
|
|
5055
|
-
expMonth: z.ZodOptional<z.ZodNumber>;
|
|
5056
|
-
expYear: z.ZodOptional<z.ZodNumber>;
|
|
5057
|
-
fingerprint: z.ZodOptional<z.ZodString>;
|
|
5058
|
-
last4: z.ZodOptional<z.ZodString>;
|
|
5059
|
-
}, z.core.$strip>>;
|
|
5060
|
-
digitalWalletDetails: z.ZodOptional<z.ZodObject<{
|
|
5061
|
-
type: z.ZodOptional<z.ZodString>;
|
|
5062
|
-
brand: z.ZodOptional<z.ZodString>;
|
|
5063
|
-
applicationDetails: z.ZodOptional<z.ZodUnknown>;
|
|
5064
|
-
}, z.core.$strip>>;
|
|
5065
|
-
receivedMoney: z.ZodOptional<z.ZodUnknown>;
|
|
5066
|
-
changeMoney: z.ZodOptional<z.ZodUnknown>;
|
|
5067
|
-
}, z.core.$strip>;
|
|
5068
|
-
metadata: z.ZodUnknown;
|
|
5069
|
-
ip: z.ZodOptional<z.ZodString>;
|
|
5070
|
-
}, z.core.$strip>;
|
|
5071
|
-
}, z.core.$strip>;
|
|
5072
|
-
type RecordPaymentInput = z.infer<typeof recordPaymentInputSchema>;
|
|
5073
|
-
declare const refundPaymentInputSchema: z.ZodObject<{
|
|
5074
|
-
paymentId: z.ZodString;
|
|
5075
|
-
amount: z.ZodNumber;
|
|
5076
|
-
}, z.core.$strip>;
|
|
5077
|
-
type RefundPaymentInput = z.infer<typeof refundPaymentInputSchema>;
|
|
5078
|
-
declare const paymentOutputSchema: z.ZodObject<{
|
|
5079
|
-
id: z.ZodString;
|
|
5080
|
-
amount: z.ZodNumber;
|
|
5081
|
-
currency: z.ZodString;
|
|
5082
|
-
fee: z.ZodNumber;
|
|
5083
|
-
status: z.ZodEnum<{
|
|
5084
|
-
FAILED: "FAILED";
|
|
5085
|
-
REFUNDED: "REFUNDED";
|
|
5086
|
-
INITIATED: "INITIATED";
|
|
5087
|
-
PAID: "PAID";
|
|
5088
|
-
AUTHORIZED: "AUTHORIZED";
|
|
5089
|
-
CAPTURED: "CAPTURED";
|
|
5090
|
-
VOIDED: "VOIDED";
|
|
5091
|
-
VERIFIED: "VERIFIED";
|
|
5092
|
-
}>;
|
|
5093
|
-
gateway: z.ZodNullable<z.ZodEnum<{
|
|
5094
|
-
MOYASAR: "MOYASAR";
|
|
5095
|
-
}>>;
|
|
5096
|
-
source: z.ZodObject<{
|
|
5097
|
-
type: z.ZodOptional<z.ZodString>;
|
|
5098
|
-
company: z.ZodOptional<z.ZodString>;
|
|
5099
|
-
entryMethod: z.ZodOptional<z.ZodString>;
|
|
5100
|
-
card: z.ZodOptional<z.ZodObject<{
|
|
5101
|
-
bin: z.ZodOptional<z.ZodString>;
|
|
5102
|
-
expMonth: z.ZodOptional<z.ZodNumber>;
|
|
5103
|
-
expYear: z.ZodOptional<z.ZodNumber>;
|
|
5104
|
-
fingerprint: z.ZodOptional<z.ZodString>;
|
|
5105
|
-
last4: z.ZodOptional<z.ZodString>;
|
|
5106
|
-
}, z.core.$strip>>;
|
|
5107
|
-
digitalWalletDetails: z.ZodOptional<z.ZodObject<{
|
|
5108
|
-
type: z.ZodOptional<z.ZodString>;
|
|
5109
|
-
brand: z.ZodOptional<z.ZodString>;
|
|
5110
|
-
applicationDetails: z.ZodOptional<z.ZodUnknown>;
|
|
5111
|
-
}, z.core.$strip>>;
|
|
5112
|
-
receivedMoney: z.ZodOptional<z.ZodUnknown>;
|
|
5113
|
-
changeMoney: z.ZodOptional<z.ZodUnknown>;
|
|
5114
|
-
}, z.core.$strip>;
|
|
5115
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
5116
|
-
ip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5117
|
-
orderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5118
|
-
createdAt: z.ZodDate;
|
|
5119
|
-
updatedAt: z.ZodDate;
|
|
5120
|
-
}, z.core.$strip>;
|
|
5121
|
-
type PaymentOutput = z.infer<typeof paymentOutputSchema>;
|
|
5122
|
-
declare const paymentListItemSchema: z.ZodObject<{
|
|
5123
|
-
id: z.ZodString;
|
|
5124
|
-
amount: z.ZodNumber;
|
|
5125
|
-
currency: z.ZodString;
|
|
5126
|
-
fee: z.ZodNumber;
|
|
5127
|
-
status: z.ZodEnum<{
|
|
5128
|
-
FAILED: "FAILED";
|
|
5129
|
-
REFUNDED: "REFUNDED";
|
|
5130
|
-
INITIATED: "INITIATED";
|
|
5131
|
-
PAID: "PAID";
|
|
5132
|
-
AUTHORIZED: "AUTHORIZED";
|
|
5133
|
-
CAPTURED: "CAPTURED";
|
|
5134
|
-
VOIDED: "VOIDED";
|
|
5135
|
-
VERIFIED: "VERIFIED";
|
|
5136
|
-
}>;
|
|
5137
|
-
gateway: z.ZodNullable<z.ZodEnum<{
|
|
5138
|
-
MOYASAR: "MOYASAR";
|
|
5139
|
-
}>>;
|
|
5140
|
-
source: z.ZodObject<{
|
|
5141
|
-
type: z.ZodOptional<z.ZodString>;
|
|
5142
|
-
company: z.ZodOptional<z.ZodString>;
|
|
5143
|
-
entryMethod: z.ZodOptional<z.ZodString>;
|
|
5144
|
-
card: z.ZodOptional<z.ZodObject<{
|
|
5145
|
-
bin: z.ZodOptional<z.ZodString>;
|
|
5146
|
-
expMonth: z.ZodOptional<z.ZodNumber>;
|
|
5147
|
-
expYear: z.ZodOptional<z.ZodNumber>;
|
|
5148
|
-
fingerprint: z.ZodOptional<z.ZodString>;
|
|
5149
|
-
last4: z.ZodOptional<z.ZodString>;
|
|
5150
|
-
}, z.core.$strip>>;
|
|
5151
|
-
digitalWalletDetails: z.ZodOptional<z.ZodObject<{
|
|
5152
|
-
type: z.ZodOptional<z.ZodString>;
|
|
5153
|
-
brand: z.ZodOptional<z.ZodString>;
|
|
5154
|
-
applicationDetails: z.ZodOptional<z.ZodUnknown>;
|
|
5155
|
-
}, z.core.$strip>>;
|
|
5156
|
-
receivedMoney: z.ZodOptional<z.ZodUnknown>;
|
|
5157
|
-
changeMoney: z.ZodOptional<z.ZodUnknown>;
|
|
5158
|
-
}, z.core.$strip>;
|
|
5159
|
-
orderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5160
|
-
createdAt: z.ZodDate;
|
|
5161
|
-
}, z.core.$strip>;
|
|
5162
|
-
type PaymentListItem = z.infer<typeof paymentListItemSchema>;
|
|
5163
|
-
declare const paymentFilterSchema: z.ZodObject<{
|
|
5164
|
-
merchantId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
5165
|
-
locationId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
5166
|
-
orderId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
5167
|
-
status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
5168
|
-
FAILED: "FAILED";
|
|
5169
|
-
REFUNDED: "REFUNDED";
|
|
5170
|
-
INITIATED: "INITIATED";
|
|
5171
|
-
PAID: "PAID";
|
|
5172
|
-
AUTHORIZED: "AUTHORIZED";
|
|
5173
|
-
CAPTURED: "CAPTURED";
|
|
5174
|
-
VOIDED: "VOIDED";
|
|
5175
|
-
VERIFIED: "VERIFIED";
|
|
5176
|
-
}>>>;
|
|
5177
|
-
gateway: z.ZodOptional<z.ZodNullable<z.ZodNullable<z.ZodEnum<{
|
|
5178
|
-
MOYASAR: "MOYASAR";
|
|
5179
|
-
}>>>>;
|
|
5180
|
-
startTime: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
5181
|
-
endTime: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
5182
|
-
}, z.core.$strip>;
|
|
5183
|
-
type PaymentFilter = z.infer<typeof paymentFilterSchema>;
|
|
5184
|
-
declare const listPaymentsInputSchema: z.ZodObject<{
|
|
5185
|
-
pagination: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
5186
|
-
page: z.ZodDefault<z.ZodNumber>;
|
|
5187
|
-
pageSize: z.ZodDefault<z.ZodNumber>;
|
|
5188
|
-
}, z.core.$strip>>>;
|
|
5189
|
-
filter: z.ZodOptional<z.ZodObject<{
|
|
5190
|
-
merchantId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
5191
|
-
locationId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
5192
|
-
orderId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
5193
|
-
status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
5194
|
-
FAILED: "FAILED";
|
|
5195
|
-
REFUNDED: "REFUNDED";
|
|
5196
|
-
INITIATED: "INITIATED";
|
|
5197
|
-
PAID: "PAID";
|
|
5198
|
-
AUTHORIZED: "AUTHORIZED";
|
|
5199
|
-
CAPTURED: "CAPTURED";
|
|
5200
|
-
VOIDED: "VOIDED";
|
|
5201
|
-
VERIFIED: "VERIFIED";
|
|
5202
|
-
}>>>;
|
|
5203
|
-
gateway: z.ZodOptional<z.ZodNullable<z.ZodNullable<z.ZodEnum<{
|
|
5204
|
-
MOYASAR: "MOYASAR";
|
|
5205
|
-
}>>>>;
|
|
5206
|
-
startTime: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
5207
|
-
endTime: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
5208
|
-
}, z.core.$strip>>;
|
|
5209
|
-
sort: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
5210
|
-
asc: "asc";
|
|
5211
|
-
desc: "desc";
|
|
5212
|
-
}>>>;
|
|
5213
|
-
}, z.core.$strip>;
|
|
5214
|
-
type ListPaymentsInput = z.infer<typeof listPaymentsInputSchema>;
|
|
5215
|
-
declare const listPaymentsOutputSchema: z.ZodObject<{
|
|
5216
|
-
items: z.ZodArray<z.ZodObject<{
|
|
5217
|
-
id: z.ZodString;
|
|
5218
|
-
amount: z.ZodNumber;
|
|
5219
|
-
currency: z.ZodString;
|
|
5220
|
-
fee: z.ZodNumber;
|
|
5221
|
-
status: z.ZodEnum<{
|
|
5222
|
-
FAILED: "FAILED";
|
|
5223
|
-
REFUNDED: "REFUNDED";
|
|
5224
|
-
INITIATED: "INITIATED";
|
|
5225
|
-
PAID: "PAID";
|
|
5226
|
-
AUTHORIZED: "AUTHORIZED";
|
|
5227
|
-
CAPTURED: "CAPTURED";
|
|
5228
|
-
VOIDED: "VOIDED";
|
|
5229
|
-
VERIFIED: "VERIFIED";
|
|
5230
|
-
}>;
|
|
5231
|
-
gateway: z.ZodNullable<z.ZodEnum<{
|
|
5232
|
-
MOYASAR: "MOYASAR";
|
|
5233
|
-
}>>;
|
|
5234
|
-
source: z.ZodObject<{
|
|
5235
|
-
type: z.ZodOptional<z.ZodString>;
|
|
5236
|
-
company: z.ZodOptional<z.ZodString>;
|
|
5237
|
-
entryMethod: z.ZodOptional<z.ZodString>;
|
|
5238
|
-
card: z.ZodOptional<z.ZodObject<{
|
|
5239
|
-
bin: z.ZodOptional<z.ZodString>;
|
|
5240
|
-
expMonth: z.ZodOptional<z.ZodNumber>;
|
|
5241
|
-
expYear: z.ZodOptional<z.ZodNumber>;
|
|
5242
|
-
fingerprint: z.ZodOptional<z.ZodString>;
|
|
5243
|
-
last4: z.ZodOptional<z.ZodString>;
|
|
5244
|
-
}, z.core.$strip>>;
|
|
5245
|
-
digitalWalletDetails: z.ZodOptional<z.ZodObject<{
|
|
5246
|
-
type: z.ZodOptional<z.ZodString>;
|
|
5247
|
-
brand: z.ZodOptional<z.ZodString>;
|
|
5248
|
-
applicationDetails: z.ZodOptional<z.ZodUnknown>;
|
|
5249
|
-
}, z.core.$strip>>;
|
|
5250
|
-
receivedMoney: z.ZodOptional<z.ZodUnknown>;
|
|
5251
|
-
changeMoney: z.ZodOptional<z.ZodUnknown>;
|
|
5252
|
-
}, z.core.$strip>;
|
|
5253
|
-
orderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5254
|
-
createdAt: z.ZodDate;
|
|
5255
|
-
}, z.core.$strip>>;
|
|
5256
|
-
pagination: z.ZodObject<{
|
|
5257
|
-
page: z.ZodNumber;
|
|
5258
|
-
pageSize: z.ZodNumber;
|
|
5259
|
-
totalItems: z.ZodNumber;
|
|
5260
|
-
totalPages: z.ZodNumber;
|
|
5261
|
-
}, z.core.$strip>;
|
|
5262
|
-
}, z.core.$strip>;
|
|
5263
|
-
type ListPaymentsOutput = z.infer<typeof listPaymentsOutputSchema>;
|
|
5264
|
-
declare const getPaymentInputSchema: z.ZodObject<{
|
|
5265
|
-
paymentId: z.ZodUUID;
|
|
5266
|
-
}, z.core.$strip>;
|
|
5267
|
-
type GetPaymentInput = z.infer<typeof getPaymentInputSchema>;
|
|
5268
|
-
declare const refundOrderInputSchema: z.ZodObject<{
|
|
5269
|
-
orderId: z.ZodUUID;
|
|
5270
|
-
amount: z.ZodOptional<z.ZodNumber>;
|
|
5271
|
-
}, z.core.$strip>;
|
|
5272
|
-
type RefundOrderInput = z.infer<typeof refundOrderInputSchema>;
|
|
5273
|
-
declare const refundOrderOutputSchema: z.ZodObject<{
|
|
5274
|
-
orderId: z.ZodString;
|
|
5275
|
-
refundInitiated: z.ZodBoolean;
|
|
5276
|
-
paymentIds: z.ZodArray<z.ZodString>;
|
|
5277
|
-
message: z.ZodString;
|
|
5278
|
-
}, z.core.$strip>;
|
|
5279
|
-
type RefundOrderOutput = z.infer<typeof refundOrderOutputSchema>;
|
|
5280
|
-
/** Payment types for COD (Cash on Delivery) orders. */
|
|
5281
|
-
declare const codPaymentTypeIds: readonly ["CASH", "CARD"];
|
|
5282
|
-
type CodPaymentType = (typeof codPaymentTypeIds)[number];
|
|
5283
|
-
/** Mark a COD payment as paid. */
|
|
5284
|
-
declare const setPaidInputSchema: z.ZodObject<{
|
|
5285
|
-
paymentId: z.ZodUUID;
|
|
5286
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
5287
|
-
CARD: "CARD";
|
|
5288
|
-
CASH: "CASH";
|
|
5289
|
-
}>>;
|
|
5290
|
-
}, z.core.$strip>;
|
|
5291
|
-
type SetPaidInput = z.infer<typeof setPaidInputSchema>;
|
|
5292
|
-
declare const setPaidOutputSchema: z.ZodObject<{
|
|
5293
|
-
success: z.ZodBoolean;
|
|
5294
|
-
payment: z.ZodObject<{
|
|
5295
|
-
id: z.ZodString;
|
|
5296
|
-
amount: z.ZodNumber;
|
|
5297
|
-
currency: z.ZodString;
|
|
5298
|
-
fee: z.ZodNumber;
|
|
5299
|
-
status: z.ZodEnum<{
|
|
5300
|
-
FAILED: "FAILED";
|
|
5301
|
-
REFUNDED: "REFUNDED";
|
|
5302
|
-
INITIATED: "INITIATED";
|
|
5303
|
-
PAID: "PAID";
|
|
5304
|
-
AUTHORIZED: "AUTHORIZED";
|
|
5305
|
-
CAPTURED: "CAPTURED";
|
|
5306
|
-
VOIDED: "VOIDED";
|
|
5307
|
-
VERIFIED: "VERIFIED";
|
|
5308
|
-
}>;
|
|
5309
|
-
gateway: z.ZodNullable<z.ZodEnum<{
|
|
5310
|
-
MOYASAR: "MOYASAR";
|
|
5311
|
-
}>>;
|
|
5312
|
-
source: z.ZodObject<{
|
|
5313
|
-
type: z.ZodOptional<z.ZodString>;
|
|
5314
|
-
company: z.ZodOptional<z.ZodString>;
|
|
5315
|
-
entryMethod: z.ZodOptional<z.ZodString>;
|
|
5316
|
-
card: z.ZodOptional<z.ZodObject<{
|
|
5317
|
-
bin: z.ZodOptional<z.ZodString>;
|
|
5318
|
-
expMonth: z.ZodOptional<z.ZodNumber>;
|
|
5319
|
-
expYear: z.ZodOptional<z.ZodNumber>;
|
|
5320
|
-
fingerprint: z.ZodOptional<z.ZodString>;
|
|
5321
|
-
last4: z.ZodOptional<z.ZodString>;
|
|
5322
|
-
}, z.core.$strip>>;
|
|
5323
|
-
digitalWalletDetails: z.ZodOptional<z.ZodObject<{
|
|
5324
|
-
type: z.ZodOptional<z.ZodString>;
|
|
5325
|
-
brand: z.ZodOptional<z.ZodString>;
|
|
5326
|
-
applicationDetails: z.ZodOptional<z.ZodUnknown>;
|
|
5327
|
-
}, z.core.$strip>>;
|
|
5328
|
-
receivedMoney: z.ZodOptional<z.ZodUnknown>;
|
|
5329
|
-
changeMoney: z.ZodOptional<z.ZodUnknown>;
|
|
5330
|
-
}, z.core.$strip>;
|
|
5331
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
5332
|
-
ip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5333
|
-
orderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5334
|
-
createdAt: z.ZodDate;
|
|
5335
|
-
updatedAt: z.ZodDate;
|
|
5336
|
-
}, z.core.$strip>;
|
|
5337
|
-
}, z.core.$strip>;
|
|
5338
|
-
type SetPaidOutput = z.infer<typeof setPaidOutputSchema>;
|
|
5339
|
-
//#endregion
|
|
5340
|
-
//#region src/schema/payouts.d.ts
|
|
5341
|
-
declare const payoutStatusSchema: z.ZodEnum<{
|
|
5342
|
-
CANCELLED: "CANCELLED";
|
|
5343
|
-
FAILED: "FAILED";
|
|
5344
|
-
PENDING: "PENDING";
|
|
5345
|
-
PROCESSING: "PROCESSING";
|
|
5346
|
-
PAID: "PAID";
|
|
5347
|
-
QUEUED: "QUEUED";
|
|
5348
|
-
}>;
|
|
5349
|
-
declare const payoutProviderSchema: z.ZodEnum<{
|
|
5350
|
-
ANB: "ANB";
|
|
5351
|
-
}>;
|
|
5352
|
-
declare const bankAccountSchema: z.ZodObject<{
|
|
5353
|
-
id: z.ZodString;
|
|
5354
|
-
merchantId: z.ZodString;
|
|
5355
|
-
locationId: z.ZodNullable<z.ZodString>;
|
|
5356
|
-
bicCode: z.ZodString;
|
|
5357
|
-
accountNumber: z.ZodString;
|
|
5358
|
-
accountHolderName: z.ZodString;
|
|
5359
|
-
createdAt: z.ZodDate;
|
|
5360
|
-
updatedAt: z.ZodDate;
|
|
5361
|
-
}, z.core.$strip>;
|
|
5362
|
-
declare const createPayoutInputSchema: z.ZodObject<{
|
|
5363
|
-
locationId: z.ZodString;
|
|
5364
|
-
windowStartAt: z.ZodDate;
|
|
5365
|
-
windowEndAt: z.ZodDate;
|
|
5366
|
-
provider: z.ZodOptional<z.ZodEnum<{
|
|
5367
|
-
ANB: "ANB";
|
|
5368
|
-
}>>;
|
|
5369
|
-
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
5370
|
-
}, z.core.$strip>;
|
|
5371
|
-
declare const payoutSchema: z.ZodObject<{
|
|
5372
|
-
id: z.ZodString;
|
|
5373
|
-
locationId: z.ZodString;
|
|
5007
|
+
declare const payoutSchema: z.ZodObject<{
|
|
5008
|
+
id: z.ZodString;
|
|
5009
|
+
locationId: z.ZodString;
|
|
5374
5010
|
merchantId: z.ZodString;
|
|
5375
5011
|
bankAccountId: z.ZodString;
|
|
5376
5012
|
companyPayoutAccountId: z.ZodString;
|
|
5377
5013
|
status: z.ZodEnum<{
|
|
5378
5014
|
CANCELLED: "CANCELLED";
|
|
5379
5015
|
FAILED: "FAILED";
|
|
5380
|
-
PENDING: "PENDING";
|
|
5381
|
-
PROCESSING: "PROCESSING";
|
|
5382
5016
|
PAID: "PAID";
|
|
5017
|
+
PENDING: "PENDING";
|
|
5383
5018
|
QUEUED: "QUEUED";
|
|
5019
|
+
PROCESSING: "PROCESSING";
|
|
5384
5020
|
}>;
|
|
5385
5021
|
provider: z.ZodEnum<{
|
|
5386
5022
|
ANB: "ANB";
|
|
@@ -5405,10 +5041,10 @@ declare const listPayoutsInputSchema: z.ZodObject<{
|
|
|
5405
5041
|
status: z.ZodOptional<z.ZodEnum<{
|
|
5406
5042
|
CANCELLED: "CANCELLED";
|
|
5407
5043
|
FAILED: "FAILED";
|
|
5408
|
-
PENDING: "PENDING";
|
|
5409
|
-
PROCESSING: "PROCESSING";
|
|
5410
5044
|
PAID: "PAID";
|
|
5045
|
+
PENDING: "PENDING";
|
|
5411
5046
|
QUEUED: "QUEUED";
|
|
5047
|
+
PROCESSING: "PROCESSING";
|
|
5412
5048
|
}>>;
|
|
5413
5049
|
page: z.ZodOptional<z.ZodNumber>;
|
|
5414
5050
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -5421,10 +5057,10 @@ declare const listPayoutsOutputSchema: z.ZodObject<{
|
|
|
5421
5057
|
status: z.ZodEnum<{
|
|
5422
5058
|
CANCELLED: "CANCELLED";
|
|
5423
5059
|
FAILED: "FAILED";
|
|
5424
|
-
PENDING: "PENDING";
|
|
5425
|
-
PROCESSING: "PROCESSING";
|
|
5426
5060
|
PAID: "PAID";
|
|
5061
|
+
PENDING: "PENDING";
|
|
5427
5062
|
QUEUED: "QUEUED";
|
|
5063
|
+
PROCESSING: "PROCESSING";
|
|
5428
5064
|
}>;
|
|
5429
5065
|
amount: z.ZodBigInt;
|
|
5430
5066
|
netAmount: z.ZodBigInt;
|
|
@@ -5625,8 +5261,8 @@ type PayoutReportInput = z.infer<typeof payoutReportInputSchema>;
|
|
|
5625
5261
|
declare const payoutReportPaymentSchema: z.ZodObject<{
|
|
5626
5262
|
id: z.ZodString;
|
|
5627
5263
|
method: z.ZodEnum<{
|
|
5628
|
-
ONLINE: "ONLINE";
|
|
5629
5264
|
COD: "COD";
|
|
5265
|
+
ONLINE: "ONLINE";
|
|
5630
5266
|
}>;
|
|
5631
5267
|
gateway: z.ZodNullable<z.ZodEnum<{
|
|
5632
5268
|
MOYASAR: "MOYASAR";
|
|
@@ -5733,11 +5369,12 @@ declare const payoutReportOrderSchema: z.ZodObject<{
|
|
|
5733
5369
|
platformFee: z.ZodBigInt;
|
|
5734
5370
|
paymentFee: z.ZodBigInt;
|
|
5735
5371
|
netPayout: z.ZodBigInt;
|
|
5372
|
+
platformFeeDiscount: z.ZodBigInt;
|
|
5736
5373
|
payments: z.ZodArray<z.ZodObject<{
|
|
5737
5374
|
id: z.ZodString;
|
|
5738
5375
|
method: z.ZodEnum<{
|
|
5739
|
-
ONLINE: "ONLINE";
|
|
5740
5376
|
COD: "COD";
|
|
5377
|
+
ONLINE: "ONLINE";
|
|
5741
5378
|
}>;
|
|
5742
5379
|
gateway: z.ZodNullable<z.ZodEnum<{
|
|
5743
5380
|
MOYASAR: "MOYASAR";
|
|
@@ -5764,12 +5401,24 @@ type PayoutReportOrder = z.infer<typeof payoutReportOrderSchema>;
|
|
|
5764
5401
|
*/
|
|
5765
5402
|
declare const payoutReportOverallSchema: z.ZodObject<{
|
|
5766
5403
|
totalRevenue: z.ZodBigInt;
|
|
5404
|
+
totalHeldAmount: z.ZodBigInt;
|
|
5767
5405
|
totalPlatformFee: z.ZodBigInt;
|
|
5406
|
+
totalCancelledPlatformFee: z.ZodBigInt;
|
|
5768
5407
|
totalPaymentFee: z.ZodBigInt;
|
|
5769
5408
|
totalNetPayout: z.ZodBigInt;
|
|
5409
|
+
totalPayoutAmount: z.ZodBigInt;
|
|
5410
|
+
totalDueAmount: z.ZodBigInt;
|
|
5770
5411
|
orderCount: z.ZodNumber;
|
|
5771
5412
|
onlinePaymentCount: z.ZodNumber;
|
|
5772
5413
|
cashPaymentCount: z.ZodNumber;
|
|
5414
|
+
totalDineInPlatformFeeDiscount: z.ZodBigInt;
|
|
5415
|
+
dineInOrderCount: z.ZodNumber;
|
|
5416
|
+
completedRevenueMinor: z.ZodBigInt;
|
|
5417
|
+
cancelledRevenueMinor: z.ZodBigInt;
|
|
5418
|
+
failedRevenueMinor: z.ZodBigInt;
|
|
5419
|
+
missingRevenueMinor: z.ZodBigInt;
|
|
5420
|
+
dineInRevenueMinor: z.ZodBigInt;
|
|
5421
|
+
dineInGatewayFeeMinor: z.ZodBigInt;
|
|
5773
5422
|
}, z.core.$strip>;
|
|
5774
5423
|
type PayoutReportOverall = z.infer<typeof payoutReportOverallSchema>;
|
|
5775
5424
|
/**
|
|
@@ -5792,11 +5441,13 @@ declare const payoutReportSummarySchema: z.ZodObject<{
|
|
|
5792
5441
|
canceledCount: z.ZodNumber;
|
|
5793
5442
|
refundedCount: z.ZodNumber;
|
|
5794
5443
|
otherCount: z.ZodNumber;
|
|
5444
|
+
newCount: z.ZodNumber;
|
|
5445
|
+
failedCount: z.ZodNumber;
|
|
5795
5446
|
}, z.core.$strip>;
|
|
5796
5447
|
byPaymentMethod: z.ZodArray<z.ZodObject<{
|
|
5797
5448
|
method: z.ZodEnum<{
|
|
5798
|
-
ONLINE: "ONLINE";
|
|
5799
5449
|
COD: "COD";
|
|
5450
|
+
ONLINE: "ONLINE";
|
|
5800
5451
|
}>;
|
|
5801
5452
|
orderCount: z.ZodNumber;
|
|
5802
5453
|
revenue: z.ZodBigInt;
|
|
@@ -5809,6 +5460,7 @@ declare const payoutReportSummarySchema: z.ZodObject<{
|
|
|
5809
5460
|
netPayout: z.ZodBigInt;
|
|
5810
5461
|
}, z.core.$strip>>;
|
|
5811
5462
|
averageOrderValue: z.ZodBigInt;
|
|
5463
|
+
completionRate: z.ZodNumber;
|
|
5812
5464
|
topItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5813
5465
|
itemId: z.ZodString;
|
|
5814
5466
|
name: z.ZodString;
|
|
@@ -5823,12 +5475,24 @@ type PayoutReportSummary = z.infer<typeof payoutReportSummarySchema>;
|
|
|
5823
5475
|
declare const payoutReportOutputSchema: z.ZodObject<{
|
|
5824
5476
|
overall: z.ZodObject<{
|
|
5825
5477
|
totalRevenue: z.ZodBigInt;
|
|
5478
|
+
totalHeldAmount: z.ZodBigInt;
|
|
5826
5479
|
totalPlatformFee: z.ZodBigInt;
|
|
5480
|
+
totalCancelledPlatformFee: z.ZodBigInt;
|
|
5827
5481
|
totalPaymentFee: z.ZodBigInt;
|
|
5828
5482
|
totalNetPayout: z.ZodBigInt;
|
|
5483
|
+
totalPayoutAmount: z.ZodBigInt;
|
|
5484
|
+
totalDueAmount: z.ZodBigInt;
|
|
5829
5485
|
orderCount: z.ZodNumber;
|
|
5830
5486
|
onlinePaymentCount: z.ZodNumber;
|
|
5831
5487
|
cashPaymentCount: z.ZodNumber;
|
|
5488
|
+
totalDineInPlatformFeeDiscount: z.ZodBigInt;
|
|
5489
|
+
dineInOrderCount: z.ZodNumber;
|
|
5490
|
+
completedRevenueMinor: z.ZodBigInt;
|
|
5491
|
+
cancelledRevenueMinor: z.ZodBigInt;
|
|
5492
|
+
failedRevenueMinor: z.ZodBigInt;
|
|
5493
|
+
missingRevenueMinor: z.ZodBigInt;
|
|
5494
|
+
dineInRevenueMinor: z.ZodBigInt;
|
|
5495
|
+
dineInGatewayFeeMinor: z.ZodBigInt;
|
|
5832
5496
|
}, z.core.$strip>;
|
|
5833
5497
|
summary: z.ZodObject<{
|
|
5834
5498
|
byFulfillmentType: z.ZodArray<z.ZodObject<{
|
|
@@ -5847,11 +5511,13 @@ declare const payoutReportOutputSchema: z.ZodObject<{
|
|
|
5847
5511
|
canceledCount: z.ZodNumber;
|
|
5848
5512
|
refundedCount: z.ZodNumber;
|
|
5849
5513
|
otherCount: z.ZodNumber;
|
|
5514
|
+
newCount: z.ZodNumber;
|
|
5515
|
+
failedCount: z.ZodNumber;
|
|
5850
5516
|
}, z.core.$strip>;
|
|
5851
5517
|
byPaymentMethod: z.ZodArray<z.ZodObject<{
|
|
5852
5518
|
method: z.ZodEnum<{
|
|
5853
|
-
ONLINE: "ONLINE";
|
|
5854
5519
|
COD: "COD";
|
|
5520
|
+
ONLINE: "ONLINE";
|
|
5855
5521
|
}>;
|
|
5856
5522
|
orderCount: z.ZodNumber;
|
|
5857
5523
|
revenue: z.ZodBigInt;
|
|
@@ -5864,6 +5530,7 @@ declare const payoutReportOutputSchema: z.ZodObject<{
|
|
|
5864
5530
|
netPayout: z.ZodBigInt;
|
|
5865
5531
|
}, z.core.$strip>>;
|
|
5866
5532
|
averageOrderValue: z.ZodBigInt;
|
|
5533
|
+
completionRate: z.ZodNumber;
|
|
5867
5534
|
topItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5868
5535
|
itemId: z.ZodString;
|
|
5869
5536
|
name: z.ZodString;
|
|
@@ -5928,11 +5595,12 @@ declare const payoutReportOutputSchema: z.ZodObject<{
|
|
|
5928
5595
|
platformFee: z.ZodBigInt;
|
|
5929
5596
|
paymentFee: z.ZodBigInt;
|
|
5930
5597
|
netPayout: z.ZodBigInt;
|
|
5598
|
+
platformFeeDiscount: z.ZodBigInt;
|
|
5931
5599
|
payments: z.ZodArray<z.ZodObject<{
|
|
5932
5600
|
id: z.ZodString;
|
|
5933
5601
|
method: z.ZodEnum<{
|
|
5934
|
-
ONLINE: "ONLINE";
|
|
5935
5602
|
COD: "COD";
|
|
5603
|
+
ONLINE: "ONLINE";
|
|
5936
5604
|
}>;
|
|
5937
5605
|
gateway: z.ZodNullable<z.ZodEnum<{
|
|
5938
5606
|
MOYASAR: "MOYASAR";
|
|
@@ -5957,7 +5625,7 @@ declare const payoutReportOutputSchema: z.ZodObject<{
|
|
|
5957
5625
|
type PayoutReportOutput = z.infer<typeof payoutReportOutputSchema>;
|
|
5958
5626
|
//#endregion
|
|
5959
5627
|
//#region src/schema/promocodes.d.ts
|
|
5960
|
-
declare const promoCodeAmountSchema: z.
|
|
5628
|
+
declare const promoCodeAmountSchema: z.ZodCoercedBigInt<unknown>;
|
|
5961
5629
|
declare const promoCodeScopes: readonly ["APP", "LOCATION"];
|
|
5962
5630
|
declare const promoCodeDiscountTypes: readonly ["PERCENTAGE", "FIXED_AMOUNT"];
|
|
5963
5631
|
declare const promoCodeApplicationTargets: readonly ["DELIVERY", "PICKUP", "CURBSIDE", "DINEIN", "SHIPPING"];
|
|
@@ -5970,7 +5638,7 @@ declare const promoCodeConfigurationSchema: z.ZodObject<{
|
|
|
5970
5638
|
CURBSIDE: "CURBSIDE";
|
|
5971
5639
|
SHIPPING: "SHIPPING";
|
|
5972
5640
|
}>>>>>;
|
|
5973
|
-
minOrderAmount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.
|
|
5641
|
+
minOrderAmount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>>;
|
|
5974
5642
|
maxDiscountAmount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
5975
5643
|
}, z.core.$strip>;
|
|
5976
5644
|
declare const promoCodeBaseSchema: z.ZodObject<{
|
|
@@ -5998,7 +5666,7 @@ declare const promoCodeBaseSchema: z.ZodObject<{
|
|
|
5998
5666
|
CURBSIDE: "CURBSIDE";
|
|
5999
5667
|
SHIPPING: "SHIPPING";
|
|
6000
5668
|
}>>>>>;
|
|
6001
|
-
minOrderAmount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.
|
|
5669
|
+
minOrderAmount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>>;
|
|
6002
5670
|
maxDiscountAmount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
6003
5671
|
}, z.core.$strip>>>;
|
|
6004
5672
|
isActive: z.ZodBoolean;
|
|
@@ -6032,7 +5700,7 @@ declare const createPromoCodeInputSchema: z.ZodObject<{
|
|
|
6032
5700
|
CURBSIDE: "CURBSIDE";
|
|
6033
5701
|
SHIPPING: "SHIPPING";
|
|
6034
5702
|
}>>>>>;
|
|
6035
|
-
minOrderAmount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.
|
|
5703
|
+
minOrderAmount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>>;
|
|
6036
5704
|
maxDiscountAmount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
6037
5705
|
}, z.core.$strip>>>;
|
|
6038
5706
|
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -6064,7 +5732,7 @@ declare const updatePromoCodeInputSchema: z.ZodObject<{
|
|
|
6064
5732
|
CURBSIDE: "CURBSIDE";
|
|
6065
5733
|
SHIPPING: "SHIPPING";
|
|
6066
5734
|
}>>>>>;
|
|
6067
|
-
minOrderAmount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.
|
|
5735
|
+
minOrderAmount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>>;
|
|
6068
5736
|
maxDiscountAmount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
6069
5737
|
}, z.core.$strip>>>>;
|
|
6070
5738
|
isActive: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
@@ -6128,7 +5796,7 @@ declare const promoCodeValidationInputSchema: z.ZodObject<{
|
|
|
6128
5796
|
code: z.ZodString;
|
|
6129
5797
|
merchantId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
6130
5798
|
locationId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
6131
|
-
orderTotalAmount: z.ZodOptional<z.ZodNullable<z.
|
|
5799
|
+
orderTotalAmount: z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>;
|
|
6132
5800
|
orderType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
6133
5801
|
PICKUP: "PICKUP";
|
|
6134
5802
|
DELIVERY: "DELIVERY";
|
|
@@ -6166,7 +5834,7 @@ declare const promoCodeValidationResultSchema: z.ZodObject<{
|
|
|
6166
5834
|
CURBSIDE: "CURBSIDE";
|
|
6167
5835
|
SHIPPING: "SHIPPING";
|
|
6168
5836
|
}>>>>>;
|
|
6169
|
-
minOrderAmount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.
|
|
5837
|
+
minOrderAmount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>>;
|
|
6170
5838
|
maxDiscountAmount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
6171
5839
|
}, z.core.$strip>>>;
|
|
6172
5840
|
isActive: z.ZodBoolean;
|
|
@@ -6175,9 +5843,9 @@ declare const promoCodeValidationResultSchema: z.ZodObject<{
|
|
|
6175
5843
|
createdAt: z.ZodDate;
|
|
6176
5844
|
updatedAt: z.ZodDate;
|
|
6177
5845
|
}, z.core.$strip>>>;
|
|
6178
|
-
discountAmount: z.ZodOptional<z.ZodNullable<z.
|
|
6179
|
-
totalAmount: z.ZodOptional<z.ZodNullable<z.
|
|
6180
|
-
originalAmount: z.ZodOptional<z.ZodNullable<z.
|
|
5846
|
+
discountAmount: z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>;
|
|
5847
|
+
totalAmount: z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>;
|
|
5848
|
+
originalAmount: z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>;
|
|
6181
5849
|
}, z.core.$strip>;
|
|
6182
5850
|
declare const promoCodeListOutputSchema: z.ZodObject<{
|
|
6183
5851
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -6205,7 +5873,7 @@ declare const promoCodeListOutputSchema: z.ZodObject<{
|
|
|
6205
5873
|
CURBSIDE: "CURBSIDE";
|
|
6206
5874
|
SHIPPING: "SHIPPING";
|
|
6207
5875
|
}>>>>>;
|
|
6208
|
-
minOrderAmount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.
|
|
5876
|
+
minOrderAmount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>>;
|
|
6209
5877
|
maxDiscountAmount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
6210
5878
|
}, z.core.$strip>>>;
|
|
6211
5879
|
isActive: z.ZodBoolean;
|
|
@@ -6247,7 +5915,7 @@ declare const promoCodeOutputSchema: z.ZodObject<{
|
|
|
6247
5915
|
CURBSIDE: "CURBSIDE";
|
|
6248
5916
|
SHIPPING: "SHIPPING";
|
|
6249
5917
|
}>>>>>;
|
|
6250
|
-
minOrderAmount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.
|
|
5918
|
+
minOrderAmount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodCoercedBigInt<unknown>>>>;
|
|
6251
5919
|
maxDiscountAmount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
6252
5920
|
}, z.core.$strip>>>;
|
|
6253
5921
|
isActive: z.ZodBoolean;
|
|
@@ -6261,29 +5929,185 @@ declare const defaultPromoCodeSort: {
|
|
|
6261
5929
|
createdAt: "desc";
|
|
6262
5930
|
};
|
|
6263
5931
|
//#endregion
|
|
6264
|
-
//#region src/schema/
|
|
6265
|
-
|
|
6266
|
-
|
|
6267
|
-
|
|
6268
|
-
declare const
|
|
6269
|
-
|
|
6270
|
-
|
|
5932
|
+
//#region src/schema/service-charges.d.ts
|
|
5933
|
+
declare const chargeScopes: readonly ["ORDER", "LINE_ITEM"];
|
|
5934
|
+
declare const chargeTypes: readonly ["PERCENTAGE", "FIXED_AMOUNT"];
|
|
5935
|
+
declare const chargeAutoApplyScopes: readonly ["ALL_ITEMS", "CATEGORY", "SELECTED_ITEMS"];
|
|
5936
|
+
declare const serviceChargeBaseSchema: z.ZodObject<{
|
|
5937
|
+
id: z.ZodString;
|
|
5938
|
+
merchantId: z.ZodString;
|
|
5939
|
+
locationId: z.ZodString;
|
|
5940
|
+
name: z.ZodString;
|
|
5941
|
+
scope: z.ZodEnum<{
|
|
5942
|
+
ORDER: "ORDER";
|
|
5943
|
+
LINE_ITEM: "LINE_ITEM";
|
|
5944
|
+
}>;
|
|
5945
|
+
chargeType: z.ZodEnum<{
|
|
5946
|
+
PERCENTAGE: "PERCENTAGE";
|
|
5947
|
+
FIXED_AMOUNT: "FIXED_AMOUNT";
|
|
5948
|
+
}>;
|
|
5949
|
+
value: z.ZodNumber;
|
|
5950
|
+
autoApplyScope: z.ZodEnum<{
|
|
5951
|
+
ALL_ITEMS: "ALL_ITEMS";
|
|
5952
|
+
CATEGORY: "CATEGORY";
|
|
5953
|
+
SELECTED_ITEMS: "SELECTED_ITEMS";
|
|
5954
|
+
}>;
|
|
5955
|
+
isActive: z.ZodBoolean;
|
|
5956
|
+
taxable: z.ZodBoolean;
|
|
5957
|
+
startsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
5958
|
+
endsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
5959
|
+
createdAt: z.ZodDate;
|
|
5960
|
+
updatedAt: z.ZodDate;
|
|
5961
|
+
itemIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5962
|
+
categoryIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6271
5963
|
}, z.core.$strip>;
|
|
6272
|
-
type
|
|
6273
|
-
|
|
6274
|
-
|
|
6275
|
-
|
|
6276
|
-
|
|
6277
|
-
|
|
6278
|
-
|
|
6279
|
-
|
|
6280
|
-
|
|
6281
|
-
|
|
6282
|
-
|
|
6283
|
-
|
|
6284
|
-
|
|
6285
|
-
|
|
6286
|
-
|
|
5964
|
+
type ServiceCharge = z.infer<typeof serviceChargeBaseSchema>;
|
|
5965
|
+
declare const createServiceChargeInputSchema: z.ZodObject<{
|
|
5966
|
+
merchantId: z.ZodString;
|
|
5967
|
+
locationId: z.ZodString;
|
|
5968
|
+
name: z.ZodString;
|
|
5969
|
+
scope: z.ZodEnum<{
|
|
5970
|
+
ORDER: "ORDER";
|
|
5971
|
+
LINE_ITEM: "LINE_ITEM";
|
|
5972
|
+
}>;
|
|
5973
|
+
chargeType: z.ZodEnum<{
|
|
5974
|
+
PERCENTAGE: "PERCENTAGE";
|
|
5975
|
+
FIXED_AMOUNT: "FIXED_AMOUNT";
|
|
5976
|
+
}>;
|
|
5977
|
+
value: z.ZodNumber;
|
|
5978
|
+
autoApplyScope: z.ZodDefault<z.ZodEnum<{
|
|
5979
|
+
ALL_ITEMS: "ALL_ITEMS";
|
|
5980
|
+
CATEGORY: "CATEGORY";
|
|
5981
|
+
SELECTED_ITEMS: "SELECTED_ITEMS";
|
|
5982
|
+
}>>;
|
|
5983
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
5984
|
+
taxable: z.ZodDefault<z.ZodBoolean>;
|
|
5985
|
+
startsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
5986
|
+
endsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
5987
|
+
itemIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
5988
|
+
categoryIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
5989
|
+
}, z.core.$strip>;
|
|
5990
|
+
type CreateServiceChargeInput = z.infer<typeof createServiceChargeInputSchema>;
|
|
5991
|
+
declare const updateServiceChargeInputSchema: z.ZodObject<{
|
|
5992
|
+
serviceChargeId: z.ZodString;
|
|
5993
|
+
update: z.ZodObject<{
|
|
5994
|
+
merchantId: z.ZodOptional<z.ZodString>;
|
|
5995
|
+
locationId: z.ZodOptional<z.ZodString>;
|
|
5996
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5997
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
5998
|
+
ORDER: "ORDER";
|
|
5999
|
+
LINE_ITEM: "LINE_ITEM";
|
|
6000
|
+
}>>;
|
|
6001
|
+
chargeType: z.ZodOptional<z.ZodEnum<{
|
|
6002
|
+
PERCENTAGE: "PERCENTAGE";
|
|
6003
|
+
FIXED_AMOUNT: "FIXED_AMOUNT";
|
|
6004
|
+
}>>;
|
|
6005
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
6006
|
+
autoApplyScope: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
6007
|
+
ALL_ITEMS: "ALL_ITEMS";
|
|
6008
|
+
CATEGORY: "CATEGORY";
|
|
6009
|
+
SELECTED_ITEMS: "SELECTED_ITEMS";
|
|
6010
|
+
}>>>;
|
|
6011
|
+
isActive: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
6012
|
+
taxable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
6013
|
+
startsAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDate>>>;
|
|
6014
|
+
endsAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDate>>>;
|
|
6015
|
+
itemIds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>;
|
|
6016
|
+
categoryIds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>;
|
|
6017
|
+
}, z.core.$strip>;
|
|
6018
|
+
}, z.core.$strip>;
|
|
6019
|
+
type UpdateServiceChargeInput = z.infer<typeof updateServiceChargeInputSchema>;
|
|
6020
|
+
declare const listServiceChargesInputSchema: z.ZodObject<{
|
|
6021
|
+
merchantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6022
|
+
locationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6023
|
+
isActive: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
6024
|
+
}, z.core.$strip>;
|
|
6025
|
+
type ListServiceChargesInput = z.infer<typeof listServiceChargesInputSchema>;
|
|
6026
|
+
declare const serviceChargeIdInputSchema: z.ZodObject<{
|
|
6027
|
+
serviceChargeId: z.ZodString;
|
|
6028
|
+
}, z.core.$strip>;
|
|
6029
|
+
declare const serviceChargeListOutputSchema: z.ZodObject<{
|
|
6030
|
+
serviceCharges: z.ZodArray<z.ZodObject<{
|
|
6031
|
+
id: z.ZodString;
|
|
6032
|
+
merchantId: z.ZodString;
|
|
6033
|
+
locationId: z.ZodString;
|
|
6034
|
+
name: z.ZodString;
|
|
6035
|
+
scope: z.ZodEnum<{
|
|
6036
|
+
ORDER: "ORDER";
|
|
6037
|
+
LINE_ITEM: "LINE_ITEM";
|
|
6038
|
+
}>;
|
|
6039
|
+
chargeType: z.ZodEnum<{
|
|
6040
|
+
PERCENTAGE: "PERCENTAGE";
|
|
6041
|
+
FIXED_AMOUNT: "FIXED_AMOUNT";
|
|
6042
|
+
}>;
|
|
6043
|
+
value: z.ZodNumber;
|
|
6044
|
+
autoApplyScope: z.ZodEnum<{
|
|
6045
|
+
ALL_ITEMS: "ALL_ITEMS";
|
|
6046
|
+
CATEGORY: "CATEGORY";
|
|
6047
|
+
SELECTED_ITEMS: "SELECTED_ITEMS";
|
|
6048
|
+
}>;
|
|
6049
|
+
isActive: z.ZodBoolean;
|
|
6050
|
+
taxable: z.ZodBoolean;
|
|
6051
|
+
startsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
6052
|
+
endsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
6053
|
+
createdAt: z.ZodDate;
|
|
6054
|
+
updatedAt: z.ZodDate;
|
|
6055
|
+
itemIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6056
|
+
categoryIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6057
|
+
}, z.core.$strip>>;
|
|
6058
|
+
}, z.core.$strip>;
|
|
6059
|
+
declare const serviceChargeOutputSchema: z.ZodObject<{
|
|
6060
|
+
id: z.ZodString;
|
|
6061
|
+
merchantId: z.ZodString;
|
|
6062
|
+
locationId: z.ZodString;
|
|
6063
|
+
name: z.ZodString;
|
|
6064
|
+
scope: z.ZodEnum<{
|
|
6065
|
+
ORDER: "ORDER";
|
|
6066
|
+
LINE_ITEM: "LINE_ITEM";
|
|
6067
|
+
}>;
|
|
6068
|
+
chargeType: z.ZodEnum<{
|
|
6069
|
+
PERCENTAGE: "PERCENTAGE";
|
|
6070
|
+
FIXED_AMOUNT: "FIXED_AMOUNT";
|
|
6071
|
+
}>;
|
|
6072
|
+
value: z.ZodNumber;
|
|
6073
|
+
autoApplyScope: z.ZodEnum<{
|
|
6074
|
+
ALL_ITEMS: "ALL_ITEMS";
|
|
6075
|
+
CATEGORY: "CATEGORY";
|
|
6076
|
+
SELECTED_ITEMS: "SELECTED_ITEMS";
|
|
6077
|
+
}>;
|
|
6078
|
+
isActive: z.ZodBoolean;
|
|
6079
|
+
taxable: z.ZodBoolean;
|
|
6080
|
+
startsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
6081
|
+
endsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
6082
|
+
createdAt: z.ZodDate;
|
|
6083
|
+
updatedAt: z.ZodDate;
|
|
6084
|
+
itemIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6085
|
+
categoryIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6086
|
+
}, z.core.$strip>;
|
|
6087
|
+
//#endregion
|
|
6088
|
+
//#region src/schema/shared.d.ts
|
|
6089
|
+
/**
|
|
6090
|
+
* Base filter schema with common time-based filtering
|
|
6091
|
+
*/
|
|
6092
|
+
declare const baseFilterSchema: z.ZodObject<{
|
|
6093
|
+
startTime: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
6094
|
+
endTime: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
6095
|
+
}, z.core.$strip>;
|
|
6096
|
+
type BaseFilter = z.infer<typeof baseFilterSchema>;
|
|
6097
|
+
/**
|
|
6098
|
+
* Sort direction enum
|
|
6099
|
+
*/
|
|
6100
|
+
declare const sortDirectionSchema: z.ZodEnum<{
|
|
6101
|
+
asc: "asc";
|
|
6102
|
+
desc: "desc";
|
|
6103
|
+
}>;
|
|
6104
|
+
type SortDirection = z.infer<typeof sortDirectionSchema>;
|
|
6105
|
+
/**
|
|
6106
|
+
* Generic sort schema - accepts any string keys but enforces "asc" | "desc" values
|
|
6107
|
+
*/
|
|
6108
|
+
declare const sortSchema: z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
6109
|
+
asc: "asc";
|
|
6110
|
+
desc: "desc";
|
|
6287
6111
|
}>>;
|
|
6288
6112
|
/**
|
|
6289
6113
|
* Base list input schema with pagination, filters, and sorting
|
|
@@ -6394,6 +6218,162 @@ declare const socialIdInputSchema: z.ZodObject<{
|
|
|
6394
6218
|
}, z.core.$strip>;
|
|
6395
6219
|
type SocialIdInput = z.infer<typeof socialIdInputSchema>;
|
|
6396
6220
|
//#endregion
|
|
6221
|
+
//#region src/schema/taxes.d.ts
|
|
6222
|
+
declare const taxScopes: readonly ["ORDER", "LINE_ITEM"];
|
|
6223
|
+
declare const taxTypes: readonly ["ADDITIVE", "INCLUSIVE"];
|
|
6224
|
+
declare const taxAutoApplyScopes: readonly ["ALL_ITEMS", "CATEGORY", "SELECTED_ITEMS"];
|
|
6225
|
+
declare const taxBaseSchema: z.ZodObject<{
|
|
6226
|
+
id: z.ZodString;
|
|
6227
|
+
merchantId: z.ZodString;
|
|
6228
|
+
locationId: z.ZodString;
|
|
6229
|
+
name: z.ZodString;
|
|
6230
|
+
scope: z.ZodEnum<{
|
|
6231
|
+
ORDER: "ORDER";
|
|
6232
|
+
LINE_ITEM: "LINE_ITEM";
|
|
6233
|
+
}>;
|
|
6234
|
+
taxType: z.ZodEnum<{
|
|
6235
|
+
ADDITIVE: "ADDITIVE";
|
|
6236
|
+
INCLUSIVE: "INCLUSIVE";
|
|
6237
|
+
}>;
|
|
6238
|
+
value: z.ZodNumber;
|
|
6239
|
+
autoApplyScope: z.ZodEnum<{
|
|
6240
|
+
ALL_ITEMS: "ALL_ITEMS";
|
|
6241
|
+
CATEGORY: "CATEGORY";
|
|
6242
|
+
SELECTED_ITEMS: "SELECTED_ITEMS";
|
|
6243
|
+
}>;
|
|
6244
|
+
isActive: z.ZodBoolean;
|
|
6245
|
+
taxable: z.ZodBoolean;
|
|
6246
|
+
startsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
6247
|
+
endsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
6248
|
+
createdAt: z.ZodDate;
|
|
6249
|
+
updatedAt: z.ZodDate;
|
|
6250
|
+
itemIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6251
|
+
categoryIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6252
|
+
}, z.core.$strip>;
|
|
6253
|
+
type Tax = z.infer<typeof taxBaseSchema>;
|
|
6254
|
+
declare const createTaxInputSchema: z.ZodObject<{
|
|
6255
|
+
merchantId: z.ZodString;
|
|
6256
|
+
locationId: z.ZodString;
|
|
6257
|
+
name: z.ZodString;
|
|
6258
|
+
scope: z.ZodEnum<{
|
|
6259
|
+
ORDER: "ORDER";
|
|
6260
|
+
LINE_ITEM: "LINE_ITEM";
|
|
6261
|
+
}>;
|
|
6262
|
+
taxType: z.ZodEnum<{
|
|
6263
|
+
ADDITIVE: "ADDITIVE";
|
|
6264
|
+
INCLUSIVE: "INCLUSIVE";
|
|
6265
|
+
}>;
|
|
6266
|
+
value: z.ZodNumber;
|
|
6267
|
+
autoApplyScope: z.ZodDefault<z.ZodEnum<{
|
|
6268
|
+
ALL_ITEMS: "ALL_ITEMS";
|
|
6269
|
+
CATEGORY: "CATEGORY";
|
|
6270
|
+
SELECTED_ITEMS: "SELECTED_ITEMS";
|
|
6271
|
+
}>>;
|
|
6272
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
6273
|
+
taxable: z.ZodDefault<z.ZodBoolean>;
|
|
6274
|
+
startsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
6275
|
+
endsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
6276
|
+
itemIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
6277
|
+
categoryIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
6278
|
+
}, z.core.$strip>;
|
|
6279
|
+
type CreateTaxInput = z.infer<typeof createTaxInputSchema>;
|
|
6280
|
+
declare const updateTaxInputSchema: z.ZodObject<{
|
|
6281
|
+
taxId: z.ZodString;
|
|
6282
|
+
update: z.ZodObject<{
|
|
6283
|
+
merchantId: z.ZodOptional<z.ZodString>;
|
|
6284
|
+
locationId: z.ZodOptional<z.ZodString>;
|
|
6285
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6286
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
6287
|
+
ORDER: "ORDER";
|
|
6288
|
+
LINE_ITEM: "LINE_ITEM";
|
|
6289
|
+
}>>;
|
|
6290
|
+
taxType: z.ZodOptional<z.ZodEnum<{
|
|
6291
|
+
ADDITIVE: "ADDITIVE";
|
|
6292
|
+
INCLUSIVE: "INCLUSIVE";
|
|
6293
|
+
}>>;
|
|
6294
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
6295
|
+
autoApplyScope: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
6296
|
+
ALL_ITEMS: "ALL_ITEMS";
|
|
6297
|
+
CATEGORY: "CATEGORY";
|
|
6298
|
+
SELECTED_ITEMS: "SELECTED_ITEMS";
|
|
6299
|
+
}>>>;
|
|
6300
|
+
isActive: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
6301
|
+
taxable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
6302
|
+
startsAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDate>>>;
|
|
6303
|
+
endsAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodDate>>>;
|
|
6304
|
+
itemIds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>;
|
|
6305
|
+
categoryIds: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>;
|
|
6306
|
+
}, z.core.$strip>;
|
|
6307
|
+
}, z.core.$strip>;
|
|
6308
|
+
type UpdateTaxInput = z.infer<typeof updateTaxInputSchema>;
|
|
6309
|
+
declare const listTaxesInputSchema: z.ZodObject<{
|
|
6310
|
+
merchantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6311
|
+
locationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6312
|
+
isActive: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
6313
|
+
}, z.core.$strip>;
|
|
6314
|
+
type ListTaxesInput = z.infer<typeof listTaxesInputSchema>;
|
|
6315
|
+
declare const taxIdInputSchema: z.ZodObject<{
|
|
6316
|
+
taxId: z.ZodString;
|
|
6317
|
+
}, z.core.$strip>;
|
|
6318
|
+
declare const taxListOutputSchema: z.ZodObject<{
|
|
6319
|
+
taxes: z.ZodArray<z.ZodObject<{
|
|
6320
|
+
id: z.ZodString;
|
|
6321
|
+
merchantId: z.ZodString;
|
|
6322
|
+
locationId: z.ZodString;
|
|
6323
|
+
name: z.ZodString;
|
|
6324
|
+
scope: z.ZodEnum<{
|
|
6325
|
+
ORDER: "ORDER";
|
|
6326
|
+
LINE_ITEM: "LINE_ITEM";
|
|
6327
|
+
}>;
|
|
6328
|
+
taxType: z.ZodEnum<{
|
|
6329
|
+
ADDITIVE: "ADDITIVE";
|
|
6330
|
+
INCLUSIVE: "INCLUSIVE";
|
|
6331
|
+
}>;
|
|
6332
|
+
value: z.ZodNumber;
|
|
6333
|
+
autoApplyScope: z.ZodEnum<{
|
|
6334
|
+
ALL_ITEMS: "ALL_ITEMS";
|
|
6335
|
+
CATEGORY: "CATEGORY";
|
|
6336
|
+
SELECTED_ITEMS: "SELECTED_ITEMS";
|
|
6337
|
+
}>;
|
|
6338
|
+
isActive: z.ZodBoolean;
|
|
6339
|
+
taxable: z.ZodBoolean;
|
|
6340
|
+
startsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
6341
|
+
endsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
6342
|
+
createdAt: z.ZodDate;
|
|
6343
|
+
updatedAt: z.ZodDate;
|
|
6344
|
+
itemIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6345
|
+
categoryIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6346
|
+
}, z.core.$strip>>;
|
|
6347
|
+
}, z.core.$strip>;
|
|
6348
|
+
declare const taxOutputSchema: z.ZodObject<{
|
|
6349
|
+
id: z.ZodString;
|
|
6350
|
+
merchantId: z.ZodString;
|
|
6351
|
+
locationId: z.ZodString;
|
|
6352
|
+
name: z.ZodString;
|
|
6353
|
+
scope: z.ZodEnum<{
|
|
6354
|
+
ORDER: "ORDER";
|
|
6355
|
+
LINE_ITEM: "LINE_ITEM";
|
|
6356
|
+
}>;
|
|
6357
|
+
taxType: z.ZodEnum<{
|
|
6358
|
+
ADDITIVE: "ADDITIVE";
|
|
6359
|
+
INCLUSIVE: "INCLUSIVE";
|
|
6360
|
+
}>;
|
|
6361
|
+
value: z.ZodNumber;
|
|
6362
|
+
autoApplyScope: z.ZodEnum<{
|
|
6363
|
+
ALL_ITEMS: "ALL_ITEMS";
|
|
6364
|
+
CATEGORY: "CATEGORY";
|
|
6365
|
+
SELECTED_ITEMS: "SELECTED_ITEMS";
|
|
6366
|
+
}>;
|
|
6367
|
+
isActive: z.ZodBoolean;
|
|
6368
|
+
taxable: z.ZodBoolean;
|
|
6369
|
+
startsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
6370
|
+
endsAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
6371
|
+
createdAt: z.ZodDate;
|
|
6372
|
+
updatedAt: z.ZodDate;
|
|
6373
|
+
itemIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6374
|
+
categoryIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6375
|
+
}, z.core.$strip>;
|
|
6376
|
+
//#endregion
|
|
6397
6377
|
//#region src/schema/translations.d.ts
|
|
6398
6378
|
/**
|
|
6399
6379
|
* TranslationField represents a multilingual field with language-specific values.
|
|
@@ -6404,4 +6384,276 @@ type SocialIdInput = z.infer<typeof socialIdInputSchema>;
|
|
|
6404
6384
|
type TranslationField = Record<string, string>;
|
|
6405
6385
|
declare const translationFieldSchema: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
6406
6386
|
//#endregion
|
|
6407
|
-
export { ANBPaymentStatus, ANBPaymentStatusResponse, ANBSinglePaymentInitiationResponse, ANBSinglePaymentRequest, ANBSinglePaymentResponse, ANBWebhookPayload, AcceptedPaymentMethod, ActiveBannerListOutput, ActiveBannerOutput, AddCurbsideSpotInput, AddProviderInput, Amount, ApproveBannerInput, type AvailableTemplateResources, AvailableWhatsAppGroup, BankAccount, Banner, BannerIdInput, BannerListOutput, BannerOutput, BaseFilter, BulkCustomerExportInput, BulkCustomerExportResult, BulkCustomerExportRow, BulkCustomerImportError, BulkCustomerImportInput, BulkCustomerImportResult, BulkCustomerImportRow, BulkCustomerImportRowClient, BusinessHours, BusinessHoursPeriod, CalculatePayoutOutput, CatalogAmount, CatalogCategory, CatalogCategoryFilter, CatalogCategoryWithItems, CatalogItemDetail, CatalogItemFilter, CatalogItemSummary, CatalogModifierBase, CatalogModifierDefaultLocationOverride, CatalogModifierFilter, CatalogModifierItemOverride, CatalogModifierListBase, CatalogModifierListDetail, CatalogModifierListFilter, CatalogModifierLocationOverride, CatalogPriceRange, CatalogVariationBase, CatalogVariationFilter, CatalogVariationWithDefault, CheckoutResult, CodPaymentType, CompanyPayoutAccount, ConnectIntegrationInput, ConnectIntegrationOutput, CreateAddressForLocationInput, CreateAddressInput, CreateBannerInput, CreateCategoryInput, CreateCategoryOutput, CreateCompanyPayoutAccountInput, CreateCustomerAddressInput, CreateCustomerManualInput, CreateCustomerManualOutput, CreateDeliveryConfigForLocationInput, CreateDeliveryConfigInput, CreateDeliveryWindowInput, CreateDiscountInput, CreateImageInput, CreateImageOutput, CreateIntegrationInput, CreateIntegrationOutput, CreateItemInput, CreateItemOutput, CreateLeadInput, CreateLeadOutput, CreateLocationInput, CreateMerchantCustomerManualInput, CreateMerchantCustomerManualOutput, CreateMerchantInvoiceInput, CreateMerchantLegalDetailsInput, CreateMerchantOutput, CreateMessageTemplateInput, CreateModifierInput, CreateModifierListInput, CreateModifierListOutput, CreateModifierOutput, CreateOrderInput, CreatePayoutInput, CreatePromoCodeInput, CreateSocialInput, CreateSubscriptionPlanInput, CreateVariationInput, CreateVariationOutput, CreateWhatsAppGroupInput, CreateWhatsAppGroupOutput, CurbsideSpot, Customer, CustomerAddress, CustomerAddressByIdInput, CustomerAddressFilter, CustomerByIdInput, CustomerFilter, DeleteCategoryInput, DeleteCategoryOutput, DeleteCompanyPayoutAccountInput, DeleteCustomerInput, DeleteFulfillmentBusinessHoursInput, DeleteIntegrationInput, DeleteItemInput, DeleteItemOutput, DeleteLocationBusinessHoursInput, DeleteMerchantCustomerInput, DeleteModifierInput, DeleteModifierListInput, DeleteModifierListOutput, DeleteModifierOutput, DeleteModifierOverrideInput, DeleteModifierOverrideOutput, DeleteVariationInput, DeleteVariationOutput, DeleteWhatsAppGroupInput, DeliveryBase, DeliveryConfig, DeliveryProvider, DeliveryStatus, DisconnectIntegrationInput, Discount, FetchOrderByIdOutput, FulfillmentBusinessHoursOutput, type FulfillmentState, GetBankAccountInput, GetBankAccountOutput, GetCatalogItemInput, GetCatalogItemOutput, GetCategoryInput, GetCategoryOutput, GetCompanyPayoutAccountInput, GetEffectiveBankAccountInput, GetEffectiveBankAccountOutput, GetIntegrationInput, GetIntegrationOutput, GetLocationBalanceInput, GetLocationBalanceOutput, GetMerchantInput, GetModifierInput, GetModifierListInput, GetModifierListOutput, GetModifierOutput, GetOrderByIdInput, GetOrderConfigInput, GetPaymentInput, GetPayoutInput, InitiatePaymentInput, InitiatePaymentOutput, IntegrateLocationInput, IntegrateLocationOutput, IntegrationProvider, IntegrationStatus, IntegrationType, LeajlakConfig, LinkItemWithCategoryInput, LinkItemWithImageInput, LinkItemWithModifierListInput, LinkOperationOutput, LinkWhatsAppGroupInput, LinkWhatsAppGroupOutput, ListActiveBannersInput, ListAvailableWhatsAppGroupsInput, ListAvailableWhatsAppGroupsOutput, ListBannersInput, ListCatalogCategoriesInput, ListCatalogCategoriesOutput, ListCatalogCategoriesWithItemsInput, ListCatalogCategoriesWithItemsOutput, ListCatalogItemsInput, ListCatalogItemsOutput, ListCatalogModifierListsInput, ListCatalogModifierListsOutput, ListCatalogModifiersInput, ListCatalogModifiersOutput, ListCatalogVariationsInput, ListCatalogVariationsOutput, ListCompanyPayoutAccountsInput, ListCustomerAddressesInput, ListCustomerAddressesOutput, ListCustomersInput, ListCustomersOutput, ListDiscountsInput, ListIntegrationsInput, ListIntegrationsOutput, ListLocationWhatsAppGroupsInput, ListLocationWhatsAppGroupsOutput, ListLocationsInput, ListLocationsOutput, ListMerchantCustomersInput, ListMerchantCustomersOutput, ListMerchantsInput, ListMerchantsOutput, ListMessageTemplatesInput, ListMessageTemplatesOutput, ListOrdersInput, ListOrdersOutput, ListPaymentsInput, ListPaymentsOutput, ListPayoutsInput, ListPayoutsOutput, ListPromoCodesInput, LocalConfig, Location, LocationAddress, LocationBalance, LocationFilter, LocationIdInput, LocationList, LocationMeatSource, LocationMutationOutput, LocationSummary, LocationWhatsAppGroup, Merchant, MerchantCustomer, MerchantCustomerByIdInput, MerchantCustomerFilter, MerchantFilter, MerchantFullDetails, MerchantIdInput, MerchantIntegration, MerchantIntegrationBase, MerchantInvoice, MerchantLegalDetails, MerchantListItem, MerchantSubscription, MerchantSummary, MerchantSyncEvent, MessageTemplate, MessageTemplateByIdInput, MessageTemplateFilter, MutationIdOutput, Order, OrderAmount, OrderByIdOutput, OrderConfig, OrderCustomer, OrderEntities, OrderFilter, OrderFulfillment, OrderFulfillmentHistory, OrderFulfillmentOutput, OrderLineItem, OrderLineItemInput, OrderModifier, OrderOutput, OrderPromocodeInput, OrderPromocodeSummary, OrderSource, OrderSummary, Pagination, ParcelConfig, PaymentFilter, PaymentGateway, PaymentListItem, PaymentMethod, PaymentOutput, PaymentSource, Payout, PayoutProvider, PayoutReportFulfillment, PayoutReportInput, PayoutReportOrder, PayoutReportOutput, PayoutReportOverall, PayoutReportPayment, PayoutReportSummary, PayoutStatus, PosProvider, PreferredContactTime, PromoCode, PromoCodeFilter, PromoCodeIdInput, PromoCodeListOutput, PromoCodeOutput, PromoCodeValidationInput, ProviderConfig, ProviderPricingConfig, ProviderStrategy, QMileConfig, RecordPaymentInput, RefundOrderInput, RefundOrderOutput, RefundPaymentInput, RemoveCurbsideSpotInput, RemoveDeliveryInput, RemoveLocationThemeInput, RemoveProviderInput, ScheduleType, SendDirectMessageInput, SendDirectMessageOutput, SendMerchantInvoiceInput, SendMessageInput, SendMessageOutput, SetIntegrationStatusInput, SetIntegrationStatusOutput, SetPaidInput, SetPaidOutput, Social, SocialIdInput, SocialPlatform, SortDirection, SubscriptionPlan, TemporaryClosureInput, TemporaryClosureOutput, Theme, TranslationField, UnlinkItemWithCategoryInput, UnlinkItemWithImageInput, UnlinkItemWithModifierListInput, UnsettledBalance, UnsettledBalanceItem, UpdateBannerInput, UpdateCategoryInput, UpdateCategoryOutput, UpdateCompanyPayoutAccountInput, UpdateDeliveryConfigInput, UpdateDiscountInput, UpdateFulfillmentInput, UpdateItemInput, UpdateItemOutput, UpdateLocationInput, UpdateMerchantInput, UpdateMerchantLegalDetailsInput, UpdateMessageTemplateInput, UpdateModifierInput, UpdateModifierListInput, UpdateModifierListOutput, UpdateModifierOutput, UpdatePromoCodeInput, UpdateProviderInput, UpdateSocialInput, UpdateSubscriptionPlanInput, UpdateVariationInput, UpdateVariationOutput, UpdateWhatsAppGroupInput, UploadCatalogItemPhotoInput, UploadCatalogItemPhotoOutput, UploadCrnDocumentInput, UploadLocationBannerInput, UploadLocationBannerOutput, UploadLocationPhotoInput, UploadLocationPhotoOutput, UploadVatDocumentInput, UpsertBankAccountInput, UpsertCurbsideInput, UpsertCustomerInput, UpsertDeliveryInput, UpsertDineInInput, UpsertFulfillmentBusinessHoursInput, UpsertItemLocationOverrideInput, UpsertItemModifierOverrideInput, UpsertLocationBusinessHoursInput, UpsertLocationThemeInput, UpsertModifierDefaultLocationOverrideInput, UpsertModifierInput, UpsertModifierLocationOverrideInput, UpsertModifierOverrideInput, UpsertModifierOverrideOutput, UpsertOrderConfigInput, UpsertPickupInput, UpsertVariationLocationOverrideInput, ValidatePromoCodeForOrderResult, acceptedPaymentIds, activeBannerListOutputSchema, activeBannerOutputSchema, addCurbsideSpotInputSchema, addProviderInputSchema, anbPaymentStatusResponseSchema, anbPaymentStatusSchema, anbSinglePaymentInitiationResponseSchema, anbSinglePaymentRequestSchema, anbSinglePaymentResponseSchema, anbWebhookPayloadSchema, approveBannerInputSchema, availableTemplateResourcesSchema, availableWhatsAppGroupSchema, bankAccountSchema, bannerIdInputSchema, bannerListOutputSchema, bannerOutputSchema, bannerStatusSchema, baseFilterSchema, baseListInputSchema, baseListOutputSchema, bulkCustomerExportInputSchema, bulkCustomerExportResultSchema, bulkCustomerExportRowSchema, bulkCustomerImportErrorSchema, bulkCustomerImportInputSchema, bulkCustomerImportResultSchema, bulkCustomerImportRowClientSchema, bulkCustomerImportRowSchema, businessHoursPeriodSchema, businessHoursSchema, calculatePayoutOutputSchema, calculateSmsCostInputSchema, calculateSmsCostOutputSchema, catalogAmountSchema, catalogAvailabilityValues, catalogCategoryBaseSchema, catalogCategoryFilterSchema, catalogCategorySchema, catalogDietaryPreferenceValues, catalogFoodIngredientValues, catalogItemDetailSchema, catalogItemFilterSchema, catalogItemSummarySchema, catalogModifierBaseSchema, catalogModifierDefaultLocationOverrideSchema, catalogModifierFilterSchema, catalogModifierItemOverrideSchema, catalogModifierListBaseSchema, catalogModifierListDetailSchema, catalogModifierListFilterSchema, catalogModifierLocationOverrideSchema, catalogPriceRangeSchema, catalogSelectionTypeValues, catalogVariationBaseSchema, catalogVariationFilterSchema, catalogVariationWithDefaultSchema, checkoutResultSchema, codPaymentTypeIds, companyPayoutAccountSchema, connectIntegrationInputSchema, connectIntegrationOutputSchema, createAddressForLocationInputSchema, createAddressInputSchema, createBannerInputSchema, createCategoryInputSchema, createCategoryOutputSchema, createCompanyPayoutAccountInputSchema, createCustomerAddressInputSchema, createCustomerManualInputSchema, createCustomerManualOutputSchema, createDeliveryConfigForLocationInputSchema, createDeliveryConfigInputSchema, createDeliveryWindowInputSchema, createDiscountInputSchema, createImageInputSchema, createImageOutputSchema, createIntegrationInputSchema, createIntegrationOutputSchema, createItemInputSchema, createItemOutputSchema, createLeadInputSchema, createLeadOutputSchema, createLocationInputSchema, createMerchantCustomerManualInputSchema, createMerchantCustomerManualOutputSchema, createMerchantInput, createMerchantInputSchema, createMerchantInvoiceInputSchema, createMerchantLegalDetailsInputSchema, createMerchantOutputSchema, createMessageTemplateInputSchema, createModifierInputSchema, createModifierListInputSchema, createModifierListOutputSchema, createModifierOutputSchema, createOrderInputSchema, createPayoutInputSchema, createPromoCodeInputSchema, createSocialInputSchema, createSubscriptionPlanInputSchema, createVariationInputSchema, createVariationOutputSchema, createWhatsAppGroupInputSchema, createWhatsAppGroupOutputSchema, curbsideConfigSchema, curbsideSpotSchema, customerAddressBaseSchema, customerAddressByIdInputSchema, customerAddressFilterSchema, customerAddressOutputSchema, customerBaseSchema, customerByIdInputSchema, customerFilterSchema, customerOutputSchema, defaultCustomerAddressSort, defaultCustomerSort, defaultLocationSort, defaultMerchantCustomerSort, defaultMessageTemplateSort, defaultOrderSort, defaultPromoCodeSort, defaultTimeSort, deleteCategoryInputSchema, deleteCategoryOutputSchema, deleteCompanyPayoutAccountInputSchema, deleteCustomerInputSchema, deleteFulfillmentBusinessHoursInputSchema, deleteIntegrationInputSchema, deleteItemInputSchema, deleteItemOutputSchema, deleteLocationBusinessHoursInputSchema, deleteMerchantCustomerInputSchema, deleteModifierInputSchema, deleteModifierListInputSchema, deleteModifierListOutputSchema, deleteModifierOutputSchema, deleteModifierOverrideInputSchema, deleteModifierOverrideOutputSchema, deleteVariationInputSchema, deleteVariationOutputSchema, deleteWhatsAppGroupInputSchema, deliveryBaseSchema, deliveryConfigSchema, deliveryProviderSchema, deliveryStatusSchema, dineInConfigSchema, disconnectIntegrationInputSchema, discountAutoApplyScopes, discountBaseSchema, discountIdInputSchema, discountListOutputSchema, discountOutputSchema, discountScopes, discountTypes, fetchOrderByIdOutputSchema, fulfillmentBusinessHoursOutputSchema, fulfillmentTypeEnum, gatewayIds, getBankAccountInputSchema, getBankAccountOutputSchema, getCatalogItemInputSchema, getCatalogItemOutputSchema, getCategoryInputSchema, getCategoryOutputSchema, getCompanyPayoutAccountInputSchema, getEffectiveBankAccountInputSchema, getEffectiveBankAccountOutputSchema, getIntegrationInputSchema, getIntegrationOutputSchema, getLocationBalanceInputSchema, getLocationBalanceOutputSchema, getMerchantInputSchema, getModifierInputSchema, getModifierListInputSchema, getModifierListOutputSchema, getModifierOutputSchema, getOrderByIdInputSchema, getOrderConfigInputSchema, getPaymentInputSchema, getPayoutInputSchema, getSmsBalanceInputSchema, getSmsBalanceOutputSchema, initiatePaymentInputSchema, initiatePaymentOutputSchema, integrateLocationInputSchema, integrateLocationOutputSchema, integrationProviderSchema, integrationStatusSchema, integrationTypeSchema, leajlakConfigSchema, linkItemWithCategoryInputSchema, linkItemWithImageInputSchema, linkItemWithModifierListInputSchema, linkOperationOutputSchema, linkWhatsAppGroupInputSchema, linkWhatsAppGroupOutputSchema, listActiveBannersInputSchema, listAvailableWhatsAppGroupsInputSchema, listAvailableWhatsAppGroupsOutputSchema, listBannersInputSchema, listCatalogCategoriesInputSchema, listCatalogCategoriesOutputSchema, listCatalogCategoriesWithItemsInputSchema, listCatalogCategoriesWithItemsOutputSchema, listCatalogItemsInputSchema, listCatalogItemsOutputSchema, listCatalogModifierListsInputSchema, listCatalogModifierListsOutputSchema, listCatalogModifiersInputSchema, listCatalogModifiersOutputSchema, listCatalogVariationsInputSchema, listCatalogVariationsOutputSchema, listCompanyPayoutAccountsInputSchema, listCustomerAddressesInputSchema, listCustomerAddressesOutputSchema, listCustomersInputSchema, listCustomersOutputSchema, listDiscountsInputSchema, listIntegrationsInputSchema, listIntegrationsOutputSchema, listLocationWhatsAppGroupsInputSchema, listLocationWhatsAppGroupsOutputSchema, listLocationsInputSchema, listLocationsOutputSchema, listMerchantCustomersInputSchema, listMerchantCustomersOutputSchema, listMerchantsInputSchema, listMerchantsOutputSchema, listMessageTemplatesInputSchema, listMessageTemplatesOutputSchema, listOrdersInputSchema, listOrdersOutputSchema, listPaymentsInputSchema, listPaymentsOutputSchema, listPayoutsInputSchema, listPayoutsOutputSchema, listPromoCodesInputSchema, localConfigSchema, locationAddressSchema, locationBalanceSchema, locationFilterSchema, locationIdInputSchema, locationListSchema, locationMeatSourceSchema, locationMutationOutputSchema, locationSchema, locationStatusFilterSchema, locationWhatsAppGroupSchema, mapAnbStatusToPayoutStatus, merchantBaseSchema, merchantCustomerBaseSchema, merchantCustomerByIdInputSchema, merchantCustomerFilterSchema, merchantCustomerOutputSchema, merchantFilterSchema, merchantFullDetailsSchema, merchantIdInputSchema, merchantIntegrationBaseSchema, merchantIntegrationSchema, merchantInvoiceSchema, merchantLegalDetailsSchema, merchantListItemSchema, merchantSubscriptionSchema, merchantSummarySchema, merchantSyncEventSchema, messageProviderEnum, messageScopeEnum, messageTemplateBaseSchema, messageTemplateByIdInputSchema, messageTemplateFilterSchema, messageTemplateOutputSchema, messageTemplateProviderEnum, modifierOverrideTypeValues, mutationIdOutputSchema, orderAmountSchema, orderByIdOutputSchema, orderConfigSchema, orderCustomerSchema, orderEntitiesSchema, orderFilterSchema, orderFulfillmentHistorySchema, orderFulfillmentOutputSchema, orderFulfillmentSchema, orderFulfillmentStateValues, orderFulfillmentTypes, orderGatewayIds, orderLineItemInputSchema, orderLineItemSchema, orderModifierSchema, orderOutputSchema, orderPromocodeInputSchema, orderPromocodeSummarySchema, orderSchema, orderSourceSchema, orderSummarySchema, paginationSchema, parcelConfigSchema, paymentFilterSchema, paymentGatewayIds, paymentListItemSchema, paymentMethodIds, paymentOutputSchema, paymentSourceSchema, paymentStatuses, payoutProviderSchema, payoutReportFulfillmentSchema, payoutReportInputSchema, payoutReportOrderSchema, payoutReportOutputSchema, payoutReportOverallSchema, payoutReportPaymentSchema, payoutReportSummarySchema, payoutSchema, payoutStatusSchema, pickupConfigSchema, placementSchema, posProviderSchema, preferredContactTimeSchema, promoCodeAmountSchema, promoCodeApplicationTargets, promoCodeBaseSchema, promoCodeConfigurationSchema, promoCodeDiscountTypes, promoCodeFilterSchema, promoCodeIdInputSchema, promoCodeListOutputSchema, promoCodeOutputSchema, promoCodeScopes, promoCodeValidationInputSchema, promoCodeValidationResultSchema, providerConfigSchema, providerPricingConfigSchema, providerStrategyEnum, qmileConfigSchema, recordPaymentInputSchema, refundOrderInputSchema, refundOrderOutputSchema, refundPaymentInputSchema, removeCurbsideSpotInputSchema, removeDeliveryInputSchema, removeLocationThemeInputSchema, removeProviderInputSchema, scheduleTypeEnum, sendDirectMessageInputSchema, sendDirectMessageOutputSchema, sendMerchantInvoiceInputSchema, sendMessageInputSchema, sendMessageOutputSchema, setIntegrationStatusInputSchema, setIntegrationStatusOutputSchema, setPaidInputSchema, setPaidOutputSchema, smsProviderEnum, socialBaseSchema, socialIdInputSchema, socialPlatformsEnum, sortDirectionSchema, sortSchema, subscriptionPlanSchema, templateHelperSchema, templateVariableCategorySchema, templateVariableSchema, temporaryClosureInputSchema, temporaryClosureOutputSchema, themeSchema, translationFieldSchema, unlinkItemWithCategoryInputSchema, unlinkItemWithImageInputSchema, unlinkItemWithModifierListInputSchema, unsettledBalanceItemSchema, unsettledBalanceSchema, updateBannerInputSchema, updateCategoryInputSchema, updateCategoryOutputSchema, updateCompanyPayoutAccountInputSchema, updateDeliveryConfigInputSchema, updateDiscountInputSchema, updateFulfillmentInputSchema, updateItemInputSchema, updateItemOutputSchema, updateLocationInputSchema, updateMerchantInputSchema, updateMerchantLegalDetailsInputSchema, updateMessageTemplateInputSchema, updateModifierInputSchema, updateModifierListInputSchema, updateModifierListOutputSchema, updateModifierOutputSchema, updatePromoCodeInputSchema, updateProviderInputSchema, updateSocialInputSchema, updateSubscriptionPlanInputSchema, updateVariationInputSchema, updateVariationOutputSchema, updateWhatsAppGroupInputSchema, uploadCatalogItemPhotoInputSchema, uploadCatalogItemPhotoOutputSchema, uploadCrnDocumentInputSchema, uploadLocationBannerInputSchema, uploadLocationBannerOutputSchema, uploadLocationPhotoInputSchema, uploadLocationPhotoOutputSchema, uploadVatDocumentInputSchema, upsertBankAccountInputSchema, upsertCurbsideInputSchema, upsertCustomerInputSchema, upsertDeliveryInputSchema, upsertDineInInputSchema, upsertFulfillmentBusinessHoursInputSchema, upsertItemLocationOverrideInputSchema, upsertItemModifierOverrideInputSchema, upsertLocationBusinessHoursInputSchema, upsertLocationThemeInputSchema, upsertModifierDefaultLocationOverrideInputSchema, upsertModifierInputSchema, upsertModifierLocationOverrideInputSchema, upsertModifierOverrideInputSchema, upsertModifierOverrideOutputSchema, upsertOrderConfigInputSchema, upsertPickupInputSchema, upsertVariationLocationOverrideInputSchema, validatePromoCodeForOrderResultSchema };
|
|
6387
|
+
//#region src/schema/zatca.d.ts
|
|
6388
|
+
declare const egsLocationSchema: z.ZodObject<{
|
|
6389
|
+
city: z.ZodString;
|
|
6390
|
+
district: z.ZodString;
|
|
6391
|
+
street: z.ZodString;
|
|
6392
|
+
building: z.ZodString;
|
|
6393
|
+
postalCode: z.ZodString;
|
|
6394
|
+
additionalNumber: z.ZodOptional<z.ZodString>;
|
|
6395
|
+
}, z.core.$strip>;
|
|
6396
|
+
type EgsLocation = z.infer<typeof egsLocationSchema>;
|
|
6397
|
+
declare const egsInfoSchema: z.ZodObject<{
|
|
6398
|
+
id: z.ZodUUID;
|
|
6399
|
+
name: z.ZodString;
|
|
6400
|
+
model: z.ZodString;
|
|
6401
|
+
branchName: z.ZodString;
|
|
6402
|
+
branchIndustry: z.ZodString;
|
|
6403
|
+
vatName: z.ZodString;
|
|
6404
|
+
vatNumber: z.ZodString;
|
|
6405
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
6406
|
+
city: z.ZodString;
|
|
6407
|
+
district: z.ZodString;
|
|
6408
|
+
street: z.ZodString;
|
|
6409
|
+
building: z.ZodString;
|
|
6410
|
+
postalCode: z.ZodString;
|
|
6411
|
+
additionalNumber: z.ZodOptional<z.ZodString>;
|
|
6412
|
+
}, z.core.$strip>>;
|
|
6413
|
+
}, z.core.$strip>;
|
|
6414
|
+
type EgsInfo = z.infer<typeof egsInfoSchema>;
|
|
6415
|
+
declare const onboardEgsInputSchema: z.ZodObject<{
|
|
6416
|
+
locationId: z.ZodUUID;
|
|
6417
|
+
otp: z.ZodString;
|
|
6418
|
+
}, z.core.$strip>;
|
|
6419
|
+
type OnboardEgsInput = z.infer<typeof onboardEgsInputSchema>;
|
|
6420
|
+
declare const onboardEgsOutputSchema: z.ZodObject<{
|
|
6421
|
+
egsId: z.ZodUUID;
|
|
6422
|
+
lastInvoiceHash: z.ZodString;
|
|
6423
|
+
nextInvoiceCounter: z.ZodNumber;
|
|
6424
|
+
}, z.core.$strip>;
|
|
6425
|
+
type OnboardEgsOutput = z.infer<typeof onboardEgsOutputSchema>;
|
|
6426
|
+
declare const zatcaLineItemSchema: z.ZodObject<{
|
|
6427
|
+
id: z.ZodString;
|
|
6428
|
+
name: z.ZodString;
|
|
6429
|
+
quantity: z.ZodNumber;
|
|
6430
|
+
taxExclusivePrice: z.ZodNumber;
|
|
6431
|
+
vatPercent: z.ZodNumber;
|
|
6432
|
+
discounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6433
|
+
amount: z.ZodNumber;
|
|
6434
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
6435
|
+
}, z.core.$strip>>>;
|
|
6436
|
+
vatCategory: z.ZodOptional<z.ZodString>;
|
|
6437
|
+
}, z.core.$strip>;
|
|
6438
|
+
type ZatcaLineItem = z.infer<typeof zatcaLineItemSchema>;
|
|
6439
|
+
declare const zatcaInvoicePropsSchema: z.ZodObject<{
|
|
6440
|
+
invoiceCode: z.ZodString;
|
|
6441
|
+
invoiceType: z.ZodString;
|
|
6442
|
+
crnNumber: z.ZodString;
|
|
6443
|
+
invoiceCounterNumber: z.ZodNumber;
|
|
6444
|
+
invoiceSerialNumber: z.ZodString;
|
|
6445
|
+
issueDate: z.ZodDate;
|
|
6446
|
+
previousInvoiceHash: z.ZodString;
|
|
6447
|
+
lineItems: z.ZodArray<z.ZodObject<{
|
|
6448
|
+
id: z.ZodString;
|
|
6449
|
+
name: z.ZodString;
|
|
6450
|
+
quantity: z.ZodNumber;
|
|
6451
|
+
taxExclusivePrice: z.ZodNumber;
|
|
6452
|
+
vatPercent: z.ZodNumber;
|
|
6453
|
+
discounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6454
|
+
amount: z.ZodNumber;
|
|
6455
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
6456
|
+
}, z.core.$strip>>>;
|
|
6457
|
+
vatCategory: z.ZodOptional<z.ZodString>;
|
|
6458
|
+
}, z.core.$strip>>;
|
|
6459
|
+
customerInfo: z.ZodOptional<z.ZodObject<{
|
|
6460
|
+
vatName: z.ZodOptional<z.ZodString>;
|
|
6461
|
+
vatNumber: z.ZodOptional<z.ZodString>;
|
|
6462
|
+
}, z.core.$strip>>;
|
|
6463
|
+
}, z.core.$strip>;
|
|
6464
|
+
type ZatcaInvoiceProps = z.infer<typeof zatcaInvoicePropsSchema>;
|
|
6465
|
+
declare const reportInvoiceInputSchema: z.ZodObject<{
|
|
6466
|
+
egsId: z.ZodUUID;
|
|
6467
|
+
invoiceProps: z.ZodObject<{
|
|
6468
|
+
invoiceCode: z.ZodString;
|
|
6469
|
+
invoiceType: z.ZodString;
|
|
6470
|
+
crnNumber: z.ZodString;
|
|
6471
|
+
invoiceCounterNumber: z.ZodNumber;
|
|
6472
|
+
invoiceSerialNumber: z.ZodString;
|
|
6473
|
+
issueDate: z.ZodDate;
|
|
6474
|
+
previousInvoiceHash: z.ZodString;
|
|
6475
|
+
lineItems: z.ZodArray<z.ZodObject<{
|
|
6476
|
+
id: z.ZodString;
|
|
6477
|
+
name: z.ZodString;
|
|
6478
|
+
quantity: z.ZodNumber;
|
|
6479
|
+
taxExclusivePrice: z.ZodNumber;
|
|
6480
|
+
vatPercent: z.ZodNumber;
|
|
6481
|
+
discounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6482
|
+
amount: z.ZodNumber;
|
|
6483
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
6484
|
+
}, z.core.$strip>>>;
|
|
6485
|
+
vatCategory: z.ZodOptional<z.ZodString>;
|
|
6486
|
+
}, z.core.$strip>>;
|
|
6487
|
+
customerInfo: z.ZodOptional<z.ZodObject<{
|
|
6488
|
+
vatName: z.ZodOptional<z.ZodString>;
|
|
6489
|
+
vatNumber: z.ZodOptional<z.ZodString>;
|
|
6490
|
+
}, z.core.$strip>>;
|
|
6491
|
+
}, z.core.$strip>;
|
|
6492
|
+
invoiceHash: z.ZodString;
|
|
6493
|
+
}, z.core.$strip>;
|
|
6494
|
+
type ReportInvoiceInput = z.infer<typeof reportInvoiceInputSchema>;
|
|
6495
|
+
declare const reportInvoiceOutputSchema: z.ZodObject<{
|
|
6496
|
+
success: z.ZodBoolean;
|
|
6497
|
+
invoiceHash: z.ZodString;
|
|
6498
|
+
reportingStatus: z.ZodString;
|
|
6499
|
+
}, z.core.$strip>;
|
|
6500
|
+
type ReportInvoiceOutput = z.infer<typeof reportInvoiceOutputSchema>;
|
|
6501
|
+
declare const batchReportInputSchema: z.ZodObject<{
|
|
6502
|
+
egsId: z.ZodUUID;
|
|
6503
|
+
invoices: z.ZodArray<z.ZodObject<{
|
|
6504
|
+
invoiceCode: z.ZodString;
|
|
6505
|
+
invoiceType: z.ZodString;
|
|
6506
|
+
crnNumber: z.ZodString;
|
|
6507
|
+
invoiceCounterNumber: z.ZodNumber;
|
|
6508
|
+
invoiceSerialNumber: z.ZodString;
|
|
6509
|
+
issueDate: z.ZodDate;
|
|
6510
|
+
previousInvoiceHash: z.ZodString;
|
|
6511
|
+
lineItems: z.ZodArray<z.ZodObject<{
|
|
6512
|
+
id: z.ZodString;
|
|
6513
|
+
name: z.ZodString;
|
|
6514
|
+
quantity: z.ZodNumber;
|
|
6515
|
+
taxExclusivePrice: z.ZodNumber;
|
|
6516
|
+
vatPercent: z.ZodNumber;
|
|
6517
|
+
discounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6518
|
+
amount: z.ZodNumber;
|
|
6519
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
6520
|
+
}, z.core.$strip>>>;
|
|
6521
|
+
vatCategory: z.ZodOptional<z.ZodString>;
|
|
6522
|
+
}, z.core.$strip>>;
|
|
6523
|
+
customerInfo: z.ZodOptional<z.ZodObject<{
|
|
6524
|
+
vatName: z.ZodOptional<z.ZodString>;
|
|
6525
|
+
vatNumber: z.ZodOptional<z.ZodString>;
|
|
6526
|
+
}, z.core.$strip>>;
|
|
6527
|
+
}, z.core.$strip>>;
|
|
6528
|
+
}, z.core.$strip>;
|
|
6529
|
+
type BatchReportInput = z.infer<typeof batchReportInputSchema>;
|
|
6530
|
+
declare const batchReportOutputSchema: z.ZodObject<{
|
|
6531
|
+
results: z.ZodArray<z.ZodObject<{
|
|
6532
|
+
success: z.ZodBoolean;
|
|
6533
|
+
invoiceHash: z.ZodString;
|
|
6534
|
+
reportingStatus: z.ZodString;
|
|
6535
|
+
}, z.core.$strip>>;
|
|
6536
|
+
total: z.ZodNumber;
|
|
6537
|
+
succeeded: z.ZodNumber;
|
|
6538
|
+
failed: z.ZodNumber;
|
|
6539
|
+
}, z.core.$strip>;
|
|
6540
|
+
type BatchReportOutput = z.infer<typeof batchReportOutputSchema>;
|
|
6541
|
+
declare const zatcaInvoiceLocalSchema: z.ZodObject<{
|
|
6542
|
+
id: z.ZodUUID;
|
|
6543
|
+
orderId: z.ZodOptional<z.ZodString>;
|
|
6544
|
+
egsId: z.ZodString;
|
|
6545
|
+
invoiceHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6546
|
+
signedInvoiceB64: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6547
|
+
invoiceQrData: z.ZodString;
|
|
6548
|
+
invoiceCounterNumber: z.ZodNumber;
|
|
6549
|
+
invoiceSerialNumber: z.ZodString;
|
|
6550
|
+
issueDate: z.ZodDate;
|
|
6551
|
+
previousInvoiceHash: z.ZodString;
|
|
6552
|
+
locationId: z.ZodString;
|
|
6553
|
+
lineItems: z.ZodArray<z.ZodObject<{
|
|
6554
|
+
id: z.ZodString;
|
|
6555
|
+
name: z.ZodString;
|
|
6556
|
+
quantity: z.ZodNumber;
|
|
6557
|
+
taxExclusivePrice: z.ZodNumber;
|
|
6558
|
+
vatPercent: z.ZodNumber;
|
|
6559
|
+
discounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6560
|
+
amount: z.ZodNumber;
|
|
6561
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
6562
|
+
}, z.core.$strip>>>;
|
|
6563
|
+
vatCategory: z.ZodOptional<z.ZodString>;
|
|
6564
|
+
}, z.core.$strip>>;
|
|
6565
|
+
customer: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
6566
|
+
vatName: z.ZodOptional<z.ZodString>;
|
|
6567
|
+
vatNumber: z.ZodOptional<z.ZodString>;
|
|
6568
|
+
}, z.core.$strip>>>;
|
|
6569
|
+
cancelation: z.ZodNullable<z.ZodUnknown>;
|
|
6570
|
+
syncStatus: z.ZodEnum<{
|
|
6571
|
+
failed: "failed";
|
|
6572
|
+
pending: "pending";
|
|
6573
|
+
draft: "draft";
|
|
6574
|
+
synced: "synced";
|
|
6575
|
+
}>;
|
|
6576
|
+
syncedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
6577
|
+
serverInvoiceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6578
|
+
paymentId: z.ZodOptional<z.ZodString>;
|
|
6579
|
+
createdAt: z.ZodDate;
|
|
6580
|
+
}, z.core.$strip>;
|
|
6581
|
+
type ZatcaInvoiceLocal = z.infer<typeof zatcaInvoiceLocalSchema>;
|
|
6582
|
+
declare const syncInvoicesInputSchema: z.ZodObject<{
|
|
6583
|
+
egsId: z.ZodUUID;
|
|
6584
|
+
invoices: z.ZodArray<z.ZodObject<{
|
|
6585
|
+
id: z.ZodUUID;
|
|
6586
|
+
orderId: z.ZodOptional<z.ZodString>;
|
|
6587
|
+
egsId: z.ZodString;
|
|
6588
|
+
invoiceHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6589
|
+
signedInvoiceB64: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6590
|
+
invoiceQrData: z.ZodString;
|
|
6591
|
+
invoiceCounterNumber: z.ZodNumber;
|
|
6592
|
+
invoiceSerialNumber: z.ZodString;
|
|
6593
|
+
issueDate: z.ZodDate;
|
|
6594
|
+
previousInvoiceHash: z.ZodString;
|
|
6595
|
+
locationId: z.ZodString;
|
|
6596
|
+
lineItems: z.ZodArray<z.ZodObject<{
|
|
6597
|
+
id: z.ZodString;
|
|
6598
|
+
name: z.ZodString;
|
|
6599
|
+
quantity: z.ZodNumber;
|
|
6600
|
+
taxExclusivePrice: z.ZodNumber;
|
|
6601
|
+
vatPercent: z.ZodNumber;
|
|
6602
|
+
discounts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6603
|
+
amount: z.ZodNumber;
|
|
6604
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
6605
|
+
}, z.core.$strip>>>;
|
|
6606
|
+
vatCategory: z.ZodOptional<z.ZodString>;
|
|
6607
|
+
}, z.core.$strip>>;
|
|
6608
|
+
customer: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
6609
|
+
vatName: z.ZodOptional<z.ZodString>;
|
|
6610
|
+
vatNumber: z.ZodOptional<z.ZodString>;
|
|
6611
|
+
}, z.core.$strip>>>;
|
|
6612
|
+
cancelation: z.ZodNullable<z.ZodUnknown>;
|
|
6613
|
+
syncStatus: z.ZodEnum<{
|
|
6614
|
+
failed: "failed";
|
|
6615
|
+
pending: "pending";
|
|
6616
|
+
draft: "draft";
|
|
6617
|
+
synced: "synced";
|
|
6618
|
+
}>;
|
|
6619
|
+
syncedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
6620
|
+
serverInvoiceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6621
|
+
paymentId: z.ZodOptional<z.ZodString>;
|
|
6622
|
+
createdAt: z.ZodDate;
|
|
6623
|
+
}, z.core.$strip>>;
|
|
6624
|
+
}, z.core.$strip>;
|
|
6625
|
+
type SyncInvoicesInput = z.infer<typeof syncInvoicesInputSchema>;
|
|
6626
|
+
declare const egsStatusOutputSchema: z.ZodObject<{
|
|
6627
|
+
egsId: z.ZodUUID;
|
|
6628
|
+
deviceId: z.ZodString;
|
|
6629
|
+
isOnboarded: z.ZodBoolean;
|
|
6630
|
+
lastInvoiceHash: z.ZodNullable<z.ZodString>;
|
|
6631
|
+
nextInvoiceCounter: z.ZodNullable<z.ZodNumber>;
|
|
6632
|
+
}, z.core.$strip>;
|
|
6633
|
+
type EgsStatusOutput = z.infer<typeof egsStatusOutputSchema>;
|
|
6634
|
+
declare const onboardingDataOutputSchema: z.ZodObject<{
|
|
6635
|
+
vatName: z.ZodNullable<z.ZodString>;
|
|
6636
|
+
vatNumber: z.ZodNullable<z.ZodString>;
|
|
6637
|
+
locationName: z.ZodNullable<z.ZodString>;
|
|
6638
|
+
locationAddress: z.ZodNullable<z.ZodObject<{
|
|
6639
|
+
city: z.ZodString;
|
|
6640
|
+
district: z.ZodString;
|
|
6641
|
+
street: z.ZodString;
|
|
6642
|
+
building: z.ZodString;
|
|
6643
|
+
postalCode: z.ZodString;
|
|
6644
|
+
additionalNumber: z.ZodOptional<z.ZodString>;
|
|
6645
|
+
}, z.core.$strip>>;
|
|
6646
|
+
}, z.core.$strip>;
|
|
6647
|
+
type OnboardingDataOutput = z.infer<typeof onboardingDataOutputSchema>;
|
|
6648
|
+
declare const invoiceByPaymentOutputSchema: z.ZodNullable<z.ZodObject<{
|
|
6649
|
+
invoiceHash: z.ZodString;
|
|
6650
|
+
invoiceQrData: z.ZodString;
|
|
6651
|
+
invoiceSerialNumber: z.ZodString;
|
|
6652
|
+
invoiceCounterNumber: z.ZodNumber;
|
|
6653
|
+
issueDate: z.ZodDate;
|
|
6654
|
+
syncStatus: z.ZodString;
|
|
6655
|
+
reportedAt: z.ZodNullable<z.ZodDate>;
|
|
6656
|
+
}, z.core.$strip>>;
|
|
6657
|
+
type InvoiceByPaymentOutput = z.infer<typeof invoiceByPaymentOutputSchema>;
|
|
6658
|
+
//#endregion
|
|
6659
|
+
export { ANBPaymentStatus, ANBPaymentStatusResponse, ANBSinglePaymentInitiationResponse, ANBSinglePaymentRequest, ANBSinglePaymentResponse, ANBWebhookPayload, AcceptedPaymentMethod, ActiveBannerListOutput, ActiveBannerOutput, AddCurbsideSpotInput, AddProviderInput, Amount, ApproveBannerInput, type AvailableTemplateResources, AvailableWhatsAppGroup, BankAccount, Banner, BannerIdInput, BannerListOutput, BannerOutput, BaseFilter, BatchReportInput, BatchReportOutput, BulkCustomerExportInput, BulkCustomerExportResult, BulkCustomerExportRow, BulkCustomerImportError, BulkCustomerImportInput, BulkCustomerImportResult, BulkCustomerImportRow, BulkCustomerImportRowClient, BusinessHours, BusinessHoursPeriod, CalculatePayoutOutput, CatalogAmount, CatalogAvailability, CatalogCategory, CatalogCategoryFilter, CatalogCategoryWithItems, CatalogItemDetail, CatalogItemFilter, CatalogItemSummary, CatalogModifierBase, CatalogModifierDefaultLocationOverride, CatalogModifierFilter, CatalogModifierItemOverride, CatalogModifierListBase, CatalogModifierListDetail, CatalogModifierListFilter, CatalogModifierListSummary, CatalogModifierLocationOverride, CatalogPriceRange, CatalogSelectionType, CatalogVariationBase, CatalogVariationFilter, CatalogVariationWithDefault, CheckoutResult, CodPaymentType, CompanyPayoutAccount, ConnectIntegrationInput, ConnectIntegrationOutput, CreateAddressForLocationInput, CreateAddressInput, CreateBannerInput, CreateCategoryInput, CreateCategoryOutput, CreateCompanyPayoutAccountInput, CreateCustomerAddressInput, CreateCustomerManualInput, CreateCustomerManualOutput, CreateDeliveryConfigForLocationInput, CreateDeliveryConfigInput, CreateDeliveryWindowInput, CreateDiscountInput, CreateImageInput, CreateImageOutput, CreateIntegrationInput, CreateIntegrationOutput, CreateItemInput, CreateItemOutput, CreateLeadInput, CreateLeadOutput, CreateLocationInput, CreateMerchantCustomerManualInput, CreateMerchantCustomerManualOutput, CreateMerchantInvoiceInput, CreateMerchantOutput, CreateMessageTemplateInput, CreateModifierInput, CreateModifierListInput, CreateModifierListOutput, CreateModifierOutput, CreateOrderInput, CreatePayoutInput, CreatePromoCodeInput, CreateServiceChargeInput, CreateSocialInput, CreateSubscriptionPlanInput, CreateTaxInput, CreateVariationInput, CreateVariationOutput, CreateWhatsAppGroupInput, CreateWhatsAppGroupOutput, CurbsideSpot, Customer, CustomerAddress, CustomerAddressByIdInput, CustomerAddressFilter, CustomerByIdInput, CustomerFilter, DeleteCategoryInput, DeleteCategoryOutput, DeleteCompanyPayoutAccountInput, DeleteCustomerInput, DeleteFulfillmentBusinessHoursInput, DeleteIntegrationInput, DeleteItemInput, DeleteItemOutput, DeleteLocationBusinessHoursInput, DeleteLocationInput, DeleteLocationOutput, DeleteMerchantAccountInput, DeleteMerchantAccountOutput, DeleteMerchantCustomerInput, DeleteModifierInput, DeleteModifierListInput, DeleteModifierListOutput, DeleteModifierOutput, DeleteModifierOverrideInput, DeleteModifierOverrideOutput, DeleteVariationInput, DeleteVariationOutput, DeleteWhatsAppGroupInput, DeliveryBase, DeliveryConfig, DeliveryProvider, DeliveryStatus, DisconnectIntegrationInput, Discount, EgsInfo, EgsLocation, EgsStatusOutput, FetchOrderByIdOutput, FulfillmentBusinessHoursOutput, type FulfillmentState, GetBankAccountInput, GetBankAccountOutput, GetCatalogItemInput, GetCatalogItemOutput, GetCategoryInput, GetCategoryOutput, GetCompanyPayoutAccountInput, GetEffectiveBankAccountInput, GetEffectiveBankAccountOutput, GetIntegrationInput, GetIntegrationOutput, GetLocationBalanceInput, GetLocationBalanceOutput, GetMerchantInput, GetModifierInput, GetModifierListInput, GetModifierListOutput, GetModifierOutput, GetOrderByIdInput, GetOrderConfigInput, GetPaymentInput, GetPayoutInput, InitiatePaymentInput, InitiatePaymentOutput, IntegrateLocationInput, IntegrateLocationOutput, IntegrationProvider, IntegrationStatus, IntegrationType, InvoiceByPaymentOutput, LeajlakConfig, LinkItemWithCategoryInput, LinkItemWithImageInput, LinkItemWithModifierListInput, LinkOperationOutput, LinkWhatsAppGroupInput, LinkWhatsAppGroupOutput, ListActiveBannersInput, ListAvailableWhatsAppGroupsInput, ListAvailableWhatsAppGroupsOutput, ListBannersInput, ListCatalogCategoriesInput, ListCatalogCategoriesOutput, ListCatalogCategoriesWithItemsInput, ListCatalogCategoriesWithItemsOutput, ListCatalogItemsInput, ListCatalogItemsOutput, ListCatalogModifierListsInput, ListCatalogModifierListsOutput, ListCatalogModifiersInput, ListCatalogModifiersOutput, ListCatalogVariationsInput, ListCatalogVariationsOutput, ListCompanyPayoutAccountsInput, ListCustomerAddressesInput, ListCustomerAddressesOutput, ListCustomersInput, ListCustomersOutput, ListDiscountsInput, ListIntegrationsInput, ListIntegrationsOutput, ListLocationWhatsAppGroupsInput, ListLocationWhatsAppGroupsOutput, ListLocationsInput, ListLocationsOutput, ListMerchantCustomersInput, ListMerchantCustomersOutput, ListMerchantsInput, ListMerchantsOutput, ListMessageTemplatesInput, ListMessageTemplatesOutput, ListOrdersInput, ListOrdersOutput, ListPaymentsInput, ListPaymentsOutput, ListPayoutsInput, ListPayoutsOutput, ListPromoCodesInput, ListServiceChargesInput, ListTaxesInput, LocalConfig, Location, LocationAddress, LocationBalance, LocationFilter, LocationIdInput, LocationList, LocationMeatSource, LocationMutationOutput, LocationSummary, LocationWhatsAppGroup, Merchant, MerchantCustomer, MerchantCustomerByIdInput, MerchantCustomerFilter, MerchantFilter, MerchantFullDetails, MerchantIdInput, MerchantIntegration, MerchantIntegrationBase, MerchantInvoice, MerchantLegalDetails, MerchantListItem, MerchantSubscription, MerchantSummary, MerchantSyncEvent, MessageTemplate, MessageTemplateByIdInput, MessageTemplateFilter, MutationIdOutput, OnboardEgsInput, OnboardEgsOutput, OnboardingDataOutput, Order, OrderAmount, OrderByIdOutput, OrderConfig, OrderCustomer, OrderEntities, OrderFilter, OrderFulfillment, OrderFulfillmentHistory, OrderFulfillmentOutput, OrderLineItem, OrderLineItemInput, OrderModifier, OrderOutput, OrderPromocodeInput, OrderPromocodeSummary, OrderSource, OrderSummary, Pagination, ParcelConfig, PaymentFilter, PaymentGateway, PaymentListItem, PaymentMethod, PaymentOutput, PaymentSource, PaymentStatus, Payout, PayoutProvider, PayoutReportFulfillment, PayoutReportInput, PayoutReportOrder, PayoutReportOutput, PayoutReportOverall, PayoutReportPayment, PayoutReportSummary, PayoutStatus, PosProvider, PreferredContactTime, PromoCode, PromoCodeFilter, PromoCodeIdInput, PromoCodeListOutput, PromoCodeOutput, PromoCodeValidationInput, ProviderConfig, ProviderPricingConfig, ProviderStrategy, QMileConfig, RecordPaymentInput, RefundOrderInput, RefundOrderOutput, RefundPaymentInput, RemoveCurbsideSpotInput, RemoveDeliveryInput, RemoveLocationThemeInput, RemoveProviderInput, ReportInvoiceInput, ReportInvoiceOutput, ScheduleType, SendDirectMessageInput, SendDirectMessageOutput, SendMerchantInvoiceInput, SendMessageInput, SendMessageOutput, ServiceCharge, SetIntegrationStatusInput, SetIntegrationStatusOutput, SetPaidInput, SetPaidOutput, Social, SocialIdInput, SocialPlatform, SortDirection, SubscriptionPlan, SyncInvoicesInput, Tax, TemporaryClosureInput, TemporaryClosureOutput, Theme, TranslationField, UnlinkItemWithCategoryInput, UnlinkItemWithImageInput, UnlinkItemWithModifierListInput, UnsettledBalance, UnsettledBalanceItem, UpdateBannerInput, UpdateCategoryInput, UpdateCategoryOutput, UpdateCompanyPayoutAccountInput, UpdateDeliveryConfigInput, UpdateDiscountInput, UpdateFulfillmentInput, UpdateItemInput, UpdateItemOutput, UpdateLocationInput, UpdateMerchantInput, UpdateMessageTemplateInput, UpdateModifierInput, UpdateModifierListInput, UpdateModifierListOutput, UpdateModifierOutput, UpdatePromoCodeInput, UpdateProviderInput, UpdateServiceChargeInput, UpdateSocialInput, UpdateSubscriptionPlanInput, UpdateTaxInput, UpdateVariationInput, UpdateVariationOutput, UpdateWhatsAppGroupInput, UploadCatalogItemPhotoInput, UploadCatalogItemPhotoOutput, UploadLocationBannerInput, UploadLocationBannerOutput, UploadLocationPhotoInput, UploadLocationPhotoOutput, UploadMerchantCrnDocInput, UploadMerchantVatDocInput, UpsertBankAccountInput, UpsertCurbsideInput, UpsertCustomerInput, UpsertDeliveryInput, UpsertDineInInput, UpsertFulfillmentBusinessHoursInput, UpsertItemLocationOverrideInput, UpsertItemModifierOverrideInput, UpsertLocationBusinessHoursInput, UpsertLocationThemeInput, UpsertModifierDefaultLocationOverrideInput, UpsertModifierInput, UpsertModifierLocationOverrideInput, UpsertModifierOverrideInput, UpsertModifierOverrideOutput, UpsertOrderConfigInput, UpsertPickupInput, UpsertVariationLocationOverrideInput, ValidatePromoCodeForOrderResult, ZatcaInvoiceLocal, ZatcaInvoiceProps, ZatcaLineItem, acceptedPaymentIds, activeBannerListOutputSchema, activeBannerOutputSchema, addCurbsideSpotInputSchema, addProviderInputSchema, anbPaymentStatusResponseSchema, anbPaymentStatusSchema, anbSinglePaymentInitiationResponseSchema, anbSinglePaymentRequestSchema, anbSinglePaymentResponseSchema, anbWebhookPayloadSchema, approveBannerInputSchema, availableTemplateResourcesSchema, availableWhatsAppGroupSchema, bankAccountSchema, bannerIdInputSchema, bannerListOutputSchema, bannerOutputSchema, bannerStatusSchema, baseFilterSchema, baseListInputSchema, baseListOutputSchema, batchReportInputSchema, batchReportOutputSchema, bulkCustomerExportInputSchema, bulkCustomerExportResultSchema, bulkCustomerExportRowSchema, bulkCustomerImportErrorSchema, bulkCustomerImportInputSchema, bulkCustomerImportResultSchema, bulkCustomerImportRowClientSchema, bulkCustomerImportRowSchema, businessHoursPeriodSchema, businessHoursSchema, calculatePayoutOutputSchema, calculateSmsCostInputSchema, calculateSmsCostOutputSchema, catalogAmountSchema, catalogAvailabilityValues, catalogCategoryBaseSchema, catalogCategoryFilterSchema, catalogCategorySchema, catalogDietaryPreferenceValues, catalogFoodIngredientValues, catalogItemDetailSchema, catalogItemFilterSchema, catalogItemSummarySchema, catalogModifierBaseSchema, catalogModifierDefaultLocationOverrideSchema, catalogModifierFilterSchema, catalogModifierItemOverrideSchema, catalogModifierListBaseSchema, catalogModifierListDetailSchema, catalogModifierListFilterSchema, catalogModifierListSummarySchema, catalogModifierLocationOverrideSchema, catalogPriceRangeSchema, catalogSelectionTypeValues, catalogVariationBaseSchema, catalogVariationFilterSchema, catalogVariationWithDefaultSchema, chargeAutoApplyScopes, chargeScopes, chargeTypes, checkoutResultSchema, codPaymentTypeIds, companyPayoutAccountSchema, connectIntegrationInputSchema, connectIntegrationOutputSchema, createAddressForLocationInputSchema, createAddressInputSchema, createBannerInputSchema, createCategoryInputSchema, createCategoryOutputSchema, createCompanyPayoutAccountInputSchema, createCustomerAddressInputSchema, createCustomerManualInputSchema, createCustomerManualOutputSchema, createDeliveryConfigForLocationInputSchema, createDeliveryConfigInputSchema, createDeliveryWindowInputSchema, createDiscountInputSchema, createImageInputSchema, createImageOutputSchema, createIntegrationInputSchema, createIntegrationOutputSchema, createItemInputSchema, createItemOutputSchema, createLeadInputSchema, createLeadOutputSchema, createLocationInputSchema, createMerchantCustomerManualInputSchema, createMerchantCustomerManualOutputSchema, createMerchantInput, createMerchantInputSchema, createMerchantInvoiceInputSchema, createMerchantOutputSchema, createMessageTemplateInputSchema, createModifierInputSchema, createModifierListInputSchema, createModifierListOutputSchema, createModifierOutputSchema, createOrderInputSchema, createPayoutInputSchema, createPromoCodeInputSchema, createServiceChargeInputSchema, createSocialInputSchema, createSubscriptionPlanInputSchema, createTaxInputSchema, createVariationInputSchema, createVariationOutputSchema, createWhatsAppGroupInputSchema, createWhatsAppGroupOutputSchema, curbsideConfigSchema, curbsideSpotSchema, customerAddressBaseSchema, customerAddressByIdInputSchema, customerAddressFilterSchema, customerAddressOutputSchema, customerBaseSchema, customerByIdInputSchema, customerFilterSchema, customerOutputSchema, defaultCustomerAddressSort, defaultCustomerSort, defaultLocationSort, defaultMerchantCustomerSort, defaultMessageTemplateSort, defaultOrderSort, defaultPromoCodeSort, defaultTimeSort, deleteCategoryInputSchema, deleteCategoryOutputSchema, deleteCompanyPayoutAccountInputSchema, deleteCustomerInputSchema, deleteFulfillmentBusinessHoursInputSchema, deleteIntegrationInputSchema, deleteItemInputSchema, deleteItemOutputSchema, deleteLocationBusinessHoursInputSchema, deleteLocationInputSchema, deleteLocationOutputSchema, deleteMerchantAccountInputSchema, deleteMerchantAccountOutputSchema, deleteMerchantCustomerInputSchema, deleteModifierInputSchema, deleteModifierListInputSchema, deleteModifierListOutputSchema, deleteModifierOutputSchema, deleteModifierOverrideInputSchema, deleteModifierOverrideOutputSchema, deleteVariationInputSchema, deleteVariationOutputSchema, deleteWhatsAppGroupInputSchema, deliveryBaseSchema, deliveryConfigSchema, deliveryProviderSchema, deliveryStatusSchema, dineInConfigSchema, disconnectIntegrationInputSchema, discountAutoApplyScopes, discountBaseSchema, discountIdInputSchema, discountListOutputSchema, discountOutputSchema, discountScopes, discountTypes, egsInfoSchema, egsLocationSchema, egsStatusOutputSchema, fetchOrderByIdOutputSchema, fulfillmentBusinessHoursOutputSchema, fulfillmentTypeEnum, gatewayIds, getBankAccountInputSchema, getBankAccountOutputSchema, getCatalogItemInputSchema, getCatalogItemOutputSchema, getCategoryInputSchema, getCategoryOutputSchema, getCompanyPayoutAccountInputSchema, getEffectiveBankAccountInputSchema, getEffectiveBankAccountOutputSchema, getIntegrationInputSchema, getIntegrationOutputSchema, getLocationBalanceInputSchema, getLocationBalanceOutputSchema, getMerchantInputSchema, getModifierInputSchema, getModifierListInputSchema, getModifierListOutputSchema, getModifierOutputSchema, getOrderByIdInputSchema, getOrderConfigInputSchema, getPaymentInputSchema, getPayoutInputSchema, getSmsBalanceInputSchema, getSmsBalanceOutputSchema, initiatePaymentInputSchema, initiatePaymentOutputSchema, integrateLocationInputSchema, integrateLocationOutputSchema, integrationProviderSchema, integrationStatusSchema, integrationTypeSchema, invoiceByPaymentOutputSchema, leajlakConfigSchema, linkItemWithCategoryInputSchema, linkItemWithImageInputSchema, linkItemWithModifierListInputSchema, linkOperationOutputSchema, linkWhatsAppGroupInputSchema, linkWhatsAppGroupOutputSchema, listActiveBannersInputSchema, listAvailableWhatsAppGroupsInputSchema, listAvailableWhatsAppGroupsOutputSchema, listBannersInputSchema, listCatalogCategoriesInputSchema, listCatalogCategoriesOutputSchema, listCatalogCategoriesWithItemsInputSchema, listCatalogCategoriesWithItemsOutputSchema, listCatalogItemsInputSchema, listCatalogItemsOutputSchema, listCatalogModifierListsInputSchema, listCatalogModifierListsOutputSchema, listCatalogModifiersInputSchema, listCatalogModifiersOutputSchema, listCatalogVariationsInputSchema, listCatalogVariationsOutputSchema, listCompanyPayoutAccountsInputSchema, listCustomerAddressesInputSchema, listCustomerAddressesOutputSchema, listCustomersInputSchema, listCustomersOutputSchema, listDiscountsInputSchema, listIntegrationsInputSchema, listIntegrationsOutputSchema, listLocationWhatsAppGroupsInputSchema, listLocationWhatsAppGroupsOutputSchema, listLocationsInputSchema, listLocationsOutputSchema, listMerchantCustomersInputSchema, listMerchantCustomersOutputSchema, listMerchantsInputSchema, listMerchantsOutputSchema, listMessageTemplatesInputSchema, listMessageTemplatesOutputSchema, listOrdersInputSchema, listOrdersOutputSchema, listPaymentsInputSchema, listPaymentsOutputSchema, listPayoutsInputSchema, listPayoutsOutputSchema, listPromoCodesInputSchema, listServiceChargesInputSchema, listTaxesInputSchema, localConfigSchema, locationAddressSchema, locationBalanceSchema, locationFilterSchema, locationIdInputSchema, locationListSchema, locationMeatSourceSchema, locationMutationOutputSchema, locationSchema, locationStatusFilterSchema, locationWhatsAppGroupSchema, mapAnbStatusToPayoutStatus, merchantBaseSchema, merchantCustomerBaseSchema, merchantCustomerByIdInputSchema, merchantCustomerFilterSchema, merchantCustomerOutputSchema, merchantFilterSchema, merchantFullDetailsSchema, merchantIdInputSchema, merchantIntegrationBaseSchema, merchantIntegrationSchema, merchantInvoiceSchema, merchantLegalDetailsSchema, merchantListItemSchema, merchantSubscriptionSchema, merchantSummarySchema, merchantSyncEventSchema, messageProviderEnum, messageScopeEnum, messageTemplateBaseSchema, messageTemplateByIdInputSchema, messageTemplateFilterSchema, messageTemplateOutputSchema, messageTemplateProviderEnum, modifierOverrideTypeValues, mutationIdOutputSchema, onboardEgsInputSchema, onboardEgsOutputSchema, onboardingDataOutputSchema, orderAmountSchema, orderByIdOutputSchema, orderConfigSchema, orderCustomerSchema, orderEntitiesSchema, orderFilterSchema, orderFulfillmentHistorySchema, orderFulfillmentOutputSchema, orderFulfillmentSchema, orderFulfillmentStateValues, orderFulfillmentTypes, orderGatewayIds, orderLineItemInputSchema, orderLineItemSchema, orderModifierSchema, orderOutputSchema, orderPromocodeInputSchema, orderPromocodeSummarySchema, orderSchema, orderSourceSchema, orderSummarySchema, paginationSchema, parcelConfigSchema, paymentFilterSchema, paymentGatewayIds, paymentListItemSchema, paymentMethodIds, paymentOutputSchema, paymentSourceSchema, paymentStatuses, payoutProviderSchema, payoutReportFulfillmentSchema, payoutReportInputSchema, payoutReportOrderSchema, payoutReportOutputSchema, payoutReportOverallSchema, payoutReportPaymentSchema, payoutReportSummarySchema, payoutSchema, payoutStatusSchema, pickupConfigSchema, placementSchema, posProviderSchema, preferredContactTimeSchema, promoCodeAmountSchema, promoCodeApplicationTargets, promoCodeBaseSchema, promoCodeConfigurationSchema, promoCodeDiscountTypes, promoCodeFilterSchema, promoCodeIdInputSchema, promoCodeListOutputSchema, promoCodeOutputSchema, promoCodeScopes, promoCodeValidationInputSchema, promoCodeValidationResultSchema, providerConfigSchema, providerPricingConfigSchema, providerStrategyEnum, qmileConfigSchema, recordPaymentInputSchema, refundOrderInputSchema, refundOrderOutputSchema, refundPaymentInputSchema, removeCurbsideSpotInputSchema, removeDeliveryInputSchema, removeLocationThemeInputSchema, removeProviderInputSchema, reportInvoiceInputSchema, reportInvoiceOutputSchema, scheduleTypeEnum, sendDirectMessageInputSchema, sendDirectMessageOutputSchema, sendMerchantInvoiceInputSchema, sendMessageInputSchema, sendMessageOutputSchema, serviceChargeBaseSchema, serviceChargeIdInputSchema, serviceChargeListOutputSchema, serviceChargeOutputSchema, setIntegrationStatusInputSchema, setIntegrationStatusOutputSchema, setPaidInputSchema, setPaidOutputSchema, smsProviderEnum, socialBaseSchema, socialIdInputSchema, socialPlatformsEnum, sortDirectionSchema, sortSchema, subscriptionPlanSchema, syncInvoicesInputSchema, taxAutoApplyScopes, taxBaseSchema, taxIdInputSchema, taxListOutputSchema, taxOutputSchema, taxScopes, taxTypes, templateHelperSchema, templateVariableCategorySchema, templateVariableSchema, temporaryClosureInputSchema, temporaryClosureOutputSchema, themeSchema, translationFieldSchema, unlinkItemWithCategoryInputSchema, unlinkItemWithImageInputSchema, unlinkItemWithModifierListInputSchema, unsettledBalanceItemSchema, unsettledBalanceSchema, updateBannerInputSchema, updateCategoryInputSchema, updateCategoryOutputSchema, updateCompanyPayoutAccountInputSchema, updateDeliveryConfigInputSchema, updateDiscountInputSchema, updateFulfillmentInputSchema, updateItemInputSchema, updateItemOutputSchema, updateLocationInputSchema, updateMerchantInputSchema, updateMessageTemplateInputSchema, updateModifierInputSchema, updateModifierListInputSchema, updateModifierListOutputSchema, updateModifierOutputSchema, updatePromoCodeInputSchema, updateProviderInputSchema, updateServiceChargeInputSchema, updateSocialInputSchema, updateSubscriptionPlanInputSchema, updateTaxInputSchema, updateVariationInputSchema, updateVariationOutputSchema, updateWhatsAppGroupInputSchema, uploadCatalogItemPhotoInputSchema, uploadCatalogItemPhotoOutputSchema, uploadLocationBannerInputSchema, uploadLocationBannerOutputSchema, uploadLocationPhotoInputSchema, uploadLocationPhotoOutputSchema, uploadMerchantCrnDocInputSchema, uploadMerchantVatDocInputSchema, upsertBankAccountInputSchema, upsertCurbsideInputSchema, upsertCustomerInputSchema, upsertDeliveryInputSchema, upsertDineInInputSchema, upsertFulfillmentBusinessHoursInputSchema, upsertItemLocationOverrideInputSchema, upsertItemModifierOverrideInputSchema, upsertLocationBusinessHoursInputSchema, upsertLocationThemeInputSchema, upsertModifierDefaultLocationOverrideInputSchema, upsertModifierInputSchema, upsertModifierLocationOverrideInputSchema, upsertModifierOverrideInputSchema, upsertModifierOverrideOutputSchema, upsertOrderConfigInputSchema, upsertPickupInputSchema, upsertVariationLocationOverrideInputSchema, validatePromoCodeForOrderResultSchema, zatcaInvoiceLocalSchema, zatcaInvoicePropsSchema, zatcaLineItemSchema };
|