@orq-ai/node 3.8.0-rc.30 → 3.8.0-rc.32
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 +570 -570
- package/bin/mcp-server.js.map +40 -40
- 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/components/deployments.d.ts +12 -12
- package/models/components/deployments.d.ts.map +1 -1
- package/models/components/deployments.js +12 -12
- package/models/components/deployments.js.map +1 -1
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.d.ts +12 -12
- package/models/operations/createdatasetitem.d.ts.map +1 -1
- package/models/operations/createdatasetitem.js +14 -14
- package/models/operations/createdatasetitem.js.map +1 -1
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.d.ts +36 -36
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +56 -56
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/createprompt.d.ts +8 -8
- package/models/operations/createprompt.js +8 -8
- package/models/operations/deploymentcreatemetric.d.ts +12 -12
- package/models/operations/deploymentcreatemetric.d.ts.map +1 -1
- package/models/operations/deploymentcreatemetric.js +12 -12
- package/models/operations/deploymentcreatemetric.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +16 -16
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +16 -16
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +4 -4
- package/models/operations/deploymentinvoke.js +8 -8
- package/models/operations/deployments.d.ts +4 -4
- package/models/operations/deployments.js +4 -4
- package/models/operations/deploymentstream.d.ts +16 -16
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +16 -16
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getallprompts.d.ts +4 -4
- package/models/operations/getallprompts.js +4 -4
- package/models/operations/getevals.d.ts +36 -36
- package/models/operations/getevals.d.ts.map +1 -1
- package/models/operations/getevals.js +108 -108
- package/models/operations/getevals.js.map +1 -1
- package/models/operations/getoneprompt.d.ts +4 -4
- package/models/operations/getoneprompt.js +4 -4
- package/models/operations/getpromptversion.d.ts +4 -4
- package/models/operations/getpromptversion.js +4 -4
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.d.ts +6 -6
- package/models/operations/listdatasetdatapoints.d.ts.map +1 -1
- package/models/operations/listdatasetdatapoints.js +8 -8
- package/models/operations/listdatasetdatapoints.js.map +1 -1
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/listpromptversions.d.ts +4 -4
- package/models/operations/listpromptversions.js +4 -4
- package/models/operations/postv2modelslitellmimport.d.ts +4 -4
- package/models/operations/postv2modelslitellmimport.js +8 -8
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.d.ts +6 -6
- package/models/operations/retrievedatapoint.d.ts.map +1 -1
- package/models/operations/retrievedatapoint.js +8 -8
- package/models/operations/retrievedatapoint.js.map +1 -1
- 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.d.ts +12 -12
- package/models/operations/updatedatapoint.d.ts.map +1 -1
- package/models/operations/updatedatapoint.js +14 -14
- package/models/operations/updatedatapoint.js.map +1 -1
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.d.ts +38 -38
- package/models/operations/updateeval.d.ts.map +1 -1
- package/models/operations/updateeval.js +60 -60
- package/models/operations/updateeval.js.map +1 -1
- package/models/operations/updateprompt.d.ts +8 -8
- package/models/operations/updateprompt.js +8 -8
- package/package.json +1 -1
- 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/components/deployments.ts +24 -24
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +26 -26
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +121 -121
- package/src/models/operations/createprompt.ts +19 -19
- package/src/models/operations/deploymentcreatemetric.ts +30 -26
- package/src/models/operations/deploymentgetconfig.ts +34 -34
- package/src/models/operations/deploymentinvoke.ts +13 -13
- package/src/models/operations/deployments.ts +10 -10
- package/src/models/operations/deploymentstream.ts +34 -34
- 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/getallprompts.ts +10 -10
- package/src/models/operations/getevals.ts +220 -220
- package/src/models/operations/getoneprompt.ts +10 -10
- package/src/models/operations/getpromptversion.ts +10 -10
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +20 -16
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/listpromptversions.ts +10 -10
- package/src/models/operations/postv2modelslitellmimport.ts +18 -18
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +14 -14
- 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 +29 -27
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +139 -139
- package/src/models/operations/updateprompt.ts +20 -20
- package/src/types/constdatetime.ts +1 -1
- package/types/constdatetime.js +1 -1
|
@@ -95,8 +95,8 @@ export type GetOnePromptResponseFormat1 = {
|
|
|
95
95
|
* Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
|
|
96
96
|
*/
|
|
97
97
|
export type GetOnePromptResponseFormat =
|
|
98
|
-
|
|
|
99
|
-
|
|
|
98
|
+
| GetOnePromptResponseFormat1
|
|
99
|
+
| GetOnePromptResponseFormat2;
|
|
100
100
|
|
|
101
101
|
/**
|
|
102
102
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
@@ -205,8 +205,8 @@ export type GetOnePromptModelParameters = {
|
|
|
205
205
|
* Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
|
|
206
206
|
*/
|
|
207
207
|
responseFormat?:
|
|
208
|
-
| GetOnePromptResponseFormat2
|
|
209
208
|
| GetOnePromptResponseFormat1
|
|
209
|
+
| GetOnePromptResponseFormat2
|
|
210
210
|
| null
|
|
211
211
|
| undefined;
|
|
212
212
|
/**
|
|
@@ -852,14 +852,14 @@ export const GetOnePromptResponseFormat$inboundSchema: z.ZodType<
|
|
|
852
852
|
z.ZodTypeDef,
|
|
853
853
|
unknown
|
|
854
854
|
> = z.union([
|
|
855
|
-
z.lazy(() => GetOnePromptResponseFormat2$inboundSchema),
|
|
856
855
|
z.lazy(() => GetOnePromptResponseFormat1$inboundSchema),
|
|
856
|
+
z.lazy(() => GetOnePromptResponseFormat2$inboundSchema),
|
|
857
857
|
]);
|
|
858
858
|
|
|
859
859
|
/** @internal */
|
|
860
860
|
export type GetOnePromptResponseFormat$Outbound =
|
|
861
|
-
|
|
|
862
|
-
|
|
|
861
|
+
| GetOnePromptResponseFormat1$Outbound
|
|
862
|
+
| GetOnePromptResponseFormat2$Outbound;
|
|
863
863
|
|
|
864
864
|
/** @internal */
|
|
865
865
|
export const GetOnePromptResponseFormat$outboundSchema: z.ZodType<
|
|
@@ -867,8 +867,8 @@ export const GetOnePromptResponseFormat$outboundSchema: z.ZodType<
|
|
|
867
867
|
z.ZodTypeDef,
|
|
868
868
|
GetOnePromptResponseFormat
|
|
869
869
|
> = z.union([
|
|
870
|
-
z.lazy(() => GetOnePromptResponseFormat2$outboundSchema),
|
|
871
870
|
z.lazy(() => GetOnePromptResponseFormat1$outboundSchema),
|
|
871
|
+
z.lazy(() => GetOnePromptResponseFormat2$outboundSchema),
|
|
872
872
|
]);
|
|
873
873
|
|
|
874
874
|
/**
|
|
@@ -985,8 +985,8 @@ export const GetOnePromptModelParameters$inboundSchema: z.ZodType<
|
|
|
985
985
|
style: z.string().optional(),
|
|
986
986
|
responseFormat: z.nullable(
|
|
987
987
|
z.union([
|
|
988
|
-
z.lazy(() => GetOnePromptResponseFormat2$inboundSchema),
|
|
989
988
|
z.lazy(() => GetOnePromptResponseFormat1$inboundSchema),
|
|
989
|
+
z.lazy(() => GetOnePromptResponseFormat2$inboundSchema),
|
|
990
990
|
]),
|
|
991
991
|
).optional(),
|
|
992
992
|
photoRealVersion: GetOnePromptPhotoRealVersion$inboundSchema.optional(),
|
|
@@ -1014,8 +1014,8 @@ export type GetOnePromptModelParameters$Outbound = {
|
|
|
1014
1014
|
quality?: string | undefined;
|
|
1015
1015
|
style?: string | undefined;
|
|
1016
1016
|
responseFormat?:
|
|
1017
|
-
| GetOnePromptResponseFormat2$Outbound
|
|
1018
1017
|
| GetOnePromptResponseFormat1$Outbound
|
|
1018
|
+
| GetOnePromptResponseFormat2$Outbound
|
|
1019
1019
|
| null
|
|
1020
1020
|
| undefined;
|
|
1021
1021
|
photoRealVersion?: string | undefined;
|
|
@@ -1044,8 +1044,8 @@ export const GetOnePromptModelParameters$outboundSchema: z.ZodType<
|
|
|
1044
1044
|
style: z.string().optional(),
|
|
1045
1045
|
responseFormat: z.nullable(
|
|
1046
1046
|
z.union([
|
|
1047
|
-
z.lazy(() => GetOnePromptResponseFormat2$outboundSchema),
|
|
1048
1047
|
z.lazy(() => GetOnePromptResponseFormat1$outboundSchema),
|
|
1048
|
+
z.lazy(() => GetOnePromptResponseFormat2$outboundSchema),
|
|
1049
1049
|
]),
|
|
1050
1050
|
).optional(),
|
|
1051
1051
|
photoRealVersion: GetOnePromptPhotoRealVersion$outboundSchema.optional(),
|
|
@@ -96,8 +96,8 @@ export type GetPromptVersionResponseFormat1 = {
|
|
|
96
96
|
* Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
|
|
97
97
|
*/
|
|
98
98
|
export type GetPromptVersionResponseFormat =
|
|
99
|
-
|
|
|
100
|
-
|
|
|
99
|
+
| GetPromptVersionResponseFormat1
|
|
100
|
+
| GetPromptVersionResponseFormat2;
|
|
101
101
|
|
|
102
102
|
/**
|
|
103
103
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
@@ -206,8 +206,8 @@ export type GetPromptVersionModelParameters = {
|
|
|
206
206
|
* Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
|
|
207
207
|
*/
|
|
208
208
|
responseFormat?:
|
|
209
|
-
| GetPromptVersionResponseFormat2
|
|
210
209
|
| GetPromptVersionResponseFormat1
|
|
210
|
+
| GetPromptVersionResponseFormat2
|
|
211
211
|
| null
|
|
212
212
|
| undefined;
|
|
213
213
|
/**
|
|
@@ -853,14 +853,14 @@ export const GetPromptVersionResponseFormat$inboundSchema: z.ZodType<
|
|
|
853
853
|
z.ZodTypeDef,
|
|
854
854
|
unknown
|
|
855
855
|
> = z.union([
|
|
856
|
-
z.lazy(() => GetPromptVersionResponseFormat2$inboundSchema),
|
|
857
856
|
z.lazy(() => GetPromptVersionResponseFormat1$inboundSchema),
|
|
857
|
+
z.lazy(() => GetPromptVersionResponseFormat2$inboundSchema),
|
|
858
858
|
]);
|
|
859
859
|
|
|
860
860
|
/** @internal */
|
|
861
861
|
export type GetPromptVersionResponseFormat$Outbound =
|
|
862
|
-
|
|
|
863
|
-
|
|
|
862
|
+
| GetPromptVersionResponseFormat1$Outbound
|
|
863
|
+
| GetPromptVersionResponseFormat2$Outbound;
|
|
864
864
|
|
|
865
865
|
/** @internal */
|
|
866
866
|
export const GetPromptVersionResponseFormat$outboundSchema: z.ZodType<
|
|
@@ -868,8 +868,8 @@ export const GetPromptVersionResponseFormat$outboundSchema: z.ZodType<
|
|
|
868
868
|
z.ZodTypeDef,
|
|
869
869
|
GetPromptVersionResponseFormat
|
|
870
870
|
> = z.union([
|
|
871
|
-
z.lazy(() => GetPromptVersionResponseFormat2$outboundSchema),
|
|
872
871
|
z.lazy(() => GetPromptVersionResponseFormat1$outboundSchema),
|
|
872
|
+
z.lazy(() => GetPromptVersionResponseFormat2$outboundSchema),
|
|
873
873
|
]);
|
|
874
874
|
|
|
875
875
|
/**
|
|
@@ -988,8 +988,8 @@ export const GetPromptVersionModelParameters$inboundSchema: z.ZodType<
|
|
|
988
988
|
style: z.string().optional(),
|
|
989
989
|
responseFormat: z.nullable(
|
|
990
990
|
z.union([
|
|
991
|
-
z.lazy(() => GetPromptVersionResponseFormat2$inboundSchema),
|
|
992
991
|
z.lazy(() => GetPromptVersionResponseFormat1$inboundSchema),
|
|
992
|
+
z.lazy(() => GetPromptVersionResponseFormat2$inboundSchema),
|
|
993
993
|
]),
|
|
994
994
|
).optional(),
|
|
995
995
|
photoRealVersion: GetPromptVersionPhotoRealVersion$inboundSchema.optional(),
|
|
@@ -1017,8 +1017,8 @@ export type GetPromptVersionModelParameters$Outbound = {
|
|
|
1017
1017
|
quality?: string | undefined;
|
|
1018
1018
|
style?: string | undefined;
|
|
1019
1019
|
responseFormat?:
|
|
1020
|
-
| GetPromptVersionResponseFormat2$Outbound
|
|
1021
1020
|
| GetPromptVersionResponseFormat1$Outbound
|
|
1021
|
+
| GetPromptVersionResponseFormat2$Outbound
|
|
1022
1022
|
| null
|
|
1023
1023
|
| undefined;
|
|
1024
1024
|
photoRealVersion?: string | undefined;
|
|
@@ -1047,8 +1047,8 @@ export const GetPromptVersionModelParameters$outboundSchema: z.ZodType<
|
|
|
1047
1047
|
style: z.string().optional(),
|
|
1048
1048
|
responseFormat: z.nullable(
|
|
1049
1049
|
z.union([
|
|
1050
|
-
z.lazy(() => GetPromptVersionResponseFormat2$outboundSchema),
|
|
1051
1050
|
z.lazy(() => GetPromptVersionResponseFormat1$outboundSchema),
|
|
1051
|
+
z.lazy(() => GetPromptVersionResponseFormat2$outboundSchema),
|
|
1052
1052
|
]),
|
|
1053
1053
|
).optional(),
|
|
1054
1054
|
photoRealVersion: GetPromptVersionPhotoRealVersion$outboundSchema.optional(),
|
|
@@ -345,7 +345,7 @@ export const Data$inboundSchema: z.ZodType<Data, z.ZodTypeDef, unknown> = z
|
|
|
345
345
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
346
346
|
.optional(),
|
|
347
347
|
updated: z.string().datetime({ offset: true }).default(
|
|
348
|
-
"2025-06-
|
|
348
|
+
"2025-06-17T22:56:18.095Z",
|
|
349
349
|
).transform(v => new Date(v)),
|
|
350
350
|
metrics: z.lazy(() => Metrics$inboundSchema),
|
|
351
351
|
}).transform((v) => {
|
|
@@ -382,7 +382,7 @@ export const Data$outboundSchema: z.ZodType<Data$Outbound, z.ZodTypeDef, Data> =
|
|
|
382
382
|
tags: z.array(z.string()).optional(),
|
|
383
383
|
metadata: z.record(z.any()).optional(),
|
|
384
384
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
385
|
-
updated: z.date().default(() => new Date("2025-06-
|
|
385
|
+
updated: z.date().default(() => new Date("2025-06-17T22:56:18.095Z"))
|
|
386
386
|
.transform(v => v.toISOString()),
|
|
387
387
|
metrics: z.lazy(() => Metrics$outboundSchema),
|
|
388
388
|
}).transform((v) => {
|
|
@@ -274,7 +274,7 @@ export type ListDatasetDatapoints2File = {
|
|
|
274
274
|
/**
|
|
275
275
|
* The name of the file, used when passing the file to the model as a string.
|
|
276
276
|
*/
|
|
277
|
-
filename
|
|
277
|
+
filename: string;
|
|
278
278
|
};
|
|
279
279
|
|
|
280
280
|
export type ListDatasetDatapoints24 = {
|
|
@@ -469,10 +469,10 @@ export type ListDatasetDatapointsMessagesDeveloperMessage = {
|
|
|
469
469
|
};
|
|
470
470
|
|
|
471
471
|
export type ListDatasetDatapointsMessages =
|
|
472
|
+
| ListDatasetDatapointsMessagesToolMessage
|
|
472
473
|
| ListDatasetDatapointsMessagesDeveloperMessage
|
|
473
474
|
| ListDatasetDatapointsMessagesSystemMessage
|
|
474
475
|
| ListDatasetDatapointsMessagesUserMessage
|
|
475
|
-
| ListDatasetDatapointsMessagesToolMessage
|
|
476
476
|
| ListDatasetDatapointsMessagesAssistantMessage;
|
|
477
477
|
|
|
478
478
|
export type ListDatasetDatapointsData = {
|
|
@@ -493,10 +493,10 @@ export type ListDatasetDatapointsData = {
|
|
|
493
493
|
*/
|
|
494
494
|
messages?:
|
|
495
495
|
| Array<
|
|
496
|
+
| ListDatasetDatapointsMessagesToolMessage
|
|
496
497
|
| ListDatasetDatapointsMessagesDeveloperMessage
|
|
497
498
|
| ListDatasetDatapointsMessagesSystemMessage
|
|
498
499
|
| ListDatasetDatapointsMessagesUserMessage
|
|
499
|
-
| ListDatasetDatapointsMessagesToolMessage
|
|
500
500
|
| ListDatasetDatapointsMessagesAssistantMessage
|
|
501
501
|
>
|
|
502
502
|
| undefined;
|
|
@@ -1560,7 +1560,7 @@ export const ListDatasetDatapoints2File$inboundSchema: z.ZodType<
|
|
|
1560
1560
|
unknown
|
|
1561
1561
|
> = z.object({
|
|
1562
1562
|
file_data: z.string(),
|
|
1563
|
-
filename: z.string()
|
|
1563
|
+
filename: z.string(),
|
|
1564
1564
|
}).transform((v) => {
|
|
1565
1565
|
return remap$(v, {
|
|
1566
1566
|
"file_data": "fileData",
|
|
@@ -1570,7 +1570,7 @@ export const ListDatasetDatapoints2File$inboundSchema: z.ZodType<
|
|
|
1570
1570
|
/** @internal */
|
|
1571
1571
|
export type ListDatasetDatapoints2File$Outbound = {
|
|
1572
1572
|
file_data: string;
|
|
1573
|
-
filename
|
|
1573
|
+
filename: string;
|
|
1574
1574
|
};
|
|
1575
1575
|
|
|
1576
1576
|
/** @internal */
|
|
@@ -1580,7 +1580,7 @@ export const ListDatasetDatapoints2File$outboundSchema: z.ZodType<
|
|
|
1580
1580
|
ListDatasetDatapoints2File
|
|
1581
1581
|
> = z.object({
|
|
1582
1582
|
fileData: z.string(),
|
|
1583
|
-
filename: z.string()
|
|
1583
|
+
filename: z.string(),
|
|
1584
1584
|
}).transform((v) => {
|
|
1585
1585
|
return remap$(v, {
|
|
1586
1586
|
fileData: "file_data",
|
|
@@ -2516,19 +2516,19 @@ export const ListDatasetDatapointsMessages$inboundSchema: z.ZodType<
|
|
|
2516
2516
|
z.ZodTypeDef,
|
|
2517
2517
|
unknown
|
|
2518
2518
|
> = z.union([
|
|
2519
|
+
z.lazy(() => ListDatasetDatapointsMessagesToolMessage$inboundSchema),
|
|
2519
2520
|
z.lazy(() => ListDatasetDatapointsMessagesDeveloperMessage$inboundSchema),
|
|
2520
2521
|
z.lazy(() => ListDatasetDatapointsMessagesSystemMessage$inboundSchema),
|
|
2521
2522
|
z.lazy(() => ListDatasetDatapointsMessagesUserMessage$inboundSchema),
|
|
2522
|
-
z.lazy(() => ListDatasetDatapointsMessagesToolMessage$inboundSchema),
|
|
2523
2523
|
z.lazy(() => ListDatasetDatapointsMessagesAssistantMessage$inboundSchema),
|
|
2524
2524
|
]);
|
|
2525
2525
|
|
|
2526
2526
|
/** @internal */
|
|
2527
2527
|
export type ListDatasetDatapointsMessages$Outbound =
|
|
2528
|
+
| ListDatasetDatapointsMessagesToolMessage$Outbound
|
|
2528
2529
|
| ListDatasetDatapointsMessagesDeveloperMessage$Outbound
|
|
2529
2530
|
| ListDatasetDatapointsMessagesSystemMessage$Outbound
|
|
2530
2531
|
| ListDatasetDatapointsMessagesUserMessage$Outbound
|
|
2531
|
-
| ListDatasetDatapointsMessagesToolMessage$Outbound
|
|
2532
2532
|
| ListDatasetDatapointsMessagesAssistantMessage$Outbound;
|
|
2533
2533
|
|
|
2534
2534
|
/** @internal */
|
|
@@ -2537,10 +2537,10 @@ export const ListDatasetDatapointsMessages$outboundSchema: z.ZodType<
|
|
|
2537
2537
|
z.ZodTypeDef,
|
|
2538
2538
|
ListDatasetDatapointsMessages
|
|
2539
2539
|
> = z.union([
|
|
2540
|
+
z.lazy(() => ListDatasetDatapointsMessagesToolMessage$outboundSchema),
|
|
2540
2541
|
z.lazy(() => ListDatasetDatapointsMessagesDeveloperMessage$outboundSchema),
|
|
2541
2542
|
z.lazy(() => ListDatasetDatapointsMessagesSystemMessage$outboundSchema),
|
|
2542
2543
|
z.lazy(() => ListDatasetDatapointsMessagesUserMessage$outboundSchema),
|
|
2543
|
-
z.lazy(() => ListDatasetDatapointsMessagesToolMessage$outboundSchema),
|
|
2544
2544
|
z.lazy(() => ListDatasetDatapointsMessagesAssistantMessage$outboundSchema),
|
|
2545
2545
|
]);
|
|
2546
2546
|
|
|
@@ -2588,10 +2588,12 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
|
|
|
2588
2588
|
inputs: z.record(z.any()).optional(),
|
|
2589
2589
|
messages: z.array(
|
|
2590
2590
|
z.union([
|
|
2591
|
-
z.lazy(() =>
|
|
2591
|
+
z.lazy(() => ListDatasetDatapointsMessagesToolMessage$inboundSchema),
|
|
2592
|
+
z.lazy(() =>
|
|
2593
|
+
ListDatasetDatapointsMessagesDeveloperMessage$inboundSchema
|
|
2594
|
+
),
|
|
2592
2595
|
z.lazy(() => ListDatasetDatapointsMessagesSystemMessage$inboundSchema),
|
|
2593
2596
|
z.lazy(() => ListDatasetDatapointsMessagesUserMessage$inboundSchema),
|
|
2594
|
-
z.lazy(() => ListDatasetDatapointsMessagesToolMessage$inboundSchema),
|
|
2595
2597
|
z.lazy(() => ListDatasetDatapointsMessagesAssistantMessage$inboundSchema),
|
|
2596
2598
|
]),
|
|
2597
2599
|
).optional(),
|
|
@@ -2602,7 +2604,7 @@ export const ListDatasetDatapointsData$inboundSchema: z.ZodType<
|
|
|
2602
2604
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2603
2605
|
.optional(),
|
|
2604
2606
|
updated: z.string().datetime({ offset: true }).default(
|
|
2605
|
-
"2025-06-
|
|
2607
|
+
"2025-06-17T22:56:18.095Z",
|
|
2606
2608
|
).transform(v => new Date(v)),
|
|
2607
2609
|
}).transform((v) => {
|
|
2608
2610
|
return remap$(v, {
|
|
@@ -2622,10 +2624,10 @@ export type ListDatasetDatapointsData$Outbound = {
|
|
|
2622
2624
|
inputs?: { [k: string]: any } | undefined;
|
|
2623
2625
|
messages?:
|
|
2624
2626
|
| Array<
|
|
2627
|
+
| ListDatasetDatapointsMessagesToolMessage$Outbound
|
|
2625
2628
|
| ListDatasetDatapointsMessagesDeveloperMessage$Outbound
|
|
2626
2629
|
| ListDatasetDatapointsMessagesSystemMessage$Outbound
|
|
2627
2630
|
| ListDatasetDatapointsMessagesUserMessage$Outbound
|
|
2628
|
-
| ListDatasetDatapointsMessagesToolMessage$Outbound
|
|
2629
2631
|
| ListDatasetDatapointsMessagesAssistantMessage$Outbound
|
|
2630
2632
|
>
|
|
2631
2633
|
| undefined;
|
|
@@ -2648,12 +2650,14 @@ export const ListDatasetDatapointsData$outboundSchema: z.ZodType<
|
|
|
2648
2650
|
inputs: z.record(z.any()).optional(),
|
|
2649
2651
|
messages: z.array(
|
|
2650
2652
|
z.union([
|
|
2653
|
+
z.lazy(() => ListDatasetDatapointsMessagesToolMessage$outboundSchema),
|
|
2651
2654
|
z.lazy(() =>
|
|
2652
2655
|
ListDatasetDatapointsMessagesDeveloperMessage$outboundSchema
|
|
2653
2656
|
),
|
|
2654
|
-
z.lazy(() =>
|
|
2657
|
+
z.lazy(() =>
|
|
2658
|
+
ListDatasetDatapointsMessagesSystemMessage$outboundSchema
|
|
2659
|
+
),
|
|
2655
2660
|
z.lazy(() => ListDatasetDatapointsMessagesUserMessage$outboundSchema),
|
|
2656
|
-
z.lazy(() => ListDatasetDatapointsMessagesToolMessage$outboundSchema),
|
|
2657
2661
|
z.lazy(() =>
|
|
2658
2662
|
ListDatasetDatapointsMessagesAssistantMessage$outboundSchema
|
|
2659
2663
|
),
|
|
@@ -2664,7 +2668,7 @@ export const ListDatasetDatapointsData$outboundSchema: z.ZodType<
|
|
|
2664
2668
|
createdById: z.string().optional(),
|
|
2665
2669
|
updatedById: z.string().optional(),
|
|
2666
2670
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
2667
|
-
updated: z.date().default(() => new Date("2025-06-
|
|
2671
|
+
updated: z.date().default(() => new Date("2025-06-17T22:56:18.095Z"))
|
|
2668
2672
|
.transform(v => v.toISOString()),
|
|
2669
2673
|
}).transform((v) => {
|
|
2670
2674
|
return remap$(v, {
|
|
@@ -253,7 +253,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
|
|
|
253
253
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
254
254
|
.optional(),
|
|
255
255
|
updated: z.string().datetime({ offset: true }).default(
|
|
256
|
-
"2025-06-
|
|
256
|
+
"2025-06-17T22:56:18.095Z",
|
|
257
257
|
).transform(v => new Date(v)),
|
|
258
258
|
}).transform((v) => {
|
|
259
259
|
return remap$(v, {
|
|
@@ -293,7 +293,7 @@ export const ListDatasetsData$outboundSchema: z.ZodType<
|
|
|
293
293
|
updatedById: z.string().optional(),
|
|
294
294
|
metadata: z.lazy(() => ListDatasetsMetadata$outboundSchema),
|
|
295
295
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
296
|
-
updated: z.date().default(() => new Date("2025-06-
|
|
296
|
+
updated: z.date().default(() => new Date("2025-06-17T22:56:18.095Z"))
|
|
297
297
|
.transform(v => v.toISOString()),
|
|
298
298
|
}).transform((v) => {
|
|
299
299
|
return remap$(v, {
|
|
@@ -278,7 +278,7 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
|
|
|
278
278
|
z.ZodTypeDef,
|
|
279
279
|
unknown
|
|
280
280
|
> = z.object({
|
|
281
|
-
_id: z.string().default("
|
|
281
|
+
_id: z.string().default("01JY01QA00C1JP9XP9QE92MHAP"),
|
|
282
282
|
display_name: z.string(),
|
|
283
283
|
description: z.string().optional(),
|
|
284
284
|
status: ListDatasourcesStatus$inboundSchema,
|
|
@@ -322,7 +322,7 @@ export const ListDatasourcesData$outboundSchema: z.ZodType<
|
|
|
322
322
|
z.ZodTypeDef,
|
|
323
323
|
ListDatasourcesData
|
|
324
324
|
> = z.object({
|
|
325
|
-
id: z.string().default("
|
|
325
|
+
id: z.string().default("01JY01QA00C1JP9XP9QE92MHAP"),
|
|
326
326
|
displayName: z.string(),
|
|
327
327
|
description: z.string().optional(),
|
|
328
328
|
status: ListDatasourcesStatus$outboundSchema,
|
|
@@ -110,8 +110,8 @@ export type ListPromptVersionsResponseFormat1 = {
|
|
|
110
110
|
* Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
|
|
111
111
|
*/
|
|
112
112
|
export type ListPromptVersionsResponseFormat =
|
|
113
|
-
|
|
|
114
|
-
|
|
|
113
|
+
| ListPromptVersionsResponseFormat1
|
|
114
|
+
| ListPromptVersionsResponseFormat2;
|
|
115
115
|
|
|
116
116
|
/**
|
|
117
117
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
@@ -220,8 +220,8 @@ export type ListPromptVersionsModelParameters = {
|
|
|
220
220
|
* Important: when using JSON mode, you must also instruct the model to produce JSON yourself via a system or user message. Without this, the model may generate an unending stream of whitespace until the generation reaches the token limit, resulting in a long-running and seemingly "stuck" request. Also note that the message content may be partially cut off if finish_reason="length", which indicates the generation exceeded max_tokens or the conversation exceeded the max context length.
|
|
221
221
|
*/
|
|
222
222
|
responseFormat?:
|
|
223
|
-
| ListPromptVersionsResponseFormat2
|
|
224
223
|
| ListPromptVersionsResponseFormat1
|
|
224
|
+
| ListPromptVersionsResponseFormat2
|
|
225
225
|
| null
|
|
226
226
|
| undefined;
|
|
227
227
|
/**
|
|
@@ -907,14 +907,14 @@ export const ListPromptVersionsResponseFormat$inboundSchema: z.ZodType<
|
|
|
907
907
|
z.ZodTypeDef,
|
|
908
908
|
unknown
|
|
909
909
|
> = z.union([
|
|
910
|
-
z.lazy(() => ListPromptVersionsResponseFormat2$inboundSchema),
|
|
911
910
|
z.lazy(() => ListPromptVersionsResponseFormat1$inboundSchema),
|
|
911
|
+
z.lazy(() => ListPromptVersionsResponseFormat2$inboundSchema),
|
|
912
912
|
]);
|
|
913
913
|
|
|
914
914
|
/** @internal */
|
|
915
915
|
export type ListPromptVersionsResponseFormat$Outbound =
|
|
916
|
-
|
|
|
917
|
-
|
|
|
916
|
+
| ListPromptVersionsResponseFormat1$Outbound
|
|
917
|
+
| ListPromptVersionsResponseFormat2$Outbound;
|
|
918
918
|
|
|
919
919
|
/** @internal */
|
|
920
920
|
export const ListPromptVersionsResponseFormat$outboundSchema: z.ZodType<
|
|
@@ -922,8 +922,8 @@ export const ListPromptVersionsResponseFormat$outboundSchema: z.ZodType<
|
|
|
922
922
|
z.ZodTypeDef,
|
|
923
923
|
ListPromptVersionsResponseFormat
|
|
924
924
|
> = z.union([
|
|
925
|
-
z.lazy(() => ListPromptVersionsResponseFormat2$outboundSchema),
|
|
926
925
|
z.lazy(() => ListPromptVersionsResponseFormat1$outboundSchema),
|
|
926
|
+
z.lazy(() => ListPromptVersionsResponseFormat2$outboundSchema),
|
|
927
927
|
]);
|
|
928
928
|
|
|
929
929
|
/**
|
|
@@ -1044,8 +1044,8 @@ export const ListPromptVersionsModelParameters$inboundSchema: z.ZodType<
|
|
|
1044
1044
|
style: z.string().optional(),
|
|
1045
1045
|
responseFormat: z.nullable(
|
|
1046
1046
|
z.union([
|
|
1047
|
-
z.lazy(() => ListPromptVersionsResponseFormat2$inboundSchema),
|
|
1048
1047
|
z.lazy(() => ListPromptVersionsResponseFormat1$inboundSchema),
|
|
1048
|
+
z.lazy(() => ListPromptVersionsResponseFormat2$inboundSchema),
|
|
1049
1049
|
]),
|
|
1050
1050
|
).optional(),
|
|
1051
1051
|
photoRealVersion: ListPromptVersionsPhotoRealVersion$inboundSchema.optional(),
|
|
@@ -1073,8 +1073,8 @@ export type ListPromptVersionsModelParameters$Outbound = {
|
|
|
1073
1073
|
quality?: string | undefined;
|
|
1074
1074
|
style?: string | undefined;
|
|
1075
1075
|
responseFormat?:
|
|
1076
|
-
| ListPromptVersionsResponseFormat2$Outbound
|
|
1077
1076
|
| ListPromptVersionsResponseFormat1$Outbound
|
|
1077
|
+
| ListPromptVersionsResponseFormat2$Outbound
|
|
1078
1078
|
| null
|
|
1079
1079
|
| undefined;
|
|
1080
1080
|
photoRealVersion?: string | undefined;
|
|
@@ -1103,8 +1103,8 @@ export const ListPromptVersionsModelParameters$outboundSchema: z.ZodType<
|
|
|
1103
1103
|
style: z.string().optional(),
|
|
1104
1104
|
responseFormat: z.nullable(
|
|
1105
1105
|
z.union([
|
|
1106
|
-
z.lazy(() => ListPromptVersionsResponseFormat2$outboundSchema),
|
|
1107
1106
|
z.lazy(() => ListPromptVersionsResponseFormat1$outboundSchema),
|
|
1107
|
+
z.lazy(() => ListPromptVersionsResponseFormat2$outboundSchema),
|
|
1108
1108
|
]),
|
|
1109
1109
|
).optional(),
|
|
1110
1110
|
photoRealVersion: ListPromptVersionsPhotoRealVersion$outboundSchema
|
|
@@ -206,10 +206,10 @@ export type Configuration1 = {
|
|
|
206
206
|
* The configuration of the model
|
|
207
207
|
*/
|
|
208
208
|
export type Configuration =
|
|
209
|
-
|
|
|
210
|
-
| Configuration4
|
|
209
|
+
| Configuration2
|
|
211
210
|
| Configuration1
|
|
212
|
-
|
|
|
211
|
+
| Configuration3
|
|
212
|
+
| Configuration4;
|
|
213
213
|
|
|
214
214
|
/**
|
|
215
215
|
* Parameters value
|
|
@@ -480,10 +480,10 @@ export type PostV2ModelsLitellmImportResponseBody = {
|
|
|
480
480
|
* The configuration of the model
|
|
481
481
|
*/
|
|
482
482
|
configuration?:
|
|
483
|
+
| Configuration2
|
|
484
|
+
| Configuration1
|
|
483
485
|
| Configuration3
|
|
484
486
|
| Configuration4
|
|
485
|
-
| Configuration1
|
|
486
|
-
| Configuration2
|
|
487
487
|
| undefined;
|
|
488
488
|
/**
|
|
489
489
|
* The parameters of the model
|
|
@@ -1473,18 +1473,18 @@ export const Configuration$inboundSchema: z.ZodType<
|
|
|
1473
1473
|
z.ZodTypeDef,
|
|
1474
1474
|
unknown
|
|
1475
1475
|
> = z.union([
|
|
1476
|
+
z.lazy(() => Configuration2$inboundSchema),
|
|
1477
|
+
z.lazy(() => Configuration1$inboundSchema),
|
|
1476
1478
|
z.lazy(() => Configuration3$inboundSchema),
|
|
1477
1479
|
z.lazy(() => Configuration4$inboundSchema),
|
|
1478
|
-
z.lazy(() => Configuration1$inboundSchema),
|
|
1479
|
-
z.lazy(() => Configuration2$inboundSchema),
|
|
1480
1480
|
]);
|
|
1481
1481
|
|
|
1482
1482
|
/** @internal */
|
|
1483
1483
|
export type Configuration$Outbound =
|
|
1484
|
-
|
|
|
1485
|
-
| Configuration4$Outbound
|
|
1484
|
+
| Configuration2$Outbound
|
|
1486
1485
|
| Configuration1$Outbound
|
|
1487
|
-
|
|
|
1486
|
+
| Configuration3$Outbound
|
|
1487
|
+
| Configuration4$Outbound;
|
|
1488
1488
|
|
|
1489
1489
|
/** @internal */
|
|
1490
1490
|
export const Configuration$outboundSchema: z.ZodType<
|
|
@@ -1492,10 +1492,10 @@ export const Configuration$outboundSchema: z.ZodType<
|
|
|
1492
1492
|
z.ZodTypeDef,
|
|
1493
1493
|
Configuration
|
|
1494
1494
|
> = z.union([
|
|
1495
|
+
z.lazy(() => Configuration2$outboundSchema),
|
|
1496
|
+
z.lazy(() => Configuration1$outboundSchema),
|
|
1495
1497
|
z.lazy(() => Configuration3$outboundSchema),
|
|
1496
1498
|
z.lazy(() => Configuration4$outboundSchema),
|
|
1497
|
-
z.lazy(() => Configuration1$outboundSchema),
|
|
1498
|
-
z.lazy(() => Configuration2$outboundSchema),
|
|
1499
1499
|
]);
|
|
1500
1500
|
|
|
1501
1501
|
/**
|
|
@@ -2233,10 +2233,10 @@ export const PostV2ModelsLitellmImportResponseBody$inboundSchema: z.ZodType<
|
|
|
2233
2233
|
owner: z.string().default("system"),
|
|
2234
2234
|
metadata: z.lazy(() => PostV2ModelsLitellmImportMetadata$inboundSchema),
|
|
2235
2235
|
configuration: z.union([
|
|
2236
|
+
z.lazy(() => Configuration2$inboundSchema),
|
|
2237
|
+
z.lazy(() => Configuration1$inboundSchema),
|
|
2236
2238
|
z.lazy(() => Configuration3$inboundSchema),
|
|
2237
2239
|
z.lazy(() => Configuration4$inboundSchema),
|
|
2238
|
-
z.lazy(() => Configuration1$inboundSchema),
|
|
2239
|
-
z.lazy(() => Configuration2$inboundSchema),
|
|
2240
2240
|
]).optional(),
|
|
2241
2241
|
parameters: z.array(
|
|
2242
2242
|
z.union([
|
|
@@ -2295,10 +2295,10 @@ export type PostV2ModelsLitellmImportResponseBody$Outbound = {
|
|
|
2295
2295
|
owner: string;
|
|
2296
2296
|
metadata: PostV2ModelsLitellmImportMetadata$Outbound;
|
|
2297
2297
|
configuration?:
|
|
2298
|
+
| Configuration2$Outbound
|
|
2299
|
+
| Configuration1$Outbound
|
|
2298
2300
|
| Configuration3$Outbound
|
|
2299
2301
|
| Configuration4$Outbound
|
|
2300
|
-
| Configuration1$Outbound
|
|
2301
|
-
| Configuration2$Outbound
|
|
2302
2302
|
| undefined;
|
|
2303
2303
|
parameters: Array<
|
|
2304
2304
|
Parameters1$Outbound | Parameters2$Outbound | Parameters3$Outbound
|
|
@@ -2337,10 +2337,10 @@ export const PostV2ModelsLitellmImportResponseBody$outboundSchema: z.ZodType<
|
|
|
2337
2337
|
owner: z.string().default("system"),
|
|
2338
2338
|
metadata: z.lazy(() => PostV2ModelsLitellmImportMetadata$outboundSchema),
|
|
2339
2339
|
configuration: z.union([
|
|
2340
|
+
z.lazy(() => Configuration2$outboundSchema),
|
|
2341
|
+
z.lazy(() => Configuration1$outboundSchema),
|
|
2340
2342
|
z.lazy(() => Configuration3$outboundSchema),
|
|
2341
2343
|
z.lazy(() => Configuration4$outboundSchema),
|
|
2342
|
-
z.lazy(() => Configuration1$outboundSchema),
|
|
2343
|
-
z.lazy(() => Configuration2$outboundSchema),
|
|
2344
2344
|
]).optional(),
|
|
2345
2345
|
parameters: z.array(
|
|
2346
2346
|
z.union([
|
|
@@ -127,7 +127,7 @@ export const RetrieveContactResponseBody$inboundSchema: z.ZodType<
|
|
|
127
127
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
128
128
|
.optional(),
|
|
129
129
|
updated: z.string().datetime({ offset: true }).default(
|
|
130
|
-
"2025-06-
|
|
130
|
+
"2025-06-17T22:56:18.095Z",
|
|
131
131
|
).transform(v => new Date(v)),
|
|
132
132
|
}).transform((v) => {
|
|
133
133
|
return remap$(v, {
|
|
@@ -165,7 +165,7 @@ export const RetrieveContactResponseBody$outboundSchema: z.ZodType<
|
|
|
165
165
|
tags: z.array(z.string()).optional(),
|
|
166
166
|
metadata: z.record(z.any()).optional(),
|
|
167
167
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
168
|
-
updated: z.date().default(() => new Date("2025-06-
|
|
168
|
+
updated: z.date().default(() => new Date("2025-06-17T22:56:18.095Z"))
|
|
169
169
|
.transform(v => v.toISOString()),
|
|
170
170
|
}).transform((v) => {
|
|
171
171
|
return remap$(v, {
|