@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
|
@@ -331,11 +331,19 @@ export type DeploymentCreateMetric2File = {
|
|
|
331
331
|
/**
|
|
332
332
|
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
333
333
|
*/
|
|
334
|
-
fileData
|
|
334
|
+
fileData?: string | undefined;
|
|
335
|
+
/**
|
|
336
|
+
* URL to the file. Only supported by Anthropic Claude models for PDF files.
|
|
337
|
+
*/
|
|
338
|
+
uri?: string | undefined;
|
|
339
|
+
/**
|
|
340
|
+
* MIME type of the file (e.g., application/pdf, image/png)
|
|
341
|
+
*/
|
|
342
|
+
mimeType?: string | undefined;
|
|
335
343
|
/**
|
|
336
344
|
* The name of the file, used when passing the file to the model as a string.
|
|
337
345
|
*/
|
|
338
|
-
filename
|
|
346
|
+
filename?: string | undefined;
|
|
339
347
|
};
|
|
340
348
|
|
|
341
349
|
export type DeploymentCreateMetric24 = {
|
|
@@ -830,11 +838,19 @@ export type DeploymentCreateMetric2DeploymentsMetricsFile = {
|
|
|
830
838
|
/**
|
|
831
839
|
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
832
840
|
*/
|
|
833
|
-
fileData
|
|
841
|
+
fileData?: string | undefined;
|
|
842
|
+
/**
|
|
843
|
+
* URL to the file. Only supported by Anthropic Claude models for PDF files.
|
|
844
|
+
*/
|
|
845
|
+
uri?: string | undefined;
|
|
846
|
+
/**
|
|
847
|
+
* MIME type of the file (e.g., application/pdf, image/png)
|
|
848
|
+
*/
|
|
849
|
+
mimeType?: string | undefined;
|
|
834
850
|
/**
|
|
835
851
|
* The name of the file, used when passing the file to the model as a string.
|
|
836
852
|
*/
|
|
837
|
-
filename
|
|
853
|
+
filename?: string | undefined;
|
|
838
854
|
};
|
|
839
855
|
|
|
840
856
|
export type DeploymentCreateMetric2DeploymentsMetrics4 = {
|
|
@@ -2652,8 +2668,10 @@ export const DeploymentCreateMetric2File$inboundSchema: z.ZodType<
|
|
|
2652
2668
|
z.ZodTypeDef,
|
|
2653
2669
|
unknown
|
|
2654
2670
|
> = z.object({
|
|
2655
|
-
file_data: z.string(),
|
|
2656
|
-
|
|
2671
|
+
file_data: z.string().optional(),
|
|
2672
|
+
uri: z.string().optional(),
|
|
2673
|
+
mimeType: z.string().optional(),
|
|
2674
|
+
filename: z.string().optional(),
|
|
2657
2675
|
}).transform((v) => {
|
|
2658
2676
|
return remap$(v, {
|
|
2659
2677
|
"file_data": "fileData",
|
|
@@ -2662,8 +2680,10 @@ export const DeploymentCreateMetric2File$inboundSchema: z.ZodType<
|
|
|
2662
2680
|
|
|
2663
2681
|
/** @internal */
|
|
2664
2682
|
export type DeploymentCreateMetric2File$Outbound = {
|
|
2665
|
-
file_data
|
|
2666
|
-
|
|
2683
|
+
file_data?: string | undefined;
|
|
2684
|
+
uri?: string | undefined;
|
|
2685
|
+
mimeType?: string | undefined;
|
|
2686
|
+
filename?: string | undefined;
|
|
2667
2687
|
};
|
|
2668
2688
|
|
|
2669
2689
|
/** @internal */
|
|
@@ -2672,8 +2692,10 @@ export const DeploymentCreateMetric2File$outboundSchema: z.ZodType<
|
|
|
2672
2692
|
z.ZodTypeDef,
|
|
2673
2693
|
DeploymentCreateMetric2File
|
|
2674
2694
|
> = z.object({
|
|
2675
|
-
fileData: z.string(),
|
|
2676
|
-
|
|
2695
|
+
fileData: z.string().optional(),
|
|
2696
|
+
uri: z.string().optional(),
|
|
2697
|
+
mimeType: z.string().optional(),
|
|
2698
|
+
filename: z.string().optional(),
|
|
2677
2699
|
}).transform((v) => {
|
|
2678
2700
|
return remap$(v, {
|
|
2679
2701
|
fileData: "file_data",
|
|
@@ -5105,8 +5127,10 @@ export const DeploymentCreateMetric2DeploymentsMetricsFile$inboundSchema:
|
|
|
5105
5127
|
z.ZodTypeDef,
|
|
5106
5128
|
unknown
|
|
5107
5129
|
> = z.object({
|
|
5108
|
-
file_data: z.string(),
|
|
5109
|
-
|
|
5130
|
+
file_data: z.string().optional(),
|
|
5131
|
+
uri: z.string().optional(),
|
|
5132
|
+
mimeType: z.string().optional(),
|
|
5133
|
+
filename: z.string().optional(),
|
|
5110
5134
|
}).transform((v) => {
|
|
5111
5135
|
return remap$(v, {
|
|
5112
5136
|
"file_data": "fileData",
|
|
@@ -5115,8 +5139,10 @@ export const DeploymentCreateMetric2DeploymentsMetricsFile$inboundSchema:
|
|
|
5115
5139
|
|
|
5116
5140
|
/** @internal */
|
|
5117
5141
|
export type DeploymentCreateMetric2DeploymentsMetricsFile$Outbound = {
|
|
5118
|
-
file_data
|
|
5119
|
-
|
|
5142
|
+
file_data?: string | undefined;
|
|
5143
|
+
uri?: string | undefined;
|
|
5144
|
+
mimeType?: string | undefined;
|
|
5145
|
+
filename?: string | undefined;
|
|
5120
5146
|
};
|
|
5121
5147
|
|
|
5122
5148
|
/** @internal */
|
|
@@ -5126,8 +5152,10 @@ export const DeploymentCreateMetric2DeploymentsMetricsFile$outboundSchema:
|
|
|
5126
5152
|
z.ZodTypeDef,
|
|
5127
5153
|
DeploymentCreateMetric2DeploymentsMetricsFile
|
|
5128
5154
|
> = z.object({
|
|
5129
|
-
fileData: z.string(),
|
|
5130
|
-
|
|
5155
|
+
fileData: z.string().optional(),
|
|
5156
|
+
uri: z.string().optional(),
|
|
5157
|
+
mimeType: z.string().optional(),
|
|
5158
|
+
filename: z.string().optional(),
|
|
5131
5159
|
}).transform((v) => {
|
|
5132
5160
|
return remap$(v, {
|
|
5133
5161
|
fileData: "file_data",
|
|
@@ -271,11 +271,19 @@ export type FileT = {
|
|
|
271
271
|
/**
|
|
272
272
|
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
273
273
|
*/
|
|
274
|
-
fileData
|
|
274
|
+
fileData?: string | undefined;
|
|
275
|
+
/**
|
|
276
|
+
* URL to the file. Only supported by Anthropic Claude models for PDF files.
|
|
277
|
+
*/
|
|
278
|
+
uri?: string | undefined;
|
|
279
|
+
/**
|
|
280
|
+
* MIME type of the file (e.g., application/pdf, image/png)
|
|
281
|
+
*/
|
|
282
|
+
mimeType?: string | undefined;
|
|
275
283
|
/**
|
|
276
284
|
* The name of the file, used when passing the file to the model as a string.
|
|
277
285
|
*/
|
|
278
|
-
filename
|
|
286
|
+
filename?: string | undefined;
|
|
279
287
|
};
|
|
280
288
|
|
|
281
289
|
export type Four = {
|
|
@@ -725,11 +733,19 @@ export type TwoFile = {
|
|
|
725
733
|
/**
|
|
726
734
|
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
727
735
|
*/
|
|
728
|
-
fileData
|
|
736
|
+
fileData?: string | undefined;
|
|
737
|
+
/**
|
|
738
|
+
* URL to the file. Only supported by Anthropic Claude models for PDF files.
|
|
739
|
+
*/
|
|
740
|
+
uri?: string | undefined;
|
|
741
|
+
/**
|
|
742
|
+
* MIME type of the file (e.g., application/pdf, image/png)
|
|
743
|
+
*/
|
|
744
|
+
mimeType?: string | undefined;
|
|
729
745
|
/**
|
|
730
746
|
* The name of the file, used when passing the file to the model as a string.
|
|
731
747
|
*/
|
|
732
|
-
filename
|
|
748
|
+
filename?: string | undefined;
|
|
733
749
|
};
|
|
734
750
|
|
|
735
751
|
export type Two4 = {
|
|
@@ -1373,7 +1389,15 @@ export type DeploymentGetConfig2File = {
|
|
|
1373
1389
|
/**
|
|
1374
1390
|
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
1375
1391
|
*/
|
|
1376
|
-
fileData
|
|
1392
|
+
fileData?: string | undefined;
|
|
1393
|
+
/**
|
|
1394
|
+
* URL to the file. Only supported by Anthropic Claude models for PDF files.
|
|
1395
|
+
*/
|
|
1396
|
+
uri?: string | undefined;
|
|
1397
|
+
/**
|
|
1398
|
+
* MIME type of the file (e.g., application/pdf, image/png)
|
|
1399
|
+
*/
|
|
1400
|
+
mimeType?: string | undefined;
|
|
1377
1401
|
/**
|
|
1378
1402
|
* The name of the file, used when passing the file to the model as a string.
|
|
1379
1403
|
*/
|
|
@@ -2994,8 +3018,10 @@ export namespace DeploymentGetConfig2DeploymentsType$ {
|
|
|
2994
3018
|
/** @internal */
|
|
2995
3019
|
export const FileT$inboundSchema: z.ZodType<FileT, z.ZodTypeDef, unknown> = z
|
|
2996
3020
|
.object({
|
|
2997
|
-
file_data: z.string(),
|
|
2998
|
-
|
|
3021
|
+
file_data: z.string().optional(),
|
|
3022
|
+
uri: z.string().optional(),
|
|
3023
|
+
mimeType: z.string().optional(),
|
|
3024
|
+
filename: z.string().optional(),
|
|
2999
3025
|
}).transform((v) => {
|
|
3000
3026
|
return remap$(v, {
|
|
3001
3027
|
"file_data": "fileData",
|
|
@@ -3004,8 +3030,10 @@ export const FileT$inboundSchema: z.ZodType<FileT, z.ZodTypeDef, unknown> = z
|
|
|
3004
3030
|
|
|
3005
3031
|
/** @internal */
|
|
3006
3032
|
export type FileT$Outbound = {
|
|
3007
|
-
file_data
|
|
3008
|
-
|
|
3033
|
+
file_data?: string | undefined;
|
|
3034
|
+
uri?: string | undefined;
|
|
3035
|
+
mimeType?: string | undefined;
|
|
3036
|
+
filename?: string | undefined;
|
|
3009
3037
|
};
|
|
3010
3038
|
|
|
3011
3039
|
/** @internal */
|
|
@@ -3014,8 +3042,10 @@ export const FileT$outboundSchema: z.ZodType<
|
|
|
3014
3042
|
z.ZodTypeDef,
|
|
3015
3043
|
FileT
|
|
3016
3044
|
> = z.object({
|
|
3017
|
-
fileData: z.string(),
|
|
3018
|
-
|
|
3045
|
+
fileData: z.string().optional(),
|
|
3046
|
+
uri: z.string().optional(),
|
|
3047
|
+
mimeType: z.string().optional(),
|
|
3048
|
+
filename: z.string().optional(),
|
|
3019
3049
|
}).transform((v) => {
|
|
3020
3050
|
return remap$(v, {
|
|
3021
3051
|
fileData: "file_data",
|
|
@@ -5107,8 +5137,10 @@ export namespace DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Conte
|
|
|
5107
5137
|
/** @internal */
|
|
5108
5138
|
export const TwoFile$inboundSchema: z.ZodType<TwoFile, z.ZodTypeDef, unknown> =
|
|
5109
5139
|
z.object({
|
|
5110
|
-
file_data: z.string(),
|
|
5111
|
-
|
|
5140
|
+
file_data: z.string().optional(),
|
|
5141
|
+
uri: z.string().optional(),
|
|
5142
|
+
mimeType: z.string().optional(),
|
|
5143
|
+
filename: z.string().optional(),
|
|
5112
5144
|
}).transform((v) => {
|
|
5113
5145
|
return remap$(v, {
|
|
5114
5146
|
"file_data": "fileData",
|
|
@@ -5117,8 +5149,10 @@ export const TwoFile$inboundSchema: z.ZodType<TwoFile, z.ZodTypeDef, unknown> =
|
|
|
5117
5149
|
|
|
5118
5150
|
/** @internal */
|
|
5119
5151
|
export type TwoFile$Outbound = {
|
|
5120
|
-
file_data
|
|
5121
|
-
|
|
5152
|
+
file_data?: string | undefined;
|
|
5153
|
+
uri?: string | undefined;
|
|
5154
|
+
mimeType?: string | undefined;
|
|
5155
|
+
filename?: string | undefined;
|
|
5122
5156
|
};
|
|
5123
5157
|
|
|
5124
5158
|
/** @internal */
|
|
@@ -5127,8 +5161,10 @@ export const TwoFile$outboundSchema: z.ZodType<
|
|
|
5127
5161
|
z.ZodTypeDef,
|
|
5128
5162
|
TwoFile
|
|
5129
5163
|
> = z.object({
|
|
5130
|
-
fileData: z.string(),
|
|
5131
|
-
|
|
5164
|
+
fileData: z.string().optional(),
|
|
5165
|
+
uri: z.string().optional(),
|
|
5166
|
+
mimeType: z.string().optional(),
|
|
5167
|
+
filename: z.string().optional(),
|
|
5132
5168
|
}).transform((v) => {
|
|
5133
5169
|
return remap$(v, {
|
|
5134
5170
|
fileData: "file_data",
|
|
@@ -8813,7 +8849,9 @@ export const DeploymentGetConfig2File$inboundSchema: z.ZodType<
|
|
|
8813
8849
|
z.ZodTypeDef,
|
|
8814
8850
|
unknown
|
|
8815
8851
|
> = z.object({
|
|
8816
|
-
file_data: z.string(),
|
|
8852
|
+
file_data: z.string().optional(),
|
|
8853
|
+
uri: z.string().optional(),
|
|
8854
|
+
mimeType: z.string().optional(),
|
|
8817
8855
|
filename: z.string().optional(),
|
|
8818
8856
|
}).transform((v) => {
|
|
8819
8857
|
return remap$(v, {
|
|
@@ -8823,7 +8861,9 @@ export const DeploymentGetConfig2File$inboundSchema: z.ZodType<
|
|
|
8823
8861
|
|
|
8824
8862
|
/** @internal */
|
|
8825
8863
|
export type DeploymentGetConfig2File$Outbound = {
|
|
8826
|
-
file_data
|
|
8864
|
+
file_data?: string | undefined;
|
|
8865
|
+
uri?: string | undefined;
|
|
8866
|
+
mimeType?: string | undefined;
|
|
8827
8867
|
filename?: string | undefined;
|
|
8828
8868
|
};
|
|
8829
8869
|
|
|
@@ -8833,7 +8873,9 @@ export const DeploymentGetConfig2File$outboundSchema: z.ZodType<
|
|
|
8833
8873
|
z.ZodTypeDef,
|
|
8834
8874
|
DeploymentGetConfig2File
|
|
8835
8875
|
> = z.object({
|
|
8836
|
-
fileData: z.string(),
|
|
8876
|
+
fileData: z.string().optional(),
|
|
8877
|
+
uri: z.string().optional(),
|
|
8878
|
+
mimeType: z.string().optional(),
|
|
8837
8879
|
filename: z.string().optional(),
|
|
8838
8880
|
}).transform((v) => {
|
|
8839
8881
|
return remap$(v, {
|
|
@@ -431,7 +431,15 @@ export type Deployments2File = {
|
|
|
431
431
|
/**
|
|
432
432
|
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
433
433
|
*/
|
|
434
|
-
fileData
|
|
434
|
+
fileData?: string | undefined;
|
|
435
|
+
/**
|
|
436
|
+
* URL to the file. Only supported by Anthropic Claude models for PDF files.
|
|
437
|
+
*/
|
|
438
|
+
uri?: string | undefined;
|
|
439
|
+
/**
|
|
440
|
+
* MIME type of the file (e.g., application/pdf, image/png)
|
|
441
|
+
*/
|
|
442
|
+
mimeType?: string | undefined;
|
|
435
443
|
/**
|
|
436
444
|
* The name of the file, used when passing the file to the model as a string.
|
|
437
445
|
*/
|
|
@@ -1726,7 +1734,9 @@ export const Deployments2File$inboundSchema: z.ZodType<
|
|
|
1726
1734
|
z.ZodTypeDef,
|
|
1727
1735
|
unknown
|
|
1728
1736
|
> = z.object({
|
|
1729
|
-
file_data: z.string(),
|
|
1737
|
+
file_data: z.string().optional(),
|
|
1738
|
+
uri: z.string().optional(),
|
|
1739
|
+
mimeType: z.string().optional(),
|
|
1730
1740
|
filename: z.string().optional(),
|
|
1731
1741
|
}).transform((v) => {
|
|
1732
1742
|
return remap$(v, {
|
|
@@ -1736,7 +1746,9 @@ export const Deployments2File$inboundSchema: z.ZodType<
|
|
|
1736
1746
|
|
|
1737
1747
|
/** @internal */
|
|
1738
1748
|
export type Deployments2File$Outbound = {
|
|
1739
|
-
file_data
|
|
1749
|
+
file_data?: string | undefined;
|
|
1750
|
+
uri?: string | undefined;
|
|
1751
|
+
mimeType?: string | undefined;
|
|
1740
1752
|
filename?: string | undefined;
|
|
1741
1753
|
};
|
|
1742
1754
|
|
|
@@ -1746,7 +1758,9 @@ export const Deployments2File$outboundSchema: z.ZodType<
|
|
|
1746
1758
|
z.ZodTypeDef,
|
|
1747
1759
|
Deployments2File
|
|
1748
1760
|
> = z.object({
|
|
1749
|
-
fileData: z.string(),
|
|
1761
|
+
fileData: z.string().optional(),
|
|
1762
|
+
uri: z.string().optional(),
|
|
1763
|
+
mimeType: z.string().optional(),
|
|
1750
1764
|
filename: z.string().optional(),
|
|
1751
1765
|
}).transform((v) => {
|
|
1752
1766
|
return remap$(v, {
|
|
@@ -300,11 +300,19 @@ export type DeploymentStream2File = {
|
|
|
300
300
|
/**
|
|
301
301
|
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
302
302
|
*/
|
|
303
|
-
fileData
|
|
303
|
+
fileData?: string | undefined;
|
|
304
|
+
/**
|
|
305
|
+
* URL to the file. Only supported by Anthropic Claude models for PDF files.
|
|
306
|
+
*/
|
|
307
|
+
uri?: string | undefined;
|
|
308
|
+
/**
|
|
309
|
+
* MIME type of the file (e.g., application/pdf, image/png)
|
|
310
|
+
*/
|
|
311
|
+
mimeType?: string | undefined;
|
|
304
312
|
/**
|
|
305
313
|
* The name of the file, used when passing the file to the model as a string.
|
|
306
314
|
*/
|
|
307
|
-
filename
|
|
315
|
+
filename?: string | undefined;
|
|
308
316
|
};
|
|
309
317
|
|
|
310
318
|
export type DeploymentStream24 = {
|
|
@@ -791,11 +799,19 @@ export type DeploymentStream2DeploymentsFile = {
|
|
|
791
799
|
/**
|
|
792
800
|
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
793
801
|
*/
|
|
794
|
-
fileData
|
|
802
|
+
fileData?: string | undefined;
|
|
803
|
+
/**
|
|
804
|
+
* URL to the file. Only supported by Anthropic Claude models for PDF files.
|
|
805
|
+
*/
|
|
806
|
+
uri?: string | undefined;
|
|
807
|
+
/**
|
|
808
|
+
* MIME type of the file (e.g., application/pdf, image/png)
|
|
809
|
+
*/
|
|
810
|
+
mimeType?: string | undefined;
|
|
795
811
|
/**
|
|
796
812
|
* The name of the file, used when passing the file to the model as a string.
|
|
797
813
|
*/
|
|
798
|
-
filename
|
|
814
|
+
filename?: string | undefined;
|
|
799
815
|
};
|
|
800
816
|
|
|
801
817
|
export type DeploymentStream2Deployments4 = {
|
|
@@ -3095,8 +3111,10 @@ export const DeploymentStream2File$inboundSchema: z.ZodType<
|
|
|
3095
3111
|
z.ZodTypeDef,
|
|
3096
3112
|
unknown
|
|
3097
3113
|
> = z.object({
|
|
3098
|
-
file_data: z.string(),
|
|
3099
|
-
|
|
3114
|
+
file_data: z.string().optional(),
|
|
3115
|
+
uri: z.string().optional(),
|
|
3116
|
+
mimeType: z.string().optional(),
|
|
3117
|
+
filename: z.string().optional(),
|
|
3100
3118
|
}).transform((v) => {
|
|
3101
3119
|
return remap$(v, {
|
|
3102
3120
|
"file_data": "fileData",
|
|
@@ -3105,8 +3123,10 @@ export const DeploymentStream2File$inboundSchema: z.ZodType<
|
|
|
3105
3123
|
|
|
3106
3124
|
/** @internal */
|
|
3107
3125
|
export type DeploymentStream2File$Outbound = {
|
|
3108
|
-
file_data
|
|
3109
|
-
|
|
3126
|
+
file_data?: string | undefined;
|
|
3127
|
+
uri?: string | undefined;
|
|
3128
|
+
mimeType?: string | undefined;
|
|
3129
|
+
filename?: string | undefined;
|
|
3110
3130
|
};
|
|
3111
3131
|
|
|
3112
3132
|
/** @internal */
|
|
@@ -3115,8 +3135,10 @@ export const DeploymentStream2File$outboundSchema: z.ZodType<
|
|
|
3115
3135
|
z.ZodTypeDef,
|
|
3116
3136
|
DeploymentStream2File
|
|
3117
3137
|
> = z.object({
|
|
3118
|
-
fileData: z.string(),
|
|
3119
|
-
|
|
3138
|
+
fileData: z.string().optional(),
|
|
3139
|
+
uri: z.string().optional(),
|
|
3140
|
+
mimeType: z.string().optional(),
|
|
3141
|
+
filename: z.string().optional(),
|
|
3120
3142
|
}).transform((v) => {
|
|
3121
3143
|
return remap$(v, {
|
|
3122
3144
|
fileData: "file_data",
|
|
@@ -5492,8 +5514,10 @@ export const DeploymentStream2DeploymentsFile$inboundSchema: z.ZodType<
|
|
|
5492
5514
|
z.ZodTypeDef,
|
|
5493
5515
|
unknown
|
|
5494
5516
|
> = z.object({
|
|
5495
|
-
file_data: z.string(),
|
|
5496
|
-
|
|
5517
|
+
file_data: z.string().optional(),
|
|
5518
|
+
uri: z.string().optional(),
|
|
5519
|
+
mimeType: z.string().optional(),
|
|
5520
|
+
filename: z.string().optional(),
|
|
5497
5521
|
}).transform((v) => {
|
|
5498
5522
|
return remap$(v, {
|
|
5499
5523
|
"file_data": "fileData",
|
|
@@ -5502,8 +5526,10 @@ export const DeploymentStream2DeploymentsFile$inboundSchema: z.ZodType<
|
|
|
5502
5526
|
|
|
5503
5527
|
/** @internal */
|
|
5504
5528
|
export type DeploymentStream2DeploymentsFile$Outbound = {
|
|
5505
|
-
file_data
|
|
5506
|
-
|
|
5529
|
+
file_data?: string | undefined;
|
|
5530
|
+
uri?: string | undefined;
|
|
5531
|
+
mimeType?: string | undefined;
|
|
5532
|
+
filename?: string | undefined;
|
|
5507
5533
|
};
|
|
5508
5534
|
|
|
5509
5535
|
/** @internal */
|
|
@@ -5512,8 +5538,10 @@ export const DeploymentStream2DeploymentsFile$outboundSchema: z.ZodType<
|
|
|
5512
5538
|
z.ZodTypeDef,
|
|
5513
5539
|
DeploymentStream2DeploymentsFile
|
|
5514
5540
|
> = z.object({
|
|
5515
|
-
fileData: z.string(),
|
|
5516
|
-
|
|
5541
|
+
fileData: z.string().optional(),
|
|
5542
|
+
uri: z.string().optional(),
|
|
5543
|
+
mimeType: z.string().optional(),
|
|
5544
|
+
filename: z.string().optional(),
|
|
5517
5545
|
}).transform((v) => {
|
|
5518
5546
|
return remap$(v, {
|
|
5519
5547
|
fileData: "file_data",
|
|
@@ -788,7 +788,7 @@ export const DuplicateToolResponseBody5$inboundSchema: z.ZodType<
|
|
|
788
788
|
z.ZodTypeDef,
|
|
789
789
|
unknown
|
|
790
790
|
> = z.object({
|
|
791
|
-
_id: z.string().default("
|
|
791
|
+
_id: z.string().default("01K8A8V0PYYRN9PTYVZBDKZMZH"),
|
|
792
792
|
path: z.string(),
|
|
793
793
|
key: z.string(),
|
|
794
794
|
display_name: z.string().optional(),
|
|
@@ -844,7 +844,7 @@ export const DuplicateToolResponseBody5$outboundSchema: z.ZodType<
|
|
|
844
844
|
z.ZodTypeDef,
|
|
845
845
|
DuplicateToolResponseBody5
|
|
846
846
|
> = z.object({
|
|
847
|
-
id: z.string().default("
|
|
847
|
+
id: z.string().default("01K8A8V0PYYRN9PTYVZBDKZMZH"),
|
|
848
848
|
path: z.string(),
|
|
849
849
|
key: z.string(),
|
|
850
850
|
displayName: z.string().optional(),
|
|
@@ -1232,7 +1232,7 @@ export const DuplicateToolResponseBody4$inboundSchema: z.ZodType<
|
|
|
1232
1232
|
z.ZodTypeDef,
|
|
1233
1233
|
unknown
|
|
1234
1234
|
> = z.object({
|
|
1235
|
-
_id: z.string().default("
|
|
1235
|
+
_id: z.string().default("01K8A8V0PYA6E238PWC50ETZCA"),
|
|
1236
1236
|
path: z.string(),
|
|
1237
1237
|
key: z.string(),
|
|
1238
1238
|
display_name: z.string().optional(),
|
|
@@ -1286,7 +1286,7 @@ export const DuplicateToolResponseBody4$outboundSchema: z.ZodType<
|
|
|
1286
1286
|
z.ZodTypeDef,
|
|
1287
1287
|
DuplicateToolResponseBody4
|
|
1288
1288
|
> = z.object({
|
|
1289
|
-
id: z.string().default("
|
|
1289
|
+
id: z.string().default("01K8A8V0PYA6E238PWC50ETZCA"),
|
|
1290
1290
|
path: z.string(),
|
|
1291
1291
|
key: z.string(),
|
|
1292
1292
|
displayName: z.string().optional(),
|
|
@@ -1713,7 +1713,7 @@ export const DuplicateToolResponseBody3$inboundSchema: z.ZodType<
|
|
|
1713
1713
|
z.ZodTypeDef,
|
|
1714
1714
|
unknown
|
|
1715
1715
|
> = z.object({
|
|
1716
|
-
_id: z.string().default("
|
|
1716
|
+
_id: z.string().default("01K8A8V0PX2MA8AN6N9KY2QJG7"),
|
|
1717
1717
|
path: z.string(),
|
|
1718
1718
|
key: z.string(),
|
|
1719
1719
|
display_name: z.string().optional(),
|
|
@@ -1767,7 +1767,7 @@ export const DuplicateToolResponseBody3$outboundSchema: z.ZodType<
|
|
|
1767
1767
|
z.ZodTypeDef,
|
|
1768
1768
|
DuplicateToolResponseBody3
|
|
1769
1769
|
> = z.object({
|
|
1770
|
-
id: z.string().default("
|
|
1770
|
+
id: z.string().default("01K8A8V0PX2MA8AN6N9KY2QJG7"),
|
|
1771
1771
|
path: z.string(),
|
|
1772
1772
|
key: z.string(),
|
|
1773
1773
|
displayName: z.string().optional(),
|
|
@@ -1947,7 +1947,7 @@ export const DuplicateToolResponseBody2$inboundSchema: z.ZodType<
|
|
|
1947
1947
|
z.ZodTypeDef,
|
|
1948
1948
|
unknown
|
|
1949
1949
|
> = z.object({
|
|
1950
|
-
_id: z.string().default("
|
|
1950
|
+
_id: z.string().default("01K8A8V0PWM8CXH3CRDPG371ZE"),
|
|
1951
1951
|
path: z.string(),
|
|
1952
1952
|
key: z.string(),
|
|
1953
1953
|
display_name: z.string().optional(),
|
|
@@ -2000,7 +2000,7 @@ export const DuplicateToolResponseBody2$outboundSchema: z.ZodType<
|
|
|
2000
2000
|
z.ZodTypeDef,
|
|
2001
2001
|
DuplicateToolResponseBody2
|
|
2002
2002
|
> = z.object({
|
|
2003
|
-
id: z.string().default("
|
|
2003
|
+
id: z.string().default("01K8A8V0PWM8CXH3CRDPG371ZE"),
|
|
2004
2004
|
path: z.string(),
|
|
2005
2005
|
key: z.string(),
|
|
2006
2006
|
displayName: z.string().optional(),
|
|
@@ -2173,7 +2173,7 @@ export const DuplicateToolResponseBody1$inboundSchema: z.ZodType<
|
|
|
2173
2173
|
z.ZodTypeDef,
|
|
2174
2174
|
unknown
|
|
2175
2175
|
> = z.object({
|
|
2176
|
-
_id: z.string().default("
|
|
2176
|
+
_id: z.string().default("01K8A8V0PWS0PJMFV511PKH7K2"),
|
|
2177
2177
|
path: z.string(),
|
|
2178
2178
|
key: z.string(),
|
|
2179
2179
|
display_name: z.string().optional(),
|
|
@@ -2225,7 +2225,7 @@ export const DuplicateToolResponseBody1$outboundSchema: z.ZodType<
|
|
|
2225
2225
|
z.ZodTypeDef,
|
|
2226
2226
|
DuplicateToolResponseBody1
|
|
2227
2227
|
> = z.object({
|
|
2228
|
-
id: z.string().default("
|
|
2228
|
+
id: z.string().default("01K8A8V0PWS0PJMFV511PKH7K2"),
|
|
2229
2229
|
path: z.string(),
|
|
2230
2230
|
key: z.string(),
|
|
2231
2231
|
displayName: z.string().optional(),
|
|
@@ -146,7 +146,7 @@ export const FileGetResponseBody$inboundSchema: z.ZodType<
|
|
|
146
146
|
file_name: z.string(),
|
|
147
147
|
workspace_id: z.string(),
|
|
148
148
|
created: z.string().datetime({ offset: true }).default(
|
|
149
|
-
"2025-10-
|
|
149
|
+
"2025-10-24T04:50:03.169Z",
|
|
150
150
|
).transform(v => new Date(v)),
|
|
151
151
|
}).transform((v) => {
|
|
152
152
|
return remap$(v, {
|
|
@@ -180,7 +180,7 @@ export const FileGetResponseBody$outboundSchema: z.ZodType<
|
|
|
180
180
|
bytes: z.number(),
|
|
181
181
|
fileName: z.string(),
|
|
182
182
|
workspaceId: z.string(),
|
|
183
|
-
created: z.date().default(() => new Date("2025-10-
|
|
183
|
+
created: z.date().default(() => new Date("2025-10-24T04:50:03.169Z"))
|
|
184
184
|
.transform(v => v.toISOString()),
|
|
185
185
|
}).transform((v) => {
|
|
186
186
|
return remap$(v, {
|
|
@@ -196,7 +196,7 @@ export const FileListData$inboundSchema: z.ZodType<
|
|
|
196
196
|
file_name: z.string(),
|
|
197
197
|
workspace_id: z.string(),
|
|
198
198
|
created: z.string().datetime({ offset: true }).default(
|
|
199
|
-
"2025-10-
|
|
199
|
+
"2025-10-24T04:50:03.169Z",
|
|
200
200
|
).transform(v => new Date(v)),
|
|
201
201
|
}).transform((v) => {
|
|
202
202
|
return remap$(v, {
|
|
@@ -230,7 +230,7 @@ export const FileListData$outboundSchema: z.ZodType<
|
|
|
230
230
|
bytes: z.number(),
|
|
231
231
|
fileName: z.string(),
|
|
232
232
|
workspaceId: z.string(),
|
|
233
|
-
created: z.date().default(() => new Date("2025-10-
|
|
233
|
+
created: z.date().default(() => new Date("2025-10-24T04:50:03.169Z"))
|
|
234
234
|
.transform(v => v.toISOString()),
|
|
235
235
|
}).transform((v) => {
|
|
236
236
|
return remap$(v, {
|
|
@@ -250,7 +250,7 @@ export const FileUploadResponseBody$inboundSchema: z.ZodType<
|
|
|
250
250
|
file_name: z.string(),
|
|
251
251
|
workspace_id: z.string(),
|
|
252
252
|
created: z.string().datetime({ offset: true }).default(
|
|
253
|
-
"2025-10-
|
|
253
|
+
"2025-10-24T04:50:03.169Z",
|
|
254
254
|
).transform(v => new Date(v)),
|
|
255
255
|
}).transform((v) => {
|
|
256
256
|
return remap$(v, {
|
|
@@ -284,7 +284,7 @@ export const FileUploadResponseBody$outboundSchema: z.ZodType<
|
|
|
284
284
|
bytes: z.number(),
|
|
285
285
|
fileName: z.string(),
|
|
286
286
|
workspaceId: z.string(),
|
|
287
|
-
created: z.date().default(() => new Date("2025-10-
|
|
287
|
+
created: z.date().default(() => new Date("2025-10-24T04:50:03.169Z"))
|
|
288
288
|
.transform(v => v.toISOString()),
|
|
289
289
|
}).transform((v) => {
|
|
290
290
|
return remap$(v, {
|
|
@@ -375,7 +375,15 @@ export type GetAllPrompts2File = {
|
|
|
375
375
|
/**
|
|
376
376
|
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
377
377
|
*/
|
|
378
|
-
fileData
|
|
378
|
+
fileData?: string | undefined;
|
|
379
|
+
/**
|
|
380
|
+
* URL to the file. Only supported by Anthropic Claude models for PDF files.
|
|
381
|
+
*/
|
|
382
|
+
uri?: string | undefined;
|
|
383
|
+
/**
|
|
384
|
+
* MIME type of the file (e.g., application/pdf, image/png)
|
|
385
|
+
*/
|
|
386
|
+
mimeType?: string | undefined;
|
|
379
387
|
/**
|
|
380
388
|
* The name of the file, used when passing the file to the model as a string.
|
|
381
389
|
*/
|
|
@@ -1540,7 +1548,9 @@ export const GetAllPrompts2File$inboundSchema: z.ZodType<
|
|
|
1540
1548
|
z.ZodTypeDef,
|
|
1541
1549
|
unknown
|
|
1542
1550
|
> = z.object({
|
|
1543
|
-
file_data: z.string(),
|
|
1551
|
+
file_data: z.string().optional(),
|
|
1552
|
+
uri: z.string().optional(),
|
|
1553
|
+
mimeType: z.string().optional(),
|
|
1544
1554
|
filename: z.string().optional(),
|
|
1545
1555
|
}).transform((v) => {
|
|
1546
1556
|
return remap$(v, {
|
|
@@ -1550,7 +1560,9 @@ export const GetAllPrompts2File$inboundSchema: z.ZodType<
|
|
|
1550
1560
|
|
|
1551
1561
|
/** @internal */
|
|
1552
1562
|
export type GetAllPrompts2File$Outbound = {
|
|
1553
|
-
file_data
|
|
1563
|
+
file_data?: string | undefined;
|
|
1564
|
+
uri?: string | undefined;
|
|
1565
|
+
mimeType?: string | undefined;
|
|
1554
1566
|
filename?: string | undefined;
|
|
1555
1567
|
};
|
|
1556
1568
|
|
|
@@ -1560,7 +1572,9 @@ export const GetAllPrompts2File$outboundSchema: z.ZodType<
|
|
|
1560
1572
|
z.ZodTypeDef,
|
|
1561
1573
|
GetAllPrompts2File
|
|
1562
1574
|
> = z.object({
|
|
1563
|
-
fileData: z.string(),
|
|
1575
|
+
fileData: z.string().optional(),
|
|
1576
|
+
uri: z.string().optional(),
|
|
1577
|
+
mimeType: z.string().optional(),
|
|
1564
1578
|
filename: z.string().optional(),
|
|
1565
1579
|
}).transform((v) => {
|
|
1566
1580
|
return remap$(v, {
|