@cimplify/sdk 0.88.0 → 0.89.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/dist/advanced.d.mts +3 -3
  2. package/dist/advanced.d.ts +3 -3
  3. package/dist/{chunk-A7NODD4Q.mjs → chunk-DENWOZEA.mjs} +39 -11
  4. package/dist/{chunk-6JA4HBBD.js → chunk-JHJTXAPS.js} +2 -2
  5. package/dist/{chunk-VU5LFNEX.mjs → chunk-M4ALCELT.mjs} +1 -1
  6. package/dist/{chunk-W5BVGAO6.js → chunk-T2CJ67QV.js} +39 -11
  7. package/dist/{client-B-8ceVyt.d.mts → client-CAY2NbRG.d.mts} +2 -2
  8. package/dist/{client-B3FBDfTg.d.ts → client-CUbwb6Om.d.ts} +2 -2
  9. package/dist/{client-D0PrO1-Q.d.ts → client-CqZgdUtw.d.ts} +18 -3
  10. package/dist/{client-r5VSGFRU.d.mts → client-D8ZFs-sq.d.mts} +18 -3
  11. package/dist/{index-C-Pxrzna.d.ts → index-Bc5qUxAt.d.ts} +3 -3
  12. package/dist/{index-DLulxmF1.d.mts → index-CmWOz9bi.d.mts} +3 -3
  13. package/dist/index.d.mts +6 -6
  14. package/dist/index.d.ts +6 -6
  15. package/dist/index.js +10 -10
  16. package/dist/index.mjs +1 -1
  17. package/dist/{payment-TnJUoHqL.d.mts → payment-Dcgb9n1n.d.mts} +1 -1
  18. package/dist/{payment-Cfoo9MT7.d.ts → payment-Xq0WDZXh.d.ts} +1 -1
  19. package/dist/{price-CM0zVSyM.d.mts → price--Ma_WO5_.d.mts} +1 -1
  20. package/dist/{price-CCDSrIsc.d.ts → price-DAAjKgAp.d.ts} +1 -1
  21. package/dist/{product-DoA36Eqh.d.mts → product-BakHcsP2.d.mts} +11 -2
  22. package/dist/{product-DoA36Eqh.d.ts → product-BakHcsP2.d.ts} +11 -2
  23. package/dist/react.d.mts +4 -4
  24. package/dist/react.d.ts +4 -4
  25. package/dist/react.js +22 -7
  26. package/dist/react.mjs +21 -6
  27. package/dist/{server-CHfYeTAa.d.ts → server-Bei5lBrc.d.ts} +1 -1
  28. package/dist/{server-CI1CUFVu.d.mts → server-Bk_hlefX.d.mts} +1 -1
  29. package/dist/server.d.mts +4 -4
  30. package/dist/server.d.ts +4 -4
  31. package/dist/server.js +2 -2
  32. package/dist/server.mjs +1 -1
  33. package/dist/testing/msw.d.mts +2 -2
  34. package/dist/testing/msw.d.ts +2 -2
  35. package/dist/testing/suite.d.mts +6 -6
  36. package/dist/testing/suite.d.ts +6 -6
  37. package/dist/testing/suite.js +21 -21
  38. package/dist/testing/suite.mjs +2 -2
  39. package/dist/testing.d.mts +5 -5
  40. package/dist/testing.d.ts +5 -5
  41. package/dist/testing.js +77 -77
  42. package/dist/testing.mjs +3 -3
  43. package/dist/utils.d.mts +4 -4
  44. package/dist/utils.d.ts +4 -4
  45. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- export { k as AuthService, C as BusinessService, O as CartOperations, P as CatalogueQueries, a8 as CheckoutOperations, a8 as CheckoutService, ae as CimplifyElement, af as CimplifyElements, aG as ELEMENT_TYPES, aH as EVENT_TYPES, aK as ElementEventType, aL as ElementOptions, aM as ElementType, aU as ElementsOptions, b0 as FetchQuoteInput, b9 as FxService, bd as GetProductsOptions, bg as InventoryService, bo as LinkService, bs as LiteService, bz as MESSAGE_TYPES, b$ as OrderQueries, cl as PriceQuote, cr as QuoteBundleSelectionInput, cs as QuoteCompositeSelectionInput, ct as QuoteDynamicBuckets, cu as QuoteStatus, cv as QuoteUiMessage, cx as RefreshQuoteInput, cy as RefreshQuoteResult, c_ as SchedulingService, dE as createElements } from './client-r5VSGFRU.mjs';
2
- import './product-DoA36Eqh.mjs';
3
- import './payment-TnJUoHqL.mjs';
1
+ export { k as AuthService, C as BusinessService, O as CartOperations, P as CatalogueQueries, a8 as CheckoutOperations, a8 as CheckoutService, ae as CimplifyElement, af as CimplifyElements, aG as ELEMENT_TYPES, aH as EVENT_TYPES, aK as ElementEventType, aL as ElementOptions, aM as ElementType, aU as ElementsOptions, b0 as FetchQuoteInput, b9 as FxService, bd as GetProductsOptions, bg as InventoryService, bo as LinkService, bs as LiteService, bz as MESSAGE_TYPES, b$ as OrderQueries, cl as PriceQuote, cr as QuoteBundleSelectionInput, cs as QuoteCompositeSelectionInput, ct as QuoteDynamicBuckets, cu as QuoteStatus, cv as QuoteUiMessage, cx as RefreshQuoteInput, cy as RefreshQuoteResult, c_ as SchedulingService, dE as createElements } from './client-D8ZFs-sq.mjs';
2
+ import './product-BakHcsP2.mjs';
3
+ import './payment-Dcgb9n1n.mjs';
4
4
 
5
5
  declare function generateIdempotencyKey(prefix?: string): string;
6
6
 
@@ -1,6 +1,6 @@
1
- export { k as AuthService, C as BusinessService, O as CartOperations, P as CatalogueQueries, a8 as CheckoutOperations, a8 as CheckoutService, ae as CimplifyElement, af as CimplifyElements, aG as ELEMENT_TYPES, aH as EVENT_TYPES, aK as ElementEventType, aL as ElementOptions, aM as ElementType, aU as ElementsOptions, b0 as FetchQuoteInput, b9 as FxService, bd as GetProductsOptions, bg as InventoryService, bo as LinkService, bs as LiteService, bz as MESSAGE_TYPES, b$ as OrderQueries, cl as PriceQuote, cr as QuoteBundleSelectionInput, cs as QuoteCompositeSelectionInput, ct as QuoteDynamicBuckets, cu as QuoteStatus, cv as QuoteUiMessage, cx as RefreshQuoteInput, cy as RefreshQuoteResult, c_ as SchedulingService, dE as createElements } from './client-D0PrO1-Q.js';
2
- import './product-DoA36Eqh.js';
3
- import './payment-Cfoo9MT7.js';
1
+ export { k as AuthService, C as BusinessService, O as CartOperations, P as CatalogueQueries, a8 as CheckoutOperations, a8 as CheckoutService, ae as CimplifyElement, af as CimplifyElements, aG as ELEMENT_TYPES, aH as EVENT_TYPES, aK as ElementEventType, aL as ElementOptions, aM as ElementType, aU as ElementsOptions, b0 as FetchQuoteInput, b9 as FxService, bd as GetProductsOptions, bg as InventoryService, bo as LinkService, bs as LiteService, bz as MESSAGE_TYPES, b$ as OrderQueries, cl as PriceQuote, cr as QuoteBundleSelectionInput, cs as QuoteCompositeSelectionInput, ct as QuoteDynamicBuckets, cu as QuoteStatus, cv as QuoteUiMessage, cx as RefreshQuoteInput, cy as RefreshQuoteResult, c_ as SchedulingService, dE as createElements } from './client-CqZgdUtw.js';
2
+ import './product-BakHcsP2.js';
3
+ import './payment-Xq0WDZXh.js';
4
4
 
5
5
  declare function generateIdempotencyKey(prefix?: string): string;
6
6
 
@@ -307,13 +307,18 @@ var SupportService = class {
307
307
  })
308
308
  );
309
309
  }
310
- /** Send a message in the active conversation. */
310
+ /**
311
+ * Send a message in the active conversation.
312
+ *
313
+ * The idempotency key doubles as the message `client_id`: the backend
314
+ * dedupes on it, so client retries of the same send never insert twice.
315
+ */
311
316
  async sendMessage(content, opts) {
312
317
  const idempotencyKey = opts?.idempotencyKey ?? generateIdempotencyKey();
313
318
  return safe(
314
319
  this.client.post(
315
320
  "/api/v1/support/conversation/messages",
316
- { content },
321
+ { content, client_id: idempotencyKey },
317
322
  { idempotencyKey }
318
323
  )
319
324
  );
@@ -394,6 +399,16 @@ function mergeOptionHeaders(base, opts) {
394
399
  }
395
400
  return merged;
396
401
  }
402
+ function generateSessionToken() {
403
+ if (typeof crypto !== "undefined" && crypto.randomUUID) {
404
+ return crypto.randomUUID();
405
+ }
406
+ return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (c) => {
407
+ const r = Math.random() * 16 | 0;
408
+ const v = c === "x" ? r : r & 3 | 8;
409
+ return v.toString(16);
410
+ });
411
+ }
397
412
  function isRetryable(error) {
398
413
  if (error instanceof TypeError && error.message.includes("fetch")) {
399
414
  return true;
@@ -491,7 +506,7 @@ var CimplifyClient = class {
491
506
  this.retryDelay = config.retryDelay ?? DEFAULT_RETRY_DELAY_MS;
492
507
  this.hooks = config.hooks ?? {};
493
508
  this.fetchImpl = (config.fetch ?? globalThis.fetch).bind(globalThis);
494
- this.sessionToken = this.loadSessionToken();
509
+ this.sessionToken = this.loadSessionToken() ?? this.mintSessionToken();
495
510
  if (!this.publicKey && !config.suppressPublicKeyWarning) {
496
511
  console.warn(
497
512
  '[Cimplify] No public key found. Set NEXT_PUBLIC_CIMPLIFY_PUBLIC_KEY in your environment, or pass { publicKey: "cpk_..." } to createCimplifyClient().'
@@ -539,6 +554,7 @@ var CimplifyClient = class {
539
554
  if (typeof window !== "undefined" && window.localStorage) {
540
555
  localStorage.removeItem(SESSION_TOKEN_STORAGE_KEY);
541
556
  }
557
+ this.sessionToken = this.mintSessionToken();
542
558
  this.hooks.onSessionChange?.({
543
559
  previousToken: previous,
544
560
  newToken: null,
@@ -648,6 +664,23 @@ var CimplifyClient = class {
648
664
  }
649
665
  return null;
650
666
  }
667
+ /**
668
+ * Mint the session token client-side so the very first request already
669
+ * carries it. Without this, parallel first-load requests each get a
670
+ * different server-minted token and last-writer-wins splits the session
671
+ * (cart writes and chat conversations land on dropped tokens).
672
+ *
673
+ * Browser-only: minting on a server-shared client instance would pin
674
+ * every visitor to one session, so SSR keeps the lazy server-minted flow.
675
+ */
676
+ mintSessionToken() {
677
+ if (typeof window === "undefined" || !window.localStorage) {
678
+ return null;
679
+ }
680
+ const token = generateSessionToken();
681
+ this.saveSessionToken(token);
682
+ return token;
683
+ }
651
684
  saveSessionToken(token) {
652
685
  if (typeof window !== "undefined" && window.localStorage) {
653
686
  try {
@@ -898,14 +931,9 @@ var CimplifyClient = class {
898
931
  const originalCreatedAt = typeof json.error === "object" && json.error?.original_created_at || "";
899
932
  throw new IdempotencyMismatchError(errorMessage, originalCreatedAt);
900
933
  }
901
- const error = enrichError(
902
- new CimplifyError(
903
- errorCode,
904
- errorMessage,
905
- retryable
906
- ),
907
- { isTestMode: this.isTestMode() }
908
- );
934
+ const error = enrichError(new CimplifyError(errorCode, errorMessage, retryable), {
935
+ isTestMode: this.isTestMode()
936
+ });
909
937
  if ((response.status === 401 || error.code === ErrorCode.UNAUTHORIZED) && this.accessToken) {
910
938
  console.warn(
911
939
  "[Cimplify] Received 401 Unauthorized. Access token may be missing/expired. Refresh authentication and retry the request."
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkROBTTS3Q_js = require('./chunk-ROBTTS3Q.js');
4
- var chunkW5BVGAO6_js = require('./chunk-W5BVGAO6.js');
4
+ var chunkT2CJ67QV_js = require('./chunk-T2CJ67QV.js');
5
5
  var zod = require('zod');
6
6
 
7
7
  var cimplifyRegistry = zod.z.registry();
@@ -619,7 +619,7 @@ function createTestClient(options = {}) {
619
619
  if (echoed) sessionToken = echoed;
620
620
  return res;
621
621
  };
622
- const client = chunkW5BVGAO6_js.createCimplifyClient({
622
+ const client = chunkT2CJ67QV_js.createCimplifyClient({
623
623
  baseUrl: TEST_BASE_URL,
624
624
  // Link mock lives at /v1/link on the same Hono app, so point the SDK's
625
625
  // separate Link transport at the same TEST_BASE_URL.
@@ -1,5 +1,5 @@
1
1
  import { createMockApp } from './chunk-APBLFZ2I.mjs';
2
- import { createCimplifyClient } from './chunk-A7NODD4Q.mjs';
2
+ import { createCimplifyClient } from './chunk-DENWOZEA.mjs';
3
3
  import { z } from 'zod';
4
4
 
5
5
  var cimplifyRegistry = z.registry();
@@ -309,13 +309,18 @@ var SupportService = class {
309
309
  })
310
310
  );
311
311
  }
312
- /** Send a message in the active conversation. */
312
+ /**
313
+ * Send a message in the active conversation.
314
+ *
315
+ * The idempotency key doubles as the message `client_id`: the backend
316
+ * dedupes on it, so client retries of the same send never insert twice.
317
+ */
313
318
  async sendMessage(content, opts) {
314
319
  const idempotencyKey = opts?.idempotencyKey ?? chunkGHFDYM5K_js.generateIdempotencyKey();
315
320
  return chunkGHFDYM5K_js.safe(
316
321
  this.client.post(
317
322
  "/api/v1/support/conversation/messages",
318
- { content },
323
+ { content, client_id: idempotencyKey },
319
324
  { idempotencyKey }
320
325
  )
321
326
  );
@@ -396,6 +401,16 @@ function mergeOptionHeaders(base, opts) {
396
401
  }
397
402
  return merged;
398
403
  }
404
+ function generateSessionToken() {
405
+ if (typeof crypto !== "undefined" && crypto.randomUUID) {
406
+ return crypto.randomUUID();
407
+ }
408
+ return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (c) => {
409
+ const r = Math.random() * 16 | 0;
410
+ const v = c === "x" ? r : r & 3 | 8;
411
+ return v.toString(16);
412
+ });
413
+ }
399
414
  function isRetryable(error) {
400
415
  if (error instanceof TypeError && error.message.includes("fetch")) {
401
416
  return true;
@@ -493,7 +508,7 @@ var CimplifyClient = class {
493
508
  this.retryDelay = config.retryDelay ?? DEFAULT_RETRY_DELAY_MS;
494
509
  this.hooks = config.hooks ?? {};
495
510
  this.fetchImpl = (config.fetch ?? globalThis.fetch).bind(globalThis);
496
- this.sessionToken = this.loadSessionToken();
511
+ this.sessionToken = this.loadSessionToken() ?? this.mintSessionToken();
497
512
  if (!this.publicKey && !config.suppressPublicKeyWarning) {
498
513
  console.warn(
499
514
  '[Cimplify] No public key found. Set NEXT_PUBLIC_CIMPLIFY_PUBLIC_KEY in your environment, or pass { publicKey: "cpk_..." } to createCimplifyClient().'
@@ -541,6 +556,7 @@ var CimplifyClient = class {
541
556
  if (typeof window !== "undefined" && window.localStorage) {
542
557
  localStorage.removeItem(SESSION_TOKEN_STORAGE_KEY);
543
558
  }
559
+ this.sessionToken = this.mintSessionToken();
544
560
  this.hooks.onSessionChange?.({
545
561
  previousToken: previous,
546
562
  newToken: null,
@@ -650,6 +666,23 @@ var CimplifyClient = class {
650
666
  }
651
667
  return null;
652
668
  }
669
+ /**
670
+ * Mint the session token client-side so the very first request already
671
+ * carries it. Without this, parallel first-load requests each get a
672
+ * different server-minted token and last-writer-wins splits the session
673
+ * (cart writes and chat conversations land on dropped tokens).
674
+ *
675
+ * Browser-only: minting on a server-shared client instance would pin
676
+ * every visitor to one session, so SSR keeps the lazy server-minted flow.
677
+ */
678
+ mintSessionToken() {
679
+ if (typeof window === "undefined" || !window.localStorage) {
680
+ return null;
681
+ }
682
+ const token = generateSessionToken();
683
+ this.saveSessionToken(token);
684
+ return token;
685
+ }
653
686
  saveSessionToken(token) {
654
687
  if (typeof window !== "undefined" && window.localStorage) {
655
688
  try {
@@ -900,14 +933,9 @@ var CimplifyClient = class {
900
933
  const originalCreatedAt = typeof json.error === "object" && json.error?.original_created_at || "";
901
934
  throw new chunkAETVRBKI_js.IdempotencyMismatchError(errorMessage, originalCreatedAt);
902
935
  }
903
- const error = chunkAETVRBKI_js.enrichError(
904
- new chunkAETVRBKI_js.CimplifyError(
905
- errorCode,
906
- errorMessage,
907
- retryable
908
- ),
909
- { isTestMode: this.isTestMode() }
910
- );
936
+ const error = chunkAETVRBKI_js.enrichError(new chunkAETVRBKI_js.CimplifyError(errorCode, errorMessage, retryable), {
937
+ isTestMode: this.isTestMode()
938
+ });
911
939
  if ((response.status === 401 || error.code === chunkAETVRBKI_js.ErrorCode.UNAUTHORIZED) && this.accessToken) {
912
940
  console.warn(
913
941
  "[Cimplify] Received 401 Unauthorized. Access token may be missing/expired. Refresh authentication and retry the request."
@@ -1,5 +1,5 @@
1
- import { ac as CimplifyClient } from './client-r5VSGFRU.mjs';
2
- import { A as AppHandle, C as CreateAppOptions } from './server-CI1CUFVu.mjs';
1
+ import { ac as CimplifyClient } from './client-D8ZFs-sq.mjs';
2
+ import { A as AppHandle, C as CreateAppOptions } from './server-Bk_hlefX.mjs';
3
3
 
4
4
  /**
5
5
  * Test client + fixtures.
@@ -1,5 +1,5 @@
1
- import { ac as CimplifyClient } from './client-D0PrO1-Q.js';
2
- import { A as AppHandle, C as CreateAppOptions } from './server-CHfYeTAa.js';
1
+ import { ac as CimplifyClient } from './client-CqZgdUtw.js';
2
+ import { A as AppHandle, C as CreateAppOptions } from './server-Bei5lBrc.js';
3
3
 
4
4
  /**
5
5
  * Test client + fixtures.
@@ -1,5 +1,5 @@
1
- import { V as CimplifyError, S as Category, aZ as Product, f as AddOnWithOptions, aQ as Pagination, bb as ProductWithDetails, b9 as ProductVariant, bF as VariantAxis, bG as VariantAxisSelection, A as AddOn, W as Collection, G as BundleSummary, u as Bundle, a3 as Composite, a1 as ComponentSelectionInput, a8 as CompositePriceResult, U as ChosenPrice, b6 as ProductTaxonomy, bx as TaxonomyWithChildren, ax as EligiblePlansQuery, b1 as ProductBillingPlan, b7 as ProductTimeProfile, b0 as ProductAvailabilityNow, aj as Deal, b2 as ProductDealInfo, ap as DiscountValidation, bu as TagsResponse, ae as CustomAttributeDefinition, af as CustomAttributeValue, bc as PropertyFacet, bw as TaxonomyAttributeTemplate, aJ as KnowledgeArticle, by as UICart, L as CartItem, Q as CartSummary, g as AddToCartInput, N as CartMutationResult, bE as UpdateCartItemInput, ao as DiscountDetails, aO as Money, ad as CurrencyCode, aK as LineConfiguration, bL as VariantDetails, bM as VariantDetailsDTO, a as AddOnDetails, d as AddOnOptionDetails, b as AddOnGroupDetails, D as BundleSelectionData, aa as CompositeSelectionData, ag as CustomerInputValue, bS as components, bk as SchedulingMode, av as DurationUnit, bo as Subscription, bs as SubscriptionWithDetails } from './product-DoA36Eqh.js';
2
- import { a as AuthorizationType, c as PaymentMethod, I as InitializePaymentResult, S as SubmitAuthorizationInput, i as PaymentStatusResponse } from './payment-Cfoo9MT7.js';
1
+ import { V as CimplifyError, S as Category, aZ as Product, f as AddOnWithOptions, aQ as Pagination, bb as ProductWithDetails, b9 as ProductVariant, bF as VariantAxis, bG as VariantAxisSelection, A as AddOn, W as Collection, G as BundleSummary, u as Bundle, a3 as Composite, a1 as ComponentSelectionInput, a8 as CompositePriceResult, U as ChosenPrice, b6 as ProductTaxonomy, bx as TaxonomyWithChildren, ax as EligiblePlansQuery, b1 as ProductBillingPlan, b7 as ProductTimeProfile, b0 as ProductAvailabilityNow, aj as Deal, b2 as ProductDealInfo, ap as DiscountValidation, bu as TagsResponse, ae as CustomAttributeDefinition, af as CustomAttributeValue, bc as PropertyFacet, bw as TaxonomyAttributeTemplate, aJ as KnowledgeArticle, by as UICart, L as CartItem, Q as CartSummary, g as AddToCartInput, N as CartMutationResult, bE as UpdateCartItemInput, ao as DiscountDetails, aO as Money, ad as CurrencyCode, aK as LineConfiguration, bL as VariantDetails, bM as VariantDetailsDTO, a as AddOnDetails, d as AddOnOptionDetails, b as AddOnGroupDetails, D as BundleSelectionData, aa as CompositeSelectionData, ag as CustomerInputValue, bS as components, bk as SchedulingMode, av as DurationUnit, bo as Subscription, bs as SubscriptionWithDetails } from './product-BakHcsP2.js';
2
+ import { a as AuthorizationType, c as PaymentMethod, I as InitializePaymentResult, S as SubmitAuthorizationInput, i as PaymentStatusResponse } from './payment-Xq0WDZXh.js';
3
3
 
4
4
  interface RequestContext {
5
5
  method: "GET" | "POST" | "PATCH" | "DELETE";
@@ -2520,7 +2520,12 @@ declare class SupportService {
2520
2520
  constructor(client: CimplifyClient);
2521
2521
  /** Open (or resume) the customer's widget conversation. */
2522
2522
  openConversation(opts?: IdempotencyOption): Promise<Result<ChatConversationResponse, CimplifyError>>;
2523
- /** Send a message in the active conversation. */
2523
+ /**
2524
+ * Send a message in the active conversation.
2525
+ *
2526
+ * The idempotency key doubles as the message `client_id`: the backend
2527
+ * dedupes on it, so client retries of the same send never insert twice.
2528
+ */
2524
2529
  sendMessage(content: string, opts?: IdempotencyOption): Promise<Result<ChatMessage, CimplifyError>>;
2525
2530
  /** Poll for new messages since the given cursor. */
2526
2531
  getMessages(options?: {
@@ -2726,6 +2731,16 @@ declare class CimplifyClient {
2726
2731
  resolveBusinessId(): Promise<string>;
2727
2732
  private authedFetch;
2728
2733
  private loadSessionToken;
2734
+ /**
2735
+ * Mint the session token client-side so the very first request already
2736
+ * carries it. Without this, parallel first-load requests each get a
2737
+ * different server-minted token and last-writer-wins splits the session
2738
+ * (cart writes and chat conversations land on dropped tokens).
2739
+ *
2740
+ * Browser-only: minting on a server-shared client instance would pin
2741
+ * every visitor to one session, so SSR keeps the lazy server-minted flow.
2742
+ */
2743
+ private mintSessionToken;
2729
2744
  private saveSessionToken;
2730
2745
  private captureSessionToken;
2731
2746
  private getHeaders;
@@ -1,5 +1,5 @@
1
- import { V as CimplifyError, S as Category, aZ as Product, f as AddOnWithOptions, aQ as Pagination, bb as ProductWithDetails, b9 as ProductVariant, bF as VariantAxis, bG as VariantAxisSelection, A as AddOn, W as Collection, G as BundleSummary, u as Bundle, a3 as Composite, a1 as ComponentSelectionInput, a8 as CompositePriceResult, U as ChosenPrice, b6 as ProductTaxonomy, bx as TaxonomyWithChildren, ax as EligiblePlansQuery, b1 as ProductBillingPlan, b7 as ProductTimeProfile, b0 as ProductAvailabilityNow, aj as Deal, b2 as ProductDealInfo, ap as DiscountValidation, bu as TagsResponse, ae as CustomAttributeDefinition, af as CustomAttributeValue, bc as PropertyFacet, bw as TaxonomyAttributeTemplate, aJ as KnowledgeArticle, by as UICart, L as CartItem, Q as CartSummary, g as AddToCartInput, N as CartMutationResult, bE as UpdateCartItemInput, ao as DiscountDetails, aO as Money, ad as CurrencyCode, aK as LineConfiguration, bL as VariantDetails, bM as VariantDetailsDTO, a as AddOnDetails, d as AddOnOptionDetails, b as AddOnGroupDetails, D as BundleSelectionData, aa as CompositeSelectionData, ag as CustomerInputValue, bS as components, bk as SchedulingMode, av as DurationUnit, bo as Subscription, bs as SubscriptionWithDetails } from './product-DoA36Eqh.mjs';
2
- import { a as AuthorizationType, c as PaymentMethod, I as InitializePaymentResult, S as SubmitAuthorizationInput, i as PaymentStatusResponse } from './payment-TnJUoHqL.mjs';
1
+ import { V as CimplifyError, S as Category, aZ as Product, f as AddOnWithOptions, aQ as Pagination, bb as ProductWithDetails, b9 as ProductVariant, bF as VariantAxis, bG as VariantAxisSelection, A as AddOn, W as Collection, G as BundleSummary, u as Bundle, a3 as Composite, a1 as ComponentSelectionInput, a8 as CompositePriceResult, U as ChosenPrice, b6 as ProductTaxonomy, bx as TaxonomyWithChildren, ax as EligiblePlansQuery, b1 as ProductBillingPlan, b7 as ProductTimeProfile, b0 as ProductAvailabilityNow, aj as Deal, b2 as ProductDealInfo, ap as DiscountValidation, bu as TagsResponse, ae as CustomAttributeDefinition, af as CustomAttributeValue, bc as PropertyFacet, bw as TaxonomyAttributeTemplate, aJ as KnowledgeArticle, by as UICart, L as CartItem, Q as CartSummary, g as AddToCartInput, N as CartMutationResult, bE as UpdateCartItemInput, ao as DiscountDetails, aO as Money, ad as CurrencyCode, aK as LineConfiguration, bL as VariantDetails, bM as VariantDetailsDTO, a as AddOnDetails, d as AddOnOptionDetails, b as AddOnGroupDetails, D as BundleSelectionData, aa as CompositeSelectionData, ag as CustomerInputValue, bS as components, bk as SchedulingMode, av as DurationUnit, bo as Subscription, bs as SubscriptionWithDetails } from './product-BakHcsP2.mjs';
2
+ import { a as AuthorizationType, c as PaymentMethod, I as InitializePaymentResult, S as SubmitAuthorizationInput, i as PaymentStatusResponse } from './payment-Dcgb9n1n.mjs';
3
3
 
4
4
  interface RequestContext {
5
5
  method: "GET" | "POST" | "PATCH" | "DELETE";
@@ -2520,7 +2520,12 @@ declare class SupportService {
2520
2520
  constructor(client: CimplifyClient);
2521
2521
  /** Open (or resume) the customer's widget conversation. */
2522
2522
  openConversation(opts?: IdempotencyOption): Promise<Result<ChatConversationResponse, CimplifyError>>;
2523
- /** Send a message in the active conversation. */
2523
+ /**
2524
+ * Send a message in the active conversation.
2525
+ *
2526
+ * The idempotency key doubles as the message `client_id`: the backend
2527
+ * dedupes on it, so client retries of the same send never insert twice.
2528
+ */
2524
2529
  sendMessage(content: string, opts?: IdempotencyOption): Promise<Result<ChatMessage, CimplifyError>>;
2525
2530
  /** Poll for new messages since the given cursor. */
2526
2531
  getMessages(options?: {
@@ -2726,6 +2731,16 @@ declare class CimplifyClient {
2726
2731
  resolveBusinessId(): Promise<string>;
2727
2732
  private authedFetch;
2728
2733
  private loadSessionToken;
2734
+ /**
2735
+ * Mint the session token client-side so the very first request already
2736
+ * carries it. Without this, parallel first-load requests each get a
2737
+ * different server-minted token and last-writer-wins splits the session
2738
+ * (cart writes and chat conversations land on dropped tokens).
2739
+ *
2740
+ * Browser-only: minting on a server-shared client instance would pin
2741
+ * every visitor to one session, so SSR keeps the lazy server-minted flow.
2742
+ */
2743
+ private mintSessionToken;
2729
2744
  private saveSessionToken;
2730
2745
  private captureSessionToken;
2731
2746
  private getHeaders;
@@ -1,6 +1,6 @@
1
- import { aO as Money, ad as CurrencyCode, aX as PricePathTaxInfo, aZ as Product, bb as ProductWithDetails, be as QuantityPricingTier } from './product-DoA36Eqh.js';
2
- import { P as ProductWithPrice } from './price-CCDSrIsc.js';
3
- import { b as PaymentErrorDetails, g as PaymentResponse, i as PaymentStatusResponse } from './payment-Cfoo9MT7.js';
1
+ import { aO as Money, ad as CurrencyCode, aX as PricePathTaxInfo, aZ as Product, bb as ProductWithDetails, be as QuantityPricingTier } from './product-BakHcsP2.js';
2
+ import { P as ProductWithPrice } from './price-DAAjKgAp.js';
3
+ import { b as PaymentErrorDetails, g as PaymentResponse, i as PaymentStatusResponse } from './payment-Xq0WDZXh.js';
4
4
  import { CountryCode } from 'libphonenumber-js';
5
5
 
6
6
  declare const CURRENCY_SYMBOLS: Record<string, string>;
@@ -1,6 +1,6 @@
1
- import { aO as Money, ad as CurrencyCode, aX as PricePathTaxInfo, aZ as Product, bb as ProductWithDetails, be as QuantityPricingTier } from './product-DoA36Eqh.mjs';
2
- import { P as ProductWithPrice } from './price-CM0zVSyM.mjs';
3
- import { b as PaymentErrorDetails, g as PaymentResponse, i as PaymentStatusResponse } from './payment-TnJUoHqL.mjs';
1
+ import { aO as Money, ad as CurrencyCode, aX as PricePathTaxInfo, aZ as Product, bb as ProductWithDetails, be as QuantityPricingTier } from './product-BakHcsP2.mjs';
2
+ import { P as ProductWithPrice } from './price--Ma_WO5_.mjs';
3
+ import { b as PaymentErrorDetails, g as PaymentResponse, i as PaymentStatusResponse } from './payment-Dcgb9n1n.mjs';
4
4
  import { CountryCode } from 'libphonenumber-js';
5
5
 
6
6
  declare const CURRENCY_SYMBOLS: Record<string, string>;
package/dist/index.d.mts CHANGED
@@ -1,10 +1,10 @@
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 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, X as ChatWidgetStarter, Y as CheckSlotAvailabilityInput, Z as CheckSlotAvailabilityResult, _ as CheckoutAddressInfo, $ as CheckoutCartData, a0 as CheckoutCartItem, a1 as CheckoutCustomerInfo, a2 as CheckoutFormData, a3 as CheckoutInput, a4 as CheckoutMode, a8 as CheckoutOperations, a5 as CheckoutOrderType, a6 as CheckoutPaymentMethod, a7 as CheckoutResult, a8 as CheckoutService, a9 as CheckoutStatus, aa as CheckoutStatusContext, ab as CheckoutStep, ac as CimplifyClient, ad as CimplifyConfig, ae as CimplifyElement, af as CimplifyElements, ag as ContactType, ah as ContentType, ai as CreateAddressInput, aj as CreateMobileMoneyInput, ak as Customer, al as CustomerAddress, am as CustomerBooking, an as CustomerBookingServiceItem, ao as CustomerLinkPreferences, ap as CustomerMobileMoney, aq as CustomerServicePreferences, ar as DEFAULT_COUNTRY, as as DEFAULT_CURRENCY, at as DEVICE_TYPE, au as DayAvailability, av as DeliveryFeeDetails, aw as DeliveryFeeResponse, ax as DeliveryOption, ay as DeliveryOptionsResponse, az as DeliveryService, aA as DepositResult, aB as DeviceType, aC as DismissMessageResponse, aD as ELEMENTS_AUTH_CONTACT_TYPES, aE as ELEMENTS_AUTH_MODES, aF as ELEMENTS_AUTH_PROMPTS, aG as ELEMENT_TYPES, aH as EVENT_TYPES, aI as ElementAppearance, aJ as ElementEventHandler, aK as ElementEventType, aL as ElementOptions, aM as ElementType, aN as ElementsAuthContactType, aO as ElementsAuthMode, aP as ElementsAuthOptions, aQ as ElementsAuthPrompt, aR as ElementsCheckoutData, aS as ElementsCheckoutResult, aT as ElementsCustomerInfo, aU as ElementsOptions, aV as EnrichedOrder, aW as EnrichedOrderItem, aX as EnrollAndLinkOrderInput, aY as EnrollAndLinkOrderResult, aZ as EnrollmentData, a_ as Err, a$ as FeeBearerType, b0 as FetchQuoteInput, b1 as FulfillmentLink, b2 as FulfillmentStatus, b3 as FulfillmentSummaryDTO, b4 as FulfillmentType, b5 as FxQuote, b6 as FxQuoteRequest, b7 as FxQuoteStatus, b8 as FxRateResponse, b9 as FxService, ba as GetAvailableSlotsInput, bb as GetDeliveryOptionsParams, bc as GetOrdersOptions, bd as GetProductsOptions, be as GroupOrderInfo, bf as IframeToParentMessage, bg as InventoryService, bh as LINK_MUTATION, bi as LINK_QUERY, bj as LifecyclePhase, bk as LineItem, bl as LineType, bm as LinkData, bn as LinkEnrollResult, bo as LinkService, bp as LinkSession, bq as LinkStatusResult, br as LiteBootstrap, bs as LiteService, bt as Location, bu as LocationBooking, bv as LocationTaxBehavior, bw as LocationTaxOverrides, bx as LocationTimeProfile, by as LocationWithDetails, bz as MESSAGE_TYPES, bA as MOBILE_MONEY_PROVIDER, bB as MobileMoneyData, bC as MobileMoneyDetails, bD as MobileMoneyProvider, bE as NextAction, bF as ORDER_MUTATION, bG as ORDER_TYPE, bH as ObservabilityHooks, bI as Ok, bJ as Order, bK as OrderCustomerInfo, bL as OrderDiscountInfo, bM as OrderFilter, bN as OrderFulfillmentSummary, bO as OrderGroup, bP as OrderGroupDetails, bQ as OrderGroupPayment, bR as OrderGroupPaymentState, bS as OrderGroupPaymentStatus, bT as OrderGroupPaymentSummary, bU as OrderGroupStatus, bV as OrderHistory, bW as OrderLineState, bX as OrderLineStatus, bY as OrderLocationInfo, bZ as OrderPaymentEvent, b_ as OrderPricingView, b$ as OrderQueries, c0 as OrderSplitDetail, c1 as OrderStaffInfo, c2 as OrderStatus, c3 as OrderTimestampsDTO, c4 as OrderType, c5 as Origin, c6 as OriginActor, c7 as OriginChannel, c8 as OtpResult, c9 as PAYMENT_METHOD, ca as PAYMENT_MUTATION, cb as PAYMENT_STATE, cc as PICKUP_TIME_TYPE, cd as ParentToIframeMessage, ce as PaymentInfoDTO, cf as PaymentMethodInfo, cg as PaymentState, ch as PickupTime, ci as PickupTimeType, cj as PlaceDetailsResponse, ck as PlacesService, cl as PriceQuote, cm as PricingOverrides, cn as ProcessAndResolveOptions, co as ProcessCheckoutOptions, cp as ProcessCheckoutResult, cq as ProviderResolutionSource, cr as QuoteBundleSelectionInput, cs as QuoteCompositeSelectionInput, ct as QuoteDynamicBuckets, cu as QuoteStatus, cv as QuoteUiMessage, cw as ReadRequestOptions, cx as RefreshQuoteInput, cy as RefreshQuoteResult, cz as RefundOrderInput, cA as RelatedCandidate, cB as RelatedProduct, cC as RelatedProductsEnrichment, cD as RelationType, cE as ReminderMethod, cF as ReminderSettings, cG as ReorderResult, cH as RequestContext, cI as RequestErrorEvent, cJ as RequestOptions, cK as RequestOtpInput, cL as RequestSource, cM as RequestStartEvent, cN as RequestSuccessEvent, cO as RescheduleBookingInput, cP as RescheduleBookingResult, cQ as RescheduleHistoryRecord, cR as ResourceAssignment, cS as ResourceInfo, cT as Result, cU as RetryEvent, cV as RevokeAllSessionsResult, cW as RevokeSessionResult, cX as Room, cY as SchedulingMetadata, cZ as SchedulingResult, c_ as SchedulingService, c$ as SenderType, d0 as Service, d1 as ServiceAvailabilityParams, d2 as ServiceAvailabilityResult, d3 as ServiceCharge, d4 as ServiceNotes, d5 as ServiceScheduleRequest, d6 as ServiceStatus, d7 as SessionActivityData, d8 as SessionChangeEvent, d9 as SessionMessage, da as SlotResourceInfo, db as SlotStaffInfo, dc as Staff, dd as StaffAssignment, de as StaffRole, df as StaffScheduleItem, dg as StockLevel, dh as StockStatus, di as StoreCreditBalance, dj as StoreCreditQueries, dk as StorefrontBootstrap, dl as SubscriptionService, dm as SupportService, dn as Table, dp as TimeRange, dq as TimeRanges, dr as TimeSlot, ds as TrackCategoryViewOptions, dt as TrackProductViewOptions, du as UpdateAddressInput, dv as UpdateOrderStatusInput, dw as UpdateProfileInput, dx as UploadInitResponse, dy as UploadResult, dz as UploadService, dA as VerifyOtpInput, dB as combine, dC as combineObject, dD as createCimplifyClient, dE as createElements, dF as err, dG as flatMap, dH as fromPromise, dI as getOrElse, dJ as isErr, dK as isOk, dL as mapError, dM as mapResult, dN as ok, dO as toNullable, dP as tryCatch, dQ as unwrap } from './client-r5VSGFRU.mjs';
2
- import { bb as ProductWithDetails, j as ApiError } from './product-DoA36Eqh.mjs';
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 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, av as DurationUnit, 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, aZ as Product, 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-DoA36Eqh.mjs';
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-DLulxmF1.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 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, X as ChatWidgetStarter, Y as CheckSlotAvailabilityInput, Z as CheckSlotAvailabilityResult, _ as CheckoutAddressInfo, $ as CheckoutCartData, a0 as CheckoutCartItem, a1 as CheckoutCustomerInfo, a2 as CheckoutFormData, a3 as CheckoutInput, a4 as CheckoutMode, a8 as CheckoutOperations, a5 as CheckoutOrderType, a6 as CheckoutPaymentMethod, a7 as CheckoutResult, a8 as CheckoutService, a9 as CheckoutStatus, aa as CheckoutStatusContext, ab as CheckoutStep, ac as CimplifyClient, ad as CimplifyConfig, ae as CimplifyElement, af as CimplifyElements, ag as ContactType, ah as ContentType, ai as CreateAddressInput, aj as CreateMobileMoneyInput, ak as Customer, al as CustomerAddress, am as CustomerBooking, an as CustomerBookingServiceItem, ao as CustomerLinkPreferences, ap as CustomerMobileMoney, aq as CustomerServicePreferences, ar as DEFAULT_COUNTRY, as as DEFAULT_CURRENCY, at as DEVICE_TYPE, au as DayAvailability, av as DeliveryFeeDetails, aw as DeliveryFeeResponse, ax as DeliveryOption, ay as DeliveryOptionsResponse, az as DeliveryService, aA as DepositResult, aB as DeviceType, aC as DismissMessageResponse, aD as ELEMENTS_AUTH_CONTACT_TYPES, aE as ELEMENTS_AUTH_MODES, aF as ELEMENTS_AUTH_PROMPTS, aG as ELEMENT_TYPES, aH as EVENT_TYPES, aI as ElementAppearance, aJ as ElementEventHandler, aK as ElementEventType, aL as ElementOptions, aM as ElementType, aN as ElementsAuthContactType, aO as ElementsAuthMode, aP as ElementsAuthOptions, aQ as ElementsAuthPrompt, aR as ElementsCheckoutData, aS as ElementsCheckoutResult, aT as ElementsCustomerInfo, aU as ElementsOptions, aV as EnrichedOrder, aW as EnrichedOrderItem, aX as EnrollAndLinkOrderInput, aY as EnrollAndLinkOrderResult, aZ as EnrollmentData, a_ as Err, a$ as FeeBearerType, b0 as FetchQuoteInput, b1 as FulfillmentLink, b2 as FulfillmentStatus, b3 as FulfillmentSummaryDTO, b4 as FulfillmentType, b5 as FxQuote, b6 as FxQuoteRequest, b7 as FxQuoteStatus, b8 as FxRateResponse, b9 as FxService, ba as GetAvailableSlotsInput, bb as GetDeliveryOptionsParams, bc as GetOrdersOptions, bd as GetProductsOptions, be as GroupOrderInfo, bf as IframeToParentMessage, bg as InventoryService, bh as LINK_MUTATION, bi as LINK_QUERY, bj as LifecyclePhase, bk as LineItem, bl as LineType, bm as LinkData, bn as LinkEnrollResult, bo as LinkService, bp as LinkSession, bq as LinkStatusResult, br as LiteBootstrap, bs as LiteService, bt as Location, bu as LocationBooking, bv as LocationTaxBehavior, bw as LocationTaxOverrides, bx as LocationTimeProfile, by as LocationWithDetails, bz as MESSAGE_TYPES, bA as MOBILE_MONEY_PROVIDER, bB as MobileMoneyData, bC as MobileMoneyDetails, bD as MobileMoneyProvider, bE as NextAction, bF as ORDER_MUTATION, bG as ORDER_TYPE, bH as ObservabilityHooks, bI as Ok, bJ as Order, bK as OrderCustomerInfo, bL as OrderDiscountInfo, bM as OrderFilter, bN as OrderFulfillmentSummary, bO as OrderGroup, bP as OrderGroupDetails, bQ as OrderGroupPayment, bR as OrderGroupPaymentState, bS as OrderGroupPaymentStatus, bT as OrderGroupPaymentSummary, bU as OrderGroupStatus, bV as OrderHistory, bW as OrderLineState, bX as OrderLineStatus, bY as OrderLocationInfo, bZ as OrderPaymentEvent, b_ as OrderPricingView, b$ as OrderQueries, c0 as OrderSplitDetail, c1 as OrderStaffInfo, c2 as OrderStatus, c3 as OrderTimestampsDTO, c4 as OrderType, c5 as Origin, c6 as OriginActor, c7 as OriginChannel, c8 as OtpResult, c9 as PAYMENT_METHOD, ca as PAYMENT_MUTATION, cb as PAYMENT_STATE, cc as PICKUP_TIME_TYPE, cd as ParentToIframeMessage, ce as PaymentInfoDTO, cf as PaymentMethodInfo, cg as PaymentState, ch as PickupTime, ci as PickupTimeType, cj as PlaceDetailsResponse, ck as PlacesService, cl as PriceQuote, cm as PricingOverrides, cn as ProcessAndResolveOptions, co as ProcessCheckoutOptions, cp as ProcessCheckoutResult, cq as ProviderResolutionSource, cr as QuoteBundleSelectionInput, cs as QuoteCompositeSelectionInput, ct as QuoteDynamicBuckets, cu as QuoteStatus, cv as QuoteUiMessage, cw as ReadRequestOptions, cx as RefreshQuoteInput, cy as RefreshQuoteResult, cz as RefundOrderInput, cA as RelatedCandidate, cB as RelatedProduct, cC as RelatedProductsEnrichment, cD as RelationType, cE as ReminderMethod, cF as ReminderSettings, cG as ReorderResult, cH as RequestContext, cI as RequestErrorEvent, cJ as RequestOptions, cK as RequestOtpInput, cL as RequestSource, cM as RequestStartEvent, cN as RequestSuccessEvent, cO as RescheduleBookingInput, cP as RescheduleBookingResult, cQ as RescheduleHistoryRecord, cR as ResourceAssignment, cS as ResourceInfo, cT as Result, cU as RetryEvent, cV as RevokeAllSessionsResult, cW as RevokeSessionResult, cX as Room, cY as SchedulingMetadata, cZ as SchedulingResult, c_ as SchedulingService, c$ as SenderType, d0 as Service, d1 as ServiceAvailabilityParams, d2 as ServiceAvailabilityResult, d3 as ServiceCharge, d4 as ServiceNotes, d5 as ServiceScheduleRequest, d6 as ServiceStatus, d7 as SessionActivityData, d8 as SessionChangeEvent, d9 as SessionMessage, da as SlotResourceInfo, db as SlotStaffInfo, dc as Staff, dd as StaffAssignment, de as StaffRole, df as StaffScheduleItem, dg as StockLevel, dh as StockStatus, di as StoreCreditBalance, dj as StoreCreditQueries, dk as StorefrontBootstrap, dl as SubscriptionService, dm as SupportService, dn as Table, dp as TimeRange, dq as TimeRanges, dr as TimeSlot, ds as TrackCategoryViewOptions, dt as TrackProductViewOptions, du as UpdateAddressInput, dv as UpdateOrderStatusInput, dw as UpdateProfileInput, dx as UploadInitResponse, dy as UploadResult, dz as UploadService, dA as VerifyOtpInput, dB as combine, dC as combineObject, dD as createCimplifyClient, dE as createElements, dF as err, dG as flatMap, dH as fromPromise, dI as getOrElse, dJ as isErr, dK as isOk, dL as mapError, dM as mapResult, dN as ok, dO as toNullable, dP as tryCatch, dQ as unwrap } from './client-D8ZFs-sq.mjs';
2
+ import { bb as ProductWithDetails, j as ApiError } from './product-BakHcsP2.mjs';
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 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, av as DurationUnit, 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, aZ as Product, 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-BakHcsP2.mjs';
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-CmWOz9bi.mjs';
5
5
  export { A as AdConfig, a as AdContextValue, b as AdCreative, c as AdPosition, d as AdSlot, e as AdTheme, S as SignInOptions, g as getVariantDisplayName, s as startSignIn } from './sign-in-DQlIdqsi.mjs';
6
- export { A as AddressAuthorizationData, a as AuthorizationType, I as InitializePaymentResult, P as Payment, b as PaymentErrorDetails, c as PaymentMethod, d as PaymentMethodType, e as PaymentProcessingState, f as PaymentProvider, g as PaymentResponse, h as PaymentStatus, i as PaymentStatusResponse, S as SubmitAuthorizationInput } from './payment-TnJUoHqL.mjs';
7
- export { F as FormatCompactOptions, a as FormatPriceOptions, P as ProductWithPrice } from './price-CM0zVSyM.mjs';
6
+ export { A as AddressAuthorizationData, a as AuthorizationType, I as InitializePaymentResult, P as Payment, b as PaymentErrorDetails, c as PaymentMethod, d as PaymentMethodType, e as PaymentProcessingState, f as PaymentProvider, g as PaymentResponse, h as PaymentStatus, i as PaymentStatusResponse, S as SubmitAuthorizationInput } from './payment-Dcgb9n1n.mjs';
7
+ export { F as FormatCompactOptions, a as FormatPriceOptions, P as ProductWithPrice } from './price--Ma_WO5_.mjs';
8
8
  export { generateIdempotencyKey } from './advanced.mjs';
9
9
  import 'libphonenumber-js';
10
10
 
package/dist/index.d.ts CHANGED
@@ -1,10 +1,10 @@
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 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, X as ChatWidgetStarter, Y as CheckSlotAvailabilityInput, Z as CheckSlotAvailabilityResult, _ as CheckoutAddressInfo, $ as CheckoutCartData, a0 as CheckoutCartItem, a1 as CheckoutCustomerInfo, a2 as CheckoutFormData, a3 as CheckoutInput, a4 as CheckoutMode, a8 as CheckoutOperations, a5 as CheckoutOrderType, a6 as CheckoutPaymentMethod, a7 as CheckoutResult, a8 as CheckoutService, a9 as CheckoutStatus, aa as CheckoutStatusContext, ab as CheckoutStep, ac as CimplifyClient, ad as CimplifyConfig, ae as CimplifyElement, af as CimplifyElements, ag as ContactType, ah as ContentType, ai as CreateAddressInput, aj as CreateMobileMoneyInput, ak as Customer, al as CustomerAddress, am as CustomerBooking, an as CustomerBookingServiceItem, ao as CustomerLinkPreferences, ap as CustomerMobileMoney, aq as CustomerServicePreferences, ar as DEFAULT_COUNTRY, as as DEFAULT_CURRENCY, at as DEVICE_TYPE, au as DayAvailability, av as DeliveryFeeDetails, aw as DeliveryFeeResponse, ax as DeliveryOption, ay as DeliveryOptionsResponse, az as DeliveryService, aA as DepositResult, aB as DeviceType, aC as DismissMessageResponse, aD as ELEMENTS_AUTH_CONTACT_TYPES, aE as ELEMENTS_AUTH_MODES, aF as ELEMENTS_AUTH_PROMPTS, aG as ELEMENT_TYPES, aH as EVENT_TYPES, aI as ElementAppearance, aJ as ElementEventHandler, aK as ElementEventType, aL as ElementOptions, aM as ElementType, aN as ElementsAuthContactType, aO as ElementsAuthMode, aP as ElementsAuthOptions, aQ as ElementsAuthPrompt, aR as ElementsCheckoutData, aS as ElementsCheckoutResult, aT as ElementsCustomerInfo, aU as ElementsOptions, aV as EnrichedOrder, aW as EnrichedOrderItem, aX as EnrollAndLinkOrderInput, aY as EnrollAndLinkOrderResult, aZ as EnrollmentData, a_ as Err, a$ as FeeBearerType, b0 as FetchQuoteInput, b1 as FulfillmentLink, b2 as FulfillmentStatus, b3 as FulfillmentSummaryDTO, b4 as FulfillmentType, b5 as FxQuote, b6 as FxQuoteRequest, b7 as FxQuoteStatus, b8 as FxRateResponse, b9 as FxService, ba as GetAvailableSlotsInput, bb as GetDeliveryOptionsParams, bc as GetOrdersOptions, bd as GetProductsOptions, be as GroupOrderInfo, bf as IframeToParentMessage, bg as InventoryService, bh as LINK_MUTATION, bi as LINK_QUERY, bj as LifecyclePhase, bk as LineItem, bl as LineType, bm as LinkData, bn as LinkEnrollResult, bo as LinkService, bp as LinkSession, bq as LinkStatusResult, br as LiteBootstrap, bs as LiteService, bt as Location, bu as LocationBooking, bv as LocationTaxBehavior, bw as LocationTaxOverrides, bx as LocationTimeProfile, by as LocationWithDetails, bz as MESSAGE_TYPES, bA as MOBILE_MONEY_PROVIDER, bB as MobileMoneyData, bC as MobileMoneyDetails, bD as MobileMoneyProvider, bE as NextAction, bF as ORDER_MUTATION, bG as ORDER_TYPE, bH as ObservabilityHooks, bI as Ok, bJ as Order, bK as OrderCustomerInfo, bL as OrderDiscountInfo, bM as OrderFilter, bN as OrderFulfillmentSummary, bO as OrderGroup, bP as OrderGroupDetails, bQ as OrderGroupPayment, bR as OrderGroupPaymentState, bS as OrderGroupPaymentStatus, bT as OrderGroupPaymentSummary, bU as OrderGroupStatus, bV as OrderHistory, bW as OrderLineState, bX as OrderLineStatus, bY as OrderLocationInfo, bZ as OrderPaymentEvent, b_ as OrderPricingView, b$ as OrderQueries, c0 as OrderSplitDetail, c1 as OrderStaffInfo, c2 as OrderStatus, c3 as OrderTimestampsDTO, c4 as OrderType, c5 as Origin, c6 as OriginActor, c7 as OriginChannel, c8 as OtpResult, c9 as PAYMENT_METHOD, ca as PAYMENT_MUTATION, cb as PAYMENT_STATE, cc as PICKUP_TIME_TYPE, cd as ParentToIframeMessage, ce as PaymentInfoDTO, cf as PaymentMethodInfo, cg as PaymentState, ch as PickupTime, ci as PickupTimeType, cj as PlaceDetailsResponse, ck as PlacesService, cl as PriceQuote, cm as PricingOverrides, cn as ProcessAndResolveOptions, co as ProcessCheckoutOptions, cp as ProcessCheckoutResult, cq as ProviderResolutionSource, cr as QuoteBundleSelectionInput, cs as QuoteCompositeSelectionInput, ct as QuoteDynamicBuckets, cu as QuoteStatus, cv as QuoteUiMessage, cw as ReadRequestOptions, cx as RefreshQuoteInput, cy as RefreshQuoteResult, cz as RefundOrderInput, cA as RelatedCandidate, cB as RelatedProduct, cC as RelatedProductsEnrichment, cD as RelationType, cE as ReminderMethod, cF as ReminderSettings, cG as ReorderResult, cH as RequestContext, cI as RequestErrorEvent, cJ as RequestOptions, cK as RequestOtpInput, cL as RequestSource, cM as RequestStartEvent, cN as RequestSuccessEvent, cO as RescheduleBookingInput, cP as RescheduleBookingResult, cQ as RescheduleHistoryRecord, cR as ResourceAssignment, cS as ResourceInfo, cT as Result, cU as RetryEvent, cV as RevokeAllSessionsResult, cW as RevokeSessionResult, cX as Room, cY as SchedulingMetadata, cZ as SchedulingResult, c_ as SchedulingService, c$ as SenderType, d0 as Service, d1 as ServiceAvailabilityParams, d2 as ServiceAvailabilityResult, d3 as ServiceCharge, d4 as ServiceNotes, d5 as ServiceScheduleRequest, d6 as ServiceStatus, d7 as SessionActivityData, d8 as SessionChangeEvent, d9 as SessionMessage, da as SlotResourceInfo, db as SlotStaffInfo, dc as Staff, dd as StaffAssignment, de as StaffRole, df as StaffScheduleItem, dg as StockLevel, dh as StockStatus, di as StoreCreditBalance, dj as StoreCreditQueries, dk as StorefrontBootstrap, dl as SubscriptionService, dm as SupportService, dn as Table, dp as TimeRange, dq as TimeRanges, dr as TimeSlot, ds as TrackCategoryViewOptions, dt as TrackProductViewOptions, du as UpdateAddressInput, dv as UpdateOrderStatusInput, dw as UpdateProfileInput, dx as UploadInitResponse, dy as UploadResult, dz as UploadService, dA as VerifyOtpInput, dB as combine, dC as combineObject, dD as createCimplifyClient, dE as createElements, dF as err, dG as flatMap, dH as fromPromise, dI as getOrElse, dJ as isErr, dK as isOk, dL as mapError, dM as mapResult, dN as ok, dO as toNullable, dP as tryCatch, dQ as unwrap } from './client-D0PrO1-Q.js';
2
- import { bb as ProductWithDetails, j as ApiError } from './product-DoA36Eqh.js';
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 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, av as DurationUnit, 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, aZ as Product, 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-DoA36Eqh.js';
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-C-Pxrzna.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 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, X as ChatWidgetStarter, Y as CheckSlotAvailabilityInput, Z as CheckSlotAvailabilityResult, _ as CheckoutAddressInfo, $ as CheckoutCartData, a0 as CheckoutCartItem, a1 as CheckoutCustomerInfo, a2 as CheckoutFormData, a3 as CheckoutInput, a4 as CheckoutMode, a8 as CheckoutOperations, a5 as CheckoutOrderType, a6 as CheckoutPaymentMethod, a7 as CheckoutResult, a8 as CheckoutService, a9 as CheckoutStatus, aa as CheckoutStatusContext, ab as CheckoutStep, ac as CimplifyClient, ad as CimplifyConfig, ae as CimplifyElement, af as CimplifyElements, ag as ContactType, ah as ContentType, ai as CreateAddressInput, aj as CreateMobileMoneyInput, ak as Customer, al as CustomerAddress, am as CustomerBooking, an as CustomerBookingServiceItem, ao as CustomerLinkPreferences, ap as CustomerMobileMoney, aq as CustomerServicePreferences, ar as DEFAULT_COUNTRY, as as DEFAULT_CURRENCY, at as DEVICE_TYPE, au as DayAvailability, av as DeliveryFeeDetails, aw as DeliveryFeeResponse, ax as DeliveryOption, ay as DeliveryOptionsResponse, az as DeliveryService, aA as DepositResult, aB as DeviceType, aC as DismissMessageResponse, aD as ELEMENTS_AUTH_CONTACT_TYPES, aE as ELEMENTS_AUTH_MODES, aF as ELEMENTS_AUTH_PROMPTS, aG as ELEMENT_TYPES, aH as EVENT_TYPES, aI as ElementAppearance, aJ as ElementEventHandler, aK as ElementEventType, aL as ElementOptions, aM as ElementType, aN as ElementsAuthContactType, aO as ElementsAuthMode, aP as ElementsAuthOptions, aQ as ElementsAuthPrompt, aR as ElementsCheckoutData, aS as ElementsCheckoutResult, aT as ElementsCustomerInfo, aU as ElementsOptions, aV as EnrichedOrder, aW as EnrichedOrderItem, aX as EnrollAndLinkOrderInput, aY as EnrollAndLinkOrderResult, aZ as EnrollmentData, a_ as Err, a$ as FeeBearerType, b0 as FetchQuoteInput, b1 as FulfillmentLink, b2 as FulfillmentStatus, b3 as FulfillmentSummaryDTO, b4 as FulfillmentType, b5 as FxQuote, b6 as FxQuoteRequest, b7 as FxQuoteStatus, b8 as FxRateResponse, b9 as FxService, ba as GetAvailableSlotsInput, bb as GetDeliveryOptionsParams, bc as GetOrdersOptions, bd as GetProductsOptions, be as GroupOrderInfo, bf as IframeToParentMessage, bg as InventoryService, bh as LINK_MUTATION, bi as LINK_QUERY, bj as LifecyclePhase, bk as LineItem, bl as LineType, bm as LinkData, bn as LinkEnrollResult, bo as LinkService, bp as LinkSession, bq as LinkStatusResult, br as LiteBootstrap, bs as LiteService, bt as Location, bu as LocationBooking, bv as LocationTaxBehavior, bw as LocationTaxOverrides, bx as LocationTimeProfile, by as LocationWithDetails, bz as MESSAGE_TYPES, bA as MOBILE_MONEY_PROVIDER, bB as MobileMoneyData, bC as MobileMoneyDetails, bD as MobileMoneyProvider, bE as NextAction, bF as ORDER_MUTATION, bG as ORDER_TYPE, bH as ObservabilityHooks, bI as Ok, bJ as Order, bK as OrderCustomerInfo, bL as OrderDiscountInfo, bM as OrderFilter, bN as OrderFulfillmentSummary, bO as OrderGroup, bP as OrderGroupDetails, bQ as OrderGroupPayment, bR as OrderGroupPaymentState, bS as OrderGroupPaymentStatus, bT as OrderGroupPaymentSummary, bU as OrderGroupStatus, bV as OrderHistory, bW as OrderLineState, bX as OrderLineStatus, bY as OrderLocationInfo, bZ as OrderPaymentEvent, b_ as OrderPricingView, b$ as OrderQueries, c0 as OrderSplitDetail, c1 as OrderStaffInfo, c2 as OrderStatus, c3 as OrderTimestampsDTO, c4 as OrderType, c5 as Origin, c6 as OriginActor, c7 as OriginChannel, c8 as OtpResult, c9 as PAYMENT_METHOD, ca as PAYMENT_MUTATION, cb as PAYMENT_STATE, cc as PICKUP_TIME_TYPE, cd as ParentToIframeMessage, ce as PaymentInfoDTO, cf as PaymentMethodInfo, cg as PaymentState, ch as PickupTime, ci as PickupTimeType, cj as PlaceDetailsResponse, ck as PlacesService, cl as PriceQuote, cm as PricingOverrides, cn as ProcessAndResolveOptions, co as ProcessCheckoutOptions, cp as ProcessCheckoutResult, cq as ProviderResolutionSource, cr as QuoteBundleSelectionInput, cs as QuoteCompositeSelectionInput, ct as QuoteDynamicBuckets, cu as QuoteStatus, cv as QuoteUiMessage, cw as ReadRequestOptions, cx as RefreshQuoteInput, cy as RefreshQuoteResult, cz as RefundOrderInput, cA as RelatedCandidate, cB as RelatedProduct, cC as RelatedProductsEnrichment, cD as RelationType, cE as ReminderMethod, cF as ReminderSettings, cG as ReorderResult, cH as RequestContext, cI as RequestErrorEvent, cJ as RequestOptions, cK as RequestOtpInput, cL as RequestSource, cM as RequestStartEvent, cN as RequestSuccessEvent, cO as RescheduleBookingInput, cP as RescheduleBookingResult, cQ as RescheduleHistoryRecord, cR as ResourceAssignment, cS as ResourceInfo, cT as Result, cU as RetryEvent, cV as RevokeAllSessionsResult, cW as RevokeSessionResult, cX as Room, cY as SchedulingMetadata, cZ as SchedulingResult, c_ as SchedulingService, c$ as SenderType, d0 as Service, d1 as ServiceAvailabilityParams, d2 as ServiceAvailabilityResult, d3 as ServiceCharge, d4 as ServiceNotes, d5 as ServiceScheduleRequest, d6 as ServiceStatus, d7 as SessionActivityData, d8 as SessionChangeEvent, d9 as SessionMessage, da as SlotResourceInfo, db as SlotStaffInfo, dc as Staff, dd as StaffAssignment, de as StaffRole, df as StaffScheduleItem, dg as StockLevel, dh as StockStatus, di as StoreCreditBalance, dj as StoreCreditQueries, dk as StorefrontBootstrap, dl as SubscriptionService, dm as SupportService, dn as Table, dp as TimeRange, dq as TimeRanges, dr as TimeSlot, ds as TrackCategoryViewOptions, dt as TrackProductViewOptions, du as UpdateAddressInput, dv as UpdateOrderStatusInput, dw as UpdateProfileInput, dx as UploadInitResponse, dy as UploadResult, dz as UploadService, dA as VerifyOtpInput, dB as combine, dC as combineObject, dD as createCimplifyClient, dE as createElements, dF as err, dG as flatMap, dH as fromPromise, dI as getOrElse, dJ as isErr, dK as isOk, dL as mapError, dM as mapResult, dN as ok, dO as toNullable, dP as tryCatch, dQ as unwrap } from './client-CqZgdUtw.js';
2
+ import { bb as ProductWithDetails, j as ApiError } from './product-BakHcsP2.js';
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 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, av as DurationUnit, 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, aZ as Product, 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-BakHcsP2.js';
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-Bc5qUxAt.js';
5
5
  export { A as AdConfig, a as AdContextValue, b as AdCreative, c as AdPosition, d as AdSlot, e as AdTheme, S as SignInOptions, g as getVariantDisplayName, s as startSignIn } from './sign-in-DQlIdqsi.js';
6
- export { A as AddressAuthorizationData, a as AuthorizationType, I as InitializePaymentResult, P as Payment, b as PaymentErrorDetails, c as PaymentMethod, d as PaymentMethodType, e as PaymentProcessingState, f as PaymentProvider, g as PaymentResponse, h as PaymentStatus, i as PaymentStatusResponse, S as SubmitAuthorizationInput } from './payment-Cfoo9MT7.js';
7
- export { F as FormatCompactOptions, a as FormatPriceOptions, P as ProductWithPrice } from './price-CCDSrIsc.js';
6
+ export { A as AddressAuthorizationData, a as AuthorizationType, I as InitializePaymentResult, P as Payment, b as PaymentErrorDetails, c as PaymentMethod, d as PaymentMethodType, e as PaymentProcessingState, f as PaymentProvider, g as PaymentResponse, h as PaymentStatus, i as PaymentStatusResponse, S as SubmitAuthorizationInput } from './payment-Xq0WDZXh.js';
7
+ export { F as FormatCompactOptions, a as FormatPriceOptions, P as ProductWithPrice } from './price-DAAjKgAp.js';
8
8
  export { generateIdempotencyKey } from './advanced.js';
9
9
  import 'libphonenumber-js';
10
10
 
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  var chunkT7Z25EY4_js = require('./chunk-T7Z25EY4.js');
4
4
  var chunkL5GKVQVJ_js = require('./chunk-L5GKVQVJ.js');
5
- var chunkW5BVGAO6_js = require('./chunk-W5BVGAO6.js');
5
+ var chunkT2CJ67QV_js = require('./chunk-T2CJ67QV.js');
6
6
  var chunkGHFDYM5K_js = require('./chunk-GHFDYM5K.js');
7
7
  var chunkPTPOQVXS_js = require('./chunk-PTPOQVXS.js');
8
8
  var chunkAETVRBKI_js = require('./chunk-AETVRBKI.js');
@@ -159,39 +159,39 @@ Object.defineProperty(exports, "resolvePhoneCountryCode", {
159
159
  });
160
160
  Object.defineProperty(exports, "ActivityService", {
161
161
  enumerable: true,
162
- get: function () { return chunkW5BVGAO6_js.ActivityService; }
162
+ get: function () { return chunkT2CJ67QV_js.ActivityService; }
163
163
  });
164
164
  Object.defineProperty(exports, "CimplifyClient", {
165
165
  enumerable: true,
166
- get: function () { return chunkW5BVGAO6_js.CimplifyClient; }
166
+ get: function () { return chunkT2CJ67QV_js.CimplifyClient; }
167
167
  });
168
168
  Object.defineProperty(exports, "DeliveryService", {
169
169
  enumerable: true,
170
- get: function () { return chunkW5BVGAO6_js.DeliveryService; }
170
+ get: function () { return chunkT2CJ67QV_js.DeliveryService; }
171
171
  });
172
172
  Object.defineProperty(exports, "PlacesService", {
173
173
  enumerable: true,
174
- get: function () { return chunkW5BVGAO6_js.PlacesService; }
174
+ get: function () { return chunkT2CJ67QV_js.PlacesService; }
175
175
  });
176
176
  Object.defineProperty(exports, "StoreCreditQueries", {
177
177
  enumerable: true,
178
- get: function () { return chunkW5BVGAO6_js.StoreCreditQueries; }
178
+ get: function () { return chunkT2CJ67QV_js.StoreCreditQueries; }
179
179
  });
180
180
  Object.defineProperty(exports, "SubscriptionService", {
181
181
  enumerable: true,
182
- get: function () { return chunkW5BVGAO6_js.SubscriptionService; }
182
+ get: function () { return chunkT2CJ67QV_js.SubscriptionService; }
183
183
  });
184
184
  Object.defineProperty(exports, "SupportService", {
185
185
  enumerable: true,
186
- get: function () { return chunkW5BVGAO6_js.SupportService; }
186
+ get: function () { return chunkT2CJ67QV_js.SupportService; }
187
187
  });
188
188
  Object.defineProperty(exports, "UploadService", {
189
189
  enumerable: true,
190
- get: function () { return chunkW5BVGAO6_js.UploadService; }
190
+ get: function () { return chunkT2CJ67QV_js.UploadService; }
191
191
  });
192
192
  Object.defineProperty(exports, "createCimplifyClient", {
193
193
  enumerable: true,
194
- get: function () { return chunkW5BVGAO6_js.createCimplifyClient; }
194
+ get: function () { return chunkT2CJ67QV_js.createCimplifyClient; }
195
195
  });
196
196
  Object.defineProperty(exports, "AUTHORIZATION_TYPE", {
197
197
  enumerable: true,
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  export { BOUNDARY_KIND, CIMPLIFY_CDN_HOSTS, DEFAULT_CDN_BASE_URL, DURATION_UNIT, INPUT_FIELD_TYPE, PRODUCT_TYPE, RENDER_HINT, allGalleryImages, assetUrl, getVariantDisplayName, isCimplifyAsset, resolveGallery } from './chunk-OZDDHSIB.mjs';
2
2
  export { isValidPhoneForContext, normalizePhoneToE164, resolvePhoneCountryCode } from './chunk-YOIVZ6OA.mjs';
3
- export { ActivityService, CimplifyClient, DeliveryService, PlacesService, StoreCreditQueries, SubscriptionService, SupportService, UploadService, createCimplifyClient } from './chunk-A7NODD4Q.mjs';
3
+ export { ActivityService, CimplifyClient, DeliveryService, PlacesService, StoreCreditQueries, SubscriptionService, SupportService, UploadService, createCimplifyClient } from './chunk-DENWOZEA.mjs';
4
4
  import { getAuthorizationEndpoint, DEFAULT_ISSUER, generatePkce, generateState } from './chunk-ZU4ZRYUR.mjs';
5
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-ZU4ZRYUR.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-KFLGQGMC.mjs';
@@ -1,4 +1,4 @@
1
- import { aO as Money, ad as CurrencyCode } from './product-DoA36Eqh.mjs';
1
+ import { aO as Money, ad as CurrencyCode } from './product-BakHcsP2.mjs';
2
2
 
3
3
  type PaymentStatus = "initialized" | "pending" | "processing" | "authorized" | "captured" | "failed" | "cancelled" | "refunded" | "unknown" | "voided" | "requires_action" | "abandoned" | "reversed" | "disputed" | "refund_pending";
4
4
  type PaymentProvider = "stripe" | "paystack" | "cellulant" | "mtn_momo" | "offline" | "mtn" | "vodafone" | "airtel" | "cash" | "manual";
@@ -1,4 +1,4 @@
1
- import { aO as Money, ad as CurrencyCode } from './product-DoA36Eqh.js';
1
+ import { aO as Money, ad as CurrencyCode } from './product-BakHcsP2.js';
2
2
 
3
3
  type PaymentStatus = "initialized" | "pending" | "processing" | "authorized" | "captured" | "failed" | "cancelled" | "refunded" | "unknown" | "voided" | "requires_action" | "abandoned" | "reversed" | "disputed" | "refund_pending";
4
4
  type PaymentProvider = "stripe" | "paystack" | "cellulant" | "mtn_momo" | "offline" | "mtn" | "vodafone" | "airtel" | "cash" | "manual";
@@ -1,4 +1,4 @@
1
- import { ad as CurrencyCode, U as ChosenPrice, bi as SaleInfo, bD as UpcomingSale } from './product-DoA36Eqh.mjs';
1
+ import { ad as CurrencyCode, U as ChosenPrice, bi as SaleInfo, bD as UpcomingSale } from './product-BakHcsP2.mjs';
2
2
 
3
3
  interface ProductWithPrice {
4
4
  price_info?: ChosenPrice;
@@ -1,4 +1,4 @@
1
- import { ad as CurrencyCode, U as ChosenPrice, bi as SaleInfo, bD as UpcomingSale } from './product-DoA36Eqh.js';
1
+ import { ad as CurrencyCode, U as ChosenPrice, bi as SaleInfo, bD as UpcomingSale } from './product-BakHcsP2.js';
2
2
 
3
3
  interface ProductWithPrice {
4
4
  price_info?: ChosenPrice;