@orq-ai/node 3.12.4 → 3.12.7
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 +0 -1
- package/bin/mcp-server.js +112 -112
- package/bin/mcp-server.js.map +33 -33
- package/docs/sdks/deployments/README.md +0 -2
- package/examples/package-lock.json +1 -1
- package/funcs/deploymentsStream.js +5 -2
- package/funcs/deploymentsStream.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/event-streams.d.ts +3 -3
- package/lib/event-streams.d.ts.map +1 -1
- package/lib/event-streams.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +16 -16
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +16 -16
- package/package.json +1 -1
- package/packages/orq-rc/FUNCTIONS.md +9 -19
- package/packages/orq-rc/README.md +180 -181
- package/packages/orq-rc/docs/sdks/agents/README.md +702 -0
- package/packages/orq-rc/docs/sdks/budgets/README.md +5 -5
- package/packages/orq-rc/docs/sdks/memorystores/README.md +1172 -0
- package/packages/orq-rc/docs/sdks/orq/README.md +81 -0
- package/packages/orq-rc/examples/package-lock.json +1 -1
- package/packages/orq-rc/examples/postV2AgentsInternal.example.ts +30 -0
- package/packages/orq-rc/jsr.json +1 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/funcs/agentsList.ts +167 -0
- package/packages/orq-rc/src/funcs/agentsListActions.ts +169 -0
- package/packages/orq-rc/src/funcs/agentsRetrieve.ts +175 -0
- package/packages/orq-rc/src/funcs/agentsRetrieveAction.ts +173 -0
- package/packages/orq-rc/src/funcs/agentsRetrieveTask.ts +179 -0
- package/packages/orq-rc/src/funcs/agentsReviewAction.ts +177 -0
- package/packages/orq-rc/src/funcs/agentsRun.ts +163 -0
- package/packages/orq-rc/src/funcs/agentsStreamRun.ts +187 -0
- package/packages/orq-rc/src/funcs/budgetsCreate.ts +1 -1
- package/packages/orq-rc/src/funcs/budgetsGet.ts +2 -2
- package/packages/orq-rc/src/funcs/budgetsList.ts +2 -2
- package/packages/orq-rc/src/funcs/memoryStoresCreate.ts +171 -0
- package/packages/orq-rc/src/funcs/memoryStoresCreateDocument.ts +175 -0
- package/packages/orq-rc/src/funcs/memoryStoresCreateMemory.ts +170 -0
- package/packages/orq-rc/src/funcs/memoryStoresDelete.ts +168 -0
- package/packages/orq-rc/src/funcs/memoryStoresDeleteDocument.ts +184 -0
- package/packages/orq-rc/src/funcs/memoryStoresDeleteMemory.ts +179 -0
- package/packages/orq-rc/src/funcs/memoryStoresList.ts +178 -0
- package/packages/orq-rc/src/funcs/memoryStoresListDocuments.ts +181 -0
- package/packages/orq-rc/src/funcs/memoryStoresListMemories.ts +176 -0
- package/packages/orq-rc/src/funcs/memoryStoresRetrieve.ts +177 -0
- package/packages/orq-rc/src/funcs/memoryStoresRetrieveDocument.ts +178 -0
- package/packages/orq-rc/src/funcs/memoryStoresRetrieveMemory.ts +173 -0
- package/packages/orq-rc/src/funcs/memoryStoresUpdate.ts +168 -0
- package/packages/orq-rc/src/funcs/memoryStoresUpdateDocument.ts +179 -0
- package/packages/orq-rc/src/funcs/memoryStoresUpdateMemory.ts +174 -0
- package/packages/orq-rc/src/funcs/postV2AgentsInternal.ts +159 -0
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +49 -1
- package/packages/orq-rc/src/mcp-server/tools/agentsList.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/agentsListActions.ts +35 -0
- package/packages/orq-rc/src/mcp-server/tools/agentsRetrieve.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/agentsRetrieveAction.ts +35 -0
- package/packages/orq-rc/src/mcp-server/tools/agentsRetrieveTask.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/agentsReviewAction.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/agentsRun.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/agentsStreamRun.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/budgetsCreate.ts +1 -1
- package/packages/orq-rc/src/mcp-server/tools/budgetsGet.ts +2 -2
- package/packages/orq-rc/src/mcp-server/tools/budgetsList.ts +2 -2
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresCreate.ts +35 -0
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresCreateDocument.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresCreateMemory.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresDelete.ts +35 -0
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresDeleteDocument.ts +40 -0
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresDeleteMemory.ts +40 -0
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresList.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresListDocuments.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresListMemories.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresRetrieve.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresRetrieveDocument.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresRetrieveMemory.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresUpdate.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresUpdateDocument.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/memoryStoresUpdateMemory.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/postV2AgentsInternal.ts +33 -0
- package/packages/orq-rc/src/models/errors/getagent.ts +80 -0
- package/packages/orq-rc/src/models/errors/getagenttask.ts +80 -0
- package/packages/orq-rc/src/models/errors/index.ts +3 -0
- package/packages/orq-rc/src/models/errors/streamrunagent.ts +80 -0
- package/packages/orq-rc/src/models/operations/createbudget.ts +57 -58
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +6383 -1075
- package/packages/orq-rc/src/models/operations/creatememory.ts +265 -0
- package/packages/orq-rc/src/models/operations/creatememorydocument.ts +284 -0
- package/packages/orq-rc/src/models/operations/creatememorystore.ts +1956 -0
- package/packages/orq-rc/src/models/operations/deletememory.ts +87 -0
- package/packages/orq-rc/src/models/operations/deletememorydocument.ts +98 -0
- package/packages/orq-rc/src/models/operations/deletememorystore.ts +78 -0
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +36 -27
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +31 -24
- package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
- package/packages/orq-rc/src/models/operations/getagent.ts +1171 -0
- package/packages/orq-rc/src/models/operations/getagenttask.ts +257 -0
- package/packages/orq-rc/src/models/operations/getallmemories.ts +315 -0
- package/packages/orq-rc/src/models/operations/getallmemorydocuments.ts +335 -0
- package/packages/orq-rc/src/models/operations/getallmemorystores.ts +1241 -0
- package/packages/orq-rc/src/models/operations/getbudget.ts +2 -11
- package/packages/orq-rc/src/models/operations/getevals.ts +1362 -1166
- package/packages/orq-rc/src/models/operations/index.ts +24 -0
- package/packages/orq-rc/src/models/operations/listactions.ts +517 -0
- package/packages/orq-rc/src/models/operations/listagents.ts +1335 -0
- package/packages/orq-rc/src/models/operations/listbudgets.ts +5 -15
- package/packages/orq-rc/src/models/operations/listchunks.ts +21 -21
- package/packages/orq-rc/src/models/operations/listcontacts.ts +44 -37
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +29 -22
- package/packages/orq-rc/src/models/operations/postv2agentsinternal.ts +103 -0
- package/packages/orq-rc/src/models/operations/retrieveaction.ts +419 -0
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievememory.ts +198 -0
- package/packages/orq-rc/src/models/operations/retrievememorydocument.ts +217 -0
- package/packages/orq-rc/src/models/operations/retrievememorystore.ts +1124 -0
- package/packages/orq-rc/src/models/operations/reviewaction.ts +258 -0
- package/packages/orq-rc/src/models/operations/runagent.ts +3428 -0
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +3361 -0
- package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -11
- package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateeval.ts +6627 -1224
- package/packages/orq-rc/src/models/operations/updatememory.ts +274 -0
- package/packages/orq-rc/src/models/operations/updatememorydocument.ts +293 -0
- package/packages/orq-rc/src/models/operations/updatememorystore.ts +1348 -0
- package/packages/orq-rc/src/models/operations/updateprompt.ts +64 -19
- package/packages/orq-rc/src/sdk/agents.ts +148 -0
- package/packages/orq-rc/src/sdk/budgets.ts +5 -5
- package/packages/orq-rc/src/sdk/memorystores.ts +286 -0
- package/packages/orq-rc/src/sdk/sdk.ts +27 -1
- package/src/funcs/deploymentsStream.ts +11 -10
- package/src/lib/config.ts +3 -3
- package/src/lib/event-streams.ts +6 -8
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +16 -16
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +16 -16
- package/packages/orq-rc/examples/contactsCreate.example.ts +0 -42
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { postV2AgentsInternal } from "../../funcs/postV2AgentsInternal.js";
|
|
6
|
+
import * as operations from "../../models/operations/index.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: operations.PostV2AgentsInternalRequestBody$inboundSchema.optional(),
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$postV2AgentsInternal: ToolDefinition<typeof args> = {
|
|
14
|
+
name: "post-v2-agents-internal",
|
|
15
|
+
description: ``,
|
|
16
|
+
args,
|
|
17
|
+
tool: async (client, args, ctx) => {
|
|
18
|
+
const [result, apiCall] = await postV2AgentsInternal(
|
|
19
|
+
client,
|
|
20
|
+
args.request,
|
|
21
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
22
|
+
).$inspect();
|
|
23
|
+
|
|
24
|
+
if (!result.ok) {
|
|
25
|
+
return {
|
|
26
|
+
content: [{ type: "text", text: result.error.message }],
|
|
27
|
+
isError: true,
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
return formatResult(void 0, apiCall);
|
|
32
|
+
},
|
|
33
|
+
};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { OrqError } from "./orqerror.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Agent not found
|
|
10
|
+
*/
|
|
11
|
+
export type GetAgentResponseBodyData = {
|
|
12
|
+
message: string;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Agent not found
|
|
17
|
+
*/
|
|
18
|
+
export class GetAgentResponseBody extends OrqError {
|
|
19
|
+
/** The original data that was passed to this error instance. */
|
|
20
|
+
data$: GetAgentResponseBodyData;
|
|
21
|
+
|
|
22
|
+
constructor(
|
|
23
|
+
err: GetAgentResponseBodyData,
|
|
24
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
25
|
+
) {
|
|
26
|
+
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
27
|
+
super(message, httpMeta);
|
|
28
|
+
this.data$ = err;
|
|
29
|
+
|
|
30
|
+
this.name = "GetAgentResponseBody";
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export const GetAgentResponseBody$inboundSchema: z.ZodType<
|
|
36
|
+
GetAgentResponseBody,
|
|
37
|
+
z.ZodTypeDef,
|
|
38
|
+
unknown
|
|
39
|
+
> = z.object({
|
|
40
|
+
message: z.string(),
|
|
41
|
+
request$: z.instanceof(Request),
|
|
42
|
+
response$: z.instanceof(Response),
|
|
43
|
+
body$: z.string(),
|
|
44
|
+
})
|
|
45
|
+
.transform((v) => {
|
|
46
|
+
return new GetAgentResponseBody(v, {
|
|
47
|
+
request: v.request$,
|
|
48
|
+
response: v.response$,
|
|
49
|
+
body: v.body$,
|
|
50
|
+
});
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
/** @internal */
|
|
54
|
+
export type GetAgentResponseBody$Outbound = {
|
|
55
|
+
message: string;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
/** @internal */
|
|
59
|
+
export const GetAgentResponseBody$outboundSchema: z.ZodType<
|
|
60
|
+
GetAgentResponseBody$Outbound,
|
|
61
|
+
z.ZodTypeDef,
|
|
62
|
+
GetAgentResponseBody
|
|
63
|
+
> = z.instanceof(GetAgentResponseBody)
|
|
64
|
+
.transform(v => v.data$)
|
|
65
|
+
.pipe(z.object({
|
|
66
|
+
message: z.string(),
|
|
67
|
+
}));
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
72
|
+
*/
|
|
73
|
+
export namespace GetAgentResponseBody$ {
|
|
74
|
+
/** @deprecated use `GetAgentResponseBody$inboundSchema` instead. */
|
|
75
|
+
export const inboundSchema = GetAgentResponseBody$inboundSchema;
|
|
76
|
+
/** @deprecated use `GetAgentResponseBody$outboundSchema` instead. */
|
|
77
|
+
export const outboundSchema = GetAgentResponseBody$outboundSchema;
|
|
78
|
+
/** @deprecated use `GetAgentResponseBody$Outbound` instead. */
|
|
79
|
+
export type Outbound = GetAgentResponseBody$Outbound;
|
|
80
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { OrqError } from "./orqerror.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Agent task not found
|
|
10
|
+
*/
|
|
11
|
+
export type GetAgentTaskResponseBodyData = {
|
|
12
|
+
message: string;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Agent task not found
|
|
17
|
+
*/
|
|
18
|
+
export class GetAgentTaskResponseBody extends OrqError {
|
|
19
|
+
/** The original data that was passed to this error instance. */
|
|
20
|
+
data$: GetAgentTaskResponseBodyData;
|
|
21
|
+
|
|
22
|
+
constructor(
|
|
23
|
+
err: GetAgentTaskResponseBodyData,
|
|
24
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
25
|
+
) {
|
|
26
|
+
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
27
|
+
super(message, httpMeta);
|
|
28
|
+
this.data$ = err;
|
|
29
|
+
|
|
30
|
+
this.name = "GetAgentTaskResponseBody";
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export const GetAgentTaskResponseBody$inboundSchema: z.ZodType<
|
|
36
|
+
GetAgentTaskResponseBody,
|
|
37
|
+
z.ZodTypeDef,
|
|
38
|
+
unknown
|
|
39
|
+
> = z.object({
|
|
40
|
+
message: z.string(),
|
|
41
|
+
request$: z.instanceof(Request),
|
|
42
|
+
response$: z.instanceof(Response),
|
|
43
|
+
body$: z.string(),
|
|
44
|
+
})
|
|
45
|
+
.transform((v) => {
|
|
46
|
+
return new GetAgentTaskResponseBody(v, {
|
|
47
|
+
request: v.request$,
|
|
48
|
+
response: v.response$,
|
|
49
|
+
body: v.body$,
|
|
50
|
+
});
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
/** @internal */
|
|
54
|
+
export type GetAgentTaskResponseBody$Outbound = {
|
|
55
|
+
message: string;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
/** @internal */
|
|
59
|
+
export const GetAgentTaskResponseBody$outboundSchema: z.ZodType<
|
|
60
|
+
GetAgentTaskResponseBody$Outbound,
|
|
61
|
+
z.ZodTypeDef,
|
|
62
|
+
GetAgentTaskResponseBody
|
|
63
|
+
> = z.instanceof(GetAgentTaskResponseBody)
|
|
64
|
+
.transform(v => v.data$)
|
|
65
|
+
.pipe(z.object({
|
|
66
|
+
message: z.string(),
|
|
67
|
+
}));
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
72
|
+
*/
|
|
73
|
+
export namespace GetAgentTaskResponseBody$ {
|
|
74
|
+
/** @deprecated use `GetAgentTaskResponseBody$inboundSchema` instead. */
|
|
75
|
+
export const inboundSchema = GetAgentTaskResponseBody$inboundSchema;
|
|
76
|
+
/** @deprecated use `GetAgentTaskResponseBody$outboundSchema` instead. */
|
|
77
|
+
export const outboundSchema = GetAgentTaskResponseBody$outboundSchema;
|
|
78
|
+
/** @deprecated use `GetAgentTaskResponseBody$Outbound` instead. */
|
|
79
|
+
export type Outbound = GetAgentTaskResponseBody$Outbound;
|
|
80
|
+
}
|
|
@@ -43,6 +43,8 @@ export * from "./evalssummarization.js";
|
|
|
43
43
|
export * from "./evalstoneofvoice.js";
|
|
44
44
|
export * from "./evalstranslation.js";
|
|
45
45
|
export * from "./evalsvalidjson.js";
|
|
46
|
+
export * from "./getagent.js";
|
|
47
|
+
export * from "./getagenttask.js";
|
|
46
48
|
export * from "./getevals.js";
|
|
47
49
|
export * from "./getpromptversion.js";
|
|
48
50
|
export * from "./honoapierror.js";
|
|
@@ -51,6 +53,7 @@ export * from "./invokeeval.js";
|
|
|
51
53
|
export * from "./responsevalidationerror.js";
|
|
52
54
|
export * from "./retrievecontact.js";
|
|
53
55
|
export * from "./sdkvalidationerror.js";
|
|
56
|
+
export * from "./streamrunagent.js";
|
|
54
57
|
export * from "./updatecontact.js";
|
|
55
58
|
export * from "./updateeval.js";
|
|
56
59
|
export * from "./updateprompt.js";
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { OrqError } from "./orqerror.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Model not found
|
|
10
|
+
*/
|
|
11
|
+
export type StreamRunAgentResponseBodyData = {
|
|
12
|
+
message: string;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Model not found
|
|
17
|
+
*/
|
|
18
|
+
export class StreamRunAgentResponseBody extends OrqError {
|
|
19
|
+
/** The original data that was passed to this error instance. */
|
|
20
|
+
data$: StreamRunAgentResponseBodyData;
|
|
21
|
+
|
|
22
|
+
constructor(
|
|
23
|
+
err: StreamRunAgentResponseBodyData,
|
|
24
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
25
|
+
) {
|
|
26
|
+
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
27
|
+
super(message, httpMeta);
|
|
28
|
+
this.data$ = err;
|
|
29
|
+
|
|
30
|
+
this.name = "StreamRunAgentResponseBody";
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export const StreamRunAgentResponseBody$inboundSchema: z.ZodType<
|
|
36
|
+
StreamRunAgentResponseBody,
|
|
37
|
+
z.ZodTypeDef,
|
|
38
|
+
unknown
|
|
39
|
+
> = z.object({
|
|
40
|
+
message: z.string(),
|
|
41
|
+
request$: z.instanceof(Request),
|
|
42
|
+
response$: z.instanceof(Response),
|
|
43
|
+
body$: z.string(),
|
|
44
|
+
})
|
|
45
|
+
.transform((v) => {
|
|
46
|
+
return new StreamRunAgentResponseBody(v, {
|
|
47
|
+
request: v.request$,
|
|
48
|
+
response: v.response$,
|
|
49
|
+
body: v.body$,
|
|
50
|
+
});
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
/** @internal */
|
|
54
|
+
export type StreamRunAgentResponseBody$Outbound = {
|
|
55
|
+
message: string;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
/** @internal */
|
|
59
|
+
export const StreamRunAgentResponseBody$outboundSchema: z.ZodType<
|
|
60
|
+
StreamRunAgentResponseBody$Outbound,
|
|
61
|
+
z.ZodTypeDef,
|
|
62
|
+
StreamRunAgentResponseBody
|
|
63
|
+
> = z.instanceof(StreamRunAgentResponseBody)
|
|
64
|
+
.transform(v => v.data$)
|
|
65
|
+
.pipe(z.object({
|
|
66
|
+
message: z.string(),
|
|
67
|
+
}));
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
72
|
+
*/
|
|
73
|
+
export namespace StreamRunAgentResponseBody$ {
|
|
74
|
+
/** @deprecated use `StreamRunAgentResponseBody$inboundSchema` instead. */
|
|
75
|
+
export const inboundSchema = StreamRunAgentResponseBody$inboundSchema;
|
|
76
|
+
/** @deprecated use `StreamRunAgentResponseBody$outboundSchema` instead. */
|
|
77
|
+
export const outboundSchema = StreamRunAgentResponseBody$outboundSchema;
|
|
78
|
+
/** @deprecated use `StreamRunAgentResponseBody$Outbound` instead. */
|
|
79
|
+
export type Outbound = StreamRunAgentResponseBody$Outbound;
|
|
80
|
+
}
|
|
@@ -36,7 +36,10 @@ export const RequestBodyPeriod = {
|
|
|
36
36
|
*/
|
|
37
37
|
export type RequestBodyPeriod = ClosedEnum<typeof RequestBodyPeriod>;
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
/**
|
|
40
|
+
* Budget configuration for the entire workspace
|
|
41
|
+
*/
|
|
42
|
+
export type WorkspaceBudget = {
|
|
40
43
|
/**
|
|
41
44
|
* Workspace budget type
|
|
42
45
|
*/
|
|
@@ -80,7 +83,10 @@ export type CreateBudgetRequestBodyPeriod = ClosedEnum<
|
|
|
80
83
|
typeof CreateBudgetRequestBodyPeriod
|
|
81
84
|
>;
|
|
82
85
|
|
|
83
|
-
|
|
86
|
+
/**
|
|
87
|
+
* Budget configuration for a specific contact
|
|
88
|
+
*/
|
|
89
|
+
export type ContactBudget = {
|
|
84
90
|
/**
|
|
85
91
|
* Contact budget type
|
|
86
92
|
*/
|
|
@@ -102,7 +108,7 @@ export type RequestBody1 = {
|
|
|
102
108
|
/**
|
|
103
109
|
* Create budget configuration for contact or workspace
|
|
104
110
|
*/
|
|
105
|
-
export type CreateBudgetRequestBody =
|
|
111
|
+
export type CreateBudgetRequestBody = ContactBudget | WorkspaceBudget;
|
|
106
112
|
|
|
107
113
|
/**
|
|
108
114
|
* Budget entity type
|
|
@@ -180,10 +186,6 @@ export type CreateBudgetResponseBody = {
|
|
|
180
186
|
* Contact external identifier (present when type is "contact")
|
|
181
187
|
*/
|
|
182
188
|
contactId?: string | undefined;
|
|
183
|
-
/**
|
|
184
|
-
* API Key identifier (present when type is "api_key")
|
|
185
|
-
*/
|
|
186
|
-
apiKeyId?: string | undefined;
|
|
187
189
|
/**
|
|
188
190
|
* Budget configuration
|
|
189
191
|
*/
|
|
@@ -247,8 +249,8 @@ export namespace RequestBodyPeriod$ {
|
|
|
247
249
|
}
|
|
248
250
|
|
|
249
251
|
/** @internal */
|
|
250
|
-
export const
|
|
251
|
-
|
|
252
|
+
export const WorkspaceBudget$inboundSchema: z.ZodType<
|
|
253
|
+
WorkspaceBudget,
|
|
252
254
|
z.ZodTypeDef,
|
|
253
255
|
unknown
|
|
254
256
|
> = z.object({
|
|
@@ -258,17 +260,17 @@ export const RequestBody2$inboundSchema: z.ZodType<
|
|
|
258
260
|
});
|
|
259
261
|
|
|
260
262
|
/** @internal */
|
|
261
|
-
export type
|
|
263
|
+
export type WorkspaceBudget$Outbound = {
|
|
262
264
|
type: string;
|
|
263
265
|
period: string;
|
|
264
266
|
amount: number;
|
|
265
267
|
};
|
|
266
268
|
|
|
267
269
|
/** @internal */
|
|
268
|
-
export const
|
|
269
|
-
|
|
270
|
+
export const WorkspaceBudget$outboundSchema: z.ZodType<
|
|
271
|
+
WorkspaceBudget$Outbound,
|
|
270
272
|
z.ZodTypeDef,
|
|
271
|
-
|
|
273
|
+
WorkspaceBudget
|
|
272
274
|
> = z.object({
|
|
273
275
|
type: CreateBudgetRequestBodyBudgetsType$outboundSchema,
|
|
274
276
|
period: RequestBodyPeriod$outboundSchema,
|
|
@@ -279,26 +281,28 @@ export const RequestBody2$outboundSchema: z.ZodType<
|
|
|
279
281
|
* @internal
|
|
280
282
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
281
283
|
*/
|
|
282
|
-
export namespace
|
|
283
|
-
/** @deprecated use `
|
|
284
|
-
export const inboundSchema =
|
|
285
|
-
/** @deprecated use `
|
|
286
|
-
export const outboundSchema =
|
|
287
|
-
/** @deprecated use `
|
|
288
|
-
export type Outbound =
|
|
284
|
+
export namespace WorkspaceBudget$ {
|
|
285
|
+
/** @deprecated use `WorkspaceBudget$inboundSchema` instead. */
|
|
286
|
+
export const inboundSchema = WorkspaceBudget$inboundSchema;
|
|
287
|
+
/** @deprecated use `WorkspaceBudget$outboundSchema` instead. */
|
|
288
|
+
export const outboundSchema = WorkspaceBudget$outboundSchema;
|
|
289
|
+
/** @deprecated use `WorkspaceBudget$Outbound` instead. */
|
|
290
|
+
export type Outbound = WorkspaceBudget$Outbound;
|
|
289
291
|
}
|
|
290
292
|
|
|
291
|
-
export function
|
|
292
|
-
|
|
293
|
+
export function workspaceBudgetToJSON(
|
|
294
|
+
workspaceBudget: WorkspaceBudget,
|
|
295
|
+
): string {
|
|
296
|
+
return JSON.stringify(WorkspaceBudget$outboundSchema.parse(workspaceBudget));
|
|
293
297
|
}
|
|
294
298
|
|
|
295
|
-
export function
|
|
299
|
+
export function workspaceBudgetFromJSON(
|
|
296
300
|
jsonString: string,
|
|
297
|
-
): SafeParseResult<
|
|
301
|
+
): SafeParseResult<WorkspaceBudget, SDKValidationError> {
|
|
298
302
|
return safeParse(
|
|
299
303
|
jsonString,
|
|
300
|
-
(x) =>
|
|
301
|
-
`Failed to parse '
|
|
304
|
+
(x) => WorkspaceBudget$inboundSchema.parse(JSON.parse(x)),
|
|
305
|
+
`Failed to parse 'WorkspaceBudget' from JSON`,
|
|
302
306
|
);
|
|
303
307
|
}
|
|
304
308
|
|
|
@@ -345,8 +349,8 @@ export namespace CreateBudgetRequestBodyPeriod$ {
|
|
|
345
349
|
}
|
|
346
350
|
|
|
347
351
|
/** @internal */
|
|
348
|
-
export const
|
|
349
|
-
|
|
352
|
+
export const ContactBudget$inboundSchema: z.ZodType<
|
|
353
|
+
ContactBudget,
|
|
350
354
|
z.ZodTypeDef,
|
|
351
355
|
unknown
|
|
352
356
|
> = z.object({
|
|
@@ -361,7 +365,7 @@ export const RequestBody1$inboundSchema: z.ZodType<
|
|
|
361
365
|
});
|
|
362
366
|
|
|
363
367
|
/** @internal */
|
|
364
|
-
export type
|
|
368
|
+
export type ContactBudget$Outbound = {
|
|
365
369
|
type: string;
|
|
366
370
|
entity_id: string;
|
|
367
371
|
period: string;
|
|
@@ -369,10 +373,10 @@ export type RequestBody1$Outbound = {
|
|
|
369
373
|
};
|
|
370
374
|
|
|
371
375
|
/** @internal */
|
|
372
|
-
export const
|
|
373
|
-
|
|
376
|
+
export const ContactBudget$outboundSchema: z.ZodType<
|
|
377
|
+
ContactBudget$Outbound,
|
|
374
378
|
z.ZodTypeDef,
|
|
375
|
-
|
|
379
|
+
ContactBudget
|
|
376
380
|
> = z.object({
|
|
377
381
|
type: CreateBudgetRequestBodyType$outboundSchema,
|
|
378
382
|
entityId: z.string(),
|
|
@@ -388,26 +392,26 @@ export const RequestBody1$outboundSchema: z.ZodType<
|
|
|
388
392
|
* @internal
|
|
389
393
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
390
394
|
*/
|
|
391
|
-
export namespace
|
|
392
|
-
/** @deprecated use `
|
|
393
|
-
export const inboundSchema =
|
|
394
|
-
/** @deprecated use `
|
|
395
|
-
export const outboundSchema =
|
|
396
|
-
/** @deprecated use `
|
|
397
|
-
export type Outbound =
|
|
395
|
+
export namespace ContactBudget$ {
|
|
396
|
+
/** @deprecated use `ContactBudget$inboundSchema` instead. */
|
|
397
|
+
export const inboundSchema = ContactBudget$inboundSchema;
|
|
398
|
+
/** @deprecated use `ContactBudget$outboundSchema` instead. */
|
|
399
|
+
export const outboundSchema = ContactBudget$outboundSchema;
|
|
400
|
+
/** @deprecated use `ContactBudget$Outbound` instead. */
|
|
401
|
+
export type Outbound = ContactBudget$Outbound;
|
|
398
402
|
}
|
|
399
403
|
|
|
400
|
-
export function
|
|
401
|
-
return JSON.stringify(
|
|
404
|
+
export function contactBudgetToJSON(contactBudget: ContactBudget): string {
|
|
405
|
+
return JSON.stringify(ContactBudget$outboundSchema.parse(contactBudget));
|
|
402
406
|
}
|
|
403
407
|
|
|
404
|
-
export function
|
|
408
|
+
export function contactBudgetFromJSON(
|
|
405
409
|
jsonString: string,
|
|
406
|
-
): SafeParseResult<
|
|
410
|
+
): SafeParseResult<ContactBudget, SDKValidationError> {
|
|
407
411
|
return safeParse(
|
|
408
412
|
jsonString,
|
|
409
|
-
(x) =>
|
|
410
|
-
`Failed to parse '
|
|
413
|
+
(x) => ContactBudget$inboundSchema.parse(JSON.parse(x)),
|
|
414
|
+
`Failed to parse 'ContactBudget' from JSON`,
|
|
411
415
|
);
|
|
412
416
|
}
|
|
413
417
|
|
|
@@ -417,14 +421,14 @@ export const CreateBudgetRequestBody$inboundSchema: z.ZodType<
|
|
|
417
421
|
z.ZodTypeDef,
|
|
418
422
|
unknown
|
|
419
423
|
> = z.union([
|
|
420
|
-
z.lazy(() =>
|
|
421
|
-
z.lazy(() =>
|
|
424
|
+
z.lazy(() => ContactBudget$inboundSchema),
|
|
425
|
+
z.lazy(() => WorkspaceBudget$inboundSchema),
|
|
422
426
|
]);
|
|
423
427
|
|
|
424
428
|
/** @internal */
|
|
425
429
|
export type CreateBudgetRequestBody$Outbound =
|
|
426
|
-
|
|
|
427
|
-
|
|
|
430
|
+
| ContactBudget$Outbound
|
|
431
|
+
| WorkspaceBudget$Outbound;
|
|
428
432
|
|
|
429
433
|
/** @internal */
|
|
430
434
|
export const CreateBudgetRequestBody$outboundSchema: z.ZodType<
|
|
@@ -432,8 +436,8 @@ export const CreateBudgetRequestBody$outboundSchema: z.ZodType<
|
|
|
432
436
|
z.ZodTypeDef,
|
|
433
437
|
CreateBudgetRequestBody
|
|
434
438
|
> = z.union([
|
|
435
|
-
z.lazy(() =>
|
|
436
|
-
z.lazy(() =>
|
|
439
|
+
z.lazy(() => ContactBudget$outboundSchema),
|
|
440
|
+
z.lazy(() => WorkspaceBudget$outboundSchema),
|
|
437
441
|
]);
|
|
438
442
|
|
|
439
443
|
/**
|
|
@@ -648,20 +652,18 @@ export const CreateBudgetResponseBody$inboundSchema: z.ZodType<
|
|
|
648
652
|
_id: z.string(),
|
|
649
653
|
type: CreateBudgetType$inboundSchema,
|
|
650
654
|
contact_id: z.string().optional(),
|
|
651
|
-
api_key_id: z.string().optional(),
|
|
652
655
|
budget: z.lazy(() => CreateBudgetBudget$inboundSchema),
|
|
653
656
|
is_active: z.boolean(),
|
|
654
657
|
consumption: z.lazy(() => Consumption$inboundSchema).optional(),
|
|
655
658
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
656
659
|
.optional(),
|
|
657
660
|
updated: z.string().datetime({ offset: true }).default(
|
|
658
|
-
"2025-09-
|
|
661
|
+
"2025-09-09T09:35:11.330Z",
|
|
659
662
|
).transform(v => new Date(v)),
|
|
660
663
|
}).transform((v) => {
|
|
661
664
|
return remap$(v, {
|
|
662
665
|
"_id": "id",
|
|
663
666
|
"contact_id": "contactId",
|
|
664
|
-
"api_key_id": "apiKeyId",
|
|
665
667
|
"is_active": "isActive",
|
|
666
668
|
});
|
|
667
669
|
});
|
|
@@ -671,7 +673,6 @@ export type CreateBudgetResponseBody$Outbound = {
|
|
|
671
673
|
_id: string;
|
|
672
674
|
type: string;
|
|
673
675
|
contact_id?: string | undefined;
|
|
674
|
-
api_key_id?: string | undefined;
|
|
675
676
|
budget: CreateBudgetBudget$Outbound;
|
|
676
677
|
is_active: boolean;
|
|
677
678
|
consumption?: Consumption$Outbound | undefined;
|
|
@@ -688,18 +689,16 @@ export const CreateBudgetResponseBody$outboundSchema: z.ZodType<
|
|
|
688
689
|
id: z.string(),
|
|
689
690
|
type: CreateBudgetType$outboundSchema,
|
|
690
691
|
contactId: z.string().optional(),
|
|
691
|
-
apiKeyId: z.string().optional(),
|
|
692
692
|
budget: z.lazy(() => CreateBudgetBudget$outboundSchema),
|
|
693
693
|
isActive: z.boolean(),
|
|
694
694
|
consumption: z.lazy(() => Consumption$outboundSchema).optional(),
|
|
695
695
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
696
|
-
updated: z.date().default(() => new Date("2025-09-
|
|
696
|
+
updated: z.date().default(() => new Date("2025-09-09T09:35:11.330Z"))
|
|
697
697
|
.transform(v => v.toISOString()),
|
|
698
698
|
}).transform((v) => {
|
|
699
699
|
return remap$(v, {
|
|
700
700
|
id: "_id",
|
|
701
701
|
contactId: "contact_id",
|
|
702
|
-
apiKeyId: "api_key_id",
|
|
703
702
|
isActive: "is_active",
|
|
704
703
|
});
|
|
705
704
|
});
|
|
@@ -182,7 +182,7 @@ export const CreateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
182
182
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
183
183
|
.optional(),
|
|
184
184
|
updated: z.string().datetime({ offset: true }).default(
|
|
185
|
-
"2025-09-
|
|
185
|
+
"2025-09-09T09:35:11.330Z",
|
|
186
186
|
).transform(v => new Date(v)),
|
|
187
187
|
}).transform((v) => {
|
|
188
188
|
return remap$(v, {
|
|
@@ -223,7 +223,7 @@ export const CreateContactResponseBody$outboundSchema: z.ZodType<
|
|
|
223
223
|
tags: z.array(z.string()).optional(),
|
|
224
224
|
metadata: z.record(z.any()).optional(),
|
|
225
225
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
226
|
-
updated: z.date().default(() => new Date("2025-09-
|
|
226
|
+
updated: z.date().default(() => new Date("2025-09-09T09:35:11.330Z"))
|
|
227
227
|
.transform(v => v.toISOString()),
|
|
228
228
|
}).transform((v) => {
|
|
229
229
|
return remap$(v, {
|
|
@@ -211,7 +211,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
211
211
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
212
212
|
.optional(),
|
|
213
213
|
updated: z.string().datetime({ offset: true }).default(
|
|
214
|
-
"2025-09-
|
|
214
|
+
"2025-09-09T09:35:11.330Z",
|
|
215
215
|
).transform(v => new Date(v)),
|
|
216
216
|
}).transform((v) => {
|
|
217
217
|
return remap$(v, {
|
|
@@ -251,7 +251,7 @@ export const CreateDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
251
251
|
updatedById: z.string().optional(),
|
|
252
252
|
metadata: z.lazy(() => CreateDatasetMetadata$outboundSchema),
|
|
253
253
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
254
|
-
updated: z.date().default(() => new Date("2025-09-
|
|
254
|
+
updated: z.date().default(() => new Date("2025-09-09T09:35:11.330Z"))
|
|
255
255
|
.transform(v => v.toISOString()),
|
|
256
256
|
}).transform((v) => {
|
|
257
257
|
return remap$(v, {
|
|
@@ -6081,7 +6081,7 @@ export const ResponseBody$inboundSchema: z.ZodType<
|
|
|
6081
6081
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
6082
6082
|
.optional(),
|
|
6083
6083
|
updated: z.string().datetime({ offset: true }).default(
|
|
6084
|
-
"2025-09-
|
|
6084
|
+
"2025-09-09T09:35:11.330Z",
|
|
6085
6085
|
).transform(v => new Date(v)),
|
|
6086
6086
|
}).transform((v) => {
|
|
6087
6087
|
return remap$(v, {
|
|
@@ -6145,7 +6145,7 @@ export const ResponseBody$outboundSchema: z.ZodType<
|
|
|
6145
6145
|
createdById: z.string().optional(),
|
|
6146
6146
|
updatedById: z.string().optional(),
|
|
6147
6147
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
6148
|
-
updated: z.date().default(() => new Date("2025-09-
|
|
6148
|
+
updated: z.date().default(() => new Date("2025-09-09T09:35:11.330Z"))
|
|
6149
6149
|
.transform(v => v.toISOString()),
|
|
6150
6150
|
}).transform((v) => {
|
|
6151
6151
|
return remap$(v, {
|
|
@@ -751,7 +751,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
751
751
|
z.ZodTypeDef,
|
|
752
752
|
unknown
|
|
753
753
|
> = z.object({
|
|
754
|
-
_id: z.string().default("
|
|
754
|
+
_id: z.string().default("01K4PX8V6VYFJJYDVSJNQT62P0"),
|
|
755
755
|
display_name: z.string(),
|
|
756
756
|
description: z.string().optional(),
|
|
757
757
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -795,7 +795,7 @@ export const CreateDatasourceResponseBody$outboundSchema: z.ZodType<
|
|
|
795
795
|
z.ZodTypeDef,
|
|
796
796
|
CreateDatasourceResponseBody
|
|
797
797
|
> = z.object({
|
|
798
|
-
id: z.string().default("
|
|
798
|
+
id: z.string().default("01K4PX8V6VYFJJYDVSJNQT62P0"),
|
|
799
799
|
displayName: z.string(),
|
|
800
800
|
description: z.string().optional(),
|
|
801
801
|
status: CreateDatasourceStatus$outboundSchema,
|