@orq-ai/node 4.10.1 → 4.11.0-rc.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 (748) hide show
  1. package/jsr.json +1 -1
  2. package/lib/config.d.ts +2 -2
  3. package/lib/config.js +2 -2
  4. package/lib/config.js.map +1 -1
  5. package/models/components/reasoningpart.js +1 -1
  6. package/models/operations/createdataset.js +1 -1
  7. package/models/operations/createdatasetitem.js +4 -4
  8. package/models/operations/createdatasource.js +1 -1
  9. package/models/operations/createeval.js +16 -16
  10. package/models/operations/createprompt.d.ts +1 -0
  11. package/models/operations/createprompt.d.ts.map +1 -1
  12. package/models/operations/createprompt.js +1 -0
  13. package/models/operations/createprompt.js.map +1 -1
  14. package/models/operations/createtool.js +6 -6
  15. package/models/operations/deploymentinvoke.d.ts +1 -0
  16. package/models/operations/deploymentinvoke.d.ts.map +1 -1
  17. package/models/operations/deploymentinvoke.js +1 -0
  18. package/models/operations/deploymentinvoke.js.map +1 -1
  19. package/models/operations/deployments.d.ts +1 -0
  20. package/models/operations/deployments.d.ts.map +1 -1
  21. package/models/operations/deployments.js +1 -0
  22. package/models/operations/deployments.js.map +1 -1
  23. package/models/operations/deploymentstream.d.ts +1 -0
  24. package/models/operations/deploymentstream.d.ts.map +1 -1
  25. package/models/operations/deploymentstream.js +1 -0
  26. package/models/operations/deploymentstream.js.map +1 -1
  27. package/models/operations/getallprompts.d.ts +1 -0
  28. package/models/operations/getallprompts.d.ts.map +1 -1
  29. package/models/operations/getallprompts.js +1 -0
  30. package/models/operations/getallprompts.js.map +1 -1
  31. package/models/operations/getalltools.js +6 -6
  32. package/models/operations/getevals.js +16 -16
  33. package/models/operations/getoneprompt.d.ts +1 -0
  34. package/models/operations/getoneprompt.d.ts.map +1 -1
  35. package/models/operations/getoneprompt.js +1 -0
  36. package/models/operations/getoneprompt.js.map +1 -1
  37. package/models/operations/getpromptversion.d.ts +1 -0
  38. package/models/operations/getpromptversion.d.ts.map +1 -1
  39. package/models/operations/getpromptversion.js +1 -0
  40. package/models/operations/getpromptversion.js.map +1 -1
  41. package/models/operations/getv2humanevalsets.js +2 -2
  42. package/models/operations/getv2humanevalsetsid.js +2 -2
  43. package/models/operations/listdatasetdatapoints.js +4 -4
  44. package/models/operations/listdatasets.js +1 -1
  45. package/models/operations/listdatasources.js +1 -1
  46. package/models/operations/listpromptversions.d.ts +1 -0
  47. package/models/operations/listpromptversions.d.ts.map +1 -1
  48. package/models/operations/listpromptversions.js +1 -0
  49. package/models/operations/listpromptversions.js.map +1 -1
  50. package/models/operations/patchv2humanevalsetsid.js +2 -2
  51. package/models/operations/postv2feedbackevaluation.js +3 -3
  52. package/models/operations/postv2humanevalsets.js +2 -2
  53. package/models/operations/retrievedatapoint.js +4 -4
  54. package/models/operations/retrievedataset.js +1 -1
  55. package/models/operations/retrievedatasource.js +1 -1
  56. package/models/operations/retrievetool.js +6 -6
  57. package/models/operations/runagent.js +1 -1
  58. package/models/operations/streamrunagent.js +1 -1
  59. package/models/operations/updatedatapoint.js +4 -4
  60. package/models/operations/updatedataset.js +1 -1
  61. package/models/operations/updatedatasource.js +1 -1
  62. package/models/operations/updateeval.js +16 -16
  63. package/models/operations/updateprompt.d.ts +1 -0
  64. package/models/operations/updateprompt.d.ts.map +1 -1
  65. package/models/operations/updateprompt.js +1 -0
  66. package/models/operations/updateprompt.js.map +1 -1
  67. package/models/operations/updatetool.js +7 -7
  68. package/package.json +5 -4
  69. package/src/lib/config.ts +2 -2
  70. package/src/models/components/reasoningpart.ts +1 -1
  71. package/src/models/operations/createdataset.ts +1 -1
  72. package/src/models/operations/createdatasetitem.ts +4 -4
  73. package/src/models/operations/createdatasource.ts +1 -1
  74. package/src/models/operations/createeval.ts +16 -16
  75. package/src/models/operations/createprompt.ts +1 -0
  76. package/src/models/operations/createtool.ts +6 -6
  77. package/src/models/operations/deploymentinvoke.ts +1 -0
  78. package/src/models/operations/deployments.ts +1 -0
  79. package/src/models/operations/deploymentstream.ts +1 -0
  80. package/src/models/operations/getallprompts.ts +1 -0
  81. package/src/models/operations/getalltools.ts +6 -6
  82. package/src/models/operations/getevals.ts +16 -16
  83. package/src/models/operations/getoneprompt.ts +1 -0
  84. package/src/models/operations/getpromptversion.ts +1 -0
  85. package/src/models/operations/getv2humanevalsets.ts +2 -2
  86. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  87. package/src/models/operations/listdatasetdatapoints.ts +4 -4
  88. package/src/models/operations/listdatasets.ts +1 -1
  89. package/src/models/operations/listdatasources.ts +1 -1
  90. package/src/models/operations/listpromptversions.ts +1 -0
  91. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  92. package/src/models/operations/postv2feedbackevaluation.ts +3 -3
  93. package/src/models/operations/postv2humanevalsets.ts +2 -2
  94. package/src/models/operations/retrievedatapoint.ts +4 -4
  95. package/src/models/operations/retrievedataset.ts +1 -1
  96. package/src/models/operations/retrievedatasource.ts +1 -1
  97. package/src/models/operations/retrievetool.ts +6 -6
  98. package/src/models/operations/runagent.ts +1 -1
  99. package/src/models/operations/streamrunagent.ts +1 -1
  100. package/src/models/operations/updatedatapoint.ts +4 -4
  101. package/src/models/operations/updatedataset.ts +1 -1
  102. package/src/models/operations/updatedatasource.ts +1 -1
  103. package/src/models/operations/updateeval.ts +16 -16
  104. package/src/models/operations/updateprompt.ts +1 -0
  105. package/src/models/operations/updatetool.ts +7 -7
  106. package/packages/orq-rc/examples/postV2FeedbackEvaluationRemove.example.ts +0 -24
  107. package/packages/orq-rc/src/core.ts +0 -13
  108. package/packages/orq-rc/src/funcs/agentsCreate.ts +0 -163
  109. package/packages/orq-rc/src/funcs/agentsDelete.ts +0 -181
  110. package/packages/orq-rc/src/funcs/agentsInvoke.ts +0 -178
  111. package/packages/orq-rc/src/funcs/agentsList.ts +0 -186
  112. package/packages/orq-rc/src/funcs/agentsPostV2AgentsKeyCardRefresh.ts +0 -188
  113. package/packages/orq-rc/src/funcs/agentsResponsesCreate.ts +0 -184
  114. package/packages/orq-rc/src/funcs/agentsResponsesGet.ts +0 -183
  115. package/packages/orq-rc/src/funcs/agentsRetrieve.ts +0 -181
  116. package/packages/orq-rc/src/funcs/agentsRun.ts +0 -164
  117. package/packages/orq-rc/src/funcs/agentsStream.ts +0 -205
  118. package/packages/orq-rc/src/funcs/agentsStreamRun.ts +0 -191
  119. package/packages/orq-rc/src/funcs/agentsUpdate.ts +0 -185
  120. package/packages/orq-rc/src/funcs/annotationsCreate.ts +0 -175
  121. package/packages/orq-rc/src/funcs/annotationsDelete.ts +0 -175
  122. package/packages/orq-rc/src/funcs/apiKeysCreate.ts +0 -162
  123. package/packages/orq-rc/src/funcs/apiKeysDelete.ts +0 -168
  124. package/packages/orq-rc/src/funcs/apiKeysGet.ts +0 -168
  125. package/packages/orq-rc/src/funcs/apiKeysList.ts +0 -175
  126. package/packages/orq-rc/src/funcs/apiKeysListCapabilities.ts +0 -144
  127. package/packages/orq-rc/src/funcs/apiKeysUpdate.ts +0 -171
  128. package/packages/orq-rc/src/funcs/chunkingParse.ts +0 -162
  129. package/packages/orq-rc/src/funcs/datasetsClear.ts +0 -168
  130. package/packages/orq-rc/src/funcs/datasetsCreate.ts +0 -167
  131. package/packages/orq-rc/src/funcs/datasetsCreateDatapoint.ts +0 -172
  132. package/packages/orq-rc/src/funcs/datasetsDelete.ts +0 -168
  133. package/packages/orq-rc/src/funcs/datasetsDeleteDatapoint.ts +0 -183
  134. package/packages/orq-rc/src/funcs/datasetsList.ts +0 -169
  135. package/packages/orq-rc/src/funcs/datasetsListDatapoints.ts +0 -175
  136. package/packages/orq-rc/src/funcs/datasetsRetrieve.ts +0 -176
  137. package/packages/orq-rc/src/funcs/datasetsRetrieveDatapoint.ts +0 -182
  138. package/packages/orq-rc/src/funcs/datasetsUpdate.ts +0 -177
  139. package/packages/orq-rc/src/funcs/datasetsUpdateDatapoint.ts +0 -180
  140. package/packages/orq-rc/src/funcs/deploymentsGetConfig.ts +0 -170
  141. package/packages/orq-rc/src/funcs/deploymentsInvoke.ts +0 -170
  142. package/packages/orq-rc/src/funcs/deploymentsList.ts +0 -178
  143. package/packages/orq-rc/src/funcs/deploymentsStream.ts +0 -180
  144. package/packages/orq-rc/src/funcs/evalsAll.ts +0 -177
  145. package/packages/orq-rc/src/funcs/evalsCreate.ts +0 -171
  146. package/packages/orq-rc/src/funcs/evalsDelete.ts +0 -174
  147. package/packages/orq-rc/src/funcs/evalsGetV2EvaluatorsIdVersions.ts +0 -184
  148. package/packages/orq-rc/src/funcs/evalsInvoke.ts +0 -182
  149. package/packages/orq-rc/src/funcs/evalsUpdate.ts +0 -174
  150. package/packages/orq-rc/src/funcs/feedbackPostV2Feedback.ts +0 -174
  151. package/packages/orq-rc/src/funcs/feedbackPostV2FeedbackRemove.ts +0 -169
  152. package/packages/orq-rc/src/funcs/filesCreate.ts +0 -162
  153. package/packages/orq-rc/src/funcs/filesDelete.ts +0 -165
  154. package/packages/orq-rc/src/funcs/filesGet.ts +0 -168
  155. package/packages/orq-rc/src/funcs/filesGetContent.ts +0 -168
  156. package/packages/orq-rc/src/funcs/filesList.ts +0 -171
  157. package/packages/orq-rc/src/funcs/filesUpdate.ts +0 -169
  158. package/packages/orq-rc/src/funcs/guardrailRulesCreate.ts +0 -163
  159. package/packages/orq-rc/src/funcs/guardrailRulesDelete.ts +0 -172
  160. package/packages/orq-rc/src/funcs/guardrailRulesList.ts +0 -172
  161. package/packages/orq-rc/src/funcs/guardrailRulesRetrieve.ts +0 -170
  162. package/packages/orq-rc/src/funcs/guardrailRulesUpdate.ts +0 -172
  163. package/packages/orq-rc/src/funcs/humanReviewSetsDeleteV2HumanEvalSetsId.ts +0 -166
  164. package/packages/orq-rc/src/funcs/humanReviewSetsGetV2HumanEvalSets.ts +0 -170
  165. package/packages/orq-rc/src/funcs/humanReviewSetsGetV2HumanEvalSetsId.ts +0 -165
  166. package/packages/orq-rc/src/funcs/humanReviewSetsPatchV2HumanEvalSetsId.ts +0 -166
  167. package/packages/orq-rc/src/funcs/humanReviewSetsPostV2HumanEvalSets.ts +0 -164
  168. package/packages/orq-rc/src/funcs/identitiesCreate.ts +0 -162
  169. package/packages/orq-rc/src/funcs/identitiesDelete.ts +0 -168
  170. package/packages/orq-rc/src/funcs/identitiesList.ts +0 -174
  171. package/packages/orq-rc/src/funcs/identitiesRetrieve.ts +0 -173
  172. package/packages/orq-rc/src/funcs/identitiesUpdate.ts +0 -171
  173. package/packages/orq-rc/src/funcs/knowledgeCreate.ts +0 -160
  174. package/packages/orq-rc/src/funcs/knowledgeCreateChunks.ts +0 -172
  175. package/packages/orq-rc/src/funcs/knowledgeCreateDatasource.ts +0 -167
  176. package/packages/orq-rc/src/funcs/knowledgeDelete.ts +0 -168
  177. package/packages/orq-rc/src/funcs/knowledgeDeleteChunk.ts +0 -175
  178. package/packages/orq-rc/src/funcs/knowledgeDeleteChunks.ts +0 -171
  179. package/packages/orq-rc/src/funcs/knowledgeDeleteDatasource.ts +0 -174
  180. package/packages/orq-rc/src/funcs/knowledgeGetChunksCount.ts +0 -174
  181. package/packages/orq-rc/src/funcs/knowledgeList.ts +0 -171
  182. package/packages/orq-rc/src/funcs/knowledgeListChunks.ts +0 -179
  183. package/packages/orq-rc/src/funcs/knowledgeListChunksPaginated.ts +0 -172
  184. package/packages/orq-rc/src/funcs/knowledgeListDatasources.ts +0 -175
  185. package/packages/orq-rc/src/funcs/knowledgeRetrieve.ts +0 -167
  186. package/packages/orq-rc/src/funcs/knowledgeRetrieveChunk.ts +0 -174
  187. package/packages/orq-rc/src/funcs/knowledgeRetrieveDatasource.ts +0 -170
  188. package/packages/orq-rc/src/funcs/knowledgeSearch.ts +0 -168
  189. package/packages/orq-rc/src/funcs/knowledgeUpdate.ts +0 -165
  190. package/packages/orq-rc/src/funcs/knowledgeUpdateChunk.ts +0 -175
  191. package/packages/orq-rc/src/funcs/knowledgeUpdateDatasource.ts +0 -171
  192. package/packages/orq-rc/src/funcs/memoryStoresCreate.ts +0 -164
  193. package/packages/orq-rc/src/funcs/memoryStoresCreateDocument.ts +0 -177
  194. package/packages/orq-rc/src/funcs/memoryStoresCreateMemory.ts +0 -171
  195. package/packages/orq-rc/src/funcs/memoryStoresDelete.ts +0 -169
  196. package/packages/orq-rc/src/funcs/memoryStoresDeleteDocument.ts +0 -186
  197. package/packages/orq-rc/src/funcs/memoryStoresDeleteMemory.ts +0 -181
  198. package/packages/orq-rc/src/funcs/memoryStoresList.ts +0 -180
  199. package/packages/orq-rc/src/funcs/memoryStoresListDocuments.ts +0 -185
  200. package/packages/orq-rc/src/funcs/memoryStoresListMemories.ts +0 -178
  201. package/packages/orq-rc/src/funcs/memoryStoresRetrieve.ts +0 -178
  202. package/packages/orq-rc/src/funcs/memoryStoresRetrieveDocument.ts +0 -180
  203. package/packages/orq-rc/src/funcs/memoryStoresRetrieveMemory.ts +0 -175
  204. package/packages/orq-rc/src/funcs/memoryStoresUpdate.ts +0 -169
  205. package/packages/orq-rc/src/funcs/memoryStoresUpdateDocument.ts +0 -181
  206. package/packages/orq-rc/src/funcs/memoryStoresUpdateMemory.ts +0 -176
  207. package/packages/orq-rc/src/funcs/modelsAzureFoundryDeployments.ts +0 -168
  208. package/packages/orq-rc/src/funcs/modelsCreate.ts +0 -162
  209. package/packages/orq-rc/src/funcs/modelsCreateAutorouter.ts +0 -163
  210. package/packages/orq-rc/src/funcs/modelsCreateAwsBedrock.ts +0 -163
  211. package/packages/orq-rc/src/funcs/modelsCreateOpenaiLike.ts +0 -163
  212. package/packages/orq-rc/src/funcs/modelsCreateVertex.ts +0 -163
  213. package/packages/orq-rc/src/funcs/modelsDelete.ts +0 -168
  214. package/packages/orq-rc/src/funcs/modelsDisable.ts +0 -168
  215. package/packages/orq-rc/src/funcs/modelsEnable.ts +0 -163
  216. package/packages/orq-rc/src/funcs/modelsImportLitellm.ts +0 -166
  217. package/packages/orq-rc/src/funcs/modelsList.ts +0 -144
  218. package/packages/orq-rc/src/funcs/modelsListLitellm.ts +0 -144
  219. package/packages/orq-rc/src/funcs/modelsUpdate.ts +0 -168
  220. package/packages/orq-rc/src/funcs/modelsUpdateAutorouter.ts +0 -169
  221. package/packages/orq-rc/src/funcs/modelsUpdateAwsBedrock.ts +0 -169
  222. package/packages/orq-rc/src/funcs/modelsUpdateOpenaiLike.ts +0 -169
  223. package/packages/orq-rc/src/funcs/modelsValidate.ts +0 -163
  224. package/packages/orq-rc/src/funcs/modelsValidateAwsBedrock.ts +0 -164
  225. package/packages/orq-rc/src/funcs/piiDetect.ts +0 -162
  226. package/packages/orq-rc/src/funcs/piiRedact.ts +0 -162
  227. package/packages/orq-rc/src/funcs/piiRestore.ts +0 -162
  228. package/packages/orq-rc/src/funcs/policiesCreate.ts +0 -162
  229. package/packages/orq-rc/src/funcs/policiesDelete.ts +0 -168
  230. package/packages/orq-rc/src/funcs/policiesList.ts +0 -170
  231. package/packages/orq-rc/src/funcs/policiesRetrieve.ts +0 -167
  232. package/packages/orq-rc/src/funcs/policiesUpdate.ts +0 -168
  233. package/packages/orq-rc/src/funcs/postV2FeedbackEvaluation.ts +0 -161
  234. package/packages/orq-rc/src/funcs/postV2FeedbackEvaluationRemove.ts +0 -161
  235. package/packages/orq-rc/src/funcs/projectsCreate.ts +0 -162
  236. package/packages/orq-rc/src/funcs/projectsDelete.ts +0 -168
  237. package/packages/orq-rc/src/funcs/projectsGet.ts +0 -168
  238. package/packages/orq-rc/src/funcs/projectsList.ts +0 -170
  239. package/packages/orq-rc/src/funcs/projectsUpdate.ts +0 -171
  240. package/packages/orq-rc/src/funcs/promptsCreate.ts +0 -162
  241. package/packages/orq-rc/src/funcs/promptsDelete.ts +0 -174
  242. package/packages/orq-rc/src/funcs/promptsGetVersion.ts +0 -182
  243. package/packages/orq-rc/src/funcs/promptsList.ts +0 -169
  244. package/packages/orq-rc/src/funcs/promptsListVersions.ts +0 -174
  245. package/packages/orq-rc/src/funcs/promptsRetrieve.ts +0 -167
  246. package/packages/orq-rc/src/funcs/promptsUpdate.ts +0 -174
  247. package/packages/orq-rc/src/funcs/reportingQuery.ts +0 -162
  248. package/packages/orq-rc/src/funcs/responsesCreate.ts +0 -170
  249. package/packages/orq-rc/src/funcs/responsesGet.ts +0 -167
  250. package/packages/orq-rc/src/funcs/routerAudioSpeechCreate.ts +0 -163
  251. package/packages/orq-rc/src/funcs/routerAudioTranscriptionsCreate.ts +0 -272
  252. package/packages/orq-rc/src/funcs/routerAudioTranslationsCreate.ts +0 -262
  253. package/packages/orq-rc/src/funcs/routerChatCompletionsCreate.ts +0 -170
  254. package/packages/orq-rc/src/funcs/routerCompletionsCreate.ts +0 -170
  255. package/packages/orq-rc/src/funcs/routerEmbeddingsCreate.ts +0 -163
  256. package/packages/orq-rc/src/funcs/routerImagesEditsCreate.ts +0 -224
  257. package/packages/orq-rc/src/funcs/routerImagesGenerationsCreate.ts +0 -162
  258. package/packages/orq-rc/src/funcs/routerImagesVariationsCreate.ts +0 -220
  259. package/packages/orq-rc/src/funcs/routerModerationsCreate.ts +0 -169
  260. package/packages/orq-rc/src/funcs/routerOcr.ts +0 -160
  261. package/packages/orq-rc/src/funcs/routerRerankCreate.ts +0 -162
  262. package/packages/orq-rc/src/funcs/routingRulesCreate.ts +0 -163
  263. package/packages/orq-rc/src/funcs/routingRulesDelete.ts +0 -168
  264. package/packages/orq-rc/src/funcs/routingRulesList.ts +0 -170
  265. package/packages/orq-rc/src/funcs/routingRulesRetrieve.ts +0 -167
  266. package/packages/orq-rc/src/funcs/routingRulesUpdate.ts +0 -168
  267. package/packages/orq-rc/src/funcs/schedulesCreate.ts +0 -185
  268. package/packages/orq-rc/src/funcs/schedulesDelete.ts +0 -184
  269. package/packages/orq-rc/src/funcs/schedulesList.ts +0 -167
  270. package/packages/orq-rc/src/funcs/schedulesRetrieve.ts +0 -183
  271. package/packages/orq-rc/src/funcs/schedulesTrigger.ts +0 -190
  272. package/packages/orq-rc/src/funcs/schedulesUpdate.ts +0 -191
  273. package/packages/orq-rc/src/funcs/skillsCreate.ts +0 -162
  274. package/packages/orq-rc/src/funcs/skillsDelete.ts +0 -168
  275. package/packages/orq-rc/src/funcs/skillsGet.ts +0 -168
  276. package/packages/orq-rc/src/funcs/skillsList.ts +0 -170
  277. package/packages/orq-rc/src/funcs/skillsUpdate.ts +0 -171
  278. package/packages/orq-rc/src/funcs/toolsCreate.ts +0 -165
  279. package/packages/orq-rc/src/funcs/toolsDelete.ts +0 -168
  280. package/packages/orq-rc/src/funcs/toolsGetV2ToolsToolIdVersions.ts +0 -184
  281. package/packages/orq-rc/src/funcs/toolsGetV2ToolsToolIdVersionsVersionId.ts +0 -191
  282. package/packages/orq-rc/src/funcs/toolsList.ts +0 -178
  283. package/packages/orq-rc/src/funcs/toolsRetrieve.ts +0 -167
  284. package/packages/orq-rc/src/funcs/toolsUpdate.ts +0 -177
  285. package/packages/orq-rc/src/hooks/global.ts +0 -44
  286. package/packages/orq-rc/src/hooks/hooks.ts +0 -132
  287. package/packages/orq-rc/src/hooks/index.ts +0 -6
  288. package/packages/orq-rc/src/hooks/registration.ts +0 -15
  289. package/packages/orq-rc/src/hooks/types.ts +0 -112
  290. package/packages/orq-rc/src/index.ts +0 -9
  291. package/packages/orq-rc/src/lib/base64.ts +0 -37
  292. package/packages/orq-rc/src/lib/config.ts +0 -64
  293. package/packages/orq-rc/src/lib/dlv.ts +0 -53
  294. package/packages/orq-rc/src/lib/encodings.ts +0 -525
  295. package/packages/orq-rc/src/lib/env.ts +0 -57
  296. package/packages/orq-rc/src/lib/event-streams.ts +0 -165
  297. package/packages/orq-rc/src/lib/files.ts +0 -104
  298. package/packages/orq-rc/src/lib/http.ts +0 -323
  299. package/packages/orq-rc/src/lib/is-plain-object.ts +0 -43
  300. package/packages/orq-rc/src/lib/logger.ts +0 -9
  301. package/packages/orq-rc/src/lib/matchers.ts +0 -346
  302. package/packages/orq-rc/src/lib/primitives.ts +0 -150
  303. package/packages/orq-rc/src/lib/retries.ts +0 -218
  304. package/packages/orq-rc/src/lib/schemas.ts +0 -91
  305. package/packages/orq-rc/src/lib/sdks.ts +0 -406
  306. package/packages/orq-rc/src/lib/security.ts +0 -275
  307. package/packages/orq-rc/src/lib/url.ts +0 -35
  308. package/packages/orq-rc/src/models/components/actionreviewedstreamingevent.ts +0 -99
  309. package/packages/orq-rc/src/models/components/actionreviewrequestedstreamingevent.ts +0 -185
  310. package/packages/orq-rc/src/models/components/agenterroredstreamingevent.ts +0 -73
  311. package/packages/orq-rc/src/models/components/agentexecutionstartedstreamingevent.ts +0 -91
  312. package/packages/orq-rc/src/models/components/agenthandedoffstreamingevent.ts +0 -71
  313. package/packages/orq-rc/src/models/components/agentinactivestreamingevent.ts +0 -507
  314. package/packages/orq-rc/src/models/components/agentmessagecreatedstreamingevent.ts +0 -165
  315. package/packages/orq-rc/src/models/components/agentresponsemessage.ts +0 -103
  316. package/packages/orq-rc/src/models/components/agentstartedstreamingevent.ts +0 -520
  317. package/packages/orq-rc/src/models/components/agentthoughtstreamingevent.ts +0 -795
  318. package/packages/orq-rc/src/models/components/allprojects.ts +0 -39
  319. package/packages/orq-rc/src/models/components/apikey.ts +0 -169
  320. package/packages/orq-rc/src/models/components/apikeyowner.ts +0 -82
  321. package/packages/orq-rc/src/models/components/apikeystatus.ts +0 -21
  322. package/packages/orq-rc/src/models/components/audiocontentpartschema.ts +0 -136
  323. package/packages/orq-rc/src/models/components/autorouterconfig.ts +0 -78
  324. package/packages/orq-rc/src/models/components/azurefoundrydeployment.ts +0 -44
  325. package/packages/orq-rc/src/models/components/azurefoundrydeploymentmasterdata.ts +0 -60
  326. package/packages/orq-rc/src/models/components/budgetlimit.ts +0 -83
  327. package/packages/orq-rc/src/models/components/conversationparam.ts +0 -51
  328. package/packages/orq-rc/src/models/components/createagentresponse.ts +0 -305
  329. package/packages/orq-rc/src/models/components/createapikeyrequest.ts +0 -91
  330. package/packages/orq-rc/src/models/components/createapikeyresponse.ts +0 -49
  331. package/packages/orq-rc/src/models/components/createfilerequest.ts +0 -53
  332. package/packages/orq-rc/src/models/components/createfileresponse.ts +0 -32
  333. package/packages/orq-rc/src/models/components/createidentityrequest.ts +0 -76
  334. package/packages/orq-rc/src/models/components/createidentityresponse.ts +0 -32
  335. package/packages/orq-rc/src/models/components/createmodelparameter.ts +0 -54
  336. package/packages/orq-rc/src/models/components/createprojectrequest.ts +0 -46
  337. package/packages/orq-rc/src/models/components/createprojectresponse.ts +0 -35
  338. package/packages/orq-rc/src/models/components/createskillrequest.ts +0 -70
  339. package/packages/orq-rc/src/models/components/createskillresponse.ts +0 -35
  340. package/packages/orq-rc/src/models/components/datapart.ts +0 -38
  341. package/packages/orq-rc/src/models/components/datapoint.ts +0 -60
  342. package/packages/orq-rc/src/models/components/deleteapikeyresponse.ts +0 -27
  343. package/packages/orq-rc/src/models/components/deletefileresponse.ts +0 -27
  344. package/packages/orq-rc/src/models/components/deleteidentityresponse.ts +0 -27
  345. package/packages/orq-rc/src/models/components/deleteprojectresponse.ts +0 -27
  346. package/packages/orq-rc/src/models/components/deleteskillresponse.ts +0 -27
  347. package/packages/orq-rc/src/models/components/detectrequest.ts +0 -56
  348. package/packages/orq-rc/src/models/components/detectresponse.ts +0 -41
  349. package/packages/orq-rc/src/models/components/domain.ts +0 -75
  350. package/packages/orq-rc/src/models/components/embeddingcacheconfig.ts +0 -59
  351. package/packages/orq-rc/src/models/components/embeddingcontactparams.ts +0 -48
  352. package/packages/orq-rc/src/models/components/embeddingloadbalancerconfig.ts +0 -66
  353. package/packages/orq-rc/src/models/components/embeddingloadbalancermodelconfig.ts +0 -42
  354. package/packages/orq-rc/src/models/components/embeddingorqparams.ts +0 -101
  355. package/packages/orq-rc/src/models/components/embeddingretryconfig.ts +0 -45
  356. package/packages/orq-rc/src/models/components/embeddingtimeoutconfig.ts +0 -39
  357. package/packages/orq-rc/src/models/components/errorpart.ts +0 -58
  358. package/packages/orq-rc/src/models/components/errorstreamingevent.ts +0 -66
  359. package/packages/orq-rc/src/models/components/evaluatorref.ts +0 -93
  360. package/packages/orq-rc/src/models/components/executionnamedstreamingevent.ts +0 -71
  361. package/packages/orq-rc/src/models/components/executionreviewedstreamingevent.ts +0 -61
  362. package/packages/orq-rc/src/models/components/executionreviewrequiredstreamingevent.ts +0 -67
  363. package/packages/orq-rc/src/models/components/expression.ts +0 -33
  364. package/packages/orq-rc/src/models/components/expressioninput.ts +0 -29
  365. package/packages/orq-rc/src/models/components/extendedmessage.ts +0 -146
  366. package/packages/orq-rc/src/models/components/fallbackconfig.ts +0 -27
  367. package/packages/orq-rc/src/models/components/file.ts +0 -52
  368. package/packages/orq-rc/src/models/components/filecontentpartschema.ts +0 -87
  369. package/packages/orq-rc/src/models/components/filepart.ts +0 -223
  370. package/packages/orq-rc/src/models/components/filepurpose.ts +0 -21
  371. package/packages/orq-rc/src/models/components/filter.ts +0 -137
  372. package/packages/orq-rc/src/models/components/getagentresponse.ts +0 -348
  373. package/packages/orq-rc/src/models/components/getapikeyresponse.ts +0 -40
  374. package/packages/orq-rc/src/models/components/getfilecontentresponse.ts +0 -36
  375. package/packages/orq-rc/src/models/components/getfileresponse.ts +0 -32
  376. package/packages/orq-rc/src/models/components/getprojectresponse.ts +0 -35
  377. package/packages/orq-rc/src/models/components/getskillresponse.ts +0 -35
  378. package/packages/orq-rc/src/models/components/guardrailref.ts +0 -91
  379. package/packages/orq-rc/src/models/components/guardrailrule.ts +0 -66
  380. package/packages/orq-rc/src/models/components/identity.ts +0 -83
  381. package/packages/orq-rc/src/models/components/identitymetrics.ts +0 -45
  382. package/packages/orq-rc/src/models/components/identitysortfield.ts +0 -18
  383. package/packages/orq-rc/src/models/components/imagecontentpartschema.ts +0 -268
  384. package/packages/orq-rc/src/models/components/incompletedetails.ts +0 -31
  385. package/packages/orq-rc/src/models/components/index.ts +0 -190
  386. package/packages/orq-rc/src/models/components/inputtokensdetails.ts +0 -45
  387. package/packages/orq-rc/src/models/components/legacytokenfamily.ts +0 -19
  388. package/packages/orq-rc/src/models/components/limits.ts +0 -70
  389. package/packages/orq-rc/src/models/components/listapikeysresponse.ts +0 -56
  390. package/packages/orq-rc/src/models/components/listcapabilitiesresponse.ts +0 -38
  391. package/packages/orq-rc/src/models/components/listfilesresponse.ts +0 -41
  392. package/packages/orq-rc/src/models/components/listidentitiesresponse.ts +0 -41
  393. package/packages/orq-rc/src/models/components/listprojectsresponse.ts +0 -53
  394. package/packages/orq-rc/src/models/components/listskillsresponse.ts +0 -53
  395. package/packages/orq-rc/src/models/components/litellmmodel.ts +0 -50
  396. package/packages/orq-rc/src/models/components/litellmmodelinfo.ts +0 -97
  397. package/packages/orq-rc/src/models/components/litellmparams.ts +0 -43
  398. package/packages/orq-rc/src/models/components/memoryparam.ts +0 -56
  399. package/packages/orq-rc/src/models/components/modelconfigurationresponse.ts +0 -82
  400. package/packages/orq-rc/src/models/components/modeldocument.ts +0 -112
  401. package/packages/orq-rc/src/models/components/modelmetadata.ts +0 -720
  402. package/packages/orq-rc/src/models/components/modelparameterdocument.ts +0 -53
  403. package/packages/orq-rc/src/models/components/modelref.ts +0 -70
  404. package/packages/orq-rc/src/models/components/modelsconfig.ts +0 -73
  405. package/packages/orq-rc/src/models/components/outputtokensdetails.ts +0 -36
  406. package/packages/orq-rc/src/models/components/ownertype.ts +0 -17
  407. package/packages/orq-rc/src/models/components/partdelta.ts +0 -39
  408. package/packages/orq-rc/src/models/components/partdeltaevent.ts +0 -73
  409. package/packages/orq-rc/src/models/components/partdoneevent.ts +0 -70
  410. package/packages/orq-rc/src/models/components/permissionmode.ts +0 -23
  411. package/packages/orq-rc/src/models/components/policy.ts +0 -80
  412. package/packages/orq-rc/src/models/components/policyretryconfig.ts +0 -64
  413. package/packages/orq-rc/src/models/components/price.ts +0 -56
  414. package/packages/orq-rc/src/models/components/pricing.ts +0 -93
  415. package/packages/orq-rc/src/models/components/pricingvariant.ts +0 -90
  416. package/packages/orq-rc/src/models/components/project.ts +0 -108
  417. package/packages/orq-rc/src/models/components/projectscope.ts +0 -70
  418. package/packages/orq-rc/src/models/components/publiccontact.ts +0 -71
  419. package/packages/orq-rc/src/models/components/publicembeddingdata.ts +0 -60
  420. package/packages/orq-rc/src/models/components/publicembeddingusage.ts +0 -45
  421. package/packages/orq-rc/src/models/components/publicidentity.ts +0 -69
  422. package/packages/orq-rc/src/models/components/publicmodelentry.ts +0 -71
  423. package/packages/orq-rc/src/models/components/publicschedule.ts +0 -118
  424. package/packages/orq-rc/src/models/components/publicscheduleerrordetail.ts +0 -39
  425. package/packages/orq-rc/src/models/components/publicschedulepayload.ts +0 -84
  426. package/packages/orq-rc/src/models/components/publicusage.ts +0 -77
  427. package/packages/orq-rc/src/models/components/queryreportrequest.ts +0 -237
  428. package/packages/orq-rc/src/models/components/queryreportresponse.ts +0 -99
  429. package/packages/orq-rc/src/models/components/reasoning.ts +0 -33
  430. package/packages/orq-rc/src/models/components/reasoningparam.ts +0 -30
  431. package/packages/orq-rc/src/models/components/reasoningpart.ts +0 -62
  432. package/packages/orq-rc/src/models/components/reasoningpartschema.ts +0 -71
  433. package/packages/orq-rc/src/models/components/redactedreasoningpartschema.ts +0 -66
  434. package/packages/orq-rc/src/models/components/redactrequest.ts +0 -33
  435. package/packages/orq-rc/src/models/components/redactresponse.ts +0 -41
  436. package/packages/orq-rc/src/models/components/refusalpartschema.ts +0 -64
  437. package/packages/orq-rc/src/models/components/requestlimit.ts +0 -69
  438. package/packages/orq-rc/src/models/components/responsedoneevent.ts +0 -324
  439. package/packages/orq-rc/src/models/components/responseerror.ts +0 -33
  440. package/packages/orq-rc/src/models/components/responseexecutionlimits.ts +0 -52
  441. package/packages/orq-rc/src/models/components/responsefailedevent.ts +0 -72
  442. package/packages/orq-rc/src/models/components/responseidentity.ts +0 -48
  443. package/packages/orq-rc/src/models/components/responsemeta.ts +0 -103
  444. package/packages/orq-rc/src/models/components/responseretryconfig.ts +0 -45
  445. package/packages/orq-rc/src/models/components/responsestartedevent.ts +0 -97
  446. package/packages/orq-rc/src/models/components/responsestreamingevent.ts +0 -85
  447. package/packages/orq-rc/src/models/components/responsethread.ts +0 -30
  448. package/packages/orq-rc/src/models/components/restorerequest.ts +0 -38
  449. package/packages/orq-rc/src/models/components/restoreresponse.ts +0 -36
  450. package/packages/orq-rc/src/models/components/retrieveidentityresponse.ts +0 -32
  451. package/packages/orq-rc/src/models/components/reviewoutcome.ts +0 -23
  452. package/packages/orq-rc/src/models/components/routingrule.ts +0 -67
  453. package/packages/orq-rc/src/models/components/security.ts +0 -32
  454. package/packages/orq-rc/src/models/components/serviceaccountowner.ts +0 -43
  455. package/packages/orq-rc/src/models/components/singleproject.ts +0 -56
  456. package/packages/orq-rc/src/models/components/skill.ts +0 -109
  457. package/packages/orq-rc/src/models/components/streamoptions.ts +0 -32
  458. package/packages/orq-rc/src/models/components/telemetry.ts +0 -48
  459. package/packages/orq-rc/src/models/components/textcontentpartschema.ts +0 -207
  460. package/packages/orq-rc/src/models/components/textpart.ts +0 -54
  461. package/packages/orq-rc/src/models/components/thinkingconfigadaptiveschema.ts +0 -59
  462. package/packages/orq-rc/src/models/components/thinkingconfigdisabledschema.ts +0 -59
  463. package/packages/orq-rc/src/models/components/thinkingconfigenabledschema.ts +0 -107
  464. package/packages/orq-rc/src/models/components/timeoutstreamingevent.ts +0 -64
  465. package/packages/orq-rc/src/models/components/tokenlimit.ts +0 -69
  466. package/packages/orq-rc/src/models/components/toolcallpart.ts +0 -51
  467. package/packages/orq-rc/src/models/components/tooldoneevent.ts +0 -77
  468. package/packages/orq-rc/src/models/components/toolexecutionfailedstreamingevent.ts +0 -235
  469. package/packages/orq-rc/src/models/components/toolexecutionfinishedstreamingevent.ts +0 -219
  470. package/packages/orq-rc/src/models/components/toolexecutionstartedstreamingevent.ts +0 -205
  471. package/packages/orq-rc/src/models/components/toolfailedevent.ts +0 -77
  472. package/packages/orq-rc/src/models/components/toolresultpart.ts +0 -71
  473. package/packages/orq-rc/src/models/components/toolreviewdoneevent.ts +0 -78
  474. package/packages/orq-rc/src/models/components/toolreviewrequestedevent.ts +0 -87
  475. package/packages/orq-rc/src/models/components/toolstartedevent.ts +0 -82
  476. package/packages/orq-rc/src/models/components/totals.ts +0 -34
  477. package/packages/orq-rc/src/models/components/updateapikeyrequest.ts +0 -99
  478. package/packages/orq-rc/src/models/components/updateapikeyresponse.ts +0 -40
  479. package/packages/orq-rc/src/models/components/updatefilerequest.ts +0 -40
  480. package/packages/orq-rc/src/models/components/updatefileresponse.ts +0 -32
  481. package/packages/orq-rc/src/models/components/updateidentityrequest.ts +0 -75
  482. package/packages/orq-rc/src/models/components/updateidentityresponse.ts +0 -32
  483. package/packages/orq-rc/src/models/components/updatemodelparameter.ts +0 -61
  484. package/packages/orq-rc/src/models/components/updateprojectrequest.ts +0 -60
  485. package/packages/orq-rc/src/models/components/updateprojectresponse.ts +0 -35
  486. package/packages/orq-rc/src/models/components/updateskillrequest.ts +0 -82
  487. package/packages/orq-rc/src/models/components/updateskillresponse.ts +0 -35
  488. package/packages/orq-rc/src/models/components/userowner.ts +0 -56
  489. package/packages/orq-rc/src/models/components/vertexcapabilities.ts +0 -37
  490. package/packages/orq-rc/src/models/components/vertexconfiguration.ts +0 -45
  491. package/packages/orq-rc/src/models/components/vertexmodelconfiguration.ts +0 -53
  492. package/packages/orq-rc/src/models/components/vertexparameters.ts +0 -47
  493. package/packages/orq-rc/src/models/components/vertexparamrange.ts +0 -34
  494. package/packages/orq-rc/src/models/components/vertexparamrangeint.ts +0 -34
  495. package/packages/orq-rc/src/models/errors/apierror.ts +0 -40
  496. package/packages/orq-rc/src/models/errors/createagentschedule.ts +0 -105
  497. package/packages/orq-rc/src/models/errors/createeval.ts +0 -51
  498. package/packages/orq-rc/src/models/errors/createmoderation.ts +0 -84
  499. package/packages/orq-rc/src/models/errors/createtranscription.ts +0 -87
  500. package/packages/orq-rc/src/models/errors/createtranslation.ts +0 -87
  501. package/packages/orq-rc/src/models/errors/deleteagent.ts +0 -51
  502. package/packages/orq-rc/src/models/errors/deleteagentschedule.ts +0 -56
  503. package/packages/orq-rc/src/models/errors/deleteeval.ts +0 -51
  504. package/packages/orq-rc/src/models/errors/deleteprompt.ts +0 -51
  505. package/packages/orq-rc/src/models/errors/getevals.ts +0 -51
  506. package/packages/orq-rc/src/models/errors/getpromptversion.ts +0 -51
  507. package/packages/orq-rc/src/models/errors/getv2evaluatorsidversions.ts +0 -51
  508. package/packages/orq-rc/src/models/errors/getv2toolstoolidversions.ts +0 -51
  509. package/packages/orq-rc/src/models/errors/getv2toolstoolidversionsversionid.ts +0 -52
  510. package/packages/orq-rc/src/models/errors/honoapierror.ts +0 -59
  511. package/packages/orq-rc/src/models/errors/httpclienterrors.ts +0 -62
  512. package/packages/orq-rc/src/models/errors/index.ts +0 -38
  513. package/packages/orq-rc/src/models/errors/invokeeval.ts +0 -141
  514. package/packages/orq-rc/src/models/errors/orqerror.ts +0 -35
  515. package/packages/orq-rc/src/models/errors/postv2agentskeycardrefresh.ts +0 -97
  516. package/packages/orq-rc/src/models/errors/postv2feedback.ts +0 -96
  517. package/packages/orq-rc/src/models/errors/postv2feedbackremove.ts +0 -51
  518. package/packages/orq-rc/src/models/errors/responsevalidationerror.ts +0 -50
  519. package/packages/orq-rc/src/models/errors/retrieveagentrequest.ts +0 -51
  520. package/packages/orq-rc/src/models/errors/retrieveagentschedule.ts +0 -56
  521. package/packages/orq-rc/src/models/errors/sdkvalidationerror.ts +0 -109
  522. package/packages/orq-rc/src/models/errors/streamagent.ts +0 -51
  523. package/packages/orq-rc/src/models/errors/streamrunagent.ts +0 -51
  524. package/packages/orq-rc/src/models/errors/triggeragentschedule.ts +0 -105
  525. package/packages/orq-rc/src/models/errors/updateagent.ts +0 -51
  526. package/packages/orq-rc/src/models/errors/updateagentschedule.ts +0 -105
  527. package/packages/orq-rc/src/models/errors/updateeval.ts +0 -51
  528. package/packages/orq-rc/src/models/errors/updateprompt.ts +0 -51
  529. package/packages/orq-rc/src/models/errors/updatetool.ts +0 -62
  530. package/packages/orq-rc/src/models/operations/apikeydelete.ts +0 -39
  531. package/packages/orq-rc/src/models/operations/apikeyget.ts +0 -39
  532. package/packages/orq-rc/src/models/operations/apikeylist.ts +0 -107
  533. package/packages/orq-rc/src/models/operations/apikeyupdate.ts +0 -44
  534. package/packages/orq-rc/src/models/operations/cleardataset.ts +0 -39
  535. package/packages/orq-rc/src/models/operations/createagentrequest.ts +0 -6380
  536. package/packages/orq-rc/src/models/operations/createagentresponserequest.ts +0 -671
  537. package/packages/orq-rc/src/models/operations/createagentschedule.ts +0 -227
  538. package/packages/orq-rc/src/models/operations/createannotation.ts +0 -162
  539. package/packages/orq-rc/src/models/operations/createchatcompletion.ts +0 -6399
  540. package/packages/orq-rc/src/models/operations/createchunk.ts +0 -222
  541. package/packages/orq-rc/src/models/operations/createcompletion.ts +0 -3474
  542. package/packages/orq-rc/src/models/operations/createdataset.ts +0 -162
  543. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +0 -2554
  544. package/packages/orq-rc/src/models/operations/createdatasource.ts +0 -443
  545. package/packages/orq-rc/src/models/operations/createembedding.ts +0 -219
  546. package/packages/orq-rc/src/models/operations/createeval.ts +0 -4456
  547. package/packages/orq-rc/src/models/operations/createimage.ts +0 -1034
  548. package/packages/orq-rc/src/models/operations/createimageedit.ts +0 -1045
  549. package/packages/orq-rc/src/models/operations/createimagevariation.ts +0 -1067
  550. package/packages/orq-rc/src/models/operations/createknowledge.ts +0 -958
  551. package/packages/orq-rc/src/models/operations/creatememory.ts +0 -142
  552. package/packages/orq-rc/src/models/operations/creatememorydocument.ts +0 -152
  553. package/packages/orq-rc/src/models/operations/creatememorystore.ts +0 -199
  554. package/packages/orq-rc/src/models/operations/createmoderation.ts +0 -664
  555. package/packages/orq-rc/src/models/operations/createprompt.ts +0 -5408
  556. package/packages/orq-rc/src/models/operations/creatererank.ts +0 -890
  557. package/packages/orq-rc/src/models/operations/createrouterresponse.ts +0 -1506
  558. package/packages/orq-rc/src/models/operations/createspeech.ts +0 -700
  559. package/packages/orq-rc/src/models/operations/createtool.ts +0 -2490
  560. package/packages/orq-rc/src/models/operations/createtranscription.ts +0 -955
  561. package/packages/orq-rc/src/models/operations/createtranslation.ts +0 -930
  562. package/packages/orq-rc/src/models/operations/deleteagent.ts +0 -39
  563. package/packages/orq-rc/src/models/operations/deleteagentschedule.ts +0 -46
  564. package/packages/orq-rc/src/models/operations/deleteannotation.ts +0 -82
  565. package/packages/orq-rc/src/models/operations/deletechunk.ts +0 -53
  566. package/packages/orq-rc/src/models/operations/deletechunks.ts +0 -125
  567. package/packages/orq-rc/src/models/operations/deletedatapoint.ts +0 -46
  568. package/packages/orq-rc/src/models/operations/deletedataset.ts +0 -39
  569. package/packages/orq-rc/src/models/operations/deletedatasource.ts +0 -46
  570. package/packages/orq-rc/src/models/operations/deleteeval.ts +0 -31
  571. package/packages/orq-rc/src/models/operations/deleteidentity.ts +0 -31
  572. package/packages/orq-rc/src/models/operations/deleteknowledge.ts +0 -39
  573. package/packages/orq-rc/src/models/operations/deletememory.ts +0 -46
  574. package/packages/orq-rc/src/models/operations/deletememorydocument.ts +0 -55
  575. package/packages/orq-rc/src/models/operations/deletememorystore.ts +0 -39
  576. package/packages/orq-rc/src/models/operations/deleteprompt.ts +0 -34
  577. package/packages/orq-rc/src/models/operations/deletetool.ts +0 -36
  578. package/packages/orq-rc/src/models/operations/deletev2humanevalsetsid.ts +0 -36
  579. package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +0 -4968
  580. package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +0 -4178
  581. package/packages/orq-rc/src/models/operations/deployments.ts +0 -1276
  582. package/packages/orq-rc/src/models/operations/deploymentstream.ts +0 -4698
  583. package/packages/orq-rc/src/models/operations/filecontent.ts +0 -36
  584. package/packages/orq-rc/src/models/operations/filedelete.ts +0 -36
  585. package/packages/orq-rc/src/models/operations/fileget.ts +0 -32
  586. package/packages/orq-rc/src/models/operations/filelist.ts +0 -45
  587. package/packages/orq-rc/src/models/operations/fileupdate.ts +0 -41
  588. package/packages/orq-rc/src/models/operations/getagentresponse.ts +0 -46
  589. package/packages/orq-rc/src/models/operations/getallmemories.ts +0 -173
  590. package/packages/orq-rc/src/models/operations/getallmemorydocuments.ts +0 -188
  591. package/packages/orq-rc/src/models/operations/getallmemorystores.ts +0 -200
  592. package/packages/orq-rc/src/models/operations/getallprompts.ts +0 -3176
  593. package/packages/orq-rc/src/models/operations/getalltools.ts +0 -1389
  594. package/packages/orq-rc/src/models/operations/getchunkscount.ts +0 -142
  595. package/packages/orq-rc/src/models/operations/getevals.ts +0 -3346
  596. package/packages/orq-rc/src/models/operations/getonechunk.ts +0 -171
  597. package/packages/orq-rc/src/models/operations/getoneknowledge.ts +0 -652
  598. package/packages/orq-rc/src/models/operations/getoneprompt.ts +0 -3101
  599. package/packages/orq-rc/src/models/operations/getpromptversion.ts +0 -3146
  600. package/packages/orq-rc/src/models/operations/getv2evaluatorsidversions.ts +0 -162
  601. package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +0 -234
  602. package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +0 -235
  603. package/packages/orq-rc/src/models/operations/getv2toolstoolidversions.ts +0 -163
  604. package/packages/orq-rc/src/models/operations/getv2toolstoolidversionsversionid.ts +0 -110
  605. package/packages/orq-rc/src/models/operations/guardrailrulecreate.ts +0 -124
  606. package/packages/orq-rc/src/models/operations/guardrailruledelete.ts +0 -39
  607. package/packages/orq-rc/src/models/operations/guardrailruleget.ts +0 -102
  608. package/packages/orq-rc/src/models/operations/guardrailrulelist.ts +0 -94
  609. package/packages/orq-rc/src/models/operations/guardrailruleupdate.ts +0 -153
  610. package/packages/orq-rc/src/models/operations/index.ts +0 -169
  611. package/packages/orq-rc/src/models/operations/invokeagent.ts +0 -801
  612. package/packages/orq-rc/src/models/operations/invokeeval.ts +0 -1260
  613. package/packages/orq-rc/src/models/operations/listagents.ts +0 -2699
  614. package/packages/orq-rc/src/models/operations/listagentschedules.ts +0 -69
  615. package/packages/orq-rc/src/models/operations/listchunks.ts +0 -289
  616. package/packages/orq-rc/src/models/operations/listchunkspaginated.ts +0 -282
  617. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +0 -1498
  618. package/packages/orq-rc/src/models/operations/listdatasets.ts +0 -205
  619. package/packages/orq-rc/src/models/operations/listdatasources.ts +0 -241
  620. package/packages/orq-rc/src/models/operations/listidentities.ts +0 -59
  621. package/packages/orq-rc/src/models/operations/listknowledgebases.ts +0 -642
  622. package/packages/orq-rc/src/models/operations/listmodels.ts +0 -60
  623. package/packages/orq-rc/src/models/operations/listpromptversions.ts +0 -3221
  624. package/packages/orq-rc/src/models/operations/modelazurefoundrydeployments.ts +0 -90
  625. package/packages/orq-rc/src/models/operations/modelcreate.ts +0 -184
  626. package/packages/orq-rc/src/models/operations/modelcreateautorouter.ts +0 -151
  627. package/packages/orq-rc/src/models/operations/modelcreateawsbedrock.ts +0 -218
  628. package/packages/orq-rc/src/models/operations/modelcreateopenailike.ts +0 -202
  629. package/packages/orq-rc/src/models/operations/modelcreatevertex.ts +0 -144
  630. package/packages/orq-rc/src/models/operations/modeldelete.ts +0 -34
  631. package/packages/orq-rc/src/models/operations/modeldisable.ts +0 -39
  632. package/packages/orq-rc/src/models/operations/modelenable.ts +0 -36
  633. package/packages/orq-rc/src/models/operations/modelupdate.ts +0 -198
  634. package/packages/orq-rc/src/models/operations/modelupdateautorouter.ts +0 -189
  635. package/packages/orq-rc/src/models/operations/modelupdateawsbedrock.ts +0 -248
  636. package/packages/orq-rc/src/models/operations/modelupdateopenailike.ts +0 -236
  637. package/packages/orq-rc/src/models/operations/modelvalidate.ts +0 -57
  638. package/packages/orq-rc/src/models/operations/modelvalidateawsbedrock.ts +0 -57
  639. package/packages/orq-rc/src/models/operations/parse.ts +0 -784
  640. package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +0 -415
  641. package/packages/orq-rc/src/models/operations/policycreate.ts +0 -138
  642. package/packages/orq-rc/src/models/operations/policydelete.ts +0 -39
  643. package/packages/orq-rc/src/models/operations/policyget.ts +0 -110
  644. package/packages/orq-rc/src/models/operations/policylist.ts +0 -94
  645. package/packages/orq-rc/src/models/operations/policyupdate.ts +0 -174
  646. package/packages/orq-rc/src/models/operations/postv2agentskeycardrefresh.ts +0 -100
  647. package/packages/orq-rc/src/models/operations/postv2feedback.ts +0 -214
  648. package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +0 -321
  649. package/packages/orq-rc/src/models/operations/postv2feedbackevaluationremove.ts +0 -43
  650. package/packages/orq-rc/src/models/operations/postv2feedbackremove.ts +0 -135
  651. package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +0 -365
  652. package/packages/orq-rc/src/models/operations/postv2routerocr.ts +0 -478
  653. package/packages/orq-rc/src/models/operations/projectdelete.ts +0 -39
  654. package/packages/orq-rc/src/models/operations/projectget.ts +0 -39
  655. package/packages/orq-rc/src/models/operations/projectlist.ts +0 -58
  656. package/packages/orq-rc/src/models/operations/projectupdate.ts +0 -44
  657. package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +0 -2754
  658. package/packages/orq-rc/src/models/operations/retrieveagentschedule.ts +0 -162
  659. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +0 -1402
  660. package/packages/orq-rc/src/models/operations/retrievedataset.ts +0 -150
  661. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +0 -152
  662. package/packages/orq-rc/src/models/operations/retrieveidentity.ts +0 -39
  663. package/packages/orq-rc/src/models/operations/retrievememory.ts +0 -112
  664. package/packages/orq-rc/src/models/operations/retrievememorydocument.ts +0 -118
  665. package/packages/orq-rc/src/models/operations/retrievememorystore.ts +0 -144
  666. package/packages/orq-rc/src/models/operations/retrieveresponse.ts +0 -225
  667. package/packages/orq-rc/src/models/operations/retrievetool.ts +0 -1370
  668. package/packages/orq-rc/src/models/operations/routingrulecreate.ts +0 -124
  669. package/packages/orq-rc/src/models/operations/routingruledelete.ts +0 -39
  670. package/packages/orq-rc/src/models/operations/routingruleget.ts +0 -102
  671. package/packages/orq-rc/src/models/operations/routingrulelist.ts +0 -94
  672. package/packages/orq-rc/src/models/operations/routingruleupdate.ts +0 -154
  673. package/packages/orq-rc/src/models/operations/runagent.ts +0 -4954
  674. package/packages/orq-rc/src/models/operations/searchknowledge.ts +0 -1762
  675. package/packages/orq-rc/src/models/operations/skilldelete.ts +0 -39
  676. package/packages/orq-rc/src/models/operations/skillget.ts +0 -40
  677. package/packages/orq-rc/src/models/operations/skilllist.ts +0 -61
  678. package/packages/orq-rc/src/models/operations/skillupdate.ts +0 -44
  679. package/packages/orq-rc/src/models/operations/streamagent.ts +0 -693
  680. package/packages/orq-rc/src/models/operations/streamrunagent.ts +0 -5126
  681. package/packages/orq-rc/src/models/operations/triggeragentschedule.ts +0 -86
  682. package/packages/orq-rc/src/models/operations/updateagent.ts +0 -6704
  683. package/packages/orq-rc/src/models/operations/updateagentschedule.ts +0 -241
  684. package/packages/orq-rc/src/models/operations/updatechunk.ts +0 -236
  685. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +0 -2555
  686. package/packages/orq-rc/src/models/operations/updatedataset.ts +0 -206
  687. package/packages/orq-rc/src/models/operations/updatedatasource.ts +0 -186
  688. package/packages/orq-rc/src/models/operations/updateeval.ts +0 -3819
  689. package/packages/orq-rc/src/models/operations/updateidentity.ts +0 -40
  690. package/packages/orq-rc/src/models/operations/updateknowledge.ts +0 -1231
  691. package/packages/orq-rc/src/models/operations/updatememory.ts +0 -142
  692. package/packages/orq-rc/src/models/operations/updatememorydocument.ts +0 -159
  693. package/packages/orq-rc/src/models/operations/updatememorystore.ts +0 -188
  694. package/packages/orq-rc/src/models/operations/updateprompt.ts +0 -5490
  695. package/packages/orq-rc/src/models/operations/updatetool.ts +0 -2801
  696. package/packages/orq-rc/src/sdk/agents.ts +0 -216
  697. package/packages/orq-rc/src/sdk/annotations.ts +0 -45
  698. package/packages/orq-rc/src/sdk/apikeys.ts +0 -116
  699. package/packages/orq-rc/src/sdk/audio.ts +0 -25
  700. package/packages/orq-rc/src/sdk/chat.ts +0 -13
  701. package/packages/orq-rc/src/sdk/chunking.ts +0 -27
  702. package/packages/orq-rc/src/sdk/completions.ts +0 -32
  703. package/packages/orq-rc/src/sdk/datasets.ts +0 -204
  704. package/packages/orq-rc/src/sdk/deployments.ts +0 -82
  705. package/packages/orq-rc/src/sdk/edits.ts +0 -27
  706. package/packages/orq-rc/src/sdk/embeddings.ts +0 -27
  707. package/packages/orq-rc/src/sdk/evals.ts +0 -102
  708. package/packages/orq-rc/src/sdk/feedback.ts +0 -33
  709. package/packages/orq-rc/src/sdk/files.ts +0 -115
  710. package/packages/orq-rc/src/sdk/generations.ts +0 -27
  711. package/packages/orq-rc/src/sdk/guardrailrules.ts +0 -99
  712. package/packages/orq-rc/src/sdk/humanreviewsets.ts +0 -84
  713. package/packages/orq-rc/src/sdk/identities.ts +0 -100
  714. package/packages/orq-rc/src/sdk/images.ts +0 -25
  715. package/packages/orq-rc/src/sdk/index.ts +0 -5
  716. package/packages/orq-rc/src/sdk/knowledge.ts +0 -312
  717. package/packages/orq-rc/src/sdk/memorystores.ts +0 -286
  718. package/packages/orq-rc/src/sdk/models.ts +0 -330
  719. package/packages/orq-rc/src/sdk/moderations.ts +0 -24
  720. package/packages/orq-rc/src/sdk/orqcompletions.ts +0 -32
  721. package/packages/orq-rc/src/sdk/orqresponses.ts +0 -53
  722. package/packages/orq-rc/src/sdk/pii.ts +0 -63
  723. package/packages/orq-rc/src/sdk/policies.ts +0 -99
  724. package/packages/orq-rc/src/sdk/projects.ts +0 -100
  725. package/packages/orq-rc/src/sdk/prompts.ts +0 -126
  726. package/packages/orq-rc/src/sdk/reporting.ts +0 -27
  727. package/packages/orq-rc/src/sdk/rerank.ts +0 -27
  728. package/packages/orq-rc/src/sdk/responses.ts +0 -47
  729. package/packages/orq-rc/src/sdk/router.ts +0 -66
  730. package/packages/orq-rc/src/sdk/routingrules.ts +0 -99
  731. package/packages/orq-rc/src/sdk/schedules.ts +0 -117
  732. package/packages/orq-rc/src/sdk/sdk.ts +0 -189
  733. package/packages/orq-rc/src/sdk/skills.ts +0 -100
  734. package/packages/orq-rc/src/sdk/speech.ts +0 -27
  735. package/packages/orq-rc/src/sdk/tools.ts +0 -135
  736. package/packages/orq-rc/src/sdk/transcriptions.ts +0 -24
  737. package/packages/orq-rc/src/sdk/translations.ts +0 -24
  738. package/packages/orq-rc/src/sdk/variations.ts +0 -27
  739. package/packages/orq-rc/src/types/async.ts +0 -69
  740. package/packages/orq-rc/src/types/blobs.ts +0 -32
  741. package/packages/orq-rc/src/types/constdatetime.ts +0 -15
  742. package/packages/orq-rc/src/types/enums.ts +0 -45
  743. package/packages/orq-rc/src/types/fp.ts +0 -50
  744. package/packages/orq-rc/src/types/index.ts +0 -11
  745. package/packages/orq-rc/src/types/operations.ts +0 -105
  746. package/packages/orq-rc/src/types/rfcdate.ts +0 -54
  747. package/packages/orq-rc/src/types/streams.ts +0 -21
  748. package/packages/orq-rc/src/types/unrecognized.ts +0 -35
@@ -1,1389 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v3";
6
- import { remap as remap$ } from "../../lib/primitives.js";
7
- import {
8
- collectExtraKeys as collectExtraKeys$,
9
- safeParse,
10
- } from "../../lib/schemas.js";
11
- import { ClosedEnum } from "../../types/enums.js";
12
- import { Result as SafeParseResult } from "../../types/fp.js";
13
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
14
-
15
- export type GetAllToolsRequest = {
16
- /**
17
- * Maximum number of tools per page (1-200). Omit to return all tools.
18
- */
19
- limit?: number | undefined;
20
- /**
21
- * A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, ending with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `after=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the next page of the list.
22
- */
23
- startingAfter?: string | undefined;
24
- /**
25
- * A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 20 objects, starting with `01JJ1HDHN79XAS7A01WB3HYSDB`, your subsequent call can include `before=01JJ1HDHN79XAS7A01WB3HYSDB` in order to fetch the previous page of the list.
26
- */
27
- endingBefore?: string | undefined;
28
- };
29
-
30
- export const GetAllToolsObject = {
31
- List: "list",
32
- } as const;
33
- export type GetAllToolsObject = ClosedEnum<typeof GetAllToolsObject>;
34
-
35
- /**
36
- * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
37
- */
38
- export const GetAllToolsDataToolsResponse200Status = {
39
- Live: "live",
40
- Draft: "draft",
41
- Pending: "pending",
42
- Published: "published",
43
- } as const;
44
- /**
45
- * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
46
- */
47
- export type GetAllToolsDataToolsResponse200Status = ClosedEnum<
48
- typeof GetAllToolsDataToolsResponse200Status
49
- >;
50
-
51
- /**
52
- * The type must be "object"
53
- */
54
- export const GetAllToolsDataToolsResponse200ApplicationJSONResponseBody5Type = {
55
- Object: "object",
56
- } as const;
57
- /**
58
- * The type must be "object"
59
- */
60
- export type GetAllToolsDataToolsResponse200ApplicationJSONResponseBody5Type =
61
- ClosedEnum<
62
- typeof GetAllToolsDataToolsResponse200ApplicationJSONResponseBody5Type
63
- >;
64
-
65
- /**
66
- * The parameters the functions accepts, described as a JSON Schema object. See the `OpenAI` [guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
67
- */
68
- export type GetAllToolsDataParameters = {
69
- /**
70
- * The type must be "object"
71
- */
72
- type: GetAllToolsDataToolsResponse200ApplicationJSONResponseBody5Type;
73
- /**
74
- * The properties of the function parameters
75
- */
76
- properties: { [k: string]: any };
77
- /**
78
- * Array of required parameter names
79
- */
80
- required: Array<string>;
81
- additionalProperties?: { [k: string]: any } | undefined;
82
- };
83
-
84
- export const DataLanguage = {
85
- Python: "python",
86
- } as const;
87
- export type DataLanguage = ClosedEnum<typeof DataLanguage>;
88
-
89
- export type DataCodeTool = {
90
- /**
91
- * The parameters the functions accepts, described as a JSON Schema object. See the `OpenAI` [guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
92
- */
93
- parameters?: GetAllToolsDataParameters | undefined;
94
- language: DataLanguage;
95
- /**
96
- * The code to execute.
97
- */
98
- code: string;
99
- };
100
-
101
- /**
102
- * Executes code snippets in a sandboxed environment, currently supporting Python.
103
- */
104
- export type DataCodeExecutionTool = {
105
- id: string;
106
- /**
107
- * Entity storage path.
108
- *
109
- * @remarks
110
- *
111
- * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
112
- *
113
- * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
114
- */
115
- path: string;
116
- /**
117
- * Unique key of the tool as it will be displayed in the UI
118
- */
119
- key: string;
120
- /**
121
- * The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
122
- */
123
- displayName?: string | undefined;
124
- /**
125
- * A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
126
- */
127
- description: string;
128
- /**
129
- * The id of the user that created the tool
130
- */
131
- createdById?: string | undefined;
132
- /**
133
- * The id of the user that last updated the tool
134
- */
135
- updatedById?: string | undefined;
136
- projectId: string;
137
- workspaceId: string;
138
- created: string;
139
- updated: string;
140
- /**
141
- * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
142
- */
143
- status: GetAllToolsDataToolsResponse200Status;
144
- type: "code";
145
- codeTool: DataCodeTool;
146
- };
147
-
148
- /**
149
- * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
150
- */
151
- export const GetAllToolsDataToolsResponseStatus = {
152
- Live: "live",
153
- Draft: "draft",
154
- Pending: "pending",
155
- Published: "published",
156
- } as const;
157
- /**
158
- * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
159
- */
160
- export type GetAllToolsDataToolsResponseStatus = ClosedEnum<
161
- typeof GetAllToolsDataToolsResponseStatus
162
- >;
163
-
164
- export type DataHeaders = {
165
- value: string;
166
- encrypted: boolean;
167
- };
168
-
169
- export const GetAllToolsDataToolsResponse200ApplicationJSONResponseBody4Type = {
170
- Object: "object",
171
- } as const;
172
- export type GetAllToolsDataToolsResponse200ApplicationJSONResponseBody4Type =
173
- ClosedEnum<
174
- typeof GetAllToolsDataToolsResponse200ApplicationJSONResponseBody4Type
175
- >;
176
-
177
- export type GetAllToolsDataSchema = {
178
- type: GetAllToolsDataToolsResponse200ApplicationJSONResponseBody4Type;
179
- properties?: { [k: string]: any } | undefined;
180
- required?: Array<string> | undefined;
181
- };
182
-
183
- export type DataTools = {
184
- id: string;
185
- name: string;
186
- description?: string | undefined;
187
- schema: GetAllToolsDataSchema;
188
- };
189
-
190
- /**
191
- * The connection type used by the MCP server
192
- */
193
- export const DataConnectionType = {
194
- Http: "http",
195
- Sse: "sse",
196
- } as const;
197
- /**
198
- * The connection type used by the MCP server
199
- */
200
- export type DataConnectionType = ClosedEnum<typeof DataConnectionType>;
201
-
202
- export type DataMcp = {
203
- /**
204
- * The MCP server URL (cached for execution)
205
- */
206
- serverUrl: string;
207
- /**
208
- * HTTP headers for MCP server requests with encryption support
209
- */
210
- headers?: { [k: string]: DataHeaders } | undefined;
211
- /**
212
- * Array of tools available from the MCP server
213
- */
214
- tools: Array<DataTools>;
215
- /**
216
- * The connection type used by the MCP server
217
- */
218
- connectionType: DataConnectionType;
219
- /**
220
- * Names of template variables detected in server_url and headers. Used by the FE to prompt for one-time values on sync/refresh.
221
- */
222
- templateVariables?: Array<string> | null | undefined;
223
- };
224
-
225
- /**
226
- * A tool from a Model Context Protocol (MCP) server that provides standardized access to external capabilities.
227
- */
228
- export type DataMCPTool = {
229
- id: string;
230
- /**
231
- * Entity storage path.
232
- *
233
- * @remarks
234
- *
235
- * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
236
- *
237
- * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
238
- */
239
- path: string;
240
- /**
241
- * Unique key of the tool as it will be displayed in the UI
242
- */
243
- key: string;
244
- /**
245
- * The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
246
- */
247
- displayName?: string | undefined;
248
- /**
249
- * A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
250
- */
251
- description: string;
252
- /**
253
- * The id of the user that created the tool
254
- */
255
- createdById?: string | undefined;
256
- /**
257
- * The id of the user that last updated the tool
258
- */
259
- updatedById?: string | undefined;
260
- projectId: string;
261
- workspaceId: string;
262
- created: string;
263
- updated: string;
264
- /**
265
- * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
266
- */
267
- status: GetAllToolsDataToolsResponseStatus;
268
- type: "mcp";
269
- mcp: DataMcp;
270
- };
271
-
272
- /**
273
- * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
274
- */
275
- export const GetAllToolsDataToolsStatus = {
276
- Live: "live",
277
- Draft: "draft",
278
- Pending: "pending",
279
- Published: "published",
280
- } as const;
281
- /**
282
- * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
283
- */
284
- export type GetAllToolsDataToolsStatus = ClosedEnum<
285
- typeof GetAllToolsDataToolsStatus
286
- >;
287
-
288
- /**
289
- * The HTTP method to use.
290
- */
291
- export const GetAllToolsDataMethod = {
292
- Get: "GET",
293
- Post: "POST",
294
- Put: "PUT",
295
- Delete: "DELETE",
296
- } as const;
297
- /**
298
- * The HTTP method to use.
299
- */
300
- export type GetAllToolsDataMethod = ClosedEnum<typeof GetAllToolsDataMethod>;
301
-
302
- export type GetAllToolsHeaders2 = {
303
- value: string;
304
- encrypted: boolean;
305
- };
306
-
307
- export type GetAllToolsDataHeaders = GetAllToolsHeaders2 | string;
308
-
309
- /**
310
- * The blueprint for the HTTP request. The `arguments` field will be used to replace the placeholders in the `url`, `headers`, `body`, and `arguments` fields.
311
- */
312
- export type DataBlueprint = {
313
- /**
314
- * The URL to send the request to.
315
- */
316
- url: string;
317
- /**
318
- * The HTTP method to use.
319
- */
320
- method: GetAllToolsDataMethod;
321
- /**
322
- * The headers to send with the request. Can be a string value or an object with value and encrypted properties.
323
- */
324
- headers?: { [k: string]: GetAllToolsHeaders2 | string } | undefined;
325
- /**
326
- * The body to send with the request.
327
- */
328
- body?: { [k: string]: any } | undefined;
329
- };
330
-
331
- /**
332
- * The type of the argument.
333
- */
334
- export const GetAllToolsDataToolsResponse200ApplicationJSONResponseBody3Type = {
335
- String: "string",
336
- Number: "number",
337
- Boolean: "boolean",
338
- } as const;
339
- /**
340
- * The type of the argument.
341
- */
342
- export type GetAllToolsDataToolsResponse200ApplicationJSONResponseBody3Type =
343
- ClosedEnum<
344
- typeof GetAllToolsDataToolsResponse200ApplicationJSONResponseBody3Type
345
- >;
346
-
347
- /**
348
- * The default value of the argument.
349
- */
350
- export type DataDefaultValue = string | number | boolean;
351
-
352
- export type DataArguments = {
353
- /**
354
- * The type of the argument.
355
- */
356
- type: GetAllToolsDataToolsResponse200ApplicationJSONResponseBody3Type;
357
- /**
358
- * A description of the argument.
359
- */
360
- description: string;
361
- /**
362
- * Whether to send the argument to the model. If set to false, the argument will not be sent to the model and needs to be provided by the user or it will be left blank.
363
- */
364
- sendToModel: boolean;
365
- /**
366
- * The default value of the argument.
367
- */
368
- defaultValue?: string | number | boolean | undefined;
369
- };
370
-
371
- export type GetAllToolsDataHttp = {
372
- /**
373
- * The blueprint for the HTTP request. The `arguments` field will be used to replace the placeholders in the `url`, `headers`, `body`, and `arguments` fields.
374
- */
375
- blueprint: DataBlueprint;
376
- /**
377
- * The arguments to send with the request. The keys will be used to replace the placeholders in the `blueprint` field.
378
- */
379
- arguments?: { [k: string]: DataArguments } | undefined;
380
- };
381
-
382
- /**
383
- * Executes HTTP requests to interact with external APIs and web services using customizable blueprints.
384
- */
385
- export type DataHTTPTool = {
386
- id: string;
387
- /**
388
- * Entity storage path.
389
- *
390
- * @remarks
391
- *
392
- * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
393
- *
394
- * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
395
- */
396
- path: string;
397
- /**
398
- * Unique key of the tool as it will be displayed in the UI
399
- */
400
- key: string;
401
- /**
402
- * The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
403
- */
404
- displayName?: string | undefined;
405
- /**
406
- * A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
407
- */
408
- description: string;
409
- /**
410
- * The id of the user that created the tool
411
- */
412
- createdById?: string | undefined;
413
- /**
414
- * The id of the user that last updated the tool
415
- */
416
- updatedById?: string | undefined;
417
- projectId: string;
418
- workspaceId: string;
419
- created: string;
420
- updated: string;
421
- /**
422
- * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
423
- */
424
- status: GetAllToolsDataToolsStatus;
425
- type: "http";
426
- http: GetAllToolsDataHttp;
427
- };
428
-
429
- /**
430
- * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
431
- */
432
- export const GetAllToolsDataStatus = {
433
- Live: "live",
434
- Draft: "draft",
435
- Pending: "pending",
436
- Published: "published",
437
- } as const;
438
- /**
439
- * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
440
- */
441
- export type GetAllToolsDataStatus = ClosedEnum<typeof GetAllToolsDataStatus>;
442
-
443
- /**
444
- * The schema for the response format, described as a JSON Schema object. See the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
445
- */
446
- export type DataSchema = {
447
- /**
448
- * The JSON Schema type
449
- */
450
- type: string;
451
- /**
452
- * The properties of the JSON Schema object
453
- */
454
- properties: { [k: string]: any };
455
- /**
456
- * Array of required property names
457
- */
458
- required: Array<string>;
459
- additionalProperties?: { [k: string]: any } | undefined;
460
- };
461
-
462
- export type DataJsonSchema = {
463
- /**
464
- * The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
465
- */
466
- name: string;
467
- /**
468
- * A description of what the response format is for. This will be shown to the user.
469
- */
470
- description: string;
471
- /**
472
- * The schema for the response format, described as a JSON Schema object. See the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
473
- */
474
- schema: DataSchema;
475
- /**
476
- * Whether to enable strict schema adherence when generating the output. If set to true, the model will always follow the exact schema defined in the `schema` field. Only a subset of JSON Schema is supported when `strict` is `true`. Only compatible with `OpenAI` models.
477
- */
478
- strict?: boolean | undefined;
479
- };
480
-
481
- /**
482
- * A tool that enforces structured output format using JSON Schema for consistent response formatting.
483
- */
484
- export type DataJSONSchemaTool = {
485
- id: string;
486
- /**
487
- * Entity storage path.
488
- *
489
- * @remarks
490
- *
491
- * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
492
- *
493
- * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
494
- */
495
- path: string;
496
- /**
497
- * Unique key of the tool as it will be displayed in the UI
498
- */
499
- key: string;
500
- /**
501
- * The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
502
- */
503
- displayName?: string | undefined;
504
- /**
505
- * A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
506
- */
507
- description: string;
508
- /**
509
- * The id of the user that created the tool
510
- */
511
- createdById?: string | undefined;
512
- /**
513
- * The id of the user that last updated the tool
514
- */
515
- updatedById?: string | undefined;
516
- projectId: string;
517
- workspaceId: string;
518
- created: string;
519
- updated: string;
520
- /**
521
- * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
522
- */
523
- status: GetAllToolsDataStatus;
524
- type: "json_schema";
525
- jsonSchema: DataJsonSchema;
526
- };
527
-
528
- /**
529
- * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
530
- */
531
- export const DataStatus = {
532
- Live: "live",
533
- Draft: "draft",
534
- Pending: "pending",
535
- Published: "published",
536
- } as const;
537
- /**
538
- * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
539
- */
540
- export type DataStatus = ClosedEnum<typeof DataStatus>;
541
-
542
- /**
543
- * The type must be "object"
544
- */
545
- export const GetAllToolsDataToolsResponse200ApplicationJSONResponseBodyType = {
546
- Object: "object",
547
- } as const;
548
- /**
549
- * The type must be "object"
550
- */
551
- export type GetAllToolsDataToolsResponse200ApplicationJSONResponseBodyType =
552
- ClosedEnum<
553
- typeof GetAllToolsDataToolsResponse200ApplicationJSONResponseBodyType
554
- >;
555
-
556
- /**
557
- * The parameters the functions accepts, described as a JSON Schema object. See the `OpenAI` [guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
558
- */
559
- export type DataParameters = {
560
- /**
561
- * The type must be "object"
562
- */
563
- type: GetAllToolsDataToolsResponse200ApplicationJSONResponseBodyType;
564
- /**
565
- * The properties of the function parameters
566
- */
567
- properties: { [k: string]: any };
568
- /**
569
- * Array of required parameter names
570
- */
571
- required: Array<string>;
572
- additionalProperties?: { [k: string]: any } | undefined;
573
- };
574
-
575
- export type GetAllToolsDataFunction = {
576
- /**
577
- * 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.
578
- */
579
- name: string;
580
- /**
581
- * A description of what the function does, used by the model to choose when and how to call the function.
582
- */
583
- description?: string | undefined;
584
- /**
585
- * Whether to enable strict schema adherence when generating the function call. If set to true, the model will follow the exact schema defined in the `parameters` field. Only a subset of JSON Schema is supported when `strict` is `true`. Currently only compatible with `OpenAI` models.
586
- */
587
- strict?: boolean | undefined;
588
- /**
589
- * The parameters the functions accepts, described as a JSON Schema object. See the `OpenAI` [guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
590
- */
591
- parameters?: DataParameters | undefined;
592
- };
593
-
594
- /**
595
- * A custom function tool that allows the model to call predefined functions with structured parameters.
596
- */
597
- export type DataFunctionTool = {
598
- id: string;
599
- /**
600
- * Entity storage path.
601
- *
602
- * @remarks
603
- *
604
- * With workspace-level API keys, use the format `project/folder/subfolder/...`. The first element identifies the project, followed by nested folders (auto-created as needed). Example: `Default/agents`.
605
- *
606
- * With project-level API keys, the project is predetermined by the API key, so the path is relative to that project. Example: `agents`. For backward compatibility, a leading project name is ignored when it matches the scoped project.
607
- */
608
- path: string;
609
- /**
610
- * Unique key of the tool as it will be displayed in the UI
611
- */
612
- key: string;
613
- /**
614
- * The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
615
- */
616
- displayName?: string | undefined;
617
- /**
618
- * A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
619
- */
620
- description: string;
621
- /**
622
- * The id of the user that created the tool
623
- */
624
- createdById?: string | undefined;
625
- /**
626
- * The id of the user that last updated the tool
627
- */
628
- updatedById?: string | undefined;
629
- projectId: string;
630
- workspaceId: string;
631
- created: string;
632
- updated: string;
633
- /**
634
- * The status of the tool. `Live` is the latest version of the tool. `Draft` is a version that is not yet published. `Pending` is a version that is pending approval. `Published` is a version that was live and has been replaced by a new version.
635
- */
636
- status: DataStatus;
637
- type: "function";
638
- function: GetAllToolsDataFunction;
639
- };
640
-
641
- export type GetAllToolsData =
642
- | DataFunctionTool
643
- | DataJSONSchemaTool
644
- | DataHTTPTool
645
- | DataMCPTool
646
- | DataCodeExecutionTool;
647
-
648
- /**
649
- * Successfully retrieved the list of tools.
650
- */
651
- export type GetAllToolsResponseBody = {
652
- object: GetAllToolsObject;
653
- data: Array<
654
- | DataFunctionTool
655
- | DataJSONSchemaTool
656
- | DataHTTPTool
657
- | DataMCPTool
658
- | DataCodeExecutionTool
659
- >;
660
- hasMore: boolean;
661
- };
662
-
663
- /** @internal */
664
- export type GetAllToolsRequest$Outbound = {
665
- limit?: number | undefined;
666
- starting_after?: string | undefined;
667
- ending_before?: string | undefined;
668
- };
669
-
670
- /** @internal */
671
- export const GetAllToolsRequest$outboundSchema: z.ZodType<
672
- GetAllToolsRequest$Outbound,
673
- z.ZodTypeDef,
674
- GetAllToolsRequest
675
- > = z.object({
676
- limit: z.number().optional(),
677
- startingAfter: z.string().optional(),
678
- endingBefore: z.string().optional(),
679
- }).transform((v) => {
680
- return remap$(v, {
681
- startingAfter: "starting_after",
682
- endingBefore: "ending_before",
683
- });
684
- });
685
-
686
- export function getAllToolsRequestToJSON(
687
- getAllToolsRequest: GetAllToolsRequest,
688
- ): string {
689
- return JSON.stringify(
690
- GetAllToolsRequest$outboundSchema.parse(getAllToolsRequest),
691
- );
692
- }
693
-
694
- /** @internal */
695
- export const GetAllToolsObject$inboundSchema: z.ZodNativeEnum<
696
- typeof GetAllToolsObject
697
- > = z.nativeEnum(GetAllToolsObject);
698
-
699
- /** @internal */
700
- export const GetAllToolsDataToolsResponse200Status$inboundSchema:
701
- z.ZodNativeEnum<typeof GetAllToolsDataToolsResponse200Status> = z.nativeEnum(
702
- GetAllToolsDataToolsResponse200Status,
703
- );
704
-
705
- /** @internal */
706
- export const GetAllToolsDataToolsResponse200ApplicationJSONResponseBody5Type$inboundSchema:
707
- z.ZodNativeEnum<
708
- typeof GetAllToolsDataToolsResponse200ApplicationJSONResponseBody5Type
709
- > = z.nativeEnum(
710
- GetAllToolsDataToolsResponse200ApplicationJSONResponseBody5Type,
711
- );
712
-
713
- /** @internal */
714
- export const GetAllToolsDataParameters$inboundSchema: z.ZodType<
715
- GetAllToolsDataParameters,
716
- z.ZodTypeDef,
717
- unknown
718
- > = collectExtraKeys$(
719
- z.object({
720
- type:
721
- GetAllToolsDataToolsResponse200ApplicationJSONResponseBody5Type$inboundSchema,
722
- properties: z.record(z.any()),
723
- required: z.array(z.string()),
724
- }).catchall(z.any()),
725
- "additionalProperties",
726
- true,
727
- );
728
-
729
- export function getAllToolsDataParametersFromJSON(
730
- jsonString: string,
731
- ): SafeParseResult<GetAllToolsDataParameters, SDKValidationError> {
732
- return safeParse(
733
- jsonString,
734
- (x) => GetAllToolsDataParameters$inboundSchema.parse(JSON.parse(x)),
735
- `Failed to parse 'GetAllToolsDataParameters' from JSON`,
736
- );
737
- }
738
-
739
- /** @internal */
740
- export const DataLanguage$inboundSchema: z.ZodNativeEnum<typeof DataLanguage> =
741
- z.nativeEnum(DataLanguage);
742
-
743
- /** @internal */
744
- export const DataCodeTool$inboundSchema: z.ZodType<
745
- DataCodeTool,
746
- z.ZodTypeDef,
747
- unknown
748
- > = z.object({
749
- parameters: z.lazy(() => GetAllToolsDataParameters$inboundSchema).optional(),
750
- language: DataLanguage$inboundSchema,
751
- code: z.string(),
752
- });
753
-
754
- export function dataCodeToolFromJSON(
755
- jsonString: string,
756
- ): SafeParseResult<DataCodeTool, SDKValidationError> {
757
- return safeParse(
758
- jsonString,
759
- (x) => DataCodeTool$inboundSchema.parse(JSON.parse(x)),
760
- `Failed to parse 'DataCodeTool' from JSON`,
761
- );
762
- }
763
-
764
- /** @internal */
765
- export const DataCodeExecutionTool$inboundSchema: z.ZodType<
766
- DataCodeExecutionTool,
767
- z.ZodTypeDef,
768
- unknown
769
- > = z.object({
770
- _id: z.string().default("tool_01KT9EQS88MM356Y70RH817HKV"),
771
- path: z.string(),
772
- key: z.string(),
773
- display_name: z.string().optional(),
774
- description: z.string(),
775
- created_by_id: z.string().optional(),
776
- updated_by_id: z.string().optional(),
777
- project_id: z.string(),
778
- workspace_id: z.string(),
779
- created: z.string(),
780
- updated: z.string(),
781
- status: GetAllToolsDataToolsResponse200Status$inboundSchema.default("live"),
782
- type: z.literal("code"),
783
- code_tool: z.lazy(() => DataCodeTool$inboundSchema),
784
- }).transform((v) => {
785
- return remap$(v, {
786
- "_id": "id",
787
- "display_name": "displayName",
788
- "created_by_id": "createdById",
789
- "updated_by_id": "updatedById",
790
- "project_id": "projectId",
791
- "workspace_id": "workspaceId",
792
- "code_tool": "codeTool",
793
- });
794
- });
795
-
796
- export function dataCodeExecutionToolFromJSON(
797
- jsonString: string,
798
- ): SafeParseResult<DataCodeExecutionTool, SDKValidationError> {
799
- return safeParse(
800
- jsonString,
801
- (x) => DataCodeExecutionTool$inboundSchema.parse(JSON.parse(x)),
802
- `Failed to parse 'DataCodeExecutionTool' from JSON`,
803
- );
804
- }
805
-
806
- /** @internal */
807
- export const GetAllToolsDataToolsResponseStatus$inboundSchema: z.ZodNativeEnum<
808
- typeof GetAllToolsDataToolsResponseStatus
809
- > = z.nativeEnum(GetAllToolsDataToolsResponseStatus);
810
-
811
- /** @internal */
812
- export const DataHeaders$inboundSchema: z.ZodType<
813
- DataHeaders,
814
- z.ZodTypeDef,
815
- unknown
816
- > = z.object({
817
- value: z.string(),
818
- encrypted: z.boolean().default(false),
819
- });
820
-
821
- export function dataHeadersFromJSON(
822
- jsonString: string,
823
- ): SafeParseResult<DataHeaders, SDKValidationError> {
824
- return safeParse(
825
- jsonString,
826
- (x) => DataHeaders$inboundSchema.parse(JSON.parse(x)),
827
- `Failed to parse 'DataHeaders' from JSON`,
828
- );
829
- }
830
-
831
- /** @internal */
832
- export const GetAllToolsDataToolsResponse200ApplicationJSONResponseBody4Type$inboundSchema:
833
- z.ZodNativeEnum<
834
- typeof GetAllToolsDataToolsResponse200ApplicationJSONResponseBody4Type
835
- > = z.nativeEnum(
836
- GetAllToolsDataToolsResponse200ApplicationJSONResponseBody4Type,
837
- );
838
-
839
- /** @internal */
840
- export const GetAllToolsDataSchema$inboundSchema: z.ZodType<
841
- GetAllToolsDataSchema,
842
- z.ZodTypeDef,
843
- unknown
844
- > = z.object({
845
- type:
846
- GetAllToolsDataToolsResponse200ApplicationJSONResponseBody4Type$inboundSchema,
847
- properties: z.record(z.any()).optional(),
848
- required: z.array(z.string()).optional(),
849
- });
850
-
851
- export function getAllToolsDataSchemaFromJSON(
852
- jsonString: string,
853
- ): SafeParseResult<GetAllToolsDataSchema, SDKValidationError> {
854
- return safeParse(
855
- jsonString,
856
- (x) => GetAllToolsDataSchema$inboundSchema.parse(JSON.parse(x)),
857
- `Failed to parse 'GetAllToolsDataSchema' from JSON`,
858
- );
859
- }
860
-
861
- /** @internal */
862
- export const DataTools$inboundSchema: z.ZodType<
863
- DataTools,
864
- z.ZodTypeDef,
865
- unknown
866
- > = z.object({
867
- id: z.string().default("01KT9EQS86K869PY9KZC7EZ5WQ"),
868
- name: z.string(),
869
- description: z.string().optional(),
870
- schema: z.lazy(() => GetAllToolsDataSchema$inboundSchema),
871
- });
872
-
873
- export function dataToolsFromJSON(
874
- jsonString: string,
875
- ): SafeParseResult<DataTools, SDKValidationError> {
876
- return safeParse(
877
- jsonString,
878
- (x) => DataTools$inboundSchema.parse(JSON.parse(x)),
879
- `Failed to parse 'DataTools' from JSON`,
880
- );
881
- }
882
-
883
- /** @internal */
884
- export const DataConnectionType$inboundSchema: z.ZodNativeEnum<
885
- typeof DataConnectionType
886
- > = z.nativeEnum(DataConnectionType);
887
-
888
- /** @internal */
889
- export const DataMcp$inboundSchema: z.ZodType<DataMcp, z.ZodTypeDef, unknown> =
890
- z.object({
891
- server_url: z.string(),
892
- headers: z.record(z.lazy(() => DataHeaders$inboundSchema)).optional(),
893
- tools: z.array(z.lazy(() => DataTools$inboundSchema)),
894
- connection_type: DataConnectionType$inboundSchema,
895
- template_variables: z.nullable(z.array(z.string())).optional(),
896
- }).transform((v) => {
897
- return remap$(v, {
898
- "server_url": "serverUrl",
899
- "connection_type": "connectionType",
900
- "template_variables": "templateVariables",
901
- });
902
- });
903
-
904
- export function dataMcpFromJSON(
905
- jsonString: string,
906
- ): SafeParseResult<DataMcp, SDKValidationError> {
907
- return safeParse(
908
- jsonString,
909
- (x) => DataMcp$inboundSchema.parse(JSON.parse(x)),
910
- `Failed to parse 'DataMcp' from JSON`,
911
- );
912
- }
913
-
914
- /** @internal */
915
- export const DataMCPTool$inboundSchema: z.ZodType<
916
- DataMCPTool,
917
- z.ZodTypeDef,
918
- unknown
919
- > = z.object({
920
- _id: z.string().default("tool_01KT9EQS845XN8H70E57FQAV7K"),
921
- path: z.string(),
922
- key: z.string(),
923
- display_name: z.string().optional(),
924
- description: z.string(),
925
- created_by_id: z.string().optional(),
926
- updated_by_id: z.string().optional(),
927
- project_id: z.string(),
928
- workspace_id: z.string(),
929
- created: z.string(),
930
- updated: z.string(),
931
- status: GetAllToolsDataToolsResponseStatus$inboundSchema.default("live"),
932
- type: z.literal("mcp"),
933
- mcp: z.lazy(() => DataMcp$inboundSchema),
934
- }).transform((v) => {
935
- return remap$(v, {
936
- "_id": "id",
937
- "display_name": "displayName",
938
- "created_by_id": "createdById",
939
- "updated_by_id": "updatedById",
940
- "project_id": "projectId",
941
- "workspace_id": "workspaceId",
942
- });
943
- });
944
-
945
- export function dataMCPToolFromJSON(
946
- jsonString: string,
947
- ): SafeParseResult<DataMCPTool, SDKValidationError> {
948
- return safeParse(
949
- jsonString,
950
- (x) => DataMCPTool$inboundSchema.parse(JSON.parse(x)),
951
- `Failed to parse 'DataMCPTool' from JSON`,
952
- );
953
- }
954
-
955
- /** @internal */
956
- export const GetAllToolsDataToolsStatus$inboundSchema: z.ZodNativeEnum<
957
- typeof GetAllToolsDataToolsStatus
958
- > = z.nativeEnum(GetAllToolsDataToolsStatus);
959
-
960
- /** @internal */
961
- export const GetAllToolsDataMethod$inboundSchema: z.ZodNativeEnum<
962
- typeof GetAllToolsDataMethod
963
- > = z.nativeEnum(GetAllToolsDataMethod);
964
-
965
- /** @internal */
966
- export const GetAllToolsHeaders2$inboundSchema: z.ZodType<
967
- GetAllToolsHeaders2,
968
- z.ZodTypeDef,
969
- unknown
970
- > = z.object({
971
- value: z.string(),
972
- encrypted: z.boolean().default(false),
973
- });
974
-
975
- export function getAllToolsHeaders2FromJSON(
976
- jsonString: string,
977
- ): SafeParseResult<GetAllToolsHeaders2, SDKValidationError> {
978
- return safeParse(
979
- jsonString,
980
- (x) => GetAllToolsHeaders2$inboundSchema.parse(JSON.parse(x)),
981
- `Failed to parse 'GetAllToolsHeaders2' from JSON`,
982
- );
983
- }
984
-
985
- /** @internal */
986
- export const GetAllToolsDataHeaders$inboundSchema: z.ZodType<
987
- GetAllToolsDataHeaders,
988
- z.ZodTypeDef,
989
- unknown
990
- > = z.union([z.lazy(() => GetAllToolsHeaders2$inboundSchema), z.string()]);
991
-
992
- export function getAllToolsDataHeadersFromJSON(
993
- jsonString: string,
994
- ): SafeParseResult<GetAllToolsDataHeaders, SDKValidationError> {
995
- return safeParse(
996
- jsonString,
997
- (x) => GetAllToolsDataHeaders$inboundSchema.parse(JSON.parse(x)),
998
- `Failed to parse 'GetAllToolsDataHeaders' from JSON`,
999
- );
1000
- }
1001
-
1002
- /** @internal */
1003
- export const DataBlueprint$inboundSchema: z.ZodType<
1004
- DataBlueprint,
1005
- z.ZodTypeDef,
1006
- unknown
1007
- > = z.object({
1008
- url: z.string(),
1009
- method: GetAllToolsDataMethod$inboundSchema,
1010
- headers: z.record(
1011
- z.union([z.lazy(() => GetAllToolsHeaders2$inboundSchema), z.string()]),
1012
- ).optional(),
1013
- body: z.record(z.any()).optional(),
1014
- });
1015
-
1016
- export function dataBlueprintFromJSON(
1017
- jsonString: string,
1018
- ): SafeParseResult<DataBlueprint, SDKValidationError> {
1019
- return safeParse(
1020
- jsonString,
1021
- (x) => DataBlueprint$inboundSchema.parse(JSON.parse(x)),
1022
- `Failed to parse 'DataBlueprint' from JSON`,
1023
- );
1024
- }
1025
-
1026
- /** @internal */
1027
- export const GetAllToolsDataToolsResponse200ApplicationJSONResponseBody3Type$inboundSchema:
1028
- z.ZodNativeEnum<
1029
- typeof GetAllToolsDataToolsResponse200ApplicationJSONResponseBody3Type
1030
- > = z.nativeEnum(
1031
- GetAllToolsDataToolsResponse200ApplicationJSONResponseBody3Type,
1032
- );
1033
-
1034
- /** @internal */
1035
- export const DataDefaultValue$inboundSchema: z.ZodType<
1036
- DataDefaultValue,
1037
- z.ZodTypeDef,
1038
- unknown
1039
- > = z.union([z.string(), z.number(), z.boolean()]);
1040
-
1041
- export function dataDefaultValueFromJSON(
1042
- jsonString: string,
1043
- ): SafeParseResult<DataDefaultValue, SDKValidationError> {
1044
- return safeParse(
1045
- jsonString,
1046
- (x) => DataDefaultValue$inboundSchema.parse(JSON.parse(x)),
1047
- `Failed to parse 'DataDefaultValue' from JSON`,
1048
- );
1049
- }
1050
-
1051
- /** @internal */
1052
- export const DataArguments$inboundSchema: z.ZodType<
1053
- DataArguments,
1054
- z.ZodTypeDef,
1055
- unknown
1056
- > = z.object({
1057
- type:
1058
- GetAllToolsDataToolsResponse200ApplicationJSONResponseBody3Type$inboundSchema,
1059
- description: z.string(),
1060
- send_to_model: z.boolean().default(true),
1061
- default_value: z.union([z.string(), z.number(), z.boolean()]).optional(),
1062
- }).transform((v) => {
1063
- return remap$(v, {
1064
- "send_to_model": "sendToModel",
1065
- "default_value": "defaultValue",
1066
- });
1067
- });
1068
-
1069
- export function dataArgumentsFromJSON(
1070
- jsonString: string,
1071
- ): SafeParseResult<DataArguments, SDKValidationError> {
1072
- return safeParse(
1073
- jsonString,
1074
- (x) => DataArguments$inboundSchema.parse(JSON.parse(x)),
1075
- `Failed to parse 'DataArguments' from JSON`,
1076
- );
1077
- }
1078
-
1079
- /** @internal */
1080
- export const GetAllToolsDataHttp$inboundSchema: z.ZodType<
1081
- GetAllToolsDataHttp,
1082
- z.ZodTypeDef,
1083
- unknown
1084
- > = z.object({
1085
- blueprint: z.lazy(() => DataBlueprint$inboundSchema),
1086
- arguments: z.record(z.lazy(() => DataArguments$inboundSchema)).optional(),
1087
- });
1088
-
1089
- export function getAllToolsDataHttpFromJSON(
1090
- jsonString: string,
1091
- ): SafeParseResult<GetAllToolsDataHttp, SDKValidationError> {
1092
- return safeParse(
1093
- jsonString,
1094
- (x) => GetAllToolsDataHttp$inboundSchema.parse(JSON.parse(x)),
1095
- `Failed to parse 'GetAllToolsDataHttp' from JSON`,
1096
- );
1097
- }
1098
-
1099
- /** @internal */
1100
- export const DataHTTPTool$inboundSchema: z.ZodType<
1101
- DataHTTPTool,
1102
- z.ZodTypeDef,
1103
- unknown
1104
- > = z.object({
1105
- _id: z.string().default("tool_01KT9EQS806ZP1805636X43BGZ"),
1106
- path: z.string(),
1107
- key: z.string(),
1108
- display_name: z.string().optional(),
1109
- description: z.string(),
1110
- created_by_id: z.string().optional(),
1111
- updated_by_id: z.string().optional(),
1112
- project_id: z.string(),
1113
- workspace_id: z.string(),
1114
- created: z.string(),
1115
- updated: z.string(),
1116
- status: GetAllToolsDataToolsStatus$inboundSchema.default("live"),
1117
- type: z.literal("http"),
1118
- http: z.lazy(() => GetAllToolsDataHttp$inboundSchema),
1119
- }).transform((v) => {
1120
- return remap$(v, {
1121
- "_id": "id",
1122
- "display_name": "displayName",
1123
- "created_by_id": "createdById",
1124
- "updated_by_id": "updatedById",
1125
- "project_id": "projectId",
1126
- "workspace_id": "workspaceId",
1127
- });
1128
- });
1129
-
1130
- export function dataHTTPToolFromJSON(
1131
- jsonString: string,
1132
- ): SafeParseResult<DataHTTPTool, SDKValidationError> {
1133
- return safeParse(
1134
- jsonString,
1135
- (x) => DataHTTPTool$inboundSchema.parse(JSON.parse(x)),
1136
- `Failed to parse 'DataHTTPTool' from JSON`,
1137
- );
1138
- }
1139
-
1140
- /** @internal */
1141
- export const GetAllToolsDataStatus$inboundSchema: z.ZodNativeEnum<
1142
- typeof GetAllToolsDataStatus
1143
- > = z.nativeEnum(GetAllToolsDataStatus);
1144
-
1145
- /** @internal */
1146
- export const DataSchema$inboundSchema: z.ZodType<
1147
- DataSchema,
1148
- z.ZodTypeDef,
1149
- unknown
1150
- > = collectExtraKeys$(
1151
- z.object({
1152
- type: z.string(),
1153
- properties: z.record(z.any()),
1154
- required: z.array(z.string()),
1155
- }).catchall(z.any()),
1156
- "additionalProperties",
1157
- true,
1158
- );
1159
-
1160
- export function dataSchemaFromJSON(
1161
- jsonString: string,
1162
- ): SafeParseResult<DataSchema, SDKValidationError> {
1163
- return safeParse(
1164
- jsonString,
1165
- (x) => DataSchema$inboundSchema.parse(JSON.parse(x)),
1166
- `Failed to parse 'DataSchema' from JSON`,
1167
- );
1168
- }
1169
-
1170
- /** @internal */
1171
- export const DataJsonSchema$inboundSchema: z.ZodType<
1172
- DataJsonSchema,
1173
- z.ZodTypeDef,
1174
- unknown
1175
- > = z.object({
1176
- name: z.string(),
1177
- description: z.string(),
1178
- schema: z.lazy(() => DataSchema$inboundSchema),
1179
- strict: z.boolean().optional(),
1180
- });
1181
-
1182
- export function dataJsonSchemaFromJSON(
1183
- jsonString: string,
1184
- ): SafeParseResult<DataJsonSchema, SDKValidationError> {
1185
- return safeParse(
1186
- jsonString,
1187
- (x) => DataJsonSchema$inboundSchema.parse(JSON.parse(x)),
1188
- `Failed to parse 'DataJsonSchema' from JSON`,
1189
- );
1190
- }
1191
-
1192
- /** @internal */
1193
- export const DataJSONSchemaTool$inboundSchema: z.ZodType<
1194
- DataJSONSchemaTool,
1195
- z.ZodTypeDef,
1196
- unknown
1197
- > = z.object({
1198
- _id: z.string().default("tool_01KT9EQS7XZ2V1DR3JZYCTJGDQ"),
1199
- path: z.string(),
1200
- key: z.string(),
1201
- display_name: z.string().optional(),
1202
- description: z.string(),
1203
- created_by_id: z.string().optional(),
1204
- updated_by_id: z.string().optional(),
1205
- project_id: z.string(),
1206
- workspace_id: z.string(),
1207
- created: z.string(),
1208
- updated: z.string(),
1209
- status: GetAllToolsDataStatus$inboundSchema.default("live"),
1210
- type: z.literal("json_schema"),
1211
- json_schema: z.lazy(() => DataJsonSchema$inboundSchema),
1212
- }).transform((v) => {
1213
- return remap$(v, {
1214
- "_id": "id",
1215
- "display_name": "displayName",
1216
- "created_by_id": "createdById",
1217
- "updated_by_id": "updatedById",
1218
- "project_id": "projectId",
1219
- "workspace_id": "workspaceId",
1220
- "json_schema": "jsonSchema",
1221
- });
1222
- });
1223
-
1224
- export function dataJSONSchemaToolFromJSON(
1225
- jsonString: string,
1226
- ): SafeParseResult<DataJSONSchemaTool, SDKValidationError> {
1227
- return safeParse(
1228
- jsonString,
1229
- (x) => DataJSONSchemaTool$inboundSchema.parse(JSON.parse(x)),
1230
- `Failed to parse 'DataJSONSchemaTool' from JSON`,
1231
- );
1232
- }
1233
-
1234
- /** @internal */
1235
- export const DataStatus$inboundSchema: z.ZodNativeEnum<typeof DataStatus> = z
1236
- .nativeEnum(DataStatus);
1237
-
1238
- /** @internal */
1239
- export const GetAllToolsDataToolsResponse200ApplicationJSONResponseBodyType$inboundSchema:
1240
- z.ZodNativeEnum<
1241
- typeof GetAllToolsDataToolsResponse200ApplicationJSONResponseBodyType
1242
- > = z.nativeEnum(
1243
- GetAllToolsDataToolsResponse200ApplicationJSONResponseBodyType,
1244
- );
1245
-
1246
- /** @internal */
1247
- export const DataParameters$inboundSchema: z.ZodType<
1248
- DataParameters,
1249
- z.ZodTypeDef,
1250
- unknown
1251
- > = collectExtraKeys$(
1252
- z.object({
1253
- type:
1254
- GetAllToolsDataToolsResponse200ApplicationJSONResponseBodyType$inboundSchema,
1255
- properties: z.record(z.any()),
1256
- required: z.array(z.string()),
1257
- }).catchall(z.any()),
1258
- "additionalProperties",
1259
- true,
1260
- );
1261
-
1262
- export function dataParametersFromJSON(
1263
- jsonString: string,
1264
- ): SafeParseResult<DataParameters, SDKValidationError> {
1265
- return safeParse(
1266
- jsonString,
1267
- (x) => DataParameters$inboundSchema.parse(JSON.parse(x)),
1268
- `Failed to parse 'DataParameters' from JSON`,
1269
- );
1270
- }
1271
-
1272
- /** @internal */
1273
- export const GetAllToolsDataFunction$inboundSchema: z.ZodType<
1274
- GetAllToolsDataFunction,
1275
- z.ZodTypeDef,
1276
- unknown
1277
- > = z.object({
1278
- name: z.string(),
1279
- description: z.string().optional(),
1280
- strict: z.boolean().optional(),
1281
- parameters: z.lazy(() => DataParameters$inboundSchema).optional(),
1282
- });
1283
-
1284
- export function getAllToolsDataFunctionFromJSON(
1285
- jsonString: string,
1286
- ): SafeParseResult<GetAllToolsDataFunction, SDKValidationError> {
1287
- return safeParse(
1288
- jsonString,
1289
- (x) => GetAllToolsDataFunction$inboundSchema.parse(JSON.parse(x)),
1290
- `Failed to parse 'GetAllToolsDataFunction' from JSON`,
1291
- );
1292
- }
1293
-
1294
- /** @internal */
1295
- export const DataFunctionTool$inboundSchema: z.ZodType<
1296
- DataFunctionTool,
1297
- z.ZodTypeDef,
1298
- unknown
1299
- > = z.object({
1300
- _id: z.string().default("tool_01KT9EQS7SZVGWHJ37MN2DP8CH"),
1301
- path: z.string(),
1302
- key: z.string(),
1303
- display_name: z.string().optional(),
1304
- description: z.string(),
1305
- created_by_id: z.string().optional(),
1306
- updated_by_id: z.string().optional(),
1307
- project_id: z.string(),
1308
- workspace_id: z.string(),
1309
- created: z.string(),
1310
- updated: z.string(),
1311
- status: DataStatus$inboundSchema.default("live"),
1312
- type: z.literal("function"),
1313
- function: z.lazy(() => GetAllToolsDataFunction$inboundSchema),
1314
- }).transform((v) => {
1315
- return remap$(v, {
1316
- "_id": "id",
1317
- "display_name": "displayName",
1318
- "created_by_id": "createdById",
1319
- "updated_by_id": "updatedById",
1320
- "project_id": "projectId",
1321
- "workspace_id": "workspaceId",
1322
- });
1323
- });
1324
-
1325
- export function dataFunctionToolFromJSON(
1326
- jsonString: string,
1327
- ): SafeParseResult<DataFunctionTool, SDKValidationError> {
1328
- return safeParse(
1329
- jsonString,
1330
- (x) => DataFunctionTool$inboundSchema.parse(JSON.parse(x)),
1331
- `Failed to parse 'DataFunctionTool' from JSON`,
1332
- );
1333
- }
1334
-
1335
- /** @internal */
1336
- export const GetAllToolsData$inboundSchema: z.ZodType<
1337
- GetAllToolsData,
1338
- z.ZodTypeDef,
1339
- unknown
1340
- > = z.union([
1341
- z.lazy(() => DataFunctionTool$inboundSchema),
1342
- z.lazy(() => DataJSONSchemaTool$inboundSchema),
1343
- z.lazy(() => DataHTTPTool$inboundSchema),
1344
- z.lazy(() => DataMCPTool$inboundSchema),
1345
- z.lazy(() => DataCodeExecutionTool$inboundSchema),
1346
- ]);
1347
-
1348
- export function getAllToolsDataFromJSON(
1349
- jsonString: string,
1350
- ): SafeParseResult<GetAllToolsData, SDKValidationError> {
1351
- return safeParse(
1352
- jsonString,
1353
- (x) => GetAllToolsData$inboundSchema.parse(JSON.parse(x)),
1354
- `Failed to parse 'GetAllToolsData' from JSON`,
1355
- );
1356
- }
1357
-
1358
- /** @internal */
1359
- export const GetAllToolsResponseBody$inboundSchema: z.ZodType<
1360
- GetAllToolsResponseBody,
1361
- z.ZodTypeDef,
1362
- unknown
1363
- > = z.object({
1364
- object: GetAllToolsObject$inboundSchema,
1365
- data: z.array(
1366
- z.union([
1367
- z.lazy(() => DataFunctionTool$inboundSchema),
1368
- z.lazy(() => DataJSONSchemaTool$inboundSchema),
1369
- z.lazy(() => DataHTTPTool$inboundSchema),
1370
- z.lazy(() => DataMCPTool$inboundSchema),
1371
- z.lazy(() => DataCodeExecutionTool$inboundSchema),
1372
- ]),
1373
- ),
1374
- has_more: z.boolean(),
1375
- }).transform((v) => {
1376
- return remap$(v, {
1377
- "has_more": "hasMore",
1378
- });
1379
- });
1380
-
1381
- export function getAllToolsResponseBodyFromJSON(
1382
- jsonString: string,
1383
- ): SafeParseResult<GetAllToolsResponseBody, SDKValidationError> {
1384
- return safeParse(
1385
- jsonString,
1386
- (x) => GetAllToolsResponseBody$inboundSchema.parse(JSON.parse(x)),
1387
- `Failed to parse 'GetAllToolsResponseBody' from JSON`,
1388
- );
1389
- }