@deliverart/sdk-js-lead 2.47.0 → 2.48.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.cts +221 -205
- package/dist/index.d.ts +221 -205
- package/package.json +8 -8
package/dist/index.d.ts
CHANGED
|
@@ -395,19 +395,19 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
395
395
|
service: z.ZodLiteral<"tilby">;
|
|
396
396
|
data: z.ZodOptional<z.ZodObject<{
|
|
397
397
|
apiToken: z.ZodString;
|
|
398
|
-
webhookEmail: z.
|
|
399
|
-
xClient: z.
|
|
400
|
-
defaultSellerId: z.
|
|
401
|
-
defaultSellerName: z.
|
|
402
|
-
autoPrintOrder: z.
|
|
403
|
-
deliverartChannelName: z.
|
|
404
|
-
defaultPaymentMethodId: z.
|
|
405
|
-
defaultPaymentMethodName: z.
|
|
406
|
-
defaultPaymentMethodTypeId: z.
|
|
407
|
-
defaultPaymentMethodTypeName: z.
|
|
408
|
-
defaultStockLocationId: z.
|
|
409
|
-
syncSettings: z.
|
|
410
|
-
paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.
|
|
398
|
+
webhookEmail: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
399
|
+
xClient: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
400
|
+
defaultSellerId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
401
|
+
defaultSellerName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
402
|
+
autoPrintOrder: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>, unknown>;
|
|
403
|
+
deliverartChannelName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
404
|
+
defaultPaymentMethodId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
405
|
+
defaultPaymentMethodName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
406
|
+
defaultPaymentMethodTypeId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
407
|
+
defaultPaymentMethodTypeName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
408
|
+
defaultStockLocationId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
409
|
+
syncSettings: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
410
|
+
paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.ZodPreprocess<z.ZodRecord<z.ZodEnum<{
|
|
411
411
|
stripe: "stripe";
|
|
412
412
|
bank_transfer: "bank_transfer";
|
|
413
413
|
cash: "cash";
|
|
@@ -419,7 +419,7 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
419
419
|
name: z.ZodString;
|
|
420
420
|
typeId: z.ZodNumber;
|
|
421
421
|
typeName: z.ZodString;
|
|
422
|
-
}, z.core.$strict
|
|
422
|
+
}, z.core.$strict>>, unknown>>>;
|
|
423
423
|
newMenuItemChannels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
424
424
|
application: "application";
|
|
425
425
|
ecommerce: "ecommerce";
|
|
@@ -449,7 +449,9 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
449
449
|
syncOutboundStock: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
450
450
|
syncWebhooks: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
451
451
|
syncClosedSalesOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
452
|
-
|
|
452
|
+
respectDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
453
|
+
removeProductsWithoutDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
454
|
+
}, z.core.$strip>>, unknown>;
|
|
453
455
|
}, z.core.$strip>>;
|
|
454
456
|
integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
|
|
455
457
|
message: z.ZodNullable<z.ZodString>;
|
|
@@ -497,17 +499,17 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
497
499
|
collection: "collection";
|
|
498
500
|
}>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
|
|
499
501
|
minOrderValue: z.ZodCoercedNumber<unknown>;
|
|
500
|
-
displayName: z.
|
|
501
|
-
tagline: z.
|
|
502
|
-
menuViewMode: z.
|
|
502
|
+
displayName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
503
|
+
tagline: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
504
|
+
menuViewMode: z.ZodPreprocess<z.ZodOptional<z.ZodEnum<{
|
|
503
505
|
editorial: "editorial";
|
|
504
506
|
compact: "compact";
|
|
505
507
|
visual_grid: "visual_grid";
|
|
506
|
-
}
|
|
508
|
+
}>>, unknown>;
|
|
507
509
|
showProductImages: z.ZodOptional<z.ZodBoolean>;
|
|
508
|
-
logo: z.
|
|
509
|
-
heroImage: z.
|
|
510
|
-
theme: z.
|
|
510
|
+
logo: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
511
|
+
heroImage: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
512
|
+
theme: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
511
513
|
primary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
512
514
|
accent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
513
515
|
background: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -526,7 +528,7 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
526
528
|
nunito_sans: "nunito_sans";
|
|
527
529
|
playfair_display: "playfair_display";
|
|
528
530
|
}>>>;
|
|
529
|
-
}, z.core.$loose
|
|
531
|
+
}, z.core.$loose>>, unknown>;
|
|
530
532
|
}, z.core.$strip>>;
|
|
531
533
|
integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
|
|
532
534
|
message: z.ZodNullable<z.ZodString>;
|
|
@@ -571,7 +573,7 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
571
573
|
restaurants: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
572
574
|
name: z.ZodString;
|
|
573
575
|
platformRestaurantId: z.ZodString;
|
|
574
|
-
platformChainId: z.
|
|
576
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
575
577
|
salesModeId: z.ZodString;
|
|
576
578
|
categoryId: z.ZodString;
|
|
577
579
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -603,7 +605,7 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
603
605
|
}, z.core.$strip>, z.ZodObject<{
|
|
604
606
|
name: z.ZodString;
|
|
605
607
|
platformRestaurantId: z.ZodString;
|
|
606
|
-
platformChainId: z.
|
|
608
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
607
609
|
salesModeId: z.ZodString;
|
|
608
610
|
categoryId: z.ZodString;
|
|
609
611
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -635,7 +637,7 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
635
637
|
}, z.core.$strip>, z.ZodObject<{
|
|
636
638
|
name: z.ZodString;
|
|
637
639
|
platformRestaurantId: z.ZodString;
|
|
638
|
-
platformChainId: z.
|
|
640
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
639
641
|
salesModeId: z.ZodString;
|
|
640
642
|
categoryId: z.ZodString;
|
|
641
643
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -665,7 +667,7 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
665
667
|
}, z.core.$strip>, z.ZodObject<{
|
|
666
668
|
name: z.ZodString;
|
|
667
669
|
platformRestaurantId: z.ZodString;
|
|
668
|
-
platformChainId: z.
|
|
670
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
669
671
|
salesModeId: z.ZodString;
|
|
670
672
|
categoryId: z.ZodString;
|
|
671
673
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -695,7 +697,7 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
695
697
|
}, z.core.$strip>, z.ZodObject<{
|
|
696
698
|
name: z.ZodString;
|
|
697
699
|
platformRestaurantId: z.ZodString;
|
|
698
|
-
platformChainId: z.
|
|
700
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
699
701
|
salesModeId: z.ZodString;
|
|
700
702
|
categoryId: z.ZodString;
|
|
701
703
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -722,7 +724,7 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
722
724
|
password: z.ZodString;
|
|
723
725
|
chain_code: z.ZodString;
|
|
724
726
|
remote_id: z.ZodString;
|
|
725
|
-
webhook_token: z.
|
|
727
|
+
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
726
728
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
727
729
|
}, z.core.$strict>>>;
|
|
728
730
|
}, z.core.$strip>], "platform">>;
|
|
@@ -733,7 +735,7 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
733
735
|
restaurants: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
734
736
|
name: z.ZodString;
|
|
735
737
|
platformRestaurantId: z.ZodString;
|
|
736
|
-
platformChainId: z.
|
|
738
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
737
739
|
salesModeId: z.ZodString;
|
|
738
740
|
categoryId: z.ZodString;
|
|
739
741
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -765,7 +767,7 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
765
767
|
}, z.core.$strip>, z.ZodObject<{
|
|
766
768
|
name: z.ZodString;
|
|
767
769
|
platformRestaurantId: z.ZodString;
|
|
768
|
-
platformChainId: z.
|
|
770
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
769
771
|
salesModeId: z.ZodString;
|
|
770
772
|
categoryId: z.ZodString;
|
|
771
773
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -797,7 +799,7 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
797
799
|
}, z.core.$strip>, z.ZodObject<{
|
|
798
800
|
name: z.ZodString;
|
|
799
801
|
platformRestaurantId: z.ZodString;
|
|
800
|
-
platformChainId: z.
|
|
802
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
801
803
|
salesModeId: z.ZodString;
|
|
802
804
|
categoryId: z.ZodString;
|
|
803
805
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -827,7 +829,7 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
827
829
|
}, z.core.$strip>, z.ZodObject<{
|
|
828
830
|
name: z.ZodString;
|
|
829
831
|
platformRestaurantId: z.ZodString;
|
|
830
|
-
platformChainId: z.
|
|
832
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
831
833
|
salesModeId: z.ZodString;
|
|
832
834
|
categoryId: z.ZodString;
|
|
833
835
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -857,7 +859,7 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
857
859
|
}, z.core.$strip>, z.ZodObject<{
|
|
858
860
|
name: z.ZodString;
|
|
859
861
|
platformRestaurantId: z.ZodString;
|
|
860
|
-
platformChainId: z.
|
|
862
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
861
863
|
salesModeId: z.ZodString;
|
|
862
864
|
categoryId: z.ZodString;
|
|
863
865
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -884,7 +886,7 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
884
886
|
password: z.ZodString;
|
|
885
887
|
chain_code: z.ZodString;
|
|
886
888
|
remote_id: z.ZodString;
|
|
887
|
-
webhook_token: z.
|
|
889
|
+
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
888
890
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
889
891
|
}, z.core.$strict>>>;
|
|
890
892
|
}, z.core.$strip>], "platform">>;
|
|
@@ -999,19 +1001,19 @@ declare const writableLeadIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
999
1001
|
service: z.ZodLiteral<"tilby">;
|
|
1000
1002
|
data: z.ZodObject<{
|
|
1001
1003
|
apiToken: z.ZodString;
|
|
1002
|
-
webhookEmail: z.
|
|
1003
|
-
xClient: z.
|
|
1004
|
-
defaultSellerId: z.
|
|
1005
|
-
defaultSellerName: z.
|
|
1006
|
-
autoPrintOrder: z.
|
|
1007
|
-
deliverartChannelName: z.
|
|
1008
|
-
defaultPaymentMethodId: z.
|
|
1009
|
-
defaultPaymentMethodName: z.
|
|
1010
|
-
defaultPaymentMethodTypeId: z.
|
|
1011
|
-
defaultPaymentMethodTypeName: z.
|
|
1012
|
-
defaultStockLocationId: z.
|
|
1013
|
-
syncSettings: z.
|
|
1014
|
-
paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.
|
|
1004
|
+
webhookEmail: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1005
|
+
xClient: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1006
|
+
defaultSellerId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
1007
|
+
defaultSellerName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1008
|
+
autoPrintOrder: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>, unknown>;
|
|
1009
|
+
deliverartChannelName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1010
|
+
defaultPaymentMethodId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
1011
|
+
defaultPaymentMethodName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1012
|
+
defaultPaymentMethodTypeId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
1013
|
+
defaultPaymentMethodTypeName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1014
|
+
defaultStockLocationId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
1015
|
+
syncSettings: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
1016
|
+
paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.ZodPreprocess<z.ZodRecord<z.ZodEnum<{
|
|
1015
1017
|
stripe: "stripe";
|
|
1016
1018
|
bank_transfer: "bank_transfer";
|
|
1017
1019
|
cash: "cash";
|
|
@@ -1023,7 +1025,7 @@ declare const writableLeadIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1023
1025
|
name: z.ZodString;
|
|
1024
1026
|
typeId: z.ZodNumber;
|
|
1025
1027
|
typeName: z.ZodString;
|
|
1026
|
-
}, z.core.$strict
|
|
1028
|
+
}, z.core.$strict>>, unknown>>>;
|
|
1027
1029
|
newMenuItemChannels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1028
1030
|
application: "application";
|
|
1029
1031
|
ecommerce: "ecommerce";
|
|
@@ -1053,7 +1055,9 @@ declare const writableLeadIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1053
1055
|
syncOutboundStock: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1054
1056
|
syncWebhooks: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1055
1057
|
syncClosedSalesOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1056
|
-
|
|
1058
|
+
respectDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1059
|
+
removeProductsWithoutDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1060
|
+
}, z.core.$strip>>, unknown>;
|
|
1057
1061
|
}, z.core.$strip>;
|
|
1058
1062
|
name: z.ZodString;
|
|
1059
1063
|
provider: z.ZodEnum<{
|
|
@@ -1188,19 +1192,19 @@ declare const writableCreateLeadSchema: z.ZodObject<{
|
|
|
1188
1192
|
service: z.ZodLiteral<"tilby">;
|
|
1189
1193
|
data: z.ZodObject<{
|
|
1190
1194
|
apiToken: z.ZodString;
|
|
1191
|
-
webhookEmail: z.
|
|
1192
|
-
xClient: z.
|
|
1193
|
-
defaultSellerId: z.
|
|
1194
|
-
defaultSellerName: z.
|
|
1195
|
-
autoPrintOrder: z.
|
|
1196
|
-
deliverartChannelName: z.
|
|
1197
|
-
defaultPaymentMethodId: z.
|
|
1198
|
-
defaultPaymentMethodName: z.
|
|
1199
|
-
defaultPaymentMethodTypeId: z.
|
|
1200
|
-
defaultPaymentMethodTypeName: z.
|
|
1201
|
-
defaultStockLocationId: z.
|
|
1202
|
-
syncSettings: z.
|
|
1203
|
-
paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.
|
|
1195
|
+
webhookEmail: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1196
|
+
xClient: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1197
|
+
defaultSellerId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
1198
|
+
defaultSellerName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1199
|
+
autoPrintOrder: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>, unknown>;
|
|
1200
|
+
deliverartChannelName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1201
|
+
defaultPaymentMethodId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
1202
|
+
defaultPaymentMethodName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1203
|
+
defaultPaymentMethodTypeId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
1204
|
+
defaultPaymentMethodTypeName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1205
|
+
defaultStockLocationId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
1206
|
+
syncSettings: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
1207
|
+
paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.ZodPreprocess<z.ZodRecord<z.ZodEnum<{
|
|
1204
1208
|
stripe: "stripe";
|
|
1205
1209
|
bank_transfer: "bank_transfer";
|
|
1206
1210
|
cash: "cash";
|
|
@@ -1212,7 +1216,7 @@ declare const writableCreateLeadSchema: z.ZodObject<{
|
|
|
1212
1216
|
name: z.ZodString;
|
|
1213
1217
|
typeId: z.ZodNumber;
|
|
1214
1218
|
typeName: z.ZodString;
|
|
1215
|
-
}, z.core.$strict
|
|
1219
|
+
}, z.core.$strict>>, unknown>>>;
|
|
1216
1220
|
newMenuItemChannels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1217
1221
|
application: "application";
|
|
1218
1222
|
ecommerce: "ecommerce";
|
|
@@ -1242,7 +1246,9 @@ declare const writableCreateLeadSchema: z.ZodObject<{
|
|
|
1242
1246
|
syncOutboundStock: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1243
1247
|
syncWebhooks: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1244
1248
|
syncClosedSalesOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1245
|
-
|
|
1249
|
+
respectDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1250
|
+
removeProductsWithoutDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1251
|
+
}, z.core.$strip>>, unknown>;
|
|
1246
1252
|
}, z.core.$strip>;
|
|
1247
1253
|
name: z.ZodString;
|
|
1248
1254
|
provider: z.ZodEnum<{
|
|
@@ -1372,7 +1378,7 @@ declare const leadsQuerySchema: z.ZodObject<{
|
|
|
1372
1378
|
}>>;
|
|
1373
1379
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1374
1380
|
itemsPerPage: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1375
|
-
pagination: z.ZodOptional<z.
|
|
1381
|
+
pagination: z.ZodOptional<z.ZodPreprocess<z.ZodBoolean, unknown>>;
|
|
1376
1382
|
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
1377
1383
|
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
1378
1384
|
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
@@ -1478,19 +1484,19 @@ declare const createLeadInputSchema: z.ZodObject<{
|
|
|
1478
1484
|
service: z.ZodLiteral<"tilby">;
|
|
1479
1485
|
data: z.ZodObject<{
|
|
1480
1486
|
apiToken: z.ZodString;
|
|
1481
|
-
webhookEmail: z.
|
|
1482
|
-
xClient: z.
|
|
1483
|
-
defaultSellerId: z.
|
|
1484
|
-
defaultSellerName: z.
|
|
1485
|
-
autoPrintOrder: z.
|
|
1486
|
-
deliverartChannelName: z.
|
|
1487
|
-
defaultPaymentMethodId: z.
|
|
1488
|
-
defaultPaymentMethodName: z.
|
|
1489
|
-
defaultPaymentMethodTypeId: z.
|
|
1490
|
-
defaultPaymentMethodTypeName: z.
|
|
1491
|
-
defaultStockLocationId: z.
|
|
1492
|
-
syncSettings: z.
|
|
1493
|
-
paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.
|
|
1487
|
+
webhookEmail: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1488
|
+
xClient: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1489
|
+
defaultSellerId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
1490
|
+
defaultSellerName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1491
|
+
autoPrintOrder: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>, unknown>;
|
|
1492
|
+
deliverartChannelName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1493
|
+
defaultPaymentMethodId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
1494
|
+
defaultPaymentMethodName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1495
|
+
defaultPaymentMethodTypeId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
1496
|
+
defaultPaymentMethodTypeName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1497
|
+
defaultStockLocationId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
1498
|
+
syncSettings: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
1499
|
+
paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.ZodPreprocess<z.ZodRecord<z.ZodEnum<{
|
|
1494
1500
|
stripe: "stripe";
|
|
1495
1501
|
bank_transfer: "bank_transfer";
|
|
1496
1502
|
cash: "cash";
|
|
@@ -1502,7 +1508,7 @@ declare const createLeadInputSchema: z.ZodObject<{
|
|
|
1502
1508
|
name: z.ZodString;
|
|
1503
1509
|
typeId: z.ZodNumber;
|
|
1504
1510
|
typeName: z.ZodString;
|
|
1505
|
-
}, z.core.$strict
|
|
1511
|
+
}, z.core.$strict>>, unknown>>>;
|
|
1506
1512
|
newMenuItemChannels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1507
1513
|
application: "application";
|
|
1508
1514
|
ecommerce: "ecommerce";
|
|
@@ -1532,7 +1538,9 @@ declare const createLeadInputSchema: z.ZodObject<{
|
|
|
1532
1538
|
syncOutboundStock: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1533
1539
|
syncWebhooks: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1534
1540
|
syncClosedSalesOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1535
|
-
|
|
1541
|
+
respectDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1542
|
+
removeProductsWithoutDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1543
|
+
}, z.core.$strip>>, unknown>;
|
|
1536
1544
|
}, z.core.$strip>;
|
|
1537
1545
|
name: z.ZodString;
|
|
1538
1546
|
provider: z.ZodEnum<{
|
|
@@ -1701,19 +1709,19 @@ declare class CreateLead extends AbstractApiRequest<typeof createLeadInputSchema
|
|
|
1701
1709
|
service: z.ZodLiteral<"tilby">;
|
|
1702
1710
|
data: z.ZodObject<{
|
|
1703
1711
|
apiToken: z.ZodString;
|
|
1704
|
-
webhookEmail: z.
|
|
1705
|
-
xClient: z.
|
|
1706
|
-
defaultSellerId: z.
|
|
1707
|
-
defaultSellerName: z.
|
|
1708
|
-
autoPrintOrder: z.
|
|
1709
|
-
deliverartChannelName: z.
|
|
1710
|
-
defaultPaymentMethodId: z.
|
|
1711
|
-
defaultPaymentMethodName: z.
|
|
1712
|
-
defaultPaymentMethodTypeId: z.
|
|
1713
|
-
defaultPaymentMethodTypeName: z.
|
|
1714
|
-
defaultStockLocationId: z.
|
|
1715
|
-
syncSettings: z.
|
|
1716
|
-
paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.
|
|
1712
|
+
webhookEmail: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1713
|
+
xClient: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1714
|
+
defaultSellerId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
1715
|
+
defaultSellerName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1716
|
+
autoPrintOrder: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>, unknown>;
|
|
1717
|
+
deliverartChannelName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1718
|
+
defaultPaymentMethodId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
1719
|
+
defaultPaymentMethodName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1720
|
+
defaultPaymentMethodTypeId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
1721
|
+
defaultPaymentMethodTypeName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1722
|
+
defaultStockLocationId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
1723
|
+
syncSettings: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
1724
|
+
paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.ZodPreprocess<z.ZodRecord<z.ZodEnum<{
|
|
1717
1725
|
stripe: "stripe";
|
|
1718
1726
|
bank_transfer: "bank_transfer";
|
|
1719
1727
|
cash: "cash";
|
|
@@ -1725,7 +1733,7 @@ declare class CreateLead extends AbstractApiRequest<typeof createLeadInputSchema
|
|
|
1725
1733
|
name: z.ZodString;
|
|
1726
1734
|
typeId: z.ZodNumber;
|
|
1727
1735
|
typeName: z.ZodString;
|
|
1728
|
-
}, z.core.$strict
|
|
1736
|
+
}, z.core.$strict>>, unknown>>>;
|
|
1729
1737
|
newMenuItemChannels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1730
1738
|
application: "application";
|
|
1731
1739
|
ecommerce: "ecommerce";
|
|
@@ -1755,7 +1763,9 @@ declare class CreateLead extends AbstractApiRequest<typeof createLeadInputSchema
|
|
|
1755
1763
|
syncOutboundStock: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1756
1764
|
syncWebhooks: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1757
1765
|
syncClosedSalesOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1758
|
-
|
|
1766
|
+
respectDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1767
|
+
removeProductsWithoutDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1768
|
+
}, z.core.$strip>>, unknown>;
|
|
1759
1769
|
}, z.core.$strip>;
|
|
1760
1770
|
name: z.ZodString;
|
|
1761
1771
|
provider: z.ZodEnum<{
|
|
@@ -2123,7 +2133,7 @@ declare const getLeadsQuerySchema: z.ZodObject<{
|
|
|
2123
2133
|
}>>;
|
|
2124
2134
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2125
2135
|
itemsPerPage: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2126
|
-
pagination: z.ZodOptional<z.
|
|
2136
|
+
pagination: z.ZodOptional<z.ZodPreprocess<z.ZodBoolean, unknown>>;
|
|
2127
2137
|
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
2128
2138
|
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
2129
2139
|
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
@@ -2420,19 +2430,19 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2420
2430
|
service: z.ZodLiteral<"tilby">;
|
|
2421
2431
|
data: z.ZodOptional<z.ZodObject<{
|
|
2422
2432
|
apiToken: z.ZodString;
|
|
2423
|
-
webhookEmail: z.
|
|
2424
|
-
xClient: z.
|
|
2425
|
-
defaultSellerId: z.
|
|
2426
|
-
defaultSellerName: z.
|
|
2427
|
-
autoPrintOrder: z.
|
|
2428
|
-
deliverartChannelName: z.
|
|
2429
|
-
defaultPaymentMethodId: z.
|
|
2430
|
-
defaultPaymentMethodName: z.
|
|
2431
|
-
defaultPaymentMethodTypeId: z.
|
|
2432
|
-
defaultPaymentMethodTypeName: z.
|
|
2433
|
-
defaultStockLocationId: z.
|
|
2434
|
-
syncSettings: z.
|
|
2435
|
-
paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.
|
|
2433
|
+
webhookEmail: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
2434
|
+
xClient: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
2435
|
+
defaultSellerId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
2436
|
+
defaultSellerName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
2437
|
+
autoPrintOrder: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>, unknown>;
|
|
2438
|
+
deliverartChannelName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
2439
|
+
defaultPaymentMethodId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
2440
|
+
defaultPaymentMethodName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
2441
|
+
defaultPaymentMethodTypeId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
2442
|
+
defaultPaymentMethodTypeName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
2443
|
+
defaultStockLocationId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
2444
|
+
syncSettings: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
2445
|
+
paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.ZodPreprocess<z.ZodRecord<z.ZodEnum<{
|
|
2436
2446
|
stripe: "stripe";
|
|
2437
2447
|
bank_transfer: "bank_transfer";
|
|
2438
2448
|
cash: "cash";
|
|
@@ -2444,7 +2454,7 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2444
2454
|
name: z.ZodString;
|
|
2445
2455
|
typeId: z.ZodNumber;
|
|
2446
2456
|
typeName: z.ZodString;
|
|
2447
|
-
}, z.core.$strict
|
|
2457
|
+
}, z.core.$strict>>, unknown>>>;
|
|
2448
2458
|
newMenuItemChannels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2449
2459
|
application: "application";
|
|
2450
2460
|
ecommerce: "ecommerce";
|
|
@@ -2474,7 +2484,9 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2474
2484
|
syncOutboundStock: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2475
2485
|
syncWebhooks: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2476
2486
|
syncClosedSalesOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2477
|
-
|
|
2487
|
+
respectDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
2488
|
+
removeProductsWithoutDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
2489
|
+
}, z.core.$strip>>, unknown>;
|
|
2478
2490
|
}, z.core.$strip>>;
|
|
2479
2491
|
integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
|
|
2480
2492
|
message: z.ZodNullable<z.ZodString>;
|
|
@@ -2522,17 +2534,17 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2522
2534
|
collection: "collection";
|
|
2523
2535
|
}>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
|
|
2524
2536
|
minOrderValue: z.ZodCoercedNumber<unknown>;
|
|
2525
|
-
displayName: z.
|
|
2526
|
-
tagline: z.
|
|
2527
|
-
menuViewMode: z.
|
|
2537
|
+
displayName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
2538
|
+
tagline: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
2539
|
+
menuViewMode: z.ZodPreprocess<z.ZodOptional<z.ZodEnum<{
|
|
2528
2540
|
editorial: "editorial";
|
|
2529
2541
|
compact: "compact";
|
|
2530
2542
|
visual_grid: "visual_grid";
|
|
2531
|
-
}
|
|
2543
|
+
}>>, unknown>;
|
|
2532
2544
|
showProductImages: z.ZodOptional<z.ZodBoolean>;
|
|
2533
|
-
logo: z.
|
|
2534
|
-
heroImage: z.
|
|
2535
|
-
theme: z.
|
|
2545
|
+
logo: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
2546
|
+
heroImage: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
2547
|
+
theme: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
2536
2548
|
primary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2537
2549
|
accent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2538
2550
|
background: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2551,7 +2563,7 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2551
2563
|
nunito_sans: "nunito_sans";
|
|
2552
2564
|
playfair_display: "playfair_display";
|
|
2553
2565
|
}>>>;
|
|
2554
|
-
}, z.core.$loose
|
|
2566
|
+
}, z.core.$loose>>, unknown>;
|
|
2555
2567
|
}, z.core.$strip>>;
|
|
2556
2568
|
integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
|
|
2557
2569
|
message: z.ZodNullable<z.ZodString>;
|
|
@@ -2596,7 +2608,7 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2596
2608
|
restaurants: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2597
2609
|
name: z.ZodString;
|
|
2598
2610
|
platformRestaurantId: z.ZodString;
|
|
2599
|
-
platformChainId: z.
|
|
2611
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
2600
2612
|
salesModeId: z.ZodString;
|
|
2601
2613
|
categoryId: z.ZodString;
|
|
2602
2614
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -2628,7 +2640,7 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2628
2640
|
}, z.core.$strip>, z.ZodObject<{
|
|
2629
2641
|
name: z.ZodString;
|
|
2630
2642
|
platformRestaurantId: z.ZodString;
|
|
2631
|
-
platformChainId: z.
|
|
2643
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
2632
2644
|
salesModeId: z.ZodString;
|
|
2633
2645
|
categoryId: z.ZodString;
|
|
2634
2646
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -2660,7 +2672,7 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2660
2672
|
}, z.core.$strip>, z.ZodObject<{
|
|
2661
2673
|
name: z.ZodString;
|
|
2662
2674
|
platformRestaurantId: z.ZodString;
|
|
2663
|
-
platformChainId: z.
|
|
2675
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
2664
2676
|
salesModeId: z.ZodString;
|
|
2665
2677
|
categoryId: z.ZodString;
|
|
2666
2678
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -2690,7 +2702,7 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2690
2702
|
}, z.core.$strip>, z.ZodObject<{
|
|
2691
2703
|
name: z.ZodString;
|
|
2692
2704
|
platformRestaurantId: z.ZodString;
|
|
2693
|
-
platformChainId: z.
|
|
2705
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
2694
2706
|
salesModeId: z.ZodString;
|
|
2695
2707
|
categoryId: z.ZodString;
|
|
2696
2708
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -2720,7 +2732,7 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2720
2732
|
}, z.core.$strip>, z.ZodObject<{
|
|
2721
2733
|
name: z.ZodString;
|
|
2722
2734
|
platformRestaurantId: z.ZodString;
|
|
2723
|
-
platformChainId: z.
|
|
2735
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
2724
2736
|
salesModeId: z.ZodString;
|
|
2725
2737
|
categoryId: z.ZodString;
|
|
2726
2738
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -2747,7 +2759,7 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2747
2759
|
password: z.ZodString;
|
|
2748
2760
|
chain_code: z.ZodString;
|
|
2749
2761
|
remote_id: z.ZodString;
|
|
2750
|
-
webhook_token: z.
|
|
2762
|
+
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
2751
2763
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
2752
2764
|
}, z.core.$strict>>>;
|
|
2753
2765
|
}, z.core.$strip>], "platform">>;
|
|
@@ -2758,7 +2770,7 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2758
2770
|
restaurants: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2759
2771
|
name: z.ZodString;
|
|
2760
2772
|
platformRestaurantId: z.ZodString;
|
|
2761
|
-
platformChainId: z.
|
|
2773
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
2762
2774
|
salesModeId: z.ZodString;
|
|
2763
2775
|
categoryId: z.ZodString;
|
|
2764
2776
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -2790,7 +2802,7 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2790
2802
|
}, z.core.$strip>, z.ZodObject<{
|
|
2791
2803
|
name: z.ZodString;
|
|
2792
2804
|
platformRestaurantId: z.ZodString;
|
|
2793
|
-
platformChainId: z.
|
|
2805
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
2794
2806
|
salesModeId: z.ZodString;
|
|
2795
2807
|
categoryId: z.ZodString;
|
|
2796
2808
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -2822,7 +2834,7 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2822
2834
|
}, z.core.$strip>, z.ZodObject<{
|
|
2823
2835
|
name: z.ZodString;
|
|
2824
2836
|
platformRestaurantId: z.ZodString;
|
|
2825
|
-
platformChainId: z.
|
|
2837
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
2826
2838
|
salesModeId: z.ZodString;
|
|
2827
2839
|
categoryId: z.ZodString;
|
|
2828
2840
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -2852,7 +2864,7 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2852
2864
|
}, z.core.$strip>, z.ZodObject<{
|
|
2853
2865
|
name: z.ZodString;
|
|
2854
2866
|
platformRestaurantId: z.ZodString;
|
|
2855
|
-
platformChainId: z.
|
|
2867
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
2856
2868
|
salesModeId: z.ZodString;
|
|
2857
2869
|
categoryId: z.ZodString;
|
|
2858
2870
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -2882,7 +2894,7 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2882
2894
|
}, z.core.$strip>, z.ZodObject<{
|
|
2883
2895
|
name: z.ZodString;
|
|
2884
2896
|
platformRestaurantId: z.ZodString;
|
|
2885
|
-
platformChainId: z.
|
|
2897
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
2886
2898
|
salesModeId: z.ZodString;
|
|
2887
2899
|
categoryId: z.ZodString;
|
|
2888
2900
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -2909,7 +2921,7 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2909
2921
|
password: z.ZodString;
|
|
2910
2922
|
chain_code: z.ZodString;
|
|
2911
2923
|
remote_id: z.ZodString;
|
|
2912
|
-
webhook_token: z.
|
|
2924
|
+
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
2913
2925
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
2914
2926
|
}, z.core.$strict>>>;
|
|
2915
2927
|
}, z.core.$strip>], "platform">>;
|
|
@@ -3258,19 +3270,19 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3258
3270
|
service: z.ZodLiteral<"tilby">;
|
|
3259
3271
|
data: z.ZodOptional<z.ZodObject<{
|
|
3260
3272
|
apiToken: z.ZodString;
|
|
3261
|
-
webhookEmail: z.
|
|
3262
|
-
xClient: z.
|
|
3263
|
-
defaultSellerId: z.
|
|
3264
|
-
defaultSellerName: z.
|
|
3265
|
-
autoPrintOrder: z.
|
|
3266
|
-
deliverartChannelName: z.
|
|
3267
|
-
defaultPaymentMethodId: z.
|
|
3268
|
-
defaultPaymentMethodName: z.
|
|
3269
|
-
defaultPaymentMethodTypeId: z.
|
|
3270
|
-
defaultPaymentMethodTypeName: z.
|
|
3271
|
-
defaultStockLocationId: z.
|
|
3272
|
-
syncSettings: z.
|
|
3273
|
-
paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.
|
|
3273
|
+
webhookEmail: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3274
|
+
xClient: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3275
|
+
defaultSellerId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
3276
|
+
defaultSellerName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3277
|
+
autoPrintOrder: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>, unknown>;
|
|
3278
|
+
deliverartChannelName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3279
|
+
defaultPaymentMethodId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
3280
|
+
defaultPaymentMethodName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3281
|
+
defaultPaymentMethodTypeId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
3282
|
+
defaultPaymentMethodTypeName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3283
|
+
defaultStockLocationId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
3284
|
+
syncSettings: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
3285
|
+
paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.ZodPreprocess<z.ZodRecord<z.ZodEnum<{
|
|
3274
3286
|
stripe: "stripe";
|
|
3275
3287
|
bank_transfer: "bank_transfer";
|
|
3276
3288
|
cash: "cash";
|
|
@@ -3282,7 +3294,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3282
3294
|
name: z.ZodString;
|
|
3283
3295
|
typeId: z.ZodNumber;
|
|
3284
3296
|
typeName: z.ZodString;
|
|
3285
|
-
}, z.core.$strict
|
|
3297
|
+
}, z.core.$strict>>, unknown>>>;
|
|
3286
3298
|
newMenuItemChannels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
3287
3299
|
application: "application";
|
|
3288
3300
|
ecommerce: "ecommerce";
|
|
@@ -3312,7 +3324,9 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3312
3324
|
syncOutboundStock: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
3313
3325
|
syncWebhooks: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
3314
3326
|
syncClosedSalesOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
3315
|
-
|
|
3327
|
+
respectDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
3328
|
+
removeProductsWithoutDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
3329
|
+
}, z.core.$strip>>, unknown>;
|
|
3316
3330
|
}, z.core.$strip>>;
|
|
3317
3331
|
integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
|
|
3318
3332
|
message: z.ZodNullable<z.ZodString>;
|
|
@@ -3360,17 +3374,17 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3360
3374
|
collection: "collection";
|
|
3361
3375
|
}>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
|
|
3362
3376
|
minOrderValue: z.ZodCoercedNumber<unknown>;
|
|
3363
|
-
displayName: z.
|
|
3364
|
-
tagline: z.
|
|
3365
|
-
menuViewMode: z.
|
|
3377
|
+
displayName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3378
|
+
tagline: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3379
|
+
menuViewMode: z.ZodPreprocess<z.ZodOptional<z.ZodEnum<{
|
|
3366
3380
|
editorial: "editorial";
|
|
3367
3381
|
compact: "compact";
|
|
3368
3382
|
visual_grid: "visual_grid";
|
|
3369
|
-
}
|
|
3383
|
+
}>>, unknown>;
|
|
3370
3384
|
showProductImages: z.ZodOptional<z.ZodBoolean>;
|
|
3371
|
-
logo: z.
|
|
3372
|
-
heroImage: z.
|
|
3373
|
-
theme: z.
|
|
3385
|
+
logo: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3386
|
+
heroImage: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3387
|
+
theme: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
3374
3388
|
primary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3375
3389
|
accent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3376
3390
|
background: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3389,7 +3403,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3389
3403
|
nunito_sans: "nunito_sans";
|
|
3390
3404
|
playfair_display: "playfair_display";
|
|
3391
3405
|
}>>>;
|
|
3392
|
-
}, z.core.$loose
|
|
3406
|
+
}, z.core.$loose>>, unknown>;
|
|
3393
3407
|
}, z.core.$strip>>;
|
|
3394
3408
|
integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
|
|
3395
3409
|
message: z.ZodNullable<z.ZodString>;
|
|
@@ -3434,7 +3448,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3434
3448
|
restaurants: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3435
3449
|
name: z.ZodString;
|
|
3436
3450
|
platformRestaurantId: z.ZodString;
|
|
3437
|
-
platformChainId: z.
|
|
3451
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3438
3452
|
salesModeId: z.ZodString;
|
|
3439
3453
|
categoryId: z.ZodString;
|
|
3440
3454
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -3466,7 +3480,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3466
3480
|
}, z.core.$strip>, z.ZodObject<{
|
|
3467
3481
|
name: z.ZodString;
|
|
3468
3482
|
platformRestaurantId: z.ZodString;
|
|
3469
|
-
platformChainId: z.
|
|
3483
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3470
3484
|
salesModeId: z.ZodString;
|
|
3471
3485
|
categoryId: z.ZodString;
|
|
3472
3486
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -3498,7 +3512,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3498
3512
|
}, z.core.$strip>, z.ZodObject<{
|
|
3499
3513
|
name: z.ZodString;
|
|
3500
3514
|
platformRestaurantId: z.ZodString;
|
|
3501
|
-
platformChainId: z.
|
|
3515
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3502
3516
|
salesModeId: z.ZodString;
|
|
3503
3517
|
categoryId: z.ZodString;
|
|
3504
3518
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -3528,7 +3542,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3528
3542
|
}, z.core.$strip>, z.ZodObject<{
|
|
3529
3543
|
name: z.ZodString;
|
|
3530
3544
|
platformRestaurantId: z.ZodString;
|
|
3531
|
-
platformChainId: z.
|
|
3545
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3532
3546
|
salesModeId: z.ZodString;
|
|
3533
3547
|
categoryId: z.ZodString;
|
|
3534
3548
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -3558,7 +3572,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3558
3572
|
}, z.core.$strip>, z.ZodObject<{
|
|
3559
3573
|
name: z.ZodString;
|
|
3560
3574
|
platformRestaurantId: z.ZodString;
|
|
3561
|
-
platformChainId: z.
|
|
3575
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3562
3576
|
salesModeId: z.ZodString;
|
|
3563
3577
|
categoryId: z.ZodString;
|
|
3564
3578
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -3585,7 +3599,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3585
3599
|
password: z.ZodString;
|
|
3586
3600
|
chain_code: z.ZodString;
|
|
3587
3601
|
remote_id: z.ZodString;
|
|
3588
|
-
webhook_token: z.
|
|
3602
|
+
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3589
3603
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
3590
3604
|
}, z.core.$strict>>>;
|
|
3591
3605
|
}, z.core.$strip>], "platform">>;
|
|
@@ -3596,7 +3610,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3596
3610
|
restaurants: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3597
3611
|
name: z.ZodString;
|
|
3598
3612
|
platformRestaurantId: z.ZodString;
|
|
3599
|
-
platformChainId: z.
|
|
3613
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3600
3614
|
salesModeId: z.ZodString;
|
|
3601
3615
|
categoryId: z.ZodString;
|
|
3602
3616
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -3628,7 +3642,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3628
3642
|
}, z.core.$strip>, z.ZodObject<{
|
|
3629
3643
|
name: z.ZodString;
|
|
3630
3644
|
platformRestaurantId: z.ZodString;
|
|
3631
|
-
platformChainId: z.
|
|
3645
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3632
3646
|
salesModeId: z.ZodString;
|
|
3633
3647
|
categoryId: z.ZodString;
|
|
3634
3648
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -3660,7 +3674,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3660
3674
|
}, z.core.$strip>, z.ZodObject<{
|
|
3661
3675
|
name: z.ZodString;
|
|
3662
3676
|
platformRestaurantId: z.ZodString;
|
|
3663
|
-
platformChainId: z.
|
|
3677
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3664
3678
|
salesModeId: z.ZodString;
|
|
3665
3679
|
categoryId: z.ZodString;
|
|
3666
3680
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -3690,7 +3704,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3690
3704
|
}, z.core.$strip>, z.ZodObject<{
|
|
3691
3705
|
name: z.ZodString;
|
|
3692
3706
|
platformRestaurantId: z.ZodString;
|
|
3693
|
-
platformChainId: z.
|
|
3707
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3694
3708
|
salesModeId: z.ZodString;
|
|
3695
3709
|
categoryId: z.ZodString;
|
|
3696
3710
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -3720,7 +3734,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3720
3734
|
}, z.core.$strip>, z.ZodObject<{
|
|
3721
3735
|
name: z.ZodString;
|
|
3722
3736
|
platformRestaurantId: z.ZodString;
|
|
3723
|
-
platformChainId: z.
|
|
3737
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3724
3738
|
salesModeId: z.ZodString;
|
|
3725
3739
|
categoryId: z.ZodString;
|
|
3726
3740
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -3747,7 +3761,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3747
3761
|
password: z.ZodString;
|
|
3748
3762
|
chain_code: z.ZodString;
|
|
3749
3763
|
remote_id: z.ZodString;
|
|
3750
|
-
webhook_token: z.
|
|
3764
|
+
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3751
3765
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
3752
3766
|
}, z.core.$strict>>>;
|
|
3753
3767
|
}, z.core.$strip>], "platform">>;
|
|
@@ -3926,7 +3940,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3926
3940
|
}>>;
|
|
3927
3941
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3928
3942
|
itemsPerPage: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3929
|
-
pagination: z.ZodOptional<z.
|
|
3943
|
+
pagination: z.ZodOptional<z.ZodPreprocess<z.ZodBoolean, unknown>>;
|
|
3930
3944
|
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
3931
3945
|
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3932
3946
|
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
@@ -4220,19 +4234,19 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4220
4234
|
service: z.ZodLiteral<"tilby">;
|
|
4221
4235
|
data: z.ZodOptional<z.ZodObject<{
|
|
4222
4236
|
apiToken: z.ZodString;
|
|
4223
|
-
webhookEmail: z.
|
|
4224
|
-
xClient: z.
|
|
4225
|
-
defaultSellerId: z.
|
|
4226
|
-
defaultSellerName: z.
|
|
4227
|
-
autoPrintOrder: z.
|
|
4228
|
-
deliverartChannelName: z.
|
|
4229
|
-
defaultPaymentMethodId: z.
|
|
4230
|
-
defaultPaymentMethodName: z.
|
|
4231
|
-
defaultPaymentMethodTypeId: z.
|
|
4232
|
-
defaultPaymentMethodTypeName: z.
|
|
4233
|
-
defaultStockLocationId: z.
|
|
4234
|
-
syncSettings: z.
|
|
4235
|
-
paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.
|
|
4237
|
+
webhookEmail: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4238
|
+
xClient: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4239
|
+
defaultSellerId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
4240
|
+
defaultSellerName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4241
|
+
autoPrintOrder: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>, unknown>;
|
|
4242
|
+
deliverartChannelName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4243
|
+
defaultPaymentMethodId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
4244
|
+
defaultPaymentMethodName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4245
|
+
defaultPaymentMethodTypeId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
4246
|
+
defaultPaymentMethodTypeName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4247
|
+
defaultStockLocationId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
4248
|
+
syncSettings: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
4249
|
+
paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.ZodPreprocess<z.ZodRecord<z.ZodEnum<{
|
|
4236
4250
|
stripe: "stripe";
|
|
4237
4251
|
bank_transfer: "bank_transfer";
|
|
4238
4252
|
cash: "cash";
|
|
@@ -4244,7 +4258,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4244
4258
|
name: z.ZodString;
|
|
4245
4259
|
typeId: z.ZodNumber;
|
|
4246
4260
|
typeName: z.ZodString;
|
|
4247
|
-
}, z.core.$strict
|
|
4261
|
+
}, z.core.$strict>>, unknown>>>;
|
|
4248
4262
|
newMenuItemChannels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4249
4263
|
application: "application";
|
|
4250
4264
|
ecommerce: "ecommerce";
|
|
@@ -4274,7 +4288,9 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4274
4288
|
syncOutboundStock: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
4275
4289
|
syncWebhooks: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
4276
4290
|
syncClosedSalesOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
4277
|
-
|
|
4291
|
+
respectDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
4292
|
+
removeProductsWithoutDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
4293
|
+
}, z.core.$strip>>, unknown>;
|
|
4278
4294
|
}, z.core.$strip>>;
|
|
4279
4295
|
integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
|
|
4280
4296
|
message: z.ZodNullable<z.ZodString>;
|
|
@@ -4322,17 +4338,17 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4322
4338
|
collection: "collection";
|
|
4323
4339
|
}>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
|
|
4324
4340
|
minOrderValue: z.ZodCoercedNumber<unknown>;
|
|
4325
|
-
displayName: z.
|
|
4326
|
-
tagline: z.
|
|
4327
|
-
menuViewMode: z.
|
|
4341
|
+
displayName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4342
|
+
tagline: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4343
|
+
menuViewMode: z.ZodPreprocess<z.ZodOptional<z.ZodEnum<{
|
|
4328
4344
|
editorial: "editorial";
|
|
4329
4345
|
compact: "compact";
|
|
4330
4346
|
visual_grid: "visual_grid";
|
|
4331
|
-
}
|
|
4347
|
+
}>>, unknown>;
|
|
4332
4348
|
showProductImages: z.ZodOptional<z.ZodBoolean>;
|
|
4333
|
-
logo: z.
|
|
4334
|
-
heroImage: z.
|
|
4335
|
-
theme: z.
|
|
4349
|
+
logo: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4350
|
+
heroImage: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4351
|
+
theme: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
4336
4352
|
primary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4337
4353
|
accent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4338
4354
|
background: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4351,7 +4367,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4351
4367
|
nunito_sans: "nunito_sans";
|
|
4352
4368
|
playfair_display: "playfair_display";
|
|
4353
4369
|
}>>>;
|
|
4354
|
-
}, z.core.$loose
|
|
4370
|
+
}, z.core.$loose>>, unknown>;
|
|
4355
4371
|
}, z.core.$strip>>;
|
|
4356
4372
|
integration: z.ZodDefault<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<string> | null, unknown>>>>;
|
|
4357
4373
|
message: z.ZodNullable<z.ZodString>;
|
|
@@ -4396,7 +4412,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4396
4412
|
restaurants: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4397
4413
|
name: z.ZodString;
|
|
4398
4414
|
platformRestaurantId: z.ZodString;
|
|
4399
|
-
platformChainId: z.
|
|
4415
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4400
4416
|
salesModeId: z.ZodString;
|
|
4401
4417
|
categoryId: z.ZodString;
|
|
4402
4418
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -4428,7 +4444,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4428
4444
|
}, z.core.$strip>, z.ZodObject<{
|
|
4429
4445
|
name: z.ZodString;
|
|
4430
4446
|
platformRestaurantId: z.ZodString;
|
|
4431
|
-
platformChainId: z.
|
|
4447
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4432
4448
|
salesModeId: z.ZodString;
|
|
4433
4449
|
categoryId: z.ZodString;
|
|
4434
4450
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -4460,7 +4476,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4460
4476
|
}, z.core.$strip>, z.ZodObject<{
|
|
4461
4477
|
name: z.ZodString;
|
|
4462
4478
|
platformRestaurantId: z.ZodString;
|
|
4463
|
-
platformChainId: z.
|
|
4479
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4464
4480
|
salesModeId: z.ZodString;
|
|
4465
4481
|
categoryId: z.ZodString;
|
|
4466
4482
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -4490,7 +4506,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4490
4506
|
}, z.core.$strip>, z.ZodObject<{
|
|
4491
4507
|
name: z.ZodString;
|
|
4492
4508
|
platformRestaurantId: z.ZodString;
|
|
4493
|
-
platformChainId: z.
|
|
4509
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4494
4510
|
salesModeId: z.ZodString;
|
|
4495
4511
|
categoryId: z.ZodString;
|
|
4496
4512
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -4520,7 +4536,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4520
4536
|
}, z.core.$strip>, z.ZodObject<{
|
|
4521
4537
|
name: z.ZodString;
|
|
4522
4538
|
platformRestaurantId: z.ZodString;
|
|
4523
|
-
platformChainId: z.
|
|
4539
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4524
4540
|
salesModeId: z.ZodString;
|
|
4525
4541
|
categoryId: z.ZodString;
|
|
4526
4542
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -4547,7 +4563,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4547
4563
|
password: z.ZodString;
|
|
4548
4564
|
chain_code: z.ZodString;
|
|
4549
4565
|
remote_id: z.ZodString;
|
|
4550
|
-
webhook_token: z.
|
|
4566
|
+
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4551
4567
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
4552
4568
|
}, z.core.$strict>>>;
|
|
4553
4569
|
}, z.core.$strip>], "platform">>;
|
|
@@ -4558,7 +4574,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4558
4574
|
restaurants: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4559
4575
|
name: z.ZodString;
|
|
4560
4576
|
platformRestaurantId: z.ZodString;
|
|
4561
|
-
platformChainId: z.
|
|
4577
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4562
4578
|
salesModeId: z.ZodString;
|
|
4563
4579
|
categoryId: z.ZodString;
|
|
4564
4580
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -4590,7 +4606,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4590
4606
|
}, z.core.$strip>, z.ZodObject<{
|
|
4591
4607
|
name: z.ZodString;
|
|
4592
4608
|
platformRestaurantId: z.ZodString;
|
|
4593
|
-
platformChainId: z.
|
|
4609
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4594
4610
|
salesModeId: z.ZodString;
|
|
4595
4611
|
categoryId: z.ZodString;
|
|
4596
4612
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -4622,7 +4638,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4622
4638
|
}, z.core.$strip>, z.ZodObject<{
|
|
4623
4639
|
name: z.ZodString;
|
|
4624
4640
|
platformRestaurantId: z.ZodString;
|
|
4625
|
-
platformChainId: z.
|
|
4641
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4626
4642
|
salesModeId: z.ZodString;
|
|
4627
4643
|
categoryId: z.ZodString;
|
|
4628
4644
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -4652,7 +4668,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4652
4668
|
}, z.core.$strip>, z.ZodObject<{
|
|
4653
4669
|
name: z.ZodString;
|
|
4654
4670
|
platformRestaurantId: z.ZodString;
|
|
4655
|
-
platformChainId: z.
|
|
4671
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4656
4672
|
salesModeId: z.ZodString;
|
|
4657
4673
|
categoryId: z.ZodString;
|
|
4658
4674
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -4682,7 +4698,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4682
4698
|
}, z.core.$strip>, z.ZodObject<{
|
|
4683
4699
|
name: z.ZodString;
|
|
4684
4700
|
platformRestaurantId: z.ZodString;
|
|
4685
|
-
platformChainId: z.
|
|
4701
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4686
4702
|
salesModeId: z.ZodString;
|
|
4687
4703
|
categoryId: z.ZodString;
|
|
4688
4704
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -4709,7 +4725,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4709
4725
|
password: z.ZodString;
|
|
4710
4726
|
chain_code: z.ZodString;
|
|
4711
4727
|
remote_id: z.ZodString;
|
|
4712
|
-
webhook_token: z.
|
|
4728
|
+
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4713
4729
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
4714
4730
|
}, z.core.$strict>>>;
|
|
4715
4731
|
}, z.core.$strip>], "platform">>;
|
|
@@ -4771,7 +4787,7 @@ declare const initializeLeadInputSchema: z.ZodOptional<z.ZodObject<{
|
|
|
4771
4787
|
}, z.core.$strip>>;
|
|
4772
4788
|
type InitializeLeadInput = z.input<typeof initializeLeadInputSchema>;
|
|
4773
4789
|
declare const initializeLeadQuerySchema: z.ZodObject<{
|
|
4774
|
-
convertLeadIntegrations: z.ZodOptional<z.
|
|
4790
|
+
convertLeadIntegrations: z.ZodOptional<z.ZodPreprocess<z.ZodBoolean, unknown>>;
|
|
4775
4791
|
}, z.core.$strip>;
|
|
4776
4792
|
type InitializeLeadQueryParams = z.infer<typeof initializeLeadQuerySchema>;
|
|
4777
4793
|
declare const initializeLeadResponseSchema: z.ZodObject<{
|
|
@@ -4903,7 +4919,7 @@ declare class InitializeLead extends AbstractApiRequest<typeof initializeLeadInp
|
|
|
4903
4919
|
}, z.core.$catchall<z.ZodUnknown>>, z.ZodPipe<z.ZodArray<z.ZodNever>, z.ZodTransform<{}, never[]>>]>;
|
|
4904
4920
|
}, z.core.$strip>;
|
|
4905
4921
|
readonly querySchema: z.ZodObject<{
|
|
4906
|
-
convertLeadIntegrations: z.ZodOptional<z.
|
|
4922
|
+
convertLeadIntegrations: z.ZodOptional<z.ZodPreprocess<z.ZodBoolean, unknown>>;
|
|
4907
4923
|
}, z.core.$strip>;
|
|
4908
4924
|
readonly headersSchema: undefined;
|
|
4909
4925
|
private readonly leadId;
|