@orq-ai/node 3.1.0 → 3.1.2

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 (304) hide show
  1. package/README.md +34 -34
  2. package/docs/sdks/deployments/README.md +9 -86
  3. package/docs/sdks/files/README.md +174 -2
  4. package/docs/sdks/orq/README.md +1 -1
  5. package/docs/sdks/prompt/README.md +6 -0
  6. package/docs/sdks/prompts/README.md +128 -135
  7. package/docs/sdks/snippets/README.md +84 -0
  8. package/docs/sdks/templates/README.md +80 -0
  9. package/funcs/{deploymentsList.d.ts → deploymentsAll.d.ts} +2 -2
  10. package/funcs/deploymentsAll.d.ts.map +1 -0
  11. package/funcs/{deploymentsList.js → deploymentsAll.js} +4 -5
  12. package/funcs/deploymentsAll.js.map +1 -0
  13. package/funcs/deploymentsInvoke.d.ts +7 -1
  14. package/funcs/deploymentsInvoke.d.ts.map +1 -1
  15. package/funcs/deploymentsInvoke.js +11 -10
  16. package/funcs/deploymentsInvoke.js.map +1 -1
  17. package/funcs/filesBulkUpload.d.ts +15 -0
  18. package/funcs/filesBulkUpload.d.ts.map +1 -0
  19. package/funcs/{promptsList.js → filesBulkUpload.js} +15 -18
  20. package/funcs/filesBulkUpload.js.map +1 -0
  21. package/funcs/{promptSnippetsDelete.d.ts → filesUpdate.d.ts} +3 -3
  22. package/funcs/filesUpdate.d.ts.map +1 -0
  23. package/funcs/{promptSnippetsGetByKey.js → filesUpdate.js} +13 -12
  24. package/funcs/filesUpdate.js.map +1 -0
  25. package/funcs/{promptSnippetsList.d.ts → promptSnippetsFindOne.d.ts} +3 -3
  26. package/funcs/promptSnippetsFindOne.d.ts.map +1 -0
  27. package/funcs/{promptSnippetsGet.js → promptSnippetsFindOne.js} +6 -6
  28. package/funcs/promptSnippetsFindOne.js.map +1 -0
  29. package/funcs/{promptSnippetsCreate.d.ts → promptTemplatesGetAll.d.ts} +3 -3
  30. package/funcs/promptTemplatesGetAll.d.ts.map +1 -0
  31. package/funcs/{promptSnippetsList.js → promptTemplatesGetAll.js} +13 -13
  32. package/funcs/promptTemplatesGetAll.js.map +1 -0
  33. package/funcs/promptsCreate.d.ts +1 -1
  34. package/funcs/promptsCreate.js +2 -2
  35. package/funcs/promptsCreate.js.map +1 -1
  36. package/funcs/{promptsRetrieve.d.ts → promptsCreateVersion.d.ts} +3 -6
  37. package/funcs/{promptSnippetsDelete.d.ts.map → promptsCreateVersion.d.ts.map} +1 -1
  38. package/funcs/promptsCreateVersion.js +110 -0
  39. package/funcs/promptsCreateVersion.js.map +1 -0
  40. package/funcs/promptsDelete.js +1 -1
  41. package/funcs/promptsDelete.js.map +1 -1
  42. package/funcs/{promptSnippetsGet.d.ts → promptsDuplicate.d.ts} +3 -3
  43. package/funcs/promptsDuplicate.d.ts.map +1 -0
  44. package/funcs/{promptSnippetsDelete.js → promptsDuplicate.js} +8 -8
  45. package/funcs/promptsDuplicate.js.map +1 -0
  46. package/funcs/promptsGetAll.d.ts +12 -0
  47. package/funcs/promptsGetAll.d.ts.map +1 -0
  48. package/funcs/{promptSnippetsCreate.js → promptsGetAll.js} +8 -8
  49. package/funcs/promptsGetAll.js.map +1 -0
  50. package/funcs/promptsGetOne.d.ts +12 -0
  51. package/funcs/promptsGetOne.d.ts.map +1 -0
  52. package/funcs/{promptsRetrieve.js → promptsGetOne.js} +8 -10
  53. package/funcs/promptsGetOne.js.map +1 -0
  54. package/funcs/promptsUpdate.js +1 -1
  55. package/funcs/promptsUpdate.js.map +1 -1
  56. package/jsr.json +1 -1
  57. package/lib/config.d.ts +2 -10
  58. package/lib/config.d.ts.map +1 -1
  59. package/lib/config.js +2 -2
  60. package/lib/config.js.map +1 -1
  61. package/lib/env.d.ts +0 -13
  62. package/lib/env.d.ts.map +1 -1
  63. package/lib/env.js +0 -17
  64. package/lib/env.js.map +1 -1
  65. package/lib/sdks.js +1 -1
  66. package/lib/sdks.js.map +1 -1
  67. package/models/components/deployments.d.ts +5 -0
  68. package/models/components/deployments.d.ts.map +1 -1
  69. package/models/components/deployments.js +2 -0
  70. package/models/components/deployments.js.map +1 -1
  71. package/models/errors/index.d.ts +0 -2
  72. package/models/errors/index.d.ts.map +1 -1
  73. package/models/errors/index.js +0 -2
  74. package/models/errors/index.js.map +1 -1
  75. package/models/operations/bulkfileupload.d.ts +173 -0
  76. package/models/operations/bulkfileupload.d.ts.map +1 -0
  77. package/models/operations/bulkfileupload.js +210 -0
  78. package/models/operations/bulkfileupload.js.map +1 -0
  79. package/models/operations/createcontact.js +2 -2
  80. package/models/operations/createprompt.d.ts +381 -702
  81. package/models/operations/createprompt.d.ts.map +1 -1
  82. package/models/operations/createprompt.js +481 -641
  83. package/models/operations/createprompt.js.map +1 -1
  84. package/models/operations/createpromptversion.d.ts +2003 -0
  85. package/models/operations/createpromptversion.d.ts.map +1 -0
  86. package/models/operations/createpromptversion.js +1852 -0
  87. package/models/operations/createpromptversion.js.map +1 -0
  88. package/models/operations/deleteprompt.d.ts +1 -1
  89. package/models/operations/deploymentgetconfig.d.ts +0 -39
  90. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  91. package/models/operations/deploymentgetconfig.js +4 -29
  92. package/models/operations/deploymentgetconfig.js.map +1 -1
  93. package/models/operations/deploymentinvoke.d.ts +683 -23
  94. package/models/operations/deploymentinvoke.d.ts.map +1 -1
  95. package/models/operations/deploymentinvoke.js +614 -23
  96. package/models/operations/deploymentinvoke.js.map +1 -1
  97. package/models/operations/deployments.d.ts +8 -54
  98. package/models/operations/deployments.d.ts.map +1 -1
  99. package/models/operations/deployments.js +13 -44
  100. package/models/operations/deployments.js.map +1 -1
  101. package/models/operations/duplicateprompt.d.ts +32 -0
  102. package/models/operations/duplicateprompt.d.ts.map +1 -0
  103. package/models/operations/{deletepromptsnippet.js → duplicateprompt.js} +17 -17
  104. package/models/operations/duplicateprompt.js.map +1 -0
  105. package/models/operations/fileget.js +2 -2
  106. package/models/operations/filelist.d.ts +5 -1
  107. package/models/operations/filelist.d.ts.map +1 -1
  108. package/models/operations/filelist.js +12 -4
  109. package/models/operations/filelist.js.map +1 -1
  110. package/models/operations/fileupdate.d.ts +143 -0
  111. package/models/operations/fileupdate.d.ts.map +1 -0
  112. package/models/operations/fileupdate.js +193 -0
  113. package/models/operations/fileupdate.js.map +1 -0
  114. package/models/operations/fileupload.js +2 -2
  115. package/models/operations/findonepromptsnippet.d.ts +4768 -938
  116. package/models/operations/findonepromptsnippet.d.ts.map +1 -1
  117. package/models/operations/findonepromptsnippet.js +4751 -984
  118. package/models/operations/findonepromptsnippet.js.map +1 -1
  119. package/models/operations/getallprompts.d.ts +9926 -546
  120. package/models/operations/getallprompts.d.ts.map +1 -1
  121. package/models/operations/getallprompts.js +8805 -557
  122. package/models/operations/getallprompts.js.map +1 -1
  123. package/models/operations/getallprompttemplates.d.ts +6607 -0
  124. package/models/operations/getallprompttemplates.d.ts.map +1 -0
  125. package/models/operations/getallprompttemplates.js +6225 -0
  126. package/models/operations/getallprompttemplates.js.map +1 -0
  127. package/models/operations/getoneprompt.d.ts +1 -1203
  128. package/models/operations/getoneprompt.d.ts.map +1 -1
  129. package/models/operations/getoneprompt.js +1 -1011
  130. package/models/operations/getoneprompt.js.map +1 -1
  131. package/models/operations/index.d.ts +5 -8
  132. package/models/operations/index.d.ts.map +1 -1
  133. package/models/operations/index.js +5 -8
  134. package/models/operations/index.js.map +1 -1
  135. package/models/operations/updateprompt.d.ts +5979 -1121
  136. package/models/operations/updateprompt.d.ts.map +1 -1
  137. package/models/operations/updateprompt.js +5729 -1119
  138. package/models/operations/updateprompt.js.map +1 -1
  139. package/package.json +1 -1
  140. package/sdk/deployments.d.ts +6 -10
  141. package/sdk/deployments.d.ts.map +1 -1
  142. package/sdk/deployments.js +6 -14
  143. package/sdk/deployments.js.map +1 -1
  144. package/sdk/files.d.ts +11 -0
  145. package/sdk/files.d.ts.map +1 -1
  146. package/sdk/files.js +17 -0
  147. package/sdk/files.js.map +1 -1
  148. package/sdk/prompt.d.ts +10 -0
  149. package/sdk/prompt.d.ts.map +1 -0
  150. package/sdk/prompt.js +19 -0
  151. package/sdk/prompt.js.map +1 -0
  152. package/sdk/prompts.d.ts +14 -26
  153. package/sdk/prompts.d.ts.map +1 -1
  154. package/sdk/prompts.js +25 -37
  155. package/sdk/prompts.js.map +1 -1
  156. package/sdk/sdk.d.ts +3 -3
  157. package/sdk/sdk.d.ts.map +1 -1
  158. package/sdk/sdk.js +3 -3
  159. package/sdk/sdk.js.map +1 -1
  160. package/sdk/snippets.d.ts +9 -0
  161. package/sdk/snippets.d.ts.map +1 -0
  162. package/sdk/snippets.js +19 -0
  163. package/sdk/snippets.js.map +1 -0
  164. package/sdk/templates.d.ts +9 -0
  165. package/sdk/templates.d.ts.map +1 -0
  166. package/sdk/templates.js +19 -0
  167. package/sdk/templates.js.map +1 -0
  168. package/src/funcs/{deploymentsList.ts → deploymentsAll.ts} +2 -3
  169. package/src/funcs/deploymentsInvoke.ts +16 -21
  170. package/src/funcs/filesBulkUpload.ts +129 -0
  171. package/src/funcs/{promptSnippetsGetByKey.ts → filesUpdate.ts} +16 -18
  172. package/src/funcs/{promptSnippetsGet.ts → promptSnippetsFindOne.ts} +4 -4
  173. package/src/funcs/{promptSnippetsList.ts → promptTemplatesGetAll.ts} +16 -16
  174. package/src/funcs/promptsCreate.ts +2 -2
  175. package/src/funcs/promptsCreateVersion.ts +131 -0
  176. package/src/funcs/promptsDelete.ts +1 -1
  177. package/src/funcs/{promptSnippetsDelete.ts → promptsDuplicate.ts} +7 -8
  178. package/src/funcs/{promptSnippetsCreate.ts → promptsGetAll.ts} +9 -9
  179. package/src/funcs/{promptsRetrieve.ts → promptsGetOne.ts} +8 -10
  180. package/src/funcs/promptsUpdate.ts +1 -1
  181. package/src/lib/config.ts +2 -12
  182. package/src/lib/env.ts +0 -32
  183. package/src/lib/sdks.ts +2 -2
  184. package/src/models/components/deployments.ts +7 -0
  185. package/src/models/errors/index.ts +0 -2
  186. package/src/models/operations/bulkfileupload.ts +315 -0
  187. package/src/models/operations/createcontact.ts +2 -2
  188. package/src/models/operations/createprompt.ts +690 -1048
  189. package/src/models/operations/createpromptversion.ts +3703 -0
  190. package/src/models/operations/deleteprompt.ts +1 -1
  191. package/src/models/operations/deploymentgetconfig.ts +0 -44
  192. package/src/models/operations/deploymentinvoke.ts +1415 -174
  193. package/src/models/operations/deployments.ts +18 -68
  194. package/src/models/operations/duplicateprompt.ts +69 -0
  195. package/src/models/operations/fileget.ts +2 -2
  196. package/src/models/operations/filelist.ts +17 -5
  197. package/src/models/operations/fileupdate.ts +298 -0
  198. package/src/models/operations/fileupload.ts +2 -2
  199. package/src/models/operations/findonepromptsnippet.ts +11104 -1818
  200. package/src/models/operations/getallprompts.ts +17860 -1336
  201. package/src/models/operations/getallprompttemplates.ts +13690 -0
  202. package/src/models/operations/getoneprompt.ts +1 -1914
  203. package/src/models/operations/index.ts +5 -8
  204. package/src/models/operations/updateprompt.ts +12561 -2071
  205. package/src/sdk/deployments.ts +11 -25
  206. package/src/sdk/files.ts +33 -0
  207. package/src/sdk/prompt.ts +19 -0
  208. package/src/sdk/prompts.ts +39 -51
  209. package/src/sdk/sdk.ts +4 -4
  210. package/src/sdk/snippets.ts +24 -0
  211. package/src/sdk/templates.ts +24 -0
  212. package/docs/sdks/promptsnippets/README.md +0 -488
  213. package/funcs/deploymentsList.d.ts.map +0 -1
  214. package/funcs/deploymentsList.js.map +0 -1
  215. package/funcs/deploymentsStream.d.ts +0 -16
  216. package/funcs/deploymentsStream.d.ts.map +0 -1
  217. package/funcs/deploymentsStream.js +0 -125
  218. package/funcs/deploymentsStream.js.map +0 -1
  219. package/funcs/promptSnippetsCreate.d.ts.map +0 -1
  220. package/funcs/promptSnippetsCreate.js.map +0 -1
  221. package/funcs/promptSnippetsDelete.js.map +0 -1
  222. package/funcs/promptSnippetsGet.d.ts.map +0 -1
  223. package/funcs/promptSnippetsGet.js.map +0 -1
  224. package/funcs/promptSnippetsGetByKey.d.ts +0 -12
  225. package/funcs/promptSnippetsGetByKey.d.ts.map +0 -1
  226. package/funcs/promptSnippetsGetByKey.js.map +0 -1
  227. package/funcs/promptSnippetsList.d.ts.map +0 -1
  228. package/funcs/promptSnippetsList.js.map +0 -1
  229. package/funcs/promptSnippetsUpdate.d.ts +0 -13
  230. package/funcs/promptSnippetsUpdate.d.ts.map +0 -1
  231. package/funcs/promptSnippetsUpdate.js +0 -114
  232. package/funcs/promptSnippetsUpdate.js.map +0 -1
  233. package/funcs/promptsGetVersion.d.ts +0 -16
  234. package/funcs/promptsGetVersion.d.ts.map +0 -1
  235. package/funcs/promptsGetVersion.js +0 -120
  236. package/funcs/promptsGetVersion.js.map +0 -1
  237. package/funcs/promptsList.d.ts +0 -15
  238. package/funcs/promptsList.d.ts.map +0 -1
  239. package/funcs/promptsList.js.map +0 -1
  240. package/funcs/promptsListVersions.d.ts +0 -15
  241. package/funcs/promptsListVersions.d.ts.map +0 -1
  242. package/funcs/promptsListVersions.js +0 -118
  243. package/funcs/promptsListVersions.js.map +0 -1
  244. package/funcs/promptsRetrieve.d.ts.map +0 -1
  245. package/funcs/promptsRetrieve.js.map +0 -1
  246. package/models/errors/getpromptversion.d.ts +0 -36
  247. package/models/errors/getpromptversion.d.ts.map +0 -1
  248. package/models/errors/getpromptversion.js +0 -79
  249. package/models/errors/getpromptversion.js.map +0 -1
  250. package/models/errors/updatepromptsnippet.d.ts +0 -36
  251. package/models/errors/updatepromptsnippet.d.ts.map +0 -1
  252. package/models/errors/updatepromptsnippet.js +0 -79
  253. package/models/errors/updatepromptsnippet.js.map +0 -1
  254. package/models/operations/createpromptsnippet.d.ts +0 -3567
  255. package/models/operations/createpromptsnippet.d.ts.map +0 -1
  256. package/models/operations/createpromptsnippet.js +0 -3056
  257. package/models/operations/createpromptsnippet.js.map +0 -1
  258. package/models/operations/deletepromptsnippet.d.ts +0 -32
  259. package/models/operations/deletepromptsnippet.d.ts.map +0 -1
  260. package/models/operations/deletepromptsnippet.js.map +0 -1
  261. package/models/operations/deploymentstream.d.ts +0 -1622
  262. package/models/operations/deploymentstream.d.ts.map +0 -1
  263. package/models/operations/deploymentstream.js +0 -1571
  264. package/models/operations/deploymentstream.js.map +0 -1
  265. package/models/operations/findonebykeypromptsnippet.d.ts +0 -2448
  266. package/models/operations/findonebykeypromptsnippet.d.ts.map +0 -1
  267. package/models/operations/findonebykeypromptsnippet.js +0 -2133
  268. package/models/operations/findonebykeypromptsnippet.js.map +0 -1
  269. package/models/operations/getallpromptsnippets.d.ts +0 -2512
  270. package/models/operations/getallpromptsnippets.d.ts.map +0 -1
  271. package/models/operations/getallpromptsnippets.js +0 -2195
  272. package/models/operations/getallpromptsnippets.js.map +0 -1
  273. package/models/operations/getpromptversion.d.ts +0 -1228
  274. package/models/operations/getpromptversion.d.ts.map +0 -1
  275. package/models/operations/getpromptversion.js +0 -1080
  276. package/models/operations/getpromptversion.js.map +0 -1
  277. package/models/operations/listpromptversions.d.ts +0 -1286
  278. package/models/operations/listpromptversions.d.ts.map +0 -1
  279. package/models/operations/listpromptversions.js +0 -1142
  280. package/models/operations/listpromptversions.js.map +0 -1
  281. package/models/operations/updatepromptsnippet.d.ts +0 -3595
  282. package/models/operations/updatepromptsnippet.d.ts.map +0 -1
  283. package/models/operations/updatepromptsnippet.js +0 -3116
  284. package/models/operations/updatepromptsnippet.js.map +0 -1
  285. package/sdk/promptsnippets.d.ts +0 -29
  286. package/sdk/promptsnippets.d.ts.map +0 -1
  287. package/sdk/promptsnippets.js +0 -54
  288. package/sdk/promptsnippets.js.map +0 -1
  289. package/src/funcs/deploymentsStream.ts +0 -150
  290. package/src/funcs/promptSnippetsUpdate.ts +0 -139
  291. package/src/funcs/promptsGetVersion.ts +0 -146
  292. package/src/funcs/promptsList.ts +0 -133
  293. package/src/funcs/promptsListVersions.ts +0 -139
  294. package/src/models/errors/getpromptversion.ts +0 -71
  295. package/src/models/errors/updatepromptsnippet.ts +0 -71
  296. package/src/models/operations/createpromptsnippet.ts +0 -6239
  297. package/src/models/operations/deletepromptsnippet.ts +0 -69
  298. package/src/models/operations/deploymentstream.ts +0 -3062
  299. package/src/models/operations/findonebykeypromptsnippet.ts +0 -4483
  300. package/src/models/operations/getallpromptsnippets.ts +0 -4472
  301. package/src/models/operations/getpromptversion.ts +0 -2012
  302. package/src/models/operations/listpromptversions.ts +0 -2146
  303. package/src/models/operations/updatepromptsnippet.ts +0 -6544
  304. package/src/sdk/promptsnippets.ts +0 -99
@@ -5,7 +5,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
5
  /**
6
6
  * The type of the model
7
7
  */
8
- export declare const CreatePromptModelType: {
8
+ export declare const ModelType: {
9
9
  readonly Chat: "chat";
10
10
  readonly Completion: "completion";
11
11
  readonly Embedding: "embedding";
@@ -19,11 +19,11 @@ export declare const CreatePromptModelType: {
19
19
  /**
20
20
  * The type of the model
21
21
  */
22
- export type CreatePromptModelType = ClosedEnum<typeof CreatePromptModelType>;
22
+ export type ModelType = ClosedEnum<typeof ModelType>;
23
23
  /**
24
24
  * Only supported on `image` models.
25
25
  */
26
- export declare const CreatePromptFormat: {
26
+ export declare const Format: {
27
27
  readonly Url: "url";
28
28
  readonly B64Json: "b64_json";
29
29
  readonly Text: "text";
@@ -32,39 +32,39 @@ export declare const CreatePromptFormat: {
32
32
  /**
33
33
  * Only supported on `image` models.
34
34
  */
35
- export type CreatePromptFormat = ClosedEnum<typeof CreatePromptFormat>;
35
+ export type Format = ClosedEnum<typeof Format>;
36
36
  /**
37
37
  * Only supported on `image` models.
38
38
  */
39
- export declare const CreatePromptQuality: {
39
+ export declare const Quality: {
40
40
  readonly Standard: "standard";
41
41
  readonly Hd: "hd";
42
42
  };
43
43
  /**
44
44
  * Only supported on `image` models.
45
45
  */
46
- export type CreatePromptQuality = ClosedEnum<typeof CreatePromptQuality>;
47
- export declare const CreatePromptResponseFormatPromptsType: {
46
+ export type Quality = ClosedEnum<typeof Quality>;
47
+ export declare const CreatePromptResponseFormatType: {
48
48
  readonly JsonObject: "json_object";
49
49
  };
50
- export type CreatePromptResponseFormatPromptsType = ClosedEnum<typeof CreatePromptResponseFormatPromptsType>;
51
- export type CreatePromptResponseFormat2 = {
52
- type: CreatePromptResponseFormatPromptsType;
50
+ export type CreatePromptResponseFormatType = ClosedEnum<typeof CreatePromptResponseFormatType>;
51
+ export type ResponseFormat2 = {
52
+ type: CreatePromptResponseFormatType;
53
53
  };
54
- export declare const CreatePromptResponseFormatType: {
54
+ export declare const ResponseFormatType: {
55
55
  readonly JsonSchema: "json_schema";
56
56
  };
57
- export type CreatePromptResponseFormatType = ClosedEnum<typeof CreatePromptResponseFormatType>;
58
- export type CreatePromptResponseFormatJsonSchema = {
57
+ export type ResponseFormatType = ClosedEnum<typeof ResponseFormatType>;
58
+ export type JsonSchema = {
59
59
  name: string;
60
60
  strict: boolean;
61
61
  schema: {
62
62
  [k: string]: any;
63
63
  };
64
64
  };
65
- export type CreatePromptResponseFormat1 = {
66
- type: CreatePromptResponseFormatType;
67
- jsonSchema: CreatePromptResponseFormatJsonSchema;
65
+ export type ResponseFormat1 = {
66
+ type: ResponseFormatType;
67
+ jsonSchema: JsonSchema;
68
68
  };
69
69
  /**
70
70
  * An object specifying the format that the model must output.
@@ -77,45 +77,33 @@ export type CreatePromptResponseFormat1 = {
77
77
  *
78
78
  * 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.
79
79
  */
80
- export type CreatePromptResponseFormat = CreatePromptResponseFormat2 | CreatePromptResponseFormat1;
80
+ export type ResponseFormat = ResponseFormat2 | ResponseFormat1;
81
81
  /**
82
82
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
83
83
  */
84
- export declare const CreatePromptPhotoRealVersion: {
84
+ export declare const PhotoRealVersion: {
85
85
  readonly V1: "v1";
86
86
  readonly V2: "v2";
87
87
  };
88
88
  /**
89
89
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
90
90
  */
91
- export type CreatePromptPhotoRealVersion = ClosedEnum<typeof CreatePromptPhotoRealVersion>;
91
+ export type PhotoRealVersion = ClosedEnum<typeof PhotoRealVersion>;
92
92
  /**
93
93
  * The format to return the embeddings
94
94
  */
95
- export declare const CreatePromptEncodingFormat: {
95
+ export declare const EncodingFormat: {
96
96
  readonly Float: "float";
97
97
  readonly Base64: "base64";
98
98
  };
99
99
  /**
100
100
  * The format to return the embeddings
101
101
  */
102
- export type CreatePromptEncodingFormat = ClosedEnum<typeof CreatePromptEncodingFormat>;
103
- /**
104
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
105
- */
106
- export declare const CreatePromptReasoningEffort: {
107
- readonly Low: "low";
108
- readonly Medium: "medium";
109
- readonly High: "high";
110
- };
111
- /**
112
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
113
- */
114
- export type CreatePromptReasoningEffort = ClosedEnum<typeof CreatePromptReasoningEffort>;
102
+ export type EncodingFormat = ClosedEnum<typeof EncodingFormat>;
115
103
  /**
116
104
  * Model Parameters: Not all parameters apply to every model
117
105
  */
118
- export type CreatePromptModelParameters = {
106
+ export type ModelParameters = {
119
107
  /**
120
108
  * Only supported on `chat` and `completion` models.
121
109
  */
@@ -151,7 +139,7 @@ export type CreatePromptModelParameters = {
151
139
  /**
152
140
  * Only supported on `image` models.
153
141
  */
154
- format?: CreatePromptFormat | undefined;
142
+ format?: Format | undefined;
155
143
  /**
156
144
  * Only supported on `image` models.
157
145
  */
@@ -159,7 +147,7 @@ export type CreatePromptModelParameters = {
159
147
  /**
160
148
  * Only supported on `image` models.
161
149
  */
162
- quality?: CreatePromptQuality | undefined;
150
+ quality?: Quality | undefined;
163
151
  /**
164
152
  * Only supported on `image` models.
165
153
  */
@@ -175,21 +163,17 @@ export type CreatePromptModelParameters = {
175
163
  *
176
164
  * 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.
177
165
  */
178
- responseFormat?: CreatePromptResponseFormat2 | CreatePromptResponseFormat1 | null | undefined;
166
+ responseFormat?: ResponseFormat2 | ResponseFormat1 | null | undefined;
179
167
  /**
180
168
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
181
169
  */
182
- photoRealVersion?: CreatePromptPhotoRealVersion | undefined;
170
+ photoRealVersion?: PhotoRealVersion | undefined;
183
171
  /**
184
172
  * The format to return the embeddings
185
173
  */
186
- encodingFormat?: CreatePromptEncodingFormat | undefined;
187
- /**
188
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
189
- */
190
- reasoningEffort?: CreatePromptReasoningEffort | undefined;
174
+ encodingFormat?: EncodingFormat | undefined;
191
175
  };
192
- export declare const CreatePromptProvider: {
176
+ export declare const Provider: {
193
177
  readonly Cohere: "cohere";
194
178
  readonly Openai: "openai";
195
179
  readonly Anthropic: "anthropic";
@@ -206,10 +190,8 @@ export declare const CreatePromptProvider: {
206
190
  readonly Leonardoai: "leonardoai";
207
191
  readonly Nvidia: "nvidia";
208
192
  readonly Jina: "jina";
209
- readonly Togetherai: "togetherai";
210
- readonly Elevenlabs: "elevenlabs";
211
193
  };
212
- export type CreatePromptProvider = ClosedEnum<typeof CreatePromptProvider>;
194
+ export type Provider = ClosedEnum<typeof Provider>;
213
195
  /**
214
196
  * The role of the prompt message
215
197
  */
@@ -292,96 +274,43 @@ export type CreatePromptMessages = {
292
274
  content: string | Array<CreatePrompt21 | CreatePrompt22>;
293
275
  toolCalls?: Array<CreatePromptToolCalls> | undefined;
294
276
  };
295
- /**
296
- * A list of messages compatible with the openAI schema
297
- */
298
- export type CreatePromptPromptConfig = {
277
+ export type PromptConfig = {
299
278
  stream?: boolean | undefined;
300
279
  model?: string | undefined;
301
280
  /**
302
281
  * The type of the model
303
282
  */
304
- modelType?: CreatePromptModelType | undefined;
283
+ modelType?: ModelType | undefined;
305
284
  /**
306
285
  * Model Parameters: Not all parameters apply to every model
307
286
  */
308
- modelParameters?: CreatePromptModelParameters | undefined;
309
- provider?: CreatePromptProvider | undefined;
287
+ modelParameters?: ModelParameters | undefined;
288
+ provider?: Provider | undefined;
310
289
  version?: string | undefined;
311
290
  messages: Array<CreatePromptMessages>;
312
291
  };
313
- export declare const CreatePromptUseCases: {
314
- readonly Agents: "Agents";
315
- readonly AgentsSimulations: "Agents simulations";
316
- readonly APIInteraction: "API interaction";
317
- readonly AutonomousAgents: "Autonomous Agents";
318
- readonly Chatbots: "Chatbots";
319
- readonly Classification: "Classification";
320
- readonly CodeUnderstanding: "Code understanding";
321
- readonly CodeWriting: "Code writing";
322
- readonly DocumentsQA: "Documents QA";
323
- readonly Conversation: "Conversation";
324
- readonly Extraction: "Extraction";
325
- readonly MultiModal: "Multi-modal";
326
- readonly SelfChecking: "Self-checking";
327
- readonly Sql: "SQL";
328
- readonly Summarization: "Summarization";
329
- readonly Tagging: "Tagging";
330
- };
331
- export type CreatePromptUseCases = ClosedEnum<typeof CreatePromptUseCases>;
332
- /**
333
- * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
334
- */
335
- export declare const CreatePromptLanguage: {
336
- readonly Chinese: "Chinese";
337
- readonly Dutch: "Dutch";
338
- readonly English: "English";
339
- readonly French: "French";
340
- readonly German: "German";
341
- readonly Russian: "Russian";
342
- readonly Spanish: "Spanish";
343
- };
344
- /**
345
- * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
346
- */
347
- export type CreatePromptLanguage = ClosedEnum<typeof CreatePromptLanguage>;
348
292
  export type CreatePromptMetadata = {
349
- /**
350
- * A list of use cases that the prompt is meant to be used for. Use this field to categorize the prompt for your own purpose
351
- */
352
- useCases?: Array<CreatePromptUseCases> | undefined;
353
- /**
354
- * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
355
- */
356
- language?: CreatePromptLanguage | undefined;
293
+ useCases?: Array<string> | undefined;
294
+ language?: string | undefined;
295
+ };
296
+ export declare const CreatePromptPromptsType: {
297
+ readonly Prompt: "prompt";
298
+ readonly Snippet: "snippet";
299
+ readonly Template: "template";
357
300
  };
301
+ export type CreatePromptPromptsType = ClosedEnum<typeof CreatePromptPromptsType>;
358
302
  export type CreatePromptRequestBody = {
359
- /**
360
- * The prompt’s name, meant to be displayable in the UI.
361
- */
362
303
  displayName: string;
363
- /**
364
- * The prompt’s description, meant to be displayable in the UI. Use this field to optionally store a long form explanation of the prompt for your own purpose
365
- */
366
304
  description?: string | null | undefined;
367
- /**
368
- * A list of messages compatible with the openAI schema
369
- */
370
- promptConfig: CreatePromptPromptConfig;
305
+ promptConfig?: PromptConfig | undefined;
371
306
  metadata?: CreatePromptMetadata | undefined;
372
- /**
373
- * The path where the entity is stored in the project structure. The first element of the path always represents the project name. Any subsequent path element after the project will be created as a folder in the project if it does not exists.
374
- */
375
- path: string;
376
- };
377
- export declare const CreatePromptPromptsType: {
378
- readonly Prompt: "prompt";
307
+ key?: string | undefined;
308
+ type: CreatePromptPromptsType;
379
309
  };
380
- export type CreatePromptPromptsType = ClosedEnum<typeof CreatePromptPromptsType>;
381
310
  /**
382
311
  * The type of the model
383
312
  */
384
- export declare const CreatePromptPromptsModelType: {
313
+ export declare const CreatePromptModelType: {
385
314
  readonly Chat: "chat";
386
315
  readonly Completion: "completion";
387
316
  readonly Embedding: "embedding";
@@ -395,11 +324,11 @@ export declare const CreatePromptPromptsModelType: {
395
324
  /**
396
325
  * The type of the model
397
326
  */
398
- export type CreatePromptPromptsModelType = ClosedEnum<typeof CreatePromptPromptsModelType>;
327
+ export type CreatePromptModelType = ClosedEnum<typeof CreatePromptModelType>;
399
328
  /**
400
329
  * Only supported on `image` models.
401
330
  */
402
- export declare const CreatePromptPromptsFormat: {
331
+ export declare const CreatePromptFormat: {
403
332
  readonly Url: "url";
404
333
  readonly B64Json: "b64_json";
405
334
  readonly Text: "text";
@@ -408,39 +337,39 @@ export declare const CreatePromptPromptsFormat: {
408
337
  /**
409
338
  * Only supported on `image` models.
410
339
  */
411
- export type CreatePromptPromptsFormat = ClosedEnum<typeof CreatePromptPromptsFormat>;
340
+ export type CreatePromptFormat = ClosedEnum<typeof CreatePromptFormat>;
412
341
  /**
413
342
  * Only supported on `image` models.
414
343
  */
415
- export declare const CreatePromptPromptsQuality: {
344
+ export declare const CreatePromptQuality: {
416
345
  readonly Standard: "standard";
417
346
  readonly Hd: "hd";
418
347
  };
419
348
  /**
420
349
  * Only supported on `image` models.
421
350
  */
422
- export type CreatePromptPromptsQuality = ClosedEnum<typeof CreatePromptPromptsQuality>;
423
- export declare const CreatePromptResponseFormatPromptsResponse200Type: {
351
+ export type CreatePromptQuality = ClosedEnum<typeof CreatePromptQuality>;
352
+ export declare const CreatePromptResponseFormatPromptsResponseType: {
424
353
  readonly JsonObject: "json_object";
425
354
  };
426
- export type CreatePromptResponseFormatPromptsResponse200Type = ClosedEnum<typeof CreatePromptResponseFormatPromptsResponse200Type>;
427
- export type CreatePromptResponseFormatPrompts2 = {
428
- type: CreatePromptResponseFormatPromptsResponse200Type;
355
+ export type CreatePromptResponseFormatPromptsResponseType = ClosedEnum<typeof CreatePromptResponseFormatPromptsResponseType>;
356
+ export type CreatePromptResponseFormat2 = {
357
+ type: CreatePromptResponseFormatPromptsResponseType;
429
358
  };
430
- export declare const CreatePromptResponseFormatPromptsResponseType: {
359
+ export declare const CreatePromptResponseFormatPromptsType: {
431
360
  readonly JsonSchema: "json_schema";
432
361
  };
433
- export type CreatePromptResponseFormatPromptsResponseType = ClosedEnum<typeof CreatePromptResponseFormatPromptsResponseType>;
434
- export type CreatePromptResponseFormatPromptsJsonSchema = {
362
+ export type CreatePromptResponseFormatPromptsType = ClosedEnum<typeof CreatePromptResponseFormatPromptsType>;
363
+ export type CreatePromptResponseFormatJsonSchema = {
435
364
  name: string;
436
365
  strict: boolean;
437
366
  schema: {
438
367
  [k: string]: any;
439
368
  };
440
369
  };
441
- export type CreatePromptResponseFormatPrompts1 = {
442
- type: CreatePromptResponseFormatPromptsResponseType;
443
- jsonSchema: CreatePromptResponseFormatPromptsJsonSchema;
370
+ export type CreatePromptResponseFormat1 = {
371
+ type: CreatePromptResponseFormatPromptsType;
372
+ jsonSchema: CreatePromptResponseFormatJsonSchema;
444
373
  };
445
374
  /**
446
375
  * An object specifying the format that the model must output.
@@ -453,45 +382,33 @@ export type CreatePromptResponseFormatPrompts1 = {
453
382
  *
454
383
  * 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.
455
384
  */
456
- export type CreatePromptPromptsResponseFormat = CreatePromptResponseFormatPrompts2 | CreatePromptResponseFormatPrompts1;
385
+ export type CreatePromptResponseFormat = CreatePromptResponseFormat2 | CreatePromptResponseFormat1;
457
386
  /**
458
387
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
459
388
  */
460
- export declare const CreatePromptPromptsPhotoRealVersion: {
389
+ export declare const CreatePromptPhotoRealVersion: {
461
390
  readonly V1: "v1";
462
391
  readonly V2: "v2";
463
392
  };
464
393
  /**
465
394
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
466
395
  */
467
- export type CreatePromptPromptsPhotoRealVersion = ClosedEnum<typeof CreatePromptPromptsPhotoRealVersion>;
396
+ export type CreatePromptPhotoRealVersion = ClosedEnum<typeof CreatePromptPhotoRealVersion>;
468
397
  /**
469
398
  * The format to return the embeddings
470
399
  */
471
- export declare const CreatePromptPromptsEncodingFormat: {
400
+ export declare const CreatePromptEncodingFormat: {
472
401
  readonly Float: "float";
473
402
  readonly Base64: "base64";
474
403
  };
475
404
  /**
476
405
  * The format to return the embeddings
477
406
  */
478
- export type CreatePromptPromptsEncodingFormat = ClosedEnum<typeof CreatePromptPromptsEncodingFormat>;
479
- /**
480
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
481
- */
482
- export declare const CreatePromptPromptsReasoningEffort: {
483
- readonly Low: "low";
484
- readonly Medium: "medium";
485
- readonly High: "high";
486
- };
487
- /**
488
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
489
- */
490
- export type CreatePromptPromptsReasoningEffort = ClosedEnum<typeof CreatePromptPromptsReasoningEffort>;
407
+ export type CreatePromptEncodingFormat = ClosedEnum<typeof CreatePromptEncodingFormat>;
491
408
  /**
492
409
  * Model Parameters: Not all parameters apply to every model
493
410
  */
494
- export type CreatePromptPromptsModelParameters = {
411
+ export type CreatePromptModelParameters = {
495
412
  /**
496
413
  * Only supported on `chat` and `completion` models.
497
414
  */
@@ -527,7 +444,7 @@ export type CreatePromptPromptsModelParameters = {
527
444
  /**
528
445
  * Only supported on `image` models.
529
446
  */
530
- format?: CreatePromptPromptsFormat | undefined;
447
+ format?: CreatePromptFormat | undefined;
531
448
  /**
532
449
  * Only supported on `image` models.
533
450
  */
@@ -535,7 +452,7 @@ export type CreatePromptPromptsModelParameters = {
535
452
  /**
536
453
  * Only supported on `image` models.
537
454
  */
538
- quality?: CreatePromptPromptsQuality | undefined;
455
+ quality?: CreatePromptQuality | undefined;
539
456
  /**
540
457
  * Only supported on `image` models.
541
458
  */
@@ -551,21 +468,17 @@ export type CreatePromptPromptsModelParameters = {
551
468
  *
552
469
  * 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.
553
470
  */
554
- responseFormat?: CreatePromptResponseFormatPrompts2 | CreatePromptResponseFormatPrompts1 | null | undefined;
471
+ responseFormat?: CreatePromptResponseFormat2 | CreatePromptResponseFormat1 | null | undefined;
555
472
  /**
556
473
  * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
557
474
  */
558
- photoRealVersion?: CreatePromptPromptsPhotoRealVersion | undefined;
475
+ photoRealVersion?: CreatePromptPhotoRealVersion | undefined;
559
476
  /**
560
477
  * The format to return the embeddings
561
478
  */
562
- encodingFormat?: CreatePromptPromptsEncodingFormat | undefined;
563
- /**
564
- * Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
565
- */
566
- reasoningEffort?: CreatePromptPromptsReasoningEffort | undefined;
479
+ encodingFormat?: CreatePromptEncodingFormat | undefined;
567
480
  };
568
- export declare const CreatePromptPromptsProvider: {
481
+ export declare const CreatePromptProvider: {
569
482
  readonly Cohere: "cohere";
570
483
  readonly Openai: "openai";
571
484
  readonly Anthropic: "anthropic";
@@ -582,10 +495,8 @@ export declare const CreatePromptPromptsProvider: {
582
495
  readonly Leonardoai: "leonardoai";
583
496
  readonly Nvidia: "nvidia";
584
497
  readonly Jina: "jina";
585
- readonly Togetherai: "togetherai";
586
- readonly Elevenlabs: "elevenlabs";
587
498
  };
588
- export type CreatePromptPromptsProvider = ClosedEnum<typeof CreatePromptPromptsProvider>;
499
+ export type CreatePromptProvider = ClosedEnum<typeof CreatePromptProvider>;
589
500
  /**
590
501
  * The role of the prompt message
591
502
  */
@@ -644,10 +555,10 @@ export type CreatePromptContentPrompts2 = CreatePrompt2Prompts1 | CreatePrompt2P
644
555
  * The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts.
645
556
  */
646
557
  export type CreatePromptPromptsContent = string | Array<CreatePrompt2Prompts1 | CreatePrompt2Prompts2>;
647
- export declare const CreatePromptPromptsResponseType: {
558
+ export declare const CreatePromptPromptsResponse200Type: {
648
559
  readonly Function: "function";
649
560
  };
650
- export type CreatePromptPromptsResponseType = ClosedEnum<typeof CreatePromptPromptsResponseType>;
561
+ export type CreatePromptPromptsResponse200Type = ClosedEnum<typeof CreatePromptPromptsResponse200Type>;
651
562
  export type CreatePromptPromptsFunction = {
652
563
  name: string;
653
564
  /**
@@ -658,7 +569,7 @@ export type CreatePromptPromptsFunction = {
658
569
  export type CreatePromptPromptsToolCalls = {
659
570
  id?: string | undefined;
660
571
  index?: number | undefined;
661
- type: CreatePromptPromptsResponseType;
572
+ type: CreatePromptPromptsResponse200Type;
662
573
  function: CreatePromptPromptsFunction;
663
574
  };
664
575
  export type CreatePromptPromptsMessages = {
@@ -672,10 +583,7 @@ export type CreatePromptPromptsMessages = {
672
583
  content: string | Array<CreatePrompt2Prompts1 | CreatePrompt2Prompts2>;
673
584
  toolCalls?: Array<CreatePromptPromptsToolCalls> | undefined;
674
585
  };
675
- /**
676
- * A list of messages compatible with the openAI schema
677
- */
678
- export type CreatePromptPromptsPromptConfig = {
586
+ export type CreatePromptPromptConfig = {
679
587
  stream?: boolean | undefined;
680
588
  model?: string | undefined;
681
589
  /**
@@ -685,12 +593,12 @@ export type CreatePromptPromptsPromptConfig = {
685
593
  /**
686
594
  * The type of the model
687
595
  */
688
- modelType?: CreatePromptPromptsModelType | undefined;
596
+ modelType?: CreatePromptModelType | undefined;
689
597
  /**
690
598
  * Model Parameters: Not all parameters apply to every model
691
599
  */
692
- modelParameters?: CreatePromptPromptsModelParameters | undefined;
693
- provider?: CreatePromptPromptsProvider | undefined;
600
+ modelParameters?: CreatePromptModelParameters | undefined;
601
+ provider?: CreatePromptProvider | undefined;
694
602
  /**
695
603
  * The id of the resource
696
604
  */
@@ -698,87 +606,45 @@ export type CreatePromptPromptsPromptConfig = {
698
606
  version?: string | undefined;
699
607
  messages: Array<CreatePromptPromptsMessages>;
700
608
  };
701
- export declare const CreatePromptPromptsUseCases: {
702
- readonly Agents: "Agents";
703
- readonly AgentsSimulations: "Agents simulations";
704
- readonly APIInteraction: "API interaction";
705
- readonly AutonomousAgents: "Autonomous Agents";
706
- readonly Chatbots: "Chatbots";
707
- readonly Classification: "Classification";
708
- readonly CodeUnderstanding: "Code understanding";
709
- readonly CodeWriting: "Code writing";
710
- readonly DocumentsQA: "Documents QA";
711
- readonly Conversation: "Conversation";
712
- readonly Extraction: "Extraction";
713
- readonly MultiModal: "Multi-modal";
714
- readonly SelfChecking: "Self-checking";
715
- readonly Sql: "SQL";
716
- readonly Summarization: "Summarization";
717
- readonly Tagging: "Tagging";
718
- };
719
- export type CreatePromptPromptsUseCases = ClosedEnum<typeof CreatePromptPromptsUseCases>;
720
- /**
721
- * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
722
- */
723
- export declare const CreatePromptPromptsLanguage: {
724
- readonly Chinese: "Chinese";
725
- readonly Dutch: "Dutch";
726
- readonly English: "English";
727
- readonly French: "French";
728
- readonly German: "German";
729
- readonly Russian: "Russian";
730
- readonly Spanish: "Spanish";
731
- };
732
- /**
733
- * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
734
- */
735
- export type CreatePromptPromptsLanguage = ClosedEnum<typeof CreatePromptPromptsLanguage>;
736
609
  export type CreatePromptPromptsMetadata = {
737
- /**
738
- * A list of use cases that the prompt is meant to be used for. Use this field to categorize the prompt for your own purpose
739
- */
740
- useCases?: Array<CreatePromptPromptsUseCases> | undefined;
741
- /**
742
- * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
743
- */
744
- language?: CreatePromptPromptsLanguage | undefined;
610
+ useCases?: Array<string> | undefined;
611
+ language?: string | undefined;
612
+ };
613
+ export declare const CreatePromptPromptsResponseType: {
614
+ readonly Prompt: "prompt";
615
+ readonly Snippet: "snippet";
616
+ readonly Template: "template";
745
617
  };
618
+ export type CreatePromptPromptsResponseType = ClosedEnum<typeof CreatePromptPromptsResponseType>;
746
619
  /**
747
620
  * Prompt created.
748
621
  */
749
622
  export type CreatePromptResponseBody = {
750
- id: string;
751
- type: CreatePromptPromptsType;
752
- owner: string;
753
- domainId: string;
754
- created: string;
755
- updated: string;
756
- createdById?: string | undefined;
757
- updatedById?: string | undefined;
758
623
  /**
759
- * The prompt’s name, meant to be displayable in the UI.
624
+ * The id of the resource
760
625
  */
626
+ id: string;
761
627
  displayName: string;
762
628
  /**
763
- * The prompt’s description, meant to be displayable in the UI. Use this field to optionally store a long form explanation of the prompt for your own purpose
629
+ * The id of the resource
764
630
  */
631
+ domainId: string;
765
632
  description?: string | null | undefined;
766
- /**
767
- * A list of messages compatible with the openAI schema
768
- */
769
- promptConfig: CreatePromptPromptsPromptConfig;
633
+ promptConfig?: CreatePromptPromptConfig | undefined;
770
634
  metadata?: CreatePromptPromptsMetadata | undefined;
635
+ key?: string | undefined;
636
+ type: CreatePromptPromptsResponseType;
771
637
  };
772
638
  /** @internal */
773
- export declare const CreatePromptModelType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptModelType>;
639
+ export declare const ModelType$inboundSchema: z.ZodNativeEnum<typeof ModelType>;
774
640
  /** @internal */
775
- export declare const CreatePromptModelType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptModelType>;
641
+ export declare const ModelType$outboundSchema: z.ZodNativeEnum<typeof ModelType>;
776
642
  /**
777
643
  * @internal
778
644
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
779
645
  */
780
- export declare namespace CreatePromptModelType$ {
781
- /** @deprecated use `CreatePromptModelType$inboundSchema` instead. */
646
+ export declare namespace ModelType$ {
647
+ /** @deprecated use `ModelType$inboundSchema` instead. */
782
648
  const inboundSchema: z.ZodNativeEnum<{
783
649
  readonly Chat: "chat";
784
650
  readonly Completion: "completion";
@@ -790,7 +656,7 @@ export declare namespace CreatePromptModelType$ {
790
656
  readonly Rerank: "rerank";
791
657
  readonly Moderations: "moderations";
792
658
  }>;
793
- /** @deprecated use `CreatePromptModelType$outboundSchema` instead. */
659
+ /** @deprecated use `ModelType$outboundSchema` instead. */
794
660
  const outboundSchema: z.ZodNativeEnum<{
795
661
  readonly Chat: "chat";
796
662
  readonly Completion: "completion";
@@ -804,22 +670,22 @@ export declare namespace CreatePromptModelType$ {
804
670
  }>;
805
671
  }
806
672
  /** @internal */
807
- export declare const CreatePromptFormat$inboundSchema: z.ZodNativeEnum<typeof CreatePromptFormat>;
673
+ export declare const Format$inboundSchema: z.ZodNativeEnum<typeof Format>;
808
674
  /** @internal */
809
- export declare const CreatePromptFormat$outboundSchema: z.ZodNativeEnum<typeof CreatePromptFormat>;
675
+ export declare const Format$outboundSchema: z.ZodNativeEnum<typeof Format>;
810
676
  /**
811
677
  * @internal
812
678
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
813
679
  */
814
- export declare namespace CreatePromptFormat$ {
815
- /** @deprecated use `CreatePromptFormat$inboundSchema` instead. */
680
+ export declare namespace Format$ {
681
+ /** @deprecated use `Format$inboundSchema` instead. */
816
682
  const inboundSchema: z.ZodNativeEnum<{
817
683
  readonly Url: "url";
818
684
  readonly B64Json: "b64_json";
819
685
  readonly Text: "text";
820
686
  readonly JsonObject: "json_object";
821
687
  }>;
822
- /** @deprecated use `CreatePromptFormat$outboundSchema` instead. */
688
+ /** @deprecated use `Format$outboundSchema` instead. */
823
689
  const outboundSchema: z.ZodNativeEnum<{
824
690
  readonly Url: "url";
825
691
  readonly B64Json: "b64_json";
@@ -828,87 +694,87 @@ export declare namespace CreatePromptFormat$ {
828
694
  }>;
829
695
  }
830
696
  /** @internal */
831
- export declare const CreatePromptQuality$inboundSchema: z.ZodNativeEnum<typeof CreatePromptQuality>;
697
+ export declare const Quality$inboundSchema: z.ZodNativeEnum<typeof Quality>;
832
698
  /** @internal */
833
- export declare const CreatePromptQuality$outboundSchema: z.ZodNativeEnum<typeof CreatePromptQuality>;
699
+ export declare const Quality$outboundSchema: z.ZodNativeEnum<typeof Quality>;
834
700
  /**
835
701
  * @internal
836
702
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
837
703
  */
838
- export declare namespace CreatePromptQuality$ {
839
- /** @deprecated use `CreatePromptQuality$inboundSchema` instead. */
704
+ export declare namespace Quality$ {
705
+ /** @deprecated use `Quality$inboundSchema` instead. */
840
706
  const inboundSchema: z.ZodNativeEnum<{
841
707
  readonly Standard: "standard";
842
708
  readonly Hd: "hd";
843
709
  }>;
844
- /** @deprecated use `CreatePromptQuality$outboundSchema` instead. */
710
+ /** @deprecated use `Quality$outboundSchema` instead. */
845
711
  const outboundSchema: z.ZodNativeEnum<{
846
712
  readonly Standard: "standard";
847
713
  readonly Hd: "hd";
848
714
  }>;
849
715
  }
850
716
  /** @internal */
851
- export declare const CreatePromptResponseFormatPromptsType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsType>;
717
+ export declare const CreatePromptResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatType>;
852
718
  /** @internal */
853
- export declare const CreatePromptResponseFormatPromptsType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsType>;
719
+ export declare const CreatePromptResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatType>;
854
720
  /**
855
721
  * @internal
856
722
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
857
723
  */
858
- export declare namespace CreatePromptResponseFormatPromptsType$ {
859
- /** @deprecated use `CreatePromptResponseFormatPromptsType$inboundSchema` instead. */
724
+ export declare namespace CreatePromptResponseFormatType$ {
725
+ /** @deprecated use `CreatePromptResponseFormatType$inboundSchema` instead. */
860
726
  const inboundSchema: z.ZodNativeEnum<{
861
727
  readonly JsonObject: "json_object";
862
728
  }>;
863
- /** @deprecated use `CreatePromptResponseFormatPromptsType$outboundSchema` instead. */
729
+ /** @deprecated use `CreatePromptResponseFormatType$outboundSchema` instead. */
864
730
  const outboundSchema: z.ZodNativeEnum<{
865
731
  readonly JsonObject: "json_object";
866
732
  }>;
867
733
  }
868
734
  /** @internal */
869
- export declare const CreatePromptResponseFormat2$inboundSchema: z.ZodType<CreatePromptResponseFormat2, z.ZodTypeDef, unknown>;
735
+ export declare const ResponseFormat2$inboundSchema: z.ZodType<ResponseFormat2, z.ZodTypeDef, unknown>;
870
736
  /** @internal */
871
- export type CreatePromptResponseFormat2$Outbound = {
737
+ export type ResponseFormat2$Outbound = {
872
738
  type: string;
873
739
  };
874
740
  /** @internal */
875
- export declare const CreatePromptResponseFormat2$outboundSchema: z.ZodType<CreatePromptResponseFormat2$Outbound, z.ZodTypeDef, CreatePromptResponseFormat2>;
741
+ export declare const ResponseFormat2$outboundSchema: z.ZodType<ResponseFormat2$Outbound, z.ZodTypeDef, ResponseFormat2>;
876
742
  /**
877
743
  * @internal
878
744
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
879
745
  */
880
- export declare namespace CreatePromptResponseFormat2$ {
881
- /** @deprecated use `CreatePromptResponseFormat2$inboundSchema` instead. */
882
- const inboundSchema: z.ZodType<CreatePromptResponseFormat2, z.ZodTypeDef, unknown>;
883
- /** @deprecated use `CreatePromptResponseFormat2$outboundSchema` instead. */
884
- const outboundSchema: z.ZodType<CreatePromptResponseFormat2$Outbound, z.ZodTypeDef, CreatePromptResponseFormat2>;
885
- /** @deprecated use `CreatePromptResponseFormat2$Outbound` instead. */
886
- type Outbound = CreatePromptResponseFormat2$Outbound;
746
+ export declare namespace ResponseFormat2$ {
747
+ /** @deprecated use `ResponseFormat2$inboundSchema` instead. */
748
+ const inboundSchema: z.ZodType<ResponseFormat2, z.ZodTypeDef, unknown>;
749
+ /** @deprecated use `ResponseFormat2$outboundSchema` instead. */
750
+ const outboundSchema: z.ZodType<ResponseFormat2$Outbound, z.ZodTypeDef, ResponseFormat2>;
751
+ /** @deprecated use `ResponseFormat2$Outbound` instead. */
752
+ type Outbound = ResponseFormat2$Outbound;
887
753
  }
888
- export declare function createPromptResponseFormat2ToJSON(createPromptResponseFormat2: CreatePromptResponseFormat2): string;
889
- export declare function createPromptResponseFormat2FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormat2, SDKValidationError>;
754
+ export declare function responseFormat2ToJSON(responseFormat2: ResponseFormat2): string;
755
+ export declare function responseFormat2FromJSON(jsonString: string): SafeParseResult<ResponseFormat2, SDKValidationError>;
890
756
  /** @internal */
891
- export declare const CreatePromptResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatType>;
757
+ export declare const ResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof ResponseFormatType>;
892
758
  /** @internal */
893
- export declare const CreatePromptResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatType>;
759
+ export declare const ResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof ResponseFormatType>;
894
760
  /**
895
761
  * @internal
896
762
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
897
763
  */
898
- export declare namespace CreatePromptResponseFormatType$ {
899
- /** @deprecated use `CreatePromptResponseFormatType$inboundSchema` instead. */
764
+ export declare namespace ResponseFormatType$ {
765
+ /** @deprecated use `ResponseFormatType$inboundSchema` instead. */
900
766
  const inboundSchema: z.ZodNativeEnum<{
901
767
  readonly JsonSchema: "json_schema";
902
768
  }>;
903
- /** @deprecated use `CreatePromptResponseFormatType$outboundSchema` instead. */
769
+ /** @deprecated use `ResponseFormatType$outboundSchema` instead. */
904
770
  const outboundSchema: z.ZodNativeEnum<{
905
771
  readonly JsonSchema: "json_schema";
906
772
  }>;
907
773
  }
908
774
  /** @internal */
909
- export declare const CreatePromptResponseFormatJsonSchema$inboundSchema: z.ZodType<CreatePromptResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
775
+ export declare const JsonSchema$inboundSchema: z.ZodType<JsonSchema, z.ZodTypeDef, unknown>;
910
776
  /** @internal */
911
- export type CreatePromptResponseFormatJsonSchema$Outbound = {
777
+ export type JsonSchema$Outbound = {
912
778
  name: string;
913
779
  strict: boolean;
914
780
  schema: {
@@ -916,130 +782,108 @@ export type CreatePromptResponseFormatJsonSchema$Outbound = {
916
782
  };
917
783
  };
918
784
  /** @internal */
919
- export declare const CreatePromptResponseFormatJsonSchema$outboundSchema: z.ZodType<CreatePromptResponseFormatJsonSchema$Outbound, z.ZodTypeDef, CreatePromptResponseFormatJsonSchema>;
785
+ export declare const JsonSchema$outboundSchema: z.ZodType<JsonSchema$Outbound, z.ZodTypeDef, JsonSchema>;
920
786
  /**
921
787
  * @internal
922
788
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
923
789
  */
924
- export declare namespace CreatePromptResponseFormatJsonSchema$ {
925
- /** @deprecated use `CreatePromptResponseFormatJsonSchema$inboundSchema` instead. */
926
- const inboundSchema: z.ZodType<CreatePromptResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
927
- /** @deprecated use `CreatePromptResponseFormatJsonSchema$outboundSchema` instead. */
928
- const outboundSchema: z.ZodType<CreatePromptResponseFormatJsonSchema$Outbound, z.ZodTypeDef, CreatePromptResponseFormatJsonSchema>;
929
- /** @deprecated use `CreatePromptResponseFormatJsonSchema$Outbound` instead. */
930
- type Outbound = CreatePromptResponseFormatJsonSchema$Outbound;
790
+ export declare namespace JsonSchema$ {
791
+ /** @deprecated use `JsonSchema$inboundSchema` instead. */
792
+ const inboundSchema: z.ZodType<JsonSchema, z.ZodTypeDef, unknown>;
793
+ /** @deprecated use `JsonSchema$outboundSchema` instead. */
794
+ const outboundSchema: z.ZodType<JsonSchema$Outbound, z.ZodTypeDef, JsonSchema>;
795
+ /** @deprecated use `JsonSchema$Outbound` instead. */
796
+ type Outbound = JsonSchema$Outbound;
931
797
  }
932
- export declare function createPromptResponseFormatJsonSchemaToJSON(createPromptResponseFormatJsonSchema: CreatePromptResponseFormatJsonSchema): string;
933
- export declare function createPromptResponseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormatJsonSchema, SDKValidationError>;
798
+ export declare function jsonSchemaToJSON(jsonSchema: JsonSchema): string;
799
+ export declare function jsonSchemaFromJSON(jsonString: string): SafeParseResult<JsonSchema, SDKValidationError>;
934
800
  /** @internal */
935
- export declare const CreatePromptResponseFormat1$inboundSchema: z.ZodType<CreatePromptResponseFormat1, z.ZodTypeDef, unknown>;
801
+ export declare const ResponseFormat1$inboundSchema: z.ZodType<ResponseFormat1, z.ZodTypeDef, unknown>;
936
802
  /** @internal */
937
- export type CreatePromptResponseFormat1$Outbound = {
803
+ export type ResponseFormat1$Outbound = {
938
804
  type: string;
939
- json_schema: CreatePromptResponseFormatJsonSchema$Outbound;
805
+ json_schema: JsonSchema$Outbound;
940
806
  };
941
807
  /** @internal */
942
- export declare const CreatePromptResponseFormat1$outboundSchema: z.ZodType<CreatePromptResponseFormat1$Outbound, z.ZodTypeDef, CreatePromptResponseFormat1>;
808
+ export declare const ResponseFormat1$outboundSchema: z.ZodType<ResponseFormat1$Outbound, z.ZodTypeDef, ResponseFormat1>;
943
809
  /**
944
810
  * @internal
945
811
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
946
812
  */
947
- export declare namespace CreatePromptResponseFormat1$ {
948
- /** @deprecated use `CreatePromptResponseFormat1$inboundSchema` instead. */
949
- const inboundSchema: z.ZodType<CreatePromptResponseFormat1, z.ZodTypeDef, unknown>;
950
- /** @deprecated use `CreatePromptResponseFormat1$outboundSchema` instead. */
951
- const outboundSchema: z.ZodType<CreatePromptResponseFormat1$Outbound, z.ZodTypeDef, CreatePromptResponseFormat1>;
952
- /** @deprecated use `CreatePromptResponseFormat1$Outbound` instead. */
953
- type Outbound = CreatePromptResponseFormat1$Outbound;
813
+ export declare namespace ResponseFormat1$ {
814
+ /** @deprecated use `ResponseFormat1$inboundSchema` instead. */
815
+ const inboundSchema: z.ZodType<ResponseFormat1, z.ZodTypeDef, unknown>;
816
+ /** @deprecated use `ResponseFormat1$outboundSchema` instead. */
817
+ const outboundSchema: z.ZodType<ResponseFormat1$Outbound, z.ZodTypeDef, ResponseFormat1>;
818
+ /** @deprecated use `ResponseFormat1$Outbound` instead. */
819
+ type Outbound = ResponseFormat1$Outbound;
954
820
  }
955
- export declare function createPromptResponseFormat1ToJSON(createPromptResponseFormat1: CreatePromptResponseFormat1): string;
956
- export declare function createPromptResponseFormat1FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormat1, SDKValidationError>;
821
+ export declare function responseFormat1ToJSON(responseFormat1: ResponseFormat1): string;
822
+ export declare function responseFormat1FromJSON(jsonString: string): SafeParseResult<ResponseFormat1, SDKValidationError>;
957
823
  /** @internal */
958
- export declare const CreatePromptResponseFormat$inboundSchema: z.ZodType<CreatePromptResponseFormat, z.ZodTypeDef, unknown>;
824
+ export declare const ResponseFormat$inboundSchema: z.ZodType<ResponseFormat, z.ZodTypeDef, unknown>;
959
825
  /** @internal */
960
- export type CreatePromptResponseFormat$Outbound = CreatePromptResponseFormat2$Outbound | CreatePromptResponseFormat1$Outbound;
826
+ export type ResponseFormat$Outbound = ResponseFormat2$Outbound | ResponseFormat1$Outbound;
961
827
  /** @internal */
962
- export declare const CreatePromptResponseFormat$outboundSchema: z.ZodType<CreatePromptResponseFormat$Outbound, z.ZodTypeDef, CreatePromptResponseFormat>;
828
+ export declare const ResponseFormat$outboundSchema: z.ZodType<ResponseFormat$Outbound, z.ZodTypeDef, ResponseFormat>;
963
829
  /**
964
830
  * @internal
965
831
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
966
832
  */
967
- export declare namespace CreatePromptResponseFormat$ {
968
- /** @deprecated use `CreatePromptResponseFormat$inboundSchema` instead. */
969
- const inboundSchema: z.ZodType<CreatePromptResponseFormat, z.ZodTypeDef, unknown>;
970
- /** @deprecated use `CreatePromptResponseFormat$outboundSchema` instead. */
971
- const outboundSchema: z.ZodType<CreatePromptResponseFormat$Outbound, z.ZodTypeDef, CreatePromptResponseFormat>;
972
- /** @deprecated use `CreatePromptResponseFormat$Outbound` instead. */
973
- type Outbound = CreatePromptResponseFormat$Outbound;
833
+ export declare namespace ResponseFormat$ {
834
+ /** @deprecated use `ResponseFormat$inboundSchema` instead. */
835
+ const inboundSchema: z.ZodType<ResponseFormat, z.ZodTypeDef, unknown>;
836
+ /** @deprecated use `ResponseFormat$outboundSchema` instead. */
837
+ const outboundSchema: z.ZodType<ResponseFormat$Outbound, z.ZodTypeDef, ResponseFormat>;
838
+ /** @deprecated use `ResponseFormat$Outbound` instead. */
839
+ type Outbound = ResponseFormat$Outbound;
974
840
  }
975
- export declare function createPromptResponseFormatToJSON(createPromptResponseFormat: CreatePromptResponseFormat): string;
976
- export declare function createPromptResponseFormatFromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormat, SDKValidationError>;
841
+ export declare function responseFormatToJSON(responseFormat: ResponseFormat): string;
842
+ export declare function responseFormatFromJSON(jsonString: string): SafeParseResult<ResponseFormat, SDKValidationError>;
977
843
  /** @internal */
978
- export declare const CreatePromptPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPhotoRealVersion>;
844
+ export declare const PhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof PhotoRealVersion>;
979
845
  /** @internal */
980
- export declare const CreatePromptPhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPhotoRealVersion>;
846
+ export declare const PhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof PhotoRealVersion>;
981
847
  /**
982
848
  * @internal
983
849
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
984
850
  */
985
- export declare namespace CreatePromptPhotoRealVersion$ {
986
- /** @deprecated use `CreatePromptPhotoRealVersion$inboundSchema` instead. */
851
+ export declare namespace PhotoRealVersion$ {
852
+ /** @deprecated use `PhotoRealVersion$inboundSchema` instead. */
987
853
  const inboundSchema: z.ZodNativeEnum<{
988
854
  readonly V1: "v1";
989
855
  readonly V2: "v2";
990
856
  }>;
991
- /** @deprecated use `CreatePromptPhotoRealVersion$outboundSchema` instead. */
857
+ /** @deprecated use `PhotoRealVersion$outboundSchema` instead. */
992
858
  const outboundSchema: z.ZodNativeEnum<{
993
859
  readonly V1: "v1";
994
860
  readonly V2: "v2";
995
861
  }>;
996
862
  }
997
863
  /** @internal */
998
- export declare const CreatePromptEncodingFormat$inboundSchema: z.ZodNativeEnum<typeof CreatePromptEncodingFormat>;
864
+ export declare const EncodingFormat$inboundSchema: z.ZodNativeEnum<typeof EncodingFormat>;
999
865
  /** @internal */
1000
- export declare const CreatePromptEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof CreatePromptEncodingFormat>;
866
+ export declare const EncodingFormat$outboundSchema: z.ZodNativeEnum<typeof EncodingFormat>;
1001
867
  /**
1002
868
  * @internal
1003
869
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1004
870
  */
1005
- export declare namespace CreatePromptEncodingFormat$ {
1006
- /** @deprecated use `CreatePromptEncodingFormat$inboundSchema` instead. */
871
+ export declare namespace EncodingFormat$ {
872
+ /** @deprecated use `EncodingFormat$inboundSchema` instead. */
1007
873
  const inboundSchema: z.ZodNativeEnum<{
1008
874
  readonly Float: "float";
1009
875
  readonly Base64: "base64";
1010
876
  }>;
1011
- /** @deprecated use `CreatePromptEncodingFormat$outboundSchema` instead. */
877
+ /** @deprecated use `EncodingFormat$outboundSchema` instead. */
1012
878
  const outboundSchema: z.ZodNativeEnum<{
1013
879
  readonly Float: "float";
1014
880
  readonly Base64: "base64";
1015
881
  }>;
1016
882
  }
1017
883
  /** @internal */
1018
- export declare const CreatePromptReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof CreatePromptReasoningEffort>;
1019
- /** @internal */
1020
- export declare const CreatePromptReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof CreatePromptReasoningEffort>;
1021
- /**
1022
- * @internal
1023
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1024
- */
1025
- export declare namespace CreatePromptReasoningEffort$ {
1026
- /** @deprecated use `CreatePromptReasoningEffort$inboundSchema` instead. */
1027
- const inboundSchema: z.ZodNativeEnum<{
1028
- readonly Low: "low";
1029
- readonly Medium: "medium";
1030
- readonly High: "high";
1031
- }>;
1032
- /** @deprecated use `CreatePromptReasoningEffort$outboundSchema` instead. */
1033
- const outboundSchema: z.ZodNativeEnum<{
1034
- readonly Low: "low";
1035
- readonly Medium: "medium";
1036
- readonly High: "high";
1037
- }>;
1038
- }
1039
- /** @internal */
1040
- export declare const CreatePromptModelParameters$inboundSchema: z.ZodType<CreatePromptModelParameters, z.ZodTypeDef, unknown>;
884
+ export declare const ModelParameters$inboundSchema: z.ZodType<ModelParameters, z.ZodTypeDef, unknown>;
1041
885
  /** @internal */
1042
- export type CreatePromptModelParameters$Outbound = {
886
+ export type ModelParameters$Outbound = {
1043
887
  temperature?: number | undefined;
1044
888
  maxTokens?: number | undefined;
1045
889
  topK?: number | undefined;
@@ -1052,37 +896,36 @@ export type CreatePromptModelParameters$Outbound = {
1052
896
  dimensions?: string | undefined;
1053
897
  quality?: string | undefined;
1054
898
  style?: string | undefined;
1055
- responseFormat?: CreatePromptResponseFormat2$Outbound | CreatePromptResponseFormat1$Outbound | null | undefined;
899
+ responseFormat?: ResponseFormat2$Outbound | ResponseFormat1$Outbound | null | undefined;
1056
900
  photoRealVersion?: string | undefined;
1057
901
  encoding_format?: string | undefined;
1058
- reasoningEffort?: string | undefined;
1059
902
  };
1060
903
  /** @internal */
1061
- export declare const CreatePromptModelParameters$outboundSchema: z.ZodType<CreatePromptModelParameters$Outbound, z.ZodTypeDef, CreatePromptModelParameters>;
904
+ export declare const ModelParameters$outboundSchema: z.ZodType<ModelParameters$Outbound, z.ZodTypeDef, ModelParameters>;
1062
905
  /**
1063
906
  * @internal
1064
907
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1065
908
  */
1066
- export declare namespace CreatePromptModelParameters$ {
1067
- /** @deprecated use `CreatePromptModelParameters$inboundSchema` instead. */
1068
- const inboundSchema: z.ZodType<CreatePromptModelParameters, z.ZodTypeDef, unknown>;
1069
- /** @deprecated use `CreatePromptModelParameters$outboundSchema` instead. */
1070
- const outboundSchema: z.ZodType<CreatePromptModelParameters$Outbound, z.ZodTypeDef, CreatePromptModelParameters>;
1071
- /** @deprecated use `CreatePromptModelParameters$Outbound` instead. */
1072
- type Outbound = CreatePromptModelParameters$Outbound;
909
+ export declare namespace ModelParameters$ {
910
+ /** @deprecated use `ModelParameters$inboundSchema` instead. */
911
+ const inboundSchema: z.ZodType<ModelParameters, z.ZodTypeDef, unknown>;
912
+ /** @deprecated use `ModelParameters$outboundSchema` instead. */
913
+ const outboundSchema: z.ZodType<ModelParameters$Outbound, z.ZodTypeDef, ModelParameters>;
914
+ /** @deprecated use `ModelParameters$Outbound` instead. */
915
+ type Outbound = ModelParameters$Outbound;
1073
916
  }
1074
- export declare function createPromptModelParametersToJSON(createPromptModelParameters: CreatePromptModelParameters): string;
1075
- export declare function createPromptModelParametersFromJSON(jsonString: string): SafeParseResult<CreatePromptModelParameters, SDKValidationError>;
917
+ export declare function modelParametersToJSON(modelParameters: ModelParameters): string;
918
+ export declare function modelParametersFromJSON(jsonString: string): SafeParseResult<ModelParameters, SDKValidationError>;
1076
919
  /** @internal */
1077
- export declare const CreatePromptProvider$inboundSchema: z.ZodNativeEnum<typeof CreatePromptProvider>;
920
+ export declare const Provider$inboundSchema: z.ZodNativeEnum<typeof Provider>;
1078
921
  /** @internal */
1079
- export declare const CreatePromptProvider$outboundSchema: z.ZodNativeEnum<typeof CreatePromptProvider>;
922
+ export declare const Provider$outboundSchema: z.ZodNativeEnum<typeof Provider>;
1080
923
  /**
1081
924
  * @internal
1082
925
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1083
926
  */
1084
- export declare namespace CreatePromptProvider$ {
1085
- /** @deprecated use `CreatePromptProvider$inboundSchema` instead. */
927
+ export declare namespace Provider$ {
928
+ /** @deprecated use `Provider$inboundSchema` instead. */
1086
929
  const inboundSchema: z.ZodNativeEnum<{
1087
930
  readonly Cohere: "cohere";
1088
931
  readonly Openai: "openai";
@@ -1100,10 +943,8 @@ export declare namespace CreatePromptProvider$ {
1100
943
  readonly Leonardoai: "leonardoai";
1101
944
  readonly Nvidia: "nvidia";
1102
945
  readonly Jina: "jina";
1103
- readonly Togetherai: "togetherai";
1104
- readonly Elevenlabs: "elevenlabs";
1105
946
  }>;
1106
- /** @deprecated use `CreatePromptProvider$outboundSchema` instead. */
947
+ /** @deprecated use `Provider$outboundSchema` instead. */
1107
948
  const outboundSchema: z.ZodNativeEnum<{
1108
949
  readonly Cohere: "cohere";
1109
950
  readonly Openai: "openai";
@@ -1121,8 +962,6 @@ export declare namespace CreatePromptProvider$ {
1121
962
  readonly Leonardoai: "leonardoai";
1122
963
  readonly Nvidia: "nvidia";
1123
964
  readonly Jina: "jina";
1124
- readonly Togetherai: "togetherai";
1125
- readonly Elevenlabs: "elevenlabs";
1126
965
  }>;
1127
966
  }
1128
967
  /** @internal */
@@ -1393,111 +1232,33 @@ export declare namespace CreatePromptMessages$ {
1393
1232
  export declare function createPromptMessagesToJSON(createPromptMessages: CreatePromptMessages): string;
1394
1233
  export declare function createPromptMessagesFromJSON(jsonString: string): SafeParseResult<CreatePromptMessages, SDKValidationError>;
1395
1234
  /** @internal */
1396
- export declare const CreatePromptPromptConfig$inboundSchema: z.ZodType<CreatePromptPromptConfig, z.ZodTypeDef, unknown>;
1235
+ export declare const PromptConfig$inboundSchema: z.ZodType<PromptConfig, z.ZodTypeDef, unknown>;
1397
1236
  /** @internal */
1398
- export type CreatePromptPromptConfig$Outbound = {
1237
+ export type PromptConfig$Outbound = {
1399
1238
  stream?: boolean | undefined;
1400
1239
  model?: string | undefined;
1401
1240
  model_type?: string | undefined;
1402
- model_parameters?: CreatePromptModelParameters$Outbound | undefined;
1241
+ model_parameters?: ModelParameters$Outbound | undefined;
1403
1242
  provider?: string | undefined;
1404
1243
  version?: string | undefined;
1405
1244
  messages: Array<CreatePromptMessages$Outbound>;
1406
1245
  };
1407
1246
  /** @internal */
1408
- export declare const CreatePromptPromptConfig$outboundSchema: z.ZodType<CreatePromptPromptConfig$Outbound, z.ZodTypeDef, CreatePromptPromptConfig>;
1409
- /**
1410
- * @internal
1411
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1412
- */
1413
- export declare namespace CreatePromptPromptConfig$ {
1414
- /** @deprecated use `CreatePromptPromptConfig$inboundSchema` instead. */
1415
- const inboundSchema: z.ZodType<CreatePromptPromptConfig, z.ZodTypeDef, unknown>;
1416
- /** @deprecated use `CreatePromptPromptConfig$outboundSchema` instead. */
1417
- const outboundSchema: z.ZodType<CreatePromptPromptConfig$Outbound, z.ZodTypeDef, CreatePromptPromptConfig>;
1418
- /** @deprecated use `CreatePromptPromptConfig$Outbound` instead. */
1419
- type Outbound = CreatePromptPromptConfig$Outbound;
1420
- }
1421
- export declare function createPromptPromptConfigToJSON(createPromptPromptConfig: CreatePromptPromptConfig): string;
1422
- export declare function createPromptPromptConfigFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptConfig, SDKValidationError>;
1423
- /** @internal */
1424
- export declare const CreatePromptUseCases$inboundSchema: z.ZodNativeEnum<typeof CreatePromptUseCases>;
1425
- /** @internal */
1426
- export declare const CreatePromptUseCases$outboundSchema: z.ZodNativeEnum<typeof CreatePromptUseCases>;
1247
+ export declare const PromptConfig$outboundSchema: z.ZodType<PromptConfig$Outbound, z.ZodTypeDef, PromptConfig>;
1427
1248
  /**
1428
1249
  * @internal
1429
1250
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1430
1251
  */
1431
- export declare namespace CreatePromptUseCases$ {
1432
- /** @deprecated use `CreatePromptUseCases$inboundSchema` instead. */
1433
- const inboundSchema: z.ZodNativeEnum<{
1434
- readonly Agents: "Agents";
1435
- readonly AgentsSimulations: "Agents simulations";
1436
- readonly APIInteraction: "API interaction";
1437
- readonly AutonomousAgents: "Autonomous Agents";
1438
- readonly Chatbots: "Chatbots";
1439
- readonly Classification: "Classification";
1440
- readonly CodeUnderstanding: "Code understanding";
1441
- readonly CodeWriting: "Code writing";
1442
- readonly DocumentsQA: "Documents QA";
1443
- readonly Conversation: "Conversation";
1444
- readonly Extraction: "Extraction";
1445
- readonly MultiModal: "Multi-modal";
1446
- readonly SelfChecking: "Self-checking";
1447
- readonly Sql: "SQL";
1448
- readonly Summarization: "Summarization";
1449
- readonly Tagging: "Tagging";
1450
- }>;
1451
- /** @deprecated use `CreatePromptUseCases$outboundSchema` instead. */
1452
- const outboundSchema: z.ZodNativeEnum<{
1453
- readonly Agents: "Agents";
1454
- readonly AgentsSimulations: "Agents simulations";
1455
- readonly APIInteraction: "API interaction";
1456
- readonly AutonomousAgents: "Autonomous Agents";
1457
- readonly Chatbots: "Chatbots";
1458
- readonly Classification: "Classification";
1459
- readonly CodeUnderstanding: "Code understanding";
1460
- readonly CodeWriting: "Code writing";
1461
- readonly DocumentsQA: "Documents QA";
1462
- readonly Conversation: "Conversation";
1463
- readonly Extraction: "Extraction";
1464
- readonly MultiModal: "Multi-modal";
1465
- readonly SelfChecking: "Self-checking";
1466
- readonly Sql: "SQL";
1467
- readonly Summarization: "Summarization";
1468
- readonly Tagging: "Tagging";
1469
- }>;
1470
- }
1471
- /** @internal */
1472
- export declare const CreatePromptLanguage$inboundSchema: z.ZodNativeEnum<typeof CreatePromptLanguage>;
1473
- /** @internal */
1474
- export declare const CreatePromptLanguage$outboundSchema: z.ZodNativeEnum<typeof CreatePromptLanguage>;
1475
- /**
1476
- * @internal
1477
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1478
- */
1479
- export declare namespace CreatePromptLanguage$ {
1480
- /** @deprecated use `CreatePromptLanguage$inboundSchema` instead. */
1481
- const inboundSchema: z.ZodNativeEnum<{
1482
- readonly Chinese: "Chinese";
1483
- readonly Dutch: "Dutch";
1484
- readonly English: "English";
1485
- readonly French: "French";
1486
- readonly German: "German";
1487
- readonly Russian: "Russian";
1488
- readonly Spanish: "Spanish";
1489
- }>;
1490
- /** @deprecated use `CreatePromptLanguage$outboundSchema` instead. */
1491
- const outboundSchema: z.ZodNativeEnum<{
1492
- readonly Chinese: "Chinese";
1493
- readonly Dutch: "Dutch";
1494
- readonly English: "English";
1495
- readonly French: "French";
1496
- readonly German: "German";
1497
- readonly Russian: "Russian";
1498
- readonly Spanish: "Spanish";
1499
- }>;
1252
+ export declare namespace PromptConfig$ {
1253
+ /** @deprecated use `PromptConfig$inboundSchema` instead. */
1254
+ const inboundSchema: z.ZodType<PromptConfig, z.ZodTypeDef, unknown>;
1255
+ /** @deprecated use `PromptConfig$outboundSchema` instead. */
1256
+ const outboundSchema: z.ZodType<PromptConfig$Outbound, z.ZodTypeDef, PromptConfig>;
1257
+ /** @deprecated use `PromptConfig$Outbound` instead. */
1258
+ type Outbound = PromptConfig$Outbound;
1500
1259
  }
1260
+ export declare function promptConfigToJSON(promptConfig: PromptConfig): string;
1261
+ export declare function promptConfigFromJSON(jsonString: string): SafeParseResult<PromptConfig, SDKValidationError>;
1501
1262
  /** @internal */
1502
1263
  export declare const CreatePromptMetadata$inboundSchema: z.ZodType<CreatePromptMetadata, z.ZodTypeDef, unknown>;
1503
1264
  /** @internal */
@@ -1522,14 +1283,37 @@ export declare namespace CreatePromptMetadata$ {
1522
1283
  export declare function createPromptMetadataToJSON(createPromptMetadata: CreatePromptMetadata): string;
1523
1284
  export declare function createPromptMetadataFromJSON(jsonString: string): SafeParseResult<CreatePromptMetadata, SDKValidationError>;
1524
1285
  /** @internal */
1286
+ export declare const CreatePromptPromptsType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsType>;
1287
+ /** @internal */
1288
+ export declare const CreatePromptPromptsType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsType>;
1289
+ /**
1290
+ * @internal
1291
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1292
+ */
1293
+ export declare namespace CreatePromptPromptsType$ {
1294
+ /** @deprecated use `CreatePromptPromptsType$inboundSchema` instead. */
1295
+ const inboundSchema: z.ZodNativeEnum<{
1296
+ readonly Prompt: "prompt";
1297
+ readonly Snippet: "snippet";
1298
+ readonly Template: "template";
1299
+ }>;
1300
+ /** @deprecated use `CreatePromptPromptsType$outboundSchema` instead. */
1301
+ const outboundSchema: z.ZodNativeEnum<{
1302
+ readonly Prompt: "prompt";
1303
+ readonly Snippet: "snippet";
1304
+ readonly Template: "template";
1305
+ }>;
1306
+ }
1307
+ /** @internal */
1525
1308
  export declare const CreatePromptRequestBody$inboundSchema: z.ZodType<CreatePromptRequestBody, z.ZodTypeDef, unknown>;
1526
1309
  /** @internal */
1527
1310
  export type CreatePromptRequestBody$Outbound = {
1528
1311
  display_name: string;
1529
1312
  description?: string | null | undefined;
1530
- prompt_config: CreatePromptPromptConfig$Outbound;
1313
+ prompt_config?: PromptConfig$Outbound | undefined;
1531
1314
  metadata?: CreatePromptMetadata$Outbound | undefined;
1532
- path: string;
1315
+ key?: string | undefined;
1316
+ type: string;
1533
1317
  };
1534
1318
  /** @internal */
1535
1319
  export declare const CreatePromptRequestBody$outboundSchema: z.ZodType<CreatePromptRequestBody$Outbound, z.ZodTypeDef, CreatePromptRequestBody>;
@@ -1548,33 +1332,15 @@ export declare namespace CreatePromptRequestBody$ {
1548
1332
  export declare function createPromptRequestBodyToJSON(createPromptRequestBody: CreatePromptRequestBody): string;
1549
1333
  export declare function createPromptRequestBodyFromJSON(jsonString: string): SafeParseResult<CreatePromptRequestBody, SDKValidationError>;
1550
1334
  /** @internal */
1551
- export declare const CreatePromptPromptsType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsType>;
1552
- /** @internal */
1553
- export declare const CreatePromptPromptsType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsType>;
1554
- /**
1555
- * @internal
1556
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1557
- */
1558
- export declare namespace CreatePromptPromptsType$ {
1559
- /** @deprecated use `CreatePromptPromptsType$inboundSchema` instead. */
1560
- const inboundSchema: z.ZodNativeEnum<{
1561
- readonly Prompt: "prompt";
1562
- }>;
1563
- /** @deprecated use `CreatePromptPromptsType$outboundSchema` instead. */
1564
- const outboundSchema: z.ZodNativeEnum<{
1565
- readonly Prompt: "prompt";
1566
- }>;
1567
- }
1568
- /** @internal */
1569
- export declare const CreatePromptPromptsModelType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsModelType>;
1335
+ export declare const CreatePromptModelType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptModelType>;
1570
1336
  /** @internal */
1571
- export declare const CreatePromptPromptsModelType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsModelType>;
1337
+ export declare const CreatePromptModelType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptModelType>;
1572
1338
  /**
1573
1339
  * @internal
1574
1340
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1575
1341
  */
1576
- export declare namespace CreatePromptPromptsModelType$ {
1577
- /** @deprecated use `CreatePromptPromptsModelType$inboundSchema` instead. */
1342
+ export declare namespace CreatePromptModelType$ {
1343
+ /** @deprecated use `CreatePromptModelType$inboundSchema` instead. */
1578
1344
  const inboundSchema: z.ZodNativeEnum<{
1579
1345
  readonly Chat: "chat";
1580
1346
  readonly Completion: "completion";
@@ -1586,7 +1352,7 @@ export declare namespace CreatePromptPromptsModelType$ {
1586
1352
  readonly Rerank: "rerank";
1587
1353
  readonly Moderations: "moderations";
1588
1354
  }>;
1589
- /** @deprecated use `CreatePromptPromptsModelType$outboundSchema` instead. */
1355
+ /** @deprecated use `CreatePromptModelType$outboundSchema` instead. */
1590
1356
  const outboundSchema: z.ZodNativeEnum<{
1591
1357
  readonly Chat: "chat";
1592
1358
  readonly Completion: "completion";
@@ -1600,22 +1366,22 @@ export declare namespace CreatePromptPromptsModelType$ {
1600
1366
  }>;
1601
1367
  }
1602
1368
  /** @internal */
1603
- export declare const CreatePromptPromptsFormat$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsFormat>;
1369
+ export declare const CreatePromptFormat$inboundSchema: z.ZodNativeEnum<typeof CreatePromptFormat>;
1604
1370
  /** @internal */
1605
- export declare const CreatePromptPromptsFormat$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsFormat>;
1371
+ export declare const CreatePromptFormat$outboundSchema: z.ZodNativeEnum<typeof CreatePromptFormat>;
1606
1372
  /**
1607
1373
  * @internal
1608
1374
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1609
1375
  */
1610
- export declare namespace CreatePromptPromptsFormat$ {
1611
- /** @deprecated use `CreatePromptPromptsFormat$inboundSchema` instead. */
1376
+ export declare namespace CreatePromptFormat$ {
1377
+ /** @deprecated use `CreatePromptFormat$inboundSchema` instead. */
1612
1378
  const inboundSchema: z.ZodNativeEnum<{
1613
1379
  readonly Url: "url";
1614
1380
  readonly B64Json: "b64_json";
1615
1381
  readonly Text: "text";
1616
1382
  readonly JsonObject: "json_object";
1617
1383
  }>;
1618
- /** @deprecated use `CreatePromptPromptsFormat$outboundSchema` instead. */
1384
+ /** @deprecated use `CreatePromptFormat$outboundSchema` instead. */
1619
1385
  const outboundSchema: z.ZodNativeEnum<{
1620
1386
  readonly Url: "url";
1621
1387
  readonly B64Json: "b64_json";
@@ -1624,87 +1390,87 @@ export declare namespace CreatePromptPromptsFormat$ {
1624
1390
  }>;
1625
1391
  }
1626
1392
  /** @internal */
1627
- export declare const CreatePromptPromptsQuality$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsQuality>;
1393
+ export declare const CreatePromptQuality$inboundSchema: z.ZodNativeEnum<typeof CreatePromptQuality>;
1628
1394
  /** @internal */
1629
- export declare const CreatePromptPromptsQuality$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsQuality>;
1395
+ export declare const CreatePromptQuality$outboundSchema: z.ZodNativeEnum<typeof CreatePromptQuality>;
1630
1396
  /**
1631
1397
  * @internal
1632
1398
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1633
1399
  */
1634
- export declare namespace CreatePromptPromptsQuality$ {
1635
- /** @deprecated use `CreatePromptPromptsQuality$inboundSchema` instead. */
1400
+ export declare namespace CreatePromptQuality$ {
1401
+ /** @deprecated use `CreatePromptQuality$inboundSchema` instead. */
1636
1402
  const inboundSchema: z.ZodNativeEnum<{
1637
1403
  readonly Standard: "standard";
1638
1404
  readonly Hd: "hd";
1639
1405
  }>;
1640
- /** @deprecated use `CreatePromptPromptsQuality$outboundSchema` instead. */
1406
+ /** @deprecated use `CreatePromptQuality$outboundSchema` instead. */
1641
1407
  const outboundSchema: z.ZodNativeEnum<{
1642
1408
  readonly Standard: "standard";
1643
1409
  readonly Hd: "hd";
1644
1410
  }>;
1645
1411
  }
1646
1412
  /** @internal */
1647
- export declare const CreatePromptResponseFormatPromptsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponse200Type>;
1413
+ export declare const CreatePromptResponseFormatPromptsResponseType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponseType>;
1648
1414
  /** @internal */
1649
- export declare const CreatePromptResponseFormatPromptsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponse200Type>;
1415
+ export declare const CreatePromptResponseFormatPromptsResponseType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponseType>;
1650
1416
  /**
1651
1417
  * @internal
1652
1418
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1653
1419
  */
1654
- export declare namespace CreatePromptResponseFormatPromptsResponse200Type$ {
1655
- /** @deprecated use `CreatePromptResponseFormatPromptsResponse200Type$inboundSchema` instead. */
1420
+ export declare namespace CreatePromptResponseFormatPromptsResponseType$ {
1421
+ /** @deprecated use `CreatePromptResponseFormatPromptsResponseType$inboundSchema` instead. */
1656
1422
  const inboundSchema: z.ZodNativeEnum<{
1657
1423
  readonly JsonObject: "json_object";
1658
1424
  }>;
1659
- /** @deprecated use `CreatePromptResponseFormatPromptsResponse200Type$outboundSchema` instead. */
1425
+ /** @deprecated use `CreatePromptResponseFormatPromptsResponseType$outboundSchema` instead. */
1660
1426
  const outboundSchema: z.ZodNativeEnum<{
1661
1427
  readonly JsonObject: "json_object";
1662
1428
  }>;
1663
1429
  }
1664
1430
  /** @internal */
1665
- export declare const CreatePromptResponseFormatPrompts2$inboundSchema: z.ZodType<CreatePromptResponseFormatPrompts2, z.ZodTypeDef, unknown>;
1431
+ export declare const CreatePromptResponseFormat2$inboundSchema: z.ZodType<CreatePromptResponseFormat2, z.ZodTypeDef, unknown>;
1666
1432
  /** @internal */
1667
- export type CreatePromptResponseFormatPrompts2$Outbound = {
1433
+ export type CreatePromptResponseFormat2$Outbound = {
1668
1434
  type: string;
1669
1435
  };
1670
1436
  /** @internal */
1671
- export declare const CreatePromptResponseFormatPrompts2$outboundSchema: z.ZodType<CreatePromptResponseFormatPrompts2$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPrompts2>;
1437
+ export declare const CreatePromptResponseFormat2$outboundSchema: z.ZodType<CreatePromptResponseFormat2$Outbound, z.ZodTypeDef, CreatePromptResponseFormat2>;
1672
1438
  /**
1673
1439
  * @internal
1674
1440
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1675
1441
  */
1676
- export declare namespace CreatePromptResponseFormatPrompts2$ {
1677
- /** @deprecated use `CreatePromptResponseFormatPrompts2$inboundSchema` instead. */
1678
- const inboundSchema: z.ZodType<CreatePromptResponseFormatPrompts2, z.ZodTypeDef, unknown>;
1679
- /** @deprecated use `CreatePromptResponseFormatPrompts2$outboundSchema` instead. */
1680
- const outboundSchema: z.ZodType<CreatePromptResponseFormatPrompts2$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPrompts2>;
1681
- /** @deprecated use `CreatePromptResponseFormatPrompts2$Outbound` instead. */
1682
- type Outbound = CreatePromptResponseFormatPrompts2$Outbound;
1442
+ export declare namespace CreatePromptResponseFormat2$ {
1443
+ /** @deprecated use `CreatePromptResponseFormat2$inboundSchema` instead. */
1444
+ const inboundSchema: z.ZodType<CreatePromptResponseFormat2, z.ZodTypeDef, unknown>;
1445
+ /** @deprecated use `CreatePromptResponseFormat2$outboundSchema` instead. */
1446
+ const outboundSchema: z.ZodType<CreatePromptResponseFormat2$Outbound, z.ZodTypeDef, CreatePromptResponseFormat2>;
1447
+ /** @deprecated use `CreatePromptResponseFormat2$Outbound` instead. */
1448
+ type Outbound = CreatePromptResponseFormat2$Outbound;
1683
1449
  }
1684
- export declare function createPromptResponseFormatPrompts2ToJSON(createPromptResponseFormatPrompts2: CreatePromptResponseFormatPrompts2): string;
1685
- export declare function createPromptResponseFormatPrompts2FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormatPrompts2, SDKValidationError>;
1450
+ export declare function createPromptResponseFormat2ToJSON(createPromptResponseFormat2: CreatePromptResponseFormat2): string;
1451
+ export declare function createPromptResponseFormat2FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormat2, SDKValidationError>;
1686
1452
  /** @internal */
1687
- export declare const CreatePromptResponseFormatPromptsResponseType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponseType>;
1453
+ export declare const CreatePromptResponseFormatPromptsType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsType>;
1688
1454
  /** @internal */
1689
- export declare const CreatePromptResponseFormatPromptsResponseType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsResponseType>;
1455
+ export declare const CreatePromptResponseFormatPromptsType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptResponseFormatPromptsType>;
1690
1456
  /**
1691
1457
  * @internal
1692
1458
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1693
1459
  */
1694
- export declare namespace CreatePromptResponseFormatPromptsResponseType$ {
1695
- /** @deprecated use `CreatePromptResponseFormatPromptsResponseType$inboundSchema` instead. */
1460
+ export declare namespace CreatePromptResponseFormatPromptsType$ {
1461
+ /** @deprecated use `CreatePromptResponseFormatPromptsType$inboundSchema` instead. */
1696
1462
  const inboundSchema: z.ZodNativeEnum<{
1697
1463
  readonly JsonSchema: "json_schema";
1698
1464
  }>;
1699
- /** @deprecated use `CreatePromptResponseFormatPromptsResponseType$outboundSchema` instead. */
1465
+ /** @deprecated use `CreatePromptResponseFormatPromptsType$outboundSchema` instead. */
1700
1466
  const outboundSchema: z.ZodNativeEnum<{
1701
1467
  readonly JsonSchema: "json_schema";
1702
1468
  }>;
1703
1469
  }
1704
1470
  /** @internal */
1705
- export declare const CreatePromptResponseFormatPromptsJsonSchema$inboundSchema: z.ZodType<CreatePromptResponseFormatPromptsJsonSchema, z.ZodTypeDef, unknown>;
1471
+ export declare const CreatePromptResponseFormatJsonSchema$inboundSchema: z.ZodType<CreatePromptResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
1706
1472
  /** @internal */
1707
- export type CreatePromptResponseFormatPromptsJsonSchema$Outbound = {
1473
+ export type CreatePromptResponseFormatJsonSchema$Outbound = {
1708
1474
  name: string;
1709
1475
  strict: boolean;
1710
1476
  schema: {
@@ -1712,130 +1478,108 @@ export type CreatePromptResponseFormatPromptsJsonSchema$Outbound = {
1712
1478
  };
1713
1479
  };
1714
1480
  /** @internal */
1715
- export declare const CreatePromptResponseFormatPromptsJsonSchema$outboundSchema: z.ZodType<CreatePromptResponseFormatPromptsJsonSchema$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPromptsJsonSchema>;
1481
+ export declare const CreatePromptResponseFormatJsonSchema$outboundSchema: z.ZodType<CreatePromptResponseFormatJsonSchema$Outbound, z.ZodTypeDef, CreatePromptResponseFormatJsonSchema>;
1716
1482
  /**
1717
1483
  * @internal
1718
1484
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1719
1485
  */
1720
- export declare namespace CreatePromptResponseFormatPromptsJsonSchema$ {
1721
- /** @deprecated use `CreatePromptResponseFormatPromptsJsonSchema$inboundSchema` instead. */
1722
- const inboundSchema: z.ZodType<CreatePromptResponseFormatPromptsJsonSchema, z.ZodTypeDef, unknown>;
1723
- /** @deprecated use `CreatePromptResponseFormatPromptsJsonSchema$outboundSchema` instead. */
1724
- const outboundSchema: z.ZodType<CreatePromptResponseFormatPromptsJsonSchema$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPromptsJsonSchema>;
1725
- /** @deprecated use `CreatePromptResponseFormatPromptsJsonSchema$Outbound` instead. */
1726
- type Outbound = CreatePromptResponseFormatPromptsJsonSchema$Outbound;
1486
+ export declare namespace CreatePromptResponseFormatJsonSchema$ {
1487
+ /** @deprecated use `CreatePromptResponseFormatJsonSchema$inboundSchema` instead. */
1488
+ const inboundSchema: z.ZodType<CreatePromptResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
1489
+ /** @deprecated use `CreatePromptResponseFormatJsonSchema$outboundSchema` instead. */
1490
+ const outboundSchema: z.ZodType<CreatePromptResponseFormatJsonSchema$Outbound, z.ZodTypeDef, CreatePromptResponseFormatJsonSchema>;
1491
+ /** @deprecated use `CreatePromptResponseFormatJsonSchema$Outbound` instead. */
1492
+ type Outbound = CreatePromptResponseFormatJsonSchema$Outbound;
1727
1493
  }
1728
- export declare function createPromptResponseFormatPromptsJsonSchemaToJSON(createPromptResponseFormatPromptsJsonSchema: CreatePromptResponseFormatPromptsJsonSchema): string;
1729
- export declare function createPromptResponseFormatPromptsJsonSchemaFromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormatPromptsJsonSchema, SDKValidationError>;
1494
+ export declare function createPromptResponseFormatJsonSchemaToJSON(createPromptResponseFormatJsonSchema: CreatePromptResponseFormatJsonSchema): string;
1495
+ export declare function createPromptResponseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormatJsonSchema, SDKValidationError>;
1730
1496
  /** @internal */
1731
- export declare const CreatePromptResponseFormatPrompts1$inboundSchema: z.ZodType<CreatePromptResponseFormatPrompts1, z.ZodTypeDef, unknown>;
1497
+ export declare const CreatePromptResponseFormat1$inboundSchema: z.ZodType<CreatePromptResponseFormat1, z.ZodTypeDef, unknown>;
1732
1498
  /** @internal */
1733
- export type CreatePromptResponseFormatPrompts1$Outbound = {
1499
+ export type CreatePromptResponseFormat1$Outbound = {
1734
1500
  type: string;
1735
- json_schema: CreatePromptResponseFormatPromptsJsonSchema$Outbound;
1501
+ json_schema: CreatePromptResponseFormatJsonSchema$Outbound;
1736
1502
  };
1737
1503
  /** @internal */
1738
- export declare const CreatePromptResponseFormatPrompts1$outboundSchema: z.ZodType<CreatePromptResponseFormatPrompts1$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPrompts1>;
1504
+ export declare const CreatePromptResponseFormat1$outboundSchema: z.ZodType<CreatePromptResponseFormat1$Outbound, z.ZodTypeDef, CreatePromptResponseFormat1>;
1739
1505
  /**
1740
1506
  * @internal
1741
1507
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1742
1508
  */
1743
- export declare namespace CreatePromptResponseFormatPrompts1$ {
1744
- /** @deprecated use `CreatePromptResponseFormatPrompts1$inboundSchema` instead. */
1745
- const inboundSchema: z.ZodType<CreatePromptResponseFormatPrompts1, z.ZodTypeDef, unknown>;
1746
- /** @deprecated use `CreatePromptResponseFormatPrompts1$outboundSchema` instead. */
1747
- const outboundSchema: z.ZodType<CreatePromptResponseFormatPrompts1$Outbound, z.ZodTypeDef, CreatePromptResponseFormatPrompts1>;
1748
- /** @deprecated use `CreatePromptResponseFormatPrompts1$Outbound` instead. */
1749
- type Outbound = CreatePromptResponseFormatPrompts1$Outbound;
1509
+ export declare namespace CreatePromptResponseFormat1$ {
1510
+ /** @deprecated use `CreatePromptResponseFormat1$inboundSchema` instead. */
1511
+ const inboundSchema: z.ZodType<CreatePromptResponseFormat1, z.ZodTypeDef, unknown>;
1512
+ /** @deprecated use `CreatePromptResponseFormat1$outboundSchema` instead. */
1513
+ const outboundSchema: z.ZodType<CreatePromptResponseFormat1$Outbound, z.ZodTypeDef, CreatePromptResponseFormat1>;
1514
+ /** @deprecated use `CreatePromptResponseFormat1$Outbound` instead. */
1515
+ type Outbound = CreatePromptResponseFormat1$Outbound;
1750
1516
  }
1751
- export declare function createPromptResponseFormatPrompts1ToJSON(createPromptResponseFormatPrompts1: CreatePromptResponseFormatPrompts1): string;
1752
- export declare function createPromptResponseFormatPrompts1FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormatPrompts1, SDKValidationError>;
1517
+ export declare function createPromptResponseFormat1ToJSON(createPromptResponseFormat1: CreatePromptResponseFormat1): string;
1518
+ export declare function createPromptResponseFormat1FromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormat1, SDKValidationError>;
1753
1519
  /** @internal */
1754
- export declare const CreatePromptPromptsResponseFormat$inboundSchema: z.ZodType<CreatePromptPromptsResponseFormat, z.ZodTypeDef, unknown>;
1520
+ export declare const CreatePromptResponseFormat$inboundSchema: z.ZodType<CreatePromptResponseFormat, z.ZodTypeDef, unknown>;
1755
1521
  /** @internal */
1756
- export type CreatePromptPromptsResponseFormat$Outbound = CreatePromptResponseFormatPrompts2$Outbound | CreatePromptResponseFormatPrompts1$Outbound;
1522
+ export type CreatePromptResponseFormat$Outbound = CreatePromptResponseFormat2$Outbound | CreatePromptResponseFormat1$Outbound;
1757
1523
  /** @internal */
1758
- export declare const CreatePromptPromptsResponseFormat$outboundSchema: z.ZodType<CreatePromptPromptsResponseFormat$Outbound, z.ZodTypeDef, CreatePromptPromptsResponseFormat>;
1524
+ export declare const CreatePromptResponseFormat$outboundSchema: z.ZodType<CreatePromptResponseFormat$Outbound, z.ZodTypeDef, CreatePromptResponseFormat>;
1759
1525
  /**
1760
1526
  * @internal
1761
1527
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1762
1528
  */
1763
- export declare namespace CreatePromptPromptsResponseFormat$ {
1764
- /** @deprecated use `CreatePromptPromptsResponseFormat$inboundSchema` instead. */
1765
- const inboundSchema: z.ZodType<CreatePromptPromptsResponseFormat, z.ZodTypeDef, unknown>;
1766
- /** @deprecated use `CreatePromptPromptsResponseFormat$outboundSchema` instead. */
1767
- const outboundSchema: z.ZodType<CreatePromptPromptsResponseFormat$Outbound, z.ZodTypeDef, CreatePromptPromptsResponseFormat>;
1768
- /** @deprecated use `CreatePromptPromptsResponseFormat$Outbound` instead. */
1769
- type Outbound = CreatePromptPromptsResponseFormat$Outbound;
1529
+ export declare namespace CreatePromptResponseFormat$ {
1530
+ /** @deprecated use `CreatePromptResponseFormat$inboundSchema` instead. */
1531
+ const inboundSchema: z.ZodType<CreatePromptResponseFormat, z.ZodTypeDef, unknown>;
1532
+ /** @deprecated use `CreatePromptResponseFormat$outboundSchema` instead. */
1533
+ const outboundSchema: z.ZodType<CreatePromptResponseFormat$Outbound, z.ZodTypeDef, CreatePromptResponseFormat>;
1534
+ /** @deprecated use `CreatePromptResponseFormat$Outbound` instead. */
1535
+ type Outbound = CreatePromptResponseFormat$Outbound;
1770
1536
  }
1771
- export declare function createPromptPromptsResponseFormatToJSON(createPromptPromptsResponseFormat: CreatePromptPromptsResponseFormat): string;
1772
- export declare function createPromptPromptsResponseFormatFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptsResponseFormat, SDKValidationError>;
1537
+ export declare function createPromptResponseFormatToJSON(createPromptResponseFormat: CreatePromptResponseFormat): string;
1538
+ export declare function createPromptResponseFormatFromJSON(jsonString: string): SafeParseResult<CreatePromptResponseFormat, SDKValidationError>;
1773
1539
  /** @internal */
1774
- export declare const CreatePromptPromptsPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsPhotoRealVersion>;
1540
+ export declare const CreatePromptPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPhotoRealVersion>;
1775
1541
  /** @internal */
1776
- export declare const CreatePromptPromptsPhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsPhotoRealVersion>;
1542
+ export declare const CreatePromptPhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPhotoRealVersion>;
1777
1543
  /**
1778
1544
  * @internal
1779
1545
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1780
1546
  */
1781
- export declare namespace CreatePromptPromptsPhotoRealVersion$ {
1782
- /** @deprecated use `CreatePromptPromptsPhotoRealVersion$inboundSchema` instead. */
1547
+ export declare namespace CreatePromptPhotoRealVersion$ {
1548
+ /** @deprecated use `CreatePromptPhotoRealVersion$inboundSchema` instead. */
1783
1549
  const inboundSchema: z.ZodNativeEnum<{
1784
1550
  readonly V1: "v1";
1785
1551
  readonly V2: "v2";
1786
1552
  }>;
1787
- /** @deprecated use `CreatePromptPromptsPhotoRealVersion$outboundSchema` instead. */
1553
+ /** @deprecated use `CreatePromptPhotoRealVersion$outboundSchema` instead. */
1788
1554
  const outboundSchema: z.ZodNativeEnum<{
1789
1555
  readonly V1: "v1";
1790
1556
  readonly V2: "v2";
1791
1557
  }>;
1792
1558
  }
1793
1559
  /** @internal */
1794
- export declare const CreatePromptPromptsEncodingFormat$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsEncodingFormat>;
1560
+ export declare const CreatePromptEncodingFormat$inboundSchema: z.ZodNativeEnum<typeof CreatePromptEncodingFormat>;
1795
1561
  /** @internal */
1796
- export declare const CreatePromptPromptsEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsEncodingFormat>;
1562
+ export declare const CreatePromptEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof CreatePromptEncodingFormat>;
1797
1563
  /**
1798
1564
  * @internal
1799
1565
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1800
1566
  */
1801
- export declare namespace CreatePromptPromptsEncodingFormat$ {
1802
- /** @deprecated use `CreatePromptPromptsEncodingFormat$inboundSchema` instead. */
1567
+ export declare namespace CreatePromptEncodingFormat$ {
1568
+ /** @deprecated use `CreatePromptEncodingFormat$inboundSchema` instead. */
1803
1569
  const inboundSchema: z.ZodNativeEnum<{
1804
1570
  readonly Float: "float";
1805
1571
  readonly Base64: "base64";
1806
1572
  }>;
1807
- /** @deprecated use `CreatePromptPromptsEncodingFormat$outboundSchema` instead. */
1573
+ /** @deprecated use `CreatePromptEncodingFormat$outboundSchema` instead. */
1808
1574
  const outboundSchema: z.ZodNativeEnum<{
1809
1575
  readonly Float: "float";
1810
1576
  readonly Base64: "base64";
1811
1577
  }>;
1812
1578
  }
1813
1579
  /** @internal */
1814
- export declare const CreatePromptPromptsReasoningEffort$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsReasoningEffort>;
1815
- /** @internal */
1816
- export declare const CreatePromptPromptsReasoningEffort$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsReasoningEffort>;
1817
- /**
1818
- * @internal
1819
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1820
- */
1821
- export declare namespace CreatePromptPromptsReasoningEffort$ {
1822
- /** @deprecated use `CreatePromptPromptsReasoningEffort$inboundSchema` instead. */
1823
- const inboundSchema: z.ZodNativeEnum<{
1824
- readonly Low: "low";
1825
- readonly Medium: "medium";
1826
- readonly High: "high";
1827
- }>;
1828
- /** @deprecated use `CreatePromptPromptsReasoningEffort$outboundSchema` instead. */
1829
- const outboundSchema: z.ZodNativeEnum<{
1830
- readonly Low: "low";
1831
- readonly Medium: "medium";
1832
- readonly High: "high";
1833
- }>;
1834
- }
1835
- /** @internal */
1836
- export declare const CreatePromptPromptsModelParameters$inboundSchema: z.ZodType<CreatePromptPromptsModelParameters, z.ZodTypeDef, unknown>;
1580
+ export declare const CreatePromptModelParameters$inboundSchema: z.ZodType<CreatePromptModelParameters, z.ZodTypeDef, unknown>;
1837
1581
  /** @internal */
1838
- export type CreatePromptPromptsModelParameters$Outbound = {
1582
+ export type CreatePromptModelParameters$Outbound = {
1839
1583
  temperature?: number | undefined;
1840
1584
  maxTokens?: number | undefined;
1841
1585
  topK?: number | undefined;
@@ -1848,37 +1592,36 @@ export type CreatePromptPromptsModelParameters$Outbound = {
1848
1592
  dimensions?: string | undefined;
1849
1593
  quality?: string | undefined;
1850
1594
  style?: string | undefined;
1851
- responseFormat?: CreatePromptResponseFormatPrompts2$Outbound | CreatePromptResponseFormatPrompts1$Outbound | null | undefined;
1595
+ responseFormat?: CreatePromptResponseFormat2$Outbound | CreatePromptResponseFormat1$Outbound | null | undefined;
1852
1596
  photoRealVersion?: string | undefined;
1853
1597
  encoding_format?: string | undefined;
1854
- reasoningEffort?: string | undefined;
1855
1598
  };
1856
1599
  /** @internal */
1857
- export declare const CreatePromptPromptsModelParameters$outboundSchema: z.ZodType<CreatePromptPromptsModelParameters$Outbound, z.ZodTypeDef, CreatePromptPromptsModelParameters>;
1600
+ export declare const CreatePromptModelParameters$outboundSchema: z.ZodType<CreatePromptModelParameters$Outbound, z.ZodTypeDef, CreatePromptModelParameters>;
1858
1601
  /**
1859
1602
  * @internal
1860
1603
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1861
1604
  */
1862
- export declare namespace CreatePromptPromptsModelParameters$ {
1863
- /** @deprecated use `CreatePromptPromptsModelParameters$inboundSchema` instead. */
1864
- const inboundSchema: z.ZodType<CreatePromptPromptsModelParameters, z.ZodTypeDef, unknown>;
1865
- /** @deprecated use `CreatePromptPromptsModelParameters$outboundSchema` instead. */
1866
- const outboundSchema: z.ZodType<CreatePromptPromptsModelParameters$Outbound, z.ZodTypeDef, CreatePromptPromptsModelParameters>;
1867
- /** @deprecated use `CreatePromptPromptsModelParameters$Outbound` instead. */
1868
- type Outbound = CreatePromptPromptsModelParameters$Outbound;
1605
+ export declare namespace CreatePromptModelParameters$ {
1606
+ /** @deprecated use `CreatePromptModelParameters$inboundSchema` instead. */
1607
+ const inboundSchema: z.ZodType<CreatePromptModelParameters, z.ZodTypeDef, unknown>;
1608
+ /** @deprecated use `CreatePromptModelParameters$outboundSchema` instead. */
1609
+ const outboundSchema: z.ZodType<CreatePromptModelParameters$Outbound, z.ZodTypeDef, CreatePromptModelParameters>;
1610
+ /** @deprecated use `CreatePromptModelParameters$Outbound` instead. */
1611
+ type Outbound = CreatePromptModelParameters$Outbound;
1869
1612
  }
1870
- export declare function createPromptPromptsModelParametersToJSON(createPromptPromptsModelParameters: CreatePromptPromptsModelParameters): string;
1871
- export declare function createPromptPromptsModelParametersFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptsModelParameters, SDKValidationError>;
1613
+ export declare function createPromptModelParametersToJSON(createPromptModelParameters: CreatePromptModelParameters): string;
1614
+ export declare function createPromptModelParametersFromJSON(jsonString: string): SafeParseResult<CreatePromptModelParameters, SDKValidationError>;
1872
1615
  /** @internal */
1873
- export declare const CreatePromptPromptsProvider$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsProvider>;
1616
+ export declare const CreatePromptProvider$inboundSchema: z.ZodNativeEnum<typeof CreatePromptProvider>;
1874
1617
  /** @internal */
1875
- export declare const CreatePromptPromptsProvider$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsProvider>;
1618
+ export declare const CreatePromptProvider$outboundSchema: z.ZodNativeEnum<typeof CreatePromptProvider>;
1876
1619
  /**
1877
1620
  * @internal
1878
1621
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1879
1622
  */
1880
- export declare namespace CreatePromptPromptsProvider$ {
1881
- /** @deprecated use `CreatePromptPromptsProvider$inboundSchema` instead. */
1623
+ export declare namespace CreatePromptProvider$ {
1624
+ /** @deprecated use `CreatePromptProvider$inboundSchema` instead. */
1882
1625
  const inboundSchema: z.ZodNativeEnum<{
1883
1626
  readonly Cohere: "cohere";
1884
1627
  readonly Openai: "openai";
@@ -1896,10 +1639,8 @@ export declare namespace CreatePromptPromptsProvider$ {
1896
1639
  readonly Leonardoai: "leonardoai";
1897
1640
  readonly Nvidia: "nvidia";
1898
1641
  readonly Jina: "jina";
1899
- readonly Togetherai: "togetherai";
1900
- readonly Elevenlabs: "elevenlabs";
1901
1642
  }>;
1902
- /** @deprecated use `CreatePromptPromptsProvider$outboundSchema` instead. */
1643
+ /** @deprecated use `CreatePromptProvider$outboundSchema` instead. */
1903
1644
  const outboundSchema: z.ZodNativeEnum<{
1904
1645
  readonly Cohere: "cohere";
1905
1646
  readonly Openai: "openai";
@@ -1917,8 +1658,6 @@ export declare namespace CreatePromptPromptsProvider$ {
1917
1658
  readonly Leonardoai: "leonardoai";
1918
1659
  readonly Nvidia: "nvidia";
1919
1660
  readonly Jina: "jina";
1920
- readonly Togetherai: "togetherai";
1921
- readonly Elevenlabs: "elevenlabs";
1922
1661
  }>;
1923
1662
  }
1924
1663
  /** @internal */
@@ -2100,19 +1839,19 @@ export declare namespace CreatePromptPromptsContent$ {
2100
1839
  export declare function createPromptPromptsContentToJSON(createPromptPromptsContent: CreatePromptPromptsContent): string;
2101
1840
  export declare function createPromptPromptsContentFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptsContent, SDKValidationError>;
2102
1841
  /** @internal */
2103
- export declare const CreatePromptPromptsResponseType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsResponseType>;
1842
+ export declare const CreatePromptPromptsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsResponse200Type>;
2104
1843
  /** @internal */
2105
- export declare const CreatePromptPromptsResponseType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsResponseType>;
1844
+ export declare const CreatePromptPromptsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsResponse200Type>;
2106
1845
  /**
2107
1846
  * @internal
2108
1847
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2109
1848
  */
2110
- export declare namespace CreatePromptPromptsResponseType$ {
2111
- /** @deprecated use `CreatePromptPromptsResponseType$inboundSchema` instead. */
1849
+ export declare namespace CreatePromptPromptsResponse200Type$ {
1850
+ /** @deprecated use `CreatePromptPromptsResponse200Type$inboundSchema` instead. */
2112
1851
  const inboundSchema: z.ZodNativeEnum<{
2113
1852
  readonly Function: "function";
2114
1853
  }>;
2115
- /** @deprecated use `CreatePromptPromptsResponseType$outboundSchema` instead. */
1854
+ /** @deprecated use `CreatePromptPromptsResponse200Type$outboundSchema` instead. */
2116
1855
  const outboundSchema: z.ZodNativeEnum<{
2117
1856
  readonly Function: "function";
2118
1857
  }>;
@@ -2190,113 +1929,35 @@ export declare namespace CreatePromptPromptsMessages$ {
2190
1929
  export declare function createPromptPromptsMessagesToJSON(createPromptPromptsMessages: CreatePromptPromptsMessages): string;
2191
1930
  export declare function createPromptPromptsMessagesFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptsMessages, SDKValidationError>;
2192
1931
  /** @internal */
2193
- export declare const CreatePromptPromptsPromptConfig$inboundSchema: z.ZodType<CreatePromptPromptsPromptConfig, z.ZodTypeDef, unknown>;
1932
+ export declare const CreatePromptPromptConfig$inboundSchema: z.ZodType<CreatePromptPromptConfig, z.ZodTypeDef, unknown>;
2194
1933
  /** @internal */
2195
- export type CreatePromptPromptsPromptConfig$Outbound = {
1934
+ export type CreatePromptPromptConfig$Outbound = {
2196
1935
  stream?: boolean | undefined;
2197
1936
  model?: string | undefined;
2198
1937
  model_db_id?: string | undefined;
2199
1938
  model_type?: string | undefined;
2200
- model_parameters?: CreatePromptPromptsModelParameters$Outbound | undefined;
1939
+ model_parameters?: CreatePromptModelParameters$Outbound | undefined;
2201
1940
  provider?: string | undefined;
2202
1941
  integration_id?: string | null | undefined;
2203
1942
  version?: string | undefined;
2204
1943
  messages: Array<CreatePromptPromptsMessages$Outbound>;
2205
1944
  };
2206
1945
  /** @internal */
2207
- export declare const CreatePromptPromptsPromptConfig$outboundSchema: z.ZodType<CreatePromptPromptsPromptConfig$Outbound, z.ZodTypeDef, CreatePromptPromptsPromptConfig>;
2208
- /**
2209
- * @internal
2210
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2211
- */
2212
- export declare namespace CreatePromptPromptsPromptConfig$ {
2213
- /** @deprecated use `CreatePromptPromptsPromptConfig$inboundSchema` instead. */
2214
- const inboundSchema: z.ZodType<CreatePromptPromptsPromptConfig, z.ZodTypeDef, unknown>;
2215
- /** @deprecated use `CreatePromptPromptsPromptConfig$outboundSchema` instead. */
2216
- const outboundSchema: z.ZodType<CreatePromptPromptsPromptConfig$Outbound, z.ZodTypeDef, CreatePromptPromptsPromptConfig>;
2217
- /** @deprecated use `CreatePromptPromptsPromptConfig$Outbound` instead. */
2218
- type Outbound = CreatePromptPromptsPromptConfig$Outbound;
2219
- }
2220
- export declare function createPromptPromptsPromptConfigToJSON(createPromptPromptsPromptConfig: CreatePromptPromptsPromptConfig): string;
2221
- export declare function createPromptPromptsPromptConfigFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptsPromptConfig, SDKValidationError>;
2222
- /** @internal */
2223
- export declare const CreatePromptPromptsUseCases$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsUseCases>;
2224
- /** @internal */
2225
- export declare const CreatePromptPromptsUseCases$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsUseCases>;
2226
- /**
2227
- * @internal
2228
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2229
- */
2230
- export declare namespace CreatePromptPromptsUseCases$ {
2231
- /** @deprecated use `CreatePromptPromptsUseCases$inboundSchema` instead. */
2232
- const inboundSchema: z.ZodNativeEnum<{
2233
- readonly Agents: "Agents";
2234
- readonly AgentsSimulations: "Agents simulations";
2235
- readonly APIInteraction: "API interaction";
2236
- readonly AutonomousAgents: "Autonomous Agents";
2237
- readonly Chatbots: "Chatbots";
2238
- readonly Classification: "Classification";
2239
- readonly CodeUnderstanding: "Code understanding";
2240
- readonly CodeWriting: "Code writing";
2241
- readonly DocumentsQA: "Documents QA";
2242
- readonly Conversation: "Conversation";
2243
- readonly Extraction: "Extraction";
2244
- readonly MultiModal: "Multi-modal";
2245
- readonly SelfChecking: "Self-checking";
2246
- readonly Sql: "SQL";
2247
- readonly Summarization: "Summarization";
2248
- readonly Tagging: "Tagging";
2249
- }>;
2250
- /** @deprecated use `CreatePromptPromptsUseCases$outboundSchema` instead. */
2251
- const outboundSchema: z.ZodNativeEnum<{
2252
- readonly Agents: "Agents";
2253
- readonly AgentsSimulations: "Agents simulations";
2254
- readonly APIInteraction: "API interaction";
2255
- readonly AutonomousAgents: "Autonomous Agents";
2256
- readonly Chatbots: "Chatbots";
2257
- readonly Classification: "Classification";
2258
- readonly CodeUnderstanding: "Code understanding";
2259
- readonly CodeWriting: "Code writing";
2260
- readonly DocumentsQA: "Documents QA";
2261
- readonly Conversation: "Conversation";
2262
- readonly Extraction: "Extraction";
2263
- readonly MultiModal: "Multi-modal";
2264
- readonly SelfChecking: "Self-checking";
2265
- readonly Sql: "SQL";
2266
- readonly Summarization: "Summarization";
2267
- readonly Tagging: "Tagging";
2268
- }>;
2269
- }
2270
- /** @internal */
2271
- export declare const CreatePromptPromptsLanguage$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsLanguage>;
2272
- /** @internal */
2273
- export declare const CreatePromptPromptsLanguage$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsLanguage>;
1946
+ export declare const CreatePromptPromptConfig$outboundSchema: z.ZodType<CreatePromptPromptConfig$Outbound, z.ZodTypeDef, CreatePromptPromptConfig>;
2274
1947
  /**
2275
1948
  * @internal
2276
1949
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2277
1950
  */
2278
- export declare namespace CreatePromptPromptsLanguage$ {
2279
- /** @deprecated use `CreatePromptPromptsLanguage$inboundSchema` instead. */
2280
- const inboundSchema: z.ZodNativeEnum<{
2281
- readonly Chinese: "Chinese";
2282
- readonly Dutch: "Dutch";
2283
- readonly English: "English";
2284
- readonly French: "French";
2285
- readonly German: "German";
2286
- readonly Russian: "Russian";
2287
- readonly Spanish: "Spanish";
2288
- }>;
2289
- /** @deprecated use `CreatePromptPromptsLanguage$outboundSchema` instead. */
2290
- const outboundSchema: z.ZodNativeEnum<{
2291
- readonly Chinese: "Chinese";
2292
- readonly Dutch: "Dutch";
2293
- readonly English: "English";
2294
- readonly French: "French";
2295
- readonly German: "German";
2296
- readonly Russian: "Russian";
2297
- readonly Spanish: "Spanish";
2298
- }>;
1951
+ export declare namespace CreatePromptPromptConfig$ {
1952
+ /** @deprecated use `CreatePromptPromptConfig$inboundSchema` instead. */
1953
+ const inboundSchema: z.ZodType<CreatePromptPromptConfig, z.ZodTypeDef, unknown>;
1954
+ /** @deprecated use `CreatePromptPromptConfig$outboundSchema` instead. */
1955
+ const outboundSchema: z.ZodType<CreatePromptPromptConfig$Outbound, z.ZodTypeDef, CreatePromptPromptConfig>;
1956
+ /** @deprecated use `CreatePromptPromptConfig$Outbound` instead. */
1957
+ type Outbound = CreatePromptPromptConfig$Outbound;
2299
1958
  }
1959
+ export declare function createPromptPromptConfigToJSON(createPromptPromptConfig: CreatePromptPromptConfig): string;
1960
+ export declare function createPromptPromptConfigFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptConfig, SDKValidationError>;
2300
1961
  /** @internal */
2301
1962
  export declare const CreatePromptPromptsMetadata$inboundSchema: z.ZodType<CreatePromptPromptsMetadata, z.ZodTypeDef, unknown>;
2302
1963
  /** @internal */
@@ -2321,21 +1982,39 @@ export declare namespace CreatePromptPromptsMetadata$ {
2321
1982
  export declare function createPromptPromptsMetadataToJSON(createPromptPromptsMetadata: CreatePromptPromptsMetadata): string;
2322
1983
  export declare function createPromptPromptsMetadataFromJSON(jsonString: string): SafeParseResult<CreatePromptPromptsMetadata, SDKValidationError>;
2323
1984
  /** @internal */
1985
+ export declare const CreatePromptPromptsResponseType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsResponseType>;
1986
+ /** @internal */
1987
+ export declare const CreatePromptPromptsResponseType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptPromptsResponseType>;
1988
+ /**
1989
+ * @internal
1990
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1991
+ */
1992
+ export declare namespace CreatePromptPromptsResponseType$ {
1993
+ /** @deprecated use `CreatePromptPromptsResponseType$inboundSchema` instead. */
1994
+ const inboundSchema: z.ZodNativeEnum<{
1995
+ readonly Prompt: "prompt";
1996
+ readonly Snippet: "snippet";
1997
+ readonly Template: "template";
1998
+ }>;
1999
+ /** @deprecated use `CreatePromptPromptsResponseType$outboundSchema` instead. */
2000
+ const outboundSchema: z.ZodNativeEnum<{
2001
+ readonly Prompt: "prompt";
2002
+ readonly Snippet: "snippet";
2003
+ readonly Template: "template";
2004
+ }>;
2005
+ }
2006
+ /** @internal */
2324
2007
  export declare const CreatePromptResponseBody$inboundSchema: z.ZodType<CreatePromptResponseBody, z.ZodTypeDef, unknown>;
2325
2008
  /** @internal */
2326
2009
  export type CreatePromptResponseBody$Outbound = {
2327
2010
  _id: string;
2328
- type: string;
2329
- owner: string;
2330
- domain_id: string;
2331
- created: string;
2332
- updated: string;
2333
- created_by_id?: string | undefined;
2334
- updated_by_id?: string | undefined;
2335
2011
  display_name: string;
2012
+ domain_id: string;
2336
2013
  description?: string | null | undefined;
2337
- prompt_config: CreatePromptPromptsPromptConfig$Outbound;
2014
+ prompt_config?: CreatePromptPromptConfig$Outbound | undefined;
2338
2015
  metadata?: CreatePromptPromptsMetadata$Outbound | undefined;
2016
+ key?: string | undefined;
2017
+ type: string;
2339
2018
  };
2340
2019
  /** @internal */
2341
2020
  export declare const CreatePromptResponseBody$outboundSchema: z.ZodType<CreatePromptResponseBody$Outbound, z.ZodTypeDef, CreatePromptResponseBody>;