@coveo/thermidor-schema 1.0.0-beta.20 → 1.0.0-beta.21
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 +106 -43
- package/dist/generated/schemas.js +33 -14
- package/dist/generated/zod3/index.d.ts +2 -2
- package/dist/generated/zod3/index.js +1 -1
- package/dist/generated/zod3/schemas.d.ts +686 -204
- package/dist/generated/zod3/schemas.js +33 -14
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/schema/components/next-actions-bar.schema.json +25 -4
- package/schema/definitions/action-item.schema.json +9 -17
- package/schema/definitions/followup-action-item.schema.json +20 -0
- package/schema/definitions/search-action-item.schema.json +20 -0
- package/schema/definitions/search-option-action-item.schema.json +25 -0
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import * as z from '../../zod3-compat.js';
|
|
2
2
|
export declare const CartUpdateOperationSchema: z.ZodEnum<["add", "remove", "setQuantity"]>;
|
|
3
3
|
export type CartUpdateOperation = z.infer<typeof CartUpdateOperationSchema>;
|
|
4
|
-
export declare const
|
|
5
|
-
export type
|
|
4
|
+
export declare const SelectActionPayloadTypeSchema: z.ZodEnum<["followup", "search"]>;
|
|
5
|
+
export type SelectActionPayloadType = z.infer<typeof SelectActionPayloadTypeSchema>;
|
|
6
|
+
export declare const ActionItemTypeSchema: z.ZodEnum<["followup", "search", "searchOption"]>;
|
|
7
|
+
export type ActionItemType = z.infer<typeof ActionItemTypeSchema>;
|
|
6
8
|
export declare const FacetValueStateSchema: z.ZodEnum<["excluded", "idle", "selected"]>;
|
|
7
9
|
export type FacetValueState = z.infer<typeof FacetValueStateSchema>;
|
|
8
10
|
export declare const SelectableFacetValueStateSchema: z.ZodEnum<["idle", "selected"]>;
|
|
@@ -74,6 +76,42 @@ export declare const DataBindingSchema: z.ZodObject<{
|
|
|
74
76
|
path: string;
|
|
75
77
|
}>;
|
|
76
78
|
export type DataBinding = z.infer<typeof DataBindingSchema>;
|
|
79
|
+
export declare const FollowupActionItemSchema: z.ZodObject<{
|
|
80
|
+
text: z.ZodString;
|
|
81
|
+
type: z.ZodLiteral<"followup">;
|
|
82
|
+
}, "strict", z.ZodTypeAny, {
|
|
83
|
+
text: string;
|
|
84
|
+
type: "followup";
|
|
85
|
+
}, {
|
|
86
|
+
text: string;
|
|
87
|
+
type: "followup";
|
|
88
|
+
}>;
|
|
89
|
+
export type FollowupActionItem = z.infer<typeof FollowupActionItemSchema>;
|
|
90
|
+
export declare const SearchActionItemSchema: z.ZodObject<{
|
|
91
|
+
text: z.ZodString;
|
|
92
|
+
type: z.ZodLiteral<"search">;
|
|
93
|
+
}, "strict", z.ZodTypeAny, {
|
|
94
|
+
text: string;
|
|
95
|
+
type: "search";
|
|
96
|
+
}, {
|
|
97
|
+
text: string;
|
|
98
|
+
type: "search";
|
|
99
|
+
}>;
|
|
100
|
+
export type SearchActionItem = z.infer<typeof SearchActionItemSchema>;
|
|
101
|
+
export declare const SearchOptionActionItemSchema: z.ZodObject<{
|
|
102
|
+
optionId: z.ZodString;
|
|
103
|
+
text: z.ZodString;
|
|
104
|
+
type: z.ZodLiteral<"searchOption">;
|
|
105
|
+
}, "strict", z.ZodTypeAny, {
|
|
106
|
+
optionId: string;
|
|
107
|
+
text: string;
|
|
108
|
+
type: "searchOption";
|
|
109
|
+
}, {
|
|
110
|
+
optionId: string;
|
|
111
|
+
text: string;
|
|
112
|
+
type: "searchOption";
|
|
113
|
+
}>;
|
|
114
|
+
export type SearchOptionActionItem = z.infer<typeof SearchOptionActionItemSchema>;
|
|
77
115
|
export declare const ChildListClassSchema: z.ZodObject<{
|
|
78
116
|
componentId: z.ZodString;
|
|
79
117
|
path: z.ZodString;
|
|
@@ -263,32 +301,55 @@ export declare const QueryCompletionSchema: z.ZodObject<{
|
|
|
263
301
|
}>;
|
|
264
302
|
export type QueryCompletion = z.infer<typeof QueryCompletionSchema>;
|
|
265
303
|
export declare const SelectActionPayloadSchema: z.ZodObject<{
|
|
266
|
-
optionId: z.ZodOptional<z.ZodString>;
|
|
267
304
|
text: z.ZodString;
|
|
268
305
|
type: z.ZodEnum<["followup", "search"]>;
|
|
269
306
|
}, "strict", z.ZodTypeAny, {
|
|
270
|
-
optionId?: string | undefined;
|
|
271
307
|
text: string;
|
|
272
308
|
type: "followup" | "search";
|
|
273
309
|
}, {
|
|
274
|
-
optionId?: string | undefined;
|
|
275
310
|
text: string;
|
|
276
311
|
type: "followup" | "search";
|
|
277
312
|
}>;
|
|
278
313
|
export type SelectActionPayload = z.infer<typeof SelectActionPayloadSchema>;
|
|
279
|
-
export declare const
|
|
280
|
-
optionId: z.
|
|
314
|
+
export declare const SelectSearchOptionPayloadSchema: z.ZodObject<{
|
|
315
|
+
optionId: z.ZodString;
|
|
316
|
+
}, "strict", z.ZodTypeAny, {
|
|
317
|
+
optionId: string;
|
|
318
|
+
}, {
|
|
319
|
+
optionId: string;
|
|
320
|
+
}>;
|
|
321
|
+
export type SelectSearchOptionPayload = z.infer<typeof SelectSearchOptionPayloadSchema>;
|
|
322
|
+
export declare const ActionItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
281
323
|
text: z.ZodString;
|
|
282
|
-
type: z.
|
|
324
|
+
type: z.ZodLiteral<"followup">;
|
|
283
325
|
}, "strict", z.ZodTypeAny, {
|
|
284
|
-
optionId?: string | undefined;
|
|
285
326
|
text: string;
|
|
286
|
-
type: "followup"
|
|
327
|
+
type: "followup";
|
|
287
328
|
}, {
|
|
288
|
-
optionId?: string | undefined;
|
|
289
329
|
text: string;
|
|
290
|
-
type: "followup"
|
|
291
|
-
}
|
|
330
|
+
type: "followup";
|
|
331
|
+
}>, z.ZodObject<{
|
|
332
|
+
text: z.ZodString;
|
|
333
|
+
type: z.ZodLiteral<"search">;
|
|
334
|
+
}, "strict", z.ZodTypeAny, {
|
|
335
|
+
text: string;
|
|
336
|
+
type: "search";
|
|
337
|
+
}, {
|
|
338
|
+
text: string;
|
|
339
|
+
type: "search";
|
|
340
|
+
}>, z.ZodObject<{
|
|
341
|
+
optionId: z.ZodString;
|
|
342
|
+
text: z.ZodString;
|
|
343
|
+
type: z.ZodLiteral<"searchOption">;
|
|
344
|
+
}, "strict", z.ZodTypeAny, {
|
|
345
|
+
optionId: string;
|
|
346
|
+
text: string;
|
|
347
|
+
type: "searchOption";
|
|
348
|
+
}, {
|
|
349
|
+
optionId: string;
|
|
350
|
+
text: string;
|
|
351
|
+
type: "searchOption";
|
|
352
|
+
}>]>;
|
|
292
353
|
export type ActionItem = z.infer<typeof ActionItemSchema>;
|
|
293
354
|
export declare const BundleDisplayActionsSchema: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
294
355
|
export type BundleDisplayActions = z.infer<typeof BundleDisplayActionsSchema>;
|
|
@@ -1696,58 +1757,101 @@ export declare const QuerySuggestionsStateSchema: z.ZodObject<{
|
|
|
1696
1757
|
export type QuerySuggestionsState = z.infer<typeof QuerySuggestionsStateSchema>;
|
|
1697
1758
|
export declare const SelectActionSchema: z.ZodObject<{
|
|
1698
1759
|
payload: z.ZodObject<{
|
|
1699
|
-
optionId: z.ZodOptional<z.ZodString>;
|
|
1700
1760
|
text: z.ZodString;
|
|
1701
1761
|
type: z.ZodEnum<["followup", "search"]>;
|
|
1702
1762
|
}, "strict", z.ZodTypeAny, {
|
|
1703
|
-
optionId?: string | undefined;
|
|
1704
1763
|
text: string;
|
|
1705
1764
|
type: "followup" | "search";
|
|
1706
1765
|
}, {
|
|
1707
|
-
optionId?: string | undefined;
|
|
1708
1766
|
text: string;
|
|
1709
1767
|
type: "followup" | "search";
|
|
1710
1768
|
}>;
|
|
1711
1769
|
}, "strict", z.ZodTypeAny, {
|
|
1712
1770
|
payload: {
|
|
1713
|
-
optionId?: string | undefined;
|
|
1714
1771
|
text: string;
|
|
1715
1772
|
type: "followup" | "search";
|
|
1716
1773
|
};
|
|
1717
1774
|
}, {
|
|
1718
1775
|
payload: {
|
|
1719
|
-
optionId?: string | undefined;
|
|
1720
1776
|
text: string;
|
|
1721
1777
|
type: "followup" | "search";
|
|
1722
1778
|
};
|
|
1723
1779
|
}>;
|
|
1724
1780
|
export type SelectAction = z.infer<typeof SelectActionSchema>;
|
|
1781
|
+
export declare const SelectSearchOptionSchema: z.ZodObject<{
|
|
1782
|
+
payload: z.ZodObject<{
|
|
1783
|
+
optionId: z.ZodString;
|
|
1784
|
+
}, "strict", z.ZodTypeAny, {
|
|
1785
|
+
optionId: string;
|
|
1786
|
+
}, {
|
|
1787
|
+
optionId: string;
|
|
1788
|
+
}>;
|
|
1789
|
+
}, "strict", z.ZodTypeAny, {
|
|
1790
|
+
payload: {
|
|
1791
|
+
optionId: string;
|
|
1792
|
+
};
|
|
1793
|
+
}, {
|
|
1794
|
+
payload: {
|
|
1795
|
+
optionId: string;
|
|
1796
|
+
};
|
|
1797
|
+
}>;
|
|
1798
|
+
export type SelectSearchOption = z.infer<typeof SelectSearchOptionSchema>;
|
|
1725
1799
|
export declare const NextActionsStateSchema: z.ZodObject<{
|
|
1726
|
-
suggestedActions: z.ZodArray<z.ZodObject<{
|
|
1727
|
-
optionId: z.ZodOptional<z.ZodString>;
|
|
1800
|
+
suggestedActions: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1728
1801
|
text: z.ZodString;
|
|
1729
|
-
type: z.
|
|
1802
|
+
type: z.ZodLiteral<"followup">;
|
|
1730
1803
|
}, "strict", z.ZodTypeAny, {
|
|
1731
|
-
optionId?: string | undefined;
|
|
1732
1804
|
text: string;
|
|
1733
|
-
type: "followup"
|
|
1805
|
+
type: "followup";
|
|
1734
1806
|
}, {
|
|
1735
|
-
optionId?: string | undefined;
|
|
1736
1807
|
text: string;
|
|
1737
|
-
type: "followup"
|
|
1738
|
-
}>,
|
|
1808
|
+
type: "followup";
|
|
1809
|
+
}>, z.ZodObject<{
|
|
1810
|
+
text: z.ZodString;
|
|
1811
|
+
type: z.ZodLiteral<"search">;
|
|
1812
|
+
}, "strict", z.ZodTypeAny, {
|
|
1813
|
+
text: string;
|
|
1814
|
+
type: "search";
|
|
1815
|
+
}, {
|
|
1816
|
+
text: string;
|
|
1817
|
+
type: "search";
|
|
1818
|
+
}>, z.ZodObject<{
|
|
1819
|
+
optionId: z.ZodString;
|
|
1820
|
+
text: z.ZodString;
|
|
1821
|
+
type: z.ZodLiteral<"searchOption">;
|
|
1822
|
+
}, "strict", z.ZodTypeAny, {
|
|
1823
|
+
optionId: string;
|
|
1824
|
+
text: string;
|
|
1825
|
+
type: "searchOption";
|
|
1826
|
+
}, {
|
|
1827
|
+
optionId: string;
|
|
1828
|
+
text: string;
|
|
1829
|
+
type: "searchOption";
|
|
1830
|
+
}>]>, "many">;
|
|
1739
1831
|
}, "strict", z.ZodTypeAny, {
|
|
1740
|
-
suggestedActions: {
|
|
1741
|
-
optionId?: string | undefined;
|
|
1832
|
+
suggestedActions: ({
|
|
1742
1833
|
text: string;
|
|
1743
|
-
type: "followup"
|
|
1744
|
-
}
|
|
1834
|
+
type: "followup";
|
|
1835
|
+
} | {
|
|
1836
|
+
text: string;
|
|
1837
|
+
type: "search";
|
|
1838
|
+
} | {
|
|
1839
|
+
optionId: string;
|
|
1840
|
+
text: string;
|
|
1841
|
+
type: "searchOption";
|
|
1842
|
+
})[];
|
|
1745
1843
|
}, {
|
|
1746
|
-
suggestedActions: {
|
|
1747
|
-
optionId?: string | undefined;
|
|
1844
|
+
suggestedActions: ({
|
|
1748
1845
|
text: string;
|
|
1749
|
-
type: "followup"
|
|
1750
|
-
}
|
|
1846
|
+
type: "followup";
|
|
1847
|
+
} | {
|
|
1848
|
+
text: string;
|
|
1849
|
+
type: "search";
|
|
1850
|
+
} | {
|
|
1851
|
+
optionId: string;
|
|
1852
|
+
text: string;
|
|
1853
|
+
type: "searchOption";
|
|
1854
|
+
})[];
|
|
1751
1855
|
}>;
|
|
1752
1856
|
export type NextActionsState = z.infer<typeof NextActionsStateSchema>;
|
|
1753
1857
|
export declare const BundleTierSchema: z.ZodObject<{
|
|
@@ -3460,47 +3564,67 @@ export type QuerySuggestionsActions = z.infer<typeof QuerySuggestionsActionsSche
|
|
|
3460
3564
|
export declare const NextActionsBarActionsSchema: z.ZodObject<{
|
|
3461
3565
|
selectAction: z.ZodObject<{
|
|
3462
3566
|
payload: z.ZodObject<{
|
|
3463
|
-
optionId: z.ZodOptional<z.ZodString>;
|
|
3464
3567
|
text: z.ZodString;
|
|
3465
3568
|
type: z.ZodEnum<["followup", "search"]>;
|
|
3466
3569
|
}, "strict", z.ZodTypeAny, {
|
|
3467
|
-
optionId?: string | undefined;
|
|
3468
3570
|
text: string;
|
|
3469
3571
|
type: "followup" | "search";
|
|
3470
3572
|
}, {
|
|
3471
|
-
optionId?: string | undefined;
|
|
3472
3573
|
text: string;
|
|
3473
3574
|
type: "followup" | "search";
|
|
3474
3575
|
}>;
|
|
3475
3576
|
}, "strict", z.ZodTypeAny, {
|
|
3476
3577
|
payload: {
|
|
3477
|
-
optionId?: string | undefined;
|
|
3478
3578
|
text: string;
|
|
3479
3579
|
type: "followup" | "search";
|
|
3480
3580
|
};
|
|
3481
3581
|
}, {
|
|
3482
3582
|
payload: {
|
|
3483
|
-
optionId?: string | undefined;
|
|
3484
3583
|
text: string;
|
|
3485
3584
|
type: "followup" | "search";
|
|
3486
3585
|
};
|
|
3487
3586
|
}>;
|
|
3587
|
+
selectSearchOption: z.ZodObject<{
|
|
3588
|
+
payload: z.ZodObject<{
|
|
3589
|
+
optionId: z.ZodString;
|
|
3590
|
+
}, "strict", z.ZodTypeAny, {
|
|
3591
|
+
optionId: string;
|
|
3592
|
+
}, {
|
|
3593
|
+
optionId: string;
|
|
3594
|
+
}>;
|
|
3595
|
+
}, "strict", z.ZodTypeAny, {
|
|
3596
|
+
payload: {
|
|
3597
|
+
optionId: string;
|
|
3598
|
+
};
|
|
3599
|
+
}, {
|
|
3600
|
+
payload: {
|
|
3601
|
+
optionId: string;
|
|
3602
|
+
};
|
|
3603
|
+
}>;
|
|
3488
3604
|
}, "strict", z.ZodTypeAny, {
|
|
3489
3605
|
selectAction: {
|
|
3490
3606
|
payload: {
|
|
3491
|
-
optionId?: string | undefined;
|
|
3492
3607
|
text: string;
|
|
3493
3608
|
type: "followup" | "search";
|
|
3494
3609
|
};
|
|
3495
3610
|
};
|
|
3611
|
+
selectSearchOption: {
|
|
3612
|
+
payload: {
|
|
3613
|
+
optionId: string;
|
|
3614
|
+
};
|
|
3615
|
+
};
|
|
3496
3616
|
}, {
|
|
3497
3617
|
selectAction: {
|
|
3498
3618
|
payload: {
|
|
3499
|
-
optionId?: string | undefined;
|
|
3500
3619
|
text: string;
|
|
3501
3620
|
type: "followup" | "search";
|
|
3502
3621
|
};
|
|
3503
3622
|
};
|
|
3623
|
+
selectSearchOption: {
|
|
3624
|
+
payload: {
|
|
3625
|
+
optionId: string;
|
|
3626
|
+
};
|
|
3627
|
+
};
|
|
3504
3628
|
}>;
|
|
3505
3629
|
export type NextActionsBarActions = z.infer<typeof NextActionsBarActionsSchema>;
|
|
3506
3630
|
export declare const BundleDisplayStateSchema: z.ZodObject<{
|
|
@@ -5589,226 +5713,376 @@ export declare const NextActionsBarSchema: z.ZodObject<{
|
|
|
5589
5713
|
actions: z.ZodOptional<z.ZodObject<{
|
|
5590
5714
|
selectAction: z.ZodObject<{
|
|
5591
5715
|
payload: z.ZodObject<{
|
|
5592
|
-
optionId: z.ZodOptional<z.ZodString>;
|
|
5593
5716
|
text: z.ZodString;
|
|
5594
5717
|
type: z.ZodEnum<["followup", "search"]>;
|
|
5595
5718
|
}, "strict", z.ZodTypeAny, {
|
|
5596
|
-
optionId?: string | undefined;
|
|
5597
5719
|
text: string;
|
|
5598
5720
|
type: "followup" | "search";
|
|
5599
5721
|
}, {
|
|
5600
|
-
optionId?: string | undefined;
|
|
5601
5722
|
text: string;
|
|
5602
5723
|
type: "followup" | "search";
|
|
5603
5724
|
}>;
|
|
5604
5725
|
}, "strict", z.ZodTypeAny, {
|
|
5605
5726
|
payload: {
|
|
5606
|
-
optionId?: string | undefined;
|
|
5607
5727
|
text: string;
|
|
5608
5728
|
type: "followup" | "search";
|
|
5609
5729
|
};
|
|
5610
5730
|
}, {
|
|
5611
5731
|
payload: {
|
|
5612
|
-
optionId?: string | undefined;
|
|
5613
5732
|
text: string;
|
|
5614
5733
|
type: "followup" | "search";
|
|
5615
5734
|
};
|
|
5616
5735
|
}>;
|
|
5736
|
+
selectSearchOption: z.ZodObject<{
|
|
5737
|
+
payload: z.ZodObject<{
|
|
5738
|
+
optionId: z.ZodString;
|
|
5739
|
+
}, "strict", z.ZodTypeAny, {
|
|
5740
|
+
optionId: string;
|
|
5741
|
+
}, {
|
|
5742
|
+
optionId: string;
|
|
5743
|
+
}>;
|
|
5744
|
+
}, "strict", z.ZodTypeAny, {
|
|
5745
|
+
payload: {
|
|
5746
|
+
optionId: string;
|
|
5747
|
+
};
|
|
5748
|
+
}, {
|
|
5749
|
+
payload: {
|
|
5750
|
+
optionId: string;
|
|
5751
|
+
};
|
|
5752
|
+
}>;
|
|
5617
5753
|
}, "strict", z.ZodTypeAny, {
|
|
5618
5754
|
selectAction: {
|
|
5619
5755
|
payload: {
|
|
5620
|
-
optionId?: string | undefined;
|
|
5621
5756
|
text: string;
|
|
5622
5757
|
type: "followup" | "search";
|
|
5623
5758
|
};
|
|
5624
5759
|
};
|
|
5760
|
+
selectSearchOption: {
|
|
5761
|
+
payload: {
|
|
5762
|
+
optionId: string;
|
|
5763
|
+
};
|
|
5764
|
+
};
|
|
5625
5765
|
}, {
|
|
5626
5766
|
selectAction: {
|
|
5627
5767
|
payload: {
|
|
5628
|
-
optionId?: string | undefined;
|
|
5629
5768
|
text: string;
|
|
5630
5769
|
type: "followup" | "search";
|
|
5631
5770
|
};
|
|
5632
5771
|
};
|
|
5772
|
+
selectSearchOption: {
|
|
5773
|
+
payload: {
|
|
5774
|
+
optionId: string;
|
|
5775
|
+
};
|
|
5776
|
+
};
|
|
5633
5777
|
}>>;
|
|
5634
5778
|
component: z.ZodLiteral<"NextActionsBar">;
|
|
5635
5779
|
id: z.ZodString;
|
|
5636
5780
|
state: z.ZodOptional<z.ZodObject<{
|
|
5637
|
-
suggestedActions: z.ZodArray<z.ZodObject<{
|
|
5638
|
-
optionId: z.ZodOptional<z.ZodString>;
|
|
5781
|
+
suggestedActions: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
5639
5782
|
text: z.ZodString;
|
|
5640
|
-
type: z.
|
|
5783
|
+
type: z.ZodLiteral<"followup">;
|
|
5641
5784
|
}, "strict", z.ZodTypeAny, {
|
|
5642
|
-
optionId?: string | undefined;
|
|
5643
5785
|
text: string;
|
|
5644
|
-
type: "followup"
|
|
5786
|
+
type: "followup";
|
|
5645
5787
|
}, {
|
|
5646
|
-
optionId?: string | undefined;
|
|
5647
5788
|
text: string;
|
|
5648
|
-
type: "followup"
|
|
5649
|
-
}>,
|
|
5789
|
+
type: "followup";
|
|
5790
|
+
}>, z.ZodObject<{
|
|
5791
|
+
text: z.ZodString;
|
|
5792
|
+
type: z.ZodLiteral<"search">;
|
|
5793
|
+
}, "strict", z.ZodTypeAny, {
|
|
5794
|
+
text: string;
|
|
5795
|
+
type: "search";
|
|
5796
|
+
}, {
|
|
5797
|
+
text: string;
|
|
5798
|
+
type: "search";
|
|
5799
|
+
}>, z.ZodObject<{
|
|
5800
|
+
optionId: z.ZodString;
|
|
5801
|
+
text: z.ZodString;
|
|
5802
|
+
type: z.ZodLiteral<"searchOption">;
|
|
5803
|
+
}, "strict", z.ZodTypeAny, {
|
|
5804
|
+
optionId: string;
|
|
5805
|
+
text: string;
|
|
5806
|
+
type: "searchOption";
|
|
5807
|
+
}, {
|
|
5808
|
+
optionId: string;
|
|
5809
|
+
text: string;
|
|
5810
|
+
type: "searchOption";
|
|
5811
|
+
}>]>, "many">;
|
|
5650
5812
|
}, "strict", z.ZodTypeAny, {
|
|
5651
|
-
suggestedActions: {
|
|
5652
|
-
optionId?: string | undefined;
|
|
5813
|
+
suggestedActions: ({
|
|
5653
5814
|
text: string;
|
|
5654
|
-
type: "followup"
|
|
5655
|
-
}
|
|
5815
|
+
type: "followup";
|
|
5816
|
+
} | {
|
|
5817
|
+
text: string;
|
|
5818
|
+
type: "search";
|
|
5819
|
+
} | {
|
|
5820
|
+
optionId: string;
|
|
5821
|
+
text: string;
|
|
5822
|
+
type: "searchOption";
|
|
5823
|
+
})[];
|
|
5656
5824
|
}, {
|
|
5657
|
-
suggestedActions: {
|
|
5658
|
-
optionId?: string | undefined;
|
|
5825
|
+
suggestedActions: ({
|
|
5659
5826
|
text: string;
|
|
5660
|
-
type: "followup"
|
|
5661
|
-
}
|
|
5827
|
+
type: "followup";
|
|
5828
|
+
} | {
|
|
5829
|
+
text: string;
|
|
5830
|
+
type: "search";
|
|
5831
|
+
} | {
|
|
5832
|
+
optionId: string;
|
|
5833
|
+
text: string;
|
|
5834
|
+
type: "searchOption";
|
|
5835
|
+
})[];
|
|
5662
5836
|
}>>;
|
|
5663
5837
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
5664
5838
|
actions: z.ZodOptional<z.ZodObject<{
|
|
5665
5839
|
selectAction: z.ZodObject<{
|
|
5666
5840
|
payload: z.ZodObject<{
|
|
5667
|
-
optionId: z.ZodOptional<z.ZodString>;
|
|
5668
5841
|
text: z.ZodString;
|
|
5669
5842
|
type: z.ZodEnum<["followup", "search"]>;
|
|
5670
5843
|
}, "strict", z.ZodTypeAny, {
|
|
5671
|
-
optionId?: string | undefined;
|
|
5672
5844
|
text: string;
|
|
5673
5845
|
type: "followup" | "search";
|
|
5674
5846
|
}, {
|
|
5675
|
-
optionId?: string | undefined;
|
|
5676
5847
|
text: string;
|
|
5677
5848
|
type: "followup" | "search";
|
|
5678
5849
|
}>;
|
|
5679
5850
|
}, "strict", z.ZodTypeAny, {
|
|
5680
5851
|
payload: {
|
|
5681
|
-
optionId?: string | undefined;
|
|
5682
5852
|
text: string;
|
|
5683
5853
|
type: "followup" | "search";
|
|
5684
5854
|
};
|
|
5685
5855
|
}, {
|
|
5686
5856
|
payload: {
|
|
5687
|
-
optionId?: string | undefined;
|
|
5688
5857
|
text: string;
|
|
5689
5858
|
type: "followup" | "search";
|
|
5690
5859
|
};
|
|
5691
5860
|
}>;
|
|
5861
|
+
selectSearchOption: z.ZodObject<{
|
|
5862
|
+
payload: z.ZodObject<{
|
|
5863
|
+
optionId: z.ZodString;
|
|
5864
|
+
}, "strict", z.ZodTypeAny, {
|
|
5865
|
+
optionId: string;
|
|
5866
|
+
}, {
|
|
5867
|
+
optionId: string;
|
|
5868
|
+
}>;
|
|
5869
|
+
}, "strict", z.ZodTypeAny, {
|
|
5870
|
+
payload: {
|
|
5871
|
+
optionId: string;
|
|
5872
|
+
};
|
|
5873
|
+
}, {
|
|
5874
|
+
payload: {
|
|
5875
|
+
optionId: string;
|
|
5876
|
+
};
|
|
5877
|
+
}>;
|
|
5692
5878
|
}, "strict", z.ZodTypeAny, {
|
|
5693
5879
|
selectAction: {
|
|
5694
5880
|
payload: {
|
|
5695
|
-
optionId?: string | undefined;
|
|
5696
5881
|
text: string;
|
|
5697
5882
|
type: "followup" | "search";
|
|
5698
5883
|
};
|
|
5699
5884
|
};
|
|
5885
|
+
selectSearchOption: {
|
|
5886
|
+
payload: {
|
|
5887
|
+
optionId: string;
|
|
5888
|
+
};
|
|
5889
|
+
};
|
|
5700
5890
|
}, {
|
|
5701
5891
|
selectAction: {
|
|
5702
5892
|
payload: {
|
|
5703
|
-
optionId?: string | undefined;
|
|
5704
5893
|
text: string;
|
|
5705
5894
|
type: "followup" | "search";
|
|
5706
5895
|
};
|
|
5707
5896
|
};
|
|
5897
|
+
selectSearchOption: {
|
|
5898
|
+
payload: {
|
|
5899
|
+
optionId: string;
|
|
5900
|
+
};
|
|
5901
|
+
};
|
|
5708
5902
|
}>>;
|
|
5709
5903
|
component: z.ZodLiteral<"NextActionsBar">;
|
|
5710
5904
|
id: z.ZodString;
|
|
5711
5905
|
state: z.ZodOptional<z.ZodObject<{
|
|
5712
|
-
suggestedActions: z.ZodArray<z.ZodObject<{
|
|
5713
|
-
optionId: z.ZodOptional<z.ZodString>;
|
|
5906
|
+
suggestedActions: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
5714
5907
|
text: z.ZodString;
|
|
5715
|
-
type: z.
|
|
5908
|
+
type: z.ZodLiteral<"followup">;
|
|
5716
5909
|
}, "strict", z.ZodTypeAny, {
|
|
5717
|
-
optionId?: string | undefined;
|
|
5718
5910
|
text: string;
|
|
5719
|
-
type: "followup"
|
|
5911
|
+
type: "followup";
|
|
5720
5912
|
}, {
|
|
5721
|
-
optionId?: string | undefined;
|
|
5722
5913
|
text: string;
|
|
5723
|
-
type: "followup"
|
|
5724
|
-
}>,
|
|
5914
|
+
type: "followup";
|
|
5915
|
+
}>, z.ZodObject<{
|
|
5916
|
+
text: z.ZodString;
|
|
5917
|
+
type: z.ZodLiteral<"search">;
|
|
5918
|
+
}, "strict", z.ZodTypeAny, {
|
|
5919
|
+
text: string;
|
|
5920
|
+
type: "search";
|
|
5921
|
+
}, {
|
|
5922
|
+
text: string;
|
|
5923
|
+
type: "search";
|
|
5924
|
+
}>, z.ZodObject<{
|
|
5925
|
+
optionId: z.ZodString;
|
|
5926
|
+
text: z.ZodString;
|
|
5927
|
+
type: z.ZodLiteral<"searchOption">;
|
|
5928
|
+
}, "strict", z.ZodTypeAny, {
|
|
5929
|
+
optionId: string;
|
|
5930
|
+
text: string;
|
|
5931
|
+
type: "searchOption";
|
|
5932
|
+
}, {
|
|
5933
|
+
optionId: string;
|
|
5934
|
+
text: string;
|
|
5935
|
+
type: "searchOption";
|
|
5936
|
+
}>]>, "many">;
|
|
5725
5937
|
}, "strict", z.ZodTypeAny, {
|
|
5726
|
-
suggestedActions: {
|
|
5727
|
-
optionId?: string | undefined;
|
|
5938
|
+
suggestedActions: ({
|
|
5728
5939
|
text: string;
|
|
5729
|
-
type: "followup"
|
|
5730
|
-
}
|
|
5940
|
+
type: "followup";
|
|
5941
|
+
} | {
|
|
5942
|
+
text: string;
|
|
5943
|
+
type: "search";
|
|
5944
|
+
} | {
|
|
5945
|
+
optionId: string;
|
|
5946
|
+
text: string;
|
|
5947
|
+
type: "searchOption";
|
|
5948
|
+
})[];
|
|
5731
5949
|
}, {
|
|
5732
|
-
suggestedActions: {
|
|
5733
|
-
optionId?: string | undefined;
|
|
5950
|
+
suggestedActions: ({
|
|
5734
5951
|
text: string;
|
|
5735
|
-
type: "followup"
|
|
5736
|
-
}
|
|
5952
|
+
type: "followup";
|
|
5953
|
+
} | {
|
|
5954
|
+
text: string;
|
|
5955
|
+
type: "search";
|
|
5956
|
+
} | {
|
|
5957
|
+
optionId: string;
|
|
5958
|
+
text: string;
|
|
5959
|
+
type: "searchOption";
|
|
5960
|
+
})[];
|
|
5737
5961
|
}>>;
|
|
5738
5962
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
5739
5963
|
actions: z.ZodOptional<z.ZodObject<{
|
|
5740
5964
|
selectAction: z.ZodObject<{
|
|
5741
5965
|
payload: z.ZodObject<{
|
|
5742
|
-
optionId: z.ZodOptional<z.ZodString>;
|
|
5743
5966
|
text: z.ZodString;
|
|
5744
5967
|
type: z.ZodEnum<["followup", "search"]>;
|
|
5745
5968
|
}, "strict", z.ZodTypeAny, {
|
|
5746
|
-
optionId?: string | undefined;
|
|
5747
5969
|
text: string;
|
|
5748
5970
|
type: "followup" | "search";
|
|
5749
5971
|
}, {
|
|
5750
|
-
optionId?: string | undefined;
|
|
5751
5972
|
text: string;
|
|
5752
5973
|
type: "followup" | "search";
|
|
5753
5974
|
}>;
|
|
5754
5975
|
}, "strict", z.ZodTypeAny, {
|
|
5755
5976
|
payload: {
|
|
5756
|
-
optionId?: string | undefined;
|
|
5757
5977
|
text: string;
|
|
5758
5978
|
type: "followup" | "search";
|
|
5759
5979
|
};
|
|
5760
5980
|
}, {
|
|
5761
5981
|
payload: {
|
|
5762
|
-
optionId?: string | undefined;
|
|
5763
5982
|
text: string;
|
|
5764
5983
|
type: "followup" | "search";
|
|
5765
5984
|
};
|
|
5766
5985
|
}>;
|
|
5986
|
+
selectSearchOption: z.ZodObject<{
|
|
5987
|
+
payload: z.ZodObject<{
|
|
5988
|
+
optionId: z.ZodString;
|
|
5989
|
+
}, "strict", z.ZodTypeAny, {
|
|
5990
|
+
optionId: string;
|
|
5991
|
+
}, {
|
|
5992
|
+
optionId: string;
|
|
5993
|
+
}>;
|
|
5994
|
+
}, "strict", z.ZodTypeAny, {
|
|
5995
|
+
payload: {
|
|
5996
|
+
optionId: string;
|
|
5997
|
+
};
|
|
5998
|
+
}, {
|
|
5999
|
+
payload: {
|
|
6000
|
+
optionId: string;
|
|
6001
|
+
};
|
|
6002
|
+
}>;
|
|
5767
6003
|
}, "strict", z.ZodTypeAny, {
|
|
5768
6004
|
selectAction: {
|
|
5769
6005
|
payload: {
|
|
5770
|
-
optionId?: string | undefined;
|
|
5771
6006
|
text: string;
|
|
5772
6007
|
type: "followup" | "search";
|
|
5773
6008
|
};
|
|
5774
6009
|
};
|
|
6010
|
+
selectSearchOption: {
|
|
6011
|
+
payload: {
|
|
6012
|
+
optionId: string;
|
|
6013
|
+
};
|
|
6014
|
+
};
|
|
5775
6015
|
}, {
|
|
5776
6016
|
selectAction: {
|
|
5777
6017
|
payload: {
|
|
5778
|
-
optionId?: string | undefined;
|
|
5779
6018
|
text: string;
|
|
5780
6019
|
type: "followup" | "search";
|
|
5781
6020
|
};
|
|
5782
6021
|
};
|
|
6022
|
+
selectSearchOption: {
|
|
6023
|
+
payload: {
|
|
6024
|
+
optionId: string;
|
|
6025
|
+
};
|
|
6026
|
+
};
|
|
5783
6027
|
}>>;
|
|
5784
6028
|
component: z.ZodLiteral<"NextActionsBar">;
|
|
5785
6029
|
id: z.ZodString;
|
|
5786
6030
|
state: z.ZodOptional<z.ZodObject<{
|
|
5787
|
-
suggestedActions: z.ZodArray<z.ZodObject<{
|
|
5788
|
-
optionId: z.ZodOptional<z.ZodString>;
|
|
6031
|
+
suggestedActions: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
5789
6032
|
text: z.ZodString;
|
|
5790
|
-
type: z.
|
|
6033
|
+
type: z.ZodLiteral<"followup">;
|
|
5791
6034
|
}, "strict", z.ZodTypeAny, {
|
|
5792
|
-
optionId?: string | undefined;
|
|
5793
6035
|
text: string;
|
|
5794
|
-
type: "followup"
|
|
6036
|
+
type: "followup";
|
|
5795
6037
|
}, {
|
|
5796
|
-
optionId?: string | undefined;
|
|
5797
6038
|
text: string;
|
|
5798
|
-
type: "followup"
|
|
5799
|
-
}>,
|
|
6039
|
+
type: "followup";
|
|
6040
|
+
}>, z.ZodObject<{
|
|
6041
|
+
text: z.ZodString;
|
|
6042
|
+
type: z.ZodLiteral<"search">;
|
|
6043
|
+
}, "strict", z.ZodTypeAny, {
|
|
6044
|
+
text: string;
|
|
6045
|
+
type: "search";
|
|
6046
|
+
}, {
|
|
6047
|
+
text: string;
|
|
6048
|
+
type: "search";
|
|
6049
|
+
}>, z.ZodObject<{
|
|
6050
|
+
optionId: z.ZodString;
|
|
6051
|
+
text: z.ZodString;
|
|
6052
|
+
type: z.ZodLiteral<"searchOption">;
|
|
6053
|
+
}, "strict", z.ZodTypeAny, {
|
|
6054
|
+
optionId: string;
|
|
6055
|
+
text: string;
|
|
6056
|
+
type: "searchOption";
|
|
6057
|
+
}, {
|
|
6058
|
+
optionId: string;
|
|
6059
|
+
text: string;
|
|
6060
|
+
type: "searchOption";
|
|
6061
|
+
}>]>, "many">;
|
|
5800
6062
|
}, "strict", z.ZodTypeAny, {
|
|
5801
|
-
suggestedActions: {
|
|
5802
|
-
optionId?: string | undefined;
|
|
6063
|
+
suggestedActions: ({
|
|
5803
6064
|
text: string;
|
|
5804
|
-
type: "followup"
|
|
5805
|
-
}
|
|
6065
|
+
type: "followup";
|
|
6066
|
+
} | {
|
|
6067
|
+
text: string;
|
|
6068
|
+
type: "search";
|
|
6069
|
+
} | {
|
|
6070
|
+
optionId: string;
|
|
6071
|
+
text: string;
|
|
6072
|
+
type: "searchOption";
|
|
6073
|
+
})[];
|
|
5806
6074
|
}, {
|
|
5807
|
-
suggestedActions: {
|
|
5808
|
-
optionId?: string | undefined;
|
|
6075
|
+
suggestedActions: ({
|
|
5809
6076
|
text: string;
|
|
5810
|
-
type: "followup"
|
|
5811
|
-
}
|
|
6077
|
+
type: "followup";
|
|
6078
|
+
} | {
|
|
6079
|
+
text: string;
|
|
6080
|
+
type: "search";
|
|
6081
|
+
} | {
|
|
6082
|
+
optionId: string;
|
|
6083
|
+
text: string;
|
|
6084
|
+
type: "searchOption";
|
|
6085
|
+
})[];
|
|
5812
6086
|
}>>;
|
|
5813
6087
|
}, z.ZodTypeAny, "passthrough">>;
|
|
5814
6088
|
export type NextActionsBar = z.infer<typeof NextActionsBarSchema>;
|
|
@@ -13070,226 +13344,376 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
|
|
|
13070
13344
|
actions: z.ZodOptional<z.ZodObject<{
|
|
13071
13345
|
selectAction: z.ZodObject<{
|
|
13072
13346
|
payload: z.ZodObject<{
|
|
13073
|
-
optionId: z.ZodOptional<z.ZodString>;
|
|
13074
13347
|
text: z.ZodString;
|
|
13075
13348
|
type: z.ZodEnum<["followup", "search"]>;
|
|
13076
13349
|
}, "strict", z.ZodTypeAny, {
|
|
13077
|
-
optionId?: string | undefined;
|
|
13078
13350
|
text: string;
|
|
13079
13351
|
type: "followup" | "search";
|
|
13080
13352
|
}, {
|
|
13081
|
-
optionId?: string | undefined;
|
|
13082
13353
|
text: string;
|
|
13083
13354
|
type: "followup" | "search";
|
|
13084
13355
|
}>;
|
|
13085
13356
|
}, "strict", z.ZodTypeAny, {
|
|
13086
13357
|
payload: {
|
|
13087
|
-
optionId?: string | undefined;
|
|
13088
13358
|
text: string;
|
|
13089
13359
|
type: "followup" | "search";
|
|
13090
13360
|
};
|
|
13091
13361
|
}, {
|
|
13092
13362
|
payload: {
|
|
13093
|
-
optionId?: string | undefined;
|
|
13094
13363
|
text: string;
|
|
13095
13364
|
type: "followup" | "search";
|
|
13096
13365
|
};
|
|
13097
13366
|
}>;
|
|
13367
|
+
selectSearchOption: z.ZodObject<{
|
|
13368
|
+
payload: z.ZodObject<{
|
|
13369
|
+
optionId: z.ZodString;
|
|
13370
|
+
}, "strict", z.ZodTypeAny, {
|
|
13371
|
+
optionId: string;
|
|
13372
|
+
}, {
|
|
13373
|
+
optionId: string;
|
|
13374
|
+
}>;
|
|
13375
|
+
}, "strict", z.ZodTypeAny, {
|
|
13376
|
+
payload: {
|
|
13377
|
+
optionId: string;
|
|
13378
|
+
};
|
|
13379
|
+
}, {
|
|
13380
|
+
payload: {
|
|
13381
|
+
optionId: string;
|
|
13382
|
+
};
|
|
13383
|
+
}>;
|
|
13098
13384
|
}, "strict", z.ZodTypeAny, {
|
|
13099
13385
|
selectAction: {
|
|
13100
13386
|
payload: {
|
|
13101
|
-
optionId?: string | undefined;
|
|
13102
13387
|
text: string;
|
|
13103
13388
|
type: "followup" | "search";
|
|
13104
13389
|
};
|
|
13105
13390
|
};
|
|
13391
|
+
selectSearchOption: {
|
|
13392
|
+
payload: {
|
|
13393
|
+
optionId: string;
|
|
13394
|
+
};
|
|
13395
|
+
};
|
|
13106
13396
|
}, {
|
|
13107
13397
|
selectAction: {
|
|
13108
13398
|
payload: {
|
|
13109
|
-
optionId?: string | undefined;
|
|
13110
13399
|
text: string;
|
|
13111
13400
|
type: "followup" | "search";
|
|
13112
13401
|
};
|
|
13113
13402
|
};
|
|
13403
|
+
selectSearchOption: {
|
|
13404
|
+
payload: {
|
|
13405
|
+
optionId: string;
|
|
13406
|
+
};
|
|
13407
|
+
};
|
|
13114
13408
|
}>>;
|
|
13115
13409
|
component: z.ZodLiteral<"NextActionsBar">;
|
|
13116
13410
|
id: z.ZodString;
|
|
13117
13411
|
state: z.ZodOptional<z.ZodObject<{
|
|
13118
|
-
suggestedActions: z.ZodArray<z.ZodObject<{
|
|
13119
|
-
optionId: z.ZodOptional<z.ZodString>;
|
|
13412
|
+
suggestedActions: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
13120
13413
|
text: z.ZodString;
|
|
13121
|
-
type: z.
|
|
13414
|
+
type: z.ZodLiteral<"followup">;
|
|
13122
13415
|
}, "strict", z.ZodTypeAny, {
|
|
13123
|
-
optionId?: string | undefined;
|
|
13124
13416
|
text: string;
|
|
13125
|
-
type: "followup"
|
|
13417
|
+
type: "followup";
|
|
13126
13418
|
}, {
|
|
13127
|
-
optionId?: string | undefined;
|
|
13128
13419
|
text: string;
|
|
13129
|
-
type: "followup"
|
|
13130
|
-
}>,
|
|
13420
|
+
type: "followup";
|
|
13421
|
+
}>, z.ZodObject<{
|
|
13422
|
+
text: z.ZodString;
|
|
13423
|
+
type: z.ZodLiteral<"search">;
|
|
13424
|
+
}, "strict", z.ZodTypeAny, {
|
|
13425
|
+
text: string;
|
|
13426
|
+
type: "search";
|
|
13427
|
+
}, {
|
|
13428
|
+
text: string;
|
|
13429
|
+
type: "search";
|
|
13430
|
+
}>, z.ZodObject<{
|
|
13431
|
+
optionId: z.ZodString;
|
|
13432
|
+
text: z.ZodString;
|
|
13433
|
+
type: z.ZodLiteral<"searchOption">;
|
|
13434
|
+
}, "strict", z.ZodTypeAny, {
|
|
13435
|
+
optionId: string;
|
|
13436
|
+
text: string;
|
|
13437
|
+
type: "searchOption";
|
|
13438
|
+
}, {
|
|
13439
|
+
optionId: string;
|
|
13440
|
+
text: string;
|
|
13441
|
+
type: "searchOption";
|
|
13442
|
+
}>]>, "many">;
|
|
13131
13443
|
}, "strict", z.ZodTypeAny, {
|
|
13132
|
-
suggestedActions: {
|
|
13133
|
-
optionId?: string | undefined;
|
|
13444
|
+
suggestedActions: ({
|
|
13134
13445
|
text: string;
|
|
13135
|
-
type: "followup"
|
|
13136
|
-
}
|
|
13446
|
+
type: "followup";
|
|
13447
|
+
} | {
|
|
13448
|
+
text: string;
|
|
13449
|
+
type: "search";
|
|
13450
|
+
} | {
|
|
13451
|
+
optionId: string;
|
|
13452
|
+
text: string;
|
|
13453
|
+
type: "searchOption";
|
|
13454
|
+
})[];
|
|
13137
13455
|
}, {
|
|
13138
|
-
suggestedActions: {
|
|
13139
|
-
optionId?: string | undefined;
|
|
13456
|
+
suggestedActions: ({
|
|
13140
13457
|
text: string;
|
|
13141
|
-
type: "followup"
|
|
13142
|
-
}
|
|
13458
|
+
type: "followup";
|
|
13459
|
+
} | {
|
|
13460
|
+
text: string;
|
|
13461
|
+
type: "search";
|
|
13462
|
+
} | {
|
|
13463
|
+
optionId: string;
|
|
13464
|
+
text: string;
|
|
13465
|
+
type: "searchOption";
|
|
13466
|
+
})[];
|
|
13143
13467
|
}>>;
|
|
13144
13468
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
13145
13469
|
actions: z.ZodOptional<z.ZodObject<{
|
|
13146
13470
|
selectAction: z.ZodObject<{
|
|
13147
13471
|
payload: z.ZodObject<{
|
|
13148
|
-
optionId: z.ZodOptional<z.ZodString>;
|
|
13149
13472
|
text: z.ZodString;
|
|
13150
13473
|
type: z.ZodEnum<["followup", "search"]>;
|
|
13151
13474
|
}, "strict", z.ZodTypeAny, {
|
|
13152
|
-
optionId?: string | undefined;
|
|
13153
13475
|
text: string;
|
|
13154
13476
|
type: "followup" | "search";
|
|
13155
13477
|
}, {
|
|
13156
|
-
optionId?: string | undefined;
|
|
13157
13478
|
text: string;
|
|
13158
13479
|
type: "followup" | "search";
|
|
13159
13480
|
}>;
|
|
13160
13481
|
}, "strict", z.ZodTypeAny, {
|
|
13161
13482
|
payload: {
|
|
13162
|
-
optionId?: string | undefined;
|
|
13163
13483
|
text: string;
|
|
13164
13484
|
type: "followup" | "search";
|
|
13165
13485
|
};
|
|
13166
13486
|
}, {
|
|
13167
13487
|
payload: {
|
|
13168
|
-
optionId?: string | undefined;
|
|
13169
13488
|
text: string;
|
|
13170
13489
|
type: "followup" | "search";
|
|
13171
13490
|
};
|
|
13172
13491
|
}>;
|
|
13492
|
+
selectSearchOption: z.ZodObject<{
|
|
13493
|
+
payload: z.ZodObject<{
|
|
13494
|
+
optionId: z.ZodString;
|
|
13495
|
+
}, "strict", z.ZodTypeAny, {
|
|
13496
|
+
optionId: string;
|
|
13497
|
+
}, {
|
|
13498
|
+
optionId: string;
|
|
13499
|
+
}>;
|
|
13500
|
+
}, "strict", z.ZodTypeAny, {
|
|
13501
|
+
payload: {
|
|
13502
|
+
optionId: string;
|
|
13503
|
+
};
|
|
13504
|
+
}, {
|
|
13505
|
+
payload: {
|
|
13506
|
+
optionId: string;
|
|
13507
|
+
};
|
|
13508
|
+
}>;
|
|
13173
13509
|
}, "strict", z.ZodTypeAny, {
|
|
13174
13510
|
selectAction: {
|
|
13175
13511
|
payload: {
|
|
13176
|
-
optionId?: string | undefined;
|
|
13177
13512
|
text: string;
|
|
13178
13513
|
type: "followup" | "search";
|
|
13179
13514
|
};
|
|
13180
13515
|
};
|
|
13516
|
+
selectSearchOption: {
|
|
13517
|
+
payload: {
|
|
13518
|
+
optionId: string;
|
|
13519
|
+
};
|
|
13520
|
+
};
|
|
13181
13521
|
}, {
|
|
13182
13522
|
selectAction: {
|
|
13183
13523
|
payload: {
|
|
13184
|
-
optionId?: string | undefined;
|
|
13185
13524
|
text: string;
|
|
13186
13525
|
type: "followup" | "search";
|
|
13187
13526
|
};
|
|
13188
13527
|
};
|
|
13528
|
+
selectSearchOption: {
|
|
13529
|
+
payload: {
|
|
13530
|
+
optionId: string;
|
|
13531
|
+
};
|
|
13532
|
+
};
|
|
13189
13533
|
}>>;
|
|
13190
13534
|
component: z.ZodLiteral<"NextActionsBar">;
|
|
13191
13535
|
id: z.ZodString;
|
|
13192
13536
|
state: z.ZodOptional<z.ZodObject<{
|
|
13193
|
-
suggestedActions: z.ZodArray<z.ZodObject<{
|
|
13194
|
-
optionId: z.ZodOptional<z.ZodString>;
|
|
13537
|
+
suggestedActions: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
13195
13538
|
text: z.ZodString;
|
|
13196
|
-
type: z.
|
|
13539
|
+
type: z.ZodLiteral<"followup">;
|
|
13197
13540
|
}, "strict", z.ZodTypeAny, {
|
|
13198
|
-
optionId?: string | undefined;
|
|
13199
13541
|
text: string;
|
|
13200
|
-
type: "followup"
|
|
13542
|
+
type: "followup";
|
|
13201
13543
|
}, {
|
|
13202
|
-
optionId?: string | undefined;
|
|
13203
13544
|
text: string;
|
|
13204
|
-
type: "followup"
|
|
13205
|
-
}>,
|
|
13545
|
+
type: "followup";
|
|
13546
|
+
}>, z.ZodObject<{
|
|
13547
|
+
text: z.ZodString;
|
|
13548
|
+
type: z.ZodLiteral<"search">;
|
|
13549
|
+
}, "strict", z.ZodTypeAny, {
|
|
13550
|
+
text: string;
|
|
13551
|
+
type: "search";
|
|
13552
|
+
}, {
|
|
13553
|
+
text: string;
|
|
13554
|
+
type: "search";
|
|
13555
|
+
}>, z.ZodObject<{
|
|
13556
|
+
optionId: z.ZodString;
|
|
13557
|
+
text: z.ZodString;
|
|
13558
|
+
type: z.ZodLiteral<"searchOption">;
|
|
13559
|
+
}, "strict", z.ZodTypeAny, {
|
|
13560
|
+
optionId: string;
|
|
13561
|
+
text: string;
|
|
13562
|
+
type: "searchOption";
|
|
13563
|
+
}, {
|
|
13564
|
+
optionId: string;
|
|
13565
|
+
text: string;
|
|
13566
|
+
type: "searchOption";
|
|
13567
|
+
}>]>, "many">;
|
|
13206
13568
|
}, "strict", z.ZodTypeAny, {
|
|
13207
|
-
suggestedActions: {
|
|
13208
|
-
optionId?: string | undefined;
|
|
13569
|
+
suggestedActions: ({
|
|
13209
13570
|
text: string;
|
|
13210
|
-
type: "followup"
|
|
13211
|
-
}
|
|
13571
|
+
type: "followup";
|
|
13572
|
+
} | {
|
|
13573
|
+
text: string;
|
|
13574
|
+
type: "search";
|
|
13575
|
+
} | {
|
|
13576
|
+
optionId: string;
|
|
13577
|
+
text: string;
|
|
13578
|
+
type: "searchOption";
|
|
13579
|
+
})[];
|
|
13212
13580
|
}, {
|
|
13213
|
-
suggestedActions: {
|
|
13214
|
-
optionId?: string | undefined;
|
|
13581
|
+
suggestedActions: ({
|
|
13215
13582
|
text: string;
|
|
13216
|
-
type: "followup"
|
|
13217
|
-
}
|
|
13583
|
+
type: "followup";
|
|
13584
|
+
} | {
|
|
13585
|
+
text: string;
|
|
13586
|
+
type: "search";
|
|
13587
|
+
} | {
|
|
13588
|
+
optionId: string;
|
|
13589
|
+
text: string;
|
|
13590
|
+
type: "searchOption";
|
|
13591
|
+
})[];
|
|
13218
13592
|
}>>;
|
|
13219
13593
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
13220
13594
|
actions: z.ZodOptional<z.ZodObject<{
|
|
13221
13595
|
selectAction: z.ZodObject<{
|
|
13222
13596
|
payload: z.ZodObject<{
|
|
13223
|
-
optionId: z.ZodOptional<z.ZodString>;
|
|
13224
13597
|
text: z.ZodString;
|
|
13225
13598
|
type: z.ZodEnum<["followup", "search"]>;
|
|
13226
13599
|
}, "strict", z.ZodTypeAny, {
|
|
13227
|
-
optionId?: string | undefined;
|
|
13228
13600
|
text: string;
|
|
13229
13601
|
type: "followup" | "search";
|
|
13230
13602
|
}, {
|
|
13231
|
-
optionId?: string | undefined;
|
|
13232
13603
|
text: string;
|
|
13233
13604
|
type: "followup" | "search";
|
|
13234
13605
|
}>;
|
|
13235
13606
|
}, "strict", z.ZodTypeAny, {
|
|
13236
13607
|
payload: {
|
|
13237
|
-
optionId?: string | undefined;
|
|
13238
13608
|
text: string;
|
|
13239
13609
|
type: "followup" | "search";
|
|
13240
13610
|
};
|
|
13241
13611
|
}, {
|
|
13242
13612
|
payload: {
|
|
13243
|
-
optionId?: string | undefined;
|
|
13244
13613
|
text: string;
|
|
13245
13614
|
type: "followup" | "search";
|
|
13246
13615
|
};
|
|
13247
13616
|
}>;
|
|
13617
|
+
selectSearchOption: z.ZodObject<{
|
|
13618
|
+
payload: z.ZodObject<{
|
|
13619
|
+
optionId: z.ZodString;
|
|
13620
|
+
}, "strict", z.ZodTypeAny, {
|
|
13621
|
+
optionId: string;
|
|
13622
|
+
}, {
|
|
13623
|
+
optionId: string;
|
|
13624
|
+
}>;
|
|
13625
|
+
}, "strict", z.ZodTypeAny, {
|
|
13626
|
+
payload: {
|
|
13627
|
+
optionId: string;
|
|
13628
|
+
};
|
|
13629
|
+
}, {
|
|
13630
|
+
payload: {
|
|
13631
|
+
optionId: string;
|
|
13632
|
+
};
|
|
13633
|
+
}>;
|
|
13248
13634
|
}, "strict", z.ZodTypeAny, {
|
|
13249
13635
|
selectAction: {
|
|
13250
13636
|
payload: {
|
|
13251
|
-
optionId?: string | undefined;
|
|
13252
13637
|
text: string;
|
|
13253
13638
|
type: "followup" | "search";
|
|
13254
13639
|
};
|
|
13255
13640
|
};
|
|
13641
|
+
selectSearchOption: {
|
|
13642
|
+
payload: {
|
|
13643
|
+
optionId: string;
|
|
13644
|
+
};
|
|
13645
|
+
};
|
|
13256
13646
|
}, {
|
|
13257
13647
|
selectAction: {
|
|
13258
13648
|
payload: {
|
|
13259
|
-
optionId?: string | undefined;
|
|
13260
13649
|
text: string;
|
|
13261
13650
|
type: "followup" | "search";
|
|
13262
13651
|
};
|
|
13263
13652
|
};
|
|
13653
|
+
selectSearchOption: {
|
|
13654
|
+
payload: {
|
|
13655
|
+
optionId: string;
|
|
13656
|
+
};
|
|
13657
|
+
};
|
|
13264
13658
|
}>>;
|
|
13265
13659
|
component: z.ZodLiteral<"NextActionsBar">;
|
|
13266
13660
|
id: z.ZodString;
|
|
13267
13661
|
state: z.ZodOptional<z.ZodObject<{
|
|
13268
|
-
suggestedActions: z.ZodArray<z.ZodObject<{
|
|
13269
|
-
optionId: z.ZodOptional<z.ZodString>;
|
|
13662
|
+
suggestedActions: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
13270
13663
|
text: z.ZodString;
|
|
13271
|
-
type: z.
|
|
13664
|
+
type: z.ZodLiteral<"followup">;
|
|
13272
13665
|
}, "strict", z.ZodTypeAny, {
|
|
13273
|
-
optionId?: string | undefined;
|
|
13274
13666
|
text: string;
|
|
13275
|
-
type: "followup"
|
|
13667
|
+
type: "followup";
|
|
13276
13668
|
}, {
|
|
13277
|
-
optionId?: string | undefined;
|
|
13278
13669
|
text: string;
|
|
13279
|
-
type: "followup"
|
|
13280
|
-
}>,
|
|
13670
|
+
type: "followup";
|
|
13671
|
+
}>, z.ZodObject<{
|
|
13672
|
+
text: z.ZodString;
|
|
13673
|
+
type: z.ZodLiteral<"search">;
|
|
13674
|
+
}, "strict", z.ZodTypeAny, {
|
|
13675
|
+
text: string;
|
|
13676
|
+
type: "search";
|
|
13677
|
+
}, {
|
|
13678
|
+
text: string;
|
|
13679
|
+
type: "search";
|
|
13680
|
+
}>, z.ZodObject<{
|
|
13681
|
+
optionId: z.ZodString;
|
|
13682
|
+
text: z.ZodString;
|
|
13683
|
+
type: z.ZodLiteral<"searchOption">;
|
|
13684
|
+
}, "strict", z.ZodTypeAny, {
|
|
13685
|
+
optionId: string;
|
|
13686
|
+
text: string;
|
|
13687
|
+
type: "searchOption";
|
|
13688
|
+
}, {
|
|
13689
|
+
optionId: string;
|
|
13690
|
+
text: string;
|
|
13691
|
+
type: "searchOption";
|
|
13692
|
+
}>]>, "many">;
|
|
13281
13693
|
}, "strict", z.ZodTypeAny, {
|
|
13282
|
-
suggestedActions: {
|
|
13283
|
-
optionId?: string | undefined;
|
|
13694
|
+
suggestedActions: ({
|
|
13284
13695
|
text: string;
|
|
13285
|
-
type: "followup"
|
|
13286
|
-
}
|
|
13696
|
+
type: "followup";
|
|
13697
|
+
} | {
|
|
13698
|
+
text: string;
|
|
13699
|
+
type: "search";
|
|
13700
|
+
} | {
|
|
13701
|
+
optionId: string;
|
|
13702
|
+
text: string;
|
|
13703
|
+
type: "searchOption";
|
|
13704
|
+
})[];
|
|
13287
13705
|
}, {
|
|
13288
|
-
suggestedActions: {
|
|
13289
|
-
optionId?: string | undefined;
|
|
13706
|
+
suggestedActions: ({
|
|
13290
13707
|
text: string;
|
|
13291
|
-
type: "followup"
|
|
13292
|
-
}
|
|
13708
|
+
type: "followup";
|
|
13709
|
+
} | {
|
|
13710
|
+
text: string;
|
|
13711
|
+
type: "search";
|
|
13712
|
+
} | {
|
|
13713
|
+
optionId: string;
|
|
13714
|
+
text: string;
|
|
13715
|
+
type: "searchOption";
|
|
13716
|
+
})[];
|
|
13293
13717
|
}>>;
|
|
13294
13718
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
13295
13719
|
actions: z.ZodOptional<z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>;
|
|
@@ -20459,19 +20883,37 @@ export declare const LayoutStackPropsSchema: z.ZodObject<{
|
|
|
20459
20883
|
children?: string[] | undefined;
|
|
20460
20884
|
}>;
|
|
20461
20885
|
export declare const NextActionsBarPropsSchema: z.ZodObject<{
|
|
20462
|
-
suggestedActions: z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
20463
|
-
optionId: z.ZodOptional<z.ZodString>;
|
|
20886
|
+
suggestedActions: z.ZodUnion<[z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
20464
20887
|
text: z.ZodString;
|
|
20465
|
-
type: z.
|
|
20888
|
+
type: z.ZodLiteral<"followup">;
|
|
20466
20889
|
}, "strict", z.ZodTypeAny, {
|
|
20467
|
-
optionId?: string | undefined;
|
|
20468
20890
|
text: string;
|
|
20469
|
-
type: "followup"
|
|
20891
|
+
type: "followup";
|
|
20470
20892
|
}, {
|
|
20471
|
-
optionId?: string | undefined;
|
|
20472
20893
|
text: string;
|
|
20473
|
-
type: "followup"
|
|
20474
|
-
}>,
|
|
20894
|
+
type: "followup";
|
|
20895
|
+
}>, z.ZodObject<{
|
|
20896
|
+
text: z.ZodString;
|
|
20897
|
+
type: z.ZodLiteral<"search">;
|
|
20898
|
+
}, "strict", z.ZodTypeAny, {
|
|
20899
|
+
text: string;
|
|
20900
|
+
type: "search";
|
|
20901
|
+
}, {
|
|
20902
|
+
text: string;
|
|
20903
|
+
type: "search";
|
|
20904
|
+
}>, z.ZodObject<{
|
|
20905
|
+
optionId: z.ZodString;
|
|
20906
|
+
text: z.ZodString;
|
|
20907
|
+
type: z.ZodLiteral<"searchOption">;
|
|
20908
|
+
}, "strict", z.ZodTypeAny, {
|
|
20909
|
+
optionId: string;
|
|
20910
|
+
text: string;
|
|
20911
|
+
type: "searchOption";
|
|
20912
|
+
}, {
|
|
20913
|
+
optionId: string;
|
|
20914
|
+
text: string;
|
|
20915
|
+
type: "searchOption";
|
|
20916
|
+
}>]>, "many">, z.ZodObject<{
|
|
20475
20917
|
path: z.ZodString;
|
|
20476
20918
|
}, "strict", z.ZodTypeAny, {
|
|
20477
20919
|
path: string;
|
|
@@ -20491,11 +20933,17 @@ export declare const NextActionsBarPropsSchema: z.ZodObject<{
|
|
|
20491
20933
|
returnType?: "any" | "array" | "boolean" | "number" | "object" | "string" | "void" | undefined;
|
|
20492
20934
|
}>]>;
|
|
20493
20935
|
}, "strip", z.ZodTypeAny, {
|
|
20494
|
-
suggestedActions: {
|
|
20495
|
-
optionId?: string | undefined;
|
|
20936
|
+
suggestedActions: ({
|
|
20496
20937
|
text: string;
|
|
20497
|
-
type: "followup"
|
|
20498
|
-
}
|
|
20938
|
+
type: "followup";
|
|
20939
|
+
} | {
|
|
20940
|
+
text: string;
|
|
20941
|
+
type: "search";
|
|
20942
|
+
} | {
|
|
20943
|
+
optionId: string;
|
|
20944
|
+
text: string;
|
|
20945
|
+
type: "searchOption";
|
|
20946
|
+
})[] | {
|
|
20499
20947
|
path: string;
|
|
20500
20948
|
} | {
|
|
20501
20949
|
call: string;
|
|
@@ -20503,11 +20951,17 @@ export declare const NextActionsBarPropsSchema: z.ZodObject<{
|
|
|
20503
20951
|
returnType: "any" | "array" | "boolean" | "number" | "object" | "string" | "void";
|
|
20504
20952
|
};
|
|
20505
20953
|
}, {
|
|
20506
|
-
suggestedActions: {
|
|
20507
|
-
optionId?: string | undefined;
|
|
20954
|
+
suggestedActions: ({
|
|
20508
20955
|
text: string;
|
|
20509
|
-
type: "followup"
|
|
20510
|
-
}
|
|
20956
|
+
type: "followup";
|
|
20957
|
+
} | {
|
|
20958
|
+
text: string;
|
|
20959
|
+
type: "search";
|
|
20960
|
+
} | {
|
|
20961
|
+
optionId: string;
|
|
20962
|
+
text: string;
|
|
20963
|
+
type: "searchOption";
|
|
20964
|
+
})[] | {
|
|
20511
20965
|
path: string;
|
|
20512
20966
|
} | {
|
|
20513
20967
|
call: string;
|
|
@@ -23054,35 +23508,30 @@ export declare const FacetManagerActionSchema: z.ZodNever;
|
|
|
23054
23508
|
export type FacetManagerAction = never;
|
|
23055
23509
|
export declare const LayoutStackActionSchema: z.ZodNever;
|
|
23056
23510
|
export type LayoutStackAction = never;
|
|
23057
|
-
export declare const NextActionsBarActionSchema: z.ZodObject<{
|
|
23511
|
+
export declare const NextActionsBarActionSchema: z.ZodUnion<[z.ZodObject<{
|
|
23058
23512
|
event: z.ZodObject<{
|
|
23059
23513
|
name: z.ZodLiteral<"selectAction">;
|
|
23060
23514
|
context: z.ZodObject<{
|
|
23061
23515
|
text: z.ZodString;
|
|
23062
23516
|
type: z.ZodEnum<["followup", "search"]>;
|
|
23063
|
-
optionId: z.ZodOptional<z.ZodString>;
|
|
23064
23517
|
}, "strict", z.ZodTypeAny, {
|
|
23065
23518
|
text: string;
|
|
23066
23519
|
type: "followup" | "search";
|
|
23067
|
-
optionId?: string | undefined;
|
|
23068
23520
|
}, {
|
|
23069
23521
|
text: string;
|
|
23070
23522
|
type: "followup" | "search";
|
|
23071
|
-
optionId?: string | undefined;
|
|
23072
23523
|
}>;
|
|
23073
23524
|
}, "strip", z.ZodTypeAny, {
|
|
23074
23525
|
name: "selectAction";
|
|
23075
23526
|
context: {
|
|
23076
23527
|
text: string;
|
|
23077
23528
|
type: "followup" | "search";
|
|
23078
|
-
optionId?: string | undefined;
|
|
23079
23529
|
};
|
|
23080
23530
|
}, {
|
|
23081
23531
|
name: "selectAction";
|
|
23082
23532
|
context: {
|
|
23083
23533
|
text: string;
|
|
23084
23534
|
type: "followup" | "search";
|
|
23085
|
-
optionId?: string | undefined;
|
|
23086
23535
|
};
|
|
23087
23536
|
}>;
|
|
23088
23537
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -23091,7 +23540,6 @@ export declare const NextActionsBarActionSchema: z.ZodObject<{
|
|
|
23091
23540
|
context: {
|
|
23092
23541
|
text: string;
|
|
23093
23542
|
type: "followup" | "search";
|
|
23094
|
-
optionId?: string | undefined;
|
|
23095
23543
|
};
|
|
23096
23544
|
};
|
|
23097
23545
|
}, {
|
|
@@ -23100,10 +23548,44 @@ export declare const NextActionsBarActionSchema: z.ZodObject<{
|
|
|
23100
23548
|
context: {
|
|
23101
23549
|
text: string;
|
|
23102
23550
|
type: "followup" | "search";
|
|
23103
|
-
optionId?: string | undefined;
|
|
23104
23551
|
};
|
|
23105
23552
|
};
|
|
23106
|
-
}
|
|
23553
|
+
}>, z.ZodObject<{
|
|
23554
|
+
event: z.ZodObject<{
|
|
23555
|
+
name: z.ZodLiteral<"selectSearchOption">;
|
|
23556
|
+
context: z.ZodObject<{
|
|
23557
|
+
optionId: z.ZodString;
|
|
23558
|
+
}, "strict", z.ZodTypeAny, {
|
|
23559
|
+
optionId: string;
|
|
23560
|
+
}, {
|
|
23561
|
+
optionId: string;
|
|
23562
|
+
}>;
|
|
23563
|
+
}, "strip", z.ZodTypeAny, {
|
|
23564
|
+
name: "selectSearchOption";
|
|
23565
|
+
context: {
|
|
23566
|
+
optionId: string;
|
|
23567
|
+
};
|
|
23568
|
+
}, {
|
|
23569
|
+
name: "selectSearchOption";
|
|
23570
|
+
context: {
|
|
23571
|
+
optionId: string;
|
|
23572
|
+
};
|
|
23573
|
+
}>;
|
|
23574
|
+
}, "strip", z.ZodTypeAny, {
|
|
23575
|
+
event: {
|
|
23576
|
+
name: "selectSearchOption";
|
|
23577
|
+
context: {
|
|
23578
|
+
optionId: string;
|
|
23579
|
+
};
|
|
23580
|
+
};
|
|
23581
|
+
}, {
|
|
23582
|
+
event: {
|
|
23583
|
+
name: "selectSearchOption";
|
|
23584
|
+
context: {
|
|
23585
|
+
optionId: string;
|
|
23586
|
+
};
|
|
23587
|
+
};
|
|
23588
|
+
}>]>;
|
|
23107
23589
|
export type NextActionsBarAction = z.infer<typeof NextActionsBarActionSchema>;
|
|
23108
23590
|
export declare const NumericFacetActionSchema: z.ZodUnion<[z.ZodObject<{
|
|
23109
23591
|
event: z.ZodObject<{
|