@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.
Files changed (125) hide show
  1. package/bin/mcp-server.js +570 -570
  2. package/bin/mcp-server.js.map +40 -40
  3. package/jsr.json +1 -1
  4. package/lib/config.d.ts +3 -3
  5. package/lib/config.js +3 -3
  6. package/mcp-server/mcp-server.js +1 -1
  7. package/mcp-server/server.js +1 -1
  8. package/models/components/deployments.d.ts +12 -12
  9. package/models/components/deployments.d.ts.map +1 -1
  10. package/models/components/deployments.js +12 -12
  11. package/models/components/deployments.js.map +1 -1
  12. package/models/operations/createcontact.js +2 -2
  13. package/models/operations/createdataset.js +2 -2
  14. package/models/operations/createdatasetitem.d.ts +12 -12
  15. package/models/operations/createdatasetitem.d.ts.map +1 -1
  16. package/models/operations/createdatasetitem.js +14 -14
  17. package/models/operations/createdatasetitem.js.map +1 -1
  18. package/models/operations/createdatasource.js +2 -2
  19. package/models/operations/createeval.d.ts +36 -36
  20. package/models/operations/createeval.d.ts.map +1 -1
  21. package/models/operations/createeval.js +56 -56
  22. package/models/operations/createeval.js.map +1 -1
  23. package/models/operations/createprompt.d.ts +8 -8
  24. package/models/operations/createprompt.js +8 -8
  25. package/models/operations/deploymentcreatemetric.d.ts +12 -12
  26. package/models/operations/deploymentcreatemetric.d.ts.map +1 -1
  27. package/models/operations/deploymentcreatemetric.js +12 -12
  28. package/models/operations/deploymentcreatemetric.js.map +1 -1
  29. package/models/operations/deploymentgetconfig.d.ts +16 -16
  30. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  31. package/models/operations/deploymentgetconfig.js +16 -16
  32. package/models/operations/deploymentgetconfig.js.map +1 -1
  33. package/models/operations/deploymentinvoke.d.ts +4 -4
  34. package/models/operations/deploymentinvoke.js +8 -8
  35. package/models/operations/deployments.d.ts +4 -4
  36. package/models/operations/deployments.js +4 -4
  37. package/models/operations/deploymentstream.d.ts +16 -16
  38. package/models/operations/deploymentstream.d.ts.map +1 -1
  39. package/models/operations/deploymentstream.js +16 -16
  40. package/models/operations/deploymentstream.js.map +1 -1
  41. package/models/operations/fileget.js +2 -2
  42. package/models/operations/filelist.js +2 -2
  43. package/models/operations/fileupload.js +2 -2
  44. package/models/operations/getallprompts.d.ts +4 -4
  45. package/models/operations/getallprompts.js +4 -4
  46. package/models/operations/getevals.d.ts +36 -36
  47. package/models/operations/getevals.d.ts.map +1 -1
  48. package/models/operations/getevals.js +108 -108
  49. package/models/operations/getevals.js.map +1 -1
  50. package/models/operations/getoneprompt.d.ts +4 -4
  51. package/models/operations/getoneprompt.js +4 -4
  52. package/models/operations/getpromptversion.d.ts +4 -4
  53. package/models/operations/getpromptversion.js +4 -4
  54. package/models/operations/listcontacts.js +2 -2
  55. package/models/operations/listdatasetdatapoints.d.ts +6 -6
  56. package/models/operations/listdatasetdatapoints.d.ts.map +1 -1
  57. package/models/operations/listdatasetdatapoints.js +8 -8
  58. package/models/operations/listdatasetdatapoints.js.map +1 -1
  59. package/models/operations/listdatasets.js +2 -2
  60. package/models/operations/listdatasources.js +2 -2
  61. package/models/operations/listpromptversions.d.ts +4 -4
  62. package/models/operations/listpromptversions.js +4 -4
  63. package/models/operations/postv2modelslitellmimport.d.ts +4 -4
  64. package/models/operations/postv2modelslitellmimport.js +8 -8
  65. package/models/operations/retrievecontact.js +2 -2
  66. package/models/operations/retrievedatapoint.d.ts +6 -6
  67. package/models/operations/retrievedatapoint.d.ts.map +1 -1
  68. package/models/operations/retrievedatapoint.js +8 -8
  69. package/models/operations/retrievedatapoint.js.map +1 -1
  70. package/models/operations/retrievedataset.js +2 -2
  71. package/models/operations/retrievedatasource.js +2 -2
  72. package/models/operations/updatecontact.js +2 -2
  73. package/models/operations/updatedatapoint.d.ts +12 -12
  74. package/models/operations/updatedatapoint.d.ts.map +1 -1
  75. package/models/operations/updatedatapoint.js +14 -14
  76. package/models/operations/updatedatapoint.js.map +1 -1
  77. package/models/operations/updatedataset.js +2 -2
  78. package/models/operations/updatedatasource.js +2 -2
  79. package/models/operations/updateeval.d.ts +38 -38
  80. package/models/operations/updateeval.d.ts.map +1 -1
  81. package/models/operations/updateeval.js +60 -60
  82. package/models/operations/updateeval.js.map +1 -1
  83. package/models/operations/updateprompt.d.ts +8 -8
  84. package/models/operations/updateprompt.js +8 -8
  85. package/package.json +1 -1
  86. package/src/lib/config.ts +3 -3
  87. package/src/mcp-server/mcp-server.ts +1 -1
  88. package/src/mcp-server/server.ts +1 -1
  89. package/src/models/components/deployments.ts +24 -24
  90. package/src/models/operations/createcontact.ts +2 -2
  91. package/src/models/operations/createdataset.ts +2 -2
  92. package/src/models/operations/createdatasetitem.ts +26 -26
  93. package/src/models/operations/createdatasource.ts +2 -2
  94. package/src/models/operations/createeval.ts +121 -121
  95. package/src/models/operations/createprompt.ts +19 -19
  96. package/src/models/operations/deploymentcreatemetric.ts +30 -26
  97. package/src/models/operations/deploymentgetconfig.ts +34 -34
  98. package/src/models/operations/deploymentinvoke.ts +13 -13
  99. package/src/models/operations/deployments.ts +10 -10
  100. package/src/models/operations/deploymentstream.ts +34 -34
  101. package/src/models/operations/fileget.ts +2 -2
  102. package/src/models/operations/filelist.ts +2 -2
  103. package/src/models/operations/fileupload.ts +2 -2
  104. package/src/models/operations/getallprompts.ts +10 -10
  105. package/src/models/operations/getevals.ts +220 -220
  106. package/src/models/operations/getoneprompt.ts +10 -10
  107. package/src/models/operations/getpromptversion.ts +10 -10
  108. package/src/models/operations/listcontacts.ts +2 -2
  109. package/src/models/operations/listdatasetdatapoints.ts +20 -16
  110. package/src/models/operations/listdatasets.ts +2 -2
  111. package/src/models/operations/listdatasources.ts +2 -2
  112. package/src/models/operations/listpromptversions.ts +10 -10
  113. package/src/models/operations/postv2modelslitellmimport.ts +18 -18
  114. package/src/models/operations/retrievecontact.ts +2 -2
  115. package/src/models/operations/retrievedatapoint.ts +14 -14
  116. package/src/models/operations/retrievedataset.ts +2 -2
  117. package/src/models/operations/retrievedatasource.ts +2 -2
  118. package/src/models/operations/updatecontact.ts +2 -2
  119. package/src/models/operations/updatedatapoint.ts +29 -27
  120. package/src/models/operations/updatedataset.ts +2 -2
  121. package/src/models/operations/updatedatasource.ts +2 -2
  122. package/src/models/operations/updateeval.ts +139 -139
  123. package/src/models/operations/updateprompt.ts +20 -20
  124. package/src/types/constdatetime.ts +1 -1
  125. 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
- | UpdatePromptResponseFormat2
68
- | UpdatePromptResponseFormat1;
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
- | UpdatePromptResponseFormatPrompts2
537
- | UpdatePromptResponseFormatPrompts1;
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
- | UpdatePromptResponseFormat2$Outbound
1215
- | UpdatePromptResponseFormat1$Outbound;
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
- | UpdatePromptResponseFormatPrompts2$Outbound
2879
- | UpdatePromptResponseFormatPrompts1$Outbound;
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
@@ -11,5 +11,5 @@ export function constDateTime(
11
11
  return (
12
12
  typeof v === "string" && new Date(v).getTime() === new Date(val).getTime()
13
13
  );
14
- }, `Value must be equivelant to ${val}`);
14
+ }, `Value must be equivalent to ${val}`);
15
15
  }
@@ -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 equivelant to ${val}`);
44
+ }, `Value must be equivalent to ${val}`);
45
45
  }
46
46
  //# sourceMappingURL=constdatetime.js.map