@wildo-ai/saas-models 1.1.2 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/__tests__/setup.d.ts.map +1 -1
- package/dist/esm/_inspect.d.ts.map +1 -1
- package/dist/esm/applications/application-metadata.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/applications/application-subject.shared.schemas.d.ts.map +1 -1
- package/dist/esm/applications/application-versions.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/applications/applications-context.schemas.d.ts +14 -10
- package/dist/esm/applications/applications-context.schemas.d.ts.map +1 -1
- package/dist/esm/applications/applications.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/applications/applications.shared.resources-config.schemas.js +4 -3
- package/dist/esm/applications/applications.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/applications/applications.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/billing-account.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/billing-account.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/billing-configuration.shared.schemas.d.ts +0 -4
- package/dist/esm/billing/billing-configuration.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/billing-configuration.shared.schemas.js +59 -17
- package/dist/esm/billing/billing-configuration.shared.schemas.js.map +1 -1
- package/dist/esm/billing/billing-enums.shared.schemas.d.ts +77 -21
- package/dist/esm/billing/billing-enums.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/billing-enums.shared.schemas.js +85 -23
- package/dist/esm/billing/billing-enums.shared.schemas.js.map +1 -1
- package/dist/esm/billing/billing-types.shared.schemas.d.ts +4 -3
- package/dist/esm/billing/billing-types.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/billing-types.shared.schemas.js +45 -0
- package/dist/esm/billing/billing-types.shared.schemas.js.map +1 -1
- package/dist/esm/billing/credit-pool.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/credit-pool.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/invoice-ref.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/invoice-ref.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/price.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/price.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/price.shared.schemas.js +7 -1
- package/dist/esm/billing/price.shared.schemas.js.map +1 -1
- package/dist/esm/billing/product-behavior-policy.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/product-behavior-policy.shared.schemas.js +52 -11
- package/dist/esm/billing/product-behavior-policy.shared.schemas.js.map +1 -1
- package/dist/esm/billing/product-definition.shared.schemas.d.ts +2 -2
- package/dist/esm/billing/product-definition.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/product.shared.resources-config.schemas.d.ts +2 -2
- package/dist/esm/billing/product.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/product.shared.schemas.d.ts +2 -2
- package/dist/esm/billing/product.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/product.shared.schemas.js +7 -3
- package/dist/esm/billing/product.shared.schemas.js.map +1 -1
- package/dist/esm/billing/promotions.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/promotions.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/referral.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/referral.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/subscription.shared.resources-config.schemas.d.ts +1 -1
- package/dist/esm/billing/subscription.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/subscription.shared.resources-config.schemas.js +15 -1
- package/dist/esm/billing/subscription.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/subscription.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/usage-record.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/usage-record.shared.schemas.d.ts +7 -3
- package/dist/esm/billing/usage-record.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/usage-record.shared.schemas.js +22 -3
- package/dist/esm/billing/usage-record.shared.schemas.js.map +1 -1
- package/dist/esm/charts/aggregation-query.shared.schemas.d.ts.map +1 -1
- package/dist/esm/charts/chart-definition-builder.shared.d.ts.map +1 -1
- package/dist/esm/companion/provider-discovery.shared.schemas.d.ts +71 -2
- package/dist/esm/companion/provider-discovery.shared.schemas.d.ts.map +1 -1
- package/dist/esm/companion/provider-discovery.shared.schemas.js +20 -1
- package/dist/esm/companion/provider-discovery.shared.schemas.js.map +1 -1
- package/dist/esm/companion/shared-library-companion.shared.definitions.d.ts.map +1 -1
- package/dist/esm/companion-exports.d.ts.map +1 -1
- package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.d.ts +85 -0
- package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.js +157 -0
- package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/compliance/audit-trails/audit-log-sink.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.d.ts +23 -0
- package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.js +56 -0
- package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.d.ts +658 -26
- package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.d.ts.map +1 -1
- package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.js +873 -27
- package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.js.map +1 -1
- package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.d.ts.map +1 -1
- package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.js +104 -3
- package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.js.map +1 -1
- package/dist/esm/compliance/documents/governed-documents.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/client-storage.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/data-retention.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/impersonalization-scrub.shared.utils.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/impersonalization.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.d.ts +54 -26
- package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.js +132 -3
- package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/personal-data-category.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/personal-data-declaration.shared.utils.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/privacy.shared.schemas.d.ts +17 -0
- package/dist/esm/compliance/privacy/privacy.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/privacy.shared.schemas.js +27 -4
- package/dist/esm/compliance/privacy/privacy.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/redaction.shared.schemas.d.ts +82 -29
- package/dist/esm/compliance/privacy/redaction.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/redaction.shared.schemas.js +95 -29
- package/dist/esm/compliance/privacy/redaction.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/subject-export-render.shared.utils.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/subject-export.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/subject-export.shared.schemas.js +12 -5
- package/dist/esm/compliance/privacy/subject-export.shared.schemas.js.map +1 -1
- package/dist/esm/config/analytics-value-moments.shared.schemas.d.ts +21 -0
- package/dist/esm/config/analytics-value-moments.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/analytics-value-moments.shared.schemas.js +20 -0
- package/dist/esm/config/analytics-value-moments.shared.schemas.js.map +1 -1
- package/dist/esm/config/app-configuration-shared.shared.schemas.d.ts +7 -5
- package/dist/esm/config/app-configuration-shared.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/auth-config-resolution.shared.utils.d.ts +8 -1
- package/dist/esm/config/auth-config-resolution.shared.utils.d.ts.map +1 -1
- package/dist/esm/config/auth-config-resolution.shared.utils.js +29 -0
- package/dist/esm/config/auth-config-resolution.shared.utils.js.map +1 -1
- package/dist/esm/config/brand-assets.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/entity-identity-config.shared.schemas.d.ts +95 -17
- package/dist/esm/config/entity-identity-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/entity-identity-config.shared.schemas.js +86 -8
- package/dist/esm/config/entity-identity-config.shared.schemas.js.map +1 -1
- package/dist/esm/config/frontend/chart-definition.shared.schemas.d.ts +26 -26
- package/dist/esm/config/frontend/chart-definition.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/frontend/chart-registration-alignment.shared.d.ts +139 -3
- package/dist/esm/config/frontend/chart-registration-alignment.shared.d.ts.map +1 -1
- package/dist/esm/config/frontend/chart-registration-alignment.shared.js +151 -4
- package/dist/esm/config/frontend/chart-registration-alignment.shared.js.map +1 -1
- package/dist/esm/config/frontend/navigation.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/frontend/onboarding.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/registration-acquisition-policy.shared.utils.d.ts.map +1 -1
- package/dist/esm/config-authoring.entry.d.ts.map +1 -1
- package/dist/esm/crdt/crdt-merge.shared.utils.d.ts.map +1 -1
- package/dist/esm/data-seeding/data-seeding-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/errors/errors.custom-message-ref.shared.definitions.d.ts +34 -0
- package/dist/esm/errors/errors.custom-message-ref.shared.definitions.d.ts.map +1 -1
- package/dist/esm/errors/errors.custom-message-ref.shared.definitions.js +34 -0
- package/dist/esm/errors/errors.custom-message-ref.shared.definitions.js.map +1 -1
- package/dist/esm/errors/errors.shared.definitions.d.ts.map +1 -1
- package/dist/esm/errors/errors.shared.schemas.d.ts.map +1 -1
- package/dist/esm/errors/errors.shared.utils.d.ts.map +1 -1
- package/dist/esm/external-data/external-data-pipeline.shared.schemas.d.ts +45 -12
- package/dist/esm/external-data/external-data-pipeline.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-data/external-data-pipeline.shared.schemas.js.map +1 -1
- package/dist/esm/external-data.exports.d.ts.map +1 -1
- package/dist/esm/external-providers/compose-provider-registry.shared.d.ts.map +1 -1
- package/dist/esm/external-providers/engine-capabilities.shared.schemas.d.ts +110 -58
- package/dist/esm/external-providers/engine-capabilities.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/engine-capabilities.shared.schemas.js +183 -15
- package/dist/esm/external-providers/engine-capabilities.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/engine-capability-resolution-mode.shared.d.ts +15 -3
- package/dist/esm/external-providers/engine-capability-resolution-mode.shared.d.ts.map +1 -1
- package/dist/esm/external-providers/engine-capability-resolution-mode.shared.js +32 -5
- package/dist/esm/external-providers/engine-capability-resolution-mode.shared.js.map +1 -1
- package/dist/esm/external-providers/external-providers.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.d.ts +87 -7
- package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.d.ts +59 -0
- package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.d.ts.map +1 -0
- package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.js +61 -0
- package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.js.map +1 -0
- package/dist/esm/external-providers/frontend-capability-runtime.shared.types.d.ts +97 -0
- package/dist/esm/external-providers/frontend-capability-runtime.shared.types.d.ts.map +1 -0
- package/dist/esm/external-providers/frontend-capability-runtime.shared.types.js +41 -0
- package/dist/esm/external-providers/frontend-capability-runtime.shared.types.js.map +1 -0
- package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.d.ts +205 -2
- package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.js +85 -1
- package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/frontend-provider-public-config.shared.d.ts +175 -0
- package/dist/esm/external-providers/frontend-provider-public-config.shared.d.ts.map +1 -0
- package/dist/esm/external-providers/frontend-provider-public-config.shared.js +207 -0
- package/dist/esm/external-providers/frontend-provider-public-config.shared.js.map +1 -0
- package/dist/esm/external-providers/provider-capability.shared.schemas.d.ts +5 -28
- package/dist/esm/external-providers/provider-capability.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-capability.shared.schemas.js +4 -2
- package/dist/esm/external-providers/provider-capability.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.d.ts +28 -8
- package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.js +15 -4
- package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.d.ts +165 -0
- package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.d.ts.map +1 -0
- package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.js +39 -0
- package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.js.map +1 -0
- package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.d.ts +338 -0
- package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.d.ts.map +1 -0
- package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.js +332 -0
- package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.js.map +1 -0
- package/dist/esm/external-providers/provider-metadata.shared.schemas.d.ts +178 -9
- package/dist/esm/external-providers/provider-metadata.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-metadata.shared.schemas.js +181 -9
- package/dist/esm/external-providers/provider-metadata.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-protocol.shared.schemas.d.ts +7 -5
- package/dist/esm/external-providers/provider-protocol.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-protocol.shared.schemas.js +7 -5
- package/dist/esm/external-providers/provider-protocol.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-tier-rule.shared.utils.d.ts +40 -0
- package/dist/esm/external-providers/provider-tier-rule.shared.utils.d.ts.map +1 -0
- package/dist/esm/external-providers/provider-tier-rule.shared.utils.js +80 -0
- package/dist/esm/external-providers/provider-tier-rule.shared.utils.js.map +1 -0
- package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.d.ts.map +1 -1
- package/dist/esm/features/application-features.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/features/application-features.shared.resources-config.schemas.js +12 -0
- package/dist/esm/features/application-features.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/features/core-feature-definitions.shared.d.ts.map +1 -1
- package/dist/esm/features/core-feature-definitions.shared.js +7 -1
- package/dist/esm/features/core-feature-definitions.shared.js.map +1 -1
- package/dist/esm/features/feature-builders.shared.d.ts +32 -0
- package/dist/esm/features/feature-builders.shared.d.ts.map +1 -1
- package/dist/esm/features/feature-builders.shared.js +32 -0
- package/dist/esm/features/feature-builders.shared.js.map +1 -1
- package/dist/esm/features/feature-definition.shared.schemas.d.ts.map +1 -1
- package/dist/esm/features/feature-registry.shared.d.ts.map +1 -1
- package/dist/esm/features/feature-resolution.shared.schemas.d.ts.map +1 -1
- package/dist/esm/features/scope-features.shared.schemas.d.ts.map +1 -1
- package/dist/esm/features/user-features.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/features/user-features.shared.resources-config.schemas.js +12 -0
- package/dist/esm/features/user-features.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/files/file-remote-reference-link.shared.schemas.d.ts +73 -0
- package/dist/esm/files/file-remote-reference-link.shared.schemas.d.ts.map +1 -0
- package/dist/esm/files/file-remote-reference-link.shared.schemas.js +62 -0
- package/dist/esm/files/file-remote-reference-link.shared.schemas.js.map +1 -0
- package/dist/esm/files/file-upload-grant.shared.schemas.d.ts +14 -2
- package/dist/esm/files/file-upload-grant.shared.schemas.d.ts.map +1 -1
- package/dist/esm/files/file-upload-grant.shared.schemas.js +44 -5
- package/dist/esm/files/file-upload-grant.shared.schemas.js.map +1 -1
- package/dist/esm/files/files.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/files/files.shared.schemas.d.ts +15 -8
- package/dist/esm/files/files.shared.schemas.d.ts.map +1 -1
- package/dist/esm/files/files.shared.schemas.js +15 -8
- package/dist/esm/files/files.shared.schemas.js.map +1 -1
- package/dist/esm/files/files.shared.utils.d.ts.map +1 -1
- package/dist/esm/flows-actors/a2a-push-delivery-log.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/a2a-push-delivery-log.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/a2a-token-budget-state.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/a2a-token-budget-state.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/actors.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/actors.shared.schemas.js +3 -2
- package/dist/esm/flows-actors/actors.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/agent-traceability.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/agents.shared.schemas.d.ts +54 -5
- package/dist/esm/flows-actors/agents.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/agents.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/apps-blueprint/apps-blueprint.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/apps-blueprint/artifacts.apps-blueprint.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/deliberation.shared.schemas.d.ts +0 -3
- package/dist/esm/flows-actors/deliberation.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/deliberation.shared.schemas.js +0 -5
- package/dist/esm/flows-actors/deliberation.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/flows-actors-execution.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.d.ts +14 -0
- package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.js +40 -3
- package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/flows-actors-task.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/flows-actors-task.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.d.ts +19 -0
- package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.js +33 -0
- package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/flows-actors.io.shared.schemas.d.ts +14 -9
- package/dist/esm/flows-actors/flows-actors.io.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/flows-actors.io.shared.schemas.js +14 -9
- package/dist/esm/flows-actors/flows-actors.io.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/flows-actors.system.shared.definitions.d.ts.map +1 -1
- package/dist/esm/flows-actors/flows-actors.system.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/flows-actors.system.shared.schemas.js +3 -2
- package/dist/esm/flows-actors/flows-actors.system.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/flows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/flows.shared.schemas.js +3 -2
- package/dist/esm/flows-actors/flows.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/mcp-servers.shared.schemas.d.ts +130 -0
- package/dist/esm/flows-actors/mcp-servers.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/mcp-servers.shared.schemas.js +153 -0
- package/dist/esm/flows-actors/mcp-servers.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/meta-workflows/actions.meta-workflows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.d.ts +0 -3
- package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.js +1 -4
- package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/meta-workflows/catalog.meta-workflows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/meta-workflows/context-selection.meta-workflows.shared.schemas.d.ts +0 -16
- package/dist/esm/flows-actors/meta-workflows/context-selection.meta-workflows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/meta-workflows/context-selection.meta-workflows.shared.schemas.js +1 -17
- package/dist/esm/flows-actors/meta-workflows/context-selection.meta-workflows.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/meta-workflows/continuity-identifiers.meta-workflows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/meta-workflows/decisions.meta-workflows.shared.schemas.d.ts +3 -3
- package/dist/esm/flows-actors/meta-workflows/decisions.meta-workflows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/meta-workflows/decisions.meta-workflows.shared.schemas.js +3 -3
- package/dist/esm/flows-actors/meta-workflows/decisions.meta-workflows.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.d.ts +2 -8
- package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.js +4 -15
- package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/meta-workflows/portable-primitives.meta-workflows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/prompt-ir.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/task-continuity-binding.actors.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/tasks.actors.shared.schemas.d.ts.map +1 -1
- package/dist/esm/frontend-definitions/settings-destination-ref.definitions.d.ts +112 -0
- package/dist/esm/frontend-definitions/settings-destination-ref.definitions.d.ts.map +1 -0
- package/dist/esm/frontend-definitions/settings-destination-ref.definitions.js +113 -0
- package/dist/esm/frontend-definitions/settings-destination-ref.definitions.js.map +1 -0
- package/dist/esm/guidance/guidance-flow.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/guidance-state.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/guidance-state.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/guidance-state.shared.utils.d.ts.map +1 -1
- package/dist/esm/guidance/guidance-state.shared.utils.js +1 -0
- package/dist/esm/guidance/guidance-state.shared.utils.js.map +1 -1
- package/dist/esm/guidance/lifecycle-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/lifecycle-state.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/lifecycle-state.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/milestone-builders.shared.d.ts.map +1 -1
- package/dist/esm/guidance/milestone-definition.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/progression-state.shared.resources-config.schemas.d.ts +8 -0
- package/dist/esm/guidance/progression-state.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/progression-state.shared.schemas.d.ts +46 -0
- package/dist/esm/guidance/progression-state.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/progression-state.shared.schemas.js +49 -0
- package/dist/esm/guidance/progression-state.shared.schemas.js.map +1 -1
- package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.d.ts.map +1 -1
- package/dist/esm/http-api-binding/http-api-binding.shared.schemas.d.ts +320 -50
- package/dist/esm/http-api-binding/http-api-binding.shared.schemas.d.ts.map +1 -1
- package/dist/esm/http-api-binding/http-api-binding.shared.schemas.js +137 -36
- package/dist/esm/http-api-binding/http-api-binding.shared.schemas.js.map +1 -1
- package/dist/esm/i18n/labelling.dto.shared.schemas.d.ts.map +1 -1
- package/dist/esm/index.d.ts +15 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +15 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/meta-workflows.exports.d.ts.map +1 -1
- package/dist/esm/monitoring/monitoring.shared.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/email/email-context.shared.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/email/email-template-registry.shared.schemas.d.ts +11 -2
- package/dist/esm/notifications/email/email-template-registry.shared.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/email/email-template-registry.shared.schemas.js.map +1 -1
- package/dist/esm/notifications/email/email-template.shared.enums.d.ts +15 -0
- package/dist/esm/notifications/email/email-template.shared.enums.d.ts.map +1 -1
- package/dist/esm/notifications/email/email-template.shared.enums.js +15 -0
- package/dist/esm/notifications/email/email-template.shared.enums.js.map +1 -1
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-contract.shared.d.ts.map +1 -1
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.d.ts +1 -0
- package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.js +19 -0
- package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/notifications/m2m/webhook-config.shared.schemas.d.ts +30 -0
- package/dist/esm/notifications/m2m/webhook-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/m2m/webhook-config.shared.schemas.js +65 -1
- package/dist/esm/notifications/m2m/webhook-config.shared.schemas.js.map +1 -1
- package/dist/esm/notifications/notification-badges.core.definitions.d.ts +6 -4
- package/dist/esm/notifications/notification-badges.core.definitions.d.ts.map +1 -1
- package/dist/esm/notifications/notification-badges.core.definitions.js +6 -4
- package/dist/esm/notifications/notification-badges.core.definitions.js.map +1 -1
- package/dist/esm/notifications/notification-badges.schemas.d.ts +167 -5
- package/dist/esm/notifications/notification-badges.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/notification-badges.schemas.js +191 -6
- package/dist/esm/notifications/notification-badges.schemas.js.map +1 -1
- package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/notifications.shared.schemas.d.ts +158 -0
- package/dist/esm/notifications/notifications.shared.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/notifications.shared.schemas.js +200 -1
- package/dist/esm/notifications/notifications.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-features.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-features.shared.resources-config.schemas.js +13 -0
- package/dist/esm/organizations/organization-features.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-members.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-members.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-notifications.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-notifications.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-notifications.shared.schemas.js +22 -1
- package/dist/esm/organizations/organization-notifications.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-preferences.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-preferences.shared.schemas.d.ts +26 -0
- package/dist/esm/organizations/organization-preferences.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-preferences.shared.schemas.js +25 -0
- package/dist/esm/organizations/organization-preferences.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-profile.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-profile.shared.schemas.d.ts +25 -0
- package/dist/esm/organizations/organization-profile.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-profile.shared.schemas.js +42 -17
- package/dist/esm/organizations/organization-profile.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-unit-inheritance.shared.d.ts.map +1 -1
- package/dist/esm/organizations/organization-unit-members.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-unit-members.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-unit-narrowing-decision.shared.d.ts.map +1 -1
- package/dist/esm/organizations/organization-unit-narrowing.example.d.ts.map +1 -1
- package/dist/esm/organizations/organization-unit-narrowing.shared.d.ts +3 -2
- package/dist/esm/organizations/organization-unit-narrowing.shared.d.ts.map +1 -1
- package/dist/esm/organizations/organization-unit-narrowing.shared.js +9 -2
- package/dist/esm/organizations/organization-unit-narrowing.shared.js.map +1 -1
- package/dist/esm/organizations/organization-units.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-units.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organizations.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organizations.shared.resources-config.schemas.js +18 -3
- package/dist/esm/organizations/organizations.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organizations.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/tenant-teardown-config.shared.schemas.d.ts +13 -0
- package/dist/esm/organizations/tenant-teardown-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/tenant-teardown-config.shared.schemas.js +13 -0
- package/dist/esm/organizations/tenant-teardown-config.shared.schemas.js.map +1 -1
- package/dist/esm/provider-registration-runtime.exports.d.ts.map +1 -1
- package/dist/esm/public-runtime/index.d.ts +71 -2
- package/dist/esm/public-runtime/index.d.ts.map +1 -1
- package/dist/esm/public-runtime/index.js +62 -1
- package/dist/esm/public-runtime/index.js.map +1 -1
- package/dist/esm/queue/jobs.shared.resources-config.schemas.d.ts +6 -5
- package/dist/esm/queue/jobs.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/queue/jobs.shared.resources-config.schemas.js +6 -5
- package/dist/esm/queue/jobs.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/queue/jobs.shared.schemas.d.ts +16 -3
- package/dist/esm/queue/jobs.shared.schemas.d.ts.map +1 -1
- package/dist/esm/queue/jobs.shared.schemas.js +16 -3
- package/dist/esm/queue/jobs.shared.schemas.js.map +1 -1
- package/dist/esm/queue/jobs.shared.utils.d.ts.map +1 -1
- package/dist/esm/queue/queues.shared.schemas.d.ts.map +1 -1
- package/dist/esm/queue/queues.shared.utils.d.ts.map +1 -1
- package/dist/esm/requests/manual-controllers-routes-documentation.d.ts +137 -0
- package/dist/esm/requests/manual-controllers-routes-documentation.d.ts.map +1 -0
- package/dist/esm/requests/manual-controllers-routes-documentation.js +1255 -0
- package/dist/esm/requests/manual-controllers-routes-documentation.js.map +1 -0
- package/dist/esm/requests/manual-controllers-routes-urls.d.ts +114 -0
- package/dist/esm/requests/manual-controllers-routes-urls.d.ts.map +1 -1
- package/dist/esm/requests/manual-controllers-routes-urls.js +129 -0
- package/dist/esm/requests/manual-controllers-routes-urls.js.map +1 -1
- package/dist/esm/requests/rate-limits.shared.schemas.d.ts +11 -1
- package/dist/esm/requests/rate-limits.shared.schemas.d.ts.map +1 -1
- package/dist/esm/requests/rate-limits.shared.schemas.js +11 -1
- package/dist/esm/requests/rate-limits.shared.schemas.js.map +1 -1
- package/dist/esm/requests/websocket.shared.schemas.d.ts +28 -3
- package/dist/esm/requests/websocket.shared.schemas.d.ts.map +1 -1
- package/dist/esm/requests/websocket.shared.schemas.js +52 -0
- package/dist/esm/requests/websocket.shared.schemas.js.map +1 -1
- package/dist/esm/resources/child-operations.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/context-policy.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/relationship-display.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/resources-config.shared.factory.d.ts +1 -0
- package/dist/esm/resources/resources-config.shared.factory.d.ts.map +1 -1
- package/dist/esm/resources/resources-config.shared.factory.js +203 -25
- package/dist/esm/resources/resources-config.shared.factory.js.map +1 -1
- package/dist/esm/resources/resources-config.shared.schemas.d.ts +297 -68
- package/dist/esm/resources/resources-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/resources-config.shared.schemas.js.map +1 -1
- package/dist/esm/resources/resources-registry.shared.core.definitions.d.ts.map +1 -1
- package/dist/esm/resources/resources-registry.shared.core.definitions.js +151 -5
- package/dist/esm/resources/resources-registry.shared.core.definitions.js.map +1 -1
- package/dist/esm/resources/resources-relationships.shared.factory.d.ts.map +1 -1
- package/dist/esm/resources/resources-relationships.shared.factory.js +15 -0
- package/dist/esm/resources/resources-relationships.shared.factory.js.map +1 -1
- package/dist/esm/resources/resources-serialization.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/resources.shared.core.definitions.d.ts +54 -0
- package/dist/esm/resources/resources.shared.core.definitions.d.ts.map +1 -1
- package/dist/esm/resources/resources.shared.core.definitions.js +69 -0
- package/dist/esm/resources/resources.shared.core.definitions.js.map +1 -1
- package/dist/esm/resources/resources.shared.schemas.d.ts +11 -2
- package/dist/esm/resources/resources.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/resources.shared.schemas.js +34 -3
- package/dist/esm/resources/resources.shared.schemas.js.map +1 -1
- package/dist/esm/resources/resources.shared.utils.d.ts +32 -7
- package/dist/esm/resources/resources.shared.utils.d.ts.map +1 -1
- package/dist/esm/resources/resources.shared.utils.js +32 -7
- package/dist/esm/resources/resources.shared.utils.js.map +1 -1
- package/dist/esm/resources/utils/collection-export.shared.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/composition-cascade-deletability.validation.d.ts.map +1 -1
- package/dist/esm/resources/utils/composition-seedability.validation.d.ts.map +1 -1
- package/dist/esm/resources/utils/context-addressed-composition-singleton.shared.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/duplicate-relationship-registration.validation.d.ts.map +1 -1
- package/dist/esm/resources/utils/field-value-disclosure.utils.d.ts +51 -0
- package/dist/esm/resources/utils/field-value-disclosure.utils.d.ts.map +1 -0
- package/dist/esm/resources/utils/field-value-disclosure.utils.js +53 -0
- package/dist/esm/resources/utils/field-value-disclosure.utils.js.map +1 -0
- package/dist/esm/resources/utils/persistence-adapter-discrimination.shared.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/repository-dto-builder.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/required-fk-fillability.validation.d.ts.map +1 -1
- package/dist/esm/resources/utils/resource-operation-type-guards.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.factory.d.ts.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.relationships.d.ts.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.schemas.d.ts.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resource-subtree.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resources-config-context-needs.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resources-config-operations.path.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resources-config-operations.urls-builder.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resources-config-operations.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resources-serialization.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resources-summary.utils.d.ts +16 -2
- package/dist/esm/resources/utils/resources-summary.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resources-summary.utils.js +19 -5
- package/dist/esm/resources/utils/resources-summary.utils.js.map +1 -1
- package/dist/esm/resources/utils/schema-family-builder.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/schema-type-inference.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/schema-type-utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/schema-variant-resolver.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/shared-persistence-collection.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/shared-persistence-collection.utils.js +11 -0
- package/dist/esm/resources/utils/shared-persistence-collection.utils.js.map +1 -1
- package/dist/esm/resources/utils/templatable-file-fields.shared.utils.d.ts.map +1 -1
- package/dist/esm/runtime/domain-module.shared.definitions.d.ts +25 -0
- package/dist/esm/runtime/domain-module.shared.definitions.d.ts.map +1 -1
- package/dist/esm/runtime/domain-module.shared.definitions.js.map +1 -1
- package/dist/esm/runtime/execution-context.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.d.ts +1 -0
- package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.js +38 -0
- package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.d.ts +1 -0
- package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.js +38 -0
- package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/api-keys/api-keys.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/anonymous-session/anonymous-session.shared.contract.d.ts.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.dto.schemas.d.ts +5 -12
- package/dist/esm/security/authentications/authentication.shared.dto.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.dto.schemas.js +0 -1
- package/dist/esm/security/authentications/authentication.shared.dto.schemas.js.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.schemas.d.ts +84 -5
- package/dist/esm/security/authentications/authentication.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.schemas.js +83 -3
- package/dist/esm/security/authentications/authentication.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.utils.d.ts.map +1 -1
- package/dist/esm/security/authentications/consumable-token.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/consumable-token.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/password-reset.shared.dto.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/registration.shared.dto.schemas.d.ts +1 -0
- package/dist/esm/security/authentications/registration.shared.dto.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/registration.shared.dto.schemas.js +11 -0
- package/dist/esm/security/authentications/registration.shared.dto.schemas.js.map +1 -1
- package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.d.ts.map +1 -1
- package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.d.ts +15 -0
- package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.js +21 -4
- package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/scim/scim-tokens.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/siem/siem-delivery-reliability-contract.shared.d.ts.map +1 -1
- package/dist/esm/security/authentications/siem/siem-delivery-reliability-contract.shared.js.map +1 -1
- package/dist/esm/security/authentications/siem/siem-export-config.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.d.ts +61 -1
- package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.js +238 -6
- package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/authentications/sso/sso-config.shared.schemas.d.ts +37 -27
- package/dist/esm/security/authentications/sso/sso-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/sso/sso-config.shared.schemas.js +134 -12
- package/dist/esm/security/authentications/sso/sso-config.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.d.ts +2 -6
- package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.js +32 -8
- package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.js.map +1 -1
- package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.d.ts +45 -2
- package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.js +45 -2
- package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.js.map +1 -1
- package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.d.ts +35 -0
- package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.js +257 -0
- package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/security/authorizations/application-access-grants.shared.schemas.d.ts +143 -0
- package/dist/esm/security/authorizations/application-access-grants.shared.schemas.d.ts.map +1 -0
- package/dist/esm/security/authorizations/application-access-grants.shared.schemas.js +219 -0
- package/dist/esm/security/authorizations/application-access-grants.shared.schemas.js.map +1 -0
- package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.js +27 -0
- package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.d.ts +75 -7
- package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.js +69 -8
- package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.js.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.defaults.d.ts.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.utils.d.ts.map +1 -1
- package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.d.ts +31 -0
- package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.js +198 -0
- package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.d.ts +31 -0
- package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.js +191 -0
- package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.d.ts +307 -0
- package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.d.ts.map +1 -0
- package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.js +530 -0
- package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.js.map +1 -0
- package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.d.ts +4 -1
- package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.js +29 -0
- package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.d.ts +4 -1
- package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.js +29 -0
- package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.d.ts +6 -0
- package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.js +31 -0
- package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.js.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.schemas.d.ts +13 -0
- package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.schemas.js +24 -3
- package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.schemas.js.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-resource-server.shared.schemas.d.ts.map +1 -1
- package/dist/esm/testing/resource-config-builders.d.ts.map +1 -1
- package/dist/esm/testing.d.ts.map +1 -1
- package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.d.ts.map +1 -1
- package/dist/esm/users/anonymous-users.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/anonymous-users.shared.schema.d.ts.map +1 -1
- package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/inbound-contacts.shared.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-credentials.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-credentials.shared.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-identity-links.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-identity-links.shared.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-preferences-reset.shared.utils.d.ts.map +1 -1
- package/dist/esm/users/user-preferences.shared.resources-config.schemas.d.ts +4 -4
- package/dist/esm/users/user-preferences.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-profiles.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.d.ts +4 -4
- package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-self-profiles.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-self.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-self.shared.resources-config.schemas.js +33 -3
- package/dist/esm/users/user-self.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/users.shared.resources-config.schemas.d.ts +17 -1
- package/dist/esm/users/users.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/users.shared.resources-config.schemas.js +136 -5
- package/dist/esm/users/users.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/users.shared.schemas.d.ts +60 -13
- package/dist/esm/users/users.shared.schemas.d.ts.map +1 -1
- package/dist/esm/users/users.shared.schemas.js +56 -9
- package/dist/esm/users/users.shared.schemas.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources-registry.shared.core.definitions.js","sourceRoot":"","sources":["../../../../src/resources/resources-registry.shared.core.definitions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAwB,uCAAuC,EAAE,+BAA+B,EAAE,iCAAiC,EAAE,MAAM,4BAA4B,CAAC;AACnM,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAE5E,OAAO,EAAE,gBAAgB,EAAgB,MAAM,qCAAqC,CAAC;AAGrF,yCAAyC;AACzC,OAAO,EAAE,gDAAgD,EAAE,MAAM,gDAAgD,CAAC;AAClH,OAAO,EAAE,0DAA0D,EAAE,MAAM,2DAA2D,CAAC;AACvI,OAA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G,iCAAiC;IACpC,GAAG,oCAAoC;IACvC,GAAG,mCAAmC;IACtC,GAAG,8BAA8B;IACjC,GAAG,0CAA0C;IAE7C,8EAA8E;IAC9E,GAAG,iCAAiC;IACpC,GAAG,yCAAyC;CAC7C,CAAC","sourcesContent":["import { RelationshipNature, ResourceRelationship, ResourceRelationshipAccessScopeStrategy, ResourceRelationshipCardinality, ResourceParentResourceRequirement } from \"./resources.shared.schemas\";\nimport { ContextPolicy_ObjectMode } from \"./context-policy.shared.schemas\";\nimport { ChildLifecycleMode } from \"./child-operations.shared.schemas\";\nimport { CoreResourceOperation } from \"./resources.shared.core.definitions\";\n\nimport { CoreResourceType, ResourceType } from \"./resources.shared.core.definitions\";\nimport { AnyResourceConfiguration, ResourcesRegistry, ResourceConfiguration_InitializationFactoryMap } from \"./resources-config.shared.schemas\";\n\n// Resource configuration factory imports\nimport { usersResourceConfiguration_InitializationFactory } from \"../users/users.shared.resources-config.schemas\";\nimport { userCredentialsResourceConfiguration_InitializationFactory } from \"../users/user-credentials.shared.resources-config.schemas\";\nimport { auditLogsResourceConfiguration_InitializationFactory } from \"../compliance/audit-trails/audit-logs.shared.resources-config.schemas\";\nimport { filesResourceConfiguration_InitializationFactory } from \"../files/files.shared.resources-config.schemas\";\nimport { userSelfResourceConfiguration_InitializationFactory } from \"../users/user-self.shared.resources-config.schemas\";\nimport { userProfilesResourceConfiguration_InitializationFactory } from \"../users/user-profiles.shared.resources-config.schemas\";\nimport { userPreferencesResourceConfiguration_InitializationFactory } from \"../users/user-preferences.shared.resources-config.schemas\";\nimport { userSelfProfilesResourceConfiguration_InitializationFactory } from \"../users/user-self-profiles.shared.resources-config.schemas\";\nimport { userSelfPreferencesResourceConfiguration_InitializationFactory } from \"../users/user-self-preferences.shared.resources-config.schemas\";\nimport { applicationResourceConfiguration_InitializationFactory } from \"../applications/applications.shared.resources-config.schemas\";\nimport { organizationResourceConfiguration_InitializationFactory } from \"../organizations/organizations.shared.resources-config.schemas\";\nimport { organizationUnitResourceConfiguration_InitializationFactory } from \"../organizations/organization-units.shared.resources-config.schemas\";\nimport { organizationUnitMemberResourceConfiguration_InitializationFactory } from \"../organizations/organization-unit-members.shared.resources-config.schemas\";\nimport { organizationProfileResourceConfiguration_InitializationFactory } from \"../organizations/organization-profile.shared.resources-config.schemas\";\nimport { organizationPreferencesResourceConfiguration_InitializationFactory } from \"../organizations/organization-preferences.shared.resources-config.schemas\";\nimport { platformAccessGrantsResourceConfiguration_InitializationFactory } from '../security/authorizations/platform-access-grants.shared.resources-config.schemas';\nimport { organizationNotificationsResourceConfiguration_InitializationFactory } from \"../organizations/organization-notifications.shared.resources-config.schemas\";\nimport { organizationFeaturesResourceConfiguration_InitializationFactory } from \"../organizations/organization-features.shared.resources-config.schemas\";\nimport { userFeaturesResourceConfiguration_InitializationFactory } from \"../features/user-features.shared.resources-config.schemas\";\nimport { applicationFeaturesResourceConfiguration_InitializationFactory } from \"../features/application-features.shared.resources-config.schemas\";\nimport { organizationMembersResourceConfiguration_InitializationFactory } from \"../organizations/organization-members.shared.resources-config.schemas\";\nimport { orgApiKeysResourceConfiguration_InitializationFactory } from \"../security/api-keys/api-keys-organization.shared.resources-config.schemas\";\nimport { appApiKeysResourceConfiguration_InitializationFactory } from \"../security/api-keys/api-keys-application.shared.resources-config.schemas\";\nimport { orgOAuthClientsResourceConfiguration_InitializationFactory } from \"../security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas\";\nimport { appOAuthClientsResourceConfiguration_InitializationFactory } from \"../security/oauth-clients/oauth-clients-application.shared.resources-config.schemas\";\nimport { oauthConsentGrantsResourceConfiguration_InitializationFactory } from \"../security/oauth-clients/oauth-consent-grants.shared.resources-config.schemas\";\nimport { billingAccountsPolymorphicFactories } from \"../billing/billing-account.shared.resources-config.schemas\";\nimport { billingAccountsPolymorphicDeclaration } from \"../billing/billing-account.shared.schemas\";\nimport { productsResourceConfiguration_InitializationFactory } from \"../billing/product.shared.resources-config.schemas\";\nimport { pricesResourceConfiguration_InitializationFactory } from \"../billing/price.shared.resources-config.schemas\";\nimport { billingSubscriptionsPolymorphicFactories } from \"../billing/subscription.shared.resources-config.schemas\";\nimport { billingSubscriptionsPolymorphicDeclaration } from \"../billing/subscription.shared.schemas\";\nimport { createPolymorphicScopeRelationships, createPolymorphicRelationships } from \"./utils/resource-polymorphism.relationships\";\nimport { invoiceRefsPolymorphicFactories } from \"../billing/invoice-ref.shared.resources-config.schemas\";\nimport { invoiceRefsPolymorphicDeclaration } from \"../billing/invoice-ref.shared.schemas\";\nimport { usageRecordsPolymorphicFactories } from \"../billing/usage-record.shared.resources-config.schemas\";\nimport { usageRecordsPolymorphicDeclaration } from \"../billing/usage-record.shared.schemas\";\nimport { creditPoolsPolymorphicFactories } from \"../billing/credit-pool.shared.resources-config.schemas\";\nimport { creditPoolsPolymorphicDeclaration } from \"../billing/credit-pool.shared.schemas\";\nimport { promotionsResourceConfiguration_InitializationFactory } from \"../billing/promotions.shared.resources-config.schemas\";\nimport { referralsResourceConfiguration_InitializationFactory } from \"../billing/referral.shared.resources-config.schemas\";\nimport {\n userNotificationBadgesResourceConfiguration_InitializationFactory,\n organizationNotificationBadgesResourceConfiguration_InitializationFactory,\n} from \"../notifications/notification-badges.shared.resources-config.schemas\";\nimport { createResourcesRelationship } from \"./resources-relationships.shared.factory\";\nimport { applicationVersionsResourceConfiguration_InitializationFactory } from \"../applications/application-versions.shared.resources-config.schemas\";\nimport { applicationMetadataResourceConfiguration_InitializationFactory } from \"../applications/application-metadata.shared.resources-config.schemas\";\n\n// Queue system resources\nimport {\n jobExecution_ResourceConfiguration_InitializationFactory,\n jobPayloadStorage_ResourceConfiguration_InitializationFactory\n} from \"../queue/jobs.shared.resources-config.schemas\";\n\n// Flows-Actors execution resource (persisted flow/actor system executions)\nimport { flowActorExecutionsPolymorphicFactories } from \"../flows-actors/flows-actors-execution.shared.resources-config.schemas\";\nimport { flowActorExecutionsPolymorphicDeclaration } from \"../flows-actors/flows-actors-execution.shared.schemas\";\nimport { flowActorTasksPolymorphicFactories } from \"../flows-actors/flows-actors-task.shared.resources-config.schemas\";\nimport { flowActorTasksPolymorphicDeclaration } from \"../flows-actors/flows-actors-task.shared.schemas\";\nimport { a2aTokenBudgetStatePolymorphicFactories } from \"../flows-actors/a2a-token-budget-state.shared.resources-config.schemas\";\nimport { a2aPushDeliveryLogPolymorphicFactories } from \"../flows-actors/a2a-push-delivery-log.shared.resources-config.schemas\";\nimport { a2aTokenBudgetStatePolymorphicDeclaration } from \"../flows-actors/a2a-token-budget-state.shared.schemas\";\nimport { a2aPushDeliveryLogPolymorphicDeclaration } from \"../flows-actors/a2a-push-delivery-log.shared.schemas\";\n\n// Authentication resources\nimport { userIdentityLinksResourceConfiguration_InitializationFactory } from \"../users/user-identity-links.shared.resources-config.schemas\";\n\n// Anonymous session resources (W7.3a)\nimport { anonymousUsersResourceConfiguration_InitializationFactory } from \"../users/anonymous-users.shared.resources-config.schemas\";\n\n// Inbound contacts (Phase 0.5 — public marketing-site lead capture, Q-E=B path)\nimport { inboundContactsResourceConfiguration_InitializationFactory } from \"../users/inbound-contacts.shared.resources-config.schemas\";\n\n// Guidance State resources\nimport { userGuidanceStateResourceConfiguration_InitializationFactory, organizationGuidanceStateResourceConfiguration_InitializationFactory } from \"../guidance/guidance-state.shared.resources-config.schemas\";\n\n// Auth polymorphic resource configs (SSO + SIEM + SCIM)\nimport { ssoConfigPolymorphicFactories } from \"../security/authentications/sso/sso-config.shared.resources-config.schemas\";\nimport { ssoConfigPolymorphicDeclaration } from \"../security/authentications/sso/sso-config.shared.schemas\";\nimport { ssoConnectionPolymorphicFactories } from \"../security/authentications/sso/sso-connection.shared.resources-config.schemas\";\nimport { ssoConnectionPolymorphicDeclaration } from \"../security/authentications/sso/sso-connection.shared.schemas\";\nimport { siemExportConfigPolymorphicFactories } from \"../security/authentications/siem/siem-export-config.shared.resources-config.schemas\";\nimport { siemExportConfigPolymorphicDeclaration } from \"../security/authentications/siem/siem-export-config.shared.schemas\";\nimport { siemDeliveryDlqPolymorphicFactories } from \"../security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas\";\nimport { siemDeliveryDlqPolymorphicDeclaration } from \"../security/authentications/siem/siem-delivery-dlq.shared.schemas\";\nimport { webhookConfigPolymorphicFactories } from \"../notifications/m2m/webhook-config.shared.resources-config.schemas\";\nimport { webhookConfigPolymorphicDeclaration } from \"../notifications/m2m/webhook-config.shared.schemas\";\nimport { m2mWebhookDeliveryLogPolymorphicFactories } from \"../notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas\";\nimport { m2mWebhookDeliveryLogPolymorphicDeclaration } from \"../notifications/m2m/m2m-webhook-delivery-log.shared.schemas\";\nimport { scimTokensPolymorphicFactories } from \"../security/authentications/scim/scim-tokens.shared.resources-config.schemas\";\nimport { scimTokensPolymorphicDeclaration } from \"../security/authentications/scim/scim-tokens.shared.schemas\";\nimport { scimProvisioningConfigPolymorphicFactories } from \"../security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas\";\nimport { scimProvisioningConfigPolymorphicDeclaration } from \"../security/authentications/scim/scim-provisioning-config.shared.schemas\";\n\n// Progression State resources\nimport { userProgressionStateResourceConfiguration_InitializationFactory, organizationProgressionStateResourceConfiguration_InitializationFactory } from \"../guidance/progression-state.shared.resources-config.schemas\";\n\n// Lifecycle State resources\nimport { userLifecycleStateResourceConfiguration_InitializationFactory, organizationLifecycleStateResourceConfiguration_InitializationFactory } from \"../guidance/lifecycle-state.shared.resources-config.schemas\";\n\n\nexport const coreSharedResourceRelationship : ResourceRelationship[]= [\n // Core organizational relationships - Many-to-many through organization members\n // Note: No isPrimaryScope here - applications are the primary scope for users, not organizations\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.USERS,\n ResourceRelationshipCardinality.MANY, ResourceRelationshipCardinality.MANY,\n {\n jointResourceType: CoreResourceType.ORGANIZATION_MEMBERS,\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.ASSOCIATION,\n // Many-to-many: summary only, disable on LIST/SEARCH for performance\n contextPolicy: {\n objectMode: ContextPolicy_ObjectMode.SUMMARY,\n operationOverrides: {\n [CoreResourceOperation.LIST]: { enabled: false },\n [CoreResourceOperation.SEARCH]: { enabled: false },\n }\n }\n }\n ),\n\n // User 1:1 relationships\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.USER_PROFILES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n // onParentDelete: cascade the profile row when the user is deleted.\n // onParentCreate: eagerly seed the profile on user creation (Tier-2\n // input-derived). Unlike USER_PREFERENCES (pure defaults), a profile's\n // firstName/lastName do NOT live on the USERS row — they originate in the\n // registration form / SSO-JIT / SCIM profile, OUTSIDE the USERS-create\n // payload. Each provisioning path threads them via the\n // `compositionSeedRequestInput` options channel on its `create(USERS, …)`,\n // and this override forwards them into the profile seed. When the names are\n // absent (the org-admin INVITE create — the invitee names the profile later\n // at acceptance), the override returns `undefined` to DECLINE the seed, so no\n // nameless/duplicate row is created; the invitation-acceptance flow owns that\n // single write. USERS is the resource created at every provisioning entry\n // point, so THIS USERS→USER_PROFILES edge fires — not the read-only USER_SELF\n // variant.\n childOperations: {\n lifecycle: {\n onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 },\n onParentCreate: {\n enabled: true,\n initialData: {\n override: (ctx) => {\n const requestInput = ctx.requestInput;\n const firstName = requestInput?.firstName;\n const lastName = requestInput?.lastName;\n // A profile REQUIRES a non-empty first+last (UserProfileSchema\n // min(1)). DECLINE (undefined) when either is absent OR empty — the\n // org-admin INVITE create (no name; the invitee names the profile at\n // acceptance) or an IdP that supplied no given/family name — so no\n // invalid or nameless row is ever seeded (a clean skip, not a\n // swallowed validation failure).\n if (\n typeof firstName !== 'string' || firstName.length === 0 ||\n typeof lastName !== 'string' || lastName.length === 0\n ) {\n return undefined;\n }\n // Prefer an IdP-supplied displayName; otherwise derive one so every\n // seeded profile carries a non-empty label.\n const suppliedDisplayName = requestInput?.displayName;\n const displayName =\n typeof suppliedDisplayName === 'string' && suppliedDisplayName.length > 0\n ? suppliedDisplayName\n : `${firstName} ${lastName}`;\n return { firstName, lastName, displayName };\n },\n },\n },\n },\n },\n foreignKeyField: 'userId',\n // 1:1 profile: full on READ, summary otherwise\n contextPolicy: {\n objectMode: ContextPolicy_ObjectMode.SUMMARY,\n operationOverrides: {\n [CoreResourceOperation.READ]: { objectMode: ContextPolicy_ObjectMode.FULL },\n }\n }\n }\n ),\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.USER_PREFERENCES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n // onParentDelete: cascade the preferences row when the user is deleted.\n // onParentCreate: eagerly seed a default preferences row on user creation\n // (Tier-1 pure-defaults — the child's Zod defaults fill it; USER_SELF reads\n // the same collection). USERS is the resource created at registration, so\n // THIS USERS→USER_PREFERENCES edge fires — not the USER_SELF variant.\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 }, onParentCreate: { enabled: true } } },\n foreignKeyField: 'userId',\n // 1:1 preferences: full on READ, summary otherwise\n contextPolicy: {\n objectMode: ContextPolicy_ObjectMode.SUMMARY,\n operationOverrides: {\n [CoreResourceOperation.READ]: { objectMode: ContextPolicy_ObjectMode.FULL },\n }\n }\n }\n ),\n // Link Users to UserCredentials (standalone access, internal-only operations).\n // STANDALONE keeps credentials off the URL surface; `isPrimaryScope: true` anchors\n // the resource's `resourcePrimaryScope` enum to USER_SELF (ownership graph is\n // orthogonal to URL routing — see `resources-relationships.shared.factory.ts` Guard 1).\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.USER_CREDENTIALS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n foreignKeyField: 'userId',\n // SECURITY: Never fetch credentials via context\n contextPolicy: { enabled: false }\n }\n ),\n // Link Users to UserIdentityLinks (1:N — user can have multiple OAuth2/SSO provider connections)\n // Standalone access (internal-only operations), cascade delete on user removal.\n // The schema's businessKeySet enforces one external identity binding per exact\n // social/enterprise tenant connection. Individual DB indexes support callback lookup.\n // STANDALONE keeps identity links off the URL surface; `isPrimaryScope: true` anchors\n // the resource's `resourcePrimaryScope` enum to USER_SELF.\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.USER_IDENTITY_LINKS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n foreignKeyField: 'userId',\n // SECURITY: Identity links contain raw IdP profiles — never fetch via context\n contextPolicy: { enabled: false }\n }\n ),\n // OIDC persistent consent grants — USER_SELF-scoped (\"remember this app\"). COMPOSITION so a user's\n // grants cascade-delete with the user; `isPrimaryScope: true` anchors resourcePrimaryScope to\n // USER_SELF (the owner-only READ/LIST/DELETE filter). Consent state is never context-fetched.\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.OAUTH_CONSENT_GRANTS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n foreignKeyField: 'userId',\n contextPolicy: { enabled: false }\n }\n ),\n // User Self 1:1 relationships - separated for access control\n createResourcesRelationship(\n CoreResourceType.USER_SELF, CoreResourceType.USER_SELF_PROFILES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n foreignKeyField: 'userId',\n // 1:1 profile: full on READ\n contextPolicy: {\n objectMode: ContextPolicy_ObjectMode.FULL,\n operationOverrides: {\n [CoreResourceOperation.READ]: { objectMode: ContextPolicy_ObjectMode.FULL },\n }\n }\n }\n ),\n createResourcesRelationship(\n CoreResourceType.USER_SELF, CoreResourceType.USER_SELF_PREFERENCES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n foreignKeyField: 'userId',\n // 1:1 preferences: full on READ\n contextPolicy: {\n objectMode: ContextPolicy_ObjectMode.SUMMARY,\n operationOverrides: {\n [CoreResourceOperation.READ]: { objectMode: ContextPolicy_ObjectMode.FULL },\n }\n }\n }\n ),\n // User Self → Organization Members (for context fetching organizationMembers)\n // 1:MANY - user can have multiple organization memberships\n //\n // STANDALONE: this relationship exists ONLY to let the backend context-fetch\n // the caller's own membership on READ (see `contextPolicy` below). It must NOT\n // mint a URL route. Without an explicit `accessScopeStrategy`, the factory\n // defaults a MANDATORY parent to `REQUIRES_CONTEXT`, which forced a mandatory\n // `/user-user-self/{userId}/...` segment into EVERY generated organization-members\n // route — so the clean `/organizations/{orgId}/organization-members/...` route\n // was never emitted, and a people-picker searching org members got the\n // over-nested user-self route (returning only the caller's own membership).\n // `accessScopeStrategy` (URL routing) and `contextPolicy` (context fetching)\n // are orthogonal axes; STANDALONE keeps this off the URL surface while the\n // context fetch is preserved — exactly mirroring the USER_CREDENTIALS /\n // USER_IDENTITY_LINKS siblings above and the ORGANIZATIONS primary anchor below.\n createResourcesRelationship(\n CoreResourceType.USER_SELF, CoreResourceType.ORGANIZATION_MEMBERS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n isPrimaryScope: false, // Not primary scope - ORGANIZATION_MEMBERS has ORGANIZATIONS as primary (declared via the STANDALONE rel below)\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'userId',\n // For context: fetch full on READ, disabled otherwise (performance)\n contextPolicy: {\n objectMode: ContextPolicy_ObjectMode.FULL,\n operationOverrides: {\n [CoreResourceOperation.LIST]: { enabled: false },\n [CoreResourceOperation.SEARCH]: { enabled: false },\n }\n }\n }\n ),\n // ORGANIZATIONS scope anchor for ORGANIZATION_MEMBERS (STANDALONE primary).\n //\n // The M:N expansion of `ORGANIZATIONS ↔ USERS via ORGANIZATION_MEMBERS`\n // synthesizes two OPTIONAL_CONTEXT non-primary peer→junction edges so the\n // junction is routable under both `/organizations/:id/...` and\n // `/users/:id/...`. That URL behavior is intentional and stays untouched.\n //\n // This separate STANDALONE primary rel exists purely to anchor the\n // resource's `resourcePrimaryScope` enum to ORGANIZATIONS (matching the\n // long-standing comment on the USER_SELF rel above). STANDALONE keeps it\n // off the URL surface (the M:N expansion already handles routing); the\n // primary-scope flag declares the structural ownership.\n //\n // ⚠️ This is the edge that carries the teardown cascade — NOT the `USER_SELF` rel above and\n // NOT the synthesized M:N peer edges. Picking the wrong one of the three is the easy mistake\n // here: only this one is the ORGANIZATIONS-side primary anchor, so only this one is traversed\n // when a tenant is destroyed.\n //\n // Until 2026-08-01 it declared NO `childOperations` at all, so membership rows ORPHANED on\n // tenant deletion while every other org child cascaded. The orphan row was the visible\n // symptom; the real defect was that nothing reconciled `user.userTypes`, a GLOBAL grant that\n // could outlive the tenant justifying it.\n //\n // Under the WS-A teardown split this cascade fires at PURGE, never at the soft-delete mark.\n // That ordering is the design, not an implementation detail: the rows are exactly what a\n // restore re-derives organization-scoped authority from during the retention window, so\n // removing them at mark time would make the window unrecoverable. The authority half is\n // handled at the mark instead, by recomputing it from `Organization.status` — see\n // `isAuthorityConferringOrganizationStatus` and the `request_deletion` operation.\n //\n // ⚠️ `nature` moved REFERENCE → COMPOSITION in the same change, and it had to. The framework\n // refuses a lifecycle on a REFERENCE edge outright — \"REFERENCE relationships cannot project to\n // nested CRUD/read embedding or dependent lifecycle\" — because only COMPOSITION resolves to\n // `lifecycleModelMode: DEPENDENT`, and DEPENDENT is what \"the parent owns this row's lifetime\"\n // means. Declaring the cascade while leaving the nature alone would not have been a smaller\n // change; it would not have built.\n //\n // COMPOSITION is also the honest reading, not a concession to the guard. A membership is\n // meaningless without its organization: it cannot be re-homed, it has no independent identity,\n // and this very edge already declares ORGANIZATIONS its primary scope. The sibling junction\n // ORGANIZATION_UNIT_MEMBERS reached the same conclusion on its own ORGANIZATIONS edge above —\n // COMPOSITION, `isPrimaryScope`, cascade — so the two junctions now describe their tenant\n // relationship identically instead of disagreeing for historical reasons.\n //\n // The USER_SELF → ORGANIZATION_MEMBERS edge above stays REFERENCE and is NOT affected. That\n // asymmetry is correct and load-bearing: a membership dies with its ORGANIZATION but must\n // survive its USER's erasure (an erasure keeps the subject row, and `USERS` classifies that\n // edge NOT_OWNED). Changing the user-side edge too would silently make a subject erasure start\n // deleting membership rows.\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_MEMBERS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: { enabled: false }\n }\n ),\n\n // Organization member join table relationships - explicit for URL generation\n // Note: Removed USERS → ORGANIZATION_MEMBERS to simplify user URL generation\n // Users should primarily be accessed standalone or via application context\n\n // Organization 1:1 and 1:many relationships\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_UNITS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n // High cardinality: disable on LIST/SEARCH for performance\n contextPolicy: {\n operationOverrides: {\n [CoreResourceOperation.LIST]: { enabled: false },\n [CoreResourceOperation.SEARCH]: { enabled: false },\n }\n }\n }\n ),\n // Self-referential: parent unit → child units (tree structure).\n // parentResourceRequirement=OPTIONAL because tree roots have no parent.\n // accessScopeStrategy=OPTIONAL_CONTEXT generates both standalone and nested URLs.\n // `allowCycle: true` is only the schema-level escape hatch for declaring a\n // self-edge. The business model is still an acyclic hierarchy; re-parenting\n // is handled explicitly via the MOVE operation on organization units.\n createResourcesRelationship(\n CoreResourceType.ORGANIZATION_UNITS, CoreResourceType.ORGANIZATION_UNITS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n nature: RelationshipNature.COMPOSITION,\n foreignKeyField: 'parentUnitId',\n allowCycle: true,\n parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.OPTIONAL_CONTEXT,\n contextPolicy: { enabled: false },\n }\n ),\n // ── Organization unit membership (junction) ──────────────────────────────\n // Replaced `OrganizationMember.organizationUnitsMembership` (D-B5). Three edges, each earning\n // its place:\n //\n // 1. ORGANIZATIONS → … is the PRIMARY SCOPE anchor: the row carries `organizationId`, so\n // tenant scoping and the contextual filter resolve without a join, and a tenant teardown\n // removes assignments with everything else it owns.\n // 2. ORGANIZATION_MEMBERS → … is the SEMANTIC parent. A unit assignment presupposes\n // membership, so losing the membership is exactly when the assignment stops meaning\n // anything — hence the cascade. This is the edge that stops assignments outliving the\n // membership that justified them.\n // 3. ORGANIZATION_UNITS → … is what the unit DELETE dependents guard was missing. While unit\n // assignment lived in an embedded array it was not a registered relationship and not\n // portably queryable, so \"assigned members\" had to be EXCLUDED from that guard (it would\n // have failed open on PostgreSQL). As a real edge it becomes a guardable dependent.\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_UNIT_MEMBERS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n // High cardinality: a tenant can hold one row per (member × unit).\n contextPolicy: {\n operationOverrides: {\n [CoreResourceOperation.LIST]: { enabled: false },\n [CoreResourceOperation.SEARCH]: { enabled: false },\n }\n }\n }\n ),\n // OPTIONAL_CONTEXT, not the REQUIRES_CONTEXT default — otherwise the junction is unlistable.\n //\n // `generateParentCombinations` puts every REQUIRES_CONTEXT parent into EVERY url combination. With\n // both this edge and the ORGANIZATION_UNITS edge below defaulting to REQUIRES_CONTEXT, the only\n // route generated was the fully-nested\n // `…/organization-members/{m}/organization-units/{u}/organization-unit-members` — so LIST could\n // only ever be called with BOTH sides already known, returning at most the single row the caller\n // had just identified. \"Which units is this member in?\" had NO http surface at all, even though\n // it is a real, exercised query: SCIM runs exactly it service-side\n // (`list(ORGANIZATION_UNIT_MEMBERS, ec, { organizationMemberId })`).\n //\n // OPTIONAL_CONTEXT makes the parent addressable-but-not-mandatory, so the builder emits the\n // member-scoped route ALONGSIDE the full one. Permitted here because this edge is not the primary\n // scope (the factory rejects OPTIONAL_CONTEXT only for `isPrimaryScope`). The ORGANIZATIONS edge\n // above stays primary-scope and keeps its LIST/SEARCH context override, so this does NOT open an\n // unbounded org-wide listing of every (member × unit) pair — each new route is still narrowed by\n // one side of the junction.\n createResourcesRelationship(\n CoreResourceType.ORGANIZATION_MEMBERS, CoreResourceType.ORGANIZATION_UNIT_MEMBERS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n nature: RelationshipNature.COMPOSITION,\n foreignKeyField: 'organizationMemberId',\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.OPTIONAL_CONTEXT,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: { enabled: false },\n }\n ),\n // No cascade on this edge ON PURPOSE — it mirrors the unit tree's own delete policy. A unit\n // DELETE is refused while dependents remain (the operator decides where an orphaned assignment\n // belongs) rather than silently dropping people's roles behind a single-node delete. Tearing\n // down the whole ORGANIZATION still removes these rows via edge 1 above.\n // OPTIONAL_CONTEXT for the same reason as the ORGANIZATION_MEMBERS edge above — this is the\n // mirrored half. Together the two now yield the unit-scoped route as well, so \"who is in this\n // unit?\" is answerable, and both partial routes exist beside the fully-nested one rather than\n // instead of it.\n createResourcesRelationship(\n CoreResourceType.ORGANIZATION_UNITS, CoreResourceType.ORGANIZATION_UNIT_MEMBERS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n nature: RelationshipNature.COMPOSITION,\n foreignKeyField: 'organizationUnitId',\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.OPTIONAL_CONTEXT,\n contextPolicy: { enabled: false },\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_PROFILES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n // onParentCreate: eager-seed a default org profile row on org creation\n // (branding now defaulted → seedable). Fixes the latent missing-row gap.\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 }, onParentCreate: { enabled: true } } },\n foreignKeyField: 'organizationId',\n // 1:1 profile: full on READ\n contextPolicy: {\n objectMode: ContextPolicy_ObjectMode.SUMMARY,\n operationOverrides: {\n [CoreResourceOperation.READ]: { objectMode: ContextPolicy_ObjectMode.FULL },\n }\n }\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.PLATFORM_ACCESS_GRANTS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n // The grant belongs to the tenant being reached INTO, which is what makes the tenant able\n // to see, approve and revoke it. A consent record the consenting party cannot read would\n // defeat the purpose of modelling consent at all.\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n // Purged with the tenant, and deliberately NOT seeded on create: a grant exists only\n // because an operator asked for one.\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n foreignKeyField: 'organizationId',\n }\n ),\n // ── The two PEOPLE a grant names ─────────────────────────────────────\n //\n // `operatorUserId` (who asked) and `approvedByUserId` (who agreed) are both `.isForeignKey()` on\n // `PlatformAccessGrantSchema`, so the registry must be able to resolve each to a resource type —\n // the frontend registry validates this fail-closed at boot and refuses to initialise otherwise.\n //\n // REFERENCE, deliberately NOT composition, and the contrast with the ORGANIZATIONS edge directly\n // above is the whole point. The tenant OWNS the grant: it is the tenant's consent record, so it\n // is purged with the tenant. The two users are merely NAMED BY it. Making a user its owner would\n // resolve `lifecycleModelMode` to DEPENDENT, and that is the same value\n // `classifySubjectErasureDisposition` reads — a user erasure would then own the row's fate, and\n // the one thing an access-audit record must survive is the erasure of the person it monitors.\n // As REFERENCE the erasure classifies it NOT_OWNED and leaves it intact, which is the intent.\n //\n // `onParentDelete.enabled: false` states that survival explicitly rather than leaving it to the\n // nature's default — the question \"does this die with the user?\" is exactly what a reader of a\n // privileged-access ledger comes here to ask.\n //\n // STANDALONE + `contextPolicy: { enabled: false }`: a grant is addressed under its tenant\n // (`/organizations/:organizationId/platform-access-grants`), never under a user, and the operator\n // is by construction NOT a member of the target tenant — so fetching them into the row's context\n // would be a cross-tenant read on every list.\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.PLATFORM_ACCESS_GRANTS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'operatorUserId',\n // Server-authored from the session on every grant, so the pointer is always present.\n parentResourceRequirement: ResourceParentResourceRequirement.MANDATORY,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } },\n contextPolicy: { enabled: false },\n }\n ),\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.PLATFORM_ACCESS_GRANTS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'approvedByUserId',\n // OPTIONAL because the field is `.optional()`: unset until a tenant administrator\n // approves, and permanently unset on an auto-approved, denied or revoked grant. MANDATORY\n // would assert an approver every grant must have, which is precisely the distinction\n // `autoApprovalReason` exists to preserve.\n parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } },\n contextPolicy: { enabled: false },\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_PREFERENCES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n // onParentCreate: eager-seed a default org preferences row on org creation\n // (all fields defaulted → seedable). Fixes the latent missing-row gap.\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 }, onParentCreate: { enabled: true } } },\n foreignKeyField: 'organizationId',\n // 1:1 preferences: full on READ\n contextPolicy: {\n objectMode: ContextPolicy_ObjectMode.SUMMARY,\n operationOverrides: {\n [CoreResourceOperation.READ]: { objectMode: ContextPolicy_ObjectMode.FULL },\n }\n }\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_NOTIFICATIONS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n // onParentCreate: eager-seed a default org notifications row on org creation\n // (emailNotifications now defaulted → seedable). Fixes the latent\n // missing-row gap so downstream email fan-out has a routing table.\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 }, onParentCreate: { enabled: true } } },\n foreignKeyField: 'organizationId',\n // Notifications are ephemeral - disable context\n contextPolicy: { enabled: false }\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_FEATURES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n // Deliberately NO onParentCreate: the scope-features ledger is a cache-resolved\n // OVERRIDE store, not per-entity state, so eager-seeding it is pure write\n // amplification. FeatureResolutionBackendService self-heals from defaults when the\n // row is absent (`if (!scopeDoc) return base`), the 1:1 context-embed omits an\n // absent child, and the admin-write / billing-sync paths upsert the row lazily the\n // moment it first holds meaning; an eager empty row (`features:[]`, `limits:{}`,\n // empty `manualOverrides`) is a resolution no-op. COMPOSITION here means dies-with\n // (onParentDelete), NOT created-with — the two are orthogonal (DDD). See\n // .claude/plans/composition-oncreate-lifecycle.md (FEATURES wave, 2026-07-11).\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n foreignKeyField: 'organizationId',\n // Features: summary by default\n contextPolicy: {\n objectMode: ContextPolicy_ObjectMode.SUMMARY,\n }\n }\n ),\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.APPLICATION_METADATA,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n // Deliberately NO onParentCreate — the metadata row is created by the\n // framework-owned Level-A seed `engine-applications:application-metadata`\n // (`applicationMetadataSeedDefinitions`, opted into by the app's backend module),\n // NOT by composition.\n //\n // This edge DID declare `onParentCreate`, on the hypothesis that the APPLICATION\n // create path might route through `handler.create` → `executePostOperationLogic`.\n // It does not, and never did: the apps-manager provisions the APPLICATION row at\n // the REPOSITORY tier while bootstrapping the application database\n // (`wildo-application-lifecycle.apps-manager.platform.service.ts` →\n // `seedAppApplication` → `upsertEntity(repository, …)`), so the post-create hook is\n // never reached. Measured 2026-08-09: one `applications` row and ZERO\n // `applicationMetadata` rows in every database of the dev stack.\n //\n // A declared lifecycle edge that cannot fire is worse than no edge — it reads as\n // covered in the registry, in the spec, and in every review, which is exactly how\n // this went unnoticed. Removed rather than commented as pending. (The sibling\n // APPLICATION_FEATURES edge records the same blocker.)\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n foreignKeyField: 'appId',\n // 1:1 metadata: full on READ\n contextPolicy: {\n objectMode: ContextPolicy_ObjectMode.SUMMARY,\n operationOverrides: {\n [CoreResourceOperation.READ]: { objectMode: ContextPolicy_ObjectMode.FULL },\n }\n }\n }\n ),\n\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.APPLICATION_VERSIONS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n foreignKeyField: 'appId',\n // High cardinality over time: disable on LIST/SEARCH\n contextPolicy: {\n operationOverrides: {\n [CoreResourceOperation.LIST]: { enabled: false },\n [CoreResourceOperation.SEARCH]: { enabled: false },\n }\n }\n }\n ),\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.APPLICATION_FEATURES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n // Deliberately NO onParentCreate — same cache-resolved-ledger rationale as the\n // ORGANIZATION_FEATURES edge above. TWO extra APP-only blockers even if that\n // changed: (1) APPLICATION rows are provisioned via the platform CLI / apps-manager\n // bootstrap, not the engine handler.create → executePostOperationLogic, so the seed\n // hook never fires on real app provisioning; (2) this edge's foreignKeyField 'appId'\n // is NOT the APPLICATION primary-scope identifier ('applicationId'), so it is absent\n // from CONTEXT_AUTO_POPULATED_FIELD_IDENTIFIERS — createAsSystem's name-based\n // preserve-list would strip it and seed an orphan row (the boot seedability guard\n // does not catch this: it probes DTO defaults, not FK persistence).\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n foreignKeyField: 'appId',\n contextPolicy: {\n objectMode: ContextPolicy_ObjectMode.SUMMARY,\n }\n }\n ),\n\n // API Keys relationships\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.ORG_API_KEYS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n // SECURITY: API keys should never be fetched via context\n contextPolicy: { enabled: false }\n }\n ),\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.APPLICATION_API_KEYS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n // SECURITY: API keys should never be fetched via context\n contextPolicy: { enabled: false }\n }\n ),\n\n // OAuth Clients relationships (mirror API Keys — registered client-credentials front)\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.OAUTH_CLIENTS_ORGANIZATION,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n // SECURITY: OAuth client secrets should never be fetched via context\n contextPolicy: { enabled: false }\n }\n ),\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.OAUTH_CLIENTS_APPLICATION,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n // SECURITY: OAuth client secrets should never be fetched via context\n contextPolicy: { enabled: false }\n }\n ),\n\n // Audit Logs - System resource.\n // APPLICATION remains the resource's canonical primary-scope classification,\n // but an individual audit row does not necessarily describe an application\n // tenant: organization-scoped, user-only, and system events legitimately omit\n // applicationId. Keep the FK optional so relationship persistence matches the\n // forensic event schema instead of silently making every row application-bound.\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.AUDIT_LOGS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n isPrimaryScope: true,\n foreignKeyField: 'applicationId',\n parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n contextPolicy: { enabled: false }\n }\n ),\n // Step 19D: Changed from STANDALONE to REQUIRES_CONTEXT for org-scoped Audit Log Viewer.\n // parentResourceRequirement=OPTIONAL because AuditableEvent_BaseSchema.organizationId is\n // optional — audit logs can be application-level events with no org context. accessScopeStrategy\n // must be explicit (REQUIRES_CONTEXT) because Guard 1 prohibits isPrimaryScope+OPTIONAL_CONTEXT.\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.AUDIT_LOGS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n\n foreignKeyField: 'organizationId',\n parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.REQUIRES_CONTEXT,\n nature: RelationshipNature.REFERENCE,\n childOperations: {\n lifecycle: { onParentDelete: { enabled: false } },\n },\n contextPolicy: {\n operationOverrides: {\n [CoreResourceOperation.LIST]: { enabled: false },\n [CoreResourceOperation.SEARCH]: { enabled: false },\n },\n },\n }\n ),\n // parentResourceRequirement=OPTIONAL because AuditableEvent_BaseSchema.userId is optional —\n // audit logs can be application-level events with no associated user (e.g. system events).\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.AUDIT_LOGS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n contextPolicy: { enabled: false }\n }\n ),\n\n // ── Notification Badges (Dual-Scope Polymorphic) ─────────────────────\n // Each scope owns its own resource type and its own MongoDB collection.\n // Accessed internally via `NotificationBadgeBackendService`, which dispatches\n // to the right repository based on the request's scope. The APPLICATION\n // variant was dropped (no canonical badges declared at app scope; broadcast\n // remains an option in `NotificationBadgeBackendService.emitBadgeUpdate`).\n //\n // Refactor: `.cursor/plans/notification-badges-polymorphism-refactor.md`\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.USER_NOTIFICATION_BADGES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n isPrimaryScope: true,\n foreignKeyField: 'userId',\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n // Notifications: ephemeral, accessed via dedicated service\n contextPolicy: { enabled: false }\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_NOTIFICATION_BADGES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n isPrimaryScope: true,\n foreignKeyField: 'organizationId',\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n // Notifications: ephemeral, accessed via dedicated service\n contextPolicy: { enabled: false }\n }\n ),\n\n // Queue System Resources - Internal infrastructure for job tracking and payload storage\n // NOTE: These are INTERNAL resources, not exposed via API URLs.\n // Access is exclusively via repository services with INTERNAL variants.\n // The STANDALONE strategy keeps them out of URL routing; `isPrimaryScope: true`\n // anchors the scope enum to APPLICATION (ownership graph is orthogonal to\n // URL routing — see `resources-relationships.shared.factory.ts` Guard 1).\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.JOB_EXECUTIONS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n isPrimaryScope: true,\n nature: RelationshipNature.REFERENCE,\n // Internal resource: never fetch via context, accessed via dedicated services\n contextPolicy: { enabled: false }\n }\n ),\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.JOB_PAYLOAD_STORAGE,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n isPrimaryScope: true,\n nature: RelationshipNature.REFERENCE,\n // Internal resource: never fetch via context, accessed via dedicated services\n contextPolicy: { enabled: false }\n }\n ),\n\n // ── Job Execution Cross-Scope FK Edges ───────────────────────────────\n //\n // JobExecution carries the originating execution context (`organizationId`,\n // `userId`) plus optional payload-storage references. These fields are\n // genuine FKs into existing resources — they exist so internal queue\n // services can filter / join. STANDALONE access keeps these edges off the\n // URL surface (the resource is APPLICATION-primary; admin queries it via\n // the JobExecution UI, not nested under /organizations/:id/job-executions).\n //\n // `parentResourceRequirement: OPTIONAL` matches the schema (`.optional()`\n // on all four fields). `isPrimaryScope: false` because APPLICATION is the\n // primary scope anchor (declared above).\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.JOB_EXECUTIONS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'organizationId',\n parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } },\n contextPolicy: { enabled: false }\n }\n ),\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.JOB_EXECUTIONS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'userId',\n parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } },\n contextPolicy: { enabled: false }\n }\n ),\n createResourcesRelationship(\n CoreResourceType.JOB_PAYLOAD_STORAGE, CoreResourceType.JOB_EXECUTIONS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'inputPayloadStorageId',\n parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } },\n contextPolicy: { enabled: false }\n }\n ),\n createResourcesRelationship(\n CoreResourceType.JOB_PAYLOAD_STORAGE, CoreResourceType.JOB_EXECUTIONS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'outputPayloadStorageId',\n parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } },\n contextPolicy: { enabled: false }\n }\n ),\n\n // Flows-Actors Execution Resources (POLYMORPHIC) — persisted flow/actor system\n // executions. Owner = the injected scope FK per variant (USER_SELF / ORGANIZATIONS /\n // APPLICATION primary scope): the default API READ/LIST return only the caller's own\n // executions (per-scope chat history). COMPOSITION + onParentDelete cascade removes a\n // scope's executions when the owning user/org/app is deleted (via the default DELETE\n // op at the repository tier). Not context-fetched (accessed via the conversational\n // runtime), so contextPolicy is disabled.\n // USERS → userFlowActorExecutions\n // ORGANIZATIONS → organizationFlowActorExecutions\n // APPLICATION → applicationFlowActorExecutions\n ...createPolymorphicScopeRelationships(flowActorExecutionsPolymorphicDeclaration, {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: { enabled: false },\n }),\n\n // Flows-Actors Task Resources (POLYMORPHIC) — the WORK plane behind the A2A `Task`\n // object, owned by the same three scopes as executions so a task always belongs to\n // the principal that drove the turn. COMPOSITION + onParentDelete cascade removes a\n // scope's tasks when the owning user/org/app is deleted.\n // USERS → userFlowActorTasks\n // ORGANIZATIONS → organizationFlowActorTasks\n // APPLICATION → applicationFlowActorTasks\n //\n // `childCardinality` is left at its MANY default, which is CORRECT here (unlike the\n // A2ATokenBudgetState sibling below, a singleton that must pin ONE): tasks are\n // multi-row per scope, so the cascade discovers them via LIST — and this resource\n // DECLARES a LIST op, so `validateCompositionCascadeDeletability` is satisfied.\n //\n // NOTE the deliberate absence of an execution→task relationship: `flowActorExecutionId`\n // is a SOFT indexed link, not a declared FK, because a task must be able to outlive the\n // conversation that produced it. See the base schema for the full rationale.\n ...createPolymorphicScopeRelationships(flowActorTasksPolymorphicDeclaration, {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: { enabled: false },\n }),\n\n // Scope → A2ATokenBudgetState (isPrimaryScope: true, 3 variants; SINGLETON per tenant).\n // USERS → userA2aTokenBudgetState, ORGANIZATIONS → organizationA2aTokenBudgetState,\n // APPLICATION → applicationA2aTokenBudgetState.\n // COMPOSITION so a deleted tenant's budget row is cascade-cleaned (IMMEDIATE, depth 1).\n //\n // `childCardinality: ONE` is load-bearing, not decoration: this child is a SINGLETON (the\n // injected owner FK is its unique business key — exactly one row per tenant), and the helper\n // DEFAULTS to MANY. Beyond being semantically wrong, MANY makes the cascade look for a LIST\n // discovery op while a 1:1 child is discovered via READ — and this resource declares no LIST.\n // That mismatch does NOT silently orphan rows: `validateCompositionCascadeDeletability` collects\n // it and the caller fails CLOSED at boot. (It did exactly that while this resource was being\n // built — the cardinality was the true cause, not the ops' variant types.)\n ...createPolymorphicScopeRelationships(a2aTokenBudgetStatePolymorphicDeclaration, {\n nature: RelationshipNature.COMPOSITION,\n childCardinality: ResourceRelationshipCardinality.ONE,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: { enabled: false },\n }),\n\n // Scope → A2APushDeliveryLog (isPrimaryScope: true, 3 variants; MANY rows per tenant).\n // USERS → userA2aPushDeliveryLog, ORGANIZATIONS → organizationA2aPushDeliveryLog,\n // APPLICATION → applicationA2aPushDeliveryLog.\n //\n // Default cardinality (MANY) — unlike the budget singleton above, there is one row per\n // (task transition × registered webhook), and the resource declares LIST, so the cascade's\n // discovery op resolves.\n //\n // COMPOSITION with IMMEDIATE cascade: these rows are evidence ABOUT a tenant's deliveries and\n // have no meaning once the tenant is gone. Deliberately NOT retained the way billing rows are —\n // a delivery log carries no financial or statutory obligation, and keeping it would leave\n // webhook URLs (a tenant's own infrastructure addresses) alive after erasure, which is the\n // opposite of what a subject-erasure path is for.\n ...createPolymorphicScopeRelationships(a2aPushDeliveryLogPolymorphicDeclaration, {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: { enabled: false },\n }),\n\n // ── Billing Relationships (Polymorphic) ─────────────────────────────\n\n // Scope → BillingAccounts (isPrimaryScope: true, 2 variants)\n // ORGANIZATIONS → organizationBillingAccounts\n // USERS → userBillingAccounts\n //\n // ⚠️ RETAINED TOO (coherence follow-up to the billing-retention decision, Paul — 2026-07-29).\n // The account was NOT part of the original 16 edges — it has a core DELETE op, so the\n // cascade-deletability guard never flagged it — but leaving it enabled made the retention\n // decision incoherent: hard-deleting a scope killed the account while its retained invoices /\n // subscriptions / usage records / credit pools survived pointing at a dead row.\n //\n // Why the dangling reference was not survivable, concretely (traced 2026-07-29):\n // • `providerCustomerId` is `.isBackendOnly()` and lives ONLY here. The retained children carry\n // their own provider ids (`providerInvoiceId`, `providerSubscriptionId`) but NOT the provider\n // CUSTOMER id — so deleting the account destroys the only local key that maps a retained\n // invoice back to the customer it was billed to. A financial record you cannot reconcile\n // against the provider defeats the purpose of retaining it. Nothing provider-side is cleaned\n // up on delete either (no customer deletion, no subscription cancellation), so this was a\n // purely LOCAL mapping being thrown away while the provider-side record lived on.\n // • The usage-flush sweep (`UsageMeteringBackendService.flushScopeToProvider`) selects on\n // `reportedToProvider: false`, groups by this FK, and skips its \"mark as reported\" write when\n // the customer id cannot be resolved. Retained usage rows whose account was deleted are\n // therefore re-selected by EVERY subsequent sweep and can never drain — a permanent,\n // monotonically growing error backlog. (Latent today: no cron calls `flushToProvider` yet.)\n // • `onSubscriptionChanged` (feature sync, fired by the subscription post-operation hook) and\n // the webhook router's `emitBillingEvent` both dereference this FK off a retained child; both\n // are null-guarded, so they degrade to a warn + silent no-op rather than crashing.\n // • Relationship context population (`contextPolicy: {}` on the child edges below) fetches this\n // account as SUMMARY on every child READ/LIST; it is fault-tolerant, so the miss becomes a\n // per-request warn forever rather than an error.\n // No chart or aggregation reads billing, and no billing schema uses `forwardedLabel`, so those\n // surfaces were unaffected either way.\n //\n // The account row now carries a dangling scope FK of its own after a scope delete — but that is\n // exactly the danglingness the 2026-07-29 decision already accepted for its four child families,\n // not a new kind of inconsistency. As with those children, the nature stays COMPOSITION (the\n // account genuinely belongs to its scope); only the dies-with-parent behaviour is declined.\n //\n // With this cascade disabled, a DIRECT hard delete of the account became the only remaining path\n // into the forbidden half-state described below. That path is now closed at runtime: the billing\n // account's DELETE carries a fail-closed dependents guard that refuses with 409\n // `BILLING_ACCOUNT_HAS_DEPENDENTS` while any retained child still references the account\n // (`assertNoBillingAccountDependents`, wired as a DELETE prefix custom implementation). Keep that\n // guard's family list in lock-step with the retained edges declared here.\n ...createPolymorphicScopeRelationships(billingAccountsPolymorphicDeclaration, {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } }, // RETAIN (compliance decision 2026-07-29) — see the note above.\n }),\n\n // Scope → Subscriptions (isPrimaryScope: true, 2 variants)\n // ORGANIZATIONS → organizationSubscriptions\n // USERS → userSubscriptions\n ...createPolymorphicScopeRelationships(billingSubscriptionsPolymorphicDeclaration, {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } }, // RETAIN (compliance decision 2026-07-29) — see the billing-retention note above.\n }),\n\n // BillingAccounts → Subscriptions (variant-matched, 1:N)\n // organizationBillingAccounts → organizationSubscriptions\n // userBillingAccounts → userSubscriptions\n ...createPolymorphicRelationships(\n billingAccountsPolymorphicDeclaration,\n billingSubscriptionsPolymorphicDeclaration,\n ResourceRelationshipCardinality.ONE,\n ResourceRelationshipCardinality.MANY,\n {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } }, // RETAIN (compliance decision 2026-07-29) — see the billing-retention note above.\n contextPolicy: {},\n },\n ),\n\n // ── Polymorphic Billing Children ─────────────────────────────────────\n //\n // ⚠️ BILLING RETENTION (compliance decision, Paul — 2026-07-29): subscriptions / invoiceRefs /\n // usageRecords / creditPools are RETAINED, never cascade-deleted. The financial audit trail must\n // survive the deletion of the scope or the billing account that produced it (tax / SOX retention),\n // so every `onParentDelete` below is DISABLED — 16 edges in total (4 families × 2 parents × 2 scope\n // variants). These are the entries formerly tracked as `KNOWN_CASCADE_DELETABILITY_GAPS`.\n //\n // Why NOT `retentionPolicy` + `IMPERSONALIZE_AND_RETAIN`: that machinery also HIDES and FREEZES the\n // row (reachable only through the audited see-through path), and these invoices must stay visible\n // for ordinary accounting. It is also the wrong tool semantically — a billing row holds no personal\n // data of its own (no name, email or address; the person is a foreign key), so there is nothing on\n // it to scrub. The PII lives on the linked USER, which is where impersonalization belongs: erasing\n // a subject scrubs the user row and keeps it, so these financial rows keep resolving to an\n // anonymized subject.\n //\n // A COMPOSITION without `onParentDelete` is an explicitly supported combination — it leaves the\n // children behind by design choice (see `validateCompositionCascadeDeletability`). The nature stays\n // COMPOSITION because these rows genuinely belong to their scope; only the dies-with-parent\n // behaviour is declined.\n //\n // The `Scope → BillingAccounts` edge above was RETAINED on the same day as a coherence follow-up\n // (18 disabled billing cascades in total). Without it these 16 edges kept rows whose owning account\n // had been deleted — see the rationale block at that declaration. Do not re-enable either half in\n // isolation: retaining the children while deleting the account strands the provider-customer\n // mapping, and deleting the children while retaining the account discards the audit trail.\n\n // Invoice Refs — scope relationships (2 variants)\n ...createPolymorphicScopeRelationships(invoiceRefsPolymorphicDeclaration, {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } }, // RETAIN (compliance decision 2026-07-29) — see the billing-retention note above.\n }),\n\n // BillingAccounts → InvoiceRefs (variant-matched, 1:N)\n ...createPolymorphicRelationships(\n billingAccountsPolymorphicDeclaration,\n invoiceRefsPolymorphicDeclaration,\n ResourceRelationshipCardinality.ONE,\n ResourceRelationshipCardinality.MANY,\n {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } }, // RETAIN (compliance decision 2026-07-29) — see the billing-retention note above.\n contextPolicy: {},\n },\n ),\n\n // Usage Records — scope relationships (2 variants: ORG, USER)\n ...createPolymorphicScopeRelationships(usageRecordsPolymorphicDeclaration, {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } }, // RETAIN (compliance decision 2026-07-29) — see the billing-retention note above.\n }),\n\n // BillingAccounts → UsageRecords (variant-matched, 1:N)\n ...createPolymorphicRelationships(\n billingAccountsPolymorphicDeclaration,\n usageRecordsPolymorphicDeclaration,\n ResourceRelationshipCardinality.ONE,\n ResourceRelationshipCardinality.MANY,\n {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } }, // RETAIN (compliance decision 2026-07-29) — see the billing-retention note above.\n contextPolicy: { enabled: false },\n },\n ),\n\n // Credit Pools — scope relationships (2 variants: ORG, USER)\n ...createPolymorphicScopeRelationships(creditPoolsPolymorphicDeclaration, {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } }, // RETAIN (compliance decision 2026-07-29) — see the billing-retention note above.\n }),\n\n // BillingAccounts → CreditPools (variant-matched, 1:N)\n ...createPolymorphicRelationships(\n billingAccountsPolymorphicDeclaration,\n creditPoolsPolymorphicDeclaration,\n ResourceRelationshipCardinality.ONE,\n ResourceRelationshipCardinality.MANY,\n {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } }, // RETAIN (compliance decision 2026-07-29) — see the billing-retention note above.\n contextPolicy: {},\n },\n ),\n\n // Referrals keep shared FK field names (`referrerBillingAccountId`, `referredBillingAccountId`)\n // instead of polymorphic per-variant field expansion. Each is declared a per-record\n // DISCRIMINATED polymorphic FK on `ReferralSchema` (`polymorphicVariants:\n // BILLING_SCOPE_DISCRIMINATED_FK_VARIANTS` + `polymorphicDiscriminatorField:\n // 'referrer|referredScopeType'`). These sibling relationships enumerate the candidate\n // billing-account branches per FK; the concrete branch is resolved PER RECORD via the\n // scope discriminator (Resources_SharedUtils.resolveDiscriminatedPolymorphicForeignKeyTarget),\n // and the registry FK→type map keeps only a non-authoritative representative for these fields.\n createResourcesRelationship(\n CoreResourceType.USER_BILLING_ACCOUNTS, CoreResourceType.REFERRALS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'referrerBillingAccountId',\n parentResourceRequirement: ResourceParentResourceRequirement.MANDATORY,\n contextPolicy: { enabled: false },\n }\n ),\n createResourcesRelationship(\n CoreResourceType.USER_BILLING_ACCOUNTS, CoreResourceType.REFERRALS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'referredBillingAccountId',\n parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,\n contextPolicy: { enabled: false },\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATION_BILLING_ACCOUNTS, CoreResourceType.REFERRALS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'referrerBillingAccountId',\n parentResourceRequirement: ResourceParentResourceRequirement.MANDATORY,\n contextPolicy: { enabled: false },\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATION_BILLING_ACCOUNTS, CoreResourceType.REFERRALS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'referredBillingAccountId',\n parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,\n contextPolicy: { enabled: false },\n }\n ),\n\n // ── Non-Polymorphic Billing Relationships ────────────────────────────\n\n // Products → Prices (1:N, cascade delete)\n createResourcesRelationship(\n CoreResourceType.PRODUCTS, CoreResourceType.PRICES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: {},\n }\n ),\n\n // ── Catalog & Internal Scope Anchors (STANDALONE primary) ────────────\n //\n // Catalog-tier resources (products, prices, promotions) and shared lookup\n // tables (referrals, files, userFeatures) need a primary-scope anchor so\n // that `createResourceConfiguration_Initialization` can derive their\n // `resourcePrimaryScope` enum without falling back to a silent default.\n //\n // STANDALONE keeps these rels off the URL surface (catalog/lookup access\n // goes through dedicated services, not parent-scoped routes) while\n // `isPrimaryScope: true` declares the structural ownership: catalog\n // entities are APPLICATION-tier; user-facing lookups are USER_SELF-tier.\n //\n // See `resources-relationships.shared.factory.ts` Guard 1 for the full\n // rationale on why STANDALONE + isPrimaryScope is the canonical pattern\n // for resources that are scope-anchored but not URL-routed.\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.PRODUCTS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n isPrimaryScope: true,\n nature: RelationshipNature.REFERENCE,\n contextPolicy: { enabled: false },\n }\n ),\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.PRICES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n isPrimaryScope: true,\n nature: RelationshipNature.REFERENCE,\n contextPolicy: { enabled: false },\n }\n ),\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.PROMOTIONS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n isPrimaryScope: true,\n nature: RelationshipNature.REFERENCE,\n contextPolicy: { enabled: false },\n }\n ),\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.USER_FEATURES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n foreignKeyField: 'userId',\n // onParentDelete cascade: USER_FEATURES is a composition part — it dies with its\n // user. This edge was the lone scope-features sibling MISSING childOperations\n // (ORGANIZATION_FEATURES / APPLICATION_FEATURES both declared the cascade) →\n // orphan-on-user-delete risk; now aligned. Deliberately NO onParentCreate: the\n // scope-features ledger is cache-resolved (see the ORGANIZATION_FEATURES note).\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: { enabled: false },\n }\n ),\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.FILES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n isPrimaryScope: true,\n nature: RelationshipNature.REFERENCE,\n // applicationId is always propagated to every file record from the execution context\n // at creation time, regardless of the file's primaryScope (APPLICATION / ORGANIZATIONS /\n // USER_SELF). It is the top-level tenant isolation field, not the scope discriminator.\n contextPolicy: { enabled: false },\n }\n ),\n\n // Referrals scope anchor — TEMPORARY SHIM — Phase 4.5 Step 2.5 Layer 3c TODO.\n //\n // Referrals naturally inherit polymorphism from `*_billingAccounts` (which\n // are USER_SELF/ORG-polymorphic). The principled long-term design is to\n // split `referrals` into the same polymorphic variant pair so each variant\n // carries its own scope via the parent billing-account chain. Until that\n // follow-up PR lands, the ORGANIZATIONS edge below carries a STANDALONE\n // primary anchor so the resource has a defined `resourcePrimaryScope` and\n // the registry-layer factory's no-fallback throw stays satisfied.\n // Tracked in `.cursor/plans/m2m-webhook-organization-delivery-phase4-5-hardening.md`\n // (Phase 4.5 Step 2.5 Layer 3c).\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.REFERRALS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n isPrimaryScope: true,\n nature: RelationshipNature.REFERENCE,\n contextPolicy: { enabled: false },\n }\n ),\n\n // ── Guidance State Relationships (Dual-Scope) ────────────────────────\n // Each scope entity has 1:1 guidance state — system resource, standalone access\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.USER_GUIDANCE_STATE,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE,\n {\n isPrimaryScope: true,\n foreignKeyField: 'userId',\n nature: RelationshipNature.COMPOSITION,\n // onParentCreate: eager-seed the guidance-state row on user creation (removes the lazy read-create race; evaluator read-then-creates so no dup).\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 }, onParentCreate: { enabled: true } } },\n contextPolicy: { enabled: false }\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_GUIDANCE_STATE,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE,\n {\n isPrimaryScope: true,\n foreignKeyField: 'organizationId',\n nature: RelationshipNature.COMPOSITION,\n // onParentCreate: eager-seed the guidance-state row on org creation.\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 }, onParentCreate: { enabled: true } } },\n contextPolicy: { enabled: false }\n }\n ),\n // ── Progression State Relationships (Dual-Scope) ─────────────────────────\n // Each scope entity has 1:1 progression state — system resource, standalone access\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.USER_PROGRESSION_STATE,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE,\n {\n isPrimaryScope: true,\n foreignKeyField: 'userId',\n nature: RelationshipNature.COMPOSITION,\n // onParentCreate: eager-seed the progression-state row on user creation.\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 }, onParentCreate: { enabled: true } } },\n contextPolicy: { enabled: false }\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_PROGRESSION_STATE,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE,\n {\n isPrimaryScope: true,\n foreignKeyField: 'organizationId',\n nature: RelationshipNature.COMPOSITION,\n // onParentCreate: eager-seed the progression-state row on org creation.\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 }, onParentCreate: { enabled: true } } },\n contextPolicy: { enabled: false }\n }\n ),\n // ── Lifecycle State Relationships (Dual-Scope) ─────────────────────────\n // Each scope entity has 1:1 lifecycle state — system resource, standalone access\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.USER_LIFECYCLE_STATE,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE,\n {\n isPrimaryScope: true,\n foreignKeyField: 'userId',\n nature: RelationshipNature.COMPOSITION,\n // onParentCreate: eager-seed the lifecycle-state row on user creation — the\n // genuine latent gap (no READ self-heal); the evaluator read-then-creates so no dup.\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 }, onParentCreate: { enabled: true } } },\n contextPolicy: { enabled: false }\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_LIFECYCLE_STATE,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE,\n {\n isPrimaryScope: true,\n foreignKeyField: 'organizationId',\n nature: RelationshipNature.COMPOSITION,\n // onParentCreate: eager-seed the lifecycle-state row on org creation (latent gap).\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 }, onParentCreate: { enabled: true } } },\n contextPolicy: { enabled: false }\n }\n ),\n // ── Inbound Contacts (Phase 0.5, Q-E=B) ──────────────────────────────\n //\n // APPLICATION-scope lead-capture resource. Two FK edges to USER-shaped\n // parents are declared MANUALLY (no `isAnonymizable: true`, so the\n // factory does NOT inject anything for this resource):\n //\n // 1. ANONYMOUS_USERS → INBOUND_CONTACTS via `anonymousUserId`\n // Filled by the controller pre-flight seam from the active anonymous\n // session. Cleared to `null` by the manual transposition hook in\n // `AnonymousSessionBackendService` once the user converts.\n //\n // 2. USERS → INBOUND_CONTACTS via `userId`\n // Filled by the manual transposition hook when the lead converts.\n // Distinct from the schema's `relatedUserId` (sales/support manual\n // linkage) — see InboundContactSchema JSDoc.\n //\n // `relatedUserId` is intentionally NOT modeled as a separate\n // ResourceRelationship row: it is a sparse, manually-populated free\n // FK with no auto-context / cascade / URL-routing semantics. Modeling\n // it would add a second USERS → INBOUND_CONTACTS edge that the URL\n // builder would have to disambiguate via FK at every nested route, for\n // zero product gain (sales reps will use the standalone admin URL with\n // a filter, not a nested /users/:id/inbound-contacts path).\n //\n // Both edges use STANDALONE access scope: the resource is admin-listed\n // from APPLICATION scope, never nested under anonymous-users or users.\n // parentResourceRequirement=OPTIONAL because anonymousUserId is nullable (cleared to null on conversion).\n createResourcesRelationship(\n CoreResourceType.ANONYMOUS_USERS, CoreResourceType.INBOUND_CONTACTS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'anonymousUserId',\n // Lead survives anonymous-session cleanup (transposition rewrites\n // anonymousUserId → null when the lead converts; expired sessions\n // never owned the lead's lifecycle).\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } },\n contextPolicy: { enabled: false },\n }\n ),\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.INBOUND_CONTACTS,\n // ONE → MANY: userId is nullable on the schema (anonymous/unlinked leads have no user).\n // parentResourceRequirement=OPTIONAL to align with the nullable FK —\n // MANDATORY (default) would cause a ZodToMongoose required-mismatch crash.\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'userId',\n // Lead history is org-owned, not user-owned — survives user\n // deletion (compliance / audit signal). DELETE on a user does\n // not cascade to leads they happened to convert from.\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } },\n contextPolicy: { enabled: false },\n }\n ),\n\n // INBOUND_CONTACTS scope anchor (STANDALONE primary).\n //\n // Phase 4.5 Step 2.5 Layer 3a: declares APPLICATION as the structural\n // owner of inbound-contacts. The two USER-shaped FK edges above\n // (ANONYMOUS_USERS / USERS) carry conversion linkage but do NOT define\n // ownership — leads survive parent deletion and are admin-listed from\n // APPLICATION scope. STANDALONE keeps this rel inert for URL routing\n // (no nested /applications/:id/inbound-contacts path).\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.INBOUND_CONTACTS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n isPrimaryScope: true,\n nature: RelationshipNature.REFERENCE,\n contextPolicy: { enabled: false },\n }\n ),\n\n // ── Auth Relationships (Polymorphic — Singletons: 1:1, Collections: 1:N) ──\n\n // SSO Config — singleton (ONE per scope)\n ...createPolymorphicScopeRelationships(ssoConfigPolymorphicDeclaration, {\n childCardinality: ResourceRelationshipCardinality.ONE,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: {\n objectMode: ContextPolicy_ObjectMode.SUMMARY,\n operationOverrides: {\n [CoreResourceOperation.READ]: { objectMode: ContextPolicy_ObjectMode.FULL },\n },\n },\n }),\n\n // SSO Connections — collection (MANY per scope)\n ...createPolymorphicScopeRelationships(ssoConnectionPolymorphicDeclaration, {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: {\n operationOverrides: {\n [CoreResourceOperation.LIST]: { enabled: false },\n [CoreResourceOperation.SEARCH]: { enabled: false },\n },\n },\n }),\n\n // SIEM Export Config — singleton (ONE per scope)\n ...createPolymorphicScopeRelationships(siemExportConfigPolymorphicDeclaration, {\n childCardinality: ResourceRelationshipCardinality.ONE,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: {\n objectMode: ContextPolicy_ObjectMode.SUMMARY,\n operationOverrides: {\n [CoreResourceOperation.READ]: { objectMode: ContextPolicy_ObjectMode.FULL },\n },\n },\n }),\n\n // SIEM Delivery DLQ — collection (MANY per scope)\n ...createPolymorphicScopeRelationships(siemDeliveryDlqPolymorphicDeclaration, {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: {\n operationOverrides: {\n [CoreResourceOperation.LIST]: { enabled: false },\n [CoreResourceOperation.SEARCH]: { enabled: false },\n },\n },\n }),\n\n // SCIM Tokens — collection (MANY per scope)\n ...createPolymorphicScopeRelationships(scimTokensPolymorphicDeclaration, {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: {\n objectMode: ContextPolicy_ObjectMode.SUMMARY,\n operationOverrides: {\n [CoreResourceOperation.READ]: { objectMode: ContextPolicy_ObjectMode.FULL },\n },\n },\n }),\n\n // SCIM Provisioning Config — singleton (ONE per scope)\n ...createPolymorphicScopeRelationships(scimProvisioningConfigPolymorphicDeclaration, {\n childCardinality: ResourceRelationshipCardinality.ONE,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: {\n objectMode: ContextPolicy_ObjectMode.SUMMARY,\n operationOverrides: {\n [CoreResourceOperation.READ]: { objectMode: ContextPolicy_ObjectMode.FULL },\n },\n },\n }),\n\n // M2M Webhook Config — singleton (ONE per scope), mirrors SIEM Export Config wiring.\n ...createPolymorphicScopeRelationships(webhookConfigPolymorphicDeclaration, {\n childCardinality: ResourceRelationshipCardinality.ONE,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: {\n objectMode: ContextPolicy_ObjectMode.SUMMARY,\n operationOverrides: {\n [CoreResourceOperation.READ]: { objectMode: ContextPolicy_ObjectMode.FULL },\n },\n },\n }),\n\n // M2M Webhook Delivery Log — collection (MANY per scope). LIST/SEARCH stay\n // off the context surface (high-volume noise — admin queries them via the\n // dedicated UI, not via implicit context inclusion). Mirrors SIEM DLQ wiring.\n ...createPolymorphicScopeRelationships(m2mWebhookDeliveryLogPolymorphicDeclaration, {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: {\n operationOverrides: {\n [CoreResourceOperation.LIST]: { enabled: false },\n [CoreResourceOperation.SEARCH]: { enabled: false },\n },\n },\n }),\n];\n\nexport const coreShared_ResourcesConfigurations_FactoryMap: ResourceConfiguration_InitializationFactoryMap<CoreResourceType> = {\n [CoreResourceType.ORGANIZATIONS]: organizationResourceConfiguration_InitializationFactory,\n [CoreResourceType.USERS]: usersResourceConfiguration_InitializationFactory,\n [CoreResourceType.USER_CREDENTIALS]: userCredentialsResourceConfiguration_InitializationFactory,\n [CoreResourceType.USER_SELF]: userSelfResourceConfiguration_InitializationFactory,\n [CoreResourceType.USER_PROFILES]: userProfilesResourceConfiguration_InitializationFactory,\n [CoreResourceType.USER_PREFERENCES]: userPreferencesResourceConfiguration_InitializationFactory,\n [CoreResourceType.USER_SELF_PROFILES]: userSelfProfilesResourceConfiguration_InitializationFactory,\n [CoreResourceType.USER_SELF_PREFERENCES]: userSelfPreferencesResourceConfiguration_InitializationFactory,\n\n // Organization-related resources\n [CoreResourceType.ORGANIZATION_UNITS]: organizationUnitResourceConfiguration_InitializationFactory,\n [CoreResourceType.ORGANIZATION_UNIT_MEMBERS]: organizationUnitMemberResourceConfiguration_InitializationFactory,\n [CoreResourceType.ORGANIZATION_PROFILES]: organizationProfileResourceConfiguration_InitializationFactory,\n [CoreResourceType.ORGANIZATION_PREFERENCES]: organizationPreferencesResourceConfiguration_InitializationFactory,\n [CoreResourceType.PLATFORM_ACCESS_GRANTS]: platformAccessGrantsResourceConfiguration_InitializationFactory,\n [CoreResourceType.ORGANIZATION_NOTIFICATIONS]: organizationNotificationsResourceConfiguration_InitializationFactory,\n [CoreResourceType.ORGANIZATION_FEATURES]: organizationFeaturesResourceConfiguration_InitializationFactory,\n [CoreResourceType.USER_FEATURES]: userFeaturesResourceConfiguration_InitializationFactory,\n [CoreResourceType.ORGANIZATION_MEMBERS]: organizationMembersResourceConfiguration_InitializationFactory,\n\n // Application resources\n [CoreResourceType.APPLICATION]: applicationResourceConfiguration_InitializationFactory,\n [CoreResourceType.APPLICATION_METADATA]: applicationMetadataResourceConfiguration_InitializationFactory,\n [CoreResourceType.APPLICATION_VERSIONS]: applicationVersionsResourceConfiguration_InitializationFactory,\n [CoreResourceType.APPLICATION_FEATURES]: applicationFeaturesResourceConfiguration_InitializationFactory,\n\n // API Keys\n [CoreResourceType.ORG_API_KEYS]: orgApiKeysResourceConfiguration_InitializationFactory,\n [CoreResourceType.APPLICATION_API_KEYS]: appApiKeysResourceConfiguration_InitializationFactory,\n\n // OAuth Clients (registered client-credentials front — mirrors API Keys)\n [CoreResourceType.OAUTH_CLIENTS_ORGANIZATION]: orgOAuthClientsResourceConfiguration_InitializationFactory,\n [CoreResourceType.OAUTH_CLIENTS_APPLICATION]: appOAuthClientsResourceConfiguration_InitializationFactory,\n\n // Billing resources — polymorphic variants (3 each for accounts & subscriptions)\n ...billingAccountsPolymorphicFactories,\n ...billingSubscriptionsPolymorphicFactories,\n // Billing resources — non-polymorphic (shared catalog)\n [CoreResourceType.PRODUCTS]: productsResourceConfiguration_InitializationFactory,\n [CoreResourceType.PRICES]: pricesResourceConfiguration_InitializationFactory,\n ...invoiceRefsPolymorphicFactories,\n ...usageRecordsPolymorphicFactories,\n ...creditPoolsPolymorphicFactories,\n [CoreResourceType.PROMOTIONS]: promotionsResourceConfiguration_InitializationFactory,\n [CoreResourceType.REFERRALS]: referralsResourceConfiguration_InitializationFactory,\n\n // Audit and Compliance\n [CoreResourceType.AUDIT_LOGS]: auditLogsResourceConfiguration_InitializationFactory,\n\n // Notification Badges — polymorphic dual-scope (USER + ORG)\n [CoreResourceType.USER_NOTIFICATION_BADGES]: userNotificationBadgesResourceConfiguration_InitializationFactory,\n [CoreResourceType.ORGANIZATION_NOTIFICATION_BADGES]: organizationNotificationBadgesResourceConfiguration_InitializationFactory,\n\n // File Management Resources\n [CoreResourceType.FILES]: filesResourceConfiguration_InitializationFactory,\n\n // Queue System Resources (internal infrastructure)\n [CoreResourceType.JOB_EXECUTIONS]: jobExecution_ResourceConfiguration_InitializationFactory,\n [CoreResourceType.JOB_PAYLOAD_STORAGE]: jobPayloadStorage_ResourceConfiguration_InitializationFactory,\n\n // Flows-Actors Execution Resource (persisted flow/actor system executions)\n ...flowActorExecutionsPolymorphicFactories,\n // Flows-Actors Task Resource (the WORK plane behind the A2A `Task` object)\n ...flowActorTasksPolymorphicFactories,\n ...a2aTokenBudgetStatePolymorphicFactories,\n ...a2aPushDeliveryLogPolymorphicFactories,\n\n // Authentication Resources\n [CoreResourceType.USER_IDENTITY_LINKS]: userIdentityLinksResourceConfiguration_InitializationFactory,\n [CoreResourceType.OAUTH_CONSENT_GRANTS]: oauthConsentGrantsResourceConfiguration_InitializationFactory,\n\n // Anonymous Session Resources (W7.3a)\n [CoreResourceType.ANONYMOUS_USERS]: anonymousUsersResourceConfiguration_InitializationFactory,\n\n // Inbound Contacts (Phase 0.5 — public marketing-site lead capture, Q-E=B)\n [CoreResourceType.INBOUND_CONTACTS]: inboundContactsResourceConfiguration_InitializationFactory,\n\n // Guidance State Resources\n [CoreResourceType.USER_GUIDANCE_STATE]: userGuidanceStateResourceConfiguration_InitializationFactory,\n [CoreResourceType.ORGANIZATION_GUIDANCE_STATE]: organizationGuidanceStateResourceConfiguration_InitializationFactory,\n\n // Progression State Resources\n [CoreResourceType.USER_PROGRESSION_STATE]: userProgressionStateResourceConfiguration_InitializationFactory,\n [CoreResourceType.ORGANIZATION_PROGRESSION_STATE]: organizationProgressionStateResourceConfiguration_InitializationFactory,\n\n // Lifecycle State Resources\n [CoreResourceType.USER_LIFECYCLE_STATE]: userLifecycleStateResourceConfiguration_InitializationFactory,\n [CoreResourceType.ORGANIZATION_LIFECYCLE_STATE]: organizationLifecycleStateResourceConfiguration_InitializationFactory,\n\n // Auth Resources — polymorphic variants (SSO + SIEM + SCIM, 6 × 2 = 12 entries)\n ...ssoConfigPolymorphicFactories,\n ...ssoConnectionPolymorphicFactories,\n ...siemExportConfigPolymorphicFactories,\n ...siemDeliveryDlqPolymorphicFactories,\n ...scimTokensPolymorphicFactories,\n ...scimProvisioningConfigPolymorphicFactories,\n\n // M2M Outbound Webhook Resources — polymorphic dual-scope (2 × 2 = 4 entries)\n ...webhookConfigPolymorphicFactories,\n ...m2mWebhookDeliveryLogPolymorphicFactories,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"resources-registry.shared.core.definitions.js","sourceRoot":"","sources":["../../../src/resources/resources-registry.shared.core.definitions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAwB,uCAAuC,EAAE,+BAA+B,EAAE,iCAAiC,EAAE,MAAM,4BAA4B,CAAC;AACnM,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAE5E,OAAO,EAAE,gBAAgB,EAAgB,MAAM,qCAAqC,CAAC;AAGrF,yCAAyC;AACzC,OAAO,EAAE,gDAAgD,EAAE,MAAM,gDAAgD,CAAC;AAClH,OAAO,EAAE,0DAA0D,EAAE,MAAM,2DAA2D,CAAC;AACvI,OAAO,EAAE,oDAAoD,EAAE,MAAM,uEAAuE,CAAC;AAC7I,OAAO,EAAE,+DAA+D,EAAE,MAAM,mFAAmF,CAAC;AACpK,OAAO,EAAE,gDAAgD,EAAE,MAAM,gDAAgD,CAAC;AAClH,OAAO,EAAE,mDAAmD,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H,gFAAgF;IAChF,GAAG,6BAA6B;IAChC,GAAG,iCAAiC;IACpC,GAAG,oCAAoC;IACvC,GAAG,mCAAmC;IACtC,GAAG,8BAA8B;IACjC,GAAG,0CAA0C;IAE7C,8EAA8E;IAC9E,GAAG,iCAAiC;IACpC,GAAG,yCAAyC;CAC7C,CAAC","sourcesContent":["import { RelationshipNature, ResourceRelationship, ResourceRelationshipAccessScopeStrategy, ResourceRelationshipCardinality, ResourceParentResourceRequirement } from \"./resources.shared.schemas\";\nimport { ContextPolicy_ObjectMode } from \"./context-policy.shared.schemas\";\nimport { ChildLifecycleMode } from \"./child-operations.shared.schemas\";\nimport { CoreResourceOperation } from \"./resources.shared.core.definitions\";\n\nimport { CoreResourceType, ResourceType } from \"./resources.shared.core.definitions\";\nimport { AnyResourceConfiguration, ResourcesRegistry, ResourceConfiguration_InitializationFactoryMap } from \"./resources-config.shared.schemas\";\n\n// Resource configuration factory imports\nimport { usersResourceConfiguration_InitializationFactory } from \"../users/users.shared.resources-config.schemas\";\nimport { userCredentialsResourceConfiguration_InitializationFactory } from \"../users/user-credentials.shared.resources-config.schemas\";\nimport { auditLogsResourceConfiguration_InitializationFactory } from \"../compliance/audit-trails/audit-logs.shared.resources-config.schemas\";\nimport { applicationAuditLogsResourceConfiguration_InitializationFactory } from \"../compliance/audit-trails/application-audit-logs.shared.resources-config.schemas\";\nimport { filesResourceConfiguration_InitializationFactory } from \"../files/files.shared.resources-config.schemas\";\nimport { userSelfResourceConfiguration_InitializationFactory } from \"../users/user-self.shared.resources-config.schemas\";\nimport { userProfilesResourceConfiguration_InitializationFactory } from \"../users/user-profiles.shared.resources-config.schemas\";\nimport { userPreferencesResourceConfiguration_InitializationFactory } from \"../users/user-preferences.shared.resources-config.schemas\";\nimport { userSelfProfilesResourceConfiguration_InitializationFactory } from \"../users/user-self-profiles.shared.resources-config.schemas\";\nimport { userSelfPreferencesResourceConfiguration_InitializationFactory } from \"../users/user-self-preferences.shared.resources-config.schemas\";\nimport { applicationResourceConfiguration_InitializationFactory } from \"../applications/applications.shared.resources-config.schemas\";\nimport { organizationResourceConfiguration_InitializationFactory } from \"../organizations/organizations.shared.resources-config.schemas\";\nimport { organizationUnitResourceConfiguration_InitializationFactory } from \"../organizations/organization-units.shared.resources-config.schemas\";\nimport { organizationUnitMemberResourceConfiguration_InitializationFactory } from \"../organizations/organization-unit-members.shared.resources-config.schemas\";\nimport { organizationProfileResourceConfiguration_InitializationFactory } from \"../organizations/organization-profile.shared.resources-config.schemas\";\nimport { organizationPreferencesResourceConfiguration_InitializationFactory } from \"../organizations/organization-preferences.shared.resources-config.schemas\";\nimport { applicationAccessGrantsResourceConfiguration_InitializationFactory } from '../security/authorizations/application-access-grants.shared.resources-config.schemas';\nimport { platformAccessGrantsResourceConfiguration_InitializationFactory } from '../security/authorizations/platform-access-grants.shared.resources-config.schemas';\nimport { organizationNotificationsResourceConfiguration_InitializationFactory } from \"../organizations/organization-notifications.shared.resources-config.schemas\";\nimport { organizationFeaturesResourceConfiguration_InitializationFactory } from \"../organizations/organization-features.shared.resources-config.schemas\";\nimport { userFeaturesResourceConfiguration_InitializationFactory } from \"../features/user-features.shared.resources-config.schemas\";\nimport { applicationFeaturesResourceConfiguration_InitializationFactory } from \"../features/application-features.shared.resources-config.schemas\";\nimport { organizationMembersResourceConfiguration_InitializationFactory } from \"../organizations/organization-members.shared.resources-config.schemas\";\nimport { orgApiKeysResourceConfiguration_InitializationFactory } from \"../security/api-keys/api-keys-organization.shared.resources-config.schemas\";\nimport { orgProviderCredentialsResourceConfiguration_InitializationFactory } from \"../security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas\";\nimport { userProviderCredentialsResourceConfiguration_InitializationFactory } from \"../security/connected-accounts/provider-credentials-user.shared.resources-config.schemas\";\nimport { appApiKeysResourceConfiguration_InitializationFactory } from \"../security/api-keys/api-keys-application.shared.resources-config.schemas\";\nimport { orgOAuthClientsResourceConfiguration_InitializationFactory } from \"../security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas\";\nimport { appOAuthClientsResourceConfiguration_InitializationFactory } from \"../security/oauth-clients/oauth-clients-application.shared.resources-config.schemas\";\nimport { oauthConsentGrantsResourceConfiguration_InitializationFactory } from \"../security/oauth-clients/oauth-consent-grants.shared.resources-config.schemas\";\nimport { billingAccountsPolymorphicFactories } from \"../billing/billing-account.shared.resources-config.schemas\";\nimport { billingAccountsPolymorphicDeclaration } from \"../billing/billing-account.shared.schemas\";\nimport { productsResourceConfiguration_InitializationFactory } from \"../billing/product.shared.resources-config.schemas\";\nimport { pricesResourceConfiguration_InitializationFactory } from \"../billing/price.shared.resources-config.schemas\";\nimport { billingSubscriptionsPolymorphicFactories } from \"../billing/subscription.shared.resources-config.schemas\";\nimport { billingSubscriptionsPolymorphicDeclaration } from \"../billing/subscription.shared.schemas\";\nimport { createPolymorphicScopeRelationships, createPolymorphicRelationships } from \"./utils/resource-polymorphism.relationships\";\nimport { invoiceRefsPolymorphicFactories } from \"../billing/invoice-ref.shared.resources-config.schemas\";\nimport { invoiceRefsPolymorphicDeclaration } from \"../billing/invoice-ref.shared.schemas\";\nimport { usageRecordsPolymorphicFactories } from \"../billing/usage-record.shared.resources-config.schemas\";\nimport { usageRecordsPolymorphicDeclaration } from \"../billing/usage-record.shared.schemas\";\nimport { creditPoolsPolymorphicFactories } from \"../billing/credit-pool.shared.resources-config.schemas\";\nimport { creditPoolsPolymorphicDeclaration } from \"../billing/credit-pool.shared.schemas\";\nimport { promotionsResourceConfiguration_InitializationFactory } from \"../billing/promotions.shared.resources-config.schemas\";\nimport { referralsResourceConfiguration_InitializationFactory } from \"../billing/referral.shared.resources-config.schemas\";\nimport {\n userNotificationBadgesResourceConfiguration_InitializationFactory,\n organizationNotificationBadgesResourceConfiguration_InitializationFactory,\n} from \"../notifications/notification-badges.shared.resources-config.schemas\";\nimport { createResourcesRelationship } from \"./resources-relationships.shared.factory\";\nimport { applicationVersionsResourceConfiguration_InitializationFactory } from \"../applications/application-versions.shared.resources-config.schemas\";\nimport { applicationMetadataResourceConfiguration_InitializationFactory } from \"../applications/application-metadata.shared.resources-config.schemas\";\n\n// Queue system resources\nimport {\n jobExecution_ResourceConfiguration_InitializationFactory,\n jobPayloadStorage_ResourceConfiguration_InitializationFactory\n} from \"../queue/jobs.shared.resources-config.schemas\";\n\n// Flows-Actors execution resource (persisted flow/actor system executions)\nimport { flowActorExecutionsPolymorphicFactories } from \"../flows-actors/flows-actors-execution.shared.resources-config.schemas\";\nimport { flowActorExecutionsPolymorphicDeclaration } from \"../flows-actors/flows-actors-execution.shared.schemas\";\nimport { flowActorTasksPolymorphicFactories } from \"../flows-actors/flows-actors-task.shared.resources-config.schemas\";\nimport { flowActorTasksPolymorphicDeclaration } from \"../flows-actors/flows-actors-task.shared.schemas\";\nimport { a2aTokenBudgetStatePolymorphicFactories } from \"../flows-actors/a2a-token-budget-state.shared.resources-config.schemas\";\nimport { a2aPushDeliveryLogPolymorphicFactories } from \"../flows-actors/a2a-push-delivery-log.shared.resources-config.schemas\";\nimport { a2aTokenBudgetStatePolymorphicDeclaration } from \"../flows-actors/a2a-token-budget-state.shared.schemas\";\nimport { a2aPushDeliveryLogPolymorphicDeclaration } from \"../flows-actors/a2a-push-delivery-log.shared.schemas\";\n\n// Authentication resources\nimport { userIdentityLinksResourceConfiguration_InitializationFactory } from \"../users/user-identity-links.shared.resources-config.schemas\";\n\n// Anonymous session resources (W7.3a)\nimport { anonymousUsersResourceConfiguration_InitializationFactory } from \"../users/anonymous-users.shared.resources-config.schemas\";\n\n// Inbound contacts (Phase 0.5 — public marketing-site lead capture, Q-E=B path)\nimport { inboundContactsResourceConfiguration_InitializationFactory } from \"../users/inbound-contacts.shared.resources-config.schemas\";\n\n// Guidance State resources\nimport { userGuidanceStateResourceConfiguration_InitializationFactory, organizationGuidanceStateResourceConfiguration_InitializationFactory } from \"../guidance/guidance-state.shared.resources-config.schemas\";\n\n// Auth polymorphic resource configs (SSO + SIEM + SCIM)\nimport { ssoConfigPolymorphicFactories } from \"../security/authentications/sso/sso-config.shared.resources-config.schemas\";\nimport { ssoConfigPolymorphicDeclaration } from \"../security/authentications/sso/sso-config.shared.schemas\";\nimport { ssoConnectionPolymorphicFactories } from \"../security/authentications/sso/sso-connection.shared.resources-config.schemas\";\nimport { ssoConnectionPolymorphicDeclaration } from \"../security/authentications/sso/sso-connection.shared.schemas\";\nimport { siemExportConfigPolymorphicFactories } from \"../security/authentications/siem/siem-export-config.shared.resources-config.schemas\";\nimport { siemExportConfigPolymorphicDeclaration } from \"../security/authentications/siem/siem-export-config.shared.schemas\";\nimport { siemDeliveryDlqPolymorphicFactories } from \"../security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas\";\nimport { siemDeliveryDlqPolymorphicDeclaration } from \"../security/authentications/siem/siem-delivery-dlq.shared.schemas\";\nimport { webhookConfigPolymorphicFactories } from \"../notifications/m2m/webhook-config.shared.resources-config.schemas\";\nimport { webhookConfigPolymorphicDeclaration } from \"../notifications/m2m/webhook-config.shared.schemas\";\nimport { m2mWebhookDeliveryLogPolymorphicFactories } from \"../notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas\";\nimport { m2mWebhookDeliveryLogPolymorphicDeclaration } from \"../notifications/m2m/m2m-webhook-delivery-log.shared.schemas\";\nimport { scimTokensPolymorphicFactories } from \"../security/authentications/scim/scim-tokens.shared.resources-config.schemas\";\nimport { scimTokensPolymorphicDeclaration } from \"../security/authentications/scim/scim-tokens.shared.schemas\";\nimport { scimProvisioningConfigPolymorphicFactories } from \"../security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas\";\nimport { scimProvisioningConfigPolymorphicDeclaration } from \"../security/authentications/scim/scim-provisioning-config.shared.schemas\";\n\n// Progression State resources\nimport { userProgressionStateResourceConfiguration_InitializationFactory, organizationProgressionStateResourceConfiguration_InitializationFactory } from \"../guidance/progression-state.shared.resources-config.schemas\";\n\n// Lifecycle State resources\nimport { userLifecycleStateResourceConfiguration_InitializationFactory, organizationLifecycleStateResourceConfiguration_InitializationFactory } from \"../guidance/lifecycle-state.shared.resources-config.schemas\";\n\n\nexport const coreSharedResourceRelationship : ResourceRelationship[]= [\n // Core organizational relationships - Many-to-many through organization members\n // Note: No isPrimaryScope here - applications are the primary scope for users, not organizations\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.USERS,\n ResourceRelationshipCardinality.MANY, ResourceRelationshipCardinality.MANY,\n {\n jointResourceType: CoreResourceType.ORGANIZATION_MEMBERS,\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.ASSOCIATION,\n // Many-to-many: summary only, disable on LIST/SEARCH for performance\n contextPolicy: {\n objectMode: ContextPolicy_ObjectMode.SUMMARY,\n operationOverrides: {\n [CoreResourceOperation.LIST]: { enabled: false },\n [CoreResourceOperation.SEARCH]: { enabled: false },\n }\n }\n }\n ),\n\n // User 1:1 relationships\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.USER_PROFILES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n // onParentDelete: cascade the profile row when the user is deleted.\n // onParentCreate: eagerly seed the profile on user creation (Tier-2\n // input-derived). Unlike USER_PREFERENCES (pure defaults), a profile's\n // firstName/lastName do NOT live on the USERS row — they originate in the\n // registration form / SSO-JIT / SCIM profile, OUTSIDE the USERS-create\n // payload. Each provisioning path threads them via the\n // `compositionSeedRequestInput` options channel on its `create(USERS, …)`,\n // and this override forwards them into the profile seed. When the names are\n // absent (the org-admin INVITE create — the invitee names the profile later\n // at acceptance), the override returns `undefined` to DECLINE the seed, so no\n // nameless/duplicate row is created; the invitation-acceptance flow owns that\n // single write. USERS is the resource created at every provisioning entry\n // point, so THIS USERS→USER_PROFILES edge fires — not the read-only USER_SELF\n // variant.\n childOperations: {\n lifecycle: {\n onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 },\n onParentCreate: {\n enabled: true,\n initialData: {\n override: (ctx) => {\n const requestInput = ctx.requestInput;\n const firstName = requestInput?.firstName;\n const lastName = requestInput?.lastName;\n // A profile REQUIRES a non-empty first+last (UserProfileSchema\n // min(1)). DECLINE (undefined) when either is absent OR empty — the\n // org-admin INVITE create (no name; the invitee names the profile at\n // acceptance) or an IdP that supplied no given/family name — so no\n // invalid or nameless row is ever seeded (a clean skip, not a\n // swallowed validation failure).\n if (\n typeof firstName !== 'string' || firstName.length === 0 ||\n typeof lastName !== 'string' || lastName.length === 0\n ) {\n return undefined;\n }\n // Prefer an IdP-supplied displayName; otherwise derive one so every\n // seeded profile carries a non-empty label.\n const suppliedDisplayName = requestInput?.displayName;\n const displayName =\n typeof suppliedDisplayName === 'string' && suppliedDisplayName.length > 0\n ? suppliedDisplayName\n : `${firstName} ${lastName}`;\n return { firstName, lastName, displayName };\n },\n },\n },\n },\n },\n foreignKeyField: 'userId',\n // 1:1 profile: full on READ, summary otherwise\n contextPolicy: {\n objectMode: ContextPolicy_ObjectMode.SUMMARY,\n operationOverrides: {\n [CoreResourceOperation.READ]: { objectMode: ContextPolicy_ObjectMode.FULL },\n }\n }\n }\n ),\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.USER_PREFERENCES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n // onParentDelete: cascade the preferences row when the user is deleted.\n // onParentCreate: eagerly seed a default preferences row on user creation\n // (Tier-1 pure-defaults — the child's Zod defaults fill it; USER_SELF reads\n // the same collection). USERS is the resource created at registration, so\n // THIS USERS→USER_PREFERENCES edge fires — not the USER_SELF variant.\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 }, onParentCreate: { enabled: true } } },\n foreignKeyField: 'userId',\n // 1:1 preferences: full on READ, summary otherwise\n contextPolicy: {\n objectMode: ContextPolicy_ObjectMode.SUMMARY,\n operationOverrides: {\n [CoreResourceOperation.READ]: { objectMode: ContextPolicy_ObjectMode.FULL },\n }\n }\n }\n ),\n // Link Users to UserCredentials (standalone access, internal-only operations).\n // STANDALONE keeps credentials off the URL surface; `isPrimaryScope: true` anchors\n // the resource's `resourcePrimaryScope` enum to USER_SELF (ownership graph is\n // orthogonal to URL routing — see `resources-relationships.shared.factory.ts` Guard 1).\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.USER_CREDENTIALS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n foreignKeyField: 'userId',\n // SECURITY: Never fetch credentials via context\n contextPolicy: { enabled: false }\n }\n ),\n // Link Users to UserIdentityLinks (1:N — user can have multiple OAuth2/SSO provider connections)\n // Standalone access (internal-only operations), cascade delete on user removal.\n // The schema's businessKeySet enforces one external identity binding per exact\n // social/enterprise tenant connection. Individual DB indexes support callback lookup.\n // STANDALONE keeps identity links off the URL surface; `isPrimaryScope: true` anchors\n // the resource's `resourcePrimaryScope` enum to USER_SELF.\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.USER_IDENTITY_LINKS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n foreignKeyField: 'userId',\n // SECURITY: Identity links contain raw IdP profiles — never fetch via context\n contextPolicy: { enabled: false }\n }\n ),\n // OIDC persistent consent grants — USER_SELF-scoped (\"remember this app\"). COMPOSITION so a user's\n // grants cascade-delete with the user; `isPrimaryScope: true` anchors resourcePrimaryScope to\n // USER_SELF (the owner-only READ/LIST/DELETE filter). Consent state is never context-fetched.\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.OAUTH_CONSENT_GRANTS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n foreignKeyField: 'userId',\n contextPolicy: { enabled: false }\n }\n ),\n // User Self 1:1 relationships - separated for access control\n createResourcesRelationship(\n CoreResourceType.USER_SELF, CoreResourceType.USER_SELF_PROFILES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n foreignKeyField: 'userId',\n // 1:1 profile: full on READ\n contextPolicy: {\n objectMode: ContextPolicy_ObjectMode.FULL,\n operationOverrides: {\n [CoreResourceOperation.READ]: { objectMode: ContextPolicy_ObjectMode.FULL },\n }\n }\n }\n ),\n createResourcesRelationship(\n CoreResourceType.USER_SELF, CoreResourceType.USER_SELF_PREFERENCES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n foreignKeyField: 'userId',\n // 1:1 preferences: full on READ\n contextPolicy: {\n objectMode: ContextPolicy_ObjectMode.SUMMARY,\n operationOverrides: {\n [CoreResourceOperation.READ]: { objectMode: ContextPolicy_ObjectMode.FULL },\n }\n }\n }\n ),\n // User Self → Organization Members (for context fetching organizationMembers)\n // 1:MANY - user can have multiple organization memberships\n //\n // STANDALONE: this relationship exists ONLY to let the backend context-fetch\n // the caller's own membership on READ (see `contextPolicy` below). It must NOT\n // mint a URL route. Without an explicit `accessScopeStrategy`, the factory\n // defaults a MANDATORY parent to `REQUIRES_CONTEXT`, which forced a mandatory\n // `/user-user-self/{userId}/...` segment into EVERY generated organization-members\n // route — so the clean `/organizations/{orgId}/organization-members/...` route\n // was never emitted, and a people-picker searching org members got the\n // over-nested user-self route (returning only the caller's own membership).\n // `accessScopeStrategy` (URL routing) and `contextPolicy` (context fetching)\n // are orthogonal axes; STANDALONE keeps this off the URL surface while the\n // context fetch is preserved — exactly mirroring the USER_CREDENTIALS /\n // USER_IDENTITY_LINKS siblings above and the ORGANIZATIONS primary anchor below.\n createResourcesRelationship(\n CoreResourceType.USER_SELF, CoreResourceType.ORGANIZATION_MEMBERS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n isPrimaryScope: false, // Not primary scope - ORGANIZATION_MEMBERS has ORGANIZATIONS as primary (declared via the STANDALONE rel below)\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'userId',\n // For context: fetch full on READ, disabled otherwise (performance)\n contextPolicy: {\n objectMode: ContextPolicy_ObjectMode.FULL,\n operationOverrides: {\n [CoreResourceOperation.LIST]: { enabled: false },\n [CoreResourceOperation.SEARCH]: { enabled: false },\n }\n }\n }\n ),\n // ORGANIZATIONS scope anchor for ORGANIZATION_MEMBERS (STANDALONE primary).\n //\n // The M:N expansion of `ORGANIZATIONS ↔ USERS via ORGANIZATION_MEMBERS`\n // synthesizes two OPTIONAL_CONTEXT non-primary peer→junction edges so the\n // junction is routable under both `/organizations/:id/...` and\n // `/users/:id/...`. That URL behavior is intentional and stays untouched.\n //\n // This separate STANDALONE primary rel exists purely to anchor the\n // resource's `resourcePrimaryScope` enum to ORGANIZATIONS (matching the\n // long-standing comment on the USER_SELF rel above). STANDALONE keeps it\n // off the URL surface (the M:N expansion already handles routing); the\n // primary-scope flag declares the structural ownership.\n //\n // ⚠️ This is the edge that carries the teardown cascade — NOT the `USER_SELF` rel above and\n // NOT the synthesized M:N peer edges. Picking the wrong one of the three is the easy mistake\n // here: only this one is the ORGANIZATIONS-side primary anchor, so only this one is traversed\n // when a tenant is destroyed.\n //\n // Until 2026-08-01 it declared NO `childOperations` at all, so membership rows ORPHANED on\n // tenant deletion while every other org child cascaded. The orphan row was the visible\n // symptom; the real defect was that nothing reconciled `user.userTypes`, a GLOBAL grant that\n // could outlive the tenant justifying it.\n //\n // Under the WS-A teardown split this cascade fires at PURGE, never at the soft-delete mark.\n // That ordering is the design, not an implementation detail: the rows are exactly what a\n // restore re-derives organization-scoped authority from during the retention window, so\n // removing them at mark time would make the window unrecoverable. The authority half is\n // handled at the mark instead, by recomputing it from `Organization.status` — see\n // `isAuthorityConferringOrganizationStatus` and the `request_deletion` operation.\n //\n // ⚠️ `nature` moved REFERENCE → COMPOSITION in the same change, and it had to. The framework\n // refuses a lifecycle on a REFERENCE edge outright — \"REFERENCE relationships cannot project to\n // nested CRUD/read embedding or dependent lifecycle\" — because only COMPOSITION resolves to\n // `lifecycleModelMode: DEPENDENT`, and DEPENDENT is what \"the parent owns this row's lifetime\"\n // means. Declaring the cascade while leaving the nature alone would not have been a smaller\n // change; it would not have built.\n //\n // COMPOSITION is also the honest reading, not a concession to the guard. A membership is\n // meaningless without its organization: it cannot be re-homed, it has no independent identity,\n // and this very edge already declares ORGANIZATIONS its primary scope. The sibling junction\n // ORGANIZATION_UNIT_MEMBERS reached the same conclusion on its own ORGANIZATIONS edge above —\n // COMPOSITION, `isPrimaryScope`, cascade — so the two junctions now describe their tenant\n // relationship identically instead of disagreeing for historical reasons.\n //\n // The USER_SELF → ORGANIZATION_MEMBERS edge above stays REFERENCE and is NOT affected. That\n // asymmetry is correct and load-bearing: a membership dies with its ORGANIZATION but must\n // survive its USER's erasure (an erasure keeps the subject row, and `USERS` classifies that\n // edge NOT_OWNED). Changing the user-side edge too would silently make a subject erasure start\n // deleting membership rows.\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_MEMBERS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: { enabled: false }\n }\n ),\n\n // Organization member join table relationships - explicit for URL generation\n // Note: Removed USERS → ORGANIZATION_MEMBERS to simplify user URL generation\n // Users should primarily be accessed standalone or via application context\n\n // Organization 1:1 and 1:many relationships\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_UNITS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n // High cardinality: disable on LIST/SEARCH for performance\n contextPolicy: {\n operationOverrides: {\n [CoreResourceOperation.LIST]: { enabled: false },\n [CoreResourceOperation.SEARCH]: { enabled: false },\n }\n }\n }\n ),\n // Self-referential: parent unit → child units (tree structure).\n // parentResourceRequirement=OPTIONAL because tree roots have no parent.\n // accessScopeStrategy=OPTIONAL_CONTEXT generates both standalone and nested URLs.\n // `allowCycle: true` is only the schema-level escape hatch for declaring a\n // self-edge. The business model is still an acyclic hierarchy; re-parenting\n // is handled explicitly via the MOVE operation on organization units.\n createResourcesRelationship(\n CoreResourceType.ORGANIZATION_UNITS, CoreResourceType.ORGANIZATION_UNITS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n nature: RelationshipNature.COMPOSITION,\n foreignKeyField: 'parentUnitId',\n allowCycle: true,\n parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.OPTIONAL_CONTEXT,\n contextPolicy: { enabled: false },\n }\n ),\n // ── Organization unit membership (junction) ──────────────────────────────\n // Replaced `OrganizationMember.organizationUnitsMembership` (D-B5). Three edges, each earning\n // its place:\n //\n // 1. ORGANIZATIONS → … is the PRIMARY SCOPE anchor: the row carries `organizationId`, so\n // tenant scoping and the contextual filter resolve without a join, and a tenant teardown\n // removes assignments with everything else it owns.\n // 2. ORGANIZATION_MEMBERS → … is the SEMANTIC parent. A unit assignment presupposes\n // membership, so losing the membership is exactly when the assignment stops meaning\n // anything — hence the cascade. This is the edge that stops assignments outliving the\n // membership that justified them.\n // 3. ORGANIZATION_UNITS → … is what the unit DELETE dependents guard was missing. While unit\n // assignment lived in an embedded array it was not a registered relationship and not\n // portably queryable, so \"assigned members\" had to be EXCLUDED from that guard (it would\n // have failed open on PostgreSQL). As a real edge it becomes a guardable dependent.\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_UNIT_MEMBERS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n // High cardinality: a tenant can hold one row per (member × unit).\n contextPolicy: {\n operationOverrides: {\n [CoreResourceOperation.LIST]: { enabled: false },\n [CoreResourceOperation.SEARCH]: { enabled: false },\n }\n }\n }\n ),\n // OPTIONAL_CONTEXT, not the REQUIRES_CONTEXT default — otherwise the junction is unlistable.\n //\n // `generateParentCombinations` puts every REQUIRES_CONTEXT parent into EVERY url combination. With\n // both this edge and the ORGANIZATION_UNITS edge below defaulting to REQUIRES_CONTEXT, the only\n // route generated was the fully-nested\n // `…/organization-members/{m}/organization-units/{u}/organization-unit-members` — so LIST could\n // only ever be called with BOTH sides already known, returning at most the single row the caller\n // had just identified. \"Which units is this member in?\" had NO http surface at all, even though\n // it is a real, exercised query: SCIM runs exactly it service-side\n // (`list(ORGANIZATION_UNIT_MEMBERS, ec, { organizationMemberId })`).\n //\n // OPTIONAL_CONTEXT makes the parent addressable-but-not-mandatory, so the builder emits the\n // member-scoped route ALONGSIDE the full one. Permitted here because this edge is not the primary\n // scope (the factory rejects OPTIONAL_CONTEXT only for `isPrimaryScope`). The ORGANIZATIONS edge\n // above stays primary-scope and keeps its LIST/SEARCH context override, so this does NOT open an\n // unbounded org-wide listing of every (member × unit) pair — each new route is still narrowed by\n // one side of the junction.\n createResourcesRelationship(\n CoreResourceType.ORGANIZATION_MEMBERS, CoreResourceType.ORGANIZATION_UNIT_MEMBERS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n nature: RelationshipNature.COMPOSITION,\n foreignKeyField: 'organizationMemberId',\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.OPTIONAL_CONTEXT,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: { enabled: false },\n }\n ),\n // No cascade on this edge ON PURPOSE — it mirrors the unit tree's own delete policy. A unit\n // DELETE is refused while dependents remain (the operator decides where an orphaned assignment\n // belongs) rather than silently dropping people's roles behind a single-node delete. Tearing\n // down the whole ORGANIZATION still removes these rows via edge 1 above.\n // OPTIONAL_CONTEXT for the same reason as the ORGANIZATION_MEMBERS edge above — this is the\n // mirrored half. Together the two now yield the unit-scoped route as well, so \"who is in this\n // unit?\" is answerable, and both partial routes exist beside the fully-nested one rather than\n // instead of it.\n createResourcesRelationship(\n CoreResourceType.ORGANIZATION_UNITS, CoreResourceType.ORGANIZATION_UNIT_MEMBERS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n nature: RelationshipNature.COMPOSITION,\n foreignKeyField: 'organizationUnitId',\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.OPTIONAL_CONTEXT,\n contextPolicy: { enabled: false },\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_PROFILES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n // onParentCreate: eager-seed a default org profile row on org creation\n // (branding now defaulted → seedable). Fixes the latent missing-row gap.\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 }, onParentCreate: { enabled: true } } },\n foreignKeyField: 'organizationId',\n // 1:1 profile: full on READ\n contextPolicy: {\n objectMode: ContextPolicy_ObjectMode.SUMMARY,\n operationOverrides: {\n [CoreResourceOperation.READ]: { objectMode: ContextPolicy_ObjectMode.FULL },\n }\n }\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.PLATFORM_ACCESS_GRANTS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n // The grant belongs to the tenant being reached INTO, which is what makes the tenant able\n // to see, approve and revoke it. A consent record the consenting party cannot read would\n // defeat the purpose of modelling consent at all.\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n // Purged with the tenant, and deliberately NOT seeded on create: a grant exists only\n // because an operator asked for one.\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n foreignKeyField: 'organizationId',\n }\n ),\n // ── APPLICATION-WIDE grants ──────────────────────────────────────────\n //\n // The APPLICATION-scoped sibling. Same lifecycle, no tenant: an elevation that reaches every\n // tenant at once cannot be a COMPOSITION child of any one of them, which is the structural fact\n // that made a second resource type necessary rather than a `scope` field on the row above.\n //\n // OPTIONAL + REQUIRES_CONTEXT + `isPrimaryScope`, copied from `APPLICATION → APPLICATION_AUDIT_LOGS`\n // and for the reason stated there: MANDATORY makes the ZodToMongoose convertor refuse the resource\n // outright, so a Mongo-persisted deployment gets no model and INIT dies. Addressing is carried by\n // `isPrimaryScope` + `REQUIRES_CONTEXT`, which is what the URL builder reads.\n //\n // REFERENCE rather than COMPOSITION, and there is no `onParentDelete`: the APPLICATION row is the\n // deployment itself and is not purged, so a cascade here would describe an event that cannot\n // happen. `contextPolicy` disabled for the reason the audit door disables it — an elevation record\n // must never be fetched as ambient context.\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.APPLICATION_ACCESS_GRANTS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n isPrimaryScope: true,\n foreignKeyField: 'applicationId',\n parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.REQUIRES_CONTEXT,\n nature: RelationshipNature.REFERENCE,\n contextPolicy: { enabled: false },\n }\n ),\n // The two PEOPLE an application-wide grant names — the operator who asked and the SECOND\n // administrator who signed. Both are `.isForeignKey()`, so the registry must resolve each to a\n // resource type or the frontend registry refuses to initialise.\n //\n // REFERENCE with `onParentDelete.enabled: false`, exactly as on the tenant grant and for the same\n // reason: making a user the owner resolves `lifecycleModelMode` to DEPENDENT, which is the value\n // `classifySubjectErasureDisposition` reads — a user erasure would then own the row's fate, and the\n // one thing a privileged-access ledger must survive is the erasure of the person it monitors.\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.APPLICATION_ACCESS_GRANTS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'operatorUserId',\n // Server-authored from the session on every grant, so the pointer is always present.\n parentResourceRequirement: ResourceParentResourceRequirement.MANDATORY,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } },\n contextPolicy: { enabled: false },\n }\n ),\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.APPLICATION_ACCESS_GRANTS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'approvedByUserId',\n // OPTIONAL because the field is `.optional()`: unset while the request is pending and\n // permanently unset on a denied or revoked grant. MANDATORY would assert an approver every\n // grant must have — true of ACTIVE ones only, which is a lifecycle fact rather than a\n // schema one.\n parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } },\n contextPolicy: { enabled: false },\n }\n ),\n\n // ── The two PEOPLE a grant names ─────────────────────────────────────\n //\n // `operatorUserId` (who asked) and `approvedByUserId` (who agreed) are both `.isForeignKey()` on\n // `PlatformAccessGrantSchema`, so the registry must be able to resolve each to a resource type —\n // the frontend registry validates this fail-closed at boot and refuses to initialise otherwise.\n //\n // REFERENCE, deliberately NOT composition, and the contrast with the ORGANIZATIONS edge directly\n // above is the whole point. The tenant OWNS the grant: it is the tenant's consent record, so it\n // is purged with the tenant. The two users are merely NAMED BY it. Making a user its owner would\n // resolve `lifecycleModelMode` to DEPENDENT, and that is the same value\n // `classifySubjectErasureDisposition` reads — a user erasure would then own the row's fate, and\n // the one thing an access-audit record must survive is the erasure of the person it monitors.\n // As REFERENCE the erasure classifies it NOT_OWNED and leaves it intact, which is the intent.\n //\n // `onParentDelete.enabled: false` states that survival explicitly rather than leaving it to the\n // nature's default — the question \"does this die with the user?\" is exactly what a reader of a\n // privileged-access ledger comes here to ask.\n //\n // STANDALONE + `contextPolicy: { enabled: false }`: a grant is addressed under its tenant\n // (`/organizations/:organizationId/platform-access-grants`), never under a user, and the operator\n // is by construction NOT a member of the target tenant — so fetching them into the row's context\n // would be a cross-tenant read on every list.\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.PLATFORM_ACCESS_GRANTS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'operatorUserId',\n // Server-authored from the session on every grant, so the pointer is always present.\n parentResourceRequirement: ResourceParentResourceRequirement.MANDATORY,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } },\n contextPolicy: { enabled: false },\n }\n ),\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.PLATFORM_ACCESS_GRANTS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'approvedByUserId',\n // OPTIONAL because the field is `.optional()`: unset until a tenant administrator\n // approves, and permanently unset on an auto-approved, denied or revoked grant. MANDATORY\n // would assert an approver every grant must have, which is precisely the distinction\n // `autoApprovalReason` exists to preserve.\n parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } },\n contextPolicy: { enabled: false },\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_PREFERENCES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n // onParentCreate: eager-seed a default org preferences row on org creation\n // (all fields defaulted → seedable). Fixes the latent missing-row gap.\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 }, onParentCreate: { enabled: true } } },\n foreignKeyField: 'organizationId',\n // 1:1 preferences: full on READ\n contextPolicy: {\n objectMode: ContextPolicy_ObjectMode.SUMMARY,\n operationOverrides: {\n [CoreResourceOperation.READ]: { objectMode: ContextPolicy_ObjectMode.FULL },\n }\n }\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_NOTIFICATIONS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n // onParentCreate: eager-seed a default org notifications row on org creation\n // (emailNotifications now defaulted → seedable). Fixes the latent\n // missing-row gap so downstream email fan-out has a routing table.\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 }, onParentCreate: { enabled: true } } },\n foreignKeyField: 'organizationId',\n // Notifications are ephemeral - disable context\n contextPolicy: { enabled: false }\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_FEATURES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n // Deliberately NO onParentCreate: the scope-features ledger is a cache-resolved\n // OVERRIDE store, not per-entity state, so eager-seeding it is pure write\n // amplification. FeatureResolutionBackendService self-heals from defaults when the\n // row is absent (`if (!scopeDoc) return base`), the 1:1 context-embed omits an\n // absent child, and the admin-write / billing-sync paths upsert the row lazily the\n // moment it first holds meaning; an eager empty row (`features:[]`, `limits:{}`,\n // empty `manualOverrides`) is a resolution no-op. COMPOSITION here means dies-with\n // (onParentDelete), NOT created-with — the two are orthogonal (DDD). See\n // .claude/plans/composition-oncreate-lifecycle.md (FEATURES wave, 2026-07-11).\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n foreignKeyField: 'organizationId',\n // Features: summary by default\n contextPolicy: {\n objectMode: ContextPolicy_ObjectMode.SUMMARY,\n }\n }\n ),\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.APPLICATION_METADATA,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n // Deliberately NO onParentCreate — the metadata row is created by the\n // framework-owned Level-A seed `engine-applications:application-metadata`\n // (`applicationMetadataSeedDefinitions`, opted into by the app's backend module),\n // NOT by composition.\n //\n // This edge DID declare `onParentCreate`, on the hypothesis that the APPLICATION\n // create path might route through `handler.create` → `executePostOperationLogic`.\n // It does not, and never did: the apps-manager provisions the APPLICATION row at\n // the REPOSITORY tier while bootstrapping the application database\n // (`wildo-application-lifecycle.apps-manager.platform.service.ts` →\n // `seedAppApplication` → `upsertEntity(repository, …)`), so the post-create hook is\n // never reached. Measured 2026-08-09: one `applications` row and ZERO\n // `applicationMetadata` rows in every database of the dev stack.\n //\n // A declared lifecycle edge that cannot fire is worse than no edge — it reads as\n // covered in the registry, in the spec, and in every review, which is exactly how\n // this went unnoticed. Removed rather than commented as pending. (The sibling\n // APPLICATION_FEATURES edge records the same blocker.)\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n foreignKeyField: 'appId',\n // 1:1 metadata: full on READ\n contextPolicy: {\n objectMode: ContextPolicy_ObjectMode.SUMMARY,\n operationOverrides: {\n [CoreResourceOperation.READ]: { objectMode: ContextPolicy_ObjectMode.FULL },\n }\n }\n }\n ),\n\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.APPLICATION_VERSIONS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n foreignKeyField: 'appId',\n // High cardinality over time: disable on LIST/SEARCH\n contextPolicy: {\n operationOverrides: {\n [CoreResourceOperation.LIST]: { enabled: false },\n [CoreResourceOperation.SEARCH]: { enabled: false },\n }\n }\n }\n ),\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.APPLICATION_FEATURES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n // Deliberately NO onParentCreate — same cache-resolved-ledger rationale as the\n // ORGANIZATION_FEATURES edge above. TWO extra APP-only blockers even if that\n // changed: (1) APPLICATION rows are provisioned via the platform CLI / apps-manager\n // bootstrap, not the engine handler.create → executePostOperationLogic, so the seed\n // hook never fires on real app provisioning; (2) this edge's foreignKeyField 'appId'\n // is NOT the APPLICATION primary-scope identifier ('applicationId'), so it is absent\n // from CONTEXT_AUTO_POPULATED_FIELD_IDENTIFIERS — createAsSystem's name-based\n // preserve-list would strip it and seed an orphan row (the boot seedability guard\n // does not catch this: it probes DTO defaults, not FK persistence).\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n foreignKeyField: 'appId',\n contextPolicy: {\n objectMode: ContextPolicy_ObjectMode.SUMMARY,\n }\n }\n ),\n\n // API Keys relationships\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.ORG_API_KEYS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n // SECURITY: API keys should never be fetched via context\n contextPolicy: { enabled: false }\n }\n ),\n\n // Provider credentials — an organization's own credential toward a third party.\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.ORG_PROVIDER_CREDENTIALS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n isPrimaryScope: true,\n /*\n * COMPOSITION, and the cascade is the point rather than a detail.\n *\n * A tenant's credentials must not outlive the tenant: a purged organization leaving a live\n * Slack token in the store is a credential nobody owns, nobody can rotate and nothing will\n * ever delete. Only COMPOSITION resolves to a DEPENDENT lifecycle — a REFERENCE edge cannot\n * carry `onParentDelete` at all (the framework refuses it), so \"enable the cascade later\"\n * is not a one-line change and the edge has to be right the first time.\n */\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n // SECURITY: a credential must never be fetched via context — context objects ride along in\n // DTOs the client receives, and this row's whole reason to exist is that it holds a secret.\n contextPolicy: { enabled: false }\n }\n ),\n // Provider credentials — a PERSON's own credential toward a third party.\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.USER_PROVIDER_CREDENTIALS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n /*\n * This edge does two jobs and both are load-bearing.\n *\n * It is what gives the resource its USER_SELF primary scope, so the framework's own filter\n * restricts every read to the authenticated caller's own credentials — nobody can reach\n * another person's key, structurally, rather than because a role list happens to be narrow.\n *\n * And its COMPOSITION cascade is what stops a personal credential outliving the person. The\n * retention policy deliberately scrubs nothing (a secret is not pseudonymised, it is\n * destroyed), so the DELETE dispatched here IS the erasure answer for this resource. A\n * REFERENCE edge cannot carry `onParentDelete` at all, so getting the nature wrong would\n * leave a live third-party credential belonging to somebody who asked to be forgotten.\n */\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n // SECURITY: as the organization-owned sibling — a row holding a secret must never ride in a\n // context DTO the client receives.\n contextPolicy: { enabled: false }\n }\n ),\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.APPLICATION_API_KEYS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n // SECURITY: API keys should never be fetched via context\n contextPolicy: { enabled: false }\n }\n ),\n\n // OAuth Clients relationships (mirror API Keys — registered client-credentials front)\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.OAUTH_CLIENTS_ORGANIZATION,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n // SECURITY: OAuth client secrets should never be fetched via context\n contextPolicy: { enabled: false }\n }\n ),\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.OAUTH_CLIENTS_APPLICATION,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n // SECURITY: OAuth client secrets should never be fetched via context\n contextPolicy: { enabled: false }\n }\n ),\n\n // Audit Logs - System resource.\n // APPLICATION remains the resource's canonical primary-scope classification,\n // but an individual audit row does not necessarily describe an application\n // tenant: organization-scoped, user-only, and system events legitimately omit\n // applicationId. Keep the FK optional so relationship persistence matches the\n // forensic event schema instead of silently making every row application-bound.\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.AUDIT_LOGS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n isPrimaryScope: true,\n foreignKeyField: 'applicationId',\n parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n contextPolicy: { enabled: false }\n }\n ),\n // Step 19D: Changed from STANDALONE to REQUIRES_CONTEXT for org-scoped Audit Log Viewer.\n // parentResourceRequirement=OPTIONAL because AuditableEvent_BaseSchema.organizationId is\n // optional — audit logs can be application-level events with no org context. accessScopeStrategy\n // must be explicit (REQUIRES_CONTEXT) because Guard 1 prohibits isPrimaryScope+OPTIONAL_CONTEXT.\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.AUDIT_LOGS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n\n foreignKeyField: 'organizationId',\n parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.REQUIRES_CONTEXT,\n nature: RelationshipNature.REFERENCE,\n childOperations: {\n lifecycle: { onParentDelete: { enabled: false } },\n },\n contextPolicy: {\n operationOverrides: {\n [CoreResourceOperation.LIST]: { enabled: false },\n [CoreResourceOperation.SEARCH]: { enabled: false },\n },\n },\n }\n ),\n // parentResourceRequirement=OPTIONAL because AuditableEvent_BaseSchema.userId is optional —\n // audit logs can be application-level events with no associated user (e.g. system events).\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.AUDIT_LOGS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n contextPolicy: { enabled: false }\n }\n ),\n\n // ── Application-scoped audit door (#317) ─────────────────────────────\n // ONE parent, deliberately. `accessScopeStrategy` is REQUIRES_CONTEXT so this resource is ROUTED\n // at `/applications/{applicationId}/application-audit-logs` — the shape `APPLICATION_API_KEYS`\n // already uses. A second parent must NEVER be added here: two always-on parents collapse into a\n // single fully-nested route, because `generateParentCombinations` puts every primary-scope and\n // every REQUIRES_CONTEXT edge into EVERY combination. That collapse is precisely why this is a\n // sibling type instead of a second route on AUDIT_LOGS.\n //\n // `parentResourceRequirement: OPTIONAL`, matching the `APPLICATION -> AUDIT_LOGS` edge above on\n // the SAME `applicationId` column. This flag is a claim about the ROWS, not about the route:\n // `deriveRelationshipPersistenceContract` reads it as \"the holder's FK column is non-nullable for\n // every holder row\". This door owns no rows of its own — both types resolve to the `auditLogs`\n // collection through `RESOURCE_SHARED_PERSISTENCE_COLLECTION_ALIASES`, and every row is written\n // through the organization door's `REPOSITORY_ONLY` CREATE against `AuditableEvent_BaseSchema`,\n // where `applicationId` is `.optional()`. Organization-scoped, user-only and system events\n // legitimately omit it (the sibling edge says so in as many words), and it is otherwise supplied\n // only opportunistically by primary-scope context enrichment, which needs a seeded APPLICATION row.\n //\n // MANDATORY here was really a statement about ADDRESSING — this parent IS the route segment — and\n // that is carried entirely by `isPrimaryScope` + `accessScopeStrategy: REQUIRES_CONTEXT`, which is\n // what `generateParentCombinations` reads. The derived `isOptional` is assigned and never read by\n // the URL builder, so the route is identical either way. Declared MANDATORY the resource does not\n // load AT ALL: the ZodToMongoose convertor refuses it (`Align parentResourceRequirement with the\n // resource schema`), so a Mongo-persisted deployment gets no model and INIT dies on\n // `zod_converter_schema_conversion_failed`. `PLATFORM_APPLICATIONS` in apps-manager is the same\n // shape — primary scope + REQUIRES_CONTEXT + OPTIONAL on this very column.\n //\n // `contextPolicy` disabled for the reason API keys disable it: an audit row must never be fetched\n // as ambient context.\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.APPLICATION_AUDIT_LOGS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n isPrimaryScope: true,\n foreignKeyField: 'applicationId',\n parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.REQUIRES_CONTEXT,\n nature: RelationshipNature.REFERENCE,\n contextPolicy: { enabled: false },\n }\n ),\n\n // ── Notification Badges (Dual-Scope Polymorphic) ─────────────────────\n // Each scope owns its own resource type and its own MongoDB collection.\n // Accessed internally via `NotificationBadgeBackendService`, which dispatches\n // to the right repository based on the request's scope. The APPLICATION\n // variant was dropped (no canonical badges declared at app scope; broadcast\n // remains an option in `NotificationBadgeBackendService.emitBadgeUpdate`).\n //\n // Refactor: `.cursor/plans/notification-badges-polymorphism-refactor.md`\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.USER_NOTIFICATION_BADGES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n isPrimaryScope: true,\n foreignKeyField: 'userId',\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n // Notifications: ephemeral, accessed via dedicated service\n contextPolicy: { enabled: false }\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_NOTIFICATION_BADGES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n isPrimaryScope: true,\n foreignKeyField: 'organizationId',\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n // Notifications: ephemeral, accessed via dedicated service\n contextPolicy: { enabled: false }\n }\n ),\n\n // Queue System Resources - Internal infrastructure for job tracking and payload storage\n // NOTE: These are INTERNAL resources, not exposed via API URLs.\n // Access is exclusively via repository services with INTERNAL variants.\n // The STANDALONE strategy keeps them out of URL routing; `isPrimaryScope: true`\n // anchors the scope enum to APPLICATION (ownership graph is orthogonal to\n // URL routing — see `resources-relationships.shared.factory.ts` Guard 1).\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.JOB_EXECUTIONS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n isPrimaryScope: true,\n nature: RelationshipNature.REFERENCE,\n // Internal resource: never fetch via context, accessed via dedicated services\n contextPolicy: { enabled: false }\n }\n ),\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.JOB_PAYLOAD_STORAGE,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n isPrimaryScope: true,\n nature: RelationshipNature.REFERENCE,\n // Internal resource: never fetch via context, accessed via dedicated services\n contextPolicy: { enabled: false }\n }\n ),\n\n // ── Job Execution Cross-Scope FK Edges ───────────────────────────────\n //\n // JobExecution carries the originating execution context (`organizationId`,\n // `userId`) plus optional payload-storage references. These fields are\n // genuine FKs into existing resources — they exist so internal queue\n // services can filter / join. STANDALONE access keeps these edges off the\n // URL surface (the resource is APPLICATION-primary; admin queries it via\n // the JobExecution UI, not nested under /organizations/:id/job-executions).\n //\n // `parentResourceRequirement: OPTIONAL` matches the schema (`.optional()`\n // on all four fields). `isPrimaryScope: false` because APPLICATION is the\n // primary scope anchor (declared above).\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.JOB_EXECUTIONS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'organizationId',\n parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } },\n contextPolicy: { enabled: false }\n }\n ),\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.JOB_EXECUTIONS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'userId',\n parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } },\n contextPolicy: { enabled: false }\n }\n ),\n createResourcesRelationship(\n CoreResourceType.JOB_PAYLOAD_STORAGE, CoreResourceType.JOB_EXECUTIONS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'inputPayloadStorageId',\n parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } },\n contextPolicy: { enabled: false }\n }\n ),\n createResourcesRelationship(\n CoreResourceType.JOB_PAYLOAD_STORAGE, CoreResourceType.JOB_EXECUTIONS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'outputPayloadStorageId',\n parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } },\n contextPolicy: { enabled: false }\n }\n ),\n\n // Flows-Actors Execution Resources (POLYMORPHIC) — persisted flow/actor system\n // executions. Owner = the injected scope FK per variant (USER_SELF / ORGANIZATIONS /\n // APPLICATION primary scope): the default API READ/LIST return only the caller's own\n // executions (per-scope chat history). COMPOSITION + onParentDelete cascade removes a\n // scope's executions when the owning user/org/app is deleted (via the default DELETE\n // op at the repository tier). Not context-fetched (accessed via the conversational\n // runtime), so contextPolicy is disabled.\n // USERS → userFlowActorExecutions\n // ORGANIZATIONS → organizationFlowActorExecutions\n // APPLICATION → applicationFlowActorExecutions\n ...createPolymorphicScopeRelationships(flowActorExecutionsPolymorphicDeclaration, {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: { enabled: false },\n }),\n\n // Flows-Actors Task Resources (POLYMORPHIC) — the WORK plane behind the A2A `Task`\n // object, owned by the same three scopes as executions so a task always belongs to\n // the principal that drove the turn. COMPOSITION + onParentDelete cascade removes a\n // scope's tasks when the owning user/org/app is deleted.\n // USERS → userFlowActorTasks\n // ORGANIZATIONS → organizationFlowActorTasks\n // APPLICATION → applicationFlowActorTasks\n //\n // `childCardinality` is left at its MANY default, which is CORRECT here (unlike the\n // A2ATokenBudgetState sibling below, a singleton that must pin ONE): tasks are\n // multi-row per scope, so the cascade discovers them via LIST — and this resource\n // DECLARES a LIST op, so `validateCompositionCascadeDeletability` is satisfied.\n //\n // NOTE the deliberate absence of an execution→task relationship: `flowActorExecutionId`\n // is a SOFT indexed link, not a declared FK, because a task must be able to outlive the\n // conversation that produced it. See the base schema for the full rationale.\n ...createPolymorphicScopeRelationships(flowActorTasksPolymorphicDeclaration, {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: { enabled: false },\n }),\n\n // Scope → A2ATokenBudgetState (isPrimaryScope: true, 3 variants; SINGLETON per tenant).\n // USERS → userA2aTokenBudgetState, ORGANIZATIONS → organizationA2aTokenBudgetState,\n // APPLICATION → applicationA2aTokenBudgetState.\n // COMPOSITION so a deleted tenant's budget row is cascade-cleaned (IMMEDIATE, depth 1).\n //\n // `childCardinality: ONE` is load-bearing, not decoration: this child is a SINGLETON (the\n // injected owner FK is its unique business key — exactly one row per tenant), and the helper\n // DEFAULTS to MANY. Beyond being semantically wrong, MANY makes the cascade look for a LIST\n // discovery op while a 1:1 child is discovered via READ — and this resource declares no LIST.\n // That mismatch does NOT silently orphan rows: `validateCompositionCascadeDeletability` collects\n // it and the caller fails CLOSED at boot. (It did exactly that while this resource was being\n // built — the cardinality was the true cause, not the ops' variant types.)\n ...createPolymorphicScopeRelationships(a2aTokenBudgetStatePolymorphicDeclaration, {\n nature: RelationshipNature.COMPOSITION,\n childCardinality: ResourceRelationshipCardinality.ONE,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: { enabled: false },\n }),\n\n // Scope → A2APushDeliveryLog (isPrimaryScope: true, 3 variants; MANY rows per tenant).\n // USERS → userA2aPushDeliveryLog, ORGANIZATIONS → organizationA2aPushDeliveryLog,\n // APPLICATION → applicationA2aPushDeliveryLog.\n //\n // Default cardinality (MANY) — unlike the budget singleton above, there is one row per\n // (task transition × registered webhook), and the resource declares LIST, so the cascade's\n // discovery op resolves.\n //\n // COMPOSITION with IMMEDIATE cascade: these rows are evidence ABOUT a tenant's deliveries and\n // have no meaning once the tenant is gone. Deliberately NOT retained the way billing rows are —\n // a delivery log carries no financial or statutory obligation, and keeping it would leave\n // webhook URLs (a tenant's own infrastructure addresses) alive after erasure, which is the\n // opposite of what a subject-erasure path is for.\n ...createPolymorphicScopeRelationships(a2aPushDeliveryLogPolymorphicDeclaration, {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: { enabled: false },\n }),\n\n // ── Billing Relationships (Polymorphic) ─────────────────────────────\n\n // Scope → BillingAccounts (isPrimaryScope: true, 2 variants)\n // ORGANIZATIONS → organizationBillingAccounts\n // USERS → userBillingAccounts\n //\n // ⚠️ RETAINED TOO (coherence follow-up to the billing-retention decision, Paul — 2026-07-29).\n // The account was NOT part of the original 16 edges — it has a core DELETE op, so the\n // cascade-deletability guard never flagged it — but leaving it enabled made the retention\n // decision incoherent: hard-deleting a scope killed the account while its retained invoices /\n // subscriptions / usage records / credit pools survived pointing at a dead row.\n //\n // Why the dangling reference was not survivable, concretely (traced 2026-07-29):\n // • `providerCustomerId` is `.isBackendOnly()` and lives ONLY here. The retained children carry\n // their own provider ids (`providerInvoiceId`, `providerSubscriptionId`) but NOT the provider\n // CUSTOMER id — so deleting the account destroys the only local key that maps a retained\n // invoice back to the customer it was billed to. A financial record you cannot reconcile\n // against the provider defeats the purpose of retaining it. Nothing provider-side is cleaned\n // up on delete either (no customer deletion, no subscription cancellation), so this was a\n // purely LOCAL mapping being thrown away while the provider-side record lived on.\n // • The usage-flush sweep (`UsageMeteringBackendService.flushScopeToProvider`) selects unreported\n // rows and groups by this FK. It USED to skip its marking write whenever the customer id could\n // not be resolved, so retained rows whose account was deleted were re-selected by EVERY\n // subsequent sweep and could never drain — a permanent, monotonically growing error backlog,\n // which stopped being latent on 2026-09-08 (#415) when the `usage-flush` batch began calling\n // `flushToProvider` on a schedule. FIXED 2026-09-09 (#512): the sweep now distinguishes a\n // DELETED account (permanent) from one merely awaiting a `providerCustomerId` (transient), and\n // moves the former's rows to the terminal `flushState: unreportable` with a recorded reason.\n // The rows are still retained and still unbillable — what changed is that the run says so ONCE\n // and then leaves them alone. This bullet is kept in full because the dangling-reference\n // argument above still holds: it is why the account must not be hard-deleted in the first\n // place, and the fix only makes the aftermath survivable.\n // • `onSubscriptionChanged` (feature sync, fired by the subscription post-operation hook) and\n // the webhook router's `emitBillingEvent` both dereference this FK off a retained child; both\n // are null-guarded, so they degrade to a warn + silent no-op rather than crashing.\n // • Relationship context population (`contextPolicy: {}` on the child edges below) fetches this\n // account as SUMMARY on every child READ/LIST; it is fault-tolerant, so the miss becomes a\n // per-request warn forever rather than an error.\n // No chart or aggregation reads billing, and no billing schema uses `forwardedLabel`, so those\n // surfaces were unaffected either way.\n //\n // The account row now carries a dangling scope FK of its own after a scope delete — but that is\n // exactly the danglingness the 2026-07-29 decision already accepted for its four child families,\n // not a new kind of inconsistency. As with those children, the nature stays COMPOSITION (the\n // account genuinely belongs to its scope); only the dies-with-parent behaviour is declined.\n //\n // With this cascade disabled, a DIRECT hard delete of the account became the only remaining path\n // into the forbidden half-state described below. That path is now closed at runtime: the billing\n // account's DELETE carries a fail-closed dependents guard that refuses with 409\n // `BILLING_ACCOUNT_HAS_DEPENDENTS` while any retained child still references the account\n // (`assertNoBillingAccountDependents`, wired as a DELETE prefix custom implementation). Keep that\n // guard's family list in lock-step with the retained edges declared here.\n ...createPolymorphicScopeRelationships(billingAccountsPolymorphicDeclaration, {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } }, // RETAIN (compliance decision 2026-07-29) — see the note above.\n }),\n\n // Scope → Subscriptions (isPrimaryScope: true, 2 variants)\n // ORGANIZATIONS → organizationSubscriptions\n // USERS → userSubscriptions\n ...createPolymorphicScopeRelationships(billingSubscriptionsPolymorphicDeclaration, {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } }, // RETAIN (compliance decision 2026-07-29) — see the billing-retention note above.\n }),\n\n // BillingAccounts → Subscriptions (variant-matched, 1:N)\n // organizationBillingAccounts → organizationSubscriptions\n // userBillingAccounts → userSubscriptions\n ...createPolymorphicRelationships(\n billingAccountsPolymorphicDeclaration,\n billingSubscriptionsPolymorphicDeclaration,\n ResourceRelationshipCardinality.ONE,\n ResourceRelationshipCardinality.MANY,\n {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } }, // RETAIN (compliance decision 2026-07-29) — see the billing-retention note above.\n contextPolicy: {},\n },\n ),\n\n // ── Polymorphic Billing Children ─────────────────────────────────────\n //\n // ⚠️ BILLING RETENTION (compliance decision, Paul — 2026-07-29): subscriptions / invoiceRefs /\n // usageRecords / creditPools are RETAINED, never cascade-deleted. The financial audit trail must\n // survive the deletion of the scope or the billing account that produced it (tax / SOX retention),\n // so every `onParentDelete` below is DISABLED — 16 edges in total (4 families × 2 parents × 2 scope\n // variants). These are the entries formerly tracked as `KNOWN_CASCADE_DELETABILITY_GAPS`.\n //\n // Why NOT `retentionPolicy` + `IMPERSONALIZE_AND_RETAIN`: that machinery also HIDES and FREEZES the\n // row (reachable only through the audited see-through path), and these invoices must stay visible\n // for ordinary accounting. It is also the wrong tool semantically — a billing row holds no personal\n // data of its own (no name, email or address; the person is a foreign key), so there is nothing on\n // it to scrub. The PII lives on the linked USER, which is where impersonalization belongs: erasing\n // a subject scrubs the user row and keeps it, so these financial rows keep resolving to an\n // anonymized subject.\n //\n // A COMPOSITION without `onParentDelete` is an explicitly supported combination — it leaves the\n // children behind by design choice (see `validateCompositionCascadeDeletability`). The nature stays\n // COMPOSITION because these rows genuinely belong to their scope; only the dies-with-parent\n // behaviour is declined.\n //\n // The `Scope → BillingAccounts` edge above was RETAINED on the same day as a coherence follow-up\n // (18 disabled billing cascades in total). Without it these 16 edges kept rows whose owning account\n // had been deleted — see the rationale block at that declaration. Do not re-enable either half in\n // isolation: retaining the children while deleting the account strands the provider-customer\n // mapping, and deleting the children while retaining the account discards the audit trail.\n\n // Invoice Refs — scope relationships (2 variants)\n ...createPolymorphicScopeRelationships(invoiceRefsPolymorphicDeclaration, {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } }, // RETAIN (compliance decision 2026-07-29) — see the billing-retention note above.\n }),\n\n // BillingAccounts → InvoiceRefs (variant-matched, 1:N)\n ...createPolymorphicRelationships(\n billingAccountsPolymorphicDeclaration,\n invoiceRefsPolymorphicDeclaration,\n ResourceRelationshipCardinality.ONE,\n ResourceRelationshipCardinality.MANY,\n {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } }, // RETAIN (compliance decision 2026-07-29) — see the billing-retention note above.\n contextPolicy: {},\n },\n ),\n\n // Usage Records — scope relationships (2 variants: ORG, USER)\n ...createPolymorphicScopeRelationships(usageRecordsPolymorphicDeclaration, {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } }, // RETAIN (compliance decision 2026-07-29) — see the billing-retention note above.\n }),\n\n // BillingAccounts → UsageRecords (variant-matched, 1:N)\n ...createPolymorphicRelationships(\n billingAccountsPolymorphicDeclaration,\n usageRecordsPolymorphicDeclaration,\n ResourceRelationshipCardinality.ONE,\n ResourceRelationshipCardinality.MANY,\n {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } }, // RETAIN (compliance decision 2026-07-29) — see the billing-retention note above.\n contextPolicy: { enabled: false },\n },\n ),\n\n // Credit Pools — scope relationships (2 variants: ORG, USER)\n ...createPolymorphicScopeRelationships(creditPoolsPolymorphicDeclaration, {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } }, // RETAIN (compliance decision 2026-07-29) — see the billing-retention note above.\n }),\n\n // BillingAccounts → CreditPools (variant-matched, 1:N)\n ...createPolymorphicRelationships(\n billingAccountsPolymorphicDeclaration,\n creditPoolsPolymorphicDeclaration,\n ResourceRelationshipCardinality.ONE,\n ResourceRelationshipCardinality.MANY,\n {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } }, // RETAIN (compliance decision 2026-07-29) — see the billing-retention note above.\n contextPolicy: {},\n },\n ),\n\n // Referrals keep shared FK field names (`referrerBillingAccountId`, `referredBillingAccountId`)\n // instead of polymorphic per-variant field expansion. Each is declared a per-record\n // DISCRIMINATED polymorphic FK on `ReferralSchema` (`polymorphicVariants:\n // BILLING_SCOPE_DISCRIMINATED_FK_VARIANTS` + `polymorphicDiscriminatorField:\n // 'referrer|referredScopeType'`). These sibling relationships enumerate the candidate\n // billing-account branches per FK; the concrete branch is resolved PER RECORD via the\n // scope discriminator (Resources_SharedUtils.resolveDiscriminatedPolymorphicForeignKeyTarget),\n // and the registry FK→type map keeps only a non-authoritative representative for these fields.\n createResourcesRelationship(\n CoreResourceType.USER_BILLING_ACCOUNTS, CoreResourceType.REFERRALS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'referrerBillingAccountId',\n parentResourceRequirement: ResourceParentResourceRequirement.MANDATORY,\n contextPolicy: { enabled: false },\n }\n ),\n createResourcesRelationship(\n CoreResourceType.USER_BILLING_ACCOUNTS, CoreResourceType.REFERRALS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'referredBillingAccountId',\n parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,\n contextPolicy: { enabled: false },\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATION_BILLING_ACCOUNTS, CoreResourceType.REFERRALS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'referrerBillingAccountId',\n parentResourceRequirement: ResourceParentResourceRequirement.MANDATORY,\n contextPolicy: { enabled: false },\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATION_BILLING_ACCOUNTS, CoreResourceType.REFERRALS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'referredBillingAccountId',\n parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,\n contextPolicy: { enabled: false },\n }\n ),\n\n // ── Non-Polymorphic Billing Relationships ────────────────────────────\n\n // Products → Prices (1:N, cascade delete)\n createResourcesRelationship(\n CoreResourceType.PRODUCTS, CoreResourceType.PRICES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: {},\n }\n ),\n\n // ── Catalog & Internal Scope Anchors (STANDALONE primary) ────────────\n //\n // Catalog-tier resources (products, prices, promotions) and shared lookup\n // tables (referrals, files, userFeatures) need a primary-scope anchor so\n // that `createResourceConfiguration_Initialization` can derive their\n // `resourcePrimaryScope` enum without falling back to a silent default.\n //\n // STANDALONE keeps these rels off the URL surface (catalog/lookup access\n // goes through dedicated services, not parent-scoped routes) while\n // `isPrimaryScope: true` declares the structural ownership: catalog\n // entities are APPLICATION-tier; user-facing lookups are USER_SELF-tier.\n //\n // See `resources-relationships.shared.factory.ts` Guard 1 for the full\n // rationale on why STANDALONE + isPrimaryScope is the canonical pattern\n // for resources that are scope-anchored but not URL-routed.\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.PRODUCTS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n isPrimaryScope: true,\n nature: RelationshipNature.REFERENCE,\n contextPolicy: { enabled: false },\n }\n ),\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.PRICES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n isPrimaryScope: true,\n nature: RelationshipNature.REFERENCE,\n contextPolicy: { enabled: false },\n }\n ),\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.PROMOTIONS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n isPrimaryScope: true,\n nature: RelationshipNature.REFERENCE,\n contextPolicy: { enabled: false },\n }\n ),\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.USER_FEATURES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n foreignKeyField: 'userId',\n // onParentDelete cascade: USER_FEATURES is a composition part — it dies with its\n // user. This edge was the lone scope-features sibling MISSING childOperations\n // (ORGANIZATION_FEATURES / APPLICATION_FEATURES both declared the cascade) →\n // orphan-on-user-delete risk; now aligned. Deliberately NO onParentCreate: the\n // scope-features ledger is cache-resolved (see the ORGANIZATION_FEATURES note).\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: { enabled: false },\n }\n ),\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.FILES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n isPrimaryScope: true,\n nature: RelationshipNature.REFERENCE,\n // applicationId is always propagated to every file record from the execution context\n // at creation time, regardless of the file's primaryScope (APPLICATION / ORGANIZATIONS /\n // USER_SELF). It is the top-level tenant isolation field, not the scope discriminator.\n contextPolicy: { enabled: false },\n }\n ),\n\n // Referrals scope anchor — TEMPORARY SHIM — Phase 4.5 Step 2.5 Layer 3c TODO.\n //\n // Referrals naturally inherit polymorphism from `*_billingAccounts` (which\n // are USER_SELF/ORG-polymorphic). The principled long-term design is to\n // split `referrals` into the same polymorphic variant pair so each variant\n // carries its own scope via the parent billing-account chain. Until that\n // follow-up PR lands, the ORGANIZATIONS edge below carries a STANDALONE\n // primary anchor so the resource has a defined `resourcePrimaryScope` and\n // the registry-layer factory's no-fallback throw stays satisfied.\n // Tracked in `.cursor/plans/m2m-webhook-organization-delivery-phase4-5-hardening.md`\n // (Phase 4.5 Step 2.5 Layer 3c).\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.REFERRALS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n isPrimaryScope: true,\n nature: RelationshipNature.REFERENCE,\n contextPolicy: { enabled: false },\n }\n ),\n\n // ── Guidance State Relationships (Dual-Scope) ────────────────────────\n // Each scope entity has 1:1 guidance state — system resource, standalone access\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.USER_GUIDANCE_STATE,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE,\n {\n isPrimaryScope: true,\n foreignKeyField: 'userId',\n nature: RelationshipNature.COMPOSITION,\n // onParentCreate: eager-seed the guidance-state row on user creation (removes the lazy read-create race; evaluator read-then-creates so no dup).\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 }, onParentCreate: { enabled: true } } },\n contextPolicy: { enabled: false }\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_GUIDANCE_STATE,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE,\n {\n isPrimaryScope: true,\n foreignKeyField: 'organizationId',\n nature: RelationshipNature.COMPOSITION,\n // onParentCreate: eager-seed the guidance-state row on org creation.\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 }, onParentCreate: { enabled: true } } },\n contextPolicy: { enabled: false }\n }\n ),\n // ── Progression State Relationships (Dual-Scope) ─────────────────────────\n // Each scope entity has 1:1 progression state — system resource, standalone access\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.USER_PROGRESSION_STATE,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE,\n {\n isPrimaryScope: true,\n foreignKeyField: 'userId',\n nature: RelationshipNature.COMPOSITION,\n // onParentCreate: eager-seed the progression-state row on user creation.\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 }, onParentCreate: { enabled: true } } },\n contextPolicy: { enabled: false }\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_PROGRESSION_STATE,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE,\n {\n isPrimaryScope: true,\n foreignKeyField: 'organizationId',\n nature: RelationshipNature.COMPOSITION,\n // onParentCreate: eager-seed the progression-state row on org creation.\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 }, onParentCreate: { enabled: true } } },\n contextPolicy: { enabled: false }\n }\n ),\n // ── Lifecycle State Relationships (Dual-Scope) ─────────────────────────\n // Each scope entity has 1:1 lifecycle state — system resource, standalone access\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.USER_LIFECYCLE_STATE,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE,\n {\n isPrimaryScope: true,\n foreignKeyField: 'userId',\n nature: RelationshipNature.COMPOSITION,\n // onParentCreate: eager-seed the lifecycle-state row on user creation — the\n // genuine latent gap (no READ self-heal); the evaluator read-then-creates so no dup.\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 }, onParentCreate: { enabled: true } } },\n contextPolicy: { enabled: false }\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_LIFECYCLE_STATE,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE,\n {\n isPrimaryScope: true,\n foreignKeyField: 'organizationId',\n nature: RelationshipNature.COMPOSITION,\n // onParentCreate: eager-seed the lifecycle-state row on org creation (latent gap).\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 }, onParentCreate: { enabled: true } } },\n contextPolicy: { enabled: false }\n }\n ),\n // ── Inbound Contacts (Phase 0.5, Q-E=B) ──────────────────────────────\n //\n // APPLICATION-scope lead-capture resource. Two FK edges to USER-shaped\n // parents are declared MANUALLY (no `isAnonymizable: true`, so the\n // factory does NOT inject anything for this resource):\n //\n // 1. ANONYMOUS_USERS → INBOUND_CONTACTS via `anonymousUserId`\n // Filled by the controller pre-flight seam from the active anonymous\n // session. Cleared to `null` by the manual transposition hook in\n // `AnonymousSessionBackendService` once the user converts.\n //\n // 2. USERS → INBOUND_CONTACTS via `userId`\n // Filled by the manual transposition hook when the lead converts.\n // Distinct from the schema's `relatedUserId` (sales/support manual\n // linkage) — see InboundContactSchema JSDoc.\n //\n // `relatedUserId` is intentionally NOT modeled as a separate\n // ResourceRelationship row: it is a sparse, manually-populated free\n // FK with no auto-context / cascade / URL-routing semantics. Modeling\n // it would add a second USERS → INBOUND_CONTACTS edge that the URL\n // builder would have to disambiguate via FK at every nested route, for\n // zero product gain (sales reps will use the standalone admin URL with\n // a filter, not a nested /users/:id/inbound-contacts path).\n //\n // Both edges use STANDALONE access scope: the resource is admin-listed\n // from APPLICATION scope, never nested under anonymous-users or users.\n // parentResourceRequirement=OPTIONAL because anonymousUserId is nullable (cleared to null on conversion).\n createResourcesRelationship(\n CoreResourceType.ANONYMOUS_USERS, CoreResourceType.INBOUND_CONTACTS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'anonymousUserId',\n // Lead survives anonymous-session cleanup (transposition rewrites\n // anonymousUserId → null when the lead converts; expired sessions\n // never owned the lead's lifecycle).\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } },\n contextPolicy: { enabled: false },\n }\n ),\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.INBOUND_CONTACTS,\n // ONE → MANY: userId is nullable on the schema (anonymous/unlinked leads have no user).\n // parentResourceRequirement=OPTIONAL to align with the nullable FK —\n // MANDATORY (default) would cause a ZodToMongoose required-mismatch crash.\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'userId',\n // Lead history is org-owned, not user-owned — survives user\n // deletion (compliance / audit signal). DELETE on a user does\n // not cascade to leads they happened to convert from.\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } },\n contextPolicy: { enabled: false },\n }\n ),\n\n // INBOUND_CONTACTS scope anchor (STANDALONE primary).\n //\n // Phase 4.5 Step 2.5 Layer 3a: declares APPLICATION as the structural\n // owner of inbound-contacts. The two USER-shaped FK edges above\n // (ANONYMOUS_USERS / USERS) carry conversion linkage but do NOT define\n // ownership — leads survive parent deletion and are admin-listed from\n // APPLICATION scope. STANDALONE keeps this rel inert for URL routing\n // (no nested /applications/:id/inbound-contacts path).\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.INBOUND_CONTACTS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n isPrimaryScope: true,\n nature: RelationshipNature.REFERENCE,\n contextPolicy: { enabled: false },\n }\n ),\n\n // ── Auth Relationships (Polymorphic — Singletons: 1:1, Collections: 1:N) ──\n\n // SSO Config — singleton (ONE per scope)\n ...createPolymorphicScopeRelationships(ssoConfigPolymorphicDeclaration, {\n childCardinality: ResourceRelationshipCardinality.ONE,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: {\n objectMode: ContextPolicy_ObjectMode.SUMMARY,\n operationOverrides: {\n [CoreResourceOperation.READ]: { objectMode: ContextPolicy_ObjectMode.FULL },\n },\n },\n }),\n\n // SSO Connections — collection (MANY per scope)\n ...createPolymorphicScopeRelationships(ssoConnectionPolymorphicDeclaration, {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: {\n operationOverrides: {\n [CoreResourceOperation.LIST]: { enabled: false },\n [CoreResourceOperation.SEARCH]: { enabled: false },\n },\n },\n }),\n\n // SIEM Export Config — singleton (ONE per scope)\n ...createPolymorphicScopeRelationships(siemExportConfigPolymorphicDeclaration, {\n childCardinality: ResourceRelationshipCardinality.ONE,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: {\n objectMode: ContextPolicy_ObjectMode.SUMMARY,\n operationOverrides: {\n [CoreResourceOperation.READ]: { objectMode: ContextPolicy_ObjectMode.FULL },\n },\n },\n }),\n\n // SIEM Delivery DLQ — collection (MANY per scope)\n ...createPolymorphicScopeRelationships(siemDeliveryDlqPolymorphicDeclaration, {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: {\n operationOverrides: {\n [CoreResourceOperation.LIST]: { enabled: false },\n [CoreResourceOperation.SEARCH]: { enabled: false },\n },\n },\n }),\n\n // SCIM Tokens — collection (MANY per scope)\n ...createPolymorphicScopeRelationships(scimTokensPolymorphicDeclaration, {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: {\n objectMode: ContextPolicy_ObjectMode.SUMMARY,\n operationOverrides: {\n [CoreResourceOperation.READ]: { objectMode: ContextPolicy_ObjectMode.FULL },\n },\n },\n }),\n\n // SCIM Provisioning Config — singleton (ONE per scope)\n ...createPolymorphicScopeRelationships(scimProvisioningConfigPolymorphicDeclaration, {\n childCardinality: ResourceRelationshipCardinality.ONE,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: {\n objectMode: ContextPolicy_ObjectMode.SUMMARY,\n operationOverrides: {\n [CoreResourceOperation.READ]: { objectMode: ContextPolicy_ObjectMode.FULL },\n },\n },\n }),\n\n // M2M Webhook Config — singleton (ONE per scope), mirrors SIEM Export Config wiring.\n ...createPolymorphicScopeRelationships(webhookConfigPolymorphicDeclaration, {\n childCardinality: ResourceRelationshipCardinality.ONE,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: {\n objectMode: ContextPolicy_ObjectMode.SUMMARY,\n operationOverrides: {\n [CoreResourceOperation.READ]: { objectMode: ContextPolicy_ObjectMode.FULL },\n },\n },\n }),\n\n // M2M Webhook Delivery Log — collection (MANY per scope). LIST/SEARCH stay\n // off the context surface (high-volume noise — admin queries them via the\n // dedicated UI, not via implicit context inclusion). Mirrors SIEM DLQ wiring.\n ...createPolymorphicScopeRelationships(m2mWebhookDeliveryLogPolymorphicDeclaration, {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: {\n operationOverrides: {\n [CoreResourceOperation.LIST]: { enabled: false },\n [CoreResourceOperation.SEARCH]: { enabled: false },\n },\n },\n }),\n];\n\nexport const coreShared_ResourcesConfigurations_FactoryMap: ResourceConfiguration_InitializationFactoryMap<CoreResourceType> = {\n [CoreResourceType.ORGANIZATIONS]: organizationResourceConfiguration_InitializationFactory,\n [CoreResourceType.USERS]: usersResourceConfiguration_InitializationFactory,\n [CoreResourceType.USER_CREDENTIALS]: userCredentialsResourceConfiguration_InitializationFactory,\n [CoreResourceType.USER_SELF]: userSelfResourceConfiguration_InitializationFactory,\n [CoreResourceType.USER_PROFILES]: userProfilesResourceConfiguration_InitializationFactory,\n [CoreResourceType.USER_PREFERENCES]: userPreferencesResourceConfiguration_InitializationFactory,\n [CoreResourceType.USER_SELF_PROFILES]: userSelfProfilesResourceConfiguration_InitializationFactory,\n [CoreResourceType.USER_SELF_PREFERENCES]: userSelfPreferencesResourceConfiguration_InitializationFactory,\n\n // Organization-related resources\n [CoreResourceType.ORGANIZATION_UNITS]: organizationUnitResourceConfiguration_InitializationFactory,\n [CoreResourceType.ORGANIZATION_UNIT_MEMBERS]: organizationUnitMemberResourceConfiguration_InitializationFactory,\n [CoreResourceType.ORGANIZATION_PROFILES]: organizationProfileResourceConfiguration_InitializationFactory,\n [CoreResourceType.ORGANIZATION_PREFERENCES]: organizationPreferencesResourceConfiguration_InitializationFactory,\n [CoreResourceType.PLATFORM_ACCESS_GRANTS]: platformAccessGrantsResourceConfiguration_InitializationFactory,\n [CoreResourceType.APPLICATION_ACCESS_GRANTS]: applicationAccessGrantsResourceConfiguration_InitializationFactory,\n [CoreResourceType.ORGANIZATION_NOTIFICATIONS]: organizationNotificationsResourceConfiguration_InitializationFactory,\n [CoreResourceType.ORGANIZATION_FEATURES]: organizationFeaturesResourceConfiguration_InitializationFactory,\n [CoreResourceType.USER_FEATURES]: userFeaturesResourceConfiguration_InitializationFactory,\n [CoreResourceType.ORGANIZATION_MEMBERS]: organizationMembersResourceConfiguration_InitializationFactory,\n\n // Application resources\n [CoreResourceType.APPLICATION]: applicationResourceConfiguration_InitializationFactory,\n [CoreResourceType.APPLICATION_METADATA]: applicationMetadataResourceConfiguration_InitializationFactory,\n [CoreResourceType.APPLICATION_VERSIONS]: applicationVersionsResourceConfiguration_InitializationFactory,\n [CoreResourceType.APPLICATION_FEATURES]: applicationFeaturesResourceConfiguration_InitializationFactory,\n\n // API Keys\n [CoreResourceType.ORG_API_KEYS]: orgApiKeysResourceConfiguration_InitializationFactory,\n [CoreResourceType.ORG_PROVIDER_CREDENTIALS]: orgProviderCredentialsResourceConfiguration_InitializationFactory,\n [CoreResourceType.USER_PROVIDER_CREDENTIALS]: userProviderCredentialsResourceConfiguration_InitializationFactory,\n [CoreResourceType.APPLICATION_API_KEYS]: appApiKeysResourceConfiguration_InitializationFactory,\n\n // OAuth Clients (registered client-credentials front — mirrors API Keys)\n [CoreResourceType.OAUTH_CLIENTS_ORGANIZATION]: orgOAuthClientsResourceConfiguration_InitializationFactory,\n [CoreResourceType.OAUTH_CLIENTS_APPLICATION]: appOAuthClientsResourceConfiguration_InitializationFactory,\n\n // Billing resources — polymorphic variants (3 each for accounts & subscriptions)\n ...billingAccountsPolymorphicFactories,\n ...billingSubscriptionsPolymorphicFactories,\n // Billing resources — non-polymorphic (shared catalog)\n [CoreResourceType.PRODUCTS]: productsResourceConfiguration_InitializationFactory,\n [CoreResourceType.PRICES]: pricesResourceConfiguration_InitializationFactory,\n ...invoiceRefsPolymorphicFactories,\n ...usageRecordsPolymorphicFactories,\n ...creditPoolsPolymorphicFactories,\n [CoreResourceType.PROMOTIONS]: promotionsResourceConfiguration_InitializationFactory,\n [CoreResourceType.REFERRALS]: referralsResourceConfiguration_InitializationFactory,\n\n // Audit and Compliance\n [CoreResourceType.AUDIT_LOGS]: auditLogsResourceConfiguration_InitializationFactory,\n // The APPLICATION-scoped door onto the SAME rows (#317). A separate type because the URL\n // combinator would otherwise rewrite the organization route — see the config's header.\n [CoreResourceType.APPLICATION_AUDIT_LOGS]: applicationAuditLogsResourceConfiguration_InitializationFactory,\n\n // Notification Badges — polymorphic dual-scope (USER + ORG)\n [CoreResourceType.USER_NOTIFICATION_BADGES]: userNotificationBadgesResourceConfiguration_InitializationFactory,\n [CoreResourceType.ORGANIZATION_NOTIFICATION_BADGES]: organizationNotificationBadgesResourceConfiguration_InitializationFactory,\n\n // File Management Resources\n [CoreResourceType.FILES]: filesResourceConfiguration_InitializationFactory,\n\n // Queue System Resources (internal infrastructure)\n [CoreResourceType.JOB_EXECUTIONS]: jobExecution_ResourceConfiguration_InitializationFactory,\n [CoreResourceType.JOB_PAYLOAD_STORAGE]: jobPayloadStorage_ResourceConfiguration_InitializationFactory,\n\n // Flows-Actors Execution Resource (persisted flow/actor system executions)\n ...flowActorExecutionsPolymorphicFactories,\n // Flows-Actors Task Resource (the WORK plane behind the A2A `Task` object)\n ...flowActorTasksPolymorphicFactories,\n ...a2aTokenBudgetStatePolymorphicFactories,\n ...a2aPushDeliveryLogPolymorphicFactories,\n\n // Authentication Resources\n [CoreResourceType.USER_IDENTITY_LINKS]: userIdentityLinksResourceConfiguration_InitializationFactory,\n [CoreResourceType.OAUTH_CONSENT_GRANTS]: oauthConsentGrantsResourceConfiguration_InitializationFactory,\n\n // Anonymous Session Resources (W7.3a)\n [CoreResourceType.ANONYMOUS_USERS]: anonymousUsersResourceConfiguration_InitializationFactory,\n\n // Inbound Contacts (Phase 0.5 — public marketing-site lead capture, Q-E=B)\n [CoreResourceType.INBOUND_CONTACTS]: inboundContactsResourceConfiguration_InitializationFactory,\n\n // Guidance State Resources\n [CoreResourceType.USER_GUIDANCE_STATE]: userGuidanceStateResourceConfiguration_InitializationFactory,\n [CoreResourceType.ORGANIZATION_GUIDANCE_STATE]: organizationGuidanceStateResourceConfiguration_InitializationFactory,\n\n // Progression State Resources\n [CoreResourceType.USER_PROGRESSION_STATE]: userProgressionStateResourceConfiguration_InitializationFactory,\n [CoreResourceType.ORGANIZATION_PROGRESSION_STATE]: organizationProgressionStateResourceConfiguration_InitializationFactory,\n\n // Lifecycle State Resources\n [CoreResourceType.USER_LIFECYCLE_STATE]: userLifecycleStateResourceConfiguration_InitializationFactory,\n [CoreResourceType.ORGANIZATION_LIFECYCLE_STATE]: organizationLifecycleStateResourceConfiguration_InitializationFactory,\n\n // Auth Resources — polymorphic variants (SSO + SIEM + SCIM, 6 × 2 = 12 entries)\n ...ssoConfigPolymorphicFactories,\n ...ssoConnectionPolymorphicFactories,\n ...siemExportConfigPolymorphicFactories,\n ...siemDeliveryDlqPolymorphicFactories,\n ...scimTokensPolymorphicFactories,\n ...scimProvisioningConfigPolymorphicFactories,\n\n // M2M Outbound Webhook Resources — polymorphic dual-scope (2 × 2 = 4 entries)\n ...webhookConfigPolymorphicFactories,\n ...m2mWebhookDeliveryLogPolymorphicFactories,\n};\n"]}
|