@cimplify/sdk 0.28.0 → 0.30.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 +2 -2
- package/dist/advanced.d.ts +2 -2
- package/dist/{chunk-GS7AX6B3.js → chunk-F47XFKYP.js} +152 -0
- package/dist/{chunk-FFUCCUG4.mjs → chunk-WGAVNFEQ.mjs} +149 -1
- package/dist/{index-EGhIxwfI.d.mts → index-BHVJgyqM.d.ts} +2 -2
- package/dist/{index-C2U1gHyP.d.ts → index-D4oNCc37.d.mts} +2 -2
- package/dist/{index-iHKILmG9.d.ts → index-DTdtu4OO.d.ts} +141 -15
- package/dist/{index-ClrQ0yTH.d.mts → index-DaXyvlxk.d.mts} +141 -15
- package/dist/index.d.mts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +26 -10
- package/dist/index.mjs +1 -1
- package/dist/{payment-k8feV7r8.d.ts → payment-DnU_eLuT.d.mts} +119 -3
- package/dist/{payment-k8feV7r8.d.mts → payment-DnU_eLuT.d.ts} +119 -3
- package/dist/{price-Den0zv61.d.mts → price-D-hso3np.d.mts} +1 -1
- package/dist/{price-4EK-0zF5.d.ts → price-DUVmRTaz.d.ts} +1 -1
- package/dist/react.d.mts +99 -4
- package/dist/react.d.ts +99 -4
- package/dist/react.js +1893 -381
- package/dist/react.mjs +1556 -47
- package/dist/styles.css +1 -1
- package/dist/utils.d.mts +3 -3
- package/dist/utils.d.ts +3 -3
- package/package.json +1 -1
- package/registry/cart-summary.json +1 -1
- package/registry/chat-widget.json +15 -0
- package/registry/index.json +9 -0
- package/registry/product-customizer.json +1 -1
- package/registry/schedule-service-card.json +1 -1
- package/registry/service-product-layout.json +1 -1
- package/registry/subscription-card.json +1 -1
|
@@ -211,7 +211,8 @@ interface ComponentSchedulingData {
|
|
|
211
211
|
scheduled_end?: string;
|
|
212
212
|
service_status: string;
|
|
213
213
|
confirmation_code?: string;
|
|
214
|
-
|
|
214
|
+
booking_id?: string;
|
|
215
|
+
primary_resource_id?: string;
|
|
215
216
|
}
|
|
216
217
|
interface BundleStoredSelection {
|
|
217
218
|
component_id: string;
|
|
@@ -256,15 +257,18 @@ type LineConfiguration = {
|
|
|
256
257
|
type: "simple";
|
|
257
258
|
variant?: VariantDetails;
|
|
258
259
|
add_ons?: AddOnDetails;
|
|
260
|
+
customer_inputs?: CustomerInputValue[];
|
|
259
261
|
} | {
|
|
260
262
|
type: "service";
|
|
261
263
|
variant?: VariantDetails;
|
|
262
264
|
add_ons?: AddOnDetails;
|
|
265
|
+
customer_inputs?: CustomerInputValue[];
|
|
263
266
|
scheduled_start?: string;
|
|
264
267
|
scheduled_end?: string;
|
|
265
268
|
confirmation_code?: string;
|
|
266
269
|
service_status?: string;
|
|
267
270
|
primary_staff_id?: string;
|
|
271
|
+
primary_resource_id?: string;
|
|
268
272
|
scheduling_metadata?: Record<string, unknown>;
|
|
269
273
|
} | {
|
|
270
274
|
type: "bundle";
|
|
@@ -272,16 +276,19 @@ type LineConfiguration = {
|
|
|
272
276
|
input: BundleSelectionInput[];
|
|
273
277
|
resolved?: BundleSelectionData;
|
|
274
278
|
add_ons?: AddOnDetails;
|
|
279
|
+
customer_inputs?: CustomerInputValue[];
|
|
275
280
|
} | {
|
|
276
281
|
type: "composite";
|
|
277
282
|
variant?: VariantDetails;
|
|
278
283
|
input: ComponentSelectionInput[];
|
|
279
284
|
resolved?: CompositeSelectionData;
|
|
280
285
|
add_ons?: AddOnDetails;
|
|
286
|
+
customer_inputs?: CustomerInputValue[];
|
|
281
287
|
} | {
|
|
282
288
|
type: "digital";
|
|
283
289
|
variant?: VariantDetails;
|
|
284
290
|
add_ons?: AddOnDetails;
|
|
291
|
+
customer_inputs?: CustomerInputValue[];
|
|
285
292
|
digital_type?: string;
|
|
286
293
|
fulfillment_id?: string;
|
|
287
294
|
};
|
|
@@ -502,6 +509,12 @@ interface CartItemDetails {
|
|
|
502
509
|
bundle_resolved?: BundleSelectionData;
|
|
503
510
|
composite_selections?: ComponentSelectionInput[];
|
|
504
511
|
composite_resolved?: CompositeSelectionData;
|
|
512
|
+
customer_inputs?: Array<{
|
|
513
|
+
field_id: string;
|
|
514
|
+
field_name: string;
|
|
515
|
+
field_type: string;
|
|
516
|
+
value: unknown;
|
|
517
|
+
}>;
|
|
505
518
|
applied_discount_ids: string[];
|
|
506
519
|
discount_details?: DiscountDetails;
|
|
507
520
|
created_at: string;
|
|
@@ -546,6 +559,10 @@ interface AddToCartInput {
|
|
|
546
559
|
staff_id?: string;
|
|
547
560
|
resource_id?: string;
|
|
548
561
|
billing_plan_id?: string;
|
|
562
|
+
customer_inputs?: Array<{
|
|
563
|
+
field_id: string;
|
|
564
|
+
value: unknown;
|
|
565
|
+
}>;
|
|
549
566
|
}
|
|
550
567
|
interface UpdateCartItemInput {
|
|
551
568
|
quantity?: number;
|
|
@@ -568,7 +585,7 @@ interface CartSummary {
|
|
|
568
585
|
currency: CurrencyCode;
|
|
569
586
|
}
|
|
570
587
|
|
|
571
|
-
type BillingFrequency = "weekly" | "monthly" | "quarterly" | "annually";
|
|
588
|
+
type BillingFrequency = "weekly" | "biweekly" | "monthly" | "quarterly" | "annually";
|
|
572
589
|
type BillingPlanType = "subscription" | "installment";
|
|
573
590
|
type BillingMarkupType = "fixed" | "percentage";
|
|
574
591
|
interface ProductBillingPlan {
|
|
@@ -677,6 +694,7 @@ type InventoryType = "one_to_one" | "composition" | "none";
|
|
|
677
694
|
type VariantStrategy = "fetch_all" | "use_axes";
|
|
678
695
|
type DigitalProductType = "download" | "license" | "event_ticket" | "access_pass" | "gift_code";
|
|
679
696
|
type DepositType = "none" | "fixed" | "percentage";
|
|
697
|
+
type SchedulingMode = "intraday" | "multi_day";
|
|
680
698
|
type DurationUnit = "minutes" | "hours" | "days" | "nights" | "weeks" | "months" | "years";
|
|
681
699
|
declare const DURATION_UNIT: {
|
|
682
700
|
Minutes: "minutes";
|
|
@@ -842,6 +860,8 @@ interface Product {
|
|
|
842
860
|
code_type?: string;
|
|
843
861
|
code_value?: Money;
|
|
844
862
|
code_currency?: CurrencyCode;
|
|
863
|
+
scheduling_mode?: SchedulingMode;
|
|
864
|
+
duration_value?: number;
|
|
845
865
|
duration_minutes?: number;
|
|
846
866
|
duration_unit?: DurationUnit;
|
|
847
867
|
preparation_time_minutes?: number;
|
|
@@ -853,6 +873,13 @@ interface Product {
|
|
|
853
873
|
deposit_amount?: Money;
|
|
854
874
|
cancellation_window_minutes?: number;
|
|
855
875
|
no_show_fee?: Money;
|
|
876
|
+
partial_refund_percentage?: number;
|
|
877
|
+
max_free_reschedules?: number;
|
|
878
|
+
reschedule_fee?: Money;
|
|
879
|
+
no_show_deadline_minutes?: number;
|
|
880
|
+
cancellation_notice_days?: number;
|
|
881
|
+
early_termination_fee?: Money;
|
|
882
|
+
pro_rata_refund?: boolean;
|
|
856
883
|
requires_specific_staff?: boolean;
|
|
857
884
|
requires_specific_resource?: boolean;
|
|
858
885
|
hs_code?: string;
|
|
@@ -880,9 +907,94 @@ interface Product {
|
|
|
880
907
|
billing_plans?: ProductBillingPlan[];
|
|
881
908
|
quantity_pricing?: QuantityPricingTier[];
|
|
882
909
|
min_order_quantity?: number;
|
|
910
|
+
input_fields?: ProductInputField[];
|
|
883
911
|
upsells?: RelatedProductView[];
|
|
884
912
|
cross_sells?: RelatedProductView[];
|
|
885
913
|
}
|
|
914
|
+
type InputFieldType = "text" | "textarea" | "number" | "select" | "radio" | "checkbox" | "color" | "date" | "file" | "image" | "url" | "address" | "phone" | "email" | "date_time" | "time" | "signature" | "multi_select" | "date_range" | "location";
|
|
915
|
+
declare const INPUT_FIELD_TYPE: {
|
|
916
|
+
Text: "text";
|
|
917
|
+
Textarea: "textarea";
|
|
918
|
+
Number: "number";
|
|
919
|
+
Select: "select";
|
|
920
|
+
Radio: "radio";
|
|
921
|
+
Checkbox: "checkbox";
|
|
922
|
+
Color: "color";
|
|
923
|
+
Date: "date";
|
|
924
|
+
File: "file";
|
|
925
|
+
Image: "image";
|
|
926
|
+
Url: "url";
|
|
927
|
+
Address: "address";
|
|
928
|
+
Phone: "phone";
|
|
929
|
+
Email: "email";
|
|
930
|
+
DateTime: "date_time";
|
|
931
|
+
Time: "time";
|
|
932
|
+
Signature: "signature";
|
|
933
|
+
MultiSelect: "multi_select";
|
|
934
|
+
DateRange: "date_range";
|
|
935
|
+
Location: "location";
|
|
936
|
+
};
|
|
937
|
+
interface AddressValue {
|
|
938
|
+
formatted_address: string;
|
|
939
|
+
street_address?: string;
|
|
940
|
+
apartment?: string;
|
|
941
|
+
city?: string;
|
|
942
|
+
region?: string;
|
|
943
|
+
postal_code?: string;
|
|
944
|
+
country?: string;
|
|
945
|
+
latitude: number;
|
|
946
|
+
longitude: number;
|
|
947
|
+
place_id?: string;
|
|
948
|
+
}
|
|
949
|
+
interface PhoneValue {
|
|
950
|
+
country_code: string;
|
|
951
|
+
number: string;
|
|
952
|
+
formatted: string;
|
|
953
|
+
}
|
|
954
|
+
interface DateRangeValue {
|
|
955
|
+
start: string;
|
|
956
|
+
end: string;
|
|
957
|
+
}
|
|
958
|
+
interface LocationValue {
|
|
959
|
+
latitude: number;
|
|
960
|
+
longitude: number;
|
|
961
|
+
label?: string;
|
|
962
|
+
}
|
|
963
|
+
interface SignatureValue {
|
|
964
|
+
data_url: string;
|
|
965
|
+
signer_name?: string;
|
|
966
|
+
}
|
|
967
|
+
interface InputFieldValidation {
|
|
968
|
+
max_length?: number;
|
|
969
|
+
min_length?: number;
|
|
970
|
+
min_value?: number;
|
|
971
|
+
max_value?: number;
|
|
972
|
+
accepted_formats?: string[];
|
|
973
|
+
max_size_mb?: number;
|
|
974
|
+
pattern?: string;
|
|
975
|
+
allowed_countries?: string[];
|
|
976
|
+
max_selections?: number;
|
|
977
|
+
}
|
|
978
|
+
interface ProductInputField {
|
|
979
|
+
id: string;
|
|
980
|
+
product_id: string;
|
|
981
|
+
name: string;
|
|
982
|
+
slug: string;
|
|
983
|
+
field_type: InputFieldType;
|
|
984
|
+
is_required: boolean;
|
|
985
|
+
display_order: number;
|
|
986
|
+
placeholder?: string;
|
|
987
|
+
help_text?: string;
|
|
988
|
+
validation?: InputFieldValidation;
|
|
989
|
+
options?: string[];
|
|
990
|
+
price_adjustment?: Money;
|
|
991
|
+
}
|
|
992
|
+
interface CustomerInputValue {
|
|
993
|
+
field_id: string;
|
|
994
|
+
field_name: string;
|
|
995
|
+
field_type: string;
|
|
996
|
+
value: unknown;
|
|
997
|
+
}
|
|
886
998
|
interface QuantityPricingTier {
|
|
887
999
|
min_quantity: number;
|
|
888
1000
|
max_quantity?: number;
|
|
@@ -914,6 +1026,8 @@ interface VariantView {
|
|
|
914
1026
|
axis_selections?: Record<string, string>;
|
|
915
1027
|
display_attributes?: VariantDisplayAttribute[];
|
|
916
1028
|
images?: string[];
|
|
1029
|
+
scheduling_mode?: SchedulingMode;
|
|
1030
|
+
duration_value?: number;
|
|
917
1031
|
duration_minutes?: number;
|
|
918
1032
|
duration_unit?: DurationUnit;
|
|
919
1033
|
skill_level_required?: string;
|
|
@@ -947,6 +1061,8 @@ interface ProductVariant {
|
|
|
947
1061
|
barcode?: string;
|
|
948
1062
|
download_url?: string;
|
|
949
1063
|
metadata?: Record<string, unknown>;
|
|
1064
|
+
scheduling_mode?: SchedulingMode;
|
|
1065
|
+
duration_value?: number;
|
|
950
1066
|
duration_minutes?: number;
|
|
951
1067
|
duration_unit?: DurationUnit;
|
|
952
1068
|
max_downloads?: number;
|
|
@@ -1507,4 +1623,4 @@ interface SubmitAuthorizationInput {
|
|
|
1507
1623
|
value: string;
|
|
1508
1624
|
}
|
|
1509
1625
|
|
|
1510
|
-
export { type
|
|
1626
|
+
export { type SignatureValue as $, type ApiError as A, type AttributeValidationRules as B, type ChosenPrice as C, type DisplayMode as D, ErrorCode as E, type CustomAttributeDefinition as F, type CustomAttributeValue as G, type PropertySource as H, type InventoryType as I, type ProductProperty as J, type PropertyFacet as K, type FacetValue as L, type Money as M, type KnowledgeArticle as N, type Product as O, type PaginationParams as P, type InputFieldType as Q, RENDER_HINT as R, type SchedulingMode as S, type TaxonomyAttributeTemplate as T, INPUT_FIELD_TYPE as U, type VariantStrategy as V, type AddressValue as W, type PhoneValue as X, type DateRangeValue as Y, ZERO as Z, type LocationValue as _, type CurrencyCode as a, type CartStatus as a$, type InputFieldValidation as a0, type ProductInputField as a1, type CustomerInputValue as a2, type QuantityPricingTier as a3, type RelatedProductView as a4, type ProductWithDetails as a5, type VariantView as a6, type ProductVariant as a7, type VariantDisplayAttribute as a8, type VariantAxis as a9, type CompositePricingMode as aA, type GroupPricingBehavior as aB, type ComponentSourceType as aC, type Composite as aD, type CompositeWithDetails as aE, type ComponentGroup as aF, type ComponentGroupWithComponents as aG, type CompositeGroupView as aH, type CompositeComponentView as aI, type CompositeComponent as aJ, type ComponentSelectionInput as aK, type CompositePriceResult as aL, type ComponentPriceBreakdown as aM, type PriceEntryType as aN, type Price as aO, type LocationProductPrice as aP, type ProductAvailability as aQ, type ProductTimeProfile as aR, type ProductTaxonomy as aS, type TaxonomyWithChildren as aT, type ProductAvailabilityNow as aU, type DealBenefitType as aV, type Deal as aW, type ProductDealInfo as aX, type DiscountValidation as aY, type Tag as aZ, type TagsResponse as a_, type VariantAxisWithValues as aa, type VariantAxisValue as ab, type ProductVariantValue as ac, type VariantLocationAvailability as ad, type VariantAxisSelection as ae, type AddOn as af, type AddOnWithOptions as ag, type AddOnOption as ah, type AddOnOptionPrice as ai, type ProductAddOn as aj, type Category as ak, type CategorySummary as al, type Collection as am, type CollectionSummary as an, type CollectionProduct as ao, type BundlePriceType as ap, type Bundle as aq, type BundleSummary as ar, type BundleProduct as as, type BundleWithDetails as at, type BundleComponentData as au, type BundleComponentInfo as av, type BundleComponentView as aw, type BundleComponentVariantView as ax, type VariantAxisView as ay, type VariantAxisValueView as az, moneyFromNumber as b, type Subscription as b$, type CartChannel as b0, type PriceSource as b1, type AdjustmentType as b2, type PriceAdjustment as b3, type TaxPathComponent as b4, type PricePathTaxInfo as b5, type PriceDecisionPath as b6, type BenefitType as b7, type AppliedDiscount as b8, type DiscountBreakdown as b9, type VariantDetailsDTO as bA, type CartItemDetails as bB, type UICart as bC, type UICartResponse as bD, type AddToCartInput as bE, type UpdateCartItemInput as bF, type CartSummary as bG, type PaymentStatus as bH, type PaymentProvider as bI, type PaymentMethodType as bJ, type AddressAuthorizationData as bK, type AuthorizationType as bL, type PaymentProcessingState as bM, type PaymentMethod as bN, type Payment as bO, type InitializePaymentResult as bP, type PaymentResponse as bQ, type PaymentStatusResponse as bR, type PaymentErrorDetails as bS, type SubmitAuthorizationInput as bT, type BillingFrequency as bU, type BillingPlanType as bV, type BillingMarkupType as bW, type ProductBillingPlan as bX, type EligiblePlansQuery as bY, type FormattedPlanOption as bZ, type SubscriptionStatus as b_, type DiscountDetails as ba, type SelectedAddOnOption as bb, type AddOnDetails as bc, type CartAddOn as bd, type VariantDetails as be, type BundleSelectionInput as bf, type ComponentSchedulingData as bg, type BundleStoredSelection as bh, type BundleSelectionData as bi, type CompositeStoredSelection as bj, type CompositePriceBreakdown as bk, type CompositeSelectionData as bl, type LineConfiguration as bm, type Cart as bn, type CartItem as bo, type CartTotals as bp, type DisplayCart as bq, type DisplayCartItem as br, type DisplayAddOn as bs, type DisplayAddOnOption as bt, type UICartBusiness as bu, type UICartLocation as bv, type UICartCustomer as bw, type UICartPricing as bx, type AddOnOptionDetails as by, type AddOnGroupDetails as bz, currencyCode as c, type SubscriptionItem as c0, type SubscriptionInvoice as c1, type SubscriptionWithDetails as c2, type Pagination as d, type ErrorCodeType as e, type ErrorHint as f, ERROR_HINTS as g, CimplifyError as h, isSupportedCurrency as i, isCimplifyError as j, getErrorHint as k, enrichError as l, money as m, isRetryableError as n, type ProductType as o, PRODUCT_TYPE as p, type ProductRenderHint as q, type DigitalProductType as r, type DepositType as s, type DurationUnit as t, DURATION_UNIT as u, type SalesChannel as v, type AttributeType as w, type AttributeAppliesTo as x, type AttributeVisibility as y, type MeasurementValue as z };
|
package/dist/react.d.mts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import React$1, { ReactNode } from 'react';
|
|
2
2
|
import { A as AdSlot, a as AdPosition, e as AdContextValue } from './ads-BxbWrwqp.mjs';
|
|
3
3
|
export { c as AdConfig, g as getVariantDisplayName } from './ads-BxbWrwqp.mjs';
|
|
4
|
-
import { C as CimplifyClient,
|
|
5
|
-
import { a as CurrencyCode,
|
|
6
|
-
import { P as ProductWithPrice } from './price-
|
|
4
|
+
import { C as CimplifyClient, ao as ProcessCheckoutResult, aq as CheckoutStatus, ar as CheckoutStatusContext, b_ as Location, bX as Business, k as ReorderResult, b5 as OrderStatus, bi as Order, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, P as PriceQuote, g as QuoteUiMessage, cb as Service, cg as AvailableSlot, ch as DayAvailability, cm as CustomerBooking, cs as CancelBookingResult, K as ActivityStateResponse, H as SessionMessage, M as ActivityRecommendation, X as DeliveryFeeResponse, d4 as FxRateResponse, c5 as StorefrontBootstrap, a1 as ChatWidgetStarter, Z as ChatMessage, ac as ElementsOptions, di as AuthenticatedData, de as AddressInfo, df as PaymentMethodInfo, a6 as CimplifyElements, dk as ElementsCheckoutResult, an as ProcessCheckoutOptions, bh as LineItem, cc as Staff, c3 as Room } from './index-DaXyvlxk.mjs';
|
|
5
|
+
import { a as CurrencyCode, O as Product, d as Pagination, h as CimplifyError, a5 as ProductWithDetails, ak as Category, M as Money, bf as BundleSelectionInput, aK as ComponentSelectionInput, bi as BundleSelectionData, bl as CompositeSelectionData, am as Collection, aS as ProductTaxonomy, aT as TaxonomyWithChildren, aR as ProductTimeProfile, aW as Deal, aX as ProductDealInfo, aY as DiscountValidation, ar as BundleSummary, aL as CompositePriceResult, b_ as SubscriptionStatus, b$ as Subscription, c2 as SubscriptionWithDetails, F as CustomAttributeDefinition, K as PropertyFacet, bX as ProductBillingPlan, a6 as VariantView, aa as VariantAxisWithValues, ag as AddOnWithOptions, aw as BundleComponentView, ap as BundlePriceType, aH as CompositeGroupView, bq as DisplayCart, a1 as ProductInputField, G as CustomAttributeValue, J as ProductProperty, a3 as QuantityPricingTier } from './payment-DnU_eLuT.mjs';
|
|
6
|
+
import { P as ProductWithPrice } from './price-D-hso3np.mjs';
|
|
7
7
|
import { ClassValue } from 'clsx';
|
|
8
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
8
9
|
|
|
9
10
|
interface UserIdentity {
|
|
10
11
|
uid: string;
|
|
@@ -243,6 +244,12 @@ interface UseCartItem {
|
|
|
243
244
|
serviceStatus?: string;
|
|
244
245
|
bundleResolved?: BundleSelectionData;
|
|
245
246
|
compositeResolved?: CompositeSelectionData;
|
|
247
|
+
customerInputs?: Array<{
|
|
248
|
+
field_id: string;
|
|
249
|
+
field_name: string;
|
|
250
|
+
field_type: string;
|
|
251
|
+
value: unknown;
|
|
252
|
+
}>;
|
|
246
253
|
}
|
|
247
254
|
interface AddToCartOptions {
|
|
248
255
|
locationId?: string;
|
|
@@ -259,6 +266,10 @@ interface AddToCartOptions {
|
|
|
259
266
|
staffId?: string;
|
|
260
267
|
resourceId?: string;
|
|
261
268
|
billingPlanId?: string;
|
|
269
|
+
customerInputs?: Array<{
|
|
270
|
+
field_id: string;
|
|
271
|
+
value: unknown;
|
|
272
|
+
}>;
|
|
262
273
|
}
|
|
263
274
|
interface UseCartOptions {
|
|
264
275
|
client?: CimplifyClient;
|
|
@@ -727,6 +738,24 @@ interface UseBootstrapResult {
|
|
|
727
738
|
}
|
|
728
739
|
declare function useBootstrap(options?: UseBootstrapOptions): UseBootstrapResult;
|
|
729
740
|
|
|
741
|
+
interface UseChatOptions {
|
|
742
|
+
client?: CimplifyClient;
|
|
743
|
+
starters?: ChatWidgetStarter[];
|
|
744
|
+
pollInterval?: number;
|
|
745
|
+
pollIdleInterval?: number;
|
|
746
|
+
}
|
|
747
|
+
interface UseChatResult {
|
|
748
|
+
messages: ChatMessage[];
|
|
749
|
+
isLoading: boolean;
|
|
750
|
+
isSending: boolean;
|
|
751
|
+
error: CimplifyError | null;
|
|
752
|
+
/** True once the conversation has been opened and has messages */
|
|
753
|
+
isActive: boolean;
|
|
754
|
+
send: (content: string) => Promise<void>;
|
|
755
|
+
startConversation: (starterText?: string) => Promise<void>;
|
|
756
|
+
}
|
|
757
|
+
declare function useChat(options?: UseChatOptions): UseChatResult;
|
|
758
|
+
|
|
730
759
|
declare function useElements(): CimplifyElements | null;
|
|
731
760
|
declare function useElementsReady(): boolean;
|
|
732
761
|
interface ElementsProviderProps {
|
|
@@ -971,6 +1000,7 @@ interface CartSummaryClassNames {
|
|
|
971
1000
|
digitalInfo?: string;
|
|
972
1001
|
bundleBreakdown?: string;
|
|
973
1002
|
compositeBreakdown?: string;
|
|
1003
|
+
customerInputs?: string;
|
|
974
1004
|
}
|
|
975
1005
|
interface CartSummaryProps {
|
|
976
1006
|
/** Optional server cart for extended pricing details (delivery fee, service charge, discounts). */
|
|
@@ -1021,6 +1051,39 @@ interface AvailabilityBadgeProps {
|
|
|
1021
1051
|
*/
|
|
1022
1052
|
declare function AvailabilityBadge({ product, isAvailable, isInStock, stockQuantity, lowStockThreshold, locationId, className, classNames, }: AvailabilityBadgeProps): React$1.ReactElement | null;
|
|
1023
1053
|
|
|
1054
|
+
interface CustomerInputFieldsClassNames {
|
|
1055
|
+
root?: string;
|
|
1056
|
+
field?: string;
|
|
1057
|
+
label?: string;
|
|
1058
|
+
required?: string;
|
|
1059
|
+
helpText?: string;
|
|
1060
|
+
input?: string;
|
|
1061
|
+
select?: string;
|
|
1062
|
+
textarea?: string;
|
|
1063
|
+
fileInput?: string;
|
|
1064
|
+
colorInput?: string;
|
|
1065
|
+
radioGroup?: string;
|
|
1066
|
+
radioOption?: string;
|
|
1067
|
+
checkboxLabel?: string;
|
|
1068
|
+
priceAdjustment?: string;
|
|
1069
|
+
addressInput?: string;
|
|
1070
|
+
phoneInput?: string;
|
|
1071
|
+
signatureCanvas?: string;
|
|
1072
|
+
multiSelectGroup?: string;
|
|
1073
|
+
multiSelectOption?: string;
|
|
1074
|
+
dateRangeInput?: string;
|
|
1075
|
+
locationInput?: string;
|
|
1076
|
+
}
|
|
1077
|
+
interface CustomerInputFieldsProps {
|
|
1078
|
+
fields: ProductInputField[];
|
|
1079
|
+
values: Record<string, unknown>;
|
|
1080
|
+
onChange: (values: Record<string, unknown>) => void;
|
|
1081
|
+
onFileUpload?: (file: File, field: ProductInputField) => Promise<string>;
|
|
1082
|
+
className?: string;
|
|
1083
|
+
classNames?: CustomerInputFieldsClassNames;
|
|
1084
|
+
}
|
|
1085
|
+
declare function CustomerInputFields({ fields, values, onChange, onFileUpload, className, classNames, }: CustomerInputFieldsProps): React$1.ReactElement | null;
|
|
1086
|
+
|
|
1024
1087
|
interface SaleBadgeClassNames {
|
|
1025
1088
|
root?: string;
|
|
1026
1089
|
percentage?: string;
|
|
@@ -2521,4 +2584,36 @@ interface ResourcePickerProps {
|
|
|
2521
2584
|
declare function roomToResource(room: Room): Resource;
|
|
2522
2585
|
declare function ResourcePicker({ resources, selectedResourceId, onResourceSelect, showAnyOption, anyLabel, renderImage, className, classNames, }: ResourcePickerProps): React$1.ReactElement;
|
|
2523
2586
|
|
|
2524
|
-
|
|
2587
|
+
interface ChatWidgetClassNames {
|
|
2588
|
+
root?: string;
|
|
2589
|
+
bubble?: string;
|
|
2590
|
+
panel?: string;
|
|
2591
|
+
header?: string;
|
|
2592
|
+
messages?: string;
|
|
2593
|
+
input?: string;
|
|
2594
|
+
welcome?: string;
|
|
2595
|
+
}
|
|
2596
|
+
interface ChatWidgetProps {
|
|
2597
|
+
client?: CimplifyClient;
|
|
2598
|
+
/** Business display name shown in the header */
|
|
2599
|
+
businessName?: string;
|
|
2600
|
+
/** Greeting text on the welcome screen */
|
|
2601
|
+
greeting?: string;
|
|
2602
|
+
/** Subtitle on the welcome screen */
|
|
2603
|
+
subtitle?: string;
|
|
2604
|
+
/** Conversation starters */
|
|
2605
|
+
starters?: ChatWidgetStarter[];
|
|
2606
|
+
/** Input placeholder */
|
|
2607
|
+
placeholder?: string;
|
|
2608
|
+
/** Position of the bubble */
|
|
2609
|
+
position?: "bottom-right" | "bottom-left";
|
|
2610
|
+
/** Start with the panel open */
|
|
2611
|
+
defaultOpen?: boolean;
|
|
2612
|
+
/** Poll interval in ms (default: 3000) */
|
|
2613
|
+
pollInterval?: number;
|
|
2614
|
+
className?: string;
|
|
2615
|
+
classNames?: ChatWidgetClassNames;
|
|
2616
|
+
}
|
|
2617
|
+
declare function ChatWidget({ client: clientProp, businessName, greeting, subtitle, starters, placeholder, position, defaultOpen, pollInterval, className, classNames, }: ChatWidgetProps): react_jsx_runtime.JSX.Element;
|
|
2618
|
+
|
|
2619
|
+
export { AccommodationCard, Ad, AdPosition, type AdProps, AdProvider, AdSlot, AddOnSelector, type AddOnSelectorClassNames, type AddOnSelectorProps, type AddToCartOptions, AddressElement, AuthElement, AvailabilityBadge, type AvailabilityBadgeClassNames, type AvailabilityBadgeProps, BillingPlanSelector, type BillingPlanSelectorClassNames, type BillingPlanSelectorProps, BookingCard, type BookingCardClassNames, type BookingCardProps, BookingList, type BookingListClassNames, type BookingListProps, BundleProductCard, BundleProductLayout, BundleSelector, type BundleSelectorClassNames, type BundleSelectorProps, CardImage, type CardLayoutProps, CardShell, CardVariant, type CartAddOnOptionSelection, type CartLayoutProps, CartPage, type CartPageClassNames, type CartPageProps, CartSummary, type CartSummaryClassNames, type CartSummaryProps, CartTemplate, type CartVariantSelection, CatalogueCollectionLayout, type CatalogueLayoutProps, CataloguePage, type CataloguePageClassNames, type CataloguePageProps, CatalogueTemplate, CategoryFilter, type CategoryFilterClassNames, type CategoryFilterProps, CategoryGrid, type CategoryGridClassNames, type CategoryGridProps, ChatWidget, type ChatWidgetClassNames, type ChatWidgetProps, CheckoutPage, type CheckoutPageClassNames, type CheckoutPageProps, CimplifyAccount, type CimplifyAccountProps, CimplifyCheckout, type CimplifyCheckoutProps, type CimplifyClientContextValue, type CimplifyContextValue, CimplifyProvider, type CimplifyProviderProps, type CollectionLayoutProps, CollectionPage, type CollectionPageClassNames, type CollectionPageProps, CollectionTemplate, CompactCartLayout, CompactCatalogueLayout, CompactSearchLayout, CompactServiceCard, CompositeProductCard, CompositeProductLayout, CompositeSelector, type CompositeSelectorClassNames, type CompositeSelectorProps, CurrencySelector, type CurrencySelectorClassNames, type CurrencySelectorProps, CustomAttributesTable, CustomerInputFields, type CustomerInputFieldsClassNames, type CustomerInputFieldsProps, DateSlotPicker, type DateSlotPickerClassNames, type DateSlotPickerProps, DealBanner, type DealBannerClassNames, type DealBannerProps, DealsPage, type DealsPageClassNames, type DealsPageProps, DefaultCartLayout, DefaultCatalogueLayout, DefaultCollectionLayout, DefaultProductLayout, DefaultSearchLayout, DeliveryEstimate, type DeliveryEstimateClassNames, type DeliveryEstimateProps, DigitalProductCard, DigitalProductLayout, DiscountInput, type DiscountInputClassNames, type DiscountInputProps, ElementsProvider, FeaturedCollectionLayout, FoodProductCard, FoodProductLayout, InventoryBadge, LeaseServiceCard, LocationPicker, type LocationPickerClassNames, type LocationPickerProps, MetadataStringList, OrderDetailPage, type OrderDetailPageClassNames, type OrderDetailPageProps, OrderHistory, type OrderHistoryClassNames, OrderHistoryPage, type OrderHistoryPageClassNames, type OrderHistoryPageProps, type OrderHistoryProps, OrderSummary, type OrderSummaryClassNames, type OrderSummaryProps, PaymentElement, Price, type PriceProps, PriceRange, type PriceRangeProps, ProductCard, type ProductCardClassNames, type ProductCardProps, ProductCustomizer, type ProductCustomizerClassNames, type ProductCustomizerProps, ProductGrid, type ProductGridClassNames, type ProductGridProps, ProductImageGallery, type ProductImageGalleryProps, type ProductLayoutProps, ProductPage, type ProductPageClassNames, type ProductPageProps, ProductSheet, type ProductSheetClassNames, type ProductSheetProps, ProductTemplate, PropertiesTable, QuantitySelector, type QuantitySelectorClassNames, type QuantitySelectorProps, QuickAddButton, RecentlyViewed, type RecentlyViewedClassNames, type RecentlyViewedProps, RecommendationCarousel, type RecommendationCarouselClassNames, type RecommendationCarouselProps, RelatedProductsSection, RentalServiceCard, type Resource, ResourcePicker, type ResourcePickerClassNames, type ResourcePickerProps, RetailProductCard, SaleBadge, type SaleBadgeClassNames, type SaleBadgeProps, ScheduleServiceCard, SearchInput, type SearchInputClassNames, type SearchInputProps, type SearchLayoutProps, SearchPage, type SearchPageClassNames, type SearchPageProps, SearchTemplate, type ServiceCardLayoutProps, ServiceProductLayout, SessionMessageBanner, type SessionMessageBannerClassNames, type SessionMessageBannerProps, SlotPicker, type SlotPickerClassNames, type SlotPickerProps, SoldOutOverlay, StaffPicker, type StaffPickerClassNames, type StaffPickerProps, StandardServiceCard, StoreNav, type StoreNavClassNames, type StoreNavProps, SubscriptionCard, TagPills, TwoColumnGrid, type UseActivityStateOptions, type UseActivityStateResult, type UseAttributeDefinitionsOptions, type UseAttributeDefinitionsResult, type UseAvailableSlotsOptions, type UseAvailableSlotsResult, type UseBillingPlansOptions, type UseBillingPlansResult, type UseBookingsOptions, type UseBookingsResult, type UseBootstrapOptions, type UseBootstrapResult, type UseBundlesOptions, type UseBundlesResult, type UseCartItem, type UseCartOptions, type UseCartResult, type UseCategoriesOptions, type UseCategoriesResult, type UseChatOptions, type UseChatResult, type UseCollectionOptions, type UseCollectionResult, type UseCollectionsOptions, type UseCollectionsResult, type UseDealsOptions, type UseDealsResult, type UseDeliveryFeeOptions, type UseDeliveryFeeResult, type UseFxRateOptions, type UseFxRateResult, type UseLocationsOptions, type UseLocationsResult, type UseOrderOptions, type UseOrderResult, type UseOrdersOptions, type UseOrdersResult, type UseProductAvailabilityOptions, type UseProductAvailabilityResult, type UseProductDealsOptions, type UseProductDealsResult, type UseProductOptions, type UseProductPriceInput, type UseProductPriceResult, type UseProductResult, type UseProductSchedulesOptions, type UseProductSchedulesResult, type UseProductsOnSaleOptions, type UseProductsOnSaleResult, type UseProductsOptions, type UseProductsResult, type UsePropertyFacetsOptions, type UsePropertyFacetsResult, type UseQuoteInput, type UseQuoteOptions, type UseQuoteResult, type UseRecommendationsOptions, type UseRecommendationsResult, type UseSearchOptions, type UseSearchResult, type UseServiceAvailabilityOptions, type UseServiceAvailabilityResult, type UseServicesOptions, type UseServicesResult, type UseTaxonomiesOptions, type UseTaxonomiesResult, type UseTaxonomyOptions, type UseTaxonomyPathOptions, type UseTaxonomyPathResult, type UseTaxonomyResult, type UseValidateDiscountOptions, type UseValidateDiscountResult, type UseVariantSelectorOptions, type UseVariantSelectorResult, VariantSelector, type VariantSelectorClassNames, type VariantSelectorProps, VolumePricing, type VolumePricingClassNames, type VolumePricingProps, WholesaleProductCard, WholesaleProductLayout, WishlistButton, cn, roomToResource, useActivityState, useAds, useAttributeDefinitions, useAvailableSlots, useBillingPlans, useBookings, useBootstrap, useBundles, useCart, useCategories, useChat, useCheckout, useCimplify, useCimplifyClient, useCollection, useCollections, useDeals, useDeliveryFee, useElements, useElementsReady, useFxRate, useLocations, useOptionalCimplify, useOrder, useOrders, useProduct, useProductAvailability, useProductDeals, useProductPrice, useProductSchedules, useProducts, useProductsOnSale, usePropertyFacets, useQuote, useRecommendations, useSearch, useServiceAvailability, useServices, useSubscription, useSubscriptions, useTaxonomies, useTaxonomy, useTaxonomyPath, useValidateDiscount, useVariantSelector };
|
package/dist/react.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import React$1, { ReactNode } from 'react';
|
|
2
2
|
import { A as AdSlot, a as AdPosition, e as AdContextValue } from './ads-BxbWrwqp.js';
|
|
3
3
|
export { c as AdConfig, g as getVariantDisplayName } from './ads-BxbWrwqp.js';
|
|
4
|
-
import { C as CimplifyClient,
|
|
5
|
-
import { a as CurrencyCode,
|
|
6
|
-
import { P as ProductWithPrice } from './price-
|
|
4
|
+
import { C as CimplifyClient, ao as ProcessCheckoutResult, aq as CheckoutStatus, ar as CheckoutStatusContext, b_ as Location, bX as Business, k as ReorderResult, b5 as OrderStatus, bi as Order, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, P as PriceQuote, g as QuoteUiMessage, cb as Service, cg as AvailableSlot, ch as DayAvailability, cm as CustomerBooking, cs as CancelBookingResult, K as ActivityStateResponse, H as SessionMessage, M as ActivityRecommendation, X as DeliveryFeeResponse, d4 as FxRateResponse, c5 as StorefrontBootstrap, a1 as ChatWidgetStarter, Z as ChatMessage, ac as ElementsOptions, di as AuthenticatedData, de as AddressInfo, df as PaymentMethodInfo, a6 as CimplifyElements, dk as ElementsCheckoutResult, an as ProcessCheckoutOptions, bh as LineItem, cc as Staff, c3 as Room } from './index-DTdtu4OO.js';
|
|
5
|
+
import { a as CurrencyCode, O as Product, d as Pagination, h as CimplifyError, a5 as ProductWithDetails, ak as Category, M as Money, bf as BundleSelectionInput, aK as ComponentSelectionInput, bi as BundleSelectionData, bl as CompositeSelectionData, am as Collection, aS as ProductTaxonomy, aT as TaxonomyWithChildren, aR as ProductTimeProfile, aW as Deal, aX as ProductDealInfo, aY as DiscountValidation, ar as BundleSummary, aL as CompositePriceResult, b_ as SubscriptionStatus, b$ as Subscription, c2 as SubscriptionWithDetails, F as CustomAttributeDefinition, K as PropertyFacet, bX as ProductBillingPlan, a6 as VariantView, aa as VariantAxisWithValues, ag as AddOnWithOptions, aw as BundleComponentView, ap as BundlePriceType, aH as CompositeGroupView, bq as DisplayCart, a1 as ProductInputField, G as CustomAttributeValue, J as ProductProperty, a3 as QuantityPricingTier } from './payment-DnU_eLuT.js';
|
|
6
|
+
import { P as ProductWithPrice } from './price-DUVmRTaz.js';
|
|
7
7
|
import { ClassValue } from 'clsx';
|
|
8
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
8
9
|
|
|
9
10
|
interface UserIdentity {
|
|
10
11
|
uid: string;
|
|
@@ -243,6 +244,12 @@ interface UseCartItem {
|
|
|
243
244
|
serviceStatus?: string;
|
|
244
245
|
bundleResolved?: BundleSelectionData;
|
|
245
246
|
compositeResolved?: CompositeSelectionData;
|
|
247
|
+
customerInputs?: Array<{
|
|
248
|
+
field_id: string;
|
|
249
|
+
field_name: string;
|
|
250
|
+
field_type: string;
|
|
251
|
+
value: unknown;
|
|
252
|
+
}>;
|
|
246
253
|
}
|
|
247
254
|
interface AddToCartOptions {
|
|
248
255
|
locationId?: string;
|
|
@@ -259,6 +266,10 @@ interface AddToCartOptions {
|
|
|
259
266
|
staffId?: string;
|
|
260
267
|
resourceId?: string;
|
|
261
268
|
billingPlanId?: string;
|
|
269
|
+
customerInputs?: Array<{
|
|
270
|
+
field_id: string;
|
|
271
|
+
value: unknown;
|
|
272
|
+
}>;
|
|
262
273
|
}
|
|
263
274
|
interface UseCartOptions {
|
|
264
275
|
client?: CimplifyClient;
|
|
@@ -727,6 +738,24 @@ interface UseBootstrapResult {
|
|
|
727
738
|
}
|
|
728
739
|
declare function useBootstrap(options?: UseBootstrapOptions): UseBootstrapResult;
|
|
729
740
|
|
|
741
|
+
interface UseChatOptions {
|
|
742
|
+
client?: CimplifyClient;
|
|
743
|
+
starters?: ChatWidgetStarter[];
|
|
744
|
+
pollInterval?: number;
|
|
745
|
+
pollIdleInterval?: number;
|
|
746
|
+
}
|
|
747
|
+
interface UseChatResult {
|
|
748
|
+
messages: ChatMessage[];
|
|
749
|
+
isLoading: boolean;
|
|
750
|
+
isSending: boolean;
|
|
751
|
+
error: CimplifyError | null;
|
|
752
|
+
/** True once the conversation has been opened and has messages */
|
|
753
|
+
isActive: boolean;
|
|
754
|
+
send: (content: string) => Promise<void>;
|
|
755
|
+
startConversation: (starterText?: string) => Promise<void>;
|
|
756
|
+
}
|
|
757
|
+
declare function useChat(options?: UseChatOptions): UseChatResult;
|
|
758
|
+
|
|
730
759
|
declare function useElements(): CimplifyElements | null;
|
|
731
760
|
declare function useElementsReady(): boolean;
|
|
732
761
|
interface ElementsProviderProps {
|
|
@@ -971,6 +1000,7 @@ interface CartSummaryClassNames {
|
|
|
971
1000
|
digitalInfo?: string;
|
|
972
1001
|
bundleBreakdown?: string;
|
|
973
1002
|
compositeBreakdown?: string;
|
|
1003
|
+
customerInputs?: string;
|
|
974
1004
|
}
|
|
975
1005
|
interface CartSummaryProps {
|
|
976
1006
|
/** Optional server cart for extended pricing details (delivery fee, service charge, discounts). */
|
|
@@ -1021,6 +1051,39 @@ interface AvailabilityBadgeProps {
|
|
|
1021
1051
|
*/
|
|
1022
1052
|
declare function AvailabilityBadge({ product, isAvailable, isInStock, stockQuantity, lowStockThreshold, locationId, className, classNames, }: AvailabilityBadgeProps): React$1.ReactElement | null;
|
|
1023
1053
|
|
|
1054
|
+
interface CustomerInputFieldsClassNames {
|
|
1055
|
+
root?: string;
|
|
1056
|
+
field?: string;
|
|
1057
|
+
label?: string;
|
|
1058
|
+
required?: string;
|
|
1059
|
+
helpText?: string;
|
|
1060
|
+
input?: string;
|
|
1061
|
+
select?: string;
|
|
1062
|
+
textarea?: string;
|
|
1063
|
+
fileInput?: string;
|
|
1064
|
+
colorInput?: string;
|
|
1065
|
+
radioGroup?: string;
|
|
1066
|
+
radioOption?: string;
|
|
1067
|
+
checkboxLabel?: string;
|
|
1068
|
+
priceAdjustment?: string;
|
|
1069
|
+
addressInput?: string;
|
|
1070
|
+
phoneInput?: string;
|
|
1071
|
+
signatureCanvas?: string;
|
|
1072
|
+
multiSelectGroup?: string;
|
|
1073
|
+
multiSelectOption?: string;
|
|
1074
|
+
dateRangeInput?: string;
|
|
1075
|
+
locationInput?: string;
|
|
1076
|
+
}
|
|
1077
|
+
interface CustomerInputFieldsProps {
|
|
1078
|
+
fields: ProductInputField[];
|
|
1079
|
+
values: Record<string, unknown>;
|
|
1080
|
+
onChange: (values: Record<string, unknown>) => void;
|
|
1081
|
+
onFileUpload?: (file: File, field: ProductInputField) => Promise<string>;
|
|
1082
|
+
className?: string;
|
|
1083
|
+
classNames?: CustomerInputFieldsClassNames;
|
|
1084
|
+
}
|
|
1085
|
+
declare function CustomerInputFields({ fields, values, onChange, onFileUpload, className, classNames, }: CustomerInputFieldsProps): React$1.ReactElement | null;
|
|
1086
|
+
|
|
1024
1087
|
interface SaleBadgeClassNames {
|
|
1025
1088
|
root?: string;
|
|
1026
1089
|
percentage?: string;
|
|
@@ -2521,4 +2584,36 @@ interface ResourcePickerProps {
|
|
|
2521
2584
|
declare function roomToResource(room: Room): Resource;
|
|
2522
2585
|
declare function ResourcePicker({ resources, selectedResourceId, onResourceSelect, showAnyOption, anyLabel, renderImage, className, classNames, }: ResourcePickerProps): React$1.ReactElement;
|
|
2523
2586
|
|
|
2524
|
-
|
|
2587
|
+
interface ChatWidgetClassNames {
|
|
2588
|
+
root?: string;
|
|
2589
|
+
bubble?: string;
|
|
2590
|
+
panel?: string;
|
|
2591
|
+
header?: string;
|
|
2592
|
+
messages?: string;
|
|
2593
|
+
input?: string;
|
|
2594
|
+
welcome?: string;
|
|
2595
|
+
}
|
|
2596
|
+
interface ChatWidgetProps {
|
|
2597
|
+
client?: CimplifyClient;
|
|
2598
|
+
/** Business display name shown in the header */
|
|
2599
|
+
businessName?: string;
|
|
2600
|
+
/** Greeting text on the welcome screen */
|
|
2601
|
+
greeting?: string;
|
|
2602
|
+
/** Subtitle on the welcome screen */
|
|
2603
|
+
subtitle?: string;
|
|
2604
|
+
/** Conversation starters */
|
|
2605
|
+
starters?: ChatWidgetStarter[];
|
|
2606
|
+
/** Input placeholder */
|
|
2607
|
+
placeholder?: string;
|
|
2608
|
+
/** Position of the bubble */
|
|
2609
|
+
position?: "bottom-right" | "bottom-left";
|
|
2610
|
+
/** Start with the panel open */
|
|
2611
|
+
defaultOpen?: boolean;
|
|
2612
|
+
/** Poll interval in ms (default: 3000) */
|
|
2613
|
+
pollInterval?: number;
|
|
2614
|
+
className?: string;
|
|
2615
|
+
classNames?: ChatWidgetClassNames;
|
|
2616
|
+
}
|
|
2617
|
+
declare function ChatWidget({ client: clientProp, businessName, greeting, subtitle, starters, placeholder, position, defaultOpen, pollInterval, className, classNames, }: ChatWidgetProps): react_jsx_runtime.JSX.Element;
|
|
2618
|
+
|
|
2619
|
+
export { AccommodationCard, Ad, AdPosition, type AdProps, AdProvider, AdSlot, AddOnSelector, type AddOnSelectorClassNames, type AddOnSelectorProps, type AddToCartOptions, AddressElement, AuthElement, AvailabilityBadge, type AvailabilityBadgeClassNames, type AvailabilityBadgeProps, BillingPlanSelector, type BillingPlanSelectorClassNames, type BillingPlanSelectorProps, BookingCard, type BookingCardClassNames, type BookingCardProps, BookingList, type BookingListClassNames, type BookingListProps, BundleProductCard, BundleProductLayout, BundleSelector, type BundleSelectorClassNames, type BundleSelectorProps, CardImage, type CardLayoutProps, CardShell, CardVariant, type CartAddOnOptionSelection, type CartLayoutProps, CartPage, type CartPageClassNames, type CartPageProps, CartSummary, type CartSummaryClassNames, type CartSummaryProps, CartTemplate, type CartVariantSelection, CatalogueCollectionLayout, type CatalogueLayoutProps, CataloguePage, type CataloguePageClassNames, type CataloguePageProps, CatalogueTemplate, CategoryFilter, type CategoryFilterClassNames, type CategoryFilterProps, CategoryGrid, type CategoryGridClassNames, type CategoryGridProps, ChatWidget, type ChatWidgetClassNames, type ChatWidgetProps, CheckoutPage, type CheckoutPageClassNames, type CheckoutPageProps, CimplifyAccount, type CimplifyAccountProps, CimplifyCheckout, type CimplifyCheckoutProps, type CimplifyClientContextValue, type CimplifyContextValue, CimplifyProvider, type CimplifyProviderProps, type CollectionLayoutProps, CollectionPage, type CollectionPageClassNames, type CollectionPageProps, CollectionTemplate, CompactCartLayout, CompactCatalogueLayout, CompactSearchLayout, CompactServiceCard, CompositeProductCard, CompositeProductLayout, CompositeSelector, type CompositeSelectorClassNames, type CompositeSelectorProps, CurrencySelector, type CurrencySelectorClassNames, type CurrencySelectorProps, CustomAttributesTable, CustomerInputFields, type CustomerInputFieldsClassNames, type CustomerInputFieldsProps, DateSlotPicker, type DateSlotPickerClassNames, type DateSlotPickerProps, DealBanner, type DealBannerClassNames, type DealBannerProps, DealsPage, type DealsPageClassNames, type DealsPageProps, DefaultCartLayout, DefaultCatalogueLayout, DefaultCollectionLayout, DefaultProductLayout, DefaultSearchLayout, DeliveryEstimate, type DeliveryEstimateClassNames, type DeliveryEstimateProps, DigitalProductCard, DigitalProductLayout, DiscountInput, type DiscountInputClassNames, type DiscountInputProps, ElementsProvider, FeaturedCollectionLayout, FoodProductCard, FoodProductLayout, InventoryBadge, LeaseServiceCard, LocationPicker, type LocationPickerClassNames, type LocationPickerProps, MetadataStringList, OrderDetailPage, type OrderDetailPageClassNames, type OrderDetailPageProps, OrderHistory, type OrderHistoryClassNames, OrderHistoryPage, type OrderHistoryPageClassNames, type OrderHistoryPageProps, type OrderHistoryProps, OrderSummary, type OrderSummaryClassNames, type OrderSummaryProps, PaymentElement, Price, type PriceProps, PriceRange, type PriceRangeProps, ProductCard, type ProductCardClassNames, type ProductCardProps, ProductCustomizer, type ProductCustomizerClassNames, type ProductCustomizerProps, ProductGrid, type ProductGridClassNames, type ProductGridProps, ProductImageGallery, type ProductImageGalleryProps, type ProductLayoutProps, ProductPage, type ProductPageClassNames, type ProductPageProps, ProductSheet, type ProductSheetClassNames, type ProductSheetProps, ProductTemplate, PropertiesTable, QuantitySelector, type QuantitySelectorClassNames, type QuantitySelectorProps, QuickAddButton, RecentlyViewed, type RecentlyViewedClassNames, type RecentlyViewedProps, RecommendationCarousel, type RecommendationCarouselClassNames, type RecommendationCarouselProps, RelatedProductsSection, RentalServiceCard, type Resource, ResourcePicker, type ResourcePickerClassNames, type ResourcePickerProps, RetailProductCard, SaleBadge, type SaleBadgeClassNames, type SaleBadgeProps, ScheduleServiceCard, SearchInput, type SearchInputClassNames, type SearchInputProps, type SearchLayoutProps, SearchPage, type SearchPageClassNames, type SearchPageProps, SearchTemplate, type ServiceCardLayoutProps, ServiceProductLayout, SessionMessageBanner, type SessionMessageBannerClassNames, type SessionMessageBannerProps, SlotPicker, type SlotPickerClassNames, type SlotPickerProps, SoldOutOverlay, StaffPicker, type StaffPickerClassNames, type StaffPickerProps, StandardServiceCard, StoreNav, type StoreNavClassNames, type StoreNavProps, SubscriptionCard, TagPills, TwoColumnGrid, type UseActivityStateOptions, type UseActivityStateResult, type UseAttributeDefinitionsOptions, type UseAttributeDefinitionsResult, type UseAvailableSlotsOptions, type UseAvailableSlotsResult, type UseBillingPlansOptions, type UseBillingPlansResult, type UseBookingsOptions, type UseBookingsResult, type UseBootstrapOptions, type UseBootstrapResult, type UseBundlesOptions, type UseBundlesResult, type UseCartItem, type UseCartOptions, type UseCartResult, type UseCategoriesOptions, type UseCategoriesResult, type UseChatOptions, type UseChatResult, type UseCollectionOptions, type UseCollectionResult, type UseCollectionsOptions, type UseCollectionsResult, type UseDealsOptions, type UseDealsResult, type UseDeliveryFeeOptions, type UseDeliveryFeeResult, type UseFxRateOptions, type UseFxRateResult, type UseLocationsOptions, type UseLocationsResult, type UseOrderOptions, type UseOrderResult, type UseOrdersOptions, type UseOrdersResult, type UseProductAvailabilityOptions, type UseProductAvailabilityResult, type UseProductDealsOptions, type UseProductDealsResult, type UseProductOptions, type UseProductPriceInput, type UseProductPriceResult, type UseProductResult, type UseProductSchedulesOptions, type UseProductSchedulesResult, type UseProductsOnSaleOptions, type UseProductsOnSaleResult, type UseProductsOptions, type UseProductsResult, type UsePropertyFacetsOptions, type UsePropertyFacetsResult, type UseQuoteInput, type UseQuoteOptions, type UseQuoteResult, type UseRecommendationsOptions, type UseRecommendationsResult, type UseSearchOptions, type UseSearchResult, type UseServiceAvailabilityOptions, type UseServiceAvailabilityResult, type UseServicesOptions, type UseServicesResult, type UseTaxonomiesOptions, type UseTaxonomiesResult, type UseTaxonomyOptions, type UseTaxonomyPathOptions, type UseTaxonomyPathResult, type UseTaxonomyResult, type UseValidateDiscountOptions, type UseValidateDiscountResult, type UseVariantSelectorOptions, type UseVariantSelectorResult, VariantSelector, type VariantSelectorClassNames, type VariantSelectorProps, VolumePricing, type VolumePricingClassNames, type VolumePricingProps, WholesaleProductCard, WholesaleProductLayout, WishlistButton, cn, roomToResource, useActivityState, useAds, useAttributeDefinitions, useAvailableSlots, useBillingPlans, useBookings, useBootstrap, useBundles, useCart, useCategories, useChat, useCheckout, useCimplify, useCimplifyClient, useCollection, useCollections, useDeals, useDeliveryFee, useElements, useElementsReady, useFxRate, useLocations, useOptionalCimplify, useOrder, useOrders, useProduct, useProductAvailability, useProductDeals, useProductPrice, useProductSchedules, useProducts, useProductsOnSale, usePropertyFacets, useQuote, useRecommendations, useSearch, useServiceAvailability, useServices, useSubscription, useSubscriptions, useTaxonomies, useTaxonomy, useTaxonomyPath, useValidateDiscount, useVariantSelector };
|