@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
|
@@ -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-27T07:41:11.101Z",
|
|
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-27T07:41:11.101Z"))
|
|
184
184
|
.transform(v => v.toISOString()),
|
|
185
185
|
}).transform((v) => {
|
|
186
186
|
return remap$(v, {
|
|
@@ -196,7 +196,7 @@ export const FileListData$inboundSchema: z.ZodType<
|
|
|
196
196
|
file_name: z.string(),
|
|
197
197
|
workspace_id: z.string(),
|
|
198
198
|
created: z.string().datetime({ offset: true }).default(
|
|
199
|
-
"2025-08-
|
|
199
|
+
"2025-08-27T07:41:11.101Z",
|
|
200
200
|
).transform(v => new Date(v)),
|
|
201
201
|
}).transform((v) => {
|
|
202
202
|
return remap$(v, {
|
|
@@ -230,7 +230,7 @@ export const FileListData$outboundSchema: z.ZodType<
|
|
|
230
230
|
bytes: z.number(),
|
|
231
231
|
fileName: z.string(),
|
|
232
232
|
workspaceId: z.string(),
|
|
233
|
-
created: z.date().default(() => new Date("2025-08-
|
|
233
|
+
created: z.date().default(() => new Date("2025-08-27T07:41:11.101Z"))
|
|
234
234
|
.transform(v => v.toISOString()),
|
|
235
235
|
}).transform((v) => {
|
|
236
236
|
return remap$(v, {
|
|
@@ -250,7 +250,7 @@ export const FileUploadResponseBody$inboundSchema: z.ZodType<
|
|
|
250
250
|
file_name: z.string(),
|
|
251
251
|
workspace_id: z.string(),
|
|
252
252
|
created: z.string().datetime({ offset: true }).default(
|
|
253
|
-
"2025-08-
|
|
253
|
+
"2025-08-27T07:41:11.101Z",
|
|
254
254
|
).transform(v => new Date(v)),
|
|
255
255
|
}).transform((v) => {
|
|
256
256
|
return remap$(v, {
|
|
@@ -284,7 +284,7 @@ export const FileUploadResponseBody$outboundSchema: z.ZodType<
|
|
|
284
284
|
bytes: z.number(),
|
|
285
285
|
fileName: z.string(),
|
|
286
286
|
workspaceId: z.string(),
|
|
287
|
-
created: z.date().default(() => new Date("2025-08-
|
|
287
|
+
created: z.date().default(() => new Date("2025-08-27T07:41:11.101Z"))
|
|
288
288
|
.transform(v => v.toISOString()),
|
|
289
289
|
}).transform((v) => {
|
|
290
290
|
return remap$(v, {
|
|
@@ -356,7 +356,7 @@ export const GetBudgetResponseBody$inboundSchema: z.ZodType<
|
|
|
356
356
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
357
357
|
.optional(),
|
|
358
358
|
updated: z.string().datetime({ offset: true }).default(
|
|
359
|
-
"2025-08-
|
|
359
|
+
"2025-08-27T07:41:07.739Z",
|
|
360
360
|
).transform(v => new Date(v)),
|
|
361
361
|
}).transform((v) => {
|
|
362
362
|
return remap$(v, {
|
|
@@ -394,7 +394,7 @@ export const GetBudgetResponseBody$outboundSchema: z.ZodType<
|
|
|
394
394
|
isActive: z.boolean(),
|
|
395
395
|
consumption: z.lazy(() => GetBudgetConsumption$outboundSchema).optional(),
|
|
396
396
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
397
|
-
updated: z.date().default(() => new Date("2025-08-
|
|
397
|
+
updated: z.date().default(() => new Date("2025-08-27T07:41:07.739Z"))
|
|
398
398
|
.transform(v => v.toISOString()),
|
|
399
399
|
}).transform((v) => {
|
|
400
400
|
return remap$(v, {
|
|
@@ -664,7 +664,7 @@ export const GetEvalsFunctionParamsEvalsResponse200ApplicationJSONType = {
|
|
|
664
664
|
export type GetEvalsFunctionParamsEvalsResponse200ApplicationJSONType =
|
|
665
665
|
ClosedEnum<typeof GetEvalsFunctionParamsEvalsResponse200ApplicationJSONType>;
|
|
666
666
|
|
|
667
|
-
export type
|
|
667
|
+
export type FunctionParams6 = {
|
|
668
668
|
type: GetEvalsFunctionParamsEvalsResponse200ApplicationJSONType;
|
|
669
669
|
};
|
|
670
670
|
|
|
@@ -675,7 +675,7 @@ export type GetEvalsFunctionParamsEvalsResponse200Type = ClosedEnum<
|
|
|
675
675
|
typeof GetEvalsFunctionParamsEvalsResponse200Type
|
|
676
676
|
>;
|
|
677
677
|
|
|
678
|
-
export type
|
|
678
|
+
export type FunctionParams5 = {
|
|
679
679
|
type: GetEvalsFunctionParamsEvalsResponse200Type;
|
|
680
680
|
};
|
|
681
681
|
|
|
@@ -738,8 +738,8 @@ export type DataFunctionParams =
|
|
|
738
738
|
| Fifteen
|
|
739
739
|
| TwentyFive
|
|
740
740
|
| TwentySix
|
|
741
|
-
|
|
|
742
|
-
|
|
|
741
|
+
| FunctionParams5
|
|
742
|
+
| FunctionParams6
|
|
743
743
|
| Seven
|
|
744
744
|
| Ten
|
|
745
745
|
| Fourteen
|
|
@@ -785,8 +785,8 @@ export type DataFunction = {
|
|
|
785
785
|
| Fifteen
|
|
786
786
|
| TwentyFive
|
|
787
787
|
| TwentySix
|
|
788
|
-
|
|
|
789
|
-
|
|
|
788
|
+
| FunctionParams5
|
|
789
|
+
| FunctionParams6
|
|
790
790
|
| Seven
|
|
791
791
|
| Ten
|
|
792
792
|
| Fourteen
|
|
@@ -1551,8 +1551,8 @@ export const Typescript$inboundSchema: z.ZodType<
|
|
|
1551
1551
|
> = z.object({
|
|
1552
1552
|
_id: z.string(),
|
|
1553
1553
|
description: z.string(),
|
|
1554
|
-
created: z.string().default("2025-08-
|
|
1555
|
-
updated: z.string().default("2025-08-
|
|
1554
|
+
created: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
1555
|
+
updated: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
1556
1556
|
guardrail_config: z.union([
|
|
1557
1557
|
z.lazy(() =>
|
|
1558
1558
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema
|
|
@@ -1595,8 +1595,8 @@ export const Typescript$outboundSchema: z.ZodType<
|
|
|
1595
1595
|
> = z.object({
|
|
1596
1596
|
id: z.string(),
|
|
1597
1597
|
description: z.string(),
|
|
1598
|
-
created: z.string().default("2025-08-
|
|
1599
|
-
updated: z.string().default("2025-08-
|
|
1598
|
+
created: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
1599
|
+
updated: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
1600
1600
|
guardrailConfig: z.union([
|
|
1601
1601
|
z.lazy(() =>
|
|
1602
1602
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema
|
|
@@ -1992,8 +1992,8 @@ export const Ragas$inboundSchema: z.ZodType<Ragas, z.ZodTypeDef, unknown> = z
|
|
|
1992
1992
|
.object({
|
|
1993
1993
|
_id: z.string(),
|
|
1994
1994
|
description: z.string(),
|
|
1995
|
-
created: z.string().default("2025-08-
|
|
1996
|
-
updated: z.string().default("2025-08-
|
|
1995
|
+
created: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
1996
|
+
updated: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
1997
1997
|
guardrail_config: z.union([
|
|
1998
1998
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
1999
1999
|
z.lazy(() =>
|
|
@@ -2036,8 +2036,8 @@ export const Ragas$outboundSchema: z.ZodType<
|
|
|
2036
2036
|
> = z.object({
|
|
2037
2037
|
id: z.string(),
|
|
2038
2038
|
description: z.string(),
|
|
2039
|
-
created: z.string().default("2025-08-
|
|
2040
|
-
updated: z.string().default("2025-08-
|
|
2039
|
+
created: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
2040
|
+
updated: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
2041
2041
|
guardrailConfig: z.union([
|
|
2042
2042
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Number$outboundSchema),
|
|
2043
2043
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$outboundSchema),
|
|
@@ -4735,48 +4735,55 @@ export namespace GetEvalsFunctionParamsEvalsResponse200ApplicationJSONType$ {
|
|
|
4735
4735
|
}
|
|
4736
4736
|
|
|
4737
4737
|
/** @internal */
|
|
4738
|
-
export const
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
|
|
4738
|
+
export const FunctionParams6$inboundSchema: z.ZodType<
|
|
4739
|
+
FunctionParams6,
|
|
4740
|
+
z.ZodTypeDef,
|
|
4741
|
+
unknown
|
|
4742
|
+
> = z.object({
|
|
4743
|
+
type: GetEvalsFunctionParamsEvalsResponse200ApplicationJSONType$inboundSchema,
|
|
4744
|
+
});
|
|
4743
4745
|
|
|
4744
4746
|
/** @internal */
|
|
4745
|
-
export type
|
|
4747
|
+
export type FunctionParams6$Outbound = {
|
|
4746
4748
|
type: string;
|
|
4747
4749
|
};
|
|
4748
4750
|
|
|
4749
4751
|
/** @internal */
|
|
4750
|
-
export const
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
|
|
4752
|
+
export const FunctionParams6$outboundSchema: z.ZodType<
|
|
4753
|
+
FunctionParams6$Outbound,
|
|
4754
|
+
z.ZodTypeDef,
|
|
4755
|
+
FunctionParams6
|
|
4756
|
+
> = z.object({
|
|
4757
|
+
type:
|
|
4758
|
+
GetEvalsFunctionParamsEvalsResponse200ApplicationJSONType$outboundSchema,
|
|
4759
|
+
});
|
|
4755
4760
|
|
|
4756
4761
|
/**
|
|
4757
4762
|
* @internal
|
|
4758
4763
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4759
4764
|
*/
|
|
4760
|
-
export namespace
|
|
4761
|
-
/** @deprecated use `
|
|
4762
|
-
export const inboundSchema =
|
|
4763
|
-
/** @deprecated use `
|
|
4764
|
-
export const outboundSchema =
|
|
4765
|
-
/** @deprecated use `
|
|
4766
|
-
export type Outbound =
|
|
4765
|
+
export namespace FunctionParams6$ {
|
|
4766
|
+
/** @deprecated use `FunctionParams6$inboundSchema` instead. */
|
|
4767
|
+
export const inboundSchema = FunctionParams6$inboundSchema;
|
|
4768
|
+
/** @deprecated use `FunctionParams6$outboundSchema` instead. */
|
|
4769
|
+
export const outboundSchema = FunctionParams6$outboundSchema;
|
|
4770
|
+
/** @deprecated use `FunctionParams6$Outbound` instead. */
|
|
4771
|
+
export type Outbound = FunctionParams6$Outbound;
|
|
4767
4772
|
}
|
|
4768
4773
|
|
|
4769
|
-
export function
|
|
4770
|
-
|
|
4774
|
+
export function functionParams6ToJSON(
|
|
4775
|
+
functionParams6: FunctionParams6,
|
|
4776
|
+
): string {
|
|
4777
|
+
return JSON.stringify(FunctionParams6$outboundSchema.parse(functionParams6));
|
|
4771
4778
|
}
|
|
4772
4779
|
|
|
4773
|
-
export function
|
|
4780
|
+
export function functionParams6FromJSON(
|
|
4774
4781
|
jsonString: string,
|
|
4775
|
-
): SafeParseResult<
|
|
4782
|
+
): SafeParseResult<FunctionParams6, SDKValidationError> {
|
|
4776
4783
|
return safeParse(
|
|
4777
4784
|
jsonString,
|
|
4778
|
-
(x) =>
|
|
4779
|
-
`Failed to parse '
|
|
4785
|
+
(x) => FunctionParams6$inboundSchema.parse(JSON.parse(x)),
|
|
4786
|
+
`Failed to parse 'FunctionParams6' from JSON`,
|
|
4780
4787
|
);
|
|
4781
4788
|
}
|
|
4782
4789
|
|
|
@@ -4804,46 +4811,54 @@ export namespace GetEvalsFunctionParamsEvalsResponse200Type$ {
|
|
|
4804
4811
|
}
|
|
4805
4812
|
|
|
4806
4813
|
/** @internal */
|
|
4807
|
-
export const
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4814
|
+
export const FunctionParams5$inboundSchema: z.ZodType<
|
|
4815
|
+
FunctionParams5,
|
|
4816
|
+
z.ZodTypeDef,
|
|
4817
|
+
unknown
|
|
4818
|
+
> = z.object({
|
|
4819
|
+
type: GetEvalsFunctionParamsEvalsResponse200Type$inboundSchema,
|
|
4820
|
+
});
|
|
4811
4821
|
|
|
4812
4822
|
/** @internal */
|
|
4813
|
-
export type
|
|
4823
|
+
export type FunctionParams5$Outbound = {
|
|
4814
4824
|
type: string;
|
|
4815
4825
|
};
|
|
4816
4826
|
|
|
4817
4827
|
/** @internal */
|
|
4818
|
-
export const
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4828
|
+
export const FunctionParams5$outboundSchema: z.ZodType<
|
|
4829
|
+
FunctionParams5$Outbound,
|
|
4830
|
+
z.ZodTypeDef,
|
|
4831
|
+
FunctionParams5
|
|
4832
|
+
> = z.object({
|
|
4833
|
+
type: GetEvalsFunctionParamsEvalsResponse200Type$outboundSchema,
|
|
4834
|
+
});
|
|
4822
4835
|
|
|
4823
4836
|
/**
|
|
4824
4837
|
* @internal
|
|
4825
4838
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
4826
4839
|
*/
|
|
4827
|
-
export namespace
|
|
4828
|
-
/** @deprecated use `
|
|
4829
|
-
export const inboundSchema =
|
|
4830
|
-
/** @deprecated use `
|
|
4831
|
-
export const outboundSchema =
|
|
4832
|
-
/** @deprecated use `
|
|
4833
|
-
export type Outbound =
|
|
4840
|
+
export namespace FunctionParams5$ {
|
|
4841
|
+
/** @deprecated use `FunctionParams5$inboundSchema` instead. */
|
|
4842
|
+
export const inboundSchema = FunctionParams5$inboundSchema;
|
|
4843
|
+
/** @deprecated use `FunctionParams5$outboundSchema` instead. */
|
|
4844
|
+
export const outboundSchema = FunctionParams5$outboundSchema;
|
|
4845
|
+
/** @deprecated use `FunctionParams5$Outbound` instead. */
|
|
4846
|
+
export type Outbound = FunctionParams5$Outbound;
|
|
4834
4847
|
}
|
|
4835
4848
|
|
|
4836
|
-
export function
|
|
4837
|
-
|
|
4849
|
+
export function functionParams5ToJSON(
|
|
4850
|
+
functionParams5: FunctionParams5,
|
|
4851
|
+
): string {
|
|
4852
|
+
return JSON.stringify(FunctionParams5$outboundSchema.parse(functionParams5));
|
|
4838
4853
|
}
|
|
4839
4854
|
|
|
4840
|
-
export function
|
|
4855
|
+
export function functionParams5FromJSON(
|
|
4841
4856
|
jsonString: string,
|
|
4842
|
-
): SafeParseResult<
|
|
4857
|
+
): SafeParseResult<FunctionParams5, SDKValidationError> {
|
|
4843
4858
|
return safeParse(
|
|
4844
4859
|
jsonString,
|
|
4845
|
-
(x) =>
|
|
4846
|
-
`Failed to parse '
|
|
4860
|
+
(x) => FunctionParams5$inboundSchema.parse(JSON.parse(x)),
|
|
4861
|
+
`Failed to parse 'FunctionParams5' from JSON`,
|
|
4847
4862
|
);
|
|
4848
4863
|
}
|
|
4849
4864
|
|
|
@@ -5171,8 +5186,8 @@ export const DataFunctionParams$inboundSchema: z.ZodType<
|
|
|
5171
5186
|
z.lazy(() => Fifteen$inboundSchema),
|
|
5172
5187
|
z.lazy(() => TwentyFive$inboundSchema),
|
|
5173
5188
|
z.lazy(() => TwentySix$inboundSchema),
|
|
5174
|
-
z.lazy(() =>
|
|
5175
|
-
z.lazy(() =>
|
|
5189
|
+
z.lazy(() => FunctionParams5$inboundSchema),
|
|
5190
|
+
z.lazy(() => FunctionParams6$inboundSchema),
|
|
5176
5191
|
z.lazy(() => Seven$inboundSchema),
|
|
5177
5192
|
z.lazy(() => Ten$inboundSchema),
|
|
5178
5193
|
z.lazy(() => Fourteen$inboundSchema),
|
|
@@ -5210,8 +5225,8 @@ export type DataFunctionParams$Outbound =
|
|
|
5210
5225
|
| Fifteen$Outbound
|
|
5211
5226
|
| TwentyFive$Outbound
|
|
5212
5227
|
| TwentySix$Outbound
|
|
5213
|
-
|
|
|
5214
|
-
|
|
|
5228
|
+
| FunctionParams5$Outbound
|
|
5229
|
+
| FunctionParams6$Outbound
|
|
5215
5230
|
| Seven$Outbound
|
|
5216
5231
|
| Ten$Outbound
|
|
5217
5232
|
| Fourteen$Outbound
|
|
@@ -5252,8 +5267,8 @@ export const DataFunctionParams$outboundSchema: z.ZodType<
|
|
|
5252
5267
|
z.lazy(() => Fifteen$outboundSchema),
|
|
5253
5268
|
z.lazy(() => TwentyFive$outboundSchema),
|
|
5254
5269
|
z.lazy(() => TwentySix$outboundSchema),
|
|
5255
|
-
z.lazy(() =>
|
|
5256
|
-
z.lazy(() =>
|
|
5270
|
+
z.lazy(() => FunctionParams5$outboundSchema),
|
|
5271
|
+
z.lazy(() => FunctionParams6$outboundSchema),
|
|
5257
5272
|
z.lazy(() => Seven$outboundSchema),
|
|
5258
5273
|
z.lazy(() => Ten$outboundSchema),
|
|
5259
5274
|
z.lazy(() => Fourteen$outboundSchema),
|
|
@@ -5316,8 +5331,8 @@ export const DataFunction$inboundSchema: z.ZodType<
|
|
|
5316
5331
|
> = z.object({
|
|
5317
5332
|
_id: z.string(),
|
|
5318
5333
|
description: z.string(),
|
|
5319
|
-
created: z.string().default("2025-08-
|
|
5320
|
-
updated: z.string().default("2025-08-
|
|
5334
|
+
created: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
5335
|
+
updated: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
5321
5336
|
guardrail_config: z.union([
|
|
5322
5337
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
5323
5338
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
@@ -5336,8 +5351,8 @@ export const DataFunction$inboundSchema: z.ZodType<
|
|
|
5336
5351
|
z.lazy(() => Fifteen$inboundSchema),
|
|
5337
5352
|
z.lazy(() => TwentyFive$inboundSchema),
|
|
5338
5353
|
z.lazy(() => TwentySix$inboundSchema),
|
|
5339
|
-
z.lazy(() =>
|
|
5340
|
-
z.lazy(() =>
|
|
5354
|
+
z.lazy(() => FunctionParams5$inboundSchema),
|
|
5355
|
+
z.lazy(() => FunctionParams6$inboundSchema),
|
|
5341
5356
|
z.lazy(() => Seven$inboundSchema),
|
|
5342
5357
|
z.lazy(() => Ten$inboundSchema),
|
|
5343
5358
|
z.lazy(() => Fourteen$inboundSchema),
|
|
@@ -5393,8 +5408,8 @@ export type DataFunction$Outbound = {
|
|
|
5393
5408
|
| Fifteen$Outbound
|
|
5394
5409
|
| TwentyFive$Outbound
|
|
5395
5410
|
| TwentySix$Outbound
|
|
5396
|
-
|
|
|
5397
|
-
|
|
|
5411
|
+
| FunctionParams5$Outbound
|
|
5412
|
+
| FunctionParams6$Outbound
|
|
5398
5413
|
| Seven$Outbound
|
|
5399
5414
|
| Ten$Outbound
|
|
5400
5415
|
| Fourteen$Outbound
|
|
@@ -5427,8 +5442,8 @@ export const DataFunction$outboundSchema: z.ZodType<
|
|
|
5427
5442
|
> = z.object({
|
|
5428
5443
|
id: z.string(),
|
|
5429
5444
|
description: z.string(),
|
|
5430
|
-
created: z.string().default("2025-08-
|
|
5431
|
-
updated: z.string().default("2025-08-
|
|
5445
|
+
created: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
5446
|
+
updated: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
5432
5447
|
guardrailConfig: z.union([
|
|
5433
5448
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
5434
5449
|
z.lazy(() => GetEvalsGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
@@ -5447,8 +5462,8 @@ export const DataFunction$outboundSchema: z.ZodType<
|
|
|
5447
5462
|
z.lazy(() => Fifteen$outboundSchema),
|
|
5448
5463
|
z.lazy(() => TwentyFive$outboundSchema),
|
|
5449
5464
|
z.lazy(() => TwentySix$outboundSchema),
|
|
5450
|
-
z.lazy(() =>
|
|
5451
|
-
z.lazy(() =>
|
|
5465
|
+
z.lazy(() => FunctionParams5$outboundSchema),
|
|
5466
|
+
z.lazy(() => FunctionParams6$outboundSchema),
|
|
5452
5467
|
z.lazy(() => Seven$outboundSchema),
|
|
5453
5468
|
z.lazy(() => Ten$outboundSchema),
|
|
5454
5469
|
z.lazy(() => Fourteen$outboundSchema),
|
|
@@ -5810,8 +5825,8 @@ export const DataPython$inboundSchema: z.ZodType<
|
|
|
5810
5825
|
> = z.object({
|
|
5811
5826
|
_id: z.string(),
|
|
5812
5827
|
description: z.string(),
|
|
5813
|
-
created: z.string().default("2025-08-
|
|
5814
|
-
updated: z.string().default("2025-08-
|
|
5828
|
+
created: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
5829
|
+
updated: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
5815
5830
|
guardrail_config: z.union([
|
|
5816
5831
|
z.lazy(() => GetEvalsGuardrailConfigEvalsNumber$inboundSchema),
|
|
5817
5832
|
z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$inboundSchema),
|
|
@@ -5849,8 +5864,8 @@ export const DataPython$outboundSchema: z.ZodType<
|
|
|
5849
5864
|
> = z.object({
|
|
5850
5865
|
id: z.string(),
|
|
5851
5866
|
description: z.string(),
|
|
5852
|
-
created: z.string().default("2025-08-
|
|
5853
|
-
updated: z.string().default("2025-08-
|
|
5867
|
+
created: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
5868
|
+
updated: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
5854
5869
|
guardrailConfig: z.union([
|
|
5855
5870
|
z.lazy(() => GetEvalsGuardrailConfigEvalsNumber$outboundSchema),
|
|
5856
5871
|
z.lazy(() => GetEvalsGuardrailConfigEvalsBoolean$outboundSchema),
|
|
@@ -6196,8 +6211,8 @@ export const DataHTTP$inboundSchema: z.ZodType<
|
|
|
6196
6211
|
> = z.object({
|
|
6197
6212
|
_id: z.string(),
|
|
6198
6213
|
description: z.string(),
|
|
6199
|
-
created: z.string().default("2025-08-
|
|
6200
|
-
updated: z.string().default("2025-08-
|
|
6214
|
+
created: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
6215
|
+
updated: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
6201
6216
|
guardrail_config: z.union([
|
|
6202
6217
|
z.lazy(() => GetEvalsGuardrailConfigNumber$inboundSchema),
|
|
6203
6218
|
z.lazy(() => GetEvalsGuardrailConfigBoolean$inboundSchema),
|
|
@@ -6241,8 +6256,8 @@ export const DataHTTP$outboundSchema: z.ZodType<
|
|
|
6241
6256
|
> = z.object({
|
|
6242
6257
|
id: z.string(),
|
|
6243
6258
|
description: z.string(),
|
|
6244
|
-
created: z.string().default("2025-08-
|
|
6245
|
-
updated: z.string().default("2025-08-
|
|
6259
|
+
created: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
6260
|
+
updated: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
6246
6261
|
guardrailConfig: z.union([
|
|
6247
6262
|
z.lazy(() => GetEvalsGuardrailConfigNumber$outboundSchema),
|
|
6248
6263
|
z.lazy(() => GetEvalsGuardrailConfigBoolean$outboundSchema),
|
|
@@ -6607,8 +6622,8 @@ export const DataJSON$inboundSchema: z.ZodType<
|
|
|
6607
6622
|
> = z.object({
|
|
6608
6623
|
_id: z.string(),
|
|
6609
6624
|
description: z.string(),
|
|
6610
|
-
created: z.string().default("2025-08-
|
|
6611
|
-
updated: z.string().default("2025-08-
|
|
6625
|
+
created: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
6626
|
+
updated: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
6612
6627
|
guardrail_config: z.union([
|
|
6613
6628
|
z.lazy(() =>
|
|
6614
6629
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$inboundSchema
|
|
@@ -6650,8 +6665,8 @@ export const DataJSON$outboundSchema: z.ZodType<
|
|
|
6650
6665
|
> = z.object({
|
|
6651
6666
|
id: z.string(),
|
|
6652
6667
|
description: z.string(),
|
|
6653
|
-
created: z.string().default("2025-08-
|
|
6654
|
-
updated: z.string().default("2025-08-
|
|
6668
|
+
created: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
6669
|
+
updated: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
6655
6670
|
guardrailConfig: z.union([
|
|
6656
6671
|
z.lazy(() =>
|
|
6657
6672
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$outboundSchema
|
|
@@ -7033,8 +7048,8 @@ export const DataLLM$inboundSchema: z.ZodType<DataLLM, z.ZodTypeDef, unknown> =
|
|
|
7033
7048
|
z.object({
|
|
7034
7049
|
_id: z.string(),
|
|
7035
7050
|
description: z.string(),
|
|
7036
|
-
created: z.string().default("2025-08-
|
|
7037
|
-
updated: z.string().default("2025-08-
|
|
7051
|
+
created: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
7052
|
+
updated: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
7038
7053
|
guardrail_config: z.union([
|
|
7039
7054
|
z.lazy(() =>
|
|
7040
7055
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema
|
|
@@ -7078,8 +7093,8 @@ export const DataLLM$outboundSchema: z.ZodType<
|
|
|
7078
7093
|
> = z.object({
|
|
7079
7094
|
id: z.string(),
|
|
7080
7095
|
description: z.string(),
|
|
7081
|
-
created: z.string().default("2025-08-
|
|
7082
|
-
updated: z.string().default("2025-08-
|
|
7096
|
+
created: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
7097
|
+
updated: z.string().default("2025-08-27T07:41:10.243Z"),
|
|
7083
7098
|
guardrailConfig: z.union([
|
|
7084
7099
|
z.lazy(() =>
|
|
7085
7100
|
GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema
|
|
@@ -2,8 +2,11 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
+
export * from "./cancelbatch.js";
|
|
5
6
|
export * from "./cleardataset.js";
|
|
7
|
+
export * from "./createbatch.js";
|
|
6
8
|
export * from "./createbudget.js";
|
|
9
|
+
export * from "./createchatcompletion.js";
|
|
7
10
|
export * from "./createchunk.js";
|
|
8
11
|
export * from "./createcontact.js";
|
|
9
12
|
export * from "./createdataset.js";
|
|
@@ -13,6 +16,7 @@ export * from "./createeval.js";
|
|
|
13
16
|
export * from "./createfeedback.js";
|
|
14
17
|
export * from "./createknowledge.js";
|
|
15
18
|
export * from "./createprompt.js";
|
|
19
|
+
export * from "./createresponse.js";
|
|
16
20
|
export * from "./deletebudget.js";
|
|
17
21
|
export * from "./deletechunk.js";
|
|
18
22
|
export * from "./deletecontact.js";
|
|
@@ -76,6 +80,7 @@ export * from "./getoneknowledge.js";
|
|
|
76
80
|
export * from "./getoneprompt.js";
|
|
77
81
|
export * from "./getpromptversion.js";
|
|
78
82
|
export * from "./invokeeval.js";
|
|
83
|
+
export * from "./listbatches.js";
|
|
79
84
|
export * from "./listbudgets.js";
|
|
80
85
|
export * from "./listchunks.js";
|
|
81
86
|
export * from "./listcontacts.js";
|
|
@@ -86,7 +91,18 @@ export * from "./listknowledgebases.js";
|
|
|
86
91
|
export * from "./listmodels.js";
|
|
87
92
|
export * from "./listpromptversions.js";
|
|
88
93
|
export * from "./parse.js";
|
|
94
|
+
export * from "./postv2proxyaudiospeech.js";
|
|
95
|
+
export * from "./postv2proxyaudiotranscriptions.js";
|
|
96
|
+
export * from "./postv2proxyaudiotranslations.js";
|
|
97
|
+
export * from "./postv2proxycompletions.js";
|
|
98
|
+
export * from "./postv2proxyembeddings.js";
|
|
99
|
+
export * from "./postv2proxyimagesedits.js";
|
|
100
|
+
export * from "./postv2proxyimagesgenerations.js";
|
|
101
|
+
export * from "./postv2proxyimagesvariations.js";
|
|
102
|
+
export * from "./postv2proxymoderations.js";
|
|
103
|
+
export * from "./postv2proxyrerank.js";
|
|
89
104
|
export * from "./remoteconfigsgetconfig.js";
|
|
105
|
+
export * from "./retrievebatch.js";
|
|
90
106
|
export * from "./retrievecontact.js";
|
|
91
107
|
export * from "./retrievedatapoint.js";
|
|
92
108
|
export * from "./retrievedataset.js";
|