@orq-ai/node 4.8.1 → 4.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FUNCTIONS.md +2 -2
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- 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/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- 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/policyupdate.d.ts +5 -0
- package/models/operations/policyupdate.d.ts.map +1 -1
- package/models/operations/policyupdate.js +2 -0
- package/models/operations/policyupdate.js.map +1 -1
- package/models/operations/postv2feedbackevaluation.js +3 -3
- 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 +6 -6
- package/packages/orq-rc/src/funcs/filesCreate.ts +13 -48
- package/packages/orq-rc/src/funcs/filesDelete.ts +8 -8
- package/packages/orq-rc/src/funcs/filesGet.ts +6 -5
- package/packages/orq-rc/src/funcs/filesGetContent.ts +9 -9
- package/packages/orq-rc/src/funcs/filesList.ts +6 -5
- package/packages/orq-rc/src/funcs/filesUpdate.ts +8 -7
- package/packages/orq-rc/src/funcs/skillsCreate.ts +162 -0
- package/packages/orq-rc/src/funcs/skillsDelete.ts +165 -0
- package/packages/orq-rc/src/funcs/skillsGet.ts +168 -0
- package/packages/orq-rc/src/funcs/skillsList.ts +170 -0
- package/packages/orq-rc/src/funcs/skillsUpdate.ts +171 -0
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/models/components/createfilerequest.ts +45 -0
- package/packages/orq-rc/src/models/components/createfileresponse.ts +32 -0
- package/packages/orq-rc/src/models/components/createskillrequest.ts +55 -0
- package/packages/orq-rc/src/models/components/createskillresponse.ts +32 -0
- package/packages/orq-rc/src/models/components/deletefileresponse.ts +27 -0
- package/packages/orq-rc/src/models/components/deleteskillresponse.ts +27 -0
- package/packages/orq-rc/src/models/components/file.ts +48 -0
- package/packages/orq-rc/src/models/components/filepart.ts +21 -16
- package/packages/orq-rc/src/models/components/getfilecontentresponse.ts +36 -0
- package/packages/orq-rc/src/models/components/getfileresponse.ts +32 -0
- package/packages/orq-rc/src/models/components/getskillresponse.ts +32 -0
- package/packages/orq-rc/src/models/components/index.ts +17 -1
- package/packages/orq-rc/src/models/components/listfilesresponse.ts +41 -0
- package/packages/orq-rc/src/models/components/listskillsresponse.ts +41 -0
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/skill.ts +77 -0
- package/packages/orq-rc/src/models/components/updatefilerequest.ts +40 -0
- package/packages/orq-rc/src/models/components/updatefileresponse.ts +32 -0
- package/packages/orq-rc/src/models/components/updateskillrequest.ts +55 -0
- package/packages/orq-rc/src/models/components/updateskillresponse.ts +32 -0
- package/packages/orq-rc/src/models/operations/createagentrequest.ts +11 -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/createtool.ts +6 -6
- package/packages/orq-rc/src/models/operations/filecontent.ts +0 -3
- package/packages/orq-rc/src/models/operations/filedelete.ts +0 -3
- package/packages/orq-rc/src/models/operations/fileget.ts +0 -48
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -46
- package/packages/orq-rc/src/models/operations/fileupdate.ts +5 -82
- package/packages/orq-rc/src/models/operations/getalltools.ts +6 -6
- package/packages/orq-rc/src/models/operations/getevals.ts +16 -16
- 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/index.ts +4 -1
- package/packages/orq-rc/src/models/operations/invokeeval.ts +5 -2
- package/packages/orq-rc/src/models/operations/listagents.ts +5 -0
- 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/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +5 -0
- 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 +6 -6
- package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/skilldelete.ts +36 -0
- package/packages/orq-rc/src/models/operations/skillget.ts +40 -0
- package/packages/orq-rc/src/models/operations/skilllist.ts +49 -0
- package/packages/orq-rc/src/models/operations/skillupdate.ts +41 -0
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateagent.ts +20 -31
- 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/updatetool.ts +7 -7
- package/packages/orq-rc/src/sdk/files.ts +22 -21
- package/packages/orq-rc/src/sdk/sdk.ts +11 -5
- package/packages/orq-rc/src/sdk/skills.ts +97 -0
- package/src/lib/config.ts +3 -3
- 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/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- 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/policyupdate.ts +7 -0
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- 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
- package/packages/orq-rc/src/models/components/filedocument.ts +0 -48
- package/packages/orq-rc/src/models/operations/fileupload.ts +0 -135
|
@@ -1040,8 +1040,8 @@ export const DataTypescript$inboundSchema: z.ZodType<
|
|
|
1040
1040
|
> = z.object({
|
|
1041
1041
|
_id: z.string(),
|
|
1042
1042
|
description: z.string(),
|
|
1043
|
-
created: z.string().default("2026-04-
|
|
1044
|
-
updated: z.string().default("2026-04-
|
|
1043
|
+
created: z.string().default("2026-04-30T15:24:08.361Z"),
|
|
1044
|
+
updated: z.string().default("2026-04-30T15:24:08.361Z"),
|
|
1045
1045
|
guardrail_config: z.nullable(
|
|
1046
1046
|
z.union([
|
|
1047
1047
|
z.lazy(() =>
|
|
@@ -1220,8 +1220,8 @@ export const DataRagas$inboundSchema: z.ZodType<
|
|
|
1220
1220
|
> = z.object({
|
|
1221
1221
|
_id: z.string(),
|
|
1222
1222
|
description: z.string(),
|
|
1223
|
-
created: z.string().default("2026-04-
|
|
1224
|
-
updated: z.string().default("2026-04-
|
|
1223
|
+
created: z.string().default("2026-04-30T15:24:08.361Z"),
|
|
1224
|
+
updated: z.string().default("2026-04-30T15:24:08.361Z"),
|
|
1225
1225
|
guardrail_config: z.nullable(
|
|
1226
1226
|
z.union([
|
|
1227
1227
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -2050,8 +2050,8 @@ export const DataFunction$inboundSchema: z.ZodType<
|
|
|
2050
2050
|
> = z.object({
|
|
2051
2051
|
_id: z.string(),
|
|
2052
2052
|
description: z.string(),
|
|
2053
|
-
created: z.string().default("2026-04-
|
|
2054
|
-
updated: z.string().default("2026-04-
|
|
2053
|
+
created: z.string().default("2026-04-30T15:24:08.361Z"),
|
|
2054
|
+
updated: z.string().default("2026-04-30T15:24:08.361Z"),
|
|
2055
2055
|
guardrail_config: z.nullable(
|
|
2056
2056
|
z.union([
|
|
2057
2057
|
z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$inboundSchema),
|
|
@@ -2232,8 +2232,8 @@ export const DataPython$inboundSchema: z.ZodType<
|
|
|
2232
2232
|
> = z.object({
|
|
2233
2233
|
_id: z.string(),
|
|
2234
2234
|
description: z.string(),
|
|
2235
|
-
created: z.string().default("2026-04-
|
|
2236
|
-
updated: z.string().default("2026-04-
|
|
2235
|
+
created: z.string().default("2026-04-30T15:24:08.361Z"),
|
|
2236
|
+
updated: z.string().default("2026-04-30T15:24:08.361Z"),
|
|
2237
2237
|
guardrail_config: z.nullable(
|
|
2238
2238
|
z.union([
|
|
2239
2239
|
z.lazy(() => GetEvalsGuardrailConfigBoolean$inboundSchema),
|
|
@@ -2410,8 +2410,8 @@ export const DataHTTP$inboundSchema: z.ZodType<
|
|
|
2410
2410
|
> = z.object({
|
|
2411
2411
|
_id: z.string(),
|
|
2412
2412
|
description: z.string(),
|
|
2413
|
-
created: z.string().default("2026-04-
|
|
2414
|
-
updated: z.string().default("2026-04-
|
|
2413
|
+
created: z.string().default("2026-04-30T15:24:08.361Z"),
|
|
2414
|
+
updated: z.string().default("2026-04-30T15:24:08.361Z"),
|
|
2415
2415
|
guardrail_config: z.nullable(
|
|
2416
2416
|
z.union([
|
|
2417
2417
|
z.lazy(() =>
|
|
@@ -2600,8 +2600,8 @@ export const DataJSON$inboundSchema: z.ZodType<
|
|
|
2600
2600
|
> = z.object({
|
|
2601
2601
|
_id: z.string(),
|
|
2602
2602
|
description: z.string(),
|
|
2603
|
-
created: z.string().default("2026-04-
|
|
2604
|
-
updated: z.string().default("2026-04-
|
|
2603
|
+
created: z.string().default("2026-04-30T15:24:08.361Z"),
|
|
2604
|
+
updated: z.string().default("2026-04-30T15:24:08.361Z"),
|
|
2605
2605
|
guardrail_config: z.nullable(
|
|
2606
2606
|
z.union([
|
|
2607
2607
|
z.lazy(() =>
|
|
@@ -2966,8 +2966,8 @@ export const GetEvalsLlm2$inboundSchema: z.ZodType<
|
|
|
2966
2966
|
> = z.object({
|
|
2967
2967
|
_id: z.string(),
|
|
2968
2968
|
description: z.string(),
|
|
2969
|
-
created: z.string().default("2026-04-
|
|
2970
|
-
updated: z.string().default("2026-04-
|
|
2969
|
+
created: z.string().default("2026-04-30T15:24:08.361Z"),
|
|
2970
|
+
updated: z.string().default("2026-04-30T15:24:08.361Z"),
|
|
2971
2971
|
guardrail_config: z.nullable(
|
|
2972
2972
|
z.union([
|
|
2973
2973
|
z.lazy(() =>
|
|
@@ -3175,8 +3175,8 @@ export const GetEvalsLlm1$inboundSchema: z.ZodType<
|
|
|
3175
3175
|
> = z.object({
|
|
3176
3176
|
_id: z.string(),
|
|
3177
3177
|
description: z.string(),
|
|
3178
|
-
created: z.string().default("2026-04-
|
|
3179
|
-
updated: z.string().default("2026-04-
|
|
3178
|
+
created: z.string().default("2026-04-30T15:24:08.361Z"),
|
|
3179
|
+
updated: z.string().default("2026-04-30T15:24:08.361Z"),
|
|
3180
3180
|
guardrail_config: z.nullable(
|
|
3181
3181
|
z.union([
|
|
3182
3182
|
z.lazy(() =>
|
|
@@ -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-30T15:24:06.216Z",
|
|
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-30T15:24:06.216Z",
|
|
189
189
|
).transform(v => new Date(v)),
|
|
190
190
|
filter_type: z.literal("span_type"),
|
|
191
191
|
filter_values: z.array(z.string()),
|
|
@@ -141,7 +141,7 @@ export const GetV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
|
|
|
141
141
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
142
142
|
.optional(),
|
|
143
143
|
updated: z.string().datetime({ offset: true }).default(
|
|
144
|
-
"2026-04-
|
|
144
|
+
"2026-04-30T15:24:06.216Z",
|
|
145
145
|
).transform(v => new Date(v)),
|
|
146
146
|
filter_type: z.literal("name"),
|
|
147
147
|
filter_value: z.string(),
|
|
@@ -186,7 +186,7 @@ export const GetV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
|
|
|
186
186
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
187
187
|
.optional(),
|
|
188
188
|
updated: z.string().datetime({ offset: true }).default(
|
|
189
|
-
"2026-04-
|
|
189
|
+
"2026-04-30T15:24:06.216Z",
|
|
190
190
|
).transform(v => new Date(v)),
|
|
191
191
|
filter_type: z.literal("span_type"),
|
|
192
192
|
filter_values: z.array(z.string()),
|
|
@@ -60,7 +60,6 @@ export * from "./filedelete.js";
|
|
|
60
60
|
export * from "./fileget.js";
|
|
61
61
|
export * from "./filelist.js";
|
|
62
62
|
export * from "./fileupdate.js";
|
|
63
|
-
export * from "./fileupload.js";
|
|
64
63
|
export * from "./getagentresponse.js";
|
|
65
64
|
export * from "./getallmemories.js";
|
|
66
65
|
export * from "./getallmemorydocuments.js";
|
|
@@ -129,6 +128,10 @@ export * from "./routingrulelist.js";
|
|
|
129
128
|
export * from "./routingruleupdate.js";
|
|
130
129
|
export * from "./runagent.js";
|
|
131
130
|
export * from "./searchknowledge.js";
|
|
131
|
+
export * from "./skilldelete.js";
|
|
132
|
+
export * from "./skillget.js";
|
|
133
|
+
export * from "./skilllist.js";
|
|
134
|
+
export * from "./skillupdate.js";
|
|
132
135
|
export * from "./streamagent.js";
|
|
133
136
|
export * from "./streamrunagent.js";
|
|
134
137
|
export * from "./triggeragentschedule.js";
|
|
@@ -213,7 +213,8 @@ export type ResponseBodyJury = {
|
|
|
213
213
|
};
|
|
214
214
|
|
|
215
215
|
export type InvokeEvalResponseBodyEvalsResponseValue = {
|
|
216
|
-
workflowRunId
|
|
216
|
+
workflowRunId?: string | undefined;
|
|
217
|
+
traceId?: string | undefined;
|
|
217
218
|
value: number | boolean | string | null;
|
|
218
219
|
explanation?: string | null | undefined;
|
|
219
220
|
originalValue?: number | boolean | string | null | undefined;
|
|
@@ -853,7 +854,8 @@ export const InvokeEvalResponseBodyEvalsResponseValue$inboundSchema: z.ZodType<
|
|
|
853
854
|
z.ZodTypeDef,
|
|
854
855
|
unknown
|
|
855
856
|
> = z.object({
|
|
856
|
-
workflow_run_id: z.string(),
|
|
857
|
+
workflow_run_id: z.string().optional(),
|
|
858
|
+
trace_id: z.string().optional(),
|
|
857
859
|
value: z.nullable(z.union([z.number(), z.boolean(), z.string()])),
|
|
858
860
|
explanation: z.nullable(z.string()).optional(),
|
|
859
861
|
original_value: z.nullable(z.union([z.number(), z.boolean(), z.string()]))
|
|
@@ -863,6 +865,7 @@ export const InvokeEvalResponseBodyEvalsResponseValue$inboundSchema: z.ZodType<
|
|
|
863
865
|
}).transform((v) => {
|
|
864
866
|
return remap$(v, {
|
|
865
867
|
"workflow_run_id": "workflowRunId",
|
|
868
|
+
"trace_id": "traceId",
|
|
866
869
|
"original_value": "originalValue",
|
|
867
870
|
"original_explanation": "originalExplanation",
|
|
868
871
|
});
|
|
@@ -1132,6 +1132,10 @@ export type ListAgentsData = {
|
|
|
1132
1132
|
* The agents that are accessible to this orchestrator. The main agent can hand off to these agents to perform tasks.
|
|
1133
1133
|
*/
|
|
1134
1134
|
teamOfAgents?: Array<ListAgentsTeamOfAgents> | undefined;
|
|
1135
|
+
/**
|
|
1136
|
+
* List of skills that the agent can utilize. This field allows you to specify which skills the agent has access to, enabling more complex and dynamic behavior.
|
|
1137
|
+
*/
|
|
1138
|
+
skills: Array<string>;
|
|
1135
1139
|
metrics?: ListAgentsMetrics | undefined;
|
|
1136
1140
|
/**
|
|
1137
1141
|
* Extracted variables from agent instructions
|
|
@@ -2715,6 +2719,7 @@ export const ListAgentsData$inboundSchema: z.ZodType<
|
|
|
2715
2719
|
memory_stores: z.array(z.string()).optional(),
|
|
2716
2720
|
team_of_agents: z.array(z.lazy(() => ListAgentsTeamOfAgents$inboundSchema))
|
|
2717
2721
|
.optional(),
|
|
2722
|
+
skills: z.array(z.string()),
|
|
2718
2723
|
metrics: z.lazy(() => ListAgentsMetrics$inboundSchema).optional(),
|
|
2719
2724
|
variables: z.record(z.any()).optional(),
|
|
2720
2725
|
knowledge_bases: z.array(z.lazy(() => ListAgentsKnowledgeBases$inboundSchema))
|
|
@@ -1270,7 +1270,7 @@ export const ListDatasetDatapointsEvaluations3$inboundSchema: z.ZodType<
|
|
|
1270
1270
|
),
|
|
1271
1271
|
reviewed_by_id: z.string(),
|
|
1272
1272
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1273
|
-
"2026-04-
|
|
1273
|
+
"2026-04-30T15:24:20.768Z",
|
|
1274
1274
|
).transform(v => new Date(v)),
|
|
1275
1275
|
type: z.literal("string_array"),
|
|
1276
1276
|
values: z.array(z.string()),
|
|
@@ -1320,7 +1320,7 @@ export const ListDatasetDatapointsEvaluations2$inboundSchema: z.ZodType<
|
|
|
1320
1320
|
source: ListDatasetDatapointsEvaluationsSource$inboundSchema.default("orq"),
|
|
1321
1321
|
reviewed_by_id: z.string(),
|
|
1322
1322
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1323
|
-
"2026-04-
|
|
1323
|
+
"2026-04-30T15:24:20.766Z",
|
|
1324
1324
|
).transform(v => new Date(v)),
|
|
1325
1325
|
type: z.literal("number"),
|
|
1326
1326
|
value: z.number(),
|
|
@@ -1369,7 +1369,7 @@ export const ListDatasetDatapointsEvaluations1$inboundSchema: z.ZodType<
|
|
|
1369
1369
|
.default("orq"),
|
|
1370
1370
|
reviewed_by_id: z.string(),
|
|
1371
1371
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
1372
|
-
"2026-04-
|
|
1372
|
+
"2026-04-30T15:24:20.765Z",
|
|
1373
1373
|
).transform(v => new Date(v)),
|
|
1374
1374
|
type: z.literal("string"),
|
|
1375
1375
|
value: z.string(),
|
|
@@ -1448,7 +1448,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
|
|
|
1448
1448
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
1449
1449
|
.optional(),
|
|
1450
1450
|
updated: z.string().datetime({ offset: true }).default(
|
|
1451
|
-
"2026-04-
|
|
1451
|
+
"2026-04-30T15:24:06.216Z",
|
|
1452
1452
|
).transform(v => new Date(v)),
|
|
1453
1453
|
}).transform((v) => {
|
|
1454
1454
|
return remap$(v, {
|
|
@@ -156,7 +156,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
|
|
|
156
156
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
157
157
|
.optional(),
|
|
158
158
|
updated: z.string().datetime({ offset: true }).default(
|
|
159
|
-
"2026-04-
|
|
159
|
+
"2026-04-30T15:24:06.216Z",
|
|
160
160
|
).transform(v => new Date(v)),
|
|
161
161
|
}).transform((v) => {
|
|
162
162
|
return remap$(v, {
|
|
@@ -176,7 +176,7 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
|
|
|
176
176
|
z.ZodTypeDef,
|
|
177
177
|
unknown
|
|
178
178
|
> = z.object({
|
|
179
|
-
_id: z.string().default("
|
|
179
|
+
_id: z.string().default("01KQFFVBT1SW1ZKMXJNVGF67GY"),
|
|
180
180
|
display_name: z.string(),
|
|
181
181
|
description: z.string().optional(),
|
|
182
182
|
status: ListDatasourcesStatus$inboundSchema,
|
|
@@ -227,7 +227,7 @@ export const ListIdentitiesData$inboundSchema: z.ZodType<
|
|
|
227
227
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
228
228
|
.optional(),
|
|
229
229
|
updated: z.string().datetime({ offset: true }).default(
|
|
230
|
-
"2026-04-
|
|
230
|
+
"2026-04-30T15:24:06.216Z",
|
|
231
231
|
).transform(v => new Date(v)),
|
|
232
232
|
metrics: z.lazy(() => ListIdentitiesMetrics$inboundSchema),
|
|
233
233
|
}).transform((v) => {
|
|
@@ -318,7 +318,7 @@ export const PatchV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
|
|
|
318
318
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
319
319
|
.optional(),
|
|
320
320
|
updated: z.string().datetime({ offset: true }).default(
|
|
321
|
-
"2026-04-
|
|
321
|
+
"2026-04-30T15:24:06.216Z",
|
|
322
322
|
).transform(v => new Date(v)),
|
|
323
323
|
filter_type: z.literal("name"),
|
|
324
324
|
filter_value: z.string(),
|
|
@@ -364,7 +364,7 @@ export const PatchV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
|
|
|
364
364
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
365
365
|
.optional(),
|
|
366
366
|
updated: z.string().datetime({ offset: true }).default(
|
|
367
|
-
"2026-04-
|
|
367
|
+
"2026-04-30T15:24:06.216Z",
|
|
368
368
|
).transform(v => new Date(v)),
|
|
369
369
|
filter_type: z.literal("span_type"),
|
|
370
370
|
filter_values: z.array(z.string()),
|
|
@@ -173,7 +173,7 @@ export const RequestBody3$outboundSchema: z.ZodType<
|
|
|
173
173
|
humanReviewId: z.string(),
|
|
174
174
|
source: PostV2FeedbackEvaluationRequestBodyRequestSource$outboundSchema
|
|
175
175
|
.default("orq"),
|
|
176
|
-
reviewedAt: z.date().default(() => new Date("2026-04-
|
|
176
|
+
reviewedAt: z.date().default(() => new Date("2026-04-30T15:24:21.425Z"))
|
|
177
177
|
.transform(v => v.toISOString()),
|
|
178
178
|
type: z.literal("string_array"),
|
|
179
179
|
values: z.array(z.string()),
|
|
@@ -225,7 +225,7 @@ export const RequestBody2$outboundSchema: z.ZodType<
|
|
|
225
225
|
source: PostV2FeedbackEvaluationRequestBodySource$outboundSchema.default(
|
|
226
226
|
"orq",
|
|
227
227
|
),
|
|
228
|
-
reviewedAt: z.date().default(() => new Date("2026-04-
|
|
228
|
+
reviewedAt: z.date().default(() => new Date("2026-04-30T15:24:21.425Z"))
|
|
229
229
|
.transform(v => v.toISOString()),
|
|
230
230
|
type: z.literal("number"),
|
|
231
231
|
value: z.number(),
|
|
@@ -275,7 +275,7 @@ export const RequestBody1$outboundSchema: z.ZodType<
|
|
|
275
275
|
evaluationType: EvaluationType$outboundSchema,
|
|
276
276
|
humanReviewId: z.string(),
|
|
277
277
|
source: RequestBodySource$outboundSchema.default("orq"),
|
|
278
|
-
reviewedAt: z.date().default(() => new Date("2026-04-
|
|
278
|
+
reviewedAt: z.date().default(() => new Date("2026-04-30T15:24:21.425Z"))
|
|
279
279
|
.transform(v => v.toISOString()),
|
|
280
280
|
type: z.literal("string"),
|
|
281
281
|
value: z.string(),
|
|
@@ -271,7 +271,7 @@ export const PostV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
|
|
|
271
271
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
272
272
|
.optional(),
|
|
273
273
|
updated: z.string().datetime({ offset: true }).default(
|
|
274
|
-
"2026-04-
|
|
274
|
+
"2026-04-30T15:24:06.216Z",
|
|
275
275
|
).transform(v => new Date(v)),
|
|
276
276
|
filter_type: z.literal("name"),
|
|
277
277
|
filter_value: z.string(),
|
|
@@ -316,7 +316,7 @@ export const PostV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
|
|
|
316
316
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
317
317
|
.optional(),
|
|
318
318
|
updated: z.string().datetime({ offset: true }).default(
|
|
319
|
-
"2026-04-
|
|
319
|
+
"2026-04-30T15:24:06.216Z",
|
|
320
320
|
).transform(v => new Date(v)),
|
|
321
321
|
filter_type: z.literal("span_type"),
|
|
322
322
|
filter_values: z.array(z.string()),
|
|
@@ -1136,6 +1136,10 @@ export type RetrieveAgentRequestResponseBody = {
|
|
|
1136
1136
|
* The agents that are accessible to this orchestrator. The main agent can hand off to these agents to perform tasks.
|
|
1137
1137
|
*/
|
|
1138
1138
|
teamOfAgents?: Array<RetrieveAgentRequestTeamOfAgents> | undefined;
|
|
1139
|
+
/**
|
|
1140
|
+
* List of skills that the agent can utilize. This field allows you to specify which skills the agent has access to, enabling more complex and dynamic behavior.
|
|
1141
|
+
*/
|
|
1142
|
+
skills: Array<string>;
|
|
1139
1143
|
metrics?: RetrieveAgentRequestMetrics | undefined;
|
|
1140
1144
|
/**
|
|
1141
1145
|
* Extracted variables from agent instructions
|
|
@@ -2799,6 +2803,7 @@ export const RetrieveAgentRequestResponseBody$inboundSchema: z.ZodType<
|
|
|
2799
2803
|
team_of_agents: z.array(
|
|
2800
2804
|
z.lazy(() => RetrieveAgentRequestTeamOfAgents$inboundSchema),
|
|
2801
2805
|
).optional(),
|
|
2806
|
+
skills: z.array(z.string()),
|
|
2802
2807
|
metrics: z.lazy(() => RetrieveAgentRequestMetrics$inboundSchema).optional(),
|
|
2803
2808
|
variables: z.record(z.any()).optional(),
|
|
2804
2809
|
knowledge_bases: z.array(
|
|
@@ -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-30T15:24:20.788Z",
|
|
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-30T15:24:20.787Z",
|
|
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-30T15:24:20.783Z",
|
|
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-30T15:24:06.216Z",
|
|
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-30T15:24:06.216Z",
|
|
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("01KQFFVBT3F9DT1J8JD33X3KZC"),
|
|
122
122
|
display_name: z.string(),
|
|
123
123
|
description: z.string().optional(),
|
|
124
124
|
status: RetrieveDatasourceStatus$inboundSchema,
|
|
@@ -151,7 +151,7 @@ export const RetrieveIdentityResponseBody$inboundSchema: z.ZodType<
|
|
|
151
151
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
152
152
|
.optional(),
|
|
153
153
|
updated: z.string().datetime({ offset: true }).default(
|
|
154
|
-
"2026-04-
|
|
154
|
+
"2026-04-30T15:24:06.216Z",
|
|
155
155
|
).transform(v => new Date(v)),
|
|
156
156
|
metrics: z.nullable(z.lazy(() => Metrics$inboundSchema)).optional(),
|
|
157
157
|
}).transform((v) => {
|
|
@@ -753,7 +753,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
753
753
|
z.ZodTypeDef,
|
|
754
754
|
unknown
|
|
755
755
|
> = z.object({
|
|
756
|
-
_id: z.string().default("
|
|
756
|
+
_id: z.string().default("tool_01KQFFVBPQN9VXRVNTHTSY15S3"),
|
|
757
757
|
path: z.string(),
|
|
758
758
|
key: z.string(),
|
|
759
759
|
display_name: z.string().optional(),
|
|
@@ -859,7 +859,7 @@ export const RetrieveToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
859
859
|
z.ZodTypeDef,
|
|
860
860
|
unknown
|
|
861
861
|
> = z.object({
|
|
862
|
-
id: z.string().default("
|
|
862
|
+
id: z.string().default("01KQFFVBPPQ8HEXK71TQAV1D5T"),
|
|
863
863
|
name: z.string(),
|
|
864
864
|
description: z.string().optional(),
|
|
865
865
|
schema: z.lazy(() => RetrieveToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -917,7 +917,7 @@ export const RetrieveToolResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
917
917
|
z.ZodTypeDef,
|
|
918
918
|
unknown
|
|
919
919
|
> = z.object({
|
|
920
|
-
_id: z.string().default("
|
|
920
|
+
_id: z.string().default("tool_01KQFFVBPNS8MM784BWDFE1CMB"),
|
|
921
921
|
path: z.string(),
|
|
922
922
|
key: z.string(),
|
|
923
923
|
display_name: z.string().optional(),
|
|
@@ -1108,7 +1108,7 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1108
1108
|
z.ZodTypeDef,
|
|
1109
1109
|
unknown
|
|
1110
1110
|
> = z.object({
|
|
1111
|
-
_id: z.string().default("
|
|
1111
|
+
_id: z.string().default("tool_01KQFFVBPJ60HX1XSM42FWP11W"),
|
|
1112
1112
|
path: z.string(),
|
|
1113
1113
|
key: z.string(),
|
|
1114
1114
|
display_name: z.string().optional(),
|
|
@@ -1204,7 +1204,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1204
1204
|
z.ZodTypeDef,
|
|
1205
1205
|
unknown
|
|
1206
1206
|
> = z.object({
|
|
1207
|
-
_id: z.string().default("
|
|
1207
|
+
_id: z.string().default("tool_01KQFFVBPHSSWZ8F8T25425SZN"),
|
|
1208
1208
|
path: z.string(),
|
|
1209
1209
|
key: z.string(),
|
|
1210
1210
|
display_name: z.string().optional(),
|
|
@@ -1310,7 +1310,7 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
1310
1310
|
z.ZodTypeDef,
|
|
1311
1311
|
unknown
|
|
1312
1312
|
> = z.object({
|
|
1313
|
-
_id: z.string().default("
|
|
1313
|
+
_id: z.string().default("tool_01KQFFVBPG2X5R8CCGYDSX7BQK"),
|
|
1314
1314
|
path: z.string(),
|
|
1315
1315
|
key: z.string(),
|
|
1316
1316
|
display_name: z.string().optional(),
|
|
@@ -3628,7 +3628,7 @@ export const Tools$outboundSchema: z.ZodType<
|
|
|
3628
3628
|
z.ZodTypeDef,
|
|
3629
3629
|
Tools
|
|
3630
3630
|
> = z.object({
|
|
3631
|
-
id: z.string().default("
|
|
3631
|
+
id: z.string().default("01KQFFVB9J2ZNMNXHCMFK5NTPF"),
|
|
3632
3632
|
name: z.string(),
|
|
3633
3633
|
description: z.string().optional(),
|
|
3634
3634
|
schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
|
|
8
|
+
export type SkillDeleteRequest = {
|
|
9
|
+
skillId: string;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
/** @internal */
|
|
13
|
+
export type SkillDeleteRequest$Outbound = {
|
|
14
|
+
skill_id: string;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const SkillDeleteRequest$outboundSchema: z.ZodType<
|
|
19
|
+
SkillDeleteRequest$Outbound,
|
|
20
|
+
z.ZodTypeDef,
|
|
21
|
+
SkillDeleteRequest
|
|
22
|
+
> = z.object({
|
|
23
|
+
skillId: z.string(),
|
|
24
|
+
}).transform((v) => {
|
|
25
|
+
return remap$(v, {
|
|
26
|
+
skillId: "skill_id",
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
export function skillDeleteRequestToJSON(
|
|
31
|
+
skillDeleteRequest: SkillDeleteRequest,
|
|
32
|
+
): string {
|
|
33
|
+
return JSON.stringify(
|
|
34
|
+
SkillDeleteRequest$outboundSchema.parse(skillDeleteRequest),
|
|
35
|
+
);
|
|
36
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
|
|
8
|
+
export type SkillGetRequest = {
|
|
9
|
+
/**
|
|
10
|
+
* Accepts either the skill's ID (e.g. "skill_01H...") or its display
|
|
11
|
+
*
|
|
12
|
+
* @remarks
|
|
13
|
+
* name. Display names are unique within a workspace.
|
|
14
|
+
*/
|
|
15
|
+
skillId: string;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export type SkillGetRequest$Outbound = {
|
|
20
|
+
skill_id: string;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
/** @internal */
|
|
24
|
+
export const SkillGetRequest$outboundSchema: z.ZodType<
|
|
25
|
+
SkillGetRequest$Outbound,
|
|
26
|
+
z.ZodTypeDef,
|
|
27
|
+
SkillGetRequest
|
|
28
|
+
> = z.object({
|
|
29
|
+
skillId: z.string(),
|
|
30
|
+
}).transform((v) => {
|
|
31
|
+
return remap$(v, {
|
|
32
|
+
skillId: "skill_id",
|
|
33
|
+
});
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
export function skillGetRequestToJSON(
|
|
37
|
+
skillGetRequest: SkillGetRequest,
|
|
38
|
+
): string {
|
|
39
|
+
return JSON.stringify(SkillGetRequest$outboundSchema.parse(skillGetRequest));
|
|
40
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
|
|
8
|
+
export type SkillListRequest = {
|
|
9
|
+
/**
|
|
10
|
+
* Page size, 1–200. Unset uses the server default (25); explicit 0
|
|
11
|
+
*
|
|
12
|
+
* @remarks
|
|
13
|
+
* (or anything outside the range) is rejected by buf.validate.
|
|
14
|
+
*/
|
|
15
|
+
limit?: number | undefined;
|
|
16
|
+
startingAfter?: string | undefined;
|
|
17
|
+
endingBefore?: string | undefined;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export type SkillListRequest$Outbound = {
|
|
22
|
+
limit?: number | undefined;
|
|
23
|
+
starting_after?: string | undefined;
|
|
24
|
+
ending_before?: string | undefined;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
/** @internal */
|
|
28
|
+
export const SkillListRequest$outboundSchema: z.ZodType<
|
|
29
|
+
SkillListRequest$Outbound,
|
|
30
|
+
z.ZodTypeDef,
|
|
31
|
+
SkillListRequest
|
|
32
|
+
> = z.object({
|
|
33
|
+
limit: z.number().int().optional(),
|
|
34
|
+
startingAfter: z.string().optional(),
|
|
35
|
+
endingBefore: z.string().optional(),
|
|
36
|
+
}).transform((v) => {
|
|
37
|
+
return remap$(v, {
|
|
38
|
+
startingAfter: "starting_after",
|
|
39
|
+
endingBefore: "ending_before",
|
|
40
|
+
});
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
export function skillListRequestToJSON(
|
|
44
|
+
skillListRequest: SkillListRequest,
|
|
45
|
+
): string {
|
|
46
|
+
return JSON.stringify(
|
|
47
|
+
SkillListRequest$outboundSchema.parse(skillListRequest),
|
|
48
|
+
);
|
|
49
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import * as components from "../components/index.js";
|
|
8
|
+
|
|
9
|
+
export type SkillUpdateRequest = {
|
|
10
|
+
skillId: string;
|
|
11
|
+
updateSkillRequest: components.UpdateSkillRequest;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/** @internal */
|
|
15
|
+
export type SkillUpdateRequest$Outbound = {
|
|
16
|
+
skill_id: string;
|
|
17
|
+
UpdateSkillRequest: components.UpdateSkillRequest$Outbound;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const SkillUpdateRequest$outboundSchema: z.ZodType<
|
|
22
|
+
SkillUpdateRequest$Outbound,
|
|
23
|
+
z.ZodTypeDef,
|
|
24
|
+
SkillUpdateRequest
|
|
25
|
+
> = z.object({
|
|
26
|
+
skillId: z.string(),
|
|
27
|
+
updateSkillRequest: components.UpdateSkillRequest$outboundSchema,
|
|
28
|
+
}).transform((v) => {
|
|
29
|
+
return remap$(v, {
|
|
30
|
+
skillId: "skill_id",
|
|
31
|
+
updateSkillRequest: "UpdateSkillRequest",
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
export function skillUpdateRequestToJSON(
|
|
36
|
+
skillUpdateRequest: SkillUpdateRequest,
|
|
37
|
+
): string {
|
|
38
|
+
return JSON.stringify(
|
|
39
|
+
SkillUpdateRequest$outboundSchema.parse(skillUpdateRequest),
|
|
40
|
+
);
|
|
41
|
+
}
|
|
@@ -3675,7 +3675,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
|
|
|
3675
3675
|
z.ZodTypeDef,
|
|
3676
3676
|
AgentToolInputRunTools
|
|
3677
3677
|
> = z.object({
|
|
3678
|
-
id: z.string().default("
|
|
3678
|
+
id: z.string().default("01KQFFVBBB00FYZKCW3NMSG642"),
|
|
3679
3679
|
name: z.string(),
|
|
3680
3680
|
description: z.string().optional(),
|
|
3681
3681
|
schema: z.lazy(() =>
|