@cimplify/sdk 0.27.0 → 0.28.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.
@@ -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-DT-24csu.mjs';
2
- import './payment-5a21yzi7.mjs';
1
+ export { A as AuthService, B as BusinessService, j as CartOperations, b as CatalogueQueries, l as CheckoutOperations, l as CheckoutService, N as CimplifyElement, M as CimplifyElements, Y as ELEMENT_TYPES, X as EVENT_TYPES, a0 as ElementEventType, _ as ElementOptions, $ as ElementType, Z as ElementsOptions, F as FetchQuoteInput, s as FxService, G as GetProductsOptions, I as InventoryService, L as LinkService, r as LiteService, W 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, q as SchedulingService, V as createElements, m as generateIdempotencyKey } from './index-ClrQ0yTH.mjs';
2
+ import './payment-k8feV7r8.mjs';
@@ -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-BAu-zmIP.js';
2
- import './payment-5a21yzi7.js';
1
+ export { A as AuthService, B as BusinessService, j as CartOperations, b as CatalogueQueries, l as CheckoutOperations, l as CheckoutService, N as CimplifyElement, M as CimplifyElements, Y as ELEMENT_TYPES, X as EVENT_TYPES, a0 as ElementEventType, _ as ElementOptions, $ as ElementType, Z as ElementsOptions, F as FetchQuoteInput, s as FxService, G as GetProductsOptions, I as InventoryService, L as LinkService, r as LiteService, W 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, q as SchedulingService, V as createElements, m as generateIdempotencyKey } from './index-iHKILmG9.js';
2
+ import './payment-k8feV7r8.js';
@@ -54,6 +54,46 @@ function currentPath() {
54
54
  return void 0;
55
55
  }
56
56
 
57
+ // src/subscriptions.ts
58
+ var SubscriptionService = class {
59
+ constructor(client) {
60
+ this.client = client;
61
+ }
62
+ async list() {
63
+ return safe(this.client.get("/api/v1/subscriptions"));
64
+ }
65
+ async get(id) {
66
+ const encodedId = encodeURIComponent(id);
67
+ return safe(this.client.get(`/api/v1/subscriptions/${encodedId}`));
68
+ }
69
+ async cancel(id, reason) {
70
+ const encodedId = encodeURIComponent(id);
71
+ return safe(
72
+ this.client.post(`/api/v1/subscriptions/${encodedId}/cancel`, {
73
+ reason
74
+ })
75
+ );
76
+ }
77
+ async pause(id) {
78
+ const encodedId = encodeURIComponent(id);
79
+ return safe(
80
+ this.client.post(`/api/v1/subscriptions/${encodedId}/pause`)
81
+ );
82
+ }
83
+ async resume(id) {
84
+ const encodedId = encodeURIComponent(id);
85
+ return safe(
86
+ this.client.post(`/api/v1/subscriptions/${encodedId}/resume`)
87
+ );
88
+ }
89
+ async skipNextRenewal(id) {
90
+ const encodedId = encodeURIComponent(id);
91
+ return safe(
92
+ this.client.post(`/api/v1/subscriptions/${encodedId}/skip`)
93
+ );
94
+ }
95
+ };
96
+
57
97
  // src/delivery.ts
58
98
  var DeliveryService = class {
59
99
  constructor(client) {
@@ -617,6 +657,12 @@ var CimplifyClient = class {
617
657
  }
618
658
  return this._orders;
619
659
  }
660
+ get subscriptions() {
661
+ if (!this._subscriptions) {
662
+ this._subscriptions = new SubscriptionService(this);
663
+ }
664
+ return this._subscriptions;
665
+ }
620
666
  get link() {
621
667
  if (!this._link) {
622
668
  this._link = new LinkService(this);
@@ -742,4 +788,4 @@ var DURATION_UNIT = {
742
788
  Years: "years"
743
789
  };
744
790
 
745
- export { ActivityService, CimplifyClient, DURATION_UNIT, DeliveryService, PRODUCT_TYPE, RENDER_HINT, createCimplifyClient, getVariantDisplayName };
791
+ export { ActivityService, CimplifyClient, DURATION_UNIT, DeliveryService, PRODUCT_TYPE, RENDER_HINT, SubscriptionService, createCimplifyClient, getVariantDisplayName };
@@ -56,6 +56,46 @@ function currentPath() {
56
56
  return void 0;
57
57
  }
58
58
 
59
+ // src/subscriptions.ts
60
+ var SubscriptionService = class {
61
+ constructor(client) {
62
+ this.client = client;
63
+ }
64
+ async list() {
65
+ return chunk2CGA3MUW_js.safe(this.client.get("/api/v1/subscriptions"));
66
+ }
67
+ async get(id) {
68
+ const encodedId = encodeURIComponent(id);
69
+ return chunk2CGA3MUW_js.safe(this.client.get(`/api/v1/subscriptions/${encodedId}`));
70
+ }
71
+ async cancel(id, reason) {
72
+ const encodedId = encodeURIComponent(id);
73
+ return chunk2CGA3MUW_js.safe(
74
+ this.client.post(`/api/v1/subscriptions/${encodedId}/cancel`, {
75
+ reason
76
+ })
77
+ );
78
+ }
79
+ async pause(id) {
80
+ const encodedId = encodeURIComponent(id);
81
+ return chunk2CGA3MUW_js.safe(
82
+ this.client.post(`/api/v1/subscriptions/${encodedId}/pause`)
83
+ );
84
+ }
85
+ async resume(id) {
86
+ const encodedId = encodeURIComponent(id);
87
+ return chunk2CGA3MUW_js.safe(
88
+ this.client.post(`/api/v1/subscriptions/${encodedId}/resume`)
89
+ );
90
+ }
91
+ async skipNextRenewal(id) {
92
+ const encodedId = encodeURIComponent(id);
93
+ return chunk2CGA3MUW_js.safe(
94
+ this.client.post(`/api/v1/subscriptions/${encodedId}/skip`)
95
+ );
96
+ }
97
+ };
98
+
59
99
  // src/delivery.ts
60
100
  var DeliveryService = class {
61
101
  constructor(client) {
@@ -619,6 +659,12 @@ var CimplifyClient = class {
619
659
  }
620
660
  return this._orders;
621
661
  }
662
+ get subscriptions() {
663
+ if (!this._subscriptions) {
664
+ this._subscriptions = new SubscriptionService(this);
665
+ }
666
+ return this._subscriptions;
667
+ }
622
668
  get link() {
623
669
  if (!this._link) {
624
670
  this._link = new chunk2CGA3MUW_js.LinkService(this);
@@ -750,5 +796,6 @@ exports.DURATION_UNIT = DURATION_UNIT;
750
796
  exports.DeliveryService = DeliveryService;
751
797
  exports.PRODUCT_TYPE = PRODUCT_TYPE;
752
798
  exports.RENDER_HINT = RENDER_HINT;
799
+ exports.SubscriptionService = SubscriptionService;
753
800
  exports.createCimplifyClient = createCimplifyClient;
754
801
  exports.getVariantDisplayName = getVariantDisplayName;
@@ -1,5 +1,5 @@
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';
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-k8feV7r8.js';
2
+ import { P as ProductWithPrice } from './price-4EK-0zF5.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 { 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';
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, bQ as Subscription, bT as SubscriptionWithDetails } from './payment-k8feV7r8.mjs';
2
2
 
3
3
  interface RequestContext {
4
4
  method: "GET" | "POST" | "PATCH" | "DELETE";
@@ -1770,6 +1770,25 @@ declare class ActivityService {
1770
1770
  private sendEvents;
1771
1771
  }
1772
1772
 
1773
+ declare class SubscriptionService {
1774
+ private client;
1775
+ constructor(client: CimplifyClient);
1776
+ list(): Promise<Result<Subscription[], CimplifyError>>;
1777
+ get(id: string): Promise<Result<SubscriptionWithDetails, CimplifyError>>;
1778
+ cancel(id: string, reason?: string): Promise<Result<{
1779
+ success: boolean;
1780
+ }, CimplifyError>>;
1781
+ pause(id: string): Promise<Result<{
1782
+ success: boolean;
1783
+ }, CimplifyError>>;
1784
+ resume(id: string): Promise<Result<{
1785
+ success: boolean;
1786
+ }, CimplifyError>>;
1787
+ skipNextRenewal(id: string): Promise<Result<{
1788
+ success: boolean;
1789
+ }, CimplifyError>>;
1790
+ }
1791
+
1773
1792
  interface DeliveryFeeResponse {
1774
1793
  serviceable: boolean;
1775
1794
  fee: Money | null;
@@ -2142,6 +2161,7 @@ declare class CimplifyClient {
2142
2161
  private _cart?;
2143
2162
  private _checkout?;
2144
2163
  private _orders?;
2164
+ private _subscriptions?;
2145
2165
  private _link?;
2146
2166
  private _auth?;
2147
2167
  private _business?;
@@ -2186,6 +2206,7 @@ declare class CimplifyClient {
2186
2206
  get cart(): CartOperations;
2187
2207
  get checkout(): CheckoutService;
2188
2208
  get orders(): OrderQueries;
2209
+ get subscriptions(): SubscriptionService;
2189
2210
  get link(): LinkService;
2190
2211
  get auth(): AuthService;
2191
2212
  get business(): BusinessService;
@@ -2199,4 +2220,4 @@ declare class CimplifyClient {
2199
2220
  }
2200
2221
  declare function createCimplifyClient(config?: CimplifyConfig): CimplifyClient;
2201
2222
 
2202
- export { type ElementEventType as $, AuthService as A, BusinessService as B, CimplifyClient as C, type DismissMessageResponse as D, type DeliveryFeeResponse as E, type FetchQuoteInput as F, type GetProductsOptions as G, type LiteBootstrap as H, InventoryService as I, type TableInfo as J, CimplifyElements as K, LinkService as L, CimplifyElement as M, createElements as N, OrderQueries as O, type PriceQuote as P, type QuoteCompositeSelectionInput as Q, type RefreshQuoteInput as R, SchedulingService as S, type TrackProductViewOptions as T, type UpdateProfileInput as U, MESSAGE_TYPES as V, EVENT_TYPES as W, ELEMENT_TYPES as X, type ElementsOptions as Y, type ElementOptions as Z, type ElementType as _, type CimplifyConfig as a, type FeeBearerType as a$, type CheckoutMode as a0, type CheckoutOrderType as a1, type CheckoutPaymentMethod as a2, type CheckoutStep as a3, type CheckoutFormData as a4, type CheckoutResult as a5, type NextAction as a6, type ProcessCheckoutOptions as a7, type ProcessCheckoutResult as a8, type ProcessAndResolveOptions as a9, type Err as aA, ok as aB, err as aC, isOk as aD, isErr as aE, mapResult as aF, mapError as aG, flatMap as aH, getOrElse as aI, unwrap as aJ, toNullable as aK, fromPromise as aL, tryCatch as aM, combine as aN, combineObject as aO, type CatalogueResult as aP, type CatalogueSnapshot as aQ, type OrderStatus as aR, type PaymentState as aS, type OrderChannel as aT, type LineType as aU, type OrderLineState as aV, type OrderLineStatus as aW, type FulfillmentType as aX, type FulfillmentStatus as aY, type FulfillmentLink as aZ, type OrderFulfillmentSummary as a_, type CheckoutStatus as aa, type CheckoutStatusContext as ab, type AbortablePromise as ac, type MobileMoneyProvider as ad, type DeviceType as ae, type ContactType as af, CHECKOUT_MODE as ag, ORDER_TYPE as ah, PAYMENT_METHOD as ai, CHECKOUT_STEP as aj, PAYMENT_STATE as ak, PICKUP_TIME_TYPE as al, MOBILE_MONEY_PROVIDER as am, AUTHORIZATION_TYPE as an, DEVICE_TYPE as ao, CONTACT_TYPE as ap, LINK_QUERY as aq, LINK_MUTATION as ar, AUTH_MUTATION as as, CHECKOUT_MUTATION as at, PAYMENT_MUTATION as au, ORDER_MUTATION as av, DEFAULT_CURRENCY as aw, DEFAULT_COUNTRY as ax, type Result as ay, type Ok as az, CatalogueQueries as b, type SlotStaffInfo as b$, type AmountToPay as b0, type LineItem as b1, type Order as b2, type OrderHistory as b3, type OrderGroupStatus as b4, type OrderGroupPaymentState as b5, type OrderGroupPaymentStatus as b6, type OrderGroup as b7, type OrderGroupPayment as b8, type OrderSplitDetail as b9, type DeliveryFeeDetails as bA, type RelationType as bB, type RelatedProduct as bC, type RelatedCandidate as bD, type RelatedProductsEnrichment as bE, type BusinessType as bF, type BusinessPreferences as bG, type Business as bH, type LocationTaxBehavior as bI, type LocationTaxOverrides as bJ, type Location as bK, type TimeRange as bL, type TimeRanges as bM, type LocationTimeProfile as bN, type Table as bO, type Room as bP, type ServiceCharge as bQ, type StorefrontBootstrap as bR, type BusinessWithLocations as bS, type LocationWithDetails as bT, type BusinessSettings as bU, type BusinessHours as bV, type CategoryInfo as bW, type Service as bX, type Staff as bY, type TimeSlot as bZ, type SlotResourceInfo as b_, type OrderGroupPaymentSummary as ba, type OrderGroupDetails as bb, type OrderPaymentEvent as bc, type OrderFilter as bd, type CheckoutInput as be, type UpdateOrderStatusInput as bf, type CancelOrderInput as bg, type RefundOrderInput as bh, type ServiceStatus as bi, type StaffRole as bj, type ReminderMethod as bk, type CustomerServicePreferences as bl, type BufferTimes as bm, type ReminderSettings as bn, type CancellationPolicy as bo, type ServiceNotes as bp, type PricingOverrides as bq, type SchedulingMetadata as br, type StaffAssignment as bs, type ResourceAssignment as bt, type SchedulingResult as bu, type DepositResult as bv, type ServiceScheduleRequest as bw, type StaffScheduleItem as bx, type LocationAppointment as by, type ProviderResolutionSource as bz, createCimplifyClient as c, type ElementsCustomerInfo as c$, type AvailableSlot as c0, type DayAvailability as c1, type BookingStatus as c2, type Booking as c3, type BookingWithDetails as c4, type CustomerBookingServiceItem as c5, type CustomerBooking as c6, type GetAvailableSlotsInput as c7, type CheckSlotAvailabilityInput as c8, type CheckSlotAvailabilityResult as c9, type EnrollAndLinkOrderResult as cA, type LinkSession as cB, type RevokeSessionResult as cC, type RevokeAllSessionsResult as cD, type RequestOtpInput as cE, type VerifyOtpInput as cF, type AuthResponse as cG, type PickupTimeType as cH, type PickupTime as cI, type CheckoutAddressInfo as cJ, type MobileMoneyDetails as cK, type CheckoutCustomerInfo as cL, type FxQuoteRequest as cM, type FxQuote as cN, type FxRateResponse as cO, type RequestContext as cP, type RequestStartEvent as cQ, type RequestSuccessEvent as cR, type RequestErrorEvent as cS, type RetryEvent as cT, type SessionChangeEvent as cU, type ObservabilityHooks as cV, type OrderType as cW, type ElementAppearance as cX, type AddressInfo as cY, type PaymentMethodInfo as cZ, type AuthenticatedCustomer as c_, type RescheduleBookingInput as ca, type CancelBookingInput as cb, type CancelBookingResult as cc, type RescheduleBookingResult as cd, type ServiceAvailabilityParams as ce, type ServiceAvailabilityResult as cf, type StockStatus as cg, type StockLevel as ch, type ProductStock as ci, type VariantStock as cj, type LocationStock as ck, type AvailabilityResult as cl, type Customer as cm, type CustomerAddress as cn, type CustomerMobileMoney as co, type CustomerLinkPreferences as cp, type LinkData as cq, type CreateAddressInput as cr, type UpdateAddressInput as cs, type CreateMobileMoneyInput as ct, type EnrollmentData as cu, type AddressData as cv, type MobileMoneyData as cw, type EnrollAndLinkOrderInput as cx, type LinkStatusResult as cy, type LinkEnrollResult as cz, type QuoteBundleSelectionInput as d, type AuthenticatedData as d0, type ElementsCheckoutData as d1, type ElementsCheckoutResult as d2, type CheckoutCartItem as d3, type CheckoutCartData as d4, type ParentToIframeMessage as d5, type IframeToParentMessage as d6, type ElementEventHandler as d7, type QuoteStatus as e, type QuoteDynamicBuckets as f, type QuoteUiMessage as g, type RequestSource as h, type RefreshQuoteResult as i, CartOperations as j, type ReorderResult as k, CheckoutService as l, generateIdempotencyKey as m, type GetOrdersOptions as n, type AuthStatus as o, type OtpResult as p, LiteService as q, FxService as r, ActivityService as s, type TrackCategoryViewOptions as t, type SessionMessage as u, type SessionActivityData as v, type ActivityStateResponse as w, type ActivityRecommendation as x, type ActivityRecommendationsResponse as y, DeliveryService as z };
2223
+ export { type ElementType as $, AuthService as A, BusinessService as B, CimplifyClient as C, type DismissMessageResponse as D, DeliveryService as E, type FetchQuoteInput as F, type GetProductsOptions as G, type DeliveryFeeResponse as H, InventoryService as I, type LiteBootstrap as J, type TableInfo as K, LinkService as L, CimplifyElements as M, CimplifyElement as N, OrderQueries as O, type PriceQuote as P, type QuoteCompositeSelectionInput as Q, type RefreshQuoteInput as R, SubscriptionService as S, type TrackProductViewOptions as T, type UpdateProfileInput as U, createElements as V, MESSAGE_TYPES as W, EVENT_TYPES as X, ELEMENT_TYPES as Y, type ElementsOptions as Z, type ElementOptions as _, type CimplifyConfig as a, type OrderFulfillmentSummary as a$, type ElementEventType as a0, type CheckoutMode as a1, type CheckoutOrderType as a2, type CheckoutPaymentMethod as a3, type CheckoutStep as a4, type CheckoutFormData as a5, type CheckoutResult as a6, type NextAction as a7, type ProcessCheckoutOptions as a8, type ProcessCheckoutResult as a9, type Ok as aA, type Err as aB, ok as aC, err as aD, isOk as aE, isErr as aF, mapResult as aG, mapError as aH, flatMap as aI, getOrElse as aJ, unwrap as aK, toNullable as aL, fromPromise as aM, tryCatch as aN, combine as aO, combineObject as aP, type CatalogueResult as aQ, type CatalogueSnapshot as aR, type OrderStatus as aS, type PaymentState as aT, type OrderChannel as aU, type LineType as aV, type OrderLineState as aW, type OrderLineStatus as aX, type FulfillmentType as aY, type FulfillmentStatus as aZ, type FulfillmentLink as a_, type ProcessAndResolveOptions as aa, type CheckoutStatus as ab, type CheckoutStatusContext as ac, type AbortablePromise as ad, type MobileMoneyProvider as ae, type DeviceType as af, type ContactType as ag, CHECKOUT_MODE as ah, ORDER_TYPE as ai, PAYMENT_METHOD as aj, CHECKOUT_STEP as ak, PAYMENT_STATE as al, PICKUP_TIME_TYPE as am, MOBILE_MONEY_PROVIDER as an, AUTHORIZATION_TYPE as ao, DEVICE_TYPE as ap, CONTACT_TYPE as aq, LINK_QUERY as ar, LINK_MUTATION as as, AUTH_MUTATION as at, CHECKOUT_MUTATION as au, PAYMENT_MUTATION as av, ORDER_MUTATION as aw, DEFAULT_CURRENCY as ax, DEFAULT_COUNTRY as ay, type Result as az, CatalogueQueries as b, type SlotResourceInfo as b$, type FeeBearerType as b0, type AmountToPay as b1, type LineItem as b2, type Order as b3, type OrderHistory as b4, type OrderGroupStatus as b5, type OrderGroupPaymentState as b6, type OrderGroupPaymentStatus as b7, type OrderGroup as b8, type OrderGroupPayment as b9, type ProviderResolutionSource as bA, type DeliveryFeeDetails as bB, type RelationType as bC, type RelatedProduct as bD, type RelatedCandidate as bE, type RelatedProductsEnrichment as bF, type BusinessType as bG, type BusinessPreferences as bH, type Business as bI, type LocationTaxBehavior as bJ, type LocationTaxOverrides as bK, type Location as bL, type TimeRange as bM, type TimeRanges as bN, type LocationTimeProfile as bO, type Table as bP, type Room as bQ, type ServiceCharge as bR, type StorefrontBootstrap as bS, type BusinessWithLocations as bT, type LocationWithDetails as bU, type BusinessSettings as bV, type BusinessHours as bW, type CategoryInfo as bX, type Service as bY, type Staff as bZ, type TimeSlot as b_, type OrderSplitDetail as ba, type OrderGroupPaymentSummary as bb, type OrderGroupDetails as bc, type OrderPaymentEvent as bd, type OrderFilter as be, type CheckoutInput as bf, type UpdateOrderStatusInput as bg, type CancelOrderInput as bh, type RefundOrderInput as bi, type ServiceStatus as bj, type StaffRole as bk, type ReminderMethod as bl, type CustomerServicePreferences as bm, type BufferTimes as bn, type ReminderSettings as bo, type CancellationPolicy as bp, type ServiceNotes as bq, type PricingOverrides as br, type SchedulingMetadata as bs, type StaffAssignment as bt, type ResourceAssignment as bu, type SchedulingResult as bv, type DepositResult as bw, type ServiceScheduleRequest as bx, type StaffScheduleItem as by, type LocationAppointment as bz, createCimplifyClient as c, type AuthenticatedCustomer as c$, type SlotStaffInfo as c0, type AvailableSlot as c1, type DayAvailability as c2, type BookingStatus as c3, type Booking as c4, type BookingWithDetails as c5, type CustomerBookingServiceItem as c6, type CustomerBooking as c7, type GetAvailableSlotsInput as c8, type CheckSlotAvailabilityInput as c9, type LinkEnrollResult as cA, type EnrollAndLinkOrderResult as cB, type LinkSession as cC, type RevokeSessionResult as cD, type RevokeAllSessionsResult as cE, type RequestOtpInput as cF, type VerifyOtpInput as cG, type AuthResponse as cH, type PickupTimeType as cI, type PickupTime as cJ, type CheckoutAddressInfo as cK, type MobileMoneyDetails as cL, type CheckoutCustomerInfo as cM, type FxQuoteRequest as cN, type FxQuote as cO, type FxRateResponse as cP, type RequestContext as cQ, type RequestStartEvent as cR, type RequestSuccessEvent as cS, type RequestErrorEvent as cT, type RetryEvent as cU, type SessionChangeEvent as cV, type ObservabilityHooks as cW, type OrderType as cX, type ElementAppearance as cY, type AddressInfo as cZ, type PaymentMethodInfo as c_, type CheckSlotAvailabilityResult as ca, type RescheduleBookingInput as cb, type CancelBookingInput as cc, type CancelBookingResult as cd, type RescheduleBookingResult as ce, type ServiceAvailabilityParams as cf, type ServiceAvailabilityResult as cg, type StockStatus as ch, type StockLevel as ci, type ProductStock as cj, type VariantStock as ck, type LocationStock as cl, type AvailabilityResult as cm, type Customer as cn, type CustomerAddress as co, type CustomerMobileMoney as cp, type CustomerLinkPreferences as cq, type LinkData as cr, type CreateAddressInput as cs, type UpdateAddressInput as ct, type CreateMobileMoneyInput as cu, type EnrollmentData as cv, type AddressData as cw, type MobileMoneyData as cx, type EnrollAndLinkOrderInput as cy, type LinkStatusResult as cz, type QuoteBundleSelectionInput as d, type ElementsCustomerInfo as d0, type AuthenticatedData as d1, type ElementsCheckoutData as d2, type ElementsCheckoutResult as d3, type CheckoutCartItem as d4, type CheckoutCartData as d5, type ParentToIframeMessage as d6, type IframeToParentMessage as d7, type ElementEventHandler as d8, type QuoteStatus as e, type QuoteDynamicBuckets as f, type QuoteUiMessage as g, type RequestSource as h, type RefreshQuoteResult as i, CartOperations as j, type ReorderResult as k, CheckoutService as l, generateIdempotencyKey as m, type GetOrdersOptions as n, type AuthStatus as o, type OtpResult as p, SchedulingService as q, LiteService as r, FxService as s, ActivityService as t, type TrackCategoryViewOptions as u, type SessionMessage as v, type SessionActivityData as w, type ActivityStateResponse as x, type ActivityRecommendation as y, type ActivityRecommendationsResponse as z };
@@ -1,5 +1,5 @@
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';
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-k8feV7r8.mjs';
2
+ import { P as ProductWithPrice } from './price-Den0zv61.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 { 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';
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, bQ as Subscription, bT as SubscriptionWithDetails } from './payment-k8feV7r8.js';
2
2
 
3
3
  interface RequestContext {
4
4
  method: "GET" | "POST" | "PATCH" | "DELETE";
@@ -1770,6 +1770,25 @@ declare class ActivityService {
1770
1770
  private sendEvents;
1771
1771
  }
1772
1772
 
1773
+ declare class SubscriptionService {
1774
+ private client;
1775
+ constructor(client: CimplifyClient);
1776
+ list(): Promise<Result<Subscription[], CimplifyError>>;
1777
+ get(id: string): Promise<Result<SubscriptionWithDetails, CimplifyError>>;
1778
+ cancel(id: string, reason?: string): Promise<Result<{
1779
+ success: boolean;
1780
+ }, CimplifyError>>;
1781
+ pause(id: string): Promise<Result<{
1782
+ success: boolean;
1783
+ }, CimplifyError>>;
1784
+ resume(id: string): Promise<Result<{
1785
+ success: boolean;
1786
+ }, CimplifyError>>;
1787
+ skipNextRenewal(id: string): Promise<Result<{
1788
+ success: boolean;
1789
+ }, CimplifyError>>;
1790
+ }
1791
+
1773
1792
  interface DeliveryFeeResponse {
1774
1793
  serviceable: boolean;
1775
1794
  fee: Money | null;
@@ -2142,6 +2161,7 @@ declare class CimplifyClient {
2142
2161
  private _cart?;
2143
2162
  private _checkout?;
2144
2163
  private _orders?;
2164
+ private _subscriptions?;
2145
2165
  private _link?;
2146
2166
  private _auth?;
2147
2167
  private _business?;
@@ -2186,6 +2206,7 @@ declare class CimplifyClient {
2186
2206
  get cart(): CartOperations;
2187
2207
  get checkout(): CheckoutService;
2188
2208
  get orders(): OrderQueries;
2209
+ get subscriptions(): SubscriptionService;
2189
2210
  get link(): LinkService;
2190
2211
  get auth(): AuthService;
2191
2212
  get business(): BusinessService;
@@ -2199,4 +2220,4 @@ declare class CimplifyClient {
2199
2220
  }
2200
2221
  declare function createCimplifyClient(config?: CimplifyConfig): CimplifyClient;
2201
2222
 
2202
- export { type ElementEventType as $, AuthService as A, BusinessService as B, CimplifyClient as C, type DismissMessageResponse as D, type DeliveryFeeResponse as E, type FetchQuoteInput as F, type GetProductsOptions as G, type LiteBootstrap as H, InventoryService as I, type TableInfo as J, CimplifyElements as K, LinkService as L, CimplifyElement as M, createElements as N, OrderQueries as O, type PriceQuote as P, type QuoteCompositeSelectionInput as Q, type RefreshQuoteInput as R, SchedulingService as S, type TrackProductViewOptions as T, type UpdateProfileInput as U, MESSAGE_TYPES as V, EVENT_TYPES as W, ELEMENT_TYPES as X, type ElementsOptions as Y, type ElementOptions as Z, type ElementType as _, type CimplifyConfig as a, type FeeBearerType as a$, type CheckoutMode as a0, type CheckoutOrderType as a1, type CheckoutPaymentMethod as a2, type CheckoutStep as a3, type CheckoutFormData as a4, type CheckoutResult as a5, type NextAction as a6, type ProcessCheckoutOptions as a7, type ProcessCheckoutResult as a8, type ProcessAndResolveOptions as a9, type Err as aA, ok as aB, err as aC, isOk as aD, isErr as aE, mapResult as aF, mapError as aG, flatMap as aH, getOrElse as aI, unwrap as aJ, toNullable as aK, fromPromise as aL, tryCatch as aM, combine as aN, combineObject as aO, type CatalogueResult as aP, type CatalogueSnapshot as aQ, type OrderStatus as aR, type PaymentState as aS, type OrderChannel as aT, type LineType as aU, type OrderLineState as aV, type OrderLineStatus as aW, type FulfillmentType as aX, type FulfillmentStatus as aY, type FulfillmentLink as aZ, type OrderFulfillmentSummary as a_, type CheckoutStatus as aa, type CheckoutStatusContext as ab, type AbortablePromise as ac, type MobileMoneyProvider as ad, type DeviceType as ae, type ContactType as af, CHECKOUT_MODE as ag, ORDER_TYPE as ah, PAYMENT_METHOD as ai, CHECKOUT_STEP as aj, PAYMENT_STATE as ak, PICKUP_TIME_TYPE as al, MOBILE_MONEY_PROVIDER as am, AUTHORIZATION_TYPE as an, DEVICE_TYPE as ao, CONTACT_TYPE as ap, LINK_QUERY as aq, LINK_MUTATION as ar, AUTH_MUTATION as as, CHECKOUT_MUTATION as at, PAYMENT_MUTATION as au, ORDER_MUTATION as av, DEFAULT_CURRENCY as aw, DEFAULT_COUNTRY as ax, type Result as ay, type Ok as az, CatalogueQueries as b, type SlotStaffInfo as b$, type AmountToPay as b0, type LineItem as b1, type Order as b2, type OrderHistory as b3, type OrderGroupStatus as b4, type OrderGroupPaymentState as b5, type OrderGroupPaymentStatus as b6, type OrderGroup as b7, type OrderGroupPayment as b8, type OrderSplitDetail as b9, type DeliveryFeeDetails as bA, type RelationType as bB, type RelatedProduct as bC, type RelatedCandidate as bD, type RelatedProductsEnrichment as bE, type BusinessType as bF, type BusinessPreferences as bG, type Business as bH, type LocationTaxBehavior as bI, type LocationTaxOverrides as bJ, type Location as bK, type TimeRange as bL, type TimeRanges as bM, type LocationTimeProfile as bN, type Table as bO, type Room as bP, type ServiceCharge as bQ, type StorefrontBootstrap as bR, type BusinessWithLocations as bS, type LocationWithDetails as bT, type BusinessSettings as bU, type BusinessHours as bV, type CategoryInfo as bW, type Service as bX, type Staff as bY, type TimeSlot as bZ, type SlotResourceInfo as b_, type OrderGroupPaymentSummary as ba, type OrderGroupDetails as bb, type OrderPaymentEvent as bc, type OrderFilter as bd, type CheckoutInput as be, type UpdateOrderStatusInput as bf, type CancelOrderInput as bg, type RefundOrderInput as bh, type ServiceStatus as bi, type StaffRole as bj, type ReminderMethod as bk, type CustomerServicePreferences as bl, type BufferTimes as bm, type ReminderSettings as bn, type CancellationPolicy as bo, type ServiceNotes as bp, type PricingOverrides as bq, type SchedulingMetadata as br, type StaffAssignment as bs, type ResourceAssignment as bt, type SchedulingResult as bu, type DepositResult as bv, type ServiceScheduleRequest as bw, type StaffScheduleItem as bx, type LocationAppointment as by, type ProviderResolutionSource as bz, createCimplifyClient as c, type ElementsCustomerInfo as c$, type AvailableSlot as c0, type DayAvailability as c1, type BookingStatus as c2, type Booking as c3, type BookingWithDetails as c4, type CustomerBookingServiceItem as c5, type CustomerBooking as c6, type GetAvailableSlotsInput as c7, type CheckSlotAvailabilityInput as c8, type CheckSlotAvailabilityResult as c9, type EnrollAndLinkOrderResult as cA, type LinkSession as cB, type RevokeSessionResult as cC, type RevokeAllSessionsResult as cD, type RequestOtpInput as cE, type VerifyOtpInput as cF, type AuthResponse as cG, type PickupTimeType as cH, type PickupTime as cI, type CheckoutAddressInfo as cJ, type MobileMoneyDetails as cK, type CheckoutCustomerInfo as cL, type FxQuoteRequest as cM, type FxQuote as cN, type FxRateResponse as cO, type RequestContext as cP, type RequestStartEvent as cQ, type RequestSuccessEvent as cR, type RequestErrorEvent as cS, type RetryEvent as cT, type SessionChangeEvent as cU, type ObservabilityHooks as cV, type OrderType as cW, type ElementAppearance as cX, type AddressInfo as cY, type PaymentMethodInfo as cZ, type AuthenticatedCustomer as c_, type RescheduleBookingInput as ca, type CancelBookingInput as cb, type CancelBookingResult as cc, type RescheduleBookingResult as cd, type ServiceAvailabilityParams as ce, type ServiceAvailabilityResult as cf, type StockStatus as cg, type StockLevel as ch, type ProductStock as ci, type VariantStock as cj, type LocationStock as ck, type AvailabilityResult as cl, type Customer as cm, type CustomerAddress as cn, type CustomerMobileMoney as co, type CustomerLinkPreferences as cp, type LinkData as cq, type CreateAddressInput as cr, type UpdateAddressInput as cs, type CreateMobileMoneyInput as ct, type EnrollmentData as cu, type AddressData as cv, type MobileMoneyData as cw, type EnrollAndLinkOrderInput as cx, type LinkStatusResult as cy, type LinkEnrollResult as cz, type QuoteBundleSelectionInput as d, type AuthenticatedData as d0, type ElementsCheckoutData as d1, type ElementsCheckoutResult as d2, type CheckoutCartItem as d3, type CheckoutCartData as d4, type ParentToIframeMessage as d5, type IframeToParentMessage as d6, type ElementEventHandler as d7, type QuoteStatus as e, type QuoteDynamicBuckets as f, type QuoteUiMessage as g, type RequestSource as h, type RefreshQuoteResult as i, CartOperations as j, type ReorderResult as k, CheckoutService as l, generateIdempotencyKey as m, type GetOrdersOptions as n, type AuthStatus as o, type OtpResult as p, LiteService as q, FxService as r, ActivityService as s, type TrackCategoryViewOptions as t, type SessionMessage as u, type SessionActivityData as v, type ActivityStateResponse as w, type ActivityRecommendation as x, type ActivityRecommendationsResponse as y, DeliveryService as z };
2223
+ export { type ElementType as $, AuthService as A, BusinessService as B, CimplifyClient as C, type DismissMessageResponse as D, DeliveryService as E, type FetchQuoteInput as F, type GetProductsOptions as G, type DeliveryFeeResponse as H, InventoryService as I, type LiteBootstrap as J, type TableInfo as K, LinkService as L, CimplifyElements as M, CimplifyElement as N, OrderQueries as O, type PriceQuote as P, type QuoteCompositeSelectionInput as Q, type RefreshQuoteInput as R, SubscriptionService as S, type TrackProductViewOptions as T, type UpdateProfileInput as U, createElements as V, MESSAGE_TYPES as W, EVENT_TYPES as X, ELEMENT_TYPES as Y, type ElementsOptions as Z, type ElementOptions as _, type CimplifyConfig as a, type OrderFulfillmentSummary as a$, type ElementEventType as a0, type CheckoutMode as a1, type CheckoutOrderType as a2, type CheckoutPaymentMethod as a3, type CheckoutStep as a4, type CheckoutFormData as a5, type CheckoutResult as a6, type NextAction as a7, type ProcessCheckoutOptions as a8, type ProcessCheckoutResult as a9, type Ok as aA, type Err as aB, ok as aC, err as aD, isOk as aE, isErr as aF, mapResult as aG, mapError as aH, flatMap as aI, getOrElse as aJ, unwrap as aK, toNullable as aL, fromPromise as aM, tryCatch as aN, combine as aO, combineObject as aP, type CatalogueResult as aQ, type CatalogueSnapshot as aR, type OrderStatus as aS, type PaymentState as aT, type OrderChannel as aU, type LineType as aV, type OrderLineState as aW, type OrderLineStatus as aX, type FulfillmentType as aY, type FulfillmentStatus as aZ, type FulfillmentLink as a_, type ProcessAndResolveOptions as aa, type CheckoutStatus as ab, type CheckoutStatusContext as ac, type AbortablePromise as ad, type MobileMoneyProvider as ae, type DeviceType as af, type ContactType as ag, CHECKOUT_MODE as ah, ORDER_TYPE as ai, PAYMENT_METHOD as aj, CHECKOUT_STEP as ak, PAYMENT_STATE as al, PICKUP_TIME_TYPE as am, MOBILE_MONEY_PROVIDER as an, AUTHORIZATION_TYPE as ao, DEVICE_TYPE as ap, CONTACT_TYPE as aq, LINK_QUERY as ar, LINK_MUTATION as as, AUTH_MUTATION as at, CHECKOUT_MUTATION as au, PAYMENT_MUTATION as av, ORDER_MUTATION as aw, DEFAULT_CURRENCY as ax, DEFAULT_COUNTRY as ay, type Result as az, CatalogueQueries as b, type SlotResourceInfo as b$, type FeeBearerType as b0, type AmountToPay as b1, type LineItem as b2, type Order as b3, type OrderHistory as b4, type OrderGroupStatus as b5, type OrderGroupPaymentState as b6, type OrderGroupPaymentStatus as b7, type OrderGroup as b8, type OrderGroupPayment as b9, type ProviderResolutionSource as bA, type DeliveryFeeDetails as bB, type RelationType as bC, type RelatedProduct as bD, type RelatedCandidate as bE, type RelatedProductsEnrichment as bF, type BusinessType as bG, type BusinessPreferences as bH, type Business as bI, type LocationTaxBehavior as bJ, type LocationTaxOverrides as bK, type Location as bL, type TimeRange as bM, type TimeRanges as bN, type LocationTimeProfile as bO, type Table as bP, type Room as bQ, type ServiceCharge as bR, type StorefrontBootstrap as bS, type BusinessWithLocations as bT, type LocationWithDetails as bU, type BusinessSettings as bV, type BusinessHours as bW, type CategoryInfo as bX, type Service as bY, type Staff as bZ, type TimeSlot as b_, type OrderSplitDetail as ba, type OrderGroupPaymentSummary as bb, type OrderGroupDetails as bc, type OrderPaymentEvent as bd, type OrderFilter as be, type CheckoutInput as bf, type UpdateOrderStatusInput as bg, type CancelOrderInput as bh, type RefundOrderInput as bi, type ServiceStatus as bj, type StaffRole as bk, type ReminderMethod as bl, type CustomerServicePreferences as bm, type BufferTimes as bn, type ReminderSettings as bo, type CancellationPolicy as bp, type ServiceNotes as bq, type PricingOverrides as br, type SchedulingMetadata as bs, type StaffAssignment as bt, type ResourceAssignment as bu, type SchedulingResult as bv, type DepositResult as bw, type ServiceScheduleRequest as bx, type StaffScheduleItem as by, type LocationAppointment as bz, createCimplifyClient as c, type AuthenticatedCustomer as c$, type SlotStaffInfo as c0, type AvailableSlot as c1, type DayAvailability as c2, type BookingStatus as c3, type Booking as c4, type BookingWithDetails as c5, type CustomerBookingServiceItem as c6, type CustomerBooking as c7, type GetAvailableSlotsInput as c8, type CheckSlotAvailabilityInput as c9, type LinkEnrollResult as cA, type EnrollAndLinkOrderResult as cB, type LinkSession as cC, type RevokeSessionResult as cD, type RevokeAllSessionsResult as cE, type RequestOtpInput as cF, type VerifyOtpInput as cG, type AuthResponse as cH, type PickupTimeType as cI, type PickupTime as cJ, type CheckoutAddressInfo as cK, type MobileMoneyDetails as cL, type CheckoutCustomerInfo as cM, type FxQuoteRequest as cN, type FxQuote as cO, type FxRateResponse as cP, type RequestContext as cQ, type RequestStartEvent as cR, type RequestSuccessEvent as cS, type RequestErrorEvent as cT, type RetryEvent as cU, type SessionChangeEvent as cV, type ObservabilityHooks as cW, type OrderType as cX, type ElementAppearance as cY, type AddressInfo as cZ, type PaymentMethodInfo as c_, type CheckSlotAvailabilityResult as ca, type RescheduleBookingInput as cb, type CancelBookingInput as cc, type CancelBookingResult as cd, type RescheduleBookingResult as ce, type ServiceAvailabilityParams as cf, type ServiceAvailabilityResult as cg, type StockStatus as ch, type StockLevel as ci, type ProductStock as cj, type VariantStock as ck, type LocationStock as cl, type AvailabilityResult as cm, type Customer as cn, type CustomerAddress as co, type CustomerMobileMoney as cp, type CustomerLinkPreferences as cq, type LinkData as cr, type CreateAddressInput as cs, type UpdateAddressInput as ct, type CreateMobileMoneyInput as cu, type EnrollmentData as cv, type AddressData as cw, type MobileMoneyData as cx, type EnrollAndLinkOrderInput as cy, type LinkStatusResult as cz, type QuoteBundleSelectionInput as d, type ElementsCustomerInfo as d0, type AuthenticatedData as d1, type ElementsCheckoutData as d2, type ElementsCheckoutResult as d3, type CheckoutCartItem as d4, type CheckoutCartData as d5, type ParentToIframeMessage as d6, type IframeToParentMessage as d7, type ElementEventHandler as d8, type QuoteStatus as e, type QuoteDynamicBuckets as f, type QuoteUiMessage as g, type RequestSource as h, type RefreshQuoteResult as i, CartOperations as j, type ReorderResult as k, CheckoutService as l, generateIdempotencyKey as m, type GetOrdersOptions as n, type AuthStatus as o, type OtpResult as p, SchedulingService as q, LiteService as r, FxService as s, ActivityService as t, type TrackCategoryViewOptions as u, type SessionMessage as v, type SessionActivityData as w, type ActivityStateResponse as x, type ActivityRecommendation as y, type ActivityRecommendationsResponse as z };
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-DT-24csu.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';
1
+ export { ao as AUTHORIZATION_TYPE, at as AUTH_MUTATION, ad as AbortablePromise, y as ActivityRecommendation, z as ActivityRecommendationsResponse, t as ActivityService, x as ActivityStateResponse, cw as AddressData, cZ as AddressInfo, b1 as AmountToPay, cH as AuthResponse, A as AuthService, o as AuthStatus, c$ as AuthenticatedCustomer, d1 as AuthenticatedData, cm as AvailabilityResult, c1 as AvailableSlot, c4 as Booking, c3 as BookingStatus, c5 as BookingWithDetails, bn as BufferTimes, bI as Business, bW as BusinessHours, bH as BusinessPreferences, B as BusinessService, bV as BusinessSettings, bG as BusinessType, bT as BusinessWithLocations, ah as CHECKOUT_MODE, au as CHECKOUT_MUTATION, ak as CHECKOUT_STEP, aq as CONTACT_TYPE, cc as CancelBookingInput, cd as CancelBookingResult, bh as CancelOrderInput, bp as CancellationPolicy, j as CartOperations, b as CatalogueQueries, aQ as CatalogueResult, aR as CatalogueSnapshot, bX as CategoryInfo, c9 as CheckSlotAvailabilityInput, ca as CheckSlotAvailabilityResult, cK as CheckoutAddressInfo, d5 as CheckoutCartData, d4 as CheckoutCartItem, cM as CheckoutCustomerInfo, a5 as CheckoutFormData, bf as CheckoutInput, a1 as CheckoutMode, l as CheckoutOperations, a2 as CheckoutOrderType, a3 as CheckoutPaymentMethod, a6 as CheckoutResult, l as CheckoutService, ab as CheckoutStatus, ac as CheckoutStatusContext, a4 as CheckoutStep, C as CimplifyClient, a as CimplifyConfig, N as CimplifyElement, M as CimplifyElements, ag as ContactType, cs as CreateAddressInput, cu as CreateMobileMoneyInput, cn as Customer, co as CustomerAddress, c7 as CustomerBooking, c6 as CustomerBookingServiceItem, cq as CustomerLinkPreferences, cp as CustomerMobileMoney, bm as CustomerServicePreferences, ay as DEFAULT_COUNTRY, ax as DEFAULT_CURRENCY, ap as DEVICE_TYPE, c2 as DayAvailability, bB as DeliveryFeeDetails, H as DeliveryFeeResponse, E as DeliveryService, bw as DepositResult, af as DeviceType, D as DismissMessageResponse, Y as ELEMENT_TYPES, X as EVENT_TYPES, cY as ElementAppearance, d8 as ElementEventHandler, a0 as ElementEventType, _ as ElementOptions, $ as ElementType, d2 as ElementsCheckoutData, d3 as ElementsCheckoutResult, d0 as ElementsCustomerInfo, Z as ElementsOptions, cy as EnrollAndLinkOrderInput, cB as EnrollAndLinkOrderResult, cv as EnrollmentData, aB as Err, b0 as FeeBearerType, F as FetchQuoteInput, a_ as FulfillmentLink, aZ as FulfillmentStatus, aY as FulfillmentType, cO as FxQuote, cN as FxQuoteRequest, cP as FxRateResponse, s as FxService, c8 as GetAvailableSlotsInput, n as GetOrdersOptions, G as GetProductsOptions, d7 as IframeToParentMessage, I as InventoryService, as as LINK_MUTATION, ar as LINK_QUERY, b2 as LineItem, aV as LineType, cr as LinkData, cA as LinkEnrollResult, L as LinkService, cC as LinkSession, cz as LinkStatusResult, J as LiteBootstrap, r as LiteService, bL as Location, bz as LocationAppointment, cl as LocationStock, bJ as LocationTaxBehavior, bK as LocationTaxOverrides, bO as LocationTimeProfile, bU as LocationWithDetails, W as MESSAGE_TYPES, an as MOBILE_MONEY_PROVIDER, cx as MobileMoneyData, cL as MobileMoneyDetails, ae as MobileMoneyProvider, a7 as NextAction, aw as ORDER_MUTATION, ai as ORDER_TYPE, cW as ObservabilityHooks, aA as Ok, b3 as Order, aU as OrderChannel, be as OrderFilter, a$ as OrderFulfillmentSummary, b8 as OrderGroup, bc as OrderGroupDetails, b9 as OrderGroupPayment, b6 as OrderGroupPaymentState, b7 as OrderGroupPaymentStatus, bb as OrderGroupPaymentSummary, b5 as OrderGroupStatus, b4 as OrderHistory, aW as OrderLineState, aX as OrderLineStatus, bd as OrderPaymentEvent, O as OrderQueries, ba as OrderSplitDetail, aS as OrderStatus, cX as OrderType, p as OtpResult, aj as PAYMENT_METHOD, av as PAYMENT_MUTATION, al as PAYMENT_STATE, am as PICKUP_TIME_TYPE, d6 as ParentToIframeMessage, c_ as PaymentMethodInfo, aT as PaymentState, cJ as PickupTime, cI as PickupTimeType, P as PriceQuote, br as PricingOverrides, aa as ProcessAndResolveOptions, a8 as ProcessCheckoutOptions, a9 as ProcessCheckoutResult, cj as ProductStock, bA as ProviderResolutionSource, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, i as RefreshQuoteResult, bi as RefundOrderInput, bE as RelatedCandidate, bD as RelatedProduct, bF as RelatedProductsEnrichment, bC as RelationType, bl as ReminderMethod, bo as ReminderSettings, k as ReorderResult, cQ as RequestContext, cT as RequestErrorEvent, cF as RequestOtpInput, h as RequestSource, cR as RequestStartEvent, cS as RequestSuccessEvent, cb as RescheduleBookingInput, ce as RescheduleBookingResult, bu as ResourceAssignment, az as Result, cU as RetryEvent, cE as RevokeAllSessionsResult, cD as RevokeSessionResult, bQ as Room, bs as SchedulingMetadata, bv as SchedulingResult, q as SchedulingService, bY as Service, cf as ServiceAvailabilityParams, cg as ServiceAvailabilityResult, bR as ServiceCharge, bq as ServiceNotes, bx as ServiceScheduleRequest, bj as ServiceStatus, w as SessionActivityData, cV as SessionChangeEvent, v as SessionMessage, b$ as SlotResourceInfo, c0 as SlotStaffInfo, bZ as Staff, bt as StaffAssignment, bk as StaffRole, by as StaffScheduleItem, ci as StockLevel, ch as StockStatus, bS as StorefrontBootstrap, S as SubscriptionService, bP as Table, K as TableInfo, bM as TimeRange, bN as TimeRanges, b_ as TimeSlot, u as TrackCategoryViewOptions, T as TrackProductViewOptions, ct as UpdateAddressInput, bg as UpdateOrderStatusInput, U as UpdateProfileInput, ck as VariantStock, cG as VerifyOtpInput, aO as combine, aP as combineObject, c as createCimplifyClient, V as createElements, aD as err, aI as flatMap, aM as fromPromise, m as generateIdempotencyKey, aJ as getOrElse, aF as isErr, aE as isOk, aH as mapError, aG as mapResult, aC as ok, aL as toNullable, aN as tryCatch, aK as unwrap } from './index-ClrQ0yTH.mjs';
2
+ import { A as ApiError } from './payment-k8feV7r8.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, bQ as Subscription, bS as SubscriptionInvoice, bR as SubscriptionItem, bP as SubscriptionStatus, bT as SubscriptionWithDetails, 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-k8feV7r8.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-EGhIxwfI.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-CGPMlQUk.mjs';
6
+ export { a as FormatCompactOptions, F as FormatPriceOptions, P as ProductWithPrice } from './price-Den0zv61.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-BAu-zmIP.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';
1
+ export { ao as AUTHORIZATION_TYPE, at as AUTH_MUTATION, ad as AbortablePromise, y as ActivityRecommendation, z as ActivityRecommendationsResponse, t as ActivityService, x as ActivityStateResponse, cw as AddressData, cZ as AddressInfo, b1 as AmountToPay, cH as AuthResponse, A as AuthService, o as AuthStatus, c$ as AuthenticatedCustomer, d1 as AuthenticatedData, cm as AvailabilityResult, c1 as AvailableSlot, c4 as Booking, c3 as BookingStatus, c5 as BookingWithDetails, bn as BufferTimes, bI as Business, bW as BusinessHours, bH as BusinessPreferences, B as BusinessService, bV as BusinessSettings, bG as BusinessType, bT as BusinessWithLocations, ah as CHECKOUT_MODE, au as CHECKOUT_MUTATION, ak as CHECKOUT_STEP, aq as CONTACT_TYPE, cc as CancelBookingInput, cd as CancelBookingResult, bh as CancelOrderInput, bp as CancellationPolicy, j as CartOperations, b as CatalogueQueries, aQ as CatalogueResult, aR as CatalogueSnapshot, bX as CategoryInfo, c9 as CheckSlotAvailabilityInput, ca as CheckSlotAvailabilityResult, cK as CheckoutAddressInfo, d5 as CheckoutCartData, d4 as CheckoutCartItem, cM as CheckoutCustomerInfo, a5 as CheckoutFormData, bf as CheckoutInput, a1 as CheckoutMode, l as CheckoutOperations, a2 as CheckoutOrderType, a3 as CheckoutPaymentMethod, a6 as CheckoutResult, l as CheckoutService, ab as CheckoutStatus, ac as CheckoutStatusContext, a4 as CheckoutStep, C as CimplifyClient, a as CimplifyConfig, N as CimplifyElement, M as CimplifyElements, ag as ContactType, cs as CreateAddressInput, cu as CreateMobileMoneyInput, cn as Customer, co as CustomerAddress, c7 as CustomerBooking, c6 as CustomerBookingServiceItem, cq as CustomerLinkPreferences, cp as CustomerMobileMoney, bm as CustomerServicePreferences, ay as DEFAULT_COUNTRY, ax as DEFAULT_CURRENCY, ap as DEVICE_TYPE, c2 as DayAvailability, bB as DeliveryFeeDetails, H as DeliveryFeeResponse, E as DeliveryService, bw as DepositResult, af as DeviceType, D as DismissMessageResponse, Y as ELEMENT_TYPES, X as EVENT_TYPES, cY as ElementAppearance, d8 as ElementEventHandler, a0 as ElementEventType, _ as ElementOptions, $ as ElementType, d2 as ElementsCheckoutData, d3 as ElementsCheckoutResult, d0 as ElementsCustomerInfo, Z as ElementsOptions, cy as EnrollAndLinkOrderInput, cB as EnrollAndLinkOrderResult, cv as EnrollmentData, aB as Err, b0 as FeeBearerType, F as FetchQuoteInput, a_ as FulfillmentLink, aZ as FulfillmentStatus, aY as FulfillmentType, cO as FxQuote, cN as FxQuoteRequest, cP as FxRateResponse, s as FxService, c8 as GetAvailableSlotsInput, n as GetOrdersOptions, G as GetProductsOptions, d7 as IframeToParentMessage, I as InventoryService, as as LINK_MUTATION, ar as LINK_QUERY, b2 as LineItem, aV as LineType, cr as LinkData, cA as LinkEnrollResult, L as LinkService, cC as LinkSession, cz as LinkStatusResult, J as LiteBootstrap, r as LiteService, bL as Location, bz as LocationAppointment, cl as LocationStock, bJ as LocationTaxBehavior, bK as LocationTaxOverrides, bO as LocationTimeProfile, bU as LocationWithDetails, W as MESSAGE_TYPES, an as MOBILE_MONEY_PROVIDER, cx as MobileMoneyData, cL as MobileMoneyDetails, ae as MobileMoneyProvider, a7 as NextAction, aw as ORDER_MUTATION, ai as ORDER_TYPE, cW as ObservabilityHooks, aA as Ok, b3 as Order, aU as OrderChannel, be as OrderFilter, a$ as OrderFulfillmentSummary, b8 as OrderGroup, bc as OrderGroupDetails, b9 as OrderGroupPayment, b6 as OrderGroupPaymentState, b7 as OrderGroupPaymentStatus, bb as OrderGroupPaymentSummary, b5 as OrderGroupStatus, b4 as OrderHistory, aW as OrderLineState, aX as OrderLineStatus, bd as OrderPaymentEvent, O as OrderQueries, ba as OrderSplitDetail, aS as OrderStatus, cX as OrderType, p as OtpResult, aj as PAYMENT_METHOD, av as PAYMENT_MUTATION, al as PAYMENT_STATE, am as PICKUP_TIME_TYPE, d6 as ParentToIframeMessage, c_ as PaymentMethodInfo, aT as PaymentState, cJ as PickupTime, cI as PickupTimeType, P as PriceQuote, br as PricingOverrides, aa as ProcessAndResolveOptions, a8 as ProcessCheckoutOptions, a9 as ProcessCheckoutResult, cj as ProductStock, bA as ProviderResolutionSource, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, f as QuoteDynamicBuckets, e as QuoteStatus, g as QuoteUiMessage, R as RefreshQuoteInput, i as RefreshQuoteResult, bi as RefundOrderInput, bE as RelatedCandidate, bD as RelatedProduct, bF as RelatedProductsEnrichment, bC as RelationType, bl as ReminderMethod, bo as ReminderSettings, k as ReorderResult, cQ as RequestContext, cT as RequestErrorEvent, cF as RequestOtpInput, h as RequestSource, cR as RequestStartEvent, cS as RequestSuccessEvent, cb as RescheduleBookingInput, ce as RescheduleBookingResult, bu as ResourceAssignment, az as Result, cU as RetryEvent, cE as RevokeAllSessionsResult, cD as RevokeSessionResult, bQ as Room, bs as SchedulingMetadata, bv as SchedulingResult, q as SchedulingService, bY as Service, cf as ServiceAvailabilityParams, cg as ServiceAvailabilityResult, bR as ServiceCharge, bq as ServiceNotes, bx as ServiceScheduleRequest, bj as ServiceStatus, w as SessionActivityData, cV as SessionChangeEvent, v as SessionMessage, b$ as SlotResourceInfo, c0 as SlotStaffInfo, bZ as Staff, bt as StaffAssignment, bk as StaffRole, by as StaffScheduleItem, ci as StockLevel, ch as StockStatus, bS as StorefrontBootstrap, S as SubscriptionService, bP as Table, K as TableInfo, bM as TimeRange, bN as TimeRanges, b_ as TimeSlot, u as TrackCategoryViewOptions, T as TrackProductViewOptions, ct as UpdateAddressInput, bg as UpdateOrderStatusInput, U as UpdateProfileInput, ck as VariantStock, cG as VerifyOtpInput, aO as combine, aP as combineObject, c as createCimplifyClient, V as createElements, aD as err, aI as flatMap, aM as fromPromise, m as generateIdempotencyKey, aJ as getOrElse, aF as isErr, aE as isOk, aH as mapError, aG as mapResult, aC as ok, aL as toNullable, aN as tryCatch, aK as unwrap } from './index-iHKILmG9.js';
2
+ import { A as ApiError } from './payment-k8feV7r8.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, bQ as Subscription, bS as SubscriptionInvoice, bR as SubscriptionItem, bP as SubscriptionStatus, bT as SubscriptionWithDetails, 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-k8feV7r8.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-C2U1gHyP.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-BS0Z5Oi9.js';
6
+ export { a as FormatCompactOptions, F as FormatPriceOptions, P as ProductWithPrice } from './price-4EK-0zF5.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 chunk4JSRPSNA_js = require('./chunk-4JSRPSNA.js');
3
+ var chunkGS7AX6B3_js = require('./chunk-GS7AX6B3.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,35 +9,39 @@ var chunkPEDLCL72_js = require('./chunk-PEDLCL72.js');
9
9
 
10
10
  Object.defineProperty(exports, "ActivityService", {
11
11
  enumerable: true,
12
- get: function () { return chunk4JSRPSNA_js.ActivityService; }
12
+ get: function () { return chunkGS7AX6B3_js.ActivityService; }
13
13
  });
14
14
  Object.defineProperty(exports, "CimplifyClient", {
15
15
  enumerable: true,
16
- get: function () { return chunk4JSRPSNA_js.CimplifyClient; }
16
+ get: function () { return chunkGS7AX6B3_js.CimplifyClient; }
17
17
  });
18
18
  Object.defineProperty(exports, "DURATION_UNIT", {
19
19
  enumerable: true,
20
- get: function () { return chunk4JSRPSNA_js.DURATION_UNIT; }
20
+ get: function () { return chunkGS7AX6B3_js.DURATION_UNIT; }
21
21
  });
22
22
  Object.defineProperty(exports, "DeliveryService", {
23
23
  enumerable: true,
24
- get: function () { return chunk4JSRPSNA_js.DeliveryService; }
24
+ get: function () { return chunkGS7AX6B3_js.DeliveryService; }
25
25
  });
26
26
  Object.defineProperty(exports, "PRODUCT_TYPE", {
27
27
  enumerable: true,
28
- get: function () { return chunk4JSRPSNA_js.PRODUCT_TYPE; }
28
+ get: function () { return chunkGS7AX6B3_js.PRODUCT_TYPE; }
29
29
  });
30
30
  Object.defineProperty(exports, "RENDER_HINT", {
31
31
  enumerable: true,
32
- get: function () { return chunk4JSRPSNA_js.RENDER_HINT; }
32
+ get: function () { return chunkGS7AX6B3_js.RENDER_HINT; }
33
+ });
34
+ Object.defineProperty(exports, "SubscriptionService", {
35
+ enumerable: true,
36
+ get: function () { return chunkGS7AX6B3_js.SubscriptionService; }
33
37
  });
34
38
  Object.defineProperty(exports, "createCimplifyClient", {
35
39
  enumerable: true,
36
- get: function () { return chunk4JSRPSNA_js.createCimplifyClient; }
40
+ get: function () { return chunkGS7AX6B3_js.createCimplifyClient; }
37
41
  });
38
42
  Object.defineProperty(exports, "getVariantDisplayName", {
39
43
  enumerable: true,
40
- get: function () { return chunk4JSRPSNA_js.getVariantDisplayName; }
44
+ get: function () { return chunkGS7AX6B3_js.getVariantDisplayName; }
41
45
  });
42
46
  Object.defineProperty(exports, "isValidPhoneForContext", {
43
47
  enumerable: true,
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { ActivityService, CimplifyClient, DURATION_UNIT, DeliveryService, PRODUCT_TYPE, RENDER_HINT, createCimplifyClient, getVariantDisplayName } from './chunk-MISITC47.mjs';
1
+ export { ActivityService, CimplifyClient, DURATION_UNIT, DeliveryService, PRODUCT_TYPE, RENDER_HINT, SubscriptionService, createCimplifyClient, getVariantDisplayName } from './chunk-FFUCCUG4.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';