@cimplify/sdk 0.85.0 → 0.86.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/{chunk-DU4IX2I2.mjs → chunk-A2GXDCSI.mjs} +2 -2
- package/dist/{chunk-XA3ZNR75.js → chunk-AETVRBKI.js} +1 -1
- package/dist/{chunk-GIFVSWYJ.mjs → chunk-D6JWYYTG.mjs} +2 -2
- package/dist/{chunk-A6J7W6DH.js → chunk-ESGKWRQS.js} +4 -4
- package/dist/{chunk-GFM5JW45.js → chunk-HJEKXCG2.js} +62 -62
- package/dist/{chunk-AMZXALF6.mjs → chunk-K5EN2W2Q.mjs} +1 -1
- package/dist/{chunk-TD3AY34U.mjs → chunk-KFLGQGMC.mjs} +3 -3
- package/dist/{chunk-NWUEWUX2.mjs → chunk-MRL53WP6.mjs} +2 -2
- package/dist/{chunk-7BM56JET.mjs → chunk-NN3WC7XZ.mjs} +3 -3
- package/dist/{chunk-7Y2O3E4D.js → chunk-PTPOQVXS.js} +5 -5
- package/dist/{chunk-HPN5R3K2.js → chunk-VUG4HTUM.js} +23 -23
- package/dist/{chunk-NWTCBGJ2.js → chunk-X4UNISYG.js} +4 -4
- package/dist/{client-WKKxIiF1.d.ts → client-BQSRj4iK.d.mts} +528 -539
- package/dist/{client-DLtwQ-jI.d.mts → client-BdI24jUT.d.ts} +528 -539
- package/dist/{client-BT5gaiGR.d.ts → client-CMJO_8zo.d.ts} +2 -2
- package/dist/{client-BEhIE0Dm.d.mts → client-DowGNrTh.d.mts} +2 -2
- package/dist/{index-BrC1x2kK.d.ts → index-BRwHpMY-.d.ts} +3 -3
- package/dist/{index-DZz6hdrT.d.mts → index-DLb_Ldl6.d.mts} +3 -3
- package/dist/index.d.mts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +117 -117
- package/dist/index.mjs +5 -5
- package/dist/mock/cli.mjs +2 -2
- package/dist/mock/library.js +2 -2
- package/dist/mock/library.mjs +2 -2
- package/dist/mock/msw.js +2 -2
- package/dist/mock/msw.mjs +2 -2
- package/dist/{payment-D1f3ZQPC.d.ts → payment-BA7KNBxg.d.ts} +3 -3
- package/dist/{payment-Dh-6cRcV.d.mts → payment-CFev-fOE.d.mts} +3 -3
- package/dist/{price-CQdOJoX-.d.ts → price-BNhGVB5q.d.ts} +1 -1
- package/dist/{price-4T7dlhxM.d.mts → price-nRxqVNGq.d.mts} +1 -1
- package/dist/product-BGxIfTqJ.d.mts +5400 -0
- package/dist/product-BGxIfTqJ.d.ts +5400 -0
- package/dist/react.d.mts +6 -6
- package/dist/react.d.ts +6 -6
- package/dist/react.js +139 -139
- package/dist/react.mjs +19 -19
- package/dist/{server-DjK98UW-.d.mts → server-9u0LiG5U.d.mts} +1 -1
- package/dist/{server-DvThXldo.d.ts → server-BH7DTaaz.d.ts} +1 -1
- package/dist/server.d.mts +4 -4
- package/dist/server.d.ts +4 -4
- 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 +6 -6
- package/dist/testing/suite.d.ts +6 -6
- package/dist/testing/suite.js +25 -25
- package/dist/testing/suite.mjs +6 -6
- package/dist/testing.d.mts +5 -5
- package/dist/testing.d.ts +5 -5
- package/dist/testing.js +81 -81
- package/dist/testing.mjs +7 -7
- package/dist/utils.d.mts +4 -4
- package/dist/utils.d.ts +4 -4
- package/dist/utils.js +29 -29
- package/dist/utils.mjs +2 -2
- package/package.json +5 -2
- package/registry/currency-selector.json +1 -1
- package/registry/digital-product-card.json +1 -1
- package/registry/digital-product-layout.json +1 -1
- package/dist/product-RJMIdCAf.d.mts +0 -1582
- package/dist/product-RJMIdCAf.d.ts +0 -1582
package/dist/react.d.mts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React$1, { ReactNode } from 'react';
|
|
2
2
|
import { d as AdSlot, c as AdPosition, a as AdContextValue, S as SignInOptions } from './sign-in-DQlIdqsi.mjs';
|
|
3
3
|
export { A as AdConfig, g as getVariantDisplayName } from './sign-in-DQlIdqsi.mjs';
|
|
4
|
-
import {
|
|
4
|
+
import { ac as CimplifyClient, c4 as OrderType, cp as ProcessCheckoutResult, a9 as CheckoutStatus, aa as CheckoutStatusContext, aW as EnrichedOrderItem, aV as EnrichedOrder, w as Business, bt as Location, cG as ReorderResult, c2 as OrderStatus, bJ as Order, cr as QuoteBundleSelectionInput, cs as QuoteCompositeSelectionInput, cl as PriceQuote, cv as QuoteUiMessage, c$ as Service, r as AvailableSlot, au as DayAvailability, am as CustomerBooking, L as CancelBookingResult, f as ActivityStateResponse, d8 as SessionMessage, c as ActivityRecommendation, aw as DeliveryFeeResponse, ay as DeliveryOptionsResponse, b8 as FxRateResponse, dh as StoreCreditBalance, dj as StorefrontBootstrap, X as ChatWidgetStarter, W as ChatMessage, h as AddressInfo, n as AuthenticatedData, aU as ElementsOptions, cf as PaymentMethodInfo, aS as ElementsCheckoutResult, co as ProcessCheckoutOptions, af as CimplifyElements, bk as LineItem, db as Staff, cW as Room } from './client-BQSRj4iK.mjs';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
|
-
import { ab as CurrencyCode, aX as Product, aO as Pagination, T as CimplifyError, b9 as ProductWithDetails, Q as Category, aM as Money, C as BundleSelectionInput, $ as ComponentSelectionInput, z as BundleSelectionData, a8 as CompositeSelectionData, U as Collection, b4 as ProductTaxonomy, bv as TaxonomyWithChildren, b5 as ProductTimeProfile, ah as Deal, b0 as ProductDealInfo, an as DiscountValidation, E as BundleSummary, a6 as CompositePriceResult, bq as SubscriptionWithDetails, bp as SubscriptionStatus, bm as Subscription, ac as CustomAttributeDefinition, ba as PropertyFacet, a$ as ProductBillingPlan, bO as VariantView, bI as VariantAxisWithValues, f as AddOnWithOptions, w as BundleComponentView, x as BundlePriceType, a4 as CompositeGroupView, aq as DisplayCart, b1 as ProductInputField, bg as SaleInfo, bB as UpcomingSale, bi as SchedulingMode, at as DurationUnit, aj as DepositType, ad as CustomAttributeValue, b2 as ProductProperty, bc as QuantityPricingTier } from './product-
|
|
7
|
-
import { P as ProductWithPrice } from './price-
|
|
6
|
+
import { ab as CurrencyCode, aX as Product, aO as Pagination, T as CimplifyError, b9 as ProductWithDetails, Q as Category, aM as Money, C as BundleSelectionInput, $ as ComponentSelectionInput, z as BundleSelectionData, a8 as CompositeSelectionData, U as Collection, b4 as ProductTaxonomy, bv as TaxonomyWithChildren, b5 as ProductTimeProfile, ah as Deal, b0 as ProductDealInfo, an as DiscountValidation, E as BundleSummary, a6 as CompositePriceResult, bq as SubscriptionWithDetails, bp as SubscriptionStatus, bm as Subscription, ac as CustomAttributeDefinition, ba as PropertyFacet, a$ as ProductBillingPlan, bO as VariantView, bI as VariantAxisWithValues, f as AddOnWithOptions, w as BundleComponentView, x as BundlePriceType, a4 as CompositeGroupView, aq as DisplayCart, b1 as ProductInputField, bg as SaleInfo, bB as UpcomingSale, bi as SchedulingMode, at as DurationUnit, aj as DepositType, ad as CustomAttributeValue, b2 as ProductProperty, bc as QuantityPricingTier } from './product-BGxIfTqJ.mjs';
|
|
7
|
+
import { P as ProductWithPrice } from './price-nRxqVNGq.mjs';
|
|
8
8
|
import { ClassValue } from 'clsx';
|
|
9
9
|
import { Matcher } from 'react-day-picker';
|
|
10
|
-
import './payment-
|
|
10
|
+
import './payment-CFev-fOE.mjs';
|
|
11
11
|
|
|
12
12
|
interface UserIdentity {
|
|
13
13
|
uid: string;
|
|
@@ -54,7 +54,7 @@ interface AdProps {
|
|
|
54
54
|
}
|
|
55
55
|
declare function Ad({ slot, position, className, style, fallback, onImpression, onClick, }: AdProps): React$1.ReactElement | null;
|
|
56
56
|
|
|
57
|
-
type CheckoutOrderType =
|
|
57
|
+
type CheckoutOrderType = OrderType;
|
|
58
58
|
interface CimplifyCheckoutProps {
|
|
59
59
|
client: CimplifyClient;
|
|
60
60
|
businessId?: string;
|
|
@@ -1549,7 +1549,7 @@ declare function PaymentElement({ className, style, amount, currency, onReady, o
|
|
|
1549
1549
|
declare function useCheckout(): {
|
|
1550
1550
|
submit: (data: {
|
|
1551
1551
|
cart_id: string;
|
|
1552
|
-
order_type?:
|
|
1552
|
+
order_type?: OrderType;
|
|
1553
1553
|
location_id?: string;
|
|
1554
1554
|
scheduled_time?: string;
|
|
1555
1555
|
tip_amount?: number;
|
package/dist/react.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React$1, { ReactNode } from 'react';
|
|
2
2
|
import { d as AdSlot, c as AdPosition, a as AdContextValue, S as SignInOptions } from './sign-in-DQlIdqsi.js';
|
|
3
3
|
export { A as AdConfig, g as getVariantDisplayName } from './sign-in-DQlIdqsi.js';
|
|
4
|
-
import {
|
|
4
|
+
import { ac as CimplifyClient, c4 as OrderType, cp as ProcessCheckoutResult, a9 as CheckoutStatus, aa as CheckoutStatusContext, aW as EnrichedOrderItem, aV as EnrichedOrder, w as Business, bt as Location, cG as ReorderResult, c2 as OrderStatus, bJ as Order, cr as QuoteBundleSelectionInput, cs as QuoteCompositeSelectionInput, cl as PriceQuote, cv as QuoteUiMessage, c$ as Service, r as AvailableSlot, au as DayAvailability, am as CustomerBooking, L as CancelBookingResult, f as ActivityStateResponse, d8 as SessionMessage, c as ActivityRecommendation, aw as DeliveryFeeResponse, ay as DeliveryOptionsResponse, b8 as FxRateResponse, dh as StoreCreditBalance, dj as StorefrontBootstrap, X as ChatWidgetStarter, W as ChatMessage, h as AddressInfo, n as AuthenticatedData, aU as ElementsOptions, cf as PaymentMethodInfo, aS as ElementsCheckoutResult, co as ProcessCheckoutOptions, af as CimplifyElements, bk as LineItem, db as Staff, cW as Room } from './client-BdI24jUT.js';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
|
-
import { ab as CurrencyCode, aX as Product, aO as Pagination, T as CimplifyError, b9 as ProductWithDetails, Q as Category, aM as Money, C as BundleSelectionInput, $ as ComponentSelectionInput, z as BundleSelectionData, a8 as CompositeSelectionData, U as Collection, b4 as ProductTaxonomy, bv as TaxonomyWithChildren, b5 as ProductTimeProfile, ah as Deal, b0 as ProductDealInfo, an as DiscountValidation, E as BundleSummary, a6 as CompositePriceResult, bq as SubscriptionWithDetails, bp as SubscriptionStatus, bm as Subscription, ac as CustomAttributeDefinition, ba as PropertyFacet, a$ as ProductBillingPlan, bO as VariantView, bI as VariantAxisWithValues, f as AddOnWithOptions, w as BundleComponentView, x as BundlePriceType, a4 as CompositeGroupView, aq as DisplayCart, b1 as ProductInputField, bg as SaleInfo, bB as UpcomingSale, bi as SchedulingMode, at as DurationUnit, aj as DepositType, ad as CustomAttributeValue, b2 as ProductProperty, bc as QuantityPricingTier } from './product-
|
|
7
|
-
import { P as ProductWithPrice } from './price-
|
|
6
|
+
import { ab as CurrencyCode, aX as Product, aO as Pagination, T as CimplifyError, b9 as ProductWithDetails, Q as Category, aM as Money, C as BundleSelectionInput, $ as ComponentSelectionInput, z as BundleSelectionData, a8 as CompositeSelectionData, U as Collection, b4 as ProductTaxonomy, bv as TaxonomyWithChildren, b5 as ProductTimeProfile, ah as Deal, b0 as ProductDealInfo, an as DiscountValidation, E as BundleSummary, a6 as CompositePriceResult, bq as SubscriptionWithDetails, bp as SubscriptionStatus, bm as Subscription, ac as CustomAttributeDefinition, ba as PropertyFacet, a$ as ProductBillingPlan, bO as VariantView, bI as VariantAxisWithValues, f as AddOnWithOptions, w as BundleComponentView, x as BundlePriceType, a4 as CompositeGroupView, aq as DisplayCart, b1 as ProductInputField, bg as SaleInfo, bB as UpcomingSale, bi as SchedulingMode, at as DurationUnit, aj as DepositType, ad as CustomAttributeValue, b2 as ProductProperty, bc as QuantityPricingTier } from './product-BGxIfTqJ.js';
|
|
7
|
+
import { P as ProductWithPrice } from './price-BNhGVB5q.js';
|
|
8
8
|
import { ClassValue } from 'clsx';
|
|
9
9
|
import { Matcher } from 'react-day-picker';
|
|
10
|
-
import './payment-
|
|
10
|
+
import './payment-BA7KNBxg.js';
|
|
11
11
|
|
|
12
12
|
interface UserIdentity {
|
|
13
13
|
uid: string;
|
|
@@ -54,7 +54,7 @@ interface AdProps {
|
|
|
54
54
|
}
|
|
55
55
|
declare function Ad({ slot, position, className, style, fallback, onImpression, onClick, }: AdProps): React$1.ReactElement | null;
|
|
56
56
|
|
|
57
|
-
type CheckoutOrderType =
|
|
57
|
+
type CheckoutOrderType = OrderType;
|
|
58
58
|
interface CimplifyCheckoutProps {
|
|
59
59
|
client: CimplifyClient;
|
|
60
60
|
businessId?: string;
|
|
@@ -1549,7 +1549,7 @@ declare function PaymentElement({ className, style, amount, currency, onReady, o
|
|
|
1549
1549
|
declare function useCheckout(): {
|
|
1550
1550
|
submit: (data: {
|
|
1551
1551
|
cart_id: string;
|
|
1552
|
-
order_type?:
|
|
1552
|
+
order_type?: OrderType;
|
|
1553
1553
|
location_id?: string;
|
|
1554
1554
|
scheduled_time?: string;
|
|
1555
1555
|
tip_amount?: number;
|