@cimplify/sdk 0.70.1 → 0.70.3

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.
Files changed (48) hide show
  1. package/dist/advanced.d.mts +1 -1
  2. package/dist/advanced.d.ts +1 -1
  3. package/dist/advanced.js +20 -20
  4. package/dist/advanced.mjs +1 -1
  5. package/dist/{chunk-M2CXZQHS.mjs → chunk-3BKMNVTR.mjs} +2 -1
  6. package/dist/{chunk-BCWPRPK7.js → chunk-CV5QMDQS.js} +2 -1
  7. package/dist/{chunk-EAVXSFAB.mjs → chunk-H337NF4O.mjs} +1 -1
  8. package/dist/{chunk-QZQEGRGB.js → chunk-QS4XDVHI.js} +35 -35
  9. package/dist/{chunk-O3ECKVOM.mjs → chunk-QXMO2LGU.mjs} +27 -10
  10. package/dist/{chunk-6XXVA3IV.mjs → chunk-UUW7WBCG.mjs} +2 -2
  11. package/dist/{chunk-SC5DUKGD.js → chunk-XGKMSLMJ.js} +4 -4
  12. package/dist/{chunk-I4MP2XZS.js → chunk-XQ6LEDEO.js} +27 -10
  13. package/dist/{client-GLv003W1.d.ts → client-BvqaIlJ0.d.ts} +2 -2
  14. package/dist/{client-2guXq681.d.mts → client-C7EMuGoz.d.mts} +18 -16
  15. package/dist/{client-D8kSvCeo.d.ts → client-D6CZ2Ggp.d.ts} +18 -16
  16. package/dist/{client-N9IYnyfh.d.mts → client-DWA_XIh3.d.mts} +2 -2
  17. package/dist/index.d.mts +1 -1
  18. package/dist/index.d.ts +1 -1
  19. package/dist/index.js +68 -68
  20. package/dist/index.mjs +3 -3
  21. package/dist/mock/cli.mjs +27 -10
  22. package/dist/mock/library.js +27 -10
  23. package/dist/mock/library.mjs +27 -10
  24. package/dist/mock/msw.js +27 -10
  25. package/dist/mock/msw.mjs +27 -10
  26. package/dist/react.d.mts +1 -1
  27. package/dist/react.d.ts +1 -1
  28. package/dist/react.js +16 -16
  29. package/dist/react.mjs +2 -2
  30. package/dist/{server-D8rwqZQ6.d.mts → server-DDQ1O3XR.d.mts} +4 -1
  31. package/dist/{server-BQzz921M.d.ts → server-DMvQp27Z.d.ts} +4 -1
  32. package/dist/server.d.mts +2 -2
  33. package/dist/server.d.ts +2 -2
  34. package/dist/server.js +7 -7
  35. package/dist/server.mjs +2 -2
  36. package/dist/testing/msw.d.mts +1 -1
  37. package/dist/testing/msw.d.ts +1 -1
  38. package/dist/testing/msw.js +2 -2
  39. package/dist/testing/msw.mjs +1 -1
  40. package/dist/testing/suite.d.mts +4 -4
  41. package/dist/testing/suite.d.ts +4 -4
  42. package/dist/testing/suite.js +23 -23
  43. package/dist/testing/suite.mjs +4 -4
  44. package/dist/testing.d.mts +3 -3
  45. package/dist/testing.d.ts +3 -3
  46. package/dist/testing.js +79 -79
  47. package/dist/testing.mjs +5 -5
  48. package/package.json +1 -1
@@ -787,6 +787,7 @@ declare const DEVICE_TYPE: {
787
787
  readonly MOBILE: "mobile";
788
788
  readonly DESKTOP: "desktop";
789
789
  readonly TABLET: "tablet";
790
+ readonly UNKNOWN: "unknown";
790
791
  };
791
792
  declare const CONTACT_TYPE: {
792
793
  readonly PHONE: "phone";
@@ -843,7 +844,8 @@ interface Customer {
843
844
  delivery_address: string | null;
844
845
  created_at: string;
845
846
  updated_at: string;
846
- metadata?: Record<string, unknown>;
847
+ metadata?: Record<string, unknown> | null;
848
+ account_id?: string | null;
847
849
  }
848
850
  interface CustomerAddress {
849
851
  id: string;
@@ -869,7 +871,7 @@ interface CustomerMobileMoney {
869
871
  id: string;
870
872
  customer_id: string;
871
873
  phone_number: string;
872
- provider: MobileMoneyProvider;
874
+ provider: string;
873
875
  label: string;
874
876
  is_verified: boolean | null;
875
877
  verification_date: string | null;
@@ -1237,10 +1239,10 @@ interface EnrichedOrderItem {
1237
1239
  scheduled_end?: string;
1238
1240
  confirmation_code?: string;
1239
1241
  primary_staff_id?: string;
1240
- base_price: number;
1241
- add_ons_price: number;
1242
- total_price: number;
1243
- item_discount_amount: number;
1242
+ base_price: Money;
1243
+ add_ons_price: Money;
1244
+ total_price: Money;
1245
+ item_discount_amount: Money;
1244
1246
  price_info: ChosenPrice;
1245
1247
  discount_details: DiscountDetails;
1246
1248
  line_state: OrderLineStatus;
@@ -1249,11 +1251,11 @@ interface EnrichedOrderItem {
1249
1251
  metadata?: Record<string, unknown>;
1250
1252
  }
1251
1253
  interface OrderPricingView {
1252
- total_price: number;
1253
- subtotal: number;
1254
- total_discount: number;
1255
- service_charge?: number;
1256
- tax?: number;
1254
+ total_price: Money;
1255
+ subtotal: Money;
1256
+ total_discount: Money;
1257
+ service_charge?: Money;
1258
+ tax?: Money;
1257
1259
  price_info: ChosenPrice;
1258
1260
  }
1259
1261
  interface OrderTimestampsDTO {
@@ -1376,11 +1378,11 @@ interface SuccessResult {
1376
1378
  * - Updates use `POST /resource/:id` with a partial body (not PUT/PATCH).
1377
1379
  * Both create and update share the same verb; payload completeness
1378
1380
  * distinguishes them. This matches the production Rust handlers.
1379
- * - Mobile-money `provider` is a plain string. Canonical values are
1380
- * `"mtn"`, `"vodafone"`, `"airtel"` (defined in
1381
- * {@link MobileMoneyProvider}). The backend's
1382
- * `normalize_mobile_money_provider` accepts case/spelling variations
1383
- * and maps them to one of the three canonical values.
1381
+ * - Mobile-money `provider` is a plain string. User-facing provider
1382
+ * values include `"mtn"`, `"vodafone"`, `"telecel"`, `"airtel"`,
1383
+ * `"airteltigo"`, and `"mpesa"` (defined in {@link MobileMoneyProvider}).
1384
+ * The backend's `normalize_mobile_money_provider` accepts legacy
1385
+ * spellings and maps them to provider-specific processor codes.
1384
1386
  * - Address inputs use the wire shape (`street_address` / `apartment` /
1385
1387
  * `region`) — same field names you read off the response. There is no
1386
1388
  * translation layer.
@@ -787,6 +787,7 @@ declare const DEVICE_TYPE: {
787
787
  readonly MOBILE: "mobile";
788
788
  readonly DESKTOP: "desktop";
789
789
  readonly TABLET: "tablet";
790
+ readonly UNKNOWN: "unknown";
790
791
  };
791
792
  declare const CONTACT_TYPE: {
792
793
  readonly PHONE: "phone";
@@ -843,7 +844,8 @@ interface Customer {
843
844
  delivery_address: string | null;
844
845
  created_at: string;
845
846
  updated_at: string;
846
- metadata?: Record<string, unknown>;
847
+ metadata?: Record<string, unknown> | null;
848
+ account_id?: string | null;
847
849
  }
848
850
  interface CustomerAddress {
849
851
  id: string;
@@ -869,7 +871,7 @@ interface CustomerMobileMoney {
869
871
  id: string;
870
872
  customer_id: string;
871
873
  phone_number: string;
872
- provider: MobileMoneyProvider;
874
+ provider: string;
873
875
  label: string;
874
876
  is_verified: boolean | null;
875
877
  verification_date: string | null;
@@ -1237,10 +1239,10 @@ interface EnrichedOrderItem {
1237
1239
  scheduled_end?: string;
1238
1240
  confirmation_code?: string;
1239
1241
  primary_staff_id?: string;
1240
- base_price: number;
1241
- add_ons_price: number;
1242
- total_price: number;
1243
- item_discount_amount: number;
1242
+ base_price: Money;
1243
+ add_ons_price: Money;
1244
+ total_price: Money;
1245
+ item_discount_amount: Money;
1244
1246
  price_info: ChosenPrice;
1245
1247
  discount_details: DiscountDetails;
1246
1248
  line_state: OrderLineStatus;
@@ -1249,11 +1251,11 @@ interface EnrichedOrderItem {
1249
1251
  metadata?: Record<string, unknown>;
1250
1252
  }
1251
1253
  interface OrderPricingView {
1252
- total_price: number;
1253
- subtotal: number;
1254
- total_discount: number;
1255
- service_charge?: number;
1256
- tax?: number;
1254
+ total_price: Money;
1255
+ subtotal: Money;
1256
+ total_discount: Money;
1257
+ service_charge?: Money;
1258
+ tax?: Money;
1257
1259
  price_info: ChosenPrice;
1258
1260
  }
1259
1261
  interface OrderTimestampsDTO {
@@ -1376,11 +1378,11 @@ interface SuccessResult {
1376
1378
  * - Updates use `POST /resource/:id` with a partial body (not PUT/PATCH).
1377
1379
  * Both create and update share the same verb; payload completeness
1378
1380
  * distinguishes them. This matches the production Rust handlers.
1379
- * - Mobile-money `provider` is a plain string. Canonical values are
1380
- * `"mtn"`, `"vodafone"`, `"airtel"` (defined in
1381
- * {@link MobileMoneyProvider}). The backend's
1382
- * `normalize_mobile_money_provider` accepts case/spelling variations
1383
- * and maps them to one of the three canonical values.
1381
+ * - Mobile-money `provider` is a plain string. User-facing provider
1382
+ * values include `"mtn"`, `"vodafone"`, `"telecel"`, `"airtel"`,
1383
+ * `"airteltigo"`, and `"mpesa"` (defined in {@link MobileMoneyProvider}).
1384
+ * The backend's `normalize_mobile_money_provider` accepts legacy
1385
+ * spellings and maps them to provider-specific processor codes.
1384
1386
  * - Address inputs use the wire shape (`street_address` / `apartment` /
1385
1387
  * `region`) — same field names you read off the response. There is no
1386
1388
  * translation layer.
@@ -1,5 +1,5 @@
1
- import { ad as CimplifyClient } from './client-2guXq681.mjs';
2
- import { A as AppHandle, C as CreateAppOptions } from './server-D8rwqZQ6.mjs';
1
+ import { ad as CimplifyClient } from './client-C7EMuGoz.mjs';
2
+ import { A as AppHandle, C as CreateAppOptions } from './server-DDQ1O3XR.mjs';
3
3
 
4
4
  /**
5
5
  * Test client + fixtures.
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- export { A as AUTHORIZATION_TYPE, a as AUTH_MUTATION, b as AbortablePromise, c as ActivityRecommendation, d as ActivityRecommendationsResponse, e as ActivityService, f as ActivityStateResponse, g as AddressData, h as AddressInfo, i as AmountToPay, j as AuthResponse, k as AuthService, l as AuthStatus, m as AuthenticatedCustomer, n as AuthenticatedData, o as AutocompletePrediction, p as AutocompleteResponse, q as AvailabilityResult, r as AvailableSlot, B as Booking, s as BookingModificationType, t as BookingStatus, u as BookingWithDetails, v as BufferTimes, w as Business, x as BusinessDetailsDTO, y as BusinessHours, z as BusinessPreferences, C as BusinessService, D as BusinessSettings, E as BusinessType, F as BusinessWithLocations, G as CHECKOUT_MODE, H as CHECKOUT_MUTATION, I as CHECKOUT_STEP, J as CONTACT_TYPE, K as CacheOptions, L as CancelBookingInput, M as CancelBookingResult, N as CancelOrderInput, O as CancellationPolicy, P as CartOperations, Q as CatalogueQueries, R as CatalogueResult, S as CatalogueSnapshot, T as CategoryInfo, U as ChatAttachment, V as ChatConversation, W as ChatConversationResponse, X as ChatMessage, Y as ChatWidgetStarter, Z as CheckSlotAvailabilityInput, _ as CheckSlotAvailabilityResult, $ as CheckoutAddressInfo, a0 as CheckoutCartData, a1 as CheckoutCartItem, a2 as CheckoutCustomerInfo, a3 as CheckoutFormData, a4 as CheckoutInput, a5 as CheckoutMode, a9 as CheckoutOperations, a6 as CheckoutOrderType, a7 as CheckoutPaymentMethod, a8 as CheckoutResult, a9 as CheckoutService, aa as CheckoutStatus, ab as CheckoutStatusContext, ac as CheckoutStep, ad as CimplifyClient, ae as CimplifyConfig, af as CimplifyElement, ag as CimplifyElements, ah as ContactType, ai as ContentType, aj as CreateAddressInput, ak as CreateMobileMoneyInput, al as Customer, am as CustomerAddress, an as CustomerBooking, ao as CustomerBookingServiceItem, ap as CustomerLinkPreferences, aq as CustomerMobileMoney, ar as CustomerServicePreferences, as as DEFAULT_COUNTRY, at as DEFAULT_CURRENCY, au as DEVICE_TYPE, av as DayAvailability, aw as DeliveryFeeDetails, ax as DeliveryFeeResponse, ay as DeliveryService, az as DepositResult, aA as DeviceType, aB as DismissMessageResponse, aC as ELEMENTS_AUTH_CONTACT_TYPES, aD as ELEMENTS_AUTH_MODES, aE as ELEMENTS_AUTH_PROMPTS, aF as ELEMENT_TYPES, aG as EVENT_TYPES, aH as ElementAppearance, aI as ElementEventHandler, aJ as ElementEventType, aK as ElementOptions, aL as ElementType, aM as ElementsAuthContactType, aN as ElementsAuthMode, aO as ElementsAuthOptions, aP as ElementsAuthPrompt, aQ as ElementsCheckoutData, aR as ElementsCheckoutResult, aS as ElementsCustomerInfo, aT as ElementsOptions, aU as EnrichedOrder, aV as EnrichedOrderItem, aW as EnrollAndLinkOrderInput, aX as EnrollAndLinkOrderResult, aY as EnrollmentData, aZ as Err, a_ as FeeBearerType, a$ as FetchQuoteInput, b0 as FulfillmentLink, b1 as FulfillmentStatus, b2 as FulfillmentSummaryDTO, b3 as FulfillmentType, b4 as FxQuote, b5 as FxQuoteRequest, b6 as FxRateResponse, b7 as FxService, b8 as GetAvailableSlotsInput, b9 as GetOrdersOptions, ba as GetProductsOptions, bb as GroupOrderInfo, bc as IframeToParentMessage, bd as InventoryService, be as LINK_MUTATION, bf as LINK_QUERY, bg as LineItem, bh as LineType, bi as LinkData, bj as LinkEnrollResult, bk as LinkService, bl as LinkSession, bm as LinkStatusResult, bn as LiteBootstrap, bo as LiteService, bp as Location, bq as LocationBooking, br as LocationTaxBehavior, bs as LocationTaxOverrides, bt as LocationTimeProfile, bu as LocationWithDetails, bv as MESSAGE_TYPES, bw as MOBILE_MONEY_PROVIDER, bx as MobileMoneyData, by as MobileMoneyDetails, bz as MobileMoneyProvider, bA as NextAction, bB as ORDER_MUTATION, bC as ORDER_TYPE, bD as ObservabilityHooks, bE as Ok, bF as Order, bG as OrderChannel, bH as OrderCustomerInfo, bI as OrderDiscountInfo, bJ as OrderFilter, bK as OrderFulfillmentSummary, bL as OrderGroup, bM as OrderGroupDetails, bN as OrderGroupPayment, bO as OrderGroupPaymentState, bP as OrderGroupPaymentStatus, bQ as OrderGroupPaymentSummary, bR as OrderGroupStatus, bS as OrderHistory, bT as OrderLineState, bU as OrderLineStatus, bV as OrderLocationInfo, bW as OrderPaymentEvent, bX as OrderPricingView, bY as OrderQueries, bZ as OrderSplitDetail, b_ as OrderStaffInfo, b$ as OrderStatus, c0 as OrderTimestampsDTO, c1 as OrderType, c2 as OtpResult, c3 as PAYMENT_METHOD, c4 as PAYMENT_MUTATION, c5 as PAYMENT_STATE, c6 as PICKUP_TIME_TYPE, c7 as ParentToIframeMessage, c8 as PaymentInfoDTO, c9 as PaymentMethodInfo, ca as PaymentState, cb as PickupTime, cc as PickupTimeType, cd as PlaceDetailsResponse, ce as PlacesService, cf as PriceQuote, cg as PricingOverrides, ch as ProcessAndResolveOptions, ci as ProcessCheckoutOptions, cj as ProcessCheckoutResult, ck as ProviderResolutionSource, cl as QuoteBundleSelectionInput, cm as QuoteCompositeSelectionInput, cn as QuoteDynamicBuckets, co as QuoteStatus, cp as QuoteUiMessage, cq as ReadRequestOptions, cr as RefreshQuoteInput, cs as RefreshQuoteResult, ct as RefundOrderInput, cu as RelatedCandidate, cv as RelatedProduct, cw as RelatedProductsEnrichment, cx as RelationType, cy as ReminderMethod, cz as ReminderSettings, cA as ReorderResult, cB as RequestContext, cC as RequestErrorEvent, cD as RequestOptions, cE as RequestOtpInput, cF as RequestSource, cG as RequestStartEvent, cH as RequestSuccessEvent, cI as RescheduleBookingInput, cJ as RescheduleBookingResult, cK as RescheduleHistoryRecord, cL as ResourceAssignment, cM as Result, cN as RetryEvent, cO as RevokeAllSessionsResult, cP as RevokeSessionResult, cQ as Room, cR as SchedulingMetadata, cS as SchedulingResult, cT as SchedulingService, cU as SenderType, cV as Service, cW as ServiceAvailabilityParams, cX as ServiceAvailabilityResult, cY as ServiceCharge, cZ as ServiceNotes, c_ as ServiceScheduleRequest, c$ as ServiceStatus, d0 as SessionActivityData, d1 as SessionChangeEvent, d2 as SessionMessage, d3 as SlotResourceInfo, d4 as SlotStaffInfo, d5 as Staff, d6 as StaffAssignment, d7 as StaffRole, d8 as StaffScheduleItem, d9 as StockLevel, da as StockStatus, db as StorefrontBootstrap, dc as SubscriptionService, dd as SupportService, de as Table, df as TableInfo, dg as TimeRange, dh as TimeRanges, di as TimeSlot, dj as TrackCategoryViewOptions, dk as TrackProductViewOptions, dl as UpdateAddressInput, dm as UpdateOrderStatusInput, dn as UpdateProfileInput, dp as UploadInitResponse, dq as UploadResult, dr as UploadService, ds as VerifyOtpInput, dt as combine, du as combineObject, dv as createCimplifyClient, dw as createElements, dx as err, dy as flatMap, dz as fromPromise, dA as getOrElse, dB as isErr, dC as isOk, dD as mapError, dE as mapResult, dF as ok, dG as toNullable, dH as tryCatch, dI as unwrap } from './client-2guXq681.mjs';
1
+ export { A as AUTHORIZATION_TYPE, a as AUTH_MUTATION, b as AbortablePromise, c as ActivityRecommendation, d as ActivityRecommendationsResponse, e as ActivityService, f as ActivityStateResponse, g as AddressData, h as AddressInfo, i as AmountToPay, j as AuthResponse, k as AuthService, l as AuthStatus, m as AuthenticatedCustomer, n as AuthenticatedData, o as AutocompletePrediction, p as AutocompleteResponse, q as AvailabilityResult, r as AvailableSlot, B as Booking, s as BookingModificationType, t as BookingStatus, u as BookingWithDetails, v as BufferTimes, w as Business, x as BusinessDetailsDTO, y as BusinessHours, z as BusinessPreferences, C as BusinessService, D as BusinessSettings, E as BusinessType, F as BusinessWithLocations, G as CHECKOUT_MODE, H as CHECKOUT_MUTATION, I as CHECKOUT_STEP, J as CONTACT_TYPE, K as CacheOptions, L as CancelBookingInput, M as CancelBookingResult, N as CancelOrderInput, O as CancellationPolicy, P as CartOperations, Q as CatalogueQueries, R as CatalogueResult, S as CatalogueSnapshot, T as CategoryInfo, U as ChatAttachment, V as ChatConversation, W as ChatConversationResponse, X as ChatMessage, Y as ChatWidgetStarter, Z as CheckSlotAvailabilityInput, _ as CheckSlotAvailabilityResult, $ as CheckoutAddressInfo, a0 as CheckoutCartData, a1 as CheckoutCartItem, a2 as CheckoutCustomerInfo, a3 as CheckoutFormData, a4 as CheckoutInput, a5 as CheckoutMode, a9 as CheckoutOperations, a6 as CheckoutOrderType, a7 as CheckoutPaymentMethod, a8 as CheckoutResult, a9 as CheckoutService, aa as CheckoutStatus, ab as CheckoutStatusContext, ac as CheckoutStep, ad as CimplifyClient, ae as CimplifyConfig, af as CimplifyElement, ag as CimplifyElements, ah as ContactType, ai as ContentType, aj as CreateAddressInput, ak as CreateMobileMoneyInput, al as Customer, am as CustomerAddress, an as CustomerBooking, ao as CustomerBookingServiceItem, ap as CustomerLinkPreferences, aq as CustomerMobileMoney, ar as CustomerServicePreferences, as as DEFAULT_COUNTRY, at as DEFAULT_CURRENCY, au as DEVICE_TYPE, av as DayAvailability, aw as DeliveryFeeDetails, ax as DeliveryFeeResponse, ay as DeliveryService, az as DepositResult, aA as DeviceType, aB as DismissMessageResponse, aC as ELEMENTS_AUTH_CONTACT_TYPES, aD as ELEMENTS_AUTH_MODES, aE as ELEMENTS_AUTH_PROMPTS, aF as ELEMENT_TYPES, aG as EVENT_TYPES, aH as ElementAppearance, aI as ElementEventHandler, aJ as ElementEventType, aK as ElementOptions, aL as ElementType, aM as ElementsAuthContactType, aN as ElementsAuthMode, aO as ElementsAuthOptions, aP as ElementsAuthPrompt, aQ as ElementsCheckoutData, aR as ElementsCheckoutResult, aS as ElementsCustomerInfo, aT as ElementsOptions, aU as EnrichedOrder, aV as EnrichedOrderItem, aW as EnrollAndLinkOrderInput, aX as EnrollAndLinkOrderResult, aY as EnrollmentData, aZ as Err, a_ as FeeBearerType, a$ as FetchQuoteInput, b0 as FulfillmentLink, b1 as FulfillmentStatus, b2 as FulfillmentSummaryDTO, b3 as FulfillmentType, b4 as FxQuote, b5 as FxQuoteRequest, b6 as FxRateResponse, b7 as FxService, b8 as GetAvailableSlotsInput, b9 as GetOrdersOptions, ba as GetProductsOptions, bb as GroupOrderInfo, bc as IframeToParentMessage, bd as InventoryService, be as LINK_MUTATION, bf as LINK_QUERY, bg as LineItem, bh as LineType, bi as LinkData, bj as LinkEnrollResult, bk as LinkService, bl as LinkSession, bm as LinkStatusResult, bn as LiteBootstrap, bo as LiteService, bp as Location, bq as LocationBooking, br as LocationTaxBehavior, bs as LocationTaxOverrides, bt as LocationTimeProfile, bu as LocationWithDetails, bv as MESSAGE_TYPES, bw as MOBILE_MONEY_PROVIDER, bx as MobileMoneyData, by as MobileMoneyDetails, bz as MobileMoneyProvider, bA as NextAction, bB as ORDER_MUTATION, bC as ORDER_TYPE, bD as ObservabilityHooks, bE as Ok, bF as Order, bG as OrderChannel, bH as OrderCustomerInfo, bI as OrderDiscountInfo, bJ as OrderFilter, bK as OrderFulfillmentSummary, bL as OrderGroup, bM as OrderGroupDetails, bN as OrderGroupPayment, bO as OrderGroupPaymentState, bP as OrderGroupPaymentStatus, bQ as OrderGroupPaymentSummary, bR as OrderGroupStatus, bS as OrderHistory, bT as OrderLineState, bU as OrderLineStatus, bV as OrderLocationInfo, bW as OrderPaymentEvent, bX as OrderPricingView, bY as OrderQueries, bZ as OrderSplitDetail, b_ as OrderStaffInfo, b$ as OrderStatus, c0 as OrderTimestampsDTO, c1 as OrderType, c2 as OtpResult, c3 as PAYMENT_METHOD, c4 as PAYMENT_MUTATION, c5 as PAYMENT_STATE, c6 as PICKUP_TIME_TYPE, c7 as ParentToIframeMessage, c8 as PaymentInfoDTO, c9 as PaymentMethodInfo, ca as PaymentState, cb as PickupTime, cc as PickupTimeType, cd as PlaceDetailsResponse, ce as PlacesService, cf as PriceQuote, cg as PricingOverrides, ch as ProcessAndResolveOptions, ci as ProcessCheckoutOptions, cj as ProcessCheckoutResult, ck as ProviderResolutionSource, cl as QuoteBundleSelectionInput, cm as QuoteCompositeSelectionInput, cn as QuoteDynamicBuckets, co as QuoteStatus, cp as QuoteUiMessage, cq as ReadRequestOptions, cr as RefreshQuoteInput, cs as RefreshQuoteResult, ct as RefundOrderInput, cu as RelatedCandidate, cv as RelatedProduct, cw as RelatedProductsEnrichment, cx as RelationType, cy as ReminderMethod, cz as ReminderSettings, cA as ReorderResult, cB as RequestContext, cC as RequestErrorEvent, cD as RequestOptions, cE as RequestOtpInput, cF as RequestSource, cG as RequestStartEvent, cH as RequestSuccessEvent, cI as RescheduleBookingInput, cJ as RescheduleBookingResult, cK as RescheduleHistoryRecord, cL as ResourceAssignment, cM as Result, cN as RetryEvent, cO as RevokeAllSessionsResult, cP as RevokeSessionResult, cQ as Room, cR as SchedulingMetadata, cS as SchedulingResult, cT as SchedulingService, cU as SenderType, cV as Service, cW as ServiceAvailabilityParams, cX as ServiceAvailabilityResult, cY as ServiceCharge, cZ as ServiceNotes, c_ as ServiceScheduleRequest, c$ as ServiceStatus, d0 as SessionActivityData, d1 as SessionChangeEvent, d2 as SessionMessage, d3 as SlotResourceInfo, d4 as SlotStaffInfo, d5 as Staff, d6 as StaffAssignment, d7 as StaffRole, d8 as StaffScheduleItem, d9 as StockLevel, da as StockStatus, db as StorefrontBootstrap, dc as SubscriptionService, dd as SupportService, de as Table, df as TableInfo, dg as TimeRange, dh as TimeRanges, di as TimeSlot, dj as TrackCategoryViewOptions, dk as TrackProductViewOptions, dl as UpdateAddressInput, dm as UpdateOrderStatusInput, dn as UpdateProfileInput, dp as UploadInitResponse, dq as UploadResult, dr as UploadService, ds as VerifyOtpInput, dt as combine, du as combineObject, dv as createCimplifyClient, dw as createElements, dx as err, dy as flatMap, dz as fromPromise, dA as getOrElse, dB as isErr, dC as isOk, dD as mapError, dE as mapResult, dF as ok, dG as toNullable, dH as tryCatch, dI as unwrap } from './client-C7EMuGoz.mjs';
2
2
  import { b9 as ProductWithDetails, j as ApiError } from './product-B_kS4Oxa.mjs';
3
3
  export { A as AddOn, a as AddOnDetails, b as AddOnGroupDetails, c as AddOnOption, d as AddOnOptionDetails, e as AddOnOptionPrice, f as AddOnWithOptions, g as AddToCartInput, h as AddressValue, i as AdjustmentType, k as AppliedDiscount, l as AttributeAppliesTo, m as AttributeType, n as AttributeValidationRules, o as AttributeVisibility, B as BenefitType, p as BillingFrequency, q as BillingMarkupType, r as BillingPlanType, s as Bundle, t as BundleComponentData, u as BundleComponentInfo, v as BundleComponentVariantView, w as BundleComponentView, x as BundlePriceType, y as BundleProduct, z as BundleSelectionData, C as BundleSelectionInput, D as BundleStoredSelection, E as BundleSummary, F as BundleWithDetails, G as Cart, H as CartAddOn, I as CartChannel, J as CartItem, K as CartItemDetails, L as CartMutationResult, M as CartNotice, N as CartStatus, O as CartSummary, P as CartTotals, Q as Category, R as CategorySummary, S as ChosenPrice, T as CimplifyError, U as Collection, V as CollectionProduct, W as CollectionSummary, X as ComponentGroup, Y as ComponentGroupWithComponents, Z as ComponentPriceBreakdown, _ as ComponentSchedulingData, $ as ComponentSelectionInput, a0 as ComponentSourceType, a1 as Composite, a2 as CompositeComponent, a3 as CompositeComponentView, a4 as CompositeGroupView, a5 as CompositePriceBreakdown, a6 as CompositePriceResult, a7 as CompositePricingMode, a8 as CompositeSelectionData, $ as CompositeSelectionInput, a9 as CompositeStoredSelection, aa as CompositeWithDetails, ab as CurrencyCode, ac as CustomAttributeDefinition, ad as CustomAttributeValue, ae as CustomerInputValue, af as DURATION_UNIT, ag as DateRangeValue, ah as Deal, ai as DealBenefitType, aj as DepositType, ak as DigitalProductType, al as DiscountBreakdown, am as DiscountDetails, an as DiscountValidation, ao as DisplayAddOn, ap as DisplayAddOnOption, aq as DisplayCart, ar as DisplayCartItem, as as DisplayMode, at as DurationUnit, au as ERROR_HINTS, av as EligiblePlansQuery, aw as ErrorCode, ax as ErrorCodeType, ay as ErrorHint, az as FacetValue, aA as FormattedPlanOption, aB as GroupPricingBehavior, aC as INPUT_FIELD_TYPE, aD as IdempotencyMismatchError, aE as InputFieldType, aF as InputFieldValidation, aG as InventoryType, aH as KnowledgeArticle, aI as LineConfiguration, aJ as LocationProductPrice, aK as LocationValue, aL as MeasurementValue, aM as Money, aN as PRODUCT_TYPE, aO as Pagination, aP as PaginationParams, aQ as PhoneValue, aR as Price, aS as PriceAdjustment, aT as PriceDecisionPath, aU as PriceEntryType, aV as PricePathTaxInfo, aW as PriceSource, aX as Product, aY as ProductAddOn, aZ as ProductAvailability, a_ as ProductAvailabilityNow, a$ as ProductBillingPlan, b0 as ProductDealInfo, b1 as ProductInputField, b2 as ProductProperty, b3 as ProductRenderHint, b4 as ProductTaxonomy, b5 as ProductTimeProfile, b6 as ProductType, b7 as ProductVariant, b8 as ProductVariantValue, ba as PropertyFacet, bb as PropertySource, bc as QuantityPricingTier, bd as RENDER_HINT, be as RelatedProductView, bf as SalesChannel, bg as SchedulingMode, bh as SelectedAddOnOption, bi as SemanticKind, bj as SignatureValue, bk as Subscription, bl as SubscriptionInvoice, bm as SubscriptionItem, bn as SubscriptionStatus, bo as SubscriptionWithDetails, bp as Tag, bq as TagsResponse, br as TaxPathComponent, bs as TaxonomyAttributeTemplate, bt as TaxonomyWithChildren, bu as UICart, bv as UICartBusiness, bw as UICartCustomer, bx as UICartLocation, by as UICartPricing, bz as UpdateCartItemInput, bA as VariantAxis, bB as VariantAxisSelection, bC as VariantAxisValue, bD as VariantAxisValueView, bE as VariantAxisView, bF as VariantAxisWithValues, bG as VariantDetails, bH as VariantDetailsDTO, bI as VariantDisplayAttribute, bJ as VariantLocationAvailability, bK as VariantStrategy, bL as VariantView, bM as ZERO, bN as currencyCode, bO as enrichError, bP as getErrorHint, bQ as isCimplifyError, bR as isIdempotencyMismatchError, bS as isQuoteConflictRequiringConsent, bT as isQuoteError, bU as isRetryableError, bV as isSupportedCurrency, bW as money, bX as moneyFromNumber } from './product-B_kS4Oxa.mjs';
4
4
  export { C as CURRENCY_SYMBOLS, M as MOBILE_MONEY_PROVIDERS, c as categorizePaymentError, d as detectMobileMoneyProvider, f as formatMoney, a as formatNumberCompact, b as formatPrice, e as formatPriceAdjustment, g as formatPriceCompact, h as formatPriceRange, i as formatPriceWithTax, j as formatProductPrice, k as getBasePrice, l as getCurrencySymbol, m as getDiscountPercentage, n as getDisplayPrice, o as getMarkupPercentage, p as getPriceRange, q as getProductCurrency, r as getTaxAmount, s as getUnitPriceAtQuantity, t as hasTaxInfo, u as isOnSale, v as isPaymentStatusFailure, w as isPaymentStatusRequiresAction, x as isPaymentStatusSuccess, y as isTaxInclusive, z as isValidPhoneForContext, A as normalizePaymentResponse, B as normalizePhoneToE164, D as normalizeStatusResponse, E as parsePrice, F as resolvePhoneCountryCode } from './index-D8vnKlOQ.mjs';
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { A as AUTHORIZATION_TYPE, a as AUTH_MUTATION, b as AbortablePromise, c as ActivityRecommendation, d as ActivityRecommendationsResponse, e as ActivityService, f as ActivityStateResponse, g as AddressData, h as AddressInfo, i as AmountToPay, j as AuthResponse, k as AuthService, l as AuthStatus, m as AuthenticatedCustomer, n as AuthenticatedData, o as AutocompletePrediction, p as AutocompleteResponse, q as AvailabilityResult, r as AvailableSlot, B as Booking, s as BookingModificationType, t as BookingStatus, u as BookingWithDetails, v as BufferTimes, w as Business, x as BusinessDetailsDTO, y as BusinessHours, z as BusinessPreferences, C as BusinessService, D as BusinessSettings, E as BusinessType, F as BusinessWithLocations, G as CHECKOUT_MODE, H as CHECKOUT_MUTATION, I as CHECKOUT_STEP, J as CONTACT_TYPE, K as CacheOptions, L as CancelBookingInput, M as CancelBookingResult, N as CancelOrderInput, O as CancellationPolicy, P as CartOperations, Q as CatalogueQueries, R as CatalogueResult, S as CatalogueSnapshot, T as CategoryInfo, U as ChatAttachment, V as ChatConversation, W as ChatConversationResponse, X as ChatMessage, Y as ChatWidgetStarter, Z as CheckSlotAvailabilityInput, _ as CheckSlotAvailabilityResult, $ as CheckoutAddressInfo, a0 as CheckoutCartData, a1 as CheckoutCartItem, a2 as CheckoutCustomerInfo, a3 as CheckoutFormData, a4 as CheckoutInput, a5 as CheckoutMode, a9 as CheckoutOperations, a6 as CheckoutOrderType, a7 as CheckoutPaymentMethod, a8 as CheckoutResult, a9 as CheckoutService, aa as CheckoutStatus, ab as CheckoutStatusContext, ac as CheckoutStep, ad as CimplifyClient, ae as CimplifyConfig, af as CimplifyElement, ag as CimplifyElements, ah as ContactType, ai as ContentType, aj as CreateAddressInput, ak as CreateMobileMoneyInput, al as Customer, am as CustomerAddress, an as CustomerBooking, ao as CustomerBookingServiceItem, ap as CustomerLinkPreferences, aq as CustomerMobileMoney, ar as CustomerServicePreferences, as as DEFAULT_COUNTRY, at as DEFAULT_CURRENCY, au as DEVICE_TYPE, av as DayAvailability, aw as DeliveryFeeDetails, ax as DeliveryFeeResponse, ay as DeliveryService, az as DepositResult, aA as DeviceType, aB as DismissMessageResponse, aC as ELEMENTS_AUTH_CONTACT_TYPES, aD as ELEMENTS_AUTH_MODES, aE as ELEMENTS_AUTH_PROMPTS, aF as ELEMENT_TYPES, aG as EVENT_TYPES, aH as ElementAppearance, aI as ElementEventHandler, aJ as ElementEventType, aK as ElementOptions, aL as ElementType, aM as ElementsAuthContactType, aN as ElementsAuthMode, aO as ElementsAuthOptions, aP as ElementsAuthPrompt, aQ as ElementsCheckoutData, aR as ElementsCheckoutResult, aS as ElementsCustomerInfo, aT as ElementsOptions, aU as EnrichedOrder, aV as EnrichedOrderItem, aW as EnrollAndLinkOrderInput, aX as EnrollAndLinkOrderResult, aY as EnrollmentData, aZ as Err, a_ as FeeBearerType, a$ as FetchQuoteInput, b0 as FulfillmentLink, b1 as FulfillmentStatus, b2 as FulfillmentSummaryDTO, b3 as FulfillmentType, b4 as FxQuote, b5 as FxQuoteRequest, b6 as FxRateResponse, b7 as FxService, b8 as GetAvailableSlotsInput, b9 as GetOrdersOptions, ba as GetProductsOptions, bb as GroupOrderInfo, bc as IframeToParentMessage, bd as InventoryService, be as LINK_MUTATION, bf as LINK_QUERY, bg as LineItem, bh as LineType, bi as LinkData, bj as LinkEnrollResult, bk as LinkService, bl as LinkSession, bm as LinkStatusResult, bn as LiteBootstrap, bo as LiteService, bp as Location, bq as LocationBooking, br as LocationTaxBehavior, bs as LocationTaxOverrides, bt as LocationTimeProfile, bu as LocationWithDetails, bv as MESSAGE_TYPES, bw as MOBILE_MONEY_PROVIDER, bx as MobileMoneyData, by as MobileMoneyDetails, bz as MobileMoneyProvider, bA as NextAction, bB as ORDER_MUTATION, bC as ORDER_TYPE, bD as ObservabilityHooks, bE as Ok, bF as Order, bG as OrderChannel, bH as OrderCustomerInfo, bI as OrderDiscountInfo, bJ as OrderFilter, bK as OrderFulfillmentSummary, bL as OrderGroup, bM as OrderGroupDetails, bN as OrderGroupPayment, bO as OrderGroupPaymentState, bP as OrderGroupPaymentStatus, bQ as OrderGroupPaymentSummary, bR as OrderGroupStatus, bS as OrderHistory, bT as OrderLineState, bU as OrderLineStatus, bV as OrderLocationInfo, bW as OrderPaymentEvent, bX as OrderPricingView, bY as OrderQueries, bZ as OrderSplitDetail, b_ as OrderStaffInfo, b$ as OrderStatus, c0 as OrderTimestampsDTO, c1 as OrderType, c2 as OtpResult, c3 as PAYMENT_METHOD, c4 as PAYMENT_MUTATION, c5 as PAYMENT_STATE, c6 as PICKUP_TIME_TYPE, c7 as ParentToIframeMessage, c8 as PaymentInfoDTO, c9 as PaymentMethodInfo, ca as PaymentState, cb as PickupTime, cc as PickupTimeType, cd as PlaceDetailsResponse, ce as PlacesService, cf as PriceQuote, cg as PricingOverrides, ch as ProcessAndResolveOptions, ci as ProcessCheckoutOptions, cj as ProcessCheckoutResult, ck as ProviderResolutionSource, cl as QuoteBundleSelectionInput, cm as QuoteCompositeSelectionInput, cn as QuoteDynamicBuckets, co as QuoteStatus, cp as QuoteUiMessage, cq as ReadRequestOptions, cr as RefreshQuoteInput, cs as RefreshQuoteResult, ct as RefundOrderInput, cu as RelatedCandidate, cv as RelatedProduct, cw as RelatedProductsEnrichment, cx as RelationType, cy as ReminderMethod, cz as ReminderSettings, cA as ReorderResult, cB as RequestContext, cC as RequestErrorEvent, cD as RequestOptions, cE as RequestOtpInput, cF as RequestSource, cG as RequestStartEvent, cH as RequestSuccessEvent, cI as RescheduleBookingInput, cJ as RescheduleBookingResult, cK as RescheduleHistoryRecord, cL as ResourceAssignment, cM as Result, cN as RetryEvent, cO as RevokeAllSessionsResult, cP as RevokeSessionResult, cQ as Room, cR as SchedulingMetadata, cS as SchedulingResult, cT as SchedulingService, cU as SenderType, cV as Service, cW as ServiceAvailabilityParams, cX as ServiceAvailabilityResult, cY as ServiceCharge, cZ as ServiceNotes, c_ as ServiceScheduleRequest, c$ as ServiceStatus, d0 as SessionActivityData, d1 as SessionChangeEvent, d2 as SessionMessage, d3 as SlotResourceInfo, d4 as SlotStaffInfo, d5 as Staff, d6 as StaffAssignment, d7 as StaffRole, d8 as StaffScheduleItem, d9 as StockLevel, da as StockStatus, db as StorefrontBootstrap, dc as SubscriptionService, dd as SupportService, de as Table, df as TableInfo, dg as TimeRange, dh as TimeRanges, di as TimeSlot, dj as TrackCategoryViewOptions, dk as TrackProductViewOptions, dl as UpdateAddressInput, dm as UpdateOrderStatusInput, dn as UpdateProfileInput, dp as UploadInitResponse, dq as UploadResult, dr as UploadService, ds as VerifyOtpInput, dt as combine, du as combineObject, dv as createCimplifyClient, dw as createElements, dx as err, dy as flatMap, dz as fromPromise, dA as getOrElse, dB as isErr, dC as isOk, dD as mapError, dE as mapResult, dF as ok, dG as toNullable, dH as tryCatch, dI as unwrap } from './client-D8kSvCeo.js';
1
+ export { A as AUTHORIZATION_TYPE, a as AUTH_MUTATION, b as AbortablePromise, c as ActivityRecommendation, d as ActivityRecommendationsResponse, e as ActivityService, f as ActivityStateResponse, g as AddressData, h as AddressInfo, i as AmountToPay, j as AuthResponse, k as AuthService, l as AuthStatus, m as AuthenticatedCustomer, n as AuthenticatedData, o as AutocompletePrediction, p as AutocompleteResponse, q as AvailabilityResult, r as AvailableSlot, B as Booking, s as BookingModificationType, t as BookingStatus, u as BookingWithDetails, v as BufferTimes, w as Business, x as BusinessDetailsDTO, y as BusinessHours, z as BusinessPreferences, C as BusinessService, D as BusinessSettings, E as BusinessType, F as BusinessWithLocations, G as CHECKOUT_MODE, H as CHECKOUT_MUTATION, I as CHECKOUT_STEP, J as CONTACT_TYPE, K as CacheOptions, L as CancelBookingInput, M as CancelBookingResult, N as CancelOrderInput, O as CancellationPolicy, P as CartOperations, Q as CatalogueQueries, R as CatalogueResult, S as CatalogueSnapshot, T as CategoryInfo, U as ChatAttachment, V as ChatConversation, W as ChatConversationResponse, X as ChatMessage, Y as ChatWidgetStarter, Z as CheckSlotAvailabilityInput, _ as CheckSlotAvailabilityResult, $ as CheckoutAddressInfo, a0 as CheckoutCartData, a1 as CheckoutCartItem, a2 as CheckoutCustomerInfo, a3 as CheckoutFormData, a4 as CheckoutInput, a5 as CheckoutMode, a9 as CheckoutOperations, a6 as CheckoutOrderType, a7 as CheckoutPaymentMethod, a8 as CheckoutResult, a9 as CheckoutService, aa as CheckoutStatus, ab as CheckoutStatusContext, ac as CheckoutStep, ad as CimplifyClient, ae as CimplifyConfig, af as CimplifyElement, ag as CimplifyElements, ah as ContactType, ai as ContentType, aj as CreateAddressInput, ak as CreateMobileMoneyInput, al as Customer, am as CustomerAddress, an as CustomerBooking, ao as CustomerBookingServiceItem, ap as CustomerLinkPreferences, aq as CustomerMobileMoney, ar as CustomerServicePreferences, as as DEFAULT_COUNTRY, at as DEFAULT_CURRENCY, au as DEVICE_TYPE, av as DayAvailability, aw as DeliveryFeeDetails, ax as DeliveryFeeResponse, ay as DeliveryService, az as DepositResult, aA as DeviceType, aB as DismissMessageResponse, aC as ELEMENTS_AUTH_CONTACT_TYPES, aD as ELEMENTS_AUTH_MODES, aE as ELEMENTS_AUTH_PROMPTS, aF as ELEMENT_TYPES, aG as EVENT_TYPES, aH as ElementAppearance, aI as ElementEventHandler, aJ as ElementEventType, aK as ElementOptions, aL as ElementType, aM as ElementsAuthContactType, aN as ElementsAuthMode, aO as ElementsAuthOptions, aP as ElementsAuthPrompt, aQ as ElementsCheckoutData, aR as ElementsCheckoutResult, aS as ElementsCustomerInfo, aT as ElementsOptions, aU as EnrichedOrder, aV as EnrichedOrderItem, aW as EnrollAndLinkOrderInput, aX as EnrollAndLinkOrderResult, aY as EnrollmentData, aZ as Err, a_ as FeeBearerType, a$ as FetchQuoteInput, b0 as FulfillmentLink, b1 as FulfillmentStatus, b2 as FulfillmentSummaryDTO, b3 as FulfillmentType, b4 as FxQuote, b5 as FxQuoteRequest, b6 as FxRateResponse, b7 as FxService, b8 as GetAvailableSlotsInput, b9 as GetOrdersOptions, ba as GetProductsOptions, bb as GroupOrderInfo, bc as IframeToParentMessage, bd as InventoryService, be as LINK_MUTATION, bf as LINK_QUERY, bg as LineItem, bh as LineType, bi as LinkData, bj as LinkEnrollResult, bk as LinkService, bl as LinkSession, bm as LinkStatusResult, bn as LiteBootstrap, bo as LiteService, bp as Location, bq as LocationBooking, br as LocationTaxBehavior, bs as LocationTaxOverrides, bt as LocationTimeProfile, bu as LocationWithDetails, bv as MESSAGE_TYPES, bw as MOBILE_MONEY_PROVIDER, bx as MobileMoneyData, by as MobileMoneyDetails, bz as MobileMoneyProvider, bA as NextAction, bB as ORDER_MUTATION, bC as ORDER_TYPE, bD as ObservabilityHooks, bE as Ok, bF as Order, bG as OrderChannel, bH as OrderCustomerInfo, bI as OrderDiscountInfo, bJ as OrderFilter, bK as OrderFulfillmentSummary, bL as OrderGroup, bM as OrderGroupDetails, bN as OrderGroupPayment, bO as OrderGroupPaymentState, bP as OrderGroupPaymentStatus, bQ as OrderGroupPaymentSummary, bR as OrderGroupStatus, bS as OrderHistory, bT as OrderLineState, bU as OrderLineStatus, bV as OrderLocationInfo, bW as OrderPaymentEvent, bX as OrderPricingView, bY as OrderQueries, bZ as OrderSplitDetail, b_ as OrderStaffInfo, b$ as OrderStatus, c0 as OrderTimestampsDTO, c1 as OrderType, c2 as OtpResult, c3 as PAYMENT_METHOD, c4 as PAYMENT_MUTATION, c5 as PAYMENT_STATE, c6 as PICKUP_TIME_TYPE, c7 as ParentToIframeMessage, c8 as PaymentInfoDTO, c9 as PaymentMethodInfo, ca as PaymentState, cb as PickupTime, cc as PickupTimeType, cd as PlaceDetailsResponse, ce as PlacesService, cf as PriceQuote, cg as PricingOverrides, ch as ProcessAndResolveOptions, ci as ProcessCheckoutOptions, cj as ProcessCheckoutResult, ck as ProviderResolutionSource, cl as QuoteBundleSelectionInput, cm as QuoteCompositeSelectionInput, cn as QuoteDynamicBuckets, co as QuoteStatus, cp as QuoteUiMessage, cq as ReadRequestOptions, cr as RefreshQuoteInput, cs as RefreshQuoteResult, ct as RefundOrderInput, cu as RelatedCandidate, cv as RelatedProduct, cw as RelatedProductsEnrichment, cx as RelationType, cy as ReminderMethod, cz as ReminderSettings, cA as ReorderResult, cB as RequestContext, cC as RequestErrorEvent, cD as RequestOptions, cE as RequestOtpInput, cF as RequestSource, cG as RequestStartEvent, cH as RequestSuccessEvent, cI as RescheduleBookingInput, cJ as RescheduleBookingResult, cK as RescheduleHistoryRecord, cL as ResourceAssignment, cM as Result, cN as RetryEvent, cO as RevokeAllSessionsResult, cP as RevokeSessionResult, cQ as Room, cR as SchedulingMetadata, cS as SchedulingResult, cT as SchedulingService, cU as SenderType, cV as Service, cW as ServiceAvailabilityParams, cX as ServiceAvailabilityResult, cY as ServiceCharge, cZ as ServiceNotes, c_ as ServiceScheduleRequest, c$ as ServiceStatus, d0 as SessionActivityData, d1 as SessionChangeEvent, d2 as SessionMessage, d3 as SlotResourceInfo, d4 as SlotStaffInfo, d5 as Staff, d6 as StaffAssignment, d7 as StaffRole, d8 as StaffScheduleItem, d9 as StockLevel, da as StockStatus, db as StorefrontBootstrap, dc as SubscriptionService, dd as SupportService, de as Table, df as TableInfo, dg as TimeRange, dh as TimeRanges, di as TimeSlot, dj as TrackCategoryViewOptions, dk as TrackProductViewOptions, dl as UpdateAddressInput, dm as UpdateOrderStatusInput, dn as UpdateProfileInput, dp as UploadInitResponse, dq as UploadResult, dr as UploadService, ds as VerifyOtpInput, dt as combine, du as combineObject, dv as createCimplifyClient, dw as createElements, dx as err, dy as flatMap, dz as fromPromise, dA as getOrElse, dB as isErr, dC as isOk, dD as mapError, dE as mapResult, dF as ok, dG as toNullable, dH as tryCatch, dI as unwrap } from './client-D6CZ2Ggp.js';
2
2
  import { b9 as ProductWithDetails, j as ApiError } from './product-B_kS4Oxa.js';
3
3
  export { A as AddOn, a as AddOnDetails, b as AddOnGroupDetails, c as AddOnOption, d as AddOnOptionDetails, e as AddOnOptionPrice, f as AddOnWithOptions, g as AddToCartInput, h as AddressValue, i as AdjustmentType, k as AppliedDiscount, l as AttributeAppliesTo, m as AttributeType, n as AttributeValidationRules, o as AttributeVisibility, B as BenefitType, p as BillingFrequency, q as BillingMarkupType, r as BillingPlanType, s as Bundle, t as BundleComponentData, u as BundleComponentInfo, v as BundleComponentVariantView, w as BundleComponentView, x as BundlePriceType, y as BundleProduct, z as BundleSelectionData, C as BundleSelectionInput, D as BundleStoredSelection, E as BundleSummary, F as BundleWithDetails, G as Cart, H as CartAddOn, I as CartChannel, J as CartItem, K as CartItemDetails, L as CartMutationResult, M as CartNotice, N as CartStatus, O as CartSummary, P as CartTotals, Q as Category, R as CategorySummary, S as ChosenPrice, T as CimplifyError, U as Collection, V as CollectionProduct, W as CollectionSummary, X as ComponentGroup, Y as ComponentGroupWithComponents, Z as ComponentPriceBreakdown, _ as ComponentSchedulingData, $ as ComponentSelectionInput, a0 as ComponentSourceType, a1 as Composite, a2 as CompositeComponent, a3 as CompositeComponentView, a4 as CompositeGroupView, a5 as CompositePriceBreakdown, a6 as CompositePriceResult, a7 as CompositePricingMode, a8 as CompositeSelectionData, $ as CompositeSelectionInput, a9 as CompositeStoredSelection, aa as CompositeWithDetails, ab as CurrencyCode, ac as CustomAttributeDefinition, ad as CustomAttributeValue, ae as CustomerInputValue, af as DURATION_UNIT, ag as DateRangeValue, ah as Deal, ai as DealBenefitType, aj as DepositType, ak as DigitalProductType, al as DiscountBreakdown, am as DiscountDetails, an as DiscountValidation, ao as DisplayAddOn, ap as DisplayAddOnOption, aq as DisplayCart, ar as DisplayCartItem, as as DisplayMode, at as DurationUnit, au as ERROR_HINTS, av as EligiblePlansQuery, aw as ErrorCode, ax as ErrorCodeType, ay as ErrorHint, az as FacetValue, aA as FormattedPlanOption, aB as GroupPricingBehavior, aC as INPUT_FIELD_TYPE, aD as IdempotencyMismatchError, aE as InputFieldType, aF as InputFieldValidation, aG as InventoryType, aH as KnowledgeArticle, aI as LineConfiguration, aJ as LocationProductPrice, aK as LocationValue, aL as MeasurementValue, aM as Money, aN as PRODUCT_TYPE, aO as Pagination, aP as PaginationParams, aQ as PhoneValue, aR as Price, aS as PriceAdjustment, aT as PriceDecisionPath, aU as PriceEntryType, aV as PricePathTaxInfo, aW as PriceSource, aX as Product, aY as ProductAddOn, aZ as ProductAvailability, a_ as ProductAvailabilityNow, a$ as ProductBillingPlan, b0 as ProductDealInfo, b1 as ProductInputField, b2 as ProductProperty, b3 as ProductRenderHint, b4 as ProductTaxonomy, b5 as ProductTimeProfile, b6 as ProductType, b7 as ProductVariant, b8 as ProductVariantValue, ba as PropertyFacet, bb as PropertySource, bc as QuantityPricingTier, bd as RENDER_HINT, be as RelatedProductView, bf as SalesChannel, bg as SchedulingMode, bh as SelectedAddOnOption, bi as SemanticKind, bj as SignatureValue, bk as Subscription, bl as SubscriptionInvoice, bm as SubscriptionItem, bn as SubscriptionStatus, bo as SubscriptionWithDetails, bp as Tag, bq as TagsResponse, br as TaxPathComponent, bs as TaxonomyAttributeTemplate, bt as TaxonomyWithChildren, bu as UICart, bv as UICartBusiness, bw as UICartCustomer, bx as UICartLocation, by as UICartPricing, bz as UpdateCartItemInput, bA as VariantAxis, bB as VariantAxisSelection, bC as VariantAxisValue, bD as VariantAxisValueView, bE as VariantAxisView, bF as VariantAxisWithValues, bG as VariantDetails, bH as VariantDetailsDTO, bI as VariantDisplayAttribute, bJ as VariantLocationAvailability, bK as VariantStrategy, bL as VariantView, bM as ZERO, bN as currencyCode, bO as enrichError, bP as getErrorHint, bQ as isCimplifyError, bR as isIdempotencyMismatchError, bS as isQuoteConflictRequiringConsent, bT as isQuoteError, bU as isRetryableError, bV as isSupportedCurrency, bW as money, bX as moneyFromNumber } from './product-B_kS4Oxa.js';
4
4
  export { C as CURRENCY_SYMBOLS, M as MOBILE_MONEY_PROVIDERS, c as categorizePaymentError, d as detectMobileMoneyProvider, f as formatMoney, a as formatNumberCompact, b as formatPrice, e as formatPriceAdjustment, g as formatPriceCompact, h as formatPriceRange, i as formatPriceWithTax, j as formatProductPrice, k as getBasePrice, l as getCurrencySymbol, m as getDiscountPercentage, n as getDisplayPrice, o as getMarkupPercentage, p as getPriceRange, q as getProductCurrency, r as getTaxAmount, s as getUnitPriceAtQuantity, t as hasTaxInfo, u as isOnSale, v as isPaymentStatusFailure, w as isPaymentStatusRequiresAction, x as isPaymentStatusSuccess, y as isTaxInclusive, z as isValidPhoneForContext, A as normalizePaymentResponse, B as normalizePhoneToE164, D as normalizeStatusResponse, E as parsePrice, F as resolvePhoneCountryCode } from './index-DIIlPUOC.js';
package/dist/index.js CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  var chunkIQLJJW2H_js = require('./chunk-IQLJJW2H.js');
4
4
  var chunkL5GKVQVJ_js = require('./chunk-L5GKVQVJ.js');
5
- var chunkQZQEGRGB_js = require('./chunk-QZQEGRGB.js');
6
- var chunkBCWPRPK7_js = require('./chunk-BCWPRPK7.js');
5
+ var chunkQS4XDVHI_js = require('./chunk-QS4XDVHI.js');
6
+ var chunkCV5QMDQS_js = require('./chunk-CV5QMDQS.js');
7
7
  var chunk7Y2O3E4D_js = require('./chunk-7Y2O3E4D.js');
8
8
  var chunkXA3ZNR75_js = require('./chunk-XA3ZNR75.js');
9
9
  require('./chunk-OWW5GUSB.js');
@@ -27,9 +27,9 @@ async function signInSilent(opts) {
27
27
  } catch {
28
28
  }
29
29
  const callbackUri = opts.callbackUri ?? "/auth/callback";
30
- const authorizeEndpoint = opts.authUrl ? `${opts.authUrl.replace(/\/$/, "")}/oauth/authorize` : await chunkBCWPRPK7_js.getAuthorizationEndpoint(opts.issuer ?? chunkBCWPRPK7_js.DEFAULT_ISSUER);
31
- const pkce = await chunkBCWPRPK7_js.generatePkce();
32
- const state = chunkBCWPRPK7_js.generateState();
30
+ const authorizeEndpoint = opts.authUrl ? `${opts.authUrl.replace(/\/$/, "")}/oauth/authorize` : await chunkCV5QMDQS_js.getAuthorizationEndpoint(opts.issuer ?? chunkCV5QMDQS_js.DEFAULT_ISSUER);
31
+ const pkce = await chunkCV5QMDQS_js.generatePkce();
32
+ const state = chunkCV5QMDQS_js.generateState();
33
33
  const params = new URLSearchParams({
34
34
  response_type: RESPONSE_TYPE_CODE,
35
35
  response_mode: RESPONSE_MODE_WEB_MESSAGE,
@@ -155,255 +155,255 @@ Object.defineProperty(exports, "resolvePhoneCountryCode", {
155
155
  });
156
156
  Object.defineProperty(exports, "ActivityService", {
157
157
  enumerable: true,
158
- get: function () { return chunkQZQEGRGB_js.ActivityService; }
158
+ get: function () { return chunkQS4XDVHI_js.ActivityService; }
159
159
  });
160
160
  Object.defineProperty(exports, "CimplifyClient", {
161
161
  enumerable: true,
162
- get: function () { return chunkQZQEGRGB_js.CimplifyClient; }
162
+ get: function () { return chunkQS4XDVHI_js.CimplifyClient; }
163
163
  });
164
164
  Object.defineProperty(exports, "DeliveryService", {
165
165
  enumerable: true,
166
- get: function () { return chunkQZQEGRGB_js.DeliveryService; }
166
+ get: function () { return chunkQS4XDVHI_js.DeliveryService; }
167
167
  });
168
168
  Object.defineProperty(exports, "PlacesService", {
169
169
  enumerable: true,
170
- get: function () { return chunkQZQEGRGB_js.PlacesService; }
170
+ get: function () { return chunkQS4XDVHI_js.PlacesService; }
171
171
  });
172
172
  Object.defineProperty(exports, "SubscriptionService", {
173
173
  enumerable: true,
174
- get: function () { return chunkQZQEGRGB_js.SubscriptionService; }
174
+ get: function () { return chunkQS4XDVHI_js.SubscriptionService; }
175
175
  });
176
176
  Object.defineProperty(exports, "SupportService", {
177
177
  enumerable: true,
178
- get: function () { return chunkQZQEGRGB_js.SupportService; }
178
+ get: function () { return chunkQS4XDVHI_js.SupportService; }
179
179
  });
180
180
  Object.defineProperty(exports, "UploadService", {
181
181
  enumerable: true,
182
- get: function () { return chunkQZQEGRGB_js.UploadService; }
182
+ get: function () { return chunkQS4XDVHI_js.UploadService; }
183
183
  });
184
184
  Object.defineProperty(exports, "createCimplifyClient", {
185
185
  enumerable: true,
186
- get: function () { return chunkQZQEGRGB_js.createCimplifyClient; }
186
+ get: function () { return chunkQS4XDVHI_js.createCimplifyClient; }
187
187
  });
188
188
  Object.defineProperty(exports, "AUTHORIZATION_TYPE", {
189
189
  enumerable: true,
190
- get: function () { return chunkBCWPRPK7_js.AUTHORIZATION_TYPE; }
190
+ get: function () { return chunkCV5QMDQS_js.AUTHORIZATION_TYPE; }
191
191
  });
192
192
  Object.defineProperty(exports, "AUTH_MUTATION", {
193
193
  enumerable: true,
194
- get: function () { return chunkBCWPRPK7_js.AUTH_MUTATION; }
194
+ get: function () { return chunkCV5QMDQS_js.AUTH_MUTATION; }
195
195
  });
196
196
  Object.defineProperty(exports, "AuthService", {
197
197
  enumerable: true,
198
- get: function () { return chunkBCWPRPK7_js.AuthService; }
198
+ get: function () { return chunkCV5QMDQS_js.AuthService; }
199
199
  });
200
200
  Object.defineProperty(exports, "BusinessService", {
201
201
  enumerable: true,
202
- get: function () { return chunkBCWPRPK7_js.BusinessService; }
202
+ get: function () { return chunkCV5QMDQS_js.BusinessService; }
203
203
  });
204
204
  Object.defineProperty(exports, "CHECKOUT_MODE", {
205
205
  enumerable: true,
206
- get: function () { return chunkBCWPRPK7_js.CHECKOUT_MODE; }
206
+ get: function () { return chunkCV5QMDQS_js.CHECKOUT_MODE; }
207
207
  });
208
208
  Object.defineProperty(exports, "CHECKOUT_MUTATION", {
209
209
  enumerable: true,
210
- get: function () { return chunkBCWPRPK7_js.CHECKOUT_MUTATION; }
210
+ get: function () { return chunkCV5QMDQS_js.CHECKOUT_MUTATION; }
211
211
  });
212
212
  Object.defineProperty(exports, "CHECKOUT_STEP", {
213
213
  enumerable: true,
214
- get: function () { return chunkBCWPRPK7_js.CHECKOUT_STEP; }
214
+ get: function () { return chunkCV5QMDQS_js.CHECKOUT_STEP; }
215
215
  });
216
216
  Object.defineProperty(exports, "CONTACT_TYPE", {
217
217
  enumerable: true,
218
- get: function () { return chunkBCWPRPK7_js.CONTACT_TYPE; }
218
+ get: function () { return chunkCV5QMDQS_js.CONTACT_TYPE; }
219
219
  });
220
220
  Object.defineProperty(exports, "CartOperations", {
221
221
  enumerable: true,
222
- get: function () { return chunkBCWPRPK7_js.CartOperations; }
222
+ get: function () { return chunkCV5QMDQS_js.CartOperations; }
223
223
  });
224
224
  Object.defineProperty(exports, "CatalogueQueries", {
225
225
  enumerable: true,
226
- get: function () { return chunkBCWPRPK7_js.CatalogueQueries; }
226
+ get: function () { return chunkCV5QMDQS_js.CatalogueQueries; }
227
227
  });
228
228
  Object.defineProperty(exports, "CheckoutOperations", {
229
229
  enumerable: true,
230
- get: function () { return chunkBCWPRPK7_js.CheckoutService; }
230
+ get: function () { return chunkCV5QMDQS_js.CheckoutService; }
231
231
  });
232
232
  Object.defineProperty(exports, "CheckoutService", {
233
233
  enumerable: true,
234
- get: function () { return chunkBCWPRPK7_js.CheckoutService; }
234
+ get: function () { return chunkCV5QMDQS_js.CheckoutService; }
235
235
  });
236
236
  Object.defineProperty(exports, "CimplifyElement", {
237
237
  enumerable: true,
238
- get: function () { return chunkBCWPRPK7_js.CimplifyElement; }
238
+ get: function () { return chunkCV5QMDQS_js.CimplifyElement; }
239
239
  });
240
240
  Object.defineProperty(exports, "CimplifyElements", {
241
241
  enumerable: true,
242
- get: function () { return chunkBCWPRPK7_js.CimplifyElements; }
242
+ get: function () { return chunkCV5QMDQS_js.CimplifyElements; }
243
243
  });
244
244
  Object.defineProperty(exports, "DEFAULT_COUNTRY", {
245
245
  enumerable: true,
246
- get: function () { return chunkBCWPRPK7_js.DEFAULT_COUNTRY; }
246
+ get: function () { return chunkCV5QMDQS_js.DEFAULT_COUNTRY; }
247
247
  });
248
248
  Object.defineProperty(exports, "DEFAULT_CURRENCY", {
249
249
  enumerable: true,
250
- get: function () { return chunkBCWPRPK7_js.DEFAULT_CURRENCY; }
250
+ get: function () { return chunkCV5QMDQS_js.DEFAULT_CURRENCY; }
251
251
  });
252
252
  Object.defineProperty(exports, "DEVICE_TYPE", {
253
253
  enumerable: true,
254
- get: function () { return chunkBCWPRPK7_js.DEVICE_TYPE; }
254
+ get: function () { return chunkCV5QMDQS_js.DEVICE_TYPE; }
255
255
  });
256
256
  Object.defineProperty(exports, "ELEMENTS_AUTH_CONTACT_TYPES", {
257
257
  enumerable: true,
258
- get: function () { return chunkBCWPRPK7_js.ELEMENTS_AUTH_CONTACT_TYPES; }
258
+ get: function () { return chunkCV5QMDQS_js.ELEMENTS_AUTH_CONTACT_TYPES; }
259
259
  });
260
260
  Object.defineProperty(exports, "ELEMENTS_AUTH_MODES", {
261
261
  enumerable: true,
262
- get: function () { return chunkBCWPRPK7_js.ELEMENTS_AUTH_MODES; }
262
+ get: function () { return chunkCV5QMDQS_js.ELEMENTS_AUTH_MODES; }
263
263
  });
264
264
  Object.defineProperty(exports, "ELEMENTS_AUTH_PROMPTS", {
265
265
  enumerable: true,
266
- get: function () { return chunkBCWPRPK7_js.ELEMENTS_AUTH_PROMPTS; }
266
+ get: function () { return chunkCV5QMDQS_js.ELEMENTS_AUTH_PROMPTS; }
267
267
  });
268
268
  Object.defineProperty(exports, "ELEMENT_TYPES", {
269
269
  enumerable: true,
270
- get: function () { return chunkBCWPRPK7_js.ELEMENT_TYPES; }
270
+ get: function () { return chunkCV5QMDQS_js.ELEMENT_TYPES; }
271
271
  });
272
272
  Object.defineProperty(exports, "EVENT_TYPES", {
273
273
  enumerable: true,
274
- get: function () { return chunkBCWPRPK7_js.EVENT_TYPES; }
274
+ get: function () { return chunkCV5QMDQS_js.EVENT_TYPES; }
275
275
  });
276
276
  Object.defineProperty(exports, "FxService", {
277
277
  enumerable: true,
278
- get: function () { return chunkBCWPRPK7_js.FxService; }
278
+ get: function () { return chunkCV5QMDQS_js.FxService; }
279
279
  });
280
280
  Object.defineProperty(exports, "InventoryService", {
281
281
  enumerable: true,
282
- get: function () { return chunkBCWPRPK7_js.InventoryService; }
282
+ get: function () { return chunkCV5QMDQS_js.InventoryService; }
283
283
  });
284
284
  Object.defineProperty(exports, "LINK_MUTATION", {
285
285
  enumerable: true,
286
- get: function () { return chunkBCWPRPK7_js.LINK_MUTATION; }
286
+ get: function () { return chunkCV5QMDQS_js.LINK_MUTATION; }
287
287
  });
288
288
  Object.defineProperty(exports, "LINK_QUERY", {
289
289
  enumerable: true,
290
- get: function () { return chunkBCWPRPK7_js.LINK_QUERY; }
290
+ get: function () { return chunkCV5QMDQS_js.LINK_QUERY; }
291
291
  });
292
292
  Object.defineProperty(exports, "LinkService", {
293
293
  enumerable: true,
294
- get: function () { return chunkBCWPRPK7_js.LinkService; }
294
+ get: function () { return chunkCV5QMDQS_js.LinkService; }
295
295
  });
296
296
  Object.defineProperty(exports, "LiteService", {
297
297
  enumerable: true,
298
- get: function () { return chunkBCWPRPK7_js.LiteService; }
298
+ get: function () { return chunkCV5QMDQS_js.LiteService; }
299
299
  });
300
300
  Object.defineProperty(exports, "MESSAGE_TYPES", {
301
301
  enumerable: true,
302
- get: function () { return chunkBCWPRPK7_js.MESSAGE_TYPES; }
302
+ get: function () { return chunkCV5QMDQS_js.MESSAGE_TYPES; }
303
303
  });
304
304
  Object.defineProperty(exports, "MOBILE_MONEY_PROVIDER", {
305
305
  enumerable: true,
306
- get: function () { return chunkBCWPRPK7_js.MOBILE_MONEY_PROVIDER; }
306
+ get: function () { return chunkCV5QMDQS_js.MOBILE_MONEY_PROVIDER; }
307
307
  });
308
308
  Object.defineProperty(exports, "ORDER_MUTATION", {
309
309
  enumerable: true,
310
- get: function () { return chunkBCWPRPK7_js.ORDER_MUTATION; }
310
+ get: function () { return chunkCV5QMDQS_js.ORDER_MUTATION; }
311
311
  });
312
312
  Object.defineProperty(exports, "ORDER_TYPE", {
313
313
  enumerable: true,
314
- get: function () { return chunkBCWPRPK7_js.ORDER_TYPE; }
314
+ get: function () { return chunkCV5QMDQS_js.ORDER_TYPE; }
315
315
  });
316
316
  Object.defineProperty(exports, "OrderQueries", {
317
317
  enumerable: true,
318
- get: function () { return chunkBCWPRPK7_js.OrderQueries; }
318
+ get: function () { return chunkCV5QMDQS_js.OrderQueries; }
319
319
  });
320
320
  Object.defineProperty(exports, "PAYMENT_METHOD", {
321
321
  enumerable: true,
322
- get: function () { return chunkBCWPRPK7_js.PAYMENT_METHOD; }
322
+ get: function () { return chunkCV5QMDQS_js.PAYMENT_METHOD; }
323
323
  });
324
324
  Object.defineProperty(exports, "PAYMENT_MUTATION", {
325
325
  enumerable: true,
326
- get: function () { return chunkBCWPRPK7_js.PAYMENT_MUTATION; }
326
+ get: function () { return chunkCV5QMDQS_js.PAYMENT_MUTATION; }
327
327
  });
328
328
  Object.defineProperty(exports, "PAYMENT_STATE", {
329
329
  enumerable: true,
330
- get: function () { return chunkBCWPRPK7_js.PAYMENT_STATE; }
330
+ get: function () { return chunkCV5QMDQS_js.PAYMENT_STATE; }
331
331
  });
332
332
  Object.defineProperty(exports, "PICKUP_TIME_TYPE", {
333
333
  enumerable: true,
334
- get: function () { return chunkBCWPRPK7_js.PICKUP_TIME_TYPE; }
334
+ get: function () { return chunkCV5QMDQS_js.PICKUP_TIME_TYPE; }
335
335
  });
336
336
  Object.defineProperty(exports, "SchedulingService", {
337
337
  enumerable: true,
338
- get: function () { return chunkBCWPRPK7_js.SchedulingService; }
338
+ get: function () { return chunkCV5QMDQS_js.SchedulingService; }
339
339
  });
340
340
  Object.defineProperty(exports, "combine", {
341
341
  enumerable: true,
342
- get: function () { return chunkBCWPRPK7_js.combine; }
342
+ get: function () { return chunkCV5QMDQS_js.combine; }
343
343
  });
344
344
  Object.defineProperty(exports, "combineObject", {
345
345
  enumerable: true,
346
- get: function () { return chunkBCWPRPK7_js.combineObject; }
346
+ get: function () { return chunkCV5QMDQS_js.combineObject; }
347
347
  });
348
348
  Object.defineProperty(exports, "createElements", {
349
349
  enumerable: true,
350
- get: function () { return chunkBCWPRPK7_js.createElements; }
350
+ get: function () { return chunkCV5QMDQS_js.createElements; }
351
351
  });
352
352
  Object.defineProperty(exports, "err", {
353
353
  enumerable: true,
354
- get: function () { return chunkBCWPRPK7_js.err; }
354
+ get: function () { return chunkCV5QMDQS_js.err; }
355
355
  });
356
356
  Object.defineProperty(exports, "flatMap", {
357
357
  enumerable: true,
358
- get: function () { return chunkBCWPRPK7_js.flatMap; }
358
+ get: function () { return chunkCV5QMDQS_js.flatMap; }
359
359
  });
360
360
  Object.defineProperty(exports, "fromPromise", {
361
361
  enumerable: true,
362
- get: function () { return chunkBCWPRPK7_js.fromPromise; }
362
+ get: function () { return chunkCV5QMDQS_js.fromPromise; }
363
363
  });
364
364
  Object.defineProperty(exports, "generateIdempotencyKey", {
365
365
  enumerable: true,
366
- get: function () { return chunkBCWPRPK7_js.generateIdempotencyKey; }
366
+ get: function () { return chunkCV5QMDQS_js.generateIdempotencyKey; }
367
367
  });
368
368
  Object.defineProperty(exports, "getOrElse", {
369
369
  enumerable: true,
370
- get: function () { return chunkBCWPRPK7_js.getOrElse; }
370
+ get: function () { return chunkCV5QMDQS_js.getOrElse; }
371
371
  });
372
372
  Object.defineProperty(exports, "isErr", {
373
373
  enumerable: true,
374
- get: function () { return chunkBCWPRPK7_js.isErr; }
374
+ get: function () { return chunkCV5QMDQS_js.isErr; }
375
375
  });
376
376
  Object.defineProperty(exports, "isOk", {
377
377
  enumerable: true,
378
- get: function () { return chunkBCWPRPK7_js.isOk; }
378
+ get: function () { return chunkCV5QMDQS_js.isOk; }
379
379
  });
380
380
  Object.defineProperty(exports, "mapError", {
381
381
  enumerable: true,
382
- get: function () { return chunkBCWPRPK7_js.mapError; }
382
+ get: function () { return chunkCV5QMDQS_js.mapError; }
383
383
  });
384
384
  Object.defineProperty(exports, "mapResult", {
385
385
  enumerable: true,
386
- get: function () { return chunkBCWPRPK7_js.mapResult; }
386
+ get: function () { return chunkCV5QMDQS_js.mapResult; }
387
387
  });
388
388
  Object.defineProperty(exports, "ok", {
389
389
  enumerable: true,
390
- get: function () { return chunkBCWPRPK7_js.ok; }
390
+ get: function () { return chunkCV5QMDQS_js.ok; }
391
391
  });
392
392
  Object.defineProperty(exports, "startSignIn", {
393
393
  enumerable: true,
394
- get: function () { return chunkBCWPRPK7_js.startSignIn; }
394
+ get: function () { return chunkCV5QMDQS_js.startSignIn; }
395
395
  });
396
396
  Object.defineProperty(exports, "toNullable", {
397
397
  enumerable: true,
398
- get: function () { return chunkBCWPRPK7_js.toNullable; }
398
+ get: function () { return chunkCV5QMDQS_js.toNullable; }
399
399
  });
400
400
  Object.defineProperty(exports, "tryCatch", {
401
401
  enumerable: true,
402
- get: function () { return chunkBCWPRPK7_js.tryCatch; }
402
+ get: function () { return chunkCV5QMDQS_js.tryCatch; }
403
403
  });
404
404
  Object.defineProperty(exports, "unwrap", {
405
405
  enumerable: true,
406
- get: function () { return chunkBCWPRPK7_js.unwrap; }
406
+ get: function () { return chunkCV5QMDQS_js.unwrap; }
407
407
  });
408
408
  Object.defineProperty(exports, "CURRENCY_SYMBOLS", {
409
409
  enumerable: true,
package/dist/index.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  export { CIMPLIFY_CDN_HOSTS, DEFAULT_CDN_BASE_URL, DURATION_UNIT, INPUT_FIELD_TYPE, PRODUCT_TYPE, RENDER_HINT, allGalleryImages, assetUrl, getVariantDisplayName, isCimplifyAsset, resolveGallery } from './chunk-E6T5VJMG.mjs';
2
2
  export { isValidPhoneForContext, normalizePhoneToE164, resolvePhoneCountryCode } from './chunk-YOIVZ6OA.mjs';
3
- export { ActivityService, CimplifyClient, DeliveryService, PlacesService, SubscriptionService, SupportService, UploadService, createCimplifyClient } from './chunk-EAVXSFAB.mjs';
4
- import { getAuthorizationEndpoint, DEFAULT_ISSUER, generatePkce, generateState } from './chunk-M2CXZQHS.mjs';
5
- 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, ELEMENTS_AUTH_CONTACT_TYPES, ELEMENTS_AUTH_MODES, ELEMENTS_AUTH_PROMPTS, 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, startSignIn, toNullable, tryCatch, unwrap } from './chunk-M2CXZQHS.mjs';
3
+ export { ActivityService, CimplifyClient, DeliveryService, PlacesService, SubscriptionService, SupportService, UploadService, createCimplifyClient } from './chunk-H337NF4O.mjs';
4
+ import { getAuthorizationEndpoint, DEFAULT_ISSUER, generatePkce, generateState } from './chunk-3BKMNVTR.mjs';
5
+ 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, ELEMENTS_AUTH_CONTACT_TYPES, ELEMENTS_AUTH_MODES, ELEMENTS_AUTH_PROMPTS, 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, startSignIn, toNullable, tryCatch, unwrap } from './chunk-3BKMNVTR.mjs';
6
6
  export { CURRENCY_SYMBOLS, MOBILE_MONEY_PROVIDERS, categorizePaymentError, detectMobileMoneyProvider, formatMoney, formatNumberCompact, formatPrice, formatPriceAdjustment, formatPriceCompact, formatPriceRange, formatPriceWithTax, formatProductPrice, getBasePrice, getCurrencySymbol, getDiscountPercentage, getDisplayPrice, getMarkupPercentage, getPriceRange, getProductCurrency, getTaxAmount, getUnitPriceAtQuantity, hasTaxInfo, isOnSale, isPaymentStatusFailure, isPaymentStatusRequiresAction, isPaymentStatusSuccess, isTaxInclusive, normalizePaymentResponse, normalizeStatusResponse, parsePrice } from './chunk-TD3AY34U.mjs';
7
7
  export { CimplifyError, ERROR_HINTS, ErrorCode, IdempotencyMismatchError, ZERO, currencyCode, enrichError, getErrorHint, isCimplifyError, isIdempotencyMismatchError, isQuoteConflictRequiringConsent, isQuoteError, isRetryableError, isSupportedCurrency, money, moneyFromNumber } from './chunk-AMZXALF6.mjs';
8
8
  import './chunk-3G6RQLXK.mjs';