@cimplify/sdk 0.16.3 → 0.18.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 +2 -2
- package/dist/advanced.d.ts +2 -2
- package/dist/advanced.js +90 -2913
- package/dist/advanced.mjs +3 -2893
- package/dist/chunk-2JI47EYJ.mjs +2786 -0
- package/dist/chunk-DYKFSV77.js +2837 -0
- package/dist/chunk-FLPI2VVJ.js +72 -0
- package/dist/chunk-FTL2SXCG.mjs +674 -0
- package/dist/chunk-KTTQC5HG.mjs +687 -0
- package/dist/chunk-LM3CJ4L7.mjs +69 -0
- package/dist/chunk-MJECWMOY.js +692 -0
- package/dist/chunk-RYQ5IPWX.js +714 -0
- package/dist/chunk-S6TU55KP.js +170 -0
- package/dist/chunk-WDIMISRC.mjs +166 -0
- package/dist/{client-BaolRdB4.d.mts → client-B1UtuyOg.d.ts} +21 -12
- package/dist/{client-C59R79gx.d.ts → client-BFFfuzJr.d.mts} +21 -12
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +401 -4420
- package/dist/index.mjs +5 -4325
- package/dist/{payment-C6ULw3K-.d.mts → payment-D9FTaOse.d.mts} +66 -1
- package/dist/{payment-C6ULw3K-.d.ts → payment-D9FTaOse.d.ts} +66 -1
- package/dist/{price-CbR6DCt0.d.mts → price-9JsPuknm.d.mts} +1 -1
- package/dist/{price-Bd6JBV8W.d.ts → price-BD1iioLh.d.ts} +1 -1
- package/dist/react.d.mts +43 -11
- package/dist/react.d.ts +43 -11
- package/dist/react.js +540 -3981
- package/dist/react.mjs +489 -3933
- package/dist/styles.css +1 -1
- package/dist/utils.d.mts +5 -5
- package/dist/utils.d.ts +5 -5
- package/dist/utils.js +122 -721
- package/dist/utils.mjs +2 -695
- package/package.json +1 -1
- package/registry/add-on-selector.json +1 -1
- package/registry/catalogue-page.json +1 -1
- package/registry/checkout-page.json +1 -1
- package/registry/composite-selector.json +1 -1
- package/registry/product-grid.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { ae as AUTHORIZATION_TYPE, aj as AUTH_MUTATION, a3 as AbortablePromise, r as ActivityService, cc as AddressData, cF as AddressInfo, aT as AmountToPay, cn as AuthResponse, A as AuthService, n as AuthStatus, cH as AuthenticatedCustomer, cJ as AuthenticatedData, c2 as AvailabilityResult, bJ as AvailableSlot, bM as Booking, bL as BookingStatus, bN as BookingWithDetails, bb as BufferTimes, bq as Business, bE as BusinessHours, bp as BusinessPreferences, B as BusinessService, bD as BusinessSettings, bo as BusinessType, bB as BusinessWithLocations, a7 as CHECKOUT_MODE, ak as CHECKOUT_MUTATION, aa as CHECKOUT_STEP, ag as CONTACT_TYPE, bU as CancelBookingInput, bV as CancelBookingResult, b5 as CancelOrderInput, bd as CancellationPolicy, j as CartOperations, b as CatalogueQueries, aG as CatalogueResult, aH as CatalogueSnapshot, bF as CategoryInfo, bR as CheckSlotAvailabilityInput, bS as CheckSlotAvailabilityResult, cq as CheckoutAddressInfo, cN as CheckoutCartData, cM as CheckoutCartItem, cs as CheckoutCustomerInfo, X as CheckoutFormData, b3 as CheckoutInput, K as CheckoutMode, k as CheckoutOperations, N as CheckoutOrderType, V as CheckoutPaymentMethod, Y as CheckoutResult, k as CheckoutService, a1 as CheckoutStatus, a2 as CheckoutStatusContext, W as CheckoutStep, C as CimplifyClient, a as CimplifyConfig, w as CimplifyElement, v as CimplifyElements, a6 as ContactType, c8 as CreateAddressInput, ca as CreateMobileMoneyInput, c3 as Customer, c4 as CustomerAddress, bP as CustomerBooking, bO as CustomerBookingServiceItem, c6 as CustomerLinkPreferences, c5 as CustomerMobileMoney, ba as CustomerServicePreferences, ao as DEFAULT_COUNTRY, an as DEFAULT_CURRENCY, af as DEVICE_TYPE, bK as DayAvailability, bk as DepositResult, a5 as DeviceType, y as ELEMENT_TYPES, E as EVENT_TYPES, cE as ElementAppearance, cQ as ElementEventHandler, J as ElementEventType, D as ElementOptions, H as ElementType, cK as ElementsCheckoutData, cL as ElementsCheckoutResult, cI as ElementsCustomerInfo, z as ElementsOptions, ce as EnrollAndLinkOrderInput, ch as EnrollAndLinkOrderResult, cb as EnrollmentData, ar as Err, aS as FeeBearerType, F as FetchQuoteInput, aQ as FulfillmentLink, aP as FulfillmentStatus, aO as FulfillmentType, cu as FxQuote, ct as FxQuoteRequest, cv as FxRateResponse, q as FxService, bQ as GetAvailableSlotsInput, m as GetOrdersOptions, G as GetProductsOptions, cP as IframeToParentMessage, I as InventoryService, ai as LINK_MUTATION, ah as LINK_QUERY, aU as LineItem, aL as LineType, c7 as LinkData, cg as LinkEnrollResult, L as LinkService, ci as LinkSession, cf as LinkStatusResult, t as LiteBootstrap, p as LiteService, bt as Location, bn as LocationAppointment, c1 as LocationStock, br as LocationTaxBehavior, bs as LocationTaxOverrides, bw as LocationTimeProfile, bC as LocationWithDetails, M as MESSAGE_TYPES, ad as MOBILE_MONEY_PROVIDER, cd as MobileMoneyData, cr as MobileMoneyDetails, a4 as MobileMoneyProvider, Z as NextAction, am as ORDER_MUTATION, a8 as ORDER_TYPE, cC as ObservabilityHooks, aq as Ok, aV as Order, aK as OrderChannel, b2 as OrderFilter, aR as OrderFulfillmentSummary, aY as OrderGroup, b0 as OrderGroupDetails, aZ as OrderGroupPayment, aX as OrderGroupPaymentState, a$ as OrderGroupPaymentSummary, aW as OrderHistory, aM as OrderLineState, aN as OrderLineStatus, b1 as OrderPaymentEvent, O as OrderQueries, a_ as OrderSplitDetail, aI as OrderStatus, cD as OrderType, o as OtpResult, a9 as PAYMENT_METHOD, al as PAYMENT_MUTATION, ab as PAYMENT_STATE, ac as PICKUP_TIME_TYPE, cO as ParentToIframeMessage, cG as PaymentMethodInfo, aJ as PaymentState, cp as PickupTime, co as PickupTimeType, P as PriceQuote, bf as PricingOverrides, a0 as ProcessAndResolveOptions, _ as ProcessCheckoutOptions, $ as ProcessCheckoutResult, b$ as ProductStock, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, i as RefreshQuoteResult, b6 as RefundOrderInput, b9 as ReminderMethod, bc as ReminderSettings, cw as RequestContext, cz as RequestErrorEvent, cl as RequestOtpInput, h as RequestSource, cx as RequestStartEvent, cy as RequestSuccessEvent, bT as RescheduleBookingInput, bW as RescheduleBookingResult, bi as ResourceAssignment, ap as Result, cA as RetryEvent, ck as RevokeAllSessionsResult, cj as RevokeSessionResult, by as Room, bg as SchedulingMetadata, bj as SchedulingResult, S as SchedulingService, bG as Service, bX as ServiceAvailabilityParams, bY as ServiceAvailabilityResult, bz as ServiceCharge, be as ServiceNotes, bl as ServiceScheduleRequest, b7 as ServiceStatus, cB as SessionChangeEvent, bH as Staff, bh as StaffAssignment, b8 as StaffRole, bm as StaffScheduleItem, b_ as StockLevel, bZ as StockStatus, bA as StorefrontBootstrap, bx as Table, u as TableInfo, bu as TimeRange, bv as TimeRanges, bI as TimeSlot, s as TrackCategoryViewOptions, T as TrackProductViewOptions, c9 as UpdateAddressInput, b4 as UpdateOrderStatusInput, U as UpdateProfileInput, c0 as VariantStock, cm as VerifyOtpInput, aE as combine, aF as combineObject, c as createCimplifyClient, x as createElements, at as err, ay as flatMap, aC as fromPromise, l as generateIdempotencyKey, az as getOrElse, av as isErr, au as isOk, ax as mapError, aw as mapResult, as as ok, aB as toNullable, aD as tryCatch, aA as unwrap } from './client-B1UtuyOg.js';
|
|
2
2
|
export { QueryBuilder, query } from './advanced.js';
|
|
3
|
-
import { A as ApiError } from './payment-
|
|
4
|
-
export {
|
|
3
|
+
import { A as ApiError } from './payment-D9FTaOse.js';
|
|
4
|
+
export { Q as AddOn, aS as AddOnDetails, bc as AddOnGroupDetails, U as AddOnOption, bb as AddOnOptionDetails, W as AddOnOptionPrice, R as AddOnWithOptions, bh as AddToCartInput, bn as AddressAuthorizationData, aH as AdjustmentType, aO as AppliedDiscount, s as AttributeAppliesTo, r as AttributeType, bo as AuthorizationType, aN as BenefitType, a3 as Bundle, a7 as BundleComponentData, a8 as BundleComponentInfo, aa as BundleComponentVariantView, a9 as BundleComponentView, a2 as BundlePriceType, a5 as BundleProduct, aX as BundleSelectionData, aV as BundleSelectionInput, aW as BundleStoredSelection, a4 as BundleSummary, a6 as BundleWithDetails, b0 as Cart, aT as CartAddOn, aF as CartChannel, b1 as CartItem, be as CartItemDetails, aE as CartStatus, bj as CartSummary, b2 as CartTotals, Y as Category, _ as CategorySummary, aM as ChosenPrice, g as CimplifyError, $ as Collection, a1 as CollectionProduct, a0 as CollectionSummary, ai as ComponentGroup, aj as ComponentGroupWithComponents, ap as ComponentPriceBreakdown, an as ComponentSelectionInput, af as ComponentSourceType, ag as Composite, am as CompositeComponent, al as CompositeComponentView, ak as CompositeGroupView, aZ as CompositePriceBreakdown, ao as CompositePriceResult, ad as CompositePricingMode, a_ as CompositeSelectionData, an as CompositeSelectionInput, aY as CompositeStoredSelection, ah as CompositeWithDetails, C as CurrencyCode, t as CustomAttributeDefinition, u as CustomAttributeValue, az as Deal, ay as DealBenefitType, q as DepositType, p as DigitalProductType, aP as DiscountBreakdown, aQ as DiscountDetails, aB as DiscountValidation, b5 as DisplayAddOn, b6 as DisplayAddOnOption, b3 as DisplayCart, b4 as DisplayCartItem, D as DisplayMode, f as ERROR_HINTS, E as ErrorCode, d as ErrorCodeType, e as ErrorHint, F as FacetValue, ae as GroupPricingBehavior, bs as InitializePaymentResult, I as InventoryType, a$ as LineConfiguration, as as LocationProductPrice, M as Money, b as Pagination, P as PaginationParams, br as Payment, bv as PaymentErrorDetails, bq as PaymentMethod, bm as PaymentMethodType, bp as PaymentProcessingState, bl as PaymentProvider, bt as PaymentResponse, bk as PaymentStatus, bu as PaymentStatusResponse, ar as Price, aI as PriceAdjustment, aL as PriceDecisionPath, aq as PriceEntryType, aK as PricePathTaxInfo, aG as PriceSource, y as Product, X as ProductAddOn, at as ProductAvailability, ax as ProductAvailabilityNow, aA as ProductDealInfo, w as ProductProperty, o as ProductRenderHint, av as ProductTaxonomy, au as ProductTimeProfile, n as ProductType, B as ProductVariant, L as ProductVariantValue, z as ProductWithDetails, x as PropertyFacet, v as PropertySource, S as SalesChannel, aR as SelectedAddOnOption, bw as SubmitAuthorizationInput, aC as Tag, aD as TagsResponse, aJ as TaxPathComponent, T as TaxonomyAttributeTemplate, aw as TaxonomyWithChildren, bf as UICart, b7 as UICartBusiness, b9 as UICartCustomer, b8 as UICartLocation, ba as UICartPricing, bg as UICartResponse, bi as UpdateCartItemInput, H as VariantAxis, O as VariantAxisSelection, K as VariantAxisValue, ac as VariantAxisValueView, ab as VariantAxisView, J as VariantAxisWithValues, aU as VariantDetails, bd as VariantDetailsDTO, G as VariantDisplayAttribute, N as VariantLocationAvailability, V as VariantStrategy, Z as ZERO, c as currencyCode, k as enrichError, j as getErrorHint, h as isCimplifyError, l as isRetryableError, i as isSupportedCurrency, m as money, a as moneyFromNumber } from './payment-D9FTaOse.js';
|
|
5
5
|
export { CURRENCY_SYMBOLS, MOBILE_MONEY_PROVIDERS, categorizePaymentError, detectMobileMoneyProvider, formatMoney, formatNumberCompact, formatPrice, formatPriceAdjustment, formatPriceCompact, formatPriceWithTax, formatProductPrice, getBasePrice, getCurrencySymbol, getDiscountPercentage, getDisplayPrice, getMarkupPercentage, getProductCurrency, getTaxAmount, hasTaxInfo, isOnSale, isPaymentStatusFailure, isPaymentStatusRequiresAction, isPaymentStatusSuccess, isTaxInclusive, isValidPhoneForContext, normalizePaymentResponse, normalizePhoneToE164, normalizeStatusResponse, parsePrice, resolvePhoneCountryCode } from './utils.js';
|
|
6
6
|
export { c as AdConfig, e as AdContextValue, d as AdCreative, a as AdPosition, A as AdSlot, b as AdTheme, g as getVariantDisplayName } from './ads-BxbWrwqp.js';
|
|
7
|
-
export { a as FormatCompactOptions, F as FormatPriceOptions, P as ProductWithPrice } from './price-
|
|
7
|
+
export { a as FormatCompactOptions, F as FormatPriceOptions, P as ProductWithPrice } from './price-BD1iioLh.js';
|
|
8
8
|
import 'libphonenumber-js';
|
|
9
9
|
|
|
10
10
|
interface FrontendContext {
|