@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,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,
|
|
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,
|
|
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,
|
|
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,
|
|
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
|
+
}
|