@atlanai/sdk 0.2.1 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +65 -14
- package/dist/client.d.ts +4 -1
- package/dist/client.js +14 -2
- package/dist/errors.d.ts +1 -0
- package/dist/errors.js +12 -1
- package/dist/evals.d.ts +136 -1
- package/dist/evals.js +902 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.js +2 -1
- package/dist/manifest.json +264 -218
- 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 +78 -4
- package/dist/raw/agent/apis/AgentsApi.js +126 -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 +38 -2
- package/dist/raw/agent/apis/SessionsApi.js +51 -3
- 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 +75 -15
- package/dist/raw/agent/models/AgentAgentArtifactView.js +15 -2
- package/dist/raw/agent/models/AgentAgentEnvironmentArtifactView.d.ts +39 -15
- package/dist/raw/agent/models/AgentAgentEnvironmentArtifactView.js +4 -2
- package/dist/raw/agent/models/AgentAgentEnvironmentMeta.d.ts +12 -0
- package/dist/raw/agent/models/AgentAgentEnvironmentMeta.js +2 -0
- package/dist/raw/agent/models/AgentAgentFrameworkArtifactView.d.ts +27 -15
- package/dist/raw/agent/models/AgentAgentFrameworkArtifactView.js +2 -2
- package/dist/raw/agent/models/AgentAgentMeta.d.ts +48 -0
- package/dist/raw/agent/models/AgentAgentMeta.js +13 -0
- package/dist/raw/agent/models/AgentAgentProviderArtifactView.d.ts +82 -17
- package/dist/raw/agent/models/AgentAgentProviderArtifactView.js +10 -2
- package/dist/raw/agent/models/AgentAgentProviderCreate.d.ts +24 -3
- package/dist/raw/agent/models/AgentAgentProviderCreate.js +4 -0
- package/dist/raw/agent/models/AgentAgentProviderMeta.d.ts +56 -13
- package/dist/raw/agent/models/AgentAgentProviderMeta.js +8 -0
- package/dist/raw/agent/models/AgentAgentProviderPatch.d.ts +13 -0
- package/dist/raw/agent/models/AgentAgentProviderPatch.js +4 -0
- package/dist/raw/agent/models/AgentAgentProviderType.d.ts +19 -9
- package/dist/raw/agent/models/AgentAgentProviderType.js +18 -8
- 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/AgentListAgentFrameworks401Response.d.ts +1 -0
- package/dist/raw/agent/models/AgentListAgentFrameworks401Response.js +1 -0
- package/dist/raw/agent/models/AgentOutputArtifactView.d.ts +27 -15
- package/dist/raw/agent/models/AgentOutputArtifactView.js +2 -2
- package/dist/raw/agent/models/AgentPageSessionEventView.d.ts +3 -3
- package/dist/raw/agent/models/AgentPageSessionEventView.js +3 -3
- package/dist/raw/agent/models/AgentQueryAgentTraceStats400Response.d.ts +2 -0
- package/dist/raw/agent/models/AgentQueryAgentTraceStats400Response.js +2 -0
- package/dist/raw/agent/models/AgentRemoteSessionEvent.d.ts +38 -0
- package/dist/raw/agent/models/AgentRemoteSessionEvent.js +58 -0
- package/dist/raw/agent/models/AgentSessionArtifactView.d.ts +52 -15
- package/dist/raw/agent/models/AgentSessionArtifactView.js +4 -2
- package/dist/raw/agent/models/AgentSessionEventView.d.ts +30 -0
- package/dist/raw/agent/models/AgentSessionEventView.js +57 -0
- package/dist/raw/agent/models/AgentSessionMessageArtifactView.d.ts +27 -15
- package/dist/raw/agent/models/AgentSessionMessageArtifactView.js +2 -2
- package/dist/raw/agent/models/AgentSessionMeta.d.ts +25 -0
- package/dist/raw/agent/models/AgentSessionMeta.js +2 -0
- package/dist/raw/agent/models/AgentSessionStreamFrame.d.ts +8 -6
- package/dist/raw/agent/models/AgentSessionStreamFrame.js +7 -0
- package/dist/raw/agent/models/AgentSyncState.d.ts +27 -0
- package/dist/raw/agent/models/AgentSyncState.js +55 -0
- 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/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/TriggerBody.d.ts +52 -0
- package/dist/raw/agent/models/TriggerBody.js +58 -0
- package/dist/raw/agent/models/index.d.ts +6 -1
- package/dist/raw/agent/models/index.js +6 -1
- package/dist/raw/eval/apis/DatasetsApi.d.ts +43 -3
- package/dist/raw/eval/apis/DatasetsApi.js +108 -3
- package/dist/raw/eval/apis/ExperimentsApi.d.ts +8 -24
- package/dist/raw/eval/apis/ExperimentsApi.js +10 -49
- package/dist/raw/eval/apis/ScorersApi.d.ts +1 -1
- package/dist/raw/eval/apis/ScorersApi.js +1 -1
- package/dist/raw/eval/models/AccessView.d.ts +1 -1
- package/dist/raw/eval/models/AccessView.js +1 -1
- package/dist/raw/eval/models/ArtifactConflictProblem.d.ts +1 -1
- package/dist/raw/eval/models/ArtifactConflictProblem.js +1 -1
- package/dist/raw/eval/models/CostView.d.ts +1 -1
- package/dist/raw/eval/models/CostView.js +1 -1
- package/dist/raw/eval/models/CursorPage.d.ts +1 -1
- package/dist/raw/eval/models/CursorPage.js +1 -1
- package/dist/raw/eval/models/EvalArtifactEnvelope.d.ts +1 -1
- package/dist/raw/eval/models/EvalArtifactEnvelope.js +1 -1
- package/dist/raw/eval/models/EvalArtifactSearchRequest.d.ts +1 -1
- package/dist/raw/eval/models/EvalArtifactSearchRequest.js +1 -1
- package/dist/raw/eval/models/EvalBulkDatasetRecordResponse.d.ts +1 -1
- package/dist/raw/eval/models/EvalBulkDatasetRecordResponse.js +1 -1
- package/dist/raw/eval/models/EvalBulkDatasetRecordResult.d.ts +1 -1
- package/dist/raw/eval/models/EvalBulkDatasetRecordResult.js +1 -1
- package/dist/raw/eval/models/EvalBulkExperimentResultResponse.d.ts +1 -1
- package/dist/raw/eval/models/EvalBulkExperimentResultResponse.js +1 -1
- package/dist/raw/eval/models/EvalBulkExperimentResultSlot.d.ts +1 -1
- package/dist/raw/eval/models/EvalBulkExperimentResultSlot.js +1 -1
- package/dist/raw/eval/models/EvalCreateDataset400Response.d.ts +1 -1
- package/dist/raw/eval/models/EvalCreateDataset400Response.js +1 -1
- package/dist/raw/eval/models/EvalCreateDataset409Response.d.ts +1 -1
- package/dist/raw/eval/models/EvalCreateDataset409Response.js +1 -1
- package/dist/raw/eval/models/EvalCreateDataset413Response.d.ts +1 -1
- package/dist/raw/eval/models/EvalCreateDataset413Response.js +1 -1
- package/dist/raw/eval/models/EvalCreateDataset415Response.d.ts +1 -1
- package/dist/raw/eval/models/EvalCreateDataset415Response.js +1 -1
- package/dist/raw/eval/models/EvalCreateDataset422Response.d.ts +1 -1
- package/dist/raw/eval/models/EvalCreateDataset422Response.js +1 -1
- package/dist/raw/eval/models/EvalDatasetArtifactView.d.ts +35 -16
- package/dist/raw/eval/models/EvalDatasetArtifactView.js +5 -3
- package/dist/raw/eval/models/EvalDatasetCreate.d.ts +7 -1
- package/dist/raw/eval/models/EvalDatasetCreate.js +3 -1
- package/dist/raw/eval/models/EvalDatasetMeta.d.ts +8 -1
- package/dist/raw/eval/models/EvalDatasetMeta.js +3 -1
- package/dist/raw/eval/models/EvalDatasetPatch.d.ts +7 -1
- package/dist/raw/eval/models/EvalDatasetPatch.js +3 -1
- package/dist/raw/eval/models/EvalDatasetRecordArtifactView.d.ts +34 -16
- package/dist/raw/eval/models/EvalDatasetRecordArtifactView.js +5 -3
- package/dist/raw/eval/models/EvalDatasetRecordBulkCreate.d.ts +1 -1
- package/dist/raw/eval/models/EvalDatasetRecordBulkCreate.js +1 -1
- package/dist/raw/eval/models/EvalDatasetRecordCreate.d.ts +1 -1
- package/dist/raw/eval/models/EvalDatasetRecordCreate.js +1 -1
- package/dist/raw/eval/models/EvalDatasetRecordMeta.d.ts +7 -1
- package/dist/raw/eval/models/EvalDatasetRecordMeta.js +3 -1
- package/dist/raw/eval/models/EvalDatasetRecordPatch.d.ts +1 -1
- package/dist/raw/eval/models/EvalDatasetRecordPatch.js +1 -1
- 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 +35 -16
- package/dist/raw/eval/models/EvalExperimentArtifactView.js +6 -3
- package/dist/raw/eval/models/EvalExperimentCreate.d.ts +1 -1
- package/dist/raw/eval/models/EvalExperimentCreate.js +1 -1
- package/dist/raw/eval/models/EvalExperimentMeta.d.ts +10 -4
- package/dist/raw/eval/models/EvalExperimentMeta.js +4 -1
- package/dist/raw/eval/models/EvalExperimentPatch.d.ts +4 -3
- package/dist/raw/eval/models/EvalExperimentPatch.js +1 -1
- package/dist/raw/eval/models/EvalExperimentResultArtifactView.d.ts +45 -16
- package/dist/raw/eval/models/EvalExperimentResultArtifactView.js +7 -3
- package/dist/raw/eval/models/EvalExperimentResultBulkCreate.d.ts +1 -1
- package/dist/raw/eval/models/EvalExperimentResultBulkCreate.js +1 -1
- package/dist/raw/eval/models/EvalExperimentResultCreate.d.ts +16 -1
- package/dist/raw/eval/models/EvalExperimentResultCreate.js +5 -1
- package/dist/raw/eval/models/EvalExperimentResultMeta.d.ts +18 -1
- package/dist/raw/eval/models/EvalExperimentResultMeta.js +5 -1
- package/dist/raw/eval/models/EvalExperimentStatus.d.ts +1 -1
- package/dist/raw/eval/models/EvalExperimentStatus.js +1 -1
- package/dist/raw/eval/models/EvalGetDataset404Response.d.ts +1 -1
- package/dist/raw/eval/models/EvalGetDataset404Response.js +1 -1
- package/dist/raw/eval/models/EvalGetExperimentTrace400Response.d.ts +1 -1
- package/dist/raw/eval/models/EvalGetExperimentTrace400Response.js +1 -1
- package/dist/raw/eval/models/EvalListDatasets400Response.d.ts +1 -1
- package/dist/raw/eval/models/EvalListDatasets400Response.js +1 -1
- package/dist/raw/eval/models/EvalListDatasets401Response.d.ts +2 -1
- package/dist/raw/eval/models/EvalListDatasets401Response.js +2 -1
- package/dist/raw/eval/models/EvalListDatasets403Response.d.ts +1 -1
- package/dist/raw/eval/models/EvalListDatasets403Response.js +1 -1
- package/dist/raw/eval/models/EvalListDatasets500Response.d.ts +1 -1
- package/dist/raw/eval/models/EvalListDatasets500Response.js +1 -1
- package/dist/raw/eval/models/EvalListDatasets503Response.d.ts +1 -1
- package/dist/raw/eval/models/EvalListDatasets503Response.js +1 -1
- package/dist/raw/eval/models/EvalListDatasets504Response.d.ts +1 -1
- package/dist/raw/eval/models/EvalListDatasets504Response.js +1 -1
- package/dist/raw/eval/models/EvalPageDatasetArtifactView.d.ts +1 -1
- package/dist/raw/eval/models/EvalPageDatasetArtifactView.js +1 -1
- package/dist/raw/eval/models/EvalPageDatasetRecordArtifactView.d.ts +1 -1
- package/dist/raw/eval/models/EvalPageDatasetRecordArtifactView.js +1 -1
- package/dist/raw/eval/models/EvalPageExperimentArtifactView.d.ts +1 -1
- package/dist/raw/eval/models/EvalPageExperimentArtifactView.js +1 -1
- package/dist/raw/eval/models/EvalPageExperimentResultArtifactView.d.ts +1 -1
- package/dist/raw/eval/models/EvalPageExperimentResultArtifactView.js +1 -1
- package/dist/raw/eval/models/EvalPageScorerArtifactView.d.ts +1 -1
- package/dist/raw/eval/models/EvalPageScorerArtifactView.js +1 -1
- package/dist/raw/eval/models/EvalPatchDataset412Response.d.ts +1 -1
- package/dist/raw/eval/models/EvalPatchDataset412Response.js +1 -1
- package/dist/raw/eval/models/EvalRecordSource.d.ts +1 -1
- package/dist/raw/eval/models/EvalRecordSource.js +1 -1
- package/dist/raw/eval/models/EvalScorerArtifactView.d.ts +28 -16
- package/dist/raw/eval/models/EvalScorerArtifactView.js +3 -3
- package/dist/raw/eval/models/EvalScorerCreate.d.ts +1 -1
- package/dist/raw/eval/models/EvalScorerCreate.js +1 -1
- package/dist/raw/eval/models/EvalScorerKind.d.ts +1 -1
- package/dist/raw/eval/models/EvalScorerKind.js +1 -1
- package/dist/raw/eval/models/EvalScorerMeta.d.ts +1 -1
- package/dist/raw/eval/models/EvalScorerMeta.js +1 -1
- package/dist/raw/eval/models/EvalScorerPatch.d.ts +1 -1
- package/dist/raw/eval/models/EvalScorerPatch.js +1 -1
- package/dist/raw/eval/models/EvalScorerScope.d.ts +1 -1
- package/dist/raw/eval/models/EvalScorerScope.js +1 -1
- package/dist/raw/eval/models/EvalSubjectKind.d.ts +1 -1
- package/dist/raw/eval/models/EvalSubjectKind.js +1 -1
- package/dist/raw/eval/models/GatewayArtifactBase.d.ts +28 -16
- package/dist/raw/eval/models/GatewayArtifactBase.js +3 -3
- package/dist/raw/eval/models/GatewayArtifactIdentityRevealView.d.ts +1 -1
- package/dist/raw/eval/models/GatewayArtifactIdentityRevealView.js +1 -1
- package/dist/raw/eval/models/GatewayPageMeta.d.ts +1 -1
- package/dist/raw/eval/models/GatewayPageMeta.js +1 -1
- package/dist/raw/eval/models/GatewaySourceEnvelope.d.ts +1 -1
- package/dist/raw/eval/models/GatewaySourceEnvelope.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsBucket.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsBucket.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsCompareMode.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsCompareMode.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsComparison.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsComparison.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsData.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsData.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsDataOneOf.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsDataOneOf.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsDataOneOf1.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsDataOneOf1.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsDataOneOf2.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsDataOneOf2.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsEnvelope.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsEnvelope.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsFilter.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsFilter.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsFilterOperator.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsFilterOperator.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsFilterValue.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsFilterValue.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsGroupBy.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsGroupBy.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsMeasure.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsMeasure.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsMeta.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsMeta.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsOrder.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsOrder.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsOrderBy.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsOrderBy.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsOrderDirection.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsOrderDirection.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsPanelQuery.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsPanelQuery.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsRequest.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsRequest.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsRequestType.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsRequestType.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsScalarResult.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsScalarResult.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsSeries.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsSeries.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsSeriesPoint.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsSeriesPoint.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsTableColumn.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsTableColumn.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsTableColumnType.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsTableColumnType.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsTableRow.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsTableRow.js +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsWindow.d.ts +1 -1
- package/dist/raw/eval/models/GatewayTraceStatsWindow.js +1 -1
- package/dist/raw/eval/models/ProblemDetails.d.ts +1 -1
- package/dist/raw/eval/models/ProblemDetails.js +1 -1
- package/dist/raw/eval/models/RegistryEdgeTarget.d.ts +1 -1
- package/dist/raw/eval/models/RegistryEdgeTarget.js +1 -1
- package/dist/raw/eval/models/RegistryRelationshipEdge.d.ts +1 -1
- package/dist/raw/eval/models/RegistryRelationshipEdge.js +1 -1
- package/dist/raw/eval/models/RegistryRelationshipsView.d.ts +1 -1
- package/dist/raw/eval/models/RegistryRelationshipsView.js +1 -1
- package/dist/raw/eval/models/SpanListEnvelope.d.ts +1 -1
- package/dist/raw/eval/models/SpanListEnvelope.js +1 -1
- package/dist/raw/eval/models/SpanViewDto.d.ts +26 -1
- package/dist/raw/eval/models/SpanViewDto.js +9 -1
- package/dist/raw/eval/models/TraceDetailView.d.ts +10 -1
- package/dist/raw/eval/models/TraceDetailView.js +3 -1
- package/dist/raw/eval/models/TraceLinks.d.ts +1 -1
- package/dist/raw/eval/models/TraceLinks.js +1 -1
- package/dist/raw/eval/models/TraceListEnvelope.d.ts +1 -1
- package/dist/raw/eval/models/TraceListEnvelope.js +1 -1
- package/dist/raw/eval/models/TraceParentView.d.ts +1 -1
- package/dist/raw/eval/models/TraceParentView.js +1 -1
- package/dist/raw/eval/models/TraceStatus.d.ts +1 -1
- package/dist/raw/eval/models/TraceStatus.js +1 -1
- package/dist/raw/eval/models/TraceSummaryStats.d.ts +1 -1
- package/dist/raw/eval/models/TraceSummaryStats.js +1 -1
- package/dist/raw/eval/models/TraceSummaryView.d.ts +1 -1
- package/dist/raw/eval/models/TraceSummaryView.js +1 -1
- package/dist/raw/eval/models/UsageView.d.ts +1 -1
- package/dist/raw/eval/models/UsageView.js +1 -1
- package/dist/raw/eval/models/index.d.ts +2 -0
- package/dist/raw/eval/models/index.js +2 -0
- package/dist/raw/eval/runtime.d.ts +1 -1
- package/dist/raw/eval/runtime.js +1 -1
- 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/FileList401Response.d.ts +1 -0
- package/dist/raw/file/models/FileList401Response.js +1 -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 +20 -2
- package/dist/raw/mcp/apis/ServersApi.js +27 -3
- 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/McpConnectionState.d.ts +2 -1
- package/dist/raw/mcp/models/McpConnectionState.js +2 -1
- package/dist/raw/mcp/models/McpListServers401Response.d.ts +1 -0
- package/dist/raw/mcp/models/McpListServers401Response.js +1 -0
- 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/McpServerTestResponse.d.ts +13 -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/model/models/ModelListProviders401Response.d.ts +1 -0
- package/dist/raw/model/models/ModelListProviders401Response.js +1 -0
- 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 +80 -4
- package/dist/raw/registry/apis/WorkspacesApi.js +152 -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/CreateWorkspaceBody.d.ts +9 -0
- package/dist/raw/registry/models/CreateWorkspaceBody.js +2 -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} +17 -16
- package/dist/raw/registry/models/RegistryAggregate401Response.js +90 -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 +42 -0
- package/dist/raw/registry/models/RegistryWorkspaceView.js +11 -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/SearchRequest.d.ts +1 -1
- 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/SetVisibilityBody.d.ts +33 -0
- package/dist/raw/registry/models/SetVisibilityBody.js +50 -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 +51 -50
- package/dist/raw/registry/models/index.js +51 -50
- package/dist/raw/secret/apis/OauthApi.d.ts +143 -0
- package/dist/raw/secret/apis/OauthApi.js +335 -0
- package/dist/raw/secret/apis/index.d.ts +1 -0
- package/dist/raw/secret/apis/index.js +19 -0
- package/dist/raw/secret/index.d.ts +1 -0
- package/dist/raw/secret/index.js +1 -0
- package/dist/raw/secret/models/GatewayOauthCompleteRequest.d.ts +32 -0
- package/dist/raw/secret/models/GatewayOauthCompleteRequest.js +50 -0
- package/dist/raw/secret/models/GatewayOauthCompletion.d.ts +46 -0
- package/dist/raw/secret/models/GatewayOauthCompletion.js +55 -0
- package/dist/raw/secret/models/GatewayOauthConnection.d.ts +83 -0
- package/dist/raw/secret/models/GatewayOauthConnection.js +83 -0
- package/dist/raw/secret/models/GatewayOauthOwner.d.ts +31 -0
- package/dist/raw/secret/models/GatewayOauthOwner.js +59 -0
- package/dist/raw/secret/models/GatewayOauthProviderView.d.ts +69 -0
- package/dist/raw/secret/models/GatewayOauthProviderView.js +69 -0
- package/dist/raw/secret/models/GatewayOauthStartRequest.d.ts +52 -0
- package/dist/raw/secret/models/GatewayOauthStartRequest.js +59 -0
- package/dist/raw/secret/models/GatewayOauthStarted.d.ts +39 -0
- package/dist/raw/secret/models/GatewayOauthStarted.js +54 -0
- package/dist/raw/secret/models/SecretCompleteOauth400Response.d.ts +70 -0
- package/dist/raw/secret/models/SecretCompleteOauth400Response.js +80 -0
- package/dist/raw/secret/models/SecretCompleteOauth413Response.d.ts +64 -0
- package/dist/raw/secret/models/SecretCompleteOauth413Response.js +74 -0
- package/dist/raw/secret/models/SecretCompleteOauth415Response.d.ts +64 -0
- package/dist/raw/secret/models/SecretCompleteOauth415Response.js +74 -0
- package/dist/raw/secret/models/SecretCompleteOauth422Response.d.ts +63 -0
- package/dist/raw/secret/models/SecretCompleteOauth422Response.js +75 -0
- package/dist/raw/secret/models/SecretDisconnectOauth400Response.d.ts +67 -0
- package/dist/raw/secret/models/SecretDisconnectOauth400Response.js +77 -0
- package/dist/raw/secret/models/SecretOauthCallback400Response.d.ts +68 -0
- package/dist/raw/secret/models/SecretOauthCallback400Response.js +78 -0
- package/dist/raw/secret/models/SecretOauthCallback401Response.d.ts +80 -0
- package/dist/raw/secret/models/SecretOauthCallback401Response.js +90 -0
- package/dist/raw/secret/models/SecretOauthCallback403Response.d.ts +66 -0
- package/dist/raw/secret/models/SecretOauthCallback403Response.js +76 -0
- package/dist/raw/secret/models/SecretOauthCallback404Response.d.ts +65 -0
- package/dist/raw/secret/models/SecretOauthCallback404Response.js +75 -0
- package/dist/raw/secret/models/SecretOauthCallback500Response.d.ts +64 -0
- package/dist/raw/secret/models/SecretOauthCallback500Response.js +74 -0
- package/dist/raw/secret/models/SecretOauthCallback503Response.d.ts +66 -0
- package/dist/raw/secret/models/SecretOauthCallback503Response.js +76 -0
- package/dist/raw/secret/models/SecretOauthCallback504Response.d.ts +63 -0
- package/dist/raw/secret/models/SecretOauthCallback504Response.js +75 -0
- package/dist/raw/secret/models/index.d.ts +19 -0
- package/dist/raw/secret/models/index.js +19 -0
- 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/SkillInsightSchemas401Response.d.ts +1 -0
- package/dist/raw/skill/models/SkillInsightSchemas401Response.js +1 -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/resource-types.d.ts +670 -0
- package/dist/resource-types.js +2 -0
- package/dist/resources.d.ts +6 -1
- package/dist/resources.js +9 -6
- package/dist/resources.json +398 -329
- package/dist/tracing/client.d.ts +10 -1
- package/dist/tracing/client.js +50 -16
- package/dist/tracing/compat.d.ts +82 -0
- package/dist/tracing/compat.js +128 -0
- package/dist/tracing/config.d.ts +3 -1
- package/dist/tracing/config.js +7 -2
- package/dist/tracing/exporter.d.ts +19 -1
- package/dist/tracing/exporter.js +56 -14
- 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 +2 -0
- package/dist/tracing/propagation.js +16 -0
- package/dist/tracing/semconv.d.ts +4 -0
- package/dist/tracing/semconv.js +14 -2
- package/dist/tracing/spans.d.ts +6 -0
- package/dist/tracing/spans.js +20 -1
- package/dist/tracing/version.d.ts +1 -1
- package/dist/tracing/version.js +1 -1
- package/package.json +1 -1
- package/dist/raw/agent/models/Box.d.ts +0 -330
- package/dist/raw/agent/models/Box.js +0 -167
- 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
|
@@ -13,9 +13,11 @@ import * as runtime from '../runtime';
|
|
|
13
13
|
import { type CreateWorkspaceBody } from '../models/CreateWorkspaceBody';
|
|
14
14
|
import { type PatchWorkspaceBody } from '../models/PatchWorkspaceBody';
|
|
15
15
|
import { type RegistryWorkspaceView } from '../models/RegistryWorkspaceView';
|
|
16
|
+
import { type SetVisibilityBody } from '../models/SetVisibilityBody';
|
|
16
17
|
import { type WorkspaceArchiveAck } from '../models/WorkspaceArchiveAck';
|
|
17
18
|
import { type WorkspaceBulkCreateRequest } from '../models/WorkspaceBulkCreateRequest';
|
|
18
19
|
import { type WorkspaceExport } from '../models/WorkspaceExport';
|
|
20
|
+
import { type WorkspaceRecommendationsPage } from '../models/WorkspaceRecommendationsPage';
|
|
19
21
|
import { type WorkspacesBulkResponse } from '../models/WorkspacesBulkResponse';
|
|
20
22
|
import { type WorkspacesPage } from '../models/WorkspacesPage';
|
|
21
23
|
export interface RegistryArchiveWorkspaceRequest {
|
|
@@ -23,9 +25,11 @@ export interface RegistryArchiveWorkspaceRequest {
|
|
|
23
25
|
}
|
|
24
26
|
export interface RegistryBulkCreateWorkspacesRequest {
|
|
25
27
|
workspaceBulkCreateRequest: WorkspaceBulkCreateRequest;
|
|
28
|
+
contentEncoding?: RegistryBulkCreateWorkspacesContentEncodingEnum;
|
|
26
29
|
}
|
|
27
30
|
export interface RegistryCreateWorkspaceRequest {
|
|
28
31
|
createWorkspaceBody: CreateWorkspaceBody;
|
|
32
|
+
contentEncoding?: RegistryCreateWorkspaceContentEncodingEnum;
|
|
29
33
|
}
|
|
30
34
|
export interface RegistryDeleteWorkspaceRequest {
|
|
31
35
|
workspaceId: string;
|
|
@@ -36,13 +40,25 @@ export interface RegistryExportWorkspaceRequest {
|
|
|
36
40
|
export interface RegistryGetWorkspaceRequest {
|
|
37
41
|
workspaceId: string;
|
|
38
42
|
include?: string;
|
|
43
|
+
xAtlanConsistencyToken?: string | null;
|
|
44
|
+
}
|
|
45
|
+
export interface RegistryListWorkspaceRecommendationsRequest {
|
|
46
|
+
q?: string;
|
|
47
|
+
xAtlanConsistencyToken?: string | null;
|
|
39
48
|
}
|
|
40
49
|
export interface RegistryListWorkspacesRequest {
|
|
41
50
|
include?: string;
|
|
51
|
+
xAtlanConsistencyToken?: string | null;
|
|
52
|
+
}
|
|
53
|
+
export interface RegistrySetWorkspaceVisibilityRequest {
|
|
54
|
+
workspaceId: string;
|
|
55
|
+
setVisibilityBody: SetVisibilityBody;
|
|
56
|
+
contentEncoding?: RegistrySetWorkspaceVisibilityContentEncodingEnum;
|
|
42
57
|
}
|
|
43
58
|
export interface RegistryUpdateWorkspaceRequest {
|
|
44
59
|
workspaceId: string;
|
|
45
60
|
patchWorkspaceBody: PatchWorkspaceBody;
|
|
61
|
+
contentEncoding?: RegistryUpdateWorkspaceContentEncodingEnum;
|
|
46
62
|
}
|
|
47
63
|
/**
|
|
48
64
|
*
|
|
@@ -123,29 +139,57 @@ export declare class WorkspacesApi extends runtime.BaseAPI {
|
|
|
123
139
|
*/
|
|
124
140
|
registryGetWorkspaceRequestOpts(requestParameters: RegistryGetWorkspaceRequest): Promise<runtime.RequestOpts>;
|
|
125
141
|
/**
|
|
126
|
-
* One workspace by handle. Workspace metadata uses `discover`, the same permission as the list. Reading artifacts, exports, or roster identities inside the workspace still requires `read`. **404 and 403 are distinguishable here**: an absent or deleted workspace is 404, while an existing but undiscoverable workspace is 403. `include=permissions` attaches the caller\'s advisory `can_*` capability matrix. Advisory only — a UI gates controls on it; it never authorizes a request.
|
|
142
|
+
* One workspace by handle. Workspace metadata uses `discover`, the same permission as the list. Reading artifacts, exports, or roster identities inside the workspace still requires `read`. **404 and 403 are distinguishable here**: an absent or deleted workspace is 404, while an existing but undiscoverable workspace is 403. `include=artifact_counts` attaches this workspace\'s `artifact_count` and its per-kind `artifact_count_by_kind` breakdown, taken under the same `discover` the row itself was read at, so it is served even to a caller who has not joined. It counts what `POST /aggregate` counts, so the number does not change on joining. `include=permissions` attaches the caller\'s advisory `can_*` capability matrix. Advisory only — a UI gates controls on it; it never authorizes a request. `include=plugin` attaches this workspace\'s marketplace plugin — catalogue name, plugin name, rendered `<name>@<marketplace>` install handle, and content `version` — so a client holding an installed plugin can tell whether it is current. Absent rather than defaulted when the caller can discover but not read the workspace, when its handle slugs to nothing, or when the assembly behind it degraded.
|
|
127
143
|
* Get a workspace
|
|
128
144
|
*/
|
|
129
145
|
registryGetWorkspaceRaw(requestParameters: RegistryGetWorkspaceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RegistryWorkspaceView>>;
|
|
130
146
|
/**
|
|
131
|
-
* One workspace by handle. Workspace metadata uses `discover`, the same permission as the list. Reading artifacts, exports, or roster identities inside the workspace still requires `read`. **404 and 403 are distinguishable here**: an absent or deleted workspace is 404, while an existing but undiscoverable workspace is 403. `include=permissions` attaches the caller\'s advisory `can_*` capability matrix. Advisory only — a UI gates controls on it; it never authorizes a request.
|
|
147
|
+
* One workspace by handle. Workspace metadata uses `discover`, the same permission as the list. Reading artifacts, exports, or roster identities inside the workspace still requires `read`. **404 and 403 are distinguishable here**: an absent or deleted workspace is 404, while an existing but undiscoverable workspace is 403. `include=artifact_counts` attaches this workspace\'s `artifact_count` and its per-kind `artifact_count_by_kind` breakdown, taken under the same `discover` the row itself was read at, so it is served even to a caller who has not joined. It counts what `POST /aggregate` counts, so the number does not change on joining. `include=permissions` attaches the caller\'s advisory `can_*` capability matrix. Advisory only — a UI gates controls on it; it never authorizes a request. `include=plugin` attaches this workspace\'s marketplace plugin — catalogue name, plugin name, rendered `<name>@<marketplace>` install handle, and content `version` — so a client holding an installed plugin can tell whether it is current. Absent rather than defaulted when the caller can discover but not read the workspace, when its handle slugs to nothing, or when the assembly behind it degraded.
|
|
132
148
|
* Get a workspace
|
|
133
149
|
*/
|
|
134
150
|
registryGetWorkspace(requestParameters: RegistryGetWorkspaceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RegistryWorkspaceView>;
|
|
151
|
+
/**
|
|
152
|
+
* Creates request options for registryListWorkspaceRecommendations without sending the request
|
|
153
|
+
*/
|
|
154
|
+
registryListWorkspaceRecommendationsRequestOpts(requestParameters: RegistryListWorkspaceRecommendationsRequest): Promise<runtime.RequestOpts>;
|
|
155
|
+
/**
|
|
156
|
+
* The workspaces the caller should consider joining, best first. **Suggest-only**: this reads, and joining remains the separate explicit act `PUT /workspaces/{workspace_id}/members/me`. Three signals are fused by reciprocal rank. **`detected_contributor`** — the caller\'s verified address appears in an onboarded repo\'s contributor history there. **`nearby`** — it is the parent, a child, or a sibling of a workspace the caller is already seated in and recently active in. **`text_match`** — with `q`, its `name`, `display_name` or `description` matched, using the same substring grammar as `GET /workspaces?q=`. Only workspaces the caller can **actually join right now** are listed: active, in the account\'s shared tree, not the org root, not already joined, and with every ancestor already joined — so no suggestion answers `409 join X first`. The list is capped and has no window. `page.total` is absent because a fused ranking is not a count, and `limit`/`offset`/`sort`/`filter[…]` are refused rather than ignored. `score` is comparable **within one response and meaningless across two**: it is a sum of reciprocal ranks over this request\'s candidate set, never a probability or a similarity.
|
|
157
|
+
* Recommend workspaces to join
|
|
158
|
+
*/
|
|
159
|
+
registryListWorkspaceRecommendationsRaw(requestParameters: RegistryListWorkspaceRecommendationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkspaceRecommendationsPage>>;
|
|
160
|
+
/**
|
|
161
|
+
* The workspaces the caller should consider joining, best first. **Suggest-only**: this reads, and joining remains the separate explicit act `PUT /workspaces/{workspace_id}/members/me`. Three signals are fused by reciprocal rank. **`detected_contributor`** — the caller\'s verified address appears in an onboarded repo\'s contributor history there. **`nearby`** — it is the parent, a child, or a sibling of a workspace the caller is already seated in and recently active in. **`text_match`** — with `q`, its `name`, `display_name` or `description` matched, using the same substring grammar as `GET /workspaces?q=`. Only workspaces the caller can **actually join right now** are listed: active, in the account\'s shared tree, not the org root, not already joined, and with every ancestor already joined — so no suggestion answers `409 join X first`. The list is capped and has no window. `page.total` is absent because a fused ranking is not a count, and `limit`/`offset`/`sort`/`filter[…]` are refused rather than ignored. `score` is comparable **within one response and meaningless across two**: it is a sum of reciprocal ranks over this request\'s candidate set, never a probability or a similarity.
|
|
162
|
+
* Recommend workspaces to join
|
|
163
|
+
*/
|
|
164
|
+
registryListWorkspaceRecommendations(requestParameters?: RegistryListWorkspaceRecommendationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkspaceRecommendationsPage>;
|
|
135
165
|
/**
|
|
136
166
|
* Creates request options for registryListWorkspaces without sending the request
|
|
137
167
|
*/
|
|
138
168
|
registryListWorkspacesRequestOpts(requestParameters: RegistryListWorkspacesRequest): Promise<runtime.RequestOpts>;
|
|
139
169
|
/**
|
|
140
|
-
* A page of the non-deleted workspaces the caller can discover. Supports the shared grammar: `filter[field][op]=`, `sort=`, `q=`, `limit`/`offset`, `count=false`. Fields: `name`, `display_name`, `description`, `kind`, `workspace_status`, `parent_id`, `created_at`, `updated_at`. `include=member_count` attaches each row\'s roster size from one grouped read. It is **absent rather than zero** on a workspace the caller can discover but not read into: this list runs under `discover`, which reaches through `discoverable_by`, while the count is taken under `read` on the membership rows — so a headcount is not something discovery alone reveals. `include=permissions` attaches each row\'s advisory `can_*` capability matrix. Advisory only — a UI gates controls on it; it never authorizes a request.
|
|
170
|
+
* A page of the non-deleted workspaces the caller can discover. Supports the shared grammar: `filter[field][op]=`, `sort=`, `q=`, `limit`/`offset`, `count=false`. Fields: `name`, `display_name`, `description`, `kind`, `workspace_status`, `parent_id`, `created_at`, `updated_at`. `include=member_count` attaches each row\'s roster size from one grouped read. It is **absent rather than zero** on a workspace the caller can discover but not read into: this list runs under `discover`, which reaches through `discoverable_by`, while the count is taken under `read` on the membership rows — so a headcount is not something discovery alone reveals. `include=artifact_counts` attaches each row\'s `artifact_count` and its per-kind `artifact_count_by_kind` breakdown, from one grouped read — the pair the pre-Postgres stack served here and the cutover dropped. Unlike `member_count` it is present on **every** row of the page, including a workspace the caller can discover but has not joined, and a `0` therefore means zero: it is taken under the page\'s own `discover` receipt, because a count of artifacts identifies nobody. It counts what `POST /aggregate` counts — live heads, no system artifacts, no archived ones, discoverable kinds only — so the number does not change when the caller joins. `include=permissions` attaches each row\'s advisory `can_*` capability matrix. Advisory only — a UI gates controls on it; it never authorizes a request. `include=plugin` attaches each row\'s marketplace plugin — its catalogue name, plugin name, rendered `<name>@<marketplace>` install handle, and content `version` — so a client holding an installed plugin can tell whether it is current. It is **absent** rather than defaulted where the answer is not knowable: a workspace the caller can discover but not read is not packaged at all, a handle that slugs to nothing gets no plugin, and an assembly that degraded would yield a version no clone will serve. The embed re-runs the marketplace\'s own per-container assembly, so it costs materially more than the other two; ask for it on the interval a client checks for updates, not on every page.
|
|
141
171
|
* List workspaces
|
|
142
172
|
*/
|
|
143
173
|
registryListWorkspacesRaw(requestParameters: RegistryListWorkspacesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkspacesPage>>;
|
|
144
174
|
/**
|
|
145
|
-
* A page of the non-deleted workspaces the caller can discover. Supports the shared grammar: `filter[field][op]=`, `sort=`, `q=`, `limit`/`offset`, `count=false`. Fields: `name`, `display_name`, `description`, `kind`, `workspace_status`, `parent_id`, `created_at`, `updated_at`. `include=member_count` attaches each row\'s roster size from one grouped read. It is **absent rather than zero** on a workspace the caller can discover but not read into: this list runs under `discover`, which reaches through `discoverable_by`, while the count is taken under `read` on the membership rows — so a headcount is not something discovery alone reveals. `include=permissions` attaches each row\'s advisory `can_*` capability matrix. Advisory only — a UI gates controls on it; it never authorizes a request.
|
|
175
|
+
* A page of the non-deleted workspaces the caller can discover. Supports the shared grammar: `filter[field][op]=`, `sort=`, `q=`, `limit`/`offset`, `count=false`. Fields: `name`, `display_name`, `description`, `kind`, `workspace_status`, `parent_id`, `created_at`, `updated_at`. `include=member_count` attaches each row\'s roster size from one grouped read. It is **absent rather than zero** on a workspace the caller can discover but not read into: this list runs under `discover`, which reaches through `discoverable_by`, while the count is taken under `read` on the membership rows — so a headcount is not something discovery alone reveals. `include=artifact_counts` attaches each row\'s `artifact_count` and its per-kind `artifact_count_by_kind` breakdown, from one grouped read — the pair the pre-Postgres stack served here and the cutover dropped. Unlike `member_count` it is present on **every** row of the page, including a workspace the caller can discover but has not joined, and a `0` therefore means zero: it is taken under the page\'s own `discover` receipt, because a count of artifacts identifies nobody. It counts what `POST /aggregate` counts — live heads, no system artifacts, no archived ones, discoverable kinds only — so the number does not change when the caller joins. `include=permissions` attaches each row\'s advisory `can_*` capability matrix. Advisory only — a UI gates controls on it; it never authorizes a request. `include=plugin` attaches each row\'s marketplace plugin — its catalogue name, plugin name, rendered `<name>@<marketplace>` install handle, and content `version` — so a client holding an installed plugin can tell whether it is current. It is **absent** rather than defaulted where the answer is not knowable: a workspace the caller can discover but not read is not packaged at all, a handle that slugs to nothing gets no plugin, and an assembly that degraded would yield a version no clone will serve. The embed re-runs the marketplace\'s own per-container assembly, so it costs materially more than the other two; ask for it on the interval a client checks for updates, not on every page.
|
|
146
176
|
* List workspaces
|
|
147
177
|
*/
|
|
148
178
|
registryListWorkspaces(requestParameters?: RegistryListWorkspacesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkspacesPage>;
|
|
179
|
+
/**
|
|
180
|
+
* Creates request options for registrySetWorkspaceVisibility without sending the request
|
|
181
|
+
*/
|
|
182
|
+
registrySetWorkspaceVisibilityRequestOpts(requestParameters: RegistrySetWorkspaceVisibilityRequest): Promise<runtime.RequestOpts>;
|
|
183
|
+
/**
|
|
184
|
+
* Set a shared-tree workspace to `public` (the account can list and self-join it) or `private` (invisible to non-members, invite-only). The receipt is `manage` — an admin\'s — because visibility is a property of the workspace, like its roster, not of the content in it. **The funnel holds both ways.** Widening to `public` is refused if the parent is less open (a `422`): a child is never more open than its parent. Restricting to `private` is refused while any immediate child is still `public` (a `422` naming the child); make the children private first, bottom-up. Refused for a singleton (`org_default` is always public, `user_default` always private) and for a personal-tree workspace, which is private by tree and has no shared-tree visibility to set — both a `409`. Setting the visibility a workspace already has is a no-op `200`.
|
|
185
|
+
* Change a workspace\'s visibility
|
|
186
|
+
*/
|
|
187
|
+
registrySetWorkspaceVisibilityRaw(requestParameters: RegistrySetWorkspaceVisibilityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RegistryWorkspaceView>>;
|
|
188
|
+
/**
|
|
189
|
+
* Set a shared-tree workspace to `public` (the account can list and self-join it) or `private` (invisible to non-members, invite-only). The receipt is `manage` — an admin\'s — because visibility is a property of the workspace, like its roster, not of the content in it. **The funnel holds both ways.** Widening to `public` is refused if the parent is less open (a `422`): a child is never more open than its parent. Restricting to `private` is refused while any immediate child is still `public` (a `422` naming the child); make the children private first, bottom-up. Refused for a singleton (`org_default` is always public, `user_default` always private) and for a personal-tree workspace, which is private by tree and has no shared-tree visibility to set — both a `409`. Setting the visibility a workspace already has is a no-op `200`.
|
|
190
|
+
* Change a workspace\'s visibility
|
|
191
|
+
*/
|
|
192
|
+
registrySetWorkspaceVisibility(requestParameters: RegistrySetWorkspaceVisibilityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RegistryWorkspaceView>;
|
|
149
193
|
/**
|
|
150
194
|
* Creates request options for registryUpdateWorkspace without sending the request
|
|
151
195
|
*/
|
|
@@ -161,3 +205,35 @@ export declare class WorkspacesApi extends runtime.BaseAPI {
|
|
|
161
205
|
*/
|
|
162
206
|
registryUpdateWorkspace(requestParameters: RegistryUpdateWorkspaceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RegistryWorkspaceView>;
|
|
163
207
|
}
|
|
208
|
+
/**
|
|
209
|
+
* @export
|
|
210
|
+
* @enum {string}
|
|
211
|
+
*/
|
|
212
|
+
export declare enum RegistryBulkCreateWorkspacesContentEncodingEnum {
|
|
213
|
+
Base64 = "base64",
|
|
214
|
+
GzipBase64 = "gzip, base64"
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* @export
|
|
218
|
+
* @enum {string}
|
|
219
|
+
*/
|
|
220
|
+
export declare enum RegistryCreateWorkspaceContentEncodingEnum {
|
|
221
|
+
Base64 = "base64",
|
|
222
|
+
GzipBase64 = "gzip, base64"
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* @export
|
|
226
|
+
* @enum {string}
|
|
227
|
+
*/
|
|
228
|
+
export declare enum RegistrySetWorkspaceVisibilityContentEncodingEnum {
|
|
229
|
+
Base64 = "base64",
|
|
230
|
+
GzipBase64 = "gzip, base64"
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* @export
|
|
234
|
+
* @enum {string}
|
|
235
|
+
*/
|
|
236
|
+
export declare enum RegistryUpdateWorkspaceContentEncodingEnum {
|
|
237
|
+
Base64 = "base64",
|
|
238
|
+
GzipBase64 = "gzip, base64"
|
|
239
|
+
}
|
|
@@ -46,14 +46,16 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
46
46
|
};
|
|
47
47
|
})();
|
|
48
48
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
49
|
-
exports.WorkspacesApi = void 0;
|
|
49
|
+
exports.RegistryUpdateWorkspaceContentEncodingEnum = exports.RegistrySetWorkspaceVisibilityContentEncodingEnum = exports.RegistryCreateWorkspaceContentEncodingEnum = exports.RegistryBulkCreateWorkspacesContentEncodingEnum = exports.WorkspacesApi = void 0;
|
|
50
50
|
const runtime = __importStar(require("../runtime"));
|
|
51
51
|
const CreateWorkspaceBody_1 = require("../models/CreateWorkspaceBody");
|
|
52
52
|
const PatchWorkspaceBody_1 = require("../models/PatchWorkspaceBody");
|
|
53
53
|
const RegistryWorkspaceView_1 = require("../models/RegistryWorkspaceView");
|
|
54
|
+
const SetVisibilityBody_1 = require("../models/SetVisibilityBody");
|
|
54
55
|
const WorkspaceArchiveAck_1 = require("../models/WorkspaceArchiveAck");
|
|
55
56
|
const WorkspaceBulkCreateRequest_1 = require("../models/WorkspaceBulkCreateRequest");
|
|
56
57
|
const WorkspaceExport_1 = require("../models/WorkspaceExport");
|
|
58
|
+
const WorkspaceRecommendationsPage_1 = require("../models/WorkspaceRecommendationsPage");
|
|
57
59
|
const WorkspacesBulkResponse_1 = require("../models/WorkspacesBulkResponse");
|
|
58
60
|
const WorkspacesPage_1 = require("../models/WorkspacesPage");
|
|
59
61
|
/**
|
|
@@ -112,6 +114,9 @@ class WorkspacesApi extends runtime.BaseAPI {
|
|
|
112
114
|
const queryParameters = {};
|
|
113
115
|
const headerParameters = {};
|
|
114
116
|
headerParameters['Content-Type'] = 'application/json';
|
|
117
|
+
if (requestParameters['contentEncoding'] != null) {
|
|
118
|
+
headerParameters['Content-Encoding'] = String(requestParameters['contentEncoding']);
|
|
119
|
+
}
|
|
115
120
|
if (this.configuration && this.configuration.accessToken) {
|
|
116
121
|
const token = this.configuration.accessToken;
|
|
117
122
|
const tokenString = await token("bearer", []);
|
|
@@ -155,6 +160,9 @@ class WorkspacesApi extends runtime.BaseAPI {
|
|
|
155
160
|
const queryParameters = {};
|
|
156
161
|
const headerParameters = {};
|
|
157
162
|
headerParameters['Content-Type'] = 'application/json';
|
|
163
|
+
if (requestParameters['contentEncoding'] != null) {
|
|
164
|
+
headerParameters['Content-Encoding'] = String(requestParameters['contentEncoding']);
|
|
165
|
+
}
|
|
158
166
|
if (this.configuration && this.configuration.accessToken) {
|
|
159
167
|
const token = this.configuration.accessToken;
|
|
160
168
|
const tokenString = await token("bearer", []);
|
|
@@ -283,6 +291,9 @@ class WorkspacesApi extends runtime.BaseAPI {
|
|
|
283
291
|
queryParameters['include'] = requestParameters['include'];
|
|
284
292
|
}
|
|
285
293
|
const headerParameters = {};
|
|
294
|
+
if (requestParameters['xAtlanConsistencyToken'] != null) {
|
|
295
|
+
headerParameters['X-Atlan-Consistency-Token'] = String(requestParameters['xAtlanConsistencyToken']);
|
|
296
|
+
}
|
|
286
297
|
if (this.configuration && this.configuration.accessToken) {
|
|
287
298
|
const token = this.configuration.accessToken;
|
|
288
299
|
const tokenString = await token("bearer", []);
|
|
@@ -300,7 +311,7 @@ class WorkspacesApi extends runtime.BaseAPI {
|
|
|
300
311
|
};
|
|
301
312
|
}
|
|
302
313
|
/**
|
|
303
|
-
* One workspace by handle. Workspace metadata uses `discover`, the same permission as the list. Reading artifacts, exports, or roster identities inside the workspace still requires `read`. **404 and 403 are distinguishable here**: an absent or deleted workspace is 404, while an existing but undiscoverable workspace is 403. `include=permissions` attaches the caller\'s advisory `can_*` capability matrix. Advisory only — a UI gates controls on it; it never authorizes a request.
|
|
314
|
+
* One workspace by handle. Workspace metadata uses `discover`, the same permission as the list. Reading artifacts, exports, or roster identities inside the workspace still requires `read`. **404 and 403 are distinguishable here**: an absent or deleted workspace is 404, while an existing but undiscoverable workspace is 403. `include=artifact_counts` attaches this workspace\'s `artifact_count` and its per-kind `artifact_count_by_kind` breakdown, taken under the same `discover` the row itself was read at, so it is served even to a caller who has not joined. It counts what `POST /aggregate` counts, so the number does not change on joining. `include=permissions` attaches the caller\'s advisory `can_*` capability matrix. Advisory only — a UI gates controls on it; it never authorizes a request. `include=plugin` attaches this workspace\'s marketplace plugin — catalogue name, plugin name, rendered `<name>@<marketplace>` install handle, and content `version` — so a client holding an installed plugin can tell whether it is current. Absent rather than defaulted when the caller can discover but not read the workspace, when its handle slugs to nothing, or when the assembly behind it degraded.
|
|
304
315
|
* Get a workspace
|
|
305
316
|
*/
|
|
306
317
|
async registryGetWorkspaceRaw(requestParameters, initOverrides) {
|
|
@@ -309,13 +320,57 @@ class WorkspacesApi extends runtime.BaseAPI {
|
|
|
309
320
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, RegistryWorkspaceView_1.RegistryWorkspaceViewFromJSON)(jsonValue));
|
|
310
321
|
}
|
|
311
322
|
/**
|
|
312
|
-
* One workspace by handle. Workspace metadata uses `discover`, the same permission as the list. Reading artifacts, exports, or roster identities inside the workspace still requires `read`. **404 and 403 are distinguishable here**: an absent or deleted workspace is 404, while an existing but undiscoverable workspace is 403. `include=permissions` attaches the caller\'s advisory `can_*` capability matrix. Advisory only — a UI gates controls on it; it never authorizes a request.
|
|
323
|
+
* One workspace by handle. Workspace metadata uses `discover`, the same permission as the list. Reading artifacts, exports, or roster identities inside the workspace still requires `read`. **404 and 403 are distinguishable here**: an absent or deleted workspace is 404, while an existing but undiscoverable workspace is 403. `include=artifact_counts` attaches this workspace\'s `artifact_count` and its per-kind `artifact_count_by_kind` breakdown, taken under the same `discover` the row itself was read at, so it is served even to a caller who has not joined. It counts what `POST /aggregate` counts, so the number does not change on joining. `include=permissions` attaches the caller\'s advisory `can_*` capability matrix. Advisory only — a UI gates controls on it; it never authorizes a request. `include=plugin` attaches this workspace\'s marketplace plugin — catalogue name, plugin name, rendered `<name>@<marketplace>` install handle, and content `version` — so a client holding an installed plugin can tell whether it is current. Absent rather than defaulted when the caller can discover but not read the workspace, when its handle slugs to nothing, or when the assembly behind it degraded.
|
|
313
324
|
* Get a workspace
|
|
314
325
|
*/
|
|
315
326
|
async registryGetWorkspace(requestParameters, initOverrides) {
|
|
316
327
|
const response = await this.registryGetWorkspaceRaw(requestParameters, initOverrides);
|
|
317
328
|
return await response.value();
|
|
318
329
|
}
|
|
330
|
+
/**
|
|
331
|
+
* Creates request options for registryListWorkspaceRecommendations without sending the request
|
|
332
|
+
*/
|
|
333
|
+
async registryListWorkspaceRecommendationsRequestOpts(requestParameters) {
|
|
334
|
+
const queryParameters = {};
|
|
335
|
+
if (requestParameters['q'] != null) {
|
|
336
|
+
queryParameters['q'] = requestParameters['q'];
|
|
337
|
+
}
|
|
338
|
+
const headerParameters = {};
|
|
339
|
+
if (requestParameters['xAtlanConsistencyToken'] != null) {
|
|
340
|
+
headerParameters['X-Atlan-Consistency-Token'] = String(requestParameters['xAtlanConsistencyToken']);
|
|
341
|
+
}
|
|
342
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
343
|
+
const token = this.configuration.accessToken;
|
|
344
|
+
const tokenString = await token("bearer", []);
|
|
345
|
+
if (tokenString) {
|
|
346
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
let urlPath = `/workspaces/recommendations`;
|
|
350
|
+
return {
|
|
351
|
+
path: urlPath,
|
|
352
|
+
method: 'GET',
|
|
353
|
+
headers: headerParameters,
|
|
354
|
+
query: queryParameters,
|
|
355
|
+
};
|
|
356
|
+
}
|
|
357
|
+
/**
|
|
358
|
+
* The workspaces the caller should consider joining, best first. **Suggest-only**: this reads, and joining remains the separate explicit act `PUT /workspaces/{workspace_id}/members/me`. Three signals are fused by reciprocal rank. **`detected_contributor`** — the caller\'s verified address appears in an onboarded repo\'s contributor history there. **`nearby`** — it is the parent, a child, or a sibling of a workspace the caller is already seated in and recently active in. **`text_match`** — with `q`, its `name`, `display_name` or `description` matched, using the same substring grammar as `GET /workspaces?q=`. Only workspaces the caller can **actually join right now** are listed: active, in the account\'s shared tree, not the org root, not already joined, and with every ancestor already joined — so no suggestion answers `409 join X first`. The list is capped and has no window. `page.total` is absent because a fused ranking is not a count, and `limit`/`offset`/`sort`/`filter[…]` are refused rather than ignored. `score` is comparable **within one response and meaningless across two**: it is a sum of reciprocal ranks over this request\'s candidate set, never a probability or a similarity.
|
|
359
|
+
* Recommend workspaces to join
|
|
360
|
+
*/
|
|
361
|
+
async registryListWorkspaceRecommendationsRaw(requestParameters, initOverrides) {
|
|
362
|
+
const requestOptions = await this.registryListWorkspaceRecommendationsRequestOpts(requestParameters);
|
|
363
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
364
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, WorkspaceRecommendationsPage_1.WorkspaceRecommendationsPageFromJSON)(jsonValue));
|
|
365
|
+
}
|
|
366
|
+
/**
|
|
367
|
+
* The workspaces the caller should consider joining, best first. **Suggest-only**: this reads, and joining remains the separate explicit act `PUT /workspaces/{workspace_id}/members/me`. Three signals are fused by reciprocal rank. **`detected_contributor`** — the caller\'s verified address appears in an onboarded repo\'s contributor history there. **`nearby`** — it is the parent, a child, or a sibling of a workspace the caller is already seated in and recently active in. **`text_match`** — with `q`, its `name`, `display_name` or `description` matched, using the same substring grammar as `GET /workspaces?q=`. Only workspaces the caller can **actually join right now** are listed: active, in the account\'s shared tree, not the org root, not already joined, and with every ancestor already joined — so no suggestion answers `409 join X first`. The list is capped and has no window. `page.total` is absent because a fused ranking is not a count, and `limit`/`offset`/`sort`/`filter[…]` are refused rather than ignored. `score` is comparable **within one response and meaningless across two**: it is a sum of reciprocal ranks over this request\'s candidate set, never a probability or a similarity.
|
|
368
|
+
* Recommend workspaces to join
|
|
369
|
+
*/
|
|
370
|
+
async registryListWorkspaceRecommendations(requestParameters = {}, initOverrides) {
|
|
371
|
+
const response = await this.registryListWorkspaceRecommendationsRaw(requestParameters, initOverrides);
|
|
372
|
+
return await response.value();
|
|
373
|
+
}
|
|
319
374
|
/**
|
|
320
375
|
* Creates request options for registryListWorkspaces without sending the request
|
|
321
376
|
*/
|
|
@@ -325,6 +380,9 @@ class WorkspacesApi extends runtime.BaseAPI {
|
|
|
325
380
|
queryParameters['include'] = requestParameters['include'];
|
|
326
381
|
}
|
|
327
382
|
const headerParameters = {};
|
|
383
|
+
if (requestParameters['xAtlanConsistencyToken'] != null) {
|
|
384
|
+
headerParameters['X-Atlan-Consistency-Token'] = String(requestParameters['xAtlanConsistencyToken']);
|
|
385
|
+
}
|
|
328
386
|
if (this.configuration && this.configuration.accessToken) {
|
|
329
387
|
const token = this.configuration.accessToken;
|
|
330
388
|
const tokenString = await token("bearer", []);
|
|
@@ -341,7 +399,7 @@ class WorkspacesApi extends runtime.BaseAPI {
|
|
|
341
399
|
};
|
|
342
400
|
}
|
|
343
401
|
/**
|
|
344
|
-
* A page of the non-deleted workspaces the caller can discover. Supports the shared grammar: `filter[field][op]=`, `sort=`, `q=`, `limit`/`offset`, `count=false`. Fields: `name`, `display_name`, `description`, `kind`, `workspace_status`, `parent_id`, `created_at`, `updated_at`. `include=member_count` attaches each row\'s roster size from one grouped read. It is **absent rather than zero** on a workspace the caller can discover but not read into: this list runs under `discover`, which reaches through `discoverable_by`, while the count is taken under `read` on the membership rows — so a headcount is not something discovery alone reveals. `include=permissions` attaches each row\'s advisory `can_*` capability matrix. Advisory only — a UI gates controls on it; it never authorizes a request.
|
|
402
|
+
* A page of the non-deleted workspaces the caller can discover. Supports the shared grammar: `filter[field][op]=`, `sort=`, `q=`, `limit`/`offset`, `count=false`. Fields: `name`, `display_name`, `description`, `kind`, `workspace_status`, `parent_id`, `created_at`, `updated_at`. `include=member_count` attaches each row\'s roster size from one grouped read. It is **absent rather than zero** on a workspace the caller can discover but not read into: this list runs under `discover`, which reaches through `discoverable_by`, while the count is taken under `read` on the membership rows — so a headcount is not something discovery alone reveals. `include=artifact_counts` attaches each row\'s `artifact_count` and its per-kind `artifact_count_by_kind` breakdown, from one grouped read — the pair the pre-Postgres stack served here and the cutover dropped. Unlike `member_count` it is present on **every** row of the page, including a workspace the caller can discover but has not joined, and a `0` therefore means zero: it is taken under the page\'s own `discover` receipt, because a count of artifacts identifies nobody. It counts what `POST /aggregate` counts — live heads, no system artifacts, no archived ones, discoverable kinds only — so the number does not change when the caller joins. `include=permissions` attaches each row\'s advisory `can_*` capability matrix. Advisory only — a UI gates controls on it; it never authorizes a request. `include=plugin` attaches each row\'s marketplace plugin — its catalogue name, plugin name, rendered `<name>@<marketplace>` install handle, and content `version` — so a client holding an installed plugin can tell whether it is current. It is **absent** rather than defaulted where the answer is not knowable: a workspace the caller can discover but not read is not packaged at all, a handle that slugs to nothing gets no plugin, and an assembly that degraded would yield a version no clone will serve. The embed re-runs the marketplace\'s own per-container assembly, so it costs materially more than the other two; ask for it on the interval a client checks for updates, not on every page.
|
|
345
403
|
* List workspaces
|
|
346
404
|
*/
|
|
347
405
|
async registryListWorkspacesRaw(requestParameters, initOverrides) {
|
|
@@ -350,13 +408,63 @@ class WorkspacesApi extends runtime.BaseAPI {
|
|
|
350
408
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, WorkspacesPage_1.WorkspacesPageFromJSON)(jsonValue));
|
|
351
409
|
}
|
|
352
410
|
/**
|
|
353
|
-
* A page of the non-deleted workspaces the caller can discover. Supports the shared grammar: `filter[field][op]=`, `sort=`, `q=`, `limit`/`offset`, `count=false`. Fields: `name`, `display_name`, `description`, `kind`, `workspace_status`, `parent_id`, `created_at`, `updated_at`. `include=member_count` attaches each row\'s roster size from one grouped read. It is **absent rather than zero** on a workspace the caller can discover but not read into: this list runs under `discover`, which reaches through `discoverable_by`, while the count is taken under `read` on the membership rows — so a headcount is not something discovery alone reveals. `include=permissions` attaches each row\'s advisory `can_*` capability matrix. Advisory only — a UI gates controls on it; it never authorizes a request.
|
|
411
|
+
* A page of the non-deleted workspaces the caller can discover. Supports the shared grammar: `filter[field][op]=`, `sort=`, `q=`, `limit`/`offset`, `count=false`. Fields: `name`, `display_name`, `description`, `kind`, `workspace_status`, `parent_id`, `created_at`, `updated_at`. `include=member_count` attaches each row\'s roster size from one grouped read. It is **absent rather than zero** on a workspace the caller can discover but not read into: this list runs under `discover`, which reaches through `discoverable_by`, while the count is taken under `read` on the membership rows — so a headcount is not something discovery alone reveals. `include=artifact_counts` attaches each row\'s `artifact_count` and its per-kind `artifact_count_by_kind` breakdown, from one grouped read — the pair the pre-Postgres stack served here and the cutover dropped. Unlike `member_count` it is present on **every** row of the page, including a workspace the caller can discover but has not joined, and a `0` therefore means zero: it is taken under the page\'s own `discover` receipt, because a count of artifacts identifies nobody. It counts what `POST /aggregate` counts — live heads, no system artifacts, no archived ones, discoverable kinds only — so the number does not change when the caller joins. `include=permissions` attaches each row\'s advisory `can_*` capability matrix. Advisory only — a UI gates controls on it; it never authorizes a request. `include=plugin` attaches each row\'s marketplace plugin — its catalogue name, plugin name, rendered `<name>@<marketplace>` install handle, and content `version` — so a client holding an installed plugin can tell whether it is current. It is **absent** rather than defaulted where the answer is not knowable: a workspace the caller can discover but not read is not packaged at all, a handle that slugs to nothing gets no plugin, and an assembly that degraded would yield a version no clone will serve. The embed re-runs the marketplace\'s own per-container assembly, so it costs materially more than the other two; ask for it on the interval a client checks for updates, not on every page.
|
|
354
412
|
* List workspaces
|
|
355
413
|
*/
|
|
356
414
|
async registryListWorkspaces(requestParameters = {}, initOverrides) {
|
|
357
415
|
const response = await this.registryListWorkspacesRaw(requestParameters, initOverrides);
|
|
358
416
|
return await response.value();
|
|
359
417
|
}
|
|
418
|
+
/**
|
|
419
|
+
* Creates request options for registrySetWorkspaceVisibility without sending the request
|
|
420
|
+
*/
|
|
421
|
+
async registrySetWorkspaceVisibilityRequestOpts(requestParameters) {
|
|
422
|
+
if (requestParameters['workspaceId'] == null) {
|
|
423
|
+
throw new runtime.RequiredError('workspaceId', 'Required parameter "workspaceId" was null or undefined when calling registrySetWorkspaceVisibility().');
|
|
424
|
+
}
|
|
425
|
+
if (requestParameters['setVisibilityBody'] == null) {
|
|
426
|
+
throw new runtime.RequiredError('setVisibilityBody', 'Required parameter "setVisibilityBody" was null or undefined when calling registrySetWorkspaceVisibility().');
|
|
427
|
+
}
|
|
428
|
+
const queryParameters = {};
|
|
429
|
+
const headerParameters = {};
|
|
430
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
431
|
+
if (requestParameters['contentEncoding'] != null) {
|
|
432
|
+
headerParameters['Content-Encoding'] = String(requestParameters['contentEncoding']);
|
|
433
|
+
}
|
|
434
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
435
|
+
const token = this.configuration.accessToken;
|
|
436
|
+
const tokenString = await token("bearer", []);
|
|
437
|
+
if (tokenString) {
|
|
438
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
let urlPath = `/workspaces/{workspace_id}/visibility`;
|
|
442
|
+
urlPath = urlPath.replace('{workspace_id}', encodeURIComponent(String(requestParameters['workspaceId'])));
|
|
443
|
+
return {
|
|
444
|
+
path: urlPath,
|
|
445
|
+
method: 'PATCH',
|
|
446
|
+
headers: headerParameters,
|
|
447
|
+
query: queryParameters,
|
|
448
|
+
body: (0, SetVisibilityBody_1.SetVisibilityBodyToJSON)(requestParameters['setVisibilityBody']),
|
|
449
|
+
};
|
|
450
|
+
}
|
|
451
|
+
/**
|
|
452
|
+
* Set a shared-tree workspace to `public` (the account can list and self-join it) or `private` (invisible to non-members, invite-only). The receipt is `manage` — an admin\'s — because visibility is a property of the workspace, like its roster, not of the content in it. **The funnel holds both ways.** Widening to `public` is refused if the parent is less open (a `422`): a child is never more open than its parent. Restricting to `private` is refused while any immediate child is still `public` (a `422` naming the child); make the children private first, bottom-up. Refused for a singleton (`org_default` is always public, `user_default` always private) and for a personal-tree workspace, which is private by tree and has no shared-tree visibility to set — both a `409`. Setting the visibility a workspace already has is a no-op `200`.
|
|
453
|
+
* Change a workspace\'s visibility
|
|
454
|
+
*/
|
|
455
|
+
async registrySetWorkspaceVisibilityRaw(requestParameters, initOverrides) {
|
|
456
|
+
const requestOptions = await this.registrySetWorkspaceVisibilityRequestOpts(requestParameters);
|
|
457
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
458
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, RegistryWorkspaceView_1.RegistryWorkspaceViewFromJSON)(jsonValue));
|
|
459
|
+
}
|
|
460
|
+
/**
|
|
461
|
+
* Set a shared-tree workspace to `public` (the account can list and self-join it) or `private` (invisible to non-members, invite-only). The receipt is `manage` — an admin\'s — because visibility is a property of the workspace, like its roster, not of the content in it. **The funnel holds both ways.** Widening to `public` is refused if the parent is less open (a `422`): a child is never more open than its parent. Restricting to `private` is refused while any immediate child is still `public` (a `422` naming the child); make the children private first, bottom-up. Refused for a singleton (`org_default` is always public, `user_default` always private) and for a personal-tree workspace, which is private by tree and has no shared-tree visibility to set — both a `409`. Setting the visibility a workspace already has is a no-op `200`.
|
|
462
|
+
* Change a workspace\'s visibility
|
|
463
|
+
*/
|
|
464
|
+
async registrySetWorkspaceVisibility(requestParameters, initOverrides) {
|
|
465
|
+
const response = await this.registrySetWorkspaceVisibilityRaw(requestParameters, initOverrides);
|
|
466
|
+
return await response.value();
|
|
467
|
+
}
|
|
360
468
|
/**
|
|
361
469
|
* Creates request options for registryUpdateWorkspace without sending the request
|
|
362
470
|
*/
|
|
@@ -370,6 +478,9 @@ class WorkspacesApi extends runtime.BaseAPI {
|
|
|
370
478
|
const queryParameters = {};
|
|
371
479
|
const headerParameters = {};
|
|
372
480
|
headerParameters['Content-Type'] = 'application/json';
|
|
481
|
+
if (requestParameters['contentEncoding'] != null) {
|
|
482
|
+
headerParameters['Content-Encoding'] = String(requestParameters['contentEncoding']);
|
|
483
|
+
}
|
|
373
484
|
if (this.configuration && this.configuration.accessToken) {
|
|
374
485
|
const token = this.configuration.accessToken;
|
|
375
486
|
const tokenString = await token("bearer", []);
|
|
@@ -406,3 +517,39 @@ class WorkspacesApi extends runtime.BaseAPI {
|
|
|
406
517
|
}
|
|
407
518
|
}
|
|
408
519
|
exports.WorkspacesApi = WorkspacesApi;
|
|
520
|
+
/**
|
|
521
|
+
* @export
|
|
522
|
+
* @enum {string}
|
|
523
|
+
*/
|
|
524
|
+
var RegistryBulkCreateWorkspacesContentEncodingEnum;
|
|
525
|
+
(function (RegistryBulkCreateWorkspacesContentEncodingEnum) {
|
|
526
|
+
RegistryBulkCreateWorkspacesContentEncodingEnum["Base64"] = "base64";
|
|
527
|
+
RegistryBulkCreateWorkspacesContentEncodingEnum["GzipBase64"] = "gzip, base64";
|
|
528
|
+
})(RegistryBulkCreateWorkspacesContentEncodingEnum || (exports.RegistryBulkCreateWorkspacesContentEncodingEnum = RegistryBulkCreateWorkspacesContentEncodingEnum = {}));
|
|
529
|
+
/**
|
|
530
|
+
* @export
|
|
531
|
+
* @enum {string}
|
|
532
|
+
*/
|
|
533
|
+
var RegistryCreateWorkspaceContentEncodingEnum;
|
|
534
|
+
(function (RegistryCreateWorkspaceContentEncodingEnum) {
|
|
535
|
+
RegistryCreateWorkspaceContentEncodingEnum["Base64"] = "base64";
|
|
536
|
+
RegistryCreateWorkspaceContentEncodingEnum["GzipBase64"] = "gzip, base64";
|
|
537
|
+
})(RegistryCreateWorkspaceContentEncodingEnum || (exports.RegistryCreateWorkspaceContentEncodingEnum = RegistryCreateWorkspaceContentEncodingEnum = {}));
|
|
538
|
+
/**
|
|
539
|
+
* @export
|
|
540
|
+
* @enum {string}
|
|
541
|
+
*/
|
|
542
|
+
var RegistrySetWorkspaceVisibilityContentEncodingEnum;
|
|
543
|
+
(function (RegistrySetWorkspaceVisibilityContentEncodingEnum) {
|
|
544
|
+
RegistrySetWorkspaceVisibilityContentEncodingEnum["Base64"] = "base64";
|
|
545
|
+
RegistrySetWorkspaceVisibilityContentEncodingEnum["GzipBase64"] = "gzip, base64";
|
|
546
|
+
})(RegistrySetWorkspaceVisibilityContentEncodingEnum || (exports.RegistrySetWorkspaceVisibilityContentEncodingEnum = RegistrySetWorkspaceVisibilityContentEncodingEnum = {}));
|
|
547
|
+
/**
|
|
548
|
+
* @export
|
|
549
|
+
* @enum {string}
|
|
550
|
+
*/
|
|
551
|
+
var RegistryUpdateWorkspaceContentEncodingEnum;
|
|
552
|
+
(function (RegistryUpdateWorkspaceContentEncodingEnum) {
|
|
553
|
+
RegistryUpdateWorkspaceContentEncodingEnum["Base64"] = "base64";
|
|
554
|
+
RegistryUpdateWorkspaceContentEncodingEnum["GzipBase64"] = "gzip, base64";
|
|
555
|
+
})(RegistryUpdateWorkspaceContentEncodingEnum || (exports.RegistryUpdateWorkspaceContentEncodingEnum = RegistryUpdateWorkspaceContentEncodingEnum = {}));
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
export * from './
|
|
1
|
+
export * from './AppsApi';
|
|
2
2
|
export * from './AuthApi';
|
|
3
|
-
export * from './CatalogApi';
|
|
4
|
-
export * from './DetectedUsersApi';
|
|
5
3
|
export * from './DiscoveryApi';
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './GroupsApi';
|
|
4
|
+
export * from './InvitationsApi';
|
|
8
5
|
export * from './OrganisationsApi';
|
|
9
|
-
export * from './
|
|
6
|
+
export * from './ReleasesApi';
|
|
10
7
|
export * from './ReposApi';
|
|
8
|
+
export * from './RolesApi';
|
|
11
9
|
export * from './ServiceAccountsApi';
|
|
12
|
-
export * from './
|
|
10
|
+
export * from './SessionsApi';
|
|
13
11
|
export * from './UsersApi';
|
|
14
12
|
export * from './WorkspacesApi';
|
|
@@ -16,17 +16,15 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
/* tslint:disable */
|
|
18
18
|
/* eslint-disable */
|
|
19
|
-
__exportStar(require("./
|
|
19
|
+
__exportStar(require("./AppsApi"), exports);
|
|
20
20
|
__exportStar(require("./AuthApi"), exports);
|
|
21
|
-
__exportStar(require("./CatalogApi"), exports);
|
|
22
|
-
__exportStar(require("./DetectedUsersApi"), exports);
|
|
23
21
|
__exportStar(require("./DiscoveryApi"), exports);
|
|
24
|
-
__exportStar(require("./
|
|
25
|
-
__exportStar(require("./GroupsApi"), exports);
|
|
22
|
+
__exportStar(require("./InvitationsApi"), exports);
|
|
26
23
|
__exportStar(require("./OrganisationsApi"), exports);
|
|
27
|
-
__exportStar(require("./
|
|
24
|
+
__exportStar(require("./ReleasesApi"), exports);
|
|
28
25
|
__exportStar(require("./ReposApi"), exports);
|
|
26
|
+
__exportStar(require("./RolesApi"), exports);
|
|
29
27
|
__exportStar(require("./ServiceAccountsApi"), exports);
|
|
30
|
-
__exportStar(require("./
|
|
28
|
+
__exportStar(require("./SessionsApi"), exports);
|
|
31
29
|
__exportStar(require("./UsersApi"), exports);
|
|
32
30
|
__exportStar(require("./WorkspacesApi"), exports);
|
|
@@ -10,71 +10,77 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* One job an app declares it can run.
|
|
14
14
|
* @export
|
|
15
|
-
* @interface
|
|
15
|
+
* @interface AppActionDto
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface AppActionDto {
|
|
18
|
+
/**
|
|
19
|
+
* Value of the `app` field.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AppActionDto
|
|
22
|
+
*/
|
|
23
|
+
app: string;
|
|
18
24
|
/**
|
|
19
25
|
* Value of the `config_schema` field.
|
|
20
26
|
* @type {object}
|
|
21
|
-
* @memberof
|
|
27
|
+
* @memberof AppActionDto
|
|
22
28
|
*/
|
|
23
29
|
configSchema?: object | null;
|
|
30
|
+
/**
|
|
31
|
+
* Human-readable description.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AppActionDto
|
|
34
|
+
*/
|
|
35
|
+
description?: string | null;
|
|
24
36
|
/**
|
|
25
37
|
* `activity` | `workflow`.
|
|
26
38
|
* @type {string}
|
|
27
|
-
* @memberof
|
|
39
|
+
* @memberof AppActionDto
|
|
28
40
|
*/
|
|
29
41
|
executionKind: string;
|
|
30
42
|
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {
|
|
33
|
-
* @memberof
|
|
43
|
+
* Whether a user-authored action may name this job.
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof AppActionDto
|
|
34
46
|
*/
|
|
35
|
-
|
|
47
|
+
isUserAuthorable: boolean;
|
|
36
48
|
/**
|
|
37
|
-
*
|
|
49
|
+
* `<app>/<job>` — what an action's DAG node references.
|
|
38
50
|
* @type {string}
|
|
39
|
-
* @memberof
|
|
51
|
+
* @memberof AppActionDto
|
|
40
52
|
*/
|
|
41
53
|
jobId: string;
|
|
42
54
|
/**
|
|
43
55
|
* Stable machine-readable name.
|
|
44
56
|
* @type {string}
|
|
45
|
-
* @memberof
|
|
57
|
+
* @memberof AppActionDto
|
|
46
58
|
*/
|
|
47
59
|
name: string;
|
|
48
60
|
/**
|
|
49
61
|
* Value of the `output_schema` field.
|
|
50
62
|
* @type {object}
|
|
51
|
-
* @memberof
|
|
63
|
+
* @memberof AppActionDto
|
|
52
64
|
*/
|
|
53
65
|
outputSchema?: object | null;
|
|
54
66
|
/**
|
|
55
67
|
* Value of the `release` field.
|
|
56
68
|
* @type {string}
|
|
57
|
-
* @memberof
|
|
69
|
+
* @memberof AppActionDto
|
|
58
70
|
*/
|
|
59
71
|
release?: string | null;
|
|
60
72
|
/**
|
|
61
73
|
* Value of the `updated_at` field.
|
|
62
74
|
* @type {string}
|
|
63
|
-
* @memberof
|
|
75
|
+
* @memberof AppActionDto
|
|
64
76
|
*/
|
|
65
77
|
updatedAt: string;
|
|
66
|
-
/**
|
|
67
|
-
* Whether a user-authored action may name this job.
|
|
68
|
-
* @type {boolean}
|
|
69
|
-
* @memberof ExtensionJobDto
|
|
70
|
-
*/
|
|
71
|
-
userAuthorable: boolean;
|
|
72
78
|
}
|
|
73
79
|
/**
|
|
74
|
-
* Check if a given object implements the
|
|
80
|
+
* Check if a given object implements the AppActionDto interface.
|
|
75
81
|
*/
|
|
76
|
-
export declare function
|
|
77
|
-
export declare function
|
|
78
|
-
export declare function
|
|
79
|
-
export declare function
|
|
80
|
-
export declare function
|
|
82
|
+
export declare function instanceOfAppActionDto(value: object): value is AppActionDto;
|
|
83
|
+
export declare function AppActionDtoFromJSON(json: any): AppActionDto;
|
|
84
|
+
export declare function AppActionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppActionDto;
|
|
85
|
+
export declare function AppActionDtoToJSON(json: any): AppActionDto;
|
|
86
|
+
export declare function AppActionDtoToJSONTyped(value?: AppActionDto | null, ignoreDiscriminator?: boolean): any;
|