@orq-ai/node 4.13.1 → 4.14.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 (1118) 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/package.json +3 -2
  6. package/sdk/feedback.d.ts +2 -2
  7. package/sdk/feedback.js +2 -2
  8. package/src/lib/config.ts +2 -2
  9. package/src/sdk/feedback.ts +2 -2
  10. package/packages/orq-rc/examples/evalsAll.example.ts +0 -26
  11. package/packages/orq-rc/src/core.ts +0 -13
  12. package/packages/orq-rc/src/funcs/agentsCreate.ts +0 -163
  13. package/packages/orq-rc/src/funcs/agentsDelete.ts +0 -181
  14. package/packages/orq-rc/src/funcs/agentsInvoke.ts +0 -178
  15. package/packages/orq-rc/src/funcs/agentsList.ts +0 -186
  16. package/packages/orq-rc/src/funcs/agentsResponsesCreate.ts +0 -189
  17. package/packages/orq-rc/src/funcs/agentsResponsesGet.ts +0 -185
  18. package/packages/orq-rc/src/funcs/agentsRetrieve.ts +0 -181
  19. package/packages/orq-rc/src/funcs/agentsRun.ts +0 -164
  20. package/packages/orq-rc/src/funcs/agentsStream.ts +0 -205
  21. package/packages/orq-rc/src/funcs/agentsStreamRun.ts +0 -191
  22. package/packages/orq-rc/src/funcs/agentsUpdate.ts +0 -185
  23. package/packages/orq-rc/src/funcs/alertsCreate.ts +0 -162
  24. package/packages/orq-rc/src/funcs/alertsDelete.ts +0 -168
  25. package/packages/orq-rc/src/funcs/alertsGet.ts +0 -168
  26. package/packages/orq-rc/src/funcs/alertsList.ts +0 -171
  27. package/packages/orq-rc/src/funcs/alertsListTriggerEvents.ts +0 -182
  28. package/packages/orq-rc/src/funcs/alertsListTriggers.ts +0 -175
  29. package/packages/orq-rc/src/funcs/alertsUpdate.ts +0 -171
  30. package/packages/orq-rc/src/funcs/annotationQueuesAddItems.ts +0 -176
  31. package/packages/orq-rc/src/funcs/annotationQueuesClear.ts +0 -172
  32. package/packages/orq-rc/src/funcs/annotationQueuesCreate.ts +0 -163
  33. package/packages/orq-rc/src/funcs/annotationQueuesDelete.ts +0 -169
  34. package/packages/orq-rc/src/funcs/annotationQueuesList.ts +0 -173
  35. package/packages/orq-rc/src/funcs/annotationQueuesListItems.ts +0 -178
  36. package/packages/orq-rc/src/funcs/annotationQueuesRemoveItems.ts +0 -173
  37. package/packages/orq-rc/src/funcs/annotationQueuesRetrieve.ts +0 -171
  38. package/packages/orq-rc/src/funcs/annotationQueuesRetrieveItem.ts +0 -178
  39. package/packages/orq-rc/src/funcs/annotationQueuesUpdate.ts +0 -169
  40. package/packages/orq-rc/src/funcs/annotationsCreate.ts +0 -175
  41. package/packages/orq-rc/src/funcs/annotationsDelete.ts +0 -175
  42. package/packages/orq-rc/src/funcs/apiKeysCreate.ts +0 -162
  43. package/packages/orq-rc/src/funcs/apiKeysDelete.ts +0 -168
  44. package/packages/orq-rc/src/funcs/apiKeysGet.ts +0 -173
  45. package/packages/orq-rc/src/funcs/apiKeysList.ts +0 -177
  46. package/packages/orq-rc/src/funcs/apiKeysListCapabilities.ts +0 -144
  47. package/packages/orq-rc/src/funcs/apiKeysUpdate.ts +0 -171
  48. package/packages/orq-rc/src/funcs/budgetsCreate.ts +0 -162
  49. package/packages/orq-rc/src/funcs/budgetsDelete.ts +0 -168
  50. package/packages/orq-rc/src/funcs/budgetsGet.ts +0 -168
  51. package/packages/orq-rc/src/funcs/budgetsList.ts +0 -176
  52. package/packages/orq-rc/src/funcs/budgetsResetConsumption.ts +0 -174
  53. package/packages/orq-rc/src/funcs/budgetsUpdate.ts +0 -171
  54. package/packages/orq-rc/src/funcs/chunkingParse.ts +0 -162
  55. package/packages/orq-rc/src/funcs/datasetsClear.ts +0 -177
  56. package/packages/orq-rc/src/funcs/datasetsCreate.ts +0 -167
  57. package/packages/orq-rc/src/funcs/datasetsCreateDatapoint.ts +0 -172
  58. package/packages/orq-rc/src/funcs/datasetsDelete.ts +0 -168
  59. package/packages/orq-rc/src/funcs/datasetsDeleteDatapoint.ts +0 -183
  60. package/packages/orq-rc/src/funcs/datasetsList.ts +0 -171
  61. package/packages/orq-rc/src/funcs/datasetsListDatapoints.ts +0 -184
  62. package/packages/orq-rc/src/funcs/datasetsRetrieve.ts +0 -176
  63. package/packages/orq-rc/src/funcs/datasetsRetrieveDatapoint.ts +0 -182
  64. package/packages/orq-rc/src/funcs/datasetsUpdate.ts +0 -177
  65. package/packages/orq-rc/src/funcs/datasetsUpdateDatapoint.ts +0 -180
  66. package/packages/orq-rc/src/funcs/deploymentsGetConfig.ts +0 -170
  67. package/packages/orq-rc/src/funcs/deploymentsInvoke.ts +0 -170
  68. package/packages/orq-rc/src/funcs/deploymentsList.ts +0 -178
  69. package/packages/orq-rc/src/funcs/deploymentsStream.ts +0 -180
  70. package/packages/orq-rc/src/funcs/evalsAll.ts +0 -178
  71. package/packages/orq-rc/src/funcs/evalsCreate.ts +0 -171
  72. package/packages/orq-rc/src/funcs/evalsDelete.ts +0 -178
  73. package/packages/orq-rc/src/funcs/evalsGet.ts +0 -180
  74. package/packages/orq-rc/src/funcs/evalsInvoke.ts +0 -182
  75. package/packages/orq-rc/src/funcs/evalsListVersions.ts +0 -184
  76. package/packages/orq-rc/src/funcs/evalsUpdate.ts +0 -174
  77. package/packages/orq-rc/src/funcs/feedbackCreate.ts +0 -174
  78. package/packages/orq-rc/src/funcs/feedbackCreateEvaluation.ts +0 -161
  79. package/packages/orq-rc/src/funcs/feedbackRemove.ts +0 -169
  80. package/packages/orq-rc/src/funcs/feedbackRemoveEvaluation.ts +0 -161
  81. package/packages/orq-rc/src/funcs/filesCreate.ts +0 -162
  82. package/packages/orq-rc/src/funcs/filesDelete.ts +0 -168
  83. package/packages/orq-rc/src/funcs/filesGet.ts +0 -168
  84. package/packages/orq-rc/src/funcs/filesGetContent.ts +0 -168
  85. package/packages/orq-rc/src/funcs/filesList.ts +0 -172
  86. package/packages/orq-rc/src/funcs/filesUpdate.ts +0 -169
  87. package/packages/orq-rc/src/funcs/guardrailRulesCreate.ts +0 -163
  88. package/packages/orq-rc/src/funcs/guardrailRulesDelete.ts +0 -172
  89. package/packages/orq-rc/src/funcs/guardrailRulesList.ts +0 -176
  90. package/packages/orq-rc/src/funcs/guardrailRulesListUsedGuardrails.ts +0 -147
  91. package/packages/orq-rc/src/funcs/guardrailRulesRetrieve.ts +0 -170
  92. package/packages/orq-rc/src/funcs/guardrailRulesUpdate.ts +0 -172
  93. package/packages/orq-rc/src/funcs/humanReviewSetsCreate.ts +0 -164
  94. package/packages/orq-rc/src/funcs/humanReviewSetsDelete.ts +0 -166
  95. package/packages/orq-rc/src/funcs/humanReviewSetsGet.ts +0 -165
  96. package/packages/orq-rc/src/funcs/humanReviewSetsList.ts +0 -170
  97. package/packages/orq-rc/src/funcs/humanReviewSetsUpdate.ts +0 -166
  98. package/packages/orq-rc/src/funcs/identitiesCreate.ts +0 -162
  99. package/packages/orq-rc/src/funcs/identitiesDelete.ts +0 -168
  100. package/packages/orq-rc/src/funcs/identitiesList.ts +0 -175
  101. package/packages/orq-rc/src/funcs/identitiesRetrieve.ts +0 -174
  102. package/packages/orq-rc/src/funcs/identitiesUpdate.ts +0 -171
  103. package/packages/orq-rc/src/funcs/knowledgeCreate.ts +0 -160
  104. package/packages/orq-rc/src/funcs/knowledgeCreateChunks.ts +0 -172
  105. package/packages/orq-rc/src/funcs/knowledgeCreateDatasource.ts +0 -167
  106. package/packages/orq-rc/src/funcs/knowledgeDelete.ts +0 -168
  107. package/packages/orq-rc/src/funcs/knowledgeDeleteChunk.ts +0 -175
  108. package/packages/orq-rc/src/funcs/knowledgeDeleteChunks.ts +0 -171
  109. package/packages/orq-rc/src/funcs/knowledgeDeleteDatasource.ts +0 -174
  110. package/packages/orq-rc/src/funcs/knowledgeGetChunksCount.ts +0 -174
  111. package/packages/orq-rc/src/funcs/knowledgeList.ts +0 -175
  112. package/packages/orq-rc/src/funcs/knowledgeListChunks.ts +0 -179
  113. package/packages/orq-rc/src/funcs/knowledgeListChunksPaginated.ts +0 -172
  114. package/packages/orq-rc/src/funcs/knowledgeListDatasources.ts +0 -176
  115. package/packages/orq-rc/src/funcs/knowledgeRetrieve.ts +0 -167
  116. package/packages/orq-rc/src/funcs/knowledgeRetrieveChunk.ts +0 -174
  117. package/packages/orq-rc/src/funcs/knowledgeRetrieveDatasource.ts +0 -170
  118. package/packages/orq-rc/src/funcs/knowledgeSearch.ts +0 -168
  119. package/packages/orq-rc/src/funcs/knowledgeUpdate.ts +0 -165
  120. package/packages/orq-rc/src/funcs/knowledgeUpdateChunk.ts +0 -175
  121. package/packages/orq-rc/src/funcs/knowledgeUpdateDatasource.ts +0 -171
  122. package/packages/orq-rc/src/funcs/logsAggregate.ts +0 -162
  123. package/packages/orq-rc/src/funcs/logsContext.ts +0 -171
  124. package/packages/orq-rc/src/funcs/logsFindPatterns.ts +0 -162
  125. package/packages/orq-rc/src/funcs/logsGet.ts +0 -168
  126. package/packages/orq-rc/src/funcs/logsListFacetValues.ts +0 -176
  127. package/packages/orq-rc/src/funcs/logsListFacets.ts +0 -171
  128. package/packages/orq-rc/src/funcs/logsListFields.ts +0 -144
  129. package/packages/orq-rc/src/funcs/logsListTraceLogs.ts +0 -174
  130. package/packages/orq-rc/src/funcs/logsQuery.ts +0 -162
  131. package/packages/orq-rc/src/funcs/logsSearch.ts +0 -162
  132. package/packages/orq-rc/src/funcs/managementKeysCreate.ts +0 -163
  133. package/packages/orq-rc/src/funcs/managementKeysDelete.ts +0 -172
  134. package/packages/orq-rc/src/funcs/managementKeysGet.ts +0 -171
  135. package/packages/orq-rc/src/funcs/managementKeysList.ts +0 -175
  136. package/packages/orq-rc/src/funcs/managementKeysListCapabilities.ts +0 -144
  137. package/packages/orq-rc/src/funcs/managementKeysUpdate.ts +0 -175
  138. package/packages/orq-rc/src/funcs/memoryStoresCreate.ts +0 -164
  139. package/packages/orq-rc/src/funcs/memoryStoresCreateDocument.ts +0 -177
  140. package/packages/orq-rc/src/funcs/memoryStoresCreateMemory.ts +0 -171
  141. package/packages/orq-rc/src/funcs/memoryStoresDelete.ts +0 -169
  142. package/packages/orq-rc/src/funcs/memoryStoresDeleteDocument.ts +0 -186
  143. package/packages/orq-rc/src/funcs/memoryStoresDeleteMemory.ts +0 -181
  144. package/packages/orq-rc/src/funcs/memoryStoresList.ts +0 -183
  145. package/packages/orq-rc/src/funcs/memoryStoresListDocuments.ts +0 -185
  146. package/packages/orq-rc/src/funcs/memoryStoresListMemories.ts +0 -178
  147. package/packages/orq-rc/src/funcs/memoryStoresRetrieve.ts +0 -178
  148. package/packages/orq-rc/src/funcs/memoryStoresRetrieveDocument.ts +0 -180
  149. package/packages/orq-rc/src/funcs/memoryStoresRetrieveMemory.ts +0 -175
  150. package/packages/orq-rc/src/funcs/memoryStoresUpdate.ts +0 -169
  151. package/packages/orq-rc/src/funcs/memoryStoresUpdateDocument.ts +0 -181
  152. package/packages/orq-rc/src/funcs/memoryStoresUpdateMemory.ts +0 -176
  153. package/packages/orq-rc/src/funcs/modelsAzureFoundryDeployments.ts +0 -168
  154. package/packages/orq-rc/src/funcs/modelsCreate.ts +0 -162
  155. package/packages/orq-rc/src/funcs/modelsCreateAwsBedrock.ts +0 -163
  156. package/packages/orq-rc/src/funcs/modelsCreateOpenaiLike.ts +0 -163
  157. package/packages/orq-rc/src/funcs/modelsCreateVertex.ts +0 -163
  158. package/packages/orq-rc/src/funcs/modelsDelete.ts +0 -168
  159. package/packages/orq-rc/src/funcs/modelsDisable.ts +0 -168
  160. package/packages/orq-rc/src/funcs/modelsEnable.ts +0 -163
  161. package/packages/orq-rc/src/funcs/modelsImportLitellm.ts +0 -166
  162. package/packages/orq-rc/src/funcs/modelsList.ts +0 -144
  163. package/packages/orq-rc/src/funcs/modelsListLitellm.ts +0 -144
  164. package/packages/orq-rc/src/funcs/modelsUpdate.ts +0 -168
  165. package/packages/orq-rc/src/funcs/modelsUpdateAwsBedrock.ts +0 -169
  166. package/packages/orq-rc/src/funcs/modelsUpdateOpenaiLike.ts +0 -169
  167. package/packages/orq-rc/src/funcs/modelsValidate.ts +0 -163
  168. package/packages/orq-rc/src/funcs/modelsValidateAwsBedrock.ts +0 -164
  169. package/packages/orq-rc/src/funcs/notifiersCreate.ts +0 -162
  170. package/packages/orq-rc/src/funcs/notifiersDelete.ts +0 -168
  171. package/packages/orq-rc/src/funcs/notifiersGet.ts +0 -168
  172. package/packages/orq-rc/src/funcs/notifiersList.ts +0 -173
  173. package/packages/orq-rc/src/funcs/notifiersUpdate.ts +0 -171
  174. package/packages/orq-rc/src/funcs/peopleCreate.ts +0 -162
  175. package/packages/orq-rc/src/funcs/peopleDelete.ts +0 -168
  176. package/packages/orq-rc/src/funcs/peopleGet.ts +0 -168
  177. package/packages/orq-rc/src/funcs/peopleList.ts +0 -170
  178. package/packages/orq-rc/src/funcs/peopleResendInvitation.ts +0 -172
  179. package/packages/orq-rc/src/funcs/peopleUpdate.ts +0 -171
  180. package/packages/orq-rc/src/funcs/piiDetect.ts +0 -162
  181. package/packages/orq-rc/src/funcs/piiRedact.ts +0 -162
  182. package/packages/orq-rc/src/funcs/piiRestore.ts +0 -162
  183. package/packages/orq-rc/src/funcs/policiesCreate.ts +0 -162
  184. package/packages/orq-rc/src/funcs/policiesDelete.ts +0 -168
  185. package/packages/orq-rc/src/funcs/policiesList.ts +0 -170
  186. package/packages/orq-rc/src/funcs/policiesRetrieve.ts +0 -167
  187. package/packages/orq-rc/src/funcs/policiesUpdate.ts +0 -168
  188. package/packages/orq-rc/src/funcs/projectsCreate.ts +0 -162
  189. package/packages/orq-rc/src/funcs/projectsDelete.ts +0 -168
  190. package/packages/orq-rc/src/funcs/projectsGet.ts +0 -168
  191. package/packages/orq-rc/src/funcs/projectsList.ts +0 -170
  192. package/packages/orq-rc/src/funcs/projectsUpdate.ts +0 -171
  193. package/packages/orq-rc/src/funcs/promptsCreate.ts +0 -163
  194. package/packages/orq-rc/src/funcs/promptsDelete.ts +0 -174
  195. package/packages/orq-rc/src/funcs/promptsGetVersion.ts +0 -182
  196. package/packages/orq-rc/src/funcs/promptsList.ts +0 -169
  197. package/packages/orq-rc/src/funcs/promptsListVersions.ts +0 -174
  198. package/packages/orq-rc/src/funcs/promptsRetrieve.ts +0 -167
  199. package/packages/orq-rc/src/funcs/promptsUpdate.ts +0 -174
  200. package/packages/orq-rc/src/funcs/reportingQuery.ts +0 -162
  201. package/packages/orq-rc/src/funcs/responsesCreate.ts +0 -170
  202. package/packages/orq-rc/src/funcs/responsesGet.ts +0 -176
  203. package/packages/orq-rc/src/funcs/routerAudioSpeechCreate.ts +0 -163
  204. package/packages/orq-rc/src/funcs/routerAudioTranscriptionsCreate.ts +0 -272
  205. package/packages/orq-rc/src/funcs/routerAudioTranslationsCreate.ts +0 -262
  206. package/packages/orq-rc/src/funcs/routerChatCompletionsCreate.ts +0 -170
  207. package/packages/orq-rc/src/funcs/routerCompletionsCreate.ts +0 -170
  208. package/packages/orq-rc/src/funcs/routerEmbeddingsCreate.ts +0 -163
  209. package/packages/orq-rc/src/funcs/routerImagesEditsCreate.ts +0 -224
  210. package/packages/orq-rc/src/funcs/routerImagesGenerationsCreate.ts +0 -162
  211. package/packages/orq-rc/src/funcs/routerImagesVariationsCreate.ts +0 -220
  212. package/packages/orq-rc/src/funcs/routerModerationsCreate.ts +0 -169
  213. package/packages/orq-rc/src/funcs/routerOcr.ts +0 -160
  214. package/packages/orq-rc/src/funcs/routerRerankCreate.ts +0 -162
  215. package/packages/orq-rc/src/funcs/routingRulesCreate.ts +0 -163
  216. package/packages/orq-rc/src/funcs/routingRulesDelete.ts +0 -168
  217. package/packages/orq-rc/src/funcs/routingRulesList.ts +0 -173
  218. package/packages/orq-rc/src/funcs/routingRulesListUsedModels.ts +0 -144
  219. package/packages/orq-rc/src/funcs/routingRulesRetrieve.ts +0 -167
  220. package/packages/orq-rc/src/funcs/routingRulesUpdate.ts +0 -168
  221. package/packages/orq-rc/src/funcs/schedulesCreate.ts +0 -185
  222. package/packages/orq-rc/src/funcs/schedulesDelete.ts +0 -184
  223. package/packages/orq-rc/src/funcs/schedulesList.ts +0 -167
  224. package/packages/orq-rc/src/funcs/schedulesRetrieve.ts +0 -183
  225. package/packages/orq-rc/src/funcs/schedulesTrigger.ts +0 -190
  226. package/packages/orq-rc/src/funcs/schedulesUpdate.ts +0 -191
  227. package/packages/orq-rc/src/funcs/skillsCreate.ts +0 -162
  228. package/packages/orq-rc/src/funcs/skillsDelete.ts +0 -168
  229. package/packages/orq-rc/src/funcs/skillsGet.ts +0 -168
  230. package/packages/orq-rc/src/funcs/skillsList.ts +0 -170
  231. package/packages/orq-rc/src/funcs/skillsUpdate.ts +0 -171
  232. package/packages/orq-rc/src/funcs/smartRoutersCreate.ts +0 -162
  233. package/packages/orq-rc/src/funcs/smartRoutersDelete.ts +0 -168
  234. package/packages/orq-rc/src/funcs/smartRoutersGet.ts +0 -168
  235. package/packages/orq-rc/src/funcs/smartRoutersList.ts +0 -173
  236. package/packages/orq-rc/src/funcs/smartRoutersUpdate.ts +0 -179
  237. package/packages/orq-rc/src/funcs/toolsCreate.ts +0 -165
  238. package/packages/orq-rc/src/funcs/toolsDelete.ts +0 -168
  239. package/packages/orq-rc/src/funcs/toolsGetVersion.ts +0 -191
  240. package/packages/orq-rc/src/funcs/toolsList.ts +0 -178
  241. package/packages/orq-rc/src/funcs/toolsListVersions.ts +0 -184
  242. package/packages/orq-rc/src/funcs/toolsRetrieve.ts +0 -167
  243. package/packages/orq-rc/src/funcs/toolsUpdate.ts +0 -177
  244. package/packages/orq-rc/src/funcs/tracesAggregate.ts +0 -162
  245. package/packages/orq-rc/src/funcs/tracesGet.ts +0 -168
  246. package/packages/orq-rc/src/funcs/tracesGetSpan.ts +0 -172
  247. package/packages/orq-rc/src/funcs/tracesListFacetValues.ts +0 -177
  248. package/packages/orq-rc/src/funcs/tracesListFacets.ts +0 -144
  249. package/packages/orq-rc/src/funcs/tracesListFields.ts +0 -144
  250. package/packages/orq-rc/src/funcs/tracesListSpans.ts +0 -174
  251. package/packages/orq-rc/src/funcs/tracesQuery.ts +0 -162
  252. package/packages/orq-rc/src/funcs/tracesSearch.ts +0 -162
  253. package/packages/orq-rc/src/funcs/webhooksCount.ts +0 -144
  254. package/packages/orq-rc/src/funcs/webhooksCreate.ts +0 -162
  255. package/packages/orq-rc/src/funcs/webhooksDelete.ts +0 -168
  256. package/packages/orq-rc/src/funcs/webhooksGenerateSecret.ts +0 -144
  257. package/packages/orq-rc/src/funcs/webhooksGet.ts +0 -168
  258. package/packages/orq-rc/src/funcs/webhooksList.ts +0 -175
  259. package/packages/orq-rc/src/funcs/webhooksQuery.ts +0 -164
  260. package/packages/orq-rc/src/funcs/webhooksUpdate.ts +0 -168
  261. package/packages/orq-rc/src/funcs/workspaceSettingsGet.ts +0 -144
  262. package/packages/orq-rc/src/funcs/workspaceSettingsUpdate.ts +0 -163
  263. package/packages/orq-rc/src/hooks/global.ts +0 -44
  264. package/packages/orq-rc/src/hooks/hooks.ts +0 -132
  265. package/packages/orq-rc/src/hooks/index.ts +0 -6
  266. package/packages/orq-rc/src/hooks/registration.ts +0 -15
  267. package/packages/orq-rc/src/hooks/types.ts +0 -113
  268. package/packages/orq-rc/src/index.ts +0 -9
  269. package/packages/orq-rc/src/lib/base64.ts +0 -37
  270. package/packages/orq-rc/src/lib/config.ts +0 -64
  271. package/packages/orq-rc/src/lib/encodings.ts +0 -525
  272. package/packages/orq-rc/src/lib/env.ts +0 -61
  273. package/packages/orq-rc/src/lib/event-streams.ts +0 -191
  274. package/packages/orq-rc/src/lib/files.ts +0 -104
  275. package/packages/orq-rc/src/lib/http.ts +0 -325
  276. package/packages/orq-rc/src/lib/logger.ts +0 -9
  277. package/packages/orq-rc/src/lib/matchers.ts +0 -346
  278. package/packages/orq-rc/src/lib/primitives.ts +0 -166
  279. package/packages/orq-rc/src/lib/retries.ts +0 -226
  280. package/packages/orq-rc/src/lib/schemas.ts +0 -91
  281. package/packages/orq-rc/src/lib/sdks.ts +0 -443
  282. package/packages/orq-rc/src/lib/security.ts +0 -280
  283. package/packages/orq-rc/src/lib/url.ts +0 -35
  284. package/packages/orq-rc/src/models/components/actionreviewedstreamingevent.ts +0 -99
  285. package/packages/orq-rc/src/models/components/actionreviewrequestedstreamingevent.ts +0 -190
  286. package/packages/orq-rc/src/models/components/agenterroredstreamingevent.ts +0 -73
  287. package/packages/orq-rc/src/models/components/agentexecutionstartedstreamingevent.ts +0 -91
  288. package/packages/orq-rc/src/models/components/agenthandedoffstreamingevent.ts +0 -71
  289. package/packages/orq-rc/src/models/components/agentinactivestreamingevent.ts +0 -507
  290. package/packages/orq-rc/src/models/components/agentmessagecreatedstreamingevent.ts +0 -165
  291. package/packages/orq-rc/src/models/components/agentresponsemessage.ts +0 -103
  292. package/packages/orq-rc/src/models/components/agentresponserequest.ts +0 -565
  293. package/packages/orq-rc/src/models/components/agentstartedstreamingevent.ts +0 -531
  294. package/packages/orq-rc/src/models/components/agentthoughtstreamingevent.ts +0 -807
  295. package/packages/orq-rc/src/models/components/agenttoolinputcrud.ts +0 -853
  296. package/packages/orq-rc/src/models/components/aggregatebucket.ts +0 -45
  297. package/packages/orq-rc/src/models/components/aggregatelogsrequest.ts +0 -52
  298. package/packages/orq-rc/src/models/components/aggregatelogsresponse.ts +0 -37
  299. package/packages/orq-rc/src/models/components/aggregatetracesrequest.ts +0 -65
  300. package/packages/orq-rc/src/models/components/aggregatetracesresponse.ts +0 -37
  301. package/packages/orq-rc/src/models/components/alert.ts +0 -181
  302. package/packages/orq-rc/src/models/components/alertcondition.ts +0 -207
  303. package/packages/orq-rc/src/models/components/alertevidence.ts +0 -56
  304. package/packages/orq-rc/src/models/components/alertquery.ts +0 -67
  305. package/packages/orq-rc/src/models/components/alertrun.ts +0 -76
  306. package/packages/orq-rc/src/models/components/alerttrigger.ts +0 -149
  307. package/packages/orq-rc/src/models/components/alerttriggerevent.ts +0 -67
  308. package/packages/orq-rc/src/models/components/allprojects.ts +0 -21
  309. package/packages/orq-rc/src/models/components/apierror.ts +0 -39
  310. package/packages/orq-rc/src/models/components/apikeybudgetscope.ts +0 -66
  311. package/packages/orq-rc/src/models/components/apikeybudgetscoperestresponse.ts +0 -37
  312. package/packages/orq-rc/src/models/components/apikeyowner.ts +0 -55
  313. package/packages/orq-rc/src/models/components/apikeyrestresponse.ts +0 -119
  314. package/packages/orq-rc/src/models/components/apikeystatus.ts +0 -18
  315. package/packages/orq-rc/src/models/components/audiocontentpartschema.ts +0 -136
  316. package/packages/orq-rc/src/models/components/autorouterconfig.ts +0 -92
  317. package/packages/orq-rc/src/models/components/autorouterv2config.ts +0 -152
  318. package/packages/orq-rc/src/models/components/autorouterv2creatorconfig.ts +0 -59
  319. package/packages/orq-rc/src/models/components/autorouterv2effortconfig.ts +0 -66
  320. package/packages/orq-rc/src/models/components/azurefoundrydeployment.ts +0 -51
  321. package/packages/orq-rc/src/models/components/azurefoundrydeploymentmasterdata.ts +0 -60
  322. package/packages/orq-rc/src/models/components/budgetalert.ts +0 -92
  323. package/packages/orq-rc/src/models/components/budgetalertdimension.ts +0 -22
  324. package/packages/orq-rc/src/models/components/budgetalertrestresponse.ts +0 -58
  325. package/packages/orq-rc/src/models/components/budgetlimit.ts +0 -83
  326. package/packages/orq-rc/src/models/components/budgetlimits.ts +0 -84
  327. package/packages/orq-rc/src/models/components/budgetlimitsrestresponse.ts +0 -51
  328. package/packages/orq-rc/src/models/components/budgetmatch.ts +0 -56
  329. package/packages/orq-rc/src/models/components/budgetperiod.ts +0 -23
  330. package/packages/orq-rc/src/models/components/budgetrestresponse.ts +0 -120
  331. package/packages/orq-rc/src/models/components/budgetscope.ts +0 -150
  332. package/packages/orq-rc/src/models/components/budgetscopekind.ts +0 -22
  333. package/packages/orq-rc/src/models/components/budgetscoperestresponse.ts +0 -103
  334. package/packages/orq-rc/src/models/components/budgetsortfield.ts +0 -19
  335. package/packages/orq-rc/src/models/components/budgetusage.ts +0 -54
  336. package/packages/orq-rc/src/models/components/cacheconfig.ts +0 -30
  337. package/packages/orq-rc/src/models/components/codetoolinput.ts +0 -62
  338. package/packages/orq-rc/src/models/components/conversationparam.ts +0 -51
  339. package/packages/orq-rc/src/models/components/countwebhooksresponse.ts +0 -37
  340. package/packages/orq-rc/src/models/components/createagentresponse.ts +0 -305
  341. package/packages/orq-rc/src/models/components/createalertrequest.ts +0 -96
  342. package/packages/orq-rc/src/models/components/createalertresponse.ts +0 -35
  343. package/packages/orq-rc/src/models/components/createapikeyrequest.ts +0 -106
  344. package/packages/orq-rc/src/models/components/createbudgetrequest.ts +0 -123
  345. package/packages/orq-rc/src/models/components/createbudgetresponse.ts +0 -38
  346. package/packages/orq-rc/src/models/components/createfilerequest.ts +0 -62
  347. package/packages/orq-rc/src/models/components/createfileresponse.ts +0 -35
  348. package/packages/orq-rc/src/models/components/createidentityrequest.ts +0 -74
  349. package/packages/orq-rc/src/models/components/createidentityresponse.ts +0 -35
  350. package/packages/orq-rc/src/models/components/createmanagementkeyrequest.ts +0 -69
  351. package/packages/orq-rc/src/models/components/createmanagementkeyresponse.ts +0 -48
  352. package/packages/orq-rc/src/models/components/createmodelparameter.ts +0 -54
  353. package/packages/orq-rc/src/models/components/createnotifierrequest.ts +0 -433
  354. package/packages/orq-rc/src/models/components/createnotifierresponse.ts +0 -35
  355. package/packages/orq-rc/src/models/components/createpersonrequest.ts +0 -46
  356. package/packages/orq-rc/src/models/components/createpersonresponse.ts +0 -35
  357. package/packages/orq-rc/src/models/components/createprojectrequest.ts +0 -46
  358. package/packages/orq-rc/src/models/components/createprojectresponse.ts +0 -35
  359. package/packages/orq-rc/src/models/components/createskillrequest.ts +0 -159
  360. package/packages/orq-rc/src/models/components/createskillresponse.ts +0 -35
  361. package/packages/orq-rc/src/models/components/createsmartrouterrequest.ts +0 -47
  362. package/packages/orq-rc/src/models/components/createsmartrouterresponse.ts +0 -37
  363. package/packages/orq-rc/src/models/components/createwebhookrequest.ts +0 -100
  364. package/packages/orq-rc/src/models/components/datapart.ts +0 -38
  365. package/packages/orq-rc/src/models/components/datapoint.ts +0 -61
  366. package/packages/orq-rc/src/models/components/deletealertresponse.ts +0 -27
  367. package/packages/orq-rc/src/models/components/deletebudgetresponse.ts +0 -27
  368. package/packages/orq-rc/src/models/components/deletefileresponse.ts +0 -27
  369. package/packages/orq-rc/src/models/components/deleteidentityresponse.ts +0 -27
  370. package/packages/orq-rc/src/models/components/deletemanagementkeyresponse.ts +0 -27
  371. package/packages/orq-rc/src/models/components/deletenotifierresponse.ts +0 -27
  372. package/packages/orq-rc/src/models/components/deletepersonresponse.ts +0 -27
  373. package/packages/orq-rc/src/models/components/deleteprojectresponse.ts +0 -27
  374. package/packages/orq-rc/src/models/components/deleteskillresponse.ts +0 -27
  375. package/packages/orq-rc/src/models/components/deletesmartrouterresponse.ts +0 -27
  376. package/packages/orq-rc/src/models/components/deletewebhookresponse.ts +0 -34
  377. package/packages/orq-rc/src/models/components/detectrequest.ts +0 -56
  378. package/packages/orq-rc/src/models/components/detectresponse.ts +0 -41
  379. package/packages/orq-rc/src/models/components/domain.ts +0 -66
  380. package/packages/orq-rc/src/models/components/embeddingcacheconfig.ts +0 -59
  381. package/packages/orq-rc/src/models/components/embeddingcontactparams.ts +0 -48
  382. package/packages/orq-rc/src/models/components/embeddingloadbalancerconfig.ts +0 -66
  383. package/packages/orq-rc/src/models/components/embeddingloadbalancermodelconfig.ts +0 -42
  384. package/packages/orq-rc/src/models/components/embeddingorqparams.ts +0 -101
  385. package/packages/orq-rc/src/models/components/embeddingretryconfig.ts +0 -45
  386. package/packages/orq-rc/src/models/components/embeddingtimeoutconfig.ts +0 -39
  387. package/packages/orq-rc/src/models/components/errorpart.ts +0 -58
  388. package/packages/orq-rc/src/models/components/errorstreamingevent.ts +0 -66
  389. package/packages/orq-rc/src/models/components/evaluatorref.ts +0 -93
  390. package/packages/orq-rc/src/models/components/evaluatorresponsefunction.ts +0 -922
  391. package/packages/orq-rc/src/models/components/evaluatorresponsehttp.ts +0 -77
  392. package/packages/orq-rc/src/models/components/evaluatorresponsejsonschema.ts +0 -60
  393. package/packages/orq-rc/src/models/components/evaluatorresponsellm.ts +0 -310
  394. package/packages/orq-rc/src/models/components/evaluatorresponsepython.ts +0 -60
  395. package/packages/orq-rc/src/models/components/evaluatorresponseragas.ts +0 -84
  396. package/packages/orq-rc/src/models/components/evaluatorresponsetypescript.ts +0 -60
  397. package/packages/orq-rc/src/models/components/evaluatorvariablevalue.ts +0 -38
  398. package/packages/orq-rc/src/models/components/executionnamedstreamingevent.ts +0 -71
  399. package/packages/orq-rc/src/models/components/executionreviewedstreamingevent.ts +0 -61
  400. package/packages/orq-rc/src/models/components/executionreviewrequiredstreamingevent.ts +0 -67
  401. package/packages/orq-rc/src/models/components/expression.ts +0 -33
  402. package/packages/orq-rc/src/models/components/expressioninput.ts +0 -29
  403. package/packages/orq-rc/src/models/components/extendedmessage.ts +0 -146
  404. package/packages/orq-rc/src/models/components/facetgroup.ts +0 -41
  405. package/packages/orq-rc/src/models/components/facetkey.ts +0 -57
  406. package/packages/orq-rc/src/models/components/facetvalue.ts +0 -33
  407. package/packages/orq-rc/src/models/components/fallbackconfig.ts +0 -27
  408. package/packages/orq-rc/src/models/components/fieldinfo.ts +0 -33
  409. package/packages/orq-rc/src/models/components/file.ts +0 -64
  410. package/packages/orq-rc/src/models/components/filecontentpartschema.ts +0 -87
  411. package/packages/orq-rc/src/models/components/filepart.ts +0 -223
  412. package/packages/orq-rc/src/models/components/filepurpose.ts +0 -22
  413. package/packages/orq-rc/src/models/components/filter.ts +0 -139
  414. package/packages/orq-rc/src/models/components/findlogpatternsmeta.ts +0 -53
  415. package/packages/orq-rc/src/models/components/findlogpatternsrequest.ts +0 -59
  416. package/packages/orq-rc/src/models/components/findlogpatternsresponse.ts +0 -43
  417. package/packages/orq-rc/src/models/components/functiontoolinput.ts +0 -60
  418. package/packages/orq-rc/src/models/components/generatewebhooksecretresponse.ts +0 -37
  419. package/packages/orq-rc/src/models/components/getagentresponse.ts +0 -348
  420. package/packages/orq-rc/src/models/components/getalertresponse.ts +0 -35
  421. package/packages/orq-rc/src/models/components/getbudgetresponse.ts +0 -38
  422. package/packages/orq-rc/src/models/components/getfilecontentresponse.ts +0 -39
  423. package/packages/orq-rc/src/models/components/getfileresponse.ts +0 -35
  424. package/packages/orq-rc/src/models/components/getlogcontextrequest.ts +0 -71
  425. package/packages/orq-rc/src/models/components/getlogcontextresponse.ts +0 -55
  426. package/packages/orq-rc/src/models/components/getlogresponse.ts +0 -35
  427. package/packages/orq-rc/src/models/components/getmanagementkeyresponse.ts +0 -40
  428. package/packages/orq-rc/src/models/components/getnotifierresponse.ts +0 -35
  429. package/packages/orq-rc/src/models/components/getpersonresponse.ts +0 -35
  430. package/packages/orq-rc/src/models/components/getprojectresponse.ts +0 -35
  431. package/packages/orq-rc/src/models/components/getskillresponse.ts +0 -35
  432. package/packages/orq-rc/src/models/components/getsmartrouterresponse.ts +0 -37
  433. package/packages/orq-rc/src/models/components/gettraceresponse.ts +0 -32
  434. package/packages/orq-rc/src/models/components/gettracespanresponse.ts +0 -32
  435. package/packages/orq-rc/src/models/components/getworkspacesettingsresponse.ts +0 -38
  436. package/packages/orq-rc/src/models/components/guardrailref.ts +0 -91
  437. package/packages/orq-rc/src/models/components/guardrailrule.ts +0 -69
  438. package/packages/orq-rc/src/models/components/httptoolinput.ts +0 -62
  439. package/packages/orq-rc/src/models/components/identity.ts +0 -230
  440. package/packages/orq-rc/src/models/components/identitybudgetscope.ts +0 -66
  441. package/packages/orq-rc/src/models/components/identitybudgetscoperestresponse.ts +0 -37
  442. package/packages/orq-rc/src/models/components/identitymetrics.ts +0 -57
  443. package/packages/orq-rc/src/models/components/identitysortfield.ts +0 -18
  444. package/packages/orq-rc/src/models/components/imagecontentpartschema.ts +0 -268
  445. package/packages/orq-rc/src/models/components/incompletedetails.ts +0 -31
  446. package/packages/orq-rc/src/models/components/index.ts +0 -431
  447. package/packages/orq-rc/src/models/components/inputtokensdetails.ts +0 -45
  448. package/packages/orq-rc/src/models/components/invokedeploymentrequest.ts +0 -5333
  449. package/packages/orq-rc/src/models/components/jsonschematoolinput.ts +0 -60
  450. package/packages/orq-rc/src/models/components/limits.ts +0 -70
  451. package/packages/orq-rc/src/models/components/listalertsresponse.ts +0 -53
  452. package/packages/orq-rc/src/models/components/listalerttriggereventsresponse.ts +0 -56
  453. package/packages/orq-rc/src/models/components/listalerttriggersresponse.ts +0 -53
  454. package/packages/orq-rc/src/models/components/listbudgetsresponse.ts +0 -51
  455. package/packages/orq-rc/src/models/components/listcapabilitiesresponse.ts +0 -38
  456. package/packages/orq-rc/src/models/components/listfilesresponse.ts +0 -50
  457. package/packages/orq-rc/src/models/components/listidentitiesresponse.ts +0 -53
  458. package/packages/orq-rc/src/models/components/listlogfacetsresponse.ts +0 -32
  459. package/packages/orq-rc/src/models/components/listlogfacetvaluesresponse.ts +0 -32
  460. package/packages/orq-rc/src/models/components/listlogfieldsresponse.ts +0 -32
  461. package/packages/orq-rc/src/models/components/listmanagementcapabilitiesresponse.ts +0 -36
  462. package/packages/orq-rc/src/models/components/listmanagementkeysresponse.ts +0 -56
  463. package/packages/orq-rc/src/models/components/listnotifiersresponse.ts +0 -50
  464. package/packages/orq-rc/src/models/components/listpeopleresponse.ts +0 -53
  465. package/packages/orq-rc/src/models/components/listprojectsresponse.ts +0 -53
  466. package/packages/orq-rc/src/models/components/listskillsresponse.ts +0 -53
  467. package/packages/orq-rc/src/models/components/listsmartroutersresponse.ts +0 -50
  468. package/packages/orq-rc/src/models/components/listtracefacetsresponse.ts +0 -32
  469. package/packages/orq-rc/src/models/components/listtracefacetvaluesresponse.ts +0 -44
  470. package/packages/orq-rc/src/models/components/listtracefieldsresponse.ts +0 -32
  471. package/packages/orq-rc/src/models/components/listtracelogsresponse.ts +0 -44
  472. package/packages/orq-rc/src/models/components/listtracespansresponse.ts +0 -44
  473. package/packages/orq-rc/src/models/components/listwebhooksresponse.ts +0 -53
  474. package/packages/orq-rc/src/models/components/litellmmodel.ts +0 -50
  475. package/packages/orq-rc/src/models/components/litellmmodelinfo.ts +0 -97
  476. package/packages/orq-rc/src/models/components/litellmparams.ts +0 -43
  477. package/packages/orq-rc/src/models/components/loadbalancerconfig.ts +0 -39
  478. package/packages/orq-rc/src/models/components/loadbalancermodelconfig.ts +0 -34
  479. package/packages/orq-rc/src/models/components/log.ts +0 -99
  480. package/packages/orq-rc/src/models/components/logpattern.ts +0 -84
  481. package/packages/orq-rc/src/models/components/managementkey.ts +0 -132
  482. package/packages/orq-rc/src/models/components/managementkeystatus.ts +0 -23
  483. package/packages/orq-rc/src/models/components/managementpermissionmode.ts +0 -25
  484. package/packages/orq-rc/src/models/components/mcpaccess.ts +0 -80
  485. package/packages/orq-rc/src/models/components/mcptoolinput.ts +0 -63
  486. package/packages/orq-rc/src/models/components/memoryparam.ts +0 -56
  487. package/packages/orq-rc/src/models/components/modelbudgetscope.ts +0 -67
  488. package/packages/orq-rc/src/models/components/modelbudgetscoperestresponse.ts +0 -38
  489. package/packages/orq-rc/src/models/components/modelconfigurationresponse.ts +0 -82
  490. package/packages/orq-rc/src/models/components/modeldocument.ts +0 -121
  491. package/packages/orq-rc/src/models/components/modelmetadata.ts +0 -750
  492. package/packages/orq-rc/src/models/components/modelparameterdocument.ts +0 -53
  493. package/packages/orq-rc/src/models/components/modelref.ts +0 -70
  494. package/packages/orq-rc/src/models/components/modelsconfig.ts +0 -75
  495. package/packages/orq-rc/src/models/components/modelsharingconfig.ts +0 -47
  496. package/packages/orq-rc/src/models/components/monitorfilter.ts +0 -87
  497. package/packages/orq-rc/src/models/components/notifier.ts +0 -465
  498. package/packages/orq-rc/src/models/components/notifiertype.ts +0 -21
  499. package/packages/orq-rc/src/models/components/orqadvisortool.ts +0 -100
  500. package/packages/orq-rc/src/models/components/orqsidekicktool.ts +0 -111
  501. package/packages/orq-rc/src/models/components/outputtokensdetails.ts +0 -36
  502. package/packages/orq-rc/src/models/components/ownertype.ts +0 -17
  503. package/packages/orq-rc/src/models/components/partdelta.ts +0 -39
  504. package/packages/orq-rc/src/models/components/partdeltaevent.ts +0 -73
  505. package/packages/orq-rc/src/models/components/partdoneevent.ts +0 -70
  506. package/packages/orq-rc/src/models/components/permissionmode.ts +0 -19
  507. package/packages/orq-rc/src/models/components/person.ts +0 -95
  508. package/packages/orq-rc/src/models/components/personstatus.ts +0 -17
  509. package/packages/orq-rc/src/models/components/piiredaction.ts +0 -70
  510. package/packages/orq-rc/src/models/components/piiredactionconfig.ts +0 -108
  511. package/packages/orq-rc/src/models/components/piiredactionplugin.ts +0 -44
  512. package/packages/orq-rc/src/models/components/piiredactionpluginauto.ts +0 -185
  513. package/packages/orq-rc/src/models/components/piiredactionpluginen.ts +0 -222
  514. package/packages/orq-rc/src/models/components/piiredactionpluginnl.ts +0 -218
  515. package/packages/orq-rc/src/models/components/plugin.ts +0 -44
  516. package/packages/orq-rc/src/models/components/policy.ts +0 -80
  517. package/packages/orq-rc/src/models/components/policyretryconfig.ts +0 -64
  518. package/packages/orq-rc/src/models/components/price.ts +0 -56
  519. package/packages/orq-rc/src/models/components/pricing.ts +0 -93
  520. package/packages/orq-rc/src/models/components/pricingvariant.ts +0 -90
  521. package/packages/orq-rc/src/models/components/project.ts +0 -108
  522. package/packages/orq-rc/src/models/components/projectbudgetscope.ts +0 -63
  523. package/packages/orq-rc/src/models/components/projectbudgetscoperestresponse.ts +0 -34
  524. package/packages/orq-rc/src/models/components/projectscope.ts +0 -47
  525. package/packages/orq-rc/src/models/components/providerbudgetscope.ts +0 -57
  526. package/packages/orq-rc/src/models/components/providertoolinput.ts +0 -72
  527. package/packages/orq-rc/src/models/components/publiccontact.ts +0 -101
  528. package/packages/orq-rc/src/models/components/publicembeddingdata.ts +0 -60
  529. package/packages/orq-rc/src/models/components/publicembeddingusage.ts +0 -45
  530. package/packages/orq-rc/src/models/components/publicidentity.ts +0 -99
  531. package/packages/orq-rc/src/models/components/publicmodelentry.ts +0 -71
  532. package/packages/orq-rc/src/models/components/publicplugin.ts +0 -111
  533. package/packages/orq-rc/src/models/components/publicresponseresource.ts +0 -209
  534. package/packages/orq-rc/src/models/components/publicschedule.ts +0 -130
  535. package/packages/orq-rc/src/models/components/publicscheduleerrordetail.ts +0 -39
  536. package/packages/orq-rc/src/models/components/publicschedulepayload.ts +0 -84
  537. package/packages/orq-rc/src/models/components/publicusage.ts +0 -77
  538. package/packages/orq-rc/src/models/components/querylogsrequest.ts +0 -60
  539. package/packages/orq-rc/src/models/components/querylogsresponse.ts +0 -40
  540. package/packages/orq-rc/src/models/components/queryparamspagination.ts +0 -40
  541. package/packages/orq-rc/src/models/components/queryparamssort.ts +0 -32
  542. package/packages/orq-rc/src/models/components/queryreportrequest.ts +0 -296
  543. package/packages/orq-rc/src/models/components/queryreportresponse.ts +0 -99
  544. package/packages/orq-rc/src/models/components/querytracesrequest.ts +0 -48
  545. package/packages/orq-rc/src/models/components/querytracesresponse.ts +0 -37
  546. package/packages/orq-rc/src/models/components/querywebhooksrequest.ts +0 -85
  547. package/packages/orq-rc/src/models/components/querywebhooksresponse.ts +0 -34
  548. package/packages/orq-rc/src/models/components/ratelimit.ts +0 -62
  549. package/packages/orq-rc/src/models/components/ratelimitrestresponse.ts +0 -37
  550. package/packages/orq-rc/src/models/components/reasoning.ts +0 -80
  551. package/packages/orq-rc/src/models/components/reasoningparam.ts +0 -75
  552. package/packages/orq-rc/src/models/components/reasoningpart.ts +0 -62
  553. package/packages/orq-rc/src/models/components/reasoningpartschema.ts +0 -71
  554. package/packages/orq-rc/src/models/components/redactedreasoningpartschema.ts +0 -66
  555. package/packages/orq-rc/src/models/components/redactrequest.ts +0 -33
  556. package/packages/orq-rc/src/models/components/redactresponse.ts +0 -41
  557. package/packages/orq-rc/src/models/components/refusalpartschema.ts +0 -64
  558. package/packages/orq-rc/src/models/components/requestlimit.ts +0 -69
  559. package/packages/orq-rc/src/models/components/resendinvitationrequest.ts +0 -25
  560. package/packages/orq-rc/src/models/components/resendinvitationresponse.ts +0 -35
  561. package/packages/orq-rc/src/models/components/resetbudgetconsumptionrequest.ts +0 -27
  562. package/packages/orq-rc/src/models/components/resetbudgetconsumptionresponse.ts +0 -41
  563. package/packages/orq-rc/src/models/components/responsecodeinterpretercallcodedeltastreamevent.ts +0 -79
  564. package/packages/orq-rc/src/models/components/responsecodeinterpretercallcodedonestreamevent.ts +0 -79
  565. package/packages/orq-rc/src/models/components/responsecodeinterpretercallcompletedstreamevent.ts +0 -74
  566. package/packages/orq-rc/src/models/components/responsecodeinterpretercallinprogressstreamevent.ts +0 -74
  567. package/packages/orq-rc/src/models/components/responsecodeinterpretercallinterpretingstreamevent.ts +0 -74
  568. package/packages/orq-rc/src/models/components/responsecompletedstreamevent.ts +0 -61
  569. package/packages/orq-rc/src/models/components/responsecontentpartaddedstreamevent.ts +0 -79
  570. package/packages/orq-rc/src/models/components/responsecontentpartdonestreamevent.ts +0 -79
  571. package/packages/orq-rc/src/models/components/responsecreatedstreamevent.ts +0 -61
  572. package/packages/orq-rc/src/models/components/responsecustomtoolcallinputdeltastreamevent.ts +0 -79
  573. package/packages/orq-rc/src/models/components/responsecustomtoolcallinputdonestreamevent.ts +0 -76
  574. package/packages/orq-rc/src/models/components/responsedoneevent.ts +0 -324
  575. package/packages/orq-rc/src/models/components/responseerror.ts +0 -33
  576. package/packages/orq-rc/src/models/components/responseerrorstreamevent.ts +0 -58
  577. package/packages/orq-rc/src/models/components/responseexecutionlimits.ts +0 -52
  578. package/packages/orq-rc/src/models/components/responsefailedevent.ts +0 -72
  579. package/packages/orq-rc/src/models/components/responsefailedstreamevent.ts +0 -61
  580. package/packages/orq-rc/src/models/components/responsefilesearchcallcompletedstreamevent.ts +0 -71
  581. package/packages/orq-rc/src/models/components/responsefilesearchcallinprogressstreamevent.ts +0 -74
  582. package/packages/orq-rc/src/models/components/responsefilesearchcallsearchingstreamevent.ts +0 -71
  583. package/packages/orq-rc/src/models/components/responsefunctioncallargumentsdeltastreamevent.ts +0 -84
  584. package/packages/orq-rc/src/models/components/responsefunctioncallargumentsdonestreamevent.ts +0 -79
  585. package/packages/orq-rc/src/models/components/responsehealingplugin.ts +0 -77
  586. package/packages/orq-rc/src/models/components/responseidentity.ts +0 -48
  587. package/packages/orq-rc/src/models/components/responseimagegenerationcallcompletedstreamevent.ts +0 -74
  588. package/packages/orq-rc/src/models/components/responseimagegenerationcallgeneratingstreamevent.ts +0 -74
  589. package/packages/orq-rc/src/models/components/responseimagegenerationcallinprogressstreamevent.ts +0 -74
  590. package/packages/orq-rc/src/models/components/responseimagegenerationcallpartialimagestreamevent.ts +0 -86
  591. package/packages/orq-rc/src/models/components/responseincompletestreamevent.ts +0 -61
  592. package/packages/orq-rc/src/models/components/responseinprogressstreamevent.ts +0 -61
  593. package/packages/orq-rc/src/models/components/responsemcpcallargumentsdeltastreamevent.ts +0 -78
  594. package/packages/orq-rc/src/models/components/responsemcpcallargumentsdonestreamevent.ts +0 -78
  595. package/packages/orq-rc/src/models/components/responsemcpcallcompletedstreamevent.ts +0 -68
  596. package/packages/orq-rc/src/models/components/responsemcpcallfailedstreamevent.ts +0 -67
  597. package/packages/orq-rc/src/models/components/responsemcpcallinprogressstreamevent.ts +0 -68
  598. package/packages/orq-rc/src/models/components/responsemcplisttoolscompletedstreamevent.ts +0 -73
  599. package/packages/orq-rc/src/models/components/responsemcplisttoolsfailedstreamevent.ts +0 -68
  600. package/packages/orq-rc/src/models/components/responsemcplisttoolsinprogressstreamevent.ts +0 -73
  601. package/packages/orq-rc/src/models/components/responsemeta.ts +0 -103
  602. package/packages/orq-rc/src/models/components/responseoutputitemaddedstreamevent.ts +0 -67
  603. package/packages/orq-rc/src/models/components/responseoutputitemdonestreamevent.ts +0 -66
  604. package/packages/orq-rc/src/models/components/responseoutputtextannotationaddedstreamevent.ts +0 -91
  605. package/packages/orq-rc/src/models/components/responseoutputtextdeltastreamevent.ts +0 -89
  606. package/packages/orq-rc/src/models/components/responseoutputtextdonestreamevent.ts +0 -83
  607. package/packages/orq-rc/src/models/components/responsequeuedstreamevent.ts +0 -61
  608. package/packages/orq-rc/src/models/components/responsereasoningdeltastreamevent.ts +0 -83
  609. package/packages/orq-rc/src/models/components/responsereasoningdonestreamevent.ts +0 -78
  610. package/packages/orq-rc/src/models/components/responsereasoningsummarypartaddedstreamevent.ts +0 -85
  611. package/packages/orq-rc/src/models/components/responsereasoningsummarypartdonestreamevent.ts +0 -85
  612. package/packages/orq-rc/src/models/components/responsereasoningsummarytextdeltastreamevent.ts +0 -90
  613. package/packages/orq-rc/src/models/components/responsereasoningsummarytextdonestreamevent.ts +0 -85
  614. package/packages/orq-rc/src/models/components/responsereasoningtextdeltastreamevent.ts +0 -84
  615. package/packages/orq-rc/src/models/components/responsereasoningtextdonestreamevent.ts +0 -79
  616. package/packages/orq-rc/src/models/components/responserefusaldeltastreamevent.ts +0 -78
  617. package/packages/orq-rc/src/models/components/responserefusaldonestreamevent.ts +0 -78
  618. package/packages/orq-rc/src/models/components/responseretryconfig.ts +0 -45
  619. package/packages/orq-rc/src/models/components/responsestartedevent.ts +0 -97
  620. package/packages/orq-rc/src/models/components/responsestreamevent.ts +0 -337
  621. package/packages/orq-rc/src/models/components/responsestreamingevent.ts +0 -85
  622. package/packages/orq-rc/src/models/components/responsethread.ts +0 -30
  623. package/packages/orq-rc/src/models/components/responsewebsearchcallcompletedstreamevent.ts +0 -73
  624. package/packages/orq-rc/src/models/components/responsewebsearchcallinprogressstreamevent.ts +0 -71
  625. package/packages/orq-rc/src/models/components/responsewebsearchcallsearchingstreamevent.ts +0 -73
  626. package/packages/orq-rc/src/models/components/restorerequest.ts +0 -38
  627. package/packages/orq-rc/src/models/components/restoreresponse.ts +0 -36
  628. package/packages/orq-rc/src/models/components/retrieveidentityresponse.ts +0 -35
  629. package/packages/orq-rc/src/models/components/reviewoutcome.ts +0 -23
  630. package/packages/orq-rc/src/models/components/routingrule.ts +0 -67
  631. package/packages/orq-rc/src/models/components/searchlogsrequest.ts +0 -83
  632. package/packages/orq-rc/src/models/components/searchlogsresponse.ts +0 -65
  633. package/packages/orq-rc/src/models/components/searchtracesrequest.ts +0 -68
  634. package/packages/orq-rc/src/models/components/searchtracesresponse.ts +0 -72
  635. package/packages/orq-rc/src/models/components/security.ts +0 -32
  636. package/packages/orq-rc/src/models/components/securityconfig.ts +0 -27
  637. package/packages/orq-rc/src/models/components/serviceaccountowner.ts +0 -25
  638. package/packages/orq-rc/src/models/components/singleproject.ts +0 -35
  639. package/packages/orq-rc/src/models/components/skill.ts +0 -109
  640. package/packages/orq-rc/src/models/components/smartrouter.ts +0 -78
  641. package/packages/orq-rc/src/models/components/smartrouterprofile.ts +0 -23
  642. package/packages/orq-rc/src/models/components/spandetail.ts +0 -53
  643. package/packages/orq-rc/src/models/components/spansummary.ts +0 -76
  644. package/packages/orq-rc/src/models/components/streamoptions.ts +0 -32
  645. package/packages/orq-rc/src/models/components/telemetry.ts +0 -48
  646. package/packages/orq-rc/src/models/components/textcontentpartschema.ts +0 -211
  647. package/packages/orq-rc/src/models/components/textpart.ts +0 -54
  648. package/packages/orq-rc/src/models/components/thinkingconfigadaptiveschema.ts +0 -59
  649. package/packages/orq-rc/src/models/components/thinkingconfigdisabledschema.ts +0 -59
  650. package/packages/orq-rc/src/models/components/thinkingconfigenabledschema.ts +0 -108
  651. package/packages/orq-rc/src/models/components/timeoutconfig.ts +0 -32
  652. package/packages/orq-rc/src/models/components/timeoutstreamingevent.ts +0 -64
  653. package/packages/orq-rc/src/models/components/tokenlimit.ts +0 -69
  654. package/packages/orq-rc/src/models/components/toolcallpart.ts +0 -51
  655. package/packages/orq-rc/src/models/components/tooldoneevent.ts +0 -77
  656. package/packages/orq-rc/src/models/components/toolexecutionfailedstreamingevent.ts +0 -235
  657. package/packages/orq-rc/src/models/components/toolexecutionfinishedstreamingevent.ts +0 -219
  658. package/packages/orq-rc/src/models/components/toolexecutionstartedstreamingevent.ts +0 -215
  659. package/packages/orq-rc/src/models/components/toolfailedevent.ts +0 -77
  660. package/packages/orq-rc/src/models/components/toolresultpart.ts +0 -71
  661. package/packages/orq-rc/src/models/components/toolreviewdoneevent.ts +0 -78
  662. package/packages/orq-rc/src/models/components/toolreviewrequestedevent.ts +0 -87
  663. package/packages/orq-rc/src/models/components/toolstartedevent.ts +0 -82
  664. package/packages/orq-rc/src/models/components/totals.ts +0 -34
  665. package/packages/orq-rc/src/models/components/traceagent.ts +0 -33
  666. package/packages/orq-rc/src/models/components/traceaggregaterow.ts +0 -33
  667. package/packages/orq-rc/src/models/components/tracecompute.ts +0 -30
  668. package/packages/orq-rc/src/models/components/tracecontext.ts +0 -39
  669. package/packages/orq-rc/src/models/components/tracecost.ts +0 -77
  670. package/packages/orq-rc/src/models/components/tracefacet.ts +0 -35
  671. package/packages/orq-rc/src/models/components/tracefacetvalue.ts +0 -33
  672. package/packages/orq-rc/src/models/components/tracefield.ts +0 -56
  673. package/packages/orq-rc/src/models/components/tracefilter.ts +0 -33
  674. package/packages/orq-rc/src/models/components/tracesearchmeta.ts +0 -45
  675. package/packages/orq-rc/src/models/components/tracesort.ts +0 -30
  676. package/packages/orq-rc/src/models/components/tracesummary.ts +0 -152
  677. package/packages/orq-rc/src/models/components/traceusage.ts +0 -62
  678. package/packages/orq-rc/src/models/components/updatealertrequest.ts +0 -86
  679. package/packages/orq-rc/src/models/components/updatealertresponse.ts +0 -35
  680. package/packages/orq-rc/src/models/components/updateapikeyrequest.ts +0 -109
  681. package/packages/orq-rc/src/models/components/updatebudgetrequest.ts +0 -115
  682. package/packages/orq-rc/src/models/components/updatebudgetresponse.ts +0 -38
  683. package/packages/orq-rc/src/models/components/updatefilerequest.ts +0 -39
  684. package/packages/orq-rc/src/models/components/updatefileresponse.ts +0 -35
  685. package/packages/orq-rc/src/models/components/updateidentityrequest.ts +0 -64
  686. package/packages/orq-rc/src/models/components/updateidentityresponse.ts +0 -35
  687. package/packages/orq-rc/src/models/components/updatemanagementkeyrequest.ts +0 -80
  688. package/packages/orq-rc/src/models/components/updatemanagementkeyresponse.ts +0 -40
  689. package/packages/orq-rc/src/models/components/updatemodelparameter.ts +0 -61
  690. package/packages/orq-rc/src/models/components/updatenotifierrequest.ts +0 -123
  691. package/packages/orq-rc/src/models/components/updatenotifierresponse.ts +0 -35
  692. package/packages/orq-rc/src/models/components/updatepersonrequest.ts +0 -58
  693. package/packages/orq-rc/src/models/components/updatepersonresponse.ts +0 -35
  694. package/packages/orq-rc/src/models/components/updateprojectrequest.ts +0 -49
  695. package/packages/orq-rc/src/models/components/updateprojectresponse.ts +0 -35
  696. package/packages/orq-rc/src/models/components/updateskillrequest.ts +0 -70
  697. package/packages/orq-rc/src/models/components/updateskillresponse.ts +0 -35
  698. package/packages/orq-rc/src/models/components/updatesmartrouterrequest.ts +0 -41
  699. package/packages/orq-rc/src/models/components/updatesmartrouterresponse.ts +0 -37
  700. package/packages/orq-rc/src/models/components/updateworkspacesettingsrequest.ts +0 -78
  701. package/packages/orq-rc/src/models/components/updateworkspacesettingsresponse.ts +0 -38
  702. package/packages/orq-rc/src/models/components/userowner.ts +0 -35
  703. package/packages/orq-rc/src/models/components/vertexcapabilities.ts +0 -37
  704. package/packages/orq-rc/src/models/components/vertexconfiguration.ts +0 -45
  705. package/packages/orq-rc/src/models/components/vertexmodelconfiguration.ts +0 -53
  706. package/packages/orq-rc/src/models/components/vertexparameters.ts +0 -47
  707. package/packages/orq-rc/src/models/components/vertexparamrange.ts +0 -34
  708. package/packages/orq-rc/src/models/components/vertexparamrangeint.ts +0 -34
  709. package/packages/orq-rc/src/models/components/webhook.ts +0 -116
  710. package/packages/orq-rc/src/models/components/workspacebudgetscope.ts +0 -46
  711. package/packages/orq-rc/src/models/components/workspacesettings.ts +0 -66
  712. package/packages/orq-rc/src/models/errors/apierror.ts +0 -40
  713. package/packages/orq-rc/src/models/errors/createagentschedule.ts +0 -105
  714. package/packages/orq-rc/src/models/errors/createeval.ts +0 -51
  715. package/packages/orq-rc/src/models/errors/createmoderation.ts +0 -84
  716. package/packages/orq-rc/src/models/errors/createtranscription.ts +0 -87
  717. package/packages/orq-rc/src/models/errors/createtranslation.ts +0 -87
  718. package/packages/orq-rc/src/models/errors/deleteagent.ts +0 -51
  719. package/packages/orq-rc/src/models/errors/deleteagentschedule.ts +0 -56
  720. package/packages/orq-rc/src/models/errors/deleteeval.ts +0 -96
  721. package/packages/orq-rc/src/models/errors/deleteprompt.ts +0 -51
  722. package/packages/orq-rc/src/models/errors/geteval.ts +0 -51
  723. package/packages/orq-rc/src/models/errors/getevals.ts +0 -51
  724. package/packages/orq-rc/src/models/errors/getpromptversion.ts +0 -51
  725. package/packages/orq-rc/src/models/errors/getv2evaluatorsidversions.ts +0 -51
  726. package/packages/orq-rc/src/models/errors/getv2toolstoolidversions.ts +0 -51
  727. package/packages/orq-rc/src/models/errors/getv2toolstoolidversionsversionid.ts +0 -52
  728. package/packages/orq-rc/src/models/errors/honoapierror.ts +0 -59
  729. package/packages/orq-rc/src/models/errors/httpclienterrors.ts +0 -62
  730. package/packages/orq-rc/src/models/errors/index.ts +0 -39
  731. package/packages/orq-rc/src/models/errors/invokeeval.ts +0 -141
  732. package/packages/orq-rc/src/models/errors/orqerror.ts +0 -35
  733. package/packages/orq-rc/src/models/errors/postv2feedback.ts +0 -96
  734. package/packages/orq-rc/src/models/errors/postv2feedbackremove.ts +0 -51
  735. package/packages/orq-rc/src/models/errors/responsevalidationerror.ts +0 -50
  736. package/packages/orq-rc/src/models/errors/retrieveagentrequest.ts +0 -51
  737. package/packages/orq-rc/src/models/errors/retrieveagentschedule.ts +0 -56
  738. package/packages/orq-rc/src/models/errors/retrieveresponse.ts +0 -56
  739. package/packages/orq-rc/src/models/errors/sdkvalidationerror.ts +0 -109
  740. package/packages/orq-rc/src/models/errors/streamagent.ts +0 -51
  741. package/packages/orq-rc/src/models/errors/streamrunagent.ts +0 -51
  742. package/packages/orq-rc/src/models/errors/triggeragentschedule.ts +0 -105
  743. package/packages/orq-rc/src/models/errors/updateagent.ts +0 -51
  744. package/packages/orq-rc/src/models/errors/updateagentschedule.ts +0 -105
  745. package/packages/orq-rc/src/models/errors/updateeval.ts +0 -51
  746. package/packages/orq-rc/src/models/errors/updateprompt.ts +0 -51
  747. package/packages/orq-rc/src/models/errors/updatetool.ts +0 -62
  748. package/packages/orq-rc/src/models/operations/addannotationqueueitems.ts +0 -177
  749. package/packages/orq-rc/src/models/operations/alertdelete.ts +0 -39
  750. package/packages/orq-rc/src/models/operations/alertget.ts +0 -37
  751. package/packages/orq-rc/src/models/operations/alertlist.ts +0 -65
  752. package/packages/orq-rc/src/models/operations/alertlisttriggerevents.ts +0 -74
  753. package/packages/orq-rc/src/models/operations/alertlisttriggers.ts +0 -65
  754. package/packages/orq-rc/src/models/operations/alertupdate.ts +0 -44
  755. package/packages/orq-rc/src/models/operations/apikeydelete.ts +0 -39
  756. package/packages/orq-rc/src/models/operations/apikeyget.ts +0 -49
  757. package/packages/orq-rc/src/models/operations/apikeylist.ts +0 -118
  758. package/packages/orq-rc/src/models/operations/apikeyupdate.ts +0 -44
  759. package/packages/orq-rc/src/models/operations/billing.ts +0 -5659
  760. package/packages/orq-rc/src/models/operations/budgetdelete.ts +0 -39
  761. package/packages/orq-rc/src/models/operations/budgetget.ts +0 -39
  762. package/packages/orq-rc/src/models/operations/budgetlist.ts +0 -109
  763. package/packages/orq-rc/src/models/operations/budgetresetconsumption.ts +0 -48
  764. package/packages/orq-rc/src/models/operations/budgetupdate.ts +0 -44
  765. package/packages/orq-rc/src/models/operations/clearannotationqueue.ts +0 -38
  766. package/packages/orq-rc/src/models/operations/cleardataset.ts +0 -39
  767. package/packages/orq-rc/src/models/operations/createagentrequest.ts +0 -5899
  768. package/packages/orq-rc/src/models/operations/createagentresponserequest.ts +0 -125
  769. package/packages/orq-rc/src/models/operations/createagentschedule.ts +0 -244
  770. package/packages/orq-rc/src/models/operations/createannotation.ts +0 -256
  771. package/packages/orq-rc/src/models/operations/createannotationqueue.ts +0 -176
  772. package/packages/orq-rc/src/models/operations/createchatcompletion.ts +0 -6587
  773. package/packages/orq-rc/src/models/operations/createchunk.ts +0 -222
  774. package/packages/orq-rc/src/models/operations/createcompletion.ts +0 -3528
  775. package/packages/orq-rc/src/models/operations/createdataset.ts +0 -162
  776. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +0 -3105
  777. package/packages/orq-rc/src/models/operations/createdatasource.ts +0 -522
  778. package/packages/orq-rc/src/models/operations/createembedding.ts +0 -219
  779. package/packages/orq-rc/src/models/operations/createeval.ts +0 -666
  780. package/packages/orq-rc/src/models/operations/createimage.ts +0 -1088
  781. package/packages/orq-rc/src/models/operations/createimageedit.ts +0 -1045
  782. package/packages/orq-rc/src/models/operations/createimagevariation.ts +0 -1067
  783. package/packages/orq-rc/src/models/operations/createknowledge.ts +0 -964
  784. package/packages/orq-rc/src/models/operations/creatememory.ts +0 -142
  785. package/packages/orq-rc/src/models/operations/creatememorydocument.ts +0 -152
  786. package/packages/orq-rc/src/models/operations/creatememorystore.ts +0 -199
  787. package/packages/orq-rc/src/models/operations/createmoderation.ts +0 -664
  788. package/packages/orq-rc/src/models/operations/createprompt.ts +0 -5857
  789. package/packages/orq-rc/src/models/operations/creatererank.ts +0 -944
  790. package/packages/orq-rc/src/models/operations/createrouterresponse.ts +0 -2218
  791. package/packages/orq-rc/src/models/operations/createspeech.ts +0 -700
  792. package/packages/orq-rc/src/models/operations/createtool.ts +0 -2487
  793. package/packages/orq-rc/src/models/operations/createtranscription.ts +0 -955
  794. package/packages/orq-rc/src/models/operations/createtranslation.ts +0 -930
  795. package/packages/orq-rc/src/models/operations/deleteagent.ts +0 -39
  796. package/packages/orq-rc/src/models/operations/deleteagentschedule.ts +0 -46
  797. package/packages/orq-rc/src/models/operations/deleteannotation.ts +0 -125
  798. package/packages/orq-rc/src/models/operations/deleteannotationqueue.ts +0 -38
  799. package/packages/orq-rc/src/models/operations/deletechunk.ts +0 -53
  800. package/packages/orq-rc/src/models/operations/deletechunks.ts +0 -125
  801. package/packages/orq-rc/src/models/operations/deletedatapoint.ts +0 -46
  802. package/packages/orq-rc/src/models/operations/deletedataset.ts +0 -39
  803. package/packages/orq-rc/src/models/operations/deletedatasource.ts +0 -46
  804. package/packages/orq-rc/src/models/operations/deleteeval.ts +0 -31
  805. package/packages/orq-rc/src/models/operations/deleteidentity.ts +0 -34
  806. package/packages/orq-rc/src/models/operations/deleteknowledge.ts +0 -39
  807. package/packages/orq-rc/src/models/operations/deletememory.ts +0 -46
  808. package/packages/orq-rc/src/models/operations/deletememorydocument.ts +0 -55
  809. package/packages/orq-rc/src/models/operations/deletememorystore.ts +0 -39
  810. package/packages/orq-rc/src/models/operations/deleteprompt.ts +0 -34
  811. package/packages/orq-rc/src/models/operations/deletetool.ts +0 -36
  812. package/packages/orq-rc/src/models/operations/deletev2humanevalsetsid.ts +0 -36
  813. package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +0 -4618
  814. package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +0 -731
  815. package/packages/orq-rc/src/models/operations/deployments.ts +0 -1382
  816. package/packages/orq-rc/src/models/operations/deploymentstream.ts +0 -4663
  817. package/packages/orq-rc/src/models/operations/filecontent.ts +0 -39
  818. package/packages/orq-rc/src/models/operations/filedelete.ts +0 -39
  819. package/packages/orq-rc/src/models/operations/fileget.ts +0 -35
  820. package/packages/orq-rc/src/models/operations/filelist.ts +0 -71
  821. package/packages/orq-rc/src/models/operations/fileupdate.ts +0 -44
  822. package/packages/orq-rc/src/models/operations/getagentresponse.ts +0 -46
  823. package/packages/orq-rc/src/models/operations/getallmemories.ts +0 -173
  824. package/packages/orq-rc/src/models/operations/getallmemorydocuments.ts +0 -188
  825. package/packages/orq-rc/src/models/operations/getallmemorystores.ts +0 -220
  826. package/packages/orq-rc/src/models/operations/getallprompts.ts +0 -3432
  827. package/packages/orq-rc/src/models/operations/getalltools.ts +0 -1388
  828. package/packages/orq-rc/src/models/operations/getchunkscount.ts +0 -142
  829. package/packages/orq-rc/src/models/operations/geteval.ts +0 -2834
  830. package/packages/orq-rc/src/models/operations/getevals.ts +0 -168
  831. package/packages/orq-rc/src/models/operations/getlog.ts +0 -27
  832. package/packages/orq-rc/src/models/operations/getlogcontext.ts +0 -40
  833. package/packages/orq-rc/src/models/operations/getonechunk.ts +0 -171
  834. package/packages/orq-rc/src/models/operations/getoneknowledge.ts +0 -652
  835. package/packages/orq-rc/src/models/operations/getoneprompt.ts +0 -3355
  836. package/packages/orq-rc/src/models/operations/getpromptversion.ts +0 -3404
  837. package/packages/orq-rc/src/models/operations/getv2evaluatorsidversions.ts +0 -162
  838. package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +0 -234
  839. package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +0 -235
  840. package/packages/orq-rc/src/models/operations/getv2toolstoolidversions.ts +0 -163
  841. package/packages/orq-rc/src/models/operations/getv2toolstoolidversionsversionid.ts +0 -110
  842. package/packages/orq-rc/src/models/operations/guardrailrulecreate.ts +0 -126
  843. package/packages/orq-rc/src/models/operations/guardrailruledelete.ts +0 -39
  844. package/packages/orq-rc/src/models/operations/guardrailruleget.ts +0 -104
  845. package/packages/orq-rc/src/models/operations/guardrailrulelist.ts +0 -138
  846. package/packages/orq-rc/src/models/operations/guardrailrulelistusedguardrails.ts +0 -48
  847. package/packages/orq-rc/src/models/operations/guardrailruleupdate.ts +0 -155
  848. package/packages/orq-rc/src/models/operations/index.ts +0 -310
  849. package/packages/orq-rc/src/models/operations/inputresponseformat.ts +0 -5915
  850. package/packages/orq-rc/src/models/operations/invokeagent.ts +0 -775
  851. package/packages/orq-rc/src/models/operations/invokeeval.ts +0 -1336
  852. package/packages/orq-rc/src/models/operations/listagents.ts +0 -3029
  853. package/packages/orq-rc/src/models/operations/listagentschedules.ts +0 -69
  854. package/packages/orq-rc/src/models/operations/listannotationqueueitems.ts +0 -244
  855. package/packages/orq-rc/src/models/operations/listannotationqueues.ts +0 -233
  856. package/packages/orq-rc/src/models/operations/listchunks.ts +0 -289
  857. package/packages/orq-rc/src/models/operations/listchunkspaginated.ts +0 -282
  858. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +0 -2086
  859. package/packages/orq-rc/src/models/operations/listdatasets.ts +0 -218
  860. package/packages/orq-rc/src/models/operations/listdatasources.ts +0 -338
  861. package/packages/orq-rc/src/models/operations/listidentities.ts +0 -94
  862. package/packages/orq-rc/src/models/operations/listknowledgebases.ts +0 -687
  863. package/packages/orq-rc/src/models/operations/listlogfacets.ts +0 -46
  864. package/packages/orq-rc/src/models/operations/listlogfacetvalues.ts +0 -46
  865. package/packages/orq-rc/src/models/operations/listmodels.ts +0 -60
  866. package/packages/orq-rc/src/models/operations/listpromptversions.ts +0 -3479
  867. package/packages/orq-rc/src/models/operations/listtracelogs.ts +0 -43
  868. package/packages/orq-rc/src/models/operations/managementkeydelete.ts +0 -39
  869. package/packages/orq-rc/src/models/operations/managementkeyget.ts +0 -39
  870. package/packages/orq-rc/src/models/operations/managementkeylist.ts +0 -85
  871. package/packages/orq-rc/src/models/operations/managementkeyupdate.ts +0 -45
  872. package/packages/orq-rc/src/models/operations/modelazurefoundrydeployments.ts +0 -90
  873. package/packages/orq-rc/src/models/operations/modelcreate.ts +0 -189
  874. package/packages/orq-rc/src/models/operations/modelcreateawsbedrock.ts +0 -239
  875. package/packages/orq-rc/src/models/operations/modelcreateopenailike.ts +0 -207
  876. package/packages/orq-rc/src/models/operations/modelcreatevertex.ts +0 -149
  877. package/packages/orq-rc/src/models/operations/modeldelete.ts +0 -34
  878. package/packages/orq-rc/src/models/operations/modeldisable.ts +0 -39
  879. package/packages/orq-rc/src/models/operations/modelenable.ts +0 -36
  880. package/packages/orq-rc/src/models/operations/modelupdate.ts +0 -203
  881. package/packages/orq-rc/src/models/operations/modelupdateawsbedrock.ts +0 -265
  882. package/packages/orq-rc/src/models/operations/modelupdateopenailike.ts +0 -241
  883. package/packages/orq-rc/src/models/operations/modelvalidate.ts +0 -57
  884. package/packages/orq-rc/src/models/operations/modelvalidateawsbedrock.ts +0 -61
  885. package/packages/orq-rc/src/models/operations/notifierdelete.ts +0 -36
  886. package/packages/orq-rc/src/models/operations/notifierget.ts +0 -36
  887. package/packages/orq-rc/src/models/operations/notifierlist.ts +0 -72
  888. package/packages/orq-rc/src/models/operations/notifierupdate.ts +0 -41
  889. package/packages/orq-rc/src/models/operations/parse.ts +0 -784
  890. package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +0 -415
  891. package/packages/orq-rc/src/models/operations/persondelete.ts +0 -39
  892. package/packages/orq-rc/src/models/operations/personget.ts +0 -39
  893. package/packages/orq-rc/src/models/operations/personlist.ts +0 -58
  894. package/packages/orq-rc/src/models/operations/personresendinvitation.ts +0 -46
  895. package/packages/orq-rc/src/models/operations/personupdate.ts +0 -44
  896. package/packages/orq-rc/src/models/operations/policycreate.ts +0 -138
  897. package/packages/orq-rc/src/models/operations/policydelete.ts +0 -39
  898. package/packages/orq-rc/src/models/operations/policyget.ts +0 -110
  899. package/packages/orq-rc/src/models/operations/policylist.ts +0 -94
  900. package/packages/orq-rc/src/models/operations/policyupdate.ts +0 -174
  901. package/packages/orq-rc/src/models/operations/postv2feedback.ts +0 -214
  902. package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +0 -465
  903. package/packages/orq-rc/src/models/operations/postv2feedbackevaluationremove.ts +0 -43
  904. package/packages/orq-rc/src/models/operations/postv2feedbackremove.ts +0 -135
  905. package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +0 -365
  906. package/packages/orq-rc/src/models/operations/postv2routerocr.ts +0 -478
  907. package/packages/orq-rc/src/models/operations/projectdelete.ts +0 -39
  908. package/packages/orq-rc/src/models/operations/projectget.ts +0 -39
  909. package/packages/orq-rc/src/models/operations/projectlist.ts +0 -58
  910. package/packages/orq-rc/src/models/operations/projectupdate.ts +0 -44
  911. package/packages/orq-rc/src/models/operations/removeannotationqueueitems.ts +0 -79
  912. package/packages/orq-rc/src/models/operations/responsebodyloadbalancer.ts +0 -5734
  913. package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +0 -3091
  914. package/packages/orq-rc/src/models/operations/retrieveagentschedule.ts +0 -174
  915. package/packages/orq-rc/src/models/operations/retrieveannotationqueue.ts +0 -161
  916. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjson2.ts +0 -5695
  917. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody14attributes2.ts +0 -5906
  918. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody22attributesopenresponsesdetail.ts +0 -5874
  919. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody23annotations.ts +0 -5846
  920. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody27attributesopenresponsesoutput3type.ts +0 -5879
  921. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody314.ts +0 -5925
  922. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody5attributestype.ts +0 -5820
  923. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitem2annotationqueuesttl.ts +0 -5650
  924. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody11attributestoplogprobs.ts +0 -5776
  925. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody15attributesopenresponsesoutput4type.ts +0 -5816
  926. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody16toplogprobs.ts +0 -5650
  927. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody17attributesopenresponsesoutput44type.ts +0 -5807
  928. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody18type.ts +0 -5848
  929. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody1attributestype.ts +0 -5073
  930. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody21attributestoplogprobs.ts +0 -5776
  931. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody25annotations.ts +0 -5653
  932. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody29attributestoplogprobs.ts +0 -5776
  933. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody304.ts +0 -5683
  934. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody32attributesopenresponsesoutput48type.ts +0 -5837
  935. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody66.ts +0 -5901
  936. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody7attributes5.ts +0 -5808
  937. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody8attributesopenresponsesoutputtype.ts +0 -5633
  938. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody9attributes8.ts +0 -5866
  939. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1017.ts +0 -6309
  940. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody11attributesorq7evaluatorconfigtype.ts +0 -6004
  941. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody12attributesorq15annotator.ts +0 -6251
  942. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody136.ts +0 -5957
  943. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody14attributesorq14type.ts +0 -6126
  944. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody15attributesorq7outputschema.ts +0 -6129
  945. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1618.ts +0 -6254
  946. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody17attributesorq8kind.ts +0 -5705
  947. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody18attributesorq12evaluatorconfigtype.ts +0 -6182
  948. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody19attributesorq5kind.ts +0 -5806
  949. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody20attributesorq14annotator.ts +0 -6190
  950. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody21attributesorq7evaluatorconfigtype.ts +0 -5924
  951. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody22attributesorqevaluatorconfigtype.ts +0 -5758
  952. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody23attributesorq13evaluationtype.ts +0 -6130
  953. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody24attributesorq7status.ts +0 -6107
  954. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25attributesorq18type.ts +0 -6102
  955. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2611.ts +0 -6114
  956. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody27attributesorqevaluationtype.ts +0 -5773
  957. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody28attributesorq14annotator.ts +0 -6190
  958. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody29attributesorq7evaluatorconfigtype.ts +0 -6136
  959. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2attributesorq14type.ts +0 -5620
  960. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30attributesorq18evaluationtype.ts +0 -6033
  961. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody31attributesorq16kind.ts +0 -6123
  962. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody32attributesorq9evaluatorconfigtype.ts +0 -6043
  963. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody33attributesannotator.ts +0 -5771
  964. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody34attributesorq12evaluationtype.ts +0 -6211
  965. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody35attributesorq5annotator.ts +0 -5807
  966. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3attributesorq14evaluationtype.ts +0 -6110
  967. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody4attributesorq4kind.ts +0 -5751
  968. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody5attributesorq11evaluatorconfigtype.ts +0 -6274
  969. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6attributesorq19annotator.ts +0 -6255
  970. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6value.ts +0 -5614
  971. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody7attributesorq8evaluatorconfigtype.ts +0 -6477
  972. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody8attributesorq18annotator.ts +0 -6101
  973. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq9kind.ts +0 -6103
  974. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemevaluationsannotator.ts +0 -5419
  975. package/packages/orq-rc/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody20attributesopenresponses6role.ts +0 -5881
  976. package/packages/orq-rc/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody26content.ts +0 -5796
  977. package/packages/orq-rc/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody28attributesopenresponses6role.ts +0 -5881
  978. package/packages/orq-rc/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody34attributesrole.ts +0 -5849
  979. package/packages/orq-rc/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200status.ts +0 -5813
  980. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody12attributes1.ts +0 -5881
  981. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody24attributescontent.ts +0 -5891
  982. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody332.ts +0 -5921
  983. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebody.ts +0 -1462
  984. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson10attributesoutput.ts +0 -5671
  985. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson10http.ts +0 -5893
  986. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson12retry.ts +0 -5827
  987. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson14inputtoolstype.ts +0 -5864
  988. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson16settings.ts +0 -5732
  989. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson17context.ts +0 -6097
  990. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson22call.ts +0 -6081
  991. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson22inputextraparamsfallbackstype.ts +0 -5562
  992. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson25engine.ts +0 -5811
  993. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson27conversation.ts +0 -6032
  994. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson30nodes.ts +0 -5738
  995. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson31attributesopenresponsestype.ts +0 -5643
  996. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson33token.ts +0 -5969
  997. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson8trace.ts +0 -5779
  998. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjsonresponse.ts +0 -6034
  999. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse1.ts +0 -5766
  1000. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody13attributesopenresponsesoutputtype.ts +0 -5748
  1001. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody193.ts +0 -5778
  1002. package/packages/orq-rc/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody35attributestype.ts +0 -5754
  1003. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +0 -1971
  1004. package/packages/orq-rc/src/models/operations/retrievedataset.ts +0 -150
  1005. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +0 -222
  1006. package/packages/orq-rc/src/models/operations/retrieveidentity.ts +0 -55
  1007. package/packages/orq-rc/src/models/operations/retrievememory.ts +0 -112
  1008. package/packages/orq-rc/src/models/operations/retrievememorydocument.ts +0 -118
  1009. package/packages/orq-rc/src/models/operations/retrievememorystore.ts +0 -144
  1010. package/packages/orq-rc/src/models/operations/retrieveresponse.ts +0 -237
  1011. package/packages/orq-rc/src/models/operations/retrievetool.ts +0 -1375
  1012. package/packages/orq-rc/src/models/operations/routingrulecreate.ts +0 -124
  1013. package/packages/orq-rc/src/models/operations/routingruledelete.ts +0 -39
  1014. package/packages/orq-rc/src/models/operations/routingruleget.ts +0 -102
  1015. package/packages/orq-rc/src/models/operations/routingrulelist.ts +0 -112
  1016. package/packages/orq-rc/src/models/operations/routingrulelistusedmodels.ts +0 -37
  1017. package/packages/orq-rc/src/models/operations/routingruleupdate.ts +0 -154
  1018. package/packages/orq-rc/src/models/operations/runagent.ts +0 -5518
  1019. package/packages/orq-rc/src/models/operations/searchknowledge.ts +0 -1762
  1020. package/packages/orq-rc/src/models/operations/skilldelete.ts +0 -39
  1021. package/packages/orq-rc/src/models/operations/skillget.ts +0 -40
  1022. package/packages/orq-rc/src/models/operations/skilllist.ts +0 -61
  1023. package/packages/orq-rc/src/models/operations/skillupdate.ts +0 -44
  1024. package/packages/orq-rc/src/models/operations/smartrouterdelete.ts +0 -36
  1025. package/packages/orq-rc/src/models/operations/smartrouterget.ts +0 -36
  1026. package/packages/orq-rc/src/models/operations/smartrouterlist.ts +0 -53
  1027. package/packages/orq-rc/src/models/operations/smartrouterupdate.ts +0 -41
  1028. package/packages/orq-rc/src/models/operations/streamagent.ts +0 -698
  1029. package/packages/orq-rc/src/models/operations/streamrunagent.ts +0 -5697
  1030. package/packages/orq-rc/src/models/operations/tracesget.ts +0 -36
  1031. package/packages/orq-rc/src/models/operations/tracesgetspan.ts +0 -40
  1032. package/packages/orq-rc/src/models/operations/traceslistfacetvalues.ts +0 -50
  1033. package/packages/orq-rc/src/models/operations/traceslistspans.ts +0 -43
  1034. package/packages/orq-rc/src/models/operations/triggeragentschedule.ts +0 -86
  1035. package/packages/orq-rc/src/models/operations/twenty.ts +0 -5955
  1036. package/packages/orq-rc/src/models/operations/updateagent.ts +0 -6171
  1037. package/packages/orq-rc/src/models/operations/updateagentschedule.ts +0 -258
  1038. package/packages/orq-rc/src/models/operations/updateannotationqueue.ts +0 -220
  1039. package/packages/orq-rc/src/models/operations/updatechunk.ts +0 -236
  1040. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +0 -3143
  1041. package/packages/orq-rc/src/models/operations/updatedataset.ts +0 -206
  1042. package/packages/orq-rc/src/models/operations/updatedatasource.ts +0 -256
  1043. package/packages/orq-rc/src/models/operations/updateeval.ts +0 -457
  1044. package/packages/orq-rc/src/models/operations/updateidentity.ts +0 -43
  1045. package/packages/orq-rc/src/models/operations/updateknowledge.ts +0 -1231
  1046. package/packages/orq-rc/src/models/operations/updatememory.ts +0 -142
  1047. package/packages/orq-rc/src/models/operations/updatememorydocument.ts +0 -159
  1048. package/packages/orq-rc/src/models/operations/updatememorystore.ts +0 -188
  1049. package/packages/orq-rc/src/models/operations/updateprompt.ts +0 -5940
  1050. package/packages/orq-rc/src/models/operations/updatetool.ts +0 -2812
  1051. package/packages/orq-rc/src/models/operations/webhookdelete.ts +0 -31
  1052. package/packages/orq-rc/src/models/operations/webhookget.ts +0 -31
  1053. package/packages/orq-rc/src/models/operations/webhooklist.ts +0 -101
  1054. package/packages/orq-rc/src/models/operations/webhookupdate.ts +0 -84
  1055. package/packages/orq-rc/src/sdk/agents.ts +0 -198
  1056. package/packages/orq-rc/src/sdk/alerts.ts +0 -136
  1057. package/packages/orq-rc/src/sdk/annotationqueues.ts +0 -180
  1058. package/packages/orq-rc/src/sdk/annotations.ts +0 -45
  1059. package/packages/orq-rc/src/sdk/apikeys.ts +0 -116
  1060. package/packages/orq-rc/src/sdk/audio.ts +0 -25
  1061. package/packages/orq-rc/src/sdk/budgets.ts +0 -118
  1062. package/packages/orq-rc/src/sdk/chat.ts +0 -13
  1063. package/packages/orq-rc/src/sdk/chunking.ts +0 -27
  1064. package/packages/orq-rc/src/sdk/completions.ts +0 -32
  1065. package/packages/orq-rc/src/sdk/datasets.ts +0 -204
  1066. package/packages/orq-rc/src/sdk/deployments.ts +0 -83
  1067. package/packages/orq-rc/src/sdk/edits.ts +0 -27
  1068. package/packages/orq-rc/src/sdk/embeddings.ts +0 -27
  1069. package/packages/orq-rc/src/sdk/evals.ts +0 -124
  1070. package/packages/orq-rc/src/sdk/feedback.ts +0 -63
  1071. package/packages/orq-rc/src/sdk/files.ts +0 -118
  1072. package/packages/orq-rc/src/sdk/generations.ts +0 -27
  1073. package/packages/orq-rc/src/sdk/guardrailrules.ts +0 -115
  1074. package/packages/orq-rc/src/sdk/humanreviewsets.ts +0 -84
  1075. package/packages/orq-rc/src/sdk/identities.ts +0 -100
  1076. package/packages/orq-rc/src/sdk/images.ts +0 -25
  1077. package/packages/orq-rc/src/sdk/index.ts +0 -5
  1078. package/packages/orq-rc/src/sdk/knowledge.ts +0 -312
  1079. package/packages/orq-rc/src/sdk/logs.ts +0 -188
  1080. package/packages/orq-rc/src/sdk/managementkeys.ts +0 -116
  1081. package/packages/orq-rc/src/sdk/memorystores.ts +0 -286
  1082. package/packages/orq-rc/src/sdk/models.ts +0 -294
  1083. package/packages/orq-rc/src/sdk/moderations.ts +0 -24
  1084. package/packages/orq-rc/src/sdk/notifiers.ts +0 -100
  1085. package/packages/orq-rc/src/sdk/orqcompletions.ts +0 -32
  1086. package/packages/orq-rc/src/sdk/orqresponses.ts +0 -57
  1087. package/packages/orq-rc/src/sdk/people.ts +0 -118
  1088. package/packages/orq-rc/src/sdk/pii.ts +0 -63
  1089. package/packages/orq-rc/src/sdk/policies.ts +0 -99
  1090. package/packages/orq-rc/src/sdk/projects.ts +0 -100
  1091. package/packages/orq-rc/src/sdk/prompts.ts +0 -126
  1092. package/packages/orq-rc/src/sdk/reporting.ts +0 -27
  1093. package/packages/orq-rc/src/sdk/rerank.ts +0 -27
  1094. package/packages/orq-rc/src/sdk/responses.ts +0 -47
  1095. package/packages/orq-rc/src/sdk/router.ts +0 -66
  1096. package/packages/orq-rc/src/sdk/routingrules.ts +0 -115
  1097. package/packages/orq-rc/src/sdk/schedules.ts +0 -117
  1098. package/packages/orq-rc/src/sdk/sdk.ts +0 -229
  1099. package/packages/orq-rc/src/sdk/skills.ts +0 -100
  1100. package/packages/orq-rc/src/sdk/smartrouters.ts +0 -102
  1101. package/packages/orq-rc/src/sdk/speech.ts +0 -27
  1102. package/packages/orq-rc/src/sdk/tools.ts +0 -135
  1103. package/packages/orq-rc/src/sdk/traces.ts +0 -168
  1104. package/packages/orq-rc/src/sdk/transcriptions.ts +0 -24
  1105. package/packages/orq-rc/src/sdk/translations.ts +0 -24
  1106. package/packages/orq-rc/src/sdk/variations.ts +0 -27
  1107. package/packages/orq-rc/src/sdk/webhooks.ts +0 -152
  1108. package/packages/orq-rc/src/sdk/workspacesettings.ts +0 -43
  1109. package/packages/orq-rc/src/types/async.ts +0 -69
  1110. package/packages/orq-rc/src/types/blobs.ts +0 -32
  1111. package/packages/orq-rc/src/types/constdatetime.ts +0 -15
  1112. package/packages/orq-rc/src/types/enums.ts +0 -45
  1113. package/packages/orq-rc/src/types/fp.ts +0 -50
  1114. package/packages/orq-rc/src/types/index.ts +0 -11
  1115. package/packages/orq-rc/src/types/operations.ts +0 -105
  1116. package/packages/orq-rc/src/types/rfcdate.ts +0 -54
  1117. package/packages/orq-rc/src/types/streams.ts +0 -21
  1118. package/packages/orq-rc/src/types/unrecognized.ts +0 -35
@@ -1,2487 +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
- /**
16
- * 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.
17
- */
18
- export const CreateToolRequestBodyToolsRequestStatus = {
19
- Live: "live",
20
- Draft: "draft",
21
- Pending: "pending",
22
- Published: "published",
23
- } as const;
24
- /**
25
- * 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.
26
- */
27
- export type CreateToolRequestBodyToolsRequestStatus = ClosedEnum<
28
- typeof CreateToolRequestBodyToolsRequestStatus
29
- >;
30
-
31
- /**
32
- * The type must be "object"
33
- */
34
- export const CreateToolRequestBodyToolsRequest5CodeToolType = {
35
- Object: "object",
36
- } as const;
37
- /**
38
- * The type must be "object"
39
- */
40
- export type CreateToolRequestBodyToolsRequest5CodeToolType = ClosedEnum<
41
- typeof CreateToolRequestBodyToolsRequest5CodeToolType
42
- >;
43
-
44
- /**
45
- * 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.
46
- */
47
- export type CreateToolRequestBodyParameters = {
48
- /**
49
- * The type must be "object"
50
- */
51
- type: CreateToolRequestBodyToolsRequest5CodeToolType;
52
- /**
53
- * The properties of the function parameters
54
- */
55
- properties: { [k: string]: any };
56
- /**
57
- * Array of required parameter names
58
- */
59
- required: Array<string>;
60
- additionalProperties?: { [k: string]: any } | undefined;
61
- };
62
-
63
- export const RequestBodyLanguage = {
64
- Python: "python",
65
- } as const;
66
- export type RequestBodyLanguage = ClosedEnum<typeof RequestBodyLanguage>;
67
-
68
- export type RequestBodyCodeTool = {
69
- /**
70
- * 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.
71
- */
72
- parameters?: CreateToolRequestBodyParameters | undefined;
73
- language: RequestBodyLanguage;
74
- /**
75
- * The code to execute.
76
- */
77
- code: string;
78
- };
79
-
80
- /**
81
- * Executes code snippets in a sandboxed environment, currently supporting Python.
82
- */
83
- export type CodeExecutionTool = {
84
- /**
85
- * Entity storage path.
86
- *
87
- * @remarks
88
- *
89
- * 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`.
90
- *
91
- * 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.
92
- */
93
- path: string;
94
- /**
95
- * Unique key of the tool as it will be displayed in the UI
96
- */
97
- key: string;
98
- /**
99
- * 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.
100
- */
101
- displayName?: string | undefined;
102
- /**
103
- * 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.
104
- */
105
- description: string;
106
- /**
107
- * 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.
108
- */
109
- status?: CreateToolRequestBodyToolsRequestStatus | undefined;
110
- type: "code";
111
- codeTool: RequestBodyCodeTool;
112
- };
113
-
114
- /**
115
- * 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.
116
- */
117
- export const CreateToolRequestBodyToolsStatus = {
118
- Live: "live",
119
- Draft: "draft",
120
- Pending: "pending",
121
- Published: "published",
122
- } as const;
123
- /**
124
- * 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.
125
- */
126
- export type CreateToolRequestBodyToolsStatus = ClosedEnum<
127
- typeof CreateToolRequestBodyToolsStatus
128
- >;
129
-
130
- export type RequestBodyHeaders = {
131
- value: string;
132
- encrypted?: boolean | undefined;
133
- };
134
-
135
- /**
136
- * The connection type used by the MCP server
137
- */
138
- export const RequestBodyConnectionType = {
139
- Http: "http",
140
- Sse: "sse",
141
- } as const;
142
- /**
143
- * The connection type used by the MCP server
144
- */
145
- export type RequestBodyConnectionType = ClosedEnum<
146
- typeof RequestBodyConnectionType
147
- >;
148
-
149
- export type RequestBodyMcp = {
150
- /**
151
- * The MCP server URL (cached for execution)
152
- */
153
- serverUrl: string;
154
- /**
155
- * HTTP headers for MCP server requests with encryption support
156
- */
157
- headers?: { [k: string]: RequestBodyHeaders } | undefined;
158
- /**
159
- * The connection type used by the MCP server
160
- */
161
- connectionType: RequestBodyConnectionType;
162
- };
163
-
164
- /**
165
- * A tool from a Model Context Protocol (MCP) server that provides standardized access to external capabilities.
166
- */
167
- export type RequestBodyMCPTool = {
168
- /**
169
- * Entity storage path.
170
- *
171
- * @remarks
172
- *
173
- * 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`.
174
- *
175
- * 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.
176
- */
177
- path: string;
178
- /**
179
- * Unique key of the tool as it will be displayed in the UI
180
- */
181
- key: string;
182
- /**
183
- * 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.
184
- */
185
- displayName?: string | undefined;
186
- /**
187
- * 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.
188
- */
189
- description: string;
190
- /**
191
- * 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.
192
- */
193
- status?: CreateToolRequestBodyToolsStatus | undefined;
194
- type: "mcp";
195
- mcp: RequestBodyMcp;
196
- discoveryVariables?: { [k: string]: string } | undefined;
197
- };
198
-
199
- /**
200
- * 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.
201
- */
202
- export const CreateToolRequestBodyStatus = {
203
- Live: "live",
204
- Draft: "draft",
205
- Pending: "pending",
206
- Published: "published",
207
- } as const;
208
- /**
209
- * 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.
210
- */
211
- export type CreateToolRequestBodyStatus = ClosedEnum<
212
- typeof CreateToolRequestBodyStatus
213
- >;
214
-
215
- /**
216
- * The HTTP method to use.
217
- */
218
- export const RequestBodyMethod = {
219
- Get: "GET",
220
- Post: "POST",
221
- Put: "PUT",
222
- Delete: "DELETE",
223
- } as const;
224
- /**
225
- * The HTTP method to use.
226
- */
227
- export type RequestBodyMethod = ClosedEnum<typeof RequestBodyMethod>;
228
-
229
- export type CreateToolHeaders2 = {
230
- value: string;
231
- encrypted?: boolean | undefined;
232
- };
233
-
234
- export type CreateToolRequestBodyHeaders = CreateToolHeaders2 | string;
235
-
236
- /**
237
- * The blueprint for the HTTP request. The `arguments` field will be used to replace the placeholders in the `url`, `headers`, `body`, and `arguments` fields.
238
- */
239
- export type RequestBodyBlueprint = {
240
- /**
241
- * The URL to send the request to.
242
- */
243
- url: string;
244
- /**
245
- * The HTTP method to use.
246
- */
247
- method: RequestBodyMethod;
248
- /**
249
- * The headers to send with the request. Can be a string value or an object with value and encrypted properties.
250
- */
251
- headers?: { [k: string]: CreateToolHeaders2 | string } | undefined;
252
- /**
253
- * The body to send with the request.
254
- */
255
- body?: { [k: string]: any } | undefined;
256
- /**
257
- * The request timeout in seconds. Defaults to 60 seconds when not set. When used in an agent, tool executions are also bound by the agent run `limits.tool_timeout` (default 5 minutes), so raise that limit for longer-running tools.
258
- */
259
- timeout?: number | undefined;
260
- };
261
-
262
- /**
263
- * The type of the argument.
264
- */
265
- export const CreateToolRequestBodyToolsRequest3Type = {
266
- String: "string",
267
- Number: "number",
268
- Boolean: "boolean",
269
- } as const;
270
- /**
271
- * The type of the argument.
272
- */
273
- export type CreateToolRequestBodyToolsRequest3Type = ClosedEnum<
274
- typeof CreateToolRequestBodyToolsRequest3Type
275
- >;
276
-
277
- /**
278
- * The default value of the argument.
279
- */
280
- export type RequestBodyDefaultValue = string | number | boolean;
281
-
282
- export type RequestBodyArguments = {
283
- /**
284
- * The type of the argument.
285
- */
286
- type: CreateToolRequestBodyToolsRequest3Type;
287
- /**
288
- * A description of the argument.
289
- */
290
- description: string;
291
- /**
292
- * 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.
293
- */
294
- sendToModel?: boolean | undefined;
295
- /**
296
- * The default value of the argument.
297
- */
298
- defaultValue?: string | number | boolean | undefined;
299
- };
300
-
301
- export type RequestBodyHttp = {
302
- /**
303
- * The blueprint for the HTTP request. The `arguments` field will be used to replace the placeholders in the `url`, `headers`, `body`, and `arguments` fields.
304
- */
305
- blueprint: RequestBodyBlueprint;
306
- /**
307
- * The arguments to send with the request. The keys will be used to replace the placeholders in the `blueprint` field.
308
- */
309
- arguments?: { [k: string]: RequestBodyArguments } | undefined;
310
- };
311
-
312
- /**
313
- * Executes HTTP requests to interact with external APIs and web services using customizable blueprints.
314
- */
315
- export type HTTPTool = {
316
- /**
317
- * Entity storage path.
318
- *
319
- * @remarks
320
- *
321
- * 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`.
322
- *
323
- * 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.
324
- */
325
- path: string;
326
- /**
327
- * Unique key of the tool as it will be displayed in the UI
328
- */
329
- key: string;
330
- /**
331
- * 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.
332
- */
333
- displayName?: string | undefined;
334
- /**
335
- * 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.
336
- */
337
- description: string;
338
- /**
339
- * 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.
340
- */
341
- status?: CreateToolRequestBodyStatus | undefined;
342
- type: "http";
343
- http: RequestBodyHttp;
344
- };
345
-
346
- /**
347
- * 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.
348
- */
349
- export const RequestBodyStatus = {
350
- Live: "live",
351
- Draft: "draft",
352
- Pending: "pending",
353
- Published: "published",
354
- } as const;
355
- /**
356
- * 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.
357
- */
358
- export type RequestBodyStatus = ClosedEnum<typeof RequestBodyStatus>;
359
-
360
- /**
361
- * 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.
362
- */
363
- export type RequestBodySchema = {
364
- /**
365
- * The JSON Schema type
366
- */
367
- type: string;
368
- /**
369
- * The properties of the JSON Schema object
370
- */
371
- properties: { [k: string]: any };
372
- /**
373
- * Array of required property names
374
- */
375
- required: Array<string>;
376
- additionalProperties?: { [k: string]: any } | undefined;
377
- };
378
-
379
- export type RequestBodyJsonSchema = {
380
- /**
381
- * 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.
382
- */
383
- name: string;
384
- /**
385
- * A description of what the response format is for. This will be shown to the user.
386
- */
387
- description: string;
388
- /**
389
- * 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.
390
- */
391
- schema: RequestBodySchema;
392
- /**
393
- * 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.
394
- */
395
- strict?: boolean | undefined;
396
- };
397
-
398
- /**
399
- * A tool that enforces structured output format using JSON Schema for consistent response formatting.
400
- */
401
- export type JSONSchemaTool = {
402
- /**
403
- * Entity storage path.
404
- *
405
- * @remarks
406
- *
407
- * 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`.
408
- *
409
- * 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.
410
- */
411
- path: string;
412
- /**
413
- * Unique key of the tool as it will be displayed in the UI
414
- */
415
- key: string;
416
- /**
417
- * 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.
418
- */
419
- displayName?: string | undefined;
420
- /**
421
- * 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.
422
- */
423
- description: string;
424
- /**
425
- * 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.
426
- */
427
- status?: RequestBodyStatus | undefined;
428
- type: "json_schema";
429
- jsonSchema: RequestBodyJsonSchema;
430
- };
431
-
432
- /**
433
- * 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.
434
- */
435
- export const CreateToolRequestBodyToolsRequest1Status = {
436
- Live: "live",
437
- Draft: "draft",
438
- Pending: "pending",
439
- Published: "published",
440
- } as const;
441
- /**
442
- * 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.
443
- */
444
- export type CreateToolRequestBodyToolsRequest1Status = ClosedEnum<
445
- typeof CreateToolRequestBodyToolsRequest1Status
446
- >;
447
-
448
- /**
449
- * The type must be "object"
450
- */
451
- export const CreateToolRequestBodyToolsRequest1Type = {
452
- Object: "object",
453
- } as const;
454
- /**
455
- * The type must be "object"
456
- */
457
- export type CreateToolRequestBodyToolsRequest1Type = ClosedEnum<
458
- typeof CreateToolRequestBodyToolsRequest1Type
459
- >;
460
-
461
- /**
462
- * 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.
463
- */
464
- export type RequestBodyParameters = {
465
- /**
466
- * The type must be "object"
467
- */
468
- type: CreateToolRequestBodyToolsRequest1Type;
469
- /**
470
- * The properties of the function parameters
471
- */
472
- properties: { [k: string]: any };
473
- /**
474
- * Array of required parameter names
475
- */
476
- required: Array<string>;
477
- additionalProperties?: { [k: string]: any } | undefined;
478
- };
479
-
480
- export type RequestBodyFunction = {
481
- /**
482
- * 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.
483
- */
484
- name: string;
485
- /**
486
- * A description of what the function does, used by the model to choose when and how to call the function.
487
- */
488
- description?: string | undefined;
489
- /**
490
- * 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.
491
- */
492
- strict?: boolean | undefined;
493
- /**
494
- * 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.
495
- */
496
- parameters?: RequestBodyParameters | undefined;
497
- };
498
-
499
- /**
500
- * A custom function tool that allows the model to call predefined functions with structured parameters.
501
- */
502
- export type FunctionTool = {
503
- /**
504
- * Entity storage path.
505
- *
506
- * @remarks
507
- *
508
- * 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`.
509
- *
510
- * 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.
511
- */
512
- path: string;
513
- /**
514
- * Unique key of the tool as it will be displayed in the UI
515
- */
516
- key: string;
517
- /**
518
- * 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.
519
- */
520
- displayName?: string | undefined;
521
- /**
522
- * 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.
523
- */
524
- description: string;
525
- /**
526
- * 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.
527
- */
528
- status?: CreateToolRequestBodyToolsRequest1Status | undefined;
529
- type: "function";
530
- function: RequestBodyFunction;
531
- };
532
-
533
- /**
534
- * The tool to create
535
- */
536
- export type CreateToolRequestBody =
537
- | FunctionTool
538
- | JSONSchemaTool
539
- | HTTPTool
540
- | RequestBodyMCPTool
541
- | CodeExecutionTool;
542
-
543
- /**
544
- * 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.
545
- */
546
- export const CreateToolResponseBodyToolsResponse200Status = {
547
- Live: "live",
548
- Draft: "draft",
549
- Pending: "pending",
550
- Published: "published",
551
- } as const;
552
- /**
553
- * 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.
554
- */
555
- export type CreateToolResponseBodyToolsResponse200Status = ClosedEnum<
556
- typeof CreateToolResponseBodyToolsResponse200Status
557
- >;
558
-
559
- /**
560
- * The type must be "object"
561
- */
562
- export const CreateToolResponseBodyToolsResponse200ApplicationJson5Type = {
563
- Object: "object",
564
- } as const;
565
- /**
566
- * The type must be "object"
567
- */
568
- export type CreateToolResponseBodyToolsResponse200ApplicationJson5Type =
569
- ClosedEnum<typeof CreateToolResponseBodyToolsResponse200ApplicationJson5Type>;
570
-
571
- /**
572
- * 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.
573
- */
574
- export type CreateToolResponseBodyParameters = {
575
- /**
576
- * The type must be "object"
577
- */
578
- type: CreateToolResponseBodyToolsResponse200ApplicationJson5Type;
579
- /**
580
- * The properties of the function parameters
581
- */
582
- properties: { [k: string]: any };
583
- /**
584
- * Array of required parameter names
585
- */
586
- required: Array<string>;
587
- additionalProperties?: { [k: string]: any } | undefined;
588
- };
589
-
590
- export const ResponseBodyLanguage = {
591
- Python: "python",
592
- } as const;
593
- export type ResponseBodyLanguage = ClosedEnum<typeof ResponseBodyLanguage>;
594
-
595
- export type ResponseBodyCodeTool = {
596
- /**
597
- * 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.
598
- */
599
- parameters?: CreateToolResponseBodyParameters | undefined;
600
- language: ResponseBodyLanguage;
601
- /**
602
- * The code to execute.
603
- */
604
- code: string;
605
- };
606
-
607
- /**
608
- * Executes code snippets in a sandboxed environment, currently supporting Python.
609
- */
610
- export type ResponseBodyCodeExecutionTool = {
611
- id: string;
612
- /**
613
- * Entity storage path.
614
- *
615
- * @remarks
616
- *
617
- * 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`.
618
- *
619
- * 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.
620
- */
621
- path: string;
622
- /**
623
- * Unique key of the tool as it will be displayed in the UI
624
- */
625
- key: string;
626
- /**
627
- * 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.
628
- */
629
- displayName?: string | undefined;
630
- /**
631
- * 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.
632
- */
633
- description: string;
634
- /**
635
- * The id of the user that created the tool
636
- */
637
- createdById?: string | null | undefined;
638
- /**
639
- * The id of the user that last updated the tool
640
- */
641
- updatedById?: string | null | undefined;
642
- projectId: string;
643
- workspaceId: string;
644
- created: string;
645
- updated: string;
646
- /**
647
- * 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.
648
- */
649
- status: CreateToolResponseBodyToolsResponse200Status;
650
- type: "code";
651
- codeTool: ResponseBodyCodeTool;
652
- };
653
-
654
- /**
655
- * 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.
656
- */
657
- export const CreateToolResponseBodyToolsResponseStatus = {
658
- Live: "live",
659
- Draft: "draft",
660
- Pending: "pending",
661
- Published: "published",
662
- } as const;
663
- /**
664
- * 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.
665
- */
666
- export type CreateToolResponseBodyToolsResponseStatus = ClosedEnum<
667
- typeof CreateToolResponseBodyToolsResponseStatus
668
- >;
669
-
670
- export type ResponseBodyHeaders = {
671
- value: string;
672
- encrypted: boolean;
673
- };
674
-
675
- export const CreateToolResponseBodyToolsResponse200ApplicationJson4Type = {
676
- Object: "object",
677
- } as const;
678
- export type CreateToolResponseBodyToolsResponse200ApplicationJson4Type =
679
- ClosedEnum<typeof CreateToolResponseBodyToolsResponse200ApplicationJson4Type>;
680
-
681
- export type CreateToolResponseBodySchema = {
682
- type: CreateToolResponseBodyToolsResponse200ApplicationJson4Type;
683
- properties?: { [k: string]: any } | undefined;
684
- required?: Array<string> | undefined;
685
- };
686
-
687
- export type ResponseBodyTools = {
688
- id: string;
689
- name: string;
690
- description?: string | undefined;
691
- schema: CreateToolResponseBodySchema;
692
- };
693
-
694
- /**
695
- * The connection type used by the MCP server
696
- */
697
- export const ResponseBodyConnectionType = {
698
- Http: "http",
699
- Sse: "sse",
700
- } as const;
701
- /**
702
- * The connection type used by the MCP server
703
- */
704
- export type ResponseBodyConnectionType = ClosedEnum<
705
- typeof ResponseBodyConnectionType
706
- >;
707
-
708
- export type ResponseBodyMcp = {
709
- /**
710
- * The MCP server URL (cached for execution)
711
- */
712
- serverUrl: string;
713
- /**
714
- * HTTP headers for MCP server requests with encryption support
715
- */
716
- headers?: { [k: string]: ResponseBodyHeaders } | undefined;
717
- /**
718
- * Array of tools available from the MCP server
719
- */
720
- tools: Array<ResponseBodyTools>;
721
- /**
722
- * The connection type used by the MCP server
723
- */
724
- connectionType: ResponseBodyConnectionType;
725
- /**
726
- * Names of template variables detected in server_url and headers. Used by the FE to prompt for one-time values on sync/refresh.
727
- */
728
- templateVariables?: Array<string> | null | undefined;
729
- };
730
-
731
- /**
732
- * A tool from a Model Context Protocol (MCP) server that provides standardized access to external capabilities.
733
- */
734
- export type ResponseBodyMCPTool = {
735
- id: string;
736
- /**
737
- * Entity storage path.
738
- *
739
- * @remarks
740
- *
741
- * 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`.
742
- *
743
- * 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.
744
- */
745
- path: string;
746
- /**
747
- * Unique key of the tool as it will be displayed in the UI
748
- */
749
- key: string;
750
- /**
751
- * 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.
752
- */
753
- displayName?: string | undefined;
754
- /**
755
- * 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.
756
- */
757
- description: string;
758
- /**
759
- * The id of the user that created the tool
760
- */
761
- createdById?: string | null | undefined;
762
- /**
763
- * The id of the user that last updated the tool
764
- */
765
- updatedById?: string | null | undefined;
766
- projectId: string;
767
- workspaceId: string;
768
- created: string;
769
- updated: string;
770
- /**
771
- * 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.
772
- */
773
- status: CreateToolResponseBodyToolsResponseStatus;
774
- type: "mcp";
775
- mcp: ResponseBodyMcp;
776
- };
777
-
778
- /**
779
- * 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.
780
- */
781
- export const CreateToolResponseBodyToolsStatus = {
782
- Live: "live",
783
- Draft: "draft",
784
- Pending: "pending",
785
- Published: "published",
786
- } as const;
787
- /**
788
- * 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.
789
- */
790
- export type CreateToolResponseBodyToolsStatus = ClosedEnum<
791
- typeof CreateToolResponseBodyToolsStatus
792
- >;
793
-
794
- /**
795
- * The HTTP method to use.
796
- */
797
- export const CreateToolResponseBodyMethod = {
798
- Get: "GET",
799
- Post: "POST",
800
- Put: "PUT",
801
- Delete: "DELETE",
802
- } as const;
803
- /**
804
- * The HTTP method to use.
805
- */
806
- export type CreateToolResponseBodyMethod = ClosedEnum<
807
- typeof CreateToolResponseBodyMethod
808
- >;
809
-
810
- export type CreateToolHeadersTools2 = {
811
- value: string;
812
- encrypted: boolean;
813
- };
814
-
815
- export type CreateToolResponseBodyHeaders = CreateToolHeadersTools2 | string;
816
-
817
- /**
818
- * The blueprint for the HTTP request. The `arguments` field will be used to replace the placeholders in the `url`, `headers`, `body`, and `arguments` fields.
819
- */
820
- export type ResponseBodyBlueprint = {
821
- /**
822
- * The URL to send the request to.
823
- */
824
- url: string;
825
- /**
826
- * The HTTP method to use.
827
- */
828
- method: CreateToolResponseBodyMethod;
829
- /**
830
- * The headers to send with the request. Can be a string value or an object with value and encrypted properties.
831
- */
832
- headers?: { [k: string]: CreateToolHeadersTools2 | string } | undefined;
833
- /**
834
- * The body to send with the request.
835
- */
836
- body?: { [k: string]: any } | undefined;
837
- /**
838
- * The request timeout in seconds. Defaults to 60 seconds when not set. When used in an agent, tool executions are also bound by the agent run `limits.tool_timeout` (default 5 minutes), so raise that limit for longer-running tools.
839
- */
840
- timeout?: number | undefined;
841
- };
842
-
843
- /**
844
- * The type of the argument.
845
- */
846
- export const CreateToolResponseBodyToolsResponse200ApplicationJson3Type = {
847
- String: "string",
848
- Number: "number",
849
- Boolean: "boolean",
850
- } as const;
851
- /**
852
- * The type of the argument.
853
- */
854
- export type CreateToolResponseBodyToolsResponse200ApplicationJson3Type =
855
- ClosedEnum<typeof CreateToolResponseBodyToolsResponse200ApplicationJson3Type>;
856
-
857
- /**
858
- * The default value of the argument.
859
- */
860
- export type ResponseBodyDefaultValue = string | number | boolean;
861
-
862
- export type ResponseBodyArguments = {
863
- /**
864
- * The type of the argument.
865
- */
866
- type: CreateToolResponseBodyToolsResponse200ApplicationJson3Type;
867
- /**
868
- * A description of the argument.
869
- */
870
- description: string;
871
- /**
872
- * 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.
873
- */
874
- sendToModel: boolean;
875
- /**
876
- * The default value of the argument.
877
- */
878
- defaultValue?: string | number | boolean | undefined;
879
- };
880
-
881
- export type CreateToolResponseBodyHttp = {
882
- /**
883
- * The blueprint for the HTTP request. The `arguments` field will be used to replace the placeholders in the `url`, `headers`, `body`, and `arguments` fields.
884
- */
885
- blueprint: ResponseBodyBlueprint;
886
- /**
887
- * The arguments to send with the request. The keys will be used to replace the placeholders in the `blueprint` field.
888
- */
889
- arguments?: { [k: string]: ResponseBodyArguments } | undefined;
890
- };
891
-
892
- /**
893
- * Executes HTTP requests to interact with external APIs and web services using customizable blueprints.
894
- */
895
- export type ResponseBodyHTTPTool = {
896
- id: string;
897
- /**
898
- * Entity storage path.
899
- *
900
- * @remarks
901
- *
902
- * 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`.
903
- *
904
- * 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.
905
- */
906
- path: string;
907
- /**
908
- * Unique key of the tool as it will be displayed in the UI
909
- */
910
- key: string;
911
- /**
912
- * 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.
913
- */
914
- displayName?: string | undefined;
915
- /**
916
- * 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.
917
- */
918
- description: string;
919
- /**
920
- * The id of the user that created the tool
921
- */
922
- createdById?: string | null | undefined;
923
- /**
924
- * The id of the user that last updated the tool
925
- */
926
- updatedById?: string | null | undefined;
927
- projectId: string;
928
- workspaceId: string;
929
- created: string;
930
- updated: string;
931
- /**
932
- * 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.
933
- */
934
- status: CreateToolResponseBodyToolsStatus;
935
- type: "http";
936
- http: CreateToolResponseBodyHttp;
937
- };
938
-
939
- /**
940
- * 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.
941
- */
942
- export const CreateToolResponseBodyStatus = {
943
- Live: "live",
944
- Draft: "draft",
945
- Pending: "pending",
946
- Published: "published",
947
- } as const;
948
- /**
949
- * 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.
950
- */
951
- export type CreateToolResponseBodyStatus = ClosedEnum<
952
- typeof CreateToolResponseBodyStatus
953
- >;
954
-
955
- /**
956
- * 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.
957
- */
958
- export type ResponseBodySchema = {
959
- /**
960
- * The JSON Schema type
961
- */
962
- type: string;
963
- /**
964
- * The properties of the JSON Schema object
965
- */
966
- properties: { [k: string]: any };
967
- /**
968
- * Array of required property names
969
- */
970
- required: Array<string>;
971
- additionalProperties?: { [k: string]: any } | undefined;
972
- };
973
-
974
- export type ResponseBodyJsonSchema = {
975
- /**
976
- * 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.
977
- */
978
- name: string;
979
- /**
980
- * A description of what the response format is for. This will be shown to the user.
981
- */
982
- description: string;
983
- /**
984
- * 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.
985
- */
986
- schema: ResponseBodySchema;
987
- /**
988
- * 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.
989
- */
990
- strict?: boolean | undefined;
991
- };
992
-
993
- /**
994
- * A tool that enforces structured output format using JSON Schema for consistent response formatting.
995
- */
996
- export type ResponseBodyJSONSchemaTool = {
997
- id: string;
998
- /**
999
- * Entity storage path.
1000
- *
1001
- * @remarks
1002
- *
1003
- * 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`.
1004
- *
1005
- * 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.
1006
- */
1007
- path: string;
1008
- /**
1009
- * Unique key of the tool as it will be displayed in the UI
1010
- */
1011
- key: string;
1012
- /**
1013
- * 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.
1014
- */
1015
- displayName?: string | undefined;
1016
- /**
1017
- * 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.
1018
- */
1019
- description: string;
1020
- /**
1021
- * The id of the user that created the tool
1022
- */
1023
- createdById?: string | null | undefined;
1024
- /**
1025
- * The id of the user that last updated the tool
1026
- */
1027
- updatedById?: string | null | undefined;
1028
- projectId: string;
1029
- workspaceId: string;
1030
- created: string;
1031
- updated: string;
1032
- /**
1033
- * 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.
1034
- */
1035
- status: CreateToolResponseBodyStatus;
1036
- type: "json_schema";
1037
- jsonSchema: ResponseBodyJsonSchema;
1038
- };
1039
-
1040
- /**
1041
- * 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.
1042
- */
1043
- export const ResponseBodyStatus = {
1044
- Live: "live",
1045
- Draft: "draft",
1046
- Pending: "pending",
1047
- Published: "published",
1048
- } as const;
1049
- /**
1050
- * 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.
1051
- */
1052
- export type ResponseBodyStatus = ClosedEnum<typeof ResponseBodyStatus>;
1053
-
1054
- /**
1055
- * The type must be "object"
1056
- */
1057
- export const CreateToolResponseBodyToolsResponse200ApplicationJson1Type = {
1058
- Object: "object",
1059
- } as const;
1060
- /**
1061
- * The type must be "object"
1062
- */
1063
- export type CreateToolResponseBodyToolsResponse200ApplicationJson1Type =
1064
- ClosedEnum<typeof CreateToolResponseBodyToolsResponse200ApplicationJson1Type>;
1065
-
1066
- /**
1067
- * 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.
1068
- */
1069
- export type ResponseBodyParameters = {
1070
- /**
1071
- * The type must be "object"
1072
- */
1073
- type: CreateToolResponseBodyToolsResponse200ApplicationJson1Type;
1074
- /**
1075
- * The properties of the function parameters
1076
- */
1077
- properties: { [k: string]: any };
1078
- /**
1079
- * Array of required parameter names
1080
- */
1081
- required: Array<string>;
1082
- additionalProperties?: { [k: string]: any } | undefined;
1083
- };
1084
-
1085
- export type CreateToolResponseBodyFunction = {
1086
- /**
1087
- * 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.
1088
- */
1089
- name: string;
1090
- /**
1091
- * A description of what the function does, used by the model to choose when and how to call the function.
1092
- */
1093
- description?: string | undefined;
1094
- /**
1095
- * 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.
1096
- */
1097
- strict?: boolean | undefined;
1098
- /**
1099
- * 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.
1100
- */
1101
- parameters?: ResponseBodyParameters | undefined;
1102
- };
1103
-
1104
- /**
1105
- * A custom function tool that allows the model to call predefined functions with structured parameters.
1106
- */
1107
- export type ResponseBodyFunctionTool = {
1108
- id: string;
1109
- /**
1110
- * Entity storage path.
1111
- *
1112
- * @remarks
1113
- *
1114
- * 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`.
1115
- *
1116
- * 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.
1117
- */
1118
- path: string;
1119
- /**
1120
- * Unique key of the tool as it will be displayed in the UI
1121
- */
1122
- key: string;
1123
- /**
1124
- * 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.
1125
- */
1126
- displayName?: string | undefined;
1127
- /**
1128
- * 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.
1129
- */
1130
- description: string;
1131
- /**
1132
- * The id of the user that created the tool
1133
- */
1134
- createdById?: string | null | undefined;
1135
- /**
1136
- * The id of the user that last updated the tool
1137
- */
1138
- updatedById?: string | null | undefined;
1139
- projectId: string;
1140
- workspaceId: string;
1141
- created: string;
1142
- updated: string;
1143
- /**
1144
- * 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.
1145
- */
1146
- status: ResponseBodyStatus;
1147
- type: "function";
1148
- function: CreateToolResponseBodyFunction;
1149
- };
1150
-
1151
- /**
1152
- * Successfully created the tool.
1153
- */
1154
- export type CreateToolResponseBody =
1155
- | ResponseBodyFunctionTool
1156
- | ResponseBodyJSONSchemaTool
1157
- | ResponseBodyHTTPTool
1158
- | ResponseBodyMCPTool
1159
- | ResponseBodyCodeExecutionTool;
1160
-
1161
- /** @internal */
1162
- export const CreateToolRequestBodyToolsRequestStatus$outboundSchema:
1163
- z.ZodNativeEnum<typeof CreateToolRequestBodyToolsRequestStatus> = z
1164
- .nativeEnum(CreateToolRequestBodyToolsRequestStatus);
1165
-
1166
- /** @internal */
1167
- export const CreateToolRequestBodyToolsRequest5CodeToolType$outboundSchema:
1168
- z.ZodNativeEnum<typeof CreateToolRequestBodyToolsRequest5CodeToolType> = z
1169
- .nativeEnum(CreateToolRequestBodyToolsRequest5CodeToolType);
1170
-
1171
- /** @internal */
1172
- export type CreateToolRequestBodyParameters$Outbound = {
1173
- type: string;
1174
- properties: { [k: string]: any };
1175
- required: Array<string>;
1176
- [additionalProperties: string]: unknown;
1177
- };
1178
-
1179
- /** @internal */
1180
- export const CreateToolRequestBodyParameters$outboundSchema: z.ZodType<
1181
- CreateToolRequestBodyParameters$Outbound,
1182
- z.ZodTypeDef,
1183
- CreateToolRequestBodyParameters
1184
- > = z.object({
1185
- type: CreateToolRequestBodyToolsRequest5CodeToolType$outboundSchema,
1186
- properties: z.record(z.any()),
1187
- required: z.array(z.string()),
1188
- additionalProperties: z.record(z.any()).optional(),
1189
- }).transform((v) => {
1190
- return {
1191
- ...v.additionalProperties,
1192
- ...remap$(v, {
1193
- additionalProperties: null,
1194
- }),
1195
- };
1196
- });
1197
-
1198
- export function createToolRequestBodyParametersToJSON(
1199
- createToolRequestBodyParameters: CreateToolRequestBodyParameters,
1200
- ): string {
1201
- return JSON.stringify(
1202
- CreateToolRequestBodyParameters$outboundSchema.parse(
1203
- createToolRequestBodyParameters,
1204
- ),
1205
- );
1206
- }
1207
-
1208
- /** @internal */
1209
- export const RequestBodyLanguage$outboundSchema: z.ZodNativeEnum<
1210
- typeof RequestBodyLanguage
1211
- > = z.nativeEnum(RequestBodyLanguage);
1212
-
1213
- /** @internal */
1214
- export type RequestBodyCodeTool$Outbound = {
1215
- parameters?: CreateToolRequestBodyParameters$Outbound | undefined;
1216
- language: string;
1217
- code: string;
1218
- };
1219
-
1220
- /** @internal */
1221
- export const RequestBodyCodeTool$outboundSchema: z.ZodType<
1222
- RequestBodyCodeTool$Outbound,
1223
- z.ZodTypeDef,
1224
- RequestBodyCodeTool
1225
- > = z.object({
1226
- parameters: z.lazy(() => CreateToolRequestBodyParameters$outboundSchema)
1227
- .optional(),
1228
- language: RequestBodyLanguage$outboundSchema,
1229
- code: z.string(),
1230
- });
1231
-
1232
- export function requestBodyCodeToolToJSON(
1233
- requestBodyCodeTool: RequestBodyCodeTool,
1234
- ): string {
1235
- return JSON.stringify(
1236
- RequestBodyCodeTool$outboundSchema.parse(requestBodyCodeTool),
1237
- );
1238
- }
1239
-
1240
- /** @internal */
1241
- export type CodeExecutionTool$Outbound = {
1242
- path: string;
1243
- key: string;
1244
- display_name?: string | undefined;
1245
- description: string;
1246
- status: string;
1247
- type: "code";
1248
- code_tool: RequestBodyCodeTool$Outbound;
1249
- };
1250
-
1251
- /** @internal */
1252
- export const CodeExecutionTool$outboundSchema: z.ZodType<
1253
- CodeExecutionTool$Outbound,
1254
- z.ZodTypeDef,
1255
- CodeExecutionTool
1256
- > = z.object({
1257
- path: z.string(),
1258
- key: z.string(),
1259
- displayName: z.string().optional(),
1260
- description: z.string(),
1261
- status: CreateToolRequestBodyToolsRequestStatus$outboundSchema.default(
1262
- "live",
1263
- ),
1264
- type: z.literal("code"),
1265
- codeTool: z.lazy(() => RequestBodyCodeTool$outboundSchema),
1266
- }).transform((v) => {
1267
- return remap$(v, {
1268
- displayName: "display_name",
1269
- codeTool: "code_tool",
1270
- });
1271
- });
1272
-
1273
- export function codeExecutionToolToJSON(
1274
- codeExecutionTool: CodeExecutionTool,
1275
- ): string {
1276
- return JSON.stringify(
1277
- CodeExecutionTool$outboundSchema.parse(codeExecutionTool),
1278
- );
1279
- }
1280
-
1281
- /** @internal */
1282
- export const CreateToolRequestBodyToolsStatus$outboundSchema: z.ZodNativeEnum<
1283
- typeof CreateToolRequestBodyToolsStatus
1284
- > = z.nativeEnum(CreateToolRequestBodyToolsStatus);
1285
-
1286
- /** @internal */
1287
- export type RequestBodyHeaders$Outbound = {
1288
- value: string;
1289
- encrypted: boolean;
1290
- };
1291
-
1292
- /** @internal */
1293
- export const RequestBodyHeaders$outboundSchema: z.ZodType<
1294
- RequestBodyHeaders$Outbound,
1295
- z.ZodTypeDef,
1296
- RequestBodyHeaders
1297
- > = z.object({
1298
- value: z.string(),
1299
- encrypted: z.boolean().default(false),
1300
- });
1301
-
1302
- export function requestBodyHeadersToJSON(
1303
- requestBodyHeaders: RequestBodyHeaders,
1304
- ): string {
1305
- return JSON.stringify(
1306
- RequestBodyHeaders$outboundSchema.parse(requestBodyHeaders),
1307
- );
1308
- }
1309
-
1310
- /** @internal */
1311
- export const RequestBodyConnectionType$outboundSchema: z.ZodNativeEnum<
1312
- typeof RequestBodyConnectionType
1313
- > = z.nativeEnum(RequestBodyConnectionType);
1314
-
1315
- /** @internal */
1316
- export type RequestBodyMcp$Outbound = {
1317
- server_url: string;
1318
- headers?: { [k: string]: RequestBodyHeaders$Outbound } | undefined;
1319
- connection_type: string;
1320
- };
1321
-
1322
- /** @internal */
1323
- export const RequestBodyMcp$outboundSchema: z.ZodType<
1324
- RequestBodyMcp$Outbound,
1325
- z.ZodTypeDef,
1326
- RequestBodyMcp
1327
- > = z.object({
1328
- serverUrl: z.string(),
1329
- headers: z.record(z.lazy(() => RequestBodyHeaders$outboundSchema)).optional(),
1330
- connectionType: RequestBodyConnectionType$outboundSchema,
1331
- }).transform((v) => {
1332
- return remap$(v, {
1333
- serverUrl: "server_url",
1334
- connectionType: "connection_type",
1335
- });
1336
- });
1337
-
1338
- export function requestBodyMcpToJSON(requestBodyMcp: RequestBodyMcp): string {
1339
- return JSON.stringify(RequestBodyMcp$outboundSchema.parse(requestBodyMcp));
1340
- }
1341
-
1342
- /** @internal */
1343
- export type RequestBodyMCPTool$Outbound = {
1344
- path: string;
1345
- key: string;
1346
- display_name?: string | undefined;
1347
- description: string;
1348
- status: string;
1349
- type: "mcp";
1350
- mcp: RequestBodyMcp$Outbound;
1351
- discovery_variables?: { [k: string]: string } | undefined;
1352
- };
1353
-
1354
- /** @internal */
1355
- export const RequestBodyMCPTool$outboundSchema: z.ZodType<
1356
- RequestBodyMCPTool$Outbound,
1357
- z.ZodTypeDef,
1358
- RequestBodyMCPTool
1359
- > = z.object({
1360
- path: z.string(),
1361
- key: z.string(),
1362
- displayName: z.string().optional(),
1363
- description: z.string(),
1364
- status: CreateToolRequestBodyToolsStatus$outboundSchema.default("live"),
1365
- type: z.literal("mcp"),
1366
- mcp: z.lazy(() => RequestBodyMcp$outboundSchema),
1367
- discoveryVariables: z.record(z.string()).optional(),
1368
- }).transform((v) => {
1369
- return remap$(v, {
1370
- displayName: "display_name",
1371
- discoveryVariables: "discovery_variables",
1372
- });
1373
- });
1374
-
1375
- export function requestBodyMCPToolToJSON(
1376
- requestBodyMCPTool: RequestBodyMCPTool,
1377
- ): string {
1378
- return JSON.stringify(
1379
- RequestBodyMCPTool$outboundSchema.parse(requestBodyMCPTool),
1380
- );
1381
- }
1382
-
1383
- /** @internal */
1384
- export const CreateToolRequestBodyStatus$outboundSchema: z.ZodNativeEnum<
1385
- typeof CreateToolRequestBodyStatus
1386
- > = z.nativeEnum(CreateToolRequestBodyStatus);
1387
-
1388
- /** @internal */
1389
- export const RequestBodyMethod$outboundSchema: z.ZodNativeEnum<
1390
- typeof RequestBodyMethod
1391
- > = z.nativeEnum(RequestBodyMethod);
1392
-
1393
- /** @internal */
1394
- export type CreateToolHeaders2$Outbound = {
1395
- value: string;
1396
- encrypted: boolean;
1397
- };
1398
-
1399
- /** @internal */
1400
- export const CreateToolHeaders2$outboundSchema: z.ZodType<
1401
- CreateToolHeaders2$Outbound,
1402
- z.ZodTypeDef,
1403
- CreateToolHeaders2
1404
- > = z.object({
1405
- value: z.string(),
1406
- encrypted: z.boolean().default(false),
1407
- });
1408
-
1409
- export function createToolHeaders2ToJSON(
1410
- createToolHeaders2: CreateToolHeaders2,
1411
- ): string {
1412
- return JSON.stringify(
1413
- CreateToolHeaders2$outboundSchema.parse(createToolHeaders2),
1414
- );
1415
- }
1416
-
1417
- /** @internal */
1418
- export type CreateToolRequestBodyHeaders$Outbound =
1419
- | CreateToolHeaders2$Outbound
1420
- | string;
1421
-
1422
- /** @internal */
1423
- export const CreateToolRequestBodyHeaders$outboundSchema: z.ZodType<
1424
- CreateToolRequestBodyHeaders$Outbound,
1425
- z.ZodTypeDef,
1426
- CreateToolRequestBodyHeaders
1427
- > = z.union([z.lazy(() => CreateToolHeaders2$outboundSchema), z.string()]);
1428
-
1429
- export function createToolRequestBodyHeadersToJSON(
1430
- createToolRequestBodyHeaders: CreateToolRequestBodyHeaders,
1431
- ): string {
1432
- return JSON.stringify(
1433
- CreateToolRequestBodyHeaders$outboundSchema.parse(
1434
- createToolRequestBodyHeaders,
1435
- ),
1436
- );
1437
- }
1438
-
1439
- /** @internal */
1440
- export type RequestBodyBlueprint$Outbound = {
1441
- url: string;
1442
- method: string;
1443
- headers?: { [k: string]: CreateToolHeaders2$Outbound | string } | undefined;
1444
- body?: { [k: string]: any } | undefined;
1445
- timeout?: number | undefined;
1446
- };
1447
-
1448
- /** @internal */
1449
- export const RequestBodyBlueprint$outboundSchema: z.ZodType<
1450
- RequestBodyBlueprint$Outbound,
1451
- z.ZodTypeDef,
1452
- RequestBodyBlueprint
1453
- > = z.object({
1454
- url: z.string(),
1455
- method: RequestBodyMethod$outboundSchema,
1456
- headers: z.record(
1457
- z.union([z.lazy(() => CreateToolHeaders2$outboundSchema), z.string()]),
1458
- ).optional(),
1459
- body: z.record(z.any()).optional(),
1460
- timeout: z.number().optional(),
1461
- });
1462
-
1463
- export function requestBodyBlueprintToJSON(
1464
- requestBodyBlueprint: RequestBodyBlueprint,
1465
- ): string {
1466
- return JSON.stringify(
1467
- RequestBodyBlueprint$outboundSchema.parse(requestBodyBlueprint),
1468
- );
1469
- }
1470
-
1471
- /** @internal */
1472
- export const CreateToolRequestBodyToolsRequest3Type$outboundSchema:
1473
- z.ZodNativeEnum<typeof CreateToolRequestBodyToolsRequest3Type> = z.nativeEnum(
1474
- CreateToolRequestBodyToolsRequest3Type,
1475
- );
1476
-
1477
- /** @internal */
1478
- export type RequestBodyDefaultValue$Outbound = string | number | boolean;
1479
-
1480
- /** @internal */
1481
- export const RequestBodyDefaultValue$outboundSchema: z.ZodType<
1482
- RequestBodyDefaultValue$Outbound,
1483
- z.ZodTypeDef,
1484
- RequestBodyDefaultValue
1485
- > = z.union([z.string(), z.number(), z.boolean()]);
1486
-
1487
- export function requestBodyDefaultValueToJSON(
1488
- requestBodyDefaultValue: RequestBodyDefaultValue,
1489
- ): string {
1490
- return JSON.stringify(
1491
- RequestBodyDefaultValue$outboundSchema.parse(requestBodyDefaultValue),
1492
- );
1493
- }
1494
-
1495
- /** @internal */
1496
- export type RequestBodyArguments$Outbound = {
1497
- type: string;
1498
- description: string;
1499
- send_to_model: boolean;
1500
- default_value?: string | number | boolean | undefined;
1501
- };
1502
-
1503
- /** @internal */
1504
- export const RequestBodyArguments$outboundSchema: z.ZodType<
1505
- RequestBodyArguments$Outbound,
1506
- z.ZodTypeDef,
1507
- RequestBodyArguments
1508
- > = z.object({
1509
- type: CreateToolRequestBodyToolsRequest3Type$outboundSchema,
1510
- description: z.string(),
1511
- sendToModel: z.boolean().default(true),
1512
- defaultValue: z.union([z.string(), z.number(), z.boolean()]).optional(),
1513
- }).transform((v) => {
1514
- return remap$(v, {
1515
- sendToModel: "send_to_model",
1516
- defaultValue: "default_value",
1517
- });
1518
- });
1519
-
1520
- export function requestBodyArgumentsToJSON(
1521
- requestBodyArguments: RequestBodyArguments,
1522
- ): string {
1523
- return JSON.stringify(
1524
- RequestBodyArguments$outboundSchema.parse(requestBodyArguments),
1525
- );
1526
- }
1527
-
1528
- /** @internal */
1529
- export type RequestBodyHttp$Outbound = {
1530
- blueprint: RequestBodyBlueprint$Outbound;
1531
- arguments?: { [k: string]: RequestBodyArguments$Outbound } | undefined;
1532
- };
1533
-
1534
- /** @internal */
1535
- export const RequestBodyHttp$outboundSchema: z.ZodType<
1536
- RequestBodyHttp$Outbound,
1537
- z.ZodTypeDef,
1538
- RequestBodyHttp
1539
- > = z.object({
1540
- blueprint: z.lazy(() => RequestBodyBlueprint$outboundSchema),
1541
- arguments: z.record(z.lazy(() => RequestBodyArguments$outboundSchema))
1542
- .optional(),
1543
- });
1544
-
1545
- export function requestBodyHttpToJSON(
1546
- requestBodyHttp: RequestBodyHttp,
1547
- ): string {
1548
- return JSON.stringify(RequestBodyHttp$outboundSchema.parse(requestBodyHttp));
1549
- }
1550
-
1551
- /** @internal */
1552
- export type HTTPTool$Outbound = {
1553
- path: string;
1554
- key: string;
1555
- display_name?: string | undefined;
1556
- description: string;
1557
- status: string;
1558
- type: "http";
1559
- http: RequestBodyHttp$Outbound;
1560
- };
1561
-
1562
- /** @internal */
1563
- export const HTTPTool$outboundSchema: z.ZodType<
1564
- HTTPTool$Outbound,
1565
- z.ZodTypeDef,
1566
- HTTPTool
1567
- > = z.object({
1568
- path: z.string(),
1569
- key: z.string(),
1570
- displayName: z.string().optional(),
1571
- description: z.string(),
1572
- status: CreateToolRequestBodyStatus$outboundSchema.default("live"),
1573
- type: z.literal("http"),
1574
- http: z.lazy(() => RequestBodyHttp$outboundSchema),
1575
- }).transform((v) => {
1576
- return remap$(v, {
1577
- displayName: "display_name",
1578
- });
1579
- });
1580
-
1581
- export function httpToolToJSON(httpTool: HTTPTool): string {
1582
- return JSON.stringify(HTTPTool$outboundSchema.parse(httpTool));
1583
- }
1584
-
1585
- /** @internal */
1586
- export const RequestBodyStatus$outboundSchema: z.ZodNativeEnum<
1587
- typeof RequestBodyStatus
1588
- > = z.nativeEnum(RequestBodyStatus);
1589
-
1590
- /** @internal */
1591
- export type RequestBodySchema$Outbound = {
1592
- type: string;
1593
- properties: { [k: string]: any };
1594
- required: Array<string>;
1595
- [additionalProperties: string]: unknown;
1596
- };
1597
-
1598
- /** @internal */
1599
- export const RequestBodySchema$outboundSchema: z.ZodType<
1600
- RequestBodySchema$Outbound,
1601
- z.ZodTypeDef,
1602
- RequestBodySchema
1603
- > = z.object({
1604
- type: z.string(),
1605
- properties: z.record(z.any()),
1606
- required: z.array(z.string()),
1607
- additionalProperties: z.record(z.any()).optional(),
1608
- }).transform((v) => {
1609
- return {
1610
- ...v.additionalProperties,
1611
- ...remap$(v, {
1612
- additionalProperties: null,
1613
- }),
1614
- };
1615
- });
1616
-
1617
- export function requestBodySchemaToJSON(
1618
- requestBodySchema: RequestBodySchema,
1619
- ): string {
1620
- return JSON.stringify(
1621
- RequestBodySchema$outboundSchema.parse(requestBodySchema),
1622
- );
1623
- }
1624
-
1625
- /** @internal */
1626
- export type RequestBodyJsonSchema$Outbound = {
1627
- name: string;
1628
- description: string;
1629
- schema: RequestBodySchema$Outbound;
1630
- strict?: boolean | undefined;
1631
- };
1632
-
1633
- /** @internal */
1634
- export const RequestBodyJsonSchema$outboundSchema: z.ZodType<
1635
- RequestBodyJsonSchema$Outbound,
1636
- z.ZodTypeDef,
1637
- RequestBodyJsonSchema
1638
- > = z.object({
1639
- name: z.string(),
1640
- description: z.string(),
1641
- schema: z.lazy(() => RequestBodySchema$outboundSchema),
1642
- strict: z.boolean().optional(),
1643
- });
1644
-
1645
- export function requestBodyJsonSchemaToJSON(
1646
- requestBodyJsonSchema: RequestBodyJsonSchema,
1647
- ): string {
1648
- return JSON.stringify(
1649
- RequestBodyJsonSchema$outboundSchema.parse(requestBodyJsonSchema),
1650
- );
1651
- }
1652
-
1653
- /** @internal */
1654
- export type JSONSchemaTool$Outbound = {
1655
- path: string;
1656
- key: string;
1657
- display_name?: string | undefined;
1658
- description: string;
1659
- status: string;
1660
- type: "json_schema";
1661
- json_schema: RequestBodyJsonSchema$Outbound;
1662
- };
1663
-
1664
- /** @internal */
1665
- export const JSONSchemaTool$outboundSchema: z.ZodType<
1666
- JSONSchemaTool$Outbound,
1667
- z.ZodTypeDef,
1668
- JSONSchemaTool
1669
- > = z.object({
1670
- path: z.string(),
1671
- key: z.string(),
1672
- displayName: z.string().optional(),
1673
- description: z.string(),
1674
- status: RequestBodyStatus$outboundSchema.default("live"),
1675
- type: z.literal("json_schema"),
1676
- jsonSchema: z.lazy(() => RequestBodyJsonSchema$outboundSchema),
1677
- }).transform((v) => {
1678
- return remap$(v, {
1679
- displayName: "display_name",
1680
- jsonSchema: "json_schema",
1681
- });
1682
- });
1683
-
1684
- export function jsonSchemaToolToJSON(jsonSchemaTool: JSONSchemaTool): string {
1685
- return JSON.stringify(JSONSchemaTool$outboundSchema.parse(jsonSchemaTool));
1686
- }
1687
-
1688
- /** @internal */
1689
- export const CreateToolRequestBodyToolsRequest1Status$outboundSchema:
1690
- z.ZodNativeEnum<typeof CreateToolRequestBodyToolsRequest1Status> = z
1691
- .nativeEnum(CreateToolRequestBodyToolsRequest1Status);
1692
-
1693
- /** @internal */
1694
- export const CreateToolRequestBodyToolsRequest1Type$outboundSchema:
1695
- z.ZodNativeEnum<typeof CreateToolRequestBodyToolsRequest1Type> = z.nativeEnum(
1696
- CreateToolRequestBodyToolsRequest1Type,
1697
- );
1698
-
1699
- /** @internal */
1700
- export type RequestBodyParameters$Outbound = {
1701
- type: string;
1702
- properties: { [k: string]: any };
1703
- required: Array<string>;
1704
- [additionalProperties: string]: unknown;
1705
- };
1706
-
1707
- /** @internal */
1708
- export const RequestBodyParameters$outboundSchema: z.ZodType<
1709
- RequestBodyParameters$Outbound,
1710
- z.ZodTypeDef,
1711
- RequestBodyParameters
1712
- > = z.object({
1713
- type: CreateToolRequestBodyToolsRequest1Type$outboundSchema,
1714
- properties: z.record(z.any()),
1715
- required: z.array(z.string()),
1716
- additionalProperties: z.record(z.any()).optional(),
1717
- }).transform((v) => {
1718
- return {
1719
- ...v.additionalProperties,
1720
- ...remap$(v, {
1721
- additionalProperties: null,
1722
- }),
1723
- };
1724
- });
1725
-
1726
- export function requestBodyParametersToJSON(
1727
- requestBodyParameters: RequestBodyParameters,
1728
- ): string {
1729
- return JSON.stringify(
1730
- RequestBodyParameters$outboundSchema.parse(requestBodyParameters),
1731
- );
1732
- }
1733
-
1734
- /** @internal */
1735
- export type RequestBodyFunction$Outbound = {
1736
- name: string;
1737
- description?: string | undefined;
1738
- strict?: boolean | undefined;
1739
- parameters?: RequestBodyParameters$Outbound | undefined;
1740
- };
1741
-
1742
- /** @internal */
1743
- export const RequestBodyFunction$outboundSchema: z.ZodType<
1744
- RequestBodyFunction$Outbound,
1745
- z.ZodTypeDef,
1746
- RequestBodyFunction
1747
- > = z.object({
1748
- name: z.string(),
1749
- description: z.string().optional(),
1750
- strict: z.boolean().optional(),
1751
- parameters: z.lazy(() => RequestBodyParameters$outboundSchema).optional(),
1752
- });
1753
-
1754
- export function requestBodyFunctionToJSON(
1755
- requestBodyFunction: RequestBodyFunction,
1756
- ): string {
1757
- return JSON.stringify(
1758
- RequestBodyFunction$outboundSchema.parse(requestBodyFunction),
1759
- );
1760
- }
1761
-
1762
- /** @internal */
1763
- export type FunctionTool$Outbound = {
1764
- path: string;
1765
- key: string;
1766
- display_name?: string | undefined;
1767
- description: string;
1768
- status: string;
1769
- type: "function";
1770
- function: RequestBodyFunction$Outbound;
1771
- };
1772
-
1773
- /** @internal */
1774
- export const FunctionTool$outboundSchema: z.ZodType<
1775
- FunctionTool$Outbound,
1776
- z.ZodTypeDef,
1777
- FunctionTool
1778
- > = z.object({
1779
- path: z.string(),
1780
- key: z.string(),
1781
- displayName: z.string().optional(),
1782
- description: z.string(),
1783
- status: CreateToolRequestBodyToolsRequest1Status$outboundSchema.default(
1784
- "live",
1785
- ),
1786
- type: z.literal("function"),
1787
- function: z.lazy(() => RequestBodyFunction$outboundSchema),
1788
- }).transform((v) => {
1789
- return remap$(v, {
1790
- displayName: "display_name",
1791
- });
1792
- });
1793
-
1794
- export function functionToolToJSON(functionTool: FunctionTool): string {
1795
- return JSON.stringify(FunctionTool$outboundSchema.parse(functionTool));
1796
- }
1797
-
1798
- /** @internal */
1799
- export type CreateToolRequestBody$Outbound =
1800
- | FunctionTool$Outbound
1801
- | JSONSchemaTool$Outbound
1802
- | HTTPTool$Outbound
1803
- | RequestBodyMCPTool$Outbound
1804
- | CodeExecutionTool$Outbound;
1805
-
1806
- /** @internal */
1807
- export const CreateToolRequestBody$outboundSchema: z.ZodType<
1808
- CreateToolRequestBody$Outbound,
1809
- z.ZodTypeDef,
1810
- CreateToolRequestBody
1811
- > = z.union([
1812
- z.lazy(() => FunctionTool$outboundSchema),
1813
- z.lazy(() => JSONSchemaTool$outboundSchema),
1814
- z.lazy(() => HTTPTool$outboundSchema),
1815
- z.lazy(() => RequestBodyMCPTool$outboundSchema),
1816
- z.lazy(() => CodeExecutionTool$outboundSchema),
1817
- ]);
1818
-
1819
- export function createToolRequestBodyToJSON(
1820
- createToolRequestBody: CreateToolRequestBody,
1821
- ): string {
1822
- return JSON.stringify(
1823
- CreateToolRequestBody$outboundSchema.parse(createToolRequestBody),
1824
- );
1825
- }
1826
-
1827
- /** @internal */
1828
- export const CreateToolResponseBodyToolsResponse200Status$inboundSchema:
1829
- z.ZodNativeEnum<typeof CreateToolResponseBodyToolsResponse200Status> = z
1830
- .nativeEnum(CreateToolResponseBodyToolsResponse200Status);
1831
-
1832
- /** @internal */
1833
- export const CreateToolResponseBodyToolsResponse200ApplicationJson5Type$inboundSchema:
1834
- z.ZodNativeEnum<
1835
- typeof CreateToolResponseBodyToolsResponse200ApplicationJson5Type
1836
- > = z.nativeEnum(CreateToolResponseBodyToolsResponse200ApplicationJson5Type);
1837
-
1838
- /** @internal */
1839
- export const CreateToolResponseBodyParameters$inboundSchema: z.ZodType<
1840
- CreateToolResponseBodyParameters,
1841
- z.ZodTypeDef,
1842
- unknown
1843
- > = collectExtraKeys$(
1844
- z.object({
1845
- type:
1846
- CreateToolResponseBodyToolsResponse200ApplicationJson5Type$inboundSchema,
1847
- properties: z.record(z.any()),
1848
- required: z.array(z.string()),
1849
- }).catchall(z.any()),
1850
- "additionalProperties",
1851
- true,
1852
- );
1853
-
1854
- export function createToolResponseBodyParametersFromJSON(
1855
- jsonString: string,
1856
- ): SafeParseResult<CreateToolResponseBodyParameters, SDKValidationError> {
1857
- return safeParse(
1858
- jsonString,
1859
- (x) => CreateToolResponseBodyParameters$inboundSchema.parse(JSON.parse(x)),
1860
- `Failed to parse 'CreateToolResponseBodyParameters' from JSON`,
1861
- );
1862
- }
1863
-
1864
- /** @internal */
1865
- export const ResponseBodyLanguage$inboundSchema: z.ZodNativeEnum<
1866
- typeof ResponseBodyLanguage
1867
- > = z.nativeEnum(ResponseBodyLanguage);
1868
-
1869
- /** @internal */
1870
- export const ResponseBodyCodeTool$inboundSchema: z.ZodType<
1871
- ResponseBodyCodeTool,
1872
- z.ZodTypeDef,
1873
- unknown
1874
- > = z.object({
1875
- parameters: z.lazy(() => CreateToolResponseBodyParameters$inboundSchema)
1876
- .optional(),
1877
- language: ResponseBodyLanguage$inboundSchema,
1878
- code: z.string(),
1879
- });
1880
-
1881
- export function responseBodyCodeToolFromJSON(
1882
- jsonString: string,
1883
- ): SafeParseResult<ResponseBodyCodeTool, SDKValidationError> {
1884
- return safeParse(
1885
- jsonString,
1886
- (x) => ResponseBodyCodeTool$inboundSchema.parse(JSON.parse(x)),
1887
- `Failed to parse 'ResponseBodyCodeTool' from JSON`,
1888
- );
1889
- }
1890
-
1891
- /** @internal */
1892
- export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
1893
- ResponseBodyCodeExecutionTool,
1894
- z.ZodTypeDef,
1895
- unknown
1896
- > = z.object({
1897
- _id: z.string().default("tool_01KZGZNMN2P2PZCQEY7NEDKD5Z"),
1898
- path: z.string(),
1899
- key: z.string(),
1900
- display_name: z.string().optional(),
1901
- description: z.string(),
1902
- created_by_id: z.nullable(z.string()).optional(),
1903
- updated_by_id: z.nullable(z.string()).optional(),
1904
- project_id: z.string(),
1905
- workspace_id: z.string(),
1906
- created: z.string(),
1907
- updated: z.string(),
1908
- status: CreateToolResponseBodyToolsResponse200Status$inboundSchema.default(
1909
- "live",
1910
- ),
1911
- type: z.literal("code"),
1912
- code_tool: z.lazy(() => ResponseBodyCodeTool$inboundSchema),
1913
- }).transform((v) => {
1914
- return remap$(v, {
1915
- "_id": "id",
1916
- "display_name": "displayName",
1917
- "created_by_id": "createdById",
1918
- "updated_by_id": "updatedById",
1919
- "project_id": "projectId",
1920
- "workspace_id": "workspaceId",
1921
- "code_tool": "codeTool",
1922
- });
1923
- });
1924
-
1925
- export function responseBodyCodeExecutionToolFromJSON(
1926
- jsonString: string,
1927
- ): SafeParseResult<ResponseBodyCodeExecutionTool, SDKValidationError> {
1928
- return safeParse(
1929
- jsonString,
1930
- (x) => ResponseBodyCodeExecutionTool$inboundSchema.parse(JSON.parse(x)),
1931
- `Failed to parse 'ResponseBodyCodeExecutionTool' from JSON`,
1932
- );
1933
- }
1934
-
1935
- /** @internal */
1936
- export const CreateToolResponseBodyToolsResponseStatus$inboundSchema:
1937
- z.ZodNativeEnum<typeof CreateToolResponseBodyToolsResponseStatus> = z
1938
- .nativeEnum(CreateToolResponseBodyToolsResponseStatus);
1939
-
1940
- /** @internal */
1941
- export const ResponseBodyHeaders$inboundSchema: z.ZodType<
1942
- ResponseBodyHeaders,
1943
- z.ZodTypeDef,
1944
- unknown
1945
- > = z.object({
1946
- value: z.string(),
1947
- encrypted: z.boolean().default(false),
1948
- });
1949
-
1950
- export function responseBodyHeadersFromJSON(
1951
- jsonString: string,
1952
- ): SafeParseResult<ResponseBodyHeaders, SDKValidationError> {
1953
- return safeParse(
1954
- jsonString,
1955
- (x) => ResponseBodyHeaders$inboundSchema.parse(JSON.parse(x)),
1956
- `Failed to parse 'ResponseBodyHeaders' from JSON`,
1957
- );
1958
- }
1959
-
1960
- /** @internal */
1961
- export const CreateToolResponseBodyToolsResponse200ApplicationJson4Type$inboundSchema:
1962
- z.ZodNativeEnum<
1963
- typeof CreateToolResponseBodyToolsResponse200ApplicationJson4Type
1964
- > = z.nativeEnum(CreateToolResponseBodyToolsResponse200ApplicationJson4Type);
1965
-
1966
- /** @internal */
1967
- export const CreateToolResponseBodySchema$inboundSchema: z.ZodType<
1968
- CreateToolResponseBodySchema,
1969
- z.ZodTypeDef,
1970
- unknown
1971
- > = z.object({
1972
- type:
1973
- CreateToolResponseBodyToolsResponse200ApplicationJson4Type$inboundSchema,
1974
- properties: z.record(z.any()).optional(),
1975
- required: z.array(z.string()).optional(),
1976
- });
1977
-
1978
- export function createToolResponseBodySchemaFromJSON(
1979
- jsonString: string,
1980
- ): SafeParseResult<CreateToolResponseBodySchema, SDKValidationError> {
1981
- return safeParse(
1982
- jsonString,
1983
- (x) => CreateToolResponseBodySchema$inboundSchema.parse(JSON.parse(x)),
1984
- `Failed to parse 'CreateToolResponseBodySchema' from JSON`,
1985
- );
1986
- }
1987
-
1988
- /** @internal */
1989
- export const ResponseBodyTools$inboundSchema: z.ZodType<
1990
- ResponseBodyTools,
1991
- z.ZodTypeDef,
1992
- unknown
1993
- > = z.object({
1994
- id: z.string().default("01KZGZNMN2KGE6B00J3S7PPS7F"),
1995
- name: z.string(),
1996
- description: z.string().optional(),
1997
- schema: z.lazy(() => CreateToolResponseBodySchema$inboundSchema),
1998
- });
1999
-
2000
- export function responseBodyToolsFromJSON(
2001
- jsonString: string,
2002
- ): SafeParseResult<ResponseBodyTools, SDKValidationError> {
2003
- return safeParse(
2004
- jsonString,
2005
- (x) => ResponseBodyTools$inboundSchema.parse(JSON.parse(x)),
2006
- `Failed to parse 'ResponseBodyTools' from JSON`,
2007
- );
2008
- }
2009
-
2010
- /** @internal */
2011
- export const ResponseBodyConnectionType$inboundSchema: z.ZodNativeEnum<
2012
- typeof ResponseBodyConnectionType
2013
- > = z.nativeEnum(ResponseBodyConnectionType);
2014
-
2015
- /** @internal */
2016
- export const ResponseBodyMcp$inboundSchema: z.ZodType<
2017
- ResponseBodyMcp,
2018
- z.ZodTypeDef,
2019
- unknown
2020
- > = z.object({
2021
- server_url: z.string(),
2022
- headers: z.record(z.lazy(() => ResponseBodyHeaders$inboundSchema)).optional(),
2023
- tools: z.array(z.lazy(() => ResponseBodyTools$inboundSchema)),
2024
- connection_type: ResponseBodyConnectionType$inboundSchema,
2025
- template_variables: z.nullable(z.array(z.string())).optional(),
2026
- }).transform((v) => {
2027
- return remap$(v, {
2028
- "server_url": "serverUrl",
2029
- "connection_type": "connectionType",
2030
- "template_variables": "templateVariables",
2031
- });
2032
- });
2033
-
2034
- export function responseBodyMcpFromJSON(
2035
- jsonString: string,
2036
- ): SafeParseResult<ResponseBodyMcp, SDKValidationError> {
2037
- return safeParse(
2038
- jsonString,
2039
- (x) => ResponseBodyMcp$inboundSchema.parse(JSON.parse(x)),
2040
- `Failed to parse 'ResponseBodyMcp' from JSON`,
2041
- );
2042
- }
2043
-
2044
- /** @internal */
2045
- export const ResponseBodyMCPTool$inboundSchema: z.ZodType<
2046
- ResponseBodyMCPTool,
2047
- z.ZodTypeDef,
2048
- unknown
2049
- > = z.object({
2050
- _id: z.string().default("tool_01KZGZNMN1A6DY1DMHFHDX7XZ4"),
2051
- path: z.string(),
2052
- key: z.string(),
2053
- display_name: z.string().optional(),
2054
- description: z.string(),
2055
- created_by_id: z.nullable(z.string()).optional(),
2056
- updated_by_id: z.nullable(z.string()).optional(),
2057
- project_id: z.string(),
2058
- workspace_id: z.string(),
2059
- created: z.string(),
2060
- updated: z.string(),
2061
- status: CreateToolResponseBodyToolsResponseStatus$inboundSchema.default(
2062
- "live",
2063
- ),
2064
- type: z.literal("mcp"),
2065
- mcp: z.lazy(() => ResponseBodyMcp$inboundSchema),
2066
- }).transform((v) => {
2067
- return remap$(v, {
2068
- "_id": "id",
2069
- "display_name": "displayName",
2070
- "created_by_id": "createdById",
2071
- "updated_by_id": "updatedById",
2072
- "project_id": "projectId",
2073
- "workspace_id": "workspaceId",
2074
- });
2075
- });
2076
-
2077
- export function responseBodyMCPToolFromJSON(
2078
- jsonString: string,
2079
- ): SafeParseResult<ResponseBodyMCPTool, SDKValidationError> {
2080
- return safeParse(
2081
- jsonString,
2082
- (x) => ResponseBodyMCPTool$inboundSchema.parse(JSON.parse(x)),
2083
- `Failed to parse 'ResponseBodyMCPTool' from JSON`,
2084
- );
2085
- }
2086
-
2087
- /** @internal */
2088
- export const CreateToolResponseBodyToolsStatus$inboundSchema: z.ZodNativeEnum<
2089
- typeof CreateToolResponseBodyToolsStatus
2090
- > = z.nativeEnum(CreateToolResponseBodyToolsStatus);
2091
-
2092
- /** @internal */
2093
- export const CreateToolResponseBodyMethod$inboundSchema: z.ZodNativeEnum<
2094
- typeof CreateToolResponseBodyMethod
2095
- > = z.nativeEnum(CreateToolResponseBodyMethod);
2096
-
2097
- /** @internal */
2098
- export const CreateToolHeadersTools2$inboundSchema: z.ZodType<
2099
- CreateToolHeadersTools2,
2100
- z.ZodTypeDef,
2101
- unknown
2102
- > = z.object({
2103
- value: z.string(),
2104
- encrypted: z.boolean().default(false),
2105
- });
2106
-
2107
- export function createToolHeadersTools2FromJSON(
2108
- jsonString: string,
2109
- ): SafeParseResult<CreateToolHeadersTools2, SDKValidationError> {
2110
- return safeParse(
2111
- jsonString,
2112
- (x) => CreateToolHeadersTools2$inboundSchema.parse(JSON.parse(x)),
2113
- `Failed to parse 'CreateToolHeadersTools2' from JSON`,
2114
- );
2115
- }
2116
-
2117
- /** @internal */
2118
- export const CreateToolResponseBodyHeaders$inboundSchema: z.ZodType<
2119
- CreateToolResponseBodyHeaders,
2120
- z.ZodTypeDef,
2121
- unknown
2122
- > = z.union([z.lazy(() => CreateToolHeadersTools2$inboundSchema), z.string()]);
2123
-
2124
- export function createToolResponseBodyHeadersFromJSON(
2125
- jsonString: string,
2126
- ): SafeParseResult<CreateToolResponseBodyHeaders, SDKValidationError> {
2127
- return safeParse(
2128
- jsonString,
2129
- (x) => CreateToolResponseBodyHeaders$inboundSchema.parse(JSON.parse(x)),
2130
- `Failed to parse 'CreateToolResponseBodyHeaders' from JSON`,
2131
- );
2132
- }
2133
-
2134
- /** @internal */
2135
- export const ResponseBodyBlueprint$inboundSchema: z.ZodType<
2136
- ResponseBodyBlueprint,
2137
- z.ZodTypeDef,
2138
- unknown
2139
- > = z.object({
2140
- url: z.string(),
2141
- method: CreateToolResponseBodyMethod$inboundSchema,
2142
- headers: z.record(
2143
- z.union([z.lazy(() => CreateToolHeadersTools2$inboundSchema), z.string()]),
2144
- ).optional(),
2145
- body: z.record(z.any()).optional(),
2146
- timeout: z.number().optional(),
2147
- });
2148
-
2149
- export function responseBodyBlueprintFromJSON(
2150
- jsonString: string,
2151
- ): SafeParseResult<ResponseBodyBlueprint, SDKValidationError> {
2152
- return safeParse(
2153
- jsonString,
2154
- (x) => ResponseBodyBlueprint$inboundSchema.parse(JSON.parse(x)),
2155
- `Failed to parse 'ResponseBodyBlueprint' from JSON`,
2156
- );
2157
- }
2158
-
2159
- /** @internal */
2160
- export const CreateToolResponseBodyToolsResponse200ApplicationJson3Type$inboundSchema:
2161
- z.ZodNativeEnum<
2162
- typeof CreateToolResponseBodyToolsResponse200ApplicationJson3Type
2163
- > = z.nativeEnum(CreateToolResponseBodyToolsResponse200ApplicationJson3Type);
2164
-
2165
- /** @internal */
2166
- export const ResponseBodyDefaultValue$inboundSchema: z.ZodType<
2167
- ResponseBodyDefaultValue,
2168
- z.ZodTypeDef,
2169
- unknown
2170
- > = z.union([z.string(), z.number(), z.boolean()]);
2171
-
2172
- export function responseBodyDefaultValueFromJSON(
2173
- jsonString: string,
2174
- ): SafeParseResult<ResponseBodyDefaultValue, SDKValidationError> {
2175
- return safeParse(
2176
- jsonString,
2177
- (x) => ResponseBodyDefaultValue$inboundSchema.parse(JSON.parse(x)),
2178
- `Failed to parse 'ResponseBodyDefaultValue' from JSON`,
2179
- );
2180
- }
2181
-
2182
- /** @internal */
2183
- export const ResponseBodyArguments$inboundSchema: z.ZodType<
2184
- ResponseBodyArguments,
2185
- z.ZodTypeDef,
2186
- unknown
2187
- > = z.object({
2188
- type:
2189
- CreateToolResponseBodyToolsResponse200ApplicationJson3Type$inboundSchema,
2190
- description: z.string(),
2191
- send_to_model: z.boolean().default(true),
2192
- default_value: z.union([z.string(), z.number(), z.boolean()]).optional(),
2193
- }).transform((v) => {
2194
- return remap$(v, {
2195
- "send_to_model": "sendToModel",
2196
- "default_value": "defaultValue",
2197
- });
2198
- });
2199
-
2200
- export function responseBodyArgumentsFromJSON(
2201
- jsonString: string,
2202
- ): SafeParseResult<ResponseBodyArguments, SDKValidationError> {
2203
- return safeParse(
2204
- jsonString,
2205
- (x) => ResponseBodyArguments$inboundSchema.parse(JSON.parse(x)),
2206
- `Failed to parse 'ResponseBodyArguments' from JSON`,
2207
- );
2208
- }
2209
-
2210
- /** @internal */
2211
- export const CreateToolResponseBodyHttp$inboundSchema: z.ZodType<
2212
- CreateToolResponseBodyHttp,
2213
- z.ZodTypeDef,
2214
- unknown
2215
- > = z.object({
2216
- blueprint: z.lazy(() => ResponseBodyBlueprint$inboundSchema),
2217
- arguments: z.record(z.lazy(() => ResponseBodyArguments$inboundSchema))
2218
- .optional(),
2219
- });
2220
-
2221
- export function createToolResponseBodyHttpFromJSON(
2222
- jsonString: string,
2223
- ): SafeParseResult<CreateToolResponseBodyHttp, SDKValidationError> {
2224
- return safeParse(
2225
- jsonString,
2226
- (x) => CreateToolResponseBodyHttp$inboundSchema.parse(JSON.parse(x)),
2227
- `Failed to parse 'CreateToolResponseBodyHttp' from JSON`,
2228
- );
2229
- }
2230
-
2231
- /** @internal */
2232
- export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
2233
- ResponseBodyHTTPTool,
2234
- z.ZodTypeDef,
2235
- unknown
2236
- > = z.object({
2237
- _id: z.string().default("tool_01KZGZNMMZC6690A0RWSHP87WW"),
2238
- path: z.string(),
2239
- key: z.string(),
2240
- display_name: z.string().optional(),
2241
- description: z.string(),
2242
- created_by_id: z.nullable(z.string()).optional(),
2243
- updated_by_id: z.nullable(z.string()).optional(),
2244
- project_id: z.string(),
2245
- workspace_id: z.string(),
2246
- created: z.string(),
2247
- updated: z.string(),
2248
- status: CreateToolResponseBodyToolsStatus$inboundSchema.default("live"),
2249
- type: z.literal("http"),
2250
- http: z.lazy(() => CreateToolResponseBodyHttp$inboundSchema),
2251
- }).transform((v) => {
2252
- return remap$(v, {
2253
- "_id": "id",
2254
- "display_name": "displayName",
2255
- "created_by_id": "createdById",
2256
- "updated_by_id": "updatedById",
2257
- "project_id": "projectId",
2258
- "workspace_id": "workspaceId",
2259
- });
2260
- });
2261
-
2262
- export function responseBodyHTTPToolFromJSON(
2263
- jsonString: string,
2264
- ): SafeParseResult<ResponseBodyHTTPTool, SDKValidationError> {
2265
- return safeParse(
2266
- jsonString,
2267
- (x) => ResponseBodyHTTPTool$inboundSchema.parse(JSON.parse(x)),
2268
- `Failed to parse 'ResponseBodyHTTPTool' from JSON`,
2269
- );
2270
- }
2271
-
2272
- /** @internal */
2273
- export const CreateToolResponseBodyStatus$inboundSchema: z.ZodNativeEnum<
2274
- typeof CreateToolResponseBodyStatus
2275
- > = z.nativeEnum(CreateToolResponseBodyStatus);
2276
-
2277
- /** @internal */
2278
- export const ResponseBodySchema$inboundSchema: z.ZodType<
2279
- ResponseBodySchema,
2280
- z.ZodTypeDef,
2281
- unknown
2282
- > = collectExtraKeys$(
2283
- z.object({
2284
- type: z.string(),
2285
- properties: z.record(z.any()),
2286
- required: z.array(z.string()),
2287
- }).catchall(z.any()),
2288
- "additionalProperties",
2289
- true,
2290
- );
2291
-
2292
- export function responseBodySchemaFromJSON(
2293
- jsonString: string,
2294
- ): SafeParseResult<ResponseBodySchema, SDKValidationError> {
2295
- return safeParse(
2296
- jsonString,
2297
- (x) => ResponseBodySchema$inboundSchema.parse(JSON.parse(x)),
2298
- `Failed to parse 'ResponseBodySchema' from JSON`,
2299
- );
2300
- }
2301
-
2302
- /** @internal */
2303
- export const ResponseBodyJsonSchema$inboundSchema: z.ZodType<
2304
- ResponseBodyJsonSchema,
2305
- z.ZodTypeDef,
2306
- unknown
2307
- > = z.object({
2308
- name: z.string(),
2309
- description: z.string(),
2310
- schema: z.lazy(() => ResponseBodySchema$inboundSchema),
2311
- strict: z.boolean().optional(),
2312
- });
2313
-
2314
- export function responseBodyJsonSchemaFromJSON(
2315
- jsonString: string,
2316
- ): SafeParseResult<ResponseBodyJsonSchema, SDKValidationError> {
2317
- return safeParse(
2318
- jsonString,
2319
- (x) => ResponseBodyJsonSchema$inboundSchema.parse(JSON.parse(x)),
2320
- `Failed to parse 'ResponseBodyJsonSchema' from JSON`,
2321
- );
2322
- }
2323
-
2324
- /** @internal */
2325
- export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
2326
- ResponseBodyJSONSchemaTool,
2327
- z.ZodTypeDef,
2328
- unknown
2329
- > = z.object({
2330
- _id: z.string().default("tool_01KZGZNMMYWTF5W2FNHWTRGWTS"),
2331
- path: z.string(),
2332
- key: z.string(),
2333
- display_name: z.string().optional(),
2334
- description: z.string(),
2335
- created_by_id: z.nullable(z.string()).optional(),
2336
- updated_by_id: z.nullable(z.string()).optional(),
2337
- project_id: z.string(),
2338
- workspace_id: z.string(),
2339
- created: z.string(),
2340
- updated: z.string(),
2341
- status: CreateToolResponseBodyStatus$inboundSchema.default("live"),
2342
- type: z.literal("json_schema"),
2343
- json_schema: z.lazy(() => ResponseBodyJsonSchema$inboundSchema),
2344
- }).transform((v) => {
2345
- return remap$(v, {
2346
- "_id": "id",
2347
- "display_name": "displayName",
2348
- "created_by_id": "createdById",
2349
- "updated_by_id": "updatedById",
2350
- "project_id": "projectId",
2351
- "workspace_id": "workspaceId",
2352
- "json_schema": "jsonSchema",
2353
- });
2354
- });
2355
-
2356
- export function responseBodyJSONSchemaToolFromJSON(
2357
- jsonString: string,
2358
- ): SafeParseResult<ResponseBodyJSONSchemaTool, SDKValidationError> {
2359
- return safeParse(
2360
- jsonString,
2361
- (x) => ResponseBodyJSONSchemaTool$inboundSchema.parse(JSON.parse(x)),
2362
- `Failed to parse 'ResponseBodyJSONSchemaTool' from JSON`,
2363
- );
2364
- }
2365
-
2366
- /** @internal */
2367
- export const ResponseBodyStatus$inboundSchema: z.ZodNativeEnum<
2368
- typeof ResponseBodyStatus
2369
- > = z.nativeEnum(ResponseBodyStatus);
2370
-
2371
- /** @internal */
2372
- export const CreateToolResponseBodyToolsResponse200ApplicationJson1Type$inboundSchema:
2373
- z.ZodNativeEnum<
2374
- typeof CreateToolResponseBodyToolsResponse200ApplicationJson1Type
2375
- > = z.nativeEnum(CreateToolResponseBodyToolsResponse200ApplicationJson1Type);
2376
-
2377
- /** @internal */
2378
- export const ResponseBodyParameters$inboundSchema: z.ZodType<
2379
- ResponseBodyParameters,
2380
- z.ZodTypeDef,
2381
- unknown
2382
- > = collectExtraKeys$(
2383
- z.object({
2384
- type:
2385
- CreateToolResponseBodyToolsResponse200ApplicationJson1Type$inboundSchema,
2386
- properties: z.record(z.any()),
2387
- required: z.array(z.string()),
2388
- }).catchall(z.any()),
2389
- "additionalProperties",
2390
- true,
2391
- );
2392
-
2393
- export function responseBodyParametersFromJSON(
2394
- jsonString: string,
2395
- ): SafeParseResult<ResponseBodyParameters, SDKValidationError> {
2396
- return safeParse(
2397
- jsonString,
2398
- (x) => ResponseBodyParameters$inboundSchema.parse(JSON.parse(x)),
2399
- `Failed to parse 'ResponseBodyParameters' from JSON`,
2400
- );
2401
- }
2402
-
2403
- /** @internal */
2404
- export const CreateToolResponseBodyFunction$inboundSchema: z.ZodType<
2405
- CreateToolResponseBodyFunction,
2406
- z.ZodTypeDef,
2407
- unknown
2408
- > = z.object({
2409
- name: z.string(),
2410
- description: z.string().optional(),
2411
- strict: z.boolean().optional(),
2412
- parameters: z.lazy(() => ResponseBodyParameters$inboundSchema).optional(),
2413
- });
2414
-
2415
- export function createToolResponseBodyFunctionFromJSON(
2416
- jsonString: string,
2417
- ): SafeParseResult<CreateToolResponseBodyFunction, SDKValidationError> {
2418
- return safeParse(
2419
- jsonString,
2420
- (x) => CreateToolResponseBodyFunction$inboundSchema.parse(JSON.parse(x)),
2421
- `Failed to parse 'CreateToolResponseBodyFunction' from JSON`,
2422
- );
2423
- }
2424
-
2425
- /** @internal */
2426
- export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
2427
- ResponseBodyFunctionTool,
2428
- z.ZodTypeDef,
2429
- unknown
2430
- > = z.object({
2431
- _id: z.string().default("tool_01KZGZNMMXF20Z4MFJ2DFAXF56"),
2432
- path: z.string(),
2433
- key: z.string(),
2434
- display_name: z.string().optional(),
2435
- description: z.string(),
2436
- created_by_id: z.nullable(z.string()).optional(),
2437
- updated_by_id: z.nullable(z.string()).optional(),
2438
- project_id: z.string(),
2439
- workspace_id: z.string(),
2440
- created: z.string(),
2441
- updated: z.string(),
2442
- status: ResponseBodyStatus$inboundSchema.default("live"),
2443
- type: z.literal("function"),
2444
- function: z.lazy(() => CreateToolResponseBodyFunction$inboundSchema),
2445
- }).transform((v) => {
2446
- return remap$(v, {
2447
- "_id": "id",
2448
- "display_name": "displayName",
2449
- "created_by_id": "createdById",
2450
- "updated_by_id": "updatedById",
2451
- "project_id": "projectId",
2452
- "workspace_id": "workspaceId",
2453
- });
2454
- });
2455
-
2456
- export function responseBodyFunctionToolFromJSON(
2457
- jsonString: string,
2458
- ): SafeParseResult<ResponseBodyFunctionTool, SDKValidationError> {
2459
- return safeParse(
2460
- jsonString,
2461
- (x) => ResponseBodyFunctionTool$inboundSchema.parse(JSON.parse(x)),
2462
- `Failed to parse 'ResponseBodyFunctionTool' from JSON`,
2463
- );
2464
- }
2465
-
2466
- /** @internal */
2467
- export const CreateToolResponseBody$inboundSchema: z.ZodType<
2468
- CreateToolResponseBody,
2469
- z.ZodTypeDef,
2470
- unknown
2471
- > = z.union([
2472
- z.lazy(() => ResponseBodyFunctionTool$inboundSchema),
2473
- z.lazy(() => ResponseBodyJSONSchemaTool$inboundSchema),
2474
- z.lazy(() => ResponseBodyHTTPTool$inboundSchema),
2475
- z.lazy(() => ResponseBodyMCPTool$inboundSchema),
2476
- z.lazy(() => ResponseBodyCodeExecutionTool$inboundSchema),
2477
- ]);
2478
-
2479
- export function createToolResponseBodyFromJSON(
2480
- jsonString: string,
2481
- ): SafeParseResult<CreateToolResponseBody, SDKValidationError> {
2482
- return safeParse(
2483
- jsonString,
2484
- (x) => CreateToolResponseBody$inboundSchema.parse(JSON.parse(x)),
2485
- `Failed to parse 'CreateToolResponseBody' from JSON`,
2486
- );
2487
- }