@lucern/contracts 0.3.0-alpha.1 → 0.3.0-alpha.11
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/CHANGELOG.md +4 -0
- package/dist/api-enums.contract.d.ts +5 -3
- package/dist/api-enums.contract.js +14 -12
- package/dist/api-enums.contract.js.map +1 -1
- package/dist/component-boundary.contract.d.ts +14 -0
- package/dist/component-boundary.contract.js +174 -0
- package/dist/component-boundary.contract.js.map +1 -0
- package/dist/component-host-boundary.contract.d.ts +46 -0
- package/dist/component-host-boundary.contract.js +60 -0
- package/dist/component-host-boundary.contract.js.map +1 -0
- package/dist/context-pack.contract.d.ts +5 -3
- package/dist/context-pack.contract.js.map +1 -1
- package/dist/{defineTable-CBQ03FXl.d.ts → defineTable-t1wr5wgn.d.ts} +1 -1
- package/dist/{dsl-BgpoVOVQ.d.ts → dsl-DVPthQGY.d.ts} +2 -2
- package/dist/dsl.d.ts +2 -2
- package/dist/dsl.js +1 -4
- package/dist/dsl.js.map +1 -1
- package/dist/edge-policy-manifest-Dw5IhT1L.d.ts +133 -0
- package/dist/function-registry/beliefs.d.ts +54 -41
- package/dist/function-registry/beliefs.js +759 -38
- package/dist/function-registry/beliefs.js.map +1 -1
- package/dist/function-registry/coding.d.ts +9 -0
- package/dist/function-registry/coding.js +811 -39
- package/dist/function-registry/coding.js.map +1 -1
- package/dist/function-registry/context.d.ts +19 -13
- package/dist/function-registry/context.js +750 -42
- package/dist/function-registry/context.js.map +1 -1
- package/dist/function-registry/contracts.d.ts +6 -0
- package/dist/function-registry/contracts.js +715 -35
- package/dist/function-registry/contracts.js.map +1 -1
- package/dist/function-registry/coordination.d.ts +12 -0
- package/dist/function-registry/coordination.js +715 -35
- package/dist/function-registry/coordination.js.map +1 -1
- package/dist/function-registry/edges.d.ts +165 -0
- package/dist/function-registry/edges.js +923 -67
- package/dist/function-registry/edges.js.map +1 -1
- package/dist/function-registry/evidence.d.ts +44 -33
- package/dist/function-registry/evidence.js +769 -47
- package/dist/function-registry/evidence.js.map +1 -1
- package/dist/function-registry/graph.d.ts +149 -53
- package/dist/function-registry/graph.js +831 -42
- package/dist/function-registry/graph.js.map +1 -1
- package/dist/function-registry/helpers.d.ts +6 -3
- package/dist/function-registry/helpers.js +716 -36
- package/dist/function-registry/helpers.js.map +1 -1
- package/dist/function-registry/identity.d.ts +6 -0
- package/dist/function-registry/identity.js +715 -35
- package/dist/function-registry/identity.js.map +1 -1
- package/dist/function-registry/index.d.ts +5 -3
- package/dist/function-registry/index.js +722 -39
- package/dist/function-registry/index.js.map +1 -1
- package/dist/function-registry/judgments.d.ts +14 -9
- package/dist/function-registry/judgments.js +727 -38
- package/dist/function-registry/judgments.js.map +1 -1
- package/dist/function-registry/legacy.d.ts +4 -0
- package/dist/function-registry/legacy.js +715 -35
- package/dist/function-registry/legacy.js.map +1 -1
- package/dist/function-registry/lenses.d.ts +24 -17
- package/dist/function-registry/lenses.js +738 -38
- package/dist/function-registry/lenses.js.map +1 -1
- package/dist/function-registry/manifest.d.ts +6 -6
- package/dist/function-registry/manifest.js +18 -2
- package/dist/function-registry/manifest.js.map +1 -1
- package/dist/function-registry/nodes.d.ts +412 -0
- package/dist/function-registry/nodes.js +5303 -0
- package/dist/function-registry/nodes.js.map +1 -0
- package/dist/function-registry/ontologies.d.ts +59 -45
- package/dist/function-registry/ontologies.js +733 -41
- package/dist/function-registry/ontologies.js.map +1 -1
- package/dist/function-registry/pipeline.d.ts +19 -13
- package/dist/function-registry/pipeline.js +724 -38
- package/dist/function-registry/pipeline.js.map +1 -1
- package/dist/function-registry/questions.d.ts +64 -49
- package/dist/function-registry/questions.js +812 -43
- package/dist/function-registry/questions.js.map +1 -1
- package/dist/function-registry/tasks.d.ts +24 -17
- package/dist/function-registry/tasks.js +776 -44
- package/dist/function-registry/tasks.js.map +1 -1
- package/dist/function-registry/topics.d.ts +109 -21
- package/dist/function-registry/topics.js +797 -39
- package/dist/function-registry/topics.js.map +1 -1
- package/dist/function-registry/types.d.ts +6 -2
- package/dist/function-registry/worktrees.d.ts +94 -41
- package/dist/function-registry/worktrees.js +854 -47
- package/dist/function-registry/worktrees.js.map +1 -1
- package/dist/function-registry-input-audit.d.ts +13 -0
- package/dist/function-registry-input-audit.js +166 -0
- package/dist/function-registry-input-audit.js.map +1 -0
- package/dist/gateway.contract.d.ts +5 -0
- package/dist/gateway.contract.js.map +1 -1
- package/dist/generated/convexSchemas.d.ts +3 -3
- package/dist/generated/convexSchemas.js +38 -18
- package/dist/generated/convexSchemas.js.map +1 -1
- package/dist/generated/infisicalRuntimeEnv.d.ts +70 -0
- package/dist/generated/infisicalRuntimeEnv.js +26572 -0
- package/dist/generated/infisicalRuntimeEnv.js.map +1 -0
- package/dist/generated/lucernGatewayEnv.d.ts +17 -0
- package/dist/generated/lucernGatewayEnv.js +38 -0
- package/dist/generated/lucernGatewayEnv.js.map +1 -0
- package/dist/generated/lucernWebPublicEnv.d.ts +26 -0
- package/dist/generated/lucernWebPublicEnv.js +32 -0
- package/dist/generated/lucernWebPublicEnv.js.map +1 -0
- package/dist/generated/lucernWebServerEnv.d.ts +33 -0
- package/dist/generated/lucernWebServerEnv.js +51 -0
- package/dist/generated/lucernWebServerEnv.js.map +1 -0
- package/dist/generated/schema-manifest.json +1199 -138
- package/dist/generated/tableOwnership.d.ts +47 -27
- package/dist/generated/tableOwnership.js +66 -26
- package/dist/generated/tableOwnership.js.map +1 -1
- package/dist/generated/tier-expectations.json +62 -8
- package/dist/graph-intelligence.contract.d.ts +506 -0
- package/dist/graph-intelligence.contract.js +595 -0
- package/dist/graph-intelligence.contract.js.map +1 -0
- package/dist/graph-types/index.d.ts +5 -1
- package/dist/graph-types/index.js +15 -4
- package/dist/graph-types/index.js.map +1 -1
- package/dist/index-CM1Pl_vI.d.ts +28 -0
- package/dist/index.d.ts +29 -414
- package/dist/index.js +34791 -1088
- package/dist/index.js.map +1 -1
- package/dist/infisical-runtime.contract.d.ts +1768 -0
- package/dist/infisical-runtime.contract.js +3093 -0
- package/dist/infisical-runtime.contract.js.map +1 -0
- package/dist/lens-filter.contract.js +4 -3
- package/dist/lens-filter.contract.js.map +1 -1
- package/dist/lens-workflow.contract.js +4 -3
- package/dist/lens-workflow.contract.js.map +1 -1
- package/dist/manifests/edge-policy-manifest.d.ts +2 -0
- package/dist/manifests/edge-policy-manifest.data.d.ts +13 -0
- package/dist/manifests/edge-policy-manifest.data.js +26 -0
- package/dist/manifests/edge-policy-manifest.data.js.map +1 -0
- package/dist/manifests/edge-policy-manifest.js +92 -0
- package/dist/manifests/edge-policy-manifest.js.map +1 -0
- package/dist/manifests/infisical-runtime-manifest.d.ts +1672 -0
- package/dist/manifests/infisical-runtime-manifest.js +2948 -0
- package/dist/manifests/infisical-runtime-manifest.js.map +1 -0
- package/dist/manifests/invariant-manifest.d.ts +65 -0
- package/dist/manifests/invariant-manifest.js +18 -0
- package/dist/manifests/invariant-manifest.js.map +1 -0
- package/dist/manifests/invariants/ast-utils.d.ts +14 -0
- package/dist/manifests/invariants/ast-utils.js +54 -0
- package/dist/manifests/invariants/ast-utils.js.map +1 -0
- package/dist/manifests/invariants/index.d.ts +15 -0
- package/dist/manifests/invariants/index.js +183 -0
- package/dist/manifests/invariants/index.js.map +1 -0
- package/dist/manifests/invariants/inv-1-beliefs-append-only.d.ts +12 -0
- package/dist/manifests/invariants/inv-1-beliefs-append-only.js +94 -0
- package/dist/manifests/invariants/inv-1-beliefs-append-only.js.map +1 -0
- package/dist/manifests/invariants/inv-14-no-silent-transitions.d.ts +12 -0
- package/dist/manifests/invariants/inv-14-no-silent-transitions.js +99 -0
- package/dist/manifests/invariants/inv-14-no-silent-transitions.js.map +1 -0
- package/dist/manifests/invariants/manifest-1-projections-declare-audit.d.ts +12 -0
- package/dist/manifests/invariants/manifest-1-projections-declare-audit.js +42 -0
- package/dist/manifests/invariants/manifest-1-projections-declare-audit.js.map +1 -0
- package/dist/manifests/tenant-client-manifest.d.ts +322 -0
- package/dist/manifests/tenant-client-manifest.js +432 -0
- package/dist/manifests/tenant-client-manifest.js.map +1 -0
- package/dist/mcp-gateway-boundary.contract.d.ts +201 -0
- package/dist/mcp-gateway-boundary.contract.js +45 -0
- package/dist/mcp-gateway-boundary.contract.js.map +1 -0
- package/dist/projections/check-convex-args-shape.d.ts +3 -0
- package/dist/projections/check-convex-args-shape.js +403 -0
- package/dist/projections/check-convex-args-shape.js.map +1 -0
- package/dist/projections/create-evidence.projection.d.ts +176 -0
- package/dist/projections/create-evidence.projection.js +130 -0
- package/dist/projections/create-evidence.projection.js.map +1 -0
- package/dist/projections/index.d.ts +102 -0
- package/dist/projections/index.js +352 -0
- package/dist/projections/index.js.map +1 -0
- package/dist/projections/list-beliefs.projection.d.ts +36 -0
- package/dist/projections/list-beliefs.projection.js +54 -0
- package/dist/projections/list-beliefs.projection.js.map +1 -0
- package/dist/projections/list-tasks.projection.d.ts +44 -0
- package/dist/projections/list-tasks.projection.js +57 -0
- package/dist/projections/list-tasks.projection.js.map +1 -0
- package/dist/projections/modulate-confidence.projection.d.ts +219 -0
- package/dist/projections/modulate-confidence.projection.js +148 -0
- package/dist/projections/modulate-confidence.projection.js.map +1 -0
- package/dist/projections/projection-dsl.d.ts +11 -0
- package/dist/projections/projection-dsl.js +8 -0
- package/dist/projections/projection-dsl.js.map +1 -0
- package/dist/proof-attestation.json +45 -0
- package/dist/schema-helpers/enumValidation.js +2 -5
- package/dist/schema-helpers/enumValidation.js.map +1 -1
- package/dist/schema-helpers/spine/nodes/decision.js +2 -1
- package/dist/schema-helpers/spine/nodes/decision.js.map +1 -1
- package/dist/schema-helpers/spine/tables/epistemicNodes.js +27 -27
- package/dist/schema-helpers/spine/tables/epistemicNodes.js.map +1 -1
- package/dist/schemas/component-table-manifest.d.ts +6 -6
- package/dist/schemas/component-table-manifest.js +2 -2
- package/dist/schemas/component-table-manifest.js.map +1 -1
- package/dist/schemas/enums.d.ts +5 -2
- package/dist/schemas/enums.js +5 -2
- package/dist/schemas/enums.js.map +1 -1
- package/dist/schemas/index.d.ts +3 -3
- package/dist/schemas/index.js +1129 -139
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/manifest.d.ts +2979 -949
- package/dist/schemas/manifest.js +1127 -137
- package/dist/schemas/manifest.js.map +1 -1
- package/dist/schemas/sl-opinion.d.ts +4 -4
- package/dist/schemas/tables/controlPlane/accessControl.d.ts +260 -0
- package/dist/schemas/tables/controlPlane/accessControl.js +653 -0
- package/dist/schemas/tables/controlPlane/accessControl.js.map +1 -0
- package/dist/schemas/tables/{identity → controlPlane}/agent.d.ts +1 -1
- package/dist/schemas/tables/{identity → controlPlane}/agent.js +3 -3
- package/dist/schemas/tables/controlPlane/agent.js.map +1 -0
- package/dist/schemas/tables/{identity → controlPlane}/epistemic.d.ts +1 -1
- package/dist/schemas/tables/{identity → controlPlane}/epistemic.js +3 -3
- package/dist/schemas/tables/controlPlane/epistemic.js.map +1 -0
- package/dist/schemas/tables/{identity → controlPlane}/model.d.ts +1 -1
- package/dist/schemas/tables/{identity → controlPlane}/model.js +6 -6
- package/dist/schemas/tables/controlPlane/model.js.map +1 -0
- package/dist/schemas/tables/{identity → controlPlane}/platform.d.ts +11 -11
- package/dist/schemas/tables/{identity → controlPlane}/platform.js +18 -18
- package/dist/schemas/tables/controlPlane/platform.js.map +1 -0
- package/dist/schemas/tables/{identity → controlPlane}/project.d.ts +1 -1
- package/dist/schemas/tables/{identity → controlPlane}/project.js +3 -3
- package/dist/schemas/tables/controlPlane/project.js.map +1 -0
- package/dist/schemas/tables/{identity → controlPlane}/user.d.ts +1 -1
- package/dist/schemas/tables/{identity → controlPlane}/user.js +3 -3
- package/dist/schemas/tables/controlPlane/user.js.map +1 -0
- package/dist/schemas/tables/kernel/config.d.ts +1 -1
- package/dist/schemas/tables/kernel/config.js.map +1 -1
- package/dist/schemas/tables/kernel/coordination.d.ts +1 -1
- package/dist/schemas/tables/kernel/coordination.js.map +1 -1
- package/dist/schemas/tables/kernel/decision.d.ts +1 -1
- package/dist/schemas/tables/kernel/decision.js.map +1 -1
- package/dist/schemas/tables/kernel/embedding.d.ts +1 -1
- package/dist/schemas/tables/kernel/embedding.js.map +1 -1
- package/dist/schemas/tables/kernel/epistemic.d.ts +7 -7
- package/dist/schemas/tables/kernel/epistemic.js.map +1 -1
- package/dist/schemas/tables/kernel/idempotency.d.ts +1 -1
- package/dist/schemas/tables/kernel/idempotency.js.map +1 -1
- package/dist/schemas/tables/kernel/infra.d.ts +5 -5
- package/dist/schemas/tables/kernel/infra.js.map +1 -1
- package/dist/schemas/tables/kernel/intelligence.d.ts +11 -11
- package/dist/schemas/tables/kernel/intelligence.js.map +1 -1
- package/dist/schemas/tables/kernel/lens.d.ts +5 -5
- package/dist/schemas/tables/kernel/lens.js.map +1 -1
- package/dist/schemas/tables/kernel/ontology.d.ts +1 -1
- package/dist/schemas/tables/kernel/ontology.js.map +1 -1
- package/dist/schemas/tables/kernel/platform.d.ts +13 -13
- package/dist/schemas/tables/kernel/platform.js.map +1 -1
- package/dist/schemas/tables/kernel/spine.d.ts +5 -4
- package/dist/schemas/tables/kernel/spine.js +6 -2
- package/dist/schemas/tables/kernel/spine.js.map +1 -1
- package/dist/schemas/tables/kernel/task.d.ts +43 -43
- package/dist/schemas/tables/kernel/task.js.map +1 -1
- package/dist/schemas/tables/kernel/topic.d.ts +1 -1
- package/dist/schemas/tables/kernel/topic.js +5 -1
- package/dist/schemas/tables/kernel/topic.js.map +1 -1
- package/dist/schemas/tables/kernel/workflow.d.ts +1 -1
- package/dist/schemas/tables/kernel/workflow.js.map +1 -1
- package/dist/schemas/tables/kernel/worktree.d.ts +55 -55
- package/dist/schemas/tables/kernel/worktree.js.map +1 -1
- package/dist/schemas/tables/mc/identity.d.ts +44 -4
- package/dist/schemas/tables/mc/identity.js +66 -1
- package/dist/schemas/tables/mc/identity.js.map +1 -1
- package/dist/schemas/tables/mc/methodology.d.ts +1 -1
- package/dist/schemas/tables/mc/methodology.js.map +1 -1
- package/dist/schemas/tables/mc/pack.d.ts +21 -21
- package/dist/schemas/tables/mc/pack.js.map +1 -1
- package/dist/schemas/tables/mc/policy.d.ts +2 -2
- package/dist/schemas/tables/mc/policy.js +1 -1
- package/dist/schemas/tables/mc/policy.js.map +1 -1
- package/dist/schemas/tables/mc/registry.d.ts +5 -5
- package/dist/schemas/tables/mc/registry.js.map +1 -1
- package/dist/schemas/tables/mc/runtime.d.ts +109 -3
- package/dist/schemas/tables/mc/runtime.js +330 -104
- package/dist/schemas/tables/mc/runtime.js.map +1 -1
- package/dist/schemas/tables/mc/tenant.d.ts +3 -2
- package/dist/schemas/tables/mc/tenant.js +2 -1
- package/dist/schemas/tables/mc/tenant.js.map +1 -1
- package/dist/schemas/tables/mc/workspace.d.ts +28 -5
- package/dist/schemas/tables/mc/workspace.js +36 -2
- package/dist/schemas/tables/mc/workspace.js.map +1 -1
- package/dist/sdk-methods.contract.d.ts +2 -2
- package/dist/{sdk-tools.contract-S4ia0TTo.d.ts → sdk-tools.contract-BNklQDfB.d.ts} +2 -2
- package/dist/sdk-tools.contract.d.ts +2 -2
- package/dist/sdk-tools.contract.js +672 -24
- package/dist/sdk-tools.contract.js.map +1 -1
- package/dist/tenant-bootstrap-seed.contract.d.ts +1269 -0
- package/dist/tenant-bootstrap-seed.contract.js +751 -0
- package/dist/tenant-bootstrap-seed.contract.js.map +1 -0
- package/dist/tenant-bootstrap-seed.defaults.d.ts +16 -0
- package/dist/tenant-bootstrap-seed.defaults.js +303 -0
- package/dist/tenant-bootstrap-seed.defaults.js.map +1 -0
- package/dist/tenant-client.contract.d.ts +349 -0
- package/dist/tenant-client.contract.js +488 -0
- package/dist/tenant-client.contract.js.map +1 -0
- package/dist/{tool-contracts-C92-9ueT.d.ts → tool-contracts-BevD9Ho2.d.ts} +36 -2
- package/dist/tool-contracts.d.ts +1 -1
- package/dist/tool-contracts.js +673 -25
- package/dist/tool-contracts.js.map +1 -1
- package/package.json +30 -1
- package/dist/index-CV-0_VWJ.d.ts +0 -25
- package/dist/schemas/tables/identity/agent.js.map +0 -1
- package/dist/schemas/tables/identity/epistemic.js.map +0 -1
- package/dist/schemas/tables/identity/model.js.map +0 -1
- package/dist/schemas/tables/identity/platform.js.map +0 -1
- package/dist/schemas/tables/identity/project.js.map +0 -1
- package/dist/schemas/tables/identity/user.js.map +0 -1
|
@@ -7,24 +7,24 @@ declare const SLOpinionInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
7
7
|
baseRate: z.ZodNumber;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
9
|
belief: number;
|
|
10
|
+
baseRate: number;
|
|
10
11
|
disbelief: number;
|
|
11
12
|
uncertainty: number;
|
|
12
|
-
baseRate: number;
|
|
13
13
|
}, {
|
|
14
14
|
belief: number;
|
|
15
|
+
baseRate: number;
|
|
15
16
|
disbelief: number;
|
|
16
17
|
uncertainty: number;
|
|
17
|
-
baseRate: number;
|
|
18
18
|
}>, {
|
|
19
19
|
belief: number;
|
|
20
|
+
baseRate: number;
|
|
20
21
|
disbelief: number;
|
|
21
22
|
uncertainty: number;
|
|
22
|
-
baseRate: number;
|
|
23
23
|
}, {
|
|
24
24
|
belief: number;
|
|
25
|
+
baseRate: number;
|
|
25
26
|
disbelief: number;
|
|
26
27
|
uncertainty: number;
|
|
27
|
-
baseRate: number;
|
|
28
28
|
}>;
|
|
29
29
|
type SLOpinionInput = z.infer<typeof SLOpinionInputSchema>;
|
|
30
30
|
|
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { T as TableContract } from '../../../defineTable-t1wr5wgn.js';
|
|
3
|
+
|
|
4
|
+
declare const permitPrincipals: TableContract<{
|
|
5
|
+
principalId: z.ZodString;
|
|
6
|
+
tenantId: z.ZodString;
|
|
7
|
+
workspaceId: z.ZodOptional<z.ZodString>;
|
|
8
|
+
principalType: z.ZodEnum<["human", "agent", "service_principal", "external_stakeholder", "system"]>;
|
|
9
|
+
status: z.ZodEnum<["active", "invited", "revoked", "suspended", "disabled"]>;
|
|
10
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
11
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
12
|
+
createdBy: z.ZodString;
|
|
13
|
+
createdAt: z.ZodNumber;
|
|
14
|
+
updatedAt: z.ZodNumber;
|
|
15
|
+
updatedBy: z.ZodOptional<z.ZodString>;
|
|
16
|
+
lastSeenAt: z.ZodOptional<z.ZodNumber>;
|
|
17
|
+
}>;
|
|
18
|
+
declare const permitPrincipalAliases: TableContract<{
|
|
19
|
+
principalId: z.ZodString;
|
|
20
|
+
tenantId: z.ZodString;
|
|
21
|
+
workspaceId: z.ZodOptional<z.ZodString>;
|
|
22
|
+
provider: z.ZodString;
|
|
23
|
+
providerSubjectId: z.ZodString;
|
|
24
|
+
providerProjectId: z.ZodOptional<z.ZodString>;
|
|
25
|
+
alias: z.ZodString;
|
|
26
|
+
aliasKind: z.ZodString;
|
|
27
|
+
status: z.ZodEnum<["active", "invited", "revoked", "suspended", "disabled"]>;
|
|
28
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
29
|
+
createdBy: z.ZodString;
|
|
30
|
+
createdAt: z.ZodNumber;
|
|
31
|
+
updatedAt: z.ZodNumber;
|
|
32
|
+
revokedBy: z.ZodOptional<z.ZodString>;
|
|
33
|
+
revokedAt: z.ZodOptional<z.ZodNumber>;
|
|
34
|
+
updatedBy: z.ZodOptional<z.ZodString>;
|
|
35
|
+
}>;
|
|
36
|
+
declare const permitGroups: TableContract<{
|
|
37
|
+
tenantId: z.ZodString;
|
|
38
|
+
workspaceId: z.ZodOptional<z.ZodString>;
|
|
39
|
+
groupId: z.ZodString;
|
|
40
|
+
groupKey: z.ZodString;
|
|
41
|
+
groupName: z.ZodString;
|
|
42
|
+
groupType: z.ZodEnum<["tenant", "workspace", "external", "system", "dynamic"]>;
|
|
43
|
+
status: z.ZodEnum<["active", "invited", "revoked", "suspended", "disabled"]>;
|
|
44
|
+
description: z.ZodOptional<z.ZodString>;
|
|
45
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
46
|
+
createdBy: z.ZodString;
|
|
47
|
+
createdAt: z.ZodNumber;
|
|
48
|
+
updatedAt: z.ZodNumber;
|
|
49
|
+
updatedBy: z.ZodOptional<z.ZodString>;
|
|
50
|
+
}>;
|
|
51
|
+
declare const permitGroupMemberships: TableContract<{
|
|
52
|
+
tenantId: z.ZodString;
|
|
53
|
+
workspaceId: z.ZodOptional<z.ZodString>;
|
|
54
|
+
groupId: z.ZodString;
|
|
55
|
+
memberType: z.ZodEnum<["principal", "group"]>;
|
|
56
|
+
memberId: z.ZodString;
|
|
57
|
+
principalId: z.ZodOptional<z.ZodString>;
|
|
58
|
+
childGroupId: z.ZodOptional<z.ZodString>;
|
|
59
|
+
status: z.ZodEnum<["active", "invited", "revoked", "suspended", "disabled"]>;
|
|
60
|
+
addedBy: z.ZodOptional<z.ZodString>;
|
|
61
|
+
revokedBy: z.ZodOptional<z.ZodString>;
|
|
62
|
+
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
63
|
+
revocationReason: z.ZodOptional<z.ZodString>;
|
|
64
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
65
|
+
createdAt: z.ZodNumber;
|
|
66
|
+
updatedAt: z.ZodNumber;
|
|
67
|
+
updatedBy: z.ZodOptional<z.ZodString>;
|
|
68
|
+
}>;
|
|
69
|
+
declare const permitResourceInstances: TableContract<{
|
|
70
|
+
tenantId: z.ZodString;
|
|
71
|
+
workspaceId: z.ZodOptional<z.ZodString>;
|
|
72
|
+
resourceType: z.ZodString;
|
|
73
|
+
resourceKey: z.ZodString;
|
|
74
|
+
resourceId: z.ZodString;
|
|
75
|
+
status: z.ZodEnum<["active", "deleted", "archived"]>;
|
|
76
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
77
|
+
ownerPrincipalId: z.ZodOptional<z.ZodString>;
|
|
78
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
79
|
+
createdBy: z.ZodString;
|
|
80
|
+
updatedBy: z.ZodOptional<z.ZodString>;
|
|
81
|
+
createdAt: z.ZodNumber;
|
|
82
|
+
updatedAt: z.ZodNumber;
|
|
83
|
+
}>;
|
|
84
|
+
declare const permitRoleAssignments: TableContract<{
|
|
85
|
+
tenantId: z.ZodString;
|
|
86
|
+
workspaceId: z.ZodOptional<z.ZodString>;
|
|
87
|
+
role: z.ZodString;
|
|
88
|
+
targetType: z.ZodEnum<["principal", "group"]>;
|
|
89
|
+
targetId: z.ZodString;
|
|
90
|
+
resourceType: z.ZodString;
|
|
91
|
+
resourceKey: z.ZodString;
|
|
92
|
+
resourceInstanceId: z.ZodOptional<z.ZodString>;
|
|
93
|
+
status: z.ZodEnum<["active", "invited", "revoked", "suspended", "disabled"]>;
|
|
94
|
+
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
95
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
96
|
+
grantedBy: z.ZodOptional<z.ZodString>;
|
|
97
|
+
updatedBy: z.ZodOptional<z.ZodString>;
|
|
98
|
+
revokedBy: z.ZodOptional<z.ZodString>;
|
|
99
|
+
createdAt: z.ZodNumber;
|
|
100
|
+
updatedAt: z.ZodNumber;
|
|
101
|
+
}>;
|
|
102
|
+
declare const permitRelationshipTuples: TableContract<{
|
|
103
|
+
tenantId: z.ZodString;
|
|
104
|
+
workspaceId: z.ZodOptional<z.ZodString>;
|
|
105
|
+
relation: z.ZodString;
|
|
106
|
+
subject: z.ZodString;
|
|
107
|
+
object: z.ZodString;
|
|
108
|
+
resourceType: z.ZodOptional<z.ZodString>;
|
|
109
|
+
resourceKey: z.ZodOptional<z.ZodString>;
|
|
110
|
+
status: z.ZodEnum<["queued", "inflight", "completed", "failed", "skipped", "stale"]>;
|
|
111
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
112
|
+
createdBy: z.ZodString;
|
|
113
|
+
createdAt: z.ZodNumber;
|
|
114
|
+
updatedAt: z.ZodNumber;
|
|
115
|
+
lastSeenAt: z.ZodOptional<z.ZodNumber>;
|
|
116
|
+
updatedBy: z.ZodOptional<z.ZodString>;
|
|
117
|
+
}>;
|
|
118
|
+
declare const permitAttributeBindings: TableContract<{
|
|
119
|
+
tenantId: z.ZodString;
|
|
120
|
+
workspaceId: z.ZodOptional<z.ZodString>;
|
|
121
|
+
targetType: z.ZodEnum<["principal", "group"]>;
|
|
122
|
+
targetId: z.ZodString;
|
|
123
|
+
attributeName: z.ZodString;
|
|
124
|
+
attributeType: z.ZodEnum<["string", "number", "bool", "json", "time"]>;
|
|
125
|
+
attributeOperator: z.ZodEnum<["eq", "neq", "in", "not_in", "gt", "gte", "lt", "lte", "contains", "not_contains", "matches"]>;
|
|
126
|
+
attributeValue: z.ZodAny;
|
|
127
|
+
status: z.ZodEnum<["queued", "inflight", "completed", "failed", "skipped", "stale"]>;
|
|
128
|
+
source: z.ZodOptional<z.ZodString>;
|
|
129
|
+
sourceRef: z.ZodOptional<z.ZodString>;
|
|
130
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
131
|
+
createdAt: z.ZodNumber;
|
|
132
|
+
updatedAt: z.ZodNumber;
|
|
133
|
+
createdBy: z.ZodString;
|
|
134
|
+
updatedBy: z.ZodOptional<z.ZodString>;
|
|
135
|
+
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
136
|
+
}>;
|
|
137
|
+
declare const permitPolicyBundles: TableContract<{
|
|
138
|
+
tenantId: z.ZodString;
|
|
139
|
+
workspaceId: z.ZodOptional<z.ZodString>;
|
|
140
|
+
bundleKey: z.ZodString;
|
|
141
|
+
version: z.ZodNumber;
|
|
142
|
+
status: z.ZodEnum<["draft", "validated", "enforced", "archived"]>;
|
|
143
|
+
policyHash: z.ZodOptional<z.ZodString>;
|
|
144
|
+
policyPayload: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
145
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
146
|
+
createdBy: z.ZodString;
|
|
147
|
+
reviewedBy: z.ZodOptional<z.ZodString>;
|
|
148
|
+
createdAt: z.ZodNumber;
|
|
149
|
+
updatedAt: z.ZodNumber;
|
|
150
|
+
retiredAt: z.ZodOptional<z.ZodNumber>;
|
|
151
|
+
}>;
|
|
152
|
+
declare const permitProjectionOutbox: TableContract<{
|
|
153
|
+
syncKey: z.ZodString;
|
|
154
|
+
objectType: z.ZodEnum<["resource", "role", "resource_role", "resource_relation", "tenant", "workspace", "principal", "membership", "group", "resource_instance", "relationship_tuple", "role_assignment"]>;
|
|
155
|
+
objectId: z.ZodString;
|
|
156
|
+
operation: z.ZodEnum<["upsert", "delete", "sync", "resync", "delete_sync", "noop"]>;
|
|
157
|
+
payload: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
158
|
+
status: z.ZodEnum<["queued", "inflight", "completed", "failed", "skipped", "stale"]>;
|
|
159
|
+
attemptCount: z.ZodNumber;
|
|
160
|
+
nextAttemptAt: z.ZodOptional<z.ZodNumber>;
|
|
161
|
+
lastError: z.ZodOptional<z.ZodString>;
|
|
162
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
163
|
+
workspaceId: z.ZodOptional<z.ZodString>;
|
|
164
|
+
principalId: z.ZodOptional<z.ZodString>;
|
|
165
|
+
permitTenantKey: z.ZodOptional<z.ZodString>;
|
|
166
|
+
permitResourceType: z.ZodOptional<z.ZodString>;
|
|
167
|
+
permitResourceKey: z.ZodOptional<z.ZodString>;
|
|
168
|
+
createdAt: z.ZodNumber;
|
|
169
|
+
updatedAt: z.ZodNumber;
|
|
170
|
+
lastHandledAt: z.ZodOptional<z.ZodNumber>;
|
|
171
|
+
}>;
|
|
172
|
+
declare const tenantPermitSyncStates: TableContract<{
|
|
173
|
+
syncKey: z.ZodString;
|
|
174
|
+
objectType: z.ZodEnum<["resource", "role", "resource_role", "resource_relation", "tenant", "workspace", "principal", "membership", "group", "resource_instance", "relationship_tuple", "role_assignment"]>;
|
|
175
|
+
objectId: z.ZodString;
|
|
176
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
177
|
+
workspaceId: z.ZodOptional<z.ZodString>;
|
|
178
|
+
principalId: z.ZodOptional<z.ZodString>;
|
|
179
|
+
permitTenantKey: z.ZodOptional<z.ZodString>;
|
|
180
|
+
permitResourceType: z.ZodOptional<z.ZodString>;
|
|
181
|
+
permitResourceKey: z.ZodOptional<z.ZodString>;
|
|
182
|
+
desiredPayload: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
183
|
+
lastAppliedPayloadHash: z.ZodOptional<z.ZodString>;
|
|
184
|
+
status: z.ZodEnum<["pending", "synced", "error", "skipped"]>;
|
|
185
|
+
attemptCount: z.ZodNumber;
|
|
186
|
+
lastError: z.ZodOptional<z.ZodString>;
|
|
187
|
+
nextAttemptAt: z.ZodOptional<z.ZodNumber>;
|
|
188
|
+
lastSyncedAt: z.ZodOptional<z.ZodNumber>;
|
|
189
|
+
createdBy: z.ZodString;
|
|
190
|
+
updatedBy: z.ZodOptional<z.ZodString>;
|
|
191
|
+
createdAt: z.ZodNumber;
|
|
192
|
+
updatedAt: z.ZodNumber;
|
|
193
|
+
}>;
|
|
194
|
+
declare const permitPolicyDecisionReceipts: TableContract<{
|
|
195
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
196
|
+
workspaceId: z.ZodOptional<z.ZodString>;
|
|
197
|
+
principalId: z.ZodString;
|
|
198
|
+
subjectType: z.ZodOptional<z.ZodEnum<["principal", "group", "role_assignment", "resource_instance"]>>;
|
|
199
|
+
subjectId: z.ZodOptional<z.ZodString>;
|
|
200
|
+
resourceType: z.ZodString;
|
|
201
|
+
resourceId: z.ZodString;
|
|
202
|
+
action: z.ZodString;
|
|
203
|
+
decision: z.ZodEnum<["allow", "deny"]>;
|
|
204
|
+
reasonCode: z.ZodString;
|
|
205
|
+
policyBundleId: z.ZodOptional<z.ZodString>;
|
|
206
|
+
policyVersion: z.ZodString;
|
|
207
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
208
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
209
|
+
audienceMode: z.ZodOptional<z.ZodString>;
|
|
210
|
+
audienceKey: z.ZodOptional<z.ZodString>;
|
|
211
|
+
audienceClass: z.ZodOptional<z.ZodEnum<["internal", "restricted_external", "public"]>>;
|
|
212
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
213
|
+
createdAt: z.ZodNumber;
|
|
214
|
+
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
215
|
+
createdBy: z.ZodOptional<z.ZodString>;
|
|
216
|
+
}>;
|
|
217
|
+
declare const permitAccessReviews: TableContract<{
|
|
218
|
+
tenantId: z.ZodString;
|
|
219
|
+
workspaceId: z.ZodOptional<z.ZodString>;
|
|
220
|
+
reviewKey: z.ZodString;
|
|
221
|
+
scope: z.ZodEnum<["tenant", "workspace", "resource_instance", "group", "principal", "api_key", "admin_action"]>;
|
|
222
|
+
status: z.ZodEnum<["open", "in_progress", "approved", "denied", "expired", "cancelled"]>;
|
|
223
|
+
subjectType: z.ZodEnum<["principal", "group", "role_assignment", "resource_instance"]>;
|
|
224
|
+
subjectId: z.ZodString;
|
|
225
|
+
resourceType: z.ZodOptional<z.ZodString>;
|
|
226
|
+
resourceKey: z.ZodOptional<z.ZodString>;
|
|
227
|
+
outcome: z.ZodOptional<z.ZodEnum<["allow", "deny"]>>;
|
|
228
|
+
requestedBy: z.ZodString;
|
|
229
|
+
reviewedBy: z.ZodOptional<z.ZodString>;
|
|
230
|
+
requestedAt: z.ZodNumber;
|
|
231
|
+
reviewedAt: z.ZodOptional<z.ZodNumber>;
|
|
232
|
+
dueAt: z.ZodOptional<z.ZodNumber>;
|
|
233
|
+
justification: z.ZodOptional<z.ZodString>;
|
|
234
|
+
rationale: z.ZodOptional<z.ZodString>;
|
|
235
|
+
policyBundleId: z.ZodOptional<z.ZodString>;
|
|
236
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
237
|
+
createdAt: z.ZodNumber;
|
|
238
|
+
updatedAt: z.ZodNumber;
|
|
239
|
+
}>;
|
|
240
|
+
declare const permitAccessReviewItems: TableContract<{
|
|
241
|
+
reviewKey: z.ZodString;
|
|
242
|
+
itemKey: z.ZodString;
|
|
243
|
+
tenantId: z.ZodString;
|
|
244
|
+
workspaceId: z.ZodOptional<z.ZodString>;
|
|
245
|
+
subjectType: z.ZodEnum<["principal", "group", "role_assignment", "resource_instance"]>;
|
|
246
|
+
subjectId: z.ZodString;
|
|
247
|
+
resourceType: z.ZodOptional<z.ZodString>;
|
|
248
|
+
resourceKey: z.ZodOptional<z.ZodString>;
|
|
249
|
+
role: z.ZodOptional<z.ZodString>;
|
|
250
|
+
relation: z.ZodOptional<z.ZodString>;
|
|
251
|
+
status: z.ZodEnum<["open", "approved", "revoked", "changed", "deferred"]>;
|
|
252
|
+
reviewerId: z.ZodOptional<z.ZodString>;
|
|
253
|
+
decisionAt: z.ZodOptional<z.ZodNumber>;
|
|
254
|
+
rationale: z.ZodOptional<z.ZodString>;
|
|
255
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
256
|
+
createdAt: z.ZodNumber;
|
|
257
|
+
updatedAt: z.ZodNumber;
|
|
258
|
+
}>;
|
|
259
|
+
|
|
260
|
+
export { permitAccessReviewItems, permitAccessReviews, permitAttributeBindings, permitGroupMemberships, permitGroups, permitPolicyBundles, permitPolicyDecisionReceipts, permitPrincipalAliases, permitPrincipals, permitProjectionOutbox, permitRelationshipTuples, permitResourceInstances, permitRoleAssignments, tenantPermitSyncStates };
|