@orq-ai/node 3.10.16 → 3.10.19

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 (146) hide show
  1. package/bin/mcp-server.js +418 -188
  2. package/bin/mcp-server.js.map +35 -35
  3. package/examples/contactsCreate.example.ts +1 -1
  4. package/examples/package-lock.json +1 -1
  5. package/jsr.json +1 -1
  6. package/lib/config.d.ts +3 -3
  7. package/lib/config.js +3 -3
  8. package/mcp-server/mcp-server.js +1 -1
  9. package/mcp-server/server.js +1 -1
  10. package/models/operations/createcontact.js +2 -2
  11. package/models/operations/createdataset.js +2 -2
  12. package/models/operations/createdatasetitem.js +2 -2
  13. package/models/operations/createdatasource.js +2 -2
  14. package/models/operations/createeval.js +16 -16
  15. package/models/operations/createprompt.d.ts +118 -24
  16. package/models/operations/createprompt.d.ts.map +1 -1
  17. package/models/operations/createprompt.js +130 -30
  18. package/models/operations/createprompt.js.map +1 -1
  19. package/models/operations/deploymentgetconfig.d.ts +59 -12
  20. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  21. package/models/operations/deploymentgetconfig.js +73 -24
  22. package/models/operations/deploymentgetconfig.js.map +1 -1
  23. package/models/operations/deployments.d.ts +59 -12
  24. package/models/operations/deployments.d.ts.map +1 -1
  25. package/models/operations/deployments.js +66 -16
  26. package/models/operations/deployments.js.map +1 -1
  27. package/models/operations/fileget.js +2 -2
  28. package/models/operations/filelist.js +2 -2
  29. package/models/operations/fileupload.js +2 -2
  30. package/models/operations/getallprompts.d.ts +51 -4
  31. package/models/operations/getallprompts.d.ts.map +1 -1
  32. package/models/operations/getallprompts.js +53 -3
  33. package/models/operations/getallprompts.js.map +1 -1
  34. package/models/operations/getevals.js +28 -28
  35. package/models/operations/getoneprompt.d.ts +51 -4
  36. package/models/operations/getoneprompt.d.ts.map +1 -1
  37. package/models/operations/getoneprompt.js +53 -3
  38. package/models/operations/getoneprompt.js.map +1 -1
  39. package/models/operations/getpromptversion.d.ts +51 -4
  40. package/models/operations/getpromptversion.d.ts.map +1 -1
  41. package/models/operations/getpromptversion.js +53 -3
  42. package/models/operations/getpromptversion.js.map +1 -1
  43. package/models/operations/listcontacts.js +2 -2
  44. package/models/operations/listdatasetdatapoints.js +2 -2
  45. package/models/operations/listdatasets.js +2 -2
  46. package/models/operations/listdatasources.js +2 -2
  47. package/models/operations/listpromptversions.d.ts +51 -4
  48. package/models/operations/listpromptversions.d.ts.map +1 -1
  49. package/models/operations/listpromptversions.js +52 -3
  50. package/models/operations/listpromptversions.js.map +1 -1
  51. package/models/operations/retrievecontact.js +2 -2
  52. package/models/operations/retrievedatapoint.js +2 -2
  53. package/models/operations/retrievedataset.js +2 -2
  54. package/models/operations/retrievedatasource.js +2 -2
  55. package/models/operations/updatecontact.js +2 -2
  56. package/models/operations/updatedatapoint.js +2 -2
  57. package/models/operations/updatedataset.js +2 -2
  58. package/models/operations/updatedatasource.js +2 -2
  59. package/models/operations/updateeval.js +16 -16
  60. package/models/operations/updateprompt.d.ts +102 -8
  61. package/models/operations/updateprompt.d.ts.map +1 -1
  62. package/models/operations/updateprompt.js +105 -5
  63. package/models/operations/updateprompt.js.map +1 -1
  64. package/package.json +1 -1
  65. package/packages/orq-rc/docs/sdks/contacts/README.md +1 -1
  66. package/packages/orq-rc/docs/sdks/datasets/README.md +1 -1
  67. package/packages/orq-rc/docs/sdks/knowledge/README.md +1 -1
  68. package/packages/orq-rc/examples/contactsCreate.example.ts +1 -1
  69. package/packages/orq-rc/examples/package-lock.json +1 -1
  70. package/packages/orq-rc/jsr.json +1 -1
  71. package/packages/orq-rc/package-lock.json +2 -2
  72. package/packages/orq-rc/package.json +1 -1
  73. package/packages/orq-rc/src/funcs/contactsCreate.ts +1 -1
  74. package/packages/orq-rc/src/funcs/datasetsCreateDatapoint.ts +5 -4
  75. package/packages/orq-rc/src/funcs/knowledgeCreateChunks.ts +4 -4
  76. package/packages/orq-rc/src/lib/config.ts +3 -3
  77. package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
  78. package/packages/orq-rc/src/mcp-server/server.ts +1 -1
  79. package/packages/orq-rc/src/mcp-server/tools/contactsCreate.ts +1 -1
  80. package/packages/orq-rc/src/models/operations/createchunk.ts +54 -44
  81. package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
  82. package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
  83. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +46 -63
  84. package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
  85. package/packages/orq-rc/src/models/operations/createeval.ts +16 -16
  86. package/packages/orq-rc/src/models/operations/createprompt.ts +246 -40
  87. package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +121 -20
  88. package/packages/orq-rc/src/models/operations/deployments.ts +115 -19
  89. package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
  90. package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
  91. package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
  92. package/packages/orq-rc/src/models/operations/getallprompts.ts +100 -2
  93. package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
  94. package/packages/orq-rc/src/models/operations/getoneprompt.ts +100 -2
  95. package/packages/orq-rc/src/models/operations/getpromptversion.ts +100 -2
  96. package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
  97. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +2 -2
  98. package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
  99. package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
  100. package/packages/orq-rc/src/models/operations/listpromptversions.ts +101 -2
  101. package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
  102. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +2 -2
  103. package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
  104. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
  105. package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
  106. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +2 -2
  107. package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
  108. package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
  109. package/packages/orq-rc/src/models/operations/updateeval.ts +16 -16
  110. package/packages/orq-rc/src/models/operations/updateprompt.ts +210 -4
  111. package/packages/orq-rc/src/sdk/contacts.ts +1 -1
  112. package/packages/orq-rc/src/sdk/datasets.ts +1 -1
  113. package/packages/orq-rc/src/sdk/knowledge.ts +1 -1
  114. package/src/lib/config.ts +3 -3
  115. package/src/mcp-server/mcp-server.ts +1 -1
  116. package/src/mcp-server/server.ts +1 -1
  117. package/src/models/operations/createcontact.ts +2 -2
  118. package/src/models/operations/createdataset.ts +2 -2
  119. package/src/models/operations/createdatasetitem.ts +2 -2
  120. package/src/models/operations/createdatasource.ts +2 -2
  121. package/src/models/operations/createeval.ts +16 -16
  122. package/src/models/operations/createprompt.ts +246 -40
  123. package/src/models/operations/deploymentgetconfig.ts +121 -20
  124. package/src/models/operations/deployments.ts +115 -19
  125. package/src/models/operations/fileget.ts +2 -2
  126. package/src/models/operations/filelist.ts +2 -2
  127. package/src/models/operations/fileupload.ts +2 -2
  128. package/src/models/operations/getallprompts.ts +100 -2
  129. package/src/models/operations/getevals.ts +28 -28
  130. package/src/models/operations/getoneprompt.ts +100 -2
  131. package/src/models/operations/getpromptversion.ts +100 -2
  132. package/src/models/operations/listcontacts.ts +2 -2
  133. package/src/models/operations/listdatasetdatapoints.ts +2 -2
  134. package/src/models/operations/listdatasets.ts +2 -2
  135. package/src/models/operations/listdatasources.ts +2 -2
  136. package/src/models/operations/listpromptversions.ts +101 -2
  137. package/src/models/operations/retrievecontact.ts +2 -2
  138. package/src/models/operations/retrievedatapoint.ts +2 -2
  139. package/src/models/operations/retrievedataset.ts +2 -2
  140. package/src/models/operations/retrievedatasource.ts +2 -2
  141. package/src/models/operations/updatecontact.ts +2 -2
  142. package/src/models/operations/updatedatapoint.ts +2 -2
  143. package/src/models/operations/updatedataset.ts +2 -2
  144. package/src/models/operations/updatedatasource.ts +2 -2
  145. package/src/models/operations/updateeval.ts +16 -16
  146. package/src/models/operations/updateprompt.ts +210 -4
@@ -8,7 +8,7 @@ dotenv.config();
8
8
  * Example usage of the @orq-ai/node SDK
9
9
  *
10
10
  * To run this example from the examples directory:
11
- * npm run build && npx tsx contactsCreate.ts
11
+ * npm run build && npx tsx contactsCreate.example.ts
12
12
  */
13
13
 
14
14
  import { Orq } from "@orq-ai/node";
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "..": {
20
20
  "name": "@orq-ai/node",
21
- "version": "3.10.16",
21
+ "version": "3.10.19",
22
22
  "dependencies": {
23
23
  "zod": "^3.20.0"
24
24
  },
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "@orq-ai/node",
5
- "version": "3.10.16",
5
+ "version": "3.10.19",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
package/lib/config.d.ts CHANGED
@@ -39,8 +39,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
39
39
  export declare const SDK_METADATA: {
40
40
  readonly language: "typescript";
41
41
  readonly openapiDocVersion: "2.0";
42
- readonly sdkVersion: "3.10.16";
43
- readonly genVersion: "2.677.3";
44
- readonly userAgent: "speakeasy-sdk/typescript 3.10.16 2.677.3 2.0 @orq-ai/node";
42
+ readonly sdkVersion: "3.10.19";
43
+ readonly genVersion: "2.681.1";
44
+ readonly userAgent: "speakeasy-sdk/typescript 3.10.19 2.681.1 2.0 @orq-ai/node";
45
45
  };
46
46
  //# sourceMappingURL=config.d.ts.map
package/lib/config.js CHANGED
@@ -28,8 +28,8 @@ function serverURLFromOptions(options) {
28
28
  exports.SDK_METADATA = {
29
29
  language: "typescript",
30
30
  openapiDocVersion: "2.0",
31
- sdkVersion: "3.10.16",
32
- genVersion: "2.677.3",
33
- userAgent: "speakeasy-sdk/typescript 3.10.16 2.677.3 2.0 @orq-ai/node",
31
+ sdkVersion: "3.10.19",
32
+ genVersion: "2.681.1",
33
+ userAgent: "speakeasy-sdk/typescript 3.10.19 2.681.1 2.0 @orq-ai/node",
34
34
  };
35
35
  //# sourceMappingURL=config.js.map
@@ -22,7 +22,7 @@ const routes = (0, core_1.buildRouteMap)({
22
22
  exports.app = (0, core_1.buildApplication)(routes, {
23
23
  name: "mcp",
24
24
  versionInfo: {
25
- currentVersion: "3.10.16",
25
+ currentVersion: "3.10.19",
26
26
  },
27
27
  });
28
28
  (0, core_1.run)(exports.app, node_process_1.default.argv.slice(2), (0, cli_js_1.buildContext)(node_process_1.default));
@@ -106,7 +106,7 @@ const remoteconfigsRetrieve_js_1 = require("./tools/remoteconfigsRetrieve.js");
106
106
  function createMCPServer(deps) {
107
107
  const server = new mcp_js_1.McpServer({
108
108
  name: "Orq",
109
- version: "3.10.16",
109
+ version: "3.10.19",
110
110
  });
111
111
  const client = new core_js_1.OrqCore({
112
112
  apiKey: deps.apiKey,
@@ -103,7 +103,7 @@ exports.CreateContactResponseBody$inboundSchema = z.object({
103
103
  metadata: z.record(z.any()).optional(),
104
104
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
105
105
  .optional(),
106
- updated: z.string().datetime({ offset: true }).default("2025-08-11T09:31:18.066Z").transform(v => new Date(v)),
106
+ updated: z.string().datetime({ offset: true }).default("2025-08-13T12:53:43.771Z").transform(v => new Date(v)),
107
107
  }).transform((v) => {
108
108
  return (0, primitives_js_1.remap)(v, {
109
109
  "_id": "id",
@@ -124,7 +124,7 @@ exports.CreateContactResponseBody$outboundSchema = z.object({
124
124
  tags: z.array(z.string()).optional(),
125
125
  metadata: z.record(z.any()).optional(),
126
126
  created: z.date().transform(v => v.toISOString()).optional(),
127
- updated: z.date().default(() => new Date("2025-08-11T09:31:18.066Z"))
127
+ updated: z.date().default(() => new Date("2025-08-13T12:53:43.771Z"))
128
128
  .transform(v => v.toISOString()),
129
129
  }).transform((v) => {
130
130
  return (0, primitives_js_1.remap)(v, {
@@ -129,7 +129,7 @@ exports.CreateDatasetResponseBody$inboundSchema = z.object({
129
129
  metadata: z.lazy(() => exports.CreateDatasetMetadata$inboundSchema),
130
130
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
131
131
  .optional(),
132
- updated: z.string().datetime({ offset: true }).default("2025-08-11T09:31:18.066Z").transform(v => new Date(v)),
132
+ updated: z.string().datetime({ offset: true }).default("2025-08-13T12:53:43.771Z").transform(v => new Date(v)),
133
133
  }).transform((v) => {
134
134
  return (0, primitives_js_1.remap)(v, {
135
135
  "_id": "id",
@@ -150,7 +150,7 @@ exports.CreateDatasetResponseBody$outboundSchema = z.object({
150
150
  updatedById: z.string().optional(),
151
151
  metadata: z.lazy(() => exports.CreateDatasetMetadata$outboundSchema),
152
152
  created: z.date().transform(v => v.toISOString()).optional(),
153
- updated: z.date().default(() => new Date("2025-08-11T09:31:18.066Z"))
153
+ updated: z.date().default(() => new Date("2025-08-13T12:53:43.771Z"))
154
154
  .transform(v => v.toISOString()),
155
155
  }).transform((v) => {
156
156
  return (0, primitives_js_1.remap)(v, {
@@ -2301,7 +2301,7 @@ exports.ResponseBody$inboundSchema = z.object({
2301
2301
  updated_by_id: z.string().optional(),
2302
2302
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
2303
2303
  .optional(),
2304
- updated: z.string().datetime({ offset: true }).default("2025-08-11T09:31:18.066Z").transform(v => new Date(v)),
2304
+ updated: z.string().datetime({ offset: true }).default("2025-08-13T12:53:43.771Z").transform(v => new Date(v)),
2305
2305
  }).transform((v) => {
2306
2306
  return (0, primitives_js_1.remap)(v, {
2307
2307
  "_id": "id",
@@ -2329,7 +2329,7 @@ exports.ResponseBody$outboundSchema = z.object({
2329
2329
  createdById: z.string().optional(),
2330
2330
  updatedById: z.string().optional(),
2331
2331
  created: z.date().transform(v => v.toISOString()).optional(),
2332
- updated: z.date().default(() => new Date("2025-08-11T09:31:18.066Z"))
2332
+ updated: z.date().default(() => new Date("2025-08-13T12:53:43.771Z"))
2333
2333
  .transform(v => v.toISOString()),
2334
2334
  }).transform((v) => {
2335
2335
  return (0, primitives_js_1.remap)(v, {
@@ -392,7 +392,7 @@ var CreateDatasourceStatus$;
392
392
  })(CreateDatasourceStatus$ || (exports.CreateDatasourceStatus$ = CreateDatasourceStatus$ = {}));
393
393
  /** @internal */
394
394
  exports.CreateDatasourceResponseBody$inboundSchema = z.object({
395
- _id: z.string().default("01K2C7GVTT3DQQ7Y6KXW7RD4PP"),
395
+ _id: z.string().default("01K2HQWZ169M1E37F0773SAY1F"),
396
396
  display_name: z.string(),
397
397
  description: z.string().optional(),
398
398
  status: exports.CreateDatasourceStatus$inboundSchema,
@@ -416,7 +416,7 @@ exports.CreateDatasourceResponseBody$inboundSchema = z.object({
416
416
  });
417
417
  /** @internal */
418
418
  exports.CreateDatasourceResponseBody$outboundSchema = z.object({
419
- id: z.string().default("01K2C7GVTT3DQQ7Y6KXW7RD4PP"),
419
+ id: z.string().default("01K2HQWZ169M1E37F0773SAY1F"),
420
420
  displayName: z.string(),
421
421
  description: z.string().optional(),
422
422
  status: exports.CreateDatasourceStatus$outboundSchema,
@@ -1258,8 +1258,8 @@ var CreateEvalResponseBodyEvalsResponseType$;
1258
1258
  exports.ResponseBodyPython$inboundSchema = z.object({
1259
1259
  _id: z.string(),
1260
1260
  description: z.string(),
1261
- created: z.string().default("2025-08-11T09:31:20.314Z"),
1262
- updated: z.string().default("2025-08-11T09:31:20.314Z"),
1261
+ created: z.string().default("2025-08-13T12:53:46.195Z"),
1262
+ updated: z.string().default("2025-08-13T12:53:46.195Z"),
1263
1263
  guardrail_config: z.union([
1264
1264
  z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema),
1265
1265
  z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema),
@@ -1277,8 +1277,8 @@ exports.ResponseBodyPython$inboundSchema = z.object({
1277
1277
  exports.ResponseBodyPython$outboundSchema = z.object({
1278
1278
  id: z.string(),
1279
1279
  description: z.string(),
1280
- created: z.string().default("2025-08-11T09:31:20.314Z"),
1281
- updated: z.string().default("2025-08-11T09:31:20.314Z"),
1280
+ created: z.string().default("2025-08-13T12:53:46.195Z"),
1281
+ updated: z.string().default("2025-08-13T12:53:46.195Z"),
1282
1282
  guardrailConfig: z.union([
1283
1283
  z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema),
1284
1284
  z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$outboundSchema),
@@ -1479,8 +1479,8 @@ var ResponseBodyMethod$;
1479
1479
  exports.ResponseBodyHTTP$inboundSchema = z.object({
1480
1480
  _id: z.string(),
1481
1481
  description: z.string(),
1482
- created: z.string().default("2025-08-11T09:31:20.314Z"),
1483
- updated: z.string().default("2025-08-11T09:31:20.314Z"),
1482
+ created: z.string().default("2025-08-13T12:53:46.195Z"),
1483
+ updated: z.string().default("2025-08-13T12:53:46.195Z"),
1484
1484
  guardrail_config: z.union([
1485
1485
  z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema),
1486
1486
  z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema),
@@ -1501,8 +1501,8 @@ exports.ResponseBodyHTTP$inboundSchema = z.object({
1501
1501
  exports.ResponseBodyHTTP$outboundSchema = z.object({
1502
1502
  id: z.string(),
1503
1503
  description: z.string(),
1504
- created: z.string().default("2025-08-11T09:31:20.314Z"),
1505
- updated: z.string().default("2025-08-11T09:31:20.314Z"),
1504
+ created: z.string().default("2025-08-13T12:53:46.195Z"),
1505
+ updated: z.string().default("2025-08-13T12:53:46.195Z"),
1506
1506
  guardrailConfig: z.union([
1507
1507
  z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema),
1508
1508
  z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$outboundSchema),
@@ -1688,8 +1688,8 @@ var CreateEvalResponseBodyType$;
1688
1688
  exports.ResponseBodyJSON$inboundSchema = z.object({
1689
1689
  _id: z.string(),
1690
1690
  description: z.string(),
1691
- created: z.string().default("2025-08-11T09:31:20.314Z"),
1692
- updated: z.string().default("2025-08-11T09:31:20.314Z"),
1691
+ created: z.string().default("2025-08-13T12:53:46.195Z"),
1692
+ updated: z.string().default("2025-08-13T12:53:46.195Z"),
1693
1693
  guardrail_config: z.union([
1694
1694
  z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
1695
1695
  z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema),
@@ -1707,8 +1707,8 @@ exports.ResponseBodyJSON$inboundSchema = z.object({
1707
1707
  exports.ResponseBodyJSON$outboundSchema = z.object({
1708
1708
  id: z.string(),
1709
1709
  description: z.string(),
1710
- created: z.string().default("2025-08-11T09:31:20.314Z"),
1711
- updated: z.string().default("2025-08-11T09:31:20.314Z"),
1710
+ created: z.string().default("2025-08-13T12:53:46.195Z"),
1711
+ updated: z.string().default("2025-08-13T12:53:46.195Z"),
1712
1712
  guardrailConfig: z.union([
1713
1713
  z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200Number$outboundSchema),
1714
1714
  z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponse200Boolean$outboundSchema),
@@ -1893,8 +1893,8 @@ var ResponseBodyType$;
1893
1893
  exports.ResponseBodyLLM$inboundSchema = z.object({
1894
1894
  _id: z.string(),
1895
1895
  description: z.string(),
1896
- created: z.string().default("2025-08-11T09:31:20.314Z"),
1897
- updated: z.string().default("2025-08-11T09:31:20.314Z"),
1896
+ created: z.string().default("2025-08-13T12:53:46.195Z"),
1897
+ updated: z.string().default("2025-08-13T12:53:46.195Z"),
1898
1898
  guardrail_config: z.union([
1899
1899
  z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
1900
1900
  z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
@@ -1913,8 +1913,8 @@ exports.ResponseBodyLLM$inboundSchema = z.object({
1913
1913
  exports.ResponseBodyLLM$outboundSchema = z.object({
1914
1914
  id: z.string(),
1915
1915
  description: z.string(),
1916
- created: z.string().default("2025-08-11T09:31:20.314Z"),
1917
- updated: z.string().default("2025-08-11T09:31:20.314Z"),
1916
+ created: z.string().default("2025-08-13T12:53:46.195Z"),
1917
+ updated: z.string().default("2025-08-13T12:53:46.195Z"),
1918
1918
  guardrailConfig: z.union([
1919
1919
  z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
1920
1920
  z.lazy(() => exports.CreateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
@@ -33,6 +33,13 @@ export declare const CreatePromptFormat: {
33
33
  * Only supported on `image` models.
34
34
  */
35
35
  export type CreatePromptFormat = ClosedEnum<typeof CreatePromptFormat>;
36
+ export declare const CreatePromptResponseFormatPromptsType: {
37
+ readonly Text: "text";
38
+ };
39
+ export type CreatePromptResponseFormatPromptsType = ClosedEnum<typeof CreatePromptResponseFormatPromptsType>;
40
+ export type ResponseFormat3 = {
41
+ type: CreatePromptResponseFormatPromptsType;
42
+ };
36
43
  export declare const CreatePromptResponseFormatType: {
37
44
  readonly JsonObject: "json_object";
38
45
  };
@@ -66,7 +73,7 @@ export type ResponseFormat1 = {
66
73
  *
67
74
  * 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.
68
75
  */
69
- export type ResponseFormat = ResponseFormat1 | ResponseFormat2;
76
+ export type ResponseFormat = ResponseFormat1 | ResponseFormat2 | ResponseFormat3;
70
77
  /**
71
78
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
72
79
  */
@@ -177,7 +184,7 @@ export type ModelParameters = {
177
184
  *
178
185
  * 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.
179
186
  */
180
- responseFormat?: ResponseFormat1 | ResponseFormat2 | null | undefined;
187
+ responseFormat?: ResponseFormat1 | ResponseFormat2 | ResponseFormat3 | null | undefined;
181
188
  /**
182
189
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
183
190
  */
@@ -454,17 +461,24 @@ export declare const CreatePromptPromptsFormat: {
454
461
  * Only supported on `image` models.
455
462
  */
456
463
  export type CreatePromptPromptsFormat = ClosedEnum<typeof CreatePromptPromptsFormat>;
457
- export declare const CreatePromptResponseFormatPromptsResponseType: {
464
+ export declare const CreatePromptResponseFormatPromptsResponse200ApplicationJSONType: {
465
+ readonly Text: "text";
466
+ };
467
+ export type CreatePromptResponseFormatPromptsResponse200ApplicationJSONType = ClosedEnum<typeof CreatePromptResponseFormatPromptsResponse200ApplicationJSONType>;
468
+ export type CreatePromptResponseFormat3 = {
469
+ type: CreatePromptResponseFormatPromptsResponse200ApplicationJSONType;
470
+ };
471
+ export declare const CreatePromptResponseFormatPromptsResponse200Type: {
458
472
  readonly JsonObject: "json_object";
459
473
  };
460
- export type CreatePromptResponseFormatPromptsResponseType = ClosedEnum<typeof CreatePromptResponseFormatPromptsResponseType>;
474
+ export type CreatePromptResponseFormatPromptsResponse200Type = ClosedEnum<typeof CreatePromptResponseFormatPromptsResponse200Type>;
461
475
  export type CreatePromptResponseFormat2 = {
462
- type: CreatePromptResponseFormatPromptsResponseType;
476
+ type: CreatePromptResponseFormatPromptsResponse200Type;
463
477
  };
464
- export declare const CreatePromptResponseFormatPromptsType: {
478
+ export declare const CreatePromptResponseFormatPromptsResponseType: {
465
479
  readonly JsonSchema: "json_schema";
466
480
  };
467
- export type CreatePromptResponseFormatPromptsType = ClosedEnum<typeof CreatePromptResponseFormatPromptsType>;
481
+ export type CreatePromptResponseFormatPromptsResponseType = ClosedEnum<typeof CreatePromptResponseFormatPromptsResponseType>;
468
482
  export type CreatePromptResponseFormatJsonSchema = {
469
483
  name: string;
470
484
  strict?: boolean | undefined;
@@ -473,7 +487,7 @@ export type CreatePromptResponseFormatJsonSchema = {
473
487
  };
474
488
  };
475
489
  export type CreatePromptResponseFormat1 = {
476
- type: CreatePromptResponseFormatPromptsType;
490
+ type: CreatePromptResponseFormatPromptsResponseType;
477
491
  jsonSchema: CreatePromptResponseFormatJsonSchema;
478
492
  };
479
493
  /**
@@ -487,7 +501,7 @@ export type CreatePromptResponseFormat1 = {
487
501
  *
488
502
  * 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.
489
503
  */
490
- export type CreatePromptResponseFormat = CreatePromptResponseFormat1 | CreatePromptResponseFormat2;
504
+ export type CreatePromptResponseFormat = CreatePromptResponseFormat1 | CreatePromptResponseFormat2 | CreatePromptResponseFormat3;
491
505
  /**
492
506
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
493
507
  */
@@ -598,7 +612,7 @@ export type CreatePromptModelParameters = {
598
612
  *
599
613
  * 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.
600
614
  */
601
- responseFormat?: CreatePromptResponseFormat1 | CreatePromptResponseFormat2 | null | undefined;
615
+ responseFormat?: CreatePromptResponseFormat1 | CreatePromptResponseFormat2 | CreatePromptResponseFormat3 | null | undefined;
602
616
  /**
603
617
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
604
618
  */
@@ -918,6 +932,46 @@ export declare namespace CreatePromptFormat$ {
918
932
  }>;
919
933
  }
920
934
  /** @internal */
935
+ export declare const CreatePromptResponseFormatPromptsType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsType>;
936
+ /** @internal */
937
+ export declare const CreatePromptResponseFormatPromptsType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsType>;
938
+ /**
939
+ * @internal
940
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
941
+ */
942
+ export declare namespace CreatePromptResponseFormatPromptsType$ {
943
+ /** @deprecated use `CreatePromptResponseFormatPromptsType$inboundSchema` instead. */
944
+ const inboundSchema: z.ZodNativeEnum<{
945
+ readonly Text: "text";
946
+ }>;
947
+ /** @deprecated use `CreatePromptResponseFormatPromptsType$outboundSchema` instead. */
948
+ const outboundSchema: z.ZodNativeEnum<{
949
+ readonly Text: "text";
950
+ }>;
951
+ }
952
+ /** @internal */
953
+ export declare const ResponseFormat3$inboundSchema: z.ZodType<ResponseFormat3, z.ZodTypeDef, unknown>;
954
+ /** @internal */
955
+ export type ResponseFormat3$Outbound = {
956
+ type: string;
957
+ };
958
+ /** @internal */
959
+ export declare const ResponseFormat3$outboundSchema: z.ZodType<ResponseFormat3$Outbound, z.ZodTypeDef, ResponseFormat3>;
960
+ /**
961
+ * @internal
962
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
963
+ */
964
+ export declare namespace ResponseFormat3$ {
965
+ /** @deprecated use `ResponseFormat3$inboundSchema` instead. */
966
+ const inboundSchema: z.ZodType<ResponseFormat3, z.ZodTypeDef, unknown>;
967
+ /** @deprecated use `ResponseFormat3$outboundSchema` instead. */
968
+ const outboundSchema: z.ZodType<ResponseFormat3$Outbound, z.ZodTypeDef, ResponseFormat3>;
969
+ /** @deprecated use `ResponseFormat3$Outbound` instead. */
970
+ type Outbound = ResponseFormat3$Outbound;
971
+ }
972
+ export declare function responseFormat3ToJSON(responseFormat3: ResponseFormat3): string;
973
+ export declare function responseFormat3FromJSON(jsonString: string): SafeParseResult<ResponseFormat3, SDKValidationError>;
974
+ /** @internal */
921
975
  export declare const CreatePromptResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatType>;
922
976
  /** @internal */
923
977
  export declare const CreatePromptResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatType>;
@@ -1027,7 +1081,7 @@ export declare function responseFormat1FromJSON(jsonString: string): SafeParseRe
1027
1081
  /** @internal */
1028
1082
  export declare const ResponseFormat$inboundSchema: z.ZodType<ResponseFormat, z.ZodTypeDef, unknown>;
1029
1083
  /** @internal */
1030
- export type ResponseFormat$Outbound = ResponseFormat1$Outbound | ResponseFormat2$Outbound;
1084
+ export type ResponseFormat$Outbound = ResponseFormat1$Outbound | ResponseFormat2$Outbound | ResponseFormat3$Outbound;
1031
1085
  /** @internal */
1032
1086
  export declare const ResponseFormat$outboundSchema: z.ZodType<ResponseFormat$Outbound, z.ZodTypeDef, ResponseFormat>;
1033
1087
  /**
@@ -1146,7 +1200,7 @@ export type ModelParameters$Outbound = {
1146
1200
  dimensions?: string | undefined;
1147
1201
  quality?: string | undefined;
1148
1202
  style?: string | undefined;
1149
- responseFormat?: ResponseFormat1$Outbound | ResponseFormat2$Outbound | null | undefined;
1203
+ responseFormat?: ResponseFormat1$Outbound | ResponseFormat2$Outbound | ResponseFormat3$Outbound | null | undefined;
1150
1204
  photoRealVersion?: string | undefined;
1151
1205
  encoding_format?: string | undefined;
1152
1206
  reasoningEffort?: string | undefined;
@@ -1799,19 +1853,59 @@ export declare namespace CreatePromptPromptsFormat$ {
1799
1853
  }>;
1800
1854
  }
1801
1855
  /** @internal */
1802
- export declare const CreatePromptResponseFormatPromptsResponseType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponseType>;
1856
+ export declare const CreatePromptResponseFormatPromptsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponse200ApplicationJSONType>;
1803
1857
  /** @internal */
1804
- export declare const CreatePromptResponseFormatPromptsResponseType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponseType>;
1858
+ export declare const CreatePromptResponseFormatPromptsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponse200ApplicationJSONType>;
1805
1859
  /**
1806
1860
  * @internal
1807
1861
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1808
1862
  */
1809
- export declare namespace CreatePromptResponseFormatPromptsResponseType$ {
1810
- /** @deprecated use `CreatePromptResponseFormatPromptsResponseType$inboundSchema` instead. */
1863
+ export declare namespace CreatePromptResponseFormatPromptsResponse200ApplicationJSONType$ {
1864
+ /** @deprecated use `CreatePromptResponseFormatPromptsResponse200ApplicationJSONType$inboundSchema` instead. */
1865
+ const inboundSchema: z.ZodNativeEnum<{
1866
+ readonly Text: "text";
1867
+ }>;
1868
+ /** @deprecated use `CreatePromptResponseFormatPromptsResponse200ApplicationJSONType$outboundSchema` instead. */
1869
+ const outboundSchema: z.ZodNativeEnum<{
1870
+ readonly Text: "text";
1871
+ }>;
1872
+ }
1873
+ /** @internal */
1874
+ export declare const CreatePromptResponseFormat3$inboundSchema: z.ZodType<CreatePromptResponseFormat3, z.ZodTypeDef, unknown>;
1875
+ /** @internal */
1876
+ export type CreatePromptResponseFormat3$Outbound = {
1877
+ type: string;
1878
+ };
1879
+ /** @internal */
1880
+ export declare const CreatePromptResponseFormat3$outboundSchema: z.ZodType<CreatePromptResponseFormat3$Outbound, z.ZodTypeDef, CreatePromptResponseFormat3>;
1881
+ /**
1882
+ * @internal
1883
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1884
+ */
1885
+ export declare namespace CreatePromptResponseFormat3$ {
1886
+ /** @deprecated use `CreatePromptResponseFormat3$inboundSchema` instead. */
1887
+ const inboundSchema: z.ZodType<CreatePromptResponseFormat3, z.ZodTypeDef, unknown>;
1888
+ /** @deprecated use `CreatePromptResponseFormat3$outboundSchema` instead. */
1889
+ const outboundSchema: z.ZodType<CreatePromptResponseFormat3$Outbound, z.ZodTypeDef, CreatePromptResponseFormat3>;
1890
+ /** @deprecated use `CreatePromptResponseFormat3$Outbound` instead. */
1891
+ type Outbound = CreatePromptResponseFormat3$Outbound;
1892
+ }
1893
+ export declare function createPromptResponseFormat3ToJSON(createPromptResponseFormat3: CreatePromptResponseFormat3): string;
1894
+ export declare function createPromptResponseFormat3FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormat3, SDKValidationError>;
1895
+ /** @internal */
1896
+ export declare const CreatePromptResponseFormatPromptsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponse200Type>;
1897
+ /** @internal */
1898
+ export declare const CreatePromptResponseFormatPromptsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponse200Type>;
1899
+ /**
1900
+ * @internal
1901
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1902
+ */
1903
+ export declare namespace CreatePromptResponseFormatPromptsResponse200Type$ {
1904
+ /** @deprecated use `CreatePromptResponseFormatPromptsResponse200Type$inboundSchema` instead. */
1811
1905
  const inboundSchema: z.ZodNativeEnum<{
1812
1906
  readonly JsonObject: "json_object";
1813
1907
  }>;
1814
- /** @deprecated use `CreatePromptResponseFormatPromptsResponseType$outboundSchema` instead. */
1908
+ /** @deprecated use `CreatePromptResponseFormatPromptsResponse200Type$outboundSchema` instead. */
1815
1909
  const outboundSchema: z.ZodNativeEnum<{
1816
1910
  readonly JsonObject: "json_object";
1817
1911
  }>;
@@ -1839,19 +1933,19 @@ export declare namespace CreatePromptResponseFormat2$ {
1839
1933
  export declare function createPromptResponseFormat2ToJSON(createPromptResponseFormat2: CreatePromptResponseFormat2): string;
1840
1934
  export declare function createPromptResponseFormat2FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormat2, SDKValidationError>;
1841
1935
  /** @internal */
1842
- export declare const CreatePromptResponseFormatPromptsType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsType>;
1936
+ export declare const CreatePromptResponseFormatPromptsResponseType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponseType>;
1843
1937
  /** @internal */
1844
- export declare const CreatePromptResponseFormatPromptsType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsType>;
1938
+ export declare const CreatePromptResponseFormatPromptsResponseType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponseType>;
1845
1939
  /**
1846
1940
  * @internal
1847
1941
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1848
1942
  */
1849
- export declare namespace CreatePromptResponseFormatPromptsType$ {
1850
- /** @deprecated use `CreatePromptResponseFormatPromptsType$inboundSchema` instead. */
1943
+ export declare namespace CreatePromptResponseFormatPromptsResponseType$ {
1944
+ /** @deprecated use `CreatePromptResponseFormatPromptsResponseType$inboundSchema` instead. */
1851
1945
  const inboundSchema: z.ZodNativeEnum<{
1852
1946
  readonly JsonSchema: "json_schema";
1853
1947
  }>;
1854
- /** @deprecated use `CreatePromptResponseFormatPromptsType$outboundSchema` instead. */
1948
+ /** @deprecated use `CreatePromptResponseFormatPromptsResponseType$outboundSchema` instead. */
1855
1949
  const outboundSchema: z.ZodNativeEnum<{
1856
1950
  readonly JsonSchema: "json_schema";
1857
1951
  }>;
@@ -1908,7 +2002,7 @@ export declare function createPromptResponseFormat1FromJSON(jsonString: string):
1908
2002
  /** @internal */
1909
2003
  export declare const CreatePromptResponseFormat$inboundSchema: z.ZodType<CreatePromptResponseFormat, z.ZodTypeDef, unknown>;
1910
2004
  /** @internal */
1911
- export type CreatePromptResponseFormat$Outbound = CreatePromptResponseFormat1$Outbound | CreatePromptResponseFormat2$Outbound;
2005
+ export type CreatePromptResponseFormat$Outbound = CreatePromptResponseFormat1$Outbound | CreatePromptResponseFormat2$Outbound | CreatePromptResponseFormat3$Outbound;
1912
2006
  /** @internal */
1913
2007
  export declare const CreatePromptResponseFormat$outboundSchema: z.ZodType<CreatePromptResponseFormat$Outbound, z.ZodTypeDef, CreatePromptResponseFormat>;
1914
2008
  /**
@@ -2027,7 +2121,7 @@ export type CreatePromptModelParameters$Outbound = {
2027
2121
  dimensions?: string | undefined;
2028
2122
  quality?: string | undefined;
2029
2123
  style?: string | undefined;
2030
- responseFormat?: CreatePromptResponseFormat1$Outbound | CreatePromptResponseFormat2$Outbound | null | undefined;
2124
+ responseFormat?: CreatePromptResponseFormat1$Outbound | CreatePromptResponseFormat2$Outbound | CreatePromptResponseFormat3$Outbound | null | undefined;
2031
2125
  photoRealVersion?: string | undefined;
2032
2126
  encoding_format?: string | undefined;
2033
2127
  reasoningEffort?: string | undefined;