@apicity/google 0.6.1 → 0.6.3

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.
@@ -1,11 +1,11 @@
1
1
  import { GoogleError } from "./types.js";
2
- import { GoogleCountTokensRequestSchema, GoogleGenerateContentRequestSchema, } from "./zod.js";
2
+ import { GoogleCountTokensRequestSchema, GoogleRetrieveUserQuotaRequestSchema, GoogleFlowAccountsCreateRequestSchema, GoogleFlowAssetUploadRequestSchema, GoogleFlowCaptchaProvidersRequestSchema, GoogleFlowCaptchaStatsRequestSchema, GoogleFlowCharactersCreateRequestSchema, GoogleFlowCharactersListRequestSchema, GoogleFlowEmailRequestSchema, GoogleFlowImagesRequestSchema, GoogleFlowImagesUpscaleRequestSchema, GoogleFlowJobIdRequestSchema, GoogleFlowJobsRequestSchema, GoogleFlowMediaGenerationIdRequestSchema, GoogleFlowNoRequestSchema, GoogleFlowRefRequestSchema, GoogleFlowVideosConcatenateRequestSchema, GoogleFlowVideosExtendRequestSchema, GoogleFlowVideosGifRequestSchema, GoogleFlowVideosRequestSchema, GoogleFlowVideosUpscaleRequestSchema, GoogleFlowVoicesCreateRequestSchema, GoogleFlowVoicesListRequestSchema, GoogleGenerateContentRequestSchema, } from "./zod.js";
3
3
  import { attachExamples } from "./example.js";
4
+ const GOOGLE_FLOW_API_URL = "https://api.useapi.net/v1/google-flow";
4
5
  function isGoogleErrorBody(value) {
5
6
  return (typeof value === "object" &&
6
7
  value !== null &&
7
- "error" in value &&
8
- typeof value.error === "object");
8
+ ("error" in value || "message" in value));
9
9
  }
10
10
  function attachAbortHandler(signal, controller) {
11
11
  if (signal.aborted) {
@@ -15,16 +15,115 @@ function attachAbortHandler(signal, controller) {
15
15
  signal.addEventListener("abort", () => controller.abort(), { once: true });
16
16
  }
17
17
  function formatErrorMessage(status, body) {
18
- if (isGoogleErrorBody(body) && body.error?.message) {
19
- return `Google API error ${status}: ${body.error.message}`;
18
+ if (isGoogleErrorBody(body)) {
19
+ if (typeof body.error === "string") {
20
+ return `Google API error ${status}: ${body.error}`;
21
+ }
22
+ if (body.error?.message) {
23
+ return `Google API error ${status}: ${body.error.message}`;
24
+ }
25
+ if (body.message) {
26
+ return `Google API error ${status}: ${body.message}`;
27
+ }
20
28
  }
21
29
  return `Google API error: ${status}`;
22
30
  }
31
+ function bodyFromRequest(req, omitKeys = []) {
32
+ const omit = new Set(omitKeys);
33
+ const body = {};
34
+ for (const [key, value] of Object.entries(req)) {
35
+ if (omit.has(key) || value === undefined)
36
+ continue;
37
+ body[key] = value;
38
+ }
39
+ return Object.keys(body).length > 0 ? body : undefined;
40
+ }
41
+ function queryFromRequest(req) {
42
+ const params = new URLSearchParams();
43
+ for (const [key, value] of Object.entries(req)) {
44
+ if (value === undefined)
45
+ continue;
46
+ if (Array.isArray(value)) {
47
+ for (const item of value) {
48
+ if (item !== undefined)
49
+ params.append(key, String(item));
50
+ }
51
+ continue;
52
+ }
53
+ params.set(key, String(value));
54
+ }
55
+ const query = params.toString();
56
+ return query ? `?${query}` : "";
57
+ }
58
+ function parseWithSchema(schema, req) {
59
+ const result = schema.safeParse(req);
60
+ if (result.success)
61
+ return result.data;
62
+ const message = result.error.issues
63
+ .map((issue) => {
64
+ const path = issue.path.length ? `${issue.path.join(".")}: ` : "";
65
+ return `${path}${issue.message}`;
66
+ })
67
+ .join("; ");
68
+ throw new GoogleError(`Invalid Google request: ${message}`, 400, {
69
+ issues: result.error.issues,
70
+ });
71
+ }
23
72
  export function createGoogle(opts) {
24
73
  const baseURL = opts.baseURL ?? "https://aiplatform.googleapis.com/v1";
25
74
  const normalizedBaseURL = baseURL.replace(/\/+$/, "");
75
+ const flowBaseURL = opts.flowBaseURL ?? GOOGLE_FLOW_API_URL;
76
+ const normalizedFlowBaseURL = flowBaseURL.replace(/\/+$/, "");
77
+ const flowApiKey = opts.flowApiKey ?? opts.apiKey;
78
+ // Antigravity / Cloud Code usage surface (un-versioned, OAuth-authed).
79
+ const cloudCodeBaseURL = (opts.cloudCodeBaseURL ?? "https://cloudcode-pa.googleapis.com").replace(/\/+$/, "");
80
+ const oauthToken = opts.oauthToken ?? opts.apiKey;
26
81
  const doFetch = opts.fetch ?? fetch;
27
82
  const timeout = opts.timeout ?? 30000;
83
+ // POST against the Cloud Code backend (cloudcode-pa.googleapis.com). Unlike
84
+ // the rest of the factory this authenticates with an OAuth bearer token (the
85
+ // Antigravity login), not the x-goog-api-key header.
86
+ async function makeCloudCodeRequest(path, body, signal) {
87
+ const controller = new AbortController();
88
+ const timeoutId = setTimeout(() => controller.abort(), timeout);
89
+ if (signal) {
90
+ attachAbortHandler(signal, controller);
91
+ }
92
+ try {
93
+ const res = await doFetch(`${cloudCodeBaseURL}${path}`, {
94
+ method: "POST",
95
+ headers: {
96
+ "Content-Type": "application/json",
97
+ Authorization: `Bearer ${oauthToken}`,
98
+ },
99
+ body: JSON.stringify(body),
100
+ signal: controller.signal,
101
+ });
102
+ clearTimeout(timeoutId);
103
+ if (!res.ok) {
104
+ let resBody = null;
105
+ try {
106
+ resBody = await res.json();
107
+ }
108
+ catch {
109
+ // ignore parse errors
110
+ }
111
+ const code = isGoogleErrorBody(resBody) &&
112
+ typeof resBody.error === "object" &&
113
+ resBody.error !== null
114
+ ? resBody.error.status
115
+ : undefined;
116
+ throw new GoogleError(formatErrorMessage(res.status, resBody), res.status, resBody, code);
117
+ }
118
+ return (await res.json());
119
+ }
120
+ catch (error) {
121
+ clearTimeout(timeoutId);
122
+ if (error instanceof GoogleError)
123
+ throw error;
124
+ throw new GoogleError(`Google request failed: ${error}`, 500);
125
+ }
126
+ }
28
127
  async function makeRequest(path, body, signal) {
29
128
  const controller = new AbortController();
30
129
  const timeoutId = setTimeout(() => controller.abort(), timeout);
@@ -50,7 +149,12 @@ export function createGoogle(opts) {
50
149
  catch {
51
150
  // ignore parse errors
52
151
  }
53
- throw new GoogleError(formatErrorMessage(res.status, resBody), res.status, resBody, isGoogleErrorBody(resBody) ? resBody.error?.status : undefined);
152
+ const code = isGoogleErrorBody(resBody) &&
153
+ typeof resBody.error === "object" &&
154
+ resBody.error !== null
155
+ ? resBody.error.status
156
+ : undefined;
157
+ throw new GoogleError(formatErrorMessage(res.status, resBody), res.status, resBody, code);
54
158
  }
55
159
  return (await res.json());
56
160
  }
@@ -61,6 +165,76 @@ export function createGoogle(opts) {
61
165
  throw new GoogleError(`Google request failed: ${error}`, 500);
62
166
  }
63
167
  }
168
+ async function makeFlowRequest(method, path, body, signal, options) {
169
+ const controller = new AbortController();
170
+ const timeoutId = setTimeout(() => controller.abort(), timeout);
171
+ if (signal) {
172
+ attachAbortHandler(signal, controller);
173
+ }
174
+ try {
175
+ const headers = {
176
+ Authorization: `Bearer ${flowApiKey}`,
177
+ };
178
+ const requestPath = options?.pathOverride ?? path;
179
+ const requestBody = body === undefined
180
+ ? undefined
181
+ : typeof body === "string" ||
182
+ (typeof FormData !== "undefined" && body instanceof FormData)
183
+ ? body
184
+ : (typeof Blob !== "undefined" && body instanceof Blob) ||
185
+ body instanceof ArrayBuffer ||
186
+ ArrayBuffer.isView(body)
187
+ ? body
188
+ : JSON.stringify(body);
189
+ if (body !== undefined) {
190
+ headers["Content-Type"] = options?.contentType ?? "application/json";
191
+ }
192
+ void options?.baseOverride;
193
+ const requestBaseURL = normalizedFlowBaseURL.replace(/\/+$/, "");
194
+ const res = await doFetch(`${requestBaseURL}${requestPath}`, {
195
+ method,
196
+ headers,
197
+ body: requestBody,
198
+ signal: controller.signal,
199
+ });
200
+ clearTimeout(timeoutId);
201
+ if (!res.ok) {
202
+ let resBody = null;
203
+ try {
204
+ resBody = await res.json();
205
+ }
206
+ catch {
207
+ // ignore parse errors
208
+ }
209
+ const code = isGoogleErrorBody(resBody) &&
210
+ typeof resBody.error === "object" &&
211
+ resBody.error !== null
212
+ ? resBody.error.status
213
+ : undefined;
214
+ throw new GoogleError(formatErrorMessage(res.status, resBody), res.status, resBody, code);
215
+ }
216
+ return (await res.json());
217
+ }
218
+ catch (error) {
219
+ clearTimeout(timeoutId);
220
+ if (error instanceof GoogleError)
221
+ throw error;
222
+ throw new GoogleError(`Google Flow request failed: ${error}`, 500);
223
+ }
224
+ }
225
+ function jsonGet(schema, path, endpoint) {
226
+ return Object.assign(async (req = {}, signal) => {
227
+ void endpoint;
228
+ const parsed = parseWithSchema(schema, req ?? {});
229
+ return makeFlowRequest("GET", path(parsed), undefined, signal, { baseOverride: GOOGLE_FLOW_API_URL });
230
+ }, { schema });
231
+ }
232
+ function jsonBody(method, schema, path, endpoint, omitKeys = []) {
233
+ return Object.assign(async (req, signal) => {
234
+ const parsed = parseWithSchema(schema, req ?? {});
235
+ return makeFlowRequest(method, path(parsed), bodyFromRequest(parsed, omitKeys), signal, { baseOverride: GOOGLE_FLOW_API_URL });
236
+ }, { schema });
237
+ }
64
238
  const postV1 = {
65
239
  publishers: {
66
240
  google: {
@@ -84,12 +258,137 @@ export function createGoogle(opts) {
84
258
  },
85
259
  },
86
260
  },
261
+ googleFlow: {
262
+ // POST https://api.useapi.net/v1/google-flow/accounts
263
+ // Docs: https://useapi.net/docs/api-google-flow-v1/post-google-flow-accounts
264
+ accounts: Object.assign(jsonBody("POST", GoogleFlowAccountsCreateRequestSchema, () => "/accounts", "https://api.useapi.net/v1/google-flow/accounts"), {
265
+ // POST https://api.useapi.net/v1/google-flow/accounts/captcha-providers
266
+ // Docs: https://useapi.net/docs/api-google-flow-v1/post-google-flow-accounts-captcha-providers
267
+ captchaProviders: jsonBody("POST", GoogleFlowCaptchaProvidersRequestSchema, () => "/accounts/captcha-providers", "https://api.useapi.net/v1/google-flow/accounts/captcha-providers"),
268
+ }),
269
+ // POST https://api.useapi.net/v1/google-flow/assets
270
+ // Docs: https://useapi.net/docs/api-google-flow-v1/post-google-flow-assets-email
271
+ assets: Object.assign(async (req, signal) => {
272
+ const parsed = parseWithSchema(GoogleFlowAssetUploadRequestSchema, req);
273
+ const path = parsed.email
274
+ ? `/assets/${encodeURIComponent(parsed.email)}`
275
+ : "/assets";
276
+ return makeFlowRequest("POST", "/assets", parsed.body, signal, {
277
+ baseOverride: "https://api.useapi.net/v1/google-flow",
278
+ contentType: parsed.contentType,
279
+ pathOverride: path,
280
+ });
281
+ }, { schema: GoogleFlowAssetUploadRequestSchema }),
282
+ // POST https://api.useapi.net/v1/google-flow/characters
283
+ // Docs: https://useapi.net/docs/api-google-flow-v1/post-google-flow-characters
284
+ characters: jsonBody("POST", GoogleFlowCharactersCreateRequestSchema, () => "/characters", "https://api.useapi.net/v1/google-flow/characters"),
285
+ // POST https://api.useapi.net/v1/google-flow/voices
286
+ // Docs: https://useapi.net/docs/api-google-flow-v1/post-google-flow-voices
287
+ voices: jsonBody("POST", GoogleFlowVoicesCreateRequestSchema, () => "/voices", "https://api.useapi.net/v1/google-flow/voices"),
288
+ // POST https://api.useapi.net/v1/google-flow/images
289
+ // Docs: https://useapi.net/docs/api-google-flow-v1/post-google-flow-images
290
+ images: Object.assign(jsonBody("POST", GoogleFlowImagesRequestSchema, () => "/images", "https://api.useapi.net/v1/google-flow/images"), {
291
+ // POST https://api.useapi.net/v1/google-flow/images/upscale
292
+ // Docs: https://useapi.net/docs/api-google-flow-v1/post-google-flow-images-upscale
293
+ upscale: jsonBody("POST", GoogleFlowImagesUpscaleRequestSchema, () => "/images/upscale", "https://api.useapi.net/v1/google-flow/images/upscale"),
294
+ }),
295
+ // POST https://api.useapi.net/v1/google-flow/videos
296
+ // Docs: https://useapi.net/docs/api-google-flow-v1/post-google-flow-videos
297
+ videos: Object.assign(jsonBody("POST", GoogleFlowVideosRequestSchema, () => "/videos", "https://api.useapi.net/v1/google-flow/videos"), {
298
+ // POST https://api.useapi.net/v1/google-flow/videos/upscale
299
+ // Docs: https://useapi.net/docs/api-google-flow-v1/post-google-flow-videos-upscale
300
+ upscale: jsonBody("POST", GoogleFlowVideosUpscaleRequestSchema, () => "/videos/upscale", "https://api.useapi.net/v1/google-flow/videos/upscale"),
301
+ // POST https://api.useapi.net/v1/google-flow/videos/gif
302
+ // Docs: https://useapi.net/docs/api-google-flow-v1/post-google-flow-videos-gif
303
+ gif: jsonBody("POST", GoogleFlowVideosGifRequestSchema, () => "/videos/gif", "https://api.useapi.net/v1/google-flow/videos/gif"),
304
+ // POST https://api.useapi.net/v1/google-flow/videos/extend
305
+ // Docs: https://useapi.net/docs/api-google-flow-v1/post-google-flow-videos-extend
306
+ extend: jsonBody("POST", GoogleFlowVideosExtendRequestSchema, () => "/videos/extend", "https://api.useapi.net/v1/google-flow/videos/extend"),
307
+ // POST https://api.useapi.net/v1/google-flow/videos/concatenate
308
+ // Docs: https://useapi.net/docs/api-google-flow-v1/post-google-flow-videos-concatenate
309
+ concatenate: jsonBody("POST", GoogleFlowVideosConcatenateRequestSchema, () => "/videos/concatenate", "https://api.useapi.net/v1/google-flow/videos/concatenate"),
310
+ }),
311
+ },
312
+ };
313
+ const v1internal = {
314
+ // sig-ok: cloudcode-pa service host omitted from provider namespace
315
+ // POST https://cloudcode-pa.googleapis.com/v1internal:retrieveUserQuota
316
+ // Docs: https://cloud.google.com/gemini/docs/quotas
317
+ retrieveUserQuota: Object.assign(async (_req = {}, signal) => {
318
+ // The endpoint requires a strictly empty JSON body — sending any keys
319
+ // 400s — so the validated request is ignored and `{}` is always sent.
320
+ parseWithSchema(GoogleRetrieveUserQuotaRequestSchema, _req ?? {});
321
+ return makeCloudCodeRequest("/v1internal:retrieveUserQuota", {}, signal);
322
+ }, { schema: GoogleRetrieveUserQuotaRequestSchema }),
323
+ };
324
+ const getV1 = {
325
+ googleFlow: {
326
+ // GET https://api.useapi.net/v1/google-flow/accounts
327
+ // Docs: https://useapi.net/docs/api-google-flow-v1/get-google-flow-accounts
328
+ accounts: Object.assign(jsonGet(GoogleFlowNoRequestSchema, () => "/accounts", "https://api.useapi.net/v1/google-flow/accounts"), {
329
+ // GET https://api.useapi.net/v1/google-flow/accounts/{email}
330
+ // Docs: https://useapi.net/docs/api-google-flow-v1/get-google-flow-accounts-email
331
+ retrieve: jsonGet(GoogleFlowEmailRequestSchema, (req) => `/accounts/${encodeURIComponent(req.email)}`, "https://api.useapi.net/v1/google-flow/accounts/{email}"),
332
+ // GET https://api.useapi.net/v1/google-flow/accounts/captcha-providers
333
+ // Docs: https://useapi.net/docs/api-google-flow-v1/get-google-flow-accounts-captcha-providers
334
+ captchaProviders: jsonGet(GoogleFlowNoRequestSchema, () => "/accounts/captcha-providers", "https://api.useapi.net/v1/google-flow/accounts/captcha-providers"),
335
+ // GET https://api.useapi.net/v1/google-flow/accounts/captcha-stats{query}
336
+ // Docs: https://useapi.net/docs/api-google-flow-v1/get-google-flow-accounts-captcha-stats
337
+ captchaStats: jsonGet(GoogleFlowCaptchaStatsRequestSchema, (req) => `/accounts/captcha-stats${queryFromRequest(req)}`, "https://api.useapi.net/v1/google-flow/accounts/captcha-stats"),
338
+ }),
339
+ assets: {
340
+ // GET https://api.useapi.net/v1/google-flow/assets/{mediaGenerationId}
341
+ // Docs: https://useapi.net/docs/api-google-flow-v1/get-google-flow-assets-mediagenerationid
342
+ retrieve: jsonGet(GoogleFlowMediaGenerationIdRequestSchema, (req) => `/assets/${encodeURIComponent(req.mediaGenerationId)}`, "https://api.useapi.net/v1/google-flow/assets/{mediaGenerationId}"),
343
+ },
344
+ // GET https://api.useapi.net/v1/google-flow/characters{query}
345
+ // Docs: https://useapi.net/docs/api-google-flow-v1/get-google-flow-characters
346
+ characters: Object.assign(jsonGet(GoogleFlowCharactersListRequestSchema, (req) => `/characters${queryFromRequest(req)}`, "https://api.useapi.net/v1/google-flow/characters"), {
347
+ // GET https://api.useapi.net/v1/google-flow/characters/{ref}
348
+ // Docs: https://useapi.net/docs/api-google-flow-v1/get-google-flow-characters-ref
349
+ retrieve: jsonGet(GoogleFlowRefRequestSchema, (req) => `/characters/${encodeURIComponent(req.ref)}`, "https://api.useapi.net/v1/google-flow/characters/{ref}"),
350
+ }),
351
+ // GET https://api.useapi.net/v1/google-flow/voices{query}
352
+ // Docs: https://useapi.net/docs/api-google-flow-v1/get-google-flow-voices
353
+ voices: Object.assign(jsonGet(GoogleFlowVoicesListRequestSchema, (req) => `/voices${queryFromRequest(req)}`, "https://api.useapi.net/v1/google-flow/voices"), {
354
+ // GET https://api.useapi.net/v1/google-flow/voices/{ref}
355
+ // Docs: https://useapi.net/docs/api-google-flow-v1/get-google-flow-voices-ref
356
+ retrieve: jsonGet(GoogleFlowRefRequestSchema, (req) => `/voices/${encodeURIComponent(req.ref)}`, "https://api.useapi.net/v1/google-flow/voices/{ref}"),
357
+ }),
358
+ // GET https://api.useapi.net/v1/google-flow/jobs{query}
359
+ // Docs: https://useapi.net/docs/api-google-flow-v1/get-google-flow-jobs
360
+ jobs: Object.assign(jsonGet(GoogleFlowJobsRequestSchema, (req) => `/jobs${queryFromRequest(req)}`, "https://api.useapi.net/v1/google-flow/jobs"), {
361
+ // GET https://api.useapi.net/v1/google-flow/jobs/{jobId}
362
+ // Docs: https://useapi.net/docs/api-google-flow-v1/get-google-flow-jobs-jobid
363
+ retrieve: jsonGet(GoogleFlowJobIdRequestSchema, (req) => `/jobs/${encodeURIComponent(req.jobId)}`, "https://api.useapi.net/v1/google-flow/jobs/{jobId}"),
364
+ }),
365
+ },
366
+ };
367
+ const deleteV1 = {
368
+ googleFlow: {
369
+ // DELETE https://api.useapi.net/v1/google-flow/accounts/{email}
370
+ // Docs: https://useapi.net/docs/api-google-flow-v1/delete-google-flow-accounts-email
371
+ accounts: jsonBody("DELETE", GoogleFlowEmailRequestSchema, (req) => `/accounts/${encodeURIComponent(req.email)}`, "https://api.useapi.net/v1/google-flow/accounts/{email}", ["email"]),
372
+ // DELETE https://api.useapi.net/v1/google-flow/characters/{ref}
373
+ // Docs: https://useapi.net/docs/api-google-flow-v1/delete-google-flow-characters-ref
374
+ characters: jsonBody("DELETE", GoogleFlowRefRequestSchema, (req) => `/characters/${encodeURIComponent(req.ref)}`, "https://api.useapi.net/v1/google-flow/characters/{ref}", ["ref"]),
375
+ // DELETE https://api.useapi.net/v1/google-flow/voices/{ref}
376
+ // Docs: https://useapi.net/docs/api-google-flow-v1/delete-google-flow-voices-ref
377
+ voices: jsonBody("DELETE", GoogleFlowRefRequestSchema, (req) => `/voices/${encodeURIComponent(req.ref)}`, "https://api.useapi.net/v1/google-flow/voices/{ref}", ["ref"]),
378
+ },
87
379
  };
88
380
  return attachExamples({
89
381
  v1: postV1,
382
+ v1internal,
90
383
  post: {
91
384
  v1: postV1,
92
385
  },
386
+ get: {
387
+ v1: getV1,
388
+ },
389
+ delete: {
390
+ v1: deleteV1,
391
+ },
93
392
  });
94
393
  }
95
394
  //# sourceMappingURL=google.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"google.js","sourceRoot":"","sources":["../../src/google.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAStC,OAAO,EACL,8BAA8B,EAC9B,kCAAkC,GACnC,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAU3C,SAAS,iBAAiB,CAAC,KAAc;IACvC,OAAO,CACL,OAAO,KAAK,KAAK,QAAQ;QACzB,KAAK,KAAK,IAAI;QACd,OAAO,IAAI,KAAK;QAChB,OAAQ,KAA6B,CAAC,KAAK,KAAK,QAAQ,CACzD,CAAC;AACJ,CAAC;AAED,SAAS,kBAAkB,CACzB,MAAmB,EACnB,UAA2B;IAE3B,IAAI,MAAM,CAAC,OAAO,EAAE,CAAC;QACnB,UAAU,CAAC,KAAK,EAAE,CAAC;QACnB,OAAO;IACT,CAAC;IACD,MAAM,CAAC,gBAAgB,CAAC,OAAO,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC;AAC7E,CAAC;AAED,SAAS,kBAAkB,CAAC,MAAc,EAAE,IAAa;IACvD,IAAI,iBAAiB,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC;QACnD,OAAO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SAAS,kBAAkB,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,EACjD,oDAAoD,CACrD;aACF,CACF;SACF;KACF,CAAC;IAEF,MAAM,QAAQ,GAAG;QACf,UAAU,EAAE;YACV,gEAAgE;YAChE,qFAAqF;YACrF,QAAQ,EAAE,QAAQ,CAChB,QAAQ,EACR,4BAA4B,EAC5B,CAAC,GAAG,EAAE,EAAE,CAAC,aAAa,kBAAkB,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,EACrD,wDAAwD,EACxD,CAAC,OAAO,CAAC,CACV;YACD,gEAAgE;YAChE,qFAAqF;YACrF,UAAU,EAAE,QAAQ,CAClB,QAAQ,EACR,0BAA0B,EAC1B,CAAC,GAAG,EAAE,EAAE,CAAC,eAAe,kBAAkB,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,EACrD,wDAAwD,EACxD,CAAC,KAAK,CAAC,CACR;YACD,4DAA4D;YAC5D,iFAAiF;YACjF,MAAM,EAAE,QAAQ,CACd,QAAQ,EACR,0BAA0B,EAC1B,CAAC,GAAG,EAAE,EAAE,CAAC,WAAW,kBAAkB,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,EACjD,oDAAoD,EACpD,CAAC,KAAK,CAAC,CACR;SACF;KACF,CAAC;IAEF,OAAO,cAAc,CAAC;QACpB,EAAE,EAAE,MAAM;QACV,UAAU;QACV,IAAI,EAAE;YACJ,EAAE,EAAE,MAAM;SACX;QACD,GAAG,EAAE;YACH,EAAE,EAAE,KAAK;SACV;QACD,MAAM,EAAE;YACN,EAAE,EAAE,QAAQ;SACb;KACF,CAAC,CAAC;AACL,CAAC"}
@@ -1,6 +1,6 @@
1
1
  export { createGoogle } from "./google.js";
2
2
  export { GoogleError } from "./types.js";
3
- export type { GoogleProvider, GooglePostNamespace, GooglePostV1Namespace, GooglePostV1PublishersNamespace, GooglePostV1PublishersGoogleNamespace, GooglePostV1PublishersGoogleModelsNamespace, GoogleCountTokensMethod, GoogleCountTokensResponse, GoogleGenerateContentMethod, GoogleGenerateContentResponse, GoogleCandidate, GoogleModalityTokenCount, GooglePromptFeedback, GoogleUsageMetadata, } from "./types.js";
4
- export type { GoogleOptions, GoogleBlob, GoogleFileData, GoogleFunctionCall, GoogleFunctionResponse, GooglePart, GoogleContent, GoogleSafetySetting, GoogleGenerationConfig, GoogleFunctionDeclaration, GoogleTool, GoogleToolConfig, GoogleGenerateContentRequest, GoogleGenerateContentRequestInput, GoogleGenerateContentParsedRequest, GoogleCountTokensRequest, GoogleCountTokensRequestInput, GoogleCountTokensParsedRequest, } from "./zod.js";
5
- export { GoogleOptionsSchema, GoogleBlobSchema, GoogleFileDataSchema, GoogleFunctionCallSchema, GoogleFunctionResponseSchema, GooglePartSchema, GoogleContentSchema, GoogleSafetySettingSchema, GoogleGenerationConfigSchema, GoogleFunctionDeclarationSchema, GoogleToolSchema, GoogleToolConfigSchema, GoogleGenerateContentRequestSchema, GoogleCountTokensRequestSchema, } from "./zod.js";
3
+ export type { GoogleProvider, GooglePostNamespace, GooglePostV1Namespace, GooglePostV1PublishersNamespace, GooglePostV1PublishersGoogleNamespace, GooglePostV1PublishersGoogleModelsNamespace, GoogleCountTokensMethod, GoogleCountTokensResponse, GoogleDeleteNamespace, GoogleDeleteV1Namespace, GoogleFlowDeleteV1Namespace, GoogleFlowGetAccountsMethod, GoogleFlowGetAssetsNamespace, GoogleFlowGetCharactersMethod, GoogleFlowGetJobsMethod, GoogleFlowGetV1Namespace, GoogleFlowGetVoicesMethod, GoogleFlowMethod, GoogleFlowPostAccountsMethod, GoogleFlowPostImagesMethod, GoogleFlowPostV1Namespace, GoogleFlowPostVideosMethod, GoogleFlowResponse, GoogleGetNamespace, GoogleGetV1Namespace, GoogleGenerateContentMethod, GoogleGenerateContentResponse, GoogleCandidate, GoogleModalityTokenCount, GooglePromptFeedback, GoogleUsageMetadata, GoogleV1InternalNamespace, GoogleRetrieveUserQuotaMethod, GoogleRetrieveUserQuotaResponse, GoogleQuotaBucket, } from "./types.js";
4
+ export type { GoogleOptions, GoogleBlob, GoogleFileData, GoogleFunctionCall, GoogleFunctionResponse, GooglePart, GoogleContent, GoogleSafetySetting, GoogleGenerationConfig, GoogleFunctionDeclaration, GoogleTool, GoogleToolConfig, GoogleGenerateContentRequest, GoogleGenerateContentRequestInput, GoogleGenerateContentParsedRequest, GoogleCountTokensRequest, GoogleCountTokensRequestInput, GoogleCountTokensParsedRequest, GoogleFlowNoRequest, GoogleFlowEmailRequest, GoogleFlowMediaGenerationIdRequest, GoogleFlowRefRequest, GoogleFlowJobIdRequest, GoogleFlowAccountsCreateRequest, GoogleFlowCaptchaProvidersRequest, GoogleFlowCaptchaStatsRequest, GoogleFlowAssetUploadRequest, GoogleFlowCharactersCreateRequest, GoogleFlowCharactersListRequest, GoogleFlowVoicesCreateRequest, GoogleFlowVoicesListRequest, GoogleFlowImagesRequest, GoogleFlowImagesUpscaleRequest, GoogleFlowVideosRequest, GoogleFlowVideosUpscaleRequest, GoogleFlowVideosGifRequest, GoogleFlowVideosExtendRequest, GoogleFlowVideosConcatenateRequest, GoogleFlowJobsRequest, GoogleRetrieveUserQuotaRequest, } from "./zod.js";
5
+ export { GoogleOptionsSchema, GoogleRetrieveUserQuotaRequestSchema, GoogleBlobSchema, GoogleFileDataSchema, GoogleFunctionCallSchema, GoogleFunctionResponseSchema, GooglePartSchema, GoogleContentSchema, GoogleSafetySettingSchema, GoogleGenerationConfigSchema, GoogleFunctionDeclarationSchema, GoogleToolSchema, GoogleToolConfigSchema, GoogleGenerateContentRequestSchema, GoogleCountTokensRequestSchema, GoogleFlowNoRequestSchema, GoogleFlowEmailRequestSchema, GoogleFlowMediaGenerationIdRequestSchema, GoogleFlowRefRequestSchema, GoogleFlowJobIdRequestSchema, GoogleFlowAccountsCreateRequestSchema, GoogleFlowCaptchaProvidersRequestSchema, GoogleFlowCaptchaStatsRequestSchema, GoogleFlowAssetUploadRequestSchema, GoogleFlowCharactersCreateRequestSchema, GoogleFlowCharactersListRequestSchema, GoogleFlowVoicesCreateRequestSchema, GoogleFlowVoicesListRequestSchema, GoogleFlowImagesRequestSchema, GoogleFlowImagesUpscaleRequestSchema, GoogleFlowVideosRequestSchema, GoogleFlowVideosUpscaleRequestSchema, GoogleFlowVideosGifRequestSchema, GoogleFlowVideosExtendRequestSchema, GoogleFlowVideosConcatenateRequestSchema, GoogleFlowJobsRequestSchema, } from "./zod.js";
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC,YAAY,EACV,cAAc,EACd,mBAAmB,EACnB,qBAAqB,EACrB,+BAA+B,EAC/B,qCAAqC,EACrC,2CAA2C,EAC3C,uBAAuB,EACvB,yBAAyB,EACzB,2BAA2B,EAC3B,6BAA6B,EAC7B,eAAe,EACf,wBAAwB,EACxB,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,SAAS,CAAC;AAEjB,YAAY,EACV,aAAa,EACb,UAAU,EACV,cAAc,EACd,kBAAkB,EAClB,sBAAsB,EACtB,UAAU,EACV,aAAa,EACb,mBAAmB,EACnB,sBAAsB,EACtB,yBAAyB,EACzB,UAAU,EACV,gBAAgB,EAChB,4BAA4B,EAC5B,iCAAiC,EACjC,kCAAkC,EAClC,wBAAwB,EACxB,6BAA6B,EAC7B,8BAA8B,GAC/B,MAAM,OAAO,CAAC;AAEf,OAAO,EACL,mBAAmB,EACnB,gBAAgB,EAChB,oBAAoB,EACpB,wBAAwB,EACxB,4BAA4B,EAC5B,gBAAgB,EAChB,mBAAmB,EACnB,yBAAyB,EACzB,4BAA4B,EAC5B,+BAA+B,EAC/B,gBAAgB,EAChB,sBAAsB,EACtB,kCAAkC,EAClC,8BAA8B,GAC/B,MAAM,OAAO,CAAC"}
1
+ {"version":3,"file":"index.d.ts","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,kCAAkC,EAClC,qBAAqB,EACrB,8BAA8B,GAC/B,MAAM,OAAO,CAAC;AAEf,OAAO,EACL,mBAAmB,EACnB,oCAAoC,EACpC,gBAAgB,EAChB,oBAAoB,EACpB,wBAAwB,EACxB,4BAA4B,EAC5B,gBAAgB,EAChB,mBAAmB,EACnB,yBAAyB,EACzB,4BAA4B,EAC5B,+BAA+B,EAC/B,gBAAgB,EAChB,sBAAsB,EACtB,kCAAkC,EAClC,8BAA8B,EAC9B,yBAAyB,EACzB,4BAA4B,EAC5B,wCAAwC,EACxC,0BAA0B,EAC1B,4BAA4B,EAC5B,qCAAqC,EACrC,uCAAuC,EACvC,mCAAmC,EACnC,kCAAkC,EAClC,uCAAuC,EACvC,qCAAqC,EACrC,mCAAmC,EACnC,iCAAiC,EACjC,6BAA6B,EAC7B,oCAAoC,EACpC,6BAA6B,EAC7B,oCAAoC,EACpC,gCAAgC,EAChC,mCAAmC,EACnC,wCAAwC,EACxC,2BAA2B,GAC5B,MAAM,OAAO,CAAC"}
package/dist/src/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  export { createGoogle } from "./google.js";
2
2
  export { GoogleError } from "./types.js";
3
- export { GoogleOptionsSchema, GoogleBlobSchema, GoogleFileDataSchema, GoogleFunctionCallSchema, GoogleFunctionResponseSchema, GooglePartSchema, GoogleContentSchema, GoogleSafetySettingSchema, GoogleGenerationConfigSchema, GoogleFunctionDeclarationSchema, GoogleToolSchema, GoogleToolConfigSchema, GoogleGenerateContentRequestSchema, GoogleCountTokensRequestSchema, } from "./zod.js";
3
+ export { GoogleOptionsSchema, GoogleRetrieveUserQuotaRequestSchema, GoogleBlobSchema, GoogleFileDataSchema, GoogleFunctionCallSchema, GoogleFunctionResponseSchema, GooglePartSchema, GoogleContentSchema, GoogleSafetySettingSchema, GoogleGenerationConfigSchema, GoogleFunctionDeclarationSchema, GoogleToolSchema, GoogleToolConfigSchema, GoogleGenerateContentRequestSchema, GoogleCountTokensRequestSchema, GoogleFlowNoRequestSchema, GoogleFlowEmailRequestSchema, GoogleFlowMediaGenerationIdRequestSchema, GoogleFlowRefRequestSchema, GoogleFlowJobIdRequestSchema, GoogleFlowAccountsCreateRequestSchema, GoogleFlowCaptchaProvidersRequestSchema, GoogleFlowCaptchaStatsRequestSchema, GoogleFlowAssetUploadRequestSchema, GoogleFlowCharactersCreateRequestSchema, GoogleFlowCharactersListRequestSchema, GoogleFlowVoicesCreateRequestSchema, GoogleFlowVoicesListRequestSchema, GoogleFlowImagesRequestSchema, GoogleFlowImagesUpscaleRequestSchema, GoogleFlowVideosRequestSchema, GoogleFlowVideosUpscaleRequestSchema, GoogleFlowVideosGifRequestSchema, GoogleFlowVideosExtendRequestSchema, GoogleFlowVideosConcatenateRequestSchema, GoogleFlowJobsRequestSchema, } from "./zod.js";
4
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAwCtC,OAAO,EACL,mBAAmB,EACnB,gBAAgB,EAChB,oBAAoB,EACpB,wBAAwB,EACxB,4BAA4B,EAC5B,gBAAgB,EAChB,mBAAmB,EACnB,yBAAyB,EACzB,4BAA4B,EAC5B,+BAA+B,EAC/B,gBAAgB,EAChB,sBAAsB,EACtB,kCAAkC,EAClC,8BAA8B,GAC/B,MAAM,OAAO,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAmFtC,OAAO,EACL,mBAAmB,EACnB,oCAAoC,EACpC,gBAAgB,EAChB,oBAAoB,EACpB,wBAAwB,EACxB,4BAA4B,EAC5B,gBAAgB,EAChB,mBAAmB,EACnB,yBAAyB,EACzB,4BAA4B,EAC5B,+BAA+B,EAC/B,gBAAgB,EAChB,sBAAsB,EACtB,kCAAkC,EAClC,8BAA8B,EAC9B,yBAAyB,EACzB,4BAA4B,EAC5B,wCAAwC,EACxC,0BAA0B,EAC1B,4BAA4B,EAC5B,qCAAqC,EACrC,uCAAuC,EACvC,mCAAmC,EACnC,kCAAkC,EAClC,uCAAuC,EACvC,qCAAqC,EACrC,mCAAmC,EACnC,iCAAiC,EACjC,6BAA6B,EAC7B,oCAAoC,EACpC,6BAA6B,EAC7B,oCAAoC,EACpC,gCAAgC,EAChC,mCAAmC,EACnC,wCAAwC,EACxC,2BAA2B,GAC5B,MAAM,OAAO,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { z } from "zod";
2
- import type { GoogleCountTokensRequest, GoogleGenerateContentRequest } from "./zod.js";
3
- export type { GoogleOptions, GoogleBlob, GoogleFileData, GoogleFunctionCall, GoogleFunctionResponse, GooglePart, GoogleContent, GoogleSafetySetting, GoogleGenerationConfig, GoogleFunctionDeclaration, GoogleTool, GoogleToolConfig, GoogleGenerateContentRequest, GoogleGenerateContentRequestInput, GoogleGenerateContentParsedRequest, GoogleCountTokensRequest, GoogleCountTokensRequestInput, GoogleCountTokensParsedRequest, } from "./zod.js";
2
+ import type { GoogleCountTokensRequest, GoogleFlowAccountsCreateRequest, GoogleFlowAssetUploadRequest, GoogleFlowCaptchaProvidersRequest, GoogleFlowCaptchaStatsRequest, GoogleFlowCharactersCreateRequest, GoogleFlowCharactersListRequest, GoogleFlowEmailRequest, GoogleFlowImagesRequest, GoogleFlowImagesUpscaleRequest, GoogleFlowJobIdRequest, GoogleFlowJobsRequest, GoogleFlowMediaGenerationIdRequest, GoogleFlowNoRequest, GoogleFlowRefRequest, GoogleFlowVideosConcatenateRequest, GoogleFlowVideosExtendRequest, GoogleFlowVideosGifRequest, GoogleFlowVideosRequest, GoogleFlowVideosUpscaleRequest, GoogleFlowVoicesCreateRequest, GoogleFlowVoicesListRequest, GoogleGenerateContentRequest, GoogleRetrieveUserQuotaRequest } from "./zod.js";
3
+ export type { GoogleOptions, GoogleRetrieveUserQuotaRequest, GoogleBlob, GoogleFileData, GoogleFunctionCall, GoogleFunctionResponse, GooglePart, GoogleContent, GoogleSafetySetting, GoogleGenerationConfig, GoogleFunctionDeclaration, GoogleTool, GoogleToolConfig, GoogleGenerateContentRequest, GoogleGenerateContentRequestInput, GoogleGenerateContentParsedRequest, GoogleCountTokensRequest, GoogleCountTokensRequestInput, GoogleCountTokensParsedRequest, GoogleFlowNoRequest, GoogleFlowEmailRequest, GoogleFlowMediaGenerationIdRequest, GoogleFlowRefRequest, GoogleFlowJobIdRequest, GoogleFlowAccountsCreateRequest, GoogleFlowCaptchaProvidersRequest, GoogleFlowCaptchaStatsRequest, GoogleFlowAssetUploadRequest, GoogleFlowCharactersCreateRequest, GoogleFlowCharactersListRequest, GoogleFlowVoicesCreateRequest, GoogleFlowVoicesListRequest, GoogleFlowImagesRequest, GoogleFlowImagesUpscaleRequest, GoogleFlowVideosRequest, GoogleFlowVideosUpscaleRequest, GoogleFlowVideosGifRequest, GoogleFlowVideosExtendRequest, GoogleFlowVideosConcatenateRequest, GoogleFlowJobsRequest, } from "./zod.js";
4
4
  export declare class GoogleError extends Error {
5
5
  readonly status: number;
6
6
  readonly body: unknown;
@@ -49,6 +49,9 @@ export interface GoogleCountTokensResponse {
49
49
  promptTokensDetails?: GoogleModalityTokenCount[];
50
50
  [key: string]: unknown;
51
51
  }
52
+ export interface GoogleFlowResponse {
53
+ [key: string]: unknown;
54
+ }
52
55
  export interface GoogleGenerateContentMethod {
53
56
  (model: string, req: GoogleGenerateContentRequest, signal?: AbortSignal): Promise<GoogleGenerateContentResponse>;
54
57
  schema: z.ZodType<GoogleGenerateContentRequest>;
@@ -57,6 +60,59 @@ export interface GoogleCountTokensMethod {
57
60
  (model: string, req: GoogleCountTokensRequest, signal?: AbortSignal): Promise<GoogleCountTokensResponse>;
58
61
  schema: z.ZodType<GoogleCountTokensRequest>;
59
62
  }
63
+ export interface GoogleFlowMethod<TRequest extends Record<string, unknown>> {
64
+ (req: TRequest, signal?: AbortSignal): Promise<GoogleFlowResponse>;
65
+ schema: z.ZodType<TRequest>;
66
+ }
67
+ export interface GoogleFlowPostAccountsMethod extends GoogleFlowMethod<GoogleFlowAccountsCreateRequest> {
68
+ captchaProviders: GoogleFlowMethod<GoogleFlowCaptchaProvidersRequest>;
69
+ }
70
+ export interface GoogleFlowPostImagesMethod extends GoogleFlowMethod<GoogleFlowImagesRequest> {
71
+ upscale: GoogleFlowMethod<GoogleFlowImagesUpscaleRequest>;
72
+ }
73
+ export interface GoogleFlowPostVideosMethod extends GoogleFlowMethod<GoogleFlowVideosRequest> {
74
+ upscale: GoogleFlowMethod<GoogleFlowVideosUpscaleRequest>;
75
+ gif: GoogleFlowMethod<GoogleFlowVideosGifRequest>;
76
+ extend: GoogleFlowMethod<GoogleFlowVideosExtendRequest>;
77
+ concatenate: GoogleFlowMethod<GoogleFlowVideosConcatenateRequest>;
78
+ }
79
+ export interface GoogleFlowPostV1Namespace {
80
+ accounts: GoogleFlowPostAccountsMethod;
81
+ assets: GoogleFlowMethod<GoogleFlowAssetUploadRequest>;
82
+ characters: GoogleFlowMethod<GoogleFlowCharactersCreateRequest>;
83
+ voices: GoogleFlowMethod<GoogleFlowVoicesCreateRequest>;
84
+ images: GoogleFlowPostImagesMethod;
85
+ videos: GoogleFlowPostVideosMethod;
86
+ }
87
+ export interface GoogleFlowGetAccountsMethod extends GoogleFlowMethod<GoogleFlowNoRequest> {
88
+ retrieve: GoogleFlowMethod<GoogleFlowEmailRequest>;
89
+ captchaProviders: GoogleFlowMethod<GoogleFlowNoRequest>;
90
+ captchaStats: GoogleFlowMethod<GoogleFlowCaptchaStatsRequest>;
91
+ }
92
+ export interface GoogleFlowGetAssetsNamespace {
93
+ retrieve: GoogleFlowMethod<GoogleFlowMediaGenerationIdRequest>;
94
+ }
95
+ export interface GoogleFlowGetCharactersMethod extends GoogleFlowMethod<GoogleFlowCharactersListRequest> {
96
+ retrieve: GoogleFlowMethod<GoogleFlowRefRequest>;
97
+ }
98
+ export interface GoogleFlowGetVoicesMethod extends GoogleFlowMethod<GoogleFlowVoicesListRequest> {
99
+ retrieve: GoogleFlowMethod<GoogleFlowRefRequest>;
100
+ }
101
+ export interface GoogleFlowGetJobsMethod extends GoogleFlowMethod<GoogleFlowJobsRequest> {
102
+ retrieve: GoogleFlowMethod<GoogleFlowJobIdRequest>;
103
+ }
104
+ export interface GoogleFlowGetV1Namespace {
105
+ accounts: GoogleFlowGetAccountsMethod;
106
+ assets: GoogleFlowGetAssetsNamespace;
107
+ characters: GoogleFlowGetCharactersMethod;
108
+ voices: GoogleFlowGetVoicesMethod;
109
+ jobs: GoogleFlowGetJobsMethod;
110
+ }
111
+ export interface GoogleFlowDeleteV1Namespace {
112
+ accounts: GoogleFlowMethod<GoogleFlowEmailRequest>;
113
+ characters: GoogleFlowMethod<GoogleFlowRefRequest>;
114
+ voices: GoogleFlowMethod<GoogleFlowRefRequest>;
115
+ }
60
116
  export interface GooglePostV1PublishersGoogleModelsNamespace {
61
117
  countTokens: GoogleCountTokensMethod;
62
118
  generateContent: GoogleGenerateContentMethod;
@@ -69,12 +125,46 @@ export interface GooglePostV1PublishersNamespace {
69
125
  }
70
126
  export interface GooglePostV1Namespace {
71
127
  publishers: GooglePostV1PublishersNamespace;
128
+ googleFlow: GoogleFlowPostV1Namespace;
72
129
  }
73
130
  export interface GooglePostNamespace {
74
131
  v1: GooglePostV1Namespace;
75
132
  }
133
+ export interface GoogleGetV1Namespace {
134
+ googleFlow: GoogleFlowGetV1Namespace;
135
+ }
136
+ export interface GoogleGetNamespace {
137
+ v1: GoogleGetV1Namespace;
138
+ }
139
+ export interface GoogleDeleteV1Namespace {
140
+ googleFlow: GoogleFlowDeleteV1Namespace;
141
+ }
142
+ export interface GoogleDeleteNamespace {
143
+ v1: GoogleDeleteV1Namespace;
144
+ }
145
+ export interface GoogleQuotaBucket {
146
+ tokenType?: string;
147
+ modelId?: string;
148
+ remainingFraction?: number;
149
+ resetTime?: string;
150
+ [key: string]: unknown;
151
+ }
152
+ export interface GoogleRetrieveUserQuotaResponse {
153
+ buckets?: GoogleQuotaBucket[];
154
+ [key: string]: unknown;
155
+ }
156
+ export interface GoogleRetrieveUserQuotaMethod {
157
+ (req?: GoogleRetrieveUserQuotaRequest, signal?: AbortSignal): Promise<GoogleRetrieveUserQuotaResponse>;
158
+ schema: z.ZodType<GoogleRetrieveUserQuotaRequest>;
159
+ }
160
+ export interface GoogleV1InternalNamespace {
161
+ retrieveUserQuota: GoogleRetrieveUserQuotaMethod;
162
+ }
76
163
  export interface GoogleProvider {
77
164
  v1: GooglePostV1Namespace;
165
+ v1internal: GoogleV1InternalNamespace;
78
166
  post: GooglePostNamespace;
167
+ get: GoogleGetNamespace;
168
+ delete: GoogleDeleteNamespace;
79
169
  }
80
170
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,KAAK,EACV,wBAAwB,EACxB,4BAA4B,EAC7B,MAAM,OAAO,CAAC;AAEf,YAAY,EACV,aAAa,EACb,UAAU,EACV,cAAc,EACd,kBAAkB,EAClB,sBAAsB,EACtB,UAAU,EACV,aAAa,EACb,mBAAmB,EACnB,sBAAsB,EACtB,yBAAyB,EACzB,UAAU,EACV,gBAAgB,EAChB,4BAA4B,EAC5B,iCAAiC,EACjC,kCAAkC,EAClC,wBAAwB,EACxB,6BAA6B,EAC7B,8BAA8B,GAC/B,MAAM,OAAO,CAAC;AAEf,qBAAa,WAAY,SAAQ,KAAK;IACpC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,IAAI,CAAC,EA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;IACf,IAAI,CAAU;IACd,IAAI,CAAU;IAEvB,YAAY,OAAe,EAAE,MAAc,EAAE,IAAc,EAAE,IAAa;QACxE,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,aAAa,CAAC;QAC1B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,IAAI,GAAG,IAAI,IAAI,IAAI,CAAC;QACzB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;CACF"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAuEA,MAAM,OAAO,WAAY,SAAQ,KAAK;IAC3B,MAAM,CAAS;IACf,IAAI,CAAU;IACd,IAAI,CAAU;IAEvB,YAAY,OAAe,EAAE,MAAc,EAAE,IAAc,EAAE,IAAa;QACxE,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,aAAa,CAAC;QAC1B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,IAAI,GAAG,IAAI,IAAI,IAAI,CAAC;QACzB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;CACF"}