@atlanai/sdk 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +59 -12
- package/dist/client.js +1 -1
- package/dist/evals.d.ts +132 -1
- package/dist/evals.js +687 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -1
- package/dist/manifest.json +189 -216
- package/dist/raw/agent/apis/AgentEnvironmentsApi.d.ts +36 -0
- package/dist/raw/agent/apis/AgentEnvironmentsApi.js +49 -1
- package/dist/raw/agent/apis/AgentFrameworksApi.d.ts +36 -0
- package/dist/raw/agent/apis/AgentFrameworksApi.js +49 -1
- package/dist/raw/agent/apis/AgentProvidersApi.d.ts +36 -0
- package/dist/raw/agent/apis/AgentProvidersApi.js +49 -1
- package/dist/raw/agent/apis/AgentsApi.d.ts +49 -4
- package/dist/raw/agent/apis/AgentsApi.js +65 -5
- package/dist/raw/agent/apis/HarnessVendorsApi.d.ts +36 -0
- package/dist/raw/agent/apis/HarnessVendorsApi.js +49 -1
- package/dist/raw/agent/apis/HarnessesApi.d.ts +36 -0
- package/dist/raw/agent/apis/HarnessesApi.js +49 -1
- package/dist/raw/agent/apis/OutputsApi.d.ts +45 -0
- package/dist/raw/agent/apis/OutputsApi.js +61 -1
- package/dist/raw/agent/apis/SessionsApi.d.ts +36 -0
- package/dist/raw/agent/apis/SessionsApi.js +49 -1
- package/dist/raw/agent/apis/TracesApi.d.ts +18 -0
- package/dist/raw/agent/apis/TracesApi.js +25 -1
- package/dist/raw/agent/apis/VisitorsApi.d.ts +9 -0
- package/dist/raw/agent/apis/VisitorsApi.js +13 -1
- package/dist/raw/agent/models/AgentAgentArtifactView.d.ts +27 -15
- package/dist/raw/agent/models/AgentAgentArtifactView.js +2 -2
- package/dist/raw/agent/models/AgentAgentEnvironmentArtifactView.d.ts +27 -15
- package/dist/raw/agent/models/AgentAgentEnvironmentArtifactView.js +2 -2
- package/dist/raw/agent/models/AgentAgentFrameworkArtifactView.d.ts +27 -15
- package/dist/raw/agent/models/AgentAgentFrameworkArtifactView.js +2 -2
- package/dist/raw/agent/models/AgentAgentProviderArtifactView.d.ts +27 -15
- package/dist/raw/agent/models/AgentAgentProviderArtifactView.js +2 -2
- package/dist/raw/agent/models/AgentCreateAgentFramework400Response.d.ts +2 -0
- package/dist/raw/agent/models/AgentCreateAgentFramework400Response.js +2 -2
- package/dist/raw/agent/models/AgentCreateAgentFramework413Response.d.ts +64 -0
- package/dist/raw/agent/models/AgentCreateAgentFramework413Response.js +74 -0
- package/dist/raw/agent/models/AgentCreateAgentFramework415Response.d.ts +1 -0
- package/dist/raw/agent/models/AgentCreateAgentFramework415Response.js +1 -2
- package/dist/raw/agent/models/AgentGetAgentTrace400Response.d.ts +63 -0
- package/dist/raw/agent/models/AgentGetAgentTrace400Response.js +75 -0
- package/dist/raw/agent/models/AgentHarnessArtifactView.d.ts +27 -15
- package/dist/raw/agent/models/AgentHarnessArtifactView.js +2 -2
- package/dist/raw/agent/models/AgentHarnessVendorArtifactView.d.ts +27 -15
- package/dist/raw/agent/models/AgentHarnessVendorArtifactView.js +2 -2
- package/dist/raw/agent/models/AgentOutputArtifactView.d.ts +27 -15
- package/dist/raw/agent/models/AgentOutputArtifactView.js +2 -2
- package/dist/raw/agent/models/AgentQueryAgentTraceStats400Response.d.ts +2 -0
- package/dist/raw/agent/models/AgentQueryAgentTraceStats400Response.js +2 -0
- package/dist/raw/agent/models/AgentSessionArtifactView.d.ts +27 -15
- package/dist/raw/agent/models/AgentSessionArtifactView.js +2 -2
- package/dist/raw/agent/models/AgentSessionMessageArtifactView.d.ts +27 -15
- package/dist/raw/agent/models/AgentSessionMessageArtifactView.js +2 -2
- package/dist/raw/agent/models/AgentUploadAgentProfileImage400Response.d.ts +2 -1
- package/dist/raw/agent/models/AgentUploadAgentProfileImage400Response.js +2 -3
- package/dist/raw/agent/models/AgentUploadAgentProfileImage413Response.d.ts +2 -0
- package/dist/raw/agent/models/AgentUploadAgentProfileImage413Response.js +2 -2
- package/dist/raw/agent/models/AgentVisitorArtifactView.d.ts +27 -15
- package/dist/raw/agent/models/AgentVisitorArtifactView.js +2 -2
- package/dist/raw/agent/models/Box.d.ts +27 -15
- package/dist/raw/agent/models/Box.js +2 -2
- package/dist/raw/agent/models/GatewayArtifactBase.d.ts +27 -15
- package/dist/raw/agent/models/GatewayArtifactBase.js +2 -2
- package/dist/raw/agent/models/GatewayTraceStatsGroupBy.d.ts +5 -1
- package/dist/raw/agent/models/GatewayTraceStatsGroupBy.js +4 -0
- package/dist/raw/agent/models/GatewayTraceStatsMeasure.d.ts +3 -1
- package/dist/raw/agent/models/GatewayTraceStatsMeasure.js +2 -0
- package/dist/raw/agent/models/SpanViewDto.d.ts +25 -0
- package/dist/raw/agent/models/SpanViewDto.js +8 -0
- package/dist/raw/agent/models/TraceDetailView.d.ts +9 -0
- package/dist/raw/agent/models/TraceDetailView.js +2 -0
- package/dist/raw/agent/models/index.d.ts +2 -0
- package/dist/raw/agent/models/index.js +2 -0
- package/dist/raw/eval/apis/DatasetsApi.d.ts +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 +1 -1
- package/dist/raw/eval/models/EvalListDatasets401Response.js +1 -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/GatewayArtifactBase.d.ts +27 -15
- package/dist/raw/file/models/GatewayArtifactBase.js +2 -2
- package/dist/raw/file/models/index.d.ts +1 -0
- package/dist/raw/file/models/index.js +1 -0
- package/dist/raw/mcp/apis/ServersApi.d.ts +18 -0
- package/dist/raw/mcp/apis/ServersApi.js +25 -1
- package/dist/raw/mcp/apis/ToolsApi.d.ts +18 -0
- package/dist/raw/mcp/apis/ToolsApi.js +25 -1
- package/dist/raw/mcp/models/GatewayArtifactBase.d.ts +27 -15
- package/dist/raw/mcp/models/GatewayArtifactBase.js +2 -2
- package/dist/raw/mcp/models/McpAggregateServers400Response.d.ts +2 -0
- package/dist/raw/mcp/models/McpAggregateServers400Response.js +2 -0
- package/dist/raw/mcp/models/McpAggregateServers413Response.d.ts +64 -0
- package/dist/raw/mcp/models/McpAggregateServers413Response.js +74 -0
- package/dist/raw/mcp/models/McpAggregateServers415Response.d.ts +1 -0
- package/dist/raw/mcp/models/McpAggregateServers415Response.js +1 -2
- package/dist/raw/mcp/models/McpMcpServer.d.ts +27 -0
- package/dist/raw/mcp/models/McpMcpServer.js +4 -0
- package/dist/raw/mcp/models/McpMcpServerArtifactView.d.ts +54 -15
- package/dist/raw/mcp/models/McpMcpServerArtifactView.js +6 -2
- package/dist/raw/mcp/models/McpMcpSessionMessage.d.ts +1 -1
- package/dist/raw/mcp/models/McpMcpToolArtifactView.d.ts +27 -15
- package/dist/raw/mcp/models/McpMcpToolArtifactView.js +2 -2
- package/dist/raw/mcp/models/index.d.ts +1 -0
- package/dist/raw/mcp/models/index.js +1 -0
- package/dist/raw/model/apis/OpenaiApi.d.ts +4 -4
- package/dist/raw/model/apis/OpenaiApi.js +4 -4
- package/dist/raw/registry/apis/AppsApi.d.ts +159 -0
- package/dist/raw/registry/apis/AppsApi.js +385 -0
- package/dist/raw/registry/apis/AuthApi.d.ts +2 -2
- package/dist/raw/registry/apis/AuthApi.js +2 -2
- package/dist/raw/registry/apis/DiscoveryApi.d.ts +27 -0
- package/dist/raw/registry/apis/DiscoveryApi.js +37 -1
- package/dist/raw/registry/apis/InvitationsApi.d.ts +159 -0
- package/dist/raw/registry/apis/InvitationsApi.js +383 -0
- package/dist/raw/registry/apis/OrganisationsApi.d.ts +51 -0
- package/dist/raw/registry/apis/OrganisationsApi.js +108 -1
- package/dist/raw/registry/apis/ReleasesApi.d.ts +199 -0
- package/dist/raw/registry/apis/ReleasesApi.js +484 -0
- package/dist/raw/registry/apis/ReposApi.d.ts +27 -0
- package/dist/raw/registry/apis/ReposApi.js +37 -1
- package/dist/raw/registry/apis/RolesApi.d.ts +32 -0
- package/dist/raw/registry/apis/RolesApi.js +95 -0
- package/dist/raw/registry/apis/ServiceAccountsApi.d.ts +13 -4
- package/dist/raw/registry/apis/ServiceAccountsApi.js +17 -5
- package/dist/raw/registry/apis/SessionsApi.d.ts +60 -0
- package/dist/raw/registry/apis/SessionsApi.js +150 -0
- package/dist/raw/registry/apis/UsersApi.d.ts +75 -43
- package/dist/raw/registry/apis/UsersApi.js +139 -74
- package/dist/raw/registry/apis/WorkspacesApi.d.ts +52 -4
- package/dist/raw/registry/apis/WorkspacesApi.js +92 -5
- package/dist/raw/registry/apis/index.d.ts +5 -7
- package/dist/raw/registry/apis/index.js +5 -7
- package/dist/raw/registry/models/{ExtensionJobDto.d.ts → AppActionDto.d.ts} +33 -27
- package/dist/raw/registry/models/{ExtensionJobDto.js → AppActionDto.js} +22 -20
- package/dist/raw/registry/models/AppActionsPage.d.ts +40 -0
- package/dist/raw/registry/models/{PublishersPage.js → AppActionsPage.js} +16 -16
- package/dist/raw/registry/models/AppDto.d.ts +174 -0
- package/dist/raw/registry/models/AppDto.js +116 -0
- package/dist/raw/registry/models/AppsPage.d.ts +40 -0
- package/dist/raw/registry/models/{GroupsPage.js → AppsPage.js} +16 -16
- package/dist/raw/registry/models/ArtifactView.d.ts +76 -15
- package/dist/raw/registry/models/ArtifactView.js +10 -2
- package/dist/raw/registry/models/CreateInvitationsRequest.d.ts +33 -0
- package/dist/raw/registry/models/CreateInvitationsRequest.js +51 -0
- package/dist/raw/registry/models/CutReleaseBody.d.ts +56 -0
- package/dist/raw/registry/models/CutReleaseBody.js +56 -0
- package/dist/raw/registry/models/EdgeTarget.d.ts +4 -0
- package/dist/raw/registry/models/InstallAppBody.d.ts +34 -0
- package/dist/raw/registry/models/InstallAppBody.js +48 -0
- package/dist/raw/registry/models/IntrospectedIdentity.d.ts +12 -3
- package/dist/raw/registry/models/IntrospectedIdentity.js +5 -3
- package/dist/raw/registry/models/InvitationDto.d.ts +98 -0
- package/dist/raw/registry/models/InvitationDto.js +88 -0
- package/dist/raw/registry/models/InvitationSendResult.d.ts +38 -0
- package/dist/raw/registry/models/InvitationSendResult.js +54 -0
- package/dist/raw/registry/models/InvitationSummaryDto.d.ts +86 -0
- package/dist/raw/registry/models/InvitationSummaryDto.js +84 -0
- package/dist/raw/registry/models/InvitationsPage.d.ts +40 -0
- package/dist/raw/registry/models/{MembershipsPage.js → InvitationsPage.js} +16 -16
- package/dist/raw/registry/models/InvitationsResponse.d.ts +33 -0
- package/dist/raw/registry/models/InvitationsResponse.js +51 -0
- package/dist/raw/registry/models/InviteeRequest.d.ts +44 -0
- package/dist/raw/registry/models/InviteeRequest.js +56 -0
- package/dist/raw/registry/models/InviteeResult.d.ts +69 -0
- package/dist/raw/registry/models/InviteeResult.js +66 -0
- package/dist/raw/registry/models/ReconcileAcceptedDto.d.ts +40 -0
- package/dist/raw/registry/models/ReconcileAcceptedDto.js +54 -0
- package/dist/raw/registry/models/RegistryAggregate400Response.d.ts +2 -0
- package/dist/raw/registry/models/RegistryAggregate400Response.js +2 -2
- package/dist/raw/registry/models/{RegistryListActionRuns401Response.d.ts → RegistryAggregate401Response.d.ts} +16 -16
- package/dist/raw/registry/models/RegistryAggregate401Response.js +89 -0
- package/dist/raw/registry/models/RegistryAggregate403Response.d.ts +64 -0
- package/dist/raw/registry/models/RegistryAggregate403Response.js +74 -0
- package/dist/raw/registry/models/RegistryAggregate413Response.d.ts +64 -0
- package/dist/raw/registry/models/RegistryAggregate413Response.js +74 -0
- package/dist/raw/registry/models/RegistryAggregate415Response.d.ts +1 -0
- package/dist/raw/registry/models/RegistryAggregate415Response.js +1 -2
- package/dist/raw/registry/models/RegistryAggregate500Response.d.ts +63 -0
- package/dist/raw/registry/models/RegistryAggregate500Response.js +75 -0
- package/dist/raw/registry/models/RegistryAggregate503Response.d.ts +64 -0
- package/dist/raw/registry/models/RegistryAggregate503Response.js +74 -0
- package/dist/raw/registry/models/RegistryAggregate504Response.d.ts +63 -0
- package/dist/raw/registry/models/RegistryAggregate504Response.js +75 -0
- package/dist/raw/registry/models/RegistryAggregateKind404Response.d.ts +63 -0
- package/dist/raw/registry/models/{RegistryGetActionRun404Response.js → RegistryAggregateKind404Response.js} +18 -18
- package/dist/raw/registry/models/RegistryCreateServiceAccount400Response.d.ts +66 -0
- package/dist/raw/registry/models/RegistryCreateServiceAccount400Response.js +76 -0
- package/dist/raw/registry/models/RegistryInstallApp409Response.d.ts +63 -0
- package/dist/raw/registry/models/RegistryInstallApp409Response.js +75 -0
- package/dist/raw/registry/models/RegistryListApps400Response.d.ts +63 -0
- package/dist/raw/registry/models/RegistryListApps400Response.js +75 -0
- package/dist/raw/registry/models/RegistryListApps503Response.d.ts +65 -0
- package/dist/raw/registry/models/RegistryListApps503Response.js +75 -0
- package/dist/raw/registry/models/RegistryListArtifactReleases400Response.d.ts +63 -0
- package/dist/raw/registry/models/RegistryListArtifactReleases400Response.js +75 -0
- package/dist/raw/registry/models/RegistryListUserTraces503Response.d.ts +66 -0
- package/dist/raw/registry/models/RegistryListUserTraces503Response.js +76 -0
- package/dist/raw/registry/models/RegistryRevokeOwnSessions400Response.d.ts +64 -0
- package/dist/raw/registry/models/RegistryRevokeOwnSessions400Response.js +74 -0
- package/dist/raw/registry/models/RegistryRevokeOwnSessions415Response.d.ts +63 -0
- package/dist/raw/registry/models/RegistryRevokeOwnSessions415Response.js +75 -0
- package/dist/raw/registry/models/RegistryWhoami503Response.d.ts +66 -0
- package/dist/raw/registry/models/RegistryWhoami503Response.js +76 -0
- package/dist/raw/registry/models/RegistryWorkspacePluginRef.d.ts +61 -0
- package/dist/raw/registry/models/RegistryWorkspacePluginRef.js +62 -0
- package/dist/raw/registry/models/RegistryWorkspaceRecommendation.d.ts +66 -0
- package/dist/raw/registry/models/RegistryWorkspaceRecommendation.js +64 -0
- package/dist/raw/registry/models/RegistryWorkspaceRecommendationReason.d.ts +29 -0
- package/dist/raw/registry/models/RegistryWorkspaceRecommendationReason.js +57 -0
- package/dist/raw/registry/models/RegistryWorkspaceView.d.ts +33 -0
- package/dist/raw/registry/models/RegistryWorkspaceView.js +7 -0
- package/dist/raw/registry/models/RelationshipsView.d.ts +5 -1
- package/dist/raw/registry/models/ReleaseDto.d.ts +123 -0
- package/dist/raw/registry/models/ReleaseDto.js +100 -0
- package/dist/raw/registry/models/ReleasePage.d.ts +40 -0
- package/dist/raw/registry/models/{BudgetsPage.js → ReleasePage.js} +16 -16
- package/dist/raw/registry/models/ReleasePolicyDto.d.ts +76 -0
- package/dist/raw/registry/models/ReleasePolicyDto.js +78 -0
- package/dist/raw/registry/models/RoleDto.d.ts +38 -0
- package/dist/raw/registry/models/RoleDto.js +54 -0
- package/dist/raw/registry/models/RoleListDto.d.ts +33 -0
- package/dist/raw/registry/models/RoleListDto.js +51 -0
- package/dist/raw/registry/models/ServiceAccountDto.d.ts +5 -1
- package/dist/raw/registry/models/SetReleasePolicyBody.d.ts +55 -0
- package/dist/raw/registry/models/SetReleasePolicyBody.js +54 -0
- package/dist/raw/registry/models/SetTraceContentPolicyDto.d.ts +34 -0
- package/dist/raw/registry/models/SetTraceContentPolicyDto.js +48 -0
- package/dist/raw/registry/models/SpanViewDto.d.ts +25 -0
- package/dist/raw/registry/models/SpanViewDto.js +8 -0
- package/dist/raw/registry/models/TraceContentDeletionDto.d.ts +32 -0
- package/dist/raw/registry/models/TraceContentDeletionDto.js +50 -0
- package/dist/raw/registry/models/TraceContentPolicyDto.d.ts +48 -0
- package/dist/raw/registry/models/TraceContentPolicyDto.js +52 -0
- package/dist/raw/registry/models/TraceDetailView.d.ts +9 -0
- package/dist/raw/registry/models/TraceDetailView.js +2 -0
- package/dist/raw/registry/models/UpdateInvitationRequest.d.ts +38 -0
- package/dist/raw/registry/models/UpdateInvitationRequest.js +50 -0
- package/dist/raw/registry/models/UpgradeAppBody.d.ts +37 -0
- package/dist/raw/registry/models/UpgradeAppBody.js +48 -0
- package/dist/raw/registry/models/UserDirectoryDto.d.ts +55 -0
- package/dist/raw/registry/models/UserDirectoryDto.js +58 -0
- package/dist/raw/registry/models/UsersPage.d.ts +3 -3
- package/dist/raw/registry/models/UsersPage.js +3 -3
- package/dist/raw/registry/models/WhoamiResponse.d.ts +12 -3
- package/dist/raw/registry/models/WhoamiResponse.js +5 -3
- package/dist/raw/registry/models/WithdrawBody.d.ts +33 -0
- package/dist/raw/registry/models/WithdrawBody.js +48 -0
- package/dist/raw/registry/models/WorkspaceInvitationListDto.d.ts +33 -0
- package/dist/raw/registry/models/WorkspaceInvitationListDto.js +51 -0
- package/dist/raw/registry/models/WorkspaceInvitationRow.d.ts +44 -0
- package/dist/raw/registry/models/WorkspaceInvitationRow.js +58 -0
- package/dist/raw/registry/models/WorkspaceRecommendationsPage.d.ts +40 -0
- package/dist/raw/registry/models/WorkspaceRecommendationsPage.js +56 -0
- package/dist/raw/registry/models/index.d.ts +50 -50
- package/dist/raw/registry/models/index.js +50 -50
- package/dist/raw/skill/apis/SkillApi.d.ts +65 -10
- package/dist/raw/skill/apis/SkillApi.js +86 -11
- package/dist/raw/skill/models/GatewayArtifactBase.d.ts +27 -15
- package/dist/raw/skill/models/GatewayArtifactBase.js +2 -2
- package/dist/raw/skill/models/GatewayTraceStatsGroupBy.d.ts +5 -1
- package/dist/raw/skill/models/GatewayTraceStatsGroupBy.js +4 -0
- package/dist/raw/skill/models/GatewayTraceStatsMeasure.d.ts +3 -1
- package/dist/raw/skill/models/GatewayTraceStatsMeasure.js +2 -0
- package/dist/raw/skill/models/SkillAggregate400Response.d.ts +2 -0
- package/dist/raw/skill/models/SkillAggregate400Response.js +2 -2
- package/dist/raw/skill/models/SkillAggregate415Response.d.ts +1 -0
- package/dist/raw/skill/models/SkillAggregate415Response.js +1 -2
- package/dist/raw/skill/models/SkillCreate400Response.d.ts +2 -1
- package/dist/raw/skill/models/SkillCreate400Response.js +2 -3
- package/dist/raw/skill/models/SkillCreate413Response.d.ts +64 -0
- package/dist/raw/skill/models/SkillCreate413Response.js +74 -0
- package/dist/raw/skill/models/SkillCreate415Response.d.ts +63 -0
- package/dist/raw/skill/models/SkillCreate415Response.js +75 -0
- package/dist/raw/skill/models/SkillQuerySkillTraceStats400Response.d.ts +2 -0
- package/dist/raw/skill/models/SkillQuerySkillTraceStats400Response.js +2 -0
- package/dist/raw/skill/models/SkillSkill.d.ts +6 -7
- package/dist/raw/skill/models/SkillSkillArtifactView.d.ts +33 -22
- package/dist/raw/skill/models/SkillSkillArtifactView.js +2 -2
- package/dist/raw/skill/models/SpanViewDto.d.ts +25 -0
- package/dist/raw/skill/models/SpanViewDto.js +8 -0
- package/dist/raw/skill/models/TraceDetailView.d.ts +9 -0
- package/dist/raw/skill/models/TraceDetailView.js +2 -0
- package/dist/raw/skill/models/index.d.ts +2 -0
- package/dist/raw/skill/models/index.js +2 -0
- package/dist/resources.d.ts +6 -1
- package/dist/resources.js +9 -6
- package/dist/resources.json +316 -333
- package/dist/tracing/client.d.ts +2 -0
- package/dist/tracing/client.js +7 -0
- package/dist/tracing/compat.d.ts +82 -0
- package/dist/tracing/compat.js +128 -0
- package/dist/tracing/index.d.ts +2 -0
- package/dist/tracing/index.js +13 -1
- package/dist/tracing/integrations.d.ts +35 -0
- package/dist/tracing/integrations.js +95 -0
- package/dist/tracing/spans.d.ts +4 -0
- package/dist/tracing/spans.js +8 -0
- package/dist/tracing/version.d.ts +1 -1
- package/dist/tracing/version.js +1 -1
- package/package.json +1 -1
- package/dist/raw/registry/apis/ActionsApi.d.ts +0 -68
- package/dist/raw/registry/apis/ActionsApi.js +0 -181
- package/dist/raw/registry/apis/CatalogApi.d.ts +0 -98
- package/dist/raw/registry/apis/CatalogApi.js +0 -259
- package/dist/raw/registry/apis/DetectedUsersApi.d.ts +0 -89
- package/dist/raw/registry/apis/DetectedUsersApi.js +0 -239
- package/dist/raw/registry/apis/ExtensionsApi.d.ts +0 -68
- package/dist/raw/registry/apis/ExtensionsApi.js +0 -181
- package/dist/raw/registry/apis/GroupsApi.d.ts +0 -68
- package/dist/raw/registry/apis/GroupsApi.js +0 -181
- package/dist/raw/registry/apis/ProjectsApi.d.ts +0 -159
- package/dist/raw/registry/apis/ProjectsApi.js +0 -402
- package/dist/raw/registry/apis/UsageApi.d.ts +0 -134
- package/dist/raw/registry/apis/UsageApi.js +0 -349
- package/dist/raw/registry/models/ActionRunDto.d.ts +0 -99
- package/dist/raw/registry/models/ActionRunDto.js +0 -86
- package/dist/raw/registry/models/ActionRunJobDto.d.ts +0 -92
- package/dist/raw/registry/models/ActionRunJobDto.js +0 -78
- package/dist/raw/registry/models/ActionRunJobsPage.d.ts +0 -40
- package/dist/raw/registry/models/ActionRunJobsPage.js +0 -56
- package/dist/raw/registry/models/ActionRunsPage.d.ts +0 -40
- package/dist/raw/registry/models/ActionRunsPage.js +0 -56
- package/dist/raw/registry/models/AvailableExtensionDto.d.ts +0 -123
- package/dist/raw/registry/models/AvailableExtensionDto.js +0 -96
- package/dist/raw/registry/models/AvailableExtensionsPage.d.ts +0 -40
- package/dist/raw/registry/models/AvailableExtensionsPage.js +0 -56
- package/dist/raw/registry/models/BudgetDto.d.ts +0 -111
- package/dist/raw/registry/models/BudgetDto.js +0 -96
- package/dist/raw/registry/models/BudgetsPage.d.ts +0 -40
- package/dist/raw/registry/models/CreateBudgetBody.d.ts +0 -86
- package/dist/raw/registry/models/CreateBudgetBody.js +0 -78
- package/dist/raw/registry/models/CreateProjectBody.d.ts +0 -56
- package/dist/raw/registry/models/CreateProjectBody.js +0 -60
- package/dist/raw/registry/models/DetectedUserDto.d.ts +0 -84
- package/dist/raw/registry/models/DetectedUserDto.js +0 -74
- package/dist/raw/registry/models/DetectedUsersPage.d.ts +0 -40
- package/dist/raw/registry/models/DetectedUsersPage.js +0 -56
- package/dist/raw/registry/models/ExtensionJobsPage.d.ts +0 -40
- package/dist/raw/registry/models/ExtensionJobsPage.js +0 -56
- package/dist/raw/registry/models/ExtensionVersionDto.d.ts +0 -50
- package/dist/raw/registry/models/ExtensionVersionDto.js +0 -58
- package/dist/raw/registry/models/ExtensionVersionsPage.d.ts +0 -40
- package/dist/raw/registry/models/ExtensionVersionsPage.js +0 -56
- package/dist/raw/registry/models/GroupMemberDto.d.ts +0 -44
- package/dist/raw/registry/models/GroupMemberDto.js +0 -58
- package/dist/raw/registry/models/GroupMembersPage.d.ts +0 -40
- package/dist/raw/registry/models/GroupMembersPage.js +0 -56
- package/dist/raw/registry/models/GroupsPage.d.ts +0 -40
- package/dist/raw/registry/models/InstalledExtensionDto.d.ts +0 -80
- package/dist/raw/registry/models/InstalledExtensionDto.js +0 -82
- package/dist/raw/registry/models/InstalledExtensionsPage.d.ts +0 -40
- package/dist/raw/registry/models/InstalledExtensionsPage.js +0 -56
- package/dist/raw/registry/models/MembershipDto.d.ts +0 -60
- package/dist/raw/registry/models/MembershipDto.js +0 -66
- package/dist/raw/registry/models/MembershipsPage.d.ts +0 -40
- package/dist/raw/registry/models/PatchBudgetBody.d.ts +0 -62
- package/dist/raw/registry/models/PatchBudgetBody.js +0 -58
- package/dist/raw/registry/models/PatchProjectBody.d.ts +0 -50
- package/dist/raw/registry/models/PatchProjectBody.js +0 -54
- package/dist/raw/registry/models/PatchUserBody.d.ts +0 -35
- package/dist/raw/registry/models/PatchUserBody.js +0 -48
- package/dist/raw/registry/models/ProjectBulkCreateRequest.d.ts +0 -33
- package/dist/raw/registry/models/ProjectBulkCreateRequest.js +0 -51
- package/dist/raw/registry/models/ProjectDto.d.ts +0 -102
- package/dist/raw/registry/models/ProjectDto.js +0 -92
- package/dist/raw/registry/models/ProjectExport.d.ts +0 -49
- package/dist/raw/registry/models/ProjectExport.js +0 -59
- package/dist/raw/registry/models/ProjectSlot.d.ts +0 -54
- package/dist/raw/registry/models/ProjectSlot.js +0 -60
- package/dist/raw/registry/models/ProjectsBulkResponse.d.ts +0 -40
- package/dist/raw/registry/models/ProjectsBulkResponse.js +0 -51
- package/dist/raw/registry/models/ProjectsPage.d.ts +0 -40
- package/dist/raw/registry/models/ProjectsPage.js +0 -56
- package/dist/raw/registry/models/PublisherDto.d.ts +0 -80
- package/dist/raw/registry/models/PublisherDto.js +0 -76
- package/dist/raw/registry/models/PublishersPage.d.ts +0 -40
- package/dist/raw/registry/models/RegistryCreateServiceAccount409Response.d.ts +0 -63
- package/dist/raw/registry/models/RegistryCreateServiceAccount409Response.js +0 -75
- package/dist/raw/registry/models/RegistryGetActionRun404Response.d.ts +0 -63
- package/dist/raw/registry/models/RegistryListActionRuns400Response.d.ts +0 -63
- package/dist/raw/registry/models/RegistryListActionRuns400Response.js +0 -75
- package/dist/raw/registry/models/RegistryListActionRuns401Response.js +0 -89
- package/dist/raw/registry/models/RegistryListActionRuns403Response.d.ts +0 -64
- package/dist/raw/registry/models/RegistryListActionRuns403Response.js +0 -74
- package/dist/raw/registry/models/RegistryListActionRuns500Response.d.ts +0 -63
- package/dist/raw/registry/models/RegistryListActionRuns500Response.js +0 -75
- package/dist/raw/registry/models/RegistryListActionRuns503Response.d.ts +0 -64
- package/dist/raw/registry/models/RegistryListActionRuns503Response.js +0 -74
- package/dist/raw/registry/models/RegistryListActionRuns504Response.d.ts +0 -63
- package/dist/raw/registry/models/RegistryListActionRuns504Response.js +0 -75
- package/dist/raw/registry/models/RegistryListUserTraces400Response.d.ts +0 -63
- package/dist/raw/registry/models/RegistryListUserTraces400Response.js +0 -75
- package/dist/raw/registry/models/RegistryListWorkspaces503Response.d.ts +0 -65
- package/dist/raw/registry/models/RegistryListWorkspaces503Response.js +0 -75
- package/dist/raw/registry/models/UpdateDetectedUserRequest.d.ts +0 -48
- package/dist/raw/registry/models/UpdateDetectedUserRequest.js +0 -52
- package/dist/raw/registry/models/UsageCounters.d.ts +0 -78
- package/dist/raw/registry/models/UsageCounters.js +0 -78
- package/dist/raw/registry/models/UsageDayDto.d.ts +0 -129
- package/dist/raw/registry/models/UsageDayDto.js +0 -114
- package/dist/raw/registry/models/UsageDaysPage.d.ts +0 -40
- package/dist/raw/registry/models/UsageDaysPage.js +0 -56
- package/dist/raw/registry/models/UsageMinuteDto.d.ts +0 -136
- package/dist/raw/registry/models/UsageMinuteDto.js +0 -118
- package/dist/raw/registry/models/UsageMinutesPage.d.ts +0 -40
- package/dist/raw/registry/models/UsageMinutesPage.js +0 -56
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Atlan Agent Gateway — registry
|
|
3
|
+
* The platform core: identity, tenancy, the artifact plane, discovery and the policy plane.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import { type CreateInvitationsRequest } from '../models/CreateInvitationsRequest';
|
|
14
|
+
import { type InvitationDto } from '../models/InvitationDto';
|
|
15
|
+
import { type InvitationSendResult } from '../models/InvitationSendResult';
|
|
16
|
+
import { type InvitationsPage } from '../models/InvitationsPage';
|
|
17
|
+
import { type InvitationsResponse } from '../models/InvitationsResponse';
|
|
18
|
+
import { type UpdateInvitationRequest } from '../models/UpdateInvitationRequest';
|
|
19
|
+
import { type WorkspaceInvitationListDto } from '../models/WorkspaceInvitationListDto';
|
|
20
|
+
export interface RegistryCreateInvitationsRequest {
|
|
21
|
+
createInvitationsRequest: CreateInvitationsRequest;
|
|
22
|
+
contentEncoding?: RegistryCreateInvitationsContentEncodingEnum;
|
|
23
|
+
}
|
|
24
|
+
export interface RegistryGetInvitationRequest {
|
|
25
|
+
invitationId: string;
|
|
26
|
+
}
|
|
27
|
+
export interface RegistryListWorkspaceInvitationsRequest {
|
|
28
|
+
workspaceId: string;
|
|
29
|
+
}
|
|
30
|
+
export interface RegistryResendInvitationRequest {
|
|
31
|
+
invitationId: string;
|
|
32
|
+
}
|
|
33
|
+
export interface RegistryRevokeInvitationRequest {
|
|
34
|
+
invitationId: string;
|
|
35
|
+
}
|
|
36
|
+
export interface RegistryUpdateInvitationRequest {
|
|
37
|
+
invitationId: string;
|
|
38
|
+
updateInvitationRequest: UpdateInvitationRequest;
|
|
39
|
+
contentEncoding?: RegistryUpdateInvitationContentEncodingEnum;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
*/
|
|
44
|
+
export declare class InvitationsApi extends runtime.BaseAPI {
|
|
45
|
+
/**
|
|
46
|
+
* Creates request options for registryCreateInvitations without sending the request
|
|
47
|
+
*/
|
|
48
|
+
registryCreateInvitationsRequestOpts(requestParameters: RegistryCreateInvitationsRequest): Promise<runtime.RequestOpts>;
|
|
49
|
+
/**
|
|
50
|
+
* Create or merge up to 50 invitations in one call. Each invitee targets one workspace (defaulting to the account\'s org_default) at one role. Structural violations — a personal-workspace target, or `viewer` into org_default — are a `422`; a rank over-reach or an email-policy failure is per-email `results[].outcome` data, never an HTTP error. `members_invite`.
|
|
51
|
+
* Invite people by email
|
|
52
|
+
*/
|
|
53
|
+
registryCreateInvitationsRaw(requestParameters: RegistryCreateInvitationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<InvitationsResponse>>;
|
|
54
|
+
/**
|
|
55
|
+
* Create or merge up to 50 invitations in one call. Each invitee targets one workspace (defaulting to the account\'s org_default) at one role. Structural violations — a personal-workspace target, or `viewer` into org_default — are a `422`; a rank over-reach or an email-policy failure is per-email `results[].outcome` data, never an HTTP error. `members_invite`.
|
|
56
|
+
* Invite people by email
|
|
57
|
+
*/
|
|
58
|
+
registryCreateInvitations(requestParameters: RegistryCreateInvitationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<InvitationsResponse>;
|
|
59
|
+
/**
|
|
60
|
+
* Creates request options for registryGetInvitation without sending the request
|
|
61
|
+
*/
|
|
62
|
+
registryGetInvitationRequestOpts(requestParameters: RegistryGetInvitationRequest): Promise<runtime.RequestOpts>;
|
|
63
|
+
/**
|
|
64
|
+
* One invitation: its target workspace, role, and lifecycle. A still-pending invitation past its TTL reports `status: expired`, derived. `members_view`.
|
|
65
|
+
* Get an invitation
|
|
66
|
+
*/
|
|
67
|
+
registryGetInvitationRaw(requestParameters: RegistryGetInvitationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<InvitationDto>>;
|
|
68
|
+
/**
|
|
69
|
+
* One invitation: its target workspace, role, and lifecycle. A still-pending invitation past its TTL reports `status: expired`, derived. `members_view`.
|
|
70
|
+
* Get an invitation
|
|
71
|
+
*/
|
|
72
|
+
registryGetInvitation(requestParameters: RegistryGetInvitationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<InvitationDto>;
|
|
73
|
+
/**
|
|
74
|
+
* Creates request options for registryListInvitations without sending the request
|
|
75
|
+
*/
|
|
76
|
+
registryListInvitationsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
77
|
+
/**
|
|
78
|
+
* A page of the account\'s invitations, newest first. Supports the shared query grammar over `email`, `role`, `workspace_id`, `status`, `invited_by`, `created_at`, `sent_at` and `expires_at`, plus `q=` over the address. A still-pending invitation past its TTL reports `status: expired`, derived. `members_view`.
|
|
79
|
+
* List invitations
|
|
80
|
+
*/
|
|
81
|
+
registryListInvitationsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<InvitationsPage>>;
|
|
82
|
+
/**
|
|
83
|
+
* A page of the account\'s invitations, newest first. Supports the shared query grammar over `email`, `role`, `workspace_id`, `status`, `invited_by`, `created_at`, `sent_at` and `expires_at`, plus `q=` over the address. A still-pending invitation past its TTL reports `status: expired`, derived. `members_view`.
|
|
84
|
+
* List invitations
|
|
85
|
+
*/
|
|
86
|
+
registryListInvitations(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<InvitationsPage>;
|
|
87
|
+
/**
|
|
88
|
+
* Creates request options for registryListWorkspaceInvitations without sending the request
|
|
89
|
+
*/
|
|
90
|
+
registryListWorkspaceInvitationsRequestOpts(requestParameters: RegistryListWorkspaceInvitationsRequest): Promise<runtime.RequestOpts>;
|
|
91
|
+
/**
|
|
92
|
+
* Pending invitations targeting one workspace, so a workspace admin without org-admin can see who is on the way in. Gated on workspace `read`.
|
|
93
|
+
* List pending invites into a workspace
|
|
94
|
+
*/
|
|
95
|
+
registryListWorkspaceInvitationsRaw(requestParameters: RegistryListWorkspaceInvitationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkspaceInvitationListDto>>;
|
|
96
|
+
/**
|
|
97
|
+
* Pending invitations targeting one workspace, so a workspace admin without org-admin can see who is on the way in. Gated on workspace `read`.
|
|
98
|
+
* List pending invites into a workspace
|
|
99
|
+
*/
|
|
100
|
+
registryListWorkspaceInvitations(requestParameters: RegistryListWorkspaceInvitationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkspaceInvitationListDto>;
|
|
101
|
+
/**
|
|
102
|
+
* Creates request options for registryResendInvitation without sending the request
|
|
103
|
+
*/
|
|
104
|
+
registryResendInvitationRequestOpts(requestParameters: RegistryResendInvitationRequest): Promise<runtime.RequestOpts>;
|
|
105
|
+
/**
|
|
106
|
+
* Re-run the control-plane send (up to three attempts) for a pending invitation. The only path to re-email an invite. `members_invite`.
|
|
107
|
+
* Re-email a pending invite
|
|
108
|
+
*/
|
|
109
|
+
registryResendInvitationRaw(requestParameters: RegistryResendInvitationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<InvitationSendResult>>;
|
|
110
|
+
/**
|
|
111
|
+
* Re-run the control-plane send (up to three attempts) for a pending invitation. The only path to re-email an invite. `members_invite`.
|
|
112
|
+
* Re-email a pending invite
|
|
113
|
+
*/
|
|
114
|
+
registryResendInvitation(requestParameters: RegistryResendInvitationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<InvitationSendResult>;
|
|
115
|
+
/**
|
|
116
|
+
* Creates request options for registryRevokeInvitation without sending the request
|
|
117
|
+
*/
|
|
118
|
+
registryRevokeInvitationRequestOpts(requestParameters: RegistryRevokeInvitationRequest): Promise<runtime.RequestOpts>;
|
|
119
|
+
/**
|
|
120
|
+
* Cancel a pending invitation and free its email for a fresh invite. No rank check — revoke is always de-escalation. `members_invite`.
|
|
121
|
+
* Revoke a pending invite
|
|
122
|
+
*/
|
|
123
|
+
registryRevokeInvitationRaw(requestParameters: RegistryRevokeInvitationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<InvitationDto>>;
|
|
124
|
+
/**
|
|
125
|
+
* Cancel a pending invitation and free its email for a fresh invite. No rank check — revoke is always de-escalation. `members_invite`.
|
|
126
|
+
* Revoke a pending invite
|
|
127
|
+
*/
|
|
128
|
+
registryRevokeInvitation(requestParameters: RegistryRevokeInvitationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<InvitationDto>;
|
|
129
|
+
/**
|
|
130
|
+
* Creates request options for registryUpdateInvitation without sending the request
|
|
131
|
+
*/
|
|
132
|
+
registryUpdateInvitationRequestOpts(requestParameters: RegistryUpdateInvitationRequest): Promise<runtime.RequestOpts>;
|
|
133
|
+
/**
|
|
134
|
+
* Rewrite a pending invitation\'s role and/or target workspace in place. The body is `{ role?, workspace_id? }` with at least one present; the email is never editable. The change re-runs all three gates against the (possibly new) target and respects the one-live-invite-per-(workspace, email) uniqueness. `members_invite`.
|
|
135
|
+
* Edit a pending invite\'s role or target
|
|
136
|
+
*/
|
|
137
|
+
registryUpdateInvitationRaw(requestParameters: RegistryUpdateInvitationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<InvitationDto>>;
|
|
138
|
+
/**
|
|
139
|
+
* Rewrite a pending invitation\'s role and/or target workspace in place. The body is `{ role?, workspace_id? }` with at least one present; the email is never editable. The change re-runs all three gates against the (possibly new) target and respects the one-live-invite-per-(workspace, email) uniqueness. `members_invite`.
|
|
140
|
+
* Edit a pending invite\'s role or target
|
|
141
|
+
*/
|
|
142
|
+
registryUpdateInvitation(requestParameters: RegistryUpdateInvitationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<InvitationDto>;
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* @export
|
|
146
|
+
* @enum {string}
|
|
147
|
+
*/
|
|
148
|
+
export declare enum RegistryCreateInvitationsContentEncodingEnum {
|
|
149
|
+
Base64 = "base64",
|
|
150
|
+
GzipBase64 = "gzip, base64"
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* @export
|
|
154
|
+
* @enum {string}
|
|
155
|
+
*/
|
|
156
|
+
export declare enum RegistryUpdateInvitationContentEncodingEnum {
|
|
157
|
+
Base64 = "base64",
|
|
158
|
+
GzipBase64 = "gzip, base64"
|
|
159
|
+
}
|
|
@@ -0,0 +1,383 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Atlan Agent Gateway — registry
|
|
6
|
+
* The platform core: identity, tenancy, the artifact plane, discovery and the policy plane.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
19
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
20
|
+
}
|
|
21
|
+
Object.defineProperty(o, k2, desc);
|
|
22
|
+
}) : (function(o, m, k, k2) {
|
|
23
|
+
if (k2 === undefined) k2 = k;
|
|
24
|
+
o[k2] = m[k];
|
|
25
|
+
}));
|
|
26
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
27
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
28
|
+
}) : function(o, v) {
|
|
29
|
+
o["default"] = v;
|
|
30
|
+
});
|
|
31
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
32
|
+
var ownKeys = function(o) {
|
|
33
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
34
|
+
var ar = [];
|
|
35
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
36
|
+
return ar;
|
|
37
|
+
};
|
|
38
|
+
return ownKeys(o);
|
|
39
|
+
};
|
|
40
|
+
return function (mod) {
|
|
41
|
+
if (mod && mod.__esModule) return mod;
|
|
42
|
+
var result = {};
|
|
43
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
44
|
+
__setModuleDefault(result, mod);
|
|
45
|
+
return result;
|
|
46
|
+
};
|
|
47
|
+
})();
|
|
48
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
49
|
+
exports.RegistryUpdateInvitationContentEncodingEnum = exports.RegistryCreateInvitationsContentEncodingEnum = exports.InvitationsApi = void 0;
|
|
50
|
+
const runtime = __importStar(require("../runtime"));
|
|
51
|
+
const CreateInvitationsRequest_1 = require("../models/CreateInvitationsRequest");
|
|
52
|
+
const InvitationDto_1 = require("../models/InvitationDto");
|
|
53
|
+
const InvitationSendResult_1 = require("../models/InvitationSendResult");
|
|
54
|
+
const InvitationsPage_1 = require("../models/InvitationsPage");
|
|
55
|
+
const InvitationsResponse_1 = require("../models/InvitationsResponse");
|
|
56
|
+
const UpdateInvitationRequest_1 = require("../models/UpdateInvitationRequest");
|
|
57
|
+
const WorkspaceInvitationListDto_1 = require("../models/WorkspaceInvitationListDto");
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
class InvitationsApi extends runtime.BaseAPI {
|
|
62
|
+
/**
|
|
63
|
+
* Creates request options for registryCreateInvitations without sending the request
|
|
64
|
+
*/
|
|
65
|
+
async registryCreateInvitationsRequestOpts(requestParameters) {
|
|
66
|
+
if (requestParameters['createInvitationsRequest'] == null) {
|
|
67
|
+
throw new runtime.RequiredError('createInvitationsRequest', 'Required parameter "createInvitationsRequest" was null or undefined when calling registryCreateInvitations().');
|
|
68
|
+
}
|
|
69
|
+
const queryParameters = {};
|
|
70
|
+
const headerParameters = {};
|
|
71
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
72
|
+
if (requestParameters['contentEncoding'] != null) {
|
|
73
|
+
headerParameters['Content-Encoding'] = String(requestParameters['contentEncoding']);
|
|
74
|
+
}
|
|
75
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
76
|
+
const token = this.configuration.accessToken;
|
|
77
|
+
const tokenString = await token("bearer", []);
|
|
78
|
+
if (tokenString) {
|
|
79
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
let urlPath = `/invitations`;
|
|
83
|
+
return {
|
|
84
|
+
path: urlPath,
|
|
85
|
+
method: 'POST',
|
|
86
|
+
headers: headerParameters,
|
|
87
|
+
query: queryParameters,
|
|
88
|
+
body: (0, CreateInvitationsRequest_1.CreateInvitationsRequestToJSON)(requestParameters['createInvitationsRequest']),
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Create or merge up to 50 invitations in one call. Each invitee targets one workspace (defaulting to the account\'s org_default) at one role. Structural violations — a personal-workspace target, or `viewer` into org_default — are a `422`; a rank over-reach or an email-policy failure is per-email `results[].outcome` data, never an HTTP error. `members_invite`.
|
|
93
|
+
* Invite people by email
|
|
94
|
+
*/
|
|
95
|
+
async registryCreateInvitationsRaw(requestParameters, initOverrides) {
|
|
96
|
+
const requestOptions = await this.registryCreateInvitationsRequestOpts(requestParameters);
|
|
97
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
98
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, InvitationsResponse_1.InvitationsResponseFromJSON)(jsonValue));
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Create or merge up to 50 invitations in one call. Each invitee targets one workspace (defaulting to the account\'s org_default) at one role. Structural violations — a personal-workspace target, or `viewer` into org_default — are a `422`; a rank over-reach or an email-policy failure is per-email `results[].outcome` data, never an HTTP error. `members_invite`.
|
|
102
|
+
* Invite people by email
|
|
103
|
+
*/
|
|
104
|
+
async registryCreateInvitations(requestParameters, initOverrides) {
|
|
105
|
+
const response = await this.registryCreateInvitationsRaw(requestParameters, initOverrides);
|
|
106
|
+
return await response.value();
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Creates request options for registryGetInvitation without sending the request
|
|
110
|
+
*/
|
|
111
|
+
async registryGetInvitationRequestOpts(requestParameters) {
|
|
112
|
+
if (requestParameters['invitationId'] == null) {
|
|
113
|
+
throw new runtime.RequiredError('invitationId', 'Required parameter "invitationId" was null or undefined when calling registryGetInvitation().');
|
|
114
|
+
}
|
|
115
|
+
const queryParameters = {};
|
|
116
|
+
const headerParameters = {};
|
|
117
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
118
|
+
const token = this.configuration.accessToken;
|
|
119
|
+
const tokenString = await token("bearer", []);
|
|
120
|
+
if (tokenString) {
|
|
121
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
let urlPath = `/invitations/{invitation_id}`;
|
|
125
|
+
urlPath = urlPath.replace('{invitation_id}', encodeURIComponent(String(requestParameters['invitationId'])));
|
|
126
|
+
return {
|
|
127
|
+
path: urlPath,
|
|
128
|
+
method: 'GET',
|
|
129
|
+
headers: headerParameters,
|
|
130
|
+
query: queryParameters,
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* One invitation: its target workspace, role, and lifecycle. A still-pending invitation past its TTL reports `status: expired`, derived. `members_view`.
|
|
135
|
+
* Get an invitation
|
|
136
|
+
*/
|
|
137
|
+
async registryGetInvitationRaw(requestParameters, initOverrides) {
|
|
138
|
+
const requestOptions = await this.registryGetInvitationRequestOpts(requestParameters);
|
|
139
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
140
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, InvitationDto_1.InvitationDtoFromJSON)(jsonValue));
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* One invitation: its target workspace, role, and lifecycle. A still-pending invitation past its TTL reports `status: expired`, derived. `members_view`.
|
|
144
|
+
* Get an invitation
|
|
145
|
+
*/
|
|
146
|
+
async registryGetInvitation(requestParameters, initOverrides) {
|
|
147
|
+
const response = await this.registryGetInvitationRaw(requestParameters, initOverrides);
|
|
148
|
+
return await response.value();
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Creates request options for registryListInvitations without sending the request
|
|
152
|
+
*/
|
|
153
|
+
async registryListInvitationsRequestOpts() {
|
|
154
|
+
const queryParameters = {};
|
|
155
|
+
const headerParameters = {};
|
|
156
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
157
|
+
const token = this.configuration.accessToken;
|
|
158
|
+
const tokenString = await token("bearer", []);
|
|
159
|
+
if (tokenString) {
|
|
160
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
let urlPath = `/invitations`;
|
|
164
|
+
return {
|
|
165
|
+
path: urlPath,
|
|
166
|
+
method: 'GET',
|
|
167
|
+
headers: headerParameters,
|
|
168
|
+
query: queryParameters,
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* A page of the account\'s invitations, newest first. Supports the shared query grammar over `email`, `role`, `workspace_id`, `status`, `invited_by`, `created_at`, `sent_at` and `expires_at`, plus `q=` over the address. A still-pending invitation past its TTL reports `status: expired`, derived. `members_view`.
|
|
173
|
+
* List invitations
|
|
174
|
+
*/
|
|
175
|
+
async registryListInvitationsRaw(initOverrides) {
|
|
176
|
+
const requestOptions = await this.registryListInvitationsRequestOpts();
|
|
177
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
178
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, InvitationsPage_1.InvitationsPageFromJSON)(jsonValue));
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* A page of the account\'s invitations, newest first. Supports the shared query grammar over `email`, `role`, `workspace_id`, `status`, `invited_by`, `created_at`, `sent_at` and `expires_at`, plus `q=` over the address. A still-pending invitation past its TTL reports `status: expired`, derived. `members_view`.
|
|
182
|
+
* List invitations
|
|
183
|
+
*/
|
|
184
|
+
async registryListInvitations(initOverrides) {
|
|
185
|
+
const response = await this.registryListInvitationsRaw(initOverrides);
|
|
186
|
+
return await response.value();
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* Creates request options for registryListWorkspaceInvitations without sending the request
|
|
190
|
+
*/
|
|
191
|
+
async registryListWorkspaceInvitationsRequestOpts(requestParameters) {
|
|
192
|
+
if (requestParameters['workspaceId'] == null) {
|
|
193
|
+
throw new runtime.RequiredError('workspaceId', 'Required parameter "workspaceId" was null or undefined when calling registryListWorkspaceInvitations().');
|
|
194
|
+
}
|
|
195
|
+
const queryParameters = {};
|
|
196
|
+
const headerParameters = {};
|
|
197
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
198
|
+
const token = this.configuration.accessToken;
|
|
199
|
+
const tokenString = await token("bearer", []);
|
|
200
|
+
if (tokenString) {
|
|
201
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
let urlPath = `/workspaces/{workspace_id}/invitations`;
|
|
205
|
+
urlPath = urlPath.replace('{workspace_id}', encodeURIComponent(String(requestParameters['workspaceId'])));
|
|
206
|
+
return {
|
|
207
|
+
path: urlPath,
|
|
208
|
+
method: 'GET',
|
|
209
|
+
headers: headerParameters,
|
|
210
|
+
query: queryParameters,
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* Pending invitations targeting one workspace, so a workspace admin without org-admin can see who is on the way in. Gated on workspace `read`.
|
|
215
|
+
* List pending invites into a workspace
|
|
216
|
+
*/
|
|
217
|
+
async registryListWorkspaceInvitationsRaw(requestParameters, initOverrides) {
|
|
218
|
+
const requestOptions = await this.registryListWorkspaceInvitationsRequestOpts(requestParameters);
|
|
219
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
220
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, WorkspaceInvitationListDto_1.WorkspaceInvitationListDtoFromJSON)(jsonValue));
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* Pending invitations targeting one workspace, so a workspace admin without org-admin can see who is on the way in. Gated on workspace `read`.
|
|
224
|
+
* List pending invites into a workspace
|
|
225
|
+
*/
|
|
226
|
+
async registryListWorkspaceInvitations(requestParameters, initOverrides) {
|
|
227
|
+
const response = await this.registryListWorkspaceInvitationsRaw(requestParameters, initOverrides);
|
|
228
|
+
return await response.value();
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* Creates request options for registryResendInvitation without sending the request
|
|
232
|
+
*/
|
|
233
|
+
async registryResendInvitationRequestOpts(requestParameters) {
|
|
234
|
+
if (requestParameters['invitationId'] == null) {
|
|
235
|
+
throw new runtime.RequiredError('invitationId', 'Required parameter "invitationId" was null or undefined when calling registryResendInvitation().');
|
|
236
|
+
}
|
|
237
|
+
const queryParameters = {};
|
|
238
|
+
const headerParameters = {};
|
|
239
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
240
|
+
const token = this.configuration.accessToken;
|
|
241
|
+
const tokenString = await token("bearer", []);
|
|
242
|
+
if (tokenString) {
|
|
243
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
let urlPath = `/invitations/{invitation_id}/resend`;
|
|
247
|
+
urlPath = urlPath.replace('{invitation_id}', encodeURIComponent(String(requestParameters['invitationId'])));
|
|
248
|
+
return {
|
|
249
|
+
path: urlPath,
|
|
250
|
+
method: 'POST',
|
|
251
|
+
headers: headerParameters,
|
|
252
|
+
query: queryParameters,
|
|
253
|
+
};
|
|
254
|
+
}
|
|
255
|
+
/**
|
|
256
|
+
* Re-run the control-plane send (up to three attempts) for a pending invitation. The only path to re-email an invite. `members_invite`.
|
|
257
|
+
* Re-email a pending invite
|
|
258
|
+
*/
|
|
259
|
+
async registryResendInvitationRaw(requestParameters, initOverrides) {
|
|
260
|
+
const requestOptions = await this.registryResendInvitationRequestOpts(requestParameters);
|
|
261
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
262
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, InvitationSendResult_1.InvitationSendResultFromJSON)(jsonValue));
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* Re-run the control-plane send (up to three attempts) for a pending invitation. The only path to re-email an invite. `members_invite`.
|
|
266
|
+
* Re-email a pending invite
|
|
267
|
+
*/
|
|
268
|
+
async registryResendInvitation(requestParameters, initOverrides) {
|
|
269
|
+
const response = await this.registryResendInvitationRaw(requestParameters, initOverrides);
|
|
270
|
+
return await response.value();
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* Creates request options for registryRevokeInvitation without sending the request
|
|
274
|
+
*/
|
|
275
|
+
async registryRevokeInvitationRequestOpts(requestParameters) {
|
|
276
|
+
if (requestParameters['invitationId'] == null) {
|
|
277
|
+
throw new runtime.RequiredError('invitationId', 'Required parameter "invitationId" was null or undefined when calling registryRevokeInvitation().');
|
|
278
|
+
}
|
|
279
|
+
const queryParameters = {};
|
|
280
|
+
const headerParameters = {};
|
|
281
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
282
|
+
const token = this.configuration.accessToken;
|
|
283
|
+
const tokenString = await token("bearer", []);
|
|
284
|
+
if (tokenString) {
|
|
285
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
let urlPath = `/invitations/{invitation_id}/revoke`;
|
|
289
|
+
urlPath = urlPath.replace('{invitation_id}', encodeURIComponent(String(requestParameters['invitationId'])));
|
|
290
|
+
return {
|
|
291
|
+
path: urlPath,
|
|
292
|
+
method: 'POST',
|
|
293
|
+
headers: headerParameters,
|
|
294
|
+
query: queryParameters,
|
|
295
|
+
};
|
|
296
|
+
}
|
|
297
|
+
/**
|
|
298
|
+
* Cancel a pending invitation and free its email for a fresh invite. No rank check — revoke is always de-escalation. `members_invite`.
|
|
299
|
+
* Revoke a pending invite
|
|
300
|
+
*/
|
|
301
|
+
async registryRevokeInvitationRaw(requestParameters, initOverrides) {
|
|
302
|
+
const requestOptions = await this.registryRevokeInvitationRequestOpts(requestParameters);
|
|
303
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
304
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, InvitationDto_1.InvitationDtoFromJSON)(jsonValue));
|
|
305
|
+
}
|
|
306
|
+
/**
|
|
307
|
+
* Cancel a pending invitation and free its email for a fresh invite. No rank check — revoke is always de-escalation. `members_invite`.
|
|
308
|
+
* Revoke a pending invite
|
|
309
|
+
*/
|
|
310
|
+
async registryRevokeInvitation(requestParameters, initOverrides) {
|
|
311
|
+
const response = await this.registryRevokeInvitationRaw(requestParameters, initOverrides);
|
|
312
|
+
return await response.value();
|
|
313
|
+
}
|
|
314
|
+
/**
|
|
315
|
+
* Creates request options for registryUpdateInvitation without sending the request
|
|
316
|
+
*/
|
|
317
|
+
async registryUpdateInvitationRequestOpts(requestParameters) {
|
|
318
|
+
if (requestParameters['invitationId'] == null) {
|
|
319
|
+
throw new runtime.RequiredError('invitationId', 'Required parameter "invitationId" was null or undefined when calling registryUpdateInvitation().');
|
|
320
|
+
}
|
|
321
|
+
if (requestParameters['updateInvitationRequest'] == null) {
|
|
322
|
+
throw new runtime.RequiredError('updateInvitationRequest', 'Required parameter "updateInvitationRequest" was null or undefined when calling registryUpdateInvitation().');
|
|
323
|
+
}
|
|
324
|
+
const queryParameters = {};
|
|
325
|
+
const headerParameters = {};
|
|
326
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
327
|
+
if (requestParameters['contentEncoding'] != null) {
|
|
328
|
+
headerParameters['Content-Encoding'] = String(requestParameters['contentEncoding']);
|
|
329
|
+
}
|
|
330
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
331
|
+
const token = this.configuration.accessToken;
|
|
332
|
+
const tokenString = await token("bearer", []);
|
|
333
|
+
if (tokenString) {
|
|
334
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
let urlPath = `/invitations/{invitation_id}`;
|
|
338
|
+
urlPath = urlPath.replace('{invitation_id}', encodeURIComponent(String(requestParameters['invitationId'])));
|
|
339
|
+
return {
|
|
340
|
+
path: urlPath,
|
|
341
|
+
method: 'PATCH',
|
|
342
|
+
headers: headerParameters,
|
|
343
|
+
query: queryParameters,
|
|
344
|
+
body: (0, UpdateInvitationRequest_1.UpdateInvitationRequestToJSON)(requestParameters['updateInvitationRequest']),
|
|
345
|
+
};
|
|
346
|
+
}
|
|
347
|
+
/**
|
|
348
|
+
* Rewrite a pending invitation\'s role and/or target workspace in place. The body is `{ role?, workspace_id? }` with at least one present; the email is never editable. The change re-runs all three gates against the (possibly new) target and respects the one-live-invite-per-(workspace, email) uniqueness. `members_invite`.
|
|
349
|
+
* Edit a pending invite\'s role or target
|
|
350
|
+
*/
|
|
351
|
+
async registryUpdateInvitationRaw(requestParameters, initOverrides) {
|
|
352
|
+
const requestOptions = await this.registryUpdateInvitationRequestOpts(requestParameters);
|
|
353
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
354
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, InvitationDto_1.InvitationDtoFromJSON)(jsonValue));
|
|
355
|
+
}
|
|
356
|
+
/**
|
|
357
|
+
* Rewrite a pending invitation\'s role and/or target workspace in place. The body is `{ role?, workspace_id? }` with at least one present; the email is never editable. The change re-runs all three gates against the (possibly new) target and respects the one-live-invite-per-(workspace, email) uniqueness. `members_invite`.
|
|
358
|
+
* Edit a pending invite\'s role or target
|
|
359
|
+
*/
|
|
360
|
+
async registryUpdateInvitation(requestParameters, initOverrides) {
|
|
361
|
+
const response = await this.registryUpdateInvitationRaw(requestParameters, initOverrides);
|
|
362
|
+
return await response.value();
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
exports.InvitationsApi = InvitationsApi;
|
|
366
|
+
/**
|
|
367
|
+
* @export
|
|
368
|
+
* @enum {string}
|
|
369
|
+
*/
|
|
370
|
+
var RegistryCreateInvitationsContentEncodingEnum;
|
|
371
|
+
(function (RegistryCreateInvitationsContentEncodingEnum) {
|
|
372
|
+
RegistryCreateInvitationsContentEncodingEnum["Base64"] = "base64";
|
|
373
|
+
RegistryCreateInvitationsContentEncodingEnum["GzipBase64"] = "gzip, base64";
|
|
374
|
+
})(RegistryCreateInvitationsContentEncodingEnum || (exports.RegistryCreateInvitationsContentEncodingEnum = RegistryCreateInvitationsContentEncodingEnum = {}));
|
|
375
|
+
/**
|
|
376
|
+
* @export
|
|
377
|
+
* @enum {string}
|
|
378
|
+
*/
|
|
379
|
+
var RegistryUpdateInvitationContentEncodingEnum;
|
|
380
|
+
(function (RegistryUpdateInvitationContentEncodingEnum) {
|
|
381
|
+
RegistryUpdateInvitationContentEncodingEnum["Base64"] = "base64";
|
|
382
|
+
RegistryUpdateInvitationContentEncodingEnum["GzipBase64"] = "gzip, base64";
|
|
383
|
+
})(RegistryUpdateInvitationContentEncodingEnum || (exports.RegistryUpdateInvitationContentEncodingEnum = RegistryUpdateInvitationContentEncodingEnum = {}));
|
|
@@ -12,11 +12,18 @@
|
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
13
|
import { type OrganisationDto } from '../models/OrganisationDto';
|
|
14
14
|
import { type OrganisationsPage } from '../models/OrganisationsPage';
|
|
15
|
+
import { type SetTraceContentPolicyDto } from '../models/SetTraceContentPolicyDto';
|
|
16
|
+
import { type TraceContentPolicyDto } from '../models/TraceContentPolicyDto';
|
|
15
17
|
export interface RegistryGetOrganisationRequest {
|
|
16
18
|
orgId: string;
|
|
17
19
|
}
|
|
18
20
|
export interface RegistryQueryOrganisationTraceStatsRequest {
|
|
19
21
|
body: any | null;
|
|
22
|
+
contentEncoding?: RegistryQueryOrganisationTraceStatsContentEncodingEnum;
|
|
23
|
+
}
|
|
24
|
+
export interface RegistrySetTraceContentPolicyRequest {
|
|
25
|
+
setTraceContentPolicyDto: SetTraceContentPolicyDto;
|
|
26
|
+
contentEncoding?: RegistrySetTraceContentPolicyContentEncodingEnum;
|
|
20
27
|
}
|
|
21
28
|
/**
|
|
22
29
|
*
|
|
@@ -36,6 +43,20 @@ export declare class OrganisationsApi extends runtime.BaseAPI {
|
|
|
36
43
|
* Get an organisation
|
|
37
44
|
*/
|
|
38
45
|
registryGetOrganisation(requestParameters: RegistryGetOrganisationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<OrganisationDto>;
|
|
46
|
+
/**
|
|
47
|
+
* Creates request options for registryGetTraceContentPolicy without sending the request
|
|
48
|
+
*/
|
|
49
|
+
registryGetTraceContentPolicyRequestOpts(): Promise<runtime.RequestOpts>;
|
|
50
|
+
/**
|
|
51
|
+
* A document of facets, one field per facet — `capture` today; retention and redaction configuration are the named next ones, each arriving as an additive field. `capture`: `store` admits the content half of an ingested trace into the content plane, `drop` discards it at the worker, and `null` means the account never chose — which resolves as `drop`, the fail-closed default. Readable by any member: clients strip content at emit when the effective capture is `drop`, so this is the login-time read that makes that possible.
|
|
52
|
+
* Get the account\'s trace-content policy
|
|
53
|
+
*/
|
|
54
|
+
registryGetTraceContentPolicyRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TraceContentPolicyDto>>;
|
|
55
|
+
/**
|
|
56
|
+
* A document of facets, one field per facet — `capture` today; retention and redaction configuration are the named next ones, each arriving as an additive field. `capture`: `store` admits the content half of an ingested trace into the content plane, `drop` discards it at the worker, and `null` means the account never chose — which resolves as `drop`, the fail-closed default. Readable by any member: clients strip content at emit when the effective capture is `drop`, so this is the login-time read that makes that possible.
|
|
57
|
+
* Get the account\'s trace-content policy
|
|
58
|
+
*/
|
|
59
|
+
registryGetTraceContentPolicy(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TraceContentPolicyDto>;
|
|
39
60
|
/**
|
|
40
61
|
* Creates request options for registryListOrganisations without sending the request
|
|
41
62
|
*/
|
|
@@ -64,4 +85,34 @@ export declare class OrganisationsApi extends runtime.BaseAPI {
|
|
|
64
85
|
* Trace statistics across the whole account
|
|
65
86
|
*/
|
|
66
87
|
registryQueryOrganisationTraceStats(requestParameters: RegistryQueryOrganisationTraceStatsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<any>;
|
|
88
|
+
/**
|
|
89
|
+
* Creates request options for registrySetTraceContentPolicy without sending the request
|
|
90
|
+
*/
|
|
91
|
+
registrySetTraceContentPolicyRequestOpts(requestParameters: RegistrySetTraceContentPolicyRequest): Promise<runtime.RequestOpts>;
|
|
92
|
+
/**
|
|
93
|
+
* Org-admin: account-wide capture posture is exactly the class of decision the org-admin tier exists for. A patch of facets: only fields present in the body change, so a caller setting `capture` is untouched by facets added later. `capture`: `store` or `drop`; `null` clears the choice back to the fail-closed default — behaviourally identical to `drop`, kept distinct because \"never chose\" and \"chose drop\" are different facts. Audited under the policy\'s own entity type. Every facet is a ceiling: it can only narrow what a client already decided, never resurrect content a client stripped.
|
|
94
|
+
* Set the account\'s trace-content policy
|
|
95
|
+
*/
|
|
96
|
+
registrySetTraceContentPolicyRaw(requestParameters: RegistrySetTraceContentPolicyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TraceContentPolicyDto>>;
|
|
97
|
+
/**
|
|
98
|
+
* Org-admin: account-wide capture posture is exactly the class of decision the org-admin tier exists for. A patch of facets: only fields present in the body change, so a caller setting `capture` is untouched by facets added later. `capture`: `store` or `drop`; `null` clears the choice back to the fail-closed default — behaviourally identical to `drop`, kept distinct because \"never chose\" and \"chose drop\" are different facts. Audited under the policy\'s own entity type. Every facet is a ceiling: it can only narrow what a client already decided, never resurrect content a client stripped.
|
|
99
|
+
* Set the account\'s trace-content policy
|
|
100
|
+
*/
|
|
101
|
+
registrySetTraceContentPolicy(requestParameters: RegistrySetTraceContentPolicyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TraceContentPolicyDto>;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* @export
|
|
105
|
+
* @enum {string}
|
|
106
|
+
*/
|
|
107
|
+
export declare enum RegistryQueryOrganisationTraceStatsContentEncodingEnum {
|
|
108
|
+
Base64 = "base64",
|
|
109
|
+
GzipBase64 = "gzip, base64"
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* @export
|
|
113
|
+
* @enum {string}
|
|
114
|
+
*/
|
|
115
|
+
export declare enum RegistrySetTraceContentPolicyContentEncodingEnum {
|
|
116
|
+
Base64 = "base64",
|
|
117
|
+
GzipBase64 = "gzip, base64"
|
|
67
118
|
}
|