@orq-ai/node 4.6.10 → 4.6.11
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/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createcontact.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createeval.js +16 -16
- package/models/operations/createidentity.js +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +16 -16
- package/models/operations/getv2humanevals.js +6 -6
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/getv2humanevalsid.js +6 -6
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listidentities.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/patchv2humanevalsid.js +12 -12
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevals.js +12 -12
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrieveidentity.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.js +16 -16
- package/models/operations/updateidentity.js +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +1 -1
- package/packages/orq-rc/src/lib/config.ts +2 -2
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/toolexecutionfailedstreamingevent.ts +5 -0
- package/packages/orq-rc/src/models/components/toolexecutionfinishedstreamingevent.ts +5 -0
- package/packages/orq-rc/src/models/components/toolexecutionstartedstreamingevent.ts +5 -0
- package/packages/orq-rc/src/models/operations/createcontact.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +4 -4
- package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/createeval.ts +16 -16
- package/packages/orq-rc/src/models/operations/createidentity.ts +1 -1
- package/packages/orq-rc/src/models/operations/createprompt.ts +1 -0
- package/packages/orq-rc/src/models/operations/createtool.ts +16 -6
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +1 -0
- package/packages/orq-rc/src/models/operations/deployments.ts +1 -0
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +1 -0
- package/packages/orq-rc/src/models/operations/getallprompts.ts +1 -0
- package/packages/orq-rc/src/models/operations/getalltools.ts +12 -6
- package/packages/orq-rc/src/models/operations/getevals.ts +16 -16
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +1 -0
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +1 -0
- package/packages/orq-rc/src/models/operations/getv2humanevals.ts +6 -6
- package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/getv2humanevalsid.ts +6 -6
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
- package/packages/orq-rc/src/models/operations/listdatasources.ts +1 -1
- package/packages/orq-rc/src/models/operations/listidentities.ts +1 -1
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +1 -0
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/patchv2humanevalsid.ts +12 -12
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/packages/orq-rc/src/models/operations/postv2humanevals.ts +12 -12
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +4 -4
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrieveidentity.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievetool.ts +12 -6
- package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +4 -4
- package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateeval.ts +16 -16
- package/packages/orq-rc/src/models/operations/updateidentity.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateprompt.ts +1 -0
- package/packages/orq-rc/src/models/operations/updatetool.ts +17 -7
- package/src/lib/config.ts +2 -2
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createcontact.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createeval.ts +16 -16
- package/src/models/operations/createidentity.ts +1 -1
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/getv2humanevals.ts +6 -6
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/getv2humanevalsid.ts +6 -6
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/listidentities.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/patchv2humanevalsid.ts +12 -12
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2humanevals.ts +12 -12
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +4 -4
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrieveidentity.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateeval.ts +16 -16
- package/src/models/operations/updateidentity.ts +1 -1
- package/src/models/operations/updatetool.ts +7 -7
|
@@ -59,6 +59,8 @@ export type ToolExecutionFailedStreamingEventToolExecutionContext = {
|
|
|
59
59
|
product: ToolExecutionFailedStreamingEventProduct;
|
|
60
60
|
memory?: ToolExecutionFailedStreamingEventMemory | undefined;
|
|
61
61
|
parentId?: string | undefined;
|
|
62
|
+
variables?: { [k: string]: any } | undefined;
|
|
63
|
+
secretKeys?: Array<string> | undefined;
|
|
62
64
|
};
|
|
63
65
|
|
|
64
66
|
export type ToolExecutionFailedStreamingEventData = {
|
|
@@ -149,6 +151,8 @@ export const ToolExecutionFailedStreamingEventToolExecutionContext$inboundSchema
|
|
|
149
151
|
memory: z.lazy(() => ToolExecutionFailedStreamingEventMemory$inboundSchema)
|
|
150
152
|
.optional(),
|
|
151
153
|
parent_id: z.string().optional(),
|
|
154
|
+
variables: z.record(z.any()).optional(),
|
|
155
|
+
secret_keys: z.array(z.string()).optional(),
|
|
152
156
|
}).transform((v) => {
|
|
153
157
|
return remap$(v, {
|
|
154
158
|
"action_id": "actionId",
|
|
@@ -157,6 +161,7 @@ export const ToolExecutionFailedStreamingEventToolExecutionContext$inboundSchema
|
|
|
157
161
|
"agent_manifest_id": "agentManifestId",
|
|
158
162
|
"agent_execution_id": "agentExecutionId",
|
|
159
163
|
"parent_id": "parentId",
|
|
164
|
+
"secret_keys": "secretKeys",
|
|
160
165
|
});
|
|
161
166
|
});
|
|
162
167
|
|
|
@@ -54,6 +54,8 @@ export type ToolExecutionFinishedStreamingEventToolExecutionContext = {
|
|
|
54
54
|
product: ToolExecutionFinishedStreamingEventProduct;
|
|
55
55
|
memory?: ToolExecutionFinishedStreamingEventMemory | undefined;
|
|
56
56
|
parentId?: string | undefined;
|
|
57
|
+
variables?: { [k: string]: any } | undefined;
|
|
58
|
+
secretKeys?: Array<string> | undefined;
|
|
57
59
|
};
|
|
58
60
|
|
|
59
61
|
export type ToolExecutionFinishedStreamingEventData = {
|
|
@@ -128,6 +130,8 @@ export const ToolExecutionFinishedStreamingEventToolExecutionContext$inboundSche
|
|
|
128
130
|
ToolExecutionFinishedStreamingEventMemory$inboundSchema
|
|
129
131
|
).optional(),
|
|
130
132
|
parent_id: z.string().optional(),
|
|
133
|
+
variables: z.record(z.any()).optional(),
|
|
134
|
+
secret_keys: z.array(z.string()).optional(),
|
|
131
135
|
}).transform((v) => {
|
|
132
136
|
return remap$(v, {
|
|
133
137
|
"action_id": "actionId",
|
|
@@ -136,6 +140,7 @@ export const ToolExecutionFinishedStreamingEventToolExecutionContext$inboundSche
|
|
|
136
140
|
"agent_manifest_id": "agentManifestId",
|
|
137
141
|
"agent_execution_id": "agentExecutionId",
|
|
138
142
|
"parent_id": "parentId",
|
|
143
|
+
"secret_keys": "secretKeys",
|
|
139
144
|
});
|
|
140
145
|
});
|
|
141
146
|
|
|
@@ -52,6 +52,8 @@ export type ToolExecutionContext = {
|
|
|
52
52
|
product: Product;
|
|
53
53
|
memory?: Memory | undefined;
|
|
54
54
|
parentId?: string | undefined;
|
|
55
|
+
variables?: { [k: string]: any } | undefined;
|
|
56
|
+
secretKeys?: Array<string> | undefined;
|
|
55
57
|
};
|
|
56
58
|
|
|
57
59
|
export type ToolExecutionStartedStreamingEventData = {
|
|
@@ -117,6 +119,8 @@ export const ToolExecutionContext$inboundSchema: z.ZodType<
|
|
|
117
119
|
product: Product$inboundSchema,
|
|
118
120
|
memory: z.lazy(() => Memory$inboundSchema).optional(),
|
|
119
121
|
parent_id: z.string().optional(),
|
|
122
|
+
variables: z.record(z.any()).optional(),
|
|
123
|
+
secret_keys: z.array(z.string()).optional(),
|
|
120
124
|
}).transform((v) => {
|
|
121
125
|
return remap$(v, {
|
|
122
126
|
"action_id": "actionId",
|
|
@@ -125,6 +129,7 @@ export const ToolExecutionContext$inboundSchema: z.ZodType<
|
|
|
125
129
|
"agent_manifest_id": "agentManifestId",
|
|
126
130
|
"agent_execution_id": "agentExecutionId",
|
|
127
131
|
"parent_id": "parentId",
|
|
132
|
+
"secret_keys": "secretKeys",
|
|
128
133
|
});
|
|
129
134
|
});
|
|
130
135
|
|
|
@@ -134,7 +134,7 @@ export const CreateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
134
134
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
135
135
|
.optional(),
|
|
136
136
|
updated: z.string().datetime({ offset: true }).default(
|
|
137
|
-
"2026-04-
|
|
137
|
+
"2026-04-02T10:46:54.630Z",
|
|
138
138
|
).transform(v => new Date(v)),
|
|
139
139
|
}).transform((v) => {
|
|
140
140
|
return remap$(v, {
|
|
@@ -138,7 +138,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
138
138
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
139
139
|
.optional(),
|
|
140
140
|
updated: z.string().datetime({ offset: true }).default(
|
|
141
|
-
"2026-04-
|
|
141
|
+
"2026-04-02T10:46:54.630Z",
|
|
142
142
|
).transform(v => new Date(v)),
|
|
143
143
|
}).transform((v) => {
|
|
144
144
|
return remap$(v, {
|
|
@@ -2355,7 +2355,7 @@ export const Evaluations3$inboundSchema: z.ZodType<
|
|
|
2355
2355
|
),
|
|
2356
2356
|
reviewed_by_id: z.string(),
|
|
2357
2357
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2358
|
-
"2026-04-
|
|
2358
|
+
"2026-04-02T10:47:12.476Z",
|
|
2359
2359
|
).transform(v => new Date(v)),
|
|
2360
2360
|
type: z.literal("string_array"),
|
|
2361
2361
|
values: z.array(z.string()),
|
|
@@ -2400,7 +2400,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
|
|
|
2400
2400
|
source: CreateDatasetItemEvaluationsSource$inboundSchema.default("orq"),
|
|
2401
2401
|
reviewed_by_id: z.string(),
|
|
2402
2402
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2403
|
-
"2026-04-
|
|
2403
|
+
"2026-04-02T10:47:12.476Z",
|
|
2404
2404
|
).transform(v => new Date(v)),
|
|
2405
2405
|
type: z.literal("number"),
|
|
2406
2406
|
value: z.number(),
|
|
@@ -2446,7 +2446,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
|
|
|
2446
2446
|
source: EvaluationsSource$inboundSchema.default("orq"),
|
|
2447
2447
|
reviewed_by_id: z.string(),
|
|
2448
2448
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2449
|
-
"2026-04-
|
|
2449
|
+
"2026-04-02T10:47:12.475Z",
|
|
2450
2450
|
).transform(v => new Date(v)),
|
|
2451
2451
|
type: z.literal("string"),
|
|
2452
2452
|
value: z.string(),
|
|
@@ -2529,7 +2529,7 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
|
|
|
2529
2529
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2530
2530
|
.optional(),
|
|
2531
2531
|
updated: z.string().datetime({ offset: true }).default(
|
|
2532
|
-
"2026-04-
|
|
2532
|
+
"2026-04-02T10:46:54.630Z",
|
|
2533
2533
|
).transform(v => new Date(v)),
|
|
2534
2534
|
}).transform((v) => {
|
|
2535
2535
|
return remap$(v, {
|
|
@@ -403,7 +403,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
403
403
|
z.ZodTypeDef,
|
|
404
404
|
unknown
|
|
405
405
|
> = z.object({
|
|
406
|
-
_id: z.string().default("
|
|
406
|
+
_id: z.string().default("01KN6WVS8EKMCX3K8PPHYZ8H1Z"),
|
|
407
407
|
display_name: z.string(),
|
|
408
408
|
description: z.string().optional(),
|
|
409
409
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -2278,8 +2278,8 @@ export const Typescript$inboundSchema: z.ZodType<
|
|
|
2278
2278
|
> = z.object({
|
|
2279
2279
|
_id: z.string(),
|
|
2280
2280
|
description: z.string(),
|
|
2281
|
-
created: z.string().default("2026-04-
|
|
2282
|
-
updated: z.string().default("2026-04-
|
|
2281
|
+
created: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
2282
|
+
updated: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
2283
2283
|
guardrail_config: z.nullable(
|
|
2284
2284
|
z.union([
|
|
2285
2285
|
z.lazy(() =>
|
|
@@ -2429,8 +2429,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
|
|
|
2429
2429
|
.object({
|
|
2430
2430
|
_id: z.string(),
|
|
2431
2431
|
description: z.string(),
|
|
2432
|
-
created: z.string().default("2026-04-
|
|
2433
|
-
updated: z.string().default("2026-04-
|
|
2432
|
+
created: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
2433
|
+
updated: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
2434
2434
|
guardrail_config: z.nullable(
|
|
2435
2435
|
z.union([
|
|
2436
2436
|
z.lazy(() =>
|
|
@@ -3221,8 +3221,8 @@ export const CreateEvalResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
3221
3221
|
> = z.object({
|
|
3222
3222
|
_id: z.string(),
|
|
3223
3223
|
description: z.string(),
|
|
3224
|
-
created: z.string().default("2026-04-
|
|
3225
|
-
updated: z.string().default("2026-04-
|
|
3224
|
+
created: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
3225
|
+
updated: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
3226
3226
|
guardrail_config: z.nullable(
|
|
3227
3227
|
z.union([
|
|
3228
3228
|
z.lazy(() =>
|
|
@@ -3402,8 +3402,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
3402
3402
|
> = z.object({
|
|
3403
3403
|
_id: z.string(),
|
|
3404
3404
|
description: z.string(),
|
|
3405
|
-
created: z.string().default("2026-04-
|
|
3406
|
-
updated: z.string().default("2026-04-
|
|
3405
|
+
created: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
3406
|
+
updated: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
3407
3407
|
guardrail_config: z.nullable(
|
|
3408
3408
|
z.union([
|
|
3409
3409
|
z.lazy(() =>
|
|
@@ -3545,8 +3545,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
3545
3545
|
> = z.object({
|
|
3546
3546
|
_id: z.string(),
|
|
3547
3547
|
description: z.string(),
|
|
3548
|
-
created: z.string().default("2026-04-
|
|
3549
|
-
updated: z.string().default("2026-04-
|
|
3548
|
+
created: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
3549
|
+
updated: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
3550
3550
|
guardrail_config: z.nullable(
|
|
3551
3551
|
z.union([
|
|
3552
3552
|
z.lazy(() =>
|
|
@@ -3686,8 +3686,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
3686
3686
|
> = z.object({
|
|
3687
3687
|
_id: z.string(),
|
|
3688
3688
|
description: z.string(),
|
|
3689
|
-
created: z.string().default("2026-04-
|
|
3690
|
-
updated: z.string().default("2026-04-
|
|
3689
|
+
created: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
3690
|
+
updated: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
3691
3691
|
guardrail_config: z.nullable(
|
|
3692
3692
|
z.union([
|
|
3693
3693
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -3999,8 +3999,8 @@ export const CreateEvalLlm2$inboundSchema: z.ZodType<
|
|
|
3999
3999
|
> = z.object({
|
|
4000
4000
|
_id: z.string(),
|
|
4001
4001
|
description: z.string(),
|
|
4002
|
-
created: z.string().default("2026-04-
|
|
4003
|
-
updated: z.string().default("2026-04-
|
|
4002
|
+
created: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
4003
|
+
updated: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
4004
4004
|
guardrail_config: z.nullable(
|
|
4005
4005
|
z.union([
|
|
4006
4006
|
z.lazy(() =>
|
|
@@ -4145,8 +4145,8 @@ export const CreateEvalLlm1$inboundSchema: z.ZodType<
|
|
|
4145
4145
|
> = z.object({
|
|
4146
4146
|
_id: z.string(),
|
|
4147
4147
|
description: z.string(),
|
|
4148
|
-
created: z.string().default("2026-04-
|
|
4149
|
-
updated: z.string().default("2026-04-
|
|
4148
|
+
created: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
4149
|
+
updated: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
4150
4150
|
guardrail_config: z.nullable(
|
|
4151
4151
|
z.union([
|
|
4152
4152
|
z.lazy(() =>
|
|
@@ -139,7 +139,7 @@ export const CreateIdentityResponseBody$inboundSchema: z.ZodType<
|
|
|
139
139
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
140
140
|
.optional(),
|
|
141
141
|
updated: z.string().datetime({ offset: true }).default(
|
|
142
|
-
"2026-04-
|
|
142
|
+
"2026-04-02T10:46:54.630Z",
|
|
143
143
|
).transform(v => new Date(v)),
|
|
144
144
|
}).transform((v) => {
|
|
145
145
|
return remap$(v, {
|
|
@@ -193,6 +193,7 @@ export type RequestBodyMCPTool = {
|
|
|
193
193
|
status?: CreateToolRequestBodyToolsStatus | undefined;
|
|
194
194
|
type: "mcp";
|
|
195
195
|
mcp: RequestBodyMcp;
|
|
196
|
+
discoveryVariables?: { [k: string]: string } | undefined;
|
|
196
197
|
};
|
|
197
198
|
|
|
198
199
|
/**
|
|
@@ -720,6 +721,10 @@ export type ResponseBodyMcp = {
|
|
|
720
721
|
* The connection type used by the MCP server
|
|
721
722
|
*/
|
|
722
723
|
connectionType: ResponseBodyConnectionType;
|
|
724
|
+
/**
|
|
725
|
+
* Names of template variables detected in server_url and headers. Used by the FE to prompt for one-time values on sync/refresh.
|
|
726
|
+
*/
|
|
727
|
+
templateVariables?: Array<string> | null | undefined;
|
|
723
728
|
};
|
|
724
729
|
|
|
725
730
|
/**
|
|
@@ -1344,6 +1349,7 @@ export type RequestBodyMCPTool$Outbound = {
|
|
|
1344
1349
|
status: string;
|
|
1345
1350
|
type: "mcp";
|
|
1346
1351
|
mcp: RequestBodyMcp$Outbound;
|
|
1352
|
+
discovery_variables?: { [k: string]: string } | undefined;
|
|
1347
1353
|
};
|
|
1348
1354
|
|
|
1349
1355
|
/** @internal */
|
|
@@ -1359,9 +1365,11 @@ export const RequestBodyMCPTool$outboundSchema: z.ZodType<
|
|
|
1359
1365
|
status: CreateToolRequestBodyToolsStatus$outboundSchema.default("live"),
|
|
1360
1366
|
type: z.literal("mcp"),
|
|
1361
1367
|
mcp: z.lazy(() => RequestBodyMcp$outboundSchema),
|
|
1368
|
+
discoveryVariables: z.record(z.string()).optional(),
|
|
1362
1369
|
}).transform((v) => {
|
|
1363
1370
|
return remap$(v, {
|
|
1364
1371
|
displayName: "display_name",
|
|
1372
|
+
discoveryVariables: "discovery_variables",
|
|
1365
1373
|
});
|
|
1366
1374
|
});
|
|
1367
1375
|
|
|
@@ -1899,7 +1907,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
1899
1907
|
z.ZodTypeDef,
|
|
1900
1908
|
unknown
|
|
1901
1909
|
> = z.object({
|
|
1902
|
-
_id: z.string().default("
|
|
1910
|
+
_id: z.string().default("tool_01KN6WVS3J22DRAGG24XDBKF5Z"),
|
|
1903
1911
|
path: z.string(),
|
|
1904
1912
|
key: z.string(),
|
|
1905
1913
|
display_name: z.string().optional(),
|
|
@@ -1998,7 +2006,7 @@ export const ResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
1998
2006
|
z.ZodTypeDef,
|
|
1999
2007
|
unknown
|
|
2000
2008
|
> = z.object({
|
|
2001
|
-
id: z.string().default("
|
|
2009
|
+
id: z.string().default("01KN6WVS3HJVH63KWWVEAQ5KWS"),
|
|
2002
2010
|
name: z.string(),
|
|
2003
2011
|
description: z.string().optional(),
|
|
2004
2012
|
schema: z.lazy(() => CreateToolResponseBodySchema$inboundSchema),
|
|
@@ -2029,10 +2037,12 @@ export const ResponseBodyMcp$inboundSchema: z.ZodType<
|
|
|
2029
2037
|
headers: z.record(z.lazy(() => ResponseBodyHeaders$inboundSchema)).optional(),
|
|
2030
2038
|
tools: z.array(z.lazy(() => ResponseBodyTools$inboundSchema)),
|
|
2031
2039
|
connection_type: ResponseBodyConnectionType$inboundSchema,
|
|
2040
|
+
template_variables: z.nullable(z.array(z.string())).optional(),
|
|
2032
2041
|
}).transform((v) => {
|
|
2033
2042
|
return remap$(v, {
|
|
2034
2043
|
"server_url": "serverUrl",
|
|
2035
2044
|
"connection_type": "connectionType",
|
|
2045
|
+
"template_variables": "templateVariables",
|
|
2036
2046
|
});
|
|
2037
2047
|
});
|
|
2038
2048
|
|
|
@@ -2052,7 +2062,7 @@ export const ResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2052
2062
|
z.ZodTypeDef,
|
|
2053
2063
|
unknown
|
|
2054
2064
|
> = z.object({
|
|
2055
|
-
_id: z.string().default("
|
|
2065
|
+
_id: z.string().default("tool_01KN6WVS3G45WD3B5SC3W8AY20"),
|
|
2056
2066
|
path: z.string(),
|
|
2057
2067
|
key: z.string(),
|
|
2058
2068
|
display_name: z.string().optional(),
|
|
@@ -2240,7 +2250,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2240
2250
|
z.ZodTypeDef,
|
|
2241
2251
|
unknown
|
|
2242
2252
|
> = z.object({
|
|
2243
|
-
_id: z.string().default("
|
|
2253
|
+
_id: z.string().default("tool_01KN6WVS3EZWZG3QG97R24HJWF"),
|
|
2244
2254
|
path: z.string(),
|
|
2245
2255
|
key: z.string(),
|
|
2246
2256
|
display_name: z.string().optional(),
|
|
@@ -2335,7 +2345,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2335
2345
|
z.ZodTypeDef,
|
|
2336
2346
|
unknown
|
|
2337
2347
|
> = z.object({
|
|
2338
|
-
_id: z.string().default("
|
|
2348
|
+
_id: z.string().default("tool_01KN6WVS3DST2HBJF4G5Y2NFKT"),
|
|
2339
2349
|
path: z.string(),
|
|
2340
2350
|
key: z.string(),
|
|
2341
2351
|
display_name: z.string().optional(),
|
|
@@ -2438,7 +2448,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2438
2448
|
z.ZodTypeDef,
|
|
2439
2449
|
unknown
|
|
2440
2450
|
> = z.object({
|
|
2441
|
-
_id: z.string().default("
|
|
2451
|
+
_id: z.string().default("tool_01KN6WVS3BS9Z83X8W1M14DA36"),
|
|
2442
2452
|
path: z.string(),
|
|
2443
2453
|
key: z.string(),
|
|
2444
2454
|
display_name: z.string().optional(),
|
|
@@ -217,6 +217,10 @@ export type DataMcp = {
|
|
|
217
217
|
* The connection type used by the MCP server
|
|
218
218
|
*/
|
|
219
219
|
connectionType: DataConnectionType;
|
|
220
|
+
/**
|
|
221
|
+
* Names of template variables detected in server_url and headers. Used by the FE to prompt for one-time values on sync/refresh.
|
|
222
|
+
*/
|
|
223
|
+
templateVariables?: Array<string> | null | undefined;
|
|
220
224
|
};
|
|
221
225
|
|
|
222
226
|
/**
|
|
@@ -768,7 +772,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
768
772
|
z.ZodTypeDef,
|
|
769
773
|
unknown
|
|
770
774
|
> = z.object({
|
|
771
|
-
_id: z.string().default("
|
|
775
|
+
_id: z.string().default("tool_01KN6WVS31YJPD95NY0QZPJ2XX"),
|
|
772
776
|
path: z.string(),
|
|
773
777
|
key: z.string(),
|
|
774
778
|
display_name: z.string().optional(),
|
|
@@ -867,7 +871,7 @@ export const DataTools$inboundSchema: z.ZodType<
|
|
|
867
871
|
z.ZodTypeDef,
|
|
868
872
|
unknown
|
|
869
873
|
> = z.object({
|
|
870
|
-
id: z.string().default("
|
|
874
|
+
id: z.string().default("01KN6WVS30FEY9BA25Y8CZNTDF"),
|
|
871
875
|
name: z.string(),
|
|
872
876
|
description: z.string().optional(),
|
|
873
877
|
schema: z.lazy(() => GetAllToolsDataSchema$inboundSchema),
|
|
@@ -895,10 +899,12 @@ export const DataMcp$inboundSchema: z.ZodType<DataMcp, z.ZodTypeDef, unknown> =
|
|
|
895
899
|
headers: z.record(z.lazy(() => DataHeaders$inboundSchema)).optional(),
|
|
896
900
|
tools: z.array(z.lazy(() => DataTools$inboundSchema)),
|
|
897
901
|
connection_type: DataConnectionType$inboundSchema,
|
|
902
|
+
template_variables: z.nullable(z.array(z.string())).optional(),
|
|
898
903
|
}).transform((v) => {
|
|
899
904
|
return remap$(v, {
|
|
900
905
|
"server_url": "serverUrl",
|
|
901
906
|
"connection_type": "connectionType",
|
|
907
|
+
"template_variables": "templateVariables",
|
|
902
908
|
});
|
|
903
909
|
});
|
|
904
910
|
|
|
@@ -918,7 +924,7 @@ export const DataMCPTool$inboundSchema: z.ZodType<
|
|
|
918
924
|
z.ZodTypeDef,
|
|
919
925
|
unknown
|
|
920
926
|
> = z.object({
|
|
921
|
-
_id: z.string().default("
|
|
927
|
+
_id: z.string().default("tool_01KN6WVS2Y8G8K5R30JMVYPMJ6"),
|
|
922
928
|
path: z.string(),
|
|
923
929
|
key: z.string(),
|
|
924
930
|
display_name: z.string().optional(),
|
|
@@ -1105,7 +1111,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
|
|
|
1105
1111
|
z.ZodTypeDef,
|
|
1106
1112
|
unknown
|
|
1107
1113
|
> = z.object({
|
|
1108
|
-
_id: z.string().default("
|
|
1114
|
+
_id: z.string().default("tool_01KN6WVS2W075QFDWPZ0ENG37S"),
|
|
1109
1115
|
path: z.string(),
|
|
1110
1116
|
key: z.string(),
|
|
1111
1117
|
display_name: z.string().optional(),
|
|
@@ -1200,7 +1206,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1200
1206
|
z.ZodTypeDef,
|
|
1201
1207
|
unknown
|
|
1202
1208
|
> = z.object({
|
|
1203
|
-
_id: z.string().default("
|
|
1209
|
+
_id: z.string().default("tool_01KN6WVS2VY8E6S7ZV5HVTXYS1"),
|
|
1204
1210
|
path: z.string(),
|
|
1205
1211
|
key: z.string(),
|
|
1206
1212
|
display_name: z.string().optional(),
|
|
@@ -1304,7 +1310,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
|
|
|
1304
1310
|
z.ZodTypeDef,
|
|
1305
1311
|
unknown
|
|
1306
1312
|
> = z.object({
|
|
1307
|
-
_id: z.string().default("
|
|
1313
|
+
_id: z.string().default("tool_01KN6WVS2SJR3F5SCSZQVK5Q6X"),
|
|
1308
1314
|
path: z.string(),
|
|
1309
1315
|
key: z.string(),
|
|
1310
1316
|
display_name: z.string().optional(),
|
|
@@ -914,8 +914,8 @@ export const DataTypescript$inboundSchema: z.ZodType<
|
|
|
914
914
|
> = z.object({
|
|
915
915
|
_id: z.string(),
|
|
916
916
|
description: z.string(),
|
|
917
|
-
created: z.string().default("2026-04-
|
|
918
|
-
updated: z.string().default("2026-04-
|
|
917
|
+
created: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
918
|
+
updated: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
919
919
|
guardrail_config: z.nullable(
|
|
920
920
|
z.union([
|
|
921
921
|
z.lazy(() =>
|
|
@@ -1057,8 +1057,8 @@ export const DataRagas$inboundSchema: z.ZodType<
|
|
|
1057
1057
|
> = z.object({
|
|
1058
1058
|
_id: z.string(),
|
|
1059
1059
|
description: z.string(),
|
|
1060
|
-
created: z.string().default("2026-04-
|
|
1061
|
-
updated: z.string().default("2026-04-
|
|
1060
|
+
created: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
1061
|
+
updated: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
1062
1062
|
guardrail_config: z.nullable(
|
|
1063
1063
|
z.union([
|
|
1064
1064
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -1851,8 +1851,8 @@ export const DataFunction$inboundSchema: z.ZodType<
|
|
|
1851
1851
|
> = z.object({
|
|
1852
1852
|
_id: z.string(),
|
|
1853
1853
|
description: z.string(),
|
|
1854
|
-
created: z.string().default("2026-04-
|
|
1855
|
-
updated: z.string().default("2026-04-
|
|
1854
|
+
created: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
1855
|
+
updated: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
1856
1856
|
guardrail_config: z.nullable(
|
|
1857
1857
|
z.union([
|
|
1858
1858
|
z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$inboundSchema),
|
|
@@ -2004,8 +2004,8 @@ export const DataPython$inboundSchema: z.ZodType<
|
|
|
2004
2004
|
> = z.object({
|
|
2005
2005
|
_id: z.string(),
|
|
2006
2006
|
description: z.string(),
|
|
2007
|
-
created: z.string().default("2026-04-
|
|
2008
|
-
updated: z.string().default("2026-04-
|
|
2007
|
+
created: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
2008
|
+
updated: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
2009
2009
|
guardrail_config: z.nullable(
|
|
2010
2010
|
z.union([
|
|
2011
2011
|
z.lazy(() => GetEvalsGuardrailConfigBoolean$inboundSchema),
|
|
@@ -2146,8 +2146,8 @@ export const DataHTTP$inboundSchema: z.ZodType<
|
|
|
2146
2146
|
> = z.object({
|
|
2147
2147
|
_id: z.string(),
|
|
2148
2148
|
description: z.string(),
|
|
2149
|
-
created: z.string().default("2026-04-
|
|
2150
|
-
updated: z.string().default("2026-04-
|
|
2149
|
+
created: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
2150
|
+
updated: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
2151
2151
|
guardrail_config: z.nullable(
|
|
2152
2152
|
z.union([
|
|
2153
2153
|
z.lazy(() =>
|
|
@@ -2298,8 +2298,8 @@ export const DataJSON$inboundSchema: z.ZodType<
|
|
|
2298
2298
|
> = z.object({
|
|
2299
2299
|
_id: z.string(),
|
|
2300
2300
|
description: z.string(),
|
|
2301
|
-
created: z.string().default("2026-04-
|
|
2302
|
-
updated: z.string().default("2026-04-
|
|
2301
|
+
created: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
2302
|
+
updated: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
2303
2303
|
guardrail_config: z.nullable(
|
|
2304
2304
|
z.union([
|
|
2305
2305
|
z.lazy(() =>
|
|
@@ -2606,8 +2606,8 @@ export const GetEvalsLlm2$inboundSchema: z.ZodType<
|
|
|
2606
2606
|
> = z.object({
|
|
2607
2607
|
_id: z.string(),
|
|
2608
2608
|
description: z.string(),
|
|
2609
|
-
created: z.string().default("2026-04-
|
|
2610
|
-
updated: z.string().default("2026-04-
|
|
2609
|
+
created: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
2610
|
+
updated: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
2611
2611
|
guardrail_config: z.nullable(
|
|
2612
2612
|
z.union([
|
|
2613
2613
|
z.lazy(() =>
|
|
@@ -2752,8 +2752,8 @@ export const GetEvalsLlm1$inboundSchema: z.ZodType<
|
|
|
2752
2752
|
> = z.object({
|
|
2753
2753
|
_id: z.string(),
|
|
2754
2754
|
description: z.string(),
|
|
2755
|
-
created: z.string().default("2026-04-
|
|
2756
|
-
updated: z.string().default("2026-04-
|
|
2755
|
+
created: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
2756
|
+
updated: z.string().default("2026-04-02T10:46:57.073Z"),
|
|
2757
2757
|
guardrail_config: z.nullable(
|
|
2758
2758
|
z.union([
|
|
2759
2759
|
z.lazy(() =>
|
|
@@ -374,7 +374,7 @@ export const ResponseBody6$inboundSchema: z.ZodType<
|
|
|
374
374
|
> = z.object({
|
|
375
375
|
type: z.literal("text"),
|
|
376
376
|
id: z.string(),
|
|
377
|
-
key: z.string().default("
|
|
377
|
+
key: z.string().default("orq_01kn6wvsgf"),
|
|
378
378
|
display_name: z.string(),
|
|
379
379
|
description: z.string(),
|
|
380
380
|
domain_id: z.string().optional(),
|
|
@@ -440,7 +440,7 @@ export const ResponseBody5$inboundSchema: z.ZodType<
|
|
|
440
440
|
type: z.literal("single_select"),
|
|
441
441
|
options: z.array(z.lazy(() => ResponseBodyOptions$inboundSchema)),
|
|
442
442
|
id: z.string(),
|
|
443
|
-
key: z.string().default("
|
|
443
|
+
key: z.string().default("orq_01kn6wvsge"),
|
|
444
444
|
display_name: z.string(),
|
|
445
445
|
description: z.string(),
|
|
446
446
|
domain_id: z.string().optional(),
|
|
@@ -510,7 +510,7 @@ export const ResponseBody4$inboundSchema: z.ZodType<
|
|
|
510
510
|
z.lazy(() => GetV2HumanEvalsResponseBodyOptions$inboundSchema),
|
|
511
511
|
),
|
|
512
512
|
id: z.string(),
|
|
513
|
-
key: z.string().default("
|
|
513
|
+
key: z.string().default("orq_01kn6wvsgd"),
|
|
514
514
|
display_name: z.string(),
|
|
515
515
|
description: z.string(),
|
|
516
516
|
domain_id: z.string().optional(),
|
|
@@ -568,7 +568,7 @@ export const ResponseBody3$inboundSchema: z.ZodType<
|
|
|
568
568
|
type: z.literal("range"),
|
|
569
569
|
config: z.lazy(() => ResponseBodyConfig$inboundSchema),
|
|
570
570
|
id: z.string(),
|
|
571
|
-
key: z.string().default("
|
|
571
|
+
key: z.string().default("orq_01kn6wvsgb"),
|
|
572
572
|
display_name: z.string(),
|
|
573
573
|
description: z.string(),
|
|
574
574
|
domain_id: z.string().optional(),
|
|
@@ -605,7 +605,7 @@ export const ResponseBody2$inboundSchema: z.ZodType<
|
|
|
605
605
|
> = z.object({
|
|
606
606
|
type: z.literal("correction"),
|
|
607
607
|
id: z.string(),
|
|
608
|
-
key: z.string().default("
|
|
608
|
+
key: z.string().default("orq_01kn6wvsga"),
|
|
609
609
|
display_name: z.string(),
|
|
610
610
|
description: z.string(),
|
|
611
611
|
domain_id: z.string().optional(),
|
|
@@ -642,7 +642,7 @@ export const ResponseBody1$inboundSchema: z.ZodType<
|
|
|
642
642
|
> = z.object({
|
|
643
643
|
type: z.literal("boolean"),
|
|
644
644
|
id: z.string(),
|
|
645
|
-
key: z.string().default("
|
|
645
|
+
key: z.string().default("orq_01kn6wvsg2"),
|
|
646
646
|
display_name: z.string(),
|
|
647
647
|
description: z.string(),
|
|
648
648
|
domain_id: z.string().optional(),
|
|
@@ -140,7 +140,7 @@ export const GetV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
|
|
|
140
140
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
141
141
|
.optional(),
|
|
142
142
|
updated: z.string().datetime({ offset: true }).default(
|
|
143
|
-
"2026-04-
|
|
143
|
+
"2026-04-02T10:46:54.630Z",
|
|
144
144
|
).transform(v => new Date(v)),
|
|
145
145
|
filter_type: z.literal("name"),
|
|
146
146
|
filter_value: z.string(),
|
|
@@ -185,7 +185,7 @@ export const GetV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
|
|
|
185
185
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
186
186
|
.optional(),
|
|
187
187
|
updated: z.string().datetime({ offset: true }).default(
|
|
188
|
-
"2026-04-
|
|
188
|
+
"2026-04-02T10:46:54.630Z",
|
|
189
189
|
).transform(v => new Date(v)),
|
|
190
190
|
filter_type: z.literal("span_type"),
|
|
191
191
|
filter_values: z.array(z.string()),
|