@orq-ai/node 3.11.7 → 3.11.8
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 +104 -104
- package/bin/mcp-server.js.map +26 -26
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- 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 +16 -16
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getevals.js +28 -28
- 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/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 +16 -16
- package/package.json +1 -1
- package/packages/orq-rc/README.md +128 -87
- package/packages/orq-rc/docs/sdks/batches/README.md +307 -0
- package/packages/orq-rc/docs/sdks/proxy/README.md +1212 -0
- 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/batchesCancel.ts +166 -0
- package/packages/orq-rc/src/funcs/batchesCreate.ts +160 -0
- package/packages/orq-rc/src/funcs/batchesList.ts +165 -0
- package/packages/orq-rc/src/funcs/batchesRetrieve.ts +166 -0
- package/packages/orq-rc/src/funcs/proxyAudioSpeech.ts +159 -0
- package/packages/orq-rc/src/funcs/proxyAudioTranscriptions.ts +233 -0
- package/packages/orq-rc/src/funcs/proxyAudioTranslations.ts +223 -0
- package/packages/orq-rc/src/funcs/proxyChatCompletions.ts +172 -0
- package/packages/orq-rc/src/funcs/proxyCompletions.ts +168 -0
- package/packages/orq-rc/src/funcs/proxyEmbeddings.ts +161 -0
- package/packages/orq-rc/src/funcs/proxyImagesEdit.ts +173 -0
- package/packages/orq-rc/src/funcs/proxyImagesGenerate.ts +163 -0
- package/packages/orq-rc/src/funcs/proxyImagesVariation.ts +179 -0
- package/packages/orq-rc/src/funcs/proxyModerations.ts +164 -0
- package/packages/orq-rc/src/funcs/proxyRerank.ts +158 -0
- package/packages/orq-rc/src/funcs/proxyResponsesCreate.ts +171 -0
- 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 +33 -1
- package/packages/orq-rc/src/mcp-server/tools/batchesCancel.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/batchesCreate.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/batchesList.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/batchesRetrieve.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/proxyAudioSpeech.ts +33 -0
- package/packages/orq-rc/src/mcp-server/tools/proxyAudioTranscriptions.ts +35 -0
- package/packages/orq-rc/src/mcp-server/tools/proxyAudioTranslations.ts +35 -0
- package/packages/orq-rc/src/mcp-server/tools/proxyChatCompletions.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/proxyCompletions.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/proxyEmbeddings.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/proxyImagesEdit.ts +35 -0
- package/packages/orq-rc/src/mcp-server/tools/proxyImagesGenerate.ts +35 -0
- package/packages/orq-rc/src/mcp-server/tools/proxyImagesVariation.ts +35 -0
- package/packages/orq-rc/src/mcp-server/tools/proxyModerations.ts +35 -0
- package/packages/orq-rc/src/mcp-server/tools/proxyRerank.ts +36 -0
- package/packages/orq-rc/src/mcp-server/tools/proxyResponsesCreate.ts +37 -0
- package/packages/orq-rc/src/models/components/deployments.ts +861 -0
- package/packages/orq-rc/src/models/components/index.ts +1 -0
- package/packages/orq-rc/src/models/components/publiccontact.ts +114 -0
- package/packages/orq-rc/src/models/errors/index.ts +3 -0
- package/packages/orq-rc/src/models/errors/postv2proxyaudiotranscriptions.ts +163 -0
- package/packages/orq-rc/src/models/errors/postv2proxyaudiotranslations.ts +162 -0
- package/packages/orq-rc/src/models/errors/postv2proxymoderations.ts +151 -0
- package/packages/orq-rc/src/models/operations/cancelbatch.ts +474 -0
- package/packages/orq-rc/src/models/operations/createbatch.ts +531 -0
- package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/createchatcompletion.ts +11697 -0
- 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 +2205 -1224
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +16 -16
- package/packages/orq-rc/src/models/operations/createresponse.ts +6908 -0
- package/packages/orq-rc/src/models/operations/deploymentcreatemetric.ts +2282 -1214
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +938 -51
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +1471 -305
- 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/getbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/getevals.ts +107 -92
- package/packages/orq-rc/src/models/operations/index.ts +16 -0
- package/packages/orq-rc/src/models/operations/listbatches.ts +570 -0
- 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 +498 -2
- 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/postv2proxyaudiospeech.ts +393 -0
- package/packages/orq-rc/src/models/operations/postv2proxyaudiotranscriptions.ts +731 -0
- package/packages/orq-rc/src/models/operations/postv2proxyaudiotranslations.ts +741 -0
- package/packages/orq-rc/src/models/operations/postv2proxycompletions.ts +5831 -0
- package/packages/orq-rc/src/models/operations/postv2proxyembeddings.ts +543 -0
- package/packages/orq-rc/src/models/operations/postv2proxyimagesedits.ts +596 -0
- package/packages/orq-rc/src/models/operations/postv2proxyimagesgenerations.ts +1107 -0
- package/packages/orq-rc/src/models/operations/postv2proxyimagesvariations.ts +592 -0
- package/packages/orq-rc/src/models/operations/postv2proxymoderations.ts +802 -0
- package/packages/orq-rc/src/models/operations/postv2proxyrerank.ts +526 -0
- package/packages/orq-rc/src/models/operations/retrievebatch.ts +474 -0
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +478 -2
- 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/updatebudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +974 -2
- 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 +16 -16
- package/packages/orq-rc/src/sdk/batches.ts +81 -0
- package/packages/orq-rc/src/sdk/proxy.ts +211 -0
- package/packages/orq-rc/src/sdk/sdk.ts +12 -0
- package/packages/orq-rc/temp/example.ts +5 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- 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 +16 -16
- 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/getevals.ts +28 -28
- 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/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 +16 -16
|
@@ -302,7 +302,7 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
302
302
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
303
303
|
.optional(),
|
|
304
304
|
updated: z.string().datetime({ offset: true }).default(
|
|
305
|
-
"2025-08-
|
|
305
|
+
"2025-08-27T07:41:07.739Z",
|
|
306
306
|
).transform(v => new Date(v)),
|
|
307
307
|
}).transform((v) => {
|
|
308
308
|
return remap$(v, {
|
|
@@ -347,7 +347,7 @@ export const UpdateDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
347
347
|
parentId: z.string().optional(),
|
|
348
348
|
version: z.string().optional(),
|
|
349
349
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
350
|
-
updated: z.date().default(() => new Date("2025-08-
|
|
350
|
+
updated: z.date().default(() => new Date("2025-08-27T07:41:07.739Z"))
|
|
351
351
|
.transform(v => v.toISOString()),
|
|
352
352
|
}).transform((v) => {
|
|
353
353
|
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("01K3N7JN4W5YXJ9AM3JV5KZP01"),
|
|
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("01K3N7JN4W5YXJ9AM3JV5KZP01"),
|
|
292
292
|
displayName: z.string(),
|
|
293
293
|
description: z.string().optional(),
|
|
294
294
|
status: UpdateDatasourceStatus$outboundSchema,
|
|
@@ -2674,8 +2674,8 @@ export const UpdateEvalResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
2674
2674
|
> = z.object({
|
|
2675
2675
|
_id: z.string(),
|
|
2676
2676
|
description: z.string(),
|
|
2677
|
-
created: z.string().default("2025-08-
|
|
2678
|
-
updated: z.string().default("2025-08-
|
|
2677
|
+
created: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
2678
|
+
updated: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
2679
2679
|
guardrail_config: z.union([
|
|
2680
2680
|
z.lazy(() =>
|
|
2681
2681
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
|
|
@@ -2717,8 +2717,8 @@ export const UpdateEvalResponseBodyPython$outboundSchema: z.ZodType<
|
|
|
2717
2717
|
> = z.object({
|
|
2718
2718
|
id: z.string(),
|
|
2719
2719
|
description: z.string(),
|
|
2720
|
-
created: z.string().default("2025-08-
|
|
2721
|
-
updated: z.string().default("2025-08-
|
|
2720
|
+
created: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
2721
|
+
updated: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
2722
2722
|
guardrailConfig: z.union([
|
|
2723
2723
|
z.lazy(() =>
|
|
2724
2724
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
|
|
@@ -3139,8 +3139,8 @@ export const UpdateEvalResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
3139
3139
|
> = z.object({
|
|
3140
3140
|
_id: z.string(),
|
|
3141
3141
|
description: z.string(),
|
|
3142
|
-
created: z.string().default("2025-08-
|
|
3143
|
-
updated: z.string().default("2025-08-
|
|
3142
|
+
created: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
3143
|
+
updated: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
3144
3144
|
guardrail_config: z.union([
|
|
3145
3145
|
z.lazy(() =>
|
|
3146
3146
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
|
|
@@ -3188,8 +3188,8 @@ export const UpdateEvalResponseBodyHTTP$outboundSchema: z.ZodType<
|
|
|
3188
3188
|
> = z.object({
|
|
3189
3189
|
id: z.string(),
|
|
3190
3190
|
description: z.string(),
|
|
3191
|
-
created: z.string().default("2025-08-
|
|
3192
|
-
updated: z.string().default("2025-08-
|
|
3191
|
+
created: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
3192
|
+
updated: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
3193
3193
|
guardrailConfig: z.union([
|
|
3194
3194
|
z.lazy(() =>
|
|
3195
3195
|
UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
|
|
@@ -3579,8 +3579,8 @@ export const UpdateEvalResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
3579
3579
|
> = z.object({
|
|
3580
3580
|
_id: z.string(),
|
|
3581
3581
|
description: z.string(),
|
|
3582
|
-
created: z.string().default("2025-08-
|
|
3583
|
-
updated: z.string().default("2025-08-
|
|
3582
|
+
created: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
3583
|
+
updated: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
3584
3584
|
guardrail_config: z.union([
|
|
3585
3585
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
3586
3586
|
z.lazy(() =>
|
|
@@ -3620,8 +3620,8 @@ export const UpdateEvalResponseBodyJSON$outboundSchema: z.ZodType<
|
|
|
3620
3620
|
> = z.object({
|
|
3621
3621
|
id: z.string(),
|
|
3622
3622
|
description: z.string(),
|
|
3623
|
-
created: z.string().default("2025-08-
|
|
3624
|
-
updated: z.string().default("2025-08-
|
|
3623
|
+
created: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
3624
|
+
updated: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
3625
3625
|
guardrailConfig: z.union([
|
|
3626
3626
|
z.lazy(() =>
|
|
3627
3627
|
UpdateEvalGuardrailConfigEvalsResponse200Number$outboundSchema
|
|
@@ -3979,8 +3979,8 @@ export const UpdateEvalResponseBodyLLM$inboundSchema: z.ZodType<
|
|
|
3979
3979
|
> = z.object({
|
|
3980
3980
|
_id: z.string(),
|
|
3981
3981
|
description: z.string(),
|
|
3982
|
-
created: z.string().default("2025-08-
|
|
3983
|
-
updated: z.string().default("2025-08-
|
|
3982
|
+
created: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
3983
|
+
updated: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
3984
3984
|
guardrail_config: z.union([
|
|
3985
3985
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
3986
3986
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -4020,8 +4020,8 @@ export const UpdateEvalResponseBodyLLM$outboundSchema: z.ZodType<
|
|
|
4020
4020
|
> = z.object({
|
|
4021
4021
|
id: z.string(),
|
|
4022
4022
|
description: z.string(),
|
|
4023
|
-
created: z.string().default("2025-08-
|
|
4024
|
-
updated: z.string().default("2025-08-
|
|
4023
|
+
created: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
4024
|
+
updated: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
4025
4025
|
guardrailConfig: z.union([
|
|
4026
4026
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
4027
4027
|
z.lazy(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { batchesCancel } from "../funcs/batchesCancel.js";
|
|
6
|
+
import { batchesCreate } from "../funcs/batchesCreate.js";
|
|
7
|
+
import { batchesList } from "../funcs/batchesList.js";
|
|
8
|
+
import { batchesRetrieve } from "../funcs/batchesRetrieve.js";
|
|
9
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
10
|
+
import * as operations from "../models/operations/index.js";
|
|
11
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
12
|
+
|
|
13
|
+
export class Batches extends ClientSDK {
|
|
14
|
+
/**
|
|
15
|
+
* Create Batch
|
|
16
|
+
*
|
|
17
|
+
* @remarks
|
|
18
|
+
* Creates and executes a batch from an uploaded file of requests
|
|
19
|
+
*/
|
|
20
|
+
async create(
|
|
21
|
+
request: operations.CreateBatchRequestBody,
|
|
22
|
+
options?: RequestOptions,
|
|
23
|
+
): Promise<operations.CreateBatchResponseBody> {
|
|
24
|
+
return unwrapAsync(batchesCreate(
|
|
25
|
+
this,
|
|
26
|
+
request,
|
|
27
|
+
options,
|
|
28
|
+
));
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* List Batch
|
|
33
|
+
*
|
|
34
|
+
* @remarks
|
|
35
|
+
* List your workspace's batches.
|
|
36
|
+
*/
|
|
37
|
+
async list(
|
|
38
|
+
request: operations.ListBatchesRequest,
|
|
39
|
+
options?: RequestOptions,
|
|
40
|
+
): Promise<operations.ListBatchesResponseBody> {
|
|
41
|
+
return unwrapAsync(batchesList(
|
|
42
|
+
this,
|
|
43
|
+
request,
|
|
44
|
+
options,
|
|
45
|
+
));
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Retrieve Batch
|
|
50
|
+
*
|
|
51
|
+
* @remarks
|
|
52
|
+
* Retrieve a batch by ID.
|
|
53
|
+
*/
|
|
54
|
+
async retrieve(
|
|
55
|
+
request: operations.RetrieveBatchRequest,
|
|
56
|
+
options?: RequestOptions,
|
|
57
|
+
): Promise<operations.RetrieveBatchResponseBody> {
|
|
58
|
+
return unwrapAsync(batchesRetrieve(
|
|
59
|
+
this,
|
|
60
|
+
request,
|
|
61
|
+
options,
|
|
62
|
+
));
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Cancel Batch
|
|
67
|
+
*
|
|
68
|
+
* @remarks
|
|
69
|
+
* Cancel a batch by ID.
|
|
70
|
+
*/
|
|
71
|
+
async cancel(
|
|
72
|
+
request: operations.CancelBatchRequest,
|
|
73
|
+
options?: RequestOptions,
|
|
74
|
+
): Promise<operations.CancelBatchResponseBody> {
|
|
75
|
+
return unwrapAsync(batchesCancel(
|
|
76
|
+
this,
|
|
77
|
+
request,
|
|
78
|
+
options,
|
|
79
|
+
));
|
|
80
|
+
}
|
|
81
|
+
}
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { proxyAudioSpeech } from "../funcs/proxyAudioSpeech.js";
|
|
6
|
+
import { proxyAudioTranscriptions } from "../funcs/proxyAudioTranscriptions.js";
|
|
7
|
+
import { proxyAudioTranslations } from "../funcs/proxyAudioTranslations.js";
|
|
8
|
+
import {
|
|
9
|
+
ChatCompletionsAcceptEnum,
|
|
10
|
+
proxyChatCompletions,
|
|
11
|
+
} from "../funcs/proxyChatCompletions.js";
|
|
12
|
+
import {
|
|
13
|
+
CompletionsAcceptEnum,
|
|
14
|
+
proxyCompletions,
|
|
15
|
+
} from "../funcs/proxyCompletions.js";
|
|
16
|
+
import { proxyEmbeddings } from "../funcs/proxyEmbeddings.js";
|
|
17
|
+
import { proxyImagesEdit } from "../funcs/proxyImagesEdit.js";
|
|
18
|
+
import { proxyImagesGenerate } from "../funcs/proxyImagesGenerate.js";
|
|
19
|
+
import { proxyImagesVariation } from "../funcs/proxyImagesVariation.js";
|
|
20
|
+
import { proxyModerations } from "../funcs/proxyModerations.js";
|
|
21
|
+
import { proxyRerank } from "../funcs/proxyRerank.js";
|
|
22
|
+
import {
|
|
23
|
+
proxyResponsesCreate,
|
|
24
|
+
ResponsesCreateAcceptEnum,
|
|
25
|
+
} from "../funcs/proxyResponsesCreate.js";
|
|
26
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
27
|
+
import * as operations from "../models/operations/index.js";
|
|
28
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
29
|
+
|
|
30
|
+
export { ChatCompletionsAcceptEnum } from "../funcs/proxyChatCompletions.js";
|
|
31
|
+
|
|
32
|
+
export { CompletionsAcceptEnum } from "../funcs/proxyCompletions.js";
|
|
33
|
+
|
|
34
|
+
export { ResponsesCreateAcceptEnum } from "../funcs/proxyResponsesCreate.js";
|
|
35
|
+
|
|
36
|
+
export class Proxy extends ClientSDK {
|
|
37
|
+
/**
|
|
38
|
+
* Create chat completion
|
|
39
|
+
*
|
|
40
|
+
* @remarks
|
|
41
|
+
* Creates a model response for the given chat conversation with support for retries, fallbacks, prompts, and variables.
|
|
42
|
+
*/
|
|
43
|
+
async chatCompletions(
|
|
44
|
+
request: operations.CreateChatCompletionRequestBody,
|
|
45
|
+
options?: RequestOptions & {
|
|
46
|
+
acceptHeaderOverride?: ChatCompletionsAcceptEnum;
|
|
47
|
+
},
|
|
48
|
+
): Promise<operations.CreateChatCompletionResponse> {
|
|
49
|
+
return unwrapAsync(proxyChatCompletions(
|
|
50
|
+
this,
|
|
51
|
+
request,
|
|
52
|
+
options,
|
|
53
|
+
));
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
async moderations(
|
|
57
|
+
request: operations.PostV2ProxyModerationsRequestBody,
|
|
58
|
+
options?: RequestOptions,
|
|
59
|
+
): Promise<operations.PostV2ProxyModerationsResponseBody> {
|
|
60
|
+
return unwrapAsync(proxyModerations(
|
|
61
|
+
this,
|
|
62
|
+
request,
|
|
63
|
+
options,
|
|
64
|
+
));
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Create embeddings
|
|
69
|
+
*
|
|
70
|
+
* @remarks
|
|
71
|
+
* Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms.
|
|
72
|
+
*/
|
|
73
|
+
async embeddings(
|
|
74
|
+
request: operations.PostV2ProxyEmbeddingsRequestBody,
|
|
75
|
+
options?: RequestOptions,
|
|
76
|
+
): Promise<operations.PostV2ProxyEmbeddingsResponseBody> {
|
|
77
|
+
return unwrapAsync(proxyEmbeddings(
|
|
78
|
+
this,
|
|
79
|
+
request,
|
|
80
|
+
options,
|
|
81
|
+
));
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Rerank a list of documents based on their relevance to a query.
|
|
86
|
+
*/
|
|
87
|
+
async rerank(
|
|
88
|
+
request: operations.PostV2ProxyRerankRequestBody,
|
|
89
|
+
options?: RequestOptions,
|
|
90
|
+
): Promise<operations.PostV2ProxyRerankResponseBody> {
|
|
91
|
+
return unwrapAsync(proxyRerank(
|
|
92
|
+
this,
|
|
93
|
+
request,
|
|
94
|
+
options,
|
|
95
|
+
));
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Generates audio from the input text.
|
|
100
|
+
*/
|
|
101
|
+
async audioSpeech(
|
|
102
|
+
request: operations.PostV2ProxyAudioSpeechRequestBody,
|
|
103
|
+
options?: RequestOptions,
|
|
104
|
+
): Promise<void> {
|
|
105
|
+
return unwrapAsync(proxyAudioSpeech(
|
|
106
|
+
this,
|
|
107
|
+
request,
|
|
108
|
+
options,
|
|
109
|
+
));
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Create a completion
|
|
114
|
+
*
|
|
115
|
+
* @remarks
|
|
116
|
+
* For sending requests to legacy completion models
|
|
117
|
+
*/
|
|
118
|
+
async completions(
|
|
119
|
+
request: operations.PostV2ProxyCompletionsRequestBody,
|
|
120
|
+
options?: RequestOptions & { acceptHeaderOverride?: CompletionsAcceptEnum },
|
|
121
|
+
): Promise<operations.PostV2ProxyCompletionsResponse> {
|
|
122
|
+
return unwrapAsync(proxyCompletions(
|
|
123
|
+
this,
|
|
124
|
+
request,
|
|
125
|
+
options,
|
|
126
|
+
));
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Create an Image
|
|
131
|
+
*/
|
|
132
|
+
async imagesGenerate(
|
|
133
|
+
request: operations.PostV2ProxyImagesGenerationsRequestBody,
|
|
134
|
+
options?: RequestOptions,
|
|
135
|
+
): Promise<operations.PostV2ProxyImagesGenerationsResponseBody> {
|
|
136
|
+
return unwrapAsync(proxyImagesGenerate(
|
|
137
|
+
this,
|
|
138
|
+
request,
|
|
139
|
+
options,
|
|
140
|
+
));
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Edit an Image
|
|
145
|
+
*/
|
|
146
|
+
async imagesEdit(
|
|
147
|
+
request: operations.PostV2ProxyImagesEditsRequestBody,
|
|
148
|
+
options?: RequestOptions,
|
|
149
|
+
): Promise<operations.PostV2ProxyImagesEditsResponseBody> {
|
|
150
|
+
return unwrapAsync(proxyImagesEdit(
|
|
151
|
+
this,
|
|
152
|
+
request,
|
|
153
|
+
options,
|
|
154
|
+
));
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* Create an Image Variation
|
|
159
|
+
*/
|
|
160
|
+
async imagesVariation(
|
|
161
|
+
request: operations.PostV2ProxyImagesVariationsRequestBody,
|
|
162
|
+
options?: RequestOptions,
|
|
163
|
+
): Promise<operations.PostV2ProxyImagesVariationsResponseBody> {
|
|
164
|
+
return unwrapAsync(proxyImagesVariation(
|
|
165
|
+
this,
|
|
166
|
+
request,
|
|
167
|
+
options,
|
|
168
|
+
));
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
async audioTranscriptions(
|
|
172
|
+
request: operations.PostV2ProxyAudioTranscriptionsRequestBody,
|
|
173
|
+
options?: RequestOptions,
|
|
174
|
+
): Promise<operations.PostV2ProxyAudioTranscriptionsResponseBody> {
|
|
175
|
+
return unwrapAsync(proxyAudioTranscriptions(
|
|
176
|
+
this,
|
|
177
|
+
request,
|
|
178
|
+
options,
|
|
179
|
+
));
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
async audioTranslations(
|
|
183
|
+
request: operations.PostV2ProxyAudioTranslationsRequestBody,
|
|
184
|
+
options?: RequestOptions,
|
|
185
|
+
): Promise<operations.PostV2ProxyAudioTranslationsResponseBody> {
|
|
186
|
+
return unwrapAsync(proxyAudioTranslations(
|
|
187
|
+
this,
|
|
188
|
+
request,
|
|
189
|
+
options,
|
|
190
|
+
));
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* Create response
|
|
195
|
+
*
|
|
196
|
+
* @remarks
|
|
197
|
+
* Creates a model response for the given input.
|
|
198
|
+
*/
|
|
199
|
+
async responsesCreate(
|
|
200
|
+
request: operations.CreateResponseRequestBody,
|
|
201
|
+
options?: RequestOptions & {
|
|
202
|
+
acceptHeaderOverride?: ResponsesCreateAcceptEnum;
|
|
203
|
+
},
|
|
204
|
+
): Promise<operations.CreateResponseResponse> {
|
|
205
|
+
return unwrapAsync(proxyResponsesCreate(
|
|
206
|
+
this,
|
|
207
|
+
request,
|
|
208
|
+
options,
|
|
209
|
+
));
|
|
210
|
+
}
|
|
211
|
+
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { ClientSDK } from "../lib/sdks.js";
|
|
6
|
+
import { Batches } from "./batches.js";
|
|
6
7
|
import { Budgets } from "./budgets.js";
|
|
7
8
|
import { Chunking } from "./chunking.js";
|
|
8
9
|
import { Contacts } from "./contacts.js";
|
|
@@ -14,6 +15,7 @@ import { Files } from "./files.js";
|
|
|
14
15
|
import { Knowledge } from "./knowledge.js";
|
|
15
16
|
import { Models } from "./models.js";
|
|
16
17
|
import { Prompts } from "./prompts.js";
|
|
18
|
+
import { Proxy } from "./proxy.js";
|
|
17
19
|
import { Remoteconfigs } from "./remoteconfigs.js";
|
|
18
20
|
|
|
19
21
|
export class Orq extends ClientSDK {
|
|
@@ -67,6 +69,16 @@ export class Orq extends ClientSDK {
|
|
|
67
69
|
return (this._chunking ??= new Chunking(this._options));
|
|
68
70
|
}
|
|
69
71
|
|
|
72
|
+
private _proxy?: Proxy;
|
|
73
|
+
get proxy(): Proxy {
|
|
74
|
+
return (this._proxy ??= new Proxy(this._options));
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
private _batches?: Batches;
|
|
78
|
+
get batches(): Batches {
|
|
79
|
+
return (this._batches ??= new Batches(this._options));
|
|
80
|
+
}
|
|
81
|
+
|
|
70
82
|
private _evals?: Evals;
|
|
71
83
|
get evals(): Evals {
|
|
72
84
|
return (this._evals ??= new Evals(this._options));
|
package/src/lib/config.ts
CHANGED
|
@@ -68,7 +68,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
68
68
|
export const SDK_METADATA = {
|
|
69
69
|
language: "typescript",
|
|
70
70
|
openapiDocVersion: "2.0",
|
|
71
|
-
sdkVersion: "3.11.
|
|
72
|
-
genVersion: "2.
|
|
73
|
-
userAgent: "speakeasy-sdk/typescript 3.11.
|
|
71
|
+
sdkVersion: "3.11.8",
|
|
72
|
+
genVersion: "2.687.1",
|
|
73
|
+
userAgent: "speakeasy-sdk/typescript 3.11.8 2.687.1 2.0 @orq-ai/node",
|
|
74
74
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -182,7 +182,7 @@ export const CreateContactResponseBody$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
|
-
"2025-08-
|
|
185
|
+
"2025-08-27T08:48:34.106Z",
|
|
186
186
|
).transform(v => new Date(v)),
|
|
187
187
|
}).transform((v) => {
|
|
188
188
|
return remap$(v, {
|
|
@@ -223,7 +223,7 @@ export const CreateContactResponseBody$outboundSchema: z.ZodType<
|
|
|
223
223
|
tags: z.array(z.string()).optional(),
|
|
224
224
|
metadata: z.record(z.any()).optional(),
|
|
225
225
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
226
|
-
updated: z.date().default(() => new Date("2025-08-
|
|
226
|
+
updated: z.date().default(() => new Date("2025-08-27T08:48:34.106Z"))
|
|
227
227
|
.transform(v => v.toISOString()),
|
|
228
228
|
}).transform((v) => {
|
|
229
229
|
return remap$(v, {
|
|
@@ -211,7 +211,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
211
211
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
212
212
|
.optional(),
|
|
213
213
|
updated: z.string().datetime({ offset: true }).default(
|
|
214
|
-
"2025-08-
|
|
214
|
+
"2025-08-27T08:48:34.106Z",
|
|
215
215
|
).transform(v => new Date(v)),
|
|
216
216
|
}).transform((v) => {
|
|
217
217
|
return remap$(v, {
|
|
@@ -251,7 +251,7 @@ export const CreateDatasetResponseBody$outboundSchema: z.ZodType<
|
|
|
251
251
|
updatedById: z.string().optional(),
|
|
252
252
|
metadata: z.lazy(() => CreateDatasetMetadata$outboundSchema),
|
|
253
253
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
254
|
-
updated: z.date().default(() => new Date("2025-08-
|
|
254
|
+
updated: z.date().default(() => new Date("2025-08-27T08:48:34.106Z"))
|
|
255
255
|
.transform(v => v.toISOString()),
|
|
256
256
|
}).transform((v) => {
|
|
257
257
|
return remap$(v, {
|
|
@@ -5100,7 +5100,7 @@ export const ResponseBody$inboundSchema: z.ZodType<
|
|
|
5100
5100
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
5101
5101
|
.optional(),
|
|
5102
5102
|
updated: z.string().datetime({ offset: true }).default(
|
|
5103
|
-
"2025-08-
|
|
5103
|
+
"2025-08-27T08:48:34.106Z",
|
|
5104
5104
|
).transform(v => new Date(v)),
|
|
5105
5105
|
}).transform((v) => {
|
|
5106
5106
|
return remap$(v, {
|
|
@@ -5164,7 +5164,7 @@ export const ResponseBody$outboundSchema: z.ZodType<
|
|
|
5164
5164
|
createdById: z.string().optional(),
|
|
5165
5165
|
updatedById: z.string().optional(),
|
|
5166
5166
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
5167
|
-
updated: z.date().default(() => new Date("2025-08-
|
|
5167
|
+
updated: z.date().default(() => new Date("2025-08-27T08:48:34.106Z"))
|
|
5168
5168
|
.transform(v => v.toISOString()),
|
|
5169
5169
|
}).transform((v) => {
|
|
5170
5170
|
return remap$(v, {
|
|
@@ -751,7 +751,7 @@ export const CreateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
751
751
|
z.ZodTypeDef,
|
|
752
752
|
unknown
|
|
753
753
|
> = z.object({
|
|
754
|
-
_id: z.string().default("
|
|
754
|
+
_id: z.string().default("01K3NBE4CV34067TA0PS0PHZNY"),
|
|
755
755
|
display_name: z.string(),
|
|
756
756
|
description: z.string().optional(),
|
|
757
757
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -795,7 +795,7 @@ export const CreateDatasourceResponseBody$outboundSchema: z.ZodType<
|
|
|
795
795
|
z.ZodTypeDef,
|
|
796
796
|
CreateDatasourceResponseBody
|
|
797
797
|
> = z.object({
|
|
798
|
-
id: z.string().default("
|
|
798
|
+
id: z.string().default("01K3NBE4CV34067TA0PS0PHZNY"),
|
|
799
799
|
displayName: z.string(),
|
|
800
800
|
description: z.string().optional(),
|
|
801
801
|
status: CreateDatasourceStatus$outboundSchema,
|
|
@@ -2399,8 +2399,8 @@ export const ResponseBodyPython$inboundSchema: z.ZodType<
|
|
|
2399
2399
|
> = z.object({
|
|
2400
2400
|
_id: z.string(),
|
|
2401
2401
|
description: z.string(),
|
|
2402
|
-
created: z.string().default("2025-08-
|
|
2403
|
-
updated: z.string().default("2025-08-
|
|
2402
|
+
created: z.string().default("2025-08-27T08:48:36.624Z"),
|
|
2403
|
+
updated: z.string().default("2025-08-27T08:48:36.624Z"),
|
|
2404
2404
|
guardrail_config: z.union([
|
|
2405
2405
|
z.lazy(() =>
|
|
2406
2406
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
|
|
@@ -2442,8 +2442,8 @@ export const ResponseBodyPython$outboundSchema: z.ZodType<
|
|
|
2442
2442
|
> = z.object({
|
|
2443
2443
|
id: z.string(),
|
|
2444
2444
|
description: z.string(),
|
|
2445
|
-
created: z.string().default("2025-08-
|
|
2446
|
-
updated: z.string().default("2025-08-
|
|
2445
|
+
created: z.string().default("2025-08-27T08:48:36.624Z"),
|
|
2446
|
+
updated: z.string().default("2025-08-27T08:48:36.624Z"),
|
|
2447
2447
|
guardrailConfig: z.union([
|
|
2448
2448
|
z.lazy(() =>
|
|
2449
2449
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
|
|
@@ -2856,8 +2856,8 @@ export const ResponseBodyHTTP$inboundSchema: z.ZodType<
|
|
|
2856
2856
|
> = z.object({
|
|
2857
2857
|
_id: z.string(),
|
|
2858
2858
|
description: z.string(),
|
|
2859
|
-
created: z.string().default("2025-08-
|
|
2860
|
-
updated: z.string().default("2025-08-
|
|
2859
|
+
created: z.string().default("2025-08-27T08:48:36.624Z"),
|
|
2860
|
+
updated: z.string().default("2025-08-27T08:48:36.624Z"),
|
|
2861
2861
|
guardrail_config: z.union([
|
|
2862
2862
|
z.lazy(() =>
|
|
2863
2863
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
|
|
@@ -2905,8 +2905,8 @@ export const ResponseBodyHTTP$outboundSchema: z.ZodType<
|
|
|
2905
2905
|
> = z.object({
|
|
2906
2906
|
id: z.string(),
|
|
2907
2907
|
description: z.string(),
|
|
2908
|
-
created: z.string().default("2025-08-
|
|
2909
|
-
updated: z.string().default("2025-08-
|
|
2908
|
+
created: z.string().default("2025-08-27T08:48:36.624Z"),
|
|
2909
|
+
updated: z.string().default("2025-08-27T08:48:36.624Z"),
|
|
2910
2910
|
guardrailConfig: z.union([
|
|
2911
2911
|
z.lazy(() =>
|
|
2912
2912
|
CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
|
|
@@ -3283,8 +3283,8 @@ export const ResponseBodyJSON$inboundSchema: z.ZodType<
|
|
|
3283
3283
|
> = z.object({
|
|
3284
3284
|
_id: z.string(),
|
|
3285
3285
|
description: z.string(),
|
|
3286
|
-
created: z.string().default("2025-08-
|
|
3287
|
-
updated: z.string().default("2025-08-
|
|
3286
|
+
created: z.string().default("2025-08-27T08:48:36.624Z"),
|
|
3287
|
+
updated: z.string().default("2025-08-27T08:48:36.624Z"),
|
|
3288
3288
|
guardrail_config: z.union([
|
|
3289
3289
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
3290
3290
|
z.lazy(() =>
|
|
@@ -3324,8 +3324,8 @@ export const ResponseBodyJSON$outboundSchema: z.ZodType<
|
|
|
3324
3324
|
> = z.object({
|
|
3325
3325
|
id: z.string(),
|
|
3326
3326
|
description: z.string(),
|
|
3327
|
-
created: z.string().default("2025-08-
|
|
3328
|
-
updated: z.string().default("2025-08-
|
|
3327
|
+
created: z.string().default("2025-08-27T08:48:36.624Z"),
|
|
3328
|
+
updated: z.string().default("2025-08-27T08:48:36.624Z"),
|
|
3329
3329
|
guardrailConfig: z.union([
|
|
3330
3330
|
z.lazy(() =>
|
|
3331
3331
|
CreateEvalGuardrailConfigEvalsResponse200Number$outboundSchema
|
|
@@ -3680,8 +3680,8 @@ export const ResponseBodyLLM$inboundSchema: z.ZodType<
|
|
|
3680
3680
|
> = z.object({
|
|
3681
3681
|
_id: z.string(),
|
|
3682
3682
|
description: z.string(),
|
|
3683
|
-
created: z.string().default("2025-08-
|
|
3684
|
-
updated: z.string().default("2025-08-
|
|
3683
|
+
created: z.string().default("2025-08-27T08:48:36.624Z"),
|
|
3684
|
+
updated: z.string().default("2025-08-27T08:48:36.624Z"),
|
|
3685
3685
|
guardrail_config: z.union([
|
|
3686
3686
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
3687
3687
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -3721,8 +3721,8 @@ export const ResponseBodyLLM$outboundSchema: z.ZodType<
|
|
|
3721
3721
|
> = z.object({
|
|
3722
3722
|
id: z.string(),
|
|
3723
3723
|
description: z.string(),
|
|
3724
|
-
created: z.string().default("2025-08-
|
|
3725
|
-
updated: z.string().default("2025-08-
|
|
3724
|
+
created: z.string().default("2025-08-27T08:48:36.624Z"),
|
|
3725
|
+
updated: z.string().default("2025-08-27T08:48:36.624Z"),
|
|
3726
3726
|
guardrailConfig: z.union([
|
|
3727
3727
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
3728
3728
|
z.lazy(() => CreateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
@@ -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-08-
|
|
149
|
+
"2025-08-27T08:48:37.481Z",
|
|
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-08-
|
|
183
|
+
created: z.date().default(() => new Date("2025-08-27T08:48:37.481Z"))
|
|
184
184
|
.transform(v => v.toISOString()),
|
|
185
185
|
}).transform((v) => {
|
|
186
186
|
return remap$(v, {
|