@orq-ai/node 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (468) hide show
  1. package/README.md +556 -0
  2. package/core.d.ts +10 -0
  3. package/core.d.ts.map +1 -0
  4. package/core.js +17 -0
  5. package/core.js.map +1 -0
  6. package/docs/sdks/contacts/README.md +84 -0
  7. package/docs/sdks/deployments/README.md +314 -0
  8. package/docs/sdks/feedback/README.md +92 -0
  9. package/docs/sdks/files/README.md +171 -0
  10. package/docs/sdks/metrics/README.md +86 -0
  11. package/docs/sdks/orq/README.md +10 -0
  12. package/docs/sdks/prompt/README.md +6 -0
  13. package/docs/sdks/prompts/README.md +533 -0
  14. package/docs/sdks/remoteconfig/README.md +80 -0
  15. package/docs/sdks/snippets/README.md +84 -0
  16. package/docs/sdks/templates/README.md +80 -0
  17. package/funcs/contactsCreate.d.ts +15 -0
  18. package/funcs/contactsCreate.d.ts.map +1 -0
  19. package/funcs/contactsCreate.js +105 -0
  20. package/funcs/contactsCreate.js.map +1 -0
  21. package/funcs/deploymentsAll.d.ts +16 -0
  22. package/funcs/deploymentsAll.d.ts.map +1 -0
  23. package/funcs/deploymentsAll.js +113 -0
  24. package/funcs/deploymentsAll.js.map +1 -0
  25. package/funcs/deploymentsGetConfig.d.ts +15 -0
  26. package/funcs/deploymentsGetConfig.d.ts.map +1 -0
  27. package/funcs/deploymentsGetConfig.js +105 -0
  28. package/funcs/deploymentsGetConfig.js.map +1 -0
  29. package/funcs/deploymentsInvalidate.d.ts +15 -0
  30. package/funcs/deploymentsInvalidate.d.ts.map +1 -0
  31. package/funcs/deploymentsInvalidate.js +111 -0
  32. package/funcs/deploymentsInvalidate.js.map +1 -0
  33. package/funcs/deploymentsInvoke.d.ts +22 -0
  34. package/funcs/deploymentsInvoke.d.ts.map +1 -0
  35. package/funcs/deploymentsInvoke.js +115 -0
  36. package/funcs/deploymentsInvoke.js.map +1 -0
  37. package/funcs/deploymentsMetricsCreate.d.ts +15 -0
  38. package/funcs/deploymentsMetricsCreate.d.ts.map +1 -0
  39. package/funcs/deploymentsMetricsCreate.js +111 -0
  40. package/funcs/deploymentsMetricsCreate.js.map +1 -0
  41. package/funcs/feedbackCreate.d.ts +15 -0
  42. package/funcs/feedbackCreate.d.ts.map +1 -0
  43. package/funcs/feedbackCreate.js +105 -0
  44. package/funcs/feedbackCreate.js.map +1 -0
  45. package/funcs/filesBulkUpload.d.ts +15 -0
  46. package/funcs/filesBulkUpload.d.ts.map +1 -0
  47. package/funcs/filesBulkUpload.js +106 -0
  48. package/funcs/filesBulkUpload.js.map +1 -0
  49. package/funcs/filesUpload.d.ts +15 -0
  50. package/funcs/filesUpload.d.ts.map +1 -0
  51. package/funcs/filesUpload.js +122 -0
  52. package/funcs/filesUpload.js.map +1 -0
  53. package/funcs/promptSnippetsFindOne.d.ts +12 -0
  54. package/funcs/promptSnippetsFindOne.d.ts.map +1 -0
  55. package/funcs/promptSnippetsFindOne.js +107 -0
  56. package/funcs/promptSnippetsFindOne.js.map +1 -0
  57. package/funcs/promptTemplatesGetAll.d.ts +12 -0
  58. package/funcs/promptTemplatesGetAll.d.ts.map +1 -0
  59. package/funcs/promptTemplatesGetAll.js +107 -0
  60. package/funcs/promptTemplatesGetAll.js.map +1 -0
  61. package/funcs/promptsCreate.d.ts +12 -0
  62. package/funcs/promptsCreate.d.ts.map +1 -0
  63. package/funcs/promptsCreate.js +104 -0
  64. package/funcs/promptsCreate.js.map +1 -0
  65. package/funcs/promptsCreateVersion.d.ts +12 -0
  66. package/funcs/promptsCreateVersion.d.ts.map +1 -0
  67. package/funcs/promptsCreateVersion.js +108 -0
  68. package/funcs/promptsCreateVersion.js.map +1 -0
  69. package/funcs/promptsDelete.d.ts +12 -0
  70. package/funcs/promptsDelete.d.ts.map +1 -0
  71. package/funcs/promptsDelete.js +108 -0
  72. package/funcs/promptsDelete.js.map +1 -0
  73. package/funcs/promptsDuplicate.d.ts +12 -0
  74. package/funcs/promptsDuplicate.d.ts.map +1 -0
  75. package/funcs/promptsDuplicate.js +108 -0
  76. package/funcs/promptsDuplicate.js.map +1 -0
  77. package/funcs/promptsGetAll.d.ts +12 -0
  78. package/funcs/promptsGetAll.d.ts.map +1 -0
  79. package/funcs/promptsGetAll.js +107 -0
  80. package/funcs/promptsGetAll.js.map +1 -0
  81. package/funcs/promptsGetOne.d.ts +12 -0
  82. package/funcs/promptsGetOne.d.ts.map +1 -0
  83. package/funcs/promptsGetOne.js +108 -0
  84. package/funcs/promptsGetOne.js.map +1 -0
  85. package/funcs/promptsUpdate.d.ts +13 -0
  86. package/funcs/promptsUpdate.d.ts.map +1 -0
  87. package/funcs/promptsUpdate.js +112 -0
  88. package/funcs/promptsUpdate.js.map +1 -0
  89. package/funcs/remoteconfigGetConfig.d.ts +12 -0
  90. package/funcs/remoteconfigGetConfig.d.ts.map +1 -0
  91. package/funcs/remoteconfigGetConfig.js +105 -0
  92. package/funcs/remoteconfigGetConfig.js.map +1 -0
  93. package/hooks/hooks.d.ts +24 -0
  94. package/hooks/hooks.d.ts.map +1 -0
  95. package/hooks/hooks.js +68 -0
  96. package/hooks/hooks.js.map +1 -0
  97. package/hooks/index.d.ts +3 -0
  98. package/hooks/index.d.ts.map +1 -0
  99. package/hooks/index.js +22 -0
  100. package/hooks/index.js.map +1 -0
  101. package/hooks/registration.d.ts +3 -0
  102. package/hooks/registration.d.ts.map +1 -0
  103. package/hooks/registration.js +15 -0
  104. package/hooks/registration.js.map +1 -0
  105. package/hooks/types.d.ts +76 -0
  106. package/hooks/types.d.ts.map +1 -0
  107. package/hooks/types.js +6 -0
  108. package/hooks/types.js.map +1 -0
  109. package/index.d.ts +4 -0
  110. package/index.d.ts.map +1 -0
  111. package/index.js +46 -0
  112. package/index.js.map +1 -0
  113. package/lib/base64.d.ts +10 -0
  114. package/lib/base64.d.ts.map +1 -0
  115. package/lib/base64.js +71 -0
  116. package/lib/base64.js.map +1 -0
  117. package/lib/config.d.ts +34 -0
  118. package/lib/config.d.ts.map +1 -0
  119. package/lib/config.js +36 -0
  120. package/lib/config.js.map +1 -0
  121. package/lib/dlv.d.ts +14 -0
  122. package/lib/dlv.d.ts.map +1 -0
  123. package/lib/dlv.js +49 -0
  124. package/lib/dlv.js.map +1 -0
  125. package/lib/encodings.d.ts +51 -0
  126. package/lib/encodings.d.ts.map +1 -0
  127. package/lib/encodings.js +343 -0
  128. package/lib/encodings.js.map +1 -0
  129. package/lib/env.d.ts +15 -0
  130. package/lib/env.d.ts.map +1 -0
  131. package/lib/env.js +66 -0
  132. package/lib/env.js.map +1 -0
  133. package/lib/event-streams.d.ts +17 -0
  134. package/lib/event-streams.d.ts.map +1 -0
  135. package/lib/event-streams.js +221 -0
  136. package/lib/event-streams.js.map +1 -0
  137. package/lib/files.d.ts +8 -0
  138. package/lib/files.d.ts.map +1 -0
  139. package/lib/files.js +36 -0
  140. package/lib/files.js.map +1 -0
  141. package/lib/http.d.ts +67 -0
  142. package/lib/http.d.ts.map +1 -0
  143. package/lib/http.js +218 -0
  144. package/lib/http.js.map +1 -0
  145. package/lib/is-plain-object.d.ts +2 -0
  146. package/lib/is-plain-object.d.ts.map +1 -0
  147. package/lib/is-plain-object.js +41 -0
  148. package/lib/is-plain-object.js.map +1 -0
  149. package/lib/logger.d.ts +6 -0
  150. package/lib/logger.d.ts.map +1 -0
  151. package/lib/logger.js +6 -0
  152. package/lib/logger.js.map +1 -0
  153. package/lib/matchers.d.ts +64 -0
  154. package/lib/matchers.d.ts.map +1 -0
  155. package/lib/matchers.js +208 -0
  156. package/lib/matchers.js.map +1 -0
  157. package/lib/primitives.d.ts +22 -0
  158. package/lib/primitives.d.ts.map +1 -0
  159. package/lib/primitives.js +94 -0
  160. package/lib/primitives.js.map +1 -0
  161. package/lib/retries.d.ts +38 -0
  162. package/lib/retries.d.ts.map +1 -0
  163. package/lib/retries.js +155 -0
  164. package/lib/retries.js.map +1 -0
  165. package/lib/schemas.d.ts +19 -0
  166. package/lib/schemas.d.ts.map +1 -0
  167. package/lib/schemas.js +59 -0
  168. package/lib/schemas.js.map +1 -0
  169. package/lib/sdks.d.ts +56 -0
  170. package/lib/sdks.d.ts.map +1 -0
  171. package/lib/sdks.js +277 -0
  172. package/lib/sdks.js.map +1 -0
  173. package/lib/security.d.ts +82 -0
  174. package/lib/security.d.ts.map +1 -0
  175. package/lib/security.js +140 -0
  176. package/lib/security.js.map +1 -0
  177. package/lib/url.d.ts +5 -0
  178. package/lib/url.d.ts.map +1 -0
  179. package/lib/url.js +25 -0
  180. package/lib/url.js.map +1 -0
  181. package/models/components/deployments.d.ts +890 -0
  182. package/models/components/deployments.d.ts.map +1 -0
  183. package/models/components/deployments.js +918 -0
  184. package/models/components/deployments.js.map +1 -0
  185. package/models/components/index.d.ts +3 -0
  186. package/models/components/index.d.ts.map +1 -0
  187. package/models/components/index.js +22 -0
  188. package/models/components/index.js.map +1 -0
  189. package/models/components/security.d.ts +29 -0
  190. package/models/components/security.d.ts.map +1 -0
  191. package/models/components/security.js +78 -0
  192. package/models/components/security.js.map +1 -0
  193. package/models/errors/apierror.d.ts +8 -0
  194. package/models/errors/apierror.d.ts.map +1 -0
  195. package/models/errors/apierror.js +21 -0
  196. package/models/errors/apierror.js.map +1 -0
  197. package/models/errors/honoapierror.d.ts +42 -0
  198. package/models/errors/honoapierror.d.ts.map +1 -0
  199. package/models/errors/honoapierror.js +80 -0
  200. package/models/errors/honoapierror.js.map +1 -0
  201. package/models/errors/httpclienterrors.d.ts +44 -0
  202. package/models/errors/httpclienterrors.d.ts.map +1 -0
  203. package/models/errors/httpclienterrors.js +78 -0
  204. package/models/errors/httpclienterrors.js.map +1 -0
  205. package/models/errors/index.d.ts +6 -0
  206. package/models/errors/index.d.ts.map +1 -0
  207. package/models/errors/index.js +25 -0
  208. package/models/errors/index.js.map +1 -0
  209. package/models/errors/sdkvalidationerror.d.ts +20 -0
  210. package/models/errors/sdkvalidationerror.d.ts.map +1 -0
  211. package/models/errors/sdkvalidationerror.js +115 -0
  212. package/models/errors/sdkvalidationerror.js.map +1 -0
  213. package/models/errors/updateprompt.d.ts +36 -0
  214. package/models/errors/updateprompt.d.ts.map +1 -0
  215. package/models/errors/updateprompt.js +79 -0
  216. package/models/errors/updateprompt.js.map +1 -0
  217. package/models/operations/bulkfileupload.d.ts +162 -0
  218. package/models/operations/bulkfileupload.d.ts.map +1 -0
  219. package/models/operations/bulkfileupload.js +204 -0
  220. package/models/operations/bulkfileupload.js.map +1 -0
  221. package/models/operations/createcontact.d.ts +139 -0
  222. package/models/operations/createcontact.d.ts.map +1 -0
  223. package/models/operations/createcontact.js +149 -0
  224. package/models/operations/createcontact.js.map +1 -0
  225. package/models/operations/createfeedback.d.ts +136 -0
  226. package/models/operations/createfeedback.d.ts.map +1 -0
  227. package/models/operations/createfeedback.js +172 -0
  228. package/models/operations/createfeedback.js.map +1 -0
  229. package/models/operations/createprompt.d.ts +2023 -0
  230. package/models/operations/createprompt.d.ts.map +1 -0
  231. package/models/operations/createprompt.js +1849 -0
  232. package/models/operations/createprompt.js.map +1 -0
  233. package/models/operations/createpromptversion.d.ts +1989 -0
  234. package/models/operations/createpromptversion.d.ts.map +1 -0
  235. package/models/operations/createpromptversion.js +1844 -0
  236. package/models/operations/createpromptversion.js.map +1 -0
  237. package/models/operations/deleteprompt.d.ts +32 -0
  238. package/models/operations/deleteprompt.d.ts.map +1 -0
  239. package/models/operations/deleteprompt.js +69 -0
  240. package/models/operations/deleteprompt.js.map +1 -0
  241. package/models/operations/deploymentcreatemetric.d.ts +957 -0
  242. package/models/operations/deploymentcreatemetric.d.ts.map +1 -0
  243. package/models/operations/deploymentcreatemetric.js +954 -0
  244. package/models/operations/deploymentcreatemetric.js.map +1 -0
  245. package/models/operations/deploymentgetconfig.d.ts +1852 -0
  246. package/models/operations/deploymentgetconfig.d.ts.map +1 -0
  247. package/models/operations/deploymentgetconfig.js +1751 -0
  248. package/models/operations/deploymentgetconfig.js.map +1 -0
  249. package/models/operations/deploymentinvoke.d.ts +1344 -0
  250. package/models/operations/deploymentinvoke.d.ts.map +1 -0
  251. package/models/operations/deploymentinvoke.js +1208 -0
  252. package/models/operations/deploymentinvoke.js.map +1 -0
  253. package/models/operations/deployments.d.ts +1223 -0
  254. package/models/operations/deployments.d.ts.map +1 -0
  255. package/models/operations/deployments.js +1101 -0
  256. package/models/operations/deployments.js.map +1 -0
  257. package/models/operations/duplicateprompt.d.ts +32 -0
  258. package/models/operations/duplicateprompt.d.ts.map +1 -0
  259. package/models/operations/duplicateprompt.js +69 -0
  260. package/models/operations/duplicateprompt.js.map +1 -0
  261. package/models/operations/fileupload.d.ts +168 -0
  262. package/models/operations/fileupload.d.ts.map +1 -0
  263. package/models/operations/fileupload.js +206 -0
  264. package/models/operations/fileupload.js.map +1 -0
  265. package/models/operations/findonepromptsnippet.d.ts +6242 -0
  266. package/models/operations/findonepromptsnippet.d.ts.map +1 -0
  267. package/models/operations/findonepromptsnippet.js +5879 -0
  268. package/models/operations/findonepromptsnippet.js.map +1 -0
  269. package/models/operations/getallprompts.d.ts +6577 -0
  270. package/models/operations/getallprompts.d.ts.map +1 -0
  271. package/models/operations/getallprompts.js +6149 -0
  272. package/models/operations/getallprompts.js.map +1 -0
  273. package/models/operations/getallprompttemplates.d.ts +6571 -0
  274. package/models/operations/getallprompttemplates.d.ts.map +1 -0
  275. package/models/operations/getallprompttemplates.js +6213 -0
  276. package/models/operations/getallprompttemplates.js.map +1 -0
  277. package/models/operations/getoneprompt.d.ts +32 -0
  278. package/models/operations/getoneprompt.d.ts.map +1 -0
  279. package/models/operations/getoneprompt.js +69 -0
  280. package/models/operations/getoneprompt.js.map +1 -0
  281. package/models/operations/index.d.ts +20 -0
  282. package/models/operations/index.d.ts.map +1 -0
  283. package/models/operations/index.js +39 -0
  284. package/models/operations/index.js.map +1 -0
  285. package/models/operations/invaliddeployment.d.ts +29 -0
  286. package/models/operations/invaliddeployment.d.ts.map +1 -0
  287. package/models/operations/invaliddeployment.js +78 -0
  288. package/models/operations/invaliddeployment.js.map +1 -0
  289. package/models/operations/remoteconfigsgetconfig.d.ts +121 -0
  290. package/models/operations/remoteconfigsgetconfig.d.ts.map +1 -0
  291. package/models/operations/remoteconfigsgetconfig.js +126 -0
  292. package/models/operations/remoteconfigsgetconfig.js.map +1 -0
  293. package/models/operations/updateprompt.d.ts +7209 -0
  294. package/models/operations/updateprompt.d.ts.map +1 -0
  295. package/models/operations/updateprompt.js +6664 -0
  296. package/models/operations/updateprompt.js.map +1 -0
  297. package/package.json +33 -0
  298. package/sdk/contacts.d.ts +12 -0
  299. package/sdk/contacts.d.ts.map +1 -0
  300. package/sdk/contacts.js +22 -0
  301. package/sdk/contacts.js.map +1 -0
  302. package/sdk/deployments.d.ts +41 -0
  303. package/sdk/deployments.d.ts.map +1 -0
  304. package/sdk/deployments.js +59 -0
  305. package/sdk/deployments.js.map +1 -0
  306. package/sdk/feedback.d.ts +12 -0
  307. package/sdk/feedback.d.ts.map +1 -0
  308. package/sdk/feedback.js +22 -0
  309. package/sdk/feedback.js.map +1 -0
  310. package/sdk/files.d.ts +19 -0
  311. package/sdk/files.d.ts.map +1 -0
  312. package/sdk/files.js +32 -0
  313. package/sdk/files.js.map +1 -0
  314. package/sdk/index.d.ts +2 -0
  315. package/sdk/index.d.ts.map +1 -0
  316. package/sdk/index.js +21 -0
  317. package/sdk/index.js.map +1 -0
  318. package/sdk/metrics.d.ts +12 -0
  319. package/sdk/metrics.d.ts.map +1 -0
  320. package/sdk/metrics.js +22 -0
  321. package/sdk/metrics.js.map +1 -0
  322. package/sdk/prompt.d.ts +10 -0
  323. package/sdk/prompt.d.ts.map +1 -0
  324. package/sdk/prompt.js +21 -0
  325. package/sdk/prompt.js.map +1 -0
  326. package/sdk/prompts.d.ts +33 -0
  327. package/sdk/prompts.d.ts.map +1 -0
  328. package/sdk/prompts.js +61 -0
  329. package/sdk/prompts.js.map +1 -0
  330. package/sdk/remoteconfig.d.ts +9 -0
  331. package/sdk/remoteconfig.d.ts.map +1 -0
  332. package/sdk/remoteconfig.js +19 -0
  333. package/sdk/remoteconfig.js.map +1 -0
  334. package/sdk/sdk.d.ts +25 -0
  335. package/sdk/sdk.d.ts.map +1 -0
  336. package/sdk/sdk.js +46 -0
  337. package/sdk/sdk.js.map +1 -0
  338. package/sdk/snippets.d.ts +9 -0
  339. package/sdk/snippets.d.ts.map +1 -0
  340. package/sdk/snippets.js +19 -0
  341. package/sdk/snippets.js.map +1 -0
  342. package/sdk/templates.d.ts +9 -0
  343. package/sdk/templates.d.ts.map +1 -0
  344. package/sdk/templates.js +19 -0
  345. package/sdk/templates.js.map +1 -0
  346. package/src/core.ts +13 -0
  347. package/src/funcs/contactsCreate.ts +123 -0
  348. package/src/funcs/deploymentsAll.ts +137 -0
  349. package/src/funcs/deploymentsGetConfig.ts +131 -0
  350. package/src/funcs/deploymentsInvalidate.ts +132 -0
  351. package/src/funcs/deploymentsInvoke.ts +134 -0
  352. package/src/funcs/deploymentsMetricsCreate.ts +131 -0
  353. package/src/funcs/feedbackCreate.ts +123 -0
  354. package/src/funcs/filesBulkUpload.ts +125 -0
  355. package/src/funcs/filesUpload.ts +144 -0
  356. package/src/funcs/promptSnippetsFindOne.ts +127 -0
  357. package/src/funcs/promptTemplatesGetAll.ts +129 -0
  358. package/src/funcs/promptsCreate.ts +123 -0
  359. package/src/funcs/promptsCreateVersion.ts +128 -0
  360. package/src/funcs/promptsDelete.ts +127 -0
  361. package/src/funcs/promptsDuplicate.ts +127 -0
  362. package/src/funcs/promptsGetAll.ts +127 -0
  363. package/src/funcs/promptsGetOne.ts +127 -0
  364. package/src/funcs/promptsUpdate.ts +135 -0
  365. package/src/funcs/remoteconfigGetConfig.ts +124 -0
  366. package/src/hooks/hooks.ts +112 -0
  367. package/src/hooks/index.ts +6 -0
  368. package/src/hooks/registration.ts +14 -0
  369. package/src/hooks/types.ts +102 -0
  370. package/src/index.ts +7 -0
  371. package/src/lib/base64.ts +37 -0
  372. package/src/lib/config.ts +60 -0
  373. package/src/lib/dlv.ts +53 -0
  374. package/src/lib/encodings.ts +449 -0
  375. package/src/lib/env.ts +41 -0
  376. package/src/lib/event-streams.ts +264 -0
  377. package/src/lib/files.ts +40 -0
  378. package/src/lib/http.ts +323 -0
  379. package/src/lib/is-plain-object.ts +43 -0
  380. package/src/lib/logger.ts +9 -0
  381. package/src/lib/matchers.ts +325 -0
  382. package/src/lib/primitives.ts +122 -0
  383. package/src/lib/retries.ts +219 -0
  384. package/src/lib/schemas.ts +86 -0
  385. package/src/lib/sdks.ts +392 -0
  386. package/src/lib/security.ts +254 -0
  387. package/src/lib/url.ts +33 -0
  388. package/src/models/components/deployments.ts +1607 -0
  389. package/src/models/components/index.ts +6 -0
  390. package/src/models/components/security.ts +71 -0
  391. package/src/models/errors/apierror.ts +27 -0
  392. package/src/models/errors/honoapierror.ts +82 -0
  393. package/src/models/errors/httpclienterrors.ts +62 -0
  394. package/src/models/errors/index.ts +9 -0
  395. package/src/models/errors/sdkvalidationerror.ts +97 -0
  396. package/src/models/errors/updateprompt.ts +71 -0
  397. package/src/models/operations/bulkfileupload.ts +304 -0
  398. package/src/models/operations/createcontact.ts +256 -0
  399. package/src/models/operations/createfeedback.ts +286 -0
  400. package/src/models/operations/createprompt.ts +3451 -0
  401. package/src/models/operations/createpromptversion.ts +3693 -0
  402. package/src/models/operations/deleteprompt.ts +69 -0
  403. package/src/models/operations/deploymentcreatemetric.ts +1790 -0
  404. package/src/models/operations/deploymentgetconfig.ts +3416 -0
  405. package/src/models/operations/deploymentinvoke.ts +2383 -0
  406. package/src/models/operations/deployments.ts +2084 -0
  407. package/src/models/operations/duplicateprompt.ts +69 -0
  408. package/src/models/operations/fileupload.ts +311 -0
  409. package/src/models/operations/findonepromptsnippet.ts +13617 -0
  410. package/src/models/operations/getallprompts.ts +13378 -0
  411. package/src/models/operations/getallprompttemplates.ts +13678 -0
  412. package/src/models/operations/getoneprompt.ts +69 -0
  413. package/src/models/operations/index.ts +23 -0
  414. package/src/models/operations/invaliddeployment.ts +75 -0
  415. package/src/models/operations/remoteconfigsgetconfig.ts +190 -0
  416. package/src/models/operations/updateprompt.ts +14393 -0
  417. package/src/sdk/contacts.ts +27 -0
  418. package/src/sdk/deployments.ts +93 -0
  419. package/src/sdk/feedback.ts +27 -0
  420. package/src/sdk/files.ts +45 -0
  421. package/src/sdk/index.ts +5 -0
  422. package/src/sdk/metrics.ts +27 -0
  423. package/src/sdk/prompt.ts +19 -0
  424. package/src/sdk/prompts.ts +114 -0
  425. package/src/sdk/remoteconfig.ts +24 -0
  426. package/src/sdk/sdk.ts +49 -0
  427. package/src/sdk/snippets.ts +24 -0
  428. package/src/sdk/templates.ts +24 -0
  429. package/src/types/blobs.ts +31 -0
  430. package/src/types/constdatetime.ts +15 -0
  431. package/src/types/enums.ts +16 -0
  432. package/src/types/fp.ts +50 -0
  433. package/src/types/index.ts +11 -0
  434. package/src/types/operations.ts +105 -0
  435. package/src/types/rfcdate.ts +54 -0
  436. package/src/types/streams.ts +21 -0
  437. package/types/blobs.d.ts +4 -0
  438. package/types/blobs.d.ts.map +1 -0
  439. package/types/blobs.js +62 -0
  440. package/types/blobs.js.map +1 -0
  441. package/types/constdatetime.d.ts +3 -0
  442. package/types/constdatetime.d.ts.map +1 -0
  443. package/types/constdatetime.js +46 -0
  444. package/types/constdatetime.js.map +1 -0
  445. package/types/enums.d.ts +12 -0
  446. package/types/enums.d.ts.map +1 -0
  447. package/types/enums.js +10 -0
  448. package/types/enums.js.map +1 -0
  449. package/types/fp.d.ts +31 -0
  450. package/types/fp.d.ts.map +1 -0
  451. package/types/fp.js +37 -0
  452. package/types/fp.js.map +1 -0
  453. package/types/index.d.ts +8 -0
  454. package/types/index.d.ts.map +1 -0
  455. package/types/index.js +16 -0
  456. package/types/index.js.map +1 -0
  457. package/types/operations.d.ts +27 -0
  458. package/types/operations.d.ts.map +1 -0
  459. package/types/operations.js +83 -0
  460. package/types/operations.js.map +1 -0
  461. package/types/rfcdate.d.ts +21 -0
  462. package/types/rfcdate.d.ts.map +1 -0
  463. package/types/rfcdate.js +46 -0
  464. package/types/rfcdate.js.map +1 -0
  465. package/types/streams.d.ts +2 -0
  466. package/types/streams.d.ts.map +1 -0
  467. package/types/streams.js +18 -0
  468. package/types/streams.js.map +1 -0
@@ -0,0 +1,1852 @@
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 Inputs = string | number | boolean;
6
+ /**
7
+ * The role of the prompt message
8
+ */
9
+ export declare const Role: {
10
+ readonly System: "system";
11
+ readonly Assistant: "assistant";
12
+ readonly User: "user";
13
+ readonly Exception: "exception";
14
+ readonly Tool: "tool";
15
+ readonly Prompt: "prompt";
16
+ readonly Correction: "correction";
17
+ readonly ExpectedOutput: "expected_output";
18
+ };
19
+ /**
20
+ * The role of the prompt message
21
+ */
22
+ export type Role = ClosedEnum<typeof Role>;
23
+ export declare const TwoType: {
24
+ readonly ImageUrl: "image_url";
25
+ };
26
+ export type TwoType = ClosedEnum<typeof TwoType>;
27
+ export type ImageUrl = {
28
+ /**
29
+ * Either a URL of the image or the base64 encoded data URI.
30
+ */
31
+ url: string;
32
+ /**
33
+ * Specifies the detail level of the image. Currently only supported with OpenAI models
34
+ */
35
+ detail?: string | undefined;
36
+ };
37
+ /**
38
+ * The image part of the prompt message. Only supported with vision models.
39
+ */
40
+ export type Two2 = {
41
+ type: TwoType;
42
+ imageUrl: ImageUrl;
43
+ };
44
+ export declare const Type: {
45
+ readonly Text: "text";
46
+ };
47
+ export type Type = ClosedEnum<typeof Type>;
48
+ /**
49
+ * Text content part of a prompt message
50
+ */
51
+ export type One = {
52
+ type: Type;
53
+ text: string;
54
+ };
55
+ export type Two = One | Two2;
56
+ /**
57
+ * 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.
58
+ */
59
+ export type Content = string | Array<One | Two2>;
60
+ export declare const DeploymentGetConfigType: {
61
+ readonly Function: "function";
62
+ };
63
+ export type DeploymentGetConfigType = ClosedEnum<typeof DeploymentGetConfigType>;
64
+ export type FunctionT = {
65
+ name: string;
66
+ /**
67
+ * JSON string arguments for the functions
68
+ */
69
+ arguments: string;
70
+ };
71
+ export type ToolCalls = {
72
+ id?: string | undefined;
73
+ index?: number | undefined;
74
+ type: DeploymentGetConfigType;
75
+ function: FunctionT;
76
+ };
77
+ export type PrefixMessages = {
78
+ /**
79
+ * The role of the prompt message
80
+ */
81
+ role: Role;
82
+ /**
83
+ * 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.
84
+ */
85
+ content: string | Array<One | Two2>;
86
+ toolCalls?: Array<ToolCalls> | undefined;
87
+ };
88
+ /**
89
+ * The role of the prompt message
90
+ */
91
+ export declare const DeploymentGetConfigRole: {
92
+ readonly System: "system";
93
+ readonly Assistant: "assistant";
94
+ readonly User: "user";
95
+ readonly Exception: "exception";
96
+ readonly Tool: "tool";
97
+ readonly Prompt: "prompt";
98
+ readonly Correction: "correction";
99
+ readonly ExpectedOutput: "expected_output";
100
+ };
101
+ /**
102
+ * The role of the prompt message
103
+ */
104
+ export type DeploymentGetConfigRole = ClosedEnum<typeof DeploymentGetConfigRole>;
105
+ export declare const DeploymentGetConfig2DeploymentsType: {
106
+ readonly ImageUrl: "image_url";
107
+ };
108
+ export type DeploymentGetConfig2DeploymentsType = ClosedEnum<typeof DeploymentGetConfig2DeploymentsType>;
109
+ export type TwoImageUrl = {
110
+ /**
111
+ * Either a URL of the image or the base64 encoded data URI.
112
+ */
113
+ url: string;
114
+ /**
115
+ * Specifies the detail level of the image. Currently only supported with OpenAI models
116
+ */
117
+ detail?: string | undefined;
118
+ };
119
+ /**
120
+ * The image part of the prompt message. Only supported with vision models.
121
+ */
122
+ export type DeploymentGetConfig22 = {
123
+ type: DeploymentGetConfig2DeploymentsType;
124
+ imageUrl: TwoImageUrl;
125
+ };
126
+ export declare const DeploymentGetConfig2Type: {
127
+ readonly Text: "text";
128
+ };
129
+ export type DeploymentGetConfig2Type = ClosedEnum<typeof DeploymentGetConfig2Type>;
130
+ /**
131
+ * Text content part of a prompt message
132
+ */
133
+ export type Two1 = {
134
+ type: DeploymentGetConfig2Type;
135
+ text: string;
136
+ };
137
+ export type Content2 = Two1 | DeploymentGetConfig22;
138
+ /**
139
+ * 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.
140
+ */
141
+ export type DeploymentGetConfigContent = string | Array<Two1 | DeploymentGetConfig22>;
142
+ export declare const DeploymentGetConfigDeploymentsType: {
143
+ readonly Function: "function";
144
+ };
145
+ export type DeploymentGetConfigDeploymentsType = ClosedEnum<typeof DeploymentGetConfigDeploymentsType>;
146
+ export type DeploymentGetConfigFunction = {
147
+ name: string;
148
+ /**
149
+ * JSON string arguments for the functions
150
+ */
151
+ arguments: string;
152
+ };
153
+ export type DeploymentGetConfigToolCalls = {
154
+ id?: string | undefined;
155
+ index?: number | undefined;
156
+ type: DeploymentGetConfigDeploymentsType;
157
+ function: DeploymentGetConfigFunction;
158
+ };
159
+ export type Messages = {
160
+ /**
161
+ * The role of the prompt message
162
+ */
163
+ role: DeploymentGetConfigRole;
164
+ /**
165
+ * 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.
166
+ */
167
+ content: string | Array<Two1 | DeploymentGetConfig22>;
168
+ toolCalls?: Array<DeploymentGetConfigToolCalls> | undefined;
169
+ };
170
+ /**
171
+ * Unique ID that identifies a user. This is useful for tracking the same user across multiple requests
172
+ */
173
+ export type UserId = string | number;
174
+ export type InvokeOptions = {
175
+ /**
176
+ * Whether to include the retrieved knowledge chunks in the response.
177
+ */
178
+ includeRetrievals?: boolean | undefined;
179
+ };
180
+ export type DeploymentGetConfigRequestBody = {
181
+ /**
182
+ * The deployment id to invoke
183
+ */
184
+ key: string;
185
+ /**
186
+ * Key-value pairs variables to replace in your prompts. If a variable is not provided that is defined in the prompt, the default variables are used.
187
+ */
188
+ inputs?: {
189
+ [k: string]: string | number | boolean;
190
+ } | undefined;
191
+ /**
192
+ * Key-value pairs that match your data model and fields declared in your configuration matrix. If you send multiple prompt keys, the context will be applied to the evaluation of each key.
193
+ */
194
+ context?: {
195
+ [k: string]: any;
196
+ } | undefined;
197
+ /**
198
+ * A list of messages to include after the `System` message, but before the `User` and `Assistant` pairs configured in your deployment.
199
+ */
200
+ prefixMessages?: Array<PrefixMessages> | undefined;
201
+ /**
202
+ * A list of messages to send to the deployment.
203
+ */
204
+ messages?: Array<Messages> | undefined;
205
+ /**
206
+ * A list of file IDs that are associated with the deployment request.
207
+ */
208
+ fileIds?: Array<string> | undefined;
209
+ /**
210
+ * Key-value pairs that you want to attach to the log generated by this request.
211
+ */
212
+ metadata?: {
213
+ [k: string]: any;
214
+ } | undefined;
215
+ /**
216
+ * Unique ID that identifies a chaining operation. This is useful for tracking a chain of completions across multiple
217
+ */
218
+ chainId?: string | undefined;
219
+ /**
220
+ * Unique ID that identifies a chat conversation. This is useful for tracking the same conversation across multiple requests
221
+ */
222
+ conversationId?: string | undefined;
223
+ /**
224
+ * Unique ID that identifies a user. This is useful for tracking the same user across multiple requests
225
+ */
226
+ userId?: string | number | undefined;
227
+ /**
228
+ * Unique ID that identifies a deployment entity.
229
+ */
230
+ deploymentId?: string | undefined;
231
+ /**
232
+ * Unique ID that identifies a specific variant of a deployment.
233
+ */
234
+ deploymentVariantId?: string | undefined;
235
+ /**
236
+ * Utilized for passing additional parameters to the model provider. Exercise caution when using this feature, as the included parameters will overwrite any parameters specified in the deployment prompt configuration.
237
+ */
238
+ extraParams?: {
239
+ [k: string]: any;
240
+ } | undefined;
241
+ invokeOptions?: InvokeOptions | undefined;
242
+ };
243
+ /**
244
+ * The type of the model. Current `chat`,`completion` and `image` are supported
245
+ */
246
+ export declare const DeploymentGetConfigDeploymentsResponseType: {
247
+ readonly Chat: "chat";
248
+ readonly Completion: "completion";
249
+ readonly Embedding: "embedding";
250
+ readonly Vision: "vision";
251
+ readonly Image: "image";
252
+ readonly Tts: "tts";
253
+ readonly Stt: "stt";
254
+ readonly Rerank: "rerank";
255
+ };
256
+ /**
257
+ * The type of the model. Current `chat`,`completion` and `image` are supported
258
+ */
259
+ export type DeploymentGetConfigDeploymentsResponseType = ClosedEnum<typeof DeploymentGetConfigDeploymentsResponseType>;
260
+ /**
261
+ * The role of the prompt message
262
+ */
263
+ export declare const DeploymentGetConfigDeploymentsRole: {
264
+ readonly System: "system";
265
+ readonly Assistant: "assistant";
266
+ readonly User: "user";
267
+ readonly Exception: "exception";
268
+ readonly Tool: "tool";
269
+ readonly Prompt: "prompt";
270
+ readonly Correction: "correction";
271
+ readonly ExpectedOutput: "expected_output";
272
+ };
273
+ /**
274
+ * The role of the prompt message
275
+ */
276
+ export type DeploymentGetConfigDeploymentsRole = ClosedEnum<typeof DeploymentGetConfigDeploymentsRole>;
277
+ export declare const DeploymentGetConfig2DeploymentsResponse200Type: {
278
+ readonly ImageUrl: "image_url";
279
+ };
280
+ export type DeploymentGetConfig2DeploymentsResponse200Type = ClosedEnum<typeof DeploymentGetConfig2DeploymentsResponse200Type>;
281
+ export type DeploymentGetConfig2ImageUrl = {
282
+ /**
283
+ * The orq.ai id of the image
284
+ */
285
+ id?: string | undefined;
286
+ /**
287
+ * Either a URL of the image or the base64 encoded data URI.
288
+ */
289
+ url: string;
290
+ /**
291
+ * Specifies the detail level of the image. Currently only supported with OpenAI models
292
+ */
293
+ detail?: string | undefined;
294
+ };
295
+ /**
296
+ * The image part of the prompt message. Only supported with vision models.
297
+ */
298
+ export type DeploymentGetConfig2Deployments2 = {
299
+ type: DeploymentGetConfig2DeploymentsResponse200Type;
300
+ imageUrl: DeploymentGetConfig2ImageUrl;
301
+ };
302
+ export declare const DeploymentGetConfig2DeploymentsResponseType: {
303
+ readonly Text: "text";
304
+ };
305
+ export type DeploymentGetConfig2DeploymentsResponseType = ClosedEnum<typeof DeploymentGetConfig2DeploymentsResponseType>;
306
+ /**
307
+ * Text content part of a prompt message
308
+ */
309
+ export type DeploymentGetConfig21 = {
310
+ type: DeploymentGetConfig2DeploymentsResponseType;
311
+ text: string;
312
+ };
313
+ export type DeploymentGetConfigContent2 = DeploymentGetConfig21 | DeploymentGetConfig2Deployments2;
314
+ /**
315
+ * 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.
316
+ */
317
+ export type DeploymentGetConfigDeploymentsContent = string | Array<DeploymentGetConfig21 | DeploymentGetConfig2Deployments2>;
318
+ export declare const DeploymentGetConfigDeploymentsResponse200ApplicationJSONType: {
319
+ readonly Function: "function";
320
+ };
321
+ export type DeploymentGetConfigDeploymentsResponse200ApplicationJSONType = ClosedEnum<typeof DeploymentGetConfigDeploymentsResponse200ApplicationJSONType>;
322
+ export type DeploymentGetConfigDeploymentsResponseFunction = {
323
+ name: string;
324
+ /**
325
+ * JSON string arguments for the functions
326
+ */
327
+ arguments: string;
328
+ };
329
+ export type DeploymentGetConfigDeploymentsToolCalls = {
330
+ id?: string | undefined;
331
+ index?: number | undefined;
332
+ type: DeploymentGetConfigDeploymentsResponse200ApplicationJSONType;
333
+ function: DeploymentGetConfigDeploymentsResponseFunction;
334
+ };
335
+ export type DeploymentGetConfigMessages = {
336
+ /**
337
+ * The role of the prompt message
338
+ */
339
+ role: DeploymentGetConfigDeploymentsRole;
340
+ /**
341
+ * 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.
342
+ */
343
+ content: string | Array<DeploymentGetConfig21 | DeploymentGetConfig2Deployments2>;
344
+ toolCalls?: Array<DeploymentGetConfigDeploymentsToolCalls> | undefined;
345
+ };
346
+ /**
347
+ * Only supported on `image` models.
348
+ */
349
+ export declare const DeploymentGetConfigFormat: {
350
+ readonly Url: "url";
351
+ readonly B64Json: "b64_json";
352
+ readonly Text: "text";
353
+ readonly JsonObject: "json_object";
354
+ };
355
+ /**
356
+ * Only supported on `image` models.
357
+ */
358
+ export type DeploymentGetConfigFormat = ClosedEnum<typeof DeploymentGetConfigFormat>;
359
+ /**
360
+ * Only supported on `image` models.
361
+ */
362
+ export declare const DeploymentGetConfigQuality: {
363
+ readonly Standard: "standard";
364
+ readonly Hd: "hd";
365
+ };
366
+ /**
367
+ * Only supported on `image` models.
368
+ */
369
+ export type DeploymentGetConfigQuality = ClosedEnum<typeof DeploymentGetConfigQuality>;
370
+ export declare const DeploymentGetConfigResponseFormatType: {
371
+ readonly JsonObject: "json_object";
372
+ };
373
+ export type DeploymentGetConfigResponseFormatType = ClosedEnum<typeof DeploymentGetConfigResponseFormatType>;
374
+ export type DeploymentGetConfigResponseFormat2 = {
375
+ type: DeploymentGetConfigResponseFormatType;
376
+ };
377
+ export declare const DeploymentGetConfigResponseFormatDeploymentsType: {
378
+ readonly JsonSchema: "json_schema";
379
+ };
380
+ export type DeploymentGetConfigResponseFormatDeploymentsType = ClosedEnum<typeof DeploymentGetConfigResponseFormatDeploymentsType>;
381
+ export type DeploymentGetConfigResponseFormatJsonSchema = {
382
+ name: string;
383
+ strict: boolean;
384
+ schema: {
385
+ [k: string]: any;
386
+ };
387
+ };
388
+ export type DeploymentGetConfigResponseFormat1 = {
389
+ type: DeploymentGetConfigResponseFormatDeploymentsType;
390
+ jsonSchema: DeploymentGetConfigResponseFormatJsonSchema;
391
+ };
392
+ /**
393
+ * An object specifying the format that the model must output.
394
+ *
395
+ * @remarks
396
+ *
397
+ * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
398
+ *
399
+ * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
400
+ *
401
+ * 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.
402
+ */
403
+ export type DeploymentGetConfigResponseFormat = DeploymentGetConfigResponseFormat2 | DeploymentGetConfigResponseFormat1;
404
+ /**
405
+ * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
406
+ */
407
+ export declare const DeploymentGetConfigPhotoRealVersion: {
408
+ readonly V1: "v1";
409
+ readonly V2: "v2";
410
+ };
411
+ /**
412
+ * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
413
+ */
414
+ export type DeploymentGetConfigPhotoRealVersion = ClosedEnum<typeof DeploymentGetConfigPhotoRealVersion>;
415
+ /**
416
+ * The format to return the embeddings
417
+ */
418
+ export declare const DeploymentGetConfigEncodingFormat: {
419
+ readonly Float: "float";
420
+ readonly Base64: "base64";
421
+ };
422
+ /**
423
+ * The format to return the embeddings
424
+ */
425
+ export type DeploymentGetConfigEncodingFormat = ClosedEnum<typeof DeploymentGetConfigEncodingFormat>;
426
+ /**
427
+ * Model Parameters: Not all parameters apply to every model
428
+ */
429
+ export type ParametersT = {
430
+ /**
431
+ * Only supported on `chat` and `completion` models.
432
+ */
433
+ temperature?: number | undefined;
434
+ /**
435
+ * Only supported on `chat` and `completion` models.
436
+ */
437
+ maxTokens?: number | undefined;
438
+ /**
439
+ * Only supported on `chat` and `completion` models.
440
+ */
441
+ topK?: number | undefined;
442
+ /**
443
+ * Only supported on `chat` and `completion` models.
444
+ */
445
+ topP?: number | undefined;
446
+ /**
447
+ * Only supported on `chat` and `completion` models.
448
+ */
449
+ frequencyPenalty?: number | undefined;
450
+ /**
451
+ * Only supported on `chat` and `completion` models.
452
+ */
453
+ presencePenalty?: number | undefined;
454
+ /**
455
+ * Only supported on `image` models.
456
+ */
457
+ numImages?: number | undefined;
458
+ /**
459
+ * Best effort deterministic seed for the model. Currently only OpenAI models support these
460
+ */
461
+ seed?: number | undefined;
462
+ /**
463
+ * Only supported on `image` models.
464
+ */
465
+ format?: DeploymentGetConfigFormat | undefined;
466
+ /**
467
+ * Only supported on `image` models.
468
+ */
469
+ dimensions?: string | undefined;
470
+ /**
471
+ * Only supported on `image` models.
472
+ */
473
+ quality?: DeploymentGetConfigQuality | undefined;
474
+ /**
475
+ * Only supported on `image` models.
476
+ */
477
+ style?: string | undefined;
478
+ /**
479
+ * An object specifying the format that the model must output.
480
+ *
481
+ * @remarks
482
+ *
483
+ * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured Outputs which ensures the model will match your supplied JSON schema
484
+ *
485
+ * Setting to `{ "type": "json_object" }` enables JSON mode, which ensures the message the model generates is valid JSON.
486
+ *
487
+ * 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.
488
+ */
489
+ responseFormat?: DeploymentGetConfigResponseFormat2 | DeploymentGetConfigResponseFormat1 | null | undefined;
490
+ /**
491
+ * The version of photoReal to use. Must be v1 or v2. Only available for `leonardoai` provider
492
+ */
493
+ photoRealVersion?: DeploymentGetConfigPhotoRealVersion | undefined;
494
+ /**
495
+ * The format to return the embeddings
496
+ */
497
+ encodingFormat?: DeploymentGetConfigEncodingFormat | undefined;
498
+ };
499
+ /**
500
+ * The type of the tool. Currently, only `function` is supported.
501
+ */
502
+ export declare const DeploymentGetConfigDeploymentsResponse200Type: {
503
+ readonly Function: "function";
504
+ };
505
+ /**
506
+ * The type of the tool. Currently, only `function` is supported.
507
+ */
508
+ export type DeploymentGetConfigDeploymentsResponse200Type = ClosedEnum<typeof DeploymentGetConfigDeploymentsResponse200Type>;
509
+ export type DeploymentGetConfigDeploymentsFunction = {
510
+ /**
511
+ * The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
512
+ */
513
+ name: string;
514
+ /**
515
+ * A description of what the function does, used by the model to choose when and how to call the function.
516
+ */
517
+ description?: string | undefined;
518
+ /**
519
+ * The parameters the functions accepts, described as a JSON Schema object.
520
+ *
521
+ * @remarks
522
+ *
523
+ * Omitting `parameters` defines a function with an empty parameter list.
524
+ */
525
+ parameters?: {
526
+ [k: string]: any;
527
+ } | undefined;
528
+ };
529
+ export type Tools = {
530
+ /**
531
+ * The type of the tool. Currently, only `function` is supported.
532
+ */
533
+ type: DeploymentGetConfigDeploymentsResponse200Type;
534
+ function: DeploymentGetConfigDeploymentsFunction;
535
+ };
536
+ /**
537
+ * The deployment configuration
538
+ */
539
+ export type DeploymentGetConfigResponseBody = {
540
+ /**
541
+ * A unique identifier for the response. Can be used to add metrics to the transaction.
542
+ */
543
+ id: string;
544
+ /**
545
+ * The provider of the model
546
+ */
547
+ provider: string;
548
+ /**
549
+ * The model of the configuration
550
+ */
551
+ model: string;
552
+ /**
553
+ * The type of the model. Current `chat`,`completion` and `image` are supported
554
+ */
555
+ type?: DeploymentGetConfigDeploymentsResponseType | undefined;
556
+ /**
557
+ * The current version of the deployment
558
+ */
559
+ version: string;
560
+ messages: Array<DeploymentGetConfigMessages>;
561
+ /**
562
+ * Model Parameters: Not all parameters apply to every model
563
+ */
564
+ parameters: ParametersT;
565
+ /**
566
+ * A list of tools the model may call. Currently, only functions are supported as a tool. Use this to provide a list of functions the model may generate JSON inputs for.
567
+ */
568
+ tools?: Array<Tools> | undefined;
569
+ };
570
+ /** @internal */
571
+ export declare const Inputs$inboundSchema: z.ZodType<Inputs, z.ZodTypeDef, unknown>;
572
+ /** @internal */
573
+ export type Inputs$Outbound = string | number | boolean;
574
+ /** @internal */
575
+ export declare const Inputs$outboundSchema: z.ZodType<Inputs$Outbound, z.ZodTypeDef, Inputs>;
576
+ /**
577
+ * @internal
578
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
579
+ */
580
+ export declare namespace Inputs$ {
581
+ /** @deprecated use `Inputs$inboundSchema` instead. */
582
+ const inboundSchema: z.ZodType<Inputs, z.ZodTypeDef, unknown>;
583
+ /** @deprecated use `Inputs$outboundSchema` instead. */
584
+ const outboundSchema: z.ZodType<Inputs$Outbound, z.ZodTypeDef, Inputs>;
585
+ /** @deprecated use `Inputs$Outbound` instead. */
586
+ type Outbound = Inputs$Outbound;
587
+ }
588
+ export declare function inputsToJSON(inputs: Inputs): string;
589
+ export declare function inputsFromJSON(jsonString: string): SafeParseResult<Inputs, SDKValidationError>;
590
+ /** @internal */
591
+ export declare const Role$inboundSchema: z.ZodNativeEnum<typeof Role>;
592
+ /** @internal */
593
+ export declare const Role$outboundSchema: z.ZodNativeEnum<typeof Role>;
594
+ /**
595
+ * @internal
596
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
597
+ */
598
+ export declare namespace Role$ {
599
+ /** @deprecated use `Role$inboundSchema` instead. */
600
+ const inboundSchema: z.ZodNativeEnum<{
601
+ readonly System: "system";
602
+ readonly Assistant: "assistant";
603
+ readonly User: "user";
604
+ readonly Exception: "exception";
605
+ readonly Tool: "tool";
606
+ readonly Prompt: "prompt";
607
+ readonly Correction: "correction";
608
+ readonly ExpectedOutput: "expected_output";
609
+ }>;
610
+ /** @deprecated use `Role$outboundSchema` instead. */
611
+ const outboundSchema: z.ZodNativeEnum<{
612
+ readonly System: "system";
613
+ readonly Assistant: "assistant";
614
+ readonly User: "user";
615
+ readonly Exception: "exception";
616
+ readonly Tool: "tool";
617
+ readonly Prompt: "prompt";
618
+ readonly Correction: "correction";
619
+ readonly ExpectedOutput: "expected_output";
620
+ }>;
621
+ }
622
+ /** @internal */
623
+ export declare const TwoType$inboundSchema: z.ZodNativeEnum<typeof TwoType>;
624
+ /** @internal */
625
+ export declare const TwoType$outboundSchema: z.ZodNativeEnum<typeof TwoType>;
626
+ /**
627
+ * @internal
628
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
629
+ */
630
+ export declare namespace TwoType$ {
631
+ /** @deprecated use `TwoType$inboundSchema` instead. */
632
+ const inboundSchema: z.ZodNativeEnum<{
633
+ readonly ImageUrl: "image_url";
634
+ }>;
635
+ /** @deprecated use `TwoType$outboundSchema` instead. */
636
+ const outboundSchema: z.ZodNativeEnum<{
637
+ readonly ImageUrl: "image_url";
638
+ }>;
639
+ }
640
+ /** @internal */
641
+ export declare const ImageUrl$inboundSchema: z.ZodType<ImageUrl, z.ZodTypeDef, unknown>;
642
+ /** @internal */
643
+ export type ImageUrl$Outbound = {
644
+ url: string;
645
+ detail?: string | undefined;
646
+ };
647
+ /** @internal */
648
+ export declare const ImageUrl$outboundSchema: z.ZodType<ImageUrl$Outbound, z.ZodTypeDef, ImageUrl>;
649
+ /**
650
+ * @internal
651
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
652
+ */
653
+ export declare namespace ImageUrl$ {
654
+ /** @deprecated use `ImageUrl$inboundSchema` instead. */
655
+ const inboundSchema: z.ZodType<ImageUrl, z.ZodTypeDef, unknown>;
656
+ /** @deprecated use `ImageUrl$outboundSchema` instead. */
657
+ const outboundSchema: z.ZodType<ImageUrl$Outbound, z.ZodTypeDef, ImageUrl>;
658
+ /** @deprecated use `ImageUrl$Outbound` instead. */
659
+ type Outbound = ImageUrl$Outbound;
660
+ }
661
+ export declare function imageUrlToJSON(imageUrl: ImageUrl): string;
662
+ export declare function imageUrlFromJSON(jsonString: string): SafeParseResult<ImageUrl, SDKValidationError>;
663
+ /** @internal */
664
+ export declare const Two2$inboundSchema: z.ZodType<Two2, z.ZodTypeDef, unknown>;
665
+ /** @internal */
666
+ export type Two2$Outbound = {
667
+ type: string;
668
+ image_url: ImageUrl$Outbound;
669
+ };
670
+ /** @internal */
671
+ export declare const Two2$outboundSchema: z.ZodType<Two2$Outbound, z.ZodTypeDef, Two2>;
672
+ /**
673
+ * @internal
674
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
675
+ */
676
+ export declare namespace Two2$ {
677
+ /** @deprecated use `Two2$inboundSchema` instead. */
678
+ const inboundSchema: z.ZodType<Two2, z.ZodTypeDef, unknown>;
679
+ /** @deprecated use `Two2$outboundSchema` instead. */
680
+ const outboundSchema: z.ZodType<Two2$Outbound, z.ZodTypeDef, Two2>;
681
+ /** @deprecated use `Two2$Outbound` instead. */
682
+ type Outbound = Two2$Outbound;
683
+ }
684
+ export declare function two2ToJSON(two2: Two2): string;
685
+ export declare function two2FromJSON(jsonString: string): SafeParseResult<Two2, SDKValidationError>;
686
+ /** @internal */
687
+ export declare const Type$inboundSchema: z.ZodNativeEnum<typeof Type>;
688
+ /** @internal */
689
+ export declare const Type$outboundSchema: z.ZodNativeEnum<typeof Type>;
690
+ /**
691
+ * @internal
692
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
693
+ */
694
+ export declare namespace Type$ {
695
+ /** @deprecated use `Type$inboundSchema` instead. */
696
+ const inboundSchema: z.ZodNativeEnum<{
697
+ readonly Text: "text";
698
+ }>;
699
+ /** @deprecated use `Type$outboundSchema` instead. */
700
+ const outboundSchema: z.ZodNativeEnum<{
701
+ readonly Text: "text";
702
+ }>;
703
+ }
704
+ /** @internal */
705
+ export declare const One$inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown>;
706
+ /** @internal */
707
+ export type One$Outbound = {
708
+ type: string;
709
+ text: string;
710
+ };
711
+ /** @internal */
712
+ export declare const One$outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One>;
713
+ /**
714
+ * @internal
715
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
716
+ */
717
+ export declare namespace One$ {
718
+ /** @deprecated use `One$inboundSchema` instead. */
719
+ const inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown>;
720
+ /** @deprecated use `One$outboundSchema` instead. */
721
+ const outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One>;
722
+ /** @deprecated use `One$Outbound` instead. */
723
+ type Outbound = One$Outbound;
724
+ }
725
+ export declare function oneToJSON(one: One): string;
726
+ export declare function oneFromJSON(jsonString: string): SafeParseResult<One, SDKValidationError>;
727
+ /** @internal */
728
+ export declare const Two$inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown>;
729
+ /** @internal */
730
+ export type Two$Outbound = One$Outbound | Two2$Outbound;
731
+ /** @internal */
732
+ export declare const Two$outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two>;
733
+ /**
734
+ * @internal
735
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
736
+ */
737
+ export declare namespace Two$ {
738
+ /** @deprecated use `Two$inboundSchema` instead. */
739
+ const inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown>;
740
+ /** @deprecated use `Two$outboundSchema` instead. */
741
+ const outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two>;
742
+ /** @deprecated use `Two$Outbound` instead. */
743
+ type Outbound = Two$Outbound;
744
+ }
745
+ export declare function twoToJSON(two: Two): string;
746
+ export declare function twoFromJSON(jsonString: string): SafeParseResult<Two, SDKValidationError>;
747
+ /** @internal */
748
+ export declare const Content$inboundSchema: z.ZodType<Content, z.ZodTypeDef, unknown>;
749
+ /** @internal */
750
+ export type Content$Outbound = string | Array<One$Outbound | Two2$Outbound>;
751
+ /** @internal */
752
+ export declare const Content$outboundSchema: z.ZodType<Content$Outbound, z.ZodTypeDef, Content>;
753
+ /**
754
+ * @internal
755
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
756
+ */
757
+ export declare namespace Content$ {
758
+ /** @deprecated use `Content$inboundSchema` instead. */
759
+ const inboundSchema: z.ZodType<Content, z.ZodTypeDef, unknown>;
760
+ /** @deprecated use `Content$outboundSchema` instead. */
761
+ const outboundSchema: z.ZodType<Content$Outbound, z.ZodTypeDef, Content>;
762
+ /** @deprecated use `Content$Outbound` instead. */
763
+ type Outbound = Content$Outbound;
764
+ }
765
+ export declare function contentToJSON(content: Content): string;
766
+ export declare function contentFromJSON(jsonString: string): SafeParseResult<Content, SDKValidationError>;
767
+ /** @internal */
768
+ export declare const DeploymentGetConfigType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigType>;
769
+ /** @internal */
770
+ export declare const DeploymentGetConfigType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigType>;
771
+ /**
772
+ * @internal
773
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
774
+ */
775
+ export declare namespace DeploymentGetConfigType$ {
776
+ /** @deprecated use `DeploymentGetConfigType$inboundSchema` instead. */
777
+ const inboundSchema: z.ZodNativeEnum<{
778
+ readonly Function: "function";
779
+ }>;
780
+ /** @deprecated use `DeploymentGetConfigType$outboundSchema` instead. */
781
+ const outboundSchema: z.ZodNativeEnum<{
782
+ readonly Function: "function";
783
+ }>;
784
+ }
785
+ /** @internal */
786
+ export declare const FunctionT$inboundSchema: z.ZodType<FunctionT, z.ZodTypeDef, unknown>;
787
+ /** @internal */
788
+ export type FunctionT$Outbound = {
789
+ name: string;
790
+ arguments: string;
791
+ };
792
+ /** @internal */
793
+ export declare const FunctionT$outboundSchema: z.ZodType<FunctionT$Outbound, z.ZodTypeDef, FunctionT>;
794
+ /**
795
+ * @internal
796
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
797
+ */
798
+ export declare namespace FunctionT$ {
799
+ /** @deprecated use `FunctionT$inboundSchema` instead. */
800
+ const inboundSchema: z.ZodType<FunctionT, z.ZodTypeDef, unknown>;
801
+ /** @deprecated use `FunctionT$outboundSchema` instead. */
802
+ const outboundSchema: z.ZodType<FunctionT$Outbound, z.ZodTypeDef, FunctionT>;
803
+ /** @deprecated use `FunctionT$Outbound` instead. */
804
+ type Outbound = FunctionT$Outbound;
805
+ }
806
+ export declare function functionTToJSON(functionT: FunctionT): string;
807
+ export declare function functionTFromJSON(jsonString: string): SafeParseResult<FunctionT, SDKValidationError>;
808
+ /** @internal */
809
+ export declare const ToolCalls$inboundSchema: z.ZodType<ToolCalls, z.ZodTypeDef, unknown>;
810
+ /** @internal */
811
+ export type ToolCalls$Outbound = {
812
+ id?: string | undefined;
813
+ index?: number | undefined;
814
+ type: string;
815
+ function: FunctionT$Outbound;
816
+ };
817
+ /** @internal */
818
+ export declare const ToolCalls$outboundSchema: z.ZodType<ToolCalls$Outbound, z.ZodTypeDef, ToolCalls>;
819
+ /**
820
+ * @internal
821
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
822
+ */
823
+ export declare namespace ToolCalls$ {
824
+ /** @deprecated use `ToolCalls$inboundSchema` instead. */
825
+ const inboundSchema: z.ZodType<ToolCalls, z.ZodTypeDef, unknown>;
826
+ /** @deprecated use `ToolCalls$outboundSchema` instead. */
827
+ const outboundSchema: z.ZodType<ToolCalls$Outbound, z.ZodTypeDef, ToolCalls>;
828
+ /** @deprecated use `ToolCalls$Outbound` instead. */
829
+ type Outbound = ToolCalls$Outbound;
830
+ }
831
+ export declare function toolCallsToJSON(toolCalls: ToolCalls): string;
832
+ export declare function toolCallsFromJSON(jsonString: string): SafeParseResult<ToolCalls, SDKValidationError>;
833
+ /** @internal */
834
+ export declare const PrefixMessages$inboundSchema: z.ZodType<PrefixMessages, z.ZodTypeDef, unknown>;
835
+ /** @internal */
836
+ export type PrefixMessages$Outbound = {
837
+ role: string;
838
+ content: string | Array<One$Outbound | Two2$Outbound>;
839
+ tool_calls?: Array<ToolCalls$Outbound> | undefined;
840
+ };
841
+ /** @internal */
842
+ export declare const PrefixMessages$outboundSchema: z.ZodType<PrefixMessages$Outbound, z.ZodTypeDef, PrefixMessages>;
843
+ /**
844
+ * @internal
845
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
846
+ */
847
+ export declare namespace PrefixMessages$ {
848
+ /** @deprecated use `PrefixMessages$inboundSchema` instead. */
849
+ const inboundSchema: z.ZodType<PrefixMessages, z.ZodTypeDef, unknown>;
850
+ /** @deprecated use `PrefixMessages$outboundSchema` instead. */
851
+ const outboundSchema: z.ZodType<PrefixMessages$Outbound, z.ZodTypeDef, PrefixMessages>;
852
+ /** @deprecated use `PrefixMessages$Outbound` instead. */
853
+ type Outbound = PrefixMessages$Outbound;
854
+ }
855
+ export declare function prefixMessagesToJSON(prefixMessages: PrefixMessages): string;
856
+ export declare function prefixMessagesFromJSON(jsonString: string): SafeParseResult<PrefixMessages, SDKValidationError>;
857
+ /** @internal */
858
+ export declare const DeploymentGetConfigRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigRole>;
859
+ /** @internal */
860
+ export declare const DeploymentGetConfigRole$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigRole>;
861
+ /**
862
+ * @internal
863
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
864
+ */
865
+ export declare namespace DeploymentGetConfigRole$ {
866
+ /** @deprecated use `DeploymentGetConfigRole$inboundSchema` instead. */
867
+ const inboundSchema: z.ZodNativeEnum<{
868
+ readonly System: "system";
869
+ readonly Assistant: "assistant";
870
+ readonly User: "user";
871
+ readonly Exception: "exception";
872
+ readonly Tool: "tool";
873
+ readonly Prompt: "prompt";
874
+ readonly Correction: "correction";
875
+ readonly ExpectedOutput: "expected_output";
876
+ }>;
877
+ /** @deprecated use `DeploymentGetConfigRole$outboundSchema` instead. */
878
+ const outboundSchema: z.ZodNativeEnum<{
879
+ readonly System: "system";
880
+ readonly Assistant: "assistant";
881
+ readonly User: "user";
882
+ readonly Exception: "exception";
883
+ readonly Tool: "tool";
884
+ readonly Prompt: "prompt";
885
+ readonly Correction: "correction";
886
+ readonly ExpectedOutput: "expected_output";
887
+ }>;
888
+ }
889
+ /** @internal */
890
+ export declare const DeploymentGetConfig2DeploymentsType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsType>;
891
+ /** @internal */
892
+ export declare const DeploymentGetConfig2DeploymentsType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsType>;
893
+ /**
894
+ * @internal
895
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
896
+ */
897
+ export declare namespace DeploymentGetConfig2DeploymentsType$ {
898
+ /** @deprecated use `DeploymentGetConfig2DeploymentsType$inboundSchema` instead. */
899
+ const inboundSchema: z.ZodNativeEnum<{
900
+ readonly ImageUrl: "image_url";
901
+ }>;
902
+ /** @deprecated use `DeploymentGetConfig2DeploymentsType$outboundSchema` instead. */
903
+ const outboundSchema: z.ZodNativeEnum<{
904
+ readonly ImageUrl: "image_url";
905
+ }>;
906
+ }
907
+ /** @internal */
908
+ export declare const TwoImageUrl$inboundSchema: z.ZodType<TwoImageUrl, z.ZodTypeDef, unknown>;
909
+ /** @internal */
910
+ export type TwoImageUrl$Outbound = {
911
+ url: string;
912
+ detail?: string | undefined;
913
+ };
914
+ /** @internal */
915
+ export declare const TwoImageUrl$outboundSchema: z.ZodType<TwoImageUrl$Outbound, z.ZodTypeDef, TwoImageUrl>;
916
+ /**
917
+ * @internal
918
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
919
+ */
920
+ export declare namespace TwoImageUrl$ {
921
+ /** @deprecated use `TwoImageUrl$inboundSchema` instead. */
922
+ const inboundSchema: z.ZodType<TwoImageUrl, z.ZodTypeDef, unknown>;
923
+ /** @deprecated use `TwoImageUrl$outboundSchema` instead. */
924
+ const outboundSchema: z.ZodType<TwoImageUrl$Outbound, z.ZodTypeDef, TwoImageUrl>;
925
+ /** @deprecated use `TwoImageUrl$Outbound` instead. */
926
+ type Outbound = TwoImageUrl$Outbound;
927
+ }
928
+ export declare function twoImageUrlToJSON(twoImageUrl: TwoImageUrl): string;
929
+ export declare function twoImageUrlFromJSON(jsonString: string): SafeParseResult<TwoImageUrl, SDKValidationError>;
930
+ /** @internal */
931
+ export declare const DeploymentGetConfig22$inboundSchema: z.ZodType<DeploymentGetConfig22, z.ZodTypeDef, unknown>;
932
+ /** @internal */
933
+ export type DeploymentGetConfig22$Outbound = {
934
+ type: string;
935
+ image_url: TwoImageUrl$Outbound;
936
+ };
937
+ /** @internal */
938
+ export declare const DeploymentGetConfig22$outboundSchema: z.ZodType<DeploymentGetConfig22$Outbound, z.ZodTypeDef, DeploymentGetConfig22>;
939
+ /**
940
+ * @internal
941
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
942
+ */
943
+ export declare namespace DeploymentGetConfig22$ {
944
+ /** @deprecated use `DeploymentGetConfig22$inboundSchema` instead. */
945
+ const inboundSchema: z.ZodType<DeploymentGetConfig22, z.ZodTypeDef, unknown>;
946
+ /** @deprecated use `DeploymentGetConfig22$outboundSchema` instead. */
947
+ const outboundSchema: z.ZodType<DeploymentGetConfig22$Outbound, z.ZodTypeDef, DeploymentGetConfig22>;
948
+ /** @deprecated use `DeploymentGetConfig22$Outbound` instead. */
949
+ type Outbound = DeploymentGetConfig22$Outbound;
950
+ }
951
+ export declare function deploymentGetConfig22ToJSON(deploymentGetConfig22: DeploymentGetConfig22): string;
952
+ export declare function deploymentGetConfig22FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfig22, SDKValidationError>;
953
+ /** @internal */
954
+ export declare const DeploymentGetConfig2Type$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2Type>;
955
+ /** @internal */
956
+ export declare const DeploymentGetConfig2Type$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2Type>;
957
+ /**
958
+ * @internal
959
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
960
+ */
961
+ export declare namespace DeploymentGetConfig2Type$ {
962
+ /** @deprecated use `DeploymentGetConfig2Type$inboundSchema` instead. */
963
+ const inboundSchema: z.ZodNativeEnum<{
964
+ readonly Text: "text";
965
+ }>;
966
+ /** @deprecated use `DeploymentGetConfig2Type$outboundSchema` instead. */
967
+ const outboundSchema: z.ZodNativeEnum<{
968
+ readonly Text: "text";
969
+ }>;
970
+ }
971
+ /** @internal */
972
+ export declare const Two1$inboundSchema: z.ZodType<Two1, z.ZodTypeDef, unknown>;
973
+ /** @internal */
974
+ export type Two1$Outbound = {
975
+ type: string;
976
+ text: string;
977
+ };
978
+ /** @internal */
979
+ export declare const Two1$outboundSchema: z.ZodType<Two1$Outbound, z.ZodTypeDef, Two1>;
980
+ /**
981
+ * @internal
982
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
983
+ */
984
+ export declare namespace Two1$ {
985
+ /** @deprecated use `Two1$inboundSchema` instead. */
986
+ const inboundSchema: z.ZodType<Two1, z.ZodTypeDef, unknown>;
987
+ /** @deprecated use `Two1$outboundSchema` instead. */
988
+ const outboundSchema: z.ZodType<Two1$Outbound, z.ZodTypeDef, Two1>;
989
+ /** @deprecated use `Two1$Outbound` instead. */
990
+ type Outbound = Two1$Outbound;
991
+ }
992
+ export declare function two1ToJSON(two1: Two1): string;
993
+ export declare function two1FromJSON(jsonString: string): SafeParseResult<Two1, SDKValidationError>;
994
+ /** @internal */
995
+ export declare const Content2$inboundSchema: z.ZodType<Content2, z.ZodTypeDef, unknown>;
996
+ /** @internal */
997
+ export type Content2$Outbound = Two1$Outbound | DeploymentGetConfig22$Outbound;
998
+ /** @internal */
999
+ export declare const Content2$outboundSchema: z.ZodType<Content2$Outbound, z.ZodTypeDef, Content2>;
1000
+ /**
1001
+ * @internal
1002
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1003
+ */
1004
+ export declare namespace Content2$ {
1005
+ /** @deprecated use `Content2$inboundSchema` instead. */
1006
+ const inboundSchema: z.ZodType<Content2, z.ZodTypeDef, unknown>;
1007
+ /** @deprecated use `Content2$outboundSchema` instead. */
1008
+ const outboundSchema: z.ZodType<Content2$Outbound, z.ZodTypeDef, Content2>;
1009
+ /** @deprecated use `Content2$Outbound` instead. */
1010
+ type Outbound = Content2$Outbound;
1011
+ }
1012
+ export declare function content2ToJSON(content2: Content2): string;
1013
+ export declare function content2FromJSON(jsonString: string): SafeParseResult<Content2, SDKValidationError>;
1014
+ /** @internal */
1015
+ export declare const DeploymentGetConfigContent$inboundSchema: z.ZodType<DeploymentGetConfigContent, z.ZodTypeDef, unknown>;
1016
+ /** @internal */
1017
+ export type DeploymentGetConfigContent$Outbound = string | Array<Two1$Outbound | DeploymentGetConfig22$Outbound>;
1018
+ /** @internal */
1019
+ export declare const DeploymentGetConfigContent$outboundSchema: z.ZodType<DeploymentGetConfigContent$Outbound, z.ZodTypeDef, DeploymentGetConfigContent>;
1020
+ /**
1021
+ * @internal
1022
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1023
+ */
1024
+ export declare namespace DeploymentGetConfigContent$ {
1025
+ /** @deprecated use `DeploymentGetConfigContent$inboundSchema` instead. */
1026
+ const inboundSchema: z.ZodType<DeploymentGetConfigContent, z.ZodTypeDef, unknown>;
1027
+ /** @deprecated use `DeploymentGetConfigContent$outboundSchema` instead. */
1028
+ const outboundSchema: z.ZodType<DeploymentGetConfigContent$Outbound, z.ZodTypeDef, DeploymentGetConfigContent>;
1029
+ /** @deprecated use `DeploymentGetConfigContent$Outbound` instead. */
1030
+ type Outbound = DeploymentGetConfigContent$Outbound;
1031
+ }
1032
+ export declare function deploymentGetConfigContentToJSON(deploymentGetConfigContent: DeploymentGetConfigContent): string;
1033
+ export declare function deploymentGetConfigContentFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigContent, SDKValidationError>;
1034
+ /** @internal */
1035
+ export declare const DeploymentGetConfigDeploymentsType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigDeploymentsType>;
1036
+ /** @internal */
1037
+ export declare const DeploymentGetConfigDeploymentsType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigDeploymentsType>;
1038
+ /**
1039
+ * @internal
1040
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1041
+ */
1042
+ export declare namespace DeploymentGetConfigDeploymentsType$ {
1043
+ /** @deprecated use `DeploymentGetConfigDeploymentsType$inboundSchema` instead. */
1044
+ const inboundSchema: z.ZodNativeEnum<{
1045
+ readonly Function: "function";
1046
+ }>;
1047
+ /** @deprecated use `DeploymentGetConfigDeploymentsType$outboundSchema` instead. */
1048
+ const outboundSchema: z.ZodNativeEnum<{
1049
+ readonly Function: "function";
1050
+ }>;
1051
+ }
1052
+ /** @internal */
1053
+ export declare const DeploymentGetConfigFunction$inboundSchema: z.ZodType<DeploymentGetConfigFunction, z.ZodTypeDef, unknown>;
1054
+ /** @internal */
1055
+ export type DeploymentGetConfigFunction$Outbound = {
1056
+ name: string;
1057
+ arguments: string;
1058
+ };
1059
+ /** @internal */
1060
+ export declare const DeploymentGetConfigFunction$outboundSchema: z.ZodType<DeploymentGetConfigFunction$Outbound, z.ZodTypeDef, DeploymentGetConfigFunction>;
1061
+ /**
1062
+ * @internal
1063
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1064
+ */
1065
+ export declare namespace DeploymentGetConfigFunction$ {
1066
+ /** @deprecated use `DeploymentGetConfigFunction$inboundSchema` instead. */
1067
+ const inboundSchema: z.ZodType<DeploymentGetConfigFunction, z.ZodTypeDef, unknown>;
1068
+ /** @deprecated use `DeploymentGetConfigFunction$outboundSchema` instead. */
1069
+ const outboundSchema: z.ZodType<DeploymentGetConfigFunction$Outbound, z.ZodTypeDef, DeploymentGetConfigFunction>;
1070
+ /** @deprecated use `DeploymentGetConfigFunction$Outbound` instead. */
1071
+ type Outbound = DeploymentGetConfigFunction$Outbound;
1072
+ }
1073
+ export declare function deploymentGetConfigFunctionToJSON(deploymentGetConfigFunction: DeploymentGetConfigFunction): string;
1074
+ export declare function deploymentGetConfigFunctionFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigFunction, SDKValidationError>;
1075
+ /** @internal */
1076
+ export declare const DeploymentGetConfigToolCalls$inboundSchema: z.ZodType<DeploymentGetConfigToolCalls, z.ZodTypeDef, unknown>;
1077
+ /** @internal */
1078
+ export type DeploymentGetConfigToolCalls$Outbound = {
1079
+ id?: string | undefined;
1080
+ index?: number | undefined;
1081
+ type: string;
1082
+ function: DeploymentGetConfigFunction$Outbound;
1083
+ };
1084
+ /** @internal */
1085
+ export declare const DeploymentGetConfigToolCalls$outboundSchema: z.ZodType<DeploymentGetConfigToolCalls$Outbound, z.ZodTypeDef, DeploymentGetConfigToolCalls>;
1086
+ /**
1087
+ * @internal
1088
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1089
+ */
1090
+ export declare namespace DeploymentGetConfigToolCalls$ {
1091
+ /** @deprecated use `DeploymentGetConfigToolCalls$inboundSchema` instead. */
1092
+ const inboundSchema: z.ZodType<DeploymentGetConfigToolCalls, z.ZodTypeDef, unknown>;
1093
+ /** @deprecated use `DeploymentGetConfigToolCalls$outboundSchema` instead. */
1094
+ const outboundSchema: z.ZodType<DeploymentGetConfigToolCalls$Outbound, z.ZodTypeDef, DeploymentGetConfigToolCalls>;
1095
+ /** @deprecated use `DeploymentGetConfigToolCalls$Outbound` instead. */
1096
+ type Outbound = DeploymentGetConfigToolCalls$Outbound;
1097
+ }
1098
+ export declare function deploymentGetConfigToolCallsToJSON(deploymentGetConfigToolCalls: DeploymentGetConfigToolCalls): string;
1099
+ export declare function deploymentGetConfigToolCallsFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigToolCalls, SDKValidationError>;
1100
+ /** @internal */
1101
+ export declare const Messages$inboundSchema: z.ZodType<Messages, z.ZodTypeDef, unknown>;
1102
+ /** @internal */
1103
+ export type Messages$Outbound = {
1104
+ role: string;
1105
+ content: string | Array<Two1$Outbound | DeploymentGetConfig22$Outbound>;
1106
+ tool_calls?: Array<DeploymentGetConfigToolCalls$Outbound> | undefined;
1107
+ };
1108
+ /** @internal */
1109
+ export declare const Messages$outboundSchema: z.ZodType<Messages$Outbound, z.ZodTypeDef, Messages>;
1110
+ /**
1111
+ * @internal
1112
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1113
+ */
1114
+ export declare namespace Messages$ {
1115
+ /** @deprecated use `Messages$inboundSchema` instead. */
1116
+ const inboundSchema: z.ZodType<Messages, z.ZodTypeDef, unknown>;
1117
+ /** @deprecated use `Messages$outboundSchema` instead. */
1118
+ const outboundSchema: z.ZodType<Messages$Outbound, z.ZodTypeDef, Messages>;
1119
+ /** @deprecated use `Messages$Outbound` instead. */
1120
+ type Outbound = Messages$Outbound;
1121
+ }
1122
+ export declare function messagesToJSON(messages: Messages): string;
1123
+ export declare function messagesFromJSON(jsonString: string): SafeParseResult<Messages, SDKValidationError>;
1124
+ /** @internal */
1125
+ export declare const UserId$inboundSchema: z.ZodType<UserId, z.ZodTypeDef, unknown>;
1126
+ /** @internal */
1127
+ export type UserId$Outbound = string | number;
1128
+ /** @internal */
1129
+ export declare const UserId$outboundSchema: z.ZodType<UserId$Outbound, z.ZodTypeDef, UserId>;
1130
+ /**
1131
+ * @internal
1132
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1133
+ */
1134
+ export declare namespace UserId$ {
1135
+ /** @deprecated use `UserId$inboundSchema` instead. */
1136
+ const inboundSchema: z.ZodType<UserId, z.ZodTypeDef, unknown>;
1137
+ /** @deprecated use `UserId$outboundSchema` instead. */
1138
+ const outboundSchema: z.ZodType<UserId$Outbound, z.ZodTypeDef, UserId>;
1139
+ /** @deprecated use `UserId$Outbound` instead. */
1140
+ type Outbound = UserId$Outbound;
1141
+ }
1142
+ export declare function userIdToJSON(userId: UserId): string;
1143
+ export declare function userIdFromJSON(jsonString: string): SafeParseResult<UserId, SDKValidationError>;
1144
+ /** @internal */
1145
+ export declare const InvokeOptions$inboundSchema: z.ZodType<InvokeOptions, z.ZodTypeDef, unknown>;
1146
+ /** @internal */
1147
+ export type InvokeOptions$Outbound = {
1148
+ include_retrievals: boolean;
1149
+ };
1150
+ /** @internal */
1151
+ export declare const InvokeOptions$outboundSchema: z.ZodType<InvokeOptions$Outbound, z.ZodTypeDef, InvokeOptions>;
1152
+ /**
1153
+ * @internal
1154
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1155
+ */
1156
+ export declare namespace InvokeOptions$ {
1157
+ /** @deprecated use `InvokeOptions$inboundSchema` instead. */
1158
+ const inboundSchema: z.ZodType<InvokeOptions, z.ZodTypeDef, unknown>;
1159
+ /** @deprecated use `InvokeOptions$outboundSchema` instead. */
1160
+ const outboundSchema: z.ZodType<InvokeOptions$Outbound, z.ZodTypeDef, InvokeOptions>;
1161
+ /** @deprecated use `InvokeOptions$Outbound` instead. */
1162
+ type Outbound = InvokeOptions$Outbound;
1163
+ }
1164
+ export declare function invokeOptionsToJSON(invokeOptions: InvokeOptions): string;
1165
+ export declare function invokeOptionsFromJSON(jsonString: string): SafeParseResult<InvokeOptions, SDKValidationError>;
1166
+ /** @internal */
1167
+ export declare const DeploymentGetConfigRequestBody$inboundSchema: z.ZodType<DeploymentGetConfigRequestBody, z.ZodTypeDef, unknown>;
1168
+ /** @internal */
1169
+ export type DeploymentGetConfigRequestBody$Outbound = {
1170
+ key: string;
1171
+ inputs?: {
1172
+ [k: string]: string | number | boolean;
1173
+ } | undefined;
1174
+ context?: {
1175
+ [k: string]: any;
1176
+ } | undefined;
1177
+ prefix_messages?: Array<PrefixMessages$Outbound> | undefined;
1178
+ messages?: Array<Messages$Outbound> | undefined;
1179
+ file_ids?: Array<string> | undefined;
1180
+ metadata?: {
1181
+ [k: string]: any;
1182
+ } | undefined;
1183
+ chain_id?: string | undefined;
1184
+ conversation_id?: string | undefined;
1185
+ user_id?: string | number | undefined;
1186
+ deployment_id?: string | undefined;
1187
+ deployment_variant_id?: string | undefined;
1188
+ extra_params?: {
1189
+ [k: string]: any;
1190
+ } | undefined;
1191
+ invoke_options?: InvokeOptions$Outbound | undefined;
1192
+ };
1193
+ /** @internal */
1194
+ export declare const DeploymentGetConfigRequestBody$outboundSchema: z.ZodType<DeploymentGetConfigRequestBody$Outbound, z.ZodTypeDef, DeploymentGetConfigRequestBody>;
1195
+ /**
1196
+ * @internal
1197
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1198
+ */
1199
+ export declare namespace DeploymentGetConfigRequestBody$ {
1200
+ /** @deprecated use `DeploymentGetConfigRequestBody$inboundSchema` instead. */
1201
+ const inboundSchema: z.ZodType<DeploymentGetConfigRequestBody, z.ZodTypeDef, unknown>;
1202
+ /** @deprecated use `DeploymentGetConfigRequestBody$outboundSchema` instead. */
1203
+ const outboundSchema: z.ZodType<DeploymentGetConfigRequestBody$Outbound, z.ZodTypeDef, DeploymentGetConfigRequestBody>;
1204
+ /** @deprecated use `DeploymentGetConfigRequestBody$Outbound` instead. */
1205
+ type Outbound = DeploymentGetConfigRequestBody$Outbound;
1206
+ }
1207
+ export declare function deploymentGetConfigRequestBodyToJSON(deploymentGetConfigRequestBody: DeploymentGetConfigRequestBody): string;
1208
+ export declare function deploymentGetConfigRequestBodyFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigRequestBody, SDKValidationError>;
1209
+ /** @internal */
1210
+ export declare const DeploymentGetConfigDeploymentsResponseType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigDeploymentsResponseType>;
1211
+ /** @internal */
1212
+ export declare const DeploymentGetConfigDeploymentsResponseType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigDeploymentsResponseType>;
1213
+ /**
1214
+ * @internal
1215
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1216
+ */
1217
+ export declare namespace DeploymentGetConfigDeploymentsResponseType$ {
1218
+ /** @deprecated use `DeploymentGetConfigDeploymentsResponseType$inboundSchema` instead. */
1219
+ const inboundSchema: z.ZodNativeEnum<{
1220
+ readonly Chat: "chat";
1221
+ readonly Completion: "completion";
1222
+ readonly Embedding: "embedding";
1223
+ readonly Vision: "vision";
1224
+ readonly Image: "image";
1225
+ readonly Tts: "tts";
1226
+ readonly Stt: "stt";
1227
+ readonly Rerank: "rerank";
1228
+ }>;
1229
+ /** @deprecated use `DeploymentGetConfigDeploymentsResponseType$outboundSchema` instead. */
1230
+ const outboundSchema: z.ZodNativeEnum<{
1231
+ readonly Chat: "chat";
1232
+ readonly Completion: "completion";
1233
+ readonly Embedding: "embedding";
1234
+ readonly Vision: "vision";
1235
+ readonly Image: "image";
1236
+ readonly Tts: "tts";
1237
+ readonly Stt: "stt";
1238
+ readonly Rerank: "rerank";
1239
+ }>;
1240
+ }
1241
+ /** @internal */
1242
+ export declare const DeploymentGetConfigDeploymentsRole$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigDeploymentsRole>;
1243
+ /** @internal */
1244
+ export declare const DeploymentGetConfigDeploymentsRole$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigDeploymentsRole>;
1245
+ /**
1246
+ * @internal
1247
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1248
+ */
1249
+ export declare namespace DeploymentGetConfigDeploymentsRole$ {
1250
+ /** @deprecated use `DeploymentGetConfigDeploymentsRole$inboundSchema` instead. */
1251
+ const inboundSchema: z.ZodNativeEnum<{
1252
+ readonly System: "system";
1253
+ readonly Assistant: "assistant";
1254
+ readonly User: "user";
1255
+ readonly Exception: "exception";
1256
+ readonly Tool: "tool";
1257
+ readonly Prompt: "prompt";
1258
+ readonly Correction: "correction";
1259
+ readonly ExpectedOutput: "expected_output";
1260
+ }>;
1261
+ /** @deprecated use `DeploymentGetConfigDeploymentsRole$outboundSchema` instead. */
1262
+ const outboundSchema: z.ZodNativeEnum<{
1263
+ readonly System: "system";
1264
+ readonly Assistant: "assistant";
1265
+ readonly User: "user";
1266
+ readonly Exception: "exception";
1267
+ readonly Tool: "tool";
1268
+ readonly Prompt: "prompt";
1269
+ readonly Correction: "correction";
1270
+ readonly ExpectedOutput: "expected_output";
1271
+ }>;
1272
+ }
1273
+ /** @internal */
1274
+ export declare const DeploymentGetConfig2DeploymentsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsResponse200Type>;
1275
+ /** @internal */
1276
+ export declare const DeploymentGetConfig2DeploymentsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsResponse200Type>;
1277
+ /**
1278
+ * @internal
1279
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1280
+ */
1281
+ export declare namespace DeploymentGetConfig2DeploymentsResponse200Type$ {
1282
+ /** @deprecated use `DeploymentGetConfig2DeploymentsResponse200Type$inboundSchema` instead. */
1283
+ const inboundSchema: z.ZodNativeEnum<{
1284
+ readonly ImageUrl: "image_url";
1285
+ }>;
1286
+ /** @deprecated use `DeploymentGetConfig2DeploymentsResponse200Type$outboundSchema` instead. */
1287
+ const outboundSchema: z.ZodNativeEnum<{
1288
+ readonly ImageUrl: "image_url";
1289
+ }>;
1290
+ }
1291
+ /** @internal */
1292
+ export declare const DeploymentGetConfig2ImageUrl$inboundSchema: z.ZodType<DeploymentGetConfig2ImageUrl, z.ZodTypeDef, unknown>;
1293
+ /** @internal */
1294
+ export type DeploymentGetConfig2ImageUrl$Outbound = {
1295
+ id?: string | undefined;
1296
+ url: string;
1297
+ detail?: string | undefined;
1298
+ };
1299
+ /** @internal */
1300
+ export declare const DeploymentGetConfig2ImageUrl$outboundSchema: z.ZodType<DeploymentGetConfig2ImageUrl$Outbound, z.ZodTypeDef, DeploymentGetConfig2ImageUrl>;
1301
+ /**
1302
+ * @internal
1303
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1304
+ */
1305
+ export declare namespace DeploymentGetConfig2ImageUrl$ {
1306
+ /** @deprecated use `DeploymentGetConfig2ImageUrl$inboundSchema` instead. */
1307
+ const inboundSchema: z.ZodType<DeploymentGetConfig2ImageUrl, z.ZodTypeDef, unknown>;
1308
+ /** @deprecated use `DeploymentGetConfig2ImageUrl$outboundSchema` instead. */
1309
+ const outboundSchema: z.ZodType<DeploymentGetConfig2ImageUrl$Outbound, z.ZodTypeDef, DeploymentGetConfig2ImageUrl>;
1310
+ /** @deprecated use `DeploymentGetConfig2ImageUrl$Outbound` instead. */
1311
+ type Outbound = DeploymentGetConfig2ImageUrl$Outbound;
1312
+ }
1313
+ export declare function deploymentGetConfig2ImageUrlToJSON(deploymentGetConfig2ImageUrl: DeploymentGetConfig2ImageUrl): string;
1314
+ export declare function deploymentGetConfig2ImageUrlFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfig2ImageUrl, SDKValidationError>;
1315
+ /** @internal */
1316
+ export declare const DeploymentGetConfig2Deployments2$inboundSchema: z.ZodType<DeploymentGetConfig2Deployments2, z.ZodTypeDef, unknown>;
1317
+ /** @internal */
1318
+ export type DeploymentGetConfig2Deployments2$Outbound = {
1319
+ type: string;
1320
+ image_url: DeploymentGetConfig2ImageUrl$Outbound;
1321
+ };
1322
+ /** @internal */
1323
+ export declare const DeploymentGetConfig2Deployments2$outboundSchema: z.ZodType<DeploymentGetConfig2Deployments2$Outbound, z.ZodTypeDef, DeploymentGetConfig2Deployments2>;
1324
+ /**
1325
+ * @internal
1326
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1327
+ */
1328
+ export declare namespace DeploymentGetConfig2Deployments2$ {
1329
+ /** @deprecated use `DeploymentGetConfig2Deployments2$inboundSchema` instead. */
1330
+ const inboundSchema: z.ZodType<DeploymentGetConfig2Deployments2, z.ZodTypeDef, unknown>;
1331
+ /** @deprecated use `DeploymentGetConfig2Deployments2$outboundSchema` instead. */
1332
+ const outboundSchema: z.ZodType<DeploymentGetConfig2Deployments2$Outbound, z.ZodTypeDef, DeploymentGetConfig2Deployments2>;
1333
+ /** @deprecated use `DeploymentGetConfig2Deployments2$Outbound` instead. */
1334
+ type Outbound = DeploymentGetConfig2Deployments2$Outbound;
1335
+ }
1336
+ export declare function deploymentGetConfig2Deployments2ToJSON(deploymentGetConfig2Deployments2: DeploymentGetConfig2Deployments2): string;
1337
+ export declare function deploymentGetConfig2Deployments2FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfig2Deployments2, SDKValidationError>;
1338
+ /** @internal */
1339
+ export declare const DeploymentGetConfig2DeploymentsResponseType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsResponseType>;
1340
+ /** @internal */
1341
+ export declare const DeploymentGetConfig2DeploymentsResponseType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsResponseType>;
1342
+ /**
1343
+ * @internal
1344
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1345
+ */
1346
+ export declare namespace DeploymentGetConfig2DeploymentsResponseType$ {
1347
+ /** @deprecated use `DeploymentGetConfig2DeploymentsResponseType$inboundSchema` instead. */
1348
+ const inboundSchema: z.ZodNativeEnum<{
1349
+ readonly Text: "text";
1350
+ }>;
1351
+ /** @deprecated use `DeploymentGetConfig2DeploymentsResponseType$outboundSchema` instead. */
1352
+ const outboundSchema: z.ZodNativeEnum<{
1353
+ readonly Text: "text";
1354
+ }>;
1355
+ }
1356
+ /** @internal */
1357
+ export declare const DeploymentGetConfig21$inboundSchema: z.ZodType<DeploymentGetConfig21, z.ZodTypeDef, unknown>;
1358
+ /** @internal */
1359
+ export type DeploymentGetConfig21$Outbound = {
1360
+ type: string;
1361
+ text: string;
1362
+ };
1363
+ /** @internal */
1364
+ export declare const DeploymentGetConfig21$outboundSchema: z.ZodType<DeploymentGetConfig21$Outbound, z.ZodTypeDef, DeploymentGetConfig21>;
1365
+ /**
1366
+ * @internal
1367
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1368
+ */
1369
+ export declare namespace DeploymentGetConfig21$ {
1370
+ /** @deprecated use `DeploymentGetConfig21$inboundSchema` instead. */
1371
+ const inboundSchema: z.ZodType<DeploymentGetConfig21, z.ZodTypeDef, unknown>;
1372
+ /** @deprecated use `DeploymentGetConfig21$outboundSchema` instead. */
1373
+ const outboundSchema: z.ZodType<DeploymentGetConfig21$Outbound, z.ZodTypeDef, DeploymentGetConfig21>;
1374
+ /** @deprecated use `DeploymentGetConfig21$Outbound` instead. */
1375
+ type Outbound = DeploymentGetConfig21$Outbound;
1376
+ }
1377
+ export declare function deploymentGetConfig21ToJSON(deploymentGetConfig21: DeploymentGetConfig21): string;
1378
+ export declare function deploymentGetConfig21FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfig21, SDKValidationError>;
1379
+ /** @internal */
1380
+ export declare const DeploymentGetConfigContent2$inboundSchema: z.ZodType<DeploymentGetConfigContent2, z.ZodTypeDef, unknown>;
1381
+ /** @internal */
1382
+ export type DeploymentGetConfigContent2$Outbound = DeploymentGetConfig21$Outbound | DeploymentGetConfig2Deployments2$Outbound;
1383
+ /** @internal */
1384
+ export declare const DeploymentGetConfigContent2$outboundSchema: z.ZodType<DeploymentGetConfigContent2$Outbound, z.ZodTypeDef, DeploymentGetConfigContent2>;
1385
+ /**
1386
+ * @internal
1387
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1388
+ */
1389
+ export declare namespace DeploymentGetConfigContent2$ {
1390
+ /** @deprecated use `DeploymentGetConfigContent2$inboundSchema` instead. */
1391
+ const inboundSchema: z.ZodType<DeploymentGetConfigContent2, z.ZodTypeDef, unknown>;
1392
+ /** @deprecated use `DeploymentGetConfigContent2$outboundSchema` instead. */
1393
+ const outboundSchema: z.ZodType<DeploymentGetConfigContent2$Outbound, z.ZodTypeDef, DeploymentGetConfigContent2>;
1394
+ /** @deprecated use `DeploymentGetConfigContent2$Outbound` instead. */
1395
+ type Outbound = DeploymentGetConfigContent2$Outbound;
1396
+ }
1397
+ export declare function deploymentGetConfigContent2ToJSON(deploymentGetConfigContent2: DeploymentGetConfigContent2): string;
1398
+ export declare function deploymentGetConfigContent2FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigContent2, SDKValidationError>;
1399
+ /** @internal */
1400
+ export declare const DeploymentGetConfigDeploymentsContent$inboundSchema: z.ZodType<DeploymentGetConfigDeploymentsContent, z.ZodTypeDef, unknown>;
1401
+ /** @internal */
1402
+ export type DeploymentGetConfigDeploymentsContent$Outbound = string | Array<DeploymentGetConfig21$Outbound | DeploymentGetConfig2Deployments2$Outbound>;
1403
+ /** @internal */
1404
+ export declare const DeploymentGetConfigDeploymentsContent$outboundSchema: z.ZodType<DeploymentGetConfigDeploymentsContent$Outbound, z.ZodTypeDef, DeploymentGetConfigDeploymentsContent>;
1405
+ /**
1406
+ * @internal
1407
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1408
+ */
1409
+ export declare namespace DeploymentGetConfigDeploymentsContent$ {
1410
+ /** @deprecated use `DeploymentGetConfigDeploymentsContent$inboundSchema` instead. */
1411
+ const inboundSchema: z.ZodType<DeploymentGetConfigDeploymentsContent, z.ZodTypeDef, unknown>;
1412
+ /** @deprecated use `DeploymentGetConfigDeploymentsContent$outboundSchema` instead. */
1413
+ const outboundSchema: z.ZodType<DeploymentGetConfigDeploymentsContent$Outbound, z.ZodTypeDef, DeploymentGetConfigDeploymentsContent>;
1414
+ /** @deprecated use `DeploymentGetConfigDeploymentsContent$Outbound` instead. */
1415
+ type Outbound = DeploymentGetConfigDeploymentsContent$Outbound;
1416
+ }
1417
+ export declare function deploymentGetConfigDeploymentsContentToJSON(deploymentGetConfigDeploymentsContent: DeploymentGetConfigDeploymentsContent): string;
1418
+ export declare function deploymentGetConfigDeploymentsContentFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigDeploymentsContent, SDKValidationError>;
1419
+ /** @internal */
1420
+ export declare const DeploymentGetConfigDeploymentsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigDeploymentsResponse200ApplicationJSONType>;
1421
+ /** @internal */
1422
+ export declare const DeploymentGetConfigDeploymentsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigDeploymentsResponse200ApplicationJSONType>;
1423
+ /**
1424
+ * @internal
1425
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1426
+ */
1427
+ export declare namespace DeploymentGetConfigDeploymentsResponse200ApplicationJSONType$ {
1428
+ /** @deprecated use `DeploymentGetConfigDeploymentsResponse200ApplicationJSONType$inboundSchema` instead. */
1429
+ const inboundSchema: z.ZodNativeEnum<{
1430
+ readonly Function: "function";
1431
+ }>;
1432
+ /** @deprecated use `DeploymentGetConfigDeploymentsResponse200ApplicationJSONType$outboundSchema` instead. */
1433
+ const outboundSchema: z.ZodNativeEnum<{
1434
+ readonly Function: "function";
1435
+ }>;
1436
+ }
1437
+ /** @internal */
1438
+ export declare const DeploymentGetConfigDeploymentsResponseFunction$inboundSchema: z.ZodType<DeploymentGetConfigDeploymentsResponseFunction, z.ZodTypeDef, unknown>;
1439
+ /** @internal */
1440
+ export type DeploymentGetConfigDeploymentsResponseFunction$Outbound = {
1441
+ name: string;
1442
+ arguments: string;
1443
+ };
1444
+ /** @internal */
1445
+ export declare const DeploymentGetConfigDeploymentsResponseFunction$outboundSchema: z.ZodType<DeploymentGetConfigDeploymentsResponseFunction$Outbound, z.ZodTypeDef, DeploymentGetConfigDeploymentsResponseFunction>;
1446
+ /**
1447
+ * @internal
1448
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1449
+ */
1450
+ export declare namespace DeploymentGetConfigDeploymentsResponseFunction$ {
1451
+ /** @deprecated use `DeploymentGetConfigDeploymentsResponseFunction$inboundSchema` instead. */
1452
+ const inboundSchema: z.ZodType<DeploymentGetConfigDeploymentsResponseFunction, z.ZodTypeDef, unknown>;
1453
+ /** @deprecated use `DeploymentGetConfigDeploymentsResponseFunction$outboundSchema` instead. */
1454
+ const outboundSchema: z.ZodType<DeploymentGetConfigDeploymentsResponseFunction$Outbound, z.ZodTypeDef, DeploymentGetConfigDeploymentsResponseFunction>;
1455
+ /** @deprecated use `DeploymentGetConfigDeploymentsResponseFunction$Outbound` instead. */
1456
+ type Outbound = DeploymentGetConfigDeploymentsResponseFunction$Outbound;
1457
+ }
1458
+ export declare function deploymentGetConfigDeploymentsResponseFunctionToJSON(deploymentGetConfigDeploymentsResponseFunction: DeploymentGetConfigDeploymentsResponseFunction): string;
1459
+ export declare function deploymentGetConfigDeploymentsResponseFunctionFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigDeploymentsResponseFunction, SDKValidationError>;
1460
+ /** @internal */
1461
+ export declare const DeploymentGetConfigDeploymentsToolCalls$inboundSchema: z.ZodType<DeploymentGetConfigDeploymentsToolCalls, z.ZodTypeDef, unknown>;
1462
+ /** @internal */
1463
+ export type DeploymentGetConfigDeploymentsToolCalls$Outbound = {
1464
+ id?: string | undefined;
1465
+ index?: number | undefined;
1466
+ type: string;
1467
+ function: DeploymentGetConfigDeploymentsResponseFunction$Outbound;
1468
+ };
1469
+ /** @internal */
1470
+ export declare const DeploymentGetConfigDeploymentsToolCalls$outboundSchema: z.ZodType<DeploymentGetConfigDeploymentsToolCalls$Outbound, z.ZodTypeDef, DeploymentGetConfigDeploymentsToolCalls>;
1471
+ /**
1472
+ * @internal
1473
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1474
+ */
1475
+ export declare namespace DeploymentGetConfigDeploymentsToolCalls$ {
1476
+ /** @deprecated use `DeploymentGetConfigDeploymentsToolCalls$inboundSchema` instead. */
1477
+ const inboundSchema: z.ZodType<DeploymentGetConfigDeploymentsToolCalls, z.ZodTypeDef, unknown>;
1478
+ /** @deprecated use `DeploymentGetConfigDeploymentsToolCalls$outboundSchema` instead. */
1479
+ const outboundSchema: z.ZodType<DeploymentGetConfigDeploymentsToolCalls$Outbound, z.ZodTypeDef, DeploymentGetConfigDeploymentsToolCalls>;
1480
+ /** @deprecated use `DeploymentGetConfigDeploymentsToolCalls$Outbound` instead. */
1481
+ type Outbound = DeploymentGetConfigDeploymentsToolCalls$Outbound;
1482
+ }
1483
+ export declare function deploymentGetConfigDeploymentsToolCallsToJSON(deploymentGetConfigDeploymentsToolCalls: DeploymentGetConfigDeploymentsToolCalls): string;
1484
+ export declare function deploymentGetConfigDeploymentsToolCallsFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigDeploymentsToolCalls, SDKValidationError>;
1485
+ /** @internal */
1486
+ export declare const DeploymentGetConfigMessages$inboundSchema: z.ZodType<DeploymentGetConfigMessages, z.ZodTypeDef, unknown>;
1487
+ /** @internal */
1488
+ export type DeploymentGetConfigMessages$Outbound = {
1489
+ role: string;
1490
+ content: string | Array<DeploymentGetConfig21$Outbound | DeploymentGetConfig2Deployments2$Outbound>;
1491
+ tool_calls?: Array<DeploymentGetConfigDeploymentsToolCalls$Outbound> | undefined;
1492
+ };
1493
+ /** @internal */
1494
+ export declare const DeploymentGetConfigMessages$outboundSchema: z.ZodType<DeploymentGetConfigMessages$Outbound, z.ZodTypeDef, DeploymentGetConfigMessages>;
1495
+ /**
1496
+ * @internal
1497
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1498
+ */
1499
+ export declare namespace DeploymentGetConfigMessages$ {
1500
+ /** @deprecated use `DeploymentGetConfigMessages$inboundSchema` instead. */
1501
+ const inboundSchema: z.ZodType<DeploymentGetConfigMessages, z.ZodTypeDef, unknown>;
1502
+ /** @deprecated use `DeploymentGetConfigMessages$outboundSchema` instead. */
1503
+ const outboundSchema: z.ZodType<DeploymentGetConfigMessages$Outbound, z.ZodTypeDef, DeploymentGetConfigMessages>;
1504
+ /** @deprecated use `DeploymentGetConfigMessages$Outbound` instead. */
1505
+ type Outbound = DeploymentGetConfigMessages$Outbound;
1506
+ }
1507
+ export declare function deploymentGetConfigMessagesToJSON(deploymentGetConfigMessages: DeploymentGetConfigMessages): string;
1508
+ export declare function deploymentGetConfigMessagesFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigMessages, SDKValidationError>;
1509
+ /** @internal */
1510
+ export declare const DeploymentGetConfigFormat$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigFormat>;
1511
+ /** @internal */
1512
+ export declare const DeploymentGetConfigFormat$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigFormat>;
1513
+ /**
1514
+ * @internal
1515
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1516
+ */
1517
+ export declare namespace DeploymentGetConfigFormat$ {
1518
+ /** @deprecated use `DeploymentGetConfigFormat$inboundSchema` instead. */
1519
+ const inboundSchema: z.ZodNativeEnum<{
1520
+ readonly Url: "url";
1521
+ readonly B64Json: "b64_json";
1522
+ readonly Text: "text";
1523
+ readonly JsonObject: "json_object";
1524
+ }>;
1525
+ /** @deprecated use `DeploymentGetConfigFormat$outboundSchema` instead. */
1526
+ const outboundSchema: z.ZodNativeEnum<{
1527
+ readonly Url: "url";
1528
+ readonly B64Json: "b64_json";
1529
+ readonly Text: "text";
1530
+ readonly JsonObject: "json_object";
1531
+ }>;
1532
+ }
1533
+ /** @internal */
1534
+ export declare const DeploymentGetConfigQuality$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigQuality>;
1535
+ /** @internal */
1536
+ export declare const DeploymentGetConfigQuality$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigQuality>;
1537
+ /**
1538
+ * @internal
1539
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1540
+ */
1541
+ export declare namespace DeploymentGetConfigQuality$ {
1542
+ /** @deprecated use `DeploymentGetConfigQuality$inboundSchema` instead. */
1543
+ const inboundSchema: z.ZodNativeEnum<{
1544
+ readonly Standard: "standard";
1545
+ readonly Hd: "hd";
1546
+ }>;
1547
+ /** @deprecated use `DeploymentGetConfigQuality$outboundSchema` instead. */
1548
+ const outboundSchema: z.ZodNativeEnum<{
1549
+ readonly Standard: "standard";
1550
+ readonly Hd: "hd";
1551
+ }>;
1552
+ }
1553
+ /** @internal */
1554
+ export declare const DeploymentGetConfigResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigResponseFormatType>;
1555
+ /** @internal */
1556
+ export declare const DeploymentGetConfigResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigResponseFormatType>;
1557
+ /**
1558
+ * @internal
1559
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1560
+ */
1561
+ export declare namespace DeploymentGetConfigResponseFormatType$ {
1562
+ /** @deprecated use `DeploymentGetConfigResponseFormatType$inboundSchema` instead. */
1563
+ const inboundSchema: z.ZodNativeEnum<{
1564
+ readonly JsonObject: "json_object";
1565
+ }>;
1566
+ /** @deprecated use `DeploymentGetConfigResponseFormatType$outboundSchema` instead. */
1567
+ const outboundSchema: z.ZodNativeEnum<{
1568
+ readonly JsonObject: "json_object";
1569
+ }>;
1570
+ }
1571
+ /** @internal */
1572
+ export declare const DeploymentGetConfigResponseFormat2$inboundSchema: z.ZodType<DeploymentGetConfigResponseFormat2, z.ZodTypeDef, unknown>;
1573
+ /** @internal */
1574
+ export type DeploymentGetConfigResponseFormat2$Outbound = {
1575
+ type: string;
1576
+ };
1577
+ /** @internal */
1578
+ export declare const DeploymentGetConfigResponseFormat2$outboundSchema: z.ZodType<DeploymentGetConfigResponseFormat2$Outbound, z.ZodTypeDef, DeploymentGetConfigResponseFormat2>;
1579
+ /**
1580
+ * @internal
1581
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1582
+ */
1583
+ export declare namespace DeploymentGetConfigResponseFormat2$ {
1584
+ /** @deprecated use `DeploymentGetConfigResponseFormat2$inboundSchema` instead. */
1585
+ const inboundSchema: z.ZodType<DeploymentGetConfigResponseFormat2, z.ZodTypeDef, unknown>;
1586
+ /** @deprecated use `DeploymentGetConfigResponseFormat2$outboundSchema` instead. */
1587
+ const outboundSchema: z.ZodType<DeploymentGetConfigResponseFormat2$Outbound, z.ZodTypeDef, DeploymentGetConfigResponseFormat2>;
1588
+ /** @deprecated use `DeploymentGetConfigResponseFormat2$Outbound` instead. */
1589
+ type Outbound = DeploymentGetConfigResponseFormat2$Outbound;
1590
+ }
1591
+ export declare function deploymentGetConfigResponseFormat2ToJSON(deploymentGetConfigResponseFormat2: DeploymentGetConfigResponseFormat2): string;
1592
+ export declare function deploymentGetConfigResponseFormat2FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigResponseFormat2, SDKValidationError>;
1593
+ /** @internal */
1594
+ export declare const DeploymentGetConfigResponseFormatDeploymentsType$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigResponseFormatDeploymentsType>;
1595
+ /** @internal */
1596
+ export declare const DeploymentGetConfigResponseFormatDeploymentsType$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigResponseFormatDeploymentsType>;
1597
+ /**
1598
+ * @internal
1599
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1600
+ */
1601
+ export declare namespace DeploymentGetConfigResponseFormatDeploymentsType$ {
1602
+ /** @deprecated use `DeploymentGetConfigResponseFormatDeploymentsType$inboundSchema` instead. */
1603
+ const inboundSchema: z.ZodNativeEnum<{
1604
+ readonly JsonSchema: "json_schema";
1605
+ }>;
1606
+ /** @deprecated use `DeploymentGetConfigResponseFormatDeploymentsType$outboundSchema` instead. */
1607
+ const outboundSchema: z.ZodNativeEnum<{
1608
+ readonly JsonSchema: "json_schema";
1609
+ }>;
1610
+ }
1611
+ /** @internal */
1612
+ export declare const DeploymentGetConfigResponseFormatJsonSchema$inboundSchema: z.ZodType<DeploymentGetConfigResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
1613
+ /** @internal */
1614
+ export type DeploymentGetConfigResponseFormatJsonSchema$Outbound = {
1615
+ name: string;
1616
+ strict: boolean;
1617
+ schema: {
1618
+ [k: string]: any;
1619
+ };
1620
+ };
1621
+ /** @internal */
1622
+ export declare const DeploymentGetConfigResponseFormatJsonSchema$outboundSchema: z.ZodType<DeploymentGetConfigResponseFormatJsonSchema$Outbound, z.ZodTypeDef, DeploymentGetConfigResponseFormatJsonSchema>;
1623
+ /**
1624
+ * @internal
1625
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1626
+ */
1627
+ export declare namespace DeploymentGetConfigResponseFormatJsonSchema$ {
1628
+ /** @deprecated use `DeploymentGetConfigResponseFormatJsonSchema$inboundSchema` instead. */
1629
+ const inboundSchema: z.ZodType<DeploymentGetConfigResponseFormatJsonSchema, z.ZodTypeDef, unknown>;
1630
+ /** @deprecated use `DeploymentGetConfigResponseFormatJsonSchema$outboundSchema` instead. */
1631
+ const outboundSchema: z.ZodType<DeploymentGetConfigResponseFormatJsonSchema$Outbound, z.ZodTypeDef, DeploymentGetConfigResponseFormatJsonSchema>;
1632
+ /** @deprecated use `DeploymentGetConfigResponseFormatJsonSchema$Outbound` instead. */
1633
+ type Outbound = DeploymentGetConfigResponseFormatJsonSchema$Outbound;
1634
+ }
1635
+ export declare function deploymentGetConfigResponseFormatJsonSchemaToJSON(deploymentGetConfigResponseFormatJsonSchema: DeploymentGetConfigResponseFormatJsonSchema): string;
1636
+ export declare function deploymentGetConfigResponseFormatJsonSchemaFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigResponseFormatJsonSchema, SDKValidationError>;
1637
+ /** @internal */
1638
+ export declare const DeploymentGetConfigResponseFormat1$inboundSchema: z.ZodType<DeploymentGetConfigResponseFormat1, z.ZodTypeDef, unknown>;
1639
+ /** @internal */
1640
+ export type DeploymentGetConfigResponseFormat1$Outbound = {
1641
+ type: string;
1642
+ json_schema: DeploymentGetConfigResponseFormatJsonSchema$Outbound;
1643
+ };
1644
+ /** @internal */
1645
+ export declare const DeploymentGetConfigResponseFormat1$outboundSchema: z.ZodType<DeploymentGetConfigResponseFormat1$Outbound, z.ZodTypeDef, DeploymentGetConfigResponseFormat1>;
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 DeploymentGetConfigResponseFormat1$ {
1651
+ /** @deprecated use `DeploymentGetConfigResponseFormat1$inboundSchema` instead. */
1652
+ const inboundSchema: z.ZodType<DeploymentGetConfigResponseFormat1, z.ZodTypeDef, unknown>;
1653
+ /** @deprecated use `DeploymentGetConfigResponseFormat1$outboundSchema` instead. */
1654
+ const outboundSchema: z.ZodType<DeploymentGetConfigResponseFormat1$Outbound, z.ZodTypeDef, DeploymentGetConfigResponseFormat1>;
1655
+ /** @deprecated use `DeploymentGetConfigResponseFormat1$Outbound` instead. */
1656
+ type Outbound = DeploymentGetConfigResponseFormat1$Outbound;
1657
+ }
1658
+ export declare function deploymentGetConfigResponseFormat1ToJSON(deploymentGetConfigResponseFormat1: DeploymentGetConfigResponseFormat1): string;
1659
+ export declare function deploymentGetConfigResponseFormat1FromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigResponseFormat1, SDKValidationError>;
1660
+ /** @internal */
1661
+ export declare const DeploymentGetConfigResponseFormat$inboundSchema: z.ZodType<DeploymentGetConfigResponseFormat, z.ZodTypeDef, unknown>;
1662
+ /** @internal */
1663
+ export type DeploymentGetConfigResponseFormat$Outbound = DeploymentGetConfigResponseFormat2$Outbound | DeploymentGetConfigResponseFormat1$Outbound;
1664
+ /** @internal */
1665
+ export declare const DeploymentGetConfigResponseFormat$outboundSchema: z.ZodType<DeploymentGetConfigResponseFormat$Outbound, z.ZodTypeDef, DeploymentGetConfigResponseFormat>;
1666
+ /**
1667
+ * @internal
1668
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1669
+ */
1670
+ export declare namespace DeploymentGetConfigResponseFormat$ {
1671
+ /** @deprecated use `DeploymentGetConfigResponseFormat$inboundSchema` instead. */
1672
+ const inboundSchema: z.ZodType<DeploymentGetConfigResponseFormat, z.ZodTypeDef, unknown>;
1673
+ /** @deprecated use `DeploymentGetConfigResponseFormat$outboundSchema` instead. */
1674
+ const outboundSchema: z.ZodType<DeploymentGetConfigResponseFormat$Outbound, z.ZodTypeDef, DeploymentGetConfigResponseFormat>;
1675
+ /** @deprecated use `DeploymentGetConfigResponseFormat$Outbound` instead. */
1676
+ type Outbound = DeploymentGetConfigResponseFormat$Outbound;
1677
+ }
1678
+ export declare function deploymentGetConfigResponseFormatToJSON(deploymentGetConfigResponseFormat: DeploymentGetConfigResponseFormat): string;
1679
+ export declare function deploymentGetConfigResponseFormatFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigResponseFormat, SDKValidationError>;
1680
+ /** @internal */
1681
+ export declare const DeploymentGetConfigPhotoRealVersion$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigPhotoRealVersion>;
1682
+ /** @internal */
1683
+ export declare const DeploymentGetConfigPhotoRealVersion$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigPhotoRealVersion>;
1684
+ /**
1685
+ * @internal
1686
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1687
+ */
1688
+ export declare namespace DeploymentGetConfigPhotoRealVersion$ {
1689
+ /** @deprecated use `DeploymentGetConfigPhotoRealVersion$inboundSchema` instead. */
1690
+ const inboundSchema: z.ZodNativeEnum<{
1691
+ readonly V1: "v1";
1692
+ readonly V2: "v2";
1693
+ }>;
1694
+ /** @deprecated use `DeploymentGetConfigPhotoRealVersion$outboundSchema` instead. */
1695
+ const outboundSchema: z.ZodNativeEnum<{
1696
+ readonly V1: "v1";
1697
+ readonly V2: "v2";
1698
+ }>;
1699
+ }
1700
+ /** @internal */
1701
+ export declare const DeploymentGetConfigEncodingFormat$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigEncodingFormat>;
1702
+ /** @internal */
1703
+ export declare const DeploymentGetConfigEncodingFormat$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigEncodingFormat>;
1704
+ /**
1705
+ * @internal
1706
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1707
+ */
1708
+ export declare namespace DeploymentGetConfigEncodingFormat$ {
1709
+ /** @deprecated use `DeploymentGetConfigEncodingFormat$inboundSchema` instead. */
1710
+ const inboundSchema: z.ZodNativeEnum<{
1711
+ readonly Float: "float";
1712
+ readonly Base64: "base64";
1713
+ }>;
1714
+ /** @deprecated use `DeploymentGetConfigEncodingFormat$outboundSchema` instead. */
1715
+ const outboundSchema: z.ZodNativeEnum<{
1716
+ readonly Float: "float";
1717
+ readonly Base64: "base64";
1718
+ }>;
1719
+ }
1720
+ /** @internal */
1721
+ export declare const ParametersT$inboundSchema: z.ZodType<ParametersT, z.ZodTypeDef, unknown>;
1722
+ /** @internal */
1723
+ export type ParametersT$Outbound = {
1724
+ temperature?: number | undefined;
1725
+ maxTokens?: number | undefined;
1726
+ topK?: number | undefined;
1727
+ topP?: number | undefined;
1728
+ frequencyPenalty?: number | undefined;
1729
+ presencePenalty?: number | undefined;
1730
+ numImages?: number | undefined;
1731
+ seed?: number | undefined;
1732
+ format?: string | undefined;
1733
+ dimensions?: string | undefined;
1734
+ quality?: string | undefined;
1735
+ style?: string | undefined;
1736
+ responseFormat?: DeploymentGetConfigResponseFormat2$Outbound | DeploymentGetConfigResponseFormat1$Outbound | null | undefined;
1737
+ photoRealVersion?: string | undefined;
1738
+ encoding_format?: string | undefined;
1739
+ };
1740
+ /** @internal */
1741
+ export declare const ParametersT$outboundSchema: z.ZodType<ParametersT$Outbound, z.ZodTypeDef, ParametersT>;
1742
+ /**
1743
+ * @internal
1744
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1745
+ */
1746
+ export declare namespace ParametersT$ {
1747
+ /** @deprecated use `ParametersT$inboundSchema` instead. */
1748
+ const inboundSchema: z.ZodType<ParametersT, z.ZodTypeDef, unknown>;
1749
+ /** @deprecated use `ParametersT$outboundSchema` instead. */
1750
+ const outboundSchema: z.ZodType<ParametersT$Outbound, z.ZodTypeDef, ParametersT>;
1751
+ /** @deprecated use `ParametersT$Outbound` instead. */
1752
+ type Outbound = ParametersT$Outbound;
1753
+ }
1754
+ export declare function parametersTToJSON(parametersT: ParametersT): string;
1755
+ export declare function parametersTFromJSON(jsonString: string): SafeParseResult<ParametersT, SDKValidationError>;
1756
+ /** @internal */
1757
+ export declare const DeploymentGetConfigDeploymentsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigDeploymentsResponse200Type>;
1758
+ /** @internal */
1759
+ export declare const DeploymentGetConfigDeploymentsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof DeploymentGetConfigDeploymentsResponse200Type>;
1760
+ /**
1761
+ * @internal
1762
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1763
+ */
1764
+ export declare namespace DeploymentGetConfigDeploymentsResponse200Type$ {
1765
+ /** @deprecated use `DeploymentGetConfigDeploymentsResponse200Type$inboundSchema` instead. */
1766
+ const inboundSchema: z.ZodNativeEnum<{
1767
+ readonly Function: "function";
1768
+ }>;
1769
+ /** @deprecated use `DeploymentGetConfigDeploymentsResponse200Type$outboundSchema` instead. */
1770
+ const outboundSchema: z.ZodNativeEnum<{
1771
+ readonly Function: "function";
1772
+ }>;
1773
+ }
1774
+ /** @internal */
1775
+ export declare const DeploymentGetConfigDeploymentsFunction$inboundSchema: z.ZodType<DeploymentGetConfigDeploymentsFunction, z.ZodTypeDef, unknown>;
1776
+ /** @internal */
1777
+ export type DeploymentGetConfigDeploymentsFunction$Outbound = {
1778
+ name: string;
1779
+ description?: string | undefined;
1780
+ parameters?: {
1781
+ [k: string]: any;
1782
+ } | undefined;
1783
+ };
1784
+ /** @internal */
1785
+ export declare const DeploymentGetConfigDeploymentsFunction$outboundSchema: z.ZodType<DeploymentGetConfigDeploymentsFunction$Outbound, z.ZodTypeDef, DeploymentGetConfigDeploymentsFunction>;
1786
+ /**
1787
+ * @internal
1788
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1789
+ */
1790
+ export declare namespace DeploymentGetConfigDeploymentsFunction$ {
1791
+ /** @deprecated use `DeploymentGetConfigDeploymentsFunction$inboundSchema` instead. */
1792
+ const inboundSchema: z.ZodType<DeploymentGetConfigDeploymentsFunction, z.ZodTypeDef, unknown>;
1793
+ /** @deprecated use `DeploymentGetConfigDeploymentsFunction$outboundSchema` instead. */
1794
+ const outboundSchema: z.ZodType<DeploymentGetConfigDeploymentsFunction$Outbound, z.ZodTypeDef, DeploymentGetConfigDeploymentsFunction>;
1795
+ /** @deprecated use `DeploymentGetConfigDeploymentsFunction$Outbound` instead. */
1796
+ type Outbound = DeploymentGetConfigDeploymentsFunction$Outbound;
1797
+ }
1798
+ export declare function deploymentGetConfigDeploymentsFunctionToJSON(deploymentGetConfigDeploymentsFunction: DeploymentGetConfigDeploymentsFunction): string;
1799
+ export declare function deploymentGetConfigDeploymentsFunctionFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigDeploymentsFunction, SDKValidationError>;
1800
+ /** @internal */
1801
+ export declare const Tools$inboundSchema: z.ZodType<Tools, z.ZodTypeDef, unknown>;
1802
+ /** @internal */
1803
+ export type Tools$Outbound = {
1804
+ type: string;
1805
+ function: DeploymentGetConfigDeploymentsFunction$Outbound;
1806
+ };
1807
+ /** @internal */
1808
+ export declare const Tools$outboundSchema: z.ZodType<Tools$Outbound, z.ZodTypeDef, Tools>;
1809
+ /**
1810
+ * @internal
1811
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1812
+ */
1813
+ export declare namespace Tools$ {
1814
+ /** @deprecated use `Tools$inboundSchema` instead. */
1815
+ const inboundSchema: z.ZodType<Tools, z.ZodTypeDef, unknown>;
1816
+ /** @deprecated use `Tools$outboundSchema` instead. */
1817
+ const outboundSchema: z.ZodType<Tools$Outbound, z.ZodTypeDef, Tools>;
1818
+ /** @deprecated use `Tools$Outbound` instead. */
1819
+ type Outbound = Tools$Outbound;
1820
+ }
1821
+ export declare function toolsToJSON(tools: Tools): string;
1822
+ export declare function toolsFromJSON(jsonString: string): SafeParseResult<Tools, SDKValidationError>;
1823
+ /** @internal */
1824
+ export declare const DeploymentGetConfigResponseBody$inboundSchema: z.ZodType<DeploymentGetConfigResponseBody, z.ZodTypeDef, unknown>;
1825
+ /** @internal */
1826
+ export type DeploymentGetConfigResponseBody$Outbound = {
1827
+ id: string;
1828
+ provider: string;
1829
+ model: string;
1830
+ type?: string | undefined;
1831
+ version: string;
1832
+ messages: Array<DeploymentGetConfigMessages$Outbound>;
1833
+ parameters: ParametersT$Outbound;
1834
+ tools?: Array<Tools$Outbound> | undefined;
1835
+ };
1836
+ /** @internal */
1837
+ export declare const DeploymentGetConfigResponseBody$outboundSchema: z.ZodType<DeploymentGetConfigResponseBody$Outbound, z.ZodTypeDef, DeploymentGetConfigResponseBody>;
1838
+ /**
1839
+ * @internal
1840
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1841
+ */
1842
+ export declare namespace DeploymentGetConfigResponseBody$ {
1843
+ /** @deprecated use `DeploymentGetConfigResponseBody$inboundSchema` instead. */
1844
+ const inboundSchema: z.ZodType<DeploymentGetConfigResponseBody, z.ZodTypeDef, unknown>;
1845
+ /** @deprecated use `DeploymentGetConfigResponseBody$outboundSchema` instead. */
1846
+ const outboundSchema: z.ZodType<DeploymentGetConfigResponseBody$Outbound, z.ZodTypeDef, DeploymentGetConfigResponseBody>;
1847
+ /** @deprecated use `DeploymentGetConfigResponseBody$Outbound` instead. */
1848
+ type Outbound = DeploymentGetConfigResponseBody$Outbound;
1849
+ }
1850
+ export declare function deploymentGetConfigResponseBodyToJSON(deploymentGetConfigResponseBody: DeploymentGetConfigResponseBody): string;
1851
+ export declare function deploymentGetConfigResponseBodyFromJSON(jsonString: string): SafeParseResult<DeploymentGetConfigResponseBody, SDKValidationError>;
1852
+ //# sourceMappingURL=deploymentgetconfig.d.ts.map