@orq-ai/node 3.12.16 → 3.12.19
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 +112 -112
- package/bin/mcp-server.js.map +30 -30
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- 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/README.md +107 -90
- package/packages/orq-rc/docs/sdks/tools/README.md +488 -0
- package/packages/orq-rc/examples/package-lock.json +1 -1
- 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/toolsCreate.ts +163 -0
- package/packages/orq-rc/src/funcs/toolsDelete.ts +167 -0
- package/packages/orq-rc/src/funcs/toolsDuplicate.ts +175 -0
- package/packages/orq-rc/src/funcs/toolsList.ts +176 -0
- package/packages/orq-rc/src/funcs/toolsRetrieve.ts +166 -0
- package/packages/orq-rc/src/funcs/toolsUpdate.ts +176 -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 +13 -1
- package/packages/orq-rc/src/mcp-server/tools/toolsCreate.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/toolsDelete.ts +35 -0
- package/packages/orq-rc/src/mcp-server/tools/toolsDuplicate.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/toolsList.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/toolsRetrieve.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/toolsUpdate.ts +37 -0
- package/packages/orq-rc/src/models/components/callsubagenttool.ts +109 -0
- package/packages/orq-rc/src/models/components/codeexecutiontool.ts +293 -0
- package/packages/orq-rc/src/models/components/currentdatetool.ts +107 -0
- package/packages/orq-rc/src/models/components/deployments.ts +52 -45
- package/packages/orq-rc/src/models/components/functiontool.ts +195 -0
- package/packages/orq-rc/src/models/components/googlesearchtool.ts +108 -0
- package/packages/orq-rc/src/models/components/httptool.ts +532 -0
- package/packages/orq-rc/src/models/components/index.ts +13 -0
- package/packages/orq-rc/src/models/components/queryknowledgebasetool.ts +111 -0
- package/packages/orq-rc/src/models/components/querymemorystoretool.ts +111 -0
- package/packages/orq-rc/src/models/components/retrieveagentstool.ts +109 -0
- package/packages/orq-rc/src/models/components/retrieveknowledgebasestool.ts +111 -0
- package/packages/orq-rc/src/models/components/retrievememorystorestool.ts +111 -0
- package/packages/orq-rc/src/models/components/webscrapertool.ts +105 -0
- package/packages/orq-rc/src/models/components/writememorystoretool.ts +111 -0
- package/packages/orq-rc/src/models/errors/duplicatetool.ts +91 -0
- package/packages/orq-rc/src/models/errors/index.ts +2 -0
- package/packages/orq-rc/src/models/errors/updatetool.ts +91 -0
- package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
- 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 +10 -8
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +60 -56
- package/packages/orq-rc/src/models/operations/createknowledge.ts +18 -0
- package/packages/orq-rc/src/models/operations/creatememorystore.ts +137 -136
- package/packages/orq-rc/src/models/operations/createprompt.ts +631 -314
- package/packages/orq-rc/src/models/operations/createtool.ts +4027 -0
- package/packages/orq-rc/src/models/operations/deletetool.ts +75 -0
- package/packages/orq-rc/src/models/operations/deploymentcreatemetric.ts +8 -6
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +362 -194
- package/packages/orq-rc/src/models/operations/deployments.ts +329 -160
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +8 -6
- package/packages/orq-rc/src/models/operations/duplicatetool.ts +2311 -0
- 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 +10 -10
- package/packages/orq-rc/src/models/operations/getallprompts.ts +333 -168
- package/packages/orq-rc/src/models/operations/getalltools.ts +2278 -0
- package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
- package/packages/orq-rc/src/models/operations/getoneknowledge.ts +9 -0
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +329 -167
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +337 -168
- package/packages/orq-rc/src/models/operations/index.ts +6 -0
- package/packages/orq-rc/src/models/operations/listagents.ts +10 -10
- package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +6 -5
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
- package/packages/orq-rc/src/models/operations/listknowledgebases.ts +9 -0
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +354 -183
- package/packages/orq-rc/src/models/operations/parse.ts +20 -335
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +6 -5
- 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/retrievetool.ts +2303 -0
- package/packages/orq-rc/src/models/operations/runagent.ts +412 -1375
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +399 -1449
- package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +10 -8
- 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 +57 -57
- package/packages/orq-rc/src/models/operations/updateknowledge.ts +18 -0
- package/packages/orq-rc/src/models/operations/updatememorystore.ts +136 -168
- package/packages/orq-rc/src/models/operations/updateprompt.ts +668 -335
- package/packages/orq-rc/src/models/operations/updatetool.ts +4231 -0
- package/packages/orq-rc/src/sdk/sdk.ts +6 -0
- package/packages/orq-rc/src/sdk/tools.ts +117 -0
- package/src/lib/config.ts +3 -3
- 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
|
@@ -0,0 +1,91 @@
|
|
|
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
|
+
* Tool not found.
|
|
10
|
+
*/
|
|
11
|
+
export type DuplicateToolResponseBodyData = {
|
|
12
|
+
/**
|
|
13
|
+
* Error message
|
|
14
|
+
*/
|
|
15
|
+
error: string;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Tool not found.
|
|
20
|
+
*/
|
|
21
|
+
export class DuplicateToolResponseBody extends OrqError {
|
|
22
|
+
/**
|
|
23
|
+
* Error message
|
|
24
|
+
*/
|
|
25
|
+
error: string;
|
|
26
|
+
|
|
27
|
+
/** The original data that was passed to this error instance. */
|
|
28
|
+
data$: DuplicateToolResponseBodyData;
|
|
29
|
+
|
|
30
|
+
constructor(
|
|
31
|
+
err: DuplicateToolResponseBodyData,
|
|
32
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
33
|
+
) {
|
|
34
|
+
const message = "message" in err && typeof err.message === "string"
|
|
35
|
+
? err.message
|
|
36
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
37
|
+
super(message, httpMeta);
|
|
38
|
+
this.data$ = err;
|
|
39
|
+
this.error = err.error;
|
|
40
|
+
|
|
41
|
+
this.name = "DuplicateToolResponseBody";
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export const DuplicateToolResponseBody$inboundSchema: z.ZodType<
|
|
47
|
+
DuplicateToolResponseBody,
|
|
48
|
+
z.ZodTypeDef,
|
|
49
|
+
unknown
|
|
50
|
+
> = z.object({
|
|
51
|
+
error: z.string(),
|
|
52
|
+
request$: z.instanceof(Request),
|
|
53
|
+
response$: z.instanceof(Response),
|
|
54
|
+
body$: z.string(),
|
|
55
|
+
})
|
|
56
|
+
.transform((v) => {
|
|
57
|
+
return new DuplicateToolResponseBody(v, {
|
|
58
|
+
request: v.request$,
|
|
59
|
+
response: v.response$,
|
|
60
|
+
body: v.body$,
|
|
61
|
+
});
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
/** @internal */
|
|
65
|
+
export type DuplicateToolResponseBody$Outbound = {
|
|
66
|
+
error: string;
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
/** @internal */
|
|
70
|
+
export const DuplicateToolResponseBody$outboundSchema: z.ZodType<
|
|
71
|
+
DuplicateToolResponseBody$Outbound,
|
|
72
|
+
z.ZodTypeDef,
|
|
73
|
+
DuplicateToolResponseBody
|
|
74
|
+
> = z.instanceof(DuplicateToolResponseBody)
|
|
75
|
+
.transform(v => v.data$)
|
|
76
|
+
.pipe(z.object({
|
|
77
|
+
error: z.string(),
|
|
78
|
+
}));
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
83
|
+
*/
|
|
84
|
+
export namespace DuplicateToolResponseBody$ {
|
|
85
|
+
/** @deprecated use `DuplicateToolResponseBody$inboundSchema` instead. */
|
|
86
|
+
export const inboundSchema = DuplicateToolResponseBody$inboundSchema;
|
|
87
|
+
/** @deprecated use `DuplicateToolResponseBody$outboundSchema` instead. */
|
|
88
|
+
export const outboundSchema = DuplicateToolResponseBody$outboundSchema;
|
|
89
|
+
/** @deprecated use `DuplicateToolResponseBody$Outbound` instead. */
|
|
90
|
+
export type Outbound = DuplicateToolResponseBody$Outbound;
|
|
91
|
+
}
|
|
@@ -6,6 +6,7 @@ export * from "./apierror.js";
|
|
|
6
6
|
export * from "./createeval.js";
|
|
7
7
|
export * from "./deletecontact.js";
|
|
8
8
|
export * from "./deleteeval.js";
|
|
9
|
+
export * from "./duplicatetool.js";
|
|
9
10
|
export * from "./evalsageappropriate.js";
|
|
10
11
|
export * from "./evalsbertscore.js";
|
|
11
12
|
export * from "./evalsbleuscore.js";
|
|
@@ -58,3 +59,4 @@ export * from "./streamrunagent.js";
|
|
|
58
59
|
export * from "./updatecontact.js";
|
|
59
60
|
export * from "./updateeval.js";
|
|
60
61
|
export * from "./updateprompt.js";
|
|
62
|
+
export * from "./updatetool.js";
|
|
@@ -0,0 +1,91 @@
|
|
|
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
|
+
* Tool not found.
|
|
10
|
+
*/
|
|
11
|
+
export type UpdateToolResponseBodyData = {
|
|
12
|
+
/**
|
|
13
|
+
* Error message
|
|
14
|
+
*/
|
|
15
|
+
error: string;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Tool not found.
|
|
20
|
+
*/
|
|
21
|
+
export class UpdateToolResponseBody extends OrqError {
|
|
22
|
+
/**
|
|
23
|
+
* Error message
|
|
24
|
+
*/
|
|
25
|
+
error: string;
|
|
26
|
+
|
|
27
|
+
/** The original data that was passed to this error instance. */
|
|
28
|
+
data$: UpdateToolResponseBodyData;
|
|
29
|
+
|
|
30
|
+
constructor(
|
|
31
|
+
err: UpdateToolResponseBodyData,
|
|
32
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
33
|
+
) {
|
|
34
|
+
const message = "message" in err && typeof err.message === "string"
|
|
35
|
+
? err.message
|
|
36
|
+
: `API error occurred: ${JSON.stringify(err)}`;
|
|
37
|
+
super(message, httpMeta);
|
|
38
|
+
this.data$ = err;
|
|
39
|
+
this.error = err.error;
|
|
40
|
+
|
|
41
|
+
this.name = "UpdateToolResponseBody";
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export const UpdateToolResponseBody$inboundSchema: z.ZodType<
|
|
47
|
+
UpdateToolResponseBody,
|
|
48
|
+
z.ZodTypeDef,
|
|
49
|
+
unknown
|
|
50
|
+
> = z.object({
|
|
51
|
+
error: z.string(),
|
|
52
|
+
request$: z.instanceof(Request),
|
|
53
|
+
response$: z.instanceof(Response),
|
|
54
|
+
body$: z.string(),
|
|
55
|
+
})
|
|
56
|
+
.transform((v) => {
|
|
57
|
+
return new UpdateToolResponseBody(v, {
|
|
58
|
+
request: v.request$,
|
|
59
|
+
response: v.response$,
|
|
60
|
+
body: v.body$,
|
|
61
|
+
});
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
/** @internal */
|
|
65
|
+
export type UpdateToolResponseBody$Outbound = {
|
|
66
|
+
error: string;
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
/** @internal */
|
|
70
|
+
export const UpdateToolResponseBody$outboundSchema: z.ZodType<
|
|
71
|
+
UpdateToolResponseBody$Outbound,
|
|
72
|
+
z.ZodTypeDef,
|
|
73
|
+
UpdateToolResponseBody
|
|
74
|
+
> = z.instanceof(UpdateToolResponseBody)
|
|
75
|
+
.transform(v => v.data$)
|
|
76
|
+
.pipe(z.object({
|
|
77
|
+
error: z.string(),
|
|
78
|
+
}));
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
83
|
+
*/
|
|
84
|
+
export namespace UpdateToolResponseBody$ {
|
|
85
|
+
/** @deprecated use `UpdateToolResponseBody$inboundSchema` instead. */
|
|
86
|
+
export const inboundSchema = UpdateToolResponseBody$inboundSchema;
|
|
87
|
+
/** @deprecated use `UpdateToolResponseBody$outboundSchema` instead. */
|
|
88
|
+
export const outboundSchema = UpdateToolResponseBody$outboundSchema;
|
|
89
|
+
/** @deprecated use `UpdateToolResponseBody$Outbound` instead. */
|
|
90
|
+
export type Outbound = UpdateToolResponseBody$Outbound;
|
|
91
|
+
}
|
|
@@ -658,7 +658,7 @@ export const CreateBudgetResponseBody$inboundSchema: z.ZodType<
|
|
|
658
658
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
659
659
|
.optional(),
|
|
660
660
|
updated: z.string().datetime({ offset: true }).default(
|
|
661
|
-
"2025-09-
|
|
661
|
+
"2025-09-25T12:10:29.955Z",
|
|
662
662
|
).transform(v => new Date(v)),
|
|
663
663
|
}).transform((v) => {
|
|
664
664
|
return remap$(v, {
|
|
@@ -693,7 +693,7 @@ export const CreateBudgetResponseBody$outboundSchema: z.ZodType<
|
|
|
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-25T12:10:29.955Z"))
|
|
697
697
|
.transform(v => v.toISOString()),
|
|
698
698
|
}).transform((v) => {
|
|
699
699
|
return remap$(v, {
|
|
@@ -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-25T12:10:29.955Z",
|
|
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-25T12:10:29.955Z"))
|
|
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-25T12:10:29.955Z",
|
|
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-25T12:10:29.955Z"))
|
|
255
255
|
.transform(v => v.toISOString()),
|
|
256
256
|
}).transform((v) => {
|
|
257
257
|
return remap$(v, {
|
|
@@ -152,13 +152,14 @@ export type CreateDatasetItemMessagesDatasetsContent =
|
|
|
152
152
|
>;
|
|
153
153
|
|
|
154
154
|
/**
|
|
155
|
-
* The role of the messages author, in this case `assistant`.
|
|
155
|
+
* The role of the messages author, in this case `assistant` or `exception`.
|
|
156
156
|
*/
|
|
157
157
|
export const CreateDatasetItemMessagesDatasetsRequestRequestBodyRole = {
|
|
158
158
|
Assistant: "assistant",
|
|
159
|
+
Exception: "exception",
|
|
159
160
|
} as const;
|
|
160
161
|
/**
|
|
161
|
-
* The role of the messages author, in this case `assistant`.
|
|
162
|
+
* The role of the messages author, in this case `assistant` or `exception`.
|
|
162
163
|
*/
|
|
163
164
|
export type CreateDatasetItemMessagesDatasetsRequestRequestBodyRole =
|
|
164
165
|
ClosedEnum<typeof CreateDatasetItemMessagesDatasetsRequestRequestBodyRole>;
|
|
@@ -225,7 +226,7 @@ export type CreateDatasetItemMessagesAssistantMessage = {
|
|
|
225
226
|
*/
|
|
226
227
|
refusal?: string | null | undefined;
|
|
227
228
|
/**
|
|
228
|
-
* The role of the messages author, in this case `assistant`.
|
|
229
|
+
* The role of the messages author, in this case `assistant` or `exception`.
|
|
229
230
|
*/
|
|
230
231
|
role: CreateDatasetItemMessagesDatasetsRequestRequestBodyRole;
|
|
231
232
|
/**
|
|
@@ -671,14 +672,15 @@ export type CreateDatasetItemMessagesDatasetsResponse200Content =
|
|
|
671
672
|
>;
|
|
672
673
|
|
|
673
674
|
/**
|
|
674
|
-
* The role of the messages author, in this case `assistant`.
|
|
675
|
+
* The role of the messages author, in this case `assistant` or `exception`.
|
|
675
676
|
*/
|
|
676
677
|
export const CreateDatasetItemMessagesDatasetsResponse200ApplicationJSONResponseBodyRole =
|
|
677
678
|
{
|
|
678
679
|
Assistant: "assistant",
|
|
680
|
+
Exception: "exception",
|
|
679
681
|
} as const;
|
|
680
682
|
/**
|
|
681
|
-
* The role of the messages author, in this case `assistant`.
|
|
683
|
+
* The role of the messages author, in this case `assistant` or `exception`.
|
|
682
684
|
*/
|
|
683
685
|
export type CreateDatasetItemMessagesDatasetsResponse200ApplicationJSONResponseBodyRole =
|
|
684
686
|
ClosedEnum<
|
|
@@ -748,7 +750,7 @@ export type CreateDatasetItemMessagesDatasetsAssistantMessage = {
|
|
|
748
750
|
*/
|
|
749
751
|
refusal?: string | null | undefined;
|
|
750
752
|
/**
|
|
751
|
-
* The role of the messages author, in this case `assistant`.
|
|
753
|
+
* The role of the messages author, in this case `assistant` or `exception`.
|
|
752
754
|
*/
|
|
753
755
|
role:
|
|
754
756
|
CreateDatasetItemMessagesDatasetsResponse200ApplicationJSONResponseBodyRole;
|
|
@@ -6081,7 +6083,7 @@ export const ResponseBody$inboundSchema: z.ZodType<
|
|
|
6081
6083
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
6082
6084
|
.optional(),
|
|
6083
6085
|
updated: z.string().datetime({ offset: true }).default(
|
|
6084
|
-
"2025-09-
|
|
6086
|
+
"2025-09-25T12:10:29.955Z",
|
|
6085
6087
|
).transform(v => new Date(v)),
|
|
6086
6088
|
}).transform((v) => {
|
|
6087
6089
|
return remap$(v, {
|
|
@@ -6145,7 +6147,7 @@ export const ResponseBody$outboundSchema: z.ZodType<
|
|
|
6145
6147
|
createdById: z.string().optional(),
|
|
6146
6148
|
updatedById: z.string().optional(),
|
|
6147
6149
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
6148
|
-
updated: z.date().default(() => new Date("2025-09-
|
|
6150
|
+
updated: z.date().default(() => new Date("2025-09-25T12:10:29.955Z"))
|
|
6149
6151
|
.transform(v => v.toISOString()),
|
|
6150
6152
|
}).transform((v) => {
|
|
6151
6153
|
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("01K60CGQ6MNDX30BYC1PHKN43C"),
|
|
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("01K60CGQ6MNDX30BYC1PHKN43C"),
|
|
799
799
|
displayName: z.string(),
|
|
800
800
|
description: z.string().optional(),
|
|
801
801
|
status: CreateDatasourceStatus$outboundSchema,
|
|
@@ -692,7 +692,7 @@ export type CreateEvalFunctionParamsEvalsResponse200ApplicationJSONResponseBody5
|
|
|
692
692
|
typeof CreateEvalFunctionParamsEvalsResponse200ApplicationJSONResponseBody524Type
|
|
693
693
|
>;
|
|
694
694
|
|
|
695
|
-
export type
|
|
695
|
+
export type FunctionParams24 = {
|
|
696
696
|
type:
|
|
697
697
|
CreateEvalFunctionParamsEvalsResponse200ApplicationJSONResponseBody524Type;
|
|
698
698
|
};
|
|
@@ -1036,7 +1036,7 @@ export type CreateEvalResponseBodyFunctionParams =
|
|
|
1036
1036
|
| FunctionParams21
|
|
1037
1037
|
| FunctionParams22
|
|
1038
1038
|
| TwentyThree
|
|
1039
|
-
|
|
|
1039
|
+
| FunctionParams24
|
|
1040
1040
|
| TwentySeven
|
|
1041
1041
|
| TwentyEight
|
|
1042
1042
|
| TwentyNine
|
|
@@ -1083,7 +1083,7 @@ export type ResponseBodyFunction = {
|
|
|
1083
1083
|
| FunctionParams21
|
|
1084
1084
|
| FunctionParams22
|
|
1085
1085
|
| TwentyThree
|
|
1086
|
-
|
|
|
1086
|
+
| FunctionParams24
|
|
1087
1087
|
| TwentySeven
|
|
1088
1088
|
| TwentyEight
|
|
1089
1089
|
| TwentyNine
|
|
@@ -3348,8 +3348,8 @@ export const Typescript$inboundSchema: z.ZodType<
|
|
|
3348
3348
|
> = z.object({
|
|
3349
3349
|
_id: z.string(),
|
|
3350
3350
|
description: z.string(),
|
|
3351
|
-
created: z.string().default("2025-09-
|
|
3352
|
-
updated: z.string().default("2025-09-
|
|
3351
|
+
created: z.string().default("2025-09-25T12:10:32.197Z"),
|
|
3352
|
+
updated: z.string().default("2025-09-25T12:10:32.197Z"),
|
|
3353
3353
|
guardrail_config: z.union([
|
|
3354
3354
|
z.lazy(() =>
|
|
3355
3355
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$inboundSchema
|
|
@@ -3392,8 +3392,8 @@ export const Typescript$outboundSchema: z.ZodType<
|
|
|
3392
3392
|
> = z.object({
|
|
3393
3393
|
id: z.string(),
|
|
3394
3394
|
description: z.string(),
|
|
3395
|
-
created: z.string().default("2025-09-
|
|
3396
|
-
updated: z.string().default("2025-09-
|
|
3395
|
+
created: z.string().default("2025-09-25T12:10:32.197Z"),
|
|
3396
|
+
updated: z.string().default("2025-09-25T12:10:32.197Z"),
|
|
3397
3397
|
guardrailConfig: z.union([
|
|
3398
3398
|
z.lazy(() =>
|
|
3399
3399
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$outboundSchema
|
|
@@ -3810,8 +3810,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
|
|
|
3810
3810
|
.object({
|
|
3811
3811
|
_id: z.string(),
|
|
3812
3812
|
description: z.string(),
|
|
3813
|
-
created: z.string().default("2025-09-
|
|
3814
|
-
updated: z.string().default("2025-09-
|
|
3813
|
+
created: z.string().default("2025-09-25T12:10:32.197Z"),
|
|
3814
|
+
updated: z.string().default("2025-09-25T12:10:32.197Z"),
|
|
3815
3815
|
guardrail_config: z.union([
|
|
3816
3816
|
z.lazy(() =>
|
|
3817
3817
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$inboundSchema
|
|
@@ -3857,8 +3857,8 @@ export const Ragas$outboundSchema: z.ZodType<
|
|
|
3857
3857
|
> = z.object({
|
|
3858
3858
|
id: z.string(),
|
|
3859
3859
|
description: z.string(),
|
|
3860
|
-
created: z.string().default("2025-09-
|
|
3861
|
-
updated: z.string().default("2025-09-
|
|
3860
|
+
created: z.string().default("2025-09-25T12:10:32.197Z"),
|
|
3861
|
+
updated: z.string().default("2025-09-25T12:10:32.197Z"),
|
|
3862
3862
|
guardrailConfig: z.union([
|
|
3863
3863
|
z.lazy(() =>
|
|
3864
3864
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$outboundSchema
|
|
@@ -5163,8 +5163,8 @@ export namespace CreateEvalFunctionParamsEvalsResponse200ApplicationJSONResponse
|
|
|
5163
5163
|
}
|
|
5164
5164
|
|
|
5165
5165
|
/** @internal */
|
|
5166
|
-
export const
|
|
5167
|
-
|
|
5166
|
+
export const FunctionParams24$inboundSchema: z.ZodType<
|
|
5167
|
+
FunctionParams24,
|
|
5168
5168
|
z.ZodTypeDef,
|
|
5169
5169
|
unknown
|
|
5170
5170
|
> = z.object({
|
|
@@ -5173,15 +5173,15 @@ export const TwentyFour$inboundSchema: z.ZodType<
|
|
|
5173
5173
|
});
|
|
5174
5174
|
|
|
5175
5175
|
/** @internal */
|
|
5176
|
-
export type
|
|
5176
|
+
export type FunctionParams24$Outbound = {
|
|
5177
5177
|
type: string;
|
|
5178
5178
|
};
|
|
5179
5179
|
|
|
5180
5180
|
/** @internal */
|
|
5181
|
-
export const
|
|
5182
|
-
|
|
5181
|
+
export const FunctionParams24$outboundSchema: z.ZodType<
|
|
5182
|
+
FunctionParams24$Outbound,
|
|
5183
5183
|
z.ZodTypeDef,
|
|
5184
|
-
|
|
5184
|
+
FunctionParams24
|
|
5185
5185
|
> = z.object({
|
|
5186
5186
|
type:
|
|
5187
5187
|
CreateEvalFunctionParamsEvalsResponse200ApplicationJSONResponseBody524Type$outboundSchema,
|
|
@@ -5191,26 +5191,30 @@ export const TwentyFour$outboundSchema: z.ZodType<
|
|
|
5191
5191
|
* @internal
|
|
5192
5192
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
5193
5193
|
*/
|
|
5194
|
-
export namespace
|
|
5195
|
-
/** @deprecated use `
|
|
5196
|
-
export const inboundSchema =
|
|
5197
|
-
/** @deprecated use `
|
|
5198
|
-
export const outboundSchema =
|
|
5199
|
-
/** @deprecated use `
|
|
5200
|
-
export type Outbound =
|
|
5194
|
+
export namespace FunctionParams24$ {
|
|
5195
|
+
/** @deprecated use `FunctionParams24$inboundSchema` instead. */
|
|
5196
|
+
export const inboundSchema = FunctionParams24$inboundSchema;
|
|
5197
|
+
/** @deprecated use `FunctionParams24$outboundSchema` instead. */
|
|
5198
|
+
export const outboundSchema = FunctionParams24$outboundSchema;
|
|
5199
|
+
/** @deprecated use `FunctionParams24$Outbound` instead. */
|
|
5200
|
+
export type Outbound = FunctionParams24$Outbound;
|
|
5201
5201
|
}
|
|
5202
5202
|
|
|
5203
|
-
export function
|
|
5204
|
-
|
|
5203
|
+
export function functionParams24ToJSON(
|
|
5204
|
+
functionParams24: FunctionParams24,
|
|
5205
|
+
): string {
|
|
5206
|
+
return JSON.stringify(
|
|
5207
|
+
FunctionParams24$outboundSchema.parse(functionParams24),
|
|
5208
|
+
);
|
|
5205
5209
|
}
|
|
5206
5210
|
|
|
5207
|
-
export function
|
|
5211
|
+
export function functionParams24FromJSON(
|
|
5208
5212
|
jsonString: string,
|
|
5209
|
-
): SafeParseResult<
|
|
5213
|
+
): SafeParseResult<FunctionParams24, SDKValidationError> {
|
|
5210
5214
|
return safeParse(
|
|
5211
5215
|
jsonString,
|
|
5212
|
-
(x) =>
|
|
5213
|
-
`Failed to parse '
|
|
5216
|
+
(x) => FunctionParams24$inboundSchema.parse(JSON.parse(x)),
|
|
5217
|
+
`Failed to parse 'FunctionParams24' from JSON`,
|
|
5214
5218
|
);
|
|
5215
5219
|
}
|
|
5216
5220
|
|
|
@@ -7145,7 +7149,7 @@ export const CreateEvalResponseBodyFunctionParams$inboundSchema: z.ZodType<
|
|
|
7145
7149
|
z.lazy(() => FunctionParams21$inboundSchema),
|
|
7146
7150
|
z.lazy(() => FunctionParams22$inboundSchema),
|
|
7147
7151
|
z.lazy(() => TwentyThree$inboundSchema),
|
|
7148
|
-
z.lazy(() =>
|
|
7152
|
+
z.lazy(() => FunctionParams24$inboundSchema),
|
|
7149
7153
|
z.lazy(() => TwentySeven$inboundSchema),
|
|
7150
7154
|
z.lazy(() => TwentyEight$inboundSchema),
|
|
7151
7155
|
z.lazy(() => TwentyNine$inboundSchema),
|
|
@@ -7184,7 +7188,7 @@ export type CreateEvalResponseBodyFunctionParams$Outbound =
|
|
|
7184
7188
|
| FunctionParams21$Outbound
|
|
7185
7189
|
| FunctionParams22$Outbound
|
|
7186
7190
|
| TwentyThree$Outbound
|
|
7187
|
-
|
|
|
7191
|
+
| FunctionParams24$Outbound
|
|
7188
7192
|
| TwentySeven$Outbound
|
|
7189
7193
|
| TwentyEight$Outbound
|
|
7190
7194
|
| TwentyNine$Outbound
|
|
@@ -7226,7 +7230,7 @@ export const CreateEvalResponseBodyFunctionParams$outboundSchema: z.ZodType<
|
|
|
7226
7230
|
z.lazy(() => FunctionParams21$outboundSchema),
|
|
7227
7231
|
z.lazy(() => FunctionParams22$outboundSchema),
|
|
7228
7232
|
z.lazy(() => TwentyThree$outboundSchema),
|
|
7229
|
-
z.lazy(() =>
|
|
7233
|
+
z.lazy(() => FunctionParams24$outboundSchema),
|
|
7230
7234
|
z.lazy(() => TwentySeven$outboundSchema),
|
|
7231
7235
|
z.lazy(() => TwentyEight$outboundSchema),
|
|
7232
7236
|
z.lazy(() => TwentyNine$outboundSchema),
|
|
@@ -7282,8 +7286,8 @@ export const ResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
7282
7286
|
> = z.object({
|
|
7283
7287
|
_id: z.string(),
|
|
7284
7288
|
description: z.string(),
|
|
7285
|
-
created: z.string().default("2025-09-
|
|
7286
|
-
updated: z.string().default("2025-09-
|
|
7289
|
+
created: z.string().default("2025-09-25T12:10:32.197Z"),
|
|
7290
|
+
updated: z.string().default("2025-09-25T12:10:32.197Z"),
|
|
7287
7291
|
guardrail_config: z.union([
|
|
7288
7292
|
z.lazy(() =>
|
|
7289
7293
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$inboundSchema
|
|
@@ -7319,7 +7323,7 @@ export const ResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
7319
7323
|
z.lazy(() => FunctionParams21$inboundSchema),
|
|
7320
7324
|
z.lazy(() => FunctionParams22$inboundSchema),
|
|
7321
7325
|
z.lazy(() => TwentyThree$inboundSchema),
|
|
7322
|
-
z.lazy(() =>
|
|
7326
|
+
z.lazy(() => FunctionParams24$inboundSchema),
|
|
7323
7327
|
z.lazy(() => TwentySeven$inboundSchema),
|
|
7324
7328
|
z.lazy(() => TwentyEight$inboundSchema),
|
|
7325
7329
|
z.lazy(() => TwentyNine$inboundSchema),
|
|
@@ -7376,7 +7380,7 @@ export type ResponseBodyFunction$Outbound = {
|
|
|
7376
7380
|
| FunctionParams21$Outbound
|
|
7377
7381
|
| FunctionParams22$Outbound
|
|
7378
7382
|
| TwentyThree$Outbound
|
|
7379
|
-
|
|
|
7383
|
+
| FunctionParams24$Outbound
|
|
7380
7384
|
| TwentySeven$Outbound
|
|
7381
7385
|
| TwentyEight$Outbound
|
|
7382
7386
|
| TwentyNine$Outbound
|
|
@@ -7397,8 +7401,8 @@ export const ResponseBodyFunction$outboundSchema: z.ZodType<
|
|
|
7397
7401
|
> = z.object({
|
|
7398
7402
|
id: z.string(),
|
|
7399
7403
|
description: z.string(),
|
|
7400
|
-
created: z.string().default("2025-09-
|
|
7401
|
-
updated: z.string().default("2025-09-
|
|
7404
|
+
created: z.string().default("2025-09-25T12:10:32.197Z"),
|
|
7405
|
+
updated: z.string().default("2025-09-25T12:10:32.197Z"),
|
|
7402
7406
|
guardrailConfig: z.union([
|
|
7403
7407
|
z.lazy(() =>
|
|
7404
7408
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$outboundSchema
|
|
@@ -7434,7 +7438,7 @@ export const ResponseBodyFunction$outboundSchema: z.ZodType<
|
|
|
7434
7438
|
z.lazy(() => FunctionParams21$outboundSchema),
|
|
7435
7439
|
z.lazy(() => FunctionParams22$outboundSchema),
|
|
7436
7440
|
z.lazy(() => TwentyThree$outboundSchema),
|
|
7437
|
-
z.lazy(() =>
|
|
7441
|
+
z.lazy(() => FunctionParams24$outboundSchema),
|
|
7438
7442
|
z.lazy(() => TwentySeven$outboundSchema),
|
|
7439
7443
|
z.lazy(() => TwentyEight$outboundSchema),
|
|
7440
7444
|
z.lazy(() => TwentyNine$outboundSchema),
|
|
@@ -7837,8 +7841,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
7837
7841
|
> = z.object({
|
|
7838
7842
|
_id: z.string(),
|
|
7839
7843
|
description: z.string(),
|
|
7840
|
-
created: z.string().default("2025-09-
|
|
7841
|
-
updated: z.string().default("2025-09-
|
|
7844
|
+
created: z.string().default("2025-09-25T12:10:32.197Z"),
|
|
7845
|
+
updated: z.string().default("2025-09-25T12:10:32.197Z"),
|
|
7842
7846
|
guardrail_config: z.union([
|
|
7843
7847
|
z.lazy(() =>
|
|
7844
7848
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
|
|
@@ -7880,8 +7884,8 @@ export const ResponseBodyPython$outboundSchema: z.ZodType<
|
|
|
7880
7884
|
> = z.object({
|
|
7881
7885
|
id: z.string(),
|
|
7882
7886
|
description: z.string(),
|
|
7883
|
-
created: z.string().default("2025-09-
|
|
7884
|
-
updated: z.string().default("2025-09-
|
|
7887
|
+
created: z.string().default("2025-09-25T12:10:32.197Z"),
|
|
7888
|
+
updated: z.string().default("2025-09-25T12:10:32.197Z"),
|
|
7885
7889
|
guardrailConfig: z.union([
|
|
7886
7890
|
z.lazy(() =>
|
|
7887
7891
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
|
|
@@ -8294,8 +8298,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
8294
8298
|
> = z.object({
|
|
8295
8299
|
_id: z.string(),
|
|
8296
8300
|
description: z.string(),
|
|
8297
|
-
created: z.string().default("2025-09-
|
|
8298
|
-
updated: z.string().default("2025-09-
|
|
8301
|
+
created: z.string().default("2025-09-25T12:10:32.197Z"),
|
|
8302
|
+
updated: z.string().default("2025-09-25T12:10:32.197Z"),
|
|
8299
8303
|
guardrail_config: z.union([
|
|
8300
8304
|
z.lazy(() =>
|
|
8301
8305
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
|
|
@@ -8343,8 +8347,8 @@ export const ResponseBodyHTTP$outboundSchema: z.ZodType<
|
|
|
8343
8347
|
> = z.object({
|
|
8344
8348
|
id: z.string(),
|
|
8345
8349
|
description: z.string(),
|
|
8346
|
-
created: z.string().default("2025-09-
|
|
8347
|
-
updated: z.string().default("2025-09-
|
|
8350
|
+
created: z.string().default("2025-09-25T12:10:32.197Z"),
|
|
8351
|
+
updated: z.string().default("2025-09-25T12:10:32.197Z"),
|
|
8348
8352
|
guardrailConfig: z.union([
|
|
8349
8353
|
z.lazy(() =>
|
|
8350
8354
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
|
|
@@ -8721,8 +8725,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
8721
8725
|
> = z.object({
|
|
8722
8726
|
_id: z.string(),
|
|
8723
8727
|
description: z.string(),
|
|
8724
|
-
created: z.string().default("2025-09-
|
|
8725
|
-
updated: z.string().default("2025-09-
|
|
8728
|
+
created: z.string().default("2025-09-25T12:10:32.197Z"),
|
|
8729
|
+
updated: z.string().default("2025-09-25T12:10:32.197Z"),
|
|
8726
8730
|
guardrail_config: z.union([
|
|
8727
8731
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
8728
8732
|
z.lazy(() =>
|
|
@@ -8762,8 +8766,8 @@ export const ResponseBodyJSON$outboundSchema: z.ZodType<
|
|
|
8762
8766
|
> = z.object({
|
|
8763
8767
|
id: z.string(),
|
|
8764
8768
|
description: z.string(),
|
|
8765
|
-
created: z.string().default("2025-09-
|
|
8766
|
-
updated: z.string().default("2025-09-
|
|
8769
|
+
created: z.string().default("2025-09-25T12:10:32.197Z"),
|
|
8770
|
+
updated: z.string().default("2025-09-25T12:10:32.197Z"),
|
|
8767
8771
|
guardrailConfig: z.union([
|
|
8768
8772
|
z.lazy(() =>
|
|
8769
8773
|
CreateEvalGuardrailConfigEvalsResponse200Number$outboundSchema
|
|
@@ -9118,8 +9122,8 @@ export const ResponseBodyLLM$inboundSchema: z.ZodType<
|
|
|
9118
9122
|
> = z.object({
|
|
9119
9123
|
_id: z.string(),
|
|
9120
9124
|
description: z.string(),
|
|
9121
|
-
created: z.string().default("2025-09-
|
|
9122
|
-
updated: z.string().default("2025-09-
|
|
9125
|
+
created: z.string().default("2025-09-25T12:10:32.197Z"),
|
|
9126
|
+
updated: z.string().default("2025-09-25T12:10:32.197Z"),
|
|
9123
9127
|
guardrail_config: z.union([
|
|
9124
9128
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
9125
9129
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -9159,8 +9163,8 @@ export const ResponseBodyLLM$outboundSchema: z.ZodType<
|
|
|
9159
9163
|
> = z.object({
|
|
9160
9164
|
id: z.string(),
|
|
9161
9165
|
description: z.string(),
|
|
9162
|
-
created: z.string().default("2025-09-
|
|
9163
|
-
updated: z.string().default("2025-09-
|
|
9166
|
+
created: z.string().default("2025-09-25T12:10:32.197Z"),
|
|
9167
|
+
updated: z.string().default("2025-09-25T12:10:32.197Z"),
|
|
9164
9168
|
guardrailConfig: z.union([
|
|
9165
9169
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
9166
9170
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|