@cimplify/sdk 0.107.1 → 0.108.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 +20 -20
- package/dist/advanced.mjs +1 -1
- package/dist/{catalogue-AmW4XjaN.d.ts → catalogue-B4eLL8Mi.d.ts} +1 -1
- package/dist/{catalogue-rWd71Xi-.d.mts → catalogue-OT89_Ifs.d.mts} +1 -1
- package/dist/{chunk-THSYGWUA.js → chunk-5QW7CQBA.js} +2 -2
- package/dist/{chunk-CEML2737.js → chunk-EDK3LNM6.js} +87 -87
- package/dist/{chunk-ONII7K3T.js → chunk-F7J3HK27.js} +34 -0
- package/dist/{chunk-NZMU7UUA.mjs → chunk-JVODCGFP.mjs} +1 -1
- package/dist/{chunk-T4OU77DM.mjs → chunk-SUCE7FWA.mjs} +1 -1
- package/dist/{chunk-OTPLI3JY.mjs → chunk-U6ACF76H.mjs} +35 -2
- package/dist/{client-ni-CfOSO.d.ts → client-B878xeAP.d.ts} +2 -2
- package/dist/{client-DlTJ2hUM.d.mts → client-BSP9U1O1.d.mts} +2 -2
- package/dist/{elements-BF1Y4aOi.d.mts → elements-Bty6Qs_N.d.mts} +26 -1
- package/dist/{elements-BF1Y4aOi.d.ts → elements-Bty6Qs_N.d.ts} +26 -1
- package/dist/{index-CZ0bJm6k.d.ts → index-B7oA_1XI.d.ts} +2 -2
- package/dist/{index-DML_W635.d.mts → index-CQStGb3B.d.mts} +2 -2
- package/dist/{index-DU7vffby.d.ts → index-DJwXmoaP.d.ts} +2 -2
- package/dist/{index-DopYJKDL.d.mts → index-DhUSTAhT.d.mts} +2 -2
- package/dist/index.d.mts +21 -8
- package/dist/index.d.ts +21 -8
- package/dist/index.js +72 -68
- package/dist/index.mjs +3 -3
- package/dist/{price-DI_U5oXU.d.mts → price-CSztR02F.d.mts} +1 -1
- package/dist/{price-B5t2mpsE.d.ts → price-C_vasx9A.d.ts} +1 -1
- package/dist/react.d.mts +3 -3
- package/dist/react.d.ts +3 -3
- package/dist/react.js +31 -31
- package/dist/react.mjs +2 -2
- package/dist/{server-BItJAUTD.d.ts → server-B6dW7-Lj.d.mts} +1 -1
- package/dist/{server-Dq70vD7z.d.mts → server-Dckg4Vdr.d.ts} +1 -1
- package/dist/server.d.mts +3 -3
- package/dist/server.d.ts +3 -3
- package/dist/server.js +7 -7
- package/dist/server.mjs +2 -2
- package/dist/testing/msw.d.mts +2 -2
- package/dist/testing/msw.d.ts +2 -2
- package/dist/testing/suite.d.mts +5 -5
- package/dist/testing/suite.d.ts +5 -5
- package/dist/testing/suite.js +23 -23
- package/dist/testing/suite.mjs +3 -3
- package/dist/testing.d.mts +4 -4
- package/dist/testing.d.ts +4 -4
- package/dist/testing.js +115 -115
- package/dist/testing.mjs +4 -4
- package/dist/utils.d.mts +3 -3
- package/dist/utils.d.ts +3 -3
- 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, cM 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, cM as createElements } from './catalogue-OT89_Ifs.mjs';
|
|
2
|
+
export { bS as ELEMENT_TYPES, bU as EVENT_TYPES, bX as ElementEventType, bY as ElementOptions, bZ as ElementType, c2 as ElementsCheckoutData, c3 as ElementsCheckoutResult, c5 as ElementsOptions, ci as IframeToParentMessage, cA as MESSAGE_TYPES, dg as ParentToIframeMessage } from './elements-Bty6Qs_N.mjs';
|
|
3
|
+
export { g as generateIdempotencyKey } from './index-DhUSTAhT.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, cM 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, cM as createElements } from './catalogue-B4eLL8Mi.js';
|
|
2
|
+
export { bS as ELEMENT_TYPES, bU as EVENT_TYPES, bX as ElementEventType, bY as ElementOptions, bZ as ElementType, c2 as ElementsCheckoutData, c3 as ElementsCheckoutResult, c5 as ElementsOptions, ci as IframeToParentMessage, cA as MESSAGE_TYPES, dg as ParentToIframeMessage } from './elements-Bty6Qs_N.js';
|
|
3
|
+
export { g as generateIdempotencyKey } from './index-DJwXmoaP.js';
|
package/dist/advanced.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkF7J3HK27_js = require('./chunk-F7J3HK27.js');
|
|
4
4
|
require('./chunk-EV2EVOYS.js');
|
|
5
5
|
require('./chunk-V32BCG7M.js');
|
|
6
6
|
require('./chunk-ANT574FD.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
|
|
13
|
+
get: function () { return chunkF7J3HK27_js.AuthService; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "BusinessService", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkF7J3HK27_js.BusinessService; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "CartOperations", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkF7J3HK27_js.CartOperations; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "CatalogueQueries", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkF7J3HK27_js.CatalogueQueries; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "CheckoutOperations", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkF7J3HK27_js.CheckoutService; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "CheckoutService", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkF7J3HK27_js.CheckoutService; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "CimplifyElement", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkF7J3HK27_js.CimplifyElement; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "CimplifyElements", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkF7J3HK27_js.CimplifyElements; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "ELEMENT_TYPES", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkF7J3HK27_js.ELEMENT_TYPES; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "EVENT_TYPES", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkF7J3HK27_js.EVENT_TYPES; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "FxService", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkF7J3HK27_js.FxService; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "InventoryService", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkF7J3HK27_js.InventoryService; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "LinkService", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkF7J3HK27_js.LinkService; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "LiteService", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkF7J3HK27_js.LiteService; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "MESSAGE_TYPES", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkF7J3HK27_js.MESSAGE_TYPES; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "OrderQueries", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkF7J3HK27_js.OrderQueries; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "SchedulingService", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkF7J3HK27_js.SchedulingService; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "createElements", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkF7J3HK27_js.createElements; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "generateIdempotencyKey", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkF7J3HK27_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-
|
|
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-U6ACF76H.mjs';
|
|
2
2
|
import './chunk-33VCYWVL.mjs';
|
|
3
3
|
import './chunk-JRGK3NXR.mjs';
|
|
4
4
|
import './chunk-KG3WT4PR.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as CimplifyError,
|
|
1
|
+
import { c as CimplifyError, b1 as ClaimedCustomer, an as Cart, eM as UICart, ar as CartItem, bE as DestinationQuoteInput, bC as DestinationQuote, aw as CartSummary, v as AddToCartInput, at as CartMutationResult, eT as UpdateCartItemInput, bI as DiscountDetails, cJ as Money, a as ChosenPrice, C as CurrencyCode, cs as LineConfiguration, cN as NextAction, ad as CHECKOUT_NEXT_ACTION, ca as ErrorCode, aE as CheckoutCollectionOptions, aK as CheckoutFormData, aW as CheckoutResult, dn as PaymentMethod, cj as InitializePaymentResult, eA as SubmitAuthorizationInput, dy as PaymentStatusResponse, aI as CheckoutCustomerInfo, dJ as ProcessAndResolveOptions, dL as ProcessCheckoutResult, i as ConfirmPurchaseIntentRequest, g as ConfirmPurchaseIntentResponse, d8 as PURCHASE_INTENT_RESOLVE_STATUS, e0 as PurchaseIntentActionResponse, d0 as PURCHASE_INTENT_ACTION_DECISION, eB as SubmitPurchaseIntentActionRequest, h as PURCHASE_INTENT_CONFIRM_STATUS, e7 as PurchaseIntentResolution, cE as MintPurchaseIntentRequest, ee as PurchaseIntentView, dC as PreparePurchaseIntentRequest, e_ as VariantDetails, e$ as VariantDetailsDTO, p as AddOnDetails, s as AddOnOptionDetails, q as AddOnGroupDetails, a2 as BundleSelectionData, bh as CompositeSelectionData, br as CustomerInputValue, em as RequestOtpInput, en as RequestOtpResult$1, f4 as VerifyOtpInput, J as AuthResponse, cw as LinkStatusResult, ct as LinkData, bq as CustomerAddress, bt as CustomerMobileMoney, bs as CustomerLinkPreferences, bp as Customer, c9 as EnrollmentData, cu as LinkEnrollResult, c7 as EnrollAndLinkOrderInput, c8 as EnrollAndLinkOrderResult, bl as CreateAddressInput, eS as UpdateAddressInput, bm as CreateMobileMoneyInput, cv as LinkSession, ep as RevokeSessionResult, eo as RevokeAllSessionsResult, fh as components, et as SchedulingMode, D as DurationUnit, P as Product, eC as Subscription, eG as SubscriptionWithDetails, c5 as ElementsOptions, bZ as ElementType, bY as ElementOptions, bX as ElementEventType, bW as ElementEventHandler, aA as CheckoutCartData, dg as ParentToIframeMessage, ci as IframeToParentMessage, L as AuthenticatedData, c2 as ElementsCheckoutData, c3 as ElementsCheckoutResult, dK as ProcessCheckoutOptions, n as AbortablePromise, y as AddressInfo, dp as PaymentMethodInfo, b_ as ElementsAuthContactType, b as Category, u as AddOnWithOptions, de as Pagination, e as ProductWithDetails, dX as ProductVariant, eU as VariantAxis, eV as VariantAxisSelection, o as AddOn, d as Collection, a5 as BundleSummary, X as Bundle, ba as Composite, b8 as ComponentSelectionInput, bf as CompositePriceResult, S as SaleInfo, dU as ProductTaxonomy, eL as TaxonomyWithChildren, c6 as EligiblePlansQuery, dP as ProductBillingPlan, dV as ProductTimeProfile, dO as ProductAvailabilityNow, bz as Deal, dQ as ProductDealInfo, bJ as DiscountValidation, eI as TagsResponse, bn as CustomAttributeDefinition, bo as CustomAttributeValue, dZ as PropertyFacet, eK as TaxonomyAttributeTemplate, cn as KnowledgeArticle } from './elements-Bty6Qs_N.js';
|
|
2
2
|
|
|
3
3
|
interface RequestContext {
|
|
4
4
|
method: "GET" | "POST" | "PATCH" | "DELETE";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as CimplifyError,
|
|
1
|
+
import { c as CimplifyError, b1 as ClaimedCustomer, an as Cart, eM as UICart, ar as CartItem, bE as DestinationQuoteInput, bC as DestinationQuote, aw as CartSummary, v as AddToCartInput, at as CartMutationResult, eT as UpdateCartItemInput, bI as DiscountDetails, cJ as Money, a as ChosenPrice, C as CurrencyCode, cs as LineConfiguration, cN as NextAction, ad as CHECKOUT_NEXT_ACTION, ca as ErrorCode, aE as CheckoutCollectionOptions, aK as CheckoutFormData, aW as CheckoutResult, dn as PaymentMethod, cj as InitializePaymentResult, eA as SubmitAuthorizationInput, dy as PaymentStatusResponse, aI as CheckoutCustomerInfo, dJ as ProcessAndResolveOptions, dL as ProcessCheckoutResult, i as ConfirmPurchaseIntentRequest, g as ConfirmPurchaseIntentResponse, d8 as PURCHASE_INTENT_RESOLVE_STATUS, e0 as PurchaseIntentActionResponse, d0 as PURCHASE_INTENT_ACTION_DECISION, eB as SubmitPurchaseIntentActionRequest, h as PURCHASE_INTENT_CONFIRM_STATUS, e7 as PurchaseIntentResolution, cE as MintPurchaseIntentRequest, ee as PurchaseIntentView, dC as PreparePurchaseIntentRequest, e_ as VariantDetails, e$ as VariantDetailsDTO, p as AddOnDetails, s as AddOnOptionDetails, q as AddOnGroupDetails, a2 as BundleSelectionData, bh as CompositeSelectionData, br as CustomerInputValue, em as RequestOtpInput, en as RequestOtpResult$1, f4 as VerifyOtpInput, J as AuthResponse, cw as LinkStatusResult, ct as LinkData, bq as CustomerAddress, bt as CustomerMobileMoney, bs as CustomerLinkPreferences, bp as Customer, c9 as EnrollmentData, cu as LinkEnrollResult, c7 as EnrollAndLinkOrderInput, c8 as EnrollAndLinkOrderResult, bl as CreateAddressInput, eS as UpdateAddressInput, bm as CreateMobileMoneyInput, cv as LinkSession, ep as RevokeSessionResult, eo as RevokeAllSessionsResult, fh as components, et as SchedulingMode, D as DurationUnit, P as Product, eC as Subscription, eG as SubscriptionWithDetails, c5 as ElementsOptions, bZ as ElementType, bY as ElementOptions, bX as ElementEventType, bW as ElementEventHandler, aA as CheckoutCartData, dg as ParentToIframeMessage, ci as IframeToParentMessage, L as AuthenticatedData, c2 as ElementsCheckoutData, c3 as ElementsCheckoutResult, dK as ProcessCheckoutOptions, n as AbortablePromise, y as AddressInfo, dp as PaymentMethodInfo, b_ as ElementsAuthContactType, b as Category, u as AddOnWithOptions, de as Pagination, e as ProductWithDetails, dX as ProductVariant, eU as VariantAxis, eV as VariantAxisSelection, o as AddOn, d as Collection, a5 as BundleSummary, X as Bundle, ba as Composite, b8 as ComponentSelectionInput, bf as CompositePriceResult, S as SaleInfo, dU as ProductTaxonomy, eL as TaxonomyWithChildren, c6 as EligiblePlansQuery, dP as ProductBillingPlan, dV as ProductTimeProfile, dO as ProductAvailabilityNow, bz as Deal, dQ as ProductDealInfo, bJ as DiscountValidation, eI as TagsResponse, bn as CustomAttributeDefinition, bo as CustomAttributeValue, dZ as PropertyFacet, eK as TaxonomyAttributeTemplate, cn as KnowledgeArticle } from './elements-Bty6Qs_N.mjs';
|
|
2
2
|
|
|
3
3
|
interface RequestContext {
|
|
4
4
|
method: "GET" | "POST" | "PATCH" | "DELETE";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkUVRPC2P7_js = require('./chunk-UVRPC2P7.js');
|
|
4
|
-
var
|
|
4
|
+
var chunkEDK3LNM6_js = require('./chunk-EDK3LNM6.js');
|
|
5
5
|
var chunkEV2EVOYS_js = require('./chunk-EV2EVOYS.js');
|
|
6
6
|
var chunkANT574FD_js = require('./chunk-ANT574FD.js');
|
|
7
7
|
var zod = require('zod');
|
|
@@ -1204,7 +1204,7 @@ function createTestClient(options = {}) {
|
|
|
1204
1204
|
if (echoed) sessionToken = echoed;
|
|
1205
1205
|
return res;
|
|
1206
1206
|
};
|
|
1207
|
-
const client =
|
|
1207
|
+
const client = chunkEDK3LNM6_js.createCimplifyClient({
|
|
1208
1208
|
baseUrl: TEST_BASE_URL,
|
|
1209
1209
|
// Link mock lives at /v1/link on the same Hono app, so point the SDK's
|
|
1210
1210
|
// separate Link transport at the same TEST_BASE_URL.
|