@cimplify/sdk 0.90.0 → 0.93.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/{chunk-KJP4U6L3.js → chunk-6Y7KC5YZ.js} +23 -0
- package/dist/{chunk-JVWFIFQ7.js → chunk-AWNWP5J3.js} +4 -4
- package/dist/{chunk-2UDEWILL.mjs → chunk-FKARGZK3.mjs} +307 -90
- package/dist/{chunk-T7Z25EY4.js → chunk-HKN3YG76.js} +84 -0
- package/dist/{chunk-BN4V4ONE.js → chunk-QLGZIBRO.js} +348 -128
- package/dist/{chunk-NGE37REW.mjs → chunk-QXWX7CD2.mjs} +2 -2
- package/dist/{chunk-OZDDHSIB.mjs → chunk-RRBY35TJ.mjs} +80 -1
- package/dist/{chunk-GHFDYM5K.js → chunk-VEOAMBEX.js} +11 -4
- package/dist/{chunk-ZU4ZRYUR.mjs → chunk-VUSHG3HA.mjs} +11 -4
- package/dist/{chunk-NNGKC3MM.mjs → chunk-X36FZZT6.mjs} +23 -0
- package/dist/{client-YiSelM7x.d.mts → client-BTL9d_nN.d.mts} +117 -11
- package/dist/{client-CR1f94wY.d.ts → client-BX30FAWZ.d.ts} +117 -11
- package/dist/{client-DMttx1xk.d.mts → client-Bhe2TnFW.d.mts} +2 -2
- package/dist/{client-CqpOcbin.d.ts → client-DrkuEK_I.d.ts} +2 -2
- package/dist/{index-DD9z396M.d.mts → index-BuNjyfaV.d.mts} +3 -3
- package/dist/{index-CxTVu0HZ.d.ts → index-D-w5h82t.d.ts} +3 -3
- package/dist/index.d.mts +49 -7
- package/dist/index.d.ts +49 -7
- package/dist/index.js +103 -83
- package/dist/index.mjs +5 -5
- package/dist/mock/cli.mjs +23 -0
- package/dist/mock/library.js +23 -0
- package/dist/mock/library.mjs +23 -0
- package/dist/mock/msw.js +23 -0
- package/dist/mock/msw.mjs +23 -0
- package/dist/{payment-BX7ccIKY.d.ts → payment-By0JidTe.d.ts} +1 -1
- package/dist/{payment-5d8FTA1q.d.mts → payment-pKPpaORI.d.mts} +1 -1
- package/dist/{price-DtfP_Xfq.d.ts → price-23RNXftz.d.ts} +1 -1
- package/dist/{price-arl_4Rzn.d.mts → price-BvRtp6ak.d.mts} +1 -1
- package/dist/{product-DZX4QuKS.d.ts → product-O8-wcHSe.d.mts} +49 -0
- package/dist/{product-DZX4QuKS.d.mts → product-O8-wcHSe.d.ts} +49 -0
- package/dist/react.d.mts +79 -6
- package/dist/react.d.ts +79 -6
- package/dist/react.js +607 -379
- package/dist/react.mjs +539 -315
- package/dist/{server-BceZMxcK.d.mts → server-BN9ZCAKT.d.mts} +5 -1
- package/dist/{server-DoJGSC7L.d.ts → server-DDGbfW_S.d.ts} +5 -1
- package/dist/server.d.mts +4 -4
- package/dist/server.d.ts +4 -4
- package/dist/server.js +7 -7
- package/dist/server.mjs +2 -2
- package/dist/styles.css +1 -1
- package/dist/testing/msw.d.mts +2 -2
- package/dist/testing/msw.d.ts +2 -2
- package/dist/testing/msw.js +2 -2
- package/dist/testing/msw.mjs +1 -1
- package/dist/testing/suite.d.mts +6 -6
- package/dist/testing/suite.d.ts +6 -6
- package/dist/testing/suite.js +23 -23
- package/dist/testing/suite.mjs +4 -4
- package/dist/testing.d.mts +5 -5
- package/dist/testing.d.ts +5 -5
- package/dist/testing.js +79 -79
- package/dist/testing.mjs +5 -5
- package/dist/utils.d.mts +4 -4
- package/dist/utils.d.ts +4 -4
- package/package.json +1 -1
- package/registry/booking-page.json +1 -1
- package/registry/chat-widget.json +1 -1
- package/registry/customer-input-fields.json +1 -1
- package/registry/date-slot-picker.json +1 -1
- package/registry/product-customizer.json +1 -1
- package/registry/rental-service-card.json +1 -1
package/dist/mock/msw.mjs
CHANGED
|
@@ -2548,6 +2548,10 @@ function buildV1(deps) {
|
|
|
2548
2548
|
"/support/conversation",
|
|
2549
2549
|
(c) => tryRoute(c, () => deps.support.openConversation(deps.defaultBusinessId, c.var.session.customer_id))
|
|
2550
2550
|
);
|
|
2551
|
+
app.get(
|
|
2552
|
+
"/support/conversation",
|
|
2553
|
+
(c) => tryRoute(c, () => deps.support.peekConversation(deps.defaultBusinessId, c.var.session.customer_id))
|
|
2554
|
+
);
|
|
2551
2555
|
app.post("/support/conversation/messages", async (c) => {
|
|
2552
2556
|
const body = await c.req.json().catch(() => ({}));
|
|
2553
2557
|
return tryRoute(
|
|
@@ -2564,6 +2568,18 @@ function buildV1(deps) {
|
|
|
2564
2568
|
return tryRoute(c, () => deps.support.react(c.req.param("messageId"), body.emoji ?? ""));
|
|
2565
2569
|
});
|
|
2566
2570
|
app.post("/support/conversation/handoff", (c) => c.json({ data: { requested: true } }));
|
|
2571
|
+
app.post("/support/conversation/claim", async (c) => {
|
|
2572
|
+
const body = await c.req.json().catch(() => ({}));
|
|
2573
|
+
if (!body.access_token) return c.json({ error: "access_token is required" }, 400);
|
|
2574
|
+
const session = c.var.session;
|
|
2575
|
+
return c.json({
|
|
2576
|
+
data: {
|
|
2577
|
+
session_token: session.token,
|
|
2578
|
+
thread_id: null,
|
|
2579
|
+
customer_name: session.customer_name ?? "Test User"
|
|
2580
|
+
}
|
|
2581
|
+
});
|
|
2582
|
+
});
|
|
2567
2583
|
app.get(
|
|
2568
2584
|
"/support/conversation/ws",
|
|
2569
2585
|
(c) => c.json({ note: "WebSocket connection \u2014 connect via ws:// at the same path", supported: false }, 426)
|
|
@@ -5556,6 +5572,13 @@ function createSupportService(opts) {
|
|
|
5556
5572
|
registry.conversations.put(id, conv);
|
|
5557
5573
|
return conv;
|
|
5558
5574
|
},
|
|
5575
|
+
peekConversation(businessId, customerId) {
|
|
5576
|
+
const matches = registry.conversations.list(
|
|
5577
|
+
(c) => c.business_id === businessId && c.customer_id === customerId
|
|
5578
|
+
);
|
|
5579
|
+
const conv = matches[matches.length - 1];
|
|
5580
|
+
return conv ? { conversation: conv, messages: conv.messages } : { conversation: null, messages: [] };
|
|
5581
|
+
},
|
|
5559
5582
|
sendMessage(conversationId, body) {
|
|
5560
5583
|
const conv = registry.conversations.get(conversationId);
|
|
5561
5584
|
if (!conv) throw notFound(`Conversation ${conversationId} not found`);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aO as Money, ad as CurrencyCode } from './product-
|
|
1
|
+
import { aO as Money, ad as CurrencyCode } from './product-O8-wcHSe.js';
|
|
2
2
|
|
|
3
3
|
type PaymentStatus = "initialized" | "pending" | "processing" | "authorized" | "captured" | "failed" | "cancelled" | "refunded" | "unknown" | "voided" | "requires_action" | "abandoned" | "reversed" | "disputed" | "refund_pending";
|
|
4
4
|
type PaymentProvider = "stripe" | "paystack" | "cellulant" | "mtn_momo" | "offline" | "mtn" | "vodafone" | "airtel" | "cash" | "manual";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aO as Money, ad as CurrencyCode } from './product-
|
|
1
|
+
import { aO as Money, ad as CurrencyCode } from './product-O8-wcHSe.mjs';
|
|
2
2
|
|
|
3
3
|
type PaymentStatus = "initialized" | "pending" | "processing" | "authorized" | "captured" | "failed" | "cancelled" | "refunded" | "unknown" | "voided" | "requires_action" | "abandoned" | "reversed" | "disputed" | "refund_pending";
|
|
4
4
|
type PaymentProvider = "stripe" | "paystack" | "cellulant" | "mtn_momo" | "offline" | "mtn" | "vodafone" | "airtel" | "cash" | "manual";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ad as CurrencyCode, U as ChosenPrice, bi as SaleInfo, bD as UpcomingSale } from './product-
|
|
1
|
+
import { ad as CurrencyCode, U as ChosenPrice, bi as SaleInfo, bD as UpcomingSale } from './product-O8-wcHSe.js';
|
|
2
2
|
|
|
3
3
|
interface ProductWithPrice {
|
|
4
4
|
price_info?: ChosenPrice;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ad as CurrencyCode, U as ChosenPrice, bi as SaleInfo, bD as UpcomingSale } from './product-
|
|
1
|
+
import { ad as CurrencyCode, U as ChosenPrice, bi as SaleInfo, bD as UpcomingSale } from './product-O8-wcHSe.mjs';
|
|
2
2
|
|
|
3
3
|
interface ProductWithPrice {
|
|
4
4
|
price_info?: ChosenPrice;
|
|
@@ -310,6 +310,9 @@ type LineConfiguration = {
|
|
|
310
310
|
primary_staff_id?: string;
|
|
311
311
|
primary_resource_id?: string;
|
|
312
312
|
scheduling_metadata?: Record<string, unknown>;
|
|
313
|
+
price_basis?: "flat" | "per_person" | "per_duration_unit";
|
|
314
|
+
units?: number;
|
|
315
|
+
duration_unit?: DurationUnit;
|
|
313
316
|
} | {
|
|
314
317
|
type: "bundle";
|
|
315
318
|
variant?: VariantDetails;
|
|
@@ -551,6 +554,7 @@ interface CartItemDetails {
|
|
|
551
554
|
confirmation_code?: string;
|
|
552
555
|
service_status?: string;
|
|
553
556
|
staff_id?: string;
|
|
557
|
+
units?: number;
|
|
554
558
|
scheduling_metadata?: Record<string, unknown>;
|
|
555
559
|
bundle_selections?: BundleSelectionInput[];
|
|
556
560
|
bundle_resolved?: BundleSelectionData;
|
|
@@ -609,6 +613,7 @@ interface AddToCartInput {
|
|
|
609
613
|
scheduled_end?: string;
|
|
610
614
|
staff_id?: string;
|
|
611
615
|
resource_id?: string;
|
|
616
|
+
units?: number;
|
|
612
617
|
billing_plan_id?: string;
|
|
613
618
|
customer_inputs?: Array<{
|
|
614
619
|
field_id: string;
|
|
@@ -1554,6 +1559,11 @@ interface components {
|
|
|
1554
1559
|
staff_id?: string | null;
|
|
1555
1560
|
/** @description Assigned or selected primary resource ID (services only) */
|
|
1556
1561
|
resource_id?: string | null;
|
|
1562
|
+
/**
|
|
1563
|
+
* Format: int32
|
|
1564
|
+
* @description Interchangeable whole units reserved (services only)
|
|
1565
|
+
*/
|
|
1566
|
+
units?: number | null;
|
|
1557
1567
|
scheduling_metadata?: null | components["schemas"]["SchedulingMetadata"];
|
|
1558
1568
|
/** @description Customer's bundle component selections (bundles only) */
|
|
1559
1569
|
bundle_selections?: components["schemas"]["BundleSelectionInput"][] | null;
|
|
@@ -1699,6 +1709,10 @@ interface components {
|
|
|
1699
1709
|
*/
|
|
1700
1710
|
team_read_at?: string | null;
|
|
1701
1711
|
};
|
|
1712
|
+
ChatConversationPeekResponse: {
|
|
1713
|
+
conversation?: null | components["schemas"]["ChatConversation"];
|
|
1714
|
+
messages: components["schemas"]["ChatMessageResponse"][];
|
|
1715
|
+
};
|
|
1702
1716
|
ChatConversationResponse: {
|
|
1703
1717
|
conversation: components["schemas"]["ChatConversation"];
|
|
1704
1718
|
messages: components["schemas"]["ChatMessageResponse"][];
|
|
@@ -1711,6 +1725,7 @@ interface components {
|
|
|
1711
1725
|
attachments: Record<string, never>;
|
|
1712
1726
|
metadata: Record<string, never>;
|
|
1713
1727
|
reply_to?: null | components["schemas"]["ChatReplyContext"];
|
|
1728
|
+
client_id?: string | null;
|
|
1714
1729
|
/** Format: date-time */
|
|
1715
1730
|
created_at: string;
|
|
1716
1731
|
};
|
|
@@ -1808,6 +1823,14 @@ interface components {
|
|
|
1808
1823
|
tax_info?: null | components["schemas"]["PricePathTaxInfo"];
|
|
1809
1824
|
pre_tax_price?: string | null;
|
|
1810
1825
|
};
|
|
1826
|
+
ClaimConversationBody: {
|
|
1827
|
+
access_token: string;
|
|
1828
|
+
};
|
|
1829
|
+
ClaimConversationResponse: {
|
|
1830
|
+
session_token: string;
|
|
1831
|
+
thread_id?: string | null;
|
|
1832
|
+
customer_name: string;
|
|
1833
|
+
};
|
|
1811
1834
|
CollectionDetailView: {
|
|
1812
1835
|
collection: components["schemas"]["CollectionView"];
|
|
1813
1836
|
products: components["schemas"]["ProductView"][];
|
|
@@ -2755,6 +2778,10 @@ interface components {
|
|
|
2755
2778
|
primary_staff_id?: string | null;
|
|
2756
2779
|
primary_resource_id?: string | null;
|
|
2757
2780
|
scheduling_metadata?: null | components["schemas"]["SchedulingMetadata"];
|
|
2781
|
+
price_basis?: null | components["schemas"]["PriceBasis"];
|
|
2782
|
+
/** Format: int32 */
|
|
2783
|
+
units?: number | null;
|
|
2784
|
+
duration_unit?: null | components["schemas"]["DurationUnit"];
|
|
2758
2785
|
customer_inputs?: components["schemas"]["CustomerInputValue"][];
|
|
2759
2786
|
/** @enum {string} */
|
|
2760
2787
|
type: "service";
|
|
@@ -2822,6 +2849,8 @@ interface components {
|
|
|
2822
2849
|
business: components["schemas"]["LiteBootstrapBusinessView"];
|
|
2823
2850
|
categories: components["schemas"]["LiteBootstrapCategoryView"][];
|
|
2824
2851
|
location?: null | components["schemas"]["LiteBootstrapLocationView"];
|
|
2852
|
+
/** @description Every active branch — more than one means the customer can switch. */
|
|
2853
|
+
locations: components["schemas"]["LiteBootstrapLocationView"][];
|
|
2825
2854
|
};
|
|
2826
2855
|
LiteDayHoursView: {
|
|
2827
2856
|
/**
|
|
@@ -3019,6 +3048,12 @@ interface components {
|
|
|
3019
3048
|
vendor_communication: components["schemas"]["VendorCommunicationRules"];
|
|
3020
3049
|
/** @description Cross-business messaging rules (for multi-tenant scenarios) */
|
|
3021
3050
|
cross_business_rules: components["schemas"]["CrossBusinessRules"];
|
|
3051
|
+
/**
|
|
3052
|
+
* @description Redact message content from lock-screen pushes: notifications say
|
|
3053
|
+
* who/that something arrived, never what it says. For businesses whose
|
|
3054
|
+
* customer conversations are sensitive (pharmacies, clinics).
|
|
3055
|
+
*/
|
|
3056
|
+
redact_push_content?: boolean;
|
|
3022
3057
|
/**
|
|
3023
3058
|
* Format: date-time
|
|
3024
3059
|
* @description Creation and update timestamps
|
|
@@ -3188,6 +3223,8 @@ interface components {
|
|
|
3188
3223
|
confirmation_code?: string | null;
|
|
3189
3224
|
primary_staff_id?: string | null;
|
|
3190
3225
|
primary_resource_id?: string | null;
|
|
3226
|
+
/** Format: int32 */
|
|
3227
|
+
units?: number | null;
|
|
3191
3228
|
service_status?: string | null;
|
|
3192
3229
|
base_price: string;
|
|
3193
3230
|
add_ons_price: string;
|
|
@@ -3394,6 +3431,15 @@ interface components {
|
|
|
3394
3431
|
/** Format: date-time */
|
|
3395
3432
|
applied_at: string;
|
|
3396
3433
|
};
|
|
3434
|
+
/**
|
|
3435
|
+
* @description What a service's price is quoted against, which decides the line-total
|
|
3436
|
+
* multiplier: `Flat` charges once, `PerPerson` scales by party size,
|
|
3437
|
+
* `PerDurationUnit` by the periods stayed (nights, weeks, months — whichever
|
|
3438
|
+
* the service's `duration_unit` counts). Absent falls back to
|
|
3439
|
+
* [`PriceBasis::default_for`] the service's scheduling mode.
|
|
3440
|
+
* @enum {string}
|
|
3441
|
+
*/
|
|
3442
|
+
PriceBasis: "flat" | "per_person" | "per_duration_unit";
|
|
3397
3443
|
PriceDecisionPath: {
|
|
3398
3444
|
base_price_source: components["schemas"]["PriceSource"];
|
|
3399
3445
|
adjustments: components["schemas"]["PriceAdjustment"][];
|
|
@@ -3551,6 +3597,7 @@ interface components {
|
|
|
3551
3597
|
/** Format: int32 */
|
|
3552
3598
|
duration_minutes?: number | null;
|
|
3553
3599
|
duration_unit?: null | components["schemas"]["DurationUnit"];
|
|
3600
|
+
price_basis?: null | components["schemas"]["PriceBasis"];
|
|
3554
3601
|
/** Format: int32 */
|
|
3555
3602
|
preparation_time_minutes?: number | null;
|
|
3556
3603
|
/** Format: int32 */
|
|
@@ -3587,6 +3634,7 @@ interface components {
|
|
|
3587
3634
|
boundary_kind?: null | components["schemas"]["BoundaryKind"];
|
|
3588
3635
|
boundary_start_label?: string | null;
|
|
3589
3636
|
boundary_end_label?: string | null;
|
|
3637
|
+
subject_entity_type?: string | null;
|
|
3590
3638
|
hs_code?: string | null;
|
|
3591
3639
|
mid_code?: string | null;
|
|
3592
3640
|
material?: string | null;
|
|
@@ -4885,6 +4933,7 @@ interface Product {
|
|
|
4885
4933
|
max_stay?: number;
|
|
4886
4934
|
check_in_time?: string;
|
|
4887
4935
|
check_out_time?: string;
|
|
4936
|
+
price_basis?: "flat" | "per_person" | "per_duration_unit";
|
|
4888
4937
|
boundary_kind?: BoundaryKind | null;
|
|
4889
4938
|
boundary_start_label?: string | null;
|
|
4890
4939
|
boundary_end_label?: string | null;
|
|
@@ -310,6 +310,9 @@ type LineConfiguration = {
|
|
|
310
310
|
primary_staff_id?: string;
|
|
311
311
|
primary_resource_id?: string;
|
|
312
312
|
scheduling_metadata?: Record<string, unknown>;
|
|
313
|
+
price_basis?: "flat" | "per_person" | "per_duration_unit";
|
|
314
|
+
units?: number;
|
|
315
|
+
duration_unit?: DurationUnit;
|
|
313
316
|
} | {
|
|
314
317
|
type: "bundle";
|
|
315
318
|
variant?: VariantDetails;
|
|
@@ -551,6 +554,7 @@ interface CartItemDetails {
|
|
|
551
554
|
confirmation_code?: string;
|
|
552
555
|
service_status?: string;
|
|
553
556
|
staff_id?: string;
|
|
557
|
+
units?: number;
|
|
554
558
|
scheduling_metadata?: Record<string, unknown>;
|
|
555
559
|
bundle_selections?: BundleSelectionInput[];
|
|
556
560
|
bundle_resolved?: BundleSelectionData;
|
|
@@ -609,6 +613,7 @@ interface AddToCartInput {
|
|
|
609
613
|
scheduled_end?: string;
|
|
610
614
|
staff_id?: string;
|
|
611
615
|
resource_id?: string;
|
|
616
|
+
units?: number;
|
|
612
617
|
billing_plan_id?: string;
|
|
613
618
|
customer_inputs?: Array<{
|
|
614
619
|
field_id: string;
|
|
@@ -1554,6 +1559,11 @@ interface components {
|
|
|
1554
1559
|
staff_id?: string | null;
|
|
1555
1560
|
/** @description Assigned or selected primary resource ID (services only) */
|
|
1556
1561
|
resource_id?: string | null;
|
|
1562
|
+
/**
|
|
1563
|
+
* Format: int32
|
|
1564
|
+
* @description Interchangeable whole units reserved (services only)
|
|
1565
|
+
*/
|
|
1566
|
+
units?: number | null;
|
|
1557
1567
|
scheduling_metadata?: null | components["schemas"]["SchedulingMetadata"];
|
|
1558
1568
|
/** @description Customer's bundle component selections (bundles only) */
|
|
1559
1569
|
bundle_selections?: components["schemas"]["BundleSelectionInput"][] | null;
|
|
@@ -1699,6 +1709,10 @@ interface components {
|
|
|
1699
1709
|
*/
|
|
1700
1710
|
team_read_at?: string | null;
|
|
1701
1711
|
};
|
|
1712
|
+
ChatConversationPeekResponse: {
|
|
1713
|
+
conversation?: null | components["schemas"]["ChatConversation"];
|
|
1714
|
+
messages: components["schemas"]["ChatMessageResponse"][];
|
|
1715
|
+
};
|
|
1702
1716
|
ChatConversationResponse: {
|
|
1703
1717
|
conversation: components["schemas"]["ChatConversation"];
|
|
1704
1718
|
messages: components["schemas"]["ChatMessageResponse"][];
|
|
@@ -1711,6 +1725,7 @@ interface components {
|
|
|
1711
1725
|
attachments: Record<string, never>;
|
|
1712
1726
|
metadata: Record<string, never>;
|
|
1713
1727
|
reply_to?: null | components["schemas"]["ChatReplyContext"];
|
|
1728
|
+
client_id?: string | null;
|
|
1714
1729
|
/** Format: date-time */
|
|
1715
1730
|
created_at: string;
|
|
1716
1731
|
};
|
|
@@ -1808,6 +1823,14 @@ interface components {
|
|
|
1808
1823
|
tax_info?: null | components["schemas"]["PricePathTaxInfo"];
|
|
1809
1824
|
pre_tax_price?: string | null;
|
|
1810
1825
|
};
|
|
1826
|
+
ClaimConversationBody: {
|
|
1827
|
+
access_token: string;
|
|
1828
|
+
};
|
|
1829
|
+
ClaimConversationResponse: {
|
|
1830
|
+
session_token: string;
|
|
1831
|
+
thread_id?: string | null;
|
|
1832
|
+
customer_name: string;
|
|
1833
|
+
};
|
|
1811
1834
|
CollectionDetailView: {
|
|
1812
1835
|
collection: components["schemas"]["CollectionView"];
|
|
1813
1836
|
products: components["schemas"]["ProductView"][];
|
|
@@ -2755,6 +2778,10 @@ interface components {
|
|
|
2755
2778
|
primary_staff_id?: string | null;
|
|
2756
2779
|
primary_resource_id?: string | null;
|
|
2757
2780
|
scheduling_metadata?: null | components["schemas"]["SchedulingMetadata"];
|
|
2781
|
+
price_basis?: null | components["schemas"]["PriceBasis"];
|
|
2782
|
+
/** Format: int32 */
|
|
2783
|
+
units?: number | null;
|
|
2784
|
+
duration_unit?: null | components["schemas"]["DurationUnit"];
|
|
2758
2785
|
customer_inputs?: components["schemas"]["CustomerInputValue"][];
|
|
2759
2786
|
/** @enum {string} */
|
|
2760
2787
|
type: "service";
|
|
@@ -2822,6 +2849,8 @@ interface components {
|
|
|
2822
2849
|
business: components["schemas"]["LiteBootstrapBusinessView"];
|
|
2823
2850
|
categories: components["schemas"]["LiteBootstrapCategoryView"][];
|
|
2824
2851
|
location?: null | components["schemas"]["LiteBootstrapLocationView"];
|
|
2852
|
+
/** @description Every active branch — more than one means the customer can switch. */
|
|
2853
|
+
locations: components["schemas"]["LiteBootstrapLocationView"][];
|
|
2825
2854
|
};
|
|
2826
2855
|
LiteDayHoursView: {
|
|
2827
2856
|
/**
|
|
@@ -3019,6 +3048,12 @@ interface components {
|
|
|
3019
3048
|
vendor_communication: components["schemas"]["VendorCommunicationRules"];
|
|
3020
3049
|
/** @description Cross-business messaging rules (for multi-tenant scenarios) */
|
|
3021
3050
|
cross_business_rules: components["schemas"]["CrossBusinessRules"];
|
|
3051
|
+
/**
|
|
3052
|
+
* @description Redact message content from lock-screen pushes: notifications say
|
|
3053
|
+
* who/that something arrived, never what it says. For businesses whose
|
|
3054
|
+
* customer conversations are sensitive (pharmacies, clinics).
|
|
3055
|
+
*/
|
|
3056
|
+
redact_push_content?: boolean;
|
|
3022
3057
|
/**
|
|
3023
3058
|
* Format: date-time
|
|
3024
3059
|
* @description Creation and update timestamps
|
|
@@ -3188,6 +3223,8 @@ interface components {
|
|
|
3188
3223
|
confirmation_code?: string | null;
|
|
3189
3224
|
primary_staff_id?: string | null;
|
|
3190
3225
|
primary_resource_id?: string | null;
|
|
3226
|
+
/** Format: int32 */
|
|
3227
|
+
units?: number | null;
|
|
3191
3228
|
service_status?: string | null;
|
|
3192
3229
|
base_price: string;
|
|
3193
3230
|
add_ons_price: string;
|
|
@@ -3394,6 +3431,15 @@ interface components {
|
|
|
3394
3431
|
/** Format: date-time */
|
|
3395
3432
|
applied_at: string;
|
|
3396
3433
|
};
|
|
3434
|
+
/**
|
|
3435
|
+
* @description What a service's price is quoted against, which decides the line-total
|
|
3436
|
+
* multiplier: `Flat` charges once, `PerPerson` scales by party size,
|
|
3437
|
+
* `PerDurationUnit` by the periods stayed (nights, weeks, months — whichever
|
|
3438
|
+
* the service's `duration_unit` counts). Absent falls back to
|
|
3439
|
+
* [`PriceBasis::default_for`] the service's scheduling mode.
|
|
3440
|
+
* @enum {string}
|
|
3441
|
+
*/
|
|
3442
|
+
PriceBasis: "flat" | "per_person" | "per_duration_unit";
|
|
3397
3443
|
PriceDecisionPath: {
|
|
3398
3444
|
base_price_source: components["schemas"]["PriceSource"];
|
|
3399
3445
|
adjustments: components["schemas"]["PriceAdjustment"][];
|
|
@@ -3551,6 +3597,7 @@ interface components {
|
|
|
3551
3597
|
/** Format: int32 */
|
|
3552
3598
|
duration_minutes?: number | null;
|
|
3553
3599
|
duration_unit?: null | components["schemas"]["DurationUnit"];
|
|
3600
|
+
price_basis?: null | components["schemas"]["PriceBasis"];
|
|
3554
3601
|
/** Format: int32 */
|
|
3555
3602
|
preparation_time_minutes?: number | null;
|
|
3556
3603
|
/** Format: int32 */
|
|
@@ -3587,6 +3634,7 @@ interface components {
|
|
|
3587
3634
|
boundary_kind?: null | components["schemas"]["BoundaryKind"];
|
|
3588
3635
|
boundary_start_label?: string | null;
|
|
3589
3636
|
boundary_end_label?: string | null;
|
|
3637
|
+
subject_entity_type?: string | null;
|
|
3590
3638
|
hs_code?: string | null;
|
|
3591
3639
|
mid_code?: string | null;
|
|
3592
3640
|
material?: string | null;
|
|
@@ -4885,6 +4933,7 @@ interface Product {
|
|
|
4885
4933
|
max_stay?: number;
|
|
4886
4934
|
check_in_time?: string;
|
|
4887
4935
|
check_out_time?: string;
|
|
4936
|
+
price_basis?: "flat" | "per_person" | "per_duration_unit";
|
|
4888
4937
|
boundary_kind?: BoundaryKind | null;
|
|
4889
4938
|
boundary_start_label?: string | null;
|
|
4890
4939
|
boundary_end_label?: string | null;
|
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 { af as CimplifyClient,
|
|
4
|
+
import { af as CimplifyClient, ca as OrderType, cv as ProcessCheckoutResult, ac as CheckoutStatus, ad as CheckoutStatusContext, a_ as EnrichedOrderItem, aZ as EnrichedOrder, w as Business, bz as Location, cM as ReorderResult, c8 as OrderStatus, bP as Order, cx as QuoteBundleSelectionInput, cy as QuoteCompositeSelectionInput, cr as PriceQuote, cB as QuoteUiMessage, d6 as Service, r as AvailableSlot, ay as DayAvailability, aq as CustomerBooking, L as CancelBookingResult, f as ActivityStateResponse, df as SessionMessage, c as ActivityRecommendation, aA as DeliveryFeeResponse, aC as DeliveryOptionsResponse, bc as FxRateResponse, dp as StoreCreditBalance, dr as StorefrontBootstrap, _ as ChatWidgetStarter, W as ChatMessage, Z as ChatUploadAttachment, h as AddressInfo, n as AuthenticatedData, aY as ElementsOptions, cl as PaymentMethodInfo, aW as ElementsCheckoutResult, cu as ProcessCheckoutOptions, ai as CimplifyElements, T as ChatAttachment, bo as LineItem, di as Staff, d1 as Room } from './client-BTL9d_nN.mjs';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
|
-
import { ad as CurrencyCode, aZ as Product, aQ as Pagination, V as CimplifyError, bb as ProductWithDetails, S as Category, aO as Money, E as BundleSelectionInput, a1 as ComponentSelectionInput, D as BundleSelectionData, aa as CompositeSelectionData, W as Collection, b6 as ProductTaxonomy, bx as TaxonomyWithChildren, b7 as ProductTimeProfile, aj as Deal, b2 as ProductDealInfo, ap as DiscountValidation, G as BundleSummary, a8 as CompositePriceResult, bs as SubscriptionWithDetails, br as SubscriptionStatus, bo as Subscription, ae as CustomAttributeDefinition, bc as PropertyFacet, b1 as ProductBillingPlan, bQ as VariantView, bK as VariantAxisWithValues, f as AddOnWithOptions, y as BundleComponentView, z as BundlePriceType, a6 as CompositeGroupView, as as DisplayCart, b3 as ProductInputField, bi as SaleInfo, bD as UpcomingSale, av as DurationUnit, t as BoundaryKind, bk as SchedulingMode, al as DepositType, af as CustomAttributeValue, b4 as ProductProperty, be as QuantityPricingTier } from './product-
|
|
7
|
-
import { P as ProductWithPrice } from './price-
|
|
6
|
+
import { ad as CurrencyCode, aZ as Product, aQ as Pagination, V as CimplifyError, bb as ProductWithDetails, S as Category, aO as Money, E as BundleSelectionInput, a1 as ComponentSelectionInput, D as BundleSelectionData, aa as CompositeSelectionData, W as Collection, b6 as ProductTaxonomy, bx as TaxonomyWithChildren, b7 as ProductTimeProfile, aj as Deal, b2 as ProductDealInfo, ap as DiscountValidation, G as BundleSummary, a8 as CompositePriceResult, bs as SubscriptionWithDetails, br as SubscriptionStatus, bo as Subscription, ae as CustomAttributeDefinition, bc as PropertyFacet, b1 as ProductBillingPlan, bQ as VariantView, bK as VariantAxisWithValues, f as AddOnWithOptions, y as BundleComponentView, z as BundlePriceType, a6 as CompositeGroupView, as as DisplayCart, b3 as ProductInputField, h as AddressValue, bi as SaleInfo, bD as UpcomingSale, av as DurationUnit, t as BoundaryKind, bk as SchedulingMode, al as DepositType, af as CustomAttributeValue, b4 as ProductProperty, be as QuantityPricingTier } from './product-O8-wcHSe.mjs';
|
|
7
|
+
import { P as ProductWithPrice } from './price-BvRtp6ak.mjs';
|
|
8
8
|
import { ClassValue } from 'clsx';
|
|
9
9
|
import { Matcher } from 'react-day-picker';
|
|
10
|
-
import './payment-
|
|
10
|
+
import './payment-pKPpaORI.mjs';
|
|
11
11
|
|
|
12
12
|
interface UserIdentity {
|
|
13
13
|
uid: string;
|
|
@@ -955,6 +955,7 @@ interface UseCartItem {
|
|
|
955
955
|
scheduledStart?: string;
|
|
956
956
|
scheduledEnd?: string;
|
|
957
957
|
staffId?: string;
|
|
958
|
+
units?: number;
|
|
958
959
|
lineType?: "simple" | "service" | "bundle" | "composite" | "digital";
|
|
959
960
|
confirmationCode?: string;
|
|
960
961
|
serviceStatus?: string;
|
|
@@ -981,6 +982,7 @@ interface AddToCartOptions {
|
|
|
981
982
|
scheduledEnd?: string;
|
|
982
983
|
staffId?: string;
|
|
983
984
|
resourceId?: string;
|
|
985
|
+
units?: number;
|
|
984
986
|
billingPlanId?: string;
|
|
985
987
|
customerInputs?: Array<{
|
|
986
988
|
field_id: string;
|
|
@@ -1292,6 +1294,7 @@ declare function useServices(options?: UseServicesOptions): UseServicesResult;
|
|
|
1292
1294
|
|
|
1293
1295
|
interface UseAvailableSlotsOptions extends CachedQueryBaseOptions {
|
|
1294
1296
|
participantCount?: number;
|
|
1297
|
+
units?: number;
|
|
1295
1298
|
}
|
|
1296
1299
|
interface UseAvailableSlotsResult {
|
|
1297
1300
|
slots: AvailableSlot[];
|
|
@@ -1303,6 +1306,7 @@ declare function useAvailableSlots(serviceId: string | null, date: string | null
|
|
|
1303
1306
|
|
|
1304
1307
|
interface UseServiceAvailabilityOptions extends CachedQueryBaseOptions {
|
|
1305
1308
|
participantCount?: number;
|
|
1309
|
+
units?: number;
|
|
1306
1310
|
locationId?: string;
|
|
1307
1311
|
}
|
|
1308
1312
|
interface UseServiceAvailabilityResult {
|
|
@@ -1518,6 +1522,17 @@ interface UseChatResult {
|
|
|
1518
1522
|
seenAt: string | null;
|
|
1519
1523
|
/** True while older history may exist above the loaded messages. */
|
|
1520
1524
|
mayHaveOlder: boolean;
|
|
1525
|
+
/**
|
|
1526
|
+
* The verified customer this session's conversation is bound to (from the
|
|
1527
|
+
* claim), null while anonymous. Drives "chatting as X — not you?" UI.
|
|
1528
|
+
*/
|
|
1529
|
+
claimedAs: string | null;
|
|
1530
|
+
/**
|
|
1531
|
+
* Sign out of the bound identity: revokes the Link session, clears the
|
|
1532
|
+
* access token, mints a fresh anonymous session, and resets the loaded
|
|
1533
|
+
* conversation so nothing lingers for the next person at this browser.
|
|
1534
|
+
*/
|
|
1535
|
+
signOut: () => Promise<boolean>;
|
|
1521
1536
|
/**
|
|
1522
1537
|
* Resolves true when the message was accepted; false puts the failure in
|
|
1523
1538
|
* `error`. Pass `replyTo` to quote another loaded message.
|
|
@@ -1533,6 +1548,12 @@ interface UseChatResult {
|
|
|
1533
1548
|
requestHuman: () => Promise<boolean>;
|
|
1534
1549
|
/** Load messages older than the earliest loaded one. Resolves true if any arrived. */
|
|
1535
1550
|
loadOlder: () => Promise<boolean>;
|
|
1551
|
+
/**
|
|
1552
|
+
* Hydrate an existing conversation without creating one: no-op when this
|
|
1553
|
+
* session has no conversation yet. Call when the chat surface opens so
|
|
1554
|
+
* returning (and claimed) visitors see their history before sending.
|
|
1555
|
+
*/
|
|
1556
|
+
openIfExisting: () => Promise<void>;
|
|
1536
1557
|
}
|
|
1537
1558
|
declare function useChat(options?: UseChatOptions): UseChatResult;
|
|
1538
1559
|
|
|
@@ -1738,6 +1759,7 @@ interface ProductCustomizerClassNames {
|
|
|
1738
1759
|
validation?: string;
|
|
1739
1760
|
specialInstructions?: string;
|
|
1740
1761
|
depositInfo?: string;
|
|
1762
|
+
units?: string;
|
|
1741
1763
|
allergens?: string;
|
|
1742
1764
|
duration?: string;
|
|
1743
1765
|
}
|
|
@@ -1954,6 +1976,45 @@ interface CustomerInputFieldsProps {
|
|
|
1954
1976
|
}
|
|
1955
1977
|
declare function CustomerInputFields({ fields, values, onChange, onFileUpload, currency, className, classNames, }: CustomerInputFieldsProps): React$1.ReactElement | null;
|
|
1956
1978
|
|
|
1979
|
+
interface AddressAutocompleteClassNames {
|
|
1980
|
+
root?: string;
|
|
1981
|
+
input?: string;
|
|
1982
|
+
list?: string;
|
|
1983
|
+
option?: string;
|
|
1984
|
+
activeOption?: string;
|
|
1985
|
+
}
|
|
1986
|
+
interface AddressAutocompleteProps {
|
|
1987
|
+
/** The currently resolved address, if any. Seeds the input text. */
|
|
1988
|
+
value?: AddressValue | null;
|
|
1989
|
+
/** Fires when the customer picks a suggestion and details resolve. */
|
|
1990
|
+
onSelect: (address: AddressValue) => void;
|
|
1991
|
+
/**
|
|
1992
|
+
* Fires on every keystroke after a selection existed — the previous
|
|
1993
|
+
* coordinates no longer describe what's typed, so consumers should clear
|
|
1994
|
+
* any address state derived from the last selection.
|
|
1995
|
+
*/
|
|
1996
|
+
onDirty?: () => void;
|
|
1997
|
+
placeholder?: string;
|
|
1998
|
+
required?: boolean;
|
|
1999
|
+
autoFocus?: boolean;
|
|
2000
|
+
id?: string;
|
|
2001
|
+
className?: string;
|
|
2002
|
+
classNames?: AddressAutocompleteClassNames;
|
|
2003
|
+
}
|
|
2004
|
+
/** Google keys autocomplete billing to a session token that must be spent
|
|
2005
|
+
* (rotated) once details are fetched. */
|
|
2006
|
+
declare function createPlacesSessionToken(): string;
|
|
2007
|
+
/**
|
|
2008
|
+
* AddressAutocomplete — a Places-backed address search that resolves to a
|
|
2009
|
+
* full {@link AddressValue} with coordinates. Delivery checkout requires
|
|
2010
|
+
* latitude/longitude on the wire, so free-text address entry cannot complete
|
|
2011
|
+
* an order; this is the canonical way to capture a deliverable address.
|
|
2012
|
+
*
|
|
2013
|
+
* Headless by default: style via `classNames` or the `data-cimplify-address-*`
|
|
2014
|
+
* attributes.
|
|
2015
|
+
*/
|
|
2016
|
+
declare function AddressAutocomplete({ value, onSelect, onDirty, placeholder, required, autoFocus, id, className, classNames, }: AddressAutocompleteProps): React$1.ReactElement;
|
|
2017
|
+
|
|
1957
2018
|
interface SaleBadgeClassNames {
|
|
1958
2019
|
root?: string;
|
|
1959
2020
|
percentage?: string;
|
|
@@ -2272,6 +2333,16 @@ declare function cn(...inputs: ClassValue[]): string;
|
|
|
2272
2333
|
*/
|
|
2273
2334
|
declare function stripHtmlToText(html: string | null | undefined): string;
|
|
2274
2335
|
|
|
2336
|
+
/**
|
|
2337
|
+
* Whether an attachment should render inline as an image. The mime type is the
|
|
2338
|
+
* source of truth when present, but attachments scraped from tool results (and
|
|
2339
|
+
* some inbound channels) arrive unlabelled — falling back to the URL's
|
|
2340
|
+
* extension keeps those rendering as pictures instead of generic file chips.
|
|
2341
|
+
*/
|
|
2342
|
+
/** Only http(s) URLs may render into `href`/`src`; anything else is dropped. */
|
|
2343
|
+
declare function safeAttachmentUrl(url: string): string | null;
|
|
2344
|
+
declare function isImageAttachment(attachment: ChatAttachment): boolean;
|
|
2345
|
+
|
|
2275
2346
|
interface BoundaryLabels {
|
|
2276
2347
|
/** e.g. "Check-in" / "Pickup". */
|
|
2277
2348
|
start: string;
|
|
@@ -2650,6 +2721,8 @@ interface DateSlotPickerProps {
|
|
|
2650
2721
|
daysToShow?: number;
|
|
2651
2722
|
/** Number of participants. */
|
|
2652
2723
|
participantCount?: number;
|
|
2724
|
+
/** Whole units needed — forwarded to availability so short days drop out. */
|
|
2725
|
+
units?: number;
|
|
2653
2726
|
/** Currently selected slot. */
|
|
2654
2727
|
selectedSlot?: AvailableSlot | null;
|
|
2655
2728
|
/** Called when a slot is selected. */
|
|
@@ -2673,7 +2746,7 @@ interface DateSlotPickerProps {
|
|
|
2673
2746
|
className?: string;
|
|
2674
2747
|
classNames?: DateSlotPickerClassNames;
|
|
2675
2748
|
}
|
|
2676
|
-
declare function DateSlotPicker({ serviceId, daysToShow, participantCount, selectedSlot, onSlotSelect, availability: availabilityProp, showPrice, currency, schedulingMode, durationUnit, durationValue, hideElapsedSlots, minLeadMinutes, className, classNames, }: DateSlotPickerProps): React$1.ReactElement;
|
|
2749
|
+
declare function DateSlotPicker({ serviceId, daysToShow, participantCount, units, selectedSlot, onSlotSelect, availability: availabilityProp, showPrice, currency, schedulingMode, durationUnit, durationValue, hideElapsedSlots, minLeadMinutes, className, classNames, }: DateSlotPickerProps): React$1.ReactElement;
|
|
2677
2750
|
|
|
2678
2751
|
interface DatePickerClassNames {
|
|
2679
2752
|
/** Outer wrapper around the trigger. */
|
|
@@ -4217,4 +4290,4 @@ declare function genUIManifestJson(manifest: GenUICapabilityManifest): string;
|
|
|
4217
4290
|
/** First 16 hex chars of SHA-256 over the canonical manifest bytes. */
|
|
4218
4291
|
declare function genUIFingerprint(manifest: GenUICapabilityManifest): Promise<string>;
|
|
4219
4292
|
|
|
4220
|
-
export { AccommodationCard, AccountContent, type AccountContentProps, AccountDashboardPage, type AccountDashboardPageProps, AccountHero, type AccountHeroProps, AccountIdentityStrip, type AccountIdentityStripProps, AccountLineItem, type AccountLineItemData, type AccountLineItemProps, AccountLineItems, type AccountLineItemsProps, AccountNav, type AccountNavProps, AccountOrderDetailPage, type AccountOrderDetailPageProps, AccountOrderView, type AccountOrderViewProps, AccountOrdersPage, type AccountOrdersPageProps, type AccountPageBaseProps, AccountShell, type AccountShellProps, AccountSidebar, type AccountSidebarProps, AccountSignedOutPrompt, type AccountSignedOutPromptProps, AccountSubscriptionDetailPage, type AccountSubscriptionDetailPageProps, AccountSubscriptionsPage, type AccountSubscriptionsPageProps, Ad, AdPosition, type AdProps, AdProvider, AdSlot, AddOnSelector, type AddOnSelectorClassNames, type AddOnSelectorProps, type AddToCartOptions, AddressElement, AuthElement, AvailabilityBadge, type AvailabilityBadgeClassNames, type AvailabilityBadgeProps, BackLink, type BackLinkProps, BillingPlanSelector, type BillingPlanSelectorClassNames, type BillingPlanSelectorProps, BookingCard, type BookingCardClassNames, type BookingCardProps, BookingList, type BookingListClassNames, type BookingListProps, BookingPage, type BookingPageClassNames, type BookingPageProps, BookingSummary, type BookingSummaryClassNames, type BookingSummaryProps, BookingsPage, type BookingsPageClassNames, type BookingsPageProps, type BoundaryLabels, BoxIcon24, BundleProductCard, BundleProductLayout, BundleSelector, type BundleSelectorClassNames, type BundleSelectorProps, Button, type ButtonProps, CIMPLIFY_GENUI_REGISTRY, CardImage, type CardLayoutProps, CardShell, CardVariant, type CartAddOnOptionSelection, CartDrawer, type CartDrawerProps, CartDrawerProvider, 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, ChatMarkdown, type ChatMarkdownProps, type ChatTimeline, ChatWidget, type ChatWidgetClassNames, type ChatWidgetProps, CheckIcon, CheckoutPage, type CheckoutPageClassNames, type CheckoutPageProps, CimplifyCheckout, type CimplifyCheckoutProps, type CimplifyClientContextValue, type CimplifyClientSession, type CimplifyContextValue, type CimplifyLinkComponent, type CimplifyLinkProps, CimplifyProvider, type CimplifyProviderProps, CimplifySignInButton, type CimplifySignInButtonProps, CimplifyUserButton, type CimplifyUserButtonProps, type CollectionLayoutProps, CollectionPage, type CollectionPageClassNames, type CollectionPageProps, CollectionTemplate, CompactCartLayout, CompactCatalogueLayout, CompactSearchLayout, CompactServiceCard, CompositeProductCard, CompositeProductLayout, CompositeSelector, type CompositeSelectorClassNames, type CompositeSelectorProps, ContextCard, type ContextCardProps, type ContextRow, ContinuityCard, type ContinuityCardProps, CurrencySelector, type CurrencySelectorClassNames, type CurrencySelectorProps, CustomAttributesTable, type CustomerInput, CustomerInputFields, type CustomerInputFieldsClassNames, type CustomerInputFieldsProps, type CustomerInputType, DashboardIcon, DashboardIcon20, DatePicker, type DatePickerClassNames, type DatePickerProps, 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, type DeliveryLive, type DeliveryRider, DeliveryTracker, type DeliveryTrackerProps, DeliveryTruckIcon, type DigitalFulfillment, DigitalProductCard, DigitalProductLayout, DiscountInput, type DiscountInputClassNames, type DiscountInputProps, ElementsProvider, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, FeaturedCollectionLayout, type FilterTabItem, FilterTabs, type FilterTabsProps, FoodProductCard, FoodProductLayout, type GenUIActionEvent, type GenUICapabilityManifest, type GenUIComponentDef, type GenUIComponentMap, type GenUIComponentRenderer, type ElementNode as GenUIElementNode, type GenUIParamDef, type ParseResult as GenUIParseResult, type GenUIProgramState, type GenUIRegistry, type GenUIRenderContext, type GenUISegment, type GenUITelemetryEvent, GenUIView, HappeningCard, type HappeningCardProps, type HappeningPaneData, IdentityIcon, IdentityOfframp, type IdentityOfframpProps, type IdentitySummary, InventoryBadge, ItemsCard, type ItemsCardProps, LeaseServiceCard, LineItemDetails, type LineItemSemanticKind, type LineScheduling, type LineSelection, type LineStateTone, LocationPicker, type LocationPickerClassNames, type LocationPickerProps, MediaGallery, type MediaGalleryProps, type MediaItem, MetadataStringList, MobileAccountShell, type MobileAccountShellProps, MobileBackButton, MobileMoreButton, MobileTabBar, type MobileTabBarProps, type NavItem, NextDeliveryCard, type NextDeliveryCardProps, OrderDetailHeader, type OrderDetailHeaderProps, OrderDetailMetaPipe, OrderDetailPage, type OrderDetailPageClassNames, type OrderDetailPageProps, OrderHistory, type OrderHistoryClassNames, OrderHistoryPage, type OrderHistoryPageClassNames, type OrderHistoryPageProps, type OrderHistoryProps, type OrderItemData, OrderList, type OrderListProps, OrderRow, type OrderRowData, type OrderRowProps, type OrderRowStatus, type OrderStatusTone, OrderSummary, type OrderSummaryClassNames, type OrderSummaryProps, OrderTimeline, type OrderTimelineProps, OrderTotals, type OrderTotalsProps, type OrderViewDelivery, type OrderViewPayment, type OrderViewPaymentRow, OrdersIcon, OrdersIcon20, OvenIcon, PackageIcon, PaymentElement, type PrefetchMode, type PrefetchOptions, 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, ProductModel3D, type ProductModel3DProps, 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, RichText, type RichTextProps, SaleBadge, type SaleBadgeClassNames, type SaleBadgeProps, SalePrice, type SalePriceClassNames, type SalePriceProps, SaleTeaser, type SaleTeaserProps, ScheduleServiceCard, SearchInput, type SearchInputClassNames, type SearchInputProps, type SearchLayoutProps, SearchPage, type SearchPageClassNames, type SearchPageProps, SearchTemplate, Section, SectionMore, type SectionMoreProps, type SectionProps, type ServiceCardLayoutProps, ServiceProductLayout, SessionMessageBanner, type SessionMessageBannerClassNames, type SessionMessageBannerProps, SignOutIcon, Skeleton, type SkeletonProps, SlotPicker, type SlotPickerClassNames, type SlotPickerProps, SoldOutOverlay, StaffPicker, type StaffPickerClassNames, type StaffPickerProps, StandardServiceCard, Status, type StatusProps, StoreNav, type StoreNavClassNames, type StoreNavProps, StoreVideo, type StoreVideoProps, SubscriptionCard, SubscriptionList, type SubscriptionListProps, SubscriptionRow, type SubscriptionRowData, type SubscriptionRowProps, SubscriptionsIcon, SubscriptionsIcon20, TagPills, TimePicker, type TimePickerClassNames, type TimePickerProps, type TimelineStep, type ToAccountOrderViewOptions, Toast, type ToastProps, type TotalsData, 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 UseCimplifySessionOptions, type UseCimplifySessionResult, 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 UseStoreCreditOptions, type UseStoreCreditResult, type UseTaxonomiesOptions, type UseTaxonomiesResult, type UseTaxonomyOptions, type UseTaxonomyPathOptions, type UseTaxonomyPathResult, type UseTaxonomyResult, type UseValidateDiscountOptions, type UseValidateDiscountResult, type UseVariantSelectorOptions, type UseVariantSelectorResult, type UserButtonLink, VariantSelector, type VariantSelectorClassNames, type VariantSelectorProps, VolumePricing, type VolumePricingClassNames, type VolumePricingProps, WelcomeCard, type WelcomeCardProps, WholesaleProductCard, WholesaleProductLayout, WishlistButton, clearOrdersCache, cn, defaultBoundaryKind, genUICatalog, genUIFingerprint, genUIManifest, genUIManifestJson, getBoundaryLabels, isTerminalOrderStatus, messagePreview, parse as parseGenUIProgram, partitionMessages, prefetchProduct, prefetchProducts, resolveBoundaryKind, roomToResource, sanitizeRichTextHtml, splitGenUIContent, stripHtmlToText, toAccountLineItem, toAccountLineItems, toAccountOrderView, useActivityState, useAds, useAttributeDefinitions, useAvailableSlots, useBillingPlans, useBookings, useBootstrap, useBundles, useCart, useCartDrawer, useCategories, useChat, useCheckout, useCimplify, useCimplifyClient, useCimplifySession, useCollection, useCollections, useDeals, useDeliveryFee, useDeliveryOptions, useElements, useElementsReady, useFxRate, useGenUIProgram, useLocations, useOptionalCimplify, useOrder, useOrders, useProduct, useProductAvailability, useProductDeals, useProductPrice, useProductSchedules, useProducts, useProductsOnSale, usePropertyFacets, useQuote, useRecommendations, useSearch, useServiceAvailability, useServices, useStoreCredit, useSubscription, useSubscriptions, useTaxonomies, useTaxonomy, useTaxonomyPath, useValidateDiscount, useVariantSelector };
|
|
4293
|
+
export { AccommodationCard, AccountContent, type AccountContentProps, AccountDashboardPage, type AccountDashboardPageProps, AccountHero, type AccountHeroProps, AccountIdentityStrip, type AccountIdentityStripProps, AccountLineItem, type AccountLineItemData, type AccountLineItemProps, AccountLineItems, type AccountLineItemsProps, AccountNav, type AccountNavProps, AccountOrderDetailPage, type AccountOrderDetailPageProps, AccountOrderView, type AccountOrderViewProps, AccountOrdersPage, type AccountOrdersPageProps, type AccountPageBaseProps, AccountShell, type AccountShellProps, AccountSidebar, type AccountSidebarProps, AccountSignedOutPrompt, type AccountSignedOutPromptProps, AccountSubscriptionDetailPage, type AccountSubscriptionDetailPageProps, AccountSubscriptionsPage, type AccountSubscriptionsPageProps, Ad, AdPosition, type AdProps, AdProvider, AdSlot, AddOnSelector, type AddOnSelectorClassNames, type AddOnSelectorProps, type AddToCartOptions, AddressAutocomplete, type AddressAutocompleteClassNames, type AddressAutocompleteProps, AddressElement, AuthElement, AvailabilityBadge, type AvailabilityBadgeClassNames, type AvailabilityBadgeProps, BackLink, type BackLinkProps, BillingPlanSelector, type BillingPlanSelectorClassNames, type BillingPlanSelectorProps, BookingCard, type BookingCardClassNames, type BookingCardProps, BookingList, type BookingListClassNames, type BookingListProps, BookingPage, type BookingPageClassNames, type BookingPageProps, BookingSummary, type BookingSummaryClassNames, type BookingSummaryProps, BookingsPage, type BookingsPageClassNames, type BookingsPageProps, type BoundaryLabels, BoxIcon24, BundleProductCard, BundleProductLayout, BundleSelector, type BundleSelectorClassNames, type BundleSelectorProps, Button, type ButtonProps, CIMPLIFY_GENUI_REGISTRY, CardImage, type CardLayoutProps, CardShell, CardVariant, type CartAddOnOptionSelection, CartDrawer, type CartDrawerProps, CartDrawerProvider, 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, ChatMarkdown, type ChatMarkdownProps, type ChatTimeline, ChatWidget, type ChatWidgetClassNames, type ChatWidgetProps, CheckIcon, CheckoutPage, type CheckoutPageClassNames, type CheckoutPageProps, CimplifyCheckout, type CimplifyCheckoutProps, type CimplifyClientContextValue, type CimplifyClientSession, type CimplifyContextValue, type CimplifyLinkComponent, type CimplifyLinkProps, CimplifyProvider, type CimplifyProviderProps, CimplifySignInButton, type CimplifySignInButtonProps, CimplifyUserButton, type CimplifyUserButtonProps, type CollectionLayoutProps, CollectionPage, type CollectionPageClassNames, type CollectionPageProps, CollectionTemplate, CompactCartLayout, CompactCatalogueLayout, CompactSearchLayout, CompactServiceCard, CompositeProductCard, CompositeProductLayout, CompositeSelector, type CompositeSelectorClassNames, type CompositeSelectorProps, ContextCard, type ContextCardProps, type ContextRow, ContinuityCard, type ContinuityCardProps, CurrencySelector, type CurrencySelectorClassNames, type CurrencySelectorProps, CustomAttributesTable, type CustomerInput, CustomerInputFields, type CustomerInputFieldsClassNames, type CustomerInputFieldsProps, type CustomerInputType, DashboardIcon, DashboardIcon20, DatePicker, type DatePickerClassNames, type DatePickerProps, 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, type DeliveryLive, type DeliveryRider, DeliveryTracker, type DeliveryTrackerProps, DeliveryTruckIcon, type DigitalFulfillment, DigitalProductCard, DigitalProductLayout, DiscountInput, type DiscountInputClassNames, type DiscountInputProps, ElementsProvider, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, FeaturedCollectionLayout, type FilterTabItem, FilterTabs, type FilterTabsProps, FoodProductCard, FoodProductLayout, type GenUIActionEvent, type GenUICapabilityManifest, type GenUIComponentDef, type GenUIComponentMap, type GenUIComponentRenderer, type ElementNode as GenUIElementNode, type GenUIParamDef, type ParseResult as GenUIParseResult, type GenUIProgramState, type GenUIRegistry, type GenUIRenderContext, type GenUISegment, type GenUITelemetryEvent, GenUIView, HappeningCard, type HappeningCardProps, type HappeningPaneData, IdentityIcon, IdentityOfframp, type IdentityOfframpProps, type IdentitySummary, InventoryBadge, ItemsCard, type ItemsCardProps, LeaseServiceCard, LineItemDetails, type LineItemSemanticKind, type LineScheduling, type LineSelection, type LineStateTone, LocationPicker, type LocationPickerClassNames, type LocationPickerProps, MediaGallery, type MediaGalleryProps, type MediaItem, MetadataStringList, MobileAccountShell, type MobileAccountShellProps, MobileBackButton, MobileMoreButton, MobileTabBar, type MobileTabBarProps, type NavItem, NextDeliveryCard, type NextDeliveryCardProps, OrderDetailHeader, type OrderDetailHeaderProps, OrderDetailMetaPipe, OrderDetailPage, type OrderDetailPageClassNames, type OrderDetailPageProps, OrderHistory, type OrderHistoryClassNames, OrderHistoryPage, type OrderHistoryPageClassNames, type OrderHistoryPageProps, type OrderHistoryProps, type OrderItemData, OrderList, type OrderListProps, OrderRow, type OrderRowData, type OrderRowProps, type OrderRowStatus, type OrderStatusTone, OrderSummary, type OrderSummaryClassNames, type OrderSummaryProps, OrderTimeline, type OrderTimelineProps, OrderTotals, type OrderTotalsProps, type OrderViewDelivery, type OrderViewPayment, type OrderViewPaymentRow, OrdersIcon, OrdersIcon20, OvenIcon, PackageIcon, PaymentElement, type PrefetchMode, type PrefetchOptions, 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, ProductModel3D, type ProductModel3DProps, 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, RichText, type RichTextProps, SaleBadge, type SaleBadgeClassNames, type SaleBadgeProps, SalePrice, type SalePriceClassNames, type SalePriceProps, SaleTeaser, type SaleTeaserProps, ScheduleServiceCard, SearchInput, type SearchInputClassNames, type SearchInputProps, type SearchLayoutProps, SearchPage, type SearchPageClassNames, type SearchPageProps, SearchTemplate, Section, SectionMore, type SectionMoreProps, type SectionProps, type ServiceCardLayoutProps, ServiceProductLayout, SessionMessageBanner, type SessionMessageBannerClassNames, type SessionMessageBannerProps, SignOutIcon, Skeleton, type SkeletonProps, SlotPicker, type SlotPickerClassNames, type SlotPickerProps, SoldOutOverlay, StaffPicker, type StaffPickerClassNames, type StaffPickerProps, StandardServiceCard, Status, type StatusProps, StoreNav, type StoreNavClassNames, type StoreNavProps, StoreVideo, type StoreVideoProps, SubscriptionCard, SubscriptionList, type SubscriptionListProps, SubscriptionRow, type SubscriptionRowData, type SubscriptionRowProps, SubscriptionsIcon, SubscriptionsIcon20, TagPills, TimePicker, type TimePickerClassNames, type TimePickerProps, type TimelineStep, type ToAccountOrderViewOptions, Toast, type ToastProps, type TotalsData, 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 UseCimplifySessionOptions, type UseCimplifySessionResult, 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 UseStoreCreditOptions, type UseStoreCreditResult, type UseTaxonomiesOptions, type UseTaxonomiesResult, type UseTaxonomyOptions, type UseTaxonomyPathOptions, type UseTaxonomyPathResult, type UseTaxonomyResult, type UseValidateDiscountOptions, type UseValidateDiscountResult, type UseVariantSelectorOptions, type UseVariantSelectorResult, type UserButtonLink, VariantSelector, type VariantSelectorClassNames, type VariantSelectorProps, VolumePricing, type VolumePricingClassNames, type VolumePricingProps, WelcomeCard, type WelcomeCardProps, WholesaleProductCard, WholesaleProductLayout, WishlistButton, clearOrdersCache, cn, createPlacesSessionToken, defaultBoundaryKind, genUICatalog, genUIFingerprint, genUIManifest, genUIManifestJson, getBoundaryLabels, isImageAttachment, isTerminalOrderStatus, messagePreview, parse as parseGenUIProgram, partitionMessages, prefetchProduct, prefetchProducts, resolveBoundaryKind, roomToResource, safeAttachmentUrl, sanitizeRichTextHtml, splitGenUIContent, stripHtmlToText, toAccountLineItem, toAccountLineItems, toAccountOrderView, useActivityState, useAds, useAttributeDefinitions, useAvailableSlots, useBillingPlans, useBookings, useBootstrap, useBundles, useCart, useCartDrawer, useCategories, useChat, useCheckout, useCimplify, useCimplifyClient, useCimplifySession, useCollection, useCollections, useDeals, useDeliveryFee, useDeliveryOptions, useElements, useElementsReady, useFxRate, useGenUIProgram, useLocations, useOptionalCimplify, useOrder, useOrders, useProduct, useProductAvailability, useProductDeals, useProductPrice, useProductSchedules, useProducts, useProductsOnSale, usePropertyFacets, useQuote, useRecommendations, useSearch, useServiceAvailability, useServices, useStoreCredit, useSubscription, useSubscriptions, useTaxonomies, useTaxonomy, useTaxonomyPath, useValidateDiscount, useVariantSelector };
|