@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
|
@@ -127,7 +127,7 @@ export const RetrieveContactResponseBody$inboundSchema: z.ZodType<
|
|
|
127
127
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
128
128
|
.optional(),
|
|
129
129
|
updated: z.string().datetime({ offset: true }).default(
|
|
130
|
-
"2025-10-
|
|
130
|
+
"2025-10-24T04:49:59.822Z",
|
|
131
131
|
).transform(v => new Date(v)),
|
|
132
132
|
}).transform((v) => {
|
|
133
133
|
return remap$(v, {
|
|
@@ -165,7 +165,7 @@ export const RetrieveContactResponseBody$outboundSchema: z.ZodType<
|
|
|
165
165
|
tags: z.array(z.string()).optional(),
|
|
166
166
|
metadata: z.record(z.any()).optional(),
|
|
167
167
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
168
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
168
|
+
updated: z.date().default(() => new Date("2025-10-24T04:49:59.822Z"))
|
|
169
169
|
.transform(v => v.toISOString()),
|
|
170
170
|
}).transform((v) => {
|
|
171
171
|
return remap$(v, {
|
|
@@ -295,11 +295,19 @@ export type RetrieveDatapoint2File = {
|
|
|
295
295
|
/**
|
|
296
296
|
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
297
297
|
*/
|
|
298
|
-
fileData
|
|
298
|
+
fileData?: string | undefined;
|
|
299
|
+
/**
|
|
300
|
+
* URL to the file. Only supported by Anthropic Claude models for PDF files.
|
|
301
|
+
*/
|
|
302
|
+
uri?: string | undefined;
|
|
303
|
+
/**
|
|
304
|
+
* MIME type of the file (e.g., application/pdf, image/png)
|
|
305
|
+
*/
|
|
306
|
+
mimeType?: string | undefined;
|
|
299
307
|
/**
|
|
300
308
|
* The name of the file, used when passing the file to the model as a string.
|
|
301
309
|
*/
|
|
302
|
-
filename
|
|
310
|
+
filename?: string | undefined;
|
|
303
311
|
};
|
|
304
312
|
|
|
305
313
|
export type RetrieveDatapoint24 = {
|
|
@@ -2114,8 +2122,10 @@ export const RetrieveDatapoint2File$inboundSchema: z.ZodType<
|
|
|
2114
2122
|
z.ZodTypeDef,
|
|
2115
2123
|
unknown
|
|
2116
2124
|
> = z.object({
|
|
2117
|
-
file_data: z.string(),
|
|
2118
|
-
|
|
2125
|
+
file_data: z.string().optional(),
|
|
2126
|
+
uri: z.string().optional(),
|
|
2127
|
+
mimeType: z.string().optional(),
|
|
2128
|
+
filename: z.string().optional(),
|
|
2119
2129
|
}).transform((v) => {
|
|
2120
2130
|
return remap$(v, {
|
|
2121
2131
|
"file_data": "fileData",
|
|
@@ -2124,8 +2134,10 @@ export const RetrieveDatapoint2File$inboundSchema: z.ZodType<
|
|
|
2124
2134
|
|
|
2125
2135
|
/** @internal */
|
|
2126
2136
|
export type RetrieveDatapoint2File$Outbound = {
|
|
2127
|
-
file_data
|
|
2128
|
-
|
|
2137
|
+
file_data?: string | undefined;
|
|
2138
|
+
uri?: string | undefined;
|
|
2139
|
+
mimeType?: string | undefined;
|
|
2140
|
+
filename?: string | undefined;
|
|
2129
2141
|
};
|
|
2130
2142
|
|
|
2131
2143
|
/** @internal */
|
|
@@ -2134,8 +2146,10 @@ export const RetrieveDatapoint2File$outboundSchema: z.ZodType<
|
|
|
2134
2146
|
z.ZodTypeDef,
|
|
2135
2147
|
RetrieveDatapoint2File
|
|
2136
2148
|
> = z.object({
|
|
2137
|
-
fileData: z.string(),
|
|
2138
|
-
|
|
2149
|
+
fileData: z.string().optional(),
|
|
2150
|
+
uri: z.string().optional(),
|
|
2151
|
+
mimeType: z.string().optional(),
|
|
2152
|
+
filename: z.string().optional(),
|
|
2139
2153
|
}).transform((v) => {
|
|
2140
2154
|
return remap$(v, {
|
|
2141
2155
|
fileData: "file_data",
|
|
@@ -3197,7 +3211,7 @@ export const RetrieveDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
3197
3211
|
.default("orq"),
|
|
3198
3212
|
reviewed_by_id: z.string(),
|
|
3199
3213
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
3200
|
-
"2025-10-
|
|
3214
|
+
"2025-10-24T04:50:09.596Z",
|
|
3201
3215
|
).transform(v => new Date(v)),
|
|
3202
3216
|
type: RetrieveDatapointEvaluationsDatasetsResponseType$inboundSchema,
|
|
3203
3217
|
values: z.array(z.string()),
|
|
@@ -3235,7 +3249,7 @@ export const RetrieveDatapointEvaluations3$outboundSchema: z.ZodType<
|
|
|
3235
3249
|
source: RetrieveDatapointEvaluationsDatasetsResponseSource$outboundSchema
|
|
3236
3250
|
.default("orq"),
|
|
3237
3251
|
reviewedById: z.string(),
|
|
3238
|
-
reviewedAt: z.date().default(() => new Date("2025-10-
|
|
3252
|
+
reviewedAt: z.date().default(() => new Date("2025-10-24T04:50:09.596Z"))
|
|
3239
3253
|
.transform(v => v.toISOString()),
|
|
3240
3254
|
type: RetrieveDatapointEvaluationsDatasetsResponseType$outboundSchema,
|
|
3241
3255
|
values: z.array(z.string()),
|
|
@@ -3365,7 +3379,7 @@ export const RetrieveDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
3365
3379
|
),
|
|
3366
3380
|
reviewed_by_id: z.string(),
|
|
3367
3381
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
3368
|
-
"2025-10-
|
|
3382
|
+
"2025-10-24T04:50:09.596Z",
|
|
3369
3383
|
).transform(v => new Date(v)),
|
|
3370
3384
|
type: RetrieveDatapointEvaluationsDatasetsType$inboundSchema,
|
|
3371
3385
|
value: z.number(),
|
|
@@ -3404,7 +3418,7 @@ export const RetrieveDatapointEvaluations2$outboundSchema: z.ZodType<
|
|
|
3404
3418
|
"orq",
|
|
3405
3419
|
),
|
|
3406
3420
|
reviewedById: z.string(),
|
|
3407
|
-
reviewedAt: z.date().default(() => new Date("2025-10-
|
|
3421
|
+
reviewedAt: z.date().default(() => new Date("2025-10-24T04:50:09.596Z"))
|
|
3408
3422
|
.transform(v => v.toISOString()),
|
|
3409
3423
|
type: RetrieveDatapointEvaluationsDatasetsType$outboundSchema,
|
|
3410
3424
|
value: z.number(),
|
|
@@ -3528,7 +3542,7 @@ export const RetrieveDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
3528
3542
|
source: RetrieveDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
3529
3543
|
reviewed_by_id: z.string(),
|
|
3530
3544
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
3531
|
-
"2025-10-
|
|
3545
|
+
"2025-10-24T04:50:09.596Z",
|
|
3532
3546
|
).transform(v => new Date(v)),
|
|
3533
3547
|
type: RetrieveDatapointEvaluationsType$inboundSchema,
|
|
3534
3548
|
value: z.string(),
|
|
@@ -3564,7 +3578,7 @@ export const RetrieveDatapointEvaluations1$outboundSchema: z.ZodType<
|
|
|
3564
3578
|
humanReviewId: z.string(),
|
|
3565
3579
|
source: RetrieveDatapointEvaluationsSource$outboundSchema.default("orq"),
|
|
3566
3580
|
reviewedById: z.string(),
|
|
3567
|
-
reviewedAt: z.date().default(() => new Date("2025-10-
|
|
3581
|
+
reviewedAt: z.date().default(() => new Date("2025-10-24T04:50:09.596Z"))
|
|
3568
3582
|
.transform(v => v.toISOString()),
|
|
3569
3583
|
type: RetrieveDatapointEvaluationsType$outboundSchema,
|
|
3570
3584
|
value: z.string(),
|
|
@@ -3704,7 +3718,7 @@ export const RetrieveDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
3704
3718
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
3705
3719
|
.optional(),
|
|
3706
3720
|
updated: z.string().datetime({ offset: true }).default(
|
|
3707
|
-
"2025-10-
|
|
3721
|
+
"2025-10-24T04:49:59.822Z",
|
|
3708
3722
|
).transform(v => new Date(v)),
|
|
3709
3723
|
}).transform((v) => {
|
|
3710
3724
|
return remap$(v, {
|
|
@@ -3779,7 +3793,7 @@ export const RetrieveDatapointResponseBody$outboundSchema: z.ZodType<
|
|
|
3779
3793
|
createdById: z.string().optional(),
|
|
3780
3794
|
updatedById: z.string().optional(),
|
|
3781
3795
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
3782
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
3796
|
+
updated: z.date().default(() => new Date("2025-10-24T04:49:59.822Z"))
|
|
3783
3797
|
.transform(v => v.toISOString()),
|
|
3784
3798
|
}).transform((v) => {
|
|
3785
3799
|
return remap$(v, {
|
|
@@ -201,7 +201,7 @@ export const RetrieveDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
201
201
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
202
202
|
.optional(),
|
|
203
203
|
updated: z.string().datetime({ offset: true }).default(
|
|
204
|
-
"2025-10-
|
|
204
|
+
"2025-10-24T04:49:59.822Z",
|
|
205
205
|
).transform(v => new Date(v)),
|
|
206
206
|
}).transform((v) => {
|
|
207
207
|
return remap$(v, {
|
|
@@ -241,7 +241,7 @@ export const RetrieveDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
241
241
|
createdById: z.string().optional(),
|
|
242
242
|
updatedById: z.string().optional(),
|
|
243
243
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
244
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
244
|
+
updated: z.date().default(() => new Date("2025-10-24T04:49:59.822Z"))
|
|
245
245
|
.transform(v => v.toISOString()),
|
|
246
246
|
}).transform((v) => {
|
|
247
247
|
return remap$(v, {
|
|
@@ -172,7 +172,7 @@ export const RetrieveDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
172
172
|
z.ZodTypeDef,
|
|
173
173
|
unknown
|
|
174
174
|
> = z.object({
|
|
175
|
-
_id: z.string().default("
|
|
175
|
+
_id: z.string().default("01K8A8V0K7RRJCM4QYB9X47XZN"),
|
|
176
176
|
display_name: z.string(),
|
|
177
177
|
description: z.string().optional(),
|
|
178
178
|
status: RetrieveDatasourceStatus$inboundSchema,
|
|
@@ -216,7 +216,7 @@ export const RetrieveDatasourceResponseBody$outboundSchema: z.ZodType<
|
|
|
216
216
|
z.ZodTypeDef,
|
|
217
217
|
RetrieveDatasourceResponseBody
|
|
218
218
|
> = z.object({
|
|
219
|
-
id: z.string().default("
|
|
219
|
+
id: z.string().default("01K8A8V0K7RRJCM4QYB9X47XZN"),
|
|
220
220
|
displayName: z.string(),
|
|
221
221
|
description: z.string().optional(),
|
|
222
222
|
status: RetrieveDatasourceStatus$outboundSchema,
|
|
@@ -780,7 +780,7 @@ export const RetrieveToolResponseBody5$inboundSchema: z.ZodType<
|
|
|
780
780
|
z.ZodTypeDef,
|
|
781
781
|
unknown
|
|
782
782
|
> = z.object({
|
|
783
|
-
_id: z.string().default("
|
|
783
|
+
_id: z.string().default("01K8A8V0Q1VEFV51BQJ5R93GAW"),
|
|
784
784
|
path: z.string(),
|
|
785
785
|
key: z.string(),
|
|
786
786
|
display_name: z.string().optional(),
|
|
@@ -836,7 +836,7 @@ export const RetrieveToolResponseBody5$outboundSchema: z.ZodType<
|
|
|
836
836
|
z.ZodTypeDef,
|
|
837
837
|
RetrieveToolResponseBody5
|
|
838
838
|
> = z.object({
|
|
839
|
-
id: z.string().default("
|
|
839
|
+
id: z.string().default("01K8A8V0Q1VEFV51BQJ5R93GAW"),
|
|
840
840
|
path: z.string(),
|
|
841
841
|
key: z.string(),
|
|
842
842
|
displayName: z.string().optional(),
|
|
@@ -1220,7 +1220,7 @@ export const RetrieveToolResponseBody4$inboundSchema: z.ZodType<
|
|
|
1220
1220
|
z.ZodTypeDef,
|
|
1221
1221
|
unknown
|
|
1222
1222
|
> = z.object({
|
|
1223
|
-
_id: z.string().default("
|
|
1223
|
+
_id: z.string().default("01K8A8V0Q1A786ZRQ6YPBG4R19"),
|
|
1224
1224
|
path: z.string(),
|
|
1225
1225
|
key: z.string(),
|
|
1226
1226
|
display_name: z.string().optional(),
|
|
@@ -1274,7 +1274,7 @@ export const RetrieveToolResponseBody4$outboundSchema: z.ZodType<
|
|
|
1274
1274
|
z.ZodTypeDef,
|
|
1275
1275
|
RetrieveToolResponseBody4
|
|
1276
1276
|
> = z.object({
|
|
1277
|
-
id: z.string().default("
|
|
1277
|
+
id: z.string().default("01K8A8V0Q1A786ZRQ6YPBG4R19"),
|
|
1278
1278
|
path: z.string(),
|
|
1279
1279
|
key: z.string(),
|
|
1280
1280
|
displayName: z.string().optional(),
|
|
@@ -1700,7 +1700,7 @@ export const RetrieveToolResponseBody3$inboundSchema: z.ZodType<
|
|
|
1700
1700
|
z.ZodTypeDef,
|
|
1701
1701
|
unknown
|
|
1702
1702
|
> = z.object({
|
|
1703
|
-
_id: z.string().default("
|
|
1703
|
+
_id: z.string().default("01K8A8V0Q03117ST92XQ1WV9WN"),
|
|
1704
1704
|
path: z.string(),
|
|
1705
1705
|
key: z.string(),
|
|
1706
1706
|
display_name: z.string().optional(),
|
|
@@ -1754,7 +1754,7 @@ export const RetrieveToolResponseBody3$outboundSchema: z.ZodType<
|
|
|
1754
1754
|
z.ZodTypeDef,
|
|
1755
1755
|
RetrieveToolResponseBody3
|
|
1756
1756
|
> = z.object({
|
|
1757
|
-
id: z.string().default("
|
|
1757
|
+
id: z.string().default("01K8A8V0Q03117ST92XQ1WV9WN"),
|
|
1758
1758
|
path: z.string(),
|
|
1759
1759
|
key: z.string(),
|
|
1760
1760
|
displayName: z.string().optional(),
|
|
@@ -1932,7 +1932,7 @@ export const RetrieveToolResponseBody2$inboundSchema: z.ZodType<
|
|
|
1932
1932
|
z.ZodTypeDef,
|
|
1933
1933
|
unknown
|
|
1934
1934
|
> = z.object({
|
|
1935
|
-
_id: z.string().default("
|
|
1935
|
+
_id: z.string().default("01K8A8V0PZKKAEPWSDWF9MJ24A"),
|
|
1936
1936
|
path: z.string(),
|
|
1937
1937
|
key: z.string(),
|
|
1938
1938
|
display_name: z.string().optional(),
|
|
@@ -1985,7 +1985,7 @@ export const RetrieveToolResponseBody2$outboundSchema: z.ZodType<
|
|
|
1985
1985
|
z.ZodTypeDef,
|
|
1986
1986
|
RetrieveToolResponseBody2
|
|
1987
1987
|
> = z.object({
|
|
1988
|
-
id: z.string().default("
|
|
1988
|
+
id: z.string().default("01K8A8V0PZKKAEPWSDWF9MJ24A"),
|
|
1989
1989
|
path: z.string(),
|
|
1990
1990
|
key: z.string(),
|
|
1991
1991
|
displayName: z.string().optional(),
|
|
@@ -2157,7 +2157,7 @@ export const RetrieveToolResponseBody1$inboundSchema: z.ZodType<
|
|
|
2157
2157
|
z.ZodTypeDef,
|
|
2158
2158
|
unknown
|
|
2159
2159
|
> = z.object({
|
|
2160
|
-
_id: z.string().default("
|
|
2160
|
+
_id: z.string().default("01K8A8V0PZRGVKJ6AGG9D4691A"),
|
|
2161
2161
|
path: z.string(),
|
|
2162
2162
|
key: z.string(),
|
|
2163
2163
|
display_name: z.string().optional(),
|
|
@@ -2209,7 +2209,7 @@ export const RetrieveToolResponseBody1$outboundSchema: z.ZodType<
|
|
|
2209
2209
|
z.ZodTypeDef,
|
|
2210
2210
|
RetrieveToolResponseBody1
|
|
2211
2211
|
> = z.object({
|
|
2212
|
-
id: z.string().default("
|
|
2212
|
+
id: z.string().default("01K8A8V0PZRGVKJ6AGG9D4691A"),
|
|
2213
2213
|
path: z.string(),
|
|
2214
2214
|
key: z.string(),
|
|
2215
2215
|
displayName: z.string().optional(),
|
|
@@ -538,7 +538,7 @@ export const UpdateBudgetResponseBody$inboundSchema: z.ZodType<
|
|
|
538
538
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
539
539
|
.optional(),
|
|
540
540
|
updated: z.string().datetime({ offset: true }).default(
|
|
541
|
-
"2025-10-
|
|
541
|
+
"2025-10-24T04:49:59.822Z",
|
|
542
542
|
).transform(v => new Date(v)),
|
|
543
543
|
}).transform((v) => {
|
|
544
544
|
return remap$(v, {
|
|
@@ -573,7 +573,7 @@ export const UpdateBudgetResponseBody$outboundSchema: z.ZodType<
|
|
|
573
573
|
isActive: z.boolean(),
|
|
574
574
|
consumption: z.lazy(() => UpdateBudgetConsumption$outboundSchema).optional(),
|
|
575
575
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
576
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
576
|
+
updated: z.date().default(() => new Date("2025-10-24T04:49:59.822Z"))
|
|
577
577
|
.transform(v => v.toISOString()),
|
|
578
578
|
}).transform((v) => {
|
|
579
579
|
return remap$(v, {
|
|
@@ -244,7 +244,7 @@ export const UpdateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
244
244
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
245
245
|
.optional(),
|
|
246
246
|
updated: z.string().datetime({ offset: true }).default(
|
|
247
|
-
"2025-10-
|
|
247
|
+
"2025-10-24T04:49:59.822Z",
|
|
248
248
|
).transform(v => new Date(v)),
|
|
249
249
|
}).transform((v) => {
|
|
250
250
|
return remap$(v, {
|
|
@@ -282,7 +282,7 @@ export const UpdateContactResponseBody$outboundSchema: z.ZodType<
|
|
|
282
282
|
tags: z.array(z.string()).optional(),
|
|
283
283
|
metadata: z.record(z.any()).optional(),
|
|
284
284
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
285
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
285
|
+
updated: z.date().default(() => new Date("2025-10-24T04:49:59.822Z"))
|
|
286
286
|
.transform(v => v.toISOString()),
|
|
287
287
|
}).transform((v) => {
|
|
288
288
|
return remap$(v, {
|
|
@@ -285,11 +285,19 @@ export type UpdateDatapoint2File = {
|
|
|
285
285
|
/**
|
|
286
286
|
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
287
287
|
*/
|
|
288
|
-
fileData
|
|
288
|
+
fileData?: string | undefined;
|
|
289
|
+
/**
|
|
290
|
+
* URL to the file. Only supported by Anthropic Claude models for PDF files.
|
|
291
|
+
*/
|
|
292
|
+
uri?: string | undefined;
|
|
293
|
+
/**
|
|
294
|
+
* MIME type of the file (e.g., application/pdf, image/png)
|
|
295
|
+
*/
|
|
296
|
+
mimeType?: string | undefined;
|
|
289
297
|
/**
|
|
290
298
|
* The name of the file, used when passing the file to the model as a string.
|
|
291
299
|
*/
|
|
292
|
-
filename
|
|
300
|
+
filename?: string | undefined;
|
|
293
301
|
};
|
|
294
302
|
|
|
295
303
|
export type UpdateDatapoint24 = {
|
|
@@ -808,11 +816,19 @@ export type UpdateDatapoint2DatasetsFile = {
|
|
|
808
816
|
/**
|
|
809
817
|
* The file data as a data URI string in the format 'data:<mime-type>;base64,<base64-encoded-data>'. Example: 'data:image/png;base64,iVBORw0KGgoAAAANS...'
|
|
810
818
|
*/
|
|
811
|
-
fileData
|
|
819
|
+
fileData?: string | undefined;
|
|
820
|
+
/**
|
|
821
|
+
* URL to the file. Only supported by Anthropic Claude models for PDF files.
|
|
822
|
+
*/
|
|
823
|
+
uri?: string | undefined;
|
|
824
|
+
/**
|
|
825
|
+
* MIME type of the file (e.g., application/pdf, image/png)
|
|
826
|
+
*/
|
|
827
|
+
mimeType?: string | undefined;
|
|
812
828
|
/**
|
|
813
829
|
* The name of the file, used when passing the file to the model as a string.
|
|
814
830
|
*/
|
|
815
|
-
filename
|
|
831
|
+
filename?: string | undefined;
|
|
816
832
|
};
|
|
817
833
|
|
|
818
834
|
export type UpdateDatapoint2Datasets4 = {
|
|
@@ -2534,8 +2550,10 @@ export const UpdateDatapoint2File$inboundSchema: z.ZodType<
|
|
|
2534
2550
|
z.ZodTypeDef,
|
|
2535
2551
|
unknown
|
|
2536
2552
|
> = z.object({
|
|
2537
|
-
file_data: z.string(),
|
|
2538
|
-
|
|
2553
|
+
file_data: z.string().optional(),
|
|
2554
|
+
uri: z.string().optional(),
|
|
2555
|
+
mimeType: z.string().optional(),
|
|
2556
|
+
filename: z.string().optional(),
|
|
2539
2557
|
}).transform((v) => {
|
|
2540
2558
|
return remap$(v, {
|
|
2541
2559
|
"file_data": "fileData",
|
|
@@ -2544,8 +2562,10 @@ export const UpdateDatapoint2File$inboundSchema: z.ZodType<
|
|
|
2544
2562
|
|
|
2545
2563
|
/** @internal */
|
|
2546
2564
|
export type UpdateDatapoint2File$Outbound = {
|
|
2547
|
-
file_data
|
|
2548
|
-
|
|
2565
|
+
file_data?: string | undefined;
|
|
2566
|
+
uri?: string | undefined;
|
|
2567
|
+
mimeType?: string | undefined;
|
|
2568
|
+
filename?: string | undefined;
|
|
2549
2569
|
};
|
|
2550
2570
|
|
|
2551
2571
|
/** @internal */
|
|
@@ -2554,8 +2574,10 @@ export const UpdateDatapoint2File$outboundSchema: z.ZodType<
|
|
|
2554
2574
|
z.ZodTypeDef,
|
|
2555
2575
|
UpdateDatapoint2File
|
|
2556
2576
|
> = z.object({
|
|
2557
|
-
fileData: z.string(),
|
|
2558
|
-
|
|
2577
|
+
fileData: z.string().optional(),
|
|
2578
|
+
uri: z.string().optional(),
|
|
2579
|
+
mimeType: z.string().optional(),
|
|
2580
|
+
filename: z.string().optional(),
|
|
2559
2581
|
}).transform((v) => {
|
|
2560
2582
|
return remap$(v, {
|
|
2561
2583
|
fileData: "file_data",
|
|
@@ -5113,8 +5135,10 @@ export const UpdateDatapoint2DatasetsFile$inboundSchema: z.ZodType<
|
|
|
5113
5135
|
z.ZodTypeDef,
|
|
5114
5136
|
unknown
|
|
5115
5137
|
> = z.object({
|
|
5116
|
-
file_data: z.string(),
|
|
5117
|
-
|
|
5138
|
+
file_data: z.string().optional(),
|
|
5139
|
+
uri: z.string().optional(),
|
|
5140
|
+
mimeType: z.string().optional(),
|
|
5141
|
+
filename: z.string().optional(),
|
|
5118
5142
|
}).transform((v) => {
|
|
5119
5143
|
return remap$(v, {
|
|
5120
5144
|
"file_data": "fileData",
|
|
@@ -5123,8 +5147,10 @@ export const UpdateDatapoint2DatasetsFile$inboundSchema: z.ZodType<
|
|
|
5123
5147
|
|
|
5124
5148
|
/** @internal */
|
|
5125
5149
|
export type UpdateDatapoint2DatasetsFile$Outbound = {
|
|
5126
|
-
file_data
|
|
5127
|
-
|
|
5150
|
+
file_data?: string | undefined;
|
|
5151
|
+
uri?: string | undefined;
|
|
5152
|
+
mimeType?: string | undefined;
|
|
5153
|
+
filename?: string | undefined;
|
|
5128
5154
|
};
|
|
5129
5155
|
|
|
5130
5156
|
/** @internal */
|
|
@@ -5133,8 +5159,10 @@ export const UpdateDatapoint2DatasetsFile$outboundSchema: z.ZodType<
|
|
|
5133
5159
|
z.ZodTypeDef,
|
|
5134
5160
|
UpdateDatapoint2DatasetsFile
|
|
5135
5161
|
> = z.object({
|
|
5136
|
-
fileData: z.string(),
|
|
5137
|
-
|
|
5162
|
+
fileData: z.string().optional(),
|
|
5163
|
+
uri: z.string().optional(),
|
|
5164
|
+
mimeType: z.string().optional(),
|
|
5165
|
+
filename: z.string().optional(),
|
|
5138
5166
|
}).transform((v) => {
|
|
5139
5167
|
return remap$(v, {
|
|
5140
5168
|
fileData: "file_data",
|
|
@@ -6252,7 +6280,7 @@ export const UpdateDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
6252
6280
|
.default("orq"),
|
|
6253
6281
|
reviewed_by_id: z.string(),
|
|
6254
6282
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
6255
|
-
"2025-10-
|
|
6283
|
+
"2025-10-24T04:50:09.608Z",
|
|
6256
6284
|
).transform(v => new Date(v)),
|
|
6257
6285
|
type: UpdateDatapointEvaluationsDatasetsResponseType$inboundSchema,
|
|
6258
6286
|
values: z.array(z.string()),
|
|
@@ -6290,7 +6318,7 @@ export const UpdateDatapointEvaluations3$outboundSchema: z.ZodType<
|
|
|
6290
6318
|
source: UpdateDatapointEvaluationsDatasetsResponseSource$outboundSchema
|
|
6291
6319
|
.default("orq"),
|
|
6292
6320
|
reviewedById: z.string(),
|
|
6293
|
-
reviewedAt: z.date().default(() => new Date("2025-10-
|
|
6321
|
+
reviewedAt: z.date().default(() => new Date("2025-10-24T04:50:09.608Z"))
|
|
6294
6322
|
.transform(v => v.toISOString()),
|
|
6295
6323
|
type: UpdateDatapointEvaluationsDatasetsResponseType$outboundSchema,
|
|
6296
6324
|
values: z.array(z.string()),
|
|
@@ -6419,7 +6447,7 @@ export const UpdateDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
6419
6447
|
source: UpdateDatapointEvaluationsDatasetsSource$inboundSchema.default("orq"),
|
|
6420
6448
|
reviewed_by_id: z.string(),
|
|
6421
6449
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
6422
|
-
"2025-10-
|
|
6450
|
+
"2025-10-24T04:50:09.608Z",
|
|
6423
6451
|
).transform(v => new Date(v)),
|
|
6424
6452
|
type: UpdateDatapointEvaluationsDatasetsType$inboundSchema,
|
|
6425
6453
|
value: z.number(),
|
|
@@ -6458,7 +6486,7 @@ export const UpdateDatapointEvaluations2$outboundSchema: z.ZodType<
|
|
|
6458
6486
|
"orq",
|
|
6459
6487
|
),
|
|
6460
6488
|
reviewedById: z.string(),
|
|
6461
|
-
reviewedAt: z.date().default(() => new Date("2025-10-
|
|
6489
|
+
reviewedAt: z.date().default(() => new Date("2025-10-24T04:50:09.608Z"))
|
|
6462
6490
|
.transform(v => v.toISOString()),
|
|
6463
6491
|
type: UpdateDatapointEvaluationsDatasetsType$outboundSchema,
|
|
6464
6492
|
value: z.number(),
|
|
@@ -6581,7 +6609,7 @@ export const UpdateDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
6581
6609
|
source: UpdateDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
6582
6610
|
reviewed_by_id: z.string(),
|
|
6583
6611
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
6584
|
-
"2025-10-
|
|
6612
|
+
"2025-10-24T04:50:09.608Z",
|
|
6585
6613
|
).transform(v => new Date(v)),
|
|
6586
6614
|
type: UpdateDatapointEvaluationsType$inboundSchema,
|
|
6587
6615
|
value: z.string(),
|
|
@@ -6617,7 +6645,7 @@ export const UpdateDatapointEvaluations1$outboundSchema: z.ZodType<
|
|
|
6617
6645
|
humanReviewId: z.string(),
|
|
6618
6646
|
source: UpdateDatapointEvaluationsSource$outboundSchema.default("orq"),
|
|
6619
6647
|
reviewedById: z.string(),
|
|
6620
|
-
reviewedAt: z.date().default(() => new Date("2025-10-
|
|
6648
|
+
reviewedAt: z.date().default(() => new Date("2025-10-24T04:50:09.608Z"))
|
|
6621
6649
|
.transform(v => v.toISOString()),
|
|
6622
6650
|
type: UpdateDatapointEvaluationsType$outboundSchema,
|
|
6623
6651
|
value: z.string(),
|
|
@@ -6761,7 +6789,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
6761
6789
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
6762
6790
|
.optional(),
|
|
6763
6791
|
updated: z.string().datetime({ offset: true }).default(
|
|
6764
|
-
"2025-10-
|
|
6792
|
+
"2025-10-24T04:49:59.822Z",
|
|
6765
6793
|
).transform(v => new Date(v)),
|
|
6766
6794
|
}).transform((v) => {
|
|
6767
6795
|
return remap$(v, {
|
|
@@ -6840,7 +6868,7 @@ export const UpdateDatapointResponseBody$outboundSchema: z.ZodType<
|
|
|
6840
6868
|
createdById: z.string().optional(),
|
|
6841
6869
|
updatedById: z.string().optional(),
|
|
6842
6870
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
6843
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
6871
|
+
updated: z.date().default(() => new Date("2025-10-24T04:49:59.822Z"))
|
|
6844
6872
|
.transform(v => v.toISOString()),
|
|
6845
6873
|
}).transform((v) => {
|
|
6846
6874
|
return remap$(v, {
|
|
@@ -298,7 +298,7 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
298
298
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
299
299
|
.optional(),
|
|
300
300
|
updated: z.string().datetime({ offset: true }).default(
|
|
301
|
-
"2025-10-
|
|
301
|
+
"2025-10-24T04:49:59.822Z",
|
|
302
302
|
).transform(v => new Date(v)),
|
|
303
303
|
}).transform((v) => {
|
|
304
304
|
return remap$(v, {
|
|
@@ -338,7 +338,7 @@ export const UpdateDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
338
338
|
createdById: z.string().optional(),
|
|
339
339
|
updatedById: z.string().optional(),
|
|
340
340
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
341
|
-
updated: z.date().default(() => new Date("2025-10-
|
|
341
|
+
updated: z.date().default(() => new Date("2025-10-24T04:49:59.822Z"))
|
|
342
342
|
.transform(v => v.toISOString()),
|
|
343
343
|
}).transform((v) => {
|
|
344
344
|
return remap$(v, {
|
|
@@ -244,7 +244,7 @@ export const UpdateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
244
244
|
z.ZodTypeDef,
|
|
245
245
|
unknown
|
|
246
246
|
> = z.object({
|
|
247
|
-
_id: z.string().default("
|
|
247
|
+
_id: z.string().default("01K8A8V0K847E3397J64PDVKNY"),
|
|
248
248
|
display_name: z.string(),
|
|
249
249
|
description: z.string().optional(),
|
|
250
250
|
status: UpdateDatasourceStatus$inboundSchema,
|
|
@@ -288,7 +288,7 @@ export const UpdateDatasourceResponseBody$outboundSchema: z.ZodType<
|
|
|
288
288
|
z.ZodTypeDef,
|
|
289
289
|
UpdateDatasourceResponseBody
|
|
290
290
|
> = z.object({
|
|
291
|
-
id: z.string().default("
|
|
291
|
+
id: z.string().default("01K8A8V0K847E3397J64PDVKNY"),
|
|
292
292
|
displayName: z.string(),
|
|
293
293
|
description: z.string().optional(),
|
|
294
294
|
status: UpdateDatasourceStatus$outboundSchema,
|