@c15t/backend 2.0.0-rc.0 → 2.0.0-rc.10
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/README.md +3 -3
- package/dist/302.js +473 -0
- package/dist/583.js +540 -0
- package/dist/915.js +1771 -0
- package/dist/cache.cjs +5 -5
- package/dist/cache.js +4 -415
- package/dist/core.cjs +1356 -120
- package/dist/core.js +163 -1981
- package/dist/db/adapters/drizzle.cjs +1 -1
- package/dist/db/adapters/drizzle.js +1 -2
- package/dist/db/adapters/kysely.cjs +1 -1
- package/dist/db/adapters/kysely.js +1 -2
- package/dist/db/adapters/mongo.cjs +1 -1
- package/dist/db/adapters/mongo.js +1 -2
- package/dist/db/adapters/prisma.cjs +1 -1
- package/dist/db/adapters/prisma.js +1 -2
- package/dist/db/adapters/typeorm.cjs +1 -1
- package/dist/db/adapters/typeorm.js +1 -2
- package/dist/db/adapters.cjs +1 -1
- package/dist/db/migrator.cjs +1 -1
- package/dist/db/schema.cjs +43 -3
- package/dist/db/schema.js +35 -4
- package/dist/define-config.cjs +1 -1
- package/dist/edge.cjs +1106 -0
- package/dist/edge.js +190 -0
- package/dist/router.cjs +885 -123
- package/dist/router.js +1 -1507
- package/dist/{types.cjs → types/index.cjs} +1 -1
- package/{dist → dist-types}/cache/adapters/cloudflare-kv.d.ts +0 -1
- package/{dist → dist-types}/cache/adapters/index.d.ts +0 -1
- package/{dist → dist-types}/cache/adapters/memory.d.ts +0 -1
- package/{dist → dist-types}/cache/adapters/upstash-redis.d.ts +0 -1
- package/{dist → dist-types}/cache/gvl-resolver.d.ts +0 -1
- package/{dist → dist-types}/cache/index.d.ts +0 -1
- package/{dist → dist-types}/cache/keys.d.ts +0 -1
- package/{dist → dist-types}/cache/types.d.ts +0 -1
- package/{dist → dist-types}/core.d.ts +8 -1
- package/{dist → dist-types}/db/migrator/index.d.ts +0 -1
- package/dist-types/db/registry/consent-policy.d.ts +78 -0
- package/{dist → dist-types}/db/registry/consent-purpose.d.ts +0 -1
- package/{dist → dist-types}/db/registry/domain.d.ts +0 -1
- package/dist-types/db/registry/index.d.ts +118 -0
- package/dist-types/db/registry/runtime-policy-decision.d.ts +60 -0
- package/{dist → dist-types}/db/registry/subject.d.ts +0 -2
- package/{dist → dist-types}/db/registry/types.d.ts +1 -1
- package/{dist → dist-types}/db/registry/utils/generate-id.d.ts +0 -1
- package/{dist → dist-types}/db/registry/utils.d.ts +0 -1
- package/{dist → dist-types}/db/schema/1.0.0/audit-log.d.ts +0 -1
- package/{dist → dist-types}/db/schema/1.0.0/consent-policy.d.ts +0 -1
- package/{dist → dist-types}/db/schema/1.0.0/consent-purpose.d.ts +0 -1
- package/{dist → dist-types}/db/schema/1.0.0/consent-record.d.ts +0 -1
- package/{dist → dist-types}/db/schema/1.0.0/consent.d.ts +1 -2
- package/{dist → dist-types}/db/schema/1.0.0/domain.d.ts +0 -1
- package/{dist → dist-types}/db/schema/1.0.0/index.d.ts +0 -32
- package/{dist → dist-types}/db/schema/1.0.0/subject.d.ts +0 -2
- package/{dist → dist-types}/db/schema/2.0.0/audit-log.d.ts +1 -2
- package/{dist → dist-types}/db/schema/2.0.0/consent-policy.d.ts +3 -3
- package/{dist → dist-types}/db/schema/2.0.0/consent-purpose.d.ts +1 -2
- package/{dist → dist-types}/db/schema/2.0.0/consent.d.ts +7 -2
- package/{dist → dist-types}/db/schema/2.0.0/domain.d.ts +1 -2
- package/{dist → dist-types}/db/schema/2.0.0/index.d.ts +455 -28
- package/dist-types/db/schema/2.0.0/runtime-policy-decision.d.ts +23 -0
- package/{dist → dist-types}/db/schema/2.0.0/subject.d.ts +1 -3
- package/{dist → dist-types}/db/schema/index.d.ts +908 -86
- package/{dist → dist-types}/db/tenant-scope.d.ts +0 -1
- package/dist-types/define-config.d.ts +17 -0
- package/dist-types/edge/index.d.ts +5 -0
- package/dist-types/edge/init-handler.d.ts +40 -0
- package/dist-types/edge/resolve-consent.d.ts +80 -0
- package/dist-types/edge/types.d.ts +13 -0
- package/{dist → dist-types}/handlers/consent/check.handler.d.ts +0 -1
- package/{src/handlers/consent/index.ts → dist-types/handlers/consent/index.d.ts} +0 -1
- package/{dist → dist-types}/handlers/init/geo.d.ts +2 -3
- package/{dist → dist-types}/handlers/init/index.d.ts +2 -3
- package/dist-types/handlers/init/policy.d.ts +26 -0
- package/dist-types/handlers/init/resolve-init.d.ts +44 -0
- package/dist-types/handlers/init/translations.d.ts +48 -0
- package/dist-types/handlers/legal-document/current.handler.d.ts +11 -0
- package/dist-types/handlers/legal-document/snapshot.d.ts +39 -0
- package/dist-types/handlers/policy/snapshot.d.ts +99 -0
- package/{src/handlers/status/index.ts → dist-types/handlers/status/index.d.ts} +0 -1
- package/{dist → dist-types}/handlers/status/status.handler.d.ts +0 -1
- package/{dist → dist-types}/handlers/subject/get.handler.d.ts +3 -2
- package/{src/handlers/subject/index.ts → dist-types/handlers/subject/index.d.ts} +0 -1
- package/{dist → dist-types}/handlers/subject/list.handler.d.ts +3 -2
- package/{dist → dist-types}/handlers/subject/patch.handler.d.ts +0 -2
- package/{dist → dist-types}/handlers/subject/post.handler.d.ts +12 -1
- package/{dist → dist-types}/handlers/utils/consent-enrichment.d.ts +3 -1
- package/{dist → dist-types}/init.d.ts +4 -7
- package/{dist → dist-types}/middleware/auth/index.d.ts +0 -1
- package/{dist → dist-types}/middleware/auth/validate-api-key.d.ts +0 -1
- package/{dist → dist-types}/middleware/cors/cors.d.ts +0 -1
- package/{src/middleware/cors/index.ts → dist-types/middleware/cors/index.d.ts} +0 -1
- package/{dist → dist-types}/middleware/cors/is-origin-trusted.d.ts +0 -1
- package/{dist → dist-types}/middleware/cors/process-cors.d.ts +0 -1
- package/{dist → dist-types}/middleware/openapi/config.d.ts +0 -1
- package/{dist → dist-types}/middleware/openapi/handlers.d.ts +0 -1
- package/{src/middleware/openapi/index.ts → dist-types/middleware/openapi/index.d.ts} +0 -1
- package/{dist → dist-types}/middleware/process-ip/index.d.ts +0 -1
- package/dist-types/policies/builder.d.ts +127 -0
- package/dist-types/policies/defaults.d.ts +2 -0
- package/dist-types/policies/matchers.d.ts +3 -0
- package/{dist → dist-types}/router.d.ts +0 -1
- package/{dist → dist-types}/routes/consent.d.ts +0 -1
- package/{dist → dist-types}/routes/index.d.ts +1 -1
- package/{dist → dist-types}/routes/init.d.ts +0 -1
- package/dist-types/routes/legal-document.d.ts +7 -0
- package/{dist → dist-types}/routes/status.d.ts +0 -1
- package/{dist → dist-types}/routes/subject.d.ts +0 -1
- package/{dist → dist-types}/types/api.d.ts +0 -1
- package/dist-types/types/index.d.ts +464 -0
- package/dist-types/utils/background.d.ts +6 -0
- package/{dist → dist-types}/utils/create-telemetry-options.d.ts +1 -2
- package/{dist → dist-types}/utils/env.d.ts +0 -1
- package/{dist → dist-types}/utils/extract-error-message.d.ts +0 -1
- package/{dist → dist-types}/utils/instrumentation.d.ts +2 -3
- package/{dist → dist-types}/utils/logger.d.ts +0 -1
- package/{dist → dist-types}/utils/metrics.d.ts +0 -1
- package/dist-types/version.d.ts +1 -0
- package/docs/README.md +49 -0
- package/docs/api/configuration.md +208 -0
- package/docs/api/endpoints.md +211 -0
- package/docs/guides/caching.md +85 -0
- package/docs/guides/database-setup.md +128 -0
- package/docs/guides/edge-deployment.md +251 -0
- package/docs/guides/framework-integration.md +142 -0
- package/docs/guides/iab-tcf.md +89 -0
- package/docs/guides/observability.md +96 -0
- package/docs/guides/policy-packs.md +396 -0
- package/docs/quickstart.md +129 -0
- package/package.json +53 -39
- package/.turbo/turbo-build.log +0 -49
- package/CHANGELOG.md +0 -89
- package/dist/cache/adapters/cloudflare-kv.d.ts.map +0 -1
- package/dist/cache/adapters/index.d.ts.map +0 -1
- package/dist/cache/adapters/memory.d.ts.map +0 -1
- package/dist/cache/adapters/upstash-redis.d.ts.map +0 -1
- package/dist/cache/gvl-resolver.d.ts.map +0 -1
- package/dist/cache/index.d.ts.map +0 -1
- package/dist/cache/keys.d.ts.map +0 -1
- package/dist/cache/types.d.ts.map +0 -1
- package/dist/core.d.ts.map +0 -1
- package/dist/db/adapters/drizzle.d.ts +0 -2
- package/dist/db/adapters/drizzle.d.ts.map +0 -1
- package/dist/db/adapters/index.d.ts +0 -2
- package/dist/db/adapters/index.d.ts.map +0 -1
- package/dist/db/adapters/kysely.d.ts +0 -2
- package/dist/db/adapters/kysely.d.ts.map +0 -1
- package/dist/db/adapters/mongo.d.ts +0 -2
- package/dist/db/adapters/mongo.d.ts.map +0 -1
- package/dist/db/adapters/prisma.d.ts +0 -2
- package/dist/db/adapters/prisma.d.ts.map +0 -1
- package/dist/db/adapters/typeorm.d.ts +0 -2
- package/dist/db/adapters/typeorm.d.ts.map +0 -1
- package/dist/db/migrator/index.d.ts.map +0 -1
- package/dist/db/registry/consent-policy.d.ts +0 -23
- package/dist/db/registry/consent-policy.d.ts.map +0 -1
- package/dist/db/registry/consent-purpose.d.ts.map +0 -1
- package/dist/db/registry/domain.d.ts.map +0 -1
- package/dist/db/registry/index.d.ts +0 -57
- package/dist/db/registry/index.d.ts.map +0 -1
- package/dist/db/registry/subject.d.ts.map +0 -1
- package/dist/db/registry/types.d.ts.map +0 -1
- package/dist/db/registry/utils/generate-id.d.ts.map +0 -1
- package/dist/db/registry/utils.d.ts.map +0 -1
- package/dist/db/schema/1.0.0/audit-log.d.ts.map +0 -1
- package/dist/db/schema/1.0.0/consent-policy.d.ts.map +0 -1
- package/dist/db/schema/1.0.0/consent-purpose.d.ts.map +0 -1
- package/dist/db/schema/1.0.0/consent-record.d.ts.map +0 -1
- package/dist/db/schema/1.0.0/consent.d.ts.map +0 -1
- package/dist/db/schema/1.0.0/domain.d.ts.map +0 -1
- package/dist/db/schema/1.0.0/index.d.ts.map +0 -1
- package/dist/db/schema/1.0.0/subject.d.ts.map +0 -1
- package/dist/db/schema/2.0.0/audit-log.d.ts.map +0 -1
- package/dist/db/schema/2.0.0/consent-policy.d.ts.map +0 -1
- package/dist/db/schema/2.0.0/consent-purpose.d.ts.map +0 -1
- package/dist/db/schema/2.0.0/consent.d.ts.map +0 -1
- package/dist/db/schema/2.0.0/domain.d.ts.map +0 -1
- package/dist/db/schema/2.0.0/index.d.ts.map +0 -1
- package/dist/db/schema/2.0.0/subject.d.ts.map +0 -1
- package/dist/db/schema/index.d.ts.map +0 -1
- package/dist/db/tenant-scope.d.ts.map +0 -1
- package/dist/define-config.d.ts +0 -5
- package/dist/define-config.d.ts.map +0 -1
- package/dist/handlers/consent/check.handler.d.ts.map +0 -1
- package/dist/handlers/consent/index.d.ts +0 -12
- package/dist/handlers/consent/index.d.ts.map +0 -1
- package/dist/handlers/init/geo.d.ts.map +0 -1
- package/dist/handlers/init/index.d.ts.map +0 -1
- package/dist/handlers/init/translations.d.ts +0 -28
- package/dist/handlers/init/translations.d.ts.map +0 -1
- package/dist/handlers/status/index.d.ts +0 -7
- package/dist/handlers/status/index.d.ts.map +0 -1
- package/dist/handlers/status/status.handler.d.ts.map +0 -1
- package/dist/handlers/subject/get.handler.d.ts.map +0 -1
- package/dist/handlers/subject/index.d.ts +0 -10
- package/dist/handlers/subject/index.d.ts.map +0 -1
- package/dist/handlers/subject/list.handler.d.ts.map +0 -1
- package/dist/handlers/subject/patch.handler.d.ts.map +0 -1
- package/dist/handlers/subject/post.handler.d.ts.map +0 -1
- package/dist/handlers/utils/consent-enrichment.d.ts.map +0 -1
- package/dist/init.d.ts.map +0 -1
- package/dist/middleware/auth/index.d.ts.map +0 -1
- package/dist/middleware/auth/validate-api-key.d.ts.map +0 -1
- package/dist/middleware/cors/cors.d.ts.map +0 -1
- package/dist/middleware/cors/index.d.ts +0 -30
- package/dist/middleware/cors/index.d.ts.map +0 -1
- package/dist/middleware/cors/is-origin-trusted.d.ts.map +0 -1
- package/dist/middleware/cors/process-cors.d.ts.map +0 -1
- package/dist/middleware/openapi/config.d.ts.map +0 -1
- package/dist/middleware/openapi/handlers.d.ts.map +0 -1
- package/dist/middleware/openapi/index.d.ts +0 -12
- package/dist/middleware/openapi/index.d.ts.map +0 -1
- package/dist/middleware/process-ip/index.d.ts.map +0 -1
- package/dist/router.d.ts.map +0 -1
- package/dist/routes/consent.d.ts.map +0 -1
- package/dist/routes/index.d.ts.map +0 -1
- package/dist/routes/init.d.ts.map +0 -1
- package/dist/routes/status.d.ts.map +0 -1
- package/dist/routes/subject.d.ts.map +0 -1
- package/dist/types/api.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -255
- package/dist/types/index.d.ts.map +0 -1
- package/dist/utils/create-telemetry-options.d.ts.map +0 -1
- package/dist/utils/env.d.ts.map +0 -1
- package/dist/utils/extract-error-message.d.ts.map +0 -1
- package/dist/utils/index.d.ts +0 -4
- package/dist/utils/index.d.ts.map +0 -1
- package/dist/utils/instrumentation.d.ts.map +0 -1
- package/dist/utils/logger.d.ts.map +0 -1
- package/dist/utils/metrics.d.ts.map +0 -1
- package/dist/version.d.ts +0 -2
- package/dist/version.d.ts.map +0 -1
- package/knip.json +0 -31
- package/rslib.config.ts +0 -93
- package/src/cache/adapters/cloudflare-kv.ts +0 -71
- package/src/cache/adapters/index.ts +0 -22
- package/src/cache/adapters/memory.ts +0 -111
- package/src/cache/adapters/upstash-redis.ts +0 -113
- package/src/cache/gvl-resolver.ts +0 -289
- package/src/cache/index.ts +0 -34
- package/src/cache/keys.ts +0 -68
- package/src/cache/types.ts +0 -66
- package/src/core.ts +0 -368
- package/src/db/migrator/index.ts +0 -80
- package/src/db/registry/consent-policy.test.ts +0 -451
- package/src/db/registry/consent-policy.ts +0 -82
- package/src/db/registry/consent-purpose.test.ts +0 -428
- package/src/db/registry/consent-purpose.ts +0 -61
- package/src/db/registry/domain.test.ts +0 -445
- package/src/db/registry/domain.ts +0 -91
- package/src/db/registry/index.ts +0 -14
- package/src/db/registry/subject.test.ts +0 -388
- package/src/db/registry/subject.ts +0 -129
- package/src/db/registry/types.ts +0 -10
- package/src/db/registry/utils/generate-id.test.ts +0 -216
- package/src/db/registry/utils/generate-id.ts +0 -133
- package/src/db/registry/utils.ts +0 -133
- package/src/db/schema/1.0.0/audit-log.ts +0 -15
- package/src/db/schema/1.0.0/consent-policy.ts +0 -14
- package/src/db/schema/1.0.0/consent-purpose.ts +0 -14
- package/src/db/schema/1.0.0/consent-record.ts +0 -10
- package/src/db/schema/1.0.0/consent.ts +0 -20
- package/src/db/schema/1.0.0/domain.ts +0 -12
- package/src/db/schema/1.0.0/index.ts +0 -48
- package/src/db/schema/1.0.0/subject.ts +0 -12
- package/src/db/schema/2.0.0/audit-log.ts +0 -18
- package/src/db/schema/2.0.0/consent-policy.ts +0 -28
- package/src/db/schema/2.0.0/consent-purpose.ts +0 -12
- package/src/db/schema/2.0.0/consent.ts +0 -26
- package/src/db/schema/2.0.0/domain.ts +0 -12
- package/src/db/schema/2.0.0/index.ts +0 -47
- package/src/db/schema/2.0.0/subject.ts +0 -14
- package/src/db/schema/index.ts +0 -15
- package/src/db/tenant-scope.test.ts +0 -750
- package/src/db/tenant-scope.ts +0 -103
- package/src/define-config.ts +0 -5
- package/src/handlers/consent/check.handler.ts +0 -126
- package/src/handlers/init/geo.test.ts +0 -317
- package/src/handlers/init/geo.ts +0 -195
- package/src/handlers/init/index.test.ts +0 -205
- package/src/handlers/init/index.ts +0 -114
- package/src/handlers/init/translations.test.ts +0 -121
- package/src/handlers/init/translations.ts +0 -72
- package/src/handlers/status/status.handler.test.ts +0 -155
- package/src/handlers/status/status.handler.ts +0 -51
- package/src/handlers/subject/get.handler.ts +0 -93
- package/src/handlers/subject/list.handler.ts +0 -93
- package/src/handlers/subject/patch.handler.ts +0 -122
- package/src/handlers/subject/post.handler.test.ts +0 -294
- package/src/handlers/subject/post.handler.ts +0 -254
- package/src/handlers/utils/consent-enrichment.test.ts +0 -380
- package/src/handlers/utils/consent-enrichment.ts +0 -218
- package/src/init.test.ts +0 -126
- package/src/init.ts +0 -87
- package/src/middleware/auth/index.ts +0 -11
- package/src/middleware/auth/validate-api-key.test.ts +0 -86
- package/src/middleware/auth/validate-api-key.ts +0 -107
- package/src/middleware/cors/cors.test.ts +0 -135
- package/src/middleware/cors/cors.ts +0 -186
- package/src/middleware/cors/is-origin-trusted.test.ts +0 -164
- package/src/middleware/cors/is-origin-trusted.ts +0 -130
- package/src/middleware/cors/process-cors.ts +0 -91
- package/src/middleware/openapi/config.ts +0 -29
- package/src/middleware/openapi/handlers.ts +0 -34
- package/src/middleware/process-ip/index.test.ts +0 -195
- package/src/middleware/process-ip/index.ts +0 -199
- package/src/router.ts +0 -15
- package/src/routes/consent.ts +0 -52
- package/src/routes/index.ts +0 -10
- package/src/routes/init.ts +0 -102
- package/src/routes/status.ts +0 -46
- package/src/routes/subject.ts +0 -152
- package/src/types/api.ts +0 -48
- package/src/types/index.ts +0 -288
- package/src/utils/create-telemetry-options.test.ts +0 -302
- package/src/utils/create-telemetry-options.ts +0 -229
- package/src/utils/env.ts +0 -84
- package/src/utils/extract-error-message.ts +0 -21
- package/src/utils/instrumentation.test.ts +0 -185
- package/src/utils/instrumentation.ts +0 -196
- package/src/utils/logger.ts +0 -41
- package/src/utils/metrics.test.ts +0 -323
- package/src/utils/metrics.ts +0 -402
- package/src/utils/telemetry-pii.test.ts +0 -325
- package/src/version.ts +0 -2
- package/tsconfig.json +0 -11
- package/vitest.config.ts +0 -28
- /package/dist/{types.js → types/index.js} +0 -0
- /package/{src/db/adapters/drizzle.ts → dist-types/db/adapters/drizzle.d.ts} +0 -0
- /package/{src/db/adapters/index.ts → dist-types/db/adapters/index.d.ts} +0 -0
- /package/{src/db/adapters/kysely.ts → dist-types/db/adapters/kysely.d.ts} +0 -0
- /package/{src/db/adapters/mongo.ts → dist-types/db/adapters/mongo.d.ts} +0 -0
- /package/{src/db/adapters/prisma.ts → dist-types/db/adapters/prisma.d.ts} +0 -0
- /package/{src/db/adapters/typeorm.ts → dist-types/db/adapters/typeorm.d.ts} +0 -0
- /package/{src/utils/index.ts → dist-types/utils/index.d.ts} +0 -0
|
@@ -2,7 +2,6 @@ export * from './2.0.0';
|
|
|
2
2
|
export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema").Schema<"1.0.0", {
|
|
3
3
|
subject: import("fumadb/schema").Table<{
|
|
4
4
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
5
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
6
5
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
7
6
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
8
7
|
lastIpAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
@@ -27,7 +26,6 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
27
26
|
}, Omit<{}, "domain" | "subject" | "consentRecords" | "policy"> & {
|
|
28
27
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
29
28
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
30
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
31
29
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
32
30
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
33
31
|
lastIpAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
@@ -99,7 +97,6 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
99
97
|
}, Omit<{}, "consent" | "subject"> & {
|
|
100
98
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
101
99
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
102
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
103
100
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
104
101
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
105
102
|
lastIpAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
@@ -134,7 +131,6 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
134
131
|
}, Omit<{}, "consent" | "subject"> & {
|
|
135
132
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
136
133
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
137
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
138
134
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
139
135
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
140
136
|
lastIpAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
@@ -159,7 +155,6 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
159
155
|
}, Omit<{}, "domain" | "subject" | "consentRecords" | "policy"> & {
|
|
160
156
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
161
157
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
162
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
163
158
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
164
159
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
165
160
|
lastIpAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
@@ -246,7 +241,6 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
246
241
|
}, Omit<{}, "subject"> & {
|
|
247
242
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
248
243
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
249
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
250
244
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
251
245
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
252
246
|
lastIpAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
@@ -283,7 +277,6 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
283
277
|
}, Omit<{}, "domain" | "subject" | "consentRecords" | "policy"> & {
|
|
284
278
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
285
279
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
286
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
287
280
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
288
281
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
289
282
|
lastIpAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
@@ -316,7 +309,6 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
316
309
|
}, Omit<{}, "consent" | "subject"> & {
|
|
317
310
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
318
311
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
319
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
320
312
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
321
313
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
322
314
|
lastIpAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
@@ -355,7 +347,6 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
355
347
|
}, Omit<{}, "subject"> & {
|
|
356
348
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
357
349
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
358
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
359
350
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
360
351
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
361
352
|
lastIpAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
@@ -413,7 +404,6 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
413
404
|
}, Omit<{}, "consent" | "subject"> & {
|
|
414
405
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
415
406
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
416
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
417
407
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
418
408
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
419
409
|
lastIpAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
@@ -459,7 +449,6 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
459
449
|
}, Omit<{}, "subject"> & {
|
|
460
450
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
461
451
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
462
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
463
452
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
464
453
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
465
454
|
lastIpAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
@@ -516,7 +505,6 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
516
505
|
}, Omit<{}, "domain" | "subject" | "consentRecords" | "policy"> & {
|
|
517
506
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
518
507
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
519
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
520
508
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
521
509
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
522
510
|
lastIpAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
@@ -549,7 +537,6 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
549
537
|
}, Omit<{}, "consent" | "subject"> & {
|
|
550
538
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
551
539
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
552
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
553
540
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
554
541
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
555
542
|
lastIpAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
@@ -588,7 +575,6 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
588
575
|
}, Omit<{}, "subject"> & {
|
|
589
576
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
590
577
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
591
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
592
578
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
593
579
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
594
580
|
lastIpAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
@@ -646,7 +632,6 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
646
632
|
}, Omit<{}, "consent" | "subject"> & {
|
|
647
633
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
648
634
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
649
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
650
635
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
651
636
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
652
637
|
lastIpAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
@@ -692,7 +677,6 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
692
677
|
}, Omit<{}, "subject"> & {
|
|
693
678
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
694
679
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
695
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
696
680
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
697
681
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
698
682
|
lastIpAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
@@ -749,7 +733,6 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
749
733
|
}, Omit<{}, "domain" | "subject" | "consentRecords" | "policy"> & {
|
|
750
734
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
751
735
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
752
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
753
736
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
754
737
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
755
738
|
lastIpAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
@@ -782,7 +765,6 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
782
765
|
}, Omit<{}, "consent" | "subject"> & {
|
|
783
766
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
784
767
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
785
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
786
768
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
787
769
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
788
770
|
lastIpAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
@@ -821,7 +803,6 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
821
803
|
}, Omit<{}, "subject"> & {
|
|
822
804
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
823
805
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
824
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
825
806
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
826
807
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
827
808
|
lastIpAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
@@ -895,7 +876,6 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
895
876
|
}, Omit<{}, "consent" | "subject"> & {
|
|
896
877
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
897
878
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
898
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
899
879
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
900
880
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
901
881
|
lastIpAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
@@ -941,7 +921,6 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
941
921
|
}, Omit<{}, "subject"> & {
|
|
942
922
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
943
923
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
944
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
945
924
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
946
925
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
947
926
|
lastIpAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
@@ -983,7 +962,6 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
983
962
|
}, Omit<{}, "subject"> & {
|
|
984
963
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
985
964
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
986
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
987
965
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
988
966
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
989
967
|
lastIpAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
@@ -1008,7 +986,6 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
1008
986
|
}, Omit<{}, "domain" | "subject" | "consentRecords" | "policy"> & {
|
|
1009
987
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
1010
988
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1011
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
1012
989
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1013
990
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1014
991
|
lastIpAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
@@ -1080,7 +1057,6 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
1080
1057
|
}, Omit<{}, "consent" | "subject"> & {
|
|
1081
1058
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
1082
1059
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1083
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
1084
1060
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1085
1061
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1086
1062
|
lastIpAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
@@ -1115,7 +1091,6 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
1115
1091
|
}, Omit<{}, "consent" | "subject"> & {
|
|
1116
1092
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
1117
1093
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1118
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
1119
1094
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1120
1095
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1121
1096
|
lastIpAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
@@ -1140,7 +1115,6 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
1140
1115
|
}, Omit<{}, "domain" | "subject" | "consentRecords" | "policy"> & {
|
|
1141
1116
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
1142
1117
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1143
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
1144
1118
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1145
1119
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1146
1120
|
lastIpAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
@@ -1237,7 +1211,6 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
1237
1211
|
}, Omit<{}, "consent" | "subject"> & {
|
|
1238
1212
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
1239
1213
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1240
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
1241
1214
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1242
1215
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1243
1216
|
lastIpAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
@@ -1262,7 +1235,6 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
1262
1235
|
}, Omit<{}, "domain" | "subject" | "consentRecords" | "policy"> & {
|
|
1263
1236
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
1264
1237
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1265
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
1266
1238
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1267
1239
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1268
1240
|
lastIpAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
@@ -1356,7 +1328,6 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
1356
1328
|
}, Omit<{}, "subject"> & {
|
|
1357
1329
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
1358
1330
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1359
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
1360
1331
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1361
1332
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1362
1333
|
lastIpAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
@@ -1383,7 +1354,6 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
1383
1354
|
}, Omit<{}, "domain" | "subject" | "consentRecords" | "policy"> & {
|
|
1384
1355
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
1385
1356
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1386
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
1387
1357
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1388
1358
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1389
1359
|
lastIpAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
@@ -1429,7 +1399,6 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
1429
1399
|
}, Omit<{}, "subject"> & {
|
|
1430
1400
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
1431
1401
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1432
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
1433
1402
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1434
1403
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1435
1404
|
lastIpAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
@@ -1506,7 +1475,6 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
1506
1475
|
}> | import("fumadb/schema").Schema<"2.0.0", {
|
|
1507
1476
|
subject: import("fumadb/schema").Table<{
|
|
1508
1477
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1509
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
1510
1478
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1511
1479
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1512
1480
|
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
@@ -1528,11 +1496,13 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
1528
1496
|
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1529
1497
|
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1530
1498
|
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1499
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1500
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1501
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1531
1502
|
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1532
|
-
}, Omit<{}, "domain" | "subject" | "policy"> & {
|
|
1503
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & {
|
|
1533
1504
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
1534
1505
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1535
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
1536
1506
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1537
1507
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1538
1508
|
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
@@ -1561,13 +1531,17 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
1561
1531
|
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1562
1532
|
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1563
1533
|
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1534
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1535
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1536
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1564
1537
|
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1565
|
-
}, Omit<{}, "domain" | "subject" | "policy"> & /*elided*/ any>>;
|
|
1538
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
1566
1539
|
}>>;
|
|
1567
1540
|
policy: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
1568
1541
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1569
1542
|
version: import("fumadb/schema").Column<"string", string, string>;
|
|
1570
1543
|
type: import("fumadb/schema").Column<"string", string, string>;
|
|
1544
|
+
hash: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1571
1545
|
effectiveDate: import("fumadb/schema").Column<"timestamp", Date, Date>;
|
|
1572
1546
|
isActive: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
1573
1547
|
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
@@ -1588,8 +1562,53 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
1588
1562
|
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1589
1563
|
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1590
1564
|
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1565
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1566
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1567
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1591
1568
|
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1592
|
-
}, Omit<{}, "domain" | "subject" | "policy"> & /*elided*/ any>>;
|
|
1569
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
1570
|
+
}>>;
|
|
1571
|
+
runtimePolicyDecision: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
1572
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1573
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1574
|
+
policyId: import("fumadb/schema").Column<"string", string, string>;
|
|
1575
|
+
fingerprint: import("fumadb/schema").Column<"string", string, string>;
|
|
1576
|
+
matchedBy: import("fumadb/schema").Column<"string", string, string>;
|
|
1577
|
+
countryCode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1578
|
+
regionCode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1579
|
+
jurisdiction: import("fumadb/schema").Column<"string", string, string>;
|
|
1580
|
+
language: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1581
|
+
model: import("fumadb/schema").Column<"string", string, string>;
|
|
1582
|
+
policyI18n: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1583
|
+
uiMode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1584
|
+
bannerUi: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1585
|
+
dialogUi: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1586
|
+
categories: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1587
|
+
preselectedCategories: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1588
|
+
proofConfig: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1589
|
+
dedupeKey: import("fumadb/schema").Column<"string", string, string>;
|
|
1590
|
+
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
1591
|
+
}, Omit<{}, "consents"> & {
|
|
1592
|
+
consents: import("fumadb/schema").ImplicitRelation<"many", import("fumadb/schema").Table<{
|
|
1593
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1594
|
+
subjectId: import("fumadb/schema").Column<"string", string, string>;
|
|
1595
|
+
domainId: import("fumadb/schema").Column<"string", string, string>;
|
|
1596
|
+
policyId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1597
|
+
purposeIds: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1598
|
+
metadata: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1599
|
+
ipAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1600
|
+
userAgent: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1601
|
+
givenAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
1602
|
+
validUntil: import("fumadb/schema").Column<"timestamp", Date | null, Date | null>;
|
|
1603
|
+
jurisdiction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1604
|
+
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1605
|
+
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1606
|
+
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1607
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1608
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1609
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1610
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1611
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
1593
1612
|
}>>;
|
|
1594
1613
|
}>>;
|
|
1595
1614
|
auditLogs: import("fumadb/schema").ImplicitRelation<"many", import("fumadb/schema").Table<{
|
|
@@ -1607,7 +1626,6 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
1607
1626
|
}, Omit<{}, "subject"> & {
|
|
1608
1627
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
1609
1628
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1610
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
1611
1629
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1612
1630
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1613
1631
|
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
@@ -1638,11 +1656,13 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
1638
1656
|
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1639
1657
|
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1640
1658
|
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1659
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1660
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1661
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1641
1662
|
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1642
|
-
}, Omit<{}, "domain" | "subject" | "policy"> & {
|
|
1663
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & {
|
|
1643
1664
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
1644
1665
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1645
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
1646
1666
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1647
1667
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1648
1668
|
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
@@ -1664,8 +1684,11 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
1664
1684
|
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1665
1685
|
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1666
1686
|
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1687
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1688
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1689
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1667
1690
|
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1668
|
-
}, Omit<{}, "domain" | "subject" | "policy"> & /*elided*/ any>>;
|
|
1691
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
1669
1692
|
auditLogs: import("fumadb/schema").ImplicitRelation<"many", import("fumadb/schema").Table<{
|
|
1670
1693
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1671
1694
|
entityType: import("fumadb/schema").Column<"string", string, string>;
|
|
@@ -1681,7 +1704,6 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
1681
1704
|
}, Omit<{}, "subject"> & {
|
|
1682
1705
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
1683
1706
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1684
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
1685
1707
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1686
1708
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1687
1709
|
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
@@ -1701,6 +1723,7 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
1701
1723
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1702
1724
|
version: import("fumadb/schema").Column<"string", string, string>;
|
|
1703
1725
|
type: import("fumadb/schema").Column<"string", string, string>;
|
|
1726
|
+
hash: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1704
1727
|
effectiveDate: import("fumadb/schema").Column<"timestamp", Date, Date>;
|
|
1705
1728
|
isActive: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
1706
1729
|
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
@@ -1721,8 +1744,53 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
1721
1744
|
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1722
1745
|
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1723
1746
|
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1747
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1748
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1749
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1724
1750
|
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1725
|
-
}, Omit<{}, "domain" | "subject" | "policy"> & /*elided*/ any>>;
|
|
1751
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
1752
|
+
}>>;
|
|
1753
|
+
runtimePolicyDecision: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
1754
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1755
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1756
|
+
policyId: import("fumadb/schema").Column<"string", string, string>;
|
|
1757
|
+
fingerprint: import("fumadb/schema").Column<"string", string, string>;
|
|
1758
|
+
matchedBy: import("fumadb/schema").Column<"string", string, string>;
|
|
1759
|
+
countryCode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1760
|
+
regionCode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1761
|
+
jurisdiction: import("fumadb/schema").Column<"string", string, string>;
|
|
1762
|
+
language: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1763
|
+
model: import("fumadb/schema").Column<"string", string, string>;
|
|
1764
|
+
policyI18n: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1765
|
+
uiMode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1766
|
+
bannerUi: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1767
|
+
dialogUi: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1768
|
+
categories: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1769
|
+
preselectedCategories: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1770
|
+
proofConfig: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1771
|
+
dedupeKey: import("fumadb/schema").Column<"string", string, string>;
|
|
1772
|
+
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
1773
|
+
}, Omit<{}, "consents"> & {
|
|
1774
|
+
consents: import("fumadb/schema").ImplicitRelation<"many", import("fumadb/schema").Table<{
|
|
1775
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1776
|
+
subjectId: import("fumadb/schema").Column<"string", string, string>;
|
|
1777
|
+
domainId: import("fumadb/schema").Column<"string", string, string>;
|
|
1778
|
+
policyId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1779
|
+
purposeIds: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1780
|
+
metadata: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1781
|
+
ipAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1782
|
+
userAgent: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1783
|
+
givenAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
1784
|
+
validUntil: import("fumadb/schema").Column<"timestamp", Date | null, Date | null>;
|
|
1785
|
+
jurisdiction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1786
|
+
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1787
|
+
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1788
|
+
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1789
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1790
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1791
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1792
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1793
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
1726
1794
|
}>>;
|
|
1727
1795
|
}>>;
|
|
1728
1796
|
}>;
|
|
@@ -1730,6 +1798,7 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
1730
1798
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1731
1799
|
version: import("fumadb/schema").Column<"string", string, string>;
|
|
1732
1800
|
type: import("fumadb/schema").Column<"string", string, string>;
|
|
1801
|
+
hash: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1733
1802
|
effectiveDate: import("fumadb/schema").Column<"timestamp", Date, Date>;
|
|
1734
1803
|
isActive: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
1735
1804
|
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
@@ -1750,11 +1819,187 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
1750
1819
|
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1751
1820
|
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1752
1821
|
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1822
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1823
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1824
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1825
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1826
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & {
|
|
1827
|
+
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
1828
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1829
|
+
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1830
|
+
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1831
|
+
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
1832
|
+
updatedAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
1833
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1834
|
+
}, Omit<{}, "consents" | "auditLogs"> & {
|
|
1835
|
+
consents: import("fumadb/schema").ImplicitRelation<"many", import("fumadb/schema").Table<{
|
|
1836
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1837
|
+
subjectId: import("fumadb/schema").Column<"string", string, string>;
|
|
1838
|
+
domainId: import("fumadb/schema").Column<"string", string, string>;
|
|
1839
|
+
policyId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1840
|
+
purposeIds: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1841
|
+
metadata: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1842
|
+
ipAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1843
|
+
userAgent: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1844
|
+
givenAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
1845
|
+
validUntil: import("fumadb/schema").Column<"timestamp", Date | null, Date | null>;
|
|
1846
|
+
jurisdiction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1847
|
+
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1848
|
+
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1849
|
+
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1850
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1851
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1852
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1853
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1854
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
1855
|
+
auditLogs: import("fumadb/schema").ImplicitRelation<"many", import("fumadb/schema").Table<{
|
|
1856
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1857
|
+
entityType: import("fumadb/schema").Column<"string", string, string>;
|
|
1858
|
+
entityId: import("fumadb/schema").Column<"string", string, string>;
|
|
1859
|
+
actionType: import("fumadb/schema").Column<"string", string, string>;
|
|
1860
|
+
subjectId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1861
|
+
ipAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1862
|
+
userAgent: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1863
|
+
changes: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1864
|
+
metadata: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1865
|
+
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
1866
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1867
|
+
}, Omit<{}, "subject"> & {
|
|
1868
|
+
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
1869
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1870
|
+
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1871
|
+
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1872
|
+
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
1873
|
+
updatedAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
1874
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1875
|
+
}, Omit<{}, "consents" | "auditLogs"> & /*elided*/ any>>;
|
|
1876
|
+
}>>;
|
|
1877
|
+
}>>;
|
|
1878
|
+
domain: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
1879
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1880
|
+
name: import("fumadb/schema").Column<"string", string, string>;
|
|
1881
|
+
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
1882
|
+
updatedAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
1883
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1884
|
+
}, Omit<{}, "consents"> & {
|
|
1885
|
+
consents: import("fumadb/schema").ImplicitRelation<"many", import("fumadb/schema").Table<{
|
|
1886
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1887
|
+
subjectId: import("fumadb/schema").Column<"string", string, string>;
|
|
1888
|
+
domainId: import("fumadb/schema").Column<"string", string, string>;
|
|
1889
|
+
policyId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1890
|
+
purposeIds: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1891
|
+
metadata: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1892
|
+
ipAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1893
|
+
userAgent: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1894
|
+
givenAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
1895
|
+
validUntil: import("fumadb/schema").Column<"timestamp", Date | null, Date | null>;
|
|
1896
|
+
jurisdiction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1897
|
+
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1898
|
+
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1899
|
+
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1900
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1901
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1902
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1903
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1904
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
1905
|
+
}>>;
|
|
1906
|
+
policy: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
1907
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1908
|
+
version: import("fumadb/schema").Column<"string", string, string>;
|
|
1909
|
+
type: import("fumadb/schema").Column<"string", string, string>;
|
|
1910
|
+
hash: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1911
|
+
effectiveDate: import("fumadb/schema").Column<"timestamp", Date, Date>;
|
|
1912
|
+
isActive: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
1913
|
+
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
1914
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1915
|
+
}, Omit<{}, "consents"> & /*elided*/ any>>;
|
|
1916
|
+
runtimePolicyDecision: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
1917
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1918
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1919
|
+
policyId: import("fumadb/schema").Column<"string", string, string>;
|
|
1920
|
+
fingerprint: import("fumadb/schema").Column<"string", string, string>;
|
|
1921
|
+
matchedBy: import("fumadb/schema").Column<"string", string, string>;
|
|
1922
|
+
countryCode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1923
|
+
regionCode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1924
|
+
jurisdiction: import("fumadb/schema").Column<"string", string, string>;
|
|
1925
|
+
language: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1926
|
+
model: import("fumadb/schema").Column<"string", string, string>;
|
|
1927
|
+
policyI18n: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1928
|
+
uiMode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1929
|
+
bannerUi: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1930
|
+
dialogUi: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1931
|
+
categories: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1932
|
+
preselectedCategories: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1933
|
+
proofConfig: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1934
|
+
dedupeKey: import("fumadb/schema").Column<"string", string, string>;
|
|
1935
|
+
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
1936
|
+
}, Omit<{}, "consents"> & {
|
|
1937
|
+
consents: import("fumadb/schema").ImplicitRelation<"many", import("fumadb/schema").Table<{
|
|
1938
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1939
|
+
subjectId: import("fumadb/schema").Column<"string", string, string>;
|
|
1940
|
+
domainId: import("fumadb/schema").Column<"string", string, string>;
|
|
1941
|
+
policyId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1942
|
+
purposeIds: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1943
|
+
metadata: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1944
|
+
ipAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1945
|
+
userAgent: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1946
|
+
givenAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
1947
|
+
validUntil: import("fumadb/schema").Column<"timestamp", Date | null, Date | null>;
|
|
1948
|
+
jurisdiction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1949
|
+
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1950
|
+
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1951
|
+
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1952
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1953
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1954
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1955
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1956
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
1957
|
+
}>>;
|
|
1958
|
+
}>>;
|
|
1959
|
+
}>;
|
|
1960
|
+
runtimePolicyDecision: import("fumadb/schema").Table<{
|
|
1961
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1962
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1963
|
+
policyId: import("fumadb/schema").Column<"string", string, string>;
|
|
1964
|
+
fingerprint: import("fumadb/schema").Column<"string", string, string>;
|
|
1965
|
+
matchedBy: import("fumadb/schema").Column<"string", string, string>;
|
|
1966
|
+
countryCode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1967
|
+
regionCode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1968
|
+
jurisdiction: import("fumadb/schema").Column<"string", string, string>;
|
|
1969
|
+
language: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1970
|
+
model: import("fumadb/schema").Column<"string", string, string>;
|
|
1971
|
+
policyI18n: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1972
|
+
uiMode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1973
|
+
bannerUi: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1974
|
+
dialogUi: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1975
|
+
categories: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1976
|
+
preselectedCategories: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1977
|
+
proofConfig: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1978
|
+
dedupeKey: import("fumadb/schema").Column<"string", string, string>;
|
|
1979
|
+
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
1980
|
+
}, Omit<{}, "consents"> & {
|
|
1981
|
+
consents: import("fumadb/schema").ImplicitRelation<"many", import("fumadb/schema").Table<{
|
|
1982
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1983
|
+
subjectId: import("fumadb/schema").Column<"string", string, string>;
|
|
1984
|
+
domainId: import("fumadb/schema").Column<"string", string, string>;
|
|
1985
|
+
policyId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1986
|
+
purposeIds: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1987
|
+
metadata: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
1988
|
+
ipAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1989
|
+
userAgent: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1990
|
+
givenAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
1991
|
+
validUntil: import("fumadb/schema").Column<"timestamp", Date | null, Date | null>;
|
|
1992
|
+
jurisdiction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1993
|
+
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1994
|
+
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1995
|
+
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1996
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1997
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1998
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1753
1999
|
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1754
|
-
}, Omit<{}, "domain" | "subject" | "policy"> & {
|
|
2000
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & {
|
|
1755
2001
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
1756
2002
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1757
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
1758
2003
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1759
2004
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1760
2005
|
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
@@ -1776,8 +2021,11 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
1776
2021
|
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1777
2022
|
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1778
2023
|
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2024
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2025
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2026
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1779
2027
|
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1780
|
-
}, Omit<{}, "domain" | "subject" | "policy"> & /*elided*/ any>>;
|
|
2028
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
1781
2029
|
auditLogs: import("fumadb/schema").ImplicitRelation<"many", import("fumadb/schema").Table<{
|
|
1782
2030
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1783
2031
|
entityType: import("fumadb/schema").Column<"string", string, string>;
|
|
@@ -1793,7 +2041,6 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
1793
2041
|
}, Omit<{}, "subject"> & {
|
|
1794
2042
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
1795
2043
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1796
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
1797
2044
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1798
2045
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1799
2046
|
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
@@ -1824,17 +2071,63 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
1824
2071
|
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1825
2072
|
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1826
2073
|
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2074
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2075
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2076
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1827
2077
|
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1828
|
-
}, Omit<{}, "domain" | "subject" | "policy"> & /*elided*/ any>>;
|
|
2078
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
1829
2079
|
}>>;
|
|
1830
2080
|
policy: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
1831
2081
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1832
2082
|
version: import("fumadb/schema").Column<"string", string, string>;
|
|
1833
2083
|
type: import("fumadb/schema").Column<"string", string, string>;
|
|
2084
|
+
hash: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1834
2085
|
effectiveDate: import("fumadb/schema").Column<"timestamp", Date, Date>;
|
|
1835
2086
|
isActive: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
1836
2087
|
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
1837
2088
|
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2089
|
+
}, Omit<{}, "consents"> & {
|
|
2090
|
+
consents: import("fumadb/schema").ImplicitRelation<"many", import("fumadb/schema").Table<{
|
|
2091
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2092
|
+
subjectId: import("fumadb/schema").Column<"string", string, string>;
|
|
2093
|
+
domainId: import("fumadb/schema").Column<"string", string, string>;
|
|
2094
|
+
policyId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2095
|
+
purposeIds: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2096
|
+
metadata: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2097
|
+
ipAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2098
|
+
userAgent: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2099
|
+
givenAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
2100
|
+
validUntil: import("fumadb/schema").Column<"timestamp", Date | null, Date | null>;
|
|
2101
|
+
jurisdiction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2102
|
+
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2103
|
+
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2104
|
+
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2105
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2106
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2107
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2108
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2109
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
2110
|
+
}>>;
|
|
2111
|
+
runtimePolicyDecision: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
2112
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2113
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2114
|
+
policyId: import("fumadb/schema").Column<"string", string, string>;
|
|
2115
|
+
fingerprint: import("fumadb/schema").Column<"string", string, string>;
|
|
2116
|
+
matchedBy: import("fumadb/schema").Column<"string", string, string>;
|
|
2117
|
+
countryCode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2118
|
+
regionCode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2119
|
+
jurisdiction: import("fumadb/schema").Column<"string", string, string>;
|
|
2120
|
+
language: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2121
|
+
model: import("fumadb/schema").Column<"string", string, string>;
|
|
2122
|
+
policyI18n: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2123
|
+
uiMode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2124
|
+
bannerUi: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2125
|
+
dialogUi: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2126
|
+
categories: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2127
|
+
preselectedCategories: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2128
|
+
proofConfig: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2129
|
+
dedupeKey: import("fumadb/schema").Column<"string", string, string>;
|
|
2130
|
+
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
1838
2131
|
}, Omit<{}, "consents"> & /*elided*/ any>>;
|
|
1839
2132
|
}>>;
|
|
1840
2133
|
}>;
|
|
@@ -1860,11 +2153,13 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
1860
2153
|
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1861
2154
|
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1862
2155
|
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2156
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2157
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2158
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1863
2159
|
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1864
|
-
}, Omit<{}, "domain" | "subject" | "policy"> & {
|
|
2160
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & {
|
|
1865
2161
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
1866
2162
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1867
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
1868
2163
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1869
2164
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1870
2165
|
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
@@ -1886,8 +2181,11 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
1886
2181
|
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1887
2182
|
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1888
2183
|
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2184
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2185
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2186
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1889
2187
|
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1890
|
-
}, Omit<{}, "domain" | "subject" | "policy"> & /*elided*/ any>>;
|
|
2188
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
1891
2189
|
auditLogs: import("fumadb/schema").ImplicitRelation<"many", import("fumadb/schema").Table<{
|
|
1892
2190
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1893
2191
|
entityType: import("fumadb/schema").Column<"string", string, string>;
|
|
@@ -1903,7 +2201,6 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
1903
2201
|
}, Omit<{}, "subject"> & {
|
|
1904
2202
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
1905
2203
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1906
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
1907
2204
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1908
2205
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1909
2206
|
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
@@ -1934,13 +2231,17 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
1934
2231
|
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1935
2232
|
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1936
2233
|
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2234
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2235
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2236
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1937
2237
|
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1938
|
-
}, Omit<{}, "domain" | "subject" | "policy"> & /*elided*/ any>>;
|
|
2238
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
1939
2239
|
}>>;
|
|
1940
2240
|
policy: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
1941
2241
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1942
2242
|
version: import("fumadb/schema").Column<"string", string, string>;
|
|
1943
2243
|
type: import("fumadb/schema").Column<"string", string, string>;
|
|
2244
|
+
hash: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1944
2245
|
effectiveDate: import("fumadb/schema").Column<"timestamp", Date, Date>;
|
|
1945
2246
|
isActive: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
1946
2247
|
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
@@ -1961,8 +2262,53 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
1961
2262
|
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1962
2263
|
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1963
2264
|
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2265
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2266
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2267
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1964
2268
|
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1965
|
-
}, Omit<{}, "domain" | "subject" | "policy"> & /*elided*/ any>>;
|
|
2269
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
2270
|
+
}>>;
|
|
2271
|
+
runtimePolicyDecision: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
2272
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2273
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2274
|
+
policyId: import("fumadb/schema").Column<"string", string, string>;
|
|
2275
|
+
fingerprint: import("fumadb/schema").Column<"string", string, string>;
|
|
2276
|
+
matchedBy: import("fumadb/schema").Column<"string", string, string>;
|
|
2277
|
+
countryCode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2278
|
+
regionCode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2279
|
+
jurisdiction: import("fumadb/schema").Column<"string", string, string>;
|
|
2280
|
+
language: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2281
|
+
model: import("fumadb/schema").Column<"string", string, string>;
|
|
2282
|
+
policyI18n: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2283
|
+
uiMode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2284
|
+
bannerUi: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2285
|
+
dialogUi: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2286
|
+
categories: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2287
|
+
preselectedCategories: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2288
|
+
proofConfig: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2289
|
+
dedupeKey: import("fumadb/schema").Column<"string", string, string>;
|
|
2290
|
+
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
2291
|
+
}, Omit<{}, "consents"> & {
|
|
2292
|
+
consents: import("fumadb/schema").ImplicitRelation<"many", import("fumadb/schema").Table<{
|
|
2293
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2294
|
+
subjectId: import("fumadb/schema").Column<"string", string, string>;
|
|
2295
|
+
domainId: import("fumadb/schema").Column<"string", string, string>;
|
|
2296
|
+
policyId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2297
|
+
purposeIds: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2298
|
+
metadata: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2299
|
+
ipAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2300
|
+
userAgent: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2301
|
+
givenAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
2302
|
+
validUntil: import("fumadb/schema").Column<"timestamp", Date | null, Date | null>;
|
|
2303
|
+
jurisdiction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2304
|
+
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2305
|
+
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2306
|
+
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2307
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2308
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2309
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2310
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2311
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
1966
2312
|
}>>;
|
|
1967
2313
|
}>;
|
|
1968
2314
|
auditLog: import("fumadb/schema").Table<{
|
|
@@ -1980,7 +2326,6 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
1980
2326
|
}, Omit<{}, "subject"> & {
|
|
1981
2327
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
1982
2328
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
1983
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
1984
2329
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1985
2330
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
1986
2331
|
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
@@ -2002,11 +2347,13 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
2002
2347
|
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2003
2348
|
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2004
2349
|
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2350
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2351
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2352
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2005
2353
|
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2006
|
-
}, Omit<{}, "domain" | "subject" | "policy"> & {
|
|
2354
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & {
|
|
2007
2355
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
2008
2356
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2009
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
2010
2357
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2011
2358
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2012
2359
|
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
@@ -2035,13 +2382,17 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
2035
2382
|
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2036
2383
|
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2037
2384
|
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2385
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2386
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2387
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2038
2388
|
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2039
|
-
}, Omit<{}, "domain" | "subject" | "policy"> & /*elided*/ any>>;
|
|
2389
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
2040
2390
|
}>>;
|
|
2041
2391
|
policy: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
2042
2392
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2043
2393
|
version: import("fumadb/schema").Column<"string", string, string>;
|
|
2044
2394
|
type: import("fumadb/schema").Column<"string", string, string>;
|
|
2395
|
+
hash: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2045
2396
|
effectiveDate: import("fumadb/schema").Column<"timestamp", Date, Date>;
|
|
2046
2397
|
isActive: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
2047
2398
|
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
@@ -2062,8 +2413,53 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
2062
2413
|
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2063
2414
|
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2064
2415
|
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2416
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2417
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2418
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2419
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2420
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
2421
|
+
}>>;
|
|
2422
|
+
runtimePolicyDecision: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
2423
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2424
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2425
|
+
policyId: import("fumadb/schema").Column<"string", string, string>;
|
|
2426
|
+
fingerprint: import("fumadb/schema").Column<"string", string, string>;
|
|
2427
|
+
matchedBy: import("fumadb/schema").Column<"string", string, string>;
|
|
2428
|
+
countryCode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2429
|
+
regionCode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2430
|
+
jurisdiction: import("fumadb/schema").Column<"string", string, string>;
|
|
2431
|
+
language: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2432
|
+
model: import("fumadb/schema").Column<"string", string, string>;
|
|
2433
|
+
policyI18n: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2434
|
+
uiMode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2435
|
+
bannerUi: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2436
|
+
dialogUi: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2437
|
+
categories: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2438
|
+
preselectedCategories: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2439
|
+
proofConfig: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2440
|
+
dedupeKey: import("fumadb/schema").Column<"string", string, string>;
|
|
2441
|
+
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
2442
|
+
}, Omit<{}, "consents"> & {
|
|
2443
|
+
consents: import("fumadb/schema").ImplicitRelation<"many", import("fumadb/schema").Table<{
|
|
2444
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2445
|
+
subjectId: import("fumadb/schema").Column<"string", string, string>;
|
|
2446
|
+
domainId: import("fumadb/schema").Column<"string", string, string>;
|
|
2447
|
+
policyId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2448
|
+
purposeIds: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2449
|
+
metadata: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2450
|
+
ipAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2451
|
+
userAgent: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2452
|
+
givenAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
2453
|
+
validUntil: import("fumadb/schema").Column<"timestamp", Date | null, Date | null>;
|
|
2454
|
+
jurisdiction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2455
|
+
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2456
|
+
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2457
|
+
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2458
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2459
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2460
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2065
2461
|
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2066
|
-
}, Omit<{}, "domain" | "subject" | "policy"> & /*elided*/ any>>;
|
|
2462
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
2067
2463
|
}>>;
|
|
2068
2464
|
}>>;
|
|
2069
2465
|
auditLogs: import("fumadb/schema").ImplicitRelation<"many", import("fumadb/schema").Table<{
|
|
@@ -2085,7 +2481,6 @@ export declare const DB: import("fumadb").FumaDBFactory<(import("fumadb/schema")
|
|
|
2085
2481
|
export declare const LatestDB: import("fumadb").FumaDBFactory<import("fumadb/schema").Schema<"2.0.0", {
|
|
2086
2482
|
subject: import("fumadb/schema").Table<{
|
|
2087
2483
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2088
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
2089
2484
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2090
2485
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2091
2486
|
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
@@ -2107,11 +2502,13 @@ export declare const LatestDB: import("fumadb").FumaDBFactory<import("fumadb/sch
|
|
|
2107
2502
|
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2108
2503
|
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2109
2504
|
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2505
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2506
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2507
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2110
2508
|
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2111
|
-
}, Omit<{}, "domain" | "subject" | "policy"> & {
|
|
2509
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & {
|
|
2112
2510
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
2113
2511
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2114
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
2115
2512
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2116
2513
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2117
2514
|
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
@@ -2140,13 +2537,17 @@ export declare const LatestDB: import("fumadb").FumaDBFactory<import("fumadb/sch
|
|
|
2140
2537
|
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2141
2538
|
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2142
2539
|
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2540
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2541
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2542
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2143
2543
|
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2144
|
-
}, Omit<{}, "domain" | "subject" | "policy"> & /*elided*/ any>>;
|
|
2544
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
2145
2545
|
}>>;
|
|
2146
2546
|
policy: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
2147
2547
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2148
2548
|
version: import("fumadb/schema").Column<"string", string, string>;
|
|
2149
2549
|
type: import("fumadb/schema").Column<"string", string, string>;
|
|
2550
|
+
hash: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2150
2551
|
effectiveDate: import("fumadb/schema").Column<"timestamp", Date, Date>;
|
|
2151
2552
|
isActive: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
2152
2553
|
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
@@ -2167,8 +2568,53 @@ export declare const LatestDB: import("fumadb").FumaDBFactory<import("fumadb/sch
|
|
|
2167
2568
|
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2168
2569
|
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2169
2570
|
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2571
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2572
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2573
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2170
2574
|
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2171
|
-
}, Omit<{}, "domain" | "subject" | "policy"> & /*elided*/ any>>;
|
|
2575
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
2576
|
+
}>>;
|
|
2577
|
+
runtimePolicyDecision: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
2578
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2579
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2580
|
+
policyId: import("fumadb/schema").Column<"string", string, string>;
|
|
2581
|
+
fingerprint: import("fumadb/schema").Column<"string", string, string>;
|
|
2582
|
+
matchedBy: import("fumadb/schema").Column<"string", string, string>;
|
|
2583
|
+
countryCode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2584
|
+
regionCode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2585
|
+
jurisdiction: import("fumadb/schema").Column<"string", string, string>;
|
|
2586
|
+
language: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2587
|
+
model: import("fumadb/schema").Column<"string", string, string>;
|
|
2588
|
+
policyI18n: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2589
|
+
uiMode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2590
|
+
bannerUi: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2591
|
+
dialogUi: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2592
|
+
categories: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2593
|
+
preselectedCategories: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2594
|
+
proofConfig: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2595
|
+
dedupeKey: import("fumadb/schema").Column<"string", string, string>;
|
|
2596
|
+
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
2597
|
+
}, Omit<{}, "consents"> & {
|
|
2598
|
+
consents: import("fumadb/schema").ImplicitRelation<"many", import("fumadb/schema").Table<{
|
|
2599
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2600
|
+
subjectId: import("fumadb/schema").Column<"string", string, string>;
|
|
2601
|
+
domainId: import("fumadb/schema").Column<"string", string, string>;
|
|
2602
|
+
policyId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2603
|
+
purposeIds: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2604
|
+
metadata: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2605
|
+
ipAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2606
|
+
userAgent: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2607
|
+
givenAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
2608
|
+
validUntil: import("fumadb/schema").Column<"timestamp", Date | null, Date | null>;
|
|
2609
|
+
jurisdiction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2610
|
+
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2611
|
+
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2612
|
+
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2613
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2614
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2615
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2616
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2617
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
2172
2618
|
}>>;
|
|
2173
2619
|
}>>;
|
|
2174
2620
|
auditLogs: import("fumadb/schema").ImplicitRelation<"many", import("fumadb/schema").Table<{
|
|
@@ -2186,7 +2632,6 @@ export declare const LatestDB: import("fumadb").FumaDBFactory<import("fumadb/sch
|
|
|
2186
2632
|
}, Omit<{}, "subject"> & {
|
|
2187
2633
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
2188
2634
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2189
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
2190
2635
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2191
2636
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2192
2637
|
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
@@ -2217,11 +2662,13 @@ export declare const LatestDB: import("fumadb").FumaDBFactory<import("fumadb/sch
|
|
|
2217
2662
|
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2218
2663
|
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2219
2664
|
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2665
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2666
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2667
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2220
2668
|
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2221
|
-
}, Omit<{}, "domain" | "subject" | "policy"> & {
|
|
2669
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & {
|
|
2222
2670
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
2223
2671
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2224
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
2225
2672
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2226
2673
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2227
2674
|
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
@@ -2243,8 +2690,11 @@ export declare const LatestDB: import("fumadb").FumaDBFactory<import("fumadb/sch
|
|
|
2243
2690
|
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2244
2691
|
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2245
2692
|
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2693
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2694
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2695
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2246
2696
|
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2247
|
-
}, Omit<{}, "domain" | "subject" | "policy"> & /*elided*/ any>>;
|
|
2697
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
2248
2698
|
auditLogs: import("fumadb/schema").ImplicitRelation<"many", import("fumadb/schema").Table<{
|
|
2249
2699
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2250
2700
|
entityType: import("fumadb/schema").Column<"string", string, string>;
|
|
@@ -2260,7 +2710,6 @@ export declare const LatestDB: import("fumadb").FumaDBFactory<import("fumadb/sch
|
|
|
2260
2710
|
}, Omit<{}, "subject"> & {
|
|
2261
2711
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
2262
2712
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2263
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
2264
2713
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2265
2714
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2266
2715
|
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
@@ -2280,6 +2729,7 @@ export declare const LatestDB: import("fumadb").FumaDBFactory<import("fumadb/sch
|
|
|
2280
2729
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2281
2730
|
version: import("fumadb/schema").Column<"string", string, string>;
|
|
2282
2731
|
type: import("fumadb/schema").Column<"string", string, string>;
|
|
2732
|
+
hash: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2283
2733
|
effectiveDate: import("fumadb/schema").Column<"timestamp", Date, Date>;
|
|
2284
2734
|
isActive: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
2285
2735
|
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
@@ -2300,8 +2750,53 @@ export declare const LatestDB: import("fumadb").FumaDBFactory<import("fumadb/sch
|
|
|
2300
2750
|
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2301
2751
|
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2302
2752
|
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2753
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2754
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2755
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2303
2756
|
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2304
|
-
}, Omit<{}, "domain" | "subject" | "policy"> & /*elided*/ any>>;
|
|
2757
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
2758
|
+
}>>;
|
|
2759
|
+
runtimePolicyDecision: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
2760
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2761
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2762
|
+
policyId: import("fumadb/schema").Column<"string", string, string>;
|
|
2763
|
+
fingerprint: import("fumadb/schema").Column<"string", string, string>;
|
|
2764
|
+
matchedBy: import("fumadb/schema").Column<"string", string, string>;
|
|
2765
|
+
countryCode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2766
|
+
regionCode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2767
|
+
jurisdiction: import("fumadb/schema").Column<"string", string, string>;
|
|
2768
|
+
language: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2769
|
+
model: import("fumadb/schema").Column<"string", string, string>;
|
|
2770
|
+
policyI18n: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2771
|
+
uiMode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2772
|
+
bannerUi: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2773
|
+
dialogUi: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2774
|
+
categories: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2775
|
+
preselectedCategories: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2776
|
+
proofConfig: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2777
|
+
dedupeKey: import("fumadb/schema").Column<"string", string, string>;
|
|
2778
|
+
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
2779
|
+
}, Omit<{}, "consents"> & {
|
|
2780
|
+
consents: import("fumadb/schema").ImplicitRelation<"many", import("fumadb/schema").Table<{
|
|
2781
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2782
|
+
subjectId: import("fumadb/schema").Column<"string", string, string>;
|
|
2783
|
+
domainId: import("fumadb/schema").Column<"string", string, string>;
|
|
2784
|
+
policyId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2785
|
+
purposeIds: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2786
|
+
metadata: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2787
|
+
ipAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2788
|
+
userAgent: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2789
|
+
givenAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
2790
|
+
validUntil: import("fumadb/schema").Column<"timestamp", Date | null, Date | null>;
|
|
2791
|
+
jurisdiction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2792
|
+
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2793
|
+
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2794
|
+
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2795
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2796
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2797
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2798
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2799
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
2305
2800
|
}>>;
|
|
2306
2801
|
}>>;
|
|
2307
2802
|
}>;
|
|
@@ -2309,6 +2804,7 @@ export declare const LatestDB: import("fumadb").FumaDBFactory<import("fumadb/sch
|
|
|
2309
2804
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2310
2805
|
version: import("fumadb/schema").Column<"string", string, string>;
|
|
2311
2806
|
type: import("fumadb/schema").Column<"string", string, string>;
|
|
2807
|
+
hash: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2312
2808
|
effectiveDate: import("fumadb/schema").Column<"timestamp", Date, Date>;
|
|
2313
2809
|
isActive: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
2314
2810
|
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
@@ -2329,11 +2825,187 @@ export declare const LatestDB: import("fumadb").FumaDBFactory<import("fumadb/sch
|
|
|
2329
2825
|
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2330
2826
|
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2331
2827
|
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2828
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2829
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2830
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2831
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2832
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & {
|
|
2833
|
+
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
2834
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2835
|
+
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2836
|
+
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2837
|
+
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
2838
|
+
updatedAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
2839
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2840
|
+
}, Omit<{}, "consents" | "auditLogs"> & {
|
|
2841
|
+
consents: import("fumadb/schema").ImplicitRelation<"many", import("fumadb/schema").Table<{
|
|
2842
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2843
|
+
subjectId: import("fumadb/schema").Column<"string", string, string>;
|
|
2844
|
+
domainId: import("fumadb/schema").Column<"string", string, string>;
|
|
2845
|
+
policyId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2846
|
+
purposeIds: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2847
|
+
metadata: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2848
|
+
ipAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2849
|
+
userAgent: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2850
|
+
givenAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
2851
|
+
validUntil: import("fumadb/schema").Column<"timestamp", Date | null, Date | null>;
|
|
2852
|
+
jurisdiction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2853
|
+
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2854
|
+
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2855
|
+
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2856
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2857
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2858
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2859
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2860
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
2861
|
+
auditLogs: import("fumadb/schema").ImplicitRelation<"many", import("fumadb/schema").Table<{
|
|
2862
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2863
|
+
entityType: import("fumadb/schema").Column<"string", string, string>;
|
|
2864
|
+
entityId: import("fumadb/schema").Column<"string", string, string>;
|
|
2865
|
+
actionType: import("fumadb/schema").Column<"string", string, string>;
|
|
2866
|
+
subjectId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2867
|
+
ipAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2868
|
+
userAgent: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2869
|
+
changes: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2870
|
+
metadata: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2871
|
+
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
2872
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2873
|
+
}, Omit<{}, "subject"> & {
|
|
2874
|
+
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
2875
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2876
|
+
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2877
|
+
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2878
|
+
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
2879
|
+
updatedAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
2880
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2881
|
+
}, Omit<{}, "consents" | "auditLogs"> & /*elided*/ any>>;
|
|
2882
|
+
}>>;
|
|
2883
|
+
}>>;
|
|
2884
|
+
domain: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
2885
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2886
|
+
name: import("fumadb/schema").Column<"string", string, string>;
|
|
2887
|
+
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
2888
|
+
updatedAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
2889
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2890
|
+
}, Omit<{}, "consents"> & {
|
|
2891
|
+
consents: import("fumadb/schema").ImplicitRelation<"many", import("fumadb/schema").Table<{
|
|
2892
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2893
|
+
subjectId: import("fumadb/schema").Column<"string", string, string>;
|
|
2894
|
+
domainId: import("fumadb/schema").Column<"string", string, string>;
|
|
2895
|
+
policyId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2896
|
+
purposeIds: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2897
|
+
metadata: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2898
|
+
ipAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2899
|
+
userAgent: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2900
|
+
givenAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
2901
|
+
validUntil: import("fumadb/schema").Column<"timestamp", Date | null, Date | null>;
|
|
2902
|
+
jurisdiction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2903
|
+
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2904
|
+
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2905
|
+
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2906
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2907
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2908
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2909
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2910
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
2911
|
+
}>>;
|
|
2912
|
+
policy: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
2913
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2914
|
+
version: import("fumadb/schema").Column<"string", string, string>;
|
|
2915
|
+
type: import("fumadb/schema").Column<"string", string, string>;
|
|
2916
|
+
hash: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2917
|
+
effectiveDate: import("fumadb/schema").Column<"timestamp", Date, Date>;
|
|
2918
|
+
isActive: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
2919
|
+
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
2920
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2921
|
+
}, Omit<{}, "consents"> & /*elided*/ any>>;
|
|
2922
|
+
runtimePolicyDecision: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
2923
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2924
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2925
|
+
policyId: import("fumadb/schema").Column<"string", string, string>;
|
|
2926
|
+
fingerprint: import("fumadb/schema").Column<"string", string, string>;
|
|
2927
|
+
matchedBy: import("fumadb/schema").Column<"string", string, string>;
|
|
2928
|
+
countryCode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2929
|
+
regionCode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2930
|
+
jurisdiction: import("fumadb/schema").Column<"string", string, string>;
|
|
2931
|
+
language: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2932
|
+
model: import("fumadb/schema").Column<"string", string, string>;
|
|
2933
|
+
policyI18n: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2934
|
+
uiMode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2935
|
+
bannerUi: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2936
|
+
dialogUi: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2937
|
+
categories: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2938
|
+
preselectedCategories: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2939
|
+
proofConfig: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2940
|
+
dedupeKey: import("fumadb/schema").Column<"string", string, string>;
|
|
2941
|
+
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
2942
|
+
}, Omit<{}, "consents"> & {
|
|
2943
|
+
consents: import("fumadb/schema").ImplicitRelation<"many", import("fumadb/schema").Table<{
|
|
2944
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2945
|
+
subjectId: import("fumadb/schema").Column<"string", string, string>;
|
|
2946
|
+
domainId: import("fumadb/schema").Column<"string", string, string>;
|
|
2947
|
+
policyId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2948
|
+
purposeIds: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2949
|
+
metadata: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2950
|
+
ipAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2951
|
+
userAgent: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2952
|
+
givenAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
2953
|
+
validUntil: import("fumadb/schema").Column<"timestamp", Date | null, Date | null>;
|
|
2954
|
+
jurisdiction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2955
|
+
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2956
|
+
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2957
|
+
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2958
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2959
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2960
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2961
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2962
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
2963
|
+
}>>;
|
|
2964
|
+
}>>;
|
|
2965
|
+
}>;
|
|
2966
|
+
runtimePolicyDecision: import("fumadb/schema").Table<{
|
|
2967
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2968
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2969
|
+
policyId: import("fumadb/schema").Column<"string", string, string>;
|
|
2970
|
+
fingerprint: import("fumadb/schema").Column<"string", string, string>;
|
|
2971
|
+
matchedBy: import("fumadb/schema").Column<"string", string, string>;
|
|
2972
|
+
countryCode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2973
|
+
regionCode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2974
|
+
jurisdiction: import("fumadb/schema").Column<"string", string, string>;
|
|
2975
|
+
language: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2976
|
+
model: import("fumadb/schema").Column<"string", string, string>;
|
|
2977
|
+
policyI18n: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2978
|
+
uiMode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2979
|
+
bannerUi: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2980
|
+
dialogUi: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2981
|
+
categories: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2982
|
+
preselectedCategories: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2983
|
+
proofConfig: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2984
|
+
dedupeKey: import("fumadb/schema").Column<"string", string, string>;
|
|
2985
|
+
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
2986
|
+
}, Omit<{}, "consents"> & {
|
|
2987
|
+
consents: import("fumadb/schema").ImplicitRelation<"many", import("fumadb/schema").Table<{
|
|
2988
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2989
|
+
subjectId: import("fumadb/schema").Column<"string", string, string>;
|
|
2990
|
+
domainId: import("fumadb/schema").Column<"string", string, string>;
|
|
2991
|
+
policyId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2992
|
+
purposeIds: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2993
|
+
metadata: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
2994
|
+
ipAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2995
|
+
userAgent: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2996
|
+
givenAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
2997
|
+
validUntil: import("fumadb/schema").Column<"timestamp", Date | null, Date | null>;
|
|
2998
|
+
jurisdiction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2999
|
+
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3000
|
+
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3001
|
+
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3002
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3003
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3004
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2332
3005
|
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2333
|
-
}, Omit<{}, "domain" | "subject" | "policy"> & {
|
|
3006
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & {
|
|
2334
3007
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
2335
3008
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2336
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
2337
3009
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2338
3010
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2339
3011
|
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
@@ -2355,8 +3027,11 @@ export declare const LatestDB: import("fumadb").FumaDBFactory<import("fumadb/sch
|
|
|
2355
3027
|
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2356
3028
|
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2357
3029
|
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3030
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3031
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3032
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2358
3033
|
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2359
|
-
}, Omit<{}, "domain" | "subject" | "policy"> & /*elided*/ any>>;
|
|
3034
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
2360
3035
|
auditLogs: import("fumadb/schema").ImplicitRelation<"many", import("fumadb/schema").Table<{
|
|
2361
3036
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2362
3037
|
entityType: import("fumadb/schema").Column<"string", string, string>;
|
|
@@ -2372,7 +3047,6 @@ export declare const LatestDB: import("fumadb").FumaDBFactory<import("fumadb/sch
|
|
|
2372
3047
|
}, Omit<{}, "subject"> & {
|
|
2373
3048
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
2374
3049
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2375
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
2376
3050
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2377
3051
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2378
3052
|
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
@@ -2403,17 +3077,63 @@ export declare const LatestDB: import("fumadb").FumaDBFactory<import("fumadb/sch
|
|
|
2403
3077
|
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2404
3078
|
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2405
3079
|
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3080
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3081
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3082
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2406
3083
|
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2407
|
-
}, Omit<{}, "domain" | "subject" | "policy"> & /*elided*/ any>>;
|
|
3084
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
2408
3085
|
}>>;
|
|
2409
3086
|
policy: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
2410
3087
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2411
3088
|
version: import("fumadb/schema").Column<"string", string, string>;
|
|
2412
3089
|
type: import("fumadb/schema").Column<"string", string, string>;
|
|
3090
|
+
hash: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2413
3091
|
effectiveDate: import("fumadb/schema").Column<"timestamp", Date, Date>;
|
|
2414
3092
|
isActive: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
2415
3093
|
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
2416
3094
|
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3095
|
+
}, Omit<{}, "consents"> & {
|
|
3096
|
+
consents: import("fumadb/schema").ImplicitRelation<"many", import("fumadb/schema").Table<{
|
|
3097
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
3098
|
+
subjectId: import("fumadb/schema").Column<"string", string, string>;
|
|
3099
|
+
domainId: import("fumadb/schema").Column<"string", string, string>;
|
|
3100
|
+
policyId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3101
|
+
purposeIds: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
3102
|
+
metadata: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
3103
|
+
ipAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3104
|
+
userAgent: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3105
|
+
givenAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
3106
|
+
validUntil: import("fumadb/schema").Column<"timestamp", Date | null, Date | null>;
|
|
3107
|
+
jurisdiction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3108
|
+
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3109
|
+
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3110
|
+
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3111
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3112
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3113
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3114
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3115
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
3116
|
+
}>>;
|
|
3117
|
+
runtimePolicyDecision: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
3118
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
3119
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3120
|
+
policyId: import("fumadb/schema").Column<"string", string, string>;
|
|
3121
|
+
fingerprint: import("fumadb/schema").Column<"string", string, string>;
|
|
3122
|
+
matchedBy: import("fumadb/schema").Column<"string", string, string>;
|
|
3123
|
+
countryCode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3124
|
+
regionCode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3125
|
+
jurisdiction: import("fumadb/schema").Column<"string", string, string>;
|
|
3126
|
+
language: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3127
|
+
model: import("fumadb/schema").Column<"string", string, string>;
|
|
3128
|
+
policyI18n: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
3129
|
+
uiMode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3130
|
+
bannerUi: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
3131
|
+
dialogUi: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
3132
|
+
categories: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
3133
|
+
preselectedCategories: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
3134
|
+
proofConfig: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
3135
|
+
dedupeKey: import("fumadb/schema").Column<"string", string, string>;
|
|
3136
|
+
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
2417
3137
|
}, Omit<{}, "consents"> & /*elided*/ any>>;
|
|
2418
3138
|
}>>;
|
|
2419
3139
|
}>;
|
|
@@ -2439,11 +3159,13 @@ export declare const LatestDB: import("fumadb").FumaDBFactory<import("fumadb/sch
|
|
|
2439
3159
|
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2440
3160
|
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2441
3161
|
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3162
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3163
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3164
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2442
3165
|
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2443
|
-
}, Omit<{}, "domain" | "subject" | "policy"> & {
|
|
3166
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & {
|
|
2444
3167
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
2445
3168
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2446
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
2447
3169
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2448
3170
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2449
3171
|
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
@@ -2465,8 +3187,11 @@ export declare const LatestDB: import("fumadb").FumaDBFactory<import("fumadb/sch
|
|
|
2465
3187
|
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2466
3188
|
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2467
3189
|
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3190
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3191
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3192
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2468
3193
|
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2469
|
-
}, Omit<{}, "domain" | "subject" | "policy"> & /*elided*/ any>>;
|
|
3194
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
2470
3195
|
auditLogs: import("fumadb/schema").ImplicitRelation<"many", import("fumadb/schema").Table<{
|
|
2471
3196
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2472
3197
|
entityType: import("fumadb/schema").Column<"string", string, string>;
|
|
@@ -2482,7 +3207,6 @@ export declare const LatestDB: import("fumadb").FumaDBFactory<import("fumadb/sch
|
|
|
2482
3207
|
}, Omit<{}, "subject"> & {
|
|
2483
3208
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
2484
3209
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2485
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
2486
3210
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2487
3211
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2488
3212
|
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
@@ -2513,13 +3237,17 @@ export declare const LatestDB: import("fumadb").FumaDBFactory<import("fumadb/sch
|
|
|
2513
3237
|
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2514
3238
|
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2515
3239
|
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3240
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3241
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3242
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2516
3243
|
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2517
|
-
}, Omit<{}, "domain" | "subject" | "policy"> & /*elided*/ any>>;
|
|
3244
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
2518
3245
|
}>>;
|
|
2519
3246
|
policy: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
2520
3247
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2521
3248
|
version: import("fumadb/schema").Column<"string", string, string>;
|
|
2522
3249
|
type: import("fumadb/schema").Column<"string", string, string>;
|
|
3250
|
+
hash: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2523
3251
|
effectiveDate: import("fumadb/schema").Column<"timestamp", Date, Date>;
|
|
2524
3252
|
isActive: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
2525
3253
|
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
@@ -2540,8 +3268,53 @@ export declare const LatestDB: import("fumadb").FumaDBFactory<import("fumadb/sch
|
|
|
2540
3268
|
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2541
3269
|
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2542
3270
|
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3271
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3272
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3273
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2543
3274
|
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2544
|
-
}, Omit<{}, "domain" | "subject" | "policy"> & /*elided*/ any>>;
|
|
3275
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
3276
|
+
}>>;
|
|
3277
|
+
runtimePolicyDecision: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
3278
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
3279
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3280
|
+
policyId: import("fumadb/schema").Column<"string", string, string>;
|
|
3281
|
+
fingerprint: import("fumadb/schema").Column<"string", string, string>;
|
|
3282
|
+
matchedBy: import("fumadb/schema").Column<"string", string, string>;
|
|
3283
|
+
countryCode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3284
|
+
regionCode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3285
|
+
jurisdiction: import("fumadb/schema").Column<"string", string, string>;
|
|
3286
|
+
language: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3287
|
+
model: import("fumadb/schema").Column<"string", string, string>;
|
|
3288
|
+
policyI18n: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
3289
|
+
uiMode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3290
|
+
bannerUi: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
3291
|
+
dialogUi: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
3292
|
+
categories: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
3293
|
+
preselectedCategories: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
3294
|
+
proofConfig: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
3295
|
+
dedupeKey: import("fumadb/schema").Column<"string", string, string>;
|
|
3296
|
+
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
3297
|
+
}, Omit<{}, "consents"> & {
|
|
3298
|
+
consents: import("fumadb/schema").ImplicitRelation<"many", import("fumadb/schema").Table<{
|
|
3299
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
3300
|
+
subjectId: import("fumadb/schema").Column<"string", string, string>;
|
|
3301
|
+
domainId: import("fumadb/schema").Column<"string", string, string>;
|
|
3302
|
+
policyId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3303
|
+
purposeIds: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
3304
|
+
metadata: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
3305
|
+
ipAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3306
|
+
userAgent: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3307
|
+
givenAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
3308
|
+
validUntil: import("fumadb/schema").Column<"timestamp", Date | null, Date | null>;
|
|
3309
|
+
jurisdiction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3310
|
+
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3311
|
+
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3312
|
+
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3313
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3314
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3315
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3316
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3317
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
2545
3318
|
}>>;
|
|
2546
3319
|
}>;
|
|
2547
3320
|
auditLog: import("fumadb/schema").Table<{
|
|
@@ -2559,7 +3332,6 @@ export declare const LatestDB: import("fumadb").FumaDBFactory<import("fumadb/sch
|
|
|
2559
3332
|
}, Omit<{}, "subject"> & {
|
|
2560
3333
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
2561
3334
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2562
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
2563
3335
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2564
3336
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2565
3337
|
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
@@ -2581,11 +3353,13 @@ export declare const LatestDB: import("fumadb").FumaDBFactory<import("fumadb/sch
|
|
|
2581
3353
|
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2582
3354
|
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2583
3355
|
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3356
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3357
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3358
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2584
3359
|
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2585
|
-
}, Omit<{}, "domain" | "subject" | "policy"> & {
|
|
3360
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & {
|
|
2586
3361
|
subject: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
2587
3362
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2588
|
-
isIdentified: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
2589
3363
|
externalId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2590
3364
|
identityProvider: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2591
3365
|
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
@@ -2614,13 +3388,17 @@ export declare const LatestDB: import("fumadb").FumaDBFactory<import("fumadb/sch
|
|
|
2614
3388
|
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2615
3389
|
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2616
3390
|
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3391
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3392
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3393
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2617
3394
|
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2618
|
-
}, Omit<{}, "domain" | "subject" | "policy"> & /*elided*/ any>>;
|
|
3395
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
2619
3396
|
}>>;
|
|
2620
3397
|
policy: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
2621
3398
|
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
2622
3399
|
version: import("fumadb/schema").Column<"string", string, string>;
|
|
2623
3400
|
type: import("fumadb/schema").Column<"string", string, string>;
|
|
3401
|
+
hash: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2624
3402
|
effectiveDate: import("fumadb/schema").Column<"timestamp", Date, Date>;
|
|
2625
3403
|
isActive: import("fumadb/schema").Column<"bool", boolean | null, boolean>;
|
|
2626
3404
|
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
@@ -2641,8 +3419,53 @@ export declare const LatestDB: import("fumadb").FumaDBFactory<import("fumadb/sch
|
|
|
2641
3419
|
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2642
3420
|
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2643
3421
|
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3422
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3423
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3424
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3425
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3426
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
3427
|
+
}>>;
|
|
3428
|
+
runtimePolicyDecision: import("fumadb/schema").ExplicitRelation<"one", import("fumadb/schema").Table<{
|
|
3429
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
3430
|
+
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3431
|
+
policyId: import("fumadb/schema").Column<"string", string, string>;
|
|
3432
|
+
fingerprint: import("fumadb/schema").Column<"string", string, string>;
|
|
3433
|
+
matchedBy: import("fumadb/schema").Column<"string", string, string>;
|
|
3434
|
+
countryCode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3435
|
+
regionCode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3436
|
+
jurisdiction: import("fumadb/schema").Column<"string", string, string>;
|
|
3437
|
+
language: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3438
|
+
model: import("fumadb/schema").Column<"string", string, string>;
|
|
3439
|
+
policyI18n: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
3440
|
+
uiMode: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3441
|
+
bannerUi: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
3442
|
+
dialogUi: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
3443
|
+
categories: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
3444
|
+
preselectedCategories: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
3445
|
+
proofConfig: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
3446
|
+
dedupeKey: import("fumadb/schema").Column<"string", string, string>;
|
|
3447
|
+
createdAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
3448
|
+
}, Omit<{}, "consents"> & {
|
|
3449
|
+
consents: import("fumadb/schema").ImplicitRelation<"many", import("fumadb/schema").Table<{
|
|
3450
|
+
id: import("fumadb/schema").IdColumn<"varchar(255)", string, string>;
|
|
3451
|
+
subjectId: import("fumadb/schema").Column<"string", string, string>;
|
|
3452
|
+
domainId: import("fumadb/schema").Column<"string", string, string>;
|
|
3453
|
+
policyId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3454
|
+
purposeIds: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
3455
|
+
metadata: import("fumadb/schema").Column<"json", unknown, unknown>;
|
|
3456
|
+
ipAddress: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3457
|
+
userAgent: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3458
|
+
givenAt: import("fumadb/schema").Column<"timestamp", Date | null, Date>;
|
|
3459
|
+
validUntil: import("fumadb/schema").Column<"timestamp", Date | null, Date | null>;
|
|
3460
|
+
jurisdiction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3461
|
+
jurisdictionModel: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3462
|
+
tcString: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3463
|
+
uiSource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3464
|
+
consentAction: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3465
|
+
runtimePolicyDecisionId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
3466
|
+
runtimePolicySource: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2644
3467
|
tenantId: import("fumadb/schema").Column<"string", string | null, string | null>;
|
|
2645
|
-
}, Omit<{}, "domain" | "subject" | "policy"> & /*elided*/ any>>;
|
|
3468
|
+
}, Omit<{}, "domain" | "subject" | "policy" | "runtimePolicyDecision"> & /*elided*/ any>>;
|
|
2646
3469
|
}>>;
|
|
2647
3470
|
}>>;
|
|
2648
3471
|
auditLogs: import("fumadb/schema").ImplicitRelation<"many", import("fumadb/schema").Table<{
|
|
@@ -2661,4 +3484,3 @@ export declare const LatestDB: import("fumadb").FumaDBFactory<import("fumadb/sch
|
|
|
2661
3484
|
}>>;
|
|
2662
3485
|
}>;
|
|
2663
3486
|
}>[]>;
|
|
2664
|
-
//# sourceMappingURL=index.d.ts.map
|