@lucern/contracts 0.3.0-alpha.17 → 0.3.0-alpha.3
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 +0 -10
- package/dist/api-enums.contract.d.ts +3 -5
- package/dist/api-enums.contract.js +12 -14
- package/dist/api-enums.contract.js.map +1 -1
- package/dist/auth-context.contract.js +2 -14
- package/dist/auth-context.contract.js.map +1 -1
- package/dist/auth-session.contract.js +2 -14
- package/dist/auth-session.contract.js.map +1 -1
- package/dist/auth.contract.d.ts +1 -1
- package/dist/auth.contract.js +2 -14
- package/dist/auth.contract.js.map +1 -1
- package/dist/component-boundary.contract.d.ts +1 -1
- package/dist/component-boundary.contract.js +26 -46
- package/dist/component-boundary.contract.js.map +1 -1
- package/dist/context-pack.contract.d.ts +3 -5
- package/dist/context-pack.contract.js.map +1 -1
- package/dist/{defineTable-t1wr5wgn.d.ts → defineTable-CBQ03FXl.d.ts} +1 -1
- package/dist/{dsl-DVPthQGY.d.ts → dsl-BgpoVOVQ.d.ts} +2 -2
- package/dist/dsl.d.ts +2 -2
- package/dist/dsl.js +4 -1
- package/dist/dsl.js.map +1 -1
- package/dist/function-registry/beliefs.d.ts +51 -64
- package/dist/function-registry/beliefs.js +57 -817
- package/dist/function-registry/beliefs.js.map +1 -1
- package/dist/function-registry/coding.d.ts +6 -15
- package/dist/function-registry/coding.js +43 -866
- package/dist/function-registry/coding.js.map +1 -1
- package/dist/function-registry/context.d.ts +16 -22
- package/dist/function-registry/context.js +46 -805
- package/dist/function-registry/context.js.map +1 -1
- package/dist/function-registry/contracts.d.ts +3 -9
- package/dist/function-registry/contracts.js +39 -770
- package/dist/function-registry/contracts.js.map +1 -1
- package/dist/function-registry/coordination.d.ts +9 -21
- package/dist/function-registry/coordination.js +39 -770
- package/dist/function-registry/coordination.js.map +1 -1
- package/dist/function-registry/edges.d.ts +2 -167
- package/dist/function-registry/edges.js +71 -978
- package/dist/function-registry/edges.js.map +1 -1
- package/dist/function-registry/evidence.d.ts +41 -52
- package/dist/function-registry/evidence.js +62 -826
- package/dist/function-registry/evidence.js.map +1 -1
- package/dist/function-registry/graph.d.ts +66 -162
- package/dist/function-registry/graph.js +46 -886
- package/dist/function-registry/graph.js.map +1 -1
- package/dist/function-registry/helpers.d.ts +4 -7
- package/dist/function-registry/helpers.js +40 -771
- package/dist/function-registry/helpers.js.map +1 -1
- package/dist/function-registry/identity.d.ts +16 -62
- package/dist/function-registry/identity.js +45 -793
- package/dist/function-registry/identity.js.map +1 -1
- package/dist/function-registry/index.d.ts +3 -5
- package/dist/function-registry/index.js +43 -777
- package/dist/function-registry/index.js.map +1 -1
- package/dist/function-registry/judgments.d.ts +11 -16
- package/dist/function-registry/judgments.js +42 -782
- package/dist/function-registry/judgments.js.map +1 -1
- package/dist/function-registry/legacy.d.ts +1 -5
- package/dist/function-registry/legacy.js +39 -770
- package/dist/function-registry/legacy.js.map +1 -1
- package/dist/function-registry/lenses.d.ts +21 -28
- package/dist/function-registry/lenses.js +42 -793
- package/dist/function-registry/lenses.js.map +1 -1
- package/dist/function-registry/manifest.d.ts +6 -6
- package/dist/function-registry/manifest.js +2 -19
- package/dist/function-registry/manifest.js.map +1 -1
- package/dist/function-registry/ontologies.d.ts +56 -70
- package/dist/function-registry/ontologies.js +45 -788
- package/dist/function-registry/ontologies.js.map +1 -1
- package/dist/function-registry/pipeline.d.ts +16 -22
- package/dist/function-registry/pipeline.js +42 -779
- package/dist/function-registry/pipeline.js.map +1 -1
- package/dist/function-registry/questions.d.ts +61 -76
- package/dist/function-registry/questions.js +52 -869
- package/dist/function-registry/questions.js.map +1 -1
- package/dist/function-registry/tasks.d.ts +21 -28
- package/dist/function-registry/tasks.js +48 -845
- package/dist/function-registry/tasks.js.map +1 -1
- package/dist/function-registry/topics.d.ts +26 -114
- package/dist/function-registry/topics.js +43 -852
- package/dist/function-registry/topics.js.map +1 -1
- package/dist/function-registry/types.d.ts +3 -7
- package/dist/function-registry/worktrees.d.ts +51 -104
- package/dist/function-registry/worktrees.js +51 -925
- package/dist/function-registry/worktrees.js.map +1 -1
- package/dist/gateway.contract.d.ts +0 -5
- package/dist/gateway.contract.js.map +1 -1
- package/dist/generated/convexSchemas.d.ts +3 -3
- package/dist/generated/convexSchemas.js +18 -38
- package/dist/generated/convexSchemas.js.map +1 -1
- package/dist/generated/schema-manifest.json +114 -1221
- package/dist/generated/tableOwnership.d.ts +28 -48
- package/dist/generated/tableOwnership.js +26 -66
- package/dist/generated/tableOwnership.js.map +1 -1
- package/dist/generated/tier-expectations.json +9 -64
- package/dist/graph-types/index.d.ts +1 -5
- package/dist/graph-types/index.js +4 -15
- package/dist/graph-types/index.js.map +1 -1
- package/dist/index-CV-0_VWJ.d.ts +25 -0
- package/dist/index.d.ts +669 -28
- package/dist/index.js +400 -34707
- package/dist/index.js.map +1 -1
- package/dist/lens-filter.contract.js +3 -4
- package/dist/lens-filter.contract.js.map +1 -1
- package/dist/lens-workflow.contract.js +3 -4
- package/dist/lens-workflow.contract.js.map +1 -1
- package/dist/mcp-gateway-boundary.contract.d.ts +3 -23
- package/dist/mcp-gateway-boundary.contract.js +0 -2
- package/dist/mcp-gateway-boundary.contract.js.map +1 -1
- package/dist/schema-helpers/enumValidation.js +5 -2
- package/dist/schema-helpers/enumValidation.js.map +1 -1
- package/dist/schema-helpers/spine/nodes/decision.js +1 -2
- 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 +2 -5
- package/dist/schemas/enums.js +2 -5
- package/dist/schemas/enums.js.map +1 -1
- package/dist/schemas/index.d.ts +3 -3
- package/dist/schemas/index.js +139 -1130
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/manifest.d.ts +948 -2948
- package/dist/schemas/manifest.js +137 -1128
- package/dist/schemas/manifest.js.map +1 -1
- package/dist/schemas/sl-opinion.d.ts +4 -4
- package/dist/schemas/tables/{controlPlane → identity}/agent.d.ts +1 -1
- package/dist/schemas/tables/{controlPlane → identity}/agent.js +3 -3
- package/dist/schemas/tables/identity/agent.js.map +1 -0
- package/dist/schemas/tables/{controlPlane → identity}/epistemic.d.ts +1 -1
- package/dist/schemas/tables/{controlPlane → identity}/epistemic.js +3 -3
- package/dist/schemas/tables/identity/epistemic.js.map +1 -0
- package/dist/schemas/tables/{controlPlane → identity}/model.d.ts +1 -1
- package/dist/schemas/tables/{controlPlane → identity}/model.js +6 -6
- package/dist/schemas/tables/identity/model.js.map +1 -0
- package/dist/schemas/tables/{controlPlane → identity}/platform.d.ts +11 -11
- package/dist/schemas/tables/{controlPlane → identity}/platform.js +18 -18
- package/dist/schemas/tables/identity/platform.js.map +1 -0
- package/dist/schemas/tables/{controlPlane → identity}/project.d.ts +1 -1
- package/dist/schemas/tables/{controlPlane → identity}/project.js +3 -3
- package/dist/schemas/tables/identity/project.js.map +1 -0
- package/dist/schemas/tables/{controlPlane → identity}/user.d.ts +1 -1
- package/dist/schemas/tables/{controlPlane → identity}/user.js +3 -3
- package/dist/schemas/tables/identity/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 +4 -5
- package/dist/schemas/tables/kernel/spine.js +2 -6
- 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 +1 -5
- 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 +4 -21
- package/dist/schemas/tables/mc/identity.js +1 -32
- 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 +3 -109
- package/dist/schemas/tables/mc/runtime.js +104 -330
- package/dist/schemas/tables/mc/runtime.js.map +1 -1
- package/dist/schemas/tables/mc/tenant.d.ts +2 -4
- package/dist/schemas/tables/mc/tenant.js +1 -3
- package/dist/schemas/tables/mc/tenant.js.map +1 -1
- package/dist/schemas/tables/mc/workspace.d.ts +5 -28
- package/dist/schemas/tables/mc/workspace.js +2 -36
- package/dist/schemas/tables/mc/workspace.js.map +1 -1
- package/dist/sdk-methods.contract.d.ts +2 -2
- package/dist/{sdk-tools.contract-CKmSsrZ2.d.ts → sdk-tools.contract-S4ia0TTo.d.ts} +2 -2
- package/dist/sdk-tools.contract.d.ts +2 -2
- package/dist/sdk-tools.contract.js +27 -719
- package/dist/sdk-tools.contract.js.map +1 -1
- package/dist/tenant-client.contract.d.ts +14 -102
- package/dist/tenant-client.contract.js +12 -113
- package/dist/tenant-client.contract.js.map +1 -1
- package/dist/{tool-contracts-C_xvM9q2.d.ts → tool-contracts-C92-9ueT.d.ts} +2 -38
- package/dist/tool-contracts.d.ts +1 -1
- package/dist/tool-contracts.js +28 -720
- package/dist/tool-contracts.js.map +1 -1
- package/package.json +1 -30
- package/dist/component-host-boundary.contract.d.ts +0 -46
- package/dist/component-host-boundary.contract.js +0 -60
- package/dist/component-host-boundary.contract.js.map +0 -1
- package/dist/edge-policy-manifest-Dw5IhT1L.d.ts +0 -133
- package/dist/function-registry/nodes.d.ts +0 -412
- package/dist/function-registry/nodes.js +0 -5354
- package/dist/function-registry/nodes.js.map +0 -1
- package/dist/function-registry-input-audit.d.ts +0 -13
- package/dist/function-registry-input-audit.js +0 -166
- package/dist/function-registry-input-audit.js.map +0 -1
- package/dist/generated/infisicalRuntimeEnv.d.ts +0 -70
- package/dist/generated/infisicalRuntimeEnv.js +0 -27345
- package/dist/generated/infisicalRuntimeEnv.js.map +0 -1
- package/dist/generated/lucernGatewayEnv.d.ts +0 -17
- package/dist/generated/lucernGatewayEnv.js +0 -38
- package/dist/generated/lucernGatewayEnv.js.map +0 -1
- package/dist/generated/lucernWebPublicEnv.d.ts +0 -26
- package/dist/generated/lucernWebPublicEnv.js +0 -32
- package/dist/generated/lucernWebPublicEnv.js.map +0 -1
- package/dist/generated/lucernWebServerEnv.d.ts +0 -33
- package/dist/generated/lucernWebServerEnv.js +0 -51
- package/dist/generated/lucernWebServerEnv.js.map +0 -1
- package/dist/graph-intelligence.contract.d.ts +0 -506
- package/dist/graph-intelligence.contract.js +0 -595
- package/dist/graph-intelligence.contract.js.map +0 -1
- package/dist/index-CM1Pl_vI.d.ts +0 -28
- package/dist/infisical-runtime.contract.d.ts +0 -1889
- package/dist/infisical-runtime.contract.js +0 -3235
- package/dist/infisical-runtime.contract.js.map +0 -1
- package/dist/manifests/edge-policy-manifest.d.ts +0 -2
- package/dist/manifests/edge-policy-manifest.data.d.ts +0 -13
- package/dist/manifests/edge-policy-manifest.data.js +0 -26
- package/dist/manifests/edge-policy-manifest.data.js.map +0 -1
- package/dist/manifests/edge-policy-manifest.js +0 -92
- package/dist/manifests/edge-policy-manifest.js.map +0 -1
- package/dist/manifests/infisical-runtime-manifest.d.ts +0 -1792
- package/dist/manifests/infisical-runtime-manifest.js +0 -3090
- package/dist/manifests/infisical-runtime-manifest.js.map +0 -1
- package/dist/manifests/invariant-manifest.d.ts +0 -65
- package/dist/manifests/invariant-manifest.js +0 -18
- package/dist/manifests/invariant-manifest.js.map +0 -1
- package/dist/manifests/invariants/ast-utils.d.ts +0 -14
- package/dist/manifests/invariants/ast-utils.js +0 -54
- package/dist/manifests/invariants/ast-utils.js.map +0 -1
- package/dist/manifests/invariants/index.d.ts +0 -15
- package/dist/manifests/invariants/index.js +0 -183
- package/dist/manifests/invariants/index.js.map +0 -1
- package/dist/manifests/invariants/inv-1-beliefs-append-only.d.ts +0 -12
- package/dist/manifests/invariants/inv-1-beliefs-append-only.js +0 -94
- package/dist/manifests/invariants/inv-1-beliefs-append-only.js.map +0 -1
- package/dist/manifests/invariants/inv-14-no-silent-transitions.d.ts +0 -12
- package/dist/manifests/invariants/inv-14-no-silent-transitions.js +0 -99
- package/dist/manifests/invariants/inv-14-no-silent-transitions.js.map +0 -1
- package/dist/manifests/invariants/manifest-1-projections-declare-audit.d.ts +0 -12
- package/dist/manifests/invariants/manifest-1-projections-declare-audit.js +0 -42
- package/dist/manifests/invariants/manifest-1-projections-declare-audit.js.map +0 -1
- package/dist/manifests/tenant-client-manifest.d.ts +0 -327
- package/dist/manifests/tenant-client-manifest.js +0 -449
- package/dist/manifests/tenant-client-manifest.js.map +0 -1
- package/dist/permit-principal-projection.contract.d.ts +0 -74
- package/dist/permit-principal-projection.contract.js +0 -167
- package/dist/permit-principal-projection.contract.js.map +0 -1
- package/dist/projections/check-convex-args-shape.d.ts +0 -3
- package/dist/projections/check-convex-args-shape.js +0 -403
- package/dist/projections/check-convex-args-shape.js.map +0 -1
- package/dist/projections/create-evidence.projection.d.ts +0 -176
- package/dist/projections/create-evidence.projection.js +0 -130
- package/dist/projections/create-evidence.projection.js.map +0 -1
- package/dist/projections/index.d.ts +0 -102
- package/dist/projections/index.js +0 -352
- package/dist/projections/index.js.map +0 -1
- package/dist/projections/list-beliefs.projection.d.ts +0 -36
- package/dist/projections/list-beliefs.projection.js +0 -54
- package/dist/projections/list-beliefs.projection.js.map +0 -1
- package/dist/projections/list-tasks.projection.d.ts +0 -44
- package/dist/projections/list-tasks.projection.js +0 -57
- package/dist/projections/list-tasks.projection.js.map +0 -1
- package/dist/projections/modulate-confidence.projection.d.ts +0 -219
- package/dist/projections/modulate-confidence.projection.js +0 -148
- package/dist/projections/modulate-confidence.projection.js.map +0 -1
- package/dist/projections/projection-dsl.d.ts +0 -11
- package/dist/projections/projection-dsl.js +0 -8
- package/dist/projections/projection-dsl.js.map +0 -1
- package/dist/proof-attestation.json +0 -45
- package/dist/schemas/tables/controlPlane/accessControl.d.ts +0 -260
- package/dist/schemas/tables/controlPlane/accessControl.js +0 -658
- package/dist/schemas/tables/controlPlane/accessControl.js.map +0 -1
- package/dist/schemas/tables/controlPlane/agent.js.map +0 -1
- package/dist/schemas/tables/controlPlane/epistemic.js.map +0 -1
- package/dist/schemas/tables/controlPlane/model.js.map +0 -1
- package/dist/schemas/tables/controlPlane/platform.js.map +0 -1
- package/dist/schemas/tables/controlPlane/project.js.map +0 -1
- package/dist/schemas/tables/controlPlane/user.js.map +0 -1
- package/dist/schemas/tables/kernel/events.d.ts +0 -21
- package/dist/schemas/tables/kernel/events.js +0 -43
- package/dist/schemas/tables/kernel/events.js.map +0 -1
- package/dist/tenant-bootstrap-seed.contract.d.ts +0 -1289
- package/dist/tenant-bootstrap-seed.contract.js +0 -764
- package/dist/tenant-bootstrap-seed.contract.js.map +0 -1
- package/dist/tenant-bootstrap-seed.defaults.d.ts +0 -16
- package/dist/tenant-bootstrap-seed.defaults.js +0 -321
- package/dist/tenant-bootstrap-seed.defaults.js.map +0 -1
|
@@ -1,260 +0,0 @@
|
|
|
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", "attribute_binding", "policy_bundle"]>;
|
|
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", "attribute_binding", "policy_bundle"]>;
|
|
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 };
|