@orq-ai/node 4.7.0-rc.37 → 4.7.0-rc.39
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 +2 -1
- package/funcs/identitiesRetrieve.d.ts +1 -1
- package/funcs/identitiesRetrieve.d.ts.map +1 -1
- package/funcs/identitiesRetrieve.js +6 -2
- package/funcs/identitiesRetrieve.js.map +1 -1
- 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/components/toolexecutionfailedstreamingevent.d.ts +4 -0
- package/models/components/toolexecutionfailedstreamingevent.d.ts.map +1 -1
- package/models/components/toolexecutionfailedstreamingevent.js +3 -0
- package/models/components/toolexecutionfailedstreamingevent.js.map +1 -1
- package/models/components/toolexecutionfinishedstreamingevent.d.ts +4 -0
- package/models/components/toolexecutionfinishedstreamingevent.d.ts.map +1 -1
- package/models/components/toolexecutionfinishedstreamingevent.js +3 -0
- package/models/components/toolexecutionfinishedstreamingevent.js.map +1 -1
- package/models/components/toolexecutionstartedstreamingevent.d.ts +4 -0
- package/models/components/toolexecutionstartedstreamingevent.d.ts.map +1 -1
- package/models/components/toolexecutionstartedstreamingevent.js +3 -0
- package/models/components/toolexecutionstartedstreamingevent.js.map +1 -1
- package/models/errors/retrieveidentity.d.ts +27 -0
- package/models/errors/retrieveidentity.d.ts.map +1 -1
- package/models/errors/retrieveidentity.js +30 -1
- package/models/errors/retrieveidentity.js.map +1 -1
- package/models/operations/createagentrequest.d.ts +19 -0
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +22 -5
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createagentresponserequest.d.ts +19 -0
- package/models/operations/createagentresponserequest.d.ts.map +1 -1
- package/models/operations/createagentresponserequest.js +12 -1
- package/models/operations/createagentresponserequest.js.map +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.d.ts +18 -18
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +42 -42
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/createidentity.js +1 -1
- package/models/operations/createimage.d.ts +9 -0
- package/models/operations/createimage.d.ts.map +1 -1
- package/models/operations/createimage.js +1 -0
- package/models/operations/createimage.js.map +1 -1
- package/models/operations/createprompt.d.ts +1 -0
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +1 -0
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.d.ts +10 -0
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +10 -6
- package/models/operations/createtool.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +1 -0
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +1 -0
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deployments.d.ts +1 -0
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +1 -0
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +1 -0
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +1 -0
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/getallprompts.d.ts +1 -0
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +1 -0
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.d.ts +4 -0
- package/models/operations/getalltools.d.ts.map +1 -1
- package/models/operations/getalltools.js +8 -6
- package/models/operations/getalltools.js.map +1 -1
- package/models/operations/getevals.d.ts +8 -8
- package/models/operations/getevals.d.ts.map +1 -1
- package/models/operations/getevals.js +32 -32
- package/models/operations/getevals.js.map +1 -1
- package/models/operations/getoneprompt.d.ts +1 -0
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +1 -0
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +1 -0
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +1 -0
- package/models/operations/getpromptversion.js.map +1 -1
- 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/invokeagent.d.ts +19 -0
- package/models/operations/invokeagent.d.ts.map +1 -1
- package/models/operations/invokeagent.js +12 -1
- package/models/operations/invokeagent.js.map +1 -1
- package/models/operations/listagents.d.ts +9 -0
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +11 -3
- package/models/operations/listagents.js.map +1 -1
- 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/listpromptversions.d.ts +1 -0
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +1 -0
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/parse.d.ts +5 -0
- package/models/operations/parse.d.ts.map +1 -1
- package/models/operations/parse.js +2 -0
- package/models/operations/parse.js.map +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/patchv2humanevalsid.js +12 -12
- package/models/operations/postv2agentsa2a.d.ts +4 -4
- package/models/operations/postv2agentsa2a.d.ts.map +1 -1
- package/models/operations/postv2agentsa2a.js +6 -6
- package/models/operations/postv2agentsa2a.js.map +1 -1
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevals.js +12 -12
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrieveagentrequest.d.ts +9 -0
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +11 -2
- package/models/operations/retrieveagentrequest.js.map +1 -1
- 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.d.ts +27 -0
- package/models/operations/retrieveidentity.d.ts.map +1 -1
- package/models/operations/retrieveidentity.js +26 -2
- package/models/operations/retrieveidentity.js.map +1 -1
- package/models/operations/retrievetool.d.ts +4 -0
- package/models/operations/retrievetool.d.ts.map +1 -1
- package/models/operations/retrievetool.js +8 -6
- package/models/operations/retrievetool.js.map +1 -1
- package/models/operations/runagent.d.ts +19 -0
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +16 -5
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamagent.d.ts +19 -0
- package/models/operations/streamagent.d.ts.map +1 -1
- package/models/operations/streamagent.js +12 -1
- package/models/operations/streamagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +19 -0
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +15 -4
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +19 -0
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +21 -5
- package/models/operations/updateagent.js.map +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.d.ts +8 -8
- package/models/operations/updateeval.d.ts.map +1 -1
- package/models/operations/updateeval.js +32 -32
- package/models/operations/updateeval.js.map +1 -1
- package/models/operations/updateidentity.js +1 -1
- package/models/operations/updateprompt.d.ts +1 -0
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +1 -0
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.d.ts +10 -0
- package/models/operations/updatetool.d.ts.map +1 -1
- package/models/operations/updatetool.js +11 -7
- package/models/operations/updatetool.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/identitiesRetrieve.ts +11 -2
- package/src/lib/config.ts +2 -2
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/toolexecutionfailedstreamingevent.ts +5 -0
- package/src/models/components/toolexecutionfinishedstreamingevent.ts +5 -0
- package/src/models/components/toolexecutionstartedstreamingevent.ts +5 -0
- package/src/models/errors/retrieveidentity.ts +56 -0
- package/src/models/operations/createagentrequest.ts +30 -0
- package/src/models/operations/createagentresponserequest.ts +26 -0
- 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 +148 -97
- package/src/models/operations/createidentity.ts +1 -1
- package/src/models/operations/createimage.ts +6 -0
- package/src/models/operations/createprompt.ts +1 -0
- package/src/models/operations/createtool.ts +16 -6
- package/src/models/operations/deploymentinvoke.ts +1 -0
- package/src/models/operations/deployments.ts +1 -0
- package/src/models/operations/deploymentstream.ts +1 -0
- package/src/models/operations/getallprompts.ts +1 -0
- package/src/models/operations/getalltools.ts +12 -6
- package/src/models/operations/getevals.ts +90 -64
- package/src/models/operations/getoneprompt.ts +1 -0
- package/src/models/operations/getpromptversion.ts +1 -0
- 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/invokeagent.ts +24 -0
- package/src/models/operations/listagents.ts +14 -0
- 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/listpromptversions.ts +1 -0
- package/src/models/operations/parse.ts +7 -0
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/patchv2humanevalsid.ts +12 -12
- package/src/models/operations/postv2agentsa2a.ts +17 -14
- 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/retrieveagentrequest.ts +16 -0
- 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 +58 -1
- package/src/models/operations/retrievetool.ts +12 -6
- package/src/models/operations/runagent.ts +25 -1
- package/src/models/operations/streamagent.ts +24 -0
- package/src/models/operations/streamrunagent.ts +25 -1
- package/src/models/operations/updateagent.ts +31 -0
- 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 +92 -66
- package/src/models/operations/updateidentity.ts +1 -1
- package/src/models/operations/updateprompt.ts +1 -0
- package/src/models/operations/updatetool.ts +17 -7
|
@@ -1207,7 +1207,7 @@ export const RetrieveDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
1207
1207
|
.default("orq"),
|
|
1208
1208
|
reviewed_by_id: z.string(),
|
|
1209
1209
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1210
|
-
"2026-04-
|
|
1210
|
+
"2026-04-01T14:17:57.282Z",
|
|
1211
1211
|
).transform(v => new Date(v)),
|
|
1212
1212
|
type: z.literal("string_array"),
|
|
1213
1213
|
values: z.array(z.string()),
|
|
@@ -1255,7 +1255,7 @@ export const RetrieveDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
1255
1255
|
),
|
|
1256
1256
|
reviewed_by_id: z.string(),
|
|
1257
1257
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1258
|
-
"2026-04-
|
|
1258
|
+
"2026-04-01T14:17:57.281Z",
|
|
1259
1259
|
).transform(v => new Date(v)),
|
|
1260
1260
|
type: z.literal("number"),
|
|
1261
1261
|
value: z.number(),
|
|
@@ -1300,7 +1300,7 @@ export const RetrieveDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
1300
1300
|
source: RetrieveDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
1301
1301
|
reviewed_by_id: z.string(),
|
|
1302
1302
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1303
|
-
"2026-04-
|
|
1303
|
+
"2026-04-01T14:17:57.281Z",
|
|
1304
1304
|
).transform(v => new Date(v)),
|
|
1305
1305
|
type: z.literal("string"),
|
|
1306
1306
|
value: z.string(),
|
|
@@ -1377,7 +1377,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
1377
1377
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1378
1378
|
.optional(),
|
|
1379
1379
|
updated: z.string().datetime({ offset: true }).default(
|
|
1380
|
-
"2026-04-
|
|
1380
|
+
"2026-04-01T14:17:40.247Z",
|
|
1381
1381
|
).transform(v => new Date(v)),
|
|
1382
1382
|
}).transform((v) => {
|
|
1383
1383
|
return remap$(v, {
|
|
@@ -126,7 +126,7 @@ export const RetrieveDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
126
126
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
127
127
|
.optional(),
|
|
128
128
|
updated: z.string().datetime({ offset: true }).default(
|
|
129
|
-
"2026-04-
|
|
129
|
+
"2026-04-01T14:17:40.247Z",
|
|
130
130
|
).transform(v => new Date(v)),
|
|
131
131
|
}).transform((v) => {
|
|
132
132
|
return remap$(v, {
|
|
@@ -118,7 +118,7 @@ export const RetrieveDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
118
118
|
z.ZodTypeDef,
|
|
119
119
|
unknown
|
|
120
120
|
> = z.object({
|
|
121
|
-
_id: z.string().default("
|
|
121
|
+
_id: z.string().default("01KN4PGYQ5NAKR98ZRCG9812SC"),
|
|
122
122
|
display_name: z.string(),
|
|
123
123
|
description: z.string().optional(),
|
|
124
124
|
status: RetrieveDatasourceStatus$inboundSchema,
|
|
@@ -13,6 +13,29 @@ export type RetrieveIdentityRequest = {
|
|
|
13
13
|
* Unique identity id or external id
|
|
14
14
|
*/
|
|
15
15
|
id: string;
|
|
16
|
+
/**
|
|
17
|
+
* Include usage metrics of the last 30 days for the identity.
|
|
18
|
+
*/
|
|
19
|
+
includeMetrics?: boolean | null | undefined;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export type Metrics = {
|
|
23
|
+
/**
|
|
24
|
+
* Total cost in dollars of the last 30 days
|
|
25
|
+
*/
|
|
26
|
+
totalCost: number;
|
|
27
|
+
/**
|
|
28
|
+
* Total tokens of the last 30 days
|
|
29
|
+
*/
|
|
30
|
+
totalTokens: number;
|
|
31
|
+
/**
|
|
32
|
+
* Total requests of the last 30 days
|
|
33
|
+
*/
|
|
34
|
+
totalRequests: number;
|
|
35
|
+
/**
|
|
36
|
+
* Error rate of the last 30 days as a ratio (0–1)
|
|
37
|
+
*/
|
|
38
|
+
errorRate: number;
|
|
16
39
|
};
|
|
17
40
|
|
|
18
41
|
/**
|
|
@@ -55,11 +78,13 @@ export type RetrieveIdentityResponseBody = {
|
|
|
55
78
|
* The date and time the resource was last updated
|
|
56
79
|
*/
|
|
57
80
|
updated: Date;
|
|
81
|
+
metrics?: Metrics | null | undefined;
|
|
58
82
|
};
|
|
59
83
|
|
|
60
84
|
/** @internal */
|
|
61
85
|
export type RetrieveIdentityRequest$Outbound = {
|
|
62
86
|
id: string;
|
|
87
|
+
include_metrics: boolean | null;
|
|
63
88
|
};
|
|
64
89
|
|
|
65
90
|
/** @internal */
|
|
@@ -69,6 +94,11 @@ export const RetrieveIdentityRequest$outboundSchema: z.ZodType<
|
|
|
69
94
|
RetrieveIdentityRequest
|
|
70
95
|
> = z.object({
|
|
71
96
|
id: z.string(),
|
|
97
|
+
includeMetrics: z.nullable(z.boolean().default(false)),
|
|
98
|
+
}).transform((v) => {
|
|
99
|
+
return remap$(v, {
|
|
100
|
+
includeMetrics: "include_metrics",
|
|
101
|
+
});
|
|
72
102
|
});
|
|
73
103
|
|
|
74
104
|
export function retrieveIdentityRequestToJSON(
|
|
@@ -79,6 +109,32 @@ export function retrieveIdentityRequestToJSON(
|
|
|
79
109
|
);
|
|
80
110
|
}
|
|
81
111
|
|
|
112
|
+
/** @internal */
|
|
113
|
+
export const Metrics$inboundSchema: z.ZodType<Metrics, z.ZodTypeDef, unknown> =
|
|
114
|
+
z.object({
|
|
115
|
+
total_cost: z.number(),
|
|
116
|
+
total_tokens: z.number(),
|
|
117
|
+
total_requests: z.number(),
|
|
118
|
+
error_rate: z.number(),
|
|
119
|
+
}).transform((v) => {
|
|
120
|
+
return remap$(v, {
|
|
121
|
+
"total_cost": "totalCost",
|
|
122
|
+
"total_tokens": "totalTokens",
|
|
123
|
+
"total_requests": "totalRequests",
|
|
124
|
+
"error_rate": "errorRate",
|
|
125
|
+
});
|
|
126
|
+
});
|
|
127
|
+
|
|
128
|
+
export function metricsFromJSON(
|
|
129
|
+
jsonString: string,
|
|
130
|
+
): SafeParseResult<Metrics, SDKValidationError> {
|
|
131
|
+
return safeParse(
|
|
132
|
+
jsonString,
|
|
133
|
+
(x) => Metrics$inboundSchema.parse(JSON.parse(x)),
|
|
134
|
+
`Failed to parse 'Metrics' from JSON`,
|
|
135
|
+
);
|
|
136
|
+
}
|
|
137
|
+
|
|
82
138
|
/** @internal */
|
|
83
139
|
export const RetrieveIdentityResponseBody$inboundSchema: z.ZodType<
|
|
84
140
|
RetrieveIdentityResponseBody,
|
|
@@ -95,8 +151,9 @@ export const RetrieveIdentityResponseBody$inboundSchema: z.ZodType<
|
|
|
95
151
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
96
152
|
.optional(),
|
|
97
153
|
updated: z.string().datetime({ offset: true }).default(
|
|
98
|
-
"2026-04-
|
|
154
|
+
"2026-04-01T14:17:40.247Z",
|
|
99
155
|
).transform(v => new Date(v)),
|
|
156
|
+
metrics: z.nullable(z.lazy(() => Metrics$inboundSchema)).optional(),
|
|
100
157
|
}).transform((v) => {
|
|
101
158
|
return remap$(v, {
|
|
102
159
|
"_id": "id",
|
|
@@ -206,6 +206,10 @@ export type RetrieveToolResponseBodyMcp = {
|
|
|
206
206
|
* The connection type used by the MCP server
|
|
207
207
|
*/
|
|
208
208
|
connectionType: RetrieveToolResponseBodyConnectionType;
|
|
209
|
+
/**
|
|
210
|
+
* Names of template variables detected in server_url and headers. Used by the FE to prompt for one-time values on sync/refresh.
|
|
211
|
+
*/
|
|
212
|
+
templateVariables?: Array<string> | null | undefined;
|
|
209
213
|
};
|
|
210
214
|
|
|
211
215
|
/**
|
|
@@ -754,7 +758,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
754
758
|
z.ZodTypeDef,
|
|
755
759
|
unknown
|
|
756
760
|
> = z.object({
|
|
757
|
-
_id: z.string().default("
|
|
761
|
+
_id: z.string().default("tool_01KN4PGYM3A0HQWJHRZ2QS1XPV"),
|
|
758
762
|
path: z.string(),
|
|
759
763
|
key: z.string(),
|
|
760
764
|
display_name: z.string().optional(),
|
|
@@ -862,7 +866,7 @@ export const RetrieveToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
862
866
|
z.ZodTypeDef,
|
|
863
867
|
unknown
|
|
864
868
|
> = z.object({
|
|
865
|
-
id: z.string().default("
|
|
869
|
+
id: z.string().default("01KN4PGYM2NN3PRQDWJXMQ8ZEM"),
|
|
866
870
|
name: z.string(),
|
|
867
871
|
description: z.string().optional(),
|
|
868
872
|
schema: z.lazy(() => RetrieveToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -895,10 +899,12 @@ export const RetrieveToolResponseBodyMcp$inboundSchema: z.ZodType<
|
|
|
895
899
|
.optional(),
|
|
896
900
|
tools: z.array(z.lazy(() => RetrieveToolResponseBodyTools$inboundSchema)),
|
|
897
901
|
connection_type: RetrieveToolResponseBodyConnectionType$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 RetrieveToolResponseBodyMCPTool$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_01KN4PGYM1PHF5QXT0ETYJ469Z"),
|
|
922
928
|
path: z.string(),
|
|
923
929
|
key: z.string(),
|
|
924
930
|
display_name: z.string().optional(),
|
|
@@ -1111,7 +1117,7 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1111
1117
|
z.ZodTypeDef,
|
|
1112
1118
|
unknown
|
|
1113
1119
|
> = z.object({
|
|
1114
|
-
_id: z.string().default("
|
|
1120
|
+
_id: z.string().default("tool_01KN4PGYKZ8Q53FGY84QFG2K2P"),
|
|
1115
1121
|
path: z.string(),
|
|
1116
1122
|
key: z.string(),
|
|
1117
1123
|
display_name: z.string().optional(),
|
|
@@ -1209,7 +1215,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1209
1215
|
z.ZodTypeDef,
|
|
1210
1216
|
unknown
|
|
1211
1217
|
> = z.object({
|
|
1212
|
-
_id: z.string().default("
|
|
1218
|
+
_id: z.string().default("tool_01KN4PGYKX0NXWXW2JN3THA5N7"),
|
|
1213
1219
|
path: z.string(),
|
|
1214
1220
|
key: z.string(),
|
|
1215
1221
|
display_name: z.string().optional(),
|
|
@@ -1317,7 +1323,7 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
1317
1323
|
z.ZodTypeDef,
|
|
1318
1324
|
unknown
|
|
1319
1325
|
> = z.object({
|
|
1320
|
-
_id: z.string().default("
|
|
1326
|
+
_id: z.string().default("tool_01KN4PGYKVRDNDAJCGRJDD1FKM"),
|
|
1321
1327
|
path: z.string(),
|
|
1322
1328
|
key: z.string(),
|
|
1323
1329
|
display_name: z.string().optional(),
|
|
@@ -1643,6 +1643,19 @@ export type RunAgentSettings = {
|
|
|
1643
1643
|
guardrails?: Array<RunAgentGuardrails> | undefined;
|
|
1644
1644
|
};
|
|
1645
1645
|
|
|
1646
|
+
/**
|
|
1647
|
+
* Template engine for variable interpolation. Text uses {{variable}} syntax, Jinja supports loops/conditionals/filters, Mustache uses {{#section}} syntax.
|
|
1648
|
+
*/
|
|
1649
|
+
export const RunAgentEngine = {
|
|
1650
|
+
Text: "text",
|
|
1651
|
+
Jinja: "jinja",
|
|
1652
|
+
Mustache: "mustache",
|
|
1653
|
+
} as const;
|
|
1654
|
+
/**
|
|
1655
|
+
* Template engine for variable interpolation. Text uses {{variable}} syntax, Jinja supports loops/conditionals/filters, Mustache uses {{#section}} syntax.
|
|
1656
|
+
*/
|
|
1657
|
+
export type RunAgentEngine = ClosedEnum<typeof RunAgentEngine>;
|
|
1658
|
+
|
|
1646
1659
|
export type RunAgentRequestBody = {
|
|
1647
1660
|
/**
|
|
1648
1661
|
* A unique identifier for the agent. This key must be unique within the same workspace and cannot be reused. When executing the agent, this key determines if the agent already exists. If the agent version differs, a new version is created at the end of the execution, except for the task. All agent parameters are evaluated to decide if a new version is needed.
|
|
@@ -1731,6 +1744,10 @@ export type RunAgentRequestBody = {
|
|
|
1731
1744
|
* Optional metadata for the agent run as key-value pairs that will be included in traces
|
|
1732
1745
|
*/
|
|
1733
1746
|
metadata?: { [k: string]: any } | undefined;
|
|
1747
|
+
/**
|
|
1748
|
+
* Template engine for variable interpolation. Text uses {{variable}} syntax, Jinja supports loops/conditionals/filters, Mustache uses {{#section}} syntax.
|
|
1749
|
+
*/
|
|
1750
|
+
engine?: RunAgentEngine | undefined;
|
|
1734
1751
|
};
|
|
1735
1752
|
|
|
1736
1753
|
/**
|
|
@@ -3611,7 +3628,7 @@ export const Tools$outboundSchema: z.ZodType<
|
|
|
3611
3628
|
z.ZodTypeDef,
|
|
3612
3629
|
Tools
|
|
3613
3630
|
> = z.object({
|
|
3614
|
-
id: z.string().default("
|
|
3631
|
+
id: z.string().default("01KN4PGY6WNCDV5711BR1V3A8V"),
|
|
3615
3632
|
name: z.string(),
|
|
3616
3633
|
description: z.string().optional(),
|
|
3617
3634
|
schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
|
|
@@ -4738,6 +4755,11 @@ export function runAgentSettingsToJSON(
|
|
|
4738
4755
|
);
|
|
4739
4756
|
}
|
|
4740
4757
|
|
|
4758
|
+
/** @internal */
|
|
4759
|
+
export const RunAgentEngine$outboundSchema: z.ZodNativeEnum<
|
|
4760
|
+
typeof RunAgentEngine
|
|
4761
|
+
> = z.nativeEnum(RunAgentEngine);
|
|
4762
|
+
|
|
4741
4763
|
/** @internal */
|
|
4742
4764
|
export type RunAgentRequestBody$Outbound = {
|
|
4743
4765
|
key: string;
|
|
@@ -4762,6 +4784,7 @@ export type RunAgentRequestBody$Outbound = {
|
|
|
4762
4784
|
team_of_agents?: Array<RunAgentTeamOfAgents$Outbound> | undefined;
|
|
4763
4785
|
settings: RunAgentSettings$Outbound;
|
|
4764
4786
|
metadata?: { [k: string]: any } | undefined;
|
|
4787
|
+
engine: string;
|
|
4765
4788
|
};
|
|
4766
4789
|
|
|
4767
4790
|
/** @internal */
|
|
@@ -4800,6 +4823,7 @@ export const RunAgentRequestBody$outboundSchema: z.ZodType<
|
|
|
4800
4823
|
.optional(),
|
|
4801
4824
|
settings: z.lazy(() => RunAgentSettings$outboundSchema),
|
|
4802
4825
|
metadata: z.record(z.any()).optional(),
|
|
4826
|
+
engine: RunAgentEngine$outboundSchema.default("text"),
|
|
4803
4827
|
}).transform((v) => {
|
|
4804
4828
|
return remap$(v, {
|
|
4805
4829
|
taskId: "task_id",
|
|
@@ -161,6 +161,19 @@ export type StreamAgentMemory = {
|
|
|
161
161
|
entityId: string;
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
+
/**
|
|
165
|
+
* Override template engine for this invocation. If not provided, uses the agent default.
|
|
166
|
+
*/
|
|
167
|
+
export const StreamAgentEngine = {
|
|
168
|
+
Text: "text",
|
|
169
|
+
Jinja: "jinja",
|
|
170
|
+
Mustache: "mustache",
|
|
171
|
+
} as const;
|
|
172
|
+
/**
|
|
173
|
+
* Override template engine for this invocation. If not provided, uses the agent default.
|
|
174
|
+
*/
|
|
175
|
+
export type StreamAgentEngine = ClosedEnum<typeof StreamAgentEngine>;
|
|
176
|
+
|
|
164
177
|
/**
|
|
165
178
|
* Configuration options for the agent invocation
|
|
166
179
|
*/
|
|
@@ -206,6 +219,10 @@ export type StreamAgentRequestBody = {
|
|
|
206
219
|
* Optional metadata for the agent invocation as key-value pairs that will be included in traces
|
|
207
220
|
*/
|
|
208
221
|
metadata?: { [k: string]: any } | undefined;
|
|
222
|
+
/**
|
|
223
|
+
* Override template engine for this invocation. If not provided, uses the agent default.
|
|
224
|
+
*/
|
|
225
|
+
engine?: StreamAgentEngine | undefined;
|
|
209
226
|
/**
|
|
210
227
|
* Configuration options for the agent invocation
|
|
211
228
|
*/
|
|
@@ -490,6 +507,11 @@ export function streamAgentMemoryToJSON(
|
|
|
490
507
|
);
|
|
491
508
|
}
|
|
492
509
|
|
|
510
|
+
/** @internal */
|
|
511
|
+
export const StreamAgentEngine$outboundSchema: z.ZodNativeEnum<
|
|
512
|
+
typeof StreamAgentEngine
|
|
513
|
+
> = z.nativeEnum(StreamAgentEngine);
|
|
514
|
+
|
|
493
515
|
/** @internal */
|
|
494
516
|
export type StreamAgentConfiguration$Outbound = {
|
|
495
517
|
blocking: boolean;
|
|
@@ -522,6 +544,7 @@ export type StreamAgentRequestBody$Outbound = {
|
|
|
522
544
|
thread?: StreamAgentThread$Outbound | undefined;
|
|
523
545
|
memory?: StreamAgentMemory$Outbound | undefined;
|
|
524
546
|
metadata?: { [k: string]: any } | undefined;
|
|
547
|
+
engine?: string | undefined;
|
|
525
548
|
configuration?: StreamAgentConfiguration$Outbound | undefined;
|
|
526
549
|
stream_timeout_seconds?: number | undefined;
|
|
527
550
|
};
|
|
@@ -540,6 +563,7 @@ export const StreamAgentRequestBody$outboundSchema: z.ZodType<
|
|
|
540
563
|
thread: z.lazy(() => StreamAgentThread$outboundSchema).optional(),
|
|
541
564
|
memory: z.lazy(() => StreamAgentMemory$outboundSchema).optional(),
|
|
542
565
|
metadata: z.record(z.any()).optional(),
|
|
566
|
+
engine: StreamAgentEngine$outboundSchema.optional(),
|
|
543
567
|
configuration: z.lazy(() => StreamAgentConfiguration$outboundSchema)
|
|
544
568
|
.optional(),
|
|
545
569
|
streamTimeoutSeconds: z.number().optional(),
|
|
@@ -1680,6 +1680,19 @@ export type StreamRunAgentSettings = {
|
|
|
1680
1680
|
guardrails?: Array<StreamRunAgentGuardrails> | undefined;
|
|
1681
1681
|
};
|
|
1682
1682
|
|
|
1683
|
+
/**
|
|
1684
|
+
* Template engine for variable interpolation. Text uses {{variable}} syntax, Jinja supports loops/conditionals/filters, Mustache uses {{#section}} syntax.
|
|
1685
|
+
*/
|
|
1686
|
+
export const StreamRunAgentEngine = {
|
|
1687
|
+
Text: "text",
|
|
1688
|
+
Jinja: "jinja",
|
|
1689
|
+
Mustache: "mustache",
|
|
1690
|
+
} as const;
|
|
1691
|
+
/**
|
|
1692
|
+
* Template engine for variable interpolation. Text uses {{variable}} syntax, Jinja supports loops/conditionals/filters, Mustache uses {{#section}} syntax.
|
|
1693
|
+
*/
|
|
1694
|
+
export type StreamRunAgentEngine = ClosedEnum<typeof StreamRunAgentEngine>;
|
|
1695
|
+
|
|
1683
1696
|
export type StreamRunAgentRequestBody = {
|
|
1684
1697
|
/**
|
|
1685
1698
|
* A unique identifier for the agent. This key must be unique within the same workspace and cannot be reused. When executing the agent, this key determines if the agent already exists. If the agent version differs, a new version is created at the end of the execution, except for the task. All agent parameters are evaluated to decide if a new version is needed.
|
|
@@ -1768,6 +1781,10 @@ export type StreamRunAgentRequestBody = {
|
|
|
1768
1781
|
* Optional metadata for the agent run as key-value pairs that will be included in traces
|
|
1769
1782
|
*/
|
|
1770
1783
|
metadata?: { [k: string]: any } | undefined;
|
|
1784
|
+
/**
|
|
1785
|
+
* Template engine for variable interpolation. Text uses {{variable}} syntax, Jinja supports loops/conditionals/filters, Mustache uses {{#section}} syntax.
|
|
1786
|
+
*/
|
|
1787
|
+
engine?: StreamRunAgentEngine | undefined;
|
|
1771
1788
|
/**
|
|
1772
1789
|
* Stream timeout in seconds (1-3600). Default: 1800 (30 minutes)
|
|
1773
1790
|
*/
|
|
@@ -3658,7 +3675,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
|
|
|
3658
3675
|
z.ZodTypeDef,
|
|
3659
3676
|
AgentToolInputRunTools
|
|
3660
3677
|
> = z.object({
|
|
3661
|
-
id: z.string().default("
|
|
3678
|
+
id: z.string().default("01KN4PGY8X0WQPAANKGQDWAZM7"),
|
|
3662
3679
|
name: z.string(),
|
|
3663
3680
|
description: z.string().optional(),
|
|
3664
3681
|
schema: z.lazy(() =>
|
|
@@ -4934,6 +4951,11 @@ export function streamRunAgentSettingsToJSON(
|
|
|
4934
4951
|
);
|
|
4935
4952
|
}
|
|
4936
4953
|
|
|
4954
|
+
/** @internal */
|
|
4955
|
+
export const StreamRunAgentEngine$outboundSchema: z.ZodNativeEnum<
|
|
4956
|
+
typeof StreamRunAgentEngine
|
|
4957
|
+
> = z.nativeEnum(StreamRunAgentEngine);
|
|
4958
|
+
|
|
4937
4959
|
/** @internal */
|
|
4938
4960
|
export type StreamRunAgentRequestBody$Outbound = {
|
|
4939
4961
|
key: string;
|
|
@@ -4958,6 +4980,7 @@ export type StreamRunAgentRequestBody$Outbound = {
|
|
|
4958
4980
|
team_of_agents?: Array<StreamRunAgentTeamOfAgents$Outbound> | undefined;
|
|
4959
4981
|
settings: StreamRunAgentSettings$Outbound;
|
|
4960
4982
|
metadata?: { [k: string]: any } | undefined;
|
|
4983
|
+
engine: string;
|
|
4961
4984
|
stream_timeout_seconds?: number | undefined;
|
|
4962
4985
|
};
|
|
4963
4986
|
|
|
@@ -4998,6 +5021,7 @@ export const StreamRunAgentRequestBody$outboundSchema: z.ZodType<
|
|
|
4998
5021
|
.optional(),
|
|
4999
5022
|
settings: z.lazy(() => StreamRunAgentSettings$outboundSchema),
|
|
5000
5023
|
metadata: z.record(z.any()).optional(),
|
|
5024
|
+
engine: StreamRunAgentEngine$outboundSchema.default("text"),
|
|
5001
5025
|
streamTimeoutSeconds: z.number().optional(),
|
|
5002
5026
|
}).transform((v) => {
|
|
5003
5027
|
return remap$(v, {
|
|
@@ -1419,6 +1419,13 @@ export type UpdateAgentTeamOfAgents = {
|
|
|
1419
1419
|
role?: string | undefined;
|
|
1420
1420
|
};
|
|
1421
1421
|
|
|
1422
|
+
export const UpdateAgentEngine = {
|
|
1423
|
+
Text: "text",
|
|
1424
|
+
Jinja: "jinja",
|
|
1425
|
+
Mustache: "mustache",
|
|
1426
|
+
} as const;
|
|
1427
|
+
export type UpdateAgentEngine = ClosedEnum<typeof UpdateAgentEngine>;
|
|
1428
|
+
|
|
1422
1429
|
export type UpdateAgentHeaders = {
|
|
1423
1430
|
/**
|
|
1424
1431
|
* Header value. **Update behavior**: Provide empty string ("") to preserve existing encrypted value without re-entering credentials. Provide new value to rotate. Omit header entirely to remove.
|
|
@@ -1508,6 +1515,7 @@ export type UpdateAgentRequestBody = {
|
|
|
1508
1515
|
* Extracted variables from agent instructions
|
|
1509
1516
|
*/
|
|
1510
1517
|
variables?: { [k: string]: any } | undefined;
|
|
1518
|
+
engine?: UpdateAgentEngine | undefined;
|
|
1511
1519
|
/**
|
|
1512
1520
|
* Update A2A agent configuration (only applicable to A2A agents)
|
|
1513
1521
|
*/
|
|
@@ -1573,6 +1581,15 @@ export const UpdateAgentSource = {
|
|
|
1573
1581
|
} as const;
|
|
1574
1582
|
export type UpdateAgentSource = ClosedEnum<typeof UpdateAgentSource>;
|
|
1575
1583
|
|
|
1584
|
+
export const UpdateAgentAgentsEngine = {
|
|
1585
|
+
Text: "text",
|
|
1586
|
+
Jinja: "jinja",
|
|
1587
|
+
Mustache: "mustache",
|
|
1588
|
+
} as const;
|
|
1589
|
+
export type UpdateAgentAgentsEngine = ClosedEnum<
|
|
1590
|
+
typeof UpdateAgentAgentsEngine
|
|
1591
|
+
>;
|
|
1592
|
+
|
|
1576
1593
|
/**
|
|
1577
1594
|
* Agent type: internal (Orquesta-managed) or a2a (external A2A-compliant)
|
|
1578
1595
|
*/
|
|
@@ -2643,6 +2660,7 @@ export type UpdateAgentResponseBody = {
|
|
|
2643
2660
|
*/
|
|
2644
2661
|
knowledgeBases?: Array<UpdateAgentAgentsKnowledgeBases> | undefined;
|
|
2645
2662
|
source?: UpdateAgentSource | undefined;
|
|
2663
|
+
engine: UpdateAgentAgentsEngine;
|
|
2646
2664
|
/**
|
|
2647
2665
|
* Agent type: internal (Orquesta-managed) or a2a (external A2A-compliant)
|
|
2648
2666
|
*/
|
|
@@ -5026,6 +5044,11 @@ export function updateAgentTeamOfAgentsToJSON(
|
|
|
5026
5044
|
);
|
|
5027
5045
|
}
|
|
5028
5046
|
|
|
5047
|
+
/** @internal */
|
|
5048
|
+
export const UpdateAgentEngine$outboundSchema: z.ZodNativeEnum<
|
|
5049
|
+
typeof UpdateAgentEngine
|
|
5050
|
+
> = z.nativeEnum(UpdateAgentEngine);
|
|
5051
|
+
|
|
5029
5052
|
/** @internal */
|
|
5030
5053
|
export type UpdateAgentHeaders$Outbound = {
|
|
5031
5054
|
value: string;
|
|
@@ -5105,6 +5128,7 @@ export type UpdateAgentRequestBody$Outbound = {
|
|
|
5105
5128
|
knowledge_bases?: Array<UpdateAgentKnowledgeBases$Outbound> | undefined;
|
|
5106
5129
|
team_of_agents?: Array<UpdateAgentTeamOfAgents$Outbound> | undefined;
|
|
5107
5130
|
variables?: { [k: string]: any } | undefined;
|
|
5131
|
+
engine?: string | undefined;
|
|
5108
5132
|
a2a?: UpdateA2AConfiguration$Outbound | undefined;
|
|
5109
5133
|
versionIncrement?: string | undefined;
|
|
5110
5134
|
versionDescription?: string | undefined;
|
|
@@ -5142,6 +5166,7 @@ export const UpdateAgentRequestBody$outboundSchema: z.ZodType<
|
|
|
5142
5166
|
teamOfAgents: z.array(z.lazy(() => UpdateAgentTeamOfAgents$outboundSchema))
|
|
5143
5167
|
.optional(),
|
|
5144
5168
|
variables: z.record(z.any()).optional(),
|
|
5169
|
+
engine: UpdateAgentEngine$outboundSchema.optional(),
|
|
5145
5170
|
a2a: z.lazy(() => UpdateA2AConfiguration$outboundSchema).optional(),
|
|
5146
5171
|
versionIncrement: UpdateAgentVersionIncrement$outboundSchema.optional(),
|
|
5147
5172
|
versionDescription: z.string().optional(),
|
|
@@ -5270,6 +5295,11 @@ export const UpdateAgentSource$inboundSchema: z.ZodNativeEnum<
|
|
|
5270
5295
|
typeof UpdateAgentSource
|
|
5271
5296
|
> = z.nativeEnum(UpdateAgentSource);
|
|
5272
5297
|
|
|
5298
|
+
/** @internal */
|
|
5299
|
+
export const UpdateAgentAgentsEngine$inboundSchema: z.ZodNativeEnum<
|
|
5300
|
+
typeof UpdateAgentAgentsEngine
|
|
5301
|
+
> = z.nativeEnum(UpdateAgentAgentsEngine);
|
|
5302
|
+
|
|
5273
5303
|
/** @internal */
|
|
5274
5304
|
export const UpdateAgentType$inboundSchema: z.ZodNativeEnum<
|
|
5275
5305
|
typeof UpdateAgentType
|
|
@@ -6824,6 +6854,7 @@ export const UpdateAgentResponseBody$inboundSchema: z.ZodType<
|
|
|
6824
6854
|
z.lazy(() => UpdateAgentAgentsKnowledgeBases$inboundSchema),
|
|
6825
6855
|
).optional(),
|
|
6826
6856
|
source: UpdateAgentSource$inboundSchema.optional(),
|
|
6857
|
+
engine: UpdateAgentAgentsEngine$inboundSchema.default("text"),
|
|
6827
6858
|
type: UpdateAgentType$inboundSchema.default("internal"),
|
|
6828
6859
|
role: z.string(),
|
|
6829
6860
|
description: z.string(),
|
|
@@ -2358,7 +2358,7 @@ export const UpdateDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
2358
2358
|
.default("orq"),
|
|
2359
2359
|
reviewed_by_id: z.string(),
|
|
2360
2360
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2361
|
-
"2026-04-
|
|
2361
|
+
"2026-04-01T14:17:57.313Z",
|
|
2362
2362
|
).transform(v => new Date(v)),
|
|
2363
2363
|
type: z.literal("string_array"),
|
|
2364
2364
|
values: z.array(z.string()),
|
|
@@ -2404,7 +2404,7 @@ export const UpdateDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
2404
2404
|
source: UpdateDatapointEvaluationsDatasetsSource$inboundSchema.default("orq"),
|
|
2405
2405
|
reviewed_by_id: z.string(),
|
|
2406
2406
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2407
|
-
"2026-04-
|
|
2407
|
+
"2026-04-01T14:17:57.312Z",
|
|
2408
2408
|
).transform(v => new Date(v)),
|
|
2409
2409
|
type: z.literal("number"),
|
|
2410
2410
|
value: z.number(),
|
|
@@ -2449,7 +2449,7 @@ export const UpdateDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
2449
2449
|
source: UpdateDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
2450
2450
|
reviewed_by_id: z.string(),
|
|
2451
2451
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2452
|
-
"2026-04-
|
|
2452
|
+
"2026-04-01T14:17:57.312Z",
|
|
2453
2453
|
).transform(v => new Date(v)),
|
|
2454
2454
|
type: z.literal("string"),
|
|
2455
2455
|
value: z.string(),
|
|
@@ -2530,7 +2530,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
2530
2530
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2531
2531
|
.optional(),
|
|
2532
2532
|
updated: z.string().datetime({ offset: true }).default(
|
|
2533
|
-
"2026-04-
|
|
2533
|
+
"2026-04-01T14:17:40.247Z",
|
|
2534
2534
|
).transform(v => new Date(v)),
|
|
2535
2535
|
}).transform((v) => {
|
|
2536
2536
|
return remap$(v, {
|
|
@@ -182,7 +182,7 @@ export const UpdateDatasetResponseBody$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
|
-
"2026-04-
|
|
185
|
+
"2026-04-01T14:17:40.247Z",
|
|
186
186
|
).transform(v => new Date(v)),
|
|
187
187
|
}).transform((v) => {
|
|
188
188
|
return remap$(v, {
|
|
@@ -152,7 +152,7 @@ export const UpdateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
152
152
|
z.ZodTypeDef,
|
|
153
153
|
unknown
|
|
154
154
|
> = z.object({
|
|
155
|
-
_id: z.string().default("
|
|
155
|
+
_id: z.string().default("01KN4PGYQ91F45XRC44S72M47G"),
|
|
156
156
|
display_name: z.string(),
|
|
157
157
|
description: z.string().optional(),
|
|
158
158
|
status: UpdateDatasourceStatus$inboundSchema,
|