@orq-ai/node 3.1.0-rc.7 → 3.1.1

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