@adaline/vertex 1.13.0 → 1.13.2
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 +441 -1
- package/dist/index.d.ts +441 -1
- package/dist/index.js +114 -102
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15 -15
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -2053,6 +2053,125 @@ declare class Gemini2_0Flash extends BaseChatModelVertex {
|
|
|
2053
2053
|
constructor(options: Gemini2_0FlashOptionsType);
|
|
2054
2054
|
}
|
|
2055
2055
|
|
|
2056
|
+
declare const Gemini2_0FlashLiteLiteral: "gemini-2.0-flash-lite";
|
|
2057
|
+
declare const Gemini2_0FlashLiteSchema: ChatModelSchemaType;
|
|
2058
|
+
declare const Gemini2_0FlashLiteOptions: z.ZodDiscriminatedUnion<"authType", [z.ZodObject<{
|
|
2059
|
+
authType: z.ZodLiteral<"accessToken">;
|
|
2060
|
+
accessToken: z.ZodString;
|
|
2061
|
+
modelName: z.ZodString;
|
|
2062
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
2063
|
+
location: z.ZodOptional<z.ZodString>;
|
|
2064
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
2065
|
+
publisher: z.ZodOptional<z.ZodString>;
|
|
2066
|
+
}, "strip", z.ZodTypeAny, {
|
|
2067
|
+
authType: "accessToken";
|
|
2068
|
+
accessToken: string;
|
|
2069
|
+
modelName: string;
|
|
2070
|
+
baseUrl?: string | undefined;
|
|
2071
|
+
location?: string | undefined;
|
|
2072
|
+
projectId?: string | undefined;
|
|
2073
|
+
publisher?: string | undefined;
|
|
2074
|
+
}, {
|
|
2075
|
+
authType: "accessToken";
|
|
2076
|
+
accessToken: string;
|
|
2077
|
+
modelName: string;
|
|
2078
|
+
baseUrl?: string | undefined;
|
|
2079
|
+
location?: string | undefined;
|
|
2080
|
+
projectId?: string | undefined;
|
|
2081
|
+
publisher?: string | undefined;
|
|
2082
|
+
}>, z.ZodObject<{
|
|
2083
|
+
authType: z.ZodLiteral<"serviceAccount">;
|
|
2084
|
+
serviceAccount: z.ZodObject<{
|
|
2085
|
+
client_email: z.ZodString;
|
|
2086
|
+
private_key: z.ZodString;
|
|
2087
|
+
type: z.ZodOptional<z.ZodString>;
|
|
2088
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
2089
|
+
private_key_id: z.ZodOptional<z.ZodString>;
|
|
2090
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
2091
|
+
auth_uri: z.ZodOptional<z.ZodString>;
|
|
2092
|
+
token_uri: z.ZodOptional<z.ZodString>;
|
|
2093
|
+
auth_provider_x509_cert_url: z.ZodOptional<z.ZodString>;
|
|
2094
|
+
client_x509_cert_url: z.ZodOptional<z.ZodString>;
|
|
2095
|
+
universe_domain: z.ZodOptional<z.ZodString>;
|
|
2096
|
+
}, "strip", z.ZodTypeAny, {
|
|
2097
|
+
client_email: string;
|
|
2098
|
+
private_key: string;
|
|
2099
|
+
type?: string | undefined;
|
|
2100
|
+
project_id?: string | undefined;
|
|
2101
|
+
private_key_id?: string | undefined;
|
|
2102
|
+
client_id?: string | undefined;
|
|
2103
|
+
auth_uri?: string | undefined;
|
|
2104
|
+
token_uri?: string | undefined;
|
|
2105
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
2106
|
+
client_x509_cert_url?: string | undefined;
|
|
2107
|
+
universe_domain?: string | undefined;
|
|
2108
|
+
}, {
|
|
2109
|
+
client_email: string;
|
|
2110
|
+
private_key: string;
|
|
2111
|
+
type?: string | undefined;
|
|
2112
|
+
project_id?: string | undefined;
|
|
2113
|
+
private_key_id?: string | undefined;
|
|
2114
|
+
client_id?: string | undefined;
|
|
2115
|
+
auth_uri?: string | undefined;
|
|
2116
|
+
token_uri?: string | undefined;
|
|
2117
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
2118
|
+
client_x509_cert_url?: string | undefined;
|
|
2119
|
+
universe_domain?: string | undefined;
|
|
2120
|
+
}>;
|
|
2121
|
+
modelName: z.ZodString;
|
|
2122
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
2123
|
+
location: z.ZodOptional<z.ZodString>;
|
|
2124
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
2125
|
+
publisher: z.ZodOptional<z.ZodString>;
|
|
2126
|
+
tokenLifetimeHours: z.ZodDefault<z.ZodNumber>;
|
|
2127
|
+
}, "strip", z.ZodTypeAny, {
|
|
2128
|
+
authType: "serviceAccount";
|
|
2129
|
+
modelName: string;
|
|
2130
|
+
serviceAccount: {
|
|
2131
|
+
client_email: string;
|
|
2132
|
+
private_key: string;
|
|
2133
|
+
type?: string | undefined;
|
|
2134
|
+
project_id?: string | undefined;
|
|
2135
|
+
private_key_id?: string | undefined;
|
|
2136
|
+
client_id?: string | undefined;
|
|
2137
|
+
auth_uri?: string | undefined;
|
|
2138
|
+
token_uri?: string | undefined;
|
|
2139
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
2140
|
+
client_x509_cert_url?: string | undefined;
|
|
2141
|
+
universe_domain?: string | undefined;
|
|
2142
|
+
};
|
|
2143
|
+
tokenLifetimeHours: number;
|
|
2144
|
+
baseUrl?: string | undefined;
|
|
2145
|
+
location?: string | undefined;
|
|
2146
|
+
projectId?: string | undefined;
|
|
2147
|
+
publisher?: string | undefined;
|
|
2148
|
+
}, {
|
|
2149
|
+
authType: "serviceAccount";
|
|
2150
|
+
modelName: string;
|
|
2151
|
+
serviceAccount: {
|
|
2152
|
+
client_email: string;
|
|
2153
|
+
private_key: string;
|
|
2154
|
+
type?: string | undefined;
|
|
2155
|
+
project_id?: string | undefined;
|
|
2156
|
+
private_key_id?: string | undefined;
|
|
2157
|
+
client_id?: string | undefined;
|
|
2158
|
+
auth_uri?: string | undefined;
|
|
2159
|
+
token_uri?: string | undefined;
|
|
2160
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
2161
|
+
client_x509_cert_url?: string | undefined;
|
|
2162
|
+
universe_domain?: string | undefined;
|
|
2163
|
+
};
|
|
2164
|
+
baseUrl?: string | undefined;
|
|
2165
|
+
location?: string | undefined;
|
|
2166
|
+
projectId?: string | undefined;
|
|
2167
|
+
publisher?: string | undefined;
|
|
2168
|
+
tokenLifetimeHours?: number | undefined;
|
|
2169
|
+
}>]>;
|
|
2170
|
+
type Gemini2_0FlashLiteOptionsType = z.infer<typeof Gemini2_0FlashLiteOptions>;
|
|
2171
|
+
declare class Gemini2_0FlashLite extends BaseChatModelVertex {
|
|
2172
|
+
constructor(options: Gemini2_0FlashLiteOptionsType);
|
|
2173
|
+
}
|
|
2174
|
+
|
|
2056
2175
|
declare const Gemini2_5FlashLiteLiteral: "gemini-2.5-flash-lite";
|
|
2057
2176
|
declare const Gemini2_5FlashLiteSchema: ChatModelSchemaType;
|
|
2058
2177
|
declare const Gemini2_5FlashLiteOptions: z.ZodDiscriminatedUnion<"authType", [z.ZodObject<{
|
|
@@ -2172,6 +2291,125 @@ declare class Gemini2_5FlashLite extends BaseChatModelVertex {
|
|
|
2172
2291
|
constructor(options: Gemini2_5FlashLiteOptionsType);
|
|
2173
2292
|
}
|
|
2174
2293
|
|
|
2294
|
+
declare const Gemini2_5FlashLitePreview092025Literal: "gemini-2.5-flash-lite-preview-09-2025";
|
|
2295
|
+
declare const Gemini2_5FlashLitePreview092025Schema: ChatModelSchemaType;
|
|
2296
|
+
declare const Gemini2_5FlashLitePreview092025Options: z.ZodDiscriminatedUnion<"authType", [z.ZodObject<{
|
|
2297
|
+
authType: z.ZodLiteral<"accessToken">;
|
|
2298
|
+
accessToken: z.ZodString;
|
|
2299
|
+
modelName: z.ZodString;
|
|
2300
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
2301
|
+
location: z.ZodOptional<z.ZodString>;
|
|
2302
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
2303
|
+
publisher: z.ZodOptional<z.ZodString>;
|
|
2304
|
+
}, "strip", z.ZodTypeAny, {
|
|
2305
|
+
authType: "accessToken";
|
|
2306
|
+
accessToken: string;
|
|
2307
|
+
modelName: string;
|
|
2308
|
+
baseUrl?: string | undefined;
|
|
2309
|
+
location?: string | undefined;
|
|
2310
|
+
projectId?: string | undefined;
|
|
2311
|
+
publisher?: string | undefined;
|
|
2312
|
+
}, {
|
|
2313
|
+
authType: "accessToken";
|
|
2314
|
+
accessToken: string;
|
|
2315
|
+
modelName: string;
|
|
2316
|
+
baseUrl?: string | undefined;
|
|
2317
|
+
location?: string | undefined;
|
|
2318
|
+
projectId?: string | undefined;
|
|
2319
|
+
publisher?: string | undefined;
|
|
2320
|
+
}>, z.ZodObject<{
|
|
2321
|
+
authType: z.ZodLiteral<"serviceAccount">;
|
|
2322
|
+
serviceAccount: z.ZodObject<{
|
|
2323
|
+
client_email: z.ZodString;
|
|
2324
|
+
private_key: z.ZodString;
|
|
2325
|
+
type: z.ZodOptional<z.ZodString>;
|
|
2326
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
2327
|
+
private_key_id: z.ZodOptional<z.ZodString>;
|
|
2328
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
2329
|
+
auth_uri: z.ZodOptional<z.ZodString>;
|
|
2330
|
+
token_uri: z.ZodOptional<z.ZodString>;
|
|
2331
|
+
auth_provider_x509_cert_url: z.ZodOptional<z.ZodString>;
|
|
2332
|
+
client_x509_cert_url: z.ZodOptional<z.ZodString>;
|
|
2333
|
+
universe_domain: z.ZodOptional<z.ZodString>;
|
|
2334
|
+
}, "strip", z.ZodTypeAny, {
|
|
2335
|
+
client_email: string;
|
|
2336
|
+
private_key: string;
|
|
2337
|
+
type?: string | undefined;
|
|
2338
|
+
project_id?: string | undefined;
|
|
2339
|
+
private_key_id?: string | undefined;
|
|
2340
|
+
client_id?: string | undefined;
|
|
2341
|
+
auth_uri?: string | undefined;
|
|
2342
|
+
token_uri?: string | undefined;
|
|
2343
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
2344
|
+
client_x509_cert_url?: string | undefined;
|
|
2345
|
+
universe_domain?: string | undefined;
|
|
2346
|
+
}, {
|
|
2347
|
+
client_email: string;
|
|
2348
|
+
private_key: string;
|
|
2349
|
+
type?: string | undefined;
|
|
2350
|
+
project_id?: string | undefined;
|
|
2351
|
+
private_key_id?: string | undefined;
|
|
2352
|
+
client_id?: string | undefined;
|
|
2353
|
+
auth_uri?: string | undefined;
|
|
2354
|
+
token_uri?: string | undefined;
|
|
2355
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
2356
|
+
client_x509_cert_url?: string | undefined;
|
|
2357
|
+
universe_domain?: string | undefined;
|
|
2358
|
+
}>;
|
|
2359
|
+
modelName: z.ZodString;
|
|
2360
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
2361
|
+
location: z.ZodOptional<z.ZodString>;
|
|
2362
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
2363
|
+
publisher: z.ZodOptional<z.ZodString>;
|
|
2364
|
+
tokenLifetimeHours: z.ZodDefault<z.ZodNumber>;
|
|
2365
|
+
}, "strip", z.ZodTypeAny, {
|
|
2366
|
+
authType: "serviceAccount";
|
|
2367
|
+
modelName: string;
|
|
2368
|
+
serviceAccount: {
|
|
2369
|
+
client_email: string;
|
|
2370
|
+
private_key: string;
|
|
2371
|
+
type?: string | undefined;
|
|
2372
|
+
project_id?: string | undefined;
|
|
2373
|
+
private_key_id?: string | undefined;
|
|
2374
|
+
client_id?: string | undefined;
|
|
2375
|
+
auth_uri?: string | undefined;
|
|
2376
|
+
token_uri?: string | undefined;
|
|
2377
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
2378
|
+
client_x509_cert_url?: string | undefined;
|
|
2379
|
+
universe_domain?: string | undefined;
|
|
2380
|
+
};
|
|
2381
|
+
tokenLifetimeHours: number;
|
|
2382
|
+
baseUrl?: string | undefined;
|
|
2383
|
+
location?: string | undefined;
|
|
2384
|
+
projectId?: string | undefined;
|
|
2385
|
+
publisher?: string | undefined;
|
|
2386
|
+
}, {
|
|
2387
|
+
authType: "serviceAccount";
|
|
2388
|
+
modelName: string;
|
|
2389
|
+
serviceAccount: {
|
|
2390
|
+
client_email: string;
|
|
2391
|
+
private_key: string;
|
|
2392
|
+
type?: string | undefined;
|
|
2393
|
+
project_id?: string | undefined;
|
|
2394
|
+
private_key_id?: string | undefined;
|
|
2395
|
+
client_id?: string | undefined;
|
|
2396
|
+
auth_uri?: string | undefined;
|
|
2397
|
+
token_uri?: string | undefined;
|
|
2398
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
2399
|
+
client_x509_cert_url?: string | undefined;
|
|
2400
|
+
universe_domain?: string | undefined;
|
|
2401
|
+
};
|
|
2402
|
+
baseUrl?: string | undefined;
|
|
2403
|
+
location?: string | undefined;
|
|
2404
|
+
projectId?: string | undefined;
|
|
2405
|
+
publisher?: string | undefined;
|
|
2406
|
+
tokenLifetimeHours?: number | undefined;
|
|
2407
|
+
}>]>;
|
|
2408
|
+
type Gemini2_5FlashLitePreview092025OptionsType = z.infer<typeof Gemini2_5FlashLitePreview092025Options>;
|
|
2409
|
+
declare class Gemini2_5FlashLitePreview092025 extends BaseChatModelVertex {
|
|
2410
|
+
constructor(options: Gemini2_5FlashLitePreview092025OptionsType);
|
|
2411
|
+
}
|
|
2412
|
+
|
|
2175
2413
|
declare const Gemini2_5FlashPreview0417Literal: "gemini-2.5-flash-preview-04-17";
|
|
2176
2414
|
declare const Gemini2_5FlashPreview0417Schema: {
|
|
2177
2415
|
readonly price: {
|
|
@@ -2998,6 +3236,208 @@ declare class Gemini2_5Pro extends BaseChatModelVertex {
|
|
|
2998
3236
|
constructor(options: Gemini2_5ProOptionsType);
|
|
2999
3237
|
}
|
|
3000
3238
|
|
|
3239
|
+
declare const Gemini3_1ProPreviewLiteral: "gemini-3.1-pro-preview";
|
|
3240
|
+
declare const Gemini3_1ProPreviewSchema: {
|
|
3241
|
+
name: string;
|
|
3242
|
+
description: string;
|
|
3243
|
+
roles: Partial<Record<"system" | "user" | "assistant" | "tool", string | undefined>>;
|
|
3244
|
+
modalities: ["text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result", ...("text" | "image" | "pdf" | "tool-call" | "tool-response" | "reasoning" | "error" | "search-result")[]];
|
|
3245
|
+
maxInputTokens: number;
|
|
3246
|
+
maxOutputTokens: number;
|
|
3247
|
+
config: {
|
|
3248
|
+
def: Record<string, {
|
|
3249
|
+
type: "multi-string";
|
|
3250
|
+
param: string;
|
|
3251
|
+
title: string;
|
|
3252
|
+
description: string;
|
|
3253
|
+
max: number;
|
|
3254
|
+
} | {
|
|
3255
|
+
type: "object-schema";
|
|
3256
|
+
param: string;
|
|
3257
|
+
title: string;
|
|
3258
|
+
description: string;
|
|
3259
|
+
objectSchema?: any;
|
|
3260
|
+
} | {
|
|
3261
|
+
type: "paired-select";
|
|
3262
|
+
param: string;
|
|
3263
|
+
title: string;
|
|
3264
|
+
description: string;
|
|
3265
|
+
fields: [{
|
|
3266
|
+
label: string;
|
|
3267
|
+
key: string;
|
|
3268
|
+
choices: {
|
|
3269
|
+
value: string;
|
|
3270
|
+
label: string;
|
|
3271
|
+
}[];
|
|
3272
|
+
description?: string | undefined;
|
|
3273
|
+
}, {
|
|
3274
|
+
label: string;
|
|
3275
|
+
key: string;
|
|
3276
|
+
choices: {
|
|
3277
|
+
value: string;
|
|
3278
|
+
label: string;
|
|
3279
|
+
}[];
|
|
3280
|
+
description?: string | undefined;
|
|
3281
|
+
}];
|
|
3282
|
+
uniqueByField?: string | undefined;
|
|
3283
|
+
} | {
|
|
3284
|
+
type: "range";
|
|
3285
|
+
param: string;
|
|
3286
|
+
title: string;
|
|
3287
|
+
description: string;
|
|
3288
|
+
max: number;
|
|
3289
|
+
default: number;
|
|
3290
|
+
min: number;
|
|
3291
|
+
step: number;
|
|
3292
|
+
} | {
|
|
3293
|
+
type: "select-boolean";
|
|
3294
|
+
param: string;
|
|
3295
|
+
title: string;
|
|
3296
|
+
description: string;
|
|
3297
|
+
default: boolean | null;
|
|
3298
|
+
} | {
|
|
3299
|
+
type: "select-string";
|
|
3300
|
+
param: string;
|
|
3301
|
+
title: string;
|
|
3302
|
+
description: string;
|
|
3303
|
+
default: string;
|
|
3304
|
+
choices: string[];
|
|
3305
|
+
}>;
|
|
3306
|
+
schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
|
|
3307
|
+
};
|
|
3308
|
+
price: {
|
|
3309
|
+
modelName: string;
|
|
3310
|
+
currency: string;
|
|
3311
|
+
tokenRanges: {
|
|
3312
|
+
minTokens: number;
|
|
3313
|
+
prices: {
|
|
3314
|
+
base: {
|
|
3315
|
+
inputPricePerMillion: number;
|
|
3316
|
+
outputPricePerMillion: number;
|
|
3317
|
+
};
|
|
3318
|
+
};
|
|
3319
|
+
maxTokens?: number | null | undefined;
|
|
3320
|
+
}[];
|
|
3321
|
+
};
|
|
3322
|
+
maxReasoningTokens?: number | undefined;
|
|
3323
|
+
};
|
|
3324
|
+
declare const Gemini3_1ProPreviewOptions: z.ZodDiscriminatedUnion<"authType", [z.ZodObject<{
|
|
3325
|
+
authType: z.ZodLiteral<"accessToken">;
|
|
3326
|
+
accessToken: z.ZodString;
|
|
3327
|
+
modelName: z.ZodString;
|
|
3328
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
3329
|
+
location: z.ZodOptional<z.ZodString>;
|
|
3330
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
3331
|
+
publisher: z.ZodOptional<z.ZodString>;
|
|
3332
|
+
}, "strip", z.ZodTypeAny, {
|
|
3333
|
+
authType: "accessToken";
|
|
3334
|
+
accessToken: string;
|
|
3335
|
+
modelName: string;
|
|
3336
|
+
baseUrl?: string | undefined;
|
|
3337
|
+
location?: string | undefined;
|
|
3338
|
+
projectId?: string | undefined;
|
|
3339
|
+
publisher?: string | undefined;
|
|
3340
|
+
}, {
|
|
3341
|
+
authType: "accessToken";
|
|
3342
|
+
accessToken: string;
|
|
3343
|
+
modelName: string;
|
|
3344
|
+
baseUrl?: string | undefined;
|
|
3345
|
+
location?: string | undefined;
|
|
3346
|
+
projectId?: string | undefined;
|
|
3347
|
+
publisher?: string | undefined;
|
|
3348
|
+
}>, z.ZodObject<{
|
|
3349
|
+
authType: z.ZodLiteral<"serviceAccount">;
|
|
3350
|
+
serviceAccount: z.ZodObject<{
|
|
3351
|
+
client_email: z.ZodString;
|
|
3352
|
+
private_key: z.ZodString;
|
|
3353
|
+
type: z.ZodOptional<z.ZodString>;
|
|
3354
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
3355
|
+
private_key_id: z.ZodOptional<z.ZodString>;
|
|
3356
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
3357
|
+
auth_uri: z.ZodOptional<z.ZodString>;
|
|
3358
|
+
token_uri: z.ZodOptional<z.ZodString>;
|
|
3359
|
+
auth_provider_x509_cert_url: z.ZodOptional<z.ZodString>;
|
|
3360
|
+
client_x509_cert_url: z.ZodOptional<z.ZodString>;
|
|
3361
|
+
universe_domain: z.ZodOptional<z.ZodString>;
|
|
3362
|
+
}, "strip", z.ZodTypeAny, {
|
|
3363
|
+
client_email: string;
|
|
3364
|
+
private_key: string;
|
|
3365
|
+
type?: string | undefined;
|
|
3366
|
+
project_id?: string | undefined;
|
|
3367
|
+
private_key_id?: string | undefined;
|
|
3368
|
+
client_id?: string | undefined;
|
|
3369
|
+
auth_uri?: string | undefined;
|
|
3370
|
+
token_uri?: string | undefined;
|
|
3371
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
3372
|
+
client_x509_cert_url?: string | undefined;
|
|
3373
|
+
universe_domain?: string | undefined;
|
|
3374
|
+
}, {
|
|
3375
|
+
client_email: string;
|
|
3376
|
+
private_key: string;
|
|
3377
|
+
type?: string | undefined;
|
|
3378
|
+
project_id?: string | undefined;
|
|
3379
|
+
private_key_id?: string | undefined;
|
|
3380
|
+
client_id?: string | undefined;
|
|
3381
|
+
auth_uri?: string | undefined;
|
|
3382
|
+
token_uri?: string | undefined;
|
|
3383
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
3384
|
+
client_x509_cert_url?: string | undefined;
|
|
3385
|
+
universe_domain?: string | undefined;
|
|
3386
|
+
}>;
|
|
3387
|
+
modelName: z.ZodString;
|
|
3388
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
3389
|
+
location: z.ZodOptional<z.ZodString>;
|
|
3390
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
3391
|
+
publisher: z.ZodOptional<z.ZodString>;
|
|
3392
|
+
tokenLifetimeHours: z.ZodDefault<z.ZodNumber>;
|
|
3393
|
+
}, "strip", z.ZodTypeAny, {
|
|
3394
|
+
authType: "serviceAccount";
|
|
3395
|
+
modelName: string;
|
|
3396
|
+
serviceAccount: {
|
|
3397
|
+
client_email: string;
|
|
3398
|
+
private_key: string;
|
|
3399
|
+
type?: string | undefined;
|
|
3400
|
+
project_id?: string | undefined;
|
|
3401
|
+
private_key_id?: string | undefined;
|
|
3402
|
+
client_id?: string | undefined;
|
|
3403
|
+
auth_uri?: string | undefined;
|
|
3404
|
+
token_uri?: string | undefined;
|
|
3405
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
3406
|
+
client_x509_cert_url?: string | undefined;
|
|
3407
|
+
universe_domain?: string | undefined;
|
|
3408
|
+
};
|
|
3409
|
+
tokenLifetimeHours: number;
|
|
3410
|
+
baseUrl?: string | undefined;
|
|
3411
|
+
location?: string | undefined;
|
|
3412
|
+
projectId?: string | undefined;
|
|
3413
|
+
publisher?: string | undefined;
|
|
3414
|
+
}, {
|
|
3415
|
+
authType: "serviceAccount";
|
|
3416
|
+
modelName: string;
|
|
3417
|
+
serviceAccount: {
|
|
3418
|
+
client_email: string;
|
|
3419
|
+
private_key: string;
|
|
3420
|
+
type?: string | undefined;
|
|
3421
|
+
project_id?: string | undefined;
|
|
3422
|
+
private_key_id?: string | undefined;
|
|
3423
|
+
client_id?: string | undefined;
|
|
3424
|
+
auth_uri?: string | undefined;
|
|
3425
|
+
token_uri?: string | undefined;
|
|
3426
|
+
auth_provider_x509_cert_url?: string | undefined;
|
|
3427
|
+
client_x509_cert_url?: string | undefined;
|
|
3428
|
+
universe_domain?: string | undefined;
|
|
3429
|
+
};
|
|
3430
|
+
baseUrl?: string | undefined;
|
|
3431
|
+
location?: string | undefined;
|
|
3432
|
+
projectId?: string | undefined;
|
|
3433
|
+
publisher?: string | undefined;
|
|
3434
|
+
tokenLifetimeHours?: number | undefined;
|
|
3435
|
+
}>]>;
|
|
3436
|
+
type Gemini3_1ProPreviewOptionsType = z.infer<typeof Gemini3_1ProPreviewOptions>;
|
|
3437
|
+
declare class Gemini3_1ProPreview extends BaseChatModelVertex {
|
|
3438
|
+
constructor(options: Gemini3_1ProPreviewOptionsType);
|
|
3439
|
+
}
|
|
3440
|
+
|
|
3001
3441
|
declare const Gemini3FlashPreviewLiteral: "gemini-3-flash-preview";
|
|
3002
3442
|
declare const Gemini3FlashPreviewSchema: {
|
|
3003
3443
|
readonly price: {
|
|
@@ -3864,4 +4304,4 @@ declare class Vertex<C extends BaseChatModelOptionsType, E extends BaseEmbedding
|
|
|
3864
4304
|
embeddingModel(options: E): EmbeddingModelV1;
|
|
3865
4305
|
}
|
|
3866
4306
|
|
|
3867
|
-
export { BaseChatModelOptions, type BaseChatModelOptionsType, BaseChatModelVertex, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, 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, Gemini3FlashPreview, Gemini3FlashPreviewLiteral, Gemini3FlashPreviewOptions, type Gemini3FlashPreviewOptionsType, Gemini3FlashPreviewSchema, Gemini3ProPreview, Gemini3ProPreviewLiteral, Gemini3ProPreviewOptions, type Gemini3ProPreviewOptionsType, Gemini3ProPreviewSchema, Text_Embedding_004, Text_Embedding_004Literal, Text_Embedding_004Options, type Text_Embedding_004OptionsType, Text_Embedding_004Schema, Text_Embedding_Gecko_003, Text_Embedding_Gecko_003Literal, Text_Embedding_Gecko_003Options, type Text_Embedding_Gecko_003OptionsType, Text_Embedding_Gecko_003Schema, Text_Embedding_Gecko_Multilingual_001, Text_Embedding_Gecko_Multilingual_001Literal, Text_Embedding_Gecko_Multilingual_001Options, type Text_Embedding_Gecko_Multilingual_001OptionsType, Text_Embedding_Gecko_Multilingual_001Schema, Text_Multilingual_Embedding_002, Text_Multilingual_Embedding_002Literal, Text_Multilingual_Embedding_002Options, type Text_Multilingual_Embedding_002OptionsType, Text_Multilingual_Embedding_002Schema, Vertex };
|
|
4307
|
+
export { BaseChatModelOptions, type BaseChatModelOptionsType, BaseChatModelVertex, BaseEmbeddingModel, BaseEmbeddingModelOptions, type BaseEmbeddingModelOptionsType, 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_0FlashLite, Gemini2_0FlashLiteLiteral, Gemini2_0FlashLiteOptions, type Gemini2_0FlashLiteOptionsType, Gemini2_0FlashLiteSchema, Gemini2_0FlashLiteral, Gemini2_0FlashOptions, type Gemini2_0FlashOptionsType, Gemini2_0FlashSchema, Gemini2_5Flash, Gemini2_5FlashLite, Gemini2_5FlashLiteLiteral, Gemini2_5FlashLiteOptions, type Gemini2_5FlashLiteOptionsType, Gemini2_5FlashLitePreview092025, Gemini2_5FlashLitePreview092025Literal, Gemini2_5FlashLitePreview092025Options, type Gemini2_5FlashLitePreview092025OptionsType, Gemini2_5FlashLitePreview092025Schema, 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, Gemini3FlashPreview, Gemini3FlashPreviewLiteral, Gemini3FlashPreviewOptions, type Gemini3FlashPreviewOptionsType, Gemini3FlashPreviewSchema, Gemini3ProPreview, Gemini3ProPreviewLiteral, Gemini3ProPreviewOptions, type Gemini3ProPreviewOptionsType, Gemini3ProPreviewSchema, Gemini3_1ProPreview, Gemini3_1ProPreviewLiteral, Gemini3_1ProPreviewOptions, type Gemini3_1ProPreviewOptionsType, Gemini3_1ProPreviewSchema, Text_Embedding_004, Text_Embedding_004Literal, Text_Embedding_004Options, type Text_Embedding_004OptionsType, Text_Embedding_004Schema, Text_Embedding_Gecko_003, Text_Embedding_Gecko_003Literal, Text_Embedding_Gecko_003Options, type Text_Embedding_Gecko_003OptionsType, Text_Embedding_Gecko_003Schema, Text_Embedding_Gecko_Multilingual_001, Text_Embedding_Gecko_Multilingual_001Literal, Text_Embedding_Gecko_Multilingual_001Options, type Text_Embedding_Gecko_Multilingual_001OptionsType, Text_Embedding_Gecko_Multilingual_001Schema, Text_Multilingual_Embedding_002, Text_Multilingual_Embedding_002Literal, Text_Multilingual_Embedding_002Options, type Text_Multilingual_Embedding_002OptionsType, Text_Multilingual_Embedding_002Schema, Vertex };
|