@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
|
@@ -798,7 +798,7 @@ export function dataCodeToolFromJSON(
|
|
|
798
798
|
/** @internal */
|
|
799
799
|
export const Data5$inboundSchema: z.ZodType<Data5, z.ZodTypeDef, unknown> = z
|
|
800
800
|
.object({
|
|
801
|
-
_id: z.string().default("
|
|
801
|
+
_id: z.string().default("01K8A8V0PE1YDNMA0SNYP09KYY"),
|
|
802
802
|
path: z.string(),
|
|
803
803
|
key: z.string(),
|
|
804
804
|
display_name: z.string().optional(),
|
|
@@ -851,7 +851,7 @@ export const Data5$outboundSchema: z.ZodType<
|
|
|
851
851
|
z.ZodTypeDef,
|
|
852
852
|
Data5
|
|
853
853
|
> = z.object({
|
|
854
|
-
id: z.string().default("
|
|
854
|
+
id: z.string().default("01K8A8V0PE1YDNMA0SNYP09KYY"),
|
|
855
855
|
path: z.string(),
|
|
856
856
|
key: z.string(),
|
|
857
857
|
displayName: z.string().optional(),
|
|
@@ -1194,7 +1194,7 @@ export function dataMcpFromJSON(
|
|
|
1194
1194
|
/** @internal */
|
|
1195
1195
|
export const Data4$inboundSchema: z.ZodType<Data4, z.ZodTypeDef, unknown> = z
|
|
1196
1196
|
.object({
|
|
1197
|
-
_id: z.string().default("
|
|
1197
|
+
_id: z.string().default("01K8A8V0PD7R4R9XWKFS3RSGT0"),
|
|
1198
1198
|
path: z.string(),
|
|
1199
1199
|
key: z.string(),
|
|
1200
1200
|
display_name: z.string().optional(),
|
|
@@ -1246,7 +1246,7 @@ export const Data4$outboundSchema: z.ZodType<
|
|
|
1246
1246
|
z.ZodTypeDef,
|
|
1247
1247
|
Data4
|
|
1248
1248
|
> = z.object({
|
|
1249
|
-
id: z.string().default("
|
|
1249
|
+
id: z.string().default("01K8A8V0PD7R4R9XWKFS3RSGT0"),
|
|
1250
1250
|
path: z.string(),
|
|
1251
1251
|
key: z.string(),
|
|
1252
1252
|
displayName: z.string().optional(),
|
|
@@ -1629,7 +1629,7 @@ export function getAllToolsDataHttpFromJSON(
|
|
|
1629
1629
|
/** @internal */
|
|
1630
1630
|
export const Data3$inboundSchema: z.ZodType<Data3, z.ZodTypeDef, unknown> = z
|
|
1631
1631
|
.object({
|
|
1632
|
-
_id: z.string().default("
|
|
1632
|
+
_id: z.string().default("01K8A8V0PDM1DRSGB7BVHS0BA1"),
|
|
1633
1633
|
path: z.string(),
|
|
1634
1634
|
key: z.string(),
|
|
1635
1635
|
display_name: z.string().optional(),
|
|
@@ -1681,7 +1681,7 @@ export const Data3$outboundSchema: z.ZodType<
|
|
|
1681
1681
|
z.ZodTypeDef,
|
|
1682
1682
|
Data3
|
|
1683
1683
|
> = z.object({
|
|
1684
|
-
id: z.string().default("
|
|
1684
|
+
id: z.string().default("01K8A8V0PDM1DRSGB7BVHS0BA1"),
|
|
1685
1685
|
path: z.string(),
|
|
1686
1686
|
key: z.string(),
|
|
1687
1687
|
displayName: z.string().optional(),
|
|
@@ -1842,7 +1842,7 @@ export const GetAllToolsData2$inboundSchema: z.ZodType<
|
|
|
1842
1842
|
z.ZodTypeDef,
|
|
1843
1843
|
unknown
|
|
1844
1844
|
> = z.object({
|
|
1845
|
-
_id: z.string().default("
|
|
1845
|
+
_id: z.string().default("01K8A8V0PC1G95PA723SMDSAFW"),
|
|
1846
1846
|
path: z.string(),
|
|
1847
1847
|
key: z.string(),
|
|
1848
1848
|
display_name: z.string().optional(),
|
|
@@ -1895,7 +1895,7 @@ export const GetAllToolsData2$outboundSchema: z.ZodType<
|
|
|
1895
1895
|
z.ZodTypeDef,
|
|
1896
1896
|
GetAllToolsData2
|
|
1897
1897
|
> = z.object({
|
|
1898
|
-
id: z.string().default("
|
|
1898
|
+
id: z.string().default("01K8A8V0PC1G95PA723SMDSAFW"),
|
|
1899
1899
|
path: z.string(),
|
|
1900
1900
|
key: z.string(),
|
|
1901
1901
|
displayName: z.string().optional(),
|
|
@@ -2063,7 +2063,7 @@ export const GetAllToolsData1$inboundSchema: z.ZodType<
|
|
|
2063
2063
|
z.ZodTypeDef,
|
|
2064
2064
|
unknown
|
|
2065
2065
|
> = z.object({
|
|
2066
|
-
_id: z.string().default("
|
|
2066
|
+
_id: z.string().default("01K8A8V0PCRBRB7JDK5Y9W09BT"),
|
|
2067
2067
|
path: z.string(),
|
|
2068
2068
|
key: z.string(),
|
|
2069
2069
|
display_name: z.string().optional(),
|
|
@@ -2115,7 +2115,7 @@ export const GetAllToolsData1$outboundSchema: z.ZodType<
|
|
|
2115
2115
|
z.ZodTypeDef,
|
|
2116
2116
|
GetAllToolsData1
|
|
2117
2117
|
> = z.object({
|
|
2118
|
-
id: z.string().default("
|
|
2118
|
+
id: z.string().default("01K8A8V0PCRBRB7JDK5Y9W09BT"),
|
|
2119
2119
|
path: z.string(),
|
|
2120
2120
|
key: z.string(),
|
|
2121
2121
|
displayName: z.string().optional(),
|
|
@@ -351,7 +351,7 @@ export const GetBudgetResponseBody$inboundSchema: z.ZodType<
|
|
|
351
351
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
352
352
|
.optional(),
|
|
353
353
|
updated: z.string().datetime({ offset: true }).default(
|
|
354
|
-
"2025-10-
|
|
354
|
+
"2025-10-24T04:49:59.822Z",
|
|
355
355
|
).transform(v => new Date(v)),
|
|
356
356
|
}).transform((v) => {
|
|
357
357
|
return remap$(v, {
|
|
@@ -386,7 +386,7 @@ export const GetBudgetResponseBody$outboundSchema: z.ZodType<
|
|
|
386
386
|
isActive: z.boolean(),
|
|
387
387
|
consumption: z.lazy(() => GetBudgetConsumption$outboundSchema).optional(),
|
|
388
388
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
389
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
389
|
+
updated: z.date().default(() => new Date("2025-10-24T04:49:59.822Z"))
|
|
390
390
|
.transform(v => v.toISOString()),
|
|
391
391
|
}).transform((v) => {
|
|
392
392
|
return remap$(v, {
|
|
@@ -1562,8 +1562,8 @@ export const DataTypescript$inboundSchema: z.ZodType<
|
|
|
1562
1562
|
> = z.object({
|
|
1563
1563
|
_id: z.string(),
|
|
1564
1564
|
description: z.string(),
|
|
1565
|
-
created: z.string().default("2025-10-
|
|
1566
|
-
updated: z.string().default("2025-10-
|
|
1565
|
+
created: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
1566
|
+
updated: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
1567
1567
|
guardrail_config: z.union([
|
|
1568
1568
|
z.lazy(() =>
|
|
1569
1569
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
|
|
@@ -1606,8 +1606,8 @@ export const DataTypescript$outboundSchema: z.ZodType<
|
|
|
1606
1606
|
> = z.object({
|
|
1607
1607
|
id: z.string(),
|
|
1608
1608
|
description: z.string(),
|
|
1609
|
-
created: z.string().default("2025-10-
|
|
1610
|
-
updated: z.string().default("2025-10-
|
|
1609
|
+
created: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
1610
|
+
updated: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
1611
1611
|
guardrailConfig: z.union([
|
|
1612
1612
|
z.lazy(() =>
|
|
1613
1613
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
|
|
@@ -2010,8 +2010,8 @@ export const DataRagas$inboundSchema: z.ZodType<
|
|
|
2010
2010
|
> = z.object({
|
|
2011
2011
|
_id: z.string(),
|
|
2012
2012
|
description: z.string(),
|
|
2013
|
-
created: z.string().default("2025-10-
|
|
2014
|
-
updated: z.string().default("2025-10-
|
|
2013
|
+
created: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
2014
|
+
updated: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
2015
2015
|
guardrail_config: z.union([
|
|
2016
2016
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
2017
2017
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$inboundSchema),
|
|
@@ -2053,8 +2053,8 @@ export const DataRagas$outboundSchema: z.ZodType<
|
|
|
2053
2053
|
> = z.object({
|
|
2054
2054
|
id: z.string(),
|
|
2055
2055
|
description: z.string(),
|
|
2056
|
-
created: z.string().default("2025-10-
|
|
2057
|
-
updated: z.string().default("2025-10-
|
|
2056
|
+
created: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
2057
|
+
updated: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
2058
2058
|
guardrailConfig: z.union([
|
|
2059
2059
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Number$outboundSchema),
|
|
2060
2060
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$outboundSchema),
|
|
@@ -5524,8 +5524,8 @@ export const DataFunction$inboundSchema: z.ZodType<
|
|
|
5524
5524
|
> = z.object({
|
|
5525
5525
|
_id: z.string(),
|
|
5526
5526
|
description: z.string(),
|
|
5527
|
-
created: z.string().default("2025-10-
|
|
5528
|
-
updated: z.string().default("2025-10-
|
|
5527
|
+
created: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
5528
|
+
updated: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
5529
5529
|
guardrail_config: z.union([
|
|
5530
5530
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
5531
5531
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -5635,8 +5635,8 @@ export const DataFunction$outboundSchema: z.ZodType<
|
|
|
5635
5635
|
> = z.object({
|
|
5636
5636
|
id: z.string(),
|
|
5637
5637
|
description: z.string(),
|
|
5638
|
-
created: z.string().default("2025-10-
|
|
5639
|
-
updated: z.string().default("2025-10-
|
|
5638
|
+
created: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
5639
|
+
updated: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
5640
5640
|
guardrailConfig: z.union([
|
|
5641
5641
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
5642
5642
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
@@ -6018,8 +6018,8 @@ export const DataPython$inboundSchema: z.ZodType<
|
|
|
6018
6018
|
> = z.object({
|
|
6019
6019
|
_id: z.string(),
|
|
6020
6020
|
description: z.string(),
|
|
6021
|
-
created: z.string().default("2025-10-
|
|
6022
|
-
updated: z.string().default("2025-10-
|
|
6021
|
+
created: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
6022
|
+
updated: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
6023
6023
|
guardrail_config: z.union([
|
|
6024
6024
|
z.lazy(() => GetEvalsGuardrailConfigEvalsNumber$inboundSchema),
|
|
6025
6025
|
z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$inboundSchema),
|
|
@@ -6057,8 +6057,8 @@ export const DataPython$outboundSchema: z.ZodType<
|
|
|
6057
6057
|
> = z.object({
|
|
6058
6058
|
id: z.string(),
|
|
6059
6059
|
description: z.string(),
|
|
6060
|
-
created: z.string().default("2025-10-
|
|
6061
|
-
updated: z.string().default("2025-10-
|
|
6060
|
+
created: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
6061
|
+
updated: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
6062
6062
|
guardrailConfig: z.union([
|
|
6063
6063
|
z.lazy(() => GetEvalsGuardrailConfigEvalsNumber$outboundSchema),
|
|
6064
6064
|
z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$outboundSchema),
|
|
@@ -6404,8 +6404,8 @@ export const DataHTTP$inboundSchema: z.ZodType<
|
|
|
6404
6404
|
> = z.object({
|
|
6405
6405
|
_id: z.string(),
|
|
6406
6406
|
description: z.string(),
|
|
6407
|
-
created: z.string().default("2025-10-
|
|
6408
|
-
updated: z.string().default("2025-10-
|
|
6407
|
+
created: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
6408
|
+
updated: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
6409
6409
|
guardrail_config: z.union([
|
|
6410
6410
|
z.lazy(() => GetEvalsGuardrailConfigNumber$inboundSchema),
|
|
6411
6411
|
z.lazy(() => GetEvalsGuardrailConfigBoolean$inboundSchema),
|
|
@@ -6449,8 +6449,8 @@ export const DataHTTP$outboundSchema: z.ZodType<
|
|
|
6449
6449
|
> = z.object({
|
|
6450
6450
|
id: z.string(),
|
|
6451
6451
|
description: z.string(),
|
|
6452
|
-
created: z.string().default("2025-10-
|
|
6453
|
-
updated: z.string().default("2025-10-
|
|
6452
|
+
created: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
6453
|
+
updated: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
6454
6454
|
guardrailConfig: z.union([
|
|
6455
6455
|
z.lazy(() => GetEvalsGuardrailConfigNumber$outboundSchema),
|
|
6456
6456
|
z.lazy(() => GetEvalsGuardrailConfigBoolean$outboundSchema),
|
|
@@ -6815,8 +6815,8 @@ export const DataJSON$inboundSchema: z.ZodType<
|
|
|
6815
6815
|
> = z.object({
|
|
6816
6816
|
_id: z.string(),
|
|
6817
6817
|
description: z.string(),
|
|
6818
|
-
created: z.string().default("2025-10-
|
|
6819
|
-
updated: z.string().default("2025-10-
|
|
6818
|
+
created: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
6819
|
+
updated: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
6820
6820
|
guardrail_config: z.union([
|
|
6821
6821
|
z.lazy(() =>
|
|
6822
6822
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$inboundSchema
|
|
@@ -6858,8 +6858,8 @@ export const DataJSON$outboundSchema: z.ZodType<
|
|
|
6858
6858
|
> = z.object({
|
|
6859
6859
|
id: z.string(),
|
|
6860
6860
|
description: z.string(),
|
|
6861
|
-
created: z.string().default("2025-10-
|
|
6862
|
-
updated: z.string().default("2025-10-
|
|
6861
|
+
created: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
6862
|
+
updated: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
6863
6863
|
guardrailConfig: z.union([
|
|
6864
6864
|
z.lazy(() =>
|
|
6865
6865
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$outboundSchema
|
|
@@ -7243,8 +7243,8 @@ export const DataLLM$inboundSchema: z.ZodType<DataLLM, z.ZodTypeDef, unknown> =
|
|
|
7243
7243
|
z.object({
|
|
7244
7244
|
_id: z.string(),
|
|
7245
7245
|
description: z.string(),
|
|
7246
|
-
created: z.string().default("2025-10-
|
|
7247
|
-
updated: z.string().default("2025-10-
|
|
7246
|
+
created: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
7247
|
+
updated: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
7248
7248
|
guardrail_config: z.union([
|
|
7249
7249
|
z.lazy(() =>
|
|
7250
7250
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
|
|
@@ -7288,8 +7288,8 @@ export const DataLLM$outboundSchema: z.ZodType<
|
|
|
7288
7288
|
> = z.object({
|
|
7289
7289
|
id: z.string(),
|
|
7290
7290
|
description: z.string(),
|
|
7291
|
-
created: z.string().default("2025-10-
|
|
7292
|
-
updated: z.string().default("2025-10-
|
|
7291
|
+
created: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
7292
|
+
updated: z.string().default("2025-10-24T04:50:02.245Z"),
|
|
7293
7293
|
guardrailConfig: z.union([
|
|
7294
7294
|
z.lazy(() =>
|
|
7295
7295
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
|
|
@@ -362,7 +362,15 @@ export type GetOnePrompt2File = {
|
|
|
362
362
|
/**
|
|
363
363
|
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
364
364
|
*/
|
|
365
|
-
fileData
|
|
365
|
+
fileData?: string | undefined;
|
|
366
|
+
/**
|
|
367
|
+
* URL to the file. Only supported by Anthropic Claude models for PDF files.
|
|
368
|
+
*/
|
|
369
|
+
uri?: string | undefined;
|
|
370
|
+
/**
|
|
371
|
+
* MIME type of the file (e.g., application/pdf, image/png)
|
|
372
|
+
*/
|
|
373
|
+
mimeType?: string | undefined;
|
|
366
374
|
/**
|
|
367
375
|
* The name of the file, used when passing the file to the model as a string.
|
|
368
376
|
*/
|
|
@@ -1471,7 +1479,9 @@ export const GetOnePrompt2File$inboundSchema: z.ZodType<
|
|
|
1471
1479
|
z.ZodTypeDef,
|
|
1472
1480
|
unknown
|
|
1473
1481
|
> = z.object({
|
|
1474
|
-
file_data: z.string(),
|
|
1482
|
+
file_data: z.string().optional(),
|
|
1483
|
+
uri: z.string().optional(),
|
|
1484
|
+
mimeType: z.string().optional(),
|
|
1475
1485
|
filename: z.string().optional(),
|
|
1476
1486
|
}).transform((v) => {
|
|
1477
1487
|
return remap$(v, {
|
|
@@ -1481,7 +1491,9 @@ export const GetOnePrompt2File$inboundSchema: z.ZodType<
|
|
|
1481
1491
|
|
|
1482
1492
|
/** @internal */
|
|
1483
1493
|
export type GetOnePrompt2File$Outbound = {
|
|
1484
|
-
file_data
|
|
1494
|
+
file_data?: string | undefined;
|
|
1495
|
+
uri?: string | undefined;
|
|
1496
|
+
mimeType?: string | undefined;
|
|
1485
1497
|
filename?: string | undefined;
|
|
1486
1498
|
};
|
|
1487
1499
|
|
|
@@ -1491,7 +1503,9 @@ export const GetOnePrompt2File$outboundSchema: z.ZodType<
|
|
|
1491
1503
|
z.ZodTypeDef,
|
|
1492
1504
|
GetOnePrompt2File
|
|
1493
1505
|
> = z.object({
|
|
1494
|
-
fileData: z.string(),
|
|
1506
|
+
fileData: z.string().optional(),
|
|
1507
|
+
uri: z.string().optional(),
|
|
1508
|
+
mimeType: z.string().optional(),
|
|
1495
1509
|
filename: z.string().optional(),
|
|
1496
1510
|
}).transform((v) => {
|
|
1497
1511
|
return remap$(v, {
|
|
@@ -367,7 +367,15 @@ export type GetPromptVersion2File = {
|
|
|
367
367
|
/**
|
|
368
368
|
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
369
369
|
*/
|
|
370
|
-
fileData
|
|
370
|
+
fileData?: string | undefined;
|
|
371
|
+
/**
|
|
372
|
+
* URL to the file. Only supported by Anthropic Claude models for PDF files.
|
|
373
|
+
*/
|
|
374
|
+
uri?: string | undefined;
|
|
375
|
+
/**
|
|
376
|
+
* MIME type of the file (e.g., application/pdf, image/png)
|
|
377
|
+
*/
|
|
378
|
+
mimeType?: string | undefined;
|
|
371
379
|
/**
|
|
372
380
|
* The name of the file, used when passing the file to the model as a string.
|
|
373
381
|
*/
|
|
@@ -1486,7 +1494,9 @@ export const GetPromptVersion2File$inboundSchema: z.ZodType<
|
|
|
1486
1494
|
z.ZodTypeDef,
|
|
1487
1495
|
unknown
|
|
1488
1496
|
> = z.object({
|
|
1489
|
-
file_data: z.string(),
|
|
1497
|
+
file_data: z.string().optional(),
|
|
1498
|
+
uri: z.string().optional(),
|
|
1499
|
+
mimeType: z.string().optional(),
|
|
1490
1500
|
filename: z.string().optional(),
|
|
1491
1501
|
}).transform((v) => {
|
|
1492
1502
|
return remap$(v, {
|
|
@@ -1496,7 +1506,9 @@ export const GetPromptVersion2File$inboundSchema: z.ZodType<
|
|
|
1496
1506
|
|
|
1497
1507
|
/** @internal */
|
|
1498
1508
|
export type GetPromptVersion2File$Outbound = {
|
|
1499
|
-
file_data
|
|
1509
|
+
file_data?: string | undefined;
|
|
1510
|
+
uri?: string | undefined;
|
|
1511
|
+
mimeType?: string | undefined;
|
|
1500
1512
|
filename?: string | undefined;
|
|
1501
1513
|
};
|
|
1502
1514
|
|
|
@@ -1506,7 +1518,9 @@ export const GetPromptVersion2File$outboundSchema: z.ZodType<
|
|
|
1506
1518
|
z.ZodTypeDef,
|
|
1507
1519
|
GetPromptVersion2File
|
|
1508
1520
|
> = z.object({
|
|
1509
|
-
fileData: z.string(),
|
|
1521
|
+
fileData: z.string().optional(),
|
|
1522
|
+
uri: z.string().optional(),
|
|
1523
|
+
mimeType: z.string().optional(),
|
|
1510
1524
|
filename: z.string().optional(),
|
|
1511
1525
|
}).transform((v) => {
|
|
1512
1526
|
return remap$(v, {
|
|
@@ -44,7 +44,15 @@ export type InvokeEval2File = {
|
|
|
44
44
|
/**
|
|
45
45
|
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
46
46
|
*/
|
|
47
|
-
fileData
|
|
47
|
+
fileData?: string | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* URL to the file. Only supported by Anthropic Claude models for PDF files.
|
|
50
|
+
*/
|
|
51
|
+
uri?: string | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* MIME type of the file (e.g., application/pdf, image/png)
|
|
54
|
+
*/
|
|
55
|
+
mimeType?: string | undefined;
|
|
48
56
|
/**
|
|
49
57
|
* The name of the file, used when passing the file to the model as a string.
|
|
50
58
|
*/
|
|
@@ -380,7 +388,9 @@ export const InvokeEval2File$inboundSchema: z.ZodType<
|
|
|
380
388
|
z.ZodTypeDef,
|
|
381
389
|
unknown
|
|
382
390
|
> = z.object({
|
|
383
|
-
file_data: z.string(),
|
|
391
|
+
file_data: z.string().optional(),
|
|
392
|
+
uri: z.string().optional(),
|
|
393
|
+
mimeType: z.string().optional(),
|
|
384
394
|
filename: z.string().optional(),
|
|
385
395
|
}).transform((v) => {
|
|
386
396
|
return remap$(v, {
|
|
@@ -390,7 +400,9 @@ export const InvokeEval2File$inboundSchema: z.ZodType<
|
|
|
390
400
|
|
|
391
401
|
/** @internal */
|
|
392
402
|
export type InvokeEval2File$Outbound = {
|
|
393
|
-
file_data
|
|
403
|
+
file_data?: string | undefined;
|
|
404
|
+
uri?: string | undefined;
|
|
405
|
+
mimeType?: string | undefined;
|
|
394
406
|
filename?: string | undefined;
|
|
395
407
|
};
|
|
396
408
|
|
|
@@ -400,7 +412,9 @@ export const InvokeEval2File$outboundSchema: z.ZodType<
|
|
|
400
412
|
z.ZodTypeDef,
|
|
401
413
|
InvokeEval2File
|
|
402
414
|
> = z.object({
|
|
403
|
-
fileData: z.string(),
|
|
415
|
+
fileData: z.string().optional(),
|
|
416
|
+
uri: z.string().optional(),
|
|
417
|
+
mimeType: z.string().optional(),
|
|
404
418
|
filename: z.string().optional(),
|
|
405
419
|
}).transform((v) => {
|
|
406
420
|
return remap$(v, {
|
|
@@ -464,7 +464,7 @@ export const ListBudgetsData$inboundSchema: z.ZodType<
|
|
|
464
464
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
465
465
|
.optional(),
|
|
466
466
|
updated: z.string().datetime({ offset: true }).default(
|
|
467
|
-
"2025-10-
|
|
467
|
+
"2025-10-24T04:49:59.822Z",
|
|
468
468
|
).transform(v => new Date(v)),
|
|
469
469
|
}).transform((v) => {
|
|
470
470
|
return remap$(v, {
|
|
@@ -499,7 +499,7 @@ export const ListBudgetsData$outboundSchema: z.ZodType<
|
|
|
499
499
|
isActive: z.boolean(),
|
|
500
500
|
consumption: z.lazy(() => ListBudgetsConsumption$outboundSchema).optional(),
|
|
501
501
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
502
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
502
|
+
updated: z.date().default(() => new Date("2025-10-24T04:49:59.822Z"))
|
|
503
503
|
.transform(v => v.toISOString()),
|
|
504
504
|
}).transform((v) => {
|
|
505
505
|
return remap$(v, {
|
|
@@ -352,7 +352,7 @@ export const Data$inboundSchema: z.ZodType<Data, z.ZodTypeDef, unknown> = z
|
|
|
352
352
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
353
353
|
.optional(),
|
|
354
354
|
updated: z.string().datetime({ offset: true }).default(
|
|
355
|
-
"2025-10-
|
|
355
|
+
"2025-10-24T04:49:59.822Z",
|
|
356
356
|
).transform(v => new Date(v)),
|
|
357
357
|
metrics: z.lazy(() => ListContactsMetrics$inboundSchema),
|
|
358
358
|
}).transform((v) => {
|
|
@@ -389,7 +389,7 @@ export const Data$outboundSchema: z.ZodType<Data$Outbound, z.ZodTypeDef, Data> =
|
|
|
389
389
|
tags: z.array(z.string()).optional(),
|
|
390
390
|
metadata: z.record(z.any()).optional(),
|
|
391
391
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
392
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
392
|
+
updated: z.date().default(() => new Date("2025-10-24T04:49:59.822Z"))
|
|
393
393
|
.transform(v => v.toISOString()),
|
|
394
394
|
metrics: z.lazy(() => ListContactsMetrics$outboundSchema),
|
|
395
395
|
}).transform((v) => {
|
|
@@ -321,11 +321,19 @@ export type ListDatasetDatapoints2File = {
|
|
|
321
321
|
/**
|
|
322
322
|
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
323
323
|
*/
|
|
324
|
-
fileData
|
|
324
|
+
fileData?: string | undefined;
|
|
325
|
+
/**
|
|
326
|
+
* URL to the file. Only supported by Anthropic Claude models for PDF files.
|
|
327
|
+
*/
|
|
328
|
+
uri?: string | undefined;
|
|
329
|
+
/**
|
|
330
|
+
* MIME type of the file (e.g., application/pdf, image/png)
|
|
331
|
+
*/
|
|
332
|
+
mimeType?: string | undefined;
|
|
325
333
|
/**
|
|
326
334
|
* The name of the file, used when passing the file to the model as a string.
|
|
327
335
|
*/
|
|
328
|
-
filename
|
|
336
|
+
filename?: string | undefined;
|
|
329
337
|
};
|
|
330
338
|
|
|
331
339
|
export type ListDatasetDatapoints24 = {
|
|
@@ -2238,8 +2246,10 @@ export const ListDatasetDatapoints2File$inboundSchema: z.ZodType<
|
|
|
2238
2246
|
z.ZodTypeDef,
|
|
2239
2247
|
unknown
|
|
2240
2248
|
> = z.object({
|
|
2241
|
-
file_data: z.string(),
|
|
2242
|
-
|
|
2249
|
+
file_data: z.string().optional(),
|
|
2250
|
+
uri: z.string().optional(),
|
|
2251
|
+
mimeType: z.string().optional(),
|
|
2252
|
+
filename: z.string().optional(),
|
|
2243
2253
|
}).transform((v) => {
|
|
2244
2254
|
return remap$(v, {
|
|
2245
2255
|
"file_data": "fileData",
|
|
@@ -2248,8 +2258,10 @@ export const ListDatasetDatapoints2File$inboundSchema: z.ZodType<
|
|
|
2248
2258
|
|
|
2249
2259
|
/** @internal */
|
|
2250
2260
|
export type ListDatasetDatapoints2File$Outbound = {
|
|
2251
|
-
file_data
|
|
2252
|
-
|
|
2261
|
+
file_data?: string | undefined;
|
|
2262
|
+
uri?: string | undefined;
|
|
2263
|
+
mimeType?: string | undefined;
|
|
2264
|
+
filename?: string | undefined;
|
|
2253
2265
|
};
|
|
2254
2266
|
|
|
2255
2267
|
/** @internal */
|
|
@@ -2258,8 +2270,10 @@ export const ListDatasetDatapoints2File$outboundSchema: z.ZodType<
|
|
|
2258
2270
|
z.ZodTypeDef,
|
|
2259
2271
|
ListDatasetDatapoints2File
|
|
2260
2272
|
> = z.object({
|
|
2261
|
-
fileData: z.string(),
|
|
2262
|
-
|
|
2273
|
+
fileData: z.string().optional(),
|
|
2274
|
+
uri: z.string().optional(),
|
|
2275
|
+
mimeType: z.string().optional(),
|
|
2276
|
+
filename: z.string().optional(),
|
|
2263
2277
|
}).transform((v) => {
|
|
2264
2278
|
return remap$(v, {
|
|
2265
2279
|
fileData: "file_data",
|
|
@@ -3338,7 +3352,7 @@ export const ListDatasetDatapointsEvaluations3$inboundSchema: z.ZodType<
|
|
|
3338
3352
|
source: ListDatasetDatapointsEvaluationsSource$inboundSchema.default("orq"),
|
|
3339
3353
|
reviewed_by_id: z.string(),
|
|
3340
3354
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
3341
|
-
"2025-10-
|
|
3355
|
+
"2025-10-24T04:50:09.593Z",
|
|
3342
3356
|
).transform(v => new Date(v)),
|
|
3343
3357
|
type: ListDatasetDatapointsEvaluationsDatasetsType$inboundSchema,
|
|
3344
3358
|
values: z.array(z.string()),
|
|
@@ -3374,7 +3388,7 @@ export const ListDatasetDatapointsEvaluations3$outboundSchema: z.ZodType<
|
|
|
3374
3388
|
humanReviewId: z.string(),
|
|
3375
3389
|
source: ListDatasetDatapointsEvaluationsSource$outboundSchema.default("orq"),
|
|
3376
3390
|
reviewedById: z.string(),
|
|
3377
|
-
reviewedAt: z.date().default(() => new Date("2025-10-
|
|
3391
|
+
reviewedAt: z.date().default(() => new Date("2025-10-24T04:50:09.593Z"))
|
|
3378
3392
|
.transform(v => v.toISOString()),
|
|
3379
3393
|
type: ListDatasetDatapointsEvaluationsDatasetsType$outboundSchema,
|
|
3380
3394
|
values: z.array(z.string()),
|
|
@@ -3512,7 +3526,7 @@ export const ListDatasetDatapointsEvaluations2$inboundSchema: z.ZodType<
|
|
|
3512
3526
|
.default("orq"),
|
|
3513
3527
|
reviewed_by_id: z.string(),
|
|
3514
3528
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
3515
|
-
"2025-10-
|
|
3529
|
+
"2025-10-24T04:50:09.593Z",
|
|
3516
3530
|
).transform(v => new Date(v)),
|
|
3517
3531
|
type: ListDatasetDatapointsEvaluationsType$inboundSchema,
|
|
3518
3532
|
value: z.number(),
|
|
@@ -3550,7 +3564,7 @@ export const ListDatasetDatapointsEvaluations2$outboundSchema: z.ZodType<
|
|
|
3550
3564
|
source: ListDatasetDatapointsEvaluationsDatasetsResponseSource$outboundSchema
|
|
3551
3565
|
.default("orq"),
|
|
3552
3566
|
reviewedById: z.string(),
|
|
3553
|
-
reviewedAt: z.date().default(() => new Date("2025-10-
|
|
3567
|
+
reviewedAt: z.date().default(() => new Date("2025-10-24T04:50:09.593Z"))
|
|
3554
3568
|
.transform(v => v.toISOString()),
|
|
3555
3569
|
type: ListDatasetDatapointsEvaluationsType$outboundSchema,
|
|
3556
3570
|
value: z.number(),
|
|
@@ -3683,7 +3697,7 @@ export const ListDatasetDatapointsEvaluations1$inboundSchema: z.ZodType<
|
|
|
3683
3697
|
),
|
|
3684
3698
|
reviewed_by_id: z.string(),
|
|
3685
3699
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
3686
|
-
"2025-10-
|
|
3700
|
+
"2025-10-24T04:50:09.592Z",
|
|
3687
3701
|
).transform(v => new Date(v)),
|
|
3688
3702
|
type: ListDatasetDatapointsEvaluationsDatasetsResponseType$inboundSchema,
|
|
3689
3703
|
value: z.string(),
|
|
@@ -3722,7 +3736,7 @@ export const ListDatasetDatapointsEvaluations1$outboundSchema: z.ZodType<
|
|
|
3722
3736
|
"orq",
|
|
3723
3737
|
),
|
|
3724
3738
|
reviewedById: z.string(),
|
|
3725
|
-
reviewedAt: z.date().default(() => new Date("2025-10-
|
|
3739
|
+
reviewedAt: z.date().default(() => new Date("2025-10-24T04:50:09.592Z"))
|
|
3726
3740
|
.transform(v => v.toISOString()),
|
|
3727
3741
|
type: ListDatasetDatapointsEvaluationsDatasetsResponseType$outboundSchema,
|
|
3728
3742
|
value: z.string(),
|
|
@@ -3865,7 +3879,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
|
|
|
3865
3879
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
3866
3880
|
.optional(),
|
|
3867
3881
|
updated: z.string().datetime({ offset: true }).default(
|
|
3868
|
-
"2025-10-
|
|
3882
|
+
"2025-10-24T04:49:59.822Z",
|
|
3869
3883
|
).transform(v => new Date(v)),
|
|
3870
3884
|
}).transform((v) => {
|
|
3871
3885
|
return remap$(v, {
|
|
@@ -3946,7 +3960,7 @@ export const ListDatasetDatapointsData$outboundSchema: z.ZodType<
|
|
|
3946
3960
|
createdById: z.string().optional(),
|
|
3947
3961
|
updatedById: z.string().optional(),
|
|
3948
3962
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
3949
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
3963
|
+
updated: z.date().default(() => new Date("2025-10-24T04:49:59.822Z"))
|
|
3950
3964
|
.transform(v => v.toISOString()),
|
|
3951
3965
|
}).transform((v) => {
|
|
3952
3966
|
return remap$(v, {
|
|
@@ -253,7 +253,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
|
|
|
253
253
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
254
254
|
.optional(),
|
|
255
255
|
updated: z.string().datetime({ offset: true }).default(
|
|
256
|
-
"2025-10-
|
|
256
|
+
"2025-10-24T04:49:59.822Z",
|
|
257
257
|
).transform(v => new Date(v)),
|
|
258
258
|
}).transform((v) => {
|
|
259
259
|
return remap$(v, {
|
|
@@ -293,7 +293,7 @@ export const ListDatasetsData$outboundSchema: z.ZodType<
|
|
|
293
293
|
createdById: z.string().optional(),
|
|
294
294
|
updatedById: z.string().optional(),
|
|
295
295
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
296
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
296
|
+
updated: z.date().default(() => new Date("2025-10-24T04:49:59.822Z"))
|
|
297
297
|
.transform(v => v.toISOString()),
|
|
298
298
|
}).transform((v) => {
|
|
299
299
|
return remap$(v, {
|
|
@@ -285,7 +285,7 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
|
|
|
285
285
|
z.ZodTypeDef,
|
|
286
286
|
unknown
|
|
287
287
|
> = z.object({
|
|
288
|
-
_id: z.string().default("
|
|
288
|
+
_id: z.string().default("01K8A8V0K6HQRSPVA7B48D0HE6"),
|
|
289
289
|
display_name: z.string(),
|
|
290
290
|
description: z.string().optional(),
|
|
291
291
|
status: ListDatasourcesStatus$inboundSchema,
|
|
@@ -329,7 +329,7 @@ export const ListDatasourcesData$outboundSchema: z.ZodType<
|
|
|
329
329
|
z.ZodTypeDef,
|
|
330
330
|
ListDatasourcesData
|
|
331
331
|
> = z.object({
|
|
332
|
-
id: z.string().default("
|
|
332
|
+
id: z.string().default("01K8A8V0K6HQRSPVA7B48D0HE6"),
|
|
333
333
|
displayName: z.string(),
|
|
334
334
|
description: z.string().optional(),
|
|
335
335
|
status: ListDatasourcesStatus$outboundSchema,
|
|
@@ -383,7 +383,15 @@ export type ListPromptVersions2File = {
|
|
|
383
383
|
/**
|
|
384
384
|
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
385
385
|
*/
|
|
386
|
-
fileData
|
|
386
|
+
fileData?: string | undefined;
|
|
387
|
+
/**
|
|
388
|
+
* URL to the file. Only supported by Anthropic Claude models for PDF files.
|
|
389
|
+
*/
|
|
390
|
+
uri?: string | undefined;
|
|
391
|
+
/**
|
|
392
|
+
* MIME type of the file (e.g., application/pdf, image/png)
|
|
393
|
+
*/
|
|
394
|
+
mimeType?: string | undefined;
|
|
387
395
|
/**
|
|
388
396
|
* The name of the file, used when passing the file to the model as a string.
|
|
389
397
|
*/
|
|
@@ -1547,7 +1555,9 @@ export const ListPromptVersions2File$inboundSchema: z.ZodType<
|
|
|
1547
1555
|
z.ZodTypeDef,
|
|
1548
1556
|
unknown
|
|
1549
1557
|
> = z.object({
|
|
1550
|
-
file_data: z.string(),
|
|
1558
|
+
file_data: z.string().optional(),
|
|
1559
|
+
uri: z.string().optional(),
|
|
1560
|
+
mimeType: z.string().optional(),
|
|
1551
1561
|
filename: z.string().optional(),
|
|
1552
1562
|
}).transform((v) => {
|
|
1553
1563
|
return remap$(v, {
|
|
@@ -1557,7 +1567,9 @@ export const ListPromptVersions2File$inboundSchema: z.ZodType<
|
|
|
1557
1567
|
|
|
1558
1568
|
/** @internal */
|
|
1559
1569
|
export type ListPromptVersions2File$Outbound = {
|
|
1560
|
-
file_data
|
|
1570
|
+
file_data?: string | undefined;
|
|
1571
|
+
uri?: string | undefined;
|
|
1572
|
+
mimeType?: string | undefined;
|
|
1561
1573
|
filename?: string | undefined;
|
|
1562
1574
|
};
|
|
1563
1575
|
|
|
@@ -1567,7 +1579,9 @@ export const ListPromptVersions2File$outboundSchema: z.ZodType<
|
|
|
1567
1579
|
z.ZodTypeDef,
|
|
1568
1580
|
ListPromptVersions2File
|
|
1569
1581
|
> = z.object({
|
|
1570
|
-
fileData: z.string(),
|
|
1582
|
+
fileData: z.string().optional(),
|
|
1583
|
+
uri: z.string().optional(),
|
|
1584
|
+
mimeType: z.string().optional(),
|
|
1571
1585
|
filename: z.string().optional(),
|
|
1572
1586
|
}).transform((v) => {
|
|
1573
1587
|
return remap$(v, {
|