@atlanai/sdk 0.1.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +86 -7
- package/dist/client.js +4 -2
- package/dist/evals.d.ts +177 -0
- package/dist/evals.js +916 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +9 -1
- package/dist/manifest.json +473 -204
- package/dist/raw/agent/apis/AgentEnvironmentsApi.d.ts +36 -0
- package/dist/raw/agent/apis/AgentEnvironmentsApi.js +49 -1
- package/dist/raw/agent/apis/AgentFrameworksApi.d.ts +36 -0
- package/dist/raw/agent/apis/AgentFrameworksApi.js +49 -1
- package/dist/raw/agent/apis/AgentProvidersApi.d.ts +36 -0
- package/dist/raw/agent/apis/AgentProvidersApi.js +49 -1
- package/dist/raw/agent/apis/AgentsApi.d.ts +49 -4
- package/dist/raw/agent/apis/AgentsApi.js +65 -5
- package/dist/raw/agent/apis/HarnessVendorsApi.d.ts +36 -0
- package/dist/raw/agent/apis/HarnessVendorsApi.js +49 -1
- package/dist/raw/agent/apis/HarnessesApi.d.ts +36 -0
- package/dist/raw/agent/apis/HarnessesApi.js +49 -1
- package/dist/raw/agent/apis/OutputsApi.d.ts +45 -0
- package/dist/raw/agent/apis/OutputsApi.js +61 -1
- package/dist/raw/agent/apis/SessionsApi.d.ts +36 -0
- package/dist/raw/agent/apis/SessionsApi.js +49 -1
- package/dist/raw/agent/apis/TracesApi.d.ts +18 -0
- package/dist/raw/agent/apis/TracesApi.js +25 -1
- package/dist/raw/agent/apis/VisitorsApi.d.ts +9 -0
- package/dist/raw/agent/apis/VisitorsApi.js +13 -1
- package/dist/raw/agent/models/AgentAgentArtifactView.d.ts +27 -15
- package/dist/raw/agent/models/AgentAgentArtifactView.js +2 -2
- package/dist/raw/agent/models/AgentAgentEnvironmentArtifactView.d.ts +27 -15
- package/dist/raw/agent/models/AgentAgentEnvironmentArtifactView.js +2 -2
- package/dist/raw/agent/models/AgentAgentFrameworkArtifactView.d.ts +27 -15
- package/dist/raw/agent/models/AgentAgentFrameworkArtifactView.js +2 -2
- package/dist/raw/agent/models/AgentAgentProviderArtifactView.d.ts +27 -15
- package/dist/raw/agent/models/AgentAgentProviderArtifactView.js +2 -2
- package/dist/raw/agent/models/AgentCreateAgentFramework400Response.d.ts +2 -0
- package/dist/raw/agent/models/AgentCreateAgentFramework400Response.js +2 -2
- package/dist/raw/agent/models/AgentCreateAgentFramework413Response.d.ts +64 -0
- package/dist/raw/agent/models/AgentCreateAgentFramework413Response.js +74 -0
- package/dist/raw/agent/models/AgentCreateAgentFramework415Response.d.ts +1 -0
- package/dist/raw/agent/models/AgentCreateAgentFramework415Response.js +1 -2
- package/dist/raw/agent/models/AgentGetAgentTrace400Response.d.ts +63 -0
- package/dist/raw/agent/models/AgentGetAgentTrace400Response.js +75 -0
- package/dist/raw/agent/models/AgentHarnessArtifactView.d.ts +27 -15
- package/dist/raw/agent/models/AgentHarnessArtifactView.js +2 -2
- package/dist/raw/agent/models/AgentHarnessVendorArtifactView.d.ts +27 -15
- package/dist/raw/agent/models/AgentHarnessVendorArtifactView.js +2 -2
- package/dist/raw/agent/models/AgentOutputArtifactView.d.ts +27 -15
- package/dist/raw/agent/models/AgentOutputArtifactView.js +2 -2
- package/dist/raw/agent/models/AgentQueryAgentTraceStats400Response.d.ts +2 -0
- package/dist/raw/agent/models/AgentQueryAgentTraceStats400Response.js +2 -0
- package/dist/raw/agent/models/AgentSessionArtifactView.d.ts +27 -15
- package/dist/raw/agent/models/AgentSessionArtifactView.js +2 -2
- package/dist/raw/agent/models/AgentSessionMessageArtifactView.d.ts +27 -15
- package/dist/raw/agent/models/AgentSessionMessageArtifactView.js +2 -2
- package/dist/raw/agent/models/AgentUploadAgentProfileImage400Response.d.ts +2 -1
- package/dist/raw/agent/models/AgentUploadAgentProfileImage400Response.js +2 -3
- package/dist/raw/agent/models/AgentUploadAgentProfileImage413Response.d.ts +2 -0
- package/dist/raw/agent/models/AgentUploadAgentProfileImage413Response.js +2 -2
- package/dist/raw/agent/models/AgentVisitorArtifactView.d.ts +27 -15
- package/dist/raw/agent/models/AgentVisitorArtifactView.js +2 -2
- package/dist/raw/agent/models/Box.d.ts +27 -15
- package/dist/raw/agent/models/Box.js +2 -2
- package/dist/raw/agent/models/GatewayArtifactBase.d.ts +27 -15
- package/dist/raw/agent/models/GatewayArtifactBase.js +2 -2
- package/dist/raw/agent/models/GatewayTraceStatsGroupBy.d.ts +5 -1
- package/dist/raw/agent/models/GatewayTraceStatsGroupBy.js +4 -0
- package/dist/raw/agent/models/GatewayTraceStatsMeasure.d.ts +3 -1
- package/dist/raw/agent/models/GatewayTraceStatsMeasure.js +2 -0
- package/dist/raw/agent/models/SpanViewDto.d.ts +25 -0
- package/dist/raw/agent/models/SpanViewDto.js +8 -0
- package/dist/raw/agent/models/TraceDetailView.d.ts +9 -0
- package/dist/raw/agent/models/TraceDetailView.js +2 -0
- package/dist/raw/agent/models/index.d.ts +2 -0
- package/dist/raw/agent/models/index.js +2 -0
- package/dist/raw/eval/apis/DatasetsApi.d.ts +344 -0
- package/dist/raw/eval/apis/DatasetsApi.js +811 -0
- package/dist/raw/eval/apis/ExperimentsApi.d.ts +355 -0
- package/dist/raw/eval/apis/ExperimentsApi.js +830 -0
- package/dist/raw/eval/apis/ScorersApi.d.ts +129 -0
- package/dist/raw/eval/apis/ScorersApi.js +308 -0
- package/dist/raw/eval/apis/index.d.ts +3 -0
- package/dist/raw/eval/apis/index.js +21 -0
- package/dist/raw/eval/index.d.ts +3 -0
- package/dist/raw/eval/index.js +21 -0
- package/dist/raw/eval/models/AccessView.d.ts +57 -0
- package/dist/raw/eval/models/AccessView.js +64 -0
- package/dist/raw/eval/models/ArtifactConflictProblem.d.ts +69 -0
- package/dist/raw/eval/models/ArtifactConflictProblem.js +66 -0
- package/dist/raw/eval/models/CostView.d.ts +50 -0
- package/dist/raw/eval/models/CostView.js +60 -0
- package/dist/raw/eval/models/CursorPage.d.ts +38 -0
- package/dist/raw/eval/models/CursorPage.js +52 -0
- package/dist/raw/eval/models/EvalArtifactEnvelope.d.ts +144 -0
- package/dist/raw/eval/models/EvalArtifactEnvelope.js +84 -0
- package/dist/raw/eval/models/EvalArtifactSearchRequest.d.ts +71 -0
- package/dist/raw/eval/models/EvalArtifactSearchRequest.js +60 -0
- package/dist/raw/eval/models/EvalBulkDatasetRecordResponse.d.ts +33 -0
- package/dist/raw/eval/models/EvalBulkDatasetRecordResponse.js +51 -0
- package/dist/raw/eval/models/EvalBulkDatasetRecordResult.d.ts +52 -0
- package/dist/raw/eval/models/EvalBulkDatasetRecordResult.js +60 -0
- package/dist/raw/eval/models/EvalBulkExperimentResultResponse.d.ts +33 -0
- package/dist/raw/eval/models/EvalBulkExperimentResultResponse.js +51 -0
- package/dist/raw/eval/models/EvalBulkExperimentResultSlot.d.ts +53 -0
- package/dist/raw/eval/models/EvalBulkExperimentResultSlot.js +60 -0
- package/dist/raw/eval/models/EvalCreateDataset400Response.d.ts +65 -0
- package/dist/raw/eval/models/EvalCreateDataset400Response.js +75 -0
- package/dist/raw/eval/models/EvalCreateDataset409Response.d.ts +63 -0
- package/dist/raw/eval/models/EvalCreateDataset409Response.js +75 -0
- package/dist/raw/eval/models/EvalCreateDataset413Response.d.ts +64 -0
- package/dist/raw/eval/models/EvalCreateDataset413Response.js +74 -0
- package/dist/raw/eval/models/EvalCreateDataset415Response.d.ts +64 -0
- package/dist/raw/eval/models/EvalCreateDataset415Response.js +74 -0
- package/dist/raw/eval/models/EvalCreateDataset422Response.d.ts +63 -0
- package/dist/raw/eval/models/EvalCreateDataset422Response.js +75 -0
- package/dist/raw/eval/models/EvalDatasetArtifactView.d.ts +296 -0
- package/dist/raw/eval/models/EvalDatasetArtifactView.js +148 -0
- package/dist/raw/eval/models/EvalDatasetCreate.d.ts +156 -0
- package/dist/raw/eval/models/EvalDatasetCreate.js +88 -0
- package/dist/raw/eval/models/EvalDatasetMeta.d.ts +53 -0
- package/dist/raw/eval/models/EvalDatasetMeta.js +50 -0
- package/dist/raw/eval/models/EvalDatasetPatch.d.ts +58 -0
- package/dist/raw/eval/models/EvalDatasetPatch.js +56 -0
- package/dist/raw/eval/models/EvalDatasetRecordArtifactView.d.ts +348 -0
- package/dist/raw/eval/models/EvalDatasetRecordArtifactView.js +163 -0
- package/dist/raw/eval/models/EvalDatasetRecordBulkCreate.d.ts +33 -0
- package/dist/raw/eval/models/EvalDatasetRecordBulkCreate.js +51 -0
- package/dist/raw/eval/models/EvalDatasetRecordCreate.d.ts +195 -0
- package/dist/raw/eval/models/EvalDatasetRecordCreate.js +101 -0
- package/dist/raw/eval/models/EvalDatasetRecordMeta.d.ts +102 -0
- package/dist/raw/eval/models/EvalDatasetRecordMeta.js +69 -0
- package/dist/raw/eval/models/EvalDatasetRecordPatch.d.ts +81 -0
- package/dist/raw/eval/models/EvalDatasetRecordPatch.js +62 -0
- package/dist/raw/eval/models/EvalDatasetSnapshot.d.ts +57 -0
- package/dist/raw/eval/models/EvalDatasetSnapshot.js +65 -0
- package/dist/raw/eval/models/EvalDatasetSnapshotRecord.d.ts +99 -0
- package/dist/raw/eval/models/EvalDatasetSnapshotRecord.js +77 -0
- package/dist/raw/eval/models/EvalExperimentArtifactView.d.ts +339 -0
- package/dist/raw/eval/models/EvalExperimentArtifactView.js +163 -0
- package/dist/raw/eval/models/EvalExperimentCreate.d.ts +193 -0
- package/dist/raw/eval/models/EvalExperimentCreate.js +100 -0
- package/dist/raw/eval/models/EvalExperimentMeta.d.ts +97 -0
- package/dist/raw/eval/models/EvalExperimentMeta.js +65 -0
- package/dist/raw/eval/models/EvalExperimentPatch.d.ts +64 -0
- package/dist/raw/eval/models/EvalExperimentPatch.js +57 -0
- package/dist/raw/eval/models/EvalExperimentResultArtifactView.d.ts +359 -0
- package/dist/raw/eval/models/EvalExperimentResultArtifactView.js +166 -0
- package/dist/raw/eval/models/EvalExperimentResultBulkCreate.d.ts +33 -0
- package/dist/raw/eval/models/EvalExperimentResultBulkCreate.js +51 -0
- package/dist/raw/eval/models/EvalExperimentResultCreate.d.ts +212 -0
- package/dist/raw/eval/models/EvalExperimentResultCreate.js +104 -0
- package/dist/raw/eval/models/EvalExperimentResultMeta.d.ts +119 -0
- package/dist/raw/eval/models/EvalExperimentResultMeta.js +70 -0
- package/dist/raw/eval/models/EvalExperimentStatus.d.ts +31 -0
- package/dist/raw/eval/models/EvalExperimentStatus.js +59 -0
- package/dist/raw/eval/models/EvalGetDataset404Response.d.ts +63 -0
- package/dist/raw/eval/models/EvalGetDataset404Response.js +75 -0
- package/dist/raw/eval/models/EvalGetExperimentTrace400Response.d.ts +63 -0
- package/dist/raw/eval/models/EvalGetExperimentTrace400Response.js +75 -0
- package/dist/raw/eval/models/EvalListDatasets400Response.d.ts +63 -0
- package/dist/raw/eval/models/EvalListDatasets400Response.js +75 -0
- package/dist/raw/eval/models/EvalListDatasets401Response.d.ts +79 -0
- package/dist/raw/eval/models/EvalListDatasets401Response.js +89 -0
- package/dist/raw/eval/models/EvalListDatasets403Response.d.ts +64 -0
- package/dist/raw/eval/models/EvalListDatasets403Response.js +74 -0
- package/dist/raw/eval/models/EvalListDatasets500Response.d.ts +63 -0
- package/dist/raw/eval/models/EvalListDatasets500Response.js +75 -0
- package/dist/raw/eval/models/EvalListDatasets503Response.d.ts +64 -0
- package/dist/raw/eval/models/EvalListDatasets503Response.js +74 -0
- package/dist/raw/eval/models/EvalListDatasets504Response.d.ts +63 -0
- package/dist/raw/eval/models/EvalListDatasets504Response.js +75 -0
- package/dist/raw/eval/models/EvalPageDatasetArtifactView.d.ts +44 -0
- package/dist/raw/eval/models/EvalPageDatasetArtifactView.js +56 -0
- package/dist/raw/eval/models/EvalPageDatasetRecordArtifactView.d.ts +44 -0
- package/dist/raw/eval/models/EvalPageDatasetRecordArtifactView.js +56 -0
- package/dist/raw/eval/models/EvalPageExperimentArtifactView.d.ts +44 -0
- package/dist/raw/eval/models/EvalPageExperimentArtifactView.js +56 -0
- package/dist/raw/eval/models/EvalPageExperimentResultArtifactView.d.ts +44 -0
- package/dist/raw/eval/models/EvalPageExperimentResultArtifactView.js +56 -0
- package/dist/raw/eval/models/EvalPageScorerArtifactView.d.ts +44 -0
- package/dist/raw/eval/models/EvalPageScorerArtifactView.js +56 -0
- package/dist/raw/eval/models/EvalPatchDataset412Response.d.ts +63 -0
- package/dist/raw/eval/models/EvalPatchDataset412Response.js +75 -0
- package/dist/raw/eval/models/EvalRecordSource.d.ts +27 -0
- package/dist/raw/eval/models/EvalRecordSource.js +55 -0
- package/dist/raw/eval/models/EvalScorerArtifactView.d.ts +313 -0
- package/dist/raw/eval/models/EvalScorerArtifactView.js +154 -0
- package/dist/raw/eval/models/EvalScorerCreate.d.ts +172 -0
- package/dist/raw/eval/models/EvalScorerCreate.js +98 -0
- package/dist/raw/eval/models/EvalScorerKind.d.ts +32 -0
- package/dist/raw/eval/models/EvalScorerKind.js +60 -0
- package/dist/raw/eval/models/EvalScorerMeta.d.ts +67 -0
- package/dist/raw/eval/models/EvalScorerMeta.js +60 -0
- package/dist/raw/eval/models/EvalScorerPatch.d.ts +75 -0
- package/dist/raw/eval/models/EvalScorerPatch.js +56 -0
- package/dist/raw/eval/models/EvalScorerScope.d.ts +32 -0
- package/dist/raw/eval/models/EvalScorerScope.js +60 -0
- package/dist/raw/eval/models/EvalSubjectKind.d.ts +33 -0
- package/dist/raw/eval/models/EvalSubjectKind.js +61 -0
- package/dist/raw/eval/models/GatewayArtifactBase.d.ts +262 -0
- package/dist/raw/eval/models/GatewayArtifactBase.js +139 -0
- package/dist/raw/eval/models/GatewayArtifactIdentityRevealView.d.ts +60 -0
- package/dist/raw/eval/models/GatewayArtifactIdentityRevealView.js +58 -0
- package/dist/raw/eval/models/GatewayPageMeta.d.ts +46 -0
- package/dist/raw/eval/models/GatewayPageMeta.js +58 -0
- package/dist/raw/eval/models/GatewaySourceEnvelope.d.ts +106 -0
- package/dist/raw/eval/models/GatewaySourceEnvelope.js +66 -0
- package/dist/raw/eval/models/GatewayTraceStatsBucket.d.ts +25 -0
- package/dist/raw/eval/models/GatewayTraceStatsBucket.js +53 -0
- package/dist/raw/eval/models/GatewayTraceStatsCompareMode.d.ts +25 -0
- package/dist/raw/eval/models/GatewayTraceStatsCompareMode.js +53 -0
- package/dist/raw/eval/models/GatewayTraceStatsComparison.d.ts +45 -0
- package/dist/raw/eval/models/GatewayTraceStatsComparison.js +59 -0
- package/dist/raw/eval/models/GatewayTraceStatsData.d.ts +24 -0
- package/dist/raw/eval/models/GatewayTraceStatsData.js +64 -0
- package/dist/raw/eval/models/GatewayTraceStatsDataOneOf.d.ts +46 -0
- package/dist/raw/eval/models/GatewayTraceStatsDataOneOf.js +66 -0
- package/dist/raw/eval/models/GatewayTraceStatsDataOneOf1.d.ts +53 -0
- package/dist/raw/eval/models/GatewayTraceStatsDataOneOf1.js +71 -0
- package/dist/raw/eval/models/GatewayTraceStatsDataOneOf2.d.ts +46 -0
- package/dist/raw/eval/models/GatewayTraceStatsDataOneOf2.js +66 -0
- package/dist/raw/eval/models/GatewayTraceStatsEnvelope.d.ts +50 -0
- package/dist/raw/eval/models/GatewayTraceStatsEnvelope.js +59 -0
- package/dist/raw/eval/models/GatewayTraceStatsFilter.d.ts +47 -0
- package/dist/raw/eval/models/GatewayTraceStatsFilter.js +59 -0
- package/dist/raw/eval/models/GatewayTraceStatsFilterOperator.d.ts +28 -0
- package/dist/raw/eval/models/GatewayTraceStatsFilterOperator.js +56 -0
- package/dist/raw/eval/models/GatewayTraceStatsFilterValue.d.ts +21 -0
- package/dist/raw/eval/models/GatewayTraceStatsFilterValue.js +85 -0
- package/dist/raw/eval/models/GatewayTraceStatsGroupBy.d.ts +35 -0
- package/dist/raw/eval/models/GatewayTraceStatsGroupBy.js +63 -0
- package/dist/raw/eval/models/GatewayTraceStatsMeasure.d.ts +39 -0
- package/dist/raw/eval/models/GatewayTraceStatsMeasure.js +67 -0
- package/dist/raw/eval/models/GatewayTraceStatsMeta.d.ts +49 -0
- package/dist/raw/eval/models/GatewayTraceStatsMeta.js +53 -0
- package/dist/raw/eval/models/GatewayTraceStatsOrder.d.ts +40 -0
- package/dist/raw/eval/models/GatewayTraceStatsOrder.js +56 -0
- package/dist/raw/eval/models/GatewayTraceStatsOrderBy.d.ts +25 -0
- package/dist/raw/eval/models/GatewayTraceStatsOrderBy.js +53 -0
- package/dist/raw/eval/models/GatewayTraceStatsOrderDirection.d.ts +25 -0
- package/dist/raw/eval/models/GatewayTraceStatsOrderDirection.js +53 -0
- package/dist/raw/eval/models/GatewayTraceStatsPanelQuery.d.ts +69 -0
- package/dist/raw/eval/models/GatewayTraceStatsPanelQuery.js +66 -0
- package/dist/raw/eval/models/GatewayTraceStatsRequest.d.ts +80 -0
- package/dist/raw/eval/models/GatewayTraceStatsRequest.js +72 -0
- package/dist/raw/eval/models/GatewayTraceStatsRequestType.d.ts +26 -0
- package/dist/raw/eval/models/GatewayTraceStatsRequestType.js +54 -0
- package/dist/raw/eval/models/GatewayTraceStatsScalarResult.d.ts +52 -0
- package/dist/raw/eval/models/GatewayTraceStatsScalarResult.js +59 -0
- package/dist/raw/eval/models/GatewayTraceStatsSeries.d.ts +52 -0
- package/dist/raw/eval/models/GatewayTraceStatsSeries.js +62 -0
- package/dist/raw/eval/models/GatewayTraceStatsSeriesPoint.d.ts +38 -0
- package/dist/raw/eval/models/GatewayTraceStatsSeriesPoint.js +52 -0
- package/dist/raw/eval/models/GatewayTraceStatsTableColumn.d.ts +45 -0
- package/dist/raw/eval/models/GatewayTraceStatsTableColumn.js +57 -0
- package/dist/raw/eval/models/GatewayTraceStatsTableColumnType.d.ts +25 -0
- package/dist/raw/eval/models/GatewayTraceStatsTableColumnType.js +53 -0
- package/dist/raw/eval/models/GatewayTraceStatsTableRow.d.ts +38 -0
- package/dist/raw/eval/models/GatewayTraceStatsTableRow.js +54 -0
- package/dist/raw/eval/models/GatewayTraceStatsWindow.d.ts +38 -0
- package/dist/raw/eval/models/GatewayTraceStatsWindow.js +54 -0
- package/dist/raw/eval/models/ProblemDetails.d.ts +76 -0
- package/dist/raw/eval/models/ProblemDetails.js +64 -0
- package/dist/raw/eval/models/RegistryEdgeTarget.d.ts +38 -0
- package/dist/raw/eval/models/RegistryEdgeTarget.js +54 -0
- package/dist/raw/eval/models/RegistryRelationshipEdge.d.ts +96 -0
- package/dist/raw/eval/models/RegistryRelationshipEdge.js +77 -0
- package/dist/raw/eval/models/RegistryRelationshipsView.d.ts +45 -0
- package/dist/raw/eval/models/RegistryRelationshipsView.js +59 -0
- package/dist/raw/eval/models/SpanListEnvelope.d.ts +40 -0
- package/dist/raw/eval/models/SpanListEnvelope.js +56 -0
- package/dist/raw/eval/models/SpanViewDto.d.ts +217 -0
- package/dist/raw/eval/models/SpanViewDto.js +125 -0
- package/dist/raw/eval/models/TraceDetailView.d.ts +186 -0
- package/dist/raw/eval/models/TraceDetailView.js +110 -0
- package/dist/raw/eval/models/TraceLinks.d.ts +45 -0
- package/dist/raw/eval/models/TraceLinks.js +58 -0
- package/dist/raw/eval/models/TraceListEnvelope.d.ts +47 -0
- package/dist/raw/eval/models/TraceListEnvelope.js +61 -0
- package/dist/raw/eval/models/TraceParentView.d.ts +68 -0
- package/dist/raw/eval/models/TraceParentView.js +64 -0
- package/dist/raw/eval/models/TraceStatus.d.ts +26 -0
- package/dist/raw/eval/models/TraceStatus.js +54 -0
- package/dist/raw/eval/models/TraceSummaryStats.d.ts +62 -0
- package/dist/raw/eval/models/TraceSummaryStats.js +62 -0
- package/dist/raw/eval/models/TraceSummaryView.d.ts +150 -0
- package/dist/raw/eval/models/TraceSummaryView.js +96 -0
- package/dist/raw/eval/models/UsageView.d.ts +56 -0
- package/dist/raw/eval/models/UsageView.js +66 -0
- package/dist/raw/eval/models/index.d.ts +102 -0
- package/dist/raw/eval/models/index.js +120 -0
- package/dist/raw/eval/runtime.d.ts +185 -0
- package/dist/raw/eval/runtime.js +369 -0
- package/dist/raw/file/apis/FileApi.d.ts +18 -0
- package/dist/raw/file/apis/FileApi.js +25 -1
- package/dist/raw/file/models/FileCreateUpload400Response.d.ts +2 -0
- package/dist/raw/file/models/FileCreateUpload400Response.js +2 -2
- package/dist/raw/file/models/FileCreateUpload413Response.d.ts +2 -1
- package/dist/raw/file/models/FileCreateUpload413Response.js +2 -3
- package/dist/raw/file/models/FileCreateUpload415Response.d.ts +1 -0
- package/dist/raw/file/models/FileCreateUpload415Response.js +1 -2
- package/dist/raw/file/models/FileFile.d.ts +4 -0
- package/dist/raw/file/models/FileFileArtifact.d.ts +31 -15
- package/dist/raw/file/models/FileFileArtifact.js +2 -2
- package/dist/raw/file/models/FileIngestUpload400Response.d.ts +2 -1
- package/dist/raw/file/models/FileIngestUpload400Response.js +2 -3
- package/dist/raw/file/models/FileIngestUpload415Response.d.ts +63 -0
- package/dist/raw/file/models/FileIngestUpload415Response.js +75 -0
- package/dist/raw/file/models/GatewayArtifactBase.d.ts +27 -15
- package/dist/raw/file/models/GatewayArtifactBase.js +2 -2
- package/dist/raw/file/models/index.d.ts +1 -0
- package/dist/raw/file/models/index.js +1 -0
- package/dist/raw/mcp/apis/ServersApi.d.ts +18 -0
- package/dist/raw/mcp/apis/ServersApi.js +25 -1
- package/dist/raw/mcp/apis/ToolsApi.d.ts +18 -0
- package/dist/raw/mcp/apis/ToolsApi.js +25 -1
- package/dist/raw/mcp/models/GatewayArtifactBase.d.ts +27 -15
- package/dist/raw/mcp/models/GatewayArtifactBase.js +2 -2
- package/dist/raw/mcp/models/McpAggregateServers400Response.d.ts +2 -0
- package/dist/raw/mcp/models/McpAggregateServers400Response.js +2 -0
- package/dist/raw/mcp/models/McpAggregateServers413Response.d.ts +64 -0
- package/dist/raw/mcp/models/McpAggregateServers413Response.js +74 -0
- package/dist/raw/mcp/models/McpAggregateServers415Response.d.ts +1 -0
- package/dist/raw/mcp/models/McpAggregateServers415Response.js +1 -2
- package/dist/raw/mcp/models/McpMcpServer.d.ts +27 -0
- package/dist/raw/mcp/models/McpMcpServer.js +4 -0
- package/dist/raw/mcp/models/McpMcpServerArtifactView.d.ts +54 -15
- package/dist/raw/mcp/models/McpMcpServerArtifactView.js +6 -2
- package/dist/raw/mcp/models/McpMcpSessionMessage.d.ts +1 -1
- package/dist/raw/mcp/models/McpMcpToolArtifactView.d.ts +27 -15
- package/dist/raw/mcp/models/McpMcpToolArtifactView.js +2 -2
- package/dist/raw/mcp/models/index.d.ts +1 -0
- package/dist/raw/mcp/models/index.js +1 -0
- package/dist/raw/model/apis/OpenaiApi.d.ts +4 -4
- package/dist/raw/model/apis/OpenaiApi.js +4 -4
- package/dist/raw/registry/apis/AppsApi.d.ts +159 -0
- package/dist/raw/registry/apis/AppsApi.js +385 -0
- package/dist/raw/registry/apis/AuthApi.d.ts +2 -2
- package/dist/raw/registry/apis/AuthApi.js +2 -2
- package/dist/raw/registry/apis/DiscoveryApi.d.ts +27 -0
- package/dist/raw/registry/apis/DiscoveryApi.js +37 -1
- package/dist/raw/registry/apis/InvitationsApi.d.ts +159 -0
- package/dist/raw/registry/apis/InvitationsApi.js +383 -0
- package/dist/raw/registry/apis/OrganisationsApi.d.ts +51 -0
- package/dist/raw/registry/apis/OrganisationsApi.js +108 -1
- package/dist/raw/registry/apis/ReleasesApi.d.ts +199 -0
- package/dist/raw/registry/apis/ReleasesApi.js +484 -0
- package/dist/raw/registry/apis/ReposApi.d.ts +27 -0
- package/dist/raw/registry/apis/ReposApi.js +37 -1
- package/dist/raw/registry/apis/RolesApi.d.ts +32 -0
- package/dist/raw/registry/apis/RolesApi.js +95 -0
- package/dist/raw/registry/apis/ServiceAccountsApi.d.ts +13 -4
- package/dist/raw/registry/apis/ServiceAccountsApi.js +17 -5
- package/dist/raw/registry/apis/SessionsApi.d.ts +60 -0
- package/dist/raw/registry/apis/SessionsApi.js +150 -0
- package/dist/raw/registry/apis/UsersApi.d.ts +75 -43
- package/dist/raw/registry/apis/UsersApi.js +139 -74
- package/dist/raw/registry/apis/WorkspacesApi.d.ts +52 -4
- package/dist/raw/registry/apis/WorkspacesApi.js +92 -5
- package/dist/raw/registry/apis/index.d.ts +5 -7
- package/dist/raw/registry/apis/index.js +5 -7
- package/dist/raw/registry/models/{ExtensionJobDto.d.ts → AppActionDto.d.ts} +33 -27
- package/dist/raw/registry/models/{ExtensionJobDto.js → AppActionDto.js} +22 -20
- package/dist/raw/registry/models/AppActionsPage.d.ts +40 -0
- package/dist/raw/registry/models/{PublishersPage.js → AppActionsPage.js} +16 -16
- package/dist/raw/registry/models/AppDto.d.ts +174 -0
- package/dist/raw/registry/models/AppDto.js +116 -0
- package/dist/raw/registry/models/AppsPage.d.ts +40 -0
- package/dist/raw/registry/models/{GroupsPage.js → AppsPage.js} +16 -16
- package/dist/raw/registry/models/ArtifactView.d.ts +76 -15
- package/dist/raw/registry/models/ArtifactView.js +10 -2
- package/dist/raw/registry/models/CreateInvitationsRequest.d.ts +33 -0
- package/dist/raw/registry/models/CreateInvitationsRequest.js +51 -0
- package/dist/raw/registry/models/CutReleaseBody.d.ts +56 -0
- package/dist/raw/registry/models/CutReleaseBody.js +56 -0
- package/dist/raw/registry/models/EdgeTarget.d.ts +4 -0
- package/dist/raw/registry/models/InstallAppBody.d.ts +34 -0
- package/dist/raw/registry/models/InstallAppBody.js +48 -0
- package/dist/raw/registry/models/IntrospectedIdentity.d.ts +12 -3
- package/dist/raw/registry/models/IntrospectedIdentity.js +5 -3
- package/dist/raw/registry/models/InvitationDto.d.ts +98 -0
- package/dist/raw/registry/models/InvitationDto.js +88 -0
- package/dist/raw/registry/models/InvitationSendResult.d.ts +38 -0
- package/dist/raw/registry/models/InvitationSendResult.js +54 -0
- package/dist/raw/registry/models/InvitationSummaryDto.d.ts +86 -0
- package/dist/raw/registry/models/InvitationSummaryDto.js +84 -0
- package/dist/raw/registry/models/InvitationsPage.d.ts +40 -0
- package/dist/raw/registry/models/{MembershipsPage.js → InvitationsPage.js} +16 -16
- package/dist/raw/registry/models/InvitationsResponse.d.ts +33 -0
- package/dist/raw/registry/models/InvitationsResponse.js +51 -0
- package/dist/raw/registry/models/InviteeRequest.d.ts +44 -0
- package/dist/raw/registry/models/InviteeRequest.js +56 -0
- package/dist/raw/registry/models/InviteeResult.d.ts +69 -0
- package/dist/raw/registry/models/InviteeResult.js +66 -0
- package/dist/raw/registry/models/ReconcileAcceptedDto.d.ts +40 -0
- package/dist/raw/registry/models/ReconcileAcceptedDto.js +54 -0
- package/dist/raw/registry/models/RegistryAggregate400Response.d.ts +2 -0
- package/dist/raw/registry/models/RegistryAggregate400Response.js +2 -2
- package/dist/raw/registry/models/{RegistryListActionRuns401Response.d.ts → RegistryAggregate401Response.d.ts} +16 -16
- package/dist/raw/registry/models/RegistryAggregate401Response.js +89 -0
- package/dist/raw/registry/models/RegistryAggregate403Response.d.ts +64 -0
- package/dist/raw/registry/models/RegistryAggregate403Response.js +74 -0
- package/dist/raw/registry/models/RegistryAggregate413Response.d.ts +64 -0
- package/dist/raw/registry/models/RegistryAggregate413Response.js +74 -0
- package/dist/raw/registry/models/RegistryAggregate415Response.d.ts +1 -0
- package/dist/raw/registry/models/RegistryAggregate415Response.js +1 -2
- package/dist/raw/registry/models/RegistryAggregate500Response.d.ts +63 -0
- package/dist/raw/registry/models/RegistryAggregate500Response.js +75 -0
- package/dist/raw/registry/models/RegistryAggregate503Response.d.ts +64 -0
- package/dist/raw/registry/models/RegistryAggregate503Response.js +74 -0
- package/dist/raw/registry/models/RegistryAggregate504Response.d.ts +63 -0
- package/dist/raw/registry/models/RegistryAggregate504Response.js +75 -0
- package/dist/raw/registry/models/RegistryAggregateKind404Response.d.ts +63 -0
- package/dist/raw/registry/models/{RegistryGetActionRun404Response.js → RegistryAggregateKind404Response.js} +18 -18
- package/dist/raw/registry/models/RegistryCreateServiceAccount400Response.d.ts +66 -0
- package/dist/raw/registry/models/RegistryCreateServiceAccount400Response.js +76 -0
- package/dist/raw/registry/models/RegistryInstallApp409Response.d.ts +63 -0
- package/dist/raw/registry/models/RegistryInstallApp409Response.js +75 -0
- package/dist/raw/registry/models/RegistryListApps400Response.d.ts +63 -0
- package/dist/raw/registry/models/RegistryListApps400Response.js +75 -0
- package/dist/raw/registry/models/RegistryListApps503Response.d.ts +65 -0
- package/dist/raw/registry/models/RegistryListApps503Response.js +75 -0
- package/dist/raw/registry/models/RegistryListArtifactReleases400Response.d.ts +63 -0
- package/dist/raw/registry/models/RegistryListArtifactReleases400Response.js +75 -0
- package/dist/raw/registry/models/RegistryListUserTraces503Response.d.ts +66 -0
- package/dist/raw/registry/models/RegistryListUserTraces503Response.js +76 -0
- package/dist/raw/registry/models/RegistryRevokeOwnSessions400Response.d.ts +64 -0
- package/dist/raw/registry/models/RegistryRevokeOwnSessions400Response.js +74 -0
- package/dist/raw/registry/models/RegistryRevokeOwnSessions415Response.d.ts +63 -0
- package/dist/raw/registry/models/RegistryRevokeOwnSessions415Response.js +75 -0
- package/dist/raw/registry/models/RegistryWhoami503Response.d.ts +66 -0
- package/dist/raw/registry/models/RegistryWhoami503Response.js +76 -0
- package/dist/raw/registry/models/RegistryWorkspacePluginRef.d.ts +61 -0
- package/dist/raw/registry/models/RegistryWorkspacePluginRef.js +62 -0
- package/dist/raw/registry/models/RegistryWorkspaceRecommendation.d.ts +66 -0
- package/dist/raw/registry/models/RegistryWorkspaceRecommendation.js +64 -0
- package/dist/raw/registry/models/RegistryWorkspaceRecommendationReason.d.ts +29 -0
- package/dist/raw/registry/models/RegistryWorkspaceRecommendationReason.js +57 -0
- package/dist/raw/registry/models/RegistryWorkspaceView.d.ts +33 -0
- package/dist/raw/registry/models/RegistryWorkspaceView.js +7 -0
- package/dist/raw/registry/models/RelationshipsView.d.ts +5 -1
- package/dist/raw/registry/models/ReleaseDto.d.ts +123 -0
- package/dist/raw/registry/models/ReleaseDto.js +100 -0
- package/dist/raw/registry/models/ReleasePage.d.ts +40 -0
- package/dist/raw/registry/models/{BudgetsPage.js → ReleasePage.js} +16 -16
- package/dist/raw/registry/models/ReleasePolicyDto.d.ts +76 -0
- package/dist/raw/registry/models/ReleasePolicyDto.js +78 -0
- package/dist/raw/registry/models/RoleDto.d.ts +38 -0
- package/dist/raw/registry/models/RoleDto.js +54 -0
- package/dist/raw/registry/models/RoleListDto.d.ts +33 -0
- package/dist/raw/registry/models/RoleListDto.js +51 -0
- package/dist/raw/registry/models/ServiceAccountDto.d.ts +5 -1
- package/dist/raw/registry/models/SetReleasePolicyBody.d.ts +55 -0
- package/dist/raw/registry/models/SetReleasePolicyBody.js +54 -0
- package/dist/raw/registry/models/SetTraceContentPolicyDto.d.ts +34 -0
- package/dist/raw/registry/models/SetTraceContentPolicyDto.js +48 -0
- package/dist/raw/registry/models/SpanViewDto.d.ts +25 -0
- package/dist/raw/registry/models/SpanViewDto.js +8 -0
- package/dist/raw/registry/models/TraceContentDeletionDto.d.ts +32 -0
- package/dist/raw/registry/models/TraceContentDeletionDto.js +50 -0
- package/dist/raw/registry/models/TraceContentPolicyDto.d.ts +48 -0
- package/dist/raw/registry/models/TraceContentPolicyDto.js +52 -0
- package/dist/raw/registry/models/TraceDetailView.d.ts +9 -0
- package/dist/raw/registry/models/TraceDetailView.js +2 -0
- package/dist/raw/registry/models/UpdateInvitationRequest.d.ts +38 -0
- package/dist/raw/registry/models/UpdateInvitationRequest.js +50 -0
- package/dist/raw/registry/models/UpgradeAppBody.d.ts +37 -0
- package/dist/raw/registry/models/UpgradeAppBody.js +48 -0
- package/dist/raw/registry/models/UserDirectoryDto.d.ts +55 -0
- package/dist/raw/registry/models/UserDirectoryDto.js +58 -0
- package/dist/raw/registry/models/UsersPage.d.ts +3 -3
- package/dist/raw/registry/models/UsersPage.js +3 -3
- package/dist/raw/registry/models/WhoamiResponse.d.ts +12 -3
- package/dist/raw/registry/models/WhoamiResponse.js +5 -3
- package/dist/raw/registry/models/WithdrawBody.d.ts +33 -0
- package/dist/raw/registry/models/WithdrawBody.js +48 -0
- package/dist/raw/registry/models/WorkspaceInvitationListDto.d.ts +33 -0
- package/dist/raw/registry/models/WorkspaceInvitationListDto.js +51 -0
- package/dist/raw/registry/models/WorkspaceInvitationRow.d.ts +44 -0
- package/dist/raw/registry/models/WorkspaceInvitationRow.js +58 -0
- package/dist/raw/registry/models/WorkspaceRecommendationsPage.d.ts +40 -0
- package/dist/raw/registry/models/WorkspaceRecommendationsPage.js +56 -0
- package/dist/raw/registry/models/index.d.ts +50 -50
- package/dist/raw/registry/models/index.js +50 -50
- package/dist/raw/skill/apis/SkillApi.d.ts +65 -10
- package/dist/raw/skill/apis/SkillApi.js +86 -11
- package/dist/raw/skill/models/GatewayArtifactBase.d.ts +27 -15
- package/dist/raw/skill/models/GatewayArtifactBase.js +2 -2
- package/dist/raw/skill/models/GatewayTraceStatsGroupBy.d.ts +5 -1
- package/dist/raw/skill/models/GatewayTraceStatsGroupBy.js +4 -0
- package/dist/raw/skill/models/GatewayTraceStatsMeasure.d.ts +3 -1
- package/dist/raw/skill/models/GatewayTraceStatsMeasure.js +2 -0
- package/dist/raw/skill/models/SkillAggregate400Response.d.ts +2 -0
- package/dist/raw/skill/models/SkillAggregate400Response.js +2 -2
- package/dist/raw/skill/models/SkillAggregate415Response.d.ts +1 -0
- package/dist/raw/skill/models/SkillAggregate415Response.js +1 -2
- package/dist/raw/skill/models/SkillCreate400Response.d.ts +2 -1
- package/dist/raw/skill/models/SkillCreate400Response.js +2 -3
- package/dist/raw/skill/models/SkillCreate413Response.d.ts +64 -0
- package/dist/raw/skill/models/SkillCreate413Response.js +74 -0
- package/dist/raw/skill/models/SkillCreate415Response.d.ts +63 -0
- package/dist/raw/skill/models/SkillCreate415Response.js +75 -0
- package/dist/raw/skill/models/SkillQuerySkillTraceStats400Response.d.ts +2 -0
- package/dist/raw/skill/models/SkillQuerySkillTraceStats400Response.js +2 -0
- package/dist/raw/skill/models/SkillSkill.d.ts +6 -7
- package/dist/raw/skill/models/SkillSkillArtifactView.d.ts +33 -22
- package/dist/raw/skill/models/SkillSkillArtifactView.js +2 -2
- package/dist/raw/skill/models/SpanViewDto.d.ts +25 -0
- package/dist/raw/skill/models/SpanViewDto.js +8 -0
- package/dist/raw/skill/models/TraceDetailView.d.ts +9 -0
- package/dist/raw/skill/models/TraceDetailView.js +2 -0
- package/dist/raw/skill/models/index.d.ts +2 -0
- package/dist/raw/skill/models/index.js +2 -0
- package/dist/resources.d.ts +6 -1
- package/dist/resources.js +9 -6
- package/dist/resources.json +586 -296
- package/dist/tracing/client.d.ts +2 -0
- package/dist/tracing/client.js +13 -4
- package/dist/tracing/compat.d.ts +82 -0
- package/dist/tracing/compat.js +128 -0
- package/dist/tracing/index.d.ts +2 -0
- package/dist/tracing/index.js +13 -1
- package/dist/tracing/integrations.d.ts +35 -0
- package/dist/tracing/integrations.js +95 -0
- package/dist/tracing/propagation.d.ts +1 -0
- package/dist/tracing/propagation.js +7 -0
- package/dist/tracing/semconv.d.ts +8 -1
- package/dist/tracing/semconv.js +27 -13
- package/dist/tracing/spans.d.ts +12 -4
- package/dist/tracing/spans.js +36 -13
- package/dist/tracing/version.d.ts +1 -1
- package/dist/tracing/version.js +1 -1
- package/package.json +1 -1
- package/dist/raw/registry/apis/ActionsApi.d.ts +0 -68
- package/dist/raw/registry/apis/ActionsApi.js +0 -181
- package/dist/raw/registry/apis/CatalogApi.d.ts +0 -98
- package/dist/raw/registry/apis/CatalogApi.js +0 -259
- package/dist/raw/registry/apis/DetectedUsersApi.d.ts +0 -89
- package/dist/raw/registry/apis/DetectedUsersApi.js +0 -239
- package/dist/raw/registry/apis/ExtensionsApi.d.ts +0 -68
- package/dist/raw/registry/apis/ExtensionsApi.js +0 -181
- package/dist/raw/registry/apis/GroupsApi.d.ts +0 -68
- package/dist/raw/registry/apis/GroupsApi.js +0 -181
- package/dist/raw/registry/apis/ProjectsApi.d.ts +0 -159
- package/dist/raw/registry/apis/ProjectsApi.js +0 -402
- package/dist/raw/registry/apis/UsageApi.d.ts +0 -134
- package/dist/raw/registry/apis/UsageApi.js +0 -349
- package/dist/raw/registry/models/ActionRunDto.d.ts +0 -99
- package/dist/raw/registry/models/ActionRunDto.js +0 -86
- package/dist/raw/registry/models/ActionRunJobDto.d.ts +0 -92
- package/dist/raw/registry/models/ActionRunJobDto.js +0 -78
- package/dist/raw/registry/models/ActionRunJobsPage.d.ts +0 -40
- package/dist/raw/registry/models/ActionRunJobsPage.js +0 -56
- package/dist/raw/registry/models/ActionRunsPage.d.ts +0 -40
- package/dist/raw/registry/models/ActionRunsPage.js +0 -56
- package/dist/raw/registry/models/AvailableExtensionDto.d.ts +0 -123
- package/dist/raw/registry/models/AvailableExtensionDto.js +0 -96
- package/dist/raw/registry/models/AvailableExtensionsPage.d.ts +0 -40
- package/dist/raw/registry/models/AvailableExtensionsPage.js +0 -56
- package/dist/raw/registry/models/BudgetDto.d.ts +0 -111
- package/dist/raw/registry/models/BudgetDto.js +0 -96
- package/dist/raw/registry/models/BudgetsPage.d.ts +0 -40
- package/dist/raw/registry/models/CreateBudgetBody.d.ts +0 -86
- package/dist/raw/registry/models/CreateBudgetBody.js +0 -78
- package/dist/raw/registry/models/CreateProjectBody.d.ts +0 -56
- package/dist/raw/registry/models/CreateProjectBody.js +0 -60
- package/dist/raw/registry/models/DetectedUserDto.d.ts +0 -84
- package/dist/raw/registry/models/DetectedUserDto.js +0 -74
- package/dist/raw/registry/models/DetectedUsersPage.d.ts +0 -40
- package/dist/raw/registry/models/DetectedUsersPage.js +0 -56
- package/dist/raw/registry/models/ExtensionJobsPage.d.ts +0 -40
- package/dist/raw/registry/models/ExtensionJobsPage.js +0 -56
- package/dist/raw/registry/models/ExtensionVersionDto.d.ts +0 -50
- package/dist/raw/registry/models/ExtensionVersionDto.js +0 -58
- package/dist/raw/registry/models/ExtensionVersionsPage.d.ts +0 -40
- package/dist/raw/registry/models/ExtensionVersionsPage.js +0 -56
- package/dist/raw/registry/models/GroupMemberDto.d.ts +0 -44
- package/dist/raw/registry/models/GroupMemberDto.js +0 -58
- package/dist/raw/registry/models/GroupMembersPage.d.ts +0 -40
- package/dist/raw/registry/models/GroupMembersPage.js +0 -56
- package/dist/raw/registry/models/GroupsPage.d.ts +0 -40
- package/dist/raw/registry/models/InstalledExtensionDto.d.ts +0 -80
- package/dist/raw/registry/models/InstalledExtensionDto.js +0 -82
- package/dist/raw/registry/models/InstalledExtensionsPage.d.ts +0 -40
- package/dist/raw/registry/models/InstalledExtensionsPage.js +0 -56
- package/dist/raw/registry/models/MembershipDto.d.ts +0 -60
- package/dist/raw/registry/models/MembershipDto.js +0 -66
- package/dist/raw/registry/models/MembershipsPage.d.ts +0 -40
- package/dist/raw/registry/models/PatchBudgetBody.d.ts +0 -62
- package/dist/raw/registry/models/PatchBudgetBody.js +0 -58
- package/dist/raw/registry/models/PatchProjectBody.d.ts +0 -50
- package/dist/raw/registry/models/PatchProjectBody.js +0 -54
- package/dist/raw/registry/models/PatchUserBody.d.ts +0 -35
- package/dist/raw/registry/models/PatchUserBody.js +0 -48
- package/dist/raw/registry/models/ProjectBulkCreateRequest.d.ts +0 -33
- package/dist/raw/registry/models/ProjectBulkCreateRequest.js +0 -51
- package/dist/raw/registry/models/ProjectDto.d.ts +0 -102
- package/dist/raw/registry/models/ProjectDto.js +0 -92
- package/dist/raw/registry/models/ProjectExport.d.ts +0 -49
- package/dist/raw/registry/models/ProjectExport.js +0 -59
- package/dist/raw/registry/models/ProjectSlot.d.ts +0 -54
- package/dist/raw/registry/models/ProjectSlot.js +0 -60
- package/dist/raw/registry/models/ProjectsBulkResponse.d.ts +0 -40
- package/dist/raw/registry/models/ProjectsBulkResponse.js +0 -51
- package/dist/raw/registry/models/ProjectsPage.d.ts +0 -40
- package/dist/raw/registry/models/ProjectsPage.js +0 -56
- package/dist/raw/registry/models/PublisherDto.d.ts +0 -80
- package/dist/raw/registry/models/PublisherDto.js +0 -76
- package/dist/raw/registry/models/PublishersPage.d.ts +0 -40
- package/dist/raw/registry/models/RegistryCreateServiceAccount409Response.d.ts +0 -63
- package/dist/raw/registry/models/RegistryCreateServiceAccount409Response.js +0 -75
- package/dist/raw/registry/models/RegistryGetActionRun404Response.d.ts +0 -63
- package/dist/raw/registry/models/RegistryListActionRuns400Response.d.ts +0 -63
- package/dist/raw/registry/models/RegistryListActionRuns400Response.js +0 -75
- package/dist/raw/registry/models/RegistryListActionRuns401Response.js +0 -89
- package/dist/raw/registry/models/RegistryListActionRuns403Response.d.ts +0 -64
- package/dist/raw/registry/models/RegistryListActionRuns403Response.js +0 -74
- package/dist/raw/registry/models/RegistryListActionRuns500Response.d.ts +0 -63
- package/dist/raw/registry/models/RegistryListActionRuns500Response.js +0 -75
- package/dist/raw/registry/models/RegistryListActionRuns503Response.d.ts +0 -64
- package/dist/raw/registry/models/RegistryListActionRuns503Response.js +0 -74
- package/dist/raw/registry/models/RegistryListActionRuns504Response.d.ts +0 -63
- package/dist/raw/registry/models/RegistryListActionRuns504Response.js +0 -75
- package/dist/raw/registry/models/RegistryListUserTraces400Response.d.ts +0 -63
- package/dist/raw/registry/models/RegistryListUserTraces400Response.js +0 -75
- package/dist/raw/registry/models/RegistryListWorkspaces503Response.d.ts +0 -65
- package/dist/raw/registry/models/RegistryListWorkspaces503Response.js +0 -75
- package/dist/raw/registry/models/UpdateDetectedUserRequest.d.ts +0 -48
- package/dist/raw/registry/models/UpdateDetectedUserRequest.js +0 -52
- package/dist/raw/registry/models/UsageCounters.d.ts +0 -78
- package/dist/raw/registry/models/UsageCounters.js +0 -78
- package/dist/raw/registry/models/UsageDayDto.d.ts +0 -129
- package/dist/raw/registry/models/UsageDayDto.js +0 -114
- package/dist/raw/registry/models/UsageDaysPage.d.ts +0 -40
- package/dist/raw/registry/models/UsageDaysPage.js +0 -56
- package/dist/raw/registry/models/UsageMinuteDto.d.ts +0 -136
- package/dist/raw/registry/models/UsageMinuteDto.js +0 -118
- package/dist/raw/registry/models/UsageMinutesPage.d.ts +0 -40
- package/dist/raw/registry/models/UsageMinutesPage.js +0 -56
|
@@ -0,0 +1,95 @@
|
|
|
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.RolesApi = void 0;
|
|
50
|
+
const runtime = __importStar(require("../runtime"));
|
|
51
|
+
const RoleListDto_1 = require("../models/RoleListDto");
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
class RolesApi extends runtime.BaseAPI {
|
|
56
|
+
/**
|
|
57
|
+
* Creates request options for registryListRoles without sending the request
|
|
58
|
+
*/
|
|
59
|
+
async registryListRolesRequestOpts() {
|
|
60
|
+
const queryParameters = {};
|
|
61
|
+
const headerParameters = {};
|
|
62
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
63
|
+
const token = this.configuration.accessToken;
|
|
64
|
+
const tokenString = await token("bearer", []);
|
|
65
|
+
if (tokenString) {
|
|
66
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
let urlPath = `/roles`;
|
|
70
|
+
return {
|
|
71
|
+
path: urlPath,
|
|
72
|
+
method: 'GET',
|
|
73
|
+
headers: headerParameters,
|
|
74
|
+
query: queryParameters,
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* The account\'s assignable roles, each as an object carrying its per-org `id` and `name` (a role is a per-org identity, not a bare label). Any account member may read; the roster is gateway-native, so there is no control-plane call.
|
|
79
|
+
* List the account\'s roles
|
|
80
|
+
*/
|
|
81
|
+
async registryListRolesRaw(initOverrides) {
|
|
82
|
+
const requestOptions = await this.registryListRolesRequestOpts();
|
|
83
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
84
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, RoleListDto_1.RoleListDtoFromJSON)(jsonValue));
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* The account\'s assignable roles, each as an object carrying its per-org `id` and `name` (a role is a per-org identity, not a bare label). Any account member may read; the roster is gateway-native, so there is no control-plane call.
|
|
88
|
+
* List the account\'s roles
|
|
89
|
+
*/
|
|
90
|
+
async registryListRoles(initOverrides) {
|
|
91
|
+
const response = await this.registryListRolesRaw(initOverrides);
|
|
92
|
+
return await response.value();
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
exports.RolesApi = RolesApi;
|
|
@@ -16,6 +16,7 @@ import { type ServiceAccountDto } from '../models/ServiceAccountDto';
|
|
|
16
16
|
import { type ServiceAccountsPage } from '../models/ServiceAccountsPage';
|
|
17
17
|
export interface RegistryCreateServiceAccountRequest {
|
|
18
18
|
createServiceAccountBody: CreateServiceAccountBody;
|
|
19
|
+
contentEncoding?: RegistryCreateServiceAccountContentEncodingEnum;
|
|
19
20
|
}
|
|
20
21
|
export interface RegistryGetServiceAccountRequest {
|
|
21
22
|
principalId: string;
|
|
@@ -38,12 +39,12 @@ export declare class ServiceAccountsApi extends runtime.BaseAPI {
|
|
|
38
39
|
*/
|
|
39
40
|
registryCreateServiceAccountRequestOpts(requestParameters: RegistryCreateServiceAccountRequest): Promise<runtime.RequestOpts>;
|
|
40
41
|
/**
|
|
41
|
-
* Registers a principal the account\'s automation can authenticate as. **The registry does not mint the credential** — `secret_ref` is a handle into the secret provider, supplied by whatever provisioned it, and this row is the durable identity that references it. There is no `PATCH`: a machine identity\'s `client_id`, `principal_type` and `secret_ref` are what it *is*, and editing them would repoint an identity that live credentials already authenticate as.
|
|
42
|
+
* Registers a principal the account\'s automation can authenticate as. **The registry does not mint the credential** — `secret_ref` is a handle into the secret provider, supplied by whatever provisioned it, and this row is the durable identity that references it. **`agent` and `service_account` only.** The platform flavours (`action`, `registry`) are refused with `400`: the deployment seats an active platform principal `member` on every workspace in the account, so registering one here would be an account-wide grant rather than an identity. Those are provisioned by the registry itself, not over HTTP. Any member of the account may call this — a machine identity for your own automation is an ordinary member operation. There is no `PATCH`: a machine identity\'s `client_id`, `principal_type` and `secret_ref` are what it *is*, and editing them would repoint an identity that live credentials already authenticate as.
|
|
42
43
|
* Create a machine identity
|
|
43
44
|
*/
|
|
44
45
|
registryCreateServiceAccountRaw(requestParameters: RegistryCreateServiceAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ServiceAccountDto>>;
|
|
45
46
|
/**
|
|
46
|
-
* Registers a principal the account\'s automation can authenticate as. **The registry does not mint the credential** — `secret_ref` is a handle into the secret provider, supplied by whatever provisioned it, and this row is the durable identity that references it. There is no `PATCH`: a machine identity\'s `client_id`, `principal_type` and `secret_ref` are what it *is*, and editing them would repoint an identity that live credentials already authenticate as.
|
|
47
|
+
* Registers a principal the account\'s automation can authenticate as. **The registry does not mint the credential** — `secret_ref` is a handle into the secret provider, supplied by whatever provisioned it, and this row is the durable identity that references it. **`agent` and `service_account` only.** The platform flavours (`action`, `registry`) are refused with `400`: the deployment seats an active platform principal `member` on every workspace in the account, so registering one here would be an account-wide grant rather than an identity. Those are provisioned by the registry itself, not over HTTP. Any member of the account may call this — a machine identity for your own automation is an ordinary member operation. There is no `PATCH`: a machine identity\'s `client_id`, `principal_type` and `secret_ref` are what it *is*, and editing them would repoint an identity that live credentials already authenticate as.
|
|
47
48
|
* Create a machine identity
|
|
48
49
|
*/
|
|
49
50
|
registryCreateServiceAccount(requestParameters: RegistryCreateServiceAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ServiceAccountDto>;
|
|
@@ -108,13 +109,21 @@ export declare class ServiceAccountsApi extends runtime.BaseAPI {
|
|
|
108
109
|
*/
|
|
109
110
|
registryRotateServiceAccountCredentialRequestOpts(requestParameters: RegistryRotateServiceAccountCredentialRequest): Promise<runtime.RequestOpts>;
|
|
110
111
|
/**
|
|
111
|
-
* Rotates the credential at the identity provider and returns the new secret **once**. It is not stored: `secret_ref` on this row is a handle into whatever provisioned the credential, and the registry never held the value — so the actor that registered this identity is the actor that must record the new one. The old secret stops working the moment this returns, so a caller that loses the response has to rotate again. That is the honest failure mode for reveal-once and it is why the response is the whole point of the call. The registry can rotate a credential it never minted — rotation needs only the recorded `client_id` — which follows from `POST /service-accounts` **registering** rather than provisioning. Authorization is therefore on the row, not on provenance. **Runs as the calling operator.** The identity provider grants no machine-usable client-admin scope, so the caller\'s own bearer is forwarded; a machine principal\'s token is refused by the provider rather than by this route. **`credential_kind` is sent to the provider verbatim, and this surface\'s closed set is `secret` | `api_key`.** So an identity whose provider-side credential is filed under any other name cannot be rotated here: `POST /service-accounts` refuses the value at registration, and a mismatched one that did get stored answers 404 from the provider. Widening the set is an `api-contract` change; it is not done here because the right vocabulary is the provider\'s and this route should not be the place that guesses it.
|
|
112
|
+
* Rotates the credential at the identity provider and returns the new secret **once**. It is not stored: `secret_ref` on this row is a handle into whatever provisioned the credential, and the registry never held the value — so the actor that registered this identity is the actor that must record the new one. The old secret stops working the moment this returns, so a caller that loses the response has to rotate again. That is the honest failure mode for reveal-once and it is why the response is the whole point of the call. The registry can rotate a credential it never minted — rotation needs only the recorded `client_id` — which follows from `POST /service-accounts` **registering** rather than provisioning. Authorization is therefore on the row, not on provenance. **Only identities *you* registered here are reachable.** A platform identity (`action`, `registry`) is refused for the same reason `POST /service-accounts` refuses to create one; an artifact\'s identity belongs to the workspace its artifact lives in and is managed on its own kind\'s route (`POST /agent/v1/agents/{agent_id}/identity/rotate`); and an identity another member registered is theirs, because holding account write says which *account* you may act in and never which *row*. All three answer `404`. There is no admin override — an identity whose registrar has left the account cannot be rotated through this API. **Runs as the calling operator.** The identity provider grants no machine-usable client-admin scope, so the caller\'s own bearer is forwarded; a machine principal\'s token is refused by the provider rather than by this route. **`credential_kind` is sent to the provider verbatim, and this surface\'s closed set is `secret` | `api_key`.** So an identity whose provider-side credential is filed under any other name cannot be rotated here: `POST /service-accounts` refuses the value at registration, and a mismatched one that did get stored answers 404 from the provider. Widening the set is an `api-contract` change; it is not done here because the right vocabulary is the provider\'s and this route should not be the place that guesses it.
|
|
112
113
|
* Rotate this identity\'s credential
|
|
113
114
|
*/
|
|
114
115
|
registryRotateServiceAccountCredentialRaw(requestParameters: RegistryRotateServiceAccountCredentialRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RotatedCredentialDto>>;
|
|
115
116
|
/**
|
|
116
|
-
* Rotates the credential at the identity provider and returns the new secret **once**. It is not stored: `secret_ref` on this row is a handle into whatever provisioned the credential, and the registry never held the value — so the actor that registered this identity is the actor that must record the new one. The old secret stops working the moment this returns, so a caller that loses the response has to rotate again. That is the honest failure mode for reveal-once and it is why the response is the whole point of the call. The registry can rotate a credential it never minted — rotation needs only the recorded `client_id` — which follows from `POST /service-accounts` **registering** rather than provisioning. Authorization is therefore on the row, not on provenance. **Runs as the calling operator.** The identity provider grants no machine-usable client-admin scope, so the caller\'s own bearer is forwarded; a machine principal\'s token is refused by the provider rather than by this route. **`credential_kind` is sent to the provider verbatim, and this surface\'s closed set is `secret` | `api_key`.** So an identity whose provider-side credential is filed under any other name cannot be rotated here: `POST /service-accounts` refuses the value at registration, and a mismatched one that did get stored answers 404 from the provider. Widening the set is an `api-contract` change; it is not done here because the right vocabulary is the provider\'s and this route should not be the place that guesses it.
|
|
117
|
+
* Rotates the credential at the identity provider and returns the new secret **once**. It is not stored: `secret_ref` on this row is a handle into whatever provisioned the credential, and the registry never held the value — so the actor that registered this identity is the actor that must record the new one. The old secret stops working the moment this returns, so a caller that loses the response has to rotate again. That is the honest failure mode for reveal-once and it is why the response is the whole point of the call. The registry can rotate a credential it never minted — rotation needs only the recorded `client_id` — which follows from `POST /service-accounts` **registering** rather than provisioning. Authorization is therefore on the row, not on provenance. **Only identities *you* registered here are reachable.** A platform identity (`action`, `registry`) is refused for the same reason `POST /service-accounts` refuses to create one; an artifact\'s identity belongs to the workspace its artifact lives in and is managed on its own kind\'s route (`POST /agent/v1/agents/{agent_id}/identity/rotate`); and an identity another member registered is theirs, because holding account write says which *account* you may act in and never which *row*. All three answer `404`. There is no admin override — an identity whose registrar has left the account cannot be rotated through this API. **Runs as the calling operator.** The identity provider grants no machine-usable client-admin scope, so the caller\'s own bearer is forwarded; a machine principal\'s token is refused by the provider rather than by this route. **`credential_kind` is sent to the provider verbatim, and this surface\'s closed set is `secret` | `api_key`.** So an identity whose provider-side credential is filed under any other name cannot be rotated here: `POST /service-accounts` refuses the value at registration, and a mismatched one that did get stored answers 404 from the provider. Widening the set is an `api-contract` change; it is not done here because the right vocabulary is the provider\'s and this route should not be the place that guesses it.
|
|
117
118
|
* Rotate this identity\'s credential
|
|
118
119
|
*/
|
|
119
120
|
registryRotateServiceAccountCredential(requestParameters: RegistryRotateServiceAccountCredentialRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RotatedCredentialDto>;
|
|
120
121
|
}
|
|
122
|
+
/**
|
|
123
|
+
* @export
|
|
124
|
+
* @enum {string}
|
|
125
|
+
*/
|
|
126
|
+
export declare enum RegistryCreateServiceAccountContentEncodingEnum {
|
|
127
|
+
Base64 = "base64",
|
|
128
|
+
GzipBase64 = "gzip, base64"
|
|
129
|
+
}
|
|
@@ -46,7 +46,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
46
46
|
};
|
|
47
47
|
})();
|
|
48
48
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
49
|
-
exports.ServiceAccountsApi = void 0;
|
|
49
|
+
exports.RegistryCreateServiceAccountContentEncodingEnum = exports.ServiceAccountsApi = void 0;
|
|
50
50
|
const runtime = __importStar(require("../runtime"));
|
|
51
51
|
const CreateServiceAccountBody_1 = require("../models/CreateServiceAccountBody");
|
|
52
52
|
const RotatedCredentialDto_1 = require("../models/RotatedCredentialDto");
|
|
@@ -66,6 +66,9 @@ class ServiceAccountsApi extends runtime.BaseAPI {
|
|
|
66
66
|
const queryParameters = {};
|
|
67
67
|
const headerParameters = {};
|
|
68
68
|
headerParameters['Content-Type'] = 'application/json';
|
|
69
|
+
if (requestParameters['contentEncoding'] != null) {
|
|
70
|
+
headerParameters['Content-Encoding'] = String(requestParameters['contentEncoding']);
|
|
71
|
+
}
|
|
69
72
|
if (this.configuration && this.configuration.accessToken) {
|
|
70
73
|
const token = this.configuration.accessToken;
|
|
71
74
|
const tokenString = await token("bearer", []);
|
|
@@ -83,7 +86,7 @@ class ServiceAccountsApi extends runtime.BaseAPI {
|
|
|
83
86
|
};
|
|
84
87
|
}
|
|
85
88
|
/**
|
|
86
|
-
* Registers a principal the account\'s automation can authenticate as. **The registry does not mint the credential** — `secret_ref` is a handle into the secret provider, supplied by whatever provisioned it, and this row is the durable identity that references it. There is no `PATCH`: a machine identity\'s `client_id`, `principal_type` and `secret_ref` are what it *is*, and editing them would repoint an identity that live credentials already authenticate as.
|
|
89
|
+
* Registers a principal the account\'s automation can authenticate as. **The registry does not mint the credential** — `secret_ref` is a handle into the secret provider, supplied by whatever provisioned it, and this row is the durable identity that references it. **`agent` and `service_account` only.** The platform flavours (`action`, `registry`) are refused with `400`: the deployment seats an active platform principal `member` on every workspace in the account, so registering one here would be an account-wide grant rather than an identity. Those are provisioned by the registry itself, not over HTTP. Any member of the account may call this — a machine identity for your own automation is an ordinary member operation. There is no `PATCH`: a machine identity\'s `client_id`, `principal_type` and `secret_ref` are what it *is*, and editing them would repoint an identity that live credentials already authenticate as.
|
|
87
90
|
* Create a machine identity
|
|
88
91
|
*/
|
|
89
92
|
async registryCreateServiceAccountRaw(requestParameters, initOverrides) {
|
|
@@ -92,7 +95,7 @@ class ServiceAccountsApi extends runtime.BaseAPI {
|
|
|
92
95
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, ServiceAccountDto_1.ServiceAccountDtoFromJSON)(jsonValue));
|
|
93
96
|
}
|
|
94
97
|
/**
|
|
95
|
-
* Registers a principal the account\'s automation can authenticate as. **The registry does not mint the credential** — `secret_ref` is a handle into the secret provider, supplied by whatever provisioned it, and this row is the durable identity that references it. There is no `PATCH`: a machine identity\'s `client_id`, `principal_type` and `secret_ref` are what it *is*, and editing them would repoint an identity that live credentials already authenticate as.
|
|
98
|
+
* Registers a principal the account\'s automation can authenticate as. **The registry does not mint the credential** — `secret_ref` is a handle into the secret provider, supplied by whatever provisioned it, and this row is the durable identity that references it. **`agent` and `service_account` only.** The platform flavours (`action`, `registry`) are refused with `400`: the deployment seats an active platform principal `member` on every workspace in the account, so registering one here would be an account-wide grant rather than an identity. Those are provisioned by the registry itself, not over HTTP. Any member of the account may call this — a machine identity for your own automation is an ordinary member operation. There is no `PATCH`: a machine identity\'s `client_id`, `principal_type` and `secret_ref` are what it *is*, and editing them would repoint an identity that live credentials already authenticate as.
|
|
96
99
|
* Create a machine identity
|
|
97
100
|
*/
|
|
98
101
|
async registryCreateServiceAccount(requestParameters, initOverrides) {
|
|
@@ -289,7 +292,7 @@ class ServiceAccountsApi extends runtime.BaseAPI {
|
|
|
289
292
|
};
|
|
290
293
|
}
|
|
291
294
|
/**
|
|
292
|
-
* Rotates the credential at the identity provider and returns the new secret **once**. It is not stored: `secret_ref` on this row is a handle into whatever provisioned the credential, and the registry never held the value — so the actor that registered this identity is the actor that must record the new one. The old secret stops working the moment this returns, so a caller that loses the response has to rotate again. That is the honest failure mode for reveal-once and it is why the response is the whole point of the call. The registry can rotate a credential it never minted — rotation needs only the recorded `client_id` — which follows from `POST /service-accounts` **registering** rather than provisioning. Authorization is therefore on the row, not on provenance. **Runs as the calling operator.** The identity provider grants no machine-usable client-admin scope, so the caller\'s own bearer is forwarded; a machine principal\'s token is refused by the provider rather than by this route. **`credential_kind` is sent to the provider verbatim, and this surface\'s closed set is `secret` | `api_key`.** So an identity whose provider-side credential is filed under any other name cannot be rotated here: `POST /service-accounts` refuses the value at registration, and a mismatched one that did get stored answers 404 from the provider. Widening the set is an `api-contract` change; it is not done here because the right vocabulary is the provider\'s and this route should not be the place that guesses it.
|
|
295
|
+
* Rotates the credential at the identity provider and returns the new secret **once**. It is not stored: `secret_ref` on this row is a handle into whatever provisioned the credential, and the registry never held the value — so the actor that registered this identity is the actor that must record the new one. The old secret stops working the moment this returns, so a caller that loses the response has to rotate again. That is the honest failure mode for reveal-once and it is why the response is the whole point of the call. The registry can rotate a credential it never minted — rotation needs only the recorded `client_id` — which follows from `POST /service-accounts` **registering** rather than provisioning. Authorization is therefore on the row, not on provenance. **Only identities *you* registered here are reachable.** A platform identity (`action`, `registry`) is refused for the same reason `POST /service-accounts` refuses to create one; an artifact\'s identity belongs to the workspace its artifact lives in and is managed on its own kind\'s route (`POST /agent/v1/agents/{agent_id}/identity/rotate`); and an identity another member registered is theirs, because holding account write says which *account* you may act in and never which *row*. All three answer `404`. There is no admin override — an identity whose registrar has left the account cannot be rotated through this API. **Runs as the calling operator.** The identity provider grants no machine-usable client-admin scope, so the caller\'s own bearer is forwarded; a machine principal\'s token is refused by the provider rather than by this route. **`credential_kind` is sent to the provider verbatim, and this surface\'s closed set is `secret` | `api_key`.** So an identity whose provider-side credential is filed under any other name cannot be rotated here: `POST /service-accounts` refuses the value at registration, and a mismatched one that did get stored answers 404 from the provider. Widening the set is an `api-contract` change; it is not done here because the right vocabulary is the provider\'s and this route should not be the place that guesses it.
|
|
293
296
|
* Rotate this identity\'s credential
|
|
294
297
|
*/
|
|
295
298
|
async registryRotateServiceAccountCredentialRaw(requestParameters, initOverrides) {
|
|
@@ -298,7 +301,7 @@ class ServiceAccountsApi extends runtime.BaseAPI {
|
|
|
298
301
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, RotatedCredentialDto_1.RotatedCredentialDtoFromJSON)(jsonValue));
|
|
299
302
|
}
|
|
300
303
|
/**
|
|
301
|
-
* Rotates the credential at the identity provider and returns the new secret **once**. It is not stored: `secret_ref` on this row is a handle into whatever provisioned the credential, and the registry never held the value — so the actor that registered this identity is the actor that must record the new one. The old secret stops working the moment this returns, so a caller that loses the response has to rotate again. That is the honest failure mode for reveal-once and it is why the response is the whole point of the call. The registry can rotate a credential it never minted — rotation needs only the recorded `client_id` — which follows from `POST /service-accounts` **registering** rather than provisioning. Authorization is therefore on the row, not on provenance. **Runs as the calling operator.** The identity provider grants no machine-usable client-admin scope, so the caller\'s own bearer is forwarded; a machine principal\'s token is refused by the provider rather than by this route. **`credential_kind` is sent to the provider verbatim, and this surface\'s closed set is `secret` | `api_key`.** So an identity whose provider-side credential is filed under any other name cannot be rotated here: `POST /service-accounts` refuses the value at registration, and a mismatched one that did get stored answers 404 from the provider. Widening the set is an `api-contract` change; it is not done here because the right vocabulary is the provider\'s and this route should not be the place that guesses it.
|
|
304
|
+
* Rotates the credential at the identity provider and returns the new secret **once**. It is not stored: `secret_ref` on this row is a handle into whatever provisioned the credential, and the registry never held the value — so the actor that registered this identity is the actor that must record the new one. The old secret stops working the moment this returns, so a caller that loses the response has to rotate again. That is the honest failure mode for reveal-once and it is why the response is the whole point of the call. The registry can rotate a credential it never minted — rotation needs only the recorded `client_id` — which follows from `POST /service-accounts` **registering** rather than provisioning. Authorization is therefore on the row, not on provenance. **Only identities *you* registered here are reachable.** A platform identity (`action`, `registry`) is refused for the same reason `POST /service-accounts` refuses to create one; an artifact\'s identity belongs to the workspace its artifact lives in and is managed on its own kind\'s route (`POST /agent/v1/agents/{agent_id}/identity/rotate`); and an identity another member registered is theirs, because holding account write says which *account* you may act in and never which *row*. All three answer `404`. There is no admin override — an identity whose registrar has left the account cannot be rotated through this API. **Runs as the calling operator.** The identity provider grants no machine-usable client-admin scope, so the caller\'s own bearer is forwarded; a machine principal\'s token is refused by the provider rather than by this route. **`credential_kind` is sent to the provider verbatim, and this surface\'s closed set is `secret` | `api_key`.** So an identity whose provider-side credential is filed under any other name cannot be rotated here: `POST /service-accounts` refuses the value at registration, and a mismatched one that did get stored answers 404 from the provider. Widening the set is an `api-contract` change; it is not done here because the right vocabulary is the provider\'s and this route should not be the place that guesses it.
|
|
302
305
|
* Rotate this identity\'s credential
|
|
303
306
|
*/
|
|
304
307
|
async registryRotateServiceAccountCredential(requestParameters, initOverrides) {
|
|
@@ -307,3 +310,12 @@ class ServiceAccountsApi extends runtime.BaseAPI {
|
|
|
307
310
|
}
|
|
308
311
|
}
|
|
309
312
|
exports.ServiceAccountsApi = ServiceAccountsApi;
|
|
313
|
+
/**
|
|
314
|
+
* @export
|
|
315
|
+
* @enum {string}
|
|
316
|
+
*/
|
|
317
|
+
var RegistryCreateServiceAccountContentEncodingEnum;
|
|
318
|
+
(function (RegistryCreateServiceAccountContentEncodingEnum) {
|
|
319
|
+
RegistryCreateServiceAccountContentEncodingEnum["Base64"] = "base64";
|
|
320
|
+
RegistryCreateServiceAccountContentEncodingEnum["GzipBase64"] = "gzip, base64";
|
|
321
|
+
})(RegistryCreateServiceAccountContentEncodingEnum || (exports.RegistryCreateServiceAccountContentEncodingEnum = RegistryCreateServiceAccountContentEncodingEnum = {}));
|
|
@@ -0,0 +1,60 @@
|
|
|
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
|
+
export interface RegistryListOwnSessionsRequest {
|
|
14
|
+
status?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface RegistryRevokeOwnSessionsRequest {
|
|
17
|
+
body: Blob;
|
|
18
|
+
contentEncoding?: RegistryRevokeOwnSessionsContentEncodingEnum;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export declare class SessionsApi extends runtime.BaseAPI {
|
|
24
|
+
/**
|
|
25
|
+
* Creates request options for registryListOwnSessions without sending the request
|
|
26
|
+
*/
|
|
27
|
+
registryListOwnSessionsRequestOpts(requestParameters: RegistryListOwnSessionsRequest): Promise<runtime.RequestOpts>;
|
|
28
|
+
/**
|
|
29
|
+
* The caller\'s own sessions, proxied from the control plane. Authenticated only - no role check, because the control plane resolves \"me\" from the asserted bearer. Accepts a `status` query (`active`, `revoked`, or `all`); the default is the control plane\'s.
|
|
30
|
+
* List the caller\'s own sessions
|
|
31
|
+
*/
|
|
32
|
+
registryListOwnSessionsRaw(requestParameters: RegistryListOwnSessionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
33
|
+
/**
|
|
34
|
+
* The caller\'s own sessions, proxied from the control plane. Authenticated only - no role check, because the control plane resolves \"me\" from the asserted bearer. Accepts a `status` query (`active`, `revoked`, or `all`); the default is the control plane\'s.
|
|
35
|
+
* List the caller\'s own sessions
|
|
36
|
+
*/
|
|
37
|
+
registryListOwnSessions(requestParameters?: RegistryListOwnSessionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
38
|
+
/**
|
|
39
|
+
* Creates request options for registryRevokeOwnSessions without sending the request
|
|
40
|
+
*/
|
|
41
|
+
registryRevokeOwnSessionsRequestOpts(requestParameters: RegistryRevokeOwnSessionsRequest): Promise<runtime.RequestOpts>;
|
|
42
|
+
/**
|
|
43
|
+
* Revoke the caller\'s own sessions, proxied from the control plane. Authenticated only - no role check, because the control plane resolves \"me\" from the asserted bearer. The request body is forwarded verbatim.
|
|
44
|
+
* Revoke the caller\'s own sessions
|
|
45
|
+
*/
|
|
46
|
+
registryRevokeOwnSessionsRaw(requestParameters: RegistryRevokeOwnSessionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
47
|
+
/**
|
|
48
|
+
* Revoke the caller\'s own sessions, proxied from the control plane. Authenticated only - no role check, because the control plane resolves \"me\" from the asserted bearer. The request body is forwarded verbatim.
|
|
49
|
+
* Revoke the caller\'s own sessions
|
|
50
|
+
*/
|
|
51
|
+
registryRevokeOwnSessions(requestParameters: RegistryRevokeOwnSessionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* @export
|
|
55
|
+
* @enum {string}
|
|
56
|
+
*/
|
|
57
|
+
export declare enum RegistryRevokeOwnSessionsContentEncodingEnum {
|
|
58
|
+
Base64 = "base64",
|
|
59
|
+
GzipBase64 = "gzip, base64"
|
|
60
|
+
}
|
|
@@ -0,0 +1,150 @@
|
|
|
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.RegistryRevokeOwnSessionsContentEncodingEnum = exports.SessionsApi = void 0;
|
|
50
|
+
const runtime = __importStar(require("../runtime"));
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
*/
|
|
54
|
+
class SessionsApi extends runtime.BaseAPI {
|
|
55
|
+
/**
|
|
56
|
+
* Creates request options for registryListOwnSessions without sending the request
|
|
57
|
+
*/
|
|
58
|
+
async registryListOwnSessionsRequestOpts(requestParameters) {
|
|
59
|
+
const queryParameters = {};
|
|
60
|
+
if (requestParameters['status'] != null) {
|
|
61
|
+
queryParameters['status'] = requestParameters['status'];
|
|
62
|
+
}
|
|
63
|
+
const headerParameters = {};
|
|
64
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
65
|
+
const token = this.configuration.accessToken;
|
|
66
|
+
const tokenString = await token("bearer", []);
|
|
67
|
+
if (tokenString) {
|
|
68
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
let urlPath = `/users/me/sessions`;
|
|
72
|
+
return {
|
|
73
|
+
path: urlPath,
|
|
74
|
+
method: 'GET',
|
|
75
|
+
headers: headerParameters,
|
|
76
|
+
query: queryParameters,
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* The caller\'s own sessions, proxied from the control plane. Authenticated only - no role check, because the control plane resolves \"me\" from the asserted bearer. Accepts a `status` query (`active`, `revoked`, or `all`); the default is the control plane\'s.
|
|
81
|
+
* List the caller\'s own sessions
|
|
82
|
+
*/
|
|
83
|
+
async registryListOwnSessionsRaw(requestParameters, initOverrides) {
|
|
84
|
+
const requestOptions = await this.registryListOwnSessionsRequestOpts(requestParameters);
|
|
85
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
86
|
+
return new runtime.VoidApiResponse(response);
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* The caller\'s own sessions, proxied from the control plane. Authenticated only - no role check, because the control plane resolves \"me\" from the asserted bearer. Accepts a `status` query (`active`, `revoked`, or `all`); the default is the control plane\'s.
|
|
90
|
+
* List the caller\'s own sessions
|
|
91
|
+
*/
|
|
92
|
+
async registryListOwnSessions(requestParameters = {}, initOverrides) {
|
|
93
|
+
await this.registryListOwnSessionsRaw(requestParameters, initOverrides);
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Creates request options for registryRevokeOwnSessions without sending the request
|
|
97
|
+
*/
|
|
98
|
+
async registryRevokeOwnSessionsRequestOpts(requestParameters) {
|
|
99
|
+
if (requestParameters['body'] == null) {
|
|
100
|
+
throw new runtime.RequiredError('body', 'Required parameter "body" was null or undefined when calling registryRevokeOwnSessions().');
|
|
101
|
+
}
|
|
102
|
+
const queryParameters = {};
|
|
103
|
+
const headerParameters = {};
|
|
104
|
+
headerParameters['Content-Type'] = 'application/octet-stream';
|
|
105
|
+
if (requestParameters['contentEncoding'] != null) {
|
|
106
|
+
headerParameters['Content-Encoding'] = String(requestParameters['contentEncoding']);
|
|
107
|
+
}
|
|
108
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
109
|
+
const token = this.configuration.accessToken;
|
|
110
|
+
const tokenString = await token("bearer", []);
|
|
111
|
+
if (tokenString) {
|
|
112
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
let urlPath = `/users/me/sessions/revoke`;
|
|
116
|
+
return {
|
|
117
|
+
path: urlPath,
|
|
118
|
+
method: 'POST',
|
|
119
|
+
headers: headerParameters,
|
|
120
|
+
query: queryParameters,
|
|
121
|
+
body: requestParameters['body'],
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Revoke the caller\'s own sessions, proxied from the control plane. Authenticated only - no role check, because the control plane resolves \"me\" from the asserted bearer. The request body is forwarded verbatim.
|
|
126
|
+
* Revoke the caller\'s own sessions
|
|
127
|
+
*/
|
|
128
|
+
async registryRevokeOwnSessionsRaw(requestParameters, initOverrides) {
|
|
129
|
+
const requestOptions = await this.registryRevokeOwnSessionsRequestOpts(requestParameters);
|
|
130
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
131
|
+
return new runtime.VoidApiResponse(response);
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Revoke the caller\'s own sessions, proxied from the control plane. Authenticated only - no role check, because the control plane resolves \"me\" from the asserted bearer. The request body is forwarded verbatim.
|
|
135
|
+
* Revoke the caller\'s own sessions
|
|
136
|
+
*/
|
|
137
|
+
async registryRevokeOwnSessions(requestParameters, initOverrides) {
|
|
138
|
+
await this.registryRevokeOwnSessionsRaw(requestParameters, initOverrides);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
exports.SessionsApi = SessionsApi;
|
|
142
|
+
/**
|
|
143
|
+
* @export
|
|
144
|
+
* @enum {string}
|
|
145
|
+
*/
|
|
146
|
+
var RegistryRevokeOwnSessionsContentEncodingEnum;
|
|
147
|
+
(function (RegistryRevokeOwnSessionsContentEncodingEnum) {
|
|
148
|
+
RegistryRevokeOwnSessionsContentEncodingEnum["Base64"] = "base64";
|
|
149
|
+
RegistryRevokeOwnSessionsContentEncodingEnum["GzipBase64"] = "gzip, base64";
|
|
150
|
+
})(RegistryRevokeOwnSessionsContentEncodingEnum || (exports.RegistryRevokeOwnSessionsContentEncodingEnum = RegistryRevokeOwnSessionsContentEncodingEnum = {}));
|