@knpkv/control-center 0.3.0 → 0.5.0
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 +70 -17
- package/dist/client/.vite/manifest.json +223 -178
- package/dist/client/assets/{ActiveWorkPage-DJQgGZeV.js → ActiveWorkPage-g2-Jyavo.js} +2 -2
- package/dist/client/assets/{ActiveWorkPage-DJQgGZeV.js.map → ActiveWorkPage-g2-Jyavo.js.map} +1 -1
- package/dist/client/assets/AgentPage-B6GQdZAs.css +1 -0
- package/dist/client/assets/AgentPage-DmVsEe13.js +6 -0
- package/dist/client/assets/AgentPage-DmVsEe13.js.map +1 -0
- package/dist/client/assets/AtlassianOAuthCallbackPage-C8u9ItMj.js +2 -0
- package/dist/client/assets/{AtlassianOAuthCallbackPage-D1F1xE_2.js.map → AtlassianOAuthCallbackPage-C8u9ItMj.js.map} +1 -1
- package/dist/client/assets/AuthorizedSharePage-CVBJ1NTm.js +2 -0
- package/dist/client/assets/AuthorizedSharePage-CVBJ1NTm.js.map +1 -0
- package/dist/client/assets/BrowserCrypto-3BoTVFdl.js +2 -0
- package/dist/client/assets/{BrowserCrypto-DVWR7DFd.js.map → BrowserCrypto-3BoTVFdl.js.map} +1 -1
- package/dist/client/assets/BrowserSessionHydrator-CpZnNm4X.js +2 -0
- package/dist/client/assets/BrowserSessionHydrator-CpZnNm4X.js.map +1 -0
- package/dist/client/assets/CommandSearch-DUeRRbV2.js +2 -0
- package/dist/client/assets/{CommandSearch-CP_QCbkm.js.map → CommandSearch-DUeRRbV2.js.map} +1 -1
- package/dist/client/assets/ItemsPage-BF2ZkSzh.js +2 -0
- package/dist/client/assets/{ItemsPage-BGFUkRL2.js.map → ItemsPage-BF2ZkSzh.js.map} +1 -1
- package/dist/client/assets/{PairPage-DIgzx0K2.js → PairPage-CkaZltHd.js} +2 -2
- package/dist/client/assets/{PairPage-DIgzx0K2.js.map → PairPage-CkaZltHd.js.map} +1 -1
- package/dist/client/assets/PortfolioOverview-CEUHJmGC.js +2 -0
- package/dist/client/assets/PortfolioOverview-CEUHJmGC.js.map +1 -0
- package/dist/client/assets/PullRequestReviewPanel-D1IpvHe2.js +6 -0
- package/dist/client/assets/PullRequestReviewPanel-D1IpvHe2.js.map +1 -0
- package/dist/client/assets/ReleaseRoute-BuQybrsg.js +2 -0
- package/dist/client/assets/{ReleaseRoute-DXJ8Jg60.js.map → ReleaseRoute-BuQybrsg.js.map} +1 -1
- package/dist/client/assets/ReleaseWorkset-BclY0Nvj.js +2 -0
- package/dist/client/assets/ReleaseWorkset-BclY0Nvj.js.map +1 -0
- package/dist/client/assets/ServicesPage-hw5Ee69-.js +2 -0
- package/dist/client/assets/ServicesPage-hw5Ee69-.js.map +1 -0
- package/dist/client/assets/TimelinePage-Cj3V98uI.js +2 -0
- package/dist/client/assets/TimelinePage-Cj3V98uI.js.map +1 -0
- package/dist/client/assets/WorkspaceEntityLink-C_rc8lxi.js +2 -0
- package/dist/client/assets/{WorkspaceEntityLink-AdZ_T-Wk.js.map → WorkspaceEntityLink-C_rc8lxi.js.map} +1 -1
- package/dist/client/assets/WorkspaceEntityRoute-DLLT6fY0.css +1 -0
- package/dist/client/assets/WorkspaceEntityRoute-kbnrQ_lY.js +14 -0
- package/dist/client/assets/WorkspaceEntityRoute-kbnrQ_lY.js.map +1 -0
- package/dist/client/assets/WorkspaceHomeLink-DeYYLEsH.js +2 -0
- package/dist/client/assets/{WorkspaceHomeLink-XbKSPths.js.map → WorkspaceHomeLink-DeYYLEsH.js.map} +1 -1
- package/dist/client/assets/{WorkspacePullRequestDetails-BErJ5bk8.js → WorkspacePullRequestDetails-CizqydjN.js} +3 -3
- package/dist/client/assets/WorkspacePullRequestDetails-CizqydjN.js.map +1 -0
- package/dist/client/assets/{WorkspaceReleaseLayout-cfboC5Qh.js → WorkspaceReleaseLayout-CXAQUhkh.js} +2 -2
- package/dist/client/assets/{WorkspaceReleaseLayout-cfboC5Qh.js.map → WorkspaceReleaseLayout-CXAQUhkh.js.map} +1 -1
- package/dist/client/assets/{WorkspaceRichText-D1M637Ff.js → WorkspaceRichText-CCOciILO.js} +2 -2
- package/dist/client/assets/WorkspaceRichText-CCOciILO.js.map +1 -0
- package/dist/client/assets/WorkspaceSettingsPage-GoBfQzBx.css +1 -0
- package/dist/client/assets/WorkspaceSettingsPage-JG-pN_CA.js +2 -0
- package/dist/client/assets/WorkspaceSettingsPage-JG-pN_CA.js.map +1 -0
- package/dist/client/assets/agent-api-Dl9TuGOJ.js +19 -0
- package/dist/client/assets/agent-api-Dl9TuGOJ.js.map +1 -0
- package/dist/client/assets/atlassianOAuthSetupIntentStorage-DE4ySCTb.js +2 -0
- package/dist/client/assets/atlassianOAuthSetupIntentStorage-DE4ySCTb.js.map +1 -0
- package/dist/client/assets/authenticatedMutationClient-DdowMjyo.js +2 -0
- package/dist/client/assets/{authenticatedMutationClient-Ccwguc3i.js.map → authenticatedMutationClient-DdowMjyo.js.map} +1 -1
- package/dist/client/assets/authorizedShareTransport-CnclcYai.js +2 -0
- package/dist/client/assets/{authorizedShareTransport-DZHgFEkh.js.map → authorizedShareTransport-CnclcYai.js.map} +1 -1
- package/dist/client/assets/client-Dq_XQE_l.js +5 -0
- package/dist/client/assets/client-Dq_XQE_l.js.map +1 -0
- package/dist/client/assets/confluenceTasks-DtKq8_eU.js +5 -0
- package/dist/client/assets/confluenceTasks-DtKq8_eU.js.map +1 -0
- package/dist/client/assets/connectionTestTransport-CPK98z7H.js +2 -0
- package/dist/client/assets/connectionTestTransport-CPK98z7H.js.map +1 -0
- package/dist/client/assets/index-zVjlBm9l.js +11 -0
- package/dist/client/assets/index-zVjlBm9l.js.map +1 -0
- package/dist/client/assets/{patterns-5N-j-AD2-BwypFm-e.js → patterns-5N-j-AD2-DLfaGePK.js} +2 -2
- package/dist/client/assets/{patterns-5N-j-AD2-BwypFm-e.js.map → patterns-5N-j-AD2-DLfaGePK.js.map} +1 -1
- package/dist/client/assets/{presentPortfolio-D3ZIcnqt.js → presentPortfolio-DLEq-vEz.js} +2 -2
- package/dist/client/assets/presentPortfolio-DLEq-vEz.js.map +1 -0
- package/dist/client/assets/{presentWorkspaceItems-Bmh4oEbH.js → presentWorkspaceItems-BOY3FbhO.js} +2 -2
- package/dist/client/assets/{presentWorkspaceItems-Bmh4oEbH.js.map → presentWorkspaceItems-BOY3FbhO.js.map} +1 -1
- package/dist/client/assets/{pullRequestReviewFailures-S74M-fOk.js → pullRequestReviewFailures-CyjTVnSX.js} +2 -2
- package/dist/client/assets/{pullRequestReviewFailures-S74M-fOk.js.map → pullRequestReviewFailures-CyjTVnSX.js.map} +1 -1
- package/dist/client/assets/pullRequestReviewThreadReplay-CXHspFTr.js +2 -0
- package/dist/client/assets/pullRequestReviewThreadReplay-CXHspFTr.js.map +1 -0
- package/dist/client/assets/releaseAgentTransport-DaO4svPu.js +2 -0
- package/dist/client/assets/releaseAgentTransport-DaO4svPu.js.map +1 -0
- package/dist/client/assets/releaseRoutes-B4ciNOJj.js +2 -0
- package/dist/client/assets/{releaseRoutes-BCuIdZyA.js.map → releaseRoutes-B4ciNOJj.js.map} +1 -1
- package/dist/client/assets/serviceOnboarding-D0FmodRi.js +2 -0
- package/dist/client/assets/{serviceOnboarding-Jg_0yNjf.js.map → serviceOnboarding-D0FmodRi.js.map} +1 -1
- package/dist/client/assets/{useWorkspaceDefaultLanding-CzlDdEF-.js → useWorkspaceDefaultLanding-BaQdg0sY.js} +3 -3
- package/dist/client/assets/{useWorkspaceDefaultLanding-CzlDdEF-.js.map → useWorkspaceDefaultLanding-BaQdg0sY.js.map} +1 -1
- package/dist/client/assets/{useWorkspaceItems-Cd3MPke2.js → useWorkspaceItems-B-7JHtm0.js} +2 -2
- package/dist/client/assets/{useWorkspaceItems-Cd3MPke2.js.map → useWorkspaceItems-B-7JHtm0.js.map} +1 -1
- package/dist/client/assets/workspaceEntityRoutes-DqqDa0AB.js +2 -0
- package/dist/client/assets/workspaceEntityRoutes-DqqDa0AB.js.map +1 -0
- package/dist/client/assets/workspaceScrollCapture-BYNfR2wo.js +2 -0
- package/dist/client/assets/workspaceScrollCapture-BYNfR2wo.js.map +1 -0
- package/dist/client/assets/workspaceSettingsTransport-Br4lBmvS.js +2 -0
- package/dist/client/assets/{workspaceSettingsTransport-CZWYL5T7.js.map → workspaceSettingsTransport-Br4lBmvS.js.map} +1 -1
- package/dist/client/build-graph.json +115 -0
- package/dist/client/index.html +1 -1
- package/dist/server/api/agent.d.ts +575 -44
- package/dist/server/api/agent.d.ts.map +1 -1
- package/dist/server/api/deliveryGraph.d.ts +474 -454
- package/dist/server/api/deliveryGraph.d.ts.map +1 -1
- package/dist/server/api/index.d.ts +2 -2
- package/dist/server/api/index.d.ts.map +1 -1
- package/dist/server/api/index.js +4 -4
- package/dist/server/api/liveEvents.d.ts +20 -0
- package/dist/server/api/liveEvents.d.ts.map +1 -1
- package/dist/server/api/portfolio.d.ts +23 -0
- package/dist/server/api/portfolio.d.ts.map +1 -1
- package/dist/server/api/session.d.ts +23 -1
- package/dist/server/api/session.d.ts.map +1 -1
- package/dist/server/api/shares.d.ts +4 -2
- package/dist/server/api/shares.d.ts.map +1 -1
- package/dist/server/assets/{BindConfig-DIsf2Rnh.js → BindConfig-DAASchDn.js} +2405 -322
- package/dist/server/assets/BindConfig-DAASchDn.js.map +1 -0
- package/dist/server/assets/{CodePipelineStateDecoder-CVf1A2zG.js → CodePipelineStateDecoder-CNiFRgSi.js} +2 -2
- package/dist/server/assets/{CodePipelineStateDecoder-CVf1A2zG.js.map → CodePipelineStateDecoder-CNiFRgSi.js.map} +1 -1
- package/dist/server/assets/{agent-CyZ40zs1.js → agent-xQhAQXly.js} +181 -11
- package/dist/server/assets/agent-xQhAQXly.js.map +1 -0
- package/dist/server/assets/{controlCenterApi-ZUX3Y-LE.js → controlCenterApi-DNXK7MT1.js} +6 -5
- package/dist/server/assets/controlCenterApi-DNXK7MT1.js.map +1 -0
- package/dist/server/assets/{descriptor-CKtTnhef.js → descriptor-CCvNzSZL.js} +10 -10
- package/dist/server/assets/{descriptor-CKtTnhef.js.map → descriptor-CCvNzSZL.js.map} +1 -1
- package/dist/server/assets/{failures-mgYDkUZy.js → failures-CesHLYbN.js} +2 -2
- package/dist/server/assets/{failures-mgYDkUZy.js.map → failures-CesHLYbN.js.map} +1 -1
- package/dist/server/assets/{firstPartyServices-D7b8BOek.js → firstPartyServices-Cdzjcs2H.js} +2 -2
- package/dist/server/assets/{firstPartyServices-D7b8BOek.js.map → firstPartyServices-Cdzjcs2H.js.map} +1 -1
- package/dist/server/assets/{manualPluginSynchronization-DFlhKvav.js → manualPluginSynchronization-DFIeUHP9.js} +6 -5
- package/dist/server/assets/manualPluginSynchronization-DFIeUHP9.js.map +1 -0
- package/dist/server/assets/{plugins-D__oMDpI.js → plugins-DiPrfzV8.js} +2 -2
- package/dist/server/assets/{plugins-D__oMDpI.js.map → plugins-DiPrfzV8.js.map} +1 -1
- package/dist/server/assets/{readiness-BhA-Nr9c.js → readiness-31Mqc-9H.js} +3 -3
- package/dist/server/assets/{readiness-BhA-Nr9c.js.map → readiness-31Mqc-9H.js.map} +1 -1
- package/dist/server/assets/{relationshipInferenceMaterialization-DYBcaWhQ.js → relationshipInferenceMaterialization-Dyix96px.js} +1158 -169
- package/dist/server/assets/relationshipInferenceMaterialization-Dyix96px.js.map +1 -0
- package/dist/server/assets/{workspaceSettings-BE713Oe8.js → workspaceSettings-sv8h_h2P.js} +2787 -2700
- package/dist/server/assets/workspaceSettings-sv8h_h2P.js.map +1 -0
- package/dist/server/build-graph.json +144 -4
- package/dist/server/domain/actors.d.ts +12 -12
- package/dist/server/domain/confluenceTasks.d.ts +27 -0
- package/dist/server/domain/confluenceTasks.d.ts.map +1 -0
- package/dist/server/domain/deliveryGraph.d.ts +51 -49
- package/dist/server/domain/deliveryGraph.d.ts.map +1 -1
- package/dist/server/domain/governedAction/bindings.d.ts +26 -12
- package/dist/server/domain/governedAction/bindings.d.ts.map +1 -1
- package/dist/server/domain/governedAction/lifecycle.d.ts +8 -8
- package/dist/server/domain/governedAction/model.d.ts +45 -18
- package/dist/server/domain/governedAction/model.d.ts.map +1 -1
- package/dist/server/domain/governedAction/stateMachine.d.ts +34 -34
- package/dist/server/domain/index.js +6 -6
- package/dist/server/domain/normalizedIssue.d.ts +1 -1
- package/dist/server/domain/normalizedPage.d.ts +1 -0
- package/dist/server/domain/normalizedPage.d.ts.map +1 -1
- package/dist/server/domain/prReview.d.ts +38 -0
- package/dist/server/domain/prReview.d.ts.map +1 -1
- package/dist/server/domain/prReviewReconciliation.d.ts +56 -0
- package/dist/server/domain/prReviewReconciliation.d.ts.map +1 -0
- package/dist/server/domain/prReviewRevision.d.ts +1 -0
- package/dist/server/domain/prReviewRevision.d.ts.map +1 -1
- package/dist/server/domain/readiness/model.d.ts +3 -3
- package/dist/server/domain/release.d.ts +3 -3
- package/dist/server/domain/releasePipelineApproval.d.ts +31 -0
- package/dist/server/domain/releasePipelineApproval.d.ts.map +1 -0
- package/dist/server/domain/releasePublication.d.ts +4 -0
- package/dist/server/domain/releasePublication.d.ts.map +1 -0
- package/dist/server/index.js +8 -8
- package/dist/server/server/agent/AgentJobWorker.d.ts +10 -1
- package/dist/server/server/agent/AgentJobWorker.d.ts.map +1 -1
- package/dist/server/server/agent/ReleaseAgentPrompt.d.ts.map +1 -1
- package/dist/server/server/agent/internal/AgentJobTaskExecutor.d.ts +4 -3
- package/dist/server/server/agent/internal/AgentJobTaskExecutor.d.ts.map +1 -1
- package/dist/server/server/agent/internal/PrReviewSandboxSession.d.ts +17 -1
- package/dist/server/server/agent/internal/PrReviewSandboxSession.d.ts.map +1 -1
- package/dist/server/server/agent/internal/PrReviewTaskExecutor.d.ts +76 -2
- package/dist/server/server/agent/internal/PrReviewTaskExecutor.d.ts.map +1 -1
- package/dist/server/server/agent/internal/PrReviewTelemetry.d.ts +27 -0
- package/dist/server/server/agent/internal/PrReviewTelemetry.d.ts.map +1 -0
- package/dist/server/server/api/ApplicationServices.d.ts +39 -5
- package/dist/server/server/api/ApplicationServices.d.ts.map +1 -1
- package/dist/server/server/api/Handlers.d.ts +1 -1
- package/dist/server/server/api/Handlers.d.ts.map +1 -1
- package/dist/server/server/api/RequestBoundary.d.ts.map +1 -1
- package/dist/server/server/application/GovernedReviewSuggestionPublicationGateway.d.ts.map +1 -1
- package/dist/server/server/application/ReviewSuggestionPublicationGateway.d.ts +4 -0
- package/dist/server/server/application/ReviewSuggestionPublicationGateway.d.ts.map +1 -1
- package/dist/server/server/application/deliveryGraphInspection.d.ts.map +1 -1
- package/dist/server/server/application/index.d.ts +1 -0
- package/dist/server/server/application/index.d.ts.map +1 -1
- package/dist/server/server/application/liveEvents.d.ts.map +1 -1
- package/dist/server/server/application/normalizedPluginPageMaterialization.d.ts.map +1 -1
- package/dist/server/server/application/pipelineExecutionProjection.d.ts +7 -6
- package/dist/server/server/application/pipelineExecutionProjection.d.ts.map +1 -1
- package/dist/server/server/application/portfolioSnapshots.d.ts +2018 -4
- package/dist/server/server/application/portfolioSnapshots.d.ts.map +1 -1
- package/dist/server/server/application/pullRequestReviews.d.ts.map +1 -1
- package/dist/server/server/application/releaseAgent.d.ts +11 -3
- package/dist/server/server/application/releaseAgent.d.ts.map +1 -1
- package/dist/server/server/application/releasePublicationIntent.d.ts +7 -0
- package/dist/server/server/application/releasePublicationIntent.d.ts.map +1 -0
- package/dist/server/server/application/releasePublicationMetadata.d.ts +61 -0
- package/dist/server/server/application/releasePublicationMetadata.d.ts.map +1 -0
- package/dist/server/server/application/releasePublicationSubmissions.d.ts +3730 -0
- package/dist/server/server/application/releasePublicationSubmissions.d.ts.map +1 -0
- package/dist/server/server/application/releaseRunbookHydration.d.ts +2310 -0
- package/dist/server/server/application/releaseRunbookHydration.d.ts.map +1 -0
- package/dist/server/server/application/releaseSynchronization.d.ts.map +1 -1
- package/dist/server/server/cli.js +8 -8
- package/dist/server/server/cli.js.map +1 -1
- package/dist/server/server/governance/governedActionDigests.d.ts +236 -218
- package/dist/server/server/governance/governedActionDigests.d.ts.map +1 -1
- package/dist/server/server/governance/internal/GovernedActionExecutionEngine.d.ts +3 -4
- package/dist/server/server/governance/internal/GovernedActionExecutionEngine.d.ts.map +1 -1
- package/dist/server/server/governance/internal/execution-store/begin.d.ts.map +1 -1
- package/dist/server/server/governance/internal/execution-store/dispatch-inbox.d.ts +1 -1
- package/dist/server/server/governance/internal/execution-store/dispatch-outcome.d.ts +8 -8
- package/dist/server/server/governance/internal/execution-store/provider-outcome-fold.d.ts +2 -2
- package/dist/server/server/governance/internal/execution-store/reconciliation-inbox.d.ts +1 -1
- package/dist/server/server/governance/internal/execution-store/recovery-claim.d.ts +37 -30
- package/dist/server/server/governance/internal/execution-store/recovery-claim.d.ts.map +1 -1
- package/dist/server/server/index.js +5 -5
- package/dist/server/server/internal/codepipeline-state-probe.js +1 -1
- package/dist/server/server/persistence/Database.d.ts +1 -1
- package/dist/server/server/persistence/Database.d.ts.map +1 -1
- package/dist/server/server/persistence/Persistence.d.ts +1549 -577
- package/dist/server/server/persistence/Persistence.d.ts.map +1 -1
- package/dist/server/server/persistence/backup/BackupArchive.d.ts.map +1 -1
- package/dist/server/server/persistence/object-store/BlobPublisher.d.ts.map +1 -1
- package/dist/server/server/persistence/object-store/PinnedDirectory.d.ts +2 -2
- package/dist/server/server/persistence/object-store/PinnedDirectory.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/agentJobModels.d.ts +345 -8
- package/dist/server/server/persistence/repositories/agentJobModels.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/agentJobRepository.d.ts +654 -192
- package/dist/server/server/persistence/repositories/agentJobRepository.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/delivery-graph/contract.d.ts +148 -138
- package/dist/server/server/persistence/repositories/delivery-graph/contract.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/delivery-graph/decode.d.ts +27 -25
- package/dist/server/server/persistence/repositories/delivery-graph/decode.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/delivery-graph/read.d.ts +117 -111
- package/dist/server/server/persistence/repositories/delivery-graph/read.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/delivery-graph/rows.d.ts +28 -27
- package/dist/server/server/persistence/repositories/delivery-graph/rows.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/delivery-graph/write.d.ts +50 -48
- package/dist/server/server/persistence/repositories/delivery-graph/write.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/deliveryGraphRepository.d.ts +117 -111
- package/dist/server/server/persistence/repositories/deliveryGraphRepository.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/governed-action/codec.d.ts +259 -234
- package/dist/server/server/persistence/repositories/governed-action/codec.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/governed-action/contract.d.ts +68 -46
- package/dist/server/server/persistence/repositories/governed-action/contract.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/governed-action/read.d.ts +668 -190
- package/dist/server/server/persistence/repositories/governed-action/read.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/governed-action/transaction.d.ts +680 -206
- package/dist/server/server/persistence/repositories/governed-action/transaction.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/governed-action/write-preparation.d.ts +38 -31
- package/dist/server/server/persistence/repositories/governed-action/write-preparation.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/governed-action/write-replay.d.ts +46 -32
- package/dist/server/server/persistence/repositories/governed-action/write-replay.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/governed-action/write.d.ts +46 -32
- package/dist/server/server/persistence/repositories/governed-action/write.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/governedActionRepository.d.ts +678 -205
- package/dist/server/server/persistence/repositories/governedActionRepository.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/internal/reviewSuggestionRevisions.d.ts +85 -4
- package/dist/server/server/persistence/repositories/internal/reviewSuggestionRevisions.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/models.d.ts +9 -9
- package/dist/server/server/persistence/repositories/peopleRepository.d.ts +36 -36
- package/dist/server/server/persistence/repositories/providerAccountRepository.d.ts +1 -1
- package/dist/server/server/persistence/repositories/readiness/assessments.d.ts +6 -6
- package/dist/server/server/persistence/repositories/readiness/contract.d.ts +450 -450
- package/dist/server/server/persistence/repositories/readiness/queue.d.ts +14 -14
- package/dist/server/server/persistence/repositories/readinessRepository.d.ts +7 -7
- package/dist/server/server/persistence/repositories/releaseRepository.d.ts +18 -18
- package/dist/server/server/persistence/repositories/retentionRepository.d.ts.map +1 -1
- package/dist/server/server/persistence/repositories/timelineRepository.d.ts +4 -4
- package/dist/server/server/plugins/atlassian/AtlassianOAuthGrants.d.ts.map +1 -1
- package/dist/server/server/plugins/atlassian/AtlassianOAuthScopes.d.ts +9 -0
- package/dist/server/server/plugins/atlassian/AtlassianOAuthScopes.d.ts.map +1 -0
- package/dist/server/server/plugins/atlassian/AtlassianProfiles.d.ts.map +1 -1
- package/dist/server/server/plugins/codecommit/CodeCommitPluginDefinition.d.ts.map +1 -1
- package/dist/server/server/plugins/jira/JiraReadPlugin.d.ts +2 -2
- package/dist/server/server/plugins/jira/JiraReadPlugin.d.ts.map +1 -1
- package/dist/server/server/plugins/jira/JiraReadProvider.d.ts.map +1 -1
- package/dist/server/server/plugins/jira/JiraReleaseVersionLimits.d.ts +8 -0
- package/dist/server/server/plugins/jira/JiraReleaseVersionLimits.d.ts.map +1 -0
- package/dist/server/server/plugins/jira/index.d.ts +1 -1
- package/dist/server/server/plugins/jira/index.d.ts.map +1 -1
- package/dist/server/server/runtime/Bootstrap.d.ts +1 -1
- package/dist/server/server/runtime/Bootstrap.d.ts.map +1 -1
- package/dist/server/server/runtime/ControlCenterServer.d.ts +3 -3
- package/dist/server/server/runtime/ControlCenterServer.d.ts.map +1 -1
- package/dist/server/server/runtime/PrReviewWorkerStartup.d.ts +11 -1
- package/dist/server/server/runtime/PrReviewWorkerStartup.d.ts.map +1 -1
- package/dist/server/server/runtime/RetentionStartup.d.ts.map +1 -1
- package/dist/server/server/runtime/ServerLifecycle.d.ts.map +1 -1
- package/dist/server/server/secrets/SecretStore.d.ts.map +1 -1
- package/package.json +10 -9
- package/dist/client/assets/AgentPage-DGL93TJU.js +0 -3
- package/dist/client/assets/AgentPage-DGL93TJU.js.map +0 -1
- package/dist/client/assets/AgentPage-DVSgQgJa.css +0 -1
- package/dist/client/assets/AtlassianOAuthCallbackPage-D1F1xE_2.js +0 -2
- package/dist/client/assets/AuthorizedSharePage-DCQUFY2I.js +0 -2
- package/dist/client/assets/AuthorizedSharePage-DCQUFY2I.js.map +0 -1
- package/dist/client/assets/BrowserCrypto-DVWR7DFd.js +0 -2
- package/dist/client/assets/BrowserSessionHydrator-DE46feEX.js +0 -2
- package/dist/client/assets/BrowserSessionHydrator-DE46feEX.js.map +0 -1
- package/dist/client/assets/CommandSearch-CP_QCbkm.js +0 -2
- package/dist/client/assets/ItemsPage-BGFUkRL2.js +0 -2
- package/dist/client/assets/PortfolioOverview-D45rk8Hl.js +0 -2
- package/dist/client/assets/PortfolioOverview-D45rk8Hl.js.map +0 -1
- package/dist/client/assets/PullRequestReviewPanel-CqPtjhVW.js +0 -6
- package/dist/client/assets/PullRequestReviewPanel-CqPtjhVW.js.map +0 -1
- package/dist/client/assets/ReleaseRoute-DXJ8Jg60.js +0 -2
- package/dist/client/assets/ReleaseWorkset-Dtzalmji.js +0 -2
- package/dist/client/assets/ReleaseWorkset-Dtzalmji.js.map +0 -1
- package/dist/client/assets/ServicesPage-DGcUjd2H.js +0 -2
- package/dist/client/assets/ServicesPage-DGcUjd2H.js.map +0 -1
- package/dist/client/assets/TimelinePage-Bq1RTQlP.js +0 -2
- package/dist/client/assets/TimelinePage-Bq1RTQlP.js.map +0 -1
- package/dist/client/assets/WorkspaceEntityLink-AdZ_T-Wk.js +0 -2
- package/dist/client/assets/WorkspaceEntityRoute-9iMOV64J.css +0 -1
- package/dist/client/assets/WorkspaceEntityRoute-Bxxnc8us.js +0 -3
- package/dist/client/assets/WorkspaceEntityRoute-Bxxnc8us.js.map +0 -1
- package/dist/client/assets/WorkspaceHomeLink-XbKSPths.js +0 -2
- package/dist/client/assets/WorkspacePullRequestDetails-BErJ5bk8.js.map +0 -1
- package/dist/client/assets/WorkspaceRichText-D1M637Ff.js.map +0 -1
- package/dist/client/assets/WorkspaceSettingsPage-Fy7Wx8Y2.js +0 -2
- package/dist/client/assets/WorkspaceSettingsPage-Fy7Wx8Y2.js.map +0 -1
- package/dist/client/assets/WorkspaceSettingsPage-P6yfac0b.css +0 -1
- package/dist/client/assets/agent-api-QVqt4a0O.js +0 -19
- package/dist/client/assets/agent-api-QVqt4a0O.js.map +0 -1
- package/dist/client/assets/authenticatedMutationClient-Ccwguc3i.js +0 -2
- package/dist/client/assets/authorizedShareTransport-DZHgFEkh.js +0 -2
- package/dist/client/assets/client-D27unen8.js +0 -5
- package/dist/client/assets/client-D27unen8.js.map +0 -1
- package/dist/client/assets/connectionTestTransport-BQ55d6Me.js +0 -2
- package/dist/client/assets/connectionTestTransport-BQ55d6Me.js.map +0 -1
- package/dist/client/assets/index-j5ze816l.js +0 -11
- package/dist/client/assets/index-j5ze816l.js.map +0 -1
- package/dist/client/assets/presentPortfolio-D3ZIcnqt.js.map +0 -1
- package/dist/client/assets/pullRequestReviewThreadReplay-oljKM7Xz.js +0 -2
- package/dist/client/assets/pullRequestReviewThreadReplay-oljKM7Xz.js.map +0 -1
- package/dist/client/assets/releaseRoutes-BCuIdZyA.js +0 -2
- package/dist/client/assets/serviceOnboarding-Jg_0yNjf.js +0 -2
- package/dist/client/assets/workspaceScrollCapture-CJ4QUptr.js +0 -2
- package/dist/client/assets/workspaceScrollCapture-CJ4QUptr.js.map +0 -1
- package/dist/client/assets/workspaceSettingsTransport-CZWYL5T7.js +0 -2
- package/dist/server/assets/BindConfig-DIsf2Rnh.js.map +0 -1
- package/dist/server/assets/agent-CyZ40zs1.js.map +0 -1
- package/dist/server/assets/controlCenterApi-ZUX3Y-LE.js.map +0 -1
- package/dist/server/assets/manualPluginSynchronization-DFlhKvav.js.map +0 -1
- package/dist/server/assets/relationshipInferenceMaterialization-DYBcaWhQ.js.map +0 -1
- package/dist/server/assets/workspaceSettings-BE713Oe8.js.map +0 -1
|
@@ -1,12 +1,2026 @@
|
|
|
1
|
+
import * as Crypto from "effect/Crypto";
|
|
2
|
+
import * as DateTime from "effect/DateTime";
|
|
1
3
|
import * as Effect from "effect/Effect";
|
|
2
4
|
import * as Layer from "effect/Layer";
|
|
3
|
-
import type { PortfolioSnapshot } from "../../api/portfolio.js";
|
|
5
|
+
import type { PortfolioReleasePageAwareness, PortfolioSnapshot } from "../../api/portfolio.js";
|
|
6
|
+
import type { Release } from "../../domain/release.js";
|
|
4
7
|
import { ApplicationServiceUnavailable, PortfolioSnapshots } from "../api/ApplicationServices.js";
|
|
5
8
|
import { Persistence } from "../persistence/Persistence.js";
|
|
9
|
+
import { type ReleasePublicationReceiptCandidate } from "./releasePublicationMetadata.js";
|
|
10
|
+
/** Compare the synchronized release projection with the latest successful page publication. */
|
|
11
|
+
export declare const classifyReleasePageAwareness: (releaseUpdatedAt: Release["updatedAt"], lastPublishedAt: Release["updatedAt"] | null) => PortfolioReleasePageAwareness["state"];
|
|
12
|
+
/** Fail closed when successful publication history has no supported durable receipt locator. */
|
|
13
|
+
export declare const classifyReleasePublicationAwareness: (release: Release, publications: ReadonlyArray<ReleasePublicationReceiptCandidate>, currentSourceRevisionDigest: ReleasePublicationReceiptCandidate["sourceRevisionDigest"]) => PortfolioReleasePageAwareness;
|
|
14
|
+
/**
|
|
15
|
+
* Load release publication awareness with one indexed history projection.
|
|
16
|
+
*
|
|
17
|
+
* Any projection failure makes every requested release unknown so callers
|
|
18
|
+
* cannot mistake unavailable or malformed history for permission to republish.
|
|
19
|
+
*/
|
|
20
|
+
export declare const loadReleasePageAwareness: (history: Pick<{
|
|
21
|
+
commit: (input: unknown) => Effect.Effect<{
|
|
22
|
+
readonly _tag: "committed";
|
|
23
|
+
readonly transition: import("../../index.ts").GovernedActionTransitionV1;
|
|
24
|
+
} | {
|
|
25
|
+
readonly _tag: "replayed";
|
|
26
|
+
readonly transition: import("../../index.ts").GovernedActionTransitionV1;
|
|
27
|
+
}, import("../persistence/Persistence.js").PersistenceOperationFailure, never>;
|
|
28
|
+
read: (input: unknown) => Effect.Effect<{
|
|
29
|
+
envelope: {
|
|
30
|
+
readonly providerId: "codecommit" | "codepipeline" | "jira" | "confluence" | "clockify";
|
|
31
|
+
readonly pluginConnectionId: string & import("effect/Brand").Brand<"PluginConnectionId">;
|
|
32
|
+
readonly workspaceId: string & import("effect/Brand").Brand<"WorkspaceId">;
|
|
33
|
+
readonly schemaVersion: 1;
|
|
34
|
+
readonly causationId: (string & import("effect/Brand").Brand<"DomainEventId">) | null;
|
|
35
|
+
readonly correlationId: (string & import("effect/Brand").Brand<"DomainEventCorrelationId">) | null;
|
|
36
|
+
readonly proposal: import("effect/Schema").Struct.ReadonlySide<{
|
|
37
|
+
readonly proposalKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
38
|
+
readonly capabilityVersion: import("effect/Schema").Int;
|
|
39
|
+
readonly request: import("effect/Schema").Struct<{
|
|
40
|
+
readonly actionKind: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
41
|
+
readonly target: import("effect/Schema").Struct<{
|
|
42
|
+
entityType: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
43
|
+
vendorImmutableId: import("effect/Schema").brand<import("effect/Schema").String, "VendorImmutableId">;
|
|
44
|
+
}>;
|
|
45
|
+
readonly expectedRevision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
46
|
+
readonly payload: import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>;
|
|
47
|
+
readonly evidenceIds: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
48
|
+
}>;
|
|
49
|
+
readonly payloadDigest: import("effect/Schema").brand<import("effect/Schema").String, "PluginActionPayloadDigest">;
|
|
50
|
+
readonly summary: import("effect/Schema").String;
|
|
51
|
+
readonly impact: import("effect/Schema").Struct<{
|
|
52
|
+
readonly level: import("effect/Schema").Literals<readonly ["low", "medium", "high", "critical"]>;
|
|
53
|
+
readonly summary: import("effect/Schema").String;
|
|
54
|
+
}>;
|
|
55
|
+
readonly proposedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
56
|
+
}, "Type">;
|
|
57
|
+
readonly idempotencyKey: string & import("effect/Brand").Brand<"GovernedActionIdempotencyKey">;
|
|
58
|
+
readonly pluginId: string & import("effect/Brand").Brand<string>;
|
|
59
|
+
readonly actionId: string & import("effect/Brand").Brand<"GovernedActionId">;
|
|
60
|
+
readonly policy: import("effect/Schema").Struct.ReadonlySide<{
|
|
61
|
+
readonly policyId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
62
|
+
readonly policyVersion: import("effect/Schema").Int;
|
|
63
|
+
readonly policyDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
64
|
+
readonly requiredPermission: import("effect/Schema").Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
|
|
65
|
+
}, "Type">;
|
|
66
|
+
readonly evidenceSetDigest: string & import("effect/Brand").Brand<string>;
|
|
67
|
+
readonly pluginConnectionRevision: number & import("effect/Brand").Brand<"GovernedActionPluginConnectionRevision">;
|
|
68
|
+
readonly pluginConnectionAuthorityDigest: string & import("effect/Brand").Brand<string>;
|
|
69
|
+
readonly pluginContractVersion: import("effect/Schema").Struct.ReadonlySide<{
|
|
70
|
+
readonly major: import("effect/Schema").Int;
|
|
71
|
+
readonly minor: import("effect/Schema").Int;
|
|
72
|
+
readonly patch: import("effect/Schema").Int;
|
|
73
|
+
}, "Type">;
|
|
74
|
+
readonly pluginAdapterVersion: import("effect/Schema").Struct.ReadonlySide<{
|
|
75
|
+
readonly major: import("effect/Schema").Int;
|
|
76
|
+
readonly minor: import("effect/Schema").Int;
|
|
77
|
+
readonly patch: import("effect/Schema").Int;
|
|
78
|
+
}, "Type">;
|
|
79
|
+
readonly capability: import("effect/Schema").Struct.ReadonlySide<{
|
|
80
|
+
readonly capabilityId: import("effect/Schema").Literal<"action.execute">;
|
|
81
|
+
readonly version: import("effect/Schema").Int;
|
|
82
|
+
}, "Type">;
|
|
83
|
+
readonly targetEntityId: string & import("effect/Brand").Brand<"EntityId">;
|
|
84
|
+
readonly evidence: readonly import("effect/Schema").Struct.ReadonlySide<{
|
|
85
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
86
|
+
readonly evidenceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EvidenceId">;
|
|
87
|
+
readonly evidenceClaimIds: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EvidenceClaimId">>;
|
|
88
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
89
|
+
readonly validUntil: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromString>;
|
|
90
|
+
readonly currentUntil: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromString>;
|
|
91
|
+
readonly evaluatedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
92
|
+
readonly source: import("effect/Schema").Literals<readonly ["current", "stale", "missing", "unavailable"]>;
|
|
93
|
+
readonly validity: import("effect/Schema").Literals<readonly ["valid", "expired"]>;
|
|
94
|
+
}, "Type">[];
|
|
95
|
+
readonly origin: import("effect/Schema").Struct.ReadonlySide<{
|
|
96
|
+
readonly _tag: import("effect/Schema").tag<"human">;
|
|
97
|
+
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
98
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
99
|
+
}>;
|
|
100
|
+
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
101
|
+
}, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
102
|
+
readonly _tag: import("effect/Schema").tag<"agent">;
|
|
103
|
+
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
104
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
105
|
+
}>;
|
|
106
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
107
|
+
readonly initiatingSessionId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">>;
|
|
108
|
+
}, "Type">;
|
|
109
|
+
readonly proposalExpiresAt: DateTime.Utc;
|
|
110
|
+
readonly envelopeDigest: string & import("effect/Brand").Brand<string>;
|
|
111
|
+
readonly releasePublication?: {
|
|
112
|
+
readonly releaseId: string & import("effect/Brand").Brand<"ReleaseId">;
|
|
113
|
+
readonly sourceRevisionDigest: string & import("effect/Brand").Brand<string>;
|
|
114
|
+
readonly sourceRevisionCount: number;
|
|
115
|
+
readonly predecessorPublicationActionId?: (string & import("effect/Brand").Brand<"GovernedActionId">) | null;
|
|
116
|
+
readonly templateSourceEntityId?: string & import("effect/Brand").Brand<"EntityId">;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
head: import("effect/Schema").Struct.ReadonlySide<{
|
|
120
|
+
readonly state: import("effect/Schema").Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
|
|
121
|
+
readonly lineage: import("effect/Schema").TaggedUnion<{
|
|
122
|
+
readonly accepted: import("effect/Schema").TaggedStruct<"accepted", {
|
|
123
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
124
|
+
readonly status: import("effect/Schema").Literal<"accepted">;
|
|
125
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
126
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
127
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
128
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
129
|
+
}>;
|
|
130
|
+
}>;
|
|
131
|
+
readonly reconcilable: import("effect/Schema").TaggedStruct<"reconcilable", {
|
|
132
|
+
readonly providerOperationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
133
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
134
|
+
}>;
|
|
135
|
+
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
136
|
+
readonly providerOperationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
137
|
+
}>;
|
|
138
|
+
readonly none: import("effect/Schema").TaggedStruct<"none", {}>;
|
|
139
|
+
readonly terminal: import("effect/Schema").TaggedStruct<"terminal", {
|
|
140
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
141
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
142
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
143
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
144
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
145
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
146
|
+
}>;
|
|
147
|
+
}>;
|
|
148
|
+
}>;
|
|
149
|
+
}, "Type">;
|
|
150
|
+
headTransition: import("effect/Schema").Struct.ReadonlySide<{
|
|
151
|
+
readonly commandDigest: import("effect/Schema").brand<import("effect/Schema").String, "GovernedActionCommandDigest">;
|
|
152
|
+
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
153
|
+
readonly transitionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionTransitionId">;
|
|
154
|
+
readonly previousTransitionId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionTransitionId">>;
|
|
155
|
+
readonly commandId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
156
|
+
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
157
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
158
|
+
readonly sequence: import("effect/Schema").Int;
|
|
159
|
+
readonly fromState: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>>;
|
|
160
|
+
readonly toState: import("effect/Schema").Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
|
|
161
|
+
readonly actionEnvelopeDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
162
|
+
readonly command: import("effect/Schema").TaggedUnion<{
|
|
163
|
+
readonly propose: import("effect/Schema").TaggedStruct<"propose", {}>;
|
|
164
|
+
readonly authorize: import("effect/Schema").TaggedStruct<"authorize", {
|
|
165
|
+
readonly authorizationId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAuthorizationId">;
|
|
166
|
+
}>;
|
|
167
|
+
readonly deny: import("effect/Schema").TaggedStruct<"deny", {
|
|
168
|
+
readonly reason: import("effect/Schema").Literals<readonly ["revision-changed", "evidence-stale", "evidence-invalid", "policy-denied", "session-invalid", "capability-changed", "plugin-unavailable", "preflight-blocked"]>;
|
|
169
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
170
|
+
}>;
|
|
171
|
+
readonly expire: import("effect/Schema").TaggedStruct<"expire", {
|
|
172
|
+
readonly reason: import("effect/Schema").Literals<readonly ["proposal-expired", "authorization-expired"]>;
|
|
173
|
+
}>;
|
|
174
|
+
readonly cancel: import("effect/Schema").TaggedStruct<"cancel", {
|
|
175
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
176
|
+
}>;
|
|
177
|
+
readonly start: import("effect/Schema").TaggedStruct<"start", {
|
|
178
|
+
readonly attemptId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAttemptId">;
|
|
179
|
+
}>;
|
|
180
|
+
readonly requestCancellation: import("effect/Schema").TaggedStruct<"requestCancellation", {
|
|
181
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
182
|
+
}>;
|
|
183
|
+
readonly recordAccepted: import("effect/Schema").TaggedStruct<"recordAccepted", {
|
|
184
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
185
|
+
readonly status: import("effect/Schema").Literal<"accepted">;
|
|
186
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
187
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
188
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
189
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
190
|
+
}>;
|
|
191
|
+
}>;
|
|
192
|
+
readonly recordSucceeded: import("effect/Schema").TaggedStruct<"recordSucceeded", {
|
|
193
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
194
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
195
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
196
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
197
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
198
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
199
|
+
}>;
|
|
200
|
+
readonly source: import("effect/Schema").TaggedUnion<{
|
|
201
|
+
readonly direct: import("effect/Schema").TaggedStruct<"direct", {}>;
|
|
202
|
+
readonly providerOperation: import("effect/Schema").TaggedStruct<"providerOperation", {
|
|
203
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
204
|
+
}>;
|
|
205
|
+
readonly reconciliation: import("effect/Schema").TaggedStruct<"reconciliation", {
|
|
206
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
207
|
+
}>;
|
|
208
|
+
}>;
|
|
209
|
+
}>;
|
|
210
|
+
readonly recordFailed: import("effect/Schema").TaggedStruct<"recordFailed", {
|
|
211
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
212
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
213
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
214
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
215
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
216
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
217
|
+
}>;
|
|
218
|
+
readonly source: import("effect/Schema").TaggedUnion<{
|
|
219
|
+
readonly direct: import("effect/Schema").TaggedStruct<"direct", {}>;
|
|
220
|
+
readonly providerOperation: import("effect/Schema").TaggedStruct<"providerOperation", {
|
|
221
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
222
|
+
}>;
|
|
223
|
+
readonly reconciliation: import("effect/Schema").TaggedStruct<"reconciliation", {
|
|
224
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
225
|
+
}>;
|
|
226
|
+
}>;
|
|
227
|
+
}>;
|
|
228
|
+
readonly recordUnknown: import("effect/Schema").TaggedStruct<"recordUnknown", {
|
|
229
|
+
readonly outcome: import("effect/Schema").TaggedUnion<{
|
|
230
|
+
readonly reconcilable: import("effect/Schema").TaggedStruct<"reconcilable", {
|
|
231
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
232
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
233
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
234
|
+
}>;
|
|
235
|
+
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
236
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
237
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
238
|
+
readonly reason: import("effect/Schema").Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
239
|
+
}>;
|
|
240
|
+
}>;
|
|
241
|
+
}>;
|
|
242
|
+
readonly recordCancelled: import("effect/Schema").TaggedStruct<"recordCancelled", {
|
|
243
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
244
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
245
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
246
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
247
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
248
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
249
|
+
}>;
|
|
250
|
+
readonly source: import("effect/Schema").TaggedUnion<{
|
|
251
|
+
readonly direct: import("effect/Schema").TaggedStruct<"direct", {}>;
|
|
252
|
+
readonly providerOperation: import("effect/Schema").TaggedStruct<"providerOperation", {
|
|
253
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
254
|
+
}>;
|
|
255
|
+
readonly reconciliation: import("effect/Schema").TaggedStruct<"reconciliation", {
|
|
256
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
257
|
+
}>;
|
|
258
|
+
}>;
|
|
259
|
+
}>;
|
|
260
|
+
readonly reconciliationPending: import("effect/Schema").TaggedStruct<"reconciliationPending", {
|
|
261
|
+
readonly checkedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
262
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
263
|
+
}>;
|
|
264
|
+
}>;
|
|
265
|
+
readonly cause: import("effect/Schema").TaggedUnion<{
|
|
266
|
+
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
267
|
+
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
268
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
269
|
+
}>;
|
|
270
|
+
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
271
|
+
}>;
|
|
272
|
+
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
273
|
+
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
274
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
275
|
+
}>;
|
|
276
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
277
|
+
}>;
|
|
278
|
+
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
279
|
+
readonly component: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
280
|
+
}>;
|
|
281
|
+
}>;
|
|
282
|
+
readonly occurredAt: import("effect/Schema").DateTimeUtcFromString;
|
|
283
|
+
readonly causationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "DomainEventId">>;
|
|
284
|
+
readonly correlationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "DomainEventCorrelationId">>;
|
|
285
|
+
}, "Type">;
|
|
286
|
+
history: import("effect/Schema").Struct.ReadonlySide<{
|
|
287
|
+
readonly commandDigest: import("effect/Schema").brand<import("effect/Schema").String, "GovernedActionCommandDigest">;
|
|
288
|
+
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
289
|
+
readonly transitionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionTransitionId">;
|
|
290
|
+
readonly previousTransitionId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionTransitionId">>;
|
|
291
|
+
readonly commandId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
292
|
+
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
293
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
294
|
+
readonly sequence: import("effect/Schema").Int;
|
|
295
|
+
readonly fromState: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>>;
|
|
296
|
+
readonly toState: import("effect/Schema").Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
|
|
297
|
+
readonly actionEnvelopeDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
298
|
+
readonly command: import("effect/Schema").TaggedUnion<{
|
|
299
|
+
readonly propose: import("effect/Schema").TaggedStruct<"propose", {}>;
|
|
300
|
+
readonly authorize: import("effect/Schema").TaggedStruct<"authorize", {
|
|
301
|
+
readonly authorizationId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAuthorizationId">;
|
|
302
|
+
}>;
|
|
303
|
+
readonly deny: import("effect/Schema").TaggedStruct<"deny", {
|
|
304
|
+
readonly reason: import("effect/Schema").Literals<readonly ["revision-changed", "evidence-stale", "evidence-invalid", "policy-denied", "session-invalid", "capability-changed", "plugin-unavailable", "preflight-blocked"]>;
|
|
305
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
306
|
+
}>;
|
|
307
|
+
readonly expire: import("effect/Schema").TaggedStruct<"expire", {
|
|
308
|
+
readonly reason: import("effect/Schema").Literals<readonly ["proposal-expired", "authorization-expired"]>;
|
|
309
|
+
}>;
|
|
310
|
+
readonly cancel: import("effect/Schema").TaggedStruct<"cancel", {
|
|
311
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
312
|
+
}>;
|
|
313
|
+
readonly start: import("effect/Schema").TaggedStruct<"start", {
|
|
314
|
+
readonly attemptId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAttemptId">;
|
|
315
|
+
}>;
|
|
316
|
+
readonly requestCancellation: import("effect/Schema").TaggedStruct<"requestCancellation", {
|
|
317
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
318
|
+
}>;
|
|
319
|
+
readonly recordAccepted: import("effect/Schema").TaggedStruct<"recordAccepted", {
|
|
320
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
321
|
+
readonly status: import("effect/Schema").Literal<"accepted">;
|
|
322
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
323
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
324
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
325
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
326
|
+
}>;
|
|
327
|
+
}>;
|
|
328
|
+
readonly recordSucceeded: import("effect/Schema").TaggedStruct<"recordSucceeded", {
|
|
329
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
330
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
331
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
332
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
333
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
334
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
335
|
+
}>;
|
|
336
|
+
readonly source: import("effect/Schema").TaggedUnion<{
|
|
337
|
+
readonly direct: import("effect/Schema").TaggedStruct<"direct", {}>;
|
|
338
|
+
readonly providerOperation: import("effect/Schema").TaggedStruct<"providerOperation", {
|
|
339
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
340
|
+
}>;
|
|
341
|
+
readonly reconciliation: import("effect/Schema").TaggedStruct<"reconciliation", {
|
|
342
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
343
|
+
}>;
|
|
344
|
+
}>;
|
|
345
|
+
}>;
|
|
346
|
+
readonly recordFailed: import("effect/Schema").TaggedStruct<"recordFailed", {
|
|
347
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
348
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
349
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
350
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
351
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
352
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
353
|
+
}>;
|
|
354
|
+
readonly source: import("effect/Schema").TaggedUnion<{
|
|
355
|
+
readonly direct: import("effect/Schema").TaggedStruct<"direct", {}>;
|
|
356
|
+
readonly providerOperation: import("effect/Schema").TaggedStruct<"providerOperation", {
|
|
357
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
358
|
+
}>;
|
|
359
|
+
readonly reconciliation: import("effect/Schema").TaggedStruct<"reconciliation", {
|
|
360
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
361
|
+
}>;
|
|
362
|
+
}>;
|
|
363
|
+
}>;
|
|
364
|
+
readonly recordUnknown: import("effect/Schema").TaggedStruct<"recordUnknown", {
|
|
365
|
+
readonly outcome: import("effect/Schema").TaggedUnion<{
|
|
366
|
+
readonly reconcilable: import("effect/Schema").TaggedStruct<"reconcilable", {
|
|
367
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
368
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
369
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
370
|
+
}>;
|
|
371
|
+
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
372
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
373
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
374
|
+
readonly reason: import("effect/Schema").Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
375
|
+
}>;
|
|
376
|
+
}>;
|
|
377
|
+
}>;
|
|
378
|
+
readonly recordCancelled: import("effect/Schema").TaggedStruct<"recordCancelled", {
|
|
379
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
380
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
381
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
382
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
383
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
384
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
385
|
+
}>;
|
|
386
|
+
readonly source: import("effect/Schema").TaggedUnion<{
|
|
387
|
+
readonly direct: import("effect/Schema").TaggedStruct<"direct", {}>;
|
|
388
|
+
readonly providerOperation: import("effect/Schema").TaggedStruct<"providerOperation", {
|
|
389
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
390
|
+
}>;
|
|
391
|
+
readonly reconciliation: import("effect/Schema").TaggedStruct<"reconciliation", {
|
|
392
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
393
|
+
}>;
|
|
394
|
+
}>;
|
|
395
|
+
}>;
|
|
396
|
+
readonly reconciliationPending: import("effect/Schema").TaggedStruct<"reconciliationPending", {
|
|
397
|
+
readonly checkedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
398
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
399
|
+
}>;
|
|
400
|
+
}>;
|
|
401
|
+
readonly cause: import("effect/Schema").TaggedUnion<{
|
|
402
|
+
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
403
|
+
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
404
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
405
|
+
}>;
|
|
406
|
+
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
407
|
+
}>;
|
|
408
|
+
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
409
|
+
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
410
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
411
|
+
}>;
|
|
412
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
413
|
+
}>;
|
|
414
|
+
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
415
|
+
readonly component: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
416
|
+
}>;
|
|
417
|
+
}>;
|
|
418
|
+
readonly occurredAt: import("effect/Schema").DateTimeUtcFromString;
|
|
419
|
+
readonly causationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "DomainEventId">>;
|
|
420
|
+
readonly correlationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "DomainEventCorrelationId">>;
|
|
421
|
+
}, "Type">[];
|
|
422
|
+
authorization: import("effect/Schema").Struct.ReadonlySide<{
|
|
423
|
+
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
424
|
+
readonly authorizationId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAuthorizationId">;
|
|
425
|
+
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
426
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
427
|
+
readonly pluginConnectionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PluginConnectionId">;
|
|
428
|
+
readonly pluginConnectionRevision: import("effect/Schema").brand<import("effect/Schema").Int, "GovernedActionPluginConnectionRevision">;
|
|
429
|
+
readonly pluginConnectionAuthorityDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
430
|
+
readonly actionEnvelopeDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
431
|
+
readonly idempotencyKey: import("effect/Schema").brand<import("effect/Schema").String, "GovernedActionIdempotencyKey">;
|
|
432
|
+
readonly payloadDigest: import("effect/Schema").brand<import("effect/Schema").String, "PluginActionPayloadDigest">;
|
|
433
|
+
readonly evidenceSetDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
434
|
+
readonly policyDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
435
|
+
readonly expectedRevision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
436
|
+
readonly capabilityVersion: import("effect/Schema").Int;
|
|
437
|
+
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
438
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
439
|
+
}>;
|
|
440
|
+
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
441
|
+
readonly sessionPermission: import("effect/Schema").Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
|
|
442
|
+
readonly sessionExpiresAt: import("effect/Schema").DateTimeUtcFromString;
|
|
443
|
+
readonly requiredPermission: import("effect/Schema").Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
|
|
444
|
+
readonly authorizedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
445
|
+
readonly expiresAt: import("effect/Schema").DateTimeUtcFromString;
|
|
446
|
+
}, "Type"> | null;
|
|
447
|
+
policyEvaluation: import("effect/Schema").Struct.ReadonlySide<{
|
|
448
|
+
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
449
|
+
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
450
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
451
|
+
readonly policy: import("effect/Schema").Struct<{
|
|
452
|
+
readonly policyId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
453
|
+
readonly policyVersion: import("effect/Schema").Int;
|
|
454
|
+
readonly policyDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
455
|
+
readonly requiredPermission: import("effect/Schema").Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
|
|
456
|
+
}>;
|
|
457
|
+
readonly payloadDigest: import("effect/Schema").brand<import("effect/Schema").String, "PluginActionPayloadDigest">;
|
|
458
|
+
readonly evidenceSetDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
459
|
+
readonly expectedRevision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
460
|
+
readonly decision: import("effect/Schema").Literals<readonly ["allowed", "denied"]>;
|
|
461
|
+
readonly evaluatedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
462
|
+
}, "Type"> | null;
|
|
463
|
+
attempt: import("effect/Schema").Struct.ReadonlySide<{
|
|
464
|
+
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
465
|
+
readonly attemptId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAttemptId">;
|
|
466
|
+
readonly authorizationId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAuthorizationId">;
|
|
467
|
+
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
468
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
469
|
+
readonly pluginConnectionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PluginConnectionId">;
|
|
470
|
+
readonly idempotencyKey: import("effect/Schema").brand<import("effect/Schema").String, "GovernedActionIdempotencyKey">;
|
|
471
|
+
readonly attemptNumber: import("effect/Schema").Literal<1>;
|
|
472
|
+
readonly actionEnvelopeDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
473
|
+
readonly expectedRevision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
474
|
+
readonly policyEvaluationDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
475
|
+
readonly preflight: import("effect/Schema").TaggedStruct<"ready", {
|
|
476
|
+
readonly checkedRevision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
477
|
+
readonly checkedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
478
|
+
}>;
|
|
479
|
+
readonly startedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
480
|
+
}, "Type"> | null;
|
|
481
|
+
}, import("../persistence/Persistence.js").PersistenceOperationFailure, never>;
|
|
482
|
+
readByIdempotencyKey: (input: unknown) => Effect.Effect<{
|
|
483
|
+
envelope: {
|
|
484
|
+
readonly providerId: "codecommit" | "codepipeline" | "jira" | "confluence" | "clockify";
|
|
485
|
+
readonly pluginConnectionId: string & import("effect/Brand").Brand<"PluginConnectionId">;
|
|
486
|
+
readonly workspaceId: string & import("effect/Brand").Brand<"WorkspaceId">;
|
|
487
|
+
readonly schemaVersion: 1;
|
|
488
|
+
readonly causationId: (string & import("effect/Brand").Brand<"DomainEventId">) | null;
|
|
489
|
+
readonly correlationId: (string & import("effect/Brand").Brand<"DomainEventCorrelationId">) | null;
|
|
490
|
+
readonly proposal: import("effect/Schema").Struct.ReadonlySide<{
|
|
491
|
+
readonly proposalKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
492
|
+
readonly capabilityVersion: import("effect/Schema").Int;
|
|
493
|
+
readonly request: import("effect/Schema").Struct<{
|
|
494
|
+
readonly actionKind: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
495
|
+
readonly target: import("effect/Schema").Struct<{
|
|
496
|
+
entityType: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
497
|
+
vendorImmutableId: import("effect/Schema").brand<import("effect/Schema").String, "VendorImmutableId">;
|
|
498
|
+
}>;
|
|
499
|
+
readonly expectedRevision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
500
|
+
readonly payload: import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>;
|
|
501
|
+
readonly evidenceIds: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
502
|
+
}>;
|
|
503
|
+
readonly payloadDigest: import("effect/Schema").brand<import("effect/Schema").String, "PluginActionPayloadDigest">;
|
|
504
|
+
readonly summary: import("effect/Schema").String;
|
|
505
|
+
readonly impact: import("effect/Schema").Struct<{
|
|
506
|
+
readonly level: import("effect/Schema").Literals<readonly ["low", "medium", "high", "critical"]>;
|
|
507
|
+
readonly summary: import("effect/Schema").String;
|
|
508
|
+
}>;
|
|
509
|
+
readonly proposedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
510
|
+
}, "Type">;
|
|
511
|
+
readonly idempotencyKey: string & import("effect/Brand").Brand<"GovernedActionIdempotencyKey">;
|
|
512
|
+
readonly pluginId: string & import("effect/Brand").Brand<string>;
|
|
513
|
+
readonly actionId: string & import("effect/Brand").Brand<"GovernedActionId">;
|
|
514
|
+
readonly policy: import("effect/Schema").Struct.ReadonlySide<{
|
|
515
|
+
readonly policyId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
516
|
+
readonly policyVersion: import("effect/Schema").Int;
|
|
517
|
+
readonly policyDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
518
|
+
readonly requiredPermission: import("effect/Schema").Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
|
|
519
|
+
}, "Type">;
|
|
520
|
+
readonly evidenceSetDigest: string & import("effect/Brand").Brand<string>;
|
|
521
|
+
readonly pluginConnectionRevision: number & import("effect/Brand").Brand<"GovernedActionPluginConnectionRevision">;
|
|
522
|
+
readonly pluginConnectionAuthorityDigest: string & import("effect/Brand").Brand<string>;
|
|
523
|
+
readonly pluginContractVersion: import("effect/Schema").Struct.ReadonlySide<{
|
|
524
|
+
readonly major: import("effect/Schema").Int;
|
|
525
|
+
readonly minor: import("effect/Schema").Int;
|
|
526
|
+
readonly patch: import("effect/Schema").Int;
|
|
527
|
+
}, "Type">;
|
|
528
|
+
readonly pluginAdapterVersion: import("effect/Schema").Struct.ReadonlySide<{
|
|
529
|
+
readonly major: import("effect/Schema").Int;
|
|
530
|
+
readonly minor: import("effect/Schema").Int;
|
|
531
|
+
readonly patch: import("effect/Schema").Int;
|
|
532
|
+
}, "Type">;
|
|
533
|
+
readonly capability: import("effect/Schema").Struct.ReadonlySide<{
|
|
534
|
+
readonly capabilityId: import("effect/Schema").Literal<"action.execute">;
|
|
535
|
+
readonly version: import("effect/Schema").Int;
|
|
536
|
+
}, "Type">;
|
|
537
|
+
readonly targetEntityId: string & import("effect/Brand").Brand<"EntityId">;
|
|
538
|
+
readonly evidence: readonly import("effect/Schema").Struct.ReadonlySide<{
|
|
539
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
540
|
+
readonly evidenceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EvidenceId">;
|
|
541
|
+
readonly evidenceClaimIds: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EvidenceClaimId">>;
|
|
542
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
543
|
+
readonly validUntil: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromString>;
|
|
544
|
+
readonly currentUntil: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromString>;
|
|
545
|
+
readonly evaluatedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
546
|
+
readonly source: import("effect/Schema").Literals<readonly ["current", "stale", "missing", "unavailable"]>;
|
|
547
|
+
readonly validity: import("effect/Schema").Literals<readonly ["valid", "expired"]>;
|
|
548
|
+
}, "Type">[];
|
|
549
|
+
readonly origin: import("effect/Schema").Struct.ReadonlySide<{
|
|
550
|
+
readonly _tag: import("effect/Schema").tag<"human">;
|
|
551
|
+
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
552
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
553
|
+
}>;
|
|
554
|
+
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
555
|
+
}, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
556
|
+
readonly _tag: import("effect/Schema").tag<"agent">;
|
|
557
|
+
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
558
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
559
|
+
}>;
|
|
560
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
561
|
+
readonly initiatingSessionId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">>;
|
|
562
|
+
}, "Type">;
|
|
563
|
+
readonly proposalExpiresAt: DateTime.Utc;
|
|
564
|
+
readonly envelopeDigest: string & import("effect/Brand").Brand<string>;
|
|
565
|
+
readonly releasePublication?: {
|
|
566
|
+
readonly releaseId: string & import("effect/Brand").Brand<"ReleaseId">;
|
|
567
|
+
readonly sourceRevisionDigest: string & import("effect/Brand").Brand<string>;
|
|
568
|
+
readonly sourceRevisionCount: number;
|
|
569
|
+
readonly predecessorPublicationActionId?: (string & import("effect/Brand").Brand<"GovernedActionId">) | null;
|
|
570
|
+
readonly templateSourceEntityId?: string & import("effect/Brand").Brand<"EntityId">;
|
|
571
|
+
};
|
|
572
|
+
};
|
|
573
|
+
head: import("effect/Schema").Struct.ReadonlySide<{
|
|
574
|
+
readonly state: import("effect/Schema").Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
|
|
575
|
+
readonly lineage: import("effect/Schema").TaggedUnion<{
|
|
576
|
+
readonly accepted: import("effect/Schema").TaggedStruct<"accepted", {
|
|
577
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
578
|
+
readonly status: import("effect/Schema").Literal<"accepted">;
|
|
579
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
580
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
581
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
582
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
583
|
+
}>;
|
|
584
|
+
}>;
|
|
585
|
+
readonly reconcilable: import("effect/Schema").TaggedStruct<"reconcilable", {
|
|
586
|
+
readonly providerOperationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
587
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
588
|
+
}>;
|
|
589
|
+
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
590
|
+
readonly providerOperationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
591
|
+
}>;
|
|
592
|
+
readonly none: import("effect/Schema").TaggedStruct<"none", {}>;
|
|
593
|
+
readonly terminal: import("effect/Schema").TaggedStruct<"terminal", {
|
|
594
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
595
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
596
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
597
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
598
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
599
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
600
|
+
}>;
|
|
601
|
+
}>;
|
|
602
|
+
}>;
|
|
603
|
+
}, "Type">;
|
|
604
|
+
headTransition: import("effect/Schema").Struct.ReadonlySide<{
|
|
605
|
+
readonly commandDigest: import("effect/Schema").brand<import("effect/Schema").String, "GovernedActionCommandDigest">;
|
|
606
|
+
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
607
|
+
readonly transitionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionTransitionId">;
|
|
608
|
+
readonly previousTransitionId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionTransitionId">>;
|
|
609
|
+
readonly commandId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
610
|
+
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
611
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
612
|
+
readonly sequence: import("effect/Schema").Int;
|
|
613
|
+
readonly fromState: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>>;
|
|
614
|
+
readonly toState: import("effect/Schema").Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
|
|
615
|
+
readonly actionEnvelopeDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
616
|
+
readonly command: import("effect/Schema").TaggedUnion<{
|
|
617
|
+
readonly propose: import("effect/Schema").TaggedStruct<"propose", {}>;
|
|
618
|
+
readonly authorize: import("effect/Schema").TaggedStruct<"authorize", {
|
|
619
|
+
readonly authorizationId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAuthorizationId">;
|
|
620
|
+
}>;
|
|
621
|
+
readonly deny: import("effect/Schema").TaggedStruct<"deny", {
|
|
622
|
+
readonly reason: import("effect/Schema").Literals<readonly ["revision-changed", "evidence-stale", "evidence-invalid", "policy-denied", "session-invalid", "capability-changed", "plugin-unavailable", "preflight-blocked"]>;
|
|
623
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
624
|
+
}>;
|
|
625
|
+
readonly expire: import("effect/Schema").TaggedStruct<"expire", {
|
|
626
|
+
readonly reason: import("effect/Schema").Literals<readonly ["proposal-expired", "authorization-expired"]>;
|
|
627
|
+
}>;
|
|
628
|
+
readonly cancel: import("effect/Schema").TaggedStruct<"cancel", {
|
|
629
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
630
|
+
}>;
|
|
631
|
+
readonly start: import("effect/Schema").TaggedStruct<"start", {
|
|
632
|
+
readonly attemptId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAttemptId">;
|
|
633
|
+
}>;
|
|
634
|
+
readonly requestCancellation: import("effect/Schema").TaggedStruct<"requestCancellation", {
|
|
635
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
636
|
+
}>;
|
|
637
|
+
readonly recordAccepted: import("effect/Schema").TaggedStruct<"recordAccepted", {
|
|
638
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
639
|
+
readonly status: import("effect/Schema").Literal<"accepted">;
|
|
640
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
641
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
642
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
643
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
644
|
+
}>;
|
|
645
|
+
}>;
|
|
646
|
+
readonly recordSucceeded: import("effect/Schema").TaggedStruct<"recordSucceeded", {
|
|
647
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
648
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
649
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
650
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
651
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
652
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
653
|
+
}>;
|
|
654
|
+
readonly source: import("effect/Schema").TaggedUnion<{
|
|
655
|
+
readonly direct: import("effect/Schema").TaggedStruct<"direct", {}>;
|
|
656
|
+
readonly providerOperation: import("effect/Schema").TaggedStruct<"providerOperation", {
|
|
657
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
658
|
+
}>;
|
|
659
|
+
readonly reconciliation: import("effect/Schema").TaggedStruct<"reconciliation", {
|
|
660
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
661
|
+
}>;
|
|
662
|
+
}>;
|
|
663
|
+
}>;
|
|
664
|
+
readonly recordFailed: import("effect/Schema").TaggedStruct<"recordFailed", {
|
|
665
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
666
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
667
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
668
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
669
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
670
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
671
|
+
}>;
|
|
672
|
+
readonly source: import("effect/Schema").TaggedUnion<{
|
|
673
|
+
readonly direct: import("effect/Schema").TaggedStruct<"direct", {}>;
|
|
674
|
+
readonly providerOperation: import("effect/Schema").TaggedStruct<"providerOperation", {
|
|
675
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
676
|
+
}>;
|
|
677
|
+
readonly reconciliation: import("effect/Schema").TaggedStruct<"reconciliation", {
|
|
678
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
679
|
+
}>;
|
|
680
|
+
}>;
|
|
681
|
+
}>;
|
|
682
|
+
readonly recordUnknown: import("effect/Schema").TaggedStruct<"recordUnknown", {
|
|
683
|
+
readonly outcome: import("effect/Schema").TaggedUnion<{
|
|
684
|
+
readonly reconcilable: import("effect/Schema").TaggedStruct<"reconcilable", {
|
|
685
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
686
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
687
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
688
|
+
}>;
|
|
689
|
+
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
690
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
691
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
692
|
+
readonly reason: import("effect/Schema").Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
693
|
+
}>;
|
|
694
|
+
}>;
|
|
695
|
+
}>;
|
|
696
|
+
readonly recordCancelled: import("effect/Schema").TaggedStruct<"recordCancelled", {
|
|
697
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
698
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
699
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
700
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
701
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
702
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
703
|
+
}>;
|
|
704
|
+
readonly source: import("effect/Schema").TaggedUnion<{
|
|
705
|
+
readonly direct: import("effect/Schema").TaggedStruct<"direct", {}>;
|
|
706
|
+
readonly providerOperation: import("effect/Schema").TaggedStruct<"providerOperation", {
|
|
707
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
708
|
+
}>;
|
|
709
|
+
readonly reconciliation: import("effect/Schema").TaggedStruct<"reconciliation", {
|
|
710
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
711
|
+
}>;
|
|
712
|
+
}>;
|
|
713
|
+
}>;
|
|
714
|
+
readonly reconciliationPending: import("effect/Schema").TaggedStruct<"reconciliationPending", {
|
|
715
|
+
readonly checkedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
716
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
717
|
+
}>;
|
|
718
|
+
}>;
|
|
719
|
+
readonly cause: import("effect/Schema").TaggedUnion<{
|
|
720
|
+
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
721
|
+
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
722
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
723
|
+
}>;
|
|
724
|
+
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
725
|
+
}>;
|
|
726
|
+
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
727
|
+
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
728
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
729
|
+
}>;
|
|
730
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
731
|
+
}>;
|
|
732
|
+
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
733
|
+
readonly component: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
734
|
+
}>;
|
|
735
|
+
}>;
|
|
736
|
+
readonly occurredAt: import("effect/Schema").DateTimeUtcFromString;
|
|
737
|
+
readonly causationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "DomainEventId">>;
|
|
738
|
+
readonly correlationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "DomainEventCorrelationId">>;
|
|
739
|
+
}, "Type">;
|
|
740
|
+
history: import("effect/Schema").Struct.ReadonlySide<{
|
|
741
|
+
readonly commandDigest: import("effect/Schema").brand<import("effect/Schema").String, "GovernedActionCommandDigest">;
|
|
742
|
+
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
743
|
+
readonly transitionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionTransitionId">;
|
|
744
|
+
readonly previousTransitionId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionTransitionId">>;
|
|
745
|
+
readonly commandId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
746
|
+
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
747
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
748
|
+
readonly sequence: import("effect/Schema").Int;
|
|
749
|
+
readonly fromState: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>>;
|
|
750
|
+
readonly toState: import("effect/Schema").Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
|
|
751
|
+
readonly actionEnvelopeDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
752
|
+
readonly command: import("effect/Schema").TaggedUnion<{
|
|
753
|
+
readonly propose: import("effect/Schema").TaggedStruct<"propose", {}>;
|
|
754
|
+
readonly authorize: import("effect/Schema").TaggedStruct<"authorize", {
|
|
755
|
+
readonly authorizationId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAuthorizationId">;
|
|
756
|
+
}>;
|
|
757
|
+
readonly deny: import("effect/Schema").TaggedStruct<"deny", {
|
|
758
|
+
readonly reason: import("effect/Schema").Literals<readonly ["revision-changed", "evidence-stale", "evidence-invalid", "policy-denied", "session-invalid", "capability-changed", "plugin-unavailable", "preflight-blocked"]>;
|
|
759
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
760
|
+
}>;
|
|
761
|
+
readonly expire: import("effect/Schema").TaggedStruct<"expire", {
|
|
762
|
+
readonly reason: import("effect/Schema").Literals<readonly ["proposal-expired", "authorization-expired"]>;
|
|
763
|
+
}>;
|
|
764
|
+
readonly cancel: import("effect/Schema").TaggedStruct<"cancel", {
|
|
765
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
766
|
+
}>;
|
|
767
|
+
readonly start: import("effect/Schema").TaggedStruct<"start", {
|
|
768
|
+
readonly attemptId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAttemptId">;
|
|
769
|
+
}>;
|
|
770
|
+
readonly requestCancellation: import("effect/Schema").TaggedStruct<"requestCancellation", {
|
|
771
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
772
|
+
}>;
|
|
773
|
+
readonly recordAccepted: import("effect/Schema").TaggedStruct<"recordAccepted", {
|
|
774
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
775
|
+
readonly status: import("effect/Schema").Literal<"accepted">;
|
|
776
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
777
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
778
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
779
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
780
|
+
}>;
|
|
781
|
+
}>;
|
|
782
|
+
readonly recordSucceeded: import("effect/Schema").TaggedStruct<"recordSucceeded", {
|
|
783
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
784
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
785
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
786
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
787
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
788
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
789
|
+
}>;
|
|
790
|
+
readonly source: import("effect/Schema").TaggedUnion<{
|
|
791
|
+
readonly direct: import("effect/Schema").TaggedStruct<"direct", {}>;
|
|
792
|
+
readonly providerOperation: import("effect/Schema").TaggedStruct<"providerOperation", {
|
|
793
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
794
|
+
}>;
|
|
795
|
+
readonly reconciliation: import("effect/Schema").TaggedStruct<"reconciliation", {
|
|
796
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
797
|
+
}>;
|
|
798
|
+
}>;
|
|
799
|
+
}>;
|
|
800
|
+
readonly recordFailed: import("effect/Schema").TaggedStruct<"recordFailed", {
|
|
801
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
802
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
803
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
804
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
805
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
806
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
807
|
+
}>;
|
|
808
|
+
readonly source: import("effect/Schema").TaggedUnion<{
|
|
809
|
+
readonly direct: import("effect/Schema").TaggedStruct<"direct", {}>;
|
|
810
|
+
readonly providerOperation: import("effect/Schema").TaggedStruct<"providerOperation", {
|
|
811
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
812
|
+
}>;
|
|
813
|
+
readonly reconciliation: import("effect/Schema").TaggedStruct<"reconciliation", {
|
|
814
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
815
|
+
}>;
|
|
816
|
+
}>;
|
|
817
|
+
}>;
|
|
818
|
+
readonly recordUnknown: import("effect/Schema").TaggedStruct<"recordUnknown", {
|
|
819
|
+
readonly outcome: import("effect/Schema").TaggedUnion<{
|
|
820
|
+
readonly reconcilable: import("effect/Schema").TaggedStruct<"reconcilable", {
|
|
821
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
822
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
823
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
824
|
+
}>;
|
|
825
|
+
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
826
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
827
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
828
|
+
readonly reason: import("effect/Schema").Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
829
|
+
}>;
|
|
830
|
+
}>;
|
|
831
|
+
}>;
|
|
832
|
+
readonly recordCancelled: import("effect/Schema").TaggedStruct<"recordCancelled", {
|
|
833
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
834
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
835
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
836
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
837
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
838
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
839
|
+
}>;
|
|
840
|
+
readonly source: import("effect/Schema").TaggedUnion<{
|
|
841
|
+
readonly direct: import("effect/Schema").TaggedStruct<"direct", {}>;
|
|
842
|
+
readonly providerOperation: import("effect/Schema").TaggedStruct<"providerOperation", {
|
|
843
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
844
|
+
}>;
|
|
845
|
+
readonly reconciliation: import("effect/Schema").TaggedStruct<"reconciliation", {
|
|
846
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
847
|
+
}>;
|
|
848
|
+
}>;
|
|
849
|
+
}>;
|
|
850
|
+
readonly reconciliationPending: import("effect/Schema").TaggedStruct<"reconciliationPending", {
|
|
851
|
+
readonly checkedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
852
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
853
|
+
}>;
|
|
854
|
+
}>;
|
|
855
|
+
readonly cause: import("effect/Schema").TaggedUnion<{
|
|
856
|
+
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
857
|
+
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
858
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
859
|
+
}>;
|
|
860
|
+
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
861
|
+
}>;
|
|
862
|
+
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
863
|
+
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
864
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
865
|
+
}>;
|
|
866
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
867
|
+
}>;
|
|
868
|
+
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
869
|
+
readonly component: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
870
|
+
}>;
|
|
871
|
+
}>;
|
|
872
|
+
readonly occurredAt: import("effect/Schema").DateTimeUtcFromString;
|
|
873
|
+
readonly causationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "DomainEventId">>;
|
|
874
|
+
readonly correlationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "DomainEventCorrelationId">>;
|
|
875
|
+
}, "Type">[];
|
|
876
|
+
authorization: import("effect/Schema").Struct.ReadonlySide<{
|
|
877
|
+
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
878
|
+
readonly authorizationId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAuthorizationId">;
|
|
879
|
+
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
880
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
881
|
+
readonly pluginConnectionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PluginConnectionId">;
|
|
882
|
+
readonly pluginConnectionRevision: import("effect/Schema").brand<import("effect/Schema").Int, "GovernedActionPluginConnectionRevision">;
|
|
883
|
+
readonly pluginConnectionAuthorityDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
884
|
+
readonly actionEnvelopeDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
885
|
+
readonly idempotencyKey: import("effect/Schema").brand<import("effect/Schema").String, "GovernedActionIdempotencyKey">;
|
|
886
|
+
readonly payloadDigest: import("effect/Schema").brand<import("effect/Schema").String, "PluginActionPayloadDigest">;
|
|
887
|
+
readonly evidenceSetDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
888
|
+
readonly policyDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
889
|
+
readonly expectedRevision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
890
|
+
readonly capabilityVersion: import("effect/Schema").Int;
|
|
891
|
+
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
892
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
893
|
+
}>;
|
|
894
|
+
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
895
|
+
readonly sessionPermission: import("effect/Schema").Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
|
|
896
|
+
readonly sessionExpiresAt: import("effect/Schema").DateTimeUtcFromString;
|
|
897
|
+
readonly requiredPermission: import("effect/Schema").Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
|
|
898
|
+
readonly authorizedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
899
|
+
readonly expiresAt: import("effect/Schema").DateTimeUtcFromString;
|
|
900
|
+
}, "Type"> | null;
|
|
901
|
+
policyEvaluation: import("effect/Schema").Struct.ReadonlySide<{
|
|
902
|
+
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
903
|
+
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
904
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
905
|
+
readonly policy: import("effect/Schema").Struct<{
|
|
906
|
+
readonly policyId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
907
|
+
readonly policyVersion: import("effect/Schema").Int;
|
|
908
|
+
readonly policyDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
909
|
+
readonly requiredPermission: import("effect/Schema").Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
|
|
910
|
+
}>;
|
|
911
|
+
readonly payloadDigest: import("effect/Schema").brand<import("effect/Schema").String, "PluginActionPayloadDigest">;
|
|
912
|
+
readonly evidenceSetDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
913
|
+
readonly expectedRevision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
914
|
+
readonly decision: import("effect/Schema").Literals<readonly ["allowed", "denied"]>;
|
|
915
|
+
readonly evaluatedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
916
|
+
}, "Type"> | null;
|
|
917
|
+
attempt: import("effect/Schema").Struct.ReadonlySide<{
|
|
918
|
+
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
919
|
+
readonly attemptId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAttemptId">;
|
|
920
|
+
readonly authorizationId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAuthorizationId">;
|
|
921
|
+
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
922
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
923
|
+
readonly pluginConnectionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PluginConnectionId">;
|
|
924
|
+
readonly idempotencyKey: import("effect/Schema").brand<import("effect/Schema").String, "GovernedActionIdempotencyKey">;
|
|
925
|
+
readonly attemptNumber: import("effect/Schema").Literal<1>;
|
|
926
|
+
readonly actionEnvelopeDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
927
|
+
readonly expectedRevision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
928
|
+
readonly policyEvaluationDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
929
|
+
readonly preflight: import("effect/Schema").TaggedStruct<"ready", {
|
|
930
|
+
readonly checkedRevision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
931
|
+
readonly checkedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
932
|
+
}>;
|
|
933
|
+
readonly startedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
934
|
+
}, "Type"> | null;
|
|
935
|
+
}, import("../persistence/Persistence.js").PersistenceOperationFailure, never>;
|
|
936
|
+
readLatestTerminalByTarget: (input: unknown) => Effect.Effect<readonly import("effect/Schema").Struct.ReadonlySide<{
|
|
937
|
+
readonly envelope: import("effect/Schema").Struct<{
|
|
938
|
+
readonly envelopeDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
939
|
+
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
940
|
+
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
941
|
+
readonly idempotencyKey: import("effect/Schema").brand<import("effect/Schema").String, "GovernedActionIdempotencyKey">;
|
|
942
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
943
|
+
readonly pluginConnectionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PluginConnectionId">;
|
|
944
|
+
readonly pluginConnectionRevision: import("effect/Schema").brand<import("effect/Schema").Int, "GovernedActionPluginConnectionRevision">;
|
|
945
|
+
readonly pluginConnectionAuthorityDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
946
|
+
readonly pluginId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
947
|
+
readonly pluginContractVersion: import("effect/Schema").Struct<{
|
|
948
|
+
readonly major: import("effect/Schema").Int;
|
|
949
|
+
readonly minor: import("effect/Schema").Int;
|
|
950
|
+
readonly patch: import("effect/Schema").Int;
|
|
951
|
+
}>;
|
|
952
|
+
readonly pluginAdapterVersion: import("effect/Schema").Struct<{
|
|
953
|
+
readonly major: import("effect/Schema").Int;
|
|
954
|
+
readonly minor: import("effect/Schema").Int;
|
|
955
|
+
readonly patch: import("effect/Schema").Int;
|
|
956
|
+
}>;
|
|
957
|
+
readonly providerId: import("effect/Schema").Literals<readonly ["codecommit", "codepipeline", "jira", "confluence", "clockify"]>;
|
|
958
|
+
readonly capability: import("effect/Schema").Struct<{
|
|
959
|
+
readonly capabilityId: import("effect/Schema").Literal<"action.execute">;
|
|
960
|
+
readonly version: import("effect/Schema").Int;
|
|
961
|
+
}>;
|
|
962
|
+
readonly targetEntityId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EntityId">;
|
|
963
|
+
readonly proposal: import("effect/Schema").Struct<{
|
|
964
|
+
readonly proposalKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
965
|
+
readonly capabilityVersion: import("effect/Schema").Int;
|
|
966
|
+
readonly request: import("effect/Schema").Struct<{
|
|
967
|
+
readonly actionKind: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
968
|
+
readonly target: import("effect/Schema").Struct<{
|
|
969
|
+
entityType: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
970
|
+
vendorImmutableId: import("effect/Schema").brand<import("effect/Schema").String, "VendorImmutableId">;
|
|
971
|
+
}>;
|
|
972
|
+
readonly expectedRevision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
973
|
+
readonly payload: import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>;
|
|
974
|
+
readonly evidenceIds: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
975
|
+
}>;
|
|
976
|
+
readonly payloadDigest: import("effect/Schema").brand<import("effect/Schema").String, "PluginActionPayloadDigest">;
|
|
977
|
+
readonly summary: import("effect/Schema").String;
|
|
978
|
+
readonly impact: import("effect/Schema").Struct<{
|
|
979
|
+
readonly level: import("effect/Schema").Literals<readonly ["low", "medium", "high", "critical"]>;
|
|
980
|
+
readonly summary: import("effect/Schema").String;
|
|
981
|
+
}>;
|
|
982
|
+
readonly proposedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
983
|
+
}>;
|
|
984
|
+
readonly evidence: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
985
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
986
|
+
readonly evidenceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EvidenceId">;
|
|
987
|
+
readonly evidenceClaimIds: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EvidenceClaimId">>;
|
|
988
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
989
|
+
readonly validUntil: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromString>;
|
|
990
|
+
readonly currentUntil: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromString>;
|
|
991
|
+
readonly evaluatedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
992
|
+
readonly source: import("effect/Schema").Literals<readonly ["current", "stale", "missing", "unavailable"]>;
|
|
993
|
+
readonly validity: import("effect/Schema").Literals<readonly ["valid", "expired"]>;
|
|
994
|
+
}>>;
|
|
995
|
+
readonly evidenceSetDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
996
|
+
readonly policy: import("effect/Schema").Struct<{
|
|
997
|
+
readonly policyId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
998
|
+
readonly policyVersion: import("effect/Schema").Int;
|
|
999
|
+
readonly policyDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1000
|
+
readonly requiredPermission: import("effect/Schema").Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
|
|
1001
|
+
}>;
|
|
1002
|
+
readonly origin: import("effect/Schema").TaggedUnion<{
|
|
1003
|
+
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
1004
|
+
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
1005
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
1006
|
+
}>;
|
|
1007
|
+
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
1008
|
+
}>;
|
|
1009
|
+
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
1010
|
+
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
1011
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
1012
|
+
}>;
|
|
1013
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
1014
|
+
readonly initiatingSessionId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">>;
|
|
1015
|
+
}>;
|
|
1016
|
+
}>;
|
|
1017
|
+
readonly proposalExpiresAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1018
|
+
readonly causationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "DomainEventId">>;
|
|
1019
|
+
readonly correlationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "DomainEventCorrelationId">>;
|
|
1020
|
+
readonly releasePublication: import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
1021
|
+
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
1022
|
+
readonly predecessorPublicationActionId: import("effect/Schema").optionalKey<import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">>>;
|
|
1023
|
+
readonly templateSourceEntityId: import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EntityId">>;
|
|
1024
|
+
readonly sourceRevisionDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1025
|
+
readonly sourceRevisionCount: import("effect/Schema").Int;
|
|
1026
|
+
}>>;
|
|
1027
|
+
}>;
|
|
1028
|
+
readonly head: import("effect/Schema").Struct<{
|
|
1029
|
+
readonly state: import("effect/Schema").Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
|
|
1030
|
+
readonly lineage: import("effect/Schema").TaggedUnion<{
|
|
1031
|
+
readonly accepted: import("effect/Schema").TaggedStruct<"accepted", {
|
|
1032
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
1033
|
+
readonly status: import("effect/Schema").Literal<"accepted">;
|
|
1034
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1035
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1036
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1037
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1038
|
+
}>;
|
|
1039
|
+
}>;
|
|
1040
|
+
readonly reconcilable: import("effect/Schema").TaggedStruct<"reconcilable", {
|
|
1041
|
+
readonly providerOperationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
1042
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1043
|
+
}>;
|
|
1044
|
+
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
1045
|
+
readonly providerOperationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
1046
|
+
}>;
|
|
1047
|
+
readonly none: import("effect/Schema").TaggedStruct<"none", {}>;
|
|
1048
|
+
readonly terminal: import("effect/Schema").TaggedStruct<"terminal", {
|
|
1049
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
1050
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
1051
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
1052
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1053
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1054
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1055
|
+
}>;
|
|
1056
|
+
}>;
|
|
1057
|
+
}>;
|
|
1058
|
+
}>;
|
|
1059
|
+
readonly headTransition: import("effect/Schema").Struct<{
|
|
1060
|
+
readonly commandDigest: import("effect/Schema").brand<import("effect/Schema").String, "GovernedActionCommandDigest">;
|
|
1061
|
+
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
1062
|
+
readonly transitionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionTransitionId">;
|
|
1063
|
+
readonly previousTransitionId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionTransitionId">>;
|
|
1064
|
+
readonly commandId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1065
|
+
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
1066
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
1067
|
+
readonly sequence: import("effect/Schema").Int;
|
|
1068
|
+
readonly fromState: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>>;
|
|
1069
|
+
readonly toState: import("effect/Schema").Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
|
|
1070
|
+
readonly actionEnvelopeDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1071
|
+
readonly command: import("effect/Schema").TaggedUnion<{
|
|
1072
|
+
readonly propose: import("effect/Schema").TaggedStruct<"propose", {}>;
|
|
1073
|
+
readonly authorize: import("effect/Schema").TaggedStruct<"authorize", {
|
|
1074
|
+
readonly authorizationId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAuthorizationId">;
|
|
1075
|
+
}>;
|
|
1076
|
+
readonly deny: import("effect/Schema").TaggedStruct<"deny", {
|
|
1077
|
+
readonly reason: import("effect/Schema").Literals<readonly ["revision-changed", "evidence-stale", "evidence-invalid", "policy-denied", "session-invalid", "capability-changed", "plugin-unavailable", "preflight-blocked"]>;
|
|
1078
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1079
|
+
}>;
|
|
1080
|
+
readonly expire: import("effect/Schema").TaggedStruct<"expire", {
|
|
1081
|
+
readonly reason: import("effect/Schema").Literals<readonly ["proposal-expired", "authorization-expired"]>;
|
|
1082
|
+
}>;
|
|
1083
|
+
readonly cancel: import("effect/Schema").TaggedStruct<"cancel", {
|
|
1084
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1085
|
+
}>;
|
|
1086
|
+
readonly start: import("effect/Schema").TaggedStruct<"start", {
|
|
1087
|
+
readonly attemptId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAttemptId">;
|
|
1088
|
+
}>;
|
|
1089
|
+
readonly requestCancellation: import("effect/Schema").TaggedStruct<"requestCancellation", {
|
|
1090
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1091
|
+
}>;
|
|
1092
|
+
readonly recordAccepted: import("effect/Schema").TaggedStruct<"recordAccepted", {
|
|
1093
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
1094
|
+
readonly status: import("effect/Schema").Literal<"accepted">;
|
|
1095
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1096
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1097
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1098
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1099
|
+
}>;
|
|
1100
|
+
}>;
|
|
1101
|
+
readonly recordSucceeded: import("effect/Schema").TaggedStruct<"recordSucceeded", {
|
|
1102
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
1103
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
1104
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
1105
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1106
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1107
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1108
|
+
}>;
|
|
1109
|
+
readonly source: import("effect/Schema").TaggedUnion<{
|
|
1110
|
+
readonly direct: import("effect/Schema").TaggedStruct<"direct", {}>;
|
|
1111
|
+
readonly providerOperation: import("effect/Schema").TaggedStruct<"providerOperation", {
|
|
1112
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1113
|
+
}>;
|
|
1114
|
+
readonly reconciliation: import("effect/Schema").TaggedStruct<"reconciliation", {
|
|
1115
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
1116
|
+
}>;
|
|
1117
|
+
}>;
|
|
1118
|
+
}>;
|
|
1119
|
+
readonly recordFailed: import("effect/Schema").TaggedStruct<"recordFailed", {
|
|
1120
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
1121
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
1122
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
1123
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1124
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1125
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1126
|
+
}>;
|
|
1127
|
+
readonly source: import("effect/Schema").TaggedUnion<{
|
|
1128
|
+
readonly direct: import("effect/Schema").TaggedStruct<"direct", {}>;
|
|
1129
|
+
readonly providerOperation: import("effect/Schema").TaggedStruct<"providerOperation", {
|
|
1130
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1131
|
+
}>;
|
|
1132
|
+
readonly reconciliation: import("effect/Schema").TaggedStruct<"reconciliation", {
|
|
1133
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
1134
|
+
}>;
|
|
1135
|
+
}>;
|
|
1136
|
+
}>;
|
|
1137
|
+
readonly recordUnknown: import("effect/Schema").TaggedStruct<"recordUnknown", {
|
|
1138
|
+
readonly outcome: import("effect/Schema").TaggedUnion<{
|
|
1139
|
+
readonly reconcilable: import("effect/Schema").TaggedStruct<"reconcilable", {
|
|
1140
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1141
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1142
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1143
|
+
}>;
|
|
1144
|
+
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
1145
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1146
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1147
|
+
readonly reason: import("effect/Schema").Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
1148
|
+
}>;
|
|
1149
|
+
}>;
|
|
1150
|
+
}>;
|
|
1151
|
+
readonly recordCancelled: import("effect/Schema").TaggedStruct<"recordCancelled", {
|
|
1152
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
1153
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
1154
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
1155
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1156
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1157
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1158
|
+
}>;
|
|
1159
|
+
readonly source: import("effect/Schema").TaggedUnion<{
|
|
1160
|
+
readonly direct: import("effect/Schema").TaggedStruct<"direct", {}>;
|
|
1161
|
+
readonly providerOperation: import("effect/Schema").TaggedStruct<"providerOperation", {
|
|
1162
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1163
|
+
}>;
|
|
1164
|
+
readonly reconciliation: import("effect/Schema").TaggedStruct<"reconciliation", {
|
|
1165
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
1166
|
+
}>;
|
|
1167
|
+
}>;
|
|
1168
|
+
}>;
|
|
1169
|
+
readonly reconciliationPending: import("effect/Schema").TaggedStruct<"reconciliationPending", {
|
|
1170
|
+
readonly checkedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1171
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
1172
|
+
}>;
|
|
1173
|
+
}>;
|
|
1174
|
+
readonly cause: import("effect/Schema").TaggedUnion<{
|
|
1175
|
+
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
1176
|
+
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
1177
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
1178
|
+
}>;
|
|
1179
|
+
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
1180
|
+
}>;
|
|
1181
|
+
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
1182
|
+
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
1183
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
1184
|
+
}>;
|
|
1185
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
1186
|
+
}>;
|
|
1187
|
+
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
1188
|
+
readonly component: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1189
|
+
}>;
|
|
1190
|
+
}>;
|
|
1191
|
+
readonly occurredAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1192
|
+
readonly causationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "DomainEventId">>;
|
|
1193
|
+
readonly correlationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "DomainEventCorrelationId">>;
|
|
1194
|
+
}>;
|
|
1195
|
+
readonly history: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1196
|
+
readonly commandDigest: import("effect/Schema").brand<import("effect/Schema").String, "GovernedActionCommandDigest">;
|
|
1197
|
+
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
1198
|
+
readonly transitionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionTransitionId">;
|
|
1199
|
+
readonly previousTransitionId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionTransitionId">>;
|
|
1200
|
+
readonly commandId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1201
|
+
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
1202
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
1203
|
+
readonly sequence: import("effect/Schema").Int;
|
|
1204
|
+
readonly fromState: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>>;
|
|
1205
|
+
readonly toState: import("effect/Schema").Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
|
|
1206
|
+
readonly actionEnvelopeDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1207
|
+
readonly command: import("effect/Schema").TaggedUnion<{
|
|
1208
|
+
readonly propose: import("effect/Schema").TaggedStruct<"propose", {}>;
|
|
1209
|
+
readonly authorize: import("effect/Schema").TaggedStruct<"authorize", {
|
|
1210
|
+
readonly authorizationId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAuthorizationId">;
|
|
1211
|
+
}>;
|
|
1212
|
+
readonly deny: import("effect/Schema").TaggedStruct<"deny", {
|
|
1213
|
+
readonly reason: import("effect/Schema").Literals<readonly ["revision-changed", "evidence-stale", "evidence-invalid", "policy-denied", "session-invalid", "capability-changed", "plugin-unavailable", "preflight-blocked"]>;
|
|
1214
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1215
|
+
}>;
|
|
1216
|
+
readonly expire: import("effect/Schema").TaggedStruct<"expire", {
|
|
1217
|
+
readonly reason: import("effect/Schema").Literals<readonly ["proposal-expired", "authorization-expired"]>;
|
|
1218
|
+
}>;
|
|
1219
|
+
readonly cancel: import("effect/Schema").TaggedStruct<"cancel", {
|
|
1220
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1221
|
+
}>;
|
|
1222
|
+
readonly start: import("effect/Schema").TaggedStruct<"start", {
|
|
1223
|
+
readonly attemptId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAttemptId">;
|
|
1224
|
+
}>;
|
|
1225
|
+
readonly requestCancellation: import("effect/Schema").TaggedStruct<"requestCancellation", {
|
|
1226
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1227
|
+
}>;
|
|
1228
|
+
readonly recordAccepted: import("effect/Schema").TaggedStruct<"recordAccepted", {
|
|
1229
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
1230
|
+
readonly status: import("effect/Schema").Literal<"accepted">;
|
|
1231
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1232
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1233
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1234
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1235
|
+
}>;
|
|
1236
|
+
}>;
|
|
1237
|
+
readonly recordSucceeded: import("effect/Schema").TaggedStruct<"recordSucceeded", {
|
|
1238
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
1239
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
1240
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
1241
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1242
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1243
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1244
|
+
}>;
|
|
1245
|
+
readonly source: import("effect/Schema").TaggedUnion<{
|
|
1246
|
+
readonly direct: import("effect/Schema").TaggedStruct<"direct", {}>;
|
|
1247
|
+
readonly providerOperation: import("effect/Schema").TaggedStruct<"providerOperation", {
|
|
1248
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1249
|
+
}>;
|
|
1250
|
+
readonly reconciliation: import("effect/Schema").TaggedStruct<"reconciliation", {
|
|
1251
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
1252
|
+
}>;
|
|
1253
|
+
}>;
|
|
1254
|
+
}>;
|
|
1255
|
+
readonly recordFailed: import("effect/Schema").TaggedStruct<"recordFailed", {
|
|
1256
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
1257
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
1258
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
1259
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1260
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1261
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1262
|
+
}>;
|
|
1263
|
+
readonly source: import("effect/Schema").TaggedUnion<{
|
|
1264
|
+
readonly direct: import("effect/Schema").TaggedStruct<"direct", {}>;
|
|
1265
|
+
readonly providerOperation: import("effect/Schema").TaggedStruct<"providerOperation", {
|
|
1266
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1267
|
+
}>;
|
|
1268
|
+
readonly reconciliation: import("effect/Schema").TaggedStruct<"reconciliation", {
|
|
1269
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
1270
|
+
}>;
|
|
1271
|
+
}>;
|
|
1272
|
+
}>;
|
|
1273
|
+
readonly recordUnknown: import("effect/Schema").TaggedStruct<"recordUnknown", {
|
|
1274
|
+
readonly outcome: import("effect/Schema").TaggedUnion<{
|
|
1275
|
+
readonly reconcilable: import("effect/Schema").TaggedStruct<"reconcilable", {
|
|
1276
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1277
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1278
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1279
|
+
}>;
|
|
1280
|
+
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
1281
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1282
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1283
|
+
readonly reason: import("effect/Schema").Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
1284
|
+
}>;
|
|
1285
|
+
}>;
|
|
1286
|
+
}>;
|
|
1287
|
+
readonly recordCancelled: import("effect/Schema").TaggedStruct<"recordCancelled", {
|
|
1288
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
1289
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
1290
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
1291
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1292
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1293
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1294
|
+
}>;
|
|
1295
|
+
readonly source: import("effect/Schema").TaggedUnion<{
|
|
1296
|
+
readonly direct: import("effect/Schema").TaggedStruct<"direct", {}>;
|
|
1297
|
+
readonly providerOperation: import("effect/Schema").TaggedStruct<"providerOperation", {
|
|
1298
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1299
|
+
}>;
|
|
1300
|
+
readonly reconciliation: import("effect/Schema").TaggedStruct<"reconciliation", {
|
|
1301
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
1302
|
+
}>;
|
|
1303
|
+
}>;
|
|
1304
|
+
}>;
|
|
1305
|
+
readonly reconciliationPending: import("effect/Schema").TaggedStruct<"reconciliationPending", {
|
|
1306
|
+
readonly checkedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1307
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
1308
|
+
}>;
|
|
1309
|
+
}>;
|
|
1310
|
+
readonly cause: import("effect/Schema").TaggedUnion<{
|
|
1311
|
+
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
1312
|
+
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
1313
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
1314
|
+
}>;
|
|
1315
|
+
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
1316
|
+
}>;
|
|
1317
|
+
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
1318
|
+
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
1319
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
1320
|
+
}>;
|
|
1321
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
1322
|
+
}>;
|
|
1323
|
+
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
1324
|
+
readonly component: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1325
|
+
}>;
|
|
1326
|
+
}>;
|
|
1327
|
+
readonly occurredAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1328
|
+
readonly causationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "DomainEventId">>;
|
|
1329
|
+
readonly correlationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "DomainEventCorrelationId">>;
|
|
1330
|
+
}>>;
|
|
1331
|
+
readonly authorization: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
1332
|
+
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
1333
|
+
readonly authorizationId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAuthorizationId">;
|
|
1334
|
+
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
1335
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
1336
|
+
readonly pluginConnectionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PluginConnectionId">;
|
|
1337
|
+
readonly pluginConnectionRevision: import("effect/Schema").brand<import("effect/Schema").Int, "GovernedActionPluginConnectionRevision">;
|
|
1338
|
+
readonly pluginConnectionAuthorityDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1339
|
+
readonly actionEnvelopeDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1340
|
+
readonly idempotencyKey: import("effect/Schema").brand<import("effect/Schema").String, "GovernedActionIdempotencyKey">;
|
|
1341
|
+
readonly payloadDigest: import("effect/Schema").brand<import("effect/Schema").String, "PluginActionPayloadDigest">;
|
|
1342
|
+
readonly evidenceSetDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1343
|
+
readonly policyDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1344
|
+
readonly expectedRevision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
1345
|
+
readonly capabilityVersion: import("effect/Schema").Int;
|
|
1346
|
+
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
1347
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
1348
|
+
}>;
|
|
1349
|
+
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
1350
|
+
readonly sessionPermission: import("effect/Schema").Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
|
|
1351
|
+
readonly sessionExpiresAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1352
|
+
readonly requiredPermission: import("effect/Schema").Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
|
|
1353
|
+
readonly authorizedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1354
|
+
readonly expiresAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1355
|
+
}>>;
|
|
1356
|
+
readonly policyEvaluation: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
1357
|
+
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
1358
|
+
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
1359
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
1360
|
+
readonly policy: import("effect/Schema").Struct<{
|
|
1361
|
+
readonly policyId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1362
|
+
readonly policyVersion: import("effect/Schema").Int;
|
|
1363
|
+
readonly policyDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1364
|
+
readonly requiredPermission: import("effect/Schema").Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
|
|
1365
|
+
}>;
|
|
1366
|
+
readonly payloadDigest: import("effect/Schema").brand<import("effect/Schema").String, "PluginActionPayloadDigest">;
|
|
1367
|
+
readonly evidenceSetDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1368
|
+
readonly expectedRevision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
1369
|
+
readonly decision: import("effect/Schema").Literals<readonly ["allowed", "denied"]>;
|
|
1370
|
+
readonly evaluatedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1371
|
+
}>>;
|
|
1372
|
+
readonly attempt: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
1373
|
+
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
1374
|
+
readonly attemptId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAttemptId">;
|
|
1375
|
+
readonly authorizationId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAuthorizationId">;
|
|
1376
|
+
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
1377
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
1378
|
+
readonly pluginConnectionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PluginConnectionId">;
|
|
1379
|
+
readonly idempotencyKey: import("effect/Schema").brand<import("effect/Schema").String, "GovernedActionIdempotencyKey">;
|
|
1380
|
+
readonly attemptNumber: import("effect/Schema").Literal<1>;
|
|
1381
|
+
readonly actionEnvelopeDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1382
|
+
readonly expectedRevision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
1383
|
+
readonly policyEvaluationDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1384
|
+
readonly preflight: import("effect/Schema").TaggedStruct<"ready", {
|
|
1385
|
+
readonly checkedRevision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
1386
|
+
readonly checkedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1387
|
+
}>;
|
|
1388
|
+
readonly startedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1389
|
+
}>>;
|
|
1390
|
+
}, "Type">[], import("../persistence/Persistence.js").PersistenceOperationFailure, never>;
|
|
1391
|
+
readLatestTerminalReleasePublications: (input: unknown) => Effect.Effect<{
|
|
1392
|
+
envelope: {
|
|
1393
|
+
readonly providerId: "codecommit" | "codepipeline" | "jira" | "confluence" | "clockify";
|
|
1394
|
+
readonly pluginConnectionId: string & import("effect/Brand").Brand<"PluginConnectionId">;
|
|
1395
|
+
readonly workspaceId: string & import("effect/Brand").Brand<"WorkspaceId">;
|
|
1396
|
+
readonly schemaVersion: 1;
|
|
1397
|
+
readonly causationId: (string & import("effect/Brand").Brand<"DomainEventId">) | null;
|
|
1398
|
+
readonly correlationId: (string & import("effect/Brand").Brand<"DomainEventCorrelationId">) | null;
|
|
1399
|
+
readonly proposal: import("effect/Schema").Struct.ReadonlySide<{
|
|
1400
|
+
readonly proposalKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1401
|
+
readonly capabilityVersion: import("effect/Schema").Int;
|
|
1402
|
+
readonly request: import("effect/Schema").Struct<{
|
|
1403
|
+
readonly actionKind: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1404
|
+
readonly target: import("effect/Schema").Struct<{
|
|
1405
|
+
entityType: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1406
|
+
vendorImmutableId: import("effect/Schema").brand<import("effect/Schema").String, "VendorImmutableId">;
|
|
1407
|
+
}>;
|
|
1408
|
+
readonly expectedRevision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
1409
|
+
readonly payload: import("effect/Schema").Codec<import("effect/Schema").Json, import("effect/Schema").Json, never, never>;
|
|
1410
|
+
readonly evidenceIds: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
1411
|
+
}>;
|
|
1412
|
+
readonly payloadDigest: import("effect/Schema").brand<import("effect/Schema").String, "PluginActionPayloadDigest">;
|
|
1413
|
+
readonly summary: import("effect/Schema").String;
|
|
1414
|
+
readonly impact: import("effect/Schema").Struct<{
|
|
1415
|
+
readonly level: import("effect/Schema").Literals<readonly ["low", "medium", "high", "critical"]>;
|
|
1416
|
+
readonly summary: import("effect/Schema").String;
|
|
1417
|
+
}>;
|
|
1418
|
+
readonly proposedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1419
|
+
}, "Type">;
|
|
1420
|
+
readonly idempotencyKey: string & import("effect/Brand").Brand<"GovernedActionIdempotencyKey">;
|
|
1421
|
+
readonly pluginId: string & import("effect/Brand").Brand<string>;
|
|
1422
|
+
readonly actionId: string & import("effect/Brand").Brand<"GovernedActionId">;
|
|
1423
|
+
readonly policy: import("effect/Schema").Struct.ReadonlySide<{
|
|
1424
|
+
readonly policyId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1425
|
+
readonly policyVersion: import("effect/Schema").Int;
|
|
1426
|
+
readonly policyDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1427
|
+
readonly requiredPermission: import("effect/Schema").Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
|
|
1428
|
+
}, "Type">;
|
|
1429
|
+
readonly evidenceSetDigest: string & import("effect/Brand").Brand<string>;
|
|
1430
|
+
readonly pluginConnectionRevision: number & import("effect/Brand").Brand<"GovernedActionPluginConnectionRevision">;
|
|
1431
|
+
readonly pluginConnectionAuthorityDigest: string & import("effect/Brand").Brand<string>;
|
|
1432
|
+
readonly pluginContractVersion: import("effect/Schema").Struct.ReadonlySide<{
|
|
1433
|
+
readonly major: import("effect/Schema").Int;
|
|
1434
|
+
readonly minor: import("effect/Schema").Int;
|
|
1435
|
+
readonly patch: import("effect/Schema").Int;
|
|
1436
|
+
}, "Type">;
|
|
1437
|
+
readonly pluginAdapterVersion: import("effect/Schema").Struct.ReadonlySide<{
|
|
1438
|
+
readonly major: import("effect/Schema").Int;
|
|
1439
|
+
readonly minor: import("effect/Schema").Int;
|
|
1440
|
+
readonly patch: import("effect/Schema").Int;
|
|
1441
|
+
}, "Type">;
|
|
1442
|
+
readonly capability: import("effect/Schema").Struct.ReadonlySide<{
|
|
1443
|
+
readonly capabilityId: import("effect/Schema").Literal<"action.execute">;
|
|
1444
|
+
readonly version: import("effect/Schema").Int;
|
|
1445
|
+
}, "Type">;
|
|
1446
|
+
readonly targetEntityId: string & import("effect/Brand").Brand<"EntityId">;
|
|
1447
|
+
readonly evidence: readonly import("effect/Schema").Struct.ReadonlySide<{
|
|
1448
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
1449
|
+
readonly evidenceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EvidenceId">;
|
|
1450
|
+
readonly evidenceClaimIds: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EvidenceClaimId">>;
|
|
1451
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1452
|
+
readonly validUntil: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromString>;
|
|
1453
|
+
readonly currentUntil: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromString>;
|
|
1454
|
+
readonly evaluatedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1455
|
+
readonly source: import("effect/Schema").Literals<readonly ["current", "stale", "missing", "unavailable"]>;
|
|
1456
|
+
readonly validity: import("effect/Schema").Literals<readonly ["valid", "expired"]>;
|
|
1457
|
+
}, "Type">[];
|
|
1458
|
+
readonly origin: import("effect/Schema").Struct.ReadonlySide<{
|
|
1459
|
+
readonly _tag: import("effect/Schema").tag<"human">;
|
|
1460
|
+
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
1461
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
1462
|
+
}>;
|
|
1463
|
+
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
1464
|
+
}, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
|
|
1465
|
+
readonly _tag: import("effect/Schema").tag<"agent">;
|
|
1466
|
+
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
1467
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
1468
|
+
}>;
|
|
1469
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
1470
|
+
readonly initiatingSessionId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">>;
|
|
1471
|
+
}, "Type">;
|
|
1472
|
+
readonly proposalExpiresAt: DateTime.Utc;
|
|
1473
|
+
readonly envelopeDigest: string & import("effect/Brand").Brand<string>;
|
|
1474
|
+
readonly releasePublication?: {
|
|
1475
|
+
readonly releaseId: string & import("effect/Brand").Brand<"ReleaseId">;
|
|
1476
|
+
readonly sourceRevisionDigest: string & import("effect/Brand").Brand<string>;
|
|
1477
|
+
readonly sourceRevisionCount: number;
|
|
1478
|
+
readonly predecessorPublicationActionId?: (string & import("effect/Brand").Brand<"GovernedActionId">) | null;
|
|
1479
|
+
readonly templateSourceEntityId?: string & import("effect/Brand").Brand<"EntityId">;
|
|
1480
|
+
};
|
|
1481
|
+
};
|
|
1482
|
+
head: import("effect/Schema").Struct.ReadonlySide<{
|
|
1483
|
+
readonly state: import("effect/Schema").Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
|
|
1484
|
+
readonly lineage: import("effect/Schema").TaggedUnion<{
|
|
1485
|
+
readonly accepted: import("effect/Schema").TaggedStruct<"accepted", {
|
|
1486
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
1487
|
+
readonly status: import("effect/Schema").Literal<"accepted">;
|
|
1488
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1489
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1490
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1491
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1492
|
+
}>;
|
|
1493
|
+
}>;
|
|
1494
|
+
readonly reconcilable: import("effect/Schema").TaggedStruct<"reconcilable", {
|
|
1495
|
+
readonly providerOperationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
1496
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1497
|
+
}>;
|
|
1498
|
+
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
1499
|
+
readonly providerOperationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
1500
|
+
}>;
|
|
1501
|
+
readonly none: import("effect/Schema").TaggedStruct<"none", {}>;
|
|
1502
|
+
readonly terminal: import("effect/Schema").TaggedStruct<"terminal", {
|
|
1503
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
1504
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
1505
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
1506
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1507
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1508
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1509
|
+
}>;
|
|
1510
|
+
}>;
|
|
1511
|
+
}>;
|
|
1512
|
+
}, "Type">;
|
|
1513
|
+
headTransition: import("effect/Schema").Struct.ReadonlySide<{
|
|
1514
|
+
readonly commandDigest: import("effect/Schema").brand<import("effect/Schema").String, "GovernedActionCommandDigest">;
|
|
1515
|
+
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
1516
|
+
readonly transitionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionTransitionId">;
|
|
1517
|
+
readonly previousTransitionId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionTransitionId">>;
|
|
1518
|
+
readonly commandId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1519
|
+
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
1520
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
1521
|
+
readonly sequence: import("effect/Schema").Int;
|
|
1522
|
+
readonly fromState: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>>;
|
|
1523
|
+
readonly toState: import("effect/Schema").Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
|
|
1524
|
+
readonly actionEnvelopeDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1525
|
+
readonly command: import("effect/Schema").TaggedUnion<{
|
|
1526
|
+
readonly propose: import("effect/Schema").TaggedStruct<"propose", {}>;
|
|
1527
|
+
readonly authorize: import("effect/Schema").TaggedStruct<"authorize", {
|
|
1528
|
+
readonly authorizationId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAuthorizationId">;
|
|
1529
|
+
}>;
|
|
1530
|
+
readonly deny: import("effect/Schema").TaggedStruct<"deny", {
|
|
1531
|
+
readonly reason: import("effect/Schema").Literals<readonly ["revision-changed", "evidence-stale", "evidence-invalid", "policy-denied", "session-invalid", "capability-changed", "plugin-unavailable", "preflight-blocked"]>;
|
|
1532
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1533
|
+
}>;
|
|
1534
|
+
readonly expire: import("effect/Schema").TaggedStruct<"expire", {
|
|
1535
|
+
readonly reason: import("effect/Schema").Literals<readonly ["proposal-expired", "authorization-expired"]>;
|
|
1536
|
+
}>;
|
|
1537
|
+
readonly cancel: import("effect/Schema").TaggedStruct<"cancel", {
|
|
1538
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1539
|
+
}>;
|
|
1540
|
+
readonly start: import("effect/Schema").TaggedStruct<"start", {
|
|
1541
|
+
readonly attemptId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAttemptId">;
|
|
1542
|
+
}>;
|
|
1543
|
+
readonly requestCancellation: import("effect/Schema").TaggedStruct<"requestCancellation", {
|
|
1544
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1545
|
+
}>;
|
|
1546
|
+
readonly recordAccepted: import("effect/Schema").TaggedStruct<"recordAccepted", {
|
|
1547
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
1548
|
+
readonly status: import("effect/Schema").Literal<"accepted">;
|
|
1549
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1550
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1551
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1552
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1553
|
+
}>;
|
|
1554
|
+
}>;
|
|
1555
|
+
readonly recordSucceeded: import("effect/Schema").TaggedStruct<"recordSucceeded", {
|
|
1556
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
1557
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
1558
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
1559
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1560
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1561
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1562
|
+
}>;
|
|
1563
|
+
readonly source: import("effect/Schema").TaggedUnion<{
|
|
1564
|
+
readonly direct: import("effect/Schema").TaggedStruct<"direct", {}>;
|
|
1565
|
+
readonly providerOperation: import("effect/Schema").TaggedStruct<"providerOperation", {
|
|
1566
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1567
|
+
}>;
|
|
1568
|
+
readonly reconciliation: import("effect/Schema").TaggedStruct<"reconciliation", {
|
|
1569
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
1570
|
+
}>;
|
|
1571
|
+
}>;
|
|
1572
|
+
}>;
|
|
1573
|
+
readonly recordFailed: import("effect/Schema").TaggedStruct<"recordFailed", {
|
|
1574
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
1575
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
1576
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
1577
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1578
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1579
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1580
|
+
}>;
|
|
1581
|
+
readonly source: import("effect/Schema").TaggedUnion<{
|
|
1582
|
+
readonly direct: import("effect/Schema").TaggedStruct<"direct", {}>;
|
|
1583
|
+
readonly providerOperation: import("effect/Schema").TaggedStruct<"providerOperation", {
|
|
1584
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1585
|
+
}>;
|
|
1586
|
+
readonly reconciliation: import("effect/Schema").TaggedStruct<"reconciliation", {
|
|
1587
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
1588
|
+
}>;
|
|
1589
|
+
}>;
|
|
1590
|
+
}>;
|
|
1591
|
+
readonly recordUnknown: import("effect/Schema").TaggedStruct<"recordUnknown", {
|
|
1592
|
+
readonly outcome: import("effect/Schema").TaggedUnion<{
|
|
1593
|
+
readonly reconcilable: import("effect/Schema").TaggedStruct<"reconcilable", {
|
|
1594
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1595
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1596
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1597
|
+
}>;
|
|
1598
|
+
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
1599
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1600
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1601
|
+
readonly reason: import("effect/Schema").Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
1602
|
+
}>;
|
|
1603
|
+
}>;
|
|
1604
|
+
}>;
|
|
1605
|
+
readonly recordCancelled: import("effect/Schema").TaggedStruct<"recordCancelled", {
|
|
1606
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
1607
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
1608
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
1609
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1610
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1611
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1612
|
+
}>;
|
|
1613
|
+
readonly source: import("effect/Schema").TaggedUnion<{
|
|
1614
|
+
readonly direct: import("effect/Schema").TaggedStruct<"direct", {}>;
|
|
1615
|
+
readonly providerOperation: import("effect/Schema").TaggedStruct<"providerOperation", {
|
|
1616
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1617
|
+
}>;
|
|
1618
|
+
readonly reconciliation: import("effect/Schema").TaggedStruct<"reconciliation", {
|
|
1619
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
1620
|
+
}>;
|
|
1621
|
+
}>;
|
|
1622
|
+
}>;
|
|
1623
|
+
readonly reconciliationPending: import("effect/Schema").TaggedStruct<"reconciliationPending", {
|
|
1624
|
+
readonly checkedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1625
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
1626
|
+
}>;
|
|
1627
|
+
}>;
|
|
1628
|
+
readonly cause: import("effect/Schema").TaggedUnion<{
|
|
1629
|
+
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
1630
|
+
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
1631
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
1632
|
+
}>;
|
|
1633
|
+
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
1634
|
+
}>;
|
|
1635
|
+
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
1636
|
+
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
1637
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
1638
|
+
}>;
|
|
1639
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
1640
|
+
}>;
|
|
1641
|
+
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
1642
|
+
readonly component: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1643
|
+
}>;
|
|
1644
|
+
}>;
|
|
1645
|
+
readonly occurredAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1646
|
+
readonly causationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "DomainEventId">>;
|
|
1647
|
+
readonly correlationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "DomainEventCorrelationId">>;
|
|
1648
|
+
}, "Type">;
|
|
1649
|
+
history: import("effect/Schema").Struct.ReadonlySide<{
|
|
1650
|
+
readonly commandDigest: import("effect/Schema").brand<import("effect/Schema").String, "GovernedActionCommandDigest">;
|
|
1651
|
+
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
1652
|
+
readonly transitionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionTransitionId">;
|
|
1653
|
+
readonly previousTransitionId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionTransitionId">>;
|
|
1654
|
+
readonly commandId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1655
|
+
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
1656
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
1657
|
+
readonly sequence: import("effect/Schema").Int;
|
|
1658
|
+
readonly fromState: import("effect/Schema").NullOr<import("effect/Schema").Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>>;
|
|
1659
|
+
readonly toState: import("effect/Schema").Literals<readonly ["proposed", "authorized", "denied", "expired", "cancelled", "started", "cancel-requested", "cancel-requested-unknown", "succeeded", "failed", "unknown"]>;
|
|
1660
|
+
readonly actionEnvelopeDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1661
|
+
readonly command: import("effect/Schema").TaggedUnion<{
|
|
1662
|
+
readonly propose: import("effect/Schema").TaggedStruct<"propose", {}>;
|
|
1663
|
+
readonly authorize: import("effect/Schema").TaggedStruct<"authorize", {
|
|
1664
|
+
readonly authorizationId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAuthorizationId">;
|
|
1665
|
+
}>;
|
|
1666
|
+
readonly deny: import("effect/Schema").TaggedStruct<"deny", {
|
|
1667
|
+
readonly reason: import("effect/Schema").Literals<readonly ["revision-changed", "evidence-stale", "evidence-invalid", "policy-denied", "session-invalid", "capability-changed", "plugin-unavailable", "preflight-blocked"]>;
|
|
1668
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1669
|
+
}>;
|
|
1670
|
+
readonly expire: import("effect/Schema").TaggedStruct<"expire", {
|
|
1671
|
+
readonly reason: import("effect/Schema").Literals<readonly ["proposal-expired", "authorization-expired"]>;
|
|
1672
|
+
}>;
|
|
1673
|
+
readonly cancel: import("effect/Schema").TaggedStruct<"cancel", {
|
|
1674
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1675
|
+
}>;
|
|
1676
|
+
readonly start: import("effect/Schema").TaggedStruct<"start", {
|
|
1677
|
+
readonly attemptId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAttemptId">;
|
|
1678
|
+
}>;
|
|
1679
|
+
readonly requestCancellation: import("effect/Schema").TaggedStruct<"requestCancellation", {
|
|
1680
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1681
|
+
}>;
|
|
1682
|
+
readonly recordAccepted: import("effect/Schema").TaggedStruct<"recordAccepted", {
|
|
1683
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
1684
|
+
readonly status: import("effect/Schema").Literal<"accepted">;
|
|
1685
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1686
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1687
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1688
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1689
|
+
}>;
|
|
1690
|
+
}>;
|
|
1691
|
+
readonly recordSucceeded: import("effect/Schema").TaggedStruct<"recordSucceeded", {
|
|
1692
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
1693
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
1694
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
1695
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1696
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1697
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1698
|
+
}>;
|
|
1699
|
+
readonly source: import("effect/Schema").TaggedUnion<{
|
|
1700
|
+
readonly direct: import("effect/Schema").TaggedStruct<"direct", {}>;
|
|
1701
|
+
readonly providerOperation: import("effect/Schema").TaggedStruct<"providerOperation", {
|
|
1702
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1703
|
+
}>;
|
|
1704
|
+
readonly reconciliation: import("effect/Schema").TaggedStruct<"reconciliation", {
|
|
1705
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
1706
|
+
}>;
|
|
1707
|
+
}>;
|
|
1708
|
+
}>;
|
|
1709
|
+
readonly recordFailed: import("effect/Schema").TaggedStruct<"recordFailed", {
|
|
1710
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
1711
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
1712
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
1713
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1714
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1715
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1716
|
+
}>;
|
|
1717
|
+
readonly source: import("effect/Schema").TaggedUnion<{
|
|
1718
|
+
readonly direct: import("effect/Schema").TaggedStruct<"direct", {}>;
|
|
1719
|
+
readonly providerOperation: import("effect/Schema").TaggedStruct<"providerOperation", {
|
|
1720
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1721
|
+
}>;
|
|
1722
|
+
readonly reconciliation: import("effect/Schema").TaggedStruct<"reconciliation", {
|
|
1723
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
1724
|
+
}>;
|
|
1725
|
+
}>;
|
|
1726
|
+
}>;
|
|
1727
|
+
readonly recordUnknown: import("effect/Schema").TaggedStruct<"recordUnknown", {
|
|
1728
|
+
readonly outcome: import("effect/Schema").TaggedUnion<{
|
|
1729
|
+
readonly reconcilable: import("effect/Schema").TaggedStruct<"reconcilable", {
|
|
1730
|
+
readonly reconciliationKey: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1731
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1732
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1733
|
+
}>;
|
|
1734
|
+
readonly manual: import("effect/Schema").TaggedStruct<"manual", {
|
|
1735
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1736
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1737
|
+
readonly reason: import("effect/Schema").Literals<readonly ["dispatch-deadline-exceeded", "interrupted-after-intent", "provider-defect-after-intent", "malformed-provider-result", "receipt-persistence-failed", "missing-reconciliation-locator"]>;
|
|
1738
|
+
}>;
|
|
1739
|
+
}>;
|
|
1740
|
+
}>;
|
|
1741
|
+
readonly recordCancelled: import("effect/Schema").TaggedStruct<"recordCancelled", {
|
|
1742
|
+
readonly receipt: import("effect/Schema").Struct<{
|
|
1743
|
+
readonly observationBasis: import("effect/Schema").optionalKey<import("effect/Schema").Literal<"authorization">>;
|
|
1744
|
+
readonly status: import("effect/Schema").Literals<readonly ["succeeded", "failed", "cancelled"]>;
|
|
1745
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1746
|
+
readonly safeSummary: import("effect/Schema").String;
|
|
1747
|
+
readonly observedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1748
|
+
}>;
|
|
1749
|
+
readonly source: import("effect/Schema").TaggedUnion<{
|
|
1750
|
+
readonly direct: import("effect/Schema").TaggedStruct<"direct", {}>;
|
|
1751
|
+
readonly providerOperation: import("effect/Schema").TaggedStruct<"providerOperation", {
|
|
1752
|
+
readonly providerOperationId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1753
|
+
}>;
|
|
1754
|
+
readonly reconciliation: import("effect/Schema").TaggedStruct<"reconciliation", {
|
|
1755
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
1756
|
+
}>;
|
|
1757
|
+
}>;
|
|
1758
|
+
}>;
|
|
1759
|
+
readonly reconciliationPending: import("effect/Schema").TaggedStruct<"reconciliationPending", {
|
|
1760
|
+
readonly checkedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1761
|
+
readonly reconciliationKey: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, string>>;
|
|
1762
|
+
}>;
|
|
1763
|
+
}>;
|
|
1764
|
+
readonly cause: import("effect/Schema").TaggedUnion<{
|
|
1765
|
+
readonly human: import("effect/Schema").TaggedStruct<"human", {
|
|
1766
|
+
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
1767
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
1768
|
+
}>;
|
|
1769
|
+
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
1770
|
+
}>;
|
|
1771
|
+
readonly agent: import("effect/Schema").TaggedStruct<"agent", {
|
|
1772
|
+
readonly actor: import("effect/Schema").TaggedStruct<"agent", {
|
|
1773
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
1774
|
+
}>;
|
|
1775
|
+
readonly jobId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "JobId">;
|
|
1776
|
+
}>;
|
|
1777
|
+
readonly system: import("effect/Schema").TaggedStruct<"system", {
|
|
1778
|
+
readonly component: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1779
|
+
}>;
|
|
1780
|
+
}>;
|
|
1781
|
+
readonly occurredAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1782
|
+
readonly causationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "DomainEventId">>;
|
|
1783
|
+
readonly correlationId: import("effect/Schema").NullOr<import("effect/Schema").brand<import("effect/Schema").String, "DomainEventCorrelationId">>;
|
|
1784
|
+
}, "Type">[];
|
|
1785
|
+
authorization: import("effect/Schema").Struct.ReadonlySide<{
|
|
1786
|
+
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
1787
|
+
readonly authorizationId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAuthorizationId">;
|
|
1788
|
+
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
1789
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
1790
|
+
readonly pluginConnectionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PluginConnectionId">;
|
|
1791
|
+
readonly pluginConnectionRevision: import("effect/Schema").brand<import("effect/Schema").Int, "GovernedActionPluginConnectionRevision">;
|
|
1792
|
+
readonly pluginConnectionAuthorityDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1793
|
+
readonly actionEnvelopeDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1794
|
+
readonly idempotencyKey: import("effect/Schema").brand<import("effect/Schema").String, "GovernedActionIdempotencyKey">;
|
|
1795
|
+
readonly payloadDigest: import("effect/Schema").brand<import("effect/Schema").String, "PluginActionPayloadDigest">;
|
|
1796
|
+
readonly evidenceSetDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1797
|
+
readonly policyDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1798
|
+
readonly expectedRevision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
1799
|
+
readonly capabilityVersion: import("effect/Schema").Int;
|
|
1800
|
+
readonly actor: import("effect/Schema").TaggedStruct<"human", {
|
|
1801
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
1802
|
+
}>;
|
|
1803
|
+
readonly sessionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "SessionId">;
|
|
1804
|
+
readonly sessionPermission: import("effect/Schema").Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
|
|
1805
|
+
readonly sessionExpiresAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1806
|
+
readonly requiredPermission: import("effect/Schema").Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
|
|
1807
|
+
readonly authorizedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1808
|
+
readonly expiresAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1809
|
+
}, "Type"> | null;
|
|
1810
|
+
policyEvaluation: import("effect/Schema").Struct.ReadonlySide<{
|
|
1811
|
+
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
1812
|
+
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
1813
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
1814
|
+
readonly policy: import("effect/Schema").Struct<{
|
|
1815
|
+
readonly policyId: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1816
|
+
readonly policyVersion: import("effect/Schema").Int;
|
|
1817
|
+
readonly policyDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1818
|
+
readonly requiredPermission: import("effect/Schema").Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
|
|
1819
|
+
}>;
|
|
1820
|
+
readonly payloadDigest: import("effect/Schema").brand<import("effect/Schema").String, "PluginActionPayloadDigest">;
|
|
1821
|
+
readonly evidenceSetDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1822
|
+
readonly expectedRevision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
1823
|
+
readonly decision: import("effect/Schema").Literals<readonly ["allowed", "denied"]>;
|
|
1824
|
+
readonly evaluatedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1825
|
+
}, "Type"> | null;
|
|
1826
|
+
attempt: import("effect/Schema").Struct.ReadonlySide<{
|
|
1827
|
+
readonly schemaVersion: import("effect/Schema").Literal<1>;
|
|
1828
|
+
readonly attemptId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAttemptId">;
|
|
1829
|
+
readonly authorizationId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionAuthorizationId">;
|
|
1830
|
+
readonly actionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "GovernedActionId">;
|
|
1831
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
1832
|
+
readonly pluginConnectionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PluginConnectionId">;
|
|
1833
|
+
readonly idempotencyKey: import("effect/Schema").brand<import("effect/Schema").String, "GovernedActionIdempotencyKey">;
|
|
1834
|
+
readonly attemptNumber: import("effect/Schema").Literal<1>;
|
|
1835
|
+
readonly actionEnvelopeDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1836
|
+
readonly expectedRevision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
1837
|
+
readonly policyEvaluationDigest: import("effect/Schema").brand<import("effect/Schema").String, string>;
|
|
1838
|
+
readonly preflight: import("effect/Schema").TaggedStruct<"ready", {
|
|
1839
|
+
readonly checkedRevision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
1840
|
+
readonly checkedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1841
|
+
}>;
|
|
1842
|
+
readonly startedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1843
|
+
}, "Type"> | null;
|
|
1844
|
+
}[], import("../persistence/Persistence.js").PersistenceOperationFailure, never>;
|
|
1845
|
+
}, "readLatestTerminalReleasePublications">, releases: readonly import("effect/Schema").Struct.ReadonlySide<{
|
|
1846
|
+
readonly createdAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1847
|
+
readonly freshness: import("effect/Schema").toTaggedUnion<"_tag", readonly [import("effect/Schema").Struct<{
|
|
1848
|
+
readonly _tag: import("effect/Schema").tag<"current">;
|
|
1849
|
+
readonly pluginHealth: import("effect/Schema").Union<readonly [import("effect/Schema").TaggedStruct<"healthy", {
|
|
1850
|
+
readonly checkedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1851
|
+
}>, import("effect/Schema").Struct<{
|
|
1852
|
+
readonly _tag: import("effect/Schema").tag<"degraded">;
|
|
1853
|
+
readonly checkedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1854
|
+
readonly failureClass: import("effect/Schema").Literals<readonly ["authentication", "authorization", "rate-limit", "timeout", "malformed-response", "outage", "unknown"]>;
|
|
1855
|
+
readonly retryAt: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromString>;
|
|
1856
|
+
readonly safeMessage: import("effect/Schema").String;
|
|
1857
|
+
}>]>;
|
|
1858
|
+
readonly provenance: import("effect/Schema").Union<readonly [import("effect/Schema").TaggedStruct<"provider", {
|
|
1859
|
+
readonly sourceRevision: import("effect/Schema").Struct<{
|
|
1860
|
+
readonly providerId: import("effect/Schema").Literals<readonly ["codecommit", "codepipeline", "jira", "confluence", "clockify"]>;
|
|
1861
|
+
readonly pluginConnectionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PluginConnectionId">;
|
|
1862
|
+
readonly vendorImmutableId: import("effect/Schema").brand<import("effect/Schema").String, "VendorImmutableId">;
|
|
1863
|
+
readonly revision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
1864
|
+
readonly sourceUrl: import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").URL, import("effect/Schema").String, never, never>, import("effect/Schema").Null]>;
|
|
1865
|
+
readonly firstObservedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1866
|
+
readonly lastObservedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1867
|
+
readonly synchronizedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1868
|
+
readonly normalizationSchemaVersion: import("effect/Schema").brand<import("effect/Schema").Number, "NormalizationSchemaVersion">;
|
|
1869
|
+
}>;
|
|
1870
|
+
}>, import("effect/Schema").Struct<{
|
|
1871
|
+
readonly _tag: import("effect/Schema").tag<"cache">;
|
|
1872
|
+
readonly cachedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1873
|
+
readonly sourceRevision: import("effect/Schema").Struct<{
|
|
1874
|
+
readonly providerId: import("effect/Schema").Literals<readonly ["codecommit", "codepipeline", "jira", "confluence", "clockify"]>;
|
|
1875
|
+
readonly pluginConnectionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PluginConnectionId">;
|
|
1876
|
+
readonly vendorImmutableId: import("effect/Schema").brand<import("effect/Schema").String, "VendorImmutableId">;
|
|
1877
|
+
readonly revision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
1878
|
+
readonly sourceUrl: import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").URL, import("effect/Schema").String, never, never>, import("effect/Schema").Null]>;
|
|
1879
|
+
readonly firstObservedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1880
|
+
readonly lastObservedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1881
|
+
readonly synchronizedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1882
|
+
readonly normalizationSchemaVersion: import("effect/Schema").brand<import("effect/Schema").Number, "NormalizationSchemaVersion">;
|
|
1883
|
+
}>;
|
|
1884
|
+
}>]>;
|
|
1885
|
+
readonly sourceObservedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1886
|
+
readonly staleAfterSeconds: import("effect/Schema").Int;
|
|
1887
|
+
readonly synchronizedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1888
|
+
readonly evaluatedAt: import("effect/Schema").optional<import("effect/Schema").DateTimeUtcFromString>;
|
|
1889
|
+
}>, import("effect/Schema").Struct<{
|
|
1890
|
+
readonly _tag: import("effect/Schema").tag<"stale">;
|
|
1891
|
+
readonly pluginHealth: import("effect/Schema").toTaggedUnion<"_tag", readonly [import("effect/Schema").TaggedStruct<"healthy", {
|
|
1892
|
+
readonly checkedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1893
|
+
}>, import("effect/Schema").Struct<{
|
|
1894
|
+
readonly _tag: import("effect/Schema").tag<"degraded">;
|
|
1895
|
+
readonly checkedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1896
|
+
readonly failureClass: import("effect/Schema").Literals<readonly ["authentication", "authorization", "rate-limit", "timeout", "malformed-response", "outage", "unknown"]>;
|
|
1897
|
+
readonly retryAt: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromString>;
|
|
1898
|
+
readonly safeMessage: import("effect/Schema").String;
|
|
1899
|
+
}>, import("effect/Schema").Struct<{
|
|
1900
|
+
readonly _tag: import("effect/Schema").tag<"unavailable">;
|
|
1901
|
+
readonly checkedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1902
|
+
readonly failureClass: import("effect/Schema").Literals<readonly ["authentication", "authorization", "rate-limit", "timeout", "malformed-response", "outage", "unknown"]>;
|
|
1903
|
+
readonly retryAt: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromString>;
|
|
1904
|
+
readonly safeMessage: import("effect/Schema").String;
|
|
1905
|
+
}>, import("effect/Schema").TaggedStruct<"disabled", {
|
|
1906
|
+
readonly checkedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1907
|
+
}>]>;
|
|
1908
|
+
readonly provenance: import("effect/Schema").Struct<{
|
|
1909
|
+
readonly _tag: import("effect/Schema").tag<"cache">;
|
|
1910
|
+
readonly cachedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1911
|
+
readonly sourceRevision: import("effect/Schema").Struct<{
|
|
1912
|
+
readonly providerId: import("effect/Schema").Literals<readonly ["codecommit", "codepipeline", "jira", "confluence", "clockify"]>;
|
|
1913
|
+
readonly pluginConnectionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PluginConnectionId">;
|
|
1914
|
+
readonly vendorImmutableId: import("effect/Schema").brand<import("effect/Schema").String, "VendorImmutableId">;
|
|
1915
|
+
readonly revision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
1916
|
+
readonly sourceUrl: import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").URL, import("effect/Schema").String, never, never>, import("effect/Schema").Null]>;
|
|
1917
|
+
readonly firstObservedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1918
|
+
readonly lastObservedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1919
|
+
readonly synchronizedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1920
|
+
readonly normalizationSchemaVersion: import("effect/Schema").brand<import("effect/Schema").Number, "NormalizationSchemaVersion">;
|
|
1921
|
+
}>;
|
|
1922
|
+
}>;
|
|
1923
|
+
readonly sourceObservedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1924
|
+
readonly staleAfterSeconds: import("effect/Schema").Int;
|
|
1925
|
+
readonly synchronizedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1926
|
+
readonly evaluatedAt: import("effect/Schema").optional<import("effect/Schema").DateTimeUtcFromString>;
|
|
1927
|
+
}>, import("effect/Schema").TaggedStruct<"missing", {
|
|
1928
|
+
readonly pluginHealth: import("effect/Schema").TaggedStruct<"healthy", {
|
|
1929
|
+
readonly checkedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1930
|
+
}>;
|
|
1931
|
+
readonly provenance: import("effect/Schema").TaggedStruct<"none", {
|
|
1932
|
+
readonly pluginConnectionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PluginConnectionId">;
|
|
1933
|
+
}>;
|
|
1934
|
+
readonly sourceObservedAt: import("effect/Schema").Null;
|
|
1935
|
+
readonly staleAfterSeconds: import("effect/Schema").Int;
|
|
1936
|
+
readonly synchronizedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1937
|
+
}>, import("effect/Schema").TaggedStruct<"unavailable", {
|
|
1938
|
+
readonly pluginHealth: import("effect/Schema").Union<readonly [import("effect/Schema").Struct<{
|
|
1939
|
+
readonly _tag: import("effect/Schema").tag<"unavailable">;
|
|
1940
|
+
readonly checkedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1941
|
+
readonly failureClass: import("effect/Schema").Literals<readonly ["authentication", "authorization", "rate-limit", "timeout", "malformed-response", "outage", "unknown"]>;
|
|
1942
|
+
readonly retryAt: import("effect/Schema").NullOr<import("effect/Schema").DateTimeUtcFromString>;
|
|
1943
|
+
readonly safeMessage: import("effect/Schema").String;
|
|
1944
|
+
}>, import("effect/Schema").TaggedStruct<"disabled", {
|
|
1945
|
+
readonly checkedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1946
|
+
}>]>;
|
|
1947
|
+
readonly provenance: import("effect/Schema").TaggedStruct<"none", {
|
|
1948
|
+
readonly pluginConnectionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PluginConnectionId">;
|
|
1949
|
+
}>;
|
|
1950
|
+
readonly sourceObservedAt: import("effect/Schema").Null;
|
|
1951
|
+
readonly staleAfterSeconds: import("effect/Schema").Int;
|
|
1952
|
+
readonly synchronizedAt: import("effect/Schema").Null;
|
|
1953
|
+
}>]>;
|
|
1954
|
+
readonly id: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
1955
|
+
readonly lifecycle: import("effect/Schema").Literals<readonly ["assembling", "candidate", "deploying", "released", "cancelled"]>;
|
|
1956
|
+
readonly relay: import("effect/Schema").Struct<{
|
|
1957
|
+
readonly algorithm: import("effect/Schema").Literal<"relay/v1">;
|
|
1958
|
+
readonly codename: import("effect/Schema").TemplateLiteral<readonly [import("effect/Schema").Literals<readonly ["Amber", "Azure", "Copper", "Ember", "Golden", "Lunar", "Moss", "Nova", "Quiet", "Silver", "Solar", "Tidal", "Velvet", "Verdant", "Wild", "Winter"]>, " ", import("effect/Schema").Literals<readonly ["Anchor", "Beacon", "Bridge", "Comet", "Finch", "Fork", "Gate", "Grove", "Harbor", "Orbit", "Pulse", "Reef", "Relay", "Spark", "Wave", "Willow"]>]>;
|
|
1959
|
+
readonly symbolIndices: import("effect/Schema").Tuple<readonly [import("effect/Schema").Literals<readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]>, import("effect/Schema").Literals<readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]>, import("effect/Schema").Literals<readonly [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]>]>;
|
|
1960
|
+
}>;
|
|
1961
|
+
readonly roleAssignments: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
1962
|
+
readonly actor: import("effect/Schema").toTaggedUnion<"_tag", readonly [import("effect/Schema").TaggedStruct<"human", {
|
|
1963
|
+
readonly personId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PersonId">;
|
|
1964
|
+
}>, import("effect/Schema").TaggedStruct<"agent", {
|
|
1965
|
+
readonly agentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "AgentId">;
|
|
1966
|
+
}>]>;
|
|
1967
|
+
readonly assignmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "RoleAssignmentId">;
|
|
1968
|
+
readonly lifecycle: import("effect/Schema").toTaggedUnion<"_tag", readonly [import("effect/Schema").TaggedStruct<"active", {
|
|
1969
|
+
readonly assignedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1970
|
+
}>, import("effect/Schema").Struct<{
|
|
1971
|
+
readonly _tag: import("effect/Schema").tag<"ended">;
|
|
1972
|
+
readonly assignedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1973
|
+
readonly endedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1974
|
+
}>, import("effect/Schema").Struct<{
|
|
1975
|
+
readonly _tag: import("effect/Schema").tag<"revoked">;
|
|
1976
|
+
readonly assignedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1977
|
+
readonly revokedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
1978
|
+
}>]>;
|
|
1979
|
+
readonly role: import("effect/Schema").Literals<readonly ["workspace-owner", "workspace-approver", "release-owner", "release-approver", "change-owner", "issue-owner", "issue-assignee", "page-owner", "author", "contributor", "reviewer", "operator", "deployment-approver", "merge-approver", "watcher"]>;
|
|
1980
|
+
readonly scope: import("effect/Schema").TaggedUnion<{
|
|
1981
|
+
readonly entity: import("effect/Schema").TaggedStruct<"entity", {
|
|
1982
|
+
readonly entityId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EntityId">;
|
|
1983
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
1984
|
+
}>;
|
|
1985
|
+
readonly environment: import("effect/Schema").TaggedStruct<"environment", {
|
|
1986
|
+
readonly environmentId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">;
|
|
1987
|
+
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
1988
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
1989
|
+
}>;
|
|
1990
|
+
readonly release: import("effect/Schema").TaggedStruct<"release", {
|
|
1991
|
+
readonly releaseId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "ReleaseId">;
|
|
1992
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
1993
|
+
}>;
|
|
1994
|
+
readonly workspace: import("effect/Schema").TaggedStruct<"workspace", {
|
|
1995
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
1996
|
+
}>;
|
|
1997
|
+
}>;
|
|
1998
|
+
}>>;
|
|
1999
|
+
readonly serviceName: import("effect/Schema").brand<import("effect/Schema").String, "ReleaseServiceName">;
|
|
2000
|
+
readonly sourceRevisions: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
2001
|
+
readonly providerId: import("effect/Schema").Literals<readonly ["codecommit", "codepipeline", "jira", "confluence", "clockify"]>;
|
|
2002
|
+
readonly pluginConnectionId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "PluginConnectionId">;
|
|
2003
|
+
readonly vendorImmutableId: import("effect/Schema").brand<import("effect/Schema").String, "VendorImmutableId">;
|
|
2004
|
+
readonly revision: import("effect/Schema").brand<import("effect/Schema").String, "Revision">;
|
|
2005
|
+
readonly sourceUrl: import("effect/Schema").Union<readonly [import("effect/Schema").decodeTo<import("effect/Schema").URL, import("effect/Schema").String, never, never>, import("effect/Schema").Null]>;
|
|
2006
|
+
readonly firstObservedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
2007
|
+
readonly lastObservedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
2008
|
+
readonly synchronizedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
2009
|
+
readonly normalizationSchemaVersion: import("effect/Schema").brand<import("effect/Schema").Number, "NormalizationSchemaVersion">;
|
|
2010
|
+
}>>;
|
|
2011
|
+
readonly targetEnvironmentIds: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "EnvironmentId">>;
|
|
2012
|
+
readonly updatedAt: import("effect/Schema").DateTimeUtcFromString;
|
|
2013
|
+
readonly version: import("effect/Schema").brand<import("effect/Schema").String, "ReleaseVersion">;
|
|
2014
|
+
readonly workspaceId: import("effect/Schema").brand<import("effect/Schema").decodeTo<import("effect/Schema").String, import("effect/Schema").String, never, never>, "WorkspaceId">;
|
|
2015
|
+
}, "Type">[]) => Effect.Effect<Map<string & import("effect/Brand").Brand<"ReleaseId">, {
|
|
2016
|
+
readonly state: "unknown" | "current" | "stale" | "not-published";
|
|
2017
|
+
readonly lastPublishedAt: DateTime.Utc | null;
|
|
2018
|
+
readonly publicationActionId?: string & import("effect/Brand").Brand<"GovernedActionId">;
|
|
2019
|
+
}>, never, Crypto.Crypto>;
|
|
6
2020
|
/** Construct the bird's-eye projection from persisted facts only. */
|
|
7
2021
|
export declare const makePortfolioSnapshots: Effect.Effect<{
|
|
8
|
-
readonly snapshot: (workspaceId: import("../../
|
|
9
|
-
}, never, Persistence>;
|
|
2022
|
+
readonly snapshot: (workspaceId: import("../../domain/identifiers.js").WorkspaceId) => Effect.Effect<PortfolioSnapshot, ApplicationServiceUnavailable>;
|
|
2023
|
+
}, never, Crypto.Crypto | Persistence>;
|
|
10
2024
|
/** Live portfolio projection layer. */
|
|
11
|
-
export declare const portfolioSnapshotsLayer: Layer.Layer<PortfolioSnapshots, never, Persistence>;
|
|
2025
|
+
export declare const portfolioSnapshotsLayer: Layer.Layer<PortfolioSnapshots, never, Crypto.Crypto | Persistence>;
|
|
12
2026
|
//# sourceMappingURL=portfolioSnapshots.d.ts.map
|