@orq-ai/node 4.7.0-rc.58 → 4.8.0-rc.0
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/README.md +1 -1
- package/funcs/filesGetContent.d.ts +1 -1
- package/funcs/filesGetContent.js +3 -3
- package/funcs/filesGetContent.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/lib/config.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/createcontact.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +4 -4
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createeval.js +16 -16
- package/models/operations/createidentity.js +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/filecontent.d.ts +3 -3
- package/models/operations/filecontent.d.ts.map +1 -1
- package/models/operations/filecontent.js +2 -2
- package/models/operations/filecontent.js.map +1 -1
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getevals.js +16 -16
- package/models/operations/getv2humanevals.js +6 -6
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/getv2humanevalsid.js +6 -6
- package/models/operations/listdatasetdatapoints.js +4 -4
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listidentities.js +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/patchv2humanevalsid.js +12 -12
- package/models/operations/postv2feedbackevaluation.js +3 -3
- package/models/operations/postv2humanevals.js +12 -12
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrievedatapoint.js +4 -4
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrieveidentity.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.js +4 -4
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateeval.js +16 -16
- package/models/operations/updateidentity.js +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +1 -1
- package/sdk/files.d.ts +7 -7
- package/sdk/files.d.ts.map +1 -1
- package/sdk/files.js +9 -9
- package/sdk/files.js.map +1 -1
- package/src/funcs/filesGetContent.ts +3 -3
- package/src/lib/config.ts +2 -2
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/createcontact.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +4 -4
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createeval.ts +16 -16
- package/src/models/operations/createidentity.ts +1 -1
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/filecontent.ts +5 -5
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +16 -16
- package/src/models/operations/getv2humanevals.ts +6 -6
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/getv2humanevalsid.ts +6 -6
- package/src/models/operations/listdatasetdatapoints.ts +4 -4
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/listidentities.ts +1 -1
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/patchv2humanevalsid.ts +12 -12
- package/src/models/operations/postv2feedbackevaluation.ts +3 -3
- package/src/models/operations/postv2humanevals.ts +12 -12
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +4 -4
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrieveidentity.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +4 -4
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateeval.ts +16 -16
- package/src/models/operations/updateidentity.ts +1 -1
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/files.ts +17 -17
|
@@ -758,7 +758,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
758
758
|
z.ZodTypeDef,
|
|
759
759
|
unknown
|
|
760
760
|
> = z.object({
|
|
761
|
-
_id: z.string().default("
|
|
761
|
+
_id: z.string().default("tool_01KNS4KN0142057J56T9PEFMZG"),
|
|
762
762
|
path: z.string(),
|
|
763
763
|
key: z.string(),
|
|
764
764
|
display_name: z.string().optional(),
|
|
@@ -866,7 +866,7 @@ export const RetrieveToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
866
866
|
z.ZodTypeDef,
|
|
867
867
|
unknown
|
|
868
868
|
> = z.object({
|
|
869
|
-
id: z.string().default("
|
|
869
|
+
id: z.string().default("01KNS4KN01Z5Q1JB88B1NH40SF"),
|
|
870
870
|
name: z.string(),
|
|
871
871
|
description: z.string().optional(),
|
|
872
872
|
schema: z.lazy(() => RetrieveToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -924,7 +924,7 @@ export const RetrieveToolResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
924
924
|
z.ZodTypeDef,
|
|
925
925
|
unknown
|
|
926
926
|
> = z.object({
|
|
927
|
-
_id: z.string().default("
|
|
927
|
+
_id: z.string().default("tool_01KNS4KMZZMWBT34SVVX77TXVH"),
|
|
928
928
|
path: z.string(),
|
|
929
929
|
key: z.string(),
|
|
930
930
|
display_name: z.string().optional(),
|
|
@@ -1117,7 +1117,7 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
1117
1117
|
z.ZodTypeDef,
|
|
1118
1118
|
unknown
|
|
1119
1119
|
> = z.object({
|
|
1120
|
-
_id: z.string().default("
|
|
1120
|
+
_id: z.string().default("tool_01KNS4KMZQVS3TVGPK9NNWDPK7"),
|
|
1121
1121
|
path: z.string(),
|
|
1122
1122
|
key: z.string(),
|
|
1123
1123
|
display_name: z.string().optional(),
|
|
@@ -1215,7 +1215,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
1215
1215
|
z.ZodTypeDef,
|
|
1216
1216
|
unknown
|
|
1217
1217
|
> = z.object({
|
|
1218
|
-
_id: z.string().default("
|
|
1218
|
+
_id: z.string().default("tool_01KNS4KMZN5R3S8VTB8ZET7XCZ"),
|
|
1219
1219
|
path: z.string(),
|
|
1220
1220
|
key: z.string(),
|
|
1221
1221
|
display_name: z.string().optional(),
|
|
@@ -1323,7 +1323,7 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
1323
1323
|
z.ZodTypeDef,
|
|
1324
1324
|
unknown
|
|
1325
1325
|
> = z.object({
|
|
1326
|
-
_id: z.string().default("
|
|
1326
|
+
_id: z.string().default("tool_01KNS4KMZM883XVDNTS2T5VPH0"),
|
|
1327
1327
|
path: z.string(),
|
|
1328
1328
|
key: z.string(),
|
|
1329
1329
|
display_name: z.string().optional(),
|
|
@@ -3628,7 +3628,7 @@ export const Tools$outboundSchema: z.ZodType<
|
|
|
3628
3628
|
z.ZodTypeDef,
|
|
3629
3629
|
Tools
|
|
3630
3630
|
> = z.object({
|
|
3631
|
-
id: z.string().default("
|
|
3631
|
+
id: z.string().default("01KNS4KMK96N1T8FKB21Y11FY0"),
|
|
3632
3632
|
name: z.string(),
|
|
3633
3633
|
description: z.string().optional(),
|
|
3634
3634
|
schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
|
|
@@ -3675,7 +3675,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
|
|
|
3675
3675
|
z.ZodTypeDef,
|
|
3676
3676
|
AgentToolInputRunTools
|
|
3677
3677
|
> = z.object({
|
|
3678
|
-
id: z.string().default("
|
|
3678
|
+
id: z.string().default("01KNS4KMN3JPPPP77JX560HY9R"),
|
|
3679
3679
|
name: z.string(),
|
|
3680
3680
|
description: z.string().optional(),
|
|
3681
3681
|
schema: z.lazy(() =>
|
|
@@ -2358,7 +2358,7 @@ export const UpdateDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
2358
2358
|
.default("orq"),
|
|
2359
2359
|
reviewed_by_id: z.string(),
|
|
2360
2360
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2361
|
-
"2026-04-
|
|
2361
|
+
"2026-04-09T12:48:54.460Z",
|
|
2362
2362
|
).transform(v => new Date(v)),
|
|
2363
2363
|
type: z.literal("string_array"),
|
|
2364
2364
|
values: z.array(z.string()),
|
|
@@ -2404,7 +2404,7 @@ export const UpdateDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
2404
2404
|
source: UpdateDatapointEvaluationsDatasetsSource$inboundSchema.default("orq"),
|
|
2405
2405
|
reviewed_by_id: z.string(),
|
|
2406
2406
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2407
|
-
"2026-04-
|
|
2407
|
+
"2026-04-09T12:48:54.459Z",
|
|
2408
2408
|
).transform(v => new Date(v)),
|
|
2409
2409
|
type: z.literal("number"),
|
|
2410
2410
|
value: z.number(),
|
|
@@ -2449,7 +2449,7 @@ export const UpdateDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
2449
2449
|
source: UpdateDatapointEvaluationsSource$inboundSchema.default("orq"),
|
|
2450
2450
|
reviewed_by_id: z.string(),
|
|
2451
2451
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2452
|
-
"2026-04-
|
|
2452
|
+
"2026-04-09T12:48:54.459Z",
|
|
2453
2453
|
).transform(v => new Date(v)),
|
|
2454
2454
|
type: z.literal("string"),
|
|
2455
2455
|
value: z.string(),
|
|
@@ -2530,7 +2530,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
2530
2530
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2531
2531
|
.optional(),
|
|
2532
2532
|
updated: z.string().datetime({ offset: true }).default(
|
|
2533
|
-
"2026-04-
|
|
2533
|
+
"2026-04-09T12:48:37.295Z",
|
|
2534
2534
|
).transform(v => new Date(v)),
|
|
2535
2535
|
}).transform((v) => {
|
|
2536
2536
|
return remap$(v, {
|
|
@@ -182,7 +182,7 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
182
182
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
183
183
|
.optional(),
|
|
184
184
|
updated: z.string().datetime({ offset: true }).default(
|
|
185
|
-
"2026-04-
|
|
185
|
+
"2026-04-09T12:48:37.295Z",
|
|
186
186
|
).transform(v => new Date(v)),
|
|
187
187
|
}).transform((v) => {
|
|
188
188
|
return remap$(v, {
|
|
@@ -152,7 +152,7 @@ export const UpdateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
152
152
|
z.ZodTypeDef,
|
|
153
153
|
unknown
|
|
154
154
|
> = z.object({
|
|
155
|
-
_id: z.string().default("
|
|
155
|
+
_id: z.string().default("01KNS4KN31QVYVECZ0K1Y462JX"),
|
|
156
156
|
display_name: z.string(),
|
|
157
157
|
description: z.string().optional(),
|
|
158
158
|
status: UpdateDatasourceStatus$inboundSchema,
|
|
@@ -1220,8 +1220,8 @@ export const ResponseBodyTypescript$inboundSchema: z.ZodType<
|
|
|
1220
1220
|
> = z.object({
|
|
1221
1221
|
_id: z.string(),
|
|
1222
1222
|
description: z.string(),
|
|
1223
|
-
created: z.string().default("2026-04-
|
|
1224
|
-
updated: z.string().default("2026-04-
|
|
1223
|
+
created: z.string().default("2026-04-09T12:48:39.661Z"),
|
|
1224
|
+
updated: z.string().default("2026-04-09T12:48:39.661Z"),
|
|
1225
1225
|
guardrail_config: z.nullable(
|
|
1226
1226
|
z.union([
|
|
1227
1227
|
z.lazy(() =>
|
|
@@ -1376,8 +1376,8 @@ export const ResponseBodyRagas$inboundSchema: z.ZodType<
|
|
|
1376
1376
|
> = z.object({
|
|
1377
1377
|
_id: z.string(),
|
|
1378
1378
|
description: z.string(),
|
|
1379
|
-
created: z.string().default("2026-04-
|
|
1380
|
-
updated: z.string().default("2026-04-
|
|
1379
|
+
created: z.string().default("2026-04-09T12:48:39.661Z"),
|
|
1380
|
+
updated: z.string().default("2026-04-09T12:48:39.661Z"),
|
|
1381
1381
|
guardrail_config: z.nullable(
|
|
1382
1382
|
z.union([
|
|
1383
1383
|
z.lazy(() =>
|
|
@@ -2194,8 +2194,8 @@ export const ResponseBodyFunction$inboundSchema: z.ZodType<
|
|
|
2194
2194
|
> = z.object({
|
|
2195
2195
|
_id: z.string(),
|
|
2196
2196
|
description: z.string(),
|
|
2197
|
-
created: z.string().default("2026-04-
|
|
2198
|
-
updated: z.string().default("2026-04-
|
|
2197
|
+
created: z.string().default("2026-04-09T12:48:39.661Z"),
|
|
2198
|
+
updated: z.string().default("2026-04-09T12:48:39.661Z"),
|
|
2199
2199
|
guardrail_config: z.nullable(
|
|
2200
2200
|
z.union([
|
|
2201
2201
|
z.lazy(() =>
|
|
@@ -2372,8 +2372,8 @@ export const UpdateEvalResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
2372
2372
|
> = z.object({
|
|
2373
2373
|
_id: z.string(),
|
|
2374
2374
|
description: z.string(),
|
|
2375
|
-
created: z.string().default("2026-04-
|
|
2376
|
-
updated: z.string().default("2026-04-
|
|
2375
|
+
created: z.string().default("2026-04-09T12:48:39.661Z"),
|
|
2376
|
+
updated: z.string().default("2026-04-09T12:48:39.661Z"),
|
|
2377
2377
|
guardrail_config: z.nullable(
|
|
2378
2378
|
z.union([
|
|
2379
2379
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -2503,8 +2503,8 @@ export const UpdateEvalResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
2503
2503
|
> = z.object({
|
|
2504
2504
|
_id: z.string(),
|
|
2505
2505
|
description: z.string(),
|
|
2506
|
-
created: z.string().default("2026-04-
|
|
2507
|
-
updated: z.string().default("2026-04-
|
|
2506
|
+
created: z.string().default("2026-04-09T12:48:39.661Z"),
|
|
2507
|
+
updated: z.string().default("2026-04-09T12:48:39.661Z"),
|
|
2508
2508
|
guardrail_config: z.nullable(
|
|
2509
2509
|
z.union([
|
|
2510
2510
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsBoolean$inboundSchema),
|
|
@@ -2626,8 +2626,8 @@ export const UpdateEvalResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
2626
2626
|
> = z.object({
|
|
2627
2627
|
_id: z.string(),
|
|
2628
2628
|
description: z.string(),
|
|
2629
|
-
created: z.string().default("2026-04-
|
|
2630
|
-
updated: z.string().default("2026-04-
|
|
2629
|
+
created: z.string().default("2026-04-09T12:48:39.661Z"),
|
|
2630
|
+
updated: z.string().default("2026-04-09T12:48:39.661Z"),
|
|
2631
2631
|
guardrail_config: z.nullable(
|
|
2632
2632
|
z.union([
|
|
2633
2633
|
z.lazy(() => UpdateEvalGuardrailConfigBoolean$inboundSchema),
|
|
@@ -2930,8 +2930,8 @@ export const UpdateEvalLlm2$inboundSchema: z.ZodType<
|
|
|
2930
2930
|
> = z.object({
|
|
2931
2931
|
_id: z.string(),
|
|
2932
2932
|
description: z.string(),
|
|
2933
|
-
created: z.string().default("2026-04-
|
|
2934
|
-
updated: z.string().default("2026-04-
|
|
2933
|
+
created: z.string().default("2026-04-09T12:48:39.661Z"),
|
|
2934
|
+
updated: z.string().default("2026-04-09T12:48:39.661Z"),
|
|
2935
2935
|
guardrail_config: z.nullable(
|
|
2936
2936
|
z.union([
|
|
2937
2937
|
z.lazy(() =>
|
|
@@ -3076,8 +3076,8 @@ export const UpdateEvalLlm1$inboundSchema: z.ZodType<
|
|
|
3076
3076
|
> = z.object({
|
|
3077
3077
|
_id: z.string(),
|
|
3078
3078
|
description: z.string(),
|
|
3079
|
-
created: z.string().default("2026-04-
|
|
3080
|
-
updated: z.string().default("2026-04-
|
|
3079
|
+
created: z.string().default("2026-04-09T12:48:39.661Z"),
|
|
3080
|
+
updated: z.string().default("2026-04-09T12:48:39.661Z"),
|
|
3081
3081
|
guardrail_config: z.nullable(
|
|
3082
3082
|
z.union([
|
|
3083
3083
|
z.lazy(() =>
|
|
@@ -167,7 +167,7 @@ export const UpdateIdentityResponseBody$inboundSchema: z.ZodType<
|
|
|
167
167
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
168
168
|
.optional(),
|
|
169
169
|
updated: z.string().datetime({ offset: true }).default(
|
|
170
|
-
"2026-04-
|
|
170
|
+
"2026-04-09T12:48:37.295Z",
|
|
171
171
|
).transform(v => new Date(v)),
|
|
172
172
|
}).transform((v) => {
|
|
173
173
|
return remap$(v, {
|
|
@@ -1477,7 +1477,7 @@ export const RequestBodyTools$outboundSchema: z.ZodType<
|
|
|
1477
1477
|
z.ZodTypeDef,
|
|
1478
1478
|
RequestBodyTools
|
|
1479
1479
|
> = z.object({
|
|
1480
|
-
id: z.string().default("
|
|
1480
|
+
id: z.string().default("01KNS4KMZ5Y52XKDWFK47GVR8H"),
|
|
1481
1481
|
name: z.string(),
|
|
1482
1482
|
description: z.string().optional(),
|
|
1483
1483
|
schema: z.lazy(() => UpdateToolRequestBodyToolsSchema$outboundSchema),
|
|
@@ -2198,7 +2198,7 @@ export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
2198
2198
|
z.ZodTypeDef,
|
|
2199
2199
|
unknown
|
|
2200
2200
|
> = z.object({
|
|
2201
|
-
_id: z.string().default("
|
|
2201
|
+
_id: z.string().default("tool_01KNS4KMYZ81Q6FV31H24D2GWS"),
|
|
2202
2202
|
path: z.string(),
|
|
2203
2203
|
key: z.string(),
|
|
2204
2204
|
display_name: z.string().optional(),
|
|
@@ -2303,7 +2303,7 @@ export const UpdateToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
2303
2303
|
z.ZodTypeDef,
|
|
2304
2304
|
unknown
|
|
2305
2305
|
> = z.object({
|
|
2306
|
-
id: z.string().default("
|
|
2306
|
+
id: z.string().default("01KNS4KMYYMXGMBVAHR9N1KYA2"),
|
|
2307
2307
|
name: z.string(),
|
|
2308
2308
|
description: z.string().optional(),
|
|
2309
2309
|
schema: z.lazy(() => UpdateToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -2361,7 +2361,7 @@ export const UpdateToolResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2361
2361
|
z.ZodTypeDef,
|
|
2362
2362
|
unknown
|
|
2363
2363
|
> = z.object({
|
|
2364
|
-
_id: z.string().default("
|
|
2364
|
+
_id: z.string().default("tool_01KNS4KMYXF8KAJCAXRCTGZRQ4"),
|
|
2365
2365
|
path: z.string(),
|
|
2366
2366
|
key: z.string(),
|
|
2367
2367
|
display_name: z.string().optional(),
|
|
@@ -2552,7 +2552,7 @@ export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2552
2552
|
z.ZodTypeDef,
|
|
2553
2553
|
unknown
|
|
2554
2554
|
> = z.object({
|
|
2555
|
-
_id: z.string().default("
|
|
2555
|
+
_id: z.string().default("tool_01KNS4KMYV71QMQAKK8ADYYPKZ"),
|
|
2556
2556
|
path: z.string(),
|
|
2557
2557
|
key: z.string(),
|
|
2558
2558
|
display_name: z.string().optional(),
|
|
@@ -2649,7 +2649,7 @@ export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2649
2649
|
z.ZodTypeDef,
|
|
2650
2650
|
unknown
|
|
2651
2651
|
> = z.object({
|
|
2652
|
-
_id: z.string().default("
|
|
2652
|
+
_id: z.string().default("tool_01KNS4KMYT79ZDSV3SQ84TVMJG"),
|
|
2653
2653
|
path: z.string(),
|
|
2654
2654
|
key: z.string(),
|
|
2655
2655
|
display_name: z.string().optional(),
|
|
@@ -2754,7 +2754,7 @@ export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2754
2754
|
z.ZodTypeDef,
|
|
2755
2755
|
unknown
|
|
2756
2756
|
> = z.object({
|
|
2757
|
-
_id: z.string().default("
|
|
2757
|
+
_id: z.string().default("tool_01KNS4KMYR651WKBXTE7FKSN6E"),
|
|
2758
2758
|
path: z.string(),
|
|
2759
2759
|
key: z.string(),
|
|
2760
2760
|
display_name: z.string().optional(),
|
package/src/sdk/files.ts
CHANGED
|
@@ -47,6 +47,23 @@ export class Files extends ClientSDK {
|
|
|
47
47
|
));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
+
/**
|
|
51
|
+
* Download file content
|
|
52
|
+
*
|
|
53
|
+
* @remarks
|
|
54
|
+
* Signs the object name and redirects to a presigned URL for downloading the file content. Accepts either a file ID or an object storage path (URL-encoded).
|
|
55
|
+
*/
|
|
56
|
+
async getContent(
|
|
57
|
+
request: operations.FileContentRequest,
|
|
58
|
+
options?: RequestOptions,
|
|
59
|
+
): Promise<void> {
|
|
60
|
+
return unwrapAsync(filesGetContent(
|
|
61
|
+
this,
|
|
62
|
+
request,
|
|
63
|
+
options,
|
|
64
|
+
));
|
|
65
|
+
}
|
|
66
|
+
|
|
50
67
|
/**
|
|
51
68
|
* Delete file
|
|
52
69
|
*/
|
|
@@ -94,21 +111,4 @@ export class Files extends ClientSDK {
|
|
|
94
111
|
options,
|
|
95
112
|
));
|
|
96
113
|
}
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* Download file content
|
|
100
|
-
*
|
|
101
|
-
* @remarks
|
|
102
|
-
* Signs the object name and redirects to a presigned URL for downloading the file content.
|
|
103
|
-
*/
|
|
104
|
-
async getContent(
|
|
105
|
-
request: operations.FileContentRequest,
|
|
106
|
-
options?: RequestOptions,
|
|
107
|
-
): Promise<void> {
|
|
108
|
-
return unwrapAsync(filesGetContent(
|
|
109
|
-
this,
|
|
110
|
-
request,
|
|
111
|
-
options,
|
|
112
|
-
));
|
|
113
|
-
}
|
|
114
114
|
}
|