@wiro-ai/wiro-mcp 1.4.0 → 1.5.0
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 +50 -17
- package/dist/client.d.ts +25 -6
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +129 -29
- package/dist/client.js.map +1 -1
- package/dist/instructions.d.ts.map +1 -1
- package/dist/instructions.js +24 -17
- package/dist/instructions.js.map +1 -1
- package/dist/playbooks.d.ts.map +1 -1
- package/dist/playbooks.js +61 -48
- package/dist/playbooks.js.map +1 -1
- package/dist/prompts.d.ts.map +1 -1
- package/dist/prompts.js +4 -3
- package/dist/prompts.js.map +1 -1
- package/dist/server.d.ts +6 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +3 -4
- package/dist/server.js.map +1 -1
- package/dist/tools/apply-agent-skills.d.ts.map +1 -1
- package/dist/tools/apply-agent-skills.js +400 -88
- package/dist/tools/apply-agent-skills.js.map +1 -1
- package/dist/tools/bind-agent-project.d.ts +4 -0
- package/dist/tools/bind-agent-project.d.ts.map +1 -0
- package/dist/tools/bind-agent-project.js +403 -0
- package/dist/tools/bind-agent-project.js.map +1 -0
- package/dist/tools/cancel-agent-message.d.ts.map +1 -1
- package/dist/tools/cancel-agent-message.js +6 -3
- package/dist/tools/cancel-agent-message.js.map +1 -1
- package/dist/tools/cancel-task.js +3 -3
- package/dist/tools/cancel-task.js.map +1 -1
- package/dist/tools/clone-workflow.d.ts.map +1 -1
- package/dist/tools/clone-workflow.js +5 -4
- package/dist/tools/clone-workflow.js.map +1 -1
- package/dist/tools/connect-agent-oauth.d.ts.map +1 -1
- package/dist/tools/connect-agent-oauth.js +144 -44
- package/dist/tools/connect-agent-oauth.js.map +1 -1
- package/dist/tools/control-agent.d.ts.map +1 -1
- package/dist/tools/control-agent.js +133 -45
- package/dist/tools/control-agent.js.map +1 -1
- package/dist/tools/create-workflow.d.ts +9 -6
- package/dist/tools/create-workflow.d.ts.map +1 -1
- package/dist/tools/create-workflow.js +13 -13
- package/dist/tools/create-workflow.js.map +1 -1
- package/dist/tools/delete-agent-session.d.ts.map +1 -1
- package/dist/tools/delete-agent-session.js +20 -14
- package/dist/tools/delete-agent-session.js.map +1 -1
- package/dist/tools/delete-agent.d.ts.map +1 -1
- package/dist/tools/delete-agent.js +14 -10
- package/dist/tools/delete-agent.js.map +1 -1
- package/dist/tools/delete-workflow.d.ts.map +1 -1
- package/dist/tools/delete-workflow.js +6 -5
- package/dist/tools/delete-workflow.js.map +1 -1
- package/dist/tools/deploy-agent.d.ts.map +1 -1
- package/dist/tools/deploy-agent.js +215 -47
- package/dist/tools/deploy-agent.js.map +1 -1
- package/dist/tools/disconnect-agent-oauth.d.ts.map +1 -1
- package/dist/tools/disconnect-agent-oauth.js +32 -12
- package/dist/tools/disconnect-agent-oauth.js.map +1 -1
- package/dist/tools/get-account.d.ts.map +1 -1
- package/dist/tools/get-account.js +157 -49
- package/dist/tools/get-account.js.map +1 -1
- package/dist/tools/get-agent-activity.d.ts.map +1 -1
- package/dist/tools/get-agent-activity.js +186 -36
- package/dist/tools/get-agent-activity.js.map +1 -1
- package/dist/tools/get-agent-conversation.d.ts.map +1 -1
- package/dist/tools/get-agent-conversation.js +65 -39
- package/dist/tools/get-agent-conversation.js.map +1 -1
- package/dist/tools/get-agent-message.d.ts.map +1 -1
- package/dist/tools/get-agent-message.js +6 -4
- package/dist/tools/get-agent-message.js.map +1 -1
- package/dist/tools/get-agent-template.d.ts.map +1 -1
- package/dist/tools/get-agent-template.js +33 -17
- package/dist/tools/get-agent-template.js.map +1 -1
- package/dist/tools/get-model-schema.d.ts.map +1 -1
- package/dist/tools/get-model-schema.js +7 -5
- package/dist/tools/get-model-schema.js.map +1 -1
- package/dist/tools/get-my-agent.d.ts.map +1 -1
- package/dist/tools/get-my-agent.js +54 -11
- package/dist/tools/get-my-agent.js.map +1 -1
- package/dist/tools/get-playbook.d.ts.map +1 -1
- package/dist/tools/get-playbook.js +3 -2
- package/dist/tools/get-playbook.js.map +1 -1
- package/dist/tools/get-task-price.d.ts +1 -1
- package/dist/tools/get-task-price.d.ts.map +1 -1
- package/dist/tools/get-task-price.js +29 -8
- package/dist/tools/get-task-price.js.map +1 -1
- package/dist/tools/get-task.d.ts.map +1 -1
- package/dist/tools/get-task.js +25 -9
- package/dist/tools/get-task.js.map +1 -1
- package/dist/tools/get-workflow.d.ts.map +1 -1
- package/dist/tools/get-workflow.js +46 -21
- package/dist/tools/get-workflow.js.map +1 -1
- package/dist/tools/index.d.ts +4 -1
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +10 -1
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/kill-task.js +3 -3
- package/dist/tools/kill-task.js.map +1 -1
- package/dist/tools/list-agent-skills.d.ts.map +1 -1
- package/dist/tools/list-agent-skills.js +5 -4
- package/dist/tools/list-agent-skills.js.map +1 -1
- package/dist/tools/list-agent-templates.js +4 -4
- package/dist/tools/list-agent-templates.js.map +1 -1
- package/dist/tools/list-my-agents.d.ts.map +1 -1
- package/dist/tools/list-my-agents.js +14 -8
- package/dist/tools/list-my-agents.js.map +1 -1
- package/dist/tools/list-projects.d.ts +4 -0
- package/dist/tools/list-projects.d.ts.map +1 -0
- package/dist/tools/list-projects.js +141 -0
- package/dist/tools/list-projects.js.map +1 -0
- package/dist/tools/list-studio-results.js +3 -3
- package/dist/tools/list-studio-results.js.map +1 -1
- package/dist/tools/list-tasks.js +3 -3
- package/dist/tools/list-tasks.js.map +1 -1
- package/dist/tools/list-workflow-runs.d.ts.map +1 -1
- package/dist/tools/list-workflow-runs.js +6 -4
- package/dist/tools/list-workflow-runs.js.map +1 -1
- package/dist/tools/list-workflows.d.ts.map +1 -1
- package/dist/tools/list-workflows.js +7 -6
- package/dist/tools/list-workflows.js.map +1 -1
- package/dist/tools/manage-agent-billing.d.ts.map +1 -1
- package/dist/tools/manage-agent-billing.js +259 -87
- package/dist/tools/manage-agent-billing.js.map +1 -1
- package/dist/tools/manage-agent-custom-skill.d.ts.map +1 -1
- package/dist/tools/manage-agent-custom-skill.js +91 -21
- package/dist/tools/manage-agent-custom-skill.js.map +1 -1
- package/dist/tools/recommend-model.js +3 -3
- package/dist/tools/recommend-model.js.map +1 -1
- package/dist/tools/resume-workflow-run.d.ts.map +1 -1
- package/dist/tools/resume-workflow-run.js +3 -2
- package/dist/tools/resume-workflow-run.js.map +1 -1
- package/dist/tools/run-model.js +5 -5
- package/dist/tools/run-model.js.map +1 -1
- package/dist/tools/run-workflow.d.ts.map +1 -1
- package/dist/tools/run-workflow.js +3 -2
- package/dist/tools/run-workflow.js.map +1 -1
- package/dist/tools/save-workflow-from-agent.d.ts.map +1 -1
- package/dist/tools/save-workflow-from-agent.js +22 -20
- package/dist/tools/save-workflow-from-agent.js.map +1 -1
- package/dist/tools/schemas.d.ts +150 -127
- package/dist/tools/schemas.d.ts.map +1 -1
- package/dist/tools/schemas.js +76 -3
- package/dist/tools/schemas.js.map +1 -1
- package/dist/tools/search-docs.js +3 -3
- package/dist/tools/search-docs.js.map +1 -1
- package/dist/tools/search-models.d.ts.map +1 -1
- package/dist/tools/search-models.js +7 -4
- package/dist/tools/search-models.js.map +1 -1
- package/dist/tools/send-agent-message.d.ts.map +1 -1
- package/dist/tools/send-agent-message.js +32 -11
- package/dist/tools/send-agent-message.js.map +1 -1
- package/dist/tools/set-agent-credentials.d.ts.map +1 -1
- package/dist/tools/set-agent-credentials.js +60 -59
- package/dist/tools/set-agent-credentials.js.map +1 -1
- package/dist/tools/update-agent.d.ts.map +1 -1
- package/dist/tools/update-agent.js +59 -21
- package/dist/tools/update-agent.js.map +1 -1
- package/dist/tools/update-workflow.d.ts +205 -6
- package/dist/tools/update-workflow.d.ts.map +1 -1
- package/dist/tools/update-workflow.js +20 -7
- package/dist/tools/update-workflow.js.map +1 -1
- package/dist/tools/upload-file.d.ts.map +1 -1
- package/dist/tools/upload-file.js +13 -9
- package/dist/tools/upload-file.js.map +1 -1
- package/dist/tools/wait-for-task.d.ts.map +1 -1
- package/dist/tools/wait-for-task.js +23 -5
- package/dist/tools/wait-for-task.js.map +1 -1
- package/dist/tools/wait-for-workflow-run.d.ts +18 -18
- package/dist/tools/wait-for-workflow-run.d.ts.map +1 -1
- package/dist/tools/wait-for-workflow-run.js +7 -6
- package/dist/tools/wait-for-workflow-run.js.map +1 -1
- package/dist/types.d.ts +6 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/utils/agent-catalog.d.ts +168 -139
- package/dist/utils/agent-catalog.d.ts.map +1 -1
- package/dist/utils/agent-catalog.js +34 -14
- package/dist/utils/agent-catalog.js.map +1 -1
- package/dist/utils/agent-config.d.ts +111 -8
- package/dist/utils/agent-config.d.ts.map +1 -1
- package/dist/utils/agent-config.js +290 -40
- package/dist/utils/agent-config.js.map +1 -1
- package/dist/utils/agent-message.d.ts +41 -22
- package/dist/utils/agent-message.d.ts.map +1 -1
- package/dist/utils/agent-message.js +94 -31
- package/dist/utils/agent-message.js.map +1 -1
- package/dist/utils/agent-targets.d.ts +8 -4
- package/dist/utils/agent-targets.d.ts.map +1 -1
- package/dist/utils/agent-targets.js +51 -35
- package/dist/utils/agent-targets.js.map +1 -1
- package/dist/utils/agent-turns.d.ts +31 -24
- package/dist/utils/agent-turns.d.ts.map +1 -1
- package/dist/utils/agent-turns.js +154 -35
- package/dist/utils/agent-turns.js.map +1 -1
- package/dist/utils/api.d.ts +6 -0
- package/dist/utils/api.d.ts.map +1 -1
- package/dist/utils/api.js +22 -1
- package/dist/utils/api.js.map +1 -1
- package/dist/utils/format.d.ts +27 -1
- package/dist/utils/format.d.ts.map +1 -1
- package/dist/utils/format.js +429 -82
- package/dist/utils/format.js.map +1 -1
- package/dist/utils/json-schema-dialect.d.ts +8 -1
- package/dist/utils/json-schema-dialect.d.ts.map +1 -1
- package/dist/utils/json-schema-dialect.js +27 -1
- package/dist/utils/json-schema-dialect.js.map +1 -1
- package/dist/utils/media.d.ts +8 -0
- package/dist/utils/media.d.ts.map +1 -1
- package/dist/utils/media.js +29 -0
- package/dist/utils/media.js.map +1 -1
- package/dist/utils/poll.d.ts +5 -2
- package/dist/utils/poll.d.ts.map +1 -1
- package/dist/utils/poll.js +10 -9
- package/dist/utils/poll.js.map +1 -1
- package/dist/utils/quoted-text.d.ts +28 -0
- package/dist/utils/quoted-text.d.ts.map +1 -0
- package/dist/utils/quoted-text.js +64 -0
- package/dist/utils/quoted-text.js.map +1 -0
- package/dist/utils/structured.d.ts +2 -0
- package/dist/utils/structured.d.ts.map +1 -1
- package/dist/utils/structured.js +15 -2
- package/dist/utils/structured.js.map +1 -1
- package/dist/utils/studio-runs.d.ts +4 -4
- package/dist/utils/studio-runs.d.ts.map +1 -1
- package/dist/utils/studio-runs.js +11 -8
- package/dist/utils/studio-runs.js.map +1 -1
- package/dist/utils/user-agent.d.ts +376 -241
- package/dist/utils/user-agent.d.ts.map +1 -1
- package/dist/utils/user-agent.js +302 -89
- package/dist/utils/user-agent.js.map +1 -1
- package/dist/utils/wiro-project.d.ts +45 -0
- package/dist/utils/wiro-project.d.ts.map +1 -0
- package/dist/utils/wiro-project.js +66 -0
- package/dist/utils/wiro-project.js.map +1 -0
- package/dist/utils/workflow-agent.d.ts +4 -4
- package/dist/utils/workflow-save.d.ts +23 -5
- package/dist/utils/workflow-save.d.ts.map +1 -1
- package/dist/utils/workflow-save.js +130 -38
- package/dist/utils/workflow-save.js.map +1 -1
- package/dist/utils/workflow.d.ts +79 -61
- package/dist/utils/workflow.d.ts.map +1 -1
- package/dist/utils/workflow.js +149 -19
- package/dist/utils/workflow.js.map +1 -1
- package/dist/utils/workspace.d.ts +64 -0
- package/dist/utils/workspace.d.ts.map +1 -0
- package/dist/utils/workspace.js +173 -0
- package/dist/utils/workspace.js.map +1 -0
- package/package.json +6 -4
package/dist/tools/schemas.d.ts
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* An input schema that refuses an argument it does not know instead of dropping
|
|
4
|
+
* it, naming the right one. The advertised schema stays the same: it already
|
|
5
|
+
* says additionalProperties false.
|
|
6
|
+
*/
|
|
7
|
+
export declare function strictInput<T extends z.ZodRawShape>(shape: T, hint?: string): z.ZodObject<T, "strict", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any> extends infer T_1 ? { [k in keyof T_1]: T_1[k]; } : never, z.baseObjectInputType<T> extends infer T_2 ? { [k_1 in keyof T_2]: T_2[k_1]; } : never>;
|
|
2
8
|
export declare const taskStateSchema: z.ZodEnum<["submitted", "running", "completed", "failed", "cancelled"]>;
|
|
3
9
|
export declare const nextActionSchema: z.ZodObject<{
|
|
4
10
|
tool: z.ZodString;
|
|
@@ -212,19 +218,19 @@ export declare const taskSegmentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
212
218
|
arguments: z.ZodString;
|
|
213
219
|
status: z.ZodEnum<["in_progress", "completed", "incomplete"]>;
|
|
214
220
|
}, "strip", z.ZodTypeAny, {
|
|
221
|
+
name: string;
|
|
215
222
|
type: "function_call";
|
|
216
223
|
id: string;
|
|
224
|
+
status: "in_progress" | "completed" | "incomplete";
|
|
217
225
|
arguments: string;
|
|
218
226
|
call_id: string;
|
|
219
|
-
name: string;
|
|
220
|
-
status: "in_progress" | "completed" | "incomplete";
|
|
221
227
|
}, {
|
|
228
|
+
name: string;
|
|
222
229
|
type: "function_call";
|
|
223
230
|
id: string;
|
|
231
|
+
status: "in_progress" | "completed" | "incomplete";
|
|
224
232
|
arguments: string;
|
|
225
233
|
call_id: string;
|
|
226
|
-
name: string;
|
|
227
|
-
status: "in_progress" | "completed" | "incomplete";
|
|
228
234
|
}>, z.ZodObject<{
|
|
229
235
|
type: z.ZodLiteral<"custom_tool_call">;
|
|
230
236
|
id: z.ZodString;
|
|
@@ -233,19 +239,19 @@ export declare const taskSegmentSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
|
|
|
233
239
|
input: z.ZodString;
|
|
234
240
|
status: z.ZodEnum<["in_progress", "completed", "incomplete"]>;
|
|
235
241
|
}, "strip", z.ZodTypeAny, {
|
|
242
|
+
name: string;
|
|
236
243
|
type: "custom_tool_call";
|
|
237
244
|
id: string;
|
|
238
|
-
call_id: string;
|
|
239
|
-
name: string;
|
|
240
|
-
status: "in_progress" | "completed" | "incomplete";
|
|
241
245
|
input: string;
|
|
246
|
+
status: "in_progress" | "completed" | "incomplete";
|
|
247
|
+
call_id: string;
|
|
242
248
|
}, {
|
|
249
|
+
name: string;
|
|
243
250
|
type: "custom_tool_call";
|
|
244
251
|
id: string;
|
|
245
|
-
call_id: string;
|
|
246
|
-
name: string;
|
|
247
|
-
status: "in_progress" | "completed" | "incomplete";
|
|
248
252
|
input: string;
|
|
253
|
+
status: "in_progress" | "completed" | "incomplete";
|
|
254
|
+
call_id: string;
|
|
249
255
|
}>]>;
|
|
250
256
|
export declare const taskOutputSchema: z.ZodObject<{
|
|
251
257
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -271,19 +277,19 @@ export declare const taskOutputSchema: z.ZodObject<{
|
|
|
271
277
|
arguments: z.ZodString;
|
|
272
278
|
status: z.ZodEnum<["in_progress", "completed", "incomplete"]>;
|
|
273
279
|
}, "strip", z.ZodTypeAny, {
|
|
280
|
+
name: string;
|
|
274
281
|
type: "function_call";
|
|
275
282
|
id: string;
|
|
283
|
+
status: "in_progress" | "completed" | "incomplete";
|
|
276
284
|
arguments: string;
|
|
277
285
|
call_id: string;
|
|
278
|
-
name: string;
|
|
279
|
-
status: "in_progress" | "completed" | "incomplete";
|
|
280
286
|
}, {
|
|
287
|
+
name: string;
|
|
281
288
|
type: "function_call";
|
|
282
289
|
id: string;
|
|
290
|
+
status: "in_progress" | "completed" | "incomplete";
|
|
283
291
|
arguments: string;
|
|
284
292
|
call_id: string;
|
|
285
|
-
name: string;
|
|
286
|
-
status: "in_progress" | "completed" | "incomplete";
|
|
287
293
|
}>, z.ZodObject<{
|
|
288
294
|
type: z.ZodLiteral<"custom_tool_call">;
|
|
289
295
|
id: z.ZodString;
|
|
@@ -292,19 +298,19 @@ export declare const taskOutputSchema: z.ZodObject<{
|
|
|
292
298
|
input: z.ZodString;
|
|
293
299
|
status: z.ZodEnum<["in_progress", "completed", "incomplete"]>;
|
|
294
300
|
}, "strip", z.ZodTypeAny, {
|
|
301
|
+
name: string;
|
|
295
302
|
type: "custom_tool_call";
|
|
296
303
|
id: string;
|
|
297
|
-
call_id: string;
|
|
298
|
-
name: string;
|
|
299
|
-
status: "in_progress" | "completed" | "incomplete";
|
|
300
304
|
input: string;
|
|
305
|
+
status: "in_progress" | "completed" | "incomplete";
|
|
306
|
+
call_id: string;
|
|
301
307
|
}, {
|
|
308
|
+
name: string;
|
|
302
309
|
type: "custom_tool_call";
|
|
303
310
|
id: string;
|
|
304
|
-
call_id: string;
|
|
305
|
-
name: string;
|
|
306
|
-
status: "in_progress" | "completed" | "incomplete";
|
|
307
311
|
input: string;
|
|
312
|
+
status: "in_progress" | "completed" | "incomplete";
|
|
313
|
+
call_id: string;
|
|
308
314
|
}>]>, "many">>;
|
|
309
315
|
finishreason: z.ZodOptional<z.ZodEnum<["stop", "tool_calls", "length", "content_filter", "error"]>>;
|
|
310
316
|
usage: z.ZodOptional<z.ZodObject<{
|
|
@@ -462,24 +468,27 @@ export declare const taskOutputSchema: z.ZodObject<{
|
|
|
462
468
|
}, "strip", z.ZodTypeAny, {
|
|
463
469
|
mimeType: string;
|
|
464
470
|
sizeBytes: number | null;
|
|
465
|
-
kind: "file" | "text" | "image" | "
|
|
471
|
+
kind: "file" | "text" | "image" | "audio" | "video";
|
|
472
|
+
name?: string | undefined;
|
|
473
|
+
url?: string | undefined;
|
|
474
|
+
text?: string | undefined;
|
|
466
475
|
segments?: ({
|
|
467
476
|
type: "thinking" | "answer";
|
|
468
477
|
text: string;
|
|
469
478
|
} | {
|
|
479
|
+
name: string;
|
|
470
480
|
type: "function_call";
|
|
471
481
|
id: string;
|
|
482
|
+
status: "in_progress" | "completed" | "incomplete";
|
|
472
483
|
arguments: string;
|
|
473
484
|
call_id: string;
|
|
474
|
-
name: string;
|
|
475
|
-
status: "in_progress" | "completed" | "incomplete";
|
|
476
485
|
} | {
|
|
486
|
+
name: string;
|
|
477
487
|
type: "custom_tool_call";
|
|
478
488
|
id: string;
|
|
479
|
-
call_id: string;
|
|
480
|
-
name: string;
|
|
481
|
-
status: "in_progress" | "completed" | "incomplete";
|
|
482
489
|
input: string;
|
|
490
|
+
status: "in_progress" | "completed" | "incomplete";
|
|
491
|
+
call_id: string;
|
|
483
492
|
})[] | undefined;
|
|
484
493
|
finishreason?: "stop" | "tool_calls" | "length" | "content_filter" | "error" | undefined;
|
|
485
494
|
usage?: {
|
|
@@ -516,30 +525,30 @@ export declare const taskOutputSchema: z.ZodObject<{
|
|
|
516
525
|
image_generation_requests?: number | undefined;
|
|
517
526
|
} | undefined;
|
|
518
527
|
} | undefined;
|
|
519
|
-
text?: string | undefined;
|
|
520
|
-
name?: string | undefined;
|
|
521
|
-
url?: string | undefined;
|
|
522
528
|
}, {
|
|
523
529
|
mimeType: string;
|
|
524
530
|
sizeBytes: number | null;
|
|
525
|
-
kind: "file" | "text" | "image" | "
|
|
531
|
+
kind: "file" | "text" | "image" | "audio" | "video";
|
|
532
|
+
name?: string | undefined;
|
|
533
|
+
url?: string | undefined;
|
|
534
|
+
text?: string | undefined;
|
|
526
535
|
segments?: ({
|
|
527
536
|
type: "thinking" | "answer";
|
|
528
537
|
text: string;
|
|
529
538
|
} | {
|
|
539
|
+
name: string;
|
|
530
540
|
type: "function_call";
|
|
531
541
|
id: string;
|
|
542
|
+
status: "in_progress" | "completed" | "incomplete";
|
|
532
543
|
arguments: string;
|
|
533
544
|
call_id: string;
|
|
534
|
-
name: string;
|
|
535
|
-
status: "in_progress" | "completed" | "incomplete";
|
|
536
545
|
} | {
|
|
546
|
+
name: string;
|
|
537
547
|
type: "custom_tool_call";
|
|
538
548
|
id: string;
|
|
539
|
-
call_id: string;
|
|
540
|
-
name: string;
|
|
541
|
-
status: "in_progress" | "completed" | "incomplete";
|
|
542
549
|
input: string;
|
|
550
|
+
status: "in_progress" | "completed" | "incomplete";
|
|
551
|
+
call_id: string;
|
|
543
552
|
})[] | undefined;
|
|
544
553
|
finishreason?: "stop" | "tool_calls" | "length" | "content_filter" | "error" | undefined;
|
|
545
554
|
usage?: {
|
|
@@ -576,9 +585,6 @@ export declare const taskOutputSchema: z.ZodObject<{
|
|
|
576
585
|
image_generation_requests?: number | undefined;
|
|
577
586
|
} | undefined;
|
|
578
587
|
} | undefined;
|
|
579
|
-
text?: string | undefined;
|
|
580
|
-
name?: string | undefined;
|
|
581
|
-
url?: string | undefined;
|
|
582
588
|
}>;
|
|
583
589
|
export declare const taskResultOutputSchema: {
|
|
584
590
|
state: z.ZodEnum<["submitted", "running", "completed", "failed", "cancelled"]>;
|
|
@@ -634,19 +640,19 @@ export declare const taskResultOutputSchema: {
|
|
|
634
640
|
arguments: z.ZodString;
|
|
635
641
|
status: z.ZodEnum<["in_progress", "completed", "incomplete"]>;
|
|
636
642
|
}, "strip", z.ZodTypeAny, {
|
|
643
|
+
name: string;
|
|
637
644
|
type: "function_call";
|
|
638
645
|
id: string;
|
|
646
|
+
status: "in_progress" | "completed" | "incomplete";
|
|
639
647
|
arguments: string;
|
|
640
648
|
call_id: string;
|
|
641
|
-
name: string;
|
|
642
|
-
status: "in_progress" | "completed" | "incomplete";
|
|
643
649
|
}, {
|
|
650
|
+
name: string;
|
|
644
651
|
type: "function_call";
|
|
645
652
|
id: string;
|
|
653
|
+
status: "in_progress" | "completed" | "incomplete";
|
|
646
654
|
arguments: string;
|
|
647
655
|
call_id: string;
|
|
648
|
-
name: string;
|
|
649
|
-
status: "in_progress" | "completed" | "incomplete";
|
|
650
656
|
}>, z.ZodObject<{
|
|
651
657
|
type: z.ZodLiteral<"custom_tool_call">;
|
|
652
658
|
id: z.ZodString;
|
|
@@ -655,19 +661,19 @@ export declare const taskResultOutputSchema: {
|
|
|
655
661
|
input: z.ZodString;
|
|
656
662
|
status: z.ZodEnum<["in_progress", "completed", "incomplete"]>;
|
|
657
663
|
}, "strip", z.ZodTypeAny, {
|
|
664
|
+
name: string;
|
|
658
665
|
type: "custom_tool_call";
|
|
659
666
|
id: string;
|
|
660
|
-
call_id: string;
|
|
661
|
-
name: string;
|
|
662
|
-
status: "in_progress" | "completed" | "incomplete";
|
|
663
667
|
input: string;
|
|
668
|
+
status: "in_progress" | "completed" | "incomplete";
|
|
669
|
+
call_id: string;
|
|
664
670
|
}, {
|
|
671
|
+
name: string;
|
|
665
672
|
type: "custom_tool_call";
|
|
666
673
|
id: string;
|
|
667
|
-
call_id: string;
|
|
668
|
-
name: string;
|
|
669
|
-
status: "in_progress" | "completed" | "incomplete";
|
|
670
674
|
input: string;
|
|
675
|
+
status: "in_progress" | "completed" | "incomplete";
|
|
676
|
+
call_id: string;
|
|
671
677
|
}>]>, "many">>;
|
|
672
678
|
finishreason: z.ZodOptional<z.ZodEnum<["stop", "tool_calls", "length", "content_filter", "error"]>>;
|
|
673
679
|
usage: z.ZodOptional<z.ZodObject<{
|
|
@@ -825,24 +831,27 @@ export declare const taskResultOutputSchema: {
|
|
|
825
831
|
}, "strip", z.ZodTypeAny, {
|
|
826
832
|
mimeType: string;
|
|
827
833
|
sizeBytes: number | null;
|
|
828
|
-
kind: "file" | "text" | "image" | "
|
|
834
|
+
kind: "file" | "text" | "image" | "audio" | "video";
|
|
835
|
+
name?: string | undefined;
|
|
836
|
+
url?: string | undefined;
|
|
837
|
+
text?: string | undefined;
|
|
829
838
|
segments?: ({
|
|
830
839
|
type: "thinking" | "answer";
|
|
831
840
|
text: string;
|
|
832
841
|
} | {
|
|
842
|
+
name: string;
|
|
833
843
|
type: "function_call";
|
|
834
844
|
id: string;
|
|
845
|
+
status: "in_progress" | "completed" | "incomplete";
|
|
835
846
|
arguments: string;
|
|
836
847
|
call_id: string;
|
|
837
|
-
name: string;
|
|
838
|
-
status: "in_progress" | "completed" | "incomplete";
|
|
839
848
|
} | {
|
|
849
|
+
name: string;
|
|
840
850
|
type: "custom_tool_call";
|
|
841
851
|
id: string;
|
|
842
|
-
call_id: string;
|
|
843
|
-
name: string;
|
|
844
|
-
status: "in_progress" | "completed" | "incomplete";
|
|
845
852
|
input: string;
|
|
853
|
+
status: "in_progress" | "completed" | "incomplete";
|
|
854
|
+
call_id: string;
|
|
846
855
|
})[] | undefined;
|
|
847
856
|
finishreason?: "stop" | "tool_calls" | "length" | "content_filter" | "error" | undefined;
|
|
848
857
|
usage?: {
|
|
@@ -879,30 +888,30 @@ export declare const taskResultOutputSchema: {
|
|
|
879
888
|
image_generation_requests?: number | undefined;
|
|
880
889
|
} | undefined;
|
|
881
890
|
} | undefined;
|
|
882
|
-
text?: string | undefined;
|
|
883
|
-
name?: string | undefined;
|
|
884
|
-
url?: string | undefined;
|
|
885
891
|
}, {
|
|
886
892
|
mimeType: string;
|
|
887
893
|
sizeBytes: number | null;
|
|
888
|
-
kind: "file" | "text" | "image" | "
|
|
894
|
+
kind: "file" | "text" | "image" | "audio" | "video";
|
|
895
|
+
name?: string | undefined;
|
|
896
|
+
url?: string | undefined;
|
|
897
|
+
text?: string | undefined;
|
|
889
898
|
segments?: ({
|
|
890
899
|
type: "thinking" | "answer";
|
|
891
900
|
text: string;
|
|
892
901
|
} | {
|
|
902
|
+
name: string;
|
|
893
903
|
type: "function_call";
|
|
894
904
|
id: string;
|
|
905
|
+
status: "in_progress" | "completed" | "incomplete";
|
|
895
906
|
arguments: string;
|
|
896
907
|
call_id: string;
|
|
897
|
-
name: string;
|
|
898
|
-
status: "in_progress" | "completed" | "incomplete";
|
|
899
908
|
} | {
|
|
909
|
+
name: string;
|
|
900
910
|
type: "custom_tool_call";
|
|
901
911
|
id: string;
|
|
902
|
-
call_id: string;
|
|
903
|
-
name: string;
|
|
904
|
-
status: "in_progress" | "completed" | "incomplete";
|
|
905
912
|
input: string;
|
|
913
|
+
status: "in_progress" | "completed" | "incomplete";
|
|
914
|
+
call_id: string;
|
|
906
915
|
})[] | undefined;
|
|
907
916
|
finishreason?: "stop" | "tool_calls" | "length" | "content_filter" | "error" | undefined;
|
|
908
917
|
usage?: {
|
|
@@ -939,9 +948,6 @@ export declare const taskResultOutputSchema: {
|
|
|
939
948
|
image_generation_requests?: number | undefined;
|
|
940
949
|
} | undefined;
|
|
941
950
|
} | undefined;
|
|
942
|
-
text?: string | undefined;
|
|
943
|
-
name?: string | undefined;
|
|
944
|
-
url?: string | undefined;
|
|
945
951
|
}>, "many">;
|
|
946
952
|
response: z.ZodOptional<z.ZodString>;
|
|
947
953
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -1014,19 +1020,19 @@ export declare const taskListOutputSchema: {
|
|
|
1014
1020
|
arguments: z.ZodString;
|
|
1015
1021
|
status: z.ZodEnum<["in_progress", "completed", "incomplete"]>;
|
|
1016
1022
|
}, "strip", z.ZodTypeAny, {
|
|
1023
|
+
name: string;
|
|
1017
1024
|
type: "function_call";
|
|
1018
1025
|
id: string;
|
|
1026
|
+
status: "in_progress" | "completed" | "incomplete";
|
|
1019
1027
|
arguments: string;
|
|
1020
1028
|
call_id: string;
|
|
1021
|
-
name: string;
|
|
1022
|
-
status: "in_progress" | "completed" | "incomplete";
|
|
1023
1029
|
}, {
|
|
1030
|
+
name: string;
|
|
1024
1031
|
type: "function_call";
|
|
1025
1032
|
id: string;
|
|
1033
|
+
status: "in_progress" | "completed" | "incomplete";
|
|
1026
1034
|
arguments: string;
|
|
1027
1035
|
call_id: string;
|
|
1028
|
-
name: string;
|
|
1029
|
-
status: "in_progress" | "completed" | "incomplete";
|
|
1030
1036
|
}>, z.ZodObject<{
|
|
1031
1037
|
type: z.ZodLiteral<"custom_tool_call">;
|
|
1032
1038
|
id: z.ZodString;
|
|
@@ -1035,19 +1041,19 @@ export declare const taskListOutputSchema: {
|
|
|
1035
1041
|
input: z.ZodString;
|
|
1036
1042
|
status: z.ZodEnum<["in_progress", "completed", "incomplete"]>;
|
|
1037
1043
|
}, "strip", z.ZodTypeAny, {
|
|
1044
|
+
name: string;
|
|
1038
1045
|
type: "custom_tool_call";
|
|
1039
1046
|
id: string;
|
|
1040
|
-
call_id: string;
|
|
1041
|
-
name: string;
|
|
1042
|
-
status: "in_progress" | "completed" | "incomplete";
|
|
1043
1047
|
input: string;
|
|
1048
|
+
status: "in_progress" | "completed" | "incomplete";
|
|
1049
|
+
call_id: string;
|
|
1044
1050
|
}, {
|
|
1051
|
+
name: string;
|
|
1045
1052
|
type: "custom_tool_call";
|
|
1046
1053
|
id: string;
|
|
1047
|
-
call_id: string;
|
|
1048
|
-
name: string;
|
|
1049
|
-
status: "in_progress" | "completed" | "incomplete";
|
|
1050
1054
|
input: string;
|
|
1055
|
+
status: "in_progress" | "completed" | "incomplete";
|
|
1056
|
+
call_id: string;
|
|
1051
1057
|
}>]>, "many">>;
|
|
1052
1058
|
finishreason: z.ZodOptional<z.ZodEnum<["stop", "tool_calls", "length", "content_filter", "error"]>>;
|
|
1053
1059
|
usage: z.ZodOptional<z.ZodObject<{
|
|
@@ -1202,10 +1208,12 @@ export declare const taskListOutputSchema: {
|
|
|
1202
1208
|
image_generation_requests?: number | undefined;
|
|
1203
1209
|
} | undefined;
|
|
1204
1210
|
}>>;
|
|
1205
|
-
}, "
|
|
1211
|
+
}, "text" | "segments" | "finishreason">, "strip", z.ZodTypeAny, {
|
|
1206
1212
|
mimeType: string;
|
|
1207
1213
|
sizeBytes: number | null;
|
|
1208
|
-
kind: "file" | "text" | "image" | "
|
|
1214
|
+
kind: "file" | "text" | "image" | "audio" | "video";
|
|
1215
|
+
name?: string | undefined;
|
|
1216
|
+
url?: string | undefined;
|
|
1209
1217
|
usage?: {
|
|
1210
1218
|
input_tokens: number;
|
|
1211
1219
|
output_tokens: number;
|
|
@@ -1240,12 +1248,12 @@ export declare const taskListOutputSchema: {
|
|
|
1240
1248
|
image_generation_requests?: number | undefined;
|
|
1241
1249
|
} | undefined;
|
|
1242
1250
|
} | undefined;
|
|
1243
|
-
name?: string | undefined;
|
|
1244
|
-
url?: string | undefined;
|
|
1245
1251
|
}, {
|
|
1246
1252
|
mimeType: string;
|
|
1247
1253
|
sizeBytes: number | null;
|
|
1248
|
-
kind: "file" | "text" | "image" | "
|
|
1254
|
+
kind: "file" | "text" | "image" | "audio" | "video";
|
|
1255
|
+
name?: string | undefined;
|
|
1256
|
+
url?: string | undefined;
|
|
1249
1257
|
usage?: {
|
|
1250
1258
|
input_tokens: number;
|
|
1251
1259
|
output_tokens: number;
|
|
@@ -1280,11 +1288,8 @@ export declare const taskListOutputSchema: {
|
|
|
1280
1288
|
image_generation_requests?: number | undefined;
|
|
1281
1289
|
} | undefined;
|
|
1282
1290
|
} | undefined;
|
|
1283
|
-
name?: string | undefined;
|
|
1284
|
-
url?: string | undefined;
|
|
1285
1291
|
}>, "many">;
|
|
1286
1292
|
}, "strip", z.ZodTypeAny, {
|
|
1287
|
-
state: "completed" | "submitted" | "running" | "failed" | "cancelled";
|
|
1288
1293
|
task: {
|
|
1289
1294
|
model?: string | undefined;
|
|
1290
1295
|
id?: string | undefined;
|
|
@@ -1295,10 +1300,13 @@ export declare const taskListOutputSchema: {
|
|
|
1295
1300
|
costUsd?: number | null | undefined;
|
|
1296
1301
|
chargedUsd?: number | null | undefined;
|
|
1297
1302
|
};
|
|
1303
|
+
state: "completed" | "failed" | "cancelled" | "submitted" | "running";
|
|
1298
1304
|
outputs: {
|
|
1299
1305
|
mimeType: string;
|
|
1300
1306
|
sizeBytes: number | null;
|
|
1301
|
-
kind: "file" | "text" | "image" | "
|
|
1307
|
+
kind: "file" | "text" | "image" | "audio" | "video";
|
|
1308
|
+
name?: string | undefined;
|
|
1309
|
+
url?: string | undefined;
|
|
1302
1310
|
usage?: {
|
|
1303
1311
|
input_tokens: number;
|
|
1304
1312
|
output_tokens: number;
|
|
@@ -1333,11 +1341,8 @@ export declare const taskListOutputSchema: {
|
|
|
1333
1341
|
image_generation_requests?: number | undefined;
|
|
1334
1342
|
} | undefined;
|
|
1335
1343
|
} | undefined;
|
|
1336
|
-
name?: string | undefined;
|
|
1337
|
-
url?: string | undefined;
|
|
1338
1344
|
}[];
|
|
1339
1345
|
}, {
|
|
1340
|
-
state: "completed" | "submitted" | "running" | "failed" | "cancelled";
|
|
1341
1346
|
task: {
|
|
1342
1347
|
model?: string | undefined;
|
|
1343
1348
|
id?: string | undefined;
|
|
@@ -1348,10 +1353,13 @@ export declare const taskListOutputSchema: {
|
|
|
1348
1353
|
costUsd?: number | null | undefined;
|
|
1349
1354
|
chargedUsd?: number | null | undefined;
|
|
1350
1355
|
};
|
|
1356
|
+
state: "completed" | "failed" | "cancelled" | "submitted" | "running";
|
|
1351
1357
|
outputs: {
|
|
1352
1358
|
mimeType: string;
|
|
1353
1359
|
sizeBytes: number | null;
|
|
1354
|
-
kind: "file" | "text" | "image" | "
|
|
1360
|
+
kind: "file" | "text" | "image" | "audio" | "video";
|
|
1361
|
+
name?: string | undefined;
|
|
1362
|
+
url?: string | undefined;
|
|
1355
1363
|
usage?: {
|
|
1356
1364
|
input_tokens: number;
|
|
1357
1365
|
output_tokens: number;
|
|
@@ -1386,8 +1394,6 @@ export declare const taskListOutputSchema: {
|
|
|
1386
1394
|
image_generation_requests?: number | undefined;
|
|
1387
1395
|
} | undefined;
|
|
1388
1396
|
} | undefined;
|
|
1389
|
-
name?: string | undefined;
|
|
1390
|
-
url?: string | undefined;
|
|
1391
1397
|
}[];
|
|
1392
1398
|
}>, "many">;
|
|
1393
1399
|
total: z.ZodNumber;
|
|
@@ -1415,20 +1421,23 @@ export declare const modelSummarySchema: z.ZodObject<{
|
|
|
1415
1421
|
categories: z.ZodArray<z.ZodString, "many">;
|
|
1416
1422
|
pricing: z.ZodOptional<z.ZodString>;
|
|
1417
1423
|
estimatedCostUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1424
|
+
discountPercent: z.ZodOptional<z.ZodNumber>;
|
|
1418
1425
|
}, "strip", z.ZodTypeAny, {
|
|
1419
1426
|
categories: string[];
|
|
1420
|
-
slug: string;
|
|
1421
1427
|
title: string;
|
|
1428
|
+
slug: string;
|
|
1422
1429
|
description?: string | undefined;
|
|
1423
1430
|
pricing?: string | undefined;
|
|
1424
1431
|
estimatedCostUsd?: number | null | undefined;
|
|
1432
|
+
discountPercent?: number | undefined;
|
|
1425
1433
|
}, {
|
|
1426
1434
|
categories: string[];
|
|
1427
|
-
slug: string;
|
|
1428
1435
|
title: string;
|
|
1436
|
+
slug: string;
|
|
1429
1437
|
description?: string | undefined;
|
|
1430
1438
|
pricing?: string | undefined;
|
|
1431
1439
|
estimatedCostUsd?: number | null | undefined;
|
|
1440
|
+
discountPercent?: number | undefined;
|
|
1432
1441
|
}>;
|
|
1433
1442
|
export declare const modelListOutputSchema: {
|
|
1434
1443
|
models: z.ZodArray<z.ZodObject<{
|
|
@@ -1438,20 +1447,23 @@ export declare const modelListOutputSchema: {
|
|
|
1438
1447
|
categories: z.ZodArray<z.ZodString, "many">;
|
|
1439
1448
|
pricing: z.ZodOptional<z.ZodString>;
|
|
1440
1449
|
estimatedCostUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1450
|
+
discountPercent: z.ZodOptional<z.ZodNumber>;
|
|
1441
1451
|
}, "strip", z.ZodTypeAny, {
|
|
1442
1452
|
categories: string[];
|
|
1443
|
-
slug: string;
|
|
1444
1453
|
title: string;
|
|
1454
|
+
slug: string;
|
|
1445
1455
|
description?: string | undefined;
|
|
1446
1456
|
pricing?: string | undefined;
|
|
1447
1457
|
estimatedCostUsd?: number | null | undefined;
|
|
1458
|
+
discountPercent?: number | undefined;
|
|
1448
1459
|
}, {
|
|
1449
1460
|
categories: string[];
|
|
1450
|
-
slug: string;
|
|
1451
1461
|
title: string;
|
|
1462
|
+
slug: string;
|
|
1452
1463
|
description?: string | undefined;
|
|
1453
1464
|
pricing?: string | undefined;
|
|
1454
1465
|
estimatedCostUsd?: number | null | undefined;
|
|
1466
|
+
discountPercent?: number | undefined;
|
|
1455
1467
|
}>, "many">;
|
|
1456
1468
|
total: z.ZodNumber;
|
|
1457
1469
|
start: z.ZodNumber;
|
|
@@ -1499,16 +1511,16 @@ export declare const modelParameterSchema: z.ZodObject<{
|
|
|
1499
1511
|
}, "strip", z.ZodTypeAny, {
|
|
1500
1512
|
type: string;
|
|
1501
1513
|
id: string;
|
|
1502
|
-
label: string;
|
|
1503
1514
|
required: boolean;
|
|
1515
|
+
label: string;
|
|
1504
1516
|
options: {
|
|
1505
1517
|
value: string;
|
|
1506
1518
|
label: string;
|
|
1507
1519
|
}[];
|
|
1508
1520
|
advanced: boolean;
|
|
1509
1521
|
default?: string | undefined;
|
|
1510
|
-
sample?: string | undefined;
|
|
1511
1522
|
description?: string | undefined;
|
|
1523
|
+
sample?: string | undefined;
|
|
1512
1524
|
placeholder?: string | undefined;
|
|
1513
1525
|
note?: string | undefined;
|
|
1514
1526
|
min?: number | undefined;
|
|
@@ -1518,16 +1530,16 @@ export declare const modelParameterSchema: z.ZodObject<{
|
|
|
1518
1530
|
}, {
|
|
1519
1531
|
type: string;
|
|
1520
1532
|
id: string;
|
|
1521
|
-
label: string;
|
|
1522
1533
|
required: boolean;
|
|
1534
|
+
label: string;
|
|
1523
1535
|
options: {
|
|
1524
1536
|
value: string;
|
|
1525
1537
|
label: string;
|
|
1526
1538
|
}[];
|
|
1527
1539
|
advanced: boolean;
|
|
1528
1540
|
default?: string | undefined;
|
|
1529
|
-
sample?: string | undefined;
|
|
1530
1541
|
description?: string | undefined;
|
|
1542
|
+
sample?: string | undefined;
|
|
1531
1543
|
placeholder?: string | undefined;
|
|
1532
1544
|
note?: string | undefined;
|
|
1533
1545
|
min?: number | undefined;
|
|
@@ -1543,7 +1555,9 @@ export declare const modelDetailOutputSchema: {
|
|
|
1543
1555
|
categories: z.ZodArray<z.ZodString, "many">;
|
|
1544
1556
|
pricing: z.ZodOptional<z.ZodString>;
|
|
1545
1557
|
estimatedCostUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1558
|
+
discountPercent: z.ZodOptional<z.ZodNumber>;
|
|
1546
1559
|
} & {
|
|
1560
|
+
pricingNotes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1547
1561
|
parameters: z.ZodArray<z.ZodObject<{
|
|
1548
1562
|
title: z.ZodString;
|
|
1549
1563
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -1574,16 +1588,16 @@ export declare const modelDetailOutputSchema: {
|
|
|
1574
1588
|
}, "strip", z.ZodTypeAny, {
|
|
1575
1589
|
type: string;
|
|
1576
1590
|
id: string;
|
|
1577
|
-
label: string;
|
|
1578
1591
|
required: boolean;
|
|
1592
|
+
label: string;
|
|
1579
1593
|
options: {
|
|
1580
1594
|
value: string;
|
|
1581
1595
|
label: string;
|
|
1582
1596
|
}[];
|
|
1583
1597
|
advanced: boolean;
|
|
1584
1598
|
default?: string | undefined;
|
|
1585
|
-
sample?: string | undefined;
|
|
1586
1599
|
description?: string | undefined;
|
|
1600
|
+
sample?: string | undefined;
|
|
1587
1601
|
placeholder?: string | undefined;
|
|
1588
1602
|
note?: string | undefined;
|
|
1589
1603
|
min?: number | undefined;
|
|
@@ -1593,16 +1607,16 @@ export declare const modelDetailOutputSchema: {
|
|
|
1593
1607
|
}, {
|
|
1594
1608
|
type: string;
|
|
1595
1609
|
id: string;
|
|
1596
|
-
label: string;
|
|
1597
1610
|
required: boolean;
|
|
1611
|
+
label: string;
|
|
1598
1612
|
options: {
|
|
1599
1613
|
value: string;
|
|
1600
1614
|
label: string;
|
|
1601
1615
|
}[];
|
|
1602
1616
|
advanced: boolean;
|
|
1603
1617
|
default?: string | undefined;
|
|
1604
|
-
sample?: string | undefined;
|
|
1605
1618
|
description?: string | undefined;
|
|
1619
|
+
sample?: string | undefined;
|
|
1606
1620
|
placeholder?: string | undefined;
|
|
1607
1621
|
note?: string | undefined;
|
|
1608
1622
|
min?: number | undefined;
|
|
@@ -1611,20 +1625,19 @@ export declare const modelDetailOutputSchema: {
|
|
|
1611
1625
|
jsonSchema?: Record<string, unknown> | undefined;
|
|
1612
1626
|
}>, "many">;
|
|
1613
1627
|
}, "strip", z.ZodTypeAny, {
|
|
1614
|
-
title: string;
|
|
1615
1628
|
items: {
|
|
1616
1629
|
type: string;
|
|
1617
1630
|
id: string;
|
|
1618
|
-
label: string;
|
|
1619
1631
|
required: boolean;
|
|
1632
|
+
label: string;
|
|
1620
1633
|
options: {
|
|
1621
1634
|
value: string;
|
|
1622
1635
|
label: string;
|
|
1623
1636
|
}[];
|
|
1624
1637
|
advanced: boolean;
|
|
1625
1638
|
default?: string | undefined;
|
|
1626
|
-
sample?: string | undefined;
|
|
1627
1639
|
description?: string | undefined;
|
|
1640
|
+
sample?: string | undefined;
|
|
1628
1641
|
placeholder?: string | undefined;
|
|
1629
1642
|
note?: string | undefined;
|
|
1630
1643
|
min?: number | undefined;
|
|
@@ -1632,21 +1645,21 @@ export declare const modelDetailOutputSchema: {
|
|
|
1632
1645
|
step?: number | undefined;
|
|
1633
1646
|
jsonSchema?: Record<string, unknown> | undefined;
|
|
1634
1647
|
}[];
|
|
1635
|
-
}, {
|
|
1636
1648
|
title: string;
|
|
1649
|
+
}, {
|
|
1637
1650
|
items: {
|
|
1638
1651
|
type: string;
|
|
1639
1652
|
id: string;
|
|
1640
|
-
label: string;
|
|
1641
1653
|
required: boolean;
|
|
1654
|
+
label: string;
|
|
1642
1655
|
options: {
|
|
1643
1656
|
value: string;
|
|
1644
1657
|
label: string;
|
|
1645
1658
|
}[];
|
|
1646
1659
|
advanced: boolean;
|
|
1647
1660
|
default?: string | undefined;
|
|
1648
|
-
sample?: string | undefined;
|
|
1649
1661
|
description?: string | undefined;
|
|
1662
|
+
sample?: string | undefined;
|
|
1650
1663
|
placeholder?: string | undefined;
|
|
1651
1664
|
note?: string | undefined;
|
|
1652
1665
|
min?: number | undefined;
|
|
@@ -1654,6 +1667,7 @@ export declare const modelDetailOutputSchema: {
|
|
|
1654
1667
|
step?: number | undefined;
|
|
1655
1668
|
jsonSchema?: Record<string, unknown> | undefined;
|
|
1656
1669
|
}[];
|
|
1670
|
+
title: string;
|
|
1657
1671
|
}>, "many">;
|
|
1658
1672
|
outputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1659
1673
|
id: z.ZodString;
|
|
@@ -1671,23 +1685,21 @@ export declare const modelDetailOutputSchema: {
|
|
|
1671
1685
|
dynamicOutputs: z.ZodOptional<z.ZodBoolean>;
|
|
1672
1686
|
}, "strip", z.ZodTypeAny, {
|
|
1673
1687
|
categories: string[];
|
|
1674
|
-
slug: string;
|
|
1675
1688
|
title: string;
|
|
1676
1689
|
parameters: {
|
|
1677
|
-
title: string;
|
|
1678
1690
|
items: {
|
|
1679
1691
|
type: string;
|
|
1680
1692
|
id: string;
|
|
1681
|
-
label: string;
|
|
1682
1693
|
required: boolean;
|
|
1694
|
+
label: string;
|
|
1683
1695
|
options: {
|
|
1684
1696
|
value: string;
|
|
1685
1697
|
label: string;
|
|
1686
1698
|
}[];
|
|
1687
1699
|
advanced: boolean;
|
|
1688
1700
|
default?: string | undefined;
|
|
1689
|
-
sample?: string | undefined;
|
|
1690
1701
|
description?: string | undefined;
|
|
1702
|
+
sample?: string | undefined;
|
|
1691
1703
|
placeholder?: string | undefined;
|
|
1692
1704
|
note?: string | undefined;
|
|
1693
1705
|
min?: number | undefined;
|
|
@@ -1695,35 +1707,37 @@ export declare const modelDetailOutputSchema: {
|
|
|
1695
1707
|
step?: number | undefined;
|
|
1696
1708
|
jsonSchema?: Record<string, unknown> | undefined;
|
|
1697
1709
|
}[];
|
|
1710
|
+
title: string;
|
|
1698
1711
|
}[];
|
|
1712
|
+
slug: string;
|
|
1713
|
+
description?: string | undefined;
|
|
1699
1714
|
outputs?: {
|
|
1700
1715
|
type: string;
|
|
1701
1716
|
id: string;
|
|
1702
1717
|
label: string;
|
|
1703
1718
|
}[] | undefined;
|
|
1704
|
-
description?: string | undefined;
|
|
1705
1719
|
pricing?: string | undefined;
|
|
1706
1720
|
estimatedCostUsd?: number | null | undefined;
|
|
1721
|
+
discountPercent?: number | undefined;
|
|
1722
|
+
pricingNotes?: string[] | undefined;
|
|
1707
1723
|
dynamicOutputs?: boolean | undefined;
|
|
1708
1724
|
}, {
|
|
1709
1725
|
categories: string[];
|
|
1710
|
-
slug: string;
|
|
1711
1726
|
title: string;
|
|
1712
1727
|
parameters: {
|
|
1713
|
-
title: string;
|
|
1714
1728
|
items: {
|
|
1715
1729
|
type: string;
|
|
1716
1730
|
id: string;
|
|
1717
|
-
label: string;
|
|
1718
1731
|
required: boolean;
|
|
1732
|
+
label: string;
|
|
1719
1733
|
options: {
|
|
1720
1734
|
value: string;
|
|
1721
1735
|
label: string;
|
|
1722
1736
|
}[];
|
|
1723
1737
|
advanced: boolean;
|
|
1724
1738
|
default?: string | undefined;
|
|
1725
|
-
sample?: string | undefined;
|
|
1726
1739
|
description?: string | undefined;
|
|
1740
|
+
sample?: string | undefined;
|
|
1727
1741
|
placeholder?: string | undefined;
|
|
1728
1742
|
note?: string | undefined;
|
|
1729
1743
|
min?: number | undefined;
|
|
@@ -1731,15 +1745,19 @@ export declare const modelDetailOutputSchema: {
|
|
|
1731
1745
|
step?: number | undefined;
|
|
1732
1746
|
jsonSchema?: Record<string, unknown> | undefined;
|
|
1733
1747
|
}[];
|
|
1748
|
+
title: string;
|
|
1734
1749
|
}[];
|
|
1750
|
+
slug: string;
|
|
1751
|
+
description?: string | undefined;
|
|
1735
1752
|
outputs?: {
|
|
1736
1753
|
type: string;
|
|
1737
1754
|
id: string;
|
|
1738
1755
|
label: string;
|
|
1739
1756
|
}[] | undefined;
|
|
1740
|
-
description?: string | undefined;
|
|
1741
1757
|
pricing?: string | undefined;
|
|
1742
1758
|
estimatedCostUsd?: number | null | undefined;
|
|
1759
|
+
discountPercent?: number | undefined;
|
|
1760
|
+
pricingNotes?: string[] | undefined;
|
|
1743
1761
|
dynamicOutputs?: boolean | undefined;
|
|
1744
1762
|
}>;
|
|
1745
1763
|
nextAction: z.ZodObject<{
|
|
@@ -1767,42 +1785,47 @@ export declare const exploreOutputSchema: {
|
|
|
1767
1785
|
categories: z.ZodArray<z.ZodString, "many">;
|
|
1768
1786
|
pricing: z.ZodOptional<z.ZodString>;
|
|
1769
1787
|
estimatedCostUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1788
|
+
discountPercent: z.ZodOptional<z.ZodNumber>;
|
|
1770
1789
|
}, "strip", z.ZodTypeAny, {
|
|
1771
1790
|
categories: string[];
|
|
1772
|
-
slug: string;
|
|
1773
1791
|
title: string;
|
|
1792
|
+
slug: string;
|
|
1774
1793
|
description?: string | undefined;
|
|
1775
1794
|
pricing?: string | undefined;
|
|
1776
1795
|
estimatedCostUsd?: number | null | undefined;
|
|
1796
|
+
discountPercent?: number | undefined;
|
|
1777
1797
|
}, {
|
|
1778
1798
|
categories: string[];
|
|
1779
|
-
slug: string;
|
|
1780
1799
|
title: string;
|
|
1800
|
+
slug: string;
|
|
1781
1801
|
description?: string | undefined;
|
|
1782
1802
|
pricing?: string | undefined;
|
|
1783
1803
|
estimatedCostUsd?: number | null | undefined;
|
|
1804
|
+
discountPercent?: number | undefined;
|
|
1784
1805
|
}>, "many">;
|
|
1785
1806
|
}, "strip", z.ZodTypeAny, {
|
|
1786
1807
|
title: string;
|
|
1787
1808
|
total: number;
|
|
1788
1809
|
models: {
|
|
1789
1810
|
categories: string[];
|
|
1790
|
-
slug: string;
|
|
1791
1811
|
title: string;
|
|
1812
|
+
slug: string;
|
|
1792
1813
|
description?: string | undefined;
|
|
1793
1814
|
pricing?: string | undefined;
|
|
1794
1815
|
estimatedCostUsd?: number | null | undefined;
|
|
1816
|
+
discountPercent?: number | undefined;
|
|
1795
1817
|
}[];
|
|
1796
1818
|
}, {
|
|
1797
1819
|
title: string;
|
|
1798
1820
|
total: number;
|
|
1799
1821
|
models: {
|
|
1800
1822
|
categories: string[];
|
|
1801
|
-
slug: string;
|
|
1802
1823
|
title: string;
|
|
1824
|
+
slug: string;
|
|
1803
1825
|
description?: string | undefined;
|
|
1804
1826
|
pricing?: string | undefined;
|
|
1805
1827
|
estimatedCostUsd?: number | null | undefined;
|
|
1828
|
+
discountPercent?: number | undefined;
|
|
1806
1829
|
}[];
|
|
1807
1830
|
}>, "many">;
|
|
1808
1831
|
nextAction: z.ZodOptional<z.ZodObject<{
|
|
@@ -1888,17 +1911,17 @@ export declare const uploadedFileOutputSchema: {
|
|
|
1888
1911
|
sizeBytes: z.ZodNullable<z.ZodNumber>;
|
|
1889
1912
|
url: z.ZodString;
|
|
1890
1913
|
}, "strip", z.ZodTypeAny, {
|
|
1891
|
-
id: string;
|
|
1892
1914
|
name: string;
|
|
1915
|
+
id: string;
|
|
1916
|
+
url: string;
|
|
1893
1917
|
mimeType: string;
|
|
1894
1918
|
sizeBytes: number | null;
|
|
1895
|
-
url: string;
|
|
1896
1919
|
}, {
|
|
1897
|
-
id: string;
|
|
1898
1920
|
name: string;
|
|
1921
|
+
id: string;
|
|
1922
|
+
url: string;
|
|
1899
1923
|
mimeType: string;
|
|
1900
1924
|
sizeBytes: number | null;
|
|
1901
|
-
url: string;
|
|
1902
1925
|
}>;
|
|
1903
1926
|
};
|
|
1904
1927
|
export declare const docsSearchOutputSchema: {
|