@atlanai/sdk 0.1.1 → 0.2.2

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 (639) hide show
  1. package/README.md +86 -7
  2. package/dist/client.js +4 -2
  3. package/dist/evals.d.ts +177 -0
  4. package/dist/evals.js +916 -0
  5. package/dist/index.d.ts +3 -0
  6. package/dist/index.js +9 -1
  7. package/dist/manifest.json +473 -204
  8. package/dist/raw/agent/apis/AgentEnvironmentsApi.d.ts +36 -0
  9. package/dist/raw/agent/apis/AgentEnvironmentsApi.js +49 -1
  10. package/dist/raw/agent/apis/AgentFrameworksApi.d.ts +36 -0
  11. package/dist/raw/agent/apis/AgentFrameworksApi.js +49 -1
  12. package/dist/raw/agent/apis/AgentProvidersApi.d.ts +36 -0
  13. package/dist/raw/agent/apis/AgentProvidersApi.js +49 -1
  14. package/dist/raw/agent/apis/AgentsApi.d.ts +49 -4
  15. package/dist/raw/agent/apis/AgentsApi.js +65 -5
  16. package/dist/raw/agent/apis/HarnessVendorsApi.d.ts +36 -0
  17. package/dist/raw/agent/apis/HarnessVendorsApi.js +49 -1
  18. package/dist/raw/agent/apis/HarnessesApi.d.ts +36 -0
  19. package/dist/raw/agent/apis/HarnessesApi.js +49 -1
  20. package/dist/raw/agent/apis/OutputsApi.d.ts +45 -0
  21. package/dist/raw/agent/apis/OutputsApi.js +61 -1
  22. package/dist/raw/agent/apis/SessionsApi.d.ts +36 -0
  23. package/dist/raw/agent/apis/SessionsApi.js +49 -1
  24. package/dist/raw/agent/apis/TracesApi.d.ts +18 -0
  25. package/dist/raw/agent/apis/TracesApi.js +25 -1
  26. package/dist/raw/agent/apis/VisitorsApi.d.ts +9 -0
  27. package/dist/raw/agent/apis/VisitorsApi.js +13 -1
  28. package/dist/raw/agent/models/AgentAgentArtifactView.d.ts +27 -15
  29. package/dist/raw/agent/models/AgentAgentArtifactView.js +2 -2
  30. package/dist/raw/agent/models/AgentAgentEnvironmentArtifactView.d.ts +27 -15
  31. package/dist/raw/agent/models/AgentAgentEnvironmentArtifactView.js +2 -2
  32. package/dist/raw/agent/models/AgentAgentFrameworkArtifactView.d.ts +27 -15
  33. package/dist/raw/agent/models/AgentAgentFrameworkArtifactView.js +2 -2
  34. package/dist/raw/agent/models/AgentAgentProviderArtifactView.d.ts +27 -15
  35. package/dist/raw/agent/models/AgentAgentProviderArtifactView.js +2 -2
  36. package/dist/raw/agent/models/AgentCreateAgentFramework400Response.d.ts +2 -0
  37. package/dist/raw/agent/models/AgentCreateAgentFramework400Response.js +2 -2
  38. package/dist/raw/agent/models/AgentCreateAgentFramework413Response.d.ts +64 -0
  39. package/dist/raw/agent/models/AgentCreateAgentFramework413Response.js +74 -0
  40. package/dist/raw/agent/models/AgentCreateAgentFramework415Response.d.ts +1 -0
  41. package/dist/raw/agent/models/AgentCreateAgentFramework415Response.js +1 -2
  42. package/dist/raw/agent/models/AgentGetAgentTrace400Response.d.ts +63 -0
  43. package/dist/raw/agent/models/AgentGetAgentTrace400Response.js +75 -0
  44. package/dist/raw/agent/models/AgentHarnessArtifactView.d.ts +27 -15
  45. package/dist/raw/agent/models/AgentHarnessArtifactView.js +2 -2
  46. package/dist/raw/agent/models/AgentHarnessVendorArtifactView.d.ts +27 -15
  47. package/dist/raw/agent/models/AgentHarnessVendorArtifactView.js +2 -2
  48. package/dist/raw/agent/models/AgentOutputArtifactView.d.ts +27 -15
  49. package/dist/raw/agent/models/AgentOutputArtifactView.js +2 -2
  50. package/dist/raw/agent/models/AgentQueryAgentTraceStats400Response.d.ts +2 -0
  51. package/dist/raw/agent/models/AgentQueryAgentTraceStats400Response.js +2 -0
  52. package/dist/raw/agent/models/AgentSessionArtifactView.d.ts +27 -15
  53. package/dist/raw/agent/models/AgentSessionArtifactView.js +2 -2
  54. package/dist/raw/agent/models/AgentSessionMessageArtifactView.d.ts +27 -15
  55. package/dist/raw/agent/models/AgentSessionMessageArtifactView.js +2 -2
  56. package/dist/raw/agent/models/AgentUploadAgentProfileImage400Response.d.ts +2 -1
  57. package/dist/raw/agent/models/AgentUploadAgentProfileImage400Response.js +2 -3
  58. package/dist/raw/agent/models/AgentUploadAgentProfileImage413Response.d.ts +2 -0
  59. package/dist/raw/agent/models/AgentUploadAgentProfileImage413Response.js +2 -2
  60. package/dist/raw/agent/models/AgentVisitorArtifactView.d.ts +27 -15
  61. package/dist/raw/agent/models/AgentVisitorArtifactView.js +2 -2
  62. package/dist/raw/agent/models/Box.d.ts +27 -15
  63. package/dist/raw/agent/models/Box.js +2 -2
  64. package/dist/raw/agent/models/GatewayArtifactBase.d.ts +27 -15
  65. package/dist/raw/agent/models/GatewayArtifactBase.js +2 -2
  66. package/dist/raw/agent/models/GatewayTraceStatsGroupBy.d.ts +5 -1
  67. package/dist/raw/agent/models/GatewayTraceStatsGroupBy.js +4 -0
  68. package/dist/raw/agent/models/GatewayTraceStatsMeasure.d.ts +3 -1
  69. package/dist/raw/agent/models/GatewayTraceStatsMeasure.js +2 -0
  70. package/dist/raw/agent/models/SpanViewDto.d.ts +25 -0
  71. package/dist/raw/agent/models/SpanViewDto.js +8 -0
  72. package/dist/raw/agent/models/TraceDetailView.d.ts +9 -0
  73. package/dist/raw/agent/models/TraceDetailView.js +2 -0
  74. package/dist/raw/agent/models/index.d.ts +2 -0
  75. package/dist/raw/agent/models/index.js +2 -0
  76. package/dist/raw/eval/apis/DatasetsApi.d.ts +344 -0
  77. package/dist/raw/eval/apis/DatasetsApi.js +811 -0
  78. package/dist/raw/eval/apis/ExperimentsApi.d.ts +355 -0
  79. package/dist/raw/eval/apis/ExperimentsApi.js +830 -0
  80. package/dist/raw/eval/apis/ScorersApi.d.ts +129 -0
  81. package/dist/raw/eval/apis/ScorersApi.js +308 -0
  82. package/dist/raw/eval/apis/index.d.ts +3 -0
  83. package/dist/raw/eval/apis/index.js +21 -0
  84. package/dist/raw/eval/index.d.ts +3 -0
  85. package/dist/raw/eval/index.js +21 -0
  86. package/dist/raw/eval/models/AccessView.d.ts +57 -0
  87. package/dist/raw/eval/models/AccessView.js +64 -0
  88. package/dist/raw/eval/models/ArtifactConflictProblem.d.ts +69 -0
  89. package/dist/raw/eval/models/ArtifactConflictProblem.js +66 -0
  90. package/dist/raw/eval/models/CostView.d.ts +50 -0
  91. package/dist/raw/eval/models/CostView.js +60 -0
  92. package/dist/raw/eval/models/CursorPage.d.ts +38 -0
  93. package/dist/raw/eval/models/CursorPage.js +52 -0
  94. package/dist/raw/eval/models/EvalArtifactEnvelope.d.ts +144 -0
  95. package/dist/raw/eval/models/EvalArtifactEnvelope.js +84 -0
  96. package/dist/raw/eval/models/EvalArtifactSearchRequest.d.ts +71 -0
  97. package/dist/raw/eval/models/EvalArtifactSearchRequest.js +60 -0
  98. package/dist/raw/eval/models/EvalBulkDatasetRecordResponse.d.ts +33 -0
  99. package/dist/raw/eval/models/EvalBulkDatasetRecordResponse.js +51 -0
  100. package/dist/raw/eval/models/EvalBulkDatasetRecordResult.d.ts +52 -0
  101. package/dist/raw/eval/models/EvalBulkDatasetRecordResult.js +60 -0
  102. package/dist/raw/eval/models/EvalBulkExperimentResultResponse.d.ts +33 -0
  103. package/dist/raw/eval/models/EvalBulkExperimentResultResponse.js +51 -0
  104. package/dist/raw/eval/models/EvalBulkExperimentResultSlot.d.ts +53 -0
  105. package/dist/raw/eval/models/EvalBulkExperimentResultSlot.js +60 -0
  106. package/dist/raw/eval/models/EvalCreateDataset400Response.d.ts +65 -0
  107. package/dist/raw/eval/models/EvalCreateDataset400Response.js +75 -0
  108. package/dist/raw/eval/models/EvalCreateDataset409Response.d.ts +63 -0
  109. package/dist/raw/eval/models/EvalCreateDataset409Response.js +75 -0
  110. package/dist/raw/eval/models/EvalCreateDataset413Response.d.ts +64 -0
  111. package/dist/raw/eval/models/EvalCreateDataset413Response.js +74 -0
  112. package/dist/raw/eval/models/EvalCreateDataset415Response.d.ts +64 -0
  113. package/dist/raw/eval/models/EvalCreateDataset415Response.js +74 -0
  114. package/dist/raw/eval/models/EvalCreateDataset422Response.d.ts +63 -0
  115. package/dist/raw/eval/models/EvalCreateDataset422Response.js +75 -0
  116. package/dist/raw/eval/models/EvalDatasetArtifactView.d.ts +296 -0
  117. package/dist/raw/eval/models/EvalDatasetArtifactView.js +148 -0
  118. package/dist/raw/eval/models/EvalDatasetCreate.d.ts +156 -0
  119. package/dist/raw/eval/models/EvalDatasetCreate.js +88 -0
  120. package/dist/raw/eval/models/EvalDatasetMeta.d.ts +53 -0
  121. package/dist/raw/eval/models/EvalDatasetMeta.js +50 -0
  122. package/dist/raw/eval/models/EvalDatasetPatch.d.ts +58 -0
  123. package/dist/raw/eval/models/EvalDatasetPatch.js +56 -0
  124. package/dist/raw/eval/models/EvalDatasetRecordArtifactView.d.ts +348 -0
  125. package/dist/raw/eval/models/EvalDatasetRecordArtifactView.js +163 -0
  126. package/dist/raw/eval/models/EvalDatasetRecordBulkCreate.d.ts +33 -0
  127. package/dist/raw/eval/models/EvalDatasetRecordBulkCreate.js +51 -0
  128. package/dist/raw/eval/models/EvalDatasetRecordCreate.d.ts +195 -0
  129. package/dist/raw/eval/models/EvalDatasetRecordCreate.js +101 -0
  130. package/dist/raw/eval/models/EvalDatasetRecordMeta.d.ts +102 -0
  131. package/dist/raw/eval/models/EvalDatasetRecordMeta.js +69 -0
  132. package/dist/raw/eval/models/EvalDatasetRecordPatch.d.ts +81 -0
  133. package/dist/raw/eval/models/EvalDatasetRecordPatch.js +62 -0
  134. package/dist/raw/eval/models/EvalDatasetSnapshot.d.ts +57 -0
  135. package/dist/raw/eval/models/EvalDatasetSnapshot.js +65 -0
  136. package/dist/raw/eval/models/EvalDatasetSnapshotRecord.d.ts +99 -0
  137. package/dist/raw/eval/models/EvalDatasetSnapshotRecord.js +77 -0
  138. package/dist/raw/eval/models/EvalExperimentArtifactView.d.ts +339 -0
  139. package/dist/raw/eval/models/EvalExperimentArtifactView.js +163 -0
  140. package/dist/raw/eval/models/EvalExperimentCreate.d.ts +193 -0
  141. package/dist/raw/eval/models/EvalExperimentCreate.js +100 -0
  142. package/dist/raw/eval/models/EvalExperimentMeta.d.ts +97 -0
  143. package/dist/raw/eval/models/EvalExperimentMeta.js +65 -0
  144. package/dist/raw/eval/models/EvalExperimentPatch.d.ts +64 -0
  145. package/dist/raw/eval/models/EvalExperimentPatch.js +57 -0
  146. package/dist/raw/eval/models/EvalExperimentResultArtifactView.d.ts +359 -0
  147. package/dist/raw/eval/models/EvalExperimentResultArtifactView.js +166 -0
  148. package/dist/raw/eval/models/EvalExperimentResultBulkCreate.d.ts +33 -0
  149. package/dist/raw/eval/models/EvalExperimentResultBulkCreate.js +51 -0
  150. package/dist/raw/eval/models/EvalExperimentResultCreate.d.ts +212 -0
  151. package/dist/raw/eval/models/EvalExperimentResultCreate.js +104 -0
  152. package/dist/raw/eval/models/EvalExperimentResultMeta.d.ts +119 -0
  153. package/dist/raw/eval/models/EvalExperimentResultMeta.js +70 -0
  154. package/dist/raw/eval/models/EvalExperimentStatus.d.ts +31 -0
  155. package/dist/raw/eval/models/EvalExperimentStatus.js +59 -0
  156. package/dist/raw/eval/models/EvalGetDataset404Response.d.ts +63 -0
  157. package/dist/raw/eval/models/EvalGetDataset404Response.js +75 -0
  158. package/dist/raw/eval/models/EvalGetExperimentTrace400Response.d.ts +63 -0
  159. package/dist/raw/eval/models/EvalGetExperimentTrace400Response.js +75 -0
  160. package/dist/raw/eval/models/EvalListDatasets400Response.d.ts +63 -0
  161. package/dist/raw/eval/models/EvalListDatasets400Response.js +75 -0
  162. package/dist/raw/eval/models/EvalListDatasets401Response.d.ts +79 -0
  163. package/dist/raw/eval/models/EvalListDatasets401Response.js +89 -0
  164. package/dist/raw/eval/models/EvalListDatasets403Response.d.ts +64 -0
  165. package/dist/raw/eval/models/EvalListDatasets403Response.js +74 -0
  166. package/dist/raw/eval/models/EvalListDatasets500Response.d.ts +63 -0
  167. package/dist/raw/eval/models/EvalListDatasets500Response.js +75 -0
  168. package/dist/raw/eval/models/EvalListDatasets503Response.d.ts +64 -0
  169. package/dist/raw/eval/models/EvalListDatasets503Response.js +74 -0
  170. package/dist/raw/eval/models/EvalListDatasets504Response.d.ts +63 -0
  171. package/dist/raw/eval/models/EvalListDatasets504Response.js +75 -0
  172. package/dist/raw/eval/models/EvalPageDatasetArtifactView.d.ts +44 -0
  173. package/dist/raw/eval/models/EvalPageDatasetArtifactView.js +56 -0
  174. package/dist/raw/eval/models/EvalPageDatasetRecordArtifactView.d.ts +44 -0
  175. package/dist/raw/eval/models/EvalPageDatasetRecordArtifactView.js +56 -0
  176. package/dist/raw/eval/models/EvalPageExperimentArtifactView.d.ts +44 -0
  177. package/dist/raw/eval/models/EvalPageExperimentArtifactView.js +56 -0
  178. package/dist/raw/eval/models/EvalPageExperimentResultArtifactView.d.ts +44 -0
  179. package/dist/raw/eval/models/EvalPageExperimentResultArtifactView.js +56 -0
  180. package/dist/raw/eval/models/EvalPageScorerArtifactView.d.ts +44 -0
  181. package/dist/raw/eval/models/EvalPageScorerArtifactView.js +56 -0
  182. package/dist/raw/eval/models/EvalPatchDataset412Response.d.ts +63 -0
  183. package/dist/raw/eval/models/EvalPatchDataset412Response.js +75 -0
  184. package/dist/raw/eval/models/EvalRecordSource.d.ts +27 -0
  185. package/dist/raw/eval/models/EvalRecordSource.js +55 -0
  186. package/dist/raw/eval/models/EvalScorerArtifactView.d.ts +313 -0
  187. package/dist/raw/eval/models/EvalScorerArtifactView.js +154 -0
  188. package/dist/raw/eval/models/EvalScorerCreate.d.ts +172 -0
  189. package/dist/raw/eval/models/EvalScorerCreate.js +98 -0
  190. package/dist/raw/eval/models/EvalScorerKind.d.ts +32 -0
  191. package/dist/raw/eval/models/EvalScorerKind.js +60 -0
  192. package/dist/raw/eval/models/EvalScorerMeta.d.ts +67 -0
  193. package/dist/raw/eval/models/EvalScorerMeta.js +60 -0
  194. package/dist/raw/eval/models/EvalScorerPatch.d.ts +75 -0
  195. package/dist/raw/eval/models/EvalScorerPatch.js +56 -0
  196. package/dist/raw/eval/models/EvalScorerScope.d.ts +32 -0
  197. package/dist/raw/eval/models/EvalScorerScope.js +60 -0
  198. package/dist/raw/eval/models/EvalSubjectKind.d.ts +33 -0
  199. package/dist/raw/eval/models/EvalSubjectKind.js +61 -0
  200. package/dist/raw/eval/models/GatewayArtifactBase.d.ts +262 -0
  201. package/dist/raw/eval/models/GatewayArtifactBase.js +139 -0
  202. package/dist/raw/eval/models/GatewayArtifactIdentityRevealView.d.ts +60 -0
  203. package/dist/raw/eval/models/GatewayArtifactIdentityRevealView.js +58 -0
  204. package/dist/raw/eval/models/GatewayPageMeta.d.ts +46 -0
  205. package/dist/raw/eval/models/GatewayPageMeta.js +58 -0
  206. package/dist/raw/eval/models/GatewaySourceEnvelope.d.ts +106 -0
  207. package/dist/raw/eval/models/GatewaySourceEnvelope.js +66 -0
  208. package/dist/raw/eval/models/GatewayTraceStatsBucket.d.ts +25 -0
  209. package/dist/raw/eval/models/GatewayTraceStatsBucket.js +53 -0
  210. package/dist/raw/eval/models/GatewayTraceStatsCompareMode.d.ts +25 -0
  211. package/dist/raw/eval/models/GatewayTraceStatsCompareMode.js +53 -0
  212. package/dist/raw/eval/models/GatewayTraceStatsComparison.d.ts +45 -0
  213. package/dist/raw/eval/models/GatewayTraceStatsComparison.js +59 -0
  214. package/dist/raw/eval/models/GatewayTraceStatsData.d.ts +24 -0
  215. package/dist/raw/eval/models/GatewayTraceStatsData.js +64 -0
  216. package/dist/raw/eval/models/GatewayTraceStatsDataOneOf.d.ts +46 -0
  217. package/dist/raw/eval/models/GatewayTraceStatsDataOneOf.js +66 -0
  218. package/dist/raw/eval/models/GatewayTraceStatsDataOneOf1.d.ts +53 -0
  219. package/dist/raw/eval/models/GatewayTraceStatsDataOneOf1.js +71 -0
  220. package/dist/raw/eval/models/GatewayTraceStatsDataOneOf2.d.ts +46 -0
  221. package/dist/raw/eval/models/GatewayTraceStatsDataOneOf2.js +66 -0
  222. package/dist/raw/eval/models/GatewayTraceStatsEnvelope.d.ts +50 -0
  223. package/dist/raw/eval/models/GatewayTraceStatsEnvelope.js +59 -0
  224. package/dist/raw/eval/models/GatewayTraceStatsFilter.d.ts +47 -0
  225. package/dist/raw/eval/models/GatewayTraceStatsFilter.js +59 -0
  226. package/dist/raw/eval/models/GatewayTraceStatsFilterOperator.d.ts +28 -0
  227. package/dist/raw/eval/models/GatewayTraceStatsFilterOperator.js +56 -0
  228. package/dist/raw/eval/models/GatewayTraceStatsFilterValue.d.ts +21 -0
  229. package/dist/raw/eval/models/GatewayTraceStatsFilterValue.js +85 -0
  230. package/dist/raw/eval/models/GatewayTraceStatsGroupBy.d.ts +35 -0
  231. package/dist/raw/eval/models/GatewayTraceStatsGroupBy.js +63 -0
  232. package/dist/raw/eval/models/GatewayTraceStatsMeasure.d.ts +39 -0
  233. package/dist/raw/eval/models/GatewayTraceStatsMeasure.js +67 -0
  234. package/dist/raw/eval/models/GatewayTraceStatsMeta.d.ts +49 -0
  235. package/dist/raw/eval/models/GatewayTraceStatsMeta.js +53 -0
  236. package/dist/raw/eval/models/GatewayTraceStatsOrder.d.ts +40 -0
  237. package/dist/raw/eval/models/GatewayTraceStatsOrder.js +56 -0
  238. package/dist/raw/eval/models/GatewayTraceStatsOrderBy.d.ts +25 -0
  239. package/dist/raw/eval/models/GatewayTraceStatsOrderBy.js +53 -0
  240. package/dist/raw/eval/models/GatewayTraceStatsOrderDirection.d.ts +25 -0
  241. package/dist/raw/eval/models/GatewayTraceStatsOrderDirection.js +53 -0
  242. package/dist/raw/eval/models/GatewayTraceStatsPanelQuery.d.ts +69 -0
  243. package/dist/raw/eval/models/GatewayTraceStatsPanelQuery.js +66 -0
  244. package/dist/raw/eval/models/GatewayTraceStatsRequest.d.ts +80 -0
  245. package/dist/raw/eval/models/GatewayTraceStatsRequest.js +72 -0
  246. package/dist/raw/eval/models/GatewayTraceStatsRequestType.d.ts +26 -0
  247. package/dist/raw/eval/models/GatewayTraceStatsRequestType.js +54 -0
  248. package/dist/raw/eval/models/GatewayTraceStatsScalarResult.d.ts +52 -0
  249. package/dist/raw/eval/models/GatewayTraceStatsScalarResult.js +59 -0
  250. package/dist/raw/eval/models/GatewayTraceStatsSeries.d.ts +52 -0
  251. package/dist/raw/eval/models/GatewayTraceStatsSeries.js +62 -0
  252. package/dist/raw/eval/models/GatewayTraceStatsSeriesPoint.d.ts +38 -0
  253. package/dist/raw/eval/models/GatewayTraceStatsSeriesPoint.js +52 -0
  254. package/dist/raw/eval/models/GatewayTraceStatsTableColumn.d.ts +45 -0
  255. package/dist/raw/eval/models/GatewayTraceStatsTableColumn.js +57 -0
  256. package/dist/raw/eval/models/GatewayTraceStatsTableColumnType.d.ts +25 -0
  257. package/dist/raw/eval/models/GatewayTraceStatsTableColumnType.js +53 -0
  258. package/dist/raw/eval/models/GatewayTraceStatsTableRow.d.ts +38 -0
  259. package/dist/raw/eval/models/GatewayTraceStatsTableRow.js +54 -0
  260. package/dist/raw/eval/models/GatewayTraceStatsWindow.d.ts +38 -0
  261. package/dist/raw/eval/models/GatewayTraceStatsWindow.js +54 -0
  262. package/dist/raw/eval/models/ProblemDetails.d.ts +76 -0
  263. package/dist/raw/eval/models/ProblemDetails.js +64 -0
  264. package/dist/raw/eval/models/RegistryEdgeTarget.d.ts +38 -0
  265. package/dist/raw/eval/models/RegistryEdgeTarget.js +54 -0
  266. package/dist/raw/eval/models/RegistryRelationshipEdge.d.ts +96 -0
  267. package/dist/raw/eval/models/RegistryRelationshipEdge.js +77 -0
  268. package/dist/raw/eval/models/RegistryRelationshipsView.d.ts +45 -0
  269. package/dist/raw/eval/models/RegistryRelationshipsView.js +59 -0
  270. package/dist/raw/eval/models/SpanListEnvelope.d.ts +40 -0
  271. package/dist/raw/eval/models/SpanListEnvelope.js +56 -0
  272. package/dist/raw/eval/models/SpanViewDto.d.ts +217 -0
  273. package/dist/raw/eval/models/SpanViewDto.js +125 -0
  274. package/dist/raw/eval/models/TraceDetailView.d.ts +186 -0
  275. package/dist/raw/eval/models/TraceDetailView.js +110 -0
  276. package/dist/raw/eval/models/TraceLinks.d.ts +45 -0
  277. package/dist/raw/eval/models/TraceLinks.js +58 -0
  278. package/dist/raw/eval/models/TraceListEnvelope.d.ts +47 -0
  279. package/dist/raw/eval/models/TraceListEnvelope.js +61 -0
  280. package/dist/raw/eval/models/TraceParentView.d.ts +68 -0
  281. package/dist/raw/eval/models/TraceParentView.js +64 -0
  282. package/dist/raw/eval/models/TraceStatus.d.ts +26 -0
  283. package/dist/raw/eval/models/TraceStatus.js +54 -0
  284. package/dist/raw/eval/models/TraceSummaryStats.d.ts +62 -0
  285. package/dist/raw/eval/models/TraceSummaryStats.js +62 -0
  286. package/dist/raw/eval/models/TraceSummaryView.d.ts +150 -0
  287. package/dist/raw/eval/models/TraceSummaryView.js +96 -0
  288. package/dist/raw/eval/models/UsageView.d.ts +56 -0
  289. package/dist/raw/eval/models/UsageView.js +66 -0
  290. package/dist/raw/eval/models/index.d.ts +102 -0
  291. package/dist/raw/eval/models/index.js +120 -0
  292. package/dist/raw/eval/runtime.d.ts +185 -0
  293. package/dist/raw/eval/runtime.js +369 -0
  294. package/dist/raw/file/apis/FileApi.d.ts +18 -0
  295. package/dist/raw/file/apis/FileApi.js +25 -1
  296. package/dist/raw/file/models/FileCreateUpload400Response.d.ts +2 -0
  297. package/dist/raw/file/models/FileCreateUpload400Response.js +2 -2
  298. package/dist/raw/file/models/FileCreateUpload413Response.d.ts +2 -1
  299. package/dist/raw/file/models/FileCreateUpload413Response.js +2 -3
  300. package/dist/raw/file/models/FileCreateUpload415Response.d.ts +1 -0
  301. package/dist/raw/file/models/FileCreateUpload415Response.js +1 -2
  302. package/dist/raw/file/models/FileFile.d.ts +4 -0
  303. package/dist/raw/file/models/FileFileArtifact.d.ts +31 -15
  304. package/dist/raw/file/models/FileFileArtifact.js +2 -2
  305. package/dist/raw/file/models/FileIngestUpload400Response.d.ts +2 -1
  306. package/dist/raw/file/models/FileIngestUpload400Response.js +2 -3
  307. package/dist/raw/file/models/FileIngestUpload415Response.d.ts +63 -0
  308. package/dist/raw/file/models/FileIngestUpload415Response.js +75 -0
  309. package/dist/raw/file/models/GatewayArtifactBase.d.ts +27 -15
  310. package/dist/raw/file/models/GatewayArtifactBase.js +2 -2
  311. package/dist/raw/file/models/index.d.ts +1 -0
  312. package/dist/raw/file/models/index.js +1 -0
  313. package/dist/raw/mcp/apis/ServersApi.d.ts +18 -0
  314. package/dist/raw/mcp/apis/ServersApi.js +25 -1
  315. package/dist/raw/mcp/apis/ToolsApi.d.ts +18 -0
  316. package/dist/raw/mcp/apis/ToolsApi.js +25 -1
  317. package/dist/raw/mcp/models/GatewayArtifactBase.d.ts +27 -15
  318. package/dist/raw/mcp/models/GatewayArtifactBase.js +2 -2
  319. package/dist/raw/mcp/models/McpAggregateServers400Response.d.ts +2 -0
  320. package/dist/raw/mcp/models/McpAggregateServers400Response.js +2 -0
  321. package/dist/raw/mcp/models/McpAggregateServers413Response.d.ts +64 -0
  322. package/dist/raw/mcp/models/McpAggregateServers413Response.js +74 -0
  323. package/dist/raw/mcp/models/McpAggregateServers415Response.d.ts +1 -0
  324. package/dist/raw/mcp/models/McpAggregateServers415Response.js +1 -2
  325. package/dist/raw/mcp/models/McpMcpServer.d.ts +27 -0
  326. package/dist/raw/mcp/models/McpMcpServer.js +4 -0
  327. package/dist/raw/mcp/models/McpMcpServerArtifactView.d.ts +54 -15
  328. package/dist/raw/mcp/models/McpMcpServerArtifactView.js +6 -2
  329. package/dist/raw/mcp/models/McpMcpSessionMessage.d.ts +1 -1
  330. package/dist/raw/mcp/models/McpMcpToolArtifactView.d.ts +27 -15
  331. package/dist/raw/mcp/models/McpMcpToolArtifactView.js +2 -2
  332. package/dist/raw/mcp/models/index.d.ts +1 -0
  333. package/dist/raw/mcp/models/index.js +1 -0
  334. package/dist/raw/model/apis/OpenaiApi.d.ts +4 -4
  335. package/dist/raw/model/apis/OpenaiApi.js +4 -4
  336. package/dist/raw/registry/apis/AppsApi.d.ts +159 -0
  337. package/dist/raw/registry/apis/AppsApi.js +385 -0
  338. package/dist/raw/registry/apis/AuthApi.d.ts +2 -2
  339. package/dist/raw/registry/apis/AuthApi.js +2 -2
  340. package/dist/raw/registry/apis/DiscoveryApi.d.ts +27 -0
  341. package/dist/raw/registry/apis/DiscoveryApi.js +37 -1
  342. package/dist/raw/registry/apis/InvitationsApi.d.ts +159 -0
  343. package/dist/raw/registry/apis/InvitationsApi.js +383 -0
  344. package/dist/raw/registry/apis/OrganisationsApi.d.ts +51 -0
  345. package/dist/raw/registry/apis/OrganisationsApi.js +108 -1
  346. package/dist/raw/registry/apis/ReleasesApi.d.ts +199 -0
  347. package/dist/raw/registry/apis/ReleasesApi.js +484 -0
  348. package/dist/raw/registry/apis/ReposApi.d.ts +27 -0
  349. package/dist/raw/registry/apis/ReposApi.js +37 -1
  350. package/dist/raw/registry/apis/RolesApi.d.ts +32 -0
  351. package/dist/raw/registry/apis/RolesApi.js +95 -0
  352. package/dist/raw/registry/apis/ServiceAccountsApi.d.ts +13 -4
  353. package/dist/raw/registry/apis/ServiceAccountsApi.js +17 -5
  354. package/dist/raw/registry/apis/SessionsApi.d.ts +60 -0
  355. package/dist/raw/registry/apis/SessionsApi.js +150 -0
  356. package/dist/raw/registry/apis/UsersApi.d.ts +75 -43
  357. package/dist/raw/registry/apis/UsersApi.js +139 -74
  358. package/dist/raw/registry/apis/WorkspacesApi.d.ts +52 -4
  359. package/dist/raw/registry/apis/WorkspacesApi.js +92 -5
  360. package/dist/raw/registry/apis/index.d.ts +5 -7
  361. package/dist/raw/registry/apis/index.js +5 -7
  362. package/dist/raw/registry/models/{ExtensionJobDto.d.ts → AppActionDto.d.ts} +33 -27
  363. package/dist/raw/registry/models/{ExtensionJobDto.js → AppActionDto.js} +22 -20
  364. package/dist/raw/registry/models/AppActionsPage.d.ts +40 -0
  365. package/dist/raw/registry/models/{PublishersPage.js → AppActionsPage.js} +16 -16
  366. package/dist/raw/registry/models/AppDto.d.ts +174 -0
  367. package/dist/raw/registry/models/AppDto.js +116 -0
  368. package/dist/raw/registry/models/AppsPage.d.ts +40 -0
  369. package/dist/raw/registry/models/{GroupsPage.js → AppsPage.js} +16 -16
  370. package/dist/raw/registry/models/ArtifactView.d.ts +76 -15
  371. package/dist/raw/registry/models/ArtifactView.js +10 -2
  372. package/dist/raw/registry/models/CreateInvitationsRequest.d.ts +33 -0
  373. package/dist/raw/registry/models/CreateInvitationsRequest.js +51 -0
  374. package/dist/raw/registry/models/CutReleaseBody.d.ts +56 -0
  375. package/dist/raw/registry/models/CutReleaseBody.js +56 -0
  376. package/dist/raw/registry/models/EdgeTarget.d.ts +4 -0
  377. package/dist/raw/registry/models/InstallAppBody.d.ts +34 -0
  378. package/dist/raw/registry/models/InstallAppBody.js +48 -0
  379. package/dist/raw/registry/models/IntrospectedIdentity.d.ts +12 -3
  380. package/dist/raw/registry/models/IntrospectedIdentity.js +5 -3
  381. package/dist/raw/registry/models/InvitationDto.d.ts +98 -0
  382. package/dist/raw/registry/models/InvitationDto.js +88 -0
  383. package/dist/raw/registry/models/InvitationSendResult.d.ts +38 -0
  384. package/dist/raw/registry/models/InvitationSendResult.js +54 -0
  385. package/dist/raw/registry/models/InvitationSummaryDto.d.ts +86 -0
  386. package/dist/raw/registry/models/InvitationSummaryDto.js +84 -0
  387. package/dist/raw/registry/models/InvitationsPage.d.ts +40 -0
  388. package/dist/raw/registry/models/{MembershipsPage.js → InvitationsPage.js} +16 -16
  389. package/dist/raw/registry/models/InvitationsResponse.d.ts +33 -0
  390. package/dist/raw/registry/models/InvitationsResponse.js +51 -0
  391. package/dist/raw/registry/models/InviteeRequest.d.ts +44 -0
  392. package/dist/raw/registry/models/InviteeRequest.js +56 -0
  393. package/dist/raw/registry/models/InviteeResult.d.ts +69 -0
  394. package/dist/raw/registry/models/InviteeResult.js +66 -0
  395. package/dist/raw/registry/models/ReconcileAcceptedDto.d.ts +40 -0
  396. package/dist/raw/registry/models/ReconcileAcceptedDto.js +54 -0
  397. package/dist/raw/registry/models/RegistryAggregate400Response.d.ts +2 -0
  398. package/dist/raw/registry/models/RegistryAggregate400Response.js +2 -2
  399. package/dist/raw/registry/models/{RegistryListActionRuns401Response.d.ts → RegistryAggregate401Response.d.ts} +16 -16
  400. package/dist/raw/registry/models/RegistryAggregate401Response.js +89 -0
  401. package/dist/raw/registry/models/RegistryAggregate403Response.d.ts +64 -0
  402. package/dist/raw/registry/models/RegistryAggregate403Response.js +74 -0
  403. package/dist/raw/registry/models/RegistryAggregate413Response.d.ts +64 -0
  404. package/dist/raw/registry/models/RegistryAggregate413Response.js +74 -0
  405. package/dist/raw/registry/models/RegistryAggregate415Response.d.ts +1 -0
  406. package/dist/raw/registry/models/RegistryAggregate415Response.js +1 -2
  407. package/dist/raw/registry/models/RegistryAggregate500Response.d.ts +63 -0
  408. package/dist/raw/registry/models/RegistryAggregate500Response.js +75 -0
  409. package/dist/raw/registry/models/RegistryAggregate503Response.d.ts +64 -0
  410. package/dist/raw/registry/models/RegistryAggregate503Response.js +74 -0
  411. package/dist/raw/registry/models/RegistryAggregate504Response.d.ts +63 -0
  412. package/dist/raw/registry/models/RegistryAggregate504Response.js +75 -0
  413. package/dist/raw/registry/models/RegistryAggregateKind404Response.d.ts +63 -0
  414. package/dist/raw/registry/models/{RegistryGetActionRun404Response.js → RegistryAggregateKind404Response.js} +18 -18
  415. package/dist/raw/registry/models/RegistryCreateServiceAccount400Response.d.ts +66 -0
  416. package/dist/raw/registry/models/RegistryCreateServiceAccount400Response.js +76 -0
  417. package/dist/raw/registry/models/RegistryInstallApp409Response.d.ts +63 -0
  418. package/dist/raw/registry/models/RegistryInstallApp409Response.js +75 -0
  419. package/dist/raw/registry/models/RegistryListApps400Response.d.ts +63 -0
  420. package/dist/raw/registry/models/RegistryListApps400Response.js +75 -0
  421. package/dist/raw/registry/models/RegistryListApps503Response.d.ts +65 -0
  422. package/dist/raw/registry/models/RegistryListApps503Response.js +75 -0
  423. package/dist/raw/registry/models/RegistryListArtifactReleases400Response.d.ts +63 -0
  424. package/dist/raw/registry/models/RegistryListArtifactReleases400Response.js +75 -0
  425. package/dist/raw/registry/models/RegistryListUserTraces503Response.d.ts +66 -0
  426. package/dist/raw/registry/models/RegistryListUserTraces503Response.js +76 -0
  427. package/dist/raw/registry/models/RegistryRevokeOwnSessions400Response.d.ts +64 -0
  428. package/dist/raw/registry/models/RegistryRevokeOwnSessions400Response.js +74 -0
  429. package/dist/raw/registry/models/RegistryRevokeOwnSessions415Response.d.ts +63 -0
  430. package/dist/raw/registry/models/RegistryRevokeOwnSessions415Response.js +75 -0
  431. package/dist/raw/registry/models/RegistryWhoami503Response.d.ts +66 -0
  432. package/dist/raw/registry/models/RegistryWhoami503Response.js +76 -0
  433. package/dist/raw/registry/models/RegistryWorkspacePluginRef.d.ts +61 -0
  434. package/dist/raw/registry/models/RegistryWorkspacePluginRef.js +62 -0
  435. package/dist/raw/registry/models/RegistryWorkspaceRecommendation.d.ts +66 -0
  436. package/dist/raw/registry/models/RegistryWorkspaceRecommendation.js +64 -0
  437. package/dist/raw/registry/models/RegistryWorkspaceRecommendationReason.d.ts +29 -0
  438. package/dist/raw/registry/models/RegistryWorkspaceRecommendationReason.js +57 -0
  439. package/dist/raw/registry/models/RegistryWorkspaceView.d.ts +33 -0
  440. package/dist/raw/registry/models/RegistryWorkspaceView.js +7 -0
  441. package/dist/raw/registry/models/RelationshipsView.d.ts +5 -1
  442. package/dist/raw/registry/models/ReleaseDto.d.ts +123 -0
  443. package/dist/raw/registry/models/ReleaseDto.js +100 -0
  444. package/dist/raw/registry/models/ReleasePage.d.ts +40 -0
  445. package/dist/raw/registry/models/{BudgetsPage.js → ReleasePage.js} +16 -16
  446. package/dist/raw/registry/models/ReleasePolicyDto.d.ts +76 -0
  447. package/dist/raw/registry/models/ReleasePolicyDto.js +78 -0
  448. package/dist/raw/registry/models/RoleDto.d.ts +38 -0
  449. package/dist/raw/registry/models/RoleDto.js +54 -0
  450. package/dist/raw/registry/models/RoleListDto.d.ts +33 -0
  451. package/dist/raw/registry/models/RoleListDto.js +51 -0
  452. package/dist/raw/registry/models/ServiceAccountDto.d.ts +5 -1
  453. package/dist/raw/registry/models/SetReleasePolicyBody.d.ts +55 -0
  454. package/dist/raw/registry/models/SetReleasePolicyBody.js +54 -0
  455. package/dist/raw/registry/models/SetTraceContentPolicyDto.d.ts +34 -0
  456. package/dist/raw/registry/models/SetTraceContentPolicyDto.js +48 -0
  457. package/dist/raw/registry/models/SpanViewDto.d.ts +25 -0
  458. package/dist/raw/registry/models/SpanViewDto.js +8 -0
  459. package/dist/raw/registry/models/TraceContentDeletionDto.d.ts +32 -0
  460. package/dist/raw/registry/models/TraceContentDeletionDto.js +50 -0
  461. package/dist/raw/registry/models/TraceContentPolicyDto.d.ts +48 -0
  462. package/dist/raw/registry/models/TraceContentPolicyDto.js +52 -0
  463. package/dist/raw/registry/models/TraceDetailView.d.ts +9 -0
  464. package/dist/raw/registry/models/TraceDetailView.js +2 -0
  465. package/dist/raw/registry/models/UpdateInvitationRequest.d.ts +38 -0
  466. package/dist/raw/registry/models/UpdateInvitationRequest.js +50 -0
  467. package/dist/raw/registry/models/UpgradeAppBody.d.ts +37 -0
  468. package/dist/raw/registry/models/UpgradeAppBody.js +48 -0
  469. package/dist/raw/registry/models/UserDirectoryDto.d.ts +55 -0
  470. package/dist/raw/registry/models/UserDirectoryDto.js +58 -0
  471. package/dist/raw/registry/models/UsersPage.d.ts +3 -3
  472. package/dist/raw/registry/models/UsersPage.js +3 -3
  473. package/dist/raw/registry/models/WhoamiResponse.d.ts +12 -3
  474. package/dist/raw/registry/models/WhoamiResponse.js +5 -3
  475. package/dist/raw/registry/models/WithdrawBody.d.ts +33 -0
  476. package/dist/raw/registry/models/WithdrawBody.js +48 -0
  477. package/dist/raw/registry/models/WorkspaceInvitationListDto.d.ts +33 -0
  478. package/dist/raw/registry/models/WorkspaceInvitationListDto.js +51 -0
  479. package/dist/raw/registry/models/WorkspaceInvitationRow.d.ts +44 -0
  480. package/dist/raw/registry/models/WorkspaceInvitationRow.js +58 -0
  481. package/dist/raw/registry/models/WorkspaceRecommendationsPage.d.ts +40 -0
  482. package/dist/raw/registry/models/WorkspaceRecommendationsPage.js +56 -0
  483. package/dist/raw/registry/models/index.d.ts +50 -50
  484. package/dist/raw/registry/models/index.js +50 -50
  485. package/dist/raw/skill/apis/SkillApi.d.ts +65 -10
  486. package/dist/raw/skill/apis/SkillApi.js +86 -11
  487. package/dist/raw/skill/models/GatewayArtifactBase.d.ts +27 -15
  488. package/dist/raw/skill/models/GatewayArtifactBase.js +2 -2
  489. package/dist/raw/skill/models/GatewayTraceStatsGroupBy.d.ts +5 -1
  490. package/dist/raw/skill/models/GatewayTraceStatsGroupBy.js +4 -0
  491. package/dist/raw/skill/models/GatewayTraceStatsMeasure.d.ts +3 -1
  492. package/dist/raw/skill/models/GatewayTraceStatsMeasure.js +2 -0
  493. package/dist/raw/skill/models/SkillAggregate400Response.d.ts +2 -0
  494. package/dist/raw/skill/models/SkillAggregate400Response.js +2 -2
  495. package/dist/raw/skill/models/SkillAggregate415Response.d.ts +1 -0
  496. package/dist/raw/skill/models/SkillAggregate415Response.js +1 -2
  497. package/dist/raw/skill/models/SkillCreate400Response.d.ts +2 -1
  498. package/dist/raw/skill/models/SkillCreate400Response.js +2 -3
  499. package/dist/raw/skill/models/SkillCreate413Response.d.ts +64 -0
  500. package/dist/raw/skill/models/SkillCreate413Response.js +74 -0
  501. package/dist/raw/skill/models/SkillCreate415Response.d.ts +63 -0
  502. package/dist/raw/skill/models/SkillCreate415Response.js +75 -0
  503. package/dist/raw/skill/models/SkillQuerySkillTraceStats400Response.d.ts +2 -0
  504. package/dist/raw/skill/models/SkillQuerySkillTraceStats400Response.js +2 -0
  505. package/dist/raw/skill/models/SkillSkill.d.ts +6 -7
  506. package/dist/raw/skill/models/SkillSkillArtifactView.d.ts +33 -22
  507. package/dist/raw/skill/models/SkillSkillArtifactView.js +2 -2
  508. package/dist/raw/skill/models/SpanViewDto.d.ts +25 -0
  509. package/dist/raw/skill/models/SpanViewDto.js +8 -0
  510. package/dist/raw/skill/models/TraceDetailView.d.ts +9 -0
  511. package/dist/raw/skill/models/TraceDetailView.js +2 -0
  512. package/dist/raw/skill/models/index.d.ts +2 -0
  513. package/dist/raw/skill/models/index.js +2 -0
  514. package/dist/resources.d.ts +6 -1
  515. package/dist/resources.js +9 -6
  516. package/dist/resources.json +586 -296
  517. package/dist/tracing/client.d.ts +2 -0
  518. package/dist/tracing/client.js +13 -4
  519. package/dist/tracing/compat.d.ts +82 -0
  520. package/dist/tracing/compat.js +128 -0
  521. package/dist/tracing/index.d.ts +2 -0
  522. package/dist/tracing/index.js +13 -1
  523. package/dist/tracing/integrations.d.ts +35 -0
  524. package/dist/tracing/integrations.js +95 -0
  525. package/dist/tracing/propagation.d.ts +1 -0
  526. package/dist/tracing/propagation.js +7 -0
  527. package/dist/tracing/semconv.d.ts +8 -1
  528. package/dist/tracing/semconv.js +27 -13
  529. package/dist/tracing/spans.d.ts +12 -4
  530. package/dist/tracing/spans.js +36 -13
  531. package/dist/tracing/version.d.ts +1 -1
  532. package/dist/tracing/version.js +1 -1
  533. package/package.json +1 -1
  534. package/dist/raw/registry/apis/ActionsApi.d.ts +0 -68
  535. package/dist/raw/registry/apis/ActionsApi.js +0 -181
  536. package/dist/raw/registry/apis/CatalogApi.d.ts +0 -98
  537. package/dist/raw/registry/apis/CatalogApi.js +0 -259
  538. package/dist/raw/registry/apis/DetectedUsersApi.d.ts +0 -89
  539. package/dist/raw/registry/apis/DetectedUsersApi.js +0 -239
  540. package/dist/raw/registry/apis/ExtensionsApi.d.ts +0 -68
  541. package/dist/raw/registry/apis/ExtensionsApi.js +0 -181
  542. package/dist/raw/registry/apis/GroupsApi.d.ts +0 -68
  543. package/dist/raw/registry/apis/GroupsApi.js +0 -181
  544. package/dist/raw/registry/apis/ProjectsApi.d.ts +0 -159
  545. package/dist/raw/registry/apis/ProjectsApi.js +0 -402
  546. package/dist/raw/registry/apis/UsageApi.d.ts +0 -134
  547. package/dist/raw/registry/apis/UsageApi.js +0 -349
  548. package/dist/raw/registry/models/ActionRunDto.d.ts +0 -99
  549. package/dist/raw/registry/models/ActionRunDto.js +0 -86
  550. package/dist/raw/registry/models/ActionRunJobDto.d.ts +0 -92
  551. package/dist/raw/registry/models/ActionRunJobDto.js +0 -78
  552. package/dist/raw/registry/models/ActionRunJobsPage.d.ts +0 -40
  553. package/dist/raw/registry/models/ActionRunJobsPage.js +0 -56
  554. package/dist/raw/registry/models/ActionRunsPage.d.ts +0 -40
  555. package/dist/raw/registry/models/ActionRunsPage.js +0 -56
  556. package/dist/raw/registry/models/AvailableExtensionDto.d.ts +0 -123
  557. package/dist/raw/registry/models/AvailableExtensionDto.js +0 -96
  558. package/dist/raw/registry/models/AvailableExtensionsPage.d.ts +0 -40
  559. package/dist/raw/registry/models/AvailableExtensionsPage.js +0 -56
  560. package/dist/raw/registry/models/BudgetDto.d.ts +0 -111
  561. package/dist/raw/registry/models/BudgetDto.js +0 -96
  562. package/dist/raw/registry/models/BudgetsPage.d.ts +0 -40
  563. package/dist/raw/registry/models/CreateBudgetBody.d.ts +0 -86
  564. package/dist/raw/registry/models/CreateBudgetBody.js +0 -78
  565. package/dist/raw/registry/models/CreateProjectBody.d.ts +0 -56
  566. package/dist/raw/registry/models/CreateProjectBody.js +0 -60
  567. package/dist/raw/registry/models/DetectedUserDto.d.ts +0 -84
  568. package/dist/raw/registry/models/DetectedUserDto.js +0 -74
  569. package/dist/raw/registry/models/DetectedUsersPage.d.ts +0 -40
  570. package/dist/raw/registry/models/DetectedUsersPage.js +0 -56
  571. package/dist/raw/registry/models/ExtensionJobsPage.d.ts +0 -40
  572. package/dist/raw/registry/models/ExtensionJobsPage.js +0 -56
  573. package/dist/raw/registry/models/ExtensionVersionDto.d.ts +0 -50
  574. package/dist/raw/registry/models/ExtensionVersionDto.js +0 -58
  575. package/dist/raw/registry/models/ExtensionVersionsPage.d.ts +0 -40
  576. package/dist/raw/registry/models/ExtensionVersionsPage.js +0 -56
  577. package/dist/raw/registry/models/GroupMemberDto.d.ts +0 -44
  578. package/dist/raw/registry/models/GroupMemberDto.js +0 -58
  579. package/dist/raw/registry/models/GroupMembersPage.d.ts +0 -40
  580. package/dist/raw/registry/models/GroupMembersPage.js +0 -56
  581. package/dist/raw/registry/models/GroupsPage.d.ts +0 -40
  582. package/dist/raw/registry/models/InstalledExtensionDto.d.ts +0 -80
  583. package/dist/raw/registry/models/InstalledExtensionDto.js +0 -82
  584. package/dist/raw/registry/models/InstalledExtensionsPage.d.ts +0 -40
  585. package/dist/raw/registry/models/InstalledExtensionsPage.js +0 -56
  586. package/dist/raw/registry/models/MembershipDto.d.ts +0 -60
  587. package/dist/raw/registry/models/MembershipDto.js +0 -66
  588. package/dist/raw/registry/models/MembershipsPage.d.ts +0 -40
  589. package/dist/raw/registry/models/PatchBudgetBody.d.ts +0 -62
  590. package/dist/raw/registry/models/PatchBudgetBody.js +0 -58
  591. package/dist/raw/registry/models/PatchProjectBody.d.ts +0 -50
  592. package/dist/raw/registry/models/PatchProjectBody.js +0 -54
  593. package/dist/raw/registry/models/PatchUserBody.d.ts +0 -35
  594. package/dist/raw/registry/models/PatchUserBody.js +0 -48
  595. package/dist/raw/registry/models/ProjectBulkCreateRequest.d.ts +0 -33
  596. package/dist/raw/registry/models/ProjectBulkCreateRequest.js +0 -51
  597. package/dist/raw/registry/models/ProjectDto.d.ts +0 -102
  598. package/dist/raw/registry/models/ProjectDto.js +0 -92
  599. package/dist/raw/registry/models/ProjectExport.d.ts +0 -49
  600. package/dist/raw/registry/models/ProjectExport.js +0 -59
  601. package/dist/raw/registry/models/ProjectSlot.d.ts +0 -54
  602. package/dist/raw/registry/models/ProjectSlot.js +0 -60
  603. package/dist/raw/registry/models/ProjectsBulkResponse.d.ts +0 -40
  604. package/dist/raw/registry/models/ProjectsBulkResponse.js +0 -51
  605. package/dist/raw/registry/models/ProjectsPage.d.ts +0 -40
  606. package/dist/raw/registry/models/ProjectsPage.js +0 -56
  607. package/dist/raw/registry/models/PublisherDto.d.ts +0 -80
  608. package/dist/raw/registry/models/PublisherDto.js +0 -76
  609. package/dist/raw/registry/models/PublishersPage.d.ts +0 -40
  610. package/dist/raw/registry/models/RegistryCreateServiceAccount409Response.d.ts +0 -63
  611. package/dist/raw/registry/models/RegistryCreateServiceAccount409Response.js +0 -75
  612. package/dist/raw/registry/models/RegistryGetActionRun404Response.d.ts +0 -63
  613. package/dist/raw/registry/models/RegistryListActionRuns400Response.d.ts +0 -63
  614. package/dist/raw/registry/models/RegistryListActionRuns400Response.js +0 -75
  615. package/dist/raw/registry/models/RegistryListActionRuns401Response.js +0 -89
  616. package/dist/raw/registry/models/RegistryListActionRuns403Response.d.ts +0 -64
  617. package/dist/raw/registry/models/RegistryListActionRuns403Response.js +0 -74
  618. package/dist/raw/registry/models/RegistryListActionRuns500Response.d.ts +0 -63
  619. package/dist/raw/registry/models/RegistryListActionRuns500Response.js +0 -75
  620. package/dist/raw/registry/models/RegistryListActionRuns503Response.d.ts +0 -64
  621. package/dist/raw/registry/models/RegistryListActionRuns503Response.js +0 -74
  622. package/dist/raw/registry/models/RegistryListActionRuns504Response.d.ts +0 -63
  623. package/dist/raw/registry/models/RegistryListActionRuns504Response.js +0 -75
  624. package/dist/raw/registry/models/RegistryListUserTraces400Response.d.ts +0 -63
  625. package/dist/raw/registry/models/RegistryListUserTraces400Response.js +0 -75
  626. package/dist/raw/registry/models/RegistryListWorkspaces503Response.d.ts +0 -65
  627. package/dist/raw/registry/models/RegistryListWorkspaces503Response.js +0 -75
  628. package/dist/raw/registry/models/UpdateDetectedUserRequest.d.ts +0 -48
  629. package/dist/raw/registry/models/UpdateDetectedUserRequest.js +0 -52
  630. package/dist/raw/registry/models/UsageCounters.d.ts +0 -78
  631. package/dist/raw/registry/models/UsageCounters.js +0 -78
  632. package/dist/raw/registry/models/UsageDayDto.d.ts +0 -129
  633. package/dist/raw/registry/models/UsageDayDto.js +0 -114
  634. package/dist/raw/registry/models/UsageDaysPage.d.ts +0 -40
  635. package/dist/raw/registry/models/UsageDaysPage.js +0 -56
  636. package/dist/raw/registry/models/UsageMinuteDto.d.ts +0 -136
  637. package/dist/raw/registry/models/UsageMinuteDto.js +0 -118
  638. package/dist/raw/registry/models/UsageMinutesPage.d.ts +0 -40
  639. package/dist/raw/registry/models/UsageMinutesPage.js +0 -56
@@ -10,14 +10,18 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import { type MembershipsPage } from '../models/MembershipsPage';
14
13
  import { type OnboardResponse } from '../models/OnboardResponse';
15
- import { type PatchUserBody } from '../models/PatchUserBody';
16
14
  import { type SpanListEnvelope } from '../models/SpanListEnvelope';
15
+ import { type TraceContentDeletionDto } from '../models/TraceContentDeletionDto';
17
16
  import { type TraceDetailView } from '../models/TraceDetailView';
18
17
  import { type TraceListEnvelope } from '../models/TraceListEnvelope';
19
- import { type UserDto } from '../models/UserDto';
18
+ import { type UserDirectoryDto } from '../models/UserDirectoryDto';
20
19
  import { type UsersPage } from '../models/UsersPage';
20
+ export interface RegistryDeleteUserTraceContentRequest {
21
+ userId: string;
22
+ traceId: string;
23
+ workspaceId: string;
24
+ }
21
25
  export interface RegistryGetUserRequest {
22
26
  userId: string;
23
27
  }
@@ -25,9 +29,6 @@ export interface RegistryGetUserTraceRequest {
25
29
  userId: string;
26
30
  traceId: string;
27
31
  }
28
- export interface RegistryListUserMembershipsRequest {
29
- userId: string;
30
- }
31
32
  export interface RegistryListUserTraceSpansRequest {
32
33
  userId: string;
33
34
  traceId: string;
@@ -46,29 +47,58 @@ export interface RegistryListUserTracesRequest {
46
47
  export interface RegistryQueryUserTraceStatsRequest {
47
48
  userId: string;
48
49
  body: any | null;
50
+ contentEncoding?: RegistryQueryUserTraceStatsContentEncodingEnum;
49
51
  }
50
- export interface RegistryUpdateUserRequest {
51
- userId: string;
52
- patchUserBody: PatchUserBody;
52
+ export interface RegistryUpdateOwnUserRequest {
53
+ requestBody: Array<number>;
54
+ contentEncoding?: RegistryUpdateOwnUserContentEncodingEnum;
53
55
  }
54
56
  /**
55
57
  *
56
58
  */
57
59
  export declare class UsersApi extends runtime.BaseAPI {
60
+ /**
61
+ * Creates request options for registryDeleteUserTraceContent without sending the request
62
+ */
63
+ registryDeleteUserTraceContentRequestOpts(requestParameters: RegistryDeleteUserTraceContentRequest): Promise<runtime.RequestOpts>;
64
+ /**
65
+ * The content plane\'s deletion: one transaction tombstones the control row, nulls the manifest and the content-derived title, writes the `trace_content_delete` audit row, and enqueues the physical object deletions — so the commit IS the deletion, every read is structure-only from that moment, and the bytes follow within the executor\'s retry budget. Permanent: a late-arriving part for a deleted trace is refused, and re-approval does not resurrect it. The trace\'s STRUCTURE — the timeline, counts, costs — is untouched, deliberately. Allowed to the trace\'s creator and to an org admin; the `user_id` in the path must be the creator, so an admin deleting on someone\'s behalf addresses the trace under that person.
66
+ * Delete one trace\'s stored content
67
+ */
68
+ registryDeleteUserTraceContentRaw(requestParameters: RegistryDeleteUserTraceContentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TraceContentDeletionDto>>;
69
+ /**
70
+ * The content plane\'s deletion: one transaction tombstones the control row, nulls the manifest and the content-derived title, writes the `trace_content_delete` audit row, and enqueues the physical object deletions — so the commit IS the deletion, every read is structure-only from that moment, and the bytes follow within the executor\'s retry budget. Permanent: a late-arriving part for a deleted trace is refused, and re-approval does not resurrect it. The trace\'s STRUCTURE — the timeline, counts, costs — is untouched, deliberately. Allowed to the trace\'s creator and to an org admin; the `user_id` in the path must be the creator, so an admin deleting on someone\'s behalf addresses the trace under that person.
71
+ * Delete one trace\'s stored content
72
+ */
73
+ registryDeleteUserTraceContent(requestParameters: RegistryDeleteUserTraceContentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TraceContentDeletionDto>;
74
+ /**
75
+ * Creates request options for registryGetOwnUser without sending the request
76
+ */
77
+ registryGetOwnUserRequestOpts(): Promise<runtime.RequestOpts>;
78
+ /**
79
+ * The caller\'s own profile, proxied to the control plane verbatim. The registry\'s own account `role` and its advisory `permissions` are **not** merged here — read them from `GET /auth/whoami`. Authenticated only — no role check, because the control plane resolves \"me\" from the asserted bearer.
80
+ * Get the caller\'s own user record
81
+ */
82
+ registryGetOwnUserRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
83
+ /**
84
+ * The caller\'s own profile, proxied to the control plane verbatim. The registry\'s own account `role` and its advisory `permissions` are **not** merged here — read them from `GET /auth/whoami`. Authenticated only — no role check, because the control plane resolves \"me\" from the asserted bearer.
85
+ * Get the caller\'s own user record
86
+ */
87
+ registryGetOwnUser(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
58
88
  /**
59
89
  * Creates request options for registryGetUser without sending the request
60
90
  */
61
91
  registryGetUserRequestOpts(requestParameters: RegistryGetUserRequest): Promise<runtime.RequestOpts>;
62
92
  /**
63
- * One directory row by principal id. The id is the identity provider\'s subject, not a minted handle, so it carries no prefix to strip.
64
- * Get a directory user
93
+ * One of the account\'s users by id, read natively from the registry. Any account member may read (`members_view`). Carries the user\'s account `role`; an unassigned user reads as `member`.
94
+ * Get a user
65
95
  */
66
- registryGetUserRaw(requestParameters: RegistryGetUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UserDto>>;
96
+ registryGetUserRaw(requestParameters: RegistryGetUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UserDirectoryDto>>;
67
97
  /**
68
- * One directory row by principal id. The id is the identity provider\'s subject, not a minted handle, so it carries no prefix to strip.
69
- * Get a directory user
98
+ * One of the account\'s users by id, read natively from the registry. Any account member may read (`members_view`). Carries the user\'s account `role`; an unassigned user reads as `member`.
99
+ * Get a user
70
100
  */
71
- registryGetUser(requestParameters: RegistryGetUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserDto>;
101
+ registryGetUser(requestParameters: RegistryGetUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserDirectoryDto>;
72
102
  /**
73
103
  * Creates request options for registryGetUserTrace without sending the request
74
104
  */
@@ -83,20 +113,6 @@ export declare class UsersApi extends runtime.BaseAPI {
83
113
  * Read one of this person\'s traces
84
114
  */
85
115
  registryGetUserTrace(requestParameters: RegistryGetUserTraceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TraceDetailView>;
86
- /**
87
- * Creates request options for registryListUserMemberships without sending the request
88
- */
89
- registryListUserMembershipsRequestOpts(requestParameters: RegistryListUserMembershipsRequest): Promise<runtime.RequestOpts>;
90
- /**
91
- * The roster read from the other end: which workspaces this person is seated in. **Bounded by the caller\'s own reach, not the subject\'s** — the page is resolved over the workspaces the caller can **read**, so asking about somebody else cannot reveal a workspace the caller has no access to. A subject seated only in workspaces the caller cannot see returns an empty page, which is the correct answer and deliberately not a 403: the alternative leaks that the seat exists. Fields: `workspace_id`, `user_id`, `role`, `added_by`, `added_at`, `updated_at`.
92
- * List a user\'s workspace memberships
93
- */
94
- registryListUserMembershipsRaw(requestParameters: RegistryListUserMembershipsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MembershipsPage>>;
95
- /**
96
- * The roster read from the other end: which workspaces this person is seated in. **Bounded by the caller\'s own reach, not the subject\'s** — the page is resolved over the workspaces the caller can **read**, so asking about somebody else cannot reveal a workspace the caller has no access to. A subject seated only in workspaces the caller cannot see returns an empty page, which is the correct answer and deliberately not a 403: the alternative leaks that the seat exists. Fields: `workspace_id`, `user_id`, `role`, `added_by`, `added_at`, `updated_at`.
97
- * List a user\'s workspace memberships
98
- */
99
- registryListUserMemberships(requestParameters: RegistryListUserMembershipsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MembershipsPage>;
100
116
  /**
101
117
  * Creates request options for registryListUserTraceSpans without sending the request
102
118
  */
@@ -130,13 +146,13 @@ export declare class UsersApi extends runtime.BaseAPI {
130
146
  */
131
147
  registryListUsersRequestOpts(): Promise<runtime.RequestOpts>;
132
148
  /**
133
- * A page of the account\'s directory. Supports the shared query grammar over `user_id`, `name`, `email`, `created_at` and `updated_at`; `q=` searches the three identifiers. Ordered by name, not by recency a directory is browsed, and `updated_at` here moves when a token refreshes.
134
- * List directory users
149
+ * A page of the account\'s users, read natively from the registry. Any account member may read (`members_view`). Each row carries its account `role` (`admin` or `member`); an unassigned user reads as `member`. Supports the shared query grammar over `user_id`, `name`, `email`, `created_at` and `updated_at`.
150
+ * List users
135
151
  */
136
152
  registryListUsersRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UsersPage>>;
137
153
  /**
138
- * A page of the account\'s directory. Supports the shared query grammar over `user_id`, `name`, `email`, `created_at` and `updated_at`; `q=` searches the three identifiers. Ordered by name, not by recency a directory is browsed, and `updated_at` here moves when a token refreshes.
139
- * List directory users
154
+ * A page of the account\'s users, read natively from the registry. Any account member may read (`members_view`). Each row carries its account `role` (`admin` or `member`); an unassigned user reads as `member`. Supports the shared query grammar over `user_id`, `name`, `email`, `created_at` and `updated_at`.
155
+ * List users
140
156
  */
141
157
  registryListUsers(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UsersPage>;
142
158
  /**
@@ -144,12 +160,12 @@ export declare class UsersApi extends runtime.BaseAPI {
144
160
  */
145
161
  registryOnboardRequestOpts(): Promise<runtime.RequestOpts>;
146
162
  /**
147
- * Scaffold the calling account and the caller\'s personal workspace: the account\'s shared root, the caller\'s own private root, their directory row, their groups, and the account membership every other read is gated on. **This is the first call a new caller makes.** Before it, the caller holds no account membership, so every account-scoped read answers `403` and the caller has no workspace to create anything in. **It also installs the deployment\'s extensions**, in dependency order, for any of them this account does not have yet — firing each one\'s `pre_install` gate and seeding `post_install` hook under **your** bearer, exactly as `POST /extensions/{extension}/install` does. On a brand-new account that is the whole set; on an existing one it is usually none, so a repeat onboard fires no install hooks at all. An account whose installs were interrupted completes on its next onboard. **Idempotent.** A repeat call re-reads what exists and answers `200` with the same assets and `is_created: false`. It also re-asserts the caller\'s access relationships, so a relationship lost to a partial earlier run heals on the next call rather than needing repair. The caller\'s role on the **shared** root is `admin` for whoever created the account and `member` for everyone after them, and a re-onboard preserves whatever the roster says — a caller whose role was changed is not restored to `admin` by signing in again.
163
+ * Scaffold the calling account and the caller\'s personal workspace: the account\'s shared root, the caller\'s own private root, their directory row, their groups, and the account membership every other read is gated on. **This is the first call a new caller makes.** Before it, the caller holds no account membership, so every account-scoped read answers `403` and the caller has no workspace to create anything in. **It also installs the deployment\'s extensions**, in dependency order, for any of them this account does not have yet — firing each one\'s `pre_install` gate and seeding `post_install` hook under **your** bearer, exactly as `POST /extensions/{extension}/install` does. On a brand-new account that is the whole set; on an existing one it is usually none, so a repeat onboard fires no install hooks at all. An account whose installs were interrupted completes on its next onboard. **Idempotent.** A repeat call re-reads what exists and answers `200` with the same assets and `is_created: false`. It also re-asserts the caller\'s access relationships, so a relationship lost to a partial earlier run heals on the next call rather than needing repair. The caller\'s role on the **shared** root is `admin` for whoever created the account and `member` for everyone after them, and a re-onboard preserves whatever the roster says — a caller whose role was changed is not restored to `admin` by signing in again. **A machine identity may not call this**, and gets `403`. Account membership is held by people; a service account, an agent\'s own identity and an action identity each already hold whatever seats they were granted where they were provisioned.
148
164
  * Onboard the caller
149
165
  */
150
166
  registryOnboardRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<OnboardResponse>>;
151
167
  /**
152
- * Scaffold the calling account and the caller\'s personal workspace: the account\'s shared root, the caller\'s own private root, their directory row, their groups, and the account membership every other read is gated on. **This is the first call a new caller makes.** Before it, the caller holds no account membership, so every account-scoped read answers `403` and the caller has no workspace to create anything in. **It also installs the deployment\'s extensions**, in dependency order, for any of them this account does not have yet — firing each one\'s `pre_install` gate and seeding `post_install` hook under **your** bearer, exactly as `POST /extensions/{extension}/install` does. On a brand-new account that is the whole set; on an existing one it is usually none, so a repeat onboard fires no install hooks at all. An account whose installs were interrupted completes on its next onboard. **Idempotent.** A repeat call re-reads what exists and answers `200` with the same assets and `is_created: false`. It also re-asserts the caller\'s access relationships, so a relationship lost to a partial earlier run heals on the next call rather than needing repair. The caller\'s role on the **shared** root is `admin` for whoever created the account and `member` for everyone after them, and a re-onboard preserves whatever the roster says — a caller whose role was changed is not restored to `admin` by signing in again.
168
+ * Scaffold the calling account and the caller\'s personal workspace: the account\'s shared root, the caller\'s own private root, their directory row, their groups, and the account membership every other read is gated on. **This is the first call a new caller makes.** Before it, the caller holds no account membership, so every account-scoped read answers `403` and the caller has no workspace to create anything in. **It also installs the deployment\'s extensions**, in dependency order, for any of them this account does not have yet — firing each one\'s `pre_install` gate and seeding `post_install` hook under **your** bearer, exactly as `POST /extensions/{extension}/install` does. On a brand-new account that is the whole set; on an existing one it is usually none, so a repeat onboard fires no install hooks at all. An account whose installs were interrupted completes on its next onboard. **Idempotent.** A repeat call re-reads what exists and answers `200` with the same assets and `is_created: false`. It also re-asserts the caller\'s access relationships, so a relationship lost to a partial earlier run heals on the next call rather than needing repair. The caller\'s role on the **shared** root is `admin` for whoever created the account and `member` for everyone after them, and a re-onboard preserves whatever the roster says — a caller whose role was changed is not restored to `admin` by signing in again. **A machine identity may not call this**, and gets `403`. Account membership is held by people; a service account, an agent\'s own identity and an action identity each already hold whatever seats they were granted where they were provisioned.
153
169
  * Onboard the caller
154
170
  */
155
171
  registryOnboard(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<OnboardResponse>;
@@ -168,17 +184,33 @@ export declare class UsersApi extends runtime.BaseAPI {
168
184
  */
169
185
  registryQueryUserTraceStats(requestParameters: RegistryQueryUserTraceStatsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
170
186
  /**
171
- * Creates request options for registryUpdateUser without sending the request
187
+ * Creates request options for registryUpdateOwnUser without sending the request
172
188
  */
173
- registryUpdateUserRequestOpts(requestParameters: RegistryUpdateUserRequest): Promise<runtime.RequestOpts>;
189
+ registryUpdateOwnUserRequestOpts(requestParameters: RegistryUpdateOwnUserRequest): Promise<runtime.RequestOpts>;
174
190
  /**
175
- * The whole write surface of this table. **Self only**: every org member holds the one organization permission, so the check that keeps one member out of another\'s row is a domain rule and a 403, not a missing permission. `enrichment: null` clears the blob.
176
- * Replace a user\'s enrichment
191
+ * Update the caller\'s own user record, proxied to the control plane. Authenticated only; the control plane resolves \"me\" from the asserted bearer.
192
+ * Update the caller\'s own user record
177
193
  */
178
- registryUpdateUserRaw(requestParameters: RegistryUpdateUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UserDto>>;
194
+ registryUpdateOwnUserRaw(requestParameters: RegistryUpdateOwnUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
179
195
  /**
180
- * The whole write surface of this table. **Self only**: every org member holds the one organization permission, so the check that keeps one member out of another\'s row is a domain rule and a 403, not a missing permission. `enrichment: null` clears the blob.
181
- * Replace a user\'s enrichment
196
+ * Update the caller\'s own user record, proxied to the control plane. Authenticated only; the control plane resolves \"me\" from the asserted bearer.
197
+ * Update the caller\'s own user record
182
198
  */
183
- registryUpdateUser(requestParameters: RegistryUpdateUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserDto>;
199
+ registryUpdateOwnUser(requestParameters: RegistryUpdateOwnUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
200
+ }
201
+ /**
202
+ * @export
203
+ * @enum {string}
204
+ */
205
+ export declare enum RegistryQueryUserTraceStatsContentEncodingEnum {
206
+ Base64 = "base64",
207
+ GzipBase64 = "gzip, base64"
208
+ }
209
+ /**
210
+ * @export
211
+ * @enum {string}
212
+ */
213
+ export declare enum RegistryUpdateOwnUserContentEncodingEnum {
214
+ Base64 = "base64",
215
+ GzipBase64 = "gzip, base64"
184
216
  }
@@ -46,28 +46,36 @@ var __importStar = (this && this.__importStar) || (function () {
46
46
  };
47
47
  })();
48
48
  Object.defineProperty(exports, "__esModule", { value: true });
49
- exports.UsersApi = void 0;
49
+ exports.RegistryUpdateOwnUserContentEncodingEnum = exports.RegistryQueryUserTraceStatsContentEncodingEnum = exports.UsersApi = void 0;
50
50
  const runtime = __importStar(require("../runtime"));
51
- const MembershipsPage_1 = require("../models/MembershipsPage");
52
51
  const OnboardResponse_1 = require("../models/OnboardResponse");
53
- const PatchUserBody_1 = require("../models/PatchUserBody");
54
52
  const SpanListEnvelope_1 = require("../models/SpanListEnvelope");
53
+ const TraceContentDeletionDto_1 = require("../models/TraceContentDeletionDto");
55
54
  const TraceDetailView_1 = require("../models/TraceDetailView");
56
55
  const TraceListEnvelope_1 = require("../models/TraceListEnvelope");
57
- const UserDto_1 = require("../models/UserDto");
56
+ const UserDirectoryDto_1 = require("../models/UserDirectoryDto");
58
57
  const UsersPage_1 = require("../models/UsersPage");
59
58
  /**
60
59
  *
61
60
  */
62
61
  class UsersApi extends runtime.BaseAPI {
63
62
  /**
64
- * Creates request options for registryGetUser without sending the request
63
+ * Creates request options for registryDeleteUserTraceContent without sending the request
65
64
  */
66
- async registryGetUserRequestOpts(requestParameters) {
65
+ async registryDeleteUserTraceContentRequestOpts(requestParameters) {
67
66
  if (requestParameters['userId'] == null) {
68
- throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling registryGetUser().');
67
+ throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling registryDeleteUserTraceContent().');
68
+ }
69
+ if (requestParameters['traceId'] == null) {
70
+ throw new runtime.RequiredError('traceId', 'Required parameter "traceId" was null or undefined when calling registryDeleteUserTraceContent().');
71
+ }
72
+ if (requestParameters['workspaceId'] == null) {
73
+ throw new runtime.RequiredError('workspaceId', 'Required parameter "workspaceId" was null or undefined when calling registryDeleteUserTraceContent().');
69
74
  }
70
75
  const queryParameters = {};
76
+ if (requestParameters['workspaceId'] != null) {
77
+ queryParameters['workspace_id'] = requestParameters['workspaceId'];
78
+ }
71
79
  const headerParameters = {};
72
80
  if (this.configuration && this.configuration.accessToken) {
73
81
  const token = this.configuration.accessToken;
@@ -76,41 +84,76 @@ class UsersApi extends runtime.BaseAPI {
76
84
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
77
85
  }
78
86
  }
79
- let urlPath = `/users/{user_id}`;
87
+ let urlPath = `/users/{user_id}/traces/{trace_id}/content`;
80
88
  urlPath = urlPath.replace('{user_id}', encodeURIComponent(String(requestParameters['userId'])));
89
+ urlPath = urlPath.replace('{trace_id}', encodeURIComponent(String(requestParameters['traceId'])));
81
90
  return {
82
91
  path: urlPath,
83
- method: 'GET',
92
+ method: 'DELETE',
84
93
  headers: headerParameters,
85
94
  query: queryParameters,
86
95
  };
87
96
  }
88
97
  /**
89
- * One directory row by principal id. The id is the identity provider\'s subject, not a minted handle, so it carries no prefix to strip.
90
- * Get a directory user
98
+ * The content plane\'s deletion: one transaction tombstones the control row, nulls the manifest and the content-derived title, writes the `trace_content_delete` audit row, and enqueues the physical object deletions — so the commit IS the deletion, every read is structure-only from that moment, and the bytes follow within the executor\'s retry budget. Permanent: a late-arriving part for a deleted trace is refused, and re-approval does not resurrect it. The trace\'s STRUCTURE — the timeline, counts, costs — is untouched, deliberately. Allowed to the trace\'s creator and to an org admin; the `user_id` in the path must be the creator, so an admin deleting on someone\'s behalf addresses the trace under that person.
99
+ * Delete one trace\'s stored content
91
100
  */
92
- async registryGetUserRaw(requestParameters, initOverrides) {
93
- const requestOptions = await this.registryGetUserRequestOpts(requestParameters);
101
+ async registryDeleteUserTraceContentRaw(requestParameters, initOverrides) {
102
+ const requestOptions = await this.registryDeleteUserTraceContentRequestOpts(requestParameters);
94
103
  const response = await this.request(requestOptions, initOverrides);
95
- return new runtime.JSONApiResponse(response, (jsonValue) => (0, UserDto_1.UserDtoFromJSON)(jsonValue));
104
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, TraceContentDeletionDto_1.TraceContentDeletionDtoFromJSON)(jsonValue));
96
105
  }
97
106
  /**
98
- * One directory row by principal id. The id is the identity provider\'s subject, not a minted handle, so it carries no prefix to strip.
99
- * Get a directory user
107
+ * The content plane\'s deletion: one transaction tombstones the control row, nulls the manifest and the content-derived title, writes the `trace_content_delete` audit row, and enqueues the physical object deletions — so the commit IS the deletion, every read is structure-only from that moment, and the bytes follow within the executor\'s retry budget. Permanent: a late-arriving part for a deleted trace is refused, and re-approval does not resurrect it. The trace\'s STRUCTURE — the timeline, counts, costs — is untouched, deliberately. Allowed to the trace\'s creator and to an org admin; the `user_id` in the path must be the creator, so an admin deleting on someone\'s behalf addresses the trace under that person.
108
+ * Delete one trace\'s stored content
100
109
  */
101
- async registryGetUser(requestParameters, initOverrides) {
102
- const response = await this.registryGetUserRaw(requestParameters, initOverrides);
110
+ async registryDeleteUserTraceContent(requestParameters, initOverrides) {
111
+ const response = await this.registryDeleteUserTraceContentRaw(requestParameters, initOverrides);
103
112
  return await response.value();
104
113
  }
105
114
  /**
106
- * Creates request options for registryGetUserTrace without sending the request
115
+ * Creates request options for registryGetOwnUser without sending the request
107
116
  */
108
- async registryGetUserTraceRequestOpts(requestParameters) {
109
- if (requestParameters['userId'] == null) {
110
- throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling registryGetUserTrace().');
117
+ async registryGetOwnUserRequestOpts() {
118
+ const queryParameters = {};
119
+ const headerParameters = {};
120
+ if (this.configuration && this.configuration.accessToken) {
121
+ const token = this.configuration.accessToken;
122
+ const tokenString = await token("bearer", []);
123
+ if (tokenString) {
124
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
125
+ }
111
126
  }
112
- if (requestParameters['traceId'] == null) {
113
- throw new runtime.RequiredError('traceId', 'Required parameter "traceId" was null or undefined when calling registryGetUserTrace().');
127
+ let urlPath = `/users/me`;
128
+ return {
129
+ path: urlPath,
130
+ method: 'GET',
131
+ headers: headerParameters,
132
+ query: queryParameters,
133
+ };
134
+ }
135
+ /**
136
+ * The caller\'s own profile, proxied to the control plane verbatim. The registry\'s own account `role` and its advisory `permissions` are **not** merged here — read them from `GET /auth/whoami`. Authenticated only — no role check, because the control plane resolves \"me\" from the asserted bearer.
137
+ * Get the caller\'s own user record
138
+ */
139
+ async registryGetOwnUserRaw(initOverrides) {
140
+ const requestOptions = await this.registryGetOwnUserRequestOpts();
141
+ const response = await this.request(requestOptions, initOverrides);
142
+ return new runtime.VoidApiResponse(response);
143
+ }
144
+ /**
145
+ * The caller\'s own profile, proxied to the control plane verbatim. The registry\'s own account `role` and its advisory `permissions` are **not** merged here — read them from `GET /auth/whoami`. Authenticated only — no role check, because the control plane resolves \"me\" from the asserted bearer.
146
+ * Get the caller\'s own user record
147
+ */
148
+ async registryGetOwnUser(initOverrides) {
149
+ await this.registryGetOwnUserRaw(initOverrides);
150
+ }
151
+ /**
152
+ * Creates request options for registryGetUser without sending the request
153
+ */
154
+ async registryGetUserRequestOpts(requestParameters) {
155
+ if (requestParameters['userId'] == null) {
156
+ throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling registryGetUser().');
114
157
  }
115
158
  const queryParameters = {};
116
159
  const headerParameters = {};
@@ -121,9 +164,8 @@ class UsersApi extends runtime.BaseAPI {
121
164
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
122
165
  }
123
166
  }
124
- let urlPath = `/users/{user_id}/traces/{trace_id}`;
167
+ let urlPath = `/users/{user_id}`;
125
168
  urlPath = urlPath.replace('{user_id}', encodeURIComponent(String(requestParameters['userId'])));
126
- urlPath = urlPath.replace('{trace_id}', encodeURIComponent(String(requestParameters['traceId'])));
127
169
  return {
128
170
  path: urlPath,
129
171
  method: 'GET',
@@ -132,28 +174,31 @@ class UsersApi extends runtime.BaseAPI {
132
174
  };
133
175
  }
134
176
  /**
135
- * Use this operation to read one of this person\'s traces.
136
- * Read one of this person\'s traces
177
+ * One of the account\'s users by id, read natively from the registry. Any account member may read (`members_view`). Carries the user\'s account `role`; an unassigned user reads as `member`.
178
+ * Get a user
137
179
  */
138
- async registryGetUserTraceRaw(requestParameters, initOverrides) {
139
- const requestOptions = await this.registryGetUserTraceRequestOpts(requestParameters);
180
+ async registryGetUserRaw(requestParameters, initOverrides) {
181
+ const requestOptions = await this.registryGetUserRequestOpts(requestParameters);
140
182
  const response = await this.request(requestOptions, initOverrides);
141
- return new runtime.JSONApiResponse(response, (jsonValue) => (0, TraceDetailView_1.TraceDetailViewFromJSON)(jsonValue));
183
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, UserDirectoryDto_1.UserDirectoryDtoFromJSON)(jsonValue));
142
184
  }
143
185
  /**
144
- * Use this operation to read one of this person\'s traces.
145
- * Read one of this person\'s traces
186
+ * One of the account\'s users by id, read natively from the registry. Any account member may read (`members_view`). Carries the user\'s account `role`; an unassigned user reads as `member`.
187
+ * Get a user
146
188
  */
147
- async registryGetUserTrace(requestParameters, initOverrides) {
148
- const response = await this.registryGetUserTraceRaw(requestParameters, initOverrides);
189
+ async registryGetUser(requestParameters, initOverrides) {
190
+ const response = await this.registryGetUserRaw(requestParameters, initOverrides);
149
191
  return await response.value();
150
192
  }
151
193
  /**
152
- * Creates request options for registryListUserMemberships without sending the request
194
+ * Creates request options for registryGetUserTrace without sending the request
153
195
  */
154
- async registryListUserMembershipsRequestOpts(requestParameters) {
196
+ async registryGetUserTraceRequestOpts(requestParameters) {
155
197
  if (requestParameters['userId'] == null) {
156
- throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling registryListUserMemberships().');
198
+ throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling registryGetUserTrace().');
199
+ }
200
+ if (requestParameters['traceId'] == null) {
201
+ throw new runtime.RequiredError('traceId', 'Required parameter "traceId" was null or undefined when calling registryGetUserTrace().');
157
202
  }
158
203
  const queryParameters = {};
159
204
  const headerParameters = {};
@@ -164,8 +209,9 @@ class UsersApi extends runtime.BaseAPI {
164
209
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
165
210
  }
166
211
  }
167
- let urlPath = `/users/{user_id}/memberships`;
212
+ let urlPath = `/users/{user_id}/traces/{trace_id}`;
168
213
  urlPath = urlPath.replace('{user_id}', encodeURIComponent(String(requestParameters['userId'])));
214
+ urlPath = urlPath.replace('{trace_id}', encodeURIComponent(String(requestParameters['traceId'])));
169
215
  return {
170
216
  path: urlPath,
171
217
  method: 'GET',
@@ -174,20 +220,20 @@ class UsersApi extends runtime.BaseAPI {
174
220
  };
175
221
  }
176
222
  /**
177
- * The roster read from the other end: which workspaces this person is seated in. **Bounded by the caller\'s own reach, not the subject\'s** — the page is resolved over the workspaces the caller can **read**, so asking about somebody else cannot reveal a workspace the caller has no access to. A subject seated only in workspaces the caller cannot see returns an empty page, which is the correct answer and deliberately not a 403: the alternative leaks that the seat exists. Fields: `workspace_id`, `user_id`, `role`, `added_by`, `added_at`, `updated_at`.
178
- * List a user\'s workspace memberships
223
+ * Use this operation to read one of this person\'s traces.
224
+ * Read one of this person\'s traces
179
225
  */
180
- async registryListUserMembershipsRaw(requestParameters, initOverrides) {
181
- const requestOptions = await this.registryListUserMembershipsRequestOpts(requestParameters);
226
+ async registryGetUserTraceRaw(requestParameters, initOverrides) {
227
+ const requestOptions = await this.registryGetUserTraceRequestOpts(requestParameters);
182
228
  const response = await this.request(requestOptions, initOverrides);
183
- return new runtime.JSONApiResponse(response, (jsonValue) => (0, MembershipsPage_1.MembershipsPageFromJSON)(jsonValue));
229
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, TraceDetailView_1.TraceDetailViewFromJSON)(jsonValue));
184
230
  }
185
231
  /**
186
- * The roster read from the other end: which workspaces this person is seated in. **Bounded by the caller\'s own reach, not the subject\'s** — the page is resolved over the workspaces the caller can **read**, so asking about somebody else cannot reveal a workspace the caller has no access to. A subject seated only in workspaces the caller cannot see returns an empty page, which is the correct answer and deliberately not a 403: the alternative leaks that the seat exists. Fields: `workspace_id`, `user_id`, `role`, `added_by`, `added_at`, `updated_at`.
187
- * List a user\'s workspace memberships
232
+ * Use this operation to read one of this person\'s traces.
233
+ * Read one of this person\'s traces
188
234
  */
189
- async registryListUserMemberships(requestParameters, initOverrides) {
190
- const response = await this.registryListUserMembershipsRaw(requestParameters, initOverrides);
235
+ async registryGetUserTrace(requestParameters, initOverrides) {
236
+ const response = await this.registryGetUserTraceRaw(requestParameters, initOverrides);
191
237
  return await response.value();
192
238
  }
193
239
  /**
@@ -324,8 +370,8 @@ class UsersApi extends runtime.BaseAPI {
324
370
  };
325
371
  }
326
372
  /**
327
- * A page of the account\'s directory. Supports the shared query grammar over `user_id`, `name`, `email`, `created_at` and `updated_at`; `q=` searches the three identifiers. Ordered by name, not by recency a directory is browsed, and `updated_at` here moves when a token refreshes.
328
- * List directory users
373
+ * A page of the account\'s users, read natively from the registry. Any account member may read (`members_view`). Each row carries its account `role` (`admin` or `member`); an unassigned user reads as `member`. Supports the shared query grammar over `user_id`, `name`, `email`, `created_at` and `updated_at`.
374
+ * List users
329
375
  */
330
376
  async registryListUsersRaw(initOverrides) {
331
377
  const requestOptions = await this.registryListUsersRequestOpts();
@@ -333,8 +379,8 @@ class UsersApi extends runtime.BaseAPI {
333
379
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, UsersPage_1.UsersPageFromJSON)(jsonValue));
334
380
  }
335
381
  /**
336
- * A page of the account\'s directory. Supports the shared query grammar over `user_id`, `name`, `email`, `created_at` and `updated_at`; `q=` searches the three identifiers. Ordered by name, not by recency a directory is browsed, and `updated_at` here moves when a token refreshes.
337
- * List directory users
382
+ * A page of the account\'s users, read natively from the registry. Any account member may read (`members_view`). Each row carries its account `role` (`admin` or `member`); an unassigned user reads as `member`. Supports the shared query grammar over `user_id`, `name`, `email`, `created_at` and `updated_at`.
383
+ * List users
338
384
  */
339
385
  async registryListUsers(initOverrides) {
340
386
  const response = await this.registryListUsersRaw(initOverrides);
@@ -362,7 +408,7 @@ class UsersApi extends runtime.BaseAPI {
362
408
  };
363
409
  }
364
410
  /**
365
- * Scaffold the calling account and the caller\'s personal workspace: the account\'s shared root, the caller\'s own private root, their directory row, their groups, and the account membership every other read is gated on. **This is the first call a new caller makes.** Before it, the caller holds no account membership, so every account-scoped read answers `403` and the caller has no workspace to create anything in. **It also installs the deployment\'s extensions**, in dependency order, for any of them this account does not have yet — firing each one\'s `pre_install` gate and seeding `post_install` hook under **your** bearer, exactly as `POST /extensions/{extension}/install` does. On a brand-new account that is the whole set; on an existing one it is usually none, so a repeat onboard fires no install hooks at all. An account whose installs were interrupted completes on its next onboard. **Idempotent.** A repeat call re-reads what exists and answers `200` with the same assets and `is_created: false`. It also re-asserts the caller\'s access relationships, so a relationship lost to a partial earlier run heals on the next call rather than needing repair. The caller\'s role on the **shared** root is `admin` for whoever created the account and `member` for everyone after them, and a re-onboard preserves whatever the roster says — a caller whose role was changed is not restored to `admin` by signing in again.
411
+ * Scaffold the calling account and the caller\'s personal workspace: the account\'s shared root, the caller\'s own private root, their directory row, their groups, and the account membership every other read is gated on. **This is the first call a new caller makes.** Before it, the caller holds no account membership, so every account-scoped read answers `403` and the caller has no workspace to create anything in. **It also installs the deployment\'s extensions**, in dependency order, for any of them this account does not have yet — firing each one\'s `pre_install` gate and seeding `post_install` hook under **your** bearer, exactly as `POST /extensions/{extension}/install` does. On a brand-new account that is the whole set; on an existing one it is usually none, so a repeat onboard fires no install hooks at all. An account whose installs were interrupted completes on its next onboard. **Idempotent.** A repeat call re-reads what exists and answers `200` with the same assets and `is_created: false`. It also re-asserts the caller\'s access relationships, so a relationship lost to a partial earlier run heals on the next call rather than needing repair. The caller\'s role on the **shared** root is `admin` for whoever created the account and `member` for everyone after them, and a re-onboard preserves whatever the roster says — a caller whose role was changed is not restored to `admin` by signing in again. **A machine identity may not call this**, and gets `403`. Account membership is held by people; a service account, an agent\'s own identity and an action identity each already hold whatever seats they were granted where they were provisioned.
366
412
  * Onboard the caller
367
413
  */
368
414
  async registryOnboardRaw(initOverrides) {
@@ -371,7 +417,7 @@ class UsersApi extends runtime.BaseAPI {
371
417
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, OnboardResponse_1.OnboardResponseFromJSON)(jsonValue));
372
418
  }
373
419
  /**
374
- * Scaffold the calling account and the caller\'s personal workspace: the account\'s shared root, the caller\'s own private root, their directory row, their groups, and the account membership every other read is gated on. **This is the first call a new caller makes.** Before it, the caller holds no account membership, so every account-scoped read answers `403` and the caller has no workspace to create anything in. **It also installs the deployment\'s extensions**, in dependency order, for any of them this account does not have yet — firing each one\'s `pre_install` gate and seeding `post_install` hook under **your** bearer, exactly as `POST /extensions/{extension}/install` does. On a brand-new account that is the whole set; on an existing one it is usually none, so a repeat onboard fires no install hooks at all. An account whose installs were interrupted completes on its next onboard. **Idempotent.** A repeat call re-reads what exists and answers `200` with the same assets and `is_created: false`. It also re-asserts the caller\'s access relationships, so a relationship lost to a partial earlier run heals on the next call rather than needing repair. The caller\'s role on the **shared** root is `admin` for whoever created the account and `member` for everyone after them, and a re-onboard preserves whatever the roster says — a caller whose role was changed is not restored to `admin` by signing in again.
420
+ * Scaffold the calling account and the caller\'s personal workspace: the account\'s shared root, the caller\'s own private root, their directory row, their groups, and the account membership every other read is gated on. **This is the first call a new caller makes.** Before it, the caller holds no account membership, so every account-scoped read answers `403` and the caller has no workspace to create anything in. **It also installs the deployment\'s extensions**, in dependency order, for any of them this account does not have yet — firing each one\'s `pre_install` gate and seeding `post_install` hook under **your** bearer, exactly as `POST /extensions/{extension}/install` does. On a brand-new account that is the whole set; on an existing one it is usually none, so a repeat onboard fires no install hooks at all. An account whose installs were interrupted completes on its next onboard. **Idempotent.** A repeat call re-reads what exists and answers `200` with the same assets and `is_created: false`. It also re-asserts the caller\'s access relationships, so a relationship lost to a partial earlier run heals on the next call rather than needing repair. The caller\'s role on the **shared** root is `admin` for whoever created the account and `member` for everyone after them, and a re-onboard preserves whatever the roster says — a caller whose role was changed is not restored to `admin` by signing in again. **A machine identity may not call this**, and gets `403`. Account membership is held by people; a service account, an agent\'s own identity and an action identity each already hold whatever seats they were granted where they were provisioned.
375
421
  * Onboard the caller
376
422
  */
377
423
  async registryOnboard(initOverrides) {
@@ -391,6 +437,9 @@ class UsersApi extends runtime.BaseAPI {
391
437
  const queryParameters = {};
392
438
  const headerParameters = {};
393
439
  headerParameters['Content-Type'] = 'application/json';
440
+ if (requestParameters['contentEncoding'] != null) {
441
+ headerParameters['Content-Encoding'] = String(requestParameters['contentEncoding']);
442
+ }
394
443
  if (this.configuration && this.configuration.accessToken) {
395
444
  const token = this.configuration.accessToken;
396
445
  const tokenString = await token("bearer", []);
@@ -431,18 +480,18 @@ class UsersApi extends runtime.BaseAPI {
431
480
  return await response.value();
432
481
  }
433
482
  /**
434
- * Creates request options for registryUpdateUser without sending the request
483
+ * Creates request options for registryUpdateOwnUser without sending the request
435
484
  */
436
- async registryUpdateUserRequestOpts(requestParameters) {
437
- if (requestParameters['userId'] == null) {
438
- throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling registryUpdateUser().');
439
- }
440
- if (requestParameters['patchUserBody'] == null) {
441
- throw new runtime.RequiredError('patchUserBody', 'Required parameter "patchUserBody" was null or undefined when calling registryUpdateUser().');
485
+ async registryUpdateOwnUserRequestOpts(requestParameters) {
486
+ if (requestParameters['requestBody'] == null) {
487
+ throw new runtime.RequiredError('requestBody', 'Required parameter "requestBody" was null or undefined when calling registryUpdateOwnUser().');
442
488
  }
443
489
  const queryParameters = {};
444
490
  const headerParameters = {};
445
491
  headerParameters['Content-Type'] = 'application/json';
492
+ if (requestParameters['contentEncoding'] != null) {
493
+ headerParameters['Content-Encoding'] = String(requestParameters['contentEncoding']);
494
+ }
446
495
  if (this.configuration && this.configuration.accessToken) {
447
496
  const token = this.configuration.accessToken;
448
497
  const tokenString = await token("bearer", []);
@@ -450,32 +499,48 @@ class UsersApi extends runtime.BaseAPI {
450
499
  headerParameters["Authorization"] = `Bearer ${tokenString}`;
451
500
  }
452
501
  }
453
- let urlPath = `/users/{user_id}`;
454
- urlPath = urlPath.replace('{user_id}', encodeURIComponent(String(requestParameters['userId'])));
502
+ let urlPath = `/users/me`;
455
503
  return {
456
504
  path: urlPath,
457
505
  method: 'PATCH',
458
506
  headers: headerParameters,
459
507
  query: queryParameters,
460
- body: (0, PatchUserBody_1.PatchUserBodyToJSON)(requestParameters['patchUserBody']),
508
+ body: requestParameters['requestBody'],
461
509
  };
462
510
  }
463
511
  /**
464
- * The whole write surface of this table. **Self only**: every org member holds the one organization permission, so the check that keeps one member out of another\'s row is a domain rule and a 403, not a missing permission. `enrichment: null` clears the blob.
465
- * Replace a user\'s enrichment
512
+ * Update the caller\'s own user record, proxied to the control plane. Authenticated only; the control plane resolves \"me\" from the asserted bearer.
513
+ * Update the caller\'s own user record
466
514
  */
467
- async registryUpdateUserRaw(requestParameters, initOverrides) {
468
- const requestOptions = await this.registryUpdateUserRequestOpts(requestParameters);
515
+ async registryUpdateOwnUserRaw(requestParameters, initOverrides) {
516
+ const requestOptions = await this.registryUpdateOwnUserRequestOpts(requestParameters);
469
517
  const response = await this.request(requestOptions, initOverrides);
470
- return new runtime.JSONApiResponse(response, (jsonValue) => (0, UserDto_1.UserDtoFromJSON)(jsonValue));
518
+ return new runtime.VoidApiResponse(response);
471
519
  }
472
520
  /**
473
- * The whole write surface of this table. **Self only**: every org member holds the one organization permission, so the check that keeps one member out of another\'s row is a domain rule and a 403, not a missing permission. `enrichment: null` clears the blob.
474
- * Replace a user\'s enrichment
521
+ * Update the caller\'s own user record, proxied to the control plane. Authenticated only; the control plane resolves \"me\" from the asserted bearer.
522
+ * Update the caller\'s own user record
475
523
  */
476
- async registryUpdateUser(requestParameters, initOverrides) {
477
- const response = await this.registryUpdateUserRaw(requestParameters, initOverrides);
478
- return await response.value();
524
+ async registryUpdateOwnUser(requestParameters, initOverrides) {
525
+ await this.registryUpdateOwnUserRaw(requestParameters, initOverrides);
479
526
  }
480
527
  }
481
528
  exports.UsersApi = UsersApi;
529
+ /**
530
+ * @export
531
+ * @enum {string}
532
+ */
533
+ var RegistryQueryUserTraceStatsContentEncodingEnum;
534
+ (function (RegistryQueryUserTraceStatsContentEncodingEnum) {
535
+ RegistryQueryUserTraceStatsContentEncodingEnum["Base64"] = "base64";
536
+ RegistryQueryUserTraceStatsContentEncodingEnum["GzipBase64"] = "gzip, base64";
537
+ })(RegistryQueryUserTraceStatsContentEncodingEnum || (exports.RegistryQueryUserTraceStatsContentEncodingEnum = RegistryQueryUserTraceStatsContentEncodingEnum = {}));
538
+ /**
539
+ * @export
540
+ * @enum {string}
541
+ */
542
+ var RegistryUpdateOwnUserContentEncodingEnum;
543
+ (function (RegistryUpdateOwnUserContentEncodingEnum) {
544
+ RegistryUpdateOwnUserContentEncodingEnum["Base64"] = "base64";
545
+ RegistryUpdateOwnUserContentEncodingEnum["GzipBase64"] = "gzip, base64";
546
+ })(RegistryUpdateOwnUserContentEncodingEnum || (exports.RegistryUpdateOwnUserContentEncodingEnum = RegistryUpdateOwnUserContentEncodingEnum = {}));