@cimplify/sdk 0.104.1 → 0.106.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.
- package/dist/advanced.d.mts +3 -3
- package/dist/advanced.d.ts +3 -3
- package/dist/advanced.js +22 -22
- package/dist/advanced.mjs +3 -3
- package/dist/{catalogue-BlQ85Uma.d.mts → catalogue-CB44dO-g.d.mts} +4 -1
- package/dist/{catalogue-C8TqOj9K.d.ts → catalogue-lUdp-1hu.d.ts} +4 -1
- package/dist/{checkout-BqK9XUz5.d.mts → checkout-XoV4HNg2.d.mts} +311 -31
- package/dist/{checkout-BqK9XUz5.d.ts → checkout-XoV4HNg2.d.ts} +311 -31
- package/dist/{chunk-L5SNEU2O.mjs → chunk-3BTMAWL7.mjs} +47 -15
- package/dist/{chunk-BWEIMKLF.js → chunk-7SEOB5UW.js} +108 -76
- package/dist/{chunk-SFUJMS5E.js → chunk-AVXA4F6G.js} +33 -1
- package/dist/{chunk-UFOWPN3D.mjs → chunk-DPVDLMLI.mjs} +8 -13
- package/dist/{chunk-DQEXY542.js → chunk-H2WXUTMT.js} +211 -189
- package/dist/{chunk-6G3ANKQA.mjs → chunk-L4XKIMUO.mjs} +8 -1
- package/dist/{chunk-HYFA67A7.js → chunk-NJK3THWT.js} +67 -60
- package/dist/{chunk-RBNBSQI7.mjs → chunk-NJYR6GGM.mjs} +29 -2
- package/dist/{chunk-U54CWUUT.mjs → chunk-NYDVVNZI.mjs} +1 -1
- package/dist/{chunk-V4457OKB.mjs → chunk-RQT5BZ2Y.mjs} +36 -14
- package/dist/{chunk-XAUSDMMZ.js → chunk-UYFTOIFW.js} +6 -6
- package/dist/{chunk-WXREIBFW.js → chunk-YARZTZTB.js} +141 -146
- package/dist/{client-DhXeiUrf.d.ts → client-BQ_8FtA4.d.ts} +12 -2
- package/dist/{client-mXiUrV4X.d.mts → client-BWe1KWMf.d.mts} +12 -2
- package/dist/{index-DPWI5XcU.d.ts → index-C0k9om1S.d.ts} +2 -2
- package/dist/{index-B0AdZvrM.d.mts → index-DRMBo26v.d.mts} +2 -2
- package/dist/{index-CK8Nk5uQ.d.ts → index-DweR60Cv.d.ts} +2 -2
- package/dist/{index-DVfUh-ci.d.mts → index-aIQzSiP_.d.mts} +2 -2
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +166 -146
- package/dist/index.mjs +5 -5
- package/dist/mock/cli.mjs +9 -0
- package/dist/mock/library.js +9 -0
- package/dist/mock/library.mjs +9 -0
- package/dist/mock/msw.js +9 -0
- package/dist/mock/msw.mjs +9 -0
- package/dist/{price-BUDv1rI7.d.mts → price-CUGIYRtD.d.mts} +1 -1
- package/dist/{price-6hQIIac9.d.ts → price-De-sxcuj.d.ts} +1 -1
- package/dist/react.d.mts +3 -3
- package/dist/react.d.ts +3 -3
- package/dist/react.js +151 -151
- package/dist/react.mjs +4 -4
- package/dist/{server-DJ0mSs9i.d.mts → server-7soMMUgP.d.ts} +3 -2
- package/dist/{server-DSTX76Ki.d.ts → server-DDEJ7e9s.d.mts} +3 -2
- package/dist/server.d.mts +3 -3
- package/dist/server.d.ts +3 -3
- package/dist/server.js +10 -10
- package/dist/server.mjs +4 -4
- package/dist/testing/msw.d.mts +2 -2
- package/dist/testing/msw.d.ts +2 -2
- package/dist/testing/msw.js +3 -3
- package/dist/testing/msw.mjs +2 -2
- package/dist/testing/suite.d.mts +5 -5
- package/dist/testing/suite.d.ts +5 -5
- package/dist/testing/suite.js +26 -25
- package/dist/testing/suite.mjs +7 -6
- package/dist/testing.d.mts +315 -8
- package/dist/testing.d.ts +315 -8
- package/dist/testing.js +118 -118
- package/dist/testing.mjs +7 -7
- package/dist/utils.d.mts +3 -3
- package/dist/utils.d.ts +3 -3
- package/dist/utils.js +32 -32
- package/dist/utils.mjs +2 -2
- package/package.json +1 -1
package/dist/advanced.d.mts
CHANGED
|
@@ -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-
|
|
2
|
-
export {
|
|
3
|
-
export { g as generateIdempotencyKey } from './index-
|
|
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-CB44dO-g.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-aIQzSiP_.mjs';
|
package/dist/advanced.d.ts
CHANGED
|
@@ -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-
|
|
2
|
-
export {
|
|
3
|
-
export { g as generateIdempotencyKey } from './index-
|
|
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-lUdp-1hu.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-C0k9om1S.js';
|
package/dist/advanced.js
CHANGED
|
@@ -1,86 +1,86 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkH2WXUTMT_js = require('./chunk-H2WXUTMT.js');
|
|
4
4
|
require('./chunk-EV2EVOYS.js');
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-UYFTOIFW.js');
|
|
6
|
+
require('./chunk-AVXA4F6G.js');
|
|
7
7
|
require('./chunk-OWW5GUSB.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "AuthService", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkH2WXUTMT_js.AuthService; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "BusinessService", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkH2WXUTMT_js.BusinessService; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "CartOperations", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkH2WXUTMT_js.CartOperations; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "CatalogueQueries", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkH2WXUTMT_js.CatalogueQueries; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "CheckoutOperations", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkH2WXUTMT_js.CheckoutService; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "CheckoutService", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkH2WXUTMT_js.CheckoutService; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "CimplifyElement", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkH2WXUTMT_js.CimplifyElement; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "CimplifyElements", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkH2WXUTMT_js.CimplifyElements; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "ELEMENT_TYPES", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkH2WXUTMT_js.ELEMENT_TYPES; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "EVENT_TYPES", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkH2WXUTMT_js.EVENT_TYPES; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "FxService", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkH2WXUTMT_js.FxService; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "InventoryService", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkH2WXUTMT_js.InventoryService; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "LinkService", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkH2WXUTMT_js.LinkService; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "LiteService", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkH2WXUTMT_js.LiteService; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "MESSAGE_TYPES", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkH2WXUTMT_js.MESSAGE_TYPES; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "OrderQueries", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkH2WXUTMT_js.OrderQueries; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "SchedulingService", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkH2WXUTMT_js.SchedulingService; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "createElements", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkH2WXUTMT_js.createElements; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "generateIdempotencyKey", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkH2WXUTMT_js.generateIdempotencyKey; }
|
|
86
86
|
});
|
package/dist/advanced.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
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-RQT5BZ2Y.mjs';
|
|
2
2
|
import './chunk-33VCYWVL.mjs';
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
import './chunk-NYDVVNZI.mjs';
|
|
4
|
+
import './chunk-NJYR6GGM.mjs';
|
|
5
5
|
import './chunk-3G6RQLXK.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as CimplifyError,
|
|
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';
|
|
2
2
|
|
|
3
3
|
interface RequestContext {
|
|
4
4
|
method: "GET" | "POST" | "PATCH" | "DELETE";
|
|
@@ -695,6 +695,7 @@ interface PurchaseIntentResolveOptions {
|
|
|
695
695
|
maxActionSteps?: number;
|
|
696
696
|
maxTermsReviewSteps?: number;
|
|
697
697
|
signal?: AbortSignal;
|
|
698
|
+
requestTimeoutMs?: number;
|
|
698
699
|
onStatusChange?: (status: PurchaseIntentResolveStatus, response?: ConfirmPurchaseIntentResponse) => void;
|
|
699
700
|
/**
|
|
700
701
|
* Run provider-owned UI, then return `continue` to replay the same durable
|
|
@@ -711,9 +712,11 @@ interface PurchaseIntentResolveOptions {
|
|
|
711
712
|
interface PurchaseIntentConfirmationPort {
|
|
712
713
|
confirm(intentId: string, request: ConfirmPurchaseIntentRequest, options?: {
|
|
713
714
|
signal?: AbortSignal;
|
|
715
|
+
timeoutMs?: number;
|
|
714
716
|
}): Promise<Result<ConfirmPurchaseIntentResponse, CimplifyError>>;
|
|
715
717
|
submitAction?(intentId: string, attemptId: string, request: SubmitPurchaseIntentActionRequest, options?: {
|
|
716
718
|
signal?: AbortSignal;
|
|
719
|
+
timeoutMs?: number;
|
|
717
720
|
}): Promise<Result<ConfirmPurchaseIntentResponse, CimplifyError>>;
|
|
718
721
|
}
|
|
719
722
|
interface PurchaseIntentResolverDependencies {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as CimplifyError,
|
|
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';
|
|
2
2
|
|
|
3
3
|
interface RequestContext {
|
|
4
4
|
method: "GET" | "POST" | "PATCH" | "DELETE";
|
|
@@ -695,6 +695,7 @@ interface PurchaseIntentResolveOptions {
|
|
|
695
695
|
maxActionSteps?: number;
|
|
696
696
|
maxTermsReviewSteps?: number;
|
|
697
697
|
signal?: AbortSignal;
|
|
698
|
+
requestTimeoutMs?: number;
|
|
698
699
|
onStatusChange?: (status: PurchaseIntentResolveStatus, response?: ConfirmPurchaseIntentResponse) => void;
|
|
699
700
|
/**
|
|
700
701
|
* Run provider-owned UI, then return `continue` to replay the same durable
|
|
@@ -711,9 +712,11 @@ interface PurchaseIntentResolveOptions {
|
|
|
711
712
|
interface PurchaseIntentConfirmationPort {
|
|
712
713
|
confirm(intentId: string, request: ConfirmPurchaseIntentRequest, options?: {
|
|
713
714
|
signal?: AbortSignal;
|
|
715
|
+
timeoutMs?: number;
|
|
714
716
|
}): Promise<Result<ConfirmPurchaseIntentResponse, CimplifyError>>;
|
|
715
717
|
submitAction?(intentId: string, attemptId: string, request: SubmitPurchaseIntentActionRequest, options?: {
|
|
716
718
|
signal?: AbortSignal;
|
|
719
|
+
timeoutMs?: number;
|
|
717
720
|
}): Promise<Result<ConfirmPurchaseIntentResponse, CimplifyError>>;
|
|
718
721
|
}
|
|
719
722
|
interface PurchaseIntentResolverDependencies {
|