@orq-ai/node 3.13.14 → 3.13.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/bin/mcp-server.js +193 -193
- package/bin/mcp-server.js.map +35 -35
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- 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/getalltools.js +10 -10
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- 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/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/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/agentsStream.ts +1 -2
- package/packages/orq-rc/src/funcs/agentsStreamRun.ts +1 -2
- package/packages/orq-rc/src/funcs/deploymentsStream.ts +1 -2
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +1 -1
- package/packages/orq-rc/src/models/components/deployments.ts +44 -16
- 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 +52 -24
- 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/createprompt.ts +58 -16
- package/packages/orq-rc/src/models/operations/createtool.ts +10 -10
- package/packages/orq-rc/src/models/operations/deploymentcreatemetric.ts +44 -16
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +62 -20
- package/packages/orq-rc/src/models/operations/deployments.ts +18 -4
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +44 -16
- 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/getallprompts.ts +18 -4
- 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/getoneprompt.ts +18 -4
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +18 -4
- package/packages/orq-rc/src/models/operations/invokeeval.ts +18 -4
- package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +30 -16
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +18 -4
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +30 -16
- 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 +52 -24
- 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/updateprompt.ts +58 -16
- package/packages/orq-rc/src/models/operations/updatetool.ts +10 -10
- package/src/lib/config.ts +2 -2
- 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/getalltools.ts +10 -10
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- 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/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
|
@@ -284,11 +284,19 @@ export type CreateDatasetItem2File = {
|
|
|
284
284
|
/**
|
|
285
285
|
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
286
286
|
*/
|
|
287
|
-
fileData
|
|
287
|
+
fileData?: string | undefined;
|
|
288
|
+
/**
|
|
289
|
+
* URL to the file. Only supported by Anthropic Claude models for PDF files.
|
|
290
|
+
*/
|
|
291
|
+
uri?: string | undefined;
|
|
292
|
+
/**
|
|
293
|
+
* MIME type of the file (e.g., application/pdf, image/png)
|
|
294
|
+
*/
|
|
295
|
+
mimeType?: string | undefined;
|
|
288
296
|
/**
|
|
289
297
|
* The name of the file, used when passing the file to the model as a string.
|
|
290
298
|
*/
|
|
291
|
-
filename
|
|
299
|
+
filename?: string | undefined;
|
|
292
300
|
};
|
|
293
301
|
|
|
294
302
|
export type CreateDatasetItem24 = {
|
|
@@ -811,11 +819,19 @@ export type CreateDatasetItem2DatasetsFile = {
|
|
|
811
819
|
/**
|
|
812
820
|
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
813
821
|
*/
|
|
814
|
-
fileData
|
|
822
|
+
fileData?: string | undefined;
|
|
823
|
+
/**
|
|
824
|
+
* URL to the file. Only supported by Anthropic Claude models for PDF files.
|
|
825
|
+
*/
|
|
826
|
+
uri?: string | undefined;
|
|
827
|
+
/**
|
|
828
|
+
* MIME type of the file (e.g., application/pdf, image/png)
|
|
829
|
+
*/
|
|
830
|
+
mimeType?: string | undefined;
|
|
815
831
|
/**
|
|
816
832
|
* The name of the file, used when passing the file to the model as a string.
|
|
817
833
|
*/
|
|
818
|
-
filename
|
|
834
|
+
filename?: string | undefined;
|
|
819
835
|
};
|
|
820
836
|
|
|
821
837
|
export type CreateDatasetItem2Datasets4 = {
|
|
@@ -2539,8 +2555,10 @@ export const CreateDatasetItem2File$inboundSchema: z.ZodType<
|
|
|
2539
2555
|
z.ZodTypeDef,
|
|
2540
2556
|
unknown
|
|
2541
2557
|
> = z.object({
|
|
2542
|
-
file_data: z.string(),
|
|
2543
|
-
|
|
2558
|
+
file_data: z.string().optional(),
|
|
2559
|
+
uri: z.string().optional(),
|
|
2560
|
+
mimeType: z.string().optional(),
|
|
2561
|
+
filename: z.string().optional(),
|
|
2544
2562
|
}).transform((v) => {
|
|
2545
2563
|
return remap$(v, {
|
|
2546
2564
|
"file_data": "fileData",
|
|
@@ -2549,8 +2567,10 @@ export const CreateDatasetItem2File$inboundSchema: z.ZodType<
|
|
|
2549
2567
|
|
|
2550
2568
|
/** @internal */
|
|
2551
2569
|
export type CreateDatasetItem2File$Outbound = {
|
|
2552
|
-
file_data
|
|
2553
|
-
|
|
2570
|
+
file_data?: string | undefined;
|
|
2571
|
+
uri?: string | undefined;
|
|
2572
|
+
mimeType?: string | undefined;
|
|
2573
|
+
filename?: string | undefined;
|
|
2554
2574
|
};
|
|
2555
2575
|
|
|
2556
2576
|
/** @internal */
|
|
@@ -2559,8 +2579,10 @@ export const CreateDatasetItem2File$outboundSchema: z.ZodType<
|
|
|
2559
2579
|
z.ZodTypeDef,
|
|
2560
2580
|
CreateDatasetItem2File
|
|
2561
2581
|
> = z.object({
|
|
2562
|
-
fileData: z.string(),
|
|
2563
|
-
|
|
2582
|
+
fileData: z.string().optional(),
|
|
2583
|
+
uri: z.string().optional(),
|
|
2584
|
+
mimeType: z.string().optional(),
|
|
2585
|
+
filename: z.string().optional(),
|
|
2564
2586
|
}).transform((v) => {
|
|
2565
2587
|
return remap$(v, {
|
|
2566
2588
|
fileData: "file_data",
|
|
@@ -5139,8 +5161,10 @@ export const CreateDatasetItem2DatasetsFile$inboundSchema: z.ZodType<
|
|
|
5139
5161
|
z.ZodTypeDef,
|
|
5140
5162
|
unknown
|
|
5141
5163
|
> = z.object({
|
|
5142
|
-
file_data: z.string(),
|
|
5143
|
-
|
|
5164
|
+
file_data: z.string().optional(),
|
|
5165
|
+
uri: z.string().optional(),
|
|
5166
|
+
mimeType: z.string().optional(),
|
|
5167
|
+
filename: z.string().optional(),
|
|
5144
5168
|
}).transform((v) => {
|
|
5145
5169
|
return remap$(v, {
|
|
5146
5170
|
"file_data": "fileData",
|
|
@@ -5149,8 +5173,10 @@ export const CreateDatasetItem2DatasetsFile$inboundSchema: z.ZodType<
|
|
|
5149
5173
|
|
|
5150
5174
|
/** @internal */
|
|
5151
5175
|
export type CreateDatasetItem2DatasetsFile$Outbound = {
|
|
5152
|
-
file_data
|
|
5153
|
-
|
|
5176
|
+
file_data?: string | undefined;
|
|
5177
|
+
uri?: string | undefined;
|
|
5178
|
+
mimeType?: string | undefined;
|
|
5179
|
+
filename?: string | undefined;
|
|
5154
5180
|
};
|
|
5155
5181
|
|
|
5156
5182
|
/** @internal */
|
|
@@ -5159,8 +5185,10 @@ export const CreateDatasetItem2DatasetsFile$outboundSchema: z.ZodType<
|
|
|
5159
5185
|
z.ZodTypeDef,
|
|
5160
5186
|
CreateDatasetItem2DatasetsFile
|
|
5161
5187
|
> = z.object({
|
|
5162
|
-
fileData: z.string(),
|
|
5163
|
-
|
|
5188
|
+
fileData: z.string().optional(),
|
|
5189
|
+
uri: z.string().optional(),
|
|
5190
|
+
mimeType: z.string().optional(),
|
|
5191
|
+
filename: z.string().optional(),
|
|
5164
5192
|
}).transform((v) => {
|
|
5165
5193
|
return remap$(v, {
|
|
5166
5194
|
fileData: "file_data",
|
|
@@ -6294,7 +6322,7 @@ export const Evaluations3$inboundSchema: z.ZodType<
|
|
|
6294
6322
|
source: CreateDatasetItemEvaluationsSource$inboundSchema.default("orq"),
|
|
6295
6323
|
reviewed_by_id: z.string(),
|
|
6296
6324
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
6297
|
-
"2025-10-
|
|
6325
|
+
"2025-10-24T04:50:09.601Z",
|
|
6298
6326
|
).transform(v => new Date(v)),
|
|
6299
6327
|
type: CreateDatasetItemEvaluationsDatasetsType$inboundSchema,
|
|
6300
6328
|
values: z.array(z.string()),
|
|
@@ -6330,7 +6358,7 @@ export const Evaluations3$outboundSchema: z.ZodType<
|
|
|
6330
6358
|
humanReviewId: z.string(),
|
|
6331
6359
|
source: CreateDatasetItemEvaluationsSource$outboundSchema.default("orq"),
|
|
6332
6360
|
reviewedById: z.string(),
|
|
6333
|
-
reviewedAt: z.date().default(() => new Date("2025-10-
|
|
6361
|
+
reviewedAt: z.date().default(() => new Date("2025-10-24T04:50:09.601Z"))
|
|
6334
6362
|
.transform(v => v.toISOString()),
|
|
6335
6363
|
type: CreateDatasetItemEvaluationsDatasetsType$outboundSchema,
|
|
6336
6364
|
values: z.array(z.string()),
|
|
@@ -6445,7 +6473,7 @@ export const Evaluations2$inboundSchema: z.ZodType<
|
|
|
6445
6473
|
source: EvaluationsSource$inboundSchema.default("orq"),
|
|
6446
6474
|
reviewed_by_id: z.string(),
|
|
6447
6475
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
6448
|
-
"2025-10-
|
|
6476
|
+
"2025-10-24T04:50:09.601Z",
|
|
6449
6477
|
).transform(v => new Date(v)),
|
|
6450
6478
|
type: CreateDatasetItemEvaluationsType$inboundSchema,
|
|
6451
6479
|
value: z.number(),
|
|
@@ -6481,7 +6509,7 @@ export const Evaluations2$outboundSchema: z.ZodType<
|
|
|
6481
6509
|
humanReviewId: z.string(),
|
|
6482
6510
|
source: EvaluationsSource$outboundSchema.default("orq"),
|
|
6483
6511
|
reviewedById: z.string(),
|
|
6484
|
-
reviewedAt: z.date().default(() => new Date("2025-10-
|
|
6512
|
+
reviewedAt: z.date().default(() => new Date("2025-10-24T04:50:09.601Z"))
|
|
6485
6513
|
.transform(v => v.toISOString()),
|
|
6486
6514
|
type: CreateDatasetItemEvaluationsType$outboundSchema,
|
|
6487
6515
|
value: z.number(),
|
|
@@ -6594,7 +6622,7 @@ export const Evaluations1$inboundSchema: z.ZodType<
|
|
|
6594
6622
|
source: Source$inboundSchema.default("orq"),
|
|
6595
6623
|
reviewed_by_id: z.string(),
|
|
6596
6624
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
6597
|
-
"2025-10-
|
|
6625
|
+
"2025-10-24T04:50:09.601Z",
|
|
6598
6626
|
).transform(v => new Date(v)),
|
|
6599
6627
|
type: EvaluationsType$inboundSchema,
|
|
6600
6628
|
value: z.string(),
|
|
@@ -6630,7 +6658,7 @@ export const Evaluations1$outboundSchema: z.ZodType<
|
|
|
6630
6658
|
humanReviewId: z.string(),
|
|
6631
6659
|
source: Source$outboundSchema.default("orq"),
|
|
6632
6660
|
reviewedById: z.string(),
|
|
6633
|
-
reviewedAt: z.date().default(() => new Date("2025-10-
|
|
6661
|
+
reviewedAt: z.date().default(() => new Date("2025-10-24T04:50:09.601Z"))
|
|
6634
6662
|
.transform(v => v.toISOString()),
|
|
6635
6663
|
type: EvaluationsType$outboundSchema,
|
|
6636
6664
|
value: z.string(),
|
|
@@ -6764,7 +6792,7 @@ export const ResponseBody$inboundSchema: z.ZodType<
|
|
|
6764
6792
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
6765
6793
|
.optional(),
|
|
6766
6794
|
updated: z.string().datetime({ offset: true }).default(
|
|
6767
|
-
"2025-10-
|
|
6795
|
+
"2025-10-24T04:49:59.822Z",
|
|
6768
6796
|
).transform(v => new Date(v)),
|
|
6769
6797
|
}).transform((v) => {
|
|
6770
6798
|
return remap$(v, {
|
|
@@ -6843,7 +6871,7 @@ export const ResponseBody$outboundSchema: z.ZodType<
|
|
|
6843
6871
|
createdById: z.string().optional(),
|
|
6844
6872
|
updatedById: z.string().optional(),
|
|
6845
6873
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
6846
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
6874
|
+
updated: z.date().default(() => new Date("2025-10-24T04:49:59.822Z"))
|
|
6847
6875
|
.transform(v => v.toISOString()),
|
|
6848
6876
|
}).transform((v) => {
|
|
6849
6877
|
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("01K8A8V0K7MVFRBKDZNM18KM7B"),
|
|
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("01K8A8V0K7MVFRBKDZNM18KM7B"),
|
|
799
799
|
displayName: z.string(),
|
|
800
800
|
description: z.string().optional(),
|
|
801
801
|
status: CreateDatasourceStatus$outboundSchema,
|
|
@@ -3377,8 +3377,8 @@ export const Typescript$inboundSchema: z.ZodType<
|
|
|
3377
3377
|
> = z.object({
|
|
3378
3378
|
_id: z.string(),
|
|
3379
3379
|
description: z.string(),
|
|
3380
|
-
created: z.string().default("2025-10-
|
|
3381
|
-
updated: z.string().default("2025-10-
|
|
3380
|
+
created: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
3381
|
+
updated: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
3382
3382
|
guardrail_config: z.union([
|
|
3383
3383
|
z.lazy(() =>
|
|
3384
3384
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$inboundSchema
|
|
@@ -3421,8 +3421,8 @@ export const Typescript$outboundSchema: z.ZodType<
|
|
|
3421
3421
|
> = z.object({
|
|
3422
3422
|
id: z.string(),
|
|
3423
3423
|
description: z.string(),
|
|
3424
|
-
created: z.string().default("2025-10-
|
|
3425
|
-
updated: z.string().default("2025-10-
|
|
3424
|
+
created: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
3425
|
+
updated: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
3426
3426
|
guardrailConfig: z.union([
|
|
3427
3427
|
z.lazy(() =>
|
|
3428
3428
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody7Number$outboundSchema
|
|
@@ -3839,8 +3839,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
|
|
|
3839
3839
|
.object({
|
|
3840
3840
|
_id: z.string(),
|
|
3841
3841
|
description: z.string(),
|
|
3842
|
-
created: z.string().default("2025-10-
|
|
3843
|
-
updated: z.string().default("2025-10-
|
|
3842
|
+
created: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
3843
|
+
updated: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
3844
3844
|
guardrail_config: z.union([
|
|
3845
3845
|
z.lazy(() =>
|
|
3846
3846
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$inboundSchema
|
|
@@ -3886,8 +3886,8 @@ export const Ragas$outboundSchema: z.ZodType<
|
|
|
3886
3886
|
> = z.object({
|
|
3887
3887
|
id: z.string(),
|
|
3888
3888
|
description: z.string(),
|
|
3889
|
-
created: z.string().default("2025-10-
|
|
3890
|
-
updated: z.string().default("2025-10-
|
|
3889
|
+
created: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
3890
|
+
updated: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
3891
3891
|
guardrailConfig: z.union([
|
|
3892
3892
|
z.lazy(() =>
|
|
3893
3893
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody6Number$outboundSchema
|
|
@@ -7317,8 +7317,8 @@ export const ResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
7317
7317
|
> = z.object({
|
|
7318
7318
|
_id: z.string(),
|
|
7319
7319
|
description: z.string(),
|
|
7320
|
-
created: z.string().default("2025-10-
|
|
7321
|
-
updated: z.string().default("2025-10-
|
|
7320
|
+
created: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
7321
|
+
updated: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
7322
7322
|
guardrail_config: z.union([
|
|
7323
7323
|
z.lazy(() =>
|
|
7324
7324
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$inboundSchema
|
|
@@ -7432,8 +7432,8 @@ export const ResponseBodyFunction$outboundSchema: z.ZodType<
|
|
|
7432
7432
|
> = z.object({
|
|
7433
7433
|
id: z.string(),
|
|
7434
7434
|
description: z.string(),
|
|
7435
|
-
created: z.string().default("2025-10-
|
|
7436
|
-
updated: z.string().default("2025-10-
|
|
7435
|
+
created: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
7436
|
+
updated: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
7437
7437
|
guardrailConfig: z.union([
|
|
7438
7438
|
z.lazy(() =>
|
|
7439
7439
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBody5Number$outboundSchema
|
|
@@ -7873,8 +7873,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
7873
7873
|
> = z.object({
|
|
7874
7874
|
_id: z.string(),
|
|
7875
7875
|
description: z.string(),
|
|
7876
|
-
created: z.string().default("2025-10-
|
|
7877
|
-
updated: z.string().default("2025-10-
|
|
7876
|
+
created: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
7877
|
+
updated: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
7878
7878
|
guardrail_config: z.union([
|
|
7879
7879
|
z.lazy(() =>
|
|
7880
7880
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
|
|
@@ -7916,8 +7916,8 @@ export const ResponseBodyPython$outboundSchema: z.ZodType<
|
|
|
7916
7916
|
> = z.object({
|
|
7917
7917
|
id: z.string(),
|
|
7918
7918
|
description: z.string(),
|
|
7919
|
-
created: z.string().default("2025-10-
|
|
7920
|
-
updated: z.string().default("2025-10-
|
|
7919
|
+
created: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
7920
|
+
updated: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
7921
7921
|
guardrailConfig: z.union([
|
|
7922
7922
|
z.lazy(() =>
|
|
7923
7923
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
|
|
@@ -8332,8 +8332,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
8332
8332
|
> = z.object({
|
|
8333
8333
|
_id: z.string(),
|
|
8334
8334
|
description: z.string(),
|
|
8335
|
-
created: z.string().default("2025-10-
|
|
8336
|
-
updated: z.string().default("2025-10-
|
|
8335
|
+
created: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
8336
|
+
updated: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
8337
8337
|
guardrail_config: z.union([
|
|
8338
8338
|
z.lazy(() =>
|
|
8339
8339
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
|
|
@@ -8381,8 +8381,8 @@ export const ResponseBodyHTTP$outboundSchema: z.ZodType<
|
|
|
8381
8381
|
> = z.object({
|
|
8382
8382
|
id: z.string(),
|
|
8383
8383
|
description: z.string(),
|
|
8384
|
-
created: z.string().default("2025-10-
|
|
8385
|
-
updated: z.string().default("2025-10-
|
|
8384
|
+
created: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
8385
|
+
updated: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
8386
8386
|
guardrailConfig: z.union([
|
|
8387
8387
|
z.lazy(() =>
|
|
8388
8388
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
|
|
@@ -8759,8 +8759,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
8759
8759
|
> = z.object({
|
|
8760
8760
|
_id: z.string(),
|
|
8761
8761
|
description: z.string(),
|
|
8762
|
-
created: z.string().default("2025-10-
|
|
8763
|
-
updated: z.string().default("2025-10-
|
|
8762
|
+
created: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
8763
|
+
updated: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
8764
8764
|
guardrail_config: z.union([
|
|
8765
8765
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
8766
8766
|
z.lazy(() =>
|
|
@@ -8800,8 +8800,8 @@ export const ResponseBodyJSON$outboundSchema: z.ZodType<
|
|
|
8800
8800
|
> = z.object({
|
|
8801
8801
|
id: z.string(),
|
|
8802
8802
|
description: z.string(),
|
|
8803
|
-
created: z.string().default("2025-10-
|
|
8804
|
-
updated: z.string().default("2025-10-
|
|
8803
|
+
created: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
8804
|
+
updated: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
8805
8805
|
guardrailConfig: z.union([
|
|
8806
8806
|
z.lazy(() =>
|
|
8807
8807
|
CreateEvalGuardrailConfigEvalsResponse200Number$outboundSchema
|
|
@@ -9156,8 +9156,8 @@ export const ResponseBodyLLM$inboundSchema: z.ZodType<
|
|
|
9156
9156
|
> = z.object({
|
|
9157
9157
|
_id: z.string(),
|
|
9158
9158
|
description: z.string(),
|
|
9159
|
-
created: z.string().default("2025-10-
|
|
9160
|
-
updated: z.string().default("2025-10-
|
|
9159
|
+
created: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
9160
|
+
updated: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
9161
9161
|
guardrail_config: z.union([
|
|
9162
9162
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
9163
9163
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -9197,8 +9197,8 @@ export const ResponseBodyLLM$outboundSchema: z.ZodType<
|
|
|
9197
9197
|
> = z.object({
|
|
9198
9198
|
id: z.string(),
|
|
9199
9199
|
description: z.string(),
|
|
9200
|
-
created: z.string().default("2025-10-
|
|
9201
|
-
updated: z.string().default("2025-10-
|
|
9200
|
+
created: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
9201
|
+
updated: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
9202
9202
|
guardrailConfig: z.union([
|
|
9203
9203
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
9204
9204
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
@@ -96,7 +96,15 @@ export type CreatePrompt2File = {
|
|
|
96
96
|
/**
|
|
97
97
|
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
98
98
|
*/
|
|
99
|
-
fileData
|
|
99
|
+
fileData?: string | undefined;
|
|
100
|
+
/**
|
|
101
|
+
* URL to the file. Only supported by Anthropic Claude models for PDF files.
|
|
102
|
+
*/
|
|
103
|
+
uri?: string | undefined;
|
|
104
|
+
/**
|
|
105
|
+
* MIME type of the file (e.g., application/pdf, image/png)
|
|
106
|
+
*/
|
|
107
|
+
mimeType?: string | undefined;
|
|
100
108
|
/**
|
|
101
109
|
* The name of the file, used when passing the file to the model as a string.
|
|
102
110
|
*/
|
|
@@ -731,11 +739,19 @@ export type CreatePrompt2PromptsFile = {
|
|
|
731
739
|
/**
|
|
732
740
|
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
733
741
|
*/
|
|
734
|
-
fileData
|
|
742
|
+
fileData?: string | undefined;
|
|
743
|
+
/**
|
|
744
|
+
* URL to the file. Only supported by Anthropic Claude models for PDF files.
|
|
745
|
+
*/
|
|
746
|
+
uri?: string | undefined;
|
|
747
|
+
/**
|
|
748
|
+
* MIME type of the file (e.g., application/pdf, image/png)
|
|
749
|
+
*/
|
|
750
|
+
mimeType?: string | undefined;
|
|
735
751
|
/**
|
|
736
752
|
* The name of the file, used when passing the file to the model as a string.
|
|
737
753
|
*/
|
|
738
|
-
filename
|
|
754
|
+
filename?: string | undefined;
|
|
739
755
|
};
|
|
740
756
|
|
|
741
757
|
export type CreatePrompt24 = {
|
|
@@ -1386,7 +1402,15 @@ export type CreatePrompt2PromptsResponseFile = {
|
|
|
1386
1402
|
/**
|
|
1387
1403
|
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
1388
1404
|
*/
|
|
1389
|
-
fileData
|
|
1405
|
+
fileData?: string | undefined;
|
|
1406
|
+
/**
|
|
1407
|
+
* URL to the file. Only supported by Anthropic Claude models for PDF files.
|
|
1408
|
+
*/
|
|
1409
|
+
uri?: string | undefined;
|
|
1410
|
+
/**
|
|
1411
|
+
* MIME type of the file (e.g., application/pdf, image/png)
|
|
1412
|
+
*/
|
|
1413
|
+
mimeType?: string | undefined;
|
|
1390
1414
|
/**
|
|
1391
1415
|
* The name of the file, used when passing the file to the model as a string.
|
|
1392
1416
|
*/
|
|
@@ -1764,7 +1788,9 @@ export const CreatePrompt2File$inboundSchema: z.ZodType<
|
|
|
1764
1788
|
z.ZodTypeDef,
|
|
1765
1789
|
unknown
|
|
1766
1790
|
> = z.object({
|
|
1767
|
-
file_data: z.string(),
|
|
1791
|
+
file_data: z.string().optional(),
|
|
1792
|
+
uri: z.string().optional(),
|
|
1793
|
+
mimeType: z.string().optional(),
|
|
1768
1794
|
filename: z.string().optional(),
|
|
1769
1795
|
}).transform((v) => {
|
|
1770
1796
|
return remap$(v, {
|
|
@@ -1774,7 +1800,9 @@ export const CreatePrompt2File$inboundSchema: z.ZodType<
|
|
|
1774
1800
|
|
|
1775
1801
|
/** @internal */
|
|
1776
1802
|
export type CreatePrompt2File$Outbound = {
|
|
1777
|
-
file_data
|
|
1803
|
+
file_data?: string | undefined;
|
|
1804
|
+
uri?: string | undefined;
|
|
1805
|
+
mimeType?: string | undefined;
|
|
1778
1806
|
filename?: string | undefined;
|
|
1779
1807
|
};
|
|
1780
1808
|
|
|
@@ -1784,7 +1812,9 @@ export const CreatePrompt2File$outboundSchema: z.ZodType<
|
|
|
1784
1812
|
z.ZodTypeDef,
|
|
1785
1813
|
CreatePrompt2File
|
|
1786
1814
|
> = z.object({
|
|
1787
|
-
fileData: z.string(),
|
|
1815
|
+
fileData: z.string().optional(),
|
|
1816
|
+
uri: z.string().optional(),
|
|
1817
|
+
mimeType: z.string().optional(),
|
|
1788
1818
|
filename: z.string().optional(),
|
|
1789
1819
|
}).transform((v) => {
|
|
1790
1820
|
return remap$(v, {
|
|
@@ -4485,8 +4515,10 @@ export const CreatePrompt2PromptsFile$inboundSchema: z.ZodType<
|
|
|
4485
4515
|
z.ZodTypeDef,
|
|
4486
4516
|
unknown
|
|
4487
4517
|
> = z.object({
|
|
4488
|
-
file_data: z.string(),
|
|
4489
|
-
|
|
4518
|
+
file_data: z.string().optional(),
|
|
4519
|
+
uri: z.string().optional(),
|
|
4520
|
+
mimeType: z.string().optional(),
|
|
4521
|
+
filename: z.string().optional(),
|
|
4490
4522
|
}).transform((v) => {
|
|
4491
4523
|
return remap$(v, {
|
|
4492
4524
|
"file_data": "fileData",
|
|
@@ -4495,8 +4527,10 @@ export const CreatePrompt2PromptsFile$inboundSchema: z.ZodType<
|
|
|
4495
4527
|
|
|
4496
4528
|
/** @internal */
|
|
4497
4529
|
export type CreatePrompt2PromptsFile$Outbound = {
|
|
4498
|
-
file_data
|
|
4499
|
-
|
|
4530
|
+
file_data?: string | undefined;
|
|
4531
|
+
uri?: string | undefined;
|
|
4532
|
+
mimeType?: string | undefined;
|
|
4533
|
+
filename?: string | undefined;
|
|
4500
4534
|
};
|
|
4501
4535
|
|
|
4502
4536
|
/** @internal */
|
|
@@ -4505,8 +4539,10 @@ export const CreatePrompt2PromptsFile$outboundSchema: z.ZodType<
|
|
|
4505
4539
|
z.ZodTypeDef,
|
|
4506
4540
|
CreatePrompt2PromptsFile
|
|
4507
4541
|
> = z.object({
|
|
4508
|
-
fileData: z.string(),
|
|
4509
|
-
|
|
4542
|
+
fileData: z.string().optional(),
|
|
4543
|
+
uri: z.string().optional(),
|
|
4544
|
+
mimeType: z.string().optional(),
|
|
4545
|
+
filename: z.string().optional(),
|
|
4510
4546
|
}).transform((v) => {
|
|
4511
4547
|
return remap$(v, {
|
|
4512
4548
|
fileData: "file_data",
|
|
@@ -6794,7 +6830,9 @@ export const CreatePrompt2PromptsResponseFile$inboundSchema: z.ZodType<
|
|
|
6794
6830
|
z.ZodTypeDef,
|
|
6795
6831
|
unknown
|
|
6796
6832
|
> = z.object({
|
|
6797
|
-
file_data: z.string(),
|
|
6833
|
+
file_data: z.string().optional(),
|
|
6834
|
+
uri: z.string().optional(),
|
|
6835
|
+
mimeType: z.string().optional(),
|
|
6798
6836
|
filename: z.string().optional(),
|
|
6799
6837
|
}).transform((v) => {
|
|
6800
6838
|
return remap$(v, {
|
|
@@ -6804,7 +6842,9 @@ export const CreatePrompt2PromptsResponseFile$inboundSchema: z.ZodType<
|
|
|
6804
6842
|
|
|
6805
6843
|
/** @internal */
|
|
6806
6844
|
export type CreatePrompt2PromptsResponseFile$Outbound = {
|
|
6807
|
-
file_data
|
|
6845
|
+
file_data?: string | undefined;
|
|
6846
|
+
uri?: string | undefined;
|
|
6847
|
+
mimeType?: string | undefined;
|
|
6808
6848
|
filename?: string | undefined;
|
|
6809
6849
|
};
|
|
6810
6850
|
|
|
@@ -6814,7 +6854,9 @@ export const CreatePrompt2PromptsResponseFile$outboundSchema: z.ZodType<
|
|
|
6814
6854
|
z.ZodTypeDef,
|
|
6815
6855
|
CreatePrompt2PromptsResponseFile
|
|
6816
6856
|
> = z.object({
|
|
6817
|
-
fileData: z.string(),
|
|
6857
|
+
fileData: z.string().optional(),
|
|
6858
|
+
uri: z.string().optional(),
|
|
6859
|
+
mimeType: z.string().optional(),
|
|
6818
6860
|
filename: z.string().optional(),
|
|
6819
6861
|
}).transform((v) => {
|
|
6820
6862
|
return remap$(v, {
|
|
@@ -2581,7 +2581,7 @@ export const ResponseBody5$inboundSchema: z.ZodType<
|
|
|
2581
2581
|
z.ZodTypeDef,
|
|
2582
2582
|
unknown
|
|
2583
2583
|
> = z.object({
|
|
2584
|
-
_id: z.string().default("
|
|
2584
|
+
_id: z.string().default("01K8A8V0PN7RTH6PZEC7TAJMMC"),
|
|
2585
2585
|
path: z.string(),
|
|
2586
2586
|
key: z.string(),
|
|
2587
2587
|
display_name: z.string().optional(),
|
|
@@ -2636,7 +2636,7 @@ export const ResponseBody5$outboundSchema: z.ZodType<
|
|
|
2636
2636
|
z.ZodTypeDef,
|
|
2637
2637
|
ResponseBody5
|
|
2638
2638
|
> = z.object({
|
|
2639
|
-
id: z.string().default("
|
|
2639
|
+
id: z.string().default("01K8A8V0PN7RTH6PZEC7TAJMMC"),
|
|
2640
2640
|
path: z.string(),
|
|
2641
2641
|
key: z.string(),
|
|
2642
2642
|
displayName: z.string().optional(),
|
|
@@ -2995,7 +2995,7 @@ export const ResponseBody4$inboundSchema: z.ZodType<
|
|
|
2995
2995
|
z.ZodTypeDef,
|
|
2996
2996
|
unknown
|
|
2997
2997
|
> = z.object({
|
|
2998
|
-
_id: z.string().default("
|
|
2998
|
+
_id: z.string().default("01K8A8V0PM7Y6XBKQT7WFBQ3D7"),
|
|
2999
2999
|
path: z.string(),
|
|
3000
3000
|
key: z.string(),
|
|
3001
3001
|
display_name: z.string().optional(),
|
|
@@ -3049,7 +3049,7 @@ export const ResponseBody4$outboundSchema: z.ZodType<
|
|
|
3049
3049
|
z.ZodTypeDef,
|
|
3050
3050
|
ResponseBody4
|
|
3051
3051
|
> = z.object({
|
|
3052
|
-
id: z.string().default("
|
|
3052
|
+
id: z.string().default("01K8A8V0PM7Y6XBKQT7WFBQ3D7"),
|
|
3053
3053
|
path: z.string(),
|
|
3054
3054
|
key: z.string(),
|
|
3055
3055
|
displayName: z.string().optional(),
|
|
@@ -3447,7 +3447,7 @@ export const ResponseBody3$inboundSchema: z.ZodType<
|
|
|
3447
3447
|
z.ZodTypeDef,
|
|
3448
3448
|
unknown
|
|
3449
3449
|
> = z.object({
|
|
3450
|
-
_id: z.string().default("
|
|
3450
|
+
_id: z.string().default("01K8A8V0PKFYAKQ4TJTTF20FYF"),
|
|
3451
3451
|
path: z.string(),
|
|
3452
3452
|
key: z.string(),
|
|
3453
3453
|
display_name: z.string().optional(),
|
|
@@ -3499,7 +3499,7 @@ export const ResponseBody3$outboundSchema: z.ZodType<
|
|
|
3499
3499
|
z.ZodTypeDef,
|
|
3500
3500
|
ResponseBody3
|
|
3501
3501
|
> = z.object({
|
|
3502
|
-
id: z.string().default("
|
|
3502
|
+
id: z.string().default("01K8A8V0PKFYAKQ4TJTTF20FYF"),
|
|
3503
3503
|
path: z.string(),
|
|
3504
3504
|
key: z.string(),
|
|
3505
3505
|
displayName: z.string().optional(),
|
|
@@ -3664,7 +3664,7 @@ export const CreateToolResponseBody2$inboundSchema: z.ZodType<
|
|
|
3664
3664
|
z.ZodTypeDef,
|
|
3665
3665
|
unknown
|
|
3666
3666
|
> = z.object({
|
|
3667
|
-
_id: z.string().default("
|
|
3667
|
+
_id: z.string().default("01K8A8V0PKN3X59E59ZHZMG78K"),
|
|
3668
3668
|
path: z.string(),
|
|
3669
3669
|
key: z.string(),
|
|
3670
3670
|
display_name: z.string().optional(),
|
|
@@ -3717,7 +3717,7 @@ export const CreateToolResponseBody2$outboundSchema: z.ZodType<
|
|
|
3717
3717
|
z.ZodTypeDef,
|
|
3718
3718
|
CreateToolResponseBody2
|
|
3719
3719
|
> = z.object({
|
|
3720
|
-
id: z.string().default("
|
|
3720
|
+
id: z.string().default("01K8A8V0PKN3X59E59ZHZMG78K"),
|
|
3721
3721
|
path: z.string(),
|
|
3722
3722
|
key: z.string(),
|
|
3723
3723
|
displayName: z.string().optional(),
|
|
@@ -3889,7 +3889,7 @@ export const CreateToolResponseBody1$inboundSchema: z.ZodType<
|
|
|
3889
3889
|
z.ZodTypeDef,
|
|
3890
3890
|
unknown
|
|
3891
3891
|
> = z.object({
|
|
3892
|
-
_id: z.string().default("
|
|
3892
|
+
_id: z.string().default("01K8A8V0PJ7RQ1V0ER1BD69SRX"),
|
|
3893
3893
|
path: z.string(),
|
|
3894
3894
|
key: z.string(),
|
|
3895
3895
|
display_name: z.string().optional(),
|
|
@@ -3941,7 +3941,7 @@ export const CreateToolResponseBody1$outboundSchema: z.ZodType<
|
|
|
3941
3941
|
z.ZodTypeDef,
|
|
3942
3942
|
CreateToolResponseBody1
|
|
3943
3943
|
> = z.object({
|
|
3944
|
-
id: z.string().default("
|
|
3944
|
+
id: z.string().default("01K8A8V0PJ7RQ1V0ER1BD69SRX"),
|
|
3945
3945
|
path: z.string(),
|
|
3946
3946
|
key: z.string(),
|
|
3947
3947
|
displayName: z.string().optional(),
|