@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,2812 +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 UpdateToolRequestBodyToolsRequest5Status = {
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 UpdateToolRequestBodyToolsRequest5Status = ClosedEnum<
28
- typeof UpdateToolRequestBodyToolsRequest5Status
29
- >;
30
-
31
- /**
32
- * The type must be "object"
33
- */
34
- export const UpdateToolRequestBodyToolsRequest5CodeToolType = {
35
- Object: "object",
36
- } as const;
37
- /**
38
- * The type must be "object"
39
- */
40
- export type UpdateToolRequestBodyToolsRequest5CodeToolType = ClosedEnum<
41
- typeof UpdateToolRequestBodyToolsRequest5CodeToolType
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 UpdateToolRequestBodyToolsParameters = {
48
- /**
49
- * The type must be "object"
50
- */
51
- type: UpdateToolRequestBodyToolsRequest5CodeToolType;
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 UpdateToolRequestBodyLanguage = {
64
- Python: "python",
65
- } as const;
66
- export type UpdateToolRequestBodyLanguage = ClosedEnum<
67
- typeof UpdateToolRequestBodyLanguage
68
- >;
69
-
70
- export type UpdateToolRequestBodyCodeTool = {
71
- /**
72
- * 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.
73
- */
74
- parameters?: UpdateToolRequestBodyToolsParameters | undefined;
75
- language: UpdateToolRequestBodyLanguage;
76
- /**
77
- * The code to execute.
78
- */
79
- code: string;
80
- };
81
-
82
- export const UpdateToolRequestBodyToolsRequest5VersionIncrement = {
83
- Major: "major",
84
- Minor: "minor",
85
- Patch: "patch",
86
- } as const;
87
- export type UpdateToolRequestBodyToolsRequest5VersionIncrement = ClosedEnum<
88
- typeof UpdateToolRequestBodyToolsRequest5VersionIncrement
89
- >;
90
-
91
- /**
92
- * Updates an existing code execution tool configuration.
93
- */
94
- export type UpdateCodeExecutionTool = {
95
- /**
96
- * Entity storage path.
97
- *
98
- * @remarks
99
- *
100
- * 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`.
101
- *
102
- * 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.
103
- */
104
- path?: string | undefined;
105
- /**
106
- * Unique key of the tool as it will be displayed in the UI
107
- */
108
- key?: string | undefined;
109
- /**
110
- * 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.
111
- */
112
- displayName?: string | undefined;
113
- /**
114
- * 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.
115
- */
116
- description?: string | undefined;
117
- /**
118
- * 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.
119
- */
120
- status?: UpdateToolRequestBodyToolsRequest5Status | undefined;
121
- type: "code";
122
- codeTool?: UpdateToolRequestBodyCodeTool | undefined;
123
- versionIncrement?:
124
- | UpdateToolRequestBodyToolsRequest5VersionIncrement
125
- | undefined;
126
- versionDescription?: string | undefined;
127
- };
128
-
129
- /**
130
- * 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.
131
- */
132
- export const UpdateToolRequestBodyToolsRequest4Status = {
133
- Live: "live",
134
- Draft: "draft",
135
- Pending: "pending",
136
- Published: "published",
137
- } as const;
138
- /**
139
- * 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.
140
- */
141
- export type UpdateToolRequestBodyToolsRequest4Status = ClosedEnum<
142
- typeof UpdateToolRequestBodyToolsRequest4Status
143
- >;
144
-
145
- export type UpdateToolRequestBodyHeaders = {
146
- value: string;
147
- encrypted?: boolean | undefined;
148
- };
149
-
150
- export const UpdateToolRequestBodyToolsRequest4McpType = {
151
- Object: "object",
152
- } as const;
153
- export type UpdateToolRequestBodyToolsRequest4McpType = ClosedEnum<
154
- typeof UpdateToolRequestBodyToolsRequest4McpType
155
- >;
156
-
157
- export type UpdateToolRequestBodyToolsSchema = {
158
- type: UpdateToolRequestBodyToolsRequest4McpType;
159
- properties?: { [k: string]: any } | undefined;
160
- required?: Array<string> | undefined;
161
- };
162
-
163
- export type RequestBodyTools = {
164
- id?: string | undefined;
165
- name: string;
166
- description?: string | undefined;
167
- schema: UpdateToolRequestBodyToolsSchema;
168
- };
169
-
170
- /**
171
- * The connection type used by the MCP server
172
- */
173
- export const UpdateToolRequestBodyConnectionType = {
174
- Http: "http",
175
- Sse: "sse",
176
- } as const;
177
- /**
178
- * The connection type used by the MCP server
179
- */
180
- export type UpdateToolRequestBodyConnectionType = ClosedEnum<
181
- typeof UpdateToolRequestBodyConnectionType
182
- >;
183
-
184
- export type UpdateToolRequestBodyMcp = {
185
- /**
186
- * The MCP server URL (cached for execution)
187
- */
188
- serverUrl?: string | undefined;
189
- /**
190
- * HTTP headers for MCP server requests with encryption support
191
- */
192
- headers?: { [k: string]: UpdateToolRequestBodyHeaders } | undefined;
193
- /**
194
- * Array of tools available from the MCP server
195
- */
196
- tools?: Array<RequestBodyTools> | undefined;
197
- /**
198
- * The connection type used by the MCP server
199
- */
200
- connectionType?: UpdateToolRequestBodyConnectionType | undefined;
201
- };
202
-
203
- export const UpdateToolRequestBodyToolsRequestVersionIncrement = {
204
- Major: "major",
205
- Minor: "minor",
206
- Patch: "patch",
207
- } as const;
208
- export type UpdateToolRequestBodyToolsRequestVersionIncrement = ClosedEnum<
209
- typeof UpdateToolRequestBodyToolsRequestVersionIncrement
210
- >;
211
-
212
- /**
213
- * Updates an existing MCP tool configuration.
214
- */
215
- export type UpdateMCPTool = {
216
- /**
217
- * Entity storage path.
218
- *
219
- * @remarks
220
- *
221
- * 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`.
222
- *
223
- * 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.
224
- */
225
- path?: string | undefined;
226
- /**
227
- * Unique key of the tool as it will be displayed in the UI
228
- */
229
- key?: string | undefined;
230
- /**
231
- * 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.
232
- */
233
- displayName?: string | undefined;
234
- /**
235
- * 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.
236
- */
237
- description?: string | undefined;
238
- /**
239
- * 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.
240
- */
241
- status?: UpdateToolRequestBodyToolsRequest4Status | undefined;
242
- type: "mcp";
243
- mcp?: UpdateToolRequestBodyMcp | undefined;
244
- discoveryVariables?: { [k: string]: string } | undefined;
245
- versionIncrement?:
246
- | UpdateToolRequestBodyToolsRequestVersionIncrement
247
- | undefined;
248
- versionDescription?: string | undefined;
249
- };
250
-
251
- /**
252
- * 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.
253
- */
254
- export const UpdateToolRequestBodyToolsRequestStatus = {
255
- Live: "live",
256
- Draft: "draft",
257
- Pending: "pending",
258
- Published: "published",
259
- } as const;
260
- /**
261
- * 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.
262
- */
263
- export type UpdateToolRequestBodyToolsRequestStatus = ClosedEnum<
264
- typeof UpdateToolRequestBodyToolsRequestStatus
265
- >;
266
-
267
- /**
268
- * The HTTP method to use.
269
- */
270
- export const UpdateToolRequestBodyMethod = {
271
- Get: "GET",
272
- Post: "POST",
273
- Put: "PUT",
274
- Delete: "DELETE",
275
- } as const;
276
- /**
277
- * The HTTP method to use.
278
- */
279
- export type UpdateToolRequestBodyMethod = ClosedEnum<
280
- typeof UpdateToolRequestBodyMethod
281
- >;
282
-
283
- export type UpdateToolHeaders2 = {
284
- value: string;
285
- encrypted?: boolean | undefined;
286
- };
287
-
288
- export type UpdateToolRequestBodyToolsHeaders = UpdateToolHeaders2 | string;
289
-
290
- /**
291
- * The blueprint for the HTTP request. The `arguments` field will be used to replace the placeholders in the `url`, `headers`, `body`, and `arguments` fields.
292
- */
293
- export type UpdateToolRequestBodyBlueprint = {
294
- /**
295
- * The URL to send the request to.
296
- */
297
- url: string;
298
- /**
299
- * The HTTP method to use.
300
- */
301
- method: UpdateToolRequestBodyMethod;
302
- /**
303
- * The headers to send with the request. Can be a string value or an object with value and encrypted properties.
304
- */
305
- headers?: { [k: string]: UpdateToolHeaders2 | string } | undefined;
306
- /**
307
- * The body to send with the request.
308
- */
309
- body?: { [k: string]: any } | undefined;
310
- /**
311
- * 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.
312
- */
313
- timeout?: number | undefined;
314
- };
315
-
316
- /**
317
- * The type of the argument.
318
- */
319
- export const UpdateToolRequestBodyToolsRequest3Type = {
320
- String: "string",
321
- Number: "number",
322
- Boolean: "boolean",
323
- } as const;
324
- /**
325
- * The type of the argument.
326
- */
327
- export type UpdateToolRequestBodyToolsRequest3Type = ClosedEnum<
328
- typeof UpdateToolRequestBodyToolsRequest3Type
329
- >;
330
-
331
- /**
332
- * The default value of the argument.
333
- */
334
- export type UpdateToolRequestBodyDefaultValue = string | number | boolean;
335
-
336
- export type UpdateToolRequestBodyArguments = {
337
- /**
338
- * The type of the argument.
339
- */
340
- type: UpdateToolRequestBodyToolsRequest3Type;
341
- /**
342
- * A description of the argument.
343
- */
344
- description: string;
345
- /**
346
- * 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.
347
- */
348
- sendToModel?: boolean | undefined;
349
- /**
350
- * The default value of the argument.
351
- */
352
- defaultValue?: string | number | boolean | undefined;
353
- };
354
-
355
- export type UpdateToolRequestBodyHttp = {
356
- /**
357
- * The blueprint for the HTTP request. The `arguments` field will be used to replace the placeholders in the `url`, `headers`, `body`, and `arguments` fields.
358
- */
359
- blueprint: UpdateToolRequestBodyBlueprint;
360
- /**
361
- * The arguments to send with the request. The keys will be used to replace the placeholders in the `blueprint` field.
362
- */
363
- arguments?: { [k: string]: UpdateToolRequestBodyArguments } | undefined;
364
- };
365
-
366
- export const UpdateToolRequestBodyToolsVersionIncrement = {
367
- Major: "major",
368
- Minor: "minor",
369
- Patch: "patch",
370
- } as const;
371
- export type UpdateToolRequestBodyToolsVersionIncrement = ClosedEnum<
372
- typeof UpdateToolRequestBodyToolsVersionIncrement
373
- >;
374
-
375
- /**
376
- * Updates an existing HTTP tool configuration.
377
- */
378
- export type UpdateHTTPTool = {
379
- /**
380
- * Entity storage path.
381
- *
382
- * @remarks
383
- *
384
- * 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`.
385
- *
386
- * 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.
387
- */
388
- path?: string | undefined;
389
- /**
390
- * Unique key of the tool as it will be displayed in the UI
391
- */
392
- key?: string | undefined;
393
- /**
394
- * 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.
395
- */
396
- displayName?: string | undefined;
397
- /**
398
- * 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.
399
- */
400
- description?: string | undefined;
401
- /**
402
- * 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.
403
- */
404
- status?: UpdateToolRequestBodyToolsRequestStatus | undefined;
405
- type: "http";
406
- http?: UpdateToolRequestBodyHttp | undefined;
407
- versionIncrement?: UpdateToolRequestBodyToolsVersionIncrement | undefined;
408
- versionDescription?: string | undefined;
409
- };
410
-
411
- /**
412
- * 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.
413
- */
414
- export const UpdateToolRequestBodyToolsStatus = {
415
- Live: "live",
416
- Draft: "draft",
417
- Pending: "pending",
418
- Published: "published",
419
- } as const;
420
- /**
421
- * 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.
422
- */
423
- export type UpdateToolRequestBodyToolsStatus = ClosedEnum<
424
- typeof UpdateToolRequestBodyToolsStatus
425
- >;
426
-
427
- /**
428
- * 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.
429
- */
430
- export type UpdateToolRequestBodySchema = {
431
- /**
432
- * The JSON Schema type
433
- */
434
- type: string;
435
- /**
436
- * The properties of the JSON Schema object
437
- */
438
- properties: { [k: string]: any };
439
- /**
440
- * Array of required property names
441
- */
442
- required: Array<string>;
443
- additionalProperties?: { [k: string]: any } | undefined;
444
- };
445
-
446
- export type UpdateToolRequestBodyJsonSchema = {
447
- /**
448
- * 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.
449
- */
450
- name: string;
451
- /**
452
- * A description of what the response format is for. This will be shown to the user.
453
- */
454
- description: string;
455
- /**
456
- * 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.
457
- */
458
- schema: UpdateToolRequestBodySchema;
459
- /**
460
- * 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.
461
- */
462
- strict?: boolean | undefined;
463
- };
464
-
465
- export const UpdateToolRequestBodyVersionIncrement = {
466
- Major: "major",
467
- Minor: "minor",
468
- Patch: "patch",
469
- } as const;
470
- export type UpdateToolRequestBodyVersionIncrement = ClosedEnum<
471
- typeof UpdateToolRequestBodyVersionIncrement
472
- >;
473
-
474
- /**
475
- * Updates an existing JSON Schema tool configuration.
476
- */
477
- export type UpdateJSONSchemaTool = {
478
- /**
479
- * Entity storage path.
480
- *
481
- * @remarks
482
- *
483
- * 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`.
484
- *
485
- * 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.
486
- */
487
- path?: string | undefined;
488
- /**
489
- * Unique key of the tool as it will be displayed in the UI
490
- */
491
- key?: string | undefined;
492
- /**
493
- * 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.
494
- */
495
- displayName?: string | undefined;
496
- /**
497
- * 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.
498
- */
499
- description?: string | undefined;
500
- /**
501
- * 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.
502
- */
503
- status?: UpdateToolRequestBodyToolsStatus | undefined;
504
- type: "json_schema";
505
- jsonSchema?: UpdateToolRequestBodyJsonSchema | undefined;
506
- versionIncrement?: UpdateToolRequestBodyVersionIncrement | undefined;
507
- versionDescription?: string | undefined;
508
- };
509
-
510
- /**
511
- * 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.
512
- */
513
- export const UpdateToolRequestBodyStatus = {
514
- Live: "live",
515
- Draft: "draft",
516
- Pending: "pending",
517
- Published: "published",
518
- } as const;
519
- /**
520
- * 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.
521
- */
522
- export type UpdateToolRequestBodyStatus = ClosedEnum<
523
- typeof UpdateToolRequestBodyStatus
524
- >;
525
-
526
- /**
527
- * The type must be "object"
528
- */
529
- export const UpdateToolRequestBodyToolsRequest1Type = {
530
- Object: "object",
531
- } as const;
532
- /**
533
- * The type must be "object"
534
- */
535
- export type UpdateToolRequestBodyToolsRequest1Type = ClosedEnum<
536
- typeof UpdateToolRequestBodyToolsRequest1Type
537
- >;
538
-
539
- /**
540
- * 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.
541
- */
542
- export type UpdateToolRequestBodyParameters = {
543
- /**
544
- * The type must be "object"
545
- */
546
- type: UpdateToolRequestBodyToolsRequest1Type;
547
- /**
548
- * The properties of the function parameters
549
- */
550
- properties: { [k: string]: any };
551
- /**
552
- * Array of required parameter names
553
- */
554
- required: Array<string>;
555
- additionalProperties?: { [k: string]: any } | undefined;
556
- };
557
-
558
- export type UpdateToolRequestBodyFunction = {
559
- /**
560
- * 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.
561
- */
562
- name: string;
563
- /**
564
- * A description of what the function does, used by the model to choose when and how to call the function.
565
- */
566
- description?: string | undefined;
567
- /**
568
- * 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.
569
- */
570
- strict?: boolean | undefined;
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
- parameters?: UpdateToolRequestBodyParameters | undefined;
575
- };
576
-
577
- export const RequestBodyVersionIncrement = {
578
- Major: "major",
579
- Minor: "minor",
580
- Patch: "patch",
581
- } as const;
582
- export type RequestBodyVersionIncrement = ClosedEnum<
583
- typeof RequestBodyVersionIncrement
584
- >;
585
-
586
- /**
587
- * Updates an existing function tool configuration.
588
- */
589
- export type UpdateFunctionTool = {
590
- /**
591
- * Entity storage path.
592
- *
593
- * @remarks
594
- *
595
- * 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`.
596
- *
597
- * 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.
598
- */
599
- path?: string | undefined;
600
- /**
601
- * Unique key of the tool as it will be displayed in the UI
602
- */
603
- key?: string | undefined;
604
- /**
605
- * 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.
606
- */
607
- displayName?: string | undefined;
608
- /**
609
- * 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.
610
- */
611
- description?: string | undefined;
612
- /**
613
- * 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.
614
- */
615
- status?: UpdateToolRequestBodyStatus | undefined;
616
- type: "function";
617
- function?: UpdateToolRequestBodyFunction | undefined;
618
- versionIncrement?: RequestBodyVersionIncrement | undefined;
619
- versionDescription?: string | undefined;
620
- };
621
-
622
- /**
623
- * The tool to update
624
- */
625
- export type UpdateToolRequestBody =
626
- | UpdateFunctionTool
627
- | UpdateJSONSchemaTool
628
- | UpdateHTTPTool
629
- | UpdateMCPTool
630
- | UpdateCodeExecutionTool;
631
-
632
- export type UpdateToolRequest = {
633
- toolId: string;
634
- /**
635
- * The tool to update
636
- */
637
- requestBody?:
638
- | UpdateFunctionTool
639
- | UpdateJSONSchemaTool
640
- | UpdateHTTPTool
641
- | UpdateMCPTool
642
- | UpdateCodeExecutionTool
643
- | undefined;
644
- };
645
-
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
- export const UpdateToolResponseBodyToolsResponse200ApplicationJSONStatus = {
650
- Live: "live",
651
- Draft: "draft",
652
- Pending: "pending",
653
- Published: "published",
654
- } as const;
655
- /**
656
- * 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.
657
- */
658
- export type UpdateToolResponseBodyToolsResponse200ApplicationJSONStatus =
659
- ClosedEnum<
660
- typeof UpdateToolResponseBodyToolsResponse200ApplicationJSONStatus
661
- >;
662
-
663
- /**
664
- * The type must be "object"
665
- */
666
- export const UpdateToolResponseBodyToolsResponse200ApplicationJson5Type = {
667
- Object: "object",
668
- } as const;
669
- /**
670
- * The type must be "object"
671
- */
672
- export type UpdateToolResponseBodyToolsResponse200ApplicationJson5Type =
673
- ClosedEnum<typeof UpdateToolResponseBodyToolsResponse200ApplicationJson5Type>;
674
-
675
- /**
676
- * 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.
677
- */
678
- export type UpdateToolResponseBodyToolsParameters = {
679
- /**
680
- * The type must be "object"
681
- */
682
- type: UpdateToolResponseBodyToolsResponse200ApplicationJson5Type;
683
- /**
684
- * The properties of the function parameters
685
- */
686
- properties: { [k: string]: any };
687
- /**
688
- * Array of required parameter names
689
- */
690
- required: Array<string>;
691
- additionalProperties?: { [k: string]: any } | undefined;
692
- };
693
-
694
- export const UpdateToolResponseBodyLanguage = {
695
- Python: "python",
696
- } as const;
697
- export type UpdateToolResponseBodyLanguage = ClosedEnum<
698
- typeof UpdateToolResponseBodyLanguage
699
- >;
700
-
701
- export type UpdateToolResponseBodyCodeTool = {
702
- /**
703
- * 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.
704
- */
705
- parameters?: UpdateToolResponseBodyToolsParameters | undefined;
706
- language: UpdateToolResponseBodyLanguage;
707
- /**
708
- * The code to execute.
709
- */
710
- code: string;
711
- };
712
-
713
- /**
714
- * Executes code snippets in a sandboxed environment, currently supporting Python.
715
- */
716
- export type UpdateToolResponseBodyCodeExecutionTool = {
717
- id: string;
718
- /**
719
- * Entity storage path.
720
- *
721
- * @remarks
722
- *
723
- * 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`.
724
- *
725
- * 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.
726
- */
727
- path: string;
728
- /**
729
- * Unique key of the tool as it will be displayed in the UI
730
- */
731
- key: string;
732
- /**
733
- * 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.
734
- */
735
- displayName?: string | undefined;
736
- /**
737
- * 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.
738
- */
739
- description: string;
740
- /**
741
- * The id of the user that created the tool
742
- */
743
- createdById?: string | null | undefined;
744
- /**
745
- * The id of the user that last updated the tool
746
- */
747
- updatedById?: string | null | undefined;
748
- projectId: string;
749
- workspaceId: string;
750
- created: string;
751
- updated: string;
752
- /**
753
- * 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.
754
- */
755
- status: UpdateToolResponseBodyToolsResponse200ApplicationJSONStatus;
756
- type: "code";
757
- codeTool: UpdateToolResponseBodyCodeTool;
758
- };
759
-
760
- /**
761
- * 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.
762
- */
763
- export const UpdateToolResponseBodyToolsResponse200Status = {
764
- Live: "live",
765
- Draft: "draft",
766
- Pending: "pending",
767
- Published: "published",
768
- } as const;
769
- /**
770
- * 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.
771
- */
772
- export type UpdateToolResponseBodyToolsResponse200Status = ClosedEnum<
773
- typeof UpdateToolResponseBodyToolsResponse200Status
774
- >;
775
-
776
- export type UpdateToolResponseBodyHeaders = {
777
- value: string;
778
- encrypted: boolean;
779
- };
780
-
781
- export const UpdateToolResponseBodyToolsResponse200ApplicationJson4Type = {
782
- Object: "object",
783
- } as const;
784
- export type UpdateToolResponseBodyToolsResponse200ApplicationJson4Type =
785
- ClosedEnum<typeof UpdateToolResponseBodyToolsResponse200ApplicationJson4Type>;
786
-
787
- export type UpdateToolResponseBodyToolsSchema = {
788
- type: UpdateToolResponseBodyToolsResponse200ApplicationJson4Type;
789
- properties?: { [k: string]: any } | undefined;
790
- required?: Array<string> | undefined;
791
- };
792
-
793
- export type UpdateToolResponseBodyTools = {
794
- id: string;
795
- name: string;
796
- description?: string | undefined;
797
- schema: UpdateToolResponseBodyToolsSchema;
798
- };
799
-
800
- /**
801
- * The connection type used by the MCP server
802
- */
803
- export const UpdateToolResponseBodyConnectionType = {
804
- Http: "http",
805
- Sse: "sse",
806
- } as const;
807
- /**
808
- * The connection type used by the MCP server
809
- */
810
- export type UpdateToolResponseBodyConnectionType = ClosedEnum<
811
- typeof UpdateToolResponseBodyConnectionType
812
- >;
813
-
814
- export type UpdateToolResponseBodyMcp = {
815
- /**
816
- * The MCP server URL (cached for execution)
817
- */
818
- serverUrl: string;
819
- /**
820
- * HTTP headers for MCP server requests with encryption support
821
- */
822
- headers?: { [k: string]: UpdateToolResponseBodyHeaders } | undefined;
823
- /**
824
- * Array of tools available from the MCP server
825
- */
826
- tools: Array<UpdateToolResponseBodyTools>;
827
- /**
828
- * The connection type used by the MCP server
829
- */
830
- connectionType: UpdateToolResponseBodyConnectionType;
831
- /**
832
- * Names of template variables detected in server_url and headers. Used by the FE to prompt for one-time values on sync/refresh.
833
- */
834
- templateVariables?: Array<string> | null | undefined;
835
- };
836
-
837
- /**
838
- * A tool from a Model Context Protocol (MCP) server that provides standardized access to external capabilities.
839
- */
840
- export type UpdateToolResponseBodyMCPTool = {
841
- id: string;
842
- /**
843
- * Entity storage path.
844
- *
845
- * @remarks
846
- *
847
- * 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`.
848
- *
849
- * 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.
850
- */
851
- path: string;
852
- /**
853
- * Unique key of the tool as it will be displayed in the UI
854
- */
855
- key: string;
856
- /**
857
- * 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.
858
- */
859
- displayName?: string | undefined;
860
- /**
861
- * 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.
862
- */
863
- description: string;
864
- /**
865
- * The id of the user that created the tool
866
- */
867
- createdById?: string | null | undefined;
868
- /**
869
- * The id of the user that last updated the tool
870
- */
871
- updatedById?: string | null | undefined;
872
- projectId: string;
873
- workspaceId: string;
874
- created: string;
875
- updated: string;
876
- /**
877
- * 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.
878
- */
879
- status: UpdateToolResponseBodyToolsResponse200Status;
880
- type: "mcp";
881
- mcp: UpdateToolResponseBodyMcp;
882
- };
883
-
884
- /**
885
- * 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.
886
- */
887
- export const UpdateToolResponseBodyToolsResponseStatus = {
888
- Live: "live",
889
- Draft: "draft",
890
- Pending: "pending",
891
- Published: "published",
892
- } as const;
893
- /**
894
- * 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.
895
- */
896
- export type UpdateToolResponseBodyToolsResponseStatus = ClosedEnum<
897
- typeof UpdateToolResponseBodyToolsResponseStatus
898
- >;
899
-
900
- /**
901
- * The HTTP method to use.
902
- */
903
- export const UpdateToolResponseBodyMethod = {
904
- Get: "GET",
905
- Post: "POST",
906
- Put: "PUT",
907
- Delete: "DELETE",
908
- } as const;
909
- /**
910
- * The HTTP method to use.
911
- */
912
- export type UpdateToolResponseBodyMethod = ClosedEnum<
913
- typeof UpdateToolResponseBodyMethod
914
- >;
915
-
916
- export type UpdateToolHeadersTools2 = {
917
- value: string;
918
- encrypted: boolean;
919
- };
920
-
921
- export type UpdateToolResponseBodyToolsHeaders =
922
- | UpdateToolHeadersTools2
923
- | string;
924
-
925
- /**
926
- * The blueprint for the HTTP request. The `arguments` field will be used to replace the placeholders in the `url`, `headers`, `body`, and `arguments` fields.
927
- */
928
- export type UpdateToolResponseBodyBlueprint = {
929
- /**
930
- * The URL to send the request to.
931
- */
932
- url: string;
933
- /**
934
- * The HTTP method to use.
935
- */
936
- method: UpdateToolResponseBodyMethod;
937
- /**
938
- * The headers to send with the request. Can be a string value or an object with value and encrypted properties.
939
- */
940
- headers?: { [k: string]: UpdateToolHeadersTools2 | string } | undefined;
941
- /**
942
- * The body to send with the request.
943
- */
944
- body?: { [k: string]: any } | undefined;
945
- /**
946
- * 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.
947
- */
948
- timeout?: number | undefined;
949
- };
950
-
951
- /**
952
- * The type of the argument.
953
- */
954
- export const UpdateToolResponseBodyToolsResponse200ApplicationJson3Type = {
955
- String: "string",
956
- Number: "number",
957
- Boolean: "boolean",
958
- } as const;
959
- /**
960
- * The type of the argument.
961
- */
962
- export type UpdateToolResponseBodyToolsResponse200ApplicationJson3Type =
963
- ClosedEnum<typeof UpdateToolResponseBodyToolsResponse200ApplicationJson3Type>;
964
-
965
- /**
966
- * The default value of the argument.
967
- */
968
- export type UpdateToolResponseBodyDefaultValue = string | number | boolean;
969
-
970
- export type UpdateToolResponseBodyArguments = {
971
- /**
972
- * The type of the argument.
973
- */
974
- type: UpdateToolResponseBodyToolsResponse200ApplicationJson3Type;
975
- /**
976
- * A description of the argument.
977
- */
978
- description: string;
979
- /**
980
- * 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.
981
- */
982
- sendToModel: boolean;
983
- /**
984
- * The default value of the argument.
985
- */
986
- defaultValue?: string | number | boolean | undefined;
987
- };
988
-
989
- export type UpdateToolResponseBodyHttp = {
990
- /**
991
- * The blueprint for the HTTP request. The `arguments` field will be used to replace the placeholders in the `url`, `headers`, `body`, and `arguments` fields.
992
- */
993
- blueprint: UpdateToolResponseBodyBlueprint;
994
- /**
995
- * The arguments to send with the request. The keys will be used to replace the placeholders in the `blueprint` field.
996
- */
997
- arguments?: { [k: string]: UpdateToolResponseBodyArguments } | undefined;
998
- };
999
-
1000
- /**
1001
- * Executes HTTP requests to interact with external APIs and web services using customizable blueprints.
1002
- */
1003
- export type UpdateToolResponseBodyHTTPTool = {
1004
- id: string;
1005
- /**
1006
- * Entity storage path.
1007
- *
1008
- * @remarks
1009
- *
1010
- * 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`.
1011
- *
1012
- * 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.
1013
- */
1014
- path: string;
1015
- /**
1016
- * Unique key of the tool as it will be displayed in the UI
1017
- */
1018
- key: string;
1019
- /**
1020
- * 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.
1021
- */
1022
- displayName?: string | undefined;
1023
- /**
1024
- * 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.
1025
- */
1026
- description: string;
1027
- /**
1028
- * The id of the user that created the tool
1029
- */
1030
- createdById?: string | null | undefined;
1031
- /**
1032
- * The id of the user that last updated the tool
1033
- */
1034
- updatedById?: string | null | undefined;
1035
- projectId: string;
1036
- workspaceId: string;
1037
- created: string;
1038
- updated: string;
1039
- /**
1040
- * 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.
1041
- */
1042
- status: UpdateToolResponseBodyToolsResponseStatus;
1043
- type: "http";
1044
- http: UpdateToolResponseBodyHttp;
1045
- };
1046
-
1047
- /**
1048
- * 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.
1049
- */
1050
- export const UpdateToolResponseBodyToolsStatus = {
1051
- Live: "live",
1052
- Draft: "draft",
1053
- Pending: "pending",
1054
- Published: "published",
1055
- } as const;
1056
- /**
1057
- * 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.
1058
- */
1059
- export type UpdateToolResponseBodyToolsStatus = ClosedEnum<
1060
- typeof UpdateToolResponseBodyToolsStatus
1061
- >;
1062
-
1063
- /**
1064
- * 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.
1065
- */
1066
- export type UpdateToolResponseBodySchema = {
1067
- /**
1068
- * The JSON Schema type
1069
- */
1070
- type: string;
1071
- /**
1072
- * The properties of the JSON Schema object
1073
- */
1074
- properties: { [k: string]: any };
1075
- /**
1076
- * Array of required property names
1077
- */
1078
- required: Array<string>;
1079
- additionalProperties?: { [k: string]: any } | undefined;
1080
- };
1081
-
1082
- export type UpdateToolResponseBodyJsonSchema = {
1083
- /**
1084
- * 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.
1085
- */
1086
- name: string;
1087
- /**
1088
- * A description of what the response format is for. This will be shown to the user.
1089
- */
1090
- description: string;
1091
- /**
1092
- * 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.
1093
- */
1094
- schema: UpdateToolResponseBodySchema;
1095
- /**
1096
- * 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.
1097
- */
1098
- strict?: boolean | undefined;
1099
- };
1100
-
1101
- /**
1102
- * A tool that enforces structured output format using JSON Schema for consistent response formatting.
1103
- */
1104
- export type UpdateToolResponseBodyJSONSchemaTool = {
1105
- id: string;
1106
- /**
1107
- * Entity storage path.
1108
- *
1109
- * @remarks
1110
- *
1111
- * 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`.
1112
- *
1113
- * 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.
1114
- */
1115
- path: string;
1116
- /**
1117
- * Unique key of the tool as it will be displayed in the UI
1118
- */
1119
- key: string;
1120
- /**
1121
- * 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.
1122
- */
1123
- displayName?: string | undefined;
1124
- /**
1125
- * 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.
1126
- */
1127
- description: string;
1128
- /**
1129
- * The id of the user that created the tool
1130
- */
1131
- createdById?: string | null | undefined;
1132
- /**
1133
- * The id of the user that last updated the tool
1134
- */
1135
- updatedById?: string | null | undefined;
1136
- projectId: string;
1137
- workspaceId: string;
1138
- created: string;
1139
- updated: string;
1140
- /**
1141
- * 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.
1142
- */
1143
- status: UpdateToolResponseBodyToolsStatus;
1144
- type: "json_schema";
1145
- jsonSchema: UpdateToolResponseBodyJsonSchema;
1146
- };
1147
-
1148
- /**
1149
- * 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.
1150
- */
1151
- export const UpdateToolResponseBodyStatus = {
1152
- Live: "live",
1153
- Draft: "draft",
1154
- Pending: "pending",
1155
- Published: "published",
1156
- } as const;
1157
- /**
1158
- * 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.
1159
- */
1160
- export type UpdateToolResponseBodyStatus = ClosedEnum<
1161
- typeof UpdateToolResponseBodyStatus
1162
- >;
1163
-
1164
- /**
1165
- * The type must be "object"
1166
- */
1167
- export const UpdateToolResponseBodyToolsResponse200ApplicationJson1Type = {
1168
- Object: "object",
1169
- } as const;
1170
- /**
1171
- * The type must be "object"
1172
- */
1173
- export type UpdateToolResponseBodyToolsResponse200ApplicationJson1Type =
1174
- ClosedEnum<typeof UpdateToolResponseBodyToolsResponse200ApplicationJson1Type>;
1175
-
1176
- /**
1177
- * 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.
1178
- */
1179
- export type UpdateToolResponseBodyParameters = {
1180
- /**
1181
- * The type must be "object"
1182
- */
1183
- type: UpdateToolResponseBodyToolsResponse200ApplicationJson1Type;
1184
- /**
1185
- * The properties of the function parameters
1186
- */
1187
- properties: { [k: string]: any };
1188
- /**
1189
- * Array of required parameter names
1190
- */
1191
- required: Array<string>;
1192
- additionalProperties?: { [k: string]: any } | undefined;
1193
- };
1194
-
1195
- export type UpdateToolResponseBodyFunction = {
1196
- /**
1197
- * 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.
1198
- */
1199
- name: string;
1200
- /**
1201
- * A description of what the function does, used by the model to choose when and how to call the function.
1202
- */
1203
- description?: string | undefined;
1204
- /**
1205
- * 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.
1206
- */
1207
- strict?: boolean | undefined;
1208
- /**
1209
- * 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.
1210
- */
1211
- parameters?: UpdateToolResponseBodyParameters | undefined;
1212
- };
1213
-
1214
- /**
1215
- * A custom function tool that allows the model to call predefined functions with structured parameters.
1216
- */
1217
- export type UpdateToolResponseBodyFunctionTool = {
1218
- id: string;
1219
- /**
1220
- * Entity storage path.
1221
- *
1222
- * @remarks
1223
- *
1224
- * 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`.
1225
- *
1226
- * 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.
1227
- */
1228
- path: string;
1229
- /**
1230
- * Unique key of the tool as it will be displayed in the UI
1231
- */
1232
- key: string;
1233
- /**
1234
- * 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.
1235
- */
1236
- displayName?: string | undefined;
1237
- /**
1238
- * 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.
1239
- */
1240
- description: string;
1241
- /**
1242
- * The id of the user that created the tool
1243
- */
1244
- createdById?: string | null | undefined;
1245
- /**
1246
- * The id of the user that last updated the tool
1247
- */
1248
- updatedById?: string | null | undefined;
1249
- projectId: string;
1250
- workspaceId: string;
1251
- created: string;
1252
- updated: string;
1253
- /**
1254
- * 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.
1255
- */
1256
- status: UpdateToolResponseBodyStatus;
1257
- type: "function";
1258
- function: UpdateToolResponseBodyFunction;
1259
- };
1260
-
1261
- /**
1262
- * Successfully updated the tool.
1263
- */
1264
- export type UpdateToolResponseBody =
1265
- | UpdateToolResponseBodyFunctionTool
1266
- | UpdateToolResponseBodyJSONSchemaTool
1267
- | UpdateToolResponseBodyHTTPTool
1268
- | UpdateToolResponseBodyMCPTool
1269
- | UpdateToolResponseBodyCodeExecutionTool;
1270
-
1271
- /** @internal */
1272
- export const UpdateToolRequestBodyToolsRequest5Status$outboundSchema:
1273
- z.ZodNativeEnum<typeof UpdateToolRequestBodyToolsRequest5Status> = z
1274
- .nativeEnum(UpdateToolRequestBodyToolsRequest5Status);
1275
-
1276
- /** @internal */
1277
- export const UpdateToolRequestBodyToolsRequest5CodeToolType$outboundSchema:
1278
- z.ZodNativeEnum<typeof UpdateToolRequestBodyToolsRequest5CodeToolType> = z
1279
- .nativeEnum(UpdateToolRequestBodyToolsRequest5CodeToolType);
1280
-
1281
- /** @internal */
1282
- export type UpdateToolRequestBodyToolsParameters$Outbound = {
1283
- type: string;
1284
- properties: { [k: string]: any };
1285
- required: Array<string>;
1286
- [additionalProperties: string]: unknown;
1287
- };
1288
-
1289
- /** @internal */
1290
- export const UpdateToolRequestBodyToolsParameters$outboundSchema: z.ZodType<
1291
- UpdateToolRequestBodyToolsParameters$Outbound,
1292
- z.ZodTypeDef,
1293
- UpdateToolRequestBodyToolsParameters
1294
- > = z.object({
1295
- type: UpdateToolRequestBodyToolsRequest5CodeToolType$outboundSchema,
1296
- properties: z.record(z.any()),
1297
- required: z.array(z.string()),
1298
- additionalProperties: z.record(z.any()).optional(),
1299
- }).transform((v) => {
1300
- return {
1301
- ...v.additionalProperties,
1302
- ...remap$(v, {
1303
- additionalProperties: null,
1304
- }),
1305
- };
1306
- });
1307
-
1308
- export function updateToolRequestBodyToolsParametersToJSON(
1309
- updateToolRequestBodyToolsParameters: UpdateToolRequestBodyToolsParameters,
1310
- ): string {
1311
- return JSON.stringify(
1312
- UpdateToolRequestBodyToolsParameters$outboundSchema.parse(
1313
- updateToolRequestBodyToolsParameters,
1314
- ),
1315
- );
1316
- }
1317
-
1318
- /** @internal */
1319
- export const UpdateToolRequestBodyLanguage$outboundSchema: z.ZodNativeEnum<
1320
- typeof UpdateToolRequestBodyLanguage
1321
- > = z.nativeEnum(UpdateToolRequestBodyLanguage);
1322
-
1323
- /** @internal */
1324
- export type UpdateToolRequestBodyCodeTool$Outbound = {
1325
- parameters?: UpdateToolRequestBodyToolsParameters$Outbound | undefined;
1326
- language: string;
1327
- code: string;
1328
- };
1329
-
1330
- /** @internal */
1331
- export const UpdateToolRequestBodyCodeTool$outboundSchema: z.ZodType<
1332
- UpdateToolRequestBodyCodeTool$Outbound,
1333
- z.ZodTypeDef,
1334
- UpdateToolRequestBodyCodeTool
1335
- > = z.object({
1336
- parameters: z.lazy(() => UpdateToolRequestBodyToolsParameters$outboundSchema)
1337
- .optional(),
1338
- language: UpdateToolRequestBodyLanguage$outboundSchema,
1339
- code: z.string(),
1340
- });
1341
-
1342
- export function updateToolRequestBodyCodeToolToJSON(
1343
- updateToolRequestBodyCodeTool: UpdateToolRequestBodyCodeTool,
1344
- ): string {
1345
- return JSON.stringify(
1346
- UpdateToolRequestBodyCodeTool$outboundSchema.parse(
1347
- updateToolRequestBodyCodeTool,
1348
- ),
1349
- );
1350
- }
1351
-
1352
- /** @internal */
1353
- export const UpdateToolRequestBodyToolsRequest5VersionIncrement$outboundSchema:
1354
- z.ZodNativeEnum<typeof UpdateToolRequestBodyToolsRequest5VersionIncrement> = z
1355
- .nativeEnum(UpdateToolRequestBodyToolsRequest5VersionIncrement);
1356
-
1357
- /** @internal */
1358
- export type UpdateCodeExecutionTool$Outbound = {
1359
- path?: string | undefined;
1360
- key?: string | undefined;
1361
- display_name?: string | undefined;
1362
- description?: string | undefined;
1363
- status: string;
1364
- type: "code";
1365
- code_tool?: UpdateToolRequestBodyCodeTool$Outbound | undefined;
1366
- versionIncrement?: string | undefined;
1367
- versionDescription?: string | undefined;
1368
- };
1369
-
1370
- /** @internal */
1371
- export const UpdateCodeExecutionTool$outboundSchema: z.ZodType<
1372
- UpdateCodeExecutionTool$Outbound,
1373
- z.ZodTypeDef,
1374
- UpdateCodeExecutionTool
1375
- > = z.object({
1376
- path: z.string().optional(),
1377
- key: z.string().optional(),
1378
- displayName: z.string().optional(),
1379
- description: z.string().optional(),
1380
- status: UpdateToolRequestBodyToolsRequest5Status$outboundSchema.default(
1381
- "live",
1382
- ),
1383
- type: z.literal("code"),
1384
- codeTool: z.lazy(() => UpdateToolRequestBodyCodeTool$outboundSchema)
1385
- .optional(),
1386
- versionIncrement:
1387
- UpdateToolRequestBodyToolsRequest5VersionIncrement$outboundSchema
1388
- .optional(),
1389
- versionDescription: z.string().optional(),
1390
- }).transform((v) => {
1391
- return remap$(v, {
1392
- displayName: "display_name",
1393
- codeTool: "code_tool",
1394
- });
1395
- });
1396
-
1397
- export function updateCodeExecutionToolToJSON(
1398
- updateCodeExecutionTool: UpdateCodeExecutionTool,
1399
- ): string {
1400
- return JSON.stringify(
1401
- UpdateCodeExecutionTool$outboundSchema.parse(updateCodeExecutionTool),
1402
- );
1403
- }
1404
-
1405
- /** @internal */
1406
- export const UpdateToolRequestBodyToolsRequest4Status$outboundSchema:
1407
- z.ZodNativeEnum<typeof UpdateToolRequestBodyToolsRequest4Status> = z
1408
- .nativeEnum(UpdateToolRequestBodyToolsRequest4Status);
1409
-
1410
- /** @internal */
1411
- export type UpdateToolRequestBodyHeaders$Outbound = {
1412
- value: string;
1413
- encrypted: boolean;
1414
- };
1415
-
1416
- /** @internal */
1417
- export const UpdateToolRequestBodyHeaders$outboundSchema: z.ZodType<
1418
- UpdateToolRequestBodyHeaders$Outbound,
1419
- z.ZodTypeDef,
1420
- UpdateToolRequestBodyHeaders
1421
- > = z.object({
1422
- value: z.string(),
1423
- encrypted: z.boolean().default(false),
1424
- });
1425
-
1426
- export function updateToolRequestBodyHeadersToJSON(
1427
- updateToolRequestBodyHeaders: UpdateToolRequestBodyHeaders,
1428
- ): string {
1429
- return JSON.stringify(
1430
- UpdateToolRequestBodyHeaders$outboundSchema.parse(
1431
- updateToolRequestBodyHeaders,
1432
- ),
1433
- );
1434
- }
1435
-
1436
- /** @internal */
1437
- export const UpdateToolRequestBodyToolsRequest4McpType$outboundSchema:
1438
- z.ZodNativeEnum<typeof UpdateToolRequestBodyToolsRequest4McpType> = z
1439
- .nativeEnum(UpdateToolRequestBodyToolsRequest4McpType);
1440
-
1441
- /** @internal */
1442
- export type UpdateToolRequestBodyToolsSchema$Outbound = {
1443
- type: string;
1444
- properties?: { [k: string]: any } | undefined;
1445
- required?: Array<string> | undefined;
1446
- };
1447
-
1448
- /** @internal */
1449
- export const UpdateToolRequestBodyToolsSchema$outboundSchema: z.ZodType<
1450
- UpdateToolRequestBodyToolsSchema$Outbound,
1451
- z.ZodTypeDef,
1452
- UpdateToolRequestBodyToolsSchema
1453
- > = z.object({
1454
- type: UpdateToolRequestBodyToolsRequest4McpType$outboundSchema,
1455
- properties: z.record(z.any()).optional(),
1456
- required: z.array(z.string()).optional(),
1457
- });
1458
-
1459
- export function updateToolRequestBodyToolsSchemaToJSON(
1460
- updateToolRequestBodyToolsSchema: UpdateToolRequestBodyToolsSchema,
1461
- ): string {
1462
- return JSON.stringify(
1463
- UpdateToolRequestBodyToolsSchema$outboundSchema.parse(
1464
- updateToolRequestBodyToolsSchema,
1465
- ),
1466
- );
1467
- }
1468
-
1469
- /** @internal */
1470
- export type RequestBodyTools$Outbound = {
1471
- id: string;
1472
- name: string;
1473
- description?: string | undefined;
1474
- schema: UpdateToolRequestBodyToolsSchema$Outbound;
1475
- };
1476
-
1477
- /** @internal */
1478
- export const RequestBodyTools$outboundSchema: z.ZodType<
1479
- RequestBodyTools$Outbound,
1480
- z.ZodTypeDef,
1481
- RequestBodyTools
1482
- > = z.object({
1483
- id: z.string().default("01KZGZNMNVR9E0S3YX5HH12TFA"),
1484
- name: z.string(),
1485
- description: z.string().optional(),
1486
- schema: z.lazy(() => UpdateToolRequestBodyToolsSchema$outboundSchema),
1487
- });
1488
-
1489
- export function requestBodyToolsToJSON(
1490
- requestBodyTools: RequestBodyTools,
1491
- ): string {
1492
- return JSON.stringify(
1493
- RequestBodyTools$outboundSchema.parse(requestBodyTools),
1494
- );
1495
- }
1496
-
1497
- /** @internal */
1498
- export const UpdateToolRequestBodyConnectionType$outboundSchema:
1499
- z.ZodNativeEnum<typeof UpdateToolRequestBodyConnectionType> = z.nativeEnum(
1500
- UpdateToolRequestBodyConnectionType,
1501
- );
1502
-
1503
- /** @internal */
1504
- export type UpdateToolRequestBodyMcp$Outbound = {
1505
- server_url?: string | undefined;
1506
- headers?: { [k: string]: UpdateToolRequestBodyHeaders$Outbound } | undefined;
1507
- tools?: Array<RequestBodyTools$Outbound> | undefined;
1508
- connection_type?: string | undefined;
1509
- };
1510
-
1511
- /** @internal */
1512
- export const UpdateToolRequestBodyMcp$outboundSchema: z.ZodType<
1513
- UpdateToolRequestBodyMcp$Outbound,
1514
- z.ZodTypeDef,
1515
- UpdateToolRequestBodyMcp
1516
- > = z.object({
1517
- serverUrl: z.string().optional(),
1518
- headers: z.record(z.lazy(() => UpdateToolRequestBodyHeaders$outboundSchema))
1519
- .optional(),
1520
- tools: z.array(z.lazy(() => RequestBodyTools$outboundSchema)).optional(),
1521
- connectionType: UpdateToolRequestBodyConnectionType$outboundSchema.optional(),
1522
- }).transform((v) => {
1523
- return remap$(v, {
1524
- serverUrl: "server_url",
1525
- connectionType: "connection_type",
1526
- });
1527
- });
1528
-
1529
- export function updateToolRequestBodyMcpToJSON(
1530
- updateToolRequestBodyMcp: UpdateToolRequestBodyMcp,
1531
- ): string {
1532
- return JSON.stringify(
1533
- UpdateToolRequestBodyMcp$outboundSchema.parse(updateToolRequestBodyMcp),
1534
- );
1535
- }
1536
-
1537
- /** @internal */
1538
- export const UpdateToolRequestBodyToolsRequestVersionIncrement$outboundSchema:
1539
- z.ZodNativeEnum<typeof UpdateToolRequestBodyToolsRequestVersionIncrement> = z
1540
- .nativeEnum(UpdateToolRequestBodyToolsRequestVersionIncrement);
1541
-
1542
- /** @internal */
1543
- export type UpdateMCPTool$Outbound = {
1544
- path?: string | undefined;
1545
- key?: string | undefined;
1546
- display_name?: string | undefined;
1547
- description?: string | undefined;
1548
- status: string;
1549
- type: "mcp";
1550
- mcp?: UpdateToolRequestBodyMcp$Outbound | undefined;
1551
- discovery_variables?: { [k: string]: string } | undefined;
1552
- versionIncrement?: string | undefined;
1553
- versionDescription?: string | undefined;
1554
- };
1555
-
1556
- /** @internal */
1557
- export const UpdateMCPTool$outboundSchema: z.ZodType<
1558
- UpdateMCPTool$Outbound,
1559
- z.ZodTypeDef,
1560
- UpdateMCPTool
1561
- > = z.object({
1562
- path: z.string().optional(),
1563
- key: z.string().optional(),
1564
- displayName: z.string().optional(),
1565
- description: z.string().optional(),
1566
- status: UpdateToolRequestBodyToolsRequest4Status$outboundSchema.default(
1567
- "live",
1568
- ),
1569
- type: z.literal("mcp"),
1570
- mcp: z.lazy(() => UpdateToolRequestBodyMcp$outboundSchema).optional(),
1571
- discoveryVariables: z.record(z.string()).optional(),
1572
- versionIncrement:
1573
- UpdateToolRequestBodyToolsRequestVersionIncrement$outboundSchema.optional(),
1574
- versionDescription: z.string().optional(),
1575
- }).transform((v) => {
1576
- return remap$(v, {
1577
- displayName: "display_name",
1578
- discoveryVariables: "discovery_variables",
1579
- });
1580
- });
1581
-
1582
- export function updateMCPToolToJSON(updateMCPTool: UpdateMCPTool): string {
1583
- return JSON.stringify(UpdateMCPTool$outboundSchema.parse(updateMCPTool));
1584
- }
1585
-
1586
- /** @internal */
1587
- export const UpdateToolRequestBodyToolsRequestStatus$outboundSchema:
1588
- z.ZodNativeEnum<typeof UpdateToolRequestBodyToolsRequestStatus> = z
1589
- .nativeEnum(UpdateToolRequestBodyToolsRequestStatus);
1590
-
1591
- /** @internal */
1592
- export const UpdateToolRequestBodyMethod$outboundSchema: z.ZodNativeEnum<
1593
- typeof UpdateToolRequestBodyMethod
1594
- > = z.nativeEnum(UpdateToolRequestBodyMethod);
1595
-
1596
- /** @internal */
1597
- export type UpdateToolHeaders2$Outbound = {
1598
- value: string;
1599
- encrypted: boolean;
1600
- };
1601
-
1602
- /** @internal */
1603
- export const UpdateToolHeaders2$outboundSchema: z.ZodType<
1604
- UpdateToolHeaders2$Outbound,
1605
- z.ZodTypeDef,
1606
- UpdateToolHeaders2
1607
- > = z.object({
1608
- value: z.string(),
1609
- encrypted: z.boolean().default(false),
1610
- });
1611
-
1612
- export function updateToolHeaders2ToJSON(
1613
- updateToolHeaders2: UpdateToolHeaders2,
1614
- ): string {
1615
- return JSON.stringify(
1616
- UpdateToolHeaders2$outboundSchema.parse(updateToolHeaders2),
1617
- );
1618
- }
1619
-
1620
- /** @internal */
1621
- export type UpdateToolRequestBodyToolsHeaders$Outbound =
1622
- | UpdateToolHeaders2$Outbound
1623
- | string;
1624
-
1625
- /** @internal */
1626
- export const UpdateToolRequestBodyToolsHeaders$outboundSchema: z.ZodType<
1627
- UpdateToolRequestBodyToolsHeaders$Outbound,
1628
- z.ZodTypeDef,
1629
- UpdateToolRequestBodyToolsHeaders
1630
- > = z.union([z.lazy(() => UpdateToolHeaders2$outboundSchema), z.string()]);
1631
-
1632
- export function updateToolRequestBodyToolsHeadersToJSON(
1633
- updateToolRequestBodyToolsHeaders: UpdateToolRequestBodyToolsHeaders,
1634
- ): string {
1635
- return JSON.stringify(
1636
- UpdateToolRequestBodyToolsHeaders$outboundSchema.parse(
1637
- updateToolRequestBodyToolsHeaders,
1638
- ),
1639
- );
1640
- }
1641
-
1642
- /** @internal */
1643
- export type UpdateToolRequestBodyBlueprint$Outbound = {
1644
- url: string;
1645
- method: string;
1646
- headers?: { [k: string]: UpdateToolHeaders2$Outbound | string } | undefined;
1647
- body?: { [k: string]: any } | undefined;
1648
- timeout?: number | undefined;
1649
- };
1650
-
1651
- /** @internal */
1652
- export const UpdateToolRequestBodyBlueprint$outboundSchema: z.ZodType<
1653
- UpdateToolRequestBodyBlueprint$Outbound,
1654
- z.ZodTypeDef,
1655
- UpdateToolRequestBodyBlueprint
1656
- > = z.object({
1657
- url: z.string(),
1658
- method: UpdateToolRequestBodyMethod$outboundSchema,
1659
- headers: z.record(
1660
- z.union([z.lazy(() => UpdateToolHeaders2$outboundSchema), z.string()]),
1661
- ).optional(),
1662
- body: z.record(z.any()).optional(),
1663
- timeout: z.number().optional(),
1664
- });
1665
-
1666
- export function updateToolRequestBodyBlueprintToJSON(
1667
- updateToolRequestBodyBlueprint: UpdateToolRequestBodyBlueprint,
1668
- ): string {
1669
- return JSON.stringify(
1670
- UpdateToolRequestBodyBlueprint$outboundSchema.parse(
1671
- updateToolRequestBodyBlueprint,
1672
- ),
1673
- );
1674
- }
1675
-
1676
- /** @internal */
1677
- export const UpdateToolRequestBodyToolsRequest3Type$outboundSchema:
1678
- z.ZodNativeEnum<typeof UpdateToolRequestBodyToolsRequest3Type> = z.nativeEnum(
1679
- UpdateToolRequestBodyToolsRequest3Type,
1680
- );
1681
-
1682
- /** @internal */
1683
- export type UpdateToolRequestBodyDefaultValue$Outbound =
1684
- | string
1685
- | number
1686
- | boolean;
1687
-
1688
- /** @internal */
1689
- export const UpdateToolRequestBodyDefaultValue$outboundSchema: z.ZodType<
1690
- UpdateToolRequestBodyDefaultValue$Outbound,
1691
- z.ZodTypeDef,
1692
- UpdateToolRequestBodyDefaultValue
1693
- > = z.union([z.string(), z.number(), z.boolean()]);
1694
-
1695
- export function updateToolRequestBodyDefaultValueToJSON(
1696
- updateToolRequestBodyDefaultValue: UpdateToolRequestBodyDefaultValue,
1697
- ): string {
1698
- return JSON.stringify(
1699
- UpdateToolRequestBodyDefaultValue$outboundSchema.parse(
1700
- updateToolRequestBodyDefaultValue,
1701
- ),
1702
- );
1703
- }
1704
-
1705
- /** @internal */
1706
- export type UpdateToolRequestBodyArguments$Outbound = {
1707
- type: string;
1708
- description: string;
1709
- send_to_model: boolean;
1710
- default_value?: string | number | boolean | undefined;
1711
- };
1712
-
1713
- /** @internal */
1714
- export const UpdateToolRequestBodyArguments$outboundSchema: z.ZodType<
1715
- UpdateToolRequestBodyArguments$Outbound,
1716
- z.ZodTypeDef,
1717
- UpdateToolRequestBodyArguments
1718
- > = z.object({
1719
- type: UpdateToolRequestBodyToolsRequest3Type$outboundSchema,
1720
- description: z.string(),
1721
- sendToModel: z.boolean().default(true),
1722
- defaultValue: z.union([z.string(), z.number(), z.boolean()]).optional(),
1723
- }).transform((v) => {
1724
- return remap$(v, {
1725
- sendToModel: "send_to_model",
1726
- defaultValue: "default_value",
1727
- });
1728
- });
1729
-
1730
- export function updateToolRequestBodyArgumentsToJSON(
1731
- updateToolRequestBodyArguments: UpdateToolRequestBodyArguments,
1732
- ): string {
1733
- return JSON.stringify(
1734
- UpdateToolRequestBodyArguments$outboundSchema.parse(
1735
- updateToolRequestBodyArguments,
1736
- ),
1737
- );
1738
- }
1739
-
1740
- /** @internal */
1741
- export type UpdateToolRequestBodyHttp$Outbound = {
1742
- blueprint: UpdateToolRequestBodyBlueprint$Outbound;
1743
- arguments?:
1744
- | { [k: string]: UpdateToolRequestBodyArguments$Outbound }
1745
- | undefined;
1746
- };
1747
-
1748
- /** @internal */
1749
- export const UpdateToolRequestBodyHttp$outboundSchema: z.ZodType<
1750
- UpdateToolRequestBodyHttp$Outbound,
1751
- z.ZodTypeDef,
1752
- UpdateToolRequestBodyHttp
1753
- > = z.object({
1754
- blueprint: z.lazy(() => UpdateToolRequestBodyBlueprint$outboundSchema),
1755
- arguments: z.record(
1756
- z.lazy(() => UpdateToolRequestBodyArguments$outboundSchema),
1757
- ).optional(),
1758
- });
1759
-
1760
- export function updateToolRequestBodyHttpToJSON(
1761
- updateToolRequestBodyHttp: UpdateToolRequestBodyHttp,
1762
- ): string {
1763
- return JSON.stringify(
1764
- UpdateToolRequestBodyHttp$outboundSchema.parse(updateToolRequestBodyHttp),
1765
- );
1766
- }
1767
-
1768
- /** @internal */
1769
- export const UpdateToolRequestBodyToolsVersionIncrement$outboundSchema:
1770
- z.ZodNativeEnum<typeof UpdateToolRequestBodyToolsVersionIncrement> = z
1771
- .nativeEnum(UpdateToolRequestBodyToolsVersionIncrement);
1772
-
1773
- /** @internal */
1774
- export type UpdateHTTPTool$Outbound = {
1775
- path?: string | undefined;
1776
- key?: string | undefined;
1777
- display_name?: string | undefined;
1778
- description?: string | undefined;
1779
- status: string;
1780
- type: "http";
1781
- http?: UpdateToolRequestBodyHttp$Outbound | undefined;
1782
- versionIncrement?: string | undefined;
1783
- versionDescription?: string | undefined;
1784
- };
1785
-
1786
- /** @internal */
1787
- export const UpdateHTTPTool$outboundSchema: z.ZodType<
1788
- UpdateHTTPTool$Outbound,
1789
- z.ZodTypeDef,
1790
- UpdateHTTPTool
1791
- > = z.object({
1792
- path: z.string().optional(),
1793
- key: z.string().optional(),
1794
- displayName: z.string().optional(),
1795
- description: z.string().optional(),
1796
- status: UpdateToolRequestBodyToolsRequestStatus$outboundSchema.default(
1797
- "live",
1798
- ),
1799
- type: z.literal("http"),
1800
- http: z.lazy(() => UpdateToolRequestBodyHttp$outboundSchema).optional(),
1801
- versionIncrement: UpdateToolRequestBodyToolsVersionIncrement$outboundSchema
1802
- .optional(),
1803
- versionDescription: z.string().optional(),
1804
- }).transform((v) => {
1805
- return remap$(v, {
1806
- displayName: "display_name",
1807
- });
1808
- });
1809
-
1810
- export function updateHTTPToolToJSON(updateHTTPTool: UpdateHTTPTool): string {
1811
- return JSON.stringify(UpdateHTTPTool$outboundSchema.parse(updateHTTPTool));
1812
- }
1813
-
1814
- /** @internal */
1815
- export const UpdateToolRequestBodyToolsStatus$outboundSchema: z.ZodNativeEnum<
1816
- typeof UpdateToolRequestBodyToolsStatus
1817
- > = z.nativeEnum(UpdateToolRequestBodyToolsStatus);
1818
-
1819
- /** @internal */
1820
- export type UpdateToolRequestBodySchema$Outbound = {
1821
- type: string;
1822
- properties: { [k: string]: any };
1823
- required: Array<string>;
1824
- [additionalProperties: string]: unknown;
1825
- };
1826
-
1827
- /** @internal */
1828
- export const UpdateToolRequestBodySchema$outboundSchema: z.ZodType<
1829
- UpdateToolRequestBodySchema$Outbound,
1830
- z.ZodTypeDef,
1831
- UpdateToolRequestBodySchema
1832
- > = z.object({
1833
- type: z.string(),
1834
- properties: z.record(z.any()),
1835
- required: z.array(z.string()),
1836
- additionalProperties: z.record(z.any()).optional(),
1837
- }).transform((v) => {
1838
- return {
1839
- ...v.additionalProperties,
1840
- ...remap$(v, {
1841
- additionalProperties: null,
1842
- }),
1843
- };
1844
- });
1845
-
1846
- export function updateToolRequestBodySchemaToJSON(
1847
- updateToolRequestBodySchema: UpdateToolRequestBodySchema,
1848
- ): string {
1849
- return JSON.stringify(
1850
- UpdateToolRequestBodySchema$outboundSchema.parse(
1851
- updateToolRequestBodySchema,
1852
- ),
1853
- );
1854
- }
1855
-
1856
- /** @internal */
1857
- export type UpdateToolRequestBodyJsonSchema$Outbound = {
1858
- name: string;
1859
- description: string;
1860
- schema: UpdateToolRequestBodySchema$Outbound;
1861
- strict?: boolean | undefined;
1862
- };
1863
-
1864
- /** @internal */
1865
- export const UpdateToolRequestBodyJsonSchema$outboundSchema: z.ZodType<
1866
- UpdateToolRequestBodyJsonSchema$Outbound,
1867
- z.ZodTypeDef,
1868
- UpdateToolRequestBodyJsonSchema
1869
- > = z.object({
1870
- name: z.string(),
1871
- description: z.string(),
1872
- schema: z.lazy(() => UpdateToolRequestBodySchema$outboundSchema),
1873
- strict: z.boolean().optional(),
1874
- });
1875
-
1876
- export function updateToolRequestBodyJsonSchemaToJSON(
1877
- updateToolRequestBodyJsonSchema: UpdateToolRequestBodyJsonSchema,
1878
- ): string {
1879
- return JSON.stringify(
1880
- UpdateToolRequestBodyJsonSchema$outboundSchema.parse(
1881
- updateToolRequestBodyJsonSchema,
1882
- ),
1883
- );
1884
- }
1885
-
1886
- /** @internal */
1887
- export const UpdateToolRequestBodyVersionIncrement$outboundSchema:
1888
- z.ZodNativeEnum<typeof UpdateToolRequestBodyVersionIncrement> = z.nativeEnum(
1889
- UpdateToolRequestBodyVersionIncrement,
1890
- );
1891
-
1892
- /** @internal */
1893
- export type UpdateJSONSchemaTool$Outbound = {
1894
- path?: string | undefined;
1895
- key?: string | undefined;
1896
- display_name?: string | undefined;
1897
- description?: string | undefined;
1898
- status: string;
1899
- type: "json_schema";
1900
- json_schema?: UpdateToolRequestBodyJsonSchema$Outbound | undefined;
1901
- versionIncrement?: string | undefined;
1902
- versionDescription?: string | undefined;
1903
- };
1904
-
1905
- /** @internal */
1906
- export const UpdateJSONSchemaTool$outboundSchema: z.ZodType<
1907
- UpdateJSONSchemaTool$Outbound,
1908
- z.ZodTypeDef,
1909
- UpdateJSONSchemaTool
1910
- > = z.object({
1911
- path: z.string().optional(),
1912
- key: z.string().optional(),
1913
- displayName: z.string().optional(),
1914
- description: z.string().optional(),
1915
- status: UpdateToolRequestBodyToolsStatus$outboundSchema.default("live"),
1916
- type: z.literal("json_schema"),
1917
- jsonSchema: z.lazy(() => UpdateToolRequestBodyJsonSchema$outboundSchema)
1918
- .optional(),
1919
- versionIncrement: UpdateToolRequestBodyVersionIncrement$outboundSchema
1920
- .optional(),
1921
- versionDescription: z.string().optional(),
1922
- }).transform((v) => {
1923
- return remap$(v, {
1924
- displayName: "display_name",
1925
- jsonSchema: "json_schema",
1926
- });
1927
- });
1928
-
1929
- export function updateJSONSchemaToolToJSON(
1930
- updateJSONSchemaTool: UpdateJSONSchemaTool,
1931
- ): string {
1932
- return JSON.stringify(
1933
- UpdateJSONSchemaTool$outboundSchema.parse(updateJSONSchemaTool),
1934
- );
1935
- }
1936
-
1937
- /** @internal */
1938
- export const UpdateToolRequestBodyStatus$outboundSchema: z.ZodNativeEnum<
1939
- typeof UpdateToolRequestBodyStatus
1940
- > = z.nativeEnum(UpdateToolRequestBodyStatus);
1941
-
1942
- /** @internal */
1943
- export const UpdateToolRequestBodyToolsRequest1Type$outboundSchema:
1944
- z.ZodNativeEnum<typeof UpdateToolRequestBodyToolsRequest1Type> = z.nativeEnum(
1945
- UpdateToolRequestBodyToolsRequest1Type,
1946
- );
1947
-
1948
- /** @internal */
1949
- export type UpdateToolRequestBodyParameters$Outbound = {
1950
- type: string;
1951
- properties: { [k: string]: any };
1952
- required: Array<string>;
1953
- [additionalProperties: string]: unknown;
1954
- };
1955
-
1956
- /** @internal */
1957
- export const UpdateToolRequestBodyParameters$outboundSchema: z.ZodType<
1958
- UpdateToolRequestBodyParameters$Outbound,
1959
- z.ZodTypeDef,
1960
- UpdateToolRequestBodyParameters
1961
- > = z.object({
1962
- type: UpdateToolRequestBodyToolsRequest1Type$outboundSchema,
1963
- properties: z.record(z.any()),
1964
- required: z.array(z.string()),
1965
- additionalProperties: z.record(z.any()).optional(),
1966
- }).transform((v) => {
1967
- return {
1968
- ...v.additionalProperties,
1969
- ...remap$(v, {
1970
- additionalProperties: null,
1971
- }),
1972
- };
1973
- });
1974
-
1975
- export function updateToolRequestBodyParametersToJSON(
1976
- updateToolRequestBodyParameters: UpdateToolRequestBodyParameters,
1977
- ): string {
1978
- return JSON.stringify(
1979
- UpdateToolRequestBodyParameters$outboundSchema.parse(
1980
- updateToolRequestBodyParameters,
1981
- ),
1982
- );
1983
- }
1984
-
1985
- /** @internal */
1986
- export type UpdateToolRequestBodyFunction$Outbound = {
1987
- name: string;
1988
- description?: string | undefined;
1989
- strict?: boolean | undefined;
1990
- parameters?: UpdateToolRequestBodyParameters$Outbound | undefined;
1991
- };
1992
-
1993
- /** @internal */
1994
- export const UpdateToolRequestBodyFunction$outboundSchema: z.ZodType<
1995
- UpdateToolRequestBodyFunction$Outbound,
1996
- z.ZodTypeDef,
1997
- UpdateToolRequestBodyFunction
1998
- > = z.object({
1999
- name: z.string(),
2000
- description: z.string().optional(),
2001
- strict: z.boolean().optional(),
2002
- parameters: z.lazy(() => UpdateToolRequestBodyParameters$outboundSchema)
2003
- .optional(),
2004
- });
2005
-
2006
- export function updateToolRequestBodyFunctionToJSON(
2007
- updateToolRequestBodyFunction: UpdateToolRequestBodyFunction,
2008
- ): string {
2009
- return JSON.stringify(
2010
- UpdateToolRequestBodyFunction$outboundSchema.parse(
2011
- updateToolRequestBodyFunction,
2012
- ),
2013
- );
2014
- }
2015
-
2016
- /** @internal */
2017
- export const RequestBodyVersionIncrement$outboundSchema: z.ZodNativeEnum<
2018
- typeof RequestBodyVersionIncrement
2019
- > = z.nativeEnum(RequestBodyVersionIncrement);
2020
-
2021
- /** @internal */
2022
- export type UpdateFunctionTool$Outbound = {
2023
- path?: string | undefined;
2024
- key?: string | undefined;
2025
- display_name?: string | undefined;
2026
- description?: string | undefined;
2027
- status: string;
2028
- type: "function";
2029
- function?: UpdateToolRequestBodyFunction$Outbound | undefined;
2030
- versionIncrement?: string | undefined;
2031
- versionDescription?: string | undefined;
2032
- };
2033
-
2034
- /** @internal */
2035
- export const UpdateFunctionTool$outboundSchema: z.ZodType<
2036
- UpdateFunctionTool$Outbound,
2037
- z.ZodTypeDef,
2038
- UpdateFunctionTool
2039
- > = z.object({
2040
- path: z.string().optional(),
2041
- key: z.string().optional(),
2042
- displayName: z.string().optional(),
2043
- description: z.string().optional(),
2044
- status: UpdateToolRequestBodyStatus$outboundSchema.default("live"),
2045
- type: z.literal("function"),
2046
- function: z.lazy(() => UpdateToolRequestBodyFunction$outboundSchema)
2047
- .optional(),
2048
- versionIncrement: RequestBodyVersionIncrement$outboundSchema.optional(),
2049
- versionDescription: z.string().optional(),
2050
- }).transform((v) => {
2051
- return remap$(v, {
2052
- displayName: "display_name",
2053
- });
2054
- });
2055
-
2056
- export function updateFunctionToolToJSON(
2057
- updateFunctionTool: UpdateFunctionTool,
2058
- ): string {
2059
- return JSON.stringify(
2060
- UpdateFunctionTool$outboundSchema.parse(updateFunctionTool),
2061
- );
2062
- }
2063
-
2064
- /** @internal */
2065
- export type UpdateToolRequestBody$Outbound =
2066
- | UpdateFunctionTool$Outbound
2067
- | UpdateJSONSchemaTool$Outbound
2068
- | UpdateHTTPTool$Outbound
2069
- | UpdateMCPTool$Outbound
2070
- | UpdateCodeExecutionTool$Outbound;
2071
-
2072
- /** @internal */
2073
- export const UpdateToolRequestBody$outboundSchema: z.ZodType<
2074
- UpdateToolRequestBody$Outbound,
2075
- z.ZodTypeDef,
2076
- UpdateToolRequestBody
2077
- > = z.union([
2078
- z.lazy(() => UpdateFunctionTool$outboundSchema),
2079
- z.lazy(() => UpdateJSONSchemaTool$outboundSchema),
2080
- z.lazy(() => UpdateHTTPTool$outboundSchema),
2081
- z.lazy(() => UpdateMCPTool$outboundSchema),
2082
- z.lazy(() => UpdateCodeExecutionTool$outboundSchema),
2083
- ]);
2084
-
2085
- export function updateToolRequestBodyToJSON(
2086
- updateToolRequestBody: UpdateToolRequestBody,
2087
- ): string {
2088
- return JSON.stringify(
2089
- UpdateToolRequestBody$outboundSchema.parse(updateToolRequestBody),
2090
- );
2091
- }
2092
-
2093
- /** @internal */
2094
- export type UpdateToolRequest$Outbound = {
2095
- tool_id: string;
2096
- RequestBody?:
2097
- | UpdateFunctionTool$Outbound
2098
- | UpdateJSONSchemaTool$Outbound
2099
- | UpdateHTTPTool$Outbound
2100
- | UpdateMCPTool$Outbound
2101
- | UpdateCodeExecutionTool$Outbound
2102
- | undefined;
2103
- };
2104
-
2105
- /** @internal */
2106
- export const UpdateToolRequest$outboundSchema: z.ZodType<
2107
- UpdateToolRequest$Outbound,
2108
- z.ZodTypeDef,
2109
- UpdateToolRequest
2110
- > = z.object({
2111
- toolId: z.string(),
2112
- requestBody: z.union([
2113
- z.lazy(() => UpdateFunctionTool$outboundSchema),
2114
- z.lazy(() => UpdateJSONSchemaTool$outboundSchema),
2115
- z.lazy(() => UpdateHTTPTool$outboundSchema),
2116
- z.lazy(() => UpdateMCPTool$outboundSchema),
2117
- z.lazy(() => UpdateCodeExecutionTool$outboundSchema),
2118
- ]).optional(),
2119
- }).transform((v) => {
2120
- return remap$(v, {
2121
- toolId: "tool_id",
2122
- requestBody: "RequestBody",
2123
- });
2124
- });
2125
-
2126
- export function updateToolRequestToJSON(
2127
- updateToolRequest: UpdateToolRequest,
2128
- ): string {
2129
- return JSON.stringify(
2130
- UpdateToolRequest$outboundSchema.parse(updateToolRequest),
2131
- );
2132
- }
2133
-
2134
- /** @internal */
2135
- export const UpdateToolResponseBodyToolsResponse200ApplicationJSONStatus$inboundSchema:
2136
- z.ZodNativeEnum<
2137
- typeof UpdateToolResponseBodyToolsResponse200ApplicationJSONStatus
2138
- > = z.nativeEnum(UpdateToolResponseBodyToolsResponse200ApplicationJSONStatus);
2139
-
2140
- /** @internal */
2141
- export const UpdateToolResponseBodyToolsResponse200ApplicationJson5Type$inboundSchema:
2142
- z.ZodNativeEnum<
2143
- typeof UpdateToolResponseBodyToolsResponse200ApplicationJson5Type
2144
- > = z.nativeEnum(UpdateToolResponseBodyToolsResponse200ApplicationJson5Type);
2145
-
2146
- /** @internal */
2147
- export const UpdateToolResponseBodyToolsParameters$inboundSchema: z.ZodType<
2148
- UpdateToolResponseBodyToolsParameters,
2149
- z.ZodTypeDef,
2150
- unknown
2151
- > = collectExtraKeys$(
2152
- z.object({
2153
- type:
2154
- UpdateToolResponseBodyToolsResponse200ApplicationJson5Type$inboundSchema,
2155
- properties: z.record(z.any()),
2156
- required: z.array(z.string()),
2157
- }).catchall(z.any()),
2158
- "additionalProperties",
2159
- true,
2160
- );
2161
-
2162
- export function updateToolResponseBodyToolsParametersFromJSON(
2163
- jsonString: string,
2164
- ): SafeParseResult<UpdateToolResponseBodyToolsParameters, SDKValidationError> {
2165
- return safeParse(
2166
- jsonString,
2167
- (x) =>
2168
- UpdateToolResponseBodyToolsParameters$inboundSchema.parse(JSON.parse(x)),
2169
- `Failed to parse 'UpdateToolResponseBodyToolsParameters' from JSON`,
2170
- );
2171
- }
2172
-
2173
- /** @internal */
2174
- export const UpdateToolResponseBodyLanguage$inboundSchema: z.ZodNativeEnum<
2175
- typeof UpdateToolResponseBodyLanguage
2176
- > = z.nativeEnum(UpdateToolResponseBodyLanguage);
2177
-
2178
- /** @internal */
2179
- export const UpdateToolResponseBodyCodeTool$inboundSchema: z.ZodType<
2180
- UpdateToolResponseBodyCodeTool,
2181
- z.ZodTypeDef,
2182
- unknown
2183
- > = z.object({
2184
- parameters: z.lazy(() => UpdateToolResponseBodyToolsParameters$inboundSchema)
2185
- .optional(),
2186
- language: UpdateToolResponseBodyLanguage$inboundSchema,
2187
- code: z.string(),
2188
- });
2189
-
2190
- export function updateToolResponseBodyCodeToolFromJSON(
2191
- jsonString: string,
2192
- ): SafeParseResult<UpdateToolResponseBodyCodeTool, SDKValidationError> {
2193
- return safeParse(
2194
- jsonString,
2195
- (x) => UpdateToolResponseBodyCodeTool$inboundSchema.parse(JSON.parse(x)),
2196
- `Failed to parse 'UpdateToolResponseBodyCodeTool' from JSON`,
2197
- );
2198
- }
2199
-
2200
- /** @internal */
2201
- export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
2202
- UpdateToolResponseBodyCodeExecutionTool,
2203
- z.ZodTypeDef,
2204
- unknown
2205
- > = z.object({
2206
- _id: z.string().default("tool_01KZGZNMNNGFJHJS6Z0RX36KZS"),
2207
- path: z.string(),
2208
- key: z.string(),
2209
- display_name: z.string().optional(),
2210
- description: z.string(),
2211
- created_by_id: z.nullable(z.string()).optional(),
2212
- updated_by_id: z.nullable(z.string()).optional(),
2213
- project_id: z.string(),
2214
- workspace_id: z.string(),
2215
- created: z.string(),
2216
- updated: z.string(),
2217
- status:
2218
- UpdateToolResponseBodyToolsResponse200ApplicationJSONStatus$inboundSchema
2219
- .default("live"),
2220
- type: z.literal("code"),
2221
- code_tool: z.lazy(() => UpdateToolResponseBodyCodeTool$inboundSchema),
2222
- }).transform((v) => {
2223
- return remap$(v, {
2224
- "_id": "id",
2225
- "display_name": "displayName",
2226
- "created_by_id": "createdById",
2227
- "updated_by_id": "updatedById",
2228
- "project_id": "projectId",
2229
- "workspace_id": "workspaceId",
2230
- "code_tool": "codeTool",
2231
- });
2232
- });
2233
-
2234
- export function updateToolResponseBodyCodeExecutionToolFromJSON(
2235
- jsonString: string,
2236
- ): SafeParseResult<
2237
- UpdateToolResponseBodyCodeExecutionTool,
2238
- SDKValidationError
2239
- > {
2240
- return safeParse(
2241
- jsonString,
2242
- (x) =>
2243
- UpdateToolResponseBodyCodeExecutionTool$inboundSchema.parse(
2244
- JSON.parse(x),
2245
- ),
2246
- `Failed to parse 'UpdateToolResponseBodyCodeExecutionTool' from JSON`,
2247
- );
2248
- }
2249
-
2250
- /** @internal */
2251
- export const UpdateToolResponseBodyToolsResponse200Status$inboundSchema:
2252
- z.ZodNativeEnum<typeof UpdateToolResponseBodyToolsResponse200Status> = z
2253
- .nativeEnum(UpdateToolResponseBodyToolsResponse200Status);
2254
-
2255
- /** @internal */
2256
- export const UpdateToolResponseBodyHeaders$inboundSchema: z.ZodType<
2257
- UpdateToolResponseBodyHeaders,
2258
- z.ZodTypeDef,
2259
- unknown
2260
- > = z.object({
2261
- value: z.string(),
2262
- encrypted: z.boolean().default(false),
2263
- });
2264
-
2265
- export function updateToolResponseBodyHeadersFromJSON(
2266
- jsonString: string,
2267
- ): SafeParseResult<UpdateToolResponseBodyHeaders, SDKValidationError> {
2268
- return safeParse(
2269
- jsonString,
2270
- (x) => UpdateToolResponseBodyHeaders$inboundSchema.parse(JSON.parse(x)),
2271
- `Failed to parse 'UpdateToolResponseBodyHeaders' from JSON`,
2272
- );
2273
- }
2274
-
2275
- /** @internal */
2276
- export const UpdateToolResponseBodyToolsResponse200ApplicationJson4Type$inboundSchema:
2277
- z.ZodNativeEnum<
2278
- typeof UpdateToolResponseBodyToolsResponse200ApplicationJson4Type
2279
- > = z.nativeEnum(UpdateToolResponseBodyToolsResponse200ApplicationJson4Type);
2280
-
2281
- /** @internal */
2282
- export const UpdateToolResponseBodyToolsSchema$inboundSchema: z.ZodType<
2283
- UpdateToolResponseBodyToolsSchema,
2284
- z.ZodTypeDef,
2285
- unknown
2286
- > = z.object({
2287
- type:
2288
- UpdateToolResponseBodyToolsResponse200ApplicationJson4Type$inboundSchema,
2289
- properties: z.record(z.any()).optional(),
2290
- required: z.array(z.string()).optional(),
2291
- });
2292
-
2293
- export function updateToolResponseBodyToolsSchemaFromJSON(
2294
- jsonString: string,
2295
- ): SafeParseResult<UpdateToolResponseBodyToolsSchema, SDKValidationError> {
2296
- return safeParse(
2297
- jsonString,
2298
- (x) => UpdateToolResponseBodyToolsSchema$inboundSchema.parse(JSON.parse(x)),
2299
- `Failed to parse 'UpdateToolResponseBodyToolsSchema' from JSON`,
2300
- );
2301
- }
2302
-
2303
- /** @internal */
2304
- export const UpdateToolResponseBodyTools$inboundSchema: z.ZodType<
2305
- UpdateToolResponseBodyTools,
2306
- z.ZodTypeDef,
2307
- unknown
2308
- > = z.object({
2309
- id: z.string().default("01KZGZNMNN6NFZEDME118VNXMF"),
2310
- name: z.string(),
2311
- description: z.string().optional(),
2312
- schema: z.lazy(() => UpdateToolResponseBodyToolsSchema$inboundSchema),
2313
- });
2314
-
2315
- export function updateToolResponseBodyToolsFromJSON(
2316
- jsonString: string,
2317
- ): SafeParseResult<UpdateToolResponseBodyTools, SDKValidationError> {
2318
- return safeParse(
2319
- jsonString,
2320
- (x) => UpdateToolResponseBodyTools$inboundSchema.parse(JSON.parse(x)),
2321
- `Failed to parse 'UpdateToolResponseBodyTools' from JSON`,
2322
- );
2323
- }
2324
-
2325
- /** @internal */
2326
- export const UpdateToolResponseBodyConnectionType$inboundSchema:
2327
- z.ZodNativeEnum<typeof UpdateToolResponseBodyConnectionType> = z.nativeEnum(
2328
- UpdateToolResponseBodyConnectionType,
2329
- );
2330
-
2331
- /** @internal */
2332
- export const UpdateToolResponseBodyMcp$inboundSchema: z.ZodType<
2333
- UpdateToolResponseBodyMcp,
2334
- z.ZodTypeDef,
2335
- unknown
2336
- > = z.object({
2337
- server_url: z.string(),
2338
- headers: z.record(z.lazy(() => UpdateToolResponseBodyHeaders$inboundSchema))
2339
- .optional(),
2340
- tools: z.array(z.lazy(() => UpdateToolResponseBodyTools$inboundSchema)),
2341
- connection_type: UpdateToolResponseBodyConnectionType$inboundSchema,
2342
- template_variables: z.nullable(z.array(z.string())).optional(),
2343
- }).transform((v) => {
2344
- return remap$(v, {
2345
- "server_url": "serverUrl",
2346
- "connection_type": "connectionType",
2347
- "template_variables": "templateVariables",
2348
- });
2349
- });
2350
-
2351
- export function updateToolResponseBodyMcpFromJSON(
2352
- jsonString: string,
2353
- ): SafeParseResult<UpdateToolResponseBodyMcp, SDKValidationError> {
2354
- return safeParse(
2355
- jsonString,
2356
- (x) => UpdateToolResponseBodyMcp$inboundSchema.parse(JSON.parse(x)),
2357
- `Failed to parse 'UpdateToolResponseBodyMcp' from JSON`,
2358
- );
2359
- }
2360
-
2361
- /** @internal */
2362
- export const UpdateToolResponseBodyMCPTool$inboundSchema: z.ZodType<
2363
- UpdateToolResponseBodyMCPTool,
2364
- z.ZodTypeDef,
2365
- unknown
2366
- > = z.object({
2367
- _id: z.string().default("tool_01KZGZNMNMDGMDPDXNEYZC80JS"),
2368
- path: z.string(),
2369
- key: z.string(),
2370
- display_name: z.string().optional(),
2371
- description: z.string(),
2372
- created_by_id: z.nullable(z.string()).optional(),
2373
- updated_by_id: z.nullable(z.string()).optional(),
2374
- project_id: z.string(),
2375
- workspace_id: z.string(),
2376
- created: z.string(),
2377
- updated: z.string(),
2378
- status: UpdateToolResponseBodyToolsResponse200Status$inboundSchema.default(
2379
- "live",
2380
- ),
2381
- type: z.literal("mcp"),
2382
- mcp: z.lazy(() => UpdateToolResponseBodyMcp$inboundSchema),
2383
- }).transform((v) => {
2384
- return remap$(v, {
2385
- "_id": "id",
2386
- "display_name": "displayName",
2387
- "created_by_id": "createdById",
2388
- "updated_by_id": "updatedById",
2389
- "project_id": "projectId",
2390
- "workspace_id": "workspaceId",
2391
- });
2392
- });
2393
-
2394
- export function updateToolResponseBodyMCPToolFromJSON(
2395
- jsonString: string,
2396
- ): SafeParseResult<UpdateToolResponseBodyMCPTool, SDKValidationError> {
2397
- return safeParse(
2398
- jsonString,
2399
- (x) => UpdateToolResponseBodyMCPTool$inboundSchema.parse(JSON.parse(x)),
2400
- `Failed to parse 'UpdateToolResponseBodyMCPTool' from JSON`,
2401
- );
2402
- }
2403
-
2404
- /** @internal */
2405
- export const UpdateToolResponseBodyToolsResponseStatus$inboundSchema:
2406
- z.ZodNativeEnum<typeof UpdateToolResponseBodyToolsResponseStatus> = z
2407
- .nativeEnum(UpdateToolResponseBodyToolsResponseStatus);
2408
-
2409
- /** @internal */
2410
- export const UpdateToolResponseBodyMethod$inboundSchema: z.ZodNativeEnum<
2411
- typeof UpdateToolResponseBodyMethod
2412
- > = z.nativeEnum(UpdateToolResponseBodyMethod);
2413
-
2414
- /** @internal */
2415
- export const UpdateToolHeadersTools2$inboundSchema: z.ZodType<
2416
- UpdateToolHeadersTools2,
2417
- z.ZodTypeDef,
2418
- unknown
2419
- > = z.object({
2420
- value: z.string(),
2421
- encrypted: z.boolean().default(false),
2422
- });
2423
-
2424
- export function updateToolHeadersTools2FromJSON(
2425
- jsonString: string,
2426
- ): SafeParseResult<UpdateToolHeadersTools2, SDKValidationError> {
2427
- return safeParse(
2428
- jsonString,
2429
- (x) => UpdateToolHeadersTools2$inboundSchema.parse(JSON.parse(x)),
2430
- `Failed to parse 'UpdateToolHeadersTools2' from JSON`,
2431
- );
2432
- }
2433
-
2434
- /** @internal */
2435
- export const UpdateToolResponseBodyToolsHeaders$inboundSchema: z.ZodType<
2436
- UpdateToolResponseBodyToolsHeaders,
2437
- z.ZodTypeDef,
2438
- unknown
2439
- > = z.union([z.lazy(() => UpdateToolHeadersTools2$inboundSchema), z.string()]);
2440
-
2441
- export function updateToolResponseBodyToolsHeadersFromJSON(
2442
- jsonString: string,
2443
- ): SafeParseResult<UpdateToolResponseBodyToolsHeaders, SDKValidationError> {
2444
- return safeParse(
2445
- jsonString,
2446
- (x) =>
2447
- UpdateToolResponseBodyToolsHeaders$inboundSchema.parse(JSON.parse(x)),
2448
- `Failed to parse 'UpdateToolResponseBodyToolsHeaders' from JSON`,
2449
- );
2450
- }
2451
-
2452
- /** @internal */
2453
- export const UpdateToolResponseBodyBlueprint$inboundSchema: z.ZodType<
2454
- UpdateToolResponseBodyBlueprint,
2455
- z.ZodTypeDef,
2456
- unknown
2457
- > = z.object({
2458
- url: z.string(),
2459
- method: UpdateToolResponseBodyMethod$inboundSchema,
2460
- headers: z.record(
2461
- z.union([z.lazy(() => UpdateToolHeadersTools2$inboundSchema), z.string()]),
2462
- ).optional(),
2463
- body: z.record(z.any()).optional(),
2464
- timeout: z.number().optional(),
2465
- });
2466
-
2467
- export function updateToolResponseBodyBlueprintFromJSON(
2468
- jsonString: string,
2469
- ): SafeParseResult<UpdateToolResponseBodyBlueprint, SDKValidationError> {
2470
- return safeParse(
2471
- jsonString,
2472
- (x) => UpdateToolResponseBodyBlueprint$inboundSchema.parse(JSON.parse(x)),
2473
- `Failed to parse 'UpdateToolResponseBodyBlueprint' from JSON`,
2474
- );
2475
- }
2476
-
2477
- /** @internal */
2478
- export const UpdateToolResponseBodyToolsResponse200ApplicationJson3Type$inboundSchema:
2479
- z.ZodNativeEnum<
2480
- typeof UpdateToolResponseBodyToolsResponse200ApplicationJson3Type
2481
- > = z.nativeEnum(UpdateToolResponseBodyToolsResponse200ApplicationJson3Type);
2482
-
2483
- /** @internal */
2484
- export const UpdateToolResponseBodyDefaultValue$inboundSchema: z.ZodType<
2485
- UpdateToolResponseBodyDefaultValue,
2486
- z.ZodTypeDef,
2487
- unknown
2488
- > = z.union([z.string(), z.number(), z.boolean()]);
2489
-
2490
- export function updateToolResponseBodyDefaultValueFromJSON(
2491
- jsonString: string,
2492
- ): SafeParseResult<UpdateToolResponseBodyDefaultValue, SDKValidationError> {
2493
- return safeParse(
2494
- jsonString,
2495
- (x) =>
2496
- UpdateToolResponseBodyDefaultValue$inboundSchema.parse(JSON.parse(x)),
2497
- `Failed to parse 'UpdateToolResponseBodyDefaultValue' from JSON`,
2498
- );
2499
- }
2500
-
2501
- /** @internal */
2502
- export const UpdateToolResponseBodyArguments$inboundSchema: z.ZodType<
2503
- UpdateToolResponseBodyArguments,
2504
- z.ZodTypeDef,
2505
- unknown
2506
- > = z.object({
2507
- type:
2508
- UpdateToolResponseBodyToolsResponse200ApplicationJson3Type$inboundSchema,
2509
- description: z.string(),
2510
- send_to_model: z.boolean().default(true),
2511
- default_value: z.union([z.string(), z.number(), z.boolean()]).optional(),
2512
- }).transform((v) => {
2513
- return remap$(v, {
2514
- "send_to_model": "sendToModel",
2515
- "default_value": "defaultValue",
2516
- });
2517
- });
2518
-
2519
- export function updateToolResponseBodyArgumentsFromJSON(
2520
- jsonString: string,
2521
- ): SafeParseResult<UpdateToolResponseBodyArguments, SDKValidationError> {
2522
- return safeParse(
2523
- jsonString,
2524
- (x) => UpdateToolResponseBodyArguments$inboundSchema.parse(JSON.parse(x)),
2525
- `Failed to parse 'UpdateToolResponseBodyArguments' from JSON`,
2526
- );
2527
- }
2528
-
2529
- /** @internal */
2530
- export const UpdateToolResponseBodyHttp$inboundSchema: z.ZodType<
2531
- UpdateToolResponseBodyHttp,
2532
- z.ZodTypeDef,
2533
- unknown
2534
- > = z.object({
2535
- blueprint: z.lazy(() => UpdateToolResponseBodyBlueprint$inboundSchema),
2536
- arguments: z.record(
2537
- z.lazy(() => UpdateToolResponseBodyArguments$inboundSchema),
2538
- ).optional(),
2539
- });
2540
-
2541
- export function updateToolResponseBodyHttpFromJSON(
2542
- jsonString: string,
2543
- ): SafeParseResult<UpdateToolResponseBodyHttp, SDKValidationError> {
2544
- return safeParse(
2545
- jsonString,
2546
- (x) => UpdateToolResponseBodyHttp$inboundSchema.parse(JSON.parse(x)),
2547
- `Failed to parse 'UpdateToolResponseBodyHttp' from JSON`,
2548
- );
2549
- }
2550
-
2551
- /** @internal */
2552
- export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
2553
- UpdateToolResponseBodyHTTPTool,
2554
- z.ZodTypeDef,
2555
- unknown
2556
- > = z.object({
2557
- _id: z.string().default("tool_01KZGZNMNJ4G3TTQRCEK31SHA8"),
2558
- path: z.string(),
2559
- key: z.string(),
2560
- display_name: z.string().optional(),
2561
- description: z.string(),
2562
- created_by_id: z.nullable(z.string()).optional(),
2563
- updated_by_id: z.nullable(z.string()).optional(),
2564
- project_id: z.string(),
2565
- workspace_id: z.string(),
2566
- created: z.string(),
2567
- updated: z.string(),
2568
- status: UpdateToolResponseBodyToolsResponseStatus$inboundSchema.default(
2569
- "live",
2570
- ),
2571
- type: z.literal("http"),
2572
- http: z.lazy(() => UpdateToolResponseBodyHttp$inboundSchema),
2573
- }).transform((v) => {
2574
- return remap$(v, {
2575
- "_id": "id",
2576
- "display_name": "displayName",
2577
- "created_by_id": "createdById",
2578
- "updated_by_id": "updatedById",
2579
- "project_id": "projectId",
2580
- "workspace_id": "workspaceId",
2581
- });
2582
- });
2583
-
2584
- export function updateToolResponseBodyHTTPToolFromJSON(
2585
- jsonString: string,
2586
- ): SafeParseResult<UpdateToolResponseBodyHTTPTool, SDKValidationError> {
2587
- return safeParse(
2588
- jsonString,
2589
- (x) => UpdateToolResponseBodyHTTPTool$inboundSchema.parse(JSON.parse(x)),
2590
- `Failed to parse 'UpdateToolResponseBodyHTTPTool' from JSON`,
2591
- );
2592
- }
2593
-
2594
- /** @internal */
2595
- export const UpdateToolResponseBodyToolsStatus$inboundSchema: z.ZodNativeEnum<
2596
- typeof UpdateToolResponseBodyToolsStatus
2597
- > = z.nativeEnum(UpdateToolResponseBodyToolsStatus);
2598
-
2599
- /** @internal */
2600
- export const UpdateToolResponseBodySchema$inboundSchema: z.ZodType<
2601
- UpdateToolResponseBodySchema,
2602
- z.ZodTypeDef,
2603
- unknown
2604
- > = collectExtraKeys$(
2605
- z.object({
2606
- type: z.string(),
2607
- properties: z.record(z.any()),
2608
- required: z.array(z.string()),
2609
- }).catchall(z.any()),
2610
- "additionalProperties",
2611
- true,
2612
- );
2613
-
2614
- export function updateToolResponseBodySchemaFromJSON(
2615
- jsonString: string,
2616
- ): SafeParseResult<UpdateToolResponseBodySchema, SDKValidationError> {
2617
- return safeParse(
2618
- jsonString,
2619
- (x) => UpdateToolResponseBodySchema$inboundSchema.parse(JSON.parse(x)),
2620
- `Failed to parse 'UpdateToolResponseBodySchema' from JSON`,
2621
- );
2622
- }
2623
-
2624
- /** @internal */
2625
- export const UpdateToolResponseBodyJsonSchema$inboundSchema: z.ZodType<
2626
- UpdateToolResponseBodyJsonSchema,
2627
- z.ZodTypeDef,
2628
- unknown
2629
- > = z.object({
2630
- name: z.string(),
2631
- description: z.string(),
2632
- schema: z.lazy(() => UpdateToolResponseBodySchema$inboundSchema),
2633
- strict: z.boolean().optional(),
2634
- });
2635
-
2636
- export function updateToolResponseBodyJsonSchemaFromJSON(
2637
- jsonString: string,
2638
- ): SafeParseResult<UpdateToolResponseBodyJsonSchema, SDKValidationError> {
2639
- return safeParse(
2640
- jsonString,
2641
- (x) => UpdateToolResponseBodyJsonSchema$inboundSchema.parse(JSON.parse(x)),
2642
- `Failed to parse 'UpdateToolResponseBodyJsonSchema' from JSON`,
2643
- );
2644
- }
2645
-
2646
- /** @internal */
2647
- export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
2648
- UpdateToolResponseBodyJSONSchemaTool,
2649
- z.ZodTypeDef,
2650
- unknown
2651
- > = z.object({
2652
- _id: z.string().default("tool_01KZGZNMNGBYVH963M22SX51N4"),
2653
- path: z.string(),
2654
- key: z.string(),
2655
- display_name: z.string().optional(),
2656
- description: z.string(),
2657
- created_by_id: z.nullable(z.string()).optional(),
2658
- updated_by_id: z.nullable(z.string()).optional(),
2659
- project_id: z.string(),
2660
- workspace_id: z.string(),
2661
- created: z.string(),
2662
- updated: z.string(),
2663
- status: UpdateToolResponseBodyToolsStatus$inboundSchema.default("live"),
2664
- type: z.literal("json_schema"),
2665
- json_schema: z.lazy(() => UpdateToolResponseBodyJsonSchema$inboundSchema),
2666
- }).transform((v) => {
2667
- return remap$(v, {
2668
- "_id": "id",
2669
- "display_name": "displayName",
2670
- "created_by_id": "createdById",
2671
- "updated_by_id": "updatedById",
2672
- "project_id": "projectId",
2673
- "workspace_id": "workspaceId",
2674
- "json_schema": "jsonSchema",
2675
- });
2676
- });
2677
-
2678
- export function updateToolResponseBodyJSONSchemaToolFromJSON(
2679
- jsonString: string,
2680
- ): SafeParseResult<UpdateToolResponseBodyJSONSchemaTool, SDKValidationError> {
2681
- return safeParse(
2682
- jsonString,
2683
- (x) =>
2684
- UpdateToolResponseBodyJSONSchemaTool$inboundSchema.parse(JSON.parse(x)),
2685
- `Failed to parse 'UpdateToolResponseBodyJSONSchemaTool' from JSON`,
2686
- );
2687
- }
2688
-
2689
- /** @internal */
2690
- export const UpdateToolResponseBodyStatus$inboundSchema: z.ZodNativeEnum<
2691
- typeof UpdateToolResponseBodyStatus
2692
- > = z.nativeEnum(UpdateToolResponseBodyStatus);
2693
-
2694
- /** @internal */
2695
- export const UpdateToolResponseBodyToolsResponse200ApplicationJson1Type$inboundSchema:
2696
- z.ZodNativeEnum<
2697
- typeof UpdateToolResponseBodyToolsResponse200ApplicationJson1Type
2698
- > = z.nativeEnum(UpdateToolResponseBodyToolsResponse200ApplicationJson1Type);
2699
-
2700
- /** @internal */
2701
- export const UpdateToolResponseBodyParameters$inboundSchema: z.ZodType<
2702
- UpdateToolResponseBodyParameters,
2703
- z.ZodTypeDef,
2704
- unknown
2705
- > = collectExtraKeys$(
2706
- z.object({
2707
- type:
2708
- UpdateToolResponseBodyToolsResponse200ApplicationJson1Type$inboundSchema,
2709
- properties: z.record(z.any()),
2710
- required: z.array(z.string()),
2711
- }).catchall(z.any()),
2712
- "additionalProperties",
2713
- true,
2714
- );
2715
-
2716
- export function updateToolResponseBodyParametersFromJSON(
2717
- jsonString: string,
2718
- ): SafeParseResult<UpdateToolResponseBodyParameters, SDKValidationError> {
2719
- return safeParse(
2720
- jsonString,
2721
- (x) => UpdateToolResponseBodyParameters$inboundSchema.parse(JSON.parse(x)),
2722
- `Failed to parse 'UpdateToolResponseBodyParameters' from JSON`,
2723
- );
2724
- }
2725
-
2726
- /** @internal */
2727
- export const UpdateToolResponseBodyFunction$inboundSchema: z.ZodType<
2728
- UpdateToolResponseBodyFunction,
2729
- z.ZodTypeDef,
2730
- unknown
2731
- > = z.object({
2732
- name: z.string(),
2733
- description: z.string().optional(),
2734
- strict: z.boolean().optional(),
2735
- parameters: z.lazy(() => UpdateToolResponseBodyParameters$inboundSchema)
2736
- .optional(),
2737
- });
2738
-
2739
- export function updateToolResponseBodyFunctionFromJSON(
2740
- jsonString: string,
2741
- ): SafeParseResult<UpdateToolResponseBodyFunction, SDKValidationError> {
2742
- return safeParse(
2743
- jsonString,
2744
- (x) => UpdateToolResponseBodyFunction$inboundSchema.parse(JSON.parse(x)),
2745
- `Failed to parse 'UpdateToolResponseBodyFunction' from JSON`,
2746
- );
2747
- }
2748
-
2749
- /** @internal */
2750
- export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
2751
- UpdateToolResponseBodyFunctionTool,
2752
- z.ZodTypeDef,
2753
- unknown
2754
- > = z.object({
2755
- _id: z.string().default("tool_01KZGZNMNFNAPB2H54NX7S9AKR"),
2756
- path: z.string(),
2757
- key: z.string(),
2758
- display_name: z.string().optional(),
2759
- description: z.string(),
2760
- created_by_id: z.nullable(z.string()).optional(),
2761
- updated_by_id: z.nullable(z.string()).optional(),
2762
- project_id: z.string(),
2763
- workspace_id: z.string(),
2764
- created: z.string(),
2765
- updated: z.string(),
2766
- status: UpdateToolResponseBodyStatus$inboundSchema.default("live"),
2767
- type: z.literal("function"),
2768
- function: z.lazy(() => UpdateToolResponseBodyFunction$inboundSchema),
2769
- }).transform((v) => {
2770
- return remap$(v, {
2771
- "_id": "id",
2772
- "display_name": "displayName",
2773
- "created_by_id": "createdById",
2774
- "updated_by_id": "updatedById",
2775
- "project_id": "projectId",
2776
- "workspace_id": "workspaceId",
2777
- });
2778
- });
2779
-
2780
- export function updateToolResponseBodyFunctionToolFromJSON(
2781
- jsonString: string,
2782
- ): SafeParseResult<UpdateToolResponseBodyFunctionTool, SDKValidationError> {
2783
- return safeParse(
2784
- jsonString,
2785
- (x) =>
2786
- UpdateToolResponseBodyFunctionTool$inboundSchema.parse(JSON.parse(x)),
2787
- `Failed to parse 'UpdateToolResponseBodyFunctionTool' from JSON`,
2788
- );
2789
- }
2790
-
2791
- /** @internal */
2792
- export const UpdateToolResponseBody$inboundSchema: z.ZodType<
2793
- UpdateToolResponseBody,
2794
- z.ZodTypeDef,
2795
- unknown
2796
- > = z.union([
2797
- z.lazy(() => UpdateToolResponseBodyFunctionTool$inboundSchema),
2798
- z.lazy(() => UpdateToolResponseBodyJSONSchemaTool$inboundSchema),
2799
- z.lazy(() => UpdateToolResponseBodyHTTPTool$inboundSchema),
2800
- z.lazy(() => UpdateToolResponseBodyMCPTool$inboundSchema),
2801
- z.lazy(() => UpdateToolResponseBodyCodeExecutionTool$inboundSchema),
2802
- ]);
2803
-
2804
- export function updateToolResponseBodyFromJSON(
2805
- jsonString: string,
2806
- ): SafeParseResult<UpdateToolResponseBody, SDKValidationError> {
2807
- return safeParse(
2808
- jsonString,
2809
- (x) => UpdateToolResponseBody$inboundSchema.parse(JSON.parse(x)),
2810
- `Failed to parse 'UpdateToolResponseBody' from JSON`,
2811
- );
2812
- }