@orq-ai/node 3.0.1 → 3.1.0-rc.26

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 (459) hide show
  1. package/README.md +28 -39
  2. package/docs/sdks/deployments/README.md +86 -9
  3. package/docs/sdks/files/README.md +2 -170
  4. package/docs/sdks/orq/README.md +1 -1
  5. package/docs/sdks/prompts/README.md +97 -181
  6. package/{packages/orq-rc/docs/sdks/files → docs/sdks/promptsnippets}/README.md +134 -144
  7. package/funcs/contactsCreate.d.ts.map +1 -1
  8. package/funcs/contactsCreate.js +5 -1
  9. package/funcs/contactsCreate.js.map +1 -1
  10. package/funcs/deploymentsGetConfig.d.ts.map +1 -1
  11. package/funcs/deploymentsGetConfig.js +5 -1
  12. package/funcs/deploymentsGetConfig.js.map +1 -1
  13. package/funcs/deploymentsInvoke.d.ts +1 -7
  14. package/funcs/deploymentsInvoke.d.ts.map +1 -1
  15. package/funcs/deploymentsInvoke.js +10 -11
  16. package/funcs/deploymentsInvoke.js.map +1 -1
  17. package/funcs/{deploymentsAll.d.ts → deploymentsList.d.ts} +2 -2
  18. package/funcs/deploymentsList.d.ts.map +1 -0
  19. package/funcs/{deploymentsAll.js → deploymentsList.js} +10 -5
  20. package/funcs/deploymentsList.js.map +1 -0
  21. package/funcs/deploymentsMetricsCreate.d.ts.map +1 -1
  22. package/funcs/deploymentsMetricsCreate.js +5 -1
  23. package/funcs/deploymentsMetricsCreate.js.map +1 -1
  24. package/funcs/deploymentsStream.d.ts +16 -0
  25. package/funcs/deploymentsStream.d.ts.map +1 -0
  26. package/funcs/deploymentsStream.js +125 -0
  27. package/funcs/deploymentsStream.js.map +1 -0
  28. package/funcs/feedbackCreate.d.ts.map +1 -1
  29. package/funcs/feedbackCreate.js +5 -1
  30. package/funcs/feedbackCreate.js.map +1 -1
  31. package/funcs/filesDelete.d.ts.map +1 -1
  32. package/funcs/filesDelete.js +5 -1
  33. package/funcs/filesDelete.js.map +1 -1
  34. package/funcs/filesGet.d.ts.map +1 -1
  35. package/funcs/filesGet.js +5 -1
  36. package/funcs/filesGet.js.map +1 -1
  37. package/funcs/filesList.d.ts.map +1 -1
  38. package/funcs/filesList.js +5 -1
  39. package/funcs/filesList.js.map +1 -1
  40. package/funcs/filesUpload.d.ts.map +1 -1
  41. package/funcs/filesUpload.js +5 -1
  42. package/funcs/filesUpload.js.map +1 -1
  43. package/funcs/{promptsCreateVersion.d.ts → promptSnippetsCreate.d.ts} +3 -3
  44. package/funcs/promptSnippetsCreate.d.ts.map +1 -0
  45. package/funcs/{promptsGetAll.js → promptSnippetsCreate.js} +12 -8
  46. package/funcs/promptSnippetsCreate.js.map +1 -0
  47. package/funcs/{filesUpdate.d.ts → promptSnippetsDelete.d.ts} +3 -3
  48. package/funcs/{promptsCreateVersion.d.ts.map → promptSnippetsDelete.d.ts.map} +1 -1
  49. package/funcs/{promptsDuplicate.js → promptSnippetsDelete.js} +13 -9
  50. package/funcs/promptSnippetsDelete.js.map +1 -0
  51. package/funcs/{promptsGetAll.d.ts → promptSnippetsGet.d.ts} +3 -3
  52. package/funcs/promptSnippetsGet.d.ts.map +1 -0
  53. package/funcs/{promptSnippetsFindOne.js → promptSnippetsGet.js} +11 -7
  54. package/funcs/promptSnippetsGet.js.map +1 -0
  55. package/funcs/{promptSnippetsFindOne.d.ts → promptSnippetsGetByKey.d.ts} +3 -3
  56. package/funcs/promptSnippetsGetByKey.d.ts.map +1 -0
  57. package/funcs/{promptsCreateVersion.js → promptSnippetsGetByKey.js} +16 -13
  58. package/funcs/promptSnippetsGetByKey.js.map +1 -0
  59. package/funcs/promptSnippetsUpdate.d.ts +13 -0
  60. package/funcs/promptSnippetsUpdate.d.ts.map +1 -0
  61. package/funcs/{filesUpdate.js → promptSnippetsUpdate.js} +17 -9
  62. package/funcs/promptSnippetsUpdate.js.map +1 -0
  63. package/funcs/promptsCreate.d.ts +1 -1
  64. package/funcs/promptsCreate.d.ts.map +1 -1
  65. package/funcs/promptsCreate.js +7 -3
  66. package/funcs/promptsCreate.js.map +1 -1
  67. package/funcs/promptsDelete.d.ts.map +1 -1
  68. package/funcs/promptsDelete.js +6 -2
  69. package/funcs/promptsDelete.js.map +1 -1
  70. package/funcs/{promptsGetOne.d.ts → promptsGet.d.ts} +3 -3
  71. package/funcs/promptsGet.d.ts.map +1 -0
  72. package/funcs/{promptsGetOne.js → promptsGet.js} +10 -6
  73. package/funcs/promptsGet.js.map +1 -0
  74. package/funcs/{promptsDuplicate.d.ts → promptsList.d.ts} +3 -3
  75. package/funcs/{filesUpdate.d.ts.map → promptsList.d.ts.map} +1 -1
  76. package/funcs/{promptTemplatesGetAll.js → promptsList.js} +17 -13
  77. package/funcs/promptsList.js.map +1 -0
  78. package/funcs/promptsUpdate.d.ts.map +1 -1
  79. package/funcs/promptsUpdate.js +6 -2
  80. package/funcs/promptsUpdate.js.map +1 -1
  81. package/funcs/remoteconfigGetConfig.d.ts.map +1 -1
  82. package/funcs/remoteconfigGetConfig.js +5 -1
  83. package/funcs/remoteconfigGetConfig.js.map +1 -1
  84. package/hooks/global.d.ts +5 -0
  85. package/hooks/global.d.ts.map +1 -0
  86. package/hooks/global.js +35 -0
  87. package/hooks/global.js.map +1 -0
  88. package/hooks/registration.d.ts.map +1 -1
  89. package/hooks/registration.js +2 -1
  90. package/hooks/registration.js.map +1 -1
  91. package/jsr.json +28 -0
  92. package/lib/config.d.ts +11 -3
  93. package/lib/config.d.ts.map +1 -1
  94. package/lib/config.js +3 -3
  95. package/lib/config.js.map +1 -1
  96. package/lib/env.d.ts +13 -0
  97. package/lib/env.d.ts.map +1 -1
  98. package/lib/env.js +17 -0
  99. package/lib/env.js.map +1 -1
  100. package/lib/retries.js +0 -1
  101. package/lib/retries.js.map +1 -1
  102. package/lib/schemas.d.ts +1 -1
  103. package/lib/schemas.d.ts.map +1 -1
  104. package/lib/schemas.js +4 -1
  105. package/lib/schemas.js.map +1 -1
  106. package/lib/sdks.js +1 -1
  107. package/lib/sdks.js.map +1 -1
  108. package/models/errors/index.d.ts +1 -0
  109. package/models/errors/index.d.ts.map +1 -1
  110. package/models/errors/index.js +1 -0
  111. package/models/errors/index.js.map +1 -1
  112. package/models/errors/updatepromptsnippet.d.ts +36 -0
  113. package/models/errors/updatepromptsnippet.d.ts.map +1 -0
  114. package/models/{operations/duplicateprompt.js → errors/updatepromptsnippet.js} +33 -23
  115. package/models/errors/updatepromptsnippet.js.map +1 -0
  116. package/models/operations/createcontact.d.ts +25 -0
  117. package/models/operations/createcontact.d.ts.map +1 -1
  118. package/models/operations/createcontact.js +30 -3
  119. package/models/operations/createcontact.js.map +1 -1
  120. package/models/operations/createfeedback.d.ts +25 -0
  121. package/models/operations/createfeedback.d.ts.map +1 -1
  122. package/models/operations/createfeedback.js +28 -1
  123. package/models/operations/createfeedback.js.map +1 -1
  124. package/models/operations/createprompt.d.ts +2199 -748
  125. package/models/operations/createprompt.d.ts.map +1 -1
  126. package/models/operations/createprompt.js +1628 -486
  127. package/models/operations/createprompt.js.map +1 -1
  128. package/models/operations/createpromptsnippet.d.ts +3490 -0
  129. package/models/operations/createpromptsnippet.d.ts.map +1 -0
  130. package/models/operations/createpromptsnippet.js +3018 -0
  131. package/models/operations/createpromptsnippet.js.map +1 -0
  132. package/models/operations/deleteprompt.d.ts +25 -0
  133. package/models/operations/deleteprompt.d.ts.map +1 -1
  134. package/models/operations/deleteprompt.js +28 -1
  135. package/models/operations/deleteprompt.js.map +1 -1
  136. package/models/operations/deletepromptsnippet.d.ts +57 -0
  137. package/models/operations/deletepromptsnippet.d.ts.map +1 -0
  138. package/models/operations/deletepromptsnippet.js +96 -0
  139. package/models/operations/deletepromptsnippet.js.map +1 -0
  140. package/models/operations/deploymentcreatemetric.d.ts +25 -0
  141. package/models/operations/deploymentcreatemetric.d.ts.map +1 -1
  142. package/models/operations/deploymentcreatemetric.js +29 -2
  143. package/models/operations/deploymentcreatemetric.js.map +1 -1
  144. package/models/operations/deploymentgetconfig.d.ts +25 -0
  145. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  146. package/models/operations/deploymentgetconfig.js +31 -4
  147. package/models/operations/deploymentgetconfig.js.map +1 -1
  148. package/models/operations/deploymentinvoke.d.ts +23 -683
  149. package/models/operations/deploymentinvoke.d.ts.map +1 -1
  150. package/models/operations/deploymentinvoke.js +23 -614
  151. package/models/operations/deploymentinvoke.js.map +1 -1
  152. package/models/operations/deployments.d.ts +40 -8
  153. package/models/operations/deployments.d.ts.map +1 -1
  154. package/models/operations/deployments.js +46 -13
  155. package/models/operations/deployments.js.map +1 -1
  156. package/models/operations/deploymentstream.d.ts +1622 -0
  157. package/models/operations/deploymentstream.d.ts.map +1 -0
  158. package/models/operations/deploymentstream.js +1571 -0
  159. package/models/operations/deploymentstream.js.map +1 -0
  160. package/models/operations/filedelete.d.ts +25 -0
  161. package/models/operations/filedelete.d.ts.map +1 -1
  162. package/models/operations/filedelete.js +28 -1
  163. package/models/operations/filedelete.js.map +1 -1
  164. package/models/operations/fileget.d.ts +25 -0
  165. package/models/operations/fileget.d.ts.map +1 -1
  166. package/models/operations/fileget.js +30 -3
  167. package/models/operations/fileget.js.map +1 -1
  168. package/models/operations/filelist.d.ts +26 -5
  169. package/models/operations/filelist.d.ts.map +1 -1
  170. package/models/operations/filelist.js +32 -13
  171. package/models/operations/filelist.js.map +1 -1
  172. package/models/operations/fileupload.d.ts +25 -0
  173. package/models/operations/fileupload.d.ts.map +1 -1
  174. package/models/operations/fileupload.js +30 -3
  175. package/models/operations/fileupload.js.map +1 -1
  176. package/models/operations/findonebykeypromptsnippet.d.ts +2405 -0
  177. package/models/operations/findonebykeypromptsnippet.d.ts.map +1 -0
  178. package/models/operations/findonebykeypromptsnippet.js +2113 -0
  179. package/models/operations/findonebykeypromptsnippet.js.map +1 -0
  180. package/models/operations/findonepromptsnippet.d.ts +891 -4764
  181. package/models/operations/findonepromptsnippet.d.ts.map +1 -1
  182. package/models/operations/findonepromptsnippet.js +966 -4752
  183. package/models/operations/findonepromptsnippet.js.map +1 -1
  184. package/models/operations/getallprompts.d.ts +907 -9115
  185. package/models/operations/getallprompts.d.ts.map +1 -1
  186. package/models/operations/getallprompts.js +923 -8166
  187. package/models/operations/getallprompts.js.map +1 -1
  188. package/models/operations/getoneprompt.d.ts +25 -0
  189. package/models/operations/getoneprompt.d.ts.map +1 -1
  190. package/models/operations/getoneprompt.js +28 -1
  191. package/models/operations/getoneprompt.js.map +1 -1
  192. package/models/operations/index.d.ts +5 -5
  193. package/models/operations/index.d.ts.map +1 -1
  194. package/models/operations/index.js +5 -5
  195. package/models/operations/index.js.map +1 -1
  196. package/models/operations/remoteconfigsgetconfig.d.ts +25 -0
  197. package/models/operations/remoteconfigsgetconfig.d.ts.map +1 -1
  198. package/models/operations/remoteconfigsgetconfig.js +28 -1
  199. package/models/operations/remoteconfigsgetconfig.js.map +1 -1
  200. package/models/operations/updateprompt.d.ts +1363 -5103
  201. package/models/operations/updateprompt.d.ts.map +1 -1
  202. package/models/operations/updateprompt.js +1020 -4666
  203. package/models/operations/updateprompt.js.map +1 -1
  204. package/models/operations/updatepromptsnippet.d.ts +3518 -0
  205. package/models/operations/updatepromptsnippet.d.ts.map +1 -0
  206. package/models/operations/updatepromptsnippet.js +3076 -0
  207. package/models/operations/updatepromptsnippet.js.map +1 -0
  208. package/package.json +8 -8
  209. package/sdk/deployments.d.ts +10 -6
  210. package/sdk/deployments.d.ts.map +1 -1
  211. package/sdk/deployments.js +14 -6
  212. package/sdk/deployments.js.map +1 -1
  213. package/sdk/files.d.ts +0 -11
  214. package/sdk/files.d.ts.map +1 -1
  215. package/sdk/files.js +0 -17
  216. package/sdk/files.js.map +1 -1
  217. package/sdk/prompts.d.ts +7 -15
  218. package/sdk/prompts.d.ts.map +1 -1
  219. package/sdk/prompts.js +12 -26
  220. package/sdk/prompts.js.map +1 -1
  221. package/sdk/promptsnippets.d.ts +25 -0
  222. package/sdk/promptsnippets.d.ts.map +1 -0
  223. package/sdk/promptsnippets.js +47 -0
  224. package/sdk/promptsnippets.js.map +1 -0
  225. package/sdk/sdk.d.ts +3 -3
  226. package/sdk/sdk.d.ts.map +1 -1
  227. package/sdk/sdk.js +3 -3
  228. package/sdk/sdk.js.map +1 -1
  229. package/src/funcs/contactsCreate.ts +7 -2
  230. package/src/funcs/deploymentsGetConfig.ts +7 -2
  231. package/src/funcs/deploymentsInvoke.ts +23 -17
  232. package/src/funcs/{deploymentsAll.ts → deploymentsList.ts} +10 -4
  233. package/src/funcs/deploymentsMetricsCreate.ts +6 -1
  234. package/src/funcs/{filesUpdate.ts → deploymentsStream.ts} +42 -21
  235. package/src/funcs/feedbackCreate.ts +7 -2
  236. package/src/funcs/filesDelete.ts +6 -1
  237. package/src/funcs/filesGet.ts +6 -1
  238. package/src/funcs/filesList.ts +7 -2
  239. package/src/funcs/filesUpload.ts +7 -2
  240. package/src/funcs/{promptsCreateVersion.ts → promptSnippetsCreate.ts} +20 -18
  241. package/src/funcs/{promptsDuplicate.ts → promptSnippetsDelete.ts} +14 -8
  242. package/src/funcs/{promptSnippetsFindOne.ts → promptSnippetsGet.ts} +10 -5
  243. package/{packages/orq-rc/src/funcs/promptSnippetsFindOne.ts → src/funcs/promptSnippetsGetByKey.ts} +20 -12
  244. package/{packages/orq-rc/src/funcs/promptsUpdate.ts → src/funcs/promptSnippetsUpdate.ts} +22 -15
  245. package/src/funcs/promptsCreate.ts +9 -4
  246. package/src/funcs/promptsDelete.ts +7 -2
  247. package/src/funcs/{promptsGetOne.ts → promptsGet.ts} +9 -4
  248. package/src/funcs/{promptsGetAll.ts → promptsList.ts} +21 -14
  249. package/src/funcs/promptsUpdate.ts +7 -2
  250. package/src/funcs/remoteconfigGetConfig.ts +7 -2
  251. package/src/hooks/global.ts +38 -0
  252. package/src/hooks/registration.ts +2 -1
  253. package/src/lib/config.ts +13 -3
  254. package/src/lib/env.ts +32 -0
  255. package/src/lib/retries.ts +0 -1
  256. package/src/lib/schemas.ts +5 -0
  257. package/src/lib/sdks.ts +2 -2
  258. package/src/models/errors/index.ts +1 -0
  259. package/src/models/errors/updatepromptsnippet.ts +71 -0
  260. package/src/models/operations/createcontact.ts +60 -2
  261. package/src/models/operations/createfeedback.ts +58 -0
  262. package/src/models/operations/createprompt.ts +3795 -1345
  263. package/src/models/operations/createpromptsnippet.ts +6189 -0
  264. package/src/models/operations/deleteprompt.ts +58 -0
  265. package/src/models/operations/deletepromptsnippet.ts +127 -0
  266. package/src/models/operations/deploymentcreatemetric.ts +60 -0
  267. package/src/models/operations/deploymentgetconfig.ts +58 -0
  268. package/src/models/operations/deploymentinvoke.ts +182 -1423
  269. package/src/models/operations/deployments.ts +83 -18
  270. package/src/models/operations/deploymentstream.ts +3062 -0
  271. package/src/models/operations/filedelete.ts +58 -0
  272. package/src/models/operations/fileget.ts +56 -2
  273. package/src/models/operations/filelist.ts +61 -17
  274. package/src/models/operations/fileupload.ts +60 -2
  275. package/src/models/operations/findonebykeypromptsnippet.ts +4461 -0
  276. package/src/models/operations/findonepromptsnippet.ts +1779 -11084
  277. package/src/models/operations/getallprompts.ts +1595 -16105
  278. package/src/models/operations/getoneprompt.ts +58 -0
  279. package/src/models/operations/index.ts +5 -5
  280. package/src/models/operations/remoteconfigsgetconfig.ts +60 -0
  281. package/src/models/operations/updateprompt.ts +2571 -10999
  282. package/src/models/operations/updatepromptsnippet.ts +6483 -0
  283. package/src/sdk/deployments.ts +25 -11
  284. package/src/sdk/files.ts +0 -33
  285. package/src/sdk/prompts.ts +15 -45
  286. package/src/sdk/promptsnippets.ts +84 -0
  287. package/src/sdk/sdk.ts +4 -4
  288. package/tsconfig.json +41 -0
  289. package/docs/sdks/prompt/README.md +0 -6
  290. package/docs/sdks/snippets/README.md +0 -84
  291. package/docs/sdks/templates/README.md +0 -80
  292. package/funcs/deploymentsAll.d.ts.map +0 -1
  293. package/funcs/deploymentsAll.js.map +0 -1
  294. package/funcs/filesBulkUpload.d.ts +0 -15
  295. package/funcs/filesBulkUpload.d.ts.map +0 -1
  296. package/funcs/filesBulkUpload.js +0 -109
  297. package/funcs/filesBulkUpload.js.map +0 -1
  298. package/funcs/filesUpdate.js.map +0 -1
  299. package/funcs/promptSnippetsFindOne.d.ts.map +0 -1
  300. package/funcs/promptSnippetsFindOne.js.map +0 -1
  301. package/funcs/promptTemplatesGetAll.d.ts +0 -12
  302. package/funcs/promptTemplatesGetAll.d.ts.map +0 -1
  303. package/funcs/promptTemplatesGetAll.js.map +0 -1
  304. package/funcs/promptsCreateVersion.js.map +0 -1
  305. package/funcs/promptsDuplicate.d.ts.map +0 -1
  306. package/funcs/promptsDuplicate.js.map +0 -1
  307. package/funcs/promptsGetAll.d.ts.map +0 -1
  308. package/funcs/promptsGetAll.js.map +0 -1
  309. package/funcs/promptsGetOne.d.ts.map +0 -1
  310. package/funcs/promptsGetOne.js.map +0 -1
  311. package/models/operations/bulkfileupload.d.ts +0 -173
  312. package/models/operations/bulkfileupload.d.ts.map +0 -1
  313. package/models/operations/bulkfileupload.js +0 -210
  314. package/models/operations/bulkfileupload.js.map +0 -1
  315. package/models/operations/createpromptversion.d.ts +0 -2003
  316. package/models/operations/createpromptversion.d.ts.map +0 -1
  317. package/models/operations/createpromptversion.js +0 -1852
  318. package/models/operations/createpromptversion.js.map +0 -1
  319. package/models/operations/duplicateprompt.d.ts +0 -32
  320. package/models/operations/duplicateprompt.d.ts.map +0 -1
  321. package/models/operations/duplicateprompt.js.map +0 -1
  322. package/models/operations/fileupdate.d.ts +0 -143
  323. package/models/operations/fileupdate.d.ts.map +0 -1
  324. package/models/operations/fileupdate.js +0 -193
  325. package/models/operations/fileupdate.js.map +0 -1
  326. package/models/operations/getallprompttemplates.d.ts +0 -6607
  327. package/models/operations/getallprompttemplates.d.ts.map +0 -1
  328. package/models/operations/getallprompttemplates.js +0 -6225
  329. package/models/operations/getallprompttemplates.js.map +0 -1
  330. package/packages/orq-rc/FUNCTIONS.md +0 -106
  331. package/packages/orq-rc/README.md +0 -564
  332. package/packages/orq-rc/RUNTIMES.md +0 -22
  333. package/packages/orq-rc/docs/sdks/contacts/README.md +0 -84
  334. package/packages/orq-rc/docs/sdks/deployments/README.md +0 -239
  335. package/packages/orq-rc/docs/sdks/feedback/README.md +0 -92
  336. package/packages/orq-rc/docs/sdks/metrics/README.md +0 -86
  337. package/packages/orq-rc/docs/sdks/orq/README.md +0 -10
  338. package/packages/orq-rc/docs/sdks/prompt/README.md +0 -6
  339. package/packages/orq-rc/docs/sdks/prompts/README.md +0 -533
  340. package/packages/orq-rc/docs/sdks/remoteconfig/README.md +0 -80
  341. package/packages/orq-rc/docs/sdks/snippets/README.md +0 -84
  342. package/packages/orq-rc/docs/sdks/templates/README.md +0 -80
  343. package/packages/orq-rc/src/core.ts +0 -13
  344. package/packages/orq-rc/src/funcs/contactsCreate.ts +0 -124
  345. package/packages/orq-rc/src/funcs/deploymentsAll.ts +0 -138
  346. package/packages/orq-rc/src/funcs/deploymentsGetConfig.ts +0 -132
  347. package/packages/orq-rc/src/funcs/deploymentsInvoke.ts +0 -135
  348. package/packages/orq-rc/src/funcs/deploymentsMetricsCreate.ts +0 -132
  349. package/packages/orq-rc/src/funcs/feedbackCreate.ts +0 -124
  350. package/packages/orq-rc/src/funcs/filesBulkUpload.ts +0 -126
  351. package/packages/orq-rc/src/funcs/filesDelete.ts +0 -128
  352. package/packages/orq-rc/src/funcs/filesGet.ts +0 -127
  353. package/packages/orq-rc/src/funcs/filesList.ts +0 -129
  354. package/packages/orq-rc/src/funcs/filesUpdate.ts +0 -128
  355. package/packages/orq-rc/src/funcs/filesUpload.ts +0 -145
  356. package/packages/orq-rc/src/funcs/promptTemplatesGetAll.ts +0 -130
  357. package/packages/orq-rc/src/funcs/promptsCreate.ts +0 -124
  358. package/packages/orq-rc/src/funcs/promptsCreateVersion.ts +0 -129
  359. package/packages/orq-rc/src/funcs/promptsDelete.ts +0 -128
  360. package/packages/orq-rc/src/funcs/promptsDuplicate.ts +0 -128
  361. package/packages/orq-rc/src/funcs/promptsGetAll.ts +0 -126
  362. package/packages/orq-rc/src/funcs/promptsGetOne.ts +0 -128
  363. package/packages/orq-rc/src/funcs/remoteconfigGetConfig.ts +0 -125
  364. package/packages/orq-rc/src/hooks/hooks.ts +0 -132
  365. package/packages/orq-rc/src/hooks/index.ts +0 -6
  366. package/packages/orq-rc/src/hooks/registration.ts +0 -14
  367. package/packages/orq-rc/src/hooks/types.ts +0 -109
  368. package/packages/orq-rc/src/index.ts +0 -7
  369. package/packages/orq-rc/src/lib/base64.ts +0 -37
  370. package/packages/orq-rc/src/lib/config.ts +0 -60
  371. package/packages/orq-rc/src/lib/dlv.ts +0 -53
  372. package/packages/orq-rc/src/lib/encodings.ts +0 -449
  373. package/packages/orq-rc/src/lib/env.ts +0 -41
  374. package/packages/orq-rc/src/lib/event-streams.ts +0 -264
  375. package/packages/orq-rc/src/lib/files.ts +0 -40
  376. package/packages/orq-rc/src/lib/http.ts +0 -323
  377. package/packages/orq-rc/src/lib/is-plain-object.ts +0 -43
  378. package/packages/orq-rc/src/lib/logger.ts +0 -9
  379. package/packages/orq-rc/src/lib/matchers.ts +0 -325
  380. package/packages/orq-rc/src/lib/primitives.ts +0 -122
  381. package/packages/orq-rc/src/lib/retries.ts +0 -219
  382. package/packages/orq-rc/src/lib/schemas.ts +0 -86
  383. package/packages/orq-rc/src/lib/sdks.ts +0 -397
  384. package/packages/orq-rc/src/lib/security.ts +0 -254
  385. package/packages/orq-rc/src/lib/url.ts +0 -33
  386. package/packages/orq-rc/src/models/components/deployments.ts +0 -1673
  387. package/packages/orq-rc/src/models/components/index.ts +0 -6
  388. package/packages/orq-rc/src/models/components/security.ts +0 -71
  389. package/packages/orq-rc/src/models/errors/apierror.ts +0 -27
  390. package/packages/orq-rc/src/models/errors/honoapierror.ts +0 -82
  391. package/packages/orq-rc/src/models/errors/httpclienterrors.ts +0 -62
  392. package/packages/orq-rc/src/models/errors/index.ts +0 -9
  393. package/packages/orq-rc/src/models/errors/sdkvalidationerror.ts +0 -97
  394. package/packages/orq-rc/src/models/errors/updateprompt.ts +0 -71
  395. package/packages/orq-rc/src/models/operations/bulkfileupload.ts +0 -315
  396. package/packages/orq-rc/src/models/operations/createcontact.ts +0 -256
  397. package/packages/orq-rc/src/models/operations/createfeedback.ts +0 -286
  398. package/packages/orq-rc/src/models/operations/createprompt.ts +0 -3461
  399. package/packages/orq-rc/src/models/operations/createpromptversion.ts +0 -3703
  400. package/packages/orq-rc/src/models/operations/deleteprompt.ts +0 -69
  401. package/packages/orq-rc/src/models/operations/deploymentcreatemetric.ts +0 -1790
  402. package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +0 -3483
  403. package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +0 -2385
  404. package/packages/orq-rc/src/models/operations/deployments.ts +0 -2098
  405. package/packages/orq-rc/src/models/operations/duplicateprompt.ts +0 -69
  406. package/packages/orq-rc/src/models/operations/filedelete.ts +0 -78
  407. package/packages/orq-rc/src/models/operations/fileget.ts +0 -222
  408. package/packages/orq-rc/src/models/operations/filelist.ts +0 -333
  409. package/packages/orq-rc/src/models/operations/fileupdate.ts +0 -298
  410. package/packages/orq-rc/src/models/operations/fileupload.ts +0 -322
  411. package/packages/orq-rc/src/models/operations/findonepromptsnippet.ts +0 -13629
  412. package/packages/orq-rc/src/models/operations/getallprompts.ts +0 -18640
  413. package/packages/orq-rc/src/models/operations/getallprompttemplates.ts +0 -13690
  414. package/packages/orq-rc/src/models/operations/getoneprompt.ts +0 -69
  415. package/packages/orq-rc/src/models/operations/index.ts +0 -26
  416. package/packages/orq-rc/src/models/operations/remoteconfigsgetconfig.ts +0 -190
  417. package/packages/orq-rc/src/models/operations/updateprompt.ts +0 -14407
  418. package/packages/orq-rc/src/sdk/contacts.ts +0 -27
  419. package/packages/orq-rc/src/sdk/deployments.ts +0 -75
  420. package/packages/orq-rc/src/sdk/feedback.ts +0 -27
  421. package/packages/orq-rc/src/sdk/files.ts +0 -105
  422. package/packages/orq-rc/src/sdk/index.ts +0 -5
  423. package/packages/orq-rc/src/sdk/metrics.ts +0 -27
  424. package/packages/orq-rc/src/sdk/prompt.ts +0 -19
  425. package/packages/orq-rc/src/sdk/prompts.ts +0 -114
  426. package/packages/orq-rc/src/sdk/remoteconfig.ts +0 -24
  427. package/packages/orq-rc/src/sdk/sdk.ts +0 -49
  428. package/packages/orq-rc/src/sdk/snippets.ts +0 -24
  429. package/packages/orq-rc/src/sdk/templates.ts +0 -24
  430. package/packages/orq-rc/src/types/blobs.ts +0 -31
  431. package/packages/orq-rc/src/types/constdatetime.ts +0 -15
  432. package/packages/orq-rc/src/types/enums.ts +0 -16
  433. package/packages/orq-rc/src/types/fp.ts +0 -50
  434. package/packages/orq-rc/src/types/index.ts +0 -11
  435. package/packages/orq-rc/src/types/operations.ts +0 -105
  436. package/packages/orq-rc/src/types/rfcdate.ts +0 -54
  437. package/packages/orq-rc/src/types/streams.ts +0 -21
  438. package/sdk/prompt.d.ts +0 -10
  439. package/sdk/prompt.d.ts.map +0 -1
  440. package/sdk/prompt.js +0 -19
  441. package/sdk/prompt.js.map +0 -1
  442. package/sdk/snippets.d.ts +0 -9
  443. package/sdk/snippets.d.ts.map +0 -1
  444. package/sdk/snippets.js +0 -19
  445. package/sdk/snippets.js.map +0 -1
  446. package/sdk/templates.d.ts +0 -9
  447. package/sdk/templates.d.ts.map +0 -1
  448. package/sdk/templates.js +0 -19
  449. package/sdk/templates.js.map +0 -1
  450. package/src/funcs/filesBulkUpload.ts +0 -128
  451. package/src/funcs/promptTemplatesGetAll.ts +0 -131
  452. package/src/models/operations/bulkfileupload.ts +0 -315
  453. package/src/models/operations/createpromptversion.ts +0 -3703
  454. package/src/models/operations/duplicateprompt.ts +0 -69
  455. package/src/models/operations/fileupdate.ts +0 -298
  456. package/src/models/operations/getallprompttemplates.ts +0 -13690
  457. package/src/sdk/prompt.ts +0 -19
  458. package/src/sdk/snippets.ts +0 -24
  459. package/src/sdk/templates.ts +0 -24
@@ -0,0 +1,3490 @@
1
+ import * as z from "zod";
2
+ import { ClosedEnum } from "../../types/enums.js";
3
+ import { Result as SafeParseResult } from "../../types/fp.js";
4
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
+ export type CreatePromptSnippetGlobals = {
6
+ contactId?: string | undefined;
7
+ };
8
+ /**
9
+ * The type of the model
10
+ */
11
+ export declare const ModelType: {
12
+ readonly Chat: "chat";
13
+ readonly Completion: "completion";
14
+ readonly Embedding: "embedding";
15
+ readonly Vision: "vision";
16
+ readonly Image: "image";
17
+ readonly Tts: "tts";
18
+ readonly Stt: "stt";
19
+ readonly Rerank: "rerank";
20
+ readonly Moderations: "moderations";
21
+ };
22
+ /**
23
+ * The type of the model
24
+ */
25
+ export type ModelType = ClosedEnum<typeof ModelType>;
26
+ /**
27
+ * Only supported on `image` models.
28
+ */
29
+ export declare const Format: {
30
+ readonly Url: "url";
31
+ readonly B64Json: "b64_json";
32
+ readonly Text: "text";
33
+ readonly JsonObject: "json_object";
34
+ };
35
+ /**
36
+ * Only supported on `image` models.
37
+ */
38
+ export type Format = ClosedEnum<typeof Format>;
39
+ /**
40
+ * Only supported on `image` models.
41
+ */
42
+ export declare const Quality: {
43
+ readonly Standard: "standard";
44
+ readonly Hd: "hd";
45
+ };
46
+ /**
47
+ * Only supported on `image` models.
48
+ */
49
+ export type Quality = ClosedEnum<typeof Quality>;
50
+ export declare const CreatePromptSnippetResponseFormatType: {
51
+ readonly JsonObject: "json_object";
52
+ };
53
+ export type CreatePromptSnippetResponseFormatType = ClosedEnum<typeof CreatePromptSnippetResponseFormatType>;
54
+ export type ResponseFormat2 = {
55
+ type: CreatePromptSnippetResponseFormatType;
56
+ };
57
+ export declare const ResponseFormatType: {
58
+ readonly JsonSchema: "json_schema";
59
+ };
60
+ export type ResponseFormatType = ClosedEnum<typeof ResponseFormatType>;
61
+ export type JsonSchema = {
62
+ name: string;
63
+ strict: boolean;
64
+ schema: {
65
+ [k: string]: any;
66
+ };
67
+ };
68
+ export type ResponseFormat1 = {
69
+ type: ResponseFormatType;
70
+ jsonSchema: JsonSchema;
71
+ };
72
+ /**
73
+ * An object specifying the format that the model must output.
74
+ *
75
+ * @remarks
76
+ *
77
+ * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
78
+ *
79
+ * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
80
+ *
81
+ * 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.
82
+ */
83
+ export type ResponseFormat = ResponseFormat2 | ResponseFormat1;
84
+ /**
85
+ * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
86
+ */
87
+ export declare const PhotoRealVersion: {
88
+ readonly V1: "v1";
89
+ readonly V2: "v2";
90
+ };
91
+ /**
92
+ * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
93
+ */
94
+ export type PhotoRealVersion = ClosedEnum<typeof PhotoRealVersion>;
95
+ /**
96
+ * The format to return the embeddings
97
+ */
98
+ export declare const EncodingFormat: {
99
+ readonly Float: "float";
100
+ readonly Base64: "base64";
101
+ };
102
+ /**
103
+ * The format to return the embeddings
104
+ */
105
+ export type EncodingFormat = ClosedEnum<typeof EncodingFormat>;
106
+ /**
107
+ * Model Parameters: Not all parameters apply to every model
108
+ */
109
+ export type ModelParameters = {
110
+ /**
111
+ * Only supported on `chat` and `completion` models.
112
+ */
113
+ temperature?: number | undefined;
114
+ /**
115
+ * Only supported on `chat` and `completion` models.
116
+ */
117
+ maxTokens?: number | undefined;
118
+ /**
119
+ * Only supported on `chat` and `completion` models.
120
+ */
121
+ topK?: number | undefined;
122
+ /**
123
+ * Only supported on `chat` and `completion` models.
124
+ */
125
+ topP?: number | undefined;
126
+ /**
127
+ * Only supported on `chat` and `completion` models.
128
+ */
129
+ frequencyPenalty?: number | undefined;
130
+ /**
131
+ * Only supported on `chat` and `completion` models.
132
+ */
133
+ presencePenalty?: number | undefined;
134
+ /**
135
+ * Only supported on `image` models.
136
+ */
137
+ numImages?: number | undefined;
138
+ /**
139
+ * Best effort deterministic seed for the model. Currently only OpenAI models support these
140
+ */
141
+ seed?: number | undefined;
142
+ /**
143
+ * Only supported on `image` models.
144
+ */
145
+ format?: Format | undefined;
146
+ /**
147
+ * Only supported on `image` models.
148
+ */
149
+ dimensions?: string | undefined;
150
+ /**
151
+ * Only supported on `image` models.
152
+ */
153
+ quality?: Quality | undefined;
154
+ /**
155
+ * Only supported on `image` models.
156
+ */
157
+ style?: string | undefined;
158
+ /**
159
+ * An object specifying the format that the model must output.
160
+ *
161
+ * @remarks
162
+ *
163
+ * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
164
+ *
165
+ * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
166
+ *
167
+ * 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.
168
+ */
169
+ responseFormat?: ResponseFormat2 | ResponseFormat1 | null | undefined;
170
+ /**
171
+ * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
172
+ */
173
+ photoRealVersion?: PhotoRealVersion | undefined;
174
+ /**
175
+ * The format to return the embeddings
176
+ */
177
+ encodingFormat?: EncodingFormat | undefined;
178
+ };
179
+ export declare const Provider: {
180
+ readonly Cohere: "cohere";
181
+ readonly Openai: "openai";
182
+ readonly Anthropic: "anthropic";
183
+ readonly Huggingface: "huggingface";
184
+ readonly Replicate: "replicate";
185
+ readonly Google: "google";
186
+ readonly GoogleAi: "google-ai";
187
+ readonly Azure: "azure";
188
+ readonly Aws: "aws";
189
+ readonly Anyscale: "anyscale";
190
+ readonly Perplexity: "perplexity";
191
+ readonly Groq: "groq";
192
+ readonly Fal: "fal";
193
+ readonly Leonardoai: "leonardoai";
194
+ readonly Nvidia: "nvidia";
195
+ readonly Jina: "jina";
196
+ readonly Togetherai: "togetherai";
197
+ readonly Elevenlabs: "elevenlabs";
198
+ };
199
+ export type Provider = ClosedEnum<typeof Provider>;
200
+ /**
201
+ * The role of the prompt message
202
+ */
203
+ export declare const CreatePromptSnippetRole: {
204
+ readonly System: "system";
205
+ readonly Assistant: "assistant";
206
+ readonly User: "user";
207
+ readonly Exception: "exception";
208
+ readonly Tool: "tool";
209
+ readonly Prompt: "prompt";
210
+ readonly Correction: "correction";
211
+ readonly ExpectedOutput: "expected_output";
212
+ };
213
+ /**
214
+ * The role of the prompt message
215
+ */
216
+ export type CreatePromptSnippetRole = ClosedEnum<typeof CreatePromptSnippetRole>;
217
+ export declare const CreatePromptSnippet2PromptSnippetsType: {
218
+ readonly ImageUrl: "image_url";
219
+ };
220
+ export type CreatePromptSnippet2PromptSnippetsType = ClosedEnum<typeof CreatePromptSnippet2PromptSnippetsType>;
221
+ export type CreatePromptSnippet2ImageUrl = {
222
+ /**
223
+ * Either a URL of the image or the base64 encoded data URI.
224
+ */
225
+ url: string;
226
+ /**
227
+ * Specifies the detail level of the image. Currently only supported with OpenAI models
228
+ */
229
+ detail?: string | undefined;
230
+ };
231
+ /**
232
+ * The image part of the prompt message. Only supported with vision models.
233
+ */
234
+ export type CreatePromptSnippet22 = {
235
+ type: CreatePromptSnippet2PromptSnippetsType;
236
+ imageUrl: CreatePromptSnippet2ImageUrl;
237
+ };
238
+ export declare const CreatePromptSnippet2Type: {
239
+ readonly Text: "text";
240
+ };
241
+ export type CreatePromptSnippet2Type = ClosedEnum<typeof CreatePromptSnippet2Type>;
242
+ /**
243
+ * Text content part of a prompt message
244
+ */
245
+ export type CreatePromptSnippet21 = {
246
+ type: CreatePromptSnippet2Type;
247
+ text: string;
248
+ };
249
+ export type CreatePromptSnippetContent2 = CreatePromptSnippet21 | CreatePromptSnippet22;
250
+ /**
251
+ * 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.
252
+ */
253
+ export type CreatePromptSnippetContent = string | Array<CreatePromptSnippet21 | CreatePromptSnippet22>;
254
+ export declare const CreatePromptSnippetType: {
255
+ readonly Function: "function";
256
+ };
257
+ export type CreatePromptSnippetType = ClosedEnum<typeof CreatePromptSnippetType>;
258
+ export type CreatePromptSnippetFunction = {
259
+ name: string;
260
+ /**
261
+ * JSON string arguments for the functions
262
+ */
263
+ arguments: string;
264
+ };
265
+ export type CreatePromptSnippetToolCalls = {
266
+ id?: string | undefined;
267
+ index?: number | undefined;
268
+ type: CreatePromptSnippetType;
269
+ function: CreatePromptSnippetFunction;
270
+ };
271
+ export type CreatePromptSnippetMessages = {
272
+ /**
273
+ * The role of the prompt message
274
+ */
275
+ role: CreatePromptSnippetRole;
276
+ /**
277
+ * 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.
278
+ */
279
+ content: string | Array<CreatePromptSnippet21 | CreatePromptSnippet22>;
280
+ toolCalls?: Array<CreatePromptSnippetToolCalls> | undefined;
281
+ };
282
+ /**
283
+ * A list of messages compatible with the openAI schema
284
+ */
285
+ export type PromptConfig = {
286
+ stream?: boolean | undefined;
287
+ model?: string | undefined;
288
+ /**
289
+ * The type of the model
290
+ */
291
+ modelType?: ModelType | undefined;
292
+ /**
293
+ * Model Parameters: Not all parameters apply to every model
294
+ */
295
+ modelParameters?: ModelParameters | undefined;
296
+ provider?: Provider | undefined;
297
+ version?: string | undefined;
298
+ messages: Array<CreatePromptSnippetMessages>;
299
+ };
300
+ export declare const UseCases: {
301
+ readonly Agents: "Agents";
302
+ readonly AgentsSimulations: "Agents simulations";
303
+ readonly APIInteraction: "API interaction";
304
+ readonly AutonomousAgents: "Autonomous Agents";
305
+ readonly Chatbots: "Chatbots";
306
+ readonly Classification: "Classification";
307
+ readonly CodeUnderstanding: "Code understanding";
308
+ readonly CodeWriting: "Code writing";
309
+ readonly DocumentsQA: "Documents QA";
310
+ readonly Conversation: "Conversation";
311
+ readonly Extraction: "Extraction";
312
+ readonly MultiModal: "Multi-modal";
313
+ readonly SelfChecking: "Self-checking";
314
+ readonly Sql: "SQL";
315
+ readonly Summarization: "Summarization";
316
+ readonly Tagging: "Tagging";
317
+ };
318
+ export type UseCases = ClosedEnum<typeof UseCases>;
319
+ /**
320
+ * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
321
+ */
322
+ export declare const Language: {
323
+ readonly Chinese: "Chinese";
324
+ readonly Dutch: "Dutch";
325
+ readonly English: "English";
326
+ readonly French: "French";
327
+ readonly German: "German";
328
+ readonly Russian: "Russian";
329
+ readonly Spanish: "Spanish";
330
+ };
331
+ /**
332
+ * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
333
+ */
334
+ export type Language = ClosedEnum<typeof Language>;
335
+ export type CreatePromptSnippetMetadata = {
336
+ /**
337
+ * 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
338
+ */
339
+ useCases?: Array<UseCases> | undefined;
340
+ /**
341
+ * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
342
+ */
343
+ language?: Language | undefined;
344
+ };
345
+ export type CreatePromptSnippetRequestBody = {
346
+ key: string;
347
+ /**
348
+ * The prompt snippet’s name, meant to be displayable in the UI.
349
+ */
350
+ displayName: string;
351
+ /**
352
+ * The prompt snippet’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
353
+ */
354
+ description?: string | null | undefined;
355
+ /**
356
+ * A list of messages compatible with the openAI schema
357
+ */
358
+ promptConfig: PromptConfig;
359
+ metadata?: CreatePromptSnippetMetadata | undefined;
360
+ /**
361
+ * 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.
362
+ */
363
+ path: string;
364
+ };
365
+ export declare const Owner2: {
366
+ readonly Vendor: "vendor";
367
+ };
368
+ export type Owner2 = ClosedEnum<typeof Owner2>;
369
+ export type Owner = string | Owner2;
370
+ /**
371
+ * The type of the model
372
+ */
373
+ export declare const CreatePromptSnippetModelType: {
374
+ readonly Chat: "chat";
375
+ readonly Completion: "completion";
376
+ readonly Embedding: "embedding";
377
+ readonly Vision: "vision";
378
+ readonly Image: "image";
379
+ readonly Tts: "tts";
380
+ readonly Stt: "stt";
381
+ readonly Rerank: "rerank";
382
+ readonly Moderations: "moderations";
383
+ };
384
+ /**
385
+ * The type of the model
386
+ */
387
+ export type CreatePromptSnippetModelType = ClosedEnum<typeof CreatePromptSnippetModelType>;
388
+ /**
389
+ * Only supported on `image` models.
390
+ */
391
+ export declare const CreatePromptSnippetFormat: {
392
+ readonly Url: "url";
393
+ readonly B64Json: "b64_json";
394
+ readonly Text: "text";
395
+ readonly JsonObject: "json_object";
396
+ };
397
+ /**
398
+ * Only supported on `image` models.
399
+ */
400
+ export type CreatePromptSnippetFormat = ClosedEnum<typeof CreatePromptSnippetFormat>;
401
+ /**
402
+ * Only supported on `image` models.
403
+ */
404
+ export declare const CreatePromptSnippetQuality: {
405
+ readonly Standard: "standard";
406
+ readonly Hd: "hd";
407
+ };
408
+ /**
409
+ * Only supported on `image` models.
410
+ */
411
+ export type CreatePromptSnippetQuality = ClosedEnum<typeof CreatePromptSnippetQuality>;
412
+ export declare const CreatePromptSnippetResponseFormatPromptSnippetsResponseType: {
413
+ readonly JsonObject: "json_object";
414
+ };
415
+ export type CreatePromptSnippetResponseFormatPromptSnippetsResponseType = ClosedEnum<typeof CreatePromptSnippetResponseFormatPromptSnippetsResponseType>;
416
+ export type CreatePromptSnippetResponseFormat2 = {
417
+ type: CreatePromptSnippetResponseFormatPromptSnippetsResponseType;
418
+ };
419
+ export declare const CreatePromptSnippetResponseFormatPromptSnippetsType: {
420
+ readonly JsonSchema: "json_schema";
421
+ };
422
+ export type CreatePromptSnippetResponseFormatPromptSnippetsType = ClosedEnum<typeof CreatePromptSnippetResponseFormatPromptSnippetsType>;
423
+ export type CreatePromptSnippetResponseFormatJsonSchema = {
424
+ name: string;
425
+ strict: boolean;
426
+ schema: {
427
+ [k: string]: any;
428
+ };
429
+ };
430
+ export type CreatePromptSnippetResponseFormat1 = {
431
+ type: CreatePromptSnippetResponseFormatPromptSnippetsType;
432
+ jsonSchema: CreatePromptSnippetResponseFormatJsonSchema;
433
+ };
434
+ /**
435
+ * An object specifying the format that the model must output.
436
+ *
437
+ * @remarks
438
+ *
439
+ * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
440
+ *
441
+ * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
442
+ *
443
+ * 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.
444
+ */
445
+ export type CreatePromptSnippetResponseFormat = CreatePromptSnippetResponseFormat2 | CreatePromptSnippetResponseFormat1;
446
+ /**
447
+ * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
448
+ */
449
+ export declare const CreatePromptSnippetPhotoRealVersion: {
450
+ readonly V1: "v1";
451
+ readonly V2: "v2";
452
+ };
453
+ /**
454
+ * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
455
+ */
456
+ export type CreatePromptSnippetPhotoRealVersion = ClosedEnum<typeof CreatePromptSnippetPhotoRealVersion>;
457
+ /**
458
+ * The format to return the embeddings
459
+ */
460
+ export declare const CreatePromptSnippetEncodingFormat: {
461
+ readonly Float: "float";
462
+ readonly Base64: "base64";
463
+ };
464
+ /**
465
+ * The format to return the embeddings
466
+ */
467
+ export type CreatePromptSnippetEncodingFormat = ClosedEnum<typeof CreatePromptSnippetEncodingFormat>;
468
+ /**
469
+ * Model Parameters: Not all parameters apply to every model
470
+ */
471
+ export type CreatePromptSnippetModelParameters = {
472
+ /**
473
+ * Only supported on `chat` and `completion` models.
474
+ */
475
+ temperature?: number | undefined;
476
+ /**
477
+ * Only supported on `chat` and `completion` models.
478
+ */
479
+ maxTokens?: number | undefined;
480
+ /**
481
+ * Only supported on `chat` and `completion` models.
482
+ */
483
+ topK?: number | undefined;
484
+ /**
485
+ * Only supported on `chat` and `completion` models.
486
+ */
487
+ topP?: number | undefined;
488
+ /**
489
+ * Only supported on `chat` and `completion` models.
490
+ */
491
+ frequencyPenalty?: number | undefined;
492
+ /**
493
+ * Only supported on `chat` and `completion` models.
494
+ */
495
+ presencePenalty?: number | undefined;
496
+ /**
497
+ * Only supported on `image` models.
498
+ */
499
+ numImages?: number | undefined;
500
+ /**
501
+ * Best effort deterministic seed for the model. Currently only OpenAI models support these
502
+ */
503
+ seed?: number | undefined;
504
+ /**
505
+ * Only supported on `image` models.
506
+ */
507
+ format?: CreatePromptSnippetFormat | undefined;
508
+ /**
509
+ * Only supported on `image` models.
510
+ */
511
+ dimensions?: string | undefined;
512
+ /**
513
+ * Only supported on `image` models.
514
+ */
515
+ quality?: CreatePromptSnippetQuality | undefined;
516
+ /**
517
+ * Only supported on `image` models.
518
+ */
519
+ style?: string | undefined;
520
+ /**
521
+ * An object specifying the format that the model must output.
522
+ *
523
+ * @remarks
524
+ *
525
+ * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
526
+ *
527
+ * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
528
+ *
529
+ * 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.
530
+ */
531
+ responseFormat?: CreatePromptSnippetResponseFormat2 | CreatePromptSnippetResponseFormat1 | null | undefined;
532
+ /**
533
+ * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
534
+ */
535
+ photoRealVersion?: CreatePromptSnippetPhotoRealVersion | undefined;
536
+ /**
537
+ * The format to return the embeddings
538
+ */
539
+ encodingFormat?: CreatePromptSnippetEncodingFormat | undefined;
540
+ };
541
+ export declare const CreatePromptSnippetProvider: {
542
+ readonly Cohere: "cohere";
543
+ readonly Openai: "openai";
544
+ readonly Anthropic: "anthropic";
545
+ readonly Huggingface: "huggingface";
546
+ readonly Replicate: "replicate";
547
+ readonly Google: "google";
548
+ readonly GoogleAi: "google-ai";
549
+ readonly Azure: "azure";
550
+ readonly Aws: "aws";
551
+ readonly Anyscale: "anyscale";
552
+ readonly Perplexity: "perplexity";
553
+ readonly Groq: "groq";
554
+ readonly Fal: "fal";
555
+ readonly Leonardoai: "leonardoai";
556
+ readonly Nvidia: "nvidia";
557
+ readonly Jina: "jina";
558
+ readonly Togetherai: "togetherai";
559
+ readonly Elevenlabs: "elevenlabs";
560
+ };
561
+ export type CreatePromptSnippetProvider = ClosedEnum<typeof CreatePromptSnippetProvider>;
562
+ /**
563
+ * The role of the prompt message
564
+ */
565
+ export declare const CreatePromptSnippetPromptSnippetsRole: {
566
+ readonly System: "system";
567
+ readonly Assistant: "assistant";
568
+ readonly User: "user";
569
+ readonly Exception: "exception";
570
+ readonly Tool: "tool";
571
+ readonly Prompt: "prompt";
572
+ readonly Correction: "correction";
573
+ readonly ExpectedOutput: "expected_output";
574
+ };
575
+ /**
576
+ * The role of the prompt message
577
+ */
578
+ export type CreatePromptSnippetPromptSnippetsRole = ClosedEnum<typeof CreatePromptSnippetPromptSnippetsRole>;
579
+ export declare const CreatePromptSnippet2PromptSnippetsResponse200Type: {
580
+ readonly ImageUrl: "image_url";
581
+ };
582
+ export type CreatePromptSnippet2PromptSnippetsResponse200Type = ClosedEnum<typeof CreatePromptSnippet2PromptSnippetsResponse200Type>;
583
+ export type CreatePromptSnippet2PromptSnippetsImageUrl = {
584
+ /**
585
+ * The orq.ai id of the image
586
+ */
587
+ id?: string | undefined;
588
+ /**
589
+ * Either a URL of the image or the base64 encoded data URI.
590
+ */
591
+ url: string;
592
+ /**
593
+ * Specifies the detail level of the image. Currently only supported with OpenAI models
594
+ */
595
+ detail?: string | undefined;
596
+ };
597
+ /**
598
+ * The image part of the prompt message. Only supported with vision models.
599
+ */
600
+ export type CreatePromptSnippet2PromptSnippets2 = {
601
+ type: CreatePromptSnippet2PromptSnippetsResponse200Type;
602
+ imageUrl: CreatePromptSnippet2PromptSnippetsImageUrl;
603
+ };
604
+ export declare const CreatePromptSnippet2PromptSnippetsResponseType: {
605
+ readonly Text: "text";
606
+ };
607
+ export type CreatePromptSnippet2PromptSnippetsResponseType = ClosedEnum<typeof CreatePromptSnippet2PromptSnippetsResponseType>;
608
+ /**
609
+ * Text content part of a prompt message
610
+ */
611
+ export type CreatePromptSnippet2PromptSnippets1 = {
612
+ type: CreatePromptSnippet2PromptSnippetsResponseType;
613
+ text: string;
614
+ };
615
+ export type CreatePromptSnippetContentPromptSnippets2 = CreatePromptSnippet2PromptSnippets1 | CreatePromptSnippet2PromptSnippets2;
616
+ /**
617
+ * 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.
618
+ */
619
+ export type CreatePromptSnippetPromptSnippetsContent = string | Array<CreatePromptSnippet2PromptSnippets1 | CreatePromptSnippet2PromptSnippets2>;
620
+ export declare const CreatePromptSnippetPromptSnippetsResponseType: {
621
+ readonly Function: "function";
622
+ };
623
+ export type CreatePromptSnippetPromptSnippetsResponseType = ClosedEnum<typeof CreatePromptSnippetPromptSnippetsResponseType>;
624
+ export type CreatePromptSnippetPromptSnippetsFunction = {
625
+ name: string;
626
+ /**
627
+ * JSON string arguments for the functions
628
+ */
629
+ arguments: string;
630
+ };
631
+ export type CreatePromptSnippetPromptSnippetsToolCalls = {
632
+ id?: string | undefined;
633
+ index?: number | undefined;
634
+ type: CreatePromptSnippetPromptSnippetsResponseType;
635
+ function: CreatePromptSnippetPromptSnippetsFunction;
636
+ };
637
+ export type CreatePromptSnippetPromptSnippetsMessages = {
638
+ /**
639
+ * The role of the prompt message
640
+ */
641
+ role: CreatePromptSnippetPromptSnippetsRole;
642
+ /**
643
+ * 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.
644
+ */
645
+ content: string | Array<CreatePromptSnippet2PromptSnippets1 | CreatePromptSnippet2PromptSnippets2>;
646
+ toolCalls?: Array<CreatePromptSnippetPromptSnippetsToolCalls> | undefined;
647
+ };
648
+ /**
649
+ * A list of messages compatible with the openAI schema
650
+ */
651
+ export type CreatePromptSnippetPromptConfig = {
652
+ stream?: boolean | undefined;
653
+ model?: string | undefined;
654
+ /**
655
+ * The id of the resource
656
+ */
657
+ modelDbId?: string | undefined;
658
+ /**
659
+ * The type of the model
660
+ */
661
+ modelType?: CreatePromptSnippetModelType | undefined;
662
+ /**
663
+ * Model Parameters: Not all parameters apply to every model
664
+ */
665
+ modelParameters?: CreatePromptSnippetModelParameters | undefined;
666
+ provider?: CreatePromptSnippetProvider | undefined;
667
+ /**
668
+ * The id of the resource
669
+ */
670
+ integrationId?: string | null | undefined;
671
+ version?: string | undefined;
672
+ messages: Array<CreatePromptSnippetPromptSnippetsMessages>;
673
+ };
674
+ export declare const CreatePromptSnippetUseCases: {
675
+ readonly Agents: "Agents";
676
+ readonly AgentsSimulations: "Agents simulations";
677
+ readonly APIInteraction: "API interaction";
678
+ readonly AutonomousAgents: "Autonomous Agents";
679
+ readonly Chatbots: "Chatbots";
680
+ readonly Classification: "Classification";
681
+ readonly CodeUnderstanding: "Code understanding";
682
+ readonly CodeWriting: "Code writing";
683
+ readonly DocumentsQA: "Documents QA";
684
+ readonly Conversation: "Conversation";
685
+ readonly Extraction: "Extraction";
686
+ readonly MultiModal: "Multi-modal";
687
+ readonly SelfChecking: "Self-checking";
688
+ readonly Sql: "SQL";
689
+ readonly Summarization: "Summarization";
690
+ readonly Tagging: "Tagging";
691
+ };
692
+ export type CreatePromptSnippetUseCases = ClosedEnum<typeof CreatePromptSnippetUseCases>;
693
+ /**
694
+ * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
695
+ */
696
+ export declare const CreatePromptSnippetLanguage: {
697
+ readonly Chinese: "Chinese";
698
+ readonly Dutch: "Dutch";
699
+ readonly English: "English";
700
+ readonly French: "French";
701
+ readonly German: "German";
702
+ readonly Russian: "Russian";
703
+ readonly Spanish: "Spanish";
704
+ };
705
+ /**
706
+ * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
707
+ */
708
+ export type CreatePromptSnippetLanguage = ClosedEnum<typeof CreatePromptSnippetLanguage>;
709
+ export type CreatePromptSnippetPromptSnippetsMetadata = {
710
+ /**
711
+ * 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
712
+ */
713
+ useCases?: Array<CreatePromptSnippetUseCases> | undefined;
714
+ /**
715
+ * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
716
+ */
717
+ language?: CreatePromptSnippetLanguage | undefined;
718
+ };
719
+ export declare const CreatePromptSnippetPromptSnippetsType: {
720
+ readonly Snippet: "snippet";
721
+ };
722
+ export type CreatePromptSnippetPromptSnippetsType = ClosedEnum<typeof CreatePromptSnippetPromptSnippetsType>;
723
+ /**
724
+ * The type of the model
725
+ */
726
+ export declare const CreatePromptSnippetPromptSnippetsModelType: {
727
+ readonly Chat: "chat";
728
+ readonly Completion: "completion";
729
+ readonly Embedding: "embedding";
730
+ readonly Vision: "vision";
731
+ readonly Image: "image";
732
+ readonly Tts: "tts";
733
+ readonly Stt: "stt";
734
+ readonly Rerank: "rerank";
735
+ readonly Moderations: "moderations";
736
+ };
737
+ /**
738
+ * The type of the model
739
+ */
740
+ export type CreatePromptSnippetPromptSnippetsModelType = ClosedEnum<typeof CreatePromptSnippetPromptSnippetsModelType>;
741
+ /**
742
+ * Only supported on `image` models.
743
+ */
744
+ export declare const CreatePromptSnippetPromptSnippetsFormat: {
745
+ readonly Url: "url";
746
+ readonly B64Json: "b64_json";
747
+ readonly Text: "text";
748
+ readonly JsonObject: "json_object";
749
+ };
750
+ /**
751
+ * Only supported on `image` models.
752
+ */
753
+ export type CreatePromptSnippetPromptSnippetsFormat = ClosedEnum<typeof CreatePromptSnippetPromptSnippetsFormat>;
754
+ /**
755
+ * Only supported on `image` models.
756
+ */
757
+ export declare const CreatePromptSnippetPromptSnippetsQuality: {
758
+ readonly Standard: "standard";
759
+ readonly Hd: "hd";
760
+ };
761
+ /**
762
+ * Only supported on `image` models.
763
+ */
764
+ export type CreatePromptSnippetPromptSnippetsQuality = ClosedEnum<typeof CreatePromptSnippetPromptSnippetsQuality>;
765
+ export declare const CreatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONType: {
766
+ readonly JsonObject: "json_object";
767
+ };
768
+ export type CreatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONType = ClosedEnum<typeof CreatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONType>;
769
+ export type CreatePromptSnippetResponseFormatPromptSnippets2 = {
770
+ type: CreatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONType;
771
+ };
772
+ export declare const CreatePromptSnippetResponseFormatPromptSnippetsResponse200Type: {
773
+ readonly JsonSchema: "json_schema";
774
+ };
775
+ export type CreatePromptSnippetResponseFormatPromptSnippetsResponse200Type = ClosedEnum<typeof CreatePromptSnippetResponseFormatPromptSnippetsResponse200Type>;
776
+ export type CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema = {
777
+ name: string;
778
+ strict: boolean;
779
+ schema: {
780
+ [k: string]: any;
781
+ };
782
+ };
783
+ export type CreatePromptSnippetResponseFormatPromptSnippets1 = {
784
+ type: CreatePromptSnippetResponseFormatPromptSnippetsResponse200Type;
785
+ jsonSchema: CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema;
786
+ };
787
+ /**
788
+ * An object specifying the format that the model must output.
789
+ *
790
+ * @remarks
791
+ *
792
+ * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
793
+ *
794
+ * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
795
+ *
796
+ * 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.
797
+ */
798
+ export type CreatePromptSnippetPromptSnippetsResponseFormat = CreatePromptSnippetResponseFormatPromptSnippets2 | CreatePromptSnippetResponseFormatPromptSnippets1;
799
+ /**
800
+ * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
801
+ */
802
+ export declare const CreatePromptSnippetPromptSnippetsPhotoRealVersion: {
803
+ readonly V1: "v1";
804
+ readonly V2: "v2";
805
+ };
806
+ /**
807
+ * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
808
+ */
809
+ export type CreatePromptSnippetPromptSnippetsPhotoRealVersion = ClosedEnum<typeof CreatePromptSnippetPromptSnippetsPhotoRealVersion>;
810
+ /**
811
+ * The format to return the embeddings
812
+ */
813
+ export declare const CreatePromptSnippetPromptSnippetsEncodingFormat: {
814
+ readonly Float: "float";
815
+ readonly Base64: "base64";
816
+ };
817
+ /**
818
+ * The format to return the embeddings
819
+ */
820
+ export type CreatePromptSnippetPromptSnippetsEncodingFormat = ClosedEnum<typeof CreatePromptSnippetPromptSnippetsEncodingFormat>;
821
+ /**
822
+ * Model Parameters: Not all parameters apply to every model
823
+ */
824
+ export type CreatePromptSnippetPromptSnippetsModelParameters = {
825
+ /**
826
+ * Only supported on `chat` and `completion` models.
827
+ */
828
+ temperature?: number | undefined;
829
+ /**
830
+ * Only supported on `chat` and `completion` models.
831
+ */
832
+ maxTokens?: number | undefined;
833
+ /**
834
+ * Only supported on `chat` and `completion` models.
835
+ */
836
+ topK?: number | undefined;
837
+ /**
838
+ * Only supported on `chat` and `completion` models.
839
+ */
840
+ topP?: number | undefined;
841
+ /**
842
+ * Only supported on `chat` and `completion` models.
843
+ */
844
+ frequencyPenalty?: number | undefined;
845
+ /**
846
+ * Only supported on `chat` and `completion` models.
847
+ */
848
+ presencePenalty?: number | undefined;
849
+ /**
850
+ * Only supported on `image` models.
851
+ */
852
+ numImages?: number | undefined;
853
+ /**
854
+ * Best effort deterministic seed for the model. Currently only OpenAI models support these
855
+ */
856
+ seed?: number | undefined;
857
+ /**
858
+ * Only supported on `image` models.
859
+ */
860
+ format?: CreatePromptSnippetPromptSnippetsFormat | undefined;
861
+ /**
862
+ * Only supported on `image` models.
863
+ */
864
+ dimensions?: string | undefined;
865
+ /**
866
+ * Only supported on `image` models.
867
+ */
868
+ quality?: CreatePromptSnippetPromptSnippetsQuality | undefined;
869
+ /**
870
+ * Only supported on `image` models.
871
+ */
872
+ style?: string | undefined;
873
+ /**
874
+ * An object specifying the format that the model must output.
875
+ *
876
+ * @remarks
877
+ *
878
+ * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
879
+ *
880
+ * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
881
+ *
882
+ * 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.
883
+ */
884
+ responseFormat?: CreatePromptSnippetResponseFormatPromptSnippets2 | CreatePromptSnippetResponseFormatPromptSnippets1 | null | undefined;
885
+ /**
886
+ * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
887
+ */
888
+ photoRealVersion?: CreatePromptSnippetPromptSnippetsPhotoRealVersion | undefined;
889
+ /**
890
+ * The format to return the embeddings
891
+ */
892
+ encodingFormat?: CreatePromptSnippetPromptSnippetsEncodingFormat | undefined;
893
+ };
894
+ export declare const CreatePromptSnippetPromptSnippetsProvider: {
895
+ readonly Cohere: "cohere";
896
+ readonly Openai: "openai";
897
+ readonly Anthropic: "anthropic";
898
+ readonly Huggingface: "huggingface";
899
+ readonly Replicate: "replicate";
900
+ readonly Google: "google";
901
+ readonly GoogleAi: "google-ai";
902
+ readonly Azure: "azure";
903
+ readonly Aws: "aws";
904
+ readonly Anyscale: "anyscale";
905
+ readonly Perplexity: "perplexity";
906
+ readonly Groq: "groq";
907
+ readonly Fal: "fal";
908
+ readonly Leonardoai: "leonardoai";
909
+ readonly Nvidia: "nvidia";
910
+ readonly Jina: "jina";
911
+ readonly Togetherai: "togetherai";
912
+ readonly Elevenlabs: "elevenlabs";
913
+ };
914
+ export type CreatePromptSnippetPromptSnippetsProvider = ClosedEnum<typeof CreatePromptSnippetPromptSnippetsProvider>;
915
+ /**
916
+ * The role of the prompt message
917
+ */
918
+ export declare const CreatePromptSnippetPromptSnippetsResponseRole: {
919
+ readonly System: "system";
920
+ readonly Assistant: "assistant";
921
+ readonly User: "user";
922
+ readonly Exception: "exception";
923
+ readonly Tool: "tool";
924
+ readonly Prompt: "prompt";
925
+ readonly Correction: "correction";
926
+ readonly ExpectedOutput: "expected_output";
927
+ };
928
+ /**
929
+ * The role of the prompt message
930
+ */
931
+ export type CreatePromptSnippetPromptSnippetsResponseRole = ClosedEnum<typeof CreatePromptSnippetPromptSnippetsResponseRole>;
932
+ export declare const CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONResponseBodyType: {
933
+ readonly ImageUrl: "image_url";
934
+ };
935
+ export type CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONResponseBodyType = ClosedEnum<typeof CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONResponseBodyType>;
936
+ export type CreatePromptSnippet2PromptSnippetsResponseImageUrl = {
937
+ /**
938
+ * The orq.ai id of the image
939
+ */
940
+ id?: string | undefined;
941
+ /**
942
+ * Either a URL of the image or the base64 encoded data URI.
943
+ */
944
+ url: string;
945
+ /**
946
+ * Specifies the detail level of the image. Currently only supported with OpenAI models
947
+ */
948
+ detail?: string | undefined;
949
+ };
950
+ /**
951
+ * The image part of the prompt message. Only supported with vision models.
952
+ */
953
+ export type CreatePromptSnippet2PromptSnippetsResponse2 = {
954
+ type: CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONResponseBodyType;
955
+ imageUrl: CreatePromptSnippet2PromptSnippetsResponseImageUrl;
956
+ };
957
+ export declare const CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONType: {
958
+ readonly Text: "text";
959
+ };
960
+ export type CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONType = ClosedEnum<typeof CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONType>;
961
+ /**
962
+ * Text content part of a prompt message
963
+ */
964
+ export type CreatePromptSnippet2PromptSnippetsResponse1 = {
965
+ type: CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONType;
966
+ text: string;
967
+ };
968
+ export type CreatePromptSnippetContentPromptSnippetsResponse2 = CreatePromptSnippet2PromptSnippetsResponse1 | CreatePromptSnippet2PromptSnippetsResponse2;
969
+ /**
970
+ * 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.
971
+ */
972
+ export type CreatePromptSnippetPromptSnippetsResponseContent = string | Array<CreatePromptSnippet2PromptSnippetsResponse1 | CreatePromptSnippet2PromptSnippetsResponse2>;
973
+ export declare const CreatePromptSnippetPromptSnippetsResponse200Type: {
974
+ readonly Function: "function";
975
+ };
976
+ export type CreatePromptSnippetPromptSnippetsResponse200Type = ClosedEnum<typeof CreatePromptSnippetPromptSnippetsResponse200Type>;
977
+ export type CreatePromptSnippetPromptSnippetsResponseFunction = {
978
+ name: string;
979
+ /**
980
+ * JSON string arguments for the functions
981
+ */
982
+ arguments: string;
983
+ };
984
+ export type CreatePromptSnippetPromptSnippetsResponseToolCalls = {
985
+ id?: string | undefined;
986
+ index?: number | undefined;
987
+ type: CreatePromptSnippetPromptSnippetsResponse200Type;
988
+ function: CreatePromptSnippetPromptSnippetsResponseFunction;
989
+ };
990
+ export type CreatePromptSnippetPromptSnippetsResponseMessages = {
991
+ /**
992
+ * The role of the prompt message
993
+ */
994
+ role: CreatePromptSnippetPromptSnippetsResponseRole;
995
+ /**
996
+ * 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.
997
+ */
998
+ content: string | Array<CreatePromptSnippet2PromptSnippetsResponse1 | CreatePromptSnippet2PromptSnippetsResponse2>;
999
+ toolCalls?: Array<CreatePromptSnippetPromptSnippetsResponseToolCalls> | undefined;
1000
+ };
1001
+ /**
1002
+ * A list of messages compatible with the openAI schema
1003
+ */
1004
+ export type CreatePromptSnippetPromptSnippetsPromptConfig = {
1005
+ stream?: boolean | undefined;
1006
+ model?: string | undefined;
1007
+ /**
1008
+ * The id of the resource
1009
+ */
1010
+ modelDbId?: string | undefined;
1011
+ /**
1012
+ * The type of the model
1013
+ */
1014
+ modelType?: CreatePromptSnippetPromptSnippetsModelType | undefined;
1015
+ /**
1016
+ * Model Parameters: Not all parameters apply to every model
1017
+ */
1018
+ modelParameters?: CreatePromptSnippetPromptSnippetsModelParameters | undefined;
1019
+ provider?: CreatePromptSnippetPromptSnippetsProvider | undefined;
1020
+ /**
1021
+ * The id of the resource
1022
+ */
1023
+ integrationId?: string | null | undefined;
1024
+ version?: string | undefined;
1025
+ messages: Array<CreatePromptSnippetPromptSnippetsResponseMessages>;
1026
+ };
1027
+ export declare const CreatePromptSnippetPromptSnippetsUseCases: {
1028
+ readonly Agents: "Agents";
1029
+ readonly AgentsSimulations: "Agents simulations";
1030
+ readonly APIInteraction: "API interaction";
1031
+ readonly AutonomousAgents: "Autonomous Agents";
1032
+ readonly Chatbots: "Chatbots";
1033
+ readonly Classification: "Classification";
1034
+ readonly CodeUnderstanding: "Code understanding";
1035
+ readonly CodeWriting: "Code writing";
1036
+ readonly DocumentsQA: "Documents QA";
1037
+ readonly Conversation: "Conversation";
1038
+ readonly Extraction: "Extraction";
1039
+ readonly MultiModal: "Multi-modal";
1040
+ readonly SelfChecking: "Self-checking";
1041
+ readonly Sql: "SQL";
1042
+ readonly Summarization: "Summarization";
1043
+ readonly Tagging: "Tagging";
1044
+ };
1045
+ export type CreatePromptSnippetPromptSnippetsUseCases = ClosedEnum<typeof CreatePromptSnippetPromptSnippetsUseCases>;
1046
+ /**
1047
+ * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
1048
+ */
1049
+ export declare const CreatePromptSnippetPromptSnippetsLanguage: {
1050
+ readonly Chinese: "Chinese";
1051
+ readonly Dutch: "Dutch";
1052
+ readonly English: "English";
1053
+ readonly French: "French";
1054
+ readonly German: "German";
1055
+ readonly Russian: "Russian";
1056
+ readonly Spanish: "Spanish";
1057
+ };
1058
+ /**
1059
+ * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
1060
+ */
1061
+ export type CreatePromptSnippetPromptSnippetsLanguage = ClosedEnum<typeof CreatePromptSnippetPromptSnippetsLanguage>;
1062
+ export type CreatePromptSnippetPromptSnippetsResponseMetadata = {
1063
+ /**
1064
+ * 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
1065
+ */
1066
+ useCases?: Array<CreatePromptSnippetPromptSnippetsUseCases> | undefined;
1067
+ /**
1068
+ * The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
1069
+ */
1070
+ language?: CreatePromptSnippetPromptSnippetsLanguage | undefined;
1071
+ };
1072
+ /**
1073
+ * Prompt version model returned from the API
1074
+ */
1075
+ export type Versions = {
1076
+ id: string;
1077
+ /**
1078
+ * The prompt snippet’s name, meant to be displayable in the UI.
1079
+ */
1080
+ displayName: string;
1081
+ /**
1082
+ * The prompt snippet’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
1083
+ */
1084
+ description?: string | null | undefined;
1085
+ /**
1086
+ * A list of messages compatible with the openAI schema
1087
+ */
1088
+ promptConfig: CreatePromptSnippetPromptSnippetsPromptConfig;
1089
+ metadata: CreatePromptSnippetPromptSnippetsResponseMetadata;
1090
+ createdById: string;
1091
+ updatedById: string;
1092
+ timestamp: string;
1093
+ };
1094
+ /**
1095
+ * Prompt snippet model returned from the API
1096
+ */
1097
+ export type CreatePromptSnippetResponseBody = {
1098
+ id: string;
1099
+ owner: string | Owner2;
1100
+ domainId: string;
1101
+ key: string;
1102
+ /**
1103
+ * The prompt snippet’s name, meant to be displayable in the UI.
1104
+ */
1105
+ displayName: string;
1106
+ /**
1107
+ * The prompt snippet’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
1108
+ */
1109
+ description?: string | null | undefined;
1110
+ /**
1111
+ * A list of messages compatible with the openAI schema
1112
+ */
1113
+ promptConfig: CreatePromptSnippetPromptConfig;
1114
+ metadata: CreatePromptSnippetPromptSnippetsMetadata;
1115
+ createdById: string;
1116
+ updatedById: string;
1117
+ /**
1118
+ * The date and time the resource was created
1119
+ */
1120
+ created?: Date | undefined;
1121
+ /**
1122
+ * The date and time the resource was last updated
1123
+ */
1124
+ updated?: Date | undefined;
1125
+ type: CreatePromptSnippetPromptSnippetsType;
1126
+ versions: Array<Versions>;
1127
+ };
1128
+ /** @internal */
1129
+ export declare const CreatePromptSnippetGlobals$inboundSchema: z.ZodType<CreatePromptSnippetGlobals, z.ZodTypeDef, unknown>;
1130
+ /** @internal */
1131
+ export type CreatePromptSnippetGlobals$Outbound = {
1132
+ contactId?: string | undefined;
1133
+ };
1134
+ /** @internal */
1135
+ export declare const CreatePromptSnippetGlobals$outboundSchema: z.ZodType<CreatePromptSnippetGlobals$Outbound, z.ZodTypeDef, CreatePromptSnippetGlobals>;
1136
+ /**
1137
+ * @internal
1138
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1139
+ */
1140
+ export declare namespace CreatePromptSnippetGlobals$ {
1141
+ /** @deprecated use `CreatePromptSnippetGlobals$inboundSchema` instead. */
1142
+ const inboundSchema: z.ZodType<CreatePromptSnippetGlobals, z.ZodTypeDef, unknown>;
1143
+ /** @deprecated use `CreatePromptSnippetGlobals$outboundSchema` instead. */
1144
+ const outboundSchema: z.ZodType<CreatePromptSnippetGlobals$Outbound, z.ZodTypeDef, CreatePromptSnippetGlobals>;
1145
+ /** @deprecated use `CreatePromptSnippetGlobals$Outbound` instead. */
1146
+ type Outbound = CreatePromptSnippetGlobals$Outbound;
1147
+ }
1148
+ export declare function createPromptSnippetGlobalsToJSON(createPromptSnippetGlobals: CreatePromptSnippetGlobals): string;
1149
+ export declare function createPromptSnippetGlobalsFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetGlobals, SDKValidationError>;
1150
+ /** @internal */
1151
+ export declare const ModelType$inboundSchema: z.ZodNativeEnum<typeof ModelType>;
1152
+ /** @internal */
1153
+ export declare const ModelType$outboundSchema: z.ZodNativeEnum<typeof ModelType>;
1154
+ /**
1155
+ * @internal
1156
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1157
+ */
1158
+ export declare namespace ModelType$ {
1159
+ /** @deprecated use `ModelType$inboundSchema` instead. */
1160
+ const inboundSchema: z.ZodNativeEnum<{
1161
+ readonly Chat: "chat";
1162
+ readonly Completion: "completion";
1163
+ readonly Embedding: "embedding";
1164
+ readonly Vision: "vision";
1165
+ readonly Image: "image";
1166
+ readonly Tts: "tts";
1167
+ readonly Stt: "stt";
1168
+ readonly Rerank: "rerank";
1169
+ readonly Moderations: "moderations";
1170
+ }>;
1171
+ /** @deprecated use `ModelType$outboundSchema` instead. */
1172
+ const outboundSchema: z.ZodNativeEnum<{
1173
+ readonly Chat: "chat";
1174
+ readonly Completion: "completion";
1175
+ readonly Embedding: "embedding";
1176
+ readonly Vision: "vision";
1177
+ readonly Image: "image";
1178
+ readonly Tts: "tts";
1179
+ readonly Stt: "stt";
1180
+ readonly Rerank: "rerank";
1181
+ readonly Moderations: "moderations";
1182
+ }>;
1183
+ }
1184
+ /** @internal */
1185
+ export declare const Format$inboundSchema: z.ZodNativeEnum<typeof Format>;
1186
+ /** @internal */
1187
+ export declare const Format$outboundSchema: z.ZodNativeEnum<typeof Format>;
1188
+ /**
1189
+ * @internal
1190
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1191
+ */
1192
+ export declare namespace Format$ {
1193
+ /** @deprecated use `Format$inboundSchema` instead. */
1194
+ const inboundSchema: z.ZodNativeEnum<{
1195
+ readonly Url: "url";
1196
+ readonly B64Json: "b64_json";
1197
+ readonly Text: "text";
1198
+ readonly JsonObject: "json_object";
1199
+ }>;
1200
+ /** @deprecated use `Format$outboundSchema` instead. */
1201
+ const outboundSchema: z.ZodNativeEnum<{
1202
+ readonly Url: "url";
1203
+ readonly B64Json: "b64_json";
1204
+ readonly Text: "text";
1205
+ readonly JsonObject: "json_object";
1206
+ }>;
1207
+ }
1208
+ /** @internal */
1209
+ export declare const Quality$inboundSchema: z.ZodNativeEnum<typeof Quality>;
1210
+ /** @internal */
1211
+ export declare const Quality$outboundSchema: z.ZodNativeEnum<typeof Quality>;
1212
+ /**
1213
+ * @internal
1214
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1215
+ */
1216
+ export declare namespace Quality$ {
1217
+ /** @deprecated use `Quality$inboundSchema` instead. */
1218
+ const inboundSchema: z.ZodNativeEnum<{
1219
+ readonly Standard: "standard";
1220
+ readonly Hd: "hd";
1221
+ }>;
1222
+ /** @deprecated use `Quality$outboundSchema` instead. */
1223
+ const outboundSchema: z.ZodNativeEnum<{
1224
+ readonly Standard: "standard";
1225
+ readonly Hd: "hd";
1226
+ }>;
1227
+ }
1228
+ /** @internal */
1229
+ export declare const CreatePromptSnippetResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetResponseFormatType>;
1230
+ /** @internal */
1231
+ export declare const CreatePromptSnippetResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetResponseFormatType>;
1232
+ /**
1233
+ * @internal
1234
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1235
+ */
1236
+ export declare namespace CreatePromptSnippetResponseFormatType$ {
1237
+ /** @deprecated use `CreatePromptSnippetResponseFormatType$inboundSchema` instead. */
1238
+ const inboundSchema: z.ZodNativeEnum<{
1239
+ readonly JsonObject: "json_object";
1240
+ }>;
1241
+ /** @deprecated use `CreatePromptSnippetResponseFormatType$outboundSchema` instead. */
1242
+ const outboundSchema: z.ZodNativeEnum<{
1243
+ readonly JsonObject: "json_object";
1244
+ }>;
1245
+ }
1246
+ /** @internal */
1247
+ export declare const ResponseFormat2$inboundSchema: z.ZodType<ResponseFormat2, z.ZodTypeDef, unknown>;
1248
+ /** @internal */
1249
+ export type ResponseFormat2$Outbound = {
1250
+ type: string;
1251
+ };
1252
+ /** @internal */
1253
+ export declare const ResponseFormat2$outboundSchema: z.ZodType<ResponseFormat2$Outbound, z.ZodTypeDef, ResponseFormat2>;
1254
+ /**
1255
+ * @internal
1256
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1257
+ */
1258
+ export declare namespace ResponseFormat2$ {
1259
+ /** @deprecated use `ResponseFormat2$inboundSchema` instead. */
1260
+ const inboundSchema: z.ZodType<ResponseFormat2, z.ZodTypeDef, unknown>;
1261
+ /** @deprecated use `ResponseFormat2$outboundSchema` instead. */
1262
+ const outboundSchema: z.ZodType<ResponseFormat2$Outbound, z.ZodTypeDef, ResponseFormat2>;
1263
+ /** @deprecated use `ResponseFormat2$Outbound` instead. */
1264
+ type Outbound = ResponseFormat2$Outbound;
1265
+ }
1266
+ export declare function responseFormat2ToJSON(responseFormat2: ResponseFormat2): string;
1267
+ export declare function responseFormat2FromJSON(jsonString: string): SafeParseResult<ResponseFormat2, SDKValidationError>;
1268
+ /** @internal */
1269
+ export declare const ResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof ResponseFormatType>;
1270
+ /** @internal */
1271
+ export declare const ResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof ResponseFormatType>;
1272
+ /**
1273
+ * @internal
1274
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1275
+ */
1276
+ export declare namespace ResponseFormatType$ {
1277
+ /** @deprecated use `ResponseFormatType$inboundSchema` instead. */
1278
+ const inboundSchema: z.ZodNativeEnum<{
1279
+ readonly JsonSchema: "json_schema";
1280
+ }>;
1281
+ /** @deprecated use `ResponseFormatType$outboundSchema` instead. */
1282
+ const outboundSchema: z.ZodNativeEnum<{
1283
+ readonly JsonSchema: "json_schema";
1284
+ }>;
1285
+ }
1286
+ /** @internal */
1287
+ export declare const JsonSchema$inboundSchema: z.ZodType<JsonSchema, z.ZodTypeDef, unknown>;
1288
+ /** @internal */
1289
+ export type JsonSchema$Outbound = {
1290
+ name: string;
1291
+ strict: boolean;
1292
+ schema: {
1293
+ [k: string]: any;
1294
+ };
1295
+ };
1296
+ /** @internal */
1297
+ export declare const JsonSchema$outboundSchema: z.ZodType<JsonSchema$Outbound, z.ZodTypeDef, JsonSchema>;
1298
+ /**
1299
+ * @internal
1300
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1301
+ */
1302
+ export declare namespace JsonSchema$ {
1303
+ /** @deprecated use `JsonSchema$inboundSchema` instead. */
1304
+ const inboundSchema: z.ZodType<JsonSchema, z.ZodTypeDef, unknown>;
1305
+ /** @deprecated use `JsonSchema$outboundSchema` instead. */
1306
+ const outboundSchema: z.ZodType<JsonSchema$Outbound, z.ZodTypeDef, JsonSchema>;
1307
+ /** @deprecated use `JsonSchema$Outbound` instead. */
1308
+ type Outbound = JsonSchema$Outbound;
1309
+ }
1310
+ export declare function jsonSchemaToJSON(jsonSchema: JsonSchema): string;
1311
+ export declare function jsonSchemaFromJSON(jsonString: string): SafeParseResult<JsonSchema, SDKValidationError>;
1312
+ /** @internal */
1313
+ export declare const ResponseFormat1$inboundSchema: z.ZodType<ResponseFormat1, z.ZodTypeDef, unknown>;
1314
+ /** @internal */
1315
+ export type ResponseFormat1$Outbound = {
1316
+ type: string;
1317
+ json_schema: JsonSchema$Outbound;
1318
+ };
1319
+ /** @internal */
1320
+ export declare const ResponseFormat1$outboundSchema: z.ZodType<ResponseFormat1$Outbound, z.ZodTypeDef, ResponseFormat1>;
1321
+ /**
1322
+ * @internal
1323
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1324
+ */
1325
+ export declare namespace ResponseFormat1$ {
1326
+ /** @deprecated use `ResponseFormat1$inboundSchema` instead. */
1327
+ const inboundSchema: z.ZodType<ResponseFormat1, z.ZodTypeDef, unknown>;
1328
+ /** @deprecated use `ResponseFormat1$outboundSchema` instead. */
1329
+ const outboundSchema: z.ZodType<ResponseFormat1$Outbound, z.ZodTypeDef, ResponseFormat1>;
1330
+ /** @deprecated use `ResponseFormat1$Outbound` instead. */
1331
+ type Outbound = ResponseFormat1$Outbound;
1332
+ }
1333
+ export declare function responseFormat1ToJSON(responseFormat1: ResponseFormat1): string;
1334
+ export declare function responseFormat1FromJSON(jsonString: string): SafeParseResult<ResponseFormat1, SDKValidationError>;
1335
+ /** @internal */
1336
+ export declare const ResponseFormat$inboundSchema: z.ZodType<ResponseFormat, z.ZodTypeDef, unknown>;
1337
+ /** @internal */
1338
+ export type ResponseFormat$Outbound = ResponseFormat2$Outbound | ResponseFormat1$Outbound;
1339
+ /** @internal */
1340
+ export declare const ResponseFormat$outboundSchema: z.ZodType<ResponseFormat$Outbound, z.ZodTypeDef, ResponseFormat>;
1341
+ /**
1342
+ * @internal
1343
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1344
+ */
1345
+ export declare namespace ResponseFormat$ {
1346
+ /** @deprecated use `ResponseFormat$inboundSchema` instead. */
1347
+ const inboundSchema: z.ZodType<ResponseFormat, z.ZodTypeDef, unknown>;
1348
+ /** @deprecated use `ResponseFormat$outboundSchema` instead. */
1349
+ const outboundSchema: z.ZodType<ResponseFormat$Outbound, z.ZodTypeDef, ResponseFormat>;
1350
+ /** @deprecated use `ResponseFormat$Outbound` instead. */
1351
+ type Outbound = ResponseFormat$Outbound;
1352
+ }
1353
+ export declare function responseFormatToJSON(responseFormat: ResponseFormat): string;
1354
+ export declare function responseFormatFromJSON(jsonString: string): SafeParseResult<ResponseFormat, SDKValidationError>;
1355
+ /** @internal */
1356
+ export declare const PhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof PhotoRealVersion>;
1357
+ /** @internal */
1358
+ export declare const PhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof PhotoRealVersion>;
1359
+ /**
1360
+ * @internal
1361
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1362
+ */
1363
+ export declare namespace PhotoRealVersion$ {
1364
+ /** @deprecated use `PhotoRealVersion$inboundSchema` instead. */
1365
+ const inboundSchema: z.ZodNativeEnum<{
1366
+ readonly V1: "v1";
1367
+ readonly V2: "v2";
1368
+ }>;
1369
+ /** @deprecated use `PhotoRealVersion$outboundSchema` instead. */
1370
+ const outboundSchema: z.ZodNativeEnum<{
1371
+ readonly V1: "v1";
1372
+ readonly V2: "v2";
1373
+ }>;
1374
+ }
1375
+ /** @internal */
1376
+ export declare const EncodingFormat$inboundSchema: z.ZodNativeEnum<typeof EncodingFormat>;
1377
+ /** @internal */
1378
+ export declare const EncodingFormat$outboundSchema: z.ZodNativeEnum<typeof EncodingFormat>;
1379
+ /**
1380
+ * @internal
1381
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1382
+ */
1383
+ export declare namespace EncodingFormat$ {
1384
+ /** @deprecated use `EncodingFormat$inboundSchema` instead. */
1385
+ const inboundSchema: z.ZodNativeEnum<{
1386
+ readonly Float: "float";
1387
+ readonly Base64: "base64";
1388
+ }>;
1389
+ /** @deprecated use `EncodingFormat$outboundSchema` instead. */
1390
+ const outboundSchema: z.ZodNativeEnum<{
1391
+ readonly Float: "float";
1392
+ readonly Base64: "base64";
1393
+ }>;
1394
+ }
1395
+ /** @internal */
1396
+ export declare const ModelParameters$inboundSchema: z.ZodType<ModelParameters, z.ZodTypeDef, unknown>;
1397
+ /** @internal */
1398
+ export type ModelParameters$Outbound = {
1399
+ temperature?: number | undefined;
1400
+ maxTokens?: number | undefined;
1401
+ topK?: number | undefined;
1402
+ topP?: number | undefined;
1403
+ frequencyPenalty?: number | undefined;
1404
+ presencePenalty?: number | undefined;
1405
+ numImages?: number | undefined;
1406
+ seed?: number | undefined;
1407
+ format?: string | undefined;
1408
+ dimensions?: string | undefined;
1409
+ quality?: string | undefined;
1410
+ style?: string | undefined;
1411
+ responseFormat?: ResponseFormat2$Outbound | ResponseFormat1$Outbound | null | undefined;
1412
+ photoRealVersion?: string | undefined;
1413
+ encoding_format?: string | undefined;
1414
+ };
1415
+ /** @internal */
1416
+ export declare const ModelParameters$outboundSchema: z.ZodType<ModelParameters$Outbound, z.ZodTypeDef, ModelParameters>;
1417
+ /**
1418
+ * @internal
1419
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1420
+ */
1421
+ export declare namespace ModelParameters$ {
1422
+ /** @deprecated use `ModelParameters$inboundSchema` instead. */
1423
+ const inboundSchema: z.ZodType<ModelParameters, z.ZodTypeDef, unknown>;
1424
+ /** @deprecated use `ModelParameters$outboundSchema` instead. */
1425
+ const outboundSchema: z.ZodType<ModelParameters$Outbound, z.ZodTypeDef, ModelParameters>;
1426
+ /** @deprecated use `ModelParameters$Outbound` instead. */
1427
+ type Outbound = ModelParameters$Outbound;
1428
+ }
1429
+ export declare function modelParametersToJSON(modelParameters: ModelParameters): string;
1430
+ export declare function modelParametersFromJSON(jsonString: string): SafeParseResult<ModelParameters, SDKValidationError>;
1431
+ /** @internal */
1432
+ export declare const Provider$inboundSchema: z.ZodNativeEnum<typeof Provider>;
1433
+ /** @internal */
1434
+ export declare const Provider$outboundSchema: z.ZodNativeEnum<typeof Provider>;
1435
+ /**
1436
+ * @internal
1437
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1438
+ */
1439
+ export declare namespace Provider$ {
1440
+ /** @deprecated use `Provider$inboundSchema` instead. */
1441
+ const inboundSchema: z.ZodNativeEnum<{
1442
+ readonly Cohere: "cohere";
1443
+ readonly Openai: "openai";
1444
+ readonly Anthropic: "anthropic";
1445
+ readonly Huggingface: "huggingface";
1446
+ readonly Replicate: "replicate";
1447
+ readonly Google: "google";
1448
+ readonly GoogleAi: "google-ai";
1449
+ readonly Azure: "azure";
1450
+ readonly Aws: "aws";
1451
+ readonly Anyscale: "anyscale";
1452
+ readonly Perplexity: "perplexity";
1453
+ readonly Groq: "groq";
1454
+ readonly Fal: "fal";
1455
+ readonly Leonardoai: "leonardoai";
1456
+ readonly Nvidia: "nvidia";
1457
+ readonly Jina: "jina";
1458
+ readonly Togetherai: "togetherai";
1459
+ readonly Elevenlabs: "elevenlabs";
1460
+ }>;
1461
+ /** @deprecated use `Provider$outboundSchema` instead. */
1462
+ const outboundSchema: z.ZodNativeEnum<{
1463
+ readonly Cohere: "cohere";
1464
+ readonly Openai: "openai";
1465
+ readonly Anthropic: "anthropic";
1466
+ readonly Huggingface: "huggingface";
1467
+ readonly Replicate: "replicate";
1468
+ readonly Google: "google";
1469
+ readonly GoogleAi: "google-ai";
1470
+ readonly Azure: "azure";
1471
+ readonly Aws: "aws";
1472
+ readonly Anyscale: "anyscale";
1473
+ readonly Perplexity: "perplexity";
1474
+ readonly Groq: "groq";
1475
+ readonly Fal: "fal";
1476
+ readonly Leonardoai: "leonardoai";
1477
+ readonly Nvidia: "nvidia";
1478
+ readonly Jina: "jina";
1479
+ readonly Togetherai: "togetherai";
1480
+ readonly Elevenlabs: "elevenlabs";
1481
+ }>;
1482
+ }
1483
+ /** @internal */
1484
+ export declare const CreatePromptSnippetRole$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetRole>;
1485
+ /** @internal */
1486
+ export declare const CreatePromptSnippetRole$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetRole>;
1487
+ /**
1488
+ * @internal
1489
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1490
+ */
1491
+ export declare namespace CreatePromptSnippetRole$ {
1492
+ /** @deprecated use `CreatePromptSnippetRole$inboundSchema` instead. */
1493
+ const inboundSchema: z.ZodNativeEnum<{
1494
+ readonly System: "system";
1495
+ readonly Assistant: "assistant";
1496
+ readonly User: "user";
1497
+ readonly Exception: "exception";
1498
+ readonly Tool: "tool";
1499
+ readonly Prompt: "prompt";
1500
+ readonly Correction: "correction";
1501
+ readonly ExpectedOutput: "expected_output";
1502
+ }>;
1503
+ /** @deprecated use `CreatePromptSnippetRole$outboundSchema` instead. */
1504
+ const outboundSchema: z.ZodNativeEnum<{
1505
+ readonly System: "system";
1506
+ readonly Assistant: "assistant";
1507
+ readonly User: "user";
1508
+ readonly Exception: "exception";
1509
+ readonly Tool: "tool";
1510
+ readonly Prompt: "prompt";
1511
+ readonly Correction: "correction";
1512
+ readonly ExpectedOutput: "expected_output";
1513
+ }>;
1514
+ }
1515
+ /** @internal */
1516
+ export declare const CreatePromptSnippet2PromptSnippetsType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippet2PromptSnippetsType>;
1517
+ /** @internal */
1518
+ export declare const CreatePromptSnippet2PromptSnippetsType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippet2PromptSnippetsType>;
1519
+ /**
1520
+ * @internal
1521
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1522
+ */
1523
+ export declare namespace CreatePromptSnippet2PromptSnippetsType$ {
1524
+ /** @deprecated use `CreatePromptSnippet2PromptSnippetsType$inboundSchema` instead. */
1525
+ const inboundSchema: z.ZodNativeEnum<{
1526
+ readonly ImageUrl: "image_url";
1527
+ }>;
1528
+ /** @deprecated use `CreatePromptSnippet2PromptSnippetsType$outboundSchema` instead. */
1529
+ const outboundSchema: z.ZodNativeEnum<{
1530
+ readonly ImageUrl: "image_url";
1531
+ }>;
1532
+ }
1533
+ /** @internal */
1534
+ export declare const CreatePromptSnippet2ImageUrl$inboundSchema: z.ZodType<CreatePromptSnippet2ImageUrl, z.ZodTypeDef, unknown>;
1535
+ /** @internal */
1536
+ export type CreatePromptSnippet2ImageUrl$Outbound = {
1537
+ url: string;
1538
+ detail?: string | undefined;
1539
+ };
1540
+ /** @internal */
1541
+ export declare const CreatePromptSnippet2ImageUrl$outboundSchema: z.ZodType<CreatePromptSnippet2ImageUrl$Outbound, z.ZodTypeDef, CreatePromptSnippet2ImageUrl>;
1542
+ /**
1543
+ * @internal
1544
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1545
+ */
1546
+ export declare namespace CreatePromptSnippet2ImageUrl$ {
1547
+ /** @deprecated use `CreatePromptSnippet2ImageUrl$inboundSchema` instead. */
1548
+ const inboundSchema: z.ZodType<CreatePromptSnippet2ImageUrl, z.ZodTypeDef, unknown>;
1549
+ /** @deprecated use `CreatePromptSnippet2ImageUrl$outboundSchema` instead. */
1550
+ const outboundSchema: z.ZodType<CreatePromptSnippet2ImageUrl$Outbound, z.ZodTypeDef, CreatePromptSnippet2ImageUrl>;
1551
+ /** @deprecated use `CreatePromptSnippet2ImageUrl$Outbound` instead. */
1552
+ type Outbound = CreatePromptSnippet2ImageUrl$Outbound;
1553
+ }
1554
+ export declare function createPromptSnippet2ImageUrlToJSON(createPromptSnippet2ImageUrl: CreatePromptSnippet2ImageUrl): string;
1555
+ export declare function createPromptSnippet2ImageUrlFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippet2ImageUrl, SDKValidationError>;
1556
+ /** @internal */
1557
+ export declare const CreatePromptSnippet22$inboundSchema: z.ZodType<CreatePromptSnippet22, z.ZodTypeDef, unknown>;
1558
+ /** @internal */
1559
+ export type CreatePromptSnippet22$Outbound = {
1560
+ type: string;
1561
+ image_url: CreatePromptSnippet2ImageUrl$Outbound;
1562
+ };
1563
+ /** @internal */
1564
+ export declare const CreatePromptSnippet22$outboundSchema: z.ZodType<CreatePromptSnippet22$Outbound, z.ZodTypeDef, CreatePromptSnippet22>;
1565
+ /**
1566
+ * @internal
1567
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1568
+ */
1569
+ export declare namespace CreatePromptSnippet22$ {
1570
+ /** @deprecated use `CreatePromptSnippet22$inboundSchema` instead. */
1571
+ const inboundSchema: z.ZodType<CreatePromptSnippet22, z.ZodTypeDef, unknown>;
1572
+ /** @deprecated use `CreatePromptSnippet22$outboundSchema` instead. */
1573
+ const outboundSchema: z.ZodType<CreatePromptSnippet22$Outbound, z.ZodTypeDef, CreatePromptSnippet22>;
1574
+ /** @deprecated use `CreatePromptSnippet22$Outbound` instead. */
1575
+ type Outbound = CreatePromptSnippet22$Outbound;
1576
+ }
1577
+ export declare function createPromptSnippet22ToJSON(createPromptSnippet22: CreatePromptSnippet22): string;
1578
+ export declare function createPromptSnippet22FromJSON(jsonString: string): SafeParseResult<CreatePromptSnippet22, SDKValidationError>;
1579
+ /** @internal */
1580
+ export declare const CreatePromptSnippet2Type$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippet2Type>;
1581
+ /** @internal */
1582
+ export declare const CreatePromptSnippet2Type$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippet2Type>;
1583
+ /**
1584
+ * @internal
1585
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1586
+ */
1587
+ export declare namespace CreatePromptSnippet2Type$ {
1588
+ /** @deprecated use `CreatePromptSnippet2Type$inboundSchema` instead. */
1589
+ const inboundSchema: z.ZodNativeEnum<{
1590
+ readonly Text: "text";
1591
+ }>;
1592
+ /** @deprecated use `CreatePromptSnippet2Type$outboundSchema` instead. */
1593
+ const outboundSchema: z.ZodNativeEnum<{
1594
+ readonly Text: "text";
1595
+ }>;
1596
+ }
1597
+ /** @internal */
1598
+ export declare const CreatePromptSnippet21$inboundSchema: z.ZodType<CreatePromptSnippet21, z.ZodTypeDef, unknown>;
1599
+ /** @internal */
1600
+ export type CreatePromptSnippet21$Outbound = {
1601
+ type: string;
1602
+ text: string;
1603
+ };
1604
+ /** @internal */
1605
+ export declare const CreatePromptSnippet21$outboundSchema: z.ZodType<CreatePromptSnippet21$Outbound, z.ZodTypeDef, CreatePromptSnippet21>;
1606
+ /**
1607
+ * @internal
1608
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1609
+ */
1610
+ export declare namespace CreatePromptSnippet21$ {
1611
+ /** @deprecated use `CreatePromptSnippet21$inboundSchema` instead. */
1612
+ const inboundSchema: z.ZodType<CreatePromptSnippet21, z.ZodTypeDef, unknown>;
1613
+ /** @deprecated use `CreatePromptSnippet21$outboundSchema` instead. */
1614
+ const outboundSchema: z.ZodType<CreatePromptSnippet21$Outbound, z.ZodTypeDef, CreatePromptSnippet21>;
1615
+ /** @deprecated use `CreatePromptSnippet21$Outbound` instead. */
1616
+ type Outbound = CreatePromptSnippet21$Outbound;
1617
+ }
1618
+ export declare function createPromptSnippet21ToJSON(createPromptSnippet21: CreatePromptSnippet21): string;
1619
+ export declare function createPromptSnippet21FromJSON(jsonString: string): SafeParseResult<CreatePromptSnippet21, SDKValidationError>;
1620
+ /** @internal */
1621
+ export declare const CreatePromptSnippetContent2$inboundSchema: z.ZodType<CreatePromptSnippetContent2, z.ZodTypeDef, unknown>;
1622
+ /** @internal */
1623
+ export type CreatePromptSnippetContent2$Outbound = CreatePromptSnippet21$Outbound | CreatePromptSnippet22$Outbound;
1624
+ /** @internal */
1625
+ export declare const CreatePromptSnippetContent2$outboundSchema: z.ZodType<CreatePromptSnippetContent2$Outbound, z.ZodTypeDef, CreatePromptSnippetContent2>;
1626
+ /**
1627
+ * @internal
1628
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1629
+ */
1630
+ export declare namespace CreatePromptSnippetContent2$ {
1631
+ /** @deprecated use `CreatePromptSnippetContent2$inboundSchema` instead. */
1632
+ const inboundSchema: z.ZodType<CreatePromptSnippetContent2, z.ZodTypeDef, unknown>;
1633
+ /** @deprecated use `CreatePromptSnippetContent2$outboundSchema` instead. */
1634
+ const outboundSchema: z.ZodType<CreatePromptSnippetContent2$Outbound, z.ZodTypeDef, CreatePromptSnippetContent2>;
1635
+ /** @deprecated use `CreatePromptSnippetContent2$Outbound` instead. */
1636
+ type Outbound = CreatePromptSnippetContent2$Outbound;
1637
+ }
1638
+ export declare function createPromptSnippetContent2ToJSON(createPromptSnippetContent2: CreatePromptSnippetContent2): string;
1639
+ export declare function createPromptSnippetContent2FromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetContent2, SDKValidationError>;
1640
+ /** @internal */
1641
+ export declare const CreatePromptSnippetContent$inboundSchema: z.ZodType<CreatePromptSnippetContent, z.ZodTypeDef, unknown>;
1642
+ /** @internal */
1643
+ export type CreatePromptSnippetContent$Outbound = string | Array<CreatePromptSnippet21$Outbound | CreatePromptSnippet22$Outbound>;
1644
+ /** @internal */
1645
+ export declare const CreatePromptSnippetContent$outboundSchema: z.ZodType<CreatePromptSnippetContent$Outbound, z.ZodTypeDef, CreatePromptSnippetContent>;
1646
+ /**
1647
+ * @internal
1648
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1649
+ */
1650
+ export declare namespace CreatePromptSnippetContent$ {
1651
+ /** @deprecated use `CreatePromptSnippetContent$inboundSchema` instead. */
1652
+ const inboundSchema: z.ZodType<CreatePromptSnippetContent, z.ZodTypeDef, unknown>;
1653
+ /** @deprecated use `CreatePromptSnippetContent$outboundSchema` instead. */
1654
+ const outboundSchema: z.ZodType<CreatePromptSnippetContent$Outbound, z.ZodTypeDef, CreatePromptSnippetContent>;
1655
+ /** @deprecated use `CreatePromptSnippetContent$Outbound` instead. */
1656
+ type Outbound = CreatePromptSnippetContent$Outbound;
1657
+ }
1658
+ export declare function createPromptSnippetContentToJSON(createPromptSnippetContent: CreatePromptSnippetContent): string;
1659
+ export declare function createPromptSnippetContentFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetContent, SDKValidationError>;
1660
+ /** @internal */
1661
+ export declare const CreatePromptSnippetType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetType>;
1662
+ /** @internal */
1663
+ export declare const CreatePromptSnippetType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetType>;
1664
+ /**
1665
+ * @internal
1666
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1667
+ */
1668
+ export declare namespace CreatePromptSnippetType$ {
1669
+ /** @deprecated use `CreatePromptSnippetType$inboundSchema` instead. */
1670
+ const inboundSchema: z.ZodNativeEnum<{
1671
+ readonly Function: "function";
1672
+ }>;
1673
+ /** @deprecated use `CreatePromptSnippetType$outboundSchema` instead. */
1674
+ const outboundSchema: z.ZodNativeEnum<{
1675
+ readonly Function: "function";
1676
+ }>;
1677
+ }
1678
+ /** @internal */
1679
+ export declare const CreatePromptSnippetFunction$inboundSchema: z.ZodType<CreatePromptSnippetFunction, z.ZodTypeDef, unknown>;
1680
+ /** @internal */
1681
+ export type CreatePromptSnippetFunction$Outbound = {
1682
+ name: string;
1683
+ arguments: string;
1684
+ };
1685
+ /** @internal */
1686
+ export declare const CreatePromptSnippetFunction$outboundSchema: z.ZodType<CreatePromptSnippetFunction$Outbound, z.ZodTypeDef, CreatePromptSnippetFunction>;
1687
+ /**
1688
+ * @internal
1689
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1690
+ */
1691
+ export declare namespace CreatePromptSnippetFunction$ {
1692
+ /** @deprecated use `CreatePromptSnippetFunction$inboundSchema` instead. */
1693
+ const inboundSchema: z.ZodType<CreatePromptSnippetFunction, z.ZodTypeDef, unknown>;
1694
+ /** @deprecated use `CreatePromptSnippetFunction$outboundSchema` instead. */
1695
+ const outboundSchema: z.ZodType<CreatePromptSnippetFunction$Outbound, z.ZodTypeDef, CreatePromptSnippetFunction>;
1696
+ /** @deprecated use `CreatePromptSnippetFunction$Outbound` instead. */
1697
+ type Outbound = CreatePromptSnippetFunction$Outbound;
1698
+ }
1699
+ export declare function createPromptSnippetFunctionToJSON(createPromptSnippetFunction: CreatePromptSnippetFunction): string;
1700
+ export declare function createPromptSnippetFunctionFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetFunction, SDKValidationError>;
1701
+ /** @internal */
1702
+ export declare const CreatePromptSnippetToolCalls$inboundSchema: z.ZodType<CreatePromptSnippetToolCalls, z.ZodTypeDef, unknown>;
1703
+ /** @internal */
1704
+ export type CreatePromptSnippetToolCalls$Outbound = {
1705
+ id?: string | undefined;
1706
+ index?: number | undefined;
1707
+ type: string;
1708
+ function: CreatePromptSnippetFunction$Outbound;
1709
+ };
1710
+ /** @internal */
1711
+ export declare const CreatePromptSnippetToolCalls$outboundSchema: z.ZodType<CreatePromptSnippetToolCalls$Outbound, z.ZodTypeDef, CreatePromptSnippetToolCalls>;
1712
+ /**
1713
+ * @internal
1714
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1715
+ */
1716
+ export declare namespace CreatePromptSnippetToolCalls$ {
1717
+ /** @deprecated use `CreatePromptSnippetToolCalls$inboundSchema` instead. */
1718
+ const inboundSchema: z.ZodType<CreatePromptSnippetToolCalls, z.ZodTypeDef, unknown>;
1719
+ /** @deprecated use `CreatePromptSnippetToolCalls$outboundSchema` instead. */
1720
+ const outboundSchema: z.ZodType<CreatePromptSnippetToolCalls$Outbound, z.ZodTypeDef, CreatePromptSnippetToolCalls>;
1721
+ /** @deprecated use `CreatePromptSnippetToolCalls$Outbound` instead. */
1722
+ type Outbound = CreatePromptSnippetToolCalls$Outbound;
1723
+ }
1724
+ export declare function createPromptSnippetToolCallsToJSON(createPromptSnippetToolCalls: CreatePromptSnippetToolCalls): string;
1725
+ export declare function createPromptSnippetToolCallsFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetToolCalls, SDKValidationError>;
1726
+ /** @internal */
1727
+ export declare const CreatePromptSnippetMessages$inboundSchema: z.ZodType<CreatePromptSnippetMessages, z.ZodTypeDef, unknown>;
1728
+ /** @internal */
1729
+ export type CreatePromptSnippetMessages$Outbound = {
1730
+ role: string;
1731
+ content: string | Array<CreatePromptSnippet21$Outbound | CreatePromptSnippet22$Outbound>;
1732
+ tool_calls?: Array<CreatePromptSnippetToolCalls$Outbound> | undefined;
1733
+ };
1734
+ /** @internal */
1735
+ export declare const CreatePromptSnippetMessages$outboundSchema: z.ZodType<CreatePromptSnippetMessages$Outbound, z.ZodTypeDef, CreatePromptSnippetMessages>;
1736
+ /**
1737
+ * @internal
1738
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1739
+ */
1740
+ export declare namespace CreatePromptSnippetMessages$ {
1741
+ /** @deprecated use `CreatePromptSnippetMessages$inboundSchema` instead. */
1742
+ const inboundSchema: z.ZodType<CreatePromptSnippetMessages, z.ZodTypeDef, unknown>;
1743
+ /** @deprecated use `CreatePromptSnippetMessages$outboundSchema` instead. */
1744
+ const outboundSchema: z.ZodType<CreatePromptSnippetMessages$Outbound, z.ZodTypeDef, CreatePromptSnippetMessages>;
1745
+ /** @deprecated use `CreatePromptSnippetMessages$Outbound` instead. */
1746
+ type Outbound = CreatePromptSnippetMessages$Outbound;
1747
+ }
1748
+ export declare function createPromptSnippetMessagesToJSON(createPromptSnippetMessages: CreatePromptSnippetMessages): string;
1749
+ export declare function createPromptSnippetMessagesFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetMessages, SDKValidationError>;
1750
+ /** @internal */
1751
+ export declare const PromptConfig$inboundSchema: z.ZodType<PromptConfig, z.ZodTypeDef, unknown>;
1752
+ /** @internal */
1753
+ export type PromptConfig$Outbound = {
1754
+ stream?: boolean | undefined;
1755
+ model?: string | undefined;
1756
+ model_type?: string | undefined;
1757
+ model_parameters?: ModelParameters$Outbound | undefined;
1758
+ provider?: string | undefined;
1759
+ version?: string | undefined;
1760
+ messages: Array<CreatePromptSnippetMessages$Outbound>;
1761
+ };
1762
+ /** @internal */
1763
+ export declare const PromptConfig$outboundSchema: z.ZodType<PromptConfig$Outbound, z.ZodTypeDef, PromptConfig>;
1764
+ /**
1765
+ * @internal
1766
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1767
+ */
1768
+ export declare namespace PromptConfig$ {
1769
+ /** @deprecated use `PromptConfig$inboundSchema` instead. */
1770
+ const inboundSchema: z.ZodType<PromptConfig, z.ZodTypeDef, unknown>;
1771
+ /** @deprecated use `PromptConfig$outboundSchema` instead. */
1772
+ const outboundSchema: z.ZodType<PromptConfig$Outbound, z.ZodTypeDef, PromptConfig>;
1773
+ /** @deprecated use `PromptConfig$Outbound` instead. */
1774
+ type Outbound = PromptConfig$Outbound;
1775
+ }
1776
+ export declare function promptConfigToJSON(promptConfig: PromptConfig): string;
1777
+ export declare function promptConfigFromJSON(jsonString: string): SafeParseResult<PromptConfig, SDKValidationError>;
1778
+ /** @internal */
1779
+ export declare const UseCases$inboundSchema: z.ZodNativeEnum<typeof UseCases>;
1780
+ /** @internal */
1781
+ export declare const UseCases$outboundSchema: z.ZodNativeEnum<typeof UseCases>;
1782
+ /**
1783
+ * @internal
1784
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1785
+ */
1786
+ export declare namespace UseCases$ {
1787
+ /** @deprecated use `UseCases$inboundSchema` instead. */
1788
+ const inboundSchema: z.ZodNativeEnum<{
1789
+ readonly Agents: "Agents";
1790
+ readonly AgentsSimulations: "Agents simulations";
1791
+ readonly APIInteraction: "API interaction";
1792
+ readonly AutonomousAgents: "Autonomous Agents";
1793
+ readonly Chatbots: "Chatbots";
1794
+ readonly Classification: "Classification";
1795
+ readonly CodeUnderstanding: "Code understanding";
1796
+ readonly CodeWriting: "Code writing";
1797
+ readonly DocumentsQA: "Documents QA";
1798
+ readonly Conversation: "Conversation";
1799
+ readonly Extraction: "Extraction";
1800
+ readonly MultiModal: "Multi-modal";
1801
+ readonly SelfChecking: "Self-checking";
1802
+ readonly Sql: "SQL";
1803
+ readonly Summarization: "Summarization";
1804
+ readonly Tagging: "Tagging";
1805
+ }>;
1806
+ /** @deprecated use `UseCases$outboundSchema` instead. */
1807
+ const outboundSchema: z.ZodNativeEnum<{
1808
+ readonly Agents: "Agents";
1809
+ readonly AgentsSimulations: "Agents simulations";
1810
+ readonly APIInteraction: "API interaction";
1811
+ readonly AutonomousAgents: "Autonomous Agents";
1812
+ readonly Chatbots: "Chatbots";
1813
+ readonly Classification: "Classification";
1814
+ readonly CodeUnderstanding: "Code understanding";
1815
+ readonly CodeWriting: "Code writing";
1816
+ readonly DocumentsQA: "Documents QA";
1817
+ readonly Conversation: "Conversation";
1818
+ readonly Extraction: "Extraction";
1819
+ readonly MultiModal: "Multi-modal";
1820
+ readonly SelfChecking: "Self-checking";
1821
+ readonly Sql: "SQL";
1822
+ readonly Summarization: "Summarization";
1823
+ readonly Tagging: "Tagging";
1824
+ }>;
1825
+ }
1826
+ /** @internal */
1827
+ export declare const Language$inboundSchema: z.ZodNativeEnum<typeof Language>;
1828
+ /** @internal */
1829
+ export declare const Language$outboundSchema: z.ZodNativeEnum<typeof Language>;
1830
+ /**
1831
+ * @internal
1832
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1833
+ */
1834
+ export declare namespace Language$ {
1835
+ /** @deprecated use `Language$inboundSchema` instead. */
1836
+ const inboundSchema: z.ZodNativeEnum<{
1837
+ readonly Chinese: "Chinese";
1838
+ readonly Dutch: "Dutch";
1839
+ readonly English: "English";
1840
+ readonly French: "French";
1841
+ readonly German: "German";
1842
+ readonly Russian: "Russian";
1843
+ readonly Spanish: "Spanish";
1844
+ }>;
1845
+ /** @deprecated use `Language$outboundSchema` instead. */
1846
+ const outboundSchema: z.ZodNativeEnum<{
1847
+ readonly Chinese: "Chinese";
1848
+ readonly Dutch: "Dutch";
1849
+ readonly English: "English";
1850
+ readonly French: "French";
1851
+ readonly German: "German";
1852
+ readonly Russian: "Russian";
1853
+ readonly Spanish: "Spanish";
1854
+ }>;
1855
+ }
1856
+ /** @internal */
1857
+ export declare const CreatePromptSnippetMetadata$inboundSchema: z.ZodType<CreatePromptSnippetMetadata, z.ZodTypeDef, unknown>;
1858
+ /** @internal */
1859
+ export type CreatePromptSnippetMetadata$Outbound = {
1860
+ use_cases?: Array<string> | undefined;
1861
+ language?: string | undefined;
1862
+ };
1863
+ /** @internal */
1864
+ export declare const CreatePromptSnippetMetadata$outboundSchema: z.ZodType<CreatePromptSnippetMetadata$Outbound, z.ZodTypeDef, CreatePromptSnippetMetadata>;
1865
+ /**
1866
+ * @internal
1867
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1868
+ */
1869
+ export declare namespace CreatePromptSnippetMetadata$ {
1870
+ /** @deprecated use `CreatePromptSnippetMetadata$inboundSchema` instead. */
1871
+ const inboundSchema: z.ZodType<CreatePromptSnippetMetadata, z.ZodTypeDef, unknown>;
1872
+ /** @deprecated use `CreatePromptSnippetMetadata$outboundSchema` instead. */
1873
+ const outboundSchema: z.ZodType<CreatePromptSnippetMetadata$Outbound, z.ZodTypeDef, CreatePromptSnippetMetadata>;
1874
+ /** @deprecated use `CreatePromptSnippetMetadata$Outbound` instead. */
1875
+ type Outbound = CreatePromptSnippetMetadata$Outbound;
1876
+ }
1877
+ export declare function createPromptSnippetMetadataToJSON(createPromptSnippetMetadata: CreatePromptSnippetMetadata): string;
1878
+ export declare function createPromptSnippetMetadataFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetMetadata, SDKValidationError>;
1879
+ /** @internal */
1880
+ export declare const CreatePromptSnippetRequestBody$inboundSchema: z.ZodType<CreatePromptSnippetRequestBody, z.ZodTypeDef, unknown>;
1881
+ /** @internal */
1882
+ export type CreatePromptSnippetRequestBody$Outbound = {
1883
+ key: string;
1884
+ display_name: string;
1885
+ description?: string | null | undefined;
1886
+ prompt_config: PromptConfig$Outbound;
1887
+ metadata?: CreatePromptSnippetMetadata$Outbound | undefined;
1888
+ path: string;
1889
+ };
1890
+ /** @internal */
1891
+ export declare const CreatePromptSnippetRequestBody$outboundSchema: z.ZodType<CreatePromptSnippetRequestBody$Outbound, z.ZodTypeDef, CreatePromptSnippetRequestBody>;
1892
+ /**
1893
+ * @internal
1894
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1895
+ */
1896
+ export declare namespace CreatePromptSnippetRequestBody$ {
1897
+ /** @deprecated use `CreatePromptSnippetRequestBody$inboundSchema` instead. */
1898
+ const inboundSchema: z.ZodType<CreatePromptSnippetRequestBody, z.ZodTypeDef, unknown>;
1899
+ /** @deprecated use `CreatePromptSnippetRequestBody$outboundSchema` instead. */
1900
+ const outboundSchema: z.ZodType<CreatePromptSnippetRequestBody$Outbound, z.ZodTypeDef, CreatePromptSnippetRequestBody>;
1901
+ /** @deprecated use `CreatePromptSnippetRequestBody$Outbound` instead. */
1902
+ type Outbound = CreatePromptSnippetRequestBody$Outbound;
1903
+ }
1904
+ export declare function createPromptSnippetRequestBodyToJSON(createPromptSnippetRequestBody: CreatePromptSnippetRequestBody): string;
1905
+ export declare function createPromptSnippetRequestBodyFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetRequestBody, SDKValidationError>;
1906
+ /** @internal */
1907
+ export declare const Owner2$inboundSchema: z.ZodNativeEnum<typeof Owner2>;
1908
+ /** @internal */
1909
+ export declare const Owner2$outboundSchema: z.ZodNativeEnum<typeof Owner2>;
1910
+ /**
1911
+ * @internal
1912
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1913
+ */
1914
+ export declare namespace Owner2$ {
1915
+ /** @deprecated use `Owner2$inboundSchema` instead. */
1916
+ const inboundSchema: z.ZodNativeEnum<{
1917
+ readonly Vendor: "vendor";
1918
+ }>;
1919
+ /** @deprecated use `Owner2$outboundSchema` instead. */
1920
+ const outboundSchema: z.ZodNativeEnum<{
1921
+ readonly Vendor: "vendor";
1922
+ }>;
1923
+ }
1924
+ /** @internal */
1925
+ export declare const Owner$inboundSchema: z.ZodType<Owner, z.ZodTypeDef, unknown>;
1926
+ /** @internal */
1927
+ export type Owner$Outbound = string | string;
1928
+ /** @internal */
1929
+ export declare const Owner$outboundSchema: z.ZodType<Owner$Outbound, z.ZodTypeDef, Owner>;
1930
+ /**
1931
+ * @internal
1932
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1933
+ */
1934
+ export declare namespace Owner$ {
1935
+ /** @deprecated use `Owner$inboundSchema` instead. */
1936
+ const inboundSchema: z.ZodType<string, z.ZodTypeDef, unknown>;
1937
+ /** @deprecated use `Owner$outboundSchema` instead. */
1938
+ const outboundSchema: z.ZodType<string, z.ZodTypeDef, string>;
1939
+ /** @deprecated use `Owner$Outbound` instead. */
1940
+ type Outbound = Owner$Outbound;
1941
+ }
1942
+ export declare function ownerToJSON(owner: Owner): string;
1943
+ export declare function ownerFromJSON(jsonString: string): SafeParseResult<Owner, SDKValidationError>;
1944
+ /** @internal */
1945
+ export declare const CreatePromptSnippetModelType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetModelType>;
1946
+ /** @internal */
1947
+ export declare const CreatePromptSnippetModelType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetModelType>;
1948
+ /**
1949
+ * @internal
1950
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1951
+ */
1952
+ export declare namespace CreatePromptSnippetModelType$ {
1953
+ /** @deprecated use `CreatePromptSnippetModelType$inboundSchema` instead. */
1954
+ const inboundSchema: z.ZodNativeEnum<{
1955
+ readonly Chat: "chat";
1956
+ readonly Completion: "completion";
1957
+ readonly Embedding: "embedding";
1958
+ readonly Vision: "vision";
1959
+ readonly Image: "image";
1960
+ readonly Tts: "tts";
1961
+ readonly Stt: "stt";
1962
+ readonly Rerank: "rerank";
1963
+ readonly Moderations: "moderations";
1964
+ }>;
1965
+ /** @deprecated use `CreatePromptSnippetModelType$outboundSchema` instead. */
1966
+ const outboundSchema: z.ZodNativeEnum<{
1967
+ readonly Chat: "chat";
1968
+ readonly Completion: "completion";
1969
+ readonly Embedding: "embedding";
1970
+ readonly Vision: "vision";
1971
+ readonly Image: "image";
1972
+ readonly Tts: "tts";
1973
+ readonly Stt: "stt";
1974
+ readonly Rerank: "rerank";
1975
+ readonly Moderations: "moderations";
1976
+ }>;
1977
+ }
1978
+ /** @internal */
1979
+ export declare const CreatePromptSnippetFormat$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetFormat>;
1980
+ /** @internal */
1981
+ export declare const CreatePromptSnippetFormat$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetFormat>;
1982
+ /**
1983
+ * @internal
1984
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1985
+ */
1986
+ export declare namespace CreatePromptSnippetFormat$ {
1987
+ /** @deprecated use `CreatePromptSnippetFormat$inboundSchema` instead. */
1988
+ const inboundSchema: z.ZodNativeEnum<{
1989
+ readonly Url: "url";
1990
+ readonly B64Json: "b64_json";
1991
+ readonly Text: "text";
1992
+ readonly JsonObject: "json_object";
1993
+ }>;
1994
+ /** @deprecated use `CreatePromptSnippetFormat$outboundSchema` instead. */
1995
+ const outboundSchema: z.ZodNativeEnum<{
1996
+ readonly Url: "url";
1997
+ readonly B64Json: "b64_json";
1998
+ readonly Text: "text";
1999
+ readonly JsonObject: "json_object";
2000
+ }>;
2001
+ }
2002
+ /** @internal */
2003
+ export declare const CreatePromptSnippetQuality$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetQuality>;
2004
+ /** @internal */
2005
+ export declare const CreatePromptSnippetQuality$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetQuality>;
2006
+ /**
2007
+ * @internal
2008
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2009
+ */
2010
+ export declare namespace CreatePromptSnippetQuality$ {
2011
+ /** @deprecated use `CreatePromptSnippetQuality$inboundSchema` instead. */
2012
+ const inboundSchema: z.ZodNativeEnum<{
2013
+ readonly Standard: "standard";
2014
+ readonly Hd: "hd";
2015
+ }>;
2016
+ /** @deprecated use `CreatePromptSnippetQuality$outboundSchema` instead. */
2017
+ const outboundSchema: z.ZodNativeEnum<{
2018
+ readonly Standard: "standard";
2019
+ readonly Hd: "hd";
2020
+ }>;
2021
+ }
2022
+ /** @internal */
2023
+ export declare const CreatePromptSnippetResponseFormatPromptSnippetsResponseType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetResponseFormatPromptSnippetsResponseType>;
2024
+ /** @internal */
2025
+ export declare const CreatePromptSnippetResponseFormatPromptSnippetsResponseType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetResponseFormatPromptSnippetsResponseType>;
2026
+ /**
2027
+ * @internal
2028
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2029
+ */
2030
+ export declare namespace CreatePromptSnippetResponseFormatPromptSnippetsResponseType$ {
2031
+ /** @deprecated use `CreatePromptSnippetResponseFormatPromptSnippetsResponseType$inboundSchema` instead. */
2032
+ const inboundSchema: z.ZodNativeEnum<{
2033
+ readonly JsonObject: "json_object";
2034
+ }>;
2035
+ /** @deprecated use `CreatePromptSnippetResponseFormatPromptSnippetsResponseType$outboundSchema` instead. */
2036
+ const outboundSchema: z.ZodNativeEnum<{
2037
+ readonly JsonObject: "json_object";
2038
+ }>;
2039
+ }
2040
+ /** @internal */
2041
+ export declare const CreatePromptSnippetResponseFormat2$inboundSchema: z.ZodType<CreatePromptSnippetResponseFormat2, z.ZodTypeDef, unknown>;
2042
+ /** @internal */
2043
+ export type CreatePromptSnippetResponseFormat2$Outbound = {
2044
+ type: string;
2045
+ };
2046
+ /** @internal */
2047
+ export declare const CreatePromptSnippetResponseFormat2$outboundSchema: z.ZodType<CreatePromptSnippetResponseFormat2$Outbound, z.ZodTypeDef, CreatePromptSnippetResponseFormat2>;
2048
+ /**
2049
+ * @internal
2050
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2051
+ */
2052
+ export declare namespace CreatePromptSnippetResponseFormat2$ {
2053
+ /** @deprecated use `CreatePromptSnippetResponseFormat2$inboundSchema` instead. */
2054
+ const inboundSchema: z.ZodType<CreatePromptSnippetResponseFormat2, z.ZodTypeDef, unknown>;
2055
+ /** @deprecated use `CreatePromptSnippetResponseFormat2$outboundSchema` instead. */
2056
+ const outboundSchema: z.ZodType<CreatePromptSnippetResponseFormat2$Outbound, z.ZodTypeDef, CreatePromptSnippetResponseFormat2>;
2057
+ /** @deprecated use `CreatePromptSnippetResponseFormat2$Outbound` instead. */
2058
+ type Outbound = CreatePromptSnippetResponseFormat2$Outbound;
2059
+ }
2060
+ export declare function createPromptSnippetResponseFormat2ToJSON(createPromptSnippetResponseFormat2: CreatePromptSnippetResponseFormat2): string;
2061
+ export declare function createPromptSnippetResponseFormat2FromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetResponseFormat2, SDKValidationError>;
2062
+ /** @internal */
2063
+ export declare const CreatePromptSnippetResponseFormatPromptSnippetsType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetResponseFormatPromptSnippetsType>;
2064
+ /** @internal */
2065
+ export declare const CreatePromptSnippetResponseFormatPromptSnippetsType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetResponseFormatPromptSnippetsType>;
2066
+ /**
2067
+ * @internal
2068
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2069
+ */
2070
+ export declare namespace CreatePromptSnippetResponseFormatPromptSnippetsType$ {
2071
+ /** @deprecated use `CreatePromptSnippetResponseFormatPromptSnippetsType$inboundSchema` instead. */
2072
+ const inboundSchema: z.ZodNativeEnum<{
2073
+ readonly JsonSchema: "json_schema";
2074
+ }>;
2075
+ /** @deprecated use `CreatePromptSnippetResponseFormatPromptSnippetsType$outboundSchema` instead. */
2076
+ const outboundSchema: z.ZodNativeEnum<{
2077
+ readonly JsonSchema: "json_schema";
2078
+ }>;
2079
+ }
2080
+ /** @internal */
2081
+ export declare const CreatePromptSnippetResponseFormatJsonSchema$inboundSchema: z.ZodType<CreatePromptSnippetResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
2082
+ /** @internal */
2083
+ export type CreatePromptSnippetResponseFormatJsonSchema$Outbound = {
2084
+ name: string;
2085
+ strict: boolean;
2086
+ schema: {
2087
+ [k: string]: any;
2088
+ };
2089
+ };
2090
+ /** @internal */
2091
+ export declare const CreatePromptSnippetResponseFormatJsonSchema$outboundSchema: z.ZodType<CreatePromptSnippetResponseFormatJsonSchema$Outbound, z.ZodTypeDef, CreatePromptSnippetResponseFormatJsonSchema>;
2092
+ /**
2093
+ * @internal
2094
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2095
+ */
2096
+ export declare namespace CreatePromptSnippetResponseFormatJsonSchema$ {
2097
+ /** @deprecated use `CreatePromptSnippetResponseFormatJsonSchema$inboundSchema` instead. */
2098
+ const inboundSchema: z.ZodType<CreatePromptSnippetResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
2099
+ /** @deprecated use `CreatePromptSnippetResponseFormatJsonSchema$outboundSchema` instead. */
2100
+ const outboundSchema: z.ZodType<CreatePromptSnippetResponseFormatJsonSchema$Outbound, z.ZodTypeDef, CreatePromptSnippetResponseFormatJsonSchema>;
2101
+ /** @deprecated use `CreatePromptSnippetResponseFormatJsonSchema$Outbound` instead. */
2102
+ type Outbound = CreatePromptSnippetResponseFormatJsonSchema$Outbound;
2103
+ }
2104
+ export declare function createPromptSnippetResponseFormatJsonSchemaToJSON(createPromptSnippetResponseFormatJsonSchema: CreatePromptSnippetResponseFormatJsonSchema): string;
2105
+ export declare function createPromptSnippetResponseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetResponseFormatJsonSchema, SDKValidationError>;
2106
+ /** @internal */
2107
+ export declare const CreatePromptSnippetResponseFormat1$inboundSchema: z.ZodType<CreatePromptSnippetResponseFormat1, z.ZodTypeDef, unknown>;
2108
+ /** @internal */
2109
+ export type CreatePromptSnippetResponseFormat1$Outbound = {
2110
+ type: string;
2111
+ json_schema: CreatePromptSnippetResponseFormatJsonSchema$Outbound;
2112
+ };
2113
+ /** @internal */
2114
+ export declare const CreatePromptSnippetResponseFormat1$outboundSchema: z.ZodType<CreatePromptSnippetResponseFormat1$Outbound, z.ZodTypeDef, CreatePromptSnippetResponseFormat1>;
2115
+ /**
2116
+ * @internal
2117
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2118
+ */
2119
+ export declare namespace CreatePromptSnippetResponseFormat1$ {
2120
+ /** @deprecated use `CreatePromptSnippetResponseFormat1$inboundSchema` instead. */
2121
+ const inboundSchema: z.ZodType<CreatePromptSnippetResponseFormat1, z.ZodTypeDef, unknown>;
2122
+ /** @deprecated use `CreatePromptSnippetResponseFormat1$outboundSchema` instead. */
2123
+ const outboundSchema: z.ZodType<CreatePromptSnippetResponseFormat1$Outbound, z.ZodTypeDef, CreatePromptSnippetResponseFormat1>;
2124
+ /** @deprecated use `CreatePromptSnippetResponseFormat1$Outbound` instead. */
2125
+ type Outbound = CreatePromptSnippetResponseFormat1$Outbound;
2126
+ }
2127
+ export declare function createPromptSnippetResponseFormat1ToJSON(createPromptSnippetResponseFormat1: CreatePromptSnippetResponseFormat1): string;
2128
+ export declare function createPromptSnippetResponseFormat1FromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetResponseFormat1, SDKValidationError>;
2129
+ /** @internal */
2130
+ export declare const CreatePromptSnippetResponseFormat$inboundSchema: z.ZodType<CreatePromptSnippetResponseFormat, z.ZodTypeDef, unknown>;
2131
+ /** @internal */
2132
+ export type CreatePromptSnippetResponseFormat$Outbound = CreatePromptSnippetResponseFormat2$Outbound | CreatePromptSnippetResponseFormat1$Outbound;
2133
+ /** @internal */
2134
+ export declare const CreatePromptSnippetResponseFormat$outboundSchema: z.ZodType<CreatePromptSnippetResponseFormat$Outbound, z.ZodTypeDef, CreatePromptSnippetResponseFormat>;
2135
+ /**
2136
+ * @internal
2137
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2138
+ */
2139
+ export declare namespace CreatePromptSnippetResponseFormat$ {
2140
+ /** @deprecated use `CreatePromptSnippetResponseFormat$inboundSchema` instead. */
2141
+ const inboundSchema: z.ZodType<CreatePromptSnippetResponseFormat, z.ZodTypeDef, unknown>;
2142
+ /** @deprecated use `CreatePromptSnippetResponseFormat$outboundSchema` instead. */
2143
+ const outboundSchema: z.ZodType<CreatePromptSnippetResponseFormat$Outbound, z.ZodTypeDef, CreatePromptSnippetResponseFormat>;
2144
+ /** @deprecated use `CreatePromptSnippetResponseFormat$Outbound` instead. */
2145
+ type Outbound = CreatePromptSnippetResponseFormat$Outbound;
2146
+ }
2147
+ export declare function createPromptSnippetResponseFormatToJSON(createPromptSnippetResponseFormat: CreatePromptSnippetResponseFormat): string;
2148
+ export declare function createPromptSnippetResponseFormatFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetResponseFormat, SDKValidationError>;
2149
+ /** @internal */
2150
+ export declare const CreatePromptSnippetPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPhotoRealVersion>;
2151
+ /** @internal */
2152
+ export declare const CreatePromptSnippetPhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPhotoRealVersion>;
2153
+ /**
2154
+ * @internal
2155
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2156
+ */
2157
+ export declare namespace CreatePromptSnippetPhotoRealVersion$ {
2158
+ /** @deprecated use `CreatePromptSnippetPhotoRealVersion$inboundSchema` instead. */
2159
+ const inboundSchema: z.ZodNativeEnum<{
2160
+ readonly V1: "v1";
2161
+ readonly V2: "v2";
2162
+ }>;
2163
+ /** @deprecated use `CreatePromptSnippetPhotoRealVersion$outboundSchema` instead. */
2164
+ const outboundSchema: z.ZodNativeEnum<{
2165
+ readonly V1: "v1";
2166
+ readonly V2: "v2";
2167
+ }>;
2168
+ }
2169
+ /** @internal */
2170
+ export declare const CreatePromptSnippetEncodingFormat$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetEncodingFormat>;
2171
+ /** @internal */
2172
+ export declare const CreatePromptSnippetEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetEncodingFormat>;
2173
+ /**
2174
+ * @internal
2175
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2176
+ */
2177
+ export declare namespace CreatePromptSnippetEncodingFormat$ {
2178
+ /** @deprecated use `CreatePromptSnippetEncodingFormat$inboundSchema` instead. */
2179
+ const inboundSchema: z.ZodNativeEnum<{
2180
+ readonly Float: "float";
2181
+ readonly Base64: "base64";
2182
+ }>;
2183
+ /** @deprecated use `CreatePromptSnippetEncodingFormat$outboundSchema` instead. */
2184
+ const outboundSchema: z.ZodNativeEnum<{
2185
+ readonly Float: "float";
2186
+ readonly Base64: "base64";
2187
+ }>;
2188
+ }
2189
+ /** @internal */
2190
+ export declare const CreatePromptSnippetModelParameters$inboundSchema: z.ZodType<CreatePromptSnippetModelParameters, z.ZodTypeDef, unknown>;
2191
+ /** @internal */
2192
+ export type CreatePromptSnippetModelParameters$Outbound = {
2193
+ temperature?: number | undefined;
2194
+ maxTokens?: number | undefined;
2195
+ topK?: number | undefined;
2196
+ topP?: number | undefined;
2197
+ frequencyPenalty?: number | undefined;
2198
+ presencePenalty?: number | undefined;
2199
+ numImages?: number | undefined;
2200
+ seed?: number | undefined;
2201
+ format?: string | undefined;
2202
+ dimensions?: string | undefined;
2203
+ quality?: string | undefined;
2204
+ style?: string | undefined;
2205
+ responseFormat?: CreatePromptSnippetResponseFormat2$Outbound | CreatePromptSnippetResponseFormat1$Outbound | null | undefined;
2206
+ photoRealVersion?: string | undefined;
2207
+ encoding_format?: string | undefined;
2208
+ };
2209
+ /** @internal */
2210
+ export declare const CreatePromptSnippetModelParameters$outboundSchema: z.ZodType<CreatePromptSnippetModelParameters$Outbound, z.ZodTypeDef, CreatePromptSnippetModelParameters>;
2211
+ /**
2212
+ * @internal
2213
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2214
+ */
2215
+ export declare namespace CreatePromptSnippetModelParameters$ {
2216
+ /** @deprecated use `CreatePromptSnippetModelParameters$inboundSchema` instead. */
2217
+ const inboundSchema: z.ZodType<CreatePromptSnippetModelParameters, z.ZodTypeDef, unknown>;
2218
+ /** @deprecated use `CreatePromptSnippetModelParameters$outboundSchema` instead. */
2219
+ const outboundSchema: z.ZodType<CreatePromptSnippetModelParameters$Outbound, z.ZodTypeDef, CreatePromptSnippetModelParameters>;
2220
+ /** @deprecated use `CreatePromptSnippetModelParameters$Outbound` instead. */
2221
+ type Outbound = CreatePromptSnippetModelParameters$Outbound;
2222
+ }
2223
+ export declare function createPromptSnippetModelParametersToJSON(createPromptSnippetModelParameters: CreatePromptSnippetModelParameters): string;
2224
+ export declare function createPromptSnippetModelParametersFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetModelParameters, SDKValidationError>;
2225
+ /** @internal */
2226
+ export declare const CreatePromptSnippetProvider$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetProvider>;
2227
+ /** @internal */
2228
+ export declare const CreatePromptSnippetProvider$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetProvider>;
2229
+ /**
2230
+ * @internal
2231
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2232
+ */
2233
+ export declare namespace CreatePromptSnippetProvider$ {
2234
+ /** @deprecated use `CreatePromptSnippetProvider$inboundSchema` instead. */
2235
+ const inboundSchema: z.ZodNativeEnum<{
2236
+ readonly Cohere: "cohere";
2237
+ readonly Openai: "openai";
2238
+ readonly Anthropic: "anthropic";
2239
+ readonly Huggingface: "huggingface";
2240
+ readonly Replicate: "replicate";
2241
+ readonly Google: "google";
2242
+ readonly GoogleAi: "google-ai";
2243
+ readonly Azure: "azure";
2244
+ readonly Aws: "aws";
2245
+ readonly Anyscale: "anyscale";
2246
+ readonly Perplexity: "perplexity";
2247
+ readonly Groq: "groq";
2248
+ readonly Fal: "fal";
2249
+ readonly Leonardoai: "leonardoai";
2250
+ readonly Nvidia: "nvidia";
2251
+ readonly Jina: "jina";
2252
+ readonly Togetherai: "togetherai";
2253
+ readonly Elevenlabs: "elevenlabs";
2254
+ }>;
2255
+ /** @deprecated use `CreatePromptSnippetProvider$outboundSchema` instead. */
2256
+ const outboundSchema: z.ZodNativeEnum<{
2257
+ readonly Cohere: "cohere";
2258
+ readonly Openai: "openai";
2259
+ readonly Anthropic: "anthropic";
2260
+ readonly Huggingface: "huggingface";
2261
+ readonly Replicate: "replicate";
2262
+ readonly Google: "google";
2263
+ readonly GoogleAi: "google-ai";
2264
+ readonly Azure: "azure";
2265
+ readonly Aws: "aws";
2266
+ readonly Anyscale: "anyscale";
2267
+ readonly Perplexity: "perplexity";
2268
+ readonly Groq: "groq";
2269
+ readonly Fal: "fal";
2270
+ readonly Leonardoai: "leonardoai";
2271
+ readonly Nvidia: "nvidia";
2272
+ readonly Jina: "jina";
2273
+ readonly Togetherai: "togetherai";
2274
+ readonly Elevenlabs: "elevenlabs";
2275
+ }>;
2276
+ }
2277
+ /** @internal */
2278
+ export declare const CreatePromptSnippetPromptSnippetsRole$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsRole>;
2279
+ /** @internal */
2280
+ export declare const CreatePromptSnippetPromptSnippetsRole$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsRole>;
2281
+ /**
2282
+ * @internal
2283
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2284
+ */
2285
+ export declare namespace CreatePromptSnippetPromptSnippetsRole$ {
2286
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsRole$inboundSchema` instead. */
2287
+ const inboundSchema: z.ZodNativeEnum<{
2288
+ readonly System: "system";
2289
+ readonly Assistant: "assistant";
2290
+ readonly User: "user";
2291
+ readonly Exception: "exception";
2292
+ readonly Tool: "tool";
2293
+ readonly Prompt: "prompt";
2294
+ readonly Correction: "correction";
2295
+ readonly ExpectedOutput: "expected_output";
2296
+ }>;
2297
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsRole$outboundSchema` instead. */
2298
+ const outboundSchema: z.ZodNativeEnum<{
2299
+ readonly System: "system";
2300
+ readonly Assistant: "assistant";
2301
+ readonly User: "user";
2302
+ readonly Exception: "exception";
2303
+ readonly Tool: "tool";
2304
+ readonly Prompt: "prompt";
2305
+ readonly Correction: "correction";
2306
+ readonly ExpectedOutput: "expected_output";
2307
+ }>;
2308
+ }
2309
+ /** @internal */
2310
+ export declare const CreatePromptSnippet2PromptSnippetsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippet2PromptSnippetsResponse200Type>;
2311
+ /** @internal */
2312
+ export declare const CreatePromptSnippet2PromptSnippetsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippet2PromptSnippetsResponse200Type>;
2313
+ /**
2314
+ * @internal
2315
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2316
+ */
2317
+ export declare namespace CreatePromptSnippet2PromptSnippetsResponse200Type$ {
2318
+ /** @deprecated use `CreatePromptSnippet2PromptSnippetsResponse200Type$inboundSchema` instead. */
2319
+ const inboundSchema: z.ZodNativeEnum<{
2320
+ readonly ImageUrl: "image_url";
2321
+ }>;
2322
+ /** @deprecated use `CreatePromptSnippet2PromptSnippetsResponse200Type$outboundSchema` instead. */
2323
+ const outboundSchema: z.ZodNativeEnum<{
2324
+ readonly ImageUrl: "image_url";
2325
+ }>;
2326
+ }
2327
+ /** @internal */
2328
+ export declare const CreatePromptSnippet2PromptSnippetsImageUrl$inboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippetsImageUrl, z.ZodTypeDef, unknown>;
2329
+ /** @internal */
2330
+ export type CreatePromptSnippet2PromptSnippetsImageUrl$Outbound = {
2331
+ id?: string | undefined;
2332
+ url: string;
2333
+ detail?: string | undefined;
2334
+ };
2335
+ /** @internal */
2336
+ export declare const CreatePromptSnippet2PromptSnippetsImageUrl$outboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippetsImageUrl$Outbound, z.ZodTypeDef, CreatePromptSnippet2PromptSnippetsImageUrl>;
2337
+ /**
2338
+ * @internal
2339
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2340
+ */
2341
+ export declare namespace CreatePromptSnippet2PromptSnippetsImageUrl$ {
2342
+ /** @deprecated use `CreatePromptSnippet2PromptSnippetsImageUrl$inboundSchema` instead. */
2343
+ const inboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippetsImageUrl, z.ZodTypeDef, unknown>;
2344
+ /** @deprecated use `CreatePromptSnippet2PromptSnippetsImageUrl$outboundSchema` instead. */
2345
+ const outboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippetsImageUrl$Outbound, z.ZodTypeDef, CreatePromptSnippet2PromptSnippetsImageUrl>;
2346
+ /** @deprecated use `CreatePromptSnippet2PromptSnippetsImageUrl$Outbound` instead. */
2347
+ type Outbound = CreatePromptSnippet2PromptSnippetsImageUrl$Outbound;
2348
+ }
2349
+ export declare function createPromptSnippet2PromptSnippetsImageUrlToJSON(createPromptSnippet2PromptSnippetsImageUrl: CreatePromptSnippet2PromptSnippetsImageUrl): string;
2350
+ export declare function createPromptSnippet2PromptSnippetsImageUrlFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippet2PromptSnippetsImageUrl, SDKValidationError>;
2351
+ /** @internal */
2352
+ export declare const CreatePromptSnippet2PromptSnippets2$inboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippets2, z.ZodTypeDef, unknown>;
2353
+ /** @internal */
2354
+ export type CreatePromptSnippet2PromptSnippets2$Outbound = {
2355
+ type: string;
2356
+ image_url: CreatePromptSnippet2PromptSnippetsImageUrl$Outbound;
2357
+ };
2358
+ /** @internal */
2359
+ export declare const CreatePromptSnippet2PromptSnippets2$outboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippets2$Outbound, z.ZodTypeDef, CreatePromptSnippet2PromptSnippets2>;
2360
+ /**
2361
+ * @internal
2362
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2363
+ */
2364
+ export declare namespace CreatePromptSnippet2PromptSnippets2$ {
2365
+ /** @deprecated use `CreatePromptSnippet2PromptSnippets2$inboundSchema` instead. */
2366
+ const inboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippets2, z.ZodTypeDef, unknown>;
2367
+ /** @deprecated use `CreatePromptSnippet2PromptSnippets2$outboundSchema` instead. */
2368
+ const outboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippets2$Outbound, z.ZodTypeDef, CreatePromptSnippet2PromptSnippets2>;
2369
+ /** @deprecated use `CreatePromptSnippet2PromptSnippets2$Outbound` instead. */
2370
+ type Outbound = CreatePromptSnippet2PromptSnippets2$Outbound;
2371
+ }
2372
+ export declare function createPromptSnippet2PromptSnippets2ToJSON(createPromptSnippet2PromptSnippets2: CreatePromptSnippet2PromptSnippets2): string;
2373
+ export declare function createPromptSnippet2PromptSnippets2FromJSON(jsonString: string): SafeParseResult<CreatePromptSnippet2PromptSnippets2, SDKValidationError>;
2374
+ /** @internal */
2375
+ export declare const CreatePromptSnippet2PromptSnippetsResponseType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippet2PromptSnippetsResponseType>;
2376
+ /** @internal */
2377
+ export declare const CreatePromptSnippet2PromptSnippetsResponseType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippet2PromptSnippetsResponseType>;
2378
+ /**
2379
+ * @internal
2380
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2381
+ */
2382
+ export declare namespace CreatePromptSnippet2PromptSnippetsResponseType$ {
2383
+ /** @deprecated use `CreatePromptSnippet2PromptSnippetsResponseType$inboundSchema` instead. */
2384
+ const inboundSchema: z.ZodNativeEnum<{
2385
+ readonly Text: "text";
2386
+ }>;
2387
+ /** @deprecated use `CreatePromptSnippet2PromptSnippetsResponseType$outboundSchema` instead. */
2388
+ const outboundSchema: z.ZodNativeEnum<{
2389
+ readonly Text: "text";
2390
+ }>;
2391
+ }
2392
+ /** @internal */
2393
+ export declare const CreatePromptSnippet2PromptSnippets1$inboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippets1, z.ZodTypeDef, unknown>;
2394
+ /** @internal */
2395
+ export type CreatePromptSnippet2PromptSnippets1$Outbound = {
2396
+ type: string;
2397
+ text: string;
2398
+ };
2399
+ /** @internal */
2400
+ export declare const CreatePromptSnippet2PromptSnippets1$outboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippets1$Outbound, z.ZodTypeDef, CreatePromptSnippet2PromptSnippets1>;
2401
+ /**
2402
+ * @internal
2403
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2404
+ */
2405
+ export declare namespace CreatePromptSnippet2PromptSnippets1$ {
2406
+ /** @deprecated use `CreatePromptSnippet2PromptSnippets1$inboundSchema` instead. */
2407
+ const inboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippets1, z.ZodTypeDef, unknown>;
2408
+ /** @deprecated use `CreatePromptSnippet2PromptSnippets1$outboundSchema` instead. */
2409
+ const outboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippets1$Outbound, z.ZodTypeDef, CreatePromptSnippet2PromptSnippets1>;
2410
+ /** @deprecated use `CreatePromptSnippet2PromptSnippets1$Outbound` instead. */
2411
+ type Outbound = CreatePromptSnippet2PromptSnippets1$Outbound;
2412
+ }
2413
+ export declare function createPromptSnippet2PromptSnippets1ToJSON(createPromptSnippet2PromptSnippets1: CreatePromptSnippet2PromptSnippets1): string;
2414
+ export declare function createPromptSnippet2PromptSnippets1FromJSON(jsonString: string): SafeParseResult<CreatePromptSnippet2PromptSnippets1, SDKValidationError>;
2415
+ /** @internal */
2416
+ export declare const CreatePromptSnippetContentPromptSnippets2$inboundSchema: z.ZodType<CreatePromptSnippetContentPromptSnippets2, z.ZodTypeDef, unknown>;
2417
+ /** @internal */
2418
+ export type CreatePromptSnippetContentPromptSnippets2$Outbound = CreatePromptSnippet2PromptSnippets1$Outbound | CreatePromptSnippet2PromptSnippets2$Outbound;
2419
+ /** @internal */
2420
+ export declare const CreatePromptSnippetContentPromptSnippets2$outboundSchema: z.ZodType<CreatePromptSnippetContentPromptSnippets2$Outbound, z.ZodTypeDef, CreatePromptSnippetContentPromptSnippets2>;
2421
+ /**
2422
+ * @internal
2423
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2424
+ */
2425
+ export declare namespace CreatePromptSnippetContentPromptSnippets2$ {
2426
+ /** @deprecated use `CreatePromptSnippetContentPromptSnippets2$inboundSchema` instead. */
2427
+ const inboundSchema: z.ZodType<CreatePromptSnippetContentPromptSnippets2, z.ZodTypeDef, unknown>;
2428
+ /** @deprecated use `CreatePromptSnippetContentPromptSnippets2$outboundSchema` instead. */
2429
+ const outboundSchema: z.ZodType<CreatePromptSnippetContentPromptSnippets2$Outbound, z.ZodTypeDef, CreatePromptSnippetContentPromptSnippets2>;
2430
+ /** @deprecated use `CreatePromptSnippetContentPromptSnippets2$Outbound` instead. */
2431
+ type Outbound = CreatePromptSnippetContentPromptSnippets2$Outbound;
2432
+ }
2433
+ export declare function createPromptSnippetContentPromptSnippets2ToJSON(createPromptSnippetContentPromptSnippets2: CreatePromptSnippetContentPromptSnippets2): string;
2434
+ export declare function createPromptSnippetContentPromptSnippets2FromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetContentPromptSnippets2, SDKValidationError>;
2435
+ /** @internal */
2436
+ export declare const CreatePromptSnippetPromptSnippetsContent$inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsContent, z.ZodTypeDef, unknown>;
2437
+ /** @internal */
2438
+ export type CreatePromptSnippetPromptSnippetsContent$Outbound = string | Array<CreatePromptSnippet2PromptSnippets1$Outbound | CreatePromptSnippet2PromptSnippets2$Outbound>;
2439
+ /** @internal */
2440
+ export declare const CreatePromptSnippetPromptSnippetsContent$outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsContent$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsContent>;
2441
+ /**
2442
+ * @internal
2443
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2444
+ */
2445
+ export declare namespace CreatePromptSnippetPromptSnippetsContent$ {
2446
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsContent$inboundSchema` instead. */
2447
+ const inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsContent, z.ZodTypeDef, unknown>;
2448
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsContent$outboundSchema` instead. */
2449
+ const outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsContent$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsContent>;
2450
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsContent$Outbound` instead. */
2451
+ type Outbound = CreatePromptSnippetPromptSnippetsContent$Outbound;
2452
+ }
2453
+ export declare function createPromptSnippetPromptSnippetsContentToJSON(createPromptSnippetPromptSnippetsContent: CreatePromptSnippetPromptSnippetsContent): string;
2454
+ export declare function createPromptSnippetPromptSnippetsContentFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetPromptSnippetsContent, SDKValidationError>;
2455
+ /** @internal */
2456
+ export declare const CreatePromptSnippetPromptSnippetsResponseType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsResponseType>;
2457
+ /** @internal */
2458
+ export declare const CreatePromptSnippetPromptSnippetsResponseType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsResponseType>;
2459
+ /**
2460
+ * @internal
2461
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2462
+ */
2463
+ export declare namespace CreatePromptSnippetPromptSnippetsResponseType$ {
2464
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseType$inboundSchema` instead. */
2465
+ const inboundSchema: z.ZodNativeEnum<{
2466
+ readonly Function: "function";
2467
+ }>;
2468
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseType$outboundSchema` instead. */
2469
+ const outboundSchema: z.ZodNativeEnum<{
2470
+ readonly Function: "function";
2471
+ }>;
2472
+ }
2473
+ /** @internal */
2474
+ export declare const CreatePromptSnippetPromptSnippetsFunction$inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsFunction, z.ZodTypeDef, unknown>;
2475
+ /** @internal */
2476
+ export type CreatePromptSnippetPromptSnippetsFunction$Outbound = {
2477
+ name: string;
2478
+ arguments: string;
2479
+ };
2480
+ /** @internal */
2481
+ export declare const CreatePromptSnippetPromptSnippetsFunction$outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsFunction$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsFunction>;
2482
+ /**
2483
+ * @internal
2484
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2485
+ */
2486
+ export declare namespace CreatePromptSnippetPromptSnippetsFunction$ {
2487
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsFunction$inboundSchema` instead. */
2488
+ const inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsFunction, z.ZodTypeDef, unknown>;
2489
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsFunction$outboundSchema` instead. */
2490
+ const outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsFunction$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsFunction>;
2491
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsFunction$Outbound` instead. */
2492
+ type Outbound = CreatePromptSnippetPromptSnippetsFunction$Outbound;
2493
+ }
2494
+ export declare function createPromptSnippetPromptSnippetsFunctionToJSON(createPromptSnippetPromptSnippetsFunction: CreatePromptSnippetPromptSnippetsFunction): string;
2495
+ export declare function createPromptSnippetPromptSnippetsFunctionFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetPromptSnippetsFunction, SDKValidationError>;
2496
+ /** @internal */
2497
+ export declare const CreatePromptSnippetPromptSnippetsToolCalls$inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsToolCalls, z.ZodTypeDef, unknown>;
2498
+ /** @internal */
2499
+ export type CreatePromptSnippetPromptSnippetsToolCalls$Outbound = {
2500
+ id?: string | undefined;
2501
+ index?: number | undefined;
2502
+ type: string;
2503
+ function: CreatePromptSnippetPromptSnippetsFunction$Outbound;
2504
+ };
2505
+ /** @internal */
2506
+ export declare const CreatePromptSnippetPromptSnippetsToolCalls$outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsToolCalls$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsToolCalls>;
2507
+ /**
2508
+ * @internal
2509
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2510
+ */
2511
+ export declare namespace CreatePromptSnippetPromptSnippetsToolCalls$ {
2512
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsToolCalls$inboundSchema` instead. */
2513
+ const inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsToolCalls, z.ZodTypeDef, unknown>;
2514
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsToolCalls$outboundSchema` instead. */
2515
+ const outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsToolCalls$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsToolCalls>;
2516
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsToolCalls$Outbound` instead. */
2517
+ type Outbound = CreatePromptSnippetPromptSnippetsToolCalls$Outbound;
2518
+ }
2519
+ export declare function createPromptSnippetPromptSnippetsToolCallsToJSON(createPromptSnippetPromptSnippetsToolCalls: CreatePromptSnippetPromptSnippetsToolCalls): string;
2520
+ export declare function createPromptSnippetPromptSnippetsToolCallsFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetPromptSnippetsToolCalls, SDKValidationError>;
2521
+ /** @internal */
2522
+ export declare const CreatePromptSnippetPromptSnippetsMessages$inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsMessages, z.ZodTypeDef, unknown>;
2523
+ /** @internal */
2524
+ export type CreatePromptSnippetPromptSnippetsMessages$Outbound = {
2525
+ role: string;
2526
+ content: string | Array<CreatePromptSnippet2PromptSnippets1$Outbound | CreatePromptSnippet2PromptSnippets2$Outbound>;
2527
+ tool_calls?: Array<CreatePromptSnippetPromptSnippetsToolCalls$Outbound> | undefined;
2528
+ };
2529
+ /** @internal */
2530
+ export declare const CreatePromptSnippetPromptSnippetsMessages$outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsMessages$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsMessages>;
2531
+ /**
2532
+ * @internal
2533
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2534
+ */
2535
+ export declare namespace CreatePromptSnippetPromptSnippetsMessages$ {
2536
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsMessages$inboundSchema` instead. */
2537
+ const inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsMessages, z.ZodTypeDef, unknown>;
2538
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsMessages$outboundSchema` instead. */
2539
+ const outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsMessages$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsMessages>;
2540
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsMessages$Outbound` instead. */
2541
+ type Outbound = CreatePromptSnippetPromptSnippetsMessages$Outbound;
2542
+ }
2543
+ export declare function createPromptSnippetPromptSnippetsMessagesToJSON(createPromptSnippetPromptSnippetsMessages: CreatePromptSnippetPromptSnippetsMessages): string;
2544
+ export declare function createPromptSnippetPromptSnippetsMessagesFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetPromptSnippetsMessages, SDKValidationError>;
2545
+ /** @internal */
2546
+ export declare const CreatePromptSnippetPromptConfig$inboundSchema: z.ZodType<CreatePromptSnippetPromptConfig, z.ZodTypeDef, unknown>;
2547
+ /** @internal */
2548
+ export type CreatePromptSnippetPromptConfig$Outbound = {
2549
+ stream?: boolean | undefined;
2550
+ model?: string | undefined;
2551
+ model_db_id?: string | undefined;
2552
+ model_type?: string | undefined;
2553
+ model_parameters?: CreatePromptSnippetModelParameters$Outbound | undefined;
2554
+ provider?: string | undefined;
2555
+ integration_id?: string | null | undefined;
2556
+ version?: string | undefined;
2557
+ messages: Array<CreatePromptSnippetPromptSnippetsMessages$Outbound>;
2558
+ };
2559
+ /** @internal */
2560
+ export declare const CreatePromptSnippetPromptConfig$outboundSchema: z.ZodType<CreatePromptSnippetPromptConfig$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptConfig>;
2561
+ /**
2562
+ * @internal
2563
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2564
+ */
2565
+ export declare namespace CreatePromptSnippetPromptConfig$ {
2566
+ /** @deprecated use `CreatePromptSnippetPromptConfig$inboundSchema` instead. */
2567
+ const inboundSchema: z.ZodType<CreatePromptSnippetPromptConfig, z.ZodTypeDef, unknown>;
2568
+ /** @deprecated use `CreatePromptSnippetPromptConfig$outboundSchema` instead. */
2569
+ const outboundSchema: z.ZodType<CreatePromptSnippetPromptConfig$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptConfig>;
2570
+ /** @deprecated use `CreatePromptSnippetPromptConfig$Outbound` instead. */
2571
+ type Outbound = CreatePromptSnippetPromptConfig$Outbound;
2572
+ }
2573
+ export declare function createPromptSnippetPromptConfigToJSON(createPromptSnippetPromptConfig: CreatePromptSnippetPromptConfig): string;
2574
+ export declare function createPromptSnippetPromptConfigFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetPromptConfig, SDKValidationError>;
2575
+ /** @internal */
2576
+ export declare const CreatePromptSnippetUseCases$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetUseCases>;
2577
+ /** @internal */
2578
+ export declare const CreatePromptSnippetUseCases$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetUseCases>;
2579
+ /**
2580
+ * @internal
2581
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2582
+ */
2583
+ export declare namespace CreatePromptSnippetUseCases$ {
2584
+ /** @deprecated use `CreatePromptSnippetUseCases$inboundSchema` instead. */
2585
+ const inboundSchema: z.ZodNativeEnum<{
2586
+ readonly Agents: "Agents";
2587
+ readonly AgentsSimulations: "Agents simulations";
2588
+ readonly APIInteraction: "API interaction";
2589
+ readonly AutonomousAgents: "Autonomous Agents";
2590
+ readonly Chatbots: "Chatbots";
2591
+ readonly Classification: "Classification";
2592
+ readonly CodeUnderstanding: "Code understanding";
2593
+ readonly CodeWriting: "Code writing";
2594
+ readonly DocumentsQA: "Documents QA";
2595
+ readonly Conversation: "Conversation";
2596
+ readonly Extraction: "Extraction";
2597
+ readonly MultiModal: "Multi-modal";
2598
+ readonly SelfChecking: "Self-checking";
2599
+ readonly Sql: "SQL";
2600
+ readonly Summarization: "Summarization";
2601
+ readonly Tagging: "Tagging";
2602
+ }>;
2603
+ /** @deprecated use `CreatePromptSnippetUseCases$outboundSchema` instead. */
2604
+ const outboundSchema: z.ZodNativeEnum<{
2605
+ readonly Agents: "Agents";
2606
+ readonly AgentsSimulations: "Agents simulations";
2607
+ readonly APIInteraction: "API interaction";
2608
+ readonly AutonomousAgents: "Autonomous Agents";
2609
+ readonly Chatbots: "Chatbots";
2610
+ readonly Classification: "Classification";
2611
+ readonly CodeUnderstanding: "Code understanding";
2612
+ readonly CodeWriting: "Code writing";
2613
+ readonly DocumentsQA: "Documents QA";
2614
+ readonly Conversation: "Conversation";
2615
+ readonly Extraction: "Extraction";
2616
+ readonly MultiModal: "Multi-modal";
2617
+ readonly SelfChecking: "Self-checking";
2618
+ readonly Sql: "SQL";
2619
+ readonly Summarization: "Summarization";
2620
+ readonly Tagging: "Tagging";
2621
+ }>;
2622
+ }
2623
+ /** @internal */
2624
+ export declare const CreatePromptSnippetLanguage$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetLanguage>;
2625
+ /** @internal */
2626
+ export declare const CreatePromptSnippetLanguage$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetLanguage>;
2627
+ /**
2628
+ * @internal
2629
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2630
+ */
2631
+ export declare namespace CreatePromptSnippetLanguage$ {
2632
+ /** @deprecated use `CreatePromptSnippetLanguage$inboundSchema` instead. */
2633
+ const inboundSchema: z.ZodNativeEnum<{
2634
+ readonly Chinese: "Chinese";
2635
+ readonly Dutch: "Dutch";
2636
+ readonly English: "English";
2637
+ readonly French: "French";
2638
+ readonly German: "German";
2639
+ readonly Russian: "Russian";
2640
+ readonly Spanish: "Spanish";
2641
+ }>;
2642
+ /** @deprecated use `CreatePromptSnippetLanguage$outboundSchema` instead. */
2643
+ const outboundSchema: z.ZodNativeEnum<{
2644
+ readonly Chinese: "Chinese";
2645
+ readonly Dutch: "Dutch";
2646
+ readonly English: "English";
2647
+ readonly French: "French";
2648
+ readonly German: "German";
2649
+ readonly Russian: "Russian";
2650
+ readonly Spanish: "Spanish";
2651
+ }>;
2652
+ }
2653
+ /** @internal */
2654
+ export declare const CreatePromptSnippetPromptSnippetsMetadata$inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsMetadata, z.ZodTypeDef, unknown>;
2655
+ /** @internal */
2656
+ export type CreatePromptSnippetPromptSnippetsMetadata$Outbound = {
2657
+ use_cases?: Array<string> | undefined;
2658
+ language?: string | undefined;
2659
+ };
2660
+ /** @internal */
2661
+ export declare const CreatePromptSnippetPromptSnippetsMetadata$outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsMetadata$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsMetadata>;
2662
+ /**
2663
+ * @internal
2664
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2665
+ */
2666
+ export declare namespace CreatePromptSnippetPromptSnippetsMetadata$ {
2667
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsMetadata$inboundSchema` instead. */
2668
+ const inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsMetadata, z.ZodTypeDef, unknown>;
2669
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsMetadata$outboundSchema` instead. */
2670
+ const outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsMetadata$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsMetadata>;
2671
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsMetadata$Outbound` instead. */
2672
+ type Outbound = CreatePromptSnippetPromptSnippetsMetadata$Outbound;
2673
+ }
2674
+ export declare function createPromptSnippetPromptSnippetsMetadataToJSON(createPromptSnippetPromptSnippetsMetadata: CreatePromptSnippetPromptSnippetsMetadata): string;
2675
+ export declare function createPromptSnippetPromptSnippetsMetadataFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetPromptSnippetsMetadata, SDKValidationError>;
2676
+ /** @internal */
2677
+ export declare const CreatePromptSnippetPromptSnippetsType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsType>;
2678
+ /** @internal */
2679
+ export declare const CreatePromptSnippetPromptSnippetsType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsType>;
2680
+ /**
2681
+ * @internal
2682
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2683
+ */
2684
+ export declare namespace CreatePromptSnippetPromptSnippetsType$ {
2685
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsType$inboundSchema` instead. */
2686
+ const inboundSchema: z.ZodNativeEnum<{
2687
+ readonly Snippet: "snippet";
2688
+ }>;
2689
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsType$outboundSchema` instead. */
2690
+ const outboundSchema: z.ZodNativeEnum<{
2691
+ readonly Snippet: "snippet";
2692
+ }>;
2693
+ }
2694
+ /** @internal */
2695
+ export declare const CreatePromptSnippetPromptSnippetsModelType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsModelType>;
2696
+ /** @internal */
2697
+ export declare const CreatePromptSnippetPromptSnippetsModelType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsModelType>;
2698
+ /**
2699
+ * @internal
2700
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2701
+ */
2702
+ export declare namespace CreatePromptSnippetPromptSnippetsModelType$ {
2703
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsModelType$inboundSchema` instead. */
2704
+ const inboundSchema: z.ZodNativeEnum<{
2705
+ readonly Chat: "chat";
2706
+ readonly Completion: "completion";
2707
+ readonly Embedding: "embedding";
2708
+ readonly Vision: "vision";
2709
+ readonly Image: "image";
2710
+ readonly Tts: "tts";
2711
+ readonly Stt: "stt";
2712
+ readonly Rerank: "rerank";
2713
+ readonly Moderations: "moderations";
2714
+ }>;
2715
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsModelType$outboundSchema` instead. */
2716
+ const outboundSchema: z.ZodNativeEnum<{
2717
+ readonly Chat: "chat";
2718
+ readonly Completion: "completion";
2719
+ readonly Embedding: "embedding";
2720
+ readonly Vision: "vision";
2721
+ readonly Image: "image";
2722
+ readonly Tts: "tts";
2723
+ readonly Stt: "stt";
2724
+ readonly Rerank: "rerank";
2725
+ readonly Moderations: "moderations";
2726
+ }>;
2727
+ }
2728
+ /** @internal */
2729
+ export declare const CreatePromptSnippetPromptSnippetsFormat$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsFormat>;
2730
+ /** @internal */
2731
+ export declare const CreatePromptSnippetPromptSnippetsFormat$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsFormat>;
2732
+ /**
2733
+ * @internal
2734
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2735
+ */
2736
+ export declare namespace CreatePromptSnippetPromptSnippetsFormat$ {
2737
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsFormat$inboundSchema` instead. */
2738
+ const inboundSchema: z.ZodNativeEnum<{
2739
+ readonly Url: "url";
2740
+ readonly B64Json: "b64_json";
2741
+ readonly Text: "text";
2742
+ readonly JsonObject: "json_object";
2743
+ }>;
2744
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsFormat$outboundSchema` instead. */
2745
+ const outboundSchema: z.ZodNativeEnum<{
2746
+ readonly Url: "url";
2747
+ readonly B64Json: "b64_json";
2748
+ readonly Text: "text";
2749
+ readonly JsonObject: "json_object";
2750
+ }>;
2751
+ }
2752
+ /** @internal */
2753
+ export declare const CreatePromptSnippetPromptSnippetsQuality$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsQuality>;
2754
+ /** @internal */
2755
+ export declare const CreatePromptSnippetPromptSnippetsQuality$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsQuality>;
2756
+ /**
2757
+ * @internal
2758
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2759
+ */
2760
+ export declare namespace CreatePromptSnippetPromptSnippetsQuality$ {
2761
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsQuality$inboundSchema` instead. */
2762
+ const inboundSchema: z.ZodNativeEnum<{
2763
+ readonly Standard: "standard";
2764
+ readonly Hd: "hd";
2765
+ }>;
2766
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsQuality$outboundSchema` instead. */
2767
+ const outboundSchema: z.ZodNativeEnum<{
2768
+ readonly Standard: "standard";
2769
+ readonly Hd: "hd";
2770
+ }>;
2771
+ }
2772
+ /** @internal */
2773
+ export declare const CreatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONType>;
2774
+ /** @internal */
2775
+ export declare const CreatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONType>;
2776
+ /**
2777
+ * @internal
2778
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2779
+ */
2780
+ export declare namespace CreatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONType$ {
2781
+ /** @deprecated use `CreatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONType$inboundSchema` instead. */
2782
+ const inboundSchema: z.ZodNativeEnum<{
2783
+ readonly JsonObject: "json_object";
2784
+ }>;
2785
+ /** @deprecated use `CreatePromptSnippetResponseFormatPromptSnippetsResponse200ApplicationJSONType$outboundSchema` instead. */
2786
+ const outboundSchema: z.ZodNativeEnum<{
2787
+ readonly JsonObject: "json_object";
2788
+ }>;
2789
+ }
2790
+ /** @internal */
2791
+ export declare const CreatePromptSnippetResponseFormatPromptSnippets2$inboundSchema: z.ZodType<CreatePromptSnippetResponseFormatPromptSnippets2, z.ZodTypeDef, unknown>;
2792
+ /** @internal */
2793
+ export type CreatePromptSnippetResponseFormatPromptSnippets2$Outbound = {
2794
+ type: string;
2795
+ };
2796
+ /** @internal */
2797
+ export declare const CreatePromptSnippetResponseFormatPromptSnippets2$outboundSchema: z.ZodType<CreatePromptSnippetResponseFormatPromptSnippets2$Outbound, z.ZodTypeDef, CreatePromptSnippetResponseFormatPromptSnippets2>;
2798
+ /**
2799
+ * @internal
2800
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2801
+ */
2802
+ export declare namespace CreatePromptSnippetResponseFormatPromptSnippets2$ {
2803
+ /** @deprecated use `CreatePromptSnippetResponseFormatPromptSnippets2$inboundSchema` instead. */
2804
+ const inboundSchema: z.ZodType<CreatePromptSnippetResponseFormatPromptSnippets2, z.ZodTypeDef, unknown>;
2805
+ /** @deprecated use `CreatePromptSnippetResponseFormatPromptSnippets2$outboundSchema` instead. */
2806
+ const outboundSchema: z.ZodType<CreatePromptSnippetResponseFormatPromptSnippets2$Outbound, z.ZodTypeDef, CreatePromptSnippetResponseFormatPromptSnippets2>;
2807
+ /** @deprecated use `CreatePromptSnippetResponseFormatPromptSnippets2$Outbound` instead. */
2808
+ type Outbound = CreatePromptSnippetResponseFormatPromptSnippets2$Outbound;
2809
+ }
2810
+ export declare function createPromptSnippetResponseFormatPromptSnippets2ToJSON(createPromptSnippetResponseFormatPromptSnippets2: CreatePromptSnippetResponseFormatPromptSnippets2): string;
2811
+ export declare function createPromptSnippetResponseFormatPromptSnippets2FromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetResponseFormatPromptSnippets2, SDKValidationError>;
2812
+ /** @internal */
2813
+ export declare const CreatePromptSnippetResponseFormatPromptSnippetsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetResponseFormatPromptSnippetsResponse200Type>;
2814
+ /** @internal */
2815
+ export declare const CreatePromptSnippetResponseFormatPromptSnippetsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetResponseFormatPromptSnippetsResponse200Type>;
2816
+ /**
2817
+ * @internal
2818
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2819
+ */
2820
+ export declare namespace CreatePromptSnippetResponseFormatPromptSnippetsResponse200Type$ {
2821
+ /** @deprecated use `CreatePromptSnippetResponseFormatPromptSnippetsResponse200Type$inboundSchema` instead. */
2822
+ const inboundSchema: z.ZodNativeEnum<{
2823
+ readonly JsonSchema: "json_schema";
2824
+ }>;
2825
+ /** @deprecated use `CreatePromptSnippetResponseFormatPromptSnippetsResponse200Type$outboundSchema` instead. */
2826
+ const outboundSchema: z.ZodNativeEnum<{
2827
+ readonly JsonSchema: "json_schema";
2828
+ }>;
2829
+ }
2830
+ /** @internal */
2831
+ export declare const CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema$inboundSchema: z.ZodType<CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema, z.ZodTypeDef, unknown>;
2832
+ /** @internal */
2833
+ export type CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema$Outbound = {
2834
+ name: string;
2835
+ strict: boolean;
2836
+ schema: {
2837
+ [k: string]: any;
2838
+ };
2839
+ };
2840
+ /** @internal */
2841
+ export declare const CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema$outboundSchema: z.ZodType<CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema$Outbound, z.ZodTypeDef, CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema>;
2842
+ /**
2843
+ * @internal
2844
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2845
+ */
2846
+ export declare namespace CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema$ {
2847
+ /** @deprecated use `CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema$inboundSchema` instead. */
2848
+ const inboundSchema: z.ZodType<CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema, z.ZodTypeDef, unknown>;
2849
+ /** @deprecated use `CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema$outboundSchema` instead. */
2850
+ const outboundSchema: z.ZodType<CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema$Outbound, z.ZodTypeDef, CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema>;
2851
+ /** @deprecated use `CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema$Outbound` instead. */
2852
+ type Outbound = CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema$Outbound;
2853
+ }
2854
+ export declare function createPromptSnippetResponseFormatPromptSnippetsJsonSchemaToJSON(createPromptSnippetResponseFormatPromptSnippetsJsonSchema: CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema): string;
2855
+ export declare function createPromptSnippetResponseFormatPromptSnippetsJsonSchemaFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema, SDKValidationError>;
2856
+ /** @internal */
2857
+ export declare const CreatePromptSnippetResponseFormatPromptSnippets1$inboundSchema: z.ZodType<CreatePromptSnippetResponseFormatPromptSnippets1, z.ZodTypeDef, unknown>;
2858
+ /** @internal */
2859
+ export type CreatePromptSnippetResponseFormatPromptSnippets1$Outbound = {
2860
+ type: string;
2861
+ json_schema: CreatePromptSnippetResponseFormatPromptSnippetsJsonSchema$Outbound;
2862
+ };
2863
+ /** @internal */
2864
+ export declare const CreatePromptSnippetResponseFormatPromptSnippets1$outboundSchema: z.ZodType<CreatePromptSnippetResponseFormatPromptSnippets1$Outbound, z.ZodTypeDef, CreatePromptSnippetResponseFormatPromptSnippets1>;
2865
+ /**
2866
+ * @internal
2867
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2868
+ */
2869
+ export declare namespace CreatePromptSnippetResponseFormatPromptSnippets1$ {
2870
+ /** @deprecated use `CreatePromptSnippetResponseFormatPromptSnippets1$inboundSchema` instead. */
2871
+ const inboundSchema: z.ZodType<CreatePromptSnippetResponseFormatPromptSnippets1, z.ZodTypeDef, unknown>;
2872
+ /** @deprecated use `CreatePromptSnippetResponseFormatPromptSnippets1$outboundSchema` instead. */
2873
+ const outboundSchema: z.ZodType<CreatePromptSnippetResponseFormatPromptSnippets1$Outbound, z.ZodTypeDef, CreatePromptSnippetResponseFormatPromptSnippets1>;
2874
+ /** @deprecated use `CreatePromptSnippetResponseFormatPromptSnippets1$Outbound` instead. */
2875
+ type Outbound = CreatePromptSnippetResponseFormatPromptSnippets1$Outbound;
2876
+ }
2877
+ export declare function createPromptSnippetResponseFormatPromptSnippets1ToJSON(createPromptSnippetResponseFormatPromptSnippets1: CreatePromptSnippetResponseFormatPromptSnippets1): string;
2878
+ export declare function createPromptSnippetResponseFormatPromptSnippets1FromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetResponseFormatPromptSnippets1, SDKValidationError>;
2879
+ /** @internal */
2880
+ export declare const CreatePromptSnippetPromptSnippetsResponseFormat$inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseFormat, z.ZodTypeDef, unknown>;
2881
+ /** @internal */
2882
+ export type CreatePromptSnippetPromptSnippetsResponseFormat$Outbound = CreatePromptSnippetResponseFormatPromptSnippets2$Outbound | CreatePromptSnippetResponseFormatPromptSnippets1$Outbound;
2883
+ /** @internal */
2884
+ export declare const CreatePromptSnippetPromptSnippetsResponseFormat$outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseFormat$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsResponseFormat>;
2885
+ /**
2886
+ * @internal
2887
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2888
+ */
2889
+ export declare namespace CreatePromptSnippetPromptSnippetsResponseFormat$ {
2890
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseFormat$inboundSchema` instead. */
2891
+ const inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseFormat, z.ZodTypeDef, unknown>;
2892
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseFormat$outboundSchema` instead. */
2893
+ const outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseFormat$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsResponseFormat>;
2894
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseFormat$Outbound` instead. */
2895
+ type Outbound = CreatePromptSnippetPromptSnippetsResponseFormat$Outbound;
2896
+ }
2897
+ export declare function createPromptSnippetPromptSnippetsResponseFormatToJSON(createPromptSnippetPromptSnippetsResponseFormat: CreatePromptSnippetPromptSnippetsResponseFormat): string;
2898
+ export declare function createPromptSnippetPromptSnippetsResponseFormatFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetPromptSnippetsResponseFormat, SDKValidationError>;
2899
+ /** @internal */
2900
+ export declare const CreatePromptSnippetPromptSnippetsPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsPhotoRealVersion>;
2901
+ /** @internal */
2902
+ export declare const CreatePromptSnippetPromptSnippetsPhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsPhotoRealVersion>;
2903
+ /**
2904
+ * @internal
2905
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2906
+ */
2907
+ export declare namespace CreatePromptSnippetPromptSnippetsPhotoRealVersion$ {
2908
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsPhotoRealVersion$inboundSchema` instead. */
2909
+ const inboundSchema: z.ZodNativeEnum<{
2910
+ readonly V1: "v1";
2911
+ readonly V2: "v2";
2912
+ }>;
2913
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsPhotoRealVersion$outboundSchema` instead. */
2914
+ const outboundSchema: z.ZodNativeEnum<{
2915
+ readonly V1: "v1";
2916
+ readonly V2: "v2";
2917
+ }>;
2918
+ }
2919
+ /** @internal */
2920
+ export declare const CreatePromptSnippetPromptSnippetsEncodingFormat$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsEncodingFormat>;
2921
+ /** @internal */
2922
+ export declare const CreatePromptSnippetPromptSnippetsEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsEncodingFormat>;
2923
+ /**
2924
+ * @internal
2925
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2926
+ */
2927
+ export declare namespace CreatePromptSnippetPromptSnippetsEncodingFormat$ {
2928
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsEncodingFormat$inboundSchema` instead. */
2929
+ const inboundSchema: z.ZodNativeEnum<{
2930
+ readonly Float: "float";
2931
+ readonly Base64: "base64";
2932
+ }>;
2933
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsEncodingFormat$outboundSchema` instead. */
2934
+ const outboundSchema: z.ZodNativeEnum<{
2935
+ readonly Float: "float";
2936
+ readonly Base64: "base64";
2937
+ }>;
2938
+ }
2939
+ /** @internal */
2940
+ export declare const CreatePromptSnippetPromptSnippetsModelParameters$inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsModelParameters, z.ZodTypeDef, unknown>;
2941
+ /** @internal */
2942
+ export type CreatePromptSnippetPromptSnippetsModelParameters$Outbound = {
2943
+ temperature?: number | undefined;
2944
+ maxTokens?: number | undefined;
2945
+ topK?: number | undefined;
2946
+ topP?: number | undefined;
2947
+ frequencyPenalty?: number | undefined;
2948
+ presencePenalty?: number | undefined;
2949
+ numImages?: number | undefined;
2950
+ seed?: number | undefined;
2951
+ format?: string | undefined;
2952
+ dimensions?: string | undefined;
2953
+ quality?: string | undefined;
2954
+ style?: string | undefined;
2955
+ responseFormat?: CreatePromptSnippetResponseFormatPromptSnippets2$Outbound | CreatePromptSnippetResponseFormatPromptSnippets1$Outbound | null | undefined;
2956
+ photoRealVersion?: string | undefined;
2957
+ encoding_format?: string | undefined;
2958
+ };
2959
+ /** @internal */
2960
+ export declare const CreatePromptSnippetPromptSnippetsModelParameters$outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsModelParameters$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsModelParameters>;
2961
+ /**
2962
+ * @internal
2963
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2964
+ */
2965
+ export declare namespace CreatePromptSnippetPromptSnippetsModelParameters$ {
2966
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsModelParameters$inboundSchema` instead. */
2967
+ const inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsModelParameters, z.ZodTypeDef, unknown>;
2968
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsModelParameters$outboundSchema` instead. */
2969
+ const outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsModelParameters$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsModelParameters>;
2970
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsModelParameters$Outbound` instead. */
2971
+ type Outbound = CreatePromptSnippetPromptSnippetsModelParameters$Outbound;
2972
+ }
2973
+ export declare function createPromptSnippetPromptSnippetsModelParametersToJSON(createPromptSnippetPromptSnippetsModelParameters: CreatePromptSnippetPromptSnippetsModelParameters): string;
2974
+ export declare function createPromptSnippetPromptSnippetsModelParametersFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetPromptSnippetsModelParameters, SDKValidationError>;
2975
+ /** @internal */
2976
+ export declare const CreatePromptSnippetPromptSnippetsProvider$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsProvider>;
2977
+ /** @internal */
2978
+ export declare const CreatePromptSnippetPromptSnippetsProvider$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsProvider>;
2979
+ /**
2980
+ * @internal
2981
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2982
+ */
2983
+ export declare namespace CreatePromptSnippetPromptSnippetsProvider$ {
2984
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsProvider$inboundSchema` instead. */
2985
+ const inboundSchema: z.ZodNativeEnum<{
2986
+ readonly Cohere: "cohere";
2987
+ readonly Openai: "openai";
2988
+ readonly Anthropic: "anthropic";
2989
+ readonly Huggingface: "huggingface";
2990
+ readonly Replicate: "replicate";
2991
+ readonly Google: "google";
2992
+ readonly GoogleAi: "google-ai";
2993
+ readonly Azure: "azure";
2994
+ readonly Aws: "aws";
2995
+ readonly Anyscale: "anyscale";
2996
+ readonly Perplexity: "perplexity";
2997
+ readonly Groq: "groq";
2998
+ readonly Fal: "fal";
2999
+ readonly Leonardoai: "leonardoai";
3000
+ readonly Nvidia: "nvidia";
3001
+ readonly Jina: "jina";
3002
+ readonly Togetherai: "togetherai";
3003
+ readonly Elevenlabs: "elevenlabs";
3004
+ }>;
3005
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsProvider$outboundSchema` instead. */
3006
+ const outboundSchema: z.ZodNativeEnum<{
3007
+ readonly Cohere: "cohere";
3008
+ readonly Openai: "openai";
3009
+ readonly Anthropic: "anthropic";
3010
+ readonly Huggingface: "huggingface";
3011
+ readonly Replicate: "replicate";
3012
+ readonly Google: "google";
3013
+ readonly GoogleAi: "google-ai";
3014
+ readonly Azure: "azure";
3015
+ readonly Aws: "aws";
3016
+ readonly Anyscale: "anyscale";
3017
+ readonly Perplexity: "perplexity";
3018
+ readonly Groq: "groq";
3019
+ readonly Fal: "fal";
3020
+ readonly Leonardoai: "leonardoai";
3021
+ readonly Nvidia: "nvidia";
3022
+ readonly Jina: "jina";
3023
+ readonly Togetherai: "togetherai";
3024
+ readonly Elevenlabs: "elevenlabs";
3025
+ }>;
3026
+ }
3027
+ /** @internal */
3028
+ export declare const CreatePromptSnippetPromptSnippetsResponseRole$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsResponseRole>;
3029
+ /** @internal */
3030
+ export declare const CreatePromptSnippetPromptSnippetsResponseRole$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsResponseRole>;
3031
+ /**
3032
+ * @internal
3033
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3034
+ */
3035
+ export declare namespace CreatePromptSnippetPromptSnippetsResponseRole$ {
3036
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseRole$inboundSchema` instead. */
3037
+ const inboundSchema: z.ZodNativeEnum<{
3038
+ readonly System: "system";
3039
+ readonly Assistant: "assistant";
3040
+ readonly User: "user";
3041
+ readonly Exception: "exception";
3042
+ readonly Tool: "tool";
3043
+ readonly Prompt: "prompt";
3044
+ readonly Correction: "correction";
3045
+ readonly ExpectedOutput: "expected_output";
3046
+ }>;
3047
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseRole$outboundSchema` instead. */
3048
+ const outboundSchema: z.ZodNativeEnum<{
3049
+ readonly System: "system";
3050
+ readonly Assistant: "assistant";
3051
+ readonly User: "user";
3052
+ readonly Exception: "exception";
3053
+ readonly Tool: "tool";
3054
+ readonly Prompt: "prompt";
3055
+ readonly Correction: "correction";
3056
+ readonly ExpectedOutput: "expected_output";
3057
+ }>;
3058
+ }
3059
+ /** @internal */
3060
+ export declare const CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONResponseBodyType>;
3061
+ /** @internal */
3062
+ export declare const CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONResponseBodyType>;
3063
+ /**
3064
+ * @internal
3065
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3066
+ */
3067
+ export declare namespace CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONResponseBodyType$ {
3068
+ /** @deprecated use `CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
3069
+ const inboundSchema: z.ZodNativeEnum<{
3070
+ readonly ImageUrl: "image_url";
3071
+ }>;
3072
+ /** @deprecated use `CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
3073
+ const outboundSchema: z.ZodNativeEnum<{
3074
+ readonly ImageUrl: "image_url";
3075
+ }>;
3076
+ }
3077
+ /** @internal */
3078
+ export declare const CreatePromptSnippet2PromptSnippetsResponseImageUrl$inboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippetsResponseImageUrl, z.ZodTypeDef, unknown>;
3079
+ /** @internal */
3080
+ export type CreatePromptSnippet2PromptSnippetsResponseImageUrl$Outbound = {
3081
+ id?: string | undefined;
3082
+ url: string;
3083
+ detail?: string | undefined;
3084
+ };
3085
+ /** @internal */
3086
+ export declare const CreatePromptSnippet2PromptSnippetsResponseImageUrl$outboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippetsResponseImageUrl$Outbound, z.ZodTypeDef, CreatePromptSnippet2PromptSnippetsResponseImageUrl>;
3087
+ /**
3088
+ * @internal
3089
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3090
+ */
3091
+ export declare namespace CreatePromptSnippet2PromptSnippetsResponseImageUrl$ {
3092
+ /** @deprecated use `CreatePromptSnippet2PromptSnippetsResponseImageUrl$inboundSchema` instead. */
3093
+ const inboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippetsResponseImageUrl, z.ZodTypeDef, unknown>;
3094
+ /** @deprecated use `CreatePromptSnippet2PromptSnippetsResponseImageUrl$outboundSchema` instead. */
3095
+ const outboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippetsResponseImageUrl$Outbound, z.ZodTypeDef, CreatePromptSnippet2PromptSnippetsResponseImageUrl>;
3096
+ /** @deprecated use `CreatePromptSnippet2PromptSnippetsResponseImageUrl$Outbound` instead. */
3097
+ type Outbound = CreatePromptSnippet2PromptSnippetsResponseImageUrl$Outbound;
3098
+ }
3099
+ export declare function createPromptSnippet2PromptSnippetsResponseImageUrlToJSON(createPromptSnippet2PromptSnippetsResponseImageUrl: CreatePromptSnippet2PromptSnippetsResponseImageUrl): string;
3100
+ export declare function createPromptSnippet2PromptSnippetsResponseImageUrlFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippet2PromptSnippetsResponseImageUrl, SDKValidationError>;
3101
+ /** @internal */
3102
+ export declare const CreatePromptSnippet2PromptSnippetsResponse2$inboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippetsResponse2, z.ZodTypeDef, unknown>;
3103
+ /** @internal */
3104
+ export type CreatePromptSnippet2PromptSnippetsResponse2$Outbound = {
3105
+ type: string;
3106
+ image_url: CreatePromptSnippet2PromptSnippetsResponseImageUrl$Outbound;
3107
+ };
3108
+ /** @internal */
3109
+ export declare const CreatePromptSnippet2PromptSnippetsResponse2$outboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippetsResponse2$Outbound, z.ZodTypeDef, CreatePromptSnippet2PromptSnippetsResponse2>;
3110
+ /**
3111
+ * @internal
3112
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3113
+ */
3114
+ export declare namespace CreatePromptSnippet2PromptSnippetsResponse2$ {
3115
+ /** @deprecated use `CreatePromptSnippet2PromptSnippetsResponse2$inboundSchema` instead. */
3116
+ const inboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippetsResponse2, z.ZodTypeDef, unknown>;
3117
+ /** @deprecated use `CreatePromptSnippet2PromptSnippetsResponse2$outboundSchema` instead. */
3118
+ const outboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippetsResponse2$Outbound, z.ZodTypeDef, CreatePromptSnippet2PromptSnippetsResponse2>;
3119
+ /** @deprecated use `CreatePromptSnippet2PromptSnippetsResponse2$Outbound` instead. */
3120
+ type Outbound = CreatePromptSnippet2PromptSnippetsResponse2$Outbound;
3121
+ }
3122
+ export declare function createPromptSnippet2PromptSnippetsResponse2ToJSON(createPromptSnippet2PromptSnippetsResponse2: CreatePromptSnippet2PromptSnippetsResponse2): string;
3123
+ export declare function createPromptSnippet2PromptSnippetsResponse2FromJSON(jsonString: string): SafeParseResult<CreatePromptSnippet2PromptSnippetsResponse2, SDKValidationError>;
3124
+ /** @internal */
3125
+ export declare const CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONType>;
3126
+ /** @internal */
3127
+ export declare const CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONType>;
3128
+ /**
3129
+ * @internal
3130
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3131
+ */
3132
+ export declare namespace CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONType$ {
3133
+ /** @deprecated use `CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONType$inboundSchema` instead. */
3134
+ const inboundSchema: z.ZodNativeEnum<{
3135
+ readonly Text: "text";
3136
+ }>;
3137
+ /** @deprecated use `CreatePromptSnippet2PromptSnippetsResponse200ApplicationJSONType$outboundSchema` instead. */
3138
+ const outboundSchema: z.ZodNativeEnum<{
3139
+ readonly Text: "text";
3140
+ }>;
3141
+ }
3142
+ /** @internal */
3143
+ export declare const CreatePromptSnippet2PromptSnippetsResponse1$inboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippetsResponse1, z.ZodTypeDef, unknown>;
3144
+ /** @internal */
3145
+ export type CreatePromptSnippet2PromptSnippetsResponse1$Outbound = {
3146
+ type: string;
3147
+ text: string;
3148
+ };
3149
+ /** @internal */
3150
+ export declare const CreatePromptSnippet2PromptSnippetsResponse1$outboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippetsResponse1$Outbound, z.ZodTypeDef, CreatePromptSnippet2PromptSnippetsResponse1>;
3151
+ /**
3152
+ * @internal
3153
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3154
+ */
3155
+ export declare namespace CreatePromptSnippet2PromptSnippetsResponse1$ {
3156
+ /** @deprecated use `CreatePromptSnippet2PromptSnippetsResponse1$inboundSchema` instead. */
3157
+ const inboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippetsResponse1, z.ZodTypeDef, unknown>;
3158
+ /** @deprecated use `CreatePromptSnippet2PromptSnippetsResponse1$outboundSchema` instead. */
3159
+ const outboundSchema: z.ZodType<CreatePromptSnippet2PromptSnippetsResponse1$Outbound, z.ZodTypeDef, CreatePromptSnippet2PromptSnippetsResponse1>;
3160
+ /** @deprecated use `CreatePromptSnippet2PromptSnippetsResponse1$Outbound` instead. */
3161
+ type Outbound = CreatePromptSnippet2PromptSnippetsResponse1$Outbound;
3162
+ }
3163
+ export declare function createPromptSnippet2PromptSnippetsResponse1ToJSON(createPromptSnippet2PromptSnippetsResponse1: CreatePromptSnippet2PromptSnippetsResponse1): string;
3164
+ export declare function createPromptSnippet2PromptSnippetsResponse1FromJSON(jsonString: string): SafeParseResult<CreatePromptSnippet2PromptSnippetsResponse1, SDKValidationError>;
3165
+ /** @internal */
3166
+ export declare const CreatePromptSnippetContentPromptSnippetsResponse2$inboundSchema: z.ZodType<CreatePromptSnippetContentPromptSnippetsResponse2, z.ZodTypeDef, unknown>;
3167
+ /** @internal */
3168
+ export type CreatePromptSnippetContentPromptSnippetsResponse2$Outbound = CreatePromptSnippet2PromptSnippetsResponse1$Outbound | CreatePromptSnippet2PromptSnippetsResponse2$Outbound;
3169
+ /** @internal */
3170
+ export declare const CreatePromptSnippetContentPromptSnippetsResponse2$outboundSchema: z.ZodType<CreatePromptSnippetContentPromptSnippetsResponse2$Outbound, z.ZodTypeDef, CreatePromptSnippetContentPromptSnippetsResponse2>;
3171
+ /**
3172
+ * @internal
3173
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3174
+ */
3175
+ export declare namespace CreatePromptSnippetContentPromptSnippetsResponse2$ {
3176
+ /** @deprecated use `CreatePromptSnippetContentPromptSnippetsResponse2$inboundSchema` instead. */
3177
+ const inboundSchema: z.ZodType<CreatePromptSnippetContentPromptSnippetsResponse2, z.ZodTypeDef, unknown>;
3178
+ /** @deprecated use `CreatePromptSnippetContentPromptSnippetsResponse2$outboundSchema` instead. */
3179
+ const outboundSchema: z.ZodType<CreatePromptSnippetContentPromptSnippetsResponse2$Outbound, z.ZodTypeDef, CreatePromptSnippetContentPromptSnippetsResponse2>;
3180
+ /** @deprecated use `CreatePromptSnippetContentPromptSnippetsResponse2$Outbound` instead. */
3181
+ type Outbound = CreatePromptSnippetContentPromptSnippetsResponse2$Outbound;
3182
+ }
3183
+ export declare function createPromptSnippetContentPromptSnippetsResponse2ToJSON(createPromptSnippetContentPromptSnippetsResponse2: CreatePromptSnippetContentPromptSnippetsResponse2): string;
3184
+ export declare function createPromptSnippetContentPromptSnippetsResponse2FromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetContentPromptSnippetsResponse2, SDKValidationError>;
3185
+ /** @internal */
3186
+ export declare const CreatePromptSnippetPromptSnippetsResponseContent$inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseContent, z.ZodTypeDef, unknown>;
3187
+ /** @internal */
3188
+ export type CreatePromptSnippetPromptSnippetsResponseContent$Outbound = string | Array<CreatePromptSnippet2PromptSnippetsResponse1$Outbound | CreatePromptSnippet2PromptSnippetsResponse2$Outbound>;
3189
+ /** @internal */
3190
+ export declare const CreatePromptSnippetPromptSnippetsResponseContent$outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseContent$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsResponseContent>;
3191
+ /**
3192
+ * @internal
3193
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3194
+ */
3195
+ export declare namespace CreatePromptSnippetPromptSnippetsResponseContent$ {
3196
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseContent$inboundSchema` instead. */
3197
+ const inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseContent, z.ZodTypeDef, unknown>;
3198
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseContent$outboundSchema` instead. */
3199
+ const outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseContent$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsResponseContent>;
3200
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseContent$Outbound` instead. */
3201
+ type Outbound = CreatePromptSnippetPromptSnippetsResponseContent$Outbound;
3202
+ }
3203
+ export declare function createPromptSnippetPromptSnippetsResponseContentToJSON(createPromptSnippetPromptSnippetsResponseContent: CreatePromptSnippetPromptSnippetsResponseContent): string;
3204
+ export declare function createPromptSnippetPromptSnippetsResponseContentFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetPromptSnippetsResponseContent, SDKValidationError>;
3205
+ /** @internal */
3206
+ export declare const CreatePromptSnippetPromptSnippetsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsResponse200Type>;
3207
+ /** @internal */
3208
+ export declare const CreatePromptSnippetPromptSnippetsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsResponse200Type>;
3209
+ /**
3210
+ * @internal
3211
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3212
+ */
3213
+ export declare namespace CreatePromptSnippetPromptSnippetsResponse200Type$ {
3214
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsResponse200Type$inboundSchema` instead. */
3215
+ const inboundSchema: z.ZodNativeEnum<{
3216
+ readonly Function: "function";
3217
+ }>;
3218
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsResponse200Type$outboundSchema` instead. */
3219
+ const outboundSchema: z.ZodNativeEnum<{
3220
+ readonly Function: "function";
3221
+ }>;
3222
+ }
3223
+ /** @internal */
3224
+ export declare const CreatePromptSnippetPromptSnippetsResponseFunction$inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseFunction, z.ZodTypeDef, unknown>;
3225
+ /** @internal */
3226
+ export type CreatePromptSnippetPromptSnippetsResponseFunction$Outbound = {
3227
+ name: string;
3228
+ arguments: string;
3229
+ };
3230
+ /** @internal */
3231
+ export declare const CreatePromptSnippetPromptSnippetsResponseFunction$outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseFunction$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsResponseFunction>;
3232
+ /**
3233
+ * @internal
3234
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3235
+ */
3236
+ export declare namespace CreatePromptSnippetPromptSnippetsResponseFunction$ {
3237
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseFunction$inboundSchema` instead. */
3238
+ const inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseFunction, z.ZodTypeDef, unknown>;
3239
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseFunction$outboundSchema` instead. */
3240
+ const outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseFunction$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsResponseFunction>;
3241
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseFunction$Outbound` instead. */
3242
+ type Outbound = CreatePromptSnippetPromptSnippetsResponseFunction$Outbound;
3243
+ }
3244
+ export declare function createPromptSnippetPromptSnippetsResponseFunctionToJSON(createPromptSnippetPromptSnippetsResponseFunction: CreatePromptSnippetPromptSnippetsResponseFunction): string;
3245
+ export declare function createPromptSnippetPromptSnippetsResponseFunctionFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetPromptSnippetsResponseFunction, SDKValidationError>;
3246
+ /** @internal */
3247
+ export declare const CreatePromptSnippetPromptSnippetsResponseToolCalls$inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseToolCalls, z.ZodTypeDef, unknown>;
3248
+ /** @internal */
3249
+ export type CreatePromptSnippetPromptSnippetsResponseToolCalls$Outbound = {
3250
+ id?: string | undefined;
3251
+ index?: number | undefined;
3252
+ type: string;
3253
+ function: CreatePromptSnippetPromptSnippetsResponseFunction$Outbound;
3254
+ };
3255
+ /** @internal */
3256
+ export declare const CreatePromptSnippetPromptSnippetsResponseToolCalls$outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseToolCalls$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsResponseToolCalls>;
3257
+ /**
3258
+ * @internal
3259
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3260
+ */
3261
+ export declare namespace CreatePromptSnippetPromptSnippetsResponseToolCalls$ {
3262
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseToolCalls$inboundSchema` instead. */
3263
+ const inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseToolCalls, z.ZodTypeDef, unknown>;
3264
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseToolCalls$outboundSchema` instead. */
3265
+ const outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseToolCalls$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsResponseToolCalls>;
3266
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseToolCalls$Outbound` instead. */
3267
+ type Outbound = CreatePromptSnippetPromptSnippetsResponseToolCalls$Outbound;
3268
+ }
3269
+ export declare function createPromptSnippetPromptSnippetsResponseToolCallsToJSON(createPromptSnippetPromptSnippetsResponseToolCalls: CreatePromptSnippetPromptSnippetsResponseToolCalls): string;
3270
+ export declare function createPromptSnippetPromptSnippetsResponseToolCallsFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetPromptSnippetsResponseToolCalls, SDKValidationError>;
3271
+ /** @internal */
3272
+ export declare const CreatePromptSnippetPromptSnippetsResponseMessages$inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseMessages, z.ZodTypeDef, unknown>;
3273
+ /** @internal */
3274
+ export type CreatePromptSnippetPromptSnippetsResponseMessages$Outbound = {
3275
+ role: string;
3276
+ content: string | Array<CreatePromptSnippet2PromptSnippetsResponse1$Outbound | CreatePromptSnippet2PromptSnippetsResponse2$Outbound>;
3277
+ tool_calls?: Array<CreatePromptSnippetPromptSnippetsResponseToolCalls$Outbound> | undefined;
3278
+ };
3279
+ /** @internal */
3280
+ export declare const CreatePromptSnippetPromptSnippetsResponseMessages$outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseMessages$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsResponseMessages>;
3281
+ /**
3282
+ * @internal
3283
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3284
+ */
3285
+ export declare namespace CreatePromptSnippetPromptSnippetsResponseMessages$ {
3286
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseMessages$inboundSchema` instead. */
3287
+ const inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseMessages, z.ZodTypeDef, unknown>;
3288
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseMessages$outboundSchema` instead. */
3289
+ const outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseMessages$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsResponseMessages>;
3290
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseMessages$Outbound` instead. */
3291
+ type Outbound = CreatePromptSnippetPromptSnippetsResponseMessages$Outbound;
3292
+ }
3293
+ export declare function createPromptSnippetPromptSnippetsResponseMessagesToJSON(createPromptSnippetPromptSnippetsResponseMessages: CreatePromptSnippetPromptSnippetsResponseMessages): string;
3294
+ export declare function createPromptSnippetPromptSnippetsResponseMessagesFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetPromptSnippetsResponseMessages, SDKValidationError>;
3295
+ /** @internal */
3296
+ export declare const CreatePromptSnippetPromptSnippetsPromptConfig$inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsPromptConfig, z.ZodTypeDef, unknown>;
3297
+ /** @internal */
3298
+ export type CreatePromptSnippetPromptSnippetsPromptConfig$Outbound = {
3299
+ stream?: boolean | undefined;
3300
+ model?: string | undefined;
3301
+ model_db_id?: string | undefined;
3302
+ model_type?: string | undefined;
3303
+ model_parameters?: CreatePromptSnippetPromptSnippetsModelParameters$Outbound | undefined;
3304
+ provider?: string | undefined;
3305
+ integration_id?: string | null | undefined;
3306
+ version?: string | undefined;
3307
+ messages: Array<CreatePromptSnippetPromptSnippetsResponseMessages$Outbound>;
3308
+ };
3309
+ /** @internal */
3310
+ export declare const CreatePromptSnippetPromptSnippetsPromptConfig$outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsPromptConfig$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsPromptConfig>;
3311
+ /**
3312
+ * @internal
3313
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3314
+ */
3315
+ export declare namespace CreatePromptSnippetPromptSnippetsPromptConfig$ {
3316
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsPromptConfig$inboundSchema` instead. */
3317
+ const inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsPromptConfig, z.ZodTypeDef, unknown>;
3318
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsPromptConfig$outboundSchema` instead. */
3319
+ const outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsPromptConfig$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsPromptConfig>;
3320
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsPromptConfig$Outbound` instead. */
3321
+ type Outbound = CreatePromptSnippetPromptSnippetsPromptConfig$Outbound;
3322
+ }
3323
+ export declare function createPromptSnippetPromptSnippetsPromptConfigToJSON(createPromptSnippetPromptSnippetsPromptConfig: CreatePromptSnippetPromptSnippetsPromptConfig): string;
3324
+ export declare function createPromptSnippetPromptSnippetsPromptConfigFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetPromptSnippetsPromptConfig, SDKValidationError>;
3325
+ /** @internal */
3326
+ export declare const CreatePromptSnippetPromptSnippetsUseCases$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsUseCases>;
3327
+ /** @internal */
3328
+ export declare const CreatePromptSnippetPromptSnippetsUseCases$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsUseCases>;
3329
+ /**
3330
+ * @internal
3331
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3332
+ */
3333
+ export declare namespace CreatePromptSnippetPromptSnippetsUseCases$ {
3334
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsUseCases$inboundSchema` instead. */
3335
+ const inboundSchema: z.ZodNativeEnum<{
3336
+ readonly Agents: "Agents";
3337
+ readonly AgentsSimulations: "Agents simulations";
3338
+ readonly APIInteraction: "API interaction";
3339
+ readonly AutonomousAgents: "Autonomous Agents";
3340
+ readonly Chatbots: "Chatbots";
3341
+ readonly Classification: "Classification";
3342
+ readonly CodeUnderstanding: "Code understanding";
3343
+ readonly CodeWriting: "Code writing";
3344
+ readonly DocumentsQA: "Documents QA";
3345
+ readonly Conversation: "Conversation";
3346
+ readonly Extraction: "Extraction";
3347
+ readonly MultiModal: "Multi-modal";
3348
+ readonly SelfChecking: "Self-checking";
3349
+ readonly Sql: "SQL";
3350
+ readonly Summarization: "Summarization";
3351
+ readonly Tagging: "Tagging";
3352
+ }>;
3353
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsUseCases$outboundSchema` instead. */
3354
+ const outboundSchema: z.ZodNativeEnum<{
3355
+ readonly Agents: "Agents";
3356
+ readonly AgentsSimulations: "Agents simulations";
3357
+ readonly APIInteraction: "API interaction";
3358
+ readonly AutonomousAgents: "Autonomous Agents";
3359
+ readonly Chatbots: "Chatbots";
3360
+ readonly Classification: "Classification";
3361
+ readonly CodeUnderstanding: "Code understanding";
3362
+ readonly CodeWriting: "Code writing";
3363
+ readonly DocumentsQA: "Documents QA";
3364
+ readonly Conversation: "Conversation";
3365
+ readonly Extraction: "Extraction";
3366
+ readonly MultiModal: "Multi-modal";
3367
+ readonly SelfChecking: "Self-checking";
3368
+ readonly Sql: "SQL";
3369
+ readonly Summarization: "Summarization";
3370
+ readonly Tagging: "Tagging";
3371
+ }>;
3372
+ }
3373
+ /** @internal */
3374
+ export declare const CreatePromptSnippetPromptSnippetsLanguage$inboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsLanguage>;
3375
+ /** @internal */
3376
+ export declare const CreatePromptSnippetPromptSnippetsLanguage$outboundSchema: z.ZodNativeEnum<typeof CreatePromptSnippetPromptSnippetsLanguage>;
3377
+ /**
3378
+ * @internal
3379
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3380
+ */
3381
+ export declare namespace CreatePromptSnippetPromptSnippetsLanguage$ {
3382
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsLanguage$inboundSchema` instead. */
3383
+ const inboundSchema: z.ZodNativeEnum<{
3384
+ readonly Chinese: "Chinese";
3385
+ readonly Dutch: "Dutch";
3386
+ readonly English: "English";
3387
+ readonly French: "French";
3388
+ readonly German: "German";
3389
+ readonly Russian: "Russian";
3390
+ readonly Spanish: "Spanish";
3391
+ }>;
3392
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsLanguage$outboundSchema` instead. */
3393
+ const outboundSchema: z.ZodNativeEnum<{
3394
+ readonly Chinese: "Chinese";
3395
+ readonly Dutch: "Dutch";
3396
+ readonly English: "English";
3397
+ readonly French: "French";
3398
+ readonly German: "German";
3399
+ readonly Russian: "Russian";
3400
+ readonly Spanish: "Spanish";
3401
+ }>;
3402
+ }
3403
+ /** @internal */
3404
+ export declare const CreatePromptSnippetPromptSnippetsResponseMetadata$inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseMetadata, z.ZodTypeDef, unknown>;
3405
+ /** @internal */
3406
+ export type CreatePromptSnippetPromptSnippetsResponseMetadata$Outbound = {
3407
+ use_cases?: Array<string> | undefined;
3408
+ language?: string | undefined;
3409
+ };
3410
+ /** @internal */
3411
+ export declare const CreatePromptSnippetPromptSnippetsResponseMetadata$outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseMetadata$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsResponseMetadata>;
3412
+ /**
3413
+ * @internal
3414
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3415
+ */
3416
+ export declare namespace CreatePromptSnippetPromptSnippetsResponseMetadata$ {
3417
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseMetadata$inboundSchema` instead. */
3418
+ const inboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseMetadata, z.ZodTypeDef, unknown>;
3419
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseMetadata$outboundSchema` instead. */
3420
+ const outboundSchema: z.ZodType<CreatePromptSnippetPromptSnippetsResponseMetadata$Outbound, z.ZodTypeDef, CreatePromptSnippetPromptSnippetsResponseMetadata>;
3421
+ /** @deprecated use `CreatePromptSnippetPromptSnippetsResponseMetadata$Outbound` instead. */
3422
+ type Outbound = CreatePromptSnippetPromptSnippetsResponseMetadata$Outbound;
3423
+ }
3424
+ export declare function createPromptSnippetPromptSnippetsResponseMetadataToJSON(createPromptSnippetPromptSnippetsResponseMetadata: CreatePromptSnippetPromptSnippetsResponseMetadata): string;
3425
+ export declare function createPromptSnippetPromptSnippetsResponseMetadataFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetPromptSnippetsResponseMetadata, SDKValidationError>;
3426
+ /** @internal */
3427
+ export declare const Versions$inboundSchema: z.ZodType<Versions, z.ZodTypeDef, unknown>;
3428
+ /** @internal */
3429
+ export type Versions$Outbound = {
3430
+ _id: string;
3431
+ display_name: string;
3432
+ description?: string | null | undefined;
3433
+ prompt_config: CreatePromptSnippetPromptSnippetsPromptConfig$Outbound;
3434
+ metadata: CreatePromptSnippetPromptSnippetsResponseMetadata$Outbound;
3435
+ created_by_id: string;
3436
+ updated_by_id: string;
3437
+ timestamp: string;
3438
+ };
3439
+ /** @internal */
3440
+ export declare const Versions$outboundSchema: z.ZodType<Versions$Outbound, z.ZodTypeDef, Versions>;
3441
+ /**
3442
+ * @internal
3443
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3444
+ */
3445
+ export declare namespace Versions$ {
3446
+ /** @deprecated use `Versions$inboundSchema` instead. */
3447
+ const inboundSchema: z.ZodType<Versions, z.ZodTypeDef, unknown>;
3448
+ /** @deprecated use `Versions$outboundSchema` instead. */
3449
+ const outboundSchema: z.ZodType<Versions$Outbound, z.ZodTypeDef, Versions>;
3450
+ /** @deprecated use `Versions$Outbound` instead. */
3451
+ type Outbound = Versions$Outbound;
3452
+ }
3453
+ export declare function versionsToJSON(versions: Versions): string;
3454
+ export declare function versionsFromJSON(jsonString: string): SafeParseResult<Versions, SDKValidationError>;
3455
+ /** @internal */
3456
+ export declare const CreatePromptSnippetResponseBody$inboundSchema: z.ZodType<CreatePromptSnippetResponseBody, z.ZodTypeDef, unknown>;
3457
+ /** @internal */
3458
+ export type CreatePromptSnippetResponseBody$Outbound = {
3459
+ _id: string;
3460
+ owner: string | string;
3461
+ domain_id: string;
3462
+ key: string;
3463
+ display_name: string;
3464
+ description?: string | null | undefined;
3465
+ prompt_config: CreatePromptSnippetPromptConfig$Outbound;
3466
+ metadata: CreatePromptSnippetPromptSnippetsMetadata$Outbound;
3467
+ created_by_id: string;
3468
+ updated_by_id: string;
3469
+ created?: string | undefined;
3470
+ updated: string;
3471
+ type: string;
3472
+ versions: Array<Versions$Outbound>;
3473
+ };
3474
+ /** @internal */
3475
+ export declare const CreatePromptSnippetResponseBody$outboundSchema: z.ZodType<CreatePromptSnippetResponseBody$Outbound, z.ZodTypeDef, CreatePromptSnippetResponseBody>;
3476
+ /**
3477
+ * @internal
3478
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3479
+ */
3480
+ export declare namespace CreatePromptSnippetResponseBody$ {
3481
+ /** @deprecated use `CreatePromptSnippetResponseBody$inboundSchema` instead. */
3482
+ const inboundSchema: z.ZodType<CreatePromptSnippetResponseBody, z.ZodTypeDef, unknown>;
3483
+ /** @deprecated use `CreatePromptSnippetResponseBody$outboundSchema` instead. */
3484
+ const outboundSchema: z.ZodType<CreatePromptSnippetResponseBody$Outbound, z.ZodTypeDef, CreatePromptSnippetResponseBody>;
3485
+ /** @deprecated use `CreatePromptSnippetResponseBody$Outbound` instead. */
3486
+ type Outbound = CreatePromptSnippetResponseBody$Outbound;
3487
+ }
3488
+ export declare function createPromptSnippetResponseBodyToJSON(createPromptSnippetResponseBody: CreatePromptSnippetResponseBody): string;
3489
+ export declare function createPromptSnippetResponseBodyFromJSON(jsonString: string): SafeParseResult<CreatePromptSnippetResponseBody, SDKValidationError>;
3490
+ //# sourceMappingURL=createpromptsnippet.d.ts.map