@adaline/provider 1.5.1 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -200,6 +200,119 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
200
200
  title: string;
201
201
  description: string;
202
202
  objectSchema?: any;
203
+ }>, z.ZodObject<{
204
+ type: z.ZodLiteral<"paired-select">;
205
+ param: z.ZodString;
206
+ title: z.ZodString;
207
+ description: z.ZodString;
208
+ fields: z.ZodTuple<[z.ZodObject<{
209
+ key: z.ZodString;
210
+ label: z.ZodString;
211
+ description: z.ZodOptional<z.ZodString>;
212
+ choices: z.ZodArray<z.ZodObject<{
213
+ value: z.ZodString;
214
+ label: z.ZodString;
215
+ }, "strip", z.ZodTypeAny, {
216
+ value: string;
217
+ label: string;
218
+ }, {
219
+ value: string;
220
+ label: string;
221
+ }>, "many">;
222
+ }, "strip", z.ZodTypeAny, {
223
+ label: string;
224
+ key: string;
225
+ choices: {
226
+ value: string;
227
+ label: string;
228
+ }[];
229
+ description?: string | undefined;
230
+ }, {
231
+ label: string;
232
+ key: string;
233
+ choices: {
234
+ value: string;
235
+ label: string;
236
+ }[];
237
+ description?: string | undefined;
238
+ }>, z.ZodObject<{
239
+ key: z.ZodString;
240
+ label: z.ZodString;
241
+ description: z.ZodOptional<z.ZodString>;
242
+ choices: z.ZodArray<z.ZodObject<{
243
+ value: z.ZodString;
244
+ label: z.ZodString;
245
+ }, "strip", z.ZodTypeAny, {
246
+ value: string;
247
+ label: string;
248
+ }, {
249
+ value: string;
250
+ label: string;
251
+ }>, "many">;
252
+ }, "strip", z.ZodTypeAny, {
253
+ label: string;
254
+ key: string;
255
+ choices: {
256
+ value: string;
257
+ label: string;
258
+ }[];
259
+ description?: string | undefined;
260
+ }, {
261
+ label: string;
262
+ key: string;
263
+ choices: {
264
+ value: string;
265
+ label: string;
266
+ }[];
267
+ description?: string | undefined;
268
+ }>], null>;
269
+ uniqueByField: z.ZodOptional<z.ZodString>;
270
+ }, "strip", z.ZodTypeAny, {
271
+ type: "paired-select";
272
+ param: string;
273
+ title: string;
274
+ description: string;
275
+ fields: [{
276
+ label: string;
277
+ key: string;
278
+ choices: {
279
+ value: string;
280
+ label: string;
281
+ }[];
282
+ description?: string | undefined;
283
+ }, {
284
+ label: string;
285
+ key: string;
286
+ choices: {
287
+ value: string;
288
+ label: string;
289
+ }[];
290
+ description?: string | undefined;
291
+ }];
292
+ uniqueByField?: string | undefined;
293
+ }, {
294
+ type: "paired-select";
295
+ param: string;
296
+ title: string;
297
+ description: string;
298
+ fields: [{
299
+ label: string;
300
+ key: string;
301
+ choices: {
302
+ value: string;
303
+ label: string;
304
+ }[];
305
+ description?: string | undefined;
306
+ }, {
307
+ label: string;
308
+ key: string;
309
+ choices: {
310
+ value: string;
311
+ label: string;
312
+ }[];
313
+ description?: string | undefined;
314
+ }];
315
+ uniqueByField?: string | undefined;
203
316
  }>]>>;
204
317
  schema: z.ZodType<z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>, z.ZodTypeDef, z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>>;
205
318
  }, "strip", z.ZodTypeAny, {
@@ -215,6 +328,29 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
215
328
  title: string;
216
329
  description: string;
217
330
  objectSchema?: any;
331
+ } | {
332
+ type: "paired-select";
333
+ param: string;
334
+ title: string;
335
+ description: string;
336
+ fields: [{
337
+ label: string;
338
+ key: string;
339
+ choices: {
340
+ value: string;
341
+ label: string;
342
+ }[];
343
+ description?: string | undefined;
344
+ }, {
345
+ label: string;
346
+ key: string;
347
+ choices: {
348
+ value: string;
349
+ label: string;
350
+ }[];
351
+ description?: string | undefined;
352
+ }];
353
+ uniqueByField?: string | undefined;
218
354
  } | {
219
355
  type: "range";
220
356
  param: string;
@@ -252,6 +388,29 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
252
388
  title: string;
253
389
  description: string;
254
390
  objectSchema?: any;
391
+ } | {
392
+ type: "paired-select";
393
+ param: string;
394
+ title: string;
395
+ description: string;
396
+ fields: [{
397
+ label: string;
398
+ key: string;
399
+ choices: {
400
+ value: string;
401
+ label: string;
402
+ }[];
403
+ description?: string | undefined;
404
+ }, {
405
+ label: string;
406
+ key: string;
407
+ choices: {
408
+ value: string;
409
+ label: string;
410
+ }[];
411
+ description?: string | undefined;
412
+ }];
413
+ uniqueByField?: string | undefined;
255
414
  } | {
256
415
  type: "range";
257
416
  param: string;
@@ -289,6 +448,29 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
289
448
  title: string;
290
449
  description: string;
291
450
  objectSchema?: any;
451
+ } | {
452
+ type: "paired-select";
453
+ param: string;
454
+ title: string;
455
+ description: string;
456
+ fields: [{
457
+ label: string;
458
+ key: string;
459
+ choices: {
460
+ value: string;
461
+ label: string;
462
+ }[];
463
+ description?: string | undefined;
464
+ }, {
465
+ label: string;
466
+ key: string;
467
+ choices: {
468
+ value: string;
469
+ label: string;
470
+ }[];
471
+ description?: string | undefined;
472
+ }];
473
+ uniqueByField?: string | undefined;
292
474
  } | {
293
475
  type: "range";
294
476
  param: string;
@@ -326,6 +508,29 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
326
508
  title: string;
327
509
  description: string;
328
510
  objectSchema?: any;
511
+ } | {
512
+ type: "paired-select";
513
+ param: string;
514
+ title: string;
515
+ description: string;
516
+ fields: [{
517
+ label: string;
518
+ key: string;
519
+ choices: {
520
+ value: string;
521
+ label: string;
522
+ }[];
523
+ description?: string | undefined;
524
+ }, {
525
+ label: string;
526
+ key: string;
527
+ choices: {
528
+ value: string;
529
+ label: string;
530
+ }[];
531
+ description?: string | undefined;
532
+ }];
533
+ uniqueByField?: string | undefined;
329
534
  } | {
330
535
  type: "range";
331
536
  param: string;
@@ -489,6 +694,119 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
489
694
  title: string;
490
695
  description: string;
491
696
  objectSchema?: any;
697
+ }>, z.ZodObject<{
698
+ type: z.ZodLiteral<"paired-select">;
699
+ param: z.ZodString;
700
+ title: z.ZodString;
701
+ description: z.ZodString;
702
+ fields: z.ZodTuple<[z.ZodObject<{
703
+ key: z.ZodString;
704
+ label: z.ZodString;
705
+ description: z.ZodOptional<z.ZodString>;
706
+ choices: z.ZodArray<z.ZodObject<{
707
+ value: z.ZodString;
708
+ label: z.ZodString;
709
+ }, "strip", z.ZodTypeAny, {
710
+ value: string;
711
+ label: string;
712
+ }, {
713
+ value: string;
714
+ label: string;
715
+ }>, "many">;
716
+ }, "strip", z.ZodTypeAny, {
717
+ label: string;
718
+ key: string;
719
+ choices: {
720
+ value: string;
721
+ label: string;
722
+ }[];
723
+ description?: string | undefined;
724
+ }, {
725
+ label: string;
726
+ key: string;
727
+ choices: {
728
+ value: string;
729
+ label: string;
730
+ }[];
731
+ description?: string | undefined;
732
+ }>, z.ZodObject<{
733
+ key: z.ZodString;
734
+ label: z.ZodString;
735
+ description: z.ZodOptional<z.ZodString>;
736
+ choices: z.ZodArray<z.ZodObject<{
737
+ value: z.ZodString;
738
+ label: z.ZodString;
739
+ }, "strip", z.ZodTypeAny, {
740
+ value: string;
741
+ label: string;
742
+ }, {
743
+ value: string;
744
+ label: string;
745
+ }>, "many">;
746
+ }, "strip", z.ZodTypeAny, {
747
+ label: string;
748
+ key: string;
749
+ choices: {
750
+ value: string;
751
+ label: string;
752
+ }[];
753
+ description?: string | undefined;
754
+ }, {
755
+ label: string;
756
+ key: string;
757
+ choices: {
758
+ value: string;
759
+ label: string;
760
+ }[];
761
+ description?: string | undefined;
762
+ }>], null>;
763
+ uniqueByField: z.ZodOptional<z.ZodString>;
764
+ }, "strip", z.ZodTypeAny, {
765
+ type: "paired-select";
766
+ param: string;
767
+ title: string;
768
+ description: string;
769
+ fields: [{
770
+ label: string;
771
+ key: string;
772
+ choices: {
773
+ value: string;
774
+ label: string;
775
+ }[];
776
+ description?: string | undefined;
777
+ }, {
778
+ label: string;
779
+ key: string;
780
+ choices: {
781
+ value: string;
782
+ label: string;
783
+ }[];
784
+ description?: string | undefined;
785
+ }];
786
+ uniqueByField?: string | undefined;
787
+ }, {
788
+ type: "paired-select";
789
+ param: string;
790
+ title: string;
791
+ description: string;
792
+ fields: [{
793
+ label: string;
794
+ key: string;
795
+ choices: {
796
+ value: string;
797
+ label: string;
798
+ }[];
799
+ description?: string | undefined;
800
+ }, {
801
+ label: string;
802
+ key: string;
803
+ choices: {
804
+ value: string;
805
+ label: string;
806
+ }[];
807
+ description?: string | undefined;
808
+ }];
809
+ uniqueByField?: string | undefined;
492
810
  }>]>>;
493
811
  schema: z.ZodType<z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>, z.ZodTypeDef, z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>>;
494
812
  }, "strip", z.ZodTypeAny, {
@@ -504,6 +822,29 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
504
822
  title: string;
505
823
  description: string;
506
824
  objectSchema?: any;
825
+ } | {
826
+ type: "paired-select";
827
+ param: string;
828
+ title: string;
829
+ description: string;
830
+ fields: [{
831
+ label: string;
832
+ key: string;
833
+ choices: {
834
+ value: string;
835
+ label: string;
836
+ }[];
837
+ description?: string | undefined;
838
+ }, {
839
+ label: string;
840
+ key: string;
841
+ choices: {
842
+ value: string;
843
+ label: string;
844
+ }[];
845
+ description?: string | undefined;
846
+ }];
847
+ uniqueByField?: string | undefined;
507
848
  } | {
508
849
  type: "range";
509
850
  param: string;
@@ -541,6 +882,29 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
541
882
  title: string;
542
883
  description: string;
543
884
  objectSchema?: any;
885
+ } | {
886
+ type: "paired-select";
887
+ param: string;
888
+ title: string;
889
+ description: string;
890
+ fields: [{
891
+ label: string;
892
+ key: string;
893
+ choices: {
894
+ value: string;
895
+ label: string;
896
+ }[];
897
+ description?: string | undefined;
898
+ }, {
899
+ label: string;
900
+ key: string;
901
+ choices: {
902
+ value: string;
903
+ label: string;
904
+ }[];
905
+ description?: string | undefined;
906
+ }];
907
+ uniqueByField?: string | undefined;
544
908
  } | {
545
909
  type: "range";
546
910
  param: string;
@@ -578,6 +942,29 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
578
942
  title: string;
579
943
  description: string;
580
944
  objectSchema?: any;
945
+ } | {
946
+ type: "paired-select";
947
+ param: string;
948
+ title: string;
949
+ description: string;
950
+ fields: [{
951
+ label: string;
952
+ key: string;
953
+ choices: {
954
+ value: string;
955
+ label: string;
956
+ }[];
957
+ description?: string | undefined;
958
+ }, {
959
+ label: string;
960
+ key: string;
961
+ choices: {
962
+ value: string;
963
+ label: string;
964
+ }[];
965
+ description?: string | undefined;
966
+ }];
967
+ uniqueByField?: string | undefined;
581
968
  } | {
582
969
  type: "range";
583
970
  param: string;
@@ -615,6 +1002,29 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
615
1002
  title: string;
616
1003
  description: string;
617
1004
  objectSchema?: any;
1005
+ } | {
1006
+ type: "paired-select";
1007
+ param: string;
1008
+ title: string;
1009
+ description: string;
1010
+ fields: [{
1011
+ label: string;
1012
+ key: string;
1013
+ choices: {
1014
+ value: string;
1015
+ label: string;
1016
+ }[];
1017
+ description?: string | undefined;
1018
+ }, {
1019
+ label: string;
1020
+ key: string;
1021
+ choices: {
1022
+ value: string;
1023
+ label: string;
1024
+ }[];
1025
+ description?: string | undefined;
1026
+ }];
1027
+ uniqueByField?: string | undefined;
618
1028
  } | {
619
1029
  type: "range";
620
1030
  param: string;
@@ -778,6 +1188,119 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
778
1188
  title: string;
779
1189
  description: string;
780
1190
  objectSchema?: any;
1191
+ }>, z.ZodObject<{
1192
+ type: z.ZodLiteral<"paired-select">;
1193
+ param: z.ZodString;
1194
+ title: z.ZodString;
1195
+ description: z.ZodString;
1196
+ fields: z.ZodTuple<[z.ZodObject<{
1197
+ key: z.ZodString;
1198
+ label: z.ZodString;
1199
+ description: z.ZodOptional<z.ZodString>;
1200
+ choices: z.ZodArray<z.ZodObject<{
1201
+ value: z.ZodString;
1202
+ label: z.ZodString;
1203
+ }, "strip", z.ZodTypeAny, {
1204
+ value: string;
1205
+ label: string;
1206
+ }, {
1207
+ value: string;
1208
+ label: string;
1209
+ }>, "many">;
1210
+ }, "strip", z.ZodTypeAny, {
1211
+ label: string;
1212
+ key: string;
1213
+ choices: {
1214
+ value: string;
1215
+ label: string;
1216
+ }[];
1217
+ description?: string | undefined;
1218
+ }, {
1219
+ label: string;
1220
+ key: string;
1221
+ choices: {
1222
+ value: string;
1223
+ label: string;
1224
+ }[];
1225
+ description?: string | undefined;
1226
+ }>, z.ZodObject<{
1227
+ key: z.ZodString;
1228
+ label: z.ZodString;
1229
+ description: z.ZodOptional<z.ZodString>;
1230
+ choices: z.ZodArray<z.ZodObject<{
1231
+ value: z.ZodString;
1232
+ label: z.ZodString;
1233
+ }, "strip", z.ZodTypeAny, {
1234
+ value: string;
1235
+ label: string;
1236
+ }, {
1237
+ value: string;
1238
+ label: string;
1239
+ }>, "many">;
1240
+ }, "strip", z.ZodTypeAny, {
1241
+ label: string;
1242
+ key: string;
1243
+ choices: {
1244
+ value: string;
1245
+ label: string;
1246
+ }[];
1247
+ description?: string | undefined;
1248
+ }, {
1249
+ label: string;
1250
+ key: string;
1251
+ choices: {
1252
+ value: string;
1253
+ label: string;
1254
+ }[];
1255
+ description?: string | undefined;
1256
+ }>], null>;
1257
+ uniqueByField: z.ZodOptional<z.ZodString>;
1258
+ }, "strip", z.ZodTypeAny, {
1259
+ type: "paired-select";
1260
+ param: string;
1261
+ title: string;
1262
+ description: string;
1263
+ fields: [{
1264
+ label: string;
1265
+ key: string;
1266
+ choices: {
1267
+ value: string;
1268
+ label: string;
1269
+ }[];
1270
+ description?: string | undefined;
1271
+ }, {
1272
+ label: string;
1273
+ key: string;
1274
+ choices: {
1275
+ value: string;
1276
+ label: string;
1277
+ }[];
1278
+ description?: string | undefined;
1279
+ }];
1280
+ uniqueByField?: string | undefined;
1281
+ }, {
1282
+ type: "paired-select";
1283
+ param: string;
1284
+ title: string;
1285
+ description: string;
1286
+ fields: [{
1287
+ label: string;
1288
+ key: string;
1289
+ choices: {
1290
+ value: string;
1291
+ label: string;
1292
+ }[];
1293
+ description?: string | undefined;
1294
+ }, {
1295
+ label: string;
1296
+ key: string;
1297
+ choices: {
1298
+ value: string;
1299
+ label: string;
1300
+ }[];
1301
+ description?: string | undefined;
1302
+ }];
1303
+ uniqueByField?: string | undefined;
781
1304
  }>]>>;
782
1305
  schema: z.ZodType<z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>, z.ZodTypeDef, z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>>;
783
1306
  }, "strip", z.ZodTypeAny, {
@@ -793,6 +1316,29 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
793
1316
  title: string;
794
1317
  description: string;
795
1318
  objectSchema?: any;
1319
+ } | {
1320
+ type: "paired-select";
1321
+ param: string;
1322
+ title: string;
1323
+ description: string;
1324
+ fields: [{
1325
+ label: string;
1326
+ key: string;
1327
+ choices: {
1328
+ value: string;
1329
+ label: string;
1330
+ }[];
1331
+ description?: string | undefined;
1332
+ }, {
1333
+ label: string;
1334
+ key: string;
1335
+ choices: {
1336
+ value: string;
1337
+ label: string;
1338
+ }[];
1339
+ description?: string | undefined;
1340
+ }];
1341
+ uniqueByField?: string | undefined;
796
1342
  } | {
797
1343
  type: "range";
798
1344
  param: string;
@@ -830,6 +1376,29 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
830
1376
  title: string;
831
1377
  description: string;
832
1378
  objectSchema?: any;
1379
+ } | {
1380
+ type: "paired-select";
1381
+ param: string;
1382
+ title: string;
1383
+ description: string;
1384
+ fields: [{
1385
+ label: string;
1386
+ key: string;
1387
+ choices: {
1388
+ value: string;
1389
+ label: string;
1390
+ }[];
1391
+ description?: string | undefined;
1392
+ }, {
1393
+ label: string;
1394
+ key: string;
1395
+ choices: {
1396
+ value: string;
1397
+ label: string;
1398
+ }[];
1399
+ description?: string | undefined;
1400
+ }];
1401
+ uniqueByField?: string | undefined;
833
1402
  } | {
834
1403
  type: "range";
835
1404
  param: string;
@@ -867,6 +1436,29 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
867
1436
  title: string;
868
1437
  description: string;
869
1438
  objectSchema?: any;
1439
+ } | {
1440
+ type: "paired-select";
1441
+ param: string;
1442
+ title: string;
1443
+ description: string;
1444
+ fields: [{
1445
+ label: string;
1446
+ key: string;
1447
+ choices: {
1448
+ value: string;
1449
+ label: string;
1450
+ }[];
1451
+ description?: string | undefined;
1452
+ }, {
1453
+ label: string;
1454
+ key: string;
1455
+ choices: {
1456
+ value: string;
1457
+ label: string;
1458
+ }[];
1459
+ description?: string | undefined;
1460
+ }];
1461
+ uniqueByField?: string | undefined;
870
1462
  } | {
871
1463
  type: "range";
872
1464
  param: string;
@@ -904,6 +1496,29 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
904
1496
  title: string;
905
1497
  description: string;
906
1498
  objectSchema?: any;
1499
+ } | {
1500
+ type: "paired-select";
1501
+ param: string;
1502
+ title: string;
1503
+ description: string;
1504
+ fields: [{
1505
+ label: string;
1506
+ key: string;
1507
+ choices: {
1508
+ value: string;
1509
+ label: string;
1510
+ }[];
1511
+ description?: string | undefined;
1512
+ }, {
1513
+ label: string;
1514
+ key: string;
1515
+ choices: {
1516
+ value: string;
1517
+ label: string;
1518
+ }[];
1519
+ description?: string | undefined;
1520
+ }];
1521
+ uniqueByField?: string | undefined;
907
1522
  } | {
908
1523
  type: "range";
909
1524
  param: string;
@@ -1067,6 +1682,119 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
1067
1682
  title: string;
1068
1683
  description: string;
1069
1684
  objectSchema?: any;
1685
+ }>, z.ZodObject<{
1686
+ type: z.ZodLiteral<"paired-select">;
1687
+ param: z.ZodString;
1688
+ title: z.ZodString;
1689
+ description: z.ZodString;
1690
+ fields: z.ZodTuple<[z.ZodObject<{
1691
+ key: z.ZodString;
1692
+ label: z.ZodString;
1693
+ description: z.ZodOptional<z.ZodString>;
1694
+ choices: z.ZodArray<z.ZodObject<{
1695
+ value: z.ZodString;
1696
+ label: z.ZodString;
1697
+ }, "strip", z.ZodTypeAny, {
1698
+ value: string;
1699
+ label: string;
1700
+ }, {
1701
+ value: string;
1702
+ label: string;
1703
+ }>, "many">;
1704
+ }, "strip", z.ZodTypeAny, {
1705
+ label: string;
1706
+ key: string;
1707
+ choices: {
1708
+ value: string;
1709
+ label: string;
1710
+ }[];
1711
+ description?: string | undefined;
1712
+ }, {
1713
+ label: string;
1714
+ key: string;
1715
+ choices: {
1716
+ value: string;
1717
+ label: string;
1718
+ }[];
1719
+ description?: string | undefined;
1720
+ }>, z.ZodObject<{
1721
+ key: z.ZodString;
1722
+ label: z.ZodString;
1723
+ description: z.ZodOptional<z.ZodString>;
1724
+ choices: z.ZodArray<z.ZodObject<{
1725
+ value: z.ZodString;
1726
+ label: z.ZodString;
1727
+ }, "strip", z.ZodTypeAny, {
1728
+ value: string;
1729
+ label: string;
1730
+ }, {
1731
+ value: string;
1732
+ label: string;
1733
+ }>, "many">;
1734
+ }, "strip", z.ZodTypeAny, {
1735
+ label: string;
1736
+ key: string;
1737
+ choices: {
1738
+ value: string;
1739
+ label: string;
1740
+ }[];
1741
+ description?: string | undefined;
1742
+ }, {
1743
+ label: string;
1744
+ key: string;
1745
+ choices: {
1746
+ value: string;
1747
+ label: string;
1748
+ }[];
1749
+ description?: string | undefined;
1750
+ }>], null>;
1751
+ uniqueByField: z.ZodOptional<z.ZodString>;
1752
+ }, "strip", z.ZodTypeAny, {
1753
+ type: "paired-select";
1754
+ param: string;
1755
+ title: string;
1756
+ description: string;
1757
+ fields: [{
1758
+ label: string;
1759
+ key: string;
1760
+ choices: {
1761
+ value: string;
1762
+ label: string;
1763
+ }[];
1764
+ description?: string | undefined;
1765
+ }, {
1766
+ label: string;
1767
+ key: string;
1768
+ choices: {
1769
+ value: string;
1770
+ label: string;
1771
+ }[];
1772
+ description?: string | undefined;
1773
+ }];
1774
+ uniqueByField?: string | undefined;
1775
+ }, {
1776
+ type: "paired-select";
1777
+ param: string;
1778
+ title: string;
1779
+ description: string;
1780
+ fields: [{
1781
+ label: string;
1782
+ key: string;
1783
+ choices: {
1784
+ value: string;
1785
+ label: string;
1786
+ }[];
1787
+ description?: string | undefined;
1788
+ }, {
1789
+ label: string;
1790
+ key: string;
1791
+ choices: {
1792
+ value: string;
1793
+ label: string;
1794
+ }[];
1795
+ description?: string | undefined;
1796
+ }];
1797
+ uniqueByField?: string | undefined;
1070
1798
  }>]>>;
1071
1799
  schema: z.ZodType<z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>, z.ZodTypeDef, z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>>;
1072
1800
  }, "strip", z.ZodTypeAny, {
@@ -1082,6 +1810,29 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
1082
1810
  title: string;
1083
1811
  description: string;
1084
1812
  objectSchema?: any;
1813
+ } | {
1814
+ type: "paired-select";
1815
+ param: string;
1816
+ title: string;
1817
+ description: string;
1818
+ fields: [{
1819
+ label: string;
1820
+ key: string;
1821
+ choices: {
1822
+ value: string;
1823
+ label: string;
1824
+ }[];
1825
+ description?: string | undefined;
1826
+ }, {
1827
+ label: string;
1828
+ key: string;
1829
+ choices: {
1830
+ value: string;
1831
+ label: string;
1832
+ }[];
1833
+ description?: string | undefined;
1834
+ }];
1835
+ uniqueByField?: string | undefined;
1085
1836
  } | {
1086
1837
  type: "range";
1087
1838
  param: string;
@@ -1119,6 +1870,29 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
1119
1870
  title: string;
1120
1871
  description: string;
1121
1872
  objectSchema?: any;
1873
+ } | {
1874
+ type: "paired-select";
1875
+ param: string;
1876
+ title: string;
1877
+ description: string;
1878
+ fields: [{
1879
+ label: string;
1880
+ key: string;
1881
+ choices: {
1882
+ value: string;
1883
+ label: string;
1884
+ }[];
1885
+ description?: string | undefined;
1886
+ }, {
1887
+ label: string;
1888
+ key: string;
1889
+ choices: {
1890
+ value: string;
1891
+ label: string;
1892
+ }[];
1893
+ description?: string | undefined;
1894
+ }];
1895
+ uniqueByField?: string | undefined;
1122
1896
  } | {
1123
1897
  type: "range";
1124
1898
  param: string;
@@ -1156,6 +1930,29 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
1156
1930
  title: string;
1157
1931
  description: string;
1158
1932
  objectSchema?: any;
1933
+ } | {
1934
+ type: "paired-select";
1935
+ param: string;
1936
+ title: string;
1937
+ description: string;
1938
+ fields: [{
1939
+ label: string;
1940
+ key: string;
1941
+ choices: {
1942
+ value: string;
1943
+ label: string;
1944
+ }[];
1945
+ description?: string | undefined;
1946
+ }, {
1947
+ label: string;
1948
+ key: string;
1949
+ choices: {
1950
+ value: string;
1951
+ label: string;
1952
+ }[];
1953
+ description?: string | undefined;
1954
+ }];
1955
+ uniqueByField?: string | undefined;
1159
1956
  } | {
1160
1957
  type: "range";
1161
1958
  param: string;
@@ -1193,6 +1990,29 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
1193
1990
  title: string;
1194
1991
  description: string;
1195
1992
  objectSchema?: any;
1993
+ } | {
1994
+ type: "paired-select";
1995
+ param: string;
1996
+ title: string;
1997
+ description: string;
1998
+ fields: [{
1999
+ label: string;
2000
+ key: string;
2001
+ choices: {
2002
+ value: string;
2003
+ label: string;
2004
+ }[];
2005
+ description?: string | undefined;
2006
+ }, {
2007
+ label: string;
2008
+ key: string;
2009
+ choices: {
2010
+ value: string;
2011
+ label: string;
2012
+ }[];
2013
+ description?: string | undefined;
2014
+ }];
2015
+ uniqueByField?: string | undefined;
1196
2016
  } | {
1197
2017
  type: "range";
1198
2018
  param: string;
@@ -1356,6 +2176,119 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
1356
2176
  title: string;
1357
2177
  description: string;
1358
2178
  objectSchema?: any;
2179
+ }>, z.ZodObject<{
2180
+ type: z.ZodLiteral<"paired-select">;
2181
+ param: z.ZodString;
2182
+ title: z.ZodString;
2183
+ description: z.ZodString;
2184
+ fields: z.ZodTuple<[z.ZodObject<{
2185
+ key: z.ZodString;
2186
+ label: z.ZodString;
2187
+ description: z.ZodOptional<z.ZodString>;
2188
+ choices: z.ZodArray<z.ZodObject<{
2189
+ value: z.ZodString;
2190
+ label: z.ZodString;
2191
+ }, "strip", z.ZodTypeAny, {
2192
+ value: string;
2193
+ label: string;
2194
+ }, {
2195
+ value: string;
2196
+ label: string;
2197
+ }>, "many">;
2198
+ }, "strip", z.ZodTypeAny, {
2199
+ label: string;
2200
+ key: string;
2201
+ choices: {
2202
+ value: string;
2203
+ label: string;
2204
+ }[];
2205
+ description?: string | undefined;
2206
+ }, {
2207
+ label: string;
2208
+ key: string;
2209
+ choices: {
2210
+ value: string;
2211
+ label: string;
2212
+ }[];
2213
+ description?: string | undefined;
2214
+ }>, z.ZodObject<{
2215
+ key: z.ZodString;
2216
+ label: z.ZodString;
2217
+ description: z.ZodOptional<z.ZodString>;
2218
+ choices: z.ZodArray<z.ZodObject<{
2219
+ value: z.ZodString;
2220
+ label: z.ZodString;
2221
+ }, "strip", z.ZodTypeAny, {
2222
+ value: string;
2223
+ label: string;
2224
+ }, {
2225
+ value: string;
2226
+ label: string;
2227
+ }>, "many">;
2228
+ }, "strip", z.ZodTypeAny, {
2229
+ label: string;
2230
+ key: string;
2231
+ choices: {
2232
+ value: string;
2233
+ label: string;
2234
+ }[];
2235
+ description?: string | undefined;
2236
+ }, {
2237
+ label: string;
2238
+ key: string;
2239
+ choices: {
2240
+ value: string;
2241
+ label: string;
2242
+ }[];
2243
+ description?: string | undefined;
2244
+ }>], null>;
2245
+ uniqueByField: z.ZodOptional<z.ZodString>;
2246
+ }, "strip", z.ZodTypeAny, {
2247
+ type: "paired-select";
2248
+ param: string;
2249
+ title: string;
2250
+ description: string;
2251
+ fields: [{
2252
+ label: string;
2253
+ key: string;
2254
+ choices: {
2255
+ value: string;
2256
+ label: string;
2257
+ }[];
2258
+ description?: string | undefined;
2259
+ }, {
2260
+ label: string;
2261
+ key: string;
2262
+ choices: {
2263
+ value: string;
2264
+ label: string;
2265
+ }[];
2266
+ description?: string | undefined;
2267
+ }];
2268
+ uniqueByField?: string | undefined;
2269
+ }, {
2270
+ type: "paired-select";
2271
+ param: string;
2272
+ title: string;
2273
+ description: string;
2274
+ fields: [{
2275
+ label: string;
2276
+ key: string;
2277
+ choices: {
2278
+ value: string;
2279
+ label: string;
2280
+ }[];
2281
+ description?: string | undefined;
2282
+ }, {
2283
+ label: string;
2284
+ key: string;
2285
+ choices: {
2286
+ value: string;
2287
+ label: string;
2288
+ }[];
2289
+ description?: string | undefined;
2290
+ }];
2291
+ uniqueByField?: string | undefined;
1359
2292
  }>]>>;
1360
2293
  schema: z.ZodType<z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>, z.ZodTypeDef, z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>>;
1361
2294
  }, "strip", z.ZodTypeAny, {
@@ -1371,6 +2304,29 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
1371
2304
  title: string;
1372
2305
  description: string;
1373
2306
  objectSchema?: any;
2307
+ } | {
2308
+ type: "paired-select";
2309
+ param: string;
2310
+ title: string;
2311
+ description: string;
2312
+ fields: [{
2313
+ label: string;
2314
+ key: string;
2315
+ choices: {
2316
+ value: string;
2317
+ label: string;
2318
+ }[];
2319
+ description?: string | undefined;
2320
+ }, {
2321
+ label: string;
2322
+ key: string;
2323
+ choices: {
2324
+ value: string;
2325
+ label: string;
2326
+ }[];
2327
+ description?: string | undefined;
2328
+ }];
2329
+ uniqueByField?: string | undefined;
1374
2330
  } | {
1375
2331
  type: "range";
1376
2332
  param: string;
@@ -1408,6 +2364,29 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
1408
2364
  title: string;
1409
2365
  description: string;
1410
2366
  objectSchema?: any;
2367
+ } | {
2368
+ type: "paired-select";
2369
+ param: string;
2370
+ title: string;
2371
+ description: string;
2372
+ fields: [{
2373
+ label: string;
2374
+ key: string;
2375
+ choices: {
2376
+ value: string;
2377
+ label: string;
2378
+ }[];
2379
+ description?: string | undefined;
2380
+ }, {
2381
+ label: string;
2382
+ key: string;
2383
+ choices: {
2384
+ value: string;
2385
+ label: string;
2386
+ }[];
2387
+ description?: string | undefined;
2388
+ }];
2389
+ uniqueByField?: string | undefined;
1411
2390
  } | {
1412
2391
  type: "range";
1413
2392
  param: string;
@@ -1445,6 +2424,29 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
1445
2424
  title: string;
1446
2425
  description: string;
1447
2426
  objectSchema?: any;
2427
+ } | {
2428
+ type: "paired-select";
2429
+ param: string;
2430
+ title: string;
2431
+ description: string;
2432
+ fields: [{
2433
+ label: string;
2434
+ key: string;
2435
+ choices: {
2436
+ value: string;
2437
+ label: string;
2438
+ }[];
2439
+ description?: string | undefined;
2440
+ }, {
2441
+ label: string;
2442
+ key: string;
2443
+ choices: {
2444
+ value: string;
2445
+ label: string;
2446
+ }[];
2447
+ description?: string | undefined;
2448
+ }];
2449
+ uniqueByField?: string | undefined;
1448
2450
  } | {
1449
2451
  type: "range";
1450
2452
  param: string;
@@ -1482,6 +2484,29 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
1482
2484
  title: string;
1483
2485
  description: string;
1484
2486
  objectSchema?: any;
2487
+ } | {
2488
+ type: "paired-select";
2489
+ param: string;
2490
+ title: string;
2491
+ description: string;
2492
+ fields: [{
2493
+ label: string;
2494
+ key: string;
2495
+ choices: {
2496
+ value: string;
2497
+ label: string;
2498
+ }[];
2499
+ description?: string | undefined;
2500
+ }, {
2501
+ label: string;
2502
+ key: string;
2503
+ choices: {
2504
+ value: string;
2505
+ label: string;
2506
+ }[];
2507
+ description?: string | undefined;
2508
+ }];
2509
+ uniqueByField?: string | undefined;
1485
2510
  } | {
1486
2511
  type: "range";
1487
2512
  param: string;
@@ -1546,8 +2571,8 @@ type ParamsType = z.infer<typeof Params>;
1546
2571
  declare const Url: z.ZodString;
1547
2572
  type UrlType = z.infer<typeof Url>;
1548
2573
 
1549
- declare const ConfigItemLiterals: readonly ["range", "multi-string", "select-string", "object-schema", "select-boolean"];
1550
- declare const ConfigItemEnum: z.ZodEnum<["range", "multi-string", "select-string", "object-schema", "select-boolean"]>;
2574
+ declare const ConfigItemLiterals: readonly ["range", "multi-string", "select-string", "object-schema", "select-boolean", "paired-select"];
2575
+ declare const ConfigItemEnum: z.ZodEnum<["range", "multi-string", "select-string", "object-schema", "select-boolean", "paired-select"]>;
1551
2576
  type ConfigItemEnumType = z.infer<typeof ConfigItemEnum>;
1552
2577
  declare const ConfigItemDef: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1553
2578
  type: z.ZodLiteral<"range">;
@@ -1651,6 +2676,119 @@ declare const ConfigItemDef: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1651
2676
  title: string;
1652
2677
  description: string;
1653
2678
  objectSchema?: any;
2679
+ }>, z.ZodObject<{
2680
+ type: z.ZodLiteral<"paired-select">;
2681
+ param: z.ZodString;
2682
+ title: z.ZodString;
2683
+ description: z.ZodString;
2684
+ fields: z.ZodTuple<[z.ZodObject<{
2685
+ key: z.ZodString;
2686
+ label: z.ZodString;
2687
+ description: z.ZodOptional<z.ZodString>;
2688
+ choices: z.ZodArray<z.ZodObject<{
2689
+ value: z.ZodString;
2690
+ label: z.ZodString;
2691
+ }, "strip", z.ZodTypeAny, {
2692
+ value: string;
2693
+ label: string;
2694
+ }, {
2695
+ value: string;
2696
+ label: string;
2697
+ }>, "many">;
2698
+ }, "strip", z.ZodTypeAny, {
2699
+ label: string;
2700
+ key: string;
2701
+ choices: {
2702
+ value: string;
2703
+ label: string;
2704
+ }[];
2705
+ description?: string | undefined;
2706
+ }, {
2707
+ label: string;
2708
+ key: string;
2709
+ choices: {
2710
+ value: string;
2711
+ label: string;
2712
+ }[];
2713
+ description?: string | undefined;
2714
+ }>, z.ZodObject<{
2715
+ key: z.ZodString;
2716
+ label: z.ZodString;
2717
+ description: z.ZodOptional<z.ZodString>;
2718
+ choices: z.ZodArray<z.ZodObject<{
2719
+ value: z.ZodString;
2720
+ label: z.ZodString;
2721
+ }, "strip", z.ZodTypeAny, {
2722
+ value: string;
2723
+ label: string;
2724
+ }, {
2725
+ value: string;
2726
+ label: string;
2727
+ }>, "many">;
2728
+ }, "strip", z.ZodTypeAny, {
2729
+ label: string;
2730
+ key: string;
2731
+ choices: {
2732
+ value: string;
2733
+ label: string;
2734
+ }[];
2735
+ description?: string | undefined;
2736
+ }, {
2737
+ label: string;
2738
+ key: string;
2739
+ choices: {
2740
+ value: string;
2741
+ label: string;
2742
+ }[];
2743
+ description?: string | undefined;
2744
+ }>], null>;
2745
+ uniqueByField: z.ZodOptional<z.ZodString>;
2746
+ }, "strip", z.ZodTypeAny, {
2747
+ type: "paired-select";
2748
+ param: string;
2749
+ title: string;
2750
+ description: string;
2751
+ fields: [{
2752
+ label: string;
2753
+ key: string;
2754
+ choices: {
2755
+ value: string;
2756
+ label: string;
2757
+ }[];
2758
+ description?: string | undefined;
2759
+ }, {
2760
+ label: string;
2761
+ key: string;
2762
+ choices: {
2763
+ value: string;
2764
+ label: string;
2765
+ }[];
2766
+ description?: string | undefined;
2767
+ }];
2768
+ uniqueByField?: string | undefined;
2769
+ }, {
2770
+ type: "paired-select";
2771
+ param: string;
2772
+ title: string;
2773
+ description: string;
2774
+ fields: [{
2775
+ label: string;
2776
+ key: string;
2777
+ choices: {
2778
+ value: string;
2779
+ label: string;
2780
+ }[];
2781
+ description?: string | undefined;
2782
+ }, {
2783
+ label: string;
2784
+ key: string;
2785
+ choices: {
2786
+ value: string;
2787
+ label: string;
2788
+ }[];
2789
+ description?: string | undefined;
2790
+ }];
2791
+ uniqueByField?: string | undefined;
1654
2792
  }>]>;
1655
2793
  type ConfigItemDefType = z.infer<typeof ConfigItemDef>;
1656
2794
 
@@ -1726,6 +2864,203 @@ declare const ObjectSchemaConfigItem: (data: Omit<ObjectSchemaConfigItemType, "t
1726
2864
  }>>;
1727
2865
  };
1728
2866
 
2867
+ declare const PairedSelectConfigItemTypeLiteral: "paired-select";
2868
+ declare const PairedSelectChoice: z.ZodObject<{
2869
+ value: z.ZodString;
2870
+ label: z.ZodString;
2871
+ }, "strip", z.ZodTypeAny, {
2872
+ value: string;
2873
+ label: string;
2874
+ }, {
2875
+ value: string;
2876
+ label: string;
2877
+ }>;
2878
+ type PairedSelectChoiceType = z.infer<typeof PairedSelectChoice>;
2879
+ declare const PairedSelectFieldDef: z.ZodObject<{
2880
+ key: z.ZodString;
2881
+ label: z.ZodString;
2882
+ description: z.ZodOptional<z.ZodString>;
2883
+ choices: z.ZodArray<z.ZodObject<{
2884
+ value: z.ZodString;
2885
+ label: z.ZodString;
2886
+ }, "strip", z.ZodTypeAny, {
2887
+ value: string;
2888
+ label: string;
2889
+ }, {
2890
+ value: string;
2891
+ label: string;
2892
+ }>, "many">;
2893
+ }, "strip", z.ZodTypeAny, {
2894
+ label: string;
2895
+ key: string;
2896
+ choices: {
2897
+ value: string;
2898
+ label: string;
2899
+ }[];
2900
+ description?: string | undefined;
2901
+ }, {
2902
+ label: string;
2903
+ key: string;
2904
+ choices: {
2905
+ value: string;
2906
+ label: string;
2907
+ }[];
2908
+ description?: string | undefined;
2909
+ }>;
2910
+ type PairedSelectFieldDefType = z.infer<typeof PairedSelectFieldDef>;
2911
+ declare const PairedSelectConfigItemDef: z.ZodObject<{
2912
+ type: z.ZodLiteral<"paired-select">;
2913
+ param: z.ZodString;
2914
+ title: z.ZodString;
2915
+ description: z.ZodString;
2916
+ fields: z.ZodTuple<[z.ZodObject<{
2917
+ key: z.ZodString;
2918
+ label: z.ZodString;
2919
+ description: z.ZodOptional<z.ZodString>;
2920
+ choices: z.ZodArray<z.ZodObject<{
2921
+ value: z.ZodString;
2922
+ label: z.ZodString;
2923
+ }, "strip", z.ZodTypeAny, {
2924
+ value: string;
2925
+ label: string;
2926
+ }, {
2927
+ value: string;
2928
+ label: string;
2929
+ }>, "many">;
2930
+ }, "strip", z.ZodTypeAny, {
2931
+ label: string;
2932
+ key: string;
2933
+ choices: {
2934
+ value: string;
2935
+ label: string;
2936
+ }[];
2937
+ description?: string | undefined;
2938
+ }, {
2939
+ label: string;
2940
+ key: string;
2941
+ choices: {
2942
+ value: string;
2943
+ label: string;
2944
+ }[];
2945
+ description?: string | undefined;
2946
+ }>, z.ZodObject<{
2947
+ key: z.ZodString;
2948
+ label: z.ZodString;
2949
+ description: z.ZodOptional<z.ZodString>;
2950
+ choices: z.ZodArray<z.ZodObject<{
2951
+ value: z.ZodString;
2952
+ label: z.ZodString;
2953
+ }, "strip", z.ZodTypeAny, {
2954
+ value: string;
2955
+ label: string;
2956
+ }, {
2957
+ value: string;
2958
+ label: string;
2959
+ }>, "many">;
2960
+ }, "strip", z.ZodTypeAny, {
2961
+ label: string;
2962
+ key: string;
2963
+ choices: {
2964
+ value: string;
2965
+ label: string;
2966
+ }[];
2967
+ description?: string | undefined;
2968
+ }, {
2969
+ label: string;
2970
+ key: string;
2971
+ choices: {
2972
+ value: string;
2973
+ label: string;
2974
+ }[];
2975
+ description?: string | undefined;
2976
+ }>], null>;
2977
+ uniqueByField: z.ZodOptional<z.ZodString>;
2978
+ }, "strip", z.ZodTypeAny, {
2979
+ type: "paired-select";
2980
+ param: string;
2981
+ title: string;
2982
+ description: string;
2983
+ fields: [{
2984
+ label: string;
2985
+ key: string;
2986
+ choices: {
2987
+ value: string;
2988
+ label: string;
2989
+ }[];
2990
+ description?: string | undefined;
2991
+ }, {
2992
+ label: string;
2993
+ key: string;
2994
+ choices: {
2995
+ value: string;
2996
+ label: string;
2997
+ }[];
2998
+ description?: string | undefined;
2999
+ }];
3000
+ uniqueByField?: string | undefined;
3001
+ }, {
3002
+ type: "paired-select";
3003
+ param: string;
3004
+ title: string;
3005
+ description: string;
3006
+ fields: [{
3007
+ label: string;
3008
+ key: string;
3009
+ choices: {
3010
+ value: string;
3011
+ label: string;
3012
+ }[];
3013
+ description?: string | undefined;
3014
+ }, {
3015
+ label: string;
3016
+ key: string;
3017
+ choices: {
3018
+ value: string;
3019
+ label: string;
3020
+ }[];
3021
+ description?: string | undefined;
3022
+ }];
3023
+ uniqueByField?: string | undefined;
3024
+ }>;
3025
+ type PairedSelectConfigItemType = z.infer<typeof PairedSelectConfigItemDef>;
3026
+ declare const PairedSelectConfigItemSchema: (fields: readonly [PairedSelectFieldDefType, PairedSelectFieldDefType]) => z.ZodOptional<z.ZodArray<z.ZodObject<z.ZodRawShape, "strip", z.ZodTypeAny, {
3027
+ [x: string]: any;
3028
+ }, {
3029
+ [x: string]: any;
3030
+ }>, "many">>;
3031
+ type PairedSelectConfigItemSchemaType = z.infer<ReturnType<typeof PairedSelectConfigItemSchema>>;
3032
+ declare const PairedSelectConfigItem: (data: Omit<PairedSelectConfigItemType, "type">) => {
3033
+ def: {
3034
+ type: "paired-select";
3035
+ param: string;
3036
+ title: string;
3037
+ description: string;
3038
+ fields: [{
3039
+ label: string;
3040
+ key: string;
3041
+ choices: {
3042
+ value: string;
3043
+ label: string;
3044
+ }[];
3045
+ description?: string | undefined;
3046
+ }, {
3047
+ label: string;
3048
+ key: string;
3049
+ choices: {
3050
+ value: string;
3051
+ label: string;
3052
+ }[];
3053
+ description?: string | undefined;
3054
+ }];
3055
+ uniqueByField?: string | undefined;
3056
+ };
3057
+ schema: z.ZodOptional<z.ZodArray<z.ZodObject<z.ZodRawShape, "strip", z.ZodTypeAny, {
3058
+ [x: string]: any;
3059
+ }, {
3060
+ [x: string]: any;
3061
+ }>, "many">>;
3062
+ };
3063
+
1729
3064
  declare const RangeConfigItemTypeLiteral: "range";
1730
3065
  declare const RangeConfigItemDef: z.ZodObject<{
1731
3066
  type: z.ZodLiteral<"range">;
@@ -1995,6 +3330,119 @@ declare const EmbeddingModelSchema: <M extends z.ZodEnum<[string, ...string[]]>
1995
3330
  title: string;
1996
3331
  description: string;
1997
3332
  objectSchema?: any;
3333
+ }>, z.ZodObject<{
3334
+ type: z.ZodLiteral<"paired-select">;
3335
+ param: z.ZodString;
3336
+ title: z.ZodString;
3337
+ description: z.ZodString;
3338
+ fields: z.ZodTuple<[z.ZodObject<{
3339
+ key: z.ZodString;
3340
+ label: z.ZodString;
3341
+ description: z.ZodOptional<z.ZodString>;
3342
+ choices: z.ZodArray<z.ZodObject<{
3343
+ value: z.ZodString;
3344
+ label: z.ZodString;
3345
+ }, "strip", z.ZodTypeAny, {
3346
+ value: string;
3347
+ label: string;
3348
+ }, {
3349
+ value: string;
3350
+ label: string;
3351
+ }>, "many">;
3352
+ }, "strip", z.ZodTypeAny, {
3353
+ label: string;
3354
+ key: string;
3355
+ choices: {
3356
+ value: string;
3357
+ label: string;
3358
+ }[];
3359
+ description?: string | undefined;
3360
+ }, {
3361
+ label: string;
3362
+ key: string;
3363
+ choices: {
3364
+ value: string;
3365
+ label: string;
3366
+ }[];
3367
+ description?: string | undefined;
3368
+ }>, z.ZodObject<{
3369
+ key: z.ZodString;
3370
+ label: z.ZodString;
3371
+ description: z.ZodOptional<z.ZodString>;
3372
+ choices: z.ZodArray<z.ZodObject<{
3373
+ value: z.ZodString;
3374
+ label: z.ZodString;
3375
+ }, "strip", z.ZodTypeAny, {
3376
+ value: string;
3377
+ label: string;
3378
+ }, {
3379
+ value: string;
3380
+ label: string;
3381
+ }>, "many">;
3382
+ }, "strip", z.ZodTypeAny, {
3383
+ label: string;
3384
+ key: string;
3385
+ choices: {
3386
+ value: string;
3387
+ label: string;
3388
+ }[];
3389
+ description?: string | undefined;
3390
+ }, {
3391
+ label: string;
3392
+ key: string;
3393
+ choices: {
3394
+ value: string;
3395
+ label: string;
3396
+ }[];
3397
+ description?: string | undefined;
3398
+ }>], null>;
3399
+ uniqueByField: z.ZodOptional<z.ZodString>;
3400
+ }, "strip", z.ZodTypeAny, {
3401
+ type: "paired-select";
3402
+ param: string;
3403
+ title: string;
3404
+ description: string;
3405
+ fields: [{
3406
+ label: string;
3407
+ key: string;
3408
+ choices: {
3409
+ value: string;
3410
+ label: string;
3411
+ }[];
3412
+ description?: string | undefined;
3413
+ }, {
3414
+ label: string;
3415
+ key: string;
3416
+ choices: {
3417
+ value: string;
3418
+ label: string;
3419
+ }[];
3420
+ description?: string | undefined;
3421
+ }];
3422
+ uniqueByField?: string | undefined;
3423
+ }, {
3424
+ type: "paired-select";
3425
+ param: string;
3426
+ title: string;
3427
+ description: string;
3428
+ fields: [{
3429
+ label: string;
3430
+ key: string;
3431
+ choices: {
3432
+ value: string;
3433
+ label: string;
3434
+ }[];
3435
+ description?: string | undefined;
3436
+ }, {
3437
+ label: string;
3438
+ key: string;
3439
+ choices: {
3440
+ value: string;
3441
+ label: string;
3442
+ }[];
3443
+ description?: string | undefined;
3444
+ }];
3445
+ uniqueByField?: string | undefined;
1998
3446
  }>]>>;
1999
3447
  schema: z.ZodType<z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>, z.ZodTypeDef, z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>>;
2000
3448
  }, "strip", z.ZodTypeAny, {
@@ -2010,6 +3458,29 @@ declare const EmbeddingModelSchema: <M extends z.ZodEnum<[string, ...string[]]>
2010
3458
  title: string;
2011
3459
  description: string;
2012
3460
  objectSchema?: any;
3461
+ } | {
3462
+ type: "paired-select";
3463
+ param: string;
3464
+ title: string;
3465
+ description: string;
3466
+ fields: [{
3467
+ label: string;
3468
+ key: string;
3469
+ choices: {
3470
+ value: string;
3471
+ label: string;
3472
+ }[];
3473
+ description?: string | undefined;
3474
+ }, {
3475
+ label: string;
3476
+ key: string;
3477
+ choices: {
3478
+ value: string;
3479
+ label: string;
3480
+ }[];
3481
+ description?: string | undefined;
3482
+ }];
3483
+ uniqueByField?: string | undefined;
2013
3484
  } | {
2014
3485
  type: "range";
2015
3486
  param: string;
@@ -2047,6 +3518,29 @@ declare const EmbeddingModelSchema: <M extends z.ZodEnum<[string, ...string[]]>
2047
3518
  title: string;
2048
3519
  description: string;
2049
3520
  objectSchema?: any;
3521
+ } | {
3522
+ type: "paired-select";
3523
+ param: string;
3524
+ title: string;
3525
+ description: string;
3526
+ fields: [{
3527
+ label: string;
3528
+ key: string;
3529
+ choices: {
3530
+ value: string;
3531
+ label: string;
3532
+ }[];
3533
+ description?: string | undefined;
3534
+ }, {
3535
+ label: string;
3536
+ key: string;
3537
+ choices: {
3538
+ value: string;
3539
+ label: string;
3540
+ }[];
3541
+ description?: string | undefined;
3542
+ }];
3543
+ uniqueByField?: string | undefined;
2050
3544
  } | {
2051
3545
  type: "range";
2052
3546
  param: string;
@@ -2084,6 +3578,29 @@ declare const EmbeddingModelSchema: <M extends z.ZodEnum<[string, ...string[]]>
2084
3578
  title: string;
2085
3579
  description: string;
2086
3580
  objectSchema?: any;
3581
+ } | {
3582
+ type: "paired-select";
3583
+ param: string;
3584
+ title: string;
3585
+ description: string;
3586
+ fields: [{
3587
+ label: string;
3588
+ key: string;
3589
+ choices: {
3590
+ value: string;
3591
+ label: string;
3592
+ }[];
3593
+ description?: string | undefined;
3594
+ }, {
3595
+ label: string;
3596
+ key: string;
3597
+ choices: {
3598
+ value: string;
3599
+ label: string;
3600
+ }[];
3601
+ description?: string | undefined;
3602
+ }];
3603
+ uniqueByField?: string | undefined;
2087
3604
  } | {
2088
3605
  type: "range";
2089
3606
  param: string;
@@ -2121,6 +3638,29 @@ declare const EmbeddingModelSchema: <M extends z.ZodEnum<[string, ...string[]]>
2121
3638
  title: string;
2122
3639
  description: string;
2123
3640
  objectSchema?: any;
3641
+ } | {
3642
+ type: "paired-select";
3643
+ param: string;
3644
+ title: string;
3645
+ description: string;
3646
+ fields: [{
3647
+ label: string;
3648
+ key: string;
3649
+ choices: {
3650
+ value: string;
3651
+ label: string;
3652
+ }[];
3653
+ description?: string | undefined;
3654
+ }, {
3655
+ label: string;
3656
+ key: string;
3657
+ choices: {
3658
+ value: string;
3659
+ label: string;
3660
+ }[];
3661
+ description?: string | undefined;
3662
+ }];
3663
+ uniqueByField?: string | undefined;
2124
3664
  } | {
2125
3665
  type: "range";
2126
3666
  param: string;
@@ -2165,6 +3705,29 @@ declare const EmbeddingModelSchema: <M extends z.ZodEnum<[string, ...string[]]>
2165
3705
  title: string;
2166
3706
  description: string;
2167
3707
  objectSchema?: any;
3708
+ } | {
3709
+ type: "paired-select";
3710
+ param: string;
3711
+ title: string;
3712
+ description: string;
3713
+ fields: [{
3714
+ label: string;
3715
+ key: string;
3716
+ choices: {
3717
+ value: string;
3718
+ label: string;
3719
+ }[];
3720
+ description?: string | undefined;
3721
+ }, {
3722
+ label: string;
3723
+ key: string;
3724
+ choices: {
3725
+ value: string;
3726
+ label: string;
3727
+ }[];
3728
+ description?: string | undefined;
3729
+ }];
3730
+ uniqueByField?: string | undefined;
2168
3731
  } | {
2169
3732
  type: "range";
2170
3733
  param: string;
@@ -2209,6 +3772,29 @@ declare const EmbeddingModelSchema: <M extends z.ZodEnum<[string, ...string[]]>
2209
3772
  title: string;
2210
3773
  description: string;
2211
3774
  objectSchema?: any;
3775
+ } | {
3776
+ type: "paired-select";
3777
+ param: string;
3778
+ title: string;
3779
+ description: string;
3780
+ fields: [{
3781
+ label: string;
3782
+ key: string;
3783
+ choices: {
3784
+ value: string;
3785
+ label: string;
3786
+ }[];
3787
+ description?: string | undefined;
3788
+ }, {
3789
+ label: string;
3790
+ key: string;
3791
+ choices: {
3792
+ value: string;
3793
+ label: string;
3794
+ }[];
3795
+ description?: string | undefined;
3796
+ }];
3797
+ uniqueByField?: string | undefined;
2212
3798
  } | {
2213
3799
  type: "range";
2214
3800
  param: string;
@@ -2396,4 +3982,4 @@ declare const urlWithoutTrailingSlash: (url: string) => string;
2396
3982
 
2397
3983
  declare const isRunningInBrowser: () => boolean;
2398
3984
 
2399
- export { CHAT_CONFIG, ChatModelSchema, type ChatModelSchemaType, type ChatModelV1, ConfigItemDef, type ConfigItemDefType, ConfigItemEnum, type ConfigItemEnumType, ConfigItemLiterals, EMBEDDING_CONFIG, EmbeddingModelSchema, type EmbeddingModelSchemaType, type EmbeddingModelV1, Headers, type HeadersType, InvalidConfigError, InvalidEmbeddingRequestsError, InvalidMessagesError, InvalidModelRequestError, InvalidToolsError, ModelError, ModelResponseError, MultiStringConfigItem, MultiStringConfigItemDef, MultiStringConfigItemSchema, type MultiStringConfigItemSchemaType, type MultiStringConfigItemType, MultiStringConfigItemTypeLiteral, ObjectSchemaConfigItem, ObjectSchemaConfigItemDef, ObjectSchemaConfigItemSchema, type ObjectSchemaConfigItemSchemaType, type ObjectSchemaConfigItemType, ObjectSchemaConfigItemTypeLiteral, Params, type ParamsType, ProviderError, type ProviderV1, RangeConfigItem, RangeConfigItemDef, type RangeConfigItemDefType, RangeConfigItemSchema, type RangeConfigItemSchemaType, RangeConfigItemTypeLiteral, SelectBooleanConfigItem, SelectBooleanConfigItemDef, type SelectBooleanConfigItemDefType, SelectBooleanConfigItemSchema, type SelectBooleanConfigItemSchemaType, SelectBooleanConfigItemTypeLiteral, SelectStringConfigItem, SelectStringConfigItemDef, type SelectStringConfigItemDefType, SelectStringConfigItemSchema, type SelectStringConfigItemSchemaType, SelectStringConfigItemTypeLiteral, Url, type UrlType, convertBase64ToUint8Array, convertUint8ArrayToBase64, encodedBase64ToString, getErrorMessage, getMimeTypeFromBase64, isRunningInBrowser, removeUndefinedEntries, urlWithoutTrailingSlash };
3985
+ export { CHAT_CONFIG, ChatModelSchema, type ChatModelSchemaType, type ChatModelV1, ConfigItemDef, type ConfigItemDefType, ConfigItemEnum, type ConfigItemEnumType, ConfigItemLiterals, EMBEDDING_CONFIG, EmbeddingModelSchema, type EmbeddingModelSchemaType, type EmbeddingModelV1, Headers, type HeadersType, InvalidConfigError, InvalidEmbeddingRequestsError, InvalidMessagesError, InvalidModelRequestError, InvalidToolsError, ModelError, ModelResponseError, MultiStringConfigItem, MultiStringConfigItemDef, MultiStringConfigItemSchema, type MultiStringConfigItemSchemaType, type MultiStringConfigItemType, MultiStringConfigItemTypeLiteral, ObjectSchemaConfigItem, ObjectSchemaConfigItemDef, ObjectSchemaConfigItemSchema, type ObjectSchemaConfigItemSchemaType, type ObjectSchemaConfigItemType, ObjectSchemaConfigItemTypeLiteral, PairedSelectChoice, type PairedSelectChoiceType, PairedSelectConfigItem, PairedSelectConfigItemDef, PairedSelectConfigItemSchema, type PairedSelectConfigItemSchemaType, type PairedSelectConfigItemType, PairedSelectConfigItemTypeLiteral, PairedSelectFieldDef, type PairedSelectFieldDefType, Params, type ParamsType, ProviderError, type ProviderV1, RangeConfigItem, RangeConfigItemDef, type RangeConfigItemDefType, RangeConfigItemSchema, type RangeConfigItemSchemaType, RangeConfigItemTypeLiteral, SelectBooleanConfigItem, SelectBooleanConfigItemDef, type SelectBooleanConfigItemDefType, SelectBooleanConfigItemSchema, type SelectBooleanConfigItemSchemaType, SelectBooleanConfigItemTypeLiteral, SelectStringConfigItem, SelectStringConfigItemDef, type SelectStringConfigItemDefType, SelectStringConfigItemSchema, type SelectStringConfigItemSchemaType, SelectStringConfigItemTypeLiteral, Url, type UrlType, convertBase64ToUint8Array, convertUint8ArrayToBase64, encodedBase64ToString, getErrorMessage, getMimeTypeFromBase64, isRunningInBrowser, removeUndefinedEntries, urlWithoutTrailingSlash };