@@ -14,8 +14,8 @@ export class ArraySchema extends Schema {
14
14
constructor (schemaParams : SchemaParams , items : TypedSchema );
15
15
// (undocumented)
16
16
items: TypedSchema ;
17
- // @internal (undocumented)
18
- toJSON(): _SchemaRequest ;
17
+ // (undocumented)
18
+ toJSON(): SchemaRequest ;
19
19
}
20
20
21
21
// @public
@@ -310,7 +310,7 @@ export interface GenerationConfig {
310
310
// (undocumented)
311
311
presencePenalty? : number ;
312
312
responseMimeType? : string ;
313
- responseSchema? : TypedSchema ;
313
+ responseSchema? : TypedSchema | SchemaRequest ;
314
314
// (undocumented)
315
315
stopSequences? : string [];
316
316
// (undocumented)
@@ -491,8 +491,8 @@ export class ObjectSchema extends Schema {
491
491
properties: {
492
492
[k : string ]: TypedSchema ;
493
493
};
494
- // @internal (undocumented)
495
- toJSON(): _SchemaRequest ;
494
+ // (undocumented)
495
+ toJSON(): SchemaRequest ;
496
496
}
497
497
498
498
// @public
@@ -593,8 +593,7 @@ export abstract class Schema implements SchemaInterface {
593
593
}): ObjectSchema ;
594
594
// (undocumented)
595
595
static string(stringParams ? : SchemaParams ): StringSchema ;
596
- // Warning: (ae-incompatible-release-tags) The symbol "toJSON" is marked as @public, but its signature references "_SchemaRequest" which is marked as @internal
597
- toJSON(): _SchemaRequest ;
596
+ toJSON(): SchemaRequest ;
598
597
type: SchemaType ;
599
598
}
600
599
@@ -607,13 +606,13 @@ export interface SchemaInterface extends SchemaShared<SchemaInterface> {
607
606
export interface SchemaParams extends SchemaShared <SchemaInterface > {
608
607
}
609
608
610
- // @internal
611
- export interface _SchemaRequest extends SchemaShared <_SchemaRequest > {
609
+ // @public
610
+ export interface SchemaRequest extends SchemaShared <SchemaRequest > {
612
611
required? : string [];
613
612
type: SchemaType ;
614
613
}
615
614
616
- // @public (undocumented)
615
+ // @public
617
616
export interface SchemaShared <T > {
618
617
// (undocumented)
619
618
[key : string ]: unknown ;
@@ -665,8 +664,8 @@ export class StringSchema extends Schema {
665
664
constructor (schemaParams ? : SchemaParams , enumValues ? : string []);
666
665
// (undocumented)
667
666
enum? : string [];
668
- // @internal (undocumented)
669
- toJSON(): _SchemaRequest ;
667
+ // (undocumented)
668
+ toJSON(): SchemaRequest ;
670
669
}
671
670
672
671
// @public
@@ -714,6 +713,8 @@ export interface VertexAI {
714
713
export class VertexAIError extends FirebaseError {
715
714
constructor (code : VertexAIErrorCode , message : string , customErrorData ? : CustomErrorData | undefined );
716
715
// (undocumented)
716
+ readonly code: VertexAIErrorCode ;
717
+ // (undocumented)
717
718
readonly customErrorData? : CustomErrorData | undefined ;
718
719
}
719
720
0 commit comments