@coveo/thermidor-schema 1.0.0-beta.30 → 1.0.0-beta.32
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/generated/schemas.d.ts +71 -130
- package/dist/generated/schemas.js +34 -6
- package/dist/generated/zod3/index.d.ts +2 -2
- package/dist/generated/zod3/index.js +1 -1
- package/dist/generated/zod3/schemas.d.ts +354 -1497
- package/dist/generated/zod3/schemas.js +34 -6
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/package.json +3 -3
- package/schema/component-contracts.schema.json +6 -0
- package/schema/components/query-suggestions.schema.json +3 -14
- package/schema/components/search-box.schema.json +43 -0
- package/schema/components/session-shell.schema.json +65 -0
|
@@ -541,6 +541,10 @@ export declare const UpdateCartPayloadSchema: z.ZodObject<{
|
|
|
541
541
|
export type UpdateCartPayload = z.infer<typeof UpdateCartPayloadSchema>;
|
|
542
542
|
export declare const CartStateSchema: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
543
543
|
export type CartState = z.infer<typeof CartStateSchema>;
|
|
544
|
+
export declare const SearchBoxActionsSchema: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
545
|
+
export type SearchBoxActions = z.infer<typeof SearchBoxActionsSchema>;
|
|
546
|
+
export declare const SearchBoxStateSchema: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
547
|
+
export type SearchBoxState = z.infer<typeof SearchBoxStateSchema>;
|
|
544
548
|
export declare const FetchSuggestionsPayloadSchema: z.ZodObject<{
|
|
545
549
|
query: z.ZodString;
|
|
546
550
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -1535,6 +1539,10 @@ export declare const BreadboxFacetValueSchema: z.ZodObject<{
|
|
|
1535
1539
|
start?: string | number | undefined;
|
|
1536
1540
|
}>;
|
|
1537
1541
|
export type BreadboxFacetValue = z.infer<typeof BreadboxFacetValueSchema>;
|
|
1542
|
+
export declare const InitializePayloadSchema: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
1543
|
+
export type InitializePayload = z.infer<typeof InitializePayloadSchema>;
|
|
1544
|
+
export declare const SessionShellStateSchema: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
1545
|
+
export type SessionShellState = z.infer<typeof SessionShellStateSchema>;
|
|
1538
1546
|
export declare const OverrideCorrectionPayloadSchema: z.ZodObject<{
|
|
1539
1547
|
originalQuery: z.ZodString;
|
|
1540
1548
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -2378,6 +2386,23 @@ export declare const UpdateCartSchema: z.ZodObject<{
|
|
|
2378
2386
|
};
|
|
2379
2387
|
}>;
|
|
2380
2388
|
export type UpdateCart = z.infer<typeof UpdateCartSchema>;
|
|
2389
|
+
export declare const SearchBoxSchema: z.ZodObject<{
|
|
2390
|
+
actions: z.ZodOptional<z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>;
|
|
2391
|
+
component: z.ZodLiteral<"SearchBox">;
|
|
2392
|
+
id: z.ZodString;
|
|
2393
|
+
state: z.ZodOptional<z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>;
|
|
2394
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2395
|
+
actions: z.ZodOptional<z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>;
|
|
2396
|
+
component: z.ZodLiteral<"SearchBox">;
|
|
2397
|
+
id: z.ZodString;
|
|
2398
|
+
state: z.ZodOptional<z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>;
|
|
2399
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2400
|
+
actions: z.ZodOptional<z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>;
|
|
2401
|
+
component: z.ZodLiteral<"SearchBox">;
|
|
2402
|
+
id: z.ZodString;
|
|
2403
|
+
state: z.ZodOptional<z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>;
|
|
2404
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
2405
|
+
export type SearchBox = z.infer<typeof SearchBoxSchema>;
|
|
2381
2406
|
export declare const FetchSuggestionsSchema: z.ZodObject<{
|
|
2382
2407
|
payload: z.ZodObject<{
|
|
2383
2408
|
query: z.ZodString;
|
|
@@ -2407,187 +2432,18 @@ export declare const QuerySuggestionsStateSchema: z.ZodObject<{
|
|
|
2407
2432
|
expression: string;
|
|
2408
2433
|
score?: number | undefined;
|
|
2409
2434
|
}>, "many">;
|
|
2410
|
-
products: z.ZodArray<z.ZodObject<{
|
|
2411
|
-
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2412
|
-
readonly badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2413
|
-
badges: z.ZodArray<z.ZodObject<{
|
|
2414
|
-
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
2415
|
-
iconUrl: z.ZodOptional<z.ZodString>;
|
|
2416
|
-
text: z.ZodString;
|
|
2417
|
-
textColor: z.ZodOptional<z.ZodString>;
|
|
2418
|
-
}, "strict", z.ZodTypeAny, {
|
|
2419
|
-
backgroundColor?: string | undefined;
|
|
2420
|
-
iconUrl?: string | undefined;
|
|
2421
|
-
text: string;
|
|
2422
|
-
textColor?: string | undefined;
|
|
2423
|
-
}, {
|
|
2424
|
-
backgroundColor?: string | undefined;
|
|
2425
|
-
iconUrl?: string | undefined;
|
|
2426
|
-
text: string;
|
|
2427
|
-
textColor?: string | undefined;
|
|
2428
|
-
}>, "many">;
|
|
2429
|
-
placementId: z.ZodString;
|
|
2430
|
-
}, "strict", z.ZodTypeAny, {
|
|
2431
|
-
badges: {
|
|
2432
|
-
backgroundColor?: string | undefined;
|
|
2433
|
-
iconUrl?: string | undefined;
|
|
2434
|
-
text: string;
|
|
2435
|
-
textColor?: string | undefined;
|
|
2436
|
-
}[];
|
|
2437
|
-
placementId: string;
|
|
2438
|
-
}, {
|
|
2439
|
-
badges: {
|
|
2440
|
-
backgroundColor?: string | undefined;
|
|
2441
|
-
iconUrl?: string | undefined;
|
|
2442
|
-
text: string;
|
|
2443
|
-
textColor?: string | undefined;
|
|
2444
|
-
}[];
|
|
2445
|
-
placementId: string;
|
|
2446
|
-
}>, "many">>;
|
|
2447
|
-
readonly children: z.ZodTypeAny;
|
|
2448
|
-
clickUri: z.ZodOptional<z.ZodString>;
|
|
2449
|
-
ec_brand: z.ZodOptional<z.ZodString>;
|
|
2450
|
-
ec_category: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2451
|
-
ec_color: z.ZodOptional<z.ZodString>;
|
|
2452
|
-
ec_description: z.ZodOptional<z.ZodString>;
|
|
2453
|
-
ec_images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2454
|
-
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
2455
|
-
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
2456
|
-
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
2457
|
-
ec_name: z.ZodString;
|
|
2458
|
-
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
2459
|
-
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
2460
|
-
ec_rating: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
2461
|
-
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
2462
|
-
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2463
|
-
permanentid: z.ZodString;
|
|
2464
|
-
}, "strict", z.ZodTypeAny, {
|
|
2465
|
-
additionalFields: Record<string, unknown>;
|
|
2466
|
-
badgePlacements?: {
|
|
2467
|
-
badges: {
|
|
2468
|
-
backgroundColor?: string | undefined;
|
|
2469
|
-
iconUrl?: string | undefined;
|
|
2470
|
-
text: string;
|
|
2471
|
-
textColor?: string | undefined;
|
|
2472
|
-
}[];
|
|
2473
|
-
placementId: string;
|
|
2474
|
-
}[] | undefined;
|
|
2475
|
-
children?: any;
|
|
2476
|
-
clickUri?: string | undefined;
|
|
2477
|
-
ec_brand?: string | undefined;
|
|
2478
|
-
ec_category?: string[] | undefined;
|
|
2479
|
-
ec_color?: string | undefined;
|
|
2480
|
-
ec_description?: string | undefined;
|
|
2481
|
-
ec_images?: string[] | undefined;
|
|
2482
|
-
ec_in_stock?: boolean | undefined;
|
|
2483
|
-
ec_item_group_id?: string | undefined;
|
|
2484
|
-
ec_item_group_name?: string | undefined;
|
|
2485
|
-
ec_name: string;
|
|
2486
|
-
ec_price?: number | undefined;
|
|
2487
|
-
ec_promo_price?: number | undefined;
|
|
2488
|
-
ec_rating?: number | null | undefined;
|
|
2489
|
-
ec_shortdesc?: string | undefined;
|
|
2490
|
-
ec_thumbnails?: string[] | undefined;
|
|
2491
|
-
permanentid: string;
|
|
2492
|
-
}, {
|
|
2493
|
-
additionalFields: Record<string, unknown>;
|
|
2494
|
-
badgePlacements?: {
|
|
2495
|
-
badges: {
|
|
2496
|
-
backgroundColor?: string | undefined;
|
|
2497
|
-
iconUrl?: string | undefined;
|
|
2498
|
-
text: string;
|
|
2499
|
-
textColor?: string | undefined;
|
|
2500
|
-
}[];
|
|
2501
|
-
placementId: string;
|
|
2502
|
-
}[] | undefined;
|
|
2503
|
-
children?: any;
|
|
2504
|
-
clickUri?: string | undefined;
|
|
2505
|
-
ec_brand?: string | undefined;
|
|
2506
|
-
ec_category?: string[] | undefined;
|
|
2507
|
-
ec_color?: string | undefined;
|
|
2508
|
-
ec_description?: string | undefined;
|
|
2509
|
-
ec_images?: string[] | undefined;
|
|
2510
|
-
ec_in_stock?: boolean | undefined;
|
|
2511
|
-
ec_item_group_id?: string | undefined;
|
|
2512
|
-
ec_item_group_name?: string | undefined;
|
|
2513
|
-
ec_name: string;
|
|
2514
|
-
ec_price?: number | undefined;
|
|
2515
|
-
ec_promo_price?: number | undefined;
|
|
2516
|
-
ec_rating?: number | null | undefined;
|
|
2517
|
-
ec_shortdesc?: string | undefined;
|
|
2518
|
-
ec_thumbnails?: string[] | undefined;
|
|
2519
|
-
permanentid: string;
|
|
2520
|
-
}>, "many">;
|
|
2521
2435
|
query: z.ZodString;
|
|
2522
2436
|
}, "strict", z.ZodTypeAny, {
|
|
2523
2437
|
completions: {
|
|
2524
2438
|
expression: string;
|
|
2525
2439
|
score?: number | undefined;
|
|
2526
2440
|
}[];
|
|
2527
|
-
products: {
|
|
2528
|
-
additionalFields: Record<string, unknown>;
|
|
2529
|
-
badgePlacements?: {
|
|
2530
|
-
badges: {
|
|
2531
|
-
backgroundColor?: string | undefined;
|
|
2532
|
-
iconUrl?: string | undefined;
|
|
2533
|
-
text: string;
|
|
2534
|
-
textColor?: string | undefined;
|
|
2535
|
-
}[];
|
|
2536
|
-
placementId: string;
|
|
2537
|
-
}[] | undefined;
|
|
2538
|
-
children?: any;
|
|
2539
|
-
clickUri?: string | undefined;
|
|
2540
|
-
ec_brand?: string | undefined;
|
|
2541
|
-
ec_category?: string[] | undefined;
|
|
2542
|
-
ec_color?: string | undefined;
|
|
2543
|
-
ec_description?: string | undefined;
|
|
2544
|
-
ec_images?: string[] | undefined;
|
|
2545
|
-
ec_in_stock?: boolean | undefined;
|
|
2546
|
-
ec_item_group_id?: string | undefined;
|
|
2547
|
-
ec_item_group_name?: string | undefined;
|
|
2548
|
-
ec_name: string;
|
|
2549
|
-
ec_price?: number | undefined;
|
|
2550
|
-
ec_promo_price?: number | undefined;
|
|
2551
|
-
ec_rating?: number | null | undefined;
|
|
2552
|
-
ec_shortdesc?: string | undefined;
|
|
2553
|
-
ec_thumbnails?: string[] | undefined;
|
|
2554
|
-
permanentid: string;
|
|
2555
|
-
}[];
|
|
2556
2441
|
query: string;
|
|
2557
2442
|
}, {
|
|
2558
2443
|
completions: {
|
|
2559
2444
|
expression: string;
|
|
2560
2445
|
score?: number | undefined;
|
|
2561
2446
|
}[];
|
|
2562
|
-
products: {
|
|
2563
|
-
additionalFields: Record<string, unknown>;
|
|
2564
|
-
badgePlacements?: {
|
|
2565
|
-
badges: {
|
|
2566
|
-
backgroundColor?: string | undefined;
|
|
2567
|
-
iconUrl?: string | undefined;
|
|
2568
|
-
text: string;
|
|
2569
|
-
textColor?: string | undefined;
|
|
2570
|
-
}[];
|
|
2571
|
-
placementId: string;
|
|
2572
|
-
}[] | undefined;
|
|
2573
|
-
children?: any;
|
|
2574
|
-
clickUri?: string | undefined;
|
|
2575
|
-
ec_brand?: string | undefined;
|
|
2576
|
-
ec_category?: string[] | undefined;
|
|
2577
|
-
ec_color?: string | undefined;
|
|
2578
|
-
ec_description?: string | undefined;
|
|
2579
|
-
ec_images?: string[] | undefined;
|
|
2580
|
-
ec_in_stock?: boolean | undefined;
|
|
2581
|
-
ec_item_group_id?: string | undefined;
|
|
2582
|
-
ec_item_group_name?: string | undefined;
|
|
2583
|
-
ec_name: string;
|
|
2584
|
-
ec_price?: number | undefined;
|
|
2585
|
-
ec_promo_price?: number | undefined;
|
|
2586
|
-
ec_rating?: number | null | undefined;
|
|
2587
|
-
ec_shortdesc?: string | undefined;
|
|
2588
|
-
ec_thumbnails?: string[] | undefined;
|
|
2589
|
-
permanentid: string;
|
|
2590
|
-
}[];
|
|
2591
2447
|
query: string;
|
|
2592
2448
|
}>;
|
|
2593
2449
|
export type QuerySuggestionsState = z.infer<typeof QuerySuggestionsStateSchema>;
|
|
@@ -4459,6 +4315,14 @@ export declare const BreadboxFacetSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
4459
4315
|
type: "hierarchical";
|
|
4460
4316
|
}>]>;
|
|
4461
4317
|
export type BreadboxFacet = z.infer<typeof BreadboxFacetSchema>;
|
|
4318
|
+
export declare const InitializeSchema: z.ZodObject<{
|
|
4319
|
+
payload: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
4320
|
+
}, "strict", z.ZodTypeAny, {
|
|
4321
|
+
payload: {};
|
|
4322
|
+
}, {
|
|
4323
|
+
payload: {};
|
|
4324
|
+
}>;
|
|
4325
|
+
export type Initialize = z.infer<typeof InitializeSchema>;
|
|
4462
4326
|
export declare const OverrideCorrectionSchema: z.ZodObject<{
|
|
4463
4327
|
payload: z.ZodObject<{
|
|
4464
4328
|
originalQuery: z.ZodString;
|
|
@@ -7249,6 +7113,24 @@ export declare const BreadboxStateSchema: z.ZodObject<{
|
|
|
7249
7113
|
})[];
|
|
7250
7114
|
}>;
|
|
7251
7115
|
export type BreadboxState = z.infer<typeof BreadboxStateSchema>;
|
|
7116
|
+
export declare const SessionShellActionsSchema: z.ZodObject<{
|
|
7117
|
+
initialize: z.ZodObject<{
|
|
7118
|
+
payload: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
7119
|
+
}, "strict", z.ZodTypeAny, {
|
|
7120
|
+
payload: {};
|
|
7121
|
+
}, {
|
|
7122
|
+
payload: {};
|
|
7123
|
+
}>;
|
|
7124
|
+
}, "strict", z.ZodTypeAny, {
|
|
7125
|
+
initialize: {
|
|
7126
|
+
payload: {};
|
|
7127
|
+
};
|
|
7128
|
+
}, {
|
|
7129
|
+
initialize: {
|
|
7130
|
+
payload: {};
|
|
7131
|
+
};
|
|
7132
|
+
}>;
|
|
7133
|
+
export type SessionShellActions = z.infer<typeof SessionShellActionsSchema>;
|
|
7252
7134
|
export declare const RestoreStatePayloadSchema: z.ZodObject<{
|
|
7253
7135
|
facets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7254
7136
|
facetId: z.ZodString;
|
|
@@ -7563,116 +7445,64 @@ export declare const QuerySuggestionsSchema: z.ZodObject<{
|
|
|
7563
7445
|
expression: string;
|
|
7564
7446
|
score?: number | undefined;
|
|
7565
7447
|
}>, "many">;
|
|
7566
|
-
|
|
7567
|
-
|
|
7568
|
-
|
|
7569
|
-
|
|
7570
|
-
|
|
7571
|
-
|
|
7572
|
-
|
|
7573
|
-
|
|
7574
|
-
|
|
7575
|
-
|
|
7576
|
-
|
|
7577
|
-
|
|
7578
|
-
|
|
7579
|
-
|
|
7580
|
-
|
|
7581
|
-
|
|
7582
|
-
|
|
7583
|
-
|
|
7584
|
-
|
|
7585
|
-
placementId: z.ZodString;
|
|
7448
|
+
query: z.ZodString;
|
|
7449
|
+
}, "strict", z.ZodTypeAny, {
|
|
7450
|
+
completions: {
|
|
7451
|
+
expression: string;
|
|
7452
|
+
score?: number | undefined;
|
|
7453
|
+
}[];
|
|
7454
|
+
query: string;
|
|
7455
|
+
}, {
|
|
7456
|
+
completions: {
|
|
7457
|
+
expression: string;
|
|
7458
|
+
score?: number | undefined;
|
|
7459
|
+
}[];
|
|
7460
|
+
query: string;
|
|
7461
|
+
}>>;
|
|
7462
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
7463
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
7464
|
+
fetchSuggestions: z.ZodObject<{
|
|
7465
|
+
payload: z.ZodObject<{
|
|
7466
|
+
query: z.ZodString;
|
|
7586
7467
|
}, "strict", z.ZodTypeAny, {
|
|
7587
|
-
|
|
7588
|
-
backgroundColor?: string | undefined;
|
|
7589
|
-
iconUrl?: string | undefined;
|
|
7590
|
-
text: string;
|
|
7591
|
-
textColor?: string | undefined;
|
|
7592
|
-
}[];
|
|
7593
|
-
placementId: string;
|
|
7468
|
+
query: string;
|
|
7594
7469
|
}, {
|
|
7595
|
-
|
|
7596
|
-
|
|
7597
|
-
iconUrl?: string | undefined;
|
|
7598
|
-
text: string;
|
|
7599
|
-
textColor?: string | undefined;
|
|
7600
|
-
}[];
|
|
7601
|
-
placementId: string;
|
|
7602
|
-
}>, "many">>;
|
|
7603
|
-
readonly children: z.ZodTypeAny;
|
|
7604
|
-
clickUri: z.ZodOptional<z.ZodString>;
|
|
7605
|
-
ec_brand: z.ZodOptional<z.ZodString>;
|
|
7606
|
-
ec_category: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7607
|
-
ec_color: z.ZodOptional<z.ZodString>;
|
|
7608
|
-
ec_description: z.ZodOptional<z.ZodString>;
|
|
7609
|
-
ec_images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7610
|
-
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
7611
|
-
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
7612
|
-
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
7613
|
-
ec_name: z.ZodString;
|
|
7614
|
-
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
7615
|
-
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
7616
|
-
ec_rating: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
7617
|
-
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
7618
|
-
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7619
|
-
permanentid: z.ZodString;
|
|
7470
|
+
query: string;
|
|
7471
|
+
}>;
|
|
7620
7472
|
}, "strict", z.ZodTypeAny, {
|
|
7621
|
-
|
|
7622
|
-
|
|
7623
|
-
|
|
7624
|
-
backgroundColor?: string | undefined;
|
|
7625
|
-
iconUrl?: string | undefined;
|
|
7626
|
-
text: string;
|
|
7627
|
-
textColor?: string | undefined;
|
|
7628
|
-
}[];
|
|
7629
|
-
placementId: string;
|
|
7630
|
-
}[] | undefined;
|
|
7631
|
-
children?: any;
|
|
7632
|
-
clickUri?: string | undefined;
|
|
7633
|
-
ec_brand?: string | undefined;
|
|
7634
|
-
ec_category?: string[] | undefined;
|
|
7635
|
-
ec_color?: string | undefined;
|
|
7636
|
-
ec_description?: string | undefined;
|
|
7637
|
-
ec_images?: string[] | undefined;
|
|
7638
|
-
ec_in_stock?: boolean | undefined;
|
|
7639
|
-
ec_item_group_id?: string | undefined;
|
|
7640
|
-
ec_item_group_name?: string | undefined;
|
|
7641
|
-
ec_name: string;
|
|
7642
|
-
ec_price?: number | undefined;
|
|
7643
|
-
ec_promo_price?: number | undefined;
|
|
7644
|
-
ec_rating?: number | null | undefined;
|
|
7645
|
-
ec_shortdesc?: string | undefined;
|
|
7646
|
-
ec_thumbnails?: string[] | undefined;
|
|
7647
|
-
permanentid: string;
|
|
7473
|
+
payload: {
|
|
7474
|
+
query: string;
|
|
7475
|
+
};
|
|
7648
7476
|
}, {
|
|
7649
|
-
|
|
7650
|
-
|
|
7651
|
-
|
|
7652
|
-
|
|
7653
|
-
|
|
7654
|
-
|
|
7655
|
-
|
|
7656
|
-
|
|
7657
|
-
|
|
7658
|
-
|
|
7659
|
-
|
|
7660
|
-
|
|
7661
|
-
|
|
7662
|
-
|
|
7663
|
-
|
|
7664
|
-
|
|
7665
|
-
|
|
7666
|
-
|
|
7667
|
-
|
|
7668
|
-
|
|
7669
|
-
|
|
7670
|
-
|
|
7671
|
-
|
|
7672
|
-
|
|
7673
|
-
|
|
7674
|
-
|
|
7675
|
-
|
|
7477
|
+
payload: {
|
|
7478
|
+
query: string;
|
|
7479
|
+
};
|
|
7480
|
+
}>;
|
|
7481
|
+
}, "strict", z.ZodTypeAny, {
|
|
7482
|
+
fetchSuggestions: {
|
|
7483
|
+
payload: {
|
|
7484
|
+
query: string;
|
|
7485
|
+
};
|
|
7486
|
+
};
|
|
7487
|
+
}, {
|
|
7488
|
+
fetchSuggestions: {
|
|
7489
|
+
payload: {
|
|
7490
|
+
query: string;
|
|
7491
|
+
};
|
|
7492
|
+
};
|
|
7493
|
+
}>>;
|
|
7494
|
+
component: z.ZodLiteral<"QuerySuggestions">;
|
|
7495
|
+
id: z.ZodString;
|
|
7496
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
7497
|
+
completions: z.ZodArray<z.ZodObject<{
|
|
7498
|
+
expression: z.ZodString;
|
|
7499
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
7500
|
+
}, "strict", z.ZodTypeAny, {
|
|
7501
|
+
expression: string;
|
|
7502
|
+
score?: number | undefined;
|
|
7503
|
+
}, {
|
|
7504
|
+
expression: string;
|
|
7505
|
+
score?: number | undefined;
|
|
7676
7506
|
}>, "many">;
|
|
7677
7507
|
query: z.ZodString;
|
|
7678
7508
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -7680,73 +7510,15 @@ export declare const QuerySuggestionsSchema: z.ZodObject<{
|
|
|
7680
7510
|
expression: string;
|
|
7681
7511
|
score?: number | undefined;
|
|
7682
7512
|
}[];
|
|
7683
|
-
products: {
|
|
7684
|
-
additionalFields: Record<string, unknown>;
|
|
7685
|
-
badgePlacements?: {
|
|
7686
|
-
badges: {
|
|
7687
|
-
backgroundColor?: string | undefined;
|
|
7688
|
-
iconUrl?: string | undefined;
|
|
7689
|
-
text: string;
|
|
7690
|
-
textColor?: string | undefined;
|
|
7691
|
-
}[];
|
|
7692
|
-
placementId: string;
|
|
7693
|
-
}[] | undefined;
|
|
7694
|
-
children?: any;
|
|
7695
|
-
clickUri?: string | undefined;
|
|
7696
|
-
ec_brand?: string | undefined;
|
|
7697
|
-
ec_category?: string[] | undefined;
|
|
7698
|
-
ec_color?: string | undefined;
|
|
7699
|
-
ec_description?: string | undefined;
|
|
7700
|
-
ec_images?: string[] | undefined;
|
|
7701
|
-
ec_in_stock?: boolean | undefined;
|
|
7702
|
-
ec_item_group_id?: string | undefined;
|
|
7703
|
-
ec_item_group_name?: string | undefined;
|
|
7704
|
-
ec_name: string;
|
|
7705
|
-
ec_price?: number | undefined;
|
|
7706
|
-
ec_promo_price?: number | undefined;
|
|
7707
|
-
ec_rating?: number | null | undefined;
|
|
7708
|
-
ec_shortdesc?: string | undefined;
|
|
7709
|
-
ec_thumbnails?: string[] | undefined;
|
|
7710
|
-
permanentid: string;
|
|
7711
|
-
}[];
|
|
7712
7513
|
query: string;
|
|
7713
7514
|
}, {
|
|
7714
7515
|
completions: {
|
|
7715
7516
|
expression: string;
|
|
7716
7517
|
score?: number | undefined;
|
|
7717
7518
|
}[];
|
|
7718
|
-
products: {
|
|
7719
|
-
additionalFields: Record<string, unknown>;
|
|
7720
|
-
badgePlacements?: {
|
|
7721
|
-
badges: {
|
|
7722
|
-
backgroundColor?: string | undefined;
|
|
7723
|
-
iconUrl?: string | undefined;
|
|
7724
|
-
text: string;
|
|
7725
|
-
textColor?: string | undefined;
|
|
7726
|
-
}[];
|
|
7727
|
-
placementId: string;
|
|
7728
|
-
}[] | undefined;
|
|
7729
|
-
children?: any;
|
|
7730
|
-
clickUri?: string | undefined;
|
|
7731
|
-
ec_brand?: string | undefined;
|
|
7732
|
-
ec_category?: string[] | undefined;
|
|
7733
|
-
ec_color?: string | undefined;
|
|
7734
|
-
ec_description?: string | undefined;
|
|
7735
|
-
ec_images?: string[] | undefined;
|
|
7736
|
-
ec_in_stock?: boolean | undefined;
|
|
7737
|
-
ec_item_group_id?: string | undefined;
|
|
7738
|
-
ec_item_group_name?: string | undefined;
|
|
7739
|
-
ec_name: string;
|
|
7740
|
-
ec_price?: number | undefined;
|
|
7741
|
-
ec_promo_price?: number | undefined;
|
|
7742
|
-
ec_rating?: number | null | undefined;
|
|
7743
|
-
ec_shortdesc?: string | undefined;
|
|
7744
|
-
ec_thumbnails?: string[] | undefined;
|
|
7745
|
-
permanentid: string;
|
|
7746
|
-
}[];
|
|
7747
7519
|
query: string;
|
|
7748
7520
|
}>>;
|
|
7749
|
-
},
|
|
7521
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
7750
7522
|
actions: z.ZodOptional<z.ZodObject<{
|
|
7751
7523
|
fetchSuggestions: z.ZodObject<{
|
|
7752
7524
|
payload: z.ZodObject<{
|
|
@@ -7791,432 +7563,35 @@ export declare const QuerySuggestionsSchema: z.ZodObject<{
|
|
|
7791
7563
|
expression: string;
|
|
7792
7564
|
score?: number | undefined;
|
|
7793
7565
|
}>, "many">;
|
|
7794
|
-
|
|
7795
|
-
|
|
7796
|
-
|
|
7797
|
-
|
|
7798
|
-
|
|
7799
|
-
|
|
7800
|
-
|
|
7801
|
-
|
|
7802
|
-
|
|
7803
|
-
|
|
7804
|
-
|
|
7805
|
-
|
|
7806
|
-
|
|
7807
|
-
|
|
7808
|
-
|
|
7809
|
-
|
|
7810
|
-
|
|
7811
|
-
|
|
7812
|
-
|
|
7813
|
-
|
|
7566
|
+
query: z.ZodString;
|
|
7567
|
+
}, "strict", z.ZodTypeAny, {
|
|
7568
|
+
completions: {
|
|
7569
|
+
expression: string;
|
|
7570
|
+
score?: number | undefined;
|
|
7571
|
+
}[];
|
|
7572
|
+
query: string;
|
|
7573
|
+
}, {
|
|
7574
|
+
completions: {
|
|
7575
|
+
expression: string;
|
|
7576
|
+
score?: number | undefined;
|
|
7577
|
+
}[];
|
|
7578
|
+
query: string;
|
|
7579
|
+
}>>;
|
|
7580
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
7581
|
+
export type QuerySuggestions = z.infer<typeof QuerySuggestionsSchema>;
|
|
7582
|
+
export declare const NextActionsBarSchema: z.ZodObject<{
|
|
7583
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
7584
|
+
selectAction: z.ZodObject<{
|
|
7585
|
+
payload: z.ZodObject<{
|
|
7586
|
+
text: z.ZodString;
|
|
7587
|
+
type: z.ZodEnum<["followup", "search"]>;
|
|
7814
7588
|
}, "strict", z.ZodTypeAny, {
|
|
7815
|
-
|
|
7816
|
-
|
|
7817
|
-
iconUrl?: string | undefined;
|
|
7818
|
-
text: string;
|
|
7819
|
-
textColor?: string | undefined;
|
|
7820
|
-
}[];
|
|
7821
|
-
placementId: string;
|
|
7589
|
+
text: string;
|
|
7590
|
+
type: "followup" | "search";
|
|
7822
7591
|
}, {
|
|
7823
|
-
|
|
7824
|
-
|
|
7825
|
-
|
|
7826
|
-
text: string;
|
|
7827
|
-
textColor?: string | undefined;
|
|
7828
|
-
}[];
|
|
7829
|
-
placementId: string;
|
|
7830
|
-
}>, "many">>;
|
|
7831
|
-
readonly children: z.ZodTypeAny;
|
|
7832
|
-
clickUri: z.ZodOptional<z.ZodString>;
|
|
7833
|
-
ec_brand: z.ZodOptional<z.ZodString>;
|
|
7834
|
-
ec_category: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7835
|
-
ec_color: z.ZodOptional<z.ZodString>;
|
|
7836
|
-
ec_description: z.ZodOptional<z.ZodString>;
|
|
7837
|
-
ec_images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7838
|
-
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
7839
|
-
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
7840
|
-
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
7841
|
-
ec_name: z.ZodString;
|
|
7842
|
-
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
7843
|
-
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
7844
|
-
ec_rating: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
7845
|
-
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
7846
|
-
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7847
|
-
permanentid: z.ZodString;
|
|
7848
|
-
}, "strict", z.ZodTypeAny, {
|
|
7849
|
-
additionalFields: Record<string, unknown>;
|
|
7850
|
-
badgePlacements?: {
|
|
7851
|
-
badges: {
|
|
7852
|
-
backgroundColor?: string | undefined;
|
|
7853
|
-
iconUrl?: string | undefined;
|
|
7854
|
-
text: string;
|
|
7855
|
-
textColor?: string | undefined;
|
|
7856
|
-
}[];
|
|
7857
|
-
placementId: string;
|
|
7858
|
-
}[] | undefined;
|
|
7859
|
-
children?: any;
|
|
7860
|
-
clickUri?: string | undefined;
|
|
7861
|
-
ec_brand?: string | undefined;
|
|
7862
|
-
ec_category?: string[] | undefined;
|
|
7863
|
-
ec_color?: string | undefined;
|
|
7864
|
-
ec_description?: string | undefined;
|
|
7865
|
-
ec_images?: string[] | undefined;
|
|
7866
|
-
ec_in_stock?: boolean | undefined;
|
|
7867
|
-
ec_item_group_id?: string | undefined;
|
|
7868
|
-
ec_item_group_name?: string | undefined;
|
|
7869
|
-
ec_name: string;
|
|
7870
|
-
ec_price?: number | undefined;
|
|
7871
|
-
ec_promo_price?: number | undefined;
|
|
7872
|
-
ec_rating?: number | null | undefined;
|
|
7873
|
-
ec_shortdesc?: string | undefined;
|
|
7874
|
-
ec_thumbnails?: string[] | undefined;
|
|
7875
|
-
permanentid: string;
|
|
7876
|
-
}, {
|
|
7877
|
-
additionalFields: Record<string, unknown>;
|
|
7878
|
-
badgePlacements?: {
|
|
7879
|
-
badges: {
|
|
7880
|
-
backgroundColor?: string | undefined;
|
|
7881
|
-
iconUrl?: string | undefined;
|
|
7882
|
-
text: string;
|
|
7883
|
-
textColor?: string | undefined;
|
|
7884
|
-
}[];
|
|
7885
|
-
placementId: string;
|
|
7886
|
-
}[] | undefined;
|
|
7887
|
-
children?: any;
|
|
7888
|
-
clickUri?: string | undefined;
|
|
7889
|
-
ec_brand?: string | undefined;
|
|
7890
|
-
ec_category?: string[] | undefined;
|
|
7891
|
-
ec_color?: string | undefined;
|
|
7892
|
-
ec_description?: string | undefined;
|
|
7893
|
-
ec_images?: string[] | undefined;
|
|
7894
|
-
ec_in_stock?: boolean | undefined;
|
|
7895
|
-
ec_item_group_id?: string | undefined;
|
|
7896
|
-
ec_item_group_name?: string | undefined;
|
|
7897
|
-
ec_name: string;
|
|
7898
|
-
ec_price?: number | undefined;
|
|
7899
|
-
ec_promo_price?: number | undefined;
|
|
7900
|
-
ec_rating?: number | null | undefined;
|
|
7901
|
-
ec_shortdesc?: string | undefined;
|
|
7902
|
-
ec_thumbnails?: string[] | undefined;
|
|
7903
|
-
permanentid: string;
|
|
7904
|
-
}>, "many">;
|
|
7905
|
-
query: z.ZodString;
|
|
7906
|
-
}, "strict", z.ZodTypeAny, {
|
|
7907
|
-
completions: {
|
|
7908
|
-
expression: string;
|
|
7909
|
-
score?: number | undefined;
|
|
7910
|
-
}[];
|
|
7911
|
-
products: {
|
|
7912
|
-
additionalFields: Record<string, unknown>;
|
|
7913
|
-
badgePlacements?: {
|
|
7914
|
-
badges: {
|
|
7915
|
-
backgroundColor?: string | undefined;
|
|
7916
|
-
iconUrl?: string | undefined;
|
|
7917
|
-
text: string;
|
|
7918
|
-
textColor?: string | undefined;
|
|
7919
|
-
}[];
|
|
7920
|
-
placementId: string;
|
|
7921
|
-
}[] | undefined;
|
|
7922
|
-
children?: any;
|
|
7923
|
-
clickUri?: string | undefined;
|
|
7924
|
-
ec_brand?: string | undefined;
|
|
7925
|
-
ec_category?: string[] | undefined;
|
|
7926
|
-
ec_color?: string | undefined;
|
|
7927
|
-
ec_description?: string | undefined;
|
|
7928
|
-
ec_images?: string[] | undefined;
|
|
7929
|
-
ec_in_stock?: boolean | undefined;
|
|
7930
|
-
ec_item_group_id?: string | undefined;
|
|
7931
|
-
ec_item_group_name?: string | undefined;
|
|
7932
|
-
ec_name: string;
|
|
7933
|
-
ec_price?: number | undefined;
|
|
7934
|
-
ec_promo_price?: number | undefined;
|
|
7935
|
-
ec_rating?: number | null | undefined;
|
|
7936
|
-
ec_shortdesc?: string | undefined;
|
|
7937
|
-
ec_thumbnails?: string[] | undefined;
|
|
7938
|
-
permanentid: string;
|
|
7939
|
-
}[];
|
|
7940
|
-
query: string;
|
|
7941
|
-
}, {
|
|
7942
|
-
completions: {
|
|
7943
|
-
expression: string;
|
|
7944
|
-
score?: number | undefined;
|
|
7945
|
-
}[];
|
|
7946
|
-
products: {
|
|
7947
|
-
additionalFields: Record<string, unknown>;
|
|
7948
|
-
badgePlacements?: {
|
|
7949
|
-
badges: {
|
|
7950
|
-
backgroundColor?: string | undefined;
|
|
7951
|
-
iconUrl?: string | undefined;
|
|
7952
|
-
text: string;
|
|
7953
|
-
textColor?: string | undefined;
|
|
7954
|
-
}[];
|
|
7955
|
-
placementId: string;
|
|
7956
|
-
}[] | undefined;
|
|
7957
|
-
children?: any;
|
|
7958
|
-
clickUri?: string | undefined;
|
|
7959
|
-
ec_brand?: string | undefined;
|
|
7960
|
-
ec_category?: string[] | undefined;
|
|
7961
|
-
ec_color?: string | undefined;
|
|
7962
|
-
ec_description?: string | undefined;
|
|
7963
|
-
ec_images?: string[] | undefined;
|
|
7964
|
-
ec_in_stock?: boolean | undefined;
|
|
7965
|
-
ec_item_group_id?: string | undefined;
|
|
7966
|
-
ec_item_group_name?: string | undefined;
|
|
7967
|
-
ec_name: string;
|
|
7968
|
-
ec_price?: number | undefined;
|
|
7969
|
-
ec_promo_price?: number | undefined;
|
|
7970
|
-
ec_rating?: number | null | undefined;
|
|
7971
|
-
ec_shortdesc?: string | undefined;
|
|
7972
|
-
ec_thumbnails?: string[] | undefined;
|
|
7973
|
-
permanentid: string;
|
|
7974
|
-
}[];
|
|
7975
|
-
query: string;
|
|
7976
|
-
}>>;
|
|
7977
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
7978
|
-
actions: z.ZodOptional<z.ZodObject<{
|
|
7979
|
-
fetchSuggestions: z.ZodObject<{
|
|
7980
|
-
payload: z.ZodObject<{
|
|
7981
|
-
query: z.ZodString;
|
|
7982
|
-
}, "strict", z.ZodTypeAny, {
|
|
7983
|
-
query: string;
|
|
7984
|
-
}, {
|
|
7985
|
-
query: string;
|
|
7986
|
-
}>;
|
|
7987
|
-
}, "strict", z.ZodTypeAny, {
|
|
7988
|
-
payload: {
|
|
7989
|
-
query: string;
|
|
7990
|
-
};
|
|
7991
|
-
}, {
|
|
7992
|
-
payload: {
|
|
7993
|
-
query: string;
|
|
7994
|
-
};
|
|
7995
|
-
}>;
|
|
7996
|
-
}, "strict", z.ZodTypeAny, {
|
|
7997
|
-
fetchSuggestions: {
|
|
7998
|
-
payload: {
|
|
7999
|
-
query: string;
|
|
8000
|
-
};
|
|
8001
|
-
};
|
|
8002
|
-
}, {
|
|
8003
|
-
fetchSuggestions: {
|
|
8004
|
-
payload: {
|
|
8005
|
-
query: string;
|
|
8006
|
-
};
|
|
8007
|
-
};
|
|
8008
|
-
}>>;
|
|
8009
|
-
component: z.ZodLiteral<"QuerySuggestions">;
|
|
8010
|
-
id: z.ZodString;
|
|
8011
|
-
state: z.ZodOptional<z.ZodObject<{
|
|
8012
|
-
completions: z.ZodArray<z.ZodObject<{
|
|
8013
|
-
expression: z.ZodString;
|
|
8014
|
-
score: z.ZodOptional<z.ZodNumber>;
|
|
8015
|
-
}, "strict", z.ZodTypeAny, {
|
|
8016
|
-
expression: string;
|
|
8017
|
-
score?: number | undefined;
|
|
8018
|
-
}, {
|
|
8019
|
-
expression: string;
|
|
8020
|
-
score?: number | undefined;
|
|
8021
|
-
}>, "many">;
|
|
8022
|
-
products: z.ZodArray<z.ZodObject<{
|
|
8023
|
-
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8024
|
-
readonly badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8025
|
-
badges: z.ZodArray<z.ZodObject<{
|
|
8026
|
-
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
8027
|
-
iconUrl: z.ZodOptional<z.ZodString>;
|
|
8028
|
-
text: z.ZodString;
|
|
8029
|
-
textColor: z.ZodOptional<z.ZodString>;
|
|
8030
|
-
}, "strict", z.ZodTypeAny, {
|
|
8031
|
-
backgroundColor?: string | undefined;
|
|
8032
|
-
iconUrl?: string | undefined;
|
|
8033
|
-
text: string;
|
|
8034
|
-
textColor?: string | undefined;
|
|
8035
|
-
}, {
|
|
8036
|
-
backgroundColor?: string | undefined;
|
|
8037
|
-
iconUrl?: string | undefined;
|
|
8038
|
-
text: string;
|
|
8039
|
-
textColor?: string | undefined;
|
|
8040
|
-
}>, "many">;
|
|
8041
|
-
placementId: z.ZodString;
|
|
8042
|
-
}, "strict", z.ZodTypeAny, {
|
|
8043
|
-
badges: {
|
|
8044
|
-
backgroundColor?: string | undefined;
|
|
8045
|
-
iconUrl?: string | undefined;
|
|
8046
|
-
text: string;
|
|
8047
|
-
textColor?: string | undefined;
|
|
8048
|
-
}[];
|
|
8049
|
-
placementId: string;
|
|
8050
|
-
}, {
|
|
8051
|
-
badges: {
|
|
8052
|
-
backgroundColor?: string | undefined;
|
|
8053
|
-
iconUrl?: string | undefined;
|
|
8054
|
-
text: string;
|
|
8055
|
-
textColor?: string | undefined;
|
|
8056
|
-
}[];
|
|
8057
|
-
placementId: string;
|
|
8058
|
-
}>, "many">>;
|
|
8059
|
-
readonly children: z.ZodTypeAny;
|
|
8060
|
-
clickUri: z.ZodOptional<z.ZodString>;
|
|
8061
|
-
ec_brand: z.ZodOptional<z.ZodString>;
|
|
8062
|
-
ec_category: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8063
|
-
ec_color: z.ZodOptional<z.ZodString>;
|
|
8064
|
-
ec_description: z.ZodOptional<z.ZodString>;
|
|
8065
|
-
ec_images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8066
|
-
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
8067
|
-
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
8068
|
-
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
8069
|
-
ec_name: z.ZodString;
|
|
8070
|
-
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
8071
|
-
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
8072
|
-
ec_rating: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
8073
|
-
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
8074
|
-
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8075
|
-
permanentid: z.ZodString;
|
|
8076
|
-
}, "strict", z.ZodTypeAny, {
|
|
8077
|
-
additionalFields: Record<string, unknown>;
|
|
8078
|
-
badgePlacements?: {
|
|
8079
|
-
badges: {
|
|
8080
|
-
backgroundColor?: string | undefined;
|
|
8081
|
-
iconUrl?: string | undefined;
|
|
8082
|
-
text: string;
|
|
8083
|
-
textColor?: string | undefined;
|
|
8084
|
-
}[];
|
|
8085
|
-
placementId: string;
|
|
8086
|
-
}[] | undefined;
|
|
8087
|
-
children?: any;
|
|
8088
|
-
clickUri?: string | undefined;
|
|
8089
|
-
ec_brand?: string | undefined;
|
|
8090
|
-
ec_category?: string[] | undefined;
|
|
8091
|
-
ec_color?: string | undefined;
|
|
8092
|
-
ec_description?: string | undefined;
|
|
8093
|
-
ec_images?: string[] | undefined;
|
|
8094
|
-
ec_in_stock?: boolean | undefined;
|
|
8095
|
-
ec_item_group_id?: string | undefined;
|
|
8096
|
-
ec_item_group_name?: string | undefined;
|
|
8097
|
-
ec_name: string;
|
|
8098
|
-
ec_price?: number | undefined;
|
|
8099
|
-
ec_promo_price?: number | undefined;
|
|
8100
|
-
ec_rating?: number | null | undefined;
|
|
8101
|
-
ec_shortdesc?: string | undefined;
|
|
8102
|
-
ec_thumbnails?: string[] | undefined;
|
|
8103
|
-
permanentid: string;
|
|
8104
|
-
}, {
|
|
8105
|
-
additionalFields: Record<string, unknown>;
|
|
8106
|
-
badgePlacements?: {
|
|
8107
|
-
badges: {
|
|
8108
|
-
backgroundColor?: string | undefined;
|
|
8109
|
-
iconUrl?: string | undefined;
|
|
8110
|
-
text: string;
|
|
8111
|
-
textColor?: string | undefined;
|
|
8112
|
-
}[];
|
|
8113
|
-
placementId: string;
|
|
8114
|
-
}[] | undefined;
|
|
8115
|
-
children?: any;
|
|
8116
|
-
clickUri?: string | undefined;
|
|
8117
|
-
ec_brand?: string | undefined;
|
|
8118
|
-
ec_category?: string[] | undefined;
|
|
8119
|
-
ec_color?: string | undefined;
|
|
8120
|
-
ec_description?: string | undefined;
|
|
8121
|
-
ec_images?: string[] | undefined;
|
|
8122
|
-
ec_in_stock?: boolean | undefined;
|
|
8123
|
-
ec_item_group_id?: string | undefined;
|
|
8124
|
-
ec_item_group_name?: string | undefined;
|
|
8125
|
-
ec_name: string;
|
|
8126
|
-
ec_price?: number | undefined;
|
|
8127
|
-
ec_promo_price?: number | undefined;
|
|
8128
|
-
ec_rating?: number | null | undefined;
|
|
8129
|
-
ec_shortdesc?: string | undefined;
|
|
8130
|
-
ec_thumbnails?: string[] | undefined;
|
|
8131
|
-
permanentid: string;
|
|
8132
|
-
}>, "many">;
|
|
8133
|
-
query: z.ZodString;
|
|
8134
|
-
}, "strict", z.ZodTypeAny, {
|
|
8135
|
-
completions: {
|
|
8136
|
-
expression: string;
|
|
8137
|
-
score?: number | undefined;
|
|
8138
|
-
}[];
|
|
8139
|
-
products: {
|
|
8140
|
-
additionalFields: Record<string, unknown>;
|
|
8141
|
-
badgePlacements?: {
|
|
8142
|
-
badges: {
|
|
8143
|
-
backgroundColor?: string | undefined;
|
|
8144
|
-
iconUrl?: string | undefined;
|
|
8145
|
-
text: string;
|
|
8146
|
-
textColor?: string | undefined;
|
|
8147
|
-
}[];
|
|
8148
|
-
placementId: string;
|
|
8149
|
-
}[] | undefined;
|
|
8150
|
-
children?: any;
|
|
8151
|
-
clickUri?: string | undefined;
|
|
8152
|
-
ec_brand?: string | undefined;
|
|
8153
|
-
ec_category?: string[] | undefined;
|
|
8154
|
-
ec_color?: string | undefined;
|
|
8155
|
-
ec_description?: string | undefined;
|
|
8156
|
-
ec_images?: string[] | undefined;
|
|
8157
|
-
ec_in_stock?: boolean | undefined;
|
|
8158
|
-
ec_item_group_id?: string | undefined;
|
|
8159
|
-
ec_item_group_name?: string | undefined;
|
|
8160
|
-
ec_name: string;
|
|
8161
|
-
ec_price?: number | undefined;
|
|
8162
|
-
ec_promo_price?: number | undefined;
|
|
8163
|
-
ec_rating?: number | null | undefined;
|
|
8164
|
-
ec_shortdesc?: string | undefined;
|
|
8165
|
-
ec_thumbnails?: string[] | undefined;
|
|
8166
|
-
permanentid: string;
|
|
8167
|
-
}[];
|
|
8168
|
-
query: string;
|
|
8169
|
-
}, {
|
|
8170
|
-
completions: {
|
|
8171
|
-
expression: string;
|
|
8172
|
-
score?: number | undefined;
|
|
8173
|
-
}[];
|
|
8174
|
-
products: {
|
|
8175
|
-
additionalFields: Record<string, unknown>;
|
|
8176
|
-
badgePlacements?: {
|
|
8177
|
-
badges: {
|
|
8178
|
-
backgroundColor?: string | undefined;
|
|
8179
|
-
iconUrl?: string | undefined;
|
|
8180
|
-
text: string;
|
|
8181
|
-
textColor?: string | undefined;
|
|
8182
|
-
}[];
|
|
8183
|
-
placementId: string;
|
|
8184
|
-
}[] | undefined;
|
|
8185
|
-
children?: any;
|
|
8186
|
-
clickUri?: string | undefined;
|
|
8187
|
-
ec_brand?: string | undefined;
|
|
8188
|
-
ec_category?: string[] | undefined;
|
|
8189
|
-
ec_color?: string | undefined;
|
|
8190
|
-
ec_description?: string | undefined;
|
|
8191
|
-
ec_images?: string[] | undefined;
|
|
8192
|
-
ec_in_stock?: boolean | undefined;
|
|
8193
|
-
ec_item_group_id?: string | undefined;
|
|
8194
|
-
ec_item_group_name?: string | undefined;
|
|
8195
|
-
ec_name: string;
|
|
8196
|
-
ec_price?: number | undefined;
|
|
8197
|
-
ec_promo_price?: number | undefined;
|
|
8198
|
-
ec_rating?: number | null | undefined;
|
|
8199
|
-
ec_shortdesc?: string | undefined;
|
|
8200
|
-
ec_thumbnails?: string[] | undefined;
|
|
8201
|
-
permanentid: string;
|
|
8202
|
-
}[];
|
|
8203
|
-
query: string;
|
|
8204
|
-
}>>;
|
|
8205
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
8206
|
-
export type QuerySuggestions = z.infer<typeof QuerySuggestionsSchema>;
|
|
8207
|
-
export declare const NextActionsBarSchema: z.ZodObject<{
|
|
8208
|
-
actions: z.ZodOptional<z.ZodObject<{
|
|
8209
|
-
selectAction: z.ZodObject<{
|
|
8210
|
-
payload: z.ZodObject<{
|
|
8211
|
-
text: z.ZodString;
|
|
8212
|
-
type: z.ZodEnum<["followup", "search"]>;
|
|
8213
|
-
}, "strict", z.ZodTypeAny, {
|
|
8214
|
-
text: string;
|
|
8215
|
-
type: "followup" | "search";
|
|
8216
|
-
}, {
|
|
8217
|
-
text: string;
|
|
8218
|
-
type: "followup" | "search";
|
|
8219
|
-
}>;
|
|
7592
|
+
text: string;
|
|
7593
|
+
type: "followup" | "search";
|
|
7594
|
+
}>;
|
|
8220
7595
|
}, "strict", z.ZodTypeAny, {
|
|
8221
7596
|
payload: {
|
|
8222
7597
|
text: string;
|
|
@@ -14245,6 +13620,71 @@ export declare const BreadboxSchema: z.ZodObject<{
|
|
|
14245
13620
|
}>>;
|
|
14246
13621
|
}, z.ZodTypeAny, "passthrough">>;
|
|
14247
13622
|
export type Breadbox = z.infer<typeof BreadboxSchema>;
|
|
13623
|
+
export declare const SessionShellSchema: z.ZodObject<{
|
|
13624
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
13625
|
+
initialize: z.ZodObject<{
|
|
13626
|
+
payload: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
13627
|
+
}, "strict", z.ZodTypeAny, {
|
|
13628
|
+
payload: {};
|
|
13629
|
+
}, {
|
|
13630
|
+
payload: {};
|
|
13631
|
+
}>;
|
|
13632
|
+
}, "strict", z.ZodTypeAny, {
|
|
13633
|
+
initialize: {
|
|
13634
|
+
payload: {};
|
|
13635
|
+
};
|
|
13636
|
+
}, {
|
|
13637
|
+
initialize: {
|
|
13638
|
+
payload: {};
|
|
13639
|
+
};
|
|
13640
|
+
}>>;
|
|
13641
|
+
component: z.ZodLiteral<"SessionShell">;
|
|
13642
|
+
id: z.ZodString;
|
|
13643
|
+
state: z.ZodOptional<z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>;
|
|
13644
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
13645
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
13646
|
+
initialize: z.ZodObject<{
|
|
13647
|
+
payload: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
13648
|
+
}, "strict", z.ZodTypeAny, {
|
|
13649
|
+
payload: {};
|
|
13650
|
+
}, {
|
|
13651
|
+
payload: {};
|
|
13652
|
+
}>;
|
|
13653
|
+
}, "strict", z.ZodTypeAny, {
|
|
13654
|
+
initialize: {
|
|
13655
|
+
payload: {};
|
|
13656
|
+
};
|
|
13657
|
+
}, {
|
|
13658
|
+
initialize: {
|
|
13659
|
+
payload: {};
|
|
13660
|
+
};
|
|
13661
|
+
}>>;
|
|
13662
|
+
component: z.ZodLiteral<"SessionShell">;
|
|
13663
|
+
id: z.ZodString;
|
|
13664
|
+
state: z.ZodOptional<z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>;
|
|
13665
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
13666
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
13667
|
+
initialize: z.ZodObject<{
|
|
13668
|
+
payload: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
13669
|
+
}, "strict", z.ZodTypeAny, {
|
|
13670
|
+
payload: {};
|
|
13671
|
+
}, {
|
|
13672
|
+
payload: {};
|
|
13673
|
+
}>;
|
|
13674
|
+
}, "strict", z.ZodTypeAny, {
|
|
13675
|
+
initialize: {
|
|
13676
|
+
payload: {};
|
|
13677
|
+
};
|
|
13678
|
+
}, {
|
|
13679
|
+
initialize: {
|
|
13680
|
+
payload: {};
|
|
13681
|
+
};
|
|
13682
|
+
}>>;
|
|
13683
|
+
component: z.ZodLiteral<"SessionShell">;
|
|
13684
|
+
id: z.ZodString;
|
|
13685
|
+
state: z.ZodOptional<z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>;
|
|
13686
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
13687
|
+
export type SessionShell = z.infer<typeof SessionShellSchema>;
|
|
14248
13688
|
export declare const RestoreStateSchema: z.ZodObject<{
|
|
14249
13689
|
payload: z.ZodObject<{
|
|
14250
13690
|
facets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -16848,6 +16288,21 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
16848
16288
|
component: z.ZodLiteral<"Cart">;
|
|
16849
16289
|
id: z.ZodString;
|
|
16850
16290
|
state: z.ZodOptional<z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>;
|
|
16291
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
16292
|
+
actions: z.ZodOptional<z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>;
|
|
16293
|
+
component: z.ZodLiteral<"SearchBox">;
|
|
16294
|
+
id: z.ZodString;
|
|
16295
|
+
state: z.ZodOptional<z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>;
|
|
16296
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
16297
|
+
actions: z.ZodOptional<z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>;
|
|
16298
|
+
component: z.ZodLiteral<"SearchBox">;
|
|
16299
|
+
id: z.ZodString;
|
|
16300
|
+
state: z.ZodOptional<z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>;
|
|
16301
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
16302
|
+
actions: z.ZodOptional<z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>;
|
|
16303
|
+
component: z.ZodLiteral<"SearchBox">;
|
|
16304
|
+
id: z.ZodString;
|
|
16305
|
+
state: z.ZodOptional<z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>;
|
|
16851
16306
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
16852
16307
|
actions: z.ZodOptional<z.ZodObject<{
|
|
16853
16308
|
fetchSuggestions: z.ZodObject<{
|
|
@@ -16864,145 +16319,34 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
16864
16319
|
};
|
|
16865
16320
|
}, {
|
|
16866
16321
|
payload: {
|
|
16867
|
-
query: string;
|
|
16868
|
-
};
|
|
16869
|
-
}>;
|
|
16870
|
-
}, "strict", z.ZodTypeAny, {
|
|
16871
|
-
fetchSuggestions: {
|
|
16872
|
-
payload: {
|
|
16873
|
-
query: string;
|
|
16874
|
-
};
|
|
16875
|
-
};
|
|
16876
|
-
}, {
|
|
16877
|
-
fetchSuggestions: {
|
|
16878
|
-
payload: {
|
|
16879
|
-
query: string;
|
|
16880
|
-
};
|
|
16881
|
-
};
|
|
16882
|
-
}>>;
|
|
16883
|
-
component: z.ZodLiteral<"QuerySuggestions">;
|
|
16884
|
-
id: z.ZodString;
|
|
16885
|
-
state: z.ZodOptional<z.ZodObject<{
|
|
16886
|
-
completions: z.ZodArray<z.ZodObject<{
|
|
16887
|
-
expression: z.ZodString;
|
|
16888
|
-
score: z.ZodOptional<z.ZodNumber>;
|
|
16889
|
-
}, "strict", z.ZodTypeAny, {
|
|
16890
|
-
expression: string;
|
|
16891
|
-
score?: number | undefined;
|
|
16892
|
-
}, {
|
|
16893
|
-
expression: string;
|
|
16894
|
-
score?: number | undefined;
|
|
16895
|
-
}>, "many">;
|
|
16896
|
-
products: z.ZodArray<z.ZodObject<{
|
|
16897
|
-
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
16898
|
-
readonly badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16899
|
-
badges: z.ZodArray<z.ZodObject<{
|
|
16900
|
-
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
16901
|
-
iconUrl: z.ZodOptional<z.ZodString>;
|
|
16902
|
-
text: z.ZodString;
|
|
16903
|
-
textColor: z.ZodOptional<z.ZodString>;
|
|
16904
|
-
}, "strict", z.ZodTypeAny, {
|
|
16905
|
-
backgroundColor?: string | undefined;
|
|
16906
|
-
iconUrl?: string | undefined;
|
|
16907
|
-
text: string;
|
|
16908
|
-
textColor?: string | undefined;
|
|
16909
|
-
}, {
|
|
16910
|
-
backgroundColor?: string | undefined;
|
|
16911
|
-
iconUrl?: string | undefined;
|
|
16912
|
-
text: string;
|
|
16913
|
-
textColor?: string | undefined;
|
|
16914
|
-
}>, "many">;
|
|
16915
|
-
placementId: z.ZodString;
|
|
16916
|
-
}, "strict", z.ZodTypeAny, {
|
|
16917
|
-
badges: {
|
|
16918
|
-
backgroundColor?: string | undefined;
|
|
16919
|
-
iconUrl?: string | undefined;
|
|
16920
|
-
text: string;
|
|
16921
|
-
textColor?: string | undefined;
|
|
16922
|
-
}[];
|
|
16923
|
-
placementId: string;
|
|
16924
|
-
}, {
|
|
16925
|
-
badges: {
|
|
16926
|
-
backgroundColor?: string | undefined;
|
|
16927
|
-
iconUrl?: string | undefined;
|
|
16928
|
-
text: string;
|
|
16929
|
-
textColor?: string | undefined;
|
|
16930
|
-
}[];
|
|
16931
|
-
placementId: string;
|
|
16932
|
-
}>, "many">>;
|
|
16933
|
-
readonly children: z.ZodTypeAny;
|
|
16934
|
-
clickUri: z.ZodOptional<z.ZodString>;
|
|
16935
|
-
ec_brand: z.ZodOptional<z.ZodString>;
|
|
16936
|
-
ec_category: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
16937
|
-
ec_color: z.ZodOptional<z.ZodString>;
|
|
16938
|
-
ec_description: z.ZodOptional<z.ZodString>;
|
|
16939
|
-
ec_images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
16940
|
-
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
16941
|
-
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
16942
|
-
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
16943
|
-
ec_name: z.ZodString;
|
|
16944
|
-
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
16945
|
-
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
16946
|
-
ec_rating: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
16947
|
-
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
16948
|
-
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
16949
|
-
permanentid: z.ZodString;
|
|
16322
|
+
query: string;
|
|
16323
|
+
};
|
|
16324
|
+
}>;
|
|
16325
|
+
}, "strict", z.ZodTypeAny, {
|
|
16326
|
+
fetchSuggestions: {
|
|
16327
|
+
payload: {
|
|
16328
|
+
query: string;
|
|
16329
|
+
};
|
|
16330
|
+
};
|
|
16331
|
+
}, {
|
|
16332
|
+
fetchSuggestions: {
|
|
16333
|
+
payload: {
|
|
16334
|
+
query: string;
|
|
16335
|
+
};
|
|
16336
|
+
};
|
|
16337
|
+
}>>;
|
|
16338
|
+
component: z.ZodLiteral<"QuerySuggestions">;
|
|
16339
|
+
id: z.ZodString;
|
|
16340
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
16341
|
+
completions: z.ZodArray<z.ZodObject<{
|
|
16342
|
+
expression: z.ZodString;
|
|
16343
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
16950
16344
|
}, "strict", z.ZodTypeAny, {
|
|
16951
|
-
|
|
16952
|
-
|
|
16953
|
-
badges: {
|
|
16954
|
-
backgroundColor?: string | undefined;
|
|
16955
|
-
iconUrl?: string | undefined;
|
|
16956
|
-
text: string;
|
|
16957
|
-
textColor?: string | undefined;
|
|
16958
|
-
}[];
|
|
16959
|
-
placementId: string;
|
|
16960
|
-
}[] | undefined;
|
|
16961
|
-
children?: any;
|
|
16962
|
-
clickUri?: string | undefined;
|
|
16963
|
-
ec_brand?: string | undefined;
|
|
16964
|
-
ec_category?: string[] | undefined;
|
|
16965
|
-
ec_color?: string | undefined;
|
|
16966
|
-
ec_description?: string | undefined;
|
|
16967
|
-
ec_images?: string[] | undefined;
|
|
16968
|
-
ec_in_stock?: boolean | undefined;
|
|
16969
|
-
ec_item_group_id?: string | undefined;
|
|
16970
|
-
ec_item_group_name?: string | undefined;
|
|
16971
|
-
ec_name: string;
|
|
16972
|
-
ec_price?: number | undefined;
|
|
16973
|
-
ec_promo_price?: number | undefined;
|
|
16974
|
-
ec_rating?: number | null | undefined;
|
|
16975
|
-
ec_shortdesc?: string | undefined;
|
|
16976
|
-
ec_thumbnails?: string[] | undefined;
|
|
16977
|
-
permanentid: string;
|
|
16345
|
+
expression: string;
|
|
16346
|
+
score?: number | undefined;
|
|
16978
16347
|
}, {
|
|
16979
|
-
|
|
16980
|
-
|
|
16981
|
-
badges: {
|
|
16982
|
-
backgroundColor?: string | undefined;
|
|
16983
|
-
iconUrl?: string | undefined;
|
|
16984
|
-
text: string;
|
|
16985
|
-
textColor?: string | undefined;
|
|
16986
|
-
}[];
|
|
16987
|
-
placementId: string;
|
|
16988
|
-
}[] | undefined;
|
|
16989
|
-
children?: any;
|
|
16990
|
-
clickUri?: string | undefined;
|
|
16991
|
-
ec_brand?: string | undefined;
|
|
16992
|
-
ec_category?: string[] | undefined;
|
|
16993
|
-
ec_color?: string | undefined;
|
|
16994
|
-
ec_description?: string | undefined;
|
|
16995
|
-
ec_images?: string[] | undefined;
|
|
16996
|
-
ec_in_stock?: boolean | undefined;
|
|
16997
|
-
ec_item_group_id?: string | undefined;
|
|
16998
|
-
ec_item_group_name?: string | undefined;
|
|
16999
|
-
ec_name: string;
|
|
17000
|
-
ec_price?: number | undefined;
|
|
17001
|
-
ec_promo_price?: number | undefined;
|
|
17002
|
-
ec_rating?: number | null | undefined;
|
|
17003
|
-
ec_shortdesc?: string | undefined;
|
|
17004
|
-
ec_thumbnails?: string[] | undefined;
|
|
17005
|
-
permanentid: string;
|
|
16348
|
+
expression: string;
|
|
16349
|
+
score?: number | undefined;
|
|
17006
16350
|
}>, "many">;
|
|
17007
16351
|
query: z.ZodString;
|
|
17008
16352
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -17010,70 +16354,12 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
17010
16354
|
expression: string;
|
|
17011
16355
|
score?: number | undefined;
|
|
17012
16356
|
}[];
|
|
17013
|
-
products: {
|
|
17014
|
-
additionalFields: Record<string, unknown>;
|
|
17015
|
-
badgePlacements?: {
|
|
17016
|
-
badges: {
|
|
17017
|
-
backgroundColor?: string | undefined;
|
|
17018
|
-
iconUrl?: string | undefined;
|
|
17019
|
-
text: string;
|
|
17020
|
-
textColor?: string | undefined;
|
|
17021
|
-
}[];
|
|
17022
|
-
placementId: string;
|
|
17023
|
-
}[] | undefined;
|
|
17024
|
-
children?: any;
|
|
17025
|
-
clickUri?: string | undefined;
|
|
17026
|
-
ec_brand?: string | undefined;
|
|
17027
|
-
ec_category?: string[] | undefined;
|
|
17028
|
-
ec_color?: string | undefined;
|
|
17029
|
-
ec_description?: string | undefined;
|
|
17030
|
-
ec_images?: string[] | undefined;
|
|
17031
|
-
ec_in_stock?: boolean | undefined;
|
|
17032
|
-
ec_item_group_id?: string | undefined;
|
|
17033
|
-
ec_item_group_name?: string | undefined;
|
|
17034
|
-
ec_name: string;
|
|
17035
|
-
ec_price?: number | undefined;
|
|
17036
|
-
ec_promo_price?: number | undefined;
|
|
17037
|
-
ec_rating?: number | null | undefined;
|
|
17038
|
-
ec_shortdesc?: string | undefined;
|
|
17039
|
-
ec_thumbnails?: string[] | undefined;
|
|
17040
|
-
permanentid: string;
|
|
17041
|
-
}[];
|
|
17042
16357
|
query: string;
|
|
17043
16358
|
}, {
|
|
17044
16359
|
completions: {
|
|
17045
16360
|
expression: string;
|
|
17046
16361
|
score?: number | undefined;
|
|
17047
16362
|
}[];
|
|
17048
|
-
products: {
|
|
17049
|
-
additionalFields: Record<string, unknown>;
|
|
17050
|
-
badgePlacements?: {
|
|
17051
|
-
badges: {
|
|
17052
|
-
backgroundColor?: string | undefined;
|
|
17053
|
-
iconUrl?: string | undefined;
|
|
17054
|
-
text: string;
|
|
17055
|
-
textColor?: string | undefined;
|
|
17056
|
-
}[];
|
|
17057
|
-
placementId: string;
|
|
17058
|
-
}[] | undefined;
|
|
17059
|
-
children?: any;
|
|
17060
|
-
clickUri?: string | undefined;
|
|
17061
|
-
ec_brand?: string | undefined;
|
|
17062
|
-
ec_category?: string[] | undefined;
|
|
17063
|
-
ec_color?: string | undefined;
|
|
17064
|
-
ec_description?: string | undefined;
|
|
17065
|
-
ec_images?: string[] | undefined;
|
|
17066
|
-
ec_in_stock?: boolean | undefined;
|
|
17067
|
-
ec_item_group_id?: string | undefined;
|
|
17068
|
-
ec_item_group_name?: string | undefined;
|
|
17069
|
-
ec_name: string;
|
|
17070
|
-
ec_price?: number | undefined;
|
|
17071
|
-
ec_promo_price?: number | undefined;
|
|
17072
|
-
ec_rating?: number | null | undefined;
|
|
17073
|
-
ec_shortdesc?: string | undefined;
|
|
17074
|
-
ec_thumbnails?: string[] | undefined;
|
|
17075
|
-
permanentid: string;
|
|
17076
|
-
}[];
|
|
17077
16363
|
query: string;
|
|
17078
16364
|
}>>;
|
|
17079
16365
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -17113,124 +16399,13 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
17113
16399
|
state: z.ZodOptional<z.ZodObject<{
|
|
17114
16400
|
completions: z.ZodArray<z.ZodObject<{
|
|
17115
16401
|
expression: z.ZodString;
|
|
17116
|
-
score: z.ZodOptional<z.ZodNumber>;
|
|
17117
|
-
}, "strict", z.ZodTypeAny, {
|
|
17118
|
-
expression: string;
|
|
17119
|
-
score?: number | undefined;
|
|
17120
|
-
}, {
|
|
17121
|
-
expression: string;
|
|
17122
|
-
score?: number | undefined;
|
|
17123
|
-
}>, "many">;
|
|
17124
|
-
products: z.ZodArray<z.ZodObject<{
|
|
17125
|
-
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
17126
|
-
readonly badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17127
|
-
badges: z.ZodArray<z.ZodObject<{
|
|
17128
|
-
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
17129
|
-
iconUrl: z.ZodOptional<z.ZodString>;
|
|
17130
|
-
text: z.ZodString;
|
|
17131
|
-
textColor: z.ZodOptional<z.ZodString>;
|
|
17132
|
-
}, "strict", z.ZodTypeAny, {
|
|
17133
|
-
backgroundColor?: string | undefined;
|
|
17134
|
-
iconUrl?: string | undefined;
|
|
17135
|
-
text: string;
|
|
17136
|
-
textColor?: string | undefined;
|
|
17137
|
-
}, {
|
|
17138
|
-
backgroundColor?: string | undefined;
|
|
17139
|
-
iconUrl?: string | undefined;
|
|
17140
|
-
text: string;
|
|
17141
|
-
textColor?: string | undefined;
|
|
17142
|
-
}>, "many">;
|
|
17143
|
-
placementId: z.ZodString;
|
|
17144
|
-
}, "strict", z.ZodTypeAny, {
|
|
17145
|
-
badges: {
|
|
17146
|
-
backgroundColor?: string | undefined;
|
|
17147
|
-
iconUrl?: string | undefined;
|
|
17148
|
-
text: string;
|
|
17149
|
-
textColor?: string | undefined;
|
|
17150
|
-
}[];
|
|
17151
|
-
placementId: string;
|
|
17152
|
-
}, {
|
|
17153
|
-
badges: {
|
|
17154
|
-
backgroundColor?: string | undefined;
|
|
17155
|
-
iconUrl?: string | undefined;
|
|
17156
|
-
text: string;
|
|
17157
|
-
textColor?: string | undefined;
|
|
17158
|
-
}[];
|
|
17159
|
-
placementId: string;
|
|
17160
|
-
}>, "many">>;
|
|
17161
|
-
readonly children: z.ZodTypeAny;
|
|
17162
|
-
clickUri: z.ZodOptional<z.ZodString>;
|
|
17163
|
-
ec_brand: z.ZodOptional<z.ZodString>;
|
|
17164
|
-
ec_category: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17165
|
-
ec_color: z.ZodOptional<z.ZodString>;
|
|
17166
|
-
ec_description: z.ZodOptional<z.ZodString>;
|
|
17167
|
-
ec_images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17168
|
-
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
17169
|
-
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
17170
|
-
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
17171
|
-
ec_name: z.ZodString;
|
|
17172
|
-
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
17173
|
-
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
17174
|
-
ec_rating: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
17175
|
-
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
17176
|
-
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17177
|
-
permanentid: z.ZodString;
|
|
17178
|
-
}, "strict", z.ZodTypeAny, {
|
|
17179
|
-
additionalFields: Record<string, unknown>;
|
|
17180
|
-
badgePlacements?: {
|
|
17181
|
-
badges: {
|
|
17182
|
-
backgroundColor?: string | undefined;
|
|
17183
|
-
iconUrl?: string | undefined;
|
|
17184
|
-
text: string;
|
|
17185
|
-
textColor?: string | undefined;
|
|
17186
|
-
}[];
|
|
17187
|
-
placementId: string;
|
|
17188
|
-
}[] | undefined;
|
|
17189
|
-
children?: any;
|
|
17190
|
-
clickUri?: string | undefined;
|
|
17191
|
-
ec_brand?: string | undefined;
|
|
17192
|
-
ec_category?: string[] | undefined;
|
|
17193
|
-
ec_color?: string | undefined;
|
|
17194
|
-
ec_description?: string | undefined;
|
|
17195
|
-
ec_images?: string[] | undefined;
|
|
17196
|
-
ec_in_stock?: boolean | undefined;
|
|
17197
|
-
ec_item_group_id?: string | undefined;
|
|
17198
|
-
ec_item_group_name?: string | undefined;
|
|
17199
|
-
ec_name: string;
|
|
17200
|
-
ec_price?: number | undefined;
|
|
17201
|
-
ec_promo_price?: number | undefined;
|
|
17202
|
-
ec_rating?: number | null | undefined;
|
|
17203
|
-
ec_shortdesc?: string | undefined;
|
|
17204
|
-
ec_thumbnails?: string[] | undefined;
|
|
17205
|
-
permanentid: string;
|
|
17206
|
-
}, {
|
|
17207
|
-
additionalFields: Record<string, unknown>;
|
|
17208
|
-
badgePlacements?: {
|
|
17209
|
-
badges: {
|
|
17210
|
-
backgroundColor?: string | undefined;
|
|
17211
|
-
iconUrl?: string | undefined;
|
|
17212
|
-
text: string;
|
|
17213
|
-
textColor?: string | undefined;
|
|
17214
|
-
}[];
|
|
17215
|
-
placementId: string;
|
|
17216
|
-
}[] | undefined;
|
|
17217
|
-
children?: any;
|
|
17218
|
-
clickUri?: string | undefined;
|
|
17219
|
-
ec_brand?: string | undefined;
|
|
17220
|
-
ec_category?: string[] | undefined;
|
|
17221
|
-
ec_color?: string | undefined;
|
|
17222
|
-
ec_description?: string | undefined;
|
|
17223
|
-
ec_images?: string[] | undefined;
|
|
17224
|
-
ec_in_stock?: boolean | undefined;
|
|
17225
|
-
ec_item_group_id?: string | undefined;
|
|
17226
|
-
ec_item_group_name?: string | undefined;
|
|
17227
|
-
ec_name: string;
|
|
17228
|
-
ec_price?: number | undefined;
|
|
17229
|
-
ec_promo_price?: number | undefined;
|
|
17230
|
-
ec_rating?: number | null | undefined;
|
|
17231
|
-
ec_shortdesc?: string | undefined;
|
|
17232
|
-
ec_thumbnails?: string[] | undefined;
|
|
17233
|
-
permanentid: string;
|
|
16402
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
16403
|
+
}, "strict", z.ZodTypeAny, {
|
|
16404
|
+
expression: string;
|
|
16405
|
+
score?: number | undefined;
|
|
16406
|
+
}, {
|
|
16407
|
+
expression: string;
|
|
16408
|
+
score?: number | undefined;
|
|
17234
16409
|
}>, "many">;
|
|
17235
16410
|
query: z.ZodString;
|
|
17236
16411
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -17238,70 +16413,12 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
17238
16413
|
expression: string;
|
|
17239
16414
|
score?: number | undefined;
|
|
17240
16415
|
}[];
|
|
17241
|
-
products: {
|
|
17242
|
-
additionalFields: Record<string, unknown>;
|
|
17243
|
-
badgePlacements?: {
|
|
17244
|
-
badges: {
|
|
17245
|
-
backgroundColor?: string | undefined;
|
|
17246
|
-
iconUrl?: string | undefined;
|
|
17247
|
-
text: string;
|
|
17248
|
-
textColor?: string | undefined;
|
|
17249
|
-
}[];
|
|
17250
|
-
placementId: string;
|
|
17251
|
-
}[] | undefined;
|
|
17252
|
-
children?: any;
|
|
17253
|
-
clickUri?: string | undefined;
|
|
17254
|
-
ec_brand?: string | undefined;
|
|
17255
|
-
ec_category?: string[] | undefined;
|
|
17256
|
-
ec_color?: string | undefined;
|
|
17257
|
-
ec_description?: string | undefined;
|
|
17258
|
-
ec_images?: string[] | undefined;
|
|
17259
|
-
ec_in_stock?: boolean | undefined;
|
|
17260
|
-
ec_item_group_id?: string | undefined;
|
|
17261
|
-
ec_item_group_name?: string | undefined;
|
|
17262
|
-
ec_name: string;
|
|
17263
|
-
ec_price?: number | undefined;
|
|
17264
|
-
ec_promo_price?: number | undefined;
|
|
17265
|
-
ec_rating?: number | null | undefined;
|
|
17266
|
-
ec_shortdesc?: string | undefined;
|
|
17267
|
-
ec_thumbnails?: string[] | undefined;
|
|
17268
|
-
permanentid: string;
|
|
17269
|
-
}[];
|
|
17270
16416
|
query: string;
|
|
17271
16417
|
}, {
|
|
17272
16418
|
completions: {
|
|
17273
16419
|
expression: string;
|
|
17274
16420
|
score?: number | undefined;
|
|
17275
16421
|
}[];
|
|
17276
|
-
products: {
|
|
17277
|
-
additionalFields: Record<string, unknown>;
|
|
17278
|
-
badgePlacements?: {
|
|
17279
|
-
badges: {
|
|
17280
|
-
backgroundColor?: string | undefined;
|
|
17281
|
-
iconUrl?: string | undefined;
|
|
17282
|
-
text: string;
|
|
17283
|
-
textColor?: string | undefined;
|
|
17284
|
-
}[];
|
|
17285
|
-
placementId: string;
|
|
17286
|
-
}[] | undefined;
|
|
17287
|
-
children?: any;
|
|
17288
|
-
clickUri?: string | undefined;
|
|
17289
|
-
ec_brand?: string | undefined;
|
|
17290
|
-
ec_category?: string[] | undefined;
|
|
17291
|
-
ec_color?: string | undefined;
|
|
17292
|
-
ec_description?: string | undefined;
|
|
17293
|
-
ec_images?: string[] | undefined;
|
|
17294
|
-
ec_in_stock?: boolean | undefined;
|
|
17295
|
-
ec_item_group_id?: string | undefined;
|
|
17296
|
-
ec_item_group_name?: string | undefined;
|
|
17297
|
-
ec_name: string;
|
|
17298
|
-
ec_price?: number | undefined;
|
|
17299
|
-
ec_promo_price?: number | undefined;
|
|
17300
|
-
ec_rating?: number | null | undefined;
|
|
17301
|
-
ec_shortdesc?: string | undefined;
|
|
17302
|
-
ec_thumbnails?: string[] | undefined;
|
|
17303
|
-
permanentid: string;
|
|
17304
|
-
}[];
|
|
17305
16422
|
query: string;
|
|
17306
16423
|
}>>;
|
|
17307
16424
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -17349,187 +16466,18 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
17349
16466
|
expression: string;
|
|
17350
16467
|
score?: number | undefined;
|
|
17351
16468
|
}>, "many">;
|
|
17352
|
-
products: z.ZodArray<z.ZodObject<{
|
|
17353
|
-
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
17354
|
-
readonly badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17355
|
-
badges: z.ZodArray<z.ZodObject<{
|
|
17356
|
-
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
17357
|
-
iconUrl: z.ZodOptional<z.ZodString>;
|
|
17358
|
-
text: z.ZodString;
|
|
17359
|
-
textColor: z.ZodOptional<z.ZodString>;
|
|
17360
|
-
}, "strict", z.ZodTypeAny, {
|
|
17361
|
-
backgroundColor?: string | undefined;
|
|
17362
|
-
iconUrl?: string | undefined;
|
|
17363
|
-
text: string;
|
|
17364
|
-
textColor?: string | undefined;
|
|
17365
|
-
}, {
|
|
17366
|
-
backgroundColor?: string | undefined;
|
|
17367
|
-
iconUrl?: string | undefined;
|
|
17368
|
-
text: string;
|
|
17369
|
-
textColor?: string | undefined;
|
|
17370
|
-
}>, "many">;
|
|
17371
|
-
placementId: z.ZodString;
|
|
17372
|
-
}, "strict", z.ZodTypeAny, {
|
|
17373
|
-
badges: {
|
|
17374
|
-
backgroundColor?: string | undefined;
|
|
17375
|
-
iconUrl?: string | undefined;
|
|
17376
|
-
text: string;
|
|
17377
|
-
textColor?: string | undefined;
|
|
17378
|
-
}[];
|
|
17379
|
-
placementId: string;
|
|
17380
|
-
}, {
|
|
17381
|
-
badges: {
|
|
17382
|
-
backgroundColor?: string | undefined;
|
|
17383
|
-
iconUrl?: string | undefined;
|
|
17384
|
-
text: string;
|
|
17385
|
-
textColor?: string | undefined;
|
|
17386
|
-
}[];
|
|
17387
|
-
placementId: string;
|
|
17388
|
-
}>, "many">>;
|
|
17389
|
-
readonly children: z.ZodTypeAny;
|
|
17390
|
-
clickUri: z.ZodOptional<z.ZodString>;
|
|
17391
|
-
ec_brand: z.ZodOptional<z.ZodString>;
|
|
17392
|
-
ec_category: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17393
|
-
ec_color: z.ZodOptional<z.ZodString>;
|
|
17394
|
-
ec_description: z.ZodOptional<z.ZodString>;
|
|
17395
|
-
ec_images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17396
|
-
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
17397
|
-
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
17398
|
-
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
17399
|
-
ec_name: z.ZodString;
|
|
17400
|
-
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
17401
|
-
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
17402
|
-
ec_rating: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
17403
|
-
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
17404
|
-
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17405
|
-
permanentid: z.ZodString;
|
|
17406
|
-
}, "strict", z.ZodTypeAny, {
|
|
17407
|
-
additionalFields: Record<string, unknown>;
|
|
17408
|
-
badgePlacements?: {
|
|
17409
|
-
badges: {
|
|
17410
|
-
backgroundColor?: string | undefined;
|
|
17411
|
-
iconUrl?: string | undefined;
|
|
17412
|
-
text: string;
|
|
17413
|
-
textColor?: string | undefined;
|
|
17414
|
-
}[];
|
|
17415
|
-
placementId: string;
|
|
17416
|
-
}[] | undefined;
|
|
17417
|
-
children?: any;
|
|
17418
|
-
clickUri?: string | undefined;
|
|
17419
|
-
ec_brand?: string | undefined;
|
|
17420
|
-
ec_category?: string[] | undefined;
|
|
17421
|
-
ec_color?: string | undefined;
|
|
17422
|
-
ec_description?: string | undefined;
|
|
17423
|
-
ec_images?: string[] | undefined;
|
|
17424
|
-
ec_in_stock?: boolean | undefined;
|
|
17425
|
-
ec_item_group_id?: string | undefined;
|
|
17426
|
-
ec_item_group_name?: string | undefined;
|
|
17427
|
-
ec_name: string;
|
|
17428
|
-
ec_price?: number | undefined;
|
|
17429
|
-
ec_promo_price?: number | undefined;
|
|
17430
|
-
ec_rating?: number | null | undefined;
|
|
17431
|
-
ec_shortdesc?: string | undefined;
|
|
17432
|
-
ec_thumbnails?: string[] | undefined;
|
|
17433
|
-
permanentid: string;
|
|
17434
|
-
}, {
|
|
17435
|
-
additionalFields: Record<string, unknown>;
|
|
17436
|
-
badgePlacements?: {
|
|
17437
|
-
badges: {
|
|
17438
|
-
backgroundColor?: string | undefined;
|
|
17439
|
-
iconUrl?: string | undefined;
|
|
17440
|
-
text: string;
|
|
17441
|
-
textColor?: string | undefined;
|
|
17442
|
-
}[];
|
|
17443
|
-
placementId: string;
|
|
17444
|
-
}[] | undefined;
|
|
17445
|
-
children?: any;
|
|
17446
|
-
clickUri?: string | undefined;
|
|
17447
|
-
ec_brand?: string | undefined;
|
|
17448
|
-
ec_category?: string[] | undefined;
|
|
17449
|
-
ec_color?: string | undefined;
|
|
17450
|
-
ec_description?: string | undefined;
|
|
17451
|
-
ec_images?: string[] | undefined;
|
|
17452
|
-
ec_in_stock?: boolean | undefined;
|
|
17453
|
-
ec_item_group_id?: string | undefined;
|
|
17454
|
-
ec_item_group_name?: string | undefined;
|
|
17455
|
-
ec_name: string;
|
|
17456
|
-
ec_price?: number | undefined;
|
|
17457
|
-
ec_promo_price?: number | undefined;
|
|
17458
|
-
ec_rating?: number | null | undefined;
|
|
17459
|
-
ec_shortdesc?: string | undefined;
|
|
17460
|
-
ec_thumbnails?: string[] | undefined;
|
|
17461
|
-
permanentid: string;
|
|
17462
|
-
}>, "many">;
|
|
17463
16469
|
query: z.ZodString;
|
|
17464
16470
|
}, "strict", z.ZodTypeAny, {
|
|
17465
16471
|
completions: {
|
|
17466
16472
|
expression: string;
|
|
17467
16473
|
score?: number | undefined;
|
|
17468
16474
|
}[];
|
|
17469
|
-
products: {
|
|
17470
|
-
additionalFields: Record<string, unknown>;
|
|
17471
|
-
badgePlacements?: {
|
|
17472
|
-
badges: {
|
|
17473
|
-
backgroundColor?: string | undefined;
|
|
17474
|
-
iconUrl?: string | undefined;
|
|
17475
|
-
text: string;
|
|
17476
|
-
textColor?: string | undefined;
|
|
17477
|
-
}[];
|
|
17478
|
-
placementId: string;
|
|
17479
|
-
}[] | undefined;
|
|
17480
|
-
children?: any;
|
|
17481
|
-
clickUri?: string | undefined;
|
|
17482
|
-
ec_brand?: string | undefined;
|
|
17483
|
-
ec_category?: string[] | undefined;
|
|
17484
|
-
ec_color?: string | undefined;
|
|
17485
|
-
ec_description?: string | undefined;
|
|
17486
|
-
ec_images?: string[] | undefined;
|
|
17487
|
-
ec_in_stock?: boolean | undefined;
|
|
17488
|
-
ec_item_group_id?: string | undefined;
|
|
17489
|
-
ec_item_group_name?: string | undefined;
|
|
17490
|
-
ec_name: string;
|
|
17491
|
-
ec_price?: number | undefined;
|
|
17492
|
-
ec_promo_price?: number | undefined;
|
|
17493
|
-
ec_rating?: number | null | undefined;
|
|
17494
|
-
ec_shortdesc?: string | undefined;
|
|
17495
|
-
ec_thumbnails?: string[] | undefined;
|
|
17496
|
-
permanentid: string;
|
|
17497
|
-
}[];
|
|
17498
16475
|
query: string;
|
|
17499
16476
|
}, {
|
|
17500
16477
|
completions: {
|
|
17501
16478
|
expression: string;
|
|
17502
16479
|
score?: number | undefined;
|
|
17503
16480
|
}[];
|
|
17504
|
-
products: {
|
|
17505
|
-
additionalFields: Record<string, unknown>;
|
|
17506
|
-
badgePlacements?: {
|
|
17507
|
-
badges: {
|
|
17508
|
-
backgroundColor?: string | undefined;
|
|
17509
|
-
iconUrl?: string | undefined;
|
|
17510
|
-
text: string;
|
|
17511
|
-
textColor?: string | undefined;
|
|
17512
|
-
}[];
|
|
17513
|
-
placementId: string;
|
|
17514
|
-
}[] | undefined;
|
|
17515
|
-
children?: any;
|
|
17516
|
-
clickUri?: string | undefined;
|
|
17517
|
-
ec_brand?: string | undefined;
|
|
17518
|
-
ec_category?: string[] | undefined;
|
|
17519
|
-
ec_color?: string | undefined;
|
|
17520
|
-
ec_description?: string | undefined;
|
|
17521
|
-
ec_images?: string[] | undefined;
|
|
17522
|
-
ec_in_stock?: boolean | undefined;
|
|
17523
|
-
ec_item_group_id?: string | undefined;
|
|
17524
|
-
ec_item_group_name?: string | undefined;
|
|
17525
|
-
ec_name: string;
|
|
17526
|
-
ec_price?: number | undefined;
|
|
17527
|
-
ec_promo_price?: number | undefined;
|
|
17528
|
-
ec_rating?: number | null | undefined;
|
|
17529
|
-
ec_shortdesc?: string | undefined;
|
|
17530
|
-
ec_thumbnails?: string[] | undefined;
|
|
17531
|
-
permanentid: string;
|
|
17532
|
-
}[];
|
|
17533
16481
|
query: string;
|
|
17534
16482
|
}>>;
|
|
17535
16483
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
@@ -25071,6 +24019,69 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
25071
24019
|
}[];
|
|
25072
24020
|
})[];
|
|
25073
24021
|
}>>;
|
|
24022
|
+
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
24023
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
24024
|
+
initialize: z.ZodObject<{
|
|
24025
|
+
payload: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
24026
|
+
}, "strict", z.ZodTypeAny, {
|
|
24027
|
+
payload: {};
|
|
24028
|
+
}, {
|
|
24029
|
+
payload: {};
|
|
24030
|
+
}>;
|
|
24031
|
+
}, "strict", z.ZodTypeAny, {
|
|
24032
|
+
initialize: {
|
|
24033
|
+
payload: {};
|
|
24034
|
+
};
|
|
24035
|
+
}, {
|
|
24036
|
+
initialize: {
|
|
24037
|
+
payload: {};
|
|
24038
|
+
};
|
|
24039
|
+
}>>;
|
|
24040
|
+
component: z.ZodLiteral<"SessionShell">;
|
|
24041
|
+
id: z.ZodString;
|
|
24042
|
+
state: z.ZodOptional<z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>;
|
|
24043
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
24044
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
24045
|
+
initialize: z.ZodObject<{
|
|
24046
|
+
payload: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
24047
|
+
}, "strict", z.ZodTypeAny, {
|
|
24048
|
+
payload: {};
|
|
24049
|
+
}, {
|
|
24050
|
+
payload: {};
|
|
24051
|
+
}>;
|
|
24052
|
+
}, "strict", z.ZodTypeAny, {
|
|
24053
|
+
initialize: {
|
|
24054
|
+
payload: {};
|
|
24055
|
+
};
|
|
24056
|
+
}, {
|
|
24057
|
+
initialize: {
|
|
24058
|
+
payload: {};
|
|
24059
|
+
};
|
|
24060
|
+
}>>;
|
|
24061
|
+
component: z.ZodLiteral<"SessionShell">;
|
|
24062
|
+
id: z.ZodString;
|
|
24063
|
+
state: z.ZodOptional<z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>;
|
|
24064
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
24065
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
24066
|
+
initialize: z.ZodObject<{
|
|
24067
|
+
payload: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
24068
|
+
}, "strict", z.ZodTypeAny, {
|
|
24069
|
+
payload: {};
|
|
24070
|
+
}, {
|
|
24071
|
+
payload: {};
|
|
24072
|
+
}>;
|
|
24073
|
+
}, "strict", z.ZodTypeAny, {
|
|
24074
|
+
initialize: {
|
|
24075
|
+
payload: {};
|
|
24076
|
+
};
|
|
24077
|
+
}, {
|
|
24078
|
+
initialize: {
|
|
24079
|
+
payload: {};
|
|
24080
|
+
};
|
|
24081
|
+
}>>;
|
|
24082
|
+
component: z.ZodLiteral<"SessionShell">;
|
|
24083
|
+
id: z.ZodString;
|
|
24084
|
+
state: z.ZodOptional<z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>;
|
|
25074
24085
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
25075
24086
|
actions: z.ZodOptional<z.ZodObject<{
|
|
25076
24087
|
overrideCorrection: z.ZodObject<{
|
|
@@ -28904,135 +27915,6 @@ export declare const QuerySuggestionsPropsSchema: z.ZodObject<{
|
|
|
28904
27915
|
args: Record<string, any>;
|
|
28905
27916
|
returnType?: "any" | "array" | "boolean" | "number" | "object" | "string" | "void" | undefined;
|
|
28906
27917
|
}>]>;
|
|
28907
|
-
products: z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
28908
|
-
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
28909
|
-
readonly badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
28910
|
-
badges: z.ZodArray<z.ZodObject<{
|
|
28911
|
-
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
28912
|
-
iconUrl: z.ZodOptional<z.ZodString>;
|
|
28913
|
-
text: z.ZodString;
|
|
28914
|
-
textColor: z.ZodOptional<z.ZodString>;
|
|
28915
|
-
}, "strict", z.ZodTypeAny, {
|
|
28916
|
-
backgroundColor?: string | undefined;
|
|
28917
|
-
iconUrl?: string | undefined;
|
|
28918
|
-
text: string;
|
|
28919
|
-
textColor?: string | undefined;
|
|
28920
|
-
}, {
|
|
28921
|
-
backgroundColor?: string | undefined;
|
|
28922
|
-
iconUrl?: string | undefined;
|
|
28923
|
-
text: string;
|
|
28924
|
-
textColor?: string | undefined;
|
|
28925
|
-
}>, "many">;
|
|
28926
|
-
placementId: z.ZodString;
|
|
28927
|
-
}, "strict", z.ZodTypeAny, {
|
|
28928
|
-
badges: {
|
|
28929
|
-
backgroundColor?: string | undefined;
|
|
28930
|
-
iconUrl?: string | undefined;
|
|
28931
|
-
text: string;
|
|
28932
|
-
textColor?: string | undefined;
|
|
28933
|
-
}[];
|
|
28934
|
-
placementId: string;
|
|
28935
|
-
}, {
|
|
28936
|
-
badges: {
|
|
28937
|
-
backgroundColor?: string | undefined;
|
|
28938
|
-
iconUrl?: string | undefined;
|
|
28939
|
-
text: string;
|
|
28940
|
-
textColor?: string | undefined;
|
|
28941
|
-
}[];
|
|
28942
|
-
placementId: string;
|
|
28943
|
-
}>, "many">>;
|
|
28944
|
-
readonly children: z.ZodTypeAny;
|
|
28945
|
-
clickUri: z.ZodOptional<z.ZodString>;
|
|
28946
|
-
ec_brand: z.ZodOptional<z.ZodString>;
|
|
28947
|
-
ec_category: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
28948
|
-
ec_color: z.ZodOptional<z.ZodString>;
|
|
28949
|
-
ec_description: z.ZodOptional<z.ZodString>;
|
|
28950
|
-
ec_images: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
28951
|
-
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
28952
|
-
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
28953
|
-
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
28954
|
-
ec_name: z.ZodString;
|
|
28955
|
-
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
28956
|
-
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
28957
|
-
ec_rating: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNull]>>;
|
|
28958
|
-
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
28959
|
-
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
28960
|
-
permanentid: z.ZodString;
|
|
28961
|
-
}, "strict", z.ZodTypeAny, {
|
|
28962
|
-
additionalFields: Record<string, unknown>;
|
|
28963
|
-
badgePlacements?: {
|
|
28964
|
-
badges: {
|
|
28965
|
-
backgroundColor?: string | undefined;
|
|
28966
|
-
iconUrl?: string | undefined;
|
|
28967
|
-
text: string;
|
|
28968
|
-
textColor?: string | undefined;
|
|
28969
|
-
}[];
|
|
28970
|
-
placementId: string;
|
|
28971
|
-
}[] | undefined;
|
|
28972
|
-
children?: any;
|
|
28973
|
-
clickUri?: string | undefined;
|
|
28974
|
-
ec_brand?: string | undefined;
|
|
28975
|
-
ec_category?: string[] | undefined;
|
|
28976
|
-
ec_color?: string | undefined;
|
|
28977
|
-
ec_description?: string | undefined;
|
|
28978
|
-
ec_images?: string[] | undefined;
|
|
28979
|
-
ec_in_stock?: boolean | undefined;
|
|
28980
|
-
ec_item_group_id?: string | undefined;
|
|
28981
|
-
ec_item_group_name?: string | undefined;
|
|
28982
|
-
ec_name: string;
|
|
28983
|
-
ec_price?: number | undefined;
|
|
28984
|
-
ec_promo_price?: number | undefined;
|
|
28985
|
-
ec_rating?: number | null | undefined;
|
|
28986
|
-
ec_shortdesc?: string | undefined;
|
|
28987
|
-
ec_thumbnails?: string[] | undefined;
|
|
28988
|
-
permanentid: string;
|
|
28989
|
-
}, {
|
|
28990
|
-
additionalFields: Record<string, unknown>;
|
|
28991
|
-
badgePlacements?: {
|
|
28992
|
-
badges: {
|
|
28993
|
-
backgroundColor?: string | undefined;
|
|
28994
|
-
iconUrl?: string | undefined;
|
|
28995
|
-
text: string;
|
|
28996
|
-
textColor?: string | undefined;
|
|
28997
|
-
}[];
|
|
28998
|
-
placementId: string;
|
|
28999
|
-
}[] | undefined;
|
|
29000
|
-
children?: any;
|
|
29001
|
-
clickUri?: string | undefined;
|
|
29002
|
-
ec_brand?: string | undefined;
|
|
29003
|
-
ec_category?: string[] | undefined;
|
|
29004
|
-
ec_color?: string | undefined;
|
|
29005
|
-
ec_description?: string | undefined;
|
|
29006
|
-
ec_images?: string[] | undefined;
|
|
29007
|
-
ec_in_stock?: boolean | undefined;
|
|
29008
|
-
ec_item_group_id?: string | undefined;
|
|
29009
|
-
ec_item_group_name?: string | undefined;
|
|
29010
|
-
ec_name: string;
|
|
29011
|
-
ec_price?: number | undefined;
|
|
29012
|
-
ec_promo_price?: number | undefined;
|
|
29013
|
-
ec_rating?: number | null | undefined;
|
|
29014
|
-
ec_shortdesc?: string | undefined;
|
|
29015
|
-
ec_thumbnails?: string[] | undefined;
|
|
29016
|
-
permanentid: string;
|
|
29017
|
-
}>, "many">, z.ZodObject<{
|
|
29018
|
-
path: z.ZodString;
|
|
29019
|
-
}, "strict", z.ZodTypeAny, {
|
|
29020
|
-
path: string;
|
|
29021
|
-
}, {
|
|
29022
|
-
path: string;
|
|
29023
|
-
}>, z.ZodObject<{
|
|
29024
|
-
call: z.ZodString;
|
|
29025
|
-
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
29026
|
-
returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
|
|
29027
|
-
}, "strip", z.ZodTypeAny, {
|
|
29028
|
-
call: string;
|
|
29029
|
-
args: Record<string, any>;
|
|
29030
|
-
returnType: "any" | "array" | "boolean" | "number" | "object" | "string" | "void";
|
|
29031
|
-
}, {
|
|
29032
|
-
call: string;
|
|
29033
|
-
args: Record<string, any>;
|
|
29034
|
-
returnType?: "any" | "array" | "boolean" | "number" | "object" | "string" | "void" | undefined;
|
|
29035
|
-
}>]>;
|
|
29036
27918
|
}, "strip", z.ZodTypeAny, {
|
|
29037
27919
|
query: string | {
|
|
29038
27920
|
path: string;
|
|
@@ -29051,41 +27933,6 @@ export declare const QuerySuggestionsPropsSchema: z.ZodObject<{
|
|
|
29051
27933
|
args: Record<string, any>;
|
|
29052
27934
|
returnType: "any" | "array" | "boolean" | "number" | "object" | "string" | "void";
|
|
29053
27935
|
};
|
|
29054
|
-
products: {
|
|
29055
|
-
additionalFields: Record<string, unknown>;
|
|
29056
|
-
badgePlacements?: {
|
|
29057
|
-
badges: {
|
|
29058
|
-
backgroundColor?: string | undefined;
|
|
29059
|
-
iconUrl?: string | undefined;
|
|
29060
|
-
text: string;
|
|
29061
|
-
textColor?: string | undefined;
|
|
29062
|
-
}[];
|
|
29063
|
-
placementId: string;
|
|
29064
|
-
}[] | undefined;
|
|
29065
|
-
children?: any;
|
|
29066
|
-
clickUri?: string | undefined;
|
|
29067
|
-
ec_brand?: string | undefined;
|
|
29068
|
-
ec_category?: string[] | undefined;
|
|
29069
|
-
ec_color?: string | undefined;
|
|
29070
|
-
ec_description?: string | undefined;
|
|
29071
|
-
ec_images?: string[] | undefined;
|
|
29072
|
-
ec_in_stock?: boolean | undefined;
|
|
29073
|
-
ec_item_group_id?: string | undefined;
|
|
29074
|
-
ec_item_group_name?: string | undefined;
|
|
29075
|
-
ec_name: string;
|
|
29076
|
-
ec_price?: number | undefined;
|
|
29077
|
-
ec_promo_price?: number | undefined;
|
|
29078
|
-
ec_rating?: number | null | undefined;
|
|
29079
|
-
ec_shortdesc?: string | undefined;
|
|
29080
|
-
ec_thumbnails?: string[] | undefined;
|
|
29081
|
-
permanentid: string;
|
|
29082
|
-
}[] | {
|
|
29083
|
-
path: string;
|
|
29084
|
-
} | {
|
|
29085
|
-
call: string;
|
|
29086
|
-
args: Record<string, any>;
|
|
29087
|
-
returnType: "any" | "array" | "boolean" | "number" | "object" | "string" | "void";
|
|
29088
|
-
};
|
|
29089
27936
|
}, {
|
|
29090
27937
|
query: string | {
|
|
29091
27938
|
path: string;
|
|
@@ -29104,41 +27951,6 @@ export declare const QuerySuggestionsPropsSchema: z.ZodObject<{
|
|
|
29104
27951
|
args: Record<string, any>;
|
|
29105
27952
|
returnType?: "any" | "array" | "boolean" | "number" | "object" | "string" | "void" | undefined;
|
|
29106
27953
|
};
|
|
29107
|
-
products: {
|
|
29108
|
-
additionalFields: Record<string, unknown>;
|
|
29109
|
-
badgePlacements?: {
|
|
29110
|
-
badges: {
|
|
29111
|
-
backgroundColor?: string | undefined;
|
|
29112
|
-
iconUrl?: string | undefined;
|
|
29113
|
-
text: string;
|
|
29114
|
-
textColor?: string | undefined;
|
|
29115
|
-
}[];
|
|
29116
|
-
placementId: string;
|
|
29117
|
-
}[] | undefined;
|
|
29118
|
-
children?: any;
|
|
29119
|
-
clickUri?: string | undefined;
|
|
29120
|
-
ec_brand?: string | undefined;
|
|
29121
|
-
ec_category?: string[] | undefined;
|
|
29122
|
-
ec_color?: string | undefined;
|
|
29123
|
-
ec_description?: string | undefined;
|
|
29124
|
-
ec_images?: string[] | undefined;
|
|
29125
|
-
ec_in_stock?: boolean | undefined;
|
|
29126
|
-
ec_item_group_id?: string | undefined;
|
|
29127
|
-
ec_item_group_name?: string | undefined;
|
|
29128
|
-
ec_name: string;
|
|
29129
|
-
ec_price?: number | undefined;
|
|
29130
|
-
ec_promo_price?: number | undefined;
|
|
29131
|
-
ec_rating?: number | null | undefined;
|
|
29132
|
-
ec_shortdesc?: string | undefined;
|
|
29133
|
-
ec_thumbnails?: string[] | undefined;
|
|
29134
|
-
permanentid: string;
|
|
29135
|
-
}[] | {
|
|
29136
|
-
path: string;
|
|
29137
|
-
} | {
|
|
29138
|
-
call: string;
|
|
29139
|
-
args: Record<string, any>;
|
|
29140
|
-
returnType?: "any" | "array" | "boolean" | "number" | "object" | "string" | "void" | undefined;
|
|
29141
|
-
};
|
|
29142
27954
|
}>;
|
|
29143
27955
|
export declare const QuerySummaryPropsSchema: z.ZodObject<{
|
|
29144
27956
|
query: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
@@ -29572,6 +28384,20 @@ export declare const RegularFacetPropsSchema: z.ZodObject<{
|
|
|
29572
28384
|
returnType?: "any" | "array" | "boolean" | "number" | "object" | "string" | "void" | undefined;
|
|
29573
28385
|
};
|
|
29574
28386
|
}>;
|
|
28387
|
+
export declare const SearchBoxPropsSchema: z.ZodObject<{
|
|
28388
|
+
suggestionsChild: z.ZodOptional<z.ZodString>;
|
|
28389
|
+
}, "strip", z.ZodTypeAny, {
|
|
28390
|
+
suggestionsChild?: string | undefined;
|
|
28391
|
+
}, {
|
|
28392
|
+
suggestionsChild?: string | undefined;
|
|
28393
|
+
}>;
|
|
28394
|
+
export declare const SessionShellPropsSchema: z.ZodObject<{
|
|
28395
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
28396
|
+
}, "strip", z.ZodTypeAny, {
|
|
28397
|
+
children?: string[] | undefined;
|
|
28398
|
+
}, {
|
|
28399
|
+
children?: string[] | undefined;
|
|
28400
|
+
}>;
|
|
29575
28401
|
export declare const SortPropsSchema: z.ZodObject<{
|
|
29576
28402
|
appliedSort: z.ZodUnion<[z.ZodObject<{
|
|
29577
28403
|
fields: z.ZodArray<z.ZodUnknown, "many">;
|
|
@@ -31295,6 +30121,31 @@ export declare const RegularFacetActionSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
31295
30121
|
};
|
|
31296
30122
|
}>]>;
|
|
31297
30123
|
export type RegularFacetAction = z.infer<typeof RegularFacetActionSchema>;
|
|
30124
|
+
export declare const SearchBoxActionSchema: z.ZodNever;
|
|
30125
|
+
export type SearchBoxAction = never;
|
|
30126
|
+
export declare const SessionShellActionSchema: z.ZodObject<{
|
|
30127
|
+
event: z.ZodObject<{
|
|
30128
|
+
name: z.ZodLiteral<"initialize">;
|
|
30129
|
+
context: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
30130
|
+
}, "strip", z.ZodTypeAny, {
|
|
30131
|
+
name: "initialize";
|
|
30132
|
+
context: {};
|
|
30133
|
+
}, {
|
|
30134
|
+
name: "initialize";
|
|
30135
|
+
context: {};
|
|
30136
|
+
}>;
|
|
30137
|
+
}, "strip", z.ZodTypeAny, {
|
|
30138
|
+
event: {
|
|
30139
|
+
name: "initialize";
|
|
30140
|
+
context: {};
|
|
30141
|
+
};
|
|
30142
|
+
}, {
|
|
30143
|
+
event: {
|
|
30144
|
+
name: "initialize";
|
|
30145
|
+
context: {};
|
|
30146
|
+
};
|
|
30147
|
+
}>;
|
|
30148
|
+
export type SessionShellAction = z.infer<typeof SessionShellActionSchema>;
|
|
31298
30149
|
export declare const SortActionSchema: z.ZodObject<{
|
|
31299
30150
|
event: z.ZodObject<{
|
|
31300
30151
|
name: z.ZodLiteral<"selectSort">;
|
|
@@ -31375,4 +30226,10 @@ export type ProductSummaryProps = ProductSummaryState;
|
|
|
31375
30226
|
export type QuerySuggestionsProps = QuerySuggestionsState;
|
|
31376
30227
|
export type QuerySummaryProps = QuerySummaryState;
|
|
31377
30228
|
export type RegularFacetProps = RegularFacetState;
|
|
30229
|
+
export type SearchBoxProps = {
|
|
30230
|
+
suggestionsChild?: string;
|
|
30231
|
+
};
|
|
30232
|
+
export type SessionShellProps = {
|
|
30233
|
+
children?: string[];
|
|
30234
|
+
};
|
|
31378
30235
|
export type SortProps = SortState;
|