@cimplify/sdk 0.21.0 → 0.22.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.
@@ -1,5 +1,5 @@
1
- export { A as AuthService, B as BusinessService, j as CartOperations, b as CatalogueQueries, l as CheckoutOperations, l as CheckoutService, M as CimplifyElement, K as CimplifyElements, X as ELEMENT_TYPES, W as EVENT_TYPES, $ as ElementEventType, Z as ElementOptions, _ as ElementType, Y as ElementsOptions, F as FetchQuoteInput, r as FxService, G as GetProductsOptions, I as InventoryService, L as LinkService, q as LiteService, V as MESSAGE_TYPES, O as OrderQueries, P as PriceQuote, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, i as RefreshQuoteResult, S as SchedulingService, N as createElements, m as generateIdempotencyKey } from './client-B8PO4NKN.mjs';
2
- import './payment-CKqMU4xT.mjs';
1
+ export { A as AuthService, B as BusinessService, j as CartOperations, b as CatalogueQueries, l as CheckoutOperations, l as CheckoutService, M as CimplifyElement, K as CimplifyElements, X as ELEMENT_TYPES, W as EVENT_TYPES, $ as ElementEventType, Z as ElementOptions, _ as ElementType, Y as ElementsOptions, F as FetchQuoteInput, r as FxService, G as GetProductsOptions, I as InventoryService, L as LinkService, q as LiteService, V as MESSAGE_TYPES, O as OrderQueries, P as PriceQuote, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, i as RefreshQuoteResult, S as SchedulingService, N as createElements, m as generateIdempotencyKey } from './client-v1NFqZFG.mjs';
2
+ import './payment-DazihbCY.mjs';
3
3
 
4
4
  type Operator = "==" | "!=" | ">" | "<" | ">=" | "<=" | "contains" | "startsWith";
5
5
  type SortOrder = "asc" | "desc";
@@ -1,5 +1,5 @@
1
- export { A as AuthService, B as BusinessService, j as CartOperations, b as CatalogueQueries, l as CheckoutOperations, l as CheckoutService, M as CimplifyElement, K as CimplifyElements, X as ELEMENT_TYPES, W as EVENT_TYPES, $ as ElementEventType, Z as ElementOptions, _ as ElementType, Y as ElementsOptions, F as FetchQuoteInput, r as FxService, G as GetProductsOptions, I as InventoryService, L as LinkService, q as LiteService, V as MESSAGE_TYPES, O as OrderQueries, P as PriceQuote, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, i as RefreshQuoteResult, S as SchedulingService, N as createElements, m as generateIdempotencyKey } from './client-DjrlvxW7.js';
2
- import './payment-CKqMU4xT.js';
1
+ export { A as AuthService, B as BusinessService, j as CartOperations, b as CatalogueQueries, l as CheckoutOperations, l as CheckoutService, M as CimplifyElement, K as CimplifyElements, X as ELEMENT_TYPES, W as EVENT_TYPES, $ as ElementEventType, Z as ElementOptions, _ as ElementType, Y as ElementsOptions, F as FetchQuoteInput, r as FxService, G as GetProductsOptions, I as InventoryService, L as LinkService, q as LiteService, V as MESSAGE_TYPES, O as OrderQueries, P as PriceQuote, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, i as RefreshQuoteResult, S as SchedulingService, N as createElements, m as generateIdempotencyKey } from './client-uvCOGdBp.js';
2
+ import './payment-DazihbCY.js';
3
3
 
4
4
  type Operator = "==" | "!=" | ">" | "<" | ">=" | "<=" | "contains" | "startsWith";
5
5
  type SortOrder = "asc" | "desc";
@@ -1,4 +1,4 @@
1
- import { a5 as Category, J as Product, a1 as AddOnWithOptions, d as Pagination, h as CimplifyError, L as ProductWithDetails, O as ProductVariant, U as VariantAxis, $ as VariantAxisSelection, a0 as AddOn, a7 as Collection, ac as BundleSummary, ab as Bundle, ao as Composite, av as ComponentSelectionInput, aw as CompositePriceResult, C as ChosenPrice, aD as ProductTaxonomy, aE as TaxonomyWithChildren, bJ as EligiblePlansQuery, bI as ProductBillingPlan, aC as ProductTimeProfile, aF as ProductAvailabilityNow, aH as Deal, aI as ProductDealInfo, aJ as DiscountValidation, aL as TagsResponse, y as CustomAttributeDefinition, z as CustomAttributeValue, G as PropertyFacet, T as TaxonomyAttributeTemplate, K as KnowledgeArticle, bn as UICart, b8 as Cart, b9 as CartItem, br as CartSummary, bp as AddToCartInput, bq as UpdateCartItemInput, aX as DiscountDetails, M as Money, a as CurrencyCode, b7 as LineConfiguration, bw as AuthorizationType, by as PaymentMethod, bA as InitializePaymentResult, bE as SubmitAuthorizationInput, bC as PaymentStatusResponse, s as DurationUnit } from './payment-CKqMU4xT.mjs';
1
+ import { a5 as Category, J as Product, a1 as AddOnWithOptions, d as Pagination, h as CimplifyError, L as ProductWithDetails, O as ProductVariant, U as VariantAxis, $ as VariantAxisSelection, a0 as AddOn, a7 as Collection, ac as BundleSummary, ab as Bundle, ao as Composite, av as ComponentSelectionInput, aw as CompositePriceResult, C as ChosenPrice, aD as ProductTaxonomy, aE as TaxonomyWithChildren, bJ as EligiblePlansQuery, bI as ProductBillingPlan, aC as ProductTimeProfile, aF as ProductAvailabilityNow, aH as Deal, aI as ProductDealInfo, aJ as DiscountValidation, aL as TagsResponse, y as CustomAttributeDefinition, z as CustomAttributeValue, G as PropertyFacet, T as TaxonomyAttributeTemplate, K as KnowledgeArticle, bn as UICart, b8 as Cart, b9 as CartItem, br as CartSummary, bp as AddToCartInput, bq as UpdateCartItemInput, aX as DiscountDetails, M as Money, a as CurrencyCode, b7 as LineConfiguration, bw as AuthorizationType, by as PaymentMethod, bA as InitializePaymentResult, bE as SubmitAuthorizationInput, bC as PaymentStatusResponse, s as DurationUnit } from './payment-DazihbCY.js';
2
2
 
3
3
  interface RequestContext {
4
4
  method: "GET" | "POST" | "PATCH" | "DELETE";
@@ -1467,9 +1467,21 @@ interface TimeSlot {
1467
1467
  staff_name?: string;
1468
1468
  remaining_capacity?: number;
1469
1469
  }
1470
+ interface SlotResourceInfo {
1471
+ resource_id: string;
1472
+ name: string;
1473
+ resource_type: string;
1474
+ }
1475
+ interface SlotStaffInfo {
1476
+ staff_id: string;
1477
+ name: string;
1478
+ }
1470
1479
  interface AvailableSlot extends TimeSlot {
1471
1480
  price?: Money;
1472
1481
  duration_minutes?: number;
1482
+ available_staff?: SlotStaffInfo[];
1483
+ available_resources?: SlotResourceInfo[];
1484
+ capacity_available?: number;
1473
1485
  }
1474
1486
  interface DayAvailability {
1475
1487
  date: string;
@@ -2186,4 +2198,4 @@ declare class CimplifyClient {
2186
2198
  }
2187
2199
  declare function createCimplifyClient(config?: CimplifyConfig): CimplifyClient;
2188
2200
 
2189
- export { type ElementEventType as $, AuthService as A, BusinessService as B, CimplifyClient as C, type DismissMessageResponse as D, type DeliveryFeeResponse as E, type FetchQuoteInput as F, type GetProductsOptions as G, type LiteBootstrap as H, InventoryService as I, type TableInfo as J, CimplifyElements as K, LinkService as L, CimplifyElement as M, createElements as N, OrderQueries as O, type PriceQuote as P, type QuoteCompositeSelectionInput as Q, type RefreshQuoteInput as R, SchedulingService as S, type TrackProductViewOptions as T, type UpdateProfileInput as U, MESSAGE_TYPES as V, EVENT_TYPES as W, ELEMENT_TYPES as X, type ElementsOptions as Y, type ElementOptions as Z, type ElementType as _, type CimplifyConfig as a, type FeeBearerType as a$, type CheckoutMode as a0, type CheckoutOrderType as a1, type CheckoutPaymentMethod as a2, type CheckoutStep as a3, type CheckoutFormData as a4, type CheckoutResult as a5, type NextAction as a6, type ProcessCheckoutOptions as a7, type ProcessCheckoutResult as a8, type ProcessAndResolveOptions as a9, type Err as aA, ok as aB, err as aC, isOk as aD, isErr as aE, mapResult as aF, mapError as aG, flatMap as aH, getOrElse as aI, unwrap as aJ, toNullable as aK, fromPromise as aL, tryCatch as aM, combine as aN, combineObject as aO, type CatalogueResult as aP, type CatalogueSnapshot as aQ, type OrderStatus as aR, type PaymentState as aS, type OrderChannel as aT, type LineType as aU, type OrderLineState as aV, type OrderLineStatus as aW, type FulfillmentType as aX, type FulfillmentStatus as aY, type FulfillmentLink as aZ, type OrderFulfillmentSummary as a_, type CheckoutStatus as aa, type CheckoutStatusContext as ab, type AbortablePromise as ac, type MobileMoneyProvider as ad, type DeviceType as ae, type ContactType as af, CHECKOUT_MODE as ag, ORDER_TYPE as ah, PAYMENT_METHOD as ai, CHECKOUT_STEP as aj, PAYMENT_STATE as ak, PICKUP_TIME_TYPE as al, MOBILE_MONEY_PROVIDER as am, AUTHORIZATION_TYPE as an, DEVICE_TYPE as ao, CONTACT_TYPE as ap, LINK_QUERY as aq, LINK_MUTATION as ar, AUTH_MUTATION as as, CHECKOUT_MUTATION as at, PAYMENT_MUTATION as au, ORDER_MUTATION as av, DEFAULT_CURRENCY as aw, DEFAULT_COUNTRY as ax, type Result as ay, type Ok as az, CatalogueQueries as b, type DayAvailability as b$, type AmountToPay as b0, type LineItem as b1, type Order as b2, type OrderHistory as b3, type OrderGroupStatus as b4, type OrderGroupPaymentState as b5, type OrderGroupPaymentStatus as b6, type OrderGroup as b7, type OrderGroupPayment as b8, type OrderSplitDetail as b9, type DeliveryFeeDetails as bA, type RelationType as bB, type RelatedProduct as bC, type RelatedCandidate as bD, type RelatedProductsEnrichment as bE, type BusinessType as bF, type BusinessPreferences as bG, type Business as bH, type LocationTaxBehavior as bI, type LocationTaxOverrides as bJ, type Location as bK, type TimeRange as bL, type TimeRanges as bM, type LocationTimeProfile as bN, type Table as bO, type Room as bP, type ServiceCharge as bQ, type StorefrontBootstrap as bR, type BusinessWithLocations as bS, type LocationWithDetails as bT, type BusinessSettings as bU, type BusinessHours as bV, type CategoryInfo as bW, type Service as bX, type Staff as bY, type TimeSlot as bZ, type AvailableSlot as b_, type OrderGroupPaymentSummary as ba, type OrderGroupDetails as bb, type OrderPaymentEvent as bc, type OrderFilter as bd, type CheckoutInput as be, type UpdateOrderStatusInput as bf, type CancelOrderInput as bg, type RefundOrderInput as bh, type ServiceStatus as bi, type StaffRole as bj, type ReminderMethod as bk, type CustomerServicePreferences as bl, type BufferTimes as bm, type ReminderSettings as bn, type CancellationPolicy as bo, type ServiceNotes as bp, type PricingOverrides as bq, type SchedulingMetadata as br, type StaffAssignment as bs, type ResourceAssignment as bt, type SchedulingResult as bu, type DepositResult as bv, type ServiceScheduleRequest as bw, type StaffScheduleItem as bx, type LocationAppointment as by, type ProviderResolutionSource as bz, createCimplifyClient as c, type ElementsCheckoutData as c$, type BookingStatus as c0, type Booking as c1, type BookingWithDetails as c2, type CustomerBookingServiceItem as c3, type CustomerBooking as c4, type GetAvailableSlotsInput as c5, type CheckSlotAvailabilityInput as c6, type CheckSlotAvailabilityResult as c7, type RescheduleBookingInput as c8, type CancelBookingInput as c9, type RevokeSessionResult as cA, type RevokeAllSessionsResult as cB, type RequestOtpInput as cC, type VerifyOtpInput as cD, type AuthResponse as cE, type PickupTimeType as cF, type PickupTime as cG, type CheckoutAddressInfo as cH, type MobileMoneyDetails as cI, type CheckoutCustomerInfo as cJ, type FxQuoteRequest as cK, type FxQuote as cL, type FxRateResponse as cM, type RequestContext as cN, type RequestStartEvent as cO, type RequestSuccessEvent as cP, type RequestErrorEvent as cQ, type RetryEvent as cR, type SessionChangeEvent as cS, type ObservabilityHooks as cT, type OrderType as cU, type ElementAppearance as cV, type AddressInfo as cW, type PaymentMethodInfo as cX, type AuthenticatedCustomer as cY, type ElementsCustomerInfo as cZ, type AuthenticatedData as c_, type CancelBookingResult as ca, type RescheduleBookingResult as cb, type ServiceAvailabilityParams as cc, type ServiceAvailabilityResult as cd, type StockStatus as ce, type StockLevel as cf, type ProductStock as cg, type VariantStock as ch, type LocationStock as ci, type AvailabilityResult as cj, type Customer as ck, type CustomerAddress as cl, type CustomerMobileMoney as cm, type CustomerLinkPreferences as cn, type LinkData as co, type CreateAddressInput as cp, type UpdateAddressInput as cq, type CreateMobileMoneyInput as cr, type EnrollmentData as cs, type AddressData as ct, type MobileMoneyData as cu, type EnrollAndLinkOrderInput as cv, type LinkStatusResult as cw, type LinkEnrollResult as cx, type EnrollAndLinkOrderResult as cy, type LinkSession as cz, type QuoteBundleSelectionInput as d, type ElementsCheckoutResult as d0, type CheckoutCartItem as d1, type CheckoutCartData as d2, type ParentToIframeMessage as d3, type IframeToParentMessage as d4, type ElementEventHandler as d5, type QuoteStatus as e, type QuoteDynamicBuckets as f, type QuoteUiMessage as g, type RequestSource as h, type RefreshQuoteResult as i, CartOperations as j, type ReorderResult as k, CheckoutService as l, generateIdempotencyKey as m, type GetOrdersOptions as n, type AuthStatus as o, type OtpResult as p, LiteService as q, FxService as r, ActivityService as s, type TrackCategoryViewOptions as t, type SessionMessage as u, type SessionActivityData as v, type ActivityStateResponse as w, type ActivityRecommendation as x, type ActivityRecommendationsResponse as y, DeliveryService as z };
2201
+ export { type ElementEventType as $, AuthService as A, BusinessService as B, CimplifyClient as C, type DismissMessageResponse as D, type DeliveryFeeResponse as E, type FetchQuoteInput as F, type GetProductsOptions as G, type LiteBootstrap as H, InventoryService as I, type TableInfo as J, CimplifyElements as K, LinkService as L, CimplifyElement as M, createElements as N, OrderQueries as O, type PriceQuote as P, type QuoteCompositeSelectionInput as Q, type RefreshQuoteInput as R, SchedulingService as S, type TrackProductViewOptions as T, type UpdateProfileInput as U, MESSAGE_TYPES as V, EVENT_TYPES as W, ELEMENT_TYPES as X, type ElementsOptions as Y, type ElementOptions as Z, type ElementType as _, type CimplifyConfig as a, type FeeBearerType as a$, type CheckoutMode as a0, type CheckoutOrderType as a1, type CheckoutPaymentMethod as a2, type CheckoutStep as a3, type CheckoutFormData as a4, type CheckoutResult as a5, type NextAction as a6, type ProcessCheckoutOptions as a7, type ProcessCheckoutResult as a8, type ProcessAndResolveOptions as a9, type Err as aA, ok as aB, err as aC, isOk as aD, isErr as aE, mapResult as aF, mapError as aG, flatMap as aH, getOrElse as aI, unwrap as aJ, toNullable as aK, fromPromise as aL, tryCatch as aM, combine as aN, combineObject as aO, type CatalogueResult as aP, type CatalogueSnapshot as aQ, type OrderStatus as aR, type PaymentState as aS, type OrderChannel as aT, type LineType as aU, type OrderLineState as aV, type OrderLineStatus as aW, type FulfillmentType as aX, type FulfillmentStatus as aY, type FulfillmentLink as aZ, type OrderFulfillmentSummary as a_, type CheckoutStatus as aa, type CheckoutStatusContext as ab, type AbortablePromise as ac, type MobileMoneyProvider as ad, type DeviceType as ae, type ContactType as af, CHECKOUT_MODE as ag, ORDER_TYPE as ah, PAYMENT_METHOD as ai, CHECKOUT_STEP as aj, PAYMENT_STATE as ak, PICKUP_TIME_TYPE as al, MOBILE_MONEY_PROVIDER as am, AUTHORIZATION_TYPE as an, DEVICE_TYPE as ao, CONTACT_TYPE as ap, LINK_QUERY as aq, LINK_MUTATION as ar, AUTH_MUTATION as as, CHECKOUT_MUTATION as at, PAYMENT_MUTATION as au, ORDER_MUTATION as av, DEFAULT_CURRENCY as aw, DEFAULT_COUNTRY as ax, type Result as ay, type Ok as az, CatalogueQueries as b, type SlotStaffInfo as b$, type AmountToPay as b0, type LineItem as b1, type Order as b2, type OrderHistory as b3, type OrderGroupStatus as b4, type OrderGroupPaymentState as b5, type OrderGroupPaymentStatus as b6, type OrderGroup as b7, type OrderGroupPayment as b8, type OrderSplitDetail as b9, type DeliveryFeeDetails as bA, type RelationType as bB, type RelatedProduct as bC, type RelatedCandidate as bD, type RelatedProductsEnrichment as bE, type BusinessType as bF, type BusinessPreferences as bG, type Business as bH, type LocationTaxBehavior as bI, type LocationTaxOverrides as bJ, type Location as bK, type TimeRange as bL, type TimeRanges as bM, type LocationTimeProfile as bN, type Table as bO, type Room as bP, type ServiceCharge as bQ, type StorefrontBootstrap as bR, type BusinessWithLocations as bS, type LocationWithDetails as bT, type BusinessSettings as bU, type BusinessHours as bV, type CategoryInfo as bW, type Service as bX, type Staff as bY, type TimeSlot as bZ, type SlotResourceInfo as b_, type OrderGroupPaymentSummary as ba, type OrderGroupDetails as bb, type OrderPaymentEvent as bc, type OrderFilter as bd, type CheckoutInput as be, type UpdateOrderStatusInput as bf, type CancelOrderInput as bg, type RefundOrderInput as bh, type ServiceStatus as bi, type StaffRole as bj, type ReminderMethod as bk, type CustomerServicePreferences as bl, type BufferTimes as bm, type ReminderSettings as bn, type CancellationPolicy as bo, type ServiceNotes as bp, type PricingOverrides as bq, type SchedulingMetadata as br, type StaffAssignment as bs, type ResourceAssignment as bt, type SchedulingResult as bu, type DepositResult as bv, type ServiceScheduleRequest as bw, type StaffScheduleItem as bx, type LocationAppointment as by, type ProviderResolutionSource as bz, createCimplifyClient as c, type ElementsCustomerInfo as c$, type AvailableSlot as c0, type DayAvailability as c1, type BookingStatus as c2, type Booking as c3, type BookingWithDetails as c4, type CustomerBookingServiceItem as c5, type CustomerBooking as c6, type GetAvailableSlotsInput as c7, type CheckSlotAvailabilityInput as c8, type CheckSlotAvailabilityResult as c9, type EnrollAndLinkOrderResult as cA, type LinkSession as cB, type RevokeSessionResult as cC, type RevokeAllSessionsResult as cD, type RequestOtpInput as cE, type VerifyOtpInput as cF, type AuthResponse as cG, type PickupTimeType as cH, type PickupTime as cI, type CheckoutAddressInfo as cJ, type MobileMoneyDetails as cK, type CheckoutCustomerInfo as cL, type FxQuoteRequest as cM, type FxQuote as cN, type FxRateResponse as cO, type RequestContext as cP, type RequestStartEvent as cQ, type RequestSuccessEvent as cR, type RequestErrorEvent as cS, type RetryEvent as cT, type SessionChangeEvent as cU, type ObservabilityHooks as cV, type OrderType as cW, type ElementAppearance as cX, type AddressInfo as cY, type PaymentMethodInfo as cZ, type AuthenticatedCustomer as c_, type RescheduleBookingInput as ca, type CancelBookingInput as cb, type CancelBookingResult as cc, type RescheduleBookingResult as cd, type ServiceAvailabilityParams as ce, type ServiceAvailabilityResult as cf, type StockStatus as cg, type StockLevel as ch, type ProductStock as ci, type VariantStock as cj, type LocationStock as ck, type AvailabilityResult as cl, type Customer as cm, type CustomerAddress as cn, type CustomerMobileMoney as co, type CustomerLinkPreferences as cp, type LinkData as cq, type CreateAddressInput as cr, type UpdateAddressInput as cs, type CreateMobileMoneyInput as ct, type EnrollmentData as cu, type AddressData as cv, type MobileMoneyData as cw, type EnrollAndLinkOrderInput as cx, type LinkStatusResult as cy, type LinkEnrollResult as cz, type QuoteBundleSelectionInput as d, type AuthenticatedData as d0, type ElementsCheckoutData as d1, type ElementsCheckoutResult as d2, type CheckoutCartItem as d3, type CheckoutCartData as d4, type ParentToIframeMessage as d5, type IframeToParentMessage as d6, type ElementEventHandler as d7, type QuoteStatus as e, type QuoteDynamicBuckets as f, type QuoteUiMessage as g, type RequestSource as h, type RefreshQuoteResult as i, CartOperations as j, type ReorderResult as k, CheckoutService as l, generateIdempotencyKey as m, type GetOrdersOptions as n, type AuthStatus as o, type OtpResult as p, LiteService as q, FxService as r, ActivityService as s, type TrackCategoryViewOptions as t, type SessionMessage as u, type SessionActivityData as v, type ActivityStateResponse as w, type ActivityRecommendation as x, type ActivityRecommendationsResponse as y, DeliveryService as z };
@@ -1,4 +1,4 @@
1
- import { a5 as Category, J as Product, a1 as AddOnWithOptions, d as Pagination, h as CimplifyError, L as ProductWithDetails, O as ProductVariant, U as VariantAxis, $ as VariantAxisSelection, a0 as AddOn, a7 as Collection, ac as BundleSummary, ab as Bundle, ao as Composite, av as ComponentSelectionInput, aw as CompositePriceResult, C as ChosenPrice, aD as ProductTaxonomy, aE as TaxonomyWithChildren, bJ as EligiblePlansQuery, bI as ProductBillingPlan, aC as ProductTimeProfile, aF as ProductAvailabilityNow, aH as Deal, aI as ProductDealInfo, aJ as DiscountValidation, aL as TagsResponse, y as CustomAttributeDefinition, z as CustomAttributeValue, G as PropertyFacet, T as TaxonomyAttributeTemplate, K as KnowledgeArticle, bn as UICart, b8 as Cart, b9 as CartItem, br as CartSummary, bp as AddToCartInput, bq as UpdateCartItemInput, aX as DiscountDetails, M as Money, a as CurrencyCode, b7 as LineConfiguration, bw as AuthorizationType, by as PaymentMethod, bA as InitializePaymentResult, bE as SubmitAuthorizationInput, bC as PaymentStatusResponse, s as DurationUnit } from './payment-CKqMU4xT.js';
1
+ import { a5 as Category, J as Product, a1 as AddOnWithOptions, d as Pagination, h as CimplifyError, L as ProductWithDetails, O as ProductVariant, U as VariantAxis, $ as VariantAxisSelection, a0 as AddOn, a7 as Collection, ac as BundleSummary, ab as Bundle, ao as Composite, av as ComponentSelectionInput, aw as CompositePriceResult, C as ChosenPrice, aD as ProductTaxonomy, aE as TaxonomyWithChildren, bJ as EligiblePlansQuery, bI as ProductBillingPlan, aC as ProductTimeProfile, aF as ProductAvailabilityNow, aH as Deal, aI as ProductDealInfo, aJ as DiscountValidation, aL as TagsResponse, y as CustomAttributeDefinition, z as CustomAttributeValue, G as PropertyFacet, T as TaxonomyAttributeTemplate, K as KnowledgeArticle, bn as UICart, b8 as Cart, b9 as CartItem, br as CartSummary, bp as AddToCartInput, bq as UpdateCartItemInput, aX as DiscountDetails, M as Money, a as CurrencyCode, b7 as LineConfiguration, bw as AuthorizationType, by as PaymentMethod, bA as InitializePaymentResult, bE as SubmitAuthorizationInput, bC as PaymentStatusResponse, s as DurationUnit } from './payment-DazihbCY.mjs';
2
2
 
3
3
  interface RequestContext {
4
4
  method: "GET" | "POST" | "PATCH" | "DELETE";
@@ -1467,9 +1467,21 @@ interface TimeSlot {
1467
1467
  staff_name?: string;
1468
1468
  remaining_capacity?: number;
1469
1469
  }
1470
+ interface SlotResourceInfo {
1471
+ resource_id: string;
1472
+ name: string;
1473
+ resource_type: string;
1474
+ }
1475
+ interface SlotStaffInfo {
1476
+ staff_id: string;
1477
+ name: string;
1478
+ }
1470
1479
  interface AvailableSlot extends TimeSlot {
1471
1480
  price?: Money;
1472
1481
  duration_minutes?: number;
1482
+ available_staff?: SlotStaffInfo[];
1483
+ available_resources?: SlotResourceInfo[];
1484
+ capacity_available?: number;
1473
1485
  }
1474
1486
  interface DayAvailability {
1475
1487
  date: string;
@@ -2186,4 +2198,4 @@ declare class CimplifyClient {
2186
2198
  }
2187
2199
  declare function createCimplifyClient(config?: CimplifyConfig): CimplifyClient;
2188
2200
 
2189
- export { type ElementEventType as $, AuthService as A, BusinessService as B, CimplifyClient as C, type DismissMessageResponse as D, type DeliveryFeeResponse as E, type FetchQuoteInput as F, type GetProductsOptions as G, type LiteBootstrap as H, InventoryService as I, type TableInfo as J, CimplifyElements as K, LinkService as L, CimplifyElement as M, createElements as N, OrderQueries as O, type PriceQuote as P, type QuoteCompositeSelectionInput as Q, type RefreshQuoteInput as R, SchedulingService as S, type TrackProductViewOptions as T, type UpdateProfileInput as U, MESSAGE_TYPES as V, EVENT_TYPES as W, ELEMENT_TYPES as X, type ElementsOptions as Y, type ElementOptions as Z, type ElementType as _, type CimplifyConfig as a, type FeeBearerType as a$, type CheckoutMode as a0, type CheckoutOrderType as a1, type CheckoutPaymentMethod as a2, type CheckoutStep as a3, type CheckoutFormData as a4, type CheckoutResult as a5, type NextAction as a6, type ProcessCheckoutOptions as a7, type ProcessCheckoutResult as a8, type ProcessAndResolveOptions as a9, type Err as aA, ok as aB, err as aC, isOk as aD, isErr as aE, mapResult as aF, mapError as aG, flatMap as aH, getOrElse as aI, unwrap as aJ, toNullable as aK, fromPromise as aL, tryCatch as aM, combine as aN, combineObject as aO, type CatalogueResult as aP, type CatalogueSnapshot as aQ, type OrderStatus as aR, type PaymentState as aS, type OrderChannel as aT, type LineType as aU, type OrderLineState as aV, type OrderLineStatus as aW, type FulfillmentType as aX, type FulfillmentStatus as aY, type FulfillmentLink as aZ, type OrderFulfillmentSummary as a_, type CheckoutStatus as aa, type CheckoutStatusContext as ab, type AbortablePromise as ac, type MobileMoneyProvider as ad, type DeviceType as ae, type ContactType as af, CHECKOUT_MODE as ag, ORDER_TYPE as ah, PAYMENT_METHOD as ai, CHECKOUT_STEP as aj, PAYMENT_STATE as ak, PICKUP_TIME_TYPE as al, MOBILE_MONEY_PROVIDER as am, AUTHORIZATION_TYPE as an, DEVICE_TYPE as ao, CONTACT_TYPE as ap, LINK_QUERY as aq, LINK_MUTATION as ar, AUTH_MUTATION as as, CHECKOUT_MUTATION as at, PAYMENT_MUTATION as au, ORDER_MUTATION as av, DEFAULT_CURRENCY as aw, DEFAULT_COUNTRY as ax, type Result as ay, type Ok as az, CatalogueQueries as b, type DayAvailability as b$, type AmountToPay as b0, type LineItem as b1, type Order as b2, type OrderHistory as b3, type OrderGroupStatus as b4, type OrderGroupPaymentState as b5, type OrderGroupPaymentStatus as b6, type OrderGroup as b7, type OrderGroupPayment as b8, type OrderSplitDetail as b9, type DeliveryFeeDetails as bA, type RelationType as bB, type RelatedProduct as bC, type RelatedCandidate as bD, type RelatedProductsEnrichment as bE, type BusinessType as bF, type BusinessPreferences as bG, type Business as bH, type LocationTaxBehavior as bI, type LocationTaxOverrides as bJ, type Location as bK, type TimeRange as bL, type TimeRanges as bM, type LocationTimeProfile as bN, type Table as bO, type Room as bP, type ServiceCharge as bQ, type StorefrontBootstrap as bR, type BusinessWithLocations as bS, type LocationWithDetails as bT, type BusinessSettings as bU, type BusinessHours as bV, type CategoryInfo as bW, type Service as bX, type Staff as bY, type TimeSlot as bZ, type AvailableSlot as b_, type OrderGroupPaymentSummary as ba, type OrderGroupDetails as bb, type OrderPaymentEvent as bc, type OrderFilter as bd, type CheckoutInput as be, type UpdateOrderStatusInput as bf, type CancelOrderInput as bg, type RefundOrderInput as bh, type ServiceStatus as bi, type StaffRole as bj, type ReminderMethod as bk, type CustomerServicePreferences as bl, type BufferTimes as bm, type ReminderSettings as bn, type CancellationPolicy as bo, type ServiceNotes as bp, type PricingOverrides as bq, type SchedulingMetadata as br, type StaffAssignment as bs, type ResourceAssignment as bt, type SchedulingResult as bu, type DepositResult as bv, type ServiceScheduleRequest as bw, type StaffScheduleItem as bx, type LocationAppointment as by, type ProviderResolutionSource as bz, createCimplifyClient as c, type ElementsCheckoutData as c$, type BookingStatus as c0, type Booking as c1, type BookingWithDetails as c2, type CustomerBookingServiceItem as c3, type CustomerBooking as c4, type GetAvailableSlotsInput as c5, type CheckSlotAvailabilityInput as c6, type CheckSlotAvailabilityResult as c7, type RescheduleBookingInput as c8, type CancelBookingInput as c9, type RevokeSessionResult as cA, type RevokeAllSessionsResult as cB, type RequestOtpInput as cC, type VerifyOtpInput as cD, type AuthResponse as cE, type PickupTimeType as cF, type PickupTime as cG, type CheckoutAddressInfo as cH, type MobileMoneyDetails as cI, type CheckoutCustomerInfo as cJ, type FxQuoteRequest as cK, type FxQuote as cL, type FxRateResponse as cM, type RequestContext as cN, type RequestStartEvent as cO, type RequestSuccessEvent as cP, type RequestErrorEvent as cQ, type RetryEvent as cR, type SessionChangeEvent as cS, type ObservabilityHooks as cT, type OrderType as cU, type ElementAppearance as cV, type AddressInfo as cW, type PaymentMethodInfo as cX, type AuthenticatedCustomer as cY, type ElementsCustomerInfo as cZ, type AuthenticatedData as c_, type CancelBookingResult as ca, type RescheduleBookingResult as cb, type ServiceAvailabilityParams as cc, type ServiceAvailabilityResult as cd, type StockStatus as ce, type StockLevel as cf, type ProductStock as cg, type VariantStock as ch, type LocationStock as ci, type AvailabilityResult as cj, type Customer as ck, type CustomerAddress as cl, type CustomerMobileMoney as cm, type CustomerLinkPreferences as cn, type LinkData as co, type CreateAddressInput as cp, type UpdateAddressInput as cq, type CreateMobileMoneyInput as cr, type EnrollmentData as cs, type AddressData as ct, type MobileMoneyData as cu, type EnrollAndLinkOrderInput as cv, type LinkStatusResult as cw, type LinkEnrollResult as cx, type EnrollAndLinkOrderResult as cy, type LinkSession as cz, type QuoteBundleSelectionInput as d, type ElementsCheckoutResult as d0, type CheckoutCartItem as d1, type CheckoutCartData as d2, type ParentToIframeMessage as d3, type IframeToParentMessage as d4, type ElementEventHandler as d5, type QuoteStatus as e, type QuoteDynamicBuckets as f, type QuoteUiMessage as g, type RequestSource as h, type RefreshQuoteResult as i, CartOperations as j, type ReorderResult as k, CheckoutService as l, generateIdempotencyKey as m, type GetOrdersOptions as n, type AuthStatus as o, type OtpResult as p, LiteService as q, FxService as r, ActivityService as s, type TrackCategoryViewOptions as t, type SessionMessage as u, type SessionActivityData as v, type ActivityStateResponse as w, type ActivityRecommendation as x, type ActivityRecommendationsResponse as y, DeliveryService as z };
2201
+ export { type ElementEventType as $, AuthService as A, BusinessService as B, CimplifyClient as C, type DismissMessageResponse as D, type DeliveryFeeResponse as E, type FetchQuoteInput as F, type GetProductsOptions as G, type LiteBootstrap as H, InventoryService as I, type TableInfo as J, CimplifyElements as K, LinkService as L, CimplifyElement as M, createElements as N, OrderQueries as O, type PriceQuote as P, type QuoteCompositeSelectionInput as Q, type RefreshQuoteInput as R, SchedulingService as S, type TrackProductViewOptions as T, type UpdateProfileInput as U, MESSAGE_TYPES as V, EVENT_TYPES as W, ELEMENT_TYPES as X, type ElementsOptions as Y, type ElementOptions as Z, type ElementType as _, type CimplifyConfig as a, type FeeBearerType as a$, type CheckoutMode as a0, type CheckoutOrderType as a1, type CheckoutPaymentMethod as a2, type CheckoutStep as a3, type CheckoutFormData as a4, type CheckoutResult as a5, type NextAction as a6, type ProcessCheckoutOptions as a7, type ProcessCheckoutResult as a8, type ProcessAndResolveOptions as a9, type Err as aA, ok as aB, err as aC, isOk as aD, isErr as aE, mapResult as aF, mapError as aG, flatMap as aH, getOrElse as aI, unwrap as aJ, toNullable as aK, fromPromise as aL, tryCatch as aM, combine as aN, combineObject as aO, type CatalogueResult as aP, type CatalogueSnapshot as aQ, type OrderStatus as aR, type PaymentState as aS, type OrderChannel as aT, type LineType as aU, type OrderLineState as aV, type OrderLineStatus as aW, type FulfillmentType as aX, type FulfillmentStatus as aY, type FulfillmentLink as aZ, type OrderFulfillmentSummary as a_, type CheckoutStatus as aa, type CheckoutStatusContext as ab, type AbortablePromise as ac, type MobileMoneyProvider as ad, type DeviceType as ae, type ContactType as af, CHECKOUT_MODE as ag, ORDER_TYPE as ah, PAYMENT_METHOD as ai, CHECKOUT_STEP as aj, PAYMENT_STATE as ak, PICKUP_TIME_TYPE as al, MOBILE_MONEY_PROVIDER as am, AUTHORIZATION_TYPE as an, DEVICE_TYPE as ao, CONTACT_TYPE as ap, LINK_QUERY as aq, LINK_MUTATION as ar, AUTH_MUTATION as as, CHECKOUT_MUTATION as at, PAYMENT_MUTATION as au, ORDER_MUTATION as av, DEFAULT_CURRENCY as aw, DEFAULT_COUNTRY as ax, type Result as ay, type Ok as az, CatalogueQueries as b, type SlotStaffInfo as b$, type AmountToPay as b0, type LineItem as b1, type Order as b2, type OrderHistory as b3, type OrderGroupStatus as b4, type OrderGroupPaymentState as b5, type OrderGroupPaymentStatus as b6, type OrderGroup as b7, type OrderGroupPayment as b8, type OrderSplitDetail as b9, type DeliveryFeeDetails as bA, type RelationType as bB, type RelatedProduct as bC, type RelatedCandidate as bD, type RelatedProductsEnrichment as bE, type BusinessType as bF, type BusinessPreferences as bG, type Business as bH, type LocationTaxBehavior as bI, type LocationTaxOverrides as bJ, type Location as bK, type TimeRange as bL, type TimeRanges as bM, type LocationTimeProfile as bN, type Table as bO, type Room as bP, type ServiceCharge as bQ, type StorefrontBootstrap as bR, type BusinessWithLocations as bS, type LocationWithDetails as bT, type BusinessSettings as bU, type BusinessHours as bV, type CategoryInfo as bW, type Service as bX, type Staff as bY, type TimeSlot as bZ, type SlotResourceInfo as b_, type OrderGroupPaymentSummary as ba, type OrderGroupDetails as bb, type OrderPaymentEvent as bc, type OrderFilter as bd, type CheckoutInput as be, type UpdateOrderStatusInput as bf, type CancelOrderInput as bg, type RefundOrderInput as bh, type ServiceStatus as bi, type StaffRole as bj, type ReminderMethod as bk, type CustomerServicePreferences as bl, type BufferTimes as bm, type ReminderSettings as bn, type CancellationPolicy as bo, type ServiceNotes as bp, type PricingOverrides as bq, type SchedulingMetadata as br, type StaffAssignment as bs, type ResourceAssignment as bt, type SchedulingResult as bu, type DepositResult as bv, type ServiceScheduleRequest as bw, type StaffScheduleItem as bx, type LocationAppointment as by, type ProviderResolutionSource as bz, createCimplifyClient as c, type ElementsCustomerInfo as c$, type AvailableSlot as c0, type DayAvailability as c1, type BookingStatus as c2, type Booking as c3, type BookingWithDetails as c4, type CustomerBookingServiceItem as c5, type CustomerBooking as c6, type GetAvailableSlotsInput as c7, type CheckSlotAvailabilityInput as c8, type CheckSlotAvailabilityResult as c9, type EnrollAndLinkOrderResult as cA, type LinkSession as cB, type RevokeSessionResult as cC, type RevokeAllSessionsResult as cD, type RequestOtpInput as cE, type VerifyOtpInput as cF, type AuthResponse as cG, type PickupTimeType as cH, type PickupTime as cI, type CheckoutAddressInfo as cJ, type MobileMoneyDetails as cK, type CheckoutCustomerInfo as cL, type FxQuoteRequest as cM, type FxQuote as cN, type FxRateResponse as cO, type RequestContext as cP, type RequestStartEvent as cQ, type RequestSuccessEvent as cR, type RequestErrorEvent as cS, type RetryEvent as cT, type SessionChangeEvent as cU, type ObservabilityHooks as cV, type OrderType as cW, type ElementAppearance as cX, type AddressInfo as cY, type PaymentMethodInfo as cZ, type AuthenticatedCustomer as c_, type RescheduleBookingInput as ca, type CancelBookingInput as cb, type CancelBookingResult as cc, type RescheduleBookingResult as cd, type ServiceAvailabilityParams as ce, type ServiceAvailabilityResult as cf, type StockStatus as cg, type StockLevel as ch, type ProductStock as ci, type VariantStock as cj, type LocationStock as ck, type AvailabilityResult as cl, type Customer as cm, type CustomerAddress as cn, type CustomerMobileMoney as co, type CustomerLinkPreferences as cp, type LinkData as cq, type CreateAddressInput as cr, type UpdateAddressInput as cs, type CreateMobileMoneyInput as ct, type EnrollmentData as cu, type AddressData as cv, type MobileMoneyData as cw, type EnrollAndLinkOrderInput as cx, type LinkStatusResult as cy, type LinkEnrollResult as cz, type QuoteBundleSelectionInput as d, type AuthenticatedData as d0, type ElementsCheckoutData as d1, type ElementsCheckoutResult as d2, type CheckoutCartItem as d3, type CheckoutCartData as d4, type ParentToIframeMessage as d5, type IframeToParentMessage as d6, type ElementEventHandler as d7, type QuoteStatus as e, type QuoteDynamicBuckets as f, type QuoteUiMessage as g, type RequestSource as h, type RefreshQuoteResult as i, CartOperations as j, type ReorderResult as k, CheckoutService as l, generateIdempotencyKey as m, type GetOrdersOptions as n, type AuthStatus as o, type OtpResult as p, LiteService as q, FxService as r, ActivityService as s, type TrackCategoryViewOptions as t, type SessionMessage as u, type SessionActivityData as v, type ActivityStateResponse as w, type ActivityRecommendation as x, type ActivityRecommendationsResponse as y, DeliveryService as z };
package/dist/index.d.mts CHANGED
@@ -1,10 +1,10 @@
1
- export { an as AUTHORIZATION_TYPE, as as AUTH_MUTATION, ac as AbortablePromise, x as ActivityRecommendation, y as ActivityRecommendationsResponse, s as ActivityService, w as ActivityStateResponse, ct as AddressData, cW as AddressInfo, b0 as AmountToPay, cE as AuthResponse, A as AuthService, o as AuthStatus, cY as AuthenticatedCustomer, c_ as AuthenticatedData, cj as AvailabilityResult, b_ as AvailableSlot, c1 as Booking, c0 as BookingStatus, c2 as BookingWithDetails, bm as BufferTimes, bH as Business, bV as BusinessHours, bG as BusinessPreferences, B as BusinessService, bU as BusinessSettings, bF as BusinessType, bS as BusinessWithLocations, ag as CHECKOUT_MODE, at as CHECKOUT_MUTATION, aj as CHECKOUT_STEP, ap as CONTACT_TYPE, c9 as CancelBookingInput, ca as CancelBookingResult, bg as CancelOrderInput, bo as CancellationPolicy, j as CartOperations, b as CatalogueQueries, aP as CatalogueResult, aQ as CatalogueSnapshot, bW as CategoryInfo, c6 as CheckSlotAvailabilityInput, c7 as CheckSlotAvailabilityResult, cH as CheckoutAddressInfo, d2 as CheckoutCartData, d1 as CheckoutCartItem, cJ as CheckoutCustomerInfo, a4 as CheckoutFormData, be as CheckoutInput, a0 as CheckoutMode, l as CheckoutOperations, a1 as CheckoutOrderType, a2 as CheckoutPaymentMethod, a5 as CheckoutResult, l as CheckoutService, aa as CheckoutStatus, ab as CheckoutStatusContext, a3 as CheckoutStep, C as CimplifyClient, a as CimplifyConfig, M as CimplifyElement, K as CimplifyElements, af as ContactType, cp as CreateAddressInput, cr as CreateMobileMoneyInput, ck as Customer, cl as CustomerAddress, c4 as CustomerBooking, c3 as CustomerBookingServiceItem, cn as CustomerLinkPreferences, cm as CustomerMobileMoney, bl as CustomerServicePreferences, ax as DEFAULT_COUNTRY, aw as DEFAULT_CURRENCY, ao as DEVICE_TYPE, b$ as DayAvailability, bA as DeliveryFeeDetails, E as DeliveryFeeResponse, z as DeliveryService, bv as DepositResult, ae as DeviceType, D as DismissMessageResponse, X as ELEMENT_TYPES, W as EVENT_TYPES, cV as ElementAppearance, d5 as ElementEventHandler, $ as ElementEventType, Z as ElementOptions, _ as ElementType, c$ as ElementsCheckoutData, d0 as ElementsCheckoutResult, cZ as ElementsCustomerInfo, Y as ElementsOptions, cv as EnrollAndLinkOrderInput, cy as EnrollAndLinkOrderResult, cs as EnrollmentData, aA as Err, a$ as FeeBearerType, F as FetchQuoteInput, aZ as FulfillmentLink, aY as FulfillmentStatus, aX as FulfillmentType, cL as FxQuote, cK as FxQuoteRequest, cM as FxRateResponse, r as FxService, c5 as GetAvailableSlotsInput, n as GetOrdersOptions, G as GetProductsOptions, d4 as IframeToParentMessage, I as InventoryService, ar as LINK_MUTATION, aq as LINK_QUERY, b1 as LineItem, aU as LineType, co as LinkData, cx as LinkEnrollResult, L as LinkService, cz as LinkSession, cw as LinkStatusResult, H as LiteBootstrap, q as LiteService, bK as Location, by as LocationAppointment, ci as LocationStock, bI as LocationTaxBehavior, bJ as LocationTaxOverrides, bN as LocationTimeProfile, bT as LocationWithDetails, V as MESSAGE_TYPES, am as MOBILE_MONEY_PROVIDER, cu as MobileMoneyData, cI as MobileMoneyDetails, ad as MobileMoneyProvider, a6 as NextAction, av as ORDER_MUTATION, ah as ORDER_TYPE, cT as ObservabilityHooks, az as Ok, b2 as Order, aT as OrderChannel, bd as OrderFilter, a_ as OrderFulfillmentSummary, b7 as OrderGroup, bb as OrderGroupDetails, b8 as OrderGroupPayment, b5 as OrderGroupPaymentState, b6 as OrderGroupPaymentStatus, ba as OrderGroupPaymentSummary, b4 as OrderGroupStatus, b3 as OrderHistory, aV as OrderLineState, aW as OrderLineStatus, bc as OrderPaymentEvent, O as OrderQueries, b9 as OrderSplitDetail, aR as OrderStatus, cU as OrderType, p as OtpResult, ai as PAYMENT_METHOD, au as PAYMENT_MUTATION, ak as PAYMENT_STATE, al as PICKUP_TIME_TYPE, d3 as ParentToIframeMessage, cX as PaymentMethodInfo, aS as PaymentState, cG as PickupTime, cF as PickupTimeType, P as PriceQuote, bq as PricingOverrides, a9 as ProcessAndResolveOptions, a7 as ProcessCheckoutOptions, a8 as ProcessCheckoutResult, cg as ProductStock, bz as ProviderResolutionSource, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, i as RefreshQuoteResult, bh as RefundOrderInput, bD as RelatedCandidate, bC as RelatedProduct, bE as RelatedProductsEnrichment, bB as RelationType, bk as ReminderMethod, bn as ReminderSettings, k as ReorderResult, cN as RequestContext, cQ as RequestErrorEvent, cC as RequestOtpInput, h as RequestSource, cO as RequestStartEvent, cP as RequestSuccessEvent, c8 as RescheduleBookingInput, cb as RescheduleBookingResult, bt as ResourceAssignment, ay as Result, cR as RetryEvent, cB as RevokeAllSessionsResult, cA as RevokeSessionResult, bP as Room, br as SchedulingMetadata, bu as SchedulingResult, S as SchedulingService, bX as Service, cc as ServiceAvailabilityParams, cd as ServiceAvailabilityResult, bQ as ServiceCharge, bp as ServiceNotes, bw as ServiceScheduleRequest, bi as ServiceStatus, v as SessionActivityData, cS as SessionChangeEvent, u as SessionMessage, bY as Staff, bs as StaffAssignment, bj as StaffRole, bx as StaffScheduleItem, cf as StockLevel, ce as StockStatus, bR as StorefrontBootstrap, bO as Table, J as TableInfo, bL as TimeRange, bM as TimeRanges, bZ as TimeSlot, t as TrackCategoryViewOptions, T as TrackProductViewOptions, cq as UpdateAddressInput, bf as UpdateOrderStatusInput, U as UpdateProfileInput, ch as VariantStock, cD as VerifyOtpInput, aN as combine, aO as combineObject, c as createCimplifyClient, N as createElements, aC as err, aH as flatMap, aL as fromPromise, m as generateIdempotencyKey, aI as getOrElse, aE as isErr, aD as isOk, aG as mapError, aF as mapResult, aB as ok, aK as toNullable, aM as tryCatch, aJ as unwrap } from './client-B8PO4NKN.mjs';
1
+ export { an as AUTHORIZATION_TYPE, as as AUTH_MUTATION, ac as AbortablePromise, x as ActivityRecommendation, y as ActivityRecommendationsResponse, s as ActivityService, w as ActivityStateResponse, cv as AddressData, cY as AddressInfo, b0 as AmountToPay, cG as AuthResponse, A as AuthService, o as AuthStatus, c_ as AuthenticatedCustomer, d0 as AuthenticatedData, cl as AvailabilityResult, c0 as AvailableSlot, c3 as Booking, c2 as BookingStatus, c4 as BookingWithDetails, bm as BufferTimes, bH as Business, bV as BusinessHours, bG as BusinessPreferences, B as BusinessService, bU as BusinessSettings, bF as BusinessType, bS as BusinessWithLocations, ag as CHECKOUT_MODE, at as CHECKOUT_MUTATION, aj as CHECKOUT_STEP, ap as CONTACT_TYPE, cb as CancelBookingInput, cc as CancelBookingResult, bg as CancelOrderInput, bo as CancellationPolicy, j as CartOperations, b as CatalogueQueries, aP as CatalogueResult, aQ as CatalogueSnapshot, bW as CategoryInfo, c8 as CheckSlotAvailabilityInput, c9 as CheckSlotAvailabilityResult, cJ as CheckoutAddressInfo, d4 as CheckoutCartData, d3 as CheckoutCartItem, cL as CheckoutCustomerInfo, a4 as CheckoutFormData, be as CheckoutInput, a0 as CheckoutMode, l as CheckoutOperations, a1 as CheckoutOrderType, a2 as CheckoutPaymentMethod, a5 as CheckoutResult, l as CheckoutService, aa as CheckoutStatus, ab as CheckoutStatusContext, a3 as CheckoutStep, C as CimplifyClient, a as CimplifyConfig, M as CimplifyElement, K as CimplifyElements, af as ContactType, cr as CreateAddressInput, ct as CreateMobileMoneyInput, cm as Customer, cn as CustomerAddress, c6 as CustomerBooking, c5 as CustomerBookingServiceItem, cp as CustomerLinkPreferences, co as CustomerMobileMoney, bl as CustomerServicePreferences, ax as DEFAULT_COUNTRY, aw as DEFAULT_CURRENCY, ao as DEVICE_TYPE, c1 as DayAvailability, bA as DeliveryFeeDetails, E as DeliveryFeeResponse, z as DeliveryService, bv as DepositResult, ae as DeviceType, D as DismissMessageResponse, X as ELEMENT_TYPES, W as EVENT_TYPES, cX as ElementAppearance, d7 as ElementEventHandler, $ as ElementEventType, Z as ElementOptions, _ as ElementType, d1 as ElementsCheckoutData, d2 as ElementsCheckoutResult, c$ as ElementsCustomerInfo, Y as ElementsOptions, cx as EnrollAndLinkOrderInput, cA as EnrollAndLinkOrderResult, cu as EnrollmentData, aA as Err, a$ as FeeBearerType, F as FetchQuoteInput, aZ as FulfillmentLink, aY as FulfillmentStatus, aX as FulfillmentType, cN as FxQuote, cM as FxQuoteRequest, cO as FxRateResponse, r as FxService, c7 as GetAvailableSlotsInput, n as GetOrdersOptions, G as GetProductsOptions, d6 as IframeToParentMessage, I as InventoryService, ar as LINK_MUTATION, aq as LINK_QUERY, b1 as LineItem, aU as LineType, cq as LinkData, cz as LinkEnrollResult, L as LinkService, cB as LinkSession, cy as LinkStatusResult, H as LiteBootstrap, q as LiteService, bK as Location, by as LocationAppointment, ck as LocationStock, bI as LocationTaxBehavior, bJ as LocationTaxOverrides, bN as LocationTimeProfile, bT as LocationWithDetails, V as MESSAGE_TYPES, am as MOBILE_MONEY_PROVIDER, cw as MobileMoneyData, cK as MobileMoneyDetails, ad as MobileMoneyProvider, a6 as NextAction, av as ORDER_MUTATION, ah as ORDER_TYPE, cV as ObservabilityHooks, az as Ok, b2 as Order, aT as OrderChannel, bd as OrderFilter, a_ as OrderFulfillmentSummary, b7 as OrderGroup, bb as OrderGroupDetails, b8 as OrderGroupPayment, b5 as OrderGroupPaymentState, b6 as OrderGroupPaymentStatus, ba as OrderGroupPaymentSummary, b4 as OrderGroupStatus, b3 as OrderHistory, aV as OrderLineState, aW as OrderLineStatus, bc as OrderPaymentEvent, O as OrderQueries, b9 as OrderSplitDetail, aR as OrderStatus, cW as OrderType, p as OtpResult, ai as PAYMENT_METHOD, au as PAYMENT_MUTATION, ak as PAYMENT_STATE, al as PICKUP_TIME_TYPE, d5 as ParentToIframeMessage, cZ as PaymentMethodInfo, aS as PaymentState, cI as PickupTime, cH as PickupTimeType, P as PriceQuote, bq as PricingOverrides, a9 as ProcessAndResolveOptions, a7 as ProcessCheckoutOptions, a8 as ProcessCheckoutResult, ci as ProductStock, bz as ProviderResolutionSource, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, i as RefreshQuoteResult, bh as RefundOrderInput, bD as RelatedCandidate, bC as RelatedProduct, bE as RelatedProductsEnrichment, bB as RelationType, bk as ReminderMethod, bn as ReminderSettings, k as ReorderResult, cP as RequestContext, cS as RequestErrorEvent, cE as RequestOtpInput, h as RequestSource, cQ as RequestStartEvent, cR as RequestSuccessEvent, ca as RescheduleBookingInput, cd as RescheduleBookingResult, bt as ResourceAssignment, ay as Result, cT as RetryEvent, cD as RevokeAllSessionsResult, cC as RevokeSessionResult, bP as Room, br as SchedulingMetadata, bu as SchedulingResult, S as SchedulingService, bX as Service, ce as ServiceAvailabilityParams, cf as ServiceAvailabilityResult, bQ as ServiceCharge, bp as ServiceNotes, bw as ServiceScheduleRequest, bi as ServiceStatus, v as SessionActivityData, cU as SessionChangeEvent, u as SessionMessage, b_ as SlotResourceInfo, b$ as SlotStaffInfo, bY as Staff, bs as StaffAssignment, bj as StaffRole, bx as StaffScheduleItem, ch as StockLevel, cg as StockStatus, bR as StorefrontBootstrap, bO as Table, J as TableInfo, bL as TimeRange, bM as TimeRanges, bZ as TimeSlot, t as TrackCategoryViewOptions, T as TrackProductViewOptions, cs as UpdateAddressInput, bf as UpdateOrderStatusInput, U as UpdateProfileInput, cj as VariantStock, cF as VerifyOtpInput, aN as combine, aO as combineObject, c as createCimplifyClient, N as createElements, aC as err, aH as flatMap, aL as fromPromise, m as generateIdempotencyKey, aI as getOrElse, aE as isErr, aD as isOk, aG as mapError, aF as mapResult, aB as ok, aK as toNullable, aM as tryCatch, aJ as unwrap } from './client-v1NFqZFG.mjs';
2
2
  export { QueryBuilder, query } from './advanced.mjs';
3
- import { A as ApiError } from './payment-CKqMU4xT.mjs';
4
- export { a0 as AddOn, aZ as AddOnDetails, bk as AddOnGroupDetails, a2 as AddOnOption, bj as AddOnOptionDetails, a3 as AddOnOptionPrice, a1 as AddOnWithOptions, bp as AddToCartInput, bv as AddressAuthorizationData, aP as AdjustmentType, aV as AppliedDiscount, u as AttributeAppliesTo, t as AttributeType, x as AttributeValidationRules, v as AttributeVisibility, bw as AuthorizationType, aU as BenefitType, bF as BillingFrequency, bH as BillingMarkupType, bG as BillingPlanType, ab as Bundle, af as BundleComponentData, ag as BundleComponentInfo, ai as BundleComponentVariantView, ah as BundleComponentView, aa as BundlePriceType, ad as BundleProduct, b3 as BundleSelectionData, b0 as BundleSelectionInput, b2 as BundleStoredSelection, ac as BundleSummary, ae as BundleWithDetails, b8 as Cart, a_ as CartAddOn, aN as CartChannel, b9 as CartItem, bm as CartItemDetails, aM as CartStatus, br as CartSummary, ba as CartTotals, a5 as Category, a6 as CategorySummary, C as ChosenPrice, h as CimplifyError, a7 as Collection, a9 as CollectionProduct, a8 as CollectionSummary, aq as ComponentGroup, ar as ComponentGroupWithComponents, ax as ComponentPriceBreakdown, b1 as ComponentSchedulingData, av as ComponentSelectionInput, an as ComponentSourceType, ao as Composite, au as CompositeComponent, at as CompositeComponentView, as as CompositeGroupView, b5 as CompositePriceBreakdown, aw as CompositePriceResult, al as CompositePricingMode, b6 as CompositeSelectionData, av as CompositeSelectionInput, b4 as CompositeStoredSelection, ap as CompositeWithDetails, a as CurrencyCode, y as CustomAttributeDefinition, z as CustomAttributeValue, aH as Deal, aG as DealBenefitType, r as DepositType, q as DigitalProductType, aW as DiscountBreakdown, aX as DiscountDetails, aJ as DiscountValidation, bd as DisplayAddOn, be as DisplayAddOnOption, bb as DisplayCart, bc as DisplayCartItem, D as DisplayMode, s as DurationUnit, g as ERROR_HINTS, bJ as EligiblePlansQuery, E as ErrorCode, e as ErrorCodeType, f as ErrorHint, H as FacetValue, bK as FormattedPlanOption, am as GroupPricingBehavior, bA as InitializePaymentResult, I as InventoryType, K as KnowledgeArticle, b7 as LineConfiguration, aA as LocationProductPrice, w as MeasurementValue, M as Money, d as Pagination, P as PaginationParams, bz as Payment, bD as PaymentErrorDetails, by as PaymentMethod, bu as PaymentMethodType, bx as PaymentProcessingState, bt as PaymentProvider, bB as PaymentResponse, bs as PaymentStatus, bC as PaymentStatusResponse, az as Price, aQ as PriceAdjustment, aT as PriceDecisionPath, ay as PriceEntryType, aS as PricePathTaxInfo, aO as PriceSource, J as Product, a4 as ProductAddOn, aB as ProductAvailability, aF as ProductAvailabilityNow, bI as ProductBillingPlan, aI as ProductDealInfo, F as ProductProperty, p as ProductRenderHint, aD as ProductTaxonomy, aC as ProductTimeProfile, o as ProductType, O as ProductVariant, Y as ProductVariantValue, L as ProductWithDetails, G as PropertyFacet, B as PropertySource, R as RelatedProductView, S as SalesChannel, aY as SelectedAddOnOption, bE as SubmitAuthorizationInput, aK as Tag, aL as TagsResponse, aR as TaxPathComponent, T as TaxonomyAttributeTemplate, aE as TaxonomyWithChildren, bn as UICart, bf as UICartBusiness, bh as UICartCustomer, bg as UICartLocation, bi as UICartPricing, bo as UICartResponse, bq as UpdateCartItemInput, U as VariantAxis, $ as VariantAxisSelection, X as VariantAxisValue, ak as VariantAxisValueView, aj as VariantAxisView, W as VariantAxisWithValues, a$ as VariantDetails, bl as VariantDetailsDTO, Q as VariantDisplayAttribute, _ as VariantLocationAvailability, V as VariantStrategy, N as VariantView, Z as ZERO, c as currencyCode, l as enrichError, k as getErrorHint, j as isCimplifyError, n as isRetryableError, i as isSupportedCurrency, m as money, b as moneyFromNumber } from './payment-CKqMU4xT.mjs';
3
+ import { A as ApiError } from './payment-DazihbCY.mjs';
4
+ export { a0 as AddOn, aZ as AddOnDetails, bk as AddOnGroupDetails, a2 as AddOnOption, bj as AddOnOptionDetails, a3 as AddOnOptionPrice, a1 as AddOnWithOptions, bp as AddToCartInput, bv as AddressAuthorizationData, aP as AdjustmentType, aV as AppliedDiscount, u as AttributeAppliesTo, t as AttributeType, x as AttributeValidationRules, v as AttributeVisibility, bw as AuthorizationType, aU as BenefitType, bF as BillingFrequency, bH as BillingMarkupType, bG as BillingPlanType, ab as Bundle, af as BundleComponentData, ag as BundleComponentInfo, ai as BundleComponentVariantView, ah as BundleComponentView, aa as BundlePriceType, ad as BundleProduct, b3 as BundleSelectionData, b0 as BundleSelectionInput, b2 as BundleStoredSelection, ac as BundleSummary, ae as BundleWithDetails, b8 as Cart, a_ as CartAddOn, aN as CartChannel, b9 as CartItem, bm as CartItemDetails, aM as CartStatus, br as CartSummary, ba as CartTotals, a5 as Category, a6 as CategorySummary, C as ChosenPrice, h as CimplifyError, a7 as Collection, a9 as CollectionProduct, a8 as CollectionSummary, aq as ComponentGroup, ar as ComponentGroupWithComponents, ax as ComponentPriceBreakdown, b1 as ComponentSchedulingData, av as ComponentSelectionInput, an as ComponentSourceType, ao as Composite, au as CompositeComponent, at as CompositeComponentView, as as CompositeGroupView, b5 as CompositePriceBreakdown, aw as CompositePriceResult, al as CompositePricingMode, b6 as CompositeSelectionData, av as CompositeSelectionInput, b4 as CompositeStoredSelection, ap as CompositeWithDetails, a as CurrencyCode, y as CustomAttributeDefinition, z as CustomAttributeValue, aH as Deal, aG as DealBenefitType, r as DepositType, q as DigitalProductType, aW as DiscountBreakdown, aX as DiscountDetails, aJ as DiscountValidation, bd as DisplayAddOn, be as DisplayAddOnOption, bb as DisplayCart, bc as DisplayCartItem, D as DisplayMode, s as DurationUnit, g as ERROR_HINTS, bJ as EligiblePlansQuery, E as ErrorCode, e as ErrorCodeType, f as ErrorHint, H as FacetValue, bK as FormattedPlanOption, am as GroupPricingBehavior, bA as InitializePaymentResult, I as InventoryType, K as KnowledgeArticle, b7 as LineConfiguration, aA as LocationProductPrice, w as MeasurementValue, M as Money, d as Pagination, P as PaginationParams, bz as Payment, bD as PaymentErrorDetails, by as PaymentMethod, bu as PaymentMethodType, bx as PaymentProcessingState, bt as PaymentProvider, bB as PaymentResponse, bs as PaymentStatus, bC as PaymentStatusResponse, az as Price, aQ as PriceAdjustment, aT as PriceDecisionPath, ay as PriceEntryType, aS as PricePathTaxInfo, aO as PriceSource, J as Product, a4 as ProductAddOn, aB as ProductAvailability, aF as ProductAvailabilityNow, bI as ProductBillingPlan, aI as ProductDealInfo, F as ProductProperty, p as ProductRenderHint, aD as ProductTaxonomy, aC as ProductTimeProfile, o as ProductType, O as ProductVariant, Y as ProductVariantValue, L as ProductWithDetails, G as PropertyFacet, B as PropertySource, R as RelatedProductView, S as SalesChannel, aY as SelectedAddOnOption, bE as SubmitAuthorizationInput, aK as Tag, aL as TagsResponse, aR as TaxPathComponent, T as TaxonomyAttributeTemplate, aE as TaxonomyWithChildren, bn as UICart, bf as UICartBusiness, bh as UICartCustomer, bg as UICartLocation, bi as UICartPricing, bo as UICartResponse, bq as UpdateCartItemInput, U as VariantAxis, $ as VariantAxisSelection, X as VariantAxisValue, ak as VariantAxisValueView, aj as VariantAxisView, W as VariantAxisWithValues, a$ as VariantDetails, bl as VariantDetailsDTO, Q as VariantDisplayAttribute, _ as VariantLocationAvailability, V as VariantStrategy, N as VariantView, Z as ZERO, c as currencyCode, l as enrichError, k as getErrorHint, j as isCimplifyError, n as isRetryableError, i as isSupportedCurrency, m as money, b as moneyFromNumber } from './payment-DazihbCY.mjs';
5
5
  export { CURRENCY_SYMBOLS, MOBILE_MONEY_PROVIDERS, categorizePaymentError, detectMobileMoneyProvider, formatMoney, formatNumberCompact, formatPrice, formatPriceAdjustment, formatPriceCompact, formatPriceWithTax, formatProductPrice, getBasePrice, getCurrencySymbol, getDiscountPercentage, getDisplayPrice, getMarkupPercentage, getProductCurrency, getTaxAmount, hasTaxInfo, isOnSale, isPaymentStatusFailure, isPaymentStatusRequiresAction, isPaymentStatusSuccess, isTaxInclusive, isValidPhoneForContext, normalizePaymentResponse, normalizePhoneToE164, normalizeStatusResponse, parsePrice, resolvePhoneCountryCode } from './utils.mjs';
6
6
  export { c as AdConfig, e as AdContextValue, d as AdCreative, a as AdPosition, A as AdSlot, b as AdTheme, g as getVariantDisplayName } from './ads-BxbWrwqp.mjs';
7
- export { a as FormatCompactOptions, F as FormatPriceOptions, P as ProductWithPrice } from './price-BqV_DjjQ.mjs';
7
+ export { a as FormatCompactOptions, F as FormatPriceOptions, P as ProductWithPrice } from './price-BcHVTqqu.mjs';
8
8
  import 'libphonenumber-js';
9
9
 
10
10
  interface CustomerGroup {
package/dist/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- export { an as AUTHORIZATION_TYPE, as as AUTH_MUTATION, ac as AbortablePromise, x as ActivityRecommendation, y as ActivityRecommendationsResponse, s as ActivityService, w as ActivityStateResponse, ct as AddressData, cW as AddressInfo, b0 as AmountToPay, cE as AuthResponse, A as AuthService, o as AuthStatus, cY as AuthenticatedCustomer, c_ as AuthenticatedData, cj as AvailabilityResult, b_ as AvailableSlot, c1 as Booking, c0 as BookingStatus, c2 as BookingWithDetails, bm as BufferTimes, bH as Business, bV as BusinessHours, bG as BusinessPreferences, B as BusinessService, bU as BusinessSettings, bF as BusinessType, bS as BusinessWithLocations, ag as CHECKOUT_MODE, at as CHECKOUT_MUTATION, aj as CHECKOUT_STEP, ap as CONTACT_TYPE, c9 as CancelBookingInput, ca as CancelBookingResult, bg as CancelOrderInput, bo as CancellationPolicy, j as CartOperations, b as CatalogueQueries, aP as CatalogueResult, aQ as CatalogueSnapshot, bW as CategoryInfo, c6 as CheckSlotAvailabilityInput, c7 as CheckSlotAvailabilityResult, cH as CheckoutAddressInfo, d2 as CheckoutCartData, d1 as CheckoutCartItem, cJ as CheckoutCustomerInfo, a4 as CheckoutFormData, be as CheckoutInput, a0 as CheckoutMode, l as CheckoutOperations, a1 as CheckoutOrderType, a2 as CheckoutPaymentMethod, a5 as CheckoutResult, l as CheckoutService, aa as CheckoutStatus, ab as CheckoutStatusContext, a3 as CheckoutStep, C as CimplifyClient, a as CimplifyConfig, M as CimplifyElement, K as CimplifyElements, af as ContactType, cp as CreateAddressInput, cr as CreateMobileMoneyInput, ck as Customer, cl as CustomerAddress, c4 as CustomerBooking, c3 as CustomerBookingServiceItem, cn as CustomerLinkPreferences, cm as CustomerMobileMoney, bl as CustomerServicePreferences, ax as DEFAULT_COUNTRY, aw as DEFAULT_CURRENCY, ao as DEVICE_TYPE, b$ as DayAvailability, bA as DeliveryFeeDetails, E as DeliveryFeeResponse, z as DeliveryService, bv as DepositResult, ae as DeviceType, D as DismissMessageResponse, X as ELEMENT_TYPES, W as EVENT_TYPES, cV as ElementAppearance, d5 as ElementEventHandler, $ as ElementEventType, Z as ElementOptions, _ as ElementType, c$ as ElementsCheckoutData, d0 as ElementsCheckoutResult, cZ as ElementsCustomerInfo, Y as ElementsOptions, cv as EnrollAndLinkOrderInput, cy as EnrollAndLinkOrderResult, cs as EnrollmentData, aA as Err, a$ as FeeBearerType, F as FetchQuoteInput, aZ as FulfillmentLink, aY as FulfillmentStatus, aX as FulfillmentType, cL as FxQuote, cK as FxQuoteRequest, cM as FxRateResponse, r as FxService, c5 as GetAvailableSlotsInput, n as GetOrdersOptions, G as GetProductsOptions, d4 as IframeToParentMessage, I as InventoryService, ar as LINK_MUTATION, aq as LINK_QUERY, b1 as LineItem, aU as LineType, co as LinkData, cx as LinkEnrollResult, L as LinkService, cz as LinkSession, cw as LinkStatusResult, H as LiteBootstrap, q as LiteService, bK as Location, by as LocationAppointment, ci as LocationStock, bI as LocationTaxBehavior, bJ as LocationTaxOverrides, bN as LocationTimeProfile, bT as LocationWithDetails, V as MESSAGE_TYPES, am as MOBILE_MONEY_PROVIDER, cu as MobileMoneyData, cI as MobileMoneyDetails, ad as MobileMoneyProvider, a6 as NextAction, av as ORDER_MUTATION, ah as ORDER_TYPE, cT as ObservabilityHooks, az as Ok, b2 as Order, aT as OrderChannel, bd as OrderFilter, a_ as OrderFulfillmentSummary, b7 as OrderGroup, bb as OrderGroupDetails, b8 as OrderGroupPayment, b5 as OrderGroupPaymentState, b6 as OrderGroupPaymentStatus, ba as OrderGroupPaymentSummary, b4 as OrderGroupStatus, b3 as OrderHistory, aV as OrderLineState, aW as OrderLineStatus, bc as OrderPaymentEvent, O as OrderQueries, b9 as OrderSplitDetail, aR as OrderStatus, cU as OrderType, p as OtpResult, ai as PAYMENT_METHOD, au as PAYMENT_MUTATION, ak as PAYMENT_STATE, al as PICKUP_TIME_TYPE, d3 as ParentToIframeMessage, cX as PaymentMethodInfo, aS as PaymentState, cG as PickupTime, cF as PickupTimeType, P as PriceQuote, bq as PricingOverrides, a9 as ProcessAndResolveOptions, a7 as ProcessCheckoutOptions, a8 as ProcessCheckoutResult, cg as ProductStock, bz as ProviderResolutionSource, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, i as RefreshQuoteResult, bh as RefundOrderInput, bD as RelatedCandidate, bC as RelatedProduct, bE as RelatedProductsEnrichment, bB as RelationType, bk as ReminderMethod, bn as ReminderSettings, k as ReorderResult, cN as RequestContext, cQ as RequestErrorEvent, cC as RequestOtpInput, h as RequestSource, cO as RequestStartEvent, cP as RequestSuccessEvent, c8 as RescheduleBookingInput, cb as RescheduleBookingResult, bt as ResourceAssignment, ay as Result, cR as RetryEvent, cB as RevokeAllSessionsResult, cA as RevokeSessionResult, bP as Room, br as SchedulingMetadata, bu as SchedulingResult, S as SchedulingService, bX as Service, cc as ServiceAvailabilityParams, cd as ServiceAvailabilityResult, bQ as ServiceCharge, bp as ServiceNotes, bw as ServiceScheduleRequest, bi as ServiceStatus, v as SessionActivityData, cS as SessionChangeEvent, u as SessionMessage, bY as Staff, bs as StaffAssignment, bj as StaffRole, bx as StaffScheduleItem, cf as StockLevel, ce as StockStatus, bR as StorefrontBootstrap, bO as Table, J as TableInfo, bL as TimeRange, bM as TimeRanges, bZ as TimeSlot, t as TrackCategoryViewOptions, T as TrackProductViewOptions, cq as UpdateAddressInput, bf as UpdateOrderStatusInput, U as UpdateProfileInput, ch as VariantStock, cD as VerifyOtpInput, aN as combine, aO as combineObject, c as createCimplifyClient, N as createElements, aC as err, aH as flatMap, aL as fromPromise, m as generateIdempotencyKey, aI as getOrElse, aE as isErr, aD as isOk, aG as mapError, aF as mapResult, aB as ok, aK as toNullable, aM as tryCatch, aJ as unwrap } from './client-DjrlvxW7.js';
1
+ export { an as AUTHORIZATION_TYPE, as as AUTH_MUTATION, ac as AbortablePromise, x as ActivityRecommendation, y as ActivityRecommendationsResponse, s as ActivityService, w as ActivityStateResponse, cv as AddressData, cY as AddressInfo, b0 as AmountToPay, cG as AuthResponse, A as AuthService, o as AuthStatus, c_ as AuthenticatedCustomer, d0 as AuthenticatedData, cl as AvailabilityResult, c0 as AvailableSlot, c3 as Booking, c2 as BookingStatus, c4 as BookingWithDetails, bm as BufferTimes, bH as Business, bV as BusinessHours, bG as BusinessPreferences, B as BusinessService, bU as BusinessSettings, bF as BusinessType, bS as BusinessWithLocations, ag as CHECKOUT_MODE, at as CHECKOUT_MUTATION, aj as CHECKOUT_STEP, ap as CONTACT_TYPE, cb as CancelBookingInput, cc as CancelBookingResult, bg as CancelOrderInput, bo as CancellationPolicy, j as CartOperations, b as CatalogueQueries, aP as CatalogueResult, aQ as CatalogueSnapshot, bW as CategoryInfo, c8 as CheckSlotAvailabilityInput, c9 as CheckSlotAvailabilityResult, cJ as CheckoutAddressInfo, d4 as CheckoutCartData, d3 as CheckoutCartItem, cL as CheckoutCustomerInfo, a4 as CheckoutFormData, be as CheckoutInput, a0 as CheckoutMode, l as CheckoutOperations, a1 as CheckoutOrderType, a2 as CheckoutPaymentMethod, a5 as CheckoutResult, l as CheckoutService, aa as CheckoutStatus, ab as CheckoutStatusContext, a3 as CheckoutStep, C as CimplifyClient, a as CimplifyConfig, M as CimplifyElement, K as CimplifyElements, af as ContactType, cr as CreateAddressInput, ct as CreateMobileMoneyInput, cm as Customer, cn as CustomerAddress, c6 as CustomerBooking, c5 as CustomerBookingServiceItem, cp as CustomerLinkPreferences, co as CustomerMobileMoney, bl as CustomerServicePreferences, ax as DEFAULT_COUNTRY, aw as DEFAULT_CURRENCY, ao as DEVICE_TYPE, c1 as DayAvailability, bA as DeliveryFeeDetails, E as DeliveryFeeResponse, z as DeliveryService, bv as DepositResult, ae as DeviceType, D as DismissMessageResponse, X as ELEMENT_TYPES, W as EVENT_TYPES, cX as ElementAppearance, d7 as ElementEventHandler, $ as ElementEventType, Z as ElementOptions, _ as ElementType, d1 as ElementsCheckoutData, d2 as ElementsCheckoutResult, c$ as ElementsCustomerInfo, Y as ElementsOptions, cx as EnrollAndLinkOrderInput, cA as EnrollAndLinkOrderResult, cu as EnrollmentData, aA as Err, a$ as FeeBearerType, F as FetchQuoteInput, aZ as FulfillmentLink, aY as FulfillmentStatus, aX as FulfillmentType, cN as FxQuote, cM as FxQuoteRequest, cO as FxRateResponse, r as FxService, c7 as GetAvailableSlotsInput, n as GetOrdersOptions, G as GetProductsOptions, d6 as IframeToParentMessage, I as InventoryService, ar as LINK_MUTATION, aq as LINK_QUERY, b1 as LineItem, aU as LineType, cq as LinkData, cz as LinkEnrollResult, L as LinkService, cB as LinkSession, cy as LinkStatusResult, H as LiteBootstrap, q as LiteService, bK as Location, by as LocationAppointment, ck as LocationStock, bI as LocationTaxBehavior, bJ as LocationTaxOverrides, bN as LocationTimeProfile, bT as LocationWithDetails, V as MESSAGE_TYPES, am as MOBILE_MONEY_PROVIDER, cw as MobileMoneyData, cK as MobileMoneyDetails, ad as MobileMoneyProvider, a6 as NextAction, av as ORDER_MUTATION, ah as ORDER_TYPE, cV as ObservabilityHooks, az as Ok, b2 as Order, aT as OrderChannel, bd as OrderFilter, a_ as OrderFulfillmentSummary, b7 as OrderGroup, bb as OrderGroupDetails, b8 as OrderGroupPayment, b5 as OrderGroupPaymentState, b6 as OrderGroupPaymentStatus, ba as OrderGroupPaymentSummary, b4 as OrderGroupStatus, b3 as OrderHistory, aV as OrderLineState, aW as OrderLineStatus, bc as OrderPaymentEvent, O as OrderQueries, b9 as OrderSplitDetail, aR as OrderStatus, cW as OrderType, p as OtpResult, ai as PAYMENT_METHOD, au as PAYMENT_MUTATION, ak as PAYMENT_STATE, al as PICKUP_TIME_TYPE, d5 as ParentToIframeMessage, cZ as PaymentMethodInfo, aS as PaymentState, cI as PickupTime, cH as PickupTimeType, P as PriceQuote, bq as PricingOverrides, a9 as ProcessAndResolveOptions, a7 as ProcessCheckoutOptions, a8 as ProcessCheckoutResult, ci as ProductStock, bz as ProviderResolutionSource, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, i as RefreshQuoteResult, bh as RefundOrderInput, bD as RelatedCandidate, bC as RelatedProduct, bE as RelatedProductsEnrichment, bB as RelationType, bk as ReminderMethod, bn as ReminderSettings, k as ReorderResult, cP as RequestContext, cS as RequestErrorEvent, cE as RequestOtpInput, h as RequestSource, cQ as RequestStartEvent, cR as RequestSuccessEvent, ca as RescheduleBookingInput, cd as RescheduleBookingResult, bt as ResourceAssignment, ay as Result, cT as RetryEvent, cD as RevokeAllSessionsResult, cC as RevokeSessionResult, bP as Room, br as SchedulingMetadata, bu as SchedulingResult, S as SchedulingService, bX as Service, ce as ServiceAvailabilityParams, cf as ServiceAvailabilityResult, bQ as ServiceCharge, bp as ServiceNotes, bw as ServiceScheduleRequest, bi as ServiceStatus, v as SessionActivityData, cU as SessionChangeEvent, u as SessionMessage, b_ as SlotResourceInfo, b$ as SlotStaffInfo, bY as Staff, bs as StaffAssignment, bj as StaffRole, bx as StaffScheduleItem, ch as StockLevel, cg as StockStatus, bR as StorefrontBootstrap, bO as Table, J as TableInfo, bL as TimeRange, bM as TimeRanges, bZ as TimeSlot, t as TrackCategoryViewOptions, T as TrackProductViewOptions, cs as UpdateAddressInput, bf as UpdateOrderStatusInput, U as UpdateProfileInput, cj as VariantStock, cF as VerifyOtpInput, aN as combine, aO as combineObject, c as createCimplifyClient, N as createElements, aC as err, aH as flatMap, aL as fromPromise, m as generateIdempotencyKey, aI as getOrElse, aE as isErr, aD as isOk, aG as mapError, aF as mapResult, aB as ok, aK as toNullable, aM as tryCatch, aJ as unwrap } from './client-uvCOGdBp.js';
2
2
  export { QueryBuilder, query } from './advanced.js';
3
- import { A as ApiError } from './payment-CKqMU4xT.js';
4
- export { a0 as AddOn, aZ as AddOnDetails, bk as AddOnGroupDetails, a2 as AddOnOption, bj as AddOnOptionDetails, a3 as AddOnOptionPrice, a1 as AddOnWithOptions, bp as AddToCartInput, bv as AddressAuthorizationData, aP as AdjustmentType, aV as AppliedDiscount, u as AttributeAppliesTo, t as AttributeType, x as AttributeValidationRules, v as AttributeVisibility, bw as AuthorizationType, aU as BenefitType, bF as BillingFrequency, bH as BillingMarkupType, bG as BillingPlanType, ab as Bundle, af as BundleComponentData, ag as BundleComponentInfo, ai as BundleComponentVariantView, ah as BundleComponentView, aa as BundlePriceType, ad as BundleProduct, b3 as BundleSelectionData, b0 as BundleSelectionInput, b2 as BundleStoredSelection, ac as BundleSummary, ae as BundleWithDetails, b8 as Cart, a_ as CartAddOn, aN as CartChannel, b9 as CartItem, bm as CartItemDetails, aM as CartStatus, br as CartSummary, ba as CartTotals, a5 as Category, a6 as CategorySummary, C as ChosenPrice, h as CimplifyError, a7 as Collection, a9 as CollectionProduct, a8 as CollectionSummary, aq as ComponentGroup, ar as ComponentGroupWithComponents, ax as ComponentPriceBreakdown, b1 as ComponentSchedulingData, av as ComponentSelectionInput, an as ComponentSourceType, ao as Composite, au as CompositeComponent, at as CompositeComponentView, as as CompositeGroupView, b5 as CompositePriceBreakdown, aw as CompositePriceResult, al as CompositePricingMode, b6 as CompositeSelectionData, av as CompositeSelectionInput, b4 as CompositeStoredSelection, ap as CompositeWithDetails, a as CurrencyCode, y as CustomAttributeDefinition, z as CustomAttributeValue, aH as Deal, aG as DealBenefitType, r as DepositType, q as DigitalProductType, aW as DiscountBreakdown, aX as DiscountDetails, aJ as DiscountValidation, bd as DisplayAddOn, be as DisplayAddOnOption, bb as DisplayCart, bc as DisplayCartItem, D as DisplayMode, s as DurationUnit, g as ERROR_HINTS, bJ as EligiblePlansQuery, E as ErrorCode, e as ErrorCodeType, f as ErrorHint, H as FacetValue, bK as FormattedPlanOption, am as GroupPricingBehavior, bA as InitializePaymentResult, I as InventoryType, K as KnowledgeArticle, b7 as LineConfiguration, aA as LocationProductPrice, w as MeasurementValue, M as Money, d as Pagination, P as PaginationParams, bz as Payment, bD as PaymentErrorDetails, by as PaymentMethod, bu as PaymentMethodType, bx as PaymentProcessingState, bt as PaymentProvider, bB as PaymentResponse, bs as PaymentStatus, bC as PaymentStatusResponse, az as Price, aQ as PriceAdjustment, aT as PriceDecisionPath, ay as PriceEntryType, aS as PricePathTaxInfo, aO as PriceSource, J as Product, a4 as ProductAddOn, aB as ProductAvailability, aF as ProductAvailabilityNow, bI as ProductBillingPlan, aI as ProductDealInfo, F as ProductProperty, p as ProductRenderHint, aD as ProductTaxonomy, aC as ProductTimeProfile, o as ProductType, O as ProductVariant, Y as ProductVariantValue, L as ProductWithDetails, G as PropertyFacet, B as PropertySource, R as RelatedProductView, S as SalesChannel, aY as SelectedAddOnOption, bE as SubmitAuthorizationInput, aK as Tag, aL as TagsResponse, aR as TaxPathComponent, T as TaxonomyAttributeTemplate, aE as TaxonomyWithChildren, bn as UICart, bf as UICartBusiness, bh as UICartCustomer, bg as UICartLocation, bi as UICartPricing, bo as UICartResponse, bq as UpdateCartItemInput, U as VariantAxis, $ as VariantAxisSelection, X as VariantAxisValue, ak as VariantAxisValueView, aj as VariantAxisView, W as VariantAxisWithValues, a$ as VariantDetails, bl as VariantDetailsDTO, Q as VariantDisplayAttribute, _ as VariantLocationAvailability, V as VariantStrategy, N as VariantView, Z as ZERO, c as currencyCode, l as enrichError, k as getErrorHint, j as isCimplifyError, n as isRetryableError, i as isSupportedCurrency, m as money, b as moneyFromNumber } from './payment-CKqMU4xT.js';
3
+ import { A as ApiError } from './payment-DazihbCY.js';
4
+ export { a0 as AddOn, aZ as AddOnDetails, bk as AddOnGroupDetails, a2 as AddOnOption, bj as AddOnOptionDetails, a3 as AddOnOptionPrice, a1 as AddOnWithOptions, bp as AddToCartInput, bv as AddressAuthorizationData, aP as AdjustmentType, aV as AppliedDiscount, u as AttributeAppliesTo, t as AttributeType, x as AttributeValidationRules, v as AttributeVisibility, bw as AuthorizationType, aU as BenefitType, bF as BillingFrequency, bH as BillingMarkupType, bG as BillingPlanType, ab as Bundle, af as BundleComponentData, ag as BundleComponentInfo, ai as BundleComponentVariantView, ah as BundleComponentView, aa as BundlePriceType, ad as BundleProduct, b3 as BundleSelectionData, b0 as BundleSelectionInput, b2 as BundleStoredSelection, ac as BundleSummary, ae as BundleWithDetails, b8 as Cart, a_ as CartAddOn, aN as CartChannel, b9 as CartItem, bm as CartItemDetails, aM as CartStatus, br as CartSummary, ba as CartTotals, a5 as Category, a6 as CategorySummary, C as ChosenPrice, h as CimplifyError, a7 as Collection, a9 as CollectionProduct, a8 as CollectionSummary, aq as ComponentGroup, ar as ComponentGroupWithComponents, ax as ComponentPriceBreakdown, b1 as ComponentSchedulingData, av as ComponentSelectionInput, an as ComponentSourceType, ao as Composite, au as CompositeComponent, at as CompositeComponentView, as as CompositeGroupView, b5 as CompositePriceBreakdown, aw as CompositePriceResult, al as CompositePricingMode, b6 as CompositeSelectionData, av as CompositeSelectionInput, b4 as CompositeStoredSelection, ap as CompositeWithDetails, a as CurrencyCode, y as CustomAttributeDefinition, z as CustomAttributeValue, aH as Deal, aG as DealBenefitType, r as DepositType, q as DigitalProductType, aW as DiscountBreakdown, aX as DiscountDetails, aJ as DiscountValidation, bd as DisplayAddOn, be as DisplayAddOnOption, bb as DisplayCart, bc as DisplayCartItem, D as DisplayMode, s as DurationUnit, g as ERROR_HINTS, bJ as EligiblePlansQuery, E as ErrorCode, e as ErrorCodeType, f as ErrorHint, H as FacetValue, bK as FormattedPlanOption, am as GroupPricingBehavior, bA as InitializePaymentResult, I as InventoryType, K as KnowledgeArticle, b7 as LineConfiguration, aA as LocationProductPrice, w as MeasurementValue, M as Money, d as Pagination, P as PaginationParams, bz as Payment, bD as PaymentErrorDetails, by as PaymentMethod, bu as PaymentMethodType, bx as PaymentProcessingState, bt as PaymentProvider, bB as PaymentResponse, bs as PaymentStatus, bC as PaymentStatusResponse, az as Price, aQ as PriceAdjustment, aT as PriceDecisionPath, ay as PriceEntryType, aS as PricePathTaxInfo, aO as PriceSource, J as Product, a4 as ProductAddOn, aB as ProductAvailability, aF as ProductAvailabilityNow, bI as ProductBillingPlan, aI as ProductDealInfo, F as ProductProperty, p as ProductRenderHint, aD as ProductTaxonomy, aC as ProductTimeProfile, o as ProductType, O as ProductVariant, Y as ProductVariantValue, L as ProductWithDetails, G as PropertyFacet, B as PropertySource, R as RelatedProductView, S as SalesChannel, aY as SelectedAddOnOption, bE as SubmitAuthorizationInput, aK as Tag, aL as TagsResponse, aR as TaxPathComponent, T as TaxonomyAttributeTemplate, aE as TaxonomyWithChildren, bn as UICart, bf as UICartBusiness, bh as UICartCustomer, bg as UICartLocation, bi as UICartPricing, bo as UICartResponse, bq as UpdateCartItemInput, U as VariantAxis, $ as VariantAxisSelection, X as VariantAxisValue, ak as VariantAxisValueView, aj as VariantAxisView, W as VariantAxisWithValues, a$ as VariantDetails, bl as VariantDetailsDTO, Q as VariantDisplayAttribute, _ as VariantLocationAvailability, V as VariantStrategy, N as VariantView, Z as ZERO, c as currencyCode, l as enrichError, k as getErrorHint, j as isCimplifyError, n as isRetryableError, i as isSupportedCurrency, m as money, b as moneyFromNumber } from './payment-DazihbCY.js';
5
5
  export { CURRENCY_SYMBOLS, MOBILE_MONEY_PROVIDERS, categorizePaymentError, detectMobileMoneyProvider, formatMoney, formatNumberCompact, formatPrice, formatPriceAdjustment, formatPriceCompact, formatPriceWithTax, formatProductPrice, getBasePrice, getCurrencySymbol, getDiscountPercentage, getDisplayPrice, getMarkupPercentage, getProductCurrency, getTaxAmount, hasTaxInfo, isOnSale, isPaymentStatusFailure, isPaymentStatusRequiresAction, isPaymentStatusSuccess, isTaxInclusive, isValidPhoneForContext, normalizePaymentResponse, normalizePhoneToE164, normalizeStatusResponse, parsePrice, resolvePhoneCountryCode } from './utils.js';
6
6
  export { c as AdConfig, e as AdContextValue, d as AdCreative, a as AdPosition, A as AdSlot, b as AdTheme, g as getVariantDisplayName } from './ads-BxbWrwqp.js';
7
- export { a as FormatCompactOptions, F as FormatPriceOptions, P as ProductWithPrice } from './price-e4beObLZ.js';
7
+ export { a as FormatCompactOptions, F as FormatPriceOptions, P as ProductWithPrice } from './price-5_L8WK6Q.js';
8
8
  import 'libphonenumber-js';
9
9
 
10
10
  interface CustomerGroup {
@@ -544,6 +544,7 @@ interface AddToCartInput {
544
544
  scheduled_start?: string;
545
545
  scheduled_end?: string;
546
546
  staff_id?: string;
547
+ resource_id?: string;
547
548
  }
548
549
  interface UpdateCartItemInput {
549
550
  quantity?: number;
@@ -544,6 +544,7 @@ interface AddToCartInput {
544
544
  scheduled_start?: string;
545
545
  scheduled_end?: string;
546
546
  staff_id?: string;
547
+ resource_id?: string;
547
548
  }
548
549
  interface UpdateCartItemInput {
549
550
  quantity?: number;
@@ -1,4 +1,4 @@
1
- import { C as ChosenPrice, a as CurrencyCode } from './payment-CKqMU4xT.js';
1
+ import { C as ChosenPrice, a as CurrencyCode } from './payment-DazihbCY.js';
2
2
 
3
3
  interface ProductWithPrice {
4
4
  price_info?: ChosenPrice;
@@ -1,4 +1,4 @@
1
- import { C as ChosenPrice, a as CurrencyCode } from './payment-CKqMU4xT.mjs';
1
+ import { C as ChosenPrice, a as CurrencyCode } from './payment-DazihbCY.mjs';
2
2
 
3
3
  interface ProductWithPrice {
4
4
  price_info?: ChosenPrice;