@orq-ai/node 4.4.12 → 4.4.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/partdoneevent.js +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/fileget.js +1 -1
- package/models/operations/filelist.js +1 -1
- package/models/operations/fileupload.js +1 -1
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +16 -16
- 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/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrieveidentity.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.js +16 -16
- package/models/operations/updateidentity.js +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +1 -1
- package/packages/orq-rc/src/funcs/agentsList.ts +5 -0
- package/packages/orq-rc/src/funcs/agentsPostV2AgentsA2a.ts +178 -0
- package/packages/orq-rc/src/funcs/agentsPostV2AgentsKeyCardRefresh.ts +187 -0
- package/packages/orq-rc/src/funcs/agentsResponsesGet.ts +182 -0
- package/packages/orq-rc/src/funcs/agentsUpdate.ts +2 -2
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/models/components/createagentresponse.ts +6 -0
- package/packages/orq-rc/src/models/components/extendedmessage.ts +146 -0
- package/packages/orq-rc/src/models/components/getagentresponse.ts +348 -0
- package/packages/orq-rc/src/models/components/index.ts +3 -0
- package/packages/orq-rc/src/models/components/partdoneevent.ts +1 -1
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/responsedoneevent.ts +6 -0
- package/packages/orq-rc/src/models/components/responsestartedevent.ts +6 -0
- package/packages/orq-rc/src/models/components/telemetry.ts +48 -0
- package/packages/orq-rc/src/models/errors/index.ts +2 -0
- package/packages/orq-rc/src/models/errors/postv2agentsa2a.ts +96 -0
- package/packages/orq-rc/src/models/errors/postv2agentskeycardrefresh.ts +97 -0
- package/packages/orq-rc/src/models/operations/createagentrequest.ts +755 -1212
- package/packages/orq-rc/src/models/operations/createagentresponserequest.ts +35 -1
- package/packages/orq-rc/src/models/operations/createannotation.ts +5 -1
- 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/createknowledge.ts +19 -17
- package/packages/orq-rc/src/models/operations/createprompt.ts +55 -66
- package/packages/orq-rc/src/models/operations/createtool.ts +103 -91
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +38 -0
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +38 -0
- package/packages/orq-rc/src/models/operations/fileget.ts +1 -1
- package/packages/orq-rc/src/models/operations/filelist.ts +1 -1
- package/packages/orq-rc/src/models/operations/fileupload.ts +1 -1
- package/packages/orq-rc/src/models/operations/getagentresponse.ts +46 -0
- package/packages/orq-rc/src/models/operations/getalltools.ts +93 -87
- package/packages/orq-rc/src/models/operations/getevals.ts +16 -16
- package/packages/orq-rc/src/models/operations/index.ts +3 -0
- package/packages/orq-rc/src/models/operations/invokeagent.ts +45 -1
- package/packages/orq-rc/src/models/operations/listagents.ts +751 -787
- 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/listknowledgebases.ts +72 -64
- package/packages/orq-rc/src/models/operations/postv2agentsa2a.ts +252 -0
- package/packages/orq-rc/src/models/operations/postv2agentskeycardrefresh.ts +100 -0
- package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +962 -857
- 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 +69 -493
- package/packages/orq-rc/src/models/operations/streamagent.ts +40 -1
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +36 -493
- package/packages/orq-rc/src/models/operations/updateagent.ts +966 -1313
- 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 +97 -16
- package/packages/orq-rc/src/models/operations/updateidentity.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatetool.ts +74 -49
- package/packages/orq-rc/src/sdk/agents.ts +39 -1
- package/packages/orq-rc/src/sdk/responses.ts +19 -0
- package/src/lib/config.ts +3 -3
- package/src/models/components/partdoneevent.ts +1 -1
- 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/fileget.ts +1 -1
- package/src/models/operations/filelist.ts +1 -1
- package/src/models/operations/fileupload.ts +1 -1
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -16
- 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/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
|
@@ -79,13 +79,13 @@ export type UpdateToolRequestBodyCodeTool = {
|
|
|
79
79
|
code: string;
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export const
|
|
82
|
+
export const UpdateToolRequestBodyToolsRequest5VersionIncrement = {
|
|
83
83
|
Major: "major",
|
|
84
84
|
Minor: "minor",
|
|
85
85
|
Patch: "patch",
|
|
86
86
|
} as const;
|
|
87
|
-
export type
|
|
88
|
-
typeof
|
|
87
|
+
export type UpdateToolRequestBodyToolsRequest5VersionIncrement = ClosedEnum<
|
|
88
|
+
typeof UpdateToolRequestBodyToolsRequest5VersionIncrement
|
|
89
89
|
>;
|
|
90
90
|
|
|
91
91
|
/**
|
|
@@ -121,8 +121,9 @@ export type UpdateCodeExecutionTool = {
|
|
|
121
121
|
type: "code";
|
|
122
122
|
codeTool?: UpdateToolRequestBodyCodeTool | undefined;
|
|
123
123
|
versionIncrement?:
|
|
124
|
-
|
|
|
124
|
+
| UpdateToolRequestBodyToolsRequest5VersionIncrement
|
|
125
125
|
| undefined;
|
|
126
|
+
versionDescription?: string | undefined;
|
|
126
127
|
};
|
|
127
128
|
|
|
128
129
|
/**
|
|
@@ -199,13 +200,13 @@ export type UpdateToolRequestBodyMcp = {
|
|
|
199
200
|
connectionType?: UpdateToolRequestBodyConnectionType | undefined;
|
|
200
201
|
};
|
|
201
202
|
|
|
202
|
-
export const
|
|
203
|
+
export const UpdateToolRequestBodyToolsRequest4VersionIncrement = {
|
|
203
204
|
Major: "major",
|
|
204
205
|
Minor: "minor",
|
|
205
206
|
Patch: "patch",
|
|
206
207
|
} as const;
|
|
207
|
-
export type
|
|
208
|
-
typeof
|
|
208
|
+
export type UpdateToolRequestBodyToolsRequest4VersionIncrement = ClosedEnum<
|
|
209
|
+
typeof UpdateToolRequestBodyToolsRequest4VersionIncrement
|
|
209
210
|
>;
|
|
210
211
|
|
|
211
212
|
/**
|
|
@@ -240,7 +241,10 @@ export type UpdateMCPTool = {
|
|
|
240
241
|
status?: UpdateToolRequestBodyToolsRequest4Status | undefined;
|
|
241
242
|
type: "mcp";
|
|
242
243
|
mcp?: UpdateToolRequestBodyMcp | undefined;
|
|
243
|
-
versionIncrement?:
|
|
244
|
+
versionIncrement?:
|
|
245
|
+
| UpdateToolRequestBodyToolsRequest4VersionIncrement
|
|
246
|
+
| undefined;
|
|
247
|
+
versionDescription?: string | undefined;
|
|
244
248
|
};
|
|
245
249
|
|
|
246
250
|
/**
|
|
@@ -354,13 +358,13 @@ export type UpdateToolRequestBodyHttp = {
|
|
|
354
358
|
arguments?: { [k: string]: UpdateToolRequestBodyArguments } | undefined;
|
|
355
359
|
};
|
|
356
360
|
|
|
357
|
-
export const
|
|
361
|
+
export const UpdateToolRequestBodyToolsRequestVersionIncrement = {
|
|
358
362
|
Major: "major",
|
|
359
363
|
Minor: "minor",
|
|
360
364
|
Patch: "patch",
|
|
361
365
|
} as const;
|
|
362
|
-
export type
|
|
363
|
-
typeof
|
|
366
|
+
export type UpdateToolRequestBodyToolsRequestVersionIncrement = ClosedEnum<
|
|
367
|
+
typeof UpdateToolRequestBodyToolsRequestVersionIncrement
|
|
364
368
|
>;
|
|
365
369
|
|
|
366
370
|
/**
|
|
@@ -395,7 +399,10 @@ export type UpdateHTTPTool = {
|
|
|
395
399
|
status?: UpdateToolRequestBodyToolsRequestStatus | undefined;
|
|
396
400
|
type: "http";
|
|
397
401
|
http?: UpdateToolRequestBodyHttp | undefined;
|
|
398
|
-
versionIncrement?:
|
|
402
|
+
versionIncrement?:
|
|
403
|
+
| UpdateToolRequestBodyToolsRequestVersionIncrement
|
|
404
|
+
| undefined;
|
|
405
|
+
versionDescription?: string | undefined;
|
|
399
406
|
};
|
|
400
407
|
|
|
401
408
|
/**
|
|
@@ -452,13 +459,13 @@ export type UpdateToolRequestBodyJsonSchema = {
|
|
|
452
459
|
strict?: boolean | undefined;
|
|
453
460
|
};
|
|
454
461
|
|
|
455
|
-
export const
|
|
462
|
+
export const UpdateToolRequestBodyToolsVersionIncrement = {
|
|
456
463
|
Major: "major",
|
|
457
464
|
Minor: "minor",
|
|
458
465
|
Patch: "patch",
|
|
459
466
|
} as const;
|
|
460
|
-
export type
|
|
461
|
-
typeof
|
|
467
|
+
export type UpdateToolRequestBodyToolsVersionIncrement = ClosedEnum<
|
|
468
|
+
typeof UpdateToolRequestBodyToolsVersionIncrement
|
|
462
469
|
>;
|
|
463
470
|
|
|
464
471
|
/**
|
|
@@ -493,7 +500,8 @@ export type UpdateJSONSchemaTool = {
|
|
|
493
500
|
status?: UpdateToolRequestBodyToolsStatus | undefined;
|
|
494
501
|
type: "json_schema";
|
|
495
502
|
jsonSchema?: UpdateToolRequestBodyJsonSchema | undefined;
|
|
496
|
-
versionIncrement?:
|
|
503
|
+
versionIncrement?: UpdateToolRequestBodyToolsVersionIncrement | undefined;
|
|
504
|
+
versionDescription?: string | undefined;
|
|
497
505
|
};
|
|
498
506
|
|
|
499
507
|
/**
|
|
@@ -563,12 +571,14 @@ export type UpdateToolRequestBodyFunction = {
|
|
|
563
571
|
parameters?: UpdateToolRequestBodyParameters | undefined;
|
|
564
572
|
};
|
|
565
573
|
|
|
566
|
-
export const
|
|
574
|
+
export const UpdateToolRequestBodyVersionIncrement = {
|
|
567
575
|
Major: "major",
|
|
568
576
|
Minor: "minor",
|
|
569
577
|
Patch: "patch",
|
|
570
578
|
} as const;
|
|
571
|
-
export type
|
|
579
|
+
export type UpdateToolRequestBodyVersionIncrement = ClosedEnum<
|
|
580
|
+
typeof UpdateToolRequestBodyVersionIncrement
|
|
581
|
+
>;
|
|
572
582
|
|
|
573
583
|
/**
|
|
574
584
|
* Updates an existing function tool configuration.
|
|
@@ -602,7 +612,8 @@ export type UpdateFunctionTool = {
|
|
|
602
612
|
status?: UpdateToolRequestBodyStatus | undefined;
|
|
603
613
|
type: "function";
|
|
604
614
|
function?: UpdateToolRequestBodyFunction | undefined;
|
|
605
|
-
versionIncrement?:
|
|
615
|
+
versionIncrement?: UpdateToolRequestBodyVersionIncrement | undefined;
|
|
616
|
+
versionDescription?: string | undefined;
|
|
606
617
|
};
|
|
607
618
|
|
|
608
619
|
/**
|
|
@@ -1333,9 +1344,9 @@ export function updateToolRequestBodyCodeToolToJSON(
|
|
|
1333
1344
|
}
|
|
1334
1345
|
|
|
1335
1346
|
/** @internal */
|
|
1336
|
-
export const
|
|
1337
|
-
z.ZodNativeEnum<typeof
|
|
1338
|
-
.nativeEnum(
|
|
1347
|
+
export const UpdateToolRequestBodyToolsRequest5VersionIncrement$outboundSchema:
|
|
1348
|
+
z.ZodNativeEnum<typeof UpdateToolRequestBodyToolsRequest5VersionIncrement> = z
|
|
1349
|
+
.nativeEnum(UpdateToolRequestBodyToolsRequest5VersionIncrement);
|
|
1339
1350
|
|
|
1340
1351
|
/** @internal */
|
|
1341
1352
|
export type UpdateCodeExecutionTool$Outbound = {
|
|
@@ -1347,6 +1358,7 @@ export type UpdateCodeExecutionTool$Outbound = {
|
|
|
1347
1358
|
type: "code";
|
|
1348
1359
|
code_tool?: UpdateToolRequestBodyCodeTool$Outbound | undefined;
|
|
1349
1360
|
versionIncrement?: string | undefined;
|
|
1361
|
+
versionDescription?: string | undefined;
|
|
1350
1362
|
};
|
|
1351
1363
|
|
|
1352
1364
|
/** @internal */
|
|
@@ -1366,7 +1378,9 @@ export const UpdateCodeExecutionTool$outboundSchema: z.ZodType<
|
|
|
1366
1378
|
codeTool: z.lazy(() => UpdateToolRequestBodyCodeTool$outboundSchema)
|
|
1367
1379
|
.optional(),
|
|
1368
1380
|
versionIncrement:
|
|
1369
|
-
|
|
1381
|
+
UpdateToolRequestBodyToolsRequest5VersionIncrement$outboundSchema
|
|
1382
|
+
.optional(),
|
|
1383
|
+
versionDescription: z.string().optional(),
|
|
1370
1384
|
}).transform((v) => {
|
|
1371
1385
|
return remap$(v, {
|
|
1372
1386
|
displayName: "display_name",
|
|
@@ -1460,7 +1474,7 @@ export const RequestBodyTools$outboundSchema: z.ZodType<
|
|
|
1460
1474
|
z.ZodTypeDef,
|
|
1461
1475
|
RequestBodyTools
|
|
1462
1476
|
> = z.object({
|
|
1463
|
-
id: z.string().default("
|
|
1477
|
+
id: z.string().default("01KK16TF72WKBM6SR7EQC1P9BP"),
|
|
1464
1478
|
name: z.string(),
|
|
1465
1479
|
description: z.string().optional(),
|
|
1466
1480
|
schema: z.lazy(() => UpdateToolRequestBodyToolsSchema$outboundSchema),
|
|
@@ -1515,9 +1529,9 @@ export function updateToolRequestBodyMcpToJSON(
|
|
|
1515
1529
|
}
|
|
1516
1530
|
|
|
1517
1531
|
/** @internal */
|
|
1518
|
-
export const
|
|
1519
|
-
z.ZodNativeEnum<typeof
|
|
1520
|
-
.nativeEnum(
|
|
1532
|
+
export const UpdateToolRequestBodyToolsRequest4VersionIncrement$outboundSchema:
|
|
1533
|
+
z.ZodNativeEnum<typeof UpdateToolRequestBodyToolsRequest4VersionIncrement> = z
|
|
1534
|
+
.nativeEnum(UpdateToolRequestBodyToolsRequest4VersionIncrement);
|
|
1521
1535
|
|
|
1522
1536
|
/** @internal */
|
|
1523
1537
|
export type UpdateMCPTool$Outbound = {
|
|
@@ -1529,6 +1543,7 @@ export type UpdateMCPTool$Outbound = {
|
|
|
1529
1543
|
type: "mcp";
|
|
1530
1544
|
mcp?: UpdateToolRequestBodyMcp$Outbound | undefined;
|
|
1531
1545
|
versionIncrement?: string | undefined;
|
|
1546
|
+
versionDescription?: string | undefined;
|
|
1532
1547
|
};
|
|
1533
1548
|
|
|
1534
1549
|
/** @internal */
|
|
@@ -1546,8 +1561,10 @@ export const UpdateMCPTool$outboundSchema: z.ZodType<
|
|
|
1546
1561
|
),
|
|
1547
1562
|
type: z.literal("mcp"),
|
|
1548
1563
|
mcp: z.lazy(() => UpdateToolRequestBodyMcp$outboundSchema).optional(),
|
|
1549
|
-
versionIncrement:
|
|
1550
|
-
|
|
1564
|
+
versionIncrement:
|
|
1565
|
+
UpdateToolRequestBodyToolsRequest4VersionIncrement$outboundSchema
|
|
1566
|
+
.optional(),
|
|
1567
|
+
versionDescription: z.string().optional(),
|
|
1551
1568
|
}).transform((v) => {
|
|
1552
1569
|
return remap$(v, {
|
|
1553
1570
|
displayName: "display_name",
|
|
@@ -1739,10 +1756,9 @@ export function updateToolRequestBodyHttpToJSON(
|
|
|
1739
1756
|
}
|
|
1740
1757
|
|
|
1741
1758
|
/** @internal */
|
|
1742
|
-
export const
|
|
1743
|
-
z.ZodNativeEnum<typeof
|
|
1744
|
-
|
|
1745
|
-
);
|
|
1759
|
+
export const UpdateToolRequestBodyToolsRequestVersionIncrement$outboundSchema:
|
|
1760
|
+
z.ZodNativeEnum<typeof UpdateToolRequestBodyToolsRequestVersionIncrement> = z
|
|
1761
|
+
.nativeEnum(UpdateToolRequestBodyToolsRequestVersionIncrement);
|
|
1746
1762
|
|
|
1747
1763
|
/** @internal */
|
|
1748
1764
|
export type UpdateHTTPTool$Outbound = {
|
|
@@ -1754,6 +1770,7 @@ export type UpdateHTTPTool$Outbound = {
|
|
|
1754
1770
|
type: "http";
|
|
1755
1771
|
http?: UpdateToolRequestBodyHttp$Outbound | undefined;
|
|
1756
1772
|
versionIncrement?: string | undefined;
|
|
1773
|
+
versionDescription?: string | undefined;
|
|
1757
1774
|
};
|
|
1758
1775
|
|
|
1759
1776
|
/** @internal */
|
|
@@ -1771,8 +1788,9 @@ export const UpdateHTTPTool$outboundSchema: z.ZodType<
|
|
|
1771
1788
|
),
|
|
1772
1789
|
type: z.literal("http"),
|
|
1773
1790
|
http: z.lazy(() => UpdateToolRequestBodyHttp$outboundSchema).optional(),
|
|
1774
|
-
versionIncrement:
|
|
1775
|
-
.optional(),
|
|
1791
|
+
versionIncrement:
|
|
1792
|
+
UpdateToolRequestBodyToolsRequestVersionIncrement$outboundSchema.optional(),
|
|
1793
|
+
versionDescription: z.string().optional(),
|
|
1776
1794
|
}).transform((v) => {
|
|
1777
1795
|
return remap$(v, {
|
|
1778
1796
|
displayName: "display_name",
|
|
@@ -1856,9 +1874,9 @@ export function updateToolRequestBodyJsonSchemaToJSON(
|
|
|
1856
1874
|
}
|
|
1857
1875
|
|
|
1858
1876
|
/** @internal */
|
|
1859
|
-
export const
|
|
1860
|
-
typeof
|
|
1861
|
-
|
|
1877
|
+
export const UpdateToolRequestBodyToolsVersionIncrement$outboundSchema:
|
|
1878
|
+
z.ZodNativeEnum<typeof UpdateToolRequestBodyToolsVersionIncrement> = z
|
|
1879
|
+
.nativeEnum(UpdateToolRequestBodyToolsVersionIncrement);
|
|
1862
1880
|
|
|
1863
1881
|
/** @internal */
|
|
1864
1882
|
export type UpdateJSONSchemaTool$Outbound = {
|
|
@@ -1870,6 +1888,7 @@ export type UpdateJSONSchemaTool$Outbound = {
|
|
|
1870
1888
|
type: "json_schema";
|
|
1871
1889
|
json_schema?: UpdateToolRequestBodyJsonSchema$Outbound | undefined;
|
|
1872
1890
|
versionIncrement?: string | undefined;
|
|
1891
|
+
versionDescription?: string | undefined;
|
|
1873
1892
|
};
|
|
1874
1893
|
|
|
1875
1894
|
/** @internal */
|
|
@@ -1886,7 +1905,9 @@ export const UpdateJSONSchemaTool$outboundSchema: z.ZodType<
|
|
|
1886
1905
|
type: z.literal("json_schema"),
|
|
1887
1906
|
jsonSchema: z.lazy(() => UpdateToolRequestBodyJsonSchema$outboundSchema)
|
|
1888
1907
|
.optional(),
|
|
1889
|
-
versionIncrement:
|
|
1908
|
+
versionIncrement: UpdateToolRequestBodyToolsVersionIncrement$outboundSchema
|
|
1909
|
+
.optional(),
|
|
1910
|
+
versionDescription: z.string().optional(),
|
|
1890
1911
|
}).transform((v) => {
|
|
1891
1912
|
return remap$(v, {
|
|
1892
1913
|
displayName: "display_name",
|
|
@@ -1982,9 +2003,10 @@ export function updateToolRequestBodyFunctionToJSON(
|
|
|
1982
2003
|
}
|
|
1983
2004
|
|
|
1984
2005
|
/** @internal */
|
|
1985
|
-
export const
|
|
1986
|
-
typeof
|
|
1987
|
-
|
|
2006
|
+
export const UpdateToolRequestBodyVersionIncrement$outboundSchema:
|
|
2007
|
+
z.ZodNativeEnum<typeof UpdateToolRequestBodyVersionIncrement> = z.nativeEnum(
|
|
2008
|
+
UpdateToolRequestBodyVersionIncrement,
|
|
2009
|
+
);
|
|
1988
2010
|
|
|
1989
2011
|
/** @internal */
|
|
1990
2012
|
export type UpdateFunctionTool$Outbound = {
|
|
@@ -1996,6 +2018,7 @@ export type UpdateFunctionTool$Outbound = {
|
|
|
1996
2018
|
type: "function";
|
|
1997
2019
|
function?: UpdateToolRequestBodyFunction$Outbound | undefined;
|
|
1998
2020
|
versionIncrement?: string | undefined;
|
|
2021
|
+
versionDescription?: string | undefined;
|
|
1999
2022
|
};
|
|
2000
2023
|
|
|
2001
2024
|
/** @internal */
|
|
@@ -2012,7 +2035,9 @@ export const UpdateFunctionTool$outboundSchema: z.ZodType<
|
|
|
2012
2035
|
type: z.literal("function"),
|
|
2013
2036
|
function: z.lazy(() => UpdateToolRequestBodyFunction$outboundSchema)
|
|
2014
2037
|
.optional(),
|
|
2015
|
-
versionIncrement:
|
|
2038
|
+
versionIncrement: UpdateToolRequestBodyVersionIncrement$outboundSchema
|
|
2039
|
+
.optional(),
|
|
2040
|
+
versionDescription: z.string().optional(),
|
|
2016
2041
|
}).transform((v) => {
|
|
2017
2042
|
return remap$(v, {
|
|
2018
2043
|
displayName: "display_name",
|
|
@@ -2169,7 +2194,7 @@ export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
2169
2194
|
z.ZodTypeDef,
|
|
2170
2195
|
unknown
|
|
2171
2196
|
> = z.object({
|
|
2172
|
-
_id: z.string().default("
|
|
2197
|
+
_id: z.string().default("tool_01KK16TF6XCH6HZXQKPWH2Q14J"),
|
|
2173
2198
|
path: z.string(),
|
|
2174
2199
|
key: z.string(),
|
|
2175
2200
|
display_name: z.string().optional(),
|
|
@@ -2274,7 +2299,7 @@ export const UpdateToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
2274
2299
|
z.ZodTypeDef,
|
|
2275
2300
|
unknown
|
|
2276
2301
|
> = z.object({
|
|
2277
|
-
id: z.string().default("
|
|
2302
|
+
id: z.string().default("01KK16TF6WHGQRZT30A0Y3QGW6"),
|
|
2278
2303
|
name: z.string(),
|
|
2279
2304
|
description: z.string().optional(),
|
|
2280
2305
|
schema: z.lazy(() => UpdateToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -2330,7 +2355,7 @@ export const UpdateToolResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2330
2355
|
z.ZodTypeDef,
|
|
2331
2356
|
unknown
|
|
2332
2357
|
> = z.object({
|
|
2333
|
-
_id: z.string().default("
|
|
2358
|
+
_id: z.string().default("tool_01KK16TF6VA0G9KY7FWG31PE86"),
|
|
2334
2359
|
path: z.string(),
|
|
2335
2360
|
key: z.string(),
|
|
2336
2361
|
display_name: z.string().optional(),
|
|
@@ -2521,7 +2546,7 @@ export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2521
2546
|
z.ZodTypeDef,
|
|
2522
2547
|
unknown
|
|
2523
2548
|
> = z.object({
|
|
2524
|
-
_id: z.string().default("
|
|
2549
|
+
_id: z.string().default("tool_01KK16TF6TR5DP98M2G6AF1K56"),
|
|
2525
2550
|
path: z.string(),
|
|
2526
2551
|
key: z.string(),
|
|
2527
2552
|
display_name: z.string().optional(),
|
|
@@ -2618,7 +2643,7 @@ export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2618
2643
|
z.ZodTypeDef,
|
|
2619
2644
|
unknown
|
|
2620
2645
|
> = z.object({
|
|
2621
|
-
_id: z.string().default("
|
|
2646
|
+
_id: z.string().default("tool_01KK16TF6S146RGFCDX45JYTBC"),
|
|
2622
2647
|
path: z.string(),
|
|
2623
2648
|
key: z.string(),
|
|
2624
2649
|
display_name: z.string().optional(),
|
|
@@ -2723,7 +2748,7 @@ export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2723
2748
|
z.ZodTypeDef,
|
|
2724
2749
|
unknown
|
|
2725
2750
|
> = z.object({
|
|
2726
|
-
_id: z.string().default("
|
|
2751
|
+
_id: z.string().default("tool_01KK16TF6R8946S7CQ4TKR79T0"),
|
|
2727
2752
|
path: z.string(),
|
|
2728
2753
|
key: z.string(),
|
|
2729
2754
|
display_name: z.string().optional(),
|
|
@@ -6,6 +6,8 @@ import { agentsCreate } from "../funcs/agentsCreate.js";
|
|
|
6
6
|
import { agentsDelete } from "../funcs/agentsDelete.js";
|
|
7
7
|
import { agentsInvoke } from "../funcs/agentsInvoke.js";
|
|
8
8
|
import { agentsList } from "../funcs/agentsList.js";
|
|
9
|
+
import { agentsPostV2AgentsA2a } from "../funcs/agentsPostV2AgentsA2a.js";
|
|
10
|
+
import { agentsPostV2AgentsKeyCardRefresh } from "../funcs/agentsPostV2AgentsKeyCardRefresh.js";
|
|
9
11
|
import { agentsRetrieve } from "../funcs/agentsRetrieve.js";
|
|
10
12
|
import { agentsRun } from "../funcs/agentsRun.js";
|
|
11
13
|
import { agentsStream } from "../funcs/agentsStream.js";
|
|
@@ -23,6 +25,40 @@ export class Agents extends ClientSDK {
|
|
|
23
25
|
return (this._responses ??= new Responses(this._options));
|
|
24
26
|
}
|
|
25
27
|
|
|
28
|
+
/**
|
|
29
|
+
* Register external A2A agent
|
|
30
|
+
*
|
|
31
|
+
* @remarks
|
|
32
|
+
* Register an external A2A-compliant agent into Orquesta. The agent card will be fetched during registration to validate the agent and cache its capabilities.
|
|
33
|
+
*/
|
|
34
|
+
async postV2AgentsA2a(
|
|
35
|
+
request?: operations.PostV2AgentsA2aRequestBody | undefined,
|
|
36
|
+
options?: RequestOptions,
|
|
37
|
+
): Promise<operations.PostV2AgentsA2aResponseBody> {
|
|
38
|
+
return unwrapAsync(agentsPostV2AgentsA2a(
|
|
39
|
+
this,
|
|
40
|
+
request,
|
|
41
|
+
options,
|
|
42
|
+
));
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Refresh A2A agent card
|
|
47
|
+
*
|
|
48
|
+
* @remarks
|
|
49
|
+
* Fetches the latest agent card from the external A2A agent and updates the cached card in the database. Similar to MCP server refresh functionality.
|
|
50
|
+
*/
|
|
51
|
+
async postV2AgentsKeyCardRefresh(
|
|
52
|
+
request: operations.PostV2AgentsKeyCardRefreshRequest,
|
|
53
|
+
options?: RequestOptions,
|
|
54
|
+
): Promise<operations.PostV2AgentsKeyCardRefreshResponseBody> {
|
|
55
|
+
return unwrapAsync(agentsPostV2AgentsKeyCardRefresh(
|
|
56
|
+
this,
|
|
57
|
+
request,
|
|
58
|
+
options,
|
|
59
|
+
));
|
|
60
|
+
}
|
|
61
|
+
|
|
26
62
|
/**
|
|
27
63
|
* Create agent
|
|
28
64
|
*
|
|
@@ -50,6 +86,7 @@ export class Agents extends ClientSDK {
|
|
|
50
86
|
limit?: number | undefined,
|
|
51
87
|
startingAfter?: string | undefined,
|
|
52
88
|
endingBefore?: string | undefined,
|
|
89
|
+
type?: operations.QueryParamType | undefined,
|
|
53
90
|
options?: RequestOptions,
|
|
54
91
|
): Promise<operations.ListAgentsResponseBody> {
|
|
55
92
|
return unwrapAsync(agentsList(
|
|
@@ -57,6 +94,7 @@ export class Agents extends ClientSDK {
|
|
|
57
94
|
limit,
|
|
58
95
|
startingAfter,
|
|
59
96
|
endingBefore,
|
|
97
|
+
type,
|
|
60
98
|
options,
|
|
61
99
|
));
|
|
62
100
|
}
|
|
@@ -102,7 +140,7 @@ export class Agents extends ClientSDK {
|
|
|
102
140
|
* Modifies an existing agent's configuration with partial updates. Supports updating any aspect of the agent including model assignments (primary and fallback), instructions, tools, knowledge bases, memory stores, and execution parameters. Only the fields provided in the request body will be updated; all other fields remain unchanged. Changes take effect immediately for new agent invocations.
|
|
103
141
|
*/
|
|
104
142
|
async update(
|
|
105
|
-
requestBody: operations.
|
|
143
|
+
requestBody: operations.UpdateAgentRequestBody,
|
|
106
144
|
agentKey: string,
|
|
107
145
|
options?: RequestOptions,
|
|
108
146
|
): Promise<operations.UpdateAgentResponseBody> {
|
|
@@ -6,7 +6,9 @@ import {
|
|
|
6
6
|
agentsResponsesCreate,
|
|
7
7
|
CreateAcceptEnum,
|
|
8
8
|
} from "../funcs/agentsResponsesCreate.js";
|
|
9
|
+
import { agentsResponsesGet } from "../funcs/agentsResponsesGet.js";
|
|
9
10
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
11
|
+
import * as components from "../models/components/index.js";
|
|
10
12
|
import * as operations from "../models/operations/index.js";
|
|
11
13
|
import { unwrapAsync } from "../types/fp.js";
|
|
12
14
|
|
|
@@ -31,4 +33,21 @@ export class Responses extends ClientSDK {
|
|
|
31
33
|
options,
|
|
32
34
|
));
|
|
33
35
|
}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Get response
|
|
39
|
+
*
|
|
40
|
+
* @remarks
|
|
41
|
+
* Retrieves the current state of an agent response by task ID. Returns the response output, model information, token usage, and execution status. When the agent is still processing, the output array will be empty and status will be `in_progress`. Once completed, the response includes the full output, usage statistics, and finish reason.
|
|
42
|
+
*/
|
|
43
|
+
async get(
|
|
44
|
+
request: operations.GetAgentResponseRequest,
|
|
45
|
+
options?: RequestOptions,
|
|
46
|
+
): Promise<components.GetAgentResponse> {
|
|
47
|
+
return unwrapAsync(agentsResponsesGet(
|
|
48
|
+
this,
|
|
49
|
+
request,
|
|
50
|
+
options,
|
|
51
|
+
));
|
|
52
|
+
}
|
|
34
53
|
}
|
package/src/lib/config.ts
CHANGED
|
@@ -68,7 +68,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
68
68
|
export const SDK_METADATA = {
|
|
69
69
|
language: "typescript",
|
|
70
70
|
openapiDocVersion: "2.0",
|
|
71
|
-
sdkVersion: "4.4.
|
|
72
|
-
genVersion: "2.
|
|
73
|
-
userAgent: "speakeasy-sdk/typescript 4.4.
|
|
71
|
+
sdkVersion: "4.4.16",
|
|
72
|
+
genVersion: "2.850.7",
|
|
73
|
+
userAgent: "speakeasy-sdk/typescript 4.4.16 2.850.7 2.0 @orq-ai/node",
|
|
74
74
|
} as const;
|
|
@@ -76,7 +76,7 @@ export const PartReasoningPart$inboundSchema: z.ZodType<
|
|
|
76
76
|
z.ZodTypeDef,
|
|
77
77
|
unknown
|
|
78
78
|
> = z.object({
|
|
79
|
-
_id: z.string().default("
|
|
79
|
+
_id: z.string().default("reasoning_01kk1cz67mfymdapbzq2e0zc9c"),
|
|
80
80
|
metadata: z.record(z.any()).optional(),
|
|
81
81
|
kind: PartKind$inboundSchema,
|
|
82
82
|
reasoning: z.string(),
|
|
@@ -40,7 +40,7 @@ export const ReasoningPart$inboundSchema: z.ZodType<
|
|
|
40
40
|
z.ZodTypeDef,
|
|
41
41
|
unknown
|
|
42
42
|
> = z.object({
|
|
43
|
-
_id: z.string().default("
|
|
43
|
+
_id: z.string().default("reasoning_01kk1cz67cxzmc161e631162qw"),
|
|
44
44
|
metadata: z.record(z.any()).optional(),
|
|
45
45
|
kind: z.literal("reasoning"),
|
|
46
46
|
reasoning: z.string(),
|
|
@@ -134,7 +134,7 @@ export const CreateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
134
134
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
135
135
|
.optional(),
|
|
136
136
|
updated: z.string().datetime({ offset: true }).default(
|
|
137
|
-
"2026-03-
|
|
137
|
+
"2026-03-06T11:01:35.401Z",
|
|
138
138
|
).transform(v => new Date(v)),
|
|
139
139
|
}).transform((v) => {
|
|
140
140
|
return remap$(v, {
|
|
@@ -138,7 +138,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
138
138
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
139
139
|
.optional(),
|
|
140
140
|
updated: z.string().datetime({ offset: true }).default(
|
|
141
|
-
"2026-03-
|
|
141
|
+
"2026-03-06T11:01:35.401Z",
|
|
142
142
|
).transform(v => new Date(v)),
|
|
143
143
|
}).transform((v) => {
|
|
144
144
|
return remap$(v, {
|
|
@@ -2353,7 +2353,7 @@ export const Evaluations3$inboundSchema: z.ZodType<
|
|
|
2353
2353
|
),
|
|
2354
2354
|
reviewed_by_id: z.string(),
|
|
2355
2355
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2356
|
-
"2026-03-
|
|
2356
|
+
"2026-03-06T11:01:51.913Z",
|
|
2357
2357
|
).transform(v => new Date(v)),
|
|
2358
2358
|
type: z.literal("string_array"),
|
|
2359
2359
|
values: z.array(z.string()),
|
|
@@ -2398,7 +2398,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
|
|
|
2398
2398
|
source: CreateDatasetItemEvaluationsSource$inboundSchema.default("orq"),
|
|
2399
2399
|
reviewed_by_id: z.string(),
|
|
2400
2400
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2401
|
-
"2026-03-
|
|
2401
|
+
"2026-03-06T11:01:51.913Z",
|
|
2402
2402
|
).transform(v => new Date(v)),
|
|
2403
2403
|
type: z.literal("number"),
|
|
2404
2404
|
value: z.number(),
|
|
@@ -2443,7 +2443,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
|
|
|
2443
2443
|
source: EvaluationsSource$inboundSchema.default("orq"),
|
|
2444
2444
|
reviewed_by_id: z.string(),
|
|
2445
2445
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2446
|
-
"2026-03-
|
|
2446
|
+
"2026-03-06T11:01:51.912Z",
|
|
2447
2447
|
).transform(v => new Date(v)),
|
|
2448
2448
|
type: z.literal("string"),
|
|
2449
2449
|
value: z.string(),
|
|
@@ -2526,7 +2526,7 @@ export const CreateDatasetItemResponseBody$inboundSchema: z.ZodType<
|
|
|
2526
2526
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2527
2527
|
.optional(),
|
|
2528
2528
|
updated: z.string().datetime({ offset: true }).default(
|
|
2529
|
-
"2026-03-
|
|
2529
|
+
"2026-03-06T11:01:35.401Z",
|
|
2530
2530
|
).transform(v => new Date(v)),
|
|
2531
2531
|
}).transform((v) => {
|
|
2532
2532
|
return remap$(v, {
|
|
@@ -403,7 +403,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
403
403
|
z.ZodTypeDef,
|
|
404
404
|
unknown
|
|
405
405
|
> = z.object({
|
|
406
|
-
_id: z.string().default("
|
|
406
|
+
_id: z.string().default("01KK1CZ71Q9PG6NAP8VNMJP28V"),
|
|
407
407
|
display_name: z.string(),
|
|
408
408
|
description: z.string().optional(),
|
|
409
409
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -2245,8 +2245,8 @@ export const Typescript$inboundSchema: z.ZodType<
|
|
|
2245
2245
|
> = z.object({
|
|
2246
2246
|
_id: z.string(),
|
|
2247
2247
|
description: z.string(),
|
|
2248
|
-
created: z.string().default("2026-03-
|
|
2249
|
-
updated: z.string().default("2026-03-
|
|
2248
|
+
created: z.string().default("2026-03-06T11:01:36.769Z"),
|
|
2249
|
+
updated: z.string().default("2026-03-06T11:01:36.769Z"),
|
|
2250
2250
|
guardrail_config: z.union([
|
|
2251
2251
|
z.lazy(() =>
|
|
2252
2252
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Boolean$inboundSchema
|
|
@@ -2394,8 +2394,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
|
|
|
2394
2394
|
.object({
|
|
2395
2395
|
_id: z.string(),
|
|
2396
2396
|
description: z.string(),
|
|
2397
|
-
created: z.string().default("2026-03-
|
|
2398
|
-
updated: z.string().default("2026-03-
|
|
2397
|
+
created: z.string().default("2026-03-06T11:01:36.769Z"),
|
|
2398
|
+
updated: z.string().default("2026-03-06T11:01:36.769Z"),
|
|
2399
2399
|
guardrail_config: z.union([
|
|
2400
2400
|
z.lazy(() =>
|
|
2401
2401
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Boolean$inboundSchema
|
|
@@ -3178,8 +3178,8 @@ export const CreateEvalResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
3178
3178
|
> = z.object({
|
|
3179
3179
|
_id: z.string(),
|
|
3180
3180
|
description: z.string(),
|
|
3181
|
-
created: z.string().default("2026-03-
|
|
3182
|
-
updated: z.string().default("2026-03-
|
|
3181
|
+
created: z.string().default("2026-03-06T11:01:36.769Z"),
|
|
3182
|
+
updated: z.string().default("2026-03-06T11:01:36.769Z"),
|
|
3183
3183
|
guardrail_config: z.union([
|
|
3184
3184
|
z.lazy(() =>
|
|
3185
3185
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema
|
|
@@ -3357,8 +3357,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
3357
3357
|
> = z.object({
|
|
3358
3358
|
_id: z.string(),
|
|
3359
3359
|
description: z.string(),
|
|
3360
|
-
created: z.string().default("2026-03-
|
|
3361
|
-
updated: z.string().default("2026-03-
|
|
3360
|
+
created: z.string().default("2026-03-06T11:01:36.769Z"),
|
|
3361
|
+
updated: z.string().default("2026-03-06T11:01:36.769Z"),
|
|
3362
3362
|
guardrail_config: z.union([
|
|
3363
3363
|
z.lazy(() =>
|
|
3364
3364
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema
|
|
@@ -3498,8 +3498,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
3498
3498
|
> = z.object({
|
|
3499
3499
|
_id: z.string(),
|
|
3500
3500
|
description: z.string(),
|
|
3501
|
-
created: z.string().default("2026-03-
|
|
3502
|
-
updated: z.string().default("2026-03-
|
|
3501
|
+
created: z.string().default("2026-03-06T11:01:36.769Z"),
|
|
3502
|
+
updated: z.string().default("2026-03-06T11:01:36.769Z"),
|
|
3503
3503
|
guardrail_config: z.union([
|
|
3504
3504
|
z.lazy(() =>
|
|
3505
3505
|
CreateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema
|
|
@@ -3634,8 +3634,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
3634
3634
|
> = z.object({
|
|
3635
3635
|
_id: z.string(),
|
|
3636
3636
|
description: z.string(),
|
|
3637
|
-
created: z.string().default("2026-03-
|
|
3638
|
-
updated: z.string().default("2026-03-
|
|
3637
|
+
created: z.string().default("2026-03-06T11:01:36.769Z"),
|
|
3638
|
+
updated: z.string().default("2026-03-06T11:01:36.769Z"),
|
|
3639
3639
|
guardrail_config: z.union([
|
|
3640
3640
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
3641
3641
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
@@ -3944,8 +3944,8 @@ export const CreateEvalLlm2$inboundSchema: z.ZodType<
|
|
|
3944
3944
|
> = z.object({
|
|
3945
3945
|
_id: z.string(),
|
|
3946
3946
|
description: z.string(),
|
|
3947
|
-
created: z.string().default("2026-03-
|
|
3948
|
-
updated: z.string().default("2026-03-
|
|
3947
|
+
created: z.string().default("2026-03-06T11:01:36.769Z"),
|
|
3948
|
+
updated: z.string().default("2026-03-06T11:01:36.769Z"),
|
|
3949
3949
|
guardrail_config: z.union([
|
|
3950
3950
|
z.lazy(() =>
|
|
3951
3951
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1LLMBoolean$inboundSchema
|
|
@@ -4088,8 +4088,8 @@ export const CreateEvalLlm1$inboundSchema: z.ZodType<
|
|
|
4088
4088
|
> = z.object({
|
|
4089
4089
|
_id: z.string(),
|
|
4090
4090
|
description: z.string(),
|
|
4091
|
-
created: z.string().default("2026-03-
|
|
4092
|
-
updated: z.string().default("2026-03-
|
|
4091
|
+
created: z.string().default("2026-03-06T11:01:36.769Z"),
|
|
4092
|
+
updated: z.string().default("2026-03-06T11:01:36.769Z"),
|
|
4093
4093
|
guardrail_config: z.union([
|
|
4094
4094
|
z.lazy(() =>
|
|
4095
4095
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody1Boolean$inboundSchema
|
|
@@ -139,7 +139,7 @@ export const CreateIdentityResponseBody$inboundSchema: z.ZodType<
|
|
|
139
139
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
140
140
|
.optional(),
|
|
141
141
|
updated: z.string().datetime({ offset: true }).default(
|
|
142
|
-
"2026-03-
|
|
142
|
+
"2026-03-06T11:01:35.401Z",
|
|
143
143
|
).transform(v => new Date(v)),
|
|
144
144
|
}).transform((v) => {
|
|
145
145
|
return remap$(v, {
|