@orq-ai/node 3.13.4 → 3.13.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/mcp-server.js +202 -202
- package/bin/mcp-server.js.map +39 -39
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/createtool.js +14 -14
- package/models/operations/duplicatetool.js +10 -10
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getagent.js +2 -2
- package/models/operations/getalltools.js +10 -10
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/listagents.js +2 -2
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.js +10 -10
- package/models/operations/runagent.js +2 -2
- package/models/operations/streamrunagent.js +2 -2
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/packages/orq-rc/README.md +96 -93
- package/packages/orq-rc/docs/sdks/agents/README.md +95 -20
- package/packages/orq-rc/examples/package-lock.json +1 -1
- package/packages/orq-rc/jsr.json +1 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/funcs/agentsListTasks.ts +183 -0
- package/packages/orq-rc/src/funcs/agentsRetrieve.ts +3 -3
- package/packages/orq-rc/src/lib/config.ts +2 -2
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +4 -2
- package/packages/orq-rc/src/mcp-server/tools/agentsListTasks.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/agentsRetrieve.ts +1 -1
- package/packages/orq-rc/src/models/errors/index.ts +1 -0
- package/packages/orq-rc/src/models/errors/listagenttasks.ts +80 -0
- package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +28 -28
- package/packages/orq-rc/src/models/operations/createtool.ts +10 -10
- package/packages/orq-rc/src/models/operations/duplicatetool.ts +10 -10
- package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
- package/packages/orq-rc/src/models/operations/getagent.ts +23 -15
- package/packages/orq-rc/src/models/operations/getalltools.ts +10 -10
- package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
- package/packages/orq-rc/src/models/operations/index.ts +1 -0
- package/packages/orq-rc/src/models/operations/listagents.ts +10 -10
- package/packages/orq-rc/src/models/operations/listagenttasks.ts +1099 -0
- package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listchunks.ts +21 -21
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +29 -22
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievetool.ts +10 -10
- package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateeval.ts +28 -28
- package/packages/orq-rc/src/models/operations/updatetool.ts +10 -10
- package/packages/orq-rc/src/sdk/agents.ts +25 -7
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/createtool.ts +14 -14
- package/src/models/operations/duplicatetool.ts +10 -10
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getagent.ts +2 -2
- package/src/models/operations/getalltools.ts +10 -10
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/listagents.ts +2 -2
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +10 -10
- package/src/models/operations/runagent.ts +2 -2
- package/src/models/operations/streamrunagent.ts +2 -2
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updatetool.ts +14 -14
|
@@ -658,7 +658,7 @@ export const CreateBudgetResponseBody$inboundSchema: z.ZodType<
|
|
|
658
658
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
659
659
|
.optional(),
|
|
660
660
|
updated: z.string().datetime({ offset: true }).default(
|
|
661
|
-
"2025-10-
|
|
661
|
+
"2025-10-03T13:53:58.021Z",
|
|
662
662
|
).transform(v => new Date(v)),
|
|
663
663
|
}).transform((v) => {
|
|
664
664
|
return remap$(v, {
|
|
@@ -693,7 +693,7 @@ export const CreateBudgetResponseBody$outboundSchema: z.ZodType<
|
|
|
693
693
|
isActive: z.boolean(),
|
|
694
694
|
consumption: z.lazy(() => Consumption$outboundSchema).optional(),
|
|
695
695
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
696
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
696
|
+
updated: z.date().default(() => new Date("2025-10-03T13:53:58.021Z"))
|
|
697
697
|
.transform(v => v.toISOString()),
|
|
698
698
|
}).transform((v) => {
|
|
699
699
|
return remap$(v, {
|
|
@@ -182,7 +182,7 @@ export const CreateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
182
182
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
183
183
|
.optional(),
|
|
184
184
|
updated: z.string().datetime({ offset: true }).default(
|
|
185
|
-
"2025-10-
|
|
185
|
+
"2025-10-03T13:53:58.021Z",
|
|
186
186
|
).transform(v => new Date(v)),
|
|
187
187
|
}).transform((v) => {
|
|
188
188
|
return remap$(v, {
|
|
@@ -223,7 +223,7 @@ export const CreateContactResponseBody$outboundSchema: z.ZodType<
|
|
|
223
223
|
tags: z.array(z.string()).optional(),
|
|
224
224
|
metadata: z.record(z.any()).optional(),
|
|
225
225
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
226
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
226
|
+
updated: z.date().default(() => new Date("2025-10-03T13:53:58.021Z"))
|
|
227
227
|
.transform(v => v.toISOString()),
|
|
228
228
|
}).transform((v) => {
|
|
229
229
|
return remap$(v, {
|
|
@@ -211,7 +211,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
211
211
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
212
212
|
.optional(),
|
|
213
213
|
updated: z.string().datetime({ offset: true }).default(
|
|
214
|
-
"2025-10-
|
|
214
|
+
"2025-10-03T13:53:58.021Z",
|
|
215
215
|
).transform(v => new Date(v)),
|
|
216
216
|
}).transform((v) => {
|
|
217
217
|
return remap$(v, {
|
|
@@ -251,7 +251,7 @@ export const CreateDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
251
251
|
updatedById: z.string().optional(),
|
|
252
252
|
metadata: z.lazy(() => CreateDatasetMetadata$outboundSchema),
|
|
253
253
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
254
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
254
|
+
updated: z.date().default(() => new Date("2025-10-03T13:53:58.021Z"))
|
|
255
255
|
.transform(v => v.toISOString()),
|
|
256
256
|
}).transform((v) => {
|
|
257
257
|
return remap$(v, {
|
|
@@ -6083,7 +6083,7 @@ export const ResponseBody$inboundSchema: z.ZodType<
|
|
|
6083
6083
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
6084
6084
|
.optional(),
|
|
6085
6085
|
updated: z.string().datetime({ offset: true }).default(
|
|
6086
|
-
"2025-10-
|
|
6086
|
+
"2025-10-03T13:53:58.021Z",
|
|
6087
6087
|
).transform(v => new Date(v)),
|
|
6088
6088
|
}).transform((v) => {
|
|
6089
6089
|
return remap$(v, {
|
|
@@ -6147,7 +6147,7 @@ export const ResponseBody$outboundSchema: z.ZodType<
|
|
|
6147
6147
|
createdById: z.string().optional(),
|
|
6148
6148
|
updatedById: z.string().optional(),
|
|
6149
6149
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
6150
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
6150
|
+
updated: z.date().default(() => new Date("2025-10-03T13:53:58.021Z"))
|
|
6151
6151
|
.transform(v => v.toISOString()),
|
|
6152
6152
|
}).transform((v) => {
|
|
6153
6153
|
return remap$(v, {
|
|
@@ -751,7 +751,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
751
751
|
z.ZodTypeDef,
|
|
752
752
|
unknown
|
|
753
753
|
> = z.object({
|
|
754
|
-
_id: z.string().default("
|
|
754
|
+
_id: z.string().default("01K6N5KY100FGEVZT92FY74TPW"),
|
|
755
755
|
display_name: z.string(),
|
|
756
756
|
description: z.string().optional(),
|
|
757
757
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -795,7 +795,7 @@ export const CreateDatasourceResponseBody$outboundSchema: z.ZodType<
|
|
|
795
795
|
z.ZodTypeDef,
|
|
796
796
|
CreateDatasourceResponseBody
|
|
797
797
|
> = z.object({
|
|
798
|
-
id: z.string().default("
|
|
798
|
+
id: z.string().default("01K6N5KY100FGEVZT92FY74TPW"),
|
|
799
799
|
displayName: z.string(),
|
|
800
800
|
description: z.string().optional(),
|
|
801
801
|
status: CreateDatasourceStatus$outboundSchema,
|
|
@@ -3347,8 +3347,8 @@ export const Typescript$inboundSchema: z.ZodType<
|
|
|
3347
3347
|
> = z.object({
|
|
3348
3348
|
_id: z.string(),
|
|
3349
3349
|
description: z.string(),
|
|
3350
|
-
created: z.string().default("2025-10-
|
|
3351
|
-
updated: z.string().default("2025-10-
|
|
3350
|
+
created: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
3351
|
+
updated: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
3352
3352
|
guardrail_config: z.union([
|
|
3353
3353
|
z.lazy(() =>
|
|
3354
3354
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$inboundSchema
|
|
@@ -3391,8 +3391,8 @@ export const Typescript$outboundSchema: z.ZodType<
|
|
|
3391
3391
|
> = z.object({
|
|
3392
3392
|
id: z.string(),
|
|
3393
3393
|
description: z.string(),
|
|
3394
|
-
created: z.string().default("2025-10-
|
|
3395
|
-
updated: z.string().default("2025-10-
|
|
3394
|
+
created: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
3395
|
+
updated: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
3396
3396
|
guardrailConfig: z.union([
|
|
3397
3397
|
z.lazy(() =>
|
|
3398
3398
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$outboundSchema
|
|
@@ -3809,8 +3809,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
|
|
|
3809
3809
|
.object({
|
|
3810
3810
|
_id: z.string(),
|
|
3811
3811
|
description: z.string(),
|
|
3812
|
-
created: z.string().default("2025-10-
|
|
3813
|
-
updated: z.string().default("2025-10-
|
|
3812
|
+
created: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
3813
|
+
updated: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
3814
3814
|
guardrail_config: z.union([
|
|
3815
3815
|
z.lazy(() =>
|
|
3816
3816
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$inboundSchema
|
|
@@ -3856,8 +3856,8 @@ export const Ragas$outboundSchema: z.ZodType<
|
|
|
3856
3856
|
> = z.object({
|
|
3857
3857
|
id: z.string(),
|
|
3858
3858
|
description: z.string(),
|
|
3859
|
-
created: z.string().default("2025-10-
|
|
3860
|
-
updated: z.string().default("2025-10-
|
|
3859
|
+
created: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
3860
|
+
updated: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
3861
3861
|
guardrailConfig: z.union([
|
|
3862
3862
|
z.lazy(() =>
|
|
3863
3863
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$outboundSchema
|
|
@@ -7281,8 +7281,8 @@ export const ResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
7281
7281
|
> = z.object({
|
|
7282
7282
|
_id: z.string(),
|
|
7283
7283
|
description: z.string(),
|
|
7284
|
-
created: z.string().default("2025-10-
|
|
7285
|
-
updated: z.string().default("2025-10-
|
|
7284
|
+
created: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
7285
|
+
updated: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
7286
7286
|
guardrail_config: z.union([
|
|
7287
7287
|
z.lazy(() =>
|
|
7288
7288
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$inboundSchema
|
|
@@ -7396,8 +7396,8 @@ export const ResponseBodyFunction$outboundSchema: z.ZodType<
|
|
|
7396
7396
|
> = z.object({
|
|
7397
7397
|
id: z.string(),
|
|
7398
7398
|
description: z.string(),
|
|
7399
|
-
created: z.string().default("2025-10-
|
|
7400
|
-
updated: z.string().default("2025-10-
|
|
7399
|
+
created: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
7400
|
+
updated: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
7401
7401
|
guardrailConfig: z.union([
|
|
7402
7402
|
z.lazy(() =>
|
|
7403
7403
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$outboundSchema
|
|
@@ -7836,8 +7836,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
7836
7836
|
> = z.object({
|
|
7837
7837
|
_id: z.string(),
|
|
7838
7838
|
description: z.string(),
|
|
7839
|
-
created: z.string().default("2025-10-
|
|
7840
|
-
updated: z.string().default("2025-10-
|
|
7839
|
+
created: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
7840
|
+
updated: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
7841
7841
|
guardrail_config: z.union([
|
|
7842
7842
|
z.lazy(() =>
|
|
7843
7843
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
|
|
@@ -7879,8 +7879,8 @@ export const ResponseBodyPython$outboundSchema: z.ZodType<
|
|
|
7879
7879
|
> = z.object({
|
|
7880
7880
|
id: z.string(),
|
|
7881
7881
|
description: z.string(),
|
|
7882
|
-
created: z.string().default("2025-10-
|
|
7883
|
-
updated: z.string().default("2025-10-
|
|
7882
|
+
created: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
7883
|
+
updated: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
7884
7884
|
guardrailConfig: z.union([
|
|
7885
7885
|
z.lazy(() =>
|
|
7886
7886
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
|
|
@@ -8293,8 +8293,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
8293
8293
|
> = z.object({
|
|
8294
8294
|
_id: z.string(),
|
|
8295
8295
|
description: z.string(),
|
|
8296
|
-
created: z.string().default("2025-10-
|
|
8297
|
-
updated: z.string().default("2025-10-
|
|
8296
|
+
created: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
8297
|
+
updated: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
8298
8298
|
guardrail_config: z.union([
|
|
8299
8299
|
z.lazy(() =>
|
|
8300
8300
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
|
|
@@ -8342,8 +8342,8 @@ export const ResponseBodyHTTP$outboundSchema: z.ZodType<
|
|
|
8342
8342
|
> = z.object({
|
|
8343
8343
|
id: z.string(),
|
|
8344
8344
|
description: z.string(),
|
|
8345
|
-
created: z.string().default("2025-10-
|
|
8346
|
-
updated: z.string().default("2025-10-
|
|
8345
|
+
created: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
8346
|
+
updated: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
8347
8347
|
guardrailConfig: z.union([
|
|
8348
8348
|
z.lazy(() =>
|
|
8349
8349
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
|
|
@@ -8720,8 +8720,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
8720
8720
|
> = z.object({
|
|
8721
8721
|
_id: z.string(),
|
|
8722
8722
|
description: z.string(),
|
|
8723
|
-
created: z.string().default("2025-10-
|
|
8724
|
-
updated: z.string().default("2025-10-
|
|
8723
|
+
created: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
8724
|
+
updated: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
8725
8725
|
guardrail_config: z.union([
|
|
8726
8726
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
8727
8727
|
z.lazy(() =>
|
|
@@ -8761,8 +8761,8 @@ export const ResponseBodyJSON$outboundSchema: z.ZodType<
|
|
|
8761
8761
|
> = z.object({
|
|
8762
8762
|
id: z.string(),
|
|
8763
8763
|
description: z.string(),
|
|
8764
|
-
created: z.string().default("2025-10-
|
|
8765
|
-
updated: z.string().default("2025-10-
|
|
8764
|
+
created: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
8765
|
+
updated: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
8766
8766
|
guardrailConfig: z.union([
|
|
8767
8767
|
z.lazy(() =>
|
|
8768
8768
|
CreateEvalGuardrailConfigEvalsResponse200Number$outboundSchema
|
|
@@ -9117,8 +9117,8 @@ export const ResponseBodyLLM$inboundSchema: z.ZodType<
|
|
|
9117
9117
|
> = z.object({
|
|
9118
9118
|
_id: z.string(),
|
|
9119
9119
|
description: z.string(),
|
|
9120
|
-
created: z.string().default("2025-10-
|
|
9121
|
-
updated: z.string().default("2025-10-
|
|
9120
|
+
created: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
9121
|
+
updated: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
9122
9122
|
guardrail_config: z.union([
|
|
9123
9123
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
9124
9124
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -9158,8 +9158,8 @@ export const ResponseBodyLLM$outboundSchema: z.ZodType<
|
|
|
9158
9158
|
> = z.object({
|
|
9159
9159
|
id: z.string(),
|
|
9160
9160
|
description: z.string(),
|
|
9161
|
-
created: z.string().default("2025-10-
|
|
9162
|
-
updated: z.string().default("2025-10-
|
|
9161
|
+
created: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
9162
|
+
updated: z.string().default("2025-10-03T13:54:00.311Z"),
|
|
9163
9163
|
guardrailConfig: z.union([
|
|
9164
9164
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
9165
9165
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
@@ -2513,7 +2513,7 @@ export const ResponseBody5$inboundSchema: z.ZodType<
|
|
|
2513
2513
|
z.ZodTypeDef,
|
|
2514
2514
|
unknown
|
|
2515
2515
|
> = z.object({
|
|
2516
|
-
_id: z.string().default("
|
|
2516
|
+
_id: z.string().default("01K6N5KY3XTAW9T38C6WNVPYFX"),
|
|
2517
2517
|
path: z.string(),
|
|
2518
2518
|
key: z.string(),
|
|
2519
2519
|
display_name: z.string(),
|
|
@@ -2568,7 +2568,7 @@ export const ResponseBody5$outboundSchema: z.ZodType<
|
|
|
2568
2568
|
z.ZodTypeDef,
|
|
2569
2569
|
ResponseBody5
|
|
2570
2570
|
> = z.object({
|
|
2571
|
-
id: z.string().default("
|
|
2571
|
+
id: z.string().default("01K6N5KY3XTAW9T38C6WNVPYFX"),
|
|
2572
2572
|
path: z.string(),
|
|
2573
2573
|
key: z.string(),
|
|
2574
2574
|
displayName: z.string(),
|
|
@@ -2927,7 +2927,7 @@ export const ResponseBody4$inboundSchema: z.ZodType<
|
|
|
2927
2927
|
z.ZodTypeDef,
|
|
2928
2928
|
unknown
|
|
2929
2929
|
> = z.object({
|
|
2930
|
-
_id: z.string().default("
|
|
2930
|
+
_id: z.string().default("01K6N5KY3W43BJYJF74822T2N0"),
|
|
2931
2931
|
path: z.string(),
|
|
2932
2932
|
key: z.string(),
|
|
2933
2933
|
display_name: z.string(),
|
|
@@ -2981,7 +2981,7 @@ export const ResponseBody4$outboundSchema: z.ZodType<
|
|
|
2981
2981
|
z.ZodTypeDef,
|
|
2982
2982
|
ResponseBody4
|
|
2983
2983
|
> = z.object({
|
|
2984
|
-
id: z.string().default("
|
|
2984
|
+
id: z.string().default("01K6N5KY3W43BJYJF74822T2N0"),
|
|
2985
2985
|
path: z.string(),
|
|
2986
2986
|
key: z.string(),
|
|
2987
2987
|
displayName: z.string(),
|
|
@@ -3379,7 +3379,7 @@ export const ResponseBody3$inboundSchema: z.ZodType<
|
|
|
3379
3379
|
z.ZodTypeDef,
|
|
3380
3380
|
unknown
|
|
3381
3381
|
> = z.object({
|
|
3382
|
-
_id: z.string().default("
|
|
3382
|
+
_id: z.string().default("01K6N5KY3VN3HWVX2SD0BM2VF0"),
|
|
3383
3383
|
path: z.string(),
|
|
3384
3384
|
key: z.string(),
|
|
3385
3385
|
display_name: z.string(),
|
|
@@ -3431,7 +3431,7 @@ export const ResponseBody3$outboundSchema: z.ZodType<
|
|
|
3431
3431
|
z.ZodTypeDef,
|
|
3432
3432
|
ResponseBody3
|
|
3433
3433
|
> = z.object({
|
|
3434
|
-
id: z.string().default("
|
|
3434
|
+
id: z.string().default("01K6N5KY3VN3HWVX2SD0BM2VF0"),
|
|
3435
3435
|
path: z.string(),
|
|
3436
3436
|
key: z.string(),
|
|
3437
3437
|
displayName: z.string(),
|
|
@@ -3596,7 +3596,7 @@ export const ResponseBody2$inboundSchema: z.ZodType<
|
|
|
3596
3596
|
z.ZodTypeDef,
|
|
3597
3597
|
unknown
|
|
3598
3598
|
> = z.object({
|
|
3599
|
-
_id: z.string().default("
|
|
3599
|
+
_id: z.string().default("01K6N5KY3VEEKHTEN89EYD7CKA"),
|
|
3600
3600
|
path: z.string(),
|
|
3601
3601
|
key: z.string(),
|
|
3602
3602
|
display_name: z.string(),
|
|
@@ -3649,7 +3649,7 @@ export const ResponseBody2$outboundSchema: z.ZodType<
|
|
|
3649
3649
|
z.ZodTypeDef,
|
|
3650
3650
|
ResponseBody2
|
|
3651
3651
|
> = z.object({
|
|
3652
|
-
id: z.string().default("
|
|
3652
|
+
id: z.string().default("01K6N5KY3VEEKHTEN89EYD7CKA"),
|
|
3653
3653
|
path: z.string(),
|
|
3654
3654
|
key: z.string(),
|
|
3655
3655
|
displayName: z.string(),
|
|
@@ -3817,7 +3817,7 @@ export const ResponseBody1$inboundSchema: z.ZodType<
|
|
|
3817
3817
|
z.ZodTypeDef,
|
|
3818
3818
|
unknown
|
|
3819
3819
|
> = z.object({
|
|
3820
|
-
_id: z.string().default("
|
|
3820
|
+
_id: z.string().default("01K6N5KY3TJAB4W72WJGPT89M4"),
|
|
3821
3821
|
path: z.string(),
|
|
3822
3822
|
key: z.string(),
|
|
3823
3823
|
display_name: z.string(),
|
|
@@ -3869,7 +3869,7 @@ export const ResponseBody1$outboundSchema: z.ZodType<
|
|
|
3869
3869
|
z.ZodTypeDef,
|
|
3870
3870
|
ResponseBody1
|
|
3871
3871
|
> = z.object({
|
|
3872
|
-
id: z.string().default("
|
|
3872
|
+
id: z.string().default("01K6N5KY3TJAB4W72WJGPT89M4"),
|
|
3873
3873
|
path: z.string(),
|
|
3874
3874
|
key: z.string(),
|
|
3875
3875
|
displayName: z.string(),
|
|
@@ -758,7 +758,7 @@ export const DuplicateToolResponseBody5$inboundSchema: z.ZodType<
|
|
|
758
758
|
z.ZodTypeDef,
|
|
759
759
|
unknown
|
|
760
760
|
> = z.object({
|
|
761
|
-
_id: z.string().default("
|
|
761
|
+
_id: z.string().default("01K6N5KY4695WABEPP7RHJ14V5"),
|
|
762
762
|
path: z.string(),
|
|
763
763
|
key: z.string(),
|
|
764
764
|
display_name: z.string(),
|
|
@@ -814,7 +814,7 @@ export const DuplicateToolResponseBody5$outboundSchema: z.ZodType<
|
|
|
814
814
|
z.ZodTypeDef,
|
|
815
815
|
DuplicateToolResponseBody5
|
|
816
816
|
> = z.object({
|
|
817
|
-
id: z.string().default("
|
|
817
|
+
id: z.string().default("01K6N5KY4695WABEPP7RHJ14V5"),
|
|
818
818
|
path: z.string(),
|
|
819
819
|
key: z.string(),
|
|
820
820
|
displayName: z.string(),
|
|
@@ -1202,7 +1202,7 @@ export const DuplicateToolResponseBody4$inboundSchema: z.ZodType<
|
|
|
1202
1202
|
z.ZodTypeDef,
|
|
1203
1203
|
unknown
|
|
1204
1204
|
> = z.object({
|
|
1205
|
-
_id: z.string().default("
|
|
1205
|
+
_id: z.string().default("01K6N5KY452P6ADFNE8PBFWJMS"),
|
|
1206
1206
|
path: z.string(),
|
|
1207
1207
|
key: z.string(),
|
|
1208
1208
|
display_name: z.string(),
|
|
@@ -1256,7 +1256,7 @@ export const DuplicateToolResponseBody4$outboundSchema: z.ZodType<
|
|
|
1256
1256
|
z.ZodTypeDef,
|
|
1257
1257
|
DuplicateToolResponseBody4
|
|
1258
1258
|
> = z.object({
|
|
1259
|
-
id: z.string().default("
|
|
1259
|
+
id: z.string().default("01K6N5KY452P6ADFNE8PBFWJMS"),
|
|
1260
1260
|
path: z.string(),
|
|
1261
1261
|
key: z.string(),
|
|
1262
1262
|
displayName: z.string(),
|
|
@@ -1683,7 +1683,7 @@ export const DuplicateToolResponseBody3$inboundSchema: z.ZodType<
|
|
|
1683
1683
|
z.ZodTypeDef,
|
|
1684
1684
|
unknown
|
|
1685
1685
|
> = z.object({
|
|
1686
|
-
_id: z.string().default("
|
|
1686
|
+
_id: z.string().default("01K6N5KY45NY2DCH4VJGHZNR78"),
|
|
1687
1687
|
path: z.string(),
|
|
1688
1688
|
key: z.string(),
|
|
1689
1689
|
display_name: z.string(),
|
|
@@ -1737,7 +1737,7 @@ export const DuplicateToolResponseBody3$outboundSchema: z.ZodType<
|
|
|
1737
1737
|
z.ZodTypeDef,
|
|
1738
1738
|
DuplicateToolResponseBody3
|
|
1739
1739
|
> = z.object({
|
|
1740
|
-
id: z.string().default("
|
|
1740
|
+
id: z.string().default("01K6N5KY45NY2DCH4VJGHZNR78"),
|
|
1741
1741
|
path: z.string(),
|
|
1742
1742
|
key: z.string(),
|
|
1743
1743
|
displayName: z.string(),
|
|
@@ -1917,7 +1917,7 @@ export const DuplicateToolResponseBody2$inboundSchema: z.ZodType<
|
|
|
1917
1917
|
z.ZodTypeDef,
|
|
1918
1918
|
unknown
|
|
1919
1919
|
> = z.object({
|
|
1920
|
-
_id: z.string().default("
|
|
1920
|
+
_id: z.string().default("01K6N5KY44TCX89N81QVM2ZF3E"),
|
|
1921
1921
|
path: z.string(),
|
|
1922
1922
|
key: z.string(),
|
|
1923
1923
|
display_name: z.string(),
|
|
@@ -1970,7 +1970,7 @@ export const DuplicateToolResponseBody2$outboundSchema: z.ZodType<
|
|
|
1970
1970
|
z.ZodTypeDef,
|
|
1971
1971
|
DuplicateToolResponseBody2
|
|
1972
1972
|
> = z.object({
|
|
1973
|
-
id: z.string().default("
|
|
1973
|
+
id: z.string().default("01K6N5KY44TCX89N81QVM2ZF3E"),
|
|
1974
1974
|
path: z.string(),
|
|
1975
1975
|
key: z.string(),
|
|
1976
1976
|
displayName: z.string(),
|
|
@@ -2143,7 +2143,7 @@ export const DuplicateToolResponseBody1$inboundSchema: z.ZodType<
|
|
|
2143
2143
|
z.ZodTypeDef,
|
|
2144
2144
|
unknown
|
|
2145
2145
|
> = z.object({
|
|
2146
|
-
_id: z.string().default("
|
|
2146
|
+
_id: z.string().default("01K6N5KY446H61KQQSVJMVFRJK"),
|
|
2147
2147
|
path: z.string(),
|
|
2148
2148
|
key: z.string(),
|
|
2149
2149
|
display_name: z.string(),
|
|
@@ -2195,7 +2195,7 @@ export const DuplicateToolResponseBody1$outboundSchema: z.ZodType<
|
|
|
2195
2195
|
z.ZodTypeDef,
|
|
2196
2196
|
DuplicateToolResponseBody1
|
|
2197
2197
|
> = z.object({
|
|
2198
|
-
id: z.string().default("
|
|
2198
|
+
id: z.string().default("01K6N5KY446H61KQQSVJMVFRJK"),
|
|
2199
2199
|
path: z.string(),
|
|
2200
2200
|
key: z.string(),
|
|
2201
2201
|
displayName: z.string(),
|
|
@@ -146,7 +146,7 @@ export const FileGetResponseBody$inboundSchema: z.ZodType<
|
|
|
146
146
|
file_name: z.string(),
|
|
147
147
|
workspace_id: z.string(),
|
|
148
148
|
created: z.string().datetime({ offset: true }).default(
|
|
149
|
-
"2025-10-
|
|
149
|
+
"2025-10-03T13:54:00.973Z",
|
|
150
150
|
).transform(v => new Date(v)),
|
|
151
151
|
}).transform((v) => {
|
|
152
152
|
return remap$(v, {
|
|
@@ -180,7 +180,7 @@ export const FileGetResponseBody$outboundSchema: z.ZodType<
|
|
|
180
180
|
bytes: z.number(),
|
|
181
181
|
fileName: z.string(),
|
|
182
182
|
workspaceId: z.string(),
|
|
183
|
-
created: z.date().default(() => new Date("2025-10-
|
|
183
|
+
created: z.date().default(() => new Date("2025-10-03T13:54:00.973Z"))
|
|
184
184
|
.transform(v => v.toISOString()),
|
|
185
185
|
}).transform((v) => {
|
|
186
186
|
return remap$(v, {
|
|
@@ -196,7 +196,7 @@ export const FileListData$inboundSchema: z.ZodType<
|
|
|
196
196
|
file_name: z.string(),
|
|
197
197
|
workspace_id: z.string(),
|
|
198
198
|
created: z.string().datetime({ offset: true }).default(
|
|
199
|
-
"2025-10-
|
|
199
|
+
"2025-10-03T13:54:00.973Z",
|
|
200
200
|
).transform(v => new Date(v)),
|
|
201
201
|
}).transform((v) => {
|
|
202
202
|
return remap$(v, {
|
|
@@ -230,7 +230,7 @@ export const FileListData$outboundSchema: z.ZodType<
|
|
|
230
230
|
bytes: z.number(),
|
|
231
231
|
fileName: z.string(),
|
|
232
232
|
workspaceId: z.string(),
|
|
233
|
-
created: z.date().default(() => new Date("2025-10-
|
|
233
|
+
created: z.date().default(() => new Date("2025-10-03T13:54:00.973Z"))
|
|
234
234
|
.transform(v => v.toISOString()),
|
|
235
235
|
}).transform((v) => {
|
|
236
236
|
return remap$(v, {
|
|
@@ -250,7 +250,7 @@ export const FileUploadResponseBody$inboundSchema: z.ZodType<
|
|
|
250
250
|
file_name: z.string(),
|
|
251
251
|
workspace_id: z.string(),
|
|
252
252
|
created: z.string().datetime({ offset: true }).default(
|
|
253
|
-
"2025-10-
|
|
253
|
+
"2025-10-03T13:54:00.973Z",
|
|
254
254
|
).transform(v => new Date(v)),
|
|
255
255
|
}).transform((v) => {
|
|
256
256
|
return remap$(v, {
|
|
@@ -284,7 +284,7 @@ export const FileUploadResponseBody$outboundSchema: z.ZodType<
|
|
|
284
284
|
bytes: z.number(),
|
|
285
285
|
fileName: z.string(),
|
|
286
286
|
workspaceId: z.string(),
|
|
287
|
-
created: z.date().default(() => new Date("2025-10-
|
|
287
|
+
created: z.date().default(() => new Date("2025-10-03T13:54:00.973Z"))
|
|
288
288
|
.transform(v => v.toISOString()),
|
|
289
289
|
}).transform((v) => {
|
|
290
290
|
return remap$(v, {
|
|
@@ -11,9 +11,9 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
11
11
|
|
|
12
12
|
export type GetAgentRequest = {
|
|
13
13
|
/**
|
|
14
|
-
* The
|
|
14
|
+
* The unique key of the agent to retrieve
|
|
15
15
|
*/
|
|
16
|
-
|
|
16
|
+
agentKey: string;
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
/**
|
|
@@ -103,11 +103,11 @@ export type GetAgentModel = {
|
|
|
103
103
|
/**
|
|
104
104
|
* Optional integration ID for custom model configurations
|
|
105
105
|
*/
|
|
106
|
-
integrationId?: string | undefined;
|
|
106
|
+
integrationId?: string | null | undefined;
|
|
107
107
|
/**
|
|
108
108
|
* Optional array of fallback model IDs that will be used automatically in order if the primary model fails
|
|
109
109
|
*/
|
|
110
|
-
fallbackModels?: Array<string> | undefined;
|
|
110
|
+
fallbackModels?: Array<string> | null | undefined;
|
|
111
111
|
/**
|
|
112
112
|
* Maximum number of tokens for model responses
|
|
113
113
|
*/
|
|
@@ -248,12 +248,16 @@ export const GetAgentRequest$inboundSchema: z.ZodType<
|
|
|
248
248
|
z.ZodTypeDef,
|
|
249
249
|
unknown
|
|
250
250
|
> = z.object({
|
|
251
|
-
|
|
251
|
+
agent_key: z.string(),
|
|
252
|
+
}).transform((v) => {
|
|
253
|
+
return remap$(v, {
|
|
254
|
+
"agent_key": "agentKey",
|
|
255
|
+
});
|
|
252
256
|
});
|
|
253
257
|
|
|
254
258
|
/** @internal */
|
|
255
259
|
export type GetAgentRequest$Outbound = {
|
|
256
|
-
|
|
260
|
+
agent_key: string;
|
|
257
261
|
};
|
|
258
262
|
|
|
259
263
|
/** @internal */
|
|
@@ -262,7 +266,11 @@ export const GetAgentRequest$outboundSchema: z.ZodType<
|
|
|
262
266
|
z.ZodTypeDef,
|
|
263
267
|
GetAgentRequest
|
|
264
268
|
> = z.object({
|
|
265
|
-
|
|
269
|
+
agentKey: z.string(),
|
|
270
|
+
}).transform((v) => {
|
|
271
|
+
return remap$(v, {
|
|
272
|
+
agentKey: "agent_key",
|
|
273
|
+
});
|
|
266
274
|
});
|
|
267
275
|
|
|
268
276
|
/**
|
|
@@ -558,8 +566,8 @@ export const GetAgentModel$inboundSchema: z.ZodType<
|
|
|
558
566
|
unknown
|
|
559
567
|
> = z.object({
|
|
560
568
|
id: z.string(),
|
|
561
|
-
integration_id: z.string().optional(),
|
|
562
|
-
fallback_models: z.array(z.string()).optional(),
|
|
569
|
+
integration_id: z.nullable(z.string()).optional(),
|
|
570
|
+
fallback_models: z.nullable(z.array(z.string())).optional(),
|
|
563
571
|
max_tokens: z.number().int().optional(),
|
|
564
572
|
temperature: z.number().optional(),
|
|
565
573
|
}).transform((v) => {
|
|
@@ -573,8 +581,8 @@ export const GetAgentModel$inboundSchema: z.ZodType<
|
|
|
573
581
|
/** @internal */
|
|
574
582
|
export type GetAgentModel$Outbound = {
|
|
575
583
|
id: string;
|
|
576
|
-
integration_id?: string | undefined;
|
|
577
|
-
fallback_models?: Array<string> | undefined;
|
|
584
|
+
integration_id?: string | null | undefined;
|
|
585
|
+
fallback_models?: Array<string> | null | undefined;
|
|
578
586
|
max_tokens?: number | undefined;
|
|
579
587
|
temperature?: number | undefined;
|
|
580
588
|
};
|
|
@@ -586,8 +594,8 @@ export const GetAgentModel$outboundSchema: z.ZodType<
|
|
|
586
594
|
GetAgentModel
|
|
587
595
|
> = z.object({
|
|
588
596
|
id: z.string(),
|
|
589
|
-
integrationId: z.string().optional(),
|
|
590
|
-
fallbackModels: z.array(z.string()).optional(),
|
|
597
|
+
integrationId: z.nullable(z.string()).optional(),
|
|
598
|
+
fallbackModels: z.nullable(z.array(z.string())).optional(),
|
|
591
599
|
maxTokens: z.number().int().optional(),
|
|
592
600
|
temperature: z.number().optional(),
|
|
593
601
|
}).transform((v) => {
|
|
@@ -995,7 +1003,7 @@ export const GetAgentKnowledgeBases$inboundSchema: z.ZodType<
|
|
|
995
1003
|
z.ZodTypeDef,
|
|
996
1004
|
unknown
|
|
997
1005
|
> = z.object({
|
|
998
|
-
id: z.string().default("
|
|
1006
|
+
id: z.string().default("01K6N5KXWNG0EMDX6VB663WJKX"),
|
|
999
1007
|
knowledge_id: z.string(),
|
|
1000
1008
|
configuration: z.union([
|
|
1001
1009
|
z.lazy(() =>
|
|
@@ -1026,7 +1034,7 @@ export const GetAgentKnowledgeBases$outboundSchema: z.ZodType<
|
|
|
1026
1034
|
z.ZodTypeDef,
|
|
1027
1035
|
GetAgentKnowledgeBases
|
|
1028
1036
|
> = z.object({
|
|
1029
|
-
id: z.string().default("
|
|
1037
|
+
id: z.string().default("01K6N5KXWNG0EMDX6VB663WJKX"),
|
|
1030
1038
|
knowledgeId: z.string(),
|
|
1031
1039
|
configuration: z.union([
|
|
1032
1040
|
z.lazy(() =>
|