@coveo/thermidor-schema 1.0.0-beta.4 → 1.0.0-beta.6
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 +1545 -339
- package/dist/generated/schemas.js +557 -208
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/package.json +20 -19
- package/schema/base/catalog.schema.json +3 -2
- package/schema/base/component.schema.json +24 -33
- package/schema/{components/component-contracts.schema.json → component-contracts.schema.json} +8 -2
- package/schema/components/bundle-display.schema.json +9 -13
- package/schema/components/cart.schema.json +147 -0
- package/schema/components/category-facet.schema.json +29 -13
- package/schema/components/commerce-search.schema.json +129 -15
- package/schema/components/comparison-table.schema.json +21 -13
- package/schema/components/date-facet.schema.json +33 -13
- package/schema/components/facet-manager.schema.json +12 -14
- package/schema/components/layout-stack.schema.json +18 -15
- package/schema/components/next-actions-bar.schema.json +12 -15
- package/schema/components/numeric-facet.schema.json +37 -13
- package/schema/components/page-size.schema.json +13 -15
- package/schema/components/pagination.schema.json +41 -14
- package/schema/components/product-carousel.schema.json +13 -13
- package/schema/components/product-list.schema.json +75 -14
- package/schema/components/product-summary.schema.json +15 -14
- package/schema/components/query-suggestions.schema.json +113 -0
- package/schema/components/query-summary.schema.json +23 -14
- package/schema/components/regular-facet.schema.json +33 -13
- package/schema/components/sort.schema.json +13 -13
- package/schema/definitions/bundle-tier.schema.json +6 -1
- package/schema/definitions/child-list.schema.json +32 -0
- package/schema/definitions/component-id.schema.json +9 -0
- package/schema/definitions/data-binding.schema.json +16 -0
- package/schema/definitions/child-ref.schema.json +0 -8
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import * as z from 'zod/v4';
|
|
2
|
+
export declare const CartUpdateOperationSchema: z.ZodEnum<{
|
|
3
|
+
add: "add";
|
|
4
|
+
remove: "remove";
|
|
5
|
+
setQuantity: "setQuantity";
|
|
6
|
+
}>;
|
|
7
|
+
export type CartUpdateOperation = z.infer<typeof CartUpdateOperationSchema>;
|
|
2
8
|
export declare const TypeSchema: z.ZodEnum<{
|
|
3
9
|
followup: "followup";
|
|
4
10
|
search: "search";
|
|
@@ -36,6 +42,15 @@ export declare const ProductSchema: z.ZodObject<{
|
|
|
36
42
|
permanentid: z.ZodString;
|
|
37
43
|
}, z.core.$strict>;
|
|
38
44
|
export type Product = z.infer<typeof ProductSchema>;
|
|
45
|
+
export declare const DataBindingSchema: z.ZodObject<{
|
|
46
|
+
path: z.ZodString;
|
|
47
|
+
}, z.core.$strict>;
|
|
48
|
+
export type DataBinding = z.infer<typeof DataBindingSchema>;
|
|
49
|
+
export declare const ChildListClassSchema: z.ZodObject<{
|
|
50
|
+
componentId: z.ZodString;
|
|
51
|
+
path: z.ZodString;
|
|
52
|
+
}, z.core.$strict>;
|
|
53
|
+
export type ChildListClass = z.infer<typeof ChildListClassSchema>;
|
|
39
54
|
export declare const ProductCarouselActionsSchema: z.ZodObject<{}, z.core.$strict>;
|
|
40
55
|
export type ProductCarouselActions = z.infer<typeof ProductCarouselActionsSchema>;
|
|
41
56
|
export declare const ProductCarouselStateSchema: z.ZodObject<{
|
|
@@ -62,6 +77,41 @@ export declare const ProductCarouselStateSchema: z.ZodObject<{
|
|
|
62
77
|
}, z.core.$strict>>;
|
|
63
78
|
}, z.core.$strict>;
|
|
64
79
|
export type ProductCarouselState = z.infer<typeof ProductCarouselStateSchema>;
|
|
80
|
+
export declare const PurchaseProductSchema: z.ZodObject<{
|
|
81
|
+
name: z.ZodOptional<z.ZodString>;
|
|
82
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
83
|
+
productId: z.ZodString;
|
|
84
|
+
quantity: z.ZodNumber;
|
|
85
|
+
}, z.core.$strict>;
|
|
86
|
+
export type PurchaseProduct = z.infer<typeof PurchaseProductSchema>;
|
|
87
|
+
export declare const TransactionSchema: z.ZodObject<{
|
|
88
|
+
id: z.ZodString;
|
|
89
|
+
revenue: z.ZodNumber;
|
|
90
|
+
}, z.core.$strict>;
|
|
91
|
+
export type Transaction = z.infer<typeof TransactionSchema>;
|
|
92
|
+
export declare const UpdateCartPayloadSchema: z.ZodObject<{
|
|
93
|
+
name: z.ZodOptional<z.ZodString>;
|
|
94
|
+
operation: z.ZodEnum<{
|
|
95
|
+
add: "add";
|
|
96
|
+
remove: "remove";
|
|
97
|
+
setQuantity: "setQuantity";
|
|
98
|
+
}>;
|
|
99
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
100
|
+
productId: z.ZodString;
|
|
101
|
+
quantity: z.ZodNumber;
|
|
102
|
+
}, z.core.$strict>;
|
|
103
|
+
export type UpdateCartPayload = z.infer<typeof UpdateCartPayloadSchema>;
|
|
104
|
+
export declare const CartStateSchema: z.ZodObject<{}, z.core.$strict>;
|
|
105
|
+
export type CartState = z.infer<typeof CartStateSchema>;
|
|
106
|
+
export declare const FetchSuggestionsPayloadSchema: z.ZodObject<{
|
|
107
|
+
query: z.ZodString;
|
|
108
|
+
}, z.core.$strict>;
|
|
109
|
+
export type FetchSuggestionsPayload = z.infer<typeof FetchSuggestionsPayloadSchema>;
|
|
110
|
+
export declare const QueryCompletionSchema: z.ZodObject<{
|
|
111
|
+
expression: z.ZodString;
|
|
112
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
113
|
+
}, z.core.$strict>;
|
|
114
|
+
export type QueryCompletion = z.infer<typeof QueryCompletionSchema>;
|
|
65
115
|
export declare const SelectActionPayloadSchema: z.ZodObject<{
|
|
66
116
|
text: z.ZodString;
|
|
67
117
|
type: z.ZodEnum<{
|
|
@@ -101,8 +151,17 @@ export declare const ComparisonProductSchema: z.ZodObject<{
|
|
|
101
151
|
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
102
152
|
}, z.core.$strict>;
|
|
103
153
|
export type ComparisonProduct = z.infer<typeof ComparisonProductSchema>;
|
|
104
|
-
export declare const
|
|
105
|
-
|
|
154
|
+
export declare const ProductClickPayloadSchema: z.ZodObject<{
|
|
155
|
+
name: z.ZodOptional<z.ZodString>;
|
|
156
|
+
position: z.ZodNumber;
|
|
157
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
158
|
+
productId: z.ZodString;
|
|
159
|
+
}, z.core.$strict>;
|
|
160
|
+
export type ProductClickPayload = z.infer<typeof ProductClickPayloadSchema>;
|
|
161
|
+
export declare const SelectProductsPayloadSchema: z.ZodObject<{
|
|
162
|
+
productIds: z.ZodArray<z.ZodString>;
|
|
163
|
+
}, z.core.$strict>;
|
|
164
|
+
export type SelectProductsPayload = z.infer<typeof SelectProductsPayloadSchema>;
|
|
106
165
|
export declare const ProductListStateSchema: z.ZodObject<{
|
|
107
166
|
products: z.ZodArray<z.ZodObject<{
|
|
108
167
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -160,6 +219,8 @@ export declare const PayloadSchema: z.ZodObject<{
|
|
|
160
219
|
pageSize: z.ZodNumber;
|
|
161
220
|
}, z.core.$strict>;
|
|
162
221
|
export type Payload = z.infer<typeof PayloadSchema>;
|
|
222
|
+
export declare const ShowMorePayloadSchema: z.ZodObject<{}, z.core.$strict>;
|
|
223
|
+
export type ShowMorePayload = z.infer<typeof ShowMorePayloadSchema>;
|
|
163
224
|
export declare const PaginationStateSchema: z.ZodObject<{
|
|
164
225
|
page: z.ZodNumber;
|
|
165
226
|
pageSize: z.ZodNumber;
|
|
@@ -319,6 +380,16 @@ export declare const FacetManagerActionsSchema: z.ZodObject<{}, z.core.$strict>;
|
|
|
319
380
|
export type FacetManagerActions = z.infer<typeof FacetManagerActionsSchema>;
|
|
320
381
|
export declare const FacetManagerStateSchema: z.ZodObject<{}, z.core.$strict>;
|
|
321
382
|
export type FacetManagerState = z.infer<typeof FacetManagerStateSchema>;
|
|
383
|
+
export declare const OverrideCorrectionPayloadSchema: z.ZodObject<{
|
|
384
|
+
originalQuery: z.ZodString;
|
|
385
|
+
}, z.core.$strict>;
|
|
386
|
+
export type OverrideCorrectionPayload = z.infer<typeof OverrideCorrectionPayloadSchema>;
|
|
387
|
+
export declare const NumericRangeRestoreSchema: z.ZodObject<{
|
|
388
|
+
end: z.ZodNumber;
|
|
389
|
+
endInclusive: z.ZodOptional<z.ZodBoolean>;
|
|
390
|
+
start: z.ZodNumber;
|
|
391
|
+
}, z.core.$strict>;
|
|
392
|
+
export type NumericRangeRestore = z.infer<typeof NumericRangeRestoreSchema>;
|
|
322
393
|
export declare const SubmitQueryPayloadSchema: z.ZodObject<{
|
|
323
394
|
query: z.ZodString;
|
|
324
395
|
}, z.core.$strict>;
|
|
@@ -347,11 +418,10 @@ export declare const PageSizeStateSchema: z.ZodObject<{
|
|
|
347
418
|
}, z.core.$strict>;
|
|
348
419
|
export type PageSizeState = z.infer<typeof PageSizeStateSchema>;
|
|
349
420
|
export declare const ProductCarouselSchema: z.ZodObject<{
|
|
350
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
state: z.ZodObject<{
|
|
421
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
422
|
+
component: z.ZodLiteral<"ProductCarousel">;
|
|
423
|
+
id: z.ZodString;
|
|
424
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
355
425
|
heading: z.ZodString;
|
|
356
426
|
products: z.ZodArray<z.ZodObject<{
|
|
357
427
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -373,9 +443,70 @@ export declare const ProductCarouselSchema: z.ZodObject<{
|
|
|
373
443
|
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
374
444
|
permanentid: z.ZodString;
|
|
375
445
|
}, z.core.$strict>>;
|
|
446
|
+
}, z.core.$strict>>;
|
|
447
|
+
}, z.core.$loose>;
|
|
448
|
+
export type ProductCarousel = z.infer<typeof ProductCarouselSchema>;
|
|
449
|
+
export declare const PurchasePayloadSchema: z.ZodObject<{
|
|
450
|
+
products: z.ZodArray<z.ZodObject<{
|
|
451
|
+
name: z.ZodOptional<z.ZodString>;
|
|
452
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
453
|
+
productId: z.ZodString;
|
|
454
|
+
quantity: z.ZodNumber;
|
|
455
|
+
}, z.core.$strict>>;
|
|
456
|
+
transaction: z.ZodObject<{
|
|
457
|
+
id: z.ZodString;
|
|
458
|
+
revenue: z.ZodNumber;
|
|
376
459
|
}, z.core.$strict>;
|
|
377
460
|
}, z.core.$strict>;
|
|
378
|
-
export type
|
|
461
|
+
export type PurchasePayload = z.infer<typeof PurchasePayloadSchema>;
|
|
462
|
+
export declare const UpdateCartSchema: z.ZodObject<{
|
|
463
|
+
payload: z.ZodObject<{
|
|
464
|
+
name: z.ZodOptional<z.ZodString>;
|
|
465
|
+
operation: z.ZodEnum<{
|
|
466
|
+
add: "add";
|
|
467
|
+
remove: "remove";
|
|
468
|
+
setQuantity: "setQuantity";
|
|
469
|
+
}>;
|
|
470
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
471
|
+
productId: z.ZodString;
|
|
472
|
+
quantity: z.ZodNumber;
|
|
473
|
+
}, z.core.$strict>;
|
|
474
|
+
}, z.core.$strict>;
|
|
475
|
+
export type UpdateCart = z.infer<typeof UpdateCartSchema>;
|
|
476
|
+
export declare const FetchSuggestionsSchema: z.ZodObject<{
|
|
477
|
+
payload: z.ZodObject<{
|
|
478
|
+
query: z.ZodString;
|
|
479
|
+
}, z.core.$strict>;
|
|
480
|
+
}, z.core.$strict>;
|
|
481
|
+
export type FetchSuggestions = z.infer<typeof FetchSuggestionsSchema>;
|
|
482
|
+
export declare const QuerySuggestionsStateSchema: z.ZodObject<{
|
|
483
|
+
completions: z.ZodArray<z.ZodObject<{
|
|
484
|
+
expression: z.ZodString;
|
|
485
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
486
|
+
}, z.core.$strict>>;
|
|
487
|
+
products: z.ZodArray<z.ZodObject<{
|
|
488
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
489
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
490
|
+
clickUri: z.ZodOptional<z.ZodURL>;
|
|
491
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
492
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
493
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
494
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
495
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
496
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
497
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
498
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
499
|
+
ec_name: z.ZodString;
|
|
500
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
501
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
502
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
503
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
504
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
505
|
+
permanentid: z.ZodString;
|
|
506
|
+
}, z.core.$strict>>;
|
|
507
|
+
query: z.ZodString;
|
|
508
|
+
}, z.core.$strict>;
|
|
509
|
+
export type QuerySuggestionsState = z.infer<typeof QuerySuggestionsStateSchema>;
|
|
379
510
|
export declare const SelectActionSchema: z.ZodObject<{
|
|
380
511
|
payload: z.ZodObject<{
|
|
381
512
|
text: z.ZodString;
|
|
@@ -387,7 +518,7 @@ export declare const SelectActionSchema: z.ZodObject<{
|
|
|
387
518
|
}, z.core.$strict>;
|
|
388
519
|
export type SelectAction = z.infer<typeof SelectActionSchema>;
|
|
389
520
|
export declare const NextActionsStateSchema: z.ZodObject<{
|
|
390
|
-
|
|
521
|
+
suggestedActions: z.ZodArray<z.ZodObject<{
|
|
391
522
|
text: z.ZodString;
|
|
392
523
|
type: z.ZodEnum<{
|
|
393
524
|
followup: "followup";
|
|
@@ -403,6 +534,7 @@ export declare const BundleTierSchema: z.ZodObject<{
|
|
|
403
534
|
categoryLabel: z.ZodString;
|
|
404
535
|
childId: z.ZodString;
|
|
405
536
|
}, z.core.$strict>>;
|
|
537
|
+
total: z.ZodNumber;
|
|
406
538
|
}, z.core.$strict>;
|
|
407
539
|
export type BundleTier = z.infer<typeof BundleTierSchema>;
|
|
408
540
|
export declare const ComparisonTableStateSchema: z.ZodObject<{
|
|
@@ -422,41 +554,26 @@ export declare const ComparisonTableStateSchema: z.ZodObject<{
|
|
|
422
554
|
summary: z.ZodString;
|
|
423
555
|
}, z.core.$strict>;
|
|
424
556
|
export type ComparisonTableState = z.infer<typeof ComparisonTableStateSchema>;
|
|
425
|
-
export declare const
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
products: z.ZodArray<z.ZodObject<{
|
|
432
|
-
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
433
|
-
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
434
|
-
clickUri: z.ZodOptional<z.ZodURL>;
|
|
435
|
-
ec_brand: z.ZodOptional<z.ZodString>;
|
|
436
|
-
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
437
|
-
ec_color: z.ZodOptional<z.ZodString>;
|
|
438
|
-
ec_description: z.ZodOptional<z.ZodString>;
|
|
439
|
-
ec_images: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
440
|
-
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
441
|
-
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
442
|
-
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
443
|
-
ec_name: z.ZodString;
|
|
444
|
-
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
445
|
-
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
446
|
-
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
447
|
-
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
448
|
-
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
449
|
-
permanentid: z.ZodString;
|
|
450
|
-
}, z.core.$strict>>;
|
|
557
|
+
export declare const ProductClickSchema: z.ZodObject<{
|
|
558
|
+
payload: z.ZodObject<{
|
|
559
|
+
name: z.ZodOptional<z.ZodString>;
|
|
560
|
+
position: z.ZodNumber;
|
|
561
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
562
|
+
productId: z.ZodString;
|
|
451
563
|
}, z.core.$strict>;
|
|
452
564
|
}, z.core.$strict>;
|
|
453
|
-
export type
|
|
565
|
+
export type ProductClick = z.infer<typeof ProductClickSchema>;
|
|
566
|
+
export declare const SelectProductsSchema: z.ZodObject<{
|
|
567
|
+
payload: z.ZodObject<{
|
|
568
|
+
productIds: z.ZodArray<z.ZodString>;
|
|
569
|
+
}, z.core.$strict>;
|
|
570
|
+
}, z.core.$strict>;
|
|
571
|
+
export type SelectProducts = z.infer<typeof SelectProductsSchema>;
|
|
454
572
|
export declare const ProductSummarySchema: z.ZodObject<{
|
|
455
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
state: z.ZodObject<{
|
|
573
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
574
|
+
component: z.ZodLiteral<"ProductSummary">;
|
|
575
|
+
id: z.ZodString;
|
|
576
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
460
577
|
categoryLabel: z.ZodString;
|
|
461
578
|
product: z.ZodUnion<readonly [z.ZodObject<{
|
|
462
579
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -478,8 +595,8 @@ export declare const ProductSummarySchema: z.ZodObject<{
|
|
|
478
595
|
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
479
596
|
permanentid: z.ZodString;
|
|
480
597
|
}, z.core.$strict>, z.ZodNull]>;
|
|
481
|
-
}, z.core.$strict
|
|
482
|
-
}, z.core.$
|
|
598
|
+
}, z.core.$strict>>;
|
|
599
|
+
}, z.core.$loose>;
|
|
483
600
|
export type ProductSummary = z.infer<typeof ProductSummarySchema>;
|
|
484
601
|
export declare const SelectPageSchema: z.ZodObject<{
|
|
485
602
|
payload: z.ZodObject<{
|
|
@@ -493,6 +610,10 @@ export declare const PurpleSetPageSizeSchema: z.ZodObject<{
|
|
|
493
610
|
}, z.core.$strict>;
|
|
494
611
|
}, z.core.$strict>;
|
|
495
612
|
export type PurpleSetPageSize = z.infer<typeof PurpleSetPageSizeSchema>;
|
|
613
|
+
export declare const ShowMoreSchema: z.ZodObject<{
|
|
614
|
+
payload: z.ZodObject<{}, z.core.$strict>;
|
|
615
|
+
}, z.core.$strict>;
|
|
616
|
+
export type ShowMore = z.infer<typeof ShowMoreSchema>;
|
|
496
617
|
export declare const SelectSortSchema: z.ZodObject<{
|
|
497
618
|
payload: z.ZodObject<{
|
|
498
619
|
fields: z.ZodArray<z.ZodUnknown>;
|
|
@@ -663,13 +784,28 @@ export declare const FacetSearchClassSchema: z.ZodObject<{
|
|
|
663
784
|
}, z.core.$strict>;
|
|
664
785
|
export type FacetSearchClass = z.infer<typeof FacetSearchClassSchema>;
|
|
665
786
|
export declare const FacetManagerSchema: z.ZodObject<{
|
|
666
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
}, z.core.$strict>;
|
|
787
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
788
|
+
component: z.ZodLiteral<"FacetManager">;
|
|
789
|
+
id: z.ZodString;
|
|
790
|
+
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
791
|
+
}, z.core.$loose>;
|
|
672
792
|
export type FacetManager = z.infer<typeof FacetManagerSchema>;
|
|
793
|
+
export declare const OverrideCorrectionSchema: z.ZodObject<{
|
|
794
|
+
payload: z.ZodObject<{
|
|
795
|
+
originalQuery: z.ZodString;
|
|
796
|
+
}, z.core.$strict>;
|
|
797
|
+
}, z.core.$strict>;
|
|
798
|
+
export type OverrideCorrection = z.infer<typeof OverrideCorrectionSchema>;
|
|
799
|
+
export declare const FacetRestoreSchema: z.ZodObject<{
|
|
800
|
+
facetId: z.ZodString;
|
|
801
|
+
numericRanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
802
|
+
end: z.ZodNumber;
|
|
803
|
+
endInclusive: z.ZodOptional<z.ZodBoolean>;
|
|
804
|
+
start: z.ZodNumber;
|
|
805
|
+
}, z.core.$strict>>>;
|
|
806
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
807
|
+
}, z.core.$strict>;
|
|
808
|
+
export type FacetRestore = z.infer<typeof FacetRestoreSchema>;
|
|
673
809
|
export declare const SubmitQuerySchema: z.ZodObject<{
|
|
674
810
|
payload: z.ZodObject<{
|
|
675
811
|
query: z.ZodString;
|
|
@@ -677,25 +813,23 @@ export declare const SubmitQuerySchema: z.ZodObject<{
|
|
|
677
813
|
}, z.core.$strict>;
|
|
678
814
|
export type SubmitQuery = z.infer<typeof SubmitQuerySchema>;
|
|
679
815
|
export declare const LayoutStackSchema: z.ZodObject<{
|
|
680
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
}, z.core.$strict>;
|
|
816
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
817
|
+
component: z.ZodLiteral<"LayoutStack">;
|
|
818
|
+
id: z.ZodString;
|
|
819
|
+
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
820
|
+
}, z.core.$loose>;
|
|
686
821
|
export type LayoutStack = z.infer<typeof LayoutStackSchema>;
|
|
687
822
|
export declare const QuerySummarySchema: z.ZodObject<{
|
|
688
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
state: z.ZodObject<{
|
|
823
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
824
|
+
component: z.ZodLiteral<"QuerySummary">;
|
|
825
|
+
id: z.ZodString;
|
|
826
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
693
827
|
firstIndex: z.ZodNumber;
|
|
694
828
|
lastIndex: z.ZodNumber;
|
|
695
829
|
query: z.ZodString;
|
|
696
830
|
totalEntries: z.ZodNumber;
|
|
697
|
-
}, z.core.$strict
|
|
698
|
-
}, z.core.$
|
|
831
|
+
}, z.core.$strict>>;
|
|
832
|
+
}, z.core.$loose>;
|
|
699
833
|
export type QuerySummary = z.infer<typeof QuerySummarySchema>;
|
|
700
834
|
export declare const FluffySetPageSizeSchema: z.ZodObject<{
|
|
701
835
|
payload: z.ZodObject<{
|
|
@@ -703,6 +837,29 @@ export declare const FluffySetPageSizeSchema: z.ZodObject<{
|
|
|
703
837
|
}, z.core.$strict>;
|
|
704
838
|
}, z.core.$strict>;
|
|
705
839
|
export type FluffySetPageSize = z.infer<typeof FluffySetPageSizeSchema>;
|
|
840
|
+
export declare const PurchaseSchema: z.ZodObject<{
|
|
841
|
+
payload: z.ZodObject<{
|
|
842
|
+
products: z.ZodArray<z.ZodObject<{
|
|
843
|
+
name: z.ZodOptional<z.ZodString>;
|
|
844
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
845
|
+
productId: z.ZodString;
|
|
846
|
+
quantity: z.ZodNumber;
|
|
847
|
+
}, z.core.$strict>>;
|
|
848
|
+
transaction: z.ZodObject<{
|
|
849
|
+
id: z.ZodString;
|
|
850
|
+
revenue: z.ZodNumber;
|
|
851
|
+
}, z.core.$strict>;
|
|
852
|
+
}, z.core.$strict>;
|
|
853
|
+
}, z.core.$strict>;
|
|
854
|
+
export type Purchase = z.infer<typeof PurchaseSchema>;
|
|
855
|
+
export declare const QuerySuggestionsActionsSchema: z.ZodObject<{
|
|
856
|
+
fetchSuggestions: z.ZodObject<{
|
|
857
|
+
payload: z.ZodObject<{
|
|
858
|
+
query: z.ZodString;
|
|
859
|
+
}, z.core.$strict>;
|
|
860
|
+
}, z.core.$strict>;
|
|
861
|
+
}, z.core.$strict>;
|
|
862
|
+
export type QuerySuggestionsActions = z.infer<typeof QuerySuggestionsActionsSchema>;
|
|
706
863
|
export declare const NextActionsBarActionsSchema: z.ZodObject<{
|
|
707
864
|
selectAction: z.ZodObject<{
|
|
708
865
|
payload: z.ZodObject<{
|
|
@@ -723,15 +880,15 @@ export declare const BundleDisplayStateSchema: z.ZodObject<{
|
|
|
723
880
|
categoryLabel: z.ZodString;
|
|
724
881
|
childId: z.ZodString;
|
|
725
882
|
}, z.core.$strict>>;
|
|
883
|
+
total: z.ZodNumber;
|
|
726
884
|
}, z.core.$strict>>;
|
|
727
885
|
}, z.core.$strict>;
|
|
728
886
|
export type BundleDisplayState = z.infer<typeof BundleDisplayStateSchema>;
|
|
729
887
|
export declare const ComparisonTableSchema: z.ZodObject<{
|
|
730
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
state: z.ZodObject<{
|
|
888
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
889
|
+
component: z.ZodLiteral<"ComparisonTable">;
|
|
890
|
+
id: z.ZodString;
|
|
891
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
735
892
|
attributes: z.ZodArray<z.ZodObject<{
|
|
736
893
|
key: z.ZodString;
|
|
737
894
|
label: z.ZodString;
|
|
@@ -746,9 +903,25 @@ export declare const ComparisonTableSchema: z.ZodObject<{
|
|
|
746
903
|
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
747
904
|
}, z.core.$strict>>;
|
|
748
905
|
summary: z.ZodString;
|
|
906
|
+
}, z.core.$strict>>;
|
|
907
|
+
}, z.core.$loose>;
|
|
908
|
+
export type ComparisonTable = z.infer<typeof ComparisonTableSchema>;
|
|
909
|
+
export declare const ProductListActionsSchema: z.ZodObject<{
|
|
910
|
+
productClick: z.ZodObject<{
|
|
911
|
+
payload: z.ZodObject<{
|
|
912
|
+
name: z.ZodOptional<z.ZodString>;
|
|
913
|
+
position: z.ZodNumber;
|
|
914
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
915
|
+
productId: z.ZodString;
|
|
916
|
+
}, z.core.$strict>;
|
|
917
|
+
}, z.core.$strict>;
|
|
918
|
+
selectProducts: z.ZodObject<{
|
|
919
|
+
payload: z.ZodObject<{
|
|
920
|
+
productIds: z.ZodArray<z.ZodString>;
|
|
921
|
+
}, z.core.$strict>;
|
|
749
922
|
}, z.core.$strict>;
|
|
750
923
|
}, z.core.$strict>;
|
|
751
|
-
export type
|
|
924
|
+
export type ProductListActions = z.infer<typeof ProductListActionsSchema>;
|
|
752
925
|
export declare const PaginationActionsSchema: z.ZodObject<{
|
|
753
926
|
selectPage: z.ZodObject<{
|
|
754
927
|
payload: z.ZodObject<{
|
|
@@ -760,6 +933,9 @@ export declare const PaginationActionsSchema: z.ZodObject<{
|
|
|
760
933
|
pageSize: z.ZodNumber;
|
|
761
934
|
}, z.core.$strict>;
|
|
762
935
|
}, z.core.$strict>;
|
|
936
|
+
showMore: z.ZodObject<{
|
|
937
|
+
payload: z.ZodObject<{}, z.core.$strict>;
|
|
938
|
+
}, z.core.$strict>;
|
|
763
939
|
}, z.core.$strict>;
|
|
764
940
|
export type PaginationActions = z.infer<typeof PaginationActionsSchema>;
|
|
765
941
|
export declare const SortActionsSchema: z.ZodObject<{
|
|
@@ -960,14 +1136,23 @@ export declare const CategoryFacetStateSchema: z.ZodObject<{
|
|
|
960
1136
|
}, z.core.$strict>;
|
|
961
1137
|
}, z.core.$strict>;
|
|
962
1138
|
export type CategoryFacetState = z.infer<typeof CategoryFacetStateSchema>;
|
|
963
|
-
export declare const
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
1139
|
+
export declare const RestoreStatePayloadSchema: z.ZodObject<{
|
|
1140
|
+
facets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1141
|
+
facetId: z.ZodString;
|
|
1142
|
+
numericRanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1143
|
+
end: z.ZodNumber;
|
|
1144
|
+
endInclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1145
|
+
start: z.ZodNumber;
|
|
1146
|
+
}, z.core.$strict>>>;
|
|
1147
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1148
|
+
}, z.core.$strict>>>;
|
|
1149
|
+
page: z.ZodNumber;
|
|
1150
|
+
pageSize: z.ZodNumber;
|
|
1151
|
+
pinnedProducts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1152
|
+
query: z.ZodString;
|
|
1153
|
+
sortCriteria: z.ZodOptional<z.ZodString>;
|
|
969
1154
|
}, z.core.$strict>;
|
|
970
|
-
export type
|
|
1155
|
+
export type RestoreStatePayload = z.infer<typeof RestoreStatePayloadSchema>;
|
|
971
1156
|
export declare const PageSizeActionsSchema: z.ZodObject<{
|
|
972
1157
|
setPageSize: z.ZodObject<{
|
|
973
1158
|
payload: z.ZodObject<{
|
|
@@ -976,8 +1161,77 @@ export declare const PageSizeActionsSchema: z.ZodObject<{
|
|
|
976
1161
|
}, z.core.$strict>;
|
|
977
1162
|
}, z.core.$strict>;
|
|
978
1163
|
export type PageSizeActions = z.infer<typeof PageSizeActionsSchema>;
|
|
1164
|
+
export declare const CartActionsSchema: z.ZodObject<{
|
|
1165
|
+
purchase: z.ZodObject<{
|
|
1166
|
+
payload: z.ZodObject<{
|
|
1167
|
+
products: z.ZodArray<z.ZodObject<{
|
|
1168
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1169
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1170
|
+
productId: z.ZodString;
|
|
1171
|
+
quantity: z.ZodNumber;
|
|
1172
|
+
}, z.core.$strict>>;
|
|
1173
|
+
transaction: z.ZodObject<{
|
|
1174
|
+
id: z.ZodString;
|
|
1175
|
+
revenue: z.ZodNumber;
|
|
1176
|
+
}, z.core.$strict>;
|
|
1177
|
+
}, z.core.$strict>;
|
|
1178
|
+
}, z.core.$strict>;
|
|
1179
|
+
updateCart: z.ZodObject<{
|
|
1180
|
+
payload: z.ZodObject<{
|
|
1181
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1182
|
+
operation: z.ZodEnum<{
|
|
1183
|
+
add: "add";
|
|
1184
|
+
remove: "remove";
|
|
1185
|
+
setQuantity: "setQuantity";
|
|
1186
|
+
}>;
|
|
1187
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1188
|
+
productId: z.ZodString;
|
|
1189
|
+
quantity: z.ZodNumber;
|
|
1190
|
+
}, z.core.$strict>;
|
|
1191
|
+
}, z.core.$strict>;
|
|
1192
|
+
}, z.core.$strict>;
|
|
1193
|
+
export type CartActions = z.infer<typeof CartActionsSchema>;
|
|
1194
|
+
export declare const QuerySuggestionsSchema: z.ZodObject<{
|
|
1195
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1196
|
+
fetchSuggestions: z.ZodObject<{
|
|
1197
|
+
payload: z.ZodObject<{
|
|
1198
|
+
query: z.ZodString;
|
|
1199
|
+
}, z.core.$strict>;
|
|
1200
|
+
}, z.core.$strict>;
|
|
1201
|
+
}, z.core.$strict>>;
|
|
1202
|
+
component: z.ZodLiteral<"QuerySuggestions">;
|
|
1203
|
+
id: z.ZodString;
|
|
1204
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1205
|
+
completions: z.ZodArray<z.ZodObject<{
|
|
1206
|
+
expression: z.ZodString;
|
|
1207
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
1208
|
+
}, z.core.$strict>>;
|
|
1209
|
+
products: z.ZodArray<z.ZodObject<{
|
|
1210
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1211
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
1212
|
+
clickUri: z.ZodOptional<z.ZodURL>;
|
|
1213
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
1214
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1215
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
1216
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
1217
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
1218
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
1219
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
1220
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
1221
|
+
ec_name: z.ZodString;
|
|
1222
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
1223
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
1224
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1225
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
1226
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
1227
|
+
permanentid: z.ZodString;
|
|
1228
|
+
}, z.core.$strict>>;
|
|
1229
|
+
query: z.ZodString;
|
|
1230
|
+
}, z.core.$strict>>;
|
|
1231
|
+
}, z.core.$loose>;
|
|
1232
|
+
export type QuerySuggestions = z.infer<typeof QuerySuggestionsSchema>;
|
|
979
1233
|
export declare const NextActionsBarSchema: z.ZodObject<{
|
|
980
|
-
actions: z.ZodObject<{
|
|
1234
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
981
1235
|
selectAction: z.ZodObject<{
|
|
982
1236
|
payload: z.ZodObject<{
|
|
983
1237
|
text: z.ZodString;
|
|
@@ -987,27 +1241,25 @@ export declare const NextActionsBarSchema: z.ZodObject<{
|
|
|
987
1241
|
}>;
|
|
988
1242
|
}, z.core.$strict>;
|
|
989
1243
|
}, z.core.$strict>;
|
|
990
|
-
}, z.core.$strict
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
actions: z.ZodArray<z.ZodObject<{
|
|
1244
|
+
}, z.core.$strict>>;
|
|
1245
|
+
component: z.ZodLiteral<"NextActionsBar">;
|
|
1246
|
+
id: z.ZodString;
|
|
1247
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1248
|
+
suggestedActions: z.ZodArray<z.ZodObject<{
|
|
996
1249
|
text: z.ZodString;
|
|
997
1250
|
type: z.ZodEnum<{
|
|
998
1251
|
followup: "followup";
|
|
999
1252
|
search: "search";
|
|
1000
1253
|
}>;
|
|
1001
1254
|
}, z.core.$strict>>;
|
|
1002
|
-
}, z.core.$strict
|
|
1003
|
-
}, z.core.$
|
|
1255
|
+
}, z.core.$strict>>;
|
|
1256
|
+
}, z.core.$loose>;
|
|
1004
1257
|
export type NextActionsBar = z.infer<typeof NextActionsBarSchema>;
|
|
1005
1258
|
export declare const BundleDisplaySchema: z.ZodObject<{
|
|
1006
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
state: z.ZodObject<{
|
|
1259
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
1260
|
+
component: z.ZodLiteral<"BundleDisplay">;
|
|
1261
|
+
id: z.ZodString;
|
|
1262
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1011
1263
|
tiers: z.ZodArray<z.ZodObject<{
|
|
1012
1264
|
description: z.ZodString;
|
|
1013
1265
|
label: z.ZodString;
|
|
@@ -1015,12 +1267,55 @@ export declare const BundleDisplaySchema: z.ZodObject<{
|
|
|
1015
1267
|
categoryLabel: z.ZodString;
|
|
1016
1268
|
childId: z.ZodString;
|
|
1017
1269
|
}, z.core.$strict>>;
|
|
1270
|
+
total: z.ZodNumber;
|
|
1018
1271
|
}, z.core.$strict>>;
|
|
1019
|
-
}, z.core.$strict
|
|
1020
|
-
}, z.core.$
|
|
1272
|
+
}, z.core.$strict>>;
|
|
1273
|
+
}, z.core.$loose>;
|
|
1021
1274
|
export type BundleDisplay = z.infer<typeof BundleDisplaySchema>;
|
|
1275
|
+
export declare const ProductListSchema: z.ZodObject<{
|
|
1276
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1277
|
+
productClick: z.ZodObject<{
|
|
1278
|
+
payload: z.ZodObject<{
|
|
1279
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1280
|
+
position: z.ZodNumber;
|
|
1281
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1282
|
+
productId: z.ZodString;
|
|
1283
|
+
}, z.core.$strict>;
|
|
1284
|
+
}, z.core.$strict>;
|
|
1285
|
+
selectProducts: z.ZodObject<{
|
|
1286
|
+
payload: z.ZodObject<{
|
|
1287
|
+
productIds: z.ZodArray<z.ZodString>;
|
|
1288
|
+
}, z.core.$strict>;
|
|
1289
|
+
}, z.core.$strict>;
|
|
1290
|
+
}, z.core.$strict>>;
|
|
1291
|
+
component: z.ZodLiteral<"ProductList">;
|
|
1292
|
+
id: z.ZodString;
|
|
1293
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1294
|
+
products: z.ZodArray<z.ZodObject<{
|
|
1295
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1296
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
1297
|
+
clickUri: z.ZodOptional<z.ZodURL>;
|
|
1298
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
1299
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1300
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
1301
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
1302
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
1303
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
1304
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
1305
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
1306
|
+
ec_name: z.ZodString;
|
|
1307
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
1308
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
1309
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1310
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
1311
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
1312
|
+
permanentid: z.ZodString;
|
|
1313
|
+
}, z.core.$strict>>;
|
|
1314
|
+
}, z.core.$strict>>;
|
|
1315
|
+
}, z.core.$loose>;
|
|
1316
|
+
export type ProductList = z.infer<typeof ProductListSchema>;
|
|
1022
1317
|
export declare const PaginationSchema: z.ZodObject<{
|
|
1023
|
-
actions: z.ZodObject<{
|
|
1318
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1024
1319
|
selectPage: z.ZodObject<{
|
|
1025
1320
|
payload: z.ZodObject<{
|
|
1026
1321
|
page: z.ZodNumber;
|
|
@@ -1031,31 +1326,32 @@ export declare const PaginationSchema: z.ZodObject<{
|
|
|
1031
1326
|
pageSize: z.ZodNumber;
|
|
1032
1327
|
}, z.core.$strict>;
|
|
1033
1328
|
}, z.core.$strict>;
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1329
|
+
showMore: z.ZodObject<{
|
|
1330
|
+
payload: z.ZodObject<{}, z.core.$strict>;
|
|
1331
|
+
}, z.core.$strict>;
|
|
1332
|
+
}, z.core.$strict>>;
|
|
1333
|
+
component: z.ZodLiteral<"Pagination">;
|
|
1334
|
+
id: z.ZodString;
|
|
1335
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1039
1336
|
page: z.ZodNumber;
|
|
1040
1337
|
pageSize: z.ZodNumber;
|
|
1041
1338
|
totalEntries: z.ZodNumber;
|
|
1042
1339
|
totalPages: z.ZodNumber;
|
|
1043
|
-
}, z.core.$strict
|
|
1044
|
-
}, z.core.$
|
|
1340
|
+
}, z.core.$strict>>;
|
|
1341
|
+
}, z.core.$loose>;
|
|
1045
1342
|
export type Pagination = z.infer<typeof PaginationSchema>;
|
|
1046
1343
|
export declare const SortSchema: z.ZodObject<{
|
|
1047
|
-
actions: z.ZodObject<{
|
|
1344
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1048
1345
|
selectSort: z.ZodObject<{
|
|
1049
1346
|
payload: z.ZodObject<{
|
|
1050
1347
|
fields: z.ZodArray<z.ZodUnknown>;
|
|
1051
1348
|
sortCriteria: z.ZodString;
|
|
1052
1349
|
}, z.core.$strict>;
|
|
1053
1350
|
}, z.core.$strict>;
|
|
1054
|
-
}, z.core.$strict
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
state: z.ZodObject<{
|
|
1351
|
+
}, z.core.$strict>>;
|
|
1352
|
+
component: z.ZodLiteral<"Sort">;
|
|
1353
|
+
id: z.ZodString;
|
|
1354
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1059
1355
|
appliedSort: z.ZodObject<{
|
|
1060
1356
|
fields: z.ZodArray<z.ZodUnknown>;
|
|
1061
1357
|
sortCriteria: z.ZodString;
|
|
@@ -1064,11 +1360,11 @@ export declare const SortSchema: z.ZodObject<{
|
|
|
1064
1360
|
fields: z.ZodArray<z.ZodUnknown>;
|
|
1065
1361
|
sortCriteria: z.ZodString;
|
|
1066
1362
|
}, z.core.$strict>>;
|
|
1067
|
-
}, z.core.$strict
|
|
1068
|
-
}, z.core.$
|
|
1363
|
+
}, z.core.$strict>>;
|
|
1364
|
+
}, z.core.$loose>;
|
|
1069
1365
|
export type Sort = z.infer<typeof SortSchema>;
|
|
1070
1366
|
export declare const RegularFacetSchema: z.ZodObject<{
|
|
1071
|
-
actions: z.ZodObject<{
|
|
1367
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1072
1368
|
clearAllActiveValues: z.ZodObject<{
|
|
1073
1369
|
payload: z.ZodUnknown;
|
|
1074
1370
|
}, z.core.$strict>;
|
|
@@ -1109,11 +1405,10 @@ export declare const RegularFacetSchema: z.ZodObject<{
|
|
|
1109
1405
|
value: z.ZodString;
|
|
1110
1406
|
}, z.core.$strict>;
|
|
1111
1407
|
}, z.core.$strict>;
|
|
1112
|
-
}, z.core.$strict
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
state: z.ZodObject<{
|
|
1408
|
+
}, z.core.$strict>>;
|
|
1409
|
+
component: z.ZodLiteral<"RegularFacet">;
|
|
1410
|
+
id: z.ZodString;
|
|
1411
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1117
1412
|
canShowLessValues: z.ZodBoolean;
|
|
1118
1413
|
canShowMoreValues: z.ZodBoolean;
|
|
1119
1414
|
displayName: z.ZodString;
|
|
@@ -1136,11 +1431,11 @@ export declare const RegularFacetSchema: z.ZodObject<{
|
|
|
1136
1431
|
}>;
|
|
1137
1432
|
value: z.ZodString;
|
|
1138
1433
|
}, z.core.$strict>>;
|
|
1139
|
-
}, z.core.$strict
|
|
1140
|
-
}, z.core.$
|
|
1434
|
+
}, z.core.$strict>>;
|
|
1435
|
+
}, z.core.$loose>;
|
|
1141
1436
|
export type RegularFacet = z.infer<typeof RegularFacetSchema>;
|
|
1142
1437
|
export declare const NumericFacetSchema: z.ZodObject<{
|
|
1143
|
-
actions: z.ZodObject<{
|
|
1438
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1144
1439
|
applyCustomRange: z.ZodObject<{
|
|
1145
1440
|
payload: z.ZodObject<{
|
|
1146
1441
|
end: z.ZodNumber;
|
|
@@ -1168,11 +1463,10 @@ export declare const NumericFacetSchema: z.ZodObject<{
|
|
|
1168
1463
|
start: z.ZodNumber;
|
|
1169
1464
|
}, z.core.$strict>;
|
|
1170
1465
|
}, z.core.$strict>;
|
|
1171
|
-
}, z.core.$strict
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
state: z.ZodObject<{
|
|
1466
|
+
}, z.core.$strict>>;
|
|
1467
|
+
component: z.ZodLiteral<"NumericFacet">;
|
|
1468
|
+
id: z.ZodString;
|
|
1469
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1176
1470
|
canShowLessValues: z.ZodBoolean;
|
|
1177
1471
|
canShowMoreValues: z.ZodBoolean;
|
|
1178
1472
|
customRange: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1196,11 +1490,11 @@ export declare const NumericFacetSchema: z.ZodObject<{
|
|
|
1196
1490
|
selected: "selected";
|
|
1197
1491
|
}>;
|
|
1198
1492
|
}, z.core.$strict>>;
|
|
1199
|
-
}, z.core.$strict
|
|
1200
|
-
}, z.core.$
|
|
1493
|
+
}, z.core.$strict>>;
|
|
1494
|
+
}, z.core.$loose>;
|
|
1201
1495
|
export type NumericFacet = z.infer<typeof NumericFacetSchema>;
|
|
1202
1496
|
export declare const DateFacetSchema: z.ZodObject<{
|
|
1203
|
-
actions: z.ZodObject<{
|
|
1497
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1204
1498
|
applyCustomRange: z.ZodObject<{
|
|
1205
1499
|
payload: z.ZodObject<{
|
|
1206
1500
|
end: z.ZodString;
|
|
@@ -1228,11 +1522,10 @@ export declare const DateFacetSchema: z.ZodObject<{
|
|
|
1228
1522
|
start: z.ZodString;
|
|
1229
1523
|
}, z.core.$strict>;
|
|
1230
1524
|
}, z.core.$strict>;
|
|
1231
|
-
}, z.core.$strict
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
state: z.ZodObject<{
|
|
1525
|
+
}, z.core.$strict>>;
|
|
1526
|
+
component: z.ZodLiteral<"DateFacet">;
|
|
1527
|
+
id: z.ZodString;
|
|
1528
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1236
1529
|
canShowLessValues: z.ZodBoolean;
|
|
1237
1530
|
canShowMoreValues: z.ZodBoolean;
|
|
1238
1531
|
customRange: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1252,11 +1545,11 @@ export declare const DateFacetSchema: z.ZodObject<{
|
|
|
1252
1545
|
selected: "selected";
|
|
1253
1546
|
}>;
|
|
1254
1547
|
}, z.core.$strict>>;
|
|
1255
|
-
}, z.core.$strict
|
|
1256
|
-
}, z.core.$
|
|
1548
|
+
}, z.core.$strict>>;
|
|
1549
|
+
}, z.core.$loose>;
|
|
1257
1550
|
export type DateFacet = z.infer<typeof DateFacetSchema>;
|
|
1258
1551
|
export declare const CategoryFacetSchema: z.ZodObject<{
|
|
1259
|
-
actions: z.ZodObject<{
|
|
1552
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1260
1553
|
clearSearch: z.ZodObject<{
|
|
1261
1554
|
payload: z.ZodUnknown;
|
|
1262
1555
|
}, z.core.$strict>;
|
|
@@ -1282,11 +1575,10 @@ export declare const CategoryFacetSchema: z.ZodObject<{
|
|
|
1282
1575
|
showMoreValues: z.ZodObject<{
|
|
1283
1576
|
payload: z.ZodUnknown;
|
|
1284
1577
|
}, z.core.$strict>;
|
|
1285
|
-
}, z.core.$strict
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
state: z.ZodObject<{
|
|
1578
|
+
}, z.core.$strict>>;
|
|
1579
|
+
component: z.ZodLiteral<"CategoryFacet">;
|
|
1580
|
+
id: z.ZodString;
|
|
1581
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1290
1582
|
canShowLessValues: z.ZodBoolean;
|
|
1291
1583
|
canShowMoreValues: z.ZodBoolean;
|
|
1292
1584
|
displayName: z.ZodString;
|
|
@@ -1317,45 +1609,150 @@ export declare const CategoryFacetSchema: z.ZodObject<{
|
|
|
1317
1609
|
value: z.ZodString;
|
|
1318
1610
|
}, z.core.$strict>, z.ZodNull]>;
|
|
1319
1611
|
}, z.core.$strict>;
|
|
1320
|
-
}, z.core.$strict
|
|
1321
|
-
}, z.core.$
|
|
1612
|
+
}, z.core.$strict>>;
|
|
1613
|
+
}, z.core.$loose>;
|
|
1322
1614
|
export type CategoryFacet = z.infer<typeof CategoryFacetSchema>;
|
|
1323
|
-
export declare const
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1615
|
+
export declare const RestoreStateSchema: z.ZodObject<{
|
|
1616
|
+
payload: z.ZodObject<{
|
|
1617
|
+
facets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1618
|
+
facetId: z.ZodString;
|
|
1619
|
+
numericRanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1620
|
+
end: z.ZodNumber;
|
|
1621
|
+
endInclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1622
|
+
start: z.ZodNumber;
|
|
1623
|
+
}, z.core.$strict>>>;
|
|
1624
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1625
|
+
}, z.core.$strict>>>;
|
|
1626
|
+
page: z.ZodNumber;
|
|
1627
|
+
pageSize: z.ZodNumber;
|
|
1628
|
+
pinnedProducts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1629
|
+
query: z.ZodString;
|
|
1630
|
+
sortCriteria: z.ZodOptional<z.ZodString>;
|
|
1330
1631
|
}, z.core.$strict>;
|
|
1331
|
-
child: z.ZodOptional<z.ZodString>;
|
|
1332
|
-
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1333
|
-
componentType: z.ZodLiteral<"commerce-search">;
|
|
1334
|
-
state: z.ZodObject<{}, z.core.$strict>;
|
|
1335
1632
|
}, z.core.$strict>;
|
|
1336
|
-
export type
|
|
1633
|
+
export type RestoreState = z.infer<typeof RestoreStateSchema>;
|
|
1337
1634
|
export declare const PageSizeSchema: z.ZodObject<{
|
|
1338
|
-
actions: z.ZodObject<{
|
|
1635
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1339
1636
|
setPageSize: z.ZodObject<{
|
|
1340
1637
|
payload: z.ZodObject<{
|
|
1341
1638
|
pageSize: z.ZodNumber;
|
|
1342
1639
|
}, z.core.$strict>;
|
|
1343
1640
|
}, z.core.$strict>;
|
|
1344
|
-
}, z.core.$strict
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
state: z.ZodObject<{
|
|
1641
|
+
}, z.core.$strict>>;
|
|
1642
|
+
component: z.ZodLiteral<"PageSize">;
|
|
1643
|
+
id: z.ZodString;
|
|
1644
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1349
1645
|
pageSize: z.ZodNumber;
|
|
1646
|
+
}, z.core.$strict>>;
|
|
1647
|
+
}, z.core.$loose>;
|
|
1648
|
+
export type PageSize = z.infer<typeof PageSizeSchema>;
|
|
1649
|
+
export declare const CartSchema: z.ZodObject<{
|
|
1650
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1651
|
+
purchase: z.ZodObject<{
|
|
1652
|
+
payload: z.ZodObject<{
|
|
1653
|
+
products: z.ZodArray<z.ZodObject<{
|
|
1654
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1655
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1656
|
+
productId: z.ZodString;
|
|
1657
|
+
quantity: z.ZodNumber;
|
|
1658
|
+
}, z.core.$strict>>;
|
|
1659
|
+
transaction: z.ZodObject<{
|
|
1660
|
+
id: z.ZodString;
|
|
1661
|
+
revenue: z.ZodNumber;
|
|
1662
|
+
}, z.core.$strict>;
|
|
1663
|
+
}, z.core.$strict>;
|
|
1664
|
+
}, z.core.$strict>;
|
|
1665
|
+
updateCart: z.ZodObject<{
|
|
1666
|
+
payload: z.ZodObject<{
|
|
1667
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1668
|
+
operation: z.ZodEnum<{
|
|
1669
|
+
add: "add";
|
|
1670
|
+
remove: "remove";
|
|
1671
|
+
setQuantity: "setQuantity";
|
|
1672
|
+
}>;
|
|
1673
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1674
|
+
productId: z.ZodString;
|
|
1675
|
+
quantity: z.ZodNumber;
|
|
1676
|
+
}, z.core.$strict>;
|
|
1677
|
+
}, z.core.$strict>;
|
|
1678
|
+
}, z.core.$strict>>;
|
|
1679
|
+
component: z.ZodLiteral<"Cart">;
|
|
1680
|
+
id: z.ZodString;
|
|
1681
|
+
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
1682
|
+
}, z.core.$loose>;
|
|
1683
|
+
export type Cart = z.infer<typeof CartSchema>;
|
|
1684
|
+
export declare const CommerceSearchActionsSchema: z.ZodObject<{
|
|
1685
|
+
overrideCorrection: z.ZodObject<{
|
|
1686
|
+
payload: z.ZodObject<{
|
|
1687
|
+
originalQuery: z.ZodString;
|
|
1688
|
+
}, z.core.$strict>;
|
|
1689
|
+
}, z.core.$strict>;
|
|
1690
|
+
restoreState: z.ZodObject<{
|
|
1691
|
+
payload: z.ZodObject<{
|
|
1692
|
+
facets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1693
|
+
facetId: z.ZodString;
|
|
1694
|
+
numericRanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1695
|
+
end: z.ZodNumber;
|
|
1696
|
+
endInclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1697
|
+
start: z.ZodNumber;
|
|
1698
|
+
}, z.core.$strict>>>;
|
|
1699
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1700
|
+
}, z.core.$strict>>>;
|
|
1701
|
+
page: z.ZodNumber;
|
|
1702
|
+
pageSize: z.ZodNumber;
|
|
1703
|
+
pinnedProducts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1704
|
+
query: z.ZodString;
|
|
1705
|
+
sortCriteria: z.ZodOptional<z.ZodString>;
|
|
1706
|
+
}, z.core.$strict>;
|
|
1707
|
+
}, z.core.$strict>;
|
|
1708
|
+
submitQuery: z.ZodObject<{
|
|
1709
|
+
payload: z.ZodObject<{
|
|
1710
|
+
query: z.ZodString;
|
|
1711
|
+
}, z.core.$strict>;
|
|
1350
1712
|
}, z.core.$strict>;
|
|
1351
1713
|
}, z.core.$strict>;
|
|
1352
|
-
export type
|
|
1714
|
+
export type CommerceSearchActions = z.infer<typeof CommerceSearchActionsSchema>;
|
|
1715
|
+
export declare const CommerceSearchSchema: z.ZodObject<{
|
|
1716
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1717
|
+
overrideCorrection: z.ZodObject<{
|
|
1718
|
+
payload: z.ZodObject<{
|
|
1719
|
+
originalQuery: z.ZodString;
|
|
1720
|
+
}, z.core.$strict>;
|
|
1721
|
+
}, z.core.$strict>;
|
|
1722
|
+
restoreState: z.ZodObject<{
|
|
1723
|
+
payload: z.ZodObject<{
|
|
1724
|
+
facets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1725
|
+
facetId: z.ZodString;
|
|
1726
|
+
numericRanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1727
|
+
end: z.ZodNumber;
|
|
1728
|
+
endInclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1729
|
+
start: z.ZodNumber;
|
|
1730
|
+
}, z.core.$strict>>>;
|
|
1731
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1732
|
+
}, z.core.$strict>>>;
|
|
1733
|
+
page: z.ZodNumber;
|
|
1734
|
+
pageSize: z.ZodNumber;
|
|
1735
|
+
pinnedProducts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1736
|
+
query: z.ZodString;
|
|
1737
|
+
sortCriteria: z.ZodOptional<z.ZodString>;
|
|
1738
|
+
}, z.core.$strict>;
|
|
1739
|
+
}, z.core.$strict>;
|
|
1740
|
+
submitQuery: z.ZodObject<{
|
|
1741
|
+
payload: z.ZodObject<{
|
|
1742
|
+
query: z.ZodString;
|
|
1743
|
+
}, z.core.$strict>;
|
|
1744
|
+
}, z.core.$strict>;
|
|
1745
|
+
}, z.core.$strict>>;
|
|
1746
|
+
component: z.ZodLiteral<"CommerceSearch">;
|
|
1747
|
+
id: z.ZodString;
|
|
1748
|
+
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
1749
|
+
}, z.core.$loose>;
|
|
1750
|
+
export type CommerceSearch = z.infer<typeof CommerceSearchSchema>;
|
|
1353
1751
|
export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1354
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
state: z.ZodObject<{
|
|
1752
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
1753
|
+
component: z.ZodLiteral<"ProductCarousel">;
|
|
1754
|
+
id: z.ZodString;
|
|
1755
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1359
1756
|
heading: z.ZodString;
|
|
1360
1757
|
products: z.ZodArray<z.ZodObject<{
|
|
1361
1758
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -1377,9 +1774,79 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1377
1774
|
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
1378
1775
|
permanentid: z.ZodString;
|
|
1379
1776
|
}, z.core.$strict>>;
|
|
1380
|
-
}, z.core.$strict
|
|
1381
|
-
}, z.core.$
|
|
1382
|
-
actions: z.ZodObject<{
|
|
1777
|
+
}, z.core.$strict>>;
|
|
1778
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1779
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1780
|
+
purchase: z.ZodObject<{
|
|
1781
|
+
payload: z.ZodObject<{
|
|
1782
|
+
products: z.ZodArray<z.ZodObject<{
|
|
1783
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1784
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1785
|
+
productId: z.ZodString;
|
|
1786
|
+
quantity: z.ZodNumber;
|
|
1787
|
+
}, z.core.$strict>>;
|
|
1788
|
+
transaction: z.ZodObject<{
|
|
1789
|
+
id: z.ZodString;
|
|
1790
|
+
revenue: z.ZodNumber;
|
|
1791
|
+
}, z.core.$strict>;
|
|
1792
|
+
}, z.core.$strict>;
|
|
1793
|
+
}, z.core.$strict>;
|
|
1794
|
+
updateCart: z.ZodObject<{
|
|
1795
|
+
payload: z.ZodObject<{
|
|
1796
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1797
|
+
operation: z.ZodEnum<{
|
|
1798
|
+
add: "add";
|
|
1799
|
+
remove: "remove";
|
|
1800
|
+
setQuantity: "setQuantity";
|
|
1801
|
+
}>;
|
|
1802
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1803
|
+
productId: z.ZodString;
|
|
1804
|
+
quantity: z.ZodNumber;
|
|
1805
|
+
}, z.core.$strict>;
|
|
1806
|
+
}, z.core.$strict>;
|
|
1807
|
+
}, z.core.$strict>>;
|
|
1808
|
+
component: z.ZodLiteral<"Cart">;
|
|
1809
|
+
id: z.ZodString;
|
|
1810
|
+
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
1811
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1812
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1813
|
+
fetchSuggestions: z.ZodObject<{
|
|
1814
|
+
payload: z.ZodObject<{
|
|
1815
|
+
query: z.ZodString;
|
|
1816
|
+
}, z.core.$strict>;
|
|
1817
|
+
}, z.core.$strict>;
|
|
1818
|
+
}, z.core.$strict>>;
|
|
1819
|
+
component: z.ZodLiteral<"QuerySuggestions">;
|
|
1820
|
+
id: z.ZodString;
|
|
1821
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1822
|
+
completions: z.ZodArray<z.ZodObject<{
|
|
1823
|
+
expression: z.ZodString;
|
|
1824
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
1825
|
+
}, z.core.$strict>>;
|
|
1826
|
+
products: z.ZodArray<z.ZodObject<{
|
|
1827
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1828
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strict>>>;
|
|
1829
|
+
clickUri: z.ZodOptional<z.ZodURL>;
|
|
1830
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
1831
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1832
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
1833
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
1834
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
1835
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
1836
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
1837
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
1838
|
+
ec_name: z.ZodString;
|
|
1839
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
1840
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
1841
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1842
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
1843
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
1844
|
+
permanentid: z.ZodString;
|
|
1845
|
+
}, z.core.$strict>>;
|
|
1846
|
+
query: z.ZodString;
|
|
1847
|
+
}, z.core.$strict>>;
|
|
1848
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1849
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1383
1850
|
selectAction: z.ZodObject<{
|
|
1384
1851
|
payload: z.ZodObject<{
|
|
1385
1852
|
text: z.ZodString;
|
|
@@ -1389,25 +1856,23 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1389
1856
|
}>;
|
|
1390
1857
|
}, z.core.$strict>;
|
|
1391
1858
|
}, z.core.$strict>;
|
|
1392
|
-
}, z.core.$strict
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
actions: z.ZodArray<z.ZodObject<{
|
|
1859
|
+
}, z.core.$strict>>;
|
|
1860
|
+
component: z.ZodLiteral<"NextActionsBar">;
|
|
1861
|
+
id: z.ZodString;
|
|
1862
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1863
|
+
suggestedActions: z.ZodArray<z.ZodObject<{
|
|
1398
1864
|
text: z.ZodString;
|
|
1399
1865
|
type: z.ZodEnum<{
|
|
1400
1866
|
followup: "followup";
|
|
1401
1867
|
search: "search";
|
|
1402
1868
|
}>;
|
|
1403
1869
|
}, z.core.$strict>>;
|
|
1404
|
-
}, z.core.$strict
|
|
1405
|
-
}, z.core.$
|
|
1406
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
state: z.ZodObject<{
|
|
1870
|
+
}, z.core.$strict>>;
|
|
1871
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1872
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
1873
|
+
component: z.ZodLiteral<"BundleDisplay">;
|
|
1874
|
+
id: z.ZodString;
|
|
1875
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1411
1876
|
tiers: z.ZodArray<z.ZodObject<{
|
|
1412
1877
|
description: z.ZodString;
|
|
1413
1878
|
label: z.ZodString;
|
|
@@ -1415,14 +1880,14 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1415
1880
|
categoryLabel: z.ZodString;
|
|
1416
1881
|
childId: z.ZodString;
|
|
1417
1882
|
}, z.core.$strict>>;
|
|
1883
|
+
total: z.ZodNumber;
|
|
1418
1884
|
}, z.core.$strict>>;
|
|
1419
|
-
}, z.core.$strict
|
|
1420
|
-
}, z.core.$
|
|
1421
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
state: z.ZodObject<{
|
|
1885
|
+
}, z.core.$strict>>;
|
|
1886
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1887
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
1888
|
+
component: z.ZodLiteral<"ComparisonTable">;
|
|
1889
|
+
id: z.ZodString;
|
|
1890
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1426
1891
|
attributes: z.ZodArray<z.ZodObject<{
|
|
1427
1892
|
key: z.ZodString;
|
|
1428
1893
|
label: z.ZodString;
|
|
@@ -1437,13 +1902,26 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1437
1902
|
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1438
1903
|
}, z.core.$strict>>;
|
|
1439
1904
|
summary: z.ZodString;
|
|
1440
|
-
}, z.core.$strict
|
|
1441
|
-
}, z.core.$
|
|
1442
|
-
actions: z.ZodObject<{
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1905
|
+
}, z.core.$strict>>;
|
|
1906
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1907
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1908
|
+
productClick: z.ZodObject<{
|
|
1909
|
+
payload: z.ZodObject<{
|
|
1910
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1911
|
+
position: z.ZodNumber;
|
|
1912
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1913
|
+
productId: z.ZodString;
|
|
1914
|
+
}, z.core.$strict>;
|
|
1915
|
+
}, z.core.$strict>;
|
|
1916
|
+
selectProducts: z.ZodObject<{
|
|
1917
|
+
payload: z.ZodObject<{
|
|
1918
|
+
productIds: z.ZodArray<z.ZodString>;
|
|
1919
|
+
}, z.core.$strict>;
|
|
1920
|
+
}, z.core.$strict>;
|
|
1921
|
+
}, z.core.$strict>>;
|
|
1922
|
+
component: z.ZodLiteral<"ProductList">;
|
|
1923
|
+
id: z.ZodString;
|
|
1924
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1447
1925
|
products: z.ZodArray<z.ZodObject<{
|
|
1448
1926
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1449
1927
|
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strict>>>;
|
|
@@ -1464,13 +1942,12 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1464
1942
|
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
1465
1943
|
permanentid: z.ZodString;
|
|
1466
1944
|
}, z.core.$strict>>;
|
|
1467
|
-
}, z.core.$strict
|
|
1468
|
-
}, z.core.$
|
|
1469
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
state: z.ZodObject<{
|
|
1945
|
+
}, z.core.$strict>>;
|
|
1946
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1947
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
1948
|
+
component: z.ZodLiteral<"ProductSummary">;
|
|
1949
|
+
id: z.ZodString;
|
|
1950
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1474
1951
|
categoryLabel: z.ZodString;
|
|
1475
1952
|
product: z.ZodUnion<readonly [z.ZodObject<{
|
|
1476
1953
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -1492,9 +1969,9 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1492
1969
|
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
1493
1970
|
permanentid: z.ZodString;
|
|
1494
1971
|
}, z.core.$strict>, z.ZodNull]>;
|
|
1495
|
-
}, z.core.$strict
|
|
1496
|
-
}, z.core.$
|
|
1497
|
-
actions: z.ZodObject<{
|
|
1972
|
+
}, z.core.$strict>>;
|
|
1973
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1974
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1498
1975
|
selectPage: z.ZodObject<{
|
|
1499
1976
|
payload: z.ZodObject<{
|
|
1500
1977
|
page: z.ZodNumber;
|
|
@@ -1505,29 +1982,30 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1505
1982
|
pageSize: z.ZodNumber;
|
|
1506
1983
|
}, z.core.$strict>;
|
|
1507
1984
|
}, z.core.$strict>;
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1985
|
+
showMore: z.ZodObject<{
|
|
1986
|
+
payload: z.ZodObject<{}, z.core.$strict>;
|
|
1987
|
+
}, z.core.$strict>;
|
|
1988
|
+
}, z.core.$strict>>;
|
|
1989
|
+
component: z.ZodLiteral<"Pagination">;
|
|
1990
|
+
id: z.ZodString;
|
|
1991
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1513
1992
|
page: z.ZodNumber;
|
|
1514
1993
|
pageSize: z.ZodNumber;
|
|
1515
1994
|
totalEntries: z.ZodNumber;
|
|
1516
1995
|
totalPages: z.ZodNumber;
|
|
1517
|
-
}, z.core.$strict
|
|
1518
|
-
}, z.core.$
|
|
1519
|
-
actions: z.ZodObject<{
|
|
1996
|
+
}, z.core.$strict>>;
|
|
1997
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1998
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1520
1999
|
selectSort: z.ZodObject<{
|
|
1521
2000
|
payload: z.ZodObject<{
|
|
1522
2001
|
fields: z.ZodArray<z.ZodUnknown>;
|
|
1523
2002
|
sortCriteria: z.ZodString;
|
|
1524
2003
|
}, z.core.$strict>;
|
|
1525
2004
|
}, z.core.$strict>;
|
|
1526
|
-
}, z.core.$strict
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
state: z.ZodObject<{
|
|
2005
|
+
}, z.core.$strict>>;
|
|
2006
|
+
component: z.ZodLiteral<"Sort">;
|
|
2007
|
+
id: z.ZodString;
|
|
2008
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1531
2009
|
appliedSort: z.ZodObject<{
|
|
1532
2010
|
fields: z.ZodArray<z.ZodUnknown>;
|
|
1533
2011
|
sortCriteria: z.ZodString;
|
|
@@ -1536,9 +2014,9 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1536
2014
|
fields: z.ZodArray<z.ZodUnknown>;
|
|
1537
2015
|
sortCriteria: z.ZodString;
|
|
1538
2016
|
}, z.core.$strict>>;
|
|
1539
|
-
}, z.core.$strict
|
|
1540
|
-
}, z.core.$
|
|
1541
|
-
actions: z.ZodObject<{
|
|
2017
|
+
}, z.core.$strict>>;
|
|
2018
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2019
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1542
2020
|
clearAllActiveValues: z.ZodObject<{
|
|
1543
2021
|
payload: z.ZodUnknown;
|
|
1544
2022
|
}, z.core.$strict>;
|
|
@@ -1579,11 +2057,10 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1579
2057
|
value: z.ZodString;
|
|
1580
2058
|
}, z.core.$strict>;
|
|
1581
2059
|
}, z.core.$strict>;
|
|
1582
|
-
}, z.core.$strict
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
state: z.ZodObject<{
|
|
2060
|
+
}, z.core.$strict>>;
|
|
2061
|
+
component: z.ZodLiteral<"RegularFacet">;
|
|
2062
|
+
id: z.ZodString;
|
|
2063
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1587
2064
|
canShowLessValues: z.ZodBoolean;
|
|
1588
2065
|
canShowMoreValues: z.ZodBoolean;
|
|
1589
2066
|
displayName: z.ZodString;
|
|
@@ -1606,9 +2083,9 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1606
2083
|
}>;
|
|
1607
2084
|
value: z.ZodString;
|
|
1608
2085
|
}, z.core.$strict>>;
|
|
1609
|
-
}, z.core.$strict
|
|
1610
|
-
}, z.core.$
|
|
1611
|
-
actions: z.ZodObject<{
|
|
2086
|
+
}, z.core.$strict>>;
|
|
2087
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2088
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1612
2089
|
applyCustomRange: z.ZodObject<{
|
|
1613
2090
|
payload: z.ZodObject<{
|
|
1614
2091
|
end: z.ZodNumber;
|
|
@@ -1636,11 +2113,10 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1636
2113
|
start: z.ZodNumber;
|
|
1637
2114
|
}, z.core.$strict>;
|
|
1638
2115
|
}, z.core.$strict>;
|
|
1639
|
-
}, z.core.$strict
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
state: z.ZodObject<{
|
|
2116
|
+
}, z.core.$strict>>;
|
|
2117
|
+
component: z.ZodLiteral<"NumericFacet">;
|
|
2118
|
+
id: z.ZodString;
|
|
2119
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1644
2120
|
canShowLessValues: z.ZodBoolean;
|
|
1645
2121
|
canShowMoreValues: z.ZodBoolean;
|
|
1646
2122
|
customRange: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1664,9 +2140,9 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1664
2140
|
selected: "selected";
|
|
1665
2141
|
}>;
|
|
1666
2142
|
}, z.core.$strict>>;
|
|
1667
|
-
}, z.core.$strict
|
|
1668
|
-
}, z.core.$
|
|
1669
|
-
actions: z.ZodObject<{
|
|
2143
|
+
}, z.core.$strict>>;
|
|
2144
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2145
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1670
2146
|
applyCustomRange: z.ZodObject<{
|
|
1671
2147
|
payload: z.ZodObject<{
|
|
1672
2148
|
end: z.ZodString;
|
|
@@ -1694,11 +2170,10 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1694
2170
|
start: z.ZodString;
|
|
1695
2171
|
}, z.core.$strict>;
|
|
1696
2172
|
}, z.core.$strict>;
|
|
1697
|
-
}, z.core.$strict
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
state: z.ZodObject<{
|
|
2173
|
+
}, z.core.$strict>>;
|
|
2174
|
+
component: z.ZodLiteral<"DateFacet">;
|
|
2175
|
+
id: z.ZodString;
|
|
2176
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1702
2177
|
canShowLessValues: z.ZodBoolean;
|
|
1703
2178
|
canShowMoreValues: z.ZodBoolean;
|
|
1704
2179
|
customRange: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1718,9 +2193,9 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1718
2193
|
selected: "selected";
|
|
1719
2194
|
}>;
|
|
1720
2195
|
}, z.core.$strict>>;
|
|
1721
|
-
}, z.core.$strict
|
|
1722
|
-
}, z.core.$
|
|
1723
|
-
actions: z.ZodObject<{
|
|
2196
|
+
}, z.core.$strict>>;
|
|
2197
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2198
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1724
2199
|
clearSearch: z.ZodObject<{
|
|
1725
2200
|
payload: z.ZodUnknown;
|
|
1726
2201
|
}, z.core.$strict>;
|
|
@@ -1746,11 +2221,10 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1746
2221
|
showMoreValues: z.ZodObject<{
|
|
1747
2222
|
payload: z.ZodUnknown;
|
|
1748
2223
|
}, z.core.$strict>;
|
|
1749
|
-
}, z.core.$strict
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
state: z.ZodObject<{
|
|
2224
|
+
}, z.core.$strict>>;
|
|
2225
|
+
component: z.ZodLiteral<"CategoryFacet">;
|
|
2226
|
+
id: z.ZodString;
|
|
2227
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1754
2228
|
canShowLessValues: z.ZodBoolean;
|
|
1755
2229
|
canShowMoreValues: z.ZodBoolean;
|
|
1756
2230
|
displayName: z.ZodString;
|
|
@@ -1781,146 +2255,878 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1781
2255
|
value: z.ZodString;
|
|
1782
2256
|
}, z.core.$strict>, z.ZodNull]>;
|
|
1783
2257
|
}, z.core.$strict>;
|
|
1784
|
-
}, z.core.$strict
|
|
1785
|
-
}, z.core.$
|
|
1786
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
2258
|
+
}, z.core.$strict>>;
|
|
2259
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2260
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2261
|
+
component: z.ZodLiteral<"FacetManager">;
|
|
2262
|
+
id: z.ZodString;
|
|
2263
|
+
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2264
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2265
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
2266
|
+
overrideCorrection: z.ZodObject<{
|
|
2267
|
+
payload: z.ZodObject<{
|
|
2268
|
+
originalQuery: z.ZodString;
|
|
2269
|
+
}, z.core.$strict>;
|
|
2270
|
+
}, z.core.$strict>;
|
|
2271
|
+
restoreState: z.ZodObject<{
|
|
2272
|
+
payload: z.ZodObject<{
|
|
2273
|
+
facets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2274
|
+
facetId: z.ZodString;
|
|
2275
|
+
numericRanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2276
|
+
end: z.ZodNumber;
|
|
2277
|
+
endInclusive: z.ZodOptional<z.ZodBoolean>;
|
|
2278
|
+
start: z.ZodNumber;
|
|
2279
|
+
}, z.core.$strict>>>;
|
|
2280
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2281
|
+
}, z.core.$strict>>>;
|
|
2282
|
+
page: z.ZodNumber;
|
|
2283
|
+
pageSize: z.ZodNumber;
|
|
2284
|
+
pinnedProducts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2285
|
+
query: z.ZodString;
|
|
2286
|
+
sortCriteria: z.ZodOptional<z.ZodString>;
|
|
2287
|
+
}, z.core.$strict>;
|
|
2288
|
+
}, z.core.$strict>;
|
|
1793
2289
|
submitQuery: z.ZodObject<{
|
|
1794
2290
|
payload: z.ZodObject<{
|
|
1795
2291
|
query: z.ZodString;
|
|
1796
2292
|
}, z.core.$strict>;
|
|
1797
2293
|
}, z.core.$strict>;
|
|
1798
|
-
}, z.core.$strict
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
}, z.core.$strict
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1813
|
-
componentType: z.ZodLiteral<"query-summary">;
|
|
1814
|
-
state: z.ZodObject<{
|
|
2294
|
+
}, z.core.$strict>>;
|
|
2295
|
+
component: z.ZodLiteral<"CommerceSearch">;
|
|
2296
|
+
id: z.ZodString;
|
|
2297
|
+
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2298
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2299
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2300
|
+
component: z.ZodLiteral<"LayoutStack">;
|
|
2301
|
+
id: z.ZodString;
|
|
2302
|
+
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2303
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2304
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2305
|
+
component: z.ZodLiteral<"QuerySummary">;
|
|
2306
|
+
id: z.ZodString;
|
|
2307
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1815
2308
|
firstIndex: z.ZodNumber;
|
|
1816
2309
|
lastIndex: z.ZodNumber;
|
|
1817
2310
|
query: z.ZodString;
|
|
1818
2311
|
totalEntries: z.ZodNumber;
|
|
1819
|
-
}, z.core.$strict
|
|
1820
|
-
}, z.core.$
|
|
1821
|
-
actions: z.ZodObject<{
|
|
2312
|
+
}, z.core.$strict>>;
|
|
2313
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2314
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1822
2315
|
setPageSize: z.ZodObject<{
|
|
1823
2316
|
payload: z.ZodObject<{
|
|
1824
2317
|
pageSize: z.ZodNumber;
|
|
1825
2318
|
}, z.core.$strict>;
|
|
1826
2319
|
}, z.core.$strict>;
|
|
1827
|
-
}, z.core.$strict
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
state: z.ZodObject<{
|
|
2320
|
+
}, z.core.$strict>>;
|
|
2321
|
+
component: z.ZodLiteral<"PageSize">;
|
|
2322
|
+
id: z.ZodString;
|
|
2323
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1832
2324
|
pageSize: z.ZodNumber;
|
|
1833
|
-
}, z.core.$strict
|
|
1834
|
-
}, z.core.$
|
|
2325
|
+
}, z.core.$strict>>;
|
|
2326
|
+
}, z.core.$loose>], "component">;
|
|
1835
2327
|
export type ComponentContracts = z.infer<typeof ComponentContractsSchema>;
|
|
1836
2328
|
/**
|
|
1837
|
-
*
|
|
1838
|
-
*
|
|
1839
|
-
*
|
|
1840
|
-
*
|
|
2329
|
+
* A2-UI dynamic-value building blocks (self-contained; no renderer / @a2ui/web_core dependency).
|
|
2330
|
+
* A bindable prop is an A2-UI Dynamic_Value: a union admitting a literal resolved value, an
|
|
2331
|
+
* A2-UI Data_Binding object { path }, or a function-call form. The frozen renderer's binder
|
|
2332
|
+
* classifies a field as resolvable only when its schema is such a union including DataBinding,
|
|
2333
|
+
* so it dereferences the { path } against the data model before the renderer sees it.
|
|
2334
|
+
*
|
|
2335
|
+
* `DataBindingSchema` is projected from the shared definitions/data-binding.schema.json (like
|
|
2336
|
+
* ComponentId / ChildList), so it is not re-declared here; the unions below reference it.
|
|
2337
|
+
*/
|
|
2338
|
+
export declare const FunctionCallSchema: z.ZodObject<{
|
|
2339
|
+
functionName: z.ZodString;
|
|
2340
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2341
|
+
}, z.core.$strip>;
|
|
2342
|
+
export type FunctionCall = z.infer<typeof FunctionCallSchema>;
|
|
2343
|
+
export declare const DynamicNumberSchema: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2344
|
+
path: z.ZodString;
|
|
2345
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2346
|
+
functionName: z.ZodString;
|
|
2347
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2348
|
+
}, z.core.$strip>]>;
|
|
2349
|
+
export type DynamicNumber = z.infer<typeof DynamicNumberSchema>;
|
|
2350
|
+
export declare const DynamicStringSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2351
|
+
path: z.ZodString;
|
|
2352
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2353
|
+
functionName: z.ZodString;
|
|
2354
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2355
|
+
}, z.core.$strip>]>;
|
|
2356
|
+
export type DynamicString = z.infer<typeof DynamicStringSchema>;
|
|
2357
|
+
export declare const DynamicBooleanSchema: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2358
|
+
path: z.ZodString;
|
|
2359
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2360
|
+
functionName: z.ZodString;
|
|
2361
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2362
|
+
}, z.core.$strip>]>;
|
|
2363
|
+
export type DynamicBoolean = z.infer<typeof DynamicBooleanSchema>;
|
|
2364
|
+
export declare const DynamicStringListSchema: z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodObject<{
|
|
2365
|
+
path: z.ZodString;
|
|
2366
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2367
|
+
functionName: z.ZodString;
|
|
2368
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2369
|
+
}, z.core.$strip>]>;
|
|
2370
|
+
export type DynamicStringList = z.infer<typeof DynamicStringListSchema>;
|
|
2371
|
+
export declare const DynamicValueSchema: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2372
|
+
path: z.ZodString;
|
|
2373
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2374
|
+
functionName: z.ZodString;
|
|
2375
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2376
|
+
}, z.core.$strip>]>;
|
|
2377
|
+
export type DynamicValue = z.infer<typeof DynamicValueSchema>;
|
|
2378
|
+
/**
|
|
2379
|
+
* The A2-UI Action schema for an action-typed prop: the standard A2-UI event shape
|
|
2380
|
+
* { event: { name; context } }. Named DynamicAction to stay distinct from the generated base
|
|
2381
|
+
* action-contract ActionSchema and from a component's dispatchable *Actions contract.
|
|
2382
|
+
*/
|
|
2383
|
+
export declare const DynamicActionSchema: z.ZodObject<{
|
|
2384
|
+
event: z.ZodObject<{
|
|
2385
|
+
name: z.ZodString;
|
|
2386
|
+
context: z.ZodOptional<z.ZodUnknown>;
|
|
2387
|
+
}, z.core.$strip>;
|
|
2388
|
+
}, z.core.$strip>;
|
|
2389
|
+
export type DynamicAction = z.infer<typeof DynamicActionSchema>;
|
|
2390
|
+
/**
|
|
2391
|
+
* Per-component props schemas for the renderer catalog (one per component), passed to
|
|
2392
|
+
* `createCatalog` as each component's `{ props }` schema. Each bindable prop is an A2-UI
|
|
2393
|
+
* Dynamic_Value, so the renderer's binder resolves its `{ path }` binding against the A2-UI
|
|
2394
|
+
* data model; composition child-ref props stay static so child ids reach the renderer
|
|
2395
|
+
* untouched. The resolved shape a renderer actually reads is the `XxxProps` type.
|
|
1841
2396
|
*/
|
|
1842
2397
|
export declare const BundleDisplayPropsSchema: z.ZodObject<{
|
|
1843
|
-
|
|
1844
|
-
|
|
2398
|
+
tiers: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2399
|
+
path: z.ZodString;
|
|
2400
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2401
|
+
functionName: z.ZodString;
|
|
2402
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2403
|
+
}, z.core.$strip>]>;
|
|
1845
2404
|
}, z.core.$strip>;
|
|
1846
|
-
export
|
|
2405
|
+
export declare const CartPropsSchema: z.ZodObject<{}, z.core.$strip>;
|
|
1847
2406
|
export declare const CategoryFacetPropsSchema: z.ZodObject<{
|
|
1848
|
-
|
|
1849
|
-
|
|
2407
|
+
field: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2408
|
+
path: z.ZodString;
|
|
2409
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2410
|
+
functionName: z.ZodString;
|
|
2411
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2412
|
+
}, z.core.$strip>]>;
|
|
2413
|
+
displayName: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2414
|
+
path: z.ZodString;
|
|
2415
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2416
|
+
functionName: z.ZodString;
|
|
2417
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2418
|
+
}, z.core.$strip>]>;
|
|
2419
|
+
values: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2420
|
+
path: z.ZodString;
|
|
2421
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2422
|
+
functionName: z.ZodString;
|
|
2423
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2424
|
+
}, z.core.$strip>]>;
|
|
2425
|
+
canShowMoreValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2426
|
+
path: z.ZodString;
|
|
2427
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2428
|
+
functionName: z.ZodString;
|
|
2429
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2430
|
+
}, z.core.$strip>]>;
|
|
2431
|
+
canShowLessValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2432
|
+
path: z.ZodString;
|
|
2433
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2434
|
+
functionName: z.ZodString;
|
|
2435
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2436
|
+
}, z.core.$strip>]>;
|
|
2437
|
+
facetSearch: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2438
|
+
path: z.ZodString;
|
|
2439
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2440
|
+
functionName: z.ZodString;
|
|
2441
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2442
|
+
}, z.core.$strip>]>;
|
|
1850
2443
|
}, z.core.$strip>;
|
|
1851
|
-
export type CategoryFacetProps = z.infer<typeof CategoryFacetPropsSchema>;
|
|
1852
2444
|
export declare const CommerceSearchPropsSchema: z.ZodObject<{
|
|
1853
|
-
|
|
1854
|
-
|
|
2445
|
+
sidebarChild: z.ZodOptional<z.ZodString>;
|
|
2446
|
+
mainChild: z.ZodOptional<z.ZodString>;
|
|
1855
2447
|
}, z.core.$strip>;
|
|
1856
|
-
export type CommerceSearchProps = z.infer<typeof CommerceSearchPropsSchema>;
|
|
1857
2448
|
export declare const ComparisonTablePropsSchema: z.ZodObject<{
|
|
1858
|
-
|
|
1859
|
-
|
|
2449
|
+
heading: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2450
|
+
path: z.ZodString;
|
|
2451
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2452
|
+
functionName: z.ZodString;
|
|
2453
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2454
|
+
}, z.core.$strip>]>;
|
|
2455
|
+
summary: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2456
|
+
path: z.ZodString;
|
|
2457
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2458
|
+
functionName: z.ZodString;
|
|
2459
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2460
|
+
}, z.core.$strip>]>;
|
|
2461
|
+
products: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2462
|
+
path: z.ZodString;
|
|
2463
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2464
|
+
functionName: z.ZodString;
|
|
2465
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2466
|
+
}, z.core.$strip>]>;
|
|
2467
|
+
attributes: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2468
|
+
path: z.ZodString;
|
|
2469
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2470
|
+
functionName: z.ZodString;
|
|
2471
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2472
|
+
}, z.core.$strip>]>;
|
|
1860
2473
|
}, z.core.$strip>;
|
|
1861
|
-
export type ComparisonTableProps = z.infer<typeof ComparisonTablePropsSchema>;
|
|
1862
2474
|
export declare const DateFacetPropsSchema: z.ZodObject<{
|
|
1863
|
-
|
|
1864
|
-
|
|
2475
|
+
field: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2476
|
+
path: z.ZodString;
|
|
2477
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2478
|
+
functionName: z.ZodString;
|
|
2479
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2480
|
+
}, z.core.$strip>]>;
|
|
2481
|
+
displayName: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2482
|
+
path: z.ZodString;
|
|
2483
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2484
|
+
functionName: z.ZodString;
|
|
2485
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2486
|
+
}, z.core.$strip>]>;
|
|
2487
|
+
values: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2488
|
+
path: z.ZodString;
|
|
2489
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2490
|
+
functionName: z.ZodString;
|
|
2491
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2492
|
+
}, z.core.$strip>]>;
|
|
2493
|
+
customRange: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2494
|
+
path: z.ZodString;
|
|
2495
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2496
|
+
functionName: z.ZodString;
|
|
2497
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2498
|
+
}, z.core.$strip>]>;
|
|
2499
|
+
hasActiveValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2500
|
+
path: z.ZodString;
|
|
2501
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2502
|
+
functionName: z.ZodString;
|
|
2503
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2504
|
+
}, z.core.$strip>]>;
|
|
2505
|
+
canShowMoreValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2506
|
+
path: z.ZodString;
|
|
2507
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2508
|
+
functionName: z.ZodString;
|
|
2509
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2510
|
+
}, z.core.$strip>]>;
|
|
2511
|
+
canShowLessValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2512
|
+
path: z.ZodString;
|
|
2513
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2514
|
+
functionName: z.ZodString;
|
|
2515
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2516
|
+
}, z.core.$strip>]>;
|
|
1865
2517
|
}, z.core.$strip>;
|
|
1866
|
-
export type DateFacetProps = z.infer<typeof DateFacetPropsSchema>;
|
|
1867
2518
|
export declare const FacetManagerPropsSchema: z.ZodObject<{
|
|
1868
|
-
|
|
1869
|
-
componentType: z.ZodLiteral<"facet-manager">;
|
|
2519
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1870
2520
|
}, z.core.$strip>;
|
|
1871
|
-
export type FacetManagerProps = z.infer<typeof FacetManagerPropsSchema>;
|
|
1872
2521
|
export declare const LayoutStackPropsSchema: z.ZodObject<{
|
|
1873
|
-
|
|
1874
|
-
|
|
2522
|
+
direction: z.ZodOptional<z.ZodString>;
|
|
2523
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1875
2524
|
}, z.core.$strip>;
|
|
1876
|
-
export type LayoutStackProps = z.infer<typeof LayoutStackPropsSchema>;
|
|
1877
2525
|
export declare const NextActionsBarPropsSchema: z.ZodObject<{
|
|
1878
|
-
|
|
1879
|
-
|
|
2526
|
+
suggestedActions: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2527
|
+
path: z.ZodString;
|
|
2528
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2529
|
+
functionName: z.ZodString;
|
|
2530
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2531
|
+
}, z.core.$strip>]>;
|
|
1880
2532
|
}, z.core.$strip>;
|
|
1881
|
-
export type NextActionsBarProps = z.infer<typeof NextActionsBarPropsSchema>;
|
|
1882
2533
|
export declare const NumericFacetPropsSchema: z.ZodObject<{
|
|
1883
|
-
|
|
1884
|
-
|
|
2534
|
+
field: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2535
|
+
path: z.ZodString;
|
|
2536
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2537
|
+
functionName: z.ZodString;
|
|
2538
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2539
|
+
}, z.core.$strip>]>;
|
|
2540
|
+
displayName: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2541
|
+
path: z.ZodString;
|
|
2542
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2543
|
+
functionName: z.ZodString;
|
|
2544
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2545
|
+
}, z.core.$strip>]>;
|
|
2546
|
+
values: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2547
|
+
path: z.ZodString;
|
|
2548
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2549
|
+
functionName: z.ZodString;
|
|
2550
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2551
|
+
}, z.core.$strip>]>;
|
|
2552
|
+
customRange: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2553
|
+
path: z.ZodString;
|
|
2554
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2555
|
+
functionName: z.ZodString;
|
|
2556
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2557
|
+
}, z.core.$strip>]>;
|
|
2558
|
+
hasActiveValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2559
|
+
path: z.ZodString;
|
|
2560
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2561
|
+
functionName: z.ZodString;
|
|
2562
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2563
|
+
}, z.core.$strip>]>;
|
|
2564
|
+
canShowMoreValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2565
|
+
path: z.ZodString;
|
|
2566
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2567
|
+
functionName: z.ZodString;
|
|
2568
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2569
|
+
}, z.core.$strip>]>;
|
|
2570
|
+
canShowLessValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2571
|
+
path: z.ZodString;
|
|
2572
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2573
|
+
functionName: z.ZodString;
|
|
2574
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2575
|
+
}, z.core.$strip>]>;
|
|
2576
|
+
domain: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2577
|
+
path: z.ZodString;
|
|
2578
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2579
|
+
functionName: z.ZodString;
|
|
2580
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2581
|
+
}, z.core.$strip>]>;
|
|
1885
2582
|
}, z.core.$strip>;
|
|
1886
|
-
export type NumericFacetProps = z.infer<typeof NumericFacetPropsSchema>;
|
|
1887
2583
|
export declare const PageSizePropsSchema: z.ZodObject<{
|
|
1888
|
-
|
|
1889
|
-
|
|
2584
|
+
pageSize: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2585
|
+
path: z.ZodString;
|
|
2586
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2587
|
+
functionName: z.ZodString;
|
|
2588
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2589
|
+
}, z.core.$strip>]>;
|
|
1890
2590
|
}, z.core.$strip>;
|
|
1891
|
-
export type PageSizeProps = z.infer<typeof PageSizePropsSchema>;
|
|
1892
2591
|
export declare const PaginationPropsSchema: z.ZodObject<{
|
|
1893
|
-
|
|
1894
|
-
|
|
2592
|
+
page: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2593
|
+
path: z.ZodString;
|
|
2594
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2595
|
+
functionName: z.ZodString;
|
|
2596
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2597
|
+
}, z.core.$strip>]>;
|
|
2598
|
+
pageSize: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2599
|
+
path: z.ZodString;
|
|
2600
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2601
|
+
functionName: z.ZodString;
|
|
2602
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2603
|
+
}, z.core.$strip>]>;
|
|
2604
|
+
totalEntries: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2605
|
+
path: z.ZodString;
|
|
2606
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2607
|
+
functionName: z.ZodString;
|
|
2608
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2609
|
+
}, z.core.$strip>]>;
|
|
2610
|
+
totalPages: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2611
|
+
path: z.ZodString;
|
|
2612
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2613
|
+
functionName: z.ZodString;
|
|
2614
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2615
|
+
}, z.core.$strip>]>;
|
|
1895
2616
|
}, z.core.$strip>;
|
|
1896
|
-
export type PaginationProps = z.infer<typeof PaginationPropsSchema>;
|
|
1897
2617
|
export declare const ProductCarouselPropsSchema: z.ZodObject<{
|
|
1898
|
-
|
|
1899
|
-
|
|
2618
|
+
heading: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2619
|
+
path: z.ZodString;
|
|
2620
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2621
|
+
functionName: z.ZodString;
|
|
2622
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2623
|
+
}, z.core.$strip>]>;
|
|
2624
|
+
products: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2625
|
+
path: z.ZodString;
|
|
2626
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2627
|
+
functionName: z.ZodString;
|
|
2628
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2629
|
+
}, z.core.$strip>]>;
|
|
1900
2630
|
}, z.core.$strip>;
|
|
1901
|
-
export type ProductCarouselProps = z.infer<typeof ProductCarouselPropsSchema>;
|
|
1902
2631
|
export declare const ProductListPropsSchema: z.ZodObject<{
|
|
1903
|
-
|
|
1904
|
-
|
|
2632
|
+
products: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2633
|
+
path: z.ZodString;
|
|
2634
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2635
|
+
functionName: z.ZodString;
|
|
2636
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2637
|
+
}, z.core.$strip>]>;
|
|
1905
2638
|
}, z.core.$strip>;
|
|
1906
|
-
export type ProductListProps = z.infer<typeof ProductListPropsSchema>;
|
|
1907
2639
|
export declare const ProductSummaryPropsSchema: z.ZodObject<{
|
|
1908
|
-
|
|
1909
|
-
|
|
2640
|
+
categoryLabel: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2641
|
+
path: z.ZodString;
|
|
2642
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2643
|
+
functionName: z.ZodString;
|
|
2644
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2645
|
+
}, z.core.$strip>]>;
|
|
2646
|
+
product: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2647
|
+
path: z.ZodString;
|
|
2648
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2649
|
+
functionName: z.ZodString;
|
|
2650
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2651
|
+
}, z.core.$strip>]>;
|
|
2652
|
+
}, z.core.$strip>;
|
|
2653
|
+
export declare const QuerySuggestionsPropsSchema: z.ZodObject<{
|
|
2654
|
+
query: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2655
|
+
path: z.ZodString;
|
|
2656
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2657
|
+
functionName: z.ZodString;
|
|
2658
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2659
|
+
}, z.core.$strip>]>;
|
|
2660
|
+
completions: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2661
|
+
path: z.ZodString;
|
|
2662
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2663
|
+
functionName: z.ZodString;
|
|
2664
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2665
|
+
}, z.core.$strip>]>;
|
|
2666
|
+
products: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2667
|
+
path: z.ZodString;
|
|
2668
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2669
|
+
functionName: z.ZodString;
|
|
2670
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2671
|
+
}, z.core.$strip>]>;
|
|
1910
2672
|
}, z.core.$strip>;
|
|
1911
|
-
export type ProductSummaryProps = z.infer<typeof ProductSummaryPropsSchema>;
|
|
1912
2673
|
export declare const QuerySummaryPropsSchema: z.ZodObject<{
|
|
1913
|
-
|
|
1914
|
-
|
|
2674
|
+
query: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2675
|
+
path: z.ZodString;
|
|
2676
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2677
|
+
functionName: z.ZodString;
|
|
2678
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2679
|
+
}, z.core.$strip>]>;
|
|
2680
|
+
firstIndex: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2681
|
+
path: z.ZodString;
|
|
2682
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2683
|
+
functionName: z.ZodString;
|
|
2684
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2685
|
+
}, z.core.$strip>]>;
|
|
2686
|
+
lastIndex: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2687
|
+
path: z.ZodString;
|
|
2688
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2689
|
+
functionName: z.ZodString;
|
|
2690
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2691
|
+
}, z.core.$strip>]>;
|
|
2692
|
+
totalEntries: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2693
|
+
path: z.ZodString;
|
|
2694
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2695
|
+
functionName: z.ZodString;
|
|
2696
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2697
|
+
}, z.core.$strip>]>;
|
|
1915
2698
|
}, z.core.$strip>;
|
|
1916
|
-
export type QuerySummaryProps = z.infer<typeof QuerySummaryPropsSchema>;
|
|
1917
2699
|
export declare const RegularFacetPropsSchema: z.ZodObject<{
|
|
1918
|
-
|
|
1919
|
-
|
|
2700
|
+
field: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2701
|
+
path: z.ZodString;
|
|
2702
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2703
|
+
functionName: z.ZodString;
|
|
2704
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2705
|
+
}, z.core.$strip>]>;
|
|
2706
|
+
displayName: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2707
|
+
path: z.ZodString;
|
|
2708
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2709
|
+
functionName: z.ZodString;
|
|
2710
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2711
|
+
}, z.core.$strip>]>;
|
|
2712
|
+
values: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2713
|
+
path: z.ZodString;
|
|
2714
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2715
|
+
functionName: z.ZodString;
|
|
2716
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2717
|
+
}, z.core.$strip>]>;
|
|
2718
|
+
hasActiveValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2719
|
+
path: z.ZodString;
|
|
2720
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2721
|
+
functionName: z.ZodString;
|
|
2722
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2723
|
+
}, z.core.$strip>]>;
|
|
2724
|
+
canShowMoreValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2725
|
+
path: z.ZodString;
|
|
2726
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2727
|
+
functionName: z.ZodString;
|
|
2728
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2729
|
+
}, z.core.$strip>]>;
|
|
2730
|
+
canShowLessValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2731
|
+
path: z.ZodString;
|
|
2732
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2733
|
+
functionName: z.ZodString;
|
|
2734
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2735
|
+
}, z.core.$strip>]>;
|
|
2736
|
+
facetSearch: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2737
|
+
path: z.ZodString;
|
|
2738
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2739
|
+
functionName: z.ZodString;
|
|
2740
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2741
|
+
}, z.core.$strip>]>;
|
|
1920
2742
|
}, z.core.$strip>;
|
|
1921
|
-
export type RegularFacetProps = z.infer<typeof RegularFacetPropsSchema>;
|
|
1922
2743
|
export declare const SortPropsSchema: z.ZodObject<{
|
|
1923
|
-
|
|
1924
|
-
|
|
2744
|
+
appliedSort: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2745
|
+
path: z.ZodString;
|
|
2746
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2747
|
+
functionName: z.ZodString;
|
|
2748
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2749
|
+
}, z.core.$strip>]>;
|
|
2750
|
+
availableSorts: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2751
|
+
path: z.ZodString;
|
|
2752
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2753
|
+
functionName: z.ZodString;
|
|
2754
|
+
args: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2755
|
+
}, z.core.$strip>]>;
|
|
1925
2756
|
}, z.core.$strip>;
|
|
1926
|
-
|
|
2757
|
+
/**
|
|
2758
|
+
* Per-component action unions in the standard A2-UI event shape
|
|
2759
|
+
* { event: { name: <literal>; context: <typed payload> } }, one member per declared action.
|
|
2760
|
+
* Derived from each component's *Actions contract (action-map key -> payload), NOT from
|
|
2761
|
+
* quicktype's auto-named payload wrappers. A component with no actions has `type XxxAction =
|
|
2762
|
+
* never`. The wire field is `context`; the internal validation layer calls the same data
|
|
2763
|
+
* `payload` (see design: Action typing).
|
|
2764
|
+
*/
|
|
2765
|
+
export declare const BundleDisplayActionSchema: z.ZodNever;
|
|
2766
|
+
export type BundleDisplayAction = never;
|
|
2767
|
+
export declare const CartActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
2768
|
+
event: z.ZodObject<{
|
|
2769
|
+
name: z.ZodLiteral<"updateCart">;
|
|
2770
|
+
context: z.ZodObject<{
|
|
2771
|
+
productId: z.ZodString;
|
|
2772
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2773
|
+
price: z.ZodOptional<z.ZodUnknown>;
|
|
2774
|
+
quantity: z.ZodNumber;
|
|
2775
|
+
operation: z.ZodEnum<{
|
|
2776
|
+
add: "add";
|
|
2777
|
+
remove: "remove";
|
|
2778
|
+
setQuantity: "setQuantity";
|
|
2779
|
+
}>;
|
|
2780
|
+
}, z.core.$strict>;
|
|
2781
|
+
}, z.core.$strip>;
|
|
2782
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2783
|
+
event: z.ZodObject<{
|
|
2784
|
+
name: z.ZodLiteral<"purchase">;
|
|
2785
|
+
context: z.ZodObject<{
|
|
2786
|
+
products: z.ZodArray<z.ZodUnknown>;
|
|
2787
|
+
transaction: z.ZodUnknown;
|
|
2788
|
+
}, z.core.$strict>;
|
|
2789
|
+
}, z.core.$strip>;
|
|
2790
|
+
}, z.core.$strip>]>;
|
|
2791
|
+
export type CartAction = z.infer<typeof CartActionSchema>;
|
|
2792
|
+
export declare const CategoryFacetActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
2793
|
+
event: z.ZodObject<{
|
|
2794
|
+
name: z.ZodLiteral<"selectPath">;
|
|
2795
|
+
context: z.ZodObject<{
|
|
2796
|
+
path: z.ZodArray<z.ZodString>;
|
|
2797
|
+
}, z.core.$strict>;
|
|
2798
|
+
}, z.core.$strip>;
|
|
2799
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2800
|
+
event: z.ZodObject<{
|
|
2801
|
+
name: z.ZodLiteral<"clearSelectedPath">;
|
|
2802
|
+
context: z.ZodUnknown;
|
|
2803
|
+
}, z.core.$strip>;
|
|
2804
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2805
|
+
event: z.ZodObject<{
|
|
2806
|
+
name: z.ZodLiteral<"search">;
|
|
2807
|
+
context: z.ZodObject<{
|
|
2808
|
+
query: z.ZodString;
|
|
2809
|
+
}, z.core.$strict>;
|
|
2810
|
+
}, z.core.$strip>;
|
|
2811
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2812
|
+
event: z.ZodObject<{
|
|
2813
|
+
name: z.ZodLiteral<"showMoreSearchResults">;
|
|
2814
|
+
context: z.ZodUnknown;
|
|
2815
|
+
}, z.core.$strip>;
|
|
2816
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2817
|
+
event: z.ZodObject<{
|
|
2818
|
+
name: z.ZodLiteral<"clearSearch">;
|
|
2819
|
+
context: z.ZodUnknown;
|
|
2820
|
+
}, z.core.$strip>;
|
|
2821
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2822
|
+
event: z.ZodObject<{
|
|
2823
|
+
name: z.ZodLiteral<"showMoreValues">;
|
|
2824
|
+
context: z.ZodUnknown;
|
|
2825
|
+
}, z.core.$strip>;
|
|
2826
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2827
|
+
event: z.ZodObject<{
|
|
2828
|
+
name: z.ZodLiteral<"showLessValues">;
|
|
2829
|
+
context: z.ZodUnknown;
|
|
2830
|
+
}, z.core.$strip>;
|
|
2831
|
+
}, z.core.$strip>]>;
|
|
2832
|
+
export type CategoryFacetAction = z.infer<typeof CategoryFacetActionSchema>;
|
|
2833
|
+
export declare const CommerceSearchActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
2834
|
+
event: z.ZodObject<{
|
|
2835
|
+
name: z.ZodLiteral<"submitQuery">;
|
|
2836
|
+
context: z.ZodObject<{
|
|
2837
|
+
query: z.ZodString;
|
|
2838
|
+
}, z.core.$strict>;
|
|
2839
|
+
}, z.core.$strip>;
|
|
2840
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2841
|
+
event: z.ZodObject<{
|
|
2842
|
+
name: z.ZodLiteral<"restoreState">;
|
|
2843
|
+
context: z.ZodObject<{
|
|
2844
|
+
query: z.ZodString;
|
|
2845
|
+
page: z.ZodNumber;
|
|
2846
|
+
pageSize: z.ZodNumber;
|
|
2847
|
+
sortCriteria: z.ZodOptional<z.ZodString>;
|
|
2848
|
+
facets: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
2849
|
+
pinnedProducts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2850
|
+
}, z.core.$strict>;
|
|
2851
|
+
}, z.core.$strip>;
|
|
2852
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2853
|
+
event: z.ZodObject<{
|
|
2854
|
+
name: z.ZodLiteral<"overrideCorrection">;
|
|
2855
|
+
context: z.ZodObject<{
|
|
2856
|
+
originalQuery: z.ZodString;
|
|
2857
|
+
}, z.core.$strict>;
|
|
2858
|
+
}, z.core.$strip>;
|
|
2859
|
+
}, z.core.$strip>]>;
|
|
2860
|
+
export type CommerceSearchAction = z.infer<typeof CommerceSearchActionSchema>;
|
|
2861
|
+
export declare const ComparisonTableActionSchema: z.ZodNever;
|
|
2862
|
+
export type ComparisonTableAction = never;
|
|
2863
|
+
export declare const DateFacetActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
2864
|
+
event: z.ZodObject<{
|
|
2865
|
+
name: z.ZodLiteral<"toggleSelect">;
|
|
2866
|
+
context: z.ZodObject<{
|
|
2867
|
+
start: z.ZodString;
|
|
2868
|
+
end: z.ZodString;
|
|
2869
|
+
}, z.core.$strict>;
|
|
2870
|
+
}, z.core.$strip>;
|
|
2871
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2872
|
+
event: z.ZodObject<{
|
|
2873
|
+
name: z.ZodLiteral<"toggleSingleSelect">;
|
|
2874
|
+
context: z.ZodObject<{
|
|
2875
|
+
start: z.ZodString;
|
|
2876
|
+
end: z.ZodString;
|
|
2877
|
+
}, z.core.$strict>;
|
|
2878
|
+
}, z.core.$strip>;
|
|
2879
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2880
|
+
event: z.ZodObject<{
|
|
2881
|
+
name: z.ZodLiteral<"clearAllActiveValues">;
|
|
2882
|
+
context: z.ZodUnknown;
|
|
2883
|
+
}, z.core.$strip>;
|
|
2884
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2885
|
+
event: z.ZodObject<{
|
|
2886
|
+
name: z.ZodLiteral<"applyCustomRange">;
|
|
2887
|
+
context: z.ZodObject<{
|
|
2888
|
+
start: z.ZodString;
|
|
2889
|
+
end: z.ZodString;
|
|
2890
|
+
}, z.core.$strict>;
|
|
2891
|
+
}, z.core.$strip>;
|
|
2892
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2893
|
+
event: z.ZodObject<{
|
|
2894
|
+
name: z.ZodLiteral<"showMoreValues">;
|
|
2895
|
+
context: z.ZodUnknown;
|
|
2896
|
+
}, z.core.$strip>;
|
|
2897
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2898
|
+
event: z.ZodObject<{
|
|
2899
|
+
name: z.ZodLiteral<"showLessValues">;
|
|
2900
|
+
context: z.ZodUnknown;
|
|
2901
|
+
}, z.core.$strip>;
|
|
2902
|
+
}, z.core.$strip>]>;
|
|
2903
|
+
export type DateFacetAction = z.infer<typeof DateFacetActionSchema>;
|
|
2904
|
+
export declare const FacetManagerActionSchema: z.ZodNever;
|
|
2905
|
+
export type FacetManagerAction = never;
|
|
2906
|
+
export declare const LayoutStackActionSchema: z.ZodNever;
|
|
2907
|
+
export type LayoutStackAction = never;
|
|
2908
|
+
export declare const NextActionsBarActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
2909
|
+
event: z.ZodObject<{
|
|
2910
|
+
name: z.ZodLiteral<"selectAction">;
|
|
2911
|
+
context: z.ZodObject<{
|
|
2912
|
+
text: z.ZodString;
|
|
2913
|
+
type: z.ZodEnum<{
|
|
2914
|
+
followup: "followup";
|
|
2915
|
+
search: "search";
|
|
2916
|
+
}>;
|
|
2917
|
+
}, z.core.$strict>;
|
|
2918
|
+
}, z.core.$strip>;
|
|
2919
|
+
}, z.core.$strip>]>;
|
|
2920
|
+
export type NextActionsBarAction = z.infer<typeof NextActionsBarActionSchema>;
|
|
2921
|
+
export declare const NumericFacetActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
2922
|
+
event: z.ZodObject<{
|
|
2923
|
+
name: z.ZodLiteral<"toggleSelect">;
|
|
2924
|
+
context: z.ZodObject<{
|
|
2925
|
+
start: z.ZodNumber;
|
|
2926
|
+
end: z.ZodNumber;
|
|
2927
|
+
}, z.core.$strict>;
|
|
2928
|
+
}, z.core.$strip>;
|
|
2929
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2930
|
+
event: z.ZodObject<{
|
|
2931
|
+
name: z.ZodLiteral<"toggleSingleSelect">;
|
|
2932
|
+
context: z.ZodObject<{
|
|
2933
|
+
start: z.ZodNumber;
|
|
2934
|
+
end: z.ZodNumber;
|
|
2935
|
+
}, z.core.$strict>;
|
|
2936
|
+
}, z.core.$strip>;
|
|
2937
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2938
|
+
event: z.ZodObject<{
|
|
2939
|
+
name: z.ZodLiteral<"clearAllActiveValues">;
|
|
2940
|
+
context: z.ZodUnknown;
|
|
2941
|
+
}, z.core.$strip>;
|
|
2942
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2943
|
+
event: z.ZodObject<{
|
|
2944
|
+
name: z.ZodLiteral<"applyCustomRange">;
|
|
2945
|
+
context: z.ZodObject<{
|
|
2946
|
+
start: z.ZodNumber;
|
|
2947
|
+
end: z.ZodNumber;
|
|
2948
|
+
}, z.core.$strict>;
|
|
2949
|
+
}, z.core.$strip>;
|
|
2950
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2951
|
+
event: z.ZodObject<{
|
|
2952
|
+
name: z.ZodLiteral<"showMoreValues">;
|
|
2953
|
+
context: z.ZodUnknown;
|
|
2954
|
+
}, z.core.$strip>;
|
|
2955
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2956
|
+
event: z.ZodObject<{
|
|
2957
|
+
name: z.ZodLiteral<"showLessValues">;
|
|
2958
|
+
context: z.ZodUnknown;
|
|
2959
|
+
}, z.core.$strip>;
|
|
2960
|
+
}, z.core.$strip>]>;
|
|
2961
|
+
export type NumericFacetAction = z.infer<typeof NumericFacetActionSchema>;
|
|
2962
|
+
export declare const PageSizeActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
2963
|
+
event: z.ZodObject<{
|
|
2964
|
+
name: z.ZodLiteral<"setPageSize">;
|
|
2965
|
+
context: z.ZodObject<{
|
|
2966
|
+
pageSize: z.ZodNumber;
|
|
2967
|
+
}, z.core.$strict>;
|
|
2968
|
+
}, z.core.$strip>;
|
|
2969
|
+
}, z.core.$strip>]>;
|
|
2970
|
+
export type PageSizeAction = z.infer<typeof PageSizeActionSchema>;
|
|
2971
|
+
export declare const PaginationActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
2972
|
+
event: z.ZodObject<{
|
|
2973
|
+
name: z.ZodLiteral<"selectPage">;
|
|
2974
|
+
context: z.ZodObject<{
|
|
2975
|
+
page: z.ZodNumber;
|
|
2976
|
+
}, z.core.$strict>;
|
|
2977
|
+
}, z.core.$strip>;
|
|
2978
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2979
|
+
event: z.ZodObject<{
|
|
2980
|
+
name: z.ZodLiteral<"setPageSize">;
|
|
2981
|
+
context: z.ZodObject<{
|
|
2982
|
+
pageSize: z.ZodNumber;
|
|
2983
|
+
}, z.core.$strict>;
|
|
2984
|
+
}, z.core.$strip>;
|
|
2985
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2986
|
+
event: z.ZodObject<{
|
|
2987
|
+
name: z.ZodLiteral<"showMore">;
|
|
2988
|
+
context: z.ZodObject<{}, z.core.$strict>;
|
|
2989
|
+
}, z.core.$strip>;
|
|
2990
|
+
}, z.core.$strip>]>;
|
|
2991
|
+
export type PaginationAction = z.infer<typeof PaginationActionSchema>;
|
|
2992
|
+
export declare const ProductCarouselActionSchema: z.ZodNever;
|
|
2993
|
+
export type ProductCarouselAction = never;
|
|
2994
|
+
export declare const ProductListActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
2995
|
+
event: z.ZodObject<{
|
|
2996
|
+
name: z.ZodLiteral<"selectProducts">;
|
|
2997
|
+
context: z.ZodObject<{
|
|
2998
|
+
productIds: z.ZodArray<z.ZodString>;
|
|
2999
|
+
}, z.core.$strict>;
|
|
3000
|
+
}, z.core.$strip>;
|
|
3001
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3002
|
+
event: z.ZodObject<{
|
|
3003
|
+
name: z.ZodLiteral<"productClick">;
|
|
3004
|
+
context: z.ZodObject<{
|
|
3005
|
+
productId: z.ZodString;
|
|
3006
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3007
|
+
price: z.ZodOptional<z.ZodUnknown>;
|
|
3008
|
+
position: z.ZodNumber;
|
|
3009
|
+
}, z.core.$strict>;
|
|
3010
|
+
}, z.core.$strip>;
|
|
3011
|
+
}, z.core.$strip>]>;
|
|
3012
|
+
export type ProductListAction = z.infer<typeof ProductListActionSchema>;
|
|
3013
|
+
export declare const ProductSummaryActionSchema: z.ZodNever;
|
|
3014
|
+
export type ProductSummaryAction = never;
|
|
3015
|
+
export declare const QuerySuggestionsActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
3016
|
+
event: z.ZodObject<{
|
|
3017
|
+
name: z.ZodLiteral<"fetchSuggestions">;
|
|
3018
|
+
context: z.ZodObject<{
|
|
3019
|
+
query: z.ZodString;
|
|
3020
|
+
}, z.core.$strict>;
|
|
3021
|
+
}, z.core.$strip>;
|
|
3022
|
+
}, z.core.$strip>]>;
|
|
3023
|
+
export type QuerySuggestionsAction = z.infer<typeof QuerySuggestionsActionSchema>;
|
|
3024
|
+
export declare const QuerySummaryActionSchema: z.ZodNever;
|
|
3025
|
+
export type QuerySummaryAction = never;
|
|
3026
|
+
export declare const RegularFacetActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
3027
|
+
event: z.ZodObject<{
|
|
3028
|
+
name: z.ZodLiteral<"toggleSelect">;
|
|
3029
|
+
context: z.ZodObject<{
|
|
3030
|
+
value: z.ZodString;
|
|
3031
|
+
}, z.core.$strict>;
|
|
3032
|
+
}, z.core.$strip>;
|
|
3033
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3034
|
+
event: z.ZodObject<{
|
|
3035
|
+
name: z.ZodLiteral<"toggleExclude">;
|
|
3036
|
+
context: z.ZodObject<{
|
|
3037
|
+
value: z.ZodString;
|
|
3038
|
+
}, z.core.$strict>;
|
|
3039
|
+
}, z.core.$strip>;
|
|
3040
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3041
|
+
event: z.ZodObject<{
|
|
3042
|
+
name: z.ZodLiteral<"toggleSingleSelect">;
|
|
3043
|
+
context: z.ZodObject<{
|
|
3044
|
+
value: z.ZodString;
|
|
3045
|
+
}, z.core.$strict>;
|
|
3046
|
+
}, z.core.$strip>;
|
|
3047
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3048
|
+
event: z.ZodObject<{
|
|
3049
|
+
name: z.ZodLiteral<"toggleSingleExclude">;
|
|
3050
|
+
context: z.ZodObject<{
|
|
3051
|
+
value: z.ZodString;
|
|
3052
|
+
}, z.core.$strict>;
|
|
3053
|
+
}, z.core.$strip>;
|
|
3054
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3055
|
+
event: z.ZodObject<{
|
|
3056
|
+
name: z.ZodLiteral<"clearAllActiveValues">;
|
|
3057
|
+
context: z.ZodUnknown;
|
|
3058
|
+
}, z.core.$strip>;
|
|
3059
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3060
|
+
event: z.ZodObject<{
|
|
3061
|
+
name: z.ZodLiteral<"search">;
|
|
3062
|
+
context: z.ZodObject<{
|
|
3063
|
+
query: z.ZodString;
|
|
3064
|
+
}, z.core.$strict>;
|
|
3065
|
+
}, z.core.$strip>;
|
|
3066
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3067
|
+
event: z.ZodObject<{
|
|
3068
|
+
name: z.ZodLiteral<"showMoreSearchResults">;
|
|
3069
|
+
context: z.ZodUnknown;
|
|
3070
|
+
}, z.core.$strip>;
|
|
3071
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3072
|
+
event: z.ZodObject<{
|
|
3073
|
+
name: z.ZodLiteral<"clearSearch">;
|
|
3074
|
+
context: z.ZodUnknown;
|
|
3075
|
+
}, z.core.$strip>;
|
|
3076
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3077
|
+
event: z.ZodObject<{
|
|
3078
|
+
name: z.ZodLiteral<"showMoreValues">;
|
|
3079
|
+
context: z.ZodUnknown;
|
|
3080
|
+
}, z.core.$strip>;
|
|
3081
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3082
|
+
event: z.ZodObject<{
|
|
3083
|
+
name: z.ZodLiteral<"showLessValues">;
|
|
3084
|
+
context: z.ZodUnknown;
|
|
3085
|
+
}, z.core.$strip>;
|
|
3086
|
+
}, z.core.$strip>]>;
|
|
3087
|
+
export type RegularFacetAction = z.infer<typeof RegularFacetActionSchema>;
|
|
3088
|
+
export declare const SortActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
3089
|
+
event: z.ZodObject<{
|
|
3090
|
+
name: z.ZodLiteral<"selectSort">;
|
|
3091
|
+
context: z.ZodObject<{
|
|
3092
|
+
sortCriteria: z.ZodString;
|
|
3093
|
+
fields: z.ZodArray<z.ZodUnknown>;
|
|
3094
|
+
}, z.core.$strict>;
|
|
3095
|
+
}, z.core.$strip>;
|
|
3096
|
+
}, z.core.$strip>]>;
|
|
3097
|
+
export type SortAction = z.infer<typeof SortActionSchema>;
|
|
3098
|
+
/**
|
|
3099
|
+
* Per-component RESOLVED props — the values a renderer receives in `props` after the A2-UI
|
|
3100
|
+
* binder resolves each `{ path }` Data_Binding against the data model populated by
|
|
3101
|
+
* `updateDataModel`. For a leaf component this is its `XxxState`; for a container it also
|
|
3102
|
+
* carries the static composition child-ref fields (e.g. `sidebarChild` / `mainChild` /
|
|
3103
|
+
* `children`) declared on the component's props contract. Use this to type your renderer's
|
|
3104
|
+
* `props`. The matching bindable schema you pass to the renderer catalog is `XxxPropsSchema`
|
|
3105
|
+
* (its fields may still be `{ path }` bindings; this resolved type is what the renderer reads).
|
|
3106
|
+
*/
|
|
3107
|
+
export type BundleDisplayProps = BundleDisplayState;
|
|
3108
|
+
export type CartProps = CartState;
|
|
3109
|
+
export type CategoryFacetProps = CategoryFacetState;
|
|
3110
|
+
export type CommerceSearchProps = CommerceSearchState & {
|
|
3111
|
+
sidebarChild?: string;
|
|
3112
|
+
mainChild?: string;
|
|
3113
|
+
};
|
|
3114
|
+
export type ComparisonTableProps = ComparisonTableState;
|
|
3115
|
+
export type DateFacetProps = DateFacetState;
|
|
3116
|
+
export type FacetManagerProps = FacetManagerState & {
|
|
3117
|
+
children?: string[];
|
|
3118
|
+
};
|
|
3119
|
+
export type LayoutStackProps = LayoutStackState & {
|
|
3120
|
+
children?: string[];
|
|
3121
|
+
};
|
|
3122
|
+
export type NextActionsBarProps = NextActionsState;
|
|
3123
|
+
export type NumericFacetProps = NumericFacetState;
|
|
3124
|
+
export type PageSizeProps = PageSizeState;
|
|
3125
|
+
export type PaginationProps = PaginationState;
|
|
3126
|
+
export type ProductCarouselProps = ProductCarouselState;
|
|
3127
|
+
export type ProductListProps = ProductListState;
|
|
3128
|
+
export type ProductSummaryProps = ProductSummaryState;
|
|
3129
|
+
export type QuerySuggestionsProps = QuerySuggestionsState;
|
|
3130
|
+
export type QuerySummaryProps = QuerySummaryState;
|
|
3131
|
+
export type RegularFacetProps = RegularFacetState;
|
|
3132
|
+
export type SortProps = SortState;
|