permdock 0.16.0 → 0.17.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/dist/a2a/index.d.ts +4 -4
- package/dist/a2a/index.js +3 -3
- package/dist/{adapter-context-CIQpQxbE.js → adapter-context-OHikyRqV.js} +1 -1
- package/dist/{adoption-scan-C2BCiUEG.js → adoption-scan-Ci0xiJ3T.js} +1 -1
- package/dist/agent/index.d.ts +2 -2
- package/dist/agent/index.js +1 -1
- package/dist/ai-sdk/index.d.ts +3 -3
- package/dist/ai-sdk/index.js +3 -3
- package/dist/approval-normalize-4KxMRdJC.js +189 -0
- package/dist/approval-policies-9VagPixq.d.ts +138 -0
- package/dist/{approval-prompt-3BqWczTt.d.ts → approval-prompt-BSh-yxbH.d.ts} +1 -1
- package/dist/approvals/index.d.ts +5 -4
- package/dist/approvals/index.js +7 -6
- package/dist/{approvals-DnIBTuXE.js → approvals-DdFcTncq.js} +3 -3
- package/dist/{approvers-B4r0N_Uz.js → approvers-CNtl4Vc5.js} +22 -1
- package/dist/{arazzo-CHoYnQXO.js → arazzo-7kbeh1yi.js} +2 -2
- package/dist/{arazzo-ClYz2Z0W.js → arazzo-_zUmT8ZT.js} +4 -4
- package/dist/{args-0FrVs5EH.js → args-iafbHiXn.js} +2 -5
- package/dist/astro/index.d.ts +4 -4
- package/dist/astro/index.js +2 -2
- package/dist/{audience-DTjR8xet.js → audience-jRO819i3.js} +1 -1
- package/dist/{auth--yPyZNgr.js → auth-j3Eu-j4h.js} +1 -1
- package/dist/authz-topic-Dbc-HDOS.js +15 -0
- package/dist/authzen/index.d.ts +5 -5
- package/dist/authzen/index.js +2 -2
- package/dist/{automation-C6Jg75xq.d.ts → automation-DCWuVKtd.d.ts} +1 -1
- package/dist/better-auth/index.d.ts +1 -1
- package/dist/better-auth/index.js +10 -8
- package/dist/better-supabase/index.d.ts +273 -38
- package/dist/better-supabase/index.js +493 -102
- package/dist/{better-supabase-Dirf_8Ec.js → better-supabase-BJtQ-kNf.js} +26 -10
- package/dist/{bind-BNQA9JK9.js → bind-BJFeLX1V.js} +6 -6
- package/dist/{bind-YYjvfpB9.d.ts → bind-DjFNX0Pq.d.ts} +7 -7
- package/dist/{budget-BELja5A9.js → budget-BBCPDOGP.js} +1 -1
- package/dist/{budget-hYsPz_yE.d.ts → budget-CNLsV2SL.d.ts} +1 -1
- package/dist/{build-instance-BWXqwQYU.js → build-instance-lye7oEqf.js} +3 -2
- package/dist/{capability-Di9tiUvi.d.ts → capability-BzjWdKmP.d.ts} +1 -1
- package/dist/{capability-BqX94r07.js → capability-zN6T9fxe.js} +2 -3
- package/dist/{casbin-C9EvElBb.js → casbin-C3O_O9nu.js} +2 -2
- package/dist/{casbin-D_rVQ31U.js → casbin-DFzk_so3.js} +2 -2
- package/dist/{casl-C4OINZHI.js → casl-CjBVJj8R.js} +2 -2
- package/dist/{casl-CHHoCldP.js → casl-CkBssiB1.js} +1 -1
- package/dist/catalog/index.d.ts +5 -5
- package/dist/catalog/index.js +6 -6
- package/dist/catalog-BpnjesqX.js +1 -0
- package/dist/{catalog-CGlSwU6j.js → catalog-DGDd_ww1.js} +5 -5
- package/dist/{catalog-amPDr0JQ.js → catalog-DJJIkR9P.js} +3 -3
- package/dist/{catalog-doc-DjMKzJp9.js → catalog-doc-C4DGfJCO.js} +3 -3
- package/dist/{catalog-operations-DeHTrJSV.js → catalog-operations-DVI5QO5R.js} +3 -3
- package/dist/{challenge-DImNcR7B.js → challenge-M_ghKJnT.js} +2 -2
- package/dist/chat/index.d.ts +1 -1
- package/dist/chat/index.js +2 -2
- package/dist/chat-sdk/index.d.ts +3 -3
- package/dist/{checks-CGkP3Z7A.js → checks-fyDOhcz0.js} +33 -1
- package/dist/claude-agent/index.d.ts +3 -3
- package/dist/claude-agent/index.js +2 -2
- package/dist/clerk/index.d.ts +2 -2
- package/dist/clerk/index.js +10 -7
- package/dist/cli/bin.js +1 -1
- package/dist/cli/index.d.ts +5 -5
- package/dist/cli/index.js +3 -3
- package/dist/cloud/index.d.ts +8 -8
- package/dist/cloud/index.js +1 -1
- package/dist/{cloud-DdaJ7ILM.js → cloud-DYqzmh5i.js} +4 -4
- package/dist/{codemod-ammy6wv4.js → codemod-DNGMGqBS.js} +395 -8
- package/dist/{codemod-B1USJS7a.js → codemod-DqB9klYI.js} +3 -3
- package/dist/{collect-DnXL4B8c.js → collect-C44RrKCI.js} +4 -4
- package/dist/collect-CAibhmCi.js +1 -0
- package/dist/{collect-WCl8cJQV.js → collect-HfJXl8Tr.js} +4 -4
- package/dist/compile/index.d.ts +1 -1
- package/dist/compile/index.js +1 -1
- package/dist/{compile-EzEMB-7v.js → compile-B_oJqmIg.js} +4 -4
- package/dist/{compile-BEklRUYo.d.ts → compile-BxiwRotu.d.ts} +2 -2
- package/dist/{completion--Y4YItFZ.js → completion-pwVjJlek.js} +3 -3
- package/dist/{config-CcLlvEYW.js → config-COHmivz9.js} +4 -4
- package/dist/{config-BQ77xMZk.js → config-DnfH6_eT.js} +2 -2
- package/dist/{config-report-DVMOLJ7F.js → config-report-C1jl7Na-.js} +2 -2
- package/dist/{context-BnIzxTNE.js → context-DeammvFl.js} +2 -2
- package/dist/convex/index.d.ts +4 -4
- package/dist/convex/index.js +3 -3
- package/dist/{core-CFepFiDP.d.ts → core-0iYZ5HUx.d.ts} +2 -2
- package/dist/{core-lxoANyai.js → core-W5f4Rjt0.js} +7 -7
- package/dist/{create-DBvUsgzK.d.ts → create-DNN3OtsO.d.ts} +4 -4
- package/dist/{create-CDd9c22W.d.ts → create-DrHUmKvG.d.ts} +6 -6
- package/dist/{create-BPUopdfL.d.ts → create-bzQlBzG4.d.ts} +7 -7
- package/dist/{create-Coq5fIrq.js → create-gqtDb1nU.js} +5 -5
- package/dist/{create-BLPKnJKa.js → create-jCPwPWXf.js} +6 -5
- package/dist/{credential-CyyyvCsL.js → credential-B3Hj4puZ.js} +4 -3
- package/dist/{credentials-CdDxp7jN.js → credentials-dkycUsY3.js} +1 -1
- package/dist/decision-CaG5_eNJ.js +21 -0
- package/dist/{delegation-CDB6_keF.js → delegation-aK4T_5WU.js} +3 -3
- package/dist/delivery/index.d.ts +4 -4
- package/dist/delivery/index.js +1 -1
- package/dist/{denied-text-DHldhVUv.d.ts → denied-text-DyzWwxEB.d.ts} +1 -1
- package/dist/{describe-Bb4hGK5d.js → describe-CogP1loh.js} +2 -1
- package/dist/{describe-BbFPBSms.d.ts → describe-nalX_HHE.d.ts} +1 -1
- package/dist/{diff-DfmYaIhB.js → diff-BTsLiW59.js} +7 -7
- package/dist/{diff-CxtbOi2l.js → diff-CcxYooMu.js} +2 -2
- package/dist/{doctor-CwYc2lJb.js → doctor-BNRhJegR.js} +3 -3
- package/dist/{doctor-D1Xnmy6u.js → doctor-DS-9ApID.js} +195 -30
- package/dist/drizzle/index.d.ts +3 -3
- package/dist/drizzle/index.js +1 -1
- package/dist/elysia/index.d.ts +4 -4
- package/dist/elysia/index.js +3 -3
- package/dist/{errors-Vpu6rKHl.js → errors-BhRkoNS7.js} +0 -2
- package/dist/{errors-BIM4MFsJ.d.ts → errors-Dc9FdamT.d.ts} +1 -1
- package/dist/{evaluate-BAmf_AQd.js → evaluate-CsjXeLRo.js} +18 -15
- package/dist/{evaluations-DOWuBpWv.d.ts → evaluations-BasA9zXp.d.ts} +3 -3
- package/dist/{evaluations-IBceAeKT.js → evaluations-DG40eSJa.js} +3 -22
- package/dist/eve/index.d.ts +4 -4
- package/dist/eve/index.js +3 -3
- package/dist/express/index.d.ts +4 -4
- package/dist/express/index.js +3 -3
- package/dist/fastify/index.d.ts +4 -4
- package/dist/fastify/index.js +3 -3
- package/dist/{fetch-adapter-BIbBAtPZ.d.ts → fetch-adapter-BgqpOOpd.d.ts} +2 -2
- package/dist/{fetch-adapter-dPTgJVHd.js → fetch-adapter-UZOW0PRC.js} +2 -2
- package/dist/{fields-DI8s3cPl.js → fields-CrjL6A49.js} +3 -3
- package/dist/{files-B3AA05f1.js → files-CfiRtQ-m.js} +1 -1
- package/dist/{fixtures-Bm4_K1ke.js → fixtures-0VTW5oNq.js} +2 -2
- package/dist/{flags-DXjoTVbS.js → flags-BlmpmXoY.js} +2 -2
- package/dist/{from-snapshot-DCakWRsr.js → from-snapshot-DMlSSo9b.js} +14 -12
- package/dist/{gen-DwgCSC6V.js → gen-CNCzG4sB.js} +2 -2
- package/dist/{gen-DuAhghDw.js → gen-DnpZwQPo.js} +9 -9
- package/dist/{generate-CRVV5V7l.js → generate-BqkZq8Dr.js} +2 -2
- package/dist/{grantee-conditions-BrYPe-w0.js → grantee-conditions-DX4K_gGI.js} +1 -1
- package/dist/{grantee-match-7RZZvoT_.js → grantee-match-BP-k4vRJ.js} +2 -2
- package/dist/h3/index.d.ts +4 -4
- package/dist/h3/index.js +3 -3
- package/dist/{helpers-DJicaG6f.js → helpers-DNnZffrI.js} +76 -12
- package/dist/hono/index.d.ts +4 -4
- package/dist/hono/index.js +3 -3
- package/dist/{hosted-DVxlLZMe.d.ts → hosted-DxRLLiFU.d.ts} +1 -1
- package/dist/{hosted-D0IzESu_.js → hosted-tPZnyjQS.js} +12 -10
- package/dist/{http-DOL33cO0.js → http-DhMWeB_h.js} +1 -1
- package/dist/{import-Dfe2unKO.js → import-BYVbSKx0.js} +3 -3
- package/dist/{import-CNBF96hB.js → import-C1XXpG_m.js} +4 -4
- package/dist/{index-Cay5-Kvx.d.ts → index-Bt-UoBWu.d.ts} +11 -10
- package/dist/{index-DJwEgYzA.d.ts → index-CXXUFWtG.d.ts} +17 -11
- package/dist/{index-Dj2qF9VC.d.ts → index-CZ5mixHO.d.ts} +1 -1
- package/dist/{index-ymept53A.d.ts → index-DFwUOkvt.d.ts} +4 -4
- package/dist/{index-CV-7DWeD.d.ts → index-DtGtDzjb.d.ts} +4 -4
- package/dist/{index-BinlXeU-.d.ts → index-z44pfWar.d.ts} +2 -2
- package/dist/index.d.ts +18 -16
- package/dist/index.js +20 -18
- package/dist/{init-C6cWP3xW.js → init-Dr1qAStu.js} +5 -5
- package/dist/{init-BUo2G-FI.js → init-YSDySeMy.js} +5 -5
- package/dist/{instance-options-CoHn-0e8.d.ts → instance-options-BOCRxEFb.d.ts} +2 -2
- package/dist/{instance-snapshot-DuWf1cT3.js → instance-snapshot-BgOGtyCy.js} +15 -12
- package/dist/jwt/index.d.ts +4 -4
- package/dist/jwt/index.js +3 -3
- package/dist/{kernel-BD8QuMnv.js → kernel-CDDU93dI.js} +10 -10
- package/dist/kysely/index.d.ts +3 -3
- package/dist/kysely/index.js +1 -1
- package/dist/{load-DjSU5KXO.js → load-BaEamml-.js} +1 -1
- package/dist/load-CjnlPxpL.js +1 -0
- package/dist/{login-D1MHOomI.js → login-CXgEKLaW.js} +4 -4
- package/dist/{login-DCKE5pVy.js → login-DEVXDTX8.js} +4 -4
- package/dist/{manifest-Cft51TLK.js → manifest-Dij1U0hx.js} +37 -37
- package/dist/{map-claims-C-nv08_n.js → map-claims-PQwHynxV.js} +25 -11
- package/dist/{map-error-pasIGqMT.js → map-error-B_f3C5cs.js} +1 -1
- package/dist/mcp/index.d.ts +8 -8
- package/dist/mcp/index.js +9 -9
- package/dist/{migrate-BJHxQqT5.js → migrate-BbY5-Khy.js} +4 -4
- package/dist/{module-values-B1EVTkHP.js → module-values-B8tNIxdd.js} +2 -2
- package/dist/nest/index.d.ts +4 -4
- package/dist/nest/index.js +3 -3
- package/dist/next/index.d.ts +32 -13
- package/dist/next/index.js +43 -25
- package/dist/next/plugin.d.ts +1 -1
- package/dist/next/plugin.js +2 -2
- package/dist/node/index.d.ts +4 -4
- package/dist/node/index.js +2 -2
- package/dist/openai/index.d.ts +4 -4
- package/dist/openai/index.js +3 -3
- package/dist/openapi/index.d.ts +2 -2
- package/dist/{openapi-BwWkHxvW.js → openapi-D3wkvOoU.js} +4 -4
- package/dist/{openapi-DSzQN7Zu.js → openapi-GM-kTdkq.js} +5 -5
- package/dist/orpc/index.d.ts +5 -5
- package/dist/orpc/index.js +3 -3
- package/dist/otel/index.d.ts +3 -3
- package/dist/otel/index.js +1 -1
- package/dist/{output-DlICTjBh.js → output-DhTpe8v1.js} +1 -1
- package/dist/output-files-BYscrQl-.js +1 -0
- package/dist/{output-files-BIQ_9pIs.js → output-files-CM0BnH05.js} +1 -1
- package/dist/{ownership-qqBuGJXr.js → ownership-moSRhxl_.js} +6 -6
- package/dist/{parse-1_ZheTW5.js → parse-UTC-sDrt.js} +2 -2
- package/dist/{parse-local-manifest-CCmbhnxP.d.ts → parse-local-manifest-BgTYdR3q.d.ts} +1 -1
- package/dist/{parse-request-CwCZpyjV.js → parse-request-DOBVaeiQ.js} +1 -1
- package/dist/pdp/index.d.ts +3 -3
- package/dist/pdp/index.js +3 -3
- package/dist/{peer-Q0fuZ6hx.js → peer-BuK9F53f.js} +1 -1
- package/dist/{peer-C9LvBCcb.js → peer-n-swIV4H.js} +1 -1
- package/dist/{permdock-CprAPN3w.d.ts → permdock-DUWZEOLR.d.ts} +88 -131
- package/dist/{permdock-BvjivVb9.js → permdock-DdzMv5-F.js} +195 -102
- package/dist/{permissions-CYcHj_w7.js → permissions-CvpPtz5O.js} +1 -1
- package/dist/{pg-DQTqRrou.js → pg-Ddxsd5ZB.js} +2 -2
- package/dist/{policy-BycVKnXv.d.ts → policy-CTNl7pvN.d.ts} +1 -1
- package/dist/{policy-CLQ8__GF.js → policy-DxQyHKPB.js} +5 -4
- package/dist/{policy-from-catalog-CU3An8uP.js → policy-from-catalog-DVa1faOr.js} +8 -7
- package/dist/{policy-types-DGIO_gxq.d.ts → policy-types-IRJVABmm.d.ts} +63 -19
- package/dist/{postgrest-D5nUGm-c.d.ts → postgrest-B_cEDd4e.d.ts} +12 -7
- package/dist/{postgrest-DAxFltvO.js → postgrest-BrjrckDG.js} +74 -19
- package/dist/{powersync-DAfo0EL5.js → powersync-BZxw_v-A.js} +3 -3
- package/dist/{powersync-CBhTBhG2.js → powersync-C0nsyULQ.js} +15 -15
- package/dist/powersync-Cqzx25dI.js +1 -0
- package/dist/preset/index.js +1 -1
- package/dist/{preset-BjLzeFpp.js → preset-pPrVyGU5.js} +74 -7
- package/dist/prisma/index.d.ts +2 -2
- package/dist/prisma/index.js +1 -1
- package/dist/{protected-action-DUYqb-Ma.js → protected-action-B6n6w7Rl.js} +1 -1
- package/dist/{protected-action-D8x73IGm.d.ts → protected-action-D3S9U4nc.d.ts} +14 -7
- package/dist/{protected-action-QEA8arRB.js → protected-action-qowj6nxN.js} +15 -5
- package/dist/{provider-C55OGXJ7.js → provider-CY4TSSJo.js} +2 -2
- package/dist/{provider-DfLeek9O.d.ts → provider-CjAu39fJ.d.ts} +1 -1
- package/dist/{provider-store-CaTv00tr.js → provider-store-BQP_pp8s.js} +2 -2
- package/dist/pull-CUVdB04v.js +1 -0
- package/dist/{pull-CQCGy1gv.js → pull-DVoZ0V9_.js} +6 -6
- package/dist/{push-Dq_ca4-j.js → push-eJl1Tvqm.js} +7 -7
- package/dist/{pushed-policy-CryQheKq.d.ts → pushed-policy-CUQuvlS3.d.ts} +1 -1
- package/dist/{pushed-policy-CDuOL2de.js → pushed-policy-DMXAOmEW.js} +1 -1
- package/dist/react/index.d.ts +8 -8
- package/dist/react/index.js +6 -6
- package/dist/react/provider-client.d.ts +1 -1
- package/dist/react/provider-client.js +1 -1
- package/dist/react-native/index.d.ts +10 -10
- package/dist/react-native/index.js +9 -9
- package/dist/refresh-on-L9UOwATg.d.ts +49 -0
- package/dist/{replay-Bs9Df2fQ.d.ts → replay-Dc3d8LhG.d.ts} +1 -1
- package/dist/{request-context-Duzdf0cd.js → request-context-Ch052blg.js} +2 -2
- package/dist/{request-schema-DhX7UbfQ.js → request-schema-CMP8Cmxd.js} +5 -0
- package/dist/resend/index.d.ts +4 -4
- package/dist/{resolve-names-Y1Cb22cp.js → resolve-names-1nCei24V.js} +6 -6
- package/dist/{rls-C5ZGzR_B.js → rls-BVzoZCn3.js} +4 -4
- package/dist/{rls-tHu7N_Pe.js → rls-ClJRblnR.js} +19 -19
- package/dist/{role-builder-BK2-T6oD.js → role-builder-BrmOcXch.js} +3 -157
- package/dist/{rpc-vHIwyXCp.js → rpc-BOu3FD6X.js} +2 -2
- package/dist/{run-DUq1xU4K.js → run-CnCaTjWX.js} +8 -40
- package/dist/run-D9N6V5WQ.js +1 -0
- package/dist/{run-ticket-ylovhyFQ.d.ts → run-ticket-C6lXvHM_.d.ts} +2 -2
- package/dist/{run-ticket-DfnZCh-u.js → run-ticket-CjvXr6wj.js} +1 -1
- package/dist/{runtime-BGnrOkVH.js → runtime-CBXkOcg9.js} +1 -1
- package/dist/{saas-DK4V-3Is.js → saas-BqM9mJkk.js} +13 -10
- package/dist/{scan-C3HRH9Fs.js → scan-CepUXrFt.js} +1 -1
- package/dist/{schema-DvXvxPhQ.js → schema-9_NDz8fx.js} +1 -1
- package/dist/{schema-BOJjqlWL.js → schema-CuX70xgH.js} +15 -2
- package/dist/scim/index.d.ts +1 -1
- package/dist/scim/index.js +1 -1
- package/dist/{scim-jJBJ7g1Z.js → scim-C30QBBoF.js} +2 -1
- package/dist/{scim-D8YupzX1.js → scim-CovliQUg.js} +2 -2
- package/dist/{scopes-0Up_UA2t.js → scopes-BSdYaGHs.js} +9 -40
- package/dist/server/index.d.ts +11 -11
- package/dist/server/index.js +8 -8
- package/dist/{server-3cVlTLde.js → server-D0PW6ZCw.js} +2 -2
- package/dist/{server-types-CyRN0-Cd.d.ts → server-types-Bw-lWqzR.d.ts} +8 -8
- package/dist/{shared-l0oGGetg.js → shared-BRmCJxDK.js} +2 -2
- package/dist/{shared-DrGLwM3s.js → shared-DyYVEjKC.js} +2 -2
- package/dist/{sink-B5zoUW_O.d.ts → sink-DUzt0e4B.d.ts} +2 -2
- package/dist/{skills-Celu2W6v.js → skills-BUuH-QFt.js} +2 -2
- package/dist/{skills-B2qTbaQa.js → skills-a4N6Y2Xm.js} +2 -2
- package/dist/{snapshot-CXlzi69u.js → snapshot-DN_8J27z.js} +6 -2
- package/dist/{snapshot-cache-Bx_4xC_6.js → snapshot-cache-B66h7FBK.js} +25 -8
- package/dist/{snapshot-cache-BjAWkchD.d.ts → snapshot-cache-Dbk-Gnij.d.ts} +20 -6
- package/dist/solid/index.d.ts +7 -7
- package/dist/solid/index.js +6 -6
- package/dist/solid-start/index.d.ts +4 -4
- package/dist/solid-start/index.js +3 -3
- package/dist/{sources-oB1Hg1Fm.d.ts → sources-CXY05xtB.d.ts} +1 -1
- package/dist/{src-C_pi2Rnh.js → src-nYNBfmgq.js} +187 -39
- package/dist/ssf/index.d.ts +3 -3
- package/dist/ssf/index.js +1 -1
- package/dist/{standard-webhooks-DOYEuOLx.d.ts → standard-webhooks-BFeEpjxy.d.ts} +2 -2
- package/dist/{store-RNFvaJJv.js → store-XgBMbfDy.js} +13 -7
- package/dist/{types-tQB2CEnY.d.ts → store-g5ctUrOI.d.ts} +114 -113
- package/dist/{store-options-Dil3lraY.js → store-options--zWn48PK.js} +76 -7
- package/dist/{stores-DxZWDXCs.js → stores-53_kOwPi.js} +3 -3
- package/dist/{stores-DZJvxFIZ.d.ts → stores-BtdN3eDO.d.ts} +5 -6
- package/dist/{stream-9y9qw51m.d.ts → stream-BMJg56jU.d.ts} +1 -1
- package/dist/{subject-BGoM5o8B.js → subject-C7RddW0G.js} +8 -1
- package/dist/supabase/client.d.ts +31 -0
- package/dist/supabase/client.js +21 -0
- package/dist/supabase/index.d.ts +37 -6
- package/dist/supabase/index.js +5 -4
- package/dist/supabase/middleware.d.ts +8 -7
- package/dist/supabase/middleware.js +6 -6
- package/dist/{supabase-DYWnT800.js → supabase-C6FyUeSh.js} +3 -3
- package/dist/{supabase-CDHMsDD0.js → supabase-C8cNzp4i.js} +31 -8
- package/dist/supabase-hook-CPBX4dy5.js +1 -0
- package/dist/{supabase-hook-HPgwYb9V.js → supabase-hook-Cj85nccs.js} +167 -21
- package/dist/{supautils-SwE642N1.js → supautils-BP_5WAIc.js} +12 -12
- package/dist/svelte/index.d.ts +7 -7
- package/dist/svelte/index.js +8 -8
- package/dist/svelte/runtime.d.ts +3 -3
- package/dist/svelte/runtime.js +3 -3
- package/dist/svelte/source.d.ts +7 -7
- package/dist/svelte/source.js +5 -5
- package/dist/sveltekit/index.d.ts +4 -4
- package/dist/sveltekit/index.js +2 -2
- package/dist/{tables-DimBcVWY.js → tables-BsGE6HBR.js} +7 -7
- package/dist/tanstack-start/index.d.ts +4 -4
- package/dist/tanstack-start/index.js +2 -2
- package/dist/{tenancy-5d1zVBvK.js → tenancy-DvOHHk3-.js} +1 -1
- package/dist/terminal/index.d.ts +5 -5
- package/dist/terminal/index.js +6 -6
- package/dist/testing/core.d.ts +1 -1
- package/dist/testing/core.js +1 -1
- package/dist/testing/fixtures/index.d.ts +1 -1
- package/dist/testing/fixtures/index.js +1 -1
- package/dist/testing/index.d.ts +29 -22
- package/dist/testing/index.js +118 -46
- package/dist/testing/saas/index.d.ts +3 -3
- package/dist/testing/saas/index.js +2 -2
- package/dist/testing/saas/permissions.js +1 -1
- package/dist/token-D6pWn8Uj.d.ts +11 -0
- package/dist/{token-DC9EQiet.js → token-DaMnIU9O.js} +24 -8
- package/dist/{tool-refusal-Qpjs_W6M.js → tool-refusal-C1UlhU0V.js} +1 -1
- package/dist/trpc/index.d.ts +5 -5
- package/dist/trpc/index.js +3 -3
- package/dist/{type-helpers-c7Xo_2Cu.d.ts → type-helpers-C_OnZW8c.d.ts} +1 -1
- package/dist/{types-B2efzoSX.d.ts → types-AOP5HQku.d.ts} +1 -1
- package/dist/{types-DlelvQk4.d.ts → types-B3BOcI0J.d.ts} +2 -2
- package/dist/{types-DLvhVm1r.d.ts → types-BvBbkAu1.d.ts} +16 -7
- package/dist/{types-BB-zWDcR.d.ts → types-CA-A33Q5.d.ts} +5 -5
- package/dist/{types-Cklw5hJo.d.ts → types-CAAN7evk.d.ts} +24 -1
- package/dist/{types-DsHGPtkR.d.ts → types-CJC1aaoJ.d.ts} +2 -2
- package/dist/{types-CWBsAwqn.d.ts → types-D29K5ZNP.d.ts} +4 -4
- package/dist/{types-CEinc15V.d.ts → types-DVZNTkU0.d.ts} +3 -4
- package/dist/{types-ZzRGoViD.d.ts → types-NYoj8JBm.d.ts} +2 -2
- package/dist/{types-B6ExllNo.d.ts → types-Sj1U8HMm.d.ts} +2 -2
- package/dist/{types-CN0LsqbK.d.ts → types-UfpcY575.d.ts} +3 -3
- package/dist/{types-rCRV4Ge-.d.ts → types-e82uzrTn.d.ts} +4 -4
- package/dist/unplugin/index.d.ts +1 -1
- package/dist/unplugin/index.js +2 -2
- package/dist/{usage-CPXeuAdT.js → usage-COsGLht5.js} +6 -6
- package/dist/{usage-CfZCQd0F.js → usage-CqcMeQgX.js} +2 -2
- package/dist/usage-D1cpHO7p.js +1 -0
- package/dist/{validation-error-uvp-kyfO.d.ts → validation-error-DpvsBwZJ.d.ts} +1 -1
- package/dist/{verify-DfT0QYNh.js → verify-C8G8D5mk.js} +19 -19
- package/dist/{version-cache-Df11C2Qp.d.ts → version-cache-9Vq5QVFC.d.ts} +9 -3
- package/dist/{views-CD8wuL4Z.js → views-TrZYlDnM.js} +1 -1
- package/dist/vue/index.d.ts +7 -7
- package/dist/vue/index.js +6 -6
- package/dist/{waiter-CqUKX6CY.d.ts → waiter-C2cXXLFZ.d.ts} +2 -2
- package/dist/{watch-DAkjm75Y.js → watch-DXRDBSCu.js} +3 -3
- package/dist/watch-DnymTAfe.js +1 -0
- package/dist/webmcp/index.d.ts +1 -1
- package/dist/webmcp/index.js +1 -1
- package/dist/{where-scope-DlCdCM_8.js → where-scope-BKrqUDVk.js} +5 -5
- package/dist/{who-can-BoDJm0Nc.js → who-can-BY5d3HPw.js} +4 -4
- package/dist/workflow/index.d.ts +3 -3
- package/dist/workflow/index.js +5 -4
- package/dist/workflow-sdk/index.d.ts +4 -4
- package/dist/{wrap-B2wziJI_.js → wrap-C5PWzgkq.js} +1 -1
- package/dist/{wrap-DxXB54Wu.d.ts → wrap-DpZAbxuD.d.ts} +2 -2
- package/package.json +8 -5
- package/schemas/approval-request-v1.json +5 -0
- package/schemas/catalog-v1.json +18 -2
- package/schemas/cli-result-v1.json +0 -2
- package/schemas/snapshot-v1.json +9 -0
- package/skills/permdock-approvals/SKILL.md +8 -8
- package/skills/permdock-approvals/references/stores-and-resume.md +7 -3
- package/skills/permdock-audit/SKILL.md +1 -1
- package/dist/action-result-BcudBQOF.d.ts +0 -19
- package/dist/catalog-D3oS2GH3.js +0 -1
- package/dist/collect-D-eroIfV.js +0 -1
- package/dist/load-Dm0pSYH3.js +0 -1
- package/dist/output-files-BHOIlrfD.js +0 -1
- package/dist/powersync-0QVP_DuR.js +0 -1
- package/dist/pull-CCAChKuy.js +0 -1
- package/dist/renames-CGj7YwcQ.js +0 -175
- package/dist/run-C5P3x1EI.js +0 -1
- package/dist/supabase-hook-qsewAVZY.js +0 -1
- package/dist/usage-DmmO_xjJ.js +0 -1
- package/dist/watch-CuPz0D2M.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as compact } from "./compact-CAf557ZB.js";
|
|
2
2
|
import { n as freezeDeep } from "./freeze-jjan0lCv.js";
|
|
3
|
-
import { r as approverLeaves } from "./approvers-
|
|
4
|
-
import { n as describe } from "./describe-
|
|
3
|
+
import { i as approverManagerKey, r as approverLeaves } from "./approvers-CNtl4Vc5.js";
|
|
4
|
+
import { n as describe } from "./describe-CogP1loh.js";
|
|
5
5
|
import { i as getRegistry, n as findPermission } from "./permission-registry-B8tYxPIt.js";
|
|
6
6
|
import { t as assertAppData } from "./app-data-UNNm07jV.js";
|
|
7
7
|
import { a as durationOf, i as dateAt, u as isoAt } from "./time-nR1JesoH.js";
|
|
@@ -9,7 +9,7 @@ import { r as relationReader, t as pendingRelations } from "./relations-BxvRvDHK
|
|
|
9
9
|
import { n as resolveRelated } from "./relation-walk-DK_gkgL7.js";
|
|
10
10
|
import { n as toWireDelegation } from "./wire-delegation-Cv3W2eaM.js";
|
|
11
11
|
import { i as approverRelationKey, s as ApprovalError, t as APPROVAL_HEADER } from "./types-CcUXciSj.js";
|
|
12
|
-
import { n as assertApprover, u as listAllApprovals } from "./store-
|
|
12
|
+
import { n as assertApprover, u as listAllApprovals } from "./store-XgBMbfDy.js";
|
|
13
13
|
import { n as parseApprovalHeader } from "./approval-header-8QV6MU4H.js";
|
|
14
14
|
//#region src/approvals/relations.ts
|
|
15
15
|
const DEFAULT_PARENT_DEPTH = 16;
|
|
@@ -64,13 +64,68 @@ function depthOf(item) {
|
|
|
64
64
|
if (item.through === "parent") return item.depth ?? DEFAULT_PARENT_DEPTH;
|
|
65
65
|
return item.depth ?? 0;
|
|
66
66
|
}
|
|
67
|
+
function inPeriod(holder, now) {
|
|
68
|
+
return (holder.startsAt === void 0 || holder.startsAt <= now) && (holder.expiresAt === void 0 || now < holder.expiresAt);
|
|
69
|
+
}
|
|
67
70
|
/**
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
|
|
71
|
+
* Whether `approver` holds `manager` on the requester's `user` record, or on a
|
|
72
|
+
* manager's within `levels` steps. Group holders and a read that fails count as
|
|
73
|
+
* nobody.
|
|
74
|
+
*/
|
|
75
|
+
async function managesWithin(source, requester, approver, levels, now) {
|
|
76
|
+
const seen = /* @__PURE__ */ new Set([requester]);
|
|
77
|
+
let frontier = [requester];
|
|
78
|
+
for (let level = 0; level < levels && frontier.length > 0; level += 1) {
|
|
79
|
+
let lists;
|
|
80
|
+
try {
|
|
81
|
+
lists = await Promise.all(frontier.map((id) => Promise.resolve(source.related({
|
|
82
|
+
resource: "user",
|
|
83
|
+
id,
|
|
84
|
+
relation: "manager"
|
|
85
|
+
}))));
|
|
86
|
+
} catch {
|
|
87
|
+
return false;
|
|
88
|
+
}
|
|
89
|
+
const next = [];
|
|
90
|
+
for (const holder of lists.flat()) {
|
|
91
|
+
if (!("principal" in holder) || !inPeriod(holder, now)) continue;
|
|
92
|
+
const id = holder.principal.id;
|
|
93
|
+
if (id === approver) return true;
|
|
94
|
+
if (!seen.has(id)) {
|
|
95
|
+
seen.add(id);
|
|
96
|
+
next.push(id);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
frontier = next;
|
|
100
|
+
}
|
|
101
|
+
return false;
|
|
102
|
+
}
|
|
103
|
+
/** The `manager()` approvers of `request` that `subject` satisfies. */
|
|
104
|
+
async function managerFacts(request, subject, options) {
|
|
105
|
+
const approvers = request.approvers;
|
|
106
|
+
const requester = request.subject.principal?.id;
|
|
107
|
+
const source = options.relations;
|
|
108
|
+
if (approvers === void 0 || requester === void 0 || source === void 0 || subject.principal === null) return [];
|
|
109
|
+
const items = /* @__PURE__ */ new Map();
|
|
110
|
+
for (const item of requestApprovers(approvers)) if (item.kind === "manager") items.set(approverManagerKey(item), item);
|
|
111
|
+
const approver = subject.principal.id;
|
|
112
|
+
const now = dateAt(options.now).getTime() / 1e3;
|
|
113
|
+
const entries = [...items];
|
|
114
|
+
const verdicts = await Promise.all(entries.map(([, item]) => managesWithin(source, requester, approver, item.levels ?? 1, now)));
|
|
115
|
+
return entries.flatMap(([key], index) => verdicts[index] === true ? [key] : []);
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* The relation and `manager()` approvers of `request` that `subject` holds,
|
|
119
|
+
* keyed by `approverRelationKey` and `approverManagerKey`, for
|
|
120
|
+
* `ApprovalVerdict.relations`. Relation reads go through `relations` by the
|
|
121
|
+
* request's resource id, manager reads by the requester's principal id; a
|
|
122
|
+
* request without an id, a missing source or a read that fails holds nothing.
|
|
72
123
|
*/
|
|
73
124
|
async function approverRelations(request, subject, options) {
|
|
125
|
+
const [onRow, managers] = await Promise.all([rowRelations(request, subject, options), managerFacts(request, subject, options)]);
|
|
126
|
+
return [...onRow, ...managers];
|
|
127
|
+
}
|
|
128
|
+
async function rowRelations(request, subject, options) {
|
|
74
129
|
const approvers = request.approvers;
|
|
75
130
|
const id = request.resource.id;
|
|
76
131
|
if (approvers === void 0 || id === void 0 || options.relations === void 0 || options.permissions === void 0 || subject.principal === null) return [];
|
|
@@ -182,9 +237,9 @@ async function requestApproval(store, decision, meta) {
|
|
|
182
237
|
const approval = decision.grant.approval;
|
|
183
238
|
const approvers = approval === void 0 || approval === "human" ? void 0 : compact({
|
|
184
239
|
by: approval.by,
|
|
185
|
-
|
|
240
|
+
combine: approval.combine,
|
|
186
241
|
stages: approval.stages,
|
|
187
|
-
|
|
242
|
+
mode: approval.mode,
|
|
188
243
|
staleOn: approval.staleOn,
|
|
189
244
|
quorum: approval.quorum,
|
|
190
245
|
escalation: approval.escalation
|
|
@@ -205,6 +260,7 @@ async function requestApproval(store, decision, meta) {
|
|
|
205
260
|
createdAt: now.toISOString(),
|
|
206
261
|
expiresAt: isoAt(now.getTime() + ttl * 1e3),
|
|
207
262
|
status: "pending",
|
|
263
|
+
fingerprint: decision.fingerprint,
|
|
208
264
|
x: meta.x
|
|
209
265
|
}));
|
|
210
266
|
await store.create(request);
|
|
@@ -264,11 +320,18 @@ async function inspectApproval(store, token, at) {
|
|
|
264
320
|
request
|
|
265
321
|
};
|
|
266
322
|
}
|
|
267
|
-
/**
|
|
268
|
-
|
|
323
|
+
/**
|
|
324
|
+
* Inspects `token` and, when it is approved, consumes it so it resumes once. A
|
|
325
|
+
* request opened under a `fingerprint` is consumed only under the same one.
|
|
326
|
+
*/
|
|
327
|
+
async function consumeApproval(store, token, at, options = {}) {
|
|
269
328
|
const now = { epochMilliseconds: dateAt(at).getTime() };
|
|
270
329
|
const inspected = await inspectApproval(store, token, now);
|
|
271
330
|
if (!inspected.ok) return inspected;
|
|
331
|
+
if (inspected.request.fingerprint !== void 0 && inspected.request.fingerprint !== options.fingerprint) return {
|
|
332
|
+
ok: false,
|
|
333
|
+
cause: "approval-fingerprint-mismatch"
|
|
334
|
+
};
|
|
272
335
|
if (typeof store.consume !== "function") return {
|
|
273
336
|
ok: false,
|
|
274
337
|
cause: "approval-not-found"
|
|
@@ -350,7 +413,8 @@ async function resumeDecision(input) {
|
|
|
350
413
|
if (inspected.ok) {
|
|
351
414
|
const { request } = inspected;
|
|
352
415
|
if (request.permission !== input.permission.key || request.resource.id !== void 0 && request.resource.id !== input.resource.id || request.subject.principal?.id !== input.subject.principal?.id) return approvalDenied("approval-mismatch");
|
|
353
|
-
if (
|
|
416
|
+
if (request.fingerprint !== void 0 && request.fingerprint !== decision.fingerprint) return approvalDenied("approval-fingerprint-mismatch");
|
|
417
|
+
if (input.consume !== false) inspected = await consumeApproval(store, token, input.now, { fingerprint: decision.fingerprint });
|
|
354
418
|
}
|
|
355
419
|
} catch {
|
|
356
420
|
return approvalDenied("approval-not-found");
|
package/dist/hono/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { E as Policy, M as PolicyVocabulary, _r as Principal } from "../policy-types-IRJVABmm.js";
|
|
2
2
|
import { u as Permission } from "../permission-types-CAY-GU7e.js";
|
|
3
|
-
import { a as PermDock } from "../permdock-
|
|
3
|
+
import { a as PermDock } from "../permdock-DUWZEOLR.js";
|
|
4
4
|
import { n as RevocationFeed } from "../revocations-BaUXHM1N.js";
|
|
5
|
-
import { D as ConnectionOptions, T as Connection, f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-
|
|
6
|
-
import { t as ServerAdapterOptions } from "../bind-
|
|
5
|
+
import { D as ConnectionOptions, T as Connection, f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-Bw-lWqzR.js";
|
|
6
|
+
import { t as ServerAdapterOptions } from "../bind-DjFNX0Pq.js";
|
|
7
7
|
import { Context, Hono, MiddlewareHandler } from "hono";
|
|
8
8
|
import { SSEMessage, SSEStreamingApi } from "hono/streaming";
|
|
9
9
|
import { WSEvents } from "hono/ws";
|
package/dist/hono/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as compact } from "../compact-CAf557ZB.js";
|
|
2
2
|
import { r as PermDockRevokedError } from "../errors-B6R_lg2a.js";
|
|
3
|
-
import { l as InvalidSignatureError, p as webBotAuthVerifier, u as discoverViaSignatureAgent } from "../evaluations-
|
|
4
|
-
import { t as problemFromError } from "../map-error-
|
|
5
|
-
import { r as bindKernel } from "../bind-
|
|
3
|
+
import { l as InvalidSignatureError, p as webBotAuthVerifier, u as discoverViaSignatureAgent } from "../evaluations-DG40eSJa.js";
|
|
4
|
+
import { t as problemFromError } from "../map-error-B_f3C5cs.js";
|
|
5
|
+
import { r as bindKernel } from "../bind-BJFeLX1V.js";
|
|
6
6
|
import { a as onRevoked, n as closeReason, r as guardIterable, t as POLICY_VIOLATION } from "../stream-CDvF0sJm.js";
|
|
7
7
|
import { Hono } from "hono";
|
|
8
8
|
//#region src/hono/create.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { E as Policy, Pn as Grantee, o as ApprovalRequirement, wr as Condition } from "./policy-types-IRJVABmm.js";
|
|
2
2
|
//#region src/core/hosted.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* One grant authored in PermDock Cloud; its grantee is a declared role, plan or
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { r as isRecord, t as compact } from "./compact-CAf557ZB.js";
|
|
2
2
|
import { n as freezeDeep } from "./freeze-jjan0lCv.js";
|
|
3
3
|
import { n as isForbiddenKey, s as splitPath } from "./paths-CUvURzHp.js";
|
|
4
|
-
import { a as deny, i as completeGrant,
|
|
4
|
+
import { a as deny, i as completeGrant, l as normalizeWhere, n as role, r as allow } from "./role-builder-BrmOcXch.js";
|
|
5
5
|
import { a as getResource, n as findPermission } from "./permission-registry-B8tYxPIt.js";
|
|
6
6
|
import { d as isSelfParented } from "./resource-relations-8-pCScBO.js";
|
|
7
7
|
import { a as durationOf, l as isRfc3339, m as rfc3339 } from "./time-nR1JesoH.js";
|
|
8
8
|
import { r as sha256Digest } from "./sha256-C-4WXKIu.js";
|
|
9
9
|
import { _ as listPlans, m as findRole, o as flattenGrantee } from "./grantee-Dke-9rd1.js";
|
|
10
|
-
import {
|
|
10
|
+
import { o as readWireApproval } from "./approval-normalize-4KxMRdJC.js";
|
|
11
|
+
import { a as indexPolicy, n as declaredRoleNames } from "./policy-DxQyHKPB.js";
|
|
11
12
|
//#region src/core/hosted.ts
|
|
12
13
|
function memoryPolicySource(document = null) {
|
|
13
14
|
const current = document === null ? null : parsePolicyDocument(document);
|
|
@@ -96,15 +97,15 @@ function isPortableCondition(value) {
|
|
|
96
97
|
function approvalRank(approval) {
|
|
97
98
|
if (approval === void 0) return;
|
|
98
99
|
if (approval === "human") return {
|
|
99
|
-
|
|
100
|
+
authorize: true,
|
|
100
101
|
stale: false,
|
|
101
102
|
quorum: 1,
|
|
102
103
|
ttl: Number.POSITIVE_INFINITY,
|
|
103
104
|
escalates: false
|
|
104
105
|
};
|
|
105
106
|
return {
|
|
106
|
-
by: approval.stages === void 0 ? JSON.stringify(approval.by) : JSON.stringify([approval.
|
|
107
|
-
|
|
107
|
+
by: approval.stages === void 0 ? JSON.stringify(approval.by) : JSON.stringify([approval.combine, approval.stages]),
|
|
108
|
+
authorize: approval.mode !== "confirm",
|
|
108
109
|
stale: approval.staleOn === "resource-change",
|
|
109
110
|
quorum: approval.quorum ?? 1,
|
|
110
111
|
ttl: durationOf(approval.ttl) ?? Number.POSITIVE_INFINITY,
|
|
@@ -121,7 +122,7 @@ function approvalAtLeast(hosted, code) {
|
|
|
121
122
|
const theirs = approvalRank(required);
|
|
122
123
|
if (theirs === void 0) continue;
|
|
123
124
|
if (mine === void 0) return false;
|
|
124
|
-
if (theirs.
|
|
125
|
+
if (theirs.authorize && !mine.authorize) return false;
|
|
125
126
|
if (theirs.stale && !mine.stale) return false;
|
|
126
127
|
if (theirs.by !== void 0 && mine.by !== theirs.by) return false;
|
|
127
128
|
if (mine.quorum < theirs.quorum || mine.ttl > theirs.ttl) return false;
|
|
@@ -157,8 +158,8 @@ function declaredGrantee(policy, grantee, permissionResource) {
|
|
|
157
158
|
function approvalAcceptable(policy, approval, permissionResource) {
|
|
158
159
|
if (approval === void 0 || approval === "human") return true;
|
|
159
160
|
if (!isRecord(approval)) return false;
|
|
160
|
-
if (approval["
|
|
161
|
-
if (approval["
|
|
161
|
+
if (approval["combine"] !== void 0 || approval["stages"] !== void 0 || approval["distinct"] !== void 0) return false;
|
|
162
|
+
if (approval["mode"] !== void 0 && approval["mode"] !== "confirm" && approval["mode"] !== "authorize") return false;
|
|
162
163
|
if (approval["staleOn"] !== void 0 && (approval["staleOn"] !== "resource-change" || getResource(policy.permissions, permissionResource)?.version === void 0)) return false;
|
|
163
164
|
if (approval["quorum"] !== void 0 && (!Number.isInteger(approval["quorum"]) || approval["quorum"] < 1)) return false;
|
|
164
165
|
if (approval["ttl"] !== void 0 && durationOf(approval["ttl"]) === void 0) return false;
|
|
@@ -202,7 +203,8 @@ function buildGrant(policy, document, raw) {
|
|
|
202
203
|
ok: false,
|
|
203
204
|
reason: "non-portable"
|
|
204
205
|
};
|
|
205
|
-
|
|
206
|
+
const approval = readWireApproval(raw["approval"]);
|
|
207
|
+
if (!approvalAcceptable(policy, approval, permission.resource)) return {
|
|
206
208
|
ok: false,
|
|
207
209
|
reason: "invalid"
|
|
208
210
|
};
|
|
@@ -214,7 +216,7 @@ function buildGrant(policy, document, raw) {
|
|
|
214
216
|
const options = compact({
|
|
215
217
|
where: raw["where"] === void 0 ? void 0 : normalizeWhere(raw["where"]),
|
|
216
218
|
check: raw["check"] === void 0 ? void 0 : normalizeWhere(raw["check"]),
|
|
217
|
-
approval
|
|
219
|
+
approval,
|
|
218
220
|
fields: raw["fields"]
|
|
219
221
|
});
|
|
220
222
|
let built;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as timeoutSignal } from "./timeout-D51niuQP.js";
|
|
2
|
-
import { a as describeError, n as CliError } from "./errors-
|
|
2
|
+
import { a as describeError, n as CliError } from "./errors-BhRkoNS7.js";
|
|
3
3
|
import { s as cliVersion } from "./version-DMQ0dnN5.js";
|
|
4
4
|
import "./device-BwbJNmb2.js";
|
|
5
5
|
//#region src/cli/core/http.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as isRecord } from "./compact-CAf557ZB.js";
|
|
2
2
|
import { t as byCodePoint } from "./compare-DTfyUunF.js";
|
|
3
3
|
import { i as readJsonFile } from "./files-BSjrtIHw.js";
|
|
4
|
-
import { t as applyFiles } from "./files-
|
|
5
|
-
import { n as httpRequest } from "./http-
|
|
4
|
+
import { t as applyFiles } from "./files-CfiRtQ-m.js";
|
|
5
|
+
import { n as httpRequest } from "./http-DhMWeB_h.js";
|
|
6
6
|
import { i as schemaExpression, t as emitPermissionsModule } from "./generate-CezbCaTI.js";
|
|
7
|
-
import { t as validateOpenapi } from "./schema-
|
|
7
|
+
import { t as validateOpenapi } from "./schema-9_NDz8fx.js";
|
|
8
8
|
import { existsSync, readFileSync } from "node:fs";
|
|
9
9
|
import { resolve } from "node:path";
|
|
10
10
|
//#region ../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/identity.js
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as isRecord } from "./compact-CAf557ZB.js";
|
|
2
|
-
import { i as configError, u as usageResult } from "./errors-
|
|
2
|
+
import { i as configError, u as usageResult } from "./errors-BhRkoNS7.js";
|
|
3
3
|
import { s as writeFileEnsuringDir } from "./files-BSjrtIHw.js";
|
|
4
4
|
import { r as escapeSqlIdent, s as quoteSqlLiteral } from "./sql-0WjxIp9g.js";
|
|
5
|
-
import { C as parseMembershipsFlag, r as HELPERS } from "./shared-
|
|
6
|
-
import { n as pgConnector } from "./pg-
|
|
7
|
-
import { t as FIELD_VIEWS } from "./fields-
|
|
5
|
+
import { C as parseMembershipsFlag, r as HELPERS } from "./shared-DyYVEjKC.js";
|
|
6
|
+
import { n as pgConnector } from "./pg-Ddxsd5ZB.js";
|
|
7
|
+
import { t as FIELD_VIEWS } from "./fields-CrjL6A49.js";
|
|
8
8
|
import { n as emptySchema, r as isSchemaKind, t as emitPermissionsModule } from "./generate-CezbCaTI.js";
|
|
9
9
|
import { existsSync, readFileSync } from "node:fs";
|
|
10
10
|
import { resolve } from "node:path";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $t as Snapshot, A as PolicyOptions, E as Policy, F as RoleOptions, Gt as InstanceHandle, H as VocabularyFromInput, Jn as Denial, K as CustomRoleSource, Kt as Instant, L as SeparationConflict, M as PolicyVocabulary, Nr as SqlFunctionArg, O as PolicyDelegation, P as RoleBinding, Pr as SqlFunctionCondition, Q as JwtClaims, Tr as ConditionRef, X as EntitlementSource, Xn as DenialReason, Zt as LocalSnapshotManifest, _ as GrantCondition, _r as Principal, a as ApprovalOption, at as RelationGroup, bn as Scope, c as AssuranceRequirement, cn as DecisionEvent, ct as SettingsSource, dr as CustomRole, g as Grant, gr as Membership, gt as TokenSigner, hn as SinkEvent, in as AccessEvent, kr as OpaqueCondition, l as BreakGlassOptions, lt as SnapshotSource, mt as TenantSettings, pr as Delegation, qn as Decision, rt as MembershipSource, st as RelationSource, un as DeliveryEvent, w as MembershipFixture, yn as PolicyScopesInput, yr as Subject, z as SupportAccessOptions } from "./policy-types-IRJVABmm.js";
|
|
2
2
|
import { E as ResourceXTree, S as ResourceParent, T as ResourceRestricted, b as ResourceNode, d as PermissionKind, f as PermissionTree, g as ResourceInit, m as PermissionsOptions, n as ActionMeta, p as PermissionsOf, t as ActionList, u as Permission, w as ResourceRelationInput, x as ResourceOptions, y as ResourceMeta } from "./permission-types-CAY-GU7e.js";
|
|
3
3
|
import { a as RoleTree, r as Role } from "./vocabulary-DEJ5j4mR.js";
|
|
4
|
-
import { a as PermDock, o as PermDockOptions } from "./permdock-
|
|
5
|
-
import { o as PolicyDocument } from "./hosted-
|
|
6
|
-
import { m as ApprovalStore } from "./types-
|
|
7
|
-
import { t as InstanceOptions } from "./instance-options-
|
|
8
|
-
import { n as PermDockWrap } from "./wrap-
|
|
4
|
+
import { a as PermDock, o as PermDockOptions } from "./permdock-DUWZEOLR.js";
|
|
5
|
+
import { o as PolicyDocument } from "./hosted-DxRLLiFU.js";
|
|
6
|
+
import { m as ApprovalStore } from "./types-BvBbkAu1.js";
|
|
7
|
+
import { t as InstanceOptions } from "./instance-options-BOCRxEFb.js";
|
|
8
|
+
import { n as PermDockWrap } from "./wrap-DpZAbxuD.js";
|
|
9
9
|
import { t as JsonSchemaNode } from "./json-schema-BfXgnRNT.js";
|
|
10
|
-
import { n as VersionCache } from "./version-cache-
|
|
11
|
-
import { i as CatalogEventData, s as CloudEvent } from "./sink-
|
|
10
|
+
import { n as VersionCache } from "./version-cache-9Vq5QVFC.js";
|
|
11
|
+
import { i as CatalogEventData, s as CloudEvent } from "./sink-DUzt0e4B.js";
|
|
12
12
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
13
13
|
//#region src/conditions/refs.d.ts
|
|
14
14
|
type KnownRefField = "id" | "issuer" | "kind" | "tenant" | "team" | "roles" | "plans" | "memberships" | "assurance" | "binding" | "session" | "claims";
|
|
@@ -206,8 +206,9 @@ declare function composeMemberships(sources: readonly MembershipSource[]): Membe
|
|
|
206
206
|
* latest membership change is stale for the policy's `fresh` permissions, or
|
|
207
207
|
* with `onStale: 'reread'` has its memberships read from `source` instead. With
|
|
208
208
|
* `versions`, an instance with intent `read` takes the version from that
|
|
209
|
-
* process-wide cache, so concurrent instances share one read
|
|
210
|
-
*
|
|
209
|
+
* process-wide cache, so concurrent instances share one read; a token's
|
|
210
|
+
* `authz_ver` seeds it dated by `iat`, so a token issued within its
|
|
211
|
+
* `maxStaleMs` needs none. Intent `write` always reads.
|
|
211
212
|
*/
|
|
212
213
|
declare function claimsFirst(source: MembershipSource | readonly MembershipSource[], options?: {
|
|
213
214
|
readonly version?: MembershipSource["version"];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { E as Policy, Kt as Instant, gr as Membership, gt as TokenSigner, lr as AuthorizationDetail, qn as Decision, rt as MembershipSource, st as RelationSource, wn as Approver, yr as Subject } from "./policy-types-IRJVABmm.js";
|
|
2
2
|
import { M as AppData, f as PermissionTree, u as Permission } from "./permission-types-CAY-GU7e.js";
|
|
3
|
-
import { a as PermDock } from "./permdock-
|
|
4
|
-
import { a as ApprovalDelegationSource, c as ApprovalListQuery, g as ApprovalVerdict, i as ApprovalDelegation, l as ApprovalPage, m as ApprovalStore, o as ApprovalInspectResult, r as ApprovalCancelMeta, s as ApprovalListFilter, u as ApprovalRequest } from "./types-
|
|
5
|
-
import { a as AccessReviewItemQuery, c as AccessReviewStore, i as AccessReviewItemPage, n as AccessReviewDecision, r as AccessReviewItem, t as AccessReview } from "./types-
|
|
3
|
+
import { a as PermDock } from "./permdock-DUWZEOLR.js";
|
|
4
|
+
import { a as ApprovalDelegationSource, c as ApprovalListQuery, g as ApprovalVerdict, i as ApprovalDelegation, l as ApprovalPage, m as ApprovalStore, o as ApprovalInspectResult, r as ApprovalCancelMeta, s as ApprovalListFilter, u as ApprovalRequest } from "./types-BvBbkAu1.js";
|
|
5
|
+
import { a as AccessReviewItemQuery, c as AccessReviewStore, i as AccessReviewItemPage, n as AccessReviewDecision, r as AccessReviewItem, t as AccessReview } from "./types-AOP5HQku.js";
|
|
6
6
|
import { t as JsonSchemaNode } from "./json-schema-BfXgnRNT.js";
|
|
7
7
|
//#region src/approvals/access-reviews/handler.d.ts
|
|
8
8
|
type AccessReviewsHandlerOptions = {
|
|
@@ -210,7 +210,7 @@ declare function memoryIdempotencyStore(): IdempotencyStore;
|
|
|
210
210
|
type ApprovalsHandlerOptions = {
|
|
211
211
|
readonly subject: (request: Request) => Subject | null | undefined | Promise<Subject | null | undefined>;
|
|
212
212
|
/**
|
|
213
|
-
* Refuse the principal even on grants that set `approval: {
|
|
213
|
+
* Refuse the principal even on grants that set `approval: { mode: "confirm"
|
|
214
214
|
* }`.
|
|
215
215
|
*/
|
|
216
216
|
readonly requireDistinctApprover?: boolean;
|
|
@@ -341,10 +341,11 @@ type ApproverRelationsOptions = {
|
|
|
341
341
|
readonly now?: Instant;
|
|
342
342
|
};
|
|
343
343
|
/**
|
|
344
|
-
* The relation approvers of `request` that `subject` holds
|
|
345
|
-
* keyed by `approverRelationKey
|
|
346
|
-
* through `relations` by the
|
|
347
|
-
*
|
|
344
|
+
* The relation and `manager()` approvers of `request` that `subject` holds,
|
|
345
|
+
* keyed by `approverRelationKey` and `approverManagerKey`, for
|
|
346
|
+
* `ApprovalVerdict.relations`. Relation reads go through `relations` by the
|
|
347
|
+
* request's resource id, manager reads by the requester's principal id; a
|
|
348
|
+
* request without an id, a missing source or a read that fails holds nothing.
|
|
348
349
|
*/
|
|
349
350
|
declare function approverRelations(request: ApprovalRequest, subject: Subject, options: ApproverRelationsOptions): Promise<readonly string[]>;
|
|
350
351
|
//#endregion
|
|
@@ -386,8 +387,13 @@ declare function vouchApproval(store: ApprovalStore, token: string, verdict: {
|
|
|
386
387
|
readonly note?: string;
|
|
387
388
|
}): Promise<ApprovalRequest>;
|
|
388
389
|
declare function inspectApproval(store: ApprovalStore, token: string, at?: Instant): Promise<ApprovalInspectResult>;
|
|
389
|
-
/**
|
|
390
|
-
|
|
390
|
+
/**
|
|
391
|
+
* Inspects `token` and, when it is approved, consumes it so it resumes once. A
|
|
392
|
+
* request opened under a `fingerprint` is consumed only under the same one.
|
|
393
|
+
*/
|
|
394
|
+
declare function consumeApproval(store: ApprovalStore, token: string, at?: Instant, options?: {
|
|
395
|
+
readonly fingerprint?: string | undefined;
|
|
396
|
+
}): Promise<ApprovalInspectResult>;
|
|
391
397
|
/**
|
|
392
398
|
* Applies a resume token to a decision. The token only matters when the
|
|
393
399
|
* decision is `approval-required` and the token is the one this call was
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Y as DecisionSink, _t as TokenVerifier, rt as MembershipSource } from "./policy-types-IRJVABmm.js";
|
|
2
2
|
import { M as AppData } from "./permission-types-CAY-GU7e.js";
|
|
3
3
|
import { n as RevocationFeed } from "./revocations-BaUXHM1N.js";
|
|
4
4
|
import { t as ClaimsMap } from "./claims-map-D1Pb5oRq.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { E as Policy, M as PolicyVocabulary, Y as DecisionSink, _r as Principal, ln as DeliveryChannel } from "./policy-types-IRJVABmm.js";
|
|
2
2
|
import { u as Permission } from "./permission-types-CAY-GU7e.js";
|
|
3
3
|
import { t as Operation } from "./operations-Ci_rT6Uo.js";
|
|
4
|
-
import { _ as PrincipalSource, a as PermDock } from "./permdock-
|
|
4
|
+
import { _ as PrincipalSource, a as PermDock } from "./permdock-DUWZEOLR.js";
|
|
5
5
|
import { t as JsonSchemaNode } from "./json-schema-BfXgnRNT.js";
|
|
6
|
-
import { _ as TransportOptions, a as DeliveryReport, c as DeliveryTransport, g as TransportMessages, i as DeliveryMessages, l as DeliveryTransports, m as Recipient, o as DeliveryResult, r as DeliverOptions, s as DeliveryTarget, y as WebhookTransport } from "./types-
|
|
7
|
-
import { l as WebhookSigner } from "./standard-webhooks-
|
|
6
|
+
import { _ as TransportOptions, a as DeliveryReport, c as DeliveryTransport, g as TransportMessages, i as DeliveryMessages, l as DeliveryTransports, m as Recipient, o as DeliveryResult, r as DeliverOptions, s as DeliveryTarget, y as WebhookTransport } from "./types-UfpcY575.js";
|
|
7
|
+
import { l as WebhookSigner } from "./standard-webhooks-BFeEpjxy.js";
|
|
8
8
|
//#region src/delivery/audience.d.ts
|
|
9
9
|
type Audience = {
|
|
10
10
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { At as ApiKeyPrincipal, E as Policy, M as PolicyVocabulary, Nt as CredentialKind, W as CredentialVerifier, Y as DecisionSink, _r as Principal, _t as TokenVerifier, an as AuthEvent, ct as SettingsSource, gt as TokenSigner, ht as TokenFailureCause, jt as Credential, qn as Decision, wt as SupportSession, yr as Subject } from "./policy-types-IRJVABmm.js";
|
|
2
2
|
import { f as PermissionTree, u as Permission } from "./permission-types-CAY-GU7e.js";
|
|
3
|
-
import { _ as PrincipalSource } from "./permdock-
|
|
4
|
-
import { a as ProblemDetails, s as Disclosure, t as ApprovalHint } from "./errors-
|
|
5
|
-
import { c as ServerPermDock, l as ServerPermDockOptions } from "./server-types-
|
|
3
|
+
import { _ as PrincipalSource } from "./permdock-DUWZEOLR.js";
|
|
4
|
+
import { a as ProblemDetails, s as Disclosure, t as ApprovalHint } from "./errors-Dc9FdamT.js";
|
|
5
|
+
import { c as ServerPermDock, l as ServerPermDockOptions } from "./server-types-Bw-lWqzR.js";
|
|
6
6
|
//#region src/server/create.d.ts
|
|
7
7
|
/**
|
|
8
8
|
* The Fetch factory behind every HTTP adapter. The subject and actor are
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { E as SsfPermDockOptions, O as SsfStreamConfiguration, T as SsfPermDock, _ as SetSubject, c as PushSetOptions, d as SetDelivery, g as SetQueue, h as SetPollHandlerOptions, k as SsfStreamStatus, m as SetEvent, p as SetError, t as CaepCommon, v as SignSetOptions } from "./types-
|
|
1
|
+
import { E as Policy, _r as Principal, gt as TokenSigner } from "./policy-types-IRJVABmm.js";
|
|
2
|
+
import { E as SsfPermDockOptions, O as SsfStreamConfiguration, T as SsfPermDock, _ as SetSubject, c as PushSetOptions, d as SetDelivery, g as SetQueue, h as SetPollHandlerOptions, k as SsfStreamStatus, m as SetEvent, p as SetError, t as CaepCommon, v as SignSetOptions } from "./types-CJC1aaoJ.js";
|
|
3
3
|
//#region src/ssf/create.d.ts
|
|
4
4
|
declare function createPermDock<TUser, TPrincipal extends Principal = Principal>(policy: Policy<TUser, TPrincipal>, options: SsfPermDockOptions): SsfPermDock;
|
|
5
5
|
//#endregion
|
package/dist/index.d.ts
CHANGED
|
@@ -1,24 +1,26 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as LimitConsumeInput, $n as GrantedDecision, $t as Snapshot, An as anyOf, Ar as RelatedCondition, At as ApiKeyPrincipal, B as SupportConsent, Bn as assurance, Bt as credentialDelegation, C as HostedGrantRef, Cn as AnyOfApprover, Cr as MembershipVia, Ct as DecideSupportSessionOptions, D as PolicyAppDataSchemas, Dn as PermissionApprover, Dr as MemberOfCondition, Dt as SupportSessionRequest, E as Policy, En as ManagerApprover, Er as ConditionValue, Et as SupportSessionPolicy, F as RoleOptions, Fn as GranteeInput, Fr as hasConditionOp, Ft as CredentialPermissionInput, G as CustomRoleContext, Gn as AppObligation, Hn as inherit, Ht as decideCredential, I as RoleScope, In as InheritGrantee, Ir as isCondition, It as CredentialPolicy, J as DecisionProvider, Jn as Denial, Jt as LocalMembershipRows, K as CustomRoleSource, Kn as ApprovalRequiredDecision, L as SeparationConflict, Ln as RelationGrantee, Lr as isConditionDate, Lt as CredentialPolicyViolation, Mn as manager, Mr as RestrictedAncestors, Mt as CredentialDecision, N as PrincipalOf, Nn as user, Nr as SqlFunctionArg, Nt as CredentialKind, O as PolicyDelegation, On as UserApprover, Or as MemberOfParent, Ot as decideSupportSession, P as RoleBinding, Pn as Grantee, Pr as SqlFunctionCondition, Pt as CredentialPermission, Qn as ExplainedDecision, Qt as LocalSnapshotRows, R as SubjectOf, Rn as actor, Rr as isConditionRef, Rt as CredentialRequest, S as GrantValidity, Sn as ScopeNames, Sr as AdapterId, St as WhereCompiler, T as ObligationInput, Tn as ApproverInput, Tr as ConditionRef, Tt as SupportSessionDecision, U as WireValidity, Un as plan, Ut as isFeedId, V as ValidateMode, Vn as authenticated, Vt as credentialPolicyViolation, W as CredentialVerifier, Wn as relation, Wt as parseCredential, X as EntitlementSource, Xn as DenialReason, Xt as LocalRowValue, Y as DecisionSink, Yn as DenialDetails, Yt as LocalRowColumn, Z as Intent, Zn as DeniedDecision, Zt as LocalSnapshotManifest, _ as GrantCondition, _n as WireDenial, _r as Principal, _t as TokenVerifier, a as ApprovalOption, an as AuthEvent, ar as TraceSkip, at as RelationGroup, b as GrantOptions, bn as Scope, br as VerifiedClaims, bt as VersionContext, c as AssuranceRequirement, cn as DecisionEvent, cr as Assurance, ct as SettingsSource, d as BreakGlassSpec, dn as DeliveryFailureCause, dr as CustomRole, dt as SourceContext, en as SnapshotAssignable, er as LimitDetail, et as LimitRemaining, f as ClosureContext, fn as DirectoryEvent, fr as CustomRoleGrant, ft as SourceMemo, g as Grant, gn as WireDecision, gr as Membership, gt as TokenSigner, h as DelegationTarget, hn as SinkEvent, ht as TokenFailureCause, i as ApprovalMode, in as AccessEvent, ir as Trace, it as RelationChain, j as PolicyScopes, jn as holder, jr as RelatedHop, jt as Credential, k as PolicyOAuthScope, kn as allOf, kt as parseSupportSession, l as BreakGlassOptions, ln as DeliveryChannel, lr as AuthorizationDetail, lt as SnapshotSource, m as DelegationInput, mn as MembershipEvent, mr as GnapAccess, mt as TenantSettings, n as ApprovalCombine, nn as SnapshotNotEntitled, nr as Obligation, nt as MemberEntry, o as ApprovalRequirement, on as AutomationEvent, or as TraceSkipReason, ot as RelationHolder, p as ClosureGrantFn, pn as EmailCategory, pr as Delegation, pt as SubjectResolver, q as CustomRoleSourceFactory, qn as Decision, qt as LocalCustomRoleTable, r as ApprovalEscalation, rn as SnapshotScope, rr as Quota, rt as MembershipSource, s as ApprovalStage, sn as CredentialEvent, sr as Actor, st as RelationSource, t as ActivationOption, tn as SnapshotGrant, tr as MatchedGrant, tt as LimitStore, u as BreakGlassRequirements, un as DeliveryEvent, ur as Binding, ut as SourceCall, v as GrantLimit, vr as SharedCustomRole, vt as VerificationFailure, w as MembershipFixture, wn as Approver, wr as Condition, wt as SupportSession, x as GrantScope, xn as ScopeDeclaration, xr as ActorKind, xt as VersionQuery, y as GrantMeta, yn as PolicyScopesInput, yr as Subject, yt as VerifiedToken, z as SupportAccessOptions, zn as anyone, zr as isSqlFunctionField, zt as DecideCredentialOptions } from "./policy-types-IRJVABmm.js";
|
|
2
2
|
import { A as RESOURCE_NAME, C as ResourceRelation, D as RowOf, E as ResourceXTree, M as AppData, N as AppDataSchema, O as PERMISSION_ROW, P as MetaValue, S as ResourceParent, T as ResourceRestricted, _ as ResourceLevel, a as EdgeGroups, b as ResourceNode, c as FieldRelation, d as PermissionKind, f as PermissionTree, g as ResourceInit, h as PrincipalRelation, i as EdgeGroup, j as RESOURCE_X, k as POLICY_SCOPES, m as PermissionsOptions, n as ActionMeta, o as EdgeMatch, p as PermissionsOf, r as ComputedRelation, s as EdgeRelation, u as Permission, v as ResourceLink, w as ResourceRelationInput, x as ResourceOptions, y as ResourceMeta } from "./permission-types-CAY-GU7e.js";
|
|
3
3
|
import { a as RoleTree, c as definePlans, d as isPlan, f as isRole, i as RoleMeta, l as defineRoles, m as listRoles, n as PlanTree, o as Vocabulary, p as listPlans, r as Role, s as VocabularyOptions, t as Plan, u as findRole } from "./vocabulary-DEJ5j4mR.js";
|
|
4
|
-
import { $ as resource, $t as listPermissions, A as RoleChangeCheckInput, At as HoldingVia, B as ActivateInput, Bt as countHolders, C as parseCatalogEventData, Ct as SnapshotClaims, D as parseSinkEvents, Dt as SignPolicyDocumentOptions, E as parseSinkEvent, Et as snapshotFromClaims, F as checkRoleChange, Ft as memoryRelationSource, G as allow, Gt as memoryMembershipSource, H as breakGlass, Ht as APPROVAL_POLICY_UNAVAILABLE, I as decideRoleChange, It as StripeEntitlementsClient, J as role, Jt as sqlFunction, K as deny, Kt as memorySettingsSource, L as normalizeMembership, Lt as stripeEntitlementSource, M as RoleChangeOptions, Mt as whoCan, N as RoleChangeTarget, Nt as MemoryEdge, O as RoleChange, Ot as signPolicyDocument, P as RoleRules, Pt as MemoryRelationSourceData, Q as formerKeys, Qt as isPermission, R as normalizeMemberships, Rt as claimsFirst, S as SINK_EVENT_SCHEMAS, Sn as principal, St as SignSnapshotOptions, T as parseCloudEventBatch, Tt as snapshotClaims, U as supportAccess, Ut as memoryCustomRoleSource, V as activate, Vt as isExternallyManaged, W as normalizeApproval, Wt as memoryEntitlementSource, X as readable, Xt as findPermission, Y as crud, Yt as opaque, Z as writable, Zt as getResource, _ as DECISION_EVENT_SCHEMA, _n as parseCustomRoleEntry, _t as ArazzoSimulateInput, a as catalogFingerprint, an as requiresApproval, at as customRoleSource, b as EVENT_SCHEMA_IDS, bn as claim, bt as simulateArazzo, c as OCSF_VERSION, cn as parseSnapshot, ct as ShadowMismatch, d as accessToOcsf, dn as CustomRoleEntry, dt as defineApp, en as mergePermissions, et as definePermissions, f as toOcsf, fn as CustomRoleRename, ft as AppOptions, g as CREDENTIAL_EVENT_SCHEMA, gn as customRoleClaim, gt as ArazzoPlan, h as CATALOG_EVENT_SCHEMA, hn as ValidateCustomRoleOptions, ht as ArazzoFinding, i as canonicalJson, in as separationConflicts, it as CustomRoleSourceOptions, j as RoleChangeDecision, jt as WhoCan, k as RoleChangeCheck, kt as Holder, l as OcsfAuthorizeSession, ln as CustomRoleDrop, lt as ShadowOptions, m as AUTOMATION_EVENT_SCHEMA, mn as ResolvedCustomRole, mt as localSnapshotManifest, n as delegatedPermissions, nn as definePolicy, nt as snapshotFor, o as CSV_COLUMNS, on as emptySnapshot, ot as mayAccess, p as ACCESS_EVENT_SCHEMA, pn as CustomRoleValidation, pt as AppProfile, q as normalizeAssurance, qt as memorySnapshotSource, r as sha256Digest, rn as isRoleName, rt as CustomRoleReader, s as toCsvRow, sn as fromSnapshot, st as LegacyCheck, t as coveredByDelegation, tn as RoleNameOf, tt as SnapshotForOptions, u as OcsfUserManagement, un as CustomRoleDropReason, ut as shadowMode, v as DELIVERY_EVENT_SCHEMA, vn as resolveCustomRole, vt as ArazzoStepResult, w as parseCloudEvent, wt as signSnapshot, x as MEMBERSHIP_EVENT_SCHEMA, xn as context, xt as deliveryEvent, y as DIRECTORY_EVENT_SCHEMA, yn as validateCustomRole, yt as arazzoFindings, z as resolveScope, zt as composeMemberships } from "./index-
|
|
4
|
+
import { $ as resource, $t as listPermissions, A as RoleChangeCheckInput, At as HoldingVia, B as ActivateInput, Bt as countHolders, C as parseCatalogEventData, Ct as SnapshotClaims, D as parseSinkEvents, Dt as SignPolicyDocumentOptions, E as parseSinkEvent, Et as snapshotFromClaims, F as checkRoleChange, Ft as memoryRelationSource, G as allow, Gt as memoryMembershipSource, H as breakGlass, Ht as APPROVAL_POLICY_UNAVAILABLE, I as decideRoleChange, It as StripeEntitlementsClient, J as role, Jt as sqlFunction, K as deny, Kt as memorySettingsSource, L as normalizeMembership, Lt as stripeEntitlementSource, M as RoleChangeOptions, Mt as whoCan, N as RoleChangeTarget, Nt as MemoryEdge, O as RoleChange, Ot as signPolicyDocument, P as RoleRules, Pt as MemoryRelationSourceData, Q as formerKeys, Qt as isPermission, R as normalizeMemberships, Rt as claimsFirst, S as SINK_EVENT_SCHEMAS, Sn as principal, St as SignSnapshotOptions, T as parseCloudEventBatch, Tt as snapshotClaims, U as supportAccess, Ut as memoryCustomRoleSource, V as activate, Vt as isExternallyManaged, W as normalizeApproval, Wt as memoryEntitlementSource, X as readable, Xt as findPermission, Y as crud, Yt as opaque, Z as writable, Zt as getResource, _ as DECISION_EVENT_SCHEMA, _n as parseCustomRoleEntry, _t as ArazzoSimulateInput, a as catalogFingerprint, an as requiresApproval, at as customRoleSource, b as EVENT_SCHEMA_IDS, bn as claim, bt as simulateArazzo, c as OCSF_VERSION, cn as parseSnapshot, ct as ShadowMismatch, d as accessToOcsf, dn as CustomRoleEntry, dt as defineApp, en as mergePermissions, et as definePermissions, f as toOcsf, fn as CustomRoleRename, ft as AppOptions, g as CREDENTIAL_EVENT_SCHEMA, gn as customRoleClaim, gt as ArazzoPlan, h as CATALOG_EVENT_SCHEMA, hn as ValidateCustomRoleOptions, ht as ArazzoFinding, i as canonicalJson, in as separationConflicts, it as CustomRoleSourceOptions, j as RoleChangeDecision, jt as WhoCan, k as RoleChangeCheck, kt as Holder, l as OcsfAuthorizeSession, ln as CustomRoleDrop, lt as ShadowOptions, m as AUTOMATION_EVENT_SCHEMA, mn as ResolvedCustomRole, mt as localSnapshotManifest, n as delegatedPermissions, nn as definePolicy, nt as snapshotFor, o as CSV_COLUMNS, on as emptySnapshot, ot as mayAccess, p as ACCESS_EVENT_SCHEMA, pn as CustomRoleValidation, pt as AppProfile, q as normalizeAssurance, qt as memorySnapshotSource, r as sha256Digest, rn as isRoleName, rt as CustomRoleReader, s as toCsvRow, sn as fromSnapshot, st as LegacyCheck, t as coveredByDelegation, tn as RoleNameOf, tt as SnapshotForOptions, u as OcsfUserManagement, un as CustomRoleDropReason, ut as shadowMode, v as DELIVERY_EVENT_SCHEMA, vn as resolveCustomRole, vt as ArazzoStepResult, w as parseCloudEvent, wt as signSnapshot, x as MEMBERSHIP_EVENT_SCHEMA, xn as context, xt as deliveryEvent, y as DIRECTORY_EVENT_SCHEMA, yn as validateCustomRole, yt as arazzoFindings, z as resolveScope, zt as composeMemberships } from "./index-Bt-UoBWu.js";
|
|
5
5
|
import { a as OperationInput, c as defineOperations, d as isOperationRisk, i as OperationEffect, l as OPERATION_RISKS, n as OperationData, o as OperationMap, r as OperationDefinition, s as OperationMeta, t as Operation, u as OperationRisk } from "./operations-Ci_rT6Uo.js";
|
|
6
|
-
import {
|
|
7
|
-
import { d as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
6
|
+
import { a as ApprovalPolicyValidation, c as validateApprovalPolicy, i as ApprovalPolicySource, n as ApprovalPolicy, o as approvalPolicies, r as ApprovalPolicyProblem, s as memoryApprovalPolicySource, t as ApprovalPolicies } from "./approval-policies-9VagPixq.js";
|
|
7
|
+
import { C as InstanceCache, D as instanceCache, E as InstanceCacheStats, O as PermissionCheck, S as memoryLimitStore, T as InstanceCacheOptions, _ as PrincipalSource, a as PermDock, b as Limits, c as RowPair, d as UncheckedData, f as WhereResult, g as PrincipalIdentityLink, h as PrincipalIdentity, i as LoadedRows, k as PermissionState, l as SimulateOptions, m as getPermDockSync, n as DecideOptions, o as PermDockOptions, p as getPermDock, r as DeriveOptions, s as RowData, t as DecideIdsOptions, u as SnapshotOptions, v as memoryPrincipalSource, w as InstanceCacheKey, x as limits, y as PermittedIdsOptions } from "./permdock-DUWZEOLR.js";
|
|
8
|
+
import { d as memoryPolicySource, f as mergeHostedGrants, i as HostedGrantDropped, l as hostedPolicies, m as policyDocumentFromClaims, o as PolicyDocument, p as parsePolicyDocument, r as HostedGrantDropReason, s as PolicySource, t as HostedGrant, u as isPortableCondition } from "./hosted-DxRLLiFU.js";
|
|
9
|
+
import { n as PermDockValidationError } from "./validation-error-DpvsBwZJ.js";
|
|
10
|
+
import { a as ProblemDetails, c as requiredPlans, i as PermDockRevokedError, n as PermDockApprovalRequiredError, o as RevokedCode, r as PermDockDeniedError } from "./errors-Dc9FdamT.js";
|
|
11
|
+
import { t as InstanceOptions } from "./instance-options-BOCRxEFb.js";
|
|
11
12
|
import { t as RequestContext } from "./request-context-C2_1lchh.js";
|
|
12
|
-
import { n as PermDockWrap, r as wrapPermDock, t as PermDockOverrides } from "./wrap-
|
|
13
|
+
import { n as PermDockWrap, r as wrapPermDock, t as PermDockOverrides } from "./wrap-DpZAbxuD.js";
|
|
13
14
|
import { t as JsonSchemaNode } from "./json-schema-BfXgnRNT.js";
|
|
15
|
+
import { t as approvalFingerprint } from "./token-D6pWn8Uj.js";
|
|
14
16
|
import { i as memoryRevocationFeed, n as RevocationFeed, r as RevocationListener, t as RevocationEvent } from "./revocations-BaUXHM1N.js";
|
|
15
17
|
import { t as ClientNames } from "./clients-C_NOET3z.js";
|
|
16
|
-
import { i as memoryVersionCache, n as VersionCache, r as VersionCacheStats, t as MemoryVersionCacheOptions } from "./version-cache-
|
|
17
|
-
import { a as CapabilityOptions, c as LinkPolicy, d as linkPolicyViolation, f as parseCapability, i as CapabilityInput, l as LinkPolicyViolation, m as signCapability, n as CapabilityClaim, o as CapabilityPrincipal, p as parseCapabilityClaim, r as CapabilityConfirmation, s as CapabilityRedeemer, t as Capability, u as capabilityFromClaims } from "./capability-
|
|
18
|
-
import { a as AutomationSource, c as decideAutomation, i as AutomationRequest, l as memoryAutomationSource, n as AutomationDecision, o as DecideAutomationOptions, r as AutomationMode, s as MemoryAutomationSource, t as Automation, u as parseAutomation } from "./automation-
|
|
19
|
-
import { S as toCloudEvent, _ as credentialEvent, a as CatalogFinding, b as signDecisionBatch, c as CloudEventOptions, d as MemoryDecisionSinkOptions, f as RESERVED_CLOUD_EVENT_TYPES, g as cloudEventType, h as automationEvent, i as CatalogEventData, l as CloudEventType, m as accessEvent, n as CLOUDEVENTS_CONTENT_TYPE, o as CatalogFindingCode, p as SignDecisionBatchOptions, r as CLOUD_EVENT_TYPES, s as CloudEvent, t as CLOUDEVENTS_BATCH_CONTENT_TYPE, u as MemoryDecisionSink, v as membershipEvent, x as supportSessionEvent, y as memoryDecisionSink } from "./sink-
|
|
20
|
-
import { a as PlanNameOf, c as VocabularyOf, i as PermissionOf, n as OperationNameOf, s as ScopeNameOf } from "./type-helpers-
|
|
21
|
-
import { i as describe, n as DescribeMessages, r as DescribeOptions, t as DecisionDescription } from "./describe-
|
|
18
|
+
import { i as memoryVersionCache, n as VersionCache, r as VersionCacheStats, t as MemoryVersionCacheOptions } from "./version-cache-9Vq5QVFC.js";
|
|
19
|
+
import { a as CapabilityOptions, c as LinkPolicy, d as linkPolicyViolation, f as parseCapability, i as CapabilityInput, l as LinkPolicyViolation, m as signCapability, n as CapabilityClaim, o as CapabilityPrincipal, p as parseCapabilityClaim, r as CapabilityConfirmation, s as CapabilityRedeemer, t as Capability, u as capabilityFromClaims } from "./capability-BzjWdKmP.js";
|
|
20
|
+
import { a as AutomationSource, c as decideAutomation, i as AutomationRequest, l as memoryAutomationSource, n as AutomationDecision, o as DecideAutomationOptions, r as AutomationMode, s as MemoryAutomationSource, t as Automation, u as parseAutomation } from "./automation-DCWuVKtd.js";
|
|
21
|
+
import { S as toCloudEvent, _ as credentialEvent, a as CatalogFinding, b as signDecisionBatch, c as CloudEventOptions, d as MemoryDecisionSinkOptions, f as RESERVED_CLOUD_EVENT_TYPES, g as cloudEventType, h as automationEvent, i as CatalogEventData, l as CloudEventType, m as accessEvent, n as CLOUDEVENTS_CONTENT_TYPE, o as CatalogFindingCode, p as SignDecisionBatchOptions, r as CLOUD_EVENT_TYPES, s as CloudEvent, t as CLOUDEVENTS_BATCH_CONTENT_TYPE, u as MemoryDecisionSink, v as membershipEvent, x as supportSessionEvent, y as memoryDecisionSink } from "./sink-DUzt0e4B.js";
|
|
22
|
+
import { a as PlanNameOf, c as VocabularyOf, i as PermissionOf, n as OperationNameOf, s as ScopeNameOf } from "./type-helpers-C_OnZW8c.js";
|
|
23
|
+
import { i as describe, n as DescribeMessages, r as DescribeOptions, t as DecisionDescription } from "./describe-nalX_HHE.js";
|
|
22
24
|
import { n as parsePermDockDigest, t as PermDockDigest } from "./digest-8Yx2CchM.js";
|
|
23
|
-
import { t as parseLocalSnapshotManifest } from "./parse-local-manifest-
|
|
24
|
-
export { ACCESS_EVENT_SCHEMA, APPROVAL_POLICY_UNAVAILABLE, AUTOMATION_EVENT_SCHEMA, type AccessEvent, type ActionMeta, type ActivateInput, type ActivationOption, type Actor, type ActorKind, type AdapterId, type AnyOfApprover, type ApiKeyPrincipal, type AppData, type AppDataSchema, type AppObligation, type AppOptions, type AppProfile, type ApprovalEscalation, type ApprovalMode, type ApprovalOption, type ApprovalPolicies, type ApprovalPolicy, type ApprovalPolicyProblem, type ApprovalPolicySource, type ApprovalPolicyValidation, type ApprovalRequiredDecision, type ApprovalRequirement, type ApprovalStage, type Approver, type ApproverInput, type ArazzoFinding, type ArazzoPlan, type ArazzoSimulateInput, type ArazzoStepResult, type Assurance, type AssuranceRequirement, type AuthEvent, type AuthorizationDetail, type Automation, type AutomationDecision, type AutomationEvent, type AutomationMode, type AutomationRequest, type AutomationSource, type Binding, type BreakGlassOptions, type BreakGlassRequirements, type BreakGlassSpec, CATALOG_EVENT_SCHEMA, CLOUDEVENTS_BATCH_CONTENT_TYPE, CLOUDEVENTS_CONTENT_TYPE, CLOUD_EVENT_TYPES, CREDENTIAL_EVENT_SCHEMA, CSV_COLUMNS, type Capability, type CapabilityClaim, type CapabilityConfirmation, type CapabilityInput, type CapabilityOptions, type CapabilityPrincipal, type CapabilityRedeemer, type CatalogEventData, type CatalogFinding, type CatalogFindingCode, type ClientNames, type ClosureContext, type ClosureGrantFn, type CloudEvent, type CloudEventOptions, type CloudEventType, type ComputedRelation, type Condition, type ConditionRef, type ConditionValue, type Credential, type CredentialDecision, type CredentialEvent, type CredentialKind, type CredentialPermission, type CredentialPermissionInput, type CredentialPolicy, type CredentialPolicyViolation, type CredentialRequest, type CredentialVerifier, type CustomRole, type CustomRoleContext, type CustomRoleDrop, type CustomRoleDropReason, type CustomRoleEntry, type CustomRoleGrant, type CustomRoleReader, type CustomRoleRename, type CustomRoleSource, type CustomRoleSourceFactory, type CustomRoleSourceOptions, type CustomRoleValidation, DECISION_EVENT_SCHEMA, DELIVERY_EVENT_SCHEMA, DIRECTORY_EVENT_SCHEMA, type DecideAutomationOptions, type DecideCredentialOptions, type DecideIdsOptions, type DecideOptions, type DecideSupportSessionOptions, type Decision, type DecisionDescription, type DecisionEvent, type DecisionProvider, type DecisionSink, type Delegation, type DelegationInput, type DelegationTarget, type DeliveryChannel, type DeliveryEvent, type DeliveryFailureCause, type Denial, type DenialDetails, type DenialReason, type DeniedDecision, type DeriveOptions, type DescribeMessages, type DescribeOptions, type DirectoryEvent, EVENT_SCHEMA_IDS, type EdgeGroup, type EdgeGroups, type EdgeMatch, type EdgeRelation, type EmailCategory, type EntitlementSource, type ExplainedDecision, type FieldRelation, type GnapAccess, type Grant, type GrantCondition, type GrantLimit, type GrantMeta, type GrantOptions, type GrantScope, type GrantValidity, type GrantedDecision, type Grantee, type GranteeInput, type Holder, type HoldingVia, type HostedGrant, type HostedGrantDropReason, type HostedGrantDropped, type HostedGrantRef, type InheritGrantee, type InstanceOptions, type Intent, type JsonSchemaNode, type LegacyCheck, type LimitConsumeInput, type LimitDetail, type LimitRemaining, type LimitStore, type Limits, type LinkPolicy, type LinkPolicyViolation, type LoadedRows, type LocalCustomRoleTable, type LocalMembershipRows, type LocalRowColumn, type LocalRowValue, type LocalSnapshotManifest, type LocalSnapshotRows, MEMBERSHIP_EVENT_SCHEMA, type MatchedGrant, type MemberEntry, type MemberOfCondition, type MemberOfParent, type Membership, type MembershipEvent, type MembershipFixture, type MembershipSource, type MembershipVia, type MemoryAutomationSource, type MemoryDecisionSink, type MemoryDecisionSinkOptions, type MemoryEdge, type MemoryRelationSourceData, type MemoryVersionCacheOptions, type MetaValue, OCSF_VERSION, OPERATION_RISKS, type Obligation, type ObligationInput, type OcsfAuthorizeSession, type OcsfUserManagement, type Operation, type OperationData, type OperationDefinition, type OperationEffect, type OperationInput, type OperationMap, type OperationMeta, type OperationNameOf, type OperationRisk, type PERMISSION_ROW, type POLICY_SCOPES, type PermDock, PermDockApprovalRequiredError, PermDockDeniedError, type PermDockDigest, type PermDockOptions, type PermDockOverrides, PermDockRevokedError, PermDockValidationError, type PermDockWrap, type Permission, type PermissionApprover, type PermissionCheck, type PermissionKind, type PermissionOf, type PermissionTree, type PermissionsOf, type PermissionsOptions, type PermittedIdsOptions, type Plan, type PlanNameOf, type PlanTree, type Policy, type PolicyAppDataSchemas, type PolicyDelegation, type PolicyDocument, type PolicyOAuthScope, type PolicyScopes, type PolicyScopesInput, type PolicySource, type Principal, type PrincipalIdentity, type PrincipalIdentityLink, type PrincipalOf, type PrincipalRelation, type PrincipalSource, type ProblemDetails, type Quota, RESERVED_CLOUD_EVENT_TYPES, type RESOURCE_NAME, type RESOURCE_X, type RelatedCondition, type RelatedHop, type RelationChain, type RelationGrantee, type RelationGroup, type RelationHolder, type RelationSource, type RequestContext, type ResolvedCustomRole, type ResourceInit, type ResourceLevel, type ResourceLink, type ResourceMeta, type ResourceNode, type ResourceOptions, type ResourceParent, type ResourceRelation, type ResourceRelationInput, type ResourceRestricted, type ResourceXTree, type RestrictedAncestors, type RevocationEvent, type RevocationFeed, type RevocationListener, type RevokedCode, type Role, type RoleBinding, type RoleChange, type RoleChangeCheck, type RoleChangeCheckInput, type RoleChangeDecision, type RoleChangeOptions, type RoleChangeTarget, type RoleMeta, type RoleNameOf, type RoleOptions, type RoleRules, type RoleScope, type RoleTree, type RowData, type RowOf, type RowPair, SINK_EVENT_SCHEMAS, type Scope, type ScopeDeclaration, type ScopeNameOf, type ScopeNames, type SeparationConflict, type SettingsSource, type ShadowMismatch, type ShadowOptions, type SharedCustomRole, type SignDecisionBatchOptions, type SignPolicyDocumentOptions, type SignSnapshotOptions, type SimulateOptions, type SinkEvent, type Snapshot, type SnapshotAssignable, type SnapshotClaims, type SnapshotForOptions, type SnapshotGrant, type SnapshotNotEntitled, type SnapshotOptions, type SnapshotScope, type SnapshotSource, type SourceContext, type SourceMemo, type SqlFunctionArg, type SqlFunctionCondition, type StripeEntitlementsClient, type Subject, type SubjectOf, type SubjectResolver, type SupportAccessOptions, type SupportConsent, type SupportSession, type SupportSessionDecision, type SupportSessionPolicy, type SupportSessionRequest, type TenantSettings, type TokenFailureCause, type TokenSigner, type TokenVerifier, type Trace, type TraceSkip, type TraceSkipReason, type UncheckedData, type UserApprover, type ValidateCustomRoleOptions, type ValidateMode, type VerificationFailure, type VerifiedClaims, type VerifiedToken, type VersionCache, type VersionCacheStats, type VersionContext, type VersionQuery, type Vocabulary, type VocabularyOf, type VocabularyOptions, type WhereCompiler, type WhereResult, type WhoCan, type WireDecision, type WireDenial, type WireValidity, accessEvent, accessToOcsf, activate, actor, allOf, allow, anyOf, anyone, approvalPolicies, arazzoFindings, assurance, authenticated, automationEvent, breakGlass, canonicalJson, capabilityFromClaims, catalogFingerprint, checkRoleChange, claim, claimsFirst, cloudEventType, composeMemberships, context, countHolders, coveredByDelegation, credentialDelegation, credentialEvent, credentialPolicyViolation, crud, customRoleClaim, customRoleSource, decideAutomation, decideCredential, decideRoleChange, decideSupportSession, defineApp, defineOperations, definePermissions, definePlans, definePolicy, defineRoles, delegatedPermissions, deliveryEvent, deny, describe, emptySnapshot, findPermission, findRole, formerKeys, fromSnapshot, getPermDock, getPermDockSync, getResource, hasConditionOp, holder, hostedPolicies, inherit, isCondition, isConditionDate, isConditionRef, isExternallyManaged, isFeedId, isOperationRisk, isPermission, isPlan, isPortableCondition, isRole, isRoleName, isSqlFunctionField, limits, linkPolicyViolation, listPermissions, listPlans, listRoles, localSnapshotManifest, mayAccess, membershipEvent, memoryApprovalPolicySource, memoryAutomationSource, memoryCustomRoleSource, memoryDecisionSink, memoryEntitlementSource, memoryLimitStore, memoryMembershipSource, memoryPolicySource, memoryPrincipalSource, memoryRelationSource, memoryRevocationFeed, memorySettingsSource, memorySnapshotSource, memoryVersionCache, mergeHostedGrants, mergePermissions, normalizeApproval, normalizeAssurance, normalizeMembership, normalizeMemberships, opaque, parseAutomation, parseCapability, parseCapabilityClaim, parseCatalogEventData, parseCloudEvent, parseCloudEventBatch, parseCredential, parseCustomRoleEntry, parseLocalSnapshotManifest, parsePermDockDigest, parsePolicyDocument, parseSinkEvent, parseSinkEvents, parseSnapshot, parseSupportSession, plan, policyDocumentFromClaims, principal, readable, relation, requiredPlans, requiresApproval, resolveCustomRole, resolveScope, resource, role, separationConflicts, sha256Digest, shadowMode, signCapability, signDecisionBatch, signPolicyDocument, signSnapshot, simulateArazzo, snapshotClaims, snapshotFor, snapshotFromClaims, sqlFunction, stripeEntitlementSource, supportAccess, supportSessionEvent, toCloudEvent, toCsvRow, toOcsf, user, validateApprovalPolicy, validateCustomRole, whoCan, wrapPermDock, writable };
|
|
25
|
+
import { t as parseLocalSnapshotManifest } from "./parse-local-manifest-BgTYdR3q.js";
|
|
26
|
+
export { ACCESS_EVENT_SCHEMA, APPROVAL_POLICY_UNAVAILABLE, AUTOMATION_EVENT_SCHEMA, type AccessEvent, type ActionMeta, type ActivateInput, type ActivationOption, type Actor, type ActorKind, type AdapterId, type AnyOfApprover, type ApiKeyPrincipal, type AppData, type AppDataSchema, type AppObligation, type AppOptions, type AppProfile, type ApprovalCombine, type ApprovalEscalation, type ApprovalMode, type ApprovalOption, type ApprovalPolicies, type ApprovalPolicy, type ApprovalPolicyProblem, type ApprovalPolicySource, type ApprovalPolicyValidation, type ApprovalRequiredDecision, type ApprovalRequirement, type ApprovalStage, type Approver, type ApproverInput, type ArazzoFinding, type ArazzoPlan, type ArazzoSimulateInput, type ArazzoStepResult, type Assurance, type AssuranceRequirement, type AuthEvent, type AuthorizationDetail, type Automation, type AutomationDecision, type AutomationEvent, type AutomationMode, type AutomationRequest, type AutomationSource, type Binding, type BreakGlassOptions, type BreakGlassRequirements, type BreakGlassSpec, CATALOG_EVENT_SCHEMA, CLOUDEVENTS_BATCH_CONTENT_TYPE, CLOUDEVENTS_CONTENT_TYPE, CLOUD_EVENT_TYPES, CREDENTIAL_EVENT_SCHEMA, CSV_COLUMNS, type Capability, type CapabilityClaim, type CapabilityConfirmation, type CapabilityInput, type CapabilityOptions, type CapabilityPrincipal, type CapabilityRedeemer, type CatalogEventData, type CatalogFinding, type CatalogFindingCode, type ClientNames, type ClosureContext, type ClosureGrantFn, type CloudEvent, type CloudEventOptions, type CloudEventType, type ComputedRelation, type Condition, type ConditionRef, type ConditionValue, type Credential, type CredentialDecision, type CredentialEvent, type CredentialKind, type CredentialPermission, type CredentialPermissionInput, type CredentialPolicy, type CredentialPolicyViolation, type CredentialRequest, type CredentialVerifier, type CustomRole, type CustomRoleContext, type CustomRoleDrop, type CustomRoleDropReason, type CustomRoleEntry, type CustomRoleGrant, type CustomRoleReader, type CustomRoleRename, type CustomRoleSource, type CustomRoleSourceFactory, type CustomRoleSourceOptions, type CustomRoleValidation, DECISION_EVENT_SCHEMA, DELIVERY_EVENT_SCHEMA, DIRECTORY_EVENT_SCHEMA, type DecideAutomationOptions, type DecideCredentialOptions, type DecideIdsOptions, type DecideOptions, type DecideSupportSessionOptions, type Decision, type DecisionDescription, type DecisionEvent, type DecisionProvider, type DecisionSink, type Delegation, type DelegationInput, type DelegationTarget, type DeliveryChannel, type DeliveryEvent, type DeliveryFailureCause, type Denial, type DenialDetails, type DenialReason, type DeniedDecision, type DeriveOptions, type DescribeMessages, type DescribeOptions, type DirectoryEvent, EVENT_SCHEMA_IDS, type EdgeGroup, type EdgeGroups, type EdgeMatch, type EdgeRelation, type EmailCategory, type EntitlementSource, type ExplainedDecision, type FieldRelation, type GnapAccess, type Grant, type GrantCondition, type GrantLimit, type GrantMeta, type GrantOptions, type GrantScope, type GrantValidity, type GrantedDecision, type Grantee, type GranteeInput, type Holder, type HoldingVia, type HostedGrant, type HostedGrantDropReason, type HostedGrantDropped, type HostedGrantRef, type InheritGrantee, type InstanceCache, type InstanceCacheKey, type InstanceCacheOptions, type InstanceCacheStats, type InstanceOptions, type Intent, type JsonSchemaNode, type LegacyCheck, type LimitConsumeInput, type LimitDetail, type LimitRemaining, type LimitStore, type Limits, type LinkPolicy, type LinkPolicyViolation, type LoadedRows, type LocalCustomRoleTable, type LocalMembershipRows, type LocalRowColumn, type LocalRowValue, type LocalSnapshotManifest, type LocalSnapshotRows, MEMBERSHIP_EVENT_SCHEMA, type ManagerApprover, type MatchedGrant, type MemberEntry, type MemberOfCondition, type MemberOfParent, type Membership, type MembershipEvent, type MembershipFixture, type MembershipSource, type MembershipVia, type MemoryAutomationSource, type MemoryDecisionSink, type MemoryDecisionSinkOptions, type MemoryEdge, type MemoryRelationSourceData, type MemoryVersionCacheOptions, type MetaValue, OCSF_VERSION, OPERATION_RISKS, type Obligation, type ObligationInput, type OcsfAuthorizeSession, type OcsfUserManagement, type Operation, type OperationData, type OperationDefinition, type OperationEffect, type OperationInput, type OperationMap, type OperationMeta, type OperationNameOf, type OperationRisk, type PERMISSION_ROW, type POLICY_SCOPES, type PermDock, PermDockApprovalRequiredError, PermDockDeniedError, type PermDockDigest, type PermDockOptions, type PermDockOverrides, PermDockRevokedError, PermDockValidationError, type PermDockWrap, type Permission, type PermissionApprover, type PermissionCheck, type PermissionKind, type PermissionOf, type PermissionState, type PermissionTree, type PermissionsOf, type PermissionsOptions, type PermittedIdsOptions, type Plan, type PlanNameOf, type PlanTree, type Policy, type PolicyAppDataSchemas, type PolicyDelegation, type PolicyDocument, type PolicyOAuthScope, type PolicyScopes, type PolicyScopesInput, type PolicySource, type Principal, type PrincipalIdentity, type PrincipalIdentityLink, type PrincipalOf, type PrincipalRelation, type PrincipalSource, type ProblemDetails, type Quota, RESERVED_CLOUD_EVENT_TYPES, type RESOURCE_NAME, type RESOURCE_X, type RelatedCondition, type RelatedHop, type RelationChain, type RelationGrantee, type RelationGroup, type RelationHolder, type RelationSource, type RequestContext, type ResolvedCustomRole, type ResourceInit, type ResourceLevel, type ResourceLink, type ResourceMeta, type ResourceNode, type ResourceOptions, type ResourceParent, type ResourceRelation, type ResourceRelationInput, type ResourceRestricted, type ResourceXTree, type RestrictedAncestors, type RevocationEvent, type RevocationFeed, type RevocationListener, type RevokedCode, type Role, type RoleBinding, type RoleChange, type RoleChangeCheck, type RoleChangeCheckInput, type RoleChangeDecision, type RoleChangeOptions, type RoleChangeTarget, type RoleMeta, type RoleNameOf, type RoleOptions, type RoleRules, type RoleScope, type RoleTree, type RowData, type RowOf, type RowPair, SINK_EVENT_SCHEMAS, type Scope, type ScopeDeclaration, type ScopeNameOf, type ScopeNames, type SeparationConflict, type SettingsSource, type ShadowMismatch, type ShadowOptions, type SharedCustomRole, type SignDecisionBatchOptions, type SignPolicyDocumentOptions, type SignSnapshotOptions, type SimulateOptions, type SinkEvent, type Snapshot, type SnapshotAssignable, type SnapshotClaims, type SnapshotForOptions, type SnapshotGrant, type SnapshotNotEntitled, type SnapshotOptions, type SnapshotScope, type SnapshotSource, type SourceCall, type SourceContext, type SourceMemo, type SqlFunctionArg, type SqlFunctionCondition, type StripeEntitlementsClient, type Subject, type SubjectOf, type SubjectResolver, type SupportAccessOptions, type SupportConsent, type SupportSession, type SupportSessionDecision, type SupportSessionPolicy, type SupportSessionRequest, type TenantSettings, type TokenFailureCause, type TokenSigner, type TokenVerifier, type Trace, type TraceSkip, type TraceSkipReason, type UncheckedData, type UserApprover, type ValidateCustomRoleOptions, type ValidateMode, type VerificationFailure, type VerifiedClaims, type VerifiedToken, type VersionCache, type VersionCacheStats, type VersionContext, type VersionQuery, type Vocabulary, type VocabularyOf, type VocabularyOptions, type WhereCompiler, type WhereResult, type WhoCan, type WireDecision, type WireDenial, type WireValidity, accessEvent, accessToOcsf, activate, actor, allOf, allow, anyOf, anyone, approvalFingerprint, approvalPolicies, arazzoFindings, assurance, authenticated, automationEvent, breakGlass, canonicalJson, capabilityFromClaims, catalogFingerprint, checkRoleChange, claim, claimsFirst, cloudEventType, composeMemberships, context, countHolders, coveredByDelegation, credentialDelegation, credentialEvent, credentialPolicyViolation, crud, customRoleClaim, customRoleSource, decideAutomation, decideCredential, decideRoleChange, decideSupportSession, defineApp, defineOperations, definePermissions, definePlans, definePolicy, defineRoles, delegatedPermissions, deliveryEvent, deny, describe, emptySnapshot, findPermission, findRole, formerKeys, fromSnapshot, getPermDock, getPermDockSync, getResource, hasConditionOp, holder, hostedPolicies, inherit, instanceCache, isCondition, isConditionDate, isConditionRef, isExternallyManaged, isFeedId, isOperationRisk, isPermission, isPlan, isPortableCondition, isRole, isRoleName, isSqlFunctionField, limits, linkPolicyViolation, listPermissions, listPlans, listRoles, localSnapshotManifest, manager, mayAccess, membershipEvent, memoryApprovalPolicySource, memoryAutomationSource, memoryCustomRoleSource, memoryDecisionSink, memoryEntitlementSource, memoryLimitStore, memoryMembershipSource, memoryPolicySource, memoryPrincipalSource, memoryRelationSource, memoryRevocationFeed, memorySettingsSource, memorySnapshotSource, memoryVersionCache, mergeHostedGrants, mergePermissions, normalizeApproval, normalizeAssurance, normalizeMembership, normalizeMemberships, opaque, parseAutomation, parseCapability, parseCapabilityClaim, parseCatalogEventData, parseCloudEvent, parseCloudEventBatch, parseCredential, parseCustomRoleEntry, parseLocalSnapshotManifest, parsePermDockDigest, parsePolicyDocument, parseSinkEvent, parseSinkEvents, parseSnapshot, parseSupportSession, plan, policyDocumentFromClaims, principal, readable, relation, requiredPlans, requiresApproval, resolveCustomRole, resolveScope, resource, role, separationConflicts, sha256Digest, shadowMode, signCapability, signDecisionBatch, signPolicyDocument, signSnapshot, simulateArazzo, snapshotClaims, snapshotFor, snapshotFromClaims, sqlFunction, stripeEntitlementSource, supportAccess, supportSessionEvent, toCloudEvent, toCsvRow, toOcsf, user, validateApprovalPolicy, validateCustomRole, whoCan, wrapPermDock, writable };
|