@apicity/google 0.6.0 → 0.6.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/README.md +394 -2
- package/dist/src/example.d.ts.map +1 -1
- package/dist/src/example.js +112 -0
- package/dist/src/example.js.map +1 -1
- package/dist/src/google.d.ts.map +1 -1
- package/dist/src/google.js +246 -6
- package/dist/src/google.js.map +1 -1
- package/dist/src/index.d.ts +3 -3
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +1 -1
- package/dist/src/index.js.map +1 -1
- package/dist/src/types.d.ts +73 -2
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.js.map +1 -1
- package/dist/src/zod.d.ts +264 -3559
- package/dist/src/zod.d.ts.map +1 -1
- package/dist/src/zod.js +163 -0
- package/dist/src/zod.js.map +1 -1
- package/package.json +2 -2
package/dist/src/google.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { GoogleError } from "./types.js";
|
|
2
|
-
import { GoogleCountTokensRequestSchema, GoogleGenerateContentRequestSchema, } from "./zod.js";
|
|
2
|
+
import { GoogleCountTokensRequestSchema, 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,14 +15,66 @@ 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)
|
|
19
|
-
|
|
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;
|
|
26
78
|
const doFetch = opts.fetch ?? fetch;
|
|
27
79
|
const timeout = opts.timeout ?? 30000;
|
|
28
80
|
async function makeRequest(path, body, signal) {
|
|
@@ -50,7 +102,12 @@ export function createGoogle(opts) {
|
|
|
50
102
|
catch {
|
|
51
103
|
// ignore parse errors
|
|
52
104
|
}
|
|
53
|
-
|
|
105
|
+
const code = isGoogleErrorBody(resBody) &&
|
|
106
|
+
typeof resBody.error === "object" &&
|
|
107
|
+
resBody.error !== null
|
|
108
|
+
? resBody.error.status
|
|
109
|
+
: undefined;
|
|
110
|
+
throw new GoogleError(formatErrorMessage(res.status, resBody), res.status, resBody, code);
|
|
54
111
|
}
|
|
55
112
|
return (await res.json());
|
|
56
113
|
}
|
|
@@ -61,6 +118,76 @@ export function createGoogle(opts) {
|
|
|
61
118
|
throw new GoogleError(`Google request failed: ${error}`, 500);
|
|
62
119
|
}
|
|
63
120
|
}
|
|
121
|
+
async function makeFlowRequest(method, path, body, signal, options) {
|
|
122
|
+
const controller = new AbortController();
|
|
123
|
+
const timeoutId = setTimeout(() => controller.abort(), timeout);
|
|
124
|
+
if (signal) {
|
|
125
|
+
attachAbortHandler(signal, controller);
|
|
126
|
+
}
|
|
127
|
+
try {
|
|
128
|
+
const headers = {
|
|
129
|
+
Authorization: `Bearer ${flowApiKey}`,
|
|
130
|
+
};
|
|
131
|
+
const requestPath = options?.pathOverride ?? path;
|
|
132
|
+
const requestBody = body === undefined
|
|
133
|
+
? undefined
|
|
134
|
+
: typeof body === "string" ||
|
|
135
|
+
(typeof FormData !== "undefined" && body instanceof FormData)
|
|
136
|
+
? body
|
|
137
|
+
: (typeof Blob !== "undefined" && body instanceof Blob) ||
|
|
138
|
+
body instanceof ArrayBuffer ||
|
|
139
|
+
ArrayBuffer.isView(body)
|
|
140
|
+
? body
|
|
141
|
+
: JSON.stringify(body);
|
|
142
|
+
if (body !== undefined) {
|
|
143
|
+
headers["Content-Type"] = options?.contentType ?? "application/json";
|
|
144
|
+
}
|
|
145
|
+
void options?.baseOverride;
|
|
146
|
+
const requestBaseURL = normalizedFlowBaseURL.replace(/\/+$/, "");
|
|
147
|
+
const res = await doFetch(`${requestBaseURL}${requestPath}`, {
|
|
148
|
+
method,
|
|
149
|
+
headers,
|
|
150
|
+
body: requestBody,
|
|
151
|
+
signal: controller.signal,
|
|
152
|
+
});
|
|
153
|
+
clearTimeout(timeoutId);
|
|
154
|
+
if (!res.ok) {
|
|
155
|
+
let resBody = null;
|
|
156
|
+
try {
|
|
157
|
+
resBody = await res.json();
|
|
158
|
+
}
|
|
159
|
+
catch {
|
|
160
|
+
// ignore parse errors
|
|
161
|
+
}
|
|
162
|
+
const code = isGoogleErrorBody(resBody) &&
|
|
163
|
+
typeof resBody.error === "object" &&
|
|
164
|
+
resBody.error !== null
|
|
165
|
+
? resBody.error.status
|
|
166
|
+
: undefined;
|
|
167
|
+
throw new GoogleError(formatErrorMessage(res.status, resBody), res.status, resBody, code);
|
|
168
|
+
}
|
|
169
|
+
return (await res.json());
|
|
170
|
+
}
|
|
171
|
+
catch (error) {
|
|
172
|
+
clearTimeout(timeoutId);
|
|
173
|
+
if (error instanceof GoogleError)
|
|
174
|
+
throw error;
|
|
175
|
+
throw new GoogleError(`Google Flow request failed: ${error}`, 500);
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
function jsonGet(schema, path, endpoint) {
|
|
179
|
+
return Object.assign(async (req = {}, signal) => {
|
|
180
|
+
void endpoint;
|
|
181
|
+
const parsed = parseWithSchema(schema, req ?? {});
|
|
182
|
+
return makeFlowRequest("GET", path(parsed), undefined, signal, { baseOverride: GOOGLE_FLOW_API_URL });
|
|
183
|
+
}, { schema });
|
|
184
|
+
}
|
|
185
|
+
function jsonBody(method, schema, path, endpoint, omitKeys = []) {
|
|
186
|
+
return Object.assign(async (req, signal) => {
|
|
187
|
+
const parsed = parseWithSchema(schema, req ?? {});
|
|
188
|
+
return makeFlowRequest(method, path(parsed), bodyFromRequest(parsed, omitKeys), signal, { baseOverride: GOOGLE_FLOW_API_URL });
|
|
189
|
+
}, { schema });
|
|
190
|
+
}
|
|
64
191
|
const postV1 = {
|
|
65
192
|
publishers: {
|
|
66
193
|
google: {
|
|
@@ -84,12 +211,125 @@ export function createGoogle(opts) {
|
|
|
84
211
|
},
|
|
85
212
|
},
|
|
86
213
|
},
|
|
214
|
+
googleFlow: {
|
|
215
|
+
// POST https://api.useapi.net/v1/google-flow/accounts
|
|
216
|
+
// Docs: https://useapi.net/docs/api-google-flow-v1/post-google-flow-accounts
|
|
217
|
+
accounts: Object.assign(jsonBody("POST", GoogleFlowAccountsCreateRequestSchema, () => "/accounts", "https://api.useapi.net/v1/google-flow/accounts"), {
|
|
218
|
+
// POST https://api.useapi.net/v1/google-flow/accounts/captcha-providers
|
|
219
|
+
// Docs: https://useapi.net/docs/api-google-flow-v1/post-google-flow-accounts-captcha-providers
|
|
220
|
+
captchaProviders: jsonBody("POST", GoogleFlowCaptchaProvidersRequestSchema, () => "/accounts/captcha-providers", "https://api.useapi.net/v1/google-flow/accounts/captcha-providers"),
|
|
221
|
+
}),
|
|
222
|
+
// POST https://api.useapi.net/v1/google-flow/assets
|
|
223
|
+
// Docs: https://useapi.net/docs/api-google-flow-v1/post-google-flow-assets-email
|
|
224
|
+
assets: Object.assign(async (req, signal) => {
|
|
225
|
+
const parsed = parseWithSchema(GoogleFlowAssetUploadRequestSchema, req);
|
|
226
|
+
const path = parsed.email
|
|
227
|
+
? `/assets/${encodeURIComponent(parsed.email)}`
|
|
228
|
+
: "/assets";
|
|
229
|
+
return makeFlowRequest("POST", "/assets", parsed.body, signal, {
|
|
230
|
+
baseOverride: "https://api.useapi.net/v1/google-flow",
|
|
231
|
+
contentType: parsed.contentType,
|
|
232
|
+
pathOverride: path,
|
|
233
|
+
});
|
|
234
|
+
}, { schema: GoogleFlowAssetUploadRequestSchema }),
|
|
235
|
+
// POST https://api.useapi.net/v1/google-flow/characters
|
|
236
|
+
// Docs: https://useapi.net/docs/api-google-flow-v1/post-google-flow-characters
|
|
237
|
+
characters: jsonBody("POST", GoogleFlowCharactersCreateRequestSchema, () => "/characters", "https://api.useapi.net/v1/google-flow/characters"),
|
|
238
|
+
// POST https://api.useapi.net/v1/google-flow/voices
|
|
239
|
+
// Docs: https://useapi.net/docs/api-google-flow-v1/post-google-flow-voices
|
|
240
|
+
voices: jsonBody("POST", GoogleFlowVoicesCreateRequestSchema, () => "/voices", "https://api.useapi.net/v1/google-flow/voices"),
|
|
241
|
+
// POST https://api.useapi.net/v1/google-flow/images
|
|
242
|
+
// Docs: https://useapi.net/docs/api-google-flow-v1/post-google-flow-images
|
|
243
|
+
images: Object.assign(jsonBody("POST", GoogleFlowImagesRequestSchema, () => "/images", "https://api.useapi.net/v1/google-flow/images"), {
|
|
244
|
+
// POST https://api.useapi.net/v1/google-flow/images/upscale
|
|
245
|
+
// Docs: https://useapi.net/docs/api-google-flow-v1/post-google-flow-images-upscale
|
|
246
|
+
upscale: jsonBody("POST", GoogleFlowImagesUpscaleRequestSchema, () => "/images/upscale", "https://api.useapi.net/v1/google-flow/images/upscale"),
|
|
247
|
+
}),
|
|
248
|
+
// POST https://api.useapi.net/v1/google-flow/videos
|
|
249
|
+
// Docs: https://useapi.net/docs/api-google-flow-v1/post-google-flow-videos
|
|
250
|
+
videos: Object.assign(jsonBody("POST", GoogleFlowVideosRequestSchema, () => "/videos", "https://api.useapi.net/v1/google-flow/videos"), {
|
|
251
|
+
// POST https://api.useapi.net/v1/google-flow/videos/upscale
|
|
252
|
+
// Docs: https://useapi.net/docs/api-google-flow-v1/post-google-flow-videos-upscale
|
|
253
|
+
upscale: jsonBody("POST", GoogleFlowVideosUpscaleRequestSchema, () => "/videos/upscale", "https://api.useapi.net/v1/google-flow/videos/upscale"),
|
|
254
|
+
// POST https://api.useapi.net/v1/google-flow/videos/gif
|
|
255
|
+
// Docs: https://useapi.net/docs/api-google-flow-v1/post-google-flow-videos-gif
|
|
256
|
+
gif: jsonBody("POST", GoogleFlowVideosGifRequestSchema, () => "/videos/gif", "https://api.useapi.net/v1/google-flow/videos/gif"),
|
|
257
|
+
// POST https://api.useapi.net/v1/google-flow/videos/extend
|
|
258
|
+
// Docs: https://useapi.net/docs/api-google-flow-v1/post-google-flow-videos-extend
|
|
259
|
+
extend: jsonBody("POST", GoogleFlowVideosExtendRequestSchema, () => "/videos/extend", "https://api.useapi.net/v1/google-flow/videos/extend"),
|
|
260
|
+
// POST https://api.useapi.net/v1/google-flow/videos/concatenate
|
|
261
|
+
// Docs: https://useapi.net/docs/api-google-flow-v1/post-google-flow-videos-concatenate
|
|
262
|
+
concatenate: jsonBody("POST", GoogleFlowVideosConcatenateRequestSchema, () => "/videos/concatenate", "https://api.useapi.net/v1/google-flow/videos/concatenate"),
|
|
263
|
+
}),
|
|
264
|
+
},
|
|
265
|
+
};
|
|
266
|
+
const getV1 = {
|
|
267
|
+
googleFlow: {
|
|
268
|
+
// GET https://api.useapi.net/v1/google-flow/accounts
|
|
269
|
+
// Docs: https://useapi.net/docs/api-google-flow-v1/get-google-flow-accounts
|
|
270
|
+
accounts: Object.assign(jsonGet(GoogleFlowNoRequestSchema, () => "/accounts", "https://api.useapi.net/v1/google-flow/accounts"), {
|
|
271
|
+
// GET https://api.useapi.net/v1/google-flow/accounts/{email}
|
|
272
|
+
// Docs: https://useapi.net/docs/api-google-flow-v1/get-google-flow-accounts-email
|
|
273
|
+
retrieve: jsonGet(GoogleFlowEmailRequestSchema, (req) => `/accounts/${encodeURIComponent(req.email)}`, "https://api.useapi.net/v1/google-flow/accounts/{email}"),
|
|
274
|
+
// GET https://api.useapi.net/v1/google-flow/accounts/captcha-providers
|
|
275
|
+
// Docs: https://useapi.net/docs/api-google-flow-v1/get-google-flow-accounts-captcha-providers
|
|
276
|
+
captchaProviders: jsonGet(GoogleFlowNoRequestSchema, () => "/accounts/captcha-providers", "https://api.useapi.net/v1/google-flow/accounts/captcha-providers"),
|
|
277
|
+
// GET https://api.useapi.net/v1/google-flow/accounts/captcha-stats{query}
|
|
278
|
+
// Docs: https://useapi.net/docs/api-google-flow-v1/get-google-flow-accounts-captcha-stats
|
|
279
|
+
captchaStats: jsonGet(GoogleFlowCaptchaStatsRequestSchema, (req) => `/accounts/captcha-stats${queryFromRequest(req)}`, "https://api.useapi.net/v1/google-flow/accounts/captcha-stats"),
|
|
280
|
+
}),
|
|
281
|
+
assets: {
|
|
282
|
+
// GET https://api.useapi.net/v1/google-flow/assets/{mediaGenerationId}
|
|
283
|
+
// Docs: https://useapi.net/docs/api-google-flow-v1/get-google-flow-assets-mediagenerationid
|
|
284
|
+
retrieve: jsonGet(GoogleFlowMediaGenerationIdRequestSchema, (req) => `/assets/${encodeURIComponent(req.mediaGenerationId)}`, "https://api.useapi.net/v1/google-flow/assets/{mediaGenerationId}"),
|
|
285
|
+
},
|
|
286
|
+
// GET https://api.useapi.net/v1/google-flow/characters{query}
|
|
287
|
+
// Docs: https://useapi.net/docs/api-google-flow-v1/get-google-flow-characters
|
|
288
|
+
characters: Object.assign(jsonGet(GoogleFlowCharactersListRequestSchema, (req) => `/characters${queryFromRequest(req)}`, "https://api.useapi.net/v1/google-flow/characters"), {
|
|
289
|
+
// GET https://api.useapi.net/v1/google-flow/characters/{ref}
|
|
290
|
+
// Docs: https://useapi.net/docs/api-google-flow-v1/get-google-flow-characters-ref
|
|
291
|
+
retrieve: jsonGet(GoogleFlowRefRequestSchema, (req) => `/characters/${encodeURIComponent(req.ref)}`, "https://api.useapi.net/v1/google-flow/characters/{ref}"),
|
|
292
|
+
}),
|
|
293
|
+
// GET https://api.useapi.net/v1/google-flow/voices{query}
|
|
294
|
+
// Docs: https://useapi.net/docs/api-google-flow-v1/get-google-flow-voices
|
|
295
|
+
voices: Object.assign(jsonGet(GoogleFlowVoicesListRequestSchema, (req) => `/voices${queryFromRequest(req)}`, "https://api.useapi.net/v1/google-flow/voices"), {
|
|
296
|
+
// GET https://api.useapi.net/v1/google-flow/voices/{ref}
|
|
297
|
+
// Docs: https://useapi.net/docs/api-google-flow-v1/get-google-flow-voices-ref
|
|
298
|
+
retrieve: jsonGet(GoogleFlowRefRequestSchema, (req) => `/voices/${encodeURIComponent(req.ref)}`, "https://api.useapi.net/v1/google-flow/voices/{ref}"),
|
|
299
|
+
}),
|
|
300
|
+
// GET https://api.useapi.net/v1/google-flow/jobs{query}
|
|
301
|
+
// Docs: https://useapi.net/docs/api-google-flow-v1/get-google-flow-jobs
|
|
302
|
+
jobs: Object.assign(jsonGet(GoogleFlowJobsRequestSchema, (req) => `/jobs${queryFromRequest(req)}`, "https://api.useapi.net/v1/google-flow/jobs"), {
|
|
303
|
+
// GET https://api.useapi.net/v1/google-flow/jobs/{jobId}
|
|
304
|
+
// Docs: https://useapi.net/docs/api-google-flow-v1/get-google-flow-jobs-jobid
|
|
305
|
+
retrieve: jsonGet(GoogleFlowJobIdRequestSchema, (req) => `/jobs/${encodeURIComponent(req.jobId)}`, "https://api.useapi.net/v1/google-flow/jobs/{jobId}"),
|
|
306
|
+
}),
|
|
307
|
+
},
|
|
308
|
+
};
|
|
309
|
+
const deleteV1 = {
|
|
310
|
+
googleFlow: {
|
|
311
|
+
// DELETE https://api.useapi.net/v1/google-flow/accounts/{email}
|
|
312
|
+
// Docs: https://useapi.net/docs/api-google-flow-v1/delete-google-flow-accounts-email
|
|
313
|
+
accounts: jsonBody("DELETE", GoogleFlowEmailRequestSchema, (req) => `/accounts/${encodeURIComponent(req.email)}`, "https://api.useapi.net/v1/google-flow/accounts/{email}", ["email"]),
|
|
314
|
+
// DELETE https://api.useapi.net/v1/google-flow/characters/{ref}
|
|
315
|
+
// Docs: https://useapi.net/docs/api-google-flow-v1/delete-google-flow-characters-ref
|
|
316
|
+
characters: jsonBody("DELETE", GoogleFlowRefRequestSchema, (req) => `/characters/${encodeURIComponent(req.ref)}`, "https://api.useapi.net/v1/google-flow/characters/{ref}", ["ref"]),
|
|
317
|
+
// DELETE https://api.useapi.net/v1/google-flow/voices/{ref}
|
|
318
|
+
// Docs: https://useapi.net/docs/api-google-flow-v1/delete-google-flow-voices-ref
|
|
319
|
+
voices: jsonBody("DELETE", GoogleFlowRefRequestSchema, (req) => `/voices/${encodeURIComponent(req.ref)}`, "https://api.useapi.net/v1/google-flow/voices/{ref}", ["ref"]),
|
|
320
|
+
},
|
|
87
321
|
};
|
|
88
322
|
return attachExamples({
|
|
89
323
|
v1: postV1,
|
|
90
324
|
post: {
|
|
91
325
|
v1: postV1,
|
|
92
326
|
},
|
|
327
|
+
get: {
|
|
328
|
+
v1: getV1,
|
|
329
|
+
},
|
|
330
|
+
delete: {
|
|
331
|
+
v1: deleteV1,
|
|
332
|
+
},
|
|
93
333
|
});
|
|
94
334
|
}
|
|
95
335
|
//# sourceMappingURL=google.js.map
|
package/dist/src/google.js.map
CHANGED
|
@@ -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,oBAAoB,MAAM,KAAK,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;IAC7D,CAAC;IACD,OAAO,qBAAqB,MAAM,EAAE,CAAC;AACvC,CAAC;AAED,MAAM,UAAU,YAAY,CAAC,IAAmB;IAC9C,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,IAAI,sCAAsC,CAA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f,4BAA4B,EAC5B,CAAC,GAAG,EAAE,EAAE,CAAC,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,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"}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -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, GoogleGenerateContentParsedRequest, GoogleCountTokensRequest, 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, } 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, } from "./zod.js";
|
|
5
|
+
export { GoogleOptionsSchema, 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
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -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,kCAAkC,EAClC,wBAAwB,EACxB,8BAA8B,
|
|
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,qBAAqB,E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,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, 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
|
package/dist/src/index.js.map
CHANGED
|
@@ -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;
|
|
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;AA8EtC,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,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/types.d.ts
CHANGED
|
@@ -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, GoogleGenerateContentParsedRequest, GoogleCountTokensRequest, 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 } from "./zod.js";
|
|
3
|
+
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, } 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,27 @@ 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
|
+
}
|
|
76
145
|
export interface GoogleProvider {
|
|
77
146
|
v1: GooglePostV1Namespace;
|
|
78
147
|
post: GooglePostNamespace;
|
|
148
|
+
get: GoogleGetNamespace;
|
|
149
|
+
delete: GoogleDeleteNamespace;
|
|
79
150
|
}
|
|
80
151
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/src/types.d.ts.map
CHANGED
|
@@ -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,kCAAkC,EAClC,wBAAwB,EACxB,8BAA8B,
|
|
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,+BAA+B,EAC/B,4BAA4B,EAC5B,iCAAiC,EACjC,6BAA6B,EAC7B,iCAAiC,EACjC,+BAA+B,EAC/B,sBAAsB,EACtB,uBAAuB,EACvB,8BAA8B,EAC9B,sBAAsB,EACtB,qBAAqB,EACrB,kCAAkC,EAClC,mBAAmB,EACnB,oBAAoB,EACpB,kCAAkC,EAClC,6BAA6B,EAC7B,0BAA0B,EAC1B,uBAAuB,EACvB,8BAA8B,EAC9B,6BAA6B,EAC7B,2BAA2B,EAC3B,4BAA4B,EAC7B,MAAM,OAAO,C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AM,WAAW,2BAA2B;IAC1C,QAAQ,EAAE,gBAAgB,CAAC,sBAAsB,CAAC,CAAC;IACnD,UAAU,EAAE,gBAAgB,CAAC,oBAAoB,CAAC,CAAC;IACnD,MAAM,EAAE,gBAAgB,CAAC,oBAAoB,CAAC,CAAC;CAChD;AAED,MAAM,WAAW,2CAA2C;IAC1D,WAAW,EAAE,uBAAuB,CAAC;IACrC,eAAe,EAAE,2BAA2B,CAAC;CAC9C;AAED,MAAM,WAAW,qCAAqC;IACpD,MAAM,EAAE,2CAA2C,CAAC;CACrD;AAED,MAAM,WAAW,+BAA+B;IAC9C,MAAM,EAAE,qCAAqC,CAAC;CAC/C;AAED,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,+BAA+B,CAAC;IAC5C,UAAU,EAAE,yBAAyB,CAAC;CACvC;AAED,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,qBAAqB,CAAC;CAC3B;AAED,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,wBAAwB,CAAC;CACtC;AAED,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,oBAAoB,CAAC;CAC1B;AAED,MAAM,WAAW,uBAAuB;IACtC,UAAU,EAAE,2BAA2B,CAAC;CACzC;AAED,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,uBAAuB,CAAC;CAC7B;AAED,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,qBAAqB,CAAC;IAC1B,IAAI,EAAE,mBAAmB,CAAC;IAC1B,GAAG,EAAE,kBAAkB,CAAC;IACxB,MAAM,EAAE,qBAAqB,CAAC;CAC/B"}
|
package/dist/src/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAqEA,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"}
|