@orq-ai/node 4.15.13 → 4.15.14

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 (312) 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/models/components/reasoningpart.js +1 -1
  5. package/models/operations/createdataset.js +1 -1
  6. package/models/operations/createdatasetitem.js +5 -5
  7. package/models/operations/createtool.js +4 -4
  8. package/models/operations/getalltools.js +4 -4
  9. package/models/operations/getv2humanevalsets.js +2 -2
  10. package/models/operations/getv2humanevalsetsid.js +2 -2
  11. package/models/operations/listdatasetdatapoints.js +5 -5
  12. package/models/operations/listdatasets.js +1 -1
  13. package/models/operations/patchv2humanevalsetsid.js +2 -2
  14. package/models/operations/postv2feedbackevaluation.js +4 -4
  15. package/models/operations/postv2humanevalsets.js +2 -2
  16. package/models/operations/retrievedatapoint.js +5 -5
  17. package/models/operations/retrievedataset.js +1 -1
  18. package/models/operations/retrievetool.js +4 -4
  19. package/models/operations/runagent.js +1 -1
  20. package/models/operations/streamrunagent.js +1 -1
  21. package/models/operations/updatedatapoint.js +5 -5
  22. package/models/operations/updatedataset.js +1 -1
  23. package/models/operations/updatetool.js +4 -4
  24. package/package.json +1 -1
  25. package/packages/orq-rc/src/funcs/apiKeysCreate.ts +5 -6
  26. package/packages/orq-rc/src/funcs/apiKeysDelete.ts +1 -1
  27. package/packages/orq-rc/src/funcs/apiKeysGet.ts +8 -3
  28. package/packages/orq-rc/src/funcs/apiKeysList.ts +11 -4
  29. package/packages/orq-rc/src/funcs/apiKeysListCapabilities.ts +6 -6
  30. package/packages/orq-rc/src/funcs/apiKeysUpdate.ts +5 -3
  31. package/packages/orq-rc/src/funcs/{wikisCreate.ts → auditLogsQuery.ts} +16 -10
  32. package/packages/orq-rc/src/funcs/datasetsClear.ts +12 -3
  33. package/packages/orq-rc/src/funcs/datasetsCreate.ts +15 -10
  34. package/packages/orq-rc/src/funcs/datasetsCreateDatapoint.ts +16 -8
  35. package/packages/orq-rc/src/funcs/datasetsDelete.ts +2 -2
  36. package/packages/orq-rc/src/funcs/datasetsDeleteDatapoint.ts +11 -2
  37. package/packages/orq-rc/src/funcs/datasetsList.ts +5 -6
  38. package/packages/orq-rc/src/funcs/datasetsListDatapoints.ts +14 -6
  39. package/packages/orq-rc/src/funcs/datasetsRetrieve.ts +15 -7
  40. package/packages/orq-rc/src/funcs/datasetsRetrieveDatapoint.ts +15 -7
  41. package/packages/orq-rc/src/funcs/datasetsUpdate.ts +16 -10
  42. package/packages/orq-rc/src/funcs/datasetsUpdateDatapoint.ts +16 -10
  43. package/packages/orq-rc/src/funcs/{wikisInspectRepository.ts → feedbackSubmit.ts} +16 -11
  44. package/packages/orq-rc/src/funcs/humanReviewSetsList.ts +7 -4
  45. package/packages/orq-rc/src/funcs/projectsCreate.ts +1 -1
  46. package/packages/orq-rc/src/funcs/projectsDelete.ts +1 -1
  47. package/packages/orq-rc/src/funcs/projectsList.ts +1 -1
  48. package/packages/orq-rc/src/funcs/projectsUpdate.ts +1 -1
  49. package/packages/orq-rc/src/funcs/routerClassifyCreate.ts +1 -1
  50. package/packages/orq-rc/src/funcs/workspaceSecurityAddIPRange.ts +3 -3
  51. package/packages/orq-rc/src/funcs/workspaceSecurityCreateDomain.ts +1 -1
  52. package/packages/orq-rc/src/funcs/workspaceSecurityDeleteDomain.ts +1 -1
  53. package/packages/orq-rc/src/funcs/workspaceSecurityDeleteIPRange.ts +1 -1
  54. package/packages/orq-rc/src/funcs/workspaceSecurityGetIPAllowlist.ts +1 -3
  55. package/packages/orq-rc/src/funcs/workspaceSecurityListDomains.ts +1 -1
  56. package/packages/orq-rc/src/funcs/workspaceSecurityUpdateIPAllowlist.ts +1 -3
  57. package/packages/orq-rc/src/funcs/workspaceSecurityVerifyDomain.ts +3 -3
  58. package/packages/orq-rc/src/lib/config.ts +2 -2
  59. package/packages/orq-rc/src/models/components/agentthoughtstreamingevent.ts +0 -66
  60. package/packages/orq-rc/src/models/components/allprojects.ts +21 -0
  61. package/packages/orq-rc/src/models/components/apikeyowner.ts +55 -0
  62. package/packages/orq-rc/src/models/components/apikeyrestresponse.ts +1 -1
  63. package/packages/orq-rc/src/models/components/apikeystatus.ts +18 -0
  64. package/packages/orq-rc/src/models/components/auditlog.ts +122 -0
  65. package/packages/orq-rc/src/models/components/auditlogfilter.ts +51 -0
  66. package/packages/orq-rc/src/models/components/auditlogfilterquery.ts +54 -0
  67. package/packages/orq-rc/src/models/{operations/environmentlist.ts → components/auditlogpagination.ts} +20 -15
  68. package/packages/orq-rc/src/models/components/auditlogsort.ts +39 -0
  69. package/packages/orq-rc/src/models/components/classifyanswer.ts +2 -2
  70. package/packages/orq-rc/src/models/components/createapikeyrequest.ts +116 -0
  71. package/packages/orq-rc/src/models/components/createmanagementkeyrequest.ts +3 -3
  72. package/packages/orq-rc/src/models/components/datasource.ts +2 -2
  73. package/packages/orq-rc/src/models/components/datasourcesservicecreaterequest.ts +2 -2
  74. package/packages/orq-rc/src/models/components/domain.ts +39 -42
  75. package/packages/orq-rc/src/models/components/domaingroup.ts +17 -0
  76. package/packages/orq-rc/src/models/components/extendedmessage.ts +1 -1
  77. package/packages/orq-rc/src/models/components/filesystem.ts +5 -6
  78. package/packages/orq-rc/src/models/components/hubitem.ts +2 -2
  79. package/packages/orq-rc/src/models/components/hubitemsummary.ts +1 -1
  80. package/packages/orq-rc/src/models/components/index.ts +24 -62
  81. package/packages/orq-rc/src/models/components/invokedeploymentrequest.ts +0 -126
  82. package/packages/orq-rc/src/models/components/knowledge.ts +2 -2
  83. package/packages/orq-rc/src/models/components/knowledgechunk.ts +1 -1
  84. package/packages/orq-rc/src/models/components/listcapabilitiesresponse.ts +38 -0
  85. package/packages/orq-rc/src/models/components/mcpaccess.ts +93 -0
  86. package/packages/orq-rc/src/models/components/mcpauthconfig.ts +1 -1
  87. package/packages/orq-rc/src/models/components/mcpauthconfigoutput.ts +1 -1
  88. package/packages/orq-rc/src/models/components/memory.ts +5 -2
  89. package/packages/orq-rc/src/models/components/ownertype.ts +17 -0
  90. package/packages/orq-rc/src/models/components/permissionmode.ts +19 -0
  91. package/packages/orq-rc/src/models/components/projectscope.ts +23 -11
  92. package/packages/orq-rc/src/models/components/queryauditlogsrequest.ts +64 -0
  93. package/packages/orq-rc/src/models/components/queryauditlogsresponse.ts +55 -0
  94. package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
  95. package/packages/orq-rc/src/models/components/scopemode.ts +16 -0
  96. package/packages/orq-rc/src/models/components/serviceaccountowner.ts +25 -0
  97. package/packages/orq-rc/src/models/components/singleproject.ts +35 -0
  98. package/packages/orq-rc/src/models/components/submitfeedbackrequest.ts +48 -0
  99. package/packages/orq-rc/src/models/components/submitfeedbackresponse.ts +39 -0
  100. package/packages/orq-rc/src/models/components/toolexecutionfailedstreamingevent.ts +3 -3
  101. package/packages/orq-rc/src/models/components/toolexecutionfinishedstreamingevent.ts +3 -3
  102. package/packages/orq-rc/src/models/components/toolexecutionstartedstreamingevent.ts +3 -3
  103. package/packages/orq-rc/src/models/components/tracecompute.ts +0 -21
  104. package/packages/orq-rc/src/models/components/tracefilter.ts +0 -22
  105. package/packages/orq-rc/src/models/components/updateapikeyrequest.ts +110 -0
  106. package/packages/orq-rc/src/models/components/userowner.ts +35 -0
  107. package/packages/orq-rc/src/models/components/value.ts +24 -0
  108. package/packages/orq-rc/src/models/errors/index.ts +0 -1
  109. package/packages/orq-rc/src/models/operations/apikeydelete.ts +1 -1
  110. package/packages/orq-rc/src/models/operations/apikeyget.ts +11 -1
  111. package/packages/orq-rc/src/models/operations/apikeylist.ts +78 -23
  112. package/packages/orq-rc/src/models/operations/apikeyupdate.ts +5 -107
  113. package/packages/orq-rc/src/models/operations/cleardataset.ts +3 -0
  114. package/packages/orq-rc/src/models/operations/createagentrequest.ts +7 -7
  115. package/packages/orq-rc/src/models/operations/createannotation.ts +19 -32
  116. package/packages/orq-rc/src/models/operations/createchatcompletion.ts +15 -231
  117. package/packages/orq-rc/src/models/operations/createclassify.ts +2 -2
  118. package/packages/orq-rc/src/models/operations/createcompletion.ts +3 -3
  119. package/packages/orq-rc/src/models/operations/createdataset.ts +162 -0
  120. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +3085 -14
  121. package/packages/orq-rc/src/models/operations/createembedding.ts +7 -11
  122. package/packages/orq-rc/src/models/operations/createimage.ts +2 -2
  123. package/packages/orq-rc/src/models/operations/createimageedit.ts +2 -2
  124. package/packages/orq-rc/src/models/operations/createimagevariation.ts +2 -2
  125. package/packages/orq-rc/src/models/operations/createprompt.ts +0 -143
  126. package/packages/orq-rc/src/models/operations/creatererank.ts +2 -2
  127. package/packages/orq-rc/src/models/operations/createrouterresponse.ts +18 -24
  128. package/packages/orq-rc/src/models/operations/createspeech.ts +2 -2
  129. package/packages/orq-rc/src/models/operations/createtool.ts +4 -4
  130. package/packages/orq-rc/src/models/operations/createtranscription.ts +2 -2
  131. package/packages/orq-rc/src/models/operations/createtranslation.ts +2 -2
  132. package/packages/orq-rc/src/models/operations/deleteannotation.ts +4 -3
  133. package/packages/orq-rc/src/models/operations/deletedatapoint.ts +6 -0
  134. package/packages/orq-rc/src/models/operations/deletedataset.ts +3 -0
  135. package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +0 -147
  136. package/packages/orq-rc/src/models/operations/deployments.ts +2 -2
  137. package/packages/orq-rc/src/models/operations/deploymentstream.ts +0 -126
  138. package/packages/orq-rc/src/models/operations/filelist.ts +3 -3
  139. package/packages/orq-rc/src/models/operations/getallmemories.ts +3 -3
  140. package/packages/orq-rc/src/models/operations/getallmemorydocuments.ts +3 -3
  141. package/packages/orq-rc/src/models/operations/getallmemorystores.ts +3 -3
  142. package/packages/orq-rc/src/models/operations/getallprompts.ts +2 -65
  143. package/packages/orq-rc/src/models/operations/getalltools.ts +6 -6
  144. package/packages/orq-rc/src/models/operations/getevals.ts +2 -2
  145. package/packages/orq-rc/src/models/operations/getoneprompt.ts +0 -63
  146. package/packages/orq-rc/src/models/operations/getpromptversion.ts +0 -65
  147. package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +9 -9
  148. package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
  149. package/packages/orq-rc/src/models/operations/getv2toolstoolidversions.ts +2 -2
  150. package/packages/orq-rc/src/models/operations/index.ts +1 -20
  151. package/packages/orq-rc/src/models/operations/listagents.ts +7 -7
  152. package/packages/orq-rc/src/models/operations/listchunks.ts +3 -3
  153. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +2045 -2
  154. package/packages/orq-rc/src/models/operations/listdatasets.ts +173 -2
  155. package/packages/orq-rc/src/models/operations/listdatasources.ts +3 -3
  156. package/packages/orq-rc/src/models/operations/listidentities.ts +1 -1
  157. package/packages/orq-rc/src/models/operations/listknowledgebases.ts +2 -2
  158. package/packages/orq-rc/src/models/operations/listpromptversions.ts +2 -68
  159. package/packages/orq-rc/src/models/operations/modelcataloglist.ts +2 -2
  160. package/packages/orq-rc/src/models/operations/modelcataloglistofferings.ts +2 -2
  161. package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  162. package/packages/orq-rc/src/models/operations/postv2feedback.ts +18 -14
  163. package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +4 -4
  164. package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
  165. package/packages/orq-rc/src/models/operations/projectlist.ts +2 -2
  166. package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +5 -5
  167. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +1937 -0
  168. package/packages/orq-rc/src/models/operations/retrievedataset.ts +114 -0
  169. package/packages/orq-rc/src/models/operations/retrievetool.ts +4 -4
  170. package/packages/orq-rc/src/models/operations/runagent.ts +3 -3
  171. package/packages/orq-rc/src/models/operations/streamrunagent.ts +3 -3
  172. package/packages/orq-rc/src/models/operations/updateagent.ts +7 -7
  173. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +3128 -17
  174. package/packages/orq-rc/src/models/operations/updatedataset.ts +170 -5
  175. package/packages/orq-rc/src/models/operations/updateprompt.ts +0 -143
  176. package/packages/orq-rc/src/models/operations/updatetool.ts +4 -4
  177. package/packages/orq-rc/src/sdk/apikeys.ts +18 -18
  178. package/packages/orq-rc/src/sdk/auditlogs.ts +27 -0
  179. package/packages/orq-rc/src/sdk/classify.ts +1 -1
  180. package/packages/orq-rc/src/sdk/datasets.ts +36 -73
  181. package/packages/orq-rc/src/sdk/feedback.ts +19 -0
  182. package/packages/orq-rc/src/sdk/humanreviewsets.ts +1 -1
  183. package/packages/orq-rc/src/sdk/projects.ts +4 -4
  184. package/packages/orq-rc/src/sdk/responses.ts +0 -18
  185. package/packages/orq-rc/src/sdk/sdk.ts +26 -38
  186. package/src/lib/config.ts +2 -2
  187. package/src/models/components/reasoningpart.ts +1 -1
  188. package/src/models/operations/createdataset.ts +1 -1
  189. package/src/models/operations/createdatasetitem.ts +5 -5
  190. package/src/models/operations/createtool.ts +4 -4
  191. package/src/models/operations/getalltools.ts +4 -4
  192. package/src/models/operations/getv2humanevalsets.ts +2 -2
  193. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  194. package/src/models/operations/listdatasetdatapoints.ts +5 -5
  195. package/src/models/operations/listdatasets.ts +1 -1
  196. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  197. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  198. package/src/models/operations/postv2humanevalsets.ts +2 -2
  199. package/src/models/operations/retrievedatapoint.ts +5 -5
  200. package/src/models/operations/retrievedataset.ts +1 -1
  201. package/src/models/operations/retrievetool.ts +4 -4
  202. package/src/models/operations/runagent.ts +1 -1
  203. package/src/models/operations/streamrunagent.ts +1 -1
  204. package/src/models/operations/updatedatapoint.ts +5 -5
  205. package/src/models/operations/updatedataset.ts +1 -1
  206. package/src/models/operations/updatetool.ts +4 -4
  207. package/packages/orq-rc/src/funcs/datasetsCreateDatapoints.ts +0 -175
  208. package/packages/orq-rc/src/funcs/datasetsDeleteDatapoints.ts +0 -174
  209. package/packages/orq-rc/src/funcs/environmentsCreate.ts +0 -162
  210. package/packages/orq-rc/src/funcs/environmentsDelete.ts +0 -168
  211. package/packages/orq-rc/src/funcs/environmentsGet.ts +0 -168
  212. package/packages/orq-rc/src/funcs/environmentsList.ts +0 -172
  213. package/packages/orq-rc/src/funcs/environmentsUpdate.ts +0 -171
  214. package/packages/orq-rc/src/funcs/responsesCompact.ts +0 -183
  215. package/packages/orq-rc/src/funcs/telemetryListCapabilities.ts +0 -169
  216. package/packages/orq-rc/src/funcs/telemetryListFacetValues.ts +0 -163
  217. package/packages/orq-rc/src/funcs/telemetryQuery.ts +0 -162
  218. package/packages/orq-rc/src/funcs/wikisDelete.ts +0 -162
  219. package/packages/orq-rc/src/funcs/wikisGet.ts +0 -162
  220. package/packages/orq-rc/src/funcs/wikisGetPage.ts +0 -168
  221. package/packages/orq-rc/src/funcs/wikisGetTree.ts +0 -162
  222. package/packages/orq-rc/src/funcs/wikisList.ts +0 -167
  223. package/packages/orq-rc/src/funcs/wikisListRuns.ts +0 -167
  224. package/packages/orq-rc/src/funcs/wikisRefresh.ts +0 -165
  225. package/packages/orq-rc/src/funcs/wikisSearch.ts +0 -168
  226. package/packages/orq-rc/src/funcs/wikisUpdate.ts +0 -163
  227. package/packages/orq-rc/src/funcs/wikisUpdatePage.ts +0 -165
  228. package/packages/orq-rc/src/models/components/bulkcreatedatapointsrequest.ts +0 -38
  229. package/packages/orq-rc/src/models/components/constraints.ts +0 -32
  230. package/packages/orq-rc/src/models/components/createdatasetrequest.ts +0 -39
  231. package/packages/orq-rc/src/models/components/createenvironmentrequest.ts +0 -60
  232. package/packages/orq-rc/src/models/components/createenvironmentresponse.ts +0 -32
  233. package/packages/orq-rc/src/models/components/createwikirequest.ts +0 -67
  234. package/packages/orq-rc/src/models/components/createwikiresponse.ts +0 -32
  235. package/packages/orq-rc/src/models/components/datapoint1.ts +0 -122
  236. package/packages/orq-rc/src/models/components/datapointinput.ts +0 -73
  237. package/packages/orq-rc/src/models/components/dataset.ts +0 -88
  238. package/packages/orq-rc/src/models/components/datasetmetadata.ts +0 -48
  239. package/packages/orq-rc/src/models/components/deletedatapointsrequest.ts +0 -36
  240. package/packages/orq-rc/src/models/components/deleteenvironmentresponse.ts +0 -27
  241. package/packages/orq-rc/src/models/components/deletewikiresponse.ts +0 -27
  242. package/packages/orq-rc/src/models/components/environment.ts +0 -78
  243. package/packages/orq-rc/src/models/components/getenvironmentresponse.ts +0 -32
  244. package/packages/orq-rc/src/models/components/getwikipageresponse.ts +0 -32
  245. package/packages/orq-rc/src/models/components/getwikiresponse.ts +0 -32
  246. package/packages/orq-rc/src/models/components/getwikitreeresponse.ts +0 -32
  247. package/packages/orq-rc/src/models/components/inspectrepositorywikirequest.ts +0 -45
  248. package/packages/orq-rc/src/models/components/inspectrepositorywikiresponse.ts +0 -38
  249. package/packages/orq-rc/src/models/components/listdatapointsresponse.ts +0 -41
  250. package/packages/orq-rc/src/models/components/listdatasetsresponse.ts +0 -41
  251. package/packages/orq-rc/src/models/components/listenvironmentsresponse.ts +0 -41
  252. package/packages/orq-rc/src/models/components/listtelemetrycapabilitiesresponse.ts +0 -35
  253. package/packages/orq-rc/src/models/components/listtelemetryfacetvaluesrequest.ts +0 -68
  254. package/packages/orq-rc/src/models/components/listtelemetryfacetvaluesresponse.ts +0 -44
  255. package/packages/orq-rc/src/models/components/listwikirunsresponse.ts +0 -32
  256. package/packages/orq-rc/src/models/components/listwikisresponse.ts +0 -39
  257. package/packages/orq-rc/src/models/components/owner.ts +0 -35
  258. package/packages/orq-rc/src/models/components/publiccompactionitem.ts +0 -79
  259. package/packages/orq-rc/src/models/components/querytelemetrymeta.ts +0 -46
  260. package/packages/orq-rc/src/models/components/querytelemetryrequest.ts +0 -225
  261. package/packages/orq-rc/src/models/components/querytelemetryresponse.ts +0 -55
  262. package/packages/orq-rc/src/models/components/refreshwikirequest.ts +0 -31
  263. package/packages/orq-rc/src/models/components/refreshwikiresponse.ts +0 -32
  264. package/packages/orq-rc/src/models/components/searchwikiresponse.ts +0 -32
  265. package/packages/orq-rc/src/models/components/telemetrydimensioncapability.ts +0 -47
  266. package/packages/orq-rc/src/models/components/telemetrydimensionsetcapability.ts +0 -40
  267. package/packages/orq-rc/src/models/components/telemetrymetriccapability.ts +0 -80
  268. package/packages/orq-rc/src/models/components/telemetryquerymode.ts +0 -18
  269. package/packages/orq-rc/src/models/components/telemetryresultkind.ts +0 -21
  270. package/packages/orq-rc/src/models/components/telemetryrow.ts +0 -42
  271. package/packages/orq-rc/src/models/components/telemetrysource.ts +0 -23
  272. package/packages/orq-rc/src/models/components/telemetrysourcecapability.ts +0 -43
  273. package/packages/orq-rc/src/models/components/telemetryvaluecardinality.ts +0 -21
  274. package/packages/orq-rc/src/models/components/updatedatapointrequest.ts +0 -67
  275. package/packages/orq-rc/src/models/components/updatedatasetrequest.ts +0 -40
  276. package/packages/orq-rc/src/models/components/updateenvironmentrequest.ts +0 -53
  277. package/packages/orq-rc/src/models/components/updateenvironmentresponse.ts +0 -32
  278. package/packages/orq-rc/src/models/components/updatewikipagerequest.ts +0 -42
  279. package/packages/orq-rc/src/models/components/updatewikipageresponse.ts +0 -32
  280. package/packages/orq-rc/src/models/components/updatewikirequest.ts +0 -48
  281. package/packages/orq-rc/src/models/components/updatewikiresponse.ts +0 -32
  282. package/packages/orq-rc/src/models/components/wiki.ts +0 -91
  283. package/packages/orq-rc/src/models/components/wikipage.ts +0 -58
  284. package/packages/orq-rc/src/models/components/wikirepository.ts +0 -72
  285. package/packages/orq-rc/src/models/components/wikirun.ts +0 -71
  286. package/packages/orq-rc/src/models/components/wikirunstats.ts +0 -44
  287. package/packages/orq-rc/src/models/components/wikisearchhit.ts +0 -45
  288. package/packages/orq-rc/src/models/components/wikisettings.ts +0 -76
  289. package/packages/orq-rc/src/models/components/wikitreepage.ts +0 -47
  290. package/packages/orq-rc/src/models/errors/compactresponse.ts +0 -155
  291. package/packages/orq-rc/src/models/operations/apikeycreate.ts +0 -116
  292. package/packages/orq-rc/src/models/operations/apikeylistcapabilities.ts +0 -39
  293. package/packages/orq-rc/src/models/operations/bulkcreatedatapoints.ts +0 -44
  294. package/packages/orq-rc/src/models/operations/compactresponse.ts +0 -244
  295. package/packages/orq-rc/src/models/operations/deletedatasetdatapoints.ts +0 -43
  296. package/packages/orq-rc/src/models/operations/deletewiki.ts +0 -36
  297. package/packages/orq-rc/src/models/operations/environmentdelete.ts +0 -36
  298. package/packages/orq-rc/src/models/operations/environmentget.ts +0 -36
  299. package/packages/orq-rc/src/models/operations/environmentupdate.ts +0 -41
  300. package/packages/orq-rc/src/models/operations/getwiki.ts +0 -32
  301. package/packages/orq-rc/src/models/operations/getwikipage.ts +0 -43
  302. package/packages/orq-rc/src/models/operations/getwikitree.ts +0 -36
  303. package/packages/orq-rc/src/models/operations/listwikiruns.ts +0 -39
  304. package/packages/orq-rc/src/models/operations/listwikis.ts +0 -54
  305. package/packages/orq-rc/src/models/operations/refreshwiki.ts +0 -41
  306. package/packages/orq-rc/src/models/operations/searchwiki.ts +0 -42
  307. package/packages/orq-rc/src/models/operations/telemetrylistcapabilities.ts +0 -34
  308. package/packages/orq-rc/src/models/operations/updatewiki.ts +0 -41
  309. package/packages/orq-rc/src/models/operations/updatewikipage.ts +0 -41
  310. package/packages/orq-rc/src/sdk/environments.ts +0 -100
  311. package/packages/orq-rc/src/sdk/telemetry.ts +0 -64
  312. package/packages/orq-rc/src/sdk/wikis.ts +0 -154
@@ -178,20 +178,6 @@ export type PrefixMessagesFunction = {
178
178
  arguments?: string | undefined;
179
179
  };
180
180
 
181
- export type Google = {
182
- /**
183
- * Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call. Takes precedence over the top-level `thought_signature` when both are set.
184
- */
185
- thoughtSignature?: string | undefined;
186
- };
187
-
188
- /**
189
- * Provider-specific extra content for the tool call.
190
- */
191
- export type ExtraContent = {
192
- google?: Google | undefined;
193
- };
194
-
195
181
  export type ToolCalls = {
196
182
  /**
197
183
  * The ID of the tool call.
@@ -206,10 +192,6 @@ export type ToolCalls = {
206
192
  * Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
207
193
  */
208
194
  thoughtSignature?: string | undefined;
209
- /**
210
- * Provider-specific extra content for the tool call.
211
- */
212
- extraContent?: ExtraContent | undefined;
213
195
  };
214
196
 
215
197
  export type AssistantMessage = {
@@ -543,20 +525,6 @@ export type MessagesFunction = {
543
525
  arguments?: string | undefined;
544
526
  };
545
527
 
546
- export type MessagesGoogle = {
547
- /**
548
- * Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call. Takes precedence over the top-level `thought_signature` when both are set.
549
- */
550
- thoughtSignature?: string | undefined;
551
- };
552
-
553
- /**
554
- * Provider-specific extra content for the tool call.
555
- */
556
- export type MessagesExtraContent = {
557
- google?: MessagesGoogle | undefined;
558
- };
559
-
560
528
  export type MessagesToolCalls = {
561
529
  /**
562
530
  * The ID of the tool call.
@@ -571,10 +539,6 @@ export type MessagesToolCalls = {
571
539
  * Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
572
540
  */
573
541
  thoughtSignature?: string | undefined;
574
- /**
575
- * Provider-specific extra content for the tool call.
576
- */
577
- extraContent?: MessagesExtraContent | undefined;
578
542
  };
579
543
 
580
544
  export type MessagesAssistantMessage = {
@@ -1414,53 +1378,12 @@ export function prefixMessagesFunctionToJSON(
1414
1378
  );
1415
1379
  }
1416
1380
 
1417
- /** @internal */
1418
- export type Google$Outbound = {
1419
- thought_signature?: string | undefined;
1420
- };
1421
-
1422
- /** @internal */
1423
- export const Google$outboundSchema: z.ZodType<
1424
- Google$Outbound,
1425
- z.ZodTypeDef,
1426
- Google
1427
- > = z.object({
1428
- thoughtSignature: z.string().optional(),
1429
- }).transform((v) => {
1430
- return remap$(v, {
1431
- thoughtSignature: "thought_signature",
1432
- });
1433
- });
1434
-
1435
- export function googleToJSON(google: Google): string {
1436
- return JSON.stringify(Google$outboundSchema.parse(google));
1437
- }
1438
-
1439
- /** @internal */
1440
- export type ExtraContent$Outbound = {
1441
- google?: Google$Outbound | undefined;
1442
- };
1443
-
1444
- /** @internal */
1445
- export const ExtraContent$outboundSchema: z.ZodType<
1446
- ExtraContent$Outbound,
1447
- z.ZodTypeDef,
1448
- ExtraContent
1449
- > = z.object({
1450
- google: z.lazy(() => Google$outboundSchema).optional(),
1451
- });
1452
-
1453
- export function extraContentToJSON(extraContent: ExtraContent): string {
1454
- return JSON.stringify(ExtraContent$outboundSchema.parse(extraContent));
1455
- }
1456
-
1457
1381
  /** @internal */
1458
1382
  export type ToolCalls$Outbound = {
1459
1383
  id: string;
1460
1384
  type: string;
1461
1385
  function: PrefixMessagesFunction$Outbound;
1462
1386
  thought_signature?: string | undefined;
1463
- extra_content?: ExtraContent$Outbound | undefined;
1464
1387
  };
1465
1388
 
1466
1389
  /** @internal */
@@ -1473,11 +1396,9 @@ export const ToolCalls$outboundSchema: z.ZodType<
1473
1396
  type: PrefixMessagesType$outboundSchema,
1474
1397
  function: z.lazy(() => PrefixMessagesFunction$outboundSchema),
1475
1398
  thoughtSignature: z.string().optional(),
1476
- extraContent: z.lazy(() => ExtraContent$outboundSchema).optional(),
1477
1399
  }).transform((v) => {
1478
1400
  return remap$(v, {
1479
1401
  thoughtSignature: "thought_signature",
1480
- extraContent: "extra_content",
1481
1402
  });
1482
1403
  });
1483
1404
 
@@ -2060,57 +1981,12 @@ export function messagesFunctionToJSON(
2060
1981
  );
2061
1982
  }
2062
1983
 
2063
- /** @internal */
2064
- export type MessagesGoogle$Outbound = {
2065
- thought_signature?: string | undefined;
2066
- };
2067
-
2068
- /** @internal */
2069
- export const MessagesGoogle$outboundSchema: z.ZodType<
2070
- MessagesGoogle$Outbound,
2071
- z.ZodTypeDef,
2072
- MessagesGoogle
2073
- > = z.object({
2074
- thoughtSignature: z.string().optional(),
2075
- }).transform((v) => {
2076
- return remap$(v, {
2077
- thoughtSignature: "thought_signature",
2078
- });
2079
- });
2080
-
2081
- export function messagesGoogleToJSON(messagesGoogle: MessagesGoogle): string {
2082
- return JSON.stringify(MessagesGoogle$outboundSchema.parse(messagesGoogle));
2083
- }
2084
-
2085
- /** @internal */
2086
- export type MessagesExtraContent$Outbound = {
2087
- google?: MessagesGoogle$Outbound | undefined;
2088
- };
2089
-
2090
- /** @internal */
2091
- export const MessagesExtraContent$outboundSchema: z.ZodType<
2092
- MessagesExtraContent$Outbound,
2093
- z.ZodTypeDef,
2094
- MessagesExtraContent
2095
- > = z.object({
2096
- google: z.lazy(() => MessagesGoogle$outboundSchema).optional(),
2097
- });
2098
-
2099
- export function messagesExtraContentToJSON(
2100
- messagesExtraContent: MessagesExtraContent,
2101
- ): string {
2102
- return JSON.stringify(
2103
- MessagesExtraContent$outboundSchema.parse(messagesExtraContent),
2104
- );
2105
- }
2106
-
2107
1984
  /** @internal */
2108
1985
  export type MessagesToolCalls$Outbound = {
2109
1986
  id: string;
2110
1987
  type: string;
2111
1988
  function: MessagesFunction$Outbound;
2112
1989
  thought_signature?: string | undefined;
2113
- extra_content?: MessagesExtraContent$Outbound | undefined;
2114
1990
  };
2115
1991
 
2116
1992
  /** @internal */
@@ -2123,11 +1999,9 @@ export const MessagesToolCalls$outboundSchema: z.ZodType<
2123
1999
  type: MessagesType$outboundSchema,
2124
2000
  function: z.lazy(() => MessagesFunction$outboundSchema),
2125
2001
  thoughtSignature: z.string().optional(),
2126
- extraContent: z.lazy(() => MessagesExtraContent$outboundSchema).optional(),
2127
2002
  }).transform((v) => {
2128
2003
  return remap$(v, {
2129
2004
  thoughtSignature: "thought_signature",
2130
- extraContent: "extra_content",
2131
2005
  });
2132
2006
  });
2133
2007
 
@@ -127,7 +127,7 @@ export type Knowledge2 = {
127
127
  retrievalSettings?: KnowledgeRetrievalSettings | undefined;
128
128
  externalConfig: ExternalConfig;
129
129
  /**
130
- * Settings for the knowledge base: embedding model, retrieval configuration, and agentic RAG configuration.
130
+ * Additive compatibility fields formerly available only from private internal endpoints.
131
131
  */
132
132
  settings?: KnowledgeSettings | undefined;
133
133
  metadata?: KnowledgeMetadata | undefined;
@@ -252,7 +252,7 @@ export type Knowledge1 = {
252
252
  */
253
253
  model: string;
254
254
  /**
255
- * Settings for the knowledge base: embedding model, retrieval configuration, and agentic RAG configuration.
255
+ * Additive compatibility fields formerly available only from private internal endpoints.
256
256
  */
257
257
  settings?: KnowledgeSettings | undefined;
258
258
  metadata?: KnowledgeMetadata | undefined;
@@ -53,7 +53,7 @@ export type KnowledgeChunk = {
53
53
  */
54
54
  updateById?: string | null | undefined;
55
55
  /**
56
- * Processing attempts recorded for the chunk.
56
+ * Additive compatibility fields from the database document.
57
57
  */
58
58
  processingAttempts?: Array<ProcessingAttempt> | undefined;
59
59
  countMetadata?: CountMetadata | undefined;
@@ -0,0 +1,38 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
+ import { Domain, Domain$inboundSchema } from "./domain.js";
10
+
11
+ export type ListCapabilitiesResponse = {
12
+ /**
13
+ * Full capability catalog. Order is stable: workspace-admin first,
14
+ *
15
+ * @remarks
16
+ * then platform, then gateway.
17
+ */
18
+ domains: Array<Domain>;
19
+ };
20
+
21
+ /** @internal */
22
+ export const ListCapabilitiesResponse$inboundSchema: z.ZodType<
23
+ ListCapabilitiesResponse,
24
+ z.ZodTypeDef,
25
+ unknown
26
+ > = z.object({
27
+ domains: z.array(Domain$inboundSchema),
28
+ });
29
+
30
+ export function listCapabilitiesResponseFromJSON(
31
+ jsonString: string,
32
+ ): SafeParseResult<ListCapabilitiesResponse, SDKValidationError> {
33
+ return safeParse(
34
+ jsonString,
35
+ (x) => ListCapabilitiesResponse$inboundSchema.parse(JSON.parse(x)),
36
+ `Failed to parse 'ListCapabilitiesResponse' from JSON`,
37
+ );
38
+ }
@@ -0,0 +1,93 @@
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
+
8
+ /**
9
+ * McpAccess optionally restricts which MCP gateways an API key may
10
+ *
11
+ * @remarks
12
+ * reach at the data plane. It is orthogonal to permission_mode /
13
+ * access: the key must still hold the `mcp_gateway.execute` verb and
14
+ * project membership; McpAccess only narrows the reachable gateway set
15
+ * within that grant. Human sessions and keys without an McpAccess are
16
+ * unaffected.
17
+ *
18
+ * Semantics:
19
+ * - absent, or deny_all=false with an empty allowed_mcp_gateway_ids:
20
+ * no restriction — every gateway in the key's project scope is
21
+ * reachable.
22
+ * - deny_all=true: zero gateways are reachable. Wins over
23
+ * allowed_mcp_gateway_ids.
24
+ * - non-empty allowed_mcp_gateway_ids: only the listed gateway ids
25
+ * are reachable. Each id must look like `mcp_gateway_<ULID>`.
26
+ */
27
+ export type McpAccess = {
28
+ /**
29
+ * When true, the key is denied every MCP gateway regardless of
30
+ *
31
+ * @remarks
32
+ * allowed_mcp_gateway_ids.
33
+ */
34
+ denyAll?: boolean | undefined;
35
+ /**
36
+ * Allow-list of MCP gateway ids (`mcp_gateway_<ULID>`) the key may
37
+ *
38
+ * @remarks
39
+ * reach. Ignored when deny_all is true. Empty (with deny_all=false)
40
+ * means no restriction.
41
+ */
42
+ allowedMcpGatewayIds?: Array<string> | undefined;
43
+ /**
44
+ * Allow-list of MCP toolset ids (`mcp_toolset_<ULID>`) the key is
45
+ *
46
+ * @remarks
47
+ * bound to. When non-empty, the key sees and may call only the tools
48
+ * that are both exposed by the target gateway and members of the
49
+ * union of these toolsets. Empty means no toolset restriction.
50
+ */
51
+ toolsetIds?: Array<string> | undefined;
52
+ /**
53
+ * Allow-list of file system ids (`fsys_<ULID>`) the key may reach over
54
+ *
55
+ * @remarks
56
+ * the file system MCP endpoint. Ignored when deny_all is true. Empty
57
+ * (with deny_all=false) means no restriction. The access mode a key
58
+ * gets on a reachable file system is the file system's own
59
+ * external_access, never something the key carries.
60
+ */
61
+ allowedFilesystemIds?: Array<string> | undefined;
62
+ };
63
+
64
+ /** @internal */
65
+ export type McpAccess$Outbound = {
66
+ deny_all?: boolean | undefined;
67
+ allowed_mcp_gateway_ids?: Array<string> | undefined;
68
+ toolset_ids?: Array<string> | undefined;
69
+ allowed_filesystem_ids?: Array<string> | undefined;
70
+ };
71
+
72
+ /** @internal */
73
+ export const McpAccess$outboundSchema: z.ZodType<
74
+ McpAccess$Outbound,
75
+ z.ZodTypeDef,
76
+ McpAccess
77
+ > = z.object({
78
+ denyAll: z.boolean().optional(),
79
+ allowedMcpGatewayIds: z.array(z.string()).optional(),
80
+ toolsetIds: z.array(z.string()).optional(),
81
+ allowedFilesystemIds: z.array(z.string()).optional(),
82
+ }).transform((v) => {
83
+ return remap$(v, {
84
+ denyAll: "deny_all",
85
+ allowedMcpGatewayIds: "allowed_mcp_gateway_ids",
86
+ toolsetIds: "toolset_ids",
87
+ allowedFilesystemIds: "allowed_filesystem_ids",
88
+ });
89
+ });
90
+
91
+ export function mcpAccessToJSON(mcpAccess: McpAccess): string {
92
+ return JSON.stringify(McpAccess$outboundSchema.parse(mcpAccess));
93
+ }
@@ -23,7 +23,7 @@ export type McpAuthConfig = {
23
23
  */
24
24
  staticHeaders?: Array<McpHeaderSecret> | undefined;
25
25
  /**
26
- * OAuth client credentials the gateway presents to the upstream authorization server; set when type is OAUTH_CLIENT_CREDENTIALS.
26
+ * Not settable through these endpoints.
27
27
  */
28
28
  oauth?: McpOAuthConfig | undefined;
29
29
  };
@@ -24,7 +24,7 @@ export type McpAuthConfigOutput = {
24
24
  */
25
25
  staticHeaders?: Array<McpHeaderSecretOutput> | undefined;
26
26
  /**
27
- * OAuth client credentials the gateway presents to the upstream authorization server; set when type is OAUTH_CLIENT_CREDENTIALS.
27
+ * Not settable through these endpoints.
28
28
  */
29
29
  oauth?: McpOAuthConfigOutput | undefined;
30
30
  };
@@ -22,11 +22,14 @@ export type Memory = {
22
22
  storeId: string;
23
23
  workspaceId: string;
24
24
  /**
25
- * The number of documents in the entity
25
+ * The number of memories in the entity
26
26
  */
27
27
  documentsCount: number;
28
28
  /**
29
- * Key-value metadata for the memory.
29
+ * Present on update responses in the live TypeScript implementation even
30
+ *
31
+ * @remarks
32
+ * though the legacy generated OpenAPI schema omitted it.
30
33
  */
31
34
  metadata?: { [k: string]: string } | undefined;
32
35
  /**
@@ -0,0 +1,17 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { ClosedEnum } from "../../types/enums.js";
7
+
8
+ export const OwnerType = {
9
+ OwnerTypeUnspecified: "OWNER_TYPE_UNSPECIFIED",
10
+ OwnerTypeUser: "OWNER_TYPE_USER",
11
+ OwnerTypeServiceAccount: "OWNER_TYPE_SERVICE_ACCOUNT",
12
+ } as const;
13
+ export type OwnerType = ClosedEnum<typeof OwnerType>;
14
+
15
+ /** @internal */
16
+ export const OwnerType$outboundSchema: z.ZodNativeEnum<typeof OwnerType> = z
17
+ .nativeEnum(OwnerType);
@@ -0,0 +1,19 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { ClosedEnum } from "../../types/enums.js";
7
+
8
+ export const PermissionMode = {
9
+ PermissionModeUnspecified: "PERMISSION_MODE_UNSPECIFIED",
10
+ PermissionModeAll: "PERMISSION_MODE_ALL",
11
+ PermissionModeRestricted: "PERMISSION_MODE_RESTRICTED",
12
+ PermissionModeReadOnly: "PERMISSION_MODE_READ_ONLY",
13
+ } as const;
14
+ export type PermissionMode = ClosedEnum<typeof PermissionMode>;
15
+
16
+ /** @internal */
17
+ export const PermissionMode$outboundSchema: z.ZodNativeEnum<
18
+ typeof PermissionMode
19
+ > = z.nativeEnum(PermissionMode);
@@ -3,17 +3,33 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod/v3";
6
- import { remap as remap$ } from "../../lib/primitives.js";
6
+ import {
7
+ AllProjects,
8
+ AllProjects$Outbound,
9
+ AllProjects$outboundSchema,
10
+ } from "./allprojects.js";
11
+ import {
12
+ SingleProject,
13
+ SingleProject$Outbound,
14
+ SingleProject$outboundSchema,
15
+ } from "./singleproject.js";
7
16
 
17
+ /**
18
+ * Project authorization scope. Single-project or all-projects.
19
+ *
20
+ * @remarks
21
+ * Multi-project use cases are served by minting per-project keys or by
22
+ * using an all-projects key with `restricted` mode.
23
+ */
8
24
  export type ProjectScope = {
9
- mode: string;
10
- projectId?: string | undefined;
25
+ all?: AllProjects | undefined;
26
+ single?: SingleProject | undefined;
11
27
  };
12
28
 
13
29
  /** @internal */
14
30
  export type ProjectScope$Outbound = {
15
- mode: string;
16
- project_id?: string | undefined;
31
+ all?: AllProjects$Outbound | undefined;
32
+ single?: SingleProject$Outbound | undefined;
17
33
  };
18
34
 
19
35
  /** @internal */
@@ -22,12 +38,8 @@ export const ProjectScope$outboundSchema: z.ZodType<
22
38
  z.ZodTypeDef,
23
39
  ProjectScope
24
40
  > = z.object({
25
- mode: z.string(),
26
- projectId: z.string().optional(),
27
- }).transform((v) => {
28
- return remap$(v, {
29
- projectId: "project_id",
30
- });
41
+ all: AllProjects$outboundSchema.optional(),
42
+ single: SingleProject$outboundSchema.optional(),
31
43
  });
32
44
 
33
45
  export function projectScopeToJSON(projectScope: ProjectScope): string {
@@ -0,0 +1,64 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import {
7
+ AuditLogFilterQuery,
8
+ AuditLogFilterQuery$Outbound,
9
+ AuditLogFilterQuery$outboundSchema,
10
+ } from "./auditlogfilterquery.js";
11
+ import {
12
+ AuditLogPagination,
13
+ AuditLogPagination$Outbound,
14
+ AuditLogPagination$outboundSchema,
15
+ } from "./auditlogpagination.js";
16
+ import {
17
+ AuditLogSort,
18
+ AuditLogSort$Outbound,
19
+ AuditLogSort$outboundSchema,
20
+ } from "./auditlogsort.js";
21
+
22
+ /**
23
+ * Request body for querying audit logs in the authenticated workspace.
24
+ */
25
+ export type QueryAuditLogsRequest = {
26
+ /**
27
+ * Search and advanced filters for querying audit logs.
28
+ */
29
+ filters: AuditLogFilterQuery;
30
+ /**
31
+ * Cursor pagination settings for audit log queries.
32
+ */
33
+ pagination: AuditLogPagination;
34
+ /**
35
+ * Sort expressions. Defaults to audit_log_id descending when omitted.
36
+ */
37
+ sorting?: Array<AuditLogSort> | undefined;
38
+ };
39
+
40
+ /** @internal */
41
+ export type QueryAuditLogsRequest$Outbound = {
42
+ filters: AuditLogFilterQuery$Outbound;
43
+ pagination: AuditLogPagination$Outbound;
44
+ sorting?: Array<AuditLogSort$Outbound> | undefined;
45
+ };
46
+
47
+ /** @internal */
48
+ export const QueryAuditLogsRequest$outboundSchema: z.ZodType<
49
+ QueryAuditLogsRequest$Outbound,
50
+ z.ZodTypeDef,
51
+ QueryAuditLogsRequest
52
+ > = z.object({
53
+ filters: AuditLogFilterQuery$outboundSchema,
54
+ pagination: AuditLogPagination$outboundSchema,
55
+ sorting: z.array(AuditLogSort$outboundSchema).optional(),
56
+ });
57
+
58
+ export function queryAuditLogsRequestToJSON(
59
+ queryAuditLogsRequest: QueryAuditLogsRequest,
60
+ ): string {
61
+ return JSON.stringify(
62
+ QueryAuditLogsRequest$outboundSchema.parse(queryAuditLogsRequest),
63
+ );
64
+ }
@@ -0,0 +1,55 @@
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 { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+ import { AuditLog, AuditLog$inboundSchema } from "./auditlog.js";
11
+
12
+ /**
13
+ * Paginated audit log query result.
14
+ */
15
+ export type QueryAuditLogsResponse = {
16
+ /**
17
+ * Audit logs matching the query.
18
+ */
19
+ auditLogs: Array<AuditLog>;
20
+ /**
21
+ * Total number of audit logs matching the query before cursor pagination.
22
+ */
23
+ overallTotal: string;
24
+ /**
25
+ * Whether another page exists after the returned audit logs.
26
+ */
27
+ hasMore: boolean;
28
+ };
29
+
30
+ /** @internal */
31
+ export const QueryAuditLogsResponse$inboundSchema: z.ZodType<
32
+ QueryAuditLogsResponse,
33
+ z.ZodTypeDef,
34
+ unknown
35
+ > = z.object({
36
+ audit_logs: z.array(AuditLog$inboundSchema),
37
+ overall_total: z.string(),
38
+ has_more: z.boolean(),
39
+ }).transform((v) => {
40
+ return remap$(v, {
41
+ "audit_logs": "auditLogs",
42
+ "overall_total": "overallTotal",
43
+ "has_more": "hasMore",
44
+ });
45
+ });
46
+
47
+ export function queryAuditLogsResponseFromJSON(
48
+ jsonString: string,
49
+ ): SafeParseResult<QueryAuditLogsResponse, SDKValidationError> {
50
+ return safeParse(
51
+ jsonString,
52
+ (x) => QueryAuditLogsResponse$inboundSchema.parse(JSON.parse(x)),
53
+ `Failed to parse 'QueryAuditLogsResponse' from JSON`,
54
+ );
55
+ }
@@ -40,7 +40,7 @@ export const ReasoningPart$inboundSchema: z.ZodType<
40
40
  z.ZodTypeDef,
41
41
  unknown
42
42
  > = z.object({
43
- _id: z.string().default("reasoning_01m3cfsbrdsksyhachyty6tg9c"),
43
+ _id: z.string().default("reasoning_01m3jb73rwqcp5ztswtykx1vw6"),
44
44
  metadata: z.record(z.any()).optional(),
45
45
  kind: z.literal("reasoning"),
46
46
  reasoning: z.string(),
@@ -0,0 +1,16 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { ClosedEnum } from "../../types/enums.js";
7
+
8
+ export const ScopeMode = {
9
+ ScopeModeAll: "SCOPE_MODE_ALL",
10
+ ScopeModeSingle: "SCOPE_MODE_SINGLE",
11
+ } as const;
12
+ export type ScopeMode = ClosedEnum<typeof ScopeMode>;
13
+
14
+ /** @internal */
15
+ export const ScopeMode$inboundSchema: z.ZodNativeEnum<typeof ScopeMode> = z
16
+ .nativeEnum(ScopeMode);
@@ -0,0 +1,25 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+
7
+ export type ServiceAccountOwner = {};
8
+
9
+ /** @internal */
10
+ export type ServiceAccountOwner$Outbound = {};
11
+
12
+ /** @internal */
13
+ export const ServiceAccountOwner$outboundSchema: z.ZodType<
14
+ ServiceAccountOwner$Outbound,
15
+ z.ZodTypeDef,
16
+ ServiceAccountOwner
17
+ > = z.object({});
18
+
19
+ export function serviceAccountOwnerToJSON(
20
+ serviceAccountOwner: ServiceAccountOwner,
21
+ ): string {
22
+ return JSON.stringify(
23
+ ServiceAccountOwner$outboundSchema.parse(serviceAccountOwner),
24
+ );
25
+ }