@@ -9,16 +9,15 @@ 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)
12
+ // @public
13
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
14
constructor (schemaParams : SchemaParams , items : TypedSchema );
16
15
// (undocumented)
17
16
items: TypedSchema ;
18
- // Warning: (ae-forgotten-export ) The symbol "_SchemaRequest" needs to be exported by the entry point index.d.ts
17
+ // Warning: (ae-incompatible-release-tags ) The symbol "toRequest" is marked as @public, but its signature references "_SchemaRequest" which is marked as @internal
19
18
//
20
19
// (undocumented)
21
- toJSON (): _SchemaRequest ;
20
+ toRequest (): _SchemaRequest ;
22
21
}
23
22
24
23
// @public
@@ -46,7 +45,7 @@ export enum BlockReason {
46
45
SAFETY = " SAFETY"
47
46
}
48
47
49
- // @public (undocumented)
48
+ // @public
50
49
export class BooleanSchema extends Schema {
51
50
constructor (schemaParams ? : SchemaParams );
52
51
}
@@ -459,7 +458,7 @@ export interface InlineDataPart {
459
458
videoMetadata? : VideoMetadata ;
460
459
}
461
460
462
- // @public (undocumented)
461
+ // @public
463
462
export class IntegerSchema extends Schema {
464
463
constructor (schemaParams ? : SchemaParams );
465
464
}
@@ -481,22 +480,34 @@ export interface ModelParams extends BaseParams {
481
480
tools? : Tool [];
482
481
}
483
482
484
- // @public (undocumented)
483
+ // @public
485
484
export class NumberSchema extends Schema {
486
485
constructor (schemaParams ? : SchemaParams );
487
486
}
488
487
489
- // @public (undocumented)
488
+ // @public
490
489
export class ObjectSchema extends Schema {
491
490
constructor (schemaParams : SchemaParams , properties : {
492
491
[k : string ]: TypedSchema ;
493
- });
492
+ }, optionalProperties ? : string []);
493
+ // (undocumented)
494
+ optionalProperties: string [];
494
495
// (undocumented)
495
496
properties: {
496
497
[k : string ]: TypedSchema ;
497
498
};
499
+ // Warning: (ae-incompatible-release-tags) The symbol "toRequest" is marked as @public, but its signature references "_SchemaRequest" which is marked as @internal
500
+ //
498
501
// (undocumented)
499
- toJSON(): _SchemaRequest ;
502
+ toRequest(): _SchemaRequest ;
503
+ }
504
+
505
+ // @public
506
+ export interface ObjectSchemaInterface extends SchemaInterface {
507
+ // (undocumented)
508
+ optionalProperties? : string [];
509
+ // (undocumented)
510
+ type: SchemaType .OBJECT ;
500
511
}
501
512
502
513
// @public
@@ -684,13 +695,15 @@ export interface StartChatParams extends BaseParams {
684
695
tools? : Tool [];
685
696
}
686
697
687
- // @public (undocumented)
698
+ // @public
688
699
export class StringSchema extends Schema {
689
700
constructor (schemaParams ? : SchemaParams , enumValues ? : string []);
690
701
// (undocumented)
691
702
enum? : string [];
703
+ // Warning: (ae-incompatible-release-tags) The symbol "toRequest" is marked as @public, but its signature references "_SchemaRequest" which is marked as @internal
704
+ //
692
705
// (undocumented)
693
- toJSON (): _SchemaRequest ;
706
+ toRequest (): _SchemaRequest ;
694
707
}
695
708
696
709
// @public
@@ -723,7 +736,7 @@ export interface ToolConfig {
723
736
functionCallingConfig? : FunctionCallingConfig ;
724
737
}
725
738
726
- // @public (undocumented)
739
+ // @public
727
740
export type TypedSchema = IntegerSchema | NumberSchema | StringSchema | BooleanSchema | ObjectSchema | ArraySchema ;
728
741
729
742
// @public
@@ -750,8 +763,6 @@ export interface VertexAI {
750
763
export class VertexAIError extends FirebaseError {
751
764
constructor (code : VertexAIErrorCode , message : string , customErrorData ? : CustomErrorData | undefined );
752
765
// (undocumented)
753
- readonly code: VertexAIErrorCode ;
754
- // (undocumented)
755
766
readonly customErrorData? : CustomErrorData | undefined ;
756
767
}
757
768
0 commit comments