@cimplify/sdk 0.100.3 → 0.100.4

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 (55) hide show
  1. package/README.md +17 -0
  2. package/dist/advanced.d.mts +1 -1
  3. package/dist/advanced.d.ts +1 -1
  4. package/dist/advanced.js +20 -20
  5. package/dist/advanced.mjs +1 -1
  6. package/dist/{chunk-FWKSBF3F.js → chunk-3HU5I5VG.js} +20 -4
  7. package/dist/{chunk-NOGCGI4J.mjs → chunk-HSDQWJLA.mjs} +2 -2
  8. package/dist/{chunk-CNY2XFN4.js → chunk-JEVCHTKZ.js} +48 -47
  9. package/dist/{chunk-KNCW5DI7.js → chunk-LMD7B33E.js} +4 -4
  10. package/dist/{chunk-XCS56XSS.js → chunk-PNTINRAU.js} +31 -1
  11. package/dist/{chunk-HFTRLRLM.mjs → chunk-RQPXLXB2.mjs} +31 -1
  12. package/dist/{chunk-XG4DZT4I.mjs → chunk-RWR7JF7F.mjs} +2 -1
  13. package/dist/{chunk-FFRQNNUQ.mjs → chunk-Z7M6GAHS.mjs} +20 -4
  14. package/dist/{client-Bx4NRdl8.d.mts → client-BwRAAk4y.d.mts} +15 -0
  15. package/dist/{client-Cvp8W1r9.d.ts → client-CPcZIrjC.d.ts} +2 -2
  16. package/dist/{client-BWdeCgmo.d.ts → client-CrPglBBz.d.ts} +15 -0
  17. package/dist/{client-BGeSemVv.d.mts → client-DGrvLiJv.d.mts} +2 -2
  18. package/dist/index.d.mts +2 -2
  19. package/dist/index.d.ts +2 -2
  20. package/dist/index.js +69 -69
  21. package/dist/index.mjs +3 -3
  22. package/dist/lint-rules.json +1 -0
  23. package/dist/lint.d.mts +537 -0
  24. package/dist/lint.d.ts +537 -0
  25. package/dist/lint.js +540 -0
  26. package/dist/lint.mjs +524 -0
  27. package/dist/mock/cli.mjs +31 -1
  28. package/dist/mock/library.js +31 -1
  29. package/dist/mock/library.mjs +31 -1
  30. package/dist/mock/msw.js +31 -1
  31. package/dist/mock/msw.mjs +31 -1
  32. package/dist/react.d.mts +10 -5
  33. package/dist/react.d.ts +10 -5
  34. package/dist/react.js +40 -35
  35. package/dist/react.mjs +14 -9
  36. package/dist/{server-BRJ61o2J.d.mts → server-DRAW2OOX.d.mts} +4 -1
  37. package/dist/{server-CXrVYtNo.d.ts → server-zyrpzJVn.d.ts} +4 -1
  38. package/dist/server.d.mts +2 -2
  39. package/dist/server.d.ts +2 -2
  40. package/dist/server.js +7 -7
  41. package/dist/server.mjs +2 -2
  42. package/dist/styles.css +1 -1
  43. package/dist/testing/msw.d.mts +1 -1
  44. package/dist/testing/msw.d.ts +1 -1
  45. package/dist/testing/msw.js +2 -2
  46. package/dist/testing/msw.mjs +1 -1
  47. package/dist/testing/suite.d.mts +4 -4
  48. package/dist/testing/suite.d.ts +4 -4
  49. package/dist/testing/suite.js +23 -23
  50. package/dist/testing/suite.mjs +4 -4
  51. package/dist/testing.d.mts +3 -3
  52. package/dist/testing.d.ts +3 -3
  53. package/dist/testing.js +79 -79
  54. package/dist/testing.mjs +5 -5
  55. package/package.json +10 -2
@@ -1,4 +1,4 @@
1
- import { safe, generateIdempotencyKey, err, ok, CatalogueQueries, CartOperations, CheckoutService, OrderQueries, LinkService, AuthService, BusinessService, InventoryService, SchedulingService, LiteService, FxService, createElements } from './chunk-FFRQNNUQ.mjs';
1
+ import { safe, generateIdempotencyKey, err, ok, CatalogueQueries, CartOperations, CheckoutService, OrderQueries, LinkService, AuthService, BusinessService, InventoryService, SchedulingService, LiteService, FxService, createElements } from './chunk-Z7M6GAHS.mjs';
2
2
  import { CimplifyError, ErrorCode, IdempotencyMismatchError, enrichError } from './chunk-O3YUHLZL.mjs';
3
3
 
4
4
  // src/store-credit.ts
@@ -514,6 +514,7 @@ var DeliveryService = class {
514
514
  if (query.dropoffLat != null) params.set("dropoff_lat", String(query.dropoffLat));
515
515
  if (query.dropoffLng != null) params.set("dropoff_lng", String(query.dropoffLng));
516
516
  if (query.country) params.set("country", query.country);
517
+ if (query.currency) params.set("currency", query.currency);
517
518
  if (query.orderValue != null) params.set("order_value", String(query.orderValue));
518
519
  return safe(
519
520
  this.client.get(`/api/v1/delivery/options?${params.toString()}`)
@@ -1217,9 +1217,17 @@ var CheckoutResolver = class {
1217
1217
  );
1218
1218
  }
1219
1219
  if (popupError === "PROVIDER_UNAVAILABLE") {
1220
- return this.fail("PROVIDER_UNAVAILABLE", "Card payment provider is unavailable.", false);
1220
+ return this.fail(
1221
+ "PROVIDER_UNAVAILABLE",
1222
+ "Card payment provider is unavailable.",
1223
+ false
1224
+ );
1221
1225
  }
1222
- return this.fail("PAYMENT_CANCELLED", "Card payment was cancelled before completion.", true);
1226
+ return this.fail(
1227
+ "PAYMENT_CANCELLED",
1228
+ "Card payment was cancelled before completion.",
1229
+ true
1230
+ );
1223
1231
  }
1224
1232
  paymentReference = popupResult.reference || paymentReference;
1225
1233
  break;
@@ -1227,7 +1235,11 @@ var CheckoutResolver = class {
1227
1235
  case NEXT_ACTION_REDIRECT: {
1228
1236
  if (typeof window !== "undefined" && this.returnUrl) {
1229
1237
  window.location.assign(action.authorization_url);
1230
- return this.fail("REDIRECT_REQUIRED", "Redirecting to complete payment authorization.", true);
1238
+ return this.fail(
1239
+ "REDIRECT_REQUIRED",
1240
+ "Redirecting to complete payment authorization.",
1241
+ true
1242
+ );
1231
1243
  }
1232
1244
  if (typeof window !== "undefined") {
1233
1245
  const popup = window.open(
@@ -1484,8 +1496,12 @@ var CheckoutResolver = class {
1484
1496
  apartment: source.apartment || void 0,
1485
1497
  city: source.city || "",
1486
1498
  region: source.region || "",
1499
+ postal_code: source.postal_code || void 0,
1500
+ country: source.country || void 0,
1487
1501
  delivery_instructions: source.delivery_instructions || void 0,
1488
- phone_for_delivery: source.phone_for_delivery || void 0
1502
+ phone_for_delivery: source.phone_for_delivery || void 0,
1503
+ latitude: source.latitude,
1504
+ longitude: source.longitude
1489
1505
  };
1490
1506
  }
1491
1507
  getEnrollmentMobileMoney() {
@@ -957,6 +957,10 @@ interface CreateAddressInput {
957
957
  region?: string;
958
958
  postal_code?: string;
959
959
  country?: string;
960
+ delivery_instructions?: string;
961
+ phone_for_delivery?: string;
962
+ latitude?: number;
963
+ longitude?: number;
960
964
  }
961
965
  interface UpdateAddressInput {
962
966
  address_id: string;
@@ -967,6 +971,11 @@ interface UpdateAddressInput {
967
971
  region?: string;
968
972
  postal_code?: string;
969
973
  country?: string;
974
+ delivery_instructions?: string;
975
+ phone_for_delivery?: string;
976
+ latitude?: number;
977
+ longitude?: number;
978
+ clear_coordinates?: boolean;
970
979
  }
971
980
  interface CreateMobileMoneyInput {
972
981
  phone_number: string;
@@ -983,8 +992,12 @@ interface AddressData {
983
992
  apartment?: string;
984
993
  city: string;
985
994
  region: string;
995
+ postal_code?: string;
996
+ country?: string;
986
997
  delivery_instructions?: string;
987
998
  phone_for_delivery?: string;
999
+ latitude?: number;
1000
+ longitude?: number;
988
1001
  }
989
1002
  interface MobileMoneyData {
990
1003
  phone_number: string;
@@ -2551,6 +2564,8 @@ interface DeliveryOptionsResponse {
2551
2564
  }
2552
2565
  interface GetDeliveryOptionsParams {
2553
2566
  country?: string;
2567
+ /** Cart currency. Rates in another currency are never returned. */
2568
+ currency?: string;
2554
2569
  /** Cart goods total — drives free-over thresholds and zone minimums. */
2555
2570
  orderValue?: Money;
2556
2571
  }
@@ -1,5 +1,5 @@
1
- import { af as CimplifyClient } from './client-BWdeCgmo.js';
2
- import { A as AppHandle, C as CreateAppOptions } from './server-CXrVYtNo.js';
1
+ import { af as CimplifyClient } from './client-CrPglBBz.js';
2
+ import { A as AppHandle, C as CreateAppOptions } from './server-zyrpzJVn.js';
3
3
 
4
4
  /**
5
5
  * Test client + fixtures.
@@ -957,6 +957,10 @@ interface CreateAddressInput {
957
957
  region?: string;
958
958
  postal_code?: string;
959
959
  country?: string;
960
+ delivery_instructions?: string;
961
+ phone_for_delivery?: string;
962
+ latitude?: number;
963
+ longitude?: number;
960
964
  }
961
965
  interface UpdateAddressInput {
962
966
  address_id: string;
@@ -967,6 +971,11 @@ interface UpdateAddressInput {
967
971
  region?: string;
968
972
  postal_code?: string;
969
973
  country?: string;
974
+ delivery_instructions?: string;
975
+ phone_for_delivery?: string;
976
+ latitude?: number;
977
+ longitude?: number;
978
+ clear_coordinates?: boolean;
970
979
  }
971
980
  interface CreateMobileMoneyInput {
972
981
  phone_number: string;
@@ -983,8 +992,12 @@ interface AddressData {
983
992
  apartment?: string;
984
993
  city: string;
985
994
  region: string;
995
+ postal_code?: string;
996
+ country?: string;
986
997
  delivery_instructions?: string;
987
998
  phone_for_delivery?: string;
999
+ latitude?: number;
1000
+ longitude?: number;
988
1001
  }
989
1002
  interface MobileMoneyData {
990
1003
  phone_number: string;
@@ -2551,6 +2564,8 @@ interface DeliveryOptionsResponse {
2551
2564
  }
2552
2565
  interface GetDeliveryOptionsParams {
2553
2566
  country?: string;
2567
+ /** Cart currency. Rates in another currency are never returned. */
2568
+ currency?: string;
2554
2569
  /** Cart goods total — drives free-over thresholds and zone minimums. */
2555
2570
  orderValue?: Money;
2556
2571
  }
@@ -1,5 +1,5 @@
1
- import { af as CimplifyClient } from './client-Bx4NRdl8.mjs';
2
- import { A as AppHandle, C as CreateAppOptions } from './server-BRJ61o2J.mjs';
1
+ import { af as CimplifyClient } from './client-BwRAAk4y.mjs';
2
+ import { A as AppHandle, C as CreateAppOptions } from './server-DRAW2OOX.mjs';
3
3
 
4
4
  /**
5
5
  * Test client + fixtures.
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { X as ChatReplyCard } from './client-Bx4NRdl8.mjs';
2
- 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 BusinessWithLocations, F as CHECKOUT_MODE, G as CHECKOUT_MUTATION, H as CHECKOUT_STEP, I as CONTACT_TYPE, J as CacheOptions, K as CancelBookingInput, L as CancelBookingResult, M as CancelOrderInput, N as CancellationPolicy, O as CartOperations, P as CatalogueQueries, Q as CatalogueResult, R as CatalogueSnapshot, S as CategoryInfo, T as ChatAttachment, U as ChatConversation, V as ChatConversationResponse, W as ChatMessage, Y as ChatReplyContext, Z as ChatUploadAttachment, _ as ChatWidgetStarter, $ as CheckSlotAvailabilityInput, a0 as CheckSlotAvailabilityResult, a1 as CheckoutAddressInfo, a2 as CheckoutCartData, a3 as CheckoutCartItem, a4 as CheckoutCustomerInfo, a5 as CheckoutFormData, a6 as CheckoutInput, a7 as CheckoutMode, ab as CheckoutOperations, a8 as CheckoutOrderType, a9 as CheckoutPaymentMethod, aa as CheckoutResult, ab as CheckoutService, ac as CheckoutStatus, ad as CheckoutStatusContext, ae as CheckoutStep, af as CimplifyClient, ag as CimplifyConfig, ah as CimplifyElement, ai as CimplifyElements, aj as ClaimConversationResult, ak as ContactType, al as ContentType, am as CreateAddressInput, an as CreateMobileMoneyInput, ao as Customer, ap as CustomerAddress, aq as CustomerBooking, ar as CustomerBookingServiceItem, as as CustomerLinkPreferences, at as CustomerMobileMoney, au as CustomerServicePreferences, av as DEFAULT_COUNTRY, aw as DEFAULT_CURRENCY, ax as DEVICE_TYPE, ay as DayAvailability, az as DeliveryFeeDetails, aA as DeliveryFeeResponse, aB as DeliveryOption, aC as DeliveryOptionsQuery, aD as DeliveryOptionsResponse, aE as DeliveryService, aF as DepositResult, aG as DeviceType, aH as DismissMessageResponse, aI as ELEMENTS_AUTH_CONTACT_TYPES, aJ as ELEMENTS_AUTH_MODES, aK as ELEMENTS_AUTH_PROMPTS, aL as ELEMENT_TYPES, aM as EVENT_TYPES, aN as ElementAppearance, aO as ElementEventHandler, aP as ElementEventType, aQ as ElementOptions, aR as ElementType, aS as ElementsAuthContactType, aT as ElementsAuthMode, aU as ElementsAuthOptions, aV as ElementsAuthPrompt, aW as ElementsCheckoutData, aX as ElementsCheckoutResult, aY as ElementsCustomerInfo, aZ as ElementsOptions, a_ as EnrichedOrder, a$ as EnrichedOrderItem, b0 as EnrollAndLinkOrderInput, b1 as EnrollAndLinkOrderResult, b2 as EnrollmentData, b3 as Err, b4 as FeeBearerType, b5 as FetchQuoteInput, b6 as FulfillmentLink, b7 as FulfillmentStatus, b8 as FulfillmentSummaryDTO, b9 as FulfillmentType, ba as FxQuote, bb as FxQuoteRequest, bc as FxQuoteStatus, bd as FxRateResponse, be as FxService, bf as GetAvailableSlotsInput, bg as GetDeliveryOptionsParams, bh as GetOrdersOptions, bi as GetProductsOptions, bj as GroupOrderInfo, bk as IframeToParentMessage, bl as InventoryService, bm as LINK_MUTATION, bn as LINK_QUERY, bo as LifecyclePhase, bp as LineItem, bq as LineType, br as LinkData, bs as LinkEnrollResult, bt as LinkService, bu as LinkSession, bv as LinkStatusResult, bw as LiteBootstrap, bx as LiteDayHours, by as LiteHoursRange, bz as LiteService, bA as Location, bB as LocationBooking, bC as LocationTaxBehavior, bD as LocationTaxOverrides, bE as LocationTimeProfile, bF as LocationWithDetails, bG as MESSAGE_TYPES, bH as MOBILE_MONEY_PROVIDER, bI as MobileMoneyData, bJ as MobileMoneyDetails, bK as MobileMoneyProvider, bL as NextAction, bM as ORDER_MUTATION, bN as ORDER_TYPE, bO as ObservabilityHooks, bP as Ok, bQ as Order, bR as OrderCustomerInfo, bS as OrderDiscountInfo, bT as OrderFilter, bU as OrderFulfillmentSummary, bV as OrderGroup, bW as OrderGroupDetails, bX as OrderGroupPayment, bY as OrderGroupPaymentState, bZ as OrderGroupPaymentStatus, b_ as OrderGroupPaymentSummary, b$ as OrderGroupStatus, c0 as OrderHistory, c1 as OrderLineState, c2 as OrderLineStatus, c3 as OrderLocationInfo, c4 as OrderPaymentEvent, c5 as OrderPricingView, c6 as OrderQueries, c7 as OrderSplitDetail, c8 as OrderStaffInfo, c9 as OrderStatus, ca as OrderTimestampsDTO, cb as OrderType, cc as Origin, cd as OriginActor, ce as OriginChannel, cf as OtpResult, cg as PAYMENT_METHOD, ch as PAYMENT_MUTATION, ci as PAYMENT_STATE, cj as PICKUP_TIME_TYPE, ck as ParentToIframeMessage, cl as PaymentInfoDTO, cm as PaymentMethodInfo, cn as PaymentState, co as PickupTime, cp as PickupTimeType, cq as PlaceDetailsResponse, cr as PlacesService, cs as PriceQuote, ct as PricingOverrides, cu as ProcessAndResolveOptions, cv as ProcessCheckoutOptions, cw as ProcessCheckoutResult, cx as ProviderResolutionSource, cy as QuoteBundleSelectionInput, cz as QuoteCompositeSelectionInput, cA as QuoteDynamicBuckets, cB as QuoteStatus, cC as QuoteUiMessage, cD as ReadRequestOptions, cE as RefreshQuoteInput, cF as RefreshQuoteResult, cG as RefundOrderInput, cH as RelatedCandidate, cI as RelatedProduct, cJ as RelatedProductsEnrichment, cK as RelationType, cL as ReminderMethod, cM as ReminderSettings, cN as ReorderResult, cO as RequestContext, cP as RequestErrorEvent, cQ as RequestOptions, cR as RequestOtpInput, cS as RequestSource, cT as RequestStartEvent, cU as RequestSuccessEvent, cV as RescheduleBookingInput, cW as RescheduleBookingResult, cX as RescheduleHistoryRecord, cY as ResourceAssignment, cZ as ResourceInfo, c_ as Result, c$ as RetryEvent, d0 as RevokeAllSessionsResult, d1 as RevokeSessionResult, d2 as Room, d3 as SchedulingMetadata, d4 as SchedulingResult, d5 as SchedulingService, d6 as SenderType, d7 as Service, d8 as ServiceAvailabilityParams, d9 as ServiceAvailabilityResult, da as ServiceCharge, db as ServiceNotes, dc as ServiceScheduleRequest, dd as ServiceStatus, de as SessionActivityData, df as SessionChangeEvent, dg as SessionMessage, dh as SlotResourceInfo, di as SlotStaffInfo, dj as Staff, dk as StaffAssignment, dl as StaffRole, dm as StaffScheduleItem, dn as StockLevel, dp as StockStatus, dq as StoreCreditBalance, dr as StoreCreditQueries, ds as StorefrontBootstrap, dt as SubscriptionService, du as SupportService, dv as Table, dw as TimeRange, dx as TimeRanges, dy as TimeSlot, dz as TrackCategoryViewOptions, dA as TrackProductViewOptions, dB as UpdateAddressInput, dC as UpdateOrderStatusInput, dD as UpdateProfileInput, dE as UploadInitResponse, dF as UploadResult, dG as UploadService, dH as VerifyOtpInput, dI as combine, dJ as combineObject, dK as createCimplifyClient, dL as createElements, dM as err, dN as flatMap, dO as fromPromise, dP as getOrElse, dQ as isErr, dR as isOk, dS as mapError, dT as mapResult, dU as ok, dV as toNullable, dW as tryCatch, dX as unwrap } from './client-Bx4NRdl8.mjs';
1
+ import { X as ChatReplyCard } from './client-BwRAAk4y.mjs';
2
+ 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 BusinessWithLocations, F as CHECKOUT_MODE, G as CHECKOUT_MUTATION, H as CHECKOUT_STEP, I as CONTACT_TYPE, J as CacheOptions, K as CancelBookingInput, L as CancelBookingResult, M as CancelOrderInput, N as CancellationPolicy, O as CartOperations, P as CatalogueQueries, Q as CatalogueResult, R as CatalogueSnapshot, S as CategoryInfo, T as ChatAttachment, U as ChatConversation, V as ChatConversationResponse, W as ChatMessage, Y as ChatReplyContext, Z as ChatUploadAttachment, _ as ChatWidgetStarter, $ as CheckSlotAvailabilityInput, a0 as CheckSlotAvailabilityResult, a1 as CheckoutAddressInfo, a2 as CheckoutCartData, a3 as CheckoutCartItem, a4 as CheckoutCustomerInfo, a5 as CheckoutFormData, a6 as CheckoutInput, a7 as CheckoutMode, ab as CheckoutOperations, a8 as CheckoutOrderType, a9 as CheckoutPaymentMethod, aa as CheckoutResult, ab as CheckoutService, ac as CheckoutStatus, ad as CheckoutStatusContext, ae as CheckoutStep, af as CimplifyClient, ag as CimplifyConfig, ah as CimplifyElement, ai as CimplifyElements, aj as ClaimConversationResult, ak as ContactType, al as ContentType, am as CreateAddressInput, an as CreateMobileMoneyInput, ao as Customer, ap as CustomerAddress, aq as CustomerBooking, ar as CustomerBookingServiceItem, as as CustomerLinkPreferences, at as CustomerMobileMoney, au as CustomerServicePreferences, av as DEFAULT_COUNTRY, aw as DEFAULT_CURRENCY, ax as DEVICE_TYPE, ay as DayAvailability, az as DeliveryFeeDetails, aA as DeliveryFeeResponse, aB as DeliveryOption, aC as DeliveryOptionsQuery, aD as DeliveryOptionsResponse, aE as DeliveryService, aF as DepositResult, aG as DeviceType, aH as DismissMessageResponse, aI as ELEMENTS_AUTH_CONTACT_TYPES, aJ as ELEMENTS_AUTH_MODES, aK as ELEMENTS_AUTH_PROMPTS, aL as ELEMENT_TYPES, aM as EVENT_TYPES, aN as ElementAppearance, aO as ElementEventHandler, aP as ElementEventType, aQ as ElementOptions, aR as ElementType, aS as ElementsAuthContactType, aT as ElementsAuthMode, aU as ElementsAuthOptions, aV as ElementsAuthPrompt, aW as ElementsCheckoutData, aX as ElementsCheckoutResult, aY as ElementsCustomerInfo, aZ as ElementsOptions, a_ as EnrichedOrder, a$ as EnrichedOrderItem, b0 as EnrollAndLinkOrderInput, b1 as EnrollAndLinkOrderResult, b2 as EnrollmentData, b3 as Err, b4 as FeeBearerType, b5 as FetchQuoteInput, b6 as FulfillmentLink, b7 as FulfillmentStatus, b8 as FulfillmentSummaryDTO, b9 as FulfillmentType, ba as FxQuote, bb as FxQuoteRequest, bc as FxQuoteStatus, bd as FxRateResponse, be as FxService, bf as GetAvailableSlotsInput, bg as GetDeliveryOptionsParams, bh as GetOrdersOptions, bi as GetProductsOptions, bj as GroupOrderInfo, bk as IframeToParentMessage, bl as InventoryService, bm as LINK_MUTATION, bn as LINK_QUERY, bo as LifecyclePhase, bp as LineItem, bq as LineType, br as LinkData, bs as LinkEnrollResult, bt as LinkService, bu as LinkSession, bv as LinkStatusResult, bw as LiteBootstrap, bx as LiteDayHours, by as LiteHoursRange, bz as LiteService, bA as Location, bB as LocationBooking, bC as LocationTaxBehavior, bD as LocationTaxOverrides, bE as LocationTimeProfile, bF as LocationWithDetails, bG as MESSAGE_TYPES, bH as MOBILE_MONEY_PROVIDER, bI as MobileMoneyData, bJ as MobileMoneyDetails, bK as MobileMoneyProvider, bL as NextAction, bM as ORDER_MUTATION, bN as ORDER_TYPE, bO as ObservabilityHooks, bP as Ok, bQ as Order, bR as OrderCustomerInfo, bS as OrderDiscountInfo, bT as OrderFilter, bU as OrderFulfillmentSummary, bV as OrderGroup, bW as OrderGroupDetails, bX as OrderGroupPayment, bY as OrderGroupPaymentState, bZ as OrderGroupPaymentStatus, b_ as OrderGroupPaymentSummary, b$ as OrderGroupStatus, c0 as OrderHistory, c1 as OrderLineState, c2 as OrderLineStatus, c3 as OrderLocationInfo, c4 as OrderPaymentEvent, c5 as OrderPricingView, c6 as OrderQueries, c7 as OrderSplitDetail, c8 as OrderStaffInfo, c9 as OrderStatus, ca as OrderTimestampsDTO, cb as OrderType, cc as Origin, cd as OriginActor, ce as OriginChannel, cf as OtpResult, cg as PAYMENT_METHOD, ch as PAYMENT_MUTATION, ci as PAYMENT_STATE, cj as PICKUP_TIME_TYPE, ck as ParentToIframeMessage, cl as PaymentInfoDTO, cm as PaymentMethodInfo, cn as PaymentState, co as PickupTime, cp as PickupTimeType, cq as PlaceDetailsResponse, cr as PlacesService, cs as PriceQuote, ct as PricingOverrides, cu as ProcessAndResolveOptions, cv as ProcessCheckoutOptions, cw as ProcessCheckoutResult, cx as ProviderResolutionSource, cy as QuoteBundleSelectionInput, cz as QuoteCompositeSelectionInput, cA as QuoteDynamicBuckets, cB as QuoteStatus, cC as QuoteUiMessage, cD as ReadRequestOptions, cE as RefreshQuoteInput, cF as RefreshQuoteResult, cG as RefundOrderInput, cH as RelatedCandidate, cI as RelatedProduct, cJ as RelatedProductsEnrichment, cK as RelationType, cL as ReminderMethod, cM as ReminderSettings, cN as ReorderResult, cO as RequestContext, cP as RequestErrorEvent, cQ as RequestOptions, cR as RequestOtpInput, cS as RequestSource, cT as RequestStartEvent, cU as RequestSuccessEvent, cV as RescheduleBookingInput, cW as RescheduleBookingResult, cX as RescheduleHistoryRecord, cY as ResourceAssignment, cZ as ResourceInfo, c_ as Result, c$ as RetryEvent, d0 as RevokeAllSessionsResult, d1 as RevokeSessionResult, d2 as Room, d3 as SchedulingMetadata, d4 as SchedulingResult, d5 as SchedulingService, d6 as SenderType, d7 as Service, d8 as ServiceAvailabilityParams, d9 as ServiceAvailabilityResult, da as ServiceCharge, db as ServiceNotes, dc as ServiceScheduleRequest, dd as ServiceStatus, de as SessionActivityData, df as SessionChangeEvent, dg as SessionMessage, dh as SlotResourceInfo, di as SlotStaffInfo, dj as Staff, dk as StaffAssignment, dl as StaffRole, dm as StaffScheduleItem, dn as StockLevel, dp as StockStatus, dq as StoreCreditBalance, dr as StoreCreditQueries, ds as StorefrontBootstrap, dt as SubscriptionService, du as SupportService, dv as Table, dw as TimeRange, dx as TimeRanges, dy as TimeSlot, dz as TrackCategoryViewOptions, dA as TrackProductViewOptions, dB as UpdateAddressInput, dC as UpdateOrderStatusInput, dD as UpdateProfileInput, dE as UploadInitResponse, dF as UploadResult, dG as UploadService, dH as VerifyOtpInput, dI as combine, dJ as combineObject, dK as createCimplifyClient, dL as createElements, dM as err, dN as flatMap, dO as fromPromise, dP as getOrElse, dQ as isErr, dR as isOk, dS as mapError, dT as mapResult, dU as ok, dV as toNullable, dW as tryCatch, dX as unwrap } from './client-BwRAAk4y.mjs';
3
3
  import { bb as ProductWithDetails, aZ as Product, av as DurationUnit, j as ApiError } from './product-CeV8euw4.mjs';
4
4
  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 BOUNDARY_KIND, p as BenefitType, q as BillingFrequency, r as BillingMarkupType, s as BillingPlanType, t as BoundaryKind, u as Bundle, v as BundleComponentData, w as BundleComponentInfo, x as BundleComponentVariantView, y as BundleComponentView, z as BundlePriceType, C as BundleProduct, D as BundleSelectionData, E as BundleSelectionInput, F as BundleStoredSelection, G as BundleSummary, H as BundleWithDetails, I as Cart, J as CartAddOn, K as CartChannel, L as CartItem, M as CartItemDetails, N as CartMutationResult, O as CartNotice, P as CartStatus, Q as CartSummary, R as CartTotals, S as Category, T as CategorySummary, U as ChosenPrice, V as CimplifyError, W as Collection, X as CollectionProduct, Y as CollectionSummary, Z as ComponentGroup, _ as ComponentGroupWithComponents, $ as ComponentPriceBreakdown, a0 as ComponentSchedulingData, a1 as ComponentSelectionInput, a2 as ComponentSourceType, a3 as Composite, a4 as CompositeComponent, a5 as CompositeComponentView, a6 as CompositeGroupView, a7 as CompositePriceBreakdown, a8 as CompositePriceResult, a9 as CompositePricingMode, aa as CompositeSelectionData, a1 as CompositeSelectionInput, ab as CompositeStoredSelection, ac as CompositeWithDetails, ad as CurrencyCode, ae as CustomAttributeDefinition, af as CustomAttributeValue, ag as CustomerInputValue, ah as DURATION_UNIT, ai as DateRangeValue, aj as Deal, ak as DealBenefitType, al as DepositType, am as DigitalProductType, an as DiscountBreakdown, ao as DiscountDetails, ap as DiscountValidation, aq as DisplayAddOn, ar as DisplayAddOnOption, as as DisplayCart, at as DisplayCartItem, au as DisplayMode, aw as ERROR_HINTS, ax as EligiblePlansQuery, ay as ErrorCode, az as ErrorCodeType, aA as ErrorHint, aB as FacetValue, aC as FormattedPlanOption, aD as GroupPricingBehavior, aE as INPUT_FIELD_TYPE, aF as IdempotencyMismatchError, aG as InputFieldType, aH as InputFieldValidation, aI as InventoryType, aJ as KnowledgeArticle, aK as LineConfiguration, aL as LocationProductPrice, aM as LocationValue, aN as MeasurementValue, aO as Money, aP as PRODUCT_TYPE, aQ as Pagination, aR as PaginationParams, aS as PhoneValue, aT as Price, aU as PriceAdjustment, aV as PriceDecisionPath, aW as PriceEntryType, aX as PricePathTaxInfo, aY as PriceSource, a_ as ProductAddOn, a$ as ProductAvailability, b0 as ProductAvailabilityNow, b1 as ProductBillingPlan, b2 as ProductDealInfo, b3 as ProductInputField, b4 as ProductProperty, b5 as ProductRenderHint, b6 as ProductTaxonomy, b7 as ProductTimeProfile, b8 as ProductType, b9 as ProductVariant, ba as ProductVariantValue, bc as PropertyFacet, bd as PropertySource, be as QuantityPricingTier, bf as RENDER_HINT, bg as RelatedProductView, bh as SaleCapInfo, bi as SaleInfo, bj as SalesChannel, bk as SchedulingMode, bl as SelectedAddOnOption, bm as SemanticKind, bn as SignatureValue, bo as Subscription, bp as SubscriptionInvoice, bq as SubscriptionItem, br as SubscriptionStatus, bs as SubscriptionWithDetails, bt as Tag, bu as TagsResponse, bv as TaxPathComponent, bw as TaxonomyAttributeTemplate, bx as TaxonomyWithChildren, by as UICart, bz as UICartBusiness, bA as UICartCustomer, bB as UICartLocation, bC as UICartPricing, bD as UpcomingSale, bE as UpdateCartItemInput, bF as VariantAxis, bG as VariantAxisSelection, bH as VariantAxisValue, bI as VariantAxisValueView, bJ as VariantAxisView, bK as VariantAxisWithValues, bL as VariantDetails, bM as VariantDetailsDTO, bN as VariantDisplayAttribute, bO as VariantLocationAvailability, bP as VariantStrategy, bQ as VariantView, bR as ZERO, bT as currencyCode, bU as enrichError, bV as getErrorHint, bW as isCimplifyError, bX as isIdempotencyMismatchError, bY as isQuoteConflictRequiringConsent, bZ as isQuoteError, b_ as isRetryableError, b$ as isSupportedCurrency, c0 as money, c1 as moneyFromNumber } from './product-CeV8euw4.mjs';
5
5
  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-D-LUYk1Y.mjs';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { X as ChatReplyCard } from './client-BWdeCgmo.js';
2
- 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 BusinessWithLocations, F as CHECKOUT_MODE, G as CHECKOUT_MUTATION, H as CHECKOUT_STEP, I as CONTACT_TYPE, J as CacheOptions, K as CancelBookingInput, L as CancelBookingResult, M as CancelOrderInput, N as CancellationPolicy, O as CartOperations, P as CatalogueQueries, Q as CatalogueResult, R as CatalogueSnapshot, S as CategoryInfo, T as ChatAttachment, U as ChatConversation, V as ChatConversationResponse, W as ChatMessage, Y as ChatReplyContext, Z as ChatUploadAttachment, _ as ChatWidgetStarter, $ as CheckSlotAvailabilityInput, a0 as CheckSlotAvailabilityResult, a1 as CheckoutAddressInfo, a2 as CheckoutCartData, a3 as CheckoutCartItem, a4 as CheckoutCustomerInfo, a5 as CheckoutFormData, a6 as CheckoutInput, a7 as CheckoutMode, ab as CheckoutOperations, a8 as CheckoutOrderType, a9 as CheckoutPaymentMethod, aa as CheckoutResult, ab as CheckoutService, ac as CheckoutStatus, ad as CheckoutStatusContext, ae as CheckoutStep, af as CimplifyClient, ag as CimplifyConfig, ah as CimplifyElement, ai as CimplifyElements, aj as ClaimConversationResult, ak as ContactType, al as ContentType, am as CreateAddressInput, an as CreateMobileMoneyInput, ao as Customer, ap as CustomerAddress, aq as CustomerBooking, ar as CustomerBookingServiceItem, as as CustomerLinkPreferences, at as CustomerMobileMoney, au as CustomerServicePreferences, av as DEFAULT_COUNTRY, aw as DEFAULT_CURRENCY, ax as DEVICE_TYPE, ay as DayAvailability, az as DeliveryFeeDetails, aA as DeliveryFeeResponse, aB as DeliveryOption, aC as DeliveryOptionsQuery, aD as DeliveryOptionsResponse, aE as DeliveryService, aF as DepositResult, aG as DeviceType, aH as DismissMessageResponse, aI as ELEMENTS_AUTH_CONTACT_TYPES, aJ as ELEMENTS_AUTH_MODES, aK as ELEMENTS_AUTH_PROMPTS, aL as ELEMENT_TYPES, aM as EVENT_TYPES, aN as ElementAppearance, aO as ElementEventHandler, aP as ElementEventType, aQ as ElementOptions, aR as ElementType, aS as ElementsAuthContactType, aT as ElementsAuthMode, aU as ElementsAuthOptions, aV as ElementsAuthPrompt, aW as ElementsCheckoutData, aX as ElementsCheckoutResult, aY as ElementsCustomerInfo, aZ as ElementsOptions, a_ as EnrichedOrder, a$ as EnrichedOrderItem, b0 as EnrollAndLinkOrderInput, b1 as EnrollAndLinkOrderResult, b2 as EnrollmentData, b3 as Err, b4 as FeeBearerType, b5 as FetchQuoteInput, b6 as FulfillmentLink, b7 as FulfillmentStatus, b8 as FulfillmentSummaryDTO, b9 as FulfillmentType, ba as FxQuote, bb as FxQuoteRequest, bc as FxQuoteStatus, bd as FxRateResponse, be as FxService, bf as GetAvailableSlotsInput, bg as GetDeliveryOptionsParams, bh as GetOrdersOptions, bi as GetProductsOptions, bj as GroupOrderInfo, bk as IframeToParentMessage, bl as InventoryService, bm as LINK_MUTATION, bn as LINK_QUERY, bo as LifecyclePhase, bp as LineItem, bq as LineType, br as LinkData, bs as LinkEnrollResult, bt as LinkService, bu as LinkSession, bv as LinkStatusResult, bw as LiteBootstrap, bx as LiteDayHours, by as LiteHoursRange, bz as LiteService, bA as Location, bB as LocationBooking, bC as LocationTaxBehavior, bD as LocationTaxOverrides, bE as LocationTimeProfile, bF as LocationWithDetails, bG as MESSAGE_TYPES, bH as MOBILE_MONEY_PROVIDER, bI as MobileMoneyData, bJ as MobileMoneyDetails, bK as MobileMoneyProvider, bL as NextAction, bM as ORDER_MUTATION, bN as ORDER_TYPE, bO as ObservabilityHooks, bP as Ok, bQ as Order, bR as OrderCustomerInfo, bS as OrderDiscountInfo, bT as OrderFilter, bU as OrderFulfillmentSummary, bV as OrderGroup, bW as OrderGroupDetails, bX as OrderGroupPayment, bY as OrderGroupPaymentState, bZ as OrderGroupPaymentStatus, b_ as OrderGroupPaymentSummary, b$ as OrderGroupStatus, c0 as OrderHistory, c1 as OrderLineState, c2 as OrderLineStatus, c3 as OrderLocationInfo, c4 as OrderPaymentEvent, c5 as OrderPricingView, c6 as OrderQueries, c7 as OrderSplitDetail, c8 as OrderStaffInfo, c9 as OrderStatus, ca as OrderTimestampsDTO, cb as OrderType, cc as Origin, cd as OriginActor, ce as OriginChannel, cf as OtpResult, cg as PAYMENT_METHOD, ch as PAYMENT_MUTATION, ci as PAYMENT_STATE, cj as PICKUP_TIME_TYPE, ck as ParentToIframeMessage, cl as PaymentInfoDTO, cm as PaymentMethodInfo, cn as PaymentState, co as PickupTime, cp as PickupTimeType, cq as PlaceDetailsResponse, cr as PlacesService, cs as PriceQuote, ct as PricingOverrides, cu as ProcessAndResolveOptions, cv as ProcessCheckoutOptions, cw as ProcessCheckoutResult, cx as ProviderResolutionSource, cy as QuoteBundleSelectionInput, cz as QuoteCompositeSelectionInput, cA as QuoteDynamicBuckets, cB as QuoteStatus, cC as QuoteUiMessage, cD as ReadRequestOptions, cE as RefreshQuoteInput, cF as RefreshQuoteResult, cG as RefundOrderInput, cH as RelatedCandidate, cI as RelatedProduct, cJ as RelatedProductsEnrichment, cK as RelationType, cL as ReminderMethod, cM as ReminderSettings, cN as ReorderResult, cO as RequestContext, cP as RequestErrorEvent, cQ as RequestOptions, cR as RequestOtpInput, cS as RequestSource, cT as RequestStartEvent, cU as RequestSuccessEvent, cV as RescheduleBookingInput, cW as RescheduleBookingResult, cX as RescheduleHistoryRecord, cY as ResourceAssignment, cZ as ResourceInfo, c_ as Result, c$ as RetryEvent, d0 as RevokeAllSessionsResult, d1 as RevokeSessionResult, d2 as Room, d3 as SchedulingMetadata, d4 as SchedulingResult, d5 as SchedulingService, d6 as SenderType, d7 as Service, d8 as ServiceAvailabilityParams, d9 as ServiceAvailabilityResult, da as ServiceCharge, db as ServiceNotes, dc as ServiceScheduleRequest, dd as ServiceStatus, de as SessionActivityData, df as SessionChangeEvent, dg as SessionMessage, dh as SlotResourceInfo, di as SlotStaffInfo, dj as Staff, dk as StaffAssignment, dl as StaffRole, dm as StaffScheduleItem, dn as StockLevel, dp as StockStatus, dq as StoreCreditBalance, dr as StoreCreditQueries, ds as StorefrontBootstrap, dt as SubscriptionService, du as SupportService, dv as Table, dw as TimeRange, dx as TimeRanges, dy as TimeSlot, dz as TrackCategoryViewOptions, dA as TrackProductViewOptions, dB as UpdateAddressInput, dC as UpdateOrderStatusInput, dD as UpdateProfileInput, dE as UploadInitResponse, dF as UploadResult, dG as UploadService, dH as VerifyOtpInput, dI as combine, dJ as combineObject, dK as createCimplifyClient, dL as createElements, dM as err, dN as flatMap, dO as fromPromise, dP as getOrElse, dQ as isErr, dR as isOk, dS as mapError, dT as mapResult, dU as ok, dV as toNullable, dW as tryCatch, dX as unwrap } from './client-BWdeCgmo.js';
1
+ import { X as ChatReplyCard } from './client-CrPglBBz.js';
2
+ 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 BusinessWithLocations, F as CHECKOUT_MODE, G as CHECKOUT_MUTATION, H as CHECKOUT_STEP, I as CONTACT_TYPE, J as CacheOptions, K as CancelBookingInput, L as CancelBookingResult, M as CancelOrderInput, N as CancellationPolicy, O as CartOperations, P as CatalogueQueries, Q as CatalogueResult, R as CatalogueSnapshot, S as CategoryInfo, T as ChatAttachment, U as ChatConversation, V as ChatConversationResponse, W as ChatMessage, Y as ChatReplyContext, Z as ChatUploadAttachment, _ as ChatWidgetStarter, $ as CheckSlotAvailabilityInput, a0 as CheckSlotAvailabilityResult, a1 as CheckoutAddressInfo, a2 as CheckoutCartData, a3 as CheckoutCartItem, a4 as CheckoutCustomerInfo, a5 as CheckoutFormData, a6 as CheckoutInput, a7 as CheckoutMode, ab as CheckoutOperations, a8 as CheckoutOrderType, a9 as CheckoutPaymentMethod, aa as CheckoutResult, ab as CheckoutService, ac as CheckoutStatus, ad as CheckoutStatusContext, ae as CheckoutStep, af as CimplifyClient, ag as CimplifyConfig, ah as CimplifyElement, ai as CimplifyElements, aj as ClaimConversationResult, ak as ContactType, al as ContentType, am as CreateAddressInput, an as CreateMobileMoneyInput, ao as Customer, ap as CustomerAddress, aq as CustomerBooking, ar as CustomerBookingServiceItem, as as CustomerLinkPreferences, at as CustomerMobileMoney, au as CustomerServicePreferences, av as DEFAULT_COUNTRY, aw as DEFAULT_CURRENCY, ax as DEVICE_TYPE, ay as DayAvailability, az as DeliveryFeeDetails, aA as DeliveryFeeResponse, aB as DeliveryOption, aC as DeliveryOptionsQuery, aD as DeliveryOptionsResponse, aE as DeliveryService, aF as DepositResult, aG as DeviceType, aH as DismissMessageResponse, aI as ELEMENTS_AUTH_CONTACT_TYPES, aJ as ELEMENTS_AUTH_MODES, aK as ELEMENTS_AUTH_PROMPTS, aL as ELEMENT_TYPES, aM as EVENT_TYPES, aN as ElementAppearance, aO as ElementEventHandler, aP as ElementEventType, aQ as ElementOptions, aR as ElementType, aS as ElementsAuthContactType, aT as ElementsAuthMode, aU as ElementsAuthOptions, aV as ElementsAuthPrompt, aW as ElementsCheckoutData, aX as ElementsCheckoutResult, aY as ElementsCustomerInfo, aZ as ElementsOptions, a_ as EnrichedOrder, a$ as EnrichedOrderItem, b0 as EnrollAndLinkOrderInput, b1 as EnrollAndLinkOrderResult, b2 as EnrollmentData, b3 as Err, b4 as FeeBearerType, b5 as FetchQuoteInput, b6 as FulfillmentLink, b7 as FulfillmentStatus, b8 as FulfillmentSummaryDTO, b9 as FulfillmentType, ba as FxQuote, bb as FxQuoteRequest, bc as FxQuoteStatus, bd as FxRateResponse, be as FxService, bf as GetAvailableSlotsInput, bg as GetDeliveryOptionsParams, bh as GetOrdersOptions, bi as GetProductsOptions, bj as GroupOrderInfo, bk as IframeToParentMessage, bl as InventoryService, bm as LINK_MUTATION, bn as LINK_QUERY, bo as LifecyclePhase, bp as LineItem, bq as LineType, br as LinkData, bs as LinkEnrollResult, bt as LinkService, bu as LinkSession, bv as LinkStatusResult, bw as LiteBootstrap, bx as LiteDayHours, by as LiteHoursRange, bz as LiteService, bA as Location, bB as LocationBooking, bC as LocationTaxBehavior, bD as LocationTaxOverrides, bE as LocationTimeProfile, bF as LocationWithDetails, bG as MESSAGE_TYPES, bH as MOBILE_MONEY_PROVIDER, bI as MobileMoneyData, bJ as MobileMoneyDetails, bK as MobileMoneyProvider, bL as NextAction, bM as ORDER_MUTATION, bN as ORDER_TYPE, bO as ObservabilityHooks, bP as Ok, bQ as Order, bR as OrderCustomerInfo, bS as OrderDiscountInfo, bT as OrderFilter, bU as OrderFulfillmentSummary, bV as OrderGroup, bW as OrderGroupDetails, bX as OrderGroupPayment, bY as OrderGroupPaymentState, bZ as OrderGroupPaymentStatus, b_ as OrderGroupPaymentSummary, b$ as OrderGroupStatus, c0 as OrderHistory, c1 as OrderLineState, c2 as OrderLineStatus, c3 as OrderLocationInfo, c4 as OrderPaymentEvent, c5 as OrderPricingView, c6 as OrderQueries, c7 as OrderSplitDetail, c8 as OrderStaffInfo, c9 as OrderStatus, ca as OrderTimestampsDTO, cb as OrderType, cc as Origin, cd as OriginActor, ce as OriginChannel, cf as OtpResult, cg as PAYMENT_METHOD, ch as PAYMENT_MUTATION, ci as PAYMENT_STATE, cj as PICKUP_TIME_TYPE, ck as ParentToIframeMessage, cl as PaymentInfoDTO, cm as PaymentMethodInfo, cn as PaymentState, co as PickupTime, cp as PickupTimeType, cq as PlaceDetailsResponse, cr as PlacesService, cs as PriceQuote, ct as PricingOverrides, cu as ProcessAndResolveOptions, cv as ProcessCheckoutOptions, cw as ProcessCheckoutResult, cx as ProviderResolutionSource, cy as QuoteBundleSelectionInput, cz as QuoteCompositeSelectionInput, cA as QuoteDynamicBuckets, cB as QuoteStatus, cC as QuoteUiMessage, cD as ReadRequestOptions, cE as RefreshQuoteInput, cF as RefreshQuoteResult, cG as RefundOrderInput, cH as RelatedCandidate, cI as RelatedProduct, cJ as RelatedProductsEnrichment, cK as RelationType, cL as ReminderMethod, cM as ReminderSettings, cN as ReorderResult, cO as RequestContext, cP as RequestErrorEvent, cQ as RequestOptions, cR as RequestOtpInput, cS as RequestSource, cT as RequestStartEvent, cU as RequestSuccessEvent, cV as RescheduleBookingInput, cW as RescheduleBookingResult, cX as RescheduleHistoryRecord, cY as ResourceAssignment, cZ as ResourceInfo, c_ as Result, c$ as RetryEvent, d0 as RevokeAllSessionsResult, d1 as RevokeSessionResult, d2 as Room, d3 as SchedulingMetadata, d4 as SchedulingResult, d5 as SchedulingService, d6 as SenderType, d7 as Service, d8 as ServiceAvailabilityParams, d9 as ServiceAvailabilityResult, da as ServiceCharge, db as ServiceNotes, dc as ServiceScheduleRequest, dd as ServiceStatus, de as SessionActivityData, df as SessionChangeEvent, dg as SessionMessage, dh as SlotResourceInfo, di as SlotStaffInfo, dj as Staff, dk as StaffAssignment, dl as StaffRole, dm as StaffScheduleItem, dn as StockLevel, dp as StockStatus, dq as StoreCreditBalance, dr as StoreCreditQueries, ds as StorefrontBootstrap, dt as SubscriptionService, du as SupportService, dv as Table, dw as TimeRange, dx as TimeRanges, dy as TimeSlot, dz as TrackCategoryViewOptions, dA as TrackProductViewOptions, dB as UpdateAddressInput, dC as UpdateOrderStatusInput, dD as UpdateProfileInput, dE as UploadInitResponse, dF as UploadResult, dG as UploadService, dH as VerifyOtpInput, dI as combine, dJ as combineObject, dK as createCimplifyClient, dL as createElements, dM as err, dN as flatMap, dO as fromPromise, dP as getOrElse, dQ as isErr, dR as isOk, dS as mapError, dT as mapResult, dU as ok, dV as toNullable, dW as tryCatch, dX as unwrap } from './client-CrPglBBz.js';
3
3
  import { bb as ProductWithDetails, aZ as Product, av as DurationUnit, j as ApiError } from './product-CeV8euw4.js';
4
4
  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 BOUNDARY_KIND, p as BenefitType, q as BillingFrequency, r as BillingMarkupType, s as BillingPlanType, t as BoundaryKind, u as Bundle, v as BundleComponentData, w as BundleComponentInfo, x as BundleComponentVariantView, y as BundleComponentView, z as BundlePriceType, C as BundleProduct, D as BundleSelectionData, E as BundleSelectionInput, F as BundleStoredSelection, G as BundleSummary, H as BundleWithDetails, I as Cart, J as CartAddOn, K as CartChannel, L as CartItem, M as CartItemDetails, N as CartMutationResult, O as CartNotice, P as CartStatus, Q as CartSummary, R as CartTotals, S as Category, T as CategorySummary, U as ChosenPrice, V as CimplifyError, W as Collection, X as CollectionProduct, Y as CollectionSummary, Z as ComponentGroup, _ as ComponentGroupWithComponents, $ as ComponentPriceBreakdown, a0 as ComponentSchedulingData, a1 as ComponentSelectionInput, a2 as ComponentSourceType, a3 as Composite, a4 as CompositeComponent, a5 as CompositeComponentView, a6 as CompositeGroupView, a7 as CompositePriceBreakdown, a8 as CompositePriceResult, a9 as CompositePricingMode, aa as CompositeSelectionData, a1 as CompositeSelectionInput, ab as CompositeStoredSelection, ac as CompositeWithDetails, ad as CurrencyCode, ae as CustomAttributeDefinition, af as CustomAttributeValue, ag as CustomerInputValue, ah as DURATION_UNIT, ai as DateRangeValue, aj as Deal, ak as DealBenefitType, al as DepositType, am as DigitalProductType, an as DiscountBreakdown, ao as DiscountDetails, ap as DiscountValidation, aq as DisplayAddOn, ar as DisplayAddOnOption, as as DisplayCart, at as DisplayCartItem, au as DisplayMode, aw as ERROR_HINTS, ax as EligiblePlansQuery, ay as ErrorCode, az as ErrorCodeType, aA as ErrorHint, aB as FacetValue, aC as FormattedPlanOption, aD as GroupPricingBehavior, aE as INPUT_FIELD_TYPE, aF as IdempotencyMismatchError, aG as InputFieldType, aH as InputFieldValidation, aI as InventoryType, aJ as KnowledgeArticle, aK as LineConfiguration, aL as LocationProductPrice, aM as LocationValue, aN as MeasurementValue, aO as Money, aP as PRODUCT_TYPE, aQ as Pagination, aR as PaginationParams, aS as PhoneValue, aT as Price, aU as PriceAdjustment, aV as PriceDecisionPath, aW as PriceEntryType, aX as PricePathTaxInfo, aY as PriceSource, a_ as ProductAddOn, a$ as ProductAvailability, b0 as ProductAvailabilityNow, b1 as ProductBillingPlan, b2 as ProductDealInfo, b3 as ProductInputField, b4 as ProductProperty, b5 as ProductRenderHint, b6 as ProductTaxonomy, b7 as ProductTimeProfile, b8 as ProductType, b9 as ProductVariant, ba as ProductVariantValue, bc as PropertyFacet, bd as PropertySource, be as QuantityPricingTier, bf as RENDER_HINT, bg as RelatedProductView, bh as SaleCapInfo, bi as SaleInfo, bj as SalesChannel, bk as SchedulingMode, bl as SelectedAddOnOption, bm as SemanticKind, bn as SignatureValue, bo as Subscription, bp as SubscriptionInvoice, bq as SubscriptionItem, br as SubscriptionStatus, bs as SubscriptionWithDetails, bt as Tag, bu as TagsResponse, bv as TaxPathComponent, bw as TaxonomyAttributeTemplate, bx as TaxonomyWithChildren, by as UICart, bz as UICartBusiness, bA as UICartCustomer, bB as UICartLocation, bC as UICartPricing, bD as UpcomingSale, bE as UpdateCartItemInput, bF as VariantAxis, bG as VariantAxisSelection, bH as VariantAxisValue, bI as VariantAxisValueView, bJ as VariantAxisView, bK as VariantAxisWithValues, bL as VariantDetails, bM as VariantDetailsDTO, bN as VariantDisplayAttribute, bO as VariantLocationAvailability, bP as VariantStrategy, bQ as VariantView, bR as ZERO, bT as currencyCode, bU as enrichError, bV as getErrorHint, bW as isCimplifyError, bX as isIdempotencyMismatchError, bY as isQuoteConflictRequiringConsent, bZ as isQuoteError, b_ as isRetryableError, b$ as isSupportedCurrency, c0 as money, c1 as moneyFromNumber } from './product-CeV8euw4.js';
5
5
  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-B_RYmvlF.js';
package/dist/index.js CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  var chunkQPRI2NII_js = require('./chunk-QPRI2NII.js');
4
4
  var chunkL5GKVQVJ_js = require('./chunk-L5GKVQVJ.js');
5
- var chunkCNY2XFN4_js = require('./chunk-CNY2XFN4.js');
6
- var chunkFWKSBF3F_js = require('./chunk-FWKSBF3F.js');
5
+ var chunkJEVCHTKZ_js = require('./chunk-JEVCHTKZ.js');
6
+ var chunk3HU5I5VG_js = require('./chunk-3HU5I5VG.js');
7
7
  var chunkWMEC5JWN_js = require('./chunk-WMEC5JWN.js');
8
8
  var chunkNIOUSKQQ_js = require('./chunk-NIOUSKQQ.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 chunkFWKSBF3F_js.getAuthorizationEndpoint(opts.issuer ?? chunkFWKSBF3F_js.DEFAULT_ISSUER);
31
- const pkce = await chunkFWKSBF3F_js.generatePkce();
32
- const state = chunkFWKSBF3F_js.generateState();
30
+ const authorizeEndpoint = opts.authUrl ? `${opts.authUrl.replace(/\/$/, "")}/oauth/authorize` : await chunk3HU5I5VG_js.getAuthorizationEndpoint(opts.issuer ?? chunk3HU5I5VG_js.DEFAULT_ISSUER);
31
+ const pkce = await chunk3HU5I5VG_js.generatePkce();
32
+ const state = chunk3HU5I5VG_js.generateState();
33
33
  const params = new URLSearchParams({
34
34
  response_type: RESPONSE_TYPE_CODE,
35
35
  response_mode: RESPONSE_MODE_WEB_MESSAGE,
@@ -183,259 +183,259 @@ Object.defineProperty(exports, "resolvePhoneCountryCode", {
183
183
  });
184
184
  Object.defineProperty(exports, "ActivityService", {
185
185
  enumerable: true,
186
- get: function () { return chunkCNY2XFN4_js.ActivityService; }
186
+ get: function () { return chunkJEVCHTKZ_js.ActivityService; }
187
187
  });
188
188
  Object.defineProperty(exports, "CimplifyClient", {
189
189
  enumerable: true,
190
- get: function () { return chunkCNY2XFN4_js.CimplifyClient; }
190
+ get: function () { return chunkJEVCHTKZ_js.CimplifyClient; }
191
191
  });
192
192
  Object.defineProperty(exports, "DeliveryService", {
193
193
  enumerable: true,
194
- get: function () { return chunkCNY2XFN4_js.DeliveryService; }
194
+ get: function () { return chunkJEVCHTKZ_js.DeliveryService; }
195
195
  });
196
196
  Object.defineProperty(exports, "PlacesService", {
197
197
  enumerable: true,
198
- get: function () { return chunkCNY2XFN4_js.PlacesService; }
198
+ get: function () { return chunkJEVCHTKZ_js.PlacesService; }
199
199
  });
200
200
  Object.defineProperty(exports, "StoreCreditQueries", {
201
201
  enumerable: true,
202
- get: function () { return chunkCNY2XFN4_js.StoreCreditQueries; }
202
+ get: function () { return chunkJEVCHTKZ_js.StoreCreditQueries; }
203
203
  });
204
204
  Object.defineProperty(exports, "SubscriptionService", {
205
205
  enumerable: true,
206
- get: function () { return chunkCNY2XFN4_js.SubscriptionService; }
206
+ get: function () { return chunkJEVCHTKZ_js.SubscriptionService; }
207
207
  });
208
208
  Object.defineProperty(exports, "SupportService", {
209
209
  enumerable: true,
210
- get: function () { return chunkCNY2XFN4_js.SupportService; }
210
+ get: function () { return chunkJEVCHTKZ_js.SupportService; }
211
211
  });
212
212
  Object.defineProperty(exports, "UploadService", {
213
213
  enumerable: true,
214
- get: function () { return chunkCNY2XFN4_js.UploadService; }
214
+ get: function () { return chunkJEVCHTKZ_js.UploadService; }
215
215
  });
216
216
  Object.defineProperty(exports, "createCimplifyClient", {
217
217
  enumerable: true,
218
- get: function () { return chunkCNY2XFN4_js.createCimplifyClient; }
218
+ get: function () { return chunkJEVCHTKZ_js.createCimplifyClient; }
219
219
  });
220
220
  Object.defineProperty(exports, "AUTHORIZATION_TYPE", {
221
221
  enumerable: true,
222
- get: function () { return chunkFWKSBF3F_js.AUTHORIZATION_TYPE; }
222
+ get: function () { return chunk3HU5I5VG_js.AUTHORIZATION_TYPE; }
223
223
  });
224
224
  Object.defineProperty(exports, "AUTH_MUTATION", {
225
225
  enumerable: true,
226
- get: function () { return chunkFWKSBF3F_js.AUTH_MUTATION; }
226
+ get: function () { return chunk3HU5I5VG_js.AUTH_MUTATION; }
227
227
  });
228
228
  Object.defineProperty(exports, "AuthService", {
229
229
  enumerable: true,
230
- get: function () { return chunkFWKSBF3F_js.AuthService; }
230
+ get: function () { return chunk3HU5I5VG_js.AuthService; }
231
231
  });
232
232
  Object.defineProperty(exports, "BusinessService", {
233
233
  enumerable: true,
234
- get: function () { return chunkFWKSBF3F_js.BusinessService; }
234
+ get: function () { return chunk3HU5I5VG_js.BusinessService; }
235
235
  });
236
236
  Object.defineProperty(exports, "CHECKOUT_MODE", {
237
237
  enumerable: true,
238
- get: function () { return chunkFWKSBF3F_js.CHECKOUT_MODE; }
238
+ get: function () { return chunk3HU5I5VG_js.CHECKOUT_MODE; }
239
239
  });
240
240
  Object.defineProperty(exports, "CHECKOUT_MUTATION", {
241
241
  enumerable: true,
242
- get: function () { return chunkFWKSBF3F_js.CHECKOUT_MUTATION; }
242
+ get: function () { return chunk3HU5I5VG_js.CHECKOUT_MUTATION; }
243
243
  });
244
244
  Object.defineProperty(exports, "CHECKOUT_STEP", {
245
245
  enumerable: true,
246
- get: function () { return chunkFWKSBF3F_js.CHECKOUT_STEP; }
246
+ get: function () { return chunk3HU5I5VG_js.CHECKOUT_STEP; }
247
247
  });
248
248
  Object.defineProperty(exports, "CONTACT_TYPE", {
249
249
  enumerable: true,
250
- get: function () { return chunkFWKSBF3F_js.CONTACT_TYPE; }
250
+ get: function () { return chunk3HU5I5VG_js.CONTACT_TYPE; }
251
251
  });
252
252
  Object.defineProperty(exports, "CartOperations", {
253
253
  enumerable: true,
254
- get: function () { return chunkFWKSBF3F_js.CartOperations; }
254
+ get: function () { return chunk3HU5I5VG_js.CartOperations; }
255
255
  });
256
256
  Object.defineProperty(exports, "CatalogueQueries", {
257
257
  enumerable: true,
258
- get: function () { return chunkFWKSBF3F_js.CatalogueQueries; }
258
+ get: function () { return chunk3HU5I5VG_js.CatalogueQueries; }
259
259
  });
260
260
  Object.defineProperty(exports, "CheckoutOperations", {
261
261
  enumerable: true,
262
- get: function () { return chunkFWKSBF3F_js.CheckoutService; }
262
+ get: function () { return chunk3HU5I5VG_js.CheckoutService; }
263
263
  });
264
264
  Object.defineProperty(exports, "CheckoutService", {
265
265
  enumerable: true,
266
- get: function () { return chunkFWKSBF3F_js.CheckoutService; }
266
+ get: function () { return chunk3HU5I5VG_js.CheckoutService; }
267
267
  });
268
268
  Object.defineProperty(exports, "CimplifyElement", {
269
269
  enumerable: true,
270
- get: function () { return chunkFWKSBF3F_js.CimplifyElement; }
270
+ get: function () { return chunk3HU5I5VG_js.CimplifyElement; }
271
271
  });
272
272
  Object.defineProperty(exports, "CimplifyElements", {
273
273
  enumerable: true,
274
- get: function () { return chunkFWKSBF3F_js.CimplifyElements; }
274
+ get: function () { return chunk3HU5I5VG_js.CimplifyElements; }
275
275
  });
276
276
  Object.defineProperty(exports, "DEFAULT_COUNTRY", {
277
277
  enumerable: true,
278
- get: function () { return chunkFWKSBF3F_js.DEFAULT_COUNTRY; }
278
+ get: function () { return chunk3HU5I5VG_js.DEFAULT_COUNTRY; }
279
279
  });
280
280
  Object.defineProperty(exports, "DEFAULT_CURRENCY", {
281
281
  enumerable: true,
282
- get: function () { return chunkFWKSBF3F_js.DEFAULT_CURRENCY; }
282
+ get: function () { return chunk3HU5I5VG_js.DEFAULT_CURRENCY; }
283
283
  });
284
284
  Object.defineProperty(exports, "DEVICE_TYPE", {
285
285
  enumerable: true,
286
- get: function () { return chunkFWKSBF3F_js.DEVICE_TYPE; }
286
+ get: function () { return chunk3HU5I5VG_js.DEVICE_TYPE; }
287
287
  });
288
288
  Object.defineProperty(exports, "ELEMENTS_AUTH_CONTACT_TYPES", {
289
289
  enumerable: true,
290
- get: function () { return chunkFWKSBF3F_js.ELEMENTS_AUTH_CONTACT_TYPES; }
290
+ get: function () { return chunk3HU5I5VG_js.ELEMENTS_AUTH_CONTACT_TYPES; }
291
291
  });
292
292
  Object.defineProperty(exports, "ELEMENTS_AUTH_MODES", {
293
293
  enumerable: true,
294
- get: function () { return chunkFWKSBF3F_js.ELEMENTS_AUTH_MODES; }
294
+ get: function () { return chunk3HU5I5VG_js.ELEMENTS_AUTH_MODES; }
295
295
  });
296
296
  Object.defineProperty(exports, "ELEMENTS_AUTH_PROMPTS", {
297
297
  enumerable: true,
298
- get: function () { return chunkFWKSBF3F_js.ELEMENTS_AUTH_PROMPTS; }
298
+ get: function () { return chunk3HU5I5VG_js.ELEMENTS_AUTH_PROMPTS; }
299
299
  });
300
300
  Object.defineProperty(exports, "ELEMENT_TYPES", {
301
301
  enumerable: true,
302
- get: function () { return chunkFWKSBF3F_js.ELEMENT_TYPES; }
302
+ get: function () { return chunk3HU5I5VG_js.ELEMENT_TYPES; }
303
303
  });
304
304
  Object.defineProperty(exports, "EVENT_TYPES", {
305
305
  enumerable: true,
306
- get: function () { return chunkFWKSBF3F_js.EVENT_TYPES; }
306
+ get: function () { return chunk3HU5I5VG_js.EVENT_TYPES; }
307
307
  });
308
308
  Object.defineProperty(exports, "FxService", {
309
309
  enumerable: true,
310
- get: function () { return chunkFWKSBF3F_js.FxService; }
310
+ get: function () { return chunk3HU5I5VG_js.FxService; }
311
311
  });
312
312
  Object.defineProperty(exports, "InventoryService", {
313
313
  enumerable: true,
314
- get: function () { return chunkFWKSBF3F_js.InventoryService; }
314
+ get: function () { return chunk3HU5I5VG_js.InventoryService; }
315
315
  });
316
316
  Object.defineProperty(exports, "LINK_MUTATION", {
317
317
  enumerable: true,
318
- get: function () { return chunkFWKSBF3F_js.LINK_MUTATION; }
318
+ get: function () { return chunk3HU5I5VG_js.LINK_MUTATION; }
319
319
  });
320
320
  Object.defineProperty(exports, "LINK_QUERY", {
321
321
  enumerable: true,
322
- get: function () { return chunkFWKSBF3F_js.LINK_QUERY; }
322
+ get: function () { return chunk3HU5I5VG_js.LINK_QUERY; }
323
323
  });
324
324
  Object.defineProperty(exports, "LinkService", {
325
325
  enumerable: true,
326
- get: function () { return chunkFWKSBF3F_js.LinkService; }
326
+ get: function () { return chunk3HU5I5VG_js.LinkService; }
327
327
  });
328
328
  Object.defineProperty(exports, "LiteService", {
329
329
  enumerable: true,
330
- get: function () { return chunkFWKSBF3F_js.LiteService; }
330
+ get: function () { return chunk3HU5I5VG_js.LiteService; }
331
331
  });
332
332
  Object.defineProperty(exports, "MESSAGE_TYPES", {
333
333
  enumerable: true,
334
- get: function () { return chunkFWKSBF3F_js.MESSAGE_TYPES; }
334
+ get: function () { return chunk3HU5I5VG_js.MESSAGE_TYPES; }
335
335
  });
336
336
  Object.defineProperty(exports, "MOBILE_MONEY_PROVIDER", {
337
337
  enumerable: true,
338
- get: function () { return chunkFWKSBF3F_js.MOBILE_MONEY_PROVIDER; }
338
+ get: function () { return chunk3HU5I5VG_js.MOBILE_MONEY_PROVIDER; }
339
339
  });
340
340
  Object.defineProperty(exports, "ORDER_MUTATION", {
341
341
  enumerable: true,
342
- get: function () { return chunkFWKSBF3F_js.ORDER_MUTATION; }
342
+ get: function () { return chunk3HU5I5VG_js.ORDER_MUTATION; }
343
343
  });
344
344
  Object.defineProperty(exports, "ORDER_TYPE", {
345
345
  enumerable: true,
346
- get: function () { return chunkFWKSBF3F_js.ORDER_TYPE; }
346
+ get: function () { return chunk3HU5I5VG_js.ORDER_TYPE; }
347
347
  });
348
348
  Object.defineProperty(exports, "OrderQueries", {
349
349
  enumerable: true,
350
- get: function () { return chunkFWKSBF3F_js.OrderQueries; }
350
+ get: function () { return chunk3HU5I5VG_js.OrderQueries; }
351
351
  });
352
352
  Object.defineProperty(exports, "PAYMENT_METHOD", {
353
353
  enumerable: true,
354
- get: function () { return chunkFWKSBF3F_js.PAYMENT_METHOD; }
354
+ get: function () { return chunk3HU5I5VG_js.PAYMENT_METHOD; }
355
355
  });
356
356
  Object.defineProperty(exports, "PAYMENT_MUTATION", {
357
357
  enumerable: true,
358
- get: function () { return chunkFWKSBF3F_js.PAYMENT_MUTATION; }
358
+ get: function () { return chunk3HU5I5VG_js.PAYMENT_MUTATION; }
359
359
  });
360
360
  Object.defineProperty(exports, "PAYMENT_STATE", {
361
361
  enumerable: true,
362
- get: function () { return chunkFWKSBF3F_js.PAYMENT_STATE; }
362
+ get: function () { return chunk3HU5I5VG_js.PAYMENT_STATE; }
363
363
  });
364
364
  Object.defineProperty(exports, "PICKUP_TIME_TYPE", {
365
365
  enumerable: true,
366
- get: function () { return chunkFWKSBF3F_js.PICKUP_TIME_TYPE; }
366
+ get: function () { return chunk3HU5I5VG_js.PICKUP_TIME_TYPE; }
367
367
  });
368
368
  Object.defineProperty(exports, "SchedulingService", {
369
369
  enumerable: true,
370
- get: function () { return chunkFWKSBF3F_js.SchedulingService; }
370
+ get: function () { return chunk3HU5I5VG_js.SchedulingService; }
371
371
  });
372
372
  Object.defineProperty(exports, "combine", {
373
373
  enumerable: true,
374
- get: function () { return chunkFWKSBF3F_js.combine; }
374
+ get: function () { return chunk3HU5I5VG_js.combine; }
375
375
  });
376
376
  Object.defineProperty(exports, "combineObject", {
377
377
  enumerable: true,
378
- get: function () { return chunkFWKSBF3F_js.combineObject; }
378
+ get: function () { return chunk3HU5I5VG_js.combineObject; }
379
379
  });
380
380
  Object.defineProperty(exports, "createElements", {
381
381
  enumerable: true,
382
- get: function () { return chunkFWKSBF3F_js.createElements; }
382
+ get: function () { return chunk3HU5I5VG_js.createElements; }
383
383
  });
384
384
  Object.defineProperty(exports, "err", {
385
385
  enumerable: true,
386
- get: function () { return chunkFWKSBF3F_js.err; }
386
+ get: function () { return chunk3HU5I5VG_js.err; }
387
387
  });
388
388
  Object.defineProperty(exports, "flatMap", {
389
389
  enumerable: true,
390
- get: function () { return chunkFWKSBF3F_js.flatMap; }
390
+ get: function () { return chunk3HU5I5VG_js.flatMap; }
391
391
  });
392
392
  Object.defineProperty(exports, "fromPromise", {
393
393
  enumerable: true,
394
- get: function () { return chunkFWKSBF3F_js.fromPromise; }
394
+ get: function () { return chunk3HU5I5VG_js.fromPromise; }
395
395
  });
396
396
  Object.defineProperty(exports, "generateIdempotencyKey", {
397
397
  enumerable: true,
398
- get: function () { return chunkFWKSBF3F_js.generateIdempotencyKey; }
398
+ get: function () { return chunk3HU5I5VG_js.generateIdempotencyKey; }
399
399
  });
400
400
  Object.defineProperty(exports, "getOrElse", {
401
401
  enumerable: true,
402
- get: function () { return chunkFWKSBF3F_js.getOrElse; }
402
+ get: function () { return chunk3HU5I5VG_js.getOrElse; }
403
403
  });
404
404
  Object.defineProperty(exports, "isErr", {
405
405
  enumerable: true,
406
- get: function () { return chunkFWKSBF3F_js.isErr; }
406
+ get: function () { return chunk3HU5I5VG_js.isErr; }
407
407
  });
408
408
  Object.defineProperty(exports, "isOk", {
409
409
  enumerable: true,
410
- get: function () { return chunkFWKSBF3F_js.isOk; }
410
+ get: function () { return chunk3HU5I5VG_js.isOk; }
411
411
  });
412
412
  Object.defineProperty(exports, "mapError", {
413
413
  enumerable: true,
414
- get: function () { return chunkFWKSBF3F_js.mapError; }
414
+ get: function () { return chunk3HU5I5VG_js.mapError; }
415
415
  });
416
416
  Object.defineProperty(exports, "mapResult", {
417
417
  enumerable: true,
418
- get: function () { return chunkFWKSBF3F_js.mapResult; }
418
+ get: function () { return chunk3HU5I5VG_js.mapResult; }
419
419
  });
420
420
  Object.defineProperty(exports, "ok", {
421
421
  enumerable: true,
422
- get: function () { return chunkFWKSBF3F_js.ok; }
422
+ get: function () { return chunk3HU5I5VG_js.ok; }
423
423
  });
424
424
  Object.defineProperty(exports, "startSignIn", {
425
425
  enumerable: true,
426
- get: function () { return chunkFWKSBF3F_js.startSignIn; }
426
+ get: function () { return chunk3HU5I5VG_js.startSignIn; }
427
427
  });
428
428
  Object.defineProperty(exports, "toNullable", {
429
429
  enumerable: true,
430
- get: function () { return chunkFWKSBF3F_js.toNullable; }
430
+ get: function () { return chunk3HU5I5VG_js.toNullable; }
431
431
  });
432
432
  Object.defineProperty(exports, "tryCatch", {
433
433
  enumerable: true,
434
- get: function () { return chunkFWKSBF3F_js.tryCatch; }
434
+ get: function () { return chunk3HU5I5VG_js.tryCatch; }
435
435
  });
436
436
  Object.defineProperty(exports, "unwrap", {
437
437
  enumerable: true,
438
- get: function () { return chunkFWKSBF3F_js.unwrap; }
438
+ get: function () { return chunk3HU5I5VG_js.unwrap; }
439
439
  });
440
440
  Object.defineProperty(exports, "CURRENCY_SYMBOLS", {
441
441
  enumerable: true,
package/dist/index.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  export { BOUNDARY_KIND, CIMPLIFY_CDN_HOSTS, DEFAULT_CDN_BASE_URL, DURATION_UNIT, INPUT_FIELD_TYPE, PRODUCT_TYPE, RENDER_HINT, allGalleryImages, assetUrl, chatMessageCards, getVariantDisplayName, isCimplifyAsset, isMultiDayService, priceBasisLabel, resolveGallery, serviceBillingMultiplier, stayLength, stayPeriods } from './chunk-4G5UWFC3.mjs';
2
2
  export { isValidPhoneForContext, normalizePhoneToE164, resolvePhoneCountryCode } from './chunk-YOIVZ6OA.mjs';
3
- export { ActivityService, CimplifyClient, DeliveryService, PlacesService, StoreCreditQueries, SubscriptionService, SupportService, UploadService, createCimplifyClient } from './chunk-XG4DZT4I.mjs';
4
- import { getAuthorizationEndpoint, DEFAULT_ISSUER, generatePkce, generateState } from './chunk-FFRQNNUQ.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-FFRQNNUQ.mjs';
3
+ export { ActivityService, CimplifyClient, DeliveryService, PlacesService, StoreCreditQueries, SubscriptionService, SupportService, UploadService, createCimplifyClient } from './chunk-RWR7JF7F.mjs';
4
+ import { getAuthorizationEndpoint, DEFAULT_ISSUER, generatePkce, generateState } from './chunk-Z7M6GAHS.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-Z7M6GAHS.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-DLW3RWRK.mjs';
7
7
  export { CimplifyError, ERROR_HINTS, ErrorCode, IdempotencyMismatchError, ZERO, currencyCode, enrichError, getErrorHint, isCimplifyError, isIdempotencyMismatchError, isQuoteConflictRequiringConsent, isQuoteError, isRetryableError, isSupportedCurrency, money, moneyFromNumber } from './chunk-O3YUHLZL.mjs';
8
8
  import './chunk-3G6RQLXK.mjs';