@orq-ai/node 3.1.2 → 3.1.3

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