@cimplify/sdk 0.51.1 → 0.52.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.
Files changed (51) hide show
  1. package/dist/advanced.d.mts +1 -1
  2. package/dist/advanced.d.ts +1 -1
  3. package/dist/advanced.js +23 -22
  4. package/dist/advanced.mjs +4 -3
  5. package/dist/chunk-3G6RQLXK.mjs +21 -0
  6. package/dist/{chunk-GUZXQSGI.mjs → chunk-4QDCMYYB.mjs} +10 -21
  7. package/dist/{chunk-CAG3TEXO.js → chunk-7A3D3LFI.js} +4 -4
  8. package/dist/{chunk-6RP6OPYO.js → chunk-7Y2O3E4D.js} +3 -3
  9. package/dist/{chunk-Z2AYLZDF.mjs → chunk-AMZXALF6.mjs} +1 -21
  10. package/dist/{chunk-VOWMB2KR.js → chunk-EQLT46ZR.js} +75 -78
  11. package/dist/{chunk-FXACV333.mjs → chunk-GLAVTDDE.mjs} +55 -58
  12. package/dist/chunk-OWW5GUSB.js +28 -0
  13. package/dist/{chunk-GEWFWQYK.js → chunk-Q5VGDCQF.js} +235 -234
  14. package/dist/{chunk-632JEJUS.mjs → chunk-R3F55BRN.mjs} +2 -1
  15. package/dist/{chunk-QCS6D4XW.mjs → chunk-RDORJT7Y.mjs} +2 -2
  16. package/dist/{chunk-XY2DFX5K.mjs → chunk-TD3AY34U.mjs} +1 -1
  17. package/dist/{chunk-FJQC4VSN.js → chunk-W6CCBNGL.js} +68 -79
  18. package/dist/{chunk-TKOTACKZ.js → chunk-XA3ZNR75.js} +0 -26
  19. package/dist/{client-CF2pmEE9.d.mts → client-C6J_RGlr.d.mts} +27 -45
  20. package/dist/{client-B6x53-Al.d.ts → client-CX7IFIkL.d.ts} +27 -45
  21. package/dist/{client-BbrCopIS.d.mts → client-DdefKjcs.d.mts} +1 -1
  22. package/dist/{client-BvEjhvwq.d.ts → client-Lt7uGLmT.d.ts} +1 -1
  23. package/dist/index.d.mts +1 -1
  24. package/dist/index.d.ts +1 -1
  25. package/dist/index.js +110 -109
  26. package/dist/index.mjs +5 -4
  27. package/dist/react.d.mts +1 -1
  28. package/dist/react.d.ts +1 -1
  29. package/dist/react.js +86 -85
  30. package/dist/react.mjs +5 -4
  31. package/dist/server/evict.d.mts +31 -0
  32. package/dist/server/evict.d.ts +31 -0
  33. package/dist/server/evict.js +75 -0
  34. package/dist/server/evict.mjs +73 -0
  35. package/dist/server.d.mts +11 -48
  36. package/dist/server.d.ts +11 -48
  37. package/dist/server.js +7 -76
  38. package/dist/server.mjs +6 -74
  39. package/dist/testing/msw.js +4 -3
  40. package/dist/testing/msw.mjs +3 -2
  41. package/dist/testing/suite.d.mts +2 -2
  42. package/dist/testing/suite.d.ts +2 -2
  43. package/dist/testing/suite.js +26 -25
  44. package/dist/testing/suite.mjs +7 -6
  45. package/dist/testing.d.mts +2 -2
  46. package/dist/testing.d.ts +2 -2
  47. package/dist/testing.js +82 -81
  48. package/dist/testing.mjs +8 -7
  49. package/dist/utils.js +30 -29
  50. package/dist/utils.mjs +3 -2
  51. package/package.json +7 -1
@@ -224,29 +224,29 @@ interface RefreshQuoteResult {
224
224
  declare class CatalogueQueries {
225
225
  private client;
226
226
  constructor(client: CimplifyClient);
227
- getCatalogue(opts?: ReadRequestOptions): Promise<Result<CatalogueSnapshot, CimplifyError>>;
228
- getProducts(options?: GetProductsOptions, opts?: ReadRequestOptions): Promise<Result<CatalogueResult<Product>, CimplifyError>>;
229
- getProduct(id: string, opts?: ReadRequestOptions): Promise<Result<ProductWithDetails, CimplifyError>>;
230
- getProductBySlug(slug: string, opts?: ReadRequestOptions): Promise<Result<ProductWithDetails, CimplifyError>>;
227
+ getCatalogue(): Promise<Result<CatalogueSnapshot, CimplifyError>>;
228
+ getProducts(options?: GetProductsOptions): Promise<Result<CatalogueResult<Product>, CimplifyError>>;
229
+ getProduct(id: string): Promise<Result<ProductWithDetails, CimplifyError>>;
230
+ getProductBySlug(slug: string): Promise<Result<ProductWithDetails, CimplifyError>>;
231
231
  getVariants(productId: string): Promise<Result<ProductVariant[], CimplifyError>>;
232
232
  getVariantAxes(productId: string): Promise<Result<VariantAxis[], CimplifyError>>;
233
233
  getVariantByAxisSelections(productId: string, selections: VariantAxisSelection): Promise<Result<ProductVariant | null, CimplifyError>>;
234
234
  getVariantById(productId: string, variantId: string): Promise<Result<ProductVariant, CimplifyError>>;
235
- getAddOns(productId: string, opts?: ReadRequestOptions): Promise<Result<AddOn[], CimplifyError>>;
236
- getCategories(opts?: ReadRequestOptions): Promise<Result<Category[], CimplifyError>>;
237
- getCategory(id: string, opts?: ReadRequestOptions): Promise<Result<Category, CimplifyError>>;
238
- getCategoryBySlug(slug: string, opts?: ReadRequestOptions): Promise<Result<Category, CimplifyError>>;
235
+ getAddOns(productId: string): Promise<Result<AddOn[], CimplifyError>>;
236
+ getCategories(): Promise<Result<Category[], CimplifyError>>;
237
+ getCategory(id: string): Promise<Result<Category, CimplifyError>>;
238
+ getCategoryBySlug(slug: string): Promise<Result<Category, CimplifyError>>;
239
239
  getCategoryProducts(categoryId: string, options?: {
240
240
  limit?: number;
241
241
  offset?: number;
242
- }, opts?: ReadRequestOptions): Promise<Result<Product[], CimplifyError>>;
243
- getCollections(opts?: ReadRequestOptions): Promise<Result<Collection[], CimplifyError>>;
244
- getCollection(id: string, opts?: ReadRequestOptions): Promise<Result<Collection, CimplifyError>>;
245
- getCollectionBySlug(slug: string, opts?: ReadRequestOptions): Promise<Result<Collection, CimplifyError>>;
242
+ }): Promise<Result<Product[], CimplifyError>>;
243
+ getCollections(): Promise<Result<Collection[], CimplifyError>>;
244
+ getCollection(id: string): Promise<Result<Collection, CimplifyError>>;
245
+ getCollectionBySlug(slug: string): Promise<Result<Collection, CimplifyError>>;
246
246
  getCollectionProducts(collectionId: string, options?: {
247
247
  limit?: number;
248
248
  offset?: number;
249
- }, opts?: ReadRequestOptions): Promise<Result<Product[], CimplifyError>>;
249
+ }): Promise<Result<Product[], CimplifyError>>;
250
250
  searchCollections(query: string, limit?: number): Promise<Result<Collection[], CimplifyError>>;
251
251
  getBundles(): Promise<Result<BundleSummary[], CimplifyError>>;
252
252
  getBundle(id: string): Promise<Result<Bundle, CimplifyError>>;
@@ -274,8 +274,8 @@ declare class CatalogueQueries {
274
274
  getCategoryDeals(categoryId: string): Promise<Result<Deal[], CimplifyError>>;
275
275
  getCollectionDeals(collectionId: string): Promise<Result<Deal[], CimplifyError>>;
276
276
  validateDiscountCode(code: string, orderSubtotal: string, locationId?: string): Promise<Result<DiscountValidation, CimplifyError>>;
277
- search(query: string, options?: Omit<GetProductsOptions, "search">, opts?: ReadRequestOptions): Promise<Result<Product[], CimplifyError>>;
278
- searchProducts(query: string, options?: Omit<GetProductsOptions, "search">, opts?: ReadRequestOptions): Promise<Result<Product[], CimplifyError>>;
277
+ search(query: string, options?: Omit<GetProductsOptions, "search">): Promise<Result<Product[], CimplifyError>>;
278
+ searchProducts(query: string, options?: Omit<GetProductsOptions, "search">): Promise<Result<Product[], CimplifyError>>;
279
279
  getMenu(options?: {
280
280
  category?: string;
281
281
  limit?: number;
@@ -1438,15 +1438,15 @@ interface CategoryInfo {
1438
1438
  declare class BusinessService {
1439
1439
  private client;
1440
1440
  constructor(client: CimplifyClient);
1441
- getInfo(opts?: ReadRequestOptions): Promise<Result<Business, CimplifyError>>;
1442
- getByHandle(handle: string, opts?: ReadRequestOptions): Promise<Result<Business, CimplifyError>>;
1443
- getByDomain(domain: string, opts?: ReadRequestOptions): Promise<Result<Business, CimplifyError>>;
1444
- getSettings(opts?: ReadRequestOptions): Promise<Result<BusinessSettings, CimplifyError>>;
1445
- getLocations(opts?: ReadRequestOptions): Promise<Result<Location[], CimplifyError>>;
1446
- getLocation(locationId: string, opts?: ReadRequestOptions): Promise<Result<Location, CimplifyError>>;
1447
- getHours(opts?: ReadRequestOptions): Promise<Result<BusinessHours[], CimplifyError>>;
1448
- getLocationHours(locationId: string, opts?: ReadRequestOptions): Promise<Result<BusinessHours[], CimplifyError>>;
1449
- getBootstrap(opts?: ReadRequestOptions): Promise<Result<StorefrontBootstrap, CimplifyError>>;
1441
+ getInfo(): Promise<Result<Business, CimplifyError>>;
1442
+ getByHandle(handle: string): Promise<Result<Business, CimplifyError>>;
1443
+ getByDomain(domain: string): Promise<Result<Business, CimplifyError>>;
1444
+ getSettings(): Promise<Result<BusinessSettings, CimplifyError>>;
1445
+ getLocations(): Promise<Result<Location[], CimplifyError>>;
1446
+ getLocation(locationId: string): Promise<Result<Location, CimplifyError>>;
1447
+ getHours(): Promise<Result<BusinessHours[], CimplifyError>>;
1448
+ getLocationHours(locationId: string): Promise<Result<BusinessHours[], CimplifyError>>;
1449
+ getBootstrap(): Promise<Result<StorefrontBootstrap, CimplifyError>>;
1450
1450
  }
1451
1451
 
1452
1452
  type StockStatus = "in_stock" | "low_stock" | "out_of_stock";
@@ -2327,24 +2327,6 @@ interface RequestOptions {
2327
2327
  idempotencyKey?: string;
2328
2328
  headers?: Record<string, string>;
2329
2329
  }
2330
- /**
2331
- * Per-call cache hints for server-side reads. Forwarded as `next: { revalidate, tags }`
2332
- * on the underlying fetch — Next.js's data cache reads them; in non-Next runtimes
2333
- * they're inert. Maps 1:1 onto Next 16's documented fetch caching API:
2334
- * https://nextjs.org/docs/app/api-reference/functions/fetch#optionsnextrevalidate
2335
- *
2336
- * Use the `tags` builders from `@cimplify/sdk/server` so invalidation stays consistent
2337
- * with the `revalidate*` helpers.
2338
- */
2339
- interface CacheOptions {
2340
- /** Seconds before the cache entry is considered stale. `false` = cache indefinitely. */
2341
- revalidate?: number | false;
2342
- /** Cache tags for on-demand invalidation via `revalidateTag(tag)`. */
2343
- tags?: readonly string[];
2344
- }
2345
- interface ReadRequestOptions {
2346
- cacheOptions?: CacheOptions;
2347
- }
2348
2330
  interface CimplifyConfig {
2349
2331
  publicKey?: string;
2350
2332
  credentials?: RequestCredentials;
@@ -2426,11 +2408,11 @@ declare class CimplifyClient {
2426
2408
  private resilientFetch;
2427
2409
  private getDedupeKey;
2428
2410
  private deduplicatedRequest;
2429
- get<T = unknown>(path: string, opts?: ReadRequestOptions): Promise<T>;
2411
+ get<T = unknown>(path: string): Promise<T>;
2430
2412
  post<T = unknown>(path: string, body?: unknown, opts?: RequestOptions): Promise<T>;
2431
2413
  patch<T = unknown>(path: string, body?: unknown, opts?: RequestOptions): Promise<T>;
2432
2414
  delete<T = unknown>(path: string, opts?: RequestOptions): Promise<T>;
2433
- linkGet<T = unknown>(path: string, opts?: ReadRequestOptions): Promise<T>;
2415
+ linkGet<T = unknown>(path: string): Promise<T>;
2434
2416
  linkPost<T = unknown>(path: string, body?: unknown, opts?: RequestOptions): Promise<T>;
2435
2417
  linkDelete<T = unknown>(path: string, opts?: RequestOptions): Promise<T>;
2436
2418
  private handleRestResponse;
@@ -2456,4 +2438,4 @@ declare class CimplifyClient {
2456
2438
  }
2457
2439
  declare function createCimplifyClient(config?: CimplifyConfig): CimplifyClient;
2458
2440
 
2459
- export { type ChatMessage as $, AuthService as A, BusinessService as B, CimplifyClient as C, type AutocompletePrediction as D, type AutocompleteResponse as E, type FetchQuoteInput as F, type GetProductsOptions as G, type PlaceDetailsResponse as H, InventoryService as I, type TrackCategoryViewOptions as J, type SessionMessage as K, LinkService as L, type SessionActivityData as M, type ActivityStateResponse as N, OrderQueries as O, type PriceQuote as P, type QuoteCompositeSelectionInput as Q, type RequestOptions as R, SubscriptionService as S, type TrackProductViewOptions as T, type UpdateProfileInput as U, type ActivityRecommendation as V, type ActivityRecommendationsResponse as W, type DismissMessageResponse as X, DeliveryService as Y, type DeliveryFeeResponse as Z, SupportService as _, type CimplifyConfig as a, unwrap as a$, type ChatConversation as a0, type ChatConversationResponse as a1, type ChatAttachment as a2, type ChatWidgetStarter as a3, type SenderType as a4, type ContentType as a5, type LiteBootstrap as a6, type TableInfo as a7, CimplifyElements as a8, CimplifyElement as a9, PAYMENT_METHOD as aA, CHECKOUT_STEP as aB, PAYMENT_STATE as aC, PICKUP_TIME_TYPE as aD, MOBILE_MONEY_PROVIDER as aE, AUTHORIZATION_TYPE as aF, DEVICE_TYPE as aG, CONTACT_TYPE as aH, LINK_QUERY as aI, LINK_MUTATION as aJ, AUTH_MUTATION as aK, CHECKOUT_MUTATION as aL, PAYMENT_MUTATION as aM, ORDER_MUTATION as aN, DEFAULT_CURRENCY as aO, DEFAULT_COUNTRY as aP, type Result as aQ, type Ok as aR, type Err as aS, ok as aT, err as aU, isOk as aV, isErr as aW, mapResult as aX, mapError as aY, flatMap as aZ, getOrElse as a_, createElements as aa, MESSAGE_TYPES as ab, EVENT_TYPES as ac, ELEMENT_TYPES as ad, type ElementsOptions as ae, type ElementOptions as af, type ElementType as ag, type ElementEventType as ah, type CheckoutMode as ai, type CheckoutOrderType as aj, type CheckoutPaymentMethod as ak, type CheckoutStep as al, type CheckoutFormData as am, type CheckoutResult as an, type NextAction as ao, type ProcessCheckoutOptions as ap, type ProcessCheckoutResult as aq, type ProcessAndResolveOptions as ar, type CheckoutStatus as as, type CheckoutStatusContext as at, type AbortablePromise as au, type MobileMoneyProvider as av, type DeviceType as aw, type ContactType as ax, CHECKOUT_MODE as ay, ORDER_TYPE as az, type ReadRequestOptions as b, type LocationTaxOverrides as b$, toNullable as b0, fromPromise as b1, tryCatch as b2, combine as b3, combineObject as b4, type CatalogueResult as b5, type CatalogueSnapshot as b6, type OrderStatus as b7, type PaymentState as b8, type OrderChannel as b9, type ServiceStatus as bA, type StaffRole as bB, type ReminderMethod as bC, type CustomerServicePreferences as bD, type BufferTimes as bE, type ReminderSettings as bF, type CancellationPolicy as bG, type ServiceNotes as bH, type PricingOverrides as bI, type SchedulingMetadata as bJ, type StaffAssignment as bK, type ResourceAssignment as bL, type SchedulingResult as bM, type DepositResult as bN, type ServiceScheduleRequest as bO, type StaffScheduleItem as bP, type LocationBooking as bQ, type ProviderResolutionSource as bR, type DeliveryFeeDetails as bS, type RelationType as bT, type RelatedProduct as bU, type RelatedCandidate as bV, type RelatedProductsEnrichment as bW, type BusinessType as bX, type BusinessPreferences as bY, type Business as bZ, type LocationTaxBehavior as b_, type LineType as ba, type OrderLineState as bb, type OrderLineStatus as bc, type FulfillmentType as bd, type FulfillmentStatus as be, type FulfillmentLink as bf, type OrderFulfillmentSummary as bg, type FeeBearerType as bh, type AmountToPay as bi, type LineItem as bj, type Order as bk, type OrderHistory as bl, type OrderGroupStatus as bm, type OrderGroupPaymentState as bn, type OrderGroupPaymentStatus as bo, type OrderGroup as bp, type OrderGroupPayment as bq, type OrderSplitDetail as br, type OrderGroupPaymentSummary as bs, type OrderGroupDetails as bt, type OrderPaymentEvent as bu, type OrderFilter as bv, type CheckoutInput as bw, type UpdateOrderStatusInput as bx, type CancelOrderInput as by, type RefundOrderInput as bz, createCimplifyClient as c, type MobileMoneyDetails as c$, type Location as c0, type TimeRange as c1, type TimeRanges as c2, type LocationTimeProfile as c3, type Table as c4, type Room as c5, type ServiceCharge as c6, type StorefrontBootstrap as c7, type BusinessWithLocations as c8, type LocationWithDetails as c9, type StockStatus as cA, type StockLevel as cB, type AvailabilityResult as cC, type Customer as cD, type CustomerAddress as cE, type CustomerMobileMoney as cF, type CustomerLinkPreferences as cG, type LinkData as cH, type CreateAddressInput as cI, type UpdateAddressInput as cJ, type CreateMobileMoneyInput as cK, type EnrollmentData as cL, type AddressData as cM, type MobileMoneyData as cN, type EnrollAndLinkOrderInput as cO, type LinkStatusResult as cP, type LinkEnrollResult as cQ, type EnrollAndLinkOrderResult as cR, type LinkSession as cS, type RevokeSessionResult as cT, type RevokeAllSessionsResult as cU, type RequestOtpInput as cV, type VerifyOtpInput as cW, type AuthResponse as cX, type PickupTimeType as cY, type PickupTime as cZ, type CheckoutAddressInfo as c_, type BusinessSettings as ca, type BusinessHours as cb, type CategoryInfo as cc, type Service as cd, type Staff as ce, type TimeSlot as cf, type SlotResourceInfo as cg, type SlotStaffInfo as ch, type AvailableSlot as ci, type DayAvailability as cj, type BookingStatus as ck, type Booking as cl, type BookingWithDetails as cm, type CustomerBookingServiceItem as cn, type CustomerBooking as co, type GetAvailableSlotsInput as cp, type CheckSlotAvailabilityInput as cq, type CheckSlotAvailabilityResult as cr, type RescheduleBookingInput as cs, type CancelBookingInput as ct, type CancelBookingResult as cu, type BookingModificationType as cv, type RescheduleBookingResult as cw, type ServiceAvailabilityParams as cx, type ServiceAvailabilityResult as cy, type RescheduleHistoryRecord as cz, type CacheOptions as d, type CheckoutCustomerInfo as d0, type FxQuoteRequest as d1, type FxQuote as d2, type FxRateResponse as d3, type RequestContext as d4, type RequestStartEvent as d5, type RequestSuccessEvent as d6, type RequestErrorEvent as d7, type RetryEvent as d8, type SessionChangeEvent as d9, type ObservabilityHooks as da, type OrderType as db, type ElementAppearance as dc, type AddressInfo as dd, type PaymentMethodInfo as de, type AuthenticatedCustomer as df, type ElementsCustomerInfo as dg, type AuthenticatedData as dh, type ElementsCheckoutData as di, type ElementsCheckoutResult as dj, type CheckoutCartItem as dk, type CheckoutCartData as dl, type ParentToIframeMessage as dm, type IframeToParentMessage as dn, type ElementEventHandler as dp, CatalogueQueries as e, type QuoteBundleSelectionInput as f, type RefreshQuoteInput as g, type QuoteStatus as h, type QuoteDynamicBuckets as i, type QuoteUiMessage as j, type RequestSource as k, type RefreshQuoteResult as l, CartOperations as m, type ReorderResult as n, CheckoutService as o, type GetOrdersOptions as p, type AuthStatus as q, type OtpResult as r, SchedulingService as s, LiteService as t, FxService as u, ActivityService as v, UploadService as w, type UploadResult as x, type UploadInitResponse as y, PlacesService as z };
2441
+ export { type ChatConversationResponse as $, AuthService as A, BusinessService as B, CimplifyClient as C, type PlaceDetailsResponse as D, type TrackCategoryViewOptions as E, type FetchQuoteInput as F, type GetProductsOptions as G, type SessionMessage as H, InventoryService as I, type SessionActivityData as J, type ActivityStateResponse as K, LinkService as L, type ActivityRecommendation as M, type ActivityRecommendationsResponse as N, OrderQueries as O, type PriceQuote as P, type QuoteCompositeSelectionInput as Q, type RequestOptions as R, SubscriptionService as S, type TrackProductViewOptions as T, type UpdateProfileInput as U, type DismissMessageResponse as V, DeliveryService as W, type DeliveryFeeResponse as X, SupportService as Y, type ChatMessage as Z, type ChatConversation as _, type CimplifyConfig as a, fromPromise as a$, type ChatAttachment as a0, type ChatWidgetStarter as a1, type SenderType as a2, type ContentType as a3, type LiteBootstrap as a4, type TableInfo as a5, CimplifyElements as a6, CimplifyElement as a7, createElements as a8, MESSAGE_TYPES as a9, PAYMENT_STATE as aA, PICKUP_TIME_TYPE as aB, MOBILE_MONEY_PROVIDER as aC, AUTHORIZATION_TYPE as aD, DEVICE_TYPE as aE, CONTACT_TYPE as aF, LINK_QUERY as aG, LINK_MUTATION as aH, AUTH_MUTATION as aI, CHECKOUT_MUTATION as aJ, PAYMENT_MUTATION as aK, ORDER_MUTATION as aL, DEFAULT_CURRENCY as aM, DEFAULT_COUNTRY as aN, type Result as aO, type Ok as aP, type Err as aQ, ok as aR, err as aS, isOk as aT, isErr as aU, mapResult as aV, mapError as aW, flatMap as aX, getOrElse as aY, unwrap as aZ, toNullable as a_, EVENT_TYPES as aa, ELEMENT_TYPES as ab, type ElementsOptions as ac, type ElementOptions as ad, type ElementType as ae, type ElementEventType as af, type CheckoutMode as ag, type CheckoutOrderType as ah, type CheckoutPaymentMethod as ai, type CheckoutStep as aj, type CheckoutFormData as ak, type CheckoutResult as al, type NextAction as am, type ProcessCheckoutOptions as an, type ProcessCheckoutResult as ao, type ProcessAndResolveOptions as ap, type CheckoutStatus as aq, type CheckoutStatusContext as ar, type AbortablePromise as as, type MobileMoneyProvider as at, type DeviceType as au, type ContactType as av, CHECKOUT_MODE as aw, ORDER_TYPE as ax, PAYMENT_METHOD as ay, CHECKOUT_STEP as az, CatalogueQueries as b, type TimeRange as b$, tryCatch as b0, combine as b1, combineObject as b2, type CatalogueResult as b3, type CatalogueSnapshot as b4, type OrderStatus as b5, type PaymentState as b6, type OrderChannel as b7, type LineType as b8, type OrderLineState as b9, type ReminderMethod as bA, type CustomerServicePreferences as bB, type BufferTimes as bC, type ReminderSettings as bD, type CancellationPolicy as bE, type ServiceNotes as bF, type PricingOverrides as bG, type SchedulingMetadata as bH, type StaffAssignment as bI, type ResourceAssignment as bJ, type SchedulingResult as bK, type DepositResult as bL, type ServiceScheduleRequest as bM, type StaffScheduleItem as bN, type LocationBooking as bO, type ProviderResolutionSource as bP, type DeliveryFeeDetails as bQ, type RelationType as bR, type RelatedProduct as bS, type RelatedCandidate as bT, type RelatedProductsEnrichment as bU, type BusinessType as bV, type BusinessPreferences as bW, type Business as bX, type LocationTaxBehavior as bY, type LocationTaxOverrides as bZ, type Location as b_, type OrderLineStatus as ba, type FulfillmentType as bb, type FulfillmentStatus as bc, type FulfillmentLink as bd, type OrderFulfillmentSummary as be, type FeeBearerType as bf, type AmountToPay as bg, type LineItem as bh, type Order as bi, type OrderHistory as bj, type OrderGroupStatus as bk, type OrderGroupPaymentState as bl, type OrderGroupPaymentStatus as bm, type OrderGroup as bn, type OrderGroupPayment as bo, type OrderSplitDetail as bp, type OrderGroupPaymentSummary as bq, type OrderGroupDetails as br, type OrderPaymentEvent as bs, type OrderFilter as bt, type CheckoutInput as bu, type UpdateOrderStatusInput as bv, type CancelOrderInput as bw, type RefundOrderInput as bx, type ServiceStatus as by, type StaffRole as bz, createCimplifyClient as c, type FxQuoteRequest as c$, type TimeRanges as c0, type LocationTimeProfile as c1, type Table as c2, type Room as c3, type ServiceCharge as c4, type StorefrontBootstrap as c5, type BusinessWithLocations as c6, type LocationWithDetails as c7, type BusinessSettings as c8, type BusinessHours as c9, type AvailabilityResult as cA, type Customer as cB, type CustomerAddress as cC, type CustomerMobileMoney as cD, type CustomerLinkPreferences as cE, type LinkData as cF, type CreateAddressInput as cG, type UpdateAddressInput as cH, type CreateMobileMoneyInput as cI, type EnrollmentData as cJ, type AddressData as cK, type MobileMoneyData as cL, type EnrollAndLinkOrderInput as cM, type LinkStatusResult as cN, type LinkEnrollResult as cO, type EnrollAndLinkOrderResult as cP, type LinkSession as cQ, type RevokeSessionResult as cR, type RevokeAllSessionsResult as cS, type RequestOtpInput as cT, type VerifyOtpInput as cU, type AuthResponse as cV, type PickupTimeType as cW, type PickupTime as cX, type CheckoutAddressInfo as cY, type MobileMoneyDetails as cZ, type CheckoutCustomerInfo as c_, type CategoryInfo as ca, type Service as cb, type Staff as cc, type TimeSlot as cd, type SlotResourceInfo as ce, type SlotStaffInfo as cf, type AvailableSlot as cg, type DayAvailability as ch, type BookingStatus as ci, type Booking as cj, type BookingWithDetails as ck, type CustomerBookingServiceItem as cl, type CustomerBooking as cm, type GetAvailableSlotsInput as cn, type CheckSlotAvailabilityInput as co, type CheckSlotAvailabilityResult as cp, type RescheduleBookingInput as cq, type CancelBookingInput as cr, type CancelBookingResult as cs, type BookingModificationType as ct, type RescheduleBookingResult as cu, type ServiceAvailabilityParams as cv, type ServiceAvailabilityResult as cw, type RescheduleHistoryRecord as cx, type StockStatus as cy, type StockLevel as cz, type QuoteBundleSelectionInput as d, type FxQuote as d0, type FxRateResponse as d1, type RequestContext as d2, type RequestStartEvent as d3, type RequestSuccessEvent as d4, type RequestErrorEvent as d5, type RetryEvent as d6, type SessionChangeEvent as d7, type ObservabilityHooks as d8, type OrderType as d9, type ElementAppearance as da, type AddressInfo as db, type PaymentMethodInfo as dc, type AuthenticatedCustomer as dd, type ElementsCustomerInfo as de, type AuthenticatedData as df, type ElementsCheckoutData as dg, type ElementsCheckoutResult as dh, type CheckoutCartItem as di, type CheckoutCartData as dj, type ParentToIframeMessage as dk, type IframeToParentMessage as dl, type ElementEventHandler as dm, type RefreshQuoteInput as e, type QuoteStatus as f, type QuoteDynamicBuckets as g, type QuoteUiMessage as h, type RequestSource as i, type RefreshQuoteResult as j, CartOperations as k, type ReorderResult as l, CheckoutService as m, type GetOrdersOptions as n, type AuthStatus as o, type OtpResult as p, SchedulingService as q, LiteService as r, FxService as s, ActivityService as t, UploadService as u, type UploadResult as v, type UploadInitResponse as w, PlacesService as x, type AutocompletePrediction as y, type AutocompleteResponse as z };
@@ -224,29 +224,29 @@ interface RefreshQuoteResult {
224
224
  declare class CatalogueQueries {
225
225
  private client;
226
226
  constructor(client: CimplifyClient);
227
- getCatalogue(opts?: ReadRequestOptions): Promise<Result<CatalogueSnapshot, CimplifyError>>;
228
- getProducts(options?: GetProductsOptions, opts?: ReadRequestOptions): Promise<Result<CatalogueResult<Product>, CimplifyError>>;
229
- getProduct(id: string, opts?: ReadRequestOptions): Promise<Result<ProductWithDetails, CimplifyError>>;
230
- getProductBySlug(slug: string, opts?: ReadRequestOptions): Promise<Result<ProductWithDetails, CimplifyError>>;
227
+ getCatalogue(): Promise<Result<CatalogueSnapshot, CimplifyError>>;
228
+ getProducts(options?: GetProductsOptions): Promise<Result<CatalogueResult<Product>, CimplifyError>>;
229
+ getProduct(id: string): Promise<Result<ProductWithDetails, CimplifyError>>;
230
+ getProductBySlug(slug: string): Promise<Result<ProductWithDetails, CimplifyError>>;
231
231
  getVariants(productId: string): Promise<Result<ProductVariant[], CimplifyError>>;
232
232
  getVariantAxes(productId: string): Promise<Result<VariantAxis[], CimplifyError>>;
233
233
  getVariantByAxisSelections(productId: string, selections: VariantAxisSelection): Promise<Result<ProductVariant | null, CimplifyError>>;
234
234
  getVariantById(productId: string, variantId: string): Promise<Result<ProductVariant, CimplifyError>>;
235
- getAddOns(productId: string, opts?: ReadRequestOptions): Promise<Result<AddOn[], CimplifyError>>;
236
- getCategories(opts?: ReadRequestOptions): Promise<Result<Category[], CimplifyError>>;
237
- getCategory(id: string, opts?: ReadRequestOptions): Promise<Result<Category, CimplifyError>>;
238
- getCategoryBySlug(slug: string, opts?: ReadRequestOptions): Promise<Result<Category, CimplifyError>>;
235
+ getAddOns(productId: string): Promise<Result<AddOn[], CimplifyError>>;
236
+ getCategories(): Promise<Result<Category[], CimplifyError>>;
237
+ getCategory(id: string): Promise<Result<Category, CimplifyError>>;
238
+ getCategoryBySlug(slug: string): Promise<Result<Category, CimplifyError>>;
239
239
  getCategoryProducts(categoryId: string, options?: {
240
240
  limit?: number;
241
241
  offset?: number;
242
- }, opts?: ReadRequestOptions): Promise<Result<Product[], CimplifyError>>;
243
- getCollections(opts?: ReadRequestOptions): Promise<Result<Collection[], CimplifyError>>;
244
- getCollection(id: string, opts?: ReadRequestOptions): Promise<Result<Collection, CimplifyError>>;
245
- getCollectionBySlug(slug: string, opts?: ReadRequestOptions): Promise<Result<Collection, CimplifyError>>;
242
+ }): Promise<Result<Product[], CimplifyError>>;
243
+ getCollections(): Promise<Result<Collection[], CimplifyError>>;
244
+ getCollection(id: string): Promise<Result<Collection, CimplifyError>>;
245
+ getCollectionBySlug(slug: string): Promise<Result<Collection, CimplifyError>>;
246
246
  getCollectionProducts(collectionId: string, options?: {
247
247
  limit?: number;
248
248
  offset?: number;
249
- }, opts?: ReadRequestOptions): Promise<Result<Product[], CimplifyError>>;
249
+ }): Promise<Result<Product[], CimplifyError>>;
250
250
  searchCollections(query: string, limit?: number): Promise<Result<Collection[], CimplifyError>>;
251
251
  getBundles(): Promise<Result<BundleSummary[], CimplifyError>>;
252
252
  getBundle(id: string): Promise<Result<Bundle, CimplifyError>>;
@@ -274,8 +274,8 @@ declare class CatalogueQueries {
274
274
  getCategoryDeals(categoryId: string): Promise<Result<Deal[], CimplifyError>>;
275
275
  getCollectionDeals(collectionId: string): Promise<Result<Deal[], CimplifyError>>;
276
276
  validateDiscountCode(code: string, orderSubtotal: string, locationId?: string): Promise<Result<DiscountValidation, CimplifyError>>;
277
- search(query: string, options?: Omit<GetProductsOptions, "search">, opts?: ReadRequestOptions): Promise<Result<Product[], CimplifyError>>;
278
- searchProducts(query: string, options?: Omit<GetProductsOptions, "search">, opts?: ReadRequestOptions): Promise<Result<Product[], CimplifyError>>;
277
+ search(query: string, options?: Omit<GetProductsOptions, "search">): Promise<Result<Product[], CimplifyError>>;
278
+ searchProducts(query: string, options?: Omit<GetProductsOptions, "search">): Promise<Result<Product[], CimplifyError>>;
279
279
  getMenu(options?: {
280
280
  category?: string;
281
281
  limit?: number;
@@ -1438,15 +1438,15 @@ interface CategoryInfo {
1438
1438
  declare class BusinessService {
1439
1439
  private client;
1440
1440
  constructor(client: CimplifyClient);
1441
- getInfo(opts?: ReadRequestOptions): Promise<Result<Business, CimplifyError>>;
1442
- getByHandle(handle: string, opts?: ReadRequestOptions): Promise<Result<Business, CimplifyError>>;
1443
- getByDomain(domain: string, opts?: ReadRequestOptions): Promise<Result<Business, CimplifyError>>;
1444
- getSettings(opts?: ReadRequestOptions): Promise<Result<BusinessSettings, CimplifyError>>;
1445
- getLocations(opts?: ReadRequestOptions): Promise<Result<Location[], CimplifyError>>;
1446
- getLocation(locationId: string, opts?: ReadRequestOptions): Promise<Result<Location, CimplifyError>>;
1447
- getHours(opts?: ReadRequestOptions): Promise<Result<BusinessHours[], CimplifyError>>;
1448
- getLocationHours(locationId: string, opts?: ReadRequestOptions): Promise<Result<BusinessHours[], CimplifyError>>;
1449
- getBootstrap(opts?: ReadRequestOptions): Promise<Result<StorefrontBootstrap, CimplifyError>>;
1441
+ getInfo(): Promise<Result<Business, CimplifyError>>;
1442
+ getByHandle(handle: string): Promise<Result<Business, CimplifyError>>;
1443
+ getByDomain(domain: string): Promise<Result<Business, CimplifyError>>;
1444
+ getSettings(): Promise<Result<BusinessSettings, CimplifyError>>;
1445
+ getLocations(): Promise<Result<Location[], CimplifyError>>;
1446
+ getLocation(locationId: string): Promise<Result<Location, CimplifyError>>;
1447
+ getHours(): Promise<Result<BusinessHours[], CimplifyError>>;
1448
+ getLocationHours(locationId: string): Promise<Result<BusinessHours[], CimplifyError>>;
1449
+ getBootstrap(): Promise<Result<StorefrontBootstrap, CimplifyError>>;
1450
1450
  }
1451
1451
 
1452
1452
  type StockStatus = "in_stock" | "low_stock" | "out_of_stock";
@@ -2327,24 +2327,6 @@ interface RequestOptions {
2327
2327
  idempotencyKey?: string;
2328
2328
  headers?: Record<string, string>;
2329
2329
  }
2330
- /**
2331
- * Per-call cache hints for server-side reads. Forwarded as `next: { revalidate, tags }`
2332
- * on the underlying fetch — Next.js's data cache reads them; in non-Next runtimes
2333
- * they're inert. Maps 1:1 onto Next 16's documented fetch caching API:
2334
- * https://nextjs.org/docs/app/api-reference/functions/fetch#optionsnextrevalidate
2335
- *
2336
- * Use the `tags` builders from `@cimplify/sdk/server` so invalidation stays consistent
2337
- * with the `revalidate*` helpers.
2338
- */
2339
- interface CacheOptions {
2340
- /** Seconds before the cache entry is considered stale. `false` = cache indefinitely. */
2341
- revalidate?: number | false;
2342
- /** Cache tags for on-demand invalidation via `revalidateTag(tag)`. */
2343
- tags?: readonly string[];
2344
- }
2345
- interface ReadRequestOptions {
2346
- cacheOptions?: CacheOptions;
2347
- }
2348
2330
  interface CimplifyConfig {
2349
2331
  publicKey?: string;
2350
2332
  credentials?: RequestCredentials;
@@ -2426,11 +2408,11 @@ declare class CimplifyClient {
2426
2408
  private resilientFetch;
2427
2409
  private getDedupeKey;
2428
2410
  private deduplicatedRequest;
2429
- get<T = unknown>(path: string, opts?: ReadRequestOptions): Promise<T>;
2411
+ get<T = unknown>(path: string): Promise<T>;
2430
2412
  post<T = unknown>(path: string, body?: unknown, opts?: RequestOptions): Promise<T>;
2431
2413
  patch<T = unknown>(path: string, body?: unknown, opts?: RequestOptions): Promise<T>;
2432
2414
  delete<T = unknown>(path: string, opts?: RequestOptions): Promise<T>;
2433
- linkGet<T = unknown>(path: string, opts?: ReadRequestOptions): Promise<T>;
2415
+ linkGet<T = unknown>(path: string): Promise<T>;
2434
2416
  linkPost<T = unknown>(path: string, body?: unknown, opts?: RequestOptions): Promise<T>;
2435
2417
  linkDelete<T = unknown>(path: string, opts?: RequestOptions): Promise<T>;
2436
2418
  private handleRestResponse;
@@ -2456,4 +2438,4 @@ declare class CimplifyClient {
2456
2438
  }
2457
2439
  declare function createCimplifyClient(config?: CimplifyConfig): CimplifyClient;
2458
2440
 
2459
- export { type ChatMessage as $, AuthService as A, BusinessService as B, CimplifyClient as C, type AutocompletePrediction as D, type AutocompleteResponse as E, type FetchQuoteInput as F, type GetProductsOptions as G, type PlaceDetailsResponse as H, InventoryService as I, type TrackCategoryViewOptions as J, type SessionMessage as K, LinkService as L, type SessionActivityData as M, type ActivityStateResponse as N, OrderQueries as O, type PriceQuote as P, type QuoteCompositeSelectionInput as Q, type RequestOptions as R, SubscriptionService as S, type TrackProductViewOptions as T, type UpdateProfileInput as U, type ActivityRecommendation as V, type ActivityRecommendationsResponse as W, type DismissMessageResponse as X, DeliveryService as Y, type DeliveryFeeResponse as Z, SupportService as _, type CimplifyConfig as a, unwrap as a$, type ChatConversation as a0, type ChatConversationResponse as a1, type ChatAttachment as a2, type ChatWidgetStarter as a3, type SenderType as a4, type ContentType as a5, type LiteBootstrap as a6, type TableInfo as a7, CimplifyElements as a8, CimplifyElement as a9, PAYMENT_METHOD as aA, CHECKOUT_STEP as aB, PAYMENT_STATE as aC, PICKUP_TIME_TYPE as aD, MOBILE_MONEY_PROVIDER as aE, AUTHORIZATION_TYPE as aF, DEVICE_TYPE as aG, CONTACT_TYPE as aH, LINK_QUERY as aI, LINK_MUTATION as aJ, AUTH_MUTATION as aK, CHECKOUT_MUTATION as aL, PAYMENT_MUTATION as aM, ORDER_MUTATION as aN, DEFAULT_CURRENCY as aO, DEFAULT_COUNTRY as aP, type Result as aQ, type Ok as aR, type Err as aS, ok as aT, err as aU, isOk as aV, isErr as aW, mapResult as aX, mapError as aY, flatMap as aZ, getOrElse as a_, createElements as aa, MESSAGE_TYPES as ab, EVENT_TYPES as ac, ELEMENT_TYPES as ad, type ElementsOptions as ae, type ElementOptions as af, type ElementType as ag, type ElementEventType as ah, type CheckoutMode as ai, type CheckoutOrderType as aj, type CheckoutPaymentMethod as ak, type CheckoutStep as al, type CheckoutFormData as am, type CheckoutResult as an, type NextAction as ao, type ProcessCheckoutOptions as ap, type ProcessCheckoutResult as aq, type ProcessAndResolveOptions as ar, type CheckoutStatus as as, type CheckoutStatusContext as at, type AbortablePromise as au, type MobileMoneyProvider as av, type DeviceType as aw, type ContactType as ax, CHECKOUT_MODE as ay, ORDER_TYPE as az, type ReadRequestOptions as b, type LocationTaxOverrides as b$, toNullable as b0, fromPromise as b1, tryCatch as b2, combine as b3, combineObject as b4, type CatalogueResult as b5, type CatalogueSnapshot as b6, type OrderStatus as b7, type PaymentState as b8, type OrderChannel as b9, type ServiceStatus as bA, type StaffRole as bB, type ReminderMethod as bC, type CustomerServicePreferences as bD, type BufferTimes as bE, type ReminderSettings as bF, type CancellationPolicy as bG, type ServiceNotes as bH, type PricingOverrides as bI, type SchedulingMetadata as bJ, type StaffAssignment as bK, type ResourceAssignment as bL, type SchedulingResult as bM, type DepositResult as bN, type ServiceScheduleRequest as bO, type StaffScheduleItem as bP, type LocationBooking as bQ, type ProviderResolutionSource as bR, type DeliveryFeeDetails as bS, type RelationType as bT, type RelatedProduct as bU, type RelatedCandidate as bV, type RelatedProductsEnrichment as bW, type BusinessType as bX, type BusinessPreferences as bY, type Business as bZ, type LocationTaxBehavior as b_, type LineType as ba, type OrderLineState as bb, type OrderLineStatus as bc, type FulfillmentType as bd, type FulfillmentStatus as be, type FulfillmentLink as bf, type OrderFulfillmentSummary as bg, type FeeBearerType as bh, type AmountToPay as bi, type LineItem as bj, type Order as bk, type OrderHistory as bl, type OrderGroupStatus as bm, type OrderGroupPaymentState as bn, type OrderGroupPaymentStatus as bo, type OrderGroup as bp, type OrderGroupPayment as bq, type OrderSplitDetail as br, type OrderGroupPaymentSummary as bs, type OrderGroupDetails as bt, type OrderPaymentEvent as bu, type OrderFilter as bv, type CheckoutInput as bw, type UpdateOrderStatusInput as bx, type CancelOrderInput as by, type RefundOrderInput as bz, createCimplifyClient as c, type MobileMoneyDetails as c$, type Location as c0, type TimeRange as c1, type TimeRanges as c2, type LocationTimeProfile as c3, type Table as c4, type Room as c5, type ServiceCharge as c6, type StorefrontBootstrap as c7, type BusinessWithLocations as c8, type LocationWithDetails as c9, type StockStatus as cA, type StockLevel as cB, type AvailabilityResult as cC, type Customer as cD, type CustomerAddress as cE, type CustomerMobileMoney as cF, type CustomerLinkPreferences as cG, type LinkData as cH, type CreateAddressInput as cI, type UpdateAddressInput as cJ, type CreateMobileMoneyInput as cK, type EnrollmentData as cL, type AddressData as cM, type MobileMoneyData as cN, type EnrollAndLinkOrderInput as cO, type LinkStatusResult as cP, type LinkEnrollResult as cQ, type EnrollAndLinkOrderResult as cR, type LinkSession as cS, type RevokeSessionResult as cT, type RevokeAllSessionsResult as cU, type RequestOtpInput as cV, type VerifyOtpInput as cW, type AuthResponse as cX, type PickupTimeType as cY, type PickupTime as cZ, type CheckoutAddressInfo as c_, type BusinessSettings as ca, type BusinessHours as cb, type CategoryInfo as cc, type Service as cd, type Staff as ce, type TimeSlot as cf, type SlotResourceInfo as cg, type SlotStaffInfo as ch, type AvailableSlot as ci, type DayAvailability as cj, type BookingStatus as ck, type Booking as cl, type BookingWithDetails as cm, type CustomerBookingServiceItem as cn, type CustomerBooking as co, type GetAvailableSlotsInput as cp, type CheckSlotAvailabilityInput as cq, type CheckSlotAvailabilityResult as cr, type RescheduleBookingInput as cs, type CancelBookingInput as ct, type CancelBookingResult as cu, type BookingModificationType as cv, type RescheduleBookingResult as cw, type ServiceAvailabilityParams as cx, type ServiceAvailabilityResult as cy, type RescheduleHistoryRecord as cz, type CacheOptions as d, type CheckoutCustomerInfo as d0, type FxQuoteRequest as d1, type FxQuote as d2, type FxRateResponse as d3, type RequestContext as d4, type RequestStartEvent as d5, type RequestSuccessEvent as d6, type RequestErrorEvent as d7, type RetryEvent as d8, type SessionChangeEvent as d9, type ObservabilityHooks as da, type OrderType as db, type ElementAppearance as dc, type AddressInfo as dd, type PaymentMethodInfo as de, type AuthenticatedCustomer as df, type ElementsCustomerInfo as dg, type AuthenticatedData as dh, type ElementsCheckoutData as di, type ElementsCheckoutResult as dj, type CheckoutCartItem as dk, type CheckoutCartData as dl, type ParentToIframeMessage as dm, type IframeToParentMessage as dn, type ElementEventHandler as dp, CatalogueQueries as e, type QuoteBundleSelectionInput as f, type RefreshQuoteInput as g, type QuoteStatus as h, type QuoteDynamicBuckets as i, type QuoteUiMessage as j, type RequestSource as k, type RefreshQuoteResult as l, CartOperations as m, type ReorderResult as n, CheckoutService as o, type GetOrdersOptions as p, type AuthStatus as q, type OtpResult as r, SchedulingService as s, LiteService as t, FxService as u, ActivityService as v, UploadService as w, type UploadResult as x, type UploadInitResponse as y, PlacesService as z };
2441
+ export { type ChatConversationResponse as $, AuthService as A, BusinessService as B, CimplifyClient as C, type PlaceDetailsResponse as D, type TrackCategoryViewOptions as E, type FetchQuoteInput as F, type GetProductsOptions as G, type SessionMessage as H, InventoryService as I, type SessionActivityData as J, type ActivityStateResponse as K, LinkService as L, type ActivityRecommendation as M, type ActivityRecommendationsResponse as N, OrderQueries as O, type PriceQuote as P, type QuoteCompositeSelectionInput as Q, type RequestOptions as R, SubscriptionService as S, type TrackProductViewOptions as T, type UpdateProfileInput as U, type DismissMessageResponse as V, DeliveryService as W, type DeliveryFeeResponse as X, SupportService as Y, type ChatMessage as Z, type ChatConversation as _, type CimplifyConfig as a, fromPromise as a$, type ChatAttachment as a0, type ChatWidgetStarter as a1, type SenderType as a2, type ContentType as a3, type LiteBootstrap as a4, type TableInfo as a5, CimplifyElements as a6, CimplifyElement as a7, createElements as a8, MESSAGE_TYPES as a9, PAYMENT_STATE as aA, PICKUP_TIME_TYPE as aB, MOBILE_MONEY_PROVIDER as aC, AUTHORIZATION_TYPE as aD, DEVICE_TYPE as aE, CONTACT_TYPE as aF, LINK_QUERY as aG, LINK_MUTATION as aH, AUTH_MUTATION as aI, CHECKOUT_MUTATION as aJ, PAYMENT_MUTATION as aK, ORDER_MUTATION as aL, DEFAULT_CURRENCY as aM, DEFAULT_COUNTRY as aN, type Result as aO, type Ok as aP, type Err as aQ, ok as aR, err as aS, isOk as aT, isErr as aU, mapResult as aV, mapError as aW, flatMap as aX, getOrElse as aY, unwrap as aZ, toNullable as a_, EVENT_TYPES as aa, ELEMENT_TYPES as ab, type ElementsOptions as ac, type ElementOptions as ad, type ElementType as ae, type ElementEventType as af, type CheckoutMode as ag, type CheckoutOrderType as ah, type CheckoutPaymentMethod as ai, type CheckoutStep as aj, type CheckoutFormData as ak, type CheckoutResult as al, type NextAction as am, type ProcessCheckoutOptions as an, type ProcessCheckoutResult as ao, type ProcessAndResolveOptions as ap, type CheckoutStatus as aq, type CheckoutStatusContext as ar, type AbortablePromise as as, type MobileMoneyProvider as at, type DeviceType as au, type ContactType as av, CHECKOUT_MODE as aw, ORDER_TYPE as ax, PAYMENT_METHOD as ay, CHECKOUT_STEP as az, CatalogueQueries as b, type TimeRange as b$, tryCatch as b0, combine as b1, combineObject as b2, type CatalogueResult as b3, type CatalogueSnapshot as b4, type OrderStatus as b5, type PaymentState as b6, type OrderChannel as b7, type LineType as b8, type OrderLineState as b9, type ReminderMethod as bA, type CustomerServicePreferences as bB, type BufferTimes as bC, type ReminderSettings as bD, type CancellationPolicy as bE, type ServiceNotes as bF, type PricingOverrides as bG, type SchedulingMetadata as bH, type StaffAssignment as bI, type ResourceAssignment as bJ, type SchedulingResult as bK, type DepositResult as bL, type ServiceScheduleRequest as bM, type StaffScheduleItem as bN, type LocationBooking as bO, type ProviderResolutionSource as bP, type DeliveryFeeDetails as bQ, type RelationType as bR, type RelatedProduct as bS, type RelatedCandidate as bT, type RelatedProductsEnrichment as bU, type BusinessType as bV, type BusinessPreferences as bW, type Business as bX, type LocationTaxBehavior as bY, type LocationTaxOverrides as bZ, type Location as b_, type OrderLineStatus as ba, type FulfillmentType as bb, type FulfillmentStatus as bc, type FulfillmentLink as bd, type OrderFulfillmentSummary as be, type FeeBearerType as bf, type AmountToPay as bg, type LineItem as bh, type Order as bi, type OrderHistory as bj, type OrderGroupStatus as bk, type OrderGroupPaymentState as bl, type OrderGroupPaymentStatus as bm, type OrderGroup as bn, type OrderGroupPayment as bo, type OrderSplitDetail as bp, type OrderGroupPaymentSummary as bq, type OrderGroupDetails as br, type OrderPaymentEvent as bs, type OrderFilter as bt, type CheckoutInput as bu, type UpdateOrderStatusInput as bv, type CancelOrderInput as bw, type RefundOrderInput as bx, type ServiceStatus as by, type StaffRole as bz, createCimplifyClient as c, type FxQuoteRequest as c$, type TimeRanges as c0, type LocationTimeProfile as c1, type Table as c2, type Room as c3, type ServiceCharge as c4, type StorefrontBootstrap as c5, type BusinessWithLocations as c6, type LocationWithDetails as c7, type BusinessSettings as c8, type BusinessHours as c9, type AvailabilityResult as cA, type Customer as cB, type CustomerAddress as cC, type CustomerMobileMoney as cD, type CustomerLinkPreferences as cE, type LinkData as cF, type CreateAddressInput as cG, type UpdateAddressInput as cH, type CreateMobileMoneyInput as cI, type EnrollmentData as cJ, type AddressData as cK, type MobileMoneyData as cL, type EnrollAndLinkOrderInput as cM, type LinkStatusResult as cN, type LinkEnrollResult as cO, type EnrollAndLinkOrderResult as cP, type LinkSession as cQ, type RevokeSessionResult as cR, type RevokeAllSessionsResult as cS, type RequestOtpInput as cT, type VerifyOtpInput as cU, type AuthResponse as cV, type PickupTimeType as cW, type PickupTime as cX, type CheckoutAddressInfo as cY, type MobileMoneyDetails as cZ, type CheckoutCustomerInfo as c_, type CategoryInfo as ca, type Service as cb, type Staff as cc, type TimeSlot as cd, type SlotResourceInfo as ce, type SlotStaffInfo as cf, type AvailableSlot as cg, type DayAvailability as ch, type BookingStatus as ci, type Booking as cj, type BookingWithDetails as ck, type CustomerBookingServiceItem as cl, type CustomerBooking as cm, type GetAvailableSlotsInput as cn, type CheckSlotAvailabilityInput as co, type CheckSlotAvailabilityResult as cp, type RescheduleBookingInput as cq, type CancelBookingInput as cr, type CancelBookingResult as cs, type BookingModificationType as ct, type RescheduleBookingResult as cu, type ServiceAvailabilityParams as cv, type ServiceAvailabilityResult as cw, type RescheduleHistoryRecord as cx, type StockStatus as cy, type StockLevel as cz, type QuoteBundleSelectionInput as d, type FxQuote as d0, type FxRateResponse as d1, type RequestContext as d2, type RequestStartEvent as d3, type RequestSuccessEvent as d4, type RequestErrorEvent as d5, type RetryEvent as d6, type SessionChangeEvent as d7, type ObservabilityHooks as d8, type OrderType as d9, type ElementAppearance as da, type AddressInfo as db, type PaymentMethodInfo as dc, type AuthenticatedCustomer as dd, type ElementsCustomerInfo as de, type AuthenticatedData as df, type ElementsCheckoutData as dg, type ElementsCheckoutResult as dh, type CheckoutCartItem as di, type CheckoutCartData as dj, type ParentToIframeMessage as dk, type IframeToParentMessage as dl, type ElementEventHandler as dm, type RefreshQuoteInput as e, type QuoteStatus as f, type QuoteDynamicBuckets as g, type QuoteUiMessage as h, type RequestSource as i, type RefreshQuoteResult as j, CartOperations as k, type ReorderResult as l, CheckoutService as m, type GetOrdersOptions as n, type AuthStatus as o, type OtpResult as p, SchedulingService as q, LiteService as r, FxService as s, ActivityService as t, UploadService as u, type UploadResult as v, type UploadInitResponse as w, PlacesService as x, type AutocompletePrediction as y, type AutocompleteResponse as z };
@@ -1,4 +1,4 @@
1
- import { C as CimplifyClient } from './client-CF2pmEE9.mjs';
1
+ import { C as CimplifyClient } from './client-C6J_RGlr.mjs';
2
2
  import { C as CreateAppOptions, A as AppHandle } from './server-BgccqOLT.mjs';
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { C as CimplifyClient } from './client-B6x53-Al.js';
1
+ import { C as CimplifyClient } from './client-CX7IFIkL.js';
2
2
  import { C as CreateAppOptions, A as AppHandle } from './server-72rzvJ4Y.js';
3
3
 
4
4
  /**
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- export { aF as AUTHORIZATION_TYPE, aK as AUTH_MUTATION, au as AbortablePromise, V as ActivityRecommendation, W as ActivityRecommendationsResponse, v as ActivityService, N as ActivityStateResponse, cM as AddressData, dd as AddressInfo, bi as AmountToPay, cX as AuthResponse, A as AuthService, q as AuthStatus, df as AuthenticatedCustomer, dh as AuthenticatedData, D as AutocompletePrediction, E as AutocompleteResponse, cC as AvailabilityResult, ci as AvailableSlot, cl as Booking, cv as BookingModificationType, ck as BookingStatus, cm as BookingWithDetails, bE as BufferTimes, bZ as Business, cb as BusinessHours, bY as BusinessPreferences, B as BusinessService, ca as BusinessSettings, bX as BusinessType, c8 as BusinessWithLocations, ay as CHECKOUT_MODE, aL as CHECKOUT_MUTATION, aB as CHECKOUT_STEP, aH as CONTACT_TYPE, d as CacheOptions, ct as CancelBookingInput, cu as CancelBookingResult, by as CancelOrderInput, bG as CancellationPolicy, m as CartOperations, e as CatalogueQueries, b5 as CatalogueResult, b6 as CatalogueSnapshot, cc as CategoryInfo, a2 as ChatAttachment, a0 as ChatConversation, a1 as ChatConversationResponse, $ as ChatMessage, a3 as ChatWidgetStarter, cq as CheckSlotAvailabilityInput, cr as CheckSlotAvailabilityResult, c_ as CheckoutAddressInfo, dl as CheckoutCartData, dk as CheckoutCartItem, d0 as CheckoutCustomerInfo, am as CheckoutFormData, bw as CheckoutInput, ai as CheckoutMode, o as CheckoutOperations, aj as CheckoutOrderType, ak as CheckoutPaymentMethod, an as CheckoutResult, o as CheckoutService, as as CheckoutStatus, at as CheckoutStatusContext, al as CheckoutStep, C as CimplifyClient, a as CimplifyConfig, a9 as CimplifyElement, a8 as CimplifyElements, ax as ContactType, a5 as ContentType, cI as CreateAddressInput, cK as CreateMobileMoneyInput, cD as Customer, cE as CustomerAddress, co as CustomerBooking, cn as CustomerBookingServiceItem, cG as CustomerLinkPreferences, cF as CustomerMobileMoney, bD as CustomerServicePreferences, aP as DEFAULT_COUNTRY, aO as DEFAULT_CURRENCY, aG as DEVICE_TYPE, cj as DayAvailability, bS as DeliveryFeeDetails, Z as DeliveryFeeResponse, Y as DeliveryService, bN as DepositResult, aw as DeviceType, X as DismissMessageResponse, ad as ELEMENT_TYPES, ac as EVENT_TYPES, dc as ElementAppearance, dp as ElementEventHandler, ah as ElementEventType, af as ElementOptions, ag as ElementType, di as ElementsCheckoutData, dj as ElementsCheckoutResult, dg as ElementsCustomerInfo, ae as ElementsOptions, cO as EnrollAndLinkOrderInput, cR as EnrollAndLinkOrderResult, cL as EnrollmentData, aS as Err, bh as FeeBearerType, F as FetchQuoteInput, bf as FulfillmentLink, be as FulfillmentStatus, bd as FulfillmentType, d2 as FxQuote, d1 as FxQuoteRequest, d3 as FxRateResponse, u as FxService, cp as GetAvailableSlotsInput, p as GetOrdersOptions, G as GetProductsOptions, dn as IframeToParentMessage, I as InventoryService, aJ as LINK_MUTATION, aI as LINK_QUERY, bj as LineItem, ba as LineType, cH as LinkData, cQ as LinkEnrollResult, L as LinkService, cS as LinkSession, cP as LinkStatusResult, a6 as LiteBootstrap, t as LiteService, c0 as Location, bQ as LocationBooking, b_ as LocationTaxBehavior, b$ as LocationTaxOverrides, c3 as LocationTimeProfile, c9 as LocationWithDetails, ab as MESSAGE_TYPES, aE as MOBILE_MONEY_PROVIDER, cN as MobileMoneyData, c$ as MobileMoneyDetails, av as MobileMoneyProvider, ao as NextAction, aN as ORDER_MUTATION, az as ORDER_TYPE, da as ObservabilityHooks, aR as Ok, bk as Order, b9 as OrderChannel, bv as OrderFilter, bg as OrderFulfillmentSummary, bp as OrderGroup, bt as OrderGroupDetails, bq as OrderGroupPayment, bn as OrderGroupPaymentState, bo as OrderGroupPaymentStatus, bs as OrderGroupPaymentSummary, bm as OrderGroupStatus, bl as OrderHistory, bb as OrderLineState, bc as OrderLineStatus, bu as OrderPaymentEvent, O as OrderQueries, br as OrderSplitDetail, b7 as OrderStatus, db as OrderType, r as OtpResult, aA as PAYMENT_METHOD, aM as PAYMENT_MUTATION, aC as PAYMENT_STATE, aD as PICKUP_TIME_TYPE, dm as ParentToIframeMessage, de as PaymentMethodInfo, b8 as PaymentState, cZ as PickupTime, cY as PickupTimeType, H as PlaceDetailsResponse, z as PlacesService, P as PriceQuote, bI as PricingOverrides, ar as ProcessAndResolveOptions, ap as ProcessCheckoutOptions, aq as ProcessCheckoutResult, bR as ProviderResolutionSource, f as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, i as QuoteDynamicBuckets, h as QuoteStatus, j as QuoteUiMessage, b as ReadRequestOptions, g as RefreshQuoteInput, l as RefreshQuoteResult, bz as RefundOrderInput, bV as RelatedCandidate, bU as RelatedProduct, bW as RelatedProductsEnrichment, bT as RelationType, bC as ReminderMethod, bF as ReminderSettings, n as ReorderResult, d4 as RequestContext, d7 as RequestErrorEvent, R as RequestOptions, cV as RequestOtpInput, k as RequestSource, d5 as RequestStartEvent, d6 as RequestSuccessEvent, cs as RescheduleBookingInput, cw as RescheduleBookingResult, cz as RescheduleHistoryRecord, bL as ResourceAssignment, aQ as Result, d8 as RetryEvent, cU as RevokeAllSessionsResult, cT as RevokeSessionResult, c5 as Room, bJ as SchedulingMetadata, bM as SchedulingResult, s as SchedulingService, a4 as SenderType, cd as Service, cx as ServiceAvailabilityParams, cy as ServiceAvailabilityResult, c6 as ServiceCharge, bH as ServiceNotes, bO as ServiceScheduleRequest, bA as ServiceStatus, M as SessionActivityData, d9 as SessionChangeEvent, K as SessionMessage, cg as SlotResourceInfo, ch as SlotStaffInfo, ce as Staff, bK as StaffAssignment, bB as StaffRole, bP as StaffScheduleItem, cB as StockLevel, cA as StockStatus, c7 as StorefrontBootstrap, S as SubscriptionService, _ as SupportService, c4 as Table, a7 as TableInfo, c1 as TimeRange, c2 as TimeRanges, cf as TimeSlot, J as TrackCategoryViewOptions, T as TrackProductViewOptions, cJ as UpdateAddressInput, bx as UpdateOrderStatusInput, U as UpdateProfileInput, y as UploadInitResponse, x as UploadResult, w as UploadService, cW as VerifyOtpInput, b3 as combine, b4 as combineObject, c as createCimplifyClient, aa as createElements, aU as err, aZ as flatMap, b1 as fromPromise, a_ as getOrElse, aW as isErr, aV as isOk, aY as mapError, aX as mapResult, aT as ok, b0 as toNullable, b2 as tryCatch, a$ as unwrap } from './client-CF2pmEE9.mjs';
1
+ export { aD as AUTHORIZATION_TYPE, aI as AUTH_MUTATION, as as AbortablePromise, M as ActivityRecommendation, N as ActivityRecommendationsResponse, t as ActivityService, K as ActivityStateResponse, cK as AddressData, db as AddressInfo, bg as AmountToPay, cV as AuthResponse, A as AuthService, o as AuthStatus, dd as AuthenticatedCustomer, df as AuthenticatedData, y as AutocompletePrediction, z as AutocompleteResponse, cA as AvailabilityResult, cg as AvailableSlot, cj as Booking, ct as BookingModificationType, ci as BookingStatus, ck as BookingWithDetails, bC as BufferTimes, bX as Business, c9 as BusinessHours, bW as BusinessPreferences, B as BusinessService, c8 as BusinessSettings, bV as BusinessType, c6 as BusinessWithLocations, aw as CHECKOUT_MODE, aJ as CHECKOUT_MUTATION, az as CHECKOUT_STEP, aF as CONTACT_TYPE, cr as CancelBookingInput, cs as CancelBookingResult, bw as CancelOrderInput, bE as CancellationPolicy, k as CartOperations, b as CatalogueQueries, b3 as CatalogueResult, b4 as CatalogueSnapshot, ca as CategoryInfo, a0 as ChatAttachment, _ as ChatConversation, $ as ChatConversationResponse, Z as ChatMessage, a1 as ChatWidgetStarter, co as CheckSlotAvailabilityInput, cp as CheckSlotAvailabilityResult, cY as CheckoutAddressInfo, dj as CheckoutCartData, di as CheckoutCartItem, c_ as CheckoutCustomerInfo, ak as CheckoutFormData, bu as CheckoutInput, ag as CheckoutMode, m as CheckoutOperations, ah as CheckoutOrderType, ai as CheckoutPaymentMethod, al as CheckoutResult, m as CheckoutService, aq as CheckoutStatus, ar as CheckoutStatusContext, aj as CheckoutStep, C as CimplifyClient, a as CimplifyConfig, a7 as CimplifyElement, a6 as CimplifyElements, av as ContactType, a3 as ContentType, cG as CreateAddressInput, cI as CreateMobileMoneyInput, cB as Customer, cC as CustomerAddress, cm as CustomerBooking, cl as CustomerBookingServiceItem, cE as CustomerLinkPreferences, cD as CustomerMobileMoney, bB as CustomerServicePreferences, aN as DEFAULT_COUNTRY, aM as DEFAULT_CURRENCY, aE as DEVICE_TYPE, ch as DayAvailability, bQ as DeliveryFeeDetails, X as DeliveryFeeResponse, W as DeliveryService, bL as DepositResult, au as DeviceType, V as DismissMessageResponse, ab as ELEMENT_TYPES, aa as EVENT_TYPES, da as ElementAppearance, dm as ElementEventHandler, af as ElementEventType, ad as ElementOptions, ae as ElementType, dg as ElementsCheckoutData, dh as ElementsCheckoutResult, de as ElementsCustomerInfo, ac as ElementsOptions, cM as EnrollAndLinkOrderInput, cP as EnrollAndLinkOrderResult, cJ as EnrollmentData, aQ as Err, bf as FeeBearerType, F as FetchQuoteInput, bd as FulfillmentLink, bc as FulfillmentStatus, bb as FulfillmentType, d0 as FxQuote, c$ as FxQuoteRequest, d1 as FxRateResponse, s as FxService, cn as GetAvailableSlotsInput, n as GetOrdersOptions, G as GetProductsOptions, dl as IframeToParentMessage, I as InventoryService, aH as LINK_MUTATION, aG as LINK_QUERY, bh as LineItem, b8 as LineType, cF as LinkData, cO as LinkEnrollResult, L as LinkService, cQ as LinkSession, cN as LinkStatusResult, a4 as LiteBootstrap, r as LiteService, b_ as Location, bO as LocationBooking, bY as LocationTaxBehavior, bZ as LocationTaxOverrides, c1 as LocationTimeProfile, c7 as LocationWithDetails, a9 as MESSAGE_TYPES, aC as MOBILE_MONEY_PROVIDER, cL as MobileMoneyData, cZ as MobileMoneyDetails, at as MobileMoneyProvider, am as NextAction, aL as ORDER_MUTATION, ax as ORDER_TYPE, d8 as ObservabilityHooks, aP as Ok, bi as Order, b7 as OrderChannel, bt as OrderFilter, be as OrderFulfillmentSummary, bn as OrderGroup, br as OrderGroupDetails, bo as OrderGroupPayment, bl as OrderGroupPaymentState, bm as OrderGroupPaymentStatus, bq as OrderGroupPaymentSummary, bk as OrderGroupStatus, bj as OrderHistory, b9 as OrderLineState, ba as OrderLineStatus, bs as OrderPaymentEvent, O as OrderQueries, bp as OrderSplitDetail, b5 as OrderStatus, d9 as OrderType, p as OtpResult, ay as PAYMENT_METHOD, aK as PAYMENT_MUTATION, aA as PAYMENT_STATE, aB as PICKUP_TIME_TYPE, dk as ParentToIframeMessage, dc as PaymentMethodInfo, b6 as PaymentState, cX as PickupTime, cW as PickupTimeType, D as PlaceDetailsResponse, x as PlacesService, P as PriceQuote, bG as PricingOverrides, ap as ProcessAndResolveOptions, an as ProcessCheckoutOptions, ao as ProcessCheckoutResult, bP as ProviderResolutionSource, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, g as QuoteDynamicBuckets, f as QuoteStatus, h as QuoteUiMessage, e as RefreshQuoteInput, j as RefreshQuoteResult, bx as RefundOrderInput, bT as RelatedCandidate, bS as RelatedProduct, bU as RelatedProductsEnrichment, bR as RelationType, bA as ReminderMethod, bD as ReminderSettings, l as ReorderResult, d2 as RequestContext, d5 as RequestErrorEvent, R as RequestOptions, cT as RequestOtpInput, i as RequestSource, d3 as RequestStartEvent, d4 as RequestSuccessEvent, cq as RescheduleBookingInput, cu as RescheduleBookingResult, cx as RescheduleHistoryRecord, bJ as ResourceAssignment, aO as Result, d6 as RetryEvent, cS as RevokeAllSessionsResult, cR as RevokeSessionResult, c3 as Room, bH as SchedulingMetadata, bK as SchedulingResult, q as SchedulingService, a2 as SenderType, cb as Service, cv as ServiceAvailabilityParams, cw as ServiceAvailabilityResult, c4 as ServiceCharge, bF as ServiceNotes, bM as ServiceScheduleRequest, by as ServiceStatus, J as SessionActivityData, d7 as SessionChangeEvent, H as SessionMessage, ce as SlotResourceInfo, cf as SlotStaffInfo, cc as Staff, bI as StaffAssignment, bz as StaffRole, bN as StaffScheduleItem, cz as StockLevel, cy as StockStatus, c5 as StorefrontBootstrap, S as SubscriptionService, Y as SupportService, c2 as Table, a5 as TableInfo, b$ as TimeRange, c0 as TimeRanges, cd as TimeSlot, E as TrackCategoryViewOptions, T as TrackProductViewOptions, cH as UpdateAddressInput, bv as UpdateOrderStatusInput, U as UpdateProfileInput, w as UploadInitResponse, v as UploadResult, u as UploadService, cU as VerifyOtpInput, b1 as combine, b2 as combineObject, c as createCimplifyClient, a8 as createElements, aS as err, aX as flatMap, a$ as fromPromise, aY as getOrElse, aU as isErr, aT as isOk, aW as mapError, aV as mapResult, aR as ok, a_ as toNullable, b0 as tryCatch, aZ as unwrap } from './client-C6J_RGlr.mjs';
2
2
  import { A as ApiError } from './product-C-xLzh7Q.mjs';
3
3
  export { ak as AddOn, bh as AddOnDetails, bE as AddOnGroupDetails, am as AddOnOption, bD as AddOnOptionDetails, an as AddOnOptionPrice, al as AddOnWithOptions, bK as AddToCartInput, $ as AddressValue, b7 as AdjustmentType, bd as AppliedDiscount, F as AttributeAppliesTo, B as AttributeType, J as AttributeValidationRules, G as AttributeVisibility, bc as BenefitType, bN as BillingFrequency, bP as BillingMarkupType, bO as BillingPlanType, av as Bundle, az as BundleComponentData, aA as BundleComponentInfo, aC as BundleComponentVariantView, aB as BundleComponentView, au as BundlePriceType, ax as BundleProduct, bn as BundleSelectionData, bk as BundleSelectionInput, bm as BundleStoredSelection, aw as BundleSummary, ay as BundleWithDetails, bs as Cart, bi as CartAddOn, b5 as CartChannel, bt as CartItem, bG as CartItemDetails, bJ as CartMutationResult, bI as CartNotice, b4 as CartStatus, bM as CartSummary, bu as CartTotals, ap as Category, aq as CategorySummary, C as ChosenPrice, h as CimplifyError, ar as Collection, at as CollectionProduct, as as CollectionSummary, aK as ComponentGroup, aL as ComponentGroupWithComponents, aR as ComponentPriceBreakdown, bl as ComponentSchedulingData, aP as ComponentSelectionInput, aH as ComponentSourceType, aI as Composite, aO as CompositeComponent, aN as CompositeComponentView, aM as CompositeGroupView, bp as CompositePriceBreakdown, aQ as CompositePriceResult, aF as CompositePricingMode, bq as CompositeSelectionData, aP as CompositeSelectionInput, bo as CompositeStoredSelection, aJ as CompositeWithDetails, a as CurrencyCode, K as CustomAttributeDefinition, L as CustomAttributeValue, a7 as CustomerInputValue, y as DURATION_UNIT, a1 as DateRangeValue, a$ as Deal, a_ as DealBenefitType, w as DepositType, v as DigitalProductType, be as DiscountBreakdown, bf as DiscountDetails, b1 as DiscountValidation, bx as DisplayAddOn, by as DisplayAddOnOption, bv as DisplayCart, bw as DisplayCartItem, D as DisplayMode, x as DurationUnit, g as ERROR_HINTS, bR as EligiblePlansQuery, E as ErrorCode, e as ErrorCodeType, f as ErrorHint, T as FacetValue, bS as FormattedPlanOption, aG as GroupPricingBehavior, _ as INPUT_FIELD_TYPE, I as IdempotencyMismatchError, Y as InputFieldType, a4 as InputFieldValidation, u as InventoryType, W as KnowledgeArticle, br as LineConfiguration, aU as LocationProductPrice, a2 as LocationValue, H as MeasurementValue, M as Money, s as PRODUCT_TYPE, d as Pagination, P as PaginationParams, a0 as PhoneValue, aT as Price, b8 as PriceAdjustment, bb as PriceDecisionPath, aS as PriceEntryType, ba as PricePathTaxInfo, b6 as PriceSource, X as Product, ao as ProductAddOn, aV as ProductAvailability, aZ as ProductAvailabilityNow, bQ as ProductBillingPlan, b0 as ProductDealInfo, a6 as ProductInputField, O as ProductProperty, t as ProductRenderHint, aX as ProductTaxonomy, aW as ProductTimeProfile, r as ProductType, ac as ProductVariant, ah as ProductVariantValue, aa as ProductWithDetails, Q as PropertyFacet, N as PropertySource, a8 as QuantityPricingTier, R as RENDER_HINT, a9 as RelatedProductView, z as SalesChannel, S as SchedulingMode, bg as SelectedAddOnOption, a5 as SemanticKind, a3 as SignatureValue, bU as Subscription, bW as SubscriptionInvoice, bV as SubscriptionItem, bT as SubscriptionStatus, bX as SubscriptionWithDetails, b2 as Tag, b3 as TagsResponse, b9 as TaxPathComponent, U as TaxonomyAttributeTemplate, aY as TaxonomyWithChildren, bH as UICart, bz as UICartBusiness, bB as UICartCustomer, bA as UICartLocation, bC as UICartPricing, bL as UpdateCartItemInput, ae as VariantAxis, aj as VariantAxisSelection, ag as VariantAxisValue, aE as VariantAxisValueView, aD as VariantAxisView, af as VariantAxisWithValues, bj as VariantDetails, bF as VariantDetailsDTO, ad as VariantDisplayAttribute, ai as VariantLocationAvailability, V as VariantStrategy, ab as VariantView, Z as ZERO, c as currencyCode, p as enrichError, o as getErrorHint, j as isCimplifyError, n as isIdempotencyMismatchError, l as isQuoteConflictRequiringConsent, k as isQuoteError, q as isRetryableError, i as isSupportedCurrency, m as money, b as moneyFromNumber } from './product-C-xLzh7Q.mjs';
4
4
  export { C as CURRENCY_SYMBOLS, M as MOBILE_MONEY_PROVIDERS, v as categorizePaymentError, B as detectMobileMoneyProvider, c as formatMoney, d as formatNumberCompact, f as formatPrice, a as formatPriceAdjustment, b as formatPriceCompact, u as formatPriceRange, j as formatPriceWithTax, e as formatProductPrice, m as getBasePrice, k as getCurrencySymbol, o as getDiscountPercentage, l as getDisplayPrice, q as getMarkupPercentage, t as getPriceRange, r as getProductCurrency, g as getTaxAmount, s as getUnitPriceAtQuantity, h as hasTaxInfo, n as isOnSale, y as isPaymentStatusFailure, z as isPaymentStatusRequiresAction, A as isPaymentStatusSuccess, i as isTaxInclusive, F as isValidPhoneForContext, w as normalizePaymentResponse, D as normalizePhoneToE164, x as normalizeStatusResponse, p as parsePrice, E as resolvePhoneCountryCode } from './index-Bo0NjgR6.mjs';
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { aF as AUTHORIZATION_TYPE, aK as AUTH_MUTATION, au as AbortablePromise, V as ActivityRecommendation, W as ActivityRecommendationsResponse, v as ActivityService, N as ActivityStateResponse, cM as AddressData, dd as AddressInfo, bi as AmountToPay, cX as AuthResponse, A as AuthService, q as AuthStatus, df as AuthenticatedCustomer, dh as AuthenticatedData, D as AutocompletePrediction, E as AutocompleteResponse, cC as AvailabilityResult, ci as AvailableSlot, cl as Booking, cv as BookingModificationType, ck as BookingStatus, cm as BookingWithDetails, bE as BufferTimes, bZ as Business, cb as BusinessHours, bY as BusinessPreferences, B as BusinessService, ca as BusinessSettings, bX as BusinessType, c8 as BusinessWithLocations, ay as CHECKOUT_MODE, aL as CHECKOUT_MUTATION, aB as CHECKOUT_STEP, aH as CONTACT_TYPE, d as CacheOptions, ct as CancelBookingInput, cu as CancelBookingResult, by as CancelOrderInput, bG as CancellationPolicy, m as CartOperations, e as CatalogueQueries, b5 as CatalogueResult, b6 as CatalogueSnapshot, cc as CategoryInfo, a2 as ChatAttachment, a0 as ChatConversation, a1 as ChatConversationResponse, $ as ChatMessage, a3 as ChatWidgetStarter, cq as CheckSlotAvailabilityInput, cr as CheckSlotAvailabilityResult, c_ as CheckoutAddressInfo, dl as CheckoutCartData, dk as CheckoutCartItem, d0 as CheckoutCustomerInfo, am as CheckoutFormData, bw as CheckoutInput, ai as CheckoutMode, o as CheckoutOperations, aj as CheckoutOrderType, ak as CheckoutPaymentMethod, an as CheckoutResult, o as CheckoutService, as as CheckoutStatus, at as CheckoutStatusContext, al as CheckoutStep, C as CimplifyClient, a as CimplifyConfig, a9 as CimplifyElement, a8 as CimplifyElements, ax as ContactType, a5 as ContentType, cI as CreateAddressInput, cK as CreateMobileMoneyInput, cD as Customer, cE as CustomerAddress, co as CustomerBooking, cn as CustomerBookingServiceItem, cG as CustomerLinkPreferences, cF as CustomerMobileMoney, bD as CustomerServicePreferences, aP as DEFAULT_COUNTRY, aO as DEFAULT_CURRENCY, aG as DEVICE_TYPE, cj as DayAvailability, bS as DeliveryFeeDetails, Z as DeliveryFeeResponse, Y as DeliveryService, bN as DepositResult, aw as DeviceType, X as DismissMessageResponse, ad as ELEMENT_TYPES, ac as EVENT_TYPES, dc as ElementAppearance, dp as ElementEventHandler, ah as ElementEventType, af as ElementOptions, ag as ElementType, di as ElementsCheckoutData, dj as ElementsCheckoutResult, dg as ElementsCustomerInfo, ae as ElementsOptions, cO as EnrollAndLinkOrderInput, cR as EnrollAndLinkOrderResult, cL as EnrollmentData, aS as Err, bh as FeeBearerType, F as FetchQuoteInput, bf as FulfillmentLink, be as FulfillmentStatus, bd as FulfillmentType, d2 as FxQuote, d1 as FxQuoteRequest, d3 as FxRateResponse, u as FxService, cp as GetAvailableSlotsInput, p as GetOrdersOptions, G as GetProductsOptions, dn as IframeToParentMessage, I as InventoryService, aJ as LINK_MUTATION, aI as LINK_QUERY, bj as LineItem, ba as LineType, cH as LinkData, cQ as LinkEnrollResult, L as LinkService, cS as LinkSession, cP as LinkStatusResult, a6 as LiteBootstrap, t as LiteService, c0 as Location, bQ as LocationBooking, b_ as LocationTaxBehavior, b$ as LocationTaxOverrides, c3 as LocationTimeProfile, c9 as LocationWithDetails, ab as MESSAGE_TYPES, aE as MOBILE_MONEY_PROVIDER, cN as MobileMoneyData, c$ as MobileMoneyDetails, av as MobileMoneyProvider, ao as NextAction, aN as ORDER_MUTATION, az as ORDER_TYPE, da as ObservabilityHooks, aR as Ok, bk as Order, b9 as OrderChannel, bv as OrderFilter, bg as OrderFulfillmentSummary, bp as OrderGroup, bt as OrderGroupDetails, bq as OrderGroupPayment, bn as OrderGroupPaymentState, bo as OrderGroupPaymentStatus, bs as OrderGroupPaymentSummary, bm as OrderGroupStatus, bl as OrderHistory, bb as OrderLineState, bc as OrderLineStatus, bu as OrderPaymentEvent, O as OrderQueries, br as OrderSplitDetail, b7 as OrderStatus, db as OrderType, r as OtpResult, aA as PAYMENT_METHOD, aM as PAYMENT_MUTATION, aC as PAYMENT_STATE, aD as PICKUP_TIME_TYPE, dm as ParentToIframeMessage, de as PaymentMethodInfo, b8 as PaymentState, cZ as PickupTime, cY as PickupTimeType, H as PlaceDetailsResponse, z as PlacesService, P as PriceQuote, bI as PricingOverrides, ar as ProcessAndResolveOptions, ap as ProcessCheckoutOptions, aq as ProcessCheckoutResult, bR as ProviderResolutionSource, f as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, i as QuoteDynamicBuckets, h as QuoteStatus, j as QuoteUiMessage, b as ReadRequestOptions, g as RefreshQuoteInput, l as RefreshQuoteResult, bz as RefundOrderInput, bV as RelatedCandidate, bU as RelatedProduct, bW as RelatedProductsEnrichment, bT as RelationType, bC as ReminderMethod, bF as ReminderSettings, n as ReorderResult, d4 as RequestContext, d7 as RequestErrorEvent, R as RequestOptions, cV as RequestOtpInput, k as RequestSource, d5 as RequestStartEvent, d6 as RequestSuccessEvent, cs as RescheduleBookingInput, cw as RescheduleBookingResult, cz as RescheduleHistoryRecord, bL as ResourceAssignment, aQ as Result, d8 as RetryEvent, cU as RevokeAllSessionsResult, cT as RevokeSessionResult, c5 as Room, bJ as SchedulingMetadata, bM as SchedulingResult, s as SchedulingService, a4 as SenderType, cd as Service, cx as ServiceAvailabilityParams, cy as ServiceAvailabilityResult, c6 as ServiceCharge, bH as ServiceNotes, bO as ServiceScheduleRequest, bA as ServiceStatus, M as SessionActivityData, d9 as SessionChangeEvent, K as SessionMessage, cg as SlotResourceInfo, ch as SlotStaffInfo, ce as Staff, bK as StaffAssignment, bB as StaffRole, bP as StaffScheduleItem, cB as StockLevel, cA as StockStatus, c7 as StorefrontBootstrap, S as SubscriptionService, _ as SupportService, c4 as Table, a7 as TableInfo, c1 as TimeRange, c2 as TimeRanges, cf as TimeSlot, J as TrackCategoryViewOptions, T as TrackProductViewOptions, cJ as UpdateAddressInput, bx as UpdateOrderStatusInput, U as UpdateProfileInput, y as UploadInitResponse, x as UploadResult, w as UploadService, cW as VerifyOtpInput, b3 as combine, b4 as combineObject, c as createCimplifyClient, aa as createElements, aU as err, aZ as flatMap, b1 as fromPromise, a_ as getOrElse, aW as isErr, aV as isOk, aY as mapError, aX as mapResult, aT as ok, b0 as toNullable, b2 as tryCatch, a$ as unwrap } from './client-B6x53-Al.js';
1
+ export { aD as AUTHORIZATION_TYPE, aI as AUTH_MUTATION, as as AbortablePromise, M as ActivityRecommendation, N as ActivityRecommendationsResponse, t as ActivityService, K as ActivityStateResponse, cK as AddressData, db as AddressInfo, bg as AmountToPay, cV as AuthResponse, A as AuthService, o as AuthStatus, dd as AuthenticatedCustomer, df as AuthenticatedData, y as AutocompletePrediction, z as AutocompleteResponse, cA as AvailabilityResult, cg as AvailableSlot, cj as Booking, ct as BookingModificationType, ci as BookingStatus, ck as BookingWithDetails, bC as BufferTimes, bX as Business, c9 as BusinessHours, bW as BusinessPreferences, B as BusinessService, c8 as BusinessSettings, bV as BusinessType, c6 as BusinessWithLocations, aw as CHECKOUT_MODE, aJ as CHECKOUT_MUTATION, az as CHECKOUT_STEP, aF as CONTACT_TYPE, cr as CancelBookingInput, cs as CancelBookingResult, bw as CancelOrderInput, bE as CancellationPolicy, k as CartOperations, b as CatalogueQueries, b3 as CatalogueResult, b4 as CatalogueSnapshot, ca as CategoryInfo, a0 as ChatAttachment, _ as ChatConversation, $ as ChatConversationResponse, Z as ChatMessage, a1 as ChatWidgetStarter, co as CheckSlotAvailabilityInput, cp as CheckSlotAvailabilityResult, cY as CheckoutAddressInfo, dj as CheckoutCartData, di as CheckoutCartItem, c_ as CheckoutCustomerInfo, ak as CheckoutFormData, bu as CheckoutInput, ag as CheckoutMode, m as CheckoutOperations, ah as CheckoutOrderType, ai as CheckoutPaymentMethod, al as CheckoutResult, m as CheckoutService, aq as CheckoutStatus, ar as CheckoutStatusContext, aj as CheckoutStep, C as CimplifyClient, a as CimplifyConfig, a7 as CimplifyElement, a6 as CimplifyElements, av as ContactType, a3 as ContentType, cG as CreateAddressInput, cI as CreateMobileMoneyInput, cB as Customer, cC as CustomerAddress, cm as CustomerBooking, cl as CustomerBookingServiceItem, cE as CustomerLinkPreferences, cD as CustomerMobileMoney, bB as CustomerServicePreferences, aN as DEFAULT_COUNTRY, aM as DEFAULT_CURRENCY, aE as DEVICE_TYPE, ch as DayAvailability, bQ as DeliveryFeeDetails, X as DeliveryFeeResponse, W as DeliveryService, bL as DepositResult, au as DeviceType, V as DismissMessageResponse, ab as ELEMENT_TYPES, aa as EVENT_TYPES, da as ElementAppearance, dm as ElementEventHandler, af as ElementEventType, ad as ElementOptions, ae as ElementType, dg as ElementsCheckoutData, dh as ElementsCheckoutResult, de as ElementsCustomerInfo, ac as ElementsOptions, cM as EnrollAndLinkOrderInput, cP as EnrollAndLinkOrderResult, cJ as EnrollmentData, aQ as Err, bf as FeeBearerType, F as FetchQuoteInput, bd as FulfillmentLink, bc as FulfillmentStatus, bb as FulfillmentType, d0 as FxQuote, c$ as FxQuoteRequest, d1 as FxRateResponse, s as FxService, cn as GetAvailableSlotsInput, n as GetOrdersOptions, G as GetProductsOptions, dl as IframeToParentMessage, I as InventoryService, aH as LINK_MUTATION, aG as LINK_QUERY, bh as LineItem, b8 as LineType, cF as LinkData, cO as LinkEnrollResult, L as LinkService, cQ as LinkSession, cN as LinkStatusResult, a4 as LiteBootstrap, r as LiteService, b_ as Location, bO as LocationBooking, bY as LocationTaxBehavior, bZ as LocationTaxOverrides, c1 as LocationTimeProfile, c7 as LocationWithDetails, a9 as MESSAGE_TYPES, aC as MOBILE_MONEY_PROVIDER, cL as MobileMoneyData, cZ as MobileMoneyDetails, at as MobileMoneyProvider, am as NextAction, aL as ORDER_MUTATION, ax as ORDER_TYPE, d8 as ObservabilityHooks, aP as Ok, bi as Order, b7 as OrderChannel, bt as OrderFilter, be as OrderFulfillmentSummary, bn as OrderGroup, br as OrderGroupDetails, bo as OrderGroupPayment, bl as OrderGroupPaymentState, bm as OrderGroupPaymentStatus, bq as OrderGroupPaymentSummary, bk as OrderGroupStatus, bj as OrderHistory, b9 as OrderLineState, ba as OrderLineStatus, bs as OrderPaymentEvent, O as OrderQueries, bp as OrderSplitDetail, b5 as OrderStatus, d9 as OrderType, p as OtpResult, ay as PAYMENT_METHOD, aK as PAYMENT_MUTATION, aA as PAYMENT_STATE, aB as PICKUP_TIME_TYPE, dk as ParentToIframeMessage, dc as PaymentMethodInfo, b6 as PaymentState, cX as PickupTime, cW as PickupTimeType, D as PlaceDetailsResponse, x as PlacesService, P as PriceQuote, bG as PricingOverrides, ap as ProcessAndResolveOptions, an as ProcessCheckoutOptions, ao as ProcessCheckoutResult, bP as ProviderResolutionSource, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, g as QuoteDynamicBuckets, f as QuoteStatus, h as QuoteUiMessage, e as RefreshQuoteInput, j as RefreshQuoteResult, bx as RefundOrderInput, bT as RelatedCandidate, bS as RelatedProduct, bU as RelatedProductsEnrichment, bR as RelationType, bA as ReminderMethod, bD as ReminderSettings, l as ReorderResult, d2 as RequestContext, d5 as RequestErrorEvent, R as RequestOptions, cT as RequestOtpInput, i as RequestSource, d3 as RequestStartEvent, d4 as RequestSuccessEvent, cq as RescheduleBookingInput, cu as RescheduleBookingResult, cx as RescheduleHistoryRecord, bJ as ResourceAssignment, aO as Result, d6 as RetryEvent, cS as RevokeAllSessionsResult, cR as RevokeSessionResult, c3 as Room, bH as SchedulingMetadata, bK as SchedulingResult, q as SchedulingService, a2 as SenderType, cb as Service, cv as ServiceAvailabilityParams, cw as ServiceAvailabilityResult, c4 as ServiceCharge, bF as ServiceNotes, bM as ServiceScheduleRequest, by as ServiceStatus, J as SessionActivityData, d7 as SessionChangeEvent, H as SessionMessage, ce as SlotResourceInfo, cf as SlotStaffInfo, cc as Staff, bI as StaffAssignment, bz as StaffRole, bN as StaffScheduleItem, cz as StockLevel, cy as StockStatus, c5 as StorefrontBootstrap, S as SubscriptionService, Y as SupportService, c2 as Table, a5 as TableInfo, b$ as TimeRange, c0 as TimeRanges, cd as TimeSlot, E as TrackCategoryViewOptions, T as TrackProductViewOptions, cH as UpdateAddressInput, bv as UpdateOrderStatusInput, U as UpdateProfileInput, w as UploadInitResponse, v as UploadResult, u as UploadService, cU as VerifyOtpInput, b1 as combine, b2 as combineObject, c as createCimplifyClient, a8 as createElements, aS as err, aX as flatMap, a$ as fromPromise, aY as getOrElse, aU as isErr, aT as isOk, aW as mapError, aV as mapResult, aR as ok, a_ as toNullable, b0 as tryCatch, aZ as unwrap } from './client-CX7IFIkL.js';
2
2
  import { A as ApiError } from './product-C-xLzh7Q.js';
3
3
  export { ak as AddOn, bh as AddOnDetails, bE as AddOnGroupDetails, am as AddOnOption, bD as AddOnOptionDetails, an as AddOnOptionPrice, al as AddOnWithOptions, bK as AddToCartInput, $ as AddressValue, b7 as AdjustmentType, bd as AppliedDiscount, F as AttributeAppliesTo, B as AttributeType, J as AttributeValidationRules, G as AttributeVisibility, bc as BenefitType, bN as BillingFrequency, bP as BillingMarkupType, bO as BillingPlanType, av as Bundle, az as BundleComponentData, aA as BundleComponentInfo, aC as BundleComponentVariantView, aB as BundleComponentView, au as BundlePriceType, ax as BundleProduct, bn as BundleSelectionData, bk as BundleSelectionInput, bm as BundleStoredSelection, aw as BundleSummary, ay as BundleWithDetails, bs as Cart, bi as CartAddOn, b5 as CartChannel, bt as CartItem, bG as CartItemDetails, bJ as CartMutationResult, bI as CartNotice, b4 as CartStatus, bM as CartSummary, bu as CartTotals, ap as Category, aq as CategorySummary, C as ChosenPrice, h as CimplifyError, ar as Collection, at as CollectionProduct, as as CollectionSummary, aK as ComponentGroup, aL as ComponentGroupWithComponents, aR as ComponentPriceBreakdown, bl as ComponentSchedulingData, aP as ComponentSelectionInput, aH as ComponentSourceType, aI as Composite, aO as CompositeComponent, aN as CompositeComponentView, aM as CompositeGroupView, bp as CompositePriceBreakdown, aQ as CompositePriceResult, aF as CompositePricingMode, bq as CompositeSelectionData, aP as CompositeSelectionInput, bo as CompositeStoredSelection, aJ as CompositeWithDetails, a as CurrencyCode, K as CustomAttributeDefinition, L as CustomAttributeValue, a7 as CustomerInputValue, y as DURATION_UNIT, a1 as DateRangeValue, a$ as Deal, a_ as DealBenefitType, w as DepositType, v as DigitalProductType, be as DiscountBreakdown, bf as DiscountDetails, b1 as DiscountValidation, bx as DisplayAddOn, by as DisplayAddOnOption, bv as DisplayCart, bw as DisplayCartItem, D as DisplayMode, x as DurationUnit, g as ERROR_HINTS, bR as EligiblePlansQuery, E as ErrorCode, e as ErrorCodeType, f as ErrorHint, T as FacetValue, bS as FormattedPlanOption, aG as GroupPricingBehavior, _ as INPUT_FIELD_TYPE, I as IdempotencyMismatchError, Y as InputFieldType, a4 as InputFieldValidation, u as InventoryType, W as KnowledgeArticle, br as LineConfiguration, aU as LocationProductPrice, a2 as LocationValue, H as MeasurementValue, M as Money, s as PRODUCT_TYPE, d as Pagination, P as PaginationParams, a0 as PhoneValue, aT as Price, b8 as PriceAdjustment, bb as PriceDecisionPath, aS as PriceEntryType, ba as PricePathTaxInfo, b6 as PriceSource, X as Product, ao as ProductAddOn, aV as ProductAvailability, aZ as ProductAvailabilityNow, bQ as ProductBillingPlan, b0 as ProductDealInfo, a6 as ProductInputField, O as ProductProperty, t as ProductRenderHint, aX as ProductTaxonomy, aW as ProductTimeProfile, r as ProductType, ac as ProductVariant, ah as ProductVariantValue, aa as ProductWithDetails, Q as PropertyFacet, N as PropertySource, a8 as QuantityPricingTier, R as RENDER_HINT, a9 as RelatedProductView, z as SalesChannel, S as SchedulingMode, bg as SelectedAddOnOption, a5 as SemanticKind, a3 as SignatureValue, bU as Subscription, bW as SubscriptionInvoice, bV as SubscriptionItem, bT as SubscriptionStatus, bX as SubscriptionWithDetails, b2 as Tag, b3 as TagsResponse, b9 as TaxPathComponent, U as TaxonomyAttributeTemplate, aY as TaxonomyWithChildren, bH as UICart, bz as UICartBusiness, bB as UICartCustomer, bA as UICartLocation, bC as UICartPricing, bL as UpdateCartItemInput, ae as VariantAxis, aj as VariantAxisSelection, ag as VariantAxisValue, aE as VariantAxisValueView, aD as VariantAxisView, af as VariantAxisWithValues, bj as VariantDetails, bF as VariantDetailsDTO, ad as VariantDisplayAttribute, ai as VariantLocationAvailability, V as VariantStrategy, ab as VariantView, Z as ZERO, c as currencyCode, p as enrichError, o as getErrorHint, j as isCimplifyError, n as isIdempotencyMismatchError, l as isQuoteConflictRequiringConsent, k as isQuoteError, q as isRetryableError, i as isSupportedCurrency, m as money, b as moneyFromNumber } from './product-C-xLzh7Q.js';
4
4
  export { C as CURRENCY_SYMBOLS, M as MOBILE_MONEY_PROVIDERS, v as categorizePaymentError, B as detectMobileMoneyProvider, c as formatMoney, d as formatNumberCompact, f as formatPrice, a as formatPriceAdjustment, b as formatPriceCompact, u as formatPriceRange, j as formatPriceWithTax, e as formatProductPrice, m as getBasePrice, k as getCurrencySymbol, o as getDiscountPercentage, l as getDisplayPrice, q as getMarkupPercentage, t as getPriceRange, r as getProductCurrency, g as getTaxAmount, s as getUnitPriceAtQuantity, h as hasTaxInfo, n as isOnSale, y as isPaymentStatusFailure, z as isPaymentStatusRequiresAction, A as isPaymentStatusSuccess, i as isTaxInclusive, F as isValidPhoneForContext, w as normalizePaymentResponse, D as normalizePhoneToE164, x as normalizeStatusResponse, p as parsePrice, E as resolvePhoneCountryCode } from './index-BAohYhdg.js';