@behio/storefront-sdk 2.23.0 → 2.25.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/README.md +42 -0
- package/dist/{chunk-VHHDIU6J.mjs → chunk-GNWW2O3A.mjs} +68 -0
- package/dist/{chunk-L7IIU5MZ.js → chunk-IUC57IOB.js} +73 -5
- package/dist/{client-BeI4IFKu.d.mts → client-Btc3Nduh.d.mts} +285 -1
- package/dist/{client-BeI4IFKu.d.ts → client-Btc3Nduh.d.ts} +285 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +66 -3
- package/dist/index.mjs +64 -1
- package/dist/next.d.mts +1 -1
- package/dist/next.d.ts +1 -1
- package/dist/next.js +2 -2
- package/dist/next.mjs +1 -1
- package/dist/react.d.mts +317 -1
- package/dist/react.d.ts +317 -1
- package/dist/react.js +193 -41
- package/dist/react.mjs +185 -41
- package/package.json +1 -1
|
@@ -261,6 +261,20 @@ interface ShopInfo {
|
|
|
261
261
|
* may still be served.
|
|
262
262
|
*/
|
|
263
263
|
seo?: ShopSeoIdentity;
|
|
264
|
+
/**
|
|
265
|
+
* Online withdrawal function (Art. 11a Directive 2011/83/EU, mandatory in
|
|
266
|
+
* the EU from 19 Jun 2026). When `enabled`, render a clearly labelled link
|
|
267
|
+
* ("Withdraw from contract here") in the footer and in the customer account,
|
|
268
|
+
* leading to the withdrawal form (`returns.withdraw`). Optional because
|
|
269
|
+
* cached ShopInfo payloads predating the field may still be served (2.25.0).
|
|
270
|
+
*/
|
|
271
|
+
withdrawal?: WithdrawalSettings;
|
|
272
|
+
}
|
|
273
|
+
/** Merchant setting of the online withdrawal function (2.25.0). */
|
|
274
|
+
interface WithdrawalSettings {
|
|
275
|
+
enabled: boolean;
|
|
276
|
+
/** Withdrawal period in days from receipt of the goods (14 by law). */
|
|
277
|
+
periodDays: number;
|
|
264
278
|
}
|
|
265
279
|
interface ShopAppearance {
|
|
266
280
|
primaryColor: string | null;
|
|
@@ -1786,7 +1800,22 @@ interface OrderPaymentInstructions {
|
|
|
1786
1800
|
currency: string;
|
|
1787
1801
|
instructions: string | null;
|
|
1788
1802
|
}
|
|
1803
|
+
/** Issued document visible only to the authorized order owner. Its page offers a PDF download. */
|
|
1804
|
+
interface OrderDocument {
|
|
1805
|
+
id: string;
|
|
1806
|
+
number: string;
|
|
1807
|
+
type: "INVOICE" | "PROFORMA" | "RECEIPT" | "CREDIT_NOTE";
|
|
1808
|
+
currency: string;
|
|
1809
|
+
totalAmount: number;
|
|
1810
|
+
/** Actual invoice ledger amounts, independent of the order payment status. */
|
|
1811
|
+
paidAmount: number;
|
|
1812
|
+
remainingAmount: number;
|
|
1813
|
+
/** Capability URL: do not expose in public tracking, analytics or logs. */
|
|
1814
|
+
url: string;
|
|
1815
|
+
}
|
|
1789
1816
|
interface OrderDetail extends OrderListItem {
|
|
1817
|
+
/** Issued invoices/proformas/receipts/credit notes. Drafts and revoked links are excluded. */
|
|
1818
|
+
documents?: OrderDocument[];
|
|
1790
1819
|
/** Payment is recorded; access delivery will retry automatically. Do not place a duplicate order. */
|
|
1791
1820
|
contentDeliveryPending?: boolean;
|
|
1792
1821
|
/** False for an order without physical delivery. */
|
|
@@ -3110,9 +3139,70 @@ interface ReturnableOrder {
|
|
|
3110
3139
|
orderId: string;
|
|
3111
3140
|
orderNumber: string;
|
|
3112
3141
|
status: string;
|
|
3142
|
+
/** Name from the order billing address, to prefill the withdrawal form (2.25.0). */
|
|
3143
|
+
customerName: string | null;
|
|
3113
3144
|
items: ReturnableOrderItem[];
|
|
3145
|
+
/** Withdrawal window of this order (2.25.0). */
|
|
3146
|
+
withdrawal: WithdrawalWindow;
|
|
3114
3147
|
createdAt: number;
|
|
3115
3148
|
}
|
|
3149
|
+
/**
|
|
3150
|
+
* What the withdrawal form should say about the period. The form stays
|
|
3151
|
+
* usable outside the window: the consumer may always submit, the merchant
|
|
3152
|
+
* decides. (2.25.0)
|
|
3153
|
+
*/
|
|
3154
|
+
interface WithdrawalWindow {
|
|
3155
|
+
/** The e-shop offers the online withdrawal function. */
|
|
3156
|
+
enabled: boolean;
|
|
3157
|
+
periodDays: number;
|
|
3158
|
+
/** Last moment of the period (ms). Null while it has not started or delivery is not recorded. */
|
|
3159
|
+
deadlineAt: number | null;
|
|
3160
|
+
/** False only when the period demonstrably ended. */
|
|
3161
|
+
withinPeriod: boolean;
|
|
3162
|
+
/** AFTER_DEADLINE | BEFORE_DISPATCH | DELIVERY_UNKNOWN | DIGITAL_CONTENT_CONSENT */
|
|
3163
|
+
flags: WithdrawalFlag[];
|
|
3164
|
+
}
|
|
3165
|
+
type WithdrawalFlag = "AFTER_DEADLINE" | "BEFORE_DISPATCH" | "DELIVERY_UNKNOWN" | "DIGITAL_CONTENT_CONSENT";
|
|
3166
|
+
/**
|
|
3167
|
+
* Input of `returns.withdraw()`: the withdrawal statement of Art. 11a(2):
|
|
3168
|
+
* the consumer's name, the contract (order number) and the e-mail the
|
|
3169
|
+
* acknowledgement goes to. Send it only after the consumer pressed the
|
|
3170
|
+
* confirmation button ("Confirm withdrawal"), hence `confirmed: true`. (2.25.0)
|
|
3171
|
+
*/
|
|
3172
|
+
interface SubmitWithdrawalInput {
|
|
3173
|
+
orderNumber: string;
|
|
3174
|
+
/** Order e-mail: the ownership gate and where the acknowledgement is sent. */
|
|
3175
|
+
email: string;
|
|
3176
|
+
name: string;
|
|
3177
|
+
/** Omit to withdraw from every still returnable item of the order. */
|
|
3178
|
+
items?: {
|
|
3179
|
+
orderItemId: string;
|
|
3180
|
+
quantity: number;
|
|
3181
|
+
}[];
|
|
3182
|
+
note?: string;
|
|
3183
|
+
confirmed: true;
|
|
3184
|
+
}
|
|
3185
|
+
/**
|
|
3186
|
+
* Returned by `returns.withdraw()`. Show it as the acknowledgement: the same
|
|
3187
|
+
* content with date and time also goes out by e-mail. `confirmationSent`
|
|
3188
|
+
* says whether that e-mail really went out. (2.25.0)
|
|
3189
|
+
*/
|
|
3190
|
+
interface WithdrawalAcknowledgement {
|
|
3191
|
+
id: string;
|
|
3192
|
+
orderNumber: string;
|
|
3193
|
+
customerName: string;
|
|
3194
|
+
email: string;
|
|
3195
|
+
/** Date and time of submission (ms). */
|
|
3196
|
+
submittedAt: number;
|
|
3197
|
+
items: {
|
|
3198
|
+
productName: string;
|
|
3199
|
+
quantity: number;
|
|
3200
|
+
}[];
|
|
3201
|
+
note: string | null;
|
|
3202
|
+
deadlineAt: number | null;
|
|
3203
|
+
withinPeriod: boolean;
|
|
3204
|
+
confirmationSent: boolean;
|
|
3205
|
+
}
|
|
3116
3206
|
interface ReturnRequestItem {
|
|
3117
3207
|
id: string;
|
|
3118
3208
|
orderItemId: string;
|
|
@@ -3143,6 +3233,8 @@ interface ReturnStatusItem {
|
|
|
3143
3233
|
interface ReturnStatus {
|
|
3144
3234
|
id: string;
|
|
3145
3235
|
orderNumber: string;
|
|
3236
|
+
/** WITHDRAWAL = withdrawal from the contract, RETURN = return or complaint (2.25.0). */
|
|
3237
|
+
type: "RETURN" | "WITHDRAWAL";
|
|
3146
3238
|
/** REQUESTED | APPROVED | SHIPPED_BACK | RECEIVED | REFUNDED | REJECTED | CLOSED */
|
|
3147
3239
|
status: string;
|
|
3148
3240
|
reason: string;
|
|
@@ -3302,6 +3394,145 @@ interface GamificationRefreshResult {
|
|
|
3302
3394
|
awarded: number;
|
|
3303
3395
|
completed: number;
|
|
3304
3396
|
}
|
|
3397
|
+
type BookingLocale = "cs" | "sk" | "en";
|
|
3398
|
+
type BookingStatus = "PENDING" | "CONFIRMED" | "CANCELLED" | "NO_SHOW" | "COMPLETED";
|
|
3399
|
+
interface BookingService {
|
|
3400
|
+
id: string;
|
|
3401
|
+
categoryId: string | null;
|
|
3402
|
+
name: string;
|
|
3403
|
+
description: string | null;
|
|
3404
|
+
durationMinutes: number;
|
|
3405
|
+
/** Null = price on site (show it as such, never as 0). */
|
|
3406
|
+
price: number | null;
|
|
3407
|
+
/** ISO 4217 code (CZK, EUR, ...). */
|
|
3408
|
+
currency: string;
|
|
3409
|
+
}
|
|
3410
|
+
interface BookingCategory {
|
|
3411
|
+
id: string;
|
|
3412
|
+
name: string;
|
|
3413
|
+
}
|
|
3414
|
+
interface BookingStaff {
|
|
3415
|
+
id: string;
|
|
3416
|
+
name: string;
|
|
3417
|
+
title: string | null;
|
|
3418
|
+
bio: string | null;
|
|
3419
|
+
/** `#rrggbb` or null. */
|
|
3420
|
+
color: string | null;
|
|
3421
|
+
/** Services this person does. */
|
|
3422
|
+
serviceIds: string[];
|
|
3423
|
+
}
|
|
3424
|
+
interface BookingLocation {
|
|
3425
|
+
id: string;
|
|
3426
|
+
name: string;
|
|
3427
|
+
address: string | null;
|
|
3428
|
+
timezone: string;
|
|
3429
|
+
}
|
|
3430
|
+
/** Public booking setup of the site owner (`GET /bookings/config`). */
|
|
3431
|
+
interface BookingConfig {
|
|
3432
|
+
businessName: string;
|
|
3433
|
+
intro: string | null;
|
|
3434
|
+
/** `#rrggbb` brand colour of the widget, or null. */
|
|
3435
|
+
accentColor: string | null;
|
|
3436
|
+
defaultLocale: BookingLocale;
|
|
3437
|
+
/** Offer a staff choice step (otherwise send `staffId: null`). */
|
|
3438
|
+
allowStaffChoice: boolean;
|
|
3439
|
+
/** New bookings start as PENDING and the business confirms them. */
|
|
3440
|
+
requireApproval: boolean;
|
|
3441
|
+
/** How many days ahead a customer may book. */
|
|
3442
|
+
maxAdvanceDays: number;
|
|
3443
|
+
/** Customer may change or cancel until this many hours before the start. */
|
|
3444
|
+
customerCancelHours: number;
|
|
3445
|
+
contactPhone: string | null;
|
|
3446
|
+
contactEmail: string | null;
|
|
3447
|
+
/**
|
|
3448
|
+
* Online booking is paused (plan limit). Do not offer the flow, show the
|
|
3449
|
+
* contact instead: `create` would answer `be.bookings.onlineLimitReached`.
|
|
3450
|
+
*/
|
|
3451
|
+
onlinePaused: boolean;
|
|
3452
|
+
/** IANA time zone of the branch; show every day and time in it. */
|
|
3453
|
+
timezone: string;
|
|
3454
|
+
locations: BookingLocation[];
|
|
3455
|
+
categories: BookingCategory[];
|
|
3456
|
+
services: BookingService[];
|
|
3457
|
+
staff: BookingStaff[];
|
|
3458
|
+
}
|
|
3459
|
+
interface BookingSlot {
|
|
3460
|
+
startMs: number;
|
|
3461
|
+
endMs: number;
|
|
3462
|
+
}
|
|
3463
|
+
interface BookingSlots {
|
|
3464
|
+
timezone: string;
|
|
3465
|
+
/** Total length of the selected services. */
|
|
3466
|
+
durationMinutes: number;
|
|
3467
|
+
slots: BookingSlot[];
|
|
3468
|
+
}
|
|
3469
|
+
interface BookingSlotsQuery {
|
|
3470
|
+
/** Selected services in the order they follow each other (1 to 10). */
|
|
3471
|
+
serviceIds: string[];
|
|
3472
|
+
/** Only this person; omit for anyone free. */
|
|
3473
|
+
staffId?: string | null;
|
|
3474
|
+
/** First day `YYYY-MM-DD` (branch time zone). */
|
|
3475
|
+
from: string;
|
|
3476
|
+
/** Last day `YYYY-MM-DD`, at most 31 days after `from`. */
|
|
3477
|
+
to: string;
|
|
3478
|
+
}
|
|
3479
|
+
interface BookingManageSlotsQuery {
|
|
3480
|
+
from: string;
|
|
3481
|
+
to: string;
|
|
3482
|
+
}
|
|
3483
|
+
interface BookingCreateInput {
|
|
3484
|
+
serviceIds: string[];
|
|
3485
|
+
/** Null or omitted = anyone free. */
|
|
3486
|
+
staffId?: string | null;
|
|
3487
|
+
/** `startMs` of a slot from `getSlots`. */
|
|
3488
|
+
startMs: number;
|
|
3489
|
+
name: string;
|
|
3490
|
+
email: string;
|
|
3491
|
+
phone?: string | null;
|
|
3492
|
+
note?: string | null;
|
|
3493
|
+
/** Language of the confirmation email. */
|
|
3494
|
+
locale?: BookingLocale;
|
|
3495
|
+
/** Honeypot: render a hidden input and send its value; people leave it empty. */
|
|
3496
|
+
website?: string;
|
|
3497
|
+
/** Analytics visitor (consent-gated), only for the CRM. */
|
|
3498
|
+
visitorId?: string | null;
|
|
3499
|
+
}
|
|
3500
|
+
/** One booking as the customer sees it. */
|
|
3501
|
+
interface Booking {
|
|
3502
|
+
id: string;
|
|
3503
|
+
/** Short code shown to the customer and in emails. */
|
|
3504
|
+
code: string;
|
|
3505
|
+
status: BookingStatus;
|
|
3506
|
+
startMs: number;
|
|
3507
|
+
endMs: number;
|
|
3508
|
+
timezone: string;
|
|
3509
|
+
businessName: string;
|
|
3510
|
+
staffName: string;
|
|
3511
|
+
locationName: string;
|
|
3512
|
+
locationAddress: string | null;
|
|
3513
|
+
services: string[];
|
|
3514
|
+
serviceIds: string[];
|
|
3515
|
+
/** Person chosen by the customer; null = anyone. */
|
|
3516
|
+
staffId: string | null;
|
|
3517
|
+
totalPrice: number | null;
|
|
3518
|
+
currency: string;
|
|
3519
|
+
customerName: string;
|
|
3520
|
+
/** The customer may still change or cancel (deadline from the settings). */
|
|
3521
|
+
canChange: boolean;
|
|
3522
|
+
/** Until when (ms) the customer may change or cancel. */
|
|
3523
|
+
changeDeadline: number | null;
|
|
3524
|
+
/** Phone of the business to show once `canChange` is false. */
|
|
3525
|
+
contactPhone: string | null;
|
|
3526
|
+
locale: string;
|
|
3527
|
+
}
|
|
3528
|
+
interface BookingCreated {
|
|
3529
|
+
booking: Booking;
|
|
3530
|
+
/**
|
|
3531
|
+
* Token for the change and cancel link (the same one the confirmation email
|
|
3532
|
+
* carries). Treat it like a password: never put it in analytics or logs.
|
|
3533
|
+
*/
|
|
3534
|
+
manageToken: string;
|
|
3535
|
+
}
|
|
3305
3536
|
|
|
3306
3537
|
declare class BehioStorefront {
|
|
3307
3538
|
private baseUrl;
|
|
@@ -3356,6 +3587,7 @@ declare class BehioStorefront {
|
|
|
3356
3587
|
readonly forms: FormsModule;
|
|
3357
3588
|
readonly collections: CollectionsModule;
|
|
3358
3589
|
readonly faq: FaqModule;
|
|
3590
|
+
readonly bookings: BookingsModule;
|
|
3359
3591
|
readonly wishlist: WishlistModule;
|
|
3360
3592
|
readonly reviews: ReviewsModule;
|
|
3361
3593
|
readonly returns: ReturnsModule;
|
|
@@ -4109,6 +4341,49 @@ declare class FaqModule {
|
|
|
4109
4341
|
*/
|
|
4110
4342
|
get(group: string, query?: StorefrontFaqQuery): Promise<SdkResult<StorefrontFaqGroup>>;
|
|
4111
4343
|
}
|
|
4344
|
+
/**
|
|
4345
|
+
* Online booking of the site owner's services (hair salon, clinic, lessons):
|
|
4346
|
+
* the public setup, free times, a new booking, and the change and cancel flow
|
|
4347
|
+
* behind the token from the confirmation email. Works with website keys that
|
|
4348
|
+
* have no e-shop attached; the Bookings module must be on in the admin
|
|
4349
|
+
* (otherwise 404 `be.bookings.widgetNotFound`).
|
|
4350
|
+
*
|
|
4351
|
+
* Days are `YYYY-MM-DD` in the branch time zone (`config.timezone`), not the
|
|
4352
|
+
* visitor's; format times with `timeZone: config.timezone`.
|
|
4353
|
+
*
|
|
4354
|
+
* Errors worth handling: 409 `be.bookings.slotTaken` (someone was faster:
|
|
4355
|
+
* reload the slots and let the customer pick again), 403
|
|
4356
|
+
* `be.bookings.onlineLimitReached` (online booking paused, show the contact),
|
|
4357
|
+
* 403 `be.bookings.changeTooLate` (too late to change, show
|
|
4358
|
+
* `booking.contactPhone`), 404 `be.bookings.manageNotFound` (old or wrong
|
|
4359
|
+
* token), 429 (rate limit: 10 new bookings and 20 changes per minute).
|
|
4360
|
+
*/
|
|
4361
|
+
declare class BookingsModule {
|
|
4362
|
+
private client;
|
|
4363
|
+
constructor(client: BehioStorefront);
|
|
4364
|
+
/** Services, categories, staff, branches and rules of the booking flow. */
|
|
4365
|
+
getConfig(): Promise<SdkResult<BookingConfig>>;
|
|
4366
|
+
/** Free start times for the selected services (at most 31 days per call). */
|
|
4367
|
+
getSlots(query: BookingSlotsQuery): Promise<SdkResult<BookingSlots>>;
|
|
4368
|
+
/**
|
|
4369
|
+
* Create a booking. Counts toward the monthly online limit of the plan.
|
|
4370
|
+
* Keep `manageToken` only to link the customer to the change and cancel
|
|
4371
|
+
* page; the same link arrives in the confirmation email.
|
|
4372
|
+
*/
|
|
4373
|
+
create(input: BookingCreateInput): Promise<SdkResult<BookingCreated>>;
|
|
4374
|
+
/** The booking behind the token from the confirmation email. */
|
|
4375
|
+
getByToken(token: string): Promise<SdkResult<Booking>>;
|
|
4376
|
+
/** Free times to move the booking to (same services and person rules). */
|
|
4377
|
+
getManageSlots(token: string, query: BookingManageSlotsQuery): Promise<SdkResult<BookingSlots>>;
|
|
4378
|
+
/** Cancel the booking (optional reason for the business). */
|
|
4379
|
+
cancel(token: string, input?: {
|
|
4380
|
+
reason?: string | null;
|
|
4381
|
+
}): Promise<SdkResult<Booking>>;
|
|
4382
|
+
/** Move the booking to `startMs` of a slot from `getManageSlots`. */
|
|
4383
|
+
reschedule(token: string, input: {
|
|
4384
|
+
startMs: number;
|
|
4385
|
+
}): Promise<SdkResult<Booking>>;
|
|
4386
|
+
}
|
|
4112
4387
|
/**
|
|
4113
4388
|
* Merchant-defined forms (contact, demand, registration to an event...).
|
|
4114
4389
|
* The definition is public and cacheable; a submit is validated server-side
|
|
@@ -4193,6 +4468,15 @@ declare class ReturnsModule {
|
|
|
4193
4468
|
* quantities. POST so the email never appears in a URL.
|
|
4194
4469
|
*/
|
|
4195
4470
|
lookupOrder(orderNumber: string, email: string): Promise<SdkResult<ReturnableOrder>>;
|
|
4471
|
+
/**
|
|
4472
|
+
* EU withdrawal function (Art. 11a Directive 2011/83/EU, 2.25.0). Two steps
|
|
4473
|
+
* in the template: the form (name, order number, e-mail), then a summary
|
|
4474
|
+
* with the "Confirm withdrawal" button that calls this. The result is the
|
|
4475
|
+
* acknowledgement to show; the same content with date and time goes out by
|
|
4476
|
+
* e-mail. Guests welcome, the order e-mail is the gate.
|
|
4477
|
+
*/
|
|
4478
|
+
withdraw(input: SubmitWithdrawalInput): Promise<SdkResult<WithdrawalAcknowledgement>>;
|
|
4479
|
+
/** Return or complaint. Reason CHANGED_MIND is recorded as a withdrawal on the server. */
|
|
4196
4480
|
submit(input: SubmitReturnInput): Promise<SdkResult<ReturnRequest>>;
|
|
4197
4481
|
/** Email is the ownership gate; POST so it never lands in a URL / log. */
|
|
4198
4482
|
getStatus(returnId: string, email: string): Promise<SdkResult<ReturnStatus>>;
|
|
@@ -4330,4 +4614,4 @@ declare function clearCartSummary(): void;
|
|
|
4330
4614
|
/** Publish only authoritative current totals; server cart consumers call this after hydration and revalidation. */
|
|
4331
4615
|
declare function publishCartSummary(summary: CartSummaryEvent): void;
|
|
4332
4616
|
|
|
4333
|
-
export { type
|
|
4617
|
+
export { type CartSummaryEvent as $, type ActivePromotion as A, BehioStorefront as B, type CookieConsent as C, type BookingCreateInput as D, type BookingCreated as E, type BookingLocale as F, type BookingLocation as G, type BookingManageSlotsQuery as H, type BookingService as I, type BookingSlot as J, type BookingSlots as K, type BookingSlotsQuery as L, type BookingStaff as M, type BookingStatus as N, type Bundle as O, type ProductDetail as P, type BundleCatalogQuery as Q, type BundleItem as R, type SdkResult as S, type Cart as T, type CartBundleLine as U, type CartBundleLineItem as V, type CartDiscount as W, type CartItem as X, type CartItemProduct as Y, type CartLinkClaimed as Z, type CartPromotion as _, type ProductVariant as a, type MenuItem as a$, type Category as a0, type CategoryDetail as a1, type CertificateVerification as a2, type CheckoutAddress as a3, type CheckoutInput as a4, type CheckoutPaymentMethod as a5, type CheckoutPreview as a6, type CheckoutResult as a7, type CheckoutSettings as a8, type CookieConsentInput as a9, type FacetLabel as aA, type FacetPriceRange as aB, type FacetRange as aC, type FacetRatingBucket as aD, type FacetValue as aE, type FacetsResponse as aF, type FilterField as aG, type FulfillmentStatus as aH, FulfillmentStatuses as aI, type GamificationRefreshResult as aJ, type GiftCardBalance as aK, type GiftCardPurchaseInput as aL, type GiftCardPurchaseResult as aM, type GiftCardSummary as aN, type LessonNote as aO, type LessonQuiz as aP, type LoginInput as aQ, type LoyaltyBalance as aR, type LoyaltyNextTier as aS, type LoyaltyProgram as aT, type LoyaltyQuery as aU, type LoyaltyReferralResult as aV, type LoyaltySummary as aW, type LoyaltyTier as aX, type LoyaltyTierPerks as aY, type LoyaltyTransaction as aZ, type Menu as a_, type CourseAttachment as aa, type CourseCertificate as ab, type CourseComment as ac, type CourseCommentReply as ad, type CourseCommentsList as ae, type CourseDetail as af, type CourseLesson as ag, type CourseListItem as ah, type CourseModule as ai, type CoursePostedComment as aj, type CourseProgress as ak, type CourseTutorMessage as al, type CourseTutorThread as am, type CrossSellItem as an, type CurrencyDisplayFormat as ao, type CustomerAddress as ap, type CustomerBadge as aq, type CustomerChallenge as ar, type CustomerGamification as as, type CustomerGamificationQuery as at, type CustomerProfile as au, type DigitalDownload as av, type DownloadUrl as aw, type Facet as ax, type FacetAvailability as ay, type FacetCategory as az, type StorefrontFormFieldError as b, type RequestInterceptorConfig as b$, type MenuItemRef as b0, type MenuItemType as b1, type MessageResponse as b2, type NewsletterOptInDefault as b3, type NewsletterSubscribeInput as b4, type NewsletterSubscribeResult as b5, type NewsletterUnsubscribeResult as b6, type OrderAccessRequestResponse as b7, type OrderAccessVerifyResponse as b8, type OrderDetail as b9, type ProductAvailability as bA, type ProductGroup as bB, type ProductLabel as bC, type ProductListItem as bD, type ProductMedia as bE, type ProductMediaVariant as bF, type ProductParameter as bG, type ProductParameterGroup as bH, type ProductParametersResponse as bI, type ProductPrice as bJ, type ProductPromotionSummary as bK, type ProductReview as bL, type ProductReviewsResponse as bM, type ProductSibling as bN, ProductSort as bO, type ProductSortValue as bP, type ProductVolumePrice as bQ, type ProductsQuery as bR, type QuizAnswerInput as bS, type QuizAnswerResult as bT, type QuizQuestion as bU, type QuizResult as bV, type QuoteItem as bW, type QuoteRequest as bX, type RegisterInput as bY, type RegisterResult as bZ, type RequestInterceptor as b_, type OrderDiscount as ba, type OrderDocument as bb, type OrderItem as bc, type OrderListItem as bd, type OrderPaymentInstructions as be, type OrderPickupPoint as bf, type OrderShipment as bg, type OrderStatus as bh, type OrderStatusHistory as bi, OrderStatuses as bj, type OrderTracking as bk, type Page as bl, type PageAttachment as bm, type PageDetail as bn, type PaginatedResponse as bo, type PaymentInstrument as bp, type PaymentStatus as bq, PaymentStatuses as br, type PaymentSwift as bs, type PickupPoint as bt, type PickupPointHours as bu, type PickupPointsInput as bv, type PickupWidgetConfig as bw, type PriceDisplay as bx, type ProductAssetGroup as by, type ProductAssetItem as bz, type AddToCartInput as c, clearCartSummary as c$, type ResponseInterceptor as c0, type ResponseInterceptorData as c1, type ReturnRequest as c2, type ReturnRequestItem as c3, type ReturnStatus as c4, type ReturnStatusItem as c5, type ReturnableOrder as c6, type ReturnableOrderItem as c7, type SdkError as c8, type ShippingMethodSummary as c9, type StorefrontFaqGroups as cA, type StorefrontFaqItem as cB, type StorefrontFaqQuery as cC, type StorefrontForm as cD, type StorefrontFormFieldErrorCode as cE, type StorefrontFormFile as cF, type StorefrontFormSettings as cG, type StorefrontFormSubmitInput as cH, type StorefrontFormSubmitResult as cI, type StorefrontFormUpload as cJ, type SubmitQuoteInput as cK, type SubmitReturnInput as cL, type SubmitReviewInput as cM, type SubmitWithdrawalInput as cN, type Subscription as cO, type SubscriptionAction as cP, type SubscriptionFrequency as cQ, type SubscriptionItem as cR, type SubscriptionStatus as cS, type TaxBreakdownLine as cT, type VariantAxis as cU, type VariantAxisValue as cV, type WishlistItem as cW, type WithdrawalAcknowledgement as cX, type WithdrawalFlag as cY, type WithdrawalSettings as cZ, type WithdrawalWindow as c_, type ShippingPublicConfig as ca, type ShippingQuote as cb, type ShippingQuoteInput as cc, type ShopAppearance as cd, type ShopCommerce as ce, type ShopInfo as cf, type ShopScript as cg, type ShopScriptPlacement as ch, type ShopScriptType as ci, type ShopScripts as cj, type ShopSeo as ck, type ShopSeoIdentity as cl, type SiteFormField as cm, type SiteFormFieldOption as cn, type SiteFormFieldType as co, type Sitemap as cp, type SitemapEntry as cq, type StockBehavior as cr, type StockMode as cs, type StorefrontCollection as ct, type StorefrontCollectionField as cu, type StorefrontCollectionFieldType as cv, type StorefrontCollectionItem as cw, type StorefrontCollectionQuery as cx, type StorefrontFaqGroup as cy, type StorefrontFaqGroupSummary as cz, type AddressDetail as d, err as d0, ok as d1, publishCartSummary as d2, toSdkError as d3, type AddressSuggestion as e, type AddressType as f, AddressTypes as g, type AuthTokens as h, type BackInStockSubscription as i, type BadgeTone as j, BehioApiError as k, type BehioErrorCode as l, type BehioEventHandler as m, type BehioEventType as n, BehioNetworkError as o, type BehioStorefrontConfig as p, type Blog as q, type BlogPostDetail as r, type BlogPostListItem as s, type BlogPostsPage as t, type BlogPostsQuery as u, type BlogSettings as v, type BlogTag as w, type Booking as x, type BookingCategory as y, type BookingConfig as z };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as ProductDetail, a as ProductVariant, B as BehioStorefront, S as SdkResult, C as CookieConsent, b as StorefrontFormFieldError } from './client-
|
|
2
|
-
export { A as ActivePromotion, c as AddToCartInput, d as AddressDetail, e as AddressSuggestion, f as AddressType, g as AddressTypes, h as AuthTokens, i as BackInStockSubscription, j as BadgeTone, k as BehioApiError, l as BehioErrorCode, m as BehioEventHandler, n as BehioEventType, o as BehioNetworkError, p as BehioStorefrontConfig, q as Blog, r as BlogPostDetail, s as BlogPostListItem, t as BlogPostsPage, u as BlogPostsQuery, v as BlogSettings, w as BlogTag, x as
|
|
1
|
+
import { P as ProductDetail, a as ProductVariant, B as BehioStorefront, S as SdkResult, C as CookieConsent, b as StorefrontFormFieldError } from './client-Btc3Nduh.mjs';
|
|
2
|
+
export { A as ActivePromotion, c as AddToCartInput, d as AddressDetail, e as AddressSuggestion, f as AddressType, g as AddressTypes, h as AuthTokens, i as BackInStockSubscription, j as BadgeTone, k as BehioApiError, l as BehioErrorCode, m as BehioEventHandler, n as BehioEventType, o as BehioNetworkError, p as BehioStorefrontConfig, q as Blog, r as BlogPostDetail, s as BlogPostListItem, t as BlogPostsPage, u as BlogPostsQuery, v as BlogSettings, w as BlogTag, x as Booking, y as BookingCategory, z as BookingConfig, D as BookingCreateInput, E as BookingCreated, F as BookingLocale, G as BookingLocation, H as BookingManageSlotsQuery, I as BookingService, J as BookingSlot, K as BookingSlots, L as BookingSlotsQuery, M as BookingStaff, N as BookingStatus, O as Bundle, Q as BundleCatalogQuery, R as BundleItem, T as Cart, U as CartBundleLine, V as CartBundleLineItem, W as CartDiscount, X as CartItem, Y as CartItemProduct, Z as CartLinkClaimed, _ as CartPromotion, $ as CartSummaryEvent, a0 as Category, a1 as CategoryDetail, a2 as CertificateVerification, a3 as CheckoutAddress, a4 as CheckoutInput, a5 as CheckoutPaymentMethod, a6 as CheckoutPreview, a7 as CheckoutResult, a8 as CheckoutSettings, a9 as CookieConsentInput, aa as CourseAttachment, ab as CourseCertificate, ac as CourseComment, ad as CourseCommentReply, ae as CourseCommentsList, af as CourseDetail, ag as CourseLesson, ah as CourseListItem, ai as CourseModule, aj as CoursePostedComment, ak as CourseProgress, al as CourseTutorMessage, am as CourseTutorThread, an as CrossSellItem, ao as CurrencyDisplayFormat, ap as CustomerAddress, aq as CustomerBadge, ar as CustomerChallenge, as as CustomerGamification, at as CustomerGamificationQuery, au as CustomerProfile, av as DigitalDownload, aw as DownloadUrl, ax as Facet, ay as FacetAvailability, az as FacetCategory, aA as FacetLabel, aB as FacetPriceRange, aC as FacetRange, aD as FacetRatingBucket, aE as FacetValue, aF as FacetsResponse, aG as FilterField, aH as FulfillmentStatus, aI as FulfillmentStatuses, aJ as GamificationRefreshResult, aK as GiftCardBalance, aL as GiftCardPurchaseInput, aM as GiftCardPurchaseResult, aN as GiftCardSummary, aO as LessonNote, aP as LessonQuiz, aQ as LoginInput, aR as LoyaltyBalance, aS as LoyaltyNextTier, aT as LoyaltyProgram, aU as LoyaltyQuery, aV as LoyaltyReferralResult, aW as LoyaltySummary, aX as LoyaltyTier, aY as LoyaltyTierPerks, aZ as LoyaltyTransaction, a_ as Menu, a$ as MenuItem, b0 as MenuItemRef, b1 as MenuItemType, b2 as MessageResponse, b3 as NewsletterOptInDefault, b4 as NewsletterSubscribeInput, b5 as NewsletterSubscribeResult, b6 as NewsletterUnsubscribeResult, b7 as OrderAccessRequestResponse, b8 as OrderAccessVerifyResponse, b9 as OrderDetail, ba as OrderDiscount, bb as OrderDocument, bc as OrderItem, bd as OrderListItem, be as OrderPaymentInstructions, bf as OrderPickupPoint, bg as OrderShipment, bh as OrderStatus, bi as OrderStatusHistory, bj as OrderStatuses, bk as OrderTracking, bl as Page, bm as PageAttachment, bn as PageDetail, bo as PaginatedResponse, bp as PaymentInstrument, bq as PaymentStatus, br as PaymentStatuses, bs as PaymentSwift, bt as PickupPoint, bu as PickupPointHours, bv as PickupPointsInput, bw as PickupWidgetConfig, bx as PriceDisplay, by as ProductAssetGroup, bz as ProductAssetItem, bA as ProductAvailability, bB as ProductGroup, bC as ProductLabel, bD as ProductListItem, bE as ProductMedia, bF as ProductMediaVariant, bG as ProductParameter, bH as ProductParameterGroup, bI as ProductParametersResponse, bJ as ProductPrice, bK as ProductPromotionSummary, bL as ProductReview, bM as ProductReviewsResponse, bN as ProductSibling, bO as ProductSort, bP as ProductSortValue, bQ as ProductVolumePrice, bR as ProductsQuery, bS as QuizAnswerInput, bT as QuizAnswerResult, bU as QuizQuestion, bV as QuizResult, bW as QuoteItem, bX as QuoteRequest, bY as RegisterInput, bZ as RegisterResult, b_ as RequestInterceptor, b$ as RequestInterceptorConfig, c0 as ResponseInterceptor, c1 as ResponseInterceptorData, c2 as ReturnRequest, c3 as ReturnRequestItem, c4 as ReturnStatus, c5 as ReturnStatusItem, c6 as ReturnableOrder, c7 as ReturnableOrderItem, c8 as SdkError, c9 as ShippingMethodSummary, ca as ShippingPublicConfig, cb as ShippingQuote, cc as ShippingQuoteInput, cd as ShopAppearance, ce as ShopCommerce, cf as ShopInfo, cg as ShopScript, ch as ShopScriptPlacement, ci as ShopScriptType, cj as ShopScripts, ck as ShopSeo, cl as ShopSeoIdentity, cm as SiteFormField, cn as SiteFormFieldOption, co as SiteFormFieldType, cp as Sitemap, cq as SitemapEntry, cr as StockBehavior, cs as StockMode, ct as StorefrontCollection, cu as StorefrontCollectionField, cv as StorefrontCollectionFieldType, cw as StorefrontCollectionItem, cx as StorefrontCollectionQuery, cy as StorefrontFaqGroup, cz as StorefrontFaqGroupSummary, cA as StorefrontFaqGroups, cB as StorefrontFaqItem, cC as StorefrontFaqQuery, cD as StorefrontForm, cE as StorefrontFormFieldErrorCode, cF as StorefrontFormFile, cG as StorefrontFormSettings, cH as StorefrontFormSubmitInput, cI as StorefrontFormSubmitResult, cJ as StorefrontFormUpload, cK as SubmitQuoteInput, cL as SubmitReturnInput, cM as SubmitReviewInput, cN as SubmitWithdrawalInput, cO as Subscription, cP as SubscriptionAction, cQ as SubscriptionFrequency, cR as SubscriptionItem, cS as SubscriptionStatus, cT as TaxBreakdownLine, cU as VariantAxis, cV as VariantAxisValue, cW as WishlistItem, cX as WithdrawalAcknowledgement, cY as WithdrawalFlag, cZ as WithdrawalSettings, c_ as WithdrawalWindow, c$ as clearCartSummary, d0 as err, d1 as ok, d2 as publishCartSummary, d3 as toSdkError } from './client-Btc3Nduh.mjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Format a price amount with currency using Intl.NumberFormat.
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as ProductDetail, a as ProductVariant, B as BehioStorefront, S as SdkResult, C as CookieConsent, b as StorefrontFormFieldError } from './client-
|
|
2
|
-
export { A as ActivePromotion, c as AddToCartInput, d as AddressDetail, e as AddressSuggestion, f as AddressType, g as AddressTypes, h as AuthTokens, i as BackInStockSubscription, j as BadgeTone, k as BehioApiError, l as BehioErrorCode, m as BehioEventHandler, n as BehioEventType, o as BehioNetworkError, p as BehioStorefrontConfig, q as Blog, r as BlogPostDetail, s as BlogPostListItem, t as BlogPostsPage, u as BlogPostsQuery, v as BlogSettings, w as BlogTag, x as
|
|
1
|
+
import { P as ProductDetail, a as ProductVariant, B as BehioStorefront, S as SdkResult, C as CookieConsent, b as StorefrontFormFieldError } from './client-Btc3Nduh.js';
|
|
2
|
+
export { A as ActivePromotion, c as AddToCartInput, d as AddressDetail, e as AddressSuggestion, f as AddressType, g as AddressTypes, h as AuthTokens, i as BackInStockSubscription, j as BadgeTone, k as BehioApiError, l as BehioErrorCode, m as BehioEventHandler, n as BehioEventType, o as BehioNetworkError, p as BehioStorefrontConfig, q as Blog, r as BlogPostDetail, s as BlogPostListItem, t as BlogPostsPage, u as BlogPostsQuery, v as BlogSettings, w as BlogTag, x as Booking, y as BookingCategory, z as BookingConfig, D as BookingCreateInput, E as BookingCreated, F as BookingLocale, G as BookingLocation, H as BookingManageSlotsQuery, I as BookingService, J as BookingSlot, K as BookingSlots, L as BookingSlotsQuery, M as BookingStaff, N as BookingStatus, O as Bundle, Q as BundleCatalogQuery, R as BundleItem, T as Cart, U as CartBundleLine, V as CartBundleLineItem, W as CartDiscount, X as CartItem, Y as CartItemProduct, Z as CartLinkClaimed, _ as CartPromotion, $ as CartSummaryEvent, a0 as Category, a1 as CategoryDetail, a2 as CertificateVerification, a3 as CheckoutAddress, a4 as CheckoutInput, a5 as CheckoutPaymentMethod, a6 as CheckoutPreview, a7 as CheckoutResult, a8 as CheckoutSettings, a9 as CookieConsentInput, aa as CourseAttachment, ab as CourseCertificate, ac as CourseComment, ad as CourseCommentReply, ae as CourseCommentsList, af as CourseDetail, ag as CourseLesson, ah as CourseListItem, ai as CourseModule, aj as CoursePostedComment, ak as CourseProgress, al as CourseTutorMessage, am as CourseTutorThread, an as CrossSellItem, ao as CurrencyDisplayFormat, ap as CustomerAddress, aq as CustomerBadge, ar as CustomerChallenge, as as CustomerGamification, at as CustomerGamificationQuery, au as CustomerProfile, av as DigitalDownload, aw as DownloadUrl, ax as Facet, ay as FacetAvailability, az as FacetCategory, aA as FacetLabel, aB as FacetPriceRange, aC as FacetRange, aD as FacetRatingBucket, aE as FacetValue, aF as FacetsResponse, aG as FilterField, aH as FulfillmentStatus, aI as FulfillmentStatuses, aJ as GamificationRefreshResult, aK as GiftCardBalance, aL as GiftCardPurchaseInput, aM as GiftCardPurchaseResult, aN as GiftCardSummary, aO as LessonNote, aP as LessonQuiz, aQ as LoginInput, aR as LoyaltyBalance, aS as LoyaltyNextTier, aT as LoyaltyProgram, aU as LoyaltyQuery, aV as LoyaltyReferralResult, aW as LoyaltySummary, aX as LoyaltyTier, aY as LoyaltyTierPerks, aZ as LoyaltyTransaction, a_ as Menu, a$ as MenuItem, b0 as MenuItemRef, b1 as MenuItemType, b2 as MessageResponse, b3 as NewsletterOptInDefault, b4 as NewsletterSubscribeInput, b5 as NewsletterSubscribeResult, b6 as NewsletterUnsubscribeResult, b7 as OrderAccessRequestResponse, b8 as OrderAccessVerifyResponse, b9 as OrderDetail, ba as OrderDiscount, bb as OrderDocument, bc as OrderItem, bd as OrderListItem, be as OrderPaymentInstructions, bf as OrderPickupPoint, bg as OrderShipment, bh as OrderStatus, bi as OrderStatusHistory, bj as OrderStatuses, bk as OrderTracking, bl as Page, bm as PageAttachment, bn as PageDetail, bo as PaginatedResponse, bp as PaymentInstrument, bq as PaymentStatus, br as PaymentStatuses, bs as PaymentSwift, bt as PickupPoint, bu as PickupPointHours, bv as PickupPointsInput, bw as PickupWidgetConfig, bx as PriceDisplay, by as ProductAssetGroup, bz as ProductAssetItem, bA as ProductAvailability, bB as ProductGroup, bC as ProductLabel, bD as ProductListItem, bE as ProductMedia, bF as ProductMediaVariant, bG as ProductParameter, bH as ProductParameterGroup, bI as ProductParametersResponse, bJ as ProductPrice, bK as ProductPromotionSummary, bL as ProductReview, bM as ProductReviewsResponse, bN as ProductSibling, bO as ProductSort, bP as ProductSortValue, bQ as ProductVolumePrice, bR as ProductsQuery, bS as QuizAnswerInput, bT as QuizAnswerResult, bU as QuizQuestion, bV as QuizResult, bW as QuoteItem, bX as QuoteRequest, bY as RegisterInput, bZ as RegisterResult, b_ as RequestInterceptor, b$ as RequestInterceptorConfig, c0 as ResponseInterceptor, c1 as ResponseInterceptorData, c2 as ReturnRequest, c3 as ReturnRequestItem, c4 as ReturnStatus, c5 as ReturnStatusItem, c6 as ReturnableOrder, c7 as ReturnableOrderItem, c8 as SdkError, c9 as ShippingMethodSummary, ca as ShippingPublicConfig, cb as ShippingQuote, cc as ShippingQuoteInput, cd as ShopAppearance, ce as ShopCommerce, cf as ShopInfo, cg as ShopScript, ch as ShopScriptPlacement, ci as ShopScriptType, cj as ShopScripts, ck as ShopSeo, cl as ShopSeoIdentity, cm as SiteFormField, cn as SiteFormFieldOption, co as SiteFormFieldType, cp as Sitemap, cq as SitemapEntry, cr as StockBehavior, cs as StockMode, ct as StorefrontCollection, cu as StorefrontCollectionField, cv as StorefrontCollectionFieldType, cw as StorefrontCollectionItem, cx as StorefrontCollectionQuery, cy as StorefrontFaqGroup, cz as StorefrontFaqGroupSummary, cA as StorefrontFaqGroups, cB as StorefrontFaqItem, cC as StorefrontFaqQuery, cD as StorefrontForm, cE as StorefrontFormFieldErrorCode, cF as StorefrontFormFile, cG as StorefrontFormSettings, cH as StorefrontFormSubmitInput, cI as StorefrontFormSubmitResult, cJ as StorefrontFormUpload, cK as SubmitQuoteInput, cL as SubmitReturnInput, cM as SubmitReviewInput, cN as SubmitWithdrawalInput, cO as Subscription, cP as SubscriptionAction, cQ as SubscriptionFrequency, cR as SubscriptionItem, cS as SubscriptionStatus, cT as TaxBreakdownLine, cU as VariantAxis, cV as VariantAxisValue, cW as WishlistItem, cX as WithdrawalAcknowledgement, cY as WithdrawalFlag, cZ as WithdrawalSettings, c_ as WithdrawalWindow, c$ as clearCartSummary, d0 as err, d1 as ok, d2 as publishCartSummary, d3 as toSdkError } from './client-Btc3Nduh.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Format a price amount with currency using Intl.NumberFormat.
|
package/dist/index.js
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkIUC57IOBjs = require('./chunk-IUC57IOB.js');
|
|
16
16
|
|
|
17
17
|
// src/react/utils/format-price.ts
|
|
18
18
|
function formatPrice(amount, currency, locale, display) {
|
|
@@ -238,8 +238,25 @@ async function revokeAnalyticsConsent(client) {
|
|
|
238
238
|
var ERROR_MESSAGES = {
|
|
239
239
|
"cs": {
|
|
240
240
|
"be.billing.apiDailyLimit": "Denn\xED limit vol\xE1n\xED API va\u0161eho tarifu ({limit}) je vy\u010Derpan\xFD. Obnov\xED se o p\u016Flnoci UTC, vy\u0161\u0161\xED tarif m\xE1 limit vy\u0161\u0161\xED.",
|
|
241
|
+
"be.bookings.bookingNotActive": "Rezervace u\u017E nen\xED aktivn\xED, tak\u017Ee ji nejde m\u011Bnit.",
|
|
242
|
+
"be.bookings.changeTooLate": "Na zm\u011Bnu nebo zru\u0161en\xED p\u0159es odkaz je u\u017E pozd\u011B. Ozv\u011Bte se n\xE1m pros\xEDm p\u0159\xEDmo.",
|
|
243
|
+
"be.bookings.manageNotFound": "Odkaz na rezervaci neplat\xED. Pou\u017Eijte pros\xEDm posledn\xED e-mail, kter\xFD v\xE1m p\u0159i\u0161el.",
|
|
244
|
+
"be.bookings.originNotAllowed": "Na tomto webu rezerva\u010Dn\xED widget nem\xE1 povolen\xED b\u011B\u017Eet.",
|
|
245
|
+
"be.bookings.rangeInvalid": "Konec obdob\xED je p\u0159ed za\u010D\xE1tkem.",
|
|
246
|
+
"be.bookings.rangeTooLong": "Vyberte nejv\xFD\u0161 {max} dn\xED.",
|
|
247
|
+
"be.bookings.rejected": "Rezervaci se nepoda\u0159ilo odeslat. Zkuste to pros\xEDm znovu.",
|
|
248
|
+
"be.bookings.serviceNotFound": "Slu\u017Eba nebyla nalezena nebo nen\xED dostupn\xE1.",
|
|
249
|
+
"be.bookings.servicesInvalid": "Vyberte aspo\u0148 jednu slu\u017Ebu.",
|
|
250
|
+
"be.bookings.servicesMixedCurrency": "Slu\u017Eby v jedn\xE9 rezervaci mus\xED m\xEDt stejnou m\u011Bnu.",
|
|
251
|
+
"be.bookings.slotTaken": "Tenhle term\xEDn si pr\xE1v\u011B n\u011Bkdo zarezervoval. Vyberte pros\xEDm jin\xFD.",
|
|
252
|
+
"be.bookings.staffCannotDoServices": "Vybran\xFD pracovn\xEDk tyto slu\u017Eby ned\u011Bl\xE1.",
|
|
253
|
+
"be.bookings.staffNotAvailable": "Vybran\xFD pracovn\xEDk te\u010F online rezervace nep\u0159ij\xEDm\xE1.",
|
|
254
|
+
"be.bookings.startInvalid": "Za\u010D\xE1tek rezervace nen\xED platn\xFD.",
|
|
255
|
+
"be.bookings.tooManyRequests": "P\u0159\xEDli\u0161 mnoho pokus\u016F. Zkuste to pros\xEDm za chv\xEDli.",
|
|
256
|
+
"be.bookings.widgetNotFound": "Rezervace tady nejsou dostupn\xE9.",
|
|
241
257
|
"be.collections.collectionNotFound": "Kolekce nebyla nalezena.",
|
|
242
258
|
"be.collections.itemNotFound": "Polo\u017Eka kolekce nebyla nalezena.",
|
|
259
|
+
"be.common.networkFailed": "Spojen\xED se serverem selhalo. Zkontrolujte p\u0159ipojen\xED a zkuste to znovu.",
|
|
243
260
|
"be.common.notFound": "Tohle u\u017E neexistuje.",
|
|
244
261
|
"be.forms.consentRequired": "Bez souhlasu nejde formul\xE1\u0159 odeslat.",
|
|
245
262
|
"be.forms.fileFieldNotFound": "Formul\xE1\u0159 takov\xE9 pole pro soubor nem\xE1.",
|
|
@@ -262,6 +279,7 @@ var ERROR_MESSAGES = {
|
|
|
262
279
|
"be.payments.goIdInvalid": "GoID nepat\u0159\xED k t\u011Bmto p\u0159\xEDstupov\xFDm \xFAdaj\u016Fm nebo neexistuje. Zkontrolujte GoID a tak\xE9 to, jestli sed\xED testovac\xED re\u017Eim.",
|
|
263
280
|
"be.payments.returnNotFound": "N\xE1vratov\xE1 adresa z platebn\xED br\xE1ny nen\xED platn\xE1.",
|
|
264
281
|
"be.payments.returnSecretMissing": "N\xE1vrat z platebn\xED br\xE1ny nen\xED na serveru nastaven\xFD.",
|
|
282
|
+
"be.payments.stripeAccountIncomplete": "Dokon\u010Dete aktivaci \xFA\u010Dtu ve Stripe. P\u0159ij\xEDm\xE1n\xED plateb nebo v\xFDplaty zat\xEDm nejsou povolen\xE9.",
|
|
265
283
|
"be.payments.webhookMissingPaymentId": "Ozn\xE1men\xED od br\xE1ny {provider} neobsahuje identifik\xE1tor platby.",
|
|
266
284
|
"be.payments.webhookSignatureInvalid": "Podpis platebn\xEDho ozn\xE1men\xED nen\xED platn\xFD.",
|
|
267
285
|
"be.sms.accountInactive": "\xDA\u010Det u oper\xE1tora nen\xED aktivn\xED, tak\u017Ee p\u0159es n\u011Bj zpr\xE1vy neodejdou. Zkontrolujte ho v jeho administraci.",
|
|
@@ -485,6 +503,9 @@ var ERROR_MESSAGES = {
|
|
|
485
503
|
"be.storefront.unknownPaymentProvider": "Nezn\xE1m\xFD poskytovatel plateb {provider}.",
|
|
486
504
|
"be.storefront.variantsOnlyParent": "Produkt {name} nejde koupit p\u0159\xEDmo. Vyberte jednu z jeho variant.",
|
|
487
505
|
"be.storefront.wishlistItemNotFound": "Polo\u017Eka obl\xEDben\xFDch nenalezena.",
|
|
506
|
+
"be.storefront.withdrawalAlreadySubmitted": "Od t\xE9to objedn\xE1vky u\u017E jste odstoupili, nebo u n\xED b\u011B\u017E\xED vr\xE1cen\xED v\u0161ech polo\u017Eek.",
|
|
507
|
+
"be.storefront.withdrawalDisabled": "Tento obchod online odstoupen\xED od smlouvy nenab\xEDz\xED. Napi\u0161te mu pros\xEDm e-mailem.",
|
|
508
|
+
"be.storefront.withdrawalNameRequired": "Vypl\u0148te pros\xEDm sv\xE9 jm\xE9no.",
|
|
488
509
|
"be.web.webNotFound": "Web nebyl nalezen.",
|
|
489
510
|
"be.validation.failed": "N\u011Bkter\xFD \xFAdaj nen\xED spr\xE1vn\u011B vypln\u011Bn\xFD. Zkontrolujte ho pros\xEDm.",
|
|
490
511
|
"be.validation.required": "Toto pole je povinn\xE9.",
|
|
@@ -503,8 +524,25 @@ var ERROR_MESSAGES = {
|
|
|
503
524
|
},
|
|
504
525
|
"sk": {
|
|
505
526
|
"be.billing.apiDailyLimit": "Denn\xFD limit volan\xED API v\xE1\u0161ho tarifu ({limit}) je vy\u010Derpan\xFD. Obnov\xED sa o polnoci UTC, vy\u0161\u0161\xED tarif m\xE1 vy\u0161\u0161\xED limit.",
|
|
527
|
+
"be.bookings.bookingNotActive": "Rezerv\xE1cia u\u017E nie je akt\xEDvna, tak\u017Ee ju nejde meni\u0165.",
|
|
528
|
+
"be.bookings.changeTooLate": "Na zmenu alebo zru\u0161enie cez odkaz je u\u017E neskoro. Ozvite sa n\xE1m pros\xEDm priamo.",
|
|
529
|
+
"be.bookings.manageNotFound": "Odkaz na rezerv\xE1ciu neplat\xED. Pou\u017Eite pros\xEDm posledn\xFD e-mail, ktor\xFD v\xE1m pri\u0161iel.",
|
|
530
|
+
"be.bookings.originNotAllowed": "Na tomto webe rezerva\u010Dn\xFD widget nem\xE1 povolenie be\u017Ea\u0165.",
|
|
531
|
+
"be.bookings.rangeInvalid": "Koniec obdobia je pred za\u010Diatkom.",
|
|
532
|
+
"be.bookings.rangeTooLong": "Vyberte najviac {max} dn\xED.",
|
|
533
|
+
"be.bookings.rejected": "Rezerv\xE1ciu sa nepodarilo odosla\u0165. Sk\xFAste to pros\xEDm znova.",
|
|
534
|
+
"be.bookings.serviceNotFound": "Slu\u017Eba nebola n\xE1jden\xE1 alebo nie je dostupn\xE1.",
|
|
535
|
+
"be.bookings.servicesInvalid": "Vyberte aspo\u0148 jednu slu\u017Ebu.",
|
|
536
|
+
"be.bookings.servicesMixedCurrency": "Slu\u017Eby v jednej rezerv\xE1cii musia ma\u0165 rovnak\xFA menu.",
|
|
537
|
+
"be.bookings.slotTaken": "Tento term\xEDn si pr\xE1ve niekto zarezervoval. Vyberte pros\xEDm in\xFD.",
|
|
538
|
+
"be.bookings.staffCannotDoServices": "Vybran\xFD pracovn\xEDk tieto slu\u017Eby nerob\xED.",
|
|
539
|
+
"be.bookings.staffNotAvailable": "Vybran\xFD pracovn\xEDk teraz online rezerv\xE1cie neprij\xEDma.",
|
|
540
|
+
"be.bookings.startInvalid": "Za\u010Diatok rezerv\xE1cie nie je platn\xFD.",
|
|
541
|
+
"be.bookings.tooManyRequests": "Pr\xEDli\u0161 ve\u013Ea pokusov. Sk\xFAste to pros\xEDm o chv\xED\u013Eu.",
|
|
542
|
+
"be.bookings.widgetNotFound": "Rezerv\xE1cie tu nie s\xFA dostupn\xE9.",
|
|
506
543
|
"be.collections.collectionNotFound": "Kolekcia sa nena\u0161la.",
|
|
507
544
|
"be.collections.itemNotFound": "Polo\u017Eka kolekcie sa nena\u0161la.",
|
|
545
|
+
"be.common.networkFailed": "Spojenie so serverom zlyhalo. Skontrolujte pripojenie a sk\xFAste to znova.",
|
|
508
546
|
"be.common.notFound": "Toto u\u017E neexistuje.",
|
|
509
547
|
"be.forms.consentRequired": "Bez s\xFAhlasu sa formul\xE1r ned\xE1 odosla\u0165.",
|
|
510
548
|
"be.forms.fileFieldNotFound": "Formul\xE1r tak\xE9to pole pre s\xFAbor nem\xE1.",
|
|
@@ -527,6 +565,7 @@ var ERROR_MESSAGES = {
|
|
|
527
565
|
"be.payments.goIdInvalid": "GoID nepatr\xED k t\xFDmto pr\xEDstupov\xFDm \xFAdajom alebo neexistuje. Skontrolujte GoID a tie\u017E to, \u010Di sed\xED testovac\xED re\u017Eim.",
|
|
528
566
|
"be.payments.returnNotFound": "N\xE1vratov\xE1 adresa z platobnej br\xE1ny nie je platn\xE1.",
|
|
529
567
|
"be.payments.returnSecretMissing": "N\xE1vrat z platobnej br\xE1ny nie je na serveri nastaven\xFD.",
|
|
568
|
+
"be.payments.stripeAccountIncomplete": "Dokon\u010Dite aktiv\xE1ciu \xFA\u010Dtu v Stripe. Prij\xEDmanie platieb alebo v\xFDplaty zatia\u013E nie s\xFA povolen\xE9.",
|
|
530
569
|
"be.payments.webhookMissingPaymentId": "Ozn\xE1menie od br\xE1ny {provider} neobsahuje identifik\xE1tor platby.",
|
|
531
570
|
"be.payments.webhookSignatureInvalid": "Podpis platobn\xE9ho ozn\xE1menia nie je platn\xFD.",
|
|
532
571
|
"be.sms.accountInactive": "\xDA\u010Det u oper\xE1tora nie je akt\xEDvny, tak\u017Ee cez neho spr\xE1vy neod\xEDdu. Skontrolujte ho v jeho administr\xE1cii.",
|
|
@@ -750,6 +789,9 @@ var ERROR_MESSAGES = {
|
|
|
750
789
|
"be.storefront.unknownPaymentProvider": "Nezn\xE1my poskytovate\u013E platieb {provider}.",
|
|
751
790
|
"be.storefront.variantsOnlyParent": "Produkt {name} sa ned\xE1 k\xFApi\u0165 priamo. Vyberte jeden z jeho variantov.",
|
|
752
791
|
"be.storefront.wishlistItemNotFound": "Polo\u017Eka ob\u013E\xFAben\xFDch sa nena\u0161la.",
|
|
792
|
+
"be.storefront.withdrawalAlreadySubmitted": "Od tejto objedn\xE1vky ste u\u017E odst\xFApili, alebo pri nej prebieha vr\xE1tenie v\u0161etk\xFDch polo\u017Eiek.",
|
|
793
|
+
"be.storefront.withdrawalDisabled": "Tento obchod online odst\xFApenie od zmluvy nepon\xFAka. Nap\xED\u0161te mu pros\xEDm e-mailom.",
|
|
794
|
+
"be.storefront.withdrawalNameRequired": "Vypl\u0148te pros\xEDm svoje meno.",
|
|
753
795
|
"be.web.webNotFound": "Web sa nena\u0161iel.",
|
|
754
796
|
"be.validation.failed": "Niektor\xFD \xFAdaj nie je spr\xE1vne vyplnen\xFD. Skontrolujte ho pros\xEDm.",
|
|
755
797
|
"be.validation.required": "Toto pole je povinn\xE9.",
|
|
@@ -768,8 +810,25 @@ var ERROR_MESSAGES = {
|
|
|
768
810
|
},
|
|
769
811
|
"en": {
|
|
770
812
|
"be.billing.apiDailyLimit": "Your plan's daily API limit ({limit} calls) has been reached. It resets at midnight UTC; higher plans have a higher limit.",
|
|
813
|
+
"be.bookings.bookingNotActive": "This booking is no longer active, so it cannot be changed.",
|
|
814
|
+
"be.bookings.changeTooLate": "It is too late to change or cancel through the link. Please contact us directly.",
|
|
815
|
+
"be.bookings.manageNotFound": "This booking link is not valid. Please use the latest e-mail you received.",
|
|
816
|
+
"be.bookings.originNotAllowed": "The booking widget is not allowed to run on this website.",
|
|
817
|
+
"be.bookings.rangeInvalid": "The end of the period is before its start.",
|
|
818
|
+
"be.bookings.rangeTooLong": "Choose at most {max} days.",
|
|
819
|
+
"be.bookings.rejected": "The booking could not be sent. Please try again.",
|
|
820
|
+
"be.bookings.serviceNotFound": "Service not found or not available.",
|
|
821
|
+
"be.bookings.servicesInvalid": "Choose at least one service.",
|
|
822
|
+
"be.bookings.servicesMixedCurrency": "Services in one booking must use the same currency.",
|
|
823
|
+
"be.bookings.slotTaken": "Someone has just booked this time. Please choose another one.",
|
|
824
|
+
"be.bookings.staffCannotDoServices": "The selected staff member does not provide these services.",
|
|
825
|
+
"be.bookings.staffNotAvailable": "The selected staff member is not taking online bookings right now.",
|
|
826
|
+
"be.bookings.startInvalid": "The booking start is not valid.",
|
|
827
|
+
"be.bookings.tooManyRequests": "Too many attempts. Please try again in a moment.",
|
|
828
|
+
"be.bookings.widgetNotFound": "Bookings are not available here.",
|
|
771
829
|
"be.collections.collectionNotFound": "Collection not found.",
|
|
772
830
|
"be.collections.itemNotFound": "Collection item not found.",
|
|
831
|
+
"be.common.networkFailed": "Connection to the server failed. Check your network and try again.",
|
|
773
832
|
"be.common.notFound": "This no longer exists.",
|
|
774
833
|
"be.forms.consentRequired": "The form cannot be sent without consent.",
|
|
775
834
|
"be.forms.fileFieldNotFound": "This form has no such file field.",
|
|
@@ -792,6 +851,7 @@ var ERROR_MESSAGES = {
|
|
|
792
851
|
"be.payments.goIdInvalid": "This GoID does not belong to these credentials or does not exist. Check the GoID, and check that test mode matches.",
|
|
793
852
|
"be.payments.returnNotFound": "This payment return link is not valid.",
|
|
794
853
|
"be.payments.returnSecretMissing": "Payment return is not configured on the server.",
|
|
854
|
+
"be.payments.stripeAccountIncomplete": "Complete your Stripe account activation. Payments or payouts are not enabled yet.",
|
|
795
855
|
"be.payments.webhookMissingPaymentId": "The notification from {provider} does not contain a payment identifier.",
|
|
796
856
|
"be.payments.webhookSignatureInvalid": "The payment notification signature is not valid.",
|
|
797
857
|
"be.sms.accountInactive": "The operator account is not active, so nothing will go out through it. Check it in their administration.",
|
|
@@ -1015,6 +1075,9 @@ var ERROR_MESSAGES = {
|
|
|
1015
1075
|
"be.storefront.unknownPaymentProvider": "Unknown payment provider",
|
|
1016
1076
|
"be.storefront.variantsOnlyParent": "{name} cannot be purchased directly, choose one of its variants",
|
|
1017
1077
|
"be.storefront.wishlistItemNotFound": "Wishlist item not found",
|
|
1078
|
+
"be.storefront.withdrawalAlreadySubmitted": "You have already withdrawn from this order, or a return of every item is in progress.",
|
|
1079
|
+
"be.storefront.withdrawalDisabled": "This shop does not offer online withdrawal. Please contact it by e-mail.",
|
|
1080
|
+
"be.storefront.withdrawalNameRequired": "Please enter your name.",
|
|
1018
1081
|
"be.web.webNotFound": "Website not found",
|
|
1019
1082
|
"be.validation.failed": "Some of the details are not filled in correctly. Please check them.",
|
|
1020
1083
|
"be.validation.required": "This field is required.",
|
|
@@ -1040,7 +1103,7 @@ var GENERIC = {
|
|
|
1040
1103
|
en: "Something went wrong, please try again."
|
|
1041
1104
|
};
|
|
1042
1105
|
function bodyOf(err2) {
|
|
1043
|
-
const body = err2 instanceof
|
|
1106
|
+
const body = err2 instanceof _chunkIUC57IOBjs.BehioApiError ? err2.body : err2 && typeof err2 === "object" && "body" in err2 ? err2.body : err2;
|
|
1044
1107
|
return body && typeof body === "object" ? body : null;
|
|
1045
1108
|
}
|
|
1046
1109
|
function errorCode(err2) {
|
|
@@ -1157,4 +1220,4 @@ function formFieldErrors(err2) {
|
|
|
1157
1220
|
|
|
1158
1221
|
|
|
1159
1222
|
|
|
1160
|
-
exports.AddressTypes =
|
|
1223
|
+
exports.AddressTypes = _chunkIUC57IOBjs.AddressTypes; exports.BehioApiError = _chunkIUC57IOBjs.BehioApiError; exports.BehioNetworkError = _chunkIUC57IOBjs.BehioNetworkError; exports.BehioStorefront = _chunkIUC57IOBjs.BehioStorefront; exports.FulfillmentStatuses = _chunkIUC57IOBjs.FulfillmentStatuses; exports.OrderStatuses = _chunkIUC57IOBjs.OrderStatuses; exports.PaymentStatuses = _chunkIUC57IOBjs.PaymentStatuses; exports.ProductSort = _chunkIUC57IOBjs.ProductSort; exports.VARIANT_QUERY_PARAM = VARIANT_QUERY_PARAM; exports.availableAxisValues = availableAxisValues; exports.buildVariantComparison = buildVariantComparison; exports.clearCartSummary = _chunkIUC57IOBjs.clearCartSummary; exports.err = _chunkIUC57IOBjs.err; exports.errorCode = errorCode; exports.errorMessage = errorMessage; exports.errorParams = errorParams; exports.findVariantByAttributes = findVariantByAttributes; exports.formFieldErrors = formFieldErrors; exports.formatPrice = formatPrice; exports.generateVisitorId = generateVisitorId; exports.getStoredVisitorId = getStoredVisitorId; exports.grantAnalyticsConsent = grantAnalyticsConsent; exports.ok = _chunkIUC57IOBjs.ok; exports.publishCartSummary = _chunkIUC57IOBjs.publishCartSummary; exports.resolveVariantContent = resolveVariantContent; exports.revokeAnalyticsConsent = revokeAnalyticsConsent; exports.toSdkError = _chunkIUC57IOBjs.toSdkError; exports.trackEcommerceEvent = trackEcommerceEvent; exports.validationFieldMessages = validationFieldMessages; exports.variantFromQuery = variantFromQuery; exports.variantHref = variantHref;
|