@cimplify/sdk 0.101.1 → 0.103.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 +23 -22
- package/dist/advanced.mjs +4 -3
- package/dist/{chunk-QPRI2NII.js → chunk-2P4KXFB6.js} +6 -0
- package/dist/{chunk-4G5UWFC3.mjs → chunk-3V4DVXV3.mjs} +6 -1
- package/dist/{chunk-YHPMFTMN.mjs → chunk-C2JSNJUC.mjs} +406 -95
- package/dist/chunk-CNN7Z2IP.js +125 -0
- package/dist/{chunk-DKLHCZ5M.mjs → chunk-GERXZQSX.mjs} +487 -11
- package/dist/chunk-GOHSXBKW.mjs +105 -0
- package/dist/{chunk-7H6IL7CX.mjs → chunk-H7ACMHM3.mjs} +40 -15
- package/dist/{chunk-Z3K2D3TE.mjs → chunk-J6PNHDHL.mjs} +453 -483
- package/dist/{chunk-NIOUSKQQ.js → chunk-JG5CQNCB.js} +5 -0
- package/dist/{chunk-YER7DIOM.js → chunk-JSWJ4XDE.js} +471 -519
- package/dist/{chunk-DLW3RWRK.mjs → chunk-M4URVKHE.mjs} +46 -12
- package/dist/{chunk-WMEC5JWN.js → chunk-NNG6IFFX.js} +50 -13
- package/dist/{chunk-ICCCSVN3.js → chunk-QOWPGS7Z.js} +42 -16
- package/dist/{chunk-YDA46OZ6.js → chunk-R6OLQ33I.js} +560 -80
- package/dist/{chunk-H5SSGN7W.js → chunk-VIL6IQCG.js} +408 -97
- package/dist/{chunk-O3YUHLZL.mjs → chunk-VNPEYLB2.mjs} +5 -0
- package/dist/{client-Db554902.d.ts → client-BfpNjJ_a.d.mts} +93 -299
- package/dist/{client-CdTx7X_X.d.mts → client-DHBwvh7U.d.ts} +93 -299
- package/dist/{client-WkUcvRvO.d.mts → client-DpqRobY9.d.mts} +2 -2
- package/dist/{client-D40kI8z2.d.ts → client-Dqg2mc-7.d.ts} +2 -2
- package/dist/{index-D3UXgAYl.d.ts → index-C8uDqLwJ.d.ts} +14 -4
- package/dist/{index-BjWUkYgY.d.mts → index-e2y6AK70.d.mts} +14 -4
- package/dist/index.d.mts +92 -8
- package/dist/index.d.ts +92 -8
- package/dist/index.js +225 -188
- package/dist/index.mjs +7 -6
- package/dist/link-cuNVYc2s.d.mts +297 -0
- package/dist/link-cuNVYc2s.d.ts +297 -0
- package/dist/mock/cli.mjs +412 -94
- package/dist/mock/library.js +412 -94
- package/dist/mock/library.mjs +412 -94
- package/dist/mock/msw.js +412 -94
- package/dist/mock/msw.mjs +412 -94
- package/dist/{product-DwKdC_to.d.mts → payment-H5LoIvXU.d.mts} +207 -7
- package/dist/{product-DwKdC_to.d.ts → payment-H5LoIvXU.d.ts} +207 -7
- package/dist/{price-CiQUd_XX.d.mts → price-BvePgDXe.d.mts} +1 -1
- package/dist/{price-D9EOj8y8.d.ts → price-C2RqscMY.d.ts} +1 -1
- package/dist/react.d.mts +6 -4
- package/dist/react.d.ts +6 -4
- package/dist/react.js +203 -198
- package/dist/react.mjs +11 -6
- package/dist/{server-CeDb93WA.d.ts → server-C7FyLdrz.d.mts} +11 -9
- package/dist/{server-D-nSkrUr.d.mts → server-DoXIpSd7.d.ts} +11 -9
- package/dist/server.d.mts +4 -4
- package/dist/server.d.ts +4 -4
- package/dist/server.js +11 -10
- package/dist/server.mjs +5 -4
- package/dist/testing/msw.d.mts +2 -2
- package/dist/testing/msw.d.ts +2 -2
- package/dist/testing/msw.js +4 -3
- package/dist/testing/msw.mjs +3 -2
- package/dist/testing/suite.d.mts +6 -6
- package/dist/testing/suite.d.ts +6 -6
- package/dist/testing/suite.js +26 -25
- package/dist/testing/suite.mjs +7 -6
- package/dist/testing.d.mts +175 -45
- package/dist/testing.d.ts +175 -45
- package/dist/testing.js +86 -81
- package/dist/testing.mjs +8 -7
- package/dist/utils.d.mts +4 -4
- package/dist/utils.d.ts +4 -4
- package/dist/utils.js +37 -29
- package/dist/utils.mjs +2 -2
- package/package.json +7 -1
- package/dist/payment-CRqjGrx6.d.mts +0 -113
- package/dist/payment-DO1Z1Ip6.d.ts +0 -113
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { af as CurrencyCode, W as ChosenPrice, bz as SaleInfo, bW as UpcomingSale } from './payment-H5LoIvXU.js';
|
|
2
2
|
|
|
3
3
|
interface ProductWithPrice {
|
|
4
4
|
price_info?: ChosenPrice;
|
package/dist/react.d.mts
CHANGED
|
@@ -2,13 +2,13 @@ import * as React$1 from 'react';
|
|
|
2
2
|
import React__default, { ReactNode, PointerEvent, MouseEvent } from 'react';
|
|
3
3
|
import { d as AdSlot, c as AdPosition, a as AdContextValue, S as SignInOptions } from './sign-in-DQlIdqsi.mjs';
|
|
4
4
|
export { A as AdConfig, g as getVariantDisplayName } from './sign-in-DQlIdqsi.mjs';
|
|
5
|
-
import {
|
|
5
|
+
import { ac as CimplifyClient, bL as OrderType, c4 as ProcessCheckoutResult, a9 as CheckoutStatus, aa as CheckoutStatusContext, aN as EnrichedOrderItem, aM as EnrichedOrder, t as Business, bd as Location, cl as ReorderResult, bJ as OrderStatus, bo as Order, c6 as QuoteBundleSelectionInput, c7 as QuoteCompositeSelectionInput, c0 as PriceQuote, ca as QuoteUiMessage, cE as Service, o as AvailableSlot, al as DayAvailability, ai as CustomerBooking, E as CancelBookingResult, d as ActivityStateResponse, cN as SessionMessage, a as ActivityRecommendation, an as DeliveryFeeResponse, aq as DeliveryOptionsResponse, aY as FxRateResponse, cW as StoreCreditBalance, cY as StorefrontBootstrap, U as ChatWidgetStarter, Q as ChatMessage, T as ChatUploadAttachment, e as AddressInfo, j as AuthenticatedData, aL as ElementsOptions, bW as PaymentMethodInfo, aJ as ElementsCheckoutResult, c3 as ProcessCheckoutOptions, af as CimplifyElements, N as ChatAttachment, b6 as LineItem, cQ as Staff, cz as Room, S as ChatReplyContext } from './client-BfpNjJ_a.mjs';
|
|
6
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
|
-
import {
|
|
8
|
-
import { P as ProductWithPrice } from './price-
|
|
7
|
+
import { af as CurrencyCode, be as Product, aW as Pagination, X as CimplifyError, bs as ProductWithDetails, U as Category, aU as Money, W as ChosenPrice, G as BundleSelectionInput, a3 as ComponentSelectionInput, F as BundleSelectionData, ac as CompositeSelectionData, Y as Collection, bn as ProductTaxonomy, bQ as TaxonomyWithChildren, bo as ProductTimeProfile, al as Deal, bj as ProductDealInfo, au as DiscountValidation, I as BundleSummary, aa as CompositePriceResult, bK as SubscriptionWithDetails, bJ as SubscriptionStatus, bG as Subscription, ag as CustomAttributeDefinition, bt as PropertyFacet, bi as ProductBillingPlan, c7 as VariantView, c1 as VariantAxisWithValues, f as AddOnWithOptions, C as BundleComponentView, D as BundlePriceType, a8 as CompositeGroupView, ax as DisplayCart, bk as ProductInputField, i as AddressValue, bz as SaleInfo, bW as UpcomingSale, aA as DurationUnit, v as BoundaryKind, bB as SchedulingMode, an as DepositType, ah as CustomAttributeValue, bl as ProductProperty, bv as QuantityPricingTier } from './payment-H5LoIvXU.mjs';
|
|
8
|
+
import { P as ProductWithPrice } from './price-BvePgDXe.mjs';
|
|
9
9
|
import { ClassValue } from 'clsx';
|
|
10
10
|
import { Matcher } from 'react-day-picker';
|
|
11
|
-
import './
|
|
11
|
+
import './link-cuNVYc2s.mjs';
|
|
12
12
|
|
|
13
13
|
interface UserIdentity {
|
|
14
14
|
uid: string;
|
|
@@ -1007,6 +1007,8 @@ interface UseCartResult {
|
|
|
1007
1007
|
tax: number;
|
|
1008
1008
|
taxRate: number | null;
|
|
1009
1009
|
taxInclusive: boolean;
|
|
1010
|
+
/** Present totals gross: inclusive arithmetic or a gross_required policy. */
|
|
1011
|
+
displayGross: boolean;
|
|
1010
1012
|
taxJurisdictionLabel: string | null;
|
|
1011
1013
|
total: number;
|
|
1012
1014
|
currency: string;
|
package/dist/react.d.ts
CHANGED
|
@@ -2,13 +2,13 @@ import * as React$1 from 'react';
|
|
|
2
2
|
import React__default, { ReactNode, PointerEvent, MouseEvent } from 'react';
|
|
3
3
|
import { d as AdSlot, c as AdPosition, a as AdContextValue, S as SignInOptions } from './sign-in-DQlIdqsi.js';
|
|
4
4
|
export { A as AdConfig, g as getVariantDisplayName } from './sign-in-DQlIdqsi.js';
|
|
5
|
-
import {
|
|
5
|
+
import { ac as CimplifyClient, bL as OrderType, c4 as ProcessCheckoutResult, a9 as CheckoutStatus, aa as CheckoutStatusContext, aN as EnrichedOrderItem, aM as EnrichedOrder, t as Business, bd as Location, cl as ReorderResult, bJ as OrderStatus, bo as Order, c6 as QuoteBundleSelectionInput, c7 as QuoteCompositeSelectionInput, c0 as PriceQuote, ca as QuoteUiMessage, cE as Service, o as AvailableSlot, al as DayAvailability, ai as CustomerBooking, E as CancelBookingResult, d as ActivityStateResponse, cN as SessionMessage, a as ActivityRecommendation, an as DeliveryFeeResponse, aq as DeliveryOptionsResponse, aY as FxRateResponse, cW as StoreCreditBalance, cY as StorefrontBootstrap, U as ChatWidgetStarter, Q as ChatMessage, T as ChatUploadAttachment, e as AddressInfo, j as AuthenticatedData, aL as ElementsOptions, bW as PaymentMethodInfo, aJ as ElementsCheckoutResult, c3 as ProcessCheckoutOptions, af as CimplifyElements, N as ChatAttachment, b6 as LineItem, cQ as Staff, cz as Room, S as ChatReplyContext } from './client-DHBwvh7U.js';
|
|
6
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
|
-
import {
|
|
8
|
-
import { P as ProductWithPrice } from './price-
|
|
7
|
+
import { af as CurrencyCode, be as Product, aW as Pagination, X as CimplifyError, bs as ProductWithDetails, U as Category, aU as Money, W as ChosenPrice, G as BundleSelectionInput, a3 as ComponentSelectionInput, F as BundleSelectionData, ac as CompositeSelectionData, Y as Collection, bn as ProductTaxonomy, bQ as TaxonomyWithChildren, bo as ProductTimeProfile, al as Deal, bj as ProductDealInfo, au as DiscountValidation, I as BundleSummary, aa as CompositePriceResult, bK as SubscriptionWithDetails, bJ as SubscriptionStatus, bG as Subscription, ag as CustomAttributeDefinition, bt as PropertyFacet, bi as ProductBillingPlan, c7 as VariantView, c1 as VariantAxisWithValues, f as AddOnWithOptions, C as BundleComponentView, D as BundlePriceType, a8 as CompositeGroupView, ax as DisplayCart, bk as ProductInputField, i as AddressValue, bz as SaleInfo, bW as UpcomingSale, aA as DurationUnit, v as BoundaryKind, bB as SchedulingMode, an as DepositType, ah as CustomAttributeValue, bl as ProductProperty, bv as QuantityPricingTier } from './payment-H5LoIvXU.js';
|
|
8
|
+
import { P as ProductWithPrice } from './price-C2RqscMY.js';
|
|
9
9
|
import { ClassValue } from 'clsx';
|
|
10
10
|
import { Matcher } from 'react-day-picker';
|
|
11
|
-
import './
|
|
11
|
+
import './link-cuNVYc2s.js';
|
|
12
12
|
|
|
13
13
|
interface UserIdentity {
|
|
14
14
|
uid: string;
|
|
@@ -1007,6 +1007,8 @@ interface UseCartResult {
|
|
|
1007
1007
|
tax: number;
|
|
1008
1008
|
taxRate: number | null;
|
|
1009
1009
|
taxInclusive: boolean;
|
|
1010
|
+
/** Present totals gross: inclusive arithmetic or a gross_required policy. */
|
|
1011
|
+
displayGross: boolean;
|
|
1010
1012
|
taxJurisdictionLabel: string | null;
|
|
1011
1013
|
total: number;
|
|
1012
1014
|
currency: string;
|