@wildo-ai/saas-models 1.1.9 → 1.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/_inspect.d.ts.map +1 -1
- package/dist/esm/_inspect.js.map +1 -1
- package/dist/esm/applications/application-metadata.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/applications/application-metadata.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/applications/application-subject.shared.schemas.d.ts.map +1 -1
- package/dist/esm/applications/application-subject.shared.schemas.js.map +1 -1
- package/dist/esm/applications/application-versions.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/applications/application-versions.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/applications/applications-context.schemas.d.ts +68 -2
- package/dist/esm/applications/applications-context.schemas.d.ts.map +1 -1
- package/dist/esm/applications/applications-context.schemas.js.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.map +1 -1
- package/dist/esm/applications/applications.shared.schemas.d.ts.map +1 -1
- package/dist/esm/applications/applications.shared.schemas.js.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.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/billing-account.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/billing-account.shared.schemas.js.map +1 -1
- package/dist/esm/billing/billing-configuration.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/billing-configuration.shared.schemas.js.map +1 -1
- package/dist/esm/billing/billing-enums.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/billing-enums.shared.schemas.js.map +1 -1
- package/dist/esm/billing/billing-types.shared.schemas.d.ts.map +1 -1
- 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.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/credit-pool.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/credit-pool.shared.schemas.js.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.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/invoice-ref.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/invoice-ref.shared.schemas.js.map +1 -1
- package/dist/esm/billing/price.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/price.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/price.shared.schemas.d.ts.map +1 -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.map +1 -1
- package/dist/esm/billing/product-definition.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/product-definition.shared.schemas.js.map +1 -1
- package/dist/esm/billing/product.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/product.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/product.shared.schemas.d.ts.map +1 -1
- 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.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/promotions.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/promotions.shared.schemas.js.map +1 -1
- package/dist/esm/billing/public-pricing-catalog.shared.atoms.d.ts.map +1 -1
- package/dist/esm/billing/public-pricing-catalog.shared.atoms.js.map +1 -1
- package/dist/esm/billing/public-pricing-catalog.shared.d.ts.map +1 -1
- package/dist/esm/billing/public-pricing-catalog.shared.js.map +1 -1
- package/dist/esm/billing/referral-reward.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/referral-reward.shared.schemas.js.map +1 -1
- package/dist/esm/billing/referral.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/referral.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/referral.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/referral.shared.schemas.js.map +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.map +1 -1
- package/dist/esm/billing/subscription.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/subscription.shared.schemas.js.map +1 -1
- package/dist/esm/billing/usage-flush-evidence.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/usage-flush-evidence.shared.schemas.js.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.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/usage-record.shared.schemas.d.ts.map +1 -1
- 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/aggregation-query.shared.schemas.js.map +1 -1
- package/dist/esm/charts/aggregation.shared.definitions.d.ts.map +1 -1
- package/dist/esm/charts/aggregation.shared.definitions.js.map +1 -1
- package/dist/esm/charts/chart-definition-builder.shared.d.ts.map +1 -1
- package/dist/esm/charts/chart-definition-builder.shared.js.map +1 -1
- package/dist/esm/companion/artifact-placement.shared.definitions.d.ts.map +1 -1
- package/dist/esm/companion/artifact-placement.shared.definitions.js.map +1 -1
- package/dist/esm/companion/provider-discovery.shared.schemas.d.ts.map +1 -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/shared-library-companion.shared.definitions.js.map +1 -1
- package/dist/esm/companion-exports.d.ts.map +1 -1
- package/dist/esm/companion-exports.js.map +1 -1
- package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.d.ts +1 -1
- package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.js +5 -2
- package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/audit-trails/audit-event-classification.shared.d.ts +28 -0
- package/dist/esm/compliance/audit-trails/audit-event-classification.shared.d.ts.map +1 -0
- package/dist/esm/compliance/audit-trails/audit-event-classification.shared.js +30 -0
- package/dist/esm/compliance/audit-trails/audit-event-classification.shared.js.map +1 -0
- package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/audit-trails/audit-log-sink.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/audit-trails/audit-log-sink.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.d.ts +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-logs.shared.resources-config.schemas.js +2 -1
- package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.d.ts +20 -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 +40 -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 +1 -14
- 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 +1 -16
- 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 +17 -4
- 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 +25 -5
- package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.js.map +1 -1
- package/dist/esm/compliance/data-classification/data-classification.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/data-classification/data-classification.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/documents/governed-document-interactions.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/documents/governed-document-interactions.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/documents/governed-documents.shared.schemas.d.ts +0 -50
- package/dist/esm/compliance/documents/governed-documents.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/documents/governed-documents.shared.schemas.js +4 -51
- package/dist/esm/compliance/documents/governed-documents.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/documents/public-governed-documents.shared.d.ts +67 -0
- package/dist/esm/compliance/documents/public-governed-documents.shared.d.ts.map +1 -0
- package/dist/esm/compliance/documents/public-governed-documents.shared.js +69 -0
- package/dist/esm/compliance/documents/public-governed-documents.shared.js.map +1 -0
- package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/capability-consent-purposes.shared.utils.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/capability-consent-purposes.shared.utils.js.map +1 -1
- package/dist/esm/compliance/privacy/client-storage.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/client-storage.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/consent-gate-vocabulary.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/consent-gate-vocabulary.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/consent-purposes.shared.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/consent-purposes.shared.js.map +1 -1
- package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.js +1 -1
- package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/impersonalization-scrub.shared.utils.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/impersonalization-scrub.shared.utils.js.map +1 -1
- package/dist/esm/compliance/privacy/impersonalization.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/impersonalization.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/jurisdiction-containment.shared.d.ts +32 -0
- package/dist/esm/compliance/privacy/jurisdiction-containment.shared.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/jurisdiction-containment.shared.js +46 -0
- package/dist/esm/compliance/privacy/jurisdiction-containment.shared.js.map +1 -0
- package/dist/esm/compliance/privacy/legal-hold-subject-attribution.shared.utils.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/legal-hold-subject-attribution.shared.utils.js.map +1 -1
- package/dist/esm/compliance/privacy/legal-holds.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/legal-holds.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/legal-holds.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/legal-holds.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/legal-notice-obligation.shared.d.ts +47 -0
- package/dist/esm/compliance/privacy/legal-notice-obligation.shared.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/legal-notice-obligation.shared.js +54 -0
- package/dist/esm/compliance/privacy/legal-notice-obligation.shared.js.map +1 -0
- package/dist/esm/compliance/privacy/legal-notice.shared.d.ts +105 -0
- package/dist/esm/compliance/privacy/legal-notice.shared.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/legal-notice.shared.js +112 -0
- package/dist/esm/compliance/privacy/legal-notice.shared.js.map +1 -0
- package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.d.ts +1 -27
- package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.js +2 -41
- 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 +51 -0
- package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.js +65 -0
- package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.js.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-category.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/personal-data-declaration.shared.utils.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/personal-data-declaration.shared.utils.js.map +1 -1
- package/dist/esm/compliance/privacy/privacy.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/privacy.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/provider-capability-disclosure.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/provider-capability-disclosure.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/purpose-ref.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/purpose-ref.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/redaction.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/redaction.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/retention-binding.shared.utils.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/retention-binding.shared.utils.js.map +1 -1
- package/dist/esm/compliance/privacy/retention-enforcement-records.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/retention-enforcement-records.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/retention-enforcement-records.shared.schemas.d.ts +8 -8
- package/dist/esm/compliance/privacy/retention-enforcement-records.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/retention-enforcement-records.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/retention-schedule.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/retention-scope-deleted.shared.utils.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/retention-scope-deleted.shared.utils.js.map +1 -1
- package/dist/esm/compliance/privacy/sharing.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/sharing.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/subject-data-recipients.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/subject-data-recipients.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/subject-erasure-lane-evidence.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/subject-erasure-lane-evidence.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.js.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-render.shared.utils.js.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.map +1 -1
- package/dist/esm/compliance/review-cadence.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/review-cadence.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/risk-posture.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/risk-posture.shared.schemas.js.map +1 -1
- package/dist/esm/config/analytics-value-moments.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/analytics-value-moments.shared.schemas.js.map +1 -1
- package/dist/esm/config/app-configuration-shared.shared.schemas.d.ts +63 -1
- package/dist/esm/config/app-configuration-shared.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/app-configuration-shared.shared.schemas.js +11 -0
- package/dist/esm/config/app-configuration-shared.shared.schemas.js.map +1 -1
- package/dist/esm/config/app-frontend-type.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/app-frontend-type.shared.schemas.js.map +1 -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.map +1 -1
- package/dist/esm/config/brand-assets.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/brand-assets.shared.schemas.js.map +1 -1
- package/dist/esm/config/configuration-validation.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/configuration-validation.shared.schemas.js.map +1 -1
- package/dist/esm/config/entity-identity-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/entity-identity-config.shared.schemas.js.map +1 -1
- package/dist/esm/config/frontend/chart-definition.shared.schemas.d.ts +16 -16
- package/dist/esm/config/frontend/chart-definition.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/frontend/chart-definition.shared.schemas.js.map +1 -1
- package/dist/esm/config/frontend/chart-registration-alignment.shared.d.ts.map +1 -1
- 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/navigation.shared.schemas.js.map +1 -1
- package/dist/esm/config/frontend/onboarding.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/frontend/onboarding.shared.schemas.js.map +1 -1
- package/dist/esm/config/postgresql.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/postgresql.shared.schemas.js.map +1 -1
- package/dist/esm/config/registration-acquisition-policy.shared.utils.d.ts.map +1 -1
- package/dist/esm/config/registration-acquisition-policy.shared.utils.js.map +1 -1
- package/dist/esm/config-authoring.entry.d.ts.map +1 -1
- package/dist/esm/config-authoring.entry.js.map +1 -1
- package/dist/esm/crdt/crdt-merge.shared.utils.d.ts.map +1 -1
- package/dist/esm/crdt/crdt-merge.shared.utils.js.map +1 -1
- package/dist/esm/data-seeding/data-seeding-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/data-seeding/data-seeding-config.shared.schemas.js.map +1 -1
- package/dist/esm/errors/caught-error-description.shared.utils.d.ts +5 -1
- package/dist/esm/errors/caught-error-description.shared.utils.d.ts.map +1 -1
- package/dist/esm/errors/caught-error-description.shared.utils.js +48 -4
- package/dist/esm/errors/caught-error-description.shared.utils.js.map +1 -1
- 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.map +1 -1
- package/dist/esm/errors/errors.shared.definitions.d.ts.map +1 -1
- package/dist/esm/errors/errors.shared.definitions.js.map +1 -1
- package/dist/esm/errors/errors.shared.schemas.d.ts.map +1 -1
- package/dist/esm/errors/errors.shared.schemas.js.map +1 -1
- package/dist/esm/errors/errors.shared.utils.d.ts.map +1 -1
- package/dist/esm/errors/errors.shared.utils.js.map +1 -1
- package/dist/esm/errors/resource-access-forbidden.shared.error.d.ts.map +1 -1
- package/dist/esm/errors/resource-access-forbidden.shared.error.js.map +1 -1
- package/dist/esm/errors/thrown-value-description.shared.utils.d.ts.map +1 -1
- package/dist/esm/errors/thrown-value-description.shared.utils.js.map +1 -1
- package/dist/esm/errors/zod-issue-formatting.shared.utils.d.ts.map +1 -1
- package/dist/esm/errors/zod-issue-formatting.shared.utils.js.map +1 -1
- package/dist/esm/exports/tabular-csv.shared.utils.d.ts.map +1 -1
- package/dist/esm/exports/tabular-csv.shared.utils.js.map +1 -1
- package/dist/esm/external-data/external-data-pipeline-description.shared.d.ts.map +1 -1
- package/dist/esm/external-data/external-data-pipeline-description.shared.js.map +1 -1
- package/dist/esm/external-data/external-data-pipeline-pass-mode.shared.d.ts.map +1 -1
- package/dist/esm/external-data/external-data-pipeline-pass-mode.shared.js.map +1 -1
- 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/external-data-provenance.shared.d.ts.map +1 -1
- package/dist/esm/external-data/external-data-provenance.shared.js.map +1 -1
- package/dist/esm/external-data.exports.d.ts.map +1 -1
- package/dist/esm/external-data.exports.js.map +1 -1
- package/dist/esm/external-providers/compose-provider-registry.shared.d.ts.map +1 -1
- package/dist/esm/external-providers/compose-provider-registry.shared.js.map +1 -1
- package/dist/esm/external-providers/engine-capabilities.shared.schemas.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/esm/external-providers/engine-capability-resolution-mode.shared.js.map +1 -1
- package/dist/esm/external-providers/engine-capability-surface.shared.d.ts.map +1 -1
- package/dist/esm/external-providers/engine-capability-surface.shared.js.map +1 -1
- package/dist/esm/external-providers/external-providers.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/external-providers.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.d.ts +34 -1
- package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/frontend-capability-runtime.shared.types.d.ts.map +1 -1
- package/dist/esm/external-providers/frontend-capability-runtime.shared.types.js.map +1 -1
- 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.map +1 -1
- package/dist/esm/external-providers/frontend-provider-public-config.shared.d.ts.map +1 -1
- package/dist/esm/external-providers/frontend-provider-public-config.shared.js.map +1 -1
- package/dist/esm/external-providers/model-cost-accounting-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/model-cost-accounting-config.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-address-lookup-contract.shared.types.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-address-lookup-contract.shared.types.js.map +1 -1
- package/dist/esm/external-providers/provider-augmentation-opt-ins.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-augmentation-opt-ins.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-authentication-assurance.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-authentication-assurance.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-browser-operations.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-browser-operations.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-capability.shared.schemas.d.ts.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.js.map +1 -1
- package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-metadata.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-metadata.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-package-allow-list.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-package-allow-list.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-protocol.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-protocol.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-scope-reauthorization.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-scope-reauthorization.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-shared-connections.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-shared-connections.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-tier-rule.shared.utils.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-tier-rule.shared.utils.js.map +1 -1
- package/dist/esm/external-providers/provider-usage-cost.shared.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-usage-cost.shared.js.map +1 -1
- package/dist/esm/external-providers/provider-usage-pricing.example.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-usage-pricing.example.js.map +1 -1
- package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.js.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.map +1 -1
- package/dist/esm/features/connected-feature.example.d.ts.map +1 -1
- package/dist/esm/features/connected-feature.example.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.map +1 -1
- package/dist/esm/features/feature-builders.shared.d.ts.map +1 -1
- 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-definition.shared.schemas.js.map +1 -1
- package/dist/esm/features/feature-registry.shared.d.ts.map +1 -1
- package/dist/esm/features/feature-registry.shared.js.map +1 -1
- package/dist/esm/features/feature-resolution.shared.schemas.d.ts.map +1 -1
- package/dist/esm/features/feature-resolution.shared.schemas.js.map +1 -1
- package/dist/esm/features/scope-features.shared.schemas.d.ts.map +1 -1
- package/dist/esm/features/scope-features.shared.schemas.js.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.map +1 -1
- package/dist/esm/files/file-remote-reference-link.shared.schemas.d.ts.map +1 -1
- package/dist/esm/files/file-remote-reference-link.shared.schemas.js.map +1 -1
- package/dist/esm/files/file-upload-grant.shared.schemas.d.ts.map +1 -1
- 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.resources-config.schemas.js.map +1 -1
- package/dist/esm/files/files.shared.schemas.d.ts.map +1 -1
- 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/files/files.shared.utils.js.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.resources-config.schemas.js.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-push-delivery-log.shared.schemas.js.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.resources-config.schemas.js.map +1 -1
- package/dist/esm/flows-actors/a2a-token-budget-state.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/a2a-token-budget-state.shared.schemas.js.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.map +1 -1
- package/dist/esm/flows-actors/agent-traceability.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/agent-traceability.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/agent-work-decisions.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/agent-work-decisions.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/flows-actors/agent-work-decisions.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/agent-work-decisions.shared.schemas.js.map +1 -1
- 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/autonomous-agents.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/autonomous-agents.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/deliberation.shared.schemas.d.ts +2 -1
- package/dist/esm/flows-actors/deliberation.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/deliberation.shared.schemas.js +2 -1
- package/dist/esm/flows-actors/deliberation.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/execution-plan-readiness.shared.utils.d.ts.map +1 -1
- package/dist/esm/flows-actors/execution-plan-readiness.shared.utils.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.resources-config.schemas.js.map +1 -1
- 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.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.resources-config.schemas.js.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-task.shared.schemas.js.map +1 -1
- 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.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.configuration.shared.schemas.js.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.frontend.shared.schemas.js.map +1 -1
- 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.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.definitions.js.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.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.map +1 -1
- package/dist/esm/flows-actors/human-decision.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/human-decision.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/mcp-servers.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/mcp-servers.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/model-call-attributions.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/model-call-attributions.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/flows-actors/model-call-attributions.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/model-call-attributions.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/model-cost-period-aggregates.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/model-cost-period-aggregates.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/flows-actors/model-cost-period-aggregates.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/model-cost-period-aggregates.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/model-cost-summary.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/model-cost-summary.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/prompt-ir.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/prompt-ir.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/flows-actors/provider-call-records.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/provider-call-records.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/review-deadlines.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/review-deadlines.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/tasks.actors.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/tasks.actors.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/work-attribution.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/work-attribution.shared.schemas.js.map +1 -1
- package/dist/esm/frontend-definitions/frontend-notification-custom-message-ref.definitions.d.ts.map +1 -1
- package/dist/esm/frontend-definitions/frontend-notification-custom-message-ref.definitions.js.map +1 -1
- package/dist/esm/frontend-definitions/settings-destination-ref.definitions.d.ts.map +1 -1
- package/dist/esm/frontend-definitions/settings-destination-ref.definitions.js.map +1 -1
- package/dist/esm/guidance/guidance-flow.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/guidance-flow.shared.schemas.js.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.resources-config.schemas.js.map +1 -1
- package/dist/esm/guidance/guidance-state.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/guidance-state.shared.schemas.js.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.map +1 -1
- package/dist/esm/guidance/lifecycle-config.shared.schemas.d.ts +2 -2
- package/dist/esm/guidance/lifecycle-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/lifecycle-config.shared.schemas.js.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.resources-config.schemas.js.map +1 -1
- package/dist/esm/guidance/lifecycle-state.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/lifecycle-state.shared.schemas.js.map +1 -1
- package/dist/esm/guidance/milestone-builders.shared.d.ts.map +1 -1
- package/dist/esm/guidance/milestone-builders.shared.js.map +1 -1
- package/dist/esm/guidance/milestone-definition.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/milestone-definition.shared.schemas.js.map +1 -1
- package/dist/esm/guidance/progression-presentation.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/progression-presentation.shared.schemas.js.map +1 -1
- package/dist/esm/guidance/progression-state.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/progression-state.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/guidance/progression-state.shared.schemas.d.ts.map +1 -1
- 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-id.shared.utils.js.map +1 -1
- 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.map +1 -1
- package/dist/esm/http-api-binding/http-api-erasure-stance.shared.d.ts.map +1 -1
- package/dist/esm/http-api-binding/http-api-erasure-stance.shared.js.map +1 -1
- package/dist/esm/http-api-binding/http-api-rest-write-operations.shared.schemas.d.ts.map +1 -1
- package/dist/esm/http-api-binding/http-api-rest-write-operations.shared.schemas.js.map +1 -1
- package/dist/esm/http-api-binding/http-api-transport-dialect.shared.d.ts.map +1 -1
- package/dist/esm/http-api-binding/http-api-transport-dialect.shared.js.map +1 -1
- package/dist/esm/http-api-binding/read-through-engine-anchors.shared.d.ts.map +1 -1
- package/dist/esm/http-api-binding/read-through-engine-anchors.shared.js.map +1 -1
- package/dist/esm/i18n/application-config-vocabulary.shared.d.ts.map +1 -1
- package/dist/esm/i18n/application-config-vocabulary.shared.js.map +1 -1
- package/dist/esm/i18n/engine-open-vocabulary-values.shared.d.ts.map +1 -1
- package/dist/esm/i18n/engine-open-vocabulary-values.shared.js.map +1 -1
- package/dist/esm/i18n/engine-open-vocabulary.shared.d.ts.map +1 -1
- package/dist/esm/i18n/engine-open-vocabulary.shared.js.map +1 -1
- package/dist/esm/i18n/interpolate-label-params.shared.utils.d.ts.map +1 -1
- package/dist/esm/i18n/interpolate-label-params.shared.utils.js.map +1 -1
- package/dist/esm/i18n/labelling.dto.shared.schemas.d.ts.map +1 -1
- package/dist/esm/i18n/labelling.dto.shared.schemas.js.map +1 -1
- package/dist/esm/inbound/conversation-threads.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/inbound/conversation-threads.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/inbound/conversation-threads.shared.schemas.d.ts.map +1 -1
- package/dist/esm/inbound/conversation-threads.shared.schemas.js.map +1 -1
- package/dist/esm/inbound/inbound-channels.shared.schemas.d.ts.map +1 -1
- package/dist/esm/inbound/inbound-channels.shared.schemas.js.map +1 -1
- package/dist/esm/inbound/inbound-delivery.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/inbound/inbound-delivery.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/inbound/inbound-delivery.shared.schemas.d.ts.map +1 -1
- package/dist/esm/inbound/inbound-delivery.shared.schemas.js.map +1 -1
- package/dist/esm/inbound/inbound-endpoint-env.shared.d.ts.map +1 -1
- package/dist/esm/inbound/inbound-endpoint-env.shared.js.map +1 -1
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +5 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/meta-workflows/actions.meta-workflows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/meta-workflows/actions.meta-workflows.shared.schemas.js.map +1 -1
- package/dist/esm/meta-workflows/catalog.meta-workflows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/meta-workflows/catalog.meta-workflows.shared.schemas.js.map +1 -1
- package/dist/esm/meta-workflows/coding-tasks.meta-workflows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/meta-workflows/coding-tasks.meta-workflows.shared.schemas.js.map +1 -1
- package/dist/esm/meta-workflows/context-selection.meta-workflows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/meta-workflows/context-selection.meta-workflows.shared.schemas.js.map +1 -1
- package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.js.map +1 -1
- package/dist/esm/meta-workflows/elicitation-depth.meta-workflows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/meta-workflows/elicitation-depth.meta-workflows.shared.schemas.js.map +1 -1
- package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.d.ts +13 -1
- package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.js +21 -1
- package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.js.map +1 -1
- package/dist/esm/meta-workflows/portable-primitives.meta-workflows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/meta-workflows/portable-primitives.meta-workflows.shared.schemas.js.map +1 -1
- package/dist/esm/meta-workflows.exports.d.ts.map +1 -1
- package/dist/esm/meta-workflows.exports.js.map +1 -1
- package/dist/esm/monitoring/monitoring.shared.schemas.d.ts.map +1 -1
- package/dist/esm/monitoring/monitoring.shared.schemas.js.map +1 -1
- package/dist/esm/notifications/email/email-context.shared.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/email/email-context.shared.schemas.js.map +1 -1
- package/dist/esm/notifications/email/email-submission.shared.enums.d.ts.map +1 -1
- package/dist/esm/notifications/email/email-submission.shared.enums.js.map +1 -1
- 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.map +1 -1
- package/dist/esm/notifications/email/email-template.shared.enums.js.map +1 -1
- package/dist/esm/notifications/inbound-email/inbound-email.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/inbound-email/inbound-email.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/notifications/inbound-email/inbound-email.shared.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/inbound-email/inbound-email.shared.schemas.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-contract.shared.js.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.resources-config.schemas.js.map +1 -1
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.js.map +1 -1
- 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.map +1 -1
- package/dist/esm/notifications/m2m/webhook-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/m2m/webhook-config.shared.schemas.js.map +1 -1
- package/dist/esm/notifications/notification-badges.core.definitions.d.ts.map +1 -1
- package/dist/esm/notifications/notification-badges.core.definitions.js.map +1 -1
- package/dist/esm/notifications/notification-badges.schemas.d.ts.map +1 -1
- 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/notification-badges.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/notifications/notifications.shared.schemas.d.ts +5 -3
- package/dist/esm/notifications/notifications.shared.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/notifications.shared.schemas.js +5 -3
- package/dist/esm/notifications/notifications.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/application-owner-organization.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/application-owner-organization.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.map +1 -1
- package/dist/esm/organizations/organization-features.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-features.shared.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.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-members.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-members.shared.schemas.js.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.resources-config.schemas.js.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.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.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-preferences.shared.schemas.d.ts.map +1 -1
- 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.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-profile.shared.schemas.d.ts.map +1 -1
- 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-inheritance.shared.js.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.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-unit-members.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-unit-members.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-unit-narrowing-decision.shared.d.ts.map +1 -1
- package/dist/esm/organizations/organization-unit-narrowing-decision.shared.js.map +1 -1
- package/dist/esm/organizations/organization-unit-narrowing.example.d.ts.map +1 -1
- package/dist/esm/organizations/organization-unit-narrowing.example.js.map +1 -1
- package/dist/esm/organizations/organization-unit-narrowing.shared.d.ts.map +1 -1
- package/dist/esm/organizations/organization-unit-narrowing.shared.js.map +1 -1
- package/dist/esm/organizations/organization-units.shared.path.d.ts.map +1 -1
- package/dist/esm/organizations/organization-units.shared.path.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.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-units.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-units.shared.schemas.js.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.map +1 -1
- package/dist/esm/organizations/organizations.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organizations.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/service-provider-activity-feed.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/service-provider-activity-feed.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/service-provider-activity-feed.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/service-provider-activity-feed.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/service-provider-capability-grants.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/service-provider-capability-grants.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/service-provider-capability-grants.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/service-provider-capability-grants.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/service-provider-client-controls.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/service-provider-client-controls.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/service-provider-relationships.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/service-provider-relationships.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/service-provider-relationships.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/service-provider-relationships.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/tenant-teardown-config.shared.schemas.d.ts.map +1 -1
- 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/provider-registration-runtime.exports.js.map +1 -1
- package/dist/esm/public-runtime/index.d.ts +13 -0
- package/dist/esm/public-runtime/index.d.ts.map +1 -1
- package/dist/esm/public-runtime/index.js +13 -0
- package/dist/esm/public-runtime/index.js.map +1 -1
- package/dist/esm/queue/jobs.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/queue/jobs.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/queue/jobs.shared.schemas.d.ts +1 -1
- package/dist/esm/queue/jobs.shared.schemas.d.ts.map +1 -1
- 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/jobs.shared.utils.js.map +1 -1
- package/dist/esm/queue/queues.shared.schemas.d.ts.map +1 -1
- package/dist/esm/queue/queues.shared.schemas.js.map +1 -1
- package/dist/esm/queue/queues.shared.utils.d.ts.map +1 -1
- package/dist/esm/queue/queues.shared.utils.js.map +1 -1
- package/dist/esm/queue/rabbitmq-queue-args.shared.d.ts.map +1 -1
- package/dist/esm/queue/rabbitmq-queue-args.shared.js.map +1 -1
- package/dist/esm/rag/rag-retrieval-health.shared.d.ts.map +1 -1
- package/dist/esm/rag/rag-retrieval-health.shared.js.map +1 -1
- package/dist/esm/requests/header-keys.shared.d.ts.map +1 -1
- package/dist/esm/requests/header-keys.shared.js.map +1 -1
- package/dist/esm/requests/http-requests.shared.d.ts.map +1 -1
- package/dist/esm/requests/http-requests.shared.js.map +1 -1
- package/dist/esm/requests/idempotency-key.shared.d.ts.map +1 -1
- package/dist/esm/requests/idempotency-key.shared.js.map +1 -1
- package/dist/esm/requests/manual-controllers-routes-documentation.d.ts.map +1 -1
- package/dist/esm/requests/manual-controllers-routes-documentation.js.map +1 -1
- package/dist/esm/requests/manual-controllers-routes-urls.d.ts.map +1 -1
- package/dist/esm/requests/manual-controllers-routes-urls.js.map +1 -1
- package/dist/esm/requests/rate-limits.shared.schemas.d.ts.map +1 -1
- package/dist/esm/requests/rate-limits.shared.schemas.js.map +1 -1
- package/dist/esm/requests/websocket.shared.schemas.d.ts +2 -2
- package/dist/esm/requests/websocket.shared.schemas.d.ts.map +1 -1
- 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/child-operations.shared.schemas.js.map +1 -1
- package/dist/esm/resources/collection-query-parameters.shared.d.ts.map +1 -1
- package/dist/esm/resources/collection-query-parameters.shared.js.map +1 -1
- package/dist/esm/resources/context-policy.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/context-policy.shared.schemas.js.map +1 -1
- package/dist/esm/resources/embedded-resource-mark.shared.utils.d.ts.map +1 -1
- package/dist/esm/resources/embedded-resource-mark.shared.utils.js.map +1 -1
- package/dist/esm/resources/relationship-display.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/relationship-display.shared.schemas.js.map +1 -1
- package/dist/esm/resources/resource-status-lifecycle.example.d.ts +100 -0
- package/dist/esm/resources/resource-status-lifecycle.example.d.ts.map +1 -0
- package/dist/esm/resources/resource-status-lifecycle.example.js +156 -0
- package/dist/esm/resources/resource-status-lifecycle.example.js.map +1 -0
- package/dist/esm/resources/resources-config.shared.factory.d.ts +25 -1
- package/dist/esm/resources/resources-config.shared.factory.d.ts.map +1 -1
- package/dist/esm/resources/resources-config.shared.factory.js +31 -8
- package/dist/esm/resources/resources-config.shared.factory.js.map +1 -1
- package/dist/esm/resources/resources-config.shared.schemas.d.ts +33 -0
- 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.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.map +1 -1
- package/dist/esm/resources/resources-serialization.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/resources-serialization.shared.schemas.js.map +1 -1
- package/dist/esm/resources/resources.shared.core.definitions.d.ts.map +1 -1
- package/dist/esm/resources/resources.shared.core.definitions.js.map +1 -1
- package/dist/esm/resources/resources.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/resources.shared.schemas.js.map +1 -1
- package/dist/esm/resources/resources.shared.utils.d.ts.map +1 -1
- 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/collection-export.shared.utils.js.map +1 -1
- package/dist/esm/resources/utils/composition-cascade-deletability.validation.d.ts.map +1 -1
- package/dist/esm/resources/utils/composition-cascade-deletability.validation.js.map +1 -1
- package/dist/esm/resources/utils/composition-seedability.validation.d.ts.map +1 -1
- package/dist/esm/resources/utils/composition-seedability.validation.js.map +1 -1
- package/dist/esm/resources/utils/context-addressed-composition-singleton.shared.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/context-addressed-composition-singleton.shared.utils.js.map +1 -1
- package/dist/esm/resources/utils/dependent-lifecycle-classification.validation.d.ts.map +1 -1
- package/dist/esm/resources/utils/dependent-lifecycle-classification.validation.js.map +1 -1
- package/dist/esm/resources/utils/duplicate-relationship-registration.validation.d.ts.map +1 -1
- package/dist/esm/resources/utils/duplicate-relationship-registration.validation.js.map +1 -1
- package/dist/esm/resources/utils/field-value-disclosure.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/field-value-disclosure.utils.js.map +1 -1
- package/dist/esm/resources/utils/http-api-write-declaration.shared.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/http-api-write-declaration.shared.utils.js.map +1 -1
- package/dist/esm/resources/utils/initiator-stamped-field-satisfiability.validation.d.ts.map +1 -1
- package/dist/esm/resources/utils/initiator-stamped-field-satisfiability.validation.js.map +1 -1
- package/dist/esm/resources/utils/no-subject-data-stance-coherence.shared.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/no-subject-data-stance-coherence.shared.utils.js.map +1 -1
- package/dist/esm/resources/utils/persistence-adapter-discrimination.shared.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/persistence-adapter-discrimination.shared.utils.js.map +1 -1
- package/dist/esm/resources/utils/populated-file-fields.shared.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/populated-file-fields.shared.utils.js.map +1 -1
- package/dist/esm/resources/utils/repository-dto-builder.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/repository-dto-builder.utils.js.map +1 -1
- package/dist/esm/resources/utils/request-schema-field-carriage.shared.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/request-schema-field-carriage.shared.utils.js.map +1 -1
- package/dist/esm/resources/utils/required-fk-fillability.validation.d.ts.map +1 -1
- package/dist/esm/resources/utils/required-fk-fillability.validation.js.map +1 -1
- package/dist/esm/resources/utils/resource-operation-type-guards.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resource-operation-type-guards.utils.js.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.factory.d.ts.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.factory.js.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.relationships.d.ts.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.relationships.js.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.schemas.d.ts.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.schemas.js.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.utils.js.map +1 -1
- package/dist/esm/resources/utils/resource-subtree.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resource-subtree.utils.js.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-context-needs.utils.js.map +1 -1
- package/dist/esm/resources/utils/resources-config-naming.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resources-config-naming.utils.js.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.dtos-builder.utils.js.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.path.utils.js.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.urls-builder.utils.js.map +1 -1
- package/dist/esm/resources/utils/resources-config-operations.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resources-config-operations.utils.js.map +1 -1
- package/dist/esm/resources/utils/resources-serialization.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resources-serialization.utils.js.map +1 -1
- package/dist/esm/resources/utils/resources-summary.utils.d.ts.map +1 -1
- 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-family-builder.utils.js.map +1 -1
- package/dist/esm/resources/utils/schema-type-inference.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/schema-type-inference.utils.js.map +1 -1
- package/dist/esm/resources/utils/schema-type-utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/schema-type-utils.js.map +1 -1
- package/dist/esm/resources/utils/schema-variant-resolver.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/schema-variant-resolver.utils.js.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.map +1 -1
- package/dist/esm/resources/utils/templatable-file-fields.shared.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/templatable-file-fields.shared.utils.js.map +1 -1
- package/dist/esm/resources/work-unit.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/work-unit.shared.schemas.js.map +1 -1
- 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/runtime/execution-context.shared.schemas.js.map +1 -1
- package/dist/esm/runtime/runtime.shared.schemas.d.ts.map +1 -1
- package/dist/esm/runtime/runtime.shared.schemas.js.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- package/dist/esm/security/api-keys/api-keys.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/api-keys/api-keys.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/anonymous-session/anonymous-session.shared.contract.d.ts.map +1 -1
- package/dist/esm/security/authentications/anonymous-session/anonymous-session.shared.contract.js.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.dto.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.dto.schemas.js.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.schemas.d.ts.map +1 -1
- 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/authentication.shared.utils.js.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/cross-frontend-handoff.shared.dto.schemas.js.map +1 -1
- package/dist/esm/security/authentications/mfa-backup-code-contract.shared.d.ts.map +1 -1
- package/dist/esm/security/authentications/mfa-backup-code-contract.shared.js.map +1 -1
- package/dist/esm/security/authentications/password-blocklist.shared.utils.d.ts.map +1 -1
- package/dist/esm/security/authentications/password-blocklist.shared.utils.js.map +1 -1
- package/dist/esm/security/authentications/password-reset.shared.dto.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/password-reset.shared.dto.schemas.js.map +1 -1
- package/dist/esm/security/authentications/registration.shared.dto.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/registration.shared.dto.schemas.js.map +1 -1
- package/dist/esm/security/authentications/same-origin-redirect-path.shared.d.ts.map +1 -1
- package/dist/esm/security/authentications/same-origin-redirect-path.shared.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-organization-unit-mapping.shared.js.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.resources-config.schemas.js.map +1 -1
- 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.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.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/authentications/scim/scim-tokens.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/scim/scim-tokens.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/service-provider-client-authentication.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/service-provider-client-authentication.shared.schemas.js.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.resources-config.schemas.js.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-dlq.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.schemas.js.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.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.js.map +1 -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.map +1 -1
- 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.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.resources-config.schemas.js.map +1 -1
- 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.map +1 -1
- package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/authorizations/application-access-grants.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authorizations/application-access-grants.shared.schemas.js.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- package/dist/esm/security/authorizations/roles.application-roles.example.d.ts +37 -0
- package/dist/esm/security/authorizations/roles.application-roles.example.d.ts.map +1 -0
- package/dist/esm/security/authorizations/roles.application-roles.example.js +50 -0
- package/dist/esm/security/authorizations/roles.application-roles.example.js.map +1 -0
- package/dist/esm/security/authorizations/roles.shared.defaults.d.ts +13 -0
- package/dist/esm/security/authorizations/roles.shared.defaults.d.ts.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.defaults.js +13 -0
- package/dist/esm/security/authorizations/roles.shared.defaults.js.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.schemas.d.ts +29 -0
- package/dist/esm/security/authorizations/roles.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.schemas.js +28 -0
- package/dist/esm/security/authorizations/roles.shared.schemas.js.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.utils.d.ts.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.utils.js.map +1 -1
- package/dist/esm/security/connected-accounts/provider-connection-listing.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/connected-accounts/provider-connection-listing.shared.schemas.js.map +1 -1
- package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.js.map +1 -1
- package/dist/esm/security/credential-rotation-grace.shared.utils.d.ts.map +1 -1
- package/dist/esm/security/credential-rotation-grace.shared.utils.js.map +1 -1
- package/dist/esm/security/crypto-keys/crypto-keys.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/crypto-keys/crypto-keys.shared.schemas.js.map +1 -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.map +1 -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.map +1 -1
- 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.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.resources-config.schemas.js.map +1 -1
- 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.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-resource-server.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-resource-server.shared.schemas.js.map +1 -1
- package/dist/esm/security/outbound-target-control.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/outbound-target-control.shared.schemas.js.map +1 -1
- package/dist/esm/security/submission-challenge/submission-challenge.shared.d.ts.map +1 -1
- package/dist/esm/security/submission-challenge/submission-challenge.shared.js.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-actions.shared.schemas.d.ts.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-actions.shared.schemas.js.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-credential-kind.shared.d.ts.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-credential-kind.shared.js.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.d.ts.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.js.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-env.shared.d.ts.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-env.shared.js.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-error-codes.shared.d.ts.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-error-codes.shared.js.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.d.ts.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.js.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.schemas.d.ts.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.schemas.js.map +1 -1
- package/dist/esm/testing/resource-config-builders.d.ts.map +1 -1
- package/dist/esm/testing/resource-config-builders.js.map +1 -1
- package/dist/esm/testing.d.ts.map +1 -1
- package/dist/esm/testing.js.map +1 -1
- package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.d.ts.map +1 -1
- package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.js.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.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/anonymous-users.shared.schema.d.ts.map +1 -1
- package/dist/esm/users/anonymous-users.shared.schema.js.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.resources-config.schemas.js +2 -0
- package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/inbound-contacts.shared.schemas.d.ts.map +1 -1
- package/dist/esm/users/inbound-contacts.shared.schemas.js.map +1 -1
- package/dist/esm/users/user-consent-decision.shared.utils.d.ts.map +1 -1
- package/dist/esm/users/user-consent-decision.shared.utils.js.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.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/user-credentials.shared.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-credentials.shared.schemas.js.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.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/user-identity-links.shared.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-identity-links.shared.schemas.js.map +1 -1
- package/dist/esm/users/user-preferences-reset.shared.utils.d.ts.map +1 -1
- package/dist/esm/users/user-preferences-reset.shared.utils.js.map +1 -1
- package/dist/esm/users/user-preferences.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-preferences.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/user-profiles.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-profiles.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.js.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-profiles.shared.resources-config.schemas.js.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.map +1 -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.map +1 -1
- package/dist/esm/users/users.shared.schemas.d.ts.map +1 -1
- package/dist/esm/users/users.shared.schemas.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- 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,EA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C;IACtC,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,EAAE,8DAA8D;IACvG,CAAC,gBAAgB,CAAC,qBAAqB,CAAC,EAAE,+DAA+D;IACzG,CAAC,gBAAgB,CAAC,yBAAyB,CAAC,EAAE,kEAAkE;IAChH,CAAC,gBAAgB,CAAC,cAAc,CAAC,EAAE,wDAAwD;IAC3F,CAAC,gBAAgB,CAAC,0BAA0B,CAAC,EAAE,mEAAmE;IAClH,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,EAAE,0DAA0D;IAC/F,CAAC,gBAAgB,CAAC,0BAA0B,CAAC,EAAE,mEAAmE;CACnH,CAAC","sourcesContent":["import { RelationshipNature, ResourceRelationship, ResourceRelationshipAccessScopeStrategy, ResourceRelationshipCardinality, ResourceParentResourceRequirement } from \"./resources.shared.schemas\";\nimport { ContextPolicy_ObjectMode } from \"./context-policy.shared.schemas\";\nimport { ChildLifecycleMode, ChildLifecycleStrategy } 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 { systemOfRecordPartitionAssignmentsResourceConfiguration_InitializationFactory } from '../systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas';\nimport { platformAccessGrantsResourceConfiguration_InitializationFactory } from '../security/authorizations/platform-access-grants.shared.resources-config.schemas';\nimport { legalHoldsResourceConfiguration_InitializationFactory } from '../compliance/privacy/legal-holds.shared.resources-config.schemas';\nimport {\n serviceEngagementAssignmentsResourceConfiguration_InitializationFactory,\n serviceEngagementsResourceConfiguration_InitializationFactory,\n serviceProviderRelationshipsResourceConfiguration_InitializationFactory,\n} from '../organizations/service-provider-relationships.shared.resources-config.schemas';\nimport {\n serviceProviderActivityFeedResourceConfiguration_InitializationFactory,\n serviceProviderActivityFeedSettingsResourceConfiguration_InitializationFactory,\n} from '../organizations/service-provider-activity-feed.shared.resources-config.schemas';\nimport { serviceProviderCapabilityGrantsResourceConfiguration_InitializationFactory } from '../organizations/service-provider-capability-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\";\nimport { providerCallRecordsResourceConfiguration_InitializationFactory } from \"../flows-actors/provider-call-records.shared.resources-config.schemas\";\nimport { modelCallAttributionsResourceConfiguration_InitializationFactory } from \"../flows-actors/model-call-attributions.shared.resources-config.schemas\";\nimport { modelCostPeriodAggregatesResourceConfiguration_InitializationFactory } from \"../flows-actors/model-cost-period-aggregates.shared.resources-config.schemas\";\nimport {\n agentWorkCaptureSettingsResourceConfiguration_InitializationFactory,\n agentWorkDecisionContentsPolymorphicFactories,\n agentWorkDecisionsPolymorphicFactories,\n evaluationDatasetExportsResourceConfiguration_InitializationFactory,\n evaluationExportAuthorizationsResourceConfiguration_InitializationFactory,\n} from \"../flows-actors/agent-work-decisions.shared.resources-config.schemas\";\nimport { agentWorkDecisionContentsPolymorphicDeclaration, agentWorkDecisionsPolymorphicDeclaration } from \"../flows-actors/agent-work-decisions.shared.schemas\";\nimport { retentionEnforcementRecordsResourceConfiguration_InitializationFactory } from \"../compliance/privacy/retention-enforcement-records.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\";\nimport { userGovernedDocumentAcceptancesResourceConfiguration_InitializationFactory } from \"../compliance/documents/user-governed-document-acceptances.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 { siemDeliveryOutboxPolymorphicFactories } from \"../security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas\";\nimport { siemDeliveryOutboxPolymorphicDeclaration } from \"../security/authentications/siem/siem-delivery-outbox.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 { inboundDeliveryPolymorphicFactories } from \"../inbound/inbound-delivery.shared.resources-config.schemas\";\nimport { inboundDeliveryPolymorphicDeclaration } from \"../inbound/inbound-delivery.shared.schemas\";\nimport {\n conversationMessagesResourceConfiguration_InitializationFactory,\n conversationReplyTokensResourceConfiguration_InitializationFactory,\n conversationThreadsResourceConfiguration_InitializationFactory,\n} from \"../inbound/conversation-threads.shared.resources-config.schemas\";\nimport {\n clientMailboxesResourceConfiguration_InitializationFactory,\n inboundAddressTombstonesResourceConfiguration_InitializationFactory,\n inboundEmailsResourceConfiguration_InitializationFactory,\n organizationEmailDomainsResourceConfiguration_InitializationFactory,\n} from \"../notifications/inbound-email/inbound-email.shared.resources-config.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\";\nimport { GuidanceStateUtils } from \"../guidance/guidance-state.shared.utils\";\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 // An ORGANIZATION-scoped enterprise identity link dies with its organization.\n //\n // Before this edge, the link's only parent was its user, and `organizationId` was a bare foreign\n // key. The organization purge deletes by the `onParentDelete` cascade and by nothing else, so every\n // member's enterprise link outlived the tenant. The one cleanup that did exist, the AUTH-13 postfix\n // on SSO connection DELETE, never runs there: the cascade deletes a connection through its\n // repository, which bypasses service-tier hooks. The dead link then read as a live membership to\n // the cross-organization SSO guard, which refused that person's enterprise sign-in into EVERY other\n // organization for good. Measured 2026-09-21: 19 such links on one account, and the `saml` e2e lane\n // refused from its second run on (#1448).\n //\n // Non-primary and STANDALONE, the ORGANIZATION_MEMBERS teardown-anchor pattern: USERS stays the\n // primary scope (the owner-only access filter and the subject-erasure classification are unchanged),\n // no URL surface is added, and the link is never context-fetched. An APPLICATION-scoped link carries\n // no `organizationId`, so this edge never selects it.\n //\n // Fires at PURGE, like every other organization child, never at the soft-delete mark: a restored\n // tenant keeps its members' links.\n //\n // OPTIONAL parent: a social link, and an application-scoped enterprise link, carry no\n // `organizationId`, and the schema declares it optional. The persistence converter refuses a\n // relationship whose requirement disagrees with the schema path.\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.USER_IDENTITY_LINKS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n isPrimaryScope: false,\n parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n foreignKeyField: 'organizationId',\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 // Link Users to UserGovernedDocumentAcceptances (1:N — one row per accepted release, #1258).\n //\n // KEPT when the user goes, deliberately: `onParentDelete` is DISABLED, the same answer the billing\n // family gives below and for the same reason — the row is EVIDENCE of an act, and the erasure right\n // does not reach what is needed to establish or defend a legal claim (GDPR Art. 17(3)(e)). A\n // contract acceptance is exactly that: the operator's answer to \"did this person agree to these\n // terms, which version, and when?\".\n // spec-cite: Regulation (EU) 2016/679, Art. 17(3)(e) (https://gdpr-info.eu/art-17-gdpr/).\n //\n // Why NOT `retentionPolicy` + `IMPERSONALIZE_AND_RETAIN`: the row holds no personal data of its own\n // (every value describes the account's contractual standing, with the person as a foreign key), so\n // there is nothing to scrub, and the retaining EDGE strategy is declared nowhere in this file — the\n // billing note records that its one declared scrub is wired to nothing. Evidence should not rest on\n // an unexercised path. The erased person's own identity is impersonalized on the USERS row; this row\n // then points at a pseudonymous account, which is what makes keeping it proportionate.\n //\n // STANDALONE + `contextPolicy: { enabled: false }`: no URL surface and never fetched through context.\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.USER_GOVERNED_DOCUMENT_ACCEPTANCES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } },\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 // REFUSE_WHILE_CHILDREN_EXIST: deleting an interior node would strand its subtree behind a dangling\n // `parentUnitId` and a stale materialized `path`, and hard-deleting the subtree behind a single-node\n // DELETE is a worse default than asking. The operator re-parents each child with MOVE, or deletes\n // the subtree bottom-up. A tenant purge still removes every unit through the ORGANIZATIONS edge.\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 childOperations: { lifecycle: { onParentDelete: { enabled: true, strategy: ChildLifecycleStrategy.REFUSE_WHILE_CHILDREN_EXIST } } },\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 → … makes an assignment a dependent the unit DELETE refuses on\n // (REFUSE_WHILE_CHILDREN_EXIST). While unit assignment lived in an embedded array it was not\n // a registered relationship and not portably queryable, so a dependents check would have\n // failed open on PostgreSQL. As a real edge it is refused on like any other.\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 // REFUSE_WHILE_CHILDREN_EXIST, mirroring the unit tree's own delete policy: a unit DELETE is\n // refused while assignments remain (the operator decides where an orphaned assignment belongs)\n // rather than silently dropping people's roles behind a single-node delete. Tearing down the\n // 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 childOperations: { lifecycle: { onParentDelete: { enabled: true, strategy: ChildLifecycleStrategy.REFUSE_WHILE_CHILDREN_EXIST } } },\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 // ── LEGAL HOLDS (#1634) ──────────────────────────────────────────────\n //\n // Stored in the tenant it holds, so the tenant sees every hold on its data. REFERENCE with the teardown\n // cascade DISABLED: a hold is the operator's defence evidence and outlives a purged tenant until its\n // AUDIT_LOGS period (counted from release) ends. An ACTIVE hold stops the purge outright.\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.LEGAL_HOLDS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.REFERENCE,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } },\n foreignKeyField: 'organizationId',\n }\n ),\n // The three people a hold names. REFERENCE + STANDALONE, never a teardown: erasing the placer, the\n // releaser or the held person leaves the hold exactly as it is (RETAINED_BY_DECLARATION).\n ...(['placedByUserId', 'releasedByUserId', 'subjectUserId'] as const).map((foreignKeyField) => createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.LEGAL_HOLDS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField,\n parentResourceRequirement: foreignKeyField === 'placedByUserId'\n ? ResourceParentResourceRequirement.MANDATORY\n : ResourceParentResourceRequirement.OPTIONAL,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } },\n contextPolicy: { enabled: false },\n }\n )),\n // ── SERVICE-PROVIDER RELATIONSHIPS (#1597) ──────────────────────────\n //\n // Three COMPOSITION children, each of the organization it is stored in: the relationship of the\n // CLIENT (the party that controls it), the engagement mirror and the assignments of the FIRM. The\n // other tenant is named by a plain id on each row and never by an edge — a navigable relationship\n // from one tenant's row into another tenant is exactly what this model refuses to create.\n // Purged with their organization; never seeded on create.\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.SERVICE_PROVIDER_RELATIONSHIPS,\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: 'organizationId',\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.SERVICE_ENGAGEMENTS,\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: 'organizationId',\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.SERVICE_ENGAGEMENT_ASSIGNMENTS,\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: 'organizationId',\n }\n ),\n // The assignment's engagement is in the SAME (firm) tenant, so it is a real edge. REFERENCE +\n // STANDALONE: an assignment is addressed under its organization, and ending an engagement ENDS its\n // assignments (status) rather than deleting the evidence of who served the client.\n createResourcesRelationship(\n CoreResourceType.SERVICE_ENGAGEMENTS, CoreResourceType.SERVICE_ENGAGEMENT_ASSIGNMENTS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'serviceEngagementId',\n parentResourceRequirement: ResourceParentResourceRequirement.MANDATORY,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } },\n contextPolicy: { enabled: false },\n }\n ),\n // The expert. REFERENCE + STANDALONE, copied from `USERS → PLATFORM_ACCESS_GRANTS`: addressed under\n // the organization, never under the user.\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.SERVICE_ENGAGEMENT_ASSIGNMENTS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'userId',\n parentResourceRequirement: ResourceParentResourceRequirement.MANDATORY,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } },\n contextPolicy: { enabled: false },\n }\n ),\n // ── SERVICE-PROVIDER ACTIVITY FEED (#1632) ──────────────────────────\n //\n // Both stored in the PROVIDER organization it is about, and purged with it. The client an entry names is a\n // plain id, never an edge, for the same reason as the relationship's. The expert is a REFERENCE + STANDALONE\n // edge, like the assignment's: addressed under the organization, never under the user, and an erasure of the\n // expert freezes their entries (RETAIN_ONLY) rather than deleting the firm's record.\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.SERVICE_PROVIDER_ACTIVITY_FEED_SETTINGS,\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: 'organizationId',\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.SERVICE_PROVIDER_ACTIVITY_FEED,\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: 'organizationId',\n }\n ),\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.SERVICE_PROVIDER_ACTIVITY_FEED,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'expertUserId',\n parentResourceRequirement: ResourceParentResourceRequirement.MANDATORY,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } },\n contextPolicy: { enabled: false },\n }\n ),\n // ── DELEGATED CAPABILITIES (#1631) ──────────────────────────────────\n //\n // A grant lives in the CLIENT organization that lends it, and is purged with it. Its relationship is in the SAME\n // (client) tenant, so it is a real edge — REFERENCE + STANDALONE, like the assignment's engagement: a grant is\n // addressed under its organization, and a relationship that ends REVOKES its grants (status) rather than\n // deleting the evidence of what the firm could administer.\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.SERVICE_PROVIDER_CAPABILITY_GRANTS,\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: 'organizationId',\n }\n ),\n createResourcesRelationship(\n CoreResourceType.SERVICE_PROVIDER_RELATIONSHIPS, CoreResourceType.SERVICE_PROVIDER_CAPABILITY_GRANTS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'relationshipId',\n parentResourceRequirement: ResourceParentResourceRequirement.MANDATORY,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } },\n contextPolicy: { enabled: false },\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 // ── SYSTEM-OF-RECORD PARTITION ASSIGNMENTS ───────────────────────────\n //\n // Which organization UNIT a remote partition belongs to — the edge that makes unit narrowing\n // reach a read-through resource. Three parents, and each is a REFERENCE for a different reason.\n //\n // The DEPLOYMENT, carrying the primary scope. Same shape as APPLICATION -> APPLICATION_ACCESS_GRANTS\n // and for the same measured reason: OPTIONAL + REQUIRES_CONTEXT + `isPrimaryScope`, because\n // declaring it MANDATORY makes the ZodToMongoose convertor refuse the resource outright and INIT\n // dies on a Mongo-persisted deployment. Addressing is carried by `isPrimaryScope` +\n // REQUIRES_CONTEXT, which is what the URL builder reads, so the route is identical either way.\n // No `onParentDelete`: the APPLICATION row is the deployment itself and is not purged.\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.SYSTEM_OF_RECORD_PARTITION_ASSIGNMENTS,\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 UNIT the partition is confined to — the first edge in this registry from a non-org-scoped\n // resource to ORGANIZATION_UNITS, so what it does and does not buy is stated rather than assumed.\n //\n // STANDALONE, because the assignment is addressed under the APPLICATION and never under a unit:\n // an operator works from the partition map, not from the org chart.\n //\n // ⚠️ The FK buys EXISTENCE and nothing more. No relationship factory validates scope\n // compatibility, and an APPLICATION-scoped row written by a super-administrator resolves\n // `writeTenantId === ''` in the write-integrity check — so this edge cannot also assert that the\n // unit belongs to the OWNER organization or that it is ACTIVE. Both are checked in the custom\n // implementation through the system door against the owner-organization resolver, and pinned\n // there. Reading this edge as a tenant check is the mistake it is written to prevent.\n //\n // `onParentDelete.enabled: false` states the survival explicitly rather than inheriting it. A\n // cascade would be actively wrong: deleting a unit would silently unassign its partitions, and an\n // unassigned partition is invisible to EVERY caller — an org-chart edit would quietly remove a\n // company from the product. The unit DELETE guard refuses instead, which is the same answer that\n // resource already gives for its own child units.\n createResourcesRelationship(\n CoreResourceType.ORGANIZATION_UNITS, CoreResourceType.SYSTEM_OF_RECORD_PARTITION_ASSIGNMENTS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'organizationUnitId',\n parentResourceRequirement: ResourceParentResourceRequirement.MANDATORY,\n /*\n * REFUSE_WHILE_CHILDREN_EXIST — and a CASCADE here would be the worst available default.\n *\n * Deleting a unit that still names partitions would silently UNASSIGN them, and an\n * unassigned partition is invisible to EVERY caller — an organization-wide administrator\n * included, because their entitlement is \"every partition the operator ASSIGNED, and no\n * others\". An ordinary org-chart edit would withdraw a company from the product, and the\n * symptom (\"the German invoices are gone\") arrives far from the delete that caused it.\n *\n * This posture was carried by a hand-written DELETE-prefix guard until `f4175a240`\n * replaced two such guards with this declaration — rightly, since a hand-written guard is\n * registered on one variant and invisible to the bulk path.\n *\n * The declaration did not reach a REFERENCE edge until #1485: the coherence check read\n * `enabled === true` without reading `strategy`, so the one strategy that ASSERTS the\n * child is independent was barred from the one nature that declares it. REFERENCE stays\n * correct here — an assignment is not composed by a unit, it is an APPLICATION-scoped row\n * that references one — and widening the nature to reach the mechanism would have been\n * choosing the wrong semantics.\n */\n childOperations: { lifecycle: { onParentDelete: { enabled: true, strategy: ChildLifecycleStrategy.REFUSE_WHILE_CHILDREN_EXIST } } },\n contextPolicy: { enabled: false },\n }\n ),\n // The OPERATOR who last assigned or moved the partition. REFERENCE with no cascade, on the\n // access-grant precedent and for its reason: making a user the owner resolves `lifecycleModelMode`\n // to DEPENDENT, which is the value `classifySubjectErasureDisposition` reads — a user erasure would\n // then own the row's fate, and an operator leaving must not silently unassign the companies they\n // configured. The row is RETAIN_AND_IMPERSONALIZE precisely so the configuration survives the\n // person while their prose does not.\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.SYSTEM_OF_RECORD_PARTITION_ASSIGNMENTS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'assignedByUserId',\n // OPTIONAL because the field is `.optional()`: a row seeded by a lane with no session\n // carries none, and MANDATORY would assert an operator every assignment must have.\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: 'applicationId',\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: 'applicationId',\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, plus one APP-only blocker: APPLICATION rows are\n // provisioned via the platform CLI / apps-manager bootstrap, not the engine\n // handler.create → executePostOperationLogic, so the seed hook never fires on real app\n // provisioning.\n //\n // THE FK IS `applicationId`, AND IT MUST STAY THAT NAME. This edge and its two siblings\n // (APPLICATION_METADATA, APPLICATION_VERSIONS) declared `appId` until 2026-09-18. That\n // is not a distinct ROLE the way `assignedToUserId` is — it is the application itself,\n // spelled differently from the APPLICATION scope's registered field identifier — and\n // every mechanism keyed on that identifier therefore skipped these three resources:\n //\n // • CONTEXT_AUTO_POPULATED_FIELD_IDENTIFIERS did not carry it, so createAsSystem's\n // name-based preserve-list stripped it and a seed wrote an orphan row;\n // • the URL builder read a non-standard FK as a custom relationship PREFIX, so the\n // route became `/app-applications/{appId}/application-versions` (measured: that\n // path answers 200 and nothing addresses it) instead of nesting under\n // `/applications/{applicationId}`;\n // • and the frontend, whose resource context carries `applicationId`, could not\n // satisfy a required param named `appId`. Three Administration settings panes —\n // General, Versions, Entitlements — issued NO REQUEST AT ALL and rendered their\n // failure state, which is indistinguishable from a backend outage.\n //\n // The last one is why this is recorded here rather than in a changelog: the divergence\n // was noticed twice and written down twice (in this comment's previous text, and in\n // `resources-config-operations.urls-builder.utils.ts`, which called it \"7 phantom\n // combinations […] nobody had noticed because nothing called it\"). Naming an invariant\n // is not upholding it. A non-standard `foreignKeyField` is a claim that the edge means\n // something other than plain ownership; do not spell one differently for brevity.\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n foreignKeyField: 'applicationId',\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 it is what destroys a person's credentials, on BOTH paths that remove a person: the\n * delete cascade when the USERS row is deleted, and a subject erasure, which KEEPS the\n * (scrubbed) USERS row and so reads this edge's `strategy` instead. A secret is not\n * pseudonymised, it is destroyed.\n *\n * `strategy: DELETE` is AUTHORED, not left to the default, and that is the fix for #1569.\n * The credential resource used to declare `retentionPolicy: RETAIN_ONLY`; once #1279 made a\n * silent edge honour the child's retention declaration, every erasure kept the person's\n * third-party tokens in place and reported them \"retained by declaration\". The retention\n * policy is gone, and naming DELETE here means that if anyone re-adds one, the erasure\n * refuses the contradiction loudly (`findSubjectErasureRetentionContradictedEdges`) instead\n * of quietly keeping the credentials again.\n *\n * A 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: {\n lifecycle: {\n onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1, strategy: ChildLifecycleStrategy.DELETE },\n },\n },\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 // Off the context surface entirely (#583), as on the APPLICATION and USERS edges above. With\n // READ still enabled, an organization context read embedded the tenant's WHOLE audit history\n // — 143 rows on a two-week-old dogfood tenant, monotonically growing, on an interactive\n // path. An audit row is not ambient context; the Audit Log Viewer pages this edge's LIST.\n contextPolicy: { enabled: false },\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 // Retention-enforcement records (#1636): application-wide, routed under the application for the\n // administration console, and the SAME shape as the audit door above for the same reasons — the edge\n // is an address (primary scope + REQUIRES_CONTEXT), OPTIONAL so the Mongo convertor accepts the column,\n // and `contextPolicy` disabled because a record must never be fetched as ambient context.\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.RETENTION_ENFORCEMENT_RECORDS,\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 // `strategy: DELETE` is AUTHORED (#1569): a subject erasure keeps the scrubbed USERS row and\n // reads this strategy, so an erased person's unread counters are destroyed. Naming it means a\n // retention policy re-added to the badge resource is refused as a contradiction\n // (`findSubjectErasureRetentionContradictedEdges`) instead of quietly keeping the rows.\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1, strategy: ChildLifecycleStrategy.DELETE } } },\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 // Provider-call records: the same internal, application-primary shape as the queue records above.\n // STANDALONE keeps them off URL routing; nothing reaches them except the recorder and the evidence door.\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.PROVIDER_CALL_RECORDS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n isPrimaryScope: true,\n nature: RelationshipNature.REFERENCE,\n contextPolicy: { enabled: false }\n }\n ),\n // Model-call attributions and model-cost period aggregates (#1598): application-primary and route-less,\n // like the provider-call records above. Their organization edges are below, with the teardown decision.\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.MODEL_CALL_ATTRIBUTIONS,\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.MODEL_COST_PERIOD_AGGREGATES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n // REQUIRES_CONTEXT, like the retention enforcement records: the billing flow reads and links\n // aggregates at `/applications/{applicationId}/…`, and the per-row APPLICATION authorization compares\n // the row's `applicationId` with that URL's. A STANDALONE edge gave the route no application, so\n // every READ and `link_invoice` was refused, super-administrator included (#1598, found live).\n isPrimaryScope: true,\n foreignKeyField: 'applicationId',\n /*\n * MANDATORY, matching the schema: every row is written with the application's canonical id, and\n * `applicationId` is required there. The edge used to say OPTIONAL (copying the retention-enforcement\n * records, whose rows may lack one) while the schema kept it required, and the Mongo convertor refuses\n * a relationship FK whose requiredness disagrees with its schema path — so on a Mongo-persisted platform\n * INIT died on `zod_converter_schema_conversion_failed` (framework 1.1.6, first fresh `wildo local dev`).\n * PostgreSQL keeps the schema's own nullability for an authored FK, so its plan does not change.\n */\n parentResourceRequirement: ResourceParentResourceRequirement.MANDATORY,\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.REQUIRES_CONTEXT,\n nature: RelationshipNature.REFERENCE,\n contextPolicy: { enabled: false }\n }\n ),\n // A tenant's attribution rows die with the tenant (Paul Q2 on #1598): COMPOSITION + the purge's cascade,\n // the USER_IDENTITY_LINKS teardown-anchor shape (non-primary, STANDALONE, OPTIONAL: an unattributed row\n // carries no organizationId). The organization DELETE's prefix closes the open cost period into an\n // aggregate BEFORE this cascade runs, so no cost is lost with the rows.\n //\n // assurance-control: WILDO.PRIVACY.ERASURE_PROPAGATION — detail rows are deleted with their tenant.\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.MODEL_CALL_ATTRIBUTIONS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n isPrimaryScope: false,\n parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n foreignKeyField: 'organizationId',\n contextPolicy: { enabled: false }\n }\n ),\n // An aggregate is NOT torn down by the cascade: the organization DELETE's prefix deletes the tenant's\n // UNLINKED aggregates itself, and an aggregate an invoice bills outlives the tenant for its statutory\n // BUSINESS_RECORDS period (GDPR Art. 17(3)(b)). A REFERENCE edge with the cascade disabled, the billing\n // family's answer for records kept past their scope.\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.MODEL_COST_PERIOD_AGGREGATES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n isPrimaryScope: false,\n nature: RelationshipNature.REFERENCE,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } },\n foreignKeyField: 'organizationId',\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 // Agent-work decisions and their content (#1599), owned by the same three scopes as the executions they record\n // decisions on. COMPOSITION + cascade: a scope's records go with the scope, like its conversations. The metadata\n // is kept for AUDIT_LOGS while the scope exists; an erasure severs the decider and scrubs the content.\n ...createPolymorphicScopeRelationships(agentWorkDecisionsPolymorphicDeclaration, {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: { enabled: false },\n }),\n ...createPolymorphicScopeRelationships(agentWorkDecisionContentsPolymorphicDeclaration, {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: { enabled: false },\n }),\n // The organization's two agent-work settings (singletons) and its export ledger (#1599), torn down with it.\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.AGENT_WORK_CAPTURE_SETTINGS,\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 contextPolicy: { enabled: false },\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.EVALUATION_EXPORT_AUTHORIZATIONS,\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 contextPolicy: { enabled: false },\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.EVALUATION_DATASET_EXPORTS,\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 contextPolicy: { enabled: false },\n }\n ),\n\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 closed at runtime by declaration:\n // each `BillingAccounts → <child>` edge below declares `onParentDelete.strategy:\n // REFUSE_WHILE_CHILDREN_EXIST`, so the service tier refuses the account's DELETE with 409\n // `RESOURCE_HAS_DEPENDENTS` while any retained child still references it, before anything is\n // written. The scope edges stay `enabled: false`: those rows must outlive their scope.\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: true, strategy: ChildLifecycleStrategy.REFUSE_WHILE_CHILDREN_EXIST } } }, // RESTRICT: the account may not be deleted while these retained rows reference it — 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 none of the 16 edges below cascades (4 families × 2 parents × 2 scope variants): the scope\n // edges DISABLE `onParentDelete`, and the billing-account edges declare REFUSE_WHILE_CHILDREN_EXIST\n // so the account cannot be deleted out from under them. These are the entries formerly tracked as\n // `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.\n //\n // ## DECIDED 2026-09-17 (#1208), and the SECOND reason this used to give is now FALSE\n //\n // It said \"a billing row holds no personal data of its own (no name, email or address; the person\n // is a foreign key), so there is nothing on it to scrub\". That has not been true since\n // `invoice-ref.shared.schemas.ts` gained `hostedInvoiceUrl` and `invoicePdfUrl`, which\n // `addImpersonalizeWith(..., REMOVE)` marks precisely BECAUSE they address provider-hosted\n // documents carrying the person's name and billing address. A blanket \"no personal data here\" is\n // the kind of claim that stops being checked once it is written down.\n //\n // The conclusion survives on the FIRST reason alone, and the external norms point the same way:\n //\n // - The erasure right does not reach these records. GDPR Art. 17(3)(b) excepts processing\n // \"necessary for compliance with a legal obligation which requires processing by Union or\n // Member State law to which the controller is subject\", which is what a statutory invoice\n // retention period is.\n // spec-cite: Regulation (EU) 2016/679, Art. 17(3)(b) (https://gdpr-info.eu/art-17-gdpr/).\n // - The record must stay COMPLETE, not scrubbed. An invoice is legally required to carry \"the\n // full name and address of the taxable person and of the customer\", so the identifying data is\n // mandated CONTENT rather than something incidental that may be removed; and every taxable\n // person must store their invoices for a period each Member State sets.\n // spec-cite: Council Directive 2006/112/EC, Art. 226 (invoice content) and Arts. 244/247\n // (storage and period).\n // - Scrubbing our URL removes a POINTER, never the document. The invoice itself lives at the\n // payment provider, which retains it under its own obligation and offers its own redaction —\n // so dropping the link costs the operator the ability to open their own invoice and gains the\n // data subject nothing the controller does not still hold.\n //\n // Storage limitation is therefore satisfied by the retention SCHEDULE (the period a class\n // declares), not by an erasure — which is the split `retention-schedule.shared.schemas.ts` already\n // draws between WHAT erasure does to a row and HOW LONG a row is kept.\n //\n // ## The declared treatments are currently UNREACHABLE, which is the live half of #1208\n //\n // `retentionPolicy` is the RESOURCE-level opt-in; the per-EDGE trigger is\n // `onParentDelete.strategy: IMPERSONALIZE_AND_RETAIN`, and the ONLY occurrence of that member in\n // this file is the sentence above explaining why it is not used. So no billing row is ever marked\n // RETAINED and the invoice-ref scrub never runs: after an erasure those two URLs are intact.\n //\n // That is the opposite of what #1208 feared — the risk was never that an erased customer's\n // invoices would vanish from accounting, it is that a scrub was declared, reasoned about, and\n // wired to nothing. Removing `retentionPolicy` from the five billing resources is the follow-\n // through; it is left out of this change because it also withdraws derived `seeRetained` grants\n // and would orphan the `addImpersonalizeWith` treatments, which is a config-build question rather\n // than a documentation one.\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 billing edges, none of which cascades). 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: true, strategy: ChildLifecycleStrategy.REFUSE_WHILE_CHILDREN_EXIST } } }, // RESTRICT: the account may not be deleted while these retained rows reference it — 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: true, strategy: ChildLifecycleStrategy.REFUSE_WHILE_CHILDREN_EXIST } } }, // RESTRICT: the account may not be deleted while these retained rows reference it — 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: true, strategy: ChildLifecycleStrategy.REFUSE_WHILE_CHILDREN_EXIST } } }, // RESTRICT: the account may not be deleted while these retained rows reference it — 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 // `strategy: DELETE` is AUTHORED (#1569): an erasure keeps the scrubbed USERS row and reads\n // this strategy, so an erased person's entitlement overrides are destroyed; a retention\n // policy re-added to USER_FEATURES is then refused as a contradiction rather than obeyed.\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1, strategy: ChildLifecycleStrategy.DELETE } } },\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 are ROUTED under the organization that issued them (#1802).\n //\n // The row belongs to its referrer, and only an organization can refer: its `organizationId` is the\n // referrer's tenant. Every door onto the resource is that organization's — ISSUE, CANCEL and the LIST the\n // `organization-referrals` settings page reads — and each authorizes as that organization's owner, so the\n // organization must be in the route (`/organizations/{organizationId}/referrals/…`).\n //\n // This edge was a STANDALONE \"scope anchor\" until 2026-09-28, which kept the resource off the organization\n // URL surface: the routes mounted at `/api/v1/referrals/…`, no request could carry an organization, and every\n // one answered 403 — the settings page (#1295) and both referral verbs alike. A second edge could not make\n // this worse: the four billing-account edges below are STANDALONE references, so this is the only URL parent.\n //\n // The REFERRED side is not routed here, deliberately: a redemption is the new customer's act, and it is\n // `BillingAccount_Operations.REDEEM_REFERRAL` on that customer's own billing account.\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.REFERRALS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.REQUIRES_CONTEXT,\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 //\n // `initialData.override` because the SHAPE the two doors produce must match, and the\n // schema defaults alone cannot produce it. The lazy doors persist\n // `createInitialScopedLifecycleState` — `stageHistory: [{ SIGNED_UP, … }]`,\n // `stagesVisited: [SIGNED_UP]` — while this eager door wrote the schema defaults,\n // `[]` and `[]`. The eager door is the one that runs in production, so the lazy pair's\n // shape was only ever written when THIS one had failed.\n //\n // The consequence is `hasReachedStage`, whose own JSDoc says it exists \"for reliable\n // stage visitation checks\": after the first transition `stagesVisited` read\n // `[ACTIVATED]`, so it answered FALSE for SIGNED_UP — a stage the subject demonstrably\n // passed — and the transition audit trail started one entry short.\n //\n // The values come from the same named source the lazy doors use, so there is still one\n // shape. It is NOT moved into the schema defaults: `stageHistory` carries\n // `RedactionType.RESET`, so a dynamic default would be written BY an erasure — the\n // hazard `lastActiveAt` names one field below — re-asserting a SIGNED_UP entry stamped\n // at erasure time. Seeding and the erasure default are different questions.\n childOperations: {\n lifecycle: {\n onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 },\n onParentCreate: {\n enabled: true,\n initialData: {\n override: () => {\n const initial = GuidanceStateUtils.createInitialLifecycleState();\n return { stageHistory: initial.stageHistory, stagesVisited: initial.stagesVisited };\n },\n },\n },\n },\n },\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 — the\n // genuine latent gap (no READ self-heal); the evaluator read-then-creates so no dup.\n //\n // `initialData.override` because the SHAPE the two doors produce must match, and the\n // schema defaults alone cannot produce it. The lazy doors persist\n // `createInitialScopedLifecycleState` — `stageHistory: [{ SIGNED_UP, … }]`,\n // `stagesVisited: [SIGNED_UP]` — while this eager door wrote the schema defaults,\n // `[]` and `[]`. The eager door is the one that runs in production, so the lazy pair's\n // shape was only ever written when THIS one had failed.\n //\n // The consequence is `hasReachedStage`, whose own JSDoc says it exists \"for reliable\n // stage visitation checks\": after the first transition `stagesVisited` read\n // `[ACTIVATED]`, so it answered FALSE for SIGNED_UP — a stage the subject demonstrably\n // passed — and the transition audit trail started one entry short.\n //\n // The values come from the same named source the lazy doors use, so there is still one\n // shape. It is NOT moved into the schema defaults: `stageHistory` carries\n // `RedactionType.RESET`, so a dynamic default would be written BY an erasure — the\n // hazard `lastActiveAt` names one field below — re-asserting a SIGNED_UP entry stamped\n // at erasure time. Seeding and the erasure default are different questions.\n childOperations: {\n lifecycle: {\n onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 },\n onParentCreate: {\n enabled: true,\n initialData: {\n override: () => {\n const initial = GuidanceStateUtils.createInitialLifecycleState();\n return { stageHistory: initial.stageHistory, stagesVisited: initial.stagesVisited };\n },\n },\n },\n },\n },\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). Off the context surface (#583): a dead-letter\n // queue is append-only and grows without bound during a SIEM outage, exactly when a scope's context\n // read must stay cheap. Operators page it through its own LIST.\n ...createPolymorphicScopeRelationships(siemDeliveryDlqPolymorphicDeclaration, {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: { enabled: false },\n }),\n\n // SIEM Delivery Outbox — collection (MANY per scope). Off the context surface for the SAME reason\n // as the DLQ above and one more: these rows are machinery in flight, claimed and deleted by the\n // collector within a window, so a context read would carry a set that is stale by the time it is\n // read. Cascades on scope delete like its sibling — a tenant that is gone has nothing left to export.\n ...createPolymorphicScopeRelationships(siemDeliveryOutboxPolymorphicDeclaration, {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: { enabled: false },\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). Off the context surface entirely (#583):\n // one row per delivery attempt, unbounded, and READ used to embed all of them. Admins query it via\n // the 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: { enabled: false },\n }),\n\n // Inbound deliveries (#1596) — collection, MANY per scope, off the context surface for the same reason\n // as the outbound log. COMPOSITION + IMMEDIATE: a delivery's payload is its organization's data, so it\n // is erased with the organization rather than outliving it in the application variant.\n ...createPolymorphicScopeRelationships(inboundDeliveryPolymorphicDeclaration, {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: { enabled: false },\n }),\n // ── CONVERSATION THREADS (#1630) ─────────────────────────────────────\n //\n // All three are the organization's, purged with it. Reply tokens are COMPOSITION children of their\n // thread (deleted with it); messages only REFERENCE it (see that edge). Both are addressed under the\n // organization with the thread as an optional context — the ORGANIZATION_MEMBERS →\n // ORGANIZATION_UNIT_MEMBERS shape.\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.CONVERSATION_THREADS,\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: 'organizationId',\n contextPolicy: { enabled: false },\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.CONVERSATION_MESSAGES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n // IMPERSONALIZE_AND_RETAIN, never silent (#1635): messages keep a statutory ground, and a silent edge is\n // DELETE on a parent delete — the tenant purge would destroy correspondence the law requires kept. Retained,\n // they stay restricted until their BUSINESS_RECORDS period ends and the retention-class sweep deletes them.\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, strategy: ChildLifecycleStrategy.IMPERSONALIZE_AND_RETAIN, maxDepth: 1 } } },\n foreignKeyField: 'organizationId',\n contextPolicy: { enabled: false },\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.CONVERSATION_REPLY_TOKENS,\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: 'organizationId',\n contextPolicy: { enabled: false },\n }\n ),\n // A REFERENCE, not a composition: a message is a business letter a statute keeps on its own clock\n // (#1635), and deleting the thread — correlation, kept for a shorter period — must never take it along.\n // The engagement → assignment precedent above: ending the parent leaves the evidence standing.\n createResourcesRelationship(\n CoreResourceType.CONVERSATION_THREADS, CoreResourceType.CONVERSATION_MESSAGES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'threadId',\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.OPTIONAL_CONTEXT,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } },\n contextPolicy: { enabled: false },\n }\n ),\n createResourcesRelationship(\n CoreResourceType.CONVERSATION_THREADS, CoreResourceType.CONVERSATION_REPLY_TOKENS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n nature: RelationshipNature.COMPOSITION,\n foreignKeyField: 'threadId',\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.OPTIONAL_CONTEXT,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: { enabled: false },\n }\n ),\n // ── RECEIVING EMAIL (#1600) ──────────────────────────────────────────\n //\n // The three organization-scoped resources are the organization's. The organization-deletion hook reads the\n // domains BEFORE this cascade runs, so the provider's copies are deleted too (E9).\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.INBOUND_EMAILS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n // IMPERSONALIZE_AND_RETAIN, as for conversation messages (#1635): a received letter keeps a statutory\n // ground, so the tenant purge keeps it restricted until its BUSINESS_RECORDS period ends and the\n // retention-class sweep deletes it — its raw MIME and attachment files with it.\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, strategy: ChildLifecycleStrategy.IMPERSONALIZE_AND_RETAIN, maxDepth: 1 } } },\n foreignKeyField: 'organizationId',\n contextPolicy: { enabled: false },\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_EMAIL_DOMAINS,\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: 'organizationId',\n contextPolicy: { enabled: false },\n }\n ),\n // The CLIENT organization owns its mailboxes. The firm's domain is named by a plain id, never an edge:\n // a navigable edge from one tenant's row into another tenant's is what the model refuses.\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.CLIENT_MAILBOXES,\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: 'organizationId',\n contextPolicy: { enabled: false },\n }\n ),\n // Application-wide, the retention-enforcement records shape: an address, never ambient context.\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.INBOUND_ADDRESS_TOMBSTONES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n isPrimaryScope: true,\n foreignKeyField: 'applicationId',\n /*\n * MANDATORY, matching the schema: every row is written with the application's canonical id, and\n * `applicationId` is required there. The edge used to say OPTIONAL (copying the retention-enforcement\n * records, whose rows may lack one) while the schema kept it required, and the Mongo convertor refuses\n * a relationship FK whose requiredness disagrees with its schema path — so on a Mongo-persisted platform\n * INIT died on `zod_converter_schema_conversion_failed` (framework 1.1.6, first fresh `wildo local dev`).\n * PostgreSQL keeps the schema's own nullability for an authored FK, so its plan does not change.\n */\n parentResourceRequirement: ResourceParentResourceRequirement.MANDATORY,\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.REQUIRES_CONTEXT,\n nature: RelationshipNature.REFERENCE,\n contextPolicy: { enabled: false },\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.LEGAL_HOLDS]: legalHoldsResourceConfiguration_InitializationFactory,\n [CoreResourceType.SERVICE_PROVIDER_RELATIONSHIPS]: serviceProviderRelationshipsResourceConfiguration_InitializationFactory,\n [CoreResourceType.SERVICE_ENGAGEMENTS]: serviceEngagementsResourceConfiguration_InitializationFactory,\n [CoreResourceType.SERVICE_ENGAGEMENT_ASSIGNMENTS]: serviceEngagementAssignmentsResourceConfiguration_InitializationFactory,\n [CoreResourceType.SERVICE_PROVIDER_ACTIVITY_FEED_SETTINGS]: serviceProviderActivityFeedSettingsResourceConfiguration_InitializationFactory,\n [CoreResourceType.SERVICE_PROVIDER_ACTIVITY_FEED]: serviceProviderActivityFeedResourceConfiguration_InitializationFactory,\n [CoreResourceType.SERVICE_PROVIDER_CAPABILITY_GRANTS]: serviceProviderCapabilityGrantsResourceConfiguration_InitializationFactory,\n [CoreResourceType.APPLICATION_ACCESS_GRANTS]: applicationAccessGrantsResourceConfiguration_InitializationFactory,\n [CoreResourceType.SYSTEM_OF_RECORD_PARTITION_ASSIGNMENTS]: systemOfRecordPartitionAssignmentsResourceConfiguration_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 [CoreResourceType.PROVIDER_CALL_RECORDS]: providerCallRecordsResourceConfiguration_InitializationFactory,\n [CoreResourceType.MODEL_CALL_ATTRIBUTIONS]: modelCallAttributionsResourceConfiguration_InitializationFactory,\n [CoreResourceType.MODEL_COST_PERIOD_AGGREGATES]: modelCostPeriodAggregatesResourceConfiguration_InitializationFactory,\n // Agent-work decisions (#1599): the two polymorphic record families, and the organization's settings and ledger.\n ...agentWorkDecisionsPolymorphicFactories,\n ...agentWorkDecisionContentsPolymorphicFactories,\n [CoreResourceType.AGENT_WORK_CAPTURE_SETTINGS]: agentWorkCaptureSettingsResourceConfiguration_InitializationFactory,\n [CoreResourceType.EVALUATION_EXPORT_AUTHORIZATIONS]: evaluationExportAuthorizationsResourceConfiguration_InitializationFactory,\n [CoreResourceType.EVALUATION_DATASET_EXPORTS]: evaluationDatasetExportsResourceConfiguration_InitializationFactory,\n [CoreResourceType.RETENTION_ENFORCEMENT_RECORDS]: retentionEnforcementRecordsResourceConfiguration_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 [CoreResourceType.USER_GOVERNED_DOCUMENT_ACCEPTANCES]: userGovernedDocumentAcceptancesResourceConfiguration_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 ...siemDeliveryOutboxPolymorphicFactories,\n ...scimTokensPolymorphicFactories,\n ...scimProvisioningConfigPolymorphicFactories,\n\n // M2M Outbound Webhook Resources — polymorphic dual-scope (2 × 2 = 4 entries)\n ...webhookConfigPolymorphicFactories,\n ...m2mWebhookDeliveryLogPolymorphicFactories,\n\n // Inbound deliveries — polymorphic dual-scope (#1596)\n ...inboundDeliveryPolymorphicFactories,\n [CoreResourceType.CONVERSATION_THREADS]: conversationThreadsResourceConfiguration_InitializationFactory,\n [CoreResourceType.CONVERSATION_MESSAGES]: conversationMessagesResourceConfiguration_InitializationFactory,\n [CoreResourceType.CONVERSATION_REPLY_TOKENS]: conversationReplyTokensResourceConfiguration_InitializationFactory,\n [CoreResourceType.INBOUND_EMAILS]: inboundEmailsResourceConfiguration_InitializationFactory,\n [CoreResourceType.ORGANIZATION_EMAIL_DOMAINS]: organizationEmailDomainsResourceConfiguration_InitializationFactory,\n [CoreResourceType.CLIENT_MAILBOXES]: clientMailboxesResourceConfiguration_InitializationFactory,\n [CoreResourceType.INBOUND_ADDRESS_TOMBSTONES]: inboundAddressTombstonesResourceConfiguration_InitializationFactory,\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,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAC/F,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,EAAE,MAAM,oDAAoD,CAAC;AACzH,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0DAA0D,EAAE,MAAM,2DAA2D,CAAC;AACvI,OAAO,EAAE,2DAA2D,EAAE,MAAM,6DAA6D,CAAC;AAC1I,OAAO,EAAE,8DAA8D,EAAE,MAAM,gEAAgE,CAAC;AAChJ,OAAO,EAAE,sDAAsD,EAAE,MAAM,8DAA8D,CAAC;AACtI,OAAO,EAAE,uDAAuD,EAAE,MAAM,gEAAgE,CAAC;AACzI,OAAO,EAAE,2DAA2D,EAAE,MAAM,qEAAqE,CAAC;AAClJ,OAAO,EAAE,iEAAiE,EAAE,MAAM,4EAA4E,CAAC;AAC/J,OAAO,EAAE,8DAA8D,EAAE,MAAM,uEA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,GAAG,8BAA8B;IACjC,GAAG,0CAA0C;IAE7C,8EAA8E;IAC9E,GAAG,iCAAiC;IACpC,GAAG,yCAAyC;IAE5C,sDAAsD;IACtD,GAAG,mCAAmC;IACtC,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,EAAE,8DAA8D;IACvG,CAAC,gBAAgB,CAAC,qBAAqB,CAAC,EAAE,+DAA+D;IACzG,CAAC,gBAAgB,CAAC,yBAAyB,CAAC,EAAE,kEAAkE;IAChH,CAAC,gBAAgB,CAAC,cAAc,CAAC,EAAE,wDAAwD;IAC3F,CAAC,gBAAgB,CAAC,0BAA0B,CAAC,EAAE,mEAAmE;IAClH,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,EAAE,0DAA0D;IAC/F,CAAC,gBAAgB,CAAC,0BAA0B,CAAC,EAAE,mEAAmE;CACnH,CAAC","sourcesContent":["import { RelationshipNature, ResourceRelationship, ResourceRelationshipAccessScopeStrategy, ResourceRelationshipCardinality, ResourceParentResourceRequirement } from \"./resources.shared.schemas\";\nimport { ContextPolicy_ObjectMode } from \"./context-policy.shared.schemas\";\nimport { ChildLifecycleMode, ChildLifecycleStrategy } 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 { systemOfRecordPartitionAssignmentsResourceConfiguration_InitializationFactory } from '../systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas';\nimport { platformAccessGrantsResourceConfiguration_InitializationFactory } from '../security/authorizations/platform-access-grants.shared.resources-config.schemas';\nimport { legalHoldsResourceConfiguration_InitializationFactory } from '../compliance/privacy/legal-holds.shared.resources-config.schemas';\nimport {\n serviceEngagementAssignmentsResourceConfiguration_InitializationFactory,\n serviceEngagementsResourceConfiguration_InitializationFactory,\n serviceProviderRelationshipsResourceConfiguration_InitializationFactory,\n} from '../organizations/service-provider-relationships.shared.resources-config.schemas';\nimport {\n serviceProviderActivityFeedResourceConfiguration_InitializationFactory,\n serviceProviderActivityFeedSettingsResourceConfiguration_InitializationFactory,\n} from '../organizations/service-provider-activity-feed.shared.resources-config.schemas';\nimport { serviceProviderCapabilityGrantsResourceConfiguration_InitializationFactory } from '../organizations/service-provider-capability-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\";\nimport { providerCallRecordsResourceConfiguration_InitializationFactory } from \"../flows-actors/provider-call-records.shared.resources-config.schemas\";\nimport { modelCallAttributionsResourceConfiguration_InitializationFactory } from \"../flows-actors/model-call-attributions.shared.resources-config.schemas\";\nimport { modelCostPeriodAggregatesResourceConfiguration_InitializationFactory } from \"../flows-actors/model-cost-period-aggregates.shared.resources-config.schemas\";\nimport {\n agentWorkCaptureSettingsResourceConfiguration_InitializationFactory,\n agentWorkDecisionContentsPolymorphicFactories,\n agentWorkDecisionsPolymorphicFactories,\n evaluationDatasetExportsResourceConfiguration_InitializationFactory,\n evaluationExportAuthorizationsResourceConfiguration_InitializationFactory,\n} from \"../flows-actors/agent-work-decisions.shared.resources-config.schemas\";\nimport { agentWorkDecisionContentsPolymorphicDeclaration, agentWorkDecisionsPolymorphicDeclaration } from \"../flows-actors/agent-work-decisions.shared.schemas\";\nimport { retentionEnforcementRecordsResourceConfiguration_InitializationFactory } from \"../compliance/privacy/retention-enforcement-records.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\";\nimport { userGovernedDocumentAcceptancesResourceConfiguration_InitializationFactory } from \"../compliance/documents/user-governed-document-acceptances.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 { siemDeliveryOutboxPolymorphicFactories } from \"../security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas\";\nimport { siemDeliveryOutboxPolymorphicDeclaration } from \"../security/authentications/siem/siem-delivery-outbox.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 { inboundDeliveryPolymorphicFactories } from \"../inbound/inbound-delivery.shared.resources-config.schemas\";\nimport { inboundDeliveryPolymorphicDeclaration } from \"../inbound/inbound-delivery.shared.schemas\";\nimport {\n conversationMessagesResourceConfiguration_InitializationFactory,\n conversationReplyTokensResourceConfiguration_InitializationFactory,\n conversationThreadsResourceConfiguration_InitializationFactory,\n} from \"../inbound/conversation-threads.shared.resources-config.schemas\";\nimport {\n clientMailboxesResourceConfiguration_InitializationFactory,\n inboundAddressTombstonesResourceConfiguration_InitializationFactory,\n inboundEmailsResourceConfiguration_InitializationFactory,\n organizationEmailDomainsResourceConfiguration_InitializationFactory,\n} from \"../notifications/inbound-email/inbound-email.shared.resources-config.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\";\nimport { GuidanceStateUtils } from \"../guidance/guidance-state.shared.utils\";\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 // An ORGANIZATION-scoped enterprise identity link dies with its organization.\n //\n // Before this edge, the link's only parent was its user, and `organizationId` was a bare foreign\n // key. The organization purge deletes by the `onParentDelete` cascade and by nothing else, so every\n // member's enterprise link outlived the tenant. The one cleanup that did exist, the AUTH-13 postfix\n // on SSO connection DELETE, never runs there: the cascade deletes a connection through its\n // repository, which bypasses service-tier hooks. The dead link then read as a live membership to\n // the cross-organization SSO guard, which refused that person's enterprise sign-in into EVERY other\n // organization for good. Measured 2026-09-21: 19 such links on one account, and the `saml` e2e lane\n // refused from its second run on (#1448).\n //\n // Non-primary and STANDALONE, the ORGANIZATION_MEMBERS teardown-anchor pattern: USERS stays the\n // primary scope (the owner-only access filter and the subject-erasure classification are unchanged),\n // no URL surface is added, and the link is never context-fetched. An APPLICATION-scoped link carries\n // no `organizationId`, so this edge never selects it.\n //\n // Fires at PURGE, like every other organization child, never at the soft-delete mark: a restored\n // tenant keeps its members' links.\n //\n // OPTIONAL parent: a social link, and an application-scoped enterprise link, carry no\n // `organizationId`, and the schema declares it optional. The persistence converter refuses a\n // relationship whose requirement disagrees with the schema path.\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.USER_IDENTITY_LINKS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n isPrimaryScope: false,\n parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n foreignKeyField: 'organizationId',\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 // Link Users to UserGovernedDocumentAcceptances (1:N — one row per accepted release, #1258).\n //\n // KEPT when the user goes, deliberately: `onParentDelete` is DISABLED, the same answer the billing\n // family gives below and for the same reason — the row is EVIDENCE of an act, and the erasure right\n // does not reach what is needed to establish or defend a legal claim (GDPR Art. 17(3)(e)). A\n // contract acceptance is exactly that: the operator's answer to \"did this person agree to these\n // terms, which version, and when?\".\n // spec-cite: Regulation (EU) 2016/679, Art. 17(3)(e) (https://gdpr-info.eu/art-17-gdpr/).\n //\n // Why NOT `retentionPolicy` + `IMPERSONALIZE_AND_RETAIN`: the row holds no personal data of its own\n // (every value describes the account's contractual standing, with the person as a foreign key), so\n // there is nothing to scrub, and the retaining EDGE strategy is declared nowhere in this file — the\n // billing note records that its one declared scrub is wired to nothing. Evidence should not rest on\n // an unexercised path. The erased person's own identity is impersonalized on the USERS row; this row\n // then points at a pseudonymous account, which is what makes keeping it proportionate.\n //\n // STANDALONE + `contextPolicy: { enabled: false }`: no URL surface and never fetched through context.\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.USER_GOVERNED_DOCUMENT_ACCEPTANCES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } },\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 // REFUSE_WHILE_CHILDREN_EXIST: deleting an interior node would strand its subtree behind a dangling\n // `parentUnitId` and a stale materialized `path`, and hard-deleting the subtree behind a single-node\n // DELETE is a worse default than asking. The operator re-parents each child with MOVE, or deletes\n // the subtree bottom-up. A tenant purge still removes every unit through the ORGANIZATIONS edge.\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 childOperations: { lifecycle: { onParentDelete: { enabled: true, strategy: ChildLifecycleStrategy.REFUSE_WHILE_CHILDREN_EXIST } } },\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 → … makes an assignment a dependent the unit DELETE refuses on\n // (REFUSE_WHILE_CHILDREN_EXIST). While unit assignment lived in an embedded array it was not\n // a registered relationship and not portably queryable, so a dependents check would have\n // failed open on PostgreSQL. As a real edge it is refused on like any other.\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 // REFUSE_WHILE_CHILDREN_EXIST, mirroring the unit tree's own delete policy: a unit DELETE is\n // refused while assignments remain (the operator decides where an orphaned assignment belongs)\n // rather than silently dropping people's roles behind a single-node delete. Tearing down the\n // 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 childOperations: { lifecycle: { onParentDelete: { enabled: true, strategy: ChildLifecycleStrategy.REFUSE_WHILE_CHILDREN_EXIST } } },\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 // ── LEGAL HOLDS (#1634) ──────────────────────────────────────────────\n //\n // Stored in the tenant it holds, so the tenant sees every hold on its data. REFERENCE with the teardown\n // cascade DISABLED: a hold is the operator's defence evidence and outlives a purged tenant until its\n // AUDIT_LOGS period (counted from release) ends. An ACTIVE hold stops the purge outright.\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.LEGAL_HOLDS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.REFERENCE,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } },\n foreignKeyField: 'organizationId',\n }\n ),\n // The three people a hold names. REFERENCE + STANDALONE, never a teardown: erasing the placer, the\n // releaser or the held person leaves the hold exactly as it is (RETAINED_BY_DECLARATION).\n ...(['placedByUserId', 'releasedByUserId', 'subjectUserId'] as const).map((foreignKeyField) => createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.LEGAL_HOLDS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField,\n parentResourceRequirement: foreignKeyField === 'placedByUserId'\n ? ResourceParentResourceRequirement.MANDATORY\n : ResourceParentResourceRequirement.OPTIONAL,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } },\n contextPolicy: { enabled: false },\n }\n )),\n // ── SERVICE-PROVIDER RELATIONSHIPS (#1597) ──────────────────────────\n //\n // Three COMPOSITION children, each of the organization it is stored in: the relationship of the\n // CLIENT (the party that controls it), the engagement mirror and the assignments of the FIRM. The\n // other tenant is named by a plain id on each row and never by an edge — a navigable relationship\n // from one tenant's row into another tenant is exactly what this model refuses to create.\n // Purged with their organization; never seeded on create.\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.SERVICE_PROVIDER_RELATIONSHIPS,\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: 'organizationId',\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.SERVICE_ENGAGEMENTS,\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: 'organizationId',\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.SERVICE_ENGAGEMENT_ASSIGNMENTS,\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: 'organizationId',\n }\n ),\n // The assignment's engagement is in the SAME (firm) tenant, so it is a real edge. REFERENCE +\n // STANDALONE: an assignment is addressed under its organization, and ending an engagement ENDS its\n // assignments (status) rather than deleting the evidence of who served the client.\n createResourcesRelationship(\n CoreResourceType.SERVICE_ENGAGEMENTS, CoreResourceType.SERVICE_ENGAGEMENT_ASSIGNMENTS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'serviceEngagementId',\n parentResourceRequirement: ResourceParentResourceRequirement.MANDATORY,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } },\n contextPolicy: { enabled: false },\n }\n ),\n // The expert. REFERENCE + STANDALONE, copied from `USERS → PLATFORM_ACCESS_GRANTS`: addressed under\n // the organization, never under the user.\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.SERVICE_ENGAGEMENT_ASSIGNMENTS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'userId',\n parentResourceRequirement: ResourceParentResourceRequirement.MANDATORY,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } },\n contextPolicy: { enabled: false },\n }\n ),\n // ── SERVICE-PROVIDER ACTIVITY FEED (#1632) ──────────────────────────\n //\n // Both stored in the PROVIDER organization it is about, and purged with it. The client an entry names is a\n // plain id, never an edge, for the same reason as the relationship's. The expert is a REFERENCE + STANDALONE\n // edge, like the assignment's: addressed under the organization, never under the user, and an erasure of the\n // expert freezes their entries (RETAIN_ONLY) rather than deleting the firm's record.\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.SERVICE_PROVIDER_ACTIVITY_FEED_SETTINGS,\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: 'organizationId',\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.SERVICE_PROVIDER_ACTIVITY_FEED,\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: 'organizationId',\n }\n ),\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.SERVICE_PROVIDER_ACTIVITY_FEED,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'expertUserId',\n parentResourceRequirement: ResourceParentResourceRequirement.MANDATORY,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } },\n contextPolicy: { enabled: false },\n }\n ),\n // ── DELEGATED CAPABILITIES (#1631) ──────────────────────────────────\n //\n // A grant lives in the CLIENT organization that lends it, and is purged with it. Its relationship is in the SAME\n // (client) tenant, so it is a real edge — REFERENCE + STANDALONE, like the assignment's engagement: a grant is\n // addressed under its organization, and a relationship that ends REVOKES its grants (status) rather than\n // deleting the evidence of what the firm could administer.\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.SERVICE_PROVIDER_CAPABILITY_GRANTS,\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: 'organizationId',\n }\n ),\n createResourcesRelationship(\n CoreResourceType.SERVICE_PROVIDER_RELATIONSHIPS, CoreResourceType.SERVICE_PROVIDER_CAPABILITY_GRANTS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'relationshipId',\n parentResourceRequirement: ResourceParentResourceRequirement.MANDATORY,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } },\n contextPolicy: { enabled: false },\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 // ── SYSTEM-OF-RECORD PARTITION ASSIGNMENTS ───────────────────────────\n //\n // Which organization UNIT a remote partition belongs to — the edge that makes unit narrowing\n // reach a read-through resource. Three parents, and each is a REFERENCE for a different reason.\n //\n // The DEPLOYMENT, carrying the primary scope. Same shape as APPLICATION -> APPLICATION_ACCESS_GRANTS\n // and for the same measured reason: OPTIONAL + REQUIRES_CONTEXT + `isPrimaryScope`, because\n // declaring it MANDATORY makes the ZodToMongoose convertor refuse the resource outright and INIT\n // dies on a Mongo-persisted deployment. Addressing is carried by `isPrimaryScope` +\n // REQUIRES_CONTEXT, which is what the URL builder reads, so the route is identical either way.\n // No `onParentDelete`: the APPLICATION row is the deployment itself and is not purged.\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.SYSTEM_OF_RECORD_PARTITION_ASSIGNMENTS,\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 UNIT the partition is confined to — the first edge in this registry from a non-org-scoped\n // resource to ORGANIZATION_UNITS, so what it does and does not buy is stated rather than assumed.\n //\n // STANDALONE, because the assignment is addressed under the APPLICATION and never under a unit:\n // an operator works from the partition map, not from the org chart.\n //\n // ⚠️ The FK buys EXISTENCE and nothing more. No relationship factory validates scope\n // compatibility, and an APPLICATION-scoped row written by a super-administrator resolves\n // `writeTenantId === ''` in the write-integrity check — so this edge cannot also assert that the\n // unit belongs to the OWNER organization or that it is ACTIVE. Both are checked in the custom\n // implementation through the system door against the owner-organization resolver, and pinned\n // there. Reading this edge as a tenant check is the mistake it is written to prevent.\n //\n // `onParentDelete.enabled: false` states the survival explicitly rather than inheriting it. A\n // cascade would be actively wrong: deleting a unit would silently unassign its partitions, and an\n // unassigned partition is invisible to EVERY caller — an org-chart edit would quietly remove a\n // company from the product. The unit DELETE guard refuses instead, which is the same answer that\n // resource already gives for its own child units.\n createResourcesRelationship(\n CoreResourceType.ORGANIZATION_UNITS, CoreResourceType.SYSTEM_OF_RECORD_PARTITION_ASSIGNMENTS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'organizationUnitId',\n parentResourceRequirement: ResourceParentResourceRequirement.MANDATORY,\n /*\n * REFUSE_WHILE_CHILDREN_EXIST — and a CASCADE here would be the worst available default.\n *\n * Deleting a unit that still names partitions would silently UNASSIGN them, and an\n * unassigned partition is invisible to EVERY caller — an organization-wide administrator\n * included, because their entitlement is \"every partition the operator ASSIGNED, and no\n * others\". An ordinary org-chart edit would withdraw a company from the product, and the\n * symptom (\"the German invoices are gone\") arrives far from the delete that caused it.\n *\n * This posture was carried by a hand-written DELETE-prefix guard until `f4175a240`\n * replaced two such guards with this declaration — rightly, since a hand-written guard is\n * registered on one variant and invisible to the bulk path.\n *\n * The declaration did not reach a REFERENCE edge until #1485: the coherence check read\n * `enabled === true` without reading `strategy`, so the one strategy that ASSERTS the\n * child is independent was barred from the one nature that declares it. REFERENCE stays\n * correct here — an assignment is not composed by a unit, it is an APPLICATION-scoped row\n * that references one — and widening the nature to reach the mechanism would have been\n * choosing the wrong semantics.\n */\n childOperations: { lifecycle: { onParentDelete: { enabled: true, strategy: ChildLifecycleStrategy.REFUSE_WHILE_CHILDREN_EXIST } } },\n contextPolicy: { enabled: false },\n }\n ),\n // The OPERATOR who last assigned or moved the partition. REFERENCE with no cascade, on the\n // access-grant precedent and for its reason: making a user the owner resolves `lifecycleModelMode`\n // to DEPENDENT, which is the value `classifySubjectErasureDisposition` reads — a user erasure would\n // then own the row's fate, and an operator leaving must not silently unassign the companies they\n // configured. The row is RETAIN_AND_IMPERSONALIZE precisely so the configuration survives the\n // person while their prose does not.\n createResourcesRelationship(\n CoreResourceType.USERS, CoreResourceType.SYSTEM_OF_RECORD_PARTITION_ASSIGNMENTS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'assignedByUserId',\n // OPTIONAL because the field is `.optional()`: a row seeded by a lane with no session\n // carries none, and MANDATORY would assert an operator every assignment must have.\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: 'applicationId',\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: 'applicationId',\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, plus one APP-only blocker: APPLICATION rows are\n // provisioned via the platform CLI / apps-manager bootstrap, not the engine\n // handler.create → executePostOperationLogic, so the seed hook never fires on real app\n // provisioning.\n //\n // THE FK IS `applicationId`, AND IT MUST STAY THAT NAME. This edge and its two siblings\n // (APPLICATION_METADATA, APPLICATION_VERSIONS) declared `appId` until 2026-09-18. That\n // is not a distinct ROLE the way `assignedToUserId` is — it is the application itself,\n // spelled differently from the APPLICATION scope's registered field identifier — and\n // every mechanism keyed on that identifier therefore skipped these three resources:\n //\n // • CONTEXT_AUTO_POPULATED_FIELD_IDENTIFIERS did not carry it, so createAsSystem's\n // name-based preserve-list stripped it and a seed wrote an orphan row;\n // • the URL builder read a non-standard FK as a custom relationship PREFIX, so the\n // route became `/app-applications/{appId}/application-versions` (measured: that\n // path answers 200 and nothing addresses it) instead of nesting under\n // `/applications/{applicationId}`;\n // • and the frontend, whose resource context carries `applicationId`, could not\n // satisfy a required param named `appId`. Three Administration settings panes —\n // General, Versions, Entitlements — issued NO REQUEST AT ALL and rendered their\n // failure state, which is indistinguishable from a backend outage.\n //\n // The last one is why this is recorded here rather than in a changelog: the divergence\n // was noticed twice and written down twice (in this comment's previous text, and in\n // `resources-config-operations.urls-builder.utils.ts`, which called it \"7 phantom\n // combinations […] nobody had noticed because nothing called it\"). Naming an invariant\n // is not upholding it. A non-standard `foreignKeyField` is a claim that the edge means\n // something other than plain ownership; do not spell one differently for brevity.\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n foreignKeyField: 'applicationId',\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 it is what destroys a person's credentials, on BOTH paths that remove a person: the\n * delete cascade when the USERS row is deleted, and a subject erasure, which KEEPS the\n * (scrubbed) USERS row and so reads this edge's `strategy` instead. A secret is not\n * pseudonymised, it is destroyed.\n *\n * `strategy: DELETE` is AUTHORED, not left to the default, and that is the fix for #1569.\n * The credential resource used to declare `retentionPolicy: RETAIN_ONLY`; once #1279 made a\n * silent edge honour the child's retention declaration, every erasure kept the person's\n * third-party tokens in place and reported them \"retained by declaration\". The retention\n * policy is gone, and naming DELETE here means that if anyone re-adds one, the erasure\n * refuses the contradiction loudly (`findSubjectErasureRetentionContradictedEdges`) instead\n * of quietly keeping the credentials again.\n *\n * A 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: {\n lifecycle: {\n onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1, strategy: ChildLifecycleStrategy.DELETE },\n },\n },\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 // Off the context surface entirely (#583), as on the APPLICATION and USERS edges above. With\n // READ still enabled, an organization context read embedded the tenant's WHOLE audit history\n // — 143 rows on a two-week-old dogfood tenant, monotonically growing, on an interactive\n // path. An audit row is not ambient context; the Audit Log Viewer pages this edge's LIST.\n contextPolicy: { enabled: false },\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 // Retention-enforcement records (#1636): application-wide, routed under the application for the\n // administration console, and the SAME shape as the audit door above for the same reasons — the edge\n // is an address (primary scope + REQUIRES_CONTEXT), OPTIONAL so the Mongo convertor accepts the column,\n // and `contextPolicy` disabled because a record must never be fetched as ambient context.\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.RETENTION_ENFORCEMENT_RECORDS,\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 // `strategy: DELETE` is AUTHORED (#1569): a subject erasure keeps the scrubbed USERS row and\n // reads this strategy, so an erased person's unread counters are destroyed. Naming it means a\n // retention policy re-added to the badge resource is refused as a contradiction\n // (`findSubjectErasureRetentionContradictedEdges`) instead of quietly keeping the rows.\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1, strategy: ChildLifecycleStrategy.DELETE } } },\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 // Provider-call records: the same internal, application-primary shape as the queue records above.\n // STANDALONE keeps them off URL routing; nothing reaches them except the recorder and the evidence door.\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.PROVIDER_CALL_RECORDS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n isPrimaryScope: true,\n nature: RelationshipNature.REFERENCE,\n contextPolicy: { enabled: false }\n }\n ),\n // Model-call attributions and model-cost period aggregates (#1598): application-primary and route-less,\n // like the provider-call records above. Their organization edges are below, with the teardown decision.\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.MODEL_CALL_ATTRIBUTIONS,\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.MODEL_COST_PERIOD_AGGREGATES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n // REQUIRES_CONTEXT, like the retention enforcement records: the billing flow reads and links\n // aggregates at `/applications/{applicationId}/…`, and the per-row APPLICATION authorization compares\n // the row's `applicationId` with that URL's. A STANDALONE edge gave the route no application, so\n // every READ and `link_invoice` was refused, super-administrator included (#1598, found live).\n isPrimaryScope: true,\n foreignKeyField: 'applicationId',\n /*\n * MANDATORY, matching the schema: every row is written with the application's canonical id, and\n * `applicationId` is required there. The edge used to say OPTIONAL (copying the retention-enforcement\n * records, whose rows may lack one) while the schema kept it required, and the Mongo convertor refuses\n * a relationship FK whose requiredness disagrees with its schema path — so on a Mongo-persisted platform\n * INIT died on `zod_converter_schema_conversion_failed` (framework 1.1.6, first fresh `wildo local dev`).\n * PostgreSQL keeps the schema's own nullability for an authored FK, so its plan does not change.\n */\n parentResourceRequirement: ResourceParentResourceRequirement.MANDATORY,\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.REQUIRES_CONTEXT,\n nature: RelationshipNature.REFERENCE,\n contextPolicy: { enabled: false }\n }\n ),\n // A tenant's attribution rows die with the tenant (Paul Q2 on #1598): COMPOSITION + the purge's cascade,\n // the USER_IDENTITY_LINKS teardown-anchor shape (non-primary, STANDALONE, OPTIONAL: an unattributed row\n // carries no organizationId). The organization DELETE's prefix closes the open cost period into an\n // aggregate BEFORE this cascade runs, so no cost is lost with the rows.\n //\n // assurance-control: WILDO.PRIVACY.ERASURE_PROPAGATION — detail rows are deleted with their tenant.\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.MODEL_CALL_ATTRIBUTIONS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n isPrimaryScope: false,\n parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n foreignKeyField: 'organizationId',\n contextPolicy: { enabled: false }\n }\n ),\n // An aggregate is NOT torn down by the cascade: the organization DELETE's prefix deletes the tenant's\n // UNLINKED aggregates itself, and an aggregate an invoice bills outlives the tenant for its statutory\n // BUSINESS_RECORDS period (GDPR Art. 17(3)(b)). A REFERENCE edge with the cascade disabled, the billing\n // family's answer for records kept past their scope.\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.MODEL_COST_PERIOD_AGGREGATES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,\n isPrimaryScope: false,\n nature: RelationshipNature.REFERENCE,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } },\n foreignKeyField: 'organizationId',\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 // Agent-work decisions and their content (#1599), owned by the same three scopes as the executions they record\n // decisions on. COMPOSITION + cascade: a scope's records go with the scope, like its conversations. The metadata\n // is kept for AUDIT_LOGS while the scope exists; an erasure severs the decider and scrubs the content.\n ...createPolymorphicScopeRelationships(agentWorkDecisionsPolymorphicDeclaration, {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: { enabled: false },\n }),\n ...createPolymorphicScopeRelationships(agentWorkDecisionContentsPolymorphicDeclaration, {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: { enabled: false },\n }),\n // The organization's two agent-work settings (singletons) and its export ledger (#1599), torn down with it.\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.AGENT_WORK_CAPTURE_SETTINGS,\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 contextPolicy: { enabled: false },\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.EVALUATION_EXPORT_AUTHORIZATIONS,\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 contextPolicy: { enabled: false },\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.EVALUATION_DATASET_EXPORTS,\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 contextPolicy: { enabled: false },\n }\n ),\n\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 closed at runtime by declaration:\n // each `BillingAccounts → <child>` edge below declares `onParentDelete.strategy:\n // REFUSE_WHILE_CHILDREN_EXIST`, so the service tier refuses the account's DELETE with 409\n // `RESOURCE_HAS_DEPENDENTS` while any retained child still references it, before anything is\n // written. The scope edges stay `enabled: false`: those rows must outlive their scope.\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: true, strategy: ChildLifecycleStrategy.REFUSE_WHILE_CHILDREN_EXIST } } }, // RESTRICT: the account may not be deleted while these retained rows reference it — 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 none of the 16 edges below cascades (4 families × 2 parents × 2 scope variants): the scope\n // edges DISABLE `onParentDelete`, and the billing-account edges declare REFUSE_WHILE_CHILDREN_EXIST\n // so the account cannot be deleted out from under them. These are the entries formerly tracked as\n // `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.\n //\n // ## DECIDED 2026-09-17 (#1208), and the SECOND reason this used to give is now FALSE\n //\n // It said \"a billing row holds no personal data of its own (no name, email or address; the person\n // is a foreign key), so there is nothing on it to scrub\". That has not been true since\n // `invoice-ref.shared.schemas.ts` gained `hostedInvoiceUrl` and `invoicePdfUrl`, which\n // `addImpersonalizeWith(..., REMOVE)` marks precisely BECAUSE they address provider-hosted\n // documents carrying the person's name and billing address. A blanket \"no personal data here\" is\n // the kind of claim that stops being checked once it is written down.\n //\n // The conclusion survives on the FIRST reason alone, and the external norms point the same way:\n //\n // - The erasure right does not reach these records. GDPR Art. 17(3)(b) excepts processing\n // \"necessary for compliance with a legal obligation which requires processing by Union or\n // Member State law to which the controller is subject\", which is what a statutory invoice\n // retention period is.\n // spec-cite: Regulation (EU) 2016/679, Art. 17(3)(b) (https://gdpr-info.eu/art-17-gdpr/).\n // - The record must stay COMPLETE, not scrubbed. An invoice is legally required to carry \"the\n // full name and address of the taxable person and of the customer\", so the identifying data is\n // mandated CONTENT rather than something incidental that may be removed; and every taxable\n // person must store their invoices for a period each Member State sets.\n // spec-cite: Council Directive 2006/112/EC, Art. 226 (invoice content) and Arts. 244/247\n // (storage and period).\n // - Scrubbing our URL removes a POINTER, never the document. The invoice itself lives at the\n // payment provider, which retains it under its own obligation and offers its own redaction —\n // so dropping the link costs the operator the ability to open their own invoice and gains the\n // data subject nothing the controller does not still hold.\n //\n // Storage limitation is therefore satisfied by the retention SCHEDULE (the period a class\n // declares), not by an erasure — which is the split `retention-schedule.shared.schemas.ts` already\n // draws between WHAT erasure does to a row and HOW LONG a row is kept.\n //\n // ## The declared treatments are currently UNREACHABLE, which is the live half of #1208\n //\n // `retentionPolicy` is the RESOURCE-level opt-in; the per-EDGE trigger is\n // `onParentDelete.strategy: IMPERSONALIZE_AND_RETAIN`, and the ONLY occurrence of that member in\n // this file is the sentence above explaining why it is not used. So no billing row is ever marked\n // RETAINED and the invoice-ref scrub never runs: after an erasure those two URLs are intact.\n //\n // That is the opposite of what #1208 feared — the risk was never that an erased customer's\n // invoices would vanish from accounting, it is that a scrub was declared, reasoned about, and\n // wired to nothing. Removing `retentionPolicy` from the five billing resources is the follow-\n // through; it is left out of this change because it also withdraws derived `seeRetained` grants\n // and would orphan the `addImpersonalizeWith` treatments, which is a config-build question rather\n // than a documentation one.\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 billing edges, none of which cascades). 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: true, strategy: ChildLifecycleStrategy.REFUSE_WHILE_CHILDREN_EXIST } } }, // RESTRICT: the account may not be deleted while these retained rows reference it — 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: true, strategy: ChildLifecycleStrategy.REFUSE_WHILE_CHILDREN_EXIST } } }, // RESTRICT: the account may not be deleted while these retained rows reference it — 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: true, strategy: ChildLifecycleStrategy.REFUSE_WHILE_CHILDREN_EXIST } } }, // RESTRICT: the account may not be deleted while these retained rows reference it — 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 // `strategy: DELETE` is AUTHORED (#1569): an erasure keeps the scrubbed USERS row and reads\n // this strategy, so an erased person's entitlement overrides are destroyed; a retention\n // policy re-added to USER_FEATURES is then refused as a contradiction rather than obeyed.\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1, strategy: ChildLifecycleStrategy.DELETE } } },\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 are ROUTED under the organization that issued them (#1802).\n //\n // The row belongs to its referrer, and only an organization can refer: its `organizationId` is the\n // referrer's tenant. Every door onto the resource is that organization's — ISSUE, CANCEL and the LIST the\n // `organization-referrals` settings page reads — and each authorizes as that organization's owner, so the\n // organization must be in the route (`/organizations/{organizationId}/referrals/…`).\n //\n // This edge was a STANDALONE \"scope anchor\" until 2026-09-28, which kept the resource off the organization\n // URL surface: the routes mounted at `/api/v1/referrals/…`, no request could carry an organization, and every\n // one answered 403 — the settings page (#1295) and both referral verbs alike. A second edge could not make\n // this worse: the four billing-account edges below are STANDALONE references, so this is the only URL parent.\n //\n // The REFERRED side is not routed here, deliberately: a redemption is the new customer's act, and it is\n // `BillingAccount_Operations.REDEEM_REFERRAL` on that customer's own billing account.\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.REFERRALS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.REQUIRES_CONTEXT,\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 //\n // `initialData.override` because the SHAPE the two doors produce must match, and the\n // schema defaults alone cannot produce it. The lazy doors persist\n // `createInitialScopedLifecycleState` — `stageHistory: [{ SIGNED_UP, … }]`,\n // `stagesVisited: [SIGNED_UP]` — while this eager door wrote the schema defaults,\n // `[]` and `[]`. The eager door is the one that runs in production, so the lazy pair's\n // shape was only ever written when THIS one had failed.\n //\n // The consequence is `hasReachedStage`, whose own JSDoc says it exists \"for reliable\n // stage visitation checks\": after the first transition `stagesVisited` read\n // `[ACTIVATED]`, so it answered FALSE for SIGNED_UP — a stage the subject demonstrably\n // passed — and the transition audit trail started one entry short.\n //\n // The values come from the same named source the lazy doors use, so there is still one\n // shape. It is NOT moved into the schema defaults: `stageHistory` carries\n // `RedactionType.RESET`, so a dynamic default would be written BY an erasure — the\n // hazard `lastActiveAt` names one field below — re-asserting a SIGNED_UP entry stamped\n // at erasure time. Seeding and the erasure default are different questions.\n childOperations: {\n lifecycle: {\n onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 },\n onParentCreate: {\n enabled: true,\n initialData: {\n override: () => {\n const initial = GuidanceStateUtils.createInitialLifecycleState();\n return { stageHistory: initial.stageHistory, stagesVisited: initial.stagesVisited };\n },\n },\n },\n },\n },\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 — the\n // genuine latent gap (no READ self-heal); the evaluator read-then-creates so no dup.\n //\n // `initialData.override` because the SHAPE the two doors produce must match, and the\n // schema defaults alone cannot produce it. The lazy doors persist\n // `createInitialScopedLifecycleState` — `stageHistory: [{ SIGNED_UP, … }]`,\n // `stagesVisited: [SIGNED_UP]` — while this eager door wrote the schema defaults,\n // `[]` and `[]`. The eager door is the one that runs in production, so the lazy pair's\n // shape was only ever written when THIS one had failed.\n //\n // The consequence is `hasReachedStage`, whose own JSDoc says it exists \"for reliable\n // stage visitation checks\": after the first transition `stagesVisited` read\n // `[ACTIVATED]`, so it answered FALSE for SIGNED_UP — a stage the subject demonstrably\n // passed — and the transition audit trail started one entry short.\n //\n // The values come from the same named source the lazy doors use, so there is still one\n // shape. It is NOT moved into the schema defaults: `stageHistory` carries\n // `RedactionType.RESET`, so a dynamic default would be written BY an erasure — the\n // hazard `lastActiveAt` names one field below — re-asserting a SIGNED_UP entry stamped\n // at erasure time. Seeding and the erasure default are different questions.\n childOperations: {\n lifecycle: {\n onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 },\n onParentCreate: {\n enabled: true,\n initialData: {\n override: () => {\n const initial = GuidanceStateUtils.createInitialLifecycleState();\n return { stageHistory: initial.stageHistory, stagesVisited: initial.stagesVisited };\n },\n },\n },\n },\n },\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). Off the context surface (#583): a dead-letter\n // queue is append-only and grows without bound during a SIEM outage, exactly when a scope's context\n // read must stay cheap. Operators page it through its own LIST.\n ...createPolymorphicScopeRelationships(siemDeliveryDlqPolymorphicDeclaration, {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: { enabled: false },\n }),\n\n // SIEM Delivery Outbox — collection (MANY per scope). Off the context surface for the SAME reason\n // as the DLQ above and one more: these rows are machinery in flight, claimed and deleted by the\n // collector within a window, so a context read would carry a set that is stale by the time it is\n // read. Cascades on scope delete like its sibling — a tenant that is gone has nothing left to export.\n ...createPolymorphicScopeRelationships(siemDeliveryOutboxPolymorphicDeclaration, {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: { enabled: false },\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). Off the context surface entirely (#583):\n // one row per delivery attempt, unbounded, and READ used to embed all of them. Admins query it via\n // the 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: { enabled: false },\n }),\n\n // Inbound deliveries (#1596) — collection, MANY per scope, off the context surface for the same reason\n // as the outbound log. COMPOSITION + IMMEDIATE: a delivery's payload is its organization's data, so it\n // is erased with the organization rather than outliving it in the application variant.\n ...createPolymorphicScopeRelationships(inboundDeliveryPolymorphicDeclaration, {\n nature: RelationshipNature.COMPOSITION,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: { enabled: false },\n }),\n // ── CONVERSATION THREADS (#1630) ─────────────────────────────────────\n //\n // All three are the organization's, purged with it. Reply tokens are COMPOSITION children of their\n // thread (deleted with it); messages only REFERENCE it (see that edge). Both are addressed under the\n // organization with the thread as an optional context — the ORGANIZATION_MEMBERS →\n // ORGANIZATION_UNIT_MEMBERS shape.\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.CONVERSATION_THREADS,\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: 'organizationId',\n contextPolicy: { enabled: false },\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.CONVERSATION_MESSAGES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n // IMPERSONALIZE_AND_RETAIN, never silent (#1635): messages keep a statutory ground, and a silent edge is\n // DELETE on a parent delete — the tenant purge would destroy correspondence the law requires kept. Retained,\n // they stay restricted until their BUSINESS_RECORDS period ends and the retention-class sweep deletes them.\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, strategy: ChildLifecycleStrategy.IMPERSONALIZE_AND_RETAIN, maxDepth: 1 } } },\n foreignKeyField: 'organizationId',\n contextPolicy: { enabled: false },\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.CONVERSATION_REPLY_TOKENS,\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: 'organizationId',\n contextPolicy: { enabled: false },\n }\n ),\n // A REFERENCE, not a composition: a message is a business letter a statute keeps on its own clock\n // (#1635), and deleting the thread — correlation, kept for a shorter period — must never take it along.\n // The engagement → assignment precedent above: ending the parent leaves the evidence standing.\n createResourcesRelationship(\n CoreResourceType.CONVERSATION_THREADS, CoreResourceType.CONVERSATION_MESSAGES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'threadId',\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.OPTIONAL_CONTEXT,\n childOperations: { lifecycle: { onParentDelete: { enabled: false } } },\n contextPolicy: { enabled: false },\n }\n ),\n createResourcesRelationship(\n CoreResourceType.CONVERSATION_THREADS, CoreResourceType.CONVERSATION_REPLY_TOKENS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n nature: RelationshipNature.COMPOSITION,\n foreignKeyField: 'threadId',\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.OPTIONAL_CONTEXT,\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },\n contextPolicy: { enabled: false },\n }\n ),\n // ── RECEIVING EMAIL (#1600) ──────────────────────────────────────────\n //\n // The three organization-scoped resources are the organization's. The organization-deletion hook reads the\n // domains BEFORE this cascade runs, so the provider's copies are deleted too (E9).\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.INBOUND_EMAILS,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n isPrimaryScope: true,\n nature: RelationshipNature.COMPOSITION,\n // IMPERSONALIZE_AND_RETAIN, as for conversation messages (#1635): a received letter keeps a statutory\n // ground, so the tenant purge keeps it restricted until its BUSINESS_RECORDS period ends and the\n // retention-class sweep deletes it — its raw MIME and attachment files with it.\n childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, strategy: ChildLifecycleStrategy.IMPERSONALIZE_AND_RETAIN, maxDepth: 1 } } },\n foreignKeyField: 'organizationId',\n contextPolicy: { enabled: false },\n }\n ),\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_EMAIL_DOMAINS,\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: 'organizationId',\n contextPolicy: { enabled: false },\n }\n ),\n // The CLIENT organization owns its mailboxes. The firm's domain is named by a plain id, never an edge:\n // a navigable edge from one tenant's row into another tenant's is what the model refuses.\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CoreResourceType.CLIENT_MAILBOXES,\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: 'organizationId',\n contextPolicy: { enabled: false },\n }\n ),\n // Application-wide, the retention-enforcement records shape: an address, never ambient context.\n createResourcesRelationship(\n CoreResourceType.APPLICATION, CoreResourceType.INBOUND_ADDRESS_TOMBSTONES,\n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n {\n isPrimaryScope: true,\n foreignKeyField: 'applicationId',\n /*\n * MANDATORY, matching the schema: every row is written with the application's canonical id, and\n * `applicationId` is required there. The edge used to say OPTIONAL (copying the retention-enforcement\n * records, whose rows may lack one) while the schema kept it required, and the Mongo convertor refuses\n * a relationship FK whose requiredness disagrees with its schema path — so on a Mongo-persisted platform\n * INIT died on `zod_converter_schema_conversion_failed` (framework 1.1.6, first fresh `wildo local dev`).\n * PostgreSQL keeps the schema's own nullability for an authored FK, so its plan does not change.\n */\n parentResourceRequirement: ResourceParentResourceRequirement.MANDATORY,\n accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.REQUIRES_CONTEXT,\n nature: RelationshipNature.REFERENCE,\n contextPolicy: { enabled: false },\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.LEGAL_HOLDS]: legalHoldsResourceConfiguration_InitializationFactory,\n [CoreResourceType.SERVICE_PROVIDER_RELATIONSHIPS]: serviceProviderRelationshipsResourceConfiguration_InitializationFactory,\n [CoreResourceType.SERVICE_ENGAGEMENTS]: serviceEngagementsResourceConfiguration_InitializationFactory,\n [CoreResourceType.SERVICE_ENGAGEMENT_ASSIGNMENTS]: serviceEngagementAssignmentsResourceConfiguration_InitializationFactory,\n [CoreResourceType.SERVICE_PROVIDER_ACTIVITY_FEED_SETTINGS]: serviceProviderActivityFeedSettingsResourceConfiguration_InitializationFactory,\n [CoreResourceType.SERVICE_PROVIDER_ACTIVITY_FEED]: serviceProviderActivityFeedResourceConfiguration_InitializationFactory,\n [CoreResourceType.SERVICE_PROVIDER_CAPABILITY_GRANTS]: serviceProviderCapabilityGrantsResourceConfiguration_InitializationFactory,\n [CoreResourceType.APPLICATION_ACCESS_GRANTS]: applicationAccessGrantsResourceConfiguration_InitializationFactory,\n [CoreResourceType.SYSTEM_OF_RECORD_PARTITION_ASSIGNMENTS]: systemOfRecordPartitionAssignmentsResourceConfiguration_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 [CoreResourceType.PROVIDER_CALL_RECORDS]: providerCallRecordsResourceConfiguration_InitializationFactory,\n [CoreResourceType.MODEL_CALL_ATTRIBUTIONS]: modelCallAttributionsResourceConfiguration_InitializationFactory,\n [CoreResourceType.MODEL_COST_PERIOD_AGGREGATES]: modelCostPeriodAggregatesResourceConfiguration_InitializationFactory,\n // Agent-work decisions (#1599): the two polymorphic record families, and the organization's settings and ledger.\n ...agentWorkDecisionsPolymorphicFactories,\n ...agentWorkDecisionContentsPolymorphicFactories,\n [CoreResourceType.AGENT_WORK_CAPTURE_SETTINGS]: agentWorkCaptureSettingsResourceConfiguration_InitializationFactory,\n [CoreResourceType.EVALUATION_EXPORT_AUTHORIZATIONS]: evaluationExportAuthorizationsResourceConfiguration_InitializationFactory,\n [CoreResourceType.EVALUATION_DATASET_EXPORTS]: evaluationDatasetExportsResourceConfiguration_InitializationFactory,\n [CoreResourceType.RETENTION_ENFORCEMENT_RECORDS]: retentionEnforcementRecordsResourceConfiguration_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 [CoreResourceType.USER_GOVERNED_DOCUMENT_ACCEPTANCES]: userGovernedDocumentAcceptancesResourceConfiguration_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 ...siemDeliveryOutboxPolymorphicFactories,\n ...scimTokensPolymorphicFactories,\n ...scimProvisioningConfigPolymorphicFactories,\n\n // M2M Outbound Webhook Resources — polymorphic dual-scope (2 × 2 = 4 entries)\n ...webhookConfigPolymorphicFactories,\n ...m2mWebhookDeliveryLogPolymorphicFactories,\n\n // Inbound deliveries — polymorphic dual-scope (#1596)\n ...inboundDeliveryPolymorphicFactories,\n [CoreResourceType.CONVERSATION_THREADS]: conversationThreadsResourceConfiguration_InitializationFactory,\n [CoreResourceType.CONVERSATION_MESSAGES]: conversationMessagesResourceConfiguration_InitializationFactory,\n [CoreResourceType.CONVERSATION_REPLY_TOKENS]: conversationReplyTokensResourceConfiguration_InitializationFactory,\n [CoreResourceType.INBOUND_EMAILS]: inboundEmailsResourceConfiguration_InitializationFactory,\n [CoreResourceType.ORGANIZATION_EMAIL_DOMAINS]: organizationEmailDomainsResourceConfiguration_InitializationFactory,\n [CoreResourceType.CLIENT_MAILBOXES]: clientMailboxesResourceConfiguration_InitializationFactory,\n [CoreResourceType.INBOUND_ADDRESS_TOMBSTONES]: inboundAddressTombstonesResourceConfiguration_InitializationFactory,\n};\n"]}
|