@loczer/storefront-sdk 0.152.0 → 0.153.0
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/StorefrontProvider.d.ts +677 -1139
- package/dist/StorefrontProvider.d.ts.map +1 -0
- package/dist/components/AboutSection/index.d.ts.map +1 -0
- package/dist/components/AboutSection/index.js +6 -6
- package/dist/components/AddressAutocompleteInput/index.d.ts.map +1 -0
- package/dist/components/BikeProductCard/index.d.ts.map +1 -0
- package/dist/components/BookingBikeVariantDialog/index.d.ts +12 -2
- package/dist/components/BookingBikeVariantDialog/index.d.ts.map +1 -0
- package/dist/components/BookingFlowSteps/index.d.ts.map +1 -0
- package/dist/components/BookingPeriodSelector/BookingPeriodContext.d.ts +9 -0
- package/dist/components/BookingPeriodSelector/BookingPeriodContext.d.ts.map +1 -0
- package/dist/components/BookingPeriodSelector/components/BookingEndDateField.d.ts +2 -0
- package/dist/components/BookingPeriodSelector/components/BookingEndDateField.d.ts.map +1 -0
- package/dist/components/BookingPeriodSelector/components/BookingEndTimeField.d.ts +2 -0
- package/dist/components/BookingPeriodSelector/components/BookingEndTimeField.d.ts.map +1 -0
- package/dist/components/BookingPeriodSelector/components/BookingPeriodFieldErrorMessage.d.ts +7 -0
- package/dist/components/BookingPeriodSelector/components/BookingPeriodFieldErrorMessage.d.ts.map +1 -0
- package/dist/components/BookingPeriodSelector/components/BookingStartDateField.d.ts +2 -0
- package/dist/components/BookingPeriodSelector/components/BookingStartDateField.d.ts.map +1 -0
- package/dist/components/BookingPeriodSelector/components/BookingStartTimeField.d.ts +2 -0
- package/dist/components/BookingPeriodSelector/components/BookingStartTimeField.d.ts.map +1 -0
- package/dist/components/BookingPeriodSelector/components/internal/ModalDayPickerField.d.ts +24 -0
- package/dist/components/BookingPeriodSelector/components/internal/ModalDayPickerField.d.ts.map +1 -0
- package/dist/components/BookingPeriodSelector/components/internal/ModalHourPickerField.d.ts +22 -0
- package/dist/components/BookingPeriodSelector/components/internal/ModalHourPickerField.d.ts.map +1 -0
- package/dist/components/BookingPeriodSelector/index.d.ts.map +1 -0
- package/dist/components/BookingPeriodSelector/useBookingPeriodController.d.ts +102 -0
- package/dist/components/BookingPeriodSelector/useBookingPeriodController.d.ts.map +1 -0
- package/dist/components/ContactSection/index.d.ts.map +1 -0
- package/dist/components/ContactSection/index.js +5 -5
- package/dist/components/ContractSaleDocument/AcceptanceModal.d.ts +8 -0
- package/dist/components/ContractSaleDocument/AcceptanceModal.d.ts.map +1 -0
- package/dist/components/ContractSaleDocument/Invoice.d.ts +13 -0
- package/dist/components/ContractSaleDocument/Invoice.d.ts.map +1 -0
- package/dist/components/ContractSaleDocument/InvoiceDetails.d.ts +18 -0
- package/dist/components/ContractSaleDocument/InvoiceDetails.d.ts.map +1 -0
- package/dist/components/ContractSaleDocument/Page.d.ts +8 -0
- package/dist/components/ContractSaleDocument/Page.d.ts.map +1 -0
- package/dist/components/ContractSaleDocument/PageFooter.d.ts +11 -0
- package/dist/components/ContractSaleDocument/PageFooter.d.ts.map +1 -0
- package/dist/components/ContractSaleDocument/PageHeader.d.ts +11 -0
- package/dist/components/ContractSaleDocument/PageHeader.d.ts.map +1 -0
- package/dist/components/ContractSaleDocument/SignatureModal.d.ts +9 -0
- package/dist/components/ContractSaleDocument/SignatureModal.d.ts.map +1 -0
- package/dist/components/ContractSaleDocument/TermsAndConditionsContent.d.ts +12 -0
- package/dist/components/ContractSaleDocument/TermsAndConditionsContent.d.ts.map +1 -0
- package/dist/components/ContractSaleDocument/ThumbnailSidebar.d.ts +12 -0
- package/dist/components/ContractSaleDocument/ThumbnailSidebar.d.ts.map +1 -0
- package/dist/components/ContractSaleDocument/index.d.ts.map +1 -0
- package/dist/components/ContractSaleDocument/language.d.ts +7 -0
- package/dist/components/ContractSaleDocument/language.d.ts.map +1 -0
- package/dist/components/DelayedReveal/index.d.ts.map +1 -0
- package/dist/components/DeliveryAddressSelector/index.d.ts.map +1 -0
- package/dist/components/Footer/BusinessHours.d.ts +17 -0
- package/dist/components/Footer/BusinessHours.d.ts.map +1 -0
- package/dist/components/Footer/businessHoursUtils.d.ts +14 -0
- package/dist/components/Footer/businessHoursUtils.d.ts.map +1 -0
- package/dist/components/Footer/index.d.ts.map +1 -0
- package/dist/components/FulfillmentSection/index.d.ts.map +1 -0
- package/dist/components/Header/index.d.ts.map +1 -0
- package/dist/components/Layout/index.d.ts.map +1 -0
- package/dist/components/Map/createMarkerElement.d.ts +2 -0
- package/dist/components/Map/createMarkerElement.d.ts.map +1 -0
- package/dist/components/Map/index.d.ts +101 -1
- package/dist/components/Map/index.d.ts.map +1 -0
- package/dist/components/Map/index.js +4 -3
- package/dist/components/PlatformFooter/index.d.ts.map +1 -0
- package/dist/components/PlaygroundDevFloatingButton/index.d.ts.map +1 -0
- package/dist/components/PoweredByLoczerBadge/index.d.ts.map +1 -0
- package/dist/components/ProductPriceBadge/index.d.ts.map +1 -0
- package/dist/components/ProductWarningNotice/index.d.ts.map +1 -0
- package/dist/components/StepSectionTitle/index.d.ts.map +1 -0
- package/dist/components/StorefrontCartPanel/index.d.ts.map +1 -0
- package/dist/components/StorefrontPopupMessages/index.d.ts.map +1 -0
- package/dist/components/TestimonialsSection/index.d.ts.map +1 -0
- package/dist/components/WhatsAppFloatingButton/WhatsAppFloatingButton.d.ts +5 -0
- package/dist/components/WhatsAppFloatingButton/WhatsAppFloatingButton.d.ts.map +1 -0
- package/dist/components/WhatsAppFloatingButton/index.d.ts.map +1 -0
- package/dist/components/WhatsAppFloatingButton/useWhatsAppFloatingButton.d.ts +11 -0
- package/dist/components/WhatsAppFloatingButton/useWhatsAppFloatingButton.d.ts.map +1 -0
- package/dist/components/payment/MollieCardFieldsForm.d.ts +11 -0
- package/dist/components/payment/MollieCardFieldsForm.d.ts.map +1 -0
- package/dist/components/payment/StripeCardFieldsForm.d.ts +16 -0
- package/dist/components/payment/StripeCardFieldsForm.d.ts.map +1 -0
- package/dist/components/payment/index.d.ts.map +1 -0
- package/dist/data/accessories.d.ts.map +1 -0
- package/dist/data/bikes.d.ts.map +1 -0
- package/dist/data/config.d.ts.map +1 -0
- package/dist/i18n/I18nProvider.d.ts.map +1 -0
- package/dist/i18n/en.d.ts.map +1 -0
- package/dist/i18n/fr.d.ts.map +1 -0
- package/dist/index.d.ts +5212 -0
- package/dist/lib/apiCall.d.ts.map +1 -0
- package/dist/lib/booking-period-time-slots.d.ts.map +1 -0
- package/dist/lib/booking-period.d.ts.map +1 -0
- package/dist/lib/booking.d.ts.map +1 -0
- package/dist/lib/cart.d.ts.map +1 -0
- package/dist/lib/cartSummary.d.ts.map +1 -0
- package/dist/lib/checkoutPaymentDecision.d.ts.map +1 -0
- package/dist/lib/checkoutPaymentSession.d.ts.map +1 -0
- package/dist/lib/checkoutSubmit.d.ts.map +1 -0
- package/dist/lib/checkoutVerifyCoupon.d.ts.map +1 -0
- package/dist/lib/contactForm.d.ts.map +1 -0
- package/dist/lib/contractSaleDocument.d.ts.map +1 -0
- package/dist/lib/contractSaleDocumentApi.d.ts.map +1 -0
- package/dist/lib/isAutomationRuntime.d.ts.map +1 -0
- package/dist/lib/mollieComponentStyles.d.ts.map +1 -0
- package/dist/lib/playgroundDevSettings.d.ts.map +1 -0
- package/dist/lib/pricing.d.ts.map +1 -0
- package/dist/lib/productImageStyles.d.ts.map +1 -0
- package/dist/lib/productVariants.d.ts.map +1 -0
- package/dist/lib/products.d.ts.map +1 -0
- package/dist/lib/richAddress.d.ts.map +1 -0
- package/dist/lib/securePaymentLink.d.ts.map +1 -0
- package/dist/lib/storefrontAvailability.d.ts.map +1 -0
- package/dist/lib/storefrontImage.d.ts.map +1 -0
- package/dist/lib/storefrontProducts.d.ts.map +1 -0
- package/dist/lib/storefrontReviews.d.ts.map +1 -0
- package/dist/lib/storefrontTimeSlots.d.ts.map +1 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/whatsapp.d.ts.map +1 -0
- package/dist/localization.d.ts +9 -13
- package/dist/localization.d.ts.map +1 -0
- package/dist/pages/BookingPage.d.ts.map +1 -0
- package/dist/pages/CheckoutPage.d.ts.map +1 -0
- package/dist/pages/CheckoutPaymentPage.d.ts.map +1 -0
- package/dist/pages/CheckoutSuccessPage.d.ts.map +1 -0
- package/dist/pages/ContractSaleDocumentPage.d.ts.map +1 -0
- package/dist/pages/ErrorPage.d.ts.map +1 -0
- package/dist/pages/HomePage.d.ts.map +1 -0
- package/dist/pages/NotFoundPage.d.ts.map +1 -0
- package/dist/pages/PaymentLinkPage.d.ts.map +1 -0
- package/dist/pages/PaymentLinkSuccessPage.d.ts.map +1 -0
- package/dist/pages/ProductPage.d.ts.map +1 -0
- package/dist/pages/checkout/components/CheckoutCouponCard.d.ts +15 -0
- package/dist/pages/checkout/components/CheckoutCouponCard.d.ts.map +1 -0
- package/dist/pages/checkout/components/CheckoutDetailsCard.d.ts +9 -0
- package/dist/pages/checkout/components/CheckoutDetailsCard.d.ts.map +1 -0
- package/dist/pages/checkout/components/CheckoutPaymentCard.d.ts +22 -0
- package/dist/pages/checkout/components/CheckoutPaymentCard.d.ts.map +1 -0
- package/dist/pages/checkout/components/CheckoutPaymentSummaryCard.d.ts +23 -0
- package/dist/pages/checkout/components/CheckoutPaymentSummaryCard.d.ts.map +1 -0
- package/dist/pages/checkout/components/CheckoutSummaryColumn.d.ts +7 -0
- package/dist/pages/checkout/components/CheckoutSummaryColumn.d.ts.map +1 -0
- package/dist/pages/checkout/components/MollieCheckoutForm.d.ts +9 -0
- package/dist/pages/checkout/components/MollieCheckoutForm.d.ts.map +1 -0
- package/dist/pages/checkout/components/StripeCheckoutForm.d.ts +8 -0
- package/dist/pages/checkout/components/StripeCheckoutForm.d.ts.map +1 -0
- package/dist/pages/checkout/types.d.ts +14 -0
- package/dist/pages/checkout/types.d.ts.map +1 -0
- package/dist/routes.d.ts +3 -6
- package/dist/routes.d.ts.map +1 -0
- package/dist/static/strings.d.ts +2 -0
- package/dist/static/strings.d.ts.map +1 -0
- package/dist/storefrontSchemas.d.ts +565 -596
- package/dist/storefrontSchemas.d.ts.map +1 -0
- package/dist/ui/badge.d.ts.map +1 -0
- package/dist/ui/button.d.ts.map +1 -0
- package/dist/ui/card.d.ts.map +1 -0
- package/dist/ui/form.d.ts.map +1 -0
- package/dist/ui/input.d.ts.map +1 -0
- package/dist/ui/label.d.ts.map +1 -0
- package/dist/ui/radio-group.d.ts.map +1 -0
- package/dist/ui/select.d.ts.map +1 -0
- package/dist/ui/slot.d.ts.map +1 -0
- package/dist/ui/textarea.d.ts.map +1 -0
- package/dist/ui/tooltip.d.ts.map +1 -0
- package/package.json +4 -2
- package/dist/BookingPage.d.ts +0 -6
- package/dist/CheckoutPage.d.ts +0 -6
- package/dist/CheckoutPaymentPage.d.ts +0 -6
- package/dist/CheckoutSuccessPage.d.ts +0 -6
- package/dist/ContractSaleDocumentPage.d.ts +0 -116
- package/dist/ErrorPage.d.ts +0 -6
- package/dist/HomePage.d.ts +0 -6
- package/dist/I18nProvider.d.ts +0 -23
- package/dist/NotFoundPage.d.ts +0 -6
- package/dist/PaymentLinkPage.d.ts +0 -40
- package/dist/PaymentLinkSuccessPage.d.ts +0 -40
- package/dist/ProductPage.d.ts +0 -6
- package/dist/accessories.d.ts +0 -42
- package/dist/apiCall.d.ts +0 -7
- package/dist/badge.d.ts +0 -14
- package/dist/bikes.d.ts +0 -107
- package/dist/booking-period-time-slots.d.ts +0 -264
- package/dist/booking-period.d.ts +0 -193
- package/dist/booking.d.ts +0 -402
- package/dist/button.d.ts +0 -16
- package/dist/card.d.ts +0 -18
- package/dist/cart.d.ts +0 -30
- package/dist/cartSummary.d.ts +0 -205
- package/dist/checkoutPaymentDecision.d.ts +0 -48
- package/dist/checkoutPaymentSession.d.ts +0 -65
- package/dist/checkoutSubmit.d.ts +0 -97
- package/dist/checkoutVerifyCoupon.d.ts +0 -45
- package/dist/config.d.ts +0 -19
- package/dist/contactForm.d.ts +0 -22
- package/dist/contractSaleDocument.d.ts +0 -242
- package/dist/contractSaleDocumentApi.d.ts +0 -481
- package/dist/en.d.ts +0 -369
- package/dist/form.d.ts +0 -44
- package/dist/fr.d.ts +0 -369
- package/dist/input.d.ts +0 -5
- package/dist/isAutomationRuntime.d.ts +0 -3
- package/dist/label.d.ts +0 -7
- package/dist/mollieComponentStyles.d.ts +0 -3
- package/dist/playgroundDevSettings.d.ts +0 -19
- package/dist/pricing.d.ts +0 -35
- package/dist/productImageStyles.d.ts +0 -25
- package/dist/productVariants.d.ts +0 -16
- package/dist/products.d.ts +0 -224
- package/dist/radio-group.d.ts +0 -14
- package/dist/richAddress.d.ts +0 -24
- package/dist/securePaymentLink.d.ts +0 -125
- package/dist/select.d.ts +0 -41
- package/dist/slot.d.ts +0 -15
- package/dist/storefrontAvailability.d.ts +0 -107
- package/dist/storefrontImage.d.ts +0 -16
- package/dist/storefrontProducts.d.ts +0 -400
- package/dist/storefrontReviews.d.ts +0 -84
- package/dist/storefrontTimeSlots.d.ts +0 -53
- package/dist/textarea.d.ts +0 -5
- package/dist/tooltip.d.ts +0 -43
- package/dist/utils.d.ts +0 -23
- package/dist/whatsapp.d.ts +0 -326
package/dist/whatsapp.d.ts
DELETED
|
@@ -1,326 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
|
|
3
|
-
export declare function buildWhatsAppHref(phone: string | undefined, message?: string): string | undefined;
|
|
4
|
-
|
|
5
|
-
export declare function resolveStorefrontWhatsAppContact({ preset, storefrontConfiguration, language, }: {
|
|
6
|
-
preset: StorefrontPreset;
|
|
7
|
-
storefrontConfiguration?: StorefrontConfiguration;
|
|
8
|
-
language: string;
|
|
9
|
-
}): {
|
|
10
|
-
href: string;
|
|
11
|
-
phoneDisplay: string;
|
|
12
|
-
} | undefined;
|
|
13
|
-
|
|
14
|
-
export declare function resolveStorefrontWhatsAppHref(params: {
|
|
15
|
-
preset: StorefrontPreset;
|
|
16
|
-
storefrontConfiguration?: StorefrontConfiguration;
|
|
17
|
-
language: string;
|
|
18
|
-
}): string | undefined;
|
|
19
|
-
|
|
20
|
-
declare type StorefrontConfiguration = z.infer<typeof storefrontConfigurationSchema>;
|
|
21
|
-
|
|
22
|
-
declare const storefrontConfigurationSchema: z.ZodObject<{
|
|
23
|
-
storeSlug: z.ZodString;
|
|
24
|
-
workspace: z.ZodOptional<z.ZodObject<{
|
|
25
|
-
name: z.ZodOptional<z.ZodString>;
|
|
26
|
-
workspaceLanguage: z.ZodOptional<z.ZodEnum<{
|
|
27
|
-
fr: "fr";
|
|
28
|
-
en: "en";
|
|
29
|
-
}>>;
|
|
30
|
-
languages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
31
|
-
}, z.core.$strip>>;
|
|
32
|
-
shop: z.ZodObject<{
|
|
33
|
-
id: z.ZodString;
|
|
34
|
-
slug: z.ZodOptional<z.ZodString>;
|
|
35
|
-
name: z.ZodString;
|
|
36
|
-
timeZone: z.ZodOptional<z.ZodString>;
|
|
37
|
-
url: z.ZodOptional<z.ZodString>;
|
|
38
|
-
googleMapsLink: z.ZodOptional<z.ZodString>;
|
|
39
|
-
googleRequestReviewsLink: z.ZodOptional<z.ZodString>;
|
|
40
|
-
emailAddress: z.ZodOptional<z.ZodString>;
|
|
41
|
-
contactPhone1: z.ZodOptional<z.ZodString>;
|
|
42
|
-
contactPhone2: z.ZodOptional<z.ZodString>;
|
|
43
|
-
address: z.ZodOptional<z.ZodString>;
|
|
44
|
-
city: z.ZodOptional<z.ZodString>;
|
|
45
|
-
country: z.ZodOptional<z.ZodString>;
|
|
46
|
-
gpsCoordinates: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
47
|
-
}, z.core.$strip>;
|
|
48
|
-
settings: z.ZodObject<{
|
|
49
|
-
status: z.ZodEnum<{
|
|
50
|
-
unpublished: "unpublished";
|
|
51
|
-
published: "published";
|
|
52
|
-
}>;
|
|
53
|
-
checkoutMode: z.ZodEnum<{
|
|
54
|
-
auto_approve_when_possible: "auto_approve_when_possible";
|
|
55
|
-
manual_approval_required: "manual_approval_required";
|
|
56
|
-
}>;
|
|
57
|
-
availabilityDisplay: z.ZodObject<{
|
|
58
|
-
defaultMode: z.ZodEnum<{
|
|
59
|
-
soldOutOnly: "soldOutOnly";
|
|
60
|
-
soldOutAndFewRemaining: "soldOutAndFewRemaining";
|
|
61
|
-
fewRemaining: "fewRemaining";
|
|
62
|
-
fewRemainingCounts: "fewRemainingCounts";
|
|
63
|
-
remainingCounts: "remainingCounts";
|
|
64
|
-
}>;
|
|
65
|
-
defaultFewRemainingThreshold: z.ZodOptional<z.ZodNumber>;
|
|
66
|
-
}, z.core.$strip>;
|
|
67
|
-
enabled: z.ZodBoolean;
|
|
68
|
-
fulfillmentModes: z.ZodArray<z.ZodEnum<{
|
|
69
|
-
pickup: "pickup";
|
|
70
|
-
delivery: "delivery";
|
|
71
|
-
}>>;
|
|
72
|
-
deliveryDisabledReason: z.ZodDefault<z.ZodString>;
|
|
73
|
-
sameDayCutoff: z.ZodString;
|
|
74
|
-
}, z.core.$strip>;
|
|
75
|
-
bookingEngine: z.ZodType<{
|
|
76
|
-
availabilityDisplay: {
|
|
77
|
-
defaultMode: "soldOutOnly" | "soldOutAndFewRemaining" | "fewRemaining" | "fewRemainingCounts" | "remainingCounts";
|
|
78
|
-
defaultFewRemainingThreshold?: number | undefined;
|
|
79
|
-
};
|
|
80
|
-
holdSettings: {
|
|
81
|
-
enabled: boolean;
|
|
82
|
-
defaultTtlMinutes: number;
|
|
83
|
-
};
|
|
84
|
-
pricing: {
|
|
85
|
-
baseUnit: "hour" | "half_day" | "day" | "week" | "month";
|
|
86
|
-
rentalUnits: {
|
|
87
|
-
unit: "hour" | "half_day" | "day" | "week" | "month";
|
|
88
|
-
durationHours: number;
|
|
89
|
-
label?: Record<string, {
|
|
90
|
-
[x: string]: unknown;
|
|
91
|
-
value: string;
|
|
92
|
-
updatedAt: Date;
|
|
93
|
-
autoTranslated?: boolean | undefined;
|
|
94
|
-
}> | undefined;
|
|
95
|
-
}[];
|
|
96
|
-
halfDay?: {
|
|
97
|
-
enabled: boolean;
|
|
98
|
-
boundaryHour: number;
|
|
99
|
-
} | undefined;
|
|
100
|
-
};
|
|
101
|
-
bookingDeposit: {
|
|
102
|
-
enabled: boolean;
|
|
103
|
-
percentage: number;
|
|
104
|
-
optimizeDepositAmount: boolean;
|
|
105
|
-
};
|
|
106
|
-
securityDeposit: {
|
|
107
|
-
mode: "optional" | "required" | "disabled";
|
|
108
|
-
};
|
|
109
|
-
shop: {
|
|
110
|
-
timeZone: string;
|
|
111
|
-
openingHours: {
|
|
112
|
-
name: string;
|
|
113
|
-
startDate: string;
|
|
114
|
-
endDate: string;
|
|
115
|
-
openingHours: {
|
|
116
|
-
day: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
117
|
-
openingSlots: {
|
|
118
|
-
start: string;
|
|
119
|
-
end: string;
|
|
120
|
-
}[];
|
|
121
|
-
}[];
|
|
122
|
-
}[];
|
|
123
|
-
openingHoursOverrides?: {
|
|
124
|
-
date: string;
|
|
125
|
-
openingSlots: {
|
|
126
|
-
start: string;
|
|
127
|
-
end: string;
|
|
128
|
-
}[];
|
|
129
|
-
}[] | undefined;
|
|
130
|
-
extraTimeSlots?: {
|
|
131
|
-
minutesAfterClose: number;
|
|
132
|
-
extraAmount: number;
|
|
133
|
-
}[] | undefined;
|
|
134
|
-
};
|
|
135
|
-
currency: "EUR" | "USD" | "GBP" | "CHF";
|
|
136
|
-
checkout: {
|
|
137
|
-
mode: "auto_approve_when_possible" | "manual_approval_required";
|
|
138
|
-
dynamicOptions?: {
|
|
139
|
-
fulfillmentModes?: ("pickup" | "delivery")[] | undefined;
|
|
140
|
-
sameDayCutoff?: string | undefined;
|
|
141
|
-
} | undefined;
|
|
142
|
-
};
|
|
143
|
-
}, unknown, z.core.$ZodTypeInternals<{
|
|
144
|
-
availabilityDisplay: {
|
|
145
|
-
defaultMode: "soldOutOnly" | "soldOutAndFewRemaining" | "fewRemaining" | "fewRemainingCounts" | "remainingCounts";
|
|
146
|
-
defaultFewRemainingThreshold?: number | undefined;
|
|
147
|
-
};
|
|
148
|
-
holdSettings: {
|
|
149
|
-
enabled: boolean;
|
|
150
|
-
defaultTtlMinutes: number;
|
|
151
|
-
};
|
|
152
|
-
pricing: {
|
|
153
|
-
baseUnit: "hour" | "half_day" | "day" | "week" | "month";
|
|
154
|
-
rentalUnits: {
|
|
155
|
-
unit: "hour" | "half_day" | "day" | "week" | "month";
|
|
156
|
-
durationHours: number;
|
|
157
|
-
label?: Record<string, {
|
|
158
|
-
[x: string]: unknown;
|
|
159
|
-
value: string;
|
|
160
|
-
updatedAt: Date;
|
|
161
|
-
autoTranslated?: boolean | undefined;
|
|
162
|
-
}> | undefined;
|
|
163
|
-
}[];
|
|
164
|
-
halfDay?: {
|
|
165
|
-
enabled: boolean;
|
|
166
|
-
boundaryHour: number;
|
|
167
|
-
} | undefined;
|
|
168
|
-
};
|
|
169
|
-
bookingDeposit: {
|
|
170
|
-
enabled: boolean;
|
|
171
|
-
percentage: number;
|
|
172
|
-
optimizeDepositAmount: boolean;
|
|
173
|
-
};
|
|
174
|
-
securityDeposit: {
|
|
175
|
-
mode: "optional" | "required" | "disabled";
|
|
176
|
-
};
|
|
177
|
-
shop: {
|
|
178
|
-
timeZone: string;
|
|
179
|
-
openingHours: {
|
|
180
|
-
name: string;
|
|
181
|
-
startDate: string;
|
|
182
|
-
endDate: string;
|
|
183
|
-
openingHours: {
|
|
184
|
-
day: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
185
|
-
openingSlots: {
|
|
186
|
-
start: string;
|
|
187
|
-
end: string;
|
|
188
|
-
}[];
|
|
189
|
-
}[];
|
|
190
|
-
}[];
|
|
191
|
-
openingHoursOverrides?: {
|
|
192
|
-
date: string;
|
|
193
|
-
openingSlots: {
|
|
194
|
-
start: string;
|
|
195
|
-
end: string;
|
|
196
|
-
}[];
|
|
197
|
-
}[] | undefined;
|
|
198
|
-
extraTimeSlots?: {
|
|
199
|
-
minutesAfterClose: number;
|
|
200
|
-
extraAmount: number;
|
|
201
|
-
}[] | undefined;
|
|
202
|
-
};
|
|
203
|
-
currency: "EUR" | "USD" | "GBP" | "CHF";
|
|
204
|
-
checkout: {
|
|
205
|
-
mode: "auto_approve_when_possible" | "manual_approval_required";
|
|
206
|
-
dynamicOptions?: {
|
|
207
|
-
fulfillmentModes?: ("pickup" | "delivery")[] | undefined;
|
|
208
|
-
sameDayCutoff?: string | undefined;
|
|
209
|
-
} | undefined;
|
|
210
|
-
};
|
|
211
|
-
}, unknown>>;
|
|
212
|
-
content: z.ZodOptional<z.ZodObject<{
|
|
213
|
-
tagline: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
214
|
-
value: z.ZodString;
|
|
215
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
216
|
-
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
217
|
-
}, z.core.$loose>>>;
|
|
218
|
-
logoSquareImageId: z.ZodOptional<z.ZodString>;
|
|
219
|
-
logoWideImageId: z.ZodOptional<z.ZodString>;
|
|
220
|
-
galleryImageIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
221
|
-
topBannerMessage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
222
|
-
value: z.ZodString;
|
|
223
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
224
|
-
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
225
|
-
}, z.core.$loose>>>;
|
|
226
|
-
about: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
227
|
-
version: z.ZodLiteral<1>;
|
|
228
|
-
json: z.ZodString;
|
|
229
|
-
html: z.ZodString;
|
|
230
|
-
text: z.ZodString;
|
|
231
|
-
}, z.core.$strict>>>;
|
|
232
|
-
whatsappPhone1Enabled: z.ZodDefault<z.ZodBoolean>;
|
|
233
|
-
whatsappPhone2Enabled: z.ZodDefault<z.ZodBoolean>;
|
|
234
|
-
whatsappMessage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
235
|
-
value: z.ZodString;
|
|
236
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
237
|
-
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
238
|
-
}, z.core.$loose>>>;
|
|
239
|
-
showWhatsappFloatingButton: z.ZodDefault<z.ZodBoolean>;
|
|
240
|
-
modalMessages: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
241
|
-
id: z.ZodString;
|
|
242
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
243
|
-
showOnEachVisit: z.ZodDefault<z.ZodBoolean>;
|
|
244
|
-
startDate: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
245
|
-
endDate: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
246
|
-
title: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
247
|
-
value: z.ZodString;
|
|
248
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
249
|
-
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
250
|
-
}, z.core.$loose>>>;
|
|
251
|
-
subtitle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
252
|
-
value: z.ZodString;
|
|
253
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
254
|
-
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
255
|
-
}, z.core.$loose>>>;
|
|
256
|
-
message: z.ZodOptional<z.ZodPreprocess<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
257
|
-
version: z.ZodLiteral<1>;
|
|
258
|
-
json: z.ZodString;
|
|
259
|
-
html: z.ZodString;
|
|
260
|
-
text: z.ZodString;
|
|
261
|
-
}, z.core.$strict>>>>;
|
|
262
|
-
imageIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
263
|
-
}, z.core.$strip>>>;
|
|
264
|
-
faq: z.ZodDefault<z.ZodObject<{
|
|
265
|
-
general: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
266
|
-
id: z.ZodString;
|
|
267
|
-
question: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
268
|
-
value: z.ZodString;
|
|
269
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
270
|
-
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
271
|
-
}, z.core.$loose>>;
|
|
272
|
-
answer: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
273
|
-
value: z.ZodString;
|
|
274
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
275
|
-
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
276
|
-
}, z.core.$loose>>;
|
|
277
|
-
}, z.core.$strip>>>;
|
|
278
|
-
deliveries: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
279
|
-
id: z.ZodString;
|
|
280
|
-
question: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
281
|
-
value: z.ZodString;
|
|
282
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
283
|
-
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
284
|
-
}, z.core.$loose>>;
|
|
285
|
-
answer: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
286
|
-
value: z.ZodString;
|
|
287
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
288
|
-
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
289
|
-
}, z.core.$loose>>;
|
|
290
|
-
}, z.core.$strip>>>;
|
|
291
|
-
booking: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
292
|
-
id: z.ZodString;
|
|
293
|
-
question: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
294
|
-
value: z.ZodString;
|
|
295
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
296
|
-
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
297
|
-
}, z.core.$loose>>;
|
|
298
|
-
answer: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
299
|
-
value: z.ZodString;
|
|
300
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
301
|
-
autoTranslated: z.ZodOptional<z.ZodBoolean>;
|
|
302
|
-
}, z.core.$loose>>;
|
|
303
|
-
}, z.core.$strip>>>;
|
|
304
|
-
}, z.core.$strip>>;
|
|
305
|
-
}, z.core.$strip>>;
|
|
306
|
-
modules: z.ZodOptional<z.ZodObject<{
|
|
307
|
-
reviews: z.ZodOptional<z.ZodObject<{
|
|
308
|
-
enabled: z.ZodBoolean;
|
|
309
|
-
showRecentReviewsOnStorefront: z.ZodBoolean;
|
|
310
|
-
}, z.core.$strip>>;
|
|
311
|
-
}, z.core.$strip>>;
|
|
312
|
-
}, z.core.$strip>;
|
|
313
|
-
|
|
314
|
-
declare type StorefrontPreset = {
|
|
315
|
-
name: string;
|
|
316
|
-
tagline: string;
|
|
317
|
-
hero_title: string;
|
|
318
|
-
hero_description: string;
|
|
319
|
-
address: string;
|
|
320
|
-
email: string;
|
|
321
|
-
phone_display: string;
|
|
322
|
-
phone_href: string;
|
|
323
|
-
whatsapp_href: string;
|
|
324
|
-
};
|
|
325
|
-
|
|
326
|
-
export { }
|