@cimplify/sdk 0.100.1 → 0.100.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/advanced.d.mts +3 -3
- package/dist/advanced.d.ts +3 -3
- package/dist/advanced.js +20 -20
- package/dist/advanced.mjs +1 -1
- package/dist/{chunk-QGFKIAEM.js → chunk-6JEKKL3M.js} +5 -0
- package/dist/{chunk-NKZIXLKW.mjs → chunk-B2YOCOLH.mjs} +1 -1
- package/dist/{chunk-NH3HYUC3.js → chunk-IFAQLFAJ.js} +1 -1
- package/dist/{chunk-BHQCSHIG.js → chunk-IJI7KMTG.js} +58 -57
- package/dist/{chunk-T2B656RS.mjs → chunk-PJUXAUM2.mjs} +13 -12
- package/dist/{chunk-NR4Z2SFY.js → chunk-QRBBSIAY.js} +4 -4
- package/dist/{chunk-PTKAN4SI.mjs → chunk-TIQLOH2B.mjs} +5 -0
- package/dist/{chunk-KEC2CX4R.mjs → chunk-YWNJJO2U.mjs} +2 -2
- package/dist/{client-T5c-Nxq-.d.mts → client-C6wb92AD.d.mts} +2 -2
- package/dist/{client-DRgEa78P.d.ts → client-CgXkRu2o.d.ts} +2 -2
- package/dist/{client-B0Lku_lc.d.mts → client-D8XcrONA.d.mts} +23 -12
- package/dist/{client-DxgC_lXU.d.ts → client-LPg_AUUr.d.ts} +23 -12
- package/dist/{index-CzKN1hjf.d.ts → index-B_RYmvlF.d.ts} +3 -3
- package/dist/{index-DzuLT5wi.d.mts → index-D-LUYk1Y.d.mts} +3 -3
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +69 -69
- package/dist/index.mjs +3 -3
- package/dist/mock/cli.mjs +1 -1
- package/dist/mock/library.js +1 -1
- package/dist/mock/library.mjs +1 -1
- package/dist/mock/msw.js +1 -1
- package/dist/mock/msw.mjs +1 -1
- package/dist/{payment-D8NEwCna.d.mts → payment-BSzy7sly.d.mts} +1 -1
- package/dist/{payment-lZBP7h5M.d.ts → payment-jK8ztICx.d.ts} +1 -1
- package/dist/{price-ncQb-TC8.d.ts → price-CJLfcYKd.d.ts} +1 -1
- package/dist/{price-DepWAmcL.d.mts → price-D96h6c6L.d.mts} +1 -1
- package/dist/{product-B384_Qm2.d.mts → product-CeV8euw4.d.mts} +11 -10
- package/dist/{product-B384_Qm2.d.ts → product-CeV8euw4.d.ts} +11 -10
- package/dist/react.d.mts +4 -4
- package/dist/react.d.ts +4 -4
- package/dist/react.js +51 -29
- package/dist/react.mjs +28 -6
- package/dist/{server-oCGNIO_K.d.mts → server--RyVAfPN.d.mts} +1 -1
- package/dist/{server-B7O4ttpv.d.ts → server-CNyy47HL.d.ts} +1 -1
- package/dist/server.d.mts +4 -4
- package/dist/server.d.ts +4 -4
- package/dist/server.js +7 -7
- package/dist/server.mjs +2 -2
- package/dist/testing/msw.d.mts +2 -2
- package/dist/testing/msw.d.ts +2 -2
- package/dist/testing/msw.js +2 -2
- package/dist/testing/msw.mjs +1 -1
- package/dist/testing/suite.d.mts +6 -6
- package/dist/testing/suite.d.ts +6 -6
- package/dist/testing/suite.js +23 -23
- package/dist/testing/suite.mjs +4 -4
- package/dist/testing.d.mts +5 -5
- package/dist/testing.d.ts +5 -5
- package/dist/testing.js +79 -79
- package/dist/testing.mjs +5 -5
- package/dist/utils.d.mts +4 -4
- package/dist/utils.d.ts +4 -4
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { V as CimplifyError, S as Category, aZ as Product, f as AddOnWithOptions, aQ as Pagination, bb as ProductWithDetails, b9 as ProductVariant, bF as VariantAxis, bG as VariantAxisSelection, A as AddOn, W as Collection, G as BundleSummary, u as Bundle, a3 as Composite, a1 as ComponentSelectionInput, a8 as CompositePriceResult, ad as CurrencyCode, U as ChosenPrice, bi as SaleInfo, b6 as ProductTaxonomy, bx as TaxonomyWithChildren, ax as EligiblePlansQuery, b1 as ProductBillingPlan, b7 as ProductTimeProfile, b0 as ProductAvailabilityNow, aj as Deal, b2 as ProductDealInfo, ap as DiscountValidation, bu as TagsResponse, ae as CustomAttributeDefinition, af as CustomAttributeValue, bc as PropertyFacet, bw as TaxonomyAttributeTemplate, aJ as KnowledgeArticle, by as UICart, L as CartItem, Q as CartSummary, g as AddToCartInput, N as CartMutationResult, bE as UpdateCartItemInput, ao as DiscountDetails, aO as Money, aK as LineConfiguration, bL as VariantDetails, bM as VariantDetailsDTO, a as AddOnDetails, d as AddOnOptionDetails, b as AddOnGroupDetails, D as BundleSelectionData, aa as CompositeSelectionData, ag as CustomerInputValue, bS as components, bk as SchedulingMode, av as DurationUnit, bo as Subscription, bs as SubscriptionWithDetails } from './product-
|
|
2
|
-
import { a as AuthorizationType, c as PaymentMethod, I as InitializePaymentResult, S as SubmitAuthorizationInput, i as PaymentStatusResponse } from './payment-
|
|
1
|
+
import { V as CimplifyError, S as Category, aZ as Product, f as AddOnWithOptions, aQ as Pagination, bb as ProductWithDetails, b9 as ProductVariant, bF as VariantAxis, bG as VariantAxisSelection, A as AddOn, W as Collection, G as BundleSummary, u as Bundle, a3 as Composite, a1 as ComponentSelectionInput, a8 as CompositePriceResult, ad as CurrencyCode, U as ChosenPrice, bi as SaleInfo, b6 as ProductTaxonomy, bx as TaxonomyWithChildren, ax as EligiblePlansQuery, b1 as ProductBillingPlan, b7 as ProductTimeProfile, b0 as ProductAvailabilityNow, aj as Deal, b2 as ProductDealInfo, ap as DiscountValidation, bu as TagsResponse, ae as CustomAttributeDefinition, af as CustomAttributeValue, bc as PropertyFacet, bw as TaxonomyAttributeTemplate, aJ as KnowledgeArticle, by as UICart, L as CartItem, Q as CartSummary, g as AddToCartInput, N as CartMutationResult, bE as UpdateCartItemInput, ao as DiscountDetails, aO as Money, aK as LineConfiguration, bL as VariantDetails, bM as VariantDetailsDTO, a as AddOnDetails, d as AddOnOptionDetails, b as AddOnGroupDetails, D as BundleSelectionData, aa as CompositeSelectionData, ag as CustomerInputValue, bS as components, bk as SchedulingMode, av as DurationUnit, bo as Subscription, bs as SubscriptionWithDetails } from './product-CeV8euw4.mjs';
|
|
2
|
+
import { a as AuthorizationType, c as PaymentMethod, I as InitializePaymentResult, S as SubmitAuthorizationInput, i as PaymentStatusResponse } from './payment-BSzy7sly.mjs';
|
|
3
3
|
|
|
4
4
|
interface RequestContext {
|
|
5
5
|
method: "GET" | "POST" | "PATCH" | "DELETE";
|
|
@@ -733,19 +733,19 @@ interface LocationBooking {
|
|
|
733
733
|
assigned_resources: string[];
|
|
734
734
|
service_status: ServiceStatus;
|
|
735
735
|
}
|
|
736
|
-
type ProviderResolutionSource = "zone" | "hint" | "fallback" | "best_price";
|
|
736
|
+
type ProviderResolutionSource = "zone" | "hint" | "fallback" | "rate" | "best_price";
|
|
737
737
|
interface DeliveryFeeDetails {
|
|
738
|
-
zone_id
|
|
739
|
-
zone_name
|
|
738
|
+
zone_id?: string;
|
|
739
|
+
zone_name?: string;
|
|
740
740
|
provider: string;
|
|
741
741
|
provider_resolved_from: ProviderResolutionSource;
|
|
742
742
|
/** Named rate this fee was priced under, if any. */
|
|
743
743
|
rate_id?: string;
|
|
744
744
|
rate_name?: string;
|
|
745
|
-
distance_km
|
|
746
|
-
base_fee
|
|
747
|
-
per_km_fee
|
|
748
|
-
surge_multiplier
|
|
745
|
+
distance_km?: Money;
|
|
746
|
+
base_fee?: Money;
|
|
747
|
+
per_km_fee?: Money;
|
|
748
|
+
surge_multiplier?: Money;
|
|
749
749
|
calculated_fee: Money;
|
|
750
750
|
currency: string;
|
|
751
751
|
free_delivery_applied?: boolean;
|
|
@@ -1219,6 +1219,9 @@ interface CheckoutCartData {
|
|
|
1219
1219
|
tax_amount: string;
|
|
1220
1220
|
total_discounts: string;
|
|
1221
1221
|
service_charge: string;
|
|
1222
|
+
/** Server-quoted delivery fee selected in checkout. The cart total excludes
|
|
1223
|
+
* this value until checkout has a delivery address and rate. */
|
|
1224
|
+
delivery_fee?: string;
|
|
1222
1225
|
total: string;
|
|
1223
1226
|
currency: string;
|
|
1224
1227
|
/** Tax is baked into the prices (e.g. Ghana VAT), so `tax_amount` is already
|
|
@@ -2514,8 +2517,8 @@ interface DeliveryFeeResponse {
|
|
|
2514
2517
|
currency: string | null;
|
|
2515
2518
|
details: DeliveryFeeDetails | null;
|
|
2516
2519
|
}
|
|
2517
|
-
/** One entry on the delivery menu
|
|
2518
|
-
*
|
|
2520
|
+
/** One entry on the delivery menu — a merchant-named rate ("Standard",
|
|
2521
|
+
* "Express", "Outside Accra") priced for the address when required, or the
|
|
2519
2522
|
* synthesized default when the business has no named rates (`rate_id: null`). */
|
|
2520
2523
|
interface DeliveryOption {
|
|
2521
2524
|
rate_id: string | null;
|
|
@@ -2542,12 +2545,20 @@ interface GetDeliveryOptionsParams {
|
|
|
2542
2545
|
/** Cart goods total — drives free-over thresholds and zone minimums. */
|
|
2543
2546
|
orderValue?: Money;
|
|
2544
2547
|
}
|
|
2548
|
+
type DeliveryOptionsQuery = GetDeliveryOptionsParams & ({
|
|
2549
|
+
dropoffLat: number;
|
|
2550
|
+
dropoffLng: number;
|
|
2551
|
+
} | {
|
|
2552
|
+
dropoffLat?: never;
|
|
2553
|
+
dropoffLng?: never;
|
|
2554
|
+
});
|
|
2545
2555
|
declare class DeliveryService {
|
|
2546
2556
|
private client;
|
|
2547
2557
|
constructor(client: CimplifyClient);
|
|
2548
2558
|
getFee(dropoffLat: number, dropoffLng: number, country?: string): Promise<Result<DeliveryFeeResponse, CimplifyError>>;
|
|
2549
2559
|
/** The full delivery menu for an address. Pass the selected option's
|
|
2550
2560
|
* `rate_id` as `delivery_rate_id` when processing checkout. */
|
|
2561
|
+
getOptions(query?: DeliveryOptionsQuery): Promise<Result<DeliveryOptionsResponse, CimplifyError>>;
|
|
2551
2562
|
getOptions(dropoffLat: number, dropoffLng: number, opts?: GetDeliveryOptionsParams): Promise<Result<DeliveryOptionsResponse, CimplifyError>>;
|
|
2552
2563
|
}
|
|
2553
2564
|
|
|
@@ -2961,4 +2972,4 @@ declare class CimplifyClient {
|
|
|
2961
2972
|
}
|
|
2962
2973
|
declare function createCimplifyClient(config?: CimplifyConfig): CimplifyClient;
|
|
2963
2974
|
|
|
2964
|
-
export { type CheckSlotAvailabilityInput as $, AUTHORIZATION_TYPE as A, type Booking as B, BusinessService as C, type BusinessSettings as D, type BusinessWithLocations as E, CHECKOUT_MODE as F, CHECKOUT_MUTATION as G, CHECKOUT_STEP as H, CONTACT_TYPE as I, type CacheOptions as J, type CancelBookingInput as K, type CancelBookingResult as L, type CancelOrderInput as M, type CancellationPolicy as N, CartOperations as O, CatalogueQueries as P, type CatalogueResult as Q, type CatalogueSnapshot as R, type CategoryInfo as S, type ChatAttachment as T, type ChatConversation as U, type ChatConversationResponse as V, type ChatMessage as W, type ChatReplyCard as X, type ChatReplyContext as Y, type ChatUploadAttachment as Z, type ChatWidgetStarter as _, AUTH_MUTATION as a, type
|
|
2975
|
+
export { type CheckSlotAvailabilityInput as $, AUTHORIZATION_TYPE as A, type Booking as B, BusinessService as C, type BusinessSettings as D, type BusinessWithLocations as E, CHECKOUT_MODE as F, CHECKOUT_MUTATION as G, CHECKOUT_STEP as H, CONTACT_TYPE as I, type CacheOptions as J, type CancelBookingInput as K, type CancelBookingResult as L, type CancelOrderInput as M, type CancellationPolicy as N, CartOperations as O, CatalogueQueries as P, type CatalogueResult as Q, type CatalogueSnapshot as R, type CategoryInfo as S, type ChatAttachment as T, type ChatConversation as U, type ChatConversationResponse as V, type ChatMessage as W, type ChatReplyCard as X, type ChatReplyContext as Y, type ChatUploadAttachment as Z, type ChatWidgetStarter as _, AUTH_MUTATION as a, type EnrichedOrderItem as a$, type CheckSlotAvailabilityResult as a0, type CheckoutAddressInfo as a1, type CheckoutCartData as a2, type CheckoutCartItem as a3, type CheckoutCustomerInfo as a4, type CheckoutFormData as a5, type CheckoutInput as a6, type CheckoutMode as a7, type CheckoutOrderType as a8, type CheckoutPaymentMethod as a9, type DeliveryFeeResponse as aA, type DeliveryOption as aB, type DeliveryOptionsQuery as aC, type DeliveryOptionsResponse as aD, DeliveryService as aE, type DepositResult as aF, type DeviceType as aG, type DismissMessageResponse as aH, ELEMENTS_AUTH_CONTACT_TYPES as aI, ELEMENTS_AUTH_MODES as aJ, ELEMENTS_AUTH_PROMPTS as aK, ELEMENT_TYPES as aL, EVENT_TYPES as aM, type ElementAppearance as aN, type ElementEventHandler as aO, type ElementEventType as aP, type ElementOptions as aQ, type ElementType as aR, type ElementsAuthContactType as aS, type ElementsAuthMode as aT, type ElementsAuthOptions as aU, type ElementsAuthPrompt as aV, type ElementsCheckoutData as aW, type ElementsCheckoutResult as aX, type ElementsCustomerInfo as aY, type ElementsOptions as aZ, type EnrichedOrder as a_, type CheckoutResult as aa, CheckoutService as ab, type CheckoutStatus as ac, type CheckoutStatusContext as ad, type CheckoutStep as ae, CimplifyClient as af, type CimplifyConfig as ag, CimplifyElement as ah, CimplifyElements as ai, type ClaimConversationResult as aj, type ContactType as ak, type ContentType as al, type CreateAddressInput as am, type CreateMobileMoneyInput as an, type Customer as ao, type CustomerAddress as ap, type CustomerBooking as aq, type CustomerBookingServiceItem as ar, type CustomerLinkPreferences as as, type CustomerMobileMoney as at, type CustomerServicePreferences as au, DEFAULT_COUNTRY as av, DEFAULT_CURRENCY as aw, DEVICE_TYPE as ax, type DayAvailability as ay, type DeliveryFeeDetails as az, type AbortablePromise as b, type OrderGroupStatus as b$, type EnrollAndLinkOrderInput as b0, type EnrollAndLinkOrderResult as b1, type EnrollmentData as b2, type Err as b3, type FeeBearerType as b4, type FetchQuoteInput as b5, type FulfillmentLink as b6, type FulfillmentStatus as b7, type FulfillmentSummaryDTO as b8, type FulfillmentType as b9, type Location as bA, type LocationBooking as bB, type LocationTaxBehavior as bC, type LocationTaxOverrides as bD, type LocationTimeProfile as bE, type LocationWithDetails as bF, MESSAGE_TYPES as bG, MOBILE_MONEY_PROVIDER as bH, type MobileMoneyData as bI, type MobileMoneyDetails as bJ, type MobileMoneyProvider as bK, type NextAction as bL, ORDER_MUTATION as bM, ORDER_TYPE as bN, type ObservabilityHooks as bO, type Ok as bP, type Order as bQ, type OrderCustomerInfo as bR, type OrderDiscountInfo as bS, type OrderFilter as bT, type OrderFulfillmentSummary as bU, type OrderGroup as bV, type OrderGroupDetails as bW, type OrderGroupPayment as bX, type OrderGroupPaymentState as bY, type OrderGroupPaymentStatus as bZ, type OrderGroupPaymentSummary as b_, type FxQuote as ba, type FxQuoteRequest as bb, type FxQuoteStatus as bc, type FxRateResponse as bd, FxService as be, type GetAvailableSlotsInput as bf, type GetDeliveryOptionsParams as bg, type GetOrdersOptions as bh, type GetProductsOptions as bi, type GroupOrderInfo as bj, type IframeToParentMessage as bk, InventoryService as bl, LINK_MUTATION as bm, LINK_QUERY as bn, type LifecyclePhase as bo, type LineItem as bp, type LineType as bq, type LinkData as br, type LinkEnrollResult as bs, LinkService as bt, type LinkSession as bu, type LinkStatusResult as bv, type LiteBootstrap as bw, type LiteDayHours as bx, type LiteHoursRange as by, LiteService as bz, type ActivityRecommendation as c, type RetryEvent as c$, type OrderHistory as c0, type OrderLineState as c1, type OrderLineStatus as c2, type OrderLocationInfo as c3, type OrderPaymentEvent as c4, type OrderPricingView as c5, OrderQueries as c6, type OrderSplitDetail as c7, type OrderStaffInfo as c8, type OrderStatus as c9, type QuoteDynamicBuckets as cA, type QuoteStatus as cB, type QuoteUiMessage as cC, type ReadRequestOptions as cD, type RefreshQuoteInput as cE, type RefreshQuoteResult as cF, type RefundOrderInput as cG, type RelatedCandidate as cH, type RelatedProduct as cI, type RelatedProductsEnrichment as cJ, type RelationType as cK, type ReminderMethod as cL, type ReminderSettings as cM, type ReorderResult as cN, type RequestContext as cO, type RequestErrorEvent as cP, type RequestOptions as cQ, type RequestOtpInput as cR, type RequestSource as cS, type RequestStartEvent as cT, type RequestSuccessEvent as cU, type RescheduleBookingInput as cV, type RescheduleBookingResult as cW, type RescheduleHistoryRecord as cX, type ResourceAssignment as cY, type ResourceInfo as cZ, type Result as c_, type OrderTimestampsDTO as ca, type OrderType as cb, type Origin as cc, type OriginActor as cd, type OriginChannel as ce, type OtpResult as cf, PAYMENT_METHOD as cg, PAYMENT_MUTATION as ch, PAYMENT_STATE as ci, PICKUP_TIME_TYPE as cj, type ParentToIframeMessage as ck, type PaymentInfoDTO as cl, type PaymentMethodInfo as cm, type PaymentState as cn, type PickupTime as co, type PickupTimeType as cp, type PlaceDetailsResponse as cq, PlacesService as cr, type PriceQuote as cs, type PricingOverrides as ct, type ProcessAndResolveOptions as cu, type ProcessCheckoutOptions as cv, type ProcessCheckoutResult as cw, type ProviderResolutionSource as cx, type QuoteBundleSelectionInput as cy, type QuoteCompositeSelectionInput as cz, type ActivityRecommendationsResponse as d, type RevokeAllSessionsResult as d0, type RevokeSessionResult as d1, type Room as d2, type SchedulingMetadata as d3, type SchedulingResult as d4, SchedulingService as d5, type SenderType as d6, type Service as d7, type ServiceAvailabilityParams as d8, type ServiceAvailabilityResult as d9, type TrackProductViewOptions as dA, type UpdateAddressInput as dB, type UpdateOrderStatusInput as dC, type UpdateProfileInput as dD, type UploadInitResponse as dE, type UploadResult as dF, UploadService as dG, type VerifyOtpInput as dH, combine as dI, combineObject as dJ, createCimplifyClient as dK, createElements as dL, err as dM, flatMap as dN, fromPromise as dO, getOrElse as dP, isErr as dQ, isOk as dR, mapError as dS, mapResult as dT, ok as dU, toNullable as dV, tryCatch as dW, unwrap as dX, type ServiceCharge as da, type ServiceNotes as db, type ServiceScheduleRequest as dc, type ServiceStatus as dd, type SessionActivityData as de, type SessionChangeEvent as df, type SessionMessage as dg, type SlotResourceInfo as dh, type SlotStaffInfo as di, type Staff as dj, type StaffAssignment as dk, type StaffRole as dl, type StaffScheduleItem as dm, type StockLevel as dn, type StockStatus as dp, type StoreCreditBalance as dq, StoreCreditQueries as dr, type StorefrontBootstrap as ds, SubscriptionService as dt, SupportService as du, type Table as dv, type TimeRange as dw, type TimeRanges as dx, type TimeSlot as dy, type TrackCategoryViewOptions as dz, ActivityService as e, type ActivityStateResponse as f, type AddressData as g, type AddressInfo as h, type AmountToPay as i, type AuthResponse as j, AuthService as k, type AuthStatus as l, type AuthenticatedCustomer as m, type AuthenticatedData as n, type AutocompletePrediction as o, type AutocompleteResponse as p, type AvailabilityResult as q, type AvailableSlot as r, type BookingModificationType as s, type BookingStatus as t, type BookingWithDetails as u, type BufferTimes as v, type Business as w, type BusinessDetailsDTO as x, type BusinessHours as y, type BusinessPreferences as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { V as CimplifyError, S as Category, aZ as Product, f as AddOnWithOptions, aQ as Pagination, bb as ProductWithDetails, b9 as ProductVariant, bF as VariantAxis, bG as VariantAxisSelection, A as AddOn, W as Collection, G as BundleSummary, u as Bundle, a3 as Composite, a1 as ComponentSelectionInput, a8 as CompositePriceResult, ad as CurrencyCode, U as ChosenPrice, bi as SaleInfo, b6 as ProductTaxonomy, bx as TaxonomyWithChildren, ax as EligiblePlansQuery, b1 as ProductBillingPlan, b7 as ProductTimeProfile, b0 as ProductAvailabilityNow, aj as Deal, b2 as ProductDealInfo, ap as DiscountValidation, bu as TagsResponse, ae as CustomAttributeDefinition, af as CustomAttributeValue, bc as PropertyFacet, bw as TaxonomyAttributeTemplate, aJ as KnowledgeArticle, by as UICart, L as CartItem, Q as CartSummary, g as AddToCartInput, N as CartMutationResult, bE as UpdateCartItemInput, ao as DiscountDetails, aO as Money, aK as LineConfiguration, bL as VariantDetails, bM as VariantDetailsDTO, a as AddOnDetails, d as AddOnOptionDetails, b as AddOnGroupDetails, D as BundleSelectionData, aa as CompositeSelectionData, ag as CustomerInputValue, bS as components, bk as SchedulingMode, av as DurationUnit, bo as Subscription, bs as SubscriptionWithDetails } from './product-
|
|
2
|
-
import { a as AuthorizationType, c as PaymentMethod, I as InitializePaymentResult, S as SubmitAuthorizationInput, i as PaymentStatusResponse } from './payment-
|
|
1
|
+
import { V as CimplifyError, S as Category, aZ as Product, f as AddOnWithOptions, aQ as Pagination, bb as ProductWithDetails, b9 as ProductVariant, bF as VariantAxis, bG as VariantAxisSelection, A as AddOn, W as Collection, G as BundleSummary, u as Bundle, a3 as Composite, a1 as ComponentSelectionInput, a8 as CompositePriceResult, ad as CurrencyCode, U as ChosenPrice, bi as SaleInfo, b6 as ProductTaxonomy, bx as TaxonomyWithChildren, ax as EligiblePlansQuery, b1 as ProductBillingPlan, b7 as ProductTimeProfile, b0 as ProductAvailabilityNow, aj as Deal, b2 as ProductDealInfo, ap as DiscountValidation, bu as TagsResponse, ae as CustomAttributeDefinition, af as CustomAttributeValue, bc as PropertyFacet, bw as TaxonomyAttributeTemplate, aJ as KnowledgeArticle, by as UICart, L as CartItem, Q as CartSummary, g as AddToCartInput, N as CartMutationResult, bE as UpdateCartItemInput, ao as DiscountDetails, aO as Money, aK as LineConfiguration, bL as VariantDetails, bM as VariantDetailsDTO, a as AddOnDetails, d as AddOnOptionDetails, b as AddOnGroupDetails, D as BundleSelectionData, aa as CompositeSelectionData, ag as CustomerInputValue, bS as components, bk as SchedulingMode, av as DurationUnit, bo as Subscription, bs as SubscriptionWithDetails } from './product-CeV8euw4.js';
|
|
2
|
+
import { a as AuthorizationType, c as PaymentMethod, I as InitializePaymentResult, S as SubmitAuthorizationInput, i as PaymentStatusResponse } from './payment-jK8ztICx.js';
|
|
3
3
|
|
|
4
4
|
interface RequestContext {
|
|
5
5
|
method: "GET" | "POST" | "PATCH" | "DELETE";
|
|
@@ -733,19 +733,19 @@ interface LocationBooking {
|
|
|
733
733
|
assigned_resources: string[];
|
|
734
734
|
service_status: ServiceStatus;
|
|
735
735
|
}
|
|
736
|
-
type ProviderResolutionSource = "zone" | "hint" | "fallback" | "best_price";
|
|
736
|
+
type ProviderResolutionSource = "zone" | "hint" | "fallback" | "rate" | "best_price";
|
|
737
737
|
interface DeliveryFeeDetails {
|
|
738
|
-
zone_id
|
|
739
|
-
zone_name
|
|
738
|
+
zone_id?: string;
|
|
739
|
+
zone_name?: string;
|
|
740
740
|
provider: string;
|
|
741
741
|
provider_resolved_from: ProviderResolutionSource;
|
|
742
742
|
/** Named rate this fee was priced under, if any. */
|
|
743
743
|
rate_id?: string;
|
|
744
744
|
rate_name?: string;
|
|
745
|
-
distance_km
|
|
746
|
-
base_fee
|
|
747
|
-
per_km_fee
|
|
748
|
-
surge_multiplier
|
|
745
|
+
distance_km?: Money;
|
|
746
|
+
base_fee?: Money;
|
|
747
|
+
per_km_fee?: Money;
|
|
748
|
+
surge_multiplier?: Money;
|
|
749
749
|
calculated_fee: Money;
|
|
750
750
|
currency: string;
|
|
751
751
|
free_delivery_applied?: boolean;
|
|
@@ -1219,6 +1219,9 @@ interface CheckoutCartData {
|
|
|
1219
1219
|
tax_amount: string;
|
|
1220
1220
|
total_discounts: string;
|
|
1221
1221
|
service_charge: string;
|
|
1222
|
+
/** Server-quoted delivery fee selected in checkout. The cart total excludes
|
|
1223
|
+
* this value until checkout has a delivery address and rate. */
|
|
1224
|
+
delivery_fee?: string;
|
|
1222
1225
|
total: string;
|
|
1223
1226
|
currency: string;
|
|
1224
1227
|
/** Tax is baked into the prices (e.g. Ghana VAT), so `tax_amount` is already
|
|
@@ -2514,8 +2517,8 @@ interface DeliveryFeeResponse {
|
|
|
2514
2517
|
currency: string | null;
|
|
2515
2518
|
details: DeliveryFeeDetails | null;
|
|
2516
2519
|
}
|
|
2517
|
-
/** One entry on the delivery menu
|
|
2518
|
-
*
|
|
2520
|
+
/** One entry on the delivery menu — a merchant-named rate ("Standard",
|
|
2521
|
+
* "Express", "Outside Accra") priced for the address when required, or the
|
|
2519
2522
|
* synthesized default when the business has no named rates (`rate_id: null`). */
|
|
2520
2523
|
interface DeliveryOption {
|
|
2521
2524
|
rate_id: string | null;
|
|
@@ -2542,12 +2545,20 @@ interface GetDeliveryOptionsParams {
|
|
|
2542
2545
|
/** Cart goods total — drives free-over thresholds and zone minimums. */
|
|
2543
2546
|
orderValue?: Money;
|
|
2544
2547
|
}
|
|
2548
|
+
type DeliveryOptionsQuery = GetDeliveryOptionsParams & ({
|
|
2549
|
+
dropoffLat: number;
|
|
2550
|
+
dropoffLng: number;
|
|
2551
|
+
} | {
|
|
2552
|
+
dropoffLat?: never;
|
|
2553
|
+
dropoffLng?: never;
|
|
2554
|
+
});
|
|
2545
2555
|
declare class DeliveryService {
|
|
2546
2556
|
private client;
|
|
2547
2557
|
constructor(client: CimplifyClient);
|
|
2548
2558
|
getFee(dropoffLat: number, dropoffLng: number, country?: string): Promise<Result<DeliveryFeeResponse, CimplifyError>>;
|
|
2549
2559
|
/** The full delivery menu for an address. Pass the selected option's
|
|
2550
2560
|
* `rate_id` as `delivery_rate_id` when processing checkout. */
|
|
2561
|
+
getOptions(query?: DeliveryOptionsQuery): Promise<Result<DeliveryOptionsResponse, CimplifyError>>;
|
|
2551
2562
|
getOptions(dropoffLat: number, dropoffLng: number, opts?: GetDeliveryOptionsParams): Promise<Result<DeliveryOptionsResponse, CimplifyError>>;
|
|
2552
2563
|
}
|
|
2553
2564
|
|
|
@@ -2961,4 +2972,4 @@ declare class CimplifyClient {
|
|
|
2961
2972
|
}
|
|
2962
2973
|
declare function createCimplifyClient(config?: CimplifyConfig): CimplifyClient;
|
|
2963
2974
|
|
|
2964
|
-
export { type CheckSlotAvailabilityInput as $, AUTHORIZATION_TYPE as A, type Booking as B, BusinessService as C, type BusinessSettings as D, type BusinessWithLocations as E, CHECKOUT_MODE as F, CHECKOUT_MUTATION as G, CHECKOUT_STEP as H, CONTACT_TYPE as I, type CacheOptions as J, type CancelBookingInput as K, type CancelBookingResult as L, type CancelOrderInput as M, type CancellationPolicy as N, CartOperations as O, CatalogueQueries as P, type CatalogueResult as Q, type CatalogueSnapshot as R, type CategoryInfo as S, type ChatAttachment as T, type ChatConversation as U, type ChatConversationResponse as V, type ChatMessage as W, type ChatReplyCard as X, type ChatReplyContext as Y, type ChatUploadAttachment as Z, type ChatWidgetStarter as _, AUTH_MUTATION as a, type
|
|
2975
|
+
export { type CheckSlotAvailabilityInput as $, AUTHORIZATION_TYPE as A, type Booking as B, BusinessService as C, type BusinessSettings as D, type BusinessWithLocations as E, CHECKOUT_MODE as F, CHECKOUT_MUTATION as G, CHECKOUT_STEP as H, CONTACT_TYPE as I, type CacheOptions as J, type CancelBookingInput as K, type CancelBookingResult as L, type CancelOrderInput as M, type CancellationPolicy as N, CartOperations as O, CatalogueQueries as P, type CatalogueResult as Q, type CatalogueSnapshot as R, type CategoryInfo as S, type ChatAttachment as T, type ChatConversation as U, type ChatConversationResponse as V, type ChatMessage as W, type ChatReplyCard as X, type ChatReplyContext as Y, type ChatUploadAttachment as Z, type ChatWidgetStarter as _, AUTH_MUTATION as a, type EnrichedOrderItem as a$, type CheckSlotAvailabilityResult as a0, type CheckoutAddressInfo as a1, type CheckoutCartData as a2, type CheckoutCartItem as a3, type CheckoutCustomerInfo as a4, type CheckoutFormData as a5, type CheckoutInput as a6, type CheckoutMode as a7, type CheckoutOrderType as a8, type CheckoutPaymentMethod as a9, type DeliveryFeeResponse as aA, type DeliveryOption as aB, type DeliveryOptionsQuery as aC, type DeliveryOptionsResponse as aD, DeliveryService as aE, type DepositResult as aF, type DeviceType as aG, type DismissMessageResponse as aH, ELEMENTS_AUTH_CONTACT_TYPES as aI, ELEMENTS_AUTH_MODES as aJ, ELEMENTS_AUTH_PROMPTS as aK, ELEMENT_TYPES as aL, EVENT_TYPES as aM, type ElementAppearance as aN, type ElementEventHandler as aO, type ElementEventType as aP, type ElementOptions as aQ, type ElementType as aR, type ElementsAuthContactType as aS, type ElementsAuthMode as aT, type ElementsAuthOptions as aU, type ElementsAuthPrompt as aV, type ElementsCheckoutData as aW, type ElementsCheckoutResult as aX, type ElementsCustomerInfo as aY, type ElementsOptions as aZ, type EnrichedOrder as a_, type CheckoutResult as aa, CheckoutService as ab, type CheckoutStatus as ac, type CheckoutStatusContext as ad, type CheckoutStep as ae, CimplifyClient as af, type CimplifyConfig as ag, CimplifyElement as ah, CimplifyElements as ai, type ClaimConversationResult as aj, type ContactType as ak, type ContentType as al, type CreateAddressInput as am, type CreateMobileMoneyInput as an, type Customer as ao, type CustomerAddress as ap, type CustomerBooking as aq, type CustomerBookingServiceItem as ar, type CustomerLinkPreferences as as, type CustomerMobileMoney as at, type CustomerServicePreferences as au, DEFAULT_COUNTRY as av, DEFAULT_CURRENCY as aw, DEVICE_TYPE as ax, type DayAvailability as ay, type DeliveryFeeDetails as az, type AbortablePromise as b, type OrderGroupStatus as b$, type EnrollAndLinkOrderInput as b0, type EnrollAndLinkOrderResult as b1, type EnrollmentData as b2, type Err as b3, type FeeBearerType as b4, type FetchQuoteInput as b5, type FulfillmentLink as b6, type FulfillmentStatus as b7, type FulfillmentSummaryDTO as b8, type FulfillmentType as b9, type Location as bA, type LocationBooking as bB, type LocationTaxBehavior as bC, type LocationTaxOverrides as bD, type LocationTimeProfile as bE, type LocationWithDetails as bF, MESSAGE_TYPES as bG, MOBILE_MONEY_PROVIDER as bH, type MobileMoneyData as bI, type MobileMoneyDetails as bJ, type MobileMoneyProvider as bK, type NextAction as bL, ORDER_MUTATION as bM, ORDER_TYPE as bN, type ObservabilityHooks as bO, type Ok as bP, type Order as bQ, type OrderCustomerInfo as bR, type OrderDiscountInfo as bS, type OrderFilter as bT, type OrderFulfillmentSummary as bU, type OrderGroup as bV, type OrderGroupDetails as bW, type OrderGroupPayment as bX, type OrderGroupPaymentState as bY, type OrderGroupPaymentStatus as bZ, type OrderGroupPaymentSummary as b_, type FxQuote as ba, type FxQuoteRequest as bb, type FxQuoteStatus as bc, type FxRateResponse as bd, FxService as be, type GetAvailableSlotsInput as bf, type GetDeliveryOptionsParams as bg, type GetOrdersOptions as bh, type GetProductsOptions as bi, type GroupOrderInfo as bj, type IframeToParentMessage as bk, InventoryService as bl, LINK_MUTATION as bm, LINK_QUERY as bn, type LifecyclePhase as bo, type LineItem as bp, type LineType as bq, type LinkData as br, type LinkEnrollResult as bs, LinkService as bt, type LinkSession as bu, type LinkStatusResult as bv, type LiteBootstrap as bw, type LiteDayHours as bx, type LiteHoursRange as by, LiteService as bz, type ActivityRecommendation as c, type RetryEvent as c$, type OrderHistory as c0, type OrderLineState as c1, type OrderLineStatus as c2, type OrderLocationInfo as c3, type OrderPaymentEvent as c4, type OrderPricingView as c5, OrderQueries as c6, type OrderSplitDetail as c7, type OrderStaffInfo as c8, type OrderStatus as c9, type QuoteDynamicBuckets as cA, type QuoteStatus as cB, type QuoteUiMessage as cC, type ReadRequestOptions as cD, type RefreshQuoteInput as cE, type RefreshQuoteResult as cF, type RefundOrderInput as cG, type RelatedCandidate as cH, type RelatedProduct as cI, type RelatedProductsEnrichment as cJ, type RelationType as cK, type ReminderMethod as cL, type ReminderSettings as cM, type ReorderResult as cN, type RequestContext as cO, type RequestErrorEvent as cP, type RequestOptions as cQ, type RequestOtpInput as cR, type RequestSource as cS, type RequestStartEvent as cT, type RequestSuccessEvent as cU, type RescheduleBookingInput as cV, type RescheduleBookingResult as cW, type RescheduleHistoryRecord as cX, type ResourceAssignment as cY, type ResourceInfo as cZ, type Result as c_, type OrderTimestampsDTO as ca, type OrderType as cb, type Origin as cc, type OriginActor as cd, type OriginChannel as ce, type OtpResult as cf, PAYMENT_METHOD as cg, PAYMENT_MUTATION as ch, PAYMENT_STATE as ci, PICKUP_TIME_TYPE as cj, type ParentToIframeMessage as ck, type PaymentInfoDTO as cl, type PaymentMethodInfo as cm, type PaymentState as cn, type PickupTime as co, type PickupTimeType as cp, type PlaceDetailsResponse as cq, PlacesService as cr, type PriceQuote as cs, type PricingOverrides as ct, type ProcessAndResolveOptions as cu, type ProcessCheckoutOptions as cv, type ProcessCheckoutResult as cw, type ProviderResolutionSource as cx, type QuoteBundleSelectionInput as cy, type QuoteCompositeSelectionInput as cz, type ActivityRecommendationsResponse as d, type RevokeAllSessionsResult as d0, type RevokeSessionResult as d1, type Room as d2, type SchedulingMetadata as d3, type SchedulingResult as d4, SchedulingService as d5, type SenderType as d6, type Service as d7, type ServiceAvailabilityParams as d8, type ServiceAvailabilityResult as d9, type TrackProductViewOptions as dA, type UpdateAddressInput as dB, type UpdateOrderStatusInput as dC, type UpdateProfileInput as dD, type UploadInitResponse as dE, type UploadResult as dF, UploadService as dG, type VerifyOtpInput as dH, combine as dI, combineObject as dJ, createCimplifyClient as dK, createElements as dL, err as dM, flatMap as dN, fromPromise as dO, getOrElse as dP, isErr as dQ, isOk as dR, mapError as dS, mapResult as dT, ok as dU, toNullable as dV, tryCatch as dW, unwrap as dX, type ServiceCharge as da, type ServiceNotes as db, type ServiceScheduleRequest as dc, type ServiceStatus as dd, type SessionActivityData as de, type SessionChangeEvent as df, type SessionMessage as dg, type SlotResourceInfo as dh, type SlotStaffInfo as di, type Staff as dj, type StaffAssignment as dk, type StaffRole as dl, type StaffScheduleItem as dm, type StockLevel as dn, type StockStatus as dp, type StoreCreditBalance as dq, StoreCreditQueries as dr, type StorefrontBootstrap as ds, SubscriptionService as dt, SupportService as du, type Table as dv, type TimeRange as dw, type TimeRanges as dx, type TimeSlot as dy, type TrackCategoryViewOptions as dz, ActivityService as e, type ActivityStateResponse as f, type AddressData as g, type AddressInfo as h, type AmountToPay as i, type AuthResponse as j, AuthService as k, type AuthStatus as l, type AuthenticatedCustomer as m, type AuthenticatedData as n, type AutocompletePrediction as o, type AutocompleteResponse as p, type AvailabilityResult as q, type AvailableSlot as r, type BookingModificationType as s, type BookingStatus as t, type BookingWithDetails as u, type BufferTimes as v, type Business as w, type BusinessDetailsDTO as x, type BusinessHours as y, type BusinessPreferences as z };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { aO as Money, ad as CurrencyCode, aX as PricePathTaxInfo, aZ as Product, bb as ProductWithDetails, be as QuantityPricingTier } from './product-
|
|
2
|
-
import { P as ProductWithPrice } from './price-
|
|
3
|
-
import { b as PaymentErrorDetails, g as PaymentResponse, i as PaymentStatusResponse } from './payment-
|
|
1
|
+
import { aO as Money, ad as CurrencyCode, aX as PricePathTaxInfo, aZ as Product, bb as ProductWithDetails, be as QuantityPricingTier } from './product-CeV8euw4.js';
|
|
2
|
+
import { P as ProductWithPrice } from './price-CJLfcYKd.js';
|
|
3
|
+
import { b as PaymentErrorDetails, g as PaymentResponse, i as PaymentStatusResponse } from './payment-jK8ztICx.js';
|
|
4
4
|
import { CountryCode } from 'libphonenumber-js';
|
|
5
5
|
|
|
6
6
|
declare const CURRENCY_SYMBOLS: Record<string, string>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { aO as Money, ad as CurrencyCode, aX as PricePathTaxInfo, aZ as Product, bb as ProductWithDetails, be as QuantityPricingTier } from './product-
|
|
2
|
-
import { P as ProductWithPrice } from './price-
|
|
3
|
-
import { b as PaymentErrorDetails, g as PaymentResponse, i as PaymentStatusResponse } from './payment-
|
|
1
|
+
import { aO as Money, ad as CurrencyCode, aX as PricePathTaxInfo, aZ as Product, bb as ProductWithDetails, be as QuantityPricingTier } from './product-CeV8euw4.mjs';
|
|
2
|
+
import { P as ProductWithPrice } from './price-D96h6c6L.mjs';
|
|
3
|
+
import { b as PaymentErrorDetails, g as PaymentResponse, i as PaymentStatusResponse } from './payment-BSzy7sly.mjs';
|
|
4
4
|
import { CountryCode } from 'libphonenumber-js';
|
|
5
5
|
|
|
6
6
|
declare const CURRENCY_SYMBOLS: Record<string, string>;
|
package/dist/index.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { X as ChatReplyCard } from './client-
|
|
2
|
-
export { A as AUTHORIZATION_TYPE, a as AUTH_MUTATION, b as AbortablePromise, c as ActivityRecommendation, d as ActivityRecommendationsResponse, e as ActivityService, f as ActivityStateResponse, g as AddressData, h as AddressInfo, i as AmountToPay, j as AuthResponse, k as AuthService, l as AuthStatus, m as AuthenticatedCustomer, n as AuthenticatedData, o as AutocompletePrediction, p as AutocompleteResponse, q as AvailabilityResult, r as AvailableSlot, B as Booking, s as BookingModificationType, t as BookingStatus, u as BookingWithDetails, v as BufferTimes, w as Business, x as BusinessDetailsDTO, y as BusinessHours, z as BusinessPreferences, C as BusinessService, D as BusinessSettings, E as BusinessWithLocations, F as CHECKOUT_MODE, G as CHECKOUT_MUTATION, H as CHECKOUT_STEP, I as CONTACT_TYPE, J as CacheOptions, K as CancelBookingInput, L as CancelBookingResult, M as CancelOrderInput, N as CancellationPolicy, O as CartOperations, P as CatalogueQueries, Q as CatalogueResult, R as CatalogueSnapshot, S as CategoryInfo, T as ChatAttachment, U as ChatConversation, V as ChatConversationResponse, W as ChatMessage, Y as ChatReplyContext, Z as ChatUploadAttachment, _ as ChatWidgetStarter, $ as CheckSlotAvailabilityInput, a0 as CheckSlotAvailabilityResult, a1 as CheckoutAddressInfo, a2 as CheckoutCartData, a3 as CheckoutCartItem, a4 as CheckoutCustomerInfo, a5 as CheckoutFormData, a6 as CheckoutInput, a7 as CheckoutMode, ab as CheckoutOperations, a8 as CheckoutOrderType, a9 as CheckoutPaymentMethod, aa as CheckoutResult, ab as CheckoutService, ac as CheckoutStatus, ad as CheckoutStatusContext, ae as CheckoutStep, af as CimplifyClient, ag as CimplifyConfig, ah as CimplifyElement, ai as CimplifyElements, aj as ClaimConversationResult, ak as ContactType, al as ContentType, am as CreateAddressInput, an as CreateMobileMoneyInput, ao as Customer, ap as CustomerAddress, aq as CustomerBooking, ar as CustomerBookingServiceItem, as as CustomerLinkPreferences, at as CustomerMobileMoney, au as CustomerServicePreferences, av as DEFAULT_COUNTRY, aw as DEFAULT_CURRENCY, ax as DEVICE_TYPE, ay as DayAvailability, az as DeliveryFeeDetails, aA as DeliveryFeeResponse, aB as DeliveryOption, aC as
|
|
3
|
-
import { bb as ProductWithDetails, aZ as Product, av as DurationUnit, j as ApiError } from './product-
|
|
4
|
-
export { A as AddOn, a as AddOnDetails, b as AddOnGroupDetails, c as AddOnOption, d as AddOnOptionDetails, e as AddOnOptionPrice, f as AddOnWithOptions, g as AddToCartInput, h as AddressValue, i as AdjustmentType, k as AppliedDiscount, l as AttributeAppliesTo, m as AttributeType, n as AttributeValidationRules, o as AttributeVisibility, B as BOUNDARY_KIND, p as BenefitType, q as BillingFrequency, r as BillingMarkupType, s as BillingPlanType, t as BoundaryKind, u as Bundle, v as BundleComponentData, w as BundleComponentInfo, x as BundleComponentVariantView, y as BundleComponentView, z as BundlePriceType, C as BundleProduct, D as BundleSelectionData, E as BundleSelectionInput, F as BundleStoredSelection, G as BundleSummary, H as BundleWithDetails, I as Cart, J as CartAddOn, K as CartChannel, L as CartItem, M as CartItemDetails, N as CartMutationResult, O as CartNotice, P as CartStatus, Q as CartSummary, R as CartTotals, S as Category, T as CategorySummary, U as ChosenPrice, V as CimplifyError, W as Collection, X as CollectionProduct, Y as CollectionSummary, Z as ComponentGroup, _ as ComponentGroupWithComponents, $ as ComponentPriceBreakdown, a0 as ComponentSchedulingData, a1 as ComponentSelectionInput, a2 as ComponentSourceType, a3 as Composite, a4 as CompositeComponent, a5 as CompositeComponentView, a6 as CompositeGroupView, a7 as CompositePriceBreakdown, a8 as CompositePriceResult, a9 as CompositePricingMode, aa as CompositeSelectionData, a1 as CompositeSelectionInput, ab as CompositeStoredSelection, ac as CompositeWithDetails, ad as CurrencyCode, ae as CustomAttributeDefinition, af as CustomAttributeValue, ag as CustomerInputValue, ah as DURATION_UNIT, ai as DateRangeValue, aj as Deal, ak as DealBenefitType, al as DepositType, am as DigitalProductType, an as DiscountBreakdown, ao as DiscountDetails, ap as DiscountValidation, aq as DisplayAddOn, ar as DisplayAddOnOption, as as DisplayCart, at as DisplayCartItem, au as DisplayMode, aw as ERROR_HINTS, ax as EligiblePlansQuery, ay as ErrorCode, az as ErrorCodeType, aA as ErrorHint, aB as FacetValue, aC as FormattedPlanOption, aD as GroupPricingBehavior, aE as INPUT_FIELD_TYPE, aF as IdempotencyMismatchError, aG as InputFieldType, aH as InputFieldValidation, aI as InventoryType, aJ as KnowledgeArticle, aK as LineConfiguration, aL as LocationProductPrice, aM as LocationValue, aN as MeasurementValue, aO as Money, aP as PRODUCT_TYPE, aQ as Pagination, aR as PaginationParams, aS as PhoneValue, aT as Price, aU as PriceAdjustment, aV as PriceDecisionPath, aW as PriceEntryType, aX as PricePathTaxInfo, aY as PriceSource, a_ as ProductAddOn, a$ as ProductAvailability, b0 as ProductAvailabilityNow, b1 as ProductBillingPlan, b2 as ProductDealInfo, b3 as ProductInputField, b4 as ProductProperty, b5 as ProductRenderHint, b6 as ProductTaxonomy, b7 as ProductTimeProfile, b8 as ProductType, b9 as ProductVariant, ba as ProductVariantValue, bc as PropertyFacet, bd as PropertySource, be as QuantityPricingTier, bf as RENDER_HINT, bg as RelatedProductView, bh as SaleCapInfo, bi as SaleInfo, bj as SalesChannel, bk as SchedulingMode, bl as SelectedAddOnOption, bm as SemanticKind, bn as SignatureValue, bo as Subscription, bp as SubscriptionInvoice, bq as SubscriptionItem, br as SubscriptionStatus, bs as SubscriptionWithDetails, bt as Tag, bu as TagsResponse, bv as TaxPathComponent, bw as TaxonomyAttributeTemplate, bx as TaxonomyWithChildren, by as UICart, bz as UICartBusiness, bA as UICartCustomer, bB as UICartLocation, bC as UICartPricing, bD as UpcomingSale, bE as UpdateCartItemInput, bF as VariantAxis, bG as VariantAxisSelection, bH as VariantAxisValue, bI as VariantAxisValueView, bJ as VariantAxisView, bK as VariantAxisWithValues, bL as VariantDetails, bM as VariantDetailsDTO, bN as VariantDisplayAttribute, bO as VariantLocationAvailability, bP as VariantStrategy, bQ as VariantView, bR as ZERO, bT as currencyCode, bU as enrichError, bV as getErrorHint, bW as isCimplifyError, bX as isIdempotencyMismatchError, bY as isQuoteConflictRequiringConsent, bZ as isQuoteError, b_ as isRetryableError, b$ as isSupportedCurrency, c0 as money, c1 as moneyFromNumber } from './product-
|
|
5
|
-
export { C as CURRENCY_SYMBOLS, M as MOBILE_MONEY_PROVIDERS, c as categorizePaymentError, d as detectMobileMoneyProvider, f as formatMoney, a as formatNumberCompact, b as formatPrice, e as formatPriceAdjustment, g as formatPriceCompact, h as formatPriceRange, i as formatPriceWithTax, j as formatProductPrice, k as getBasePrice, l as getCurrencySymbol, m as getDiscountPercentage, n as getDisplayPrice, o as getMarkupPercentage, p as getPriceRange, q as getProductCurrency, r as getTaxAmount, s as getUnitPriceAtQuantity, t as hasTaxInfo, u as isOnSale, v as isPaymentStatusFailure, w as isPaymentStatusRequiresAction, x as isPaymentStatusSuccess, y as isTaxInclusive, z as isValidPhoneForContext, A as normalizePaymentResponse, B as normalizePhoneToE164, D as normalizeStatusResponse, E as parsePrice, F as resolvePhoneCountryCode } from './index-
|
|
1
|
+
import { X as ChatReplyCard } from './client-D8XcrONA.mjs';
|
|
2
|
+
export { A as AUTHORIZATION_TYPE, a as AUTH_MUTATION, b as AbortablePromise, c as ActivityRecommendation, d as ActivityRecommendationsResponse, e as ActivityService, f as ActivityStateResponse, g as AddressData, h as AddressInfo, i as AmountToPay, j as AuthResponse, k as AuthService, l as AuthStatus, m as AuthenticatedCustomer, n as AuthenticatedData, o as AutocompletePrediction, p as AutocompleteResponse, q as AvailabilityResult, r as AvailableSlot, B as Booking, s as BookingModificationType, t as BookingStatus, u as BookingWithDetails, v as BufferTimes, w as Business, x as BusinessDetailsDTO, y as BusinessHours, z as BusinessPreferences, C as BusinessService, D as BusinessSettings, E as BusinessWithLocations, F as CHECKOUT_MODE, G as CHECKOUT_MUTATION, H as CHECKOUT_STEP, I as CONTACT_TYPE, J as CacheOptions, K as CancelBookingInput, L as CancelBookingResult, M as CancelOrderInput, N as CancellationPolicy, O as CartOperations, P as CatalogueQueries, Q as CatalogueResult, R as CatalogueSnapshot, S as CategoryInfo, T as ChatAttachment, U as ChatConversation, V as ChatConversationResponse, W as ChatMessage, Y as ChatReplyContext, Z as ChatUploadAttachment, _ as ChatWidgetStarter, $ as CheckSlotAvailabilityInput, a0 as CheckSlotAvailabilityResult, a1 as CheckoutAddressInfo, a2 as CheckoutCartData, a3 as CheckoutCartItem, a4 as CheckoutCustomerInfo, a5 as CheckoutFormData, a6 as CheckoutInput, a7 as CheckoutMode, ab as CheckoutOperations, a8 as CheckoutOrderType, a9 as CheckoutPaymentMethod, aa as CheckoutResult, ab as CheckoutService, ac as CheckoutStatus, ad as CheckoutStatusContext, ae as CheckoutStep, af as CimplifyClient, ag as CimplifyConfig, ah as CimplifyElement, ai as CimplifyElements, aj as ClaimConversationResult, ak as ContactType, al as ContentType, am as CreateAddressInput, an as CreateMobileMoneyInput, ao as Customer, ap as CustomerAddress, aq as CustomerBooking, ar as CustomerBookingServiceItem, as as CustomerLinkPreferences, at as CustomerMobileMoney, au as CustomerServicePreferences, av as DEFAULT_COUNTRY, aw as DEFAULT_CURRENCY, ax as DEVICE_TYPE, ay as DayAvailability, az as DeliveryFeeDetails, aA as DeliveryFeeResponse, aB as DeliveryOption, aC as DeliveryOptionsQuery, aD as DeliveryOptionsResponse, aE as DeliveryService, aF as DepositResult, aG as DeviceType, aH as DismissMessageResponse, aI as ELEMENTS_AUTH_CONTACT_TYPES, aJ as ELEMENTS_AUTH_MODES, aK as ELEMENTS_AUTH_PROMPTS, aL as ELEMENT_TYPES, aM as EVENT_TYPES, aN as ElementAppearance, aO as ElementEventHandler, aP as ElementEventType, aQ as ElementOptions, aR as ElementType, aS as ElementsAuthContactType, aT as ElementsAuthMode, aU as ElementsAuthOptions, aV as ElementsAuthPrompt, aW as ElementsCheckoutData, aX as ElementsCheckoutResult, aY as ElementsCustomerInfo, aZ as ElementsOptions, a_ as EnrichedOrder, a$ as EnrichedOrderItem, b0 as EnrollAndLinkOrderInput, b1 as EnrollAndLinkOrderResult, b2 as EnrollmentData, b3 as Err, b4 as FeeBearerType, b5 as FetchQuoteInput, b6 as FulfillmentLink, b7 as FulfillmentStatus, b8 as FulfillmentSummaryDTO, b9 as FulfillmentType, ba as FxQuote, bb as FxQuoteRequest, bc as FxQuoteStatus, bd as FxRateResponse, be as FxService, bf as GetAvailableSlotsInput, bg as GetDeliveryOptionsParams, bh as GetOrdersOptions, bi as GetProductsOptions, bj as GroupOrderInfo, bk as IframeToParentMessage, bl as InventoryService, bm as LINK_MUTATION, bn as LINK_QUERY, bo as LifecyclePhase, bp as LineItem, bq as LineType, br as LinkData, bs as LinkEnrollResult, bt as LinkService, bu as LinkSession, bv as LinkStatusResult, bw as LiteBootstrap, bx as LiteDayHours, by as LiteHoursRange, bz as LiteService, bA as Location, bB as LocationBooking, bC as LocationTaxBehavior, bD as LocationTaxOverrides, bE as LocationTimeProfile, bF as LocationWithDetails, bG as MESSAGE_TYPES, bH as MOBILE_MONEY_PROVIDER, bI as MobileMoneyData, bJ as MobileMoneyDetails, bK as MobileMoneyProvider, bL as NextAction, bM as ORDER_MUTATION, bN as ORDER_TYPE, bO as ObservabilityHooks, bP as Ok, bQ as Order, bR as OrderCustomerInfo, bS as OrderDiscountInfo, bT as OrderFilter, bU as OrderFulfillmentSummary, bV as OrderGroup, bW as OrderGroupDetails, bX as OrderGroupPayment, bY as OrderGroupPaymentState, bZ as OrderGroupPaymentStatus, b_ as OrderGroupPaymentSummary, b$ as OrderGroupStatus, c0 as OrderHistory, c1 as OrderLineState, c2 as OrderLineStatus, c3 as OrderLocationInfo, c4 as OrderPaymentEvent, c5 as OrderPricingView, c6 as OrderQueries, c7 as OrderSplitDetail, c8 as OrderStaffInfo, c9 as OrderStatus, ca as OrderTimestampsDTO, cb as OrderType, cc as Origin, cd as OriginActor, ce as OriginChannel, cf as OtpResult, cg as PAYMENT_METHOD, ch as PAYMENT_MUTATION, ci as PAYMENT_STATE, cj as PICKUP_TIME_TYPE, ck as ParentToIframeMessage, cl as PaymentInfoDTO, cm as PaymentMethodInfo, cn as PaymentState, co as PickupTime, cp as PickupTimeType, cq as PlaceDetailsResponse, cr as PlacesService, cs as PriceQuote, ct as PricingOverrides, cu as ProcessAndResolveOptions, cv as ProcessCheckoutOptions, cw as ProcessCheckoutResult, cx as ProviderResolutionSource, cy as QuoteBundleSelectionInput, cz as QuoteCompositeSelectionInput, cA as QuoteDynamicBuckets, cB as QuoteStatus, cC as QuoteUiMessage, cD as ReadRequestOptions, cE as RefreshQuoteInput, cF as RefreshQuoteResult, cG as RefundOrderInput, cH as RelatedCandidate, cI as RelatedProduct, cJ as RelatedProductsEnrichment, cK as RelationType, cL as ReminderMethod, cM as ReminderSettings, cN as ReorderResult, cO as RequestContext, cP as RequestErrorEvent, cQ as RequestOptions, cR as RequestOtpInput, cS as RequestSource, cT as RequestStartEvent, cU as RequestSuccessEvent, cV as RescheduleBookingInput, cW as RescheduleBookingResult, cX as RescheduleHistoryRecord, cY as ResourceAssignment, cZ as ResourceInfo, c_ as Result, c$ as RetryEvent, d0 as RevokeAllSessionsResult, d1 as RevokeSessionResult, d2 as Room, d3 as SchedulingMetadata, d4 as SchedulingResult, d5 as SchedulingService, d6 as SenderType, d7 as Service, d8 as ServiceAvailabilityParams, d9 as ServiceAvailabilityResult, da as ServiceCharge, db as ServiceNotes, dc as ServiceScheduleRequest, dd as ServiceStatus, de as SessionActivityData, df as SessionChangeEvent, dg as SessionMessage, dh as SlotResourceInfo, di as SlotStaffInfo, dj as Staff, dk as StaffAssignment, dl as StaffRole, dm as StaffScheduleItem, dn as StockLevel, dp as StockStatus, dq as StoreCreditBalance, dr as StoreCreditQueries, ds as StorefrontBootstrap, dt as SubscriptionService, du as SupportService, dv as Table, dw as TimeRange, dx as TimeRanges, dy as TimeSlot, dz as TrackCategoryViewOptions, dA as TrackProductViewOptions, dB as UpdateAddressInput, dC as UpdateOrderStatusInput, dD as UpdateProfileInput, dE as UploadInitResponse, dF as UploadResult, dG as UploadService, dH as VerifyOtpInput, dI as combine, dJ as combineObject, dK as createCimplifyClient, dL as createElements, dM as err, dN as flatMap, dO as fromPromise, dP as getOrElse, dQ as isErr, dR as isOk, dS as mapError, dT as mapResult, dU as ok, dV as toNullable, dW as tryCatch, dX as unwrap } from './client-D8XcrONA.mjs';
|
|
3
|
+
import { bb as ProductWithDetails, aZ as Product, av as DurationUnit, j as ApiError } from './product-CeV8euw4.mjs';
|
|
4
|
+
export { A as AddOn, a as AddOnDetails, b as AddOnGroupDetails, c as AddOnOption, d as AddOnOptionDetails, e as AddOnOptionPrice, f as AddOnWithOptions, g as AddToCartInput, h as AddressValue, i as AdjustmentType, k as AppliedDiscount, l as AttributeAppliesTo, m as AttributeType, n as AttributeValidationRules, o as AttributeVisibility, B as BOUNDARY_KIND, p as BenefitType, q as BillingFrequency, r as BillingMarkupType, s as BillingPlanType, t as BoundaryKind, u as Bundle, v as BundleComponentData, w as BundleComponentInfo, x as BundleComponentVariantView, y as BundleComponentView, z as BundlePriceType, C as BundleProduct, D as BundleSelectionData, E as BundleSelectionInput, F as BundleStoredSelection, G as BundleSummary, H as BundleWithDetails, I as Cart, J as CartAddOn, K as CartChannel, L as CartItem, M as CartItemDetails, N as CartMutationResult, O as CartNotice, P as CartStatus, Q as CartSummary, R as CartTotals, S as Category, T as CategorySummary, U as ChosenPrice, V as CimplifyError, W as Collection, X as CollectionProduct, Y as CollectionSummary, Z as ComponentGroup, _ as ComponentGroupWithComponents, $ as ComponentPriceBreakdown, a0 as ComponentSchedulingData, a1 as ComponentSelectionInput, a2 as ComponentSourceType, a3 as Composite, a4 as CompositeComponent, a5 as CompositeComponentView, a6 as CompositeGroupView, a7 as CompositePriceBreakdown, a8 as CompositePriceResult, a9 as CompositePricingMode, aa as CompositeSelectionData, a1 as CompositeSelectionInput, ab as CompositeStoredSelection, ac as CompositeWithDetails, ad as CurrencyCode, ae as CustomAttributeDefinition, af as CustomAttributeValue, ag as CustomerInputValue, ah as DURATION_UNIT, ai as DateRangeValue, aj as Deal, ak as DealBenefitType, al as DepositType, am as DigitalProductType, an as DiscountBreakdown, ao as DiscountDetails, ap as DiscountValidation, aq as DisplayAddOn, ar as DisplayAddOnOption, as as DisplayCart, at as DisplayCartItem, au as DisplayMode, aw as ERROR_HINTS, ax as EligiblePlansQuery, ay as ErrorCode, az as ErrorCodeType, aA as ErrorHint, aB as FacetValue, aC as FormattedPlanOption, aD as GroupPricingBehavior, aE as INPUT_FIELD_TYPE, aF as IdempotencyMismatchError, aG as InputFieldType, aH as InputFieldValidation, aI as InventoryType, aJ as KnowledgeArticle, aK as LineConfiguration, aL as LocationProductPrice, aM as LocationValue, aN as MeasurementValue, aO as Money, aP as PRODUCT_TYPE, aQ as Pagination, aR as PaginationParams, aS as PhoneValue, aT as Price, aU as PriceAdjustment, aV as PriceDecisionPath, aW as PriceEntryType, aX as PricePathTaxInfo, aY as PriceSource, a_ as ProductAddOn, a$ as ProductAvailability, b0 as ProductAvailabilityNow, b1 as ProductBillingPlan, b2 as ProductDealInfo, b3 as ProductInputField, b4 as ProductProperty, b5 as ProductRenderHint, b6 as ProductTaxonomy, b7 as ProductTimeProfile, b8 as ProductType, b9 as ProductVariant, ba as ProductVariantValue, bc as PropertyFacet, bd as PropertySource, be as QuantityPricingTier, bf as RENDER_HINT, bg as RelatedProductView, bh as SaleCapInfo, bi as SaleInfo, bj as SalesChannel, bk as SchedulingMode, bl as SelectedAddOnOption, bm as SemanticKind, bn as SignatureValue, bo as Subscription, bp as SubscriptionInvoice, bq as SubscriptionItem, br as SubscriptionStatus, bs as SubscriptionWithDetails, bt as Tag, bu as TagsResponse, bv as TaxPathComponent, bw as TaxonomyAttributeTemplate, bx as TaxonomyWithChildren, by as UICart, bz as UICartBusiness, bA as UICartCustomer, bB as UICartLocation, bC as UICartPricing, bD as UpcomingSale, bE as UpdateCartItemInput, bF as VariantAxis, bG as VariantAxisSelection, bH as VariantAxisValue, bI as VariantAxisValueView, bJ as VariantAxisView, bK as VariantAxisWithValues, bL as VariantDetails, bM as VariantDetailsDTO, bN as VariantDisplayAttribute, bO as VariantLocationAvailability, bP as VariantStrategy, bQ as VariantView, bR as ZERO, bT as currencyCode, bU as enrichError, bV as getErrorHint, bW as isCimplifyError, bX as isIdempotencyMismatchError, bY as isQuoteConflictRequiringConsent, bZ as isQuoteError, b_ as isRetryableError, b$ as isSupportedCurrency, c0 as money, c1 as moneyFromNumber } from './product-CeV8euw4.mjs';
|
|
5
|
+
export { C as CURRENCY_SYMBOLS, M as MOBILE_MONEY_PROVIDERS, c as categorizePaymentError, d as detectMobileMoneyProvider, f as formatMoney, a as formatNumberCompact, b as formatPrice, e as formatPriceAdjustment, g as formatPriceCompact, h as formatPriceRange, i as formatPriceWithTax, j as formatProductPrice, k as getBasePrice, l as getCurrencySymbol, m as getDiscountPercentage, n as getDisplayPrice, o as getMarkupPercentage, p as getPriceRange, q as getProductCurrency, r as getTaxAmount, s as getUnitPriceAtQuantity, t as hasTaxInfo, u as isOnSale, v as isPaymentStatusFailure, w as isPaymentStatusRequiresAction, x as isPaymentStatusSuccess, y as isTaxInclusive, z as isValidPhoneForContext, A as normalizePaymentResponse, B as normalizePhoneToE164, D as normalizeStatusResponse, E as parsePrice, F as resolvePhoneCountryCode } from './index-D-LUYk1Y.mjs';
|
|
6
6
|
export { A as AdConfig, a as AdContextValue, b as AdCreative, c as AdPosition, d as AdSlot, e as AdTheme, S as SignInOptions, g as getVariantDisplayName, s as startSignIn } from './sign-in-DQlIdqsi.mjs';
|
|
7
|
-
export { A as AddressAuthorizationData, a as AuthorizationType, I as InitializePaymentResult, P as Payment, b as PaymentErrorDetails, c as PaymentMethod, d as PaymentMethodType, e as PaymentProcessingState, f as PaymentProvider, g as PaymentResponse, h as PaymentStatus, i as PaymentStatusResponse, S as SubmitAuthorizationInput } from './payment-
|
|
8
|
-
export { F as FormatCompactOptions, a as FormatPriceOptions, P as ProductWithPrice } from './price-
|
|
7
|
+
export { A as AddressAuthorizationData, a as AuthorizationType, I as InitializePaymentResult, P as Payment, b as PaymentErrorDetails, c as PaymentMethod, d as PaymentMethodType, e as PaymentProcessingState, f as PaymentProvider, g as PaymentResponse, h as PaymentStatus, i as PaymentStatusResponse, S as SubmitAuthorizationInput } from './payment-BSzy7sly.mjs';
|
|
8
|
+
export { F as FormatCompactOptions, a as FormatPriceOptions, P as ProductWithPrice } from './price-D96h6c6L.mjs';
|
|
9
9
|
export { generateIdempotencyKey } from './advanced.mjs';
|
|
10
10
|
import 'libphonenumber-js';
|
|
11
11
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { X as ChatReplyCard } from './client-
|
|
2
|
-
export { A as AUTHORIZATION_TYPE, a as AUTH_MUTATION, b as AbortablePromise, c as ActivityRecommendation, d as ActivityRecommendationsResponse, e as ActivityService, f as ActivityStateResponse, g as AddressData, h as AddressInfo, i as AmountToPay, j as AuthResponse, k as AuthService, l as AuthStatus, m as AuthenticatedCustomer, n as AuthenticatedData, o as AutocompletePrediction, p as AutocompleteResponse, q as AvailabilityResult, r as AvailableSlot, B as Booking, s as BookingModificationType, t as BookingStatus, u as BookingWithDetails, v as BufferTimes, w as Business, x as BusinessDetailsDTO, y as BusinessHours, z as BusinessPreferences, C as BusinessService, D as BusinessSettings, E as BusinessWithLocations, F as CHECKOUT_MODE, G as CHECKOUT_MUTATION, H as CHECKOUT_STEP, I as CONTACT_TYPE, J as CacheOptions, K as CancelBookingInput, L as CancelBookingResult, M as CancelOrderInput, N as CancellationPolicy, O as CartOperations, P as CatalogueQueries, Q as CatalogueResult, R as CatalogueSnapshot, S as CategoryInfo, T as ChatAttachment, U as ChatConversation, V as ChatConversationResponse, W as ChatMessage, Y as ChatReplyContext, Z as ChatUploadAttachment, _ as ChatWidgetStarter, $ as CheckSlotAvailabilityInput, a0 as CheckSlotAvailabilityResult, a1 as CheckoutAddressInfo, a2 as CheckoutCartData, a3 as CheckoutCartItem, a4 as CheckoutCustomerInfo, a5 as CheckoutFormData, a6 as CheckoutInput, a7 as CheckoutMode, ab as CheckoutOperations, a8 as CheckoutOrderType, a9 as CheckoutPaymentMethod, aa as CheckoutResult, ab as CheckoutService, ac as CheckoutStatus, ad as CheckoutStatusContext, ae as CheckoutStep, af as CimplifyClient, ag as CimplifyConfig, ah as CimplifyElement, ai as CimplifyElements, aj as ClaimConversationResult, ak as ContactType, al as ContentType, am as CreateAddressInput, an as CreateMobileMoneyInput, ao as Customer, ap as CustomerAddress, aq as CustomerBooking, ar as CustomerBookingServiceItem, as as CustomerLinkPreferences, at as CustomerMobileMoney, au as CustomerServicePreferences, av as DEFAULT_COUNTRY, aw as DEFAULT_CURRENCY, ax as DEVICE_TYPE, ay as DayAvailability, az as DeliveryFeeDetails, aA as DeliveryFeeResponse, aB as DeliveryOption, aC as
|
|
3
|
-
import { bb as ProductWithDetails, aZ as Product, av as DurationUnit, j as ApiError } from './product-
|
|
4
|
-
export { A as AddOn, a as AddOnDetails, b as AddOnGroupDetails, c as AddOnOption, d as AddOnOptionDetails, e as AddOnOptionPrice, f as AddOnWithOptions, g as AddToCartInput, h as AddressValue, i as AdjustmentType, k as AppliedDiscount, l as AttributeAppliesTo, m as AttributeType, n as AttributeValidationRules, o as AttributeVisibility, B as BOUNDARY_KIND, p as BenefitType, q as BillingFrequency, r as BillingMarkupType, s as BillingPlanType, t as BoundaryKind, u as Bundle, v as BundleComponentData, w as BundleComponentInfo, x as BundleComponentVariantView, y as BundleComponentView, z as BundlePriceType, C as BundleProduct, D as BundleSelectionData, E as BundleSelectionInput, F as BundleStoredSelection, G as BundleSummary, H as BundleWithDetails, I as Cart, J as CartAddOn, K as CartChannel, L as CartItem, M as CartItemDetails, N as CartMutationResult, O as CartNotice, P as CartStatus, Q as CartSummary, R as CartTotals, S as Category, T as CategorySummary, U as ChosenPrice, V as CimplifyError, W as Collection, X as CollectionProduct, Y as CollectionSummary, Z as ComponentGroup, _ as ComponentGroupWithComponents, $ as ComponentPriceBreakdown, a0 as ComponentSchedulingData, a1 as ComponentSelectionInput, a2 as ComponentSourceType, a3 as Composite, a4 as CompositeComponent, a5 as CompositeComponentView, a6 as CompositeGroupView, a7 as CompositePriceBreakdown, a8 as CompositePriceResult, a9 as CompositePricingMode, aa as CompositeSelectionData, a1 as CompositeSelectionInput, ab as CompositeStoredSelection, ac as CompositeWithDetails, ad as CurrencyCode, ae as CustomAttributeDefinition, af as CustomAttributeValue, ag as CustomerInputValue, ah as DURATION_UNIT, ai as DateRangeValue, aj as Deal, ak as DealBenefitType, al as DepositType, am as DigitalProductType, an as DiscountBreakdown, ao as DiscountDetails, ap as DiscountValidation, aq as DisplayAddOn, ar as DisplayAddOnOption, as as DisplayCart, at as DisplayCartItem, au as DisplayMode, aw as ERROR_HINTS, ax as EligiblePlansQuery, ay as ErrorCode, az as ErrorCodeType, aA as ErrorHint, aB as FacetValue, aC as FormattedPlanOption, aD as GroupPricingBehavior, aE as INPUT_FIELD_TYPE, aF as IdempotencyMismatchError, aG as InputFieldType, aH as InputFieldValidation, aI as InventoryType, aJ as KnowledgeArticle, aK as LineConfiguration, aL as LocationProductPrice, aM as LocationValue, aN as MeasurementValue, aO as Money, aP as PRODUCT_TYPE, aQ as Pagination, aR as PaginationParams, aS as PhoneValue, aT as Price, aU as PriceAdjustment, aV as PriceDecisionPath, aW as PriceEntryType, aX as PricePathTaxInfo, aY as PriceSource, a_ as ProductAddOn, a$ as ProductAvailability, b0 as ProductAvailabilityNow, b1 as ProductBillingPlan, b2 as ProductDealInfo, b3 as ProductInputField, b4 as ProductProperty, b5 as ProductRenderHint, b6 as ProductTaxonomy, b7 as ProductTimeProfile, b8 as ProductType, b9 as ProductVariant, ba as ProductVariantValue, bc as PropertyFacet, bd as PropertySource, be as QuantityPricingTier, bf as RENDER_HINT, bg as RelatedProductView, bh as SaleCapInfo, bi as SaleInfo, bj as SalesChannel, bk as SchedulingMode, bl as SelectedAddOnOption, bm as SemanticKind, bn as SignatureValue, bo as Subscription, bp as SubscriptionInvoice, bq as SubscriptionItem, br as SubscriptionStatus, bs as SubscriptionWithDetails, bt as Tag, bu as TagsResponse, bv as TaxPathComponent, bw as TaxonomyAttributeTemplate, bx as TaxonomyWithChildren, by as UICart, bz as UICartBusiness, bA as UICartCustomer, bB as UICartLocation, bC as UICartPricing, bD as UpcomingSale, bE as UpdateCartItemInput, bF as VariantAxis, bG as VariantAxisSelection, bH as VariantAxisValue, bI as VariantAxisValueView, bJ as VariantAxisView, bK as VariantAxisWithValues, bL as VariantDetails, bM as VariantDetailsDTO, bN as VariantDisplayAttribute, bO as VariantLocationAvailability, bP as VariantStrategy, bQ as VariantView, bR as ZERO, bT as currencyCode, bU as enrichError, bV as getErrorHint, bW as isCimplifyError, bX as isIdempotencyMismatchError, bY as isQuoteConflictRequiringConsent, bZ as isQuoteError, b_ as isRetryableError, b$ as isSupportedCurrency, c0 as money, c1 as moneyFromNumber } from './product-
|
|
5
|
-
export { C as CURRENCY_SYMBOLS, M as MOBILE_MONEY_PROVIDERS, c as categorizePaymentError, d as detectMobileMoneyProvider, f as formatMoney, a as formatNumberCompact, b as formatPrice, e as formatPriceAdjustment, g as formatPriceCompact, h as formatPriceRange, i as formatPriceWithTax, j as formatProductPrice, k as getBasePrice, l as getCurrencySymbol, m as getDiscountPercentage, n as getDisplayPrice, o as getMarkupPercentage, p as getPriceRange, q as getProductCurrency, r as getTaxAmount, s as getUnitPriceAtQuantity, t as hasTaxInfo, u as isOnSale, v as isPaymentStatusFailure, w as isPaymentStatusRequiresAction, x as isPaymentStatusSuccess, y as isTaxInclusive, z as isValidPhoneForContext, A as normalizePaymentResponse, B as normalizePhoneToE164, D as normalizeStatusResponse, E as parsePrice, F as resolvePhoneCountryCode } from './index-
|
|
1
|
+
import { X as ChatReplyCard } from './client-LPg_AUUr.js';
|
|
2
|
+
export { A as AUTHORIZATION_TYPE, a as AUTH_MUTATION, b as AbortablePromise, c as ActivityRecommendation, d as ActivityRecommendationsResponse, e as ActivityService, f as ActivityStateResponse, g as AddressData, h as AddressInfo, i as AmountToPay, j as AuthResponse, k as AuthService, l as AuthStatus, m as AuthenticatedCustomer, n as AuthenticatedData, o as AutocompletePrediction, p as AutocompleteResponse, q as AvailabilityResult, r as AvailableSlot, B as Booking, s as BookingModificationType, t as BookingStatus, u as BookingWithDetails, v as BufferTimes, w as Business, x as BusinessDetailsDTO, y as BusinessHours, z as BusinessPreferences, C as BusinessService, D as BusinessSettings, E as BusinessWithLocations, F as CHECKOUT_MODE, G as CHECKOUT_MUTATION, H as CHECKOUT_STEP, I as CONTACT_TYPE, J as CacheOptions, K as CancelBookingInput, L as CancelBookingResult, M as CancelOrderInput, N as CancellationPolicy, O as CartOperations, P as CatalogueQueries, Q as CatalogueResult, R as CatalogueSnapshot, S as CategoryInfo, T as ChatAttachment, U as ChatConversation, V as ChatConversationResponse, W as ChatMessage, Y as ChatReplyContext, Z as ChatUploadAttachment, _ as ChatWidgetStarter, $ as CheckSlotAvailabilityInput, a0 as CheckSlotAvailabilityResult, a1 as CheckoutAddressInfo, a2 as CheckoutCartData, a3 as CheckoutCartItem, a4 as CheckoutCustomerInfo, a5 as CheckoutFormData, a6 as CheckoutInput, a7 as CheckoutMode, ab as CheckoutOperations, a8 as CheckoutOrderType, a9 as CheckoutPaymentMethod, aa as CheckoutResult, ab as CheckoutService, ac as CheckoutStatus, ad as CheckoutStatusContext, ae as CheckoutStep, af as CimplifyClient, ag as CimplifyConfig, ah as CimplifyElement, ai as CimplifyElements, aj as ClaimConversationResult, ak as ContactType, al as ContentType, am as CreateAddressInput, an as CreateMobileMoneyInput, ao as Customer, ap as CustomerAddress, aq as CustomerBooking, ar as CustomerBookingServiceItem, as as CustomerLinkPreferences, at as CustomerMobileMoney, au as CustomerServicePreferences, av as DEFAULT_COUNTRY, aw as DEFAULT_CURRENCY, ax as DEVICE_TYPE, ay as DayAvailability, az as DeliveryFeeDetails, aA as DeliveryFeeResponse, aB as DeliveryOption, aC as DeliveryOptionsQuery, aD as DeliveryOptionsResponse, aE as DeliveryService, aF as DepositResult, aG as DeviceType, aH as DismissMessageResponse, aI as ELEMENTS_AUTH_CONTACT_TYPES, aJ as ELEMENTS_AUTH_MODES, aK as ELEMENTS_AUTH_PROMPTS, aL as ELEMENT_TYPES, aM as EVENT_TYPES, aN as ElementAppearance, aO as ElementEventHandler, aP as ElementEventType, aQ as ElementOptions, aR as ElementType, aS as ElementsAuthContactType, aT as ElementsAuthMode, aU as ElementsAuthOptions, aV as ElementsAuthPrompt, aW as ElementsCheckoutData, aX as ElementsCheckoutResult, aY as ElementsCustomerInfo, aZ as ElementsOptions, a_ as EnrichedOrder, a$ as EnrichedOrderItem, b0 as EnrollAndLinkOrderInput, b1 as EnrollAndLinkOrderResult, b2 as EnrollmentData, b3 as Err, b4 as FeeBearerType, b5 as FetchQuoteInput, b6 as FulfillmentLink, b7 as FulfillmentStatus, b8 as FulfillmentSummaryDTO, b9 as FulfillmentType, ba as FxQuote, bb as FxQuoteRequest, bc as FxQuoteStatus, bd as FxRateResponse, be as FxService, bf as GetAvailableSlotsInput, bg as GetDeliveryOptionsParams, bh as GetOrdersOptions, bi as GetProductsOptions, bj as GroupOrderInfo, bk as IframeToParentMessage, bl as InventoryService, bm as LINK_MUTATION, bn as LINK_QUERY, bo as LifecyclePhase, bp as LineItem, bq as LineType, br as LinkData, bs as LinkEnrollResult, bt as LinkService, bu as LinkSession, bv as LinkStatusResult, bw as LiteBootstrap, bx as LiteDayHours, by as LiteHoursRange, bz as LiteService, bA as Location, bB as LocationBooking, bC as LocationTaxBehavior, bD as LocationTaxOverrides, bE as LocationTimeProfile, bF as LocationWithDetails, bG as MESSAGE_TYPES, bH as MOBILE_MONEY_PROVIDER, bI as MobileMoneyData, bJ as MobileMoneyDetails, bK as MobileMoneyProvider, bL as NextAction, bM as ORDER_MUTATION, bN as ORDER_TYPE, bO as ObservabilityHooks, bP as Ok, bQ as Order, bR as OrderCustomerInfo, bS as OrderDiscountInfo, bT as OrderFilter, bU as OrderFulfillmentSummary, bV as OrderGroup, bW as OrderGroupDetails, bX as OrderGroupPayment, bY as OrderGroupPaymentState, bZ as OrderGroupPaymentStatus, b_ as OrderGroupPaymentSummary, b$ as OrderGroupStatus, c0 as OrderHistory, c1 as OrderLineState, c2 as OrderLineStatus, c3 as OrderLocationInfo, c4 as OrderPaymentEvent, c5 as OrderPricingView, c6 as OrderQueries, c7 as OrderSplitDetail, c8 as OrderStaffInfo, c9 as OrderStatus, ca as OrderTimestampsDTO, cb as OrderType, cc as Origin, cd as OriginActor, ce as OriginChannel, cf as OtpResult, cg as PAYMENT_METHOD, ch as PAYMENT_MUTATION, ci as PAYMENT_STATE, cj as PICKUP_TIME_TYPE, ck as ParentToIframeMessage, cl as PaymentInfoDTO, cm as PaymentMethodInfo, cn as PaymentState, co as PickupTime, cp as PickupTimeType, cq as PlaceDetailsResponse, cr as PlacesService, cs as PriceQuote, ct as PricingOverrides, cu as ProcessAndResolveOptions, cv as ProcessCheckoutOptions, cw as ProcessCheckoutResult, cx as ProviderResolutionSource, cy as QuoteBundleSelectionInput, cz as QuoteCompositeSelectionInput, cA as QuoteDynamicBuckets, cB as QuoteStatus, cC as QuoteUiMessage, cD as ReadRequestOptions, cE as RefreshQuoteInput, cF as RefreshQuoteResult, cG as RefundOrderInput, cH as RelatedCandidate, cI as RelatedProduct, cJ as RelatedProductsEnrichment, cK as RelationType, cL as ReminderMethod, cM as ReminderSettings, cN as ReorderResult, cO as RequestContext, cP as RequestErrorEvent, cQ as RequestOptions, cR as RequestOtpInput, cS as RequestSource, cT as RequestStartEvent, cU as RequestSuccessEvent, cV as RescheduleBookingInput, cW as RescheduleBookingResult, cX as RescheduleHistoryRecord, cY as ResourceAssignment, cZ as ResourceInfo, c_ as Result, c$ as RetryEvent, d0 as RevokeAllSessionsResult, d1 as RevokeSessionResult, d2 as Room, d3 as SchedulingMetadata, d4 as SchedulingResult, d5 as SchedulingService, d6 as SenderType, d7 as Service, d8 as ServiceAvailabilityParams, d9 as ServiceAvailabilityResult, da as ServiceCharge, db as ServiceNotes, dc as ServiceScheduleRequest, dd as ServiceStatus, de as SessionActivityData, df as SessionChangeEvent, dg as SessionMessage, dh as SlotResourceInfo, di as SlotStaffInfo, dj as Staff, dk as StaffAssignment, dl as StaffRole, dm as StaffScheduleItem, dn as StockLevel, dp as StockStatus, dq as StoreCreditBalance, dr as StoreCreditQueries, ds as StorefrontBootstrap, dt as SubscriptionService, du as SupportService, dv as Table, dw as TimeRange, dx as TimeRanges, dy as TimeSlot, dz as TrackCategoryViewOptions, dA as TrackProductViewOptions, dB as UpdateAddressInput, dC as UpdateOrderStatusInput, dD as UpdateProfileInput, dE as UploadInitResponse, dF as UploadResult, dG as UploadService, dH as VerifyOtpInput, dI as combine, dJ as combineObject, dK as createCimplifyClient, dL as createElements, dM as err, dN as flatMap, dO as fromPromise, dP as getOrElse, dQ as isErr, dR as isOk, dS as mapError, dT as mapResult, dU as ok, dV as toNullable, dW as tryCatch, dX as unwrap } from './client-LPg_AUUr.js';
|
|
3
|
+
import { bb as ProductWithDetails, aZ as Product, av as DurationUnit, j as ApiError } from './product-CeV8euw4.js';
|
|
4
|
+
export { A as AddOn, a as AddOnDetails, b as AddOnGroupDetails, c as AddOnOption, d as AddOnOptionDetails, e as AddOnOptionPrice, f as AddOnWithOptions, g as AddToCartInput, h as AddressValue, i as AdjustmentType, k as AppliedDiscount, l as AttributeAppliesTo, m as AttributeType, n as AttributeValidationRules, o as AttributeVisibility, B as BOUNDARY_KIND, p as BenefitType, q as BillingFrequency, r as BillingMarkupType, s as BillingPlanType, t as BoundaryKind, u as Bundle, v as BundleComponentData, w as BundleComponentInfo, x as BundleComponentVariantView, y as BundleComponentView, z as BundlePriceType, C as BundleProduct, D as BundleSelectionData, E as BundleSelectionInput, F as BundleStoredSelection, G as BundleSummary, H as BundleWithDetails, I as Cart, J as CartAddOn, K as CartChannel, L as CartItem, M as CartItemDetails, N as CartMutationResult, O as CartNotice, P as CartStatus, Q as CartSummary, R as CartTotals, S as Category, T as CategorySummary, U as ChosenPrice, V as CimplifyError, W as Collection, X as CollectionProduct, Y as CollectionSummary, Z as ComponentGroup, _ as ComponentGroupWithComponents, $ as ComponentPriceBreakdown, a0 as ComponentSchedulingData, a1 as ComponentSelectionInput, a2 as ComponentSourceType, a3 as Composite, a4 as CompositeComponent, a5 as CompositeComponentView, a6 as CompositeGroupView, a7 as CompositePriceBreakdown, a8 as CompositePriceResult, a9 as CompositePricingMode, aa as CompositeSelectionData, a1 as CompositeSelectionInput, ab as CompositeStoredSelection, ac as CompositeWithDetails, ad as CurrencyCode, ae as CustomAttributeDefinition, af as CustomAttributeValue, ag as CustomerInputValue, ah as DURATION_UNIT, ai as DateRangeValue, aj as Deal, ak as DealBenefitType, al as DepositType, am as DigitalProductType, an as DiscountBreakdown, ao as DiscountDetails, ap as DiscountValidation, aq as DisplayAddOn, ar as DisplayAddOnOption, as as DisplayCart, at as DisplayCartItem, au as DisplayMode, aw as ERROR_HINTS, ax as EligiblePlansQuery, ay as ErrorCode, az as ErrorCodeType, aA as ErrorHint, aB as FacetValue, aC as FormattedPlanOption, aD as GroupPricingBehavior, aE as INPUT_FIELD_TYPE, aF as IdempotencyMismatchError, aG as InputFieldType, aH as InputFieldValidation, aI as InventoryType, aJ as KnowledgeArticle, aK as LineConfiguration, aL as LocationProductPrice, aM as LocationValue, aN as MeasurementValue, aO as Money, aP as PRODUCT_TYPE, aQ as Pagination, aR as PaginationParams, aS as PhoneValue, aT as Price, aU as PriceAdjustment, aV as PriceDecisionPath, aW as PriceEntryType, aX as PricePathTaxInfo, aY as PriceSource, a_ as ProductAddOn, a$ as ProductAvailability, b0 as ProductAvailabilityNow, b1 as ProductBillingPlan, b2 as ProductDealInfo, b3 as ProductInputField, b4 as ProductProperty, b5 as ProductRenderHint, b6 as ProductTaxonomy, b7 as ProductTimeProfile, b8 as ProductType, b9 as ProductVariant, ba as ProductVariantValue, bc as PropertyFacet, bd as PropertySource, be as QuantityPricingTier, bf as RENDER_HINT, bg as RelatedProductView, bh as SaleCapInfo, bi as SaleInfo, bj as SalesChannel, bk as SchedulingMode, bl as SelectedAddOnOption, bm as SemanticKind, bn as SignatureValue, bo as Subscription, bp as SubscriptionInvoice, bq as SubscriptionItem, br as SubscriptionStatus, bs as SubscriptionWithDetails, bt as Tag, bu as TagsResponse, bv as TaxPathComponent, bw as TaxonomyAttributeTemplate, bx as TaxonomyWithChildren, by as UICart, bz as UICartBusiness, bA as UICartCustomer, bB as UICartLocation, bC as UICartPricing, bD as UpcomingSale, bE as UpdateCartItemInput, bF as VariantAxis, bG as VariantAxisSelection, bH as VariantAxisValue, bI as VariantAxisValueView, bJ as VariantAxisView, bK as VariantAxisWithValues, bL as VariantDetails, bM as VariantDetailsDTO, bN as VariantDisplayAttribute, bO as VariantLocationAvailability, bP as VariantStrategy, bQ as VariantView, bR as ZERO, bT as currencyCode, bU as enrichError, bV as getErrorHint, bW as isCimplifyError, bX as isIdempotencyMismatchError, bY as isQuoteConflictRequiringConsent, bZ as isQuoteError, b_ as isRetryableError, b$ as isSupportedCurrency, c0 as money, c1 as moneyFromNumber } from './product-CeV8euw4.js';
|
|
5
|
+
export { C as CURRENCY_SYMBOLS, M as MOBILE_MONEY_PROVIDERS, c as categorizePaymentError, d as detectMobileMoneyProvider, f as formatMoney, a as formatNumberCompact, b as formatPrice, e as formatPriceAdjustment, g as formatPriceCompact, h as formatPriceRange, i as formatPriceWithTax, j as formatProductPrice, k as getBasePrice, l as getCurrencySymbol, m as getDiscountPercentage, n as getDisplayPrice, o as getMarkupPercentage, p as getPriceRange, q as getProductCurrency, r as getTaxAmount, s as getUnitPriceAtQuantity, t as hasTaxInfo, u as isOnSale, v as isPaymentStatusFailure, w as isPaymentStatusRequiresAction, x as isPaymentStatusSuccess, y as isTaxInclusive, z as isValidPhoneForContext, A as normalizePaymentResponse, B as normalizePhoneToE164, D as normalizeStatusResponse, E as parsePrice, F as resolvePhoneCountryCode } from './index-B_RYmvlF.js';
|
|
6
6
|
export { A as AdConfig, a as AdContextValue, b as AdCreative, c as AdPosition, d as AdSlot, e as AdTheme, S as SignInOptions, g as getVariantDisplayName, s as startSignIn } from './sign-in-DQlIdqsi.js';
|
|
7
|
-
export { A as AddressAuthorizationData, a as AuthorizationType, I as InitializePaymentResult, P as Payment, b as PaymentErrorDetails, c as PaymentMethod, d as PaymentMethodType, e as PaymentProcessingState, f as PaymentProvider, g as PaymentResponse, h as PaymentStatus, i as PaymentStatusResponse, S as SubmitAuthorizationInput } from './payment-
|
|
8
|
-
export { F as FormatCompactOptions, a as FormatPriceOptions, P as ProductWithPrice } from './price-
|
|
7
|
+
export { A as AddressAuthorizationData, a as AuthorizationType, I as InitializePaymentResult, P as Payment, b as PaymentErrorDetails, c as PaymentMethod, d as PaymentMethodType, e as PaymentProcessingState, f as PaymentProvider, g as PaymentResponse, h as PaymentStatus, i as PaymentStatusResponse, S as SubmitAuthorizationInput } from './payment-jK8ztICx.js';
|
|
8
|
+
export { F as FormatCompactOptions, a as FormatPriceOptions, P as ProductWithPrice } from './price-CJLfcYKd.js';
|
|
9
9
|
export { generateIdempotencyKey } from './advanced.js';
|
|
10
10
|
import 'libphonenumber-js';
|
|
11
11
|
|