@cimplify/sdk 0.28.0 → 0.30.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-GS7AX6B3.js → chunk-F47XFKYP.js} +152 -0
- package/dist/{chunk-FFUCCUG4.mjs → chunk-WGAVNFEQ.mjs} +149 -1
- package/dist/{index-EGhIxwfI.d.mts → index-BHVJgyqM.d.ts} +2 -2
- package/dist/{index-C2U1gHyP.d.ts → index-D4oNCc37.d.mts} +2 -2
- package/dist/{index-iHKILmG9.d.ts → index-DTdtu4OO.d.ts} +141 -15
- package/dist/{index-ClrQ0yTH.d.mts → index-DaXyvlxk.d.mts} +141 -15
- package/dist/index.d.mts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +26 -10
- package/dist/index.mjs +1 -1
- package/dist/{payment-k8feV7r8.d.ts → payment-DnU_eLuT.d.mts} +119 -3
- package/dist/{payment-k8feV7r8.d.mts → payment-DnU_eLuT.d.ts} +119 -3
- package/dist/{price-Den0zv61.d.mts → price-D-hso3np.d.mts} +1 -1
- package/dist/{price-4EK-0zF5.d.ts → price-DUVmRTaz.d.ts} +1 -1
- package/dist/react.d.mts +99 -4
- package/dist/react.d.ts +99 -4
- package/dist/react.js +1893 -381
- package/dist/react.mjs +1556 -47
- 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/cart-summary.json +1 -1
- package/registry/chat-widget.json +15 -0
- package/registry/index.json +9 -0
- package/registry/product-customizer.json +1 -1
- package/registry/schedule-service-card.json +1 -1
- package/registry/service-product-layout.json +1 -1
- package/registry/subscription-card.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export {
|
|
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 { aD as AUTHORIZATION_TYPE, aI as AUTH_MUTATION, as as AbortablePromise, M as ActivityRecommendation, N as ActivityRecommendationsResponse, t as ActivityService, K as ActivityStateResponse, cN as AddressData, de as AddressInfo, bg as AmountToPay, cY as AuthResponse, A as AuthService, o as AuthStatus, dg as AuthenticatedCustomer, di as AuthenticatedData, y as AutocompletePrediction, z as AutocompleteResponse, cD as AvailabilityResult, cg as AvailableSlot, cj as Booking, ct as BookingModificationType, ci as BookingStatus, ck as BookingWithDetails, bC as BufferTimes, bX as Business, c9 as BusinessHours, bW as BusinessPreferences, B as BusinessService, c8 as BusinessSettings, bV as BusinessType, c6 as BusinessWithLocations, aw as CHECKOUT_MODE, aJ as CHECKOUT_MUTATION, az as CHECKOUT_STEP, aF as CONTACT_TYPE, cr as CancelBookingInput, cs as CancelBookingResult, bw as CancelOrderInput, bE as CancellationPolicy, j as CartOperations, b as CatalogueQueries, b3 as CatalogueResult, b4 as CatalogueSnapshot, ca as CategoryInfo, a0 as ChatAttachment, _ as ChatConversation, $ as ChatConversationResponse, Z as ChatMessage, a1 as ChatWidgetStarter, co as CheckSlotAvailabilityInput, cp as CheckSlotAvailabilityResult, c$ as CheckoutAddressInfo, dm as CheckoutCartData, dl as CheckoutCartItem, d1 as CheckoutCustomerInfo, ak as CheckoutFormData, bu as CheckoutInput, ag as CheckoutMode, l as CheckoutOperations, ah as CheckoutOrderType, ai as CheckoutPaymentMethod, al as CheckoutResult, l as CheckoutService, aq as CheckoutStatus, ar as CheckoutStatusContext, aj as CheckoutStep, C as CimplifyClient, a as CimplifyConfig, a7 as CimplifyElement, a6 as CimplifyElements, av as ContactType, a3 as ContentType, cJ as CreateAddressInput, cL as CreateMobileMoneyInput, cE as Customer, cF as CustomerAddress, cm as CustomerBooking, cl as CustomerBookingServiceItem, cH as CustomerLinkPreferences, cG as CustomerMobileMoney, bB as CustomerServicePreferences, aN as DEFAULT_COUNTRY, aM as DEFAULT_CURRENCY, aE as DEVICE_TYPE, ch as DayAvailability, bQ as DeliveryFeeDetails, X as DeliveryFeeResponse, W as DeliveryService, bL as DepositResult, au as DeviceType, V as DismissMessageResponse, ab as ELEMENT_TYPES, aa as EVENT_TYPES, dd as ElementAppearance, dq as ElementEventHandler, af as ElementEventType, ad as ElementOptions, ae as ElementType, dj as ElementsCheckoutData, dk as ElementsCheckoutResult, dh as ElementsCustomerInfo, ac as ElementsOptions, cP as EnrollAndLinkOrderInput, cS as EnrollAndLinkOrderResult, cM as EnrollmentData, aQ as Err, bf as FeeBearerType, F as FetchQuoteInput, bd as FulfillmentLink, bc as FulfillmentStatus, bb as FulfillmentType, d3 as FxQuote, d2 as FxQuoteRequest, d4 as FxRateResponse, s as FxService, cn as GetAvailableSlotsInput, n as GetOrdersOptions, G as GetProductsOptions, dp as IframeToParentMessage, I as InventoryService, aH as LINK_MUTATION, aG as LINK_QUERY, bh as LineItem, b8 as LineType, cI as LinkData, cR as LinkEnrollResult, L as LinkService, cT as LinkSession, cQ as LinkStatusResult, a4 as LiteBootstrap, r as LiteService, b_ as Location, bO as LocationBooking, cC as LocationStock, bY as LocationTaxBehavior, bZ as LocationTaxOverrides, c1 as LocationTimeProfile, c7 as LocationWithDetails, a9 as MESSAGE_TYPES, aC as MOBILE_MONEY_PROVIDER, cO as MobileMoneyData, d0 as MobileMoneyDetails, at as MobileMoneyProvider, am as NextAction, aL as ORDER_MUTATION, ax as ORDER_TYPE, db as ObservabilityHooks, aP as Ok, bi as Order, b7 as OrderChannel, bt as OrderFilter, be as OrderFulfillmentSummary, bn as OrderGroup, br as OrderGroupDetails, bo as OrderGroupPayment, bl as OrderGroupPaymentState, bm as OrderGroupPaymentStatus, bq as OrderGroupPaymentSummary, bk as OrderGroupStatus, bj as OrderHistory, b9 as OrderLineState, ba as OrderLineStatus, bs as OrderPaymentEvent, O as OrderQueries, bp as OrderSplitDetail, b5 as OrderStatus, dc as OrderType, p as OtpResult, ay as PAYMENT_METHOD, aK as PAYMENT_MUTATION, aA as PAYMENT_STATE, aB as PICKUP_TIME_TYPE, dn as ParentToIframeMessage, df as PaymentMethodInfo, b6 as PaymentState, c_ as PickupTime, cZ as PickupTimeType, D as PlaceDetailsResponse, x as PlacesService, P as PriceQuote, bG as PricingOverrides, ap as ProcessAndResolveOptions, an as ProcessCheckoutOptions, ao as ProcessCheckoutResult, cA as ProductStock, bP as ProviderResolutionSource, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, i as RefreshQuoteResult, bx as RefundOrderInput, bT as RelatedCandidate, bS as RelatedProduct, bU as RelatedProductsEnrichment, bR as RelationType, bA as ReminderMethod, bD as ReminderSettings, k as ReorderResult, d5 as RequestContext, d8 as RequestErrorEvent, cW as RequestOtpInput, h as RequestSource, d6 as RequestStartEvent, d7 as RequestSuccessEvent, cq as RescheduleBookingInput, cu as RescheduleBookingResult, cx as RescheduleHistoryRecord, bJ as ResourceAssignment, aO as Result, d9 as RetryEvent, cV as RevokeAllSessionsResult, cU as RevokeSessionResult, c3 as Room, bH as SchedulingMetadata, bK as SchedulingResult, q as SchedulingService, a2 as SenderType, cb as Service, cv as ServiceAvailabilityParams, cw as ServiceAvailabilityResult, c4 as ServiceCharge, bF as ServiceNotes, bM as ServiceScheduleRequest, by as ServiceStatus, J as SessionActivityData, da as SessionChangeEvent, H as SessionMessage, ce as SlotResourceInfo, cf as SlotStaffInfo, cc as Staff, bI as StaffAssignment, bz as StaffRole, bN as StaffScheduleItem, cz as StockLevel, cy as StockStatus, c5 as StorefrontBootstrap, S as SubscriptionService, Y as SupportService, c2 as Table, a5 as TableInfo, b$ as TimeRange, c0 as TimeRanges, cd as TimeSlot, E as TrackCategoryViewOptions, T as TrackProductViewOptions, cK as UpdateAddressInput, bv as UpdateOrderStatusInput, U as UpdateProfileInput, w as UploadInitResponse, v as UploadResult, u as UploadService, cB as VariantStock, cX as VerifyOtpInput, b1 as combine, b2 as combineObject, c as createCimplifyClient, a8 as createElements, aS as err, aX as flatMap, a$ as fromPromise, m as generateIdempotencyKey, aY as getOrElse, aU as isErr, aT as isOk, aW as mapError, aV as mapResult, aR as ok, a_ as toNullable, b0 as tryCatch, aZ as unwrap } from './index-DaXyvlxk.mjs';
|
|
2
|
+
import { A as ApiError } from './payment-DnU_eLuT.mjs';
|
|
3
|
+
export { af as AddOn, bc as AddOnDetails, bz as AddOnGroupDetails, ah as AddOnOption, by as AddOnOptionDetails, ai as AddOnOptionPrice, ag as AddOnWithOptions, bE as AddToCartInput, bK as AddressAuthorizationData, W as AddressValue, b2 as AdjustmentType, b8 as AppliedDiscount, x as AttributeAppliesTo, w as AttributeType, B as AttributeValidationRules, y as AttributeVisibility, bL as AuthorizationType, b7 as BenefitType, bU as BillingFrequency, bW as BillingMarkupType, bV as BillingPlanType, aq as Bundle, au as BundleComponentData, av as BundleComponentInfo, ax as BundleComponentVariantView, aw as BundleComponentView, ap as BundlePriceType, as as BundleProduct, bi as BundleSelectionData, bf as BundleSelectionInput, bh as BundleStoredSelection, ar as BundleSummary, at as BundleWithDetails, bn as Cart, bd as CartAddOn, b0 as CartChannel, bo as CartItem, bB as CartItemDetails, a$ as CartStatus, bG as CartSummary, bp as CartTotals, ak as Category, al as CategorySummary, C as ChosenPrice, h as CimplifyError, am as Collection, ao as CollectionProduct, an as CollectionSummary, aF as ComponentGroup, aG as ComponentGroupWithComponents, aM as ComponentPriceBreakdown, bg as ComponentSchedulingData, aK as ComponentSelectionInput, aC as ComponentSourceType, aD as Composite, aJ as CompositeComponent, aI as CompositeComponentView, aH as CompositeGroupView, bk as CompositePriceBreakdown, aL as CompositePriceResult, aA as CompositePricingMode, bl as CompositeSelectionData, aK as CompositeSelectionInput, bj as CompositeStoredSelection, aE as CompositeWithDetails, a as CurrencyCode, F as CustomAttributeDefinition, G as CustomAttributeValue, a2 as CustomerInputValue, u as DURATION_UNIT, Y as DateRangeValue, aW as Deal, aV as DealBenefitType, s as DepositType, r as DigitalProductType, b9 as DiscountBreakdown, ba as DiscountDetails, aY as DiscountValidation, bs as DisplayAddOn, bt as DisplayAddOnOption, bq as DisplayCart, br as DisplayCartItem, D as DisplayMode, t as DurationUnit, g as ERROR_HINTS, bY as EligiblePlansQuery, E as ErrorCode, e as ErrorCodeType, f as ErrorHint, L as FacetValue, bZ as FormattedPlanOption, aB as GroupPricingBehavior, U as INPUT_FIELD_TYPE, bP as InitializePaymentResult, Q as InputFieldType, a0 as InputFieldValidation, I as InventoryType, N as KnowledgeArticle, bm as LineConfiguration, aP as LocationProductPrice, _ as LocationValue, z as MeasurementValue, M as Money, p as PRODUCT_TYPE, d as Pagination, P as PaginationParams, bO as Payment, bS as PaymentErrorDetails, bN as PaymentMethod, bJ as PaymentMethodType, bM as PaymentProcessingState, bI as PaymentProvider, bQ as PaymentResponse, bH as PaymentStatus, bR as PaymentStatusResponse, X as PhoneValue, aO as Price, b3 as PriceAdjustment, b6 as PriceDecisionPath, aN as PriceEntryType, b5 as PricePathTaxInfo, b1 as PriceSource, O as Product, aj as ProductAddOn, aQ as ProductAvailability, aU as ProductAvailabilityNow, bX as ProductBillingPlan, aX as ProductDealInfo, a1 as ProductInputField, J as ProductProperty, q as ProductRenderHint, aS as ProductTaxonomy, aR as ProductTimeProfile, o as ProductType, a7 as ProductVariant, ac as ProductVariantValue, a5 as ProductWithDetails, K as PropertyFacet, H as PropertySource, a3 as QuantityPricingTier, R as RENDER_HINT, a4 as RelatedProductView, v as SalesChannel, S as SchedulingMode, bb as SelectedAddOnOption, $ as SignatureValue, bT as SubmitAuthorizationInput, b$ as Subscription, c1 as SubscriptionInvoice, c0 as SubscriptionItem, b_ as SubscriptionStatus, c2 as SubscriptionWithDetails, aZ as Tag, a_ as TagsResponse, b4 as TaxPathComponent, T as TaxonomyAttributeTemplate, aT as TaxonomyWithChildren, bC as UICart, bu as UICartBusiness, bw as UICartCustomer, bv as UICartLocation, bx as UICartPricing, bD as UICartResponse, bF as UpdateCartItemInput, a9 as VariantAxis, ae as VariantAxisSelection, ab as VariantAxisValue, az as VariantAxisValueView, ay as VariantAxisView, aa as VariantAxisWithValues, be as VariantDetails, bA as VariantDetailsDTO, a8 as VariantDisplayAttribute, ad as VariantLocationAvailability, V as VariantStrategy, a6 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-DnU_eLuT.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-D4oNCc37.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-D-hso3np.mjs';
|
|
7
7
|
import 'libphonenumber-js';
|
|
8
8
|
|
|
9
9
|
interface CustomerGroup {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export {
|
|
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 { aD as AUTHORIZATION_TYPE, aI as AUTH_MUTATION, as as AbortablePromise, M as ActivityRecommendation, N as ActivityRecommendationsResponse, t as ActivityService, K as ActivityStateResponse, cN as AddressData, de as AddressInfo, bg as AmountToPay, cY as AuthResponse, A as AuthService, o as AuthStatus, dg as AuthenticatedCustomer, di as AuthenticatedData, y as AutocompletePrediction, z as AutocompleteResponse, cD as AvailabilityResult, cg as AvailableSlot, cj as Booking, ct as BookingModificationType, ci as BookingStatus, ck as BookingWithDetails, bC as BufferTimes, bX as Business, c9 as BusinessHours, bW as BusinessPreferences, B as BusinessService, c8 as BusinessSettings, bV as BusinessType, c6 as BusinessWithLocations, aw as CHECKOUT_MODE, aJ as CHECKOUT_MUTATION, az as CHECKOUT_STEP, aF as CONTACT_TYPE, cr as CancelBookingInput, cs as CancelBookingResult, bw as CancelOrderInput, bE as CancellationPolicy, j as CartOperations, b as CatalogueQueries, b3 as CatalogueResult, b4 as CatalogueSnapshot, ca as CategoryInfo, a0 as ChatAttachment, _ as ChatConversation, $ as ChatConversationResponse, Z as ChatMessage, a1 as ChatWidgetStarter, co as CheckSlotAvailabilityInput, cp as CheckSlotAvailabilityResult, c$ as CheckoutAddressInfo, dm as CheckoutCartData, dl as CheckoutCartItem, d1 as CheckoutCustomerInfo, ak as CheckoutFormData, bu as CheckoutInput, ag as CheckoutMode, l as CheckoutOperations, ah as CheckoutOrderType, ai as CheckoutPaymentMethod, al as CheckoutResult, l as CheckoutService, aq as CheckoutStatus, ar as CheckoutStatusContext, aj as CheckoutStep, C as CimplifyClient, a as CimplifyConfig, a7 as CimplifyElement, a6 as CimplifyElements, av as ContactType, a3 as ContentType, cJ as CreateAddressInput, cL as CreateMobileMoneyInput, cE as Customer, cF as CustomerAddress, cm as CustomerBooking, cl as CustomerBookingServiceItem, cH as CustomerLinkPreferences, cG as CustomerMobileMoney, bB as CustomerServicePreferences, aN as DEFAULT_COUNTRY, aM as DEFAULT_CURRENCY, aE as DEVICE_TYPE, ch as DayAvailability, bQ as DeliveryFeeDetails, X as DeliveryFeeResponse, W as DeliveryService, bL as DepositResult, au as DeviceType, V as DismissMessageResponse, ab as ELEMENT_TYPES, aa as EVENT_TYPES, dd as ElementAppearance, dq as ElementEventHandler, af as ElementEventType, ad as ElementOptions, ae as ElementType, dj as ElementsCheckoutData, dk as ElementsCheckoutResult, dh as ElementsCustomerInfo, ac as ElementsOptions, cP as EnrollAndLinkOrderInput, cS as EnrollAndLinkOrderResult, cM as EnrollmentData, aQ as Err, bf as FeeBearerType, F as FetchQuoteInput, bd as FulfillmentLink, bc as FulfillmentStatus, bb as FulfillmentType, d3 as FxQuote, d2 as FxQuoteRequest, d4 as FxRateResponse, s as FxService, cn as GetAvailableSlotsInput, n as GetOrdersOptions, G as GetProductsOptions, dp as IframeToParentMessage, I as InventoryService, aH as LINK_MUTATION, aG as LINK_QUERY, bh as LineItem, b8 as LineType, cI as LinkData, cR as LinkEnrollResult, L as LinkService, cT as LinkSession, cQ as LinkStatusResult, a4 as LiteBootstrap, r as LiteService, b_ as Location, bO as LocationBooking, cC as LocationStock, bY as LocationTaxBehavior, bZ as LocationTaxOverrides, c1 as LocationTimeProfile, c7 as LocationWithDetails, a9 as MESSAGE_TYPES, aC as MOBILE_MONEY_PROVIDER, cO as MobileMoneyData, d0 as MobileMoneyDetails, at as MobileMoneyProvider, am as NextAction, aL as ORDER_MUTATION, ax as ORDER_TYPE, db as ObservabilityHooks, aP as Ok, bi as Order, b7 as OrderChannel, bt as OrderFilter, be as OrderFulfillmentSummary, bn as OrderGroup, br as OrderGroupDetails, bo as OrderGroupPayment, bl as OrderGroupPaymentState, bm as OrderGroupPaymentStatus, bq as OrderGroupPaymentSummary, bk as OrderGroupStatus, bj as OrderHistory, b9 as OrderLineState, ba as OrderLineStatus, bs as OrderPaymentEvent, O as OrderQueries, bp as OrderSplitDetail, b5 as OrderStatus, dc as OrderType, p as OtpResult, ay as PAYMENT_METHOD, aK as PAYMENT_MUTATION, aA as PAYMENT_STATE, aB as PICKUP_TIME_TYPE, dn as ParentToIframeMessage, df as PaymentMethodInfo, b6 as PaymentState, c_ as PickupTime, cZ as PickupTimeType, D as PlaceDetailsResponse, x as PlacesService, P as PriceQuote, bG as PricingOverrides, ap as ProcessAndResolveOptions, an as ProcessCheckoutOptions, ao as ProcessCheckoutResult, cA as ProductStock, bP as ProviderResolutionSource, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, i as RefreshQuoteResult, bx as RefundOrderInput, bT as RelatedCandidate, bS as RelatedProduct, bU as RelatedProductsEnrichment, bR as RelationType, bA as ReminderMethod, bD as ReminderSettings, k as ReorderResult, d5 as RequestContext, d8 as RequestErrorEvent, cW as RequestOtpInput, h as RequestSource, d6 as RequestStartEvent, d7 as RequestSuccessEvent, cq as RescheduleBookingInput, cu as RescheduleBookingResult, cx as RescheduleHistoryRecord, bJ as ResourceAssignment, aO as Result, d9 as RetryEvent, cV as RevokeAllSessionsResult, cU as RevokeSessionResult, c3 as Room, bH as SchedulingMetadata, bK as SchedulingResult, q as SchedulingService, a2 as SenderType, cb as Service, cv as ServiceAvailabilityParams, cw as ServiceAvailabilityResult, c4 as ServiceCharge, bF as ServiceNotes, bM as ServiceScheduleRequest, by as ServiceStatus, J as SessionActivityData, da as SessionChangeEvent, H as SessionMessage, ce as SlotResourceInfo, cf as SlotStaffInfo, cc as Staff, bI as StaffAssignment, bz as StaffRole, bN as StaffScheduleItem, cz as StockLevel, cy as StockStatus, c5 as StorefrontBootstrap, S as SubscriptionService, Y as SupportService, c2 as Table, a5 as TableInfo, b$ as TimeRange, c0 as TimeRanges, cd as TimeSlot, E as TrackCategoryViewOptions, T as TrackProductViewOptions, cK as UpdateAddressInput, bv as UpdateOrderStatusInput, U as UpdateProfileInput, w as UploadInitResponse, v as UploadResult, u as UploadService, cB as VariantStock, cX as VerifyOtpInput, b1 as combine, b2 as combineObject, c as createCimplifyClient, a8 as createElements, aS as err, aX as flatMap, a$ as fromPromise, m as generateIdempotencyKey, aY as getOrElse, aU as isErr, aT as isOk, aW as mapError, aV as mapResult, aR as ok, a_ as toNullable, b0 as tryCatch, aZ as unwrap } from './index-DTdtu4OO.js';
|
|
2
|
+
import { A as ApiError } from './payment-DnU_eLuT.js';
|
|
3
|
+
export { af as AddOn, bc as AddOnDetails, bz as AddOnGroupDetails, ah as AddOnOption, by as AddOnOptionDetails, ai as AddOnOptionPrice, ag as AddOnWithOptions, bE as AddToCartInput, bK as AddressAuthorizationData, W as AddressValue, b2 as AdjustmentType, b8 as AppliedDiscount, x as AttributeAppliesTo, w as AttributeType, B as AttributeValidationRules, y as AttributeVisibility, bL as AuthorizationType, b7 as BenefitType, bU as BillingFrequency, bW as BillingMarkupType, bV as BillingPlanType, aq as Bundle, au as BundleComponentData, av as BundleComponentInfo, ax as BundleComponentVariantView, aw as BundleComponentView, ap as BundlePriceType, as as BundleProduct, bi as BundleSelectionData, bf as BundleSelectionInput, bh as BundleStoredSelection, ar as BundleSummary, at as BundleWithDetails, bn as Cart, bd as CartAddOn, b0 as CartChannel, bo as CartItem, bB as CartItemDetails, a$ as CartStatus, bG as CartSummary, bp as CartTotals, ak as Category, al as CategorySummary, C as ChosenPrice, h as CimplifyError, am as Collection, ao as CollectionProduct, an as CollectionSummary, aF as ComponentGroup, aG as ComponentGroupWithComponents, aM as ComponentPriceBreakdown, bg as ComponentSchedulingData, aK as ComponentSelectionInput, aC as ComponentSourceType, aD as Composite, aJ as CompositeComponent, aI as CompositeComponentView, aH as CompositeGroupView, bk as CompositePriceBreakdown, aL as CompositePriceResult, aA as CompositePricingMode, bl as CompositeSelectionData, aK as CompositeSelectionInput, bj as CompositeStoredSelection, aE as CompositeWithDetails, a as CurrencyCode, F as CustomAttributeDefinition, G as CustomAttributeValue, a2 as CustomerInputValue, u as DURATION_UNIT, Y as DateRangeValue, aW as Deal, aV as DealBenefitType, s as DepositType, r as DigitalProductType, b9 as DiscountBreakdown, ba as DiscountDetails, aY as DiscountValidation, bs as DisplayAddOn, bt as DisplayAddOnOption, bq as DisplayCart, br as DisplayCartItem, D as DisplayMode, t as DurationUnit, g as ERROR_HINTS, bY as EligiblePlansQuery, E as ErrorCode, e as ErrorCodeType, f as ErrorHint, L as FacetValue, bZ as FormattedPlanOption, aB as GroupPricingBehavior, U as INPUT_FIELD_TYPE, bP as InitializePaymentResult, Q as InputFieldType, a0 as InputFieldValidation, I as InventoryType, N as KnowledgeArticle, bm as LineConfiguration, aP as LocationProductPrice, _ as LocationValue, z as MeasurementValue, M as Money, p as PRODUCT_TYPE, d as Pagination, P as PaginationParams, bO as Payment, bS as PaymentErrorDetails, bN as PaymentMethod, bJ as PaymentMethodType, bM as PaymentProcessingState, bI as PaymentProvider, bQ as PaymentResponse, bH as PaymentStatus, bR as PaymentStatusResponse, X as PhoneValue, aO as Price, b3 as PriceAdjustment, b6 as PriceDecisionPath, aN as PriceEntryType, b5 as PricePathTaxInfo, b1 as PriceSource, O as Product, aj as ProductAddOn, aQ as ProductAvailability, aU as ProductAvailabilityNow, bX as ProductBillingPlan, aX as ProductDealInfo, a1 as ProductInputField, J as ProductProperty, q as ProductRenderHint, aS as ProductTaxonomy, aR as ProductTimeProfile, o as ProductType, a7 as ProductVariant, ac as ProductVariantValue, a5 as ProductWithDetails, K as PropertyFacet, H as PropertySource, a3 as QuantityPricingTier, R as RENDER_HINT, a4 as RelatedProductView, v as SalesChannel, S as SchedulingMode, bb as SelectedAddOnOption, $ as SignatureValue, bT as SubmitAuthorizationInput, b$ as Subscription, c1 as SubscriptionInvoice, c0 as SubscriptionItem, b_ as SubscriptionStatus, c2 as SubscriptionWithDetails, aZ as Tag, a_ as TagsResponse, b4 as TaxPathComponent, T as TaxonomyAttributeTemplate, aT as TaxonomyWithChildren, bC as UICart, bu as UICartBusiness, bw as UICartCustomer, bv as UICartLocation, bx as UICartPricing, bD as UICartResponse, bF as UpdateCartItemInput, a9 as VariantAxis, ae as VariantAxisSelection, ab as VariantAxisValue, az as VariantAxisValueView, ay as VariantAxisView, aa as VariantAxisWithValues, be as VariantDetails, bA as VariantDetailsDTO, a8 as VariantDisplayAttribute, ad as VariantLocationAvailability, V as VariantStrategy, a6 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-DnU_eLuT.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-BHVJgyqM.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-DUVmRTaz.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 chunkF47XFKYP_js = require('./chunk-F47XFKYP.js');
|
|
4
4
|
var chunkL5GKVQVJ_js = require('./chunk-L5GKVQVJ.js');
|
|
5
5
|
var chunk2CGA3MUW_js = require('./chunk-2CGA3MUW.js');
|
|
6
6
|
var chunkPEDLCL72_js = require('./chunk-PEDLCL72.js');
|
|
@@ -9,39 +9,55 @@ 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 chunkF47XFKYP_js.ActivityService; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "CimplifyClient", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkF47XFKYP_js.CimplifyClient; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "DURATION_UNIT", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkF47XFKYP_js.DURATION_UNIT; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "DeliveryService", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkF47XFKYP_js.DeliveryService; }
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(exports, "INPUT_FIELD_TYPE", {
|
|
27
|
+
enumerable: true,
|
|
28
|
+
get: function () { return chunkF47XFKYP_js.INPUT_FIELD_TYPE; }
|
|
25
29
|
});
|
|
26
30
|
Object.defineProperty(exports, "PRODUCT_TYPE", {
|
|
27
31
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkF47XFKYP_js.PRODUCT_TYPE; }
|
|
33
|
+
});
|
|
34
|
+
Object.defineProperty(exports, "PlacesService", {
|
|
35
|
+
enumerable: true,
|
|
36
|
+
get: function () { return chunkF47XFKYP_js.PlacesService; }
|
|
29
37
|
});
|
|
30
38
|
Object.defineProperty(exports, "RENDER_HINT", {
|
|
31
39
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkF47XFKYP_js.RENDER_HINT; }
|
|
33
41
|
});
|
|
34
42
|
Object.defineProperty(exports, "SubscriptionService", {
|
|
35
43
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkF47XFKYP_js.SubscriptionService; }
|
|
45
|
+
});
|
|
46
|
+
Object.defineProperty(exports, "SupportService", {
|
|
47
|
+
enumerable: true,
|
|
48
|
+
get: function () { return chunkF47XFKYP_js.SupportService; }
|
|
49
|
+
});
|
|
50
|
+
Object.defineProperty(exports, "UploadService", {
|
|
51
|
+
enumerable: true,
|
|
52
|
+
get: function () { return chunkF47XFKYP_js.UploadService; }
|
|
37
53
|
});
|
|
38
54
|
Object.defineProperty(exports, "createCimplifyClient", {
|
|
39
55
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkF47XFKYP_js.createCimplifyClient; }
|
|
41
57
|
});
|
|
42
58
|
Object.defineProperty(exports, "getVariantDisplayName", {
|
|
43
59
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkF47XFKYP_js.getVariantDisplayName; }
|
|
45
61
|
});
|
|
46
62
|
Object.defineProperty(exports, "isValidPhoneForContext", {
|
|
47
63
|
enumerable: true,
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ActivityService, CimplifyClient, DURATION_UNIT, DeliveryService, PRODUCT_TYPE, RENDER_HINT, SubscriptionService, createCimplifyClient, getVariantDisplayName } from './chunk-
|
|
1
|
+
export { ActivityService, CimplifyClient, DURATION_UNIT, DeliveryService, INPUT_FIELD_TYPE, PRODUCT_TYPE, PlacesService, RENDER_HINT, SubscriptionService, SupportService, UploadService, createCimplifyClient, getVariantDisplayName } from './chunk-WGAVNFEQ.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-3J4PPSMI.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';
|
|
@@ -211,7 +211,8 @@ interface ComponentSchedulingData {
|
|
|
211
211
|
scheduled_end?: string;
|
|
212
212
|
service_status: string;
|
|
213
213
|
confirmation_code?: string;
|
|
214
|
-
|
|
214
|
+
booking_id?: string;
|
|
215
|
+
primary_resource_id?: string;
|
|
215
216
|
}
|
|
216
217
|
interface BundleStoredSelection {
|
|
217
218
|
component_id: string;
|
|
@@ -256,15 +257,18 @@ type LineConfiguration = {
|
|
|
256
257
|
type: "simple";
|
|
257
258
|
variant?: VariantDetails;
|
|
258
259
|
add_ons?: AddOnDetails;
|
|
260
|
+
customer_inputs?: CustomerInputValue[];
|
|
259
261
|
} | {
|
|
260
262
|
type: "service";
|
|
261
263
|
variant?: VariantDetails;
|
|
262
264
|
add_ons?: AddOnDetails;
|
|
265
|
+
customer_inputs?: CustomerInputValue[];
|
|
263
266
|
scheduled_start?: string;
|
|
264
267
|
scheduled_end?: string;
|
|
265
268
|
confirmation_code?: string;
|
|
266
269
|
service_status?: string;
|
|
267
270
|
primary_staff_id?: string;
|
|
271
|
+
primary_resource_id?: string;
|
|
268
272
|
scheduling_metadata?: Record<string, unknown>;
|
|
269
273
|
} | {
|
|
270
274
|
type: "bundle";
|
|
@@ -272,16 +276,19 @@ type LineConfiguration = {
|
|
|
272
276
|
input: BundleSelectionInput[];
|
|
273
277
|
resolved?: BundleSelectionData;
|
|
274
278
|
add_ons?: AddOnDetails;
|
|
279
|
+
customer_inputs?: CustomerInputValue[];
|
|
275
280
|
} | {
|
|
276
281
|
type: "composite";
|
|
277
282
|
variant?: VariantDetails;
|
|
278
283
|
input: ComponentSelectionInput[];
|
|
279
284
|
resolved?: CompositeSelectionData;
|
|
280
285
|
add_ons?: AddOnDetails;
|
|
286
|
+
customer_inputs?: CustomerInputValue[];
|
|
281
287
|
} | {
|
|
282
288
|
type: "digital";
|
|
283
289
|
variant?: VariantDetails;
|
|
284
290
|
add_ons?: AddOnDetails;
|
|
291
|
+
customer_inputs?: CustomerInputValue[];
|
|
285
292
|
digital_type?: string;
|
|
286
293
|
fulfillment_id?: string;
|
|
287
294
|
};
|
|
@@ -502,6 +509,12 @@ interface CartItemDetails {
|
|
|
502
509
|
bundle_resolved?: BundleSelectionData;
|
|
503
510
|
composite_selections?: ComponentSelectionInput[];
|
|
504
511
|
composite_resolved?: CompositeSelectionData;
|
|
512
|
+
customer_inputs?: Array<{
|
|
513
|
+
field_id: string;
|
|
514
|
+
field_name: string;
|
|
515
|
+
field_type: string;
|
|
516
|
+
value: unknown;
|
|
517
|
+
}>;
|
|
505
518
|
applied_discount_ids: string[];
|
|
506
519
|
discount_details?: DiscountDetails;
|
|
507
520
|
created_at: string;
|
|
@@ -546,6 +559,10 @@ interface AddToCartInput {
|
|
|
546
559
|
staff_id?: string;
|
|
547
560
|
resource_id?: string;
|
|
548
561
|
billing_plan_id?: string;
|
|
562
|
+
customer_inputs?: Array<{
|
|
563
|
+
field_id: string;
|
|
564
|
+
value: unknown;
|
|
565
|
+
}>;
|
|
549
566
|
}
|
|
550
567
|
interface UpdateCartItemInput {
|
|
551
568
|
quantity?: number;
|
|
@@ -568,7 +585,7 @@ interface CartSummary {
|
|
|
568
585
|
currency: CurrencyCode;
|
|
569
586
|
}
|
|
570
587
|
|
|
571
|
-
type BillingFrequency = "weekly" | "monthly" | "quarterly" | "annually";
|
|
588
|
+
type BillingFrequency = "weekly" | "biweekly" | "monthly" | "quarterly" | "annually";
|
|
572
589
|
type BillingPlanType = "subscription" | "installment";
|
|
573
590
|
type BillingMarkupType = "fixed" | "percentage";
|
|
574
591
|
interface ProductBillingPlan {
|
|
@@ -677,6 +694,7 @@ type InventoryType = "one_to_one" | "composition" | "none";
|
|
|
677
694
|
type VariantStrategy = "fetch_all" | "use_axes";
|
|
678
695
|
type DigitalProductType = "download" | "license" | "event_ticket" | "access_pass" | "gift_code";
|
|
679
696
|
type DepositType = "none" | "fixed" | "percentage";
|
|
697
|
+
type SchedulingMode = "intraday" | "multi_day";
|
|
680
698
|
type DurationUnit = "minutes" | "hours" | "days" | "nights" | "weeks" | "months" | "years";
|
|
681
699
|
declare const DURATION_UNIT: {
|
|
682
700
|
Minutes: "minutes";
|
|
@@ -842,6 +860,8 @@ interface Product {
|
|
|
842
860
|
code_type?: string;
|
|
843
861
|
code_value?: Money;
|
|
844
862
|
code_currency?: CurrencyCode;
|
|
863
|
+
scheduling_mode?: SchedulingMode;
|
|
864
|
+
duration_value?: number;
|
|
845
865
|
duration_minutes?: number;
|
|
846
866
|
duration_unit?: DurationUnit;
|
|
847
867
|
preparation_time_minutes?: number;
|
|
@@ -853,6 +873,13 @@ interface Product {
|
|
|
853
873
|
deposit_amount?: Money;
|
|
854
874
|
cancellation_window_minutes?: number;
|
|
855
875
|
no_show_fee?: Money;
|
|
876
|
+
partial_refund_percentage?: number;
|
|
877
|
+
max_free_reschedules?: number;
|
|
878
|
+
reschedule_fee?: Money;
|
|
879
|
+
no_show_deadline_minutes?: number;
|
|
880
|
+
cancellation_notice_days?: number;
|
|
881
|
+
early_termination_fee?: Money;
|
|
882
|
+
pro_rata_refund?: boolean;
|
|
856
883
|
requires_specific_staff?: boolean;
|
|
857
884
|
requires_specific_resource?: boolean;
|
|
858
885
|
hs_code?: string;
|
|
@@ -880,9 +907,94 @@ interface Product {
|
|
|
880
907
|
billing_plans?: ProductBillingPlan[];
|
|
881
908
|
quantity_pricing?: QuantityPricingTier[];
|
|
882
909
|
min_order_quantity?: number;
|
|
910
|
+
input_fields?: ProductInputField[];
|
|
883
911
|
upsells?: RelatedProductView[];
|
|
884
912
|
cross_sells?: RelatedProductView[];
|
|
885
913
|
}
|
|
914
|
+
type InputFieldType = "text" | "textarea" | "number" | "select" | "radio" | "checkbox" | "color" | "date" | "file" | "image" | "url" | "address" | "phone" | "email" | "date_time" | "time" | "signature" | "multi_select" | "date_range" | "location";
|
|
915
|
+
declare const INPUT_FIELD_TYPE: {
|
|
916
|
+
Text: "text";
|
|
917
|
+
Textarea: "textarea";
|
|
918
|
+
Number: "number";
|
|
919
|
+
Select: "select";
|
|
920
|
+
Radio: "radio";
|
|
921
|
+
Checkbox: "checkbox";
|
|
922
|
+
Color: "color";
|
|
923
|
+
Date: "date";
|
|
924
|
+
File: "file";
|
|
925
|
+
Image: "image";
|
|
926
|
+
Url: "url";
|
|
927
|
+
Address: "address";
|
|
928
|
+
Phone: "phone";
|
|
929
|
+
Email: "email";
|
|
930
|
+
DateTime: "date_time";
|
|
931
|
+
Time: "time";
|
|
932
|
+
Signature: "signature";
|
|
933
|
+
MultiSelect: "multi_select";
|
|
934
|
+
DateRange: "date_range";
|
|
935
|
+
Location: "location";
|
|
936
|
+
};
|
|
937
|
+
interface AddressValue {
|
|
938
|
+
formatted_address: string;
|
|
939
|
+
street_address?: string;
|
|
940
|
+
apartment?: string;
|
|
941
|
+
city?: string;
|
|
942
|
+
region?: string;
|
|
943
|
+
postal_code?: string;
|
|
944
|
+
country?: string;
|
|
945
|
+
latitude: number;
|
|
946
|
+
longitude: number;
|
|
947
|
+
place_id?: string;
|
|
948
|
+
}
|
|
949
|
+
interface PhoneValue {
|
|
950
|
+
country_code: string;
|
|
951
|
+
number: string;
|
|
952
|
+
formatted: string;
|
|
953
|
+
}
|
|
954
|
+
interface DateRangeValue {
|
|
955
|
+
start: string;
|
|
956
|
+
end: string;
|
|
957
|
+
}
|
|
958
|
+
interface LocationValue {
|
|
959
|
+
latitude: number;
|
|
960
|
+
longitude: number;
|
|
961
|
+
label?: string;
|
|
962
|
+
}
|
|
963
|
+
interface SignatureValue {
|
|
964
|
+
data_url: string;
|
|
965
|
+
signer_name?: string;
|
|
966
|
+
}
|
|
967
|
+
interface InputFieldValidation {
|
|
968
|
+
max_length?: number;
|
|
969
|
+
min_length?: number;
|
|
970
|
+
min_value?: number;
|
|
971
|
+
max_value?: number;
|
|
972
|
+
accepted_formats?: string[];
|
|
973
|
+
max_size_mb?: number;
|
|
974
|
+
pattern?: string;
|
|
975
|
+
allowed_countries?: string[];
|
|
976
|
+
max_selections?: number;
|
|
977
|
+
}
|
|
978
|
+
interface ProductInputField {
|
|
979
|
+
id: string;
|
|
980
|
+
product_id: string;
|
|
981
|
+
name: string;
|
|
982
|
+
slug: string;
|
|
983
|
+
field_type: InputFieldType;
|
|
984
|
+
is_required: boolean;
|
|
985
|
+
display_order: number;
|
|
986
|
+
placeholder?: string;
|
|
987
|
+
help_text?: string;
|
|
988
|
+
validation?: InputFieldValidation;
|
|
989
|
+
options?: string[];
|
|
990
|
+
price_adjustment?: Money;
|
|
991
|
+
}
|
|
992
|
+
interface CustomerInputValue {
|
|
993
|
+
field_id: string;
|
|
994
|
+
field_name: string;
|
|
995
|
+
field_type: string;
|
|
996
|
+
value: unknown;
|
|
997
|
+
}
|
|
886
998
|
interface QuantityPricingTier {
|
|
887
999
|
min_quantity: number;
|
|
888
1000
|
max_quantity?: number;
|
|
@@ -914,6 +1026,8 @@ interface VariantView {
|
|
|
914
1026
|
axis_selections?: Record<string, string>;
|
|
915
1027
|
display_attributes?: VariantDisplayAttribute[];
|
|
916
1028
|
images?: string[];
|
|
1029
|
+
scheduling_mode?: SchedulingMode;
|
|
1030
|
+
duration_value?: number;
|
|
917
1031
|
duration_minutes?: number;
|
|
918
1032
|
duration_unit?: DurationUnit;
|
|
919
1033
|
skill_level_required?: string;
|
|
@@ -947,6 +1061,8 @@ interface ProductVariant {
|
|
|
947
1061
|
barcode?: string;
|
|
948
1062
|
download_url?: string;
|
|
949
1063
|
metadata?: Record<string, unknown>;
|
|
1064
|
+
scheduling_mode?: SchedulingMode;
|
|
1065
|
+
duration_value?: number;
|
|
950
1066
|
duration_minutes?: number;
|
|
951
1067
|
duration_unit?: DurationUnit;
|
|
952
1068
|
max_downloads?: number;
|
|
@@ -1507,4 +1623,4 @@ interface SubmitAuthorizationInput {
|
|
|
1507
1623
|
value: string;
|
|
1508
1624
|
}
|
|
1509
1625
|
|
|
1510
|
-
export { type
|
|
1626
|
+
export { type SignatureValue as $, type ApiError as A, type AttributeValidationRules as B, type ChosenPrice as C, type DisplayMode as D, ErrorCode as E, type CustomAttributeDefinition as F, type CustomAttributeValue as G, type PropertySource as H, type InventoryType as I, type ProductProperty as J, type PropertyFacet as K, type FacetValue as L, type Money as M, type KnowledgeArticle as N, type Product as O, type PaginationParams as P, type InputFieldType as Q, RENDER_HINT as R, type SchedulingMode as S, type TaxonomyAttributeTemplate as T, INPUT_FIELD_TYPE as U, type VariantStrategy as V, type AddressValue as W, type PhoneValue as X, type DateRangeValue as Y, ZERO as Z, type LocationValue as _, type CurrencyCode as a, type CartStatus as a$, type InputFieldValidation as a0, type ProductInputField as a1, type CustomerInputValue as a2, type QuantityPricingTier as a3, type RelatedProductView as a4, type ProductWithDetails as a5, type VariantView as a6, type ProductVariant as a7, type VariantDisplayAttribute as a8, type VariantAxis as a9, type CompositePricingMode as aA, type GroupPricingBehavior as aB, type ComponentSourceType as aC, type Composite as aD, type CompositeWithDetails as aE, type ComponentGroup as aF, type ComponentGroupWithComponents as aG, type CompositeGroupView as aH, type CompositeComponentView as aI, type CompositeComponent as aJ, type ComponentSelectionInput as aK, type CompositePriceResult as aL, type ComponentPriceBreakdown as aM, type PriceEntryType as aN, type Price as aO, type LocationProductPrice as aP, type ProductAvailability as aQ, type ProductTimeProfile as aR, type ProductTaxonomy as aS, type TaxonomyWithChildren as aT, type ProductAvailabilityNow as aU, type DealBenefitType as aV, type Deal as aW, type ProductDealInfo as aX, type DiscountValidation as aY, type Tag as aZ, type TagsResponse as a_, type VariantAxisWithValues as aa, type VariantAxisValue as ab, type ProductVariantValue as ac, type VariantLocationAvailability as ad, type VariantAxisSelection as ae, type AddOn as af, type AddOnWithOptions as ag, type AddOnOption as ah, type AddOnOptionPrice as ai, type ProductAddOn as aj, type Category as ak, type CategorySummary as al, type Collection as am, type CollectionSummary as an, type CollectionProduct as ao, type BundlePriceType as ap, type Bundle as aq, type BundleSummary as ar, type BundleProduct as as, type BundleWithDetails as at, type BundleComponentData as au, type BundleComponentInfo as av, type BundleComponentView as aw, type BundleComponentVariantView as ax, type VariantAxisView as ay, type VariantAxisValueView as az, moneyFromNumber as b, type Subscription as b$, type CartChannel as b0, type PriceSource as b1, type AdjustmentType as b2, type PriceAdjustment as b3, type TaxPathComponent as b4, type PricePathTaxInfo as b5, type PriceDecisionPath as b6, type BenefitType as b7, type AppliedDiscount as b8, type DiscountBreakdown as b9, type VariantDetailsDTO as bA, type CartItemDetails as bB, type UICart as bC, type UICartResponse as bD, type AddToCartInput as bE, type UpdateCartItemInput as bF, type CartSummary as bG, type PaymentStatus as bH, type PaymentProvider as bI, type PaymentMethodType as bJ, type AddressAuthorizationData as bK, type AuthorizationType as bL, type PaymentProcessingState as bM, type PaymentMethod as bN, type Payment as bO, type InitializePaymentResult as bP, type PaymentResponse as bQ, type PaymentStatusResponse as bR, type PaymentErrorDetails as bS, type SubmitAuthorizationInput as bT, type BillingFrequency as bU, type BillingPlanType as bV, type BillingMarkupType as bW, type ProductBillingPlan as bX, type EligiblePlansQuery as bY, type FormattedPlanOption as bZ, type SubscriptionStatus as b_, type DiscountDetails as ba, type SelectedAddOnOption as bb, type AddOnDetails as bc, type CartAddOn as bd, type VariantDetails as be, type BundleSelectionInput as bf, type ComponentSchedulingData as bg, type BundleStoredSelection as bh, type BundleSelectionData as bi, type CompositeStoredSelection as bj, type CompositePriceBreakdown as bk, type CompositeSelectionData as bl, type LineConfiguration as bm, type Cart as bn, type CartItem as bo, type CartTotals as bp, type DisplayCart as bq, type DisplayCartItem as br, type DisplayAddOn as bs, type DisplayAddOnOption as bt, type UICartBusiness as bu, type UICartLocation as bv, type UICartCustomer as bw, type UICartPricing as bx, type AddOnOptionDetails as by, type AddOnGroupDetails as bz, currencyCode as c, type SubscriptionItem as c0, type SubscriptionInvoice as c1, type SubscriptionWithDetails as c2, 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 SalesChannel as v, type AttributeType as w, type AttributeAppliesTo as x, type AttributeVisibility as y, type MeasurementValue as z };
|