@orq-ai/node 4.1.0-rc.1 → 4.1.0-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mcp-server.js +252 -252
- package/bin/mcp-server.js.map +52 -52
- package/docs/sdks/agents/README.md +10 -10
- package/docs/sdks/responses/README.md +5 -5
- package/examples/package-lock.json +1 -1
- package/funcs/agentsCreate.d.ts +1 -1
- package/funcs/agentsCreate.d.ts.map +1 -1
- package/funcs/agentsCreate.js +2 -4
- package/funcs/agentsCreate.js.map +1 -1
- package/funcs/agentsResponsesCreate.d.ts +1 -1
- package/funcs/agentsResponsesCreate.d.ts.map +1 -1
- package/funcs/agentsResponsesCreate.js +4 -4
- package/funcs/agentsResponsesCreate.js.map +1 -1
- package/funcs/agentsRun.d.ts +1 -1
- package/funcs/agentsRun.d.ts.map +1 -1
- package/funcs/agentsRun.js +2 -4
- package/funcs/agentsRun.js.map +1 -1
- package/funcs/agentsStream.d.ts +1 -1
- package/funcs/agentsStream.d.ts.map +1 -1
- package/funcs/agentsStream.js +4 -4
- package/funcs/agentsStream.js.map +1 -1
- package/funcs/agentsStreamRun.d.ts +1 -1
- package/funcs/agentsStreamRun.d.ts.map +1 -1
- package/funcs/agentsStreamRun.js +2 -4
- package/funcs/agentsStreamRun.js.map +1 -1
- package/funcs/agentsUpdate.d.ts +1 -1
- package/funcs/agentsUpdate.d.ts.map +1 -1
- package/funcs/agentsUpdate.js +4 -4
- package/funcs/agentsUpdate.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/mcp-server/tools/agentsCreate.d.ts +1 -1
- package/mcp-server/tools/agentsCreate.js +1 -1
- package/mcp-server/tools/agentsCreate.js.map +1 -1
- package/mcp-server/tools/agentsResponsesCreate.d.ts +1 -1
- package/mcp-server/tools/agentsResponsesCreate.d.ts.map +1 -1
- package/mcp-server/tools/agentsResponsesCreate.js +2 -3
- package/mcp-server/tools/agentsResponsesCreate.js.map +1 -1
- package/mcp-server/tools/agentsRun.d.ts +1 -1
- package/mcp-server/tools/agentsRun.js +1 -1
- package/mcp-server/tools/agentsRun.js.map +1 -1
- package/mcp-server/tools/agentsStream.d.ts +1 -1
- package/mcp-server/tools/agentsStream.js +2 -2
- package/mcp-server/tools/agentsStream.js.map +1 -1
- package/mcp-server/tools/agentsStreamRun.d.ts +1 -1
- package/mcp-server/tools/agentsStreamRun.js +1 -1
- package/mcp-server/tools/agentsStreamRun.js.map +1 -1
- package/mcp-server/tools/agentsUpdate.d.ts +1 -1
- package/mcp-server/tools/agentsUpdate.d.ts.map +1 -1
- package/mcp-server/tools/agentsUpdate.js +2 -3
- package/mcp-server/tools/agentsUpdate.js.map +1 -1
- package/models/operations/createagentresponserequest.d.ts +2 -2
- package/models/operations/createagentresponserequest.d.ts.map +1 -1
- package/models/operations/createagentresponserequest.js +2 -3
- package/models/operations/createagentresponserequest.js.map +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 +8 -8
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/createtool.js +12 -12
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getalltools.js +12 -12
- 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 +8 -8
- 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 +8 -8
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.js +12 -12
- package/models/operations/runagent.js +2 -2
- package/models/operations/streamagent.d.ts +2 -2
- package/models/operations/streamagent.d.ts.map +1 -1
- package/models/operations/streamagent.js +2 -2
- package/models/operations/streamagent.js.map +1 -1
- package/models/operations/streamrunagent.js +2 -2
- package/models/operations/updateagent.d.ts +2 -2
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +2 -4
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +8 -8
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/sdk/agents.d.ts +5 -5
- package/sdk/agents.d.ts.map +1 -1
- package/sdk/agents.js +4 -4
- package/sdk/agents.js.map +1 -1
- package/sdk/responses.d.ts +1 -1
- package/sdk/responses.d.ts.map +1 -1
- package/sdk/responses.js +2 -2
- package/sdk/responses.js.map +1 -1
- package/src/funcs/agentsCreate.ts +4 -8
- package/src/funcs/agentsResponsesCreate.ts +4 -4
- package/src/funcs/agentsRun.ts +4 -7
- package/src/funcs/agentsStream.ts +4 -4
- package/src/funcs/agentsStreamRun.ts +4 -9
- package/src/funcs/agentsUpdate.ts +4 -4
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/agentsCreate.ts +1 -1
- package/src/mcp-server/tools/agentsResponsesCreate.ts +2 -3
- package/src/mcp-server/tools/agentsRun.ts +1 -1
- package/src/mcp-server/tools/agentsStream.ts +2 -2
- package/src/mcp-server/tools/agentsStreamRun.ts +1 -1
- package/src/mcp-server/tools/agentsUpdate.ts +2 -3
- package/src/models/operations/createagentresponserequest.ts +6 -5
- 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 +8 -8
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/createtool.ts +12 -12
- 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/getalltools.ts +12 -12
- 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 +8 -8
- 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 +8 -8
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +12 -12
- package/src/models/operations/runagent.ts +2 -2
- package/src/models/operations/streamagent.ts +4 -4
- package/src/models/operations/streamrunagent.ts +2 -2
- package/src/models/operations/updateagent.ts +4 -6
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +8 -8
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updatetool.ts +14 -14
- package/src/sdk/agents.ts +7 -7
- package/src/sdk/responses.ts +2 -2
|
@@ -37,8 +37,8 @@ import { Result } from "../types/fp.js";
|
|
|
37
37
|
*/
|
|
38
38
|
export function agentsStream(
|
|
39
39
|
client: OrqCore,
|
|
40
|
+
requestBody: operations.StreamAgentRequestBody,
|
|
40
41
|
key: string,
|
|
41
|
-
requestBody?: operations.StreamAgentRequestBody | undefined,
|
|
42
42
|
options?: RequestOptions,
|
|
43
43
|
): APIPromise<
|
|
44
44
|
Result<
|
|
@@ -56,16 +56,16 @@ export function agentsStream(
|
|
|
56
56
|
> {
|
|
57
57
|
return new APIPromise($do(
|
|
58
58
|
client,
|
|
59
|
-
key,
|
|
60
59
|
requestBody,
|
|
60
|
+
key,
|
|
61
61
|
options,
|
|
62
62
|
));
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
async function $do(
|
|
66
66
|
client: OrqCore,
|
|
67
|
+
requestBody: operations.StreamAgentRequestBody,
|
|
67
68
|
key: string,
|
|
68
|
-
requestBody?: operations.StreamAgentRequestBody | undefined,
|
|
69
69
|
options?: RequestOptions,
|
|
70
70
|
): Promise<
|
|
71
71
|
[
|
|
@@ -85,8 +85,8 @@ async function $do(
|
|
|
85
85
|
]
|
|
86
86
|
> {
|
|
87
87
|
const input: operations.StreamAgentRequest = {
|
|
88
|
-
key: key,
|
|
89
88
|
requestBody: requestBody,
|
|
89
|
+
key: key,
|
|
90
90
|
};
|
|
91
91
|
|
|
92
92
|
const parsed = safeParse(
|
|
@@ -37,7 +37,7 @@ import { Result } from "../types/fp.js";
|
|
|
37
37
|
*/
|
|
38
38
|
export function agentsStreamRun(
|
|
39
39
|
client: OrqCore,
|
|
40
|
-
request
|
|
40
|
+
request: operations.StreamRunAgentRequestBody,
|
|
41
41
|
options?: RequestOptions,
|
|
42
42
|
): APIPromise<
|
|
43
43
|
Result<
|
|
@@ -62,7 +62,7 @@ export function agentsStreamRun(
|
|
|
62
62
|
|
|
63
63
|
async function $do(
|
|
64
64
|
client: OrqCore,
|
|
65
|
-
request
|
|
65
|
+
request: operations.StreamRunAgentRequestBody,
|
|
66
66
|
options?: RequestOptions,
|
|
67
67
|
): Promise<
|
|
68
68
|
[
|
|
@@ -83,19 +83,14 @@ async function $do(
|
|
|
83
83
|
> {
|
|
84
84
|
const parsed = safeParse(
|
|
85
85
|
request,
|
|
86
|
-
(value) =>
|
|
87
|
-
operations.StreamRunAgentRequestBody$outboundSchema.optional().parse(
|
|
88
|
-
value,
|
|
89
|
-
),
|
|
86
|
+
(value) => operations.StreamRunAgentRequestBody$outboundSchema.parse(value),
|
|
90
87
|
"Input validation failed",
|
|
91
88
|
);
|
|
92
89
|
if (!parsed.ok) {
|
|
93
90
|
return [parsed, { status: "invalid" }];
|
|
94
91
|
}
|
|
95
92
|
const payload = parsed.value;
|
|
96
|
-
const body = payload
|
|
97
|
-
? null
|
|
98
|
-
: encodeJSON("body", payload, { explode: true });
|
|
93
|
+
const body = encodeJSON("body", payload, { explode: true });
|
|
99
94
|
|
|
100
95
|
const path = pathToFunc("/v2/agents/stream-run")();
|
|
101
96
|
|
|
@@ -33,8 +33,8 @@ import { Result } from "../types/fp.js";
|
|
|
33
33
|
*/
|
|
34
34
|
export function agentsUpdate(
|
|
35
35
|
client: OrqCore,
|
|
36
|
+
requestBody: operations.UpdateAgentUpdateAgentRequest,
|
|
36
37
|
agentKey: string,
|
|
37
|
-
requestBody?: operations.UpdateAgentUpdateAgentRequest | undefined,
|
|
38
38
|
options?: RequestOptions,
|
|
39
39
|
): APIPromise<
|
|
40
40
|
Result<
|
|
@@ -52,16 +52,16 @@ export function agentsUpdate(
|
|
|
52
52
|
> {
|
|
53
53
|
return new APIPromise($do(
|
|
54
54
|
client,
|
|
55
|
-
agentKey,
|
|
56
55
|
requestBody,
|
|
56
|
+
agentKey,
|
|
57
57
|
options,
|
|
58
58
|
));
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
async function $do(
|
|
62
62
|
client: OrqCore,
|
|
63
|
+
requestBody: operations.UpdateAgentUpdateAgentRequest,
|
|
63
64
|
agentKey: string,
|
|
64
|
-
requestBody?: operations.UpdateAgentUpdateAgentRequest | undefined,
|
|
65
65
|
options?: RequestOptions,
|
|
66
66
|
): Promise<
|
|
67
67
|
[
|
|
@@ -81,8 +81,8 @@ async function $do(
|
|
|
81
81
|
]
|
|
82
82
|
> {
|
|
83
83
|
const input: operations.UpdateAgentRequest = {
|
|
84
|
-
agentKey: agentKey,
|
|
85
84
|
requestBody: requestBody,
|
|
85
|
+
agentKey: agentKey,
|
|
86
86
|
};
|
|
87
87
|
|
|
88
88
|
const parsed = safeParse(
|
package/src/lib/config.ts
CHANGED
|
@@ -68,7 +68,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
68
68
|
export const SDK_METADATA = {
|
|
69
69
|
language: "typescript",
|
|
70
70
|
openapiDocVersion: "2.0",
|
|
71
|
-
sdkVersion: "4.1.0-rc.
|
|
71
|
+
sdkVersion: "4.1.0-rc.3",
|
|
72
72
|
genVersion: "2.760.2",
|
|
73
|
-
userAgent: "speakeasy-sdk/typescript 4.1.0-rc.
|
|
73
|
+
userAgent: "speakeasy-sdk/typescript 4.1.0-rc.3 2.760.2 2.0 @orq-ai/node",
|
|
74
74
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -7,7 +7,7 @@ import * as operations from "../../models/operations/index.js";
|
|
|
7
7
|
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
8
|
|
|
9
9
|
const args = {
|
|
10
|
-
request: operations.CreateAgentRequestRequestBody$inboundSchema
|
|
10
|
+
request: operations.CreateAgentRequestRequestBody$inboundSchema,
|
|
11
11
|
};
|
|
12
12
|
|
|
13
13
|
export const tool$agentsCreate: ToolDefinition<typeof args> = {
|
|
@@ -8,9 +8,8 @@ import * as operations from "../../models/operations/index.js";
|
|
|
8
8
|
import { formatResult, ToolDefinition } from "../tools.js";
|
|
9
9
|
|
|
10
10
|
const args = {
|
|
11
|
+
requestBody: operations.CreateAgentResponseRequestRequestBody$inboundSchema,
|
|
11
12
|
agentKey: z.string(),
|
|
12
|
-
requestBody: operations.CreateAgentResponseRequestRequestBody$inboundSchema
|
|
13
|
-
.optional(),
|
|
14
13
|
};
|
|
15
14
|
|
|
16
15
|
export const tool$agentsResponsesCreate: ToolDefinition<typeof args> = {
|
|
@@ -22,8 +21,8 @@ Initiates an agent conversation and returns a complete response. This endpoint m
|
|
|
22
21
|
tool: async (client, args, ctx) => {
|
|
23
22
|
const [result, apiCall] = await agentsResponsesCreate(
|
|
24
23
|
client,
|
|
25
|
-
args.agentKey,
|
|
26
24
|
args.requestBody,
|
|
25
|
+
args.agentKey,
|
|
27
26
|
{ fetchOptions: { signal: ctx.signal } },
|
|
28
27
|
).$inspect();
|
|
29
28
|
|
|
@@ -7,7 +7,7 @@ import * as operations from "../../models/operations/index.js";
|
|
|
7
7
|
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
8
|
|
|
9
9
|
const args = {
|
|
10
|
-
request: operations.RunAgentRequestBody$inboundSchema
|
|
10
|
+
request: operations.RunAgentRequestBody$inboundSchema,
|
|
11
11
|
};
|
|
12
12
|
|
|
13
13
|
export const tool$agentsRun: ToolDefinition<typeof args> = {
|
|
@@ -8,8 +8,8 @@ import * as operations from "../../models/operations/index.js";
|
|
|
8
8
|
import { formatResult, ToolDefinition } from "../tools.js";
|
|
9
9
|
|
|
10
10
|
const args = {
|
|
11
|
+
requestBody: operations.StreamAgentRequestBody$inboundSchema,
|
|
11
12
|
key: z.string(),
|
|
12
|
-
requestBody: operations.StreamAgentRequestBody$inboundSchema.optional(),
|
|
13
13
|
};
|
|
14
14
|
|
|
15
15
|
export const tool$agentsStream: ToolDefinition<typeof args> = {
|
|
@@ -21,8 +21,8 @@ Executes an agent and streams the interaction in real-time using Server-Sent Eve
|
|
|
21
21
|
tool: async (client, args, ctx) => {
|
|
22
22
|
const [result, apiCall] = await agentsStream(
|
|
23
23
|
client,
|
|
24
|
-
args.key,
|
|
25
24
|
args.requestBody,
|
|
25
|
+
args.key,
|
|
26
26
|
{ fetchOptions: { signal: ctx.signal } },
|
|
27
27
|
).$inspect();
|
|
28
28
|
|
|
@@ -7,7 +7,7 @@ import * as operations from "../../models/operations/index.js";
|
|
|
7
7
|
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
8
|
|
|
9
9
|
const args = {
|
|
10
|
-
request: operations.StreamRunAgentRequestBody$inboundSchema
|
|
10
|
+
request: operations.StreamRunAgentRequestBody$inboundSchema,
|
|
11
11
|
};
|
|
12
12
|
|
|
13
13
|
export const tool$agentsStreamRun: ToolDefinition<typeof args> = {
|
|
@@ -8,9 +8,8 @@ import * as operations from "../../models/operations/index.js";
|
|
|
8
8
|
import { formatResult, ToolDefinition } from "../tools.js";
|
|
9
9
|
|
|
10
10
|
const args = {
|
|
11
|
+
requestBody: operations.UpdateAgentUpdateAgentRequest$inboundSchema,
|
|
11
12
|
agentKey: z.string(),
|
|
12
|
-
requestBody: operations.UpdateAgentUpdateAgentRequest$inboundSchema
|
|
13
|
-
.optional(),
|
|
14
13
|
};
|
|
15
14
|
|
|
16
15
|
export const tool$agentsUpdate: ToolDefinition<typeof args> = {
|
|
@@ -22,8 +21,8 @@ Modifies an existing agent's configuration with partial updates. Supports updati
|
|
|
22
21
|
tool: async (client, args, ctx) => {
|
|
23
22
|
const [result, apiCall] = await agentsUpdate(
|
|
24
23
|
client,
|
|
25
|
-
args.agentKey,
|
|
26
24
|
args.requestBody,
|
|
25
|
+
args.agentKey,
|
|
27
26
|
{ fetchOptions: { signal: ctx.signal } },
|
|
28
27
|
).$inspect();
|
|
29
28
|
|
|
@@ -235,7 +235,7 @@ export type CreateAgentResponseRequestRequest = {
|
|
|
235
235
|
* The unique key of identifier of the agent to invoke
|
|
236
236
|
*/
|
|
237
237
|
agentKey: string;
|
|
238
|
-
requestBody
|
|
238
|
+
requestBody: CreateAgentResponseRequestRequestBody;
|
|
239
239
|
};
|
|
240
240
|
|
|
241
241
|
export const CreateAgentResponseRequestAgentsResponsesRole = {
|
|
@@ -985,8 +985,9 @@ export const CreateAgentResponseRequestRequest$inboundSchema: z.ZodType<
|
|
|
985
985
|
unknown
|
|
986
986
|
> = z.object({
|
|
987
987
|
agent_key: z.string(),
|
|
988
|
-
RequestBody: z.lazy(() =>
|
|
989
|
-
|
|
988
|
+
RequestBody: z.lazy(() =>
|
|
989
|
+
CreateAgentResponseRequestRequestBody$inboundSchema
|
|
990
|
+
),
|
|
990
991
|
}).transform((v) => {
|
|
991
992
|
return remap$(v, {
|
|
992
993
|
"agent_key": "agentKey",
|
|
@@ -996,7 +997,7 @@ export const CreateAgentResponseRequestRequest$inboundSchema: z.ZodType<
|
|
|
996
997
|
/** @internal */
|
|
997
998
|
export type CreateAgentResponseRequestRequest$Outbound = {
|
|
998
999
|
agent_key: string;
|
|
999
|
-
RequestBody
|
|
1000
|
+
RequestBody: CreateAgentResponseRequestRequestBody$Outbound;
|
|
1000
1001
|
};
|
|
1001
1002
|
|
|
1002
1003
|
/** @internal */
|
|
@@ -1008,7 +1009,7 @@ export const CreateAgentResponseRequestRequest$outboundSchema: z.ZodType<
|
|
|
1008
1009
|
agentKey: z.string(),
|
|
1009
1010
|
requestBody: z.lazy(() =>
|
|
1010
1011
|
CreateAgentResponseRequestRequestBody$outboundSchema
|
|
1011
|
-
)
|
|
1012
|
+
),
|
|
1012
1013
|
}).transform((v) => {
|
|
1013
1014
|
return remap$(v, {
|
|
1014
1015
|
agentKey: "agent_key",
|
|
@@ -516,7 +516,7 @@ export const CreateBudgetResponseBody$inboundSchema: z.ZodType<
|
|
|
516
516
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
517
517
|
.optional(),
|
|
518
518
|
updated: z.string().datetime({ offset: true }).default(
|
|
519
|
-
"2025-11-
|
|
519
|
+
"2025-11-25T09:21:48.673Z",
|
|
520
520
|
).transform(v => new Date(v)),
|
|
521
521
|
}).transform((v) => {
|
|
522
522
|
return remap$(v, {
|
|
@@ -553,7 +553,7 @@ export const CreateBudgetResponseBody$outboundSchema: z.ZodType<
|
|
|
553
553
|
isActive: z.boolean(),
|
|
554
554
|
consumption: z.lazy(() => Consumption$outboundSchema).optional(),
|
|
555
555
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
556
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
556
|
+
updated: z.date().default(() => new Date("2025-11-25T09:21:48.673Z"))
|
|
557
557
|
.transform(v => v.toISOString()),
|
|
558
558
|
}).transform((v) => {
|
|
559
559
|
return remap$(v, {
|
|
@@ -167,7 +167,7 @@ export const CreateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
167
167
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
168
168
|
.optional(),
|
|
169
169
|
updated: z.string().datetime({ offset: true }).default(
|
|
170
|
-
"2025-11-
|
|
170
|
+
"2025-11-25T09:21:47.602Z",
|
|
171
171
|
).transform(v => new Date(v)),
|
|
172
172
|
}).transform((v) => {
|
|
173
173
|
return remap$(v, {
|
|
@@ -207,7 +207,7 @@ export const CreateContactResponseBody$outboundSchema: z.ZodType<
|
|
|
207
207
|
tags: z.array(z.string()).optional(),
|
|
208
208
|
metadata: z.record(z.any()).optional(),
|
|
209
209
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
210
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
210
|
+
updated: z.date().default(() => new Date("2025-11-25T09:21:47.602Z"))
|
|
211
211
|
.transform(v => v.toISOString()),
|
|
212
212
|
}).transform((v) => {
|
|
213
213
|
return remap$(v, {
|
|
@@ -187,7 +187,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
187
187
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
188
188
|
.optional(),
|
|
189
189
|
updated: z.string().datetime({ offset: true }).default(
|
|
190
|
-
"2025-11-
|
|
190
|
+
"2025-11-25T09:21:47.602Z",
|
|
191
191
|
).transform(v => new Date(v)),
|
|
192
192
|
}).transform((v) => {
|
|
193
193
|
return remap$(v, {
|
|
@@ -226,7 +226,7 @@ export const CreateDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
226
226
|
createdById: z.string().optional(),
|
|
227
227
|
updatedById: z.string().optional(),
|
|
228
228
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
229
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
229
|
+
updated: z.date().default(() => new Date("2025-11-25T09:21:47.602Z"))
|
|
230
230
|
.transform(v => v.toISOString()),
|
|
231
231
|
}).transform((v) => {
|
|
232
232
|
return remap$(v, {
|
|
@@ -4929,7 +4929,7 @@ export const Evaluations3$inboundSchema: z.ZodType<
|
|
|
4929
4929
|
source: CreateDatasetItemEvaluationsSource$inboundSchema.default("orq"),
|
|
4930
4930
|
reviewed_by_id: z.string(),
|
|
4931
4931
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
4932
|
-
"2025-11-
|
|
4932
|
+
"2025-11-25T09:22:00.058Z",
|
|
4933
4933
|
).transform(v => new Date(v)),
|
|
4934
4934
|
type: CreateDatasetItemEvaluationsDatasetsType$inboundSchema,
|
|
4935
4935
|
values: z.array(z.string()),
|
|
@@ -4964,7 +4964,7 @@ export const Evaluations3$outboundSchema: z.ZodType<
|
|
|
4964
4964
|
humanReviewId: z.string(),
|
|
4965
4965
|
source: CreateDatasetItemEvaluationsSource$outboundSchema.default("orq"),
|
|
4966
4966
|
reviewedById: z.string(),
|
|
4967
|
-
reviewedAt: z.date().default(() => new Date("2025-11-
|
|
4967
|
+
reviewedAt: z.date().default(() => new Date("2025-11-25T09:22:00.058Z"))
|
|
4968
4968
|
.transform(v => v.toISOString()),
|
|
4969
4969
|
type: CreateDatasetItemEvaluationsDatasetsType$outboundSchema,
|
|
4970
4970
|
values: z.array(z.string()),
|
|
@@ -5029,7 +5029,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
|
|
|
5029
5029
|
source: EvaluationsSource$inboundSchema.default("orq"),
|
|
5030
5030
|
reviewed_by_id: z.string(),
|
|
5031
5031
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
5032
|
-
"2025-11-
|
|
5032
|
+
"2025-11-25T09:22:00.058Z",
|
|
5033
5033
|
).transform(v => new Date(v)),
|
|
5034
5034
|
type: CreateDatasetItemEvaluationsType$inboundSchema,
|
|
5035
5035
|
value: z.number(),
|
|
@@ -5064,7 +5064,7 @@ export const Evaluations2$outboundSchema: z.ZodType<
|
|
|
5064
5064
|
humanReviewId: z.string(),
|
|
5065
5065
|
source: EvaluationsSource$outboundSchema.default("orq"),
|
|
5066
5066
|
reviewedById: z.string(),
|
|
5067
|
-
reviewedAt: z.date().default(() => new Date("2025-11-
|
|
5067
|
+
reviewedAt: z.date().default(() => new Date("2025-11-25T09:22:00.058Z"))
|
|
5068
5068
|
.transform(v => v.toISOString()),
|
|
5069
5069
|
type: CreateDatasetItemEvaluationsType$outboundSchema,
|
|
5070
5070
|
value: z.number(),
|
|
@@ -5127,7 +5127,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
|
|
|
5127
5127
|
source: Source$inboundSchema.default("orq"),
|
|
5128
5128
|
reviewed_by_id: z.string(),
|
|
5129
5129
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
5130
|
-
"2025-11-
|
|
5130
|
+
"2025-11-25T09:22:00.058Z",
|
|
5131
5131
|
).transform(v => new Date(v)),
|
|
5132
5132
|
type: EvaluationsType$inboundSchema,
|
|
5133
5133
|
value: z.string(),
|
|
@@ -5162,7 +5162,7 @@ export const Evaluations1$outboundSchema: z.ZodType<
|
|
|
5162
5162
|
humanReviewId: z.string(),
|
|
5163
5163
|
source: Source$outboundSchema.default("orq"),
|
|
5164
5164
|
reviewedById: z.string(),
|
|
5165
|
-
reviewedAt: z.date().default(() => new Date("2025-11-
|
|
5165
|
+
reviewedAt: z.date().default(() => new Date("2025-11-25T09:22:00.058Z"))
|
|
5166
5166
|
.transform(v => v.toISOString()),
|
|
5167
5167
|
type: EvaluationsType$outboundSchema,
|
|
5168
5168
|
value: z.string(),
|
|
@@ -5267,7 +5267,7 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
|
|
|
5267
5267
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
5268
5268
|
.optional(),
|
|
5269
5269
|
updated: z.string().datetime({ offset: true }).default(
|
|
5270
|
-
"2025-11-
|
|
5270
|
+
"2025-11-25T09:21:47.602Z",
|
|
5271
5271
|
).transform(v => new Date(v)),
|
|
5272
5272
|
}).transform((v) => {
|
|
5273
5273
|
return remap$(v, {
|
|
@@ -5345,7 +5345,7 @@ export const CreateDatasetItemResponseBody$outboundSchema: z.ZodType<
|
|
|
5345
5345
|
createdById: z.string().optional(),
|
|
5346
5346
|
updatedById: z.string().optional(),
|
|
5347
5347
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
5348
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
5348
|
+
updated: z.date().default(() => new Date("2025-11-25T09:21:47.602Z"))
|
|
5349
5349
|
.transform(v => v.toISOString()),
|
|
5350
5350
|
}).transform((v) => {
|
|
5351
5351
|
return remap$(v, {
|
|
@@ -608,7 +608,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
608
608
|
z.ZodTypeDef,
|
|
609
609
|
unknown
|
|
610
610
|
> = z.object({
|
|
611
|
-
_id: z.string().default("
|
|
611
|
+
_id: z.string().default("01KAX53RNQSPE60Q7Z8B74EH9E"),
|
|
612
612
|
display_name: z.string(),
|
|
613
613
|
description: z.string().optional(),
|
|
614
614
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -651,7 +651,7 @@ export const CreateDatasourceResponseBody$outboundSchema: z.ZodType<
|
|
|
651
651
|
z.ZodTypeDef,
|
|
652
652
|
CreateDatasourceResponseBody
|
|
653
653
|
> = z.object({
|
|
654
|
-
id: z.string().default("
|
|
654
|
+
id: z.string().default("01KAX53RNQSPE60Q7Z8B74EH9E"),
|
|
655
655
|
displayName: z.string(),
|
|
656
656
|
description: z.string().optional(),
|
|
657
657
|
status: CreateDatasourceStatus$outboundSchema,
|
|
@@ -2756,8 +2756,8 @@ export const Typescript$inboundSchema: z.ZodType<
|
|
|
2756
2756
|
> = z.object({
|
|
2757
2757
|
_id: z.string(),
|
|
2758
2758
|
description: z.string(),
|
|
2759
|
-
created: z.string().default("2025-11-
|
|
2760
|
-
updated: z.string().default("2025-11-
|
|
2759
|
+
created: z.string().default("2025-11-25T09:21:51.068Z"),
|
|
2760
|
+
updated: z.string().default("2025-11-25T09:21:51.068Z"),
|
|
2761
2761
|
guardrail_config: z.union([
|
|
2762
2762
|
z.lazy(() =>
|
|
2763
2763
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$inboundSchema
|
|
@@ -2799,8 +2799,8 @@ export const Typescript$outboundSchema: z.ZodType<
|
|
|
2799
2799
|
> = z.object({
|
|
2800
2800
|
id: z.string(),
|
|
2801
2801
|
description: z.string(),
|
|
2802
|
-
created: z.string().default("2025-11-
|
|
2803
|
-
updated: z.string().default("2025-11-
|
|
2802
|
+
created: z.string().default("2025-11-25T09:21:51.068Z"),
|
|
2803
|
+
updated: z.string().default("2025-11-25T09:21:51.068Z"),
|
|
2804
2804
|
guardrailConfig: z.union([
|
|
2805
2805
|
z.lazy(() =>
|
|
2806
2806
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$outboundSchema
|
|
@@ -3081,8 +3081,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
|
|
|
3081
3081
|
.object({
|
|
3082
3082
|
_id: z.string(),
|
|
3083
3083
|
description: z.string(),
|
|
3084
|
-
created: z.string().default("2025-11-
|
|
3085
|
-
updated: z.string().default("2025-11-
|
|
3084
|
+
created: z.string().default("2025-11-25T09:21:51.068Z"),
|
|
3085
|
+
updated: z.string().default("2025-11-25T09:21:51.068Z"),
|
|
3086
3086
|
guardrail_config: z.union([
|
|
3087
3087
|
z.lazy(() =>
|
|
3088
3088
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$inboundSchema
|
|
@@ -3127,8 +3127,8 @@ export const Ragas$outboundSchema: z.ZodType<
|
|
|
3127
3127
|
> = z.object({
|
|
3128
3128
|
id: z.string(),
|
|
3129
3129
|
description: z.string(),
|
|
3130
|
-
created: z.string().default("2025-11-
|
|
3131
|
-
updated: z.string().default("2025-11-
|
|
3130
|
+
created: z.string().default("2025-11-25T09:21:51.068Z"),
|
|
3131
|
+
updated: z.string().default("2025-11-25T09:21:51.068Z"),
|
|
3132
3132
|
guardrailConfig: z.union([
|
|
3133
3133
|
z.lazy(() =>
|
|
3134
3134
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$outboundSchema
|
|
@@ -5389,8 +5389,8 @@ export const CreateEvalResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
5389
5389
|
> = z.object({
|
|
5390
5390
|
_id: z.string(),
|
|
5391
5391
|
description: z.string(),
|
|
5392
|
-
created: z.string().default("2025-11-
|
|
5393
|
-
updated: z.string().default("2025-11-
|
|
5392
|
+
created: z.string().default("2025-11-25T09:21:51.068Z"),
|
|
5393
|
+
updated: z.string().default("2025-11-25T09:21:51.068Z"),
|
|
5394
5394
|
guardrail_config: z.union([
|
|
5395
5395
|
z.lazy(() =>
|
|
5396
5396
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$inboundSchema
|
|
@@ -5503,8 +5503,8 @@ export const CreateEvalResponseBodyFunction$outboundSchema: z.ZodType<
|
|
|
5503
5503
|
> = z.object({
|
|
5504
5504
|
id: z.string(),
|
|
5505
5505
|
description: z.string(),
|
|
5506
|
-
created: z.string().default("2025-11-
|
|
5507
|
-
updated: z.string().default("2025-11-
|
|
5506
|
+
created: z.string().default("2025-11-25T09:21:51.068Z"),
|
|
5507
|
+
updated: z.string().default("2025-11-25T09:21:51.068Z"),
|
|
5508
5508
|
guardrailConfig: z.union([
|
|
5509
5509
|
z.lazy(() =>
|
|
5510
5510
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$outboundSchema
|
|
@@ -5821,8 +5821,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
5821
5821
|
> = z.object({
|
|
5822
5822
|
_id: z.string(),
|
|
5823
5823
|
description: z.string(),
|
|
5824
|
-
created: z.string().default("2025-11-
|
|
5825
|
-
updated: z.string().default("2025-11-
|
|
5824
|
+
created: z.string().default("2025-11-25T09:21:51.068Z"),
|
|
5825
|
+
updated: z.string().default("2025-11-25T09:21:51.068Z"),
|
|
5826
5826
|
guardrail_config: z.union([
|
|
5827
5827
|
z.lazy(() =>
|
|
5828
5828
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
|
|
@@ -5863,8 +5863,8 @@ export const ResponseBodyPython$outboundSchema: z.ZodType<
|
|
|
5863
5863
|
> = z.object({
|
|
5864
5864
|
id: z.string(),
|
|
5865
5865
|
description: z.string(),
|
|
5866
|
-
created: z.string().default("2025-11-
|
|
5867
|
-
updated: z.string().default("2025-11-
|
|
5866
|
+
created: z.string().default("2025-11-25T09:21:51.068Z"),
|
|
5867
|
+
updated: z.string().default("2025-11-25T09:21:51.068Z"),
|
|
5868
5868
|
guardrailConfig: z.union([
|
|
5869
5869
|
z.lazy(() =>
|
|
5870
5870
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
|
|
@@ -6144,8 +6144,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
6144
6144
|
> = z.object({
|
|
6145
6145
|
_id: z.string(),
|
|
6146
6146
|
description: z.string(),
|
|
6147
|
-
created: z.string().default("2025-11-
|
|
6148
|
-
updated: z.string().default("2025-11-
|
|
6147
|
+
created: z.string().default("2025-11-25T09:21:51.068Z"),
|
|
6148
|
+
updated: z.string().default("2025-11-25T09:21:51.068Z"),
|
|
6149
6149
|
guardrail_config: z.union([
|
|
6150
6150
|
z.lazy(() =>
|
|
6151
6151
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
|
|
@@ -6192,8 +6192,8 @@ export const ResponseBodyHTTP$outboundSchema: z.ZodType<
|
|
|
6192
6192
|
> = z.object({
|
|
6193
6193
|
id: z.string(),
|
|
6194
6194
|
description: z.string(),
|
|
6195
|
-
created: z.string().default("2025-11-
|
|
6196
|
-
updated: z.string().default("2025-11-
|
|
6195
|
+
created: z.string().default("2025-11-25T09:21:51.068Z"),
|
|
6196
|
+
updated: z.string().default("2025-11-25T09:21:51.068Z"),
|
|
6197
6197
|
guardrailConfig: z.union([
|
|
6198
6198
|
z.lazy(() =>
|
|
6199
6199
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
|
|
@@ -6449,8 +6449,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
6449
6449
|
> = z.object({
|
|
6450
6450
|
_id: z.string(),
|
|
6451
6451
|
description: z.string(),
|
|
6452
|
-
created: z.string().default("2025-11-
|
|
6453
|
-
updated: z.string().default("2025-11-
|
|
6452
|
+
created: z.string().default("2025-11-25T09:21:51.068Z"),
|
|
6453
|
+
updated: z.string().default("2025-11-25T09:21:51.068Z"),
|
|
6454
6454
|
guardrail_config: z.union([
|
|
6455
6455
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
6456
6456
|
z.lazy(() =>
|
|
@@ -6489,8 +6489,8 @@ export const ResponseBodyJSON$outboundSchema: z.ZodType<
|
|
|
6489
6489
|
> = z.object({
|
|
6490
6490
|
id: z.string(),
|
|
6491
6491
|
description: z.string(),
|
|
6492
|
-
created: z.string().default("2025-11-
|
|
6493
|
-
updated: z.string().default("2025-11-
|
|
6492
|
+
created: z.string().default("2025-11-25T09:21:51.068Z"),
|
|
6493
|
+
updated: z.string().default("2025-11-25T09:21:51.068Z"),
|
|
6494
6494
|
guardrailConfig: z.union([
|
|
6495
6495
|
z.lazy(() =>
|
|
6496
6496
|
CreateEvalGuardrailConfigEvalsResponse200Number$outboundSchema
|
|
@@ -6728,8 +6728,8 @@ export const ResponseBodyLLM$inboundSchema: z.ZodType<
|
|
|
6728
6728
|
> = z.object({
|
|
6729
6729
|
_id: z.string(),
|
|
6730
6730
|
description: z.string(),
|
|
6731
|
-
created: z.string().default("2025-11-
|
|
6732
|
-
updated: z.string().default("2025-11-
|
|
6731
|
+
created: z.string().default("2025-11-25T09:21:51.068Z"),
|
|
6732
|
+
updated: z.string().default("2025-11-25T09:21:51.068Z"),
|
|
6733
6733
|
guardrail_config: z.union([
|
|
6734
6734
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
6735
6735
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -6768,8 +6768,8 @@ export const ResponseBodyLLM$outboundSchema: z.ZodType<
|
|
|
6768
6768
|
> = z.object({
|
|
6769
6769
|
id: z.string(),
|
|
6770
6770
|
description: z.string(),
|
|
6771
|
-
created: z.string().default("2025-11-
|
|
6772
|
-
updated: z.string().default("2025-11-
|
|
6771
|
+
created: z.string().default("2025-11-25T09:21:51.068Z"),
|
|
6772
|
+
updated: z.string().default("2025-11-25T09:21:51.068Z"),
|
|
6773
6773
|
guardrailConfig: z.union([
|
|
6774
6774
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
6775
6775
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|