@deliverart/sdk-js-lead 2.48.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 +205 -205
- package/dist/index.d.ts +205 -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";
|
|
@@ -451,7 +451,7 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
451
451
|
syncClosedSalesOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
452
452
|
respectDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
453
453
|
removeProductsWithoutDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
454
|
-
}, z.core.$strip
|
|
454
|
+
}, z.core.$strip>>, unknown>;
|
|
455
455
|
}, z.core.$strip>>;
|
|
456
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>>>>;
|
|
457
457
|
message: z.ZodNullable<z.ZodString>;
|
|
@@ -499,17 +499,17 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
499
499
|
collection: "collection";
|
|
500
500
|
}>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
|
|
501
501
|
minOrderValue: z.ZodCoercedNumber<unknown>;
|
|
502
|
-
displayName: z.
|
|
503
|
-
tagline: z.
|
|
504
|
-
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<{
|
|
505
505
|
editorial: "editorial";
|
|
506
506
|
compact: "compact";
|
|
507
507
|
visual_grid: "visual_grid";
|
|
508
|
-
}
|
|
508
|
+
}>>, unknown>;
|
|
509
509
|
showProductImages: z.ZodOptional<z.ZodBoolean>;
|
|
510
|
-
logo: z.
|
|
511
|
-
heroImage: z.
|
|
512
|
-
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<{
|
|
513
513
|
primary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
514
514
|
accent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
515
515
|
background: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -528,7 +528,7 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
528
528
|
nunito_sans: "nunito_sans";
|
|
529
529
|
playfair_display: "playfair_display";
|
|
530
530
|
}>>>;
|
|
531
|
-
}, z.core.$loose
|
|
531
|
+
}, z.core.$loose>>, unknown>;
|
|
532
532
|
}, z.core.$strip>>;
|
|
533
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>>>>;
|
|
534
534
|
message: z.ZodNullable<z.ZodString>;
|
|
@@ -573,7 +573,7 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
573
573
|
restaurants: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
574
574
|
name: z.ZodString;
|
|
575
575
|
platformRestaurantId: z.ZodString;
|
|
576
|
-
platformChainId: z.
|
|
576
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
577
577
|
salesModeId: z.ZodString;
|
|
578
578
|
categoryId: z.ZodString;
|
|
579
579
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -605,7 +605,7 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
605
605
|
}, z.core.$strip>, z.ZodObject<{
|
|
606
606
|
name: z.ZodString;
|
|
607
607
|
platformRestaurantId: z.ZodString;
|
|
608
|
-
platformChainId: z.
|
|
608
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
609
609
|
salesModeId: z.ZodString;
|
|
610
610
|
categoryId: z.ZodString;
|
|
611
611
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -637,7 +637,7 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
637
637
|
}, z.core.$strip>, z.ZodObject<{
|
|
638
638
|
name: z.ZodString;
|
|
639
639
|
platformRestaurantId: z.ZodString;
|
|
640
|
-
platformChainId: z.
|
|
640
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
641
641
|
salesModeId: z.ZodString;
|
|
642
642
|
categoryId: z.ZodString;
|
|
643
643
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -667,7 +667,7 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
667
667
|
}, z.core.$strip>, z.ZodObject<{
|
|
668
668
|
name: z.ZodString;
|
|
669
669
|
platformRestaurantId: z.ZodString;
|
|
670
|
-
platformChainId: z.
|
|
670
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
671
671
|
salesModeId: z.ZodString;
|
|
672
672
|
categoryId: z.ZodString;
|
|
673
673
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -697,7 +697,7 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
697
697
|
}, z.core.$strip>, z.ZodObject<{
|
|
698
698
|
name: z.ZodString;
|
|
699
699
|
platformRestaurantId: z.ZodString;
|
|
700
|
-
platformChainId: z.
|
|
700
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
701
701
|
salesModeId: z.ZodString;
|
|
702
702
|
categoryId: z.ZodString;
|
|
703
703
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -724,7 +724,7 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
724
724
|
password: z.ZodString;
|
|
725
725
|
chain_code: z.ZodString;
|
|
726
726
|
remote_id: z.ZodString;
|
|
727
|
-
webhook_token: z.
|
|
727
|
+
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
728
728
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
729
729
|
}, z.core.$strict>>>;
|
|
730
730
|
}, z.core.$strip>], "platform">>;
|
|
@@ -735,7 +735,7 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
735
735
|
restaurants: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
736
736
|
name: z.ZodString;
|
|
737
737
|
platformRestaurantId: z.ZodString;
|
|
738
|
-
platformChainId: z.
|
|
738
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
739
739
|
salesModeId: z.ZodString;
|
|
740
740
|
categoryId: z.ZodString;
|
|
741
741
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -767,7 +767,7 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
767
767
|
}, z.core.$strip>, z.ZodObject<{
|
|
768
768
|
name: z.ZodString;
|
|
769
769
|
platformRestaurantId: z.ZodString;
|
|
770
|
-
platformChainId: z.
|
|
770
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
771
771
|
salesModeId: z.ZodString;
|
|
772
772
|
categoryId: z.ZodString;
|
|
773
773
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -799,7 +799,7 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
799
799
|
}, z.core.$strip>, z.ZodObject<{
|
|
800
800
|
name: z.ZodString;
|
|
801
801
|
platformRestaurantId: z.ZodString;
|
|
802
|
-
platformChainId: z.
|
|
802
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
803
803
|
salesModeId: z.ZodString;
|
|
804
804
|
categoryId: z.ZodString;
|
|
805
805
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -829,7 +829,7 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
829
829
|
}, z.core.$strip>, z.ZodObject<{
|
|
830
830
|
name: z.ZodString;
|
|
831
831
|
platformRestaurantId: z.ZodString;
|
|
832
|
-
platformChainId: z.
|
|
832
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
833
833
|
salesModeId: z.ZodString;
|
|
834
834
|
categoryId: z.ZodString;
|
|
835
835
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -859,7 +859,7 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
859
859
|
}, z.core.$strip>, z.ZodObject<{
|
|
860
860
|
name: z.ZodString;
|
|
861
861
|
platformRestaurantId: z.ZodString;
|
|
862
|
-
platformChainId: z.
|
|
862
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
863
863
|
salesModeId: z.ZodString;
|
|
864
864
|
categoryId: z.ZodString;
|
|
865
865
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -886,7 +886,7 @@ declare const leadListItemSchema: z.ZodObject<{
|
|
|
886
886
|
password: z.ZodString;
|
|
887
887
|
chain_code: z.ZodString;
|
|
888
888
|
remote_id: z.ZodString;
|
|
889
|
-
webhook_token: z.
|
|
889
|
+
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
890
890
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
891
891
|
}, z.core.$strict>>>;
|
|
892
892
|
}, z.core.$strip>], "platform">>;
|
|
@@ -1001,19 +1001,19 @@ declare const writableLeadIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1001
1001
|
service: z.ZodLiteral<"tilby">;
|
|
1002
1002
|
data: z.ZodObject<{
|
|
1003
1003
|
apiToken: z.ZodString;
|
|
1004
|
-
webhookEmail: z.
|
|
1005
|
-
xClient: z.
|
|
1006
|
-
defaultSellerId: z.
|
|
1007
|
-
defaultSellerName: z.
|
|
1008
|
-
autoPrintOrder: z.
|
|
1009
|
-
deliverartChannelName: z.
|
|
1010
|
-
defaultPaymentMethodId: z.
|
|
1011
|
-
defaultPaymentMethodName: z.
|
|
1012
|
-
defaultPaymentMethodTypeId: z.
|
|
1013
|
-
defaultPaymentMethodTypeName: z.
|
|
1014
|
-
defaultStockLocationId: z.
|
|
1015
|
-
syncSettings: z.
|
|
1016
|
-
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<{
|
|
1017
1017
|
stripe: "stripe";
|
|
1018
1018
|
bank_transfer: "bank_transfer";
|
|
1019
1019
|
cash: "cash";
|
|
@@ -1025,7 +1025,7 @@ declare const writableLeadIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1025
1025
|
name: z.ZodString;
|
|
1026
1026
|
typeId: z.ZodNumber;
|
|
1027
1027
|
typeName: z.ZodString;
|
|
1028
|
-
}, z.core.$strict
|
|
1028
|
+
}, z.core.$strict>>, unknown>>>;
|
|
1029
1029
|
newMenuItemChannels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1030
1030
|
application: "application";
|
|
1031
1031
|
ecommerce: "ecommerce";
|
|
@@ -1057,7 +1057,7 @@ declare const writableLeadIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1057
1057
|
syncClosedSalesOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1058
1058
|
respectDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1059
1059
|
removeProductsWithoutDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1060
|
-
}, z.core.$strip
|
|
1060
|
+
}, z.core.$strip>>, unknown>;
|
|
1061
1061
|
}, z.core.$strip>;
|
|
1062
1062
|
name: z.ZodString;
|
|
1063
1063
|
provider: z.ZodEnum<{
|
|
@@ -1192,19 +1192,19 @@ declare const writableCreateLeadSchema: z.ZodObject<{
|
|
|
1192
1192
|
service: z.ZodLiteral<"tilby">;
|
|
1193
1193
|
data: z.ZodObject<{
|
|
1194
1194
|
apiToken: z.ZodString;
|
|
1195
|
-
webhookEmail: z.
|
|
1196
|
-
xClient: z.
|
|
1197
|
-
defaultSellerId: z.
|
|
1198
|
-
defaultSellerName: z.
|
|
1199
|
-
autoPrintOrder: z.
|
|
1200
|
-
deliverartChannelName: z.
|
|
1201
|
-
defaultPaymentMethodId: z.
|
|
1202
|
-
defaultPaymentMethodName: z.
|
|
1203
|
-
defaultPaymentMethodTypeId: z.
|
|
1204
|
-
defaultPaymentMethodTypeName: z.
|
|
1205
|
-
defaultStockLocationId: z.
|
|
1206
|
-
syncSettings: z.
|
|
1207
|
-
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<{
|
|
1208
1208
|
stripe: "stripe";
|
|
1209
1209
|
bank_transfer: "bank_transfer";
|
|
1210
1210
|
cash: "cash";
|
|
@@ -1216,7 +1216,7 @@ declare const writableCreateLeadSchema: z.ZodObject<{
|
|
|
1216
1216
|
name: z.ZodString;
|
|
1217
1217
|
typeId: z.ZodNumber;
|
|
1218
1218
|
typeName: z.ZodString;
|
|
1219
|
-
}, z.core.$strict
|
|
1219
|
+
}, z.core.$strict>>, unknown>>>;
|
|
1220
1220
|
newMenuItemChannels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1221
1221
|
application: "application";
|
|
1222
1222
|
ecommerce: "ecommerce";
|
|
@@ -1248,7 +1248,7 @@ declare const writableCreateLeadSchema: z.ZodObject<{
|
|
|
1248
1248
|
syncClosedSalesOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1249
1249
|
respectDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1250
1250
|
removeProductsWithoutDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1251
|
-
}, z.core.$strip
|
|
1251
|
+
}, z.core.$strip>>, unknown>;
|
|
1252
1252
|
}, z.core.$strip>;
|
|
1253
1253
|
name: z.ZodString;
|
|
1254
1254
|
provider: z.ZodEnum<{
|
|
@@ -1378,7 +1378,7 @@ declare const leadsQuerySchema: z.ZodObject<{
|
|
|
1378
1378
|
}>>;
|
|
1379
1379
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1380
1380
|
itemsPerPage: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1381
|
-
pagination: z.ZodOptional<z.
|
|
1381
|
+
pagination: z.ZodOptional<z.ZodPreprocess<z.ZodBoolean, unknown>>;
|
|
1382
1382
|
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
1383
1383
|
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
1384
1384
|
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
@@ -1484,19 +1484,19 @@ declare const createLeadInputSchema: z.ZodObject<{
|
|
|
1484
1484
|
service: z.ZodLiteral<"tilby">;
|
|
1485
1485
|
data: z.ZodObject<{
|
|
1486
1486
|
apiToken: z.ZodString;
|
|
1487
|
-
webhookEmail: z.
|
|
1488
|
-
xClient: z.
|
|
1489
|
-
defaultSellerId: z.
|
|
1490
|
-
defaultSellerName: z.
|
|
1491
|
-
autoPrintOrder: z.
|
|
1492
|
-
deliverartChannelName: z.
|
|
1493
|
-
defaultPaymentMethodId: z.
|
|
1494
|
-
defaultPaymentMethodName: z.
|
|
1495
|
-
defaultPaymentMethodTypeId: z.
|
|
1496
|
-
defaultPaymentMethodTypeName: z.
|
|
1497
|
-
defaultStockLocationId: z.
|
|
1498
|
-
syncSettings: z.
|
|
1499
|
-
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<{
|
|
1500
1500
|
stripe: "stripe";
|
|
1501
1501
|
bank_transfer: "bank_transfer";
|
|
1502
1502
|
cash: "cash";
|
|
@@ -1508,7 +1508,7 @@ declare const createLeadInputSchema: z.ZodObject<{
|
|
|
1508
1508
|
name: z.ZodString;
|
|
1509
1509
|
typeId: z.ZodNumber;
|
|
1510
1510
|
typeName: z.ZodString;
|
|
1511
|
-
}, z.core.$strict
|
|
1511
|
+
}, z.core.$strict>>, unknown>>>;
|
|
1512
1512
|
newMenuItemChannels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1513
1513
|
application: "application";
|
|
1514
1514
|
ecommerce: "ecommerce";
|
|
@@ -1540,7 +1540,7 @@ declare const createLeadInputSchema: z.ZodObject<{
|
|
|
1540
1540
|
syncClosedSalesOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1541
1541
|
respectDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1542
1542
|
removeProductsWithoutDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1543
|
-
}, z.core.$strip
|
|
1543
|
+
}, z.core.$strip>>, unknown>;
|
|
1544
1544
|
}, z.core.$strip>;
|
|
1545
1545
|
name: z.ZodString;
|
|
1546
1546
|
provider: z.ZodEnum<{
|
|
@@ -1709,19 +1709,19 @@ declare class CreateLead extends AbstractApiRequest<typeof createLeadInputSchema
|
|
|
1709
1709
|
service: z.ZodLiteral<"tilby">;
|
|
1710
1710
|
data: z.ZodObject<{
|
|
1711
1711
|
apiToken: z.ZodString;
|
|
1712
|
-
webhookEmail: z.
|
|
1713
|
-
xClient: z.
|
|
1714
|
-
defaultSellerId: z.
|
|
1715
|
-
defaultSellerName: z.
|
|
1716
|
-
autoPrintOrder: z.
|
|
1717
|
-
deliverartChannelName: z.
|
|
1718
|
-
defaultPaymentMethodId: z.
|
|
1719
|
-
defaultPaymentMethodName: z.
|
|
1720
|
-
defaultPaymentMethodTypeId: z.
|
|
1721
|
-
defaultPaymentMethodTypeName: z.
|
|
1722
|
-
defaultStockLocationId: z.
|
|
1723
|
-
syncSettings: z.
|
|
1724
|
-
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<{
|
|
1725
1725
|
stripe: "stripe";
|
|
1726
1726
|
bank_transfer: "bank_transfer";
|
|
1727
1727
|
cash: "cash";
|
|
@@ -1733,7 +1733,7 @@ declare class CreateLead extends AbstractApiRequest<typeof createLeadInputSchema
|
|
|
1733
1733
|
name: z.ZodString;
|
|
1734
1734
|
typeId: z.ZodNumber;
|
|
1735
1735
|
typeName: z.ZodString;
|
|
1736
|
-
}, z.core.$strict
|
|
1736
|
+
}, z.core.$strict>>, unknown>>>;
|
|
1737
1737
|
newMenuItemChannels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1738
1738
|
application: "application";
|
|
1739
1739
|
ecommerce: "ecommerce";
|
|
@@ -1765,7 +1765,7 @@ declare class CreateLead extends AbstractApiRequest<typeof createLeadInputSchema
|
|
|
1765
1765
|
syncClosedSalesOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1766
1766
|
respectDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1767
1767
|
removeProductsWithoutDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1768
|
-
}, z.core.$strip
|
|
1768
|
+
}, z.core.$strip>>, unknown>;
|
|
1769
1769
|
}, z.core.$strip>;
|
|
1770
1770
|
name: z.ZodString;
|
|
1771
1771
|
provider: z.ZodEnum<{
|
|
@@ -2133,7 +2133,7 @@ declare const getLeadsQuerySchema: z.ZodObject<{
|
|
|
2133
2133
|
}>>;
|
|
2134
2134
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2135
2135
|
itemsPerPage: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2136
|
-
pagination: z.ZodOptional<z.
|
|
2136
|
+
pagination: z.ZodOptional<z.ZodPreprocess<z.ZodBoolean, unknown>>;
|
|
2137
2137
|
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
2138
2138
|
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
2139
2139
|
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
@@ -2430,19 +2430,19 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2430
2430
|
service: z.ZodLiteral<"tilby">;
|
|
2431
2431
|
data: z.ZodOptional<z.ZodObject<{
|
|
2432
2432
|
apiToken: z.ZodString;
|
|
2433
|
-
webhookEmail: z.
|
|
2434
|
-
xClient: z.
|
|
2435
|
-
defaultSellerId: z.
|
|
2436
|
-
defaultSellerName: z.
|
|
2437
|
-
autoPrintOrder: z.
|
|
2438
|
-
deliverartChannelName: z.
|
|
2439
|
-
defaultPaymentMethodId: z.
|
|
2440
|
-
defaultPaymentMethodName: z.
|
|
2441
|
-
defaultPaymentMethodTypeId: z.
|
|
2442
|
-
defaultPaymentMethodTypeName: z.
|
|
2443
|
-
defaultStockLocationId: z.
|
|
2444
|
-
syncSettings: z.
|
|
2445
|
-
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<{
|
|
2446
2446
|
stripe: "stripe";
|
|
2447
2447
|
bank_transfer: "bank_transfer";
|
|
2448
2448
|
cash: "cash";
|
|
@@ -2454,7 +2454,7 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2454
2454
|
name: z.ZodString;
|
|
2455
2455
|
typeId: z.ZodNumber;
|
|
2456
2456
|
typeName: z.ZodString;
|
|
2457
|
-
}, z.core.$strict
|
|
2457
|
+
}, z.core.$strict>>, unknown>>>;
|
|
2458
2458
|
newMenuItemChannels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2459
2459
|
application: "application";
|
|
2460
2460
|
ecommerce: "ecommerce";
|
|
@@ -2486,7 +2486,7 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2486
2486
|
syncClosedSalesOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2487
2487
|
respectDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
2488
2488
|
removeProductsWithoutDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
2489
|
-
}, z.core.$strip
|
|
2489
|
+
}, z.core.$strip>>, unknown>;
|
|
2490
2490
|
}, z.core.$strip>>;
|
|
2491
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>>>>;
|
|
2492
2492
|
message: z.ZodNullable<z.ZodString>;
|
|
@@ -2534,17 +2534,17 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2534
2534
|
collection: "collection";
|
|
2535
2535
|
}>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
|
|
2536
2536
|
minOrderValue: z.ZodCoercedNumber<unknown>;
|
|
2537
|
-
displayName: z.
|
|
2538
|
-
tagline: z.
|
|
2539
|
-
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<{
|
|
2540
2540
|
editorial: "editorial";
|
|
2541
2541
|
compact: "compact";
|
|
2542
2542
|
visual_grid: "visual_grid";
|
|
2543
|
-
}
|
|
2543
|
+
}>>, unknown>;
|
|
2544
2544
|
showProductImages: z.ZodOptional<z.ZodBoolean>;
|
|
2545
|
-
logo: z.
|
|
2546
|
-
heroImage: z.
|
|
2547
|
-
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<{
|
|
2548
2548
|
primary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2549
2549
|
accent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2550
2550
|
background: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2563,7 +2563,7 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2563
2563
|
nunito_sans: "nunito_sans";
|
|
2564
2564
|
playfair_display: "playfair_display";
|
|
2565
2565
|
}>>>;
|
|
2566
|
-
}, z.core.$loose
|
|
2566
|
+
}, z.core.$loose>>, unknown>;
|
|
2567
2567
|
}, z.core.$strip>>;
|
|
2568
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>>>>;
|
|
2569
2569
|
message: z.ZodNullable<z.ZodString>;
|
|
@@ -2608,7 +2608,7 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2608
2608
|
restaurants: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2609
2609
|
name: z.ZodString;
|
|
2610
2610
|
platformRestaurantId: z.ZodString;
|
|
2611
|
-
platformChainId: z.
|
|
2611
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
2612
2612
|
salesModeId: z.ZodString;
|
|
2613
2613
|
categoryId: z.ZodString;
|
|
2614
2614
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -2640,7 +2640,7 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2640
2640
|
}, z.core.$strip>, z.ZodObject<{
|
|
2641
2641
|
name: z.ZodString;
|
|
2642
2642
|
platformRestaurantId: z.ZodString;
|
|
2643
|
-
platformChainId: z.
|
|
2643
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
2644
2644
|
salesModeId: z.ZodString;
|
|
2645
2645
|
categoryId: z.ZodString;
|
|
2646
2646
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -2672,7 +2672,7 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2672
2672
|
}, z.core.$strip>, z.ZodObject<{
|
|
2673
2673
|
name: z.ZodString;
|
|
2674
2674
|
platformRestaurantId: z.ZodString;
|
|
2675
|
-
platformChainId: z.
|
|
2675
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
2676
2676
|
salesModeId: z.ZodString;
|
|
2677
2677
|
categoryId: z.ZodString;
|
|
2678
2678
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -2702,7 +2702,7 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2702
2702
|
}, z.core.$strip>, z.ZodObject<{
|
|
2703
2703
|
name: z.ZodString;
|
|
2704
2704
|
platformRestaurantId: z.ZodString;
|
|
2705
|
-
platformChainId: z.
|
|
2705
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
2706
2706
|
salesModeId: z.ZodString;
|
|
2707
2707
|
categoryId: z.ZodString;
|
|
2708
2708
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -2732,7 +2732,7 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2732
2732
|
}, z.core.$strip>, z.ZodObject<{
|
|
2733
2733
|
name: z.ZodString;
|
|
2734
2734
|
platformRestaurantId: z.ZodString;
|
|
2735
|
-
platformChainId: z.
|
|
2735
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
2736
2736
|
salesModeId: z.ZodString;
|
|
2737
2737
|
categoryId: z.ZodString;
|
|
2738
2738
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -2759,7 +2759,7 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2759
2759
|
password: z.ZodString;
|
|
2760
2760
|
chain_code: z.ZodString;
|
|
2761
2761
|
remote_id: z.ZodString;
|
|
2762
|
-
webhook_token: z.
|
|
2762
|
+
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
2763
2763
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
2764
2764
|
}, z.core.$strict>>>;
|
|
2765
2765
|
}, z.core.$strip>], "platform">>;
|
|
@@ -2770,7 +2770,7 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2770
2770
|
restaurants: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2771
2771
|
name: z.ZodString;
|
|
2772
2772
|
platformRestaurantId: z.ZodString;
|
|
2773
|
-
platformChainId: z.
|
|
2773
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
2774
2774
|
salesModeId: z.ZodString;
|
|
2775
2775
|
categoryId: z.ZodString;
|
|
2776
2776
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -2802,7 +2802,7 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2802
2802
|
}, z.core.$strip>, z.ZodObject<{
|
|
2803
2803
|
name: z.ZodString;
|
|
2804
2804
|
platformRestaurantId: z.ZodString;
|
|
2805
|
-
platformChainId: z.
|
|
2805
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
2806
2806
|
salesModeId: z.ZodString;
|
|
2807
2807
|
categoryId: z.ZodString;
|
|
2808
2808
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -2834,7 +2834,7 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2834
2834
|
}, z.core.$strip>, z.ZodObject<{
|
|
2835
2835
|
name: z.ZodString;
|
|
2836
2836
|
platformRestaurantId: z.ZodString;
|
|
2837
|
-
platformChainId: z.
|
|
2837
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
2838
2838
|
salesModeId: z.ZodString;
|
|
2839
2839
|
categoryId: z.ZodString;
|
|
2840
2840
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -2864,7 +2864,7 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2864
2864
|
}, z.core.$strip>, z.ZodObject<{
|
|
2865
2865
|
name: z.ZodString;
|
|
2866
2866
|
platformRestaurantId: z.ZodString;
|
|
2867
|
-
platformChainId: z.
|
|
2867
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
2868
2868
|
salesModeId: z.ZodString;
|
|
2869
2869
|
categoryId: z.ZodString;
|
|
2870
2870
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -2894,7 +2894,7 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2894
2894
|
}, z.core.$strip>, z.ZodObject<{
|
|
2895
2895
|
name: z.ZodString;
|
|
2896
2896
|
platformRestaurantId: z.ZodString;
|
|
2897
|
-
platformChainId: z.
|
|
2897
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
2898
2898
|
salesModeId: z.ZodString;
|
|
2899
2899
|
categoryId: z.ZodString;
|
|
2900
2900
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -2921,7 +2921,7 @@ declare const getLeadsResponseSchema: z.ZodObject<{
|
|
|
2921
2921
|
password: z.ZodString;
|
|
2922
2922
|
chain_code: z.ZodString;
|
|
2923
2923
|
remote_id: z.ZodString;
|
|
2924
|
-
webhook_token: z.
|
|
2924
|
+
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
2925
2925
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
2926
2926
|
}, z.core.$strict>>>;
|
|
2927
2927
|
}, z.core.$strip>], "platform">>;
|
|
@@ -3270,19 +3270,19 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3270
3270
|
service: z.ZodLiteral<"tilby">;
|
|
3271
3271
|
data: z.ZodOptional<z.ZodObject<{
|
|
3272
3272
|
apiToken: z.ZodString;
|
|
3273
|
-
webhookEmail: z.
|
|
3274
|
-
xClient: z.
|
|
3275
|
-
defaultSellerId: z.
|
|
3276
|
-
defaultSellerName: z.
|
|
3277
|
-
autoPrintOrder: z.
|
|
3278
|
-
deliverartChannelName: z.
|
|
3279
|
-
defaultPaymentMethodId: z.
|
|
3280
|
-
defaultPaymentMethodName: z.
|
|
3281
|
-
defaultPaymentMethodTypeId: z.
|
|
3282
|
-
defaultPaymentMethodTypeName: z.
|
|
3283
|
-
defaultStockLocationId: z.
|
|
3284
|
-
syncSettings: z.
|
|
3285
|
-
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<{
|
|
3286
3286
|
stripe: "stripe";
|
|
3287
3287
|
bank_transfer: "bank_transfer";
|
|
3288
3288
|
cash: "cash";
|
|
@@ -3294,7 +3294,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3294
3294
|
name: z.ZodString;
|
|
3295
3295
|
typeId: z.ZodNumber;
|
|
3296
3296
|
typeName: z.ZodString;
|
|
3297
|
-
}, z.core.$strict
|
|
3297
|
+
}, z.core.$strict>>, unknown>>>;
|
|
3298
3298
|
newMenuItemChannels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
3299
3299
|
application: "application";
|
|
3300
3300
|
ecommerce: "ecommerce";
|
|
@@ -3326,7 +3326,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3326
3326
|
syncClosedSalesOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
3327
3327
|
respectDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
3328
3328
|
removeProductsWithoutDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
3329
|
-
}, z.core.$strip
|
|
3329
|
+
}, z.core.$strip>>, unknown>;
|
|
3330
3330
|
}, z.core.$strip>>;
|
|
3331
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>>>>;
|
|
3332
3332
|
message: z.ZodNullable<z.ZodString>;
|
|
@@ -3374,17 +3374,17 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3374
3374
|
collection: "collection";
|
|
3375
3375
|
}>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
|
|
3376
3376
|
minOrderValue: z.ZodCoercedNumber<unknown>;
|
|
3377
|
-
displayName: z.
|
|
3378
|
-
tagline: z.
|
|
3379
|
-
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<{
|
|
3380
3380
|
editorial: "editorial";
|
|
3381
3381
|
compact: "compact";
|
|
3382
3382
|
visual_grid: "visual_grid";
|
|
3383
|
-
}
|
|
3383
|
+
}>>, unknown>;
|
|
3384
3384
|
showProductImages: z.ZodOptional<z.ZodBoolean>;
|
|
3385
|
-
logo: z.
|
|
3386
|
-
heroImage: z.
|
|
3387
|
-
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<{
|
|
3388
3388
|
primary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3389
3389
|
accent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3390
3390
|
background: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3403,7 +3403,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3403
3403
|
nunito_sans: "nunito_sans";
|
|
3404
3404
|
playfair_display: "playfair_display";
|
|
3405
3405
|
}>>>;
|
|
3406
|
-
}, z.core.$loose
|
|
3406
|
+
}, z.core.$loose>>, unknown>;
|
|
3407
3407
|
}, z.core.$strip>>;
|
|
3408
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>>>>;
|
|
3409
3409
|
message: z.ZodNullable<z.ZodString>;
|
|
@@ -3448,7 +3448,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3448
3448
|
restaurants: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3449
3449
|
name: z.ZodString;
|
|
3450
3450
|
platformRestaurantId: z.ZodString;
|
|
3451
|
-
platformChainId: z.
|
|
3451
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3452
3452
|
salesModeId: z.ZodString;
|
|
3453
3453
|
categoryId: z.ZodString;
|
|
3454
3454
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -3480,7 +3480,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3480
3480
|
}, z.core.$strip>, z.ZodObject<{
|
|
3481
3481
|
name: z.ZodString;
|
|
3482
3482
|
platformRestaurantId: z.ZodString;
|
|
3483
|
-
platformChainId: z.
|
|
3483
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3484
3484
|
salesModeId: z.ZodString;
|
|
3485
3485
|
categoryId: z.ZodString;
|
|
3486
3486
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -3512,7 +3512,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3512
3512
|
}, z.core.$strip>, z.ZodObject<{
|
|
3513
3513
|
name: z.ZodString;
|
|
3514
3514
|
platformRestaurantId: z.ZodString;
|
|
3515
|
-
platformChainId: z.
|
|
3515
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3516
3516
|
salesModeId: z.ZodString;
|
|
3517
3517
|
categoryId: z.ZodString;
|
|
3518
3518
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -3542,7 +3542,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3542
3542
|
}, z.core.$strip>, z.ZodObject<{
|
|
3543
3543
|
name: z.ZodString;
|
|
3544
3544
|
platformRestaurantId: z.ZodString;
|
|
3545
|
-
platformChainId: z.
|
|
3545
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3546
3546
|
salesModeId: z.ZodString;
|
|
3547
3547
|
categoryId: z.ZodString;
|
|
3548
3548
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -3572,7 +3572,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3572
3572
|
}, z.core.$strip>, z.ZodObject<{
|
|
3573
3573
|
name: z.ZodString;
|
|
3574
3574
|
platformRestaurantId: z.ZodString;
|
|
3575
|
-
platformChainId: z.
|
|
3575
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3576
3576
|
salesModeId: z.ZodString;
|
|
3577
3577
|
categoryId: z.ZodString;
|
|
3578
3578
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -3599,7 +3599,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3599
3599
|
password: z.ZodString;
|
|
3600
3600
|
chain_code: z.ZodString;
|
|
3601
3601
|
remote_id: z.ZodString;
|
|
3602
|
-
webhook_token: z.
|
|
3602
|
+
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3603
3603
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
3604
3604
|
}, z.core.$strict>>>;
|
|
3605
3605
|
}, z.core.$strip>], "platform">>;
|
|
@@ -3610,7 +3610,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3610
3610
|
restaurants: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3611
3611
|
name: z.ZodString;
|
|
3612
3612
|
platformRestaurantId: z.ZodString;
|
|
3613
|
-
platformChainId: z.
|
|
3613
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3614
3614
|
salesModeId: z.ZodString;
|
|
3615
3615
|
categoryId: z.ZodString;
|
|
3616
3616
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -3642,7 +3642,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3642
3642
|
}, z.core.$strip>, z.ZodObject<{
|
|
3643
3643
|
name: z.ZodString;
|
|
3644
3644
|
platformRestaurantId: z.ZodString;
|
|
3645
|
-
platformChainId: z.
|
|
3645
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3646
3646
|
salesModeId: z.ZodString;
|
|
3647
3647
|
categoryId: z.ZodString;
|
|
3648
3648
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -3674,7 +3674,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3674
3674
|
}, z.core.$strip>, z.ZodObject<{
|
|
3675
3675
|
name: z.ZodString;
|
|
3676
3676
|
platformRestaurantId: z.ZodString;
|
|
3677
|
-
platformChainId: z.
|
|
3677
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3678
3678
|
salesModeId: z.ZodString;
|
|
3679
3679
|
categoryId: z.ZodString;
|
|
3680
3680
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -3704,7 +3704,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3704
3704
|
}, z.core.$strip>, z.ZodObject<{
|
|
3705
3705
|
name: z.ZodString;
|
|
3706
3706
|
platformRestaurantId: z.ZodString;
|
|
3707
|
-
platformChainId: z.
|
|
3707
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3708
3708
|
salesModeId: z.ZodString;
|
|
3709
3709
|
categoryId: z.ZodString;
|
|
3710
3710
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -3734,7 +3734,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3734
3734
|
}, z.core.$strip>, z.ZodObject<{
|
|
3735
3735
|
name: z.ZodString;
|
|
3736
3736
|
platformRestaurantId: z.ZodString;
|
|
3737
|
-
platformChainId: z.
|
|
3737
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3738
3738
|
salesModeId: z.ZodString;
|
|
3739
3739
|
categoryId: z.ZodString;
|
|
3740
3740
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -3761,7 +3761,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3761
3761
|
password: z.ZodString;
|
|
3762
3762
|
chain_code: z.ZodString;
|
|
3763
3763
|
remote_id: z.ZodString;
|
|
3764
|
-
webhook_token: z.
|
|
3764
|
+
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
3765
3765
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
3766
3766
|
}, z.core.$strict>>>;
|
|
3767
3767
|
}, z.core.$strip>], "platform">>;
|
|
@@ -3940,7 +3940,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
3940
3940
|
}>>;
|
|
3941
3941
|
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3942
3942
|
itemsPerPage: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3943
|
-
pagination: z.ZodOptional<z.
|
|
3943
|
+
pagination: z.ZodOptional<z.ZodPreprocess<z.ZodBoolean, unknown>>;
|
|
3944
3944
|
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
3945
3945
|
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3946
3946
|
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
@@ -4234,19 +4234,19 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4234
4234
|
service: z.ZodLiteral<"tilby">;
|
|
4235
4235
|
data: z.ZodOptional<z.ZodObject<{
|
|
4236
4236
|
apiToken: z.ZodString;
|
|
4237
|
-
webhookEmail: z.
|
|
4238
|
-
xClient: z.
|
|
4239
|
-
defaultSellerId: z.
|
|
4240
|
-
defaultSellerName: z.
|
|
4241
|
-
autoPrintOrder: z.
|
|
4242
|
-
deliverartChannelName: z.
|
|
4243
|
-
defaultPaymentMethodId: z.
|
|
4244
|
-
defaultPaymentMethodName: z.
|
|
4245
|
-
defaultPaymentMethodTypeId: z.
|
|
4246
|
-
defaultPaymentMethodTypeName: z.
|
|
4247
|
-
defaultStockLocationId: z.
|
|
4248
|
-
syncSettings: z.
|
|
4249
|
-
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<{
|
|
4250
4250
|
stripe: "stripe";
|
|
4251
4251
|
bank_transfer: "bank_transfer";
|
|
4252
4252
|
cash: "cash";
|
|
@@ -4258,7 +4258,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4258
4258
|
name: z.ZodString;
|
|
4259
4259
|
typeId: z.ZodNumber;
|
|
4260
4260
|
typeName: z.ZodString;
|
|
4261
|
-
}, z.core.$strict
|
|
4261
|
+
}, z.core.$strict>>, unknown>>>;
|
|
4262
4262
|
newMenuItemChannels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4263
4263
|
application: "application";
|
|
4264
4264
|
ecommerce: "ecommerce";
|
|
@@ -4290,7 +4290,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4290
4290
|
syncClosedSalesOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
4291
4291
|
respectDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
4292
4292
|
removeProductsWithoutDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
4293
|
-
}, z.core.$strip
|
|
4293
|
+
}, z.core.$strip>>, unknown>;
|
|
4294
4294
|
}, z.core.$strip>>;
|
|
4295
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>>>>;
|
|
4296
4296
|
message: z.ZodNullable<z.ZodString>;
|
|
@@ -4338,17 +4338,17 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4338
4338
|
collection: "collection";
|
|
4339
4339
|
}>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
|
|
4340
4340
|
minOrderValue: z.ZodCoercedNumber<unknown>;
|
|
4341
|
-
displayName: z.
|
|
4342
|
-
tagline: z.
|
|
4343
|
-
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<{
|
|
4344
4344
|
editorial: "editorial";
|
|
4345
4345
|
compact: "compact";
|
|
4346
4346
|
visual_grid: "visual_grid";
|
|
4347
|
-
}
|
|
4347
|
+
}>>, unknown>;
|
|
4348
4348
|
showProductImages: z.ZodOptional<z.ZodBoolean>;
|
|
4349
|
-
logo: z.
|
|
4350
|
-
heroImage: z.
|
|
4351
|
-
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<{
|
|
4352
4352
|
primary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4353
4353
|
accent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4354
4354
|
background: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4367,7 +4367,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4367
4367
|
nunito_sans: "nunito_sans";
|
|
4368
4368
|
playfair_display: "playfair_display";
|
|
4369
4369
|
}>>>;
|
|
4370
|
-
}, z.core.$loose
|
|
4370
|
+
}, z.core.$loose>>, unknown>;
|
|
4371
4371
|
}, z.core.$strip>>;
|
|
4372
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>>>>;
|
|
4373
4373
|
message: z.ZodNullable<z.ZodString>;
|
|
@@ -4412,7 +4412,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4412
4412
|
restaurants: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4413
4413
|
name: z.ZodString;
|
|
4414
4414
|
platformRestaurantId: z.ZodString;
|
|
4415
|
-
platformChainId: z.
|
|
4415
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4416
4416
|
salesModeId: z.ZodString;
|
|
4417
4417
|
categoryId: z.ZodString;
|
|
4418
4418
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -4444,7 +4444,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4444
4444
|
}, z.core.$strip>, z.ZodObject<{
|
|
4445
4445
|
name: z.ZodString;
|
|
4446
4446
|
platformRestaurantId: z.ZodString;
|
|
4447
|
-
platformChainId: z.
|
|
4447
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4448
4448
|
salesModeId: z.ZodString;
|
|
4449
4449
|
categoryId: z.ZodString;
|
|
4450
4450
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -4476,7 +4476,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4476
4476
|
}, z.core.$strip>, z.ZodObject<{
|
|
4477
4477
|
name: z.ZodString;
|
|
4478
4478
|
platformRestaurantId: z.ZodString;
|
|
4479
|
-
platformChainId: z.
|
|
4479
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4480
4480
|
salesModeId: z.ZodString;
|
|
4481
4481
|
categoryId: z.ZodString;
|
|
4482
4482
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -4506,7 +4506,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4506
4506
|
}, z.core.$strip>, z.ZodObject<{
|
|
4507
4507
|
name: z.ZodString;
|
|
4508
4508
|
platformRestaurantId: z.ZodString;
|
|
4509
|
-
platformChainId: z.
|
|
4509
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4510
4510
|
salesModeId: z.ZodString;
|
|
4511
4511
|
categoryId: z.ZodString;
|
|
4512
4512
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -4536,7 +4536,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4536
4536
|
}, z.core.$strip>, z.ZodObject<{
|
|
4537
4537
|
name: z.ZodString;
|
|
4538
4538
|
platformRestaurantId: z.ZodString;
|
|
4539
|
-
platformChainId: z.
|
|
4539
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4540
4540
|
salesModeId: z.ZodString;
|
|
4541
4541
|
categoryId: z.ZodString;
|
|
4542
4542
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -4563,7 +4563,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4563
4563
|
password: z.ZodString;
|
|
4564
4564
|
chain_code: z.ZodString;
|
|
4565
4565
|
remote_id: z.ZodString;
|
|
4566
|
-
webhook_token: z.
|
|
4566
|
+
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4567
4567
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
4568
4568
|
}, z.core.$strict>>>;
|
|
4569
4569
|
}, z.core.$strip>], "platform">>;
|
|
@@ -4574,7 +4574,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4574
4574
|
restaurants: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4575
4575
|
name: z.ZodString;
|
|
4576
4576
|
platformRestaurantId: z.ZodString;
|
|
4577
|
-
platformChainId: z.
|
|
4577
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4578
4578
|
salesModeId: z.ZodString;
|
|
4579
4579
|
categoryId: z.ZodString;
|
|
4580
4580
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -4606,7 +4606,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4606
4606
|
}, z.core.$strip>, z.ZodObject<{
|
|
4607
4607
|
name: z.ZodString;
|
|
4608
4608
|
platformRestaurantId: z.ZodString;
|
|
4609
|
-
platformChainId: z.
|
|
4609
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4610
4610
|
salesModeId: z.ZodString;
|
|
4611
4611
|
categoryId: z.ZodString;
|
|
4612
4612
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -4638,7 +4638,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4638
4638
|
}, z.core.$strip>, z.ZodObject<{
|
|
4639
4639
|
name: z.ZodString;
|
|
4640
4640
|
platformRestaurantId: z.ZodString;
|
|
4641
|
-
platformChainId: z.
|
|
4641
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4642
4642
|
salesModeId: z.ZodString;
|
|
4643
4643
|
categoryId: z.ZodString;
|
|
4644
4644
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -4668,7 +4668,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4668
4668
|
}, z.core.$strip>, z.ZodObject<{
|
|
4669
4669
|
name: z.ZodString;
|
|
4670
4670
|
platformRestaurantId: z.ZodString;
|
|
4671
|
-
platformChainId: z.
|
|
4671
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4672
4672
|
salesModeId: z.ZodString;
|
|
4673
4673
|
categoryId: z.ZodString;
|
|
4674
4674
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -4698,7 +4698,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4698
4698
|
}, z.core.$strip>, z.ZodObject<{
|
|
4699
4699
|
name: z.ZodString;
|
|
4700
4700
|
platformRestaurantId: z.ZodString;
|
|
4701
|
-
platformChainId: z.
|
|
4701
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4702
4702
|
salesModeId: z.ZodString;
|
|
4703
4703
|
categoryId: z.ZodString;
|
|
4704
4704
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -4725,7 +4725,7 @@ declare class GetLeads extends AbstractApiRequest<typeof getLeadsInputSchema, ty
|
|
|
4725
4725
|
password: z.ZodString;
|
|
4726
4726
|
chain_code: z.ZodString;
|
|
4727
4727
|
remote_id: z.ZodString;
|
|
4728
|
-
webhook_token: z.
|
|
4728
|
+
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
4729
4729
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
4730
4730
|
}, z.core.$strict>>>;
|
|
4731
4731
|
}, z.core.$strip>], "platform">>;
|
|
@@ -4787,7 +4787,7 @@ declare const initializeLeadInputSchema: z.ZodOptional<z.ZodObject<{
|
|
|
4787
4787
|
}, z.core.$strip>>;
|
|
4788
4788
|
type InitializeLeadInput = z.input<typeof initializeLeadInputSchema>;
|
|
4789
4789
|
declare const initializeLeadQuerySchema: z.ZodObject<{
|
|
4790
|
-
convertLeadIntegrations: z.ZodOptional<z.
|
|
4790
|
+
convertLeadIntegrations: z.ZodOptional<z.ZodPreprocess<z.ZodBoolean, unknown>>;
|
|
4791
4791
|
}, z.core.$strip>;
|
|
4792
4792
|
type InitializeLeadQueryParams = z.infer<typeof initializeLeadQuerySchema>;
|
|
4793
4793
|
declare const initializeLeadResponseSchema: z.ZodObject<{
|
|
@@ -4919,7 +4919,7 @@ declare class InitializeLead extends AbstractApiRequest<typeof initializeLeadInp
|
|
|
4919
4919
|
}, z.core.$catchall<z.ZodUnknown>>, z.ZodPipe<z.ZodArray<z.ZodNever>, z.ZodTransform<{}, never[]>>]>;
|
|
4920
4920
|
}, z.core.$strip>;
|
|
4921
4921
|
readonly querySchema: z.ZodObject<{
|
|
4922
|
-
convertLeadIntegrations: z.ZodOptional<z.
|
|
4922
|
+
convertLeadIntegrations: z.ZodOptional<z.ZodPreprocess<z.ZodBoolean, unknown>>;
|
|
4923
4923
|
}, z.core.$strip>;
|
|
4924
4924
|
readonly headersSchema: undefined;
|
|
4925
4925
|
private readonly leadId;
|