@@ -9,6 +9,18 @@ import { FirebaseApp } from '@firebase/app';
9
9
import { FirebaseAuthTokenData } from ' @firebase/auth-interop-types' ;
10
10
import { FirebaseError } from ' @firebase/util' ;
11
11
12
+ // @public (undocumented)
13
+ export class ArraySchema extends Schema {
14
+ // Warning: (ae-forgotten-export) The symbol "SchemaParams" needs to be exported by the entry point index.d.ts
15
+ constructor (schemaParams : SchemaParams , items : TypedSchema );
16
+ // (undocumented)
17
+ items: TypedSchema ;
18
+ // Warning: (ae-forgotten-export) The symbol "_SchemaRequest" needs to be exported by the entry point index.d.ts
19
+ //
20
+ // (undocumented)
21
+ toJSON(): _SchemaRequest ;
22
+ }
23
+
12
24
// @public
13
25
export class ArraySchema extends Schema {
14
26
constructor (schemaParams : SchemaParams , items : TypedSchema );
@@ -34,6 +46,11 @@ export enum BlockReason {
34
46
SAFETY = " SAFETY"
35
47
}
36
48
49
+ // @public (undocumented)
50
+ export class BooleanSchema extends Schema {
51
+ constructor (schemaParams ? : SchemaParams );
52
+ }
53
+
37
54
// @public
38
55
export class BooleanSchema extends Schema {
39
56
constructor (schemaParams ? : SchemaParams );
@@ -442,6 +459,11 @@ export interface InlineDataPart {
442
459
videoMetadata? : VideoMetadata ;
443
460
}
444
461
462
+ // @public (undocumented)
463
+ export class IntegerSchema extends Schema {
464
+ constructor (schemaParams ? : SchemaParams );
465
+ }
466
+
445
467
// @public
446
468
export class IntegerSchema extends Schema {
447
469
constructor (schemaParams ? : SchemaParams );
@@ -459,6 +481,24 @@ export interface ModelParams extends BaseParams {
459
481
tools? : Tool [];
460
482
}
461
483
484
+ // @public (undocumented)
485
+ export class NumberSchema extends Schema {
486
+ constructor (schemaParams ? : SchemaParams );
487
+ }
488
+
489
+ // @public (undocumented)
490
+ export class ObjectSchema extends Schema {
491
+ constructor (schemaParams : SchemaParams , properties : {
492
+ [k : string ]: TypedSchema ;
493
+ });
494
+ // (undocumented)
495
+ properties: {
496
+ [k : string ]: TypedSchema ;
497
+ };
498
+ // (undocumented)
499
+ toJSON(): _SchemaRequest ;
500
+ }
501
+
462
502
// @public
463
503
export class NumberSchema extends Schema {
464
504
constructor (schemaParams ? : SchemaParams );
@@ -644,6 +684,15 @@ export interface StartChatParams extends BaseParams {
644
684
tools? : Tool [];
645
685
}
646
686
687
+ // @public (undocumented)
688
+ export class StringSchema extends Schema {
689
+ constructor (schemaParams ? : SchemaParams , enumValues ? : string []);
690
+ // (undocumented)
691
+ enum? : string [];
692
+ // (undocumented)
693
+ toJSON(): _SchemaRequest ;
694
+ }
695
+
647
696
// @public
648
697
export class StringSchema extends Schema {
649
698
constructor (schemaParams ? : SchemaParams , enumValues ? : string []);
@@ -674,6 +723,9 @@ export interface ToolConfig {
674
723
functionCallingConfig? : FunctionCallingConfig ;
675
724
}
676
725
726
+ // @public (undocumented)
727
+ export type TypedSchema = IntegerSchema | NumberSchema | StringSchema | BooleanSchema | ObjectSchema | ArraySchema ;
728
+
677
729
// @public
678
730
export type TypedSchema = IntegerSchema | NumberSchema | StringSchema | BooleanSchema | ObjectSchema | ArraySchema ;
679
731
0 commit comments