@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
|
@@ -64,8 +64,8 @@ export type UpdatePromptResponseFormat1 = {
|
|
|
64
64
|
* 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.
|
|
65
65
|
*/
|
|
66
66
|
export type UpdatePromptResponseFormat =
|
|
67
|
-
|
|
|
68
|
-
|
|
|
67
|
+
| UpdatePromptResponseFormat1
|
|
68
|
+
| UpdatePromptResponseFormat2;
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
71
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
@@ -174,8 +174,8 @@ export type UpdatePromptModelParameters = {
|
|
|
174
174
|
* 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.
|
|
175
175
|
*/
|
|
176
176
|
responseFormat?:
|
|
177
|
-
| UpdatePromptResponseFormat2
|
|
178
177
|
| UpdatePromptResponseFormat1
|
|
178
|
+
| UpdatePromptResponseFormat2
|
|
179
179
|
| null
|
|
180
180
|
| undefined;
|
|
181
181
|
/**
|
|
@@ -533,8 +533,8 @@ export type UpdatePromptResponseFormatPrompts1 = {
|
|
|
533
533
|
* 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.
|
|
534
534
|
*/
|
|
535
535
|
export type UpdatePromptPromptsResponseFormat =
|
|
536
|
-
|
|
|
537
|
-
|
|
|
536
|
+
| UpdatePromptResponseFormatPrompts1
|
|
537
|
+
| UpdatePromptResponseFormatPrompts2;
|
|
538
538
|
|
|
539
539
|
/**
|
|
540
540
|
* The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
|
|
@@ -643,8 +643,8 @@ export type UpdatePromptPromptsModelParameters = {
|
|
|
643
643
|
* 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.
|
|
644
644
|
*/
|
|
645
645
|
responseFormat?:
|
|
646
|
-
| UpdatePromptResponseFormatPrompts2
|
|
647
646
|
| UpdatePromptResponseFormatPrompts1
|
|
647
|
+
| UpdatePromptResponseFormatPrompts2
|
|
648
648
|
| null
|
|
649
649
|
| undefined;
|
|
650
650
|
/**
|
|
@@ -1205,14 +1205,14 @@ export const UpdatePromptResponseFormat$inboundSchema: z.ZodType<
|
|
|
1205
1205
|
z.ZodTypeDef,
|
|
1206
1206
|
unknown
|
|
1207
1207
|
> = z.union([
|
|
1208
|
-
z.lazy(() => UpdatePromptResponseFormat2$inboundSchema),
|
|
1209
1208
|
z.lazy(() => UpdatePromptResponseFormat1$inboundSchema),
|
|
1209
|
+
z.lazy(() => UpdatePromptResponseFormat2$inboundSchema),
|
|
1210
1210
|
]);
|
|
1211
1211
|
|
|
1212
1212
|
/** @internal */
|
|
1213
1213
|
export type UpdatePromptResponseFormat$Outbound =
|
|
1214
|
-
|
|
|
1215
|
-
|
|
|
1214
|
+
| UpdatePromptResponseFormat1$Outbound
|
|
1215
|
+
| UpdatePromptResponseFormat2$Outbound;
|
|
1216
1216
|
|
|
1217
1217
|
/** @internal */
|
|
1218
1218
|
export const UpdatePromptResponseFormat$outboundSchema: z.ZodType<
|
|
@@ -1220,8 +1220,8 @@ export const UpdatePromptResponseFormat$outboundSchema: z.ZodType<
|
|
|
1220
1220
|
z.ZodTypeDef,
|
|
1221
1221
|
UpdatePromptResponseFormat
|
|
1222
1222
|
> = z.union([
|
|
1223
|
-
z.lazy(() => UpdatePromptResponseFormat2$outboundSchema),
|
|
1224
1223
|
z.lazy(() => UpdatePromptResponseFormat1$outboundSchema),
|
|
1224
|
+
z.lazy(() => UpdatePromptResponseFormat2$outboundSchema),
|
|
1225
1225
|
]);
|
|
1226
1226
|
|
|
1227
1227
|
/**
|
|
@@ -1338,8 +1338,8 @@ export const UpdatePromptModelParameters$inboundSchema: z.ZodType<
|
|
|
1338
1338
|
style: z.string().optional(),
|
|
1339
1339
|
responseFormat: z.nullable(
|
|
1340
1340
|
z.union([
|
|
1341
|
-
z.lazy(() => UpdatePromptResponseFormat2$inboundSchema),
|
|
1342
1341
|
z.lazy(() => UpdatePromptResponseFormat1$inboundSchema),
|
|
1342
|
+
z.lazy(() => UpdatePromptResponseFormat2$inboundSchema),
|
|
1343
1343
|
]),
|
|
1344
1344
|
).optional(),
|
|
1345
1345
|
photoRealVersion: UpdatePromptPhotoRealVersion$inboundSchema.optional(),
|
|
@@ -1367,8 +1367,8 @@ export type UpdatePromptModelParameters$Outbound = {
|
|
|
1367
1367
|
quality?: string | undefined;
|
|
1368
1368
|
style?: string | undefined;
|
|
1369
1369
|
responseFormat?:
|
|
1370
|
-
| UpdatePromptResponseFormat2$Outbound
|
|
1371
1370
|
| UpdatePromptResponseFormat1$Outbound
|
|
1371
|
+
| UpdatePromptResponseFormat2$Outbound
|
|
1372
1372
|
| null
|
|
1373
1373
|
| undefined;
|
|
1374
1374
|
photoRealVersion?: string | undefined;
|
|
@@ -1397,8 +1397,8 @@ export const UpdatePromptModelParameters$outboundSchema: z.ZodType<
|
|
|
1397
1397
|
style: z.string().optional(),
|
|
1398
1398
|
responseFormat: z.nullable(
|
|
1399
1399
|
z.union([
|
|
1400
|
-
z.lazy(() => UpdatePromptResponseFormat2$outboundSchema),
|
|
1401
1400
|
z.lazy(() => UpdatePromptResponseFormat1$outboundSchema),
|
|
1401
|
+
z.lazy(() => UpdatePromptResponseFormat2$outboundSchema),
|
|
1402
1402
|
]),
|
|
1403
1403
|
).optional(),
|
|
1404
1404
|
photoRealVersion: UpdatePromptPhotoRealVersion$outboundSchema.optional(),
|
|
@@ -2869,14 +2869,14 @@ export const UpdatePromptPromptsResponseFormat$inboundSchema: z.ZodType<
|
|
|
2869
2869
|
z.ZodTypeDef,
|
|
2870
2870
|
unknown
|
|
2871
2871
|
> = z.union([
|
|
2872
|
-
z.lazy(() => UpdatePromptResponseFormatPrompts2$inboundSchema),
|
|
2873
2872
|
z.lazy(() => UpdatePromptResponseFormatPrompts1$inboundSchema),
|
|
2873
|
+
z.lazy(() => UpdatePromptResponseFormatPrompts2$inboundSchema),
|
|
2874
2874
|
]);
|
|
2875
2875
|
|
|
2876
2876
|
/** @internal */
|
|
2877
2877
|
export type UpdatePromptPromptsResponseFormat$Outbound =
|
|
2878
|
-
|
|
|
2879
|
-
|
|
|
2878
|
+
| UpdatePromptResponseFormatPrompts1$Outbound
|
|
2879
|
+
| UpdatePromptResponseFormatPrompts2$Outbound;
|
|
2880
2880
|
|
|
2881
2881
|
/** @internal */
|
|
2882
2882
|
export const UpdatePromptPromptsResponseFormat$outboundSchema: z.ZodType<
|
|
@@ -2884,8 +2884,8 @@ export const UpdatePromptPromptsResponseFormat$outboundSchema: z.ZodType<
|
|
|
2884
2884
|
z.ZodTypeDef,
|
|
2885
2885
|
UpdatePromptPromptsResponseFormat
|
|
2886
2886
|
> = z.union([
|
|
2887
|
-
z.lazy(() => UpdatePromptResponseFormatPrompts2$outboundSchema),
|
|
2888
2887
|
z.lazy(() => UpdatePromptResponseFormatPrompts1$outboundSchema),
|
|
2888
|
+
z.lazy(() => UpdatePromptResponseFormatPrompts2$outboundSchema),
|
|
2889
2889
|
]);
|
|
2890
2890
|
|
|
2891
2891
|
/**
|
|
@@ -3009,8 +3009,8 @@ export const UpdatePromptPromptsModelParameters$inboundSchema: z.ZodType<
|
|
|
3009
3009
|
style: z.string().optional(),
|
|
3010
3010
|
responseFormat: z.nullable(
|
|
3011
3011
|
z.union([
|
|
3012
|
-
z.lazy(() => UpdatePromptResponseFormatPrompts2$inboundSchema),
|
|
3013
3012
|
z.lazy(() => UpdatePromptResponseFormatPrompts1$inboundSchema),
|
|
3013
|
+
z.lazy(() => UpdatePromptResponseFormatPrompts2$inboundSchema),
|
|
3014
3014
|
]),
|
|
3015
3015
|
).optional(),
|
|
3016
3016
|
photoRealVersion: UpdatePromptPromptsPhotoRealVersion$inboundSchema
|
|
@@ -3039,8 +3039,8 @@ export type UpdatePromptPromptsModelParameters$Outbound = {
|
|
|
3039
3039
|
quality?: string | undefined;
|
|
3040
3040
|
style?: string | undefined;
|
|
3041
3041
|
responseFormat?:
|
|
3042
|
-
| UpdatePromptResponseFormatPrompts2$Outbound
|
|
3043
3042
|
| UpdatePromptResponseFormatPrompts1$Outbound
|
|
3043
|
+
| UpdatePromptResponseFormatPrompts2$Outbound
|
|
3044
3044
|
| null
|
|
3045
3045
|
| undefined;
|
|
3046
3046
|
photoRealVersion?: string | undefined;
|
|
@@ -3069,8 +3069,8 @@ export const UpdatePromptPromptsModelParameters$outboundSchema: z.ZodType<
|
|
|
3069
3069
|
style: z.string().optional(),
|
|
3070
3070
|
responseFormat: z.nullable(
|
|
3071
3071
|
z.union([
|
|
3072
|
-
z.lazy(() => UpdatePromptResponseFormatPrompts2$outboundSchema),
|
|
3073
3072
|
z.lazy(() => UpdatePromptResponseFormatPrompts1$outboundSchema),
|
|
3073
|
+
z.lazy(() => UpdatePromptResponseFormatPrompts2$outboundSchema),
|
|
3074
3074
|
]),
|
|
3075
3075
|
).optional(),
|
|
3076
3076
|
photoRealVersion: UpdatePromptPromptsPhotoRealVersion$outboundSchema
|
package/types/constdatetime.js
CHANGED
|
@@ -41,6 +41,6 @@ const z = __importStar(require("zod"));
|
|
|
41
41
|
function constDateTime(val) {
|
|
42
42
|
return z.custom((v) => {
|
|
43
43
|
return (typeof v === "string" && new Date(v).getTime() === new Date(val).getTime());
|
|
44
|
-
}, `Value must be
|
|
44
|
+
}, `Value must be equivalent to ${val}`);
|
|
45
45
|
}
|
|
46
46
|
//# sourceMappingURL=constdatetime.js.map
|