@cimplify/sdk 0.107.1 → 0.108.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/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/{catalogue-AmW4XjaN.d.ts → catalogue-B4eLL8Mi.d.ts} +1 -1
- package/dist/{catalogue-rWd71Xi-.d.mts → catalogue-OT89_Ifs.d.mts} +1 -1
- package/dist/{chunk-THSYGWUA.js → chunk-5QW7CQBA.js} +2 -2
- package/dist/{chunk-CEML2737.js → chunk-EDK3LNM6.js} +87 -87
- package/dist/{chunk-ONII7K3T.js → chunk-F7J3HK27.js} +34 -0
- package/dist/{chunk-NZMU7UUA.mjs → chunk-JVODCGFP.mjs} +1 -1
- package/dist/{chunk-T4OU77DM.mjs → chunk-SUCE7FWA.mjs} +1 -1
- package/dist/{chunk-OTPLI3JY.mjs → chunk-U6ACF76H.mjs} +35 -2
- package/dist/{client-ni-CfOSO.d.ts → client-B878xeAP.d.ts} +2 -2
- package/dist/{client-DlTJ2hUM.d.mts → client-BSP9U1O1.d.mts} +2 -2
- package/dist/{elements-BF1Y4aOi.d.mts → elements-Bty6Qs_N.d.mts} +26 -1
- package/dist/{elements-BF1Y4aOi.d.ts → elements-Bty6Qs_N.d.ts} +26 -1
- package/dist/{index-CZ0bJm6k.d.ts → index-B7oA_1XI.d.ts} +2 -2
- package/dist/{index-DML_W635.d.mts → index-CQStGb3B.d.mts} +2 -2
- package/dist/{index-DU7vffby.d.ts → index-DJwXmoaP.d.ts} +2 -2
- package/dist/{index-DopYJKDL.d.mts → index-DhUSTAhT.d.mts} +2 -2
- package/dist/index.d.mts +21 -8
- package/dist/index.d.ts +21 -8
- package/dist/index.js +72 -68
- package/dist/index.mjs +3 -3
- package/dist/{price-DI_U5oXU.d.mts → price-CSztR02F.d.mts} +1 -1
- package/dist/{price-B5t2mpsE.d.ts → price-C_vasx9A.d.ts} +1 -1
- package/dist/react.d.mts +3 -3
- package/dist/react.d.ts +3 -3
- package/dist/react.js +31 -31
- package/dist/react.mjs +2 -2
- package/dist/{server-BItJAUTD.d.ts → server-B6dW7-Lj.d.mts} +1 -1
- package/dist/{server-Dq70vD7z.d.mts → server-Dckg4Vdr.d.ts} +1 -1
- package/dist/server.d.mts +3 -3
- package/dist/server.d.ts +3 -3
- 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/suite.d.mts +5 -5
- package/dist/testing/suite.d.ts +5 -5
- package/dist/testing/suite.js +23 -23
- package/dist/testing/suite.mjs +3 -3
- package/dist/testing.d.mts +4 -4
- package/dist/testing.d.ts +4 -4
- package/dist/testing.js +115 -115
- package/dist/testing.mjs +4 -4
- package/dist/utils.d.mts +3 -3
- package/dist/utils.d.ts +3 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { P as PaymentAuthorizationAdapter, c as PaymentAuthorizationContext, d as PaymentAuthorizationOutcome, e as ChatReplyCard } from './catalogue-
|
|
2
|
-
export { A as ActivityRecommendation, f as ActivityRecommendationsResponse, g as ActivityService, h as ActivityStateResponse, i as AmountToPay, j as AuthService, k as AuthStatus, l as AuthorizeCardPopupOptions, m as AutocompletePrediction, n as AutocompleteResponse, o as AvailabilityResult, p as AvailableSlot, B as Booking, q as BookingModificationType, r as BookingStatus, s as BookingWithDetails, t as BufferTimes, u as Business, v as BusinessDetailsDTO, w as BusinessHours, x as BusinessPreferences, y as BusinessService, z as BusinessSettings, D as BusinessWithLocations, a as CacheOptions, E as CancelBookingInput, F as CancelBookingResult, G as CancelOrderInput, H as CancellationPolicy, I as CardPopupAction, J as CartOperations, K as CatalogueQueries, L as CatalogueResult, M as CatalogueSnapshot, N as CategoryInfo, O as ChatAttachment, Q as ChatConversation, S as ChatConversationResponse, T as ChatMessage, U as ChatReplyContext, V as ChatUploadAttachment, W as ChatWidgetStarter, X as CheckSlotAvailabilityInput, Y as CheckSlotAvailabilityResult, Z as CheckoutInput, _ as CheckoutOperations, _ as CheckoutService, C as CimplifyClient, $ as CimplifyConfig, a0 as CimplifyElement, a1 as CimplifyElements, a2 as ClaimExternalChatsResult, a3 as ClaimSessionResult, a4 as ContentType, a5 as CustomerBooking, a6 as CustomerBookingServiceItem, a7 as CustomerServicePreferences, a8 as DayAvailability, a9 as DeliveryFeeDetails, aa as DeliveryFeeResponse, ab as DeliveryFeeStatus, ac as DeliveryOption, ad as DeliveryOptionsQuery, ae as DeliveryOptionsResponse, af as DeliveryService, ag as DepositResult, ah as DismissMessageResponse, ai as EnrichedOrder, aj as EnrichedOrderItem, ak as Err, al as ExternalChatClaimAttempt, am as ExternalChatClaimDisposition, an as FeeBearerType, ao as FetchQuoteInput, ap as FulfillmentLink, aq as FulfillmentStatus, ar as FulfillmentSummaryDTO, as as FulfillmentType, at as FxQuote, au as FxQuoteRequest, av as FxQuoteStatus, aw as FxRateResponse, ax as FxService, ay as GetAvailableSlotsInput, az as GetDeliveryOptionsParams, aA as GetOrdersOptions, aB as GetProductsOptions, aC as GroupOrderInfo, aD as HostedPurchaseIntentService, aE as InventoryService, aF as LifecyclePhase, aG as LineItem, aH as LineType, aI as LinkService, aJ as LiteBootstrap, aK as LiteDayHours, aL as LiteHoursRange, aM as LiteService, aN as Location, aO as LocationBooking, aP as LocationTaxBehavior, aQ as LocationTaxOverrides, aR as LocationTimeProfile, aS as LocationWithDetails, aT as ObservabilityHooks, aU as Ok, aV as Order, aW as OrderCustomerInfo, aX as OrderDiscountInfo, aY as OrderFilter, aZ as OrderFulfillmentSummary, a_ as OrderGroup, a$ as OrderGroupDetails, b0 as OrderGroupPayment, b1 as OrderGroupPaymentState, b2 as OrderGroupPaymentStatus, b3 as OrderGroupPaymentSummary, b4 as OrderGroupStatus, b5 as OrderHistory, b6 as OrderLineState, b7 as OrderLineStatus, b8 as OrderLocationInfo, b9 as OrderPaymentEvent, ba as OrderPricingView, bb as OrderQueries, bc as OrderSplitDetail, bd as OrderStaffInfo, be as OrderStatus, bf as OrderTimestampsDTO, bg as Origin, bh as OriginActor, bi as OriginChannel, bj as OtpResult, bk as PAYMENT_AUTHORIZATION_OUTCOME_STATUS, bl as PAYMENT_AUTHORIZATION_PROVIDER, bm as PURCHASE_INTENT_ROUTE, bn as PaymentAuthorizationAdapterRegistry, bo as PaymentInfoDTO, bp as PaymentState, bq as PlaceDetailsResponse, br as PlacesService, bs as PriceQuote, bt as PricingOverrides, bu as ProviderResolutionSource, bv as PurchaseIntentActionDecision, bw as PurchaseIntentRequestOptions, bx as PurchaseIntentResolveOptions, by as PurchaseIntentResolveStatus, bz as PurchaseIntentResolver, bA as PurchaseIntentService, bB as PurchaseIntentTransport, bC as QuoteBundleSelectionInput, bD as QuoteCompositeSelectionInput, bE as QuoteDynamicBuckets, bF as QuoteStatus, bG as QuoteUiMessage, R as ReadRequestOptions, bH as RefreshQuoteInput, bI as RefreshQuoteResult, bJ as RefundOrderInput, bK as RelatedCandidate, bL as RelatedProduct, bM as RelatedProductsEnrichment, bN as RelationType, bO as ReminderMethod, bP as ReminderSettings, bQ as ReorderResult, bR as RequestContext, bS as RequestErrorEvent, bT as RequestOptions, bU as RequestRetryPolicy, bV as RequestSource, bW as RequestStartEvent, bX as RequestSuccessEvent, bY as RescheduleBookingInput, bZ as RescheduleBookingResult, b_ as RescheduleHistoryRecord, b$ as ResourceAssignment, c0 as ResourceInfo, b as Result, c1 as RetryEvent, c2 as Room, c3 as SESSION_CHANGE_SOURCE, c4 as SchedulingMetadata, c5 as SchedulingResult, c6 as SchedulingService, c7 as SenderType, c8 as Service, c9 as ServiceAvailabilityParams, ca as ServiceAvailabilityResult, cb as ServiceCharge, cc as ServiceNotes, cd as ServiceScheduleRequest, ce as ServiceStatus, cf as SessionActivityData, cg as SessionChangeEvent, ch as SessionChangeSource, ci as SessionMessage, cj as SessionService, ck as SlotResourceInfo, cl as SlotStaffInfo, cm as Staff, cn as StaffAssignment, co as StaffRole, cp as StaffScheduleItem, cq as StockLevel, cr as StockStatus, cs as StoreCreditBalance, ct as StoreCreditQueries, cu as StorefrontBootstrap, cv as SubscriptionService, cw as SupportService, cx as Table, cy as TimeRange, cz as TimeRanges, cA as TimeSlot, cB as TrackCategoryViewOptions, cC as TrackProductViewOptions, cD as UpdateOrderStatusInput, cE as UpdateProfileInput, cF as UploadInitResponse, cG as UploadResult, cH as UploadService, cI as combine, cJ as combineObject, cK as createCimplifyClient, cL as createDefaultPaymentAuthorizationAdapterRegistry, cM as createElements, cN as err, cO as flatMap, cP as fromPromise, cQ as getOrElse, cR as isErr, cS as isOk, cT as mapError, cU as mapResult, cV as ok, cW as toNullable, cX as tryCatch, cY as unwrap } from './catalogue-
|
|
3
|
-
export { c as clearPurchaseIntentIdempotencyKey, g as generateIdempotencyKey, i as purchaseIntentIdempotencyKey } from './index-
|
|
4
|
-
import { f as CheckoutPaymentMethodKind, g as
|
|
5
|
-
export {
|
|
6
|
-
export { C as CURRENCY_SYMBOLS, a as CanonicalMobileMoneyProvider, M as MOBILE_MONEY_PROVIDERS, P as PAYMENT_TERMINAL_FAILURE_STATUSES, c as canonicalMobileMoneyProvider, b as categorizePaymentError, d as detectMobileMoneyProvider, f as formatMoney, e as formatNumberCompact, g as formatPrice, h as formatPriceAdjustment, i as formatPriceCompact, j as formatPriceRange, k as formatPriceWithTax, l as formatProductPrice, m as getBasePrice, n as getCurrencySymbol, o as getDiscountPercentage, p as getDisplayPrice, q as getMarkupPercentage, r as getPriceRange, s as getProductCurrency, t as getTaxAmount, u as getUnitPriceAtQuantity, v as hasTaxInfo, w as isOnSale, x as isPaymentStatusFailure, y as isPaymentStatusRequiresAction, z as isPaymentStatusSuccess, A as isTaxInclusive, B as isValidPhoneForContext, D as normalizePaymentResponse, E as normalizePhoneToE164, F as normalizeStatusResponse, G as parsePrice, H as paymentAuthorizationUrl, I as purchaseIntentMobileMoneyNetwork, J as resolvePhoneCountryCode } from './index-
|
|
1
|
+
import { P as PaymentAuthorizationAdapter, c as PaymentAuthorizationContext, d as PaymentAuthorizationOutcome, e as ChatReplyCard } from './catalogue-B4eLL8Mi.js';
|
|
2
|
+
export { A as ActivityRecommendation, f as ActivityRecommendationsResponse, g as ActivityService, h as ActivityStateResponse, i as AmountToPay, j as AuthService, k as AuthStatus, l as AuthorizeCardPopupOptions, m as AutocompletePrediction, n as AutocompleteResponse, o as AvailabilityResult, p as AvailableSlot, B as Booking, q as BookingModificationType, r as BookingStatus, s as BookingWithDetails, t as BufferTimes, u as Business, v as BusinessDetailsDTO, w as BusinessHours, x as BusinessPreferences, y as BusinessService, z as BusinessSettings, D as BusinessWithLocations, a as CacheOptions, E as CancelBookingInput, F as CancelBookingResult, G as CancelOrderInput, H as CancellationPolicy, I as CardPopupAction, J as CartOperations, K as CatalogueQueries, L as CatalogueResult, M as CatalogueSnapshot, N as CategoryInfo, O as ChatAttachment, Q as ChatConversation, S as ChatConversationResponse, T as ChatMessage, U as ChatReplyContext, V as ChatUploadAttachment, W as ChatWidgetStarter, X as CheckSlotAvailabilityInput, Y as CheckSlotAvailabilityResult, Z as CheckoutInput, _ as CheckoutOperations, _ as CheckoutService, C as CimplifyClient, $ as CimplifyConfig, a0 as CimplifyElement, a1 as CimplifyElements, a2 as ClaimExternalChatsResult, a3 as ClaimSessionResult, a4 as ContentType, a5 as CustomerBooking, a6 as CustomerBookingServiceItem, a7 as CustomerServicePreferences, a8 as DayAvailability, a9 as DeliveryFeeDetails, aa as DeliveryFeeResponse, ab as DeliveryFeeStatus, ac as DeliveryOption, ad as DeliveryOptionsQuery, ae as DeliveryOptionsResponse, af as DeliveryService, ag as DepositResult, ah as DismissMessageResponse, ai as EnrichedOrder, aj as EnrichedOrderItem, ak as Err, al as ExternalChatClaimAttempt, am as ExternalChatClaimDisposition, an as FeeBearerType, ao as FetchQuoteInput, ap as FulfillmentLink, aq as FulfillmentStatus, ar as FulfillmentSummaryDTO, as as FulfillmentType, at as FxQuote, au as FxQuoteRequest, av as FxQuoteStatus, aw as FxRateResponse, ax as FxService, ay as GetAvailableSlotsInput, az as GetDeliveryOptionsParams, aA as GetOrdersOptions, aB as GetProductsOptions, aC as GroupOrderInfo, aD as HostedPurchaseIntentService, aE as InventoryService, aF as LifecyclePhase, aG as LineItem, aH as LineType, aI as LinkService, aJ as LiteBootstrap, aK as LiteDayHours, aL as LiteHoursRange, aM as LiteService, aN as Location, aO as LocationBooking, aP as LocationTaxBehavior, aQ as LocationTaxOverrides, aR as LocationTimeProfile, aS as LocationWithDetails, aT as ObservabilityHooks, aU as Ok, aV as Order, aW as OrderCustomerInfo, aX as OrderDiscountInfo, aY as OrderFilter, aZ as OrderFulfillmentSummary, a_ as OrderGroup, a$ as OrderGroupDetails, b0 as OrderGroupPayment, b1 as OrderGroupPaymentState, b2 as OrderGroupPaymentStatus, b3 as OrderGroupPaymentSummary, b4 as OrderGroupStatus, b5 as OrderHistory, b6 as OrderLineState, b7 as OrderLineStatus, b8 as OrderLocationInfo, b9 as OrderPaymentEvent, ba as OrderPricingView, bb as OrderQueries, bc as OrderSplitDetail, bd as OrderStaffInfo, be as OrderStatus, bf as OrderTimestampsDTO, bg as Origin, bh as OriginActor, bi as OriginChannel, bj as OtpResult, bk as PAYMENT_AUTHORIZATION_OUTCOME_STATUS, bl as PAYMENT_AUTHORIZATION_PROVIDER, bm as PURCHASE_INTENT_ROUTE, bn as PaymentAuthorizationAdapterRegistry, bo as PaymentInfoDTO, bp as PaymentState, bq as PlaceDetailsResponse, br as PlacesService, bs as PriceQuote, bt as PricingOverrides, bu as ProviderResolutionSource, bv as PurchaseIntentActionDecision, bw as PurchaseIntentRequestOptions, bx as PurchaseIntentResolveOptions, by as PurchaseIntentResolveStatus, bz as PurchaseIntentResolver, bA as PurchaseIntentService, bB as PurchaseIntentTransport, bC as QuoteBundleSelectionInput, bD as QuoteCompositeSelectionInput, bE as QuoteDynamicBuckets, bF as QuoteStatus, bG as QuoteUiMessage, R as ReadRequestOptions, bH as RefreshQuoteInput, bI as RefreshQuoteResult, bJ as RefundOrderInput, bK as RelatedCandidate, bL as RelatedProduct, bM as RelatedProductsEnrichment, bN as RelationType, bO as ReminderMethod, bP as ReminderSettings, bQ as ReorderResult, bR as RequestContext, bS as RequestErrorEvent, bT as RequestOptions, bU as RequestRetryPolicy, bV as RequestSource, bW as RequestStartEvent, bX as RequestSuccessEvent, bY as RescheduleBookingInput, bZ as RescheduleBookingResult, b_ as RescheduleHistoryRecord, b$ as ResourceAssignment, c0 as ResourceInfo, b as Result, c1 as RetryEvent, c2 as Room, c3 as SESSION_CHANGE_SOURCE, c4 as SchedulingMetadata, c5 as SchedulingResult, c6 as SchedulingService, c7 as SenderType, c8 as Service, c9 as ServiceAvailabilityParams, ca as ServiceAvailabilityResult, cb as ServiceCharge, cc as ServiceNotes, cd as ServiceScheduleRequest, ce as ServiceStatus, cf as SessionActivityData, cg as SessionChangeEvent, ch as SessionChangeSource, ci as SessionMessage, cj as SessionService, ck as SlotResourceInfo, cl as SlotStaffInfo, cm as Staff, cn as StaffAssignment, co as StaffRole, cp as StaffScheduleItem, cq as StockLevel, cr as StockStatus, cs as StoreCreditBalance, ct as StoreCreditQueries, cu as StorefrontBootstrap, cv as SubscriptionService, cw as SupportService, cx as Table, cy as TimeRange, cz as TimeRanges, cA as TimeSlot, cB as TrackCategoryViewOptions, cC as TrackProductViewOptions, cD as UpdateOrderStatusInput, cE as UpdateProfileInput, cF as UploadInitResponse, cG as UploadResult, cH as UploadService, cI as combine, cJ as combineObject, cK as createCimplifyClient, cL as createDefaultPaymentAuthorizationAdapterRegistry, cM as createElements, cN as err, cO as flatMap, cP as fromPromise, cQ as getOrElse, cR as isErr, cS as isOk, cT as mapError, cU as mapResult, cV as ok, cW as toNullable, cX as tryCatch, cY as unwrap } from './catalogue-B4eLL8Mi.js';
|
|
3
|
+
export { c as clearPurchaseIntentIdempotencyKey, g as generateIdempotencyKey, i as purchaseIntentIdempotencyKey } from './index-DJwXmoaP.js';
|
|
4
|
+
import { f as CheckoutPaymentMethodKind, g as ConfirmPurchaseIntentResponse, h as PURCHASE_INTENT_CONFIRM_STATUS, i as ConfirmPurchaseIntentRequest, j as CheckoutTermsView, k as PaymentOptionView, e as ProductWithDetails, T as TaxPriceDisplayMode, P as Product, D as DurationUnit, A as ApiError } from './elements-Bty6Qs_N.js';
|
|
5
|
+
export { l as AUTHORIZATION_TYPE, m as AUTH_MUTATION, n as AbortablePromise, o as AddOn, p as AddOnDetails, q as AddOnGroupDetails, r as AddOnOption, s as AddOnOptionDetails, t as AddOnOptionPrice, u as AddOnWithOptions, v as AddToCartInput, w as AddressAuthorizationData, x as AddressData, y as AddressInfo, z as AddressValue, B as AdjustmentType, E as AppliedDiscount, F as AttributeAppliesTo, G as AttributeType, H as AttributeValidationRules, I as AttributeVisibility, J as AuthResponse, K as AuthenticatedCustomer, L as AuthenticatedData, M as AuthorizationType, N as BOUNDARY_KIND, O as BenefitType, Q as BillingFrequency, R as BillingMarkupType, V as BillingPlanType, W as BoundaryKind, X as Bundle, Y as BundleComponentData, Z as BundleComponentInfo, _ as BundleComponentVariantView, $ as BundleComponentView, a0 as BundlePriceType, a1 as BundleProduct, a2 as BundleSelectionData, a3 as BundleSelectionInput, a4 as BundleStoredSelection, a5 as BundleSummary, a6 as BundleWithDetails, a7 as CHECKOUT_COMPLIANCE_LANE, a8 as CHECKOUT_COMPLIANCE_REASON, a9 as CHECKOUT_INVALIDATION_REASON, aa as CHECKOUT_MATERIAL_TERMS_COMPONENT, ab as CHECKOUT_MODE, ac as CHECKOUT_MUTATION, ad as CHECKOUT_NEXT_ACTION, ae as CHECKOUT_ORDER_RESULT_STATUS, af as CHECKOUT_PROTECTION_STATUS, ag as CHECKOUT_PURCHASE_SURFACE, ah as CHECKOUT_STATUS, ai as CHECKOUT_STEP, aj as CHECKOUT_TERMS_COMPONENT, ak as CHECKOUT_TERMS_DELTA_KIND, al as CONTACT_TYPE, am as CanonicalSourceAuthority, an as Cart, ao as CartAddOn, ap as CartChannel, aq as CartIntentCheckoutInput, ar as CartItem, as as CartItemDetails, at as CartMutationResult, au as CartNotice, av as CartStatus, aw as CartSummary, ax as CartTotals, b as Category, ay as CategorySummary, az as CheckoutAddressInfo, aA as CheckoutCartData, aB as CheckoutCartItem, aC as CheckoutCollectionMethod, aD as CheckoutCollectionOption, aE as CheckoutCollectionOptions, aF as CheckoutComplianceDecision, aG as CheckoutComplianceLane, aH as CheckoutComplianceReasonCode, aI as CheckoutCustomerInfo, aJ as CheckoutDestinationInput, aK as CheckoutFormData, aL as CheckoutInvalidationReason, aM as CheckoutMaterialTerms, aN as CheckoutMaterialTermsComponent, aO as CheckoutMode, aP as CheckoutMoneyComponents, aQ as CheckoutOfferKind, aR as CheckoutOrderType, aS as CheckoutPaymentMethod, aT as CheckoutProtectionStatus, aU as CheckoutProtectionView, aV as CheckoutPurchaseSurface, aW as CheckoutResult, aX as CheckoutSourceKind, aY as CheckoutStatus, aZ as CheckoutStatusContext, a_ as CheckoutStep, a$ as CheckoutTermsComponent, b0 as CheckoutTermsDelta, a as ChosenPrice, c as CimplifyError, b1 as ClaimedCustomer, d as Collection, b2 as CollectionProduct, b3 as CollectionSummary, b4 as ComponentGroup, b5 as ComponentGroupWithComponents, b6 as ComponentPriceBreakdown, b7 as ComponentSchedulingData, b8 as ComponentSelectionInput, b9 as ComponentSourceType, ba as Composite, bb as CompositeComponent, bc as CompositeComponentView, bd as CompositeGroupView, be as CompositePriceBreakdown, bf as CompositePriceResult, bg as CompositePricingMode, bh as CompositeSelectionData, b8 as CompositeSelectionInput, bi as CompositeStoredSelection, bj as CompositeWithDetails, bk as ContactType, bl as CreateAddressInput, bm as CreateMobileMoneyInput, C as CurrencyCode, bn as CustomAttributeDefinition, bo as CustomAttributeValue, bp as Customer, bq as CustomerAddress, br as CustomerInputValue, bs as CustomerLinkPreferences, bt as CustomerMobileMoney, bu as DEFAULT_COUNTRY, bv as DEFAULT_CURRENCY, bw as DEVICE_TYPE, bx as DURATION_UNIT, by as DateRangeValue, bz as Deal, bA as DealBenefitType, bB as DepositType, bC as DestinationQuote, bD as DestinationQuoteAddress, bE as DestinationQuoteInput, bF as DeviceType, bG as DigitalProductType, bH as DiscountBreakdown, bI as DiscountDetails, bJ as DiscountValidation, bK as DisplayAddOn, bL as DisplayAddOnOption, bM as DisplayCart, bN as DisplayCartItem, bO as DisplayMode, bP as ELEMENTS_AUTH_CONTACT_TYPES, bQ as ELEMENTS_AUTH_MODES, bR as ELEMENTS_AUTH_PROMPTS, bS as ELEMENT_TYPES, bT as ERROR_HINTS, bU as EVENT_TYPES, bV as ElementAppearance, bW as ElementEventHandler, bX as ElementEventType, bY as ElementOptions, bZ as ElementType, b_ as ElementsAuthContactType, b$ as ElementsAuthMode, c0 as ElementsAuthOptions, c1 as ElementsAuthPrompt, c2 as ElementsCheckoutData, c3 as ElementsCheckoutResult, c4 as ElementsCustomerInfo, c5 as ElementsOptions, c6 as EligiblePlansQuery, c7 as EnrollAndLinkOrderInput, c8 as EnrollAndLinkOrderResult, c9 as EnrollmentData, ca as ErrorCode, cb as ErrorCodeType, cc as ErrorHint, cd as FacetValue, ce as FormattedPlanOption, cf as GroupPricingBehavior, cg as INPUT_FIELD_TYPE, ch as IdempotencyMismatchError, ci as IframeToParentMessage, cj as InitializePaymentResult, ck as InputFieldType, cl as InputFieldValidation, cm as InventoryType, cn as KnowledgeArticle, co as LEGACY_CHECKOUT_PAYMENT_METHOD_ALIAS, cp as LEGACY_CHECKOUT_PAYMENT_STATUS, cq as LINK_MUTATION, cr as LINK_QUERY, cs as LineConfiguration, ct as LinkData, cu as LinkEnrollResult, cv as LinkSession, cw as LinkStatusResult, cx as LocationProductPrice, cy as LocationValue, cz as MAX_PAYMENT_AUTHORIZATION_STEPS, cA as MESSAGE_TYPES, cB as MOBILE_MONEY_PROVIDER, cC as MOBILE_MONEY_TENDER_AUTHORITY_KIND, cD as MeasurementValue, cE as MintPurchaseIntentRequest, cF as MobileMoneyData, cG as MobileMoneyDetails, cH as MobileMoneyProvider, cI as MobileMoneyTenderPreference, cJ as Money, cK as NATIVE_PURCHASE_PLATFORM, cL as NativeAddOnSelection, cM as NativePurchasePlatform, cN as NextAction, cO as ORDER_MUTATION, cP as ORDER_TYPE, cQ as OfferRef, cR as OrderType, cS as PAYMENT_COLLECTION_MODE, cT as PAYMENT_INSTRUMENT_DISPLAY_KIND, cU as PAYMENT_METHOD, cV as PAYMENT_MUTATION, cW as PAYMENT_OPTION_NEXT_ACTION, cX as PAYMENT_OPTION_STATUS, cY as PAYMENT_STATE, cZ as PICKUP_TIME_TYPE, c_ as PRODUCT_TYPE, c$ as PURCHASE_DISPOSITION, d0 as PURCHASE_INTENT_ACTION_DECISION, d1 as PURCHASE_INTENT_ERROR_CODE, d2 as PURCHASE_INTENT_LINE_CONFIGURATION_KIND, d3 as PURCHASE_INTENT_MOBILE_MONEY_NETWORK, d4 as PURCHASE_INTENT_OFFER_KIND, d5 as PURCHASE_INTENT_PAYMENT_METHOD, d6 as PURCHASE_INTENT_PAYMENT_PROVIDER, d7 as PURCHASE_INTENT_RESOLUTION_KIND, d8 as PURCHASE_INTENT_RESOLVE_STATUS, d9 as PURCHASE_INTENT_SELLABLE_KIND, da as PURCHASE_INTENT_SOURCE_KIND, db as PURCHASE_INTENT_STATUS, dc as PURCHASE_SURFACE, dd as PURCHASING_PRINCIPAL_KIND, de as Pagination, df as PaginationParams, dg as ParentToIframeMessage, dh as Payment, di as PaymentAuthorizationKind, dj as PaymentAuthorizationSubmission, dk as PaymentCollectionMode, dl as PaymentErrorDetails, dm as PaymentInstrumentDisplay, dn as PaymentMethod, dp as PaymentMethodInfo, dq as PaymentMethodType, dr as PaymentNextActionKind, ds as PaymentOptionStatus, dt as PaymentProcessingState, du as PaymentProvider, dv as PaymentProviderKind, dw as PaymentResponse, dx as PaymentStatus, dy as PaymentStatusResponse, dz as PhoneValue, dA as PickupTime, dB as PickupTimeType, dC as PreparePurchaseIntentRequest, dD as Price, dE as PriceAdjustment, dF as PriceDecisionPath, dG as PriceEntryType, dH as PricePathTaxInfo, dI as PriceSource, dJ as ProcessAndResolveOptions, dK as ProcessCheckoutOptions, dL as ProcessCheckoutResult, dM as ProductAddOn, dN as ProductAvailability, dO as ProductAvailabilityNow, dP as ProductBillingPlan, dQ as ProductDealInfo, dR as ProductInputField, dS as ProductProperty, dT as ProductRenderHint, dU as ProductTaxonomy, dV as ProductTimeProfile, dW as ProductType, dX as ProductVariant, dY as ProductVariantValue, dZ as PropertyFacet, d_ as PropertySource, d$ as PurchaseDisposition, e0 as PurchaseIntentActionResponse, e1 as PurchaseIntentCustomerInput, e2 as PurchaseIntentLineConfiguration, e3 as PurchaseIntentLineInput, e4 as PurchaseIntentLinePricingView, e5 as PurchaseIntentLineView, e6 as PurchaseIntentMobileMoneyNetwork, e7 as PurchaseIntentResolution, e8 as PurchaseIntentReviewResponse, e9 as PurchaseIntentSimpleLineConfiguration, ea as PurchaseIntentSourceInput, eb as PurchaseIntentStatus, ec as PurchaseIntentTenderPreference, ed as PurchaseIntentTerminalResponse, ee as PurchaseIntentView, ef as PurchasePolicyContext, eg as PurchaseSurface, eh as PurchasingPrincipal, ei as QuantityPricingTier, ej as RENDER_HINT, ek as RefreshCheckoutTermsRequest, el as RelatedProductView, em as RequestOtpInput, en as RequestOtpResult, eo as RevokeAllSessionsResult, ep as RevokeSessionResult, eq as SOURCE_REFUSAL, er as SaleCapInfo, S as SaleInfo, es as SalesChannel, et as SchedulingMode, eu as SelectedAddOnOption, ev as SellableKind, ew as SellableRef, ex as SemanticKind, ey as SignatureValue, ez as SourceRefusal, eA as SubmitAuthorizationInput, eB as SubmitPurchaseIntentActionRequest, eC as Subscription, eD as SubscriptionInvoice, eE as SubscriptionItem, eF as SubscriptionStatus, eG as SubscriptionWithDetails, eH as Tag, eI as TagsResponse, eJ as TaxPathComponent, eK as TaxonomyAttributeTemplate, eL as TaxonomyWithChildren, eM as UICart, eN as UICartBusiness, eO as UICartCustomer, eP as UICartLocation, eQ as UICartPricing, eR as UnavailableLine, U as UpcomingSale, eS as UpdateAddressInput, eT as UpdateCartItemInput, eU as VariantAxis, eV as VariantAxisSelection, eW as VariantAxisValue, eX as VariantAxisValueView, eY as VariantAxisView, eZ as VariantAxisWithValues, e_ as VariantDetails, e$ as VariantDetailsDTO, f0 as VariantDisplayAttribute, f1 as VariantLocationAvailability, f2 as VariantStrategy, f3 as VariantView, f4 as VerifyOtpInput, f5 as ZERO, f6 as currencyCode, f7 as enrichError, f8 as getErrorHint, f9 as isCimplifyError, fa as isIdempotencyMismatchError, fb as isQuoteConflictRequiringConsent, fc as isQuoteError, fd as isRetryableError, fe as isSupportedCurrency, ff as money, fg as moneyFromNumber } from './elements-Bty6Qs_N.js';
|
|
6
|
+
export { C as CURRENCY_SYMBOLS, a as CanonicalMobileMoneyProvider, M as MOBILE_MONEY_PROVIDERS, P as PAYMENT_TERMINAL_FAILURE_STATUSES, c as canonicalMobileMoneyProvider, b as categorizePaymentError, d as detectMobileMoneyProvider, f as formatMoney, e as formatNumberCompact, g as formatPrice, h as formatPriceAdjustment, i as formatPriceCompact, j as formatPriceRange, k as formatPriceWithTax, l as formatProductPrice, m as getBasePrice, n as getCurrencySymbol, o as getDiscountPercentage, p as getDisplayPrice, q as getMarkupPercentage, r as getPriceRange, s as getProductCurrency, t as getTaxAmount, u as getUnitPriceAtQuantity, v as hasTaxInfo, w as isOnSale, x as isPaymentStatusFailure, y as isPaymentStatusRequiresAction, z as isPaymentStatusSuccess, A as isTaxInclusive, B as isValidPhoneForContext, D as normalizePaymentResponse, E as normalizePhoneToE164, F as normalizeStatusResponse, G as parsePrice, H as paymentAuthorizationUrl, I as purchaseIntentMobileMoneyNetwork, J as resolvePhoneCountryCode } from './index-B7oA_1XI.js';
|
|
7
7
|
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';
|
|
8
|
-
export { F as FormatCompactOptions, a as FormatPriceOptions, P as ProductWithPrice } from './price-
|
|
8
|
+
export { F as FormatCompactOptions, a as FormatPriceOptions, P as ProductWithPrice } from './price-C_vasx9A.js';
|
|
9
9
|
import 'libphonenumber-js';
|
|
10
10
|
|
|
11
11
|
interface PaystackPopupOptions {
|
|
@@ -100,6 +100,19 @@ declare function selectPurchaseIntentPaymentOption(terms: CheckoutTermsView, sel
|
|
|
100
100
|
declare function createPurchaseIntentConfirmation(terms: CheckoutTermsView, paymentOption: PaymentOptionView | null | undefined, idempotencyKey: string): ConfirmPurchaseIntentRequest;
|
|
101
101
|
/** True when confirmation must name one server-issued collection option. */
|
|
102
102
|
declare function purchaseIntentRequiresPaymentOption(terms: CheckoutTermsView): boolean;
|
|
103
|
+
/**
|
|
104
|
+
* The server reprices a purchase whose terms merely ran out of time, and
|
|
105
|
+
* reissues every payment option with a new id when it does. When nothing the
|
|
106
|
+
* buyer agreed to has moved - no amount, no line, no destination, and the same
|
|
107
|
+
* debit on the same tender - their earlier consent still covers the
|
|
108
|
+
* replacement, and asking again is friction with no information in it.
|
|
109
|
+
*
|
|
110
|
+
* Returns the confirmation for the replacement, or null when anything changed
|
|
111
|
+
* and the buyer has to look.
|
|
112
|
+
*/
|
|
113
|
+
declare function confirmationForUnchangedReplacement(response: Extract<ConfirmPurchaseIntentResponse, {
|
|
114
|
+
status: typeof PURCHASE_INTENT_CONFIRM_STATUS.TERMS_CHANGED;
|
|
115
|
+
}>, selection: PurchaseIntentPaymentSelection | null, idempotencyKey: string): ConfirmPurchaseIntentRequest | null;
|
|
103
116
|
|
|
104
117
|
interface GalleryImage {
|
|
105
118
|
url: string;
|
|
@@ -266,4 +279,4 @@ interface AssetUrlOptions extends AssetTransform {
|
|
|
266
279
|
declare function assetUrl(path: string, opts?: AssetUrlOptions): string;
|
|
267
280
|
declare function isCimplifyAsset(src: string, base?: string): boolean;
|
|
268
281
|
|
|
269
|
-
export { ApiError, type ApiResponse, type AssetTransform, type AssetUrlOptions, CIMPLIFY_CDN_HOSTS, ChatReplyCard, CheckoutPaymentMethodKind, CheckoutTermsView, ConfirmPurchaseIntentRequest, type CustomerGroup, type CustomerPricingInfo, DEFAULT_CDN_BASE_URL, DurationUnit, type FrontendContext, type GalleryImage, type MutationRequest, PaymentAuthorizationAdapter, PaymentAuthorizationContext, PaymentAuthorizationOutcome, PaymentOptionView, PaystackAuthorizationAdapter, type PaystackPopup, type PaystackPopupOptions, type PaystackPopupResult, type PriceListItem, Product, ProductWithDetails, type PurchaseIntentPaymentSelection, type QuantityBreak, type QueryRequest, type ResolvedQuantityBreak, type ResponseMetadata, type SilentSignInOptions, type SilentSignInResult, StripeAuthorizationAdapter, type StripeLike, type StripeLoader, TaxPriceDisplayMode, allGalleryImages, assetUrl, chatMessageCards, createPurchaseIntentConfirmation, displaysGrossPrices, isCimplifyAsset, isMultiDayService, priceBasisLabel, purchaseIntentRequiresPaymentOption, resolveGallery, selectPurchaseIntentPaymentOption, serviceBillingMultiplier, signInSilent, stayLength, stayPeriods };
|
|
282
|
+
export { ApiError, type ApiResponse, type AssetTransform, type AssetUrlOptions, CIMPLIFY_CDN_HOSTS, ChatReplyCard, CheckoutPaymentMethodKind, CheckoutTermsView, ConfirmPurchaseIntentRequest, ConfirmPurchaseIntentResponse, type CustomerGroup, type CustomerPricingInfo, DEFAULT_CDN_BASE_URL, DurationUnit, type FrontendContext, type GalleryImage, type MutationRequest, PURCHASE_INTENT_CONFIRM_STATUS, PaymentAuthorizationAdapter, PaymentAuthorizationContext, PaymentAuthorizationOutcome, PaymentOptionView, PaystackAuthorizationAdapter, type PaystackPopup, type PaystackPopupOptions, type PaystackPopupResult, type PriceListItem, Product, ProductWithDetails, type PurchaseIntentPaymentSelection, type QuantityBreak, type QueryRequest, type ResolvedQuantityBreak, type ResponseMetadata, type SilentSignInOptions, type SilentSignInResult, StripeAuthorizationAdapter, type StripeLike, type StripeLoader, TaxPriceDisplayMode, allGalleryImages, assetUrl, chatMessageCards, confirmationForUnchangedReplacement, createPurchaseIntentConfirmation, displaysGrossPrices, isCimplifyAsset, isMultiDayService, priceBasisLabel, purchaseIntentRequiresPaymentOption, resolveGallery, selectPurchaseIntentPaymentOption, serviceBillingMultiplier, signInSilent, stayLength, stayPeriods };
|
package/dist/index.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
var chunk2P4KXFB6_js = require('./chunk-2P4KXFB6.js');
|
|
4
4
|
var chunkL5GKVQVJ_js = require('./chunk-L5GKVQVJ.js');
|
|
5
|
-
var
|
|
5
|
+
var chunkEDK3LNM6_js = require('./chunk-EDK3LNM6.js');
|
|
6
6
|
require('./chunk-XREIZ56K.js');
|
|
7
|
-
var
|
|
7
|
+
var chunkF7J3HK27_js = require('./chunk-F7J3HK27.js');
|
|
8
8
|
var chunkEV2EVOYS_js = require('./chunk-EV2EVOYS.js');
|
|
9
9
|
var chunkV32BCG7M_js = require('./chunk-V32BCG7M.js');
|
|
10
10
|
var chunkANT574FD_js = require('./chunk-ANT574FD.js');
|
|
@@ -29,9 +29,9 @@ async function signInSilent(opts) {
|
|
|
29
29
|
} catch {
|
|
30
30
|
}
|
|
31
31
|
const callbackUri = opts.callbackUri ?? "/auth/callback";
|
|
32
|
-
const authorizeEndpoint = opts.authUrl ? `${opts.authUrl.replace(/\/$/, "")}/oauth/authorize` : await
|
|
33
|
-
const pkce = await
|
|
34
|
-
const state =
|
|
32
|
+
const authorizeEndpoint = opts.authUrl ? `${opts.authUrl.replace(/\/$/, "")}/oauth/authorize` : await chunkF7J3HK27_js.getAuthorizationEndpoint(opts.issuer ?? chunkF7J3HK27_js.DEFAULT_ISSUER);
|
|
33
|
+
const pkce = await chunkF7J3HK27_js.generatePkce();
|
|
34
|
+
const state = chunkF7J3HK27_js.generateState();
|
|
35
35
|
const params = new URLSearchParams({
|
|
36
36
|
response_type: RESPONSE_TYPE_CODE,
|
|
37
37
|
response_mode: RESPONSE_MODE_WEB_MESSAGE,
|
|
@@ -189,255 +189,259 @@ Object.defineProperty(exports, "resolvePhoneCountryCode", {
|
|
|
189
189
|
});
|
|
190
190
|
Object.defineProperty(exports, "ActivityService", {
|
|
191
191
|
enumerable: true,
|
|
192
|
-
get: function () { return
|
|
192
|
+
get: function () { return chunkEDK3LNM6_js.ActivityService; }
|
|
193
193
|
});
|
|
194
194
|
Object.defineProperty(exports, "CimplifyClient", {
|
|
195
195
|
enumerable: true,
|
|
196
|
-
get: function () { return
|
|
196
|
+
get: function () { return chunkEDK3LNM6_js.CimplifyClient; }
|
|
197
197
|
});
|
|
198
198
|
Object.defineProperty(exports, "DeliveryService", {
|
|
199
199
|
enumerable: true,
|
|
200
|
-
get: function () { return
|
|
200
|
+
get: function () { return chunkEDK3LNM6_js.DeliveryService; }
|
|
201
201
|
});
|
|
202
202
|
Object.defineProperty(exports, "HostedPurchaseIntentService", {
|
|
203
203
|
enumerable: true,
|
|
204
|
-
get: function () { return
|
|
204
|
+
get: function () { return chunkEDK3LNM6_js.HostedPurchaseIntentService; }
|
|
205
205
|
});
|
|
206
206
|
Object.defineProperty(exports, "PURCHASE_INTENT_ROUTE", {
|
|
207
207
|
enumerable: true,
|
|
208
|
-
get: function () { return
|
|
208
|
+
get: function () { return chunkEDK3LNM6_js.PURCHASE_INTENT_ROUTE; }
|
|
209
209
|
});
|
|
210
210
|
Object.defineProperty(exports, "PlacesService", {
|
|
211
211
|
enumerable: true,
|
|
212
|
-
get: function () { return
|
|
212
|
+
get: function () { return chunkEDK3LNM6_js.PlacesService; }
|
|
213
213
|
});
|
|
214
214
|
Object.defineProperty(exports, "PurchaseIntentResolver", {
|
|
215
215
|
enumerable: true,
|
|
216
|
-
get: function () { return
|
|
216
|
+
get: function () { return chunkEDK3LNM6_js.PurchaseIntentResolver; }
|
|
217
217
|
});
|
|
218
218
|
Object.defineProperty(exports, "PurchaseIntentService", {
|
|
219
219
|
enumerable: true,
|
|
220
|
-
get: function () { return
|
|
220
|
+
get: function () { return chunkEDK3LNM6_js.PurchaseIntentService; }
|
|
221
221
|
});
|
|
222
222
|
Object.defineProperty(exports, "SESSION_CHANGE_SOURCE", {
|
|
223
223
|
enumerable: true,
|
|
224
|
-
get: function () { return
|
|
224
|
+
get: function () { return chunkEDK3LNM6_js.SESSION_CHANGE_SOURCE; }
|
|
225
225
|
});
|
|
226
226
|
Object.defineProperty(exports, "SessionService", {
|
|
227
227
|
enumerable: true,
|
|
228
|
-
get: function () { return
|
|
228
|
+
get: function () { return chunkEDK3LNM6_js.SessionService; }
|
|
229
229
|
});
|
|
230
230
|
Object.defineProperty(exports, "StoreCreditQueries", {
|
|
231
231
|
enumerable: true,
|
|
232
|
-
get: function () { return
|
|
232
|
+
get: function () { return chunkEDK3LNM6_js.StoreCreditQueries; }
|
|
233
233
|
});
|
|
234
234
|
Object.defineProperty(exports, "SubscriptionService", {
|
|
235
235
|
enumerable: true,
|
|
236
|
-
get: function () { return
|
|
236
|
+
get: function () { return chunkEDK3LNM6_js.SubscriptionService; }
|
|
237
237
|
});
|
|
238
238
|
Object.defineProperty(exports, "SupportService", {
|
|
239
239
|
enumerable: true,
|
|
240
|
-
get: function () { return
|
|
240
|
+
get: function () { return chunkEDK3LNM6_js.SupportService; }
|
|
241
241
|
});
|
|
242
242
|
Object.defineProperty(exports, "UploadService", {
|
|
243
243
|
enumerable: true,
|
|
244
|
-
get: function () { return
|
|
244
|
+
get: function () { return chunkEDK3LNM6_js.UploadService; }
|
|
245
245
|
});
|
|
246
246
|
Object.defineProperty(exports, "createCimplifyClient", {
|
|
247
247
|
enumerable: true,
|
|
248
|
-
get: function () { return
|
|
248
|
+
get: function () { return chunkEDK3LNM6_js.createCimplifyClient; }
|
|
249
249
|
});
|
|
250
250
|
Object.defineProperty(exports, "AuthService", {
|
|
251
251
|
enumerable: true,
|
|
252
|
-
get: function () { return
|
|
252
|
+
get: function () { return chunkF7J3HK27_js.AuthService; }
|
|
253
253
|
});
|
|
254
254
|
Object.defineProperty(exports, "BusinessService", {
|
|
255
255
|
enumerable: true,
|
|
256
|
-
get: function () { return
|
|
256
|
+
get: function () { return chunkF7J3HK27_js.BusinessService; }
|
|
257
257
|
});
|
|
258
258
|
Object.defineProperty(exports, "CartOperations", {
|
|
259
259
|
enumerable: true,
|
|
260
|
-
get: function () { return
|
|
260
|
+
get: function () { return chunkF7J3HK27_js.CartOperations; }
|
|
261
261
|
});
|
|
262
262
|
Object.defineProperty(exports, "CatalogueQueries", {
|
|
263
263
|
enumerable: true,
|
|
264
|
-
get: function () { return
|
|
264
|
+
get: function () { return chunkF7J3HK27_js.CatalogueQueries; }
|
|
265
265
|
});
|
|
266
266
|
Object.defineProperty(exports, "CheckoutOperations", {
|
|
267
267
|
enumerable: true,
|
|
268
|
-
get: function () { return
|
|
268
|
+
get: function () { return chunkF7J3HK27_js.CheckoutService; }
|
|
269
269
|
});
|
|
270
270
|
Object.defineProperty(exports, "CheckoutService", {
|
|
271
271
|
enumerable: true,
|
|
272
|
-
get: function () { return
|
|
272
|
+
get: function () { return chunkF7J3HK27_js.CheckoutService; }
|
|
273
273
|
});
|
|
274
274
|
Object.defineProperty(exports, "CimplifyElement", {
|
|
275
275
|
enumerable: true,
|
|
276
|
-
get: function () { return
|
|
276
|
+
get: function () { return chunkF7J3HK27_js.CimplifyElement; }
|
|
277
277
|
});
|
|
278
278
|
Object.defineProperty(exports, "CimplifyElements", {
|
|
279
279
|
enumerable: true,
|
|
280
|
-
get: function () { return
|
|
280
|
+
get: function () { return chunkF7J3HK27_js.CimplifyElements; }
|
|
281
281
|
});
|
|
282
282
|
Object.defineProperty(exports, "ELEMENTS_AUTH_CONTACT_TYPES", {
|
|
283
283
|
enumerable: true,
|
|
284
|
-
get: function () { return
|
|
284
|
+
get: function () { return chunkF7J3HK27_js.ELEMENTS_AUTH_CONTACT_TYPES; }
|
|
285
285
|
});
|
|
286
286
|
Object.defineProperty(exports, "ELEMENTS_AUTH_MODES", {
|
|
287
287
|
enumerable: true,
|
|
288
|
-
get: function () { return
|
|
288
|
+
get: function () { return chunkF7J3HK27_js.ELEMENTS_AUTH_MODES; }
|
|
289
289
|
});
|
|
290
290
|
Object.defineProperty(exports, "ELEMENTS_AUTH_PROMPTS", {
|
|
291
291
|
enumerable: true,
|
|
292
|
-
get: function () { return
|
|
292
|
+
get: function () { return chunkF7J3HK27_js.ELEMENTS_AUTH_PROMPTS; }
|
|
293
293
|
});
|
|
294
294
|
Object.defineProperty(exports, "ELEMENT_TYPES", {
|
|
295
295
|
enumerable: true,
|
|
296
|
-
get: function () { return
|
|
296
|
+
get: function () { return chunkF7J3HK27_js.ELEMENT_TYPES; }
|
|
297
297
|
});
|
|
298
298
|
Object.defineProperty(exports, "EVENT_TYPES", {
|
|
299
299
|
enumerable: true,
|
|
300
|
-
get: function () { return
|
|
300
|
+
get: function () { return chunkF7J3HK27_js.EVENT_TYPES; }
|
|
301
301
|
});
|
|
302
302
|
Object.defineProperty(exports, "FxService", {
|
|
303
303
|
enumerable: true,
|
|
304
|
-
get: function () { return
|
|
304
|
+
get: function () { return chunkF7J3HK27_js.FxService; }
|
|
305
305
|
});
|
|
306
306
|
Object.defineProperty(exports, "InventoryService", {
|
|
307
307
|
enumerable: true,
|
|
308
|
-
get: function () { return
|
|
308
|
+
get: function () { return chunkF7J3HK27_js.InventoryService; }
|
|
309
309
|
});
|
|
310
310
|
Object.defineProperty(exports, "LinkService", {
|
|
311
311
|
enumerable: true,
|
|
312
|
-
get: function () { return
|
|
312
|
+
get: function () { return chunkF7J3HK27_js.LinkService; }
|
|
313
313
|
});
|
|
314
314
|
Object.defineProperty(exports, "LiteService", {
|
|
315
315
|
enumerable: true,
|
|
316
|
-
get: function () { return
|
|
316
|
+
get: function () { return chunkF7J3HK27_js.LiteService; }
|
|
317
317
|
});
|
|
318
318
|
Object.defineProperty(exports, "MESSAGE_TYPES", {
|
|
319
319
|
enumerable: true,
|
|
320
|
-
get: function () { return
|
|
320
|
+
get: function () { return chunkF7J3HK27_js.MESSAGE_TYPES; }
|
|
321
321
|
});
|
|
322
322
|
Object.defineProperty(exports, "OrderQueries", {
|
|
323
323
|
enumerable: true,
|
|
324
|
-
get: function () { return
|
|
324
|
+
get: function () { return chunkF7J3HK27_js.OrderQueries; }
|
|
325
325
|
});
|
|
326
326
|
Object.defineProperty(exports, "PAYMENT_AUTHORIZATION_OUTCOME_STATUS", {
|
|
327
327
|
enumerable: true,
|
|
328
|
-
get: function () { return
|
|
328
|
+
get: function () { return chunkF7J3HK27_js.PAYMENT_AUTHORIZATION_OUTCOME_STATUS; }
|
|
329
329
|
});
|
|
330
330
|
Object.defineProperty(exports, "PAYMENT_AUTHORIZATION_PROVIDER", {
|
|
331
331
|
enumerable: true,
|
|
332
|
-
get: function () { return
|
|
332
|
+
get: function () { return chunkF7J3HK27_js.PAYMENT_AUTHORIZATION_PROVIDER; }
|
|
333
333
|
});
|
|
334
334
|
Object.defineProperty(exports, "PaymentAuthorizationAdapterRegistry", {
|
|
335
335
|
enumerable: true,
|
|
336
|
-
get: function () { return
|
|
336
|
+
get: function () { return chunkF7J3HK27_js.PaymentAuthorizationAdapterRegistry; }
|
|
337
337
|
});
|
|
338
338
|
Object.defineProperty(exports, "PaystackAuthorizationAdapter", {
|
|
339
339
|
enumerable: true,
|
|
340
|
-
get: function () { return
|
|
340
|
+
get: function () { return chunkF7J3HK27_js.PaystackAuthorizationAdapter; }
|
|
341
341
|
});
|
|
342
342
|
Object.defineProperty(exports, "SchedulingService", {
|
|
343
343
|
enumerable: true,
|
|
344
|
-
get: function () { return
|
|
344
|
+
get: function () { return chunkF7J3HK27_js.SchedulingService; }
|
|
345
345
|
});
|
|
346
346
|
Object.defineProperty(exports, "StripeAuthorizationAdapter", {
|
|
347
347
|
enumerable: true,
|
|
348
|
-
get: function () { return
|
|
348
|
+
get: function () { return chunkF7J3HK27_js.StripeAuthorizationAdapter; }
|
|
349
349
|
});
|
|
350
350
|
Object.defineProperty(exports, "clearPurchaseIntentIdempotencyKey", {
|
|
351
351
|
enumerable: true,
|
|
352
|
-
get: function () { return
|
|
352
|
+
get: function () { return chunkF7J3HK27_js.clearIntentIdempotencyKey; }
|
|
353
353
|
});
|
|
354
354
|
Object.defineProperty(exports, "combine", {
|
|
355
355
|
enumerable: true,
|
|
356
|
-
get: function () { return
|
|
356
|
+
get: function () { return chunkF7J3HK27_js.combine; }
|
|
357
357
|
});
|
|
358
358
|
Object.defineProperty(exports, "combineObject", {
|
|
359
359
|
enumerable: true,
|
|
360
|
-
get: function () { return
|
|
360
|
+
get: function () { return chunkF7J3HK27_js.combineObject; }
|
|
361
|
+
});
|
|
362
|
+
Object.defineProperty(exports, "confirmationForUnchangedReplacement", {
|
|
363
|
+
enumerable: true,
|
|
364
|
+
get: function () { return chunkF7J3HK27_js.confirmationForUnchangedReplacement; }
|
|
361
365
|
});
|
|
362
366
|
Object.defineProperty(exports, "createDefaultPaymentAuthorizationAdapterRegistry", {
|
|
363
367
|
enumerable: true,
|
|
364
|
-
get: function () { return
|
|
368
|
+
get: function () { return chunkF7J3HK27_js.createDefaultPaymentAuthorizationAdapterRegistry; }
|
|
365
369
|
});
|
|
366
370
|
Object.defineProperty(exports, "createElements", {
|
|
367
371
|
enumerable: true,
|
|
368
|
-
get: function () { return
|
|
372
|
+
get: function () { return chunkF7J3HK27_js.createElements; }
|
|
369
373
|
});
|
|
370
374
|
Object.defineProperty(exports, "createPurchaseIntentConfirmation", {
|
|
371
375
|
enumerable: true,
|
|
372
|
-
get: function () { return
|
|
376
|
+
get: function () { return chunkF7J3HK27_js.createPurchaseIntentConfirmation; }
|
|
373
377
|
});
|
|
374
378
|
Object.defineProperty(exports, "err", {
|
|
375
379
|
enumerable: true,
|
|
376
|
-
get: function () { return
|
|
380
|
+
get: function () { return chunkF7J3HK27_js.err; }
|
|
377
381
|
});
|
|
378
382
|
Object.defineProperty(exports, "flatMap", {
|
|
379
383
|
enumerable: true,
|
|
380
|
-
get: function () { return
|
|
384
|
+
get: function () { return chunkF7J3HK27_js.flatMap; }
|
|
381
385
|
});
|
|
382
386
|
Object.defineProperty(exports, "fromPromise", {
|
|
383
387
|
enumerable: true,
|
|
384
|
-
get: function () { return
|
|
388
|
+
get: function () { return chunkF7J3HK27_js.fromPromise; }
|
|
385
389
|
});
|
|
386
390
|
Object.defineProperty(exports, "generateIdempotencyKey", {
|
|
387
391
|
enumerable: true,
|
|
388
|
-
get: function () { return
|
|
392
|
+
get: function () { return chunkF7J3HK27_js.generateIdempotencyKey; }
|
|
389
393
|
});
|
|
390
394
|
Object.defineProperty(exports, "getOrElse", {
|
|
391
395
|
enumerable: true,
|
|
392
|
-
get: function () { return
|
|
396
|
+
get: function () { return chunkF7J3HK27_js.getOrElse; }
|
|
393
397
|
});
|
|
394
398
|
Object.defineProperty(exports, "isErr", {
|
|
395
399
|
enumerable: true,
|
|
396
|
-
get: function () { return
|
|
400
|
+
get: function () { return chunkF7J3HK27_js.isErr; }
|
|
397
401
|
});
|
|
398
402
|
Object.defineProperty(exports, "isOk", {
|
|
399
403
|
enumerable: true,
|
|
400
|
-
get: function () { return
|
|
404
|
+
get: function () { return chunkF7J3HK27_js.isOk; }
|
|
401
405
|
});
|
|
402
406
|
Object.defineProperty(exports, "mapError", {
|
|
403
407
|
enumerable: true,
|
|
404
|
-
get: function () { return
|
|
408
|
+
get: function () { return chunkF7J3HK27_js.mapError; }
|
|
405
409
|
});
|
|
406
410
|
Object.defineProperty(exports, "mapResult", {
|
|
407
411
|
enumerable: true,
|
|
408
|
-
get: function () { return
|
|
412
|
+
get: function () { return chunkF7J3HK27_js.mapResult; }
|
|
409
413
|
});
|
|
410
414
|
Object.defineProperty(exports, "ok", {
|
|
411
415
|
enumerable: true,
|
|
412
|
-
get: function () { return
|
|
416
|
+
get: function () { return chunkF7J3HK27_js.ok; }
|
|
413
417
|
});
|
|
414
418
|
Object.defineProperty(exports, "purchaseIntentIdempotencyKey", {
|
|
415
419
|
enumerable: true,
|
|
416
|
-
get: function () { return
|
|
420
|
+
get: function () { return chunkF7J3HK27_js.intentIdempotencyKey; }
|
|
417
421
|
});
|
|
418
422
|
Object.defineProperty(exports, "purchaseIntentRequiresPaymentOption", {
|
|
419
423
|
enumerable: true,
|
|
420
|
-
get: function () { return
|
|
424
|
+
get: function () { return chunkF7J3HK27_js.purchaseIntentRequiresPaymentOption; }
|
|
421
425
|
});
|
|
422
426
|
Object.defineProperty(exports, "selectPurchaseIntentPaymentOption", {
|
|
423
427
|
enumerable: true,
|
|
424
|
-
get: function () { return
|
|
428
|
+
get: function () { return chunkF7J3HK27_js.selectPurchaseIntentPaymentOption; }
|
|
425
429
|
});
|
|
426
430
|
Object.defineProperty(exports, "startSignIn", {
|
|
427
431
|
enumerable: true,
|
|
428
|
-
get: function () { return
|
|
432
|
+
get: function () { return chunkF7J3HK27_js.startSignIn; }
|
|
429
433
|
});
|
|
430
434
|
Object.defineProperty(exports, "toNullable", {
|
|
431
435
|
enumerable: true,
|
|
432
|
-
get: function () { return
|
|
436
|
+
get: function () { return chunkF7J3HK27_js.toNullable; }
|
|
433
437
|
});
|
|
434
438
|
Object.defineProperty(exports, "tryCatch", {
|
|
435
439
|
enumerable: true,
|
|
436
|
-
get: function () { return
|
|
440
|
+
get: function () { return chunkF7J3HK27_js.tryCatch; }
|
|
437
441
|
});
|
|
438
442
|
Object.defineProperty(exports, "unwrap", {
|
|
439
443
|
enumerable: true,
|
|
440
|
-
get: function () { return
|
|
444
|
+
get: function () { return chunkF7J3HK27_js.unwrap; }
|
|
441
445
|
});
|
|
442
446
|
Object.defineProperty(exports, "AUTHORIZATION_TYPE", {
|
|
443
447
|
enumerable: true,
|
package/dist/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { BOUNDARY_KIND, CIMPLIFY_CDN_HOSTS, DEFAULT_CDN_BASE_URL, DURATION_UNIT, INPUT_FIELD_TYPE, PRODUCT_TYPE, RENDER_HINT, allGalleryImages, assetUrl, chatMessageCards, displaysGrossPrices, getVariantDisplayName, isCimplifyAsset, isMultiDayService, priceBasisLabel, resolveGallery, serviceBillingMultiplier, stayLength, stayPeriods } from './chunk-3V4DVXV3.mjs';
|
|
2
2
|
export { isValidPhoneForContext, normalizePhoneToE164, resolvePhoneCountryCode } from './chunk-YOIVZ6OA.mjs';
|
|
3
|
-
export { ActivityService, CimplifyClient, DeliveryService, HostedPurchaseIntentService, PURCHASE_INTENT_ROUTE, PlacesService, PurchaseIntentResolver, PurchaseIntentService, SESSION_CHANGE_SOURCE, SessionService, StoreCreditQueries, SubscriptionService, SupportService, UploadService, createCimplifyClient } from './chunk-
|
|
3
|
+
export { ActivityService, CimplifyClient, DeliveryService, HostedPurchaseIntentService, PURCHASE_INTENT_ROUTE, PlacesService, PurchaseIntentResolver, PurchaseIntentService, SESSION_CHANGE_SOURCE, SessionService, StoreCreditQueries, SubscriptionService, SupportService, UploadService, createCimplifyClient } from './chunk-SUCE7FWA.mjs';
|
|
4
4
|
import './chunk-U4MW6PYU.mjs';
|
|
5
|
-
import { getAuthorizationEndpoint, DEFAULT_ISSUER, generatePkce, generateState } from './chunk-
|
|
6
|
-
export { AuthService, BusinessService, CartOperations, CatalogueQueries, CheckoutService as CheckoutOperations, CheckoutService, CimplifyElement, CimplifyElements, ELEMENTS_AUTH_CONTACT_TYPES, ELEMENTS_AUTH_MODES, ELEMENTS_AUTH_PROMPTS, ELEMENT_TYPES, EVENT_TYPES, FxService, InventoryService, LinkService, LiteService, MESSAGE_TYPES, OrderQueries, PAYMENT_AUTHORIZATION_OUTCOME_STATUS, PAYMENT_AUTHORIZATION_PROVIDER, PaymentAuthorizationAdapterRegistry, PaystackAuthorizationAdapter, SchedulingService, StripeAuthorizationAdapter, clearIntentIdempotencyKey as clearPurchaseIntentIdempotencyKey, combine, combineObject, createDefaultPaymentAuthorizationAdapterRegistry, createElements, createPurchaseIntentConfirmation, err, flatMap, fromPromise, generateIdempotencyKey, getOrElse, isErr, isOk, mapError, mapResult, ok, intentIdempotencyKey as purchaseIntentIdempotencyKey, purchaseIntentRequiresPaymentOption, selectPurchaseIntentPaymentOption, startSignIn, toNullable, tryCatch, unwrap } from './chunk-
|
|
5
|
+
import { getAuthorizationEndpoint, DEFAULT_ISSUER, generatePkce, generateState } from './chunk-U6ACF76H.mjs';
|
|
6
|
+
export { AuthService, BusinessService, CartOperations, CatalogueQueries, CheckoutService as CheckoutOperations, CheckoutService, CimplifyElement, CimplifyElements, ELEMENTS_AUTH_CONTACT_TYPES, ELEMENTS_AUTH_MODES, ELEMENTS_AUTH_PROMPTS, ELEMENT_TYPES, EVENT_TYPES, FxService, InventoryService, LinkService, LiteService, MESSAGE_TYPES, OrderQueries, PAYMENT_AUTHORIZATION_OUTCOME_STATUS, PAYMENT_AUTHORIZATION_PROVIDER, PaymentAuthorizationAdapterRegistry, PaystackAuthorizationAdapter, SchedulingService, StripeAuthorizationAdapter, clearIntentIdempotencyKey as clearPurchaseIntentIdempotencyKey, combine, combineObject, confirmationForUnchangedReplacement, createDefaultPaymentAuthorizationAdapterRegistry, createElements, createPurchaseIntentConfirmation, err, flatMap, fromPromise, generateIdempotencyKey, getOrElse, isErr, isOk, mapError, mapResult, ok, intentIdempotencyKey as purchaseIntentIdempotencyKey, purchaseIntentRequiresPaymentOption, selectPurchaseIntentPaymentOption, startSignIn, toNullable, tryCatch, unwrap } from './chunk-U6ACF76H.mjs';
|
|
7
7
|
export { AUTHORIZATION_TYPE, AUTH_MUTATION, CHECKOUT_MODE, CHECKOUT_MUTATION, CHECKOUT_NEXT_ACTION, CHECKOUT_ORDER_RESULT_STATUS, CHECKOUT_STATUS, CHECKOUT_STEP, CONTACT_TYPE, DEFAULT_COUNTRY, DEFAULT_CURRENCY, DEVICE_TYPE, LINK_MUTATION, LINK_QUERY, MAX_PAYMENT_AUTHORIZATION_STEPS, MOBILE_MONEY_PROVIDER, ORDER_MUTATION, ORDER_TYPE, PAYMENT_METHOD, PAYMENT_MUTATION, PAYMENT_STATE, PICKUP_TIME_TYPE } from './chunk-33VCYWVL.mjs';
|
|
8
8
|
export { CURRENCY_SYMBOLS, MOBILE_MONEY_PROVIDERS, PAYMENT_TERMINAL_FAILURE_STATUSES, canonicalMobileMoneyProvider, categorizePaymentError, detectMobileMoneyProvider, formatMoney, formatNumberCompact, formatPrice, formatPriceAdjustment, formatPriceCompact, formatPriceRange, formatPriceWithTax, formatProductPrice, getBasePrice, getCurrencySymbol, getDiscountPercentage, getDisplayPrice, getMarkupPercentage, getPriceRange, getProductCurrency, getTaxAmount, getUnitPriceAtQuantity, hasTaxInfo, isOnSale, isPaymentStatusFailure, isPaymentStatusRequiresAction, isPaymentStatusSuccess, isTaxInclusive, normalizePaymentResponse, normalizeStatusResponse, parsePrice, paymentAuthorizationUrl, purchaseIntentMobileMoneyNetwork } from './chunk-JRGK3NXR.mjs';
|
|
9
9
|
export { CHECKOUT_COMPLIANCE_LANE, CHECKOUT_COMPLIANCE_REASON, CHECKOUT_INVALIDATION_REASON, CHECKOUT_MATERIAL_TERMS_COMPONENT, CHECKOUT_PROTECTION_STATUS, CHECKOUT_PURCHASE_SURFACE, CHECKOUT_TERMS_COMPONENT, CHECKOUT_TERMS_DELTA_KIND, CimplifyError, ERROR_HINTS, ErrorCode, IdempotencyMismatchError, LEGACY_CHECKOUT_PAYMENT_METHOD_ALIAS, LEGACY_CHECKOUT_PAYMENT_STATUS, MOBILE_MONEY_TENDER_AUTHORITY_KIND, NATIVE_PURCHASE_PLATFORM, PAYMENT_COLLECTION_MODE, PAYMENT_INSTRUMENT_DISPLAY_KIND, PAYMENT_OPTION_NEXT_ACTION, PAYMENT_OPTION_STATUS, PURCHASE_DISPOSITION, PURCHASE_INTENT_ACTION_DECISION, PURCHASE_INTENT_CONFIRM_STATUS, PURCHASE_INTENT_ERROR_CODE, PURCHASE_INTENT_LINE_CONFIGURATION_KIND, PURCHASE_INTENT_MOBILE_MONEY_NETWORK, PURCHASE_INTENT_OFFER_KIND, PURCHASE_INTENT_PAYMENT_METHOD, PURCHASE_INTENT_PAYMENT_PROVIDER, PURCHASE_INTENT_RESOLUTION_KIND, PURCHASE_INTENT_RESOLVE_STATUS, PURCHASE_INTENT_SELLABLE_KIND, PURCHASE_INTENT_SOURCE_KIND, PURCHASE_INTENT_STATUS, PURCHASE_SURFACE, PURCHASING_PRINCIPAL_KIND, SOURCE_REFUSAL, ZERO, currencyCode, enrichError, getErrorHint, isCimplifyError, isIdempotencyMismatchError, isQuoteConflictRequiringConsent, isQuoteError, isRetryableError, isSupportedCurrency, money, moneyFromNumber } from './chunk-KG3WT4PR.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as CurrencyCode, a as ChosenPrice, S as SaleInfo, U as UpcomingSale } from './elements-
|
|
1
|
+
import { C as CurrencyCode, a as ChosenPrice, S as SaleInfo, U as UpcomingSale } from './elements-Bty6Qs_N.mjs';
|
|
2
2
|
|
|
3
3
|
interface ProductWithPrice {
|
|
4
4
|
price_info?: ChosenPrice;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as CurrencyCode, a as ChosenPrice, S as SaleInfo, U as UpcomingSale } from './elements-
|
|
1
|
+
import { C as CurrencyCode, a as ChosenPrice, S as SaleInfo, U as UpcomingSale } from './elements-Bty6Qs_N.js';
|
|
2
2
|
|
|
3
3
|
interface ProductWithPrice {
|
|
4
4
|
price_info?: ChosenPrice;
|
package/dist/react.d.mts
CHANGED
|
@@ -2,10 +2,10 @@ import * as React$1 from 'react';
|
|
|
2
2
|
import React__default, { ReactNode, PointerEvent, MouseEvent } from 'react';
|
|
3
3
|
import { d as AdSlot, c as AdPosition, a as AdContextValue, S as SignInOptions } from './sign-in-DQlIdqsi.mjs';
|
|
4
4
|
export { A as AdConfig, g as getVariantDisplayName } from './sign-in-DQlIdqsi.mjs';
|
|
5
|
-
import { C as CimplifyClient, aj as EnrichedOrderItem, ai as EnrichedOrder, u as Business, aN as Location, bQ as ReorderResult, be as OrderStatus, aV as Order, bC as QuoteBundleSelectionInput, bD as QuoteCompositeSelectionInput, bs as PriceQuote, bG as QuoteUiMessage, c8 as Service, p as AvailableSlot, a8 as DayAvailability, a5 as CustomerBooking, F as CancelBookingResult, h as ActivityStateResponse, ci as SessionMessage, A as ActivityRecommendation, aa as DeliveryFeeResponse, ae as DeliveryOptionsResponse, aw as FxRateResponse, cs as StoreCreditBalance, cu as StorefrontBootstrap, W as ChatWidgetStarter, T as ChatMessage, V as ChatUploadAttachment, a1 as CimplifyElements, O as ChatAttachment, aG as LineItem, cm as Staff, c2 as Room, U as ChatReplyContext } from './catalogue-
|
|
6
|
-
import {
|
|
5
|
+
import { C as CimplifyClient, aj as EnrichedOrderItem, ai as EnrichedOrder, u as Business, aN as Location, bQ as ReorderResult, be as OrderStatus, aV as Order, bC as QuoteBundleSelectionInput, bD as QuoteCompositeSelectionInput, bs as PriceQuote, bG as QuoteUiMessage, c8 as Service, p as AvailableSlot, a8 as DayAvailability, a5 as CustomerBooking, F as CancelBookingResult, h as ActivityStateResponse, ci as SessionMessage, A as ActivityRecommendation, aa as DeliveryFeeResponse, ae as DeliveryOptionsResponse, aw as FxRateResponse, cs as StoreCreditBalance, cu as StorefrontBootstrap, W as ChatWidgetStarter, T as ChatMessage, V as ChatUploadAttachment, a1 as CimplifyElements, O as ChatAttachment, aG as LineItem, cm as Staff, c2 as Room, U as ChatReplyContext } from './catalogue-OT89_Ifs.mjs';
|
|
6
|
+
import { j as CheckoutTermsView, cR as OrderType, dL as ProcessCheckoutResult, aY as CheckoutStatus, aZ as CheckoutStatusContext, C as CurrencyCode, P as Product, de as Pagination, c as CimplifyError, e as ProductWithDetails, b as Category, cJ as Money, a as ChosenPrice, a3 as BundleSelectionInput, b8 as ComponentSelectionInput, a2 as BundleSelectionData, bh as CompositeSelectionData, d as Collection, dU as ProductTaxonomy, eL as TaxonomyWithChildren, dV as ProductTimeProfile, bz as Deal, dQ as ProductDealInfo, bJ as DiscountValidation, a5 as BundleSummary, bf as CompositePriceResult, eG as SubscriptionWithDetails, eF as SubscriptionStatus, eC as Subscription, bn as CustomAttributeDefinition, dZ as PropertyFacet, dP as ProductBillingPlan, f3 as VariantView, eZ as VariantAxisWithValues, y as AddressInfo, L as AuthenticatedData, c5 as ElementsOptions, dp as PaymentMethodInfo, c3 as ElementsCheckoutResult, dK as ProcessCheckoutOptions, u as AddOnWithOptions, $ as BundleComponentView, a0 as BundlePriceType, bd as CompositeGroupView, bM as DisplayCart, dR as ProductInputField, z as AddressValue, S as SaleInfo, U as UpcomingSale, D as DurationUnit, W as BoundaryKind, et as SchedulingMode, bB as DepositType, bo as CustomAttributeValue, dS as ProductProperty, ei as QuantityPricingTier } from './elements-Bty6Qs_N.mjs';
|
|
7
7
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
8
|
-
import { P as ProductWithPrice } from './price-
|
|
8
|
+
import { P as ProductWithPrice } from './price-CSztR02F.mjs';
|
|
9
9
|
import { ClassValue } from 'clsx';
|
|
10
10
|
import { Matcher } from 'react-day-picker';
|
|
11
11
|
|
package/dist/react.d.ts
CHANGED
|
@@ -2,10 +2,10 @@ import * as React$1 from 'react';
|
|
|
2
2
|
import React__default, { ReactNode, PointerEvent, MouseEvent } from 'react';
|
|
3
3
|
import { d as AdSlot, c as AdPosition, a as AdContextValue, S as SignInOptions } from './sign-in-DQlIdqsi.js';
|
|
4
4
|
export { A as AdConfig, g as getVariantDisplayName } from './sign-in-DQlIdqsi.js';
|
|
5
|
-
import { C as CimplifyClient, aj as EnrichedOrderItem, ai as EnrichedOrder, u as Business, aN as Location, bQ as ReorderResult, be as OrderStatus, aV as Order, bC as QuoteBundleSelectionInput, bD as QuoteCompositeSelectionInput, bs as PriceQuote, bG as QuoteUiMessage, c8 as Service, p as AvailableSlot, a8 as DayAvailability, a5 as CustomerBooking, F as CancelBookingResult, h as ActivityStateResponse, ci as SessionMessage, A as ActivityRecommendation, aa as DeliveryFeeResponse, ae as DeliveryOptionsResponse, aw as FxRateResponse, cs as StoreCreditBalance, cu as StorefrontBootstrap, W as ChatWidgetStarter, T as ChatMessage, V as ChatUploadAttachment, a1 as CimplifyElements, O as ChatAttachment, aG as LineItem, cm as Staff, c2 as Room, U as ChatReplyContext } from './catalogue-
|
|
6
|
-
import {
|
|
5
|
+
import { C as CimplifyClient, aj as EnrichedOrderItem, ai as EnrichedOrder, u as Business, aN as Location, bQ as ReorderResult, be as OrderStatus, aV as Order, bC as QuoteBundleSelectionInput, bD as QuoteCompositeSelectionInput, bs as PriceQuote, bG as QuoteUiMessage, c8 as Service, p as AvailableSlot, a8 as DayAvailability, a5 as CustomerBooking, F as CancelBookingResult, h as ActivityStateResponse, ci as SessionMessage, A as ActivityRecommendation, aa as DeliveryFeeResponse, ae as DeliveryOptionsResponse, aw as FxRateResponse, cs as StoreCreditBalance, cu as StorefrontBootstrap, W as ChatWidgetStarter, T as ChatMessage, V as ChatUploadAttachment, a1 as CimplifyElements, O as ChatAttachment, aG as LineItem, cm as Staff, c2 as Room, U as ChatReplyContext } from './catalogue-B4eLL8Mi.js';
|
|
6
|
+
import { j as CheckoutTermsView, cR as OrderType, dL as ProcessCheckoutResult, aY as CheckoutStatus, aZ as CheckoutStatusContext, C as CurrencyCode, P as Product, de as Pagination, c as CimplifyError, e as ProductWithDetails, b as Category, cJ as Money, a as ChosenPrice, a3 as BundleSelectionInput, b8 as ComponentSelectionInput, a2 as BundleSelectionData, bh as CompositeSelectionData, d as Collection, dU as ProductTaxonomy, eL as TaxonomyWithChildren, dV as ProductTimeProfile, bz as Deal, dQ as ProductDealInfo, bJ as DiscountValidation, a5 as BundleSummary, bf as CompositePriceResult, eG as SubscriptionWithDetails, eF as SubscriptionStatus, eC as Subscription, bn as CustomAttributeDefinition, dZ as PropertyFacet, dP as ProductBillingPlan, f3 as VariantView, eZ as VariantAxisWithValues, y as AddressInfo, L as AuthenticatedData, c5 as ElementsOptions, dp as PaymentMethodInfo, c3 as ElementsCheckoutResult, dK as ProcessCheckoutOptions, u as AddOnWithOptions, $ as BundleComponentView, a0 as BundlePriceType, bd as CompositeGroupView, bM as DisplayCart, dR as ProductInputField, z as AddressValue, S as SaleInfo, U as UpcomingSale, D as DurationUnit, W as BoundaryKind, et as SchedulingMode, bB as DepositType, bo as CustomAttributeValue, dS as ProductProperty, ei as QuantityPricingTier } from './elements-Bty6Qs_N.js';
|
|
7
7
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
8
|
-
import { P as ProductWithPrice } from './price-
|
|
8
|
+
import { P as ProductWithPrice } from './price-C_vasx9A.js';
|
|
9
9
|
import { ClassValue } from 'clsx';
|
|
10
10
|
import { Matcher } from 'react-day-picker';
|
|
11
11
|
|