@cimplify/sdk 0.24.2 → 0.25.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/{chunk-H34GSEGR.mjs → chunk-JMNMSVDQ.mjs} +24 -1
- package/dist/{chunk-IYQGGFVQ.js → chunk-WMQXSDRC.js} +26 -0
- package/dist/{index-DCoxHrmr.d.mts → index-2JxW7TuQ.d.mts} +2 -2
- package/dist/{index-DIHoZUz_.d.mts → index-7mX_cUpQ.d.mts} +1 -1
- package/dist/{index-DT0Mzy8v.d.ts → index-DBM89ktY.d.ts} +2 -2
- package/dist/{index-CJZMsbDi.d.ts → index-DEx3GwlW.d.ts} +1 -1
- package/dist/index.d.mts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +18 -6
- package/dist/index.mjs +1 -1
- package/dist/{payment-DqiwuLma.d.mts → payment-5a21yzi7.d.mts} +22 -1
- package/dist/{payment-DqiwuLma.d.ts → payment-5a21yzi7.d.ts} +22 -1
- package/dist/{price-BZlddg1A.d.ts → price-BS0Z5Oi9.d.ts} +1 -1
- package/dist/{price-DVQrpE7j.d.mts → price-CGPMlQUk.d.mts} +1 -1
- package/dist/react.d.mts +92 -5
- package/dist/react.d.ts +92 -5
- package/dist/react.js +880 -91
- package/dist/react.mjs +861 -89
- package/dist/styles.css +1 -1
- package/dist/utils.d.mts +3 -3
- package/dist/utils.d.ts +3 -3
- package/package.json +1 -1
- package/registry/accommodation-card.json +17 -0
- package/registry/compact-service-card.json +16 -0
- package/registry/digital-product-card.json +16 -0
- package/registry/food-product-card.json +16 -0
- package/registry/food-product-layout.json +1 -1
- package/registry/index.json +113 -0
- package/registry/lease-service-card.json +17 -0
- package/registry/product-card.json +1 -1
- package/registry/product-page.json +1 -1
- package/registry/rental-service-card.json +16 -0
- package/registry/retail-product-card.json +16 -0
- package/registry/schedule-service-card.json +16 -0
- package/registry/standard-service-card.json +16 -0
- package/registry/subscription-card.json +16 -0
- package/registry/wholesale-product-card.json +17 -0
package/dist/advanced.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { A as AuthService, B as BusinessService, j as CartOperations, b as CatalogueQueries, l as CheckoutOperations, l as CheckoutService, M as CimplifyElement, K as CimplifyElements, X as ELEMENT_TYPES, W as EVENT_TYPES, $ as ElementEventType, Z as ElementOptions, _ as ElementType, Y as ElementsOptions, F as FetchQuoteInput, r as FxService, G as GetProductsOptions, I as InventoryService, L as LinkService, q as LiteService, V as MESSAGE_TYPES, O as OrderQueries, P as PriceQuote, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, i as RefreshQuoteResult, S as SchedulingService, N as createElements, m as generateIdempotencyKey } from './index-
|
|
2
|
-
import './payment-
|
|
1
|
+
export { A as AuthService, B as BusinessService, j as CartOperations, b as CatalogueQueries, l as CheckoutOperations, l as CheckoutService, M as CimplifyElement, K as CimplifyElements, X as ELEMENT_TYPES, W as EVENT_TYPES, $ as ElementEventType, Z as ElementOptions, _ as ElementType, Y as ElementsOptions, F as FetchQuoteInput, r as FxService, G as GetProductsOptions, I as InventoryService, L as LinkService, q as LiteService, V as MESSAGE_TYPES, O as OrderQueries, P as PriceQuote, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, i as RefreshQuoteResult, S as SchedulingService, N as createElements, m as generateIdempotencyKey } from './index-7mX_cUpQ.mjs';
|
|
2
|
+
import './payment-5a21yzi7.mjs';
|
package/dist/advanced.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { A as AuthService, B as BusinessService, j as CartOperations, b as CatalogueQueries, l as CheckoutOperations, l as CheckoutService, M as CimplifyElement, K as CimplifyElements, X as ELEMENT_TYPES, W as EVENT_TYPES, $ as ElementEventType, Z as ElementOptions, _ as ElementType, Y as ElementsOptions, F as FetchQuoteInput, r as FxService, G as GetProductsOptions, I as InventoryService, L as LinkService, q as LiteService, V as MESSAGE_TYPES, O as OrderQueries, P as PriceQuote, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, i as RefreshQuoteResult, S as SchedulingService, N as createElements, m as generateIdempotencyKey } from './index-
|
|
2
|
-
import './payment-
|
|
1
|
+
export { A as AuthService, B as BusinessService, j as CartOperations, b as CatalogueQueries, l as CheckoutOperations, l as CheckoutService, M as CimplifyElement, K as CimplifyElements, X as ELEMENT_TYPES, W as EVENT_TYPES, $ as ElementEventType, Z as ElementOptions, _ as ElementType, Y as ElementsOptions, F as FetchQuoteInput, r as FxService, G as GetProductsOptions, I as InventoryService, L as LinkService, q as LiteService, V as MESSAGE_TYPES, O as OrderQueries, P as PriceQuote, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, i as RefreshQuoteResult, S as SchedulingService, N as createElements, m as generateIdempotencyKey } from './index-DEx3GwlW.js';
|
|
2
|
+
import './payment-5a21yzi7.js';
|
|
@@ -719,4 +719,27 @@ function getVariantDisplayName(variant, productName) {
|
|
|
719
719
|
return productName || (variant.is_default ? "Default" : "Option");
|
|
720
720
|
}
|
|
721
721
|
|
|
722
|
-
|
|
722
|
+
// src/types/product.ts
|
|
723
|
+
var PRODUCT_TYPE = {
|
|
724
|
+
Product: "product",
|
|
725
|
+
Service: "service",
|
|
726
|
+
Digital: "digital",
|
|
727
|
+
Bundle: "bundle",
|
|
728
|
+
Composite: "composite"
|
|
729
|
+
};
|
|
730
|
+
var RENDER_HINT = {
|
|
731
|
+
Food: "food",
|
|
732
|
+
Physical: "physical",
|
|
733
|
+
General: "general"
|
|
734
|
+
};
|
|
735
|
+
var DURATION_UNIT = {
|
|
736
|
+
Minutes: "minutes",
|
|
737
|
+
Hours: "hours",
|
|
738
|
+
Days: "days",
|
|
739
|
+
Nights: "nights",
|
|
740
|
+
Weeks: "weeks",
|
|
741
|
+
Months: "months",
|
|
742
|
+
Years: "years"
|
|
743
|
+
};
|
|
744
|
+
|
|
745
|
+
export { ActivityService, CimplifyClient, DURATION_UNIT, DeliveryService, PRODUCT_TYPE, RENDER_HINT, createCimplifyClient, getVariantDisplayName };
|
|
@@ -721,8 +721,34 @@ function getVariantDisplayName(variant, productName) {
|
|
|
721
721
|
return productName || (variant.is_default ? "Default" : "Option");
|
|
722
722
|
}
|
|
723
723
|
|
|
724
|
+
// src/types/product.ts
|
|
725
|
+
var PRODUCT_TYPE = {
|
|
726
|
+
Product: "product",
|
|
727
|
+
Service: "service",
|
|
728
|
+
Digital: "digital",
|
|
729
|
+
Bundle: "bundle",
|
|
730
|
+
Composite: "composite"
|
|
731
|
+
};
|
|
732
|
+
var RENDER_HINT = {
|
|
733
|
+
Food: "food",
|
|
734
|
+
Physical: "physical",
|
|
735
|
+
General: "general"
|
|
736
|
+
};
|
|
737
|
+
var DURATION_UNIT = {
|
|
738
|
+
Minutes: "minutes",
|
|
739
|
+
Hours: "hours",
|
|
740
|
+
Days: "days",
|
|
741
|
+
Nights: "nights",
|
|
742
|
+
Weeks: "weeks",
|
|
743
|
+
Months: "months",
|
|
744
|
+
Years: "years"
|
|
745
|
+
};
|
|
746
|
+
|
|
724
747
|
exports.ActivityService = ActivityService;
|
|
725
748
|
exports.CimplifyClient = CimplifyClient;
|
|
749
|
+
exports.DURATION_UNIT = DURATION_UNIT;
|
|
726
750
|
exports.DeliveryService = DeliveryService;
|
|
751
|
+
exports.PRODUCT_TYPE = PRODUCT_TYPE;
|
|
752
|
+
exports.RENDER_HINT = RENDER_HINT;
|
|
727
753
|
exports.createCimplifyClient = createCimplifyClient;
|
|
728
754
|
exports.getVariantDisplayName = getVariantDisplayName;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as Money, a as CurrencyCode,
|
|
2
|
-
import { P as ProductWithPrice } from './price-
|
|
1
|
+
import { M as Money, a as CurrencyCode, aW as PricePathTaxInfo, Q as QuantityPricingTier, N as Product, U as ProductWithDetails, bH as PaymentErrorDetails, bF as PaymentResponse, bG as PaymentStatusResponse } from './payment-5a21yzi7.mjs';
|
|
2
|
+
import { P as ProductWithPrice } from './price-CGPMlQUk.mjs';
|
|
3
3
|
import { CountryCode } from 'libphonenumber-js';
|
|
4
4
|
|
|
5
5
|
declare const CURRENCY_SYMBOLS: Record<string, string>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a9 as Category, N as Product, a5 as AddOnWithOptions, d as Pagination, h as CimplifyError, U as ProductWithDetails, X as ProductVariant, _ as VariantAxis, a3 as VariantAxisSelection, a4 as AddOn, ab as Collection, ag as BundleSummary, af as Bundle, as as Composite, az as ComponentSelectionInput, aA as CompositePriceResult, C as ChosenPrice, aH as ProductTaxonomy, aI as TaxonomyWithChildren, bN as EligiblePlansQuery, bM as ProductBillingPlan, aG as ProductTimeProfile, aJ as ProductAvailabilityNow, aL as Deal, aM as ProductDealInfo, aN as DiscountValidation, aP as TagsResponse, B as CustomAttributeDefinition, F as CustomAttributeValue, J as PropertyFacet, T as TaxonomyAttributeTemplate, L as KnowledgeArticle, br as UICart, bc as Cart, bd as CartItem, bv as CartSummary, bt as AddToCartInput, bu as UpdateCartItemInput, a$ as DiscountDetails, M as Money, a as CurrencyCode, bb as LineConfiguration, bA as AuthorizationType, bC as PaymentMethod, bE as InitializePaymentResult, bI as SubmitAuthorizationInput, bG as PaymentStatusResponse, t as DurationUnit } from './payment-5a21yzi7.mjs';
|
|
2
2
|
|
|
3
3
|
interface RequestContext {
|
|
4
4
|
method: "GET" | "POST" | "PATCH" | "DELETE";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as Money, a as CurrencyCode,
|
|
2
|
-
import { P as ProductWithPrice } from './price-
|
|
1
|
+
import { M as Money, a as CurrencyCode, aW as PricePathTaxInfo, Q as QuantityPricingTier, N as Product, U as ProductWithDetails, bH as PaymentErrorDetails, bF as PaymentResponse, bG as PaymentStatusResponse } from './payment-5a21yzi7.js';
|
|
2
|
+
import { P as ProductWithPrice } from './price-BS0Z5Oi9.js';
|
|
3
3
|
import { CountryCode } from 'libphonenumber-js';
|
|
4
4
|
|
|
5
5
|
declare const CURRENCY_SYMBOLS: Record<string, string>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a9 as Category, N as Product, a5 as AddOnWithOptions, d as Pagination, h as CimplifyError, U as ProductWithDetails, X as ProductVariant, _ as VariantAxis, a3 as VariantAxisSelection, a4 as AddOn, ab as Collection, ag as BundleSummary, af as Bundle, as as Composite, az as ComponentSelectionInput, aA as CompositePriceResult, C as ChosenPrice, aH as ProductTaxonomy, aI as TaxonomyWithChildren, bN as EligiblePlansQuery, bM as ProductBillingPlan, aG as ProductTimeProfile, aJ as ProductAvailabilityNow, aL as Deal, aM as ProductDealInfo, aN as DiscountValidation, aP as TagsResponse, B as CustomAttributeDefinition, F as CustomAttributeValue, J as PropertyFacet, T as TaxonomyAttributeTemplate, L as KnowledgeArticle, br as UICart, bc as Cart, bd as CartItem, bv as CartSummary, bt as AddToCartInput, bu as UpdateCartItemInput, a$ as DiscountDetails, M as Money, a as CurrencyCode, bb as LineConfiguration, bA as AuthorizationType, bC as PaymentMethod, bE as InitializePaymentResult, bI as SubmitAuthorizationInput, bG as PaymentStatusResponse, t as DurationUnit } from './payment-5a21yzi7.js';
|
|
2
2
|
|
|
3
3
|
interface RequestContext {
|
|
4
4
|
method: "GET" | "POST" | "PATCH" | "DELETE";
|
package/dist/index.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { an as AUTHORIZATION_TYPE, as as AUTH_MUTATION, ac as AbortablePromise, x as ActivityRecommendation, y as ActivityRecommendationsResponse, s as ActivityService, w as ActivityStateResponse, cv as AddressData, cY as AddressInfo, b0 as AmountToPay, cG as AuthResponse, A as AuthService, o as AuthStatus, c_ as AuthenticatedCustomer, d0 as AuthenticatedData, cl as AvailabilityResult, c0 as AvailableSlot, c3 as Booking, c2 as BookingStatus, c4 as BookingWithDetails, bm as BufferTimes, bH as Business, bV as BusinessHours, bG as BusinessPreferences, B as BusinessService, bU as BusinessSettings, bF as BusinessType, bS as BusinessWithLocations, ag as CHECKOUT_MODE, at as CHECKOUT_MUTATION, aj as CHECKOUT_STEP, ap as CONTACT_TYPE, cb as CancelBookingInput, cc as CancelBookingResult, bg as CancelOrderInput, bo as CancellationPolicy, j as CartOperations, b as CatalogueQueries, aP as CatalogueResult, aQ as CatalogueSnapshot, bW as CategoryInfo, c8 as CheckSlotAvailabilityInput, c9 as CheckSlotAvailabilityResult, cJ as CheckoutAddressInfo, d4 as CheckoutCartData, d3 as CheckoutCartItem, cL as CheckoutCustomerInfo, a4 as CheckoutFormData, be as CheckoutInput, a0 as CheckoutMode, l as CheckoutOperations, a1 as CheckoutOrderType, a2 as CheckoutPaymentMethod, a5 as CheckoutResult, l as CheckoutService, aa as CheckoutStatus, ab as CheckoutStatusContext, a3 as CheckoutStep, C as CimplifyClient, a as CimplifyConfig, M as CimplifyElement, K as CimplifyElements, af as ContactType, cr as CreateAddressInput, ct as CreateMobileMoneyInput, cm as Customer, cn as CustomerAddress, c6 as CustomerBooking, c5 as CustomerBookingServiceItem, cp as CustomerLinkPreferences, co as CustomerMobileMoney, bl as CustomerServicePreferences, ax as DEFAULT_COUNTRY, aw as DEFAULT_CURRENCY, ao as DEVICE_TYPE, c1 as DayAvailability, bA as DeliveryFeeDetails, E as DeliveryFeeResponse, z as DeliveryService, bv as DepositResult, ae as DeviceType, D as DismissMessageResponse, X as ELEMENT_TYPES, W as EVENT_TYPES, cX as ElementAppearance, d7 as ElementEventHandler, $ as ElementEventType, Z as ElementOptions, _ as ElementType, d1 as ElementsCheckoutData, d2 as ElementsCheckoutResult, c$ as ElementsCustomerInfo, Y as ElementsOptions, cx as EnrollAndLinkOrderInput, cA as EnrollAndLinkOrderResult, cu as EnrollmentData, aA as Err, a$ as FeeBearerType, F as FetchQuoteInput, aZ as FulfillmentLink, aY as FulfillmentStatus, aX as FulfillmentType, cN as FxQuote, cM as FxQuoteRequest, cO as FxRateResponse, r as FxService, c7 as GetAvailableSlotsInput, n as GetOrdersOptions, G as GetProductsOptions, d6 as IframeToParentMessage, I as InventoryService, ar as LINK_MUTATION, aq as LINK_QUERY, b1 as LineItem, aU as LineType, cq as LinkData, cz as LinkEnrollResult, L as LinkService, cB as LinkSession, cy as LinkStatusResult, H as LiteBootstrap, q as LiteService, bK as Location, by as LocationAppointment, ck as LocationStock, bI as LocationTaxBehavior, bJ as LocationTaxOverrides, bN as LocationTimeProfile, bT as LocationWithDetails, V as MESSAGE_TYPES, am as MOBILE_MONEY_PROVIDER, cw as MobileMoneyData, cK as MobileMoneyDetails, ad as MobileMoneyProvider, a6 as NextAction, av as ORDER_MUTATION, ah as ORDER_TYPE, cV as ObservabilityHooks, az as Ok, b2 as Order, aT as OrderChannel, bd as OrderFilter, a_ as OrderFulfillmentSummary, b7 as OrderGroup, bb as OrderGroupDetails, b8 as OrderGroupPayment, b5 as OrderGroupPaymentState, b6 as OrderGroupPaymentStatus, ba as OrderGroupPaymentSummary, b4 as OrderGroupStatus, b3 as OrderHistory, aV as OrderLineState, aW as OrderLineStatus, bc as OrderPaymentEvent, O as OrderQueries, b9 as OrderSplitDetail, aR as OrderStatus, cW as OrderType, p as OtpResult, ai as PAYMENT_METHOD, au as PAYMENT_MUTATION, ak as PAYMENT_STATE, al as PICKUP_TIME_TYPE, d5 as ParentToIframeMessage, cZ as PaymentMethodInfo, aS as PaymentState, cI as PickupTime, cH as PickupTimeType, P as PriceQuote, bq as PricingOverrides, a9 as ProcessAndResolveOptions, a7 as ProcessCheckoutOptions, a8 as ProcessCheckoutResult, ci as ProductStock, bz as ProviderResolutionSource, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, i as RefreshQuoteResult, bh as RefundOrderInput, bD as RelatedCandidate, bC as RelatedProduct, bE as RelatedProductsEnrichment, bB as RelationType, bk as ReminderMethod, bn as ReminderSettings, k as ReorderResult, cP as RequestContext, cS as RequestErrorEvent, cE as RequestOtpInput, h as RequestSource, cQ as RequestStartEvent, cR as RequestSuccessEvent, ca as RescheduleBookingInput, cd as RescheduleBookingResult, bt as ResourceAssignment, ay as Result, cT as RetryEvent, cD as RevokeAllSessionsResult, cC as RevokeSessionResult, bP as Room, br as SchedulingMetadata, bu as SchedulingResult, S as SchedulingService, bX as Service, ce as ServiceAvailabilityParams, cf as ServiceAvailabilityResult, bQ as ServiceCharge, bp as ServiceNotes, bw as ServiceScheduleRequest, bi as ServiceStatus, v as SessionActivityData, cU as SessionChangeEvent, u as SessionMessage, b_ as SlotResourceInfo, b$ as SlotStaffInfo, bY as Staff, bs as StaffAssignment, bj as StaffRole, bx as StaffScheduleItem, ch as StockLevel, cg as StockStatus, bR as StorefrontBootstrap, bO as Table, J as TableInfo, bL as TimeRange, bM as TimeRanges, bZ as TimeSlot, t as TrackCategoryViewOptions, T as TrackProductViewOptions, cs as UpdateAddressInput, bf as UpdateOrderStatusInput, U as UpdateProfileInput, cj as VariantStock, cF as VerifyOtpInput, aN as combine, aO as combineObject, c as createCimplifyClient, N as createElements, aC as err, aH as flatMap, aL as fromPromise, m as generateIdempotencyKey, aI as getOrElse, aE as isErr, aD as isOk, aG as mapError, aF as mapResult, aB as ok, aK as toNullable, aM as tryCatch, aJ as unwrap } from './index-
|
|
2
|
-
import { A as ApiError } from './payment-
|
|
3
|
-
export {
|
|
4
|
-
export { C as CURRENCY_SYMBOLS, M as MOBILE_MONEY_PROVIDERS, v as categorizePaymentError, B as detectMobileMoneyProvider, c as formatMoney, d as formatNumberCompact, f as formatPrice, a as formatPriceAdjustment, b as formatPriceCompact, u as formatPriceRange, j as formatPriceWithTax, e as formatProductPrice, m as getBasePrice, k as getCurrencySymbol, o as getDiscountPercentage, l as getDisplayPrice, q as getMarkupPercentage, t as getPriceRange, r as getProductCurrency, g as getTaxAmount, s as getUnitPriceAtQuantity, h as hasTaxInfo, n as isOnSale, y as isPaymentStatusFailure, z as isPaymentStatusRequiresAction, A as isPaymentStatusSuccess, i as isTaxInclusive, F as isValidPhoneForContext, w as normalizePaymentResponse, D as normalizePhoneToE164, x as normalizeStatusResponse, p as parsePrice, E as resolvePhoneCountryCode } from './index-
|
|
1
|
+
export { an as AUTHORIZATION_TYPE, as as AUTH_MUTATION, ac as AbortablePromise, x as ActivityRecommendation, y as ActivityRecommendationsResponse, s as ActivityService, w as ActivityStateResponse, cv as AddressData, cY as AddressInfo, b0 as AmountToPay, cG as AuthResponse, A as AuthService, o as AuthStatus, c_ as AuthenticatedCustomer, d0 as AuthenticatedData, cl as AvailabilityResult, c0 as AvailableSlot, c3 as Booking, c2 as BookingStatus, c4 as BookingWithDetails, bm as BufferTimes, bH as Business, bV as BusinessHours, bG as BusinessPreferences, B as BusinessService, bU as BusinessSettings, bF as BusinessType, bS as BusinessWithLocations, ag as CHECKOUT_MODE, at as CHECKOUT_MUTATION, aj as CHECKOUT_STEP, ap as CONTACT_TYPE, cb as CancelBookingInput, cc as CancelBookingResult, bg as CancelOrderInput, bo as CancellationPolicy, j as CartOperations, b as CatalogueQueries, aP as CatalogueResult, aQ as CatalogueSnapshot, bW as CategoryInfo, c8 as CheckSlotAvailabilityInput, c9 as CheckSlotAvailabilityResult, cJ as CheckoutAddressInfo, d4 as CheckoutCartData, d3 as CheckoutCartItem, cL as CheckoutCustomerInfo, a4 as CheckoutFormData, be as CheckoutInput, a0 as CheckoutMode, l as CheckoutOperations, a1 as CheckoutOrderType, a2 as CheckoutPaymentMethod, a5 as CheckoutResult, l as CheckoutService, aa as CheckoutStatus, ab as CheckoutStatusContext, a3 as CheckoutStep, C as CimplifyClient, a as CimplifyConfig, M as CimplifyElement, K as CimplifyElements, af as ContactType, cr as CreateAddressInput, ct as CreateMobileMoneyInput, cm as Customer, cn as CustomerAddress, c6 as CustomerBooking, c5 as CustomerBookingServiceItem, cp as CustomerLinkPreferences, co as CustomerMobileMoney, bl as CustomerServicePreferences, ax as DEFAULT_COUNTRY, aw as DEFAULT_CURRENCY, ao as DEVICE_TYPE, c1 as DayAvailability, bA as DeliveryFeeDetails, E as DeliveryFeeResponse, z as DeliveryService, bv as DepositResult, ae as DeviceType, D as DismissMessageResponse, X as ELEMENT_TYPES, W as EVENT_TYPES, cX as ElementAppearance, d7 as ElementEventHandler, $ as ElementEventType, Z as ElementOptions, _ as ElementType, d1 as ElementsCheckoutData, d2 as ElementsCheckoutResult, c$ as ElementsCustomerInfo, Y as ElementsOptions, cx as EnrollAndLinkOrderInput, cA as EnrollAndLinkOrderResult, cu as EnrollmentData, aA as Err, a$ as FeeBearerType, F as FetchQuoteInput, aZ as FulfillmentLink, aY as FulfillmentStatus, aX as FulfillmentType, cN as FxQuote, cM as FxQuoteRequest, cO as FxRateResponse, r as FxService, c7 as GetAvailableSlotsInput, n as GetOrdersOptions, G as GetProductsOptions, d6 as IframeToParentMessage, I as InventoryService, ar as LINK_MUTATION, aq as LINK_QUERY, b1 as LineItem, aU as LineType, cq as LinkData, cz as LinkEnrollResult, L as LinkService, cB as LinkSession, cy as LinkStatusResult, H as LiteBootstrap, q as LiteService, bK as Location, by as LocationAppointment, ck as LocationStock, bI as LocationTaxBehavior, bJ as LocationTaxOverrides, bN as LocationTimeProfile, bT as LocationWithDetails, V as MESSAGE_TYPES, am as MOBILE_MONEY_PROVIDER, cw as MobileMoneyData, cK as MobileMoneyDetails, ad as MobileMoneyProvider, a6 as NextAction, av as ORDER_MUTATION, ah as ORDER_TYPE, cV as ObservabilityHooks, az as Ok, b2 as Order, aT as OrderChannel, bd as OrderFilter, a_ as OrderFulfillmentSummary, b7 as OrderGroup, bb as OrderGroupDetails, b8 as OrderGroupPayment, b5 as OrderGroupPaymentState, b6 as OrderGroupPaymentStatus, ba as OrderGroupPaymentSummary, b4 as OrderGroupStatus, b3 as OrderHistory, aV as OrderLineState, aW as OrderLineStatus, bc as OrderPaymentEvent, O as OrderQueries, b9 as OrderSplitDetail, aR as OrderStatus, cW as OrderType, p as OtpResult, ai as PAYMENT_METHOD, au as PAYMENT_MUTATION, ak as PAYMENT_STATE, al as PICKUP_TIME_TYPE, d5 as ParentToIframeMessage, cZ as PaymentMethodInfo, aS as PaymentState, cI as PickupTime, cH as PickupTimeType, P as PriceQuote, bq as PricingOverrides, a9 as ProcessAndResolveOptions, a7 as ProcessCheckoutOptions, a8 as ProcessCheckoutResult, ci as ProductStock, bz as ProviderResolutionSource, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, i as RefreshQuoteResult, bh as RefundOrderInput, bD as RelatedCandidate, bC as RelatedProduct, bE as RelatedProductsEnrichment, bB as RelationType, bk as ReminderMethod, bn as ReminderSettings, k as ReorderResult, cP as RequestContext, cS as RequestErrorEvent, cE as RequestOtpInput, h as RequestSource, cQ as RequestStartEvent, cR as RequestSuccessEvent, ca as RescheduleBookingInput, cd as RescheduleBookingResult, bt as ResourceAssignment, ay as Result, cT as RetryEvent, cD as RevokeAllSessionsResult, cC as RevokeSessionResult, bP as Room, br as SchedulingMetadata, bu as SchedulingResult, S as SchedulingService, bX as Service, ce as ServiceAvailabilityParams, cf as ServiceAvailabilityResult, bQ as ServiceCharge, bp as ServiceNotes, bw as ServiceScheduleRequest, bi as ServiceStatus, v as SessionActivityData, cU as SessionChangeEvent, u as SessionMessage, b_ as SlotResourceInfo, b$ as SlotStaffInfo, bY as Staff, bs as StaffAssignment, bj as StaffRole, bx as StaffScheduleItem, ch as StockLevel, cg as StockStatus, bR as StorefrontBootstrap, bO as Table, J as TableInfo, bL as TimeRange, bM as TimeRanges, bZ as TimeSlot, t as TrackCategoryViewOptions, T as TrackProductViewOptions, cs as UpdateAddressInput, bf as UpdateOrderStatusInput, U as UpdateProfileInput, cj as VariantStock, cF as VerifyOtpInput, aN as combine, aO as combineObject, c as createCimplifyClient, N as createElements, aC as err, aH as flatMap, aL as fromPromise, m as generateIdempotencyKey, aI as getOrElse, aE as isErr, aD as isOk, aG as mapError, aF as mapResult, aB as ok, aK as toNullable, aM as tryCatch, aJ as unwrap } from './index-7mX_cUpQ.mjs';
|
|
2
|
+
import { A as ApiError } from './payment-5a21yzi7.mjs';
|
|
3
|
+
export { a4 as AddOn, b1 as AddOnDetails, bo as AddOnGroupDetails, a6 as AddOnOption, bn as AddOnOptionDetails, a7 as AddOnOptionPrice, a5 as AddOnWithOptions, bt as AddToCartInput, bz as AddressAuthorizationData, aT as AdjustmentType, aZ as AppliedDiscount, w as AttributeAppliesTo, v as AttributeType, z as AttributeValidationRules, x as AttributeVisibility, bA as AuthorizationType, aY as BenefitType, bJ as BillingFrequency, bL as BillingMarkupType, bK as BillingPlanType, af as Bundle, aj as BundleComponentData, ak as BundleComponentInfo, am as BundleComponentVariantView, al as BundleComponentView, ae as BundlePriceType, ah as BundleProduct, b7 as BundleSelectionData, b4 as BundleSelectionInput, b6 as BundleStoredSelection, ag as BundleSummary, ai as BundleWithDetails, bc as Cart, b2 as CartAddOn, aR as CartChannel, bd as CartItem, bq as CartItemDetails, aQ as CartStatus, bv as CartSummary, be as CartTotals, a9 as Category, aa as CategorySummary, C as ChosenPrice, h as CimplifyError, ab as Collection, ad as CollectionProduct, ac as CollectionSummary, au as ComponentGroup, av as ComponentGroupWithComponents, aB as ComponentPriceBreakdown, b5 as ComponentSchedulingData, az as ComponentSelectionInput, ar as ComponentSourceType, as as Composite, ay as CompositeComponent, ax as CompositeComponentView, aw as CompositeGroupView, b9 as CompositePriceBreakdown, aA as CompositePriceResult, ap as CompositePricingMode, ba as CompositeSelectionData, az as CompositeSelectionInput, b8 as CompositeStoredSelection, at as CompositeWithDetails, a as CurrencyCode, B as CustomAttributeDefinition, F as CustomAttributeValue, u as DURATION_UNIT, aL as Deal, aK as DealBenefitType, s as DepositType, r as DigitalProductType, a_ as DiscountBreakdown, a$ as DiscountDetails, aN as DiscountValidation, bh as DisplayAddOn, bi as DisplayAddOnOption, bf as DisplayCart, bg as DisplayCartItem, D as DisplayMode, t as DurationUnit, g as ERROR_HINTS, bN as EligiblePlansQuery, E as ErrorCode, e as ErrorCodeType, f as ErrorHint, K as FacetValue, bO as FormattedPlanOption, aq as GroupPricingBehavior, bE as InitializePaymentResult, I as InventoryType, L as KnowledgeArticle, bb as LineConfiguration, aE as LocationProductPrice, y as MeasurementValue, M as Money, p as PRODUCT_TYPE, d as Pagination, P as PaginationParams, bD as Payment, bH as PaymentErrorDetails, bC as PaymentMethod, by as PaymentMethodType, bB as PaymentProcessingState, bx as PaymentProvider, bF as PaymentResponse, bw as PaymentStatus, bG as PaymentStatusResponse, aD as Price, aU as PriceAdjustment, aX as PriceDecisionPath, aC as PriceEntryType, aW as PricePathTaxInfo, aS as PriceSource, N as Product, a8 as ProductAddOn, aF as ProductAvailability, aJ as ProductAvailabilityNow, bM as ProductBillingPlan, aM as ProductDealInfo, H as ProductProperty, q as ProductRenderHint, aH as ProductTaxonomy, aG as ProductTimeProfile, o as ProductType, X as ProductVariant, a1 as ProductVariantValue, U as ProductWithDetails, J as PropertyFacet, G as PropertySource, Q as QuantityPricingTier, R as RENDER_HINT, O as RelatedProductView, S as SalesChannel, b0 as SelectedAddOnOption, bI as SubmitAuthorizationInput, aO as Tag, aP as TagsResponse, aV as TaxPathComponent, T as TaxonomyAttributeTemplate, aI as TaxonomyWithChildren, br as UICart, bj as UICartBusiness, bl as UICartCustomer, bk as UICartLocation, bm as UICartPricing, bs as UICartResponse, bu as UpdateCartItemInput, _ as VariantAxis, a3 as VariantAxisSelection, a0 as VariantAxisValue, ao as VariantAxisValueView, an as VariantAxisView, $ as VariantAxisWithValues, b3 as VariantDetails, bp as VariantDetailsDTO, Y as VariantDisplayAttribute, a2 as VariantLocationAvailability, V as VariantStrategy, W as VariantView, Z as ZERO, c as currencyCode, l as enrichError, k as getErrorHint, j as isCimplifyError, n as isRetryableError, i as isSupportedCurrency, m as money, b as moneyFromNumber } from './payment-5a21yzi7.mjs';
|
|
4
|
+
export { C as CURRENCY_SYMBOLS, M as MOBILE_MONEY_PROVIDERS, v as categorizePaymentError, B as detectMobileMoneyProvider, c as formatMoney, d as formatNumberCompact, f as formatPrice, a as formatPriceAdjustment, b as formatPriceCompact, u as formatPriceRange, j as formatPriceWithTax, e as formatProductPrice, m as getBasePrice, k as getCurrencySymbol, o as getDiscountPercentage, l as getDisplayPrice, q as getMarkupPercentage, t as getPriceRange, r as getProductCurrency, g as getTaxAmount, s as getUnitPriceAtQuantity, h as hasTaxInfo, n as isOnSale, y as isPaymentStatusFailure, z as isPaymentStatusRequiresAction, A as isPaymentStatusSuccess, i as isTaxInclusive, F as isValidPhoneForContext, w as normalizePaymentResponse, D as normalizePhoneToE164, x as normalizeStatusResponse, p as parsePrice, E as resolvePhoneCountryCode } from './index-2JxW7TuQ.mjs';
|
|
5
5
|
export { c as AdConfig, e as AdContextValue, d as AdCreative, a as AdPosition, A as AdSlot, b as AdTheme, g as getVariantDisplayName } from './ads-BxbWrwqp.mjs';
|
|
6
|
-
export { a as FormatCompactOptions, F as FormatPriceOptions, P as ProductWithPrice } from './price-
|
|
6
|
+
export { a as FormatCompactOptions, F as FormatPriceOptions, P as ProductWithPrice } from './price-CGPMlQUk.mjs';
|
|
7
7
|
import 'libphonenumber-js';
|
|
8
8
|
|
|
9
9
|
interface CustomerGroup {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { an as AUTHORIZATION_TYPE, as as AUTH_MUTATION, ac as AbortablePromise, x as ActivityRecommendation, y as ActivityRecommendationsResponse, s as ActivityService, w as ActivityStateResponse, cv as AddressData, cY as AddressInfo, b0 as AmountToPay, cG as AuthResponse, A as AuthService, o as AuthStatus, c_ as AuthenticatedCustomer, d0 as AuthenticatedData, cl as AvailabilityResult, c0 as AvailableSlot, c3 as Booking, c2 as BookingStatus, c4 as BookingWithDetails, bm as BufferTimes, bH as Business, bV as BusinessHours, bG as BusinessPreferences, B as BusinessService, bU as BusinessSettings, bF as BusinessType, bS as BusinessWithLocations, ag as CHECKOUT_MODE, at as CHECKOUT_MUTATION, aj as CHECKOUT_STEP, ap as CONTACT_TYPE, cb as CancelBookingInput, cc as CancelBookingResult, bg as CancelOrderInput, bo as CancellationPolicy, j as CartOperations, b as CatalogueQueries, aP as CatalogueResult, aQ as CatalogueSnapshot, bW as CategoryInfo, c8 as CheckSlotAvailabilityInput, c9 as CheckSlotAvailabilityResult, cJ as CheckoutAddressInfo, d4 as CheckoutCartData, d3 as CheckoutCartItem, cL as CheckoutCustomerInfo, a4 as CheckoutFormData, be as CheckoutInput, a0 as CheckoutMode, l as CheckoutOperations, a1 as CheckoutOrderType, a2 as CheckoutPaymentMethod, a5 as CheckoutResult, l as CheckoutService, aa as CheckoutStatus, ab as CheckoutStatusContext, a3 as CheckoutStep, C as CimplifyClient, a as CimplifyConfig, M as CimplifyElement, K as CimplifyElements, af as ContactType, cr as CreateAddressInput, ct as CreateMobileMoneyInput, cm as Customer, cn as CustomerAddress, c6 as CustomerBooking, c5 as CustomerBookingServiceItem, cp as CustomerLinkPreferences, co as CustomerMobileMoney, bl as CustomerServicePreferences, ax as DEFAULT_COUNTRY, aw as DEFAULT_CURRENCY, ao as DEVICE_TYPE, c1 as DayAvailability, bA as DeliveryFeeDetails, E as DeliveryFeeResponse, z as DeliveryService, bv as DepositResult, ae as DeviceType, D as DismissMessageResponse, X as ELEMENT_TYPES, W as EVENT_TYPES, cX as ElementAppearance, d7 as ElementEventHandler, $ as ElementEventType, Z as ElementOptions, _ as ElementType, d1 as ElementsCheckoutData, d2 as ElementsCheckoutResult, c$ as ElementsCustomerInfo, Y as ElementsOptions, cx as EnrollAndLinkOrderInput, cA as EnrollAndLinkOrderResult, cu as EnrollmentData, aA as Err, a$ as FeeBearerType, F as FetchQuoteInput, aZ as FulfillmentLink, aY as FulfillmentStatus, aX as FulfillmentType, cN as FxQuote, cM as FxQuoteRequest, cO as FxRateResponse, r as FxService, c7 as GetAvailableSlotsInput, n as GetOrdersOptions, G as GetProductsOptions, d6 as IframeToParentMessage, I as InventoryService, ar as LINK_MUTATION, aq as LINK_QUERY, b1 as LineItem, aU as LineType, cq as LinkData, cz as LinkEnrollResult, L as LinkService, cB as LinkSession, cy as LinkStatusResult, H as LiteBootstrap, q as LiteService, bK as Location, by as LocationAppointment, ck as LocationStock, bI as LocationTaxBehavior, bJ as LocationTaxOverrides, bN as LocationTimeProfile, bT as LocationWithDetails, V as MESSAGE_TYPES, am as MOBILE_MONEY_PROVIDER, cw as MobileMoneyData, cK as MobileMoneyDetails, ad as MobileMoneyProvider, a6 as NextAction, av as ORDER_MUTATION, ah as ORDER_TYPE, cV as ObservabilityHooks, az as Ok, b2 as Order, aT as OrderChannel, bd as OrderFilter, a_ as OrderFulfillmentSummary, b7 as OrderGroup, bb as OrderGroupDetails, b8 as OrderGroupPayment, b5 as OrderGroupPaymentState, b6 as OrderGroupPaymentStatus, ba as OrderGroupPaymentSummary, b4 as OrderGroupStatus, b3 as OrderHistory, aV as OrderLineState, aW as OrderLineStatus, bc as OrderPaymentEvent, O as OrderQueries, b9 as OrderSplitDetail, aR as OrderStatus, cW as OrderType, p as OtpResult, ai as PAYMENT_METHOD, au as PAYMENT_MUTATION, ak as PAYMENT_STATE, al as PICKUP_TIME_TYPE, d5 as ParentToIframeMessage, cZ as PaymentMethodInfo, aS as PaymentState, cI as PickupTime, cH as PickupTimeType, P as PriceQuote, bq as PricingOverrides, a9 as ProcessAndResolveOptions, a7 as ProcessCheckoutOptions, a8 as ProcessCheckoutResult, ci as ProductStock, bz as ProviderResolutionSource, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, i as RefreshQuoteResult, bh as RefundOrderInput, bD as RelatedCandidate, bC as RelatedProduct, bE as RelatedProductsEnrichment, bB as RelationType, bk as ReminderMethod, bn as ReminderSettings, k as ReorderResult, cP as RequestContext, cS as RequestErrorEvent, cE as RequestOtpInput, h as RequestSource, cQ as RequestStartEvent, cR as RequestSuccessEvent, ca as RescheduleBookingInput, cd as RescheduleBookingResult, bt as ResourceAssignment, ay as Result, cT as RetryEvent, cD as RevokeAllSessionsResult, cC as RevokeSessionResult, bP as Room, br as SchedulingMetadata, bu as SchedulingResult, S as SchedulingService, bX as Service, ce as ServiceAvailabilityParams, cf as ServiceAvailabilityResult, bQ as ServiceCharge, bp as ServiceNotes, bw as ServiceScheduleRequest, bi as ServiceStatus, v as SessionActivityData, cU as SessionChangeEvent, u as SessionMessage, b_ as SlotResourceInfo, b$ as SlotStaffInfo, bY as Staff, bs as StaffAssignment, bj as StaffRole, bx as StaffScheduleItem, ch as StockLevel, cg as StockStatus, bR as StorefrontBootstrap, bO as Table, J as TableInfo, bL as TimeRange, bM as TimeRanges, bZ as TimeSlot, t as TrackCategoryViewOptions, T as TrackProductViewOptions, cs as UpdateAddressInput, bf as UpdateOrderStatusInput, U as UpdateProfileInput, cj as VariantStock, cF as VerifyOtpInput, aN as combine, aO as combineObject, c as createCimplifyClient, N as createElements, aC as err, aH as flatMap, aL as fromPromise, m as generateIdempotencyKey, aI as getOrElse, aE as isErr, aD as isOk, aG as mapError, aF as mapResult, aB as ok, aK as toNullable, aM as tryCatch, aJ as unwrap } from './index-
|
|
2
|
-
import { A as ApiError } from './payment-
|
|
3
|
-
export {
|
|
4
|
-
export { C as CURRENCY_SYMBOLS, M as MOBILE_MONEY_PROVIDERS, v as categorizePaymentError, B as detectMobileMoneyProvider, c as formatMoney, d as formatNumberCompact, f as formatPrice, a as formatPriceAdjustment, b as formatPriceCompact, u as formatPriceRange, j as formatPriceWithTax, e as formatProductPrice, m as getBasePrice, k as getCurrencySymbol, o as getDiscountPercentage, l as getDisplayPrice, q as getMarkupPercentage, t as getPriceRange, r as getProductCurrency, g as getTaxAmount, s as getUnitPriceAtQuantity, h as hasTaxInfo, n as isOnSale, y as isPaymentStatusFailure, z as isPaymentStatusRequiresAction, A as isPaymentStatusSuccess, i as isTaxInclusive, F as isValidPhoneForContext, w as normalizePaymentResponse, D as normalizePhoneToE164, x as normalizeStatusResponse, p as parsePrice, E as resolvePhoneCountryCode } from './index-
|
|
1
|
+
export { an as AUTHORIZATION_TYPE, as as AUTH_MUTATION, ac as AbortablePromise, x as ActivityRecommendation, y as ActivityRecommendationsResponse, s as ActivityService, w as ActivityStateResponse, cv as AddressData, cY as AddressInfo, b0 as AmountToPay, cG as AuthResponse, A as AuthService, o as AuthStatus, c_ as AuthenticatedCustomer, d0 as AuthenticatedData, cl as AvailabilityResult, c0 as AvailableSlot, c3 as Booking, c2 as BookingStatus, c4 as BookingWithDetails, bm as BufferTimes, bH as Business, bV as BusinessHours, bG as BusinessPreferences, B as BusinessService, bU as BusinessSettings, bF as BusinessType, bS as BusinessWithLocations, ag as CHECKOUT_MODE, at as CHECKOUT_MUTATION, aj as CHECKOUT_STEP, ap as CONTACT_TYPE, cb as CancelBookingInput, cc as CancelBookingResult, bg as CancelOrderInput, bo as CancellationPolicy, j as CartOperations, b as CatalogueQueries, aP as CatalogueResult, aQ as CatalogueSnapshot, bW as CategoryInfo, c8 as CheckSlotAvailabilityInput, c9 as CheckSlotAvailabilityResult, cJ as CheckoutAddressInfo, d4 as CheckoutCartData, d3 as CheckoutCartItem, cL as CheckoutCustomerInfo, a4 as CheckoutFormData, be as CheckoutInput, a0 as CheckoutMode, l as CheckoutOperations, a1 as CheckoutOrderType, a2 as CheckoutPaymentMethod, a5 as CheckoutResult, l as CheckoutService, aa as CheckoutStatus, ab as CheckoutStatusContext, a3 as CheckoutStep, C as CimplifyClient, a as CimplifyConfig, M as CimplifyElement, K as CimplifyElements, af as ContactType, cr as CreateAddressInput, ct as CreateMobileMoneyInput, cm as Customer, cn as CustomerAddress, c6 as CustomerBooking, c5 as CustomerBookingServiceItem, cp as CustomerLinkPreferences, co as CustomerMobileMoney, bl as CustomerServicePreferences, ax as DEFAULT_COUNTRY, aw as DEFAULT_CURRENCY, ao as DEVICE_TYPE, c1 as DayAvailability, bA as DeliveryFeeDetails, E as DeliveryFeeResponse, z as DeliveryService, bv as DepositResult, ae as DeviceType, D as DismissMessageResponse, X as ELEMENT_TYPES, W as EVENT_TYPES, cX as ElementAppearance, d7 as ElementEventHandler, $ as ElementEventType, Z as ElementOptions, _ as ElementType, d1 as ElementsCheckoutData, d2 as ElementsCheckoutResult, c$ as ElementsCustomerInfo, Y as ElementsOptions, cx as EnrollAndLinkOrderInput, cA as EnrollAndLinkOrderResult, cu as EnrollmentData, aA as Err, a$ as FeeBearerType, F as FetchQuoteInput, aZ as FulfillmentLink, aY as FulfillmentStatus, aX as FulfillmentType, cN as FxQuote, cM as FxQuoteRequest, cO as FxRateResponse, r as FxService, c7 as GetAvailableSlotsInput, n as GetOrdersOptions, G as GetProductsOptions, d6 as IframeToParentMessage, I as InventoryService, ar as LINK_MUTATION, aq as LINK_QUERY, b1 as LineItem, aU as LineType, cq as LinkData, cz as LinkEnrollResult, L as LinkService, cB as LinkSession, cy as LinkStatusResult, H as LiteBootstrap, q as LiteService, bK as Location, by as LocationAppointment, ck as LocationStock, bI as LocationTaxBehavior, bJ as LocationTaxOverrides, bN as LocationTimeProfile, bT as LocationWithDetails, V as MESSAGE_TYPES, am as MOBILE_MONEY_PROVIDER, cw as MobileMoneyData, cK as MobileMoneyDetails, ad as MobileMoneyProvider, a6 as NextAction, av as ORDER_MUTATION, ah as ORDER_TYPE, cV as ObservabilityHooks, az as Ok, b2 as Order, aT as OrderChannel, bd as OrderFilter, a_ as OrderFulfillmentSummary, b7 as OrderGroup, bb as OrderGroupDetails, b8 as OrderGroupPayment, b5 as OrderGroupPaymentState, b6 as OrderGroupPaymentStatus, ba as OrderGroupPaymentSummary, b4 as OrderGroupStatus, b3 as OrderHistory, aV as OrderLineState, aW as OrderLineStatus, bc as OrderPaymentEvent, O as OrderQueries, b9 as OrderSplitDetail, aR as OrderStatus, cW as OrderType, p as OtpResult, ai as PAYMENT_METHOD, au as PAYMENT_MUTATION, ak as PAYMENT_STATE, al as PICKUP_TIME_TYPE, d5 as ParentToIframeMessage, cZ as PaymentMethodInfo, aS as PaymentState, cI as PickupTime, cH as PickupTimeType, P as PriceQuote, bq as PricingOverrides, a9 as ProcessAndResolveOptions, a7 as ProcessCheckoutOptions, a8 as ProcessCheckoutResult, ci as ProductStock, bz as ProviderResolutionSource, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, i as RefreshQuoteResult, bh as RefundOrderInput, bD as RelatedCandidate, bC as RelatedProduct, bE as RelatedProductsEnrichment, bB as RelationType, bk as ReminderMethod, bn as ReminderSettings, k as ReorderResult, cP as RequestContext, cS as RequestErrorEvent, cE as RequestOtpInput, h as RequestSource, cQ as RequestStartEvent, cR as RequestSuccessEvent, ca as RescheduleBookingInput, cd as RescheduleBookingResult, bt as ResourceAssignment, ay as Result, cT as RetryEvent, cD as RevokeAllSessionsResult, cC as RevokeSessionResult, bP as Room, br as SchedulingMetadata, bu as SchedulingResult, S as SchedulingService, bX as Service, ce as ServiceAvailabilityParams, cf as ServiceAvailabilityResult, bQ as ServiceCharge, bp as ServiceNotes, bw as ServiceScheduleRequest, bi as ServiceStatus, v as SessionActivityData, cU as SessionChangeEvent, u as SessionMessage, b_ as SlotResourceInfo, b$ as SlotStaffInfo, bY as Staff, bs as StaffAssignment, bj as StaffRole, bx as StaffScheduleItem, ch as StockLevel, cg as StockStatus, bR as StorefrontBootstrap, bO as Table, J as TableInfo, bL as TimeRange, bM as TimeRanges, bZ as TimeSlot, t as TrackCategoryViewOptions, T as TrackProductViewOptions, cs as UpdateAddressInput, bf as UpdateOrderStatusInput, U as UpdateProfileInput, cj as VariantStock, cF as VerifyOtpInput, aN as combine, aO as combineObject, c as createCimplifyClient, N as createElements, aC as err, aH as flatMap, aL as fromPromise, m as generateIdempotencyKey, aI as getOrElse, aE as isErr, aD as isOk, aG as mapError, aF as mapResult, aB as ok, aK as toNullable, aM as tryCatch, aJ as unwrap } from './index-DEx3GwlW.js';
|
|
2
|
+
import { A as ApiError } from './payment-5a21yzi7.js';
|
|
3
|
+
export { a4 as AddOn, b1 as AddOnDetails, bo as AddOnGroupDetails, a6 as AddOnOption, bn as AddOnOptionDetails, a7 as AddOnOptionPrice, a5 as AddOnWithOptions, bt as AddToCartInput, bz as AddressAuthorizationData, aT as AdjustmentType, aZ as AppliedDiscount, w as AttributeAppliesTo, v as AttributeType, z as AttributeValidationRules, x as AttributeVisibility, bA as AuthorizationType, aY as BenefitType, bJ as BillingFrequency, bL as BillingMarkupType, bK as BillingPlanType, af as Bundle, aj as BundleComponentData, ak as BundleComponentInfo, am as BundleComponentVariantView, al as BundleComponentView, ae as BundlePriceType, ah as BundleProduct, b7 as BundleSelectionData, b4 as BundleSelectionInput, b6 as BundleStoredSelection, ag as BundleSummary, ai as BundleWithDetails, bc as Cart, b2 as CartAddOn, aR as CartChannel, bd as CartItem, bq as CartItemDetails, aQ as CartStatus, bv as CartSummary, be as CartTotals, a9 as Category, aa as CategorySummary, C as ChosenPrice, h as CimplifyError, ab as Collection, ad as CollectionProduct, ac as CollectionSummary, au as ComponentGroup, av as ComponentGroupWithComponents, aB as ComponentPriceBreakdown, b5 as ComponentSchedulingData, az as ComponentSelectionInput, ar as ComponentSourceType, as as Composite, ay as CompositeComponent, ax as CompositeComponentView, aw as CompositeGroupView, b9 as CompositePriceBreakdown, aA as CompositePriceResult, ap as CompositePricingMode, ba as CompositeSelectionData, az as CompositeSelectionInput, b8 as CompositeStoredSelection, at as CompositeWithDetails, a as CurrencyCode, B as CustomAttributeDefinition, F as CustomAttributeValue, u as DURATION_UNIT, aL as Deal, aK as DealBenefitType, s as DepositType, r as DigitalProductType, a_ as DiscountBreakdown, a$ as DiscountDetails, aN as DiscountValidation, bh as DisplayAddOn, bi as DisplayAddOnOption, bf as DisplayCart, bg as DisplayCartItem, D as DisplayMode, t as DurationUnit, g as ERROR_HINTS, bN as EligiblePlansQuery, E as ErrorCode, e as ErrorCodeType, f as ErrorHint, K as FacetValue, bO as FormattedPlanOption, aq as GroupPricingBehavior, bE as InitializePaymentResult, I as InventoryType, L as KnowledgeArticle, bb as LineConfiguration, aE as LocationProductPrice, y as MeasurementValue, M as Money, p as PRODUCT_TYPE, d as Pagination, P as PaginationParams, bD as Payment, bH as PaymentErrorDetails, bC as PaymentMethod, by as PaymentMethodType, bB as PaymentProcessingState, bx as PaymentProvider, bF as PaymentResponse, bw as PaymentStatus, bG as PaymentStatusResponse, aD as Price, aU as PriceAdjustment, aX as PriceDecisionPath, aC as PriceEntryType, aW as PricePathTaxInfo, aS as PriceSource, N as Product, a8 as ProductAddOn, aF as ProductAvailability, aJ as ProductAvailabilityNow, bM as ProductBillingPlan, aM as ProductDealInfo, H as ProductProperty, q as ProductRenderHint, aH as ProductTaxonomy, aG as ProductTimeProfile, o as ProductType, X as ProductVariant, a1 as ProductVariantValue, U as ProductWithDetails, J as PropertyFacet, G as PropertySource, Q as QuantityPricingTier, R as RENDER_HINT, O as RelatedProductView, S as SalesChannel, b0 as SelectedAddOnOption, bI as SubmitAuthorizationInput, aO as Tag, aP as TagsResponse, aV as TaxPathComponent, T as TaxonomyAttributeTemplate, aI as TaxonomyWithChildren, br as UICart, bj as UICartBusiness, bl as UICartCustomer, bk as UICartLocation, bm as UICartPricing, bs as UICartResponse, bu as UpdateCartItemInput, _ as VariantAxis, a3 as VariantAxisSelection, a0 as VariantAxisValue, ao as VariantAxisValueView, an as VariantAxisView, $ as VariantAxisWithValues, b3 as VariantDetails, bp as VariantDetailsDTO, Y as VariantDisplayAttribute, a2 as VariantLocationAvailability, V as VariantStrategy, W as VariantView, Z as ZERO, c as currencyCode, l as enrichError, k as getErrorHint, j as isCimplifyError, n as isRetryableError, i as isSupportedCurrency, m as money, b as moneyFromNumber } from './payment-5a21yzi7.js';
|
|
4
|
+
export { C as CURRENCY_SYMBOLS, M as MOBILE_MONEY_PROVIDERS, v as categorizePaymentError, B as detectMobileMoneyProvider, c as formatMoney, d as formatNumberCompact, f as formatPrice, a as formatPriceAdjustment, b as formatPriceCompact, u as formatPriceRange, j as formatPriceWithTax, e as formatProductPrice, m as getBasePrice, k as getCurrencySymbol, o as getDiscountPercentage, l as getDisplayPrice, q as getMarkupPercentage, t as getPriceRange, r as getProductCurrency, g as getTaxAmount, s as getUnitPriceAtQuantity, h as hasTaxInfo, n as isOnSale, y as isPaymentStatusFailure, z as isPaymentStatusRequiresAction, A as isPaymentStatusSuccess, i as isTaxInclusive, F as isValidPhoneForContext, w as normalizePaymentResponse, D as normalizePhoneToE164, x as normalizeStatusResponse, p as parsePrice, E as resolvePhoneCountryCode } from './index-DBM89ktY.js';
|
|
5
5
|
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';
|
|
6
|
-
export { a as FormatCompactOptions, F as FormatPriceOptions, P as ProductWithPrice } from './price-
|
|
6
|
+
export { a as FormatCompactOptions, F as FormatPriceOptions, P as ProductWithPrice } from './price-BS0Z5Oi9.js';
|
|
7
7
|
import 'libphonenumber-js';
|
|
8
8
|
|
|
9
9
|
interface CustomerGroup {
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkWMQXSDRC_js = require('./chunk-WMQXSDRC.js');
|
|
4
4
|
var chunkL5GKVQVJ_js = require('./chunk-L5GKVQVJ.js');
|
|
5
5
|
var chunkI4F4Y3D4_js = require('./chunk-I4F4Y3D4.js');
|
|
6
6
|
var chunkPEDLCL72_js = require('./chunk-PEDLCL72.js');
|
|
@@ -9,23 +9,35 @@ var chunkPEDLCL72_js = require('./chunk-PEDLCL72.js');
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "ActivityService", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkWMQXSDRC_js.ActivityService; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "CimplifyClient", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkWMQXSDRC_js.CimplifyClient; }
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "DURATION_UNIT", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () { return chunkWMQXSDRC_js.DURATION_UNIT; }
|
|
17
21
|
});
|
|
18
22
|
Object.defineProperty(exports, "DeliveryService", {
|
|
19
23
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkWMQXSDRC_js.DeliveryService; }
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(exports, "PRODUCT_TYPE", {
|
|
27
|
+
enumerable: true,
|
|
28
|
+
get: function () { return chunkWMQXSDRC_js.PRODUCT_TYPE; }
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "RENDER_HINT", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () { return chunkWMQXSDRC_js.RENDER_HINT; }
|
|
21
33
|
});
|
|
22
34
|
Object.defineProperty(exports, "createCimplifyClient", {
|
|
23
35
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkWMQXSDRC_js.createCimplifyClient; }
|
|
25
37
|
});
|
|
26
38
|
Object.defineProperty(exports, "getVariantDisplayName", {
|
|
27
39
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkWMQXSDRC_js.getVariantDisplayName; }
|
|
29
41
|
});
|
|
30
42
|
Object.defineProperty(exports, "isValidPhoneForContext", {
|
|
31
43
|
enumerable: true,
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ActivityService, CimplifyClient, DeliveryService, createCimplifyClient, getVariantDisplayName } from './chunk-
|
|
1
|
+
export { ActivityService, CimplifyClient, DURATION_UNIT, DeliveryService, PRODUCT_TYPE, RENDER_HINT, createCimplifyClient, getVariantDisplayName } from './chunk-JMNMSVDQ.mjs';
|
|
2
2
|
export { isValidPhoneForContext, normalizePhoneToE164, resolvePhoneCountryCode } from './chunk-YOIVZ6OA.mjs';
|
|
3
3
|
export { AUTHORIZATION_TYPE, AUTH_MUTATION, AuthService, BusinessService, CHECKOUT_MODE, CHECKOUT_MUTATION, CHECKOUT_STEP, CONTACT_TYPE, CartOperations, CatalogueQueries, CheckoutService as CheckoutOperations, CheckoutService, CimplifyElement, CimplifyElements, DEFAULT_COUNTRY, DEFAULT_CURRENCY, DEVICE_TYPE, ELEMENT_TYPES, EVENT_TYPES, FxService, InventoryService, LINK_MUTATION, LINK_QUERY, LinkService, LiteService, MESSAGE_TYPES, MOBILE_MONEY_PROVIDER, ORDER_MUTATION, ORDER_TYPE, OrderQueries, PAYMENT_METHOD, PAYMENT_MUTATION, PAYMENT_STATE, PICKUP_TIME_TYPE, SchedulingService, combine, combineObject, createElements, err, flatMap, fromPromise, generateIdempotencyKey, getOrElse, isErr, isOk, mapError, mapResult, ok, toNullable, tryCatch, unwrap } from './chunk-TBZLJPM4.mjs';
|
|
4
4
|
export { CURRENCY_SYMBOLS, CimplifyError, ERROR_HINTS, ErrorCode, MOBILE_MONEY_PROVIDERS, ZERO, categorizePaymentError, currencyCode, detectMobileMoneyProvider, enrichError, formatMoney, formatNumberCompact, formatPrice, formatPriceAdjustment, formatPriceCompact, formatPriceRange, formatPriceWithTax, formatProductPrice, getBasePrice, getCurrencySymbol, getDiscountPercentage, getDisplayPrice, getErrorHint, getMarkupPercentage, getPriceRange, getProductCurrency, getTaxAmount, getUnitPriceAtQuantity, hasTaxInfo, isCimplifyError, isOnSale, isPaymentStatusFailure, isPaymentStatusRequiresAction, isPaymentStatusSuccess, isRetryableError, isSupportedCurrency, isTaxInclusive, money, moneyFromNumber, normalizePaymentResponse, normalizeStatusResponse, parsePrice } from './chunk-E3HC2YAE.mjs';
|
|
@@ -605,13 +605,34 @@ interface FormattedPlanOption {
|
|
|
605
605
|
}
|
|
606
606
|
|
|
607
607
|
type ProductType = "product" | "service" | "digital" | "bundle" | "composite";
|
|
608
|
+
declare const PRODUCT_TYPE: {
|
|
609
|
+
Product: "product";
|
|
610
|
+
Service: "service";
|
|
611
|
+
Digital: "digital";
|
|
612
|
+
Bundle: "bundle";
|
|
613
|
+
Composite: "composite";
|
|
614
|
+
};
|
|
608
615
|
type ProductRenderHint = "food" | "physical" | "general";
|
|
616
|
+
declare const RENDER_HINT: {
|
|
617
|
+
Food: "food";
|
|
618
|
+
Physical: "physical";
|
|
619
|
+
General: "general";
|
|
620
|
+
};
|
|
609
621
|
type DisplayMode = "card" | "page";
|
|
610
622
|
type InventoryType = "one_to_one" | "composition" | "none";
|
|
611
623
|
type VariantStrategy = "fetch_all" | "use_axes";
|
|
612
624
|
type DigitalProductType = "download" | "license" | "event_ticket" | "access_pass" | "gift_code";
|
|
613
625
|
type DepositType = "none" | "fixed" | "percentage";
|
|
614
626
|
type DurationUnit = "minutes" | "hours" | "days" | "nights" | "weeks" | "months" | "years";
|
|
627
|
+
declare const DURATION_UNIT: {
|
|
628
|
+
Minutes: "minutes";
|
|
629
|
+
Hours: "hours";
|
|
630
|
+
Days: "days";
|
|
631
|
+
Nights: "nights";
|
|
632
|
+
Weeks: "weeks";
|
|
633
|
+
Months: "months";
|
|
634
|
+
Years: "years";
|
|
635
|
+
};
|
|
615
636
|
type SalesChannel = "pos" | "online" | "marketplace" | "partners";
|
|
616
637
|
type AttributeType = "text" | "textarea" | "number" | "currency" | "boolean" | "single_select" | "multi_select" | "radio" | "date" | "url" | "color" | "image" | "file" | "product_reference" | "category_reference" | "collection_reference" | "variant_reference" | "list_text" | "list_number" | "list_date" | "dimension" | "weight" | "volume";
|
|
617
638
|
type AttributeAppliesTo = "product" | "variant" | "both" | "category" | "collection" | "all";
|
|
@@ -1432,4 +1453,4 @@ interface SubmitAuthorizationInput {
|
|
|
1432
1453
|
value: string;
|
|
1433
1454
|
}
|
|
1434
1455
|
|
|
1435
|
-
export { type
|
|
1456
|
+
export { type VariantAxisWithValues as $, type ApiError as A, type CustomAttributeDefinition as B, type ChosenPrice as C, type DisplayMode as D, ErrorCode as E, type CustomAttributeValue as F, type PropertySource as G, type ProductProperty as H, type InventoryType as I, type PropertyFacet as J, type FacetValue as K, type KnowledgeArticle as L, type Money as M, type Product as N, type RelatedProductView as O, type PaginationParams as P, type QuantityPricingTier as Q, RENDER_HINT as R, type SalesChannel as S, type TaxonomyAttributeTemplate as T, type ProductWithDetails as U, type VariantStrategy as V, type VariantView as W, type ProductVariant as X, type VariantDisplayAttribute as Y, ZERO as Z, type VariantAxis as _, type CurrencyCode as a, type DiscountDetails as a$, type VariantAxisValue as a0, type ProductVariantValue as a1, type VariantLocationAvailability as a2, type VariantAxisSelection as a3, type AddOn as a4, type AddOnWithOptions as a5, type AddOnOption as a6, type AddOnOptionPrice as a7, type ProductAddOn as a8, type Category as a9, type CompositePriceResult as aA, type ComponentPriceBreakdown as aB, type PriceEntryType as aC, type Price as aD, type LocationProductPrice as aE, type ProductAvailability as aF, type ProductTimeProfile as aG, type ProductTaxonomy as aH, type TaxonomyWithChildren as aI, type ProductAvailabilityNow as aJ, type DealBenefitType as aK, type Deal as aL, type ProductDealInfo as aM, type DiscountValidation as aN, type Tag as aO, type TagsResponse as aP, type CartStatus as aQ, type CartChannel as aR, type PriceSource as aS, type AdjustmentType as aT, type PriceAdjustment as aU, type TaxPathComponent as aV, type PricePathTaxInfo as aW, type PriceDecisionPath as aX, type BenefitType as aY, type AppliedDiscount as aZ, type DiscountBreakdown as a_, type CategorySummary as aa, type Collection as ab, type CollectionSummary as ac, type CollectionProduct as ad, type BundlePriceType as ae, type Bundle as af, type BundleSummary as ag, type BundleProduct as ah, type BundleWithDetails as ai, type BundleComponentData as aj, type BundleComponentInfo as ak, type BundleComponentView as al, type BundleComponentVariantView as am, type VariantAxisView as an, type VariantAxisValueView as ao, type CompositePricingMode as ap, type GroupPricingBehavior as aq, type ComponentSourceType as ar, type Composite as as, type CompositeWithDetails as at, type ComponentGroup as au, type ComponentGroupWithComponents as av, type CompositeGroupView as aw, type CompositeComponentView as ax, type CompositeComponent as ay, type ComponentSelectionInput as az, moneyFromNumber as b, type SelectedAddOnOption as b0, type AddOnDetails as b1, type CartAddOn as b2, type VariantDetails as b3, type BundleSelectionInput as b4, type ComponentSchedulingData as b5, type BundleStoredSelection as b6, type BundleSelectionData as b7, type CompositeStoredSelection as b8, type CompositePriceBreakdown as b9, type AuthorizationType as bA, type PaymentProcessingState as bB, type PaymentMethod as bC, type Payment as bD, type InitializePaymentResult as bE, type PaymentResponse as bF, type PaymentStatusResponse as bG, type PaymentErrorDetails as bH, type SubmitAuthorizationInput as bI, type BillingFrequency as bJ, type BillingPlanType as bK, type BillingMarkupType as bL, type ProductBillingPlan as bM, type EligiblePlansQuery as bN, type FormattedPlanOption as bO, type CompositeSelectionData as ba, type LineConfiguration as bb, type Cart as bc, type CartItem as bd, type CartTotals as be, type DisplayCart as bf, type DisplayCartItem as bg, type DisplayAddOn as bh, type DisplayAddOnOption as bi, type UICartBusiness as bj, type UICartLocation as bk, type UICartCustomer as bl, type UICartPricing as bm, type AddOnOptionDetails as bn, type AddOnGroupDetails as bo, type VariantDetailsDTO as bp, type CartItemDetails as bq, type UICart as br, type UICartResponse as bs, type AddToCartInput as bt, type UpdateCartItemInput as bu, type CartSummary as bv, type PaymentStatus as bw, type PaymentProvider as bx, type PaymentMethodType as by, type AddressAuthorizationData as bz, currencyCode as c, type Pagination as d, type ErrorCodeType as e, type ErrorHint as f, ERROR_HINTS as g, CimplifyError as h, isSupportedCurrency as i, isCimplifyError as j, getErrorHint as k, enrichError as l, money as m, isRetryableError as n, type ProductType as o, PRODUCT_TYPE as p, type ProductRenderHint as q, type DigitalProductType as r, type DepositType as s, type DurationUnit as t, DURATION_UNIT as u, type AttributeType as v, type AttributeAppliesTo as w, type AttributeVisibility as x, type MeasurementValue as y, type AttributeValidationRules as z };
|
|
@@ -605,13 +605,34 @@ interface FormattedPlanOption {
|
|
|
605
605
|
}
|
|
606
606
|
|
|
607
607
|
type ProductType = "product" | "service" | "digital" | "bundle" | "composite";
|
|
608
|
+
declare const PRODUCT_TYPE: {
|
|
609
|
+
Product: "product";
|
|
610
|
+
Service: "service";
|
|
611
|
+
Digital: "digital";
|
|
612
|
+
Bundle: "bundle";
|
|
613
|
+
Composite: "composite";
|
|
614
|
+
};
|
|
608
615
|
type ProductRenderHint = "food" | "physical" | "general";
|
|
616
|
+
declare const RENDER_HINT: {
|
|
617
|
+
Food: "food";
|
|
618
|
+
Physical: "physical";
|
|
619
|
+
General: "general";
|
|
620
|
+
};
|
|
609
621
|
type DisplayMode = "card" | "page";
|
|
610
622
|
type InventoryType = "one_to_one" | "composition" | "none";
|
|
611
623
|
type VariantStrategy = "fetch_all" | "use_axes";
|
|
612
624
|
type DigitalProductType = "download" | "license" | "event_ticket" | "access_pass" | "gift_code";
|
|
613
625
|
type DepositType = "none" | "fixed" | "percentage";
|
|
614
626
|
type DurationUnit = "minutes" | "hours" | "days" | "nights" | "weeks" | "months" | "years";
|
|
627
|
+
declare const DURATION_UNIT: {
|
|
628
|
+
Minutes: "minutes";
|
|
629
|
+
Hours: "hours";
|
|
630
|
+
Days: "days";
|
|
631
|
+
Nights: "nights";
|
|
632
|
+
Weeks: "weeks";
|
|
633
|
+
Months: "months";
|
|
634
|
+
Years: "years";
|
|
635
|
+
};
|
|
615
636
|
type SalesChannel = "pos" | "online" | "marketplace" | "partners";
|
|
616
637
|
type AttributeType = "text" | "textarea" | "number" | "currency" | "boolean" | "single_select" | "multi_select" | "radio" | "date" | "url" | "color" | "image" | "file" | "product_reference" | "category_reference" | "collection_reference" | "variant_reference" | "list_text" | "list_number" | "list_date" | "dimension" | "weight" | "volume";
|
|
617
638
|
type AttributeAppliesTo = "product" | "variant" | "both" | "category" | "collection" | "all";
|
|
@@ -1432,4 +1453,4 @@ interface SubmitAuthorizationInput {
|
|
|
1432
1453
|
value: string;
|
|
1433
1454
|
}
|
|
1434
1455
|
|
|
1435
|
-
export { type
|
|
1456
|
+
export { type VariantAxisWithValues as $, type ApiError as A, type CustomAttributeDefinition as B, type ChosenPrice as C, type DisplayMode as D, ErrorCode as E, type CustomAttributeValue as F, type PropertySource as G, type ProductProperty as H, type InventoryType as I, type PropertyFacet as J, type FacetValue as K, type KnowledgeArticle as L, type Money as M, type Product as N, type RelatedProductView as O, type PaginationParams as P, type QuantityPricingTier as Q, RENDER_HINT as R, type SalesChannel as S, type TaxonomyAttributeTemplate as T, type ProductWithDetails as U, type VariantStrategy as V, type VariantView as W, type ProductVariant as X, type VariantDisplayAttribute as Y, ZERO as Z, type VariantAxis as _, type CurrencyCode as a, type DiscountDetails as a$, type VariantAxisValue as a0, type ProductVariantValue as a1, type VariantLocationAvailability as a2, type VariantAxisSelection as a3, type AddOn as a4, type AddOnWithOptions as a5, type AddOnOption as a6, type AddOnOptionPrice as a7, type ProductAddOn as a8, type Category as a9, type CompositePriceResult as aA, type ComponentPriceBreakdown as aB, type PriceEntryType as aC, type Price as aD, type LocationProductPrice as aE, type ProductAvailability as aF, type ProductTimeProfile as aG, type ProductTaxonomy as aH, type TaxonomyWithChildren as aI, type ProductAvailabilityNow as aJ, type DealBenefitType as aK, type Deal as aL, type ProductDealInfo as aM, type DiscountValidation as aN, type Tag as aO, type TagsResponse as aP, type CartStatus as aQ, type CartChannel as aR, type PriceSource as aS, type AdjustmentType as aT, type PriceAdjustment as aU, type TaxPathComponent as aV, type PricePathTaxInfo as aW, type PriceDecisionPath as aX, type BenefitType as aY, type AppliedDiscount as aZ, type DiscountBreakdown as a_, type CategorySummary as aa, type Collection as ab, type CollectionSummary as ac, type CollectionProduct as ad, type BundlePriceType as ae, type Bundle as af, type BundleSummary as ag, type BundleProduct as ah, type BundleWithDetails as ai, type BundleComponentData as aj, type BundleComponentInfo as ak, type BundleComponentView as al, type BundleComponentVariantView as am, type VariantAxisView as an, type VariantAxisValueView as ao, type CompositePricingMode as ap, type GroupPricingBehavior as aq, type ComponentSourceType as ar, type Composite as as, type CompositeWithDetails as at, type ComponentGroup as au, type ComponentGroupWithComponents as av, type CompositeGroupView as aw, type CompositeComponentView as ax, type CompositeComponent as ay, type ComponentSelectionInput as az, moneyFromNumber as b, type SelectedAddOnOption as b0, type AddOnDetails as b1, type CartAddOn as b2, type VariantDetails as b3, type BundleSelectionInput as b4, type ComponentSchedulingData as b5, type BundleStoredSelection as b6, type BundleSelectionData as b7, type CompositeStoredSelection as b8, type CompositePriceBreakdown as b9, type AuthorizationType as bA, type PaymentProcessingState as bB, type PaymentMethod as bC, type Payment as bD, type InitializePaymentResult as bE, type PaymentResponse as bF, type PaymentStatusResponse as bG, type PaymentErrorDetails as bH, type SubmitAuthorizationInput as bI, type BillingFrequency as bJ, type BillingPlanType as bK, type BillingMarkupType as bL, type ProductBillingPlan as bM, type EligiblePlansQuery as bN, type FormattedPlanOption as bO, type CompositeSelectionData as ba, type LineConfiguration as bb, type Cart as bc, type CartItem as bd, type CartTotals as be, type DisplayCart as bf, type DisplayCartItem as bg, type DisplayAddOn as bh, type DisplayAddOnOption as bi, type UICartBusiness as bj, type UICartLocation as bk, type UICartCustomer as bl, type UICartPricing as bm, type AddOnOptionDetails as bn, type AddOnGroupDetails as bo, type VariantDetailsDTO as bp, type CartItemDetails as bq, type UICart as br, type UICartResponse as bs, type AddToCartInput as bt, type UpdateCartItemInput as bu, type CartSummary as bv, type PaymentStatus as bw, type PaymentProvider as bx, type PaymentMethodType as by, type AddressAuthorizationData as bz, currencyCode as c, type Pagination as d, type ErrorCodeType as e, type ErrorHint as f, ERROR_HINTS as g, CimplifyError as h, isSupportedCurrency as i, isCimplifyError as j, getErrorHint as k, enrichError as l, money as m, isRetryableError as n, type ProductType as o, PRODUCT_TYPE as p, type ProductRenderHint as q, type DigitalProductType as r, type DepositType as s, type DurationUnit as t, DURATION_UNIT as u, type AttributeType as v, type AttributeAppliesTo as w, type AttributeVisibility as x, type MeasurementValue as y, type AttributeValidationRules as z };
|