@atlanai/sdk 0.2.1 → 0.2.3

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 (734) hide show
  1. package/README.md +65 -14
  2. package/dist/client.d.ts +4 -1
  3. package/dist/client.js +14 -2
  4. package/dist/errors.d.ts +1 -0
  5. package/dist/errors.js +12 -1
  6. package/dist/evals.d.ts +136 -1
  7. package/dist/evals.js +902 -1
  8. package/dist/index.d.ts +3 -2
  9. package/dist/index.js +2 -1
  10. package/dist/manifest.json +264 -218
  11. package/dist/raw/agent/apis/AgentEnvironmentsApi.d.ts +36 -0
  12. package/dist/raw/agent/apis/AgentEnvironmentsApi.js +49 -1
  13. package/dist/raw/agent/apis/AgentFrameworksApi.d.ts +36 -0
  14. package/dist/raw/agent/apis/AgentFrameworksApi.js +49 -1
  15. package/dist/raw/agent/apis/AgentProvidersApi.d.ts +36 -0
  16. package/dist/raw/agent/apis/AgentProvidersApi.js +49 -1
  17. package/dist/raw/agent/apis/AgentsApi.d.ts +78 -4
  18. package/dist/raw/agent/apis/AgentsApi.js +126 -5
  19. package/dist/raw/agent/apis/HarnessVendorsApi.d.ts +36 -0
  20. package/dist/raw/agent/apis/HarnessVendorsApi.js +49 -1
  21. package/dist/raw/agent/apis/HarnessesApi.d.ts +36 -0
  22. package/dist/raw/agent/apis/HarnessesApi.js +49 -1
  23. package/dist/raw/agent/apis/OutputsApi.d.ts +45 -0
  24. package/dist/raw/agent/apis/OutputsApi.js +61 -1
  25. package/dist/raw/agent/apis/SessionsApi.d.ts +38 -2
  26. package/dist/raw/agent/apis/SessionsApi.js +51 -3
  27. package/dist/raw/agent/apis/TracesApi.d.ts +18 -0
  28. package/dist/raw/agent/apis/TracesApi.js +25 -1
  29. package/dist/raw/agent/apis/VisitorsApi.d.ts +9 -0
  30. package/dist/raw/agent/apis/VisitorsApi.js +13 -1
  31. package/dist/raw/agent/models/AgentAgentArtifactView.d.ts +75 -15
  32. package/dist/raw/agent/models/AgentAgentArtifactView.js +15 -2
  33. package/dist/raw/agent/models/AgentAgentEnvironmentArtifactView.d.ts +39 -15
  34. package/dist/raw/agent/models/AgentAgentEnvironmentArtifactView.js +4 -2
  35. package/dist/raw/agent/models/AgentAgentEnvironmentMeta.d.ts +12 -0
  36. package/dist/raw/agent/models/AgentAgentEnvironmentMeta.js +2 -0
  37. package/dist/raw/agent/models/AgentAgentFrameworkArtifactView.d.ts +27 -15
  38. package/dist/raw/agent/models/AgentAgentFrameworkArtifactView.js +2 -2
  39. package/dist/raw/agent/models/AgentAgentMeta.d.ts +48 -0
  40. package/dist/raw/agent/models/AgentAgentMeta.js +13 -0
  41. package/dist/raw/agent/models/AgentAgentProviderArtifactView.d.ts +82 -17
  42. package/dist/raw/agent/models/AgentAgentProviderArtifactView.js +10 -2
  43. package/dist/raw/agent/models/AgentAgentProviderCreate.d.ts +24 -3
  44. package/dist/raw/agent/models/AgentAgentProviderCreate.js +4 -0
  45. package/dist/raw/agent/models/AgentAgentProviderMeta.d.ts +56 -13
  46. package/dist/raw/agent/models/AgentAgentProviderMeta.js +8 -0
  47. package/dist/raw/agent/models/AgentAgentProviderPatch.d.ts +13 -0
  48. package/dist/raw/agent/models/AgentAgentProviderPatch.js +4 -0
  49. package/dist/raw/agent/models/AgentAgentProviderType.d.ts +19 -9
  50. package/dist/raw/agent/models/AgentAgentProviderType.js +18 -8
  51. package/dist/raw/agent/models/AgentCreateAgentFramework400Response.d.ts +2 -0
  52. package/dist/raw/agent/models/AgentCreateAgentFramework400Response.js +2 -2
  53. package/dist/raw/agent/models/AgentCreateAgentFramework413Response.d.ts +64 -0
  54. package/dist/raw/agent/models/AgentCreateAgentFramework413Response.js +74 -0
  55. package/dist/raw/agent/models/AgentCreateAgentFramework415Response.d.ts +1 -0
  56. package/dist/raw/agent/models/AgentCreateAgentFramework415Response.js +1 -2
  57. package/dist/raw/agent/models/AgentGetAgentTrace400Response.d.ts +63 -0
  58. package/dist/raw/agent/models/AgentGetAgentTrace400Response.js +75 -0
  59. package/dist/raw/agent/models/AgentHarnessArtifactView.d.ts +27 -15
  60. package/dist/raw/agent/models/AgentHarnessArtifactView.js +2 -2
  61. package/dist/raw/agent/models/AgentHarnessVendorArtifactView.d.ts +27 -15
  62. package/dist/raw/agent/models/AgentHarnessVendorArtifactView.js +2 -2
  63. package/dist/raw/agent/models/AgentListAgentFrameworks401Response.d.ts +1 -0
  64. package/dist/raw/agent/models/AgentListAgentFrameworks401Response.js +1 -0
  65. package/dist/raw/agent/models/AgentOutputArtifactView.d.ts +27 -15
  66. package/dist/raw/agent/models/AgentOutputArtifactView.js +2 -2
  67. package/dist/raw/agent/models/AgentPageSessionEventView.d.ts +3 -3
  68. package/dist/raw/agent/models/AgentPageSessionEventView.js +3 -3
  69. package/dist/raw/agent/models/AgentQueryAgentTraceStats400Response.d.ts +2 -0
  70. package/dist/raw/agent/models/AgentQueryAgentTraceStats400Response.js +2 -0
  71. package/dist/raw/agent/models/AgentRemoteSessionEvent.d.ts +38 -0
  72. package/dist/raw/agent/models/AgentRemoteSessionEvent.js +58 -0
  73. package/dist/raw/agent/models/AgentSessionArtifactView.d.ts +52 -15
  74. package/dist/raw/agent/models/AgentSessionArtifactView.js +4 -2
  75. package/dist/raw/agent/models/AgentSessionEventView.d.ts +30 -0
  76. package/dist/raw/agent/models/AgentSessionEventView.js +57 -0
  77. package/dist/raw/agent/models/AgentSessionMessageArtifactView.d.ts +27 -15
  78. package/dist/raw/agent/models/AgentSessionMessageArtifactView.js +2 -2
  79. package/dist/raw/agent/models/AgentSessionMeta.d.ts +25 -0
  80. package/dist/raw/agent/models/AgentSessionMeta.js +2 -0
  81. package/dist/raw/agent/models/AgentSessionStreamFrame.d.ts +8 -6
  82. package/dist/raw/agent/models/AgentSessionStreamFrame.js +7 -0
  83. package/dist/raw/agent/models/AgentSyncState.d.ts +27 -0
  84. package/dist/raw/agent/models/AgentSyncState.js +55 -0
  85. package/dist/raw/agent/models/AgentUploadAgentProfileImage400Response.d.ts +2 -1
  86. package/dist/raw/agent/models/AgentUploadAgentProfileImage400Response.js +2 -3
  87. package/dist/raw/agent/models/AgentUploadAgentProfileImage413Response.d.ts +2 -0
  88. package/dist/raw/agent/models/AgentUploadAgentProfileImage413Response.js +2 -2
  89. package/dist/raw/agent/models/AgentVisitorArtifactView.d.ts +27 -15
  90. package/dist/raw/agent/models/AgentVisitorArtifactView.js +2 -2
  91. package/dist/raw/agent/models/GatewayArtifactBase.d.ts +27 -15
  92. package/dist/raw/agent/models/GatewayArtifactBase.js +2 -2
  93. package/dist/raw/agent/models/GatewayTraceStatsGroupBy.d.ts +5 -1
  94. package/dist/raw/agent/models/GatewayTraceStatsGroupBy.js +4 -0
  95. package/dist/raw/agent/models/GatewayTraceStatsMeasure.d.ts +3 -1
  96. package/dist/raw/agent/models/GatewayTraceStatsMeasure.js +2 -0
  97. package/dist/raw/agent/models/SpanViewDto.d.ts +25 -0
  98. package/dist/raw/agent/models/SpanViewDto.js +8 -0
  99. package/dist/raw/agent/models/TraceDetailView.d.ts +9 -0
  100. package/dist/raw/agent/models/TraceDetailView.js +2 -0
  101. package/dist/raw/agent/models/TriggerBody.d.ts +52 -0
  102. package/dist/raw/agent/models/TriggerBody.js +58 -0
  103. package/dist/raw/agent/models/index.d.ts +6 -1
  104. package/dist/raw/agent/models/index.js +6 -1
  105. package/dist/raw/eval/apis/DatasetsApi.d.ts +43 -3
  106. package/dist/raw/eval/apis/DatasetsApi.js +108 -3
  107. package/dist/raw/eval/apis/ExperimentsApi.d.ts +8 -24
  108. package/dist/raw/eval/apis/ExperimentsApi.js +10 -49
  109. package/dist/raw/eval/apis/ScorersApi.d.ts +1 -1
  110. package/dist/raw/eval/apis/ScorersApi.js +1 -1
  111. package/dist/raw/eval/models/AccessView.d.ts +1 -1
  112. package/dist/raw/eval/models/AccessView.js +1 -1
  113. package/dist/raw/eval/models/ArtifactConflictProblem.d.ts +1 -1
  114. package/dist/raw/eval/models/ArtifactConflictProblem.js +1 -1
  115. package/dist/raw/eval/models/CostView.d.ts +1 -1
  116. package/dist/raw/eval/models/CostView.js +1 -1
  117. package/dist/raw/eval/models/CursorPage.d.ts +1 -1
  118. package/dist/raw/eval/models/CursorPage.js +1 -1
  119. package/dist/raw/eval/models/EvalArtifactEnvelope.d.ts +1 -1
  120. package/dist/raw/eval/models/EvalArtifactEnvelope.js +1 -1
  121. package/dist/raw/eval/models/EvalArtifactSearchRequest.d.ts +1 -1
  122. package/dist/raw/eval/models/EvalArtifactSearchRequest.js +1 -1
  123. package/dist/raw/eval/models/EvalBulkDatasetRecordResponse.d.ts +1 -1
  124. package/dist/raw/eval/models/EvalBulkDatasetRecordResponse.js +1 -1
  125. package/dist/raw/eval/models/EvalBulkDatasetRecordResult.d.ts +1 -1
  126. package/dist/raw/eval/models/EvalBulkDatasetRecordResult.js +1 -1
  127. package/dist/raw/eval/models/EvalBulkExperimentResultResponse.d.ts +1 -1
  128. package/dist/raw/eval/models/EvalBulkExperimentResultResponse.js +1 -1
  129. package/dist/raw/eval/models/EvalBulkExperimentResultSlot.d.ts +1 -1
  130. package/dist/raw/eval/models/EvalBulkExperimentResultSlot.js +1 -1
  131. package/dist/raw/eval/models/EvalCreateDataset400Response.d.ts +1 -1
  132. package/dist/raw/eval/models/EvalCreateDataset400Response.js +1 -1
  133. package/dist/raw/eval/models/EvalCreateDataset409Response.d.ts +1 -1
  134. package/dist/raw/eval/models/EvalCreateDataset409Response.js +1 -1
  135. package/dist/raw/eval/models/EvalCreateDataset413Response.d.ts +1 -1
  136. package/dist/raw/eval/models/EvalCreateDataset413Response.js +1 -1
  137. package/dist/raw/eval/models/EvalCreateDataset415Response.d.ts +1 -1
  138. package/dist/raw/eval/models/EvalCreateDataset415Response.js +1 -1
  139. package/dist/raw/eval/models/EvalCreateDataset422Response.d.ts +1 -1
  140. package/dist/raw/eval/models/EvalCreateDataset422Response.js +1 -1
  141. package/dist/raw/eval/models/EvalDatasetArtifactView.d.ts +35 -16
  142. package/dist/raw/eval/models/EvalDatasetArtifactView.js +5 -3
  143. package/dist/raw/eval/models/EvalDatasetCreate.d.ts +7 -1
  144. package/dist/raw/eval/models/EvalDatasetCreate.js +3 -1
  145. package/dist/raw/eval/models/EvalDatasetMeta.d.ts +8 -1
  146. package/dist/raw/eval/models/EvalDatasetMeta.js +3 -1
  147. package/dist/raw/eval/models/EvalDatasetPatch.d.ts +7 -1
  148. package/dist/raw/eval/models/EvalDatasetPatch.js +3 -1
  149. package/dist/raw/eval/models/EvalDatasetRecordArtifactView.d.ts +34 -16
  150. package/dist/raw/eval/models/EvalDatasetRecordArtifactView.js +5 -3
  151. package/dist/raw/eval/models/EvalDatasetRecordBulkCreate.d.ts +1 -1
  152. package/dist/raw/eval/models/EvalDatasetRecordBulkCreate.js +1 -1
  153. package/dist/raw/eval/models/EvalDatasetRecordCreate.d.ts +1 -1
  154. package/dist/raw/eval/models/EvalDatasetRecordCreate.js +1 -1
  155. package/dist/raw/eval/models/EvalDatasetRecordMeta.d.ts +7 -1
  156. package/dist/raw/eval/models/EvalDatasetRecordMeta.js +3 -1
  157. package/dist/raw/eval/models/EvalDatasetRecordPatch.d.ts +1 -1
  158. package/dist/raw/eval/models/EvalDatasetRecordPatch.js +1 -1
  159. package/dist/raw/eval/models/EvalDatasetSnapshot.d.ts +57 -0
  160. package/dist/raw/eval/models/EvalDatasetSnapshot.js +65 -0
  161. package/dist/raw/eval/models/EvalDatasetSnapshotRecord.d.ts +99 -0
  162. package/dist/raw/eval/models/EvalDatasetSnapshotRecord.js +77 -0
  163. package/dist/raw/eval/models/EvalExperimentArtifactView.d.ts +35 -16
  164. package/dist/raw/eval/models/EvalExperimentArtifactView.js +6 -3
  165. package/dist/raw/eval/models/EvalExperimentCreate.d.ts +1 -1
  166. package/dist/raw/eval/models/EvalExperimentCreate.js +1 -1
  167. package/dist/raw/eval/models/EvalExperimentMeta.d.ts +10 -4
  168. package/dist/raw/eval/models/EvalExperimentMeta.js +4 -1
  169. package/dist/raw/eval/models/EvalExperimentPatch.d.ts +4 -3
  170. package/dist/raw/eval/models/EvalExperimentPatch.js +1 -1
  171. package/dist/raw/eval/models/EvalExperimentResultArtifactView.d.ts +45 -16
  172. package/dist/raw/eval/models/EvalExperimentResultArtifactView.js +7 -3
  173. package/dist/raw/eval/models/EvalExperimentResultBulkCreate.d.ts +1 -1
  174. package/dist/raw/eval/models/EvalExperimentResultBulkCreate.js +1 -1
  175. package/dist/raw/eval/models/EvalExperimentResultCreate.d.ts +16 -1
  176. package/dist/raw/eval/models/EvalExperimentResultCreate.js +5 -1
  177. package/dist/raw/eval/models/EvalExperimentResultMeta.d.ts +18 -1
  178. package/dist/raw/eval/models/EvalExperimentResultMeta.js +5 -1
  179. package/dist/raw/eval/models/EvalExperimentStatus.d.ts +1 -1
  180. package/dist/raw/eval/models/EvalExperimentStatus.js +1 -1
  181. package/dist/raw/eval/models/EvalGetDataset404Response.d.ts +1 -1
  182. package/dist/raw/eval/models/EvalGetDataset404Response.js +1 -1
  183. package/dist/raw/eval/models/EvalGetExperimentTrace400Response.d.ts +1 -1
  184. package/dist/raw/eval/models/EvalGetExperimentTrace400Response.js +1 -1
  185. package/dist/raw/eval/models/EvalListDatasets400Response.d.ts +1 -1
  186. package/dist/raw/eval/models/EvalListDatasets400Response.js +1 -1
  187. package/dist/raw/eval/models/EvalListDatasets401Response.d.ts +2 -1
  188. package/dist/raw/eval/models/EvalListDatasets401Response.js +2 -1
  189. package/dist/raw/eval/models/EvalListDatasets403Response.d.ts +1 -1
  190. package/dist/raw/eval/models/EvalListDatasets403Response.js +1 -1
  191. package/dist/raw/eval/models/EvalListDatasets500Response.d.ts +1 -1
  192. package/dist/raw/eval/models/EvalListDatasets500Response.js +1 -1
  193. package/dist/raw/eval/models/EvalListDatasets503Response.d.ts +1 -1
  194. package/dist/raw/eval/models/EvalListDatasets503Response.js +1 -1
  195. package/dist/raw/eval/models/EvalListDatasets504Response.d.ts +1 -1
  196. package/dist/raw/eval/models/EvalListDatasets504Response.js +1 -1
  197. package/dist/raw/eval/models/EvalPageDatasetArtifactView.d.ts +1 -1
  198. package/dist/raw/eval/models/EvalPageDatasetArtifactView.js +1 -1
  199. package/dist/raw/eval/models/EvalPageDatasetRecordArtifactView.d.ts +1 -1
  200. package/dist/raw/eval/models/EvalPageDatasetRecordArtifactView.js +1 -1
  201. package/dist/raw/eval/models/EvalPageExperimentArtifactView.d.ts +1 -1
  202. package/dist/raw/eval/models/EvalPageExperimentArtifactView.js +1 -1
  203. package/dist/raw/eval/models/EvalPageExperimentResultArtifactView.d.ts +1 -1
  204. package/dist/raw/eval/models/EvalPageExperimentResultArtifactView.js +1 -1
  205. package/dist/raw/eval/models/EvalPageScorerArtifactView.d.ts +1 -1
  206. package/dist/raw/eval/models/EvalPageScorerArtifactView.js +1 -1
  207. package/dist/raw/eval/models/EvalPatchDataset412Response.d.ts +1 -1
  208. package/dist/raw/eval/models/EvalPatchDataset412Response.js +1 -1
  209. package/dist/raw/eval/models/EvalRecordSource.d.ts +1 -1
  210. package/dist/raw/eval/models/EvalRecordSource.js +1 -1
  211. package/dist/raw/eval/models/EvalScorerArtifactView.d.ts +28 -16
  212. package/dist/raw/eval/models/EvalScorerArtifactView.js +3 -3
  213. package/dist/raw/eval/models/EvalScorerCreate.d.ts +1 -1
  214. package/dist/raw/eval/models/EvalScorerCreate.js +1 -1
  215. package/dist/raw/eval/models/EvalScorerKind.d.ts +1 -1
  216. package/dist/raw/eval/models/EvalScorerKind.js +1 -1
  217. package/dist/raw/eval/models/EvalScorerMeta.d.ts +1 -1
  218. package/dist/raw/eval/models/EvalScorerMeta.js +1 -1
  219. package/dist/raw/eval/models/EvalScorerPatch.d.ts +1 -1
  220. package/dist/raw/eval/models/EvalScorerPatch.js +1 -1
  221. package/dist/raw/eval/models/EvalScorerScope.d.ts +1 -1
  222. package/dist/raw/eval/models/EvalScorerScope.js +1 -1
  223. package/dist/raw/eval/models/EvalSubjectKind.d.ts +1 -1
  224. package/dist/raw/eval/models/EvalSubjectKind.js +1 -1
  225. package/dist/raw/eval/models/GatewayArtifactBase.d.ts +28 -16
  226. package/dist/raw/eval/models/GatewayArtifactBase.js +3 -3
  227. package/dist/raw/eval/models/GatewayArtifactIdentityRevealView.d.ts +1 -1
  228. package/dist/raw/eval/models/GatewayArtifactIdentityRevealView.js +1 -1
  229. package/dist/raw/eval/models/GatewayPageMeta.d.ts +1 -1
  230. package/dist/raw/eval/models/GatewayPageMeta.js +1 -1
  231. package/dist/raw/eval/models/GatewaySourceEnvelope.d.ts +1 -1
  232. package/dist/raw/eval/models/GatewaySourceEnvelope.js +1 -1
  233. package/dist/raw/eval/models/GatewayTraceStatsBucket.d.ts +1 -1
  234. package/dist/raw/eval/models/GatewayTraceStatsBucket.js +1 -1
  235. package/dist/raw/eval/models/GatewayTraceStatsCompareMode.d.ts +1 -1
  236. package/dist/raw/eval/models/GatewayTraceStatsCompareMode.js +1 -1
  237. package/dist/raw/eval/models/GatewayTraceStatsComparison.d.ts +1 -1
  238. package/dist/raw/eval/models/GatewayTraceStatsComparison.js +1 -1
  239. package/dist/raw/eval/models/GatewayTraceStatsData.d.ts +1 -1
  240. package/dist/raw/eval/models/GatewayTraceStatsData.js +1 -1
  241. package/dist/raw/eval/models/GatewayTraceStatsDataOneOf.d.ts +1 -1
  242. package/dist/raw/eval/models/GatewayTraceStatsDataOneOf.js +1 -1
  243. package/dist/raw/eval/models/GatewayTraceStatsDataOneOf1.d.ts +1 -1
  244. package/dist/raw/eval/models/GatewayTraceStatsDataOneOf1.js +1 -1
  245. package/dist/raw/eval/models/GatewayTraceStatsDataOneOf2.d.ts +1 -1
  246. package/dist/raw/eval/models/GatewayTraceStatsDataOneOf2.js +1 -1
  247. package/dist/raw/eval/models/GatewayTraceStatsEnvelope.d.ts +1 -1
  248. package/dist/raw/eval/models/GatewayTraceStatsEnvelope.js +1 -1
  249. package/dist/raw/eval/models/GatewayTraceStatsFilter.d.ts +1 -1
  250. package/dist/raw/eval/models/GatewayTraceStatsFilter.js +1 -1
  251. package/dist/raw/eval/models/GatewayTraceStatsFilterOperator.d.ts +1 -1
  252. package/dist/raw/eval/models/GatewayTraceStatsFilterOperator.js +1 -1
  253. package/dist/raw/eval/models/GatewayTraceStatsFilterValue.d.ts +1 -1
  254. package/dist/raw/eval/models/GatewayTraceStatsFilterValue.js +1 -1
  255. package/dist/raw/eval/models/GatewayTraceStatsGroupBy.d.ts +1 -1
  256. package/dist/raw/eval/models/GatewayTraceStatsGroupBy.js +1 -1
  257. package/dist/raw/eval/models/GatewayTraceStatsMeasure.d.ts +1 -1
  258. package/dist/raw/eval/models/GatewayTraceStatsMeasure.js +1 -1
  259. package/dist/raw/eval/models/GatewayTraceStatsMeta.d.ts +1 -1
  260. package/dist/raw/eval/models/GatewayTraceStatsMeta.js +1 -1
  261. package/dist/raw/eval/models/GatewayTraceStatsOrder.d.ts +1 -1
  262. package/dist/raw/eval/models/GatewayTraceStatsOrder.js +1 -1
  263. package/dist/raw/eval/models/GatewayTraceStatsOrderBy.d.ts +1 -1
  264. package/dist/raw/eval/models/GatewayTraceStatsOrderBy.js +1 -1
  265. package/dist/raw/eval/models/GatewayTraceStatsOrderDirection.d.ts +1 -1
  266. package/dist/raw/eval/models/GatewayTraceStatsOrderDirection.js +1 -1
  267. package/dist/raw/eval/models/GatewayTraceStatsPanelQuery.d.ts +1 -1
  268. package/dist/raw/eval/models/GatewayTraceStatsPanelQuery.js +1 -1
  269. package/dist/raw/eval/models/GatewayTraceStatsRequest.d.ts +1 -1
  270. package/dist/raw/eval/models/GatewayTraceStatsRequest.js +1 -1
  271. package/dist/raw/eval/models/GatewayTraceStatsRequestType.d.ts +1 -1
  272. package/dist/raw/eval/models/GatewayTraceStatsRequestType.js +1 -1
  273. package/dist/raw/eval/models/GatewayTraceStatsScalarResult.d.ts +1 -1
  274. package/dist/raw/eval/models/GatewayTraceStatsScalarResult.js +1 -1
  275. package/dist/raw/eval/models/GatewayTraceStatsSeries.d.ts +1 -1
  276. package/dist/raw/eval/models/GatewayTraceStatsSeries.js +1 -1
  277. package/dist/raw/eval/models/GatewayTraceStatsSeriesPoint.d.ts +1 -1
  278. package/dist/raw/eval/models/GatewayTraceStatsSeriesPoint.js +1 -1
  279. package/dist/raw/eval/models/GatewayTraceStatsTableColumn.d.ts +1 -1
  280. package/dist/raw/eval/models/GatewayTraceStatsTableColumn.js +1 -1
  281. package/dist/raw/eval/models/GatewayTraceStatsTableColumnType.d.ts +1 -1
  282. package/dist/raw/eval/models/GatewayTraceStatsTableColumnType.js +1 -1
  283. package/dist/raw/eval/models/GatewayTraceStatsTableRow.d.ts +1 -1
  284. package/dist/raw/eval/models/GatewayTraceStatsTableRow.js +1 -1
  285. package/dist/raw/eval/models/GatewayTraceStatsWindow.d.ts +1 -1
  286. package/dist/raw/eval/models/GatewayTraceStatsWindow.js +1 -1
  287. package/dist/raw/eval/models/ProblemDetails.d.ts +1 -1
  288. package/dist/raw/eval/models/ProblemDetails.js +1 -1
  289. package/dist/raw/eval/models/RegistryEdgeTarget.d.ts +1 -1
  290. package/dist/raw/eval/models/RegistryEdgeTarget.js +1 -1
  291. package/dist/raw/eval/models/RegistryRelationshipEdge.d.ts +1 -1
  292. package/dist/raw/eval/models/RegistryRelationshipEdge.js +1 -1
  293. package/dist/raw/eval/models/RegistryRelationshipsView.d.ts +1 -1
  294. package/dist/raw/eval/models/RegistryRelationshipsView.js +1 -1
  295. package/dist/raw/eval/models/SpanListEnvelope.d.ts +1 -1
  296. package/dist/raw/eval/models/SpanListEnvelope.js +1 -1
  297. package/dist/raw/eval/models/SpanViewDto.d.ts +26 -1
  298. package/dist/raw/eval/models/SpanViewDto.js +9 -1
  299. package/dist/raw/eval/models/TraceDetailView.d.ts +10 -1
  300. package/dist/raw/eval/models/TraceDetailView.js +3 -1
  301. package/dist/raw/eval/models/TraceLinks.d.ts +1 -1
  302. package/dist/raw/eval/models/TraceLinks.js +1 -1
  303. package/dist/raw/eval/models/TraceListEnvelope.d.ts +1 -1
  304. package/dist/raw/eval/models/TraceListEnvelope.js +1 -1
  305. package/dist/raw/eval/models/TraceParentView.d.ts +1 -1
  306. package/dist/raw/eval/models/TraceParentView.js +1 -1
  307. package/dist/raw/eval/models/TraceStatus.d.ts +1 -1
  308. package/dist/raw/eval/models/TraceStatus.js +1 -1
  309. package/dist/raw/eval/models/TraceSummaryStats.d.ts +1 -1
  310. package/dist/raw/eval/models/TraceSummaryStats.js +1 -1
  311. package/dist/raw/eval/models/TraceSummaryView.d.ts +1 -1
  312. package/dist/raw/eval/models/TraceSummaryView.js +1 -1
  313. package/dist/raw/eval/models/UsageView.d.ts +1 -1
  314. package/dist/raw/eval/models/UsageView.js +1 -1
  315. package/dist/raw/eval/models/index.d.ts +2 -0
  316. package/dist/raw/eval/models/index.js +2 -0
  317. package/dist/raw/eval/runtime.d.ts +1 -1
  318. package/dist/raw/eval/runtime.js +1 -1
  319. package/dist/raw/file/apis/FileApi.d.ts +18 -0
  320. package/dist/raw/file/apis/FileApi.js +25 -1
  321. package/dist/raw/file/models/FileCreateUpload400Response.d.ts +2 -0
  322. package/dist/raw/file/models/FileCreateUpload400Response.js +2 -2
  323. package/dist/raw/file/models/FileCreateUpload413Response.d.ts +2 -1
  324. package/dist/raw/file/models/FileCreateUpload413Response.js +2 -3
  325. package/dist/raw/file/models/FileCreateUpload415Response.d.ts +1 -0
  326. package/dist/raw/file/models/FileCreateUpload415Response.js +1 -2
  327. package/dist/raw/file/models/FileFile.d.ts +4 -0
  328. package/dist/raw/file/models/FileFileArtifact.d.ts +31 -15
  329. package/dist/raw/file/models/FileFileArtifact.js +2 -2
  330. package/dist/raw/file/models/FileIngestUpload400Response.d.ts +2 -1
  331. package/dist/raw/file/models/FileIngestUpload400Response.js +2 -3
  332. package/dist/raw/file/models/FileIngestUpload415Response.d.ts +63 -0
  333. package/dist/raw/file/models/FileIngestUpload415Response.js +75 -0
  334. package/dist/raw/file/models/FileList401Response.d.ts +1 -0
  335. package/dist/raw/file/models/FileList401Response.js +1 -0
  336. package/dist/raw/file/models/GatewayArtifactBase.d.ts +27 -15
  337. package/dist/raw/file/models/GatewayArtifactBase.js +2 -2
  338. package/dist/raw/file/models/index.d.ts +1 -0
  339. package/dist/raw/file/models/index.js +1 -0
  340. package/dist/raw/mcp/apis/ServersApi.d.ts +20 -2
  341. package/dist/raw/mcp/apis/ServersApi.js +27 -3
  342. package/dist/raw/mcp/apis/ToolsApi.d.ts +18 -0
  343. package/dist/raw/mcp/apis/ToolsApi.js +25 -1
  344. package/dist/raw/mcp/models/GatewayArtifactBase.d.ts +27 -15
  345. package/dist/raw/mcp/models/GatewayArtifactBase.js +2 -2
  346. package/dist/raw/mcp/models/McpAggregateServers400Response.d.ts +2 -0
  347. package/dist/raw/mcp/models/McpAggregateServers400Response.js +2 -0
  348. package/dist/raw/mcp/models/McpAggregateServers413Response.d.ts +64 -0
  349. package/dist/raw/mcp/models/McpAggregateServers413Response.js +74 -0
  350. package/dist/raw/mcp/models/McpAggregateServers415Response.d.ts +1 -0
  351. package/dist/raw/mcp/models/McpAggregateServers415Response.js +1 -2
  352. package/dist/raw/mcp/models/McpConnectionState.d.ts +2 -1
  353. package/dist/raw/mcp/models/McpConnectionState.js +2 -1
  354. package/dist/raw/mcp/models/McpListServers401Response.d.ts +1 -0
  355. package/dist/raw/mcp/models/McpListServers401Response.js +1 -0
  356. package/dist/raw/mcp/models/McpMcpServer.d.ts +27 -0
  357. package/dist/raw/mcp/models/McpMcpServer.js +4 -0
  358. package/dist/raw/mcp/models/McpMcpServerArtifactView.d.ts +54 -15
  359. package/dist/raw/mcp/models/McpMcpServerArtifactView.js +6 -2
  360. package/dist/raw/mcp/models/McpMcpSessionMessage.d.ts +1 -1
  361. package/dist/raw/mcp/models/McpMcpToolArtifactView.d.ts +27 -15
  362. package/dist/raw/mcp/models/McpMcpToolArtifactView.js +2 -2
  363. package/dist/raw/mcp/models/McpServerTestResponse.d.ts +13 -2
  364. package/dist/raw/mcp/models/index.d.ts +1 -0
  365. package/dist/raw/mcp/models/index.js +1 -0
  366. package/dist/raw/model/apis/OpenaiApi.d.ts +4 -4
  367. package/dist/raw/model/apis/OpenaiApi.js +4 -4
  368. package/dist/raw/model/models/ModelListProviders401Response.d.ts +1 -0
  369. package/dist/raw/model/models/ModelListProviders401Response.js +1 -0
  370. package/dist/raw/registry/apis/AppsApi.d.ts +159 -0
  371. package/dist/raw/registry/apis/AppsApi.js +385 -0
  372. package/dist/raw/registry/apis/AuthApi.d.ts +2 -2
  373. package/dist/raw/registry/apis/AuthApi.js +2 -2
  374. package/dist/raw/registry/apis/DiscoveryApi.d.ts +27 -0
  375. package/dist/raw/registry/apis/DiscoveryApi.js +37 -1
  376. package/dist/raw/registry/apis/InvitationsApi.d.ts +159 -0
  377. package/dist/raw/registry/apis/InvitationsApi.js +383 -0
  378. package/dist/raw/registry/apis/OrganisationsApi.d.ts +51 -0
  379. package/dist/raw/registry/apis/OrganisationsApi.js +108 -1
  380. package/dist/raw/registry/apis/ReleasesApi.d.ts +199 -0
  381. package/dist/raw/registry/apis/ReleasesApi.js +484 -0
  382. package/dist/raw/registry/apis/ReposApi.d.ts +27 -0
  383. package/dist/raw/registry/apis/ReposApi.js +37 -1
  384. package/dist/raw/registry/apis/RolesApi.d.ts +32 -0
  385. package/dist/raw/registry/apis/RolesApi.js +95 -0
  386. package/dist/raw/registry/apis/ServiceAccountsApi.d.ts +13 -4
  387. package/dist/raw/registry/apis/ServiceAccountsApi.js +17 -5
  388. package/dist/raw/registry/apis/SessionsApi.d.ts +60 -0
  389. package/dist/raw/registry/apis/SessionsApi.js +150 -0
  390. package/dist/raw/registry/apis/UsersApi.d.ts +75 -43
  391. package/dist/raw/registry/apis/UsersApi.js +139 -74
  392. package/dist/raw/registry/apis/WorkspacesApi.d.ts +80 -4
  393. package/dist/raw/registry/apis/WorkspacesApi.js +152 -5
  394. package/dist/raw/registry/apis/index.d.ts +5 -7
  395. package/dist/raw/registry/apis/index.js +5 -7
  396. package/dist/raw/registry/models/{ExtensionJobDto.d.ts → AppActionDto.d.ts} +33 -27
  397. package/dist/raw/registry/models/{ExtensionJobDto.js → AppActionDto.js} +22 -20
  398. package/dist/raw/registry/models/AppActionsPage.d.ts +40 -0
  399. package/dist/raw/registry/models/{PublishersPage.js → AppActionsPage.js} +16 -16
  400. package/dist/raw/registry/models/AppDto.d.ts +174 -0
  401. package/dist/raw/registry/models/AppDto.js +116 -0
  402. package/dist/raw/registry/models/AppsPage.d.ts +40 -0
  403. package/dist/raw/registry/models/{GroupsPage.js → AppsPage.js} +16 -16
  404. package/dist/raw/registry/models/ArtifactView.d.ts +76 -15
  405. package/dist/raw/registry/models/ArtifactView.js +10 -2
  406. package/dist/raw/registry/models/CreateInvitationsRequest.d.ts +33 -0
  407. package/dist/raw/registry/models/CreateInvitationsRequest.js +51 -0
  408. package/dist/raw/registry/models/CreateWorkspaceBody.d.ts +9 -0
  409. package/dist/raw/registry/models/CreateWorkspaceBody.js +2 -0
  410. package/dist/raw/registry/models/CutReleaseBody.d.ts +56 -0
  411. package/dist/raw/registry/models/CutReleaseBody.js +56 -0
  412. package/dist/raw/registry/models/EdgeTarget.d.ts +4 -0
  413. package/dist/raw/registry/models/InstallAppBody.d.ts +34 -0
  414. package/dist/raw/registry/models/InstallAppBody.js +48 -0
  415. package/dist/raw/registry/models/IntrospectedIdentity.d.ts +12 -3
  416. package/dist/raw/registry/models/IntrospectedIdentity.js +5 -3
  417. package/dist/raw/registry/models/InvitationDto.d.ts +98 -0
  418. package/dist/raw/registry/models/InvitationDto.js +88 -0
  419. package/dist/raw/registry/models/InvitationSendResult.d.ts +38 -0
  420. package/dist/raw/registry/models/InvitationSendResult.js +54 -0
  421. package/dist/raw/registry/models/InvitationSummaryDto.d.ts +86 -0
  422. package/dist/raw/registry/models/InvitationSummaryDto.js +84 -0
  423. package/dist/raw/registry/models/InvitationsPage.d.ts +40 -0
  424. package/dist/raw/registry/models/{MembershipsPage.js → InvitationsPage.js} +16 -16
  425. package/dist/raw/registry/models/InvitationsResponse.d.ts +33 -0
  426. package/dist/raw/registry/models/InvitationsResponse.js +51 -0
  427. package/dist/raw/registry/models/InviteeRequest.d.ts +44 -0
  428. package/dist/raw/registry/models/InviteeRequest.js +56 -0
  429. package/dist/raw/registry/models/InviteeResult.d.ts +69 -0
  430. package/dist/raw/registry/models/InviteeResult.js +66 -0
  431. package/dist/raw/registry/models/ReconcileAcceptedDto.d.ts +40 -0
  432. package/dist/raw/registry/models/ReconcileAcceptedDto.js +54 -0
  433. package/dist/raw/registry/models/RegistryAggregate400Response.d.ts +2 -0
  434. package/dist/raw/registry/models/RegistryAggregate400Response.js +2 -2
  435. package/dist/raw/registry/models/{RegistryListActionRuns401Response.d.ts → RegistryAggregate401Response.d.ts} +17 -16
  436. package/dist/raw/registry/models/RegistryAggregate401Response.js +90 -0
  437. package/dist/raw/registry/models/RegistryAggregate403Response.d.ts +64 -0
  438. package/dist/raw/registry/models/RegistryAggregate403Response.js +74 -0
  439. package/dist/raw/registry/models/RegistryAggregate413Response.d.ts +64 -0
  440. package/dist/raw/registry/models/RegistryAggregate413Response.js +74 -0
  441. package/dist/raw/registry/models/RegistryAggregate415Response.d.ts +1 -0
  442. package/dist/raw/registry/models/RegistryAggregate415Response.js +1 -2
  443. package/dist/raw/registry/models/RegistryAggregate500Response.d.ts +63 -0
  444. package/dist/raw/registry/models/RegistryAggregate500Response.js +75 -0
  445. package/dist/raw/registry/models/RegistryAggregate503Response.d.ts +64 -0
  446. package/dist/raw/registry/models/RegistryAggregate503Response.js +74 -0
  447. package/dist/raw/registry/models/RegistryAggregate504Response.d.ts +63 -0
  448. package/dist/raw/registry/models/RegistryAggregate504Response.js +75 -0
  449. package/dist/raw/registry/models/RegistryAggregateKind404Response.d.ts +63 -0
  450. package/dist/raw/registry/models/{RegistryGetActionRun404Response.js → RegistryAggregateKind404Response.js} +18 -18
  451. package/dist/raw/registry/models/RegistryCreateServiceAccount400Response.d.ts +66 -0
  452. package/dist/raw/registry/models/RegistryCreateServiceAccount400Response.js +76 -0
  453. package/dist/raw/registry/models/RegistryInstallApp409Response.d.ts +63 -0
  454. package/dist/raw/registry/models/RegistryInstallApp409Response.js +75 -0
  455. package/dist/raw/registry/models/RegistryListApps400Response.d.ts +63 -0
  456. package/dist/raw/registry/models/RegistryListApps400Response.js +75 -0
  457. package/dist/raw/registry/models/RegistryListApps503Response.d.ts +65 -0
  458. package/dist/raw/registry/models/RegistryListApps503Response.js +75 -0
  459. package/dist/raw/registry/models/RegistryListArtifactReleases400Response.d.ts +63 -0
  460. package/dist/raw/registry/models/RegistryListArtifactReleases400Response.js +75 -0
  461. package/dist/raw/registry/models/RegistryListUserTraces503Response.d.ts +66 -0
  462. package/dist/raw/registry/models/RegistryListUserTraces503Response.js +76 -0
  463. package/dist/raw/registry/models/RegistryRevokeOwnSessions400Response.d.ts +64 -0
  464. package/dist/raw/registry/models/RegistryRevokeOwnSessions400Response.js +74 -0
  465. package/dist/raw/registry/models/RegistryRevokeOwnSessions415Response.d.ts +63 -0
  466. package/dist/raw/registry/models/RegistryRevokeOwnSessions415Response.js +75 -0
  467. package/dist/raw/registry/models/RegistryWhoami503Response.d.ts +66 -0
  468. package/dist/raw/registry/models/RegistryWhoami503Response.js +76 -0
  469. package/dist/raw/registry/models/RegistryWorkspacePluginRef.d.ts +61 -0
  470. package/dist/raw/registry/models/RegistryWorkspacePluginRef.js +62 -0
  471. package/dist/raw/registry/models/RegistryWorkspaceRecommendation.d.ts +66 -0
  472. package/dist/raw/registry/models/RegistryWorkspaceRecommendation.js +64 -0
  473. package/dist/raw/registry/models/RegistryWorkspaceRecommendationReason.d.ts +29 -0
  474. package/dist/raw/registry/models/RegistryWorkspaceRecommendationReason.js +57 -0
  475. package/dist/raw/registry/models/RegistryWorkspaceView.d.ts +42 -0
  476. package/dist/raw/registry/models/RegistryWorkspaceView.js +11 -0
  477. package/dist/raw/registry/models/RelationshipsView.d.ts +5 -1
  478. package/dist/raw/registry/models/ReleaseDto.d.ts +123 -0
  479. package/dist/raw/registry/models/ReleaseDto.js +100 -0
  480. package/dist/raw/registry/models/ReleasePage.d.ts +40 -0
  481. package/dist/raw/registry/models/{BudgetsPage.js → ReleasePage.js} +16 -16
  482. package/dist/raw/registry/models/ReleasePolicyDto.d.ts +76 -0
  483. package/dist/raw/registry/models/ReleasePolicyDto.js +78 -0
  484. package/dist/raw/registry/models/RoleDto.d.ts +38 -0
  485. package/dist/raw/registry/models/RoleDto.js +54 -0
  486. package/dist/raw/registry/models/RoleListDto.d.ts +33 -0
  487. package/dist/raw/registry/models/RoleListDto.js +51 -0
  488. package/dist/raw/registry/models/SearchRequest.d.ts +1 -1
  489. package/dist/raw/registry/models/ServiceAccountDto.d.ts +5 -1
  490. package/dist/raw/registry/models/SetReleasePolicyBody.d.ts +55 -0
  491. package/dist/raw/registry/models/SetReleasePolicyBody.js +54 -0
  492. package/dist/raw/registry/models/SetTraceContentPolicyDto.d.ts +34 -0
  493. package/dist/raw/registry/models/SetTraceContentPolicyDto.js +48 -0
  494. package/dist/raw/registry/models/SetVisibilityBody.d.ts +33 -0
  495. package/dist/raw/registry/models/SetVisibilityBody.js +50 -0
  496. package/dist/raw/registry/models/SpanViewDto.d.ts +25 -0
  497. package/dist/raw/registry/models/SpanViewDto.js +8 -0
  498. package/dist/raw/registry/models/TraceContentDeletionDto.d.ts +32 -0
  499. package/dist/raw/registry/models/TraceContentDeletionDto.js +50 -0
  500. package/dist/raw/registry/models/TraceContentPolicyDto.d.ts +48 -0
  501. package/dist/raw/registry/models/TraceContentPolicyDto.js +52 -0
  502. package/dist/raw/registry/models/TraceDetailView.d.ts +9 -0
  503. package/dist/raw/registry/models/TraceDetailView.js +2 -0
  504. package/dist/raw/registry/models/UpdateInvitationRequest.d.ts +38 -0
  505. package/dist/raw/registry/models/UpdateInvitationRequest.js +50 -0
  506. package/dist/raw/registry/models/UpgradeAppBody.d.ts +37 -0
  507. package/dist/raw/registry/models/UpgradeAppBody.js +48 -0
  508. package/dist/raw/registry/models/UserDirectoryDto.d.ts +55 -0
  509. package/dist/raw/registry/models/UserDirectoryDto.js +58 -0
  510. package/dist/raw/registry/models/UsersPage.d.ts +3 -3
  511. package/dist/raw/registry/models/UsersPage.js +3 -3
  512. package/dist/raw/registry/models/WhoamiResponse.d.ts +12 -3
  513. package/dist/raw/registry/models/WhoamiResponse.js +5 -3
  514. package/dist/raw/registry/models/WithdrawBody.d.ts +33 -0
  515. package/dist/raw/registry/models/WithdrawBody.js +48 -0
  516. package/dist/raw/registry/models/WorkspaceInvitationListDto.d.ts +33 -0
  517. package/dist/raw/registry/models/WorkspaceInvitationListDto.js +51 -0
  518. package/dist/raw/registry/models/WorkspaceInvitationRow.d.ts +44 -0
  519. package/dist/raw/registry/models/WorkspaceInvitationRow.js +58 -0
  520. package/dist/raw/registry/models/WorkspaceRecommendationsPage.d.ts +40 -0
  521. package/dist/raw/registry/models/WorkspaceRecommendationsPage.js +56 -0
  522. package/dist/raw/registry/models/index.d.ts +51 -50
  523. package/dist/raw/registry/models/index.js +51 -50
  524. package/dist/raw/secret/apis/OauthApi.d.ts +143 -0
  525. package/dist/raw/secret/apis/OauthApi.js +335 -0
  526. package/dist/raw/secret/apis/index.d.ts +1 -0
  527. package/dist/raw/secret/apis/index.js +19 -0
  528. package/dist/raw/secret/index.d.ts +1 -0
  529. package/dist/raw/secret/index.js +1 -0
  530. package/dist/raw/secret/models/GatewayOauthCompleteRequest.d.ts +32 -0
  531. package/dist/raw/secret/models/GatewayOauthCompleteRequest.js +50 -0
  532. package/dist/raw/secret/models/GatewayOauthCompletion.d.ts +46 -0
  533. package/dist/raw/secret/models/GatewayOauthCompletion.js +55 -0
  534. package/dist/raw/secret/models/GatewayOauthConnection.d.ts +83 -0
  535. package/dist/raw/secret/models/GatewayOauthConnection.js +83 -0
  536. package/dist/raw/secret/models/GatewayOauthOwner.d.ts +31 -0
  537. package/dist/raw/secret/models/GatewayOauthOwner.js +59 -0
  538. package/dist/raw/secret/models/GatewayOauthProviderView.d.ts +69 -0
  539. package/dist/raw/secret/models/GatewayOauthProviderView.js +69 -0
  540. package/dist/raw/secret/models/GatewayOauthStartRequest.d.ts +52 -0
  541. package/dist/raw/secret/models/GatewayOauthStartRequest.js +59 -0
  542. package/dist/raw/secret/models/GatewayOauthStarted.d.ts +39 -0
  543. package/dist/raw/secret/models/GatewayOauthStarted.js +54 -0
  544. package/dist/raw/secret/models/SecretCompleteOauth400Response.d.ts +70 -0
  545. package/dist/raw/secret/models/SecretCompleteOauth400Response.js +80 -0
  546. package/dist/raw/secret/models/SecretCompleteOauth413Response.d.ts +64 -0
  547. package/dist/raw/secret/models/SecretCompleteOauth413Response.js +74 -0
  548. package/dist/raw/secret/models/SecretCompleteOauth415Response.d.ts +64 -0
  549. package/dist/raw/secret/models/SecretCompleteOauth415Response.js +74 -0
  550. package/dist/raw/secret/models/SecretCompleteOauth422Response.d.ts +63 -0
  551. package/dist/raw/secret/models/SecretCompleteOauth422Response.js +75 -0
  552. package/dist/raw/secret/models/SecretDisconnectOauth400Response.d.ts +67 -0
  553. package/dist/raw/secret/models/SecretDisconnectOauth400Response.js +77 -0
  554. package/dist/raw/secret/models/SecretOauthCallback400Response.d.ts +68 -0
  555. package/dist/raw/secret/models/SecretOauthCallback400Response.js +78 -0
  556. package/dist/raw/secret/models/SecretOauthCallback401Response.d.ts +80 -0
  557. package/dist/raw/secret/models/SecretOauthCallback401Response.js +90 -0
  558. package/dist/raw/secret/models/SecretOauthCallback403Response.d.ts +66 -0
  559. package/dist/raw/secret/models/SecretOauthCallback403Response.js +76 -0
  560. package/dist/raw/secret/models/SecretOauthCallback404Response.d.ts +65 -0
  561. package/dist/raw/secret/models/SecretOauthCallback404Response.js +75 -0
  562. package/dist/raw/secret/models/SecretOauthCallback500Response.d.ts +64 -0
  563. package/dist/raw/secret/models/SecretOauthCallback500Response.js +74 -0
  564. package/dist/raw/secret/models/SecretOauthCallback503Response.d.ts +66 -0
  565. package/dist/raw/secret/models/SecretOauthCallback503Response.js +76 -0
  566. package/dist/raw/secret/models/SecretOauthCallback504Response.d.ts +63 -0
  567. package/dist/raw/secret/models/SecretOauthCallback504Response.js +75 -0
  568. package/dist/raw/secret/models/index.d.ts +19 -0
  569. package/dist/raw/secret/models/index.js +19 -0
  570. package/dist/raw/skill/apis/SkillApi.d.ts +65 -10
  571. package/dist/raw/skill/apis/SkillApi.js +86 -11
  572. package/dist/raw/skill/models/GatewayArtifactBase.d.ts +27 -15
  573. package/dist/raw/skill/models/GatewayArtifactBase.js +2 -2
  574. package/dist/raw/skill/models/GatewayTraceStatsGroupBy.d.ts +5 -1
  575. package/dist/raw/skill/models/GatewayTraceStatsGroupBy.js +4 -0
  576. package/dist/raw/skill/models/GatewayTraceStatsMeasure.d.ts +3 -1
  577. package/dist/raw/skill/models/GatewayTraceStatsMeasure.js +2 -0
  578. package/dist/raw/skill/models/SkillAggregate400Response.d.ts +2 -0
  579. package/dist/raw/skill/models/SkillAggregate400Response.js +2 -2
  580. package/dist/raw/skill/models/SkillAggregate415Response.d.ts +1 -0
  581. package/dist/raw/skill/models/SkillAggregate415Response.js +1 -2
  582. package/dist/raw/skill/models/SkillCreate400Response.d.ts +2 -1
  583. package/dist/raw/skill/models/SkillCreate400Response.js +2 -3
  584. package/dist/raw/skill/models/SkillCreate413Response.d.ts +64 -0
  585. package/dist/raw/skill/models/SkillCreate413Response.js +74 -0
  586. package/dist/raw/skill/models/SkillCreate415Response.d.ts +63 -0
  587. package/dist/raw/skill/models/SkillCreate415Response.js +75 -0
  588. package/dist/raw/skill/models/SkillInsightSchemas401Response.d.ts +1 -0
  589. package/dist/raw/skill/models/SkillInsightSchemas401Response.js +1 -0
  590. package/dist/raw/skill/models/SkillQuerySkillTraceStats400Response.d.ts +2 -0
  591. package/dist/raw/skill/models/SkillQuerySkillTraceStats400Response.js +2 -0
  592. package/dist/raw/skill/models/SkillSkill.d.ts +6 -7
  593. package/dist/raw/skill/models/SkillSkillArtifactView.d.ts +33 -22
  594. package/dist/raw/skill/models/SkillSkillArtifactView.js +2 -2
  595. package/dist/raw/skill/models/SpanViewDto.d.ts +25 -0
  596. package/dist/raw/skill/models/SpanViewDto.js +8 -0
  597. package/dist/raw/skill/models/TraceDetailView.d.ts +9 -0
  598. package/dist/raw/skill/models/TraceDetailView.js +2 -0
  599. package/dist/raw/skill/models/index.d.ts +2 -0
  600. package/dist/raw/skill/models/index.js +2 -0
  601. package/dist/resource-types.d.ts +670 -0
  602. package/dist/resource-types.js +2 -0
  603. package/dist/resources.d.ts +6 -1
  604. package/dist/resources.js +9 -6
  605. package/dist/resources.json +398 -329
  606. package/dist/tracing/client.d.ts +10 -1
  607. package/dist/tracing/client.js +50 -16
  608. package/dist/tracing/compat.d.ts +82 -0
  609. package/dist/tracing/compat.js +128 -0
  610. package/dist/tracing/config.d.ts +3 -1
  611. package/dist/tracing/config.js +7 -2
  612. package/dist/tracing/exporter.d.ts +19 -1
  613. package/dist/tracing/exporter.js +56 -14
  614. package/dist/tracing/index.d.ts +2 -0
  615. package/dist/tracing/index.js +13 -1
  616. package/dist/tracing/integrations.d.ts +35 -0
  617. package/dist/tracing/integrations.js +95 -0
  618. package/dist/tracing/propagation.d.ts +2 -0
  619. package/dist/tracing/propagation.js +16 -0
  620. package/dist/tracing/semconv.d.ts +4 -0
  621. package/dist/tracing/semconv.js +14 -2
  622. package/dist/tracing/spans.d.ts +6 -0
  623. package/dist/tracing/spans.js +20 -1
  624. package/dist/tracing/version.d.ts +1 -1
  625. package/dist/tracing/version.js +1 -1
  626. package/package.json +1 -1
  627. package/dist/raw/agent/models/Box.d.ts +0 -330
  628. package/dist/raw/agent/models/Box.js +0 -167
  629. package/dist/raw/registry/apis/ActionsApi.d.ts +0 -68
  630. package/dist/raw/registry/apis/ActionsApi.js +0 -181
  631. package/dist/raw/registry/apis/CatalogApi.d.ts +0 -98
  632. package/dist/raw/registry/apis/CatalogApi.js +0 -259
  633. package/dist/raw/registry/apis/DetectedUsersApi.d.ts +0 -89
  634. package/dist/raw/registry/apis/DetectedUsersApi.js +0 -239
  635. package/dist/raw/registry/apis/ExtensionsApi.d.ts +0 -68
  636. package/dist/raw/registry/apis/ExtensionsApi.js +0 -181
  637. package/dist/raw/registry/apis/GroupsApi.d.ts +0 -68
  638. package/dist/raw/registry/apis/GroupsApi.js +0 -181
  639. package/dist/raw/registry/apis/ProjectsApi.d.ts +0 -159
  640. package/dist/raw/registry/apis/ProjectsApi.js +0 -402
  641. package/dist/raw/registry/apis/UsageApi.d.ts +0 -134
  642. package/dist/raw/registry/apis/UsageApi.js +0 -349
  643. package/dist/raw/registry/models/ActionRunDto.d.ts +0 -99
  644. package/dist/raw/registry/models/ActionRunDto.js +0 -86
  645. package/dist/raw/registry/models/ActionRunJobDto.d.ts +0 -92
  646. package/dist/raw/registry/models/ActionRunJobDto.js +0 -78
  647. package/dist/raw/registry/models/ActionRunJobsPage.d.ts +0 -40
  648. package/dist/raw/registry/models/ActionRunJobsPage.js +0 -56
  649. package/dist/raw/registry/models/ActionRunsPage.d.ts +0 -40
  650. package/dist/raw/registry/models/ActionRunsPage.js +0 -56
  651. package/dist/raw/registry/models/AvailableExtensionDto.d.ts +0 -123
  652. package/dist/raw/registry/models/AvailableExtensionDto.js +0 -96
  653. package/dist/raw/registry/models/AvailableExtensionsPage.d.ts +0 -40
  654. package/dist/raw/registry/models/AvailableExtensionsPage.js +0 -56
  655. package/dist/raw/registry/models/BudgetDto.d.ts +0 -111
  656. package/dist/raw/registry/models/BudgetDto.js +0 -96
  657. package/dist/raw/registry/models/BudgetsPage.d.ts +0 -40
  658. package/dist/raw/registry/models/CreateBudgetBody.d.ts +0 -86
  659. package/dist/raw/registry/models/CreateBudgetBody.js +0 -78
  660. package/dist/raw/registry/models/CreateProjectBody.d.ts +0 -56
  661. package/dist/raw/registry/models/CreateProjectBody.js +0 -60
  662. package/dist/raw/registry/models/DetectedUserDto.d.ts +0 -84
  663. package/dist/raw/registry/models/DetectedUserDto.js +0 -74
  664. package/dist/raw/registry/models/DetectedUsersPage.d.ts +0 -40
  665. package/dist/raw/registry/models/DetectedUsersPage.js +0 -56
  666. package/dist/raw/registry/models/ExtensionJobsPage.d.ts +0 -40
  667. package/dist/raw/registry/models/ExtensionJobsPage.js +0 -56
  668. package/dist/raw/registry/models/ExtensionVersionDto.d.ts +0 -50
  669. package/dist/raw/registry/models/ExtensionVersionDto.js +0 -58
  670. package/dist/raw/registry/models/ExtensionVersionsPage.d.ts +0 -40
  671. package/dist/raw/registry/models/ExtensionVersionsPage.js +0 -56
  672. package/dist/raw/registry/models/GroupMemberDto.d.ts +0 -44
  673. package/dist/raw/registry/models/GroupMemberDto.js +0 -58
  674. package/dist/raw/registry/models/GroupMembersPage.d.ts +0 -40
  675. package/dist/raw/registry/models/GroupMembersPage.js +0 -56
  676. package/dist/raw/registry/models/GroupsPage.d.ts +0 -40
  677. package/dist/raw/registry/models/InstalledExtensionDto.d.ts +0 -80
  678. package/dist/raw/registry/models/InstalledExtensionDto.js +0 -82
  679. package/dist/raw/registry/models/InstalledExtensionsPage.d.ts +0 -40
  680. package/dist/raw/registry/models/InstalledExtensionsPage.js +0 -56
  681. package/dist/raw/registry/models/MembershipDto.d.ts +0 -60
  682. package/dist/raw/registry/models/MembershipDto.js +0 -66
  683. package/dist/raw/registry/models/MembershipsPage.d.ts +0 -40
  684. package/dist/raw/registry/models/PatchBudgetBody.d.ts +0 -62
  685. package/dist/raw/registry/models/PatchBudgetBody.js +0 -58
  686. package/dist/raw/registry/models/PatchProjectBody.d.ts +0 -50
  687. package/dist/raw/registry/models/PatchProjectBody.js +0 -54
  688. package/dist/raw/registry/models/PatchUserBody.d.ts +0 -35
  689. package/dist/raw/registry/models/PatchUserBody.js +0 -48
  690. package/dist/raw/registry/models/ProjectBulkCreateRequest.d.ts +0 -33
  691. package/dist/raw/registry/models/ProjectBulkCreateRequest.js +0 -51
  692. package/dist/raw/registry/models/ProjectDto.d.ts +0 -102
  693. package/dist/raw/registry/models/ProjectDto.js +0 -92
  694. package/dist/raw/registry/models/ProjectExport.d.ts +0 -49
  695. package/dist/raw/registry/models/ProjectExport.js +0 -59
  696. package/dist/raw/registry/models/ProjectSlot.d.ts +0 -54
  697. package/dist/raw/registry/models/ProjectSlot.js +0 -60
  698. package/dist/raw/registry/models/ProjectsBulkResponse.d.ts +0 -40
  699. package/dist/raw/registry/models/ProjectsBulkResponse.js +0 -51
  700. package/dist/raw/registry/models/ProjectsPage.d.ts +0 -40
  701. package/dist/raw/registry/models/ProjectsPage.js +0 -56
  702. package/dist/raw/registry/models/PublisherDto.d.ts +0 -80
  703. package/dist/raw/registry/models/PublisherDto.js +0 -76
  704. package/dist/raw/registry/models/PublishersPage.d.ts +0 -40
  705. package/dist/raw/registry/models/RegistryCreateServiceAccount409Response.d.ts +0 -63
  706. package/dist/raw/registry/models/RegistryCreateServiceAccount409Response.js +0 -75
  707. package/dist/raw/registry/models/RegistryGetActionRun404Response.d.ts +0 -63
  708. package/dist/raw/registry/models/RegistryListActionRuns400Response.d.ts +0 -63
  709. package/dist/raw/registry/models/RegistryListActionRuns400Response.js +0 -75
  710. package/dist/raw/registry/models/RegistryListActionRuns401Response.js +0 -89
  711. package/dist/raw/registry/models/RegistryListActionRuns403Response.d.ts +0 -64
  712. package/dist/raw/registry/models/RegistryListActionRuns403Response.js +0 -74
  713. package/dist/raw/registry/models/RegistryListActionRuns500Response.d.ts +0 -63
  714. package/dist/raw/registry/models/RegistryListActionRuns500Response.js +0 -75
  715. package/dist/raw/registry/models/RegistryListActionRuns503Response.d.ts +0 -64
  716. package/dist/raw/registry/models/RegistryListActionRuns503Response.js +0 -74
  717. package/dist/raw/registry/models/RegistryListActionRuns504Response.d.ts +0 -63
  718. package/dist/raw/registry/models/RegistryListActionRuns504Response.js +0 -75
  719. package/dist/raw/registry/models/RegistryListUserTraces400Response.d.ts +0 -63
  720. package/dist/raw/registry/models/RegistryListUserTraces400Response.js +0 -75
  721. package/dist/raw/registry/models/RegistryListWorkspaces503Response.d.ts +0 -65
  722. package/dist/raw/registry/models/RegistryListWorkspaces503Response.js +0 -75
  723. package/dist/raw/registry/models/UpdateDetectedUserRequest.d.ts +0 -48
  724. package/dist/raw/registry/models/UpdateDetectedUserRequest.js +0 -52
  725. package/dist/raw/registry/models/UsageCounters.d.ts +0 -78
  726. package/dist/raw/registry/models/UsageCounters.js +0 -78
  727. package/dist/raw/registry/models/UsageDayDto.d.ts +0 -129
  728. package/dist/raw/registry/models/UsageDayDto.js +0 -114
  729. package/dist/raw/registry/models/UsageDaysPage.d.ts +0 -40
  730. package/dist/raw/registry/models/UsageDaysPage.js +0 -56
  731. package/dist/raw/registry/models/UsageMinuteDto.d.ts +0 -136
  732. package/dist/raw/registry/models/UsageMinuteDto.js +0 -118
  733. package/dist/raw/registry/models/UsageMinutesPage.d.ts +0 -40
  734. package/dist/raw/registry/models/UsageMinutesPage.js +0 -56
@@ -0,0 +1,159 @@
1
+ /**
2
+ * Atlan Agent Gateway — registry
3
+ * The platform core: identity, tenancy, the artifact plane, discovery and the policy plane.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import * as runtime from '../runtime';
13
+ import { type AppActionsPage } from '../models/AppActionsPage';
14
+ import { type AppDto } from '../models/AppDto';
15
+ import { type AppsPage } from '../models/AppsPage';
16
+ import { type InstallAppBody } from '../models/InstallAppBody';
17
+ import { type ReconcileAcceptedDto } from '../models/ReconcileAcceptedDto';
18
+ import { type UpgradeAppBody } from '../models/UpgradeAppBody';
19
+ export interface RegistryGetAppRequest {
20
+ app: string;
21
+ }
22
+ export interface RegistryInstallAppRequest {
23
+ app: string;
24
+ installAppBody: InstallAppBody;
25
+ contentEncoding?: RegistryInstallAppContentEncodingEnum;
26
+ }
27
+ export interface RegistryListAppActionsRequest {
28
+ app: string;
29
+ }
30
+ export interface RegistryReconcileAppRequest {
31
+ app: string;
32
+ }
33
+ export interface RegistryUninstallAppRequest {
34
+ app: string;
35
+ }
36
+ export interface RegistryUpgradeAppRequest {
37
+ app: string;
38
+ upgradeAppBody: UpgradeAppBody;
39
+ contentEncoding?: RegistryUpgradeAppContentEncodingEnum;
40
+ }
41
+ /**
42
+ *
43
+ */
44
+ export declare class AppsApi extends runtime.BaseAPI {
45
+ /**
46
+ * Creates request options for registryGetApp without sending the request
47
+ */
48
+ registryGetAppRequestOpts(requestParameters: RegistryGetAppRequest): Promise<runtime.RequestOpts>;
49
+ /**
50
+ * Includes the install-time `install_metadata`. A `failed` status is kept rather than cleared: a retry with nothing to explain it is worse than a record saying what happened.
51
+ * Get an app
52
+ */
53
+ registryGetAppRaw(requestParameters: RegistryGetAppRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AppDto>>;
54
+ /**
55
+ * Includes the install-time `install_metadata`. A `failed` status is kept rather than cleared: a retry with nothing to explain it is worse than a record saying what happened.
56
+ * Get an app
57
+ */
58
+ registryGetApp(requestParameters: RegistryGetAppRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AppDto>;
59
+ /**
60
+ * Creates request options for registryInstallApp without sending the request
61
+ */
62
+ registryInstallAppRequestOpts(requestParameters: RegistryInstallAppRequest): Promise<runtime.RequestOpts>;
63
+ /**
64
+ * Turns the app on for this account and fires its install lifecycle: the `pre_install` gate, then the app\'s own artifact moving to `active`, then the seeding `post_install` hook under **your** bearer — which is how an app\'s per-account seeds (a bootstrap skill, a default provider) are attributed to the caller rather than to the platform. **Idempotent, and a re-install is the retry.** Installing an already-installed app re-fires both hooks and re-merges their metadata, keeping the original `created_by` and `created_at`. Every documented seed is idempotent, so this is how an install whose seeds failed is recovered. **Only `pre_install` can refuse.** Once the app is `active` the install stands: a failing seed hook leaves it installed with no per-account state rather than rolling back, because a rolled-back install leaves nothing to retry from. An app that cannot be reached at all installs with empty metadata for the same reason — a deployment window must not become an onboarding outage. Requires the account to have been onboarded: an app is an artifact, and an artifact needs the org root workspace that onboarding creates.
65
+ * Install an app
66
+ */
67
+ registryInstallAppRaw(requestParameters: RegistryInstallAppRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AppDto>>;
68
+ /**
69
+ * Turns the app on for this account and fires its install lifecycle: the `pre_install` gate, then the app\'s own artifact moving to `active`, then the seeding `post_install` hook under **your** bearer — which is how an app\'s per-account seeds (a bootstrap skill, a default provider) are attributed to the caller rather than to the platform. **Idempotent, and a re-install is the retry.** Installing an already-installed app re-fires both hooks and re-merges their metadata, keeping the original `created_by` and `created_at`. Every documented seed is idempotent, so this is how an install whose seeds failed is recovered. **Only `pre_install` can refuse.** Once the app is `active` the install stands: a failing seed hook leaves it installed with no per-account state rather than rolling back, because a rolled-back install leaves nothing to retry from. An app that cannot be reached at all installs with empty metadata for the same reason — a deployment window must not become an onboarding outage. Requires the account to have been onboarded: an app is an artifact, and an artifact needs the org root workspace that onboarding creates.
70
+ * Install an app
71
+ */
72
+ registryInstallApp(requestParameters: RegistryInstallAppRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AppDto>;
73
+ /**
74
+ * Creates request options for registryListAppActions without sending the request
75
+ */
76
+ registryListAppActionsRequestOpts(requestParameters: RegistryListAppActionsRequest): Promise<runtime.RequestOpts>;
77
+ /**
78
+ * The jobs this app declares it can run, each a Temporal queue and workflow named `<app>/<job>`. **Not the same as `/actions`.** An app action is a *capability*; an `actions` row is a rule about when to invoke one. A client wiring up an action DAG reads both.
79
+ * List an app\'s actions
80
+ */
81
+ registryListAppActionsRaw(requestParameters: RegistryListAppActionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AppActionsPage>>;
82
+ /**
83
+ * The jobs this app declares it can run, each a Temporal queue and workflow named `<app>/<job>`. **Not the same as `/actions`.** An app action is a *capability*; an `actions` row is a rule about when to invoke one. A client wiring up an action DAG reads both.
84
+ * List an app\'s actions
85
+ */
86
+ registryListAppActions(requestParameters: RegistryListAppActionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AppActionsPage>;
87
+ /**
88
+ * Creates request options for registryListApps without sending the request
89
+ */
90
+ registryListAppsRequestOpts(): Promise<runtime.RequestOpts>;
91
+ /**
92
+ * Every app this account holds, installed or not. An app is an extension as this account holds it: what it is, who publishes it, where its browser UI lives, and whether the account has turned it on. **Browsing and the install list are the same read.** Filter `?filter[install_status][eq]=available` for what can be installed and `?filter[install_status][eq]=active` for what is. They were separate routes while the catalogue was deployment-global and the installs were account-scoped; an app is neither. Supports the shared query grammar over the artifact envelope (`name`, `display_name`, `updated_at`, …) and over this kind\'s own columns: `install_status`, `author`, `license`.
93
+ * List apps
94
+ */
95
+ registryListAppsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AppsPage>>;
96
+ /**
97
+ * Every app this account holds, installed or not. An app is an extension as this account holds it: what it is, who publishes it, where its browser UI lives, and whether the account has turned it on. **Browsing and the install list are the same read.** Filter `?filter[install_status][eq]=available` for what can be installed and `?filter[install_status][eq]=active` for what is. They were separate routes while the catalogue was deployment-global and the installs were account-scoped; an app is neither. Supports the shared query grammar over the artifact envelope (`name`, `display_name`, `updated_at`, …) and over this kind\'s own columns: `install_status`, `author`, `license`.
98
+ * List apps
99
+ */
100
+ registryListApps(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AppsPage>;
101
+ /**
102
+ * Creates request options for registryReconcileApp without sending the request
103
+ */
104
+ registryReconcileAppRequestOpts(requestParameters: RegistryReconcileAppRequest): Promise<runtime.RequestOpts>;
105
+ /**
106
+ * Hands the app every live artifact of its own kinds in this account, as `{id, metadata}`, so it can release backing resources for anything it is still holding that the registry no longer has a row for. **The set is the contract, so it is never truncated.** A partial set reads to the app as \"everything else is an orphan\", which for a sweeping handler means deleting live data. If the account holds more artifacts of these kinds than one sweep can carry, this refuses rather than sending a prefix — which is why the size check is part of the `202`, not of the sweep. **`202`, and the sweep runs after the response.** A reconcile walks an app\'s whole backing store for the account, so holding the request open for it would tie an operator\'s timeout to an object-store scan. What is decided before the `202` is everything a caller can act on: that the app is installed, and that its live set fits. The sweep\'s own outcome is the app\'s to log. `live_count` is what distinguishes a sweep of four hundred artifacts from a sweep of an app the account owns nothing of — which is usually a mistake in which app was named.
107
+ * Trigger an app\'s reconcile sweep
108
+ */
109
+ registryReconcileAppRaw(requestParameters: RegistryReconcileAppRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ReconcileAcceptedDto>>;
110
+ /**
111
+ * Hands the app every live artifact of its own kinds in this account, as `{id, metadata}`, so it can release backing resources for anything it is still holding that the registry no longer has a row for. **The set is the contract, so it is never truncated.** A partial set reads to the app as \"everything else is an orphan\", which for a sweeping handler means deleting live data. If the account holds more artifacts of these kinds than one sweep can carry, this refuses rather than sending a prefix — which is why the size check is part of the `202`, not of the sweep. **`202`, and the sweep runs after the response.** A reconcile walks an app\'s whole backing store for the account, so holding the request open for it would tie an operator\'s timeout to an object-store scan. What is decided before the `202` is everything a caller can act on: that the app is installed, and that its live set fits. The sweep\'s own outcome is the app\'s to log. `live_count` is what distinguishes a sweep of four hundred artifacts from a sweep of an app the account owns nothing of — which is usually a mistake in which app was named.
112
+ * Trigger an app\'s reconcile sweep
113
+ */
114
+ registryReconcileApp(requestParameters: RegistryReconcileAppRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ReconcileAcceptedDto>;
115
+ /**
116
+ * Creates request options for registryUninstallApp without sending the request
117
+ */
118
+ registryUninstallAppRequestOpts(requestParameters: RegistryUninstallAppRequest): Promise<runtime.RequestOpts>;
119
+ /**
120
+ * Marks the install `uninstalling`, tells the app so it can release what it provisioned for this account, then archives the account\'s artifact for it. **The account\'s artifacts are not touched.** Uninstalling `skill` does not archive the account\'s skills — the kind stays registered deployment-wide and the rows stay readable, so a re-install finds them. What the hook releases is the app\'s *own* per-account state (a bucket prefix, an external provider registration). A failing hook does not fail the uninstall: an account that asked to remove an app must not stay installed because the app\'s cleanup failed. `204`, with nothing to say.
121
+ * Uninstall an app
122
+ */
123
+ registryUninstallAppRaw(requestParameters: RegistryUninstallAppRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
124
+ /**
125
+ * Marks the install `uninstalling`, tells the app so it can release what it provisioned for this account, then archives the account\'s artifact for it. **The account\'s artifacts are not touched.** Uninstalling `skill` does not archive the account\'s skills — the kind stays registered deployment-wide and the rows stay readable, so a re-install finds them. What the hook releases is the app\'s *own* per-account state (a bucket prefix, an external provider registration). A failing hook does not fail the uninstall: an account that asked to remove an app must not stay installed because the app\'s cleanup failed. `204`, with nothing to say.
126
+ * Uninstall an app
127
+ */
128
+ registryUninstallApp(requestParameters: RegistryUninstallAppRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
129
+ /**
130
+ * Creates request options for registryUpgradeApp without sending the request
131
+ */
132
+ registryUpgradeAppRequestOpts(requestParameters: RegistryUpgradeAppRequest): Promise<runtime.RequestOpts>;
133
+ /**
134
+ * Records the account against the deployment\'s current `release` and contract version. `{\"is_pinned\": true}` freezes it there, so a later release does not move this account; `{\"is_pinned\": false}` releases the freeze. **No hooks fire.** An upgrade changes which contract version the account is recorded against, and nothing else — re-running the seeding hook on every upgrade would re-seed an account that already has its rows. An app with per-version work to do has `reconcile`, which is triggered deliberately.
135
+ * Move an install to the registration head
136
+ */
137
+ registryUpgradeAppRaw(requestParameters: RegistryUpgradeAppRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AppDto>>;
138
+ /**
139
+ * Records the account against the deployment\'s current `release` and contract version. `{\"is_pinned\": true}` freezes it there, so a later release does not move this account; `{\"is_pinned\": false}` releases the freeze. **No hooks fire.** An upgrade changes which contract version the account is recorded against, and nothing else — re-running the seeding hook on every upgrade would re-seed an account that already has its rows. An app with per-version work to do has `reconcile`, which is triggered deliberately.
140
+ * Move an install to the registration head
141
+ */
142
+ registryUpgradeApp(requestParameters: RegistryUpgradeAppRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AppDto>;
143
+ }
144
+ /**
145
+ * @export
146
+ * @enum {string}
147
+ */
148
+ export declare enum RegistryInstallAppContentEncodingEnum {
149
+ Base64 = "base64",
150
+ GzipBase64 = "gzip, base64"
151
+ }
152
+ /**
153
+ * @export
154
+ * @enum {string}
155
+ */
156
+ export declare enum RegistryUpgradeAppContentEncodingEnum {
157
+ Base64 = "base64",
158
+ GzipBase64 = "gzip, base64"
159
+ }
@@ -0,0 +1,385 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Atlan Agent Gateway — registry
6
+ * The platform core: identity, tenancy, the artifact plane, discovery and the policy plane.
7
+ *
8
+ * The version of the OpenAPI document: 0.1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ var desc = Object.getOwnPropertyDescriptor(m, k);
18
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
19
+ desc = { enumerable: true, get: function() { return m[k]; } };
20
+ }
21
+ Object.defineProperty(o, k2, desc);
22
+ }) : (function(o, m, k, k2) {
23
+ if (k2 === undefined) k2 = k;
24
+ o[k2] = m[k];
25
+ }));
26
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
27
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
28
+ }) : function(o, v) {
29
+ o["default"] = v;
30
+ });
31
+ var __importStar = (this && this.__importStar) || (function () {
32
+ var ownKeys = function(o) {
33
+ ownKeys = Object.getOwnPropertyNames || function (o) {
34
+ var ar = [];
35
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
36
+ return ar;
37
+ };
38
+ return ownKeys(o);
39
+ };
40
+ return function (mod) {
41
+ if (mod && mod.__esModule) return mod;
42
+ var result = {};
43
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
44
+ __setModuleDefault(result, mod);
45
+ return result;
46
+ };
47
+ })();
48
+ Object.defineProperty(exports, "__esModule", { value: true });
49
+ exports.RegistryUpgradeAppContentEncodingEnum = exports.RegistryInstallAppContentEncodingEnum = exports.AppsApi = void 0;
50
+ const runtime = __importStar(require("../runtime"));
51
+ const AppActionsPage_1 = require("../models/AppActionsPage");
52
+ const AppDto_1 = require("../models/AppDto");
53
+ const AppsPage_1 = require("../models/AppsPage");
54
+ const InstallAppBody_1 = require("../models/InstallAppBody");
55
+ const ReconcileAcceptedDto_1 = require("../models/ReconcileAcceptedDto");
56
+ const UpgradeAppBody_1 = require("../models/UpgradeAppBody");
57
+ /**
58
+ *
59
+ */
60
+ class AppsApi extends runtime.BaseAPI {
61
+ /**
62
+ * Creates request options for registryGetApp without sending the request
63
+ */
64
+ async registryGetAppRequestOpts(requestParameters) {
65
+ if (requestParameters['app'] == null) {
66
+ throw new runtime.RequiredError('app', 'Required parameter "app" was null or undefined when calling registryGetApp().');
67
+ }
68
+ const queryParameters = {};
69
+ const headerParameters = {};
70
+ if (this.configuration && this.configuration.accessToken) {
71
+ const token = this.configuration.accessToken;
72
+ const tokenString = await token("bearer", []);
73
+ if (tokenString) {
74
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
75
+ }
76
+ }
77
+ let urlPath = `/apps/{app}`;
78
+ urlPath = urlPath.replace('{app}', encodeURIComponent(String(requestParameters['app'])));
79
+ return {
80
+ path: urlPath,
81
+ method: 'GET',
82
+ headers: headerParameters,
83
+ query: queryParameters,
84
+ };
85
+ }
86
+ /**
87
+ * Includes the install-time `install_metadata`. A `failed` status is kept rather than cleared: a retry with nothing to explain it is worse than a record saying what happened.
88
+ * Get an app
89
+ */
90
+ async registryGetAppRaw(requestParameters, initOverrides) {
91
+ const requestOptions = await this.registryGetAppRequestOpts(requestParameters);
92
+ const response = await this.request(requestOptions, initOverrides);
93
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, AppDto_1.AppDtoFromJSON)(jsonValue));
94
+ }
95
+ /**
96
+ * Includes the install-time `install_metadata`. A `failed` status is kept rather than cleared: a retry with nothing to explain it is worse than a record saying what happened.
97
+ * Get an app
98
+ */
99
+ async registryGetApp(requestParameters, initOverrides) {
100
+ const response = await this.registryGetAppRaw(requestParameters, initOverrides);
101
+ return await response.value();
102
+ }
103
+ /**
104
+ * Creates request options for registryInstallApp without sending the request
105
+ */
106
+ async registryInstallAppRequestOpts(requestParameters) {
107
+ if (requestParameters['app'] == null) {
108
+ throw new runtime.RequiredError('app', 'Required parameter "app" was null or undefined when calling registryInstallApp().');
109
+ }
110
+ if (requestParameters['installAppBody'] == null) {
111
+ throw new runtime.RequiredError('installAppBody', 'Required parameter "installAppBody" was null or undefined when calling registryInstallApp().');
112
+ }
113
+ const queryParameters = {};
114
+ const headerParameters = {};
115
+ headerParameters['Content-Type'] = 'application/json';
116
+ if (requestParameters['contentEncoding'] != null) {
117
+ headerParameters['Content-Encoding'] = String(requestParameters['contentEncoding']);
118
+ }
119
+ if (this.configuration && this.configuration.accessToken) {
120
+ const token = this.configuration.accessToken;
121
+ const tokenString = await token("bearer", []);
122
+ if (tokenString) {
123
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
124
+ }
125
+ }
126
+ let urlPath = `/apps/{app}/install`;
127
+ urlPath = urlPath.replace('{app}', encodeURIComponent(String(requestParameters['app'])));
128
+ return {
129
+ path: urlPath,
130
+ method: 'POST',
131
+ headers: headerParameters,
132
+ query: queryParameters,
133
+ body: (0, InstallAppBody_1.InstallAppBodyToJSON)(requestParameters['installAppBody']),
134
+ };
135
+ }
136
+ /**
137
+ * Turns the app on for this account and fires its install lifecycle: the `pre_install` gate, then the app\'s own artifact moving to `active`, then the seeding `post_install` hook under **your** bearer — which is how an app\'s per-account seeds (a bootstrap skill, a default provider) are attributed to the caller rather than to the platform. **Idempotent, and a re-install is the retry.** Installing an already-installed app re-fires both hooks and re-merges their metadata, keeping the original `created_by` and `created_at`. Every documented seed is idempotent, so this is how an install whose seeds failed is recovered. **Only `pre_install` can refuse.** Once the app is `active` the install stands: a failing seed hook leaves it installed with no per-account state rather than rolling back, because a rolled-back install leaves nothing to retry from. An app that cannot be reached at all installs with empty metadata for the same reason — a deployment window must not become an onboarding outage. Requires the account to have been onboarded: an app is an artifact, and an artifact needs the org root workspace that onboarding creates.
138
+ * Install an app
139
+ */
140
+ async registryInstallAppRaw(requestParameters, initOverrides) {
141
+ const requestOptions = await this.registryInstallAppRequestOpts(requestParameters);
142
+ const response = await this.request(requestOptions, initOverrides);
143
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, AppDto_1.AppDtoFromJSON)(jsonValue));
144
+ }
145
+ /**
146
+ * Turns the app on for this account and fires its install lifecycle: the `pre_install` gate, then the app\'s own artifact moving to `active`, then the seeding `post_install` hook under **your** bearer — which is how an app\'s per-account seeds (a bootstrap skill, a default provider) are attributed to the caller rather than to the platform. **Idempotent, and a re-install is the retry.** Installing an already-installed app re-fires both hooks and re-merges their metadata, keeping the original `created_by` and `created_at`. Every documented seed is idempotent, so this is how an install whose seeds failed is recovered. **Only `pre_install` can refuse.** Once the app is `active` the install stands: a failing seed hook leaves it installed with no per-account state rather than rolling back, because a rolled-back install leaves nothing to retry from. An app that cannot be reached at all installs with empty metadata for the same reason — a deployment window must not become an onboarding outage. Requires the account to have been onboarded: an app is an artifact, and an artifact needs the org root workspace that onboarding creates.
147
+ * Install an app
148
+ */
149
+ async registryInstallApp(requestParameters, initOverrides) {
150
+ const response = await this.registryInstallAppRaw(requestParameters, initOverrides);
151
+ return await response.value();
152
+ }
153
+ /**
154
+ * Creates request options for registryListAppActions without sending the request
155
+ */
156
+ async registryListAppActionsRequestOpts(requestParameters) {
157
+ if (requestParameters['app'] == null) {
158
+ throw new runtime.RequiredError('app', 'Required parameter "app" was null or undefined when calling registryListAppActions().');
159
+ }
160
+ const queryParameters = {};
161
+ const headerParameters = {};
162
+ if (this.configuration && this.configuration.accessToken) {
163
+ const token = this.configuration.accessToken;
164
+ const tokenString = await token("bearer", []);
165
+ if (tokenString) {
166
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
167
+ }
168
+ }
169
+ let urlPath = `/apps/{app}/actions`;
170
+ urlPath = urlPath.replace('{app}', encodeURIComponent(String(requestParameters['app'])));
171
+ return {
172
+ path: urlPath,
173
+ method: 'GET',
174
+ headers: headerParameters,
175
+ query: queryParameters,
176
+ };
177
+ }
178
+ /**
179
+ * The jobs this app declares it can run, each a Temporal queue and workflow named `<app>/<job>`. **Not the same as `/actions`.** An app action is a *capability*; an `actions` row is a rule about when to invoke one. A client wiring up an action DAG reads both.
180
+ * List an app\'s actions
181
+ */
182
+ async registryListAppActionsRaw(requestParameters, initOverrides) {
183
+ const requestOptions = await this.registryListAppActionsRequestOpts(requestParameters);
184
+ const response = await this.request(requestOptions, initOverrides);
185
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, AppActionsPage_1.AppActionsPageFromJSON)(jsonValue));
186
+ }
187
+ /**
188
+ * The jobs this app declares it can run, each a Temporal queue and workflow named `<app>/<job>`. **Not the same as `/actions`.** An app action is a *capability*; an `actions` row is a rule about when to invoke one. A client wiring up an action DAG reads both.
189
+ * List an app\'s actions
190
+ */
191
+ async registryListAppActions(requestParameters, initOverrides) {
192
+ const response = await this.registryListAppActionsRaw(requestParameters, initOverrides);
193
+ return await response.value();
194
+ }
195
+ /**
196
+ * Creates request options for registryListApps without sending the request
197
+ */
198
+ async registryListAppsRequestOpts() {
199
+ const queryParameters = {};
200
+ const headerParameters = {};
201
+ if (this.configuration && this.configuration.accessToken) {
202
+ const token = this.configuration.accessToken;
203
+ const tokenString = await token("bearer", []);
204
+ if (tokenString) {
205
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
206
+ }
207
+ }
208
+ let urlPath = `/apps`;
209
+ return {
210
+ path: urlPath,
211
+ method: 'GET',
212
+ headers: headerParameters,
213
+ query: queryParameters,
214
+ };
215
+ }
216
+ /**
217
+ * Every app this account holds, installed or not. An app is an extension as this account holds it: what it is, who publishes it, where its browser UI lives, and whether the account has turned it on. **Browsing and the install list are the same read.** Filter `?filter[install_status][eq]=available` for what can be installed and `?filter[install_status][eq]=active` for what is. They were separate routes while the catalogue was deployment-global and the installs were account-scoped; an app is neither. Supports the shared query grammar over the artifact envelope (`name`, `display_name`, `updated_at`, …) and over this kind\'s own columns: `install_status`, `author`, `license`.
218
+ * List apps
219
+ */
220
+ async registryListAppsRaw(initOverrides) {
221
+ const requestOptions = await this.registryListAppsRequestOpts();
222
+ const response = await this.request(requestOptions, initOverrides);
223
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, AppsPage_1.AppsPageFromJSON)(jsonValue));
224
+ }
225
+ /**
226
+ * Every app this account holds, installed or not. An app is an extension as this account holds it: what it is, who publishes it, where its browser UI lives, and whether the account has turned it on. **Browsing and the install list are the same read.** Filter `?filter[install_status][eq]=available` for what can be installed and `?filter[install_status][eq]=active` for what is. They were separate routes while the catalogue was deployment-global and the installs were account-scoped; an app is neither. Supports the shared query grammar over the artifact envelope (`name`, `display_name`, `updated_at`, …) and over this kind\'s own columns: `install_status`, `author`, `license`.
227
+ * List apps
228
+ */
229
+ async registryListApps(initOverrides) {
230
+ const response = await this.registryListAppsRaw(initOverrides);
231
+ return await response.value();
232
+ }
233
+ /**
234
+ * Creates request options for registryReconcileApp without sending the request
235
+ */
236
+ async registryReconcileAppRequestOpts(requestParameters) {
237
+ if (requestParameters['app'] == null) {
238
+ throw new runtime.RequiredError('app', 'Required parameter "app" was null or undefined when calling registryReconcileApp().');
239
+ }
240
+ const queryParameters = {};
241
+ const headerParameters = {};
242
+ if (this.configuration && this.configuration.accessToken) {
243
+ const token = this.configuration.accessToken;
244
+ const tokenString = await token("bearer", []);
245
+ if (tokenString) {
246
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
247
+ }
248
+ }
249
+ let urlPath = `/apps/{app}/reconcile`;
250
+ urlPath = urlPath.replace('{app}', encodeURIComponent(String(requestParameters['app'])));
251
+ return {
252
+ path: urlPath,
253
+ method: 'POST',
254
+ headers: headerParameters,
255
+ query: queryParameters,
256
+ };
257
+ }
258
+ /**
259
+ * Hands the app every live artifact of its own kinds in this account, as `{id, metadata}`, so it can release backing resources for anything it is still holding that the registry no longer has a row for. **The set is the contract, so it is never truncated.** A partial set reads to the app as \"everything else is an orphan\", which for a sweeping handler means deleting live data. If the account holds more artifacts of these kinds than one sweep can carry, this refuses rather than sending a prefix — which is why the size check is part of the `202`, not of the sweep. **`202`, and the sweep runs after the response.** A reconcile walks an app\'s whole backing store for the account, so holding the request open for it would tie an operator\'s timeout to an object-store scan. What is decided before the `202` is everything a caller can act on: that the app is installed, and that its live set fits. The sweep\'s own outcome is the app\'s to log. `live_count` is what distinguishes a sweep of four hundred artifacts from a sweep of an app the account owns nothing of — which is usually a mistake in which app was named.
260
+ * Trigger an app\'s reconcile sweep
261
+ */
262
+ async registryReconcileAppRaw(requestParameters, initOverrides) {
263
+ const requestOptions = await this.registryReconcileAppRequestOpts(requestParameters);
264
+ const response = await this.request(requestOptions, initOverrides);
265
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, ReconcileAcceptedDto_1.ReconcileAcceptedDtoFromJSON)(jsonValue));
266
+ }
267
+ /**
268
+ * Hands the app every live artifact of its own kinds in this account, as `{id, metadata}`, so it can release backing resources for anything it is still holding that the registry no longer has a row for. **The set is the contract, so it is never truncated.** A partial set reads to the app as \"everything else is an orphan\", which for a sweeping handler means deleting live data. If the account holds more artifacts of these kinds than one sweep can carry, this refuses rather than sending a prefix — which is why the size check is part of the `202`, not of the sweep. **`202`, and the sweep runs after the response.** A reconcile walks an app\'s whole backing store for the account, so holding the request open for it would tie an operator\'s timeout to an object-store scan. What is decided before the `202` is everything a caller can act on: that the app is installed, and that its live set fits. The sweep\'s own outcome is the app\'s to log. `live_count` is what distinguishes a sweep of four hundred artifacts from a sweep of an app the account owns nothing of — which is usually a mistake in which app was named.
269
+ * Trigger an app\'s reconcile sweep
270
+ */
271
+ async registryReconcileApp(requestParameters, initOverrides) {
272
+ const response = await this.registryReconcileAppRaw(requestParameters, initOverrides);
273
+ return await response.value();
274
+ }
275
+ /**
276
+ * Creates request options for registryUninstallApp without sending the request
277
+ */
278
+ async registryUninstallAppRequestOpts(requestParameters) {
279
+ if (requestParameters['app'] == null) {
280
+ throw new runtime.RequiredError('app', 'Required parameter "app" was null or undefined when calling registryUninstallApp().');
281
+ }
282
+ const queryParameters = {};
283
+ const headerParameters = {};
284
+ if (this.configuration && this.configuration.accessToken) {
285
+ const token = this.configuration.accessToken;
286
+ const tokenString = await token("bearer", []);
287
+ if (tokenString) {
288
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
289
+ }
290
+ }
291
+ let urlPath = `/apps/{app}/uninstall`;
292
+ urlPath = urlPath.replace('{app}', encodeURIComponent(String(requestParameters['app'])));
293
+ return {
294
+ path: urlPath,
295
+ method: 'POST',
296
+ headers: headerParameters,
297
+ query: queryParameters,
298
+ };
299
+ }
300
+ /**
301
+ * Marks the install `uninstalling`, tells the app so it can release what it provisioned for this account, then archives the account\'s artifact for it. **The account\'s artifacts are not touched.** Uninstalling `skill` does not archive the account\'s skills — the kind stays registered deployment-wide and the rows stay readable, so a re-install finds them. What the hook releases is the app\'s *own* per-account state (a bucket prefix, an external provider registration). A failing hook does not fail the uninstall: an account that asked to remove an app must not stay installed because the app\'s cleanup failed. `204`, with nothing to say.
302
+ * Uninstall an app
303
+ */
304
+ async registryUninstallAppRaw(requestParameters, initOverrides) {
305
+ const requestOptions = await this.registryUninstallAppRequestOpts(requestParameters);
306
+ const response = await this.request(requestOptions, initOverrides);
307
+ return new runtime.VoidApiResponse(response);
308
+ }
309
+ /**
310
+ * Marks the install `uninstalling`, tells the app so it can release what it provisioned for this account, then archives the account\'s artifact for it. **The account\'s artifacts are not touched.** Uninstalling `skill` does not archive the account\'s skills — the kind stays registered deployment-wide and the rows stay readable, so a re-install finds them. What the hook releases is the app\'s *own* per-account state (a bucket prefix, an external provider registration). A failing hook does not fail the uninstall: an account that asked to remove an app must not stay installed because the app\'s cleanup failed. `204`, with nothing to say.
311
+ * Uninstall an app
312
+ */
313
+ async registryUninstallApp(requestParameters, initOverrides) {
314
+ await this.registryUninstallAppRaw(requestParameters, initOverrides);
315
+ }
316
+ /**
317
+ * Creates request options for registryUpgradeApp without sending the request
318
+ */
319
+ async registryUpgradeAppRequestOpts(requestParameters) {
320
+ if (requestParameters['app'] == null) {
321
+ throw new runtime.RequiredError('app', 'Required parameter "app" was null or undefined when calling registryUpgradeApp().');
322
+ }
323
+ if (requestParameters['upgradeAppBody'] == null) {
324
+ throw new runtime.RequiredError('upgradeAppBody', 'Required parameter "upgradeAppBody" was null or undefined when calling registryUpgradeApp().');
325
+ }
326
+ const queryParameters = {};
327
+ const headerParameters = {};
328
+ headerParameters['Content-Type'] = 'application/json';
329
+ if (requestParameters['contentEncoding'] != null) {
330
+ headerParameters['Content-Encoding'] = String(requestParameters['contentEncoding']);
331
+ }
332
+ if (this.configuration && this.configuration.accessToken) {
333
+ const token = this.configuration.accessToken;
334
+ const tokenString = await token("bearer", []);
335
+ if (tokenString) {
336
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
337
+ }
338
+ }
339
+ let urlPath = `/apps/{app}/upgrade`;
340
+ urlPath = urlPath.replace('{app}', encodeURIComponent(String(requestParameters['app'])));
341
+ return {
342
+ path: urlPath,
343
+ method: 'POST',
344
+ headers: headerParameters,
345
+ query: queryParameters,
346
+ body: (0, UpgradeAppBody_1.UpgradeAppBodyToJSON)(requestParameters['upgradeAppBody']),
347
+ };
348
+ }
349
+ /**
350
+ * Records the account against the deployment\'s current `release` and contract version. `{\"is_pinned\": true}` freezes it there, so a later release does not move this account; `{\"is_pinned\": false}` releases the freeze. **No hooks fire.** An upgrade changes which contract version the account is recorded against, and nothing else — re-running the seeding hook on every upgrade would re-seed an account that already has its rows. An app with per-version work to do has `reconcile`, which is triggered deliberately.
351
+ * Move an install to the registration head
352
+ */
353
+ async registryUpgradeAppRaw(requestParameters, initOverrides) {
354
+ const requestOptions = await this.registryUpgradeAppRequestOpts(requestParameters);
355
+ const response = await this.request(requestOptions, initOverrides);
356
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, AppDto_1.AppDtoFromJSON)(jsonValue));
357
+ }
358
+ /**
359
+ * Records the account against the deployment\'s current `release` and contract version. `{\"is_pinned\": true}` freezes it there, so a later release does not move this account; `{\"is_pinned\": false}` releases the freeze. **No hooks fire.** An upgrade changes which contract version the account is recorded against, and nothing else — re-running the seeding hook on every upgrade would re-seed an account that already has its rows. An app with per-version work to do has `reconcile`, which is triggered deliberately.
360
+ * Move an install to the registration head
361
+ */
362
+ async registryUpgradeApp(requestParameters, initOverrides) {
363
+ const response = await this.registryUpgradeAppRaw(requestParameters, initOverrides);
364
+ return await response.value();
365
+ }
366
+ }
367
+ exports.AppsApi = AppsApi;
368
+ /**
369
+ * @export
370
+ * @enum {string}
371
+ */
372
+ var RegistryInstallAppContentEncodingEnum;
373
+ (function (RegistryInstallAppContentEncodingEnum) {
374
+ RegistryInstallAppContentEncodingEnum["Base64"] = "base64";
375
+ RegistryInstallAppContentEncodingEnum["GzipBase64"] = "gzip, base64";
376
+ })(RegistryInstallAppContentEncodingEnum || (exports.RegistryInstallAppContentEncodingEnum = RegistryInstallAppContentEncodingEnum = {}));
377
+ /**
378
+ * @export
379
+ * @enum {string}
380
+ */
381
+ var RegistryUpgradeAppContentEncodingEnum;
382
+ (function (RegistryUpgradeAppContentEncodingEnum) {
383
+ RegistryUpgradeAppContentEncodingEnum["Base64"] = "base64";
384
+ RegistryUpgradeAppContentEncodingEnum["GzipBase64"] = "gzip, base64";
385
+ })(RegistryUpgradeAppContentEncodingEnum || (exports.RegistryUpgradeAppContentEncodingEnum = RegistryUpgradeAppContentEncodingEnum = {}));
@@ -20,12 +20,12 @@ export declare class AuthApi extends runtime.BaseAPI {
20
20
  */
21
21
  registryWhoamiRequestOpts(): Promise<runtime.RequestOpts>;
22
22
  /**
23
- * Echo back the verified identity resolved from the bearer token: subject, account, workspace hint, scopes, roles, any delegated actor, the token\'s expiry, and whether this caller has been onboarded. Standalone extensions call this to reconstruct the caller\'s identity **without verifying the token themselves**, which is why every field is served from the verified token rather than defaulted. The raw token is never returned. `is_onboarded` is a database read, not a claim: a caller can hold a valid token and have no personal workspace, and a client needs to tell those apart to know whether to send them through provisioning.
23
+ * Echo back the verified identity resolved from the bearer token: subject, account, workspace hint, scopes, the caller\'s account `role` and its advisory `permissions`, any delegated actor, the token\'s expiry, and whether this caller has been onboarded. Standalone extensions call this to reconstruct the caller\'s identity **without verifying the token themselves**. The identity fields come from the verified token; `role` and `permissions` are the registry\'s own truth, read from `users.role_id` — an unassigned human reads as `member`, and a machine or delegated caller carries neither. `permissions` is **advisory**: a display projection of the role, never an authorization decision, which is always a SpiceDB receipt. The raw token is never returned. `is_onboarded` is a database read, not a claim: a caller can hold a valid token and have no personal workspace, and a client needs to tell those apart to know whether to send them through provisioning.
24
24
  * Introspect the caller\'s identity
25
25
  */
26
26
  registryWhoamiRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WhoamiResponse>>;
27
27
  /**
28
- * Echo back the verified identity resolved from the bearer token: subject, account, workspace hint, scopes, roles, any delegated actor, the token\'s expiry, and whether this caller has been onboarded. Standalone extensions call this to reconstruct the caller\'s identity **without verifying the token themselves**, which is why every field is served from the verified token rather than defaulted. The raw token is never returned. `is_onboarded` is a database read, not a claim: a caller can hold a valid token and have no personal workspace, and a client needs to tell those apart to know whether to send them through provisioning.
28
+ * Echo back the verified identity resolved from the bearer token: subject, account, workspace hint, scopes, the caller\'s account `role` and its advisory `permissions`, any delegated actor, the token\'s expiry, and whether this caller has been onboarded. Standalone extensions call this to reconstruct the caller\'s identity **without verifying the token themselves**. The identity fields come from the verified token; `role` and `permissions` are the registry\'s own truth, read from `users.role_id` — an unassigned human reads as `member`, and a machine or delegated caller carries neither. `permissions` is **advisory**: a display projection of the role, never an authorization decision, which is always a SpiceDB receipt. The raw token is never returned. `is_onboarded` is a database read, not a claim: a caller can hold a valid token and have no personal workspace, and a client needs to tell those apart to know whether to send them through provisioning.
29
29
  * Introspect the caller\'s identity
30
30
  */
31
31
  registryWhoami(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WhoamiResponse>;
@@ -75,7 +75,7 @@ class AuthApi extends runtime.BaseAPI {
75
75
  };
76
76
  }
77
77
  /**
78
- * Echo back the verified identity resolved from the bearer token: subject, account, workspace hint, scopes, roles, any delegated actor, the token\'s expiry, and whether this caller has been onboarded. Standalone extensions call this to reconstruct the caller\'s identity **without verifying the token themselves**, which is why every field is served from the verified token rather than defaulted. The raw token is never returned. `is_onboarded` is a database read, not a claim: a caller can hold a valid token and have no personal workspace, and a client needs to tell those apart to know whether to send them through provisioning.
78
+ * Echo back the verified identity resolved from the bearer token: subject, account, workspace hint, scopes, the caller\'s account `role` and its advisory `permissions`, any delegated actor, the token\'s expiry, and whether this caller has been onboarded. Standalone extensions call this to reconstruct the caller\'s identity **without verifying the token themselves**. The identity fields come from the verified token; `role` and `permissions` are the registry\'s own truth, read from `users.role_id` — an unassigned human reads as `member`, and a machine or delegated caller carries neither. `permissions` is **advisory**: a display projection of the role, never an authorization decision, which is always a SpiceDB receipt. The raw token is never returned. `is_onboarded` is a database read, not a claim: a caller can hold a valid token and have no personal workspace, and a client needs to tell those apart to know whether to send them through provisioning.
79
79
  * Introspect the caller\'s identity
80
80
  */
81
81
  async registryWhoamiRaw(initOverrides) {
@@ -84,7 +84,7 @@ class AuthApi extends runtime.BaseAPI {
84
84
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, WhoamiResponse_1.WhoamiResponseFromJSON)(jsonValue));
85
85
  }
86
86
  /**
87
- * Echo back the verified identity resolved from the bearer token: subject, account, workspace hint, scopes, roles, any delegated actor, the token\'s expiry, and whether this caller has been onboarded. Standalone extensions call this to reconstruct the caller\'s identity **without verifying the token themselves**, which is why every field is served from the verified token rather than defaulted. The raw token is never returned. `is_onboarded` is a database read, not a claim: a caller can hold a valid token and have no personal workspace, and a client needs to tell those apart to know whether to send them through provisioning.
87
+ * Echo back the verified identity resolved from the bearer token: subject, account, workspace hint, scopes, the caller\'s account `role` and its advisory `permissions`, any delegated actor, the token\'s expiry, and whether this caller has been onboarded. Standalone extensions call this to reconstruct the caller\'s identity **without verifying the token themselves**. The identity fields come from the verified token; `role` and `permissions` are the registry\'s own truth, read from `users.role_id` — an unassigned human reads as `member`, and a machine or delegated caller carries neither. `permissions` is **advisory**: a display projection of the role, never an authorization decision, which is always a SpiceDB receipt. The raw token is never returned. `is_onboarded` is a database read, not a claim: a caller can hold a valid token and have no personal workspace, and a client needs to tell those apart to know whether to send them through provisioning.
88
88
  * Introspect the caller\'s identity
89
89
  */
90
90
  async registryWhoami(initOverrides) {
@@ -16,13 +16,16 @@ import { type SearchPage } from '../models/SearchPage';
16
16
  import { type SearchRequest } from '../models/SearchRequest';
17
17
  export interface RegistryAggregateRequest {
18
18
  aggregateRequest: AggregateRequest;
19
+ contentEncoding?: RegistryAggregateContentEncodingEnum;
19
20
  }
20
21
  export interface RegistryAggregateKindRequest {
21
22
  artifactKind: string;
22
23
  aggregateRequest: AggregateRequest;
24
+ contentEncoding?: RegistryAggregateKindContentEncodingEnum;
23
25
  }
24
26
  export interface RegistrySearchRequest {
25
27
  searchRequest: SearchRequest;
28
+ contentEncoding?: RegistrySearchContentEncodingEnum;
26
29
  }
27
30
  /**
28
31
  *
@@ -71,3 +74,27 @@ export declare class DiscoveryApi extends runtime.BaseAPI {
71
74
  */
72
75
  registrySearch(requestParameters: RegistrySearchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SearchPage>;
73
76
  }
77
+ /**
78
+ * @export
79
+ * @enum {string}
80
+ */
81
+ export declare enum RegistryAggregateContentEncodingEnum {
82
+ Base64 = "base64",
83
+ GzipBase64 = "gzip, base64"
84
+ }
85
+ /**
86
+ * @export
87
+ * @enum {string}
88
+ */
89
+ export declare enum RegistryAggregateKindContentEncodingEnum {
90
+ Base64 = "base64",
91
+ GzipBase64 = "gzip, base64"
92
+ }
93
+ /**
94
+ * @export
95
+ * @enum {string}
96
+ */
97
+ export declare enum RegistrySearchContentEncodingEnum {
98
+ Base64 = "base64",
99
+ GzipBase64 = "gzip, base64"
100
+ }