@codemem/core 0.47.0-beta.3 → 0.47.0-beta.4
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/dist/account-owner-association-directory.d.ts +6 -0
- package/dist/account-owner-association-directory.d.ts.map +1 -0
- package/dist/account-owner-association.d.ts +45 -0
- package/dist/account-owner-association.d.ts.map +1 -0
- package/dist/better-sqlite-coordinator-store.d.ts +23 -1
- package/dist/better-sqlite-coordinator-store.d.ts.map +1 -1
- package/dist/coordinator-account-connection-schema.d.ts +3 -0
- package/dist/coordinator-account-connection-schema.d.ts.map +1 -1
- package/dist/coordinator-account-owner-target.d.ts +40 -0
- package/dist/coordinator-account-owner-target.d.ts.map +1 -0
- package/dist/coordinator-actions.d.ts +5 -0
- package/dist/coordinator-actions.d.ts.map +1 -1
- package/dist/coordinator-api.d.ts +2 -0
- package/dist/coordinator-api.d.ts.map +1 -1
- package/dist/coordinator-auth-controller-consistency-test-fixtures.d.ts +51 -0
- package/dist/coordinator-auth-controller-consistency-test-fixtures.d.ts.map +1 -0
- package/dist/coordinator-auth-controller-history.d.ts +71 -0
- package/dist/coordinator-auth-controller-history.d.ts.map +1 -0
- package/dist/coordinator-auth-controller-owner-review.d.ts +32 -0
- package/dist/coordinator-auth-controller-owner-review.d.ts.map +1 -0
- package/dist/coordinator-auth-controller-owner.d.ts +20 -0
- package/dist/coordinator-auth-controller-owner.d.ts.map +1 -0
- package/dist/coordinator-auth-controller-review-route.d.ts +16 -2
- package/dist/coordinator-auth-controller-review-route.d.ts.map +1 -1
- package/dist/coordinator-auth-controller.d.ts +30 -3
- package/dist/coordinator-auth-controller.d.ts.map +1 -1
- package/dist/coordinator-auth-historical-store-test-fixture.d.ts.map +1 -1
- package/dist/coordinator-auth-link.d.ts +1 -0
- package/dist/coordinator-auth-link.d.ts.map +1 -1
- package/dist/coordinator-auth-schema.d.ts.map +1 -1
- package/dist/coordinator-auth-store-test-fixtures.d.ts.map +1 -1
- package/dist/coordinator-device-auth-link.d.ts +2 -1
- package/dist/coordinator-device-auth-link.d.ts.map +1 -1
- package/dist/coordinator-device-ownership-evidence-classify.d.ts +22 -0
- package/dist/coordinator-device-ownership-evidence-classify.d.ts.map +1 -0
- package/dist/coordinator-device-ownership-evidence-digest.d.ts +8 -0
- package/dist/coordinator-device-ownership-evidence-digest.d.ts.map +1 -0
- package/dist/coordinator-device-ownership-evidence-queries.d.ts +13 -0
- package/dist/coordinator-device-ownership-evidence-queries.d.ts.map +1 -0
- package/dist/coordinator-device-ownership-evidence-test-fixtures.d.ts +80 -0
- package/dist/coordinator-device-ownership-evidence-test-fixtures.d.ts.map +1 -0
- package/dist/coordinator-device-ownership-evidence.d.ts +60 -0
- package/dist/coordinator-device-ownership-evidence.d.ts.map +1 -0
- package/dist/coordinator-history-sql-equivalence-test-fixtures.d.ts +35 -0
- package/dist/coordinator-history-sql-equivalence-test-fixtures.d.ts.map +1 -0
- package/dist/coordinator-legacy-completion-owner-proof.d.ts +47 -0
- package/dist/coordinator-legacy-completion-owner-proof.d.ts.map +1 -0
- package/dist/coordinator-legacy-owner-compatibility.d.ts +31 -0
- package/dist/coordinator-legacy-owner-compatibility.d.ts.map +1 -0
- package/dist/coordinator-legacy-owner-resolution-birth-test-fixtures.d.ts +3 -0
- package/dist/coordinator-legacy-owner-resolution-birth-test-fixtures.d.ts.map +1 -0
- package/dist/coordinator-legacy-owner-resolution-commit-test-fixtures.d.ts +54 -0
- package/dist/coordinator-legacy-owner-resolution-commit-test-fixtures.d.ts.map +1 -0
- package/dist/coordinator-legacy-owner-resolution-commit.d.ts +34 -0
- package/dist/coordinator-legacy-owner-resolution-commit.d.ts.map +1 -0
- package/dist/coordinator-legacy-owner-resolution-metadata.d.ts +40 -0
- package/dist/coordinator-legacy-owner-resolution-metadata.d.ts.map +1 -0
- package/dist/coordinator-legacy-owner-resolution-schema.d.ts +70 -0
- package/dist/coordinator-legacy-owner-resolution-schema.d.ts.map +1 -0
- package/dist/coordinator-legacy-owner-resolution-upgrade.d.ts +4 -0
- package/dist/coordinator-legacy-owner-resolution-upgrade.d.ts.map +1 -0
- package/dist/coordinator-owner-enrollment-commit.d.ts +7 -6
- package/dist/coordinator-owner-enrollment-commit.d.ts.map +1 -1
- package/dist/coordinator-owner-negative-consistency.d.ts +38 -0
- package/dist/coordinator-owner-negative-consistency.d.ts.map +1 -0
- package/dist/coordinator-owner-resolution-review-client.d.ts +17 -0
- package/dist/coordinator-owner-resolution-review-client.d.ts.map +1 -0
- package/dist/coordinator-owner-resolution-review-read.d.ts +48 -0
- package/dist/coordinator-owner-resolution-review-read.d.ts.map +1 -0
- package/dist/coordinator-owner-resolution-review-test-fixtures.d.ts +60 -0
- package/dist/coordinator-owner-resolution-review-test-fixtures.d.ts.map +1 -0
- package/dist/coordinator-owner-resolution-review.d.ts +73 -0
- package/dist/coordinator-owner-resolution-review.d.ts.map +1 -0
- package/dist/coordinator-producer-negative-owner-test-fixtures.d.ts +26 -0
- package/dist/coordinator-producer-negative-owner-test-fixtures.d.ts.map +1 -0
- package/dist/coordinator-recipient-owner-consistency.d.ts +8 -0
- package/dist/coordinator-recipient-owner-consistency.d.ts.map +1 -0
- package/dist/coordinator-resolved-account-owner-status-client.d.ts +27 -0
- package/dist/coordinator-resolved-account-owner-status-client.d.ts.map +1 -0
- package/dist/coordinator-resolved-account-owner-status-query.d.ts +21 -0
- package/dist/coordinator-resolved-account-owner-status-query.d.ts.map +1 -0
- package/dist/coordinator-resolved-account-owner-status-test-fixtures.d.ts +79 -0
- package/dist/coordinator-resolved-account-owner-status-test-fixtures.d.ts.map +1 -0
- package/dist/coordinator-resolved-account-owner-status.d.ts +57 -0
- package/dist/coordinator-resolved-account-owner-status.d.ts.map +1 -0
- package/dist/coordinator-store-contract.d.ts +2 -0
- package/dist/coordinator-store-contract.d.ts.map +1 -1
- package/dist/coordinator-store-test-harness.d.ts.map +1 -1
- package/dist/d1-coordinator-runtime.d.ts +1 -0
- package/dist/d1-coordinator-runtime.d.ts.map +1 -1
- package/dist/d1-coordinator-store.d.ts +18 -1
- package/dist/d1-coordinator-store.d.ts.map +1 -1
- package/dist/db.d.ts.map +1 -1
- package/dist/index.d.ts +13 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +13205 -18552
- package/dist/index.js.map +1 -1
- package/dist/internal/cloudflare-coordinator.js +1473 -1300
- package/dist/internal/cloudflare-coordinator.js.map +1 -1
- package/dist/memory-retirement-delivery.d.ts.map +1 -1
- package/dist/operational-status.d.ts.map +1 -1
- package/dist/owner-enrollment-start-BMkDi_Yz.js +7401 -0
- package/dist/owner-enrollment-start-BMkDi_Yz.js.map +1 -0
- package/dist/pack.d.ts +4 -4
- package/dist/pack.d.ts.map +1 -1
- package/dist/recipient-policy-contract-Ca40IBUh.js +24 -0
- package/dist/recipient-policy-contract-Ca40IBUh.js.map +1 -0
- package/dist/recipient-policy-contract.js +2 -24
- package/dist/same-actor-peers.d.ts +4 -0
- package/dist/same-actor-peers.d.ts.map +1 -0
- package/dist/schema-bootstrap.d.ts.map +1 -1
- package/dist/search.d.ts +2 -0
- package/dist/search.d.ts.map +1 -1
- package/dist/semantic/semantic-executor-seam.d.ts +30 -0
- package/dist/semantic/semantic-executor-seam.d.ts.map +1 -0
- package/dist/semantic/semantic-ranking-reference.test-helper.d.ts +34 -0
- package/dist/semantic/semantic-ranking-reference.test-helper.d.ts.map +1 -0
- package/dist/semantic/semantic-ranking.d.ts +50 -0
- package/dist/semantic/semantic-ranking.d.ts.map +1 -0
- package/dist/semantic/semantic-ranking.test-helper.d.ts +17 -0
- package/dist/semantic/semantic-ranking.test-helper.d.ts.map +1 -0
- package/dist/semantic/semantic-worker-entry.d.ts +2 -0
- package/dist/semantic/semantic-worker-entry.d.ts.map +1 -0
- package/dist/semantic/semantic-worker-executor.d.ts +20 -0
- package/dist/semantic/semantic-worker-executor.d.ts.map +1 -0
- package/dist/semantic/semantic-worker-job.d.ts +2 -0
- package/dist/semantic/semantic-worker-job.d.ts.map +1 -0
- package/dist/semantic/semantic-worker-protocol.d.ts +48 -0
- package/dist/semantic/semantic-worker-protocol.d.ts.map +1 -0
- package/dist/semantic/semantic-worker-queue.d.ts +32 -0
- package/dist/semantic/semantic-worker-queue.d.ts.map +1 -0
- package/dist/semantic/semantic-worker-ranking.d.ts +8 -0
- package/dist/semantic/semantic-worker-ranking.d.ts.map +1 -0
- package/dist/semantic/semantic-worker-test-fixtures.d.ts +55 -0
- package/dist/semantic/semantic-worker-test-fixtures.d.ts.map +1 -0
- package/dist/semantic/validated-vector-index-audit.d.ts +10 -0
- package/dist/semantic/validated-vector-index-audit.d.ts.map +1 -0
- package/dist/semantic/validated-vector-index-mutations.d.ts +23 -0
- package/dist/semantic/validated-vector-index-mutations.d.ts.map +1 -0
- package/dist/semantic/validated-vector-index-state.d.ts +77 -0
- package/dist/semantic/validated-vector-index-state.d.ts.map +1 -0
- package/dist/semantic/validated-vector-index-statements.d.ts +30 -0
- package/dist/semantic/validated-vector-index-statements.d.ts.map +1 -0
- package/dist/semantic/validated-vector-index.d.ts +16 -0
- package/dist/semantic/validated-vector-index.d.ts.map +1 -0
- package/dist/semantic/validated-vector-index.test-helper.d.ts +9 -0
- package/dist/semantic/validated-vector-index.test-helper.d.ts.map +1 -0
- package/dist/semantic-query.d.ts +10 -0
- package/dist/semantic-query.d.ts.map +1 -0
- package/dist/semantic-worker-entry.js +14 -0
- package/dist/semantic-worker-entry.js.map +1 -0
- package/dist/semantic-worker-job-J6TKJeAe.js +49 -0
- package/dist/semantic-worker-job-J6TKJeAe.js.map +1 -0
- package/dist/semantic-worker-ranking-ByCOj--W.js +7625 -0
- package/dist/semantic-worker-ranking-ByCOj--W.js.map +1 -0
- package/dist/store.d.ts +23 -12
- package/dist/store.d.ts.map +1 -1
- package/dist/types.d.ts +4 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/usage-aggregate-index.d.ts +4 -0
- package/dist/usage-aggregate-index.d.ts.map +1 -0
- package/dist/vector-index-maintenance.d.ts +28 -0
- package/dist/vector-index-maintenance.d.ts.map +1 -0
- package/dist/vector-index-upgrade.d.ts +21 -0
- package/dist/vector-index-upgrade.d.ts.map +1 -0
- package/dist/vector-layout.d.ts +21 -0
- package/dist/vector-layout.d.ts.map +1 -0
- package/dist/vector-migration.d.ts.map +1 -1
- package/dist/vector-writes.d.ts +26 -0
- package/dist/vector-writes.d.ts.map +1 -0
- package/dist/vectors.d.ts +8 -3
- package/dist/vectors.d.ts.map +1 -1
- package/dist/workspace-identity-CgbP3sJa.js +9915 -0
- package/dist/workspace-identity-CgbP3sJa.js.map +1 -0
- package/package.json +5 -5
- package/dist/owner-enrollment-start-xsoRbhG2.js +0 -14318
- package/dist/owner-enrollment-start-xsoRbhG2.js.map +0 -1
- package/dist/recipient-policy-contract.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"recipient-policy-contract.js","names":[],"sources":["../src/recipient-policy-contract.ts"],"sourcesContent":["export const RECIPIENT_POLICY_CONTRACT_VERSION = 1 as const;\n\nexport type RecipientPolicyContractVersion = typeof RECIPIENT_POLICY_CONTRACT_VERSION;\n\nexport const RECIPIENT_POLICY_TEAM_RENAME_ERROR_CODES = [\n\t\"team_name_invalid\",\n\t\"team_not_found\",\n\t\"team_rename_stale\",\n\t\"team_link_stale\",\n\t\"team_link_ambiguous\",\n\t\"team_coordinator_rename_failed\",\n\t\"team_local_rename_pending\",\n\t\"team_rename_failed\",\n] as const;\n\nexport type RecipientPolicyTeamRenameErrorCode =\n\t(typeof RECIPIENT_POLICY_TEAM_RENAME_ERROR_CODES)[number];\n\nexport interface RecipientPolicyTeamRenameResultV1 {\n\tversion: 1;\n\tteamId: string;\n\tdisplayName: string;\n\trevision: string;\n\tlinkedCoordinatorGroupRenamed: boolean;\n}\n\nexport type RecipientPolicyEdgeRecipientRefV1 =\n\t| { recipientKind: \"identity\"; identityId: string }\n\t| { recipientKind: \"team\"; teamId: string };\n\nexport interface RecipientPolicyEdgeChangeV1 {\n\tcanonicalProjectIdentity: string;\n\trecipient: RecipientPolicyEdgeRecipientRefV1;\n\taction: \"add\" | \"remove\";\n}\n\nexport interface RecipientPolicyEdgePreviewRequestV1 {\n\tversion: 1;\n\tchanges: RecipientPolicyEdgeChangeV1[];\n}\n\nexport interface RecipientPolicyEdgeCommitRequestV1 extends RecipientPolicyEdgePreviewRequestV1 {\n\treviewedPolicyDigest: string;\n}\n\nexport interface RecipientPolicyEdgePreviewProjectV1 {\n\tcanonicalProjectIdentity: string;\n\tdisplayName: string;\n\texistingMemoryCount: number;\n\tfutureMemoriesShared: true;\n}\n\nexport interface RecipientPolicyEdgeIdentitySummaryV1 {\n\tidentityId: string;\n\tdisplayName: string;\n\tverification: \"local\";\n}\n\nexport type RecipientPolicyEdgeSelectedRecipientV1 =\n\t| ({ recipientKind: \"identity\" } & RecipientPolicyEdgeIdentitySummaryV1)\n\t| {\n\t\t\trecipientKind: \"team\";\n\t\t\tteamId: string;\n\t\t\tdisplayName: string;\n\t\t\tcurrentMembers: RecipientPolicyEdgeIdentitySummaryV1[];\n\t\t\tfutureMembersInherit: true;\n\t };\n\nexport interface RecipientPolicyEdgeEffectiveDeviceV1 {\n\tcanonicalProjectIdentity: string;\n\tidentityId: string;\n\tdeviceId: string;\n\tdisplayName: string;\n}\n\nexport interface RecipientPolicyEdgePreviewResponseV1 {\n\tversion: 1;\n\tnormalizedChanges: RecipientPolicyEdgeChangeV1[];\n\toutcomes: RecipientPolicyEdgeCommitOutcomeV1[];\n\tprojects: RecipientPolicyEdgePreviewProjectV1[];\n\tselectedRecipients: RecipientPolicyEdgeSelectedRecipientV1[];\n\teffectiveDevices: RecipientPolicyEdgeEffectiveDeviceV1[];\n\tunchangedProjects: RecipientPolicyEdgePreviewProjectV1[];\n\treviewedPolicyDigest: string;\n\taddCount: number;\n\tremoveCount: number;\n\tnetWriteCount: number;\n}\n\nexport type RecipientPolicyEdgeOutcomeV1 =\n\t| \"added\"\n\t| \"removed\"\n\t| \"already_present\"\n\t| \"already_absent\";\n\nexport interface RecipientPolicyEdgeCommitOutcomeV1 {\n\tchange: RecipientPolicyEdgeChangeV1;\n\toutcome: RecipientPolicyEdgeOutcomeV1;\n}\n\nexport interface RecipientPolicyEdgeCommitResultV1 {\n\tversion: 1;\n\tstatus: \"applied\" | \"stale\" | \"invalid\" | \"not_found\" | \"conflict\";\n\treviewedPolicyDigest: string;\n\terrorCode: string | null;\n\toutcomes: RecipientPolicyEdgeCommitOutcomeV1[];\n\twriteCount: number;\n\tidempotent: boolean;\n}\n\nexport type RecipientPolicyIdentityKindV1 = \"personal\" | \"work\" | \"other\";\nexport type RecipientPolicyIdentityStatusV1 = \"active\" | \"pending\" | \"merged\";\n\nexport interface RecipientPolicyIdentityV1 {\n\tversion: RecipientPolicyContractVersion;\n\tidentityId: string;\n\tdisplayName: string;\n\tkind: RecipientPolicyIdentityKindV1;\n\tverification: \"local\";\n\tstatus: RecipientPolicyIdentityStatusV1;\n\tmergedIntoIdentityId: string | null;\n}\n\nexport interface RecipientPolicyTeamV1 {\n\tversion: RecipientPolicyContractVersion;\n\tteamId: string;\n\tdisplayName: string;\n\tstatus: \"active\" | \"archived\";\n}\n\nexport interface RecipientPolicyTeamMembershipV1 {\n\tversion: RecipientPolicyContractVersion;\n\tteamId: string;\n\tidentityId: string;\n\trole: \"member\" | \"admin\";\n\tstatus: \"active\" | \"pending\" | \"revoked\";\n}\n\nexport interface RecipientPolicyIdentityDeviceV1 {\n\tversion: RecipientPolicyContractVersion;\n\tidentityId: string;\n\tdeviceId: string;\n\tdisplayName: string;\n\tstatus: \"active\" | \"revoked\";\n}\n\nexport interface RecipientPolicyProjectV1 {\n\tversion: RecipientPolicyContractVersion;\n\tcanonicalIdentity: string;\n\tdisplayName: string;\n}\n\nexport type RecipientPolicyIntentSourceV1 = \"user\" | \"migration\" | \"legacy_project_invite\";\n\ninterface RecipientPolicyProjectRecipientBaseV1 {\n\tversion: RecipientPolicyContractVersion;\n\tcanonicalProjectIdentity: string;\n\tintentSource: RecipientPolicyIntentSourceV1;\n\tpolicyRevision: string;\n\tstatus: \"active\" | \"revoked\";\n}\n\nexport type RecipientPolicyProjectRecipientV1 =\n\t| (RecipientPolicyProjectRecipientBaseV1 & {\n\t\t\trecipientKind: \"identity\";\n\t\t\tidentityId: string;\n\t })\n\t| (RecipientPolicyProjectRecipientBaseV1 & {\n\t\t\trecipientKind: \"team\";\n\t\t\tteamId: string;\n\t });\n\ninterface RecipientPolicyEffectiveDeviceBaseV1 {\n\tversion: RecipientPolicyContractVersion;\n\tcanonicalProjectIdentity: string;\n\tidentityId: string;\n\tdeviceId: string;\n}\n\nexport type RecipientPolicyEffectiveDeviceV1 =\n\t| (RecipientPolicyEffectiveDeviceBaseV1 & {\n\t\t\tvia: \"direct_identity\";\n\t })\n\t| (RecipientPolicyEffectiveDeviceBaseV1 & {\n\t\t\tvia: \"team_membership\";\n\t\t\tteamId: string;\n\t });\n\nexport type RecipientPolicyAuthorityV1 = \"legacy_scope\" | \"recipient_policy\";\nexport type RecipientPolicyParityV1 = \"unknown\" | \"matched\" | \"diverged\";\n\nexport interface RecipientPolicyEnforcementV1 {\n\tversion: RecipientPolicyContractVersion;\n\tcanonicalProjectIdentity: string;\n\tauthority: RecipientPolicyAuthorityV1;\n\tparity: RecipientPolicyParityV1;\n\tcutoverState: \"legacy\" | \"eligible\" | \"active\" | \"rolled_back\";\n\tmanagedScopeId: string | null;\n\tdesiredDeviceIds: string[];\n\tcurrentDeviceIds: string[];\n\tsafeErrorCode: string | null;\n}\n\nexport type RecipientPolicyReviewDecisionV1 =\n\t| \"apply_recommendation\"\n\t| \"choose_recipients\"\n\t| \"preserve_current_access\"\n\t| \"reject_suggestion\"\n\t| \"keep_current_setup\"\n\t| \"keep_project_local\"\n\t| \"keep_identities_separate\"\n\t| \"attach_device_to_identity\"\n\t| \"create_identity\"\n\t| \"remove_stale_device\";\n\nexport const RECIPIENT_POLICY_NO_OP_DECISIONS = [\n\t\"keep_current_setup\",\n\t\"reject_suggestion\",\n\t\"keep_project_local\",\n\t\"keep_identities_separate\",\n\t\"remove_stale_device\",\n] as const satisfies readonly RecipientPolicyReviewDecisionV1[];\n\nconst RECIPIENT_POLICY_NO_OP_DECISION_SET = new Set<RecipientPolicyReviewDecisionV1>(\n\tRECIPIENT_POLICY_NO_OP_DECISIONS,\n);\n\nexport function isRecipientPolicyNoOpDecision(\n\tdecision: RecipientPolicyReviewDecisionV1 | string,\n): decision is (typeof RECIPIENT_POLICY_NO_OP_DECISIONS)[number] {\n\treturn RECIPIENT_POLICY_NO_OP_DECISION_SET.has(decision as RecipientPolicyReviewDecisionV1);\n}\n\nexport interface RecipientPolicyReviewOptionV1 {\n\tdecision: RecipientPolicyReviewDecisionV1;\n\tlabel: string;\n\teffect: \"none\" | \"grant_reviewed_access\" | \"revoke_reviewed_access\" | \"metadata_only\";\n\taffectedProjectCount: number;\n\taffectedMemoryCount: number;\n\taffectedDeviceCount: number;\n\t/** Additive exact preview used by actionable review APIs. */\n\tpreview?: RecipientPolicyReviewPreviewV1;\n}\n\nexport interface RecipientPolicyReviewPreviewProjectV1 {\n\tcanonicalIdentity: string;\n\tdisplayName: string;\n}\n\nexport interface RecipientPolicyReviewPreviewDeviceV1 {\n\tdeviceId: string;\n\tdisplayName: string;\n\tidentityId: string | null;\n\tassignment: \"assigned\" | \"unassigned\";\n}\n\nexport interface RecipientPolicyReviewPreviewV1 {\n\tprojects: RecipientPolicyReviewPreviewProjectV1[];\n\teffectiveDevices: RecipientPolicyReviewPreviewDeviceV1[];\n\taffectedProjectCount: number;\n\taffectedMemoryCount: number;\n\taffectedDeviceCount: number;\n\teffect: RecipientPolicyReviewOptionV1[\"effect\"];\n\trequiresDecisionInput: boolean;\n}\n\nexport interface RecipientPolicyReviewResolutionV1 {\n\tdecision: RecipientPolicyReviewDecisionV1;\n\tdecidedByIdentityId: string;\n\tdecidedByDeviceId: string;\n\tresolvedAt: string;\n}\n\nexport type RecipientPolicyReviewConditionCodeV1 =\n\t| \"suggest_local_identity\"\n\t| \"suggest_team_candidate\"\n\t| \"unassigned_effective_device\";\n\nexport interface RecipientPolicyReviewProjectGroupV1 {\n\tidentity: string;\n\tdisplayName: string;\n}\n\nexport interface RecipientPolicyReviewItemV1 {\n\tversion: RecipientPolicyContractVersion;\n\treviewItemId: string;\n\tsourceFingerprint: string;\n\tconditionCode: RecipientPolicyReviewConditionCodeV1;\n\tprojectGroup: RecipientPolicyReviewProjectGroupV1;\n\tfinding: string;\n\treason: string;\n\trecommendedDecision: RecipientPolicyReviewDecisionV1;\n\toptions: RecipientPolicyReviewOptionV1[];\n\tstate: \"open\" | \"resolved\";\n\tresolution: RecipientPolicyReviewResolutionV1 | null;\n}\n\nexport interface RecipientPolicyBlockedItemV1 {\n\tversion: RecipientPolicyContractVersion;\n\tblockedItemId: string;\n\tfinding: string;\n\treason: string;\n\townerLabel: string;\n\trepairAction: string;\n\trepair: {\n\t\tkind: \"reassign_project\" | \"open_project_administration\";\n\t\tprojectIdentity: string;\n\t\tlabel: string;\n\t};\n}\n\nexport interface RecipientPolicyProjectionV1 {\n\tversion: RecipientPolicyContractVersion;\n\tproject: RecipientPolicyProjectV1;\n\tintent: RecipientPolicyProjectRecipientV1[];\n\teffectiveDevices: RecipientPolicyEffectiveDeviceV1[];\n\tenforcement: RecipientPolicyEnforcementV1;\n\treviewItems: RecipientPolicyReviewItemV1[];\n\tblockedItems: RecipientPolicyBlockedItemV1[];\n}\n\nexport interface RecipientPolicyReconciliationStatusV1 {\n\tversion: RecipientPolicyContractVersion;\n\tcanonicalProjectIdentity: string;\n\tstate: \"projected\" | \"parity_verified\" | \"active\" | \"waiting\" | \"needs_attention\" | \"rolled_back\";\n\tauthority: RecipientPolicyAuthorityV1;\n\tparity: RecipientPolicyParityV1;\n\tlastCompletedAt: string | null;\n\tsafeErrorCode: string | null;\n}\n\nexport type LegacyTeamSetupActivationChangeV1 = \"add\" | \"update\" | \"remove\";\n\nexport interface LegacyTeamSetupTeamChangeV1 {\n\tteamId: string;\n\tchange: LegacyTeamSetupActivationChangeV1;\n\tfromDeviceEligibilityMode: \"person_all_devices\" | \"reviewed_allowlist\" | null;\n\ttoDeviceEligibilityMode: \"reviewed_allowlist\";\n}\n\nexport interface LegacyTeamSetupMembershipChangeV1 {\n\tteamId: string;\n\tidentityId: string;\n\tchange: LegacyTeamSetupActivationChangeV1;\n}\n\nexport interface LegacyTeamSetupProjectChangeV1 {\n\tprojectRef: string;\n\tfromProjectIdentity: string | null;\n\ttoProjectIdentity: string | null;\n\tchange: LegacyTeamSetupActivationChangeV1;\n}\n\nexport interface LegacyTeamSetupRecipientChangeV1 {\n\tcanonicalProjectIdentity: string;\n\trecipientKind: \"team\";\n\trecipientId: string;\n\tchange: LegacyTeamSetupActivationChangeV1;\n}\n\nexport interface LegacyTeamSetupDeviceAccessChangeV1 {\n\tcanonicalProjectIdentity: string;\n\tdeviceId: string;\n\tchange: \"add\" | \"remove\";\n}\n\nexport interface LegacyTeamSetupAccessDeltaV1 {\n\tteamChanges: LegacyTeamSetupTeamChangeV1[];\n\tmembershipChanges: LegacyTeamSetupMembershipChangeV1[];\n\tprojectChanges: LegacyTeamSetupProjectChangeV1[];\n\trecipientChanges: LegacyTeamSetupRecipientChangeV1[];\n\tdeviceAccessChanges: LegacyTeamSetupDeviceAccessChangeV1[];\n}\n\nexport interface LegacyTeamSetupActivationPreviewV1 {\n\tcandidateRef: string;\n\tattemptId: string;\n\tfinishDigest: string;\n\taccessDeltaDigest: string;\n\taccessDelta: LegacyTeamSetupAccessDeltaV1;\n}\n\nexport interface LegacyTeamSetupActivationResultV1 {\n\tstatus: \"completed\";\n\tteamId: string;\n\tattemptId: string;\n\taccessDeltaDigest: string;\n\tcompletedAt: string;\n}\n"],"mappings":";AAAA,IAAa,IAAoC,GAIpC,IAA2C;CACvD;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,GA0Ma,IAAmC;CAC/C;CACA;CACA;CACA;CACA;AACD,GAEM,IAAsC,IAAI,IAC/C,CACD;AAEA,SAAgB,EACf,GACgE;CAChE,OAAO,EAAoC,IAAI,CAA2C;AAC3F"}
|