@orq-ai/node 3.1.10 → 3.1.12
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 +2896 -804
- package/bin/mcp-server.js.map +18 -18
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/cli/start/command.d.ts.map +1 -1
- package/mcp-server/cli/start/command.js +9 -0
- package/mcp-server/cli/start/command.js.map +1 -1
- package/mcp-server/cli/start/impl.d.ts +1 -0
- package/mcp-server/cli/start/impl.d.ts.map +1 -1
- package/mcp-server/cli/start/impl.js +2 -0
- package/mcp-server/cli/start/impl.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts +1 -0
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +3 -2
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools.d.ts +1 -1
- package/mcp-server/tools.d.ts.map +1 -1
- package/mcp-server/tools.js +4 -1
- package/mcp-server/tools.js.map +1 -1
- package/models/components/deployments.d.ts +1716 -400
- package/models/components/deployments.d.ts.map +1 -1
- package/models/components/deployments.js +1617 -357
- package/models/components/deployments.js.map +1 -1
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createprompt.d.ts +16 -16
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +26 -27
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/deploymentcreatemetric.d.ts +790 -132
- package/models/operations/deploymentcreatemetric.d.ts.map +1 -1
- package/models/operations/deploymentcreatemetric.js +770 -143
- package/models/operations/deploymentcreatemetric.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +1819 -503
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +1786 -521
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +17 -17
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +20 -20
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +1742 -426
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +1643 -386
- 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/package.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/lib/config.ts +3 -3
- package/packages/orq-rc/src/mcp-server/cli/start/command.ts +9 -0
- package/packages/orq-rc/src/mcp-server/cli/start/impl.ts +3 -0
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +10 -2
- package/packages/orq-rc/src/mcp-server/tools.ts +5 -0
- package/packages/orq-rc/src/models/components/deployments.ts +3133 -635
- package/packages/orq-rc/src/models/operations/bulkcreatedatapoints.ts +2 -2
- 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 +2 -2
- package/packages/orq-rc/src/models/operations/createprompt.ts +8 -8
- package/packages/orq-rc/src/models/operations/deploymentcreatemetric.ts +1865 -337
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +3439 -883
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +32 -28
- package/packages/orq-rc/src/models/operations/fileget.ts +3 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +3 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +4 -2
- package/packages/orq-rc/src/models/operations/getallprompts.ts +8 -8
- package/packages/orq-rc/src/models/operations/getoneprompt.ts +8 -8
- package/packages/orq-rc/src/models/operations/getpromptversion.ts +8 -8
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listpromptversions.ts +8 -8
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateprompt.ts +50 -46
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/cli/start/command.ts +9 -0
- package/src/mcp-server/cli/start/impl.ts +3 -0
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +10 -2
- package/src/mcp-server/tools.ts +5 -0
- package/src/models/components/deployments.ts +3133 -635
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createprompt.ts +34 -30
- package/src/models/operations/deploymentcreatemetric.ts +1859 -324
- package/src/models/operations/deploymentgetconfig.ts +3442 -886
- package/src/models/operations/deploymentinvoke.ts +32 -28
- package/src/models/operations/deploymentstream.ts +3661 -763
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
|
@@ -177,7 +177,7 @@ export const CreateContactResponseBody$inboundSchema: z.ZodType<
|
|
|
177
177
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
178
178
|
.optional(),
|
|
179
179
|
updated: z.string().datetime({ offset: true }).default(
|
|
180
|
-
"2025-
|
|
180
|
+
"2025-03-06T14:57:05.845Z",
|
|
181
181
|
).transform(v => new Date(v)),
|
|
182
182
|
}).transform((v) => {
|
|
183
183
|
return remap$(v, {
|
|
@@ -214,7 +214,7 @@ export const CreateContactResponseBody$outboundSchema: z.ZodType<
|
|
|
214
214
|
tags: z.array(z.string()).optional(),
|
|
215
215
|
metadata: z.record(z.any()).optional(),
|
|
216
216
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
217
|
-
updated: z.date().default(() => new Date("2025-
|
|
217
|
+
updated: z.date().default(() => new Date("2025-03-06T14:57:05.845Z"))
|
|
218
218
|
.transform(v => v.toISOString()),
|
|
219
219
|
}).transform((v) => {
|
|
220
220
|
return remap$(v, {
|
|
@@ -31,7 +31,7 @@ export type ModelType = ClosedEnum<typeof ModelType>;
|
|
|
31
31
|
/**
|
|
32
32
|
* Only supported on `image` models.
|
|
33
33
|
*/
|
|
34
|
-
export const
|
|
34
|
+
export const CreatePromptFormat = {
|
|
35
35
|
Url: "url",
|
|
36
36
|
B64Json: "b64_json",
|
|
37
37
|
Text: "text",
|
|
@@ -40,7 +40,7 @@ export const Format = {
|
|
|
40
40
|
/**
|
|
41
41
|
* Only supported on `image` models.
|
|
42
42
|
*/
|
|
43
|
-
export type
|
|
43
|
+
export type CreatePromptFormat = ClosedEnum<typeof CreatePromptFormat>;
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
46
|
* Only supported on `image` models.
|
|
@@ -170,7 +170,7 @@ export type ModelParameters = {
|
|
|
170
170
|
/**
|
|
171
171
|
* Only supported on `image` models.
|
|
172
172
|
*/
|
|
173
|
-
format?:
|
|
173
|
+
format?: CreatePromptFormat | undefined;
|
|
174
174
|
/**
|
|
175
175
|
* Only supported on `image` models.
|
|
176
176
|
*/
|
|
@@ -449,7 +449,7 @@ export type CreatePromptModelType = ClosedEnum<typeof CreatePromptModelType>;
|
|
|
449
449
|
/**
|
|
450
450
|
* Only supported on `image` models.
|
|
451
451
|
*/
|
|
452
|
-
export const
|
|
452
|
+
export const CreatePromptPromptsFormat = {
|
|
453
453
|
Url: "url",
|
|
454
454
|
B64Json: "b64_json",
|
|
455
455
|
Text: "text",
|
|
@@ -458,7 +458,9 @@ export const CreatePromptFormat = {
|
|
|
458
458
|
/**
|
|
459
459
|
* Only supported on `image` models.
|
|
460
460
|
*/
|
|
461
|
-
export type
|
|
461
|
+
export type CreatePromptPromptsFormat = ClosedEnum<
|
|
462
|
+
typeof CreatePromptPromptsFormat
|
|
463
|
+
>;
|
|
462
464
|
|
|
463
465
|
/**
|
|
464
466
|
* Only supported on `image` models.
|
|
@@ -598,7 +600,7 @@ export type CreatePromptModelParameters = {
|
|
|
598
600
|
/**
|
|
599
601
|
* Only supported on `image` models.
|
|
600
602
|
*/
|
|
601
|
-
format?:
|
|
603
|
+
format?: CreatePromptPromptsFormat | undefined;
|
|
602
604
|
/**
|
|
603
605
|
* Only supported on `image` models.
|
|
604
606
|
*/
|
|
@@ -899,22 +901,24 @@ export namespace ModelType$ {
|
|
|
899
901
|
}
|
|
900
902
|
|
|
901
903
|
/** @internal */
|
|
902
|
-
export const
|
|
903
|
-
|
|
904
|
+
export const CreatePromptFormat$inboundSchema: z.ZodNativeEnum<
|
|
905
|
+
typeof CreatePromptFormat
|
|
906
|
+
> = z.nativeEnum(CreatePromptFormat);
|
|
904
907
|
|
|
905
908
|
/** @internal */
|
|
906
|
-
export const
|
|
907
|
-
|
|
909
|
+
export const CreatePromptFormat$outboundSchema: z.ZodNativeEnum<
|
|
910
|
+
typeof CreatePromptFormat
|
|
911
|
+
> = CreatePromptFormat$inboundSchema;
|
|
908
912
|
|
|
909
913
|
/**
|
|
910
914
|
* @internal
|
|
911
915
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
912
916
|
*/
|
|
913
|
-
export namespace
|
|
914
|
-
/** @deprecated use `
|
|
915
|
-
export const inboundSchema =
|
|
916
|
-
/** @deprecated use `
|
|
917
|
-
export const outboundSchema =
|
|
917
|
+
export namespace CreatePromptFormat$ {
|
|
918
|
+
/** @deprecated use `CreatePromptFormat$inboundSchema` instead. */
|
|
919
|
+
export const inboundSchema = CreatePromptFormat$inboundSchema;
|
|
920
|
+
/** @deprecated use `CreatePromptFormat$outboundSchema` instead. */
|
|
921
|
+
export const outboundSchema = CreatePromptFormat$outboundSchema;
|
|
918
922
|
}
|
|
919
923
|
|
|
920
924
|
/** @internal */
|
|
@@ -1278,7 +1282,7 @@ export const ModelParameters$inboundSchema: z.ZodType<
|
|
|
1278
1282
|
presencePenalty: z.number().optional(),
|
|
1279
1283
|
numImages: z.number().optional(),
|
|
1280
1284
|
seed: z.number().optional(),
|
|
1281
|
-
format:
|
|
1285
|
+
format: CreatePromptFormat$inboundSchema.optional(),
|
|
1282
1286
|
dimensions: z.string().optional(),
|
|
1283
1287
|
quality: Quality$inboundSchema.optional(),
|
|
1284
1288
|
style: z.string().optional(),
|
|
@@ -1337,7 +1341,7 @@ export const ModelParameters$outboundSchema: z.ZodType<
|
|
|
1337
1341
|
presencePenalty: z.number().optional(),
|
|
1338
1342
|
numImages: z.number().optional(),
|
|
1339
1343
|
seed: z.number().optional(),
|
|
1340
|
-
format:
|
|
1344
|
+
format: CreatePromptFormat$outboundSchema.optional(),
|
|
1341
1345
|
dimensions: z.string().optional(),
|
|
1342
1346
|
quality: Quality$outboundSchema.optional(),
|
|
1343
1347
|
style: z.string().optional(),
|
|
@@ -2280,24 +2284,24 @@ export namespace CreatePromptModelType$ {
|
|
|
2280
2284
|
}
|
|
2281
2285
|
|
|
2282
2286
|
/** @internal */
|
|
2283
|
-
export const
|
|
2284
|
-
typeof
|
|
2285
|
-
> = z.nativeEnum(
|
|
2287
|
+
export const CreatePromptPromptsFormat$inboundSchema: z.ZodNativeEnum<
|
|
2288
|
+
typeof CreatePromptPromptsFormat
|
|
2289
|
+
> = z.nativeEnum(CreatePromptPromptsFormat);
|
|
2286
2290
|
|
|
2287
2291
|
/** @internal */
|
|
2288
|
-
export const
|
|
2289
|
-
typeof
|
|
2290
|
-
> =
|
|
2292
|
+
export const CreatePromptPromptsFormat$outboundSchema: z.ZodNativeEnum<
|
|
2293
|
+
typeof CreatePromptPromptsFormat
|
|
2294
|
+
> = CreatePromptPromptsFormat$inboundSchema;
|
|
2291
2295
|
|
|
2292
2296
|
/**
|
|
2293
2297
|
* @internal
|
|
2294
2298
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2295
2299
|
*/
|
|
2296
|
-
export namespace
|
|
2297
|
-
/** @deprecated use `
|
|
2298
|
-
export const inboundSchema =
|
|
2299
|
-
/** @deprecated use `
|
|
2300
|
-
export const outboundSchema =
|
|
2300
|
+
export namespace CreatePromptPromptsFormat$ {
|
|
2301
|
+
/** @deprecated use `CreatePromptPromptsFormat$inboundSchema` instead. */
|
|
2302
|
+
export const inboundSchema = CreatePromptPromptsFormat$inboundSchema;
|
|
2303
|
+
/** @deprecated use `CreatePromptPromptsFormat$outboundSchema` instead. */
|
|
2304
|
+
export const outboundSchema = CreatePromptPromptsFormat$outboundSchema;
|
|
2301
2305
|
}
|
|
2302
2306
|
|
|
2303
2307
|
/** @internal */
|
|
@@ -2689,7 +2693,7 @@ export const CreatePromptModelParameters$inboundSchema: z.ZodType<
|
|
|
2689
2693
|
presencePenalty: z.number().optional(),
|
|
2690
2694
|
numImages: z.number().optional(),
|
|
2691
2695
|
seed: z.number().optional(),
|
|
2692
|
-
format:
|
|
2696
|
+
format: CreatePromptPromptsFormat$inboundSchema.optional(),
|
|
2693
2697
|
dimensions: z.string().optional(),
|
|
2694
2698
|
quality: CreatePromptQuality$inboundSchema.optional(),
|
|
2695
2699
|
style: z.string().optional(),
|
|
@@ -2748,7 +2752,7 @@ export const CreatePromptModelParameters$outboundSchema: z.ZodType<
|
|
|
2748
2752
|
presencePenalty: z.number().optional(),
|
|
2749
2753
|
numImages: z.number().optional(),
|
|
2750
2754
|
seed: z.number().optional(),
|
|
2751
|
-
format:
|
|
2755
|
+
format: CreatePromptPromptsFormat$outboundSchema.optional(),
|
|
2752
2756
|
dimensions: z.string().optional(),
|
|
2753
2757
|
quality: CreatePromptQuality$outboundSchema.optional(),
|
|
2754
2758
|
style: z.string().optional(),
|