@tearleads/client-sdk 0.1.14 → 0.1.16

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.
Files changed (354) hide show
  1. package/client/Tearleads.d.ts +2 -0
  2. package/client/Tearleads.js +1 -0
  3. package/client/Tearleads.js.map +1 -1
  4. package/client/containerContents.js +2 -1
  5. package/client/containerContents.js.map +1 -1
  6. package/client/index.d.ts +1 -1
  7. package/client/index.js.map +1 -1
  8. package/client/organizations/index.d.ts +4 -42
  9. package/client/organizations/index.js +13 -0
  10. package/client/organizations/index.js.map +1 -1
  11. package/client/organizations/organizationGroupNameHydration.js +8 -1
  12. package/client/organizations/organizationGroupNameHydration.js.map +1 -1
  13. package/client/organizations/organizationsTypes.d.ts +47 -0
  14. package/client/organizations/organizationsTypes.js +2 -0
  15. package/client/organizations/organizationsTypes.js.map +1 -0
  16. package/client/organizations/principalMutationRecovery.d.ts +16 -0
  17. package/client/organizations/principalMutationRecovery.js +23 -0
  18. package/client/organizations/principalMutationRecovery.js.map +1 -0
  19. package/client/organizations/principalMutationScope.js +7 -2
  20. package/client/organizations/principalMutationScope.js.map +1 -1
  21. package/client/principalMutationApi.d.ts +24 -0
  22. package/client/principalMutationApi.js +108 -0
  23. package/client/principalMutationApi.js.map +1 -0
  24. package/client/principalMutationDeadline.js +23 -0
  25. package/client/principalMutationDeadline.js.map +1 -0
  26. package/client/workflowRuntime.d.ts +3 -1
  27. package/client/workflowRuntime.js +44 -5
  28. package/client/workflowRuntime.js.map +1 -1
  29. package/data/documents/blob/shared/types.d.ts +4 -0
  30. package/data/documents/blob/shared/types.js.map +1 -1
  31. package/data/keyingProjectionVerification/accessManifestCheckpointEnforcement.js +2 -0
  32. package/data/keyingProjectionVerification/accessManifestCheckpointEnforcement.js.map +1 -1
  33. package/data/keyingProjectionVerification/checkpointContext.d.ts +2 -1
  34. package/data/keyingProjectionVerification/checkpointContext.js +22 -0
  35. package/data/keyingProjectionVerification/checkpointContext.js.map +1 -1
  36. package/data/keyingProjectionVerification/containerDestinationVerification.js +11 -1
  37. package/data/keyingProjectionVerification/containerDestinationVerification.js.map +1 -1
  38. package/data/keyingProjectionVerification/containerManifestVerification.js.map +1 -1
  39. package/data/keyingProjectionVerification/containerPathVerification.js.map +1 -1
  40. package/data/keyingProjectionVerification/containerProjectionVerification.d.ts +3 -2
  41. package/data/keyingProjectionVerification/containerProjectionVerification.js +10 -11
  42. package/data/keyingProjectionVerification/containerProjectionVerification.js.map +1 -1
  43. package/data/keyingProjectionVerification/documentManifestPolicies.js.map +1 -1
  44. package/data/keyingProjectionVerification/documentManifestVerification.js.map +1 -1
  45. package/data/keyingProjectionVerification/documentProjectionVerification.d.ts +2 -3
  46. package/data/keyingProjectionVerification/documentProjectionVerification.js +4 -0
  47. package/data/keyingProjectionVerification/documentProjectionVerification.js.map +1 -1
  48. package/data/keyingProjectionVerification/mergeProjectionPolicyEvidence.js +14 -12
  49. package/data/keyingProjectionVerification/mergeProjectionPolicyEvidence.js.map +1 -1
  50. package/data/keyingProjectionVerification/organizationFounderBinding.js.map +1 -1
  51. package/data/keyingProjectionVerification/projectionAuthorizationEvidence.js +33 -6
  52. package/data/keyingProjectionVerification/projectionAuthorizationEvidence.js.map +1 -1
  53. package/data/keyingProjectionVerification/projectionLifetimes.js +13 -0
  54. package/data/keyingProjectionVerification/projectionLifetimes.js.map +1 -0
  55. package/data/keyingProjectionVerification/projectionPolicyEvidence.js +19 -66
  56. package/data/keyingProjectionVerification/projectionPolicyEvidence.js.map +1 -1
  57. package/data/keyingProjectionVerification/types.d.ts +13 -2
  58. package/data/keyingProjectionVerification/types.js +15 -0
  59. package/data/keyingProjectionVerification/types.js.map +1 -1
  60. package/data/persistence/keyingCheckpointAdvancePersistence.js +4 -1
  61. package/data/persistence/keyingCheckpointAdvancePersistence.js.map +1 -1
  62. package/data/persistence/organizationFounderPersistence.js +2 -2
  63. package/data/persistence/organizationFounderPersistence.js.map +1 -1
  64. package/data/persistence/principalAuthorizationCheckpoints.js +29 -0
  65. package/data/persistence/principalAuthorizationCheckpoints.js.map +1 -0
  66. package/data/persistence/principalCurrentAcknowledgementPersistence.d.ts +27 -0
  67. package/data/persistence/principalCurrentAcknowledgementPersistence.js +109 -0
  68. package/data/persistence/principalCurrentAcknowledgementPersistence.js.map +1 -0
  69. package/data/persistence/principalGrantRetirementPersistence.d.ts +3 -3
  70. package/data/persistence/principalGrantRetirementPersistence.js +4 -1
  71. package/data/persistence/principalGrantRetirementPersistence.js.map +1 -1
  72. package/data/persistence/principalHistoryEvidencePersistence.d.ts +30 -0
  73. package/data/persistence/principalHistoryPrefixPersistence.d.ts +24 -0
  74. package/data/persistence/principalHistoryPrefixPersistence.js +6 -2
  75. package/data/persistence/principalHistoryPrefixPersistence.js.map +1 -1
  76. package/data/persistence/principalHistoryStagePersistence.d.ts +21 -0
  77. package/data/persistence/principalKeyEnvelopeCandidates.js +12 -1
  78. package/data/persistence/principalKeyEnvelopeCandidates.js.map +1 -1
  79. package/data/persistence/principalMutationJournalPersistence.d.ts +19 -0
  80. package/data/persistence/principalMutationJournalPersistence.js +53 -0
  81. package/data/persistence/principalMutationJournalPersistence.js.map +1 -0
  82. package/data/persistence/verifiedPrincipalPolicyBundle.js +7 -51
  83. package/data/persistence/verifiedPrincipalPolicyBundle.js.map +1 -1
  84. package/data/persistence/verifiedPrincipalPolicyCurrent.js +56 -0
  85. package/data/persistence/verifiedPrincipalPolicyCurrent.js.map +1 -0
  86. package/data/principals/principalHistoryRuntime.js +12 -0
  87. package/data/principals/principalHistoryRuntime.js.map +1 -0
  88. package/data/principals/principalHistoryStageProtection.js +2 -12
  89. package/data/principals/principalHistoryStageProtection.js.map +1 -1
  90. package/data/principals/principalMutationJournal.d.ts +26 -0
  91. package/data/principals/principalMutationJournal.js +90 -0
  92. package/data/principals/principalMutationJournal.js.map +1 -0
  93. package/data/principals/principalMutationJournalRecord.d.ts +8 -0
  94. package/data/principals/principalMutationJournalRecord.js +25 -0
  95. package/data/principals/principalMutationJournalRecord.js.map +1 -0
  96. package/data/principals/principalPolicyEvidence.d.ts +2 -2
  97. package/data/principals/principalPolicyEvidence.js.map +1 -1
  98. package/data/sqlite/principalHistoryEvidenceSchema.d.ts +308 -0
  99. package/data/sqlite/principalHistoryStageSchema.d.ts +119 -0
  100. package/data/sqlite/principalHistoryStageSchema.js +3 -0
  101. package/data/sqlite/principalHistoryStageSchema.js.map +1 -1
  102. package/data/sqlite/principalMutationJournalSchema.d.ts +85 -0
  103. package/data/sqlite/principalMutationJournalSchema.js +13 -0
  104. package/data/sqlite/principalMutationJournalSchema.js.map +1 -0
  105. package/data/sqlite/schema.d.ts +83 -0
  106. package/data/sqlite/schema.js +3 -0
  107. package/data/sqlite/schema.js.map +1 -1
  108. package/index.d.ts +5 -5
  109. package/index.js +2 -2
  110. package/index.js.map +1 -1
  111. package/internal/api-client/ApiCache.d.ts +54 -0
  112. package/internal/api-client/ApiClient.d.ts +255 -309
  113. package/internal/api-client/ApiClient.js +15 -6
  114. package/internal/api-client/ApiClient.js.map +1 -1
  115. package/internal/api-client/index.d.ts +1 -0
  116. package/internal/api-client/index.js.map +1 -1
  117. package/internal/api-client/principalHistoryDeadline.js +20 -0
  118. package/internal/api-client/principalHistoryDeadline.js.map +1 -0
  119. package/internal/api-client/principalHistoryRequest.js +59 -22
  120. package/internal/api-client/principalHistoryRequest.js.map +1 -1
  121. package/internal/api-client/principalHistoryRequestContext.js +18 -5
  122. package/internal/api-client/principalHistoryRequestContext.js.map +1 -1
  123. package/internal/api-client/principalPolicyRequests.d.ts +799 -0
  124. package/internal/api-client/principalPolicyRequests.js +9 -4
  125. package/internal/api-client/principalPolicyRequests.js.map +1 -1
  126. package/internal/api-client/projectionPolicyHistoryPages.d.ts +9 -0
  127. package/internal/api-client/projectionPolicyHistoryPages.js +88 -0
  128. package/internal/api-client/projectionPolicyHistoryPages.js.map +1 -0
  129. package/internal/api-client/writerProjectionRequests.js +26 -0
  130. package/internal/api-client/writerProjectionRequests.js.map +1 -0
  131. package/internal/crypto/index.d.ts +1 -1
  132. package/internal/crypto/index.js +1 -1
  133. package/internal/crypto/index.js.map +1 -1
  134. package/internal/crypto/keying/index.d.ts +2 -0
  135. package/internal/crypto/keying/index.js +2 -0
  136. package/internal/crypto/keying/index.js.map +1 -1
  137. package/internal/crypto/keying/principalPolicyCurrent.d.ts +1 -1
  138. package/internal/crypto/keying/principalPolicyCurrent.js +3 -3
  139. package/internal/crypto/keying/principalPolicyCurrent.js.map +1 -1
  140. package/internal/crypto/keying/principalPolicyCurrentEvidence.js +16 -0
  141. package/internal/crypto/keying/principalPolicyCurrentEvidence.js.map +1 -0
  142. package/internal/crypto/keying/principalPolicyCurrentMutation.d.ts +10 -0
  143. package/internal/crypto/keying/principalPolicyCurrentMutation.js +51 -0
  144. package/internal/crypto/keying/principalPolicyCurrentMutation.js.map +1 -0
  145. package/internal/crypto/keying/principalPolicyCurrentSuccessor.d.ts +10 -0
  146. package/internal/crypto/keying/principalPolicyCurrentSuccessor.js +60 -0
  147. package/internal/crypto/keying/principalPolicyCurrentSuccessor.js.map +1 -0
  148. package/internal/crypto/keying/principalPolicyHistory.js +8 -1
  149. package/internal/crypto/keying/principalPolicyHistory.js.map +1 -1
  150. package/internal/crypto/keying/principalPolicyHistoryReferences.js +1 -1
  151. package/internal/crypto/keying/principalPolicyHistoryReferences.js.map +1 -1
  152. package/internal/crypto/keying/principalPolicyHistoryTypes.d.ts +7 -2
  153. package/internal/crypto/keying/principalPolicyHistoryTypes.js +6 -3
  154. package/internal/crypto/keying/principalPolicyHistoryTypes.js.map +1 -1
  155. package/internal/crypto/projectionHistorySlots.js +0 -4
  156. package/internal/crypto/projectionHistorySlots.js.map +1 -1
  157. package/internal/validators/operation/index.d.ts +1 -0
  158. package/internal/validators/operation/index.js +1 -0
  159. package/internal/validators/operation/index.js.map +1 -1
  160. package/internal/validators/operation/principals.d.ts +38 -16
  161. package/internal/validators/operation/principals.js +11 -5
  162. package/internal/validators/operation/principals.js.map +1 -1
  163. package/internal/validators/operation/projectionPolicyHistory.d.ts +512 -0
  164. package/internal/validators/operation/projectionPolicyHistory.js +37 -0
  165. package/internal/validators/operation/projectionPolicyHistory.js.map +1 -0
  166. package/internal/validators/operation/registry.d.ts +2 -0
  167. package/internal/validators/operation/registry.js +2 -0
  168. package/internal/validators/operation/registry.js.map +1 -1
  169. package/internal/validators/operation/writerProjections.d.ts +178 -1224
  170. package/internal/validators/operation/writerProjections.js +9 -2
  171. package/internal/validators/operation/writerProjections.js.map +1 -1
  172. package/internal/validators/response/container.d.ts +84 -612
  173. package/internal/validators/response/documentMutation.d.ts +84 -612
  174. package/internal/validators/response/index.d.ts +1 -0
  175. package/internal/validators/response/index.js +1 -0
  176. package/internal/validators/response/index.js.map +1 -1
  177. package/internal/validators/response/organizationBilling.d.ts +1 -0
  178. package/internal/validators/response/organizationBilling.js +1 -1
  179. package/internal/validators/response/organizationBilling.js.map +1 -1
  180. package/internal/validators/response/principalHistoryPreparation.js +28 -1
  181. package/internal/validators/response/principalHistoryPreparation.js.map +1 -1
  182. package/internal/validators/response/principalPolicySnapshotPage.d.ts +388 -0
  183. package/internal/validators/response/principalPolicySnapshotPage.js +24 -0
  184. package/internal/validators/response/principalPolicySnapshotPage.js.map +1 -0
  185. package/internal/validators/response/projectionPolicyEvidence.d.ts +85 -613
  186. package/internal/validators/response/projectionPolicyEvidence.js +10 -5
  187. package/internal/validators/response/projectionPolicyEvidence.js.map +1 -1
  188. package/package.json +1 -1
  189. package/stores/documents/documentStore/attachmentHydration.js +3 -0
  190. package/stores/documents/documentStore/attachmentHydration.js.map +1 -1
  191. package/stores/documents/documentStore/syncDetachedAttachments.js +3 -0
  192. package/stores/documents/documentStore/syncDetachedAttachments.js.map +1 -1
  193. package/workflows/blobs/decrypt.d.ts +1 -1
  194. package/workflows/blobs/decrypt.js +3 -1
  195. package/workflows/blobs/decrypt.js.map +1 -1
  196. package/workflows/blobs/detach.js +6 -1
  197. package/workflows/blobs/detach.js.map +1 -1
  198. package/workflows/blobs/hydrate.d.ts +3 -1
  199. package/workflows/blobs/hydrate.js +2 -0
  200. package/workflows/blobs/hydrate.js.map +1 -1
  201. package/workflows/blobs/retainedAttachmentVerification.js +2 -0
  202. package/workflows/blobs/retainedAttachmentVerification.js.map +1 -1
  203. package/workflows/container-contents/container-state/createAdoption.js +2 -0
  204. package/workflows/container-contents/container-state/createAdoption.js.map +1 -1
  205. package/workflows/container-contents/container-state/createWithMetadata.js +7 -39
  206. package/workflows/container-contents/container-state/createWithMetadata.js.map +1 -1
  207. package/workflows/container-contents/container-state/createWithMetadataPlan.js +68 -0
  208. package/workflows/container-contents/container-state/createWithMetadataPlan.js.map +1 -0
  209. package/workflows/container-contents/remoteContainerState.js +3 -1
  210. package/workflows/container-contents/remoteContainerState.js.map +1 -1
  211. package/workflows/container-contents/remoteHydration/verifiedDestination.js +3 -0
  212. package/workflows/container-contents/remoteHydration/verifiedDestination.js.map +1 -1
  213. package/workflows/container-contents/runtime.d.ts +3 -0
  214. package/workflows/container-contents/runtime.js +7 -6
  215. package/workflows/container-contents/runtime.js.map +1 -1
  216. package/workflows/containers/child/share.js +4 -0
  217. package/workflows/containers/child/share.js.map +1 -1
  218. package/workflows/containers/child/sharePrincipalPolicy.d.ts +1 -0
  219. package/workflows/containers/child/sharePrincipalPolicy.js.map +1 -1
  220. package/workflows/documents/create.d.ts +2 -15
  221. package/workflows/documents/create.js +9 -64
  222. package/workflows/documents/create.js.map +1 -1
  223. package/workflows/documents/createProjection.d.ts +14 -0
  224. package/workflows/documents/createProjection.js +26 -0
  225. package/workflows/documents/createProjection.js.map +1 -0
  226. package/workflows/documents/createResponse.js +49 -0
  227. package/workflows/documents/createResponse.js.map +1 -0
  228. package/workflows/documents/linkSetBlobRewraps.js +2 -0
  229. package/workflows/documents/linkSetBlobRewraps.js.map +1 -1
  230. package/workflows/documents/runtime.d.ts +3 -0
  231. package/workflows/documents/runtime.js +3 -2
  232. package/workflows/documents/runtime.js.map +1 -1
  233. package/workflows/documents/syncFailureClassification.js +3 -1
  234. package/workflows/documents/syncFailureClassification.js.map +1 -1
  235. package/workflows/organizations/acknowledgedDirectoryBindings.js +18 -0
  236. package/workflows/organizations/acknowledgedDirectoryBindings.js.map +1 -0
  237. package/workflows/organizations/currentGroupMetadataAuthority.js +32 -0
  238. package/workflows/organizations/currentGroupMetadataAuthority.js.map +1 -0
  239. package/workflows/organizations/currentOrganizationAuthority.js +88 -0
  240. package/workflows/organizations/currentOrganizationAuthority.js.map +1 -0
  241. package/workflows/organizations/currentOrganizationGroupNames.js +68 -0
  242. package/workflows/organizations/currentOrganizationGroupNames.js.map +1 -0
  243. package/workflows/organizations/currentPolicyMutationAcknowledgement.js +65 -0
  244. package/workflows/organizations/currentPolicyMutationAcknowledgement.js.map +1 -0
  245. package/workflows/organizations/deleteOrganizationGroup.js +1 -0
  246. package/workflows/organizations/deleteOrganizationGroup.js.map +1 -1
  247. package/workflows/organizations/groupCreation.js +1 -0
  248. package/workflows/organizations/groupCreation.js.map +1 -1
  249. package/workflows/organizations/groupMetadataAccess.d.ts +2 -2
  250. package/workflows/organizations/groupMetadataAccess.js +1 -1
  251. package/workflows/organizations/groupMetadataAccess.js.map +1 -1
  252. package/workflows/organizations/groupMetadataBinding.js.map +1 -1
  253. package/workflows/organizations/groupMetadataContainerAuthority.js +2 -47
  254. package/workflows/organizations/groupMetadataContainerAuthority.js.map +1 -1
  255. package/workflows/organizations/groupMetadataRootBinding.js +51 -0
  256. package/workflows/organizations/groupMetadataRootBinding.js.map +1 -0
  257. package/workflows/organizations/groupMetadataRuntime.js +20 -9
  258. package/workflows/organizations/groupMetadataRuntime.js.map +1 -1
  259. package/workflows/organizations/groupMutationAuthorization.js.map +1 -1
  260. package/workflows/organizations/groupPolicyMutationAcknowledgement.js +9 -75
  261. package/workflows/organizations/groupPolicyMutationAcknowledgement.js.map +1 -1
  262. package/workflows/organizations/groupPolicyMutationContext.d.ts +5 -13
  263. package/workflows/organizations/groupPolicyMutationContext.js +1 -0
  264. package/workflows/organizations/groupPolicyMutationContext.js.map +1 -1
  265. package/workflows/organizations/groupPolicyMutationEvidence.d.ts +26 -0
  266. package/workflows/organizations/groupPolicyMutationEvidence.js +64 -0
  267. package/workflows/organizations/groupPolicyMutationEvidence.js.map +1 -0
  268. package/workflows/organizations/groupPolicyMutationHead.js.map +1 -1
  269. package/workflows/organizations/groupPolicyRequests.js +69 -63
  270. package/workflows/organizations/groupPolicyRequests.js.map +1 -1
  271. package/workflows/organizations/index.d.ts +6 -0
  272. package/workflows/organizations/index.js +5 -0
  273. package/workflows/organizations/index.js.map +1 -1
  274. package/workflows/organizations/organizationGroupNames.js +7 -0
  275. package/workflows/organizations/organizationGroupNames.js.map +1 -1
  276. package/workflows/organizations/principalCurrentPublicationSeal.js +51 -0
  277. package/workflows/organizations/principalCurrentPublicationSeal.js.map +1 -0
  278. package/workflows/organizations/principalMutationJournalLane.js +26 -0
  279. package/workflows/organizations/principalMutationJournalLane.js.map +1 -0
  280. package/workflows/organizations/principalMutationJournalManagement.d.ts +26 -0
  281. package/workflows/organizations/principalMutationJournalManagement.js +104 -0
  282. package/workflows/organizations/principalMutationJournalManagement.js.map +1 -0
  283. package/workflows/organizations/principalMutationJournalSession.d.ts +26 -0
  284. package/workflows/organizations/principalMutationJournalSession.js +85 -0
  285. package/workflows/organizations/principalMutationJournalSession.js.map +1 -0
  286. package/workflows/organizations/principalMutationReceipt.js +21 -0
  287. package/workflows/organizations/principalMutationReceipt.js.map +1 -0
  288. package/workflows/organizations/principalPolicyReceiptArtifacts.js +74 -0
  289. package/workflows/organizations/principalPolicyReceiptArtifacts.js.map +1 -0
  290. package/workflows/organizations/principalPolicyRequest.d.ts +5 -4
  291. package/workflows/organizations/principalPolicyRequest.js.map +1 -1
  292. package/workflows/organizations/retainAcknowledgedPrincipalCurrents.d.ts +21 -0
  293. package/workflows/organizations/retainAcknowledgedPrincipalCurrents.js +155 -0
  294. package/workflows/organizations/retainAcknowledgedPrincipalCurrents.js.map +1 -0
  295. package/workflows/principals/index.d.ts +2 -0
  296. package/workflows/principals/index.js +1 -0
  297. package/workflows/principals/index.js.map +1 -1
  298. package/workflows/principals/policyVerification.js.map +1 -1
  299. package/workflows/principals/principalCurrentRecoveryBatch.js +14 -0
  300. package/workflows/principals/principalCurrentRecoveryBatch.js.map +1 -0
  301. package/workflows/principals/principalHistoryRecoveryAuthority.js +20 -0
  302. package/workflows/principals/principalHistoryRecoveryAuthority.js.map +1 -0
  303. package/workflows/principals/principalHistoryRecoveryStage.js +1 -1
  304. package/workflows/principals/principalHistoryRecoveryStage.js.map +1 -1
  305. package/workflows/principals/principalHistoryRecoveryTypes.d.ts +3 -3
  306. package/workflows/principals/principalHistoryRecoveryTypes.js.map +1 -1
  307. package/workflows/principals/principalHistoryRecoveryVerification.js +6 -1
  308. package/workflows/principals/principalHistoryRecoveryVerification.js.map +1 -1
  309. package/workflows/principals/principalRecoveryDirectory.d.ts +1 -1
  310. package/workflows/principals/principalRecoveryDirectory.js +29 -4
  311. package/workflows/principals/principalRecoveryDirectory.js.map +1 -1
  312. package/workflows/principals/principalRecoveryDiscoveryPage.js +36 -0
  313. package/workflows/principals/principalRecoveryDiscoveryPage.js.map +1 -0
  314. package/workflows/principals/principalRecoveryLocalPreference.js +28 -0
  315. package/workflows/principals/principalRecoveryLocalPreference.js.map +1 -0
  316. package/workflows/principals/principalRecoveryMemo.d.ts +16 -0
  317. package/workflows/principals/principalRecoveryMemo.js +88 -16
  318. package/workflows/principals/principalRecoveryMemo.js.map +1 -1
  319. package/workflows/principals/principalRecoveryOutage.js +1 -1
  320. package/workflows/principals/principalRecoveryOutage.js.map +1 -1
  321. package/workflows/principals/publicPrincipalHistoryAuthority.js +60 -0
  322. package/workflows/principals/publicPrincipalHistoryAuthority.js.map +1 -0
  323. package/workflows/principals/publicPrincipalHistoryPage.js +87 -0
  324. package/workflows/principals/publicPrincipalHistoryPage.js.map +1 -0
  325. package/workflows/principals/publicPrincipalHistoryProgress.js +178 -0
  326. package/workflows/principals/publicPrincipalHistoryProgress.js.map +1 -0
  327. package/workflows/principals/publicPrincipalHistoryTypes.d.ts +39 -0
  328. package/workflows/principals/publicPrincipalHistoryTypes.js +2 -0
  329. package/workflows/principals/publicPrincipalHistoryTypes.js.map +1 -0
  330. package/workflows/principals/publicProjectionDirectory.js +40 -0
  331. package/workflows/principals/publicProjectionDirectory.js.map +1 -0
  332. package/workflows/principals/publicProjectionPrincipal.js +53 -0
  333. package/workflows/principals/publicProjectionPrincipal.js.map +1 -0
  334. package/workflows/principals/recoverCurrentOrganizationPolicy.js +33 -0
  335. package/workflows/principals/recoverCurrentOrganizationPolicy.js.map +1 -0
  336. package/workflows/principals/recoverPrincipalPolicyHistory.js +4 -1
  337. package/workflows/principals/recoverPrincipalPolicyHistory.js.map +1 -1
  338. package/workflows/principals/recoverProjectionPolicyHistory.d.ts +9 -0
  339. package/workflows/principals/recoverProjectionPolicyHistory.js +98 -0
  340. package/workflows/principals/recoverProjectionPolicyHistory.js.map +1 -0
  341. package/workflows/principals/recoverPublicPrincipalHistory.js +176 -0
  342. package/workflows/principals/recoverPublicPrincipalHistory.js.map +1 -0
  343. package/workflows/principals/recoverScopedPrincipalPolicyHistory.d.ts +2 -1
  344. package/workflows/principals/recoverScopedPrincipalPolicyHistory.js +15 -20
  345. package/workflows/principals/recoverScopedPrincipalPolicyHistory.js.map +1 -1
  346. package/workflows/principals/runtimePolicyRecovery.js +16 -9
  347. package/workflows/principals/runtimePolicyRecovery.js.map +1 -1
  348. package/workflows/principals/runtimePolicyWarmer.js +2 -0
  349. package/workflows/principals/runtimePolicyWarmer.js.map +1 -1
  350. package/workflows/principals/runtimeProjectionPolicyRecovery.js +56 -0
  351. package/workflows/principals/runtimeProjectionPolicyRecovery.js.map +1 -0
  352. package/workflows/principals/selectPublicPrincipalHistory.js +90 -0
  353. package/workflows/principals/selectPublicPrincipalHistory.js.map +1 -0
  354. package/workflows/registration/provisioningBootstrapBuilders.d.ts +21 -153
@@ -1,700 +1,172 @@
1
1
  import type { z } from "zod";
2
- /** Public authorization history only; never group payloads or member envelopes. */
2
+ /** Pinned public history sources plus the signed directory payloads they need. */
3
3
  export declare const ProjectionPolicyEvidenceResponseSchema: z.ZodType<{
4
4
  organization: {
5
- currentGrants: {
6
- accessLevel: "admin" | "read" | "write";
7
- containerId: string;
8
- }[];
9
- currentProjection: {
10
- role: "member" | "admin";
11
- userId: string;
12
- }[];
13
- currentState: {
14
- createdAt: string;
15
- encapsulationPublicKey: string;
16
- externalAuthority: {
17
- keyEpoch: number;
18
- keyFingerprint: string;
19
- principalId: string;
20
- principalType: "group";
21
- stateHash: string;
22
- version: number;
23
- } | null;
24
- grantCount: number;
25
- grantRoot: string;
5
+ head: {
26
6
  keyEpoch: number;
27
7
  keyFingerprint: string;
28
- memberCount: number;
29
- memberEnvelopesRoot: string;
30
- membershipMode: "projection";
31
- membershipRoot: string;
32
- payloadCiphertextHash: string;
33
- prevStateHash: string | null;
34
8
  principalId: string;
35
9
  principalType: "group" | "organization";
36
- projectionRoot: string;
37
- signature: string;
38
- signedAt: string;
39
- signerUserId: string;
40
- signerUserKeyFingerprint: string;
41
10
  stateHash: string;
42
11
  version: number;
43
12
  };
44
- previousStates: {
45
- grants: {
46
- accessLevel: "admin" | "read" | "write";
47
- containerId: string;
48
- }[];
49
- projection: {
50
- role: "member" | "admin";
51
- userId: string;
52
- }[];
53
- state: {
54
- createdAt: string;
55
- encapsulationPublicKey: string;
56
- externalAuthority: {
57
- keyEpoch: number;
58
- keyFingerprint: string;
59
- principalId: string;
60
- principalType: "group";
61
- stateHash: string;
62
- version: number;
63
- } | null;
64
- grantCount: number;
65
- grantRoot: string;
66
- keyEpoch: number;
67
- keyFingerprint: string;
68
- memberCount: number;
69
- memberEnvelopesRoot: string;
70
- membershipMode: "projection";
71
- membershipRoot: string;
72
- payloadCiphertextHash: string;
73
- prevStateHash: string | null;
74
- principalId: string;
75
- principalType: "group" | "organization";
76
- projectionRoot: string;
77
- signature: string;
78
- signedAt: string;
79
- signerUserId: string;
80
- signerUserKeyFingerprint: string;
81
- stateHash: string;
82
- version: number;
83
- };
84
- }[];
13
+ grant: string;
85
14
  } | null;
86
15
  organizationPayloads: {
87
- cipherSuite: "aes-256-gcm";
88
- ciphertext: string;
89
- ciphertextHash: string;
90
- createdAt: string;
91
- principalId: string;
92
- principalType: "group" | "organization";
93
- stateHash: string;
16
+ reference: {
17
+ keyEpoch: number;
18
+ keyFingerprint: string;
19
+ principalId: string;
20
+ principalType: "group" | "organization";
21
+ stateHash: string;
22
+ version: number;
23
+ };
24
+ payload: {
25
+ cipherSuite: "aes-256-gcm";
26
+ ciphertext: string;
27
+ ciphertextHash: string;
28
+ createdAt: string;
29
+ principalId: string;
30
+ principalType: "group" | "organization";
31
+ stateHash: string;
32
+ };
94
33
  }[];
95
34
  groups: {
96
- currentGrants: {
97
- accessLevel: "admin" | "read" | "write";
98
- containerId: string;
99
- }[];
100
- currentProjection: {
101
- role: "member" | "admin";
102
- userId: string;
103
- }[];
104
- currentState: {
105
- createdAt: string;
106
- encapsulationPublicKey: string;
107
- externalAuthority: {
108
- keyEpoch: number;
109
- keyFingerprint: string;
110
- principalId: string;
111
- principalType: "group";
112
- stateHash: string;
113
- version: number;
114
- } | null;
115
- grantCount: number;
116
- grantRoot: string;
35
+ head: {
117
36
  keyEpoch: number;
118
37
  keyFingerprint: string;
119
- memberCount: number;
120
- memberEnvelopesRoot: string;
121
- membershipMode: "projection";
122
- membershipRoot: string;
123
- payloadCiphertextHash: string;
124
- prevStateHash: string | null;
125
38
  principalId: string;
126
39
  principalType: "group" | "organization";
127
- projectionRoot: string;
128
- signature: string;
129
- signedAt: string;
130
- signerUserId: string;
131
- signerUserKeyFingerprint: string;
132
40
  stateHash: string;
133
41
  version: number;
134
42
  };
135
- previousStates: {
136
- grants: {
137
- accessLevel: "admin" | "read" | "write";
138
- containerId: string;
139
- }[];
140
- projection: {
141
- role: "member" | "admin";
142
- userId: string;
143
- }[];
144
- state: {
145
- createdAt: string;
146
- encapsulationPublicKey: string;
147
- externalAuthority: {
148
- keyEpoch: number;
149
- keyFingerprint: string;
150
- principalId: string;
151
- principalType: "group";
152
- stateHash: string;
153
- version: number;
154
- } | null;
155
- grantCount: number;
156
- grantRoot: string;
157
- keyEpoch: number;
158
- keyFingerprint: string;
159
- memberCount: number;
160
- memberEnvelopesRoot: string;
161
- membershipMode: "projection";
162
- membershipRoot: string;
163
- payloadCiphertextHash: string;
164
- prevStateHash: string | null;
165
- principalId: string;
166
- principalType: "group" | "organization";
167
- projectionRoot: string;
168
- signature: string;
169
- signedAt: string;
170
- signerUserId: string;
171
- signerUserKeyFingerprint: string;
172
- stateHash: string;
173
- version: number;
174
- };
175
- }[];
43
+ grant: string;
176
44
  }[];
177
45
  }, {
178
46
  organization: {
179
- currentGrants: {
180
- accessLevel: "admin" | "read" | "write";
181
- containerId: string;
182
- }[];
183
- currentProjection: {
184
- role: "member" | "admin";
185
- userId: string;
186
- }[];
187
- currentState: {
188
- createdAt: string;
189
- encapsulationPublicKey: string;
190
- externalAuthority: {
191
- keyEpoch: number;
192
- keyFingerprint: string;
193
- principalId: string;
194
- principalType: "group";
195
- stateHash: string;
196
- version: number;
197
- } | null;
198
- grantCount: number;
199
- grantRoot: string;
47
+ head: {
200
48
  keyEpoch: number;
201
49
  keyFingerprint: string;
202
- memberCount: number;
203
- memberEnvelopesRoot: string;
204
- membershipMode: "projection";
205
- membershipRoot: string;
206
- payloadCiphertextHash: string;
207
- prevStateHash: string | null;
208
50
  principalId: string;
209
51
  principalType: "group" | "organization";
210
- projectionRoot: string;
211
- signature: string;
212
- signedAt: string;
213
- signerUserId: string;
214
- signerUserKeyFingerprint: string;
215
52
  stateHash: string;
216
53
  version: number;
217
54
  };
218
- previousStates: {
219
- grants: {
220
- accessLevel: "admin" | "read" | "write";
221
- containerId: string;
222
- }[];
223
- projection: {
224
- role: "member" | "admin";
225
- userId: string;
226
- }[];
227
- state: {
228
- createdAt: string;
229
- encapsulationPublicKey: string;
230
- externalAuthority: {
231
- keyEpoch: number;
232
- keyFingerprint: string;
233
- principalId: string;
234
- principalType: "group";
235
- stateHash: string;
236
- version: number;
237
- } | null;
238
- grantCount: number;
239
- grantRoot: string;
240
- keyEpoch: number;
241
- keyFingerprint: string;
242
- memberCount: number;
243
- memberEnvelopesRoot: string;
244
- membershipMode: "projection";
245
- membershipRoot: string;
246
- payloadCiphertextHash: string;
247
- prevStateHash: string | null;
248
- principalId: string;
249
- principalType: "group" | "organization";
250
- projectionRoot: string;
251
- signature: string;
252
- signedAt: string;
253
- signerUserId: string;
254
- signerUserKeyFingerprint: string;
255
- stateHash: string;
256
- version: number;
257
- };
258
- }[];
55
+ grant: string;
259
56
  } | null;
260
57
  organizationPayloads: {
261
- cipherSuite: "aes-256-gcm";
262
- ciphertext: string;
263
- ciphertextHash: string;
264
- createdAt: string;
265
- principalId: string;
266
- principalType: "group" | "organization";
267
- stateHash: string;
58
+ reference: {
59
+ keyEpoch: number;
60
+ keyFingerprint: string;
61
+ principalId: string;
62
+ principalType: "group" | "organization";
63
+ stateHash: string;
64
+ version: number;
65
+ };
66
+ payload: {
67
+ cipherSuite: "aes-256-gcm";
68
+ ciphertext: string;
69
+ ciphertextHash: string;
70
+ createdAt: string;
71
+ principalId: string;
72
+ principalType: "group" | "organization";
73
+ stateHash: string;
74
+ };
268
75
  }[];
269
76
  groups: {
270
- currentGrants: {
271
- accessLevel: "admin" | "read" | "write";
272
- containerId: string;
273
- }[];
274
- currentProjection: {
275
- role: "member" | "admin";
276
- userId: string;
277
- }[];
278
- currentState: {
279
- createdAt: string;
280
- encapsulationPublicKey: string;
281
- externalAuthority: {
282
- keyEpoch: number;
283
- keyFingerprint: string;
284
- principalId: string;
285
- principalType: "group";
286
- stateHash: string;
287
- version: number;
288
- } | null;
289
- grantCount: number;
290
- grantRoot: string;
77
+ head: {
291
78
  keyEpoch: number;
292
79
  keyFingerprint: string;
293
- memberCount: number;
294
- memberEnvelopesRoot: string;
295
- membershipMode: "projection";
296
- membershipRoot: string;
297
- payloadCiphertextHash: string;
298
- prevStateHash: string | null;
299
80
  principalId: string;
300
81
  principalType: "group" | "organization";
301
- projectionRoot: string;
302
- signature: string;
303
- signedAt: string;
304
- signerUserId: string;
305
- signerUserKeyFingerprint: string;
306
82
  stateHash: string;
307
83
  version: number;
308
84
  };
309
- previousStates: {
310
- grants: {
311
- accessLevel: "admin" | "read" | "write";
312
- containerId: string;
313
- }[];
314
- projection: {
315
- role: "member" | "admin";
316
- userId: string;
317
- }[];
318
- state: {
319
- createdAt: string;
320
- encapsulationPublicKey: string;
321
- externalAuthority: {
322
- keyEpoch: number;
323
- keyFingerprint: string;
324
- principalId: string;
325
- principalType: "group";
326
- stateHash: string;
327
- version: number;
328
- } | null;
329
- grantCount: number;
330
- grantRoot: string;
331
- keyEpoch: number;
332
- keyFingerprint: string;
333
- memberCount: number;
334
- memberEnvelopesRoot: string;
335
- membershipMode: "projection";
336
- membershipRoot: string;
337
- payloadCiphertextHash: string;
338
- prevStateHash: string | null;
339
- principalId: string;
340
- principalType: "group" | "organization";
341
- projectionRoot: string;
342
- signature: string;
343
- signedAt: string;
344
- signerUserId: string;
345
- signerUserKeyFingerprint: string;
346
- stateHash: string;
347
- version: number;
348
- };
349
- }[];
85
+ grant: string;
350
86
  }[];
351
87
  }, z.core.$ZodTypeInternals<{
352
88
  organization: {
353
- currentGrants: {
354
- accessLevel: "admin" | "read" | "write";
355
- containerId: string;
356
- }[];
357
- currentProjection: {
358
- role: "member" | "admin";
359
- userId: string;
360
- }[];
361
- currentState: {
362
- createdAt: string;
363
- encapsulationPublicKey: string;
364
- externalAuthority: {
365
- keyEpoch: number;
366
- keyFingerprint: string;
367
- principalId: string;
368
- principalType: "group";
369
- stateHash: string;
370
- version: number;
371
- } | null;
372
- grantCount: number;
373
- grantRoot: string;
89
+ head: {
374
90
  keyEpoch: number;
375
91
  keyFingerprint: string;
376
- memberCount: number;
377
- memberEnvelopesRoot: string;
378
- membershipMode: "projection";
379
- membershipRoot: string;
380
- payloadCiphertextHash: string;
381
- prevStateHash: string | null;
382
92
  principalId: string;
383
93
  principalType: "group" | "organization";
384
- projectionRoot: string;
385
- signature: string;
386
- signedAt: string;
387
- signerUserId: string;
388
- signerUserKeyFingerprint: string;
389
94
  stateHash: string;
390
95
  version: number;
391
96
  };
392
- previousStates: {
393
- grants: {
394
- accessLevel: "admin" | "read" | "write";
395
- containerId: string;
396
- }[];
397
- projection: {
398
- role: "member" | "admin";
399
- userId: string;
400
- }[];
401
- state: {
402
- createdAt: string;
403
- encapsulationPublicKey: string;
404
- externalAuthority: {
405
- keyEpoch: number;
406
- keyFingerprint: string;
407
- principalId: string;
408
- principalType: "group";
409
- stateHash: string;
410
- version: number;
411
- } | null;
412
- grantCount: number;
413
- grantRoot: string;
414
- keyEpoch: number;
415
- keyFingerprint: string;
416
- memberCount: number;
417
- memberEnvelopesRoot: string;
418
- membershipMode: "projection";
419
- membershipRoot: string;
420
- payloadCiphertextHash: string;
421
- prevStateHash: string | null;
422
- principalId: string;
423
- principalType: "group" | "organization";
424
- projectionRoot: string;
425
- signature: string;
426
- signedAt: string;
427
- signerUserId: string;
428
- signerUserKeyFingerprint: string;
429
- stateHash: string;
430
- version: number;
431
- };
432
- }[];
97
+ grant: string;
433
98
  } | null;
434
99
  organizationPayloads: {
435
- cipherSuite: "aes-256-gcm";
436
- ciphertext: string;
437
- ciphertextHash: string;
438
- createdAt: string;
439
- principalId: string;
440
- principalType: "group" | "organization";
441
- stateHash: string;
100
+ reference: {
101
+ keyEpoch: number;
102
+ keyFingerprint: string;
103
+ principalId: string;
104
+ principalType: "group" | "organization";
105
+ stateHash: string;
106
+ version: number;
107
+ };
108
+ payload: {
109
+ cipherSuite: "aes-256-gcm";
110
+ ciphertext: string;
111
+ ciphertextHash: string;
112
+ createdAt: string;
113
+ principalId: string;
114
+ principalType: "group" | "organization";
115
+ stateHash: string;
116
+ };
442
117
  }[];
443
118
  groups: {
444
- currentGrants: {
445
- accessLevel: "admin" | "read" | "write";
446
- containerId: string;
447
- }[];
448
- currentProjection: {
449
- role: "member" | "admin";
450
- userId: string;
451
- }[];
452
- currentState: {
453
- createdAt: string;
454
- encapsulationPublicKey: string;
455
- externalAuthority: {
456
- keyEpoch: number;
457
- keyFingerprint: string;
458
- principalId: string;
459
- principalType: "group";
460
- stateHash: string;
461
- version: number;
462
- } | null;
463
- grantCount: number;
464
- grantRoot: string;
119
+ head: {
465
120
  keyEpoch: number;
466
121
  keyFingerprint: string;
467
- memberCount: number;
468
- memberEnvelopesRoot: string;
469
- membershipMode: "projection";
470
- membershipRoot: string;
471
- payloadCiphertextHash: string;
472
- prevStateHash: string | null;
473
122
  principalId: string;
474
123
  principalType: "group" | "organization";
475
- projectionRoot: string;
476
- signature: string;
477
- signedAt: string;
478
- signerUserId: string;
479
- signerUserKeyFingerprint: string;
480
124
  stateHash: string;
481
125
  version: number;
482
126
  };
483
- previousStates: {
484
- grants: {
485
- accessLevel: "admin" | "read" | "write";
486
- containerId: string;
487
- }[];
488
- projection: {
489
- role: "member" | "admin";
490
- userId: string;
491
- }[];
492
- state: {
493
- createdAt: string;
494
- encapsulationPublicKey: string;
495
- externalAuthority: {
496
- keyEpoch: number;
497
- keyFingerprint: string;
498
- principalId: string;
499
- principalType: "group";
500
- stateHash: string;
501
- version: number;
502
- } | null;
503
- grantCount: number;
504
- grantRoot: string;
505
- keyEpoch: number;
506
- keyFingerprint: string;
507
- memberCount: number;
508
- memberEnvelopesRoot: string;
509
- membershipMode: "projection";
510
- membershipRoot: string;
511
- payloadCiphertextHash: string;
512
- prevStateHash: string | null;
513
- principalId: string;
514
- principalType: "group" | "organization";
515
- projectionRoot: string;
516
- signature: string;
517
- signedAt: string;
518
- signerUserId: string;
519
- signerUserKeyFingerprint: string;
520
- stateHash: string;
521
- version: number;
522
- };
523
- }[];
127
+ grant: string;
524
128
  }[];
525
129
  }, {
526
130
  organization: {
527
- currentGrants: {
528
- accessLevel: "admin" | "read" | "write";
529
- containerId: string;
530
- }[];
531
- currentProjection: {
532
- role: "member" | "admin";
533
- userId: string;
534
- }[];
535
- currentState: {
536
- createdAt: string;
537
- encapsulationPublicKey: string;
538
- externalAuthority: {
539
- keyEpoch: number;
540
- keyFingerprint: string;
541
- principalId: string;
542
- principalType: "group";
543
- stateHash: string;
544
- version: number;
545
- } | null;
546
- grantCount: number;
547
- grantRoot: string;
131
+ head: {
548
132
  keyEpoch: number;
549
133
  keyFingerprint: string;
550
- memberCount: number;
551
- memberEnvelopesRoot: string;
552
- membershipMode: "projection";
553
- membershipRoot: string;
554
- payloadCiphertextHash: string;
555
- prevStateHash: string | null;
556
134
  principalId: string;
557
135
  principalType: "group" | "organization";
558
- projectionRoot: string;
559
- signature: string;
560
- signedAt: string;
561
- signerUserId: string;
562
- signerUserKeyFingerprint: string;
563
136
  stateHash: string;
564
137
  version: number;
565
138
  };
566
- previousStates: {
567
- grants: {
568
- accessLevel: "admin" | "read" | "write";
569
- containerId: string;
570
- }[];
571
- projection: {
572
- role: "member" | "admin";
573
- userId: string;
574
- }[];
575
- state: {
576
- createdAt: string;
577
- encapsulationPublicKey: string;
578
- externalAuthority: {
579
- keyEpoch: number;
580
- keyFingerprint: string;
581
- principalId: string;
582
- principalType: "group";
583
- stateHash: string;
584
- version: number;
585
- } | null;
586
- grantCount: number;
587
- grantRoot: string;
588
- keyEpoch: number;
589
- keyFingerprint: string;
590
- memberCount: number;
591
- memberEnvelopesRoot: string;
592
- membershipMode: "projection";
593
- membershipRoot: string;
594
- payloadCiphertextHash: string;
595
- prevStateHash: string | null;
596
- principalId: string;
597
- principalType: "group" | "organization";
598
- projectionRoot: string;
599
- signature: string;
600
- signedAt: string;
601
- signerUserId: string;
602
- signerUserKeyFingerprint: string;
603
- stateHash: string;
604
- version: number;
605
- };
606
- }[];
139
+ grant: string;
607
140
  } | null;
608
141
  organizationPayloads: {
609
- cipherSuite: "aes-256-gcm";
610
- ciphertext: string;
611
- ciphertextHash: string;
612
- createdAt: string;
613
- principalId: string;
614
- principalType: "group" | "organization";
615
- stateHash: string;
142
+ reference: {
143
+ keyEpoch: number;
144
+ keyFingerprint: string;
145
+ principalId: string;
146
+ principalType: "group" | "organization";
147
+ stateHash: string;
148
+ version: number;
149
+ };
150
+ payload: {
151
+ cipherSuite: "aes-256-gcm";
152
+ ciphertext: string;
153
+ ciphertextHash: string;
154
+ createdAt: string;
155
+ principalId: string;
156
+ principalType: "group" | "organization";
157
+ stateHash: string;
158
+ };
616
159
  }[];
617
160
  groups: {
618
- currentGrants: {
619
- accessLevel: "admin" | "read" | "write";
620
- containerId: string;
621
- }[];
622
- currentProjection: {
623
- role: "member" | "admin";
624
- userId: string;
625
- }[];
626
- currentState: {
627
- createdAt: string;
628
- encapsulationPublicKey: string;
629
- externalAuthority: {
630
- keyEpoch: number;
631
- keyFingerprint: string;
632
- principalId: string;
633
- principalType: "group";
634
- stateHash: string;
635
- version: number;
636
- } | null;
637
- grantCount: number;
638
- grantRoot: string;
161
+ head: {
639
162
  keyEpoch: number;
640
163
  keyFingerprint: string;
641
- memberCount: number;
642
- memberEnvelopesRoot: string;
643
- membershipMode: "projection";
644
- membershipRoot: string;
645
- payloadCiphertextHash: string;
646
- prevStateHash: string | null;
647
164
  principalId: string;
648
165
  principalType: "group" | "organization";
649
- projectionRoot: string;
650
- signature: string;
651
- signedAt: string;
652
- signerUserId: string;
653
- signerUserKeyFingerprint: string;
654
166
  stateHash: string;
655
167
  version: number;
656
168
  };
657
- previousStates: {
658
- grants: {
659
- accessLevel: "admin" | "read" | "write";
660
- containerId: string;
661
- }[];
662
- projection: {
663
- role: "member" | "admin";
664
- userId: string;
665
- }[];
666
- state: {
667
- createdAt: string;
668
- encapsulationPublicKey: string;
669
- externalAuthority: {
670
- keyEpoch: number;
671
- keyFingerprint: string;
672
- principalId: string;
673
- principalType: "group";
674
- stateHash: string;
675
- version: number;
676
- } | null;
677
- grantCount: number;
678
- grantRoot: string;
679
- keyEpoch: number;
680
- keyFingerprint: string;
681
- memberCount: number;
682
- memberEnvelopesRoot: string;
683
- membershipMode: "projection";
684
- membershipRoot: string;
685
- payloadCiphertextHash: string;
686
- prevStateHash: string | null;
687
- principalId: string;
688
- principalType: "group" | "organization";
689
- projectionRoot: string;
690
- signature: string;
691
- signedAt: string;
692
- signerUserId: string;
693
- signerUserKeyFingerprint: string;
694
- stateHash: string;
695
- version: number;
696
- };
697
- }[];
169
+ grant: string;
698
170
  }[];
699
171
  }>>;
700
172
  export type ProjectionPolicyEvidenceResponse = z.infer<typeof ProjectionPolicyEvidenceResponseSchema>;