@orq-ai/node 4.0.0-rc.51 → 4.0.0-rc.52
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 +3 -4
- package/bin/mcp-server.js +1125 -606
- package/bin/mcp-server.js.map +50 -51
- package/docs/sdks/agents/README.md +80 -80
- package/examples/package-lock.json +1 -1
- package/funcs/agentsInvoke.d.ts +1 -1
- package/funcs/agentsInvoke.d.ts.map +1 -1
- package/funcs/agentsInvoke.js +1 -1
- package/funcs/agentsInvoke.js.map +1 -1
- package/funcs/agentsListTasks.d.ts +1 -1
- package/funcs/agentsListTasks.d.ts.map +1 -1
- package/funcs/agentsListTasks.js +1 -1
- package/funcs/agentsListTasks.js.map +1 -1
- package/funcs/agentsRetrieveTask.d.ts +1 -1
- package/funcs/agentsRetrieveTask.d.ts.map +1 -1
- package/funcs/agentsRetrieveTask.js +1 -1
- package/funcs/agentsRetrieveTask.js.map +1 -1
- package/funcs/agentsRun.d.ts +1 -1
- package/funcs/agentsRun.d.ts.map +1 -1
- package/funcs/agentsRun.js +1 -1
- package/funcs/agentsRun.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 +2 -2
- package/mcp-server/server.js.map +1 -1
- package/models/errors/index.d.ts +0 -1
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +0 -1
- package/models/errors/index.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.d.ts +25 -25
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +41 -41
- package/models/operations/createtool.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +6 -6
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +9 -9
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getagenttask.d.ts +682 -108
- package/models/operations/getagenttask.d.ts.map +1 -1
- package/models/operations/getagenttask.js +635 -155
- package/models/operations/getagenttask.js.map +1 -1
- package/models/operations/getalltools.js +12 -12
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/invokeagent.d.ts +143 -123
- package/models/operations/invokeagent.d.ts.map +1 -1
- package/models/operations/invokeagent.js +143 -146
- package/models/operations/invokeagent.js.map +1 -1
- package/models/operations/listagenttasks.d.ts +680 -118
- package/models/operations/listagenttasks.d.ts.map +1 -1
- package/models/operations/listagenttasks.js +612 -144
- package/models/operations/listagenttasks.js.map +1 -1
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listchunks.d.ts +6 -6
- package/models/operations/listchunks.d.ts.map +1 -1
- package/models/operations/listchunks.js +9 -9
- package/models/operations/listchunks.js.map +1 -1
- 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.d.ts +6 -6
- package/models/operations/listdatasources.d.ts.map +1 -1
- package/models/operations/listdatasources.js +12 -11
- package/models/operations/listdatasources.js.map +1 -1
- 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.d.ts +112 -98
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +120 -121
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamagent.d.ts +18 -12
- package/models/operations/streamagent.d.ts.map +1 -1
- package/models/operations/streamagent.js +13 -13
- package/models/operations/streamagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +12 -12
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +15 -15
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +11 -8
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +13 -11
- 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 +10 -10
- package/sdk/agents.d.ts.map +1 -1
- package/sdk/agents.js +9 -9
- package/sdk/agents.js.map +1 -1
- package/src/funcs/agentsInvoke.ts +4 -4
- package/src/funcs/agentsListTasks.ts +4 -4
- package/src/funcs/agentsRetrieveTask.ts +8 -8
- package/src/funcs/agentsRun.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 +2 -2
- package/src/models/errors/index.ts +0 -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 +8 -8
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/createtool.ts +76 -76
- package/src/models/operations/deploymentinvoke.ts +17 -24
- 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/getagenttask.ts +1873 -428
- 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/invokeagent.ts +319 -299
- package/src/models/operations/listagenttasks.ts +2029 -540
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listchunks.ts +14 -14
- 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 +15 -22
- 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 +264 -220
- package/src/models/operations/streamagent.ts +28 -22
- package/src/models/operations/streamrunagent.ts +24 -24
- package/src/models/operations/updateagent.ts +25 -18
- 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 +20 -20
- package/models/errors/getagenttask.d.ts +0 -29
- package/models/errors/getagenttask.d.ts.map +0 -1
- package/models/errors/getagenttask.js +0 -74
- package/models/errors/getagenttask.js.map +0 -1
- package/src/models/errors/getagenttask.ts +0 -67
|
@@ -1849,7 +1849,7 @@ exports.Evaluations3$inboundSchema = z.object({
|
|
|
1849
1849
|
human_review_id: z.string(),
|
|
1850
1850
|
source: exports.CreateDatasetItemEvaluationsSource$inboundSchema.default("orq"),
|
|
1851
1851
|
reviewed_by_id: z.string(),
|
|
1852
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2025-11-
|
|
1852
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2025-11-20T07:47:16.860Z").transform(v => new Date(v)),
|
|
1853
1853
|
type: exports.CreateDatasetItemEvaluationsDatasetsType$inboundSchema,
|
|
1854
1854
|
values: z.array(z.string()),
|
|
1855
1855
|
}).transform((v) => {
|
|
@@ -1867,7 +1867,7 @@ exports.Evaluations3$outboundSchema = z.object({
|
|
|
1867
1867
|
humanReviewId: z.string(),
|
|
1868
1868
|
source: exports.CreateDatasetItemEvaluationsSource$outboundSchema.default("orq"),
|
|
1869
1869
|
reviewedById: z.string(),
|
|
1870
|
-
reviewedAt: z.date().default(() => new Date("2025-11-
|
|
1870
|
+
reviewedAt: z.date().default(() => new Date("2025-11-20T07:47:16.860Z"))
|
|
1871
1871
|
.transform(v => v.toISOString()),
|
|
1872
1872
|
type: exports.CreateDatasetItemEvaluationsDatasetsType$outboundSchema,
|
|
1873
1873
|
values: z.array(z.string()),
|
|
@@ -1904,7 +1904,7 @@ exports.Evaluations2$inboundSchema = z.object({
|
|
|
1904
1904
|
human_review_id: z.string(),
|
|
1905
1905
|
source: exports.EvaluationsSource$inboundSchema.default("orq"),
|
|
1906
1906
|
reviewed_by_id: z.string(),
|
|
1907
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2025-11-
|
|
1907
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2025-11-20T07:47:16.859Z").transform(v => new Date(v)),
|
|
1908
1908
|
type: exports.CreateDatasetItemEvaluationsType$inboundSchema,
|
|
1909
1909
|
value: z.number(),
|
|
1910
1910
|
}).transform((v) => {
|
|
@@ -1922,7 +1922,7 @@ exports.Evaluations2$outboundSchema = z.object({
|
|
|
1922
1922
|
humanReviewId: z.string(),
|
|
1923
1923
|
source: exports.EvaluationsSource$outboundSchema.default("orq"),
|
|
1924
1924
|
reviewedById: z.string(),
|
|
1925
|
-
reviewedAt: z.date().default(() => new Date("2025-11-
|
|
1925
|
+
reviewedAt: z.date().default(() => new Date("2025-11-20T07:47:16.859Z"))
|
|
1926
1926
|
.transform(v => v.toISOString()),
|
|
1927
1927
|
type: exports.CreateDatasetItemEvaluationsType$outboundSchema,
|
|
1928
1928
|
value: z.number(),
|
|
@@ -1960,7 +1960,7 @@ exports.Evaluations1$inboundSchema = z.object({
|
|
|
1960
1960
|
human_review_id: z.string(),
|
|
1961
1961
|
source: exports.Source$inboundSchema.default("orq"),
|
|
1962
1962
|
reviewed_by_id: z.string(),
|
|
1963
|
-
reviewed_at: z.string().datetime({ offset: true }).default("2025-11-
|
|
1963
|
+
reviewed_at: z.string().datetime({ offset: true }).default("2025-11-20T07:47:16.858Z").transform(v => new Date(v)),
|
|
1964
1964
|
type: exports.EvaluationsType$inboundSchema,
|
|
1965
1965
|
value: z.string(),
|
|
1966
1966
|
}).transform((v) => {
|
|
@@ -1978,7 +1978,7 @@ exports.Evaluations1$outboundSchema = z.object({
|
|
|
1978
1978
|
humanReviewId: z.string(),
|
|
1979
1979
|
source: exports.Source$outboundSchema.default("orq"),
|
|
1980
1980
|
reviewedById: z.string(),
|
|
1981
|
-
reviewedAt: z.date().default(() => new Date("2025-11-
|
|
1981
|
+
reviewedAt: z.date().default(() => new Date("2025-11-20T07:47:16.858Z"))
|
|
1982
1982
|
.transform(v => v.toISOString()),
|
|
1983
1983
|
type: exports.EvaluationsType$outboundSchema,
|
|
1984
1984
|
value: z.string(),
|
|
@@ -2038,7 +2038,7 @@ exports.CreateDatasetItemResponseBody$inboundSchema = z.object({
|
|
|
2038
2038
|
updated_by_id: z.string().optional(),
|
|
2039
2039
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2040
2040
|
.optional(),
|
|
2041
|
-
updated: z.string().datetime({ offset: true }).default("2025-11-
|
|
2041
|
+
updated: z.string().datetime({ offset: true }).default("2025-11-20T07:47:04.953Z").transform(v => new Date(v)),
|
|
2042
2042
|
}).transform((v) => {
|
|
2043
2043
|
return (0, primitives_js_1.remap)(v, {
|
|
2044
2044
|
"_id": "id",
|
|
@@ -2073,7 +2073,7 @@ exports.CreateDatasetItemResponseBody$outboundSchema = z.object({
|
|
|
2073
2073
|
createdById: z.string().optional(),
|
|
2074
2074
|
updatedById: z.string().optional(),
|
|
2075
2075
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
2076
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
2076
|
+
updated: z.date().default(() => new Date("2025-11-20T07:47:04.953Z"))
|
|
2077
2077
|
.transform(v => v.toISOString()),
|
|
2078
2078
|
}).transform((v) => {
|
|
2079
2079
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -282,7 +282,7 @@ exports.CreateDatasourceStatus$inboundSchema = z.nativeEnum(exports.CreateDataso
|
|
|
282
282
|
exports.CreateDatasourceStatus$outboundSchema = exports.CreateDatasourceStatus$inboundSchema;
|
|
283
283
|
/** @internal */
|
|
284
284
|
exports.CreateDatasourceResponseBody$inboundSchema = z.object({
|
|
285
|
-
_id: z.string().default("
|
|
285
|
+
_id: z.string().default("01KAG3PQCJY0F56DPNVGJ16H9W"),
|
|
286
286
|
display_name: z.string(),
|
|
287
287
|
description: z.string().optional(),
|
|
288
288
|
status: exports.CreateDatasourceStatus$inboundSchema,
|
|
@@ -306,7 +306,7 @@ exports.CreateDatasourceResponseBody$inboundSchema = z.object({
|
|
|
306
306
|
});
|
|
307
307
|
/** @internal */
|
|
308
308
|
exports.CreateDatasourceResponseBody$outboundSchema = z.object({
|
|
309
|
-
id: z.string().default("
|
|
309
|
+
id: z.string().default("01KAG3PQCJY0F56DPNVGJ16H9W"),
|
|
310
310
|
displayName: z.string(),
|
|
311
311
|
description: z.string().optional(),
|
|
312
312
|
status: exports.CreateDatasourceStatus$outboundSchema,
|
|
@@ -1134,8 +1134,8 @@ exports.CreateEvalResponseBodyEvalsResponse200ApplicationJson7Type$outboundSchem
|
|
|
1134
1134
|
exports.Typescript$inboundSchema = z.object({
|
|
1135
1135
|
_id: z.string(),
|
|
1136
1136
|
description: z.string(),
|
|
1137
|
-
created: z.string().default("2025-11-
|
|
1138
|
-
updated: z.string().default("2025-11-
|
|
1137
|
+
created: z.string().default("2025-11-20T07:47:06.974Z"),
|
|
1138
|
+
updated: z.string().default("2025-11-20T07:47:06.974Z"),
|
|
1139
1139
|
guardrail_config: z.union([
|
|
1140
1140
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$inboundSchema),
|
|
1141
1141
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Boolean$inboundSchema),
|
|
@@ -1153,8 +1153,8 @@ exports.Typescript$inboundSchema = z.object({
|
|
|
1153
1153
|
exports.Typescript$outboundSchema = z.object({
|
|
1154
1154
|
id: z.string(),
|
|
1155
1155
|
description: z.string(),
|
|
1156
|
-
created: z.string().default("2025-11-
|
|
1157
|
-
updated: z.string().default("2025-11-
|
|
1156
|
+
created: z.string().default("2025-11-20T07:47:06.974Z"),
|
|
1157
|
+
updated: z.string().default("2025-11-20T07:47:06.974Z"),
|
|
1158
1158
|
guardrailConfig: z.union([
|
|
1159
1159
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$outboundSchema),
|
|
1160
1160
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Boolean$outboundSchema),
|
|
@@ -1260,8 +1260,8 @@ exports.Ragas$inboundSchema = z
|
|
|
1260
1260
|
.object({
|
|
1261
1261
|
_id: z.string(),
|
|
1262
1262
|
description: z.string(),
|
|
1263
|
-
created: z.string().default("2025-11-
|
|
1264
|
-
updated: z.string().default("2025-11-
|
|
1263
|
+
created: z.string().default("2025-11-20T07:47:06.974Z"),
|
|
1264
|
+
updated: z.string().default("2025-11-20T07:47:06.974Z"),
|
|
1265
1265
|
guardrail_config: z.union([
|
|
1266
1266
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$inboundSchema),
|
|
1267
1267
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Boolean$inboundSchema),
|
|
@@ -1281,8 +1281,8 @@ exports.Ragas$inboundSchema = z
|
|
|
1281
1281
|
exports.Ragas$outboundSchema = z.object({
|
|
1282
1282
|
id: z.string(),
|
|
1283
1283
|
description: z.string(),
|
|
1284
|
-
created: z.string().default("2025-11-
|
|
1285
|
-
updated: z.string().default("2025-11-
|
|
1284
|
+
created: z.string().default("2025-11-20T07:47:06.974Z"),
|
|
1285
|
+
updated: z.string().default("2025-11-20T07:47:06.974Z"),
|
|
1286
1286
|
guardrailConfig: z.union([
|
|
1287
1287
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$outboundSchema),
|
|
1288
1288
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Boolean$outboundSchema),
|
|
@@ -2132,8 +2132,8 @@ function functionParamsFromJSON(jsonString) {
|
|
|
2132
2132
|
exports.CreateEvalResponseBodyFunction$inboundSchema = z.object({
|
|
2133
2133
|
_id: z.string(),
|
|
2134
2134
|
description: z.string(),
|
|
2135
|
-
created: z.string().default("2025-11-
|
|
2136
|
-
updated: z.string().default("2025-11-
|
|
2135
|
+
created: z.string().default("2025-11-20T07:47:06.974Z"),
|
|
2136
|
+
updated: z.string().default("2025-11-20T07:47:06.974Z"),
|
|
2137
2137
|
guardrail_config: z.union([
|
|
2138
2138
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$inboundSchema),
|
|
2139
2139
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Boolean$inboundSchema),
|
|
@@ -2188,8 +2188,8 @@ exports.CreateEvalResponseBodyFunction$inboundSchema = z.object({
|
|
|
2188
2188
|
exports.CreateEvalResponseBodyFunction$outboundSchema = z.object({
|
|
2189
2189
|
id: z.string(),
|
|
2190
2190
|
description: z.string(),
|
|
2191
|
-
created: z.string().default("2025-11-
|
|
2192
|
-
updated: z.string().default("2025-11-
|
|
2191
|
+
created: z.string().default("2025-11-20T07:47:06.974Z"),
|
|
2192
|
+
updated: z.string().default("2025-11-20T07:47:06.974Z"),
|
|
2193
2193
|
guardrailConfig: z.union([
|
|
2194
2194
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$outboundSchema),
|
|
2195
2195
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Boolean$outboundSchema),
|
|
@@ -2325,8 +2325,8 @@ exports.CreateEvalResponseBodyEvalsResponseType$outboundSchema = exports.CreateE
|
|
|
2325
2325
|
exports.ResponseBodyPython$inboundSchema = z.object({
|
|
2326
2326
|
_id: z.string(),
|
|
2327
2327
|
description: z.string(),
|
|
2328
|
-
created: z.string().default("2025-11-
|
|
2329
|
-
updated: z.string().default("2025-11-
|
|
2328
|
+
created: z.string().default("2025-11-20T07:47:06.974Z"),
|
|
2329
|
+
updated: z.string().default("2025-11-20T07:47:06.974Z"),
|
|
2330
2330
|
guardrail_config: z.union([
|
|
2331
2331
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema),
|
|
2332
2332
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema),
|
|
@@ -2344,8 +2344,8 @@ exports.ResponseBodyPython$inboundSchema = z.object({
|
|
|
2344
2344
|
exports.ResponseBodyPython$outboundSchema = z.object({
|
|
2345
2345
|
id: z.string(),
|
|
2346
2346
|
description: z.string(),
|
|
2347
|
-
created: z.string().default("2025-11-
|
|
2348
|
-
updated: z.string().default("2025-11-
|
|
2347
|
+
created: z.string().default("2025-11-20T07:47:06.974Z"),
|
|
2348
|
+
updated: z.string().default("2025-11-20T07:47:06.974Z"),
|
|
2349
2349
|
guardrailConfig: z.union([
|
|
2350
2350
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema),
|
|
2351
2351
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$outboundSchema),
|
|
@@ -2447,8 +2447,8 @@ exports.ResponseBodyMethod$outboundSchema = exports.ResponseBodyMethod$inboundSc
|
|
|
2447
2447
|
exports.ResponseBodyHTTP$inboundSchema = z.object({
|
|
2448
2448
|
_id: z.string(),
|
|
2449
2449
|
description: z.string(),
|
|
2450
|
-
created: z.string().default("2025-11-
|
|
2451
|
-
updated: z.string().default("2025-11-
|
|
2450
|
+
created: z.string().default("2025-11-20T07:47:06.974Z"),
|
|
2451
|
+
updated: z.string().default("2025-11-20T07:47:06.974Z"),
|
|
2452
2452
|
guardrail_config: z.union([
|
|
2453
2453
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema),
|
|
2454
2454
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema),
|
|
@@ -2469,8 +2469,8 @@ exports.ResponseBodyHTTP$inboundSchema = z.object({
|
|
|
2469
2469
|
exports.ResponseBodyHTTP$outboundSchema = z.object({
|
|
2470
2470
|
id: z.string(),
|
|
2471
2471
|
description: z.string(),
|
|
2472
|
-
created: z.string().default("2025-11-
|
|
2473
|
-
updated: z.string().default("2025-11-
|
|
2472
|
+
created: z.string().default("2025-11-20T07:47:06.974Z"),
|
|
2473
|
+
updated: z.string().default("2025-11-20T07:47:06.974Z"),
|
|
2474
2474
|
guardrailConfig: z.union([
|
|
2475
2475
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema),
|
|
2476
2476
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$outboundSchema),
|
|
@@ -2568,8 +2568,8 @@ exports.CreateEvalResponseBodyType$outboundSchema = exports.CreateEvalResponseBo
|
|
|
2568
2568
|
exports.ResponseBodyJSON$inboundSchema = z.object({
|
|
2569
2569
|
_id: z.string(),
|
|
2570
2570
|
description: z.string(),
|
|
2571
|
-
created: z.string().default("2025-11-
|
|
2572
|
-
updated: z.string().default("2025-11-
|
|
2571
|
+
created: z.string().default("2025-11-20T07:47:06.974Z"),
|
|
2572
|
+
updated: z.string().default("2025-11-20T07:47:06.974Z"),
|
|
2573
2573
|
guardrail_config: z.union([
|
|
2574
2574
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
2575
2575
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema),
|
|
@@ -2587,8 +2587,8 @@ exports.ResponseBodyJSON$inboundSchema = z.object({
|
|
|
2587
2587
|
exports.ResponseBodyJSON$outboundSchema = z.object({
|
|
2588
2588
|
id: z.string(),
|
|
2589
2589
|
description: z.string(),
|
|
2590
|
-
created: z.string().default("2025-11-
|
|
2591
|
-
updated: z.string().default("2025-11-
|
|
2590
|
+
created: z.string().default("2025-11-20T07:47:06.974Z"),
|
|
2591
|
+
updated: z.string().default("2025-11-20T07:47:06.974Z"),
|
|
2592
2592
|
guardrailConfig: z.union([
|
|
2593
2593
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200Number$outboundSchema),
|
|
2594
2594
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200Boolean$outboundSchema),
|
|
@@ -2685,8 +2685,8 @@ exports.ResponseBodyType$outboundSchema = exports.ResponseBodyType$inboundSchema
|
|
|
2685
2685
|
exports.ResponseBodyLLM$inboundSchema = z.object({
|
|
2686
2686
|
_id: z.string(),
|
|
2687
2687
|
description: z.string(),
|
|
2688
|
-
created: z.string().default("2025-11-
|
|
2689
|
-
updated: z.string().default("2025-11-
|
|
2688
|
+
created: z.string().default("2025-11-20T07:47:06.974Z"),
|
|
2689
|
+
updated: z.string().default("2025-11-20T07:47:06.974Z"),
|
|
2690
2690
|
guardrail_config: z.union([
|
|
2691
2691
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
2692
2692
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -2705,8 +2705,8 @@ exports.ResponseBodyLLM$inboundSchema = z.object({
|
|
|
2705
2705
|
exports.ResponseBodyLLM$outboundSchema = z.object({
|
|
2706
2706
|
id: z.string(),
|
|
2707
2707
|
description: z.string(),
|
|
2708
|
-
created: z.string().default("2025-11-
|
|
2709
|
-
updated: z.string().default("2025-11-
|
|
2708
|
+
created: z.string().default("2025-11-20T07:47:06.974Z"),
|
|
2709
|
+
updated: z.string().default("2025-11-20T07:47:06.974Z"),
|
|
2710
2710
|
guardrailConfig: z.union([
|
|
2711
2711
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
2712
2712
|
z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
@@ -5,7 +5,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
5
5
|
/**
|
|
6
6
|
* The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
7
7
|
*/
|
|
8
|
-
export declare const
|
|
8
|
+
export declare const CreateToolRequestBodyToolsRequestStatus: {
|
|
9
9
|
readonly Live: "live";
|
|
10
10
|
readonly Draft: "draft";
|
|
11
11
|
readonly Pending: "pending";
|
|
@@ -14,7 +14,7 @@ export declare const CreateToolRequestBodyToolsRequest5Status: {
|
|
|
14
14
|
/**
|
|
15
15
|
* The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
16
16
|
*/
|
|
17
|
-
export type
|
|
17
|
+
export type CreateToolRequestBodyToolsRequestStatus = ClosedEnum<typeof CreateToolRequestBodyToolsRequestStatus>;
|
|
18
18
|
export declare const CreateToolRequestBodyToolsRequest5Type: {
|
|
19
19
|
readonly Code: "code";
|
|
20
20
|
};
|
|
@@ -95,14 +95,14 @@ export type RequestBodyCodeExecutionTool = {
|
|
|
95
95
|
/**
|
|
96
96
|
* The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
97
97
|
*/
|
|
98
|
-
status?:
|
|
98
|
+
status?: CreateToolRequestBodyToolsRequestStatus | undefined;
|
|
99
99
|
type: CreateToolRequestBodyToolsRequest5Type;
|
|
100
100
|
codeTool: RequestBodyCodeTool;
|
|
101
101
|
};
|
|
102
102
|
/**
|
|
103
103
|
* The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
104
104
|
*/
|
|
105
|
-
export declare const
|
|
105
|
+
export declare const CreateToolRequestBodyToolsStatus: {
|
|
106
106
|
readonly Live: "live";
|
|
107
107
|
readonly Draft: "draft";
|
|
108
108
|
readonly Pending: "pending";
|
|
@@ -111,7 +111,7 @@ export declare const CreateToolRequestBodyToolsRequestStatus: {
|
|
|
111
111
|
/**
|
|
112
112
|
* The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
113
113
|
*/
|
|
114
|
-
export type
|
|
114
|
+
export type CreateToolRequestBodyToolsStatus = ClosedEnum<typeof CreateToolRequestBodyToolsStatus>;
|
|
115
115
|
export declare const CreateToolRequestBodyToolsRequest4Type: {
|
|
116
116
|
readonly Mcp: "mcp";
|
|
117
117
|
};
|
|
@@ -176,14 +176,14 @@ export type RequestBodyMCPTool = {
|
|
|
176
176
|
/**
|
|
177
177
|
* The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
178
178
|
*/
|
|
179
|
-
status?:
|
|
179
|
+
status?: CreateToolRequestBodyToolsStatus | undefined;
|
|
180
180
|
type: CreateToolRequestBodyToolsRequest4Type;
|
|
181
181
|
mcp: RequestBodyMcp;
|
|
182
182
|
};
|
|
183
183
|
/**
|
|
184
184
|
* The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
185
185
|
*/
|
|
186
|
-
export declare const
|
|
186
|
+
export declare const CreateToolRequestBodyStatus: {
|
|
187
187
|
readonly Live: "live";
|
|
188
188
|
readonly Draft: "draft";
|
|
189
189
|
readonly Pending: "pending";
|
|
@@ -192,7 +192,7 @@ export declare const CreateToolRequestBodyToolsStatus: {
|
|
|
192
192
|
/**
|
|
193
193
|
* The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
194
194
|
*/
|
|
195
|
-
export type
|
|
195
|
+
export type CreateToolRequestBodyStatus = ClosedEnum<typeof CreateToolRequestBodyStatus>;
|
|
196
196
|
export declare const CreateToolRequestBodyToolsRequestType: {
|
|
197
197
|
readonly Http: "http";
|
|
198
198
|
};
|
|
@@ -315,14 +315,14 @@ export type RequestBodyHTTPTool = {
|
|
|
315
315
|
/**
|
|
316
316
|
* The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
317
317
|
*/
|
|
318
|
-
status?:
|
|
318
|
+
status?: CreateToolRequestBodyStatus | undefined;
|
|
319
319
|
type: CreateToolRequestBodyToolsRequestType;
|
|
320
320
|
http: CreateToolRequestBodyHttp;
|
|
321
321
|
};
|
|
322
322
|
/**
|
|
323
323
|
* The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
324
324
|
*/
|
|
325
|
-
export declare const
|
|
325
|
+
export declare const RequestBodyStatus: {
|
|
326
326
|
readonly Live: "live";
|
|
327
327
|
readonly Draft: "draft";
|
|
328
328
|
readonly Pending: "pending";
|
|
@@ -331,7 +331,7 @@ export declare const CreateToolRequestBodyStatus: {
|
|
|
331
331
|
/**
|
|
332
332
|
* The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
333
333
|
*/
|
|
334
|
-
export type
|
|
334
|
+
export type RequestBodyStatus = ClosedEnum<typeof RequestBodyStatus>;
|
|
335
335
|
export declare const CreateToolRequestBodyToolsType: {
|
|
336
336
|
readonly JsonSchema: "json_schema";
|
|
337
337
|
};
|
|
@@ -405,14 +405,14 @@ export type JSONSchemaTool = {
|
|
|
405
405
|
/**
|
|
406
406
|
* The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
407
407
|
*/
|
|
408
|
-
status?:
|
|
408
|
+
status?: RequestBodyStatus | undefined;
|
|
409
409
|
type: CreateToolRequestBodyToolsType;
|
|
410
410
|
jsonSchema: RequestBodyJsonSchema;
|
|
411
411
|
};
|
|
412
412
|
/**
|
|
413
413
|
* The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
414
414
|
*/
|
|
415
|
-
export declare const
|
|
415
|
+
export declare const CreateToolRequestBodyToolsRequest1Status: {
|
|
416
416
|
readonly Live: "live";
|
|
417
417
|
readonly Draft: "draft";
|
|
418
418
|
readonly Pending: "pending";
|
|
@@ -421,7 +421,7 @@ export declare const RequestBodyStatus: {
|
|
|
421
421
|
/**
|
|
422
422
|
* The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
423
423
|
*/
|
|
424
|
-
export type
|
|
424
|
+
export type CreateToolRequestBodyToolsRequest1Status = ClosedEnum<typeof CreateToolRequestBodyToolsRequest1Status>;
|
|
425
425
|
export declare const CreateToolRequestBodyType: {
|
|
426
426
|
readonly Function: "function";
|
|
427
427
|
};
|
|
@@ -505,7 +505,7 @@ export type RequestBodyFunctionTool = {
|
|
|
505
505
|
/**
|
|
506
506
|
* The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
|
|
507
507
|
*/
|
|
508
|
-
status?:
|
|
508
|
+
status?: CreateToolRequestBodyToolsRequest1Status | undefined;
|
|
509
509
|
type: CreateToolRequestBodyType;
|
|
510
510
|
function: RequestBodyFunction;
|
|
511
511
|
};
|
|
@@ -1101,9 +1101,9 @@ export type ResponseBody1 = {
|
|
|
1101
1101
|
*/
|
|
1102
1102
|
export type CreateToolResponseBody = ResponseBody1 | ResponseBody2 | ResponseBody3 | ResponseBody4 | ResponseBody5;
|
|
1103
1103
|
/** @internal */
|
|
1104
|
-
export declare const
|
|
1104
|
+
export declare const CreateToolRequestBodyToolsRequestStatus$inboundSchema: z.ZodNativeEnum<typeof CreateToolRequestBodyToolsRequestStatus>;
|
|
1105
1105
|
/** @internal */
|
|
1106
|
-
export declare const
|
|
1106
|
+
export declare const CreateToolRequestBodyToolsRequestStatus$outboundSchema: z.ZodNativeEnum<typeof CreateToolRequestBodyToolsRequestStatus>;
|
|
1107
1107
|
/** @internal */
|
|
1108
1108
|
export declare const CreateToolRequestBodyToolsRequest5Type$inboundSchema: z.ZodNativeEnum<typeof CreateToolRequestBodyToolsRequest5Type>;
|
|
1109
1109
|
/** @internal */
|
|
@@ -1160,9 +1160,9 @@ export declare const RequestBodyCodeExecutionTool$outboundSchema: z.ZodType<Requ
|
|
|
1160
1160
|
export declare function requestBodyCodeExecutionToolToJSON(requestBodyCodeExecutionTool: RequestBodyCodeExecutionTool): string;
|
|
1161
1161
|
export declare function requestBodyCodeExecutionToolFromJSON(jsonString: string): SafeParseResult<RequestBodyCodeExecutionTool, SDKValidationError>;
|
|
1162
1162
|
/** @internal */
|
|
1163
|
-
export declare const
|
|
1163
|
+
export declare const CreateToolRequestBodyToolsStatus$inboundSchema: z.ZodNativeEnum<typeof CreateToolRequestBodyToolsStatus>;
|
|
1164
1164
|
/** @internal */
|
|
1165
|
-
export declare const
|
|
1165
|
+
export declare const CreateToolRequestBodyToolsStatus$outboundSchema: z.ZodNativeEnum<typeof CreateToolRequestBodyToolsStatus>;
|
|
1166
1166
|
/** @internal */
|
|
1167
1167
|
export declare const CreateToolRequestBodyToolsRequest4Type$inboundSchema: z.ZodNativeEnum<typeof CreateToolRequestBodyToolsRequest4Type>;
|
|
1168
1168
|
/** @internal */
|
|
@@ -1213,9 +1213,9 @@ export declare const RequestBodyMCPTool$outboundSchema: z.ZodType<RequestBodyMCP
|
|
|
1213
1213
|
export declare function requestBodyMCPToolToJSON(requestBodyMCPTool: RequestBodyMCPTool): string;
|
|
1214
1214
|
export declare function requestBodyMCPToolFromJSON(jsonString: string): SafeParseResult<RequestBodyMCPTool, SDKValidationError>;
|
|
1215
1215
|
/** @internal */
|
|
1216
|
-
export declare const
|
|
1216
|
+
export declare const CreateToolRequestBodyStatus$inboundSchema: z.ZodNativeEnum<typeof CreateToolRequestBodyStatus>;
|
|
1217
1217
|
/** @internal */
|
|
1218
|
-
export declare const
|
|
1218
|
+
export declare const CreateToolRequestBodyStatus$outboundSchema: z.ZodNativeEnum<typeof CreateToolRequestBodyStatus>;
|
|
1219
1219
|
/** @internal */
|
|
1220
1220
|
export declare const CreateToolRequestBodyToolsRequestType$inboundSchema: z.ZodNativeEnum<typeof CreateToolRequestBodyToolsRequestType>;
|
|
1221
1221
|
/** @internal */
|
|
@@ -1315,9 +1315,9 @@ export declare const RequestBodyHTTPTool$outboundSchema: z.ZodType<RequestBodyHT
|
|
|
1315
1315
|
export declare function requestBodyHTTPToolToJSON(requestBodyHTTPTool: RequestBodyHTTPTool): string;
|
|
1316
1316
|
export declare function requestBodyHTTPToolFromJSON(jsonString: string): SafeParseResult<RequestBodyHTTPTool, SDKValidationError>;
|
|
1317
1317
|
/** @internal */
|
|
1318
|
-
export declare const
|
|
1318
|
+
export declare const RequestBodyStatus$inboundSchema: z.ZodNativeEnum<typeof RequestBodyStatus>;
|
|
1319
1319
|
/** @internal */
|
|
1320
|
-
export declare const
|
|
1320
|
+
export declare const RequestBodyStatus$outboundSchema: z.ZodNativeEnum<typeof RequestBodyStatus>;
|
|
1321
1321
|
/** @internal */
|
|
1322
1322
|
export declare const CreateToolRequestBodyToolsType$inboundSchema: z.ZodNativeEnum<typeof CreateToolRequestBodyToolsType>;
|
|
1323
1323
|
/** @internal */
|
|
@@ -1367,9 +1367,9 @@ export declare const JSONSchemaTool$outboundSchema: z.ZodType<JSONSchemaTool$Out
|
|
|
1367
1367
|
export declare function jsonSchemaToolToJSON(jsonSchemaTool: JSONSchemaTool): string;
|
|
1368
1368
|
export declare function jsonSchemaToolFromJSON(jsonString: string): SafeParseResult<JSONSchemaTool, SDKValidationError>;
|
|
1369
1369
|
/** @internal */
|
|
1370
|
-
export declare const
|
|
1370
|
+
export declare const CreateToolRequestBodyToolsRequest1Status$inboundSchema: z.ZodNativeEnum<typeof CreateToolRequestBodyToolsRequest1Status>;
|
|
1371
1371
|
/** @internal */
|
|
1372
|
-
export declare const
|
|
1372
|
+
export declare const CreateToolRequestBodyToolsRequest1Status$outboundSchema: z.ZodNativeEnum<typeof CreateToolRequestBodyToolsRequest1Status>;
|
|
1373
1373
|
/** @internal */
|
|
1374
1374
|
export declare const CreateToolRequestBodyType$inboundSchema: z.ZodNativeEnum<typeof CreateToolRequestBodyType>;
|
|
1375
1375
|
/** @internal */
|