@deliverart/sdk-js-integration-types 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 +119 -119
- package/dist/index.d.ts +119 -119
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -265,19 +265,19 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
265
265
|
service: z.ZodLiteral<"tilby">;
|
|
266
266
|
data: z.ZodOptional<z.ZodObject<{
|
|
267
267
|
apiToken: z.ZodString;
|
|
268
|
-
webhookEmail: z.
|
|
269
|
-
xClient: z.
|
|
270
|
-
defaultSellerId: z.
|
|
271
|
-
defaultSellerName: z.
|
|
272
|
-
autoPrintOrder: z.
|
|
273
|
-
deliverartChannelName: z.
|
|
274
|
-
defaultPaymentMethodId: z.
|
|
275
|
-
defaultPaymentMethodName: z.
|
|
276
|
-
defaultPaymentMethodTypeId: z.
|
|
277
|
-
defaultPaymentMethodTypeName: z.
|
|
278
|
-
defaultStockLocationId: z.
|
|
279
|
-
syncSettings: z.
|
|
280
|
-
paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.
|
|
268
|
+
webhookEmail: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
269
|
+
xClient: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
270
|
+
defaultSellerId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
271
|
+
defaultSellerName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
272
|
+
autoPrintOrder: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>, unknown>;
|
|
273
|
+
deliverartChannelName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
274
|
+
defaultPaymentMethodId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
275
|
+
defaultPaymentMethodName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
276
|
+
defaultPaymentMethodTypeId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
277
|
+
defaultPaymentMethodTypeName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
278
|
+
defaultStockLocationId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
279
|
+
syncSettings: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
280
|
+
paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.ZodPreprocess<z.ZodRecord<z.ZodEnum<{
|
|
281
281
|
stripe: "stripe";
|
|
282
282
|
bank_transfer: "bank_transfer";
|
|
283
283
|
cash: "cash";
|
|
@@ -289,7 +289,7 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
289
289
|
name: z.ZodString;
|
|
290
290
|
typeId: z.ZodNumber;
|
|
291
291
|
typeName: z.ZodString;
|
|
292
|
-
}, z.core.$strict
|
|
292
|
+
}, z.core.$strict>>, unknown>>>;
|
|
293
293
|
newMenuItemChannels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
294
294
|
application: "application";
|
|
295
295
|
ecommerce: "ecommerce";
|
|
@@ -321,7 +321,7 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
321
321
|
syncClosedSalesOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
322
322
|
respectDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
323
323
|
removeProductsWithoutDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
324
|
-
}, z.core.$strip
|
|
324
|
+
}, z.core.$strip>>, unknown>;
|
|
325
325
|
}, z.core.$strip>>;
|
|
326
326
|
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>>>>;
|
|
327
327
|
message: z.ZodNullable<z.ZodString>;
|
|
@@ -369,17 +369,17 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
369
369
|
collection: "collection";
|
|
370
370
|
}>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
|
|
371
371
|
minOrderValue: z.ZodCoercedNumber<unknown>;
|
|
372
|
-
displayName: z.
|
|
373
|
-
tagline: z.
|
|
374
|
-
menuViewMode: z.
|
|
372
|
+
displayName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
373
|
+
tagline: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
374
|
+
menuViewMode: z.ZodPreprocess<z.ZodOptional<z.ZodEnum<{
|
|
375
375
|
editorial: "editorial";
|
|
376
376
|
compact: "compact";
|
|
377
377
|
visual_grid: "visual_grid";
|
|
378
|
-
}
|
|
378
|
+
}>>, unknown>;
|
|
379
379
|
showProductImages: z.ZodOptional<z.ZodBoolean>;
|
|
380
|
-
logo: z.
|
|
381
|
-
heroImage: z.
|
|
382
|
-
theme: z.
|
|
380
|
+
logo: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
381
|
+
heroImage: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
382
|
+
theme: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
383
383
|
primary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
384
384
|
accent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
385
385
|
background: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -398,7 +398,7 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
398
398
|
nunito_sans: "nunito_sans";
|
|
399
399
|
playfair_display: "playfair_display";
|
|
400
400
|
}>>>;
|
|
401
|
-
}, z.core.$loose
|
|
401
|
+
}, z.core.$loose>>, unknown>;
|
|
402
402
|
}, z.core.$strip>>;
|
|
403
403
|
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>>>>;
|
|
404
404
|
message: z.ZodNullable<z.ZodString>;
|
|
@@ -443,7 +443,7 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
443
443
|
restaurants: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
444
444
|
name: z.ZodString;
|
|
445
445
|
platformRestaurantId: z.ZodString;
|
|
446
|
-
platformChainId: z.
|
|
446
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
447
447
|
salesModeId: z.ZodString;
|
|
448
448
|
categoryId: z.ZodString;
|
|
449
449
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -475,7 +475,7 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
475
475
|
}, z.core.$strip>, z.ZodObject<{
|
|
476
476
|
name: z.ZodString;
|
|
477
477
|
platformRestaurantId: z.ZodString;
|
|
478
|
-
platformChainId: z.
|
|
478
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
479
479
|
salesModeId: z.ZodString;
|
|
480
480
|
categoryId: z.ZodString;
|
|
481
481
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -507,7 +507,7 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
507
507
|
}, z.core.$strip>, z.ZodObject<{
|
|
508
508
|
name: z.ZodString;
|
|
509
509
|
platformRestaurantId: z.ZodString;
|
|
510
|
-
platformChainId: z.
|
|
510
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
511
511
|
salesModeId: z.ZodString;
|
|
512
512
|
categoryId: z.ZodString;
|
|
513
513
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -537,7 +537,7 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
537
537
|
}, z.core.$strip>, z.ZodObject<{
|
|
538
538
|
name: z.ZodString;
|
|
539
539
|
platformRestaurantId: z.ZodString;
|
|
540
|
-
platformChainId: z.
|
|
540
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
541
541
|
salesModeId: z.ZodString;
|
|
542
542
|
categoryId: z.ZodString;
|
|
543
543
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -567,7 +567,7 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
567
567
|
}, z.core.$strip>, z.ZodObject<{
|
|
568
568
|
name: z.ZodString;
|
|
569
569
|
platformRestaurantId: z.ZodString;
|
|
570
|
-
platformChainId: z.
|
|
570
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
571
571
|
salesModeId: z.ZodString;
|
|
572
572
|
categoryId: z.ZodString;
|
|
573
573
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -594,7 +594,7 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
594
594
|
password: z.ZodString;
|
|
595
595
|
chain_code: z.ZodString;
|
|
596
596
|
remote_id: z.ZodString;
|
|
597
|
-
webhook_token: z.
|
|
597
|
+
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
598
598
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
599
599
|
}, z.core.$strict>>>;
|
|
600
600
|
}, z.core.$strip>], "platform">>;
|
|
@@ -605,7 +605,7 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
605
605
|
restaurants: z.ZodArray<z.ZodDiscriminatedUnion<[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 activatableIntegrationSchema: z.ZodDiscriminatedUnion<[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>;
|
|
@@ -669,7 +669,7 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
669
669
|
}, z.core.$strip>, z.ZodObject<{
|
|
670
670
|
name: z.ZodString;
|
|
671
671
|
platformRestaurantId: z.ZodString;
|
|
672
|
-
platformChainId: z.
|
|
672
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
673
673
|
salesModeId: z.ZodString;
|
|
674
674
|
categoryId: z.ZodString;
|
|
675
675
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -699,7 +699,7 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
699
699
|
}, z.core.$strip>, z.ZodObject<{
|
|
700
700
|
name: z.ZodString;
|
|
701
701
|
platformRestaurantId: z.ZodString;
|
|
702
|
-
platformChainId: z.
|
|
702
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
703
703
|
salesModeId: z.ZodString;
|
|
704
704
|
categoryId: z.ZodString;
|
|
705
705
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -729,7 +729,7 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
729
729
|
}, z.core.$strip>, z.ZodObject<{
|
|
730
730
|
name: z.ZodString;
|
|
731
731
|
platformRestaurantId: z.ZodString;
|
|
732
|
-
platformChainId: z.
|
|
732
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
733
733
|
salesModeId: z.ZodString;
|
|
734
734
|
categoryId: z.ZodString;
|
|
735
735
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -756,7 +756,7 @@ declare const activatableIntegrationSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
756
756
|
password: z.ZodString;
|
|
757
757
|
chain_code: z.ZodString;
|
|
758
758
|
remote_id: z.ZodString;
|
|
759
|
-
webhook_token: z.
|
|
759
|
+
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
760
760
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
761
761
|
}, z.core.$strict>>>;
|
|
762
762
|
}, z.core.$strip>], "platform">>;
|
|
@@ -839,19 +839,19 @@ declare const integrationCassaInCloudDataSchema: z.ZodObject<{
|
|
|
839
839
|
type IntegrationCassaInCloudData = z.infer<typeof integrationCassaInCloudDataSchema>;
|
|
840
840
|
declare const integrationTilbyDataSchema: z.ZodObject<{
|
|
841
841
|
apiToken: z.ZodString;
|
|
842
|
-
webhookEmail: z.
|
|
843
|
-
xClient: z.
|
|
844
|
-
defaultSellerId: z.
|
|
845
|
-
defaultSellerName: z.
|
|
846
|
-
autoPrintOrder: z.
|
|
847
|
-
deliverartChannelName: z.
|
|
848
|
-
defaultPaymentMethodId: z.
|
|
849
|
-
defaultPaymentMethodName: z.
|
|
850
|
-
defaultPaymentMethodTypeId: z.
|
|
851
|
-
defaultPaymentMethodTypeName: z.
|
|
852
|
-
defaultStockLocationId: z.
|
|
853
|
-
syncSettings: z.
|
|
854
|
-
paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.
|
|
842
|
+
webhookEmail: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
843
|
+
xClient: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
844
|
+
defaultSellerId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
845
|
+
defaultSellerName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
846
|
+
autoPrintOrder: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>, unknown>;
|
|
847
|
+
deliverartChannelName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
848
|
+
defaultPaymentMethodId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
849
|
+
defaultPaymentMethodName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
850
|
+
defaultPaymentMethodTypeId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
851
|
+
defaultPaymentMethodTypeName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
852
|
+
defaultStockLocationId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
853
|
+
syncSettings: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
854
|
+
paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.ZodPreprocess<z.ZodRecord<z.ZodEnum<{
|
|
855
855
|
stripe: "stripe";
|
|
856
856
|
bank_transfer: "bank_transfer";
|
|
857
857
|
cash: "cash";
|
|
@@ -863,7 +863,7 @@ declare const integrationTilbyDataSchema: z.ZodObject<{
|
|
|
863
863
|
name: z.ZodString;
|
|
864
864
|
typeId: z.ZodNumber;
|
|
865
865
|
typeName: z.ZodString;
|
|
866
|
-
}, z.core.$strict
|
|
866
|
+
}, z.core.$strict>>, unknown>>>;
|
|
867
867
|
newMenuItemChannels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
868
868
|
application: "application";
|
|
869
869
|
ecommerce: "ecommerce";
|
|
@@ -895,7 +895,7 @@ declare const integrationTilbyDataSchema: z.ZodObject<{
|
|
|
895
895
|
syncClosedSalesOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
896
896
|
respectDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
897
897
|
removeProductsWithoutDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
898
|
-
}, z.core.$strip
|
|
898
|
+
}, z.core.$strip>>, unknown>;
|
|
899
899
|
}, z.core.$strip>;
|
|
900
900
|
type IntegrationTilbyData = z.infer<typeof integrationTilbyDataSchema>;
|
|
901
901
|
declare const integrationEcommerceDataSchema: z.ZodObject<{
|
|
@@ -905,17 +905,17 @@ declare const integrationEcommerceDataSchema: z.ZodObject<{
|
|
|
905
905
|
collection: "collection";
|
|
906
906
|
}>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
|
|
907
907
|
minOrderValue: z.ZodCoercedNumber<unknown>;
|
|
908
|
-
displayName: z.
|
|
909
|
-
tagline: z.
|
|
910
|
-
menuViewMode: z.
|
|
908
|
+
displayName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
909
|
+
tagline: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
910
|
+
menuViewMode: z.ZodPreprocess<z.ZodOptional<z.ZodEnum<{
|
|
911
911
|
editorial: "editorial";
|
|
912
912
|
compact: "compact";
|
|
913
913
|
visual_grid: "visual_grid";
|
|
914
|
-
}
|
|
914
|
+
}>>, unknown>;
|
|
915
915
|
showProductImages: z.ZodOptional<z.ZodBoolean>;
|
|
916
|
-
logo: z.
|
|
917
|
-
heroImage: z.
|
|
918
|
-
theme: z.
|
|
916
|
+
logo: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
917
|
+
heroImage: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
918
|
+
theme: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
919
919
|
primary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
920
920
|
accent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
921
921
|
background: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -934,7 +934,7 @@ declare const integrationEcommerceDataSchema: z.ZodObject<{
|
|
|
934
934
|
nunito_sans: "nunito_sans";
|
|
935
935
|
playfair_display: "playfair_display";
|
|
936
936
|
}>>>;
|
|
937
|
-
}, z.core.$loose
|
|
937
|
+
}, z.core.$loose>>, unknown>;
|
|
938
938
|
}, z.core.$strip>;
|
|
939
939
|
type IntegrationEcommerceData = z.infer<typeof integrationEcommerceDataSchema>;
|
|
940
940
|
declare const integrationElephantPlatformSchema: z.ZodEnum<{
|
|
@@ -974,7 +974,7 @@ declare const integrationElephantYemeksepetiAuthenticationSchema: z.ZodObject<{
|
|
|
974
974
|
password: z.ZodString;
|
|
975
975
|
chain_code: z.ZodString;
|
|
976
976
|
remote_id: z.ZodString;
|
|
977
|
-
webhook_token: z.
|
|
977
|
+
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
978
978
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
979
979
|
}, z.core.$strict>;
|
|
980
980
|
declare const integrationElephantRestaurantAuthenticationSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1002,14 +1002,14 @@ declare const integrationElephantRestaurantAuthenticationSchema: z.ZodUnion<read
|
|
|
1002
1002
|
password: z.ZodString;
|
|
1003
1003
|
chain_code: z.ZodString;
|
|
1004
1004
|
remote_id: z.ZodString;
|
|
1005
|
-
webhook_token: z.
|
|
1005
|
+
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1006
1006
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
1007
1007
|
}, z.core.$strict>]>;
|
|
1008
1008
|
type IntegrationElephantRestaurantAuthentication = z.infer<typeof integrationElephantRestaurantAuthenticationSchema>;
|
|
1009
1009
|
declare const integrationElephantRestaurantDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1010
1010
|
name: z.ZodString;
|
|
1011
1011
|
platformRestaurantId: z.ZodString;
|
|
1012
|
-
platformChainId: z.
|
|
1012
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1013
1013
|
salesModeId: z.ZodString;
|
|
1014
1014
|
categoryId: z.ZodString;
|
|
1015
1015
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -1041,7 +1041,7 @@ declare const integrationElephantRestaurantDataSchema: z.ZodDiscriminatedUnion<[
|
|
|
1041
1041
|
}, z.core.$strip>, z.ZodObject<{
|
|
1042
1042
|
name: z.ZodString;
|
|
1043
1043
|
platformRestaurantId: z.ZodString;
|
|
1044
|
-
platformChainId: z.
|
|
1044
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1045
1045
|
salesModeId: z.ZodString;
|
|
1046
1046
|
categoryId: z.ZodString;
|
|
1047
1047
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -1073,7 +1073,7 @@ declare const integrationElephantRestaurantDataSchema: z.ZodDiscriminatedUnion<[
|
|
|
1073
1073
|
}, z.core.$strip>, z.ZodObject<{
|
|
1074
1074
|
name: z.ZodString;
|
|
1075
1075
|
platformRestaurantId: z.ZodString;
|
|
1076
|
-
platformChainId: z.
|
|
1076
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1077
1077
|
salesModeId: z.ZodString;
|
|
1078
1078
|
categoryId: z.ZodString;
|
|
1079
1079
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -1103,7 +1103,7 @@ declare const integrationElephantRestaurantDataSchema: z.ZodDiscriminatedUnion<[
|
|
|
1103
1103
|
}, z.core.$strip>, z.ZodObject<{
|
|
1104
1104
|
name: z.ZodString;
|
|
1105
1105
|
platformRestaurantId: z.ZodString;
|
|
1106
|
-
platformChainId: z.
|
|
1106
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1107
1107
|
salesModeId: z.ZodString;
|
|
1108
1108
|
categoryId: z.ZodString;
|
|
1109
1109
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -1133,7 +1133,7 @@ declare const integrationElephantRestaurantDataSchema: z.ZodDiscriminatedUnion<[
|
|
|
1133
1133
|
}, z.core.$strip>, z.ZodObject<{
|
|
1134
1134
|
name: z.ZodString;
|
|
1135
1135
|
platformRestaurantId: z.ZodString;
|
|
1136
|
-
platformChainId: z.
|
|
1136
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1137
1137
|
salesModeId: z.ZodString;
|
|
1138
1138
|
categoryId: z.ZodString;
|
|
1139
1139
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -1160,7 +1160,7 @@ declare const integrationElephantRestaurantDataSchema: z.ZodDiscriminatedUnion<[
|
|
|
1160
1160
|
password: z.ZodString;
|
|
1161
1161
|
chain_code: z.ZodString;
|
|
1162
1162
|
remote_id: z.ZodString;
|
|
1163
|
-
webhook_token: z.
|
|
1163
|
+
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1164
1164
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
1165
1165
|
}, z.core.$strict>>>;
|
|
1166
1166
|
}, z.core.$strip>], "platform">;
|
|
@@ -1169,7 +1169,7 @@ declare const integrationElephantDataSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1169
1169
|
restaurants: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1170
1170
|
name: z.ZodString;
|
|
1171
1171
|
platformRestaurantId: z.ZodString;
|
|
1172
|
-
platformChainId: z.
|
|
1172
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1173
1173
|
salesModeId: z.ZodString;
|
|
1174
1174
|
categoryId: z.ZodString;
|
|
1175
1175
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -1201,7 +1201,7 @@ declare const integrationElephantDataSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1201
1201
|
}, z.core.$strip>, z.ZodObject<{
|
|
1202
1202
|
name: z.ZodString;
|
|
1203
1203
|
platformRestaurantId: z.ZodString;
|
|
1204
|
-
platformChainId: z.
|
|
1204
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1205
1205
|
salesModeId: z.ZodString;
|
|
1206
1206
|
categoryId: z.ZodString;
|
|
1207
1207
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -1233,7 +1233,7 @@ declare const integrationElephantDataSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1233
1233
|
}, z.core.$strip>, z.ZodObject<{
|
|
1234
1234
|
name: z.ZodString;
|
|
1235
1235
|
platformRestaurantId: z.ZodString;
|
|
1236
|
-
platformChainId: z.
|
|
1236
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1237
1237
|
salesModeId: z.ZodString;
|
|
1238
1238
|
categoryId: z.ZodString;
|
|
1239
1239
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -1263,7 +1263,7 @@ declare const integrationElephantDataSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1263
1263
|
}, z.core.$strip>, z.ZodObject<{
|
|
1264
1264
|
name: z.ZodString;
|
|
1265
1265
|
platformRestaurantId: z.ZodString;
|
|
1266
|
-
platformChainId: z.
|
|
1266
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1267
1267
|
salesModeId: z.ZodString;
|
|
1268
1268
|
categoryId: z.ZodString;
|
|
1269
1269
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -1293,7 +1293,7 @@ declare const integrationElephantDataSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1293
1293
|
}, z.core.$strip>, z.ZodObject<{
|
|
1294
1294
|
name: z.ZodString;
|
|
1295
1295
|
platformRestaurantId: z.ZodString;
|
|
1296
|
-
platformChainId: z.
|
|
1296
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1297
1297
|
salesModeId: z.ZodString;
|
|
1298
1298
|
categoryId: z.ZodString;
|
|
1299
1299
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -1320,7 +1320,7 @@ declare const integrationElephantDataSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1320
1320
|
password: z.ZodString;
|
|
1321
1321
|
chain_code: z.ZodString;
|
|
1322
1322
|
remote_id: z.ZodString;
|
|
1323
|
-
webhook_token: z.
|
|
1323
|
+
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1324
1324
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
1325
1325
|
}, z.core.$strict>>>;
|
|
1326
1326
|
}, z.core.$strip>], "platform">>;
|
|
@@ -1331,7 +1331,7 @@ declare const integrationElephantDataSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1331
1331
|
restaurants: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1332
1332
|
name: z.ZodString;
|
|
1333
1333
|
platformRestaurantId: z.ZodString;
|
|
1334
|
-
platformChainId: z.
|
|
1334
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1335
1335
|
salesModeId: z.ZodString;
|
|
1336
1336
|
categoryId: z.ZodString;
|
|
1337
1337
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -1363,7 +1363,7 @@ declare const integrationElephantDataSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1363
1363
|
}, z.core.$strip>, z.ZodObject<{
|
|
1364
1364
|
name: z.ZodString;
|
|
1365
1365
|
platformRestaurantId: z.ZodString;
|
|
1366
|
-
platformChainId: z.
|
|
1366
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1367
1367
|
salesModeId: z.ZodString;
|
|
1368
1368
|
categoryId: z.ZodString;
|
|
1369
1369
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -1395,7 +1395,7 @@ declare const integrationElephantDataSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1395
1395
|
}, z.core.$strip>, z.ZodObject<{
|
|
1396
1396
|
name: z.ZodString;
|
|
1397
1397
|
platformRestaurantId: z.ZodString;
|
|
1398
|
-
platformChainId: z.
|
|
1398
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1399
1399
|
salesModeId: z.ZodString;
|
|
1400
1400
|
categoryId: z.ZodString;
|
|
1401
1401
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -1425,7 +1425,7 @@ declare const integrationElephantDataSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1425
1425
|
}, z.core.$strip>, z.ZodObject<{
|
|
1426
1426
|
name: z.ZodString;
|
|
1427
1427
|
platformRestaurantId: z.ZodString;
|
|
1428
|
-
platformChainId: z.
|
|
1428
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1429
1429
|
salesModeId: z.ZodString;
|
|
1430
1430
|
categoryId: z.ZodString;
|
|
1431
1431
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -1455,7 +1455,7 @@ declare const integrationElephantDataSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1455
1455
|
}, z.core.$strip>, z.ZodObject<{
|
|
1456
1456
|
name: z.ZodString;
|
|
1457
1457
|
platformRestaurantId: z.ZodString;
|
|
1458
|
-
platformChainId: z.
|
|
1458
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1459
1459
|
salesModeId: z.ZodString;
|
|
1460
1460
|
categoryId: z.ZodString;
|
|
1461
1461
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -1482,7 +1482,7 @@ declare const integrationElephantDataSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
1482
1482
|
password: z.ZodString;
|
|
1483
1483
|
chain_code: z.ZodString;
|
|
1484
1484
|
remote_id: z.ZodString;
|
|
1485
|
-
webhook_token: z.
|
|
1485
|
+
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1486
1486
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
1487
1487
|
}, z.core.$strict>>>;
|
|
1488
1488
|
}, z.core.$strip>], "platform">>;
|
|
@@ -1533,19 +1533,19 @@ declare const integrationServiceDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1533
1533
|
service: z.ZodLiteral<"tilby">;
|
|
1534
1534
|
data: z.ZodObject<{
|
|
1535
1535
|
apiToken: z.ZodString;
|
|
1536
|
-
webhookEmail: z.
|
|
1537
|
-
xClient: z.
|
|
1538
|
-
defaultSellerId: z.
|
|
1539
|
-
defaultSellerName: z.
|
|
1540
|
-
autoPrintOrder: z.
|
|
1541
|
-
deliverartChannelName: z.
|
|
1542
|
-
defaultPaymentMethodId: z.
|
|
1543
|
-
defaultPaymentMethodName: z.
|
|
1544
|
-
defaultPaymentMethodTypeId: z.
|
|
1545
|
-
defaultPaymentMethodTypeName: z.
|
|
1546
|
-
defaultStockLocationId: z.
|
|
1547
|
-
syncSettings: z.
|
|
1548
|
-
paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.
|
|
1536
|
+
webhookEmail: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1537
|
+
xClient: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1538
|
+
defaultSellerId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
1539
|
+
defaultSellerName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1540
|
+
autoPrintOrder: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>, unknown>;
|
|
1541
|
+
deliverartChannelName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1542
|
+
defaultPaymentMethodId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
1543
|
+
defaultPaymentMethodName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1544
|
+
defaultPaymentMethodTypeId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
1545
|
+
defaultPaymentMethodTypeName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1546
|
+
defaultStockLocationId: z.ZodPreprocess<z.ZodOptional<z.ZodCoercedNumber<unknown>>, unknown>;
|
|
1547
|
+
syncSettings: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
1548
|
+
paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.ZodPreprocess<z.ZodRecord<z.ZodEnum<{
|
|
1549
1549
|
stripe: "stripe";
|
|
1550
1550
|
bank_transfer: "bank_transfer";
|
|
1551
1551
|
cash: "cash";
|
|
@@ -1557,7 +1557,7 @@ declare const integrationServiceDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1557
1557
|
name: z.ZodString;
|
|
1558
1558
|
typeId: z.ZodNumber;
|
|
1559
1559
|
typeName: z.ZodString;
|
|
1560
|
-
}, z.core.$strict
|
|
1560
|
+
}, z.core.$strict>>, unknown>>>;
|
|
1561
1561
|
newMenuItemChannels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1562
1562
|
application: "application";
|
|
1563
1563
|
ecommerce: "ecommerce";
|
|
@@ -1589,7 +1589,7 @@ declare const integrationServiceDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1589
1589
|
syncClosedSalesOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1590
1590
|
respectDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1591
1591
|
removeProductsWithoutDeliverartChannel: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1592
|
-
}, z.core.$strip
|
|
1592
|
+
}, z.core.$strip>>, unknown>;
|
|
1593
1593
|
}, z.core.$strip>;
|
|
1594
1594
|
}, z.core.$strip>, z.ZodObject<{
|
|
1595
1595
|
service: z.ZodLiteral<"ecommerce">;
|
|
@@ -1600,17 +1600,17 @@ declare const integrationServiceDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1600
1600
|
collection: "collection";
|
|
1601
1601
|
}>, z.ZodLiteral<"take_away">]>, z.ZodTransform<"delivery" | "collection", "delivery" | "collection" | "take_away">>>;
|
|
1602
1602
|
minOrderValue: z.ZodCoercedNumber<unknown>;
|
|
1603
|
-
displayName: z.
|
|
1604
|
-
tagline: z.
|
|
1605
|
-
menuViewMode: z.
|
|
1603
|
+
displayName: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1604
|
+
tagline: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1605
|
+
menuViewMode: z.ZodPreprocess<z.ZodOptional<z.ZodEnum<{
|
|
1606
1606
|
editorial: "editorial";
|
|
1607
1607
|
compact: "compact";
|
|
1608
1608
|
visual_grid: "visual_grid";
|
|
1609
|
-
}
|
|
1609
|
+
}>>, unknown>;
|
|
1610
1610
|
showProductImages: z.ZodOptional<z.ZodBoolean>;
|
|
1611
|
-
logo: z.
|
|
1612
|
-
heroImage: z.
|
|
1613
|
-
theme: z.
|
|
1611
|
+
logo: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1612
|
+
heroImage: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1613
|
+
theme: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
1614
1614
|
primary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1615
1615
|
accent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1616
1616
|
background: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1629,7 +1629,7 @@ declare const integrationServiceDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1629
1629
|
nunito_sans: "nunito_sans";
|
|
1630
1630
|
playfair_display: "playfair_display";
|
|
1631
1631
|
}>>>;
|
|
1632
|
-
}, z.core.$loose
|
|
1632
|
+
}, z.core.$loose>>, unknown>;
|
|
1633
1633
|
}, z.core.$strip>;
|
|
1634
1634
|
}, z.core.$strip>, z.ZodObject<{
|
|
1635
1635
|
service: z.ZodLiteral<"elephant">;
|
|
@@ -1637,7 +1637,7 @@ declare const integrationServiceDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1637
1637
|
restaurants: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1638
1638
|
name: z.ZodString;
|
|
1639
1639
|
platformRestaurantId: z.ZodString;
|
|
1640
|
-
platformChainId: z.
|
|
1640
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1641
1641
|
salesModeId: z.ZodString;
|
|
1642
1642
|
categoryId: z.ZodString;
|
|
1643
1643
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -1669,7 +1669,7 @@ declare const integrationServiceDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1669
1669
|
}, z.core.$strip>, z.ZodObject<{
|
|
1670
1670
|
name: z.ZodString;
|
|
1671
1671
|
platformRestaurantId: z.ZodString;
|
|
1672
|
-
platformChainId: z.
|
|
1672
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1673
1673
|
salesModeId: z.ZodString;
|
|
1674
1674
|
categoryId: z.ZodString;
|
|
1675
1675
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -1701,7 +1701,7 @@ declare const integrationServiceDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1701
1701
|
}, z.core.$strip>, z.ZodObject<{
|
|
1702
1702
|
name: z.ZodString;
|
|
1703
1703
|
platformRestaurantId: z.ZodString;
|
|
1704
|
-
platformChainId: z.
|
|
1704
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1705
1705
|
salesModeId: z.ZodString;
|
|
1706
1706
|
categoryId: z.ZodString;
|
|
1707
1707
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -1731,7 +1731,7 @@ declare const integrationServiceDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1731
1731
|
}, z.core.$strip>, z.ZodObject<{
|
|
1732
1732
|
name: z.ZodString;
|
|
1733
1733
|
platformRestaurantId: z.ZodString;
|
|
1734
|
-
platformChainId: z.
|
|
1734
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1735
1735
|
salesModeId: z.ZodString;
|
|
1736
1736
|
categoryId: z.ZodString;
|
|
1737
1737
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -1761,7 +1761,7 @@ declare const integrationServiceDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1761
1761
|
}, z.core.$strip>, z.ZodObject<{
|
|
1762
1762
|
name: z.ZodString;
|
|
1763
1763
|
platformRestaurantId: z.ZodString;
|
|
1764
|
-
platformChainId: z.
|
|
1764
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1765
1765
|
salesModeId: z.ZodString;
|
|
1766
1766
|
categoryId: z.ZodString;
|
|
1767
1767
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -1788,7 +1788,7 @@ declare const integrationServiceDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1788
1788
|
password: z.ZodString;
|
|
1789
1789
|
chain_code: z.ZodString;
|
|
1790
1790
|
remote_id: z.ZodString;
|
|
1791
|
-
webhook_token: z.
|
|
1791
|
+
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1792
1792
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
1793
1793
|
}, z.core.$strict>>>;
|
|
1794
1794
|
}, z.core.$strip>], "platform">>;
|
|
@@ -1799,7 +1799,7 @@ declare const integrationServiceDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1799
1799
|
restaurants: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1800
1800
|
name: z.ZodString;
|
|
1801
1801
|
platformRestaurantId: z.ZodString;
|
|
1802
|
-
platformChainId: z.
|
|
1802
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1803
1803
|
salesModeId: z.ZodString;
|
|
1804
1804
|
categoryId: z.ZodString;
|
|
1805
1805
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -1831,7 +1831,7 @@ declare const integrationServiceDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1831
1831
|
}, z.core.$strip>, z.ZodObject<{
|
|
1832
1832
|
name: z.ZodString;
|
|
1833
1833
|
platformRestaurantId: z.ZodString;
|
|
1834
|
-
platformChainId: z.
|
|
1834
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1835
1835
|
salesModeId: z.ZodString;
|
|
1836
1836
|
categoryId: z.ZodString;
|
|
1837
1837
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -1863,7 +1863,7 @@ declare const integrationServiceDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1863
1863
|
}, z.core.$strip>, z.ZodObject<{
|
|
1864
1864
|
name: z.ZodString;
|
|
1865
1865
|
platformRestaurantId: z.ZodString;
|
|
1866
|
-
platformChainId: z.
|
|
1866
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1867
1867
|
salesModeId: z.ZodString;
|
|
1868
1868
|
categoryId: z.ZodString;
|
|
1869
1869
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -1893,7 +1893,7 @@ declare const integrationServiceDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1893
1893
|
}, z.core.$strip>, z.ZodObject<{
|
|
1894
1894
|
name: z.ZodString;
|
|
1895
1895
|
platformRestaurantId: z.ZodString;
|
|
1896
|
-
platformChainId: z.
|
|
1896
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1897
1897
|
salesModeId: z.ZodString;
|
|
1898
1898
|
categoryId: z.ZodString;
|
|
1899
1899
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -1923,7 +1923,7 @@ declare const integrationServiceDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1923
1923
|
}, z.core.$strip>, z.ZodObject<{
|
|
1924
1924
|
name: z.ZodString;
|
|
1925
1925
|
platformRestaurantId: z.ZodString;
|
|
1926
|
-
platformChainId: z.
|
|
1926
|
+
platformChainId: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1927
1927
|
salesModeId: z.ZodString;
|
|
1928
1928
|
categoryId: z.ZodString;
|
|
1929
1929
|
defaultTaxRate: z.ZodCoercedNumber<unknown>;
|
|
@@ -1950,7 +1950,7 @@ declare const integrationServiceDataSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
1950
1950
|
password: z.ZodString;
|
|
1951
1951
|
chain_code: z.ZodString;
|
|
1952
1952
|
remote_id: z.ZodString;
|
|
1953
|
-
webhook_token: z.
|
|
1953
|
+
webhook_token: z.ZodPreprocess<z.ZodOptional<z.ZodString>, unknown>;
|
|
1954
1954
|
base_url: z.ZodOptional<z.ZodURL>;
|
|
1955
1955
|
}, z.core.$strict>>>;
|
|
1956
1956
|
}, z.core.$strip>], "platform">>;
|
|
@@ -1989,7 +1989,7 @@ declare const integrationTilbyPaymentMappingSchema: z.ZodObject<{
|
|
|
1989
1989
|
typeName: z.ZodString;
|
|
1990
1990
|
}, z.core.$strict>;
|
|
1991
1991
|
type IntegrationTilbyPaymentMapping = z.infer<typeof integrationTilbyPaymentMappingSchema>;
|
|
1992
|
-
declare const integrationTilbyPaymentMappingsSchema: z.
|
|
1992
|
+
declare const integrationTilbyPaymentMappingsSchema: z.ZodPreprocess<z.ZodRecord<z.ZodEnum<{
|
|
1993
1993
|
stripe: "stripe";
|
|
1994
1994
|
bank_transfer: "bank_transfer";
|
|
1995
1995
|
cash: "cash";
|
|
@@ -2001,9 +2001,9 @@ declare const integrationTilbyPaymentMappingsSchema: z.ZodPipe<z.ZodTransform<un
|
|
|
2001
2001
|
name: z.ZodString;
|
|
2002
2002
|
typeId: z.ZodNumber;
|
|
2003
2003
|
typeName: z.ZodString;
|
|
2004
|
-
}, z.core.$strict
|
|
2004
|
+
}, z.core.$strict>>, unknown>;
|
|
2005
2005
|
declare const integrationTilbySyncSettingsSchema: z.ZodObject<{
|
|
2006
|
-
paymentMethodMappings: z.ZodDefault<z.
|
|
2006
|
+
paymentMethodMappings: z.ZodDefault<z.ZodPreprocess<z.ZodRecord<z.ZodEnum<{
|
|
2007
2007
|
stripe: "stripe";
|
|
2008
2008
|
bank_transfer: "bank_transfer";
|
|
2009
2009
|
cash: "cash";
|
|
@@ -2015,7 +2015,7 @@ declare const integrationTilbySyncSettingsSchema: z.ZodObject<{
|
|
|
2015
2015
|
name: z.ZodString;
|
|
2016
2016
|
typeId: z.ZodNumber;
|
|
2017
2017
|
typeName: z.ZodString;
|
|
2018
|
-
}, z.core.$strict
|
|
2018
|
+
}, z.core.$strict>>, unknown>>;
|
|
2019
2019
|
newMenuItemChannels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2020
2020
|
application: "application";
|
|
2021
2021
|
ecommerce: "ecommerce";
|
|
@@ -2051,7 +2051,7 @@ declare const integrationTilbySyncSettingsSchema: z.ZodObject<{
|
|
|
2051
2051
|
}, z.core.$strip>;
|
|
2052
2052
|
type IntegrationTilbySyncSettings = z.infer<typeof integrationTilbySyncSettingsSchema>;
|
|
2053
2053
|
declare const integrationTilbyEditableSyncSettingsSchema: z.ZodObject<{
|
|
2054
|
-
paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.
|
|
2054
|
+
paymentMethodMappings: z.ZodOptional<z.ZodDefault<z.ZodPreprocess<z.ZodRecord<z.ZodEnum<{
|
|
2055
2055
|
stripe: "stripe";
|
|
2056
2056
|
bank_transfer: "bank_transfer";
|
|
2057
2057
|
cash: "cash";
|
|
@@ -2063,7 +2063,7 @@ declare const integrationTilbyEditableSyncSettingsSchema: z.ZodObject<{
|
|
|
2063
2063
|
name: z.ZodString;
|
|
2064
2064
|
typeId: z.ZodNumber;
|
|
2065
2065
|
typeName: z.ZodString;
|
|
2066
|
-
}, z.core.$strict
|
|
2066
|
+
}, z.core.$strict>>, unknown>>>;
|
|
2067
2067
|
newMenuItemChannels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2068
2068
|
application: "application";
|
|
2069
2069
|
ecommerce: "ecommerce";
|