@wildo-ai/saas-models 1.0.1 → 1.1.1
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/LICENSE +34 -0
- package/dist/esm/.builder.pid +9 -0
- package/dist/esm/__tests__/setup.d.ts.map +1 -1
- package/dist/esm/__tests__/setup.js +18 -3
- package/dist/esm/__tests__/setup.js.map +1 -1
- package/dist/esm/_inspect.d.ts +2 -0
- package/dist/esm/_inspect.d.ts.map +1 -0
- package/dist/esm/_inspect.js +3 -0
- package/dist/esm/_inspect.js.map +1 -0
- package/dist/esm/applications/application-metadata.shared.resources-config.schemas.d.ts +6 -6
- 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 +5 -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 +51 -0
- package/dist/esm/applications/application-subject.shared.schemas.d.ts.map +1 -0
- package/dist/esm/applications/application-subject.shared.schemas.js +56 -0
- package/dist/esm/applications/application-subject.shared.schemas.js.map +1 -0
- package/dist/esm/applications/application-versions.shared.resources-config.schemas.d.ts +9 -11
- 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 +42 -74
- package/dist/esm/applications/application-versions.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/applications/applications-context.schemas.d.ts +228 -200
- package/dist/esm/applications/applications-context.schemas.d.ts.map +1 -1
- package/dist/esm/applications/applications-context.schemas.js +1 -1
- package/dist/esm/applications/applications-context.schemas.js.map +1 -1
- package/dist/esm/applications/applications.shared.resources-config.schemas.d.ts +4 -9
- package/dist/esm/applications/applications.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/applications/applications.shared.resources-config.schemas.js +103 -87
- package/dist/esm/applications/applications.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/applications/applications.shared.schemas.d.ts +59 -5
- package/dist/esm/applications/applications.shared.schemas.d.ts.map +1 -1
- package/dist/esm/applications/applications.shared.schemas.js +80 -3
- package/dist/esm/applications/applications.shared.schemas.js.map +1 -1
- package/dist/esm/billing/billing-account.shared.resources-config.schemas.d.ts +4 -4
- 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 +98 -25
- package/dist/esm/billing/billing-account.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/billing-account.shared.schemas.d.ts +32 -8
- package/dist/esm/billing/billing-account.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/billing-account.shared.schemas.js +67 -2
- package/dist/esm/billing/billing-account.shared.schemas.js.map +1 -1
- package/dist/esm/billing/billing-configuration.shared.schemas.d.ts +8 -8
- package/dist/esm/billing/billing-configuration.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/billing-configuration.shared.schemas.js +2 -3
- package/dist/esm/billing/billing-configuration.shared.schemas.js.map +1 -1
- package/dist/esm/billing/billing-enums.shared.schemas.d.ts +75 -0
- package/dist/esm/billing/billing-enums.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/billing-enums.shared.schemas.js +78 -1
- package/dist/esm/billing/billing-enums.shared.schemas.js.map +1 -1
- package/dist/esm/billing/billing-types.shared.schemas.d.ts +204 -42
- package/dist/esm/billing/billing-types.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/billing-types.shared.schemas.js +76 -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 +8 -6
- 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 +48 -16
- package/dist/esm/billing/credit-pool.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/credit-pool.shared.schemas.d.ts +9 -9
- package/dist/esm/billing/credit-pool.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/credit-pool.shared.schemas.js +13 -6
- package/dist/esm/billing/credit-pool.shared.schemas.js.map +1 -1
- package/dist/esm/billing/invoice-ref.shared.resources-config.schemas.d.ts +2 -2
- 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 +26 -17
- package/dist/esm/billing/invoice-ref.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/invoice-ref.shared.schemas.d.ts +10 -10
- package/dist/esm/billing/invoice-ref.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/invoice-ref.shared.schemas.js +32 -7
- package/dist/esm/billing/invoice-ref.shared.schemas.js.map +1 -1
- package/dist/esm/billing/price.shared.resources-config.schemas.d.ts +7 -7
- package/dist/esm/billing/price.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/price.shared.resources-config.schemas.js +23 -5
- package/dist/esm/billing/price.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/price.shared.schemas.d.ts +4 -4
- package/dist/esm/billing/price.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/price.shared.schemas.js +1 -1
- package/dist/esm/billing/price.shared.schemas.js.map +1 -1
- package/dist/esm/billing/product-behavior-policy.shared.schemas.d.ts +9 -9
- package/dist/esm/billing/product-behavior-policy.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/product-behavior-policy.shared.schemas.js +10 -2
- package/dist/esm/billing/product-behavior-policy.shared.schemas.js.map +1 -1
- package/dist/esm/billing/product-definition.shared.schemas.d.ts +27 -27
- package/dist/esm/billing/product-definition.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/product-definition.shared.schemas.js +39 -9
- package/dist/esm/billing/product-definition.shared.schemas.js.map +1 -1
- package/dist/esm/billing/product.shared.resources-config.schemas.d.ts +22 -22
- package/dist/esm/billing/product.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/product.shared.resources-config.schemas.js +6 -6
- package/dist/esm/billing/product.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/product.shared.schemas.d.ts +19 -19
- package/dist/esm/billing/product.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/product.shared.schemas.js +1 -1
- package/dist/esm/billing/product.shared.schemas.js.map +1 -1
- package/dist/esm/billing/promotions.shared.resources-config.schemas.d.ts +7 -7
- package/dist/esm/billing/promotions.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/promotions.shared.resources-config.schemas.js +34 -6
- package/dist/esm/billing/promotions.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/promotions.shared.schemas.d.ts +2 -2
- package/dist/esm/billing/promotions.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/promotions.shared.schemas.js +1 -1
- package/dist/esm/billing/promotions.shared.schemas.js.map +1 -1
- package/dist/esm/billing/referral.shared.resources-config.schemas.d.ts +12 -12
- package/dist/esm/billing/referral.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/referral.shared.resources-config.schemas.js +5 -5
- package/dist/esm/billing/referral.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/referral.shared.schemas.d.ts +7 -7
- package/dist/esm/billing/referral.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/referral.shared.schemas.js +36 -8
- package/dist/esm/billing/referral.shared.schemas.js.map +1 -1
- package/dist/esm/billing/subscription.shared.resources-config.schemas.d.ts +6 -6
- package/dist/esm/billing/subscription.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/subscription.shared.resources-config.schemas.js +51 -24
- package/dist/esm/billing/subscription.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/subscription.shared.schemas.d.ts +13 -13
- package/dist/esm/billing/subscription.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/subscription.shared.schemas.js +37 -5
- package/dist/esm/billing/subscription.shared.schemas.js.map +1 -1
- package/dist/esm/billing/usage-record.shared.resources-config.schemas.d.ts +2 -2
- 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 +23 -14
- package/dist/esm/billing/usage-record.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/usage-record.shared.schemas.d.ts +15 -12
- package/dist/esm/billing/usage-record.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/usage-record.shared.schemas.js +34 -7
- package/dist/esm/billing/usage-record.shared.schemas.js.map +1 -1
- package/dist/esm/charts/aggregation-query.shared.schemas.d.ts +36 -36
- package/dist/esm/charts/aggregation-query.shared.schemas.d.ts.map +1 -1
- package/dist/esm/charts/aggregation-query.shared.schemas.js +6 -6
- 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 +1 -1
- package/dist/esm/charts/aggregation.shared.definitions.js.map +1 -1
- package/dist/esm/charts/chart-definition-builder.shared.d.ts +5 -3
- package/dist/esm/charts/chart-definition-builder.shared.d.ts.map +1 -1
- package/dist/esm/charts/chart-definition-builder.shared.js +4 -2
- package/dist/esm/charts/chart-definition-builder.shared.js.map +1 -1
- package/dist/esm/{runtime/companion-artifact-placement.shared.definitions.d.ts → companion/artifact-placement.shared.definitions.d.ts} +2 -3
- package/dist/esm/companion/artifact-placement.shared.definitions.d.ts.map +1 -0
- package/dist/esm/{runtime/companion-artifact-placement.shared.definitions.js → companion/artifact-placement.shared.definitions.js} +1 -2
- package/dist/esm/companion/artifact-placement.shared.definitions.js.map +1 -0
- package/dist/esm/companion/provider-discovery.shared.schemas.d.ts +131 -0
- package/dist/esm/companion/provider-discovery.shared.schemas.d.ts.map +1 -0
- package/dist/esm/companion/provider-discovery.shared.schemas.js +122 -0
- package/dist/esm/companion/provider-discovery.shared.schemas.js.map +1 -0
- package/dist/esm/companion/shared-library-companion.shared.definitions.d.ts +6 -0
- package/dist/esm/companion/shared-library-companion.shared.definitions.d.ts.map +1 -0
- package/dist/esm/companion/shared-library-companion.shared.definitions.js +1 -0
- package/dist/esm/companion/shared-library-companion.shared.definitions.js.map +1 -0
- package/dist/esm/companion-exports.d.ts +4 -0
- package/dist/esm/companion-exports.d.ts.map +1 -0
- package/dist/esm/companion-exports.js +4 -0
- package/dist/esm/companion-exports.js.map +1 -0
- package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.d.ts +65 -0
- package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.js +68 -0
- package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/audit-trails/audit-log-sink.shared.schemas.d.ts +147 -0
- package/dist/esm/compliance/audit-trails/audit-log-sink.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/audit-trails/audit-log-sink.shared.schemas.js +20 -0
- package/dist/esm/compliance/audit-trails/audit-log-sink.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.d.ts +60 -16
- 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 +77 -10
- 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 +58 -0
- package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.js +74 -0
- package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.d.ts +1949 -115
- 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 +2229 -11
- 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 +25 -10
- 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 +226 -3
- 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 +8 -0
- package/dist/esm/compliance/data-classification/data-classification.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/data-classification/data-classification.shared.schemas.js +9 -0
- package/dist/esm/compliance/data-classification/data-classification.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/documents/governed-documents.shared.schemas.d.ts +524 -0
- package/dist/esm/compliance/documents/governed-documents.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/documents/governed-documents.shared.schemas.js +482 -0
- package/dist/esm/compliance/documents/governed-documents.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.d.ts +112 -0
- package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.js +120 -0
- package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/privacy/client-storage.shared.schemas.d.ts +134 -0
- package/dist/esm/compliance/privacy/client-storage.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/client-storage.shared.schemas.js +129 -0
- package/dist/esm/compliance/privacy/client-storage.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/privacy/data-retention.shared.schemas.d.ts +1 -1
- package/dist/esm/compliance/privacy/data-retention.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/data-retention.shared.schemas.js +1 -1
- package/dist/esm/compliance/privacy/data-retention.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/impersonalization-scrub.shared.utils.d.ts +50 -0
- package/dist/esm/compliance/privacy/impersonalization-scrub.shared.utils.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/impersonalization-scrub.shared.utils.js +98 -0
- package/dist/esm/compliance/privacy/impersonalization-scrub.shared.utils.js.map +1 -0
- package/dist/esm/compliance/privacy/impersonalization.shared.schemas.d.ts +181 -0
- package/dist/esm/compliance/privacy/impersonalization.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/impersonalization.shared.schemas.js +184 -0
- package/dist/esm/compliance/privacy/impersonalization.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.d.ts +230 -0
- package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.js +232 -0
- package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/privacy/personal-data-category.shared.schemas.d.ts +220 -0
- package/dist/esm/compliance/privacy/personal-data-category.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/personal-data-category.shared.schemas.js +252 -0
- package/dist/esm/compliance/privacy/personal-data-category.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/privacy/personal-data-declaration.shared.utils.d.ts +75 -0
- package/dist/esm/compliance/privacy/personal-data-declaration.shared.utils.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/personal-data-declaration.shared.utils.js +43 -0
- package/dist/esm/compliance/privacy/personal-data-declaration.shared.utils.js.map +1 -0
- package/dist/esm/compliance/privacy/privacy.shared.schemas.d.ts +56 -43
- package/dist/esm/compliance/privacy/privacy.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/privacy.shared.schemas.js +72 -18
- package/dist/esm/compliance/privacy/privacy.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/redaction.shared.schemas.d.ts +21 -3
- package/dist/esm/compliance/privacy/redaction.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/redaction.shared.schemas.js +19 -1
- package/dist/esm/compliance/privacy/redaction.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.d.ts +124 -0
- package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.js +107 -0
- package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/privacy/sharing.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/sharing.shared.schemas.js +1 -1
- package/dist/esm/compliance/privacy/sharing.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.d.ts +279 -0
- package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.js +238 -0
- package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/privacy/subject-export-render.shared.utils.d.ts +74 -0
- package/dist/esm/compliance/privacy/subject-export-render.shared.utils.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/subject-export-render.shared.utils.js +137 -0
- package/dist/esm/compliance/privacy/subject-export-render.shared.utils.js.map +1 -0
- package/dist/esm/compliance/privacy/subject-export.shared.schemas.d.ts +457 -0
- package/dist/esm/compliance/privacy/subject-export.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/subject-export.shared.schemas.js +549 -0
- package/dist/esm/compliance/privacy/subject-export.shared.schemas.js.map +1 -0
- package/dist/esm/config/analytics-value-moments.shared.schemas.d.ts +13 -13
- package/dist/esm/config/analytics-value-moments.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/analytics-value-moments.shared.schemas.js +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 +135 -125
- package/dist/esm/config/app-configuration-shared.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/app-configuration-shared.shared.schemas.js +74 -10
- package/dist/esm/config/app-configuration-shared.shared.schemas.js.map +1 -1
- package/dist/esm/config/app-frontend-type.shared.schemas.d.ts +94 -0
- package/dist/esm/config/app-frontend-type.shared.schemas.d.ts.map +1 -0
- package/dist/esm/config/app-frontend-type.shared.schemas.js +95 -0
- package/dist/esm/config/app-frontend-type.shared.schemas.js.map +1 -0
- package/dist/esm/config/auth-config-resolution.shared.utils.d.ts +35 -5
- package/dist/esm/config/auth-config-resolution.shared.utils.d.ts.map +1 -1
- package/dist/esm/config/auth-config-resolution.shared.utils.js +44 -2
- package/dist/esm/config/auth-config-resolution.shared.utils.js.map +1 -1
- package/dist/esm/config/brand-assets.shared.schemas.d.ts +89 -0
- package/dist/esm/config/brand-assets.shared.schemas.d.ts.map +1 -0
- package/dist/esm/config/brand-assets.shared.schemas.js +99 -0
- package/dist/esm/config/brand-assets.shared.schemas.js.map +1 -0
- package/dist/esm/config/configuration-validation.shared.schemas.d.ts +12 -1
- package/dist/esm/config/configuration-validation.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/configuration-validation.shared.schemas.js +12 -1
- package/dist/esm/config/configuration-validation.shared.schemas.js.map +1 -1
- package/dist/esm/config/entity-identity-config.shared.schemas.d.ts +170 -91
- package/dist/esm/config/entity-identity-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/entity-identity-config.shared.schemas.js +130 -19
- package/dist/esm/config/entity-identity-config.shared.schemas.js.map +1 -1
- package/dist/esm/config/frontend/chart-definition.shared.schemas.d.ts +167 -166
- package/dist/esm/config/frontend/chart-definition.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/frontend/chart-definition.shared.schemas.js +93 -9
- package/dist/esm/config/frontend/chart-definition.shared.schemas.js.map +1 -1
- package/dist/esm/config/frontend/chart-registration-alignment.shared.d.ts +69 -0
- package/dist/esm/config/frontend/chart-registration-alignment.shared.d.ts.map +1 -0
- package/dist/esm/config/frontend/chart-registration-alignment.shared.js +61 -0
- package/dist/esm/config/frontend/chart-registration-alignment.shared.js.map +1 -0
- package/dist/esm/config/frontend/navigation.shared.schemas.d.ts +110 -39
- package/dist/esm/config/frontend/navigation.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/frontend/navigation.shared.schemas.js +93 -9
- package/dist/esm/config/frontend/navigation.shared.schemas.js.map +1 -1
- package/dist/esm/config/frontend/onboarding.shared.schemas.d.ts +70 -134
- package/dist/esm/config/frontend/onboarding.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/frontend/onboarding.shared.schemas.js +27 -25
- 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 +1 -1
- package/dist/esm/config/postgresql.shared.schemas.js.map +1 -1
- package/dist/esm/config/registration-acquisition-policy.shared.utils.d.ts +24 -0
- package/dist/esm/config/registration-acquisition-policy.shared.utils.d.ts.map +1 -0
- package/dist/esm/config/registration-acquisition-policy.shared.utils.js +62 -0
- package/dist/esm/config/registration-acquisition-policy.shared.utils.js.map +1 -0
- package/dist/esm/config-authoring.entry.d.ts +5 -0
- package/dist/esm/config-authoring.entry.d.ts.map +1 -0
- package/dist/esm/config-authoring.entry.js +7 -0
- package/dist/esm/config-authoring.entry.js.map +1 -0
- package/dist/esm/crdt/crdt-merge.shared.utils.d.ts +1 -1
- package/dist/esm/crdt/crdt-merge.shared.utils.d.ts.map +1 -1
- package/dist/esm/crdt/crdt-merge.shared.utils.js +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 +66 -0
- package/dist/esm/data-seeding/data-seeding-config.shared.schemas.d.ts.map +1 -0
- package/dist/esm/data-seeding/data-seeding-config.shared.schemas.js +118 -0
- package/dist/esm/data-seeding/data-seeding-config.shared.schemas.js.map +1 -0
- package/dist/esm/errors/errors.custom-message-ref.shared.definitions.d.ts +348 -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 +357 -1
- package/dist/esm/errors/errors.custom-message-ref.shared.definitions.js.map +1 -1
- package/dist/esm/errors/errors.shared.definitions.d.ts +2 -2
- package/dist/esm/errors/errors.shared.definitions.d.ts.map +1 -1
- package/dist/esm/errors/errors.shared.definitions.js +12 -1
- package/dist/esm/errors/errors.shared.definitions.js.map +1 -1
- package/dist/esm/errors/errors.shared.schemas.d.ts +82 -36
- package/dist/esm/errors/errors.shared.schemas.d.ts.map +1 -1
- package/dist/esm/errors/errors.shared.schemas.js +100 -3
- package/dist/esm/errors/errors.shared.schemas.js.map +1 -1
- package/dist/esm/errors/errors.shared.utils.d.ts +1 -1
- package/dist/esm/errors/errors.shared.utils.d.ts.map +1 -1
- package/dist/esm/errors/errors.shared.utils.js +1 -1
- package/dist/esm/errors/errors.shared.utils.js.map +1 -1
- package/dist/esm/errors/resource-access-forbidden.shared.error.d.ts +16 -0
- package/dist/esm/errors/resource-access-forbidden.shared.error.d.ts.map +1 -0
- package/dist/esm/errors/resource-access-forbidden.shared.error.js +18 -0
- package/dist/esm/errors/resource-access-forbidden.shared.error.js.map +1 -0
- package/dist/esm/errors/zod-issue-formatting.shared.utils.d.ts +113 -0
- package/dist/esm/errors/zod-issue-formatting.shared.utils.d.ts.map +1 -0
- package/dist/esm/errors/zod-issue-formatting.shared.utils.js +102 -0
- package/dist/esm/errors/zod-issue-formatting.shared.utils.js.map +1 -0
- package/dist/esm/exports/tabular-csv.shared.utils.d.ts +42 -0
- package/dist/esm/exports/tabular-csv.shared.utils.d.ts.map +1 -0
- package/dist/esm/exports/tabular-csv.shared.utils.js +63 -0
- package/dist/esm/exports/tabular-csv.shared.utils.js.map +1 -0
- package/dist/esm/external-data/external-data-pipeline.shared.schemas.d.ts +347 -0
- package/dist/esm/external-data/external-data-pipeline.shared.schemas.d.ts.map +1 -0
- package/dist/esm/external-data/external-data-pipeline.shared.schemas.js +206 -0
- package/dist/esm/external-data/external-data-pipeline.shared.schemas.js.map +1 -0
- package/dist/esm/external-data.exports.d.ts +30 -0
- package/dist/esm/external-data.exports.d.ts.map +1 -0
- package/dist/esm/external-data.exports.js +30 -0
- package/dist/esm/external-data.exports.js.map +1 -0
- package/dist/esm/external-providers/compose-provider-registry.shared.d.ts +63 -0
- package/dist/esm/external-providers/compose-provider-registry.shared.d.ts.map +1 -0
- package/dist/esm/external-providers/compose-provider-registry.shared.js +102 -0
- package/dist/esm/external-providers/compose-provider-registry.shared.js.map +1 -0
- package/dist/esm/external-providers/engine-capabilities.shared.schemas.d.ts +164 -0
- package/dist/esm/external-providers/engine-capabilities.shared.schemas.d.ts.map +1 -0
- package/dist/esm/external-providers/engine-capabilities.shared.schemas.js +194 -0
- package/dist/esm/external-providers/engine-capabilities.shared.schemas.js.map +1 -0
- package/dist/esm/external-providers/engine-capability-resolution-mode.shared.d.ts +39 -0
- package/dist/esm/external-providers/engine-capability-resolution-mode.shared.d.ts.map +1 -0
- package/dist/esm/external-providers/engine-capability-resolution-mode.shared.js +85 -0
- package/dist/esm/external-providers/engine-capability-resolution-mode.shared.js.map +1 -0
- package/dist/esm/external-providers/external-providers.shared.schemas.d.ts +22 -22
- package/dist/esm/external-providers/external-providers.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/external-providers.shared.schemas.js +5 -5
- package/dist/esm/external-providers/external-providers.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.d.ts +319 -0
- package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.d.ts.map +1 -0
- package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.js +17 -0
- package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.js.map +1 -0
- package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.d.ts +35 -0
- package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.d.ts.map +1 -0
- package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.js +19 -0
- package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.js.map +1 -0
- package/dist/esm/external-providers/provider-capability.shared.schemas.d.ts +135 -0
- package/dist/esm/external-providers/provider-capability.shared.schemas.d.ts.map +1 -0
- package/dist/esm/external-providers/provider-capability.shared.schemas.js +102 -0
- package/dist/esm/external-providers/provider-capability.shared.schemas.js.map +1 -0
- package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.d.ts +175 -0
- package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.d.ts.map +1 -0
- package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.js +211 -0
- package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.js.map +1 -0
- package/dist/esm/external-providers/provider-metadata.shared.schemas.d.ts +37 -0
- package/dist/esm/external-providers/provider-metadata.shared.schemas.d.ts.map +1 -0
- package/dist/esm/external-providers/provider-metadata.shared.schemas.js +58 -0
- package/dist/esm/external-providers/provider-metadata.shared.schemas.js.map +1 -0
- package/dist/esm/external-providers/provider-protocol.shared.schemas.d.ts +65 -0
- package/dist/esm/external-providers/provider-protocol.shared.schemas.d.ts.map +1 -0
- package/dist/esm/external-providers/provider-protocol.shared.schemas.js +63 -0
- package/dist/esm/external-providers/provider-protocol.shared.schemas.js.map +1 -0
- package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.d.ts +99 -0
- package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.d.ts.map +1 -0
- package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.js +137 -0
- package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.js.map +1 -0
- package/dist/esm/features/application-features.shared.resources-config.schemas.d.ts +39 -0
- package/dist/esm/features/application-features.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/features/application-features.shared.resources-config.schemas.js +147 -0
- package/dist/esm/features/application-features.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/features/core-feature-definitions.shared.d.ts +17 -2
- package/dist/esm/features/core-feature-definitions.shared.d.ts.map +1 -1
- package/dist/esm/features/core-feature-definitions.shared.js +91 -3
- package/dist/esm/features/core-feature-definitions.shared.js.map +1 -1
- package/dist/esm/features/feature-builders.shared.d.ts +13 -2
- package/dist/esm/features/feature-builders.shared.d.ts.map +1 -1
- package/dist/esm/features/feature-builders.shared.js +3 -1
- package/dist/esm/features/feature-builders.shared.js.map +1 -1
- package/dist/esm/features/feature-definition.shared.schemas.d.ts +70 -24
- package/dist/esm/features/feature-definition.shared.schemas.d.ts.map +1 -1
- package/dist/esm/features/feature-definition.shared.schemas.js +84 -1
- package/dist/esm/features/feature-definition.shared.schemas.js.map +1 -1
- package/dist/esm/features/feature-registry.shared.d.ts +8 -9
- package/dist/esm/features/feature-registry.shared.d.ts.map +1 -1
- package/dist/esm/features/feature-registry.shared.js +5 -8
- package/dist/esm/features/feature-registry.shared.js.map +1 -1
- package/dist/esm/features/feature-resolution.shared.schemas.d.ts +1 -1
- package/dist/esm/features/feature-resolution.shared.schemas.d.ts.map +1 -1
- package/dist/esm/features/feature-resolution.shared.schemas.js +1 -1
- package/dist/esm/features/feature-resolution.shared.schemas.js.map +1 -1
- package/dist/esm/features/scope-features.shared.schemas.d.ts +9 -10
- package/dist/esm/features/scope-features.shared.schemas.d.ts.map +1 -1
- package/dist/esm/features/scope-features.shared.schemas.js +20 -6
- package/dist/esm/features/scope-features.shared.schemas.js.map +1 -1
- package/dist/esm/features/user-features.shared.resources-config.schemas.d.ts +9 -9
- 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 +35 -1
- package/dist/esm/features/user-features.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/files/files.shared.resources-config.schemas.d.ts +35 -9
- package/dist/esm/files/files.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/files/files.shared.resources-config.schemas.js +27 -5
- package/dist/esm/files/files.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/files/files.shared.schemas.d.ts +71 -13
- package/dist/esm/files/files.shared.schemas.d.ts.map +1 -1
- package/dist/esm/files/files.shared.schemas.js +110 -35
- package/dist/esm/files/files.shared.schemas.js.map +1 -1
- package/dist/esm/files/files.shared.utils.d.ts +9 -5
- package/dist/esm/files/files.shared.utils.d.ts.map +1 -1
- package/dist/esm/files/files.shared.utils.js +10 -6
- 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 +40 -0
- package/dist/esm/flows-actors/a2a-push-delivery-log.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/a2a-push-delivery-log.shared.resources-config.schemas.js +204 -0
- package/dist/esm/flows-actors/a2a-push-delivery-log.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/flows-actors/a2a-push-delivery-log.shared.schemas.d.ts +113 -0
- package/dist/esm/flows-actors/a2a-push-delivery-log.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/a2a-push-delivery-log.shared.schemas.js +153 -0
- package/dist/esm/flows-actors/a2a-push-delivery-log.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/a2a-token-budget-state.shared.resources-config.schemas.d.ts +61 -0
- package/dist/esm/flows-actors/a2a-token-budget-state.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/a2a-token-budget-state.shared.resources-config.schemas.js +143 -0
- package/dist/esm/flows-actors/a2a-token-budget-state.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/flows-actors/a2a-token-budget-state.shared.schemas.d.ts +77 -0
- package/dist/esm/flows-actors/a2a-token-budget-state.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/a2a-token-budget-state.shared.schemas.js +103 -0
- package/dist/esm/flows-actors/a2a-token-budget-state.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/actors.shared.schemas.d.ts +339 -326
- package/dist/esm/flows-actors/actors.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/actors.shared.schemas.js +29 -6
- package/dist/esm/flows-actors/actors.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/agent-traceability.shared.schemas.d.ts +237 -0
- package/dist/esm/flows-actors/agent-traceability.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/agent-traceability.shared.schemas.js +152 -0
- package/dist/esm/flows-actors/agent-traceability.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/agents.shared.schemas.d.ts +180 -23
- package/dist/esm/flows-actors/agents.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/agents.shared.schemas.js +69 -2
- package/dist/esm/flows-actors/agents.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/apps-blueprint/apps-blueprint-agent-personas.shared.enums.d.ts +19 -0
- package/dist/esm/flows-actors/apps-blueprint/apps-blueprint-agent-personas.shared.enums.d.ts.map +1 -0
- package/dist/esm/flows-actors/apps-blueprint/apps-blueprint-agent-personas.shared.enums.js +35 -0
- package/dist/esm/flows-actors/apps-blueprint/apps-blueprint-agent-personas.shared.enums.js.map +1 -0
- package/dist/esm/flows-actors/apps-blueprint/apps-blueprint.shared.schemas.d.ts +29 -45
- package/dist/esm/flows-actors/apps-blueprint/apps-blueprint.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/apps-blueprint/apps-blueprint.shared.schemas.js +2 -34
- package/dist/esm/flows-actors/apps-blueprint/apps-blueprint.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/apps-blueprint/artifacts.apps-blueprint.shared.schemas.d.ts +2 -2
- package/dist/esm/flows-actors/apps-blueprint/artifacts.apps-blueprint.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/apps-blueprint/artifacts.apps-blueprint.shared.schemas.js +1 -1
- package/dist/esm/flows-actors/apps-blueprint/artifacts.apps-blueprint.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/deliberation.shared.schemas.d.ts +642 -0
- package/dist/esm/flows-actors/deliberation.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/deliberation.shared.schemas.js +604 -0
- package/dist/esm/flows-actors/deliberation.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/flows-actors-execution.shared.resources-config.schemas.d.ts +48 -0
- package/dist/esm/flows-actors/flows-actors-execution.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/flows-actors-execution.shared.resources-config.schemas.js +179 -0
- package/dist/esm/flows-actors/flows-actors-execution.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.d.ts +200 -0
- package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.js +337 -0
- package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/flows-actors-task.shared.resources-config.schemas.d.ts +59 -0
- package/dist/esm/flows-actors/flows-actors-task.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/flows-actors-task.shared.resources-config.schemas.js +223 -0
- package/dist/esm/flows-actors/flows-actors-task.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/flows-actors/flows-actors-task.shared.schemas.d.ts +426 -0
- package/dist/esm/flows-actors/flows-actors-task.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/flows-actors-task.shared.schemas.js +317 -0
- package/dist/esm/flows-actors/flows-actors-task.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.d.ts +109 -58
- 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 +48 -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 +62 -62
- 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 +2 -2
- 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 +112 -11
- 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 +63 -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 +60 -20
- 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 +36 -3
- 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 +35 -0
- package/dist/esm/flows-actors/flows-actors.system.shared.definitions.d.ts.map +1 -0
- package/dist/esm/flows-actors/flows-actors.system.shared.definitions.js +1 -0
- package/dist/esm/flows-actors/flows-actors.system.shared.definitions.js.map +1 -0
- package/dist/esm/flows-actors/flows-actors.system.shared.schemas.d.ts +88 -63
- 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 +32 -5
- package/dist/esm/flows-actors/flows-actors.system.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/flows.shared.schemas.d.ts +63 -49
- package/dist/esm/flows-actors/flows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/flows.shared.schemas.js +1 -1
- package/dist/esm/flows-actors/flows.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/meta-workflows/actions.meta-workflows.shared.schemas.d.ts +73 -0
- package/dist/esm/flows-actors/meta-workflows/actions.meta-workflows.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/meta-workflows/actions.meta-workflows.shared.schemas.js +149 -0
- package/dist/esm/flows-actors/meta-workflows/actions.meta-workflows.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.d.ts +20 -0
- package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.js +34 -0
- package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/meta-workflows/catalog.meta-workflows.shared.schemas.d.ts +125 -0
- package/dist/esm/flows-actors/meta-workflows/catalog.meta-workflows.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/meta-workflows/catalog.meta-workflows.shared.schemas.js +136 -0
- package/dist/esm/flows-actors/meta-workflows/catalog.meta-workflows.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/meta-workflows/context-selection.meta-workflows.shared.schemas.d.ts +180 -0
- package/dist/esm/flows-actors/meta-workflows/context-selection.meta-workflows.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/meta-workflows/context-selection.meta-workflows.shared.schemas.js +187 -0
- package/dist/esm/flows-actors/meta-workflows/context-selection.meta-workflows.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/meta-workflows/continuity-identifiers.meta-workflows.shared.schemas.d.ts +28 -0
- package/dist/esm/flows-actors/meta-workflows/continuity-identifiers.meta-workflows.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/meta-workflows/continuity-identifiers.meta-workflows.shared.schemas.js +28 -0
- package/dist/esm/flows-actors/meta-workflows/continuity-identifiers.meta-workflows.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/meta-workflows/decisions.meta-workflows.shared.schemas.d.ts +446 -0
- package/dist/esm/flows-actors/meta-workflows/decisions.meta-workflows.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/meta-workflows/decisions.meta-workflows.shared.schemas.js +678 -0
- package/dist/esm/flows-actors/meta-workflows/decisions.meta-workflows.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.d.ts +106 -0
- package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.js +243 -0
- package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/meta-workflows/execution-binding-vocabularies.meta-workflows.shared.schemas.d.ts +29 -0
- package/dist/esm/flows-actors/meta-workflows/execution-binding-vocabularies.meta-workflows.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/meta-workflows/execution-binding-vocabularies.meta-workflows.shared.schemas.js +58 -0
- package/dist/esm/flows-actors/meta-workflows/execution-binding-vocabularies.meta-workflows.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/meta-workflows/portable-primitives.meta-workflows.shared.schemas.d.ts +61 -0
- package/dist/esm/flows-actors/meta-workflows/portable-primitives.meta-workflows.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/meta-workflows/portable-primitives.meta-workflows.shared.schemas.js +93 -0
- package/dist/esm/flows-actors/meta-workflows/portable-primitives.meta-workflows.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/prompt-ir.shared.schemas.d.ts +5 -5
- package/dist/esm/flows-actors/prompt-ir.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/prompt-ir.shared.schemas.js +2 -2
- package/dist/esm/flows-actors/prompt-ir.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/task-continuity-binding.actors.shared.schemas.d.ts +81 -0
- package/dist/esm/flows-actors/task-continuity-binding.actors.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/task-continuity-binding.actors.shared.schemas.js +82 -0
- package/dist/esm/flows-actors/task-continuity-binding.actors.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/tasks.actors.shared.schemas.d.ts +257 -194
- package/dist/esm/flows-actors/tasks.actors.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/tasks.actors.shared.schemas.js +28 -2
- package/dist/esm/flows-actors/tasks.actors.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/utils/flow-actors.context-builder.apps-context.shared.utils.d.ts.map +1 -1
- package/dist/esm/flows-actors/utils/flow-actors.context-builder.apps-context.shared.utils.js +1 -1
- package/dist/esm/flows-actors/utils/flow-actors.context-builder.apps-context.shared.utils.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 +1 -1
- package/dist/esm/frontend-definitions/frontend-notification-custom-message-ref.definitions.js.map +1 -1
- package/dist/esm/guidance/guidance-flow.shared.schemas.d.ts +51 -89
- package/dist/esm/guidance/guidance-flow.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/guidance-flow.shared.schemas.js +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 +22 -19
- 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 +61 -5
- package/dist/esm/guidance/guidance-state.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/guidance/guidance-state.shared.schemas.d.ts +46 -10
- package/dist/esm/guidance/guidance-state.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/guidance-state.shared.schemas.js +15 -4
- package/dist/esm/guidance/guidance-state.shared.schemas.js.map +1 -1
- package/dist/esm/guidance/guidance-state.shared.utils.d.ts +25 -0
- package/dist/esm/guidance/guidance-state.shared.utils.d.ts.map +1 -0
- package/dist/esm/guidance/guidance-state.shared.utils.js +72 -0
- package/dist/esm/guidance/guidance-state.shared.utils.js.map +1 -0
- package/dist/esm/guidance/lifecycle-config.shared.schemas.d.ts +11 -11
- package/dist/esm/guidance/lifecycle-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/lifecycle-config.shared.schemas.js +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 +28 -25
- 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 +71 -7
- package/dist/esm/guidance/lifecycle-state.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/guidance/lifecycle-state.shared.schemas.d.ts +53 -14
- package/dist/esm/guidance/lifecycle-state.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/lifecycle-state.shared.schemas.js +26 -25
- package/dist/esm/guidance/lifecycle-state.shared.schemas.js.map +1 -1
- package/dist/esm/guidance/milestone-builders.shared.d.ts +2 -2
- package/dist/esm/guidance/milestone-builders.shared.d.ts.map +1 -1
- package/dist/esm/guidance/milestone-builders.shared.js +1 -1
- package/dist/esm/guidance/milestone-builders.shared.js.map +1 -1
- package/dist/esm/guidance/milestone-definition.shared.schemas.d.ts +2 -2
- package/dist/esm/guidance/milestone-definition.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/milestone-definition.shared.schemas.js +1 -1
- package/dist/esm/guidance/milestone-definition.shared.schemas.js.map +1 -1
- package/dist/esm/guidance/progression-state.shared.resources-config.schemas.d.ts +22 -19
- 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 +72 -7
- package/dist/esm/guidance/progression-state.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/guidance/progression-state.shared.schemas.d.ts +40 -10
- package/dist/esm/guidance/progression-state.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/progression-state.shared.schemas.js +16 -6
- 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 +69 -0
- package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.d.ts.map +1 -0
- package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.js +232 -0
- package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.js.map +1 -0
- package/dist/esm/http-api-binding/http-api-binding.shared.schemas.d.ts +566 -0
- package/dist/esm/http-api-binding/http-api-binding.shared.schemas.d.ts.map +1 -0
- package/dist/esm/http-api-binding/http-api-binding.shared.schemas.js +513 -0
- package/dist/esm/http-api-binding/http-api-binding.shared.schemas.js.map +1 -0
- package/dist/esm/i18n/interpolate-label-params.shared.utils.d.ts +52 -0
- package/dist/esm/i18n/interpolate-label-params.shared.utils.d.ts.map +1 -0
- package/dist/esm/i18n/interpolate-label-params.shared.utils.js +63 -0
- package/dist/esm/i18n/interpolate-label-params.shared.utils.js.map +1 -0
- package/dist/esm/i18n/labelling.dto.shared.schemas.d.ts +3 -3
- package/dist/esm/i18n/labelling.dto.shared.schemas.d.ts.map +1 -1
- package/dist/esm/i18n/labelling.dto.shared.schemas.js +1 -1
- package/dist/esm/i18n/labelling.dto.shared.schemas.js.map +1 -1
- package/dist/esm/index.d.ts +277 -200
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +122 -15
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/meta-workflows.exports.d.ts +51 -0
- package/dist/esm/meta-workflows.exports.d.ts.map +1 -0
- package/dist/esm/meta-workflows.exports.js +51 -0
- package/dist/esm/meta-workflows.exports.js.map +1 -0
- package/dist/esm/monitoring/monitoring.shared.schemas.d.ts +16 -16
- package/dist/esm/monitoring/monitoring.shared.schemas.d.ts.map +1 -1
- package/dist/esm/monitoring/monitoring.shared.schemas.js +1 -1
- package/dist/esm/monitoring/monitoring.shared.schemas.js.map +1 -1
- package/dist/esm/notifications/email/email-context.shared.schemas.d.ts +9 -9
- package/dist/esm/notifications/email/email-context.shared.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/email/email-context.shared.schemas.js +8 -3
- package/dist/esm/notifications/email/email-context.shared.schemas.js.map +1 -1
- package/dist/esm/notifications/email/email-template-registry.shared.schemas.d.ts +33 -46
- 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 +20 -140
- 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 +145 -0
- package/dist/esm/notifications/email/email-template.shared.enums.d.ts.map +1 -0
- package/dist/esm/notifications/email/email-template.shared.enums.js +164 -0
- package/dist/esm/notifications/email/email-template.shared.enums.js.map +1 -0
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.d.ts +43 -0
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.js +231 -0
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.d.ts +159 -0
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.d.ts.map +1 -0
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.js +191 -0
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.js.map +1 -0
- package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.d.ts +62 -0
- package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.js +183 -0
- package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/notifications/m2m/webhook-config.shared.schemas.d.ts +134 -0
- package/dist/esm/notifications/m2m/webhook-config.shared.schemas.d.ts.map +1 -0
- package/dist/esm/notifications/m2m/webhook-config.shared.schemas.js +159 -0
- package/dist/esm/notifications/m2m/webhook-config.shared.schemas.js.map +1 -0
- package/dist/esm/notifications/notification-badges.core.definitions.d.ts +10 -1
- package/dist/esm/notifications/notification-badges.core.definitions.d.ts.map +1 -1
- package/dist/esm/notifications/notification-badges.core.definitions.js +11 -13
- package/dist/esm/notifications/notification-badges.core.definitions.js.map +1 -1
- package/dist/esm/notifications/notification-badges.schemas.d.ts +147 -43
- package/dist/esm/notifications/notification-badges.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/notification-badges.schemas.js +130 -23
- package/dist/esm/notifications/notification-badges.schemas.js.map +1 -1
- package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.d.ts +40 -15
- 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 +149 -23
- package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/notifications/notifications.shared.schemas.d.ts +352 -25
- package/dist/esm/notifications/notifications.shared.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/notifications.shared.schemas.js +47 -2
- package/dist/esm/notifications/notifications.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-features.shared.resources-config.schemas.d.ts +21 -10
- 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 +54 -47
- package/dist/esm/organizations/organization-features.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-features.shared.schemas.d.ts +10 -2
- package/dist/esm/organizations/organization-features.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-features.shared.schemas.js +10 -2
- package/dist/esm/organizations/organization-features.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-members.shared.resources-config.schemas.d.ts +31 -17
- 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 +294 -54
- package/dist/esm/organizations/organization-members.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-members.shared.schemas.d.ts +31 -41
- package/dist/esm/organizations/organization-members.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-members.shared.schemas.js +181 -37
- package/dist/esm/organizations/organization-members.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-notifications.shared.resources-config.schemas.d.ts +8 -8
- 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 +43 -2
- package/dist/esm/organizations/organization-notifications.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-notifications.shared.schemas.d.ts +25 -4
- package/dist/esm/organizations/organization-notifications.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-notifications.shared.schemas.js +35 -15
- package/dist/esm/organizations/organization-notifications.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-preferences.shared.resources-config.schemas.d.ts +7 -7
- 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 +42 -3
- package/dist/esm/organizations/organization-preferences.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-preferences.shared.schemas.d.ts +4 -4
- package/dist/esm/organizations/organization-preferences.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-preferences.shared.schemas.js +17 -4
- package/dist/esm/organizations/organization-preferences.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-profile.shared.resources-config.schemas.d.ts +10 -10
- 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 +32 -2
- package/dist/esm/organizations/organization-profile.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-profile.shared.schemas.d.ts +6 -6
- package/dist/esm/organizations/organization-profile.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-profile.shared.schemas.js +28 -2
- package/dist/esm/organizations/organization-profile.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-unit-inheritance.shared.d.ts +94 -0
- package/dist/esm/organizations/organization-unit-inheritance.shared.d.ts.map +1 -0
- package/dist/esm/organizations/organization-unit-inheritance.shared.js +96 -0
- package/dist/esm/organizations/organization-unit-inheritance.shared.js.map +1 -0
- package/dist/esm/organizations/organization-unit-members.shared.resources-config.schemas.d.ts +30 -0
- package/dist/esm/organizations/organization-unit-members.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/organizations/organization-unit-members.shared.resources-config.schemas.js +97 -0
- package/dist/esm/organizations/organization-unit-members.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/organizations/organization-unit-members.shared.schemas.d.ts +56 -0
- package/dist/esm/organizations/organization-unit-members.shared.schemas.d.ts.map +1 -0
- package/dist/esm/organizations/organization-unit-members.shared.schemas.js +92 -0
- package/dist/esm/organizations/organization-unit-members.shared.schemas.js.map +1 -0
- package/dist/esm/organizations/organization-unit-narrowing-decision.shared.d.ts +130 -0
- package/dist/esm/organizations/organization-unit-narrowing-decision.shared.d.ts.map +1 -0
- package/dist/esm/organizations/organization-unit-narrowing-decision.shared.js +139 -0
- package/dist/esm/organizations/organization-unit-narrowing-decision.shared.js.map +1 -0
- package/dist/esm/organizations/organization-unit-narrowing.example.d.ts +27 -0
- package/dist/esm/organizations/organization-unit-narrowing.example.d.ts.map +1 -0
- package/dist/esm/organizations/organization-unit-narrowing.example.js +29 -0
- package/dist/esm/organizations/organization-unit-narrowing.example.js.map +1 -0
- package/dist/esm/organizations/organization-unit-narrowing.shared.d.ts +137 -0
- package/dist/esm/organizations/organization-unit-narrowing.shared.d.ts.map +1 -0
- package/dist/esm/organizations/organization-unit-narrowing.shared.js +133 -0
- package/dist/esm/organizations/organization-unit-narrowing.shared.js.map +1 -0
- package/dist/esm/organizations/organization-units.shared.path.d.ts +103 -0
- package/dist/esm/organizations/organization-units.shared.path.d.ts.map +1 -0
- package/dist/esm/organizations/organization-units.shared.path.js +120 -0
- package/dist/esm/organizations/organization-units.shared.path.js.map +1 -0
- package/dist/esm/organizations/organization-units.shared.resources-config.schemas.d.ts +8 -8
- 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 +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 +69 -8
- package/dist/esm/organizations/organization-units.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-units.shared.schemas.js +89 -5
- package/dist/esm/organizations/organization-units.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organizations.shared.resources-config.schemas.d.ts +46 -11
- package/dist/esm/organizations/organizations.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organizations.shared.resources-config.schemas.js +505 -34
- package/dist/esm/organizations/organizations.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organizations.shared.schemas.d.ts +95 -39
- package/dist/esm/organizations/organizations.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organizations.shared.schemas.js +228 -6
- package/dist/esm/organizations/organizations.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/tenant-teardown-config.shared.schemas.d.ts +36 -0
- package/dist/esm/organizations/tenant-teardown-config.shared.schemas.d.ts.map +1 -0
- package/dist/esm/organizations/tenant-teardown-config.shared.schemas.js +66 -0
- package/dist/esm/organizations/tenant-teardown-config.shared.schemas.js.map +1 -0
- package/dist/esm/provider-registration-runtime.exports.d.ts +4 -0
- package/dist/esm/provider-registration-runtime.exports.d.ts.map +1 -0
- package/dist/esm/provider-registration-runtime.exports.js +4 -0
- package/dist/esm/provider-registration-runtime.exports.js.map +1 -0
- package/dist/esm/public-runtime/index.d.ts +164 -0
- package/dist/esm/public-runtime/index.d.ts.map +1 -0
- package/dist/esm/public-runtime/index.js +164 -0
- package/dist/esm/public-runtime/index.js.map +1 -0
- package/dist/esm/queue/jobs.shared.resources-config.schemas.d.ts +4 -4
- package/dist/esm/queue/jobs.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/queue/jobs.shared.resources-config.schemas.js +12 -1
- package/dist/esm/queue/jobs.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/queue/jobs.shared.schemas.d.ts +114 -42
- package/dist/esm/queue/jobs.shared.schemas.d.ts.map +1 -1
- package/dist/esm/queue/jobs.shared.schemas.js +114 -12
- package/dist/esm/queue/jobs.shared.schemas.js.map +1 -1
- package/dist/esm/queue/jobs.shared.utils.d.ts +3 -3
- package/dist/esm/queue/jobs.shared.utils.d.ts.map +1 -1
- package/dist/esm/queue/jobs.shared.utils.js +2 -2
- package/dist/esm/queue/jobs.shared.utils.js.map +1 -1
- package/dist/esm/queue/queues.shared.schemas.d.ts +17 -15
- package/dist/esm/queue/queues.shared.schemas.d.ts.map +1 -1
- package/dist/esm/queue/queues.shared.schemas.js +14 -5
- package/dist/esm/queue/queues.shared.schemas.js.map +1 -1
- package/dist/esm/queue/queues.shared.utils.d.ts +137 -6
- package/dist/esm/queue/queues.shared.utils.d.ts.map +1 -1
- package/dist/esm/queue/queues.shared.utils.js +161 -9
- 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 +1 -1
- package/dist/esm/queue/rabbitmq-queue-args.shared.js.map +1 -1
- package/dist/esm/requests/header-keys.shared.d.ts +23 -1
- package/dist/esm/requests/header-keys.shared.d.ts.map +1 -1
- package/dist/esm/requests/header-keys.shared.js +45 -2
- package/dist/esm/requests/header-keys.shared.js.map +1 -1
- package/dist/esm/requests/http-requests.shared.d.ts +1 -0
- package/dist/esm/requests/http-requests.shared.d.ts.map +1 -1
- package/dist/esm/requests/http-requests.shared.js +2 -1
- package/dist/esm/requests/http-requests.shared.js.map +1 -1
- package/dist/esm/requests/manual-controllers-routes-urls.d.ts +189 -5
- package/dist/esm/requests/manual-controllers-routes-urls.d.ts.map +1 -1
- package/dist/esm/requests/manual-controllers-routes-urls.js +255 -6
- package/dist/esm/requests/manual-controllers-routes-urls.js.map +1 -1
- package/dist/esm/requests/rate-limits.shared.schemas.d.ts +75 -24
- package/dist/esm/requests/rate-limits.shared.schemas.d.ts.map +1 -1
- package/dist/esm/requests/rate-limits.shared.schemas.js +80 -18
- package/dist/esm/requests/rate-limits.shared.schemas.js.map +1 -1
- package/dist/esm/requests/websocket.shared.schemas.d.ts +248 -120
- package/dist/esm/requests/websocket.shared.schemas.d.ts.map +1 -1
- package/dist/esm/requests/websocket.shared.schemas.js +92 -2
- package/dist/esm/requests/websocket.shared.schemas.js.map +1 -1
- package/dist/esm/resources/child-operations.shared.schemas.d.ts +128 -23
- package/dist/esm/resources/child-operations.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/child-operations.shared.schemas.js +147 -11
- package/dist/esm/resources/child-operations.shared.schemas.js.map +1 -1
- package/dist/esm/resources/context-policy.shared.schemas.d.ts +4 -4
- package/dist/esm/resources/context-policy.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/context-policy.shared.schemas.js +1 -1
- package/dist/esm/resources/context-policy.shared.schemas.js.map +1 -1
- package/dist/esm/resources/relationship-display.shared.schemas.d.ts +31 -1352
- package/dist/esm/resources/relationship-display.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/relationship-display.shared.schemas.js +13 -161
- package/dist/esm/resources/relationship-display.shared.schemas.js.map +1 -1
- package/dist/esm/resources/resources-config.shared.factory.d.ts +60 -5
- package/dist/esm/resources/resources-config.shared.factory.d.ts.map +1 -1
- package/dist/esm/resources/resources-config.shared.factory.js +1507 -87
- package/dist/esm/resources/resources-config.shared.factory.js.map +1 -1
- package/dist/esm/resources/resources-config.shared.schemas.d.ts +1638 -43
- package/dist/esm/resources/resources-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/resources-config.shared.schemas.js +478 -13
- package/dist/esm/resources/resources-config.shared.schemas.js.map +1 -1
- package/dist/esm/resources/resources-registry.shared.core.definitions.d.ts +3 -3
- package/dist/esm/resources/resources-registry.shared.core.definitions.d.ts.map +1 -1
- package/dist/esm/resources/resources-registry.shared.core.definitions.js +782 -96
- package/dist/esm/resources/resources-registry.shared.core.definitions.js.map +1 -1
- package/dist/esm/resources/resources-relationships.shared.factory.d.ts +37 -7
- package/dist/esm/resources/resources-relationships.shared.factory.d.ts.map +1 -1
- package/dist/esm/resources/resources-relationships.shared.factory.js +76 -24
- package/dist/esm/resources/resources-relationships.shared.factory.js.map +1 -1
- package/dist/esm/resources/resources-serialization.shared.schemas.d.ts +19 -19
- package/dist/esm/resources/resources-serialization.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/resources-serialization.shared.schemas.js +1 -1
- package/dist/esm/resources/resources-serialization.shared.schemas.js.map +1 -1
- package/dist/esm/resources/resources.shared.core.definitions.d.ts +84 -8
- package/dist/esm/resources/resources.shared.core.definitions.d.ts.map +1 -1
- package/dist/esm/resources/resources.shared.core.definitions.js +165 -19
- package/dist/esm/resources/resources.shared.core.definitions.js.map +1 -1
- package/dist/esm/resources/resources.shared.schemas.d.ts +582 -602
- package/dist/esm/resources/resources.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/resources.shared.schemas.js +581 -5
- package/dist/esm/resources/resources.shared.schemas.js.map +1 -1
- package/dist/esm/resources/resources.shared.utils.d.ts +363 -15
- package/dist/esm/resources/resources.shared.utils.d.ts.map +1 -1
- package/dist/esm/resources/resources.shared.utils.js +569 -16
- package/dist/esm/resources/resources.shared.utils.js.map +1 -1
- package/dist/esm/resources/utils/collection-export.shared.utils.d.ts +65 -0
- package/dist/esm/resources/utils/collection-export.shared.utils.d.ts.map +1 -0
- package/dist/esm/resources/utils/collection-export.shared.utils.js +150 -0
- package/dist/esm/resources/utils/collection-export.shared.utils.js.map +1 -0
- package/dist/esm/resources/utils/composition-cascade-deletability.validation.d.ts +134 -0
- package/dist/esm/resources/utils/composition-cascade-deletability.validation.d.ts.map +1 -0
- package/dist/esm/resources/utils/composition-cascade-deletability.validation.js +167 -0
- package/dist/esm/resources/utils/composition-cascade-deletability.validation.js.map +1 -0
- package/dist/esm/resources/utils/composition-seedability.validation.d.ts +63 -0
- package/dist/esm/resources/utils/composition-seedability.validation.d.ts.map +1 -0
- package/dist/esm/resources/utils/composition-seedability.validation.js +75 -0
- package/dist/esm/resources/utils/composition-seedability.validation.js.map +1 -0
- package/dist/esm/resources/utils/context-addressed-composition-singleton.shared.utils.d.ts +10 -0
- package/dist/esm/resources/utils/context-addressed-composition-singleton.shared.utils.d.ts.map +1 -0
- package/dist/esm/resources/utils/context-addressed-composition-singleton.shared.utils.js +25 -0
- package/dist/esm/resources/utils/context-addressed-composition-singleton.shared.utils.js.map +1 -0
- package/dist/esm/resources/utils/duplicate-relationship-registration.validation.d.ts +111 -0
- package/dist/esm/resources/utils/duplicate-relationship-registration.validation.d.ts.map +1 -0
- package/dist/esm/resources/utils/duplicate-relationship-registration.validation.js +109 -0
- package/dist/esm/resources/utils/duplicate-relationship-registration.validation.js.map +1 -0
- package/dist/esm/resources/utils/persistence-adapter-discrimination.shared.utils.d.ts +52 -0
- package/dist/esm/resources/utils/persistence-adapter-discrimination.shared.utils.d.ts.map +1 -0
- package/dist/esm/resources/utils/persistence-adapter-discrimination.shared.utils.js +57 -0
- package/dist/esm/resources/utils/persistence-adapter-discrimination.shared.utils.js.map +1 -0
- package/dist/esm/resources/utils/repository-dto-builder.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/repository-dto-builder.utils.js +1 -1
- package/dist/esm/resources/utils/repository-dto-builder.utils.js.map +1 -1
- package/dist/esm/resources/utils/required-fk-fillability.validation.d.ts +108 -0
- package/dist/esm/resources/utils/required-fk-fillability.validation.d.ts.map +1 -0
- package/dist/esm/resources/utils/required-fk-fillability.validation.js +186 -0
- package/dist/esm/resources/utils/required-fk-fillability.validation.js.map +1 -0
- package/dist/esm/resources/utils/resource-operation-type-guards.utils.d.ts +107 -3
- 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 +133 -2
- package/dist/esm/resources/utils/resource-operation-type-guards.utils.js.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.factory.d.ts +39 -31
- package/dist/esm/resources/utils/resource-polymorphism.factory.d.ts.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.factory.js +9 -9
- package/dist/esm/resources/utils/resource-polymorphism.factory.js.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.relationships.d.ts +7 -7
- package/dist/esm/resources/utils/resource-polymorphism.relationships.d.ts.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.relationships.js +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.relationships.js.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.schemas.d.ts +139 -5
- package/dist/esm/resources/utils/resource-polymorphism.schemas.d.ts.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.schemas.js +301 -3
- package/dist/esm/resources/utils/resource-polymorphism.schemas.js.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.utils.d.ts +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.utils.js +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.utils.js.map +1 -1
- package/dist/esm/resources/utils/resource-subtree.utils.d.ts +1 -1
- package/dist/esm/resources/utils/resource-subtree.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resource-subtree.utils.js +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 +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 +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 +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 +256 -39
- 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 +898 -233
- 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 +16 -6
- 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 +35 -10
- 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 +120 -20
- 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 +394 -81
- 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 +2 -2
- package/dist/esm/resources/utils/resources-config-operations.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resources-config-operations.utils.js +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 +77 -2
- package/dist/esm/resources/utils/resources-serialization.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resources-serialization.utils.js +80 -1
- package/dist/esm/resources/utils/resources-serialization.utils.js.map +1 -1
- package/dist/esm/resources/utils/resources-summary.utils.d.ts +1 -1
- package/dist/esm/resources/utils/resources-summary.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resources-summary.utils.js +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 +21 -3
- package/dist/esm/resources/utils/schema-family-builder.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/schema-family-builder.utils.js +7 -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 +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 +1 -1
- package/dist/esm/resources/utils/schema-type-utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/schema-type-utils.js +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 +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 +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 +203 -0
- package/dist/esm/resources/utils/shared-persistence-collection.utils.d.ts.map +1 -0
- package/dist/esm/resources/utils/shared-persistence-collection.utils.js +284 -0
- package/dist/esm/resources/utils/shared-persistence-collection.utils.js.map +1 -0
- package/dist/esm/resources/utils/templatable-file-fields.shared.utils.d.ts +25 -0
- package/dist/esm/resources/utils/templatable-file-fields.shared.utils.d.ts.map +1 -0
- package/dist/esm/resources/utils/templatable-file-fields.shared.utils.js +322 -0
- package/dist/esm/resources/utils/templatable-file-fields.shared.utils.js.map +1 -0
- package/dist/esm/runtime/domain-module.shared.definitions.d.ts +32 -10
- package/dist/esm/runtime/domain-module.shared.definitions.d.ts.map +1 -1
- package/dist/esm/runtime/domain-module.shared.definitions.js +3 -2
- package/dist/esm/runtime/domain-module.shared.definitions.js.map +1 -1
- package/dist/esm/runtime/execution-context.shared.schemas.d.ts +93 -9
- package/dist/esm/runtime/execution-context.shared.schemas.d.ts.map +1 -1
- package/dist/esm/runtime/execution-context.shared.schemas.js +122 -7
- 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 +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 +14 -11
- 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 +65 -2
- 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 +14 -11
- 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 +162 -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 +79 -29
- 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 +87 -6
- 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 +185 -0
- package/dist/esm/security/authentications/anonymous-session/anonymous-session.shared.contract.d.ts.map +1 -0
- package/dist/esm/security/authentications/anonymous-session/anonymous-session.shared.contract.js +198 -0
- package/dist/esm/security/authentications/anonymous-session/anonymous-session.shared.contract.js.map +1 -0
- package/dist/esm/security/authentications/authentication.shared.dto.schemas.d.ts +307 -149
- package/dist/esm/security/authentications/authentication.shared.dto.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.dto.schemas.js +177 -27
- package/dist/esm/security/authentications/authentication.shared.dto.schemas.js.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.schemas.d.ts +64 -8
- package/dist/esm/security/authentications/authentication.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.schemas.js +56 -9
- package/dist/esm/security/authentications/authentication.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.utils.d.ts +3 -3
- package/dist/esm/security/authentications/authentication.shared.utils.d.ts.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.utils.js +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 +103 -5
- package/dist/esm/security/authentications/consumable-token.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/consumable-token.shared.schemas.js +31 -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 +278 -0
- package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.d.ts.map +1 -0
- package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.js +335 -0
- package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.js.map +1 -0
- package/dist/esm/security/authentications/password-reset.shared.dto.schemas.d.ts +6 -6
- 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 +11 -4
- 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 +51 -18
- package/dist/esm/security/authentications/registration.shared.dto.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/registration.shared.dto.schemas.js +70 -13
- 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 +69 -0
- package/dist/esm/security/authentications/same-origin-redirect-path.shared.d.ts.map +1 -0
- package/dist/esm/security/authentications/same-origin-redirect-path.shared.js +93 -0
- package/dist/esm/security/authentications/same-origin-redirect-path.shared.js.map +1 -0
- package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.d.ts +91 -0
- package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.d.ts.map +1 -0
- package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.js +91 -0
- package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.js.map +1 -0
- package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.d.ts +2 -9
- 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 +49 -33
- 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 +41 -14
- 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 +158 -5
- 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 +21 -9
- 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 +92 -18
- 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 +11 -10
- 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 +29 -7
- package/dist/esm/security/authentications/scim/scim-tokens.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.d.ts +12 -5
- 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 +81 -5
- 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 +17 -5
- 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 +29 -5
- package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/siem/siem-export-config.shared.resources-config.schemas.d.ts +2 -9
- 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 +46 -33
- 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 +34 -9
- 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 +47 -3
- 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 +2 -17
- 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 +55 -53
- package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/authentications/sso/sso-config.shared.schemas.d.ts +37 -37
- 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 +53 -13
- 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 +79 -7
- 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 +157 -14
- 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 +113 -118
- 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 +111 -49
- 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 +57 -0
- package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.d.ts.map +1 -0
- package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.js +58 -0
- package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.js.map +1 -0
- package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.d.ts +35 -0
- package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.js +252 -0
- package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.d.ts +171 -0
- package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.d.ts.map +1 -0
- package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.js +239 -0
- package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.js.map +1 -0
- package/dist/esm/security/authorizations/roles.shared.defaults.d.ts +1 -1
- package/dist/esm/security/authorizations/roles.shared.defaults.d.ts.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.defaults.js +6 -1
- package/dist/esm/security/authorizations/roles.shared.defaults.js.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.schemas.d.ts +12 -3
- package/dist/esm/security/authorizations/roles.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.schemas.js +15 -1
- package/dist/esm/security/authorizations/roles.shared.schemas.js.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.utils.d.ts +133 -0
- package/dist/esm/security/authorizations/roles.shared.utils.d.ts.map +1 -0
- package/dist/esm/security/authorizations/roles.shared.utils.js +218 -0
- package/dist/esm/security/authorizations/roles.shared.utils.js.map +1 -0
- 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 +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 +47 -0
- package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.js +228 -0
- package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.d.ts +46 -0
- package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.js +365 -0
- package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.d.ts +192 -0
- package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.d.ts.map +1 -0
- package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.js +401 -0
- package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.js.map +1 -0
- package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.resources-config.schemas.d.ts +30 -0
- package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.resources-config.schemas.js +83 -0
- package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.schemas.d.ts +29 -0
- package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.schemas.d.ts.map +1 -0
- package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.schemas.js +53 -0
- package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.schemas.js.map +1 -0
- package/dist/esm/security/oauth-clients/oauth-resource-server.shared.schemas.d.ts +117 -0
- package/dist/esm/security/oauth-clients/oauth-resource-server.shared.schemas.d.ts.map +1 -0
- package/dist/esm/security/oauth-clients/oauth-resource-server.shared.schemas.js +180 -0
- package/dist/esm/security/oauth-clients/oauth-resource-server.shared.schemas.js.map +1 -0
- package/dist/esm/testing/resource-config-builders.d.ts +4 -4
- package/dist/esm/testing/resource-config-builders.d.ts.map +1 -1
- package/dist/esm/testing/resource-config-builders.js +9 -2
- package/dist/esm/testing/resource-config-builders.js.map +1 -1
- package/dist/esm/testing.d.ts +1 -1
- package/dist/esm/testing.d.ts.map +1 -1
- package/dist/esm/testing.js +1 -1
- package/dist/esm/testing.js.map +1 -1
- package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.d.ts +76 -0
- package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.d.ts.map +1 -0
- package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.js +72 -0
- package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.js.map +1 -0
- package/dist/esm/users/anonymous-users.shared.resources-config.schemas.d.ts +28 -17
- 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 +43 -4
- package/dist/esm/users/anonymous-users.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/anonymous-users.shared.schema.d.ts +19 -12
- package/dist/esm/users/anonymous-users.shared.schema.d.ts.map +1 -1
- package/dist/esm/users/anonymous-users.shared.schema.js +68 -4
- package/dist/esm/users/anonymous-users.shared.schema.js.map +1 -1
- package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.d.ts +52 -0
- package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.js +153 -0
- package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/users/inbound-contacts.shared.schemas.d.ts +47 -17
- package/dist/esm/users/inbound-contacts.shared.schemas.d.ts.map +1 -1
- package/dist/esm/users/inbound-contacts.shared.schemas.js +123 -9
- package/dist/esm/users/inbound-contacts.shared.schemas.js.map +1 -1
- package/dist/esm/users/user-credentials.shared.resources-config.schemas.d.ts +12 -12
- 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 +11 -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 +15 -10
- package/dist/esm/users/user-credentials.shared.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-credentials.shared.schemas.js +53 -9
- 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 +13 -11
- 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 +24 -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 +22 -19
- package/dist/esm/users/user-identity-links.shared.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-identity-links.shared.schemas.js +107 -23
- package/dist/esm/users/user-identity-links.shared.schemas.js.map +1 -1
- package/dist/esm/users/user-preferences-reset.shared.utils.d.ts +78 -0
- package/dist/esm/users/user-preferences-reset.shared.utils.d.ts.map +1 -0
- package/dist/esm/users/user-preferences-reset.shared.utils.js +98 -0
- package/dist/esm/users/user-preferences-reset.shared.utils.js.map +1 -0
- package/dist/esm/users/user-preferences.shared.resources-config.schemas.d.ts +31 -61
- 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 +34 -203
- 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 +13 -14
- 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 +66 -31
- 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 +33 -60
- 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 +49 -175
- 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 +13 -21
- 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 +12 -119
- 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 +12 -16
- 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 +263 -115
- 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 +13 -16
- package/dist/esm/users/users.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/users.shared.resources-config.schemas.js +376 -141
- package/dist/esm/users/users.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/users.shared.schemas.d.ts +110 -108
- package/dist/esm/users/users.shared.schemas.d.ts.map +1 -1
- package/dist/esm/users/users.shared.schemas.js +215 -19
- package/dist/esm/users/users.shared.schemas.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +54 -27
- package/dist/esm/compliance/compliance-framework/compliance-frameworks.shared.schemas.d.ts +0 -37
- package/dist/esm/compliance/compliance-framework/compliance-frameworks.shared.schemas.d.ts.map +0 -1
- package/dist/esm/compliance/compliance-framework/compliance-frameworks.shared.schemas.js +0 -38
- package/dist/esm/compliance/compliance-framework/compliance-frameworks.shared.schemas.js.map +0 -1
- package/dist/esm/external-providers/feature-bindings-policy.shared.schemas.d.ts +0 -27
- package/dist/esm/external-providers/feature-bindings-policy.shared.schemas.d.ts.map +0 -1
- package/dist/esm/external-providers/feature-bindings-policy.shared.schemas.js +0 -35
- package/dist/esm/external-providers/feature-bindings-policy.shared.schemas.js.map +0 -1
- package/dist/esm/external-providers/feature-mapping.shared.schemas.d.ts +0 -80
- package/dist/esm/external-providers/feature-mapping.shared.schemas.d.ts.map +0 -1
- package/dist/esm/external-providers/feature-mapping.shared.schemas.js +0 -159
- package/dist/esm/external-providers/feature-mapping.shared.schemas.js.map +0 -1
- package/dist/esm/external-providers/wildo-features.shared.schemas.d.ts +0 -102
- package/dist/esm/external-providers/wildo-features.shared.schemas.d.ts.map +0 -1
- package/dist/esm/external-providers/wildo-features.shared.schemas.js +0 -124
- package/dist/esm/external-providers/wildo-features.shared.schemas.js.map +0 -1
- package/dist/esm/features/platform-capability-definitions.shared.d.ts +0 -50
- package/dist/esm/features/platform-capability-definitions.shared.d.ts.map +0 -1
- package/dist/esm/features/platform-capability-definitions.shared.js +0 -30
- package/dist/esm/features/platform-capability-definitions.shared.js.map +0 -1
- package/dist/esm/flows-actors/agents-context.shared.schemas.d.ts +0 -181
- package/dist/esm/flows-actors/agents-context.shared.schemas.d.ts.map +0 -1
- package/dist/esm/flows-actors/agents-context.shared.schemas.js +0 -116
- package/dist/esm/flows-actors/agents-context.shared.schemas.js.map +0 -1
- package/dist/esm/notifications/email/email-header-footer-template.shared.resources-config.schemas.d.ts +0 -39
- package/dist/esm/notifications/email/email-header-footer-template.shared.resources-config.schemas.d.ts.map +0 -1
- package/dist/esm/notifications/email/email-header-footer-template.shared.resources-config.schemas.js +0 -113
- package/dist/esm/notifications/email/email-header-footer-template.shared.resources-config.schemas.js.map +0 -1
- package/dist/esm/notifications/email/email-header-footer-template.shared.schemas.d.ts +0 -63
- package/dist/esm/notifications/email/email-header-footer-template.shared.schemas.d.ts.map +0 -1
- package/dist/esm/notifications/email/email-header-footer-template.shared.schemas.js +0 -110
- package/dist/esm/notifications/email/email-header-footer-template.shared.schemas.js.map +0 -1
- package/dist/esm/notifications/email/email-template.shared.resources-config.schemas.d.ts +0 -62
- package/dist/esm/notifications/email/email-template.shared.resources-config.schemas.d.ts.map +0 -1
- package/dist/esm/notifications/email/email-template.shared.resources-config.schemas.js +0 -112
- package/dist/esm/notifications/email/email-template.shared.resources-config.schemas.js.map +0 -1
- package/dist/esm/notifications/email/email-template.shared.schemas.d.ts +0 -162
- package/dist/esm/notifications/email/email-template.shared.schemas.d.ts.map +0 -1
- package/dist/esm/notifications/email/email-template.shared.schemas.js +0 -189
- package/dist/esm/notifications/email/email-template.shared.schemas.js.map +0 -1
- package/dist/esm/organizations/organization-member-invitations.shared.resources-config.schemas.d.ts +0 -37
- package/dist/esm/organizations/organization-member-invitations.shared.resources-config.schemas.d.ts.map +0 -1
- package/dist/esm/organizations/organization-member-invitations.shared.resources-config.schemas.js +0 -207
- package/dist/esm/organizations/organization-member-invitations.shared.resources-config.schemas.js.map +0 -1
- package/dist/esm/resources/testing/SchemaDecoratorTestUtils.d.ts +0 -91
- package/dist/esm/resources/testing/SchemaDecoratorTestUtils.d.ts.map +0 -1
- package/dist/esm/resources/testing/SchemaDecoratorTestUtils.js +0 -325
- package/dist/esm/resources/testing/SchemaDecoratorTestUtils.js.map +0 -1
- package/dist/esm/runtime/companion-artifact-placement.shared.definitions.d.ts.map +0 -1
- package/dist/esm/runtime/companion-artifact-placement.shared.definitions.js.map +0 -1
- package/dist/esm/security/authentications/policy/auth-policy.shared.resources-config.schemas.d.ts +0 -10
- package/dist/esm/security/authentications/policy/auth-policy.shared.resources-config.schemas.d.ts.map +0 -1
- package/dist/esm/security/authentications/policy/auth-policy.shared.resources-config.schemas.js +0 -52
- package/dist/esm/security/authentications/policy/auth-policy.shared.resources-config.schemas.js.map +0 -1
- package/dist/esm/security/authentications/policy/auth-policy.shared.schemas.d.ts +0 -52
- package/dist/esm/security/authentications/policy/auth-policy.shared.schemas.d.ts.map +0 -1
- package/dist/esm/security/authentications/policy/auth-policy.shared.schemas.js +0 -40
- package/dist/esm/security/authentications/policy/auth-policy.shared.schemas.js.map +0 -1
- package/dist/esm/testing/schema-decorator-utils.d.ts +0 -91
- package/dist/esm/testing/schema-decorator-utils.d.ts.map +0 -1
- package/dist/esm/testing/schema-decorator-utils.js +0 -325
- package/dist/esm/testing/schema-decorator-utils.js.map +0 -1
|
@@ -16,15 +16,20 @@ import { userSelfPreferencesResourceConfiguration_InitializationFactory } from "
|
|
|
16
16
|
import { applicationResourceConfiguration_InitializationFactory } from "../applications/applications.shared.resources-config.schemas.js";
|
|
17
17
|
import { organizationResourceConfiguration_InitializationFactory } from "../organizations/organizations.shared.resources-config.schemas.js";
|
|
18
18
|
import { organizationUnitResourceConfiguration_InitializationFactory } from "../organizations/organization-units.shared.resources-config.schemas.js";
|
|
19
|
+
import { organizationUnitMemberResourceConfiguration_InitializationFactory } from "../organizations/organization-unit-members.shared.resources-config.schemas.js";
|
|
19
20
|
import { organizationProfileResourceConfiguration_InitializationFactory } from "../organizations/organization-profile.shared.resources-config.schemas.js";
|
|
20
21
|
import { organizationPreferencesResourceConfiguration_InitializationFactory } from "../organizations/organization-preferences.shared.resources-config.schemas.js";
|
|
22
|
+
import { platformAccessGrantsResourceConfiguration_InitializationFactory } from '../security/authorizations/platform-access-grants.shared.resources-config.schemas.js';
|
|
21
23
|
import { organizationNotificationsResourceConfiguration_InitializationFactory } from "../organizations/organization-notifications.shared.resources-config.schemas.js";
|
|
22
24
|
import { organizationFeaturesResourceConfiguration_InitializationFactory } from "../organizations/organization-features.shared.resources-config.schemas.js";
|
|
23
25
|
import { userFeaturesResourceConfiguration_InitializationFactory } from "../features/user-features.shared.resources-config.schemas.js";
|
|
26
|
+
import { applicationFeaturesResourceConfiguration_InitializationFactory } from "../features/application-features.shared.resources-config.schemas.js";
|
|
24
27
|
import { organizationMembersResourceConfiguration_InitializationFactory } from "../organizations/organization-members.shared.resources-config.schemas.js";
|
|
25
|
-
import { organizationMemberInvitationsResourceConfiguration_InitializationFactory } from "../organizations/organization-member-invitations.shared.resources-config.schemas.js";
|
|
26
28
|
import { orgApiKeysResourceConfiguration_InitializationFactory } from "../security/api-keys/api-keys-organization.shared.resources-config.schemas.js";
|
|
27
29
|
import { appApiKeysResourceConfiguration_InitializationFactory } from "../security/api-keys/api-keys-application.shared.resources-config.schemas.js";
|
|
30
|
+
import { orgOAuthClientsResourceConfiguration_InitializationFactory } from "../security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.js";
|
|
31
|
+
import { appOAuthClientsResourceConfiguration_InitializationFactory } from "../security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.js";
|
|
32
|
+
import { oauthConsentGrantsResourceConfiguration_InitializationFactory } from "../security/oauth-clients/oauth-consent-grants.shared.resources-config.schemas.js";
|
|
28
33
|
import { billingAccountsPolymorphicFactories } from "../billing/billing-account.shared.resources-config.schemas.js";
|
|
29
34
|
import { billingAccountsPolymorphicDeclaration } from "../billing/billing-account.shared.schemas.js";
|
|
30
35
|
import { productsResourceConfiguration_InitializationFactory } from "../billing/product.shared.resources-config.schemas.js";
|
|
@@ -40,19 +45,27 @@ import { creditPoolsPolymorphicFactories } from "../billing/credit-pool.shared.r
|
|
|
40
45
|
import { creditPoolsPolymorphicDeclaration } from "../billing/credit-pool.shared.schemas.js";
|
|
41
46
|
import { promotionsResourceConfiguration_InitializationFactory } from "../billing/promotions.shared.resources-config.schemas.js";
|
|
42
47
|
import { referralsResourceConfiguration_InitializationFactory } from "../billing/referral.shared.resources-config.schemas.js";
|
|
43
|
-
import {
|
|
48
|
+
import { userNotificationBadgesResourceConfiguration_InitializationFactory, organizationNotificationBadgesResourceConfiguration_InitializationFactory, } from "../notifications/notification-badges.shared.resources-config.schemas.js";
|
|
44
49
|
import { createResourcesRelationship } from "./resources-relationships.shared.factory.js";
|
|
45
50
|
import { applicationVersionsResourceConfiguration_InitializationFactory } from "../applications/application-versions.shared.resources-config.schemas.js";
|
|
46
51
|
import { applicationMetadataResourceConfiguration_InitializationFactory } from "../applications/application-metadata.shared.resources-config.schemas.js";
|
|
47
52
|
// Queue system resources
|
|
48
53
|
import { jobExecution_ResourceConfiguration_InitializationFactory, jobPayloadStorage_ResourceConfiguration_InitializationFactory } from "../queue/jobs.shared.resources-config.schemas.js";
|
|
49
|
-
//
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
54
|
+
// Flows-Actors execution resource (persisted flow/actor system executions)
|
|
55
|
+
import { flowActorExecutionsPolymorphicFactories } from "../flows-actors/flows-actors-execution.shared.resources-config.schemas.js";
|
|
56
|
+
import { flowActorExecutionsPolymorphicDeclaration } from "../flows-actors/flows-actors-execution.shared.schemas.js";
|
|
57
|
+
import { flowActorTasksPolymorphicFactories } from "../flows-actors/flows-actors-task.shared.resources-config.schemas.js";
|
|
58
|
+
import { flowActorTasksPolymorphicDeclaration } from "../flows-actors/flows-actors-task.shared.schemas.js";
|
|
59
|
+
import { a2aTokenBudgetStatePolymorphicFactories } from "../flows-actors/a2a-token-budget-state.shared.resources-config.schemas.js";
|
|
60
|
+
import { a2aPushDeliveryLogPolymorphicFactories } from "../flows-actors/a2a-push-delivery-log.shared.resources-config.schemas.js";
|
|
61
|
+
import { a2aTokenBudgetStatePolymorphicDeclaration } from "../flows-actors/a2a-token-budget-state.shared.schemas.js";
|
|
62
|
+
import { a2aPushDeliveryLogPolymorphicDeclaration } from "../flows-actors/a2a-push-delivery-log.shared.schemas.js";
|
|
52
63
|
// Authentication resources
|
|
53
64
|
import { userIdentityLinksResourceConfiguration_InitializationFactory } from "../users/user-identity-links.shared.resources-config.schemas.js";
|
|
54
65
|
// Anonymous session resources (W7.3a)
|
|
55
66
|
import { anonymousUsersResourceConfiguration_InitializationFactory } from "../users/anonymous-users.shared.resources-config.schemas.js";
|
|
67
|
+
// Inbound contacts (Phase 0.5 — public marketing-site lead capture, Q-E=B path)
|
|
68
|
+
import { inboundContactsResourceConfiguration_InitializationFactory } from "../users/inbound-contacts.shared.resources-config.schemas.js";
|
|
56
69
|
// Guidance State resources
|
|
57
70
|
import { userGuidanceStateResourceConfiguration_InitializationFactory, organizationGuidanceStateResourceConfiguration_InitializationFactory } from "../guidance/guidance-state.shared.resources-config.schemas.js";
|
|
58
71
|
// Auth polymorphic resource configs (SSO + SIEM + SCIM)
|
|
@@ -60,12 +73,14 @@ import { ssoConfigPolymorphicFactories } from "../security/authentications/sso/s
|
|
|
60
73
|
import { ssoConfigPolymorphicDeclaration } from "../security/authentications/sso/sso-config.shared.schemas.js";
|
|
61
74
|
import { ssoConnectionPolymorphicFactories } from "../security/authentications/sso/sso-connection.shared.resources-config.schemas.js";
|
|
62
75
|
import { ssoConnectionPolymorphicDeclaration } from "../security/authentications/sso/sso-connection.shared.schemas.js";
|
|
63
|
-
import { authPolicyPolymorphicFactories } from "../security/authentications/policy/auth-policy.shared.resources-config.schemas.js";
|
|
64
|
-
import { authPolicyPolymorphicDeclaration } from "../security/authentications/policy/auth-policy.shared.schemas.js";
|
|
65
76
|
import { siemExportConfigPolymorphicFactories } from "../security/authentications/siem/siem-export-config.shared.resources-config.schemas.js";
|
|
66
77
|
import { siemExportConfigPolymorphicDeclaration } from "../security/authentications/siem/siem-export-config.shared.schemas.js";
|
|
67
78
|
import { siemDeliveryDlqPolymorphicFactories } from "../security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.js";
|
|
68
79
|
import { siemDeliveryDlqPolymorphicDeclaration } from "../security/authentications/siem/siem-delivery-dlq.shared.schemas.js";
|
|
80
|
+
import { webhookConfigPolymorphicFactories } from "../notifications/m2m/webhook-config.shared.resources-config.schemas.js";
|
|
81
|
+
import { webhookConfigPolymorphicDeclaration } from "../notifications/m2m/webhook-config.shared.schemas.js";
|
|
82
|
+
import { m2mWebhookDeliveryLogPolymorphicFactories } from "../notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.js";
|
|
83
|
+
import { m2mWebhookDeliveryLogPolymorphicDeclaration } from "../notifications/m2m/m2m-webhook-delivery-log.shared.schemas.js";
|
|
69
84
|
import { scimTokensPolymorphicFactories } from "../security/authentications/scim/scim-tokens.shared.resources-config.schemas.js";
|
|
70
85
|
import { scimTokensPolymorphicDeclaration } from "../security/authentications/scim/scim-tokens.shared.schemas.js";
|
|
71
86
|
import { scimProvisioningConfigPolymorphicFactories } from "../security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.js";
|
|
@@ -94,7 +109,52 @@ export const coreSharedResourceRelationship = [
|
|
|
94
109
|
createResourcesRelationship(CoreResourceType.USERS, CoreResourceType.USER_PROFILES, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE, {
|
|
95
110
|
isPrimaryScope: true,
|
|
96
111
|
nature: RelationshipNature.COMPOSITION,
|
|
97
|
-
|
|
112
|
+
// onParentDelete: cascade the profile row when the user is deleted.
|
|
113
|
+
// onParentCreate: eagerly seed the profile on user creation (Tier-2
|
|
114
|
+
// input-derived). Unlike USER_PREFERENCES (pure defaults), a profile's
|
|
115
|
+
// firstName/lastName do NOT live on the USERS row — they originate in the
|
|
116
|
+
// registration form / SSO-JIT / SCIM profile, OUTSIDE the USERS-create
|
|
117
|
+
// payload. Each provisioning path threads them via the
|
|
118
|
+
// `compositionSeedRequestInput` options channel on its `create(USERS, …)`,
|
|
119
|
+
// and this override forwards them into the profile seed. When the names are
|
|
120
|
+
// absent (the org-admin INVITE create — the invitee names the profile later
|
|
121
|
+
// at acceptance), the override returns `undefined` to DECLINE the seed, so no
|
|
122
|
+
// nameless/duplicate row is created; the invitation-acceptance flow owns that
|
|
123
|
+
// single write. USERS is the resource created at every provisioning entry
|
|
124
|
+
// point, so THIS USERS→USER_PROFILES edge fires — not the read-only USER_SELF
|
|
125
|
+
// variant.
|
|
126
|
+
childOperations: {
|
|
127
|
+
lifecycle: {
|
|
128
|
+
onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 },
|
|
129
|
+
onParentCreate: {
|
|
130
|
+
enabled: true,
|
|
131
|
+
initialData: {
|
|
132
|
+
override: (ctx) => {
|
|
133
|
+
const requestInput = ctx.requestInput;
|
|
134
|
+
const firstName = requestInput?.firstName;
|
|
135
|
+
const lastName = requestInput?.lastName;
|
|
136
|
+
// A profile REQUIRES a non-empty first+last (UserProfileSchema
|
|
137
|
+
// min(1)). DECLINE (undefined) when either is absent OR empty — the
|
|
138
|
+
// org-admin INVITE create (no name; the invitee names the profile at
|
|
139
|
+
// acceptance) or an IdP that supplied no given/family name — so no
|
|
140
|
+
// invalid or nameless row is ever seeded (a clean skip, not a
|
|
141
|
+
// swallowed validation failure).
|
|
142
|
+
if (typeof firstName !== 'string' || firstName.length === 0 ||
|
|
143
|
+
typeof lastName !== 'string' || lastName.length === 0) {
|
|
144
|
+
return undefined;
|
|
145
|
+
}
|
|
146
|
+
// Prefer an IdP-supplied displayName; otherwise derive one so every
|
|
147
|
+
// seeded profile carries a non-empty label.
|
|
148
|
+
const suppliedDisplayName = requestInput?.displayName;
|
|
149
|
+
const displayName = typeof suppliedDisplayName === 'string' && suppliedDisplayName.length > 0
|
|
150
|
+
? suppliedDisplayName
|
|
151
|
+
: `${firstName} ${lastName}`;
|
|
152
|
+
return { firstName, lastName, displayName };
|
|
153
|
+
},
|
|
154
|
+
},
|
|
155
|
+
},
|
|
156
|
+
},
|
|
157
|
+
},
|
|
98
158
|
foreignKeyField: 'userId',
|
|
99
159
|
// 1:1 profile: full on READ, summary otherwise
|
|
100
160
|
contextPolicy: {
|
|
@@ -107,7 +167,12 @@ export const coreSharedResourceRelationship = [
|
|
|
107
167
|
createResourcesRelationship(CoreResourceType.USERS, CoreResourceType.USER_PREFERENCES, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE, {
|
|
108
168
|
isPrimaryScope: true,
|
|
109
169
|
nature: RelationshipNature.COMPOSITION,
|
|
110
|
-
|
|
170
|
+
// onParentDelete: cascade the preferences row when the user is deleted.
|
|
171
|
+
// onParentCreate: eagerly seed a default preferences row on user creation
|
|
172
|
+
// (Tier-1 pure-defaults — the child's Zod defaults fill it; USER_SELF reads
|
|
173
|
+
// the same collection). USERS is the resource created at registration, so
|
|
174
|
+
// THIS USERS→USER_PREFERENCES edge fires — not the USER_SELF variant.
|
|
175
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 }, onParentCreate: { enabled: true } } },
|
|
111
176
|
foreignKeyField: 'userId',
|
|
112
177
|
// 1:1 preferences: full on READ, summary otherwise
|
|
113
178
|
contextPolicy: {
|
|
@@ -117,9 +182,13 @@ export const coreSharedResourceRelationship = [
|
|
|
117
182
|
}
|
|
118
183
|
}
|
|
119
184
|
}),
|
|
120
|
-
// Link Users to UserCredentials (standalone access, internal-only operations)
|
|
185
|
+
// Link Users to UserCredentials (standalone access, internal-only operations).
|
|
186
|
+
// STANDALONE keeps credentials off the URL surface; `isPrimaryScope: true` anchors
|
|
187
|
+
// the resource's `resourcePrimaryScope` enum to USER_SELF (ownership graph is
|
|
188
|
+
// orthogonal to URL routing — see `resources-relationships.shared.factory.ts` Guard 1).
|
|
121
189
|
createResourcesRelationship(CoreResourceType.USERS, CoreResourceType.USER_CREDENTIALS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE, {
|
|
122
190
|
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
|
|
191
|
+
isPrimaryScope: true,
|
|
123
192
|
nature: RelationshipNature.COMPOSITION,
|
|
124
193
|
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
|
|
125
194
|
foreignKeyField: 'userId',
|
|
@@ -128,16 +197,30 @@ export const coreSharedResourceRelationship = [
|
|
|
128
197
|
}),
|
|
129
198
|
// Link Users to UserIdentityLinks (1:N — user can have multiple OAuth2/SSO provider connections)
|
|
130
199
|
// Standalone access (internal-only operations), cascade delete on user removal.
|
|
131
|
-
//
|
|
132
|
-
//
|
|
200
|
+
// The schema's businessKeySet enforces one external identity binding per exact
|
|
201
|
+
// social/enterprise tenant connection. Individual DB indexes support callback lookup.
|
|
202
|
+
// STANDALONE keeps identity links off the URL surface; `isPrimaryScope: true` anchors
|
|
203
|
+
// the resource's `resourcePrimaryScope` enum to USER_SELF.
|
|
133
204
|
createResourcesRelationship(CoreResourceType.USERS, CoreResourceType.USER_IDENTITY_LINKS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
134
205
|
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
|
|
206
|
+
isPrimaryScope: true,
|
|
135
207
|
nature: RelationshipNature.COMPOSITION,
|
|
136
208
|
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
|
|
137
209
|
foreignKeyField: 'userId',
|
|
138
210
|
// SECURITY: Identity links contain raw IdP profiles — never fetch via context
|
|
139
211
|
contextPolicy: { enabled: false }
|
|
140
212
|
}),
|
|
213
|
+
// OIDC persistent consent grants — USER_SELF-scoped ("remember this app"). COMPOSITION so a user's
|
|
214
|
+
// grants cascade-delete with the user; `isPrimaryScope: true` anchors resourcePrimaryScope to
|
|
215
|
+
// USER_SELF (the owner-only READ/LIST/DELETE filter). Consent state is never context-fetched.
|
|
216
|
+
createResourcesRelationship(CoreResourceType.USERS, CoreResourceType.OAUTH_CONSENT_GRANTS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
217
|
+
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
|
|
218
|
+
isPrimaryScope: true,
|
|
219
|
+
nature: RelationshipNature.COMPOSITION,
|
|
220
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
|
|
221
|
+
foreignKeyField: 'userId',
|
|
222
|
+
contextPolicy: { enabled: false }
|
|
223
|
+
}),
|
|
141
224
|
// User Self 1:1 relationships - separated for access control
|
|
142
225
|
createResourcesRelationship(CoreResourceType.USER_SELF, CoreResourceType.USER_SELF_PROFILES, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE, {
|
|
143
226
|
isPrimaryScope: true,
|
|
@@ -167,8 +250,22 @@ export const coreSharedResourceRelationship = [
|
|
|
167
250
|
}),
|
|
168
251
|
// User Self → Organization Members (for context fetching organizationMembers)
|
|
169
252
|
// 1:MANY - user can have multiple organization memberships
|
|
253
|
+
//
|
|
254
|
+
// STANDALONE: this relationship exists ONLY to let the backend context-fetch
|
|
255
|
+
// the caller's own membership on READ (see `contextPolicy` below). It must NOT
|
|
256
|
+
// mint a URL route. Without an explicit `accessScopeStrategy`, the factory
|
|
257
|
+
// defaults a MANDATORY parent to `REQUIRES_CONTEXT`, which forced a mandatory
|
|
258
|
+
// `/user-user-self/{userId}/...` segment into EVERY generated organization-members
|
|
259
|
+
// route — so the clean `/organizations/{orgId}/organization-members/...` route
|
|
260
|
+
// was never emitted, and a people-picker searching org members got the
|
|
261
|
+
// over-nested user-self route (returning only the caller's own membership).
|
|
262
|
+
// `accessScopeStrategy` (URL routing) and `contextPolicy` (context fetching)
|
|
263
|
+
// are orthogonal axes; STANDALONE keeps this off the URL surface while the
|
|
264
|
+
// context fetch is preserved — exactly mirroring the USER_CREDENTIALS /
|
|
265
|
+
// USER_IDENTITY_LINKS siblings above and the ORGANIZATIONS primary anchor below.
|
|
170
266
|
createResourcesRelationship(CoreResourceType.USER_SELF, CoreResourceType.ORGANIZATION_MEMBERS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
171
|
-
isPrimaryScope: false, // Not primary scope - ORGANIZATION_MEMBERS has ORGANIZATIONS as primary
|
|
267
|
+
isPrimaryScope: false, // Not primary scope - ORGANIZATION_MEMBERS has ORGANIZATIONS as primary (declared via the STANDALONE rel below)
|
|
268
|
+
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
|
|
172
269
|
nature: RelationshipNature.REFERENCE,
|
|
173
270
|
foreignKeyField: 'userId',
|
|
174
271
|
// For context: fetch full on READ, disabled otherwise (performance)
|
|
@@ -180,6 +277,62 @@ export const coreSharedResourceRelationship = [
|
|
|
180
277
|
}
|
|
181
278
|
}
|
|
182
279
|
}),
|
|
280
|
+
// ORGANIZATIONS scope anchor for ORGANIZATION_MEMBERS (STANDALONE primary).
|
|
281
|
+
//
|
|
282
|
+
// The M:N expansion of `ORGANIZATIONS ↔ USERS via ORGANIZATION_MEMBERS`
|
|
283
|
+
// synthesizes two OPTIONAL_CONTEXT non-primary peer→junction edges so the
|
|
284
|
+
// junction is routable under both `/organizations/:id/...` and
|
|
285
|
+
// `/users/:id/...`. That URL behavior is intentional and stays untouched.
|
|
286
|
+
//
|
|
287
|
+
// This separate STANDALONE primary rel exists purely to anchor the
|
|
288
|
+
// resource's `resourcePrimaryScope` enum to ORGANIZATIONS (matching the
|
|
289
|
+
// long-standing comment on the USER_SELF rel above). STANDALONE keeps it
|
|
290
|
+
// off the URL surface (the M:N expansion already handles routing); the
|
|
291
|
+
// primary-scope flag declares the structural ownership.
|
|
292
|
+
//
|
|
293
|
+
// ⚠️ This is the edge that carries the teardown cascade — NOT the `USER_SELF` rel above and
|
|
294
|
+
// NOT the synthesized M:N peer edges. Picking the wrong one of the three is the easy mistake
|
|
295
|
+
// here: only this one is the ORGANIZATIONS-side primary anchor, so only this one is traversed
|
|
296
|
+
// when a tenant is destroyed.
|
|
297
|
+
//
|
|
298
|
+
// Until 2026-08-01 it declared NO `childOperations` at all, so membership rows ORPHANED on
|
|
299
|
+
// tenant deletion while every other org child cascaded. The orphan row was the visible
|
|
300
|
+
// symptom; the real defect was that nothing reconciled `user.userTypes`, a GLOBAL grant that
|
|
301
|
+
// could outlive the tenant justifying it.
|
|
302
|
+
//
|
|
303
|
+
// Under the WS-A teardown split this cascade fires at PURGE, never at the soft-delete mark.
|
|
304
|
+
// That ordering is the design, not an implementation detail: the rows are exactly what a
|
|
305
|
+
// restore re-derives organization-scoped authority from during the retention window, so
|
|
306
|
+
// removing them at mark time would make the window unrecoverable. The authority half is
|
|
307
|
+
// handled at the mark instead, by recomputing it from `Organization.status` — see
|
|
308
|
+
// `isAuthorityConferringOrganizationStatus` and the `request_deletion` operation.
|
|
309
|
+
//
|
|
310
|
+
// ⚠️ `nature` moved REFERENCE → COMPOSITION in the same change, and it had to. The framework
|
|
311
|
+
// refuses a lifecycle on a REFERENCE edge outright — "REFERENCE relationships cannot project to
|
|
312
|
+
// nested CRUD/read embedding or dependent lifecycle" — because only COMPOSITION resolves to
|
|
313
|
+
// `lifecycleModelMode: DEPENDENT`, and DEPENDENT is what "the parent owns this row's lifetime"
|
|
314
|
+
// means. Declaring the cascade while leaving the nature alone would not have been a smaller
|
|
315
|
+
// change; it would not have built.
|
|
316
|
+
//
|
|
317
|
+
// COMPOSITION is also the honest reading, not a concession to the guard. A membership is
|
|
318
|
+
// meaningless without its organization: it cannot be re-homed, it has no independent identity,
|
|
319
|
+
// and this very edge already declares ORGANIZATIONS its primary scope. The sibling junction
|
|
320
|
+
// ORGANIZATION_UNIT_MEMBERS reached the same conclusion on its own ORGANIZATIONS edge above —
|
|
321
|
+
// COMPOSITION, `isPrimaryScope`, cascade — so the two junctions now describe their tenant
|
|
322
|
+
// relationship identically instead of disagreeing for historical reasons.
|
|
323
|
+
//
|
|
324
|
+
// The USER_SELF → ORGANIZATION_MEMBERS edge above stays REFERENCE and is NOT affected. That
|
|
325
|
+
// asymmetry is correct and load-bearing: a membership dies with its ORGANIZATION but must
|
|
326
|
+
// survive its USER's erasure (an erasure keeps the subject row, and `USERS` classifies that
|
|
327
|
+
// edge NOT_OWNED). Changing the user-side edge too would silently make a subject erasure start
|
|
328
|
+
// deleting membership rows.
|
|
329
|
+
createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_MEMBERS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
330
|
+
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
|
|
331
|
+
isPrimaryScope: true,
|
|
332
|
+
nature: RelationshipNature.COMPOSITION,
|
|
333
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
|
|
334
|
+
contextPolicy: { enabled: false }
|
|
335
|
+
}),
|
|
183
336
|
// Organization member join table relationships - explicit for URL generation
|
|
184
337
|
// Note: Removed USERS → ORGANIZATION_MEMBERS to simplify user URL generation
|
|
185
338
|
// Users should primarily be accessed standalone or via application context
|
|
@@ -210,10 +363,77 @@ export const coreSharedResourceRelationship = [
|
|
|
210
363
|
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.OPTIONAL_CONTEXT,
|
|
211
364
|
contextPolicy: { enabled: false },
|
|
212
365
|
}),
|
|
213
|
-
|
|
366
|
+
// ── Organization unit membership (junction) ──────────────────────────────
|
|
367
|
+
// Replaced `OrganizationMember.organizationUnitsMembership` (D-B5). Three edges, each earning
|
|
368
|
+
// its place:
|
|
369
|
+
//
|
|
370
|
+
// 1. ORGANIZATIONS → … is the PRIMARY SCOPE anchor: the row carries `organizationId`, so
|
|
371
|
+
// tenant scoping and the contextual filter resolve without a join, and a tenant teardown
|
|
372
|
+
// removes assignments with everything else it owns.
|
|
373
|
+
// 2. ORGANIZATION_MEMBERS → … is the SEMANTIC parent. A unit assignment presupposes
|
|
374
|
+
// membership, so losing the membership is exactly when the assignment stops meaning
|
|
375
|
+
// anything — hence the cascade. This is the edge that stops assignments outliving the
|
|
376
|
+
// membership that justified them.
|
|
377
|
+
// 3. ORGANIZATION_UNITS → … is what the unit DELETE dependents guard was missing. While unit
|
|
378
|
+
// assignment lived in an embedded array it was not a registered relationship and not
|
|
379
|
+
// portably queryable, so "assigned members" had to be EXCLUDED from that guard (it would
|
|
380
|
+
// have failed open on PostgreSQL). As a real edge it becomes a guardable dependent.
|
|
381
|
+
createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_UNIT_MEMBERS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
214
382
|
isPrimaryScope: true,
|
|
215
383
|
nature: RelationshipNature.COMPOSITION,
|
|
216
384
|
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
|
|
385
|
+
// High cardinality: a tenant can hold one row per (member × unit).
|
|
386
|
+
contextPolicy: {
|
|
387
|
+
operationOverrides: {
|
|
388
|
+
[CoreResourceOperation.LIST]: { enabled: false },
|
|
389
|
+
[CoreResourceOperation.SEARCH]: { enabled: false },
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
}),
|
|
393
|
+
// OPTIONAL_CONTEXT, not the REQUIRES_CONTEXT default — otherwise the junction is unlistable.
|
|
394
|
+
//
|
|
395
|
+
// `generateParentCombinations` puts every REQUIRES_CONTEXT parent into EVERY url combination. With
|
|
396
|
+
// both this edge and the ORGANIZATION_UNITS edge below defaulting to REQUIRES_CONTEXT, the only
|
|
397
|
+
// route generated was the fully-nested
|
|
398
|
+
// `…/organization-members/{m}/organization-units/{u}/organization-unit-members` — so LIST could
|
|
399
|
+
// only ever be called with BOTH sides already known, returning at most the single row the caller
|
|
400
|
+
// had just identified. "Which units is this member in?" had NO http surface at all, even though
|
|
401
|
+
// it is a real, exercised query: SCIM runs exactly it service-side
|
|
402
|
+
// (`list(ORGANIZATION_UNIT_MEMBERS, ec, { organizationMemberId })`).
|
|
403
|
+
//
|
|
404
|
+
// OPTIONAL_CONTEXT makes the parent addressable-but-not-mandatory, so the builder emits the
|
|
405
|
+
// member-scoped route ALONGSIDE the full one. Permitted here because this edge is not the primary
|
|
406
|
+
// scope (the factory rejects OPTIONAL_CONTEXT only for `isPrimaryScope`). The ORGANIZATIONS edge
|
|
407
|
+
// above stays primary-scope and keeps its LIST/SEARCH context override, so this does NOT open an
|
|
408
|
+
// unbounded org-wide listing of every (member × unit) pair — each new route is still narrowed by
|
|
409
|
+
// one side of the junction.
|
|
410
|
+
createResourcesRelationship(CoreResourceType.ORGANIZATION_MEMBERS, CoreResourceType.ORGANIZATION_UNIT_MEMBERS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
411
|
+
nature: RelationshipNature.COMPOSITION,
|
|
412
|
+
foreignKeyField: 'organizationMemberId',
|
|
413
|
+
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.OPTIONAL_CONTEXT,
|
|
414
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
|
|
415
|
+
contextPolicy: { enabled: false },
|
|
416
|
+
}),
|
|
417
|
+
// No cascade on this edge ON PURPOSE — it mirrors the unit tree's own delete policy. A unit
|
|
418
|
+
// DELETE is refused while dependents remain (the operator decides where an orphaned assignment
|
|
419
|
+
// belongs) rather than silently dropping people's roles behind a single-node delete. Tearing
|
|
420
|
+
// down the whole ORGANIZATION still removes these rows via edge 1 above.
|
|
421
|
+
// OPTIONAL_CONTEXT for the same reason as the ORGANIZATION_MEMBERS edge above — this is the
|
|
422
|
+
// mirrored half. Together the two now yield the unit-scoped route as well, so "who is in this
|
|
423
|
+
// unit?" is answerable, and both partial routes exist beside the fully-nested one rather than
|
|
424
|
+
// instead of it.
|
|
425
|
+
createResourcesRelationship(CoreResourceType.ORGANIZATION_UNITS, CoreResourceType.ORGANIZATION_UNIT_MEMBERS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
426
|
+
nature: RelationshipNature.COMPOSITION,
|
|
427
|
+
foreignKeyField: 'organizationUnitId',
|
|
428
|
+
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.OPTIONAL_CONTEXT,
|
|
429
|
+
contextPolicy: { enabled: false },
|
|
430
|
+
}),
|
|
431
|
+
createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_PROFILES, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE, {
|
|
432
|
+
isPrimaryScope: true,
|
|
433
|
+
nature: RelationshipNature.COMPOSITION,
|
|
434
|
+
// onParentCreate: eager-seed a default org profile row on org creation
|
|
435
|
+
// (branding now defaulted → seedable). Fixes the latent missing-row gap.
|
|
436
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 }, onParentCreate: { enabled: true } } },
|
|
217
437
|
foreignKeyField: 'organizationId',
|
|
218
438
|
// 1:1 profile: full on READ
|
|
219
439
|
contextPolicy: {
|
|
@@ -223,11 +443,67 @@ export const coreSharedResourceRelationship = [
|
|
|
223
443
|
}
|
|
224
444
|
}
|
|
225
445
|
}),
|
|
226
|
-
createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.
|
|
446
|
+
createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.PLATFORM_ACCESS_GRANTS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
447
|
+
// The grant belongs to the tenant being reached INTO, which is what makes the tenant able
|
|
448
|
+
// to see, approve and revoke it. A consent record the consenting party cannot read would
|
|
449
|
+
// defeat the purpose of modelling consent at all.
|
|
227
450
|
isPrimaryScope: true,
|
|
228
451
|
nature: RelationshipNature.COMPOSITION,
|
|
452
|
+
// Purged with the tenant, and deliberately NOT seeded on create: a grant exists only
|
|
453
|
+
// because an operator asked for one.
|
|
229
454
|
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
|
|
230
455
|
foreignKeyField: 'organizationId',
|
|
456
|
+
}),
|
|
457
|
+
// ── The two PEOPLE a grant names ─────────────────────────────────────
|
|
458
|
+
//
|
|
459
|
+
// `operatorUserId` (who asked) and `approvedByUserId` (who agreed) are both `.isForeignKey()` on
|
|
460
|
+
// `PlatformAccessGrantSchema`, so the registry must be able to resolve each to a resource type —
|
|
461
|
+
// the frontend registry validates this fail-closed at boot and refuses to initialise otherwise.
|
|
462
|
+
//
|
|
463
|
+
// REFERENCE, deliberately NOT composition, and the contrast with the ORGANIZATIONS edge directly
|
|
464
|
+
// above is the whole point. The tenant OWNS the grant: it is the tenant's consent record, so it
|
|
465
|
+
// is purged with the tenant. The two users are merely NAMED BY it. Making a user its owner would
|
|
466
|
+
// resolve `lifecycleModelMode` to DEPENDENT, and that is the same value
|
|
467
|
+
// `classifySubjectErasureDisposition` reads — a user erasure would then own the row's fate, and
|
|
468
|
+
// the one thing an access-audit record must survive is the erasure of the person it monitors.
|
|
469
|
+
// As REFERENCE the erasure classifies it NOT_OWNED and leaves it intact, which is the intent.
|
|
470
|
+
//
|
|
471
|
+
// `onParentDelete.enabled: false` states that survival explicitly rather than leaving it to the
|
|
472
|
+
// nature's default — the question "does this die with the user?" is exactly what a reader of a
|
|
473
|
+
// privileged-access ledger comes here to ask.
|
|
474
|
+
//
|
|
475
|
+
// STANDALONE + `contextPolicy: { enabled: false }`: a grant is addressed under its tenant
|
|
476
|
+
// (`/organizations/:organizationId/platform-access-grants`), never under a user, and the operator
|
|
477
|
+
// is by construction NOT a member of the target tenant — so fetching them into the row's context
|
|
478
|
+
// would be a cross-tenant read on every list.
|
|
479
|
+
createResourcesRelationship(CoreResourceType.USERS, CoreResourceType.PLATFORM_ACCESS_GRANTS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
480
|
+
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
|
|
481
|
+
nature: RelationshipNature.REFERENCE,
|
|
482
|
+
foreignKeyField: 'operatorUserId',
|
|
483
|
+
// Server-authored from the session on every grant, so the pointer is always present.
|
|
484
|
+
parentResourceRequirement: ResourceParentResourceRequirement.MANDATORY,
|
|
485
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: false } } },
|
|
486
|
+
contextPolicy: { enabled: false },
|
|
487
|
+
}),
|
|
488
|
+
createResourcesRelationship(CoreResourceType.USERS, CoreResourceType.PLATFORM_ACCESS_GRANTS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
489
|
+
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
|
|
490
|
+
nature: RelationshipNature.REFERENCE,
|
|
491
|
+
foreignKeyField: 'approvedByUserId',
|
|
492
|
+
// OPTIONAL because the field is `.optional()`: unset until a tenant administrator
|
|
493
|
+
// approves, and permanently unset on an auto-approved, denied or revoked grant. MANDATORY
|
|
494
|
+
// would assert an approver every grant must have, which is precisely the distinction
|
|
495
|
+
// `autoApprovalReason` exists to preserve.
|
|
496
|
+
parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,
|
|
497
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: false } } },
|
|
498
|
+
contextPolicy: { enabled: false },
|
|
499
|
+
}),
|
|
500
|
+
createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_PREFERENCES, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE, {
|
|
501
|
+
isPrimaryScope: true,
|
|
502
|
+
nature: RelationshipNature.COMPOSITION,
|
|
503
|
+
// onParentCreate: eager-seed a default org preferences row on org creation
|
|
504
|
+
// (all fields defaulted → seedable). Fixes the latent missing-row gap.
|
|
505
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 }, onParentCreate: { enabled: true } } },
|
|
506
|
+
foreignKeyField: 'organizationId',
|
|
231
507
|
// 1:1 preferences: full on READ
|
|
232
508
|
contextPolicy: {
|
|
233
509
|
objectMode: ContextPolicy_ObjectMode.SUMMARY,
|
|
@@ -239,35 +515,54 @@ export const coreSharedResourceRelationship = [
|
|
|
239
515
|
createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_NOTIFICATIONS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE, {
|
|
240
516
|
isPrimaryScope: true,
|
|
241
517
|
nature: RelationshipNature.COMPOSITION,
|
|
242
|
-
|
|
518
|
+
// onParentCreate: eager-seed a default org notifications row on org creation
|
|
519
|
+
// (emailNotifications now defaulted → seedable). Fixes the latent
|
|
520
|
+
// missing-row gap so downstream email fan-out has a routing table.
|
|
521
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 }, onParentCreate: { enabled: true } } },
|
|
243
522
|
foreignKeyField: 'organizationId',
|
|
244
523
|
// Notifications are ephemeral - disable context
|
|
245
524
|
contextPolicy: { enabled: false }
|
|
246
525
|
}),
|
|
247
|
-
createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_FEATURES, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.
|
|
526
|
+
createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_FEATURES, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE, {
|
|
248
527
|
isPrimaryScope: true,
|
|
249
528
|
nature: RelationshipNature.COMPOSITION,
|
|
529
|
+
// Deliberately NO onParentCreate: the scope-features ledger is a cache-resolved
|
|
530
|
+
// OVERRIDE store, not per-entity state, so eager-seeding it is pure write
|
|
531
|
+
// amplification. FeatureResolutionBackendService self-heals from defaults when the
|
|
532
|
+
// row is absent (`if (!scopeDoc) return base`), the 1:1 context-embed omits an
|
|
533
|
+
// absent child, and the admin-write / billing-sync paths upsert the row lazily the
|
|
534
|
+
// moment it first holds meaning; an eager empty row (`features:[]`, `limits:{}`,
|
|
535
|
+
// empty `manualOverrides`) is a resolution no-op. COMPOSITION here means dies-with
|
|
536
|
+
// (onParentDelete), NOT created-with — the two are orthogonal (DDD). See
|
|
537
|
+
// .claude/plans/composition-oncreate-lifecycle.md (FEATURES wave, 2026-07-11).
|
|
250
538
|
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
|
|
539
|
+
foreignKeyField: 'organizationId',
|
|
251
540
|
// Features: summary by default
|
|
252
541
|
contextPolicy: {
|
|
253
542
|
objectMode: ContextPolicy_ObjectMode.SUMMARY,
|
|
254
543
|
}
|
|
255
544
|
}),
|
|
256
|
-
createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_MEMBER_INVITATIONS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
257
|
-
isPrimaryScope: true,
|
|
258
|
-
nature: RelationshipNature.COMPOSITION,
|
|
259
|
-
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
|
|
260
|
-
// High cardinality: disable on LIST/SEARCH for performance
|
|
261
|
-
contextPolicy: {
|
|
262
|
-
operationOverrides: {
|
|
263
|
-
[CoreResourceOperation.LIST]: { enabled: false },
|
|
264
|
-
[CoreResourceOperation.SEARCH]: { enabled: false },
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
}),
|
|
268
545
|
createResourcesRelationship(CoreResourceType.APPLICATION, CoreResourceType.APPLICATION_METADATA, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE, {
|
|
269
546
|
isPrimaryScope: true,
|
|
270
547
|
nature: RelationshipNature.COMPOSITION,
|
|
548
|
+
// Deliberately NO onParentCreate — the metadata row is created by the
|
|
549
|
+
// framework-owned Level-A seed `engine-applications:application-metadata`
|
|
550
|
+
// (`applicationMetadataSeedDefinitions`, opted into by the app's backend module),
|
|
551
|
+
// NOT by composition.
|
|
552
|
+
//
|
|
553
|
+
// This edge DID declare `onParentCreate`, on the hypothesis that the APPLICATION
|
|
554
|
+
// create path might route through `handler.create` → `executePostOperationLogic`.
|
|
555
|
+
// It does not, and never did: the apps-manager provisions the APPLICATION row at
|
|
556
|
+
// the REPOSITORY tier while bootstrapping the application database
|
|
557
|
+
// (`wildo-application-lifecycle.apps-manager.platform.service.ts` →
|
|
558
|
+
// `seedAppApplication` → `upsertEntity(repository, …)`), so the post-create hook is
|
|
559
|
+
// never reached. Measured 2026-08-09: one `applications` row and ZERO
|
|
560
|
+
// `applicationMetadata` rows in every database of the dev stack.
|
|
561
|
+
//
|
|
562
|
+
// A declared lifecycle edge that cannot fire is worse than no edge — it reads as
|
|
563
|
+
// covered in the registry, in the spec, and in every review, which is exactly how
|
|
564
|
+
// this went unnoticed. Removed rather than commented as pending. (The sibling
|
|
565
|
+
// APPLICATION_FEATURES edge records the same blocker.)
|
|
271
566
|
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
|
|
272
567
|
foreignKeyField: 'appId',
|
|
273
568
|
// 1:1 metadata: full on READ
|
|
@@ -291,6 +586,24 @@ export const coreSharedResourceRelationship = [
|
|
|
291
586
|
}
|
|
292
587
|
}
|
|
293
588
|
}),
|
|
589
|
+
createResourcesRelationship(CoreResourceType.APPLICATION, CoreResourceType.APPLICATION_FEATURES, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE, {
|
|
590
|
+
isPrimaryScope: true,
|
|
591
|
+
nature: RelationshipNature.COMPOSITION,
|
|
592
|
+
// Deliberately NO onParentCreate — same cache-resolved-ledger rationale as the
|
|
593
|
+
// ORGANIZATION_FEATURES edge above. TWO extra APP-only blockers even if that
|
|
594
|
+
// changed: (1) APPLICATION rows are provisioned via the platform CLI / apps-manager
|
|
595
|
+
// bootstrap, not the engine handler.create → executePostOperationLogic, so the seed
|
|
596
|
+
// hook never fires on real app provisioning; (2) this edge's foreignKeyField 'appId'
|
|
597
|
+
// is NOT the APPLICATION primary-scope identifier ('applicationId'), so it is absent
|
|
598
|
+
// from CONTEXT_AUTO_POPULATED_FIELD_IDENTIFIERS — createAsSystem's name-based
|
|
599
|
+
// preserve-list would strip it and seed an orphan row (the boot seedability guard
|
|
600
|
+
// does not catch this: it probes DTO defaults, not FK persistence).
|
|
601
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
|
|
602
|
+
foreignKeyField: 'appId',
|
|
603
|
+
contextPolicy: {
|
|
604
|
+
objectMode: ContextPolicy_ObjectMode.SUMMARY,
|
|
605
|
+
}
|
|
606
|
+
}),
|
|
294
607
|
// API Keys relationships
|
|
295
608
|
createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.ORG_API_KEYS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
296
609
|
isPrimaryScope: true,
|
|
@@ -306,16 +619,43 @@ export const coreSharedResourceRelationship = [
|
|
|
306
619
|
// SECURITY: API keys should never be fetched via context
|
|
307
620
|
contextPolicy: { enabled: false }
|
|
308
621
|
}),
|
|
309
|
-
//
|
|
622
|
+
// OAuth Clients relationships (mirror API Keys — registered client-credentials front)
|
|
623
|
+
createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.OAUTH_CLIENTS_ORGANIZATION, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
624
|
+
isPrimaryScope: true,
|
|
625
|
+
nature: RelationshipNature.COMPOSITION,
|
|
626
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
|
|
627
|
+
// SECURITY: OAuth client secrets should never be fetched via context
|
|
628
|
+
contextPolicy: { enabled: false }
|
|
629
|
+
}),
|
|
630
|
+
createResourcesRelationship(CoreResourceType.APPLICATION, CoreResourceType.OAUTH_CLIENTS_APPLICATION, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
631
|
+
isPrimaryScope: true,
|
|
632
|
+
nature: RelationshipNature.COMPOSITION,
|
|
633
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
|
|
634
|
+
// SECURITY: OAuth client secrets should never be fetched via context
|
|
635
|
+
contextPolicy: { enabled: false }
|
|
636
|
+
}),
|
|
637
|
+
// Audit Logs - System resource.
|
|
638
|
+
// APPLICATION remains the resource's canonical primary-scope classification,
|
|
639
|
+
// but an individual audit row does not necessarily describe an application
|
|
640
|
+
// tenant: organization-scoped, user-only, and system events legitimately omit
|
|
641
|
+
// applicationId. Keep the FK optional so relationship persistence matches the
|
|
642
|
+
// forensic event schema instead of silently making every row application-bound.
|
|
310
643
|
createResourcesRelationship(CoreResourceType.APPLICATION, CoreResourceType.AUDIT_LOGS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
644
|
+
isPrimaryScope: true,
|
|
645
|
+
foreignKeyField: 'applicationId',
|
|
646
|
+
parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,
|
|
311
647
|
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
|
|
312
648
|
nature: RelationshipNature.REFERENCE,
|
|
313
649
|
contextPolicy: { enabled: false }
|
|
314
650
|
}),
|
|
315
|
-
// Step 19D: Changed from STANDALONE to REQUIRES_CONTEXT for org-scoped Audit Log Viewer
|
|
651
|
+
// Step 19D: Changed from STANDALONE to REQUIRES_CONTEXT for org-scoped Audit Log Viewer.
|
|
652
|
+
// parentResourceRequirement=OPTIONAL because AuditableEvent_BaseSchema.organizationId is
|
|
653
|
+
// optional — audit logs can be application-level events with no org context. accessScopeStrategy
|
|
654
|
+
// must be explicit (REQUIRES_CONTEXT) because Guard 1 prohibits isPrimaryScope+OPTIONAL_CONTEXT.
|
|
316
655
|
createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.AUDIT_LOGS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
317
|
-
isPrimaryScope: true,
|
|
318
656
|
foreignKeyField: 'organizationId',
|
|
657
|
+
parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,
|
|
658
|
+
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.REQUIRES_CONTEXT,
|
|
319
659
|
nature: RelationshipNature.REFERENCE,
|
|
320
660
|
childOperations: {
|
|
321
661
|
lifecycle: { onParentDelete: { enabled: false } },
|
|
@@ -327,29 +667,33 @@ export const coreSharedResourceRelationship = [
|
|
|
327
667
|
},
|
|
328
668
|
},
|
|
329
669
|
}),
|
|
670
|
+
// parentResourceRequirement=OPTIONAL because AuditableEvent_BaseSchema.userId is optional —
|
|
671
|
+
// audit logs can be application-level events with no associated user (e.g. system events).
|
|
330
672
|
createResourcesRelationship(CoreResourceType.USERS, CoreResourceType.AUDIT_LOGS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
673
|
+
parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,
|
|
331
674
|
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
|
|
332
675
|
nature: RelationshipNature.REFERENCE,
|
|
333
676
|
contextPolicy: { enabled: false }
|
|
334
677
|
}),
|
|
335
|
-
// Notification Badges -
|
|
336
|
-
//
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
678
|
+
// ── Notification Badges (Dual-Scope Polymorphic) ─────────────────────
|
|
679
|
+
// Each scope owns its own resource type and its own MongoDB collection.
|
|
680
|
+
// Accessed internally via `NotificationBadgeBackendService`, which dispatches
|
|
681
|
+
// to the right repository based on the request's scope. The APPLICATION
|
|
682
|
+
// variant was dropped (no canonical badges declared at app scope; broadcast
|
|
683
|
+
// remains an option in `NotificationBadgeBackendService.emitBadgeUpdate`).
|
|
684
|
+
//
|
|
685
|
+
// Refactor: `.cursor/plans/notification-badges-polymorphism-refactor.md`
|
|
686
|
+
createResourcesRelationship(CoreResourceType.USERS, CoreResourceType.USER_NOTIFICATION_BADGES, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
687
|
+
isPrimaryScope: true,
|
|
688
|
+
foreignKeyField: 'userId',
|
|
346
689
|
nature: RelationshipNature.COMPOSITION,
|
|
347
690
|
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
|
|
348
691
|
// Notifications: ephemeral, accessed via dedicated service
|
|
349
692
|
contextPolicy: { enabled: false }
|
|
350
693
|
}),
|
|
351
|
-
createResourcesRelationship(CoreResourceType.
|
|
352
|
-
|
|
694
|
+
createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_NOTIFICATION_BADGES, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
695
|
+
isPrimaryScope: true,
|
|
696
|
+
foreignKeyField: 'organizationId',
|
|
353
697
|
nature: RelationshipNature.COMPOSITION,
|
|
354
698
|
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
|
|
355
699
|
// Notifications: ephemeral, accessed via dedicated service
|
|
@@ -357,107 +701,270 @@ export const coreSharedResourceRelationship = [
|
|
|
357
701
|
}),
|
|
358
702
|
// Queue System Resources - Internal infrastructure for job tracking and payload storage
|
|
359
703
|
// NOTE: These are INTERNAL resources, not exposed via API URLs.
|
|
360
|
-
// isPrimaryScope is NOT set (would conflict with STANDALONE strategy).
|
|
361
704
|
// Access is exclusively via repository services with INTERNAL variants.
|
|
705
|
+
// The STANDALONE strategy keeps them out of URL routing; `isPrimaryScope: true`
|
|
706
|
+
// anchors the scope enum to APPLICATION (ownership graph is orthogonal to
|
|
707
|
+
// URL routing — see `resources-relationships.shared.factory.ts` Guard 1).
|
|
362
708
|
createResourcesRelationship(CoreResourceType.APPLICATION, CoreResourceType.JOB_EXECUTIONS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
363
709
|
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
|
|
710
|
+
isPrimaryScope: true,
|
|
364
711
|
nature: RelationshipNature.REFERENCE,
|
|
365
712
|
// Internal resource: never fetch via context, accessed via dedicated services
|
|
366
713
|
contextPolicy: { enabled: false }
|
|
367
714
|
}),
|
|
368
715
|
createResourcesRelationship(CoreResourceType.APPLICATION, CoreResourceType.JOB_PAYLOAD_STORAGE, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
369
716
|
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
|
|
717
|
+
isPrimaryScope: true,
|
|
370
718
|
nature: RelationshipNature.REFERENCE,
|
|
371
719
|
// Internal resource: never fetch via context, accessed via dedicated services
|
|
372
720
|
contextPolicy: { enabled: false }
|
|
373
721
|
}),
|
|
374
|
-
//
|
|
375
|
-
//
|
|
376
|
-
//
|
|
377
|
-
|
|
378
|
-
|
|
722
|
+
// ── Job Execution Cross-Scope FK Edges ───────────────────────────────
|
|
723
|
+
//
|
|
724
|
+
// JobExecution carries the originating execution context (`organizationId`,
|
|
725
|
+
// `userId`) plus optional payload-storage references. These fields are
|
|
726
|
+
// genuine FKs into existing resources — they exist so internal queue
|
|
727
|
+
// services can filter / join. STANDALONE access keeps these edges off the
|
|
728
|
+
// URL surface (the resource is APPLICATION-primary; admin queries it via
|
|
729
|
+
// the JobExecution UI, not nested under /organizations/:id/job-executions).
|
|
730
|
+
//
|
|
731
|
+
// `parentResourceRequirement: OPTIONAL` matches the schema (`.optional()`
|
|
732
|
+
// on all four fields). `isPrimaryScope: false` because APPLICATION is the
|
|
733
|
+
// primary scope anchor (declared above).
|
|
734
|
+
createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.JOB_EXECUTIONS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
735
|
+
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
|
|
736
|
+
nature: RelationshipNature.REFERENCE,
|
|
737
|
+
foreignKeyField: 'organizationId',
|
|
738
|
+
parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,
|
|
739
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: false } } },
|
|
740
|
+
contextPolicy: { enabled: false }
|
|
741
|
+
}),
|
|
742
|
+
createResourcesRelationship(CoreResourceType.USERS, CoreResourceType.JOB_EXECUTIONS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
379
743
|
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
|
|
380
744
|
nature: RelationshipNature.REFERENCE,
|
|
381
|
-
|
|
745
|
+
foreignKeyField: 'userId',
|
|
746
|
+
parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,
|
|
747
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: false } } },
|
|
382
748
|
contextPolicy: { enabled: false }
|
|
383
749
|
}),
|
|
384
|
-
|
|
385
|
-
// Note: Standalone resources cannot have isPrimaryScope=true (they are accessed independently)
|
|
386
|
-
createResourcesRelationship(CoreResourceType.APPLICATION, CoreResourceType.EMAIL_HEADER_FOOTER_TEMPLATES, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
387
|
-
// isPrimaryScope removed: STANDALONE access strategy means no parent scope in URL
|
|
750
|
+
createResourcesRelationship(CoreResourceType.JOB_PAYLOAD_STORAGE, CoreResourceType.JOB_EXECUTIONS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
388
751
|
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
|
|
389
752
|
nature: RelationshipNature.REFERENCE,
|
|
390
|
-
|
|
753
|
+
foreignKeyField: 'inputPayloadStorageId',
|
|
754
|
+
parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,
|
|
755
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: false } } },
|
|
391
756
|
contextPolicy: { enabled: false }
|
|
392
757
|
}),
|
|
393
|
-
|
|
394
|
-
createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.EMAIL_HEADER_FOOTER_TEMPLATES, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
395
|
-
isPrimaryScope: false, // Not primary - org override path
|
|
758
|
+
createResourcesRelationship(CoreResourceType.JOB_PAYLOAD_STORAGE, CoreResourceType.JOB_EXECUTIONS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
396
759
|
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
|
|
397
760
|
nature: RelationshipNature.REFERENCE,
|
|
398
|
-
|
|
761
|
+
foreignKeyField: 'outputPayloadStorageId',
|
|
762
|
+
parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,
|
|
763
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: false } } },
|
|
399
764
|
contextPolicy: { enabled: false }
|
|
400
765
|
}),
|
|
766
|
+
// Flows-Actors Execution Resources (POLYMORPHIC) — persisted flow/actor system
|
|
767
|
+
// executions. Owner = the injected scope FK per variant (USER_SELF / ORGANIZATIONS /
|
|
768
|
+
// APPLICATION primary scope): the default API READ/LIST return only the caller's own
|
|
769
|
+
// executions (per-scope chat history). COMPOSITION + onParentDelete cascade removes a
|
|
770
|
+
// scope's executions when the owning user/org/app is deleted (via the default DELETE
|
|
771
|
+
// op at the repository tier). Not context-fetched (accessed via the conversational
|
|
772
|
+
// runtime), so contextPolicy is disabled.
|
|
773
|
+
// USERS → userFlowActorExecutions
|
|
774
|
+
// ORGANIZATIONS → organizationFlowActorExecutions
|
|
775
|
+
// APPLICATION → applicationFlowActorExecutions
|
|
776
|
+
...createPolymorphicScopeRelationships(flowActorExecutionsPolymorphicDeclaration, {
|
|
777
|
+
nature: RelationshipNature.COMPOSITION,
|
|
778
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
|
|
779
|
+
contextPolicy: { enabled: false },
|
|
780
|
+
}),
|
|
781
|
+
// Flows-Actors Task Resources (POLYMORPHIC) — the WORK plane behind the A2A `Task`
|
|
782
|
+
// object, owned by the same three scopes as executions so a task always belongs to
|
|
783
|
+
// the principal that drove the turn. COMPOSITION + onParentDelete cascade removes a
|
|
784
|
+
// scope's tasks when the owning user/org/app is deleted.
|
|
785
|
+
// USERS → userFlowActorTasks
|
|
786
|
+
// ORGANIZATIONS → organizationFlowActorTasks
|
|
787
|
+
// APPLICATION → applicationFlowActorTasks
|
|
788
|
+
//
|
|
789
|
+
// `childCardinality` is left at its MANY default, which is CORRECT here (unlike the
|
|
790
|
+
// A2ATokenBudgetState sibling below, a singleton that must pin ONE): tasks are
|
|
791
|
+
// multi-row per scope, so the cascade discovers them via LIST — and this resource
|
|
792
|
+
// DECLARES a LIST op, so `validateCompositionCascadeDeletability` is satisfied.
|
|
793
|
+
//
|
|
794
|
+
// NOTE the deliberate absence of an execution→task relationship: `flowActorExecutionId`
|
|
795
|
+
// is a SOFT indexed link, not a declared FK, because a task must be able to outlive the
|
|
796
|
+
// conversation that produced it. See the base schema for the full rationale.
|
|
797
|
+
...createPolymorphicScopeRelationships(flowActorTasksPolymorphicDeclaration, {
|
|
798
|
+
nature: RelationshipNature.COMPOSITION,
|
|
799
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
|
|
800
|
+
contextPolicy: { enabled: false },
|
|
801
|
+
}),
|
|
802
|
+
// Scope → A2ATokenBudgetState (isPrimaryScope: true, 3 variants; SINGLETON per tenant).
|
|
803
|
+
// USERS → userA2aTokenBudgetState, ORGANIZATIONS → organizationA2aTokenBudgetState,
|
|
804
|
+
// APPLICATION → applicationA2aTokenBudgetState.
|
|
805
|
+
// COMPOSITION so a deleted tenant's budget row is cascade-cleaned (IMMEDIATE, depth 1).
|
|
806
|
+
//
|
|
807
|
+
// `childCardinality: ONE` is load-bearing, not decoration: this child is a SINGLETON (the
|
|
808
|
+
// injected owner FK is its unique business key — exactly one row per tenant), and the helper
|
|
809
|
+
// DEFAULTS to MANY. Beyond being semantically wrong, MANY makes the cascade look for a LIST
|
|
810
|
+
// discovery op while a 1:1 child is discovered via READ — and this resource declares no LIST.
|
|
811
|
+
// That mismatch does NOT silently orphan rows: `validateCompositionCascadeDeletability` collects
|
|
812
|
+
// it and the caller fails CLOSED at boot. (It did exactly that while this resource was being
|
|
813
|
+
// built — the cardinality was the true cause, not the ops' variant types.)
|
|
814
|
+
...createPolymorphicScopeRelationships(a2aTokenBudgetStatePolymorphicDeclaration, {
|
|
815
|
+
nature: RelationshipNature.COMPOSITION,
|
|
816
|
+
childCardinality: ResourceRelationshipCardinality.ONE,
|
|
817
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
|
|
818
|
+
contextPolicy: { enabled: false },
|
|
819
|
+
}),
|
|
820
|
+
// Scope → A2APushDeliveryLog (isPrimaryScope: true, 3 variants; MANY rows per tenant).
|
|
821
|
+
// USERS → userA2aPushDeliveryLog, ORGANIZATIONS → organizationA2aPushDeliveryLog,
|
|
822
|
+
// APPLICATION → applicationA2aPushDeliveryLog.
|
|
823
|
+
//
|
|
824
|
+
// Default cardinality (MANY) — unlike the budget singleton above, there is one row per
|
|
825
|
+
// (task transition × registered webhook), and the resource declares LIST, so the cascade's
|
|
826
|
+
// discovery op resolves.
|
|
827
|
+
//
|
|
828
|
+
// COMPOSITION with IMMEDIATE cascade: these rows are evidence ABOUT a tenant's deliveries and
|
|
829
|
+
// have no meaning once the tenant is gone. Deliberately NOT retained the way billing rows are —
|
|
830
|
+
// a delivery log carries no financial or statutory obligation, and keeping it would leave
|
|
831
|
+
// webhook URLs (a tenant's own infrastructure addresses) alive after erasure, which is the
|
|
832
|
+
// opposite of what a subject-erasure path is for.
|
|
833
|
+
...createPolymorphicScopeRelationships(a2aPushDeliveryLogPolymorphicDeclaration, {
|
|
834
|
+
nature: RelationshipNature.COMPOSITION,
|
|
835
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
|
|
836
|
+
contextPolicy: { enabled: false },
|
|
837
|
+
}),
|
|
401
838
|
// ── Billing Relationships (Polymorphic) ─────────────────────────────
|
|
402
839
|
// Scope → BillingAccounts (isPrimaryScope: true, 2 variants)
|
|
403
840
|
// ORGANIZATIONS → organizationBillingAccounts
|
|
404
841
|
// USERS → userBillingAccounts
|
|
842
|
+
//
|
|
843
|
+
// ⚠️ RETAINED TOO (coherence follow-up to the billing-retention decision, Paul — 2026-07-29).
|
|
844
|
+
// The account was NOT part of the original 16 edges — it has a core DELETE op, so the
|
|
845
|
+
// cascade-deletability guard never flagged it — but leaving it enabled made the retention
|
|
846
|
+
// decision incoherent: hard-deleting a scope killed the account while its retained invoices /
|
|
847
|
+
// subscriptions / usage records / credit pools survived pointing at a dead row.
|
|
848
|
+
//
|
|
849
|
+
// Why the dangling reference was not survivable, concretely (traced 2026-07-29):
|
|
850
|
+
// • `providerCustomerId` is `.isBackendOnly()` and lives ONLY here. The retained children carry
|
|
851
|
+
// their own provider ids (`providerInvoiceId`, `providerSubscriptionId`) but NOT the provider
|
|
852
|
+
// CUSTOMER id — so deleting the account destroys the only local key that maps a retained
|
|
853
|
+
// invoice back to the customer it was billed to. A financial record you cannot reconcile
|
|
854
|
+
// against the provider defeats the purpose of retaining it. Nothing provider-side is cleaned
|
|
855
|
+
// up on delete either (no customer deletion, no subscription cancellation), so this was a
|
|
856
|
+
// purely LOCAL mapping being thrown away while the provider-side record lived on.
|
|
857
|
+
// • The usage-flush sweep (`UsageMeteringBackendService.flushScopeToProvider`) selects on
|
|
858
|
+
// `reportedToProvider: false`, groups by this FK, and skips its "mark as reported" write when
|
|
859
|
+
// the customer id cannot be resolved. Retained usage rows whose account was deleted are
|
|
860
|
+
// therefore re-selected by EVERY subsequent sweep and can never drain — a permanent,
|
|
861
|
+
// monotonically growing error backlog. (Latent today: no cron calls `flushToProvider` yet.)
|
|
862
|
+
// • `onSubscriptionChanged` (feature sync, fired by the subscription post-operation hook) and
|
|
863
|
+
// the webhook router's `emitBillingEvent` both dereference this FK off a retained child; both
|
|
864
|
+
// are null-guarded, so they degrade to a warn + silent no-op rather than crashing.
|
|
865
|
+
// • Relationship context population (`contextPolicy: {}` on the child edges below) fetches this
|
|
866
|
+
// account as SUMMARY on every child READ/LIST; it is fault-tolerant, so the miss becomes a
|
|
867
|
+
// per-request warn forever rather than an error.
|
|
868
|
+
// No chart or aggregation reads billing, and no billing schema uses `forwardedLabel`, so those
|
|
869
|
+
// surfaces were unaffected either way.
|
|
870
|
+
//
|
|
871
|
+
// The account row now carries a dangling scope FK of its own after a scope delete — but that is
|
|
872
|
+
// exactly the danglingness the 2026-07-29 decision already accepted for its four child families,
|
|
873
|
+
// not a new kind of inconsistency. As with those children, the nature stays COMPOSITION (the
|
|
874
|
+
// account genuinely belongs to its scope); only the dies-with-parent behaviour is declined.
|
|
875
|
+
//
|
|
876
|
+
// With this cascade disabled, a DIRECT hard delete of the account became the only remaining path
|
|
877
|
+
// into the forbidden half-state described below. That path is now closed at runtime: the billing
|
|
878
|
+
// account's DELETE carries a fail-closed dependents guard that refuses with 409
|
|
879
|
+
// `BILLING_ACCOUNT_HAS_DEPENDENTS` while any retained child still references the account
|
|
880
|
+
// (`assertNoBillingAccountDependents`, wired as a DELETE prefix custom implementation). Keep that
|
|
881
|
+
// guard's family list in lock-step with the retained edges declared here.
|
|
405
882
|
...createPolymorphicScopeRelationships(billingAccountsPolymorphicDeclaration, {
|
|
406
883
|
nature: RelationshipNature.COMPOSITION,
|
|
407
|
-
childOperations: { lifecycle: { onParentDelete: { enabled:
|
|
884
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: false } } }, // RETAIN (compliance decision 2026-07-29) — see the note above.
|
|
408
885
|
}),
|
|
409
886
|
// Scope → Subscriptions (isPrimaryScope: true, 2 variants)
|
|
410
887
|
// ORGANIZATIONS → organizationSubscriptions
|
|
411
888
|
// USERS → userSubscriptions
|
|
412
889
|
...createPolymorphicScopeRelationships(billingSubscriptionsPolymorphicDeclaration, {
|
|
413
890
|
nature: RelationshipNature.COMPOSITION,
|
|
414
|
-
childOperations: { lifecycle: { onParentDelete: { enabled:
|
|
891
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: false } } }, // RETAIN (compliance decision 2026-07-29) — see the billing-retention note above.
|
|
415
892
|
}),
|
|
416
893
|
// BillingAccounts → Subscriptions (variant-matched, 1:N)
|
|
417
894
|
// organizationBillingAccounts → organizationSubscriptions
|
|
418
895
|
// userBillingAccounts → userSubscriptions
|
|
419
896
|
...createPolymorphicRelationships(billingAccountsPolymorphicDeclaration, billingSubscriptionsPolymorphicDeclaration, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
420
897
|
nature: RelationshipNature.COMPOSITION,
|
|
421
|
-
childOperations: { lifecycle: { onParentDelete: { enabled:
|
|
898
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: false } } }, // RETAIN (compliance decision 2026-07-29) — see the billing-retention note above.
|
|
422
899
|
contextPolicy: {},
|
|
423
900
|
}),
|
|
424
901
|
// ── Polymorphic Billing Children ─────────────────────────────────────
|
|
902
|
+
//
|
|
903
|
+
// ⚠️ BILLING RETENTION (compliance decision, Paul — 2026-07-29): subscriptions / invoiceRefs /
|
|
904
|
+
// usageRecords / creditPools are RETAINED, never cascade-deleted. The financial audit trail must
|
|
905
|
+
// survive the deletion of the scope or the billing account that produced it (tax / SOX retention),
|
|
906
|
+
// so every `onParentDelete` below is DISABLED — 16 edges in total (4 families × 2 parents × 2 scope
|
|
907
|
+
// variants). These are the entries formerly tracked as `KNOWN_CASCADE_DELETABILITY_GAPS`.
|
|
908
|
+
//
|
|
909
|
+
// Why NOT `retentionPolicy` + `IMPERSONALIZE_AND_RETAIN`: that machinery also HIDES and FREEZES the
|
|
910
|
+
// row (reachable only through the audited see-through path), and these invoices must stay visible
|
|
911
|
+
// for ordinary accounting. It is also the wrong tool semantically — a billing row holds no personal
|
|
912
|
+
// data of its own (no name, email or address; the person is a foreign key), so there is nothing on
|
|
913
|
+
// it to scrub. The PII lives on the linked USER, which is where impersonalization belongs: erasing
|
|
914
|
+
// a subject scrubs the user row and keeps it, so these financial rows keep resolving to an
|
|
915
|
+
// anonymized subject.
|
|
916
|
+
//
|
|
917
|
+
// A COMPOSITION without `onParentDelete` is an explicitly supported combination — it leaves the
|
|
918
|
+
// children behind by design choice (see `validateCompositionCascadeDeletability`). The nature stays
|
|
919
|
+
// COMPOSITION because these rows genuinely belong to their scope; only the dies-with-parent
|
|
920
|
+
// behaviour is declined.
|
|
921
|
+
//
|
|
922
|
+
// The `Scope → BillingAccounts` edge above was RETAINED on the same day as a coherence follow-up
|
|
923
|
+
// (18 disabled billing cascades in total). Without it these 16 edges kept rows whose owning account
|
|
924
|
+
// had been deleted — see the rationale block at that declaration. Do not re-enable either half in
|
|
925
|
+
// isolation: retaining the children while deleting the account strands the provider-customer
|
|
926
|
+
// mapping, and deleting the children while retaining the account discards the audit trail.
|
|
425
927
|
// Invoice Refs — scope relationships (2 variants)
|
|
426
928
|
...createPolymorphicScopeRelationships(invoiceRefsPolymorphicDeclaration, {
|
|
427
929
|
nature: RelationshipNature.COMPOSITION,
|
|
428
|
-
childOperations: { lifecycle: { onParentDelete: { enabled:
|
|
930
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: false } } }, // RETAIN (compliance decision 2026-07-29) — see the billing-retention note above.
|
|
429
931
|
}),
|
|
430
932
|
// BillingAccounts → InvoiceRefs (variant-matched, 1:N)
|
|
431
933
|
...createPolymorphicRelationships(billingAccountsPolymorphicDeclaration, invoiceRefsPolymorphicDeclaration, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
432
934
|
nature: RelationshipNature.COMPOSITION,
|
|
433
|
-
childOperations: { lifecycle: { onParentDelete: { enabled:
|
|
935
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: false } } }, // RETAIN (compliance decision 2026-07-29) — see the billing-retention note above.
|
|
434
936
|
contextPolicy: {},
|
|
435
937
|
}),
|
|
436
|
-
// Usage Records — scope relationships (
|
|
938
|
+
// Usage Records — scope relationships (2 variants: ORG, USER)
|
|
437
939
|
...createPolymorphicScopeRelationships(usageRecordsPolymorphicDeclaration, {
|
|
438
940
|
nature: RelationshipNature.COMPOSITION,
|
|
439
|
-
childOperations: { lifecycle: { onParentDelete: { enabled:
|
|
941
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: false } } }, // RETAIN (compliance decision 2026-07-29) — see the billing-retention note above.
|
|
440
942
|
}),
|
|
441
943
|
// BillingAccounts → UsageRecords (variant-matched, 1:N)
|
|
442
944
|
...createPolymorphicRelationships(billingAccountsPolymorphicDeclaration, usageRecordsPolymorphicDeclaration, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
443
945
|
nature: RelationshipNature.COMPOSITION,
|
|
444
|
-
childOperations: { lifecycle: { onParentDelete: { enabled:
|
|
946
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: false } } }, // RETAIN (compliance decision 2026-07-29) — see the billing-retention note above.
|
|
445
947
|
contextPolicy: { enabled: false },
|
|
446
948
|
}),
|
|
447
|
-
// Credit Pools — scope relationships (
|
|
949
|
+
// Credit Pools — scope relationships (2 variants: ORG, USER)
|
|
448
950
|
...createPolymorphicScopeRelationships(creditPoolsPolymorphicDeclaration, {
|
|
449
951
|
nature: RelationshipNature.COMPOSITION,
|
|
450
|
-
childOperations: { lifecycle: { onParentDelete: { enabled:
|
|
952
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: false } } }, // RETAIN (compliance decision 2026-07-29) — see the billing-retention note above.
|
|
451
953
|
}),
|
|
452
954
|
// BillingAccounts → CreditPools (variant-matched, 1:N)
|
|
453
955
|
...createPolymorphicRelationships(billingAccountsPolymorphicDeclaration, creditPoolsPolymorphicDeclaration, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
454
956
|
nature: RelationshipNature.COMPOSITION,
|
|
455
|
-
childOperations: { lifecycle: { onParentDelete: { enabled:
|
|
957
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: false } } }, // RETAIN (compliance decision 2026-07-29) — see the billing-retention note above.
|
|
456
958
|
contextPolicy: {},
|
|
457
959
|
}),
|
|
458
960
|
// Referrals keep shared FK field names (`referrerBillingAccountId`, `referredBillingAccountId`)
|
|
459
|
-
// instead of polymorphic per-variant field expansion
|
|
460
|
-
//
|
|
961
|
+
// instead of polymorphic per-variant field expansion. Each is declared a per-record
|
|
962
|
+
// DISCRIMINATED polymorphic FK on `ReferralSchema` (`polymorphicVariants:
|
|
963
|
+
// BILLING_SCOPE_DISCRIMINATED_FK_VARIANTS` + `polymorphicDiscriminatorField:
|
|
964
|
+
// 'referrer|referredScopeType'`). These sibling relationships enumerate the candidate
|
|
965
|
+
// billing-account branches per FK; the concrete branch is resolved PER RECORD via the
|
|
966
|
+
// scope discriminator (Resources_SharedUtils.resolveDiscriminatedPolymorphicForeignKeyTarget),
|
|
967
|
+
// and the registry FK→type map keeps only a non-authoritative representative for these fields.
|
|
461
968
|
createResourcesRelationship(CoreResourceType.USER_BILLING_ACCOUNTS, CoreResourceType.REFERRALS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
462
969
|
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
|
|
463
970
|
nature: RelationshipNature.REFERENCE,
|
|
@@ -493,18 +1000,94 @@ export const coreSharedResourceRelationship = [
|
|
|
493
1000
|
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
|
|
494
1001
|
contextPolicy: {},
|
|
495
1002
|
}),
|
|
496
|
-
// ──
|
|
1003
|
+
// ── Catalog & Internal Scope Anchors (STANDALONE primary) ────────────
|
|
1004
|
+
//
|
|
1005
|
+
// Catalog-tier resources (products, prices, promotions) and shared lookup
|
|
1006
|
+
// tables (referrals, files, userFeatures) need a primary-scope anchor so
|
|
1007
|
+
// that `createResourceConfiguration_Initialization` can derive their
|
|
1008
|
+
// `resourcePrimaryScope` enum without falling back to a silent default.
|
|
1009
|
+
//
|
|
1010
|
+
// STANDALONE keeps these rels off the URL surface (catalog/lookup access
|
|
1011
|
+
// goes through dedicated services, not parent-scoped routes) while
|
|
1012
|
+
// `isPrimaryScope: true` declares the structural ownership: catalog
|
|
1013
|
+
// entities are APPLICATION-tier; user-facing lookups are USER_SELF-tier.
|
|
1014
|
+
//
|
|
1015
|
+
// See `resources-relationships.shared.factory.ts` Guard 1 for the full
|
|
1016
|
+
// rationale on why STANDALONE + isPrimaryScope is the canonical pattern
|
|
1017
|
+
// for resources that are scope-anchored but not URL-routed.
|
|
1018
|
+
createResourcesRelationship(CoreResourceType.APPLICATION, CoreResourceType.PRODUCTS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
1019
|
+
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
|
|
1020
|
+
isPrimaryScope: true,
|
|
1021
|
+
nature: RelationshipNature.REFERENCE,
|
|
1022
|
+
contextPolicy: { enabled: false },
|
|
1023
|
+
}),
|
|
1024
|
+
createResourcesRelationship(CoreResourceType.APPLICATION, CoreResourceType.PRICES, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
1025
|
+
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
|
|
1026
|
+
isPrimaryScope: true,
|
|
1027
|
+
nature: RelationshipNature.REFERENCE,
|
|
1028
|
+
contextPolicy: { enabled: false },
|
|
1029
|
+
}),
|
|
1030
|
+
createResourcesRelationship(CoreResourceType.APPLICATION, CoreResourceType.PROMOTIONS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
1031
|
+
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
|
|
1032
|
+
isPrimaryScope: true,
|
|
1033
|
+
nature: RelationshipNature.REFERENCE,
|
|
1034
|
+
contextPolicy: { enabled: false },
|
|
1035
|
+
}),
|
|
1036
|
+
createResourcesRelationship(CoreResourceType.USERS, CoreResourceType.USER_FEATURES, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE, {
|
|
1037
|
+
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
|
|
1038
|
+
isPrimaryScope: true,
|
|
1039
|
+
nature: RelationshipNature.COMPOSITION,
|
|
1040
|
+
foreignKeyField: 'userId',
|
|
1041
|
+
// onParentDelete cascade: USER_FEATURES is a composition part — it dies with its
|
|
1042
|
+
// user. This edge was the lone scope-features sibling MISSING childOperations
|
|
1043
|
+
// (ORGANIZATION_FEATURES / APPLICATION_FEATURES both declared the cascade) →
|
|
1044
|
+
// orphan-on-user-delete risk; now aligned. Deliberately NO onParentCreate: the
|
|
1045
|
+
// scope-features ledger is cache-resolved (see the ORGANIZATION_FEATURES note).
|
|
1046
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
|
|
1047
|
+
contextPolicy: { enabled: false },
|
|
1048
|
+
}),
|
|
1049
|
+
createResourcesRelationship(CoreResourceType.APPLICATION, CoreResourceType.FILES, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
1050
|
+
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
|
|
1051
|
+
isPrimaryScope: true,
|
|
1052
|
+
nature: RelationshipNature.REFERENCE,
|
|
1053
|
+
// applicationId is always propagated to every file record from the execution context
|
|
1054
|
+
// at creation time, regardless of the file's primaryScope (APPLICATION / ORGANIZATIONS /
|
|
1055
|
+
// USER_SELF). It is the top-level tenant isolation field, not the scope discriminator.
|
|
1056
|
+
contextPolicy: { enabled: false },
|
|
1057
|
+
}),
|
|
1058
|
+
// Referrals scope anchor — TEMPORARY SHIM — Phase 4.5 Step 2.5 Layer 3c TODO.
|
|
1059
|
+
//
|
|
1060
|
+
// Referrals naturally inherit polymorphism from `*_billingAccounts` (which
|
|
1061
|
+
// are USER_SELF/ORG-polymorphic). The principled long-term design is to
|
|
1062
|
+
// split `referrals` into the same polymorphic variant pair so each variant
|
|
1063
|
+
// carries its own scope via the parent billing-account chain. Until that
|
|
1064
|
+
// follow-up PR lands, the ORGANIZATIONS edge below carries a STANDALONE
|
|
1065
|
+
// primary anchor so the resource has a defined `resourcePrimaryScope` and
|
|
1066
|
+
// the registry-layer factory's no-fallback throw stays satisfied.
|
|
1067
|
+
// Tracked in `.cursor/plans/m2m-webhook-organization-delivery-phase4-5-hardening.md`
|
|
1068
|
+
// (Phase 4.5 Step 2.5 Layer 3c).
|
|
1069
|
+
createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.REFERRALS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
1070
|
+
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
|
|
1071
|
+
isPrimaryScope: true,
|
|
1072
|
+
nature: RelationshipNature.REFERENCE,
|
|
1073
|
+
contextPolicy: { enabled: false },
|
|
1074
|
+
}),
|
|
1075
|
+
// ── Guidance State Relationships (Dual-Scope) ────────────────────────
|
|
497
1076
|
// Each scope entity has 1:1 guidance state — system resource, standalone access
|
|
498
1077
|
createResourcesRelationship(CoreResourceType.USERS, CoreResourceType.USER_GUIDANCE_STATE, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE, {
|
|
499
1078
|
isPrimaryScope: true,
|
|
500
1079
|
foreignKeyField: 'userId',
|
|
501
1080
|
nature: RelationshipNature.COMPOSITION,
|
|
1081
|
+
// onParentCreate: eager-seed the guidance-state row on user creation (removes the lazy read-create race; evaluator read-then-creates so no dup).
|
|
1082
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 }, onParentCreate: { enabled: true } } },
|
|
502
1083
|
contextPolicy: { enabled: false }
|
|
503
1084
|
}),
|
|
504
1085
|
createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_GUIDANCE_STATE, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE, {
|
|
505
1086
|
isPrimaryScope: true,
|
|
506
1087
|
foreignKeyField: 'organizationId',
|
|
507
1088
|
nature: RelationshipNature.COMPOSITION,
|
|
1089
|
+
// onParentCreate: eager-seed the guidance-state row on org creation.
|
|
1090
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 }, onParentCreate: { enabled: true } } },
|
|
508
1091
|
contextPolicy: { enabled: false }
|
|
509
1092
|
}),
|
|
510
1093
|
// ── Progression State Relationships (Dual-Scope) ─────────────────────────
|
|
@@ -513,12 +1096,16 @@ export const coreSharedResourceRelationship = [
|
|
|
513
1096
|
isPrimaryScope: true,
|
|
514
1097
|
foreignKeyField: 'userId',
|
|
515
1098
|
nature: RelationshipNature.COMPOSITION,
|
|
1099
|
+
// onParentCreate: eager-seed the progression-state row on user creation.
|
|
1100
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 }, onParentCreate: { enabled: true } } },
|
|
516
1101
|
contextPolicy: { enabled: false }
|
|
517
1102
|
}),
|
|
518
1103
|
createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_PROGRESSION_STATE, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE, {
|
|
519
1104
|
isPrimaryScope: true,
|
|
520
1105
|
foreignKeyField: 'organizationId',
|
|
521
1106
|
nature: RelationshipNature.COMPOSITION,
|
|
1107
|
+
// onParentCreate: eager-seed the progression-state row on org creation.
|
|
1108
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 }, onParentCreate: { enabled: true } } },
|
|
522
1109
|
contextPolicy: { enabled: false }
|
|
523
1110
|
}),
|
|
524
1111
|
// ── Lifecycle State Relationships (Dual-Scope) ─────────────────────────
|
|
@@ -527,14 +1114,86 @@ export const coreSharedResourceRelationship = [
|
|
|
527
1114
|
isPrimaryScope: true,
|
|
528
1115
|
foreignKeyField: 'userId',
|
|
529
1116
|
nature: RelationshipNature.COMPOSITION,
|
|
1117
|
+
// onParentCreate: eager-seed the lifecycle-state row on user creation — the
|
|
1118
|
+
// genuine latent gap (no READ self-heal); the evaluator read-then-creates so no dup.
|
|
1119
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 }, onParentCreate: { enabled: true } } },
|
|
530
1120
|
contextPolicy: { enabled: false }
|
|
531
1121
|
}),
|
|
532
1122
|
createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_LIFECYCLE_STATE, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE, {
|
|
533
1123
|
isPrimaryScope: true,
|
|
534
1124
|
foreignKeyField: 'organizationId',
|
|
535
1125
|
nature: RelationshipNature.COMPOSITION,
|
|
1126
|
+
// onParentCreate: eager-seed the lifecycle-state row on org creation (latent gap).
|
|
1127
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 }, onParentCreate: { enabled: true } } },
|
|
536
1128
|
contextPolicy: { enabled: false }
|
|
537
1129
|
}),
|
|
1130
|
+
// ── Inbound Contacts (Phase 0.5, Q-E=B) ──────────────────────────────
|
|
1131
|
+
//
|
|
1132
|
+
// APPLICATION-scope lead-capture resource. Two FK edges to USER-shaped
|
|
1133
|
+
// parents are declared MANUALLY (no `isAnonymizable: true`, so the
|
|
1134
|
+
// factory does NOT inject anything for this resource):
|
|
1135
|
+
//
|
|
1136
|
+
// 1. ANONYMOUS_USERS → INBOUND_CONTACTS via `anonymousUserId`
|
|
1137
|
+
// Filled by the controller pre-flight seam from the active anonymous
|
|
1138
|
+
// session. Cleared to `null` by the manual transposition hook in
|
|
1139
|
+
// `AnonymousSessionBackendService` once the user converts.
|
|
1140
|
+
//
|
|
1141
|
+
// 2. USERS → INBOUND_CONTACTS via `userId`
|
|
1142
|
+
// Filled by the manual transposition hook when the lead converts.
|
|
1143
|
+
// Distinct from the schema's `relatedUserId` (sales/support manual
|
|
1144
|
+
// linkage) — see InboundContactSchema JSDoc.
|
|
1145
|
+
//
|
|
1146
|
+
// `relatedUserId` is intentionally NOT modeled as a separate
|
|
1147
|
+
// ResourceRelationship row: it is a sparse, manually-populated free
|
|
1148
|
+
// FK with no auto-context / cascade / URL-routing semantics. Modeling
|
|
1149
|
+
// it would add a second USERS → INBOUND_CONTACTS edge that the URL
|
|
1150
|
+
// builder would have to disambiguate via FK at every nested route, for
|
|
1151
|
+
// zero product gain (sales reps will use the standalone admin URL with
|
|
1152
|
+
// a filter, not a nested /users/:id/inbound-contacts path).
|
|
1153
|
+
//
|
|
1154
|
+
// Both edges use STANDALONE access scope: the resource is admin-listed
|
|
1155
|
+
// from APPLICATION scope, never nested under anonymous-users or users.
|
|
1156
|
+
// parentResourceRequirement=OPTIONAL because anonymousUserId is nullable (cleared to null on conversion).
|
|
1157
|
+
createResourcesRelationship(CoreResourceType.ANONYMOUS_USERS, CoreResourceType.INBOUND_CONTACTS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
1158
|
+
parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,
|
|
1159
|
+
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
|
|
1160
|
+
nature: RelationshipNature.REFERENCE,
|
|
1161
|
+
foreignKeyField: 'anonymousUserId',
|
|
1162
|
+
// Lead survives anonymous-session cleanup (transposition rewrites
|
|
1163
|
+
// anonymousUserId → null when the lead converts; expired sessions
|
|
1164
|
+
// never owned the lead's lifecycle).
|
|
1165
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: false } } },
|
|
1166
|
+
contextPolicy: { enabled: false },
|
|
1167
|
+
}),
|
|
1168
|
+
createResourcesRelationship(CoreResourceType.USERS, CoreResourceType.INBOUND_CONTACTS,
|
|
1169
|
+
// ONE → MANY: userId is nullable on the schema (anonymous/unlinked leads have no user).
|
|
1170
|
+
// parentResourceRequirement=OPTIONAL to align with the nullable FK —
|
|
1171
|
+
// MANDATORY (default) would cause a ZodToMongoose required-mismatch crash.
|
|
1172
|
+
ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
1173
|
+
parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,
|
|
1174
|
+
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
|
|
1175
|
+
nature: RelationshipNature.REFERENCE,
|
|
1176
|
+
foreignKeyField: 'userId',
|
|
1177
|
+
// Lead history is org-owned, not user-owned — survives user
|
|
1178
|
+
// deletion (compliance / audit signal). DELETE on a user does
|
|
1179
|
+
// not cascade to leads they happened to convert from.
|
|
1180
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: false } } },
|
|
1181
|
+
contextPolicy: { enabled: false },
|
|
1182
|
+
}),
|
|
1183
|
+
// INBOUND_CONTACTS scope anchor (STANDALONE primary).
|
|
1184
|
+
//
|
|
1185
|
+
// Phase 4.5 Step 2.5 Layer 3a: declares APPLICATION as the structural
|
|
1186
|
+
// owner of inbound-contacts. The two USER-shaped FK edges above
|
|
1187
|
+
// (ANONYMOUS_USERS / USERS) carry conversion linkage but do NOT define
|
|
1188
|
+
// ownership — leads survive parent deletion and are admin-listed from
|
|
1189
|
+
// APPLICATION scope. STANDALONE keeps this rel inert for URL routing
|
|
1190
|
+
// (no nested /applications/:id/inbound-contacts path).
|
|
1191
|
+
createResourcesRelationship(CoreResourceType.APPLICATION, CoreResourceType.INBOUND_CONTACTS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
1192
|
+
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
|
|
1193
|
+
isPrimaryScope: true,
|
|
1194
|
+
nature: RelationshipNature.REFERENCE,
|
|
1195
|
+
contextPolicy: { enabled: false },
|
|
1196
|
+
}),
|
|
538
1197
|
// ── Auth Relationships (Polymorphic — Singletons: 1:1, Collections: 1:N) ──
|
|
539
1198
|
// SSO Config — singleton (ONE per scope)
|
|
540
1199
|
...createPolymorphicScopeRelationships(ssoConfigPolymorphicDeclaration, {
|
|
@@ -559,18 +1218,6 @@ export const coreSharedResourceRelationship = [
|
|
|
559
1218
|
},
|
|
560
1219
|
},
|
|
561
1220
|
}),
|
|
562
|
-
// Auth Policy — singleton (ONE per scope)
|
|
563
|
-
...createPolymorphicScopeRelationships(authPolicyPolymorphicDeclaration, {
|
|
564
|
-
childCardinality: ResourceRelationshipCardinality.ONE,
|
|
565
|
-
nature: RelationshipNature.COMPOSITION,
|
|
566
|
-
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
|
|
567
|
-
contextPolicy: {
|
|
568
|
-
objectMode: ContextPolicy_ObjectMode.SUMMARY,
|
|
569
|
-
operationOverrides: {
|
|
570
|
-
[CoreResourceOperation.READ]: { objectMode: ContextPolicy_ObjectMode.FULL },
|
|
571
|
-
},
|
|
572
|
-
},
|
|
573
|
-
}),
|
|
574
1221
|
// SIEM Export Config — singleton (ONE per scope)
|
|
575
1222
|
...createPolymorphicScopeRelationships(siemExportConfigPolymorphicDeclaration, {
|
|
576
1223
|
childCardinality: ResourceRelationshipCardinality.ONE,
|
|
@@ -617,6 +1264,31 @@ export const coreSharedResourceRelationship = [
|
|
|
617
1264
|
},
|
|
618
1265
|
},
|
|
619
1266
|
}),
|
|
1267
|
+
// M2M Webhook Config — singleton (ONE per scope), mirrors SIEM Export Config wiring.
|
|
1268
|
+
...createPolymorphicScopeRelationships(webhookConfigPolymorphicDeclaration, {
|
|
1269
|
+
childCardinality: ResourceRelationshipCardinality.ONE,
|
|
1270
|
+
nature: RelationshipNature.COMPOSITION,
|
|
1271
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
|
|
1272
|
+
contextPolicy: {
|
|
1273
|
+
objectMode: ContextPolicy_ObjectMode.SUMMARY,
|
|
1274
|
+
operationOverrides: {
|
|
1275
|
+
[CoreResourceOperation.READ]: { objectMode: ContextPolicy_ObjectMode.FULL },
|
|
1276
|
+
},
|
|
1277
|
+
},
|
|
1278
|
+
}),
|
|
1279
|
+
// M2M Webhook Delivery Log — collection (MANY per scope). LIST/SEARCH stay
|
|
1280
|
+
// off the context surface (high-volume noise — admin queries them via the
|
|
1281
|
+
// dedicated UI, not via implicit context inclusion). Mirrors SIEM DLQ wiring.
|
|
1282
|
+
...createPolymorphicScopeRelationships(m2mWebhookDeliveryLogPolymorphicDeclaration, {
|
|
1283
|
+
nature: RelationshipNature.COMPOSITION,
|
|
1284
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
|
|
1285
|
+
contextPolicy: {
|
|
1286
|
+
operationOverrides: {
|
|
1287
|
+
[CoreResourceOperation.LIST]: { enabled: false },
|
|
1288
|
+
[CoreResourceOperation.SEARCH]: { enabled: false },
|
|
1289
|
+
},
|
|
1290
|
+
},
|
|
1291
|
+
}),
|
|
620
1292
|
];
|
|
621
1293
|
export const coreShared_ResourcesConfigurations_FactoryMap = {
|
|
622
1294
|
[CoreResourceType.ORGANIZATIONS]: organizationResourceConfiguration_InitializationFactory,
|
|
@@ -629,20 +1301,25 @@ export const coreShared_ResourcesConfigurations_FactoryMap = {
|
|
|
629
1301
|
[CoreResourceType.USER_SELF_PREFERENCES]: userSelfPreferencesResourceConfiguration_InitializationFactory,
|
|
630
1302
|
// Organization-related resources
|
|
631
1303
|
[CoreResourceType.ORGANIZATION_UNITS]: organizationUnitResourceConfiguration_InitializationFactory,
|
|
1304
|
+
[CoreResourceType.ORGANIZATION_UNIT_MEMBERS]: organizationUnitMemberResourceConfiguration_InitializationFactory,
|
|
632
1305
|
[CoreResourceType.ORGANIZATION_PROFILES]: organizationProfileResourceConfiguration_InitializationFactory,
|
|
633
1306
|
[CoreResourceType.ORGANIZATION_PREFERENCES]: organizationPreferencesResourceConfiguration_InitializationFactory,
|
|
1307
|
+
[CoreResourceType.PLATFORM_ACCESS_GRANTS]: platformAccessGrantsResourceConfiguration_InitializationFactory,
|
|
634
1308
|
[CoreResourceType.ORGANIZATION_NOTIFICATIONS]: organizationNotificationsResourceConfiguration_InitializationFactory,
|
|
635
1309
|
[CoreResourceType.ORGANIZATION_FEATURES]: organizationFeaturesResourceConfiguration_InitializationFactory,
|
|
636
1310
|
[CoreResourceType.USER_FEATURES]: userFeaturesResourceConfiguration_InitializationFactory,
|
|
637
1311
|
[CoreResourceType.ORGANIZATION_MEMBERS]: organizationMembersResourceConfiguration_InitializationFactory,
|
|
638
|
-
[CoreResourceType.ORGANIZATION_MEMBER_INVITATIONS]: organizationMemberInvitationsResourceConfiguration_InitializationFactory,
|
|
639
1312
|
// Application resources
|
|
640
1313
|
[CoreResourceType.APPLICATION]: applicationResourceConfiguration_InitializationFactory,
|
|
641
1314
|
[CoreResourceType.APPLICATION_METADATA]: applicationMetadataResourceConfiguration_InitializationFactory,
|
|
642
1315
|
[CoreResourceType.APPLICATION_VERSIONS]: applicationVersionsResourceConfiguration_InitializationFactory,
|
|
1316
|
+
[CoreResourceType.APPLICATION_FEATURES]: applicationFeaturesResourceConfiguration_InitializationFactory,
|
|
643
1317
|
// API Keys
|
|
644
1318
|
[CoreResourceType.ORG_API_KEYS]: orgApiKeysResourceConfiguration_InitializationFactory,
|
|
645
1319
|
[CoreResourceType.APPLICATION_API_KEYS]: appApiKeysResourceConfiguration_InitializationFactory,
|
|
1320
|
+
// OAuth Clients (registered client-credentials front — mirrors API Keys)
|
|
1321
|
+
[CoreResourceType.OAUTH_CLIENTS_ORGANIZATION]: orgOAuthClientsResourceConfiguration_InitializationFactory,
|
|
1322
|
+
[CoreResourceType.OAUTH_CLIENTS_APPLICATION]: appOAuthClientsResourceConfiguration_InitializationFactory,
|
|
646
1323
|
// Billing resources — polymorphic variants (3 each for accounts & subscriptions)
|
|
647
1324
|
...billingAccountsPolymorphicFactories,
|
|
648
1325
|
...billingSubscriptionsPolymorphicFactories,
|
|
@@ -656,20 +1333,27 @@ export const coreShared_ResourcesConfigurations_FactoryMap = {
|
|
|
656
1333
|
[CoreResourceType.REFERRALS]: referralsResourceConfiguration_InitializationFactory,
|
|
657
1334
|
// Audit and Compliance
|
|
658
1335
|
[CoreResourceType.AUDIT_LOGS]: auditLogsResourceConfiguration_InitializationFactory,
|
|
659
|
-
// Notification
|
|
660
|
-
[CoreResourceType.
|
|
1336
|
+
// Notification Badges — polymorphic dual-scope (USER + ORG)
|
|
1337
|
+
[CoreResourceType.USER_NOTIFICATION_BADGES]: userNotificationBadgesResourceConfiguration_InitializationFactory,
|
|
1338
|
+
[CoreResourceType.ORGANIZATION_NOTIFICATION_BADGES]: organizationNotificationBadgesResourceConfiguration_InitializationFactory,
|
|
661
1339
|
// File Management Resources
|
|
662
1340
|
[CoreResourceType.FILES]: filesResourceConfiguration_InitializationFactory,
|
|
663
1341
|
// Queue System Resources (internal infrastructure)
|
|
664
1342
|
[CoreResourceType.JOB_EXECUTIONS]: jobExecution_ResourceConfiguration_InitializationFactory,
|
|
665
1343
|
[CoreResourceType.JOB_PAYLOAD_STORAGE]: jobPayloadStorage_ResourceConfiguration_InitializationFactory,
|
|
666
|
-
//
|
|
667
|
-
|
|
668
|
-
|
|
1344
|
+
// Flows-Actors Execution Resource (persisted flow/actor system executions)
|
|
1345
|
+
...flowActorExecutionsPolymorphicFactories,
|
|
1346
|
+
// Flows-Actors Task Resource (the WORK plane behind the A2A `Task` object)
|
|
1347
|
+
...flowActorTasksPolymorphicFactories,
|
|
1348
|
+
...a2aTokenBudgetStatePolymorphicFactories,
|
|
1349
|
+
...a2aPushDeliveryLogPolymorphicFactories,
|
|
669
1350
|
// Authentication Resources
|
|
670
1351
|
[CoreResourceType.USER_IDENTITY_LINKS]: userIdentityLinksResourceConfiguration_InitializationFactory,
|
|
1352
|
+
[CoreResourceType.OAUTH_CONSENT_GRANTS]: oauthConsentGrantsResourceConfiguration_InitializationFactory,
|
|
671
1353
|
// Anonymous Session Resources (W7.3a)
|
|
672
1354
|
[CoreResourceType.ANONYMOUS_USERS]: anonymousUsersResourceConfiguration_InitializationFactory,
|
|
1355
|
+
// Inbound Contacts (Phase 0.5 — public marketing-site lead capture, Q-E=B)
|
|
1356
|
+
[CoreResourceType.INBOUND_CONTACTS]: inboundContactsResourceConfiguration_InitializationFactory,
|
|
673
1357
|
// Guidance State Resources
|
|
674
1358
|
[CoreResourceType.USER_GUIDANCE_STATE]: userGuidanceStateResourceConfiguration_InitializationFactory,
|
|
675
1359
|
[CoreResourceType.ORGANIZATION_GUIDANCE_STATE]: organizationGuidanceStateResourceConfiguration_InitializationFactory,
|
|
@@ -679,13 +1363,15 @@ export const coreShared_ResourcesConfigurations_FactoryMap = {
|
|
|
679
1363
|
// Lifecycle State Resources
|
|
680
1364
|
[CoreResourceType.USER_LIFECYCLE_STATE]: userLifecycleStateResourceConfiguration_InitializationFactory,
|
|
681
1365
|
[CoreResourceType.ORGANIZATION_LIFECYCLE_STATE]: organizationLifecycleStateResourceConfiguration_InitializationFactory,
|
|
682
|
-
// Auth Resources — polymorphic variants (SSO + SIEM + SCIM,
|
|
1366
|
+
// Auth Resources — polymorphic variants (SSO + SIEM + SCIM, 6 × 2 = 12 entries)
|
|
683
1367
|
...ssoConfigPolymorphicFactories,
|
|
684
1368
|
...ssoConnectionPolymorphicFactories,
|
|
685
|
-
...authPolicyPolymorphicFactories,
|
|
686
1369
|
...siemExportConfigPolymorphicFactories,
|
|
687
1370
|
...siemDeliveryDlqPolymorphicFactories,
|
|
688
1371
|
...scimTokensPolymorphicFactories,
|
|
689
1372
|
...scimProvisioningConfigPolymorphicFactories,
|
|
1373
|
+
// M2M Outbound Webhook Resources — polymorphic dual-scope (2 × 2 = 4 entries)
|
|
1374
|
+
...webhookConfigPolymorphicFactories,
|
|
1375
|
+
...m2mWebhookDeliveryLogPolymorphicFactories,
|
|
690
1376
|
};
|
|
691
|
-
//# sourceMappingURL=resources-registry.shared.core.definitions.js.map
|
|
1377
|
+
//# sourceMappingURL=resources-registry.shared.core.definitions.js.map
|