@cimplify/sdk 0.106.2 → 0.107.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 (58) hide show
  1. package/dist/advanced.d.mts +3 -3
  2. package/dist/advanced.d.ts +3 -3
  3. package/dist/advanced.js +20 -20
  4. package/dist/advanced.mjs +1 -1
  5. package/dist/{catalogue-ChBjPPME.d.ts → catalogue-BohD-jU_.d.mts} +44 -38
  6. package/dist/{catalogue-CVKH9faR.d.mts → catalogue-C4xKpirp.d.ts} +44 -38
  7. package/dist/{chunk-T3MXI7JD.mjs → chunk-2I6YKE6Q.mjs} +85 -126
  8. package/dist/{chunk-7O2BBPDM.js → chunk-73HY36Z7.js} +4 -4
  9. package/dist/{chunk-B7JH5D3J.js → chunk-HKCB73AJ.js} +85 -126
  10. package/dist/{chunk-4VTFTLH7.mjs → chunk-IWZKCL3P.mjs} +2 -2
  11. package/dist/{chunk-L4XKIMUO.mjs → chunk-MKZXZDHE.mjs} +17 -0
  12. package/dist/{chunk-NJK3THWT.js → chunk-NX5YBQZP.js} +17 -0
  13. package/dist/{chunk-LJAZ7H4I.mjs → chunk-P4HYAV3L.mjs} +102 -82
  14. package/dist/{chunk-BCLGREHS.js → chunk-W4ZFZPPY.js} +181 -160
  15. package/dist/{client-BfKFK7cn.d.mts → client-BBFfAtn4.d.mts} +2 -2
  16. package/dist/{client-DoczTJbs.d.ts → client-ByURQZM9.d.ts} +2 -2
  17. package/dist/{checkout-XoV4HNg2.d.mts → elements-Dtqe9Ekd.d.mts} +348 -361
  18. package/dist/{checkout-XoV4HNg2.d.ts → elements-Dtqe9Ekd.d.ts} +348 -361
  19. package/dist/{index-DEUorPUO.d.mts → index-7oz-hVVA.d.mts} +2 -2
  20. package/dist/{index-DRMBo26v.d.mts → index-B6mukQYB.d.mts} +2 -2
  21. package/dist/{index-Dn6xCpDe.d.ts → index-CvLuAMjQ.d.ts} +2 -2
  22. package/dist/{index-DweR60Cv.d.ts → index-DFqDU6yU.d.ts} +2 -2
  23. package/dist/index.d.mts +7 -7
  24. package/dist/index.d.ts +7 -7
  25. package/dist/index.js +71 -67
  26. package/dist/index.mjs +3 -3
  27. package/dist/mock/cli.mjs +17 -0
  28. package/dist/mock/library.js +17 -0
  29. package/dist/mock/library.mjs +17 -0
  30. package/dist/mock/msw.js +17 -0
  31. package/dist/mock/msw.mjs +17 -0
  32. package/dist/{price-De-sxcuj.d.ts → price-B4jL81ef.d.ts} +1 -1
  33. package/dist/{price-CUGIYRtD.d.mts → price-Pyq-vlrm.d.mts} +1 -1
  34. package/dist/react.d.mts +3 -3
  35. package/dist/react.d.ts +3 -3
  36. package/dist/react.js +34 -34
  37. package/dist/react.mjs +5 -5
  38. package/dist/{server-7soMMUgP.d.ts → server-Cowuvfbr.d.ts} +1 -1
  39. package/dist/{server-DDEJ7e9s.d.mts → server-KilvZJU0.d.mts} +1 -1
  40. package/dist/server.d.mts +3 -3
  41. package/dist/server.d.ts +3 -3
  42. package/dist/server.js +7 -7
  43. package/dist/server.mjs +2 -2
  44. package/dist/testing/msw.d.mts +2 -2
  45. package/dist/testing/msw.d.ts +2 -2
  46. package/dist/testing/msw.js +2 -2
  47. package/dist/testing/msw.mjs +1 -1
  48. package/dist/testing/suite.d.mts +5 -5
  49. package/dist/testing/suite.d.ts +5 -5
  50. package/dist/testing/suite.js +24 -24
  51. package/dist/testing/suite.mjs +4 -4
  52. package/dist/testing.d.mts +4 -4
  53. package/dist/testing.d.ts +4 -4
  54. package/dist/testing.js +116 -116
  55. package/dist/testing.mjs +5 -5
  56. package/dist/utils.d.mts +3 -3
  57. package/dist/utils.d.ts +3 -3
  58. package/package.json +1 -1
@@ -1,3 +1,3 @@
1
- export { j as AuthService, y as BusinessService, J as CartOperations, K as CatalogueQueries, _ as CheckoutOperations, _ as CheckoutService, a0 as CimplifyElement, a1 as CimplifyElements, ao as FetchQuoteInput, ax as FxService, aB as GetProductsOptions, aE as InventoryService, aI as LinkService, aM as LiteService, bb as OrderQueries, bs as PriceQuote, bC as QuoteBundleSelectionInput, bD as QuoteCompositeSelectionInput, bE as QuoteDynamicBuckets, bF as QuoteStatus, bG as QuoteUiMessage, bH as RefreshQuoteInput, bI as RefreshQuoteResult, c6 as SchedulingService, cL as createElements } from './catalogue-CVKH9faR.mjs';
2
- export { bQ as ELEMENT_TYPES, bS as EVENT_TYPES, bV as ElementEventType, bW as ElementOptions, bX as ElementType, c0 as ElementsCheckoutData, c1 as ElementsCheckoutResult, c3 as ElementsOptions, cg as IframeToParentMessage, cy as MESSAGE_TYPES, df as ParentToIframeMessage } from './checkout-XoV4HNg2.mjs';
3
- export { g as generateIdempotencyKey } from './index-DEUorPUO.mjs';
1
+ export { j as AuthService, y as BusinessService, J as CartOperations, K as CatalogueQueries, _ as CheckoutOperations, _ as CheckoutService, a0 as CimplifyElement, a1 as CimplifyElements, ao as FetchQuoteInput, ax as FxService, aB as GetProductsOptions, aE as InventoryService, aI as LinkService, aM as LiteService, bb as OrderQueries, bs as PriceQuote, bC as QuoteBundleSelectionInput, bD as QuoteCompositeSelectionInput, bE as QuoteDynamicBuckets, bF as QuoteStatus, bG as QuoteUiMessage, bH as RefreshQuoteInput, bI as RefreshQuoteResult, c6 as SchedulingService, cM as createElements } from './catalogue-BohD-jU_.mjs';
2
+ export { bR as ELEMENT_TYPES, bT as EVENT_TYPES, bW as ElementEventType, bX as ElementOptions, bY as ElementType, c1 as ElementsCheckoutData, c2 as ElementsCheckoutResult, c4 as ElementsOptions, ch as IframeToParentMessage, cz as MESSAGE_TYPES, dg as ParentToIframeMessage } from './elements-Dtqe9Ekd.mjs';
3
+ export { g as generateIdempotencyKey } from './index-7oz-hVVA.mjs';
@@ -1,3 +1,3 @@
1
- export { j as AuthService, y as BusinessService, J as CartOperations, K as CatalogueQueries, _ as CheckoutOperations, _ as CheckoutService, a0 as CimplifyElement, a1 as CimplifyElements, ao as FetchQuoteInput, ax as FxService, aB as GetProductsOptions, aE as InventoryService, aI as LinkService, aM as LiteService, bb as OrderQueries, bs as PriceQuote, bC as QuoteBundleSelectionInput, bD as QuoteCompositeSelectionInput, bE as QuoteDynamicBuckets, bF as QuoteStatus, bG as QuoteUiMessage, bH as RefreshQuoteInput, bI as RefreshQuoteResult, c6 as SchedulingService, cL as createElements } from './catalogue-ChBjPPME.js';
2
- export { bQ as ELEMENT_TYPES, bS as EVENT_TYPES, bV as ElementEventType, bW as ElementOptions, bX as ElementType, c0 as ElementsCheckoutData, c1 as ElementsCheckoutResult, c3 as ElementsOptions, cg as IframeToParentMessage, cy as MESSAGE_TYPES, df as ParentToIframeMessage } from './checkout-XoV4HNg2.js';
3
- export { g as generateIdempotencyKey } from './index-Dn6xCpDe.js';
1
+ export { j as AuthService, y as BusinessService, J as CartOperations, K as CatalogueQueries, _ as CheckoutOperations, _ as CheckoutService, a0 as CimplifyElement, a1 as CimplifyElements, ao as FetchQuoteInput, ax as FxService, aB as GetProductsOptions, aE as InventoryService, aI as LinkService, aM as LiteService, bb as OrderQueries, bs as PriceQuote, bC as QuoteBundleSelectionInput, bD as QuoteCompositeSelectionInput, bE as QuoteDynamicBuckets, bF as QuoteStatus, bG as QuoteUiMessage, bH as RefreshQuoteInput, bI as RefreshQuoteResult, c6 as SchedulingService, cM as createElements } from './catalogue-C4xKpirp.js';
2
+ export { bR as ELEMENT_TYPES, bT as EVENT_TYPES, bW as ElementEventType, bX as ElementOptions, bY as ElementType, c1 as ElementsCheckoutData, c2 as ElementsCheckoutResult, c4 as ElementsOptions, ch as IframeToParentMessage, cz as MESSAGE_TYPES, dg as ParentToIframeMessage } from './elements-Dtqe9Ekd.js';
3
+ export { g as generateIdempotencyKey } from './index-CvLuAMjQ.js';
package/dist/advanced.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkB7JH5D3J_js = require('./chunk-B7JH5D3J.js');
3
+ var chunkHKCB73AJ_js = require('./chunk-HKCB73AJ.js');
4
4
  require('./chunk-EV2EVOYS.js');
5
5
  require('./chunk-UYFTOIFW.js');
6
6
  require('./chunk-AVXA4F6G.js');
@@ -10,77 +10,77 @@ require('./chunk-OWW5GUSB.js');
10
10
 
11
11
  Object.defineProperty(exports, "AuthService", {
12
12
  enumerable: true,
13
- get: function () { return chunkB7JH5D3J_js.AuthService; }
13
+ get: function () { return chunkHKCB73AJ_js.AuthService; }
14
14
  });
15
15
  Object.defineProperty(exports, "BusinessService", {
16
16
  enumerable: true,
17
- get: function () { return chunkB7JH5D3J_js.BusinessService; }
17
+ get: function () { return chunkHKCB73AJ_js.BusinessService; }
18
18
  });
19
19
  Object.defineProperty(exports, "CartOperations", {
20
20
  enumerable: true,
21
- get: function () { return chunkB7JH5D3J_js.CartOperations; }
21
+ get: function () { return chunkHKCB73AJ_js.CartOperations; }
22
22
  });
23
23
  Object.defineProperty(exports, "CatalogueQueries", {
24
24
  enumerable: true,
25
- get: function () { return chunkB7JH5D3J_js.CatalogueQueries; }
25
+ get: function () { return chunkHKCB73AJ_js.CatalogueQueries; }
26
26
  });
27
27
  Object.defineProperty(exports, "CheckoutOperations", {
28
28
  enumerable: true,
29
- get: function () { return chunkB7JH5D3J_js.CheckoutService; }
29
+ get: function () { return chunkHKCB73AJ_js.CheckoutService; }
30
30
  });
31
31
  Object.defineProperty(exports, "CheckoutService", {
32
32
  enumerable: true,
33
- get: function () { return chunkB7JH5D3J_js.CheckoutService; }
33
+ get: function () { return chunkHKCB73AJ_js.CheckoutService; }
34
34
  });
35
35
  Object.defineProperty(exports, "CimplifyElement", {
36
36
  enumerable: true,
37
- get: function () { return chunkB7JH5D3J_js.CimplifyElement; }
37
+ get: function () { return chunkHKCB73AJ_js.CimplifyElement; }
38
38
  });
39
39
  Object.defineProperty(exports, "CimplifyElements", {
40
40
  enumerable: true,
41
- get: function () { return chunkB7JH5D3J_js.CimplifyElements; }
41
+ get: function () { return chunkHKCB73AJ_js.CimplifyElements; }
42
42
  });
43
43
  Object.defineProperty(exports, "ELEMENT_TYPES", {
44
44
  enumerable: true,
45
- get: function () { return chunkB7JH5D3J_js.ELEMENT_TYPES; }
45
+ get: function () { return chunkHKCB73AJ_js.ELEMENT_TYPES; }
46
46
  });
47
47
  Object.defineProperty(exports, "EVENT_TYPES", {
48
48
  enumerable: true,
49
- get: function () { return chunkB7JH5D3J_js.EVENT_TYPES; }
49
+ get: function () { return chunkHKCB73AJ_js.EVENT_TYPES; }
50
50
  });
51
51
  Object.defineProperty(exports, "FxService", {
52
52
  enumerable: true,
53
- get: function () { return chunkB7JH5D3J_js.FxService; }
53
+ get: function () { return chunkHKCB73AJ_js.FxService; }
54
54
  });
55
55
  Object.defineProperty(exports, "InventoryService", {
56
56
  enumerable: true,
57
- get: function () { return chunkB7JH5D3J_js.InventoryService; }
57
+ get: function () { return chunkHKCB73AJ_js.InventoryService; }
58
58
  });
59
59
  Object.defineProperty(exports, "LinkService", {
60
60
  enumerable: true,
61
- get: function () { return chunkB7JH5D3J_js.LinkService; }
61
+ get: function () { return chunkHKCB73AJ_js.LinkService; }
62
62
  });
63
63
  Object.defineProperty(exports, "LiteService", {
64
64
  enumerable: true,
65
- get: function () { return chunkB7JH5D3J_js.LiteService; }
65
+ get: function () { return chunkHKCB73AJ_js.LiteService; }
66
66
  });
67
67
  Object.defineProperty(exports, "MESSAGE_TYPES", {
68
68
  enumerable: true,
69
- get: function () { return chunkB7JH5D3J_js.MESSAGE_TYPES; }
69
+ get: function () { return chunkHKCB73AJ_js.MESSAGE_TYPES; }
70
70
  });
71
71
  Object.defineProperty(exports, "OrderQueries", {
72
72
  enumerable: true,
73
- get: function () { return chunkB7JH5D3J_js.OrderQueries; }
73
+ get: function () { return chunkHKCB73AJ_js.OrderQueries; }
74
74
  });
75
75
  Object.defineProperty(exports, "SchedulingService", {
76
76
  enumerable: true,
77
- get: function () { return chunkB7JH5D3J_js.SchedulingService; }
77
+ get: function () { return chunkHKCB73AJ_js.SchedulingService; }
78
78
  });
79
79
  Object.defineProperty(exports, "createElements", {
80
80
  enumerable: true,
81
- get: function () { return chunkB7JH5D3J_js.createElements; }
81
+ get: function () { return chunkHKCB73AJ_js.createElements; }
82
82
  });
83
83
  Object.defineProperty(exports, "generateIdempotencyKey", {
84
84
  enumerable: true,
85
- get: function () { return chunkB7JH5D3J_js.generateIdempotencyKey; }
85
+ get: function () { return chunkHKCB73AJ_js.generateIdempotencyKey; }
86
86
  });
package/dist/advanced.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { AuthService, BusinessService, CartOperations, CatalogueQueries, CheckoutService as CheckoutOperations, CheckoutService, CimplifyElement, CimplifyElements, ELEMENT_TYPES, EVENT_TYPES, FxService, InventoryService, LinkService, LiteService, MESSAGE_TYPES, OrderQueries, SchedulingService, createElements, generateIdempotencyKey } from './chunk-T3MXI7JD.mjs';
1
+ export { AuthService, BusinessService, CartOperations, CatalogueQueries, CheckoutService as CheckoutOperations, CheckoutService, CimplifyElement, CimplifyElements, ELEMENT_TYPES, EVENT_TYPES, FxService, InventoryService, LinkService, LiteService, MESSAGE_TYPES, OrderQueries, SchedulingService, createElements, generateIdempotencyKey } from './chunk-2I6YKE6Q.mjs';
2
2
  import './chunk-33VCYWVL.mjs';
3
3
  import './chunk-NYDVVNZI.mjs';
4
4
  import './chunk-NJYR6GGM.mjs';
@@ -1,4 +1,4 @@
1
- import { c as CimplifyError, eJ as UICart, ap as CartItem, bC as DestinationQuoteInput, bA as DestinationQuote, au as CartSummary, t as AddToCartInput, ar as CartMutationResult, eQ as UpdateCartItemInput, bG as DiscountDetails, cH as Money, a as ChosenPrice, C as CurrencyCode, cq as LineConfiguration, cL as NextAction, ab as CHECKOUT_NEXT_ACTION, c8 as ErrorCode, aC as CheckoutCollectionOptions, aI as CheckoutFormData, aU as CheckoutResult, dm as PaymentMethod, ch as InitializePaymentResult, ex as SubmitAuthorizationInput, dx as PaymentStatusResponse, aG as CheckoutCustomerInfo, dI as ProcessAndResolveOptions, dK as ProcessCheckoutResult, i as ConfirmPurchaseIntentRequest, bh as ConfirmPurchaseIntentResponse, d7 as PURCHASE_INTENT_RESOLVE_STATUS, d$ as PurchaseIntentActionResponse, c_ as PURCHASE_INTENT_ACTION_DECISION, ey as SubmitPurchaseIntentActionRequest, c$ as PURCHASE_INTENT_CONFIRM_STATUS, e6 as PurchaseIntentResolution, cC as MintPurchaseIntentRequest, ed as PurchaseIntentView, dB as PreparePurchaseIntentRequest, eX as VariantDetails, eY as VariantDetailsDTO, n as AddOnDetails, q as AddOnOptionDetails, o as AddOnGroupDetails, a0 as BundleSelectionData, be as CompositeSelectionData, bp as CustomerInputValue, el as RequestOtpInput, em as RequestOtpResult$1, f1 as VerifyOtpInput, H as AuthResponse, cu as LinkStatusResult, cr as LinkData, bo as CustomerAddress, br as CustomerMobileMoney, bq as CustomerLinkPreferences, bn as Customer, c7 as EnrollmentData, cs as LinkEnrollResult, c5 as EnrollAndLinkOrderInput, c6 as EnrollAndLinkOrderResult, bj as CreateAddressInput, eP as UpdateAddressInput, bk as CreateMobileMoneyInput, ct as LinkSession, eo as RevokeSessionResult, en as RevokeAllSessionsResult, fe as components, er as SchedulingMode, D as DurationUnit, P as Product, ez as Subscription, eD as SubscriptionWithDetails, c3 as ElementsOptions, bX as ElementType, bW as ElementOptions, bV as ElementEventType, bU as ElementEventHandler, ay as CheckoutCartData, df as ParentToIframeMessage, cg as IframeToParentMessage, J as AuthenticatedData, c0 as ElementsCheckoutData, c1 as ElementsCheckoutResult, dJ as ProcessCheckoutOptions, l as AbortablePromise, w as AddressInfo, dn as PaymentMethodInfo, bY as ElementsAuthContactType, b as Category, s as AddOnWithOptions, dd as Pagination, e as ProductWithDetails, dW as ProductVariant, eR as VariantAxis, eS as VariantAxisSelection, m as AddOn, d as Collection, a3 as BundleSummary, V as Bundle, b7 as Composite, b5 as ComponentSelectionInput, bc as CompositePriceResult, S as SaleInfo, dT as ProductTaxonomy, eI as TaxonomyWithChildren, c4 as EligiblePlansQuery, dO as ProductBillingPlan, dU as ProductTimeProfile, dN as ProductAvailabilityNow, bx as Deal, dP as ProductDealInfo, bH as DiscountValidation, eF as TagsResponse, bl as CustomAttributeDefinition, bm as CustomAttributeValue, dY as PropertyFacet, eH as TaxonomyAttributeTemplate, cl as KnowledgeArticle } from './checkout-XoV4HNg2.js';
1
+ import { c as CimplifyError, a$ as ClaimedCustomer, al as Cart, eK as UICart, ap as CartItem, bD as DestinationQuoteInput, bB as DestinationQuote, au as CartSummary, t as AddToCartInput, ar as CartMutationResult, eR as UpdateCartItemInput, bH as DiscountDetails, cI as Money, a as ChosenPrice, C as CurrencyCode, cr as LineConfiguration, cM as NextAction, ab as CHECKOUT_NEXT_ACTION, c9 as ErrorCode, aC as CheckoutCollectionOptions, aI as CheckoutFormData, aU as CheckoutResult, dn as PaymentMethod, ci as InitializePaymentResult, ey as SubmitAuthorizationInput, dy as PaymentStatusResponse, aG as CheckoutCustomerInfo, dJ as ProcessAndResolveOptions, dL as ProcessCheckoutResult, i as ConfirmPurchaseIntentRequest, bi as ConfirmPurchaseIntentResponse, d8 as PURCHASE_INTENT_RESOLVE_STATUS, e0 as PurchaseIntentActionResponse, c$ as PURCHASE_INTENT_ACTION_DECISION, ez as SubmitPurchaseIntentActionRequest, d0 as PURCHASE_INTENT_CONFIRM_STATUS, e7 as PurchaseIntentResolution, cD as MintPurchaseIntentRequest, ee as PurchaseIntentView, dC as PreparePurchaseIntentRequest, eY as VariantDetails, eZ as VariantDetailsDTO, n as AddOnDetails, q as AddOnOptionDetails, o as AddOnGroupDetails, a0 as BundleSelectionData, bf as CompositeSelectionData, bq as CustomerInputValue, em as RequestOtpInput, en as RequestOtpResult$1, f2 as VerifyOtpInput, H as AuthResponse, cv as LinkStatusResult, cs as LinkData, bp as CustomerAddress, bs as CustomerMobileMoney, br as CustomerLinkPreferences, bo as Customer, c8 as EnrollmentData, ct as LinkEnrollResult, c6 as EnrollAndLinkOrderInput, c7 as EnrollAndLinkOrderResult, bk as CreateAddressInput, eQ as UpdateAddressInput, bl as CreateMobileMoneyInput, cu as LinkSession, ep as RevokeSessionResult, eo as RevokeAllSessionsResult, ff as components, es as SchedulingMode, D as DurationUnit, P as Product, eA as Subscription, eE as SubscriptionWithDetails, c4 as ElementsOptions, bY as ElementType, bX as ElementOptions, bW as ElementEventType, bV as ElementEventHandler, ay as CheckoutCartData, dg as ParentToIframeMessage, ch as IframeToParentMessage, J as AuthenticatedData, c1 as ElementsCheckoutData, c2 as ElementsCheckoutResult, dK as ProcessCheckoutOptions, l as AbortablePromise, w as AddressInfo, dp as PaymentMethodInfo, bZ as ElementsAuthContactType, b as Category, s as AddOnWithOptions, de as Pagination, e as ProductWithDetails, dX as ProductVariant, eS as VariantAxis, eT as VariantAxisSelection, m as AddOn, d as Collection, a3 as BundleSummary, V as Bundle, b8 as Composite, b6 as ComponentSelectionInput, bd as CompositePriceResult, S as SaleInfo, dU as ProductTaxonomy, eJ as TaxonomyWithChildren, c5 as EligiblePlansQuery, dP as ProductBillingPlan, dV as ProductTimeProfile, dO as ProductAvailabilityNow, by as Deal, dQ as ProductDealInfo, bI as DiscountValidation, eG as TagsResponse, bm as CustomAttributeDefinition, bn as CustomAttributeValue, dZ as PropertyFacet, eI as TaxonomyAttributeTemplate, cm as KnowledgeArticle } from './elements-Dtqe9Ekd.mjs';
2
2
 
3
3
  interface RequestContext {
4
4
  method: "GET" | "POST" | "PATCH" | "DELETE";
@@ -75,8 +75,9 @@ interface TokenChangedEvent {
75
75
  }
76
76
  interface SessionClaimedEvent {
77
77
  sessionToken: string;
78
- threadId: string | null;
79
78
  customerName: string;
79
+ customer: ClaimedCustomer | null;
80
+ cart: Cart | null;
80
81
  }
81
82
  declare const MUTATION_ERROR: "mutation:error";
82
83
  declare const OUTBOX_REPLAY_SUCCESS: "outbox:replay-success";
@@ -1936,17 +1937,6 @@ interface ChatConversationResponse {
1936
1937
  conversation: ChatConversation;
1937
1938
  messages: ChatMessage[];
1938
1939
  }
1939
- interface ClaimConversationResult {
1940
- /** The rotated, customer-bound session token; the SDK adopts it automatically. */
1941
- session_token: string;
1942
- /** The account's canonical direct Chat thread for this business. */
1943
- thread: ChatConversation;
1944
- customer_name: string;
1945
- /** Per-envelope, PII-minimal WhatsApp history claim outcomes. */
1946
- external_claims: ExternalChatClaimAttempt[];
1947
- /** Candidate discovery failed; retry `claimExternalChats()` later. */
1948
- external_claims_unavailable: boolean;
1949
- }
1950
1940
  type ExternalChatClaimDisposition = "claimed" | "replayed" | "conflict" | "contact_unverified" | "business_unavailable" | "history_empty" | "history_oversize" | "failed";
1951
1941
  interface ExternalChatClaimAttempt {
1952
1942
  status: ExternalChatClaimDisposition;
@@ -1974,26 +1964,7 @@ interface IdempotencyOption$1 {
1974
1964
  }
1975
1965
  declare class SupportService {
1976
1966
  private client;
1977
- private claimInFlight;
1978
- private claimInFlightToken;
1979
- private lastClaimedAccessToken;
1980
- private claimedName;
1981
1967
  constructor(client: CimplifyClient);
1982
- /** The verified customer this session's conversation was claimed for, null while anonymous. */
1983
- get claimedCustomerName(): string | null;
1984
- /**
1985
- * Claim the anonymous session for the verified Link identity: the server
1986
- * verifies the access token, rotates the session token (adopted here, so
1987
- * every subsequent request rides the bound session), folds the guest cart
1988
- * in, and opens or reuses the account's canonical direct Chat thread.
1989
- *
1990
- * Idempotent and single-flight: concurrent calls share one request, and a
1991
- * token already claimed by this instance short-circuits without a network
1992
- * round trip. A session already bound to another Link account is rejected
1993
- * rather than transferring that account's cart. Emits `session:claimed` on
1994
- * the client's event channel.
1995
- */
1996
- claimConversation(): Promise<Result<ClaimConversationResult, CimplifyError>>;
1997
1968
  /**
1998
1969
  * Retry verified external-history discovery for the current storefront.
1999
1970
  * Launch scope is intentionally WhatsApp-only because it is the registered
@@ -2036,6 +2007,40 @@ declare class SupportService {
2036
2007
  requestHuman(opts?: IdempotencyOption$1): Promise<Result<ChatHandoffResponse, CimplifyError>>;
2037
2008
  }
2038
2009
 
2010
+ interface ClaimSessionResult {
2011
+ /** The rotated, customer-bound session token; the SDK adopts it automatically. */
2012
+ session_token: string;
2013
+ customer: ClaimedCustomer;
2014
+ /** The shopper's cart under the bound session, folded and priced for them. */
2015
+ cart: Cart | null;
2016
+ }
2017
+
2018
+ declare class SessionService {
2019
+ private client;
2020
+ private claimInFlight;
2021
+ private claimInFlightToken;
2022
+ private lastClaimedAccessToken;
2023
+ private claimedName;
2024
+ constructor(client: CimplifyClient);
2025
+ /** The verified customer this session is bound to, null while anonymous. */
2026
+ get claimedCustomerName(): string | null;
2027
+ /** Adopt a session another holder already bound for this bearer. */
2028
+ adopt(accessToken: string, session: SessionClaimedEvent): void;
2029
+ /**
2030
+ * Bind the anonymous session to the verified Link identity in one server
2031
+ * transaction: verify the bearer, rotate the session token (adopted here),
2032
+ * fold the guest cart under the customer and re-price it. A repeat for the
2033
+ * same account and session returns the same session.
2034
+ *
2035
+ * Idempotent and single-flight: concurrent calls share one request, and a
2036
+ * token already claimed by this instance short-circuits without a network
2037
+ * round trip. A session already bound to another Link account is rejected
2038
+ * rather than transferring that account's cart. Emits `session:claimed` on
2039
+ * the client's event channel.
2040
+ */
2041
+ claim(): Promise<Result<ClaimSessionResult, CimplifyError>>;
2042
+ }
2043
+
2039
2044
  declare class CimplifyElements {
2040
2045
  private client;
2041
2046
  private businessId;
@@ -2050,7 +2055,6 @@ declare class CimplifyElements {
2050
2055
  private paymentData;
2051
2056
  private checkoutInProgress;
2052
2057
  private authInProgress;
2053
- private authEstablishmentInProgress;
2054
2058
  private authGeneration;
2055
2059
  private activeCheckoutAbort;
2056
2060
  private boundHandleMessage;
@@ -2058,7 +2062,8 @@ declare class CimplifyElements {
2058
2062
  private debug;
2059
2063
  constructor(client: CimplifyClient, businessId?: string, options?: ElementsOptions);
2060
2064
  private stopSessionSync;
2061
- private syncHostSession;
2065
+ _syncHostSession(element?: CimplifyElement): void;
2066
+ private identityCustomer;
2062
2067
  create(type: ElementType, options?: ElementOptions): CimplifyElement;
2063
2068
  getElement(type: ElementType): CimplifyElement | undefined;
2064
2069
  _removeElement(type: ElementType, instance: CimplifyElement): void;
@@ -2081,8 +2086,7 @@ declare class CimplifyElements {
2081
2086
  private clearClaimedAuthorityAfterRestoreFailure;
2082
2087
  private restoreSession;
2083
2088
  private applyAccessToken;
2084
- private waitForAuthEstablishment;
2085
- private broadcastAccessToken;
2089
+ private adoptEstablishedSession;
2086
2090
  private broadcastClearedSession;
2087
2091
  private startEmbeddedAuth;
2088
2092
  private handleMessage;
@@ -2249,6 +2253,7 @@ declare class CimplifyClient {
2249
2253
  private _activity?;
2250
2254
  private _delivery?;
2251
2255
  private _support?;
2256
+ private _session?;
2252
2257
  constructor(config?: CimplifyConfig);
2253
2258
  private stopPageViewTracking;
2254
2259
  stopTrackingPageViews(): void;
@@ -2269,7 +2274,7 @@ declare class CimplifyClient {
2269
2274
  * merchant auth flows, never by the raw token setter. Global Link clients
2270
2275
  * have no storefront tenant and therefore activate without this step.
2271
2276
  */
2272
- autoClaimChatIdentity(): void;
2277
+ autoClaimSession(): void;
2273
2278
  /**
2274
2279
  * Adopt a server-rotated session token (claim flow). The old token stays
2275
2280
  * in flight-safe use until the next request; the storage swap makes the
@@ -2347,6 +2352,7 @@ declare class CimplifyClient {
2347
2352
  get activity(): ActivityService;
2348
2353
  get delivery(): DeliveryService;
2349
2354
  get support(): SupportService;
2355
+ get session(): SessionService;
2350
2356
  buildWsUrl(path: string): string;
2351
2357
  elements(businessId?: string, options?: ElementsOptions): CimplifyElements;
2352
2358
  }
@@ -2549,4 +2555,4 @@ declare class CatalogueQueries {
2549
2555
  getKnowledgeArticles(): Promise<Result<KnowledgeArticle[], CimplifyError>>;
2550
2556
  }
2551
2557
 
2552
- export { type CimplifyConfig as $, type ActivityRecommendation as A, type Booking as B, CimplifyClient as C, type BusinessWithLocations as D, type CancelBookingInput as E, type CancelBookingResult as F, type CancelOrderInput as G, type CancellationPolicy as H, type CardPopupAction as I, CartOperations as J, CatalogueQueries as K, type CatalogueResult as L, type CatalogueSnapshot as M, type CategoryInfo as N, type ChatAttachment as O, type PaymentAuthorizationAdapter as P, type ChatConversation as Q, type ReadRequestOptions as R, type ChatConversationResponse as S, type ChatMessage as T, type ChatReplyContext as U, type ChatUploadAttachment as V, type ChatWidgetStarter as W, type CheckSlotAvailabilityInput as X, type CheckSlotAvailabilityResult as Y, type CheckoutInput as Z, CheckoutService as _, type CacheOptions as a, type OrderGroupDetails as a$, CimplifyElement as a0, CimplifyElements as a1, type ClaimConversationResult as a2, type ClaimExternalChatsResult as a3, type ContentType as a4, type CustomerBooking as a5, type CustomerBookingServiceItem as a6, type CustomerServicePreferences as a7, type DayAvailability as a8, type DeliveryFeeDetails as a9, type GetOrdersOptions as aA, type GetProductsOptions as aB, type GroupOrderInfo as aC, HostedPurchaseIntentService as aD, InventoryService as aE, type LifecyclePhase as aF, type LineItem as aG, type LineType as aH, LinkService as aI, type LiteBootstrap as aJ, type LiteDayHours as aK, type LiteHoursRange as aL, LiteService as aM, type Location as aN, type LocationBooking as aO, type LocationTaxBehavior as aP, type LocationTaxOverrides as aQ, type LocationTimeProfile as aR, type LocationWithDetails as aS, type ObservabilityHooks as aT, type Ok as aU, type Order as aV, type OrderCustomerInfo as aW, type OrderDiscountInfo as aX, type OrderFilter as aY, type OrderFulfillmentSummary as aZ, type OrderGroup as a_, type DeliveryFeeResponse as aa, type DeliveryFeeStatus as ab, type DeliveryOption as ac, type DeliveryOptionsQuery as ad, type DeliveryOptionsResponse as ae, DeliveryService as af, type DepositResult as ag, type DismissMessageResponse as ah, type EnrichedOrder as ai, type EnrichedOrderItem as aj, type Err as ak, type ExternalChatClaimAttempt as al, type ExternalChatClaimDisposition as am, type FeeBearerType as an, type FetchQuoteInput as ao, type FulfillmentLink as ap, type FulfillmentStatus as aq, type FulfillmentSummaryDTO as ar, type FulfillmentType as as, type FxQuote as at, type FxQuoteRequest as au, type FxQuoteStatus as av, type FxRateResponse as aw, FxService as ax, type GetAvailableSlotsInput as ay, type GetDeliveryOptionsParams as az, type Result as b, type ResourceAssignment as b$, type OrderGroupPayment as b0, type OrderGroupPaymentState as b1, type OrderGroupPaymentStatus as b2, type OrderGroupPaymentSummary as b3, type OrderGroupStatus as b4, type OrderHistory as b5, type OrderLineState as b6, type OrderLineStatus as b7, type OrderLocationInfo as b8, type OrderPaymentEvent as b9, PurchaseIntentService as bA, type PurchaseIntentTransport as bB, type QuoteBundleSelectionInput as bC, type QuoteCompositeSelectionInput as bD, type QuoteDynamicBuckets as bE, type QuoteStatus as bF, type QuoteUiMessage as bG, type RefreshQuoteInput as bH, type RefreshQuoteResult as bI, type RefundOrderInput as bJ, type RelatedCandidate as bK, type RelatedProduct as bL, type RelatedProductsEnrichment as bM, type RelationType as bN, type ReminderMethod as bO, type ReminderSettings as bP, type ReorderResult as bQ, type RequestContext as bR, type RequestErrorEvent as bS, type RequestOptions as bT, type RequestRetryPolicy as bU, type RequestSource as bV, type RequestStartEvent as bW, type RequestSuccessEvent as bX, type RescheduleBookingInput as bY, type RescheduleBookingResult as bZ, type RescheduleHistoryRecord as b_, type OrderPricingView as ba, OrderQueries as bb, type OrderSplitDetail as bc, type OrderStaffInfo as bd, type OrderStatus as be, type OrderTimestampsDTO as bf, type Origin as bg, type OriginActor as bh, type OriginChannel as bi, type OtpResult as bj, PAYMENT_AUTHORIZATION_OUTCOME_STATUS as bk, PAYMENT_AUTHORIZATION_PROVIDER as bl, PURCHASE_INTENT_ROUTE as bm, PaymentAuthorizationAdapterRegistry as bn, type PaymentInfoDTO as bo, type PaymentState as bp, type PlaceDetailsResponse as bq, PlacesService as br, type PriceQuote as bs, type PricingOverrides as bt, type ProviderResolutionSource as bu, type PurchaseIntentActionDecision as bv, type PurchaseIntentRequestOptions as bw, type PurchaseIntentResolveOptions as bx, type PurchaseIntentResolveStatus as by, PurchaseIntentResolver as bz, type PaymentAuthorizationContext as c, type ResourceInfo as c0, type RetryEvent as c1, type Room as c2, SESSION_CHANGE_SOURCE as c3, type SchedulingMetadata as c4, type SchedulingResult as c5, SchedulingService as c6, type SenderType as c7, type Service as c8, type ServiceAvailabilityParams as c9, type TrackCategoryViewOptions as cA, type TrackProductViewOptions as cB, type UpdateOrderStatusInput as cC, type UpdateProfileInput as cD, type UploadInitResponse as cE, type UploadResult as cF, UploadService as cG, combine as cH, combineObject as cI, createCimplifyClient as cJ, createDefaultPaymentAuthorizationAdapterRegistry as cK, createElements as cL, err as cM, flatMap as cN, fromPromise as cO, getOrElse as cP, isErr as cQ, isOk as cR, mapError as cS, mapResult as cT, ok as cU, toNullable as cV, tryCatch as cW, unwrap as cX, type ServiceAvailabilityResult as ca, type ServiceCharge as cb, type ServiceNotes as cc, type ServiceScheduleRequest as cd, type ServiceStatus as ce, type SessionActivityData as cf, type SessionChangeEvent as cg, type SessionChangeSource as ch, type SessionMessage as ci, type SlotResourceInfo as cj, type SlotStaffInfo as ck, type Staff as cl, type StaffAssignment as cm, type StaffRole as cn, type StaffScheduleItem as co, type StockLevel as cp, type StockStatus as cq, type StoreCreditBalance as cr, StoreCreditQueries as cs, type StorefrontBootstrap as ct, SubscriptionService as cu, SupportService as cv, type Table as cw, type TimeRange as cx, type TimeRanges as cy, type TimeSlot as cz, type PaymentAuthorizationOutcome as d, type ChatReplyCard as e, type ActivityRecommendationsResponse as f, ActivityService as g, type ActivityStateResponse as h, type AmountToPay as i, AuthService as j, type AuthStatus as k, type AuthorizeCardPopupOptions as l, type AutocompletePrediction as m, type AutocompleteResponse as n, type AvailabilityResult as o, type AvailableSlot as p, type BookingModificationType as q, type BookingStatus as r, type BookingWithDetails as s, type BufferTimes as t, type Business as u, type BusinessDetailsDTO as v, type BusinessHours as w, type BusinessPreferences as x, BusinessService as y, type BusinessSettings as z };
2558
+ export { type CimplifyConfig as $, type ActivityRecommendation as A, type Booking as B, CimplifyClient as C, type BusinessWithLocations as D, type CancelBookingInput as E, type CancelBookingResult as F, type CancelOrderInput as G, type CancellationPolicy as H, type CardPopupAction as I, CartOperations as J, CatalogueQueries as K, type CatalogueResult as L, type CatalogueSnapshot as M, type CategoryInfo as N, type ChatAttachment as O, type PaymentAuthorizationAdapter as P, type ChatConversation as Q, type ReadRequestOptions as R, type ChatConversationResponse as S, type ChatMessage as T, type ChatReplyContext as U, type ChatUploadAttachment as V, type ChatWidgetStarter as W, type CheckSlotAvailabilityInput as X, type CheckSlotAvailabilityResult as Y, type CheckoutInput as Z, CheckoutService as _, type CacheOptions as a, type OrderGroupDetails as a$, CimplifyElement as a0, CimplifyElements as a1, type ClaimExternalChatsResult as a2, type ClaimSessionResult as a3, type ContentType as a4, type CustomerBooking as a5, type CustomerBookingServiceItem as a6, type CustomerServicePreferences as a7, type DayAvailability as a8, type DeliveryFeeDetails as a9, type GetOrdersOptions as aA, type GetProductsOptions as aB, type GroupOrderInfo as aC, HostedPurchaseIntentService as aD, InventoryService as aE, type LifecyclePhase as aF, type LineItem as aG, type LineType as aH, LinkService as aI, type LiteBootstrap as aJ, type LiteDayHours as aK, type LiteHoursRange as aL, LiteService as aM, type Location as aN, type LocationBooking as aO, type LocationTaxBehavior as aP, type LocationTaxOverrides as aQ, type LocationTimeProfile as aR, type LocationWithDetails as aS, type ObservabilityHooks as aT, type Ok as aU, type Order as aV, type OrderCustomerInfo as aW, type OrderDiscountInfo as aX, type OrderFilter as aY, type OrderFulfillmentSummary as aZ, type OrderGroup as a_, type DeliveryFeeResponse as aa, type DeliveryFeeStatus as ab, type DeliveryOption as ac, type DeliveryOptionsQuery as ad, type DeliveryOptionsResponse as ae, DeliveryService as af, type DepositResult as ag, type DismissMessageResponse as ah, type EnrichedOrder as ai, type EnrichedOrderItem as aj, type Err as ak, type ExternalChatClaimAttempt as al, type ExternalChatClaimDisposition as am, type FeeBearerType as an, type FetchQuoteInput as ao, type FulfillmentLink as ap, type FulfillmentStatus as aq, type FulfillmentSummaryDTO as ar, type FulfillmentType as as, type FxQuote as at, type FxQuoteRequest as au, type FxQuoteStatus as av, type FxRateResponse as aw, FxService as ax, type GetAvailableSlotsInput as ay, type GetDeliveryOptionsParams as az, type Result as b, type ResourceAssignment as b$, type OrderGroupPayment as b0, type OrderGroupPaymentState as b1, type OrderGroupPaymentStatus as b2, type OrderGroupPaymentSummary as b3, type OrderGroupStatus as b4, type OrderHistory as b5, type OrderLineState as b6, type OrderLineStatus as b7, type OrderLocationInfo as b8, type OrderPaymentEvent as b9, PurchaseIntentService as bA, type PurchaseIntentTransport as bB, type QuoteBundleSelectionInput as bC, type QuoteCompositeSelectionInput as bD, type QuoteDynamicBuckets as bE, type QuoteStatus as bF, type QuoteUiMessage as bG, type RefreshQuoteInput as bH, type RefreshQuoteResult as bI, type RefundOrderInput as bJ, type RelatedCandidate as bK, type RelatedProduct as bL, type RelatedProductsEnrichment as bM, type RelationType as bN, type ReminderMethod as bO, type ReminderSettings as bP, type ReorderResult as bQ, type RequestContext as bR, type RequestErrorEvent as bS, type RequestOptions as bT, type RequestRetryPolicy as bU, type RequestSource as bV, type RequestStartEvent as bW, type RequestSuccessEvent as bX, type RescheduleBookingInput as bY, type RescheduleBookingResult as bZ, type RescheduleHistoryRecord as b_, type OrderPricingView as ba, OrderQueries as bb, type OrderSplitDetail as bc, type OrderStaffInfo as bd, type OrderStatus as be, type OrderTimestampsDTO as bf, type Origin as bg, type OriginActor as bh, type OriginChannel as bi, type OtpResult as bj, PAYMENT_AUTHORIZATION_OUTCOME_STATUS as bk, PAYMENT_AUTHORIZATION_PROVIDER as bl, PURCHASE_INTENT_ROUTE as bm, PaymentAuthorizationAdapterRegistry as bn, type PaymentInfoDTO as bo, type PaymentState as bp, type PlaceDetailsResponse as bq, PlacesService as br, type PriceQuote as bs, type PricingOverrides as bt, type ProviderResolutionSource as bu, type PurchaseIntentActionDecision as bv, type PurchaseIntentRequestOptions as bw, type PurchaseIntentResolveOptions as bx, type PurchaseIntentResolveStatus as by, PurchaseIntentResolver as bz, type PaymentAuthorizationContext as c, type ResourceInfo as c0, type RetryEvent as c1, type Room as c2, SESSION_CHANGE_SOURCE as c3, type SchedulingMetadata as c4, type SchedulingResult as c5, SchedulingService as c6, type SenderType as c7, type Service as c8, type ServiceAvailabilityParams as c9, type TimeSlot as cA, type TrackCategoryViewOptions as cB, type TrackProductViewOptions as cC, type UpdateOrderStatusInput as cD, type UpdateProfileInput as cE, type UploadInitResponse as cF, type UploadResult as cG, UploadService as cH, combine as cI, combineObject as cJ, createCimplifyClient as cK, createDefaultPaymentAuthorizationAdapterRegistry as cL, createElements as cM, err as cN, flatMap as cO, fromPromise as cP, getOrElse as cQ, isErr as cR, isOk as cS, mapError as cT, mapResult as cU, ok as cV, toNullable as cW, tryCatch as cX, unwrap as cY, type ServiceAvailabilityResult as ca, type ServiceCharge as cb, type ServiceNotes as cc, type ServiceScheduleRequest as cd, type ServiceStatus as ce, type SessionActivityData as cf, type SessionChangeEvent as cg, type SessionChangeSource as ch, type SessionMessage as ci, SessionService as cj, type SlotResourceInfo as ck, type SlotStaffInfo as cl, type Staff as cm, type StaffAssignment as cn, type StaffRole as co, type StaffScheduleItem as cp, type StockLevel as cq, type StockStatus as cr, type StoreCreditBalance as cs, StoreCreditQueries as ct, type StorefrontBootstrap as cu, SubscriptionService as cv, SupportService as cw, type Table as cx, type TimeRange as cy, type TimeRanges as cz, type PaymentAuthorizationOutcome as d, type ChatReplyCard as e, type ActivityRecommendationsResponse as f, ActivityService as g, type ActivityStateResponse as h, type AmountToPay as i, AuthService as j, type AuthStatus as k, type AuthorizeCardPopupOptions as l, type AutocompletePrediction as m, type AutocompleteResponse as n, type AvailabilityResult as o, type AvailableSlot as p, type BookingModificationType as q, type BookingStatus as r, type BookingWithDetails as s, type BufferTimes as t, type Business as u, type BusinessDetailsDTO as v, type BusinessHours as w, type BusinessPreferences as x, BusinessService as y, type BusinessSettings as z };
@@ -1,4 +1,4 @@
1
- import { c as CimplifyError, eJ as UICart, ap as CartItem, bC as DestinationQuoteInput, bA as DestinationQuote, au as CartSummary, t as AddToCartInput, ar as CartMutationResult, eQ as UpdateCartItemInput, bG as DiscountDetails, cH as Money, a as ChosenPrice, C as CurrencyCode, cq as LineConfiguration, cL as NextAction, ab as CHECKOUT_NEXT_ACTION, c8 as ErrorCode, aC as CheckoutCollectionOptions, aI as CheckoutFormData, aU as CheckoutResult, dm as PaymentMethod, ch as InitializePaymentResult, ex as SubmitAuthorizationInput, dx as PaymentStatusResponse, aG as CheckoutCustomerInfo, dI as ProcessAndResolveOptions, dK as ProcessCheckoutResult, i as ConfirmPurchaseIntentRequest, bh as ConfirmPurchaseIntentResponse, d7 as PURCHASE_INTENT_RESOLVE_STATUS, d$ as PurchaseIntentActionResponse, c_ as PURCHASE_INTENT_ACTION_DECISION, ey as SubmitPurchaseIntentActionRequest, c$ as PURCHASE_INTENT_CONFIRM_STATUS, e6 as PurchaseIntentResolution, cC as MintPurchaseIntentRequest, ed as PurchaseIntentView, dB as PreparePurchaseIntentRequest, eX as VariantDetails, eY as VariantDetailsDTO, n as AddOnDetails, q as AddOnOptionDetails, o as AddOnGroupDetails, a0 as BundleSelectionData, be as CompositeSelectionData, bp as CustomerInputValue, el as RequestOtpInput, em as RequestOtpResult$1, f1 as VerifyOtpInput, H as AuthResponse, cu as LinkStatusResult, cr as LinkData, bo as CustomerAddress, br as CustomerMobileMoney, bq as CustomerLinkPreferences, bn as Customer, c7 as EnrollmentData, cs as LinkEnrollResult, c5 as EnrollAndLinkOrderInput, c6 as EnrollAndLinkOrderResult, bj as CreateAddressInput, eP as UpdateAddressInput, bk as CreateMobileMoneyInput, ct as LinkSession, eo as RevokeSessionResult, en as RevokeAllSessionsResult, fe as components, er as SchedulingMode, D as DurationUnit, P as Product, ez as Subscription, eD as SubscriptionWithDetails, c3 as ElementsOptions, bX as ElementType, bW as ElementOptions, bV as ElementEventType, bU as ElementEventHandler, ay as CheckoutCartData, df as ParentToIframeMessage, cg as IframeToParentMessage, J as AuthenticatedData, c0 as ElementsCheckoutData, c1 as ElementsCheckoutResult, dJ as ProcessCheckoutOptions, l as AbortablePromise, w as AddressInfo, dn as PaymentMethodInfo, bY as ElementsAuthContactType, b as Category, s as AddOnWithOptions, dd as Pagination, e as ProductWithDetails, dW as ProductVariant, eR as VariantAxis, eS as VariantAxisSelection, m as AddOn, d as Collection, a3 as BundleSummary, V as Bundle, b7 as Composite, b5 as ComponentSelectionInput, bc as CompositePriceResult, S as SaleInfo, dT as ProductTaxonomy, eI as TaxonomyWithChildren, c4 as EligiblePlansQuery, dO as ProductBillingPlan, dU as ProductTimeProfile, dN as ProductAvailabilityNow, bx as Deal, dP as ProductDealInfo, bH as DiscountValidation, eF as TagsResponse, bl as CustomAttributeDefinition, bm as CustomAttributeValue, dY as PropertyFacet, eH as TaxonomyAttributeTemplate, cl as KnowledgeArticle } from './checkout-XoV4HNg2.mjs';
1
+ import { c as CimplifyError, a$ as ClaimedCustomer, al as Cart, eK as UICart, ap as CartItem, bD as DestinationQuoteInput, bB as DestinationQuote, au as CartSummary, t as AddToCartInput, ar as CartMutationResult, eR as UpdateCartItemInput, bH as DiscountDetails, cI as Money, a as ChosenPrice, C as CurrencyCode, cr as LineConfiguration, cM as NextAction, ab as CHECKOUT_NEXT_ACTION, c9 as ErrorCode, aC as CheckoutCollectionOptions, aI as CheckoutFormData, aU as CheckoutResult, dn as PaymentMethod, ci as InitializePaymentResult, ey as SubmitAuthorizationInput, dy as PaymentStatusResponse, aG as CheckoutCustomerInfo, dJ as ProcessAndResolveOptions, dL as ProcessCheckoutResult, i as ConfirmPurchaseIntentRequest, bi as ConfirmPurchaseIntentResponse, d8 as PURCHASE_INTENT_RESOLVE_STATUS, e0 as PurchaseIntentActionResponse, c$ as PURCHASE_INTENT_ACTION_DECISION, ez as SubmitPurchaseIntentActionRequest, d0 as PURCHASE_INTENT_CONFIRM_STATUS, e7 as PurchaseIntentResolution, cD as MintPurchaseIntentRequest, ee as PurchaseIntentView, dC as PreparePurchaseIntentRequest, eY as VariantDetails, eZ as VariantDetailsDTO, n as AddOnDetails, q as AddOnOptionDetails, o as AddOnGroupDetails, a0 as BundleSelectionData, bf as CompositeSelectionData, bq as CustomerInputValue, em as RequestOtpInput, en as RequestOtpResult$1, f2 as VerifyOtpInput, H as AuthResponse, cv as LinkStatusResult, cs as LinkData, bp as CustomerAddress, bs as CustomerMobileMoney, br as CustomerLinkPreferences, bo as Customer, c8 as EnrollmentData, ct as LinkEnrollResult, c6 as EnrollAndLinkOrderInput, c7 as EnrollAndLinkOrderResult, bk as CreateAddressInput, eQ as UpdateAddressInput, bl as CreateMobileMoneyInput, cu as LinkSession, ep as RevokeSessionResult, eo as RevokeAllSessionsResult, ff as components, es as SchedulingMode, D as DurationUnit, P as Product, eA as Subscription, eE as SubscriptionWithDetails, c4 as ElementsOptions, bY as ElementType, bX as ElementOptions, bW as ElementEventType, bV as ElementEventHandler, ay as CheckoutCartData, dg as ParentToIframeMessage, ch as IframeToParentMessage, J as AuthenticatedData, c1 as ElementsCheckoutData, c2 as ElementsCheckoutResult, dK as ProcessCheckoutOptions, l as AbortablePromise, w as AddressInfo, dp as PaymentMethodInfo, bZ as ElementsAuthContactType, b as Category, s as AddOnWithOptions, de as Pagination, e as ProductWithDetails, dX as ProductVariant, eS as VariantAxis, eT as VariantAxisSelection, m as AddOn, d as Collection, a3 as BundleSummary, V as Bundle, b8 as Composite, b6 as ComponentSelectionInput, bd as CompositePriceResult, S as SaleInfo, dU as ProductTaxonomy, eJ as TaxonomyWithChildren, c5 as EligiblePlansQuery, dP as ProductBillingPlan, dV as ProductTimeProfile, dO as ProductAvailabilityNow, by as Deal, dQ as ProductDealInfo, bI as DiscountValidation, eG as TagsResponse, bm as CustomAttributeDefinition, bn as CustomAttributeValue, dZ as PropertyFacet, eI as TaxonomyAttributeTemplate, cm as KnowledgeArticle } from './elements-Dtqe9Ekd.js';
2
2
 
3
3
  interface RequestContext {
4
4
  method: "GET" | "POST" | "PATCH" | "DELETE";
@@ -75,8 +75,9 @@ interface TokenChangedEvent {
75
75
  }
76
76
  interface SessionClaimedEvent {
77
77
  sessionToken: string;
78
- threadId: string | null;
79
78
  customerName: string;
79
+ customer: ClaimedCustomer | null;
80
+ cart: Cart | null;
80
81
  }
81
82
  declare const MUTATION_ERROR: "mutation:error";
82
83
  declare const OUTBOX_REPLAY_SUCCESS: "outbox:replay-success";
@@ -1936,17 +1937,6 @@ interface ChatConversationResponse {
1936
1937
  conversation: ChatConversation;
1937
1938
  messages: ChatMessage[];
1938
1939
  }
1939
- interface ClaimConversationResult {
1940
- /** The rotated, customer-bound session token; the SDK adopts it automatically. */
1941
- session_token: string;
1942
- /** The account's canonical direct Chat thread for this business. */
1943
- thread: ChatConversation;
1944
- customer_name: string;
1945
- /** Per-envelope, PII-minimal WhatsApp history claim outcomes. */
1946
- external_claims: ExternalChatClaimAttempt[];
1947
- /** Candidate discovery failed; retry `claimExternalChats()` later. */
1948
- external_claims_unavailable: boolean;
1949
- }
1950
1940
  type ExternalChatClaimDisposition = "claimed" | "replayed" | "conflict" | "contact_unverified" | "business_unavailable" | "history_empty" | "history_oversize" | "failed";
1951
1941
  interface ExternalChatClaimAttempt {
1952
1942
  status: ExternalChatClaimDisposition;
@@ -1974,26 +1964,7 @@ interface IdempotencyOption$1 {
1974
1964
  }
1975
1965
  declare class SupportService {
1976
1966
  private client;
1977
- private claimInFlight;
1978
- private claimInFlightToken;
1979
- private lastClaimedAccessToken;
1980
- private claimedName;
1981
1967
  constructor(client: CimplifyClient);
1982
- /** The verified customer this session's conversation was claimed for, null while anonymous. */
1983
- get claimedCustomerName(): string | null;
1984
- /**
1985
- * Claim the anonymous session for the verified Link identity: the server
1986
- * verifies the access token, rotates the session token (adopted here, so
1987
- * every subsequent request rides the bound session), folds the guest cart
1988
- * in, and opens or reuses the account's canonical direct Chat thread.
1989
- *
1990
- * Idempotent and single-flight: concurrent calls share one request, and a
1991
- * token already claimed by this instance short-circuits without a network
1992
- * round trip. A session already bound to another Link account is rejected
1993
- * rather than transferring that account's cart. Emits `session:claimed` on
1994
- * the client's event channel.
1995
- */
1996
- claimConversation(): Promise<Result<ClaimConversationResult, CimplifyError>>;
1997
1968
  /**
1998
1969
  * Retry verified external-history discovery for the current storefront.
1999
1970
  * Launch scope is intentionally WhatsApp-only because it is the registered
@@ -2036,6 +2007,40 @@ declare class SupportService {
2036
2007
  requestHuman(opts?: IdempotencyOption$1): Promise<Result<ChatHandoffResponse, CimplifyError>>;
2037
2008
  }
2038
2009
 
2010
+ interface ClaimSessionResult {
2011
+ /** The rotated, customer-bound session token; the SDK adopts it automatically. */
2012
+ session_token: string;
2013
+ customer: ClaimedCustomer;
2014
+ /** The shopper's cart under the bound session, folded and priced for them. */
2015
+ cart: Cart | null;
2016
+ }
2017
+
2018
+ declare class SessionService {
2019
+ private client;
2020
+ private claimInFlight;
2021
+ private claimInFlightToken;
2022
+ private lastClaimedAccessToken;
2023
+ private claimedName;
2024
+ constructor(client: CimplifyClient);
2025
+ /** The verified customer this session is bound to, null while anonymous. */
2026
+ get claimedCustomerName(): string | null;
2027
+ /** Adopt a session another holder already bound for this bearer. */
2028
+ adopt(accessToken: string, session: SessionClaimedEvent): void;
2029
+ /**
2030
+ * Bind the anonymous session to the verified Link identity in one server
2031
+ * transaction: verify the bearer, rotate the session token (adopted here),
2032
+ * fold the guest cart under the customer and re-price it. A repeat for the
2033
+ * same account and session returns the same session.
2034
+ *
2035
+ * Idempotent and single-flight: concurrent calls share one request, and a
2036
+ * token already claimed by this instance short-circuits without a network
2037
+ * round trip. A session already bound to another Link account is rejected
2038
+ * rather than transferring that account's cart. Emits `session:claimed` on
2039
+ * the client's event channel.
2040
+ */
2041
+ claim(): Promise<Result<ClaimSessionResult, CimplifyError>>;
2042
+ }
2043
+
2039
2044
  declare class CimplifyElements {
2040
2045
  private client;
2041
2046
  private businessId;
@@ -2050,7 +2055,6 @@ declare class CimplifyElements {
2050
2055
  private paymentData;
2051
2056
  private checkoutInProgress;
2052
2057
  private authInProgress;
2053
- private authEstablishmentInProgress;
2054
2058
  private authGeneration;
2055
2059
  private activeCheckoutAbort;
2056
2060
  private boundHandleMessage;
@@ -2058,7 +2062,8 @@ declare class CimplifyElements {
2058
2062
  private debug;
2059
2063
  constructor(client: CimplifyClient, businessId?: string, options?: ElementsOptions);
2060
2064
  private stopSessionSync;
2061
- private syncHostSession;
2065
+ _syncHostSession(element?: CimplifyElement): void;
2066
+ private identityCustomer;
2062
2067
  create(type: ElementType, options?: ElementOptions): CimplifyElement;
2063
2068
  getElement(type: ElementType): CimplifyElement | undefined;
2064
2069
  _removeElement(type: ElementType, instance: CimplifyElement): void;
@@ -2081,8 +2086,7 @@ declare class CimplifyElements {
2081
2086
  private clearClaimedAuthorityAfterRestoreFailure;
2082
2087
  private restoreSession;
2083
2088
  private applyAccessToken;
2084
- private waitForAuthEstablishment;
2085
- private broadcastAccessToken;
2089
+ private adoptEstablishedSession;
2086
2090
  private broadcastClearedSession;
2087
2091
  private startEmbeddedAuth;
2088
2092
  private handleMessage;
@@ -2249,6 +2253,7 @@ declare class CimplifyClient {
2249
2253
  private _activity?;
2250
2254
  private _delivery?;
2251
2255
  private _support?;
2256
+ private _session?;
2252
2257
  constructor(config?: CimplifyConfig);
2253
2258
  private stopPageViewTracking;
2254
2259
  stopTrackingPageViews(): void;
@@ -2269,7 +2274,7 @@ declare class CimplifyClient {
2269
2274
  * merchant auth flows, never by the raw token setter. Global Link clients
2270
2275
  * have no storefront tenant and therefore activate without this step.
2271
2276
  */
2272
- autoClaimChatIdentity(): void;
2277
+ autoClaimSession(): void;
2273
2278
  /**
2274
2279
  * Adopt a server-rotated session token (claim flow). The old token stays
2275
2280
  * in flight-safe use until the next request; the storage swap makes the
@@ -2347,6 +2352,7 @@ declare class CimplifyClient {
2347
2352
  get activity(): ActivityService;
2348
2353
  get delivery(): DeliveryService;
2349
2354
  get support(): SupportService;
2355
+ get session(): SessionService;
2350
2356
  buildWsUrl(path: string): string;
2351
2357
  elements(businessId?: string, options?: ElementsOptions): CimplifyElements;
2352
2358
  }
@@ -2549,4 +2555,4 @@ declare class CatalogueQueries {
2549
2555
  getKnowledgeArticles(): Promise<Result<KnowledgeArticle[], CimplifyError>>;
2550
2556
  }
2551
2557
 
2552
- export { type CimplifyConfig as $, type ActivityRecommendation as A, type Booking as B, CimplifyClient as C, type BusinessWithLocations as D, type CancelBookingInput as E, type CancelBookingResult as F, type CancelOrderInput as G, type CancellationPolicy as H, type CardPopupAction as I, CartOperations as J, CatalogueQueries as K, type CatalogueResult as L, type CatalogueSnapshot as M, type CategoryInfo as N, type ChatAttachment as O, type PaymentAuthorizationAdapter as P, type ChatConversation as Q, type ReadRequestOptions as R, type ChatConversationResponse as S, type ChatMessage as T, type ChatReplyContext as U, type ChatUploadAttachment as V, type ChatWidgetStarter as W, type CheckSlotAvailabilityInput as X, type CheckSlotAvailabilityResult as Y, type CheckoutInput as Z, CheckoutService as _, type CacheOptions as a, type OrderGroupDetails as a$, CimplifyElement as a0, CimplifyElements as a1, type ClaimConversationResult as a2, type ClaimExternalChatsResult as a3, type ContentType as a4, type CustomerBooking as a5, type CustomerBookingServiceItem as a6, type CustomerServicePreferences as a7, type DayAvailability as a8, type DeliveryFeeDetails as a9, type GetOrdersOptions as aA, type GetProductsOptions as aB, type GroupOrderInfo as aC, HostedPurchaseIntentService as aD, InventoryService as aE, type LifecyclePhase as aF, type LineItem as aG, type LineType as aH, LinkService as aI, type LiteBootstrap as aJ, type LiteDayHours as aK, type LiteHoursRange as aL, LiteService as aM, type Location as aN, type LocationBooking as aO, type LocationTaxBehavior as aP, type LocationTaxOverrides as aQ, type LocationTimeProfile as aR, type LocationWithDetails as aS, type ObservabilityHooks as aT, type Ok as aU, type Order as aV, type OrderCustomerInfo as aW, type OrderDiscountInfo as aX, type OrderFilter as aY, type OrderFulfillmentSummary as aZ, type OrderGroup as a_, type DeliveryFeeResponse as aa, type DeliveryFeeStatus as ab, type DeliveryOption as ac, type DeliveryOptionsQuery as ad, type DeliveryOptionsResponse as ae, DeliveryService as af, type DepositResult as ag, type DismissMessageResponse as ah, type EnrichedOrder as ai, type EnrichedOrderItem as aj, type Err as ak, type ExternalChatClaimAttempt as al, type ExternalChatClaimDisposition as am, type FeeBearerType as an, type FetchQuoteInput as ao, type FulfillmentLink as ap, type FulfillmentStatus as aq, type FulfillmentSummaryDTO as ar, type FulfillmentType as as, type FxQuote as at, type FxQuoteRequest as au, type FxQuoteStatus as av, type FxRateResponse as aw, FxService as ax, type GetAvailableSlotsInput as ay, type GetDeliveryOptionsParams as az, type Result as b, type ResourceAssignment as b$, type OrderGroupPayment as b0, type OrderGroupPaymentState as b1, type OrderGroupPaymentStatus as b2, type OrderGroupPaymentSummary as b3, type OrderGroupStatus as b4, type OrderHistory as b5, type OrderLineState as b6, type OrderLineStatus as b7, type OrderLocationInfo as b8, type OrderPaymentEvent as b9, PurchaseIntentService as bA, type PurchaseIntentTransport as bB, type QuoteBundleSelectionInput as bC, type QuoteCompositeSelectionInput as bD, type QuoteDynamicBuckets as bE, type QuoteStatus as bF, type QuoteUiMessage as bG, type RefreshQuoteInput as bH, type RefreshQuoteResult as bI, type RefundOrderInput as bJ, type RelatedCandidate as bK, type RelatedProduct as bL, type RelatedProductsEnrichment as bM, type RelationType as bN, type ReminderMethod as bO, type ReminderSettings as bP, type ReorderResult as bQ, type RequestContext as bR, type RequestErrorEvent as bS, type RequestOptions as bT, type RequestRetryPolicy as bU, type RequestSource as bV, type RequestStartEvent as bW, type RequestSuccessEvent as bX, type RescheduleBookingInput as bY, type RescheduleBookingResult as bZ, type RescheduleHistoryRecord as b_, type OrderPricingView as ba, OrderQueries as bb, type OrderSplitDetail as bc, type OrderStaffInfo as bd, type OrderStatus as be, type OrderTimestampsDTO as bf, type Origin as bg, type OriginActor as bh, type OriginChannel as bi, type OtpResult as bj, PAYMENT_AUTHORIZATION_OUTCOME_STATUS as bk, PAYMENT_AUTHORIZATION_PROVIDER as bl, PURCHASE_INTENT_ROUTE as bm, PaymentAuthorizationAdapterRegistry as bn, type PaymentInfoDTO as bo, type PaymentState as bp, type PlaceDetailsResponse as bq, PlacesService as br, type PriceQuote as bs, type PricingOverrides as bt, type ProviderResolutionSource as bu, type PurchaseIntentActionDecision as bv, type PurchaseIntentRequestOptions as bw, type PurchaseIntentResolveOptions as bx, type PurchaseIntentResolveStatus as by, PurchaseIntentResolver as bz, type PaymentAuthorizationContext as c, type ResourceInfo as c0, type RetryEvent as c1, type Room as c2, SESSION_CHANGE_SOURCE as c3, type SchedulingMetadata as c4, type SchedulingResult as c5, SchedulingService as c6, type SenderType as c7, type Service as c8, type ServiceAvailabilityParams as c9, type TrackCategoryViewOptions as cA, type TrackProductViewOptions as cB, type UpdateOrderStatusInput as cC, type UpdateProfileInput as cD, type UploadInitResponse as cE, type UploadResult as cF, UploadService as cG, combine as cH, combineObject as cI, createCimplifyClient as cJ, createDefaultPaymentAuthorizationAdapterRegistry as cK, createElements as cL, err as cM, flatMap as cN, fromPromise as cO, getOrElse as cP, isErr as cQ, isOk as cR, mapError as cS, mapResult as cT, ok as cU, toNullable as cV, tryCatch as cW, unwrap as cX, type ServiceAvailabilityResult as ca, type ServiceCharge as cb, type ServiceNotes as cc, type ServiceScheduleRequest as cd, type ServiceStatus as ce, type SessionActivityData as cf, type SessionChangeEvent as cg, type SessionChangeSource as ch, type SessionMessage as ci, type SlotResourceInfo as cj, type SlotStaffInfo as ck, type Staff as cl, type StaffAssignment as cm, type StaffRole as cn, type StaffScheduleItem as co, type StockLevel as cp, type StockStatus as cq, type StoreCreditBalance as cr, StoreCreditQueries as cs, type StorefrontBootstrap as ct, SubscriptionService as cu, SupportService as cv, type Table as cw, type TimeRange as cx, type TimeRanges as cy, type TimeSlot as cz, type PaymentAuthorizationOutcome as d, type ChatReplyCard as e, type ActivityRecommendationsResponse as f, ActivityService as g, type ActivityStateResponse as h, type AmountToPay as i, AuthService as j, type AuthStatus as k, type AuthorizeCardPopupOptions as l, type AutocompletePrediction as m, type AutocompleteResponse as n, type AvailabilityResult as o, type AvailableSlot as p, type BookingModificationType as q, type BookingStatus as r, type BookingWithDetails as s, type BufferTimes as t, type Business as u, type BusinessDetailsDTO as v, type BusinessHours as w, type BusinessPreferences as x, BusinessService as y, type BusinessSettings as z };
2558
+ export { type CimplifyConfig as $, type ActivityRecommendation as A, type Booking as B, CimplifyClient as C, type BusinessWithLocations as D, type CancelBookingInput as E, type CancelBookingResult as F, type CancelOrderInput as G, type CancellationPolicy as H, type CardPopupAction as I, CartOperations as J, CatalogueQueries as K, type CatalogueResult as L, type CatalogueSnapshot as M, type CategoryInfo as N, type ChatAttachment as O, type PaymentAuthorizationAdapter as P, type ChatConversation as Q, type ReadRequestOptions as R, type ChatConversationResponse as S, type ChatMessage as T, type ChatReplyContext as U, type ChatUploadAttachment as V, type ChatWidgetStarter as W, type CheckSlotAvailabilityInput as X, type CheckSlotAvailabilityResult as Y, type CheckoutInput as Z, CheckoutService as _, type CacheOptions as a, type OrderGroupDetails as a$, CimplifyElement as a0, CimplifyElements as a1, type ClaimExternalChatsResult as a2, type ClaimSessionResult as a3, type ContentType as a4, type CustomerBooking as a5, type CustomerBookingServiceItem as a6, type CustomerServicePreferences as a7, type DayAvailability as a8, type DeliveryFeeDetails as a9, type GetOrdersOptions as aA, type GetProductsOptions as aB, type GroupOrderInfo as aC, HostedPurchaseIntentService as aD, InventoryService as aE, type LifecyclePhase as aF, type LineItem as aG, type LineType as aH, LinkService as aI, type LiteBootstrap as aJ, type LiteDayHours as aK, type LiteHoursRange as aL, LiteService as aM, type Location as aN, type LocationBooking as aO, type LocationTaxBehavior as aP, type LocationTaxOverrides as aQ, type LocationTimeProfile as aR, type LocationWithDetails as aS, type ObservabilityHooks as aT, type Ok as aU, type Order as aV, type OrderCustomerInfo as aW, type OrderDiscountInfo as aX, type OrderFilter as aY, type OrderFulfillmentSummary as aZ, type OrderGroup as a_, type DeliveryFeeResponse as aa, type DeliveryFeeStatus as ab, type DeliveryOption as ac, type DeliveryOptionsQuery as ad, type DeliveryOptionsResponse as ae, DeliveryService as af, type DepositResult as ag, type DismissMessageResponse as ah, type EnrichedOrder as ai, type EnrichedOrderItem as aj, type Err as ak, type ExternalChatClaimAttempt as al, type ExternalChatClaimDisposition as am, type FeeBearerType as an, type FetchQuoteInput as ao, type FulfillmentLink as ap, type FulfillmentStatus as aq, type FulfillmentSummaryDTO as ar, type FulfillmentType as as, type FxQuote as at, type FxQuoteRequest as au, type FxQuoteStatus as av, type FxRateResponse as aw, FxService as ax, type GetAvailableSlotsInput as ay, type GetDeliveryOptionsParams as az, type Result as b, type ResourceAssignment as b$, type OrderGroupPayment as b0, type OrderGroupPaymentState as b1, type OrderGroupPaymentStatus as b2, type OrderGroupPaymentSummary as b3, type OrderGroupStatus as b4, type OrderHistory as b5, type OrderLineState as b6, type OrderLineStatus as b7, type OrderLocationInfo as b8, type OrderPaymentEvent as b9, PurchaseIntentService as bA, type PurchaseIntentTransport as bB, type QuoteBundleSelectionInput as bC, type QuoteCompositeSelectionInput as bD, type QuoteDynamicBuckets as bE, type QuoteStatus as bF, type QuoteUiMessage as bG, type RefreshQuoteInput as bH, type RefreshQuoteResult as bI, type RefundOrderInput as bJ, type RelatedCandidate as bK, type RelatedProduct as bL, type RelatedProductsEnrichment as bM, type RelationType as bN, type ReminderMethod as bO, type ReminderSettings as bP, type ReorderResult as bQ, type RequestContext as bR, type RequestErrorEvent as bS, type RequestOptions as bT, type RequestRetryPolicy as bU, type RequestSource as bV, type RequestStartEvent as bW, type RequestSuccessEvent as bX, type RescheduleBookingInput as bY, type RescheduleBookingResult as bZ, type RescheduleHistoryRecord as b_, type OrderPricingView as ba, OrderQueries as bb, type OrderSplitDetail as bc, type OrderStaffInfo as bd, type OrderStatus as be, type OrderTimestampsDTO as bf, type Origin as bg, type OriginActor as bh, type OriginChannel as bi, type OtpResult as bj, PAYMENT_AUTHORIZATION_OUTCOME_STATUS as bk, PAYMENT_AUTHORIZATION_PROVIDER as bl, PURCHASE_INTENT_ROUTE as bm, PaymentAuthorizationAdapterRegistry as bn, type PaymentInfoDTO as bo, type PaymentState as bp, type PlaceDetailsResponse as bq, PlacesService as br, type PriceQuote as bs, type PricingOverrides as bt, type ProviderResolutionSource as bu, type PurchaseIntentActionDecision as bv, type PurchaseIntentRequestOptions as bw, type PurchaseIntentResolveOptions as bx, type PurchaseIntentResolveStatus as by, PurchaseIntentResolver as bz, type PaymentAuthorizationContext as c, type ResourceInfo as c0, type RetryEvent as c1, type Room as c2, SESSION_CHANGE_SOURCE as c3, type SchedulingMetadata as c4, type SchedulingResult as c5, SchedulingService as c6, type SenderType as c7, type Service as c8, type ServiceAvailabilityParams as c9, type TimeSlot as cA, type TrackCategoryViewOptions as cB, type TrackProductViewOptions as cC, type UpdateOrderStatusInput as cD, type UpdateProfileInput as cE, type UploadInitResponse as cF, type UploadResult as cG, UploadService as cH, combine as cI, combineObject as cJ, createCimplifyClient as cK, createDefaultPaymentAuthorizationAdapterRegistry as cL, createElements as cM, err as cN, flatMap as cO, fromPromise as cP, getOrElse as cQ, isErr as cR, isOk as cS, mapError as cT, mapResult as cU, ok as cV, toNullable as cW, tryCatch as cX, unwrap as cY, type ServiceAvailabilityResult as ca, type ServiceCharge as cb, type ServiceNotes as cc, type ServiceScheduleRequest as cd, type ServiceStatus as ce, type SessionActivityData as cf, type SessionChangeEvent as cg, type SessionChangeSource as ch, type SessionMessage as ci, SessionService as cj, type SlotResourceInfo as ck, type SlotStaffInfo as cl, type Staff as cm, type StaffAssignment as cn, type StaffRole as co, type StaffScheduleItem as cp, type StockLevel as cq, type StockStatus as cr, type StoreCreditBalance as cs, StoreCreditQueries as ct, type StorefrontBootstrap as cu, SubscriptionService as cv, SupportService as cw, type Table as cx, type TimeRange as cy, type TimeRanges as cz, type PaymentAuthorizationOutcome as d, type ChatReplyCard as e, type ActivityRecommendationsResponse as f, ActivityService as g, type ActivityStateResponse as h, type AmountToPay as i, AuthService as j, type AuthStatus as k, type AuthorizeCardPopupOptions as l, type AutocompletePrediction as m, type AutocompleteResponse as n, type AvailabilityResult as o, type AvailableSlot as p, type BookingModificationType as q, type BookingStatus as r, type BookingWithDetails as s, type BufferTimes as t, type Business as u, type BusinessDetailsDTO as v, type BusinessHours as w, type BusinessPreferences as x, BusinessService as y, type BusinessSettings as z };