@adaline/google 1.9.0 → 1.11.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
@@ -52,11 +52,28 @@ declare const GoogleChatModelConfigs: {
52
52
  choices: string[];
53
53
  };
54
54
  readonly safetySettings: {
55
- type: "object-schema";
55
+ type: "paired-select";
56
56
  param: string;
57
57
  title: string;
58
58
  description: string;
59
- objectSchema?: any;
59
+ fields: [{
60
+ label: string;
61
+ key: string;
62
+ choices: {
63
+ value: string;
64
+ label: string;
65
+ }[];
66
+ description?: string | undefined;
67
+ }, {
68
+ label: string;
69
+ key: string;
70
+ choices: {
71
+ value: string;
72
+ label: string;
73
+ }[];
74
+ description?: string | undefined;
75
+ }];
76
+ uniqueByField?: string | undefined;
60
77
  };
61
78
  };
62
79
  schema: zod.ZodObject<{
@@ -65,16 +82,16 @@ declare const GoogleChatModelConfigs: {
65
82
  stop: zod.ZodOptional<zod.ZodDefault<zod.ZodArray<zod.ZodString, "many">>>;
66
83
  topP: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
67
84
  toolChoice: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
68
- safetySettings: zod.ZodOptional<zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
85
+ safetySettings: zod.ZodOptional<zod.ZodArray<zod.ZodObject<zod.ZodRawShape, "strip", zod.ZodTypeAny, {
69
86
  [x: string]: any;
70
87
  }, {
71
88
  [x: string]: any;
72
- }>>;
89
+ }>, "many">>;
73
90
  }, "strip", zod.ZodTypeAny, {
74
91
  toolChoice?: string | null | undefined;
75
92
  safetySettings?: {
76
93
  [x: string]: any;
77
- } | undefined;
94
+ }[] | undefined;
78
95
  temperature?: number | undefined;
79
96
  topP?: number | undefined;
80
97
  maxTokens?: number | undefined;
@@ -83,7 +100,7 @@ declare const GoogleChatModelConfigs: {
83
100
  toolChoice?: string | null | undefined;
84
101
  safetySettings?: {
85
102
  [x: string]: any;
86
- } | undefined;
103
+ }[] | undefined;
87
104
  temperature?: number | undefined;
88
105
  topP?: number | undefined;
89
106
  maxTokens?: number | undefined;
@@ -153,11 +170,28 @@ declare const GoogleChatModelConfigs: {
153
170
  choices: string[];
154
171
  };
155
172
  safetySettings: {
156
- type: "object-schema";
173
+ type: "paired-select";
157
174
  param: string;
158
175
  title: string;
159
176
  description: string;
160
- objectSchema?: any;
177
+ fields: [{
178
+ label: string;
179
+ key: string;
180
+ choices: {
181
+ value: string;
182
+ label: string;
183
+ }[];
184
+ description?: string | undefined;
185
+ }, {
186
+ label: string;
187
+ key: string;
188
+ choices: {
189
+ value: string;
190
+ label: string;
191
+ }[];
192
+ description?: string | undefined;
193
+ }];
194
+ uniqueByField?: string | undefined;
161
195
  };
162
196
  };
163
197
  schema: zod.ZodObject<zod.objectUtil.extendShape<{
@@ -166,11 +200,11 @@ declare const GoogleChatModelConfigs: {
166
200
  stop: zod.ZodOptional<zod.ZodDefault<zod.ZodArray<zod.ZodString, "many">>>;
167
201
  topP: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
168
202
  toolChoice: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
169
- safetySettings: zod.ZodOptional<zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
203
+ safetySettings: zod.ZodOptional<zod.ZodArray<zod.ZodObject<zod.ZodRawShape, "strip", zod.ZodTypeAny, {
170
204
  [x: string]: any;
171
205
  }, {
172
206
  [x: string]: any;
173
- }>>;
207
+ }>, "many">>;
174
208
  }, {
175
209
  responseFormat: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
176
210
  responseSchema: zod.ZodOptional<zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
@@ -182,7 +216,7 @@ declare const GoogleChatModelConfigs: {
182
216
  toolChoice?: string | null | undefined;
183
217
  safetySettings?: {
184
218
  [x: string]: any;
185
- } | undefined;
219
+ }[] | undefined;
186
220
  temperature?: number | undefined;
187
221
  topP?: number | undefined;
188
222
  maxTokens?: number | undefined;
@@ -195,7 +229,7 @@ declare const GoogleChatModelConfigs: {
195
229
  toolChoice?: string | null | undefined;
196
230
  safetySettings?: {
197
231
  [x: string]: any;
198
- } | undefined;
232
+ }[] | undefined;
199
233
  temperature?: number | undefined;
200
234
  topP?: number | undefined;
201
235
  maxTokens?: number | undefined;
@@ -276,11 +310,28 @@ declare const GoogleChatModelConfigs: {
276
310
  choices: string[];
277
311
  };
278
312
  safetySettings: {
279
- type: "object-schema";
313
+ type: "paired-select";
280
314
  param: string;
281
315
  title: string;
282
316
  description: string;
283
- objectSchema?: any;
317
+ fields: [{
318
+ label: string;
319
+ key: string;
320
+ choices: {
321
+ value: string;
322
+ label: string;
323
+ }[];
324
+ description?: string | undefined;
325
+ }, {
326
+ label: string;
327
+ key: string;
328
+ choices: {
329
+ value: string;
330
+ label: string;
331
+ }[];
332
+ description?: string | undefined;
333
+ }];
334
+ uniqueByField?: string | undefined;
284
335
  };
285
336
  };
286
337
  schema: zod.ZodObject<zod.objectUtil.extendShape<zod.objectUtil.extendShape<{
@@ -289,11 +340,11 @@ declare const GoogleChatModelConfigs: {
289
340
  stop: zod.ZodOptional<zod.ZodDefault<zod.ZodArray<zod.ZodString, "many">>>;
290
341
  topP: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
291
342
  toolChoice: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
292
- safetySettings: zod.ZodOptional<zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
343
+ safetySettings: zod.ZodOptional<zod.ZodArray<zod.ZodObject<zod.ZodRawShape, "strip", zod.ZodTypeAny, {
293
344
  [x: string]: any;
294
345
  }, {
295
346
  [x: string]: any;
296
- }>>;
347
+ }>, "many">>;
297
348
  }, {
298
349
  responseFormat: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
299
350
  responseSchema: zod.ZodOptional<zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
@@ -307,7 +358,7 @@ declare const GoogleChatModelConfigs: {
307
358
  toolChoice?: string | null | undefined;
308
359
  safetySettings?: {
309
360
  [x: string]: any;
310
- } | undefined;
361
+ }[] | undefined;
311
362
  reasoningEnabled?: boolean | null | undefined;
312
363
  temperature?: number | undefined;
313
364
  topP?: number | undefined;
@@ -321,7 +372,7 @@ declare const GoogleChatModelConfigs: {
321
372
  toolChoice?: string | null | undefined;
322
373
  safetySettings?: {
323
374
  [x: string]: any;
324
- } | undefined;
375
+ }[] | undefined;
325
376
  reasoningEnabled?: boolean | null | undefined;
326
377
  temperature?: number | undefined;
327
378
  topP?: number | undefined;
@@ -364,16 +415,16 @@ declare const ChatModelBaseConfigSchema: (maxTemperature: number, defaultTempera
364
415
  stop: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
365
416
  topP: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
366
417
  toolChoice: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEnum<[string, ...string[]]>>>>;
367
- safetySettings: z.ZodOptional<z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, {
418
+ safetySettings: z.ZodOptional<z.ZodArray<z.ZodObject<z.ZodRawShape, "strip", z.ZodTypeAny, {
368
419
  [x: string]: any;
369
420
  }, {
370
421
  [x: string]: any;
371
- }>>;
422
+ }>, "many">>;
372
423
  }, "strip", z.ZodTypeAny, {
373
424
  toolChoice?: string | null | undefined;
374
425
  safetySettings?: {
375
426
  [x: string]: any;
376
- } | undefined;
427
+ }[] | undefined;
377
428
  temperature?: number | undefined;
378
429
  topP?: number | undefined;
379
430
  maxTokens?: number | undefined;
@@ -382,7 +433,7 @@ declare const ChatModelBaseConfigSchema: (maxTemperature: number, defaultTempera
382
433
  toolChoice?: string | null | undefined;
383
434
  safetySettings?: {
384
435
  [x: string]: any;
385
- } | undefined;
436
+ }[] | undefined;
386
437
  temperature?: number | undefined;
387
438
  topP?: number | undefined;
388
439
  maxTokens?: number | undefined;
@@ -435,14 +486,41 @@ declare const ChatModelBaseConfigDef: (maxTemperature: number, defaultTemperatur
435
486
  choices: string[];
436
487
  };
437
488
  readonly safetySettings: {
438
- type: "object-schema";
489
+ type: "paired-select";
439
490
  param: string;
440
491
  title: string;
441
492
  description: string;
442
- objectSchema?: any;
493
+ fields: [{
494
+ label: string;
495
+ key: string;
496
+ choices: {
497
+ value: string;
498
+ label: string;
499
+ }[];
500
+ description?: string | undefined;
501
+ }, {
502
+ label: string;
503
+ key: string;
504
+ choices: {
505
+ value: string;
506
+ label: string;
507
+ }[];
508
+ description?: string | undefined;
509
+ }];
510
+ uniqueByField?: string | undefined;
443
511
  };
444
512
  };
445
513
 
514
+ declare const GOOGLE_SAFETY_CATEGORIES: readonly ["HARM_CATEGORY_HARASSMENT", "HARM_CATEGORY_HATE_SPEECH", "HARM_CATEGORY_SEXUALLY_EXPLICIT", "HARM_CATEGORY_DANGEROUS_CONTENT", "HARM_CATEGORY_CIVIC_INTEGRITY"];
515
+ declare const GOOGLE_SAFETY_THRESHOLDS: readonly ["HARM_BLOCK_THRESHOLD_UNSPECIFIED", "BLOCK_LOW_AND_ABOVE", "BLOCK_MEDIUM_AND_ABOVE", "BLOCK_ONLY_HIGH", "BLOCK_NONE", "OFF"];
516
+ declare const GOOGLE_SAFETY_CATEGORY_OPTIONS: {
517
+ value: "HARM_CATEGORY_HARASSMENT" | "HARM_CATEGORY_HATE_SPEECH" | "HARM_CATEGORY_SEXUALLY_EXPLICIT" | "HARM_CATEGORY_DANGEROUS_CONTENT" | "HARM_CATEGORY_CIVIC_INTEGRITY";
518
+ label: string;
519
+ }[];
520
+ declare const GOOGLE_SAFETY_THRESHOLD_OPTIONS: {
521
+ value: "HARM_BLOCK_THRESHOLD_UNSPECIFIED" | "BLOCK_LOW_AND_ABOVE" | "BLOCK_MEDIUM_AND_ABOVE" | "BLOCK_ONLY_HIGH" | "BLOCK_NONE" | "OFF";
522
+ label: string;
523
+ }[];
446
524
  declare const temperature: (max: number, _default: number) => {
447
525
  def: {
448
526
  type: "range";
@@ -454,7 +532,7 @@ declare const temperature: (max: number, _default: number) => {
454
532
  min: number;
455
533
  step: number;
456
534
  };
457
- schema: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
535
+ schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
458
536
  };
459
537
  declare const maxTokens: (maxOutputTokens: number) => {
460
538
  def: {
@@ -467,7 +545,7 @@ declare const maxTokens: (maxOutputTokens: number) => {
467
545
  min: number;
468
546
  step: number;
469
547
  };
470
- schema: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
548
+ schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
471
549
  };
472
550
  declare const stop: (maxSequences: number) => {
473
551
  def: {
@@ -477,7 +555,7 @@ declare const stop: (maxSequences: number) => {
477
555
  description: string;
478
556
  max: number;
479
557
  };
480
- schema: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
558
+ schema: zod.ZodOptional<zod.ZodDefault<zod.ZodArray<zod.ZodString, "many">>>;
481
559
  };
482
560
  declare const topP: (_default: number) => {
483
561
  def: {
@@ -490,7 +568,7 @@ declare const topP: (_default: number) => {
490
568
  min: number;
491
569
  step: number;
492
570
  };
493
- schema: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
571
+ schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
494
572
  };
495
573
  declare const topK: (_default: number) => {
496
574
  def: {
@@ -503,7 +581,7 @@ declare const topK: (_default: number) => {
503
581
  min: number;
504
582
  step: number;
505
583
  };
506
- schema: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
584
+ schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
507
585
  };
508
586
  declare const frequencyPenalty: {
509
587
  def: {
@@ -516,7 +594,7 @@ declare const frequencyPenalty: {
516
594
  min: number;
517
595
  step: number;
518
596
  };
519
- schema: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
597
+ schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
520
598
  };
521
599
  declare const presencePenalty: {
522
600
  def: {
@@ -529,7 +607,7 @@ declare const presencePenalty: {
529
607
  min: number;
530
608
  step: number;
531
609
  };
532
- schema: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
610
+ schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
533
611
  };
534
612
  declare const seed: {
535
613
  def: {
@@ -542,7 +620,7 @@ declare const seed: {
542
620
  min: number;
543
621
  step: number;
544
622
  };
545
- schema: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
623
+ schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
546
624
  };
547
625
  declare const toolChoice: {
548
626
  def: {
@@ -553,21 +631,38 @@ declare const toolChoice: {
553
631
  default: string;
554
632
  choices: string[];
555
633
  };
556
- schema: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEnum<[string, ...string[]]>>>>;
634
+ schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
557
635
  };
558
636
  declare const safetySettings: {
559
637
  def: {
560
- type: "object-schema";
638
+ type: "paired-select";
561
639
  param: string;
562
640
  title: string;
563
641
  description: string;
564
- objectSchema?: any;
642
+ fields: [{
643
+ label: string;
644
+ key: string;
645
+ choices: {
646
+ value: string;
647
+ label: string;
648
+ }[];
649
+ description?: string | undefined;
650
+ }, {
651
+ label: string;
652
+ key: string;
653
+ choices: {
654
+ value: string;
655
+ label: string;
656
+ }[];
657
+ description?: string | undefined;
658
+ }];
659
+ uniqueByField?: string | undefined;
565
660
  };
566
- schema: z.ZodOptional<z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, {
661
+ schema: zod.ZodOptional<zod.ZodArray<zod.ZodObject<zod.ZodRawShape, "strip", zod.ZodTypeAny, {
567
662
  [x: string]: any;
568
663
  }, {
569
664
  [x: string]: any;
570
- }>>;
665
+ }>, "many">>;
571
666
  };
572
667
  declare const reasoningEnabled: {
573
668
  def: {
@@ -577,7 +672,7 @@ declare const reasoningEnabled: {
577
672
  description: string;
578
673
  default: boolean | null;
579
674
  };
580
- schema: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodBoolean>>>;
675
+ schema: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
581
676
  };
582
677
 
583
678
  declare const ChatModelReasoningConfigSchema: (maxTemperature: number, defaultTemperature: number, maxOutputTokens: number, maxSequences: number, defaultTopP: number) => zod.ZodObject<zod.objectUtil.extendShape<zod.objectUtil.extendShape<{
@@ -586,11 +681,11 @@ declare const ChatModelReasoningConfigSchema: (maxTemperature: number, defaultTe
586
681
  stop: zod.ZodOptional<zod.ZodDefault<zod.ZodArray<zod.ZodString, "many">>>;
587
682
  topP: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
588
683
  toolChoice: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
589
- safetySettings: zod.ZodOptional<zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
684
+ safetySettings: zod.ZodOptional<zod.ZodArray<zod.ZodObject<zod.ZodRawShape, "strip", zod.ZodTypeAny, {
590
685
  [x: string]: any;
591
686
  }, {
592
687
  [x: string]: any;
593
- }>>;
688
+ }>, "many">>;
594
689
  }, {
595
690
  responseFormat: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
596
691
  responseSchema: zod.ZodOptional<zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
@@ -604,7 +699,7 @@ declare const ChatModelReasoningConfigSchema: (maxTemperature: number, defaultTe
604
699
  toolChoice?: string | null | undefined;
605
700
  safetySettings?: {
606
701
  [x: string]: any;
607
- } | undefined;
702
+ }[] | undefined;
608
703
  reasoningEnabled?: boolean | null | undefined;
609
704
  temperature?: number | undefined;
610
705
  topP?: number | undefined;
@@ -618,7 +713,7 @@ declare const ChatModelReasoningConfigSchema: (maxTemperature: number, defaultTe
618
713
  toolChoice?: string | null | undefined;
619
714
  safetySettings?: {
620
715
  [x: string]: any;
621
- } | undefined;
716
+ }[] | undefined;
622
717
  reasoningEnabled?: boolean | null | undefined;
623
718
  temperature?: number | undefined;
624
719
  topP?: number | undefined;
@@ -698,11 +793,28 @@ declare const ChatModelReasoningConfigDef: (maxTemperature: number, defaultTempe
698
793
  choices: string[];
699
794
  };
700
795
  safetySettings: {
701
- type: "object-schema";
796
+ type: "paired-select";
702
797
  param: string;
703
798
  title: string;
704
799
  description: string;
705
- objectSchema?: any;
800
+ fields: [{
801
+ label: string;
802
+ key: string;
803
+ choices: {
804
+ value: string;
805
+ label: string;
806
+ }[];
807
+ description?: string | undefined;
808
+ }, {
809
+ label: string;
810
+ key: string;
811
+ choices: {
812
+ value: string;
813
+ label: string;
814
+ }[];
815
+ description?: string | undefined;
816
+ }];
817
+ uniqueByField?: string | undefined;
706
818
  };
707
819
  };
708
820
 
@@ -768,11 +880,28 @@ declare const GoogleChatModelResponseSchemaConfigDef: (maxTemperature: number, d
768
880
  choices: string[];
769
881
  };
770
882
  safetySettings: {
771
- type: "object-schema";
883
+ type: "paired-select";
772
884
  param: string;
773
885
  title: string;
774
886
  description: string;
775
- objectSchema?: any;
887
+ fields: [{
888
+ label: string;
889
+ key: string;
890
+ choices: {
891
+ value: string;
892
+ label: string;
893
+ }[];
894
+ description?: string | undefined;
895
+ }, {
896
+ label: string;
897
+ key: string;
898
+ choices: {
899
+ value: string;
900
+ label: string;
901
+ }[];
902
+ description?: string | undefined;
903
+ }];
904
+ uniqueByField?: string | undefined;
776
905
  };
777
906
  };
778
907
  declare const GoogleChatModelResponseSchemaConfigSchema: (maxTemperature: number, defaultTemperature: number, maxOutputTokens: number, maxSequences: number, defaultTopP: number) => zod.ZodObject<zod.objectUtil.extendShape<{
@@ -781,11 +910,11 @@ declare const GoogleChatModelResponseSchemaConfigSchema: (maxTemperature: number
781
910
  stop: zod.ZodOptional<zod.ZodDefault<zod.ZodArray<zod.ZodString, "many">>>;
782
911
  topP: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
783
912
  toolChoice: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
784
- safetySettings: zod.ZodOptional<zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
913
+ safetySettings: zod.ZodOptional<zod.ZodArray<zod.ZodObject<zod.ZodRawShape, "strip", zod.ZodTypeAny, {
785
914
  [x: string]: any;
786
915
  }, {
787
916
  [x: string]: any;
788
- }>>;
917
+ }>, "many">>;
789
918
  }, {
790
919
  responseFormat: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
791
920
  responseSchema: zod.ZodOptional<zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
@@ -797,7 +926,7 @@ declare const GoogleChatModelResponseSchemaConfigSchema: (maxTemperature: number
797
926
  toolChoice?: string | null | undefined;
798
927
  safetySettings?: {
799
928
  [x: string]: any;
800
- } | undefined;
929
+ }[] | undefined;
801
930
  temperature?: number | undefined;
802
931
  topP?: number | undefined;
803
932
  maxTokens?: number | undefined;
@@ -810,7 +939,7 @@ declare const GoogleChatModelResponseSchemaConfigSchema: (maxTemperature: number
810
939
  toolChoice?: string | null | undefined;
811
940
  safetySettings?: {
812
941
  [x: string]: any;
813
- } | undefined;
942
+ }[] | undefined;
814
943
  temperature?: number | undefined;
815
944
  topP?: number | undefined;
816
945
  maxTokens?: number | undefined;
@@ -1692,11 +1821,11 @@ declare const GoogleChatSafetySettings: z.ZodObject<{
1692
1821
  category: z.ZodEnum<["HARM_CATEGORY_HARASSMENT", "HARM_CATEGORY_HATE_SPEECH", "HARM_CATEGORY_SEXUALLY_EXPLICIT", "HARM_CATEGORY_DANGEROUS_CONTENT", "HARM_CATEGORY_CIVIC_INTEGRITY"]>;
1693
1822
  threshold: z.ZodEnum<["HARM_BLOCK_THRESHOLD_UNSPECIFIED", "BLOCK_LOW_AND_ABOVE", "BLOCK_MEDIUM_AND_ABOVE", "BLOCK_ONLY_HIGH", "BLOCK_NONE", "OFF"]>;
1694
1823
  }, "strip", z.ZodTypeAny, {
1695
- threshold: "HARM_BLOCK_THRESHOLD_UNSPECIFIED" | "BLOCK_LOW_AND_ABOVE" | "BLOCK_MEDIUM_AND_ABOVE" | "BLOCK_ONLY_HIGH" | "BLOCK_NONE" | "OFF";
1696
1824
  category: "HARM_CATEGORY_HARASSMENT" | "HARM_CATEGORY_HATE_SPEECH" | "HARM_CATEGORY_SEXUALLY_EXPLICIT" | "HARM_CATEGORY_DANGEROUS_CONTENT" | "HARM_CATEGORY_CIVIC_INTEGRITY";
1697
- }, {
1698
1825
  threshold: "HARM_BLOCK_THRESHOLD_UNSPECIFIED" | "BLOCK_LOW_AND_ABOVE" | "BLOCK_MEDIUM_AND_ABOVE" | "BLOCK_ONLY_HIGH" | "BLOCK_NONE" | "OFF";
1826
+ }, {
1699
1827
  category: "HARM_CATEGORY_HARASSMENT" | "HARM_CATEGORY_HATE_SPEECH" | "HARM_CATEGORY_SEXUALLY_EXPLICIT" | "HARM_CATEGORY_DANGEROUS_CONTENT" | "HARM_CATEGORY_CIVIC_INTEGRITY";
1828
+ threshold: "HARM_BLOCK_THRESHOLD_UNSPECIFIED" | "BLOCK_LOW_AND_ABOVE" | "BLOCK_MEDIUM_AND_ABOVE" | "BLOCK_ONLY_HIGH" | "BLOCK_NONE" | "OFF";
1700
1829
  }>;
1701
1830
  type GoogleChatSafetySettingsType = z.infer<typeof GoogleChatSafetySettings>;
1702
1831
  declare const GoogleChatRequest: z.ZodObject<{
@@ -1939,21 +2068,21 @@ declare const GoogleChatRequest: z.ZodObject<{
1939
2068
  category: z.ZodEnum<["HARM_CATEGORY_HARASSMENT", "HARM_CATEGORY_HATE_SPEECH", "HARM_CATEGORY_SEXUALLY_EXPLICIT", "HARM_CATEGORY_DANGEROUS_CONTENT", "HARM_CATEGORY_CIVIC_INTEGRITY"]>;
1940
2069
  threshold: z.ZodEnum<["HARM_BLOCK_THRESHOLD_UNSPECIFIED", "BLOCK_LOW_AND_ABOVE", "BLOCK_MEDIUM_AND_ABOVE", "BLOCK_ONLY_HIGH", "BLOCK_NONE", "OFF"]>;
1941
2070
  }, "strip", z.ZodTypeAny, {
1942
- threshold: "HARM_BLOCK_THRESHOLD_UNSPECIFIED" | "BLOCK_LOW_AND_ABOVE" | "BLOCK_MEDIUM_AND_ABOVE" | "BLOCK_ONLY_HIGH" | "BLOCK_NONE" | "OFF";
1943
2071
  category: "HARM_CATEGORY_HARASSMENT" | "HARM_CATEGORY_HATE_SPEECH" | "HARM_CATEGORY_SEXUALLY_EXPLICIT" | "HARM_CATEGORY_DANGEROUS_CONTENT" | "HARM_CATEGORY_CIVIC_INTEGRITY";
1944
- }, {
1945
2072
  threshold: "HARM_BLOCK_THRESHOLD_UNSPECIFIED" | "BLOCK_LOW_AND_ABOVE" | "BLOCK_MEDIUM_AND_ABOVE" | "BLOCK_ONLY_HIGH" | "BLOCK_NONE" | "OFF";
2073
+ }, {
1946
2074
  category: "HARM_CATEGORY_HARASSMENT" | "HARM_CATEGORY_HATE_SPEECH" | "HARM_CATEGORY_SEXUALLY_EXPLICIT" | "HARM_CATEGORY_DANGEROUS_CONTENT" | "HARM_CATEGORY_CIVIC_INTEGRITY";
2075
+ threshold: "HARM_BLOCK_THRESHOLD_UNSPECIFIED" | "BLOCK_LOW_AND_ABOVE" | "BLOCK_MEDIUM_AND_ABOVE" | "BLOCK_ONLY_HIGH" | "BLOCK_NONE" | "OFF";
1947
2076
  }>, "many">>;
1948
2077
  safety_settings: z.ZodOptional<z.ZodArray<z.ZodObject<{
1949
2078
  category: z.ZodEnum<["HARM_CATEGORY_HARASSMENT", "HARM_CATEGORY_HATE_SPEECH", "HARM_CATEGORY_SEXUALLY_EXPLICIT", "HARM_CATEGORY_DANGEROUS_CONTENT", "HARM_CATEGORY_CIVIC_INTEGRITY"]>;
1950
2079
  threshold: z.ZodEnum<["HARM_BLOCK_THRESHOLD_UNSPECIFIED", "BLOCK_LOW_AND_ABOVE", "BLOCK_MEDIUM_AND_ABOVE", "BLOCK_ONLY_HIGH", "BLOCK_NONE", "OFF"]>;
1951
2080
  }, "strip", z.ZodTypeAny, {
1952
- threshold: "HARM_BLOCK_THRESHOLD_UNSPECIFIED" | "BLOCK_LOW_AND_ABOVE" | "BLOCK_MEDIUM_AND_ABOVE" | "BLOCK_ONLY_HIGH" | "BLOCK_NONE" | "OFF";
1953
2081
  category: "HARM_CATEGORY_HARASSMENT" | "HARM_CATEGORY_HATE_SPEECH" | "HARM_CATEGORY_SEXUALLY_EXPLICIT" | "HARM_CATEGORY_DANGEROUS_CONTENT" | "HARM_CATEGORY_CIVIC_INTEGRITY";
1954
- }, {
1955
2082
  threshold: "HARM_BLOCK_THRESHOLD_UNSPECIFIED" | "BLOCK_LOW_AND_ABOVE" | "BLOCK_MEDIUM_AND_ABOVE" | "BLOCK_ONLY_HIGH" | "BLOCK_NONE" | "OFF";
2083
+ }, {
1956
2084
  category: "HARM_CATEGORY_HARASSMENT" | "HARM_CATEGORY_HATE_SPEECH" | "HARM_CATEGORY_SEXUALLY_EXPLICIT" | "HARM_CATEGORY_DANGEROUS_CONTENT" | "HARM_CATEGORY_CIVIC_INTEGRITY";
2085
+ threshold: "HARM_BLOCK_THRESHOLD_UNSPECIFIED" | "BLOCK_LOW_AND_ABOVE" | "BLOCK_MEDIUM_AND_ABOVE" | "BLOCK_ONLY_HIGH" | "BLOCK_NONE" | "OFF";
1957
2086
  }>, "many">>;
1958
2087
  tools: z.ZodOptional<z.ZodObject<{
1959
2088
  function_declarations: z.ZodArray<z.ZodObject<{
@@ -2054,8 +2183,8 @@ declare const GoogleChatRequest: z.ZodObject<{
2054
2183
  })[];
2055
2184
  }[];
2056
2185
  safetySettings?: {
2057
- threshold: "HARM_BLOCK_THRESHOLD_UNSPECIFIED" | "BLOCK_LOW_AND_ABOVE" | "BLOCK_MEDIUM_AND_ABOVE" | "BLOCK_ONLY_HIGH" | "BLOCK_NONE" | "OFF";
2058
2186
  category: "HARM_CATEGORY_HARASSMENT" | "HARM_CATEGORY_HATE_SPEECH" | "HARM_CATEGORY_SEXUALLY_EXPLICIT" | "HARM_CATEGORY_DANGEROUS_CONTENT" | "HARM_CATEGORY_CIVIC_INTEGRITY";
2187
+ threshold: "HARM_BLOCK_THRESHOLD_UNSPECIFIED" | "BLOCK_LOW_AND_ABOVE" | "BLOCK_MEDIUM_AND_ABOVE" | "BLOCK_ONLY_HIGH" | "BLOCK_NONE" | "OFF";
2059
2188
  }[] | undefined;
2060
2189
  model?: string | undefined;
2061
2190
  systemInstruction?: {
@@ -2089,8 +2218,8 @@ declare const GoogleChatRequest: z.ZodObject<{
2089
2218
  topK?: number | undefined;
2090
2219
  } | undefined;
2091
2220
  safety_settings?: {
2092
- threshold: "HARM_BLOCK_THRESHOLD_UNSPECIFIED" | "BLOCK_LOW_AND_ABOVE" | "BLOCK_MEDIUM_AND_ABOVE" | "BLOCK_ONLY_HIGH" | "BLOCK_NONE" | "OFF";
2093
2221
  category: "HARM_CATEGORY_HARASSMENT" | "HARM_CATEGORY_HATE_SPEECH" | "HARM_CATEGORY_SEXUALLY_EXPLICIT" | "HARM_CATEGORY_DANGEROUS_CONTENT" | "HARM_CATEGORY_CIVIC_INTEGRITY";
2222
+ threshold: "HARM_BLOCK_THRESHOLD_UNSPECIFIED" | "BLOCK_LOW_AND_ABOVE" | "BLOCK_MEDIUM_AND_ABOVE" | "BLOCK_ONLY_HIGH" | "BLOCK_NONE" | "OFF";
2094
2223
  }[] | undefined;
2095
2224
  tools?: {
2096
2225
  function_declarations: {
@@ -2139,8 +2268,8 @@ declare const GoogleChatRequest: z.ZodObject<{
2139
2268
  })[];
2140
2269
  }[];
2141
2270
  safetySettings?: {
2142
- threshold: "HARM_BLOCK_THRESHOLD_UNSPECIFIED" | "BLOCK_LOW_AND_ABOVE" | "BLOCK_MEDIUM_AND_ABOVE" | "BLOCK_ONLY_HIGH" | "BLOCK_NONE" | "OFF";
2143
2271
  category: "HARM_CATEGORY_HARASSMENT" | "HARM_CATEGORY_HATE_SPEECH" | "HARM_CATEGORY_SEXUALLY_EXPLICIT" | "HARM_CATEGORY_DANGEROUS_CONTENT" | "HARM_CATEGORY_CIVIC_INTEGRITY";
2272
+ threshold: "HARM_BLOCK_THRESHOLD_UNSPECIFIED" | "BLOCK_LOW_AND_ABOVE" | "BLOCK_MEDIUM_AND_ABOVE" | "BLOCK_ONLY_HIGH" | "BLOCK_NONE" | "OFF";
2144
2273
  }[] | undefined;
2145
2274
  model?: string | undefined;
2146
2275
  systemInstruction?: {
@@ -2174,8 +2303,8 @@ declare const GoogleChatRequest: z.ZodObject<{
2174
2303
  topK?: number | undefined;
2175
2304
  } | undefined;
2176
2305
  safety_settings?: {
2177
- threshold: "HARM_BLOCK_THRESHOLD_UNSPECIFIED" | "BLOCK_LOW_AND_ABOVE" | "BLOCK_MEDIUM_AND_ABOVE" | "BLOCK_ONLY_HIGH" | "BLOCK_NONE" | "OFF";
2178
2306
  category: "HARM_CATEGORY_HARASSMENT" | "HARM_CATEGORY_HATE_SPEECH" | "HARM_CATEGORY_SEXUALLY_EXPLICIT" | "HARM_CATEGORY_DANGEROUS_CONTENT" | "HARM_CATEGORY_CIVIC_INTEGRITY";
2307
+ threshold: "HARM_BLOCK_THRESHOLD_UNSPECIFIED" | "BLOCK_LOW_AND_ABOVE" | "BLOCK_MEDIUM_AND_ABOVE" | "BLOCK_ONLY_HIGH" | "BLOCK_NONE" | "OFF";
2179
2308
  }[] | undefined;
2180
2309
  tools?: {
2181
2310
  function_declarations: {
@@ -2289,6 +2418,29 @@ declare const Gemini1_5Flash001Schema: {
2289
2418
  title: string;
2290
2419
  description: string;
2291
2420
  objectSchema?: any;
2421
+ } | {
2422
+ type: "paired-select";
2423
+ param: string;
2424
+ title: string;
2425
+ description: string;
2426
+ fields: [{
2427
+ label: string;
2428
+ key: string;
2429
+ choices: {
2430
+ value: string;
2431
+ label: string;
2432
+ }[];
2433
+ description?: string | undefined;
2434
+ }, {
2435
+ label: string;
2436
+ key: string;
2437
+ choices: {
2438
+ value: string;
2439
+ label: string;
2440
+ }[];
2441
+ description?: string | undefined;
2442
+ }];
2443
+ uniqueByField?: string | undefined;
2292
2444
  } | {
2293
2445
  type: "range";
2294
2446
  param: string;
@@ -2375,6 +2527,29 @@ declare const Gemini1_5Flash002Schema: {
2375
2527
  title: string;
2376
2528
  description: string;
2377
2529
  objectSchema?: any;
2530
+ } | {
2531
+ type: "paired-select";
2532
+ param: string;
2533
+ title: string;
2534
+ description: string;
2535
+ fields: [{
2536
+ label: string;
2537
+ key: string;
2538
+ choices: {
2539
+ value: string;
2540
+ label: string;
2541
+ }[];
2542
+ description?: string | undefined;
2543
+ }, {
2544
+ label: string;
2545
+ key: string;
2546
+ choices: {
2547
+ value: string;
2548
+ label: string;
2549
+ }[];
2550
+ description?: string | undefined;
2551
+ }];
2552
+ uniqueByField?: string | undefined;
2378
2553
  } | {
2379
2554
  type: "range";
2380
2555
  param: string;
@@ -2461,6 +2636,29 @@ declare const Gemini1_5FlashLatestSchema: {
2461
2636
  title: string;
2462
2637
  description: string;
2463
2638
  objectSchema?: any;
2639
+ } | {
2640
+ type: "paired-select";
2641
+ param: string;
2642
+ title: string;
2643
+ description: string;
2644
+ fields: [{
2645
+ label: string;
2646
+ key: string;
2647
+ choices: {
2648
+ value: string;
2649
+ label: string;
2650
+ }[];
2651
+ description?: string | undefined;
2652
+ }, {
2653
+ label: string;
2654
+ key: string;
2655
+ choices: {
2656
+ value: string;
2657
+ label: string;
2658
+ }[];
2659
+ description?: string | undefined;
2660
+ }];
2661
+ uniqueByField?: string | undefined;
2464
2662
  } | {
2465
2663
  type: "range";
2466
2664
  param: string;
@@ -2547,6 +2745,29 @@ declare const Gemini1_5FlashSchema: {
2547
2745
  title: string;
2548
2746
  description: string;
2549
2747
  objectSchema?: any;
2748
+ } | {
2749
+ type: "paired-select";
2750
+ param: string;
2751
+ title: string;
2752
+ description: string;
2753
+ fields: [{
2754
+ label: string;
2755
+ key: string;
2756
+ choices: {
2757
+ value: string;
2758
+ label: string;
2759
+ }[];
2760
+ description?: string | undefined;
2761
+ }, {
2762
+ label: string;
2763
+ key: string;
2764
+ choices: {
2765
+ value: string;
2766
+ label: string;
2767
+ }[];
2768
+ description?: string | undefined;
2769
+ }];
2770
+ uniqueByField?: string | undefined;
2550
2771
  } | {
2551
2772
  type: "range";
2552
2773
  param: string;
@@ -2633,6 +2854,29 @@ declare const Gemini1_5Pro001Schema: {
2633
2854
  title: string;
2634
2855
  description: string;
2635
2856
  objectSchema?: any;
2857
+ } | {
2858
+ type: "paired-select";
2859
+ param: string;
2860
+ title: string;
2861
+ description: string;
2862
+ fields: [{
2863
+ label: string;
2864
+ key: string;
2865
+ choices: {
2866
+ value: string;
2867
+ label: string;
2868
+ }[];
2869
+ description?: string | undefined;
2870
+ }, {
2871
+ label: string;
2872
+ key: string;
2873
+ choices: {
2874
+ value: string;
2875
+ label: string;
2876
+ }[];
2877
+ description?: string | undefined;
2878
+ }];
2879
+ uniqueByField?: string | undefined;
2636
2880
  } | {
2637
2881
  type: "range";
2638
2882
  param: string;
@@ -2719,6 +2963,29 @@ declare const Gemini1_5Pro002Schema: {
2719
2963
  title: string;
2720
2964
  description: string;
2721
2965
  objectSchema?: any;
2966
+ } | {
2967
+ type: "paired-select";
2968
+ param: string;
2969
+ title: string;
2970
+ description: string;
2971
+ fields: [{
2972
+ label: string;
2973
+ key: string;
2974
+ choices: {
2975
+ value: string;
2976
+ label: string;
2977
+ }[];
2978
+ description?: string | undefined;
2979
+ }, {
2980
+ label: string;
2981
+ key: string;
2982
+ choices: {
2983
+ value: string;
2984
+ label: string;
2985
+ }[];
2986
+ description?: string | undefined;
2987
+ }];
2988
+ uniqueByField?: string | undefined;
2722
2989
  } | {
2723
2990
  type: "range";
2724
2991
  param: string;
@@ -2805,6 +3072,29 @@ declare const Gemini1_5ProLatestSchema: {
2805
3072
  title: string;
2806
3073
  description: string;
2807
3074
  objectSchema?: any;
3075
+ } | {
3076
+ type: "paired-select";
3077
+ param: string;
3078
+ title: string;
3079
+ description: string;
3080
+ fields: [{
3081
+ label: string;
3082
+ key: string;
3083
+ choices: {
3084
+ value: string;
3085
+ label: string;
3086
+ }[];
3087
+ description?: string | undefined;
3088
+ }, {
3089
+ label: string;
3090
+ key: string;
3091
+ choices: {
3092
+ value: string;
3093
+ label: string;
3094
+ }[];
3095
+ description?: string | undefined;
3096
+ }];
3097
+ uniqueByField?: string | undefined;
2808
3098
  } | {
2809
3099
  type: "range";
2810
3100
  param: string;
@@ -2891,6 +3181,29 @@ declare const Gemini1_5ProSchema: {
2891
3181
  title: string;
2892
3182
  description: string;
2893
3183
  objectSchema?: any;
3184
+ } | {
3185
+ type: "paired-select";
3186
+ param: string;
3187
+ title: string;
3188
+ description: string;
3189
+ fields: [{
3190
+ label: string;
3191
+ key: string;
3192
+ choices: {
3193
+ value: string;
3194
+ label: string;
3195
+ }[];
3196
+ description?: string | undefined;
3197
+ }, {
3198
+ label: string;
3199
+ key: string;
3200
+ choices: {
3201
+ value: string;
3202
+ label: string;
3203
+ }[];
3204
+ description?: string | undefined;
3205
+ }];
3206
+ uniqueByField?: string | undefined;
2894
3207
  } | {
2895
3208
  type: "range";
2896
3209
  param: string;
@@ -2977,6 +3290,29 @@ declare const Gemini2_0FlashExpSchema: {
2977
3290
  title: string;
2978
3291
  description: string;
2979
3292
  objectSchema?: any;
3293
+ } | {
3294
+ type: "paired-select";
3295
+ param: string;
3296
+ title: string;
3297
+ description: string;
3298
+ fields: [{
3299
+ label: string;
3300
+ key: string;
3301
+ choices: {
3302
+ value: string;
3303
+ label: string;
3304
+ }[];
3305
+ description?: string | undefined;
3306
+ }, {
3307
+ label: string;
3308
+ key: string;
3309
+ choices: {
3310
+ value: string;
3311
+ label: string;
3312
+ }[];
3313
+ description?: string | undefined;
3314
+ }];
3315
+ uniqueByField?: string | undefined;
2980
3316
  } | {
2981
3317
  type: "range";
2982
3318
  param: string;
@@ -3063,6 +3399,29 @@ declare const Gemini2_0FlashSchema: {
3063
3399
  title: string;
3064
3400
  description: string;
3065
3401
  objectSchema?: any;
3402
+ } | {
3403
+ type: "paired-select";
3404
+ param: string;
3405
+ title: string;
3406
+ description: string;
3407
+ fields: [{
3408
+ label: string;
3409
+ key: string;
3410
+ choices: {
3411
+ value: string;
3412
+ label: string;
3413
+ }[];
3414
+ description?: string | undefined;
3415
+ }, {
3416
+ label: string;
3417
+ key: string;
3418
+ choices: {
3419
+ value: string;
3420
+ label: string;
3421
+ }[];
3422
+ description?: string | undefined;
3423
+ }];
3424
+ uniqueByField?: string | undefined;
3066
3425
  } | {
3067
3426
  type: "range";
3068
3427
  param: string;
@@ -3149,6 +3508,29 @@ declare const Gemini2_5FlashLiteSchema: {
3149
3508
  title: string;
3150
3509
  description: string;
3151
3510
  objectSchema?: any;
3511
+ } | {
3512
+ type: "paired-select";
3513
+ param: string;
3514
+ title: string;
3515
+ description: string;
3516
+ fields: [{
3517
+ label: string;
3518
+ key: string;
3519
+ choices: {
3520
+ value: string;
3521
+ label: string;
3522
+ }[];
3523
+ description?: string | undefined;
3524
+ }, {
3525
+ label: string;
3526
+ key: string;
3527
+ choices: {
3528
+ value: string;
3529
+ label: string;
3530
+ }[];
3531
+ description?: string | undefined;
3532
+ }];
3533
+ uniqueByField?: string | undefined;
3152
3534
  } | {
3153
3535
  type: "range";
3154
3536
  param: string;
@@ -3235,6 +3617,29 @@ declare const Gemini2_5FlashPreview0417Schema: {
3235
3617
  title: string;
3236
3618
  description: string;
3237
3619
  objectSchema?: any;
3620
+ } | {
3621
+ type: "paired-select";
3622
+ param: string;
3623
+ title: string;
3624
+ description: string;
3625
+ fields: [{
3626
+ label: string;
3627
+ key: string;
3628
+ choices: {
3629
+ value: string;
3630
+ label: string;
3631
+ }[];
3632
+ description?: string | undefined;
3633
+ }, {
3634
+ label: string;
3635
+ key: string;
3636
+ choices: {
3637
+ value: string;
3638
+ label: string;
3639
+ }[];
3640
+ description?: string | undefined;
3641
+ }];
3642
+ uniqueByField?: string | undefined;
3238
3643
  } | {
3239
3644
  type: "range";
3240
3645
  param: string;
@@ -3321,6 +3726,29 @@ declare const Gemini2_5FlashSchema: {
3321
3726
  title: string;
3322
3727
  description: string;
3323
3728
  objectSchema?: any;
3729
+ } | {
3730
+ type: "paired-select";
3731
+ param: string;
3732
+ title: string;
3733
+ description: string;
3734
+ fields: [{
3735
+ label: string;
3736
+ key: string;
3737
+ choices: {
3738
+ value: string;
3739
+ label: string;
3740
+ }[];
3741
+ description?: string | undefined;
3742
+ }, {
3743
+ label: string;
3744
+ key: string;
3745
+ choices: {
3746
+ value: string;
3747
+ label: string;
3748
+ }[];
3749
+ description?: string | undefined;
3750
+ }];
3751
+ uniqueByField?: string | undefined;
3324
3752
  } | {
3325
3753
  type: "range";
3326
3754
  param: string;
@@ -3407,6 +3835,29 @@ declare const Gemini2_5ProPreview0325Schema: {
3407
3835
  title: string;
3408
3836
  description: string;
3409
3837
  objectSchema?: any;
3838
+ } | {
3839
+ type: "paired-select";
3840
+ param: string;
3841
+ title: string;
3842
+ description: string;
3843
+ fields: [{
3844
+ label: string;
3845
+ key: string;
3846
+ choices: {
3847
+ value: string;
3848
+ label: string;
3849
+ }[];
3850
+ description?: string | undefined;
3851
+ }, {
3852
+ label: string;
3853
+ key: string;
3854
+ choices: {
3855
+ value: string;
3856
+ label: string;
3857
+ }[];
3858
+ description?: string | undefined;
3859
+ }];
3860
+ uniqueByField?: string | undefined;
3410
3861
  } | {
3411
3862
  type: "range";
3412
3863
  param: string;
@@ -3493,6 +3944,29 @@ declare const Gemini2_5ProSchema: {
3493
3944
  title: string;
3494
3945
  description: string;
3495
3946
  objectSchema?: any;
3947
+ } | {
3948
+ type: "paired-select";
3949
+ param: string;
3950
+ title: string;
3951
+ description: string;
3952
+ fields: [{
3953
+ label: string;
3954
+ key: string;
3955
+ choices: {
3956
+ value: string;
3957
+ label: string;
3958
+ }[];
3959
+ description?: string | undefined;
3960
+ }, {
3961
+ label: string;
3962
+ key: string;
3963
+ choices: {
3964
+ value: string;
3965
+ label: string;
3966
+ }[];
3967
+ description?: string | undefined;
3968
+ }];
3969
+ uniqueByField?: string | undefined;
3496
3970
  } | {
3497
3971
  type: "range";
3498
3972
  param: string;
@@ -3558,6 +4032,115 @@ declare class Gemini2_5Pro extends BaseChatModel {
3558
4032
  constructor(options: Gemini2_5ProOptionsType);
3559
4033
  }
3560
4034
 
4035
+ declare const Gemini3ProPreviewLiteral = "gemini-3-pro-preview";
4036
+ declare const Gemini3ProPreviewSchema: {
4037
+ description: string;
4038
+ maxOutputTokens: number;
4039
+ name: string;
4040
+ roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
4041
+ modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response", ...("text" | "image" | "pdf" | "tool-call" | "tool-response")[]];
4042
+ maxInputTokens: number;
4043
+ config: {
4044
+ def: Record<string, {
4045
+ type: "multi-string";
4046
+ param: string;
4047
+ title: string;
4048
+ description: string;
4049
+ max: number;
4050
+ } | {
4051
+ type: "object-schema";
4052
+ param: string;
4053
+ title: string;
4054
+ description: string;
4055
+ objectSchema?: any;
4056
+ } | {
4057
+ type: "paired-select";
4058
+ param: string;
4059
+ title: string;
4060
+ description: string;
4061
+ fields: [{
4062
+ label: string;
4063
+ key: string;
4064
+ choices: {
4065
+ value: string;
4066
+ label: string;
4067
+ }[];
4068
+ description?: string | undefined;
4069
+ }, {
4070
+ label: string;
4071
+ key: string;
4072
+ choices: {
4073
+ value: string;
4074
+ label: string;
4075
+ }[];
4076
+ description?: string | undefined;
4077
+ }];
4078
+ uniqueByField?: string | undefined;
4079
+ } | {
4080
+ type: "range";
4081
+ param: string;
4082
+ title: string;
4083
+ description: string;
4084
+ max: number;
4085
+ default: number;
4086
+ min: number;
4087
+ step: number;
4088
+ } | {
4089
+ type: "select-boolean";
4090
+ param: string;
4091
+ title: string;
4092
+ description: string;
4093
+ default: boolean | null;
4094
+ } | {
4095
+ type: "select-string";
4096
+ param: string;
4097
+ title: string;
4098
+ description: string;
4099
+ default: string;
4100
+ choices: string[];
4101
+ }>;
4102
+ schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
4103
+ };
4104
+ price: {
4105
+ modelName: string;
4106
+ currency: string;
4107
+ tokenRanges: {
4108
+ minTokens: number;
4109
+ prices: {
4110
+ base: {
4111
+ inputPricePerMillion: number;
4112
+ outputPricePerMillion: number;
4113
+ };
4114
+ };
4115
+ maxTokens?: number | null | undefined;
4116
+ }[];
4117
+ };
4118
+ maxReasoningTokens?: number | undefined;
4119
+ };
4120
+ declare const Gemini3ProPreviewOptions: z.ZodObject<{
4121
+ modelName: z.ZodString;
4122
+ apiKey: z.ZodString;
4123
+ baseUrl: z.ZodOptional<z.ZodString>;
4124
+ completeChatUrl: z.ZodOptional<z.ZodString>;
4125
+ streamChatUrl: z.ZodOptional<z.ZodString>;
4126
+ }, "strip", z.ZodTypeAny, {
4127
+ modelName: string;
4128
+ apiKey: string;
4129
+ baseUrl?: string | undefined;
4130
+ completeChatUrl?: string | undefined;
4131
+ streamChatUrl?: string | undefined;
4132
+ }, {
4133
+ modelName: string;
4134
+ apiKey: string;
4135
+ baseUrl?: string | undefined;
4136
+ completeChatUrl?: string | undefined;
4137
+ streamChatUrl?: string | undefined;
4138
+ }>;
4139
+ type Gemini3ProPreviewOptionsType = z.infer<typeof Gemini3ProPreviewOptions>;
4140
+ declare class Gemini3ProPreview extends BaseChatModel {
4141
+ constructor(options: Gemini3ProPreviewOptionsType);
4142
+ }
4143
+
3561
4144
  declare const GoogleEmbeddingModelModalities: EmbeddingModelSchemaType["modalities"];
3562
4145
  declare const GoogleEmbeddingModelModalitiesEnum: z.ZodEnum<["text"]>;
3563
4146
 
@@ -3743,6 +4326,29 @@ declare const Text_Embedding_001Schema: {
3743
4326
  title: string;
3744
4327
  description: string;
3745
4328
  objectSchema?: any;
4329
+ } | {
4330
+ type: "paired-select";
4331
+ param: string;
4332
+ title: string;
4333
+ description: string;
4334
+ fields: [{
4335
+ label: string;
4336
+ key: string;
4337
+ choices: {
4338
+ value: string;
4339
+ label: string;
4340
+ }[];
4341
+ description?: string | undefined;
4342
+ }, {
4343
+ label: string;
4344
+ key: string;
4345
+ choices: {
4346
+ value: string;
4347
+ label: string;
4348
+ }[];
4349
+ description?: string | undefined;
4350
+ }];
4351
+ uniqueByField?: string | undefined;
3746
4352
  } | {
3747
4353
  type: "range";
3748
4354
  param: string;
@@ -3810,6 +4416,29 @@ declare const Text_Embedding_004Schema: {
3810
4416
  title: string;
3811
4417
  description: string;
3812
4418
  objectSchema?: any;
4419
+ } | {
4420
+ type: "paired-select";
4421
+ param: string;
4422
+ title: string;
4423
+ description: string;
4424
+ fields: [{
4425
+ label: string;
4426
+ key: string;
4427
+ choices: {
4428
+ value: string;
4429
+ label: string;
4430
+ }[];
4431
+ description?: string | undefined;
4432
+ }, {
4433
+ label: string;
4434
+ key: string;
4435
+ choices: {
4436
+ value: string;
4437
+ label: string;
4438
+ }[];
4439
+ description?: string | undefined;
4440
+ }];
4441
+ uniqueByField?: string | undefined;
3813
4442
  } | {
3814
4443
  type: "range";
3815
4444
  param: string;
@@ -3872,4 +4501,4 @@ declare class Google<C extends BaseChatModelOptionsType, E extends BaseEmbedding
3872
4501
  embeddingModel(options: E): EmbeddingModelV1;
3873
4502
  }
3874
4503
 
3875
- export { BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelReasoningConfigDef, ChatModelReasoningConfigSchema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, Gemini1_5Flash, Gemini1_5Flash001, Gemini1_5Flash001Literal, Gemini1_5Flash001Options, type Gemini1_5Flash001OptionsType, Gemini1_5Flash001Schema, Gemini1_5Flash002, Gemini1_5Flash002Literal, Gemini1_5Flash002Options, type Gemini1_5Flash002OptionsType, Gemini1_5Flash002Schema, Gemini1_5FlashLatest, Gemini1_5FlashLatestLiteral, Gemini1_5FlashLatestOptions, type Gemini1_5FlashLatestOptionsType, Gemini1_5FlashLatestSchema, Gemini1_5FlashLiteral, Gemini1_5FlashOptions, type Gemini1_5FlashOptionsType, Gemini1_5FlashSchema, Gemini1_5Pro, Gemini1_5Pro001, Gemini1_5Pro001Literal, Gemini1_5Pro001Options, type Gemini1_5Pro001OptionsType, Gemini1_5Pro001Schema, Gemini1_5Pro002, Gemini1_5Pro002Literal, Gemini1_5Pro002Options, type Gemini1_5Pro002OptionsType, Gemini1_5Pro002Schema, Gemini1_5ProLatest, Gemini1_5ProLatestLiteral, Gemini1_5ProLatestOptions, type Gemini1_5ProLatestOptionsType, Gemini1_5ProLatestSchema, Gemini1_5ProLiteral, Gemini1_5ProOptions, type Gemini1_5ProOptionsType, Gemini1_5ProSchema, Gemini2_0Flash, Gemini2_0FlashExp, Gemini2_0FlashExpLiteral, Gemini2_0FlashExpOptions, type Gemini2_0FlashExpOptionsType, Gemini2_0FlashExpSchema, Gemini2_0FlashLiteral, Gemini2_0FlashOptions, type Gemini2_0FlashOptionsType, Gemini2_0FlashSchema, Gemini2_5Flash, Gemini2_5FlashLite, Gemini2_5FlashLiteLiteral, Gemini2_5FlashLiteOptions, type Gemini2_5FlashLiteOptionsType, Gemini2_5FlashLiteSchema, Gemini2_5FlashLiteral, Gemini2_5FlashOptions, type Gemini2_5FlashOptionsType, Gemini2_5FlashPreview0417, Gemini2_5FlashPreview0417Literal, Gemini2_5FlashPreview0417Options, type Gemini2_5FlashPreview0417OptionsType, Gemini2_5FlashPreview0417Schema, Gemini2_5FlashSchema, Gemini2_5Pro, Gemini2_5ProLiteral, Gemini2_5ProOptions, type Gemini2_5ProOptionsType, Gemini2_5ProPreview0325, Gemini2_5ProPreview0325Literal, Gemini2_5ProPreview0325Options, type Gemini2_5ProPreview0325OptionsType, Gemini2_5ProPreview0325Schema, Gemini2_5ProSchema, Google, GoogleChatAssistantRoleLiteral, GoogleChatContent, GoogleChatContentPartFileData, type GoogleChatContentPartFileDataType, GoogleChatContentPartFunctionCall, type GoogleChatContentPartFunctionCallType, GoogleChatContentPartFunctionResponse, type GoogleChatContentPartFunctionResponseType, GoogleChatContentPartInlineData, type GoogleChatContentPartInlineDataType, GoogleChatContentPartText, type GoogleChatContentPartTextType, type GoogleChatContentType, GoogleChatGenerationConfig, type GoogleChatGenerationConfigType, GoogleChatModelConfigs, GoogleChatModelModalities, GoogleChatModelModalitiesEnum, GoogleChatModelResponseSchemaConfigDef, GoogleChatModelResponseSchemaConfigSchema, GoogleChatModelRoles, GoogleChatModelRolesMap, GoogleChatModelTextModalities, GoogleChatModelTextModalitiesEnum, GoogleChatModelTextToolModalities, GoogleChatModelTextToolModalitiesEnum, GoogleChatModelTextVisionModalities, GoogleChatModelTextVisionModalitiesEnum, GoogleChatRequest, type GoogleChatRequestType, GoogleChatSafetySettings, type GoogleChatSafetySettingsType, GoogleChatSystemInstruction, type GoogleChatSystemInstructionType, GoogleChatTool, GoogleChatToolConfig, type GoogleChatToolConfigType, GoogleChatToolRoleLiteral, type GoogleChatToolType, GoogleCompleteChatResponse, type GoogleCompleteChatResponseType, GoogleCompleteChatTextResponse, GoogleCompleteChatToolResponse, GoogleEmbeddingModelConfigs, GoogleEmbeddingModelModalities, GoogleEmbeddingModelModalitiesEnum, GoogleEmbeddingRequest, GoogleEmbeddingRequestInput, type GoogleEmbeddingRequestInputType, type GoogleEmbeddingRequestType, GoogleGetEmbeddingsResponse, type GoogleGetEmbeddingsResponseType, GoogleStreamChatResponse, type GoogleStreamChatResponseType, GoogleStreamChatTextResponse, GoogleStreamChatToolResponse, ProviderLiteral, Text_Embedding_001, Text_Embedding_001Literal, Text_Embedding_001Options, type Text_Embedding_001OptionsType, Text_Embedding_001Schema, Text_Embedding_004, Text_Embedding_004Literal, Text_Embedding_004Options, type Text_Embedding_004OptionsType, Text_Embedding_004Schema, dimensions, frequencyPenalty, maxTokens, presencePenalty, reasoningEnabled, safetySettings, seed, stop, temperature, toolChoice, topK, topP };
4504
+ export { BaseChatModel, BaseChatModelOptions, type BaseChatModelOptionsType, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, ChatModelBaseConfigDef, ChatModelBaseConfigSchema, ChatModelReasoningConfigDef, ChatModelReasoningConfigSchema, EmbeddingModelBaseConfigDef, EmbeddingModelBaseConfigSchema, GOOGLE_SAFETY_CATEGORIES, GOOGLE_SAFETY_CATEGORY_OPTIONS, GOOGLE_SAFETY_THRESHOLDS, GOOGLE_SAFETY_THRESHOLD_OPTIONS, Gemini1_5Flash, Gemini1_5Flash001, Gemini1_5Flash001Literal, Gemini1_5Flash001Options, type Gemini1_5Flash001OptionsType, Gemini1_5Flash001Schema, Gemini1_5Flash002, Gemini1_5Flash002Literal, Gemini1_5Flash002Options, type Gemini1_5Flash002OptionsType, Gemini1_5Flash002Schema, Gemini1_5FlashLatest, Gemini1_5FlashLatestLiteral, Gemini1_5FlashLatestOptions, type Gemini1_5FlashLatestOptionsType, Gemini1_5FlashLatestSchema, Gemini1_5FlashLiteral, Gemini1_5FlashOptions, type Gemini1_5FlashOptionsType, Gemini1_5FlashSchema, Gemini1_5Pro, Gemini1_5Pro001, Gemini1_5Pro001Literal, Gemini1_5Pro001Options, type Gemini1_5Pro001OptionsType, Gemini1_5Pro001Schema, Gemini1_5Pro002, Gemini1_5Pro002Literal, Gemini1_5Pro002Options, type Gemini1_5Pro002OptionsType, Gemini1_5Pro002Schema, Gemini1_5ProLatest, Gemini1_5ProLatestLiteral, Gemini1_5ProLatestOptions, type Gemini1_5ProLatestOptionsType, Gemini1_5ProLatestSchema, Gemini1_5ProLiteral, Gemini1_5ProOptions, type Gemini1_5ProOptionsType, Gemini1_5ProSchema, Gemini2_0Flash, Gemini2_0FlashExp, Gemini2_0FlashExpLiteral, Gemini2_0FlashExpOptions, type Gemini2_0FlashExpOptionsType, Gemini2_0FlashExpSchema, Gemini2_0FlashLiteral, Gemini2_0FlashOptions, type Gemini2_0FlashOptionsType, Gemini2_0FlashSchema, Gemini2_5Flash, Gemini2_5FlashLite, Gemini2_5FlashLiteLiteral, Gemini2_5FlashLiteOptions, type Gemini2_5FlashLiteOptionsType, Gemini2_5FlashLiteSchema, Gemini2_5FlashLiteral, Gemini2_5FlashOptions, type Gemini2_5FlashOptionsType, Gemini2_5FlashPreview0417, Gemini2_5FlashPreview0417Literal, Gemini2_5FlashPreview0417Options, type Gemini2_5FlashPreview0417OptionsType, Gemini2_5FlashPreview0417Schema, Gemini2_5FlashSchema, Gemini2_5Pro, Gemini2_5ProLiteral, Gemini2_5ProOptions, type Gemini2_5ProOptionsType, Gemini2_5ProPreview0325, Gemini2_5ProPreview0325Literal, Gemini2_5ProPreview0325Options, type Gemini2_5ProPreview0325OptionsType, Gemini2_5ProPreview0325Schema, Gemini2_5ProSchema, Gemini3ProPreview, Gemini3ProPreviewLiteral, Gemini3ProPreviewOptions, type Gemini3ProPreviewOptionsType, Gemini3ProPreviewSchema, Google, GoogleChatAssistantRoleLiteral, GoogleChatContent, GoogleChatContentPartFileData, type GoogleChatContentPartFileDataType, GoogleChatContentPartFunctionCall, type GoogleChatContentPartFunctionCallType, GoogleChatContentPartFunctionResponse, type GoogleChatContentPartFunctionResponseType, GoogleChatContentPartInlineData, type GoogleChatContentPartInlineDataType, GoogleChatContentPartText, type GoogleChatContentPartTextType, type GoogleChatContentType, GoogleChatGenerationConfig, type GoogleChatGenerationConfigType, GoogleChatModelConfigs, GoogleChatModelModalities, GoogleChatModelModalitiesEnum, GoogleChatModelResponseSchemaConfigDef, GoogleChatModelResponseSchemaConfigSchema, GoogleChatModelRoles, GoogleChatModelRolesMap, GoogleChatModelTextModalities, GoogleChatModelTextModalitiesEnum, GoogleChatModelTextToolModalities, GoogleChatModelTextToolModalitiesEnum, GoogleChatModelTextVisionModalities, GoogleChatModelTextVisionModalitiesEnum, GoogleChatRequest, type GoogleChatRequestType, GoogleChatSafetySettings, type GoogleChatSafetySettingsType, GoogleChatSystemInstruction, type GoogleChatSystemInstructionType, GoogleChatTool, GoogleChatToolConfig, type GoogleChatToolConfigType, GoogleChatToolRoleLiteral, type GoogleChatToolType, GoogleCompleteChatResponse, type GoogleCompleteChatResponseType, GoogleCompleteChatTextResponse, GoogleCompleteChatToolResponse, GoogleEmbeddingModelConfigs, GoogleEmbeddingModelModalities, GoogleEmbeddingModelModalitiesEnum, GoogleEmbeddingRequest, GoogleEmbeddingRequestInput, type GoogleEmbeddingRequestInputType, type GoogleEmbeddingRequestType, GoogleGetEmbeddingsResponse, type GoogleGetEmbeddingsResponseType, GoogleStreamChatResponse, type GoogleStreamChatResponseType, GoogleStreamChatTextResponse, GoogleStreamChatToolResponse, ProviderLiteral, Text_Embedding_001, Text_Embedding_001Literal, Text_Embedding_001Options, type Text_Embedding_001OptionsType, Text_Embedding_001Schema, Text_Embedding_004, Text_Embedding_004Literal, Text_Embedding_004Options, type Text_Embedding_004OptionsType, Text_Embedding_004Schema, dimensions, frequencyPenalty, maxTokens, presencePenalty, reasoningEnabled, safetySettings, seed, stop, temperature, toolChoice, topK, topP };