@wildo-ai/saas-models 1.1.3 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/applications/application-metadata.shared.resources-config.schemas.d.ts +1 -1
- package/dist/esm/applications/application-versions.shared.resources-config.schemas.d.ts +1 -1
- package/dist/esm/applications/application-versions.shared.resources-config.schemas.js +2 -2
- package/dist/esm/applications/application-versions.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/applications/applications-context.schemas.d.ts +236 -18
- package/dist/esm/applications/applications-context.schemas.d.ts.map +1 -1
- package/dist/esm/applications/applications.shared.resources-config.schemas.d.ts +1 -0
- package/dist/esm/applications/applications.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/applications/applications.shared.resources-config.schemas.js +1 -1
- package/dist/esm/applications/applications.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/applications/applications.shared.schemas.d.ts +3 -2
- package/dist/esm/applications/applications.shared.schemas.d.ts.map +1 -1
- package/dist/esm/applications/applications.shared.schemas.js +40 -5
- package/dist/esm/applications/applications.shared.schemas.js.map +1 -1
- package/dist/esm/billing/billing-account.shared.resources-config.schemas.d.ts +1 -2
- 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 +1 -2
- package/dist/esm/billing/billing-account.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/billing-enums.shared.schemas.d.ts +87 -5
- package/dist/esm/billing/billing-enums.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/billing-enums.shared.schemas.js +91 -5
- package/dist/esm/billing/billing-enums.shared.schemas.js.map +1 -1
- package/dist/esm/billing/billing-types.shared.schemas.d.ts +25 -4
- package/dist/esm/billing/billing-types.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/billing-types.shared.schemas.js +61 -0
- package/dist/esm/billing/billing-types.shared.schemas.js.map +1 -1
- package/dist/esm/billing/price.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/price.shared.resources-config.schemas.js +32 -2
- package/dist/esm/billing/price.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/product-behavior-policy.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/product-behavior-policy.shared.schemas.js +1 -1
- package/dist/esm/billing/product-behavior-policy.shared.schemas.js.map +1 -1
- package/dist/esm/billing/product.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/product.shared.resources-config.schemas.js +32 -2
- package/dist/esm/billing/product.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/product.shared.schemas.d.ts +1 -0
- package/dist/esm/billing/product.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/product.shared.schemas.js +3 -0
- package/dist/esm/billing/product.shared.schemas.js.map +1 -1
- package/dist/esm/billing/promotions.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/promotions.shared.resources-config.schemas.js +33 -3
- package/dist/esm/billing/promotions.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/referral.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/referral.shared.resources-config.schemas.js +22 -2
- package/dist/esm/billing/referral.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/referral.shared.schemas.d.ts +1 -0
- package/dist/esm/billing/referral.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/referral.shared.schemas.js +3 -0
- package/dist/esm/billing/referral.shared.schemas.js.map +1 -1
- package/dist/esm/billing/subscription.shared.resources-config.schemas.d.ts +23 -1
- package/dist/esm/billing/subscription.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/subscription.shared.resources-config.schemas.js +48 -2
- package/dist/esm/billing/subscription.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/subscription.shared.schemas.d.ts +1 -0
- package/dist/esm/billing/subscription.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/subscription.shared.schemas.js +3 -0
- package/dist/esm/billing/subscription.shared.schemas.js.map +1 -1
- package/dist/esm/billing/usage-flush-evidence.shared.schemas.d.ts +49 -0
- package/dist/esm/billing/usage-flush-evidence.shared.schemas.d.ts.map +1 -0
- package/dist/esm/billing/usage-flush-evidence.shared.schemas.js +48 -0
- package/dist/esm/billing/usage-flush-evidence.shared.schemas.js.map +1 -0
- package/dist/esm/billing/usage-record.shared.schemas.d.ts +1 -0
- package/dist/esm/billing/usage-record.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/usage-record.shared.schemas.js +3 -0
- package/dist/esm/billing/usage-record.shared.schemas.js.map +1 -1
- package/dist/esm/companion/provider-discovery.shared.schemas.d.ts +8 -0
- package/dist/esm/companion/provider-discovery.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.d.ts +14 -3
- package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.js +21 -7
- package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.d.ts +450 -0
- package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.js +723 -0
- package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.d.ts +2 -2
- package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.d.ts +8 -0
- package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.js +15 -0
- package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.d.ts +787 -21
- 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 +1079 -26
- package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.js.map +1 -1
- package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.d.ts.map +1 -1
- package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.js +51 -0
- package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.js.map +1 -1
- package/dist/esm/compliance/documents/governed-document-interactions.shared.schemas.d.ts +463 -0
- package/dist/esm/compliance/documents/governed-document-interactions.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/documents/governed-document-interactions.shared.schemas.js +526 -0
- package/dist/esm/compliance/documents/governed-document-interactions.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/documents/governed-documents.shared.schemas.d.ts +539 -15
- package/dist/esm/compliance/documents/governed-documents.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/documents/governed-documents.shared.schemas.js +402 -14
- package/dist/esm/compliance/documents/governed-documents.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.d.ts +18 -0
- package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.js +89 -0
- package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.d.ts +47 -0
- package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.js +73 -0
- package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.d.ts +21 -0
- package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.js +39 -1
- package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/capability-consent-purposes.shared.utils.d.ts +33 -0
- package/dist/esm/compliance/privacy/capability-consent-purposes.shared.utils.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/capability-consent-purposes.shared.utils.js +30 -0
- package/dist/esm/compliance/privacy/capability-consent-purposes.shared.utils.js.map +1 -0
- package/dist/esm/compliance/privacy/client-storage.shared.schemas.d.ts +6 -5
- package/dist/esm/compliance/privacy/client-storage.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/client-storage.shared.schemas.js +15 -5
- package/dist/esm/compliance/privacy/client-storage.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/consent-gate-vocabulary.shared.schemas.d.ts +127 -0
- package/dist/esm/compliance/privacy/consent-gate-vocabulary.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/consent-gate-vocabulary.shared.schemas.js +94 -0
- package/dist/esm/compliance/privacy/consent-gate-vocabulary.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/privacy/consent-purposes.shared.d.ts +125 -0
- package/dist/esm/compliance/privacy/consent-purposes.shared.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/consent-purposes.shared.js +136 -0
- package/dist/esm/compliance/privacy/consent-purposes.shared.js.map +1 -0
- package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.d.ts +91 -0
- package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.js +123 -0
- package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.d.ts +27 -0
- package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.js +36 -2
- package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.d.ts +68 -25
- package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.js +74 -22
- package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/privacy.shared.schemas.d.ts +9 -17
- package/dist/esm/compliance/privacy/privacy.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/privacy.shared.schemas.js +74 -31
- package/dist/esm/compliance/privacy/privacy.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/subject-erasure-lane-evidence.shared.schemas.d.ts +47 -0
- package/dist/esm/compliance/privacy/subject-erasure-lane-evidence.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/subject-erasure-lane-evidence.shared.schemas.js +98 -0
- package/dist/esm/compliance/privacy/subject-erasure-lane-evidence.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.d.ts +368 -35
- package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.js +403 -17
- package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/review-cadence.shared.schemas.d.ts +56 -0
- package/dist/esm/compliance/review-cadence.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/review-cadence.shared.schemas.js +71 -0
- package/dist/esm/compliance/review-cadence.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/risk-posture.shared.schemas.d.ts +161 -0
- package/dist/esm/compliance/risk-posture.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/risk-posture.shared.schemas.js +166 -0
- package/dist/esm/compliance/risk-posture.shared.schemas.js.map +1 -0
- package/dist/esm/config/analytics-value-moments.shared.schemas.d.ts +4 -3
- package/dist/esm/config/analytics-value-moments.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/analytics-value-moments.shared.schemas.js +4 -3
- package/dist/esm/config/analytics-value-moments.shared.schemas.js.map +1 -1
- package/dist/esm/config/app-configuration-shared.shared.schemas.d.ts +222 -9
- package/dist/esm/config/app-configuration-shared.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/app-configuration-shared.shared.schemas.js +232 -9
- package/dist/esm/config/app-configuration-shared.shared.schemas.js.map +1 -1
- package/dist/esm/config/auth-config-resolution.shared.utils.d.ts +75 -3
- package/dist/esm/config/auth-config-resolution.shared.utils.d.ts.map +1 -1
- package/dist/esm/config/auth-config-resolution.shared.utils.js +93 -4
- package/dist/esm/config/auth-config-resolution.shared.utils.js.map +1 -1
- package/dist/esm/config/brand-assets.shared.schemas.d.ts +5 -4
- package/dist/esm/config/brand-assets.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/brand-assets.shared.schemas.js +14 -4
- package/dist/esm/config/brand-assets.shared.schemas.js.map +1 -1
- package/dist/esm/config/entity-identity-config.shared.schemas.d.ts +463 -19
- package/dist/esm/config/entity-identity-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/entity-identity-config.shared.schemas.js +535 -28
- package/dist/esm/config/entity-identity-config.shared.schemas.js.map +1 -1
- package/dist/esm/config/frontend/chart-definition.shared.schemas.d.ts +14 -14
- package/dist/esm/config/frontend/chart-registration-alignment.shared.d.ts +139 -3
- package/dist/esm/config/frontend/chart-registration-alignment.shared.d.ts.map +1 -1
- package/dist/esm/config/frontend/chart-registration-alignment.shared.js +151 -4
- package/dist/esm/config/frontend/chart-registration-alignment.shared.js.map +1 -1
- package/dist/esm/config/frontend/navigation.shared.schemas.d.ts +21 -17
- package/dist/esm/config/frontend/navigation.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/frontend/navigation.shared.schemas.js +58 -40
- package/dist/esm/config/frontend/navigation.shared.schemas.js.map +1 -1
- package/dist/esm/config/frontend/onboarding.shared.schemas.d.ts +90 -133
- package/dist/esm/config/frontend/onboarding.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/frontend/onboarding.shared.schemas.js +148 -100
- package/dist/esm/config/frontend/onboarding.shared.schemas.js.map +1 -1
- package/dist/esm/errors/errors.custom-message-ref.shared.definitions.d.ts +146 -43
- 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 +147 -42
- package/dist/esm/errors/errors.custom-message-ref.shared.definitions.js.map +1 -1
- package/dist/esm/errors/errors.shared.definitions.js +1 -1
- package/dist/esm/errors/errors.shared.definitions.js.map +1 -1
- package/dist/esm/errors/errors.shared.schemas.d.ts +29 -40
- package/dist/esm/errors/errors.shared.schemas.d.ts.map +1 -1
- package/dist/esm/errors/errors.shared.schemas.js +37 -54
- package/dist/esm/errors/errors.shared.schemas.js.map +1 -1
- package/dist/esm/errors/errors.shared.utils.d.ts +24 -0
- package/dist/esm/errors/errors.shared.utils.d.ts.map +1 -1
- package/dist/esm/errors/errors.shared.utils.js +39 -0
- package/dist/esm/errors/errors.shared.utils.js.map +1 -1
- package/dist/esm/errors/thrown-value-description.shared.utils.d.ts +27 -0
- package/dist/esm/errors/thrown-value-description.shared.utils.d.ts.map +1 -0
- package/dist/esm/errors/thrown-value-description.shared.utils.js +67 -0
- package/dist/esm/errors/thrown-value-description.shared.utils.js.map +1 -0
- package/dist/esm/external-data/external-data-pipeline.shared.schemas.d.ts +48 -73
- package/dist/esm/external-data/external-data-pipeline.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-data/external-data-pipeline.shared.schemas.js +103 -9
- package/dist/esm/external-data/external-data-pipeline.shared.schemas.js.map +1 -1
- package/dist/esm/external-data.exports.d.ts +1 -0
- package/dist/esm/external-data.exports.d.ts.map +1 -1
- package/dist/esm/external-data.exports.js +1 -0
- package/dist/esm/external-data.exports.js.map +1 -1
- package/dist/esm/external-providers/engine-capabilities.shared.schemas.d.ts +18 -12
- package/dist/esm/external-providers/engine-capabilities.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/engine-capabilities.shared.schemas.js +18 -12
- package/dist/esm/external-providers/engine-capabilities.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/engine-capability-resolution-mode.shared.d.ts +5 -3
- package/dist/esm/external-providers/engine-capability-resolution-mode.shared.d.ts.map +1 -1
- package/dist/esm/external-providers/engine-capability-resolution-mode.shared.js +5 -3
- package/dist/esm/external-providers/engine-capability-resolution-mode.shared.js.map +1 -1
- package/dist/esm/external-providers/engine-capability-surface.shared.d.ts +77 -0
- package/dist/esm/external-providers/engine-capability-surface.shared.d.ts.map +1 -0
- package/dist/esm/external-providers/engine-capability-surface.shared.js +173 -0
- package/dist/esm/external-providers/engine-capability-surface.shared.js.map +1 -0
- package/dist/esm/external-providers/external-providers.shared.schemas.d.ts +2 -0
- package/dist/esm/external-providers/external-providers.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/external-providers.shared.schemas.js +21 -0
- package/dist/esm/external-providers/external-providers.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.d.ts +131 -7
- package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.d.ts +114 -0
- package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.js +148 -0
- package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.d.ts +108 -0
- package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.js +86 -0
- package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/frontend-provider-public-config.shared.d.ts +184 -0
- package/dist/esm/external-providers/frontend-provider-public-config.shared.d.ts.map +1 -0
- package/dist/esm/external-providers/frontend-provider-public-config.shared.js +216 -0
- package/dist/esm/external-providers/frontend-provider-public-config.shared.js.map +1 -0
- package/dist/esm/external-providers/provider-authentication-assurance.shared.schemas.d.ts +30 -0
- package/dist/esm/external-providers/provider-authentication-assurance.shared.schemas.d.ts.map +1 -0
- package/dist/esm/external-providers/provider-authentication-assurance.shared.schemas.js +32 -0
- package/dist/esm/external-providers/provider-authentication-assurance.shared.schemas.js.map +1 -0
- package/dist/esm/external-providers/provider-browser-operations.shared.schemas.d.ts +86 -0
- package/dist/esm/external-providers/provider-browser-operations.shared.schemas.d.ts.map +1 -0
- package/dist/esm/external-providers/provider-browser-operations.shared.schemas.js +85 -0
- package/dist/esm/external-providers/provider-browser-operations.shared.schemas.js.map +1 -0
- package/dist/esm/external-providers/provider-capability.shared.schemas.d.ts +14 -13
- package/dist/esm/external-providers/provider-capability.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-capability.shared.schemas.js +10 -10
- package/dist/esm/external-providers/provider-capability.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.d.ts +18 -8
- package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.js +10 -4
- package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.d.ts +165 -0
- package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.d.ts.map +1 -0
- package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.js +39 -0
- package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.js.map +1 -0
- package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.d.ts +7 -5
- package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.js +7 -5
- package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-metadata.shared.schemas.d.ts +8 -5
- package/dist/esm/external-providers/provider-metadata.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-metadata.shared.schemas.js +5 -2
- package/dist/esm/external-providers/provider-metadata.shared.schemas.js.map +1 -1
- package/dist/esm/features/application-features.shared.resources-config.schemas.d.ts +2 -0
- package/dist/esm/features/application-features.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/features/application-features.shared.resources-config.schemas.js +42 -3
- package/dist/esm/features/application-features.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/features/connected-feature.example.d.ts +64 -0
- package/dist/esm/features/connected-feature.example.d.ts.map +1 -0
- package/dist/esm/features/connected-feature.example.js +86 -0
- package/dist/esm/features/connected-feature.example.js.map +1 -0
- package/dist/esm/features/scope-features.shared.schemas.d.ts +53 -0
- package/dist/esm/features/scope-features.shared.schemas.d.ts.map +1 -1
- package/dist/esm/features/scope-features.shared.schemas.js +37 -0
- package/dist/esm/features/scope-features.shared.schemas.js.map +1 -1
- package/dist/esm/features/user-features.shared.resources-config.schemas.d.ts +1 -1
- package/dist/esm/features/user-features.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/features/user-features.shared.resources-config.schemas.js +42 -48
- package/dist/esm/features/user-features.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/files/file-remote-reference-link.shared.schemas.d.ts +73 -0
- package/dist/esm/files/file-remote-reference-link.shared.schemas.d.ts.map +1 -0
- package/dist/esm/files/file-remote-reference-link.shared.schemas.js +62 -0
- package/dist/esm/files/file-remote-reference-link.shared.schemas.js.map +1 -0
- package/dist/esm/files/files.shared.resources-config.schemas.d.ts +3 -3
- package/dist/esm/files/files.shared.resources-config.schemas.js +3 -3
- package/dist/esm/files/files.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/flows-actors/actors.shared.schemas.d.ts +152 -129
- package/dist/esm/flows-actors/actors.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/actors.shared.schemas.js +99 -2
- package/dist/esm/flows-actors/actors.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/agent-traceability.shared.schemas.d.ts +6 -0
- package/dist/esm/flows-actors/agent-traceability.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/agents.shared.schemas.d.ts +3 -3
- package/dist/esm/flows-actors/agents.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/agents.shared.schemas.js +11 -5
- package/dist/esm/flows-actors/agents.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/deliberation.shared.schemas.d.ts +13 -0
- package/dist/esm/flows-actors/deliberation.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/deliberation.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/execution-plan-readiness.shared.utils.d.ts +45 -0
- package/dist/esm/flows-actors/execution-plan-readiness.shared.utils.d.ts.map +1 -0
- package/dist/esm/flows-actors/execution-plan-readiness.shared.utils.js +51 -0
- package/dist/esm/flows-actors/execution-plan-readiness.shared.utils.js.map +1 -0
- package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.d.ts +31 -0
- package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.js +61 -3
- package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/flows-actors-task.shared.schemas.d.ts +2 -2
- package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.d.ts +16 -8
- 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 +23 -11
- 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 +0 -189
- 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 +14 -50
- 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 +0 -3
- 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 +0 -1
- package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/flows-actors.system.shared.schemas.d.ts +1 -67
- 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 +1 -2
- package/dist/esm/flows-actors/flows-actors.system.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/flows.shared.schemas.d.ts +0 -1
- package/dist/esm/flows-actors/flows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/human-decision.shared.schemas.d.ts +121 -0
- package/dist/esm/flows-actors/human-decision.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/human-decision.shared.schemas.js +252 -0
- package/dist/esm/flows-actors/human-decision.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/mcp-servers.shared.schemas.d.ts +2 -0
- package/dist/esm/flows-actors/mcp-servers.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/mcp-servers.shared.schemas.js +13 -0
- package/dist/esm/flows-actors/mcp-servers.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.d.ts +24 -0
- package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.js +80 -0
- package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/flows-actors/provider-call-records.shared.schemas.d.ts +123 -0
- package/dist/esm/flows-actors/provider-call-records.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/provider-call-records.shared.schemas.js +181 -0
- package/dist/esm/flows-actors/provider-call-records.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/tasks.actors.shared.schemas.d.ts +58 -81
- package/dist/esm/flows-actors/tasks.actors.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/tasks.actors.shared.schemas.js +75 -38
- package/dist/esm/flows-actors/tasks.actors.shared.schemas.js.map +1 -1
- package/dist/esm/frontend-definitions/settings-destination-ref.definitions.d.ts +217 -0
- package/dist/esm/frontend-definitions/settings-destination-ref.definitions.d.ts.map +1 -0
- package/dist/esm/frontend-definitions/settings-destination-ref.definitions.js +230 -0
- package/dist/esm/frontend-definitions/settings-destination-ref.definitions.js.map +1 -0
- package/dist/esm/guidance/guidance-flow.shared.schemas.d.ts +106 -24
- package/dist/esm/guidance/guidance-flow.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/guidance-flow.shared.schemas.js +152 -14
- package/dist/esm/guidance/guidance-flow.shared.schemas.js.map +1 -1
- package/dist/esm/guidance/lifecycle-state.shared.schemas.d.ts +0 -6
- package/dist/esm/guidance/lifecycle-state.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/lifecycle-state.shared.schemas.js +0 -19
- package/dist/esm/guidance/lifecycle-state.shared.schemas.js.map +1 -1
- package/dist/esm/guidance/milestone-builders.shared.d.ts +4 -2
- package/dist/esm/guidance/milestone-builders.shared.d.ts.map +1 -1
- package/dist/esm/guidance/milestone-builders.shared.js +4 -2
- package/dist/esm/guidance/milestone-builders.shared.js.map +1 -1
- package/dist/esm/guidance/milestone-definition.shared.schemas.d.ts +66 -4
- package/dist/esm/guidance/milestone-definition.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/milestone-definition.shared.schemas.js +50 -0
- package/dist/esm/guidance/milestone-definition.shared.schemas.js.map +1 -1
- package/dist/esm/guidance/progression-presentation.shared.schemas.d.ts +71 -0
- package/dist/esm/guidance/progression-presentation.shared.schemas.d.ts.map +1 -0
- package/dist/esm/guidance/progression-presentation.shared.schemas.js +72 -0
- package/dist/esm/guidance/progression-presentation.shared.schemas.js.map +1 -0
- package/dist/esm/guidance/progression-state.shared.resources-config.schemas.d.ts +2 -0
- package/dist/esm/guidance/progression-state.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/progression-state.shared.schemas.d.ts +4 -0
- package/dist/esm/guidance/progression-state.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/progression-state.shared.schemas.js +5 -0
- package/dist/esm/guidance/progression-state.shared.schemas.js.map +1 -1
- package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.d.ts.map +1 -1
- package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.js +2 -1
- package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.js.map +1 -1
- package/dist/esm/http-api-binding/http-api-binding.shared.schemas.d.ts +181 -412
- package/dist/esm/http-api-binding/http-api-binding.shared.schemas.d.ts.map +1 -1
- package/dist/esm/http-api-binding/http-api-binding.shared.schemas.js +249 -199
- package/dist/esm/http-api-binding/http-api-binding.shared.schemas.js.map +1 -1
- package/dist/esm/http-api-binding/http-api-transport-dialect.shared.d.ts +107 -0
- package/dist/esm/http-api-binding/http-api-transport-dialect.shared.d.ts.map +1 -0
- package/dist/esm/http-api-binding/http-api-transport-dialect.shared.js +108 -0
- package/dist/esm/http-api-binding/http-api-transport-dialect.shared.js.map +1 -0
- package/dist/esm/http-api-binding/read-through-engine-anchors.shared.d.ts +38 -0
- package/dist/esm/http-api-binding/read-through-engine-anchors.shared.d.ts.map +1 -0
- package/dist/esm/http-api-binding/read-through-engine-anchors.shared.js +42 -0
- package/dist/esm/http-api-binding/read-through-engine-anchors.shared.js.map +1 -0
- package/dist/esm/index.d.ts +47 -4
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +77 -16
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/meta-workflows/actions.meta-workflows.shared.schemas.d.ts.map +1 -0
- package/dist/esm/meta-workflows/actions.meta-workflows.shared.schemas.js.map +1 -0
- package/dist/esm/meta-workflows/catalog.meta-workflows.shared.schemas.d.ts.map +1 -0
- package/dist/esm/meta-workflows/catalog.meta-workflows.shared.schemas.js.map +1 -0
- package/dist/esm/meta-workflows/coding-tasks.meta-workflows.shared.schemas.d.ts +130 -0
- package/dist/esm/meta-workflows/coding-tasks.meta-workflows.shared.schemas.d.ts.map +1 -0
- package/dist/esm/meta-workflows/coding-tasks.meta-workflows.shared.schemas.js +104 -0
- package/dist/esm/meta-workflows/coding-tasks.meta-workflows.shared.schemas.js.map +1 -0
- package/dist/esm/meta-workflows/context-selection.meta-workflows.shared.schemas.d.ts.map +1 -0
- package/dist/esm/meta-workflows/context-selection.meta-workflows.shared.schemas.js.map +1 -0
- package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/decisions.meta-workflows.shared.schemas.d.ts +64 -0
- package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.d.ts.map +1 -0
- package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/decisions.meta-workflows.shared.schemas.js +47 -0
- package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.js.map +1 -0
- package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.d.ts +544 -0
- package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.d.ts.map +1 -0
- package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.js +638 -0
- package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.js.map +1 -0
- package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/portable-primitives.meta-workflows.shared.schemas.d.ts +15 -8
- package/dist/esm/meta-workflows/portable-primitives.meta-workflows.shared.schemas.d.ts.map +1 -0
- package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/portable-primitives.meta-workflows.shared.schemas.js +15 -8
- package/dist/esm/meta-workflows/portable-primitives.meta-workflows.shared.schemas.js.map +1 -0
- package/dist/esm/meta-workflows.exports.d.ts +21 -25
- package/dist/esm/meta-workflows.exports.d.ts.map +1 -1
- package/dist/esm/meta-workflows.exports.js +21 -25
- package/dist/esm/meta-workflows.exports.js.map +1 -1
- package/dist/esm/notifications/email/email-submission.shared.enums.d.ts +16 -0
- package/dist/esm/notifications/email/email-submission.shared.enums.d.ts.map +1 -0
- package/dist/esm/notifications/email/email-submission.shared.enums.js +17 -0
- package/dist/esm/notifications/email/email-submission.shared.enums.js.map +1 -0
- package/dist/esm/notifications/email/email-template-registry.shared.schemas.d.ts +36 -0
- 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 +50 -3
- package/dist/esm/notifications/email/email-template-registry.shared.schemas.js.map +1 -1
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.js +4 -1
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.d.ts +2 -1
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.js +3 -2
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.js.map +1 -1
- package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.js +44 -3
- package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.d.ts +1 -1
- package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.js +12 -33
- package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/notifications/notifications.shared.schemas.d.ts +68 -6
- package/dist/esm/notifications/notifications.shared.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/notifications.shared.schemas.js +68 -6
- package/dist/esm/notifications/notifications.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/application-owner-organization.shared.schemas.d.ts +145 -0
- package/dist/esm/organizations/application-owner-organization.shared.schemas.d.ts.map +1 -0
- package/dist/esm/organizations/application-owner-organization.shared.schemas.js +146 -0
- package/dist/esm/organizations/application-owner-organization.shared.schemas.js.map +1 -0
- package/dist/esm/organizations/organization-features.shared.resources-config.schemas.d.ts +2 -0
- 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 +39 -3
- package/dist/esm/organizations/organization-features.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-members.shared.resources-config.schemas.d.ts +1 -1
- package/dist/esm/organizations/organization-members.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-members.shared.resources-config.schemas.js +18 -14
- package/dist/esm/organizations/organization-members.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-members.shared.schemas.d.ts +1 -1
- package/dist/esm/organizations/organization-members.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-members.shared.schemas.js +9 -1
- package/dist/esm/organizations/organization-members.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-preferences.shared.schemas.d.ts +2 -1
- package/dist/esm/organizations/organization-preferences.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-preferences.shared.schemas.js +3 -0
- package/dist/esm/organizations/organization-preferences.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-profile.shared.schemas.d.ts +3 -1
- package/dist/esm/organizations/organization-profile.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-profile.shared.schemas.js +4 -2
- package/dist/esm/organizations/organization-profile.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-unit-narrowing.shared.d.ts +29 -2
- package/dist/esm/organizations/organization-unit-narrowing.shared.d.ts.map +1 -1
- package/dist/esm/organizations/organization-unit-narrowing.shared.js +27 -0
- package/dist/esm/organizations/organization-unit-narrowing.shared.js.map +1 -1
- package/dist/esm/organizations/organization-units.shared.resources-config.schemas.d.ts +2 -0
- 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 +3 -0
- package/dist/esm/organizations/organization-units.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-units.shared.schemas.d.ts +17 -5
- package/dist/esm/organizations/organization-units.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-units.shared.schemas.js +65 -5
- package/dist/esm/organizations/organization-units.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organizations.shared.resources-config.schemas.d.ts +51 -7
- package/dist/esm/organizations/organizations.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organizations.shared.resources-config.schemas.js +151 -7
- package/dist/esm/organizations/organizations.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organizations.shared.schemas.d.ts +18 -83
- package/dist/esm/organizations/organizations.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organizations.shared.schemas.js +37 -19
- package/dist/esm/organizations/organizations.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/tenant-teardown-config.shared.schemas.d.ts +13 -0
- package/dist/esm/organizations/tenant-teardown-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/tenant-teardown-config.shared.schemas.js +13 -0
- package/dist/esm/organizations/tenant-teardown-config.shared.schemas.js.map +1 -1
- package/dist/esm/provider-registration-runtime.exports.d.ts +1 -0
- package/dist/esm/provider-registration-runtime.exports.d.ts.map +1 -1
- package/dist/esm/provider-registration-runtime.exports.js +1 -0
- package/dist/esm/provider-registration-runtime.exports.js.map +1 -1
- package/dist/esm/public-runtime/index.d.ts +53 -2
- package/dist/esm/public-runtime/index.d.ts.map +1 -1
- package/dist/esm/public-runtime/index.js +45 -2
- package/dist/esm/public-runtime/index.js.map +1 -1
- package/dist/esm/queue/jobs.shared.resources-config.schemas.d.ts +7 -8
- package/dist/esm/queue/jobs.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/queue/jobs.shared.resources-config.schemas.js +30 -6
- package/dist/esm/queue/jobs.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/queue/jobs.shared.schemas.d.ts +388 -2
- package/dist/esm/queue/jobs.shared.schemas.d.ts.map +1 -1
- package/dist/esm/queue/jobs.shared.schemas.js +315 -11
- package/dist/esm/queue/jobs.shared.schemas.js.map +1 -1
- package/dist/esm/queue/jobs.shared.utils.d.ts +6 -4
- package/dist/esm/queue/jobs.shared.utils.d.ts.map +1 -1
- package/dist/esm/queue/jobs.shared.utils.js +5 -4
- package/dist/esm/queue/jobs.shared.utils.js.map +1 -1
- package/dist/esm/queue/queues.shared.schemas.d.ts +20 -8
- package/dist/esm/queue/queues.shared.schemas.d.ts.map +1 -1
- package/dist/esm/queue/queues.shared.schemas.js +23 -18
- package/dist/esm/queue/queues.shared.schemas.js.map +1 -1
- package/dist/esm/queue/queues.shared.utils.d.ts +4 -2
- package/dist/esm/queue/queues.shared.utils.d.ts.map +1 -1
- package/dist/esm/queue/queues.shared.utils.js +4 -2
- package/dist/esm/queue/queues.shared.utils.js.map +1 -1
- package/dist/esm/rag/rag-retrieval-health.shared.d.ts +27 -0
- package/dist/esm/rag/rag-retrieval-health.shared.d.ts.map +1 -0
- package/dist/esm/rag/rag-retrieval-health.shared.js +29 -0
- package/dist/esm/rag/rag-retrieval-health.shared.js.map +1 -0
- package/dist/esm/requests/header-keys.shared.d.ts +6 -0
- package/dist/esm/requests/header-keys.shared.d.ts.map +1 -1
- package/dist/esm/requests/header-keys.shared.js +7 -0
- package/dist/esm/requests/header-keys.shared.js.map +1 -1
- package/dist/esm/requests/idempotency-key.shared.d.ts +76 -0
- package/dist/esm/requests/idempotency-key.shared.d.ts.map +1 -0
- package/dist/esm/requests/idempotency-key.shared.js +112 -0
- package/dist/esm/requests/idempotency-key.shared.js.map +1 -0
- package/dist/esm/requests/manual-controllers-routes-documentation.d.ts.map +1 -1
- package/dist/esm/requests/manual-controllers-routes-documentation.js +275 -20
- package/dist/esm/requests/manual-controllers-routes-documentation.js.map +1 -1
- package/dist/esm/requests/manual-controllers-routes-urls.d.ts +134 -0
- package/dist/esm/requests/manual-controllers-routes-urls.d.ts.map +1 -1
- package/dist/esm/requests/manual-controllers-routes-urls.js +153 -0
- package/dist/esm/requests/manual-controllers-routes-urls.js.map +1 -1
- package/dist/esm/requests/websocket.shared.schemas.d.ts +198 -20
- package/dist/esm/requests/websocket.shared.schemas.d.ts.map +1 -1
- package/dist/esm/requests/websocket.shared.schemas.js +236 -5
- package/dist/esm/requests/websocket.shared.schemas.js.map +1 -1
- package/dist/esm/resources/child-operations.shared.schemas.d.ts +56 -5
- package/dist/esm/resources/child-operations.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/child-operations.shared.schemas.js +97 -5
- package/dist/esm/resources/child-operations.shared.schemas.js.map +1 -1
- package/dist/esm/resources/context-policy.shared.schemas.d.ts +20 -0
- package/dist/esm/resources/context-policy.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/context-policy.shared.schemas.js +3 -0
- package/dist/esm/resources/context-policy.shared.schemas.js.map +1 -1
- package/dist/esm/resources/resources-config.shared.factory.d.ts.map +1 -1
- package/dist/esm/resources/resources-config.shared.factory.js +596 -34
- package/dist/esm/resources/resources-config.shared.factory.js.map +1 -1
- package/dist/esm/resources/resources-config.shared.schemas.d.ts +665 -40
- package/dist/esm/resources/resources-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/resources-config.shared.schemas.js +315 -22
- package/dist/esm/resources/resources-config.shared.schemas.js.map +1 -1
- package/dist/esm/resources/resources-registry.shared.core.definitions.d.ts.map +1 -1
- package/dist/esm/resources/resources-registry.shared.core.definitions.js +431 -69
- package/dist/esm/resources/resources-registry.shared.core.definitions.js.map +1 -1
- package/dist/esm/resources/resources.shared.core.definitions.d.ts +36 -0
- package/dist/esm/resources/resources.shared.core.definitions.d.ts.map +1 -1
- package/dist/esm/resources/resources.shared.core.definitions.js +46 -0
- package/dist/esm/resources/resources.shared.core.definitions.js.map +1 -1
- package/dist/esm/resources/resources.shared.schemas.d.ts +256 -10
- package/dist/esm/resources/resources.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/resources.shared.schemas.js +209 -9
- package/dist/esm/resources/resources.shared.schemas.js.map +1 -1
- package/dist/esm/resources/resources.shared.utils.d.ts +34 -8
- package/dist/esm/resources/resources.shared.utils.d.ts.map +1 -1
- package/dist/esm/resources/resources.shared.utils.js +69 -12
- package/dist/esm/resources/resources.shared.utils.js.map +1 -1
- package/dist/esm/resources/utils/composition-cascade-deletability.validation.d.ts +44 -12
- package/dist/esm/resources/utils/composition-cascade-deletability.validation.d.ts.map +1 -1
- package/dist/esm/resources/utils/composition-cascade-deletability.validation.js +46 -23
- package/dist/esm/resources/utils/composition-cascade-deletability.validation.js.map +1 -1
- package/dist/esm/resources/utils/dependent-lifecycle-classification.validation.d.ts +61 -0
- package/dist/esm/resources/utils/dependent-lifecycle-classification.validation.d.ts.map +1 -0
- package/dist/esm/resources/utils/dependent-lifecycle-classification.validation.js +79 -0
- package/dist/esm/resources/utils/dependent-lifecycle-classification.validation.js.map +1 -0
- package/dist/esm/resources/utils/initiator-stamped-field-satisfiability.validation.d.ts +60 -0
- package/dist/esm/resources/utils/initiator-stamped-field-satisfiability.validation.d.ts.map +1 -0
- package/dist/esm/resources/utils/initiator-stamped-field-satisfiability.validation.js +80 -0
- package/dist/esm/resources/utils/initiator-stamped-field-satisfiability.validation.js.map +1 -0
- package/dist/esm/resources/utils/populated-file-fields.shared.utils.d.ts +21 -0
- package/dist/esm/resources/utils/populated-file-fields.shared.utils.d.ts.map +1 -0
- package/dist/esm/resources/utils/populated-file-fields.shared.utils.js +159 -0
- package/dist/esm/resources/utils/populated-file-fields.shared.utils.js.map +1 -0
- package/dist/esm/resources/utils/resources-config-naming.utils.d.ts +15 -0
- package/dist/esm/resources/utils/resources-config-naming.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resources-config-naming.utils.js +56 -11
- 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 +51 -1
- package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.js +210 -51
- package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.js.map +1 -1
- package/dist/esm/resources/utils/resources-config-operations.urls-builder.utils.d.ts +34 -0
- 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 +45 -1
- package/dist/esm/resources/utils/resources-config-operations.urls-builder.utils.js.map +1 -1
- package/dist/esm/resources/utils/shared-persistence-collection.utils.d.ts +29 -0
- package/dist/esm/resources/utils/shared-persistence-collection.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/shared-persistence-collection.utils.js +30 -0
- package/dist/esm/resources/utils/shared-persistence-collection.utils.js.map +1 -1
- package/dist/esm/resources/utils/templatable-file-fields.shared.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/templatable-file-fields.shared.utils.js +49 -11
- package/dist/esm/resources/utils/templatable-file-fields.shared.utils.js.map +1 -1
- package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.js +4 -1
- package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.js +4 -1
- package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.dto.schemas.d.ts +129 -17
- package/dist/esm/security/authentications/authentication.shared.dto.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.dto.schemas.js +160 -6
- package/dist/esm/security/authentications/authentication.shared.dto.schemas.js.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.schemas.d.ts +324 -9
- package/dist/esm/security/authentications/authentication.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.schemas.js +411 -8
- package/dist/esm/security/authentications/authentication.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.utils.d.ts +87 -4
- package/dist/esm/security/authentications/authentication.shared.utils.d.ts.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.utils.js +95 -6
- package/dist/esm/security/authentications/authentication.shared.utils.js.map +1 -1
- package/dist/esm/security/authentications/consumable-token.shared.schemas.d.ts +23 -1
- package/dist/esm/security/authentications/consumable-token.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/consumable-token.shared.schemas.js +23 -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 +7 -1
- package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.js +7 -1
- package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.js.map +1 -1
- package/dist/esm/security/authentications/password-blocklist.shared.utils.d.ts +74 -0
- package/dist/esm/security/authentications/password-blocklist.shared.utils.d.ts.map +1 -0
- package/dist/esm/security/authentications/password-blocklist.shared.utils.js +122 -0
- package/dist/esm/security/authentications/password-blocklist.shared.utils.js.map +1 -0
- package/dist/esm/security/authentications/registration.shared.dto.schemas.d.ts +88 -2
- package/dist/esm/security/authentications/registration.shared.dto.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/registration.shared.dto.schemas.js +149 -2
- package/dist/esm/security/authentications/registration.shared.dto.schemas.js.map +1 -1
- package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.d.ts +57 -11
- package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.d.ts.map +1 -1
- package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.js +44 -11
- package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.js.map +1 -1
- package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.js +20 -7
- 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 +16 -2
- 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 +32 -2
- package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.js +7 -1
- package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.js +4 -1
- package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.d.ts +27 -0
- package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.js +109 -0
- package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.schemas.d.ts +66 -0
- package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.schemas.d.ts.map +1 -0
- package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.schemas.js +107 -0
- package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.schemas.js.map +1 -0
- package/dist/esm/security/authentications/siem/siem-export-config.shared.resources-config.schemas.d.ts +19 -0
- 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 +50 -13
- 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 +18 -6
- 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 +133 -4
- 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 +29 -3
- 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 +81 -22
- 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 +0 -40
- 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 +100 -26
- 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 +9 -1
- package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.js +9 -1
- package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.d.ts +8 -2
- 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 +91 -4
- 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 +50 -6
- package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.js +50 -6
- package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.js.map +1 -1
- package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.d.ts +39 -0
- package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.js +265 -0
- package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/security/authorizations/application-access-grants.shared.schemas.d.ts +187 -0
- package/dist/esm/security/authorizations/application-access-grants.shared.schemas.d.ts.map +1 -0
- package/dist/esm/security/authorizations/application-access-grants.shared.schemas.js +271 -0
- package/dist/esm/security/authorizations/application-access-grants.shared.schemas.js.map +1 -0
- package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.d.ts +23 -0
- package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.js +24 -0
- package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.js.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.defaults.d.ts.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.defaults.js +6 -0
- package/dist/esm/security/authorizations/roles.shared.defaults.js.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.schemas.d.ts +14 -0
- package/dist/esm/security/authorizations/roles.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.schemas.js +19 -0
- package/dist/esm/security/authorizations/roles.shared.schemas.js.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.utils.d.ts.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.utils.js +2 -0
- package/dist/esm/security/authorizations/roles.shared.utils.js.map +1 -1
- package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.d.ts +4 -1
- package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.d.ts +5 -2
- package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.js +13 -42
- package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.d.ts +257 -13
- package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.js +281 -49
- package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.js.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.d.ts +6 -3
- package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.js +74 -4
- package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.d.ts +5 -2
- package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.js +105 -3
- package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/outbound-target-control.shared.schemas.d.ts +67 -0
- package/dist/esm/security/outbound-target-control.shared.schemas.d.ts.map +1 -0
- package/dist/esm/security/outbound-target-control.shared.schemas.js +69 -0
- package/dist/esm/security/outbound-target-control.shared.schemas.js.map +1 -0
- package/dist/esm/systems-of-record/system-of-record-credential-kind.shared.d.ts +159 -0
- package/dist/esm/systems-of-record/system-of-record-credential-kind.shared.d.ts.map +1 -0
- package/dist/esm/systems-of-record/system-of-record-credential-kind.shared.js +164 -0
- package/dist/esm/systems-of-record/system-of-record-credential-kind.shared.js.map +1 -0
- package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.d.ts +209 -0
- package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.d.ts.map +1 -0
- package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.js +150 -0
- package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.js.map +1 -0
- package/dist/esm/systems-of-record/system-of-record-env.shared.d.ts +79 -0
- package/dist/esm/systems-of-record/system-of-record-env.shared.d.ts.map +1 -0
- package/dist/esm/systems-of-record/system-of-record-env.shared.js +116 -0
- package/dist/esm/systems-of-record/system-of-record-env.shared.js.map +1 -0
- package/dist/esm/systems-of-record/system-of-record-error-codes.shared.d.ts +145 -0
- package/dist/esm/systems-of-record/system-of-record-error-codes.shared.d.ts.map +1 -0
- package/dist/esm/systems-of-record/system-of-record-error-codes.shared.js +146 -0
- package/dist/esm/systems-of-record/system-of-record-error-codes.shared.js.map +1 -0
- package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.d.ts +478 -0
- package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.d.ts.map +1 -0
- package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.js +619 -0
- package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.js.map +1 -0
- package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.d.ts +31 -0
- package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.js +232 -0
- package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.schemas.d.ts +127 -0
- package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.schemas.d.ts.map +1 -0
- package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.schemas.js +204 -0
- package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.schemas.js.map +1 -0
- package/dist/esm/testing/resource-config-builders.d.ts.map +1 -1
- package/dist/esm/testing/resource-config-builders.js +10 -4
- package/dist/esm/testing/resource-config-builders.js.map +1 -1
- package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.d.ts +2 -1
- package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.d.ts.map +1 -1
- package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.js +2 -1
- package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.js.map +1 -1
- package/dist/esm/users/anonymous-users.shared.resources-config.schemas.d.ts +139 -24
- 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 +255 -0
- package/dist/esm/users/anonymous-users.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/anonymous-users.shared.schema.d.ts +5 -3
- package/dist/esm/users/anonymous-users.shared.schema.d.ts.map +1 -1
- package/dist/esm/users/anonymous-users.shared.schema.js +18 -1
- package/dist/esm/users/anonymous-users.shared.schema.js.map +1 -1
- package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.d.ts +2 -1
- package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.js +23 -0
- package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/inbound-contacts.shared.schemas.d.ts +2 -1
- package/dist/esm/users/inbound-contacts.shared.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-consent-decision.shared.utils.d.ts +127 -0
- package/dist/esm/users/user-consent-decision.shared.utils.d.ts.map +1 -0
- package/dist/esm/users/user-consent-decision.shared.utils.js +189 -0
- package/dist/esm/users/user-consent-decision.shared.utils.js.map +1 -0
- package/dist/esm/users/user-identity-links.shared.resources-config.schemas.d.ts +1 -0
- package/dist/esm/users/user-identity-links.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-identity-links.shared.schemas.d.ts +1 -0
- package/dist/esm/users/user-identity-links.shared.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-identity-links.shared.schemas.js +30 -0
- package/dist/esm/users/user-identity-links.shared.schemas.js.map +1 -1
- package/dist/esm/users/user-preferences-reset.shared.utils.d.ts +6 -6
- package/dist/esm/users/user-preferences-reset.shared.utils.js +6 -6
- package/dist/esm/users/user-preferences-reset.shared.utils.js.map +1 -1
- package/dist/esm/users/user-preferences.shared.resources-config.schemas.d.ts +74 -29
- 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 +99 -0
- package/dist/esm/users/user-preferences.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/user-profiles.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-profiles.shared.resources-config.schemas.js +25 -9
- 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 +4 -4
- 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 +12 -1
- package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/user-self.shared.resources-config.schemas.d.ts +1 -0
- 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 +2 -2
- 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 +1 -0
- package/dist/esm/users/users.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/users.shared.resources-config.schemas.js +2 -2
- package/dist/esm/users/users.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/users.shared.schemas.d.ts +28 -10
- package/dist/esm/users/users.shared.schemas.d.ts.map +1 -1
- package/dist/esm/users/users.shared.schemas.js +86 -11
- package/dist/esm/users/users.shared.schemas.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +14 -35
- package/dist/esm/flows-actors/apps-blueprint/apps-blueprint-agent-personas.shared.enums.d.ts +0 -19
- package/dist/esm/flows-actors/apps-blueprint/apps-blueprint-agent-personas.shared.enums.d.ts.map +0 -1
- package/dist/esm/flows-actors/apps-blueprint/apps-blueprint-agent-personas.shared.enums.js +0 -35
- package/dist/esm/flows-actors/apps-blueprint/apps-blueprint-agent-personas.shared.enums.js.map +0 -1
- package/dist/esm/flows-actors/apps-blueprint/apps-blueprint.shared.schemas.d.ts +0 -213
- package/dist/esm/flows-actors/apps-blueprint/apps-blueprint.shared.schemas.d.ts.map +0 -1
- package/dist/esm/flows-actors/apps-blueprint/apps-blueprint.shared.schemas.js +0 -287
- package/dist/esm/flows-actors/apps-blueprint/apps-blueprint.shared.schemas.js.map +0 -1
- package/dist/esm/flows-actors/apps-blueprint/artifacts.apps-blueprint.shared.schemas.d.ts +0 -236
- package/dist/esm/flows-actors/apps-blueprint/artifacts.apps-blueprint.shared.schemas.d.ts.map +0 -1
- package/dist/esm/flows-actors/apps-blueprint/artifacts.apps-blueprint.shared.schemas.js +0 -212
- package/dist/esm/flows-actors/apps-blueprint/artifacts.apps-blueprint.shared.schemas.js.map +0 -1
- package/dist/esm/flows-actors/meta-workflows/actions.meta-workflows.shared.schemas.d.ts.map +0 -1
- package/dist/esm/flows-actors/meta-workflows/actions.meta-workflows.shared.schemas.js.map +0 -1
- package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.d.ts +0 -17
- package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.d.ts.map +0 -1
- package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.js +0 -31
- package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.js.map +0 -1
- package/dist/esm/flows-actors/meta-workflows/catalog.meta-workflows.shared.schemas.d.ts.map +0 -1
- package/dist/esm/flows-actors/meta-workflows/catalog.meta-workflows.shared.schemas.js.map +0 -1
- package/dist/esm/flows-actors/meta-workflows/context-selection.meta-workflows.shared.schemas.d.ts.map +0 -1
- package/dist/esm/flows-actors/meta-workflows/context-selection.meta-workflows.shared.schemas.js.map +0 -1
- package/dist/esm/flows-actors/meta-workflows/continuity-identifiers.meta-workflows.shared.schemas.d.ts +0 -28
- package/dist/esm/flows-actors/meta-workflows/continuity-identifiers.meta-workflows.shared.schemas.d.ts.map +0 -1
- package/dist/esm/flows-actors/meta-workflows/continuity-identifiers.meta-workflows.shared.schemas.js +0 -28
- package/dist/esm/flows-actors/meta-workflows/continuity-identifiers.meta-workflows.shared.schemas.js.map +0 -1
- package/dist/esm/flows-actors/meta-workflows/decisions.meta-workflows.shared.schemas.d.ts.map +0 -1
- package/dist/esm/flows-actors/meta-workflows/decisions.meta-workflows.shared.schemas.js.map +0 -1
- package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.d.ts +0 -100
- package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.d.ts.map +0 -1
- package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.js +0 -232
- package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.js.map +0 -1
- package/dist/esm/flows-actors/meta-workflows/execution-binding-vocabularies.meta-workflows.shared.schemas.d.ts +0 -29
- package/dist/esm/flows-actors/meta-workflows/execution-binding-vocabularies.meta-workflows.shared.schemas.d.ts.map +0 -1
- package/dist/esm/flows-actors/meta-workflows/execution-binding-vocabularies.meta-workflows.shared.schemas.js +0 -58
- package/dist/esm/flows-actors/meta-workflows/execution-binding-vocabularies.meta-workflows.shared.schemas.js.map +0 -1
- package/dist/esm/flows-actors/meta-workflows/portable-primitives.meta-workflows.shared.schemas.d.ts.map +0 -1
- package/dist/esm/flows-actors/meta-workflows/portable-primitives.meta-workflows.shared.schemas.js.map +0 -1
- package/dist/esm/flows-actors/task-continuity-binding.actors.shared.schemas.d.ts +0 -81
- package/dist/esm/flows-actors/task-continuity-binding.actors.shared.schemas.d.ts.map +0 -1
- package/dist/esm/flows-actors/task-continuity-binding.actors.shared.schemas.js +0 -82
- package/dist/esm/flows-actors/task-continuity-binding.actors.shared.schemas.js.map +0 -1
- package/dist/esm/flows-actors/utils/flow-actors.context-builder.apps-context.shared.utils.d.ts +0 -2
- package/dist/esm/flows-actors/utils/flow-actors.context-builder.apps-context.shared.utils.d.ts.map +0 -1
- package/dist/esm/flows-actors/utils/flow-actors.context-builder.apps-context.shared.utils.js +0 -1
- package/dist/esm/flows-actors/utils/flow-actors.context-builder.apps-context.shared.utils.js.map +0 -1
- /package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/actions.meta-workflows.shared.schemas.d.ts +0 -0
- /package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/actions.meta-workflows.shared.schemas.js +0 -0
- /package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/catalog.meta-workflows.shared.schemas.d.ts +0 -0
- /package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/catalog.meta-workflows.shared.schemas.js +0 -0
- /package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/context-selection.meta-workflows.shared.schemas.d.ts +0 -0
- /package/dist/esm/{flows-actors/meta-workflows → meta-workflows}/context-selection.meta-workflows.shared.schemas.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RelationshipNature, ResourceRelationshipAccessScopeStrategy, ResourceRelationshipCardinality, ResourceParentResourceRequirement } from "./resources.shared.schemas.js";
|
|
2
2
|
import { ContextPolicy_ObjectMode } from "./context-policy.shared.schemas.js";
|
|
3
|
-
import { ChildLifecycleMode } from "./child-operations.shared.schemas.js";
|
|
3
|
+
import { ChildLifecycleMode, ChildLifecycleStrategy } from "./child-operations.shared.schemas.js";
|
|
4
4
|
import { CoreResourceOperation } from "./resources.shared.core.definitions.js";
|
|
5
5
|
import { CoreResourceType } from "./resources.shared.core.definitions.js";
|
|
6
6
|
// Resource configuration factory imports
|
|
@@ -20,6 +20,8 @@ import { organizationUnitResourceConfiguration_InitializationFactory } from "../
|
|
|
20
20
|
import { organizationUnitMemberResourceConfiguration_InitializationFactory } from "../organizations/organization-unit-members.shared.resources-config.schemas.js";
|
|
21
21
|
import { organizationProfileResourceConfiguration_InitializationFactory } from "../organizations/organization-profile.shared.resources-config.schemas.js";
|
|
22
22
|
import { organizationPreferencesResourceConfiguration_InitializationFactory } from "../organizations/organization-preferences.shared.resources-config.schemas.js";
|
|
23
|
+
import { applicationAccessGrantsResourceConfiguration_InitializationFactory } from '../security/authorizations/application-access-grants.shared.resources-config.schemas.js';
|
|
24
|
+
import { systemOfRecordPartitionAssignmentsResourceConfiguration_InitializationFactory } from '../systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.js';
|
|
23
25
|
import { platformAccessGrantsResourceConfiguration_InitializationFactory } from '../security/authorizations/platform-access-grants.shared.resources-config.schemas.js';
|
|
24
26
|
import { organizationNotificationsResourceConfiguration_InitializationFactory } from "../organizations/organization-notifications.shared.resources-config.schemas.js";
|
|
25
27
|
import { organizationFeaturesResourceConfiguration_InitializationFactory } from "../organizations/organization-features.shared.resources-config.schemas.js";
|
|
@@ -54,6 +56,7 @@ import { applicationVersionsResourceConfiguration_InitializationFactory } from "
|
|
|
54
56
|
import { applicationMetadataResourceConfiguration_InitializationFactory } from "../applications/application-metadata.shared.resources-config.schemas.js";
|
|
55
57
|
// Queue system resources
|
|
56
58
|
import { jobExecution_ResourceConfiguration_InitializationFactory, jobPayloadStorage_ResourceConfiguration_InitializationFactory } from "../queue/jobs.shared.resources-config.schemas.js";
|
|
59
|
+
import { providerCallRecordsResourceConfiguration_InitializationFactory } from "../flows-actors/provider-call-records.shared.resources-config.schemas.js";
|
|
57
60
|
// Flows-Actors execution resource (persisted flow/actor system executions)
|
|
58
61
|
import { flowActorExecutionsPolymorphicFactories } from "../flows-actors/flows-actors-execution.shared.resources-config.schemas.js";
|
|
59
62
|
import { flowActorExecutionsPolymorphicDeclaration } from "../flows-actors/flows-actors-execution.shared.schemas.js";
|
|
@@ -65,6 +68,7 @@ import { a2aTokenBudgetStatePolymorphicDeclaration } from "../flows-actors/a2a-t
|
|
|
65
68
|
import { a2aPushDeliveryLogPolymorphicDeclaration } from "../flows-actors/a2a-push-delivery-log.shared.schemas.js";
|
|
66
69
|
// Authentication resources
|
|
67
70
|
import { userIdentityLinksResourceConfiguration_InitializationFactory } from "../users/user-identity-links.shared.resources-config.schemas.js";
|
|
71
|
+
import { userGovernedDocumentAcceptancesResourceConfiguration_InitializationFactory } from "../compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.js";
|
|
68
72
|
// Anonymous session resources (W7.3a)
|
|
69
73
|
import { anonymousUsersResourceConfiguration_InitializationFactory } from "../users/anonymous-users.shared.resources-config.schemas.js";
|
|
70
74
|
// Inbound contacts (Phase 0.5 — public marketing-site lead capture, Q-E=B path)
|
|
@@ -80,6 +84,8 @@ import { siemExportConfigPolymorphicFactories } from "../security/authentication
|
|
|
80
84
|
import { siemExportConfigPolymorphicDeclaration } from "../security/authentications/siem/siem-export-config.shared.schemas.js";
|
|
81
85
|
import { siemDeliveryDlqPolymorphicFactories } from "../security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.js";
|
|
82
86
|
import { siemDeliveryDlqPolymorphicDeclaration } from "../security/authentications/siem/siem-delivery-dlq.shared.schemas.js";
|
|
87
|
+
import { siemDeliveryOutboxPolymorphicFactories } from "../security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.js";
|
|
88
|
+
import { siemDeliveryOutboxPolymorphicDeclaration } from "../security/authentications/siem/siem-delivery-outbox.shared.schemas.js";
|
|
83
89
|
import { webhookConfigPolymorphicFactories } from "../notifications/m2m/webhook-config.shared.resources-config.schemas.js";
|
|
84
90
|
import { webhookConfigPolymorphicDeclaration } from "../notifications/m2m/webhook-config.shared.schemas.js";
|
|
85
91
|
import { m2mWebhookDeliveryLogPolymorphicFactories } from "../notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.js";
|
|
@@ -92,6 +98,7 @@ import { scimProvisioningConfigPolymorphicDeclaration } from "../security/authen
|
|
|
92
98
|
import { userProgressionStateResourceConfiguration_InitializationFactory, organizationProgressionStateResourceConfiguration_InitializationFactory } from "../guidance/progression-state.shared.resources-config.schemas.js";
|
|
93
99
|
// Lifecycle State resources
|
|
94
100
|
import { userLifecycleStateResourceConfiguration_InitializationFactory, organizationLifecycleStateResourceConfiguration_InitializationFactory } from "../guidance/lifecycle-state.shared.resources-config.schemas.js";
|
|
101
|
+
import { GuidanceStateUtils } from "../guidance/guidance-state.shared.utils.js";
|
|
95
102
|
export const coreSharedResourceRelationship = [
|
|
96
103
|
// Core organizational relationships - Many-to-many through organization members
|
|
97
104
|
// Note: No isPrimaryScope here - applications are the primary scope for users, not organizations
|
|
@@ -213,6 +220,37 @@ export const coreSharedResourceRelationship = [
|
|
|
213
220
|
// SECURITY: Identity links contain raw IdP profiles — never fetch via context
|
|
214
221
|
contextPolicy: { enabled: false }
|
|
215
222
|
}),
|
|
223
|
+
// An ORGANIZATION-scoped enterprise identity link dies with its organization.
|
|
224
|
+
//
|
|
225
|
+
// Before this edge, the link's only parent was its user, and `organizationId` was a bare foreign
|
|
226
|
+
// key. The organization purge deletes by the `onParentDelete` cascade and by nothing else, so every
|
|
227
|
+
// member's enterprise link outlived the tenant. The one cleanup that did exist, the AUTH-13 postfix
|
|
228
|
+
// on SSO connection DELETE, never runs there: the cascade deletes a connection through its
|
|
229
|
+
// repository, which bypasses service-tier hooks. The dead link then read as a live membership to
|
|
230
|
+
// the cross-organization SSO guard, which refused that person's enterprise sign-in into EVERY other
|
|
231
|
+
// organization for good. Measured 2026-09-21: 19 such links on one account, and the `saml` e2e lane
|
|
232
|
+
// refused from its second run on (#1448).
|
|
233
|
+
//
|
|
234
|
+
// Non-primary and STANDALONE, the ORGANIZATION_MEMBERS teardown-anchor pattern: USERS stays the
|
|
235
|
+
// primary scope (the owner-only access filter and the subject-erasure classification are unchanged),
|
|
236
|
+
// no URL surface is added, and the link is never context-fetched. An APPLICATION-scoped link carries
|
|
237
|
+
// no `organizationId`, so this edge never selects it.
|
|
238
|
+
//
|
|
239
|
+
// Fires at PURGE, like every other organization child, never at the soft-delete mark: a restored
|
|
240
|
+
// tenant keeps its members' links.
|
|
241
|
+
//
|
|
242
|
+
// OPTIONAL parent: a social link, and an application-scoped enterprise link, carry no
|
|
243
|
+
// `organizationId`, and the schema declares it optional. The persistence converter refuses a
|
|
244
|
+
// relationship whose requirement disagrees with the schema path.
|
|
245
|
+
createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.USER_IDENTITY_LINKS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
246
|
+
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
|
|
247
|
+
isPrimaryScope: false,
|
|
248
|
+
parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,
|
|
249
|
+
nature: RelationshipNature.COMPOSITION,
|
|
250
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
|
|
251
|
+
foreignKeyField: 'organizationId',
|
|
252
|
+
contextPolicy: { enabled: false }
|
|
253
|
+
}),
|
|
216
254
|
// OIDC persistent consent grants — USER_SELF-scoped ("remember this app"). COMPOSITION so a user's
|
|
217
255
|
// grants cascade-delete with the user; `isPrimaryScope: true` anchors resourcePrimaryScope to
|
|
218
256
|
// USER_SELF (the owner-only READ/LIST/DELETE filter). Consent state is never context-fetched.
|
|
@@ -224,6 +262,31 @@ export const coreSharedResourceRelationship = [
|
|
|
224
262
|
foreignKeyField: 'userId',
|
|
225
263
|
contextPolicy: { enabled: false }
|
|
226
264
|
}),
|
|
265
|
+
// Link Users to UserGovernedDocumentAcceptances (1:N — one row per accepted release, #1258).
|
|
266
|
+
//
|
|
267
|
+
// KEPT when the user goes, deliberately: `onParentDelete` is DISABLED, the same answer the billing
|
|
268
|
+
// family gives below and for the same reason — the row is EVIDENCE of an act, and the erasure right
|
|
269
|
+
// does not reach what is needed to establish or defend a legal claim (GDPR Art. 17(3)(e)). A
|
|
270
|
+
// contract acceptance is exactly that: the operator's answer to "did this person agree to these
|
|
271
|
+
// terms, which version, and when?".
|
|
272
|
+
// spec-cite: Regulation (EU) 2016/679, Art. 17(3)(e) (https://gdpr-info.eu/art-17-gdpr/).
|
|
273
|
+
//
|
|
274
|
+
// Why NOT `retentionPolicy` + `IMPERSONALIZE_AND_RETAIN`: the row holds no personal data of its own
|
|
275
|
+
// (every value describes the account's contractual standing, with the person as a foreign key), so
|
|
276
|
+
// there is nothing to scrub, and the retaining EDGE strategy is declared nowhere in this file — the
|
|
277
|
+
// billing note records that its one declared scrub is wired to nothing. Evidence should not rest on
|
|
278
|
+
// an unexercised path. The erased person's own identity is impersonalized on the USERS row; this row
|
|
279
|
+
// then points at a pseudonymous account, which is what makes keeping it proportionate.
|
|
280
|
+
//
|
|
281
|
+
// STANDALONE + `contextPolicy: { enabled: false }`: no URL surface and never fetched through context.
|
|
282
|
+
createResourcesRelationship(CoreResourceType.USERS, CoreResourceType.USER_GOVERNED_DOCUMENT_ACCEPTANCES, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
283
|
+
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
|
|
284
|
+
isPrimaryScope: true,
|
|
285
|
+
nature: RelationshipNature.COMPOSITION,
|
|
286
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: false } } },
|
|
287
|
+
foreignKeyField: 'userId',
|
|
288
|
+
contextPolicy: { enabled: false }
|
|
289
|
+
}),
|
|
227
290
|
// User Self 1:1 relationships - separated for access control
|
|
228
291
|
createResourcesRelationship(CoreResourceType.USER_SELF, CoreResourceType.USER_SELF_PROFILES, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE, {
|
|
229
292
|
isPrimaryScope: true,
|
|
@@ -358,10 +421,15 @@ export const coreSharedResourceRelationship = [
|
|
|
358
421
|
// `allowCycle: true` is only the schema-level escape hatch for declaring a
|
|
359
422
|
// self-edge. The business model is still an acyclic hierarchy; re-parenting
|
|
360
423
|
// is handled explicitly via the MOVE operation on organization units.
|
|
424
|
+
// REFUSE_WHILE_CHILDREN_EXIST: deleting an interior node would strand its subtree behind a dangling
|
|
425
|
+
// `parentUnitId` and a stale materialized `path`, and hard-deleting the subtree behind a single-node
|
|
426
|
+
// DELETE is a worse default than asking. The operator re-parents each child with MOVE, or deletes
|
|
427
|
+
// the subtree bottom-up. A tenant purge still removes every unit through the ORGANIZATIONS edge.
|
|
361
428
|
createResourcesRelationship(CoreResourceType.ORGANIZATION_UNITS, CoreResourceType.ORGANIZATION_UNITS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
362
429
|
nature: RelationshipNature.COMPOSITION,
|
|
363
430
|
foreignKeyField: 'parentUnitId',
|
|
364
431
|
allowCycle: true,
|
|
432
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: true, strategy: ChildLifecycleStrategy.REFUSE_WHILE_CHILDREN_EXIST } } },
|
|
365
433
|
parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,
|
|
366
434
|
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.OPTIONAL_CONTEXT,
|
|
367
435
|
contextPolicy: { enabled: false },
|
|
@@ -377,10 +445,10 @@ export const coreSharedResourceRelationship = [
|
|
|
377
445
|
// membership, so losing the membership is exactly when the assignment stops meaning
|
|
378
446
|
// anything — hence the cascade. This is the edge that stops assignments outliving the
|
|
379
447
|
// membership that justified them.
|
|
380
|
-
// 3. ORGANIZATION_UNITS → …
|
|
381
|
-
// assignment lived in an embedded array it was not
|
|
382
|
-
//
|
|
383
|
-
//
|
|
448
|
+
// 3. ORGANIZATION_UNITS → … makes an assignment a dependent the unit DELETE refuses on
|
|
449
|
+
// (REFUSE_WHILE_CHILDREN_EXIST). While unit assignment lived in an embedded array it was not
|
|
450
|
+
// a registered relationship and not portably queryable, so a dependents check would have
|
|
451
|
+
// failed open on PostgreSQL. As a real edge it is refused on like any other.
|
|
384
452
|
createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_UNIT_MEMBERS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
385
453
|
isPrimaryScope: true,
|
|
386
454
|
nature: RelationshipNature.COMPOSITION,
|
|
@@ -417,10 +485,10 @@ export const coreSharedResourceRelationship = [
|
|
|
417
485
|
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
|
|
418
486
|
contextPolicy: { enabled: false },
|
|
419
487
|
}),
|
|
420
|
-
//
|
|
421
|
-
//
|
|
422
|
-
//
|
|
423
|
-
//
|
|
488
|
+
// REFUSE_WHILE_CHILDREN_EXIST, mirroring the unit tree's own delete policy: a unit DELETE is
|
|
489
|
+
// refused while assignments remain (the operator decides where an orphaned assignment belongs)
|
|
490
|
+
// rather than silently dropping people's roles behind a single-node delete. Tearing down the
|
|
491
|
+
// whole ORGANIZATION still removes these rows via edge 1 above.
|
|
424
492
|
// OPTIONAL_CONTEXT for the same reason as the ORGANIZATION_MEMBERS edge above — this is the
|
|
425
493
|
// mirrored half. Together the two now yield the unit-scoped route as well, so "who is in this
|
|
426
494
|
// unit?" is answerable, and both partial routes exist beside the fully-nested one rather than
|
|
@@ -429,6 +497,7 @@ export const coreSharedResourceRelationship = [
|
|
|
429
497
|
nature: RelationshipNature.COMPOSITION,
|
|
430
498
|
foreignKeyField: 'organizationUnitId',
|
|
431
499
|
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.OPTIONAL_CONTEXT,
|
|
500
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: true, strategy: ChildLifecycleStrategy.REFUSE_WHILE_CHILDREN_EXIST } } },
|
|
432
501
|
contextPolicy: { enabled: false },
|
|
433
502
|
}),
|
|
434
503
|
createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_PROFILES, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE, {
|
|
@@ -457,6 +526,58 @@ export const coreSharedResourceRelationship = [
|
|
|
457
526
|
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
|
|
458
527
|
foreignKeyField: 'organizationId',
|
|
459
528
|
}),
|
|
529
|
+
// ── APPLICATION-WIDE grants ──────────────────────────────────────────
|
|
530
|
+
//
|
|
531
|
+
// The APPLICATION-scoped sibling. Same lifecycle, no tenant: an elevation that reaches every
|
|
532
|
+
// tenant at once cannot be a COMPOSITION child of any one of them, which is the structural fact
|
|
533
|
+
// that made a second resource type necessary rather than a `scope` field on the row above.
|
|
534
|
+
//
|
|
535
|
+
// OPTIONAL + REQUIRES_CONTEXT + `isPrimaryScope`, copied from `APPLICATION → APPLICATION_AUDIT_LOGS`
|
|
536
|
+
// and for the reason stated there: MANDATORY makes the ZodToMongoose convertor refuse the resource
|
|
537
|
+
// outright, so a Mongo-persisted deployment gets no model and INIT dies. Addressing is carried by
|
|
538
|
+
// `isPrimaryScope` + `REQUIRES_CONTEXT`, which is what the URL builder reads.
|
|
539
|
+
//
|
|
540
|
+
// REFERENCE rather than COMPOSITION, and there is no `onParentDelete`: the APPLICATION row is the
|
|
541
|
+
// deployment itself and is not purged, so a cascade here would describe an event that cannot
|
|
542
|
+
// happen. `contextPolicy` disabled for the reason the audit door disables it — an elevation record
|
|
543
|
+
// must never be fetched as ambient context.
|
|
544
|
+
createResourcesRelationship(CoreResourceType.APPLICATION, CoreResourceType.APPLICATION_ACCESS_GRANTS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
545
|
+
isPrimaryScope: true,
|
|
546
|
+
foreignKeyField: 'applicationId',
|
|
547
|
+
parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,
|
|
548
|
+
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.REQUIRES_CONTEXT,
|
|
549
|
+
nature: RelationshipNature.REFERENCE,
|
|
550
|
+
contextPolicy: { enabled: false },
|
|
551
|
+
}),
|
|
552
|
+
// The two PEOPLE an application-wide grant names — the operator who asked and the SECOND
|
|
553
|
+
// administrator who signed. Both are `.isForeignKey()`, so the registry must resolve each to a
|
|
554
|
+
// resource type or the frontend registry refuses to initialise.
|
|
555
|
+
//
|
|
556
|
+
// REFERENCE with `onParentDelete.enabled: false`, exactly as on the tenant grant and for the same
|
|
557
|
+
// reason: making a user the owner resolves `lifecycleModelMode` to DEPENDENT, which is the value
|
|
558
|
+
// `classifySubjectErasureDisposition` reads — a user erasure would then own the row's fate, and the
|
|
559
|
+
// one thing a privileged-access ledger must survive is the erasure of the person it monitors.
|
|
560
|
+
createResourcesRelationship(CoreResourceType.USERS, CoreResourceType.APPLICATION_ACCESS_GRANTS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
561
|
+
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
|
|
562
|
+
nature: RelationshipNature.REFERENCE,
|
|
563
|
+
foreignKeyField: 'operatorUserId',
|
|
564
|
+
// Server-authored from the session on every grant, so the pointer is always present.
|
|
565
|
+
parentResourceRequirement: ResourceParentResourceRequirement.MANDATORY,
|
|
566
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: false } } },
|
|
567
|
+
contextPolicy: { enabled: false },
|
|
568
|
+
}),
|
|
569
|
+
createResourcesRelationship(CoreResourceType.USERS, CoreResourceType.APPLICATION_ACCESS_GRANTS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
570
|
+
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
|
|
571
|
+
nature: RelationshipNature.REFERENCE,
|
|
572
|
+
foreignKeyField: 'approvedByUserId',
|
|
573
|
+
// OPTIONAL because the field is `.optional()`: unset while the request is pending and
|
|
574
|
+
// permanently unset on a denied or revoked grant. MANDATORY would assert an approver every
|
|
575
|
+
// grant must have — true of ACTIVE ones only, which is a lifecycle fact rather than a
|
|
576
|
+
// schema one.
|
|
577
|
+
parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,
|
|
578
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: false } } },
|
|
579
|
+
contextPolicy: { enabled: false },
|
|
580
|
+
}),
|
|
460
581
|
// ── The two PEOPLE a grant names ─────────────────────────────────────
|
|
461
582
|
//
|
|
462
583
|
// `operatorUserId` (who asked) and `approvedByUserId` (who agreed) are both `.isForeignKey()` on
|
|
@@ -500,6 +621,87 @@ export const coreSharedResourceRelationship = [
|
|
|
500
621
|
childOperations: { lifecycle: { onParentDelete: { enabled: false } } },
|
|
501
622
|
contextPolicy: { enabled: false },
|
|
502
623
|
}),
|
|
624
|
+
// ── SYSTEM-OF-RECORD PARTITION ASSIGNMENTS ───────────────────────────
|
|
625
|
+
//
|
|
626
|
+
// Which organization UNIT a remote partition belongs to — the edge that makes unit narrowing
|
|
627
|
+
// reach a read-through resource. Three parents, and each is a REFERENCE for a different reason.
|
|
628
|
+
//
|
|
629
|
+
// The DEPLOYMENT, carrying the primary scope. Same shape as APPLICATION -> APPLICATION_ACCESS_GRANTS
|
|
630
|
+
// and for the same measured reason: OPTIONAL + REQUIRES_CONTEXT + `isPrimaryScope`, because
|
|
631
|
+
// declaring it MANDATORY makes the ZodToMongoose convertor refuse the resource outright and INIT
|
|
632
|
+
// dies on a Mongo-persisted deployment. Addressing is carried by `isPrimaryScope` +
|
|
633
|
+
// REQUIRES_CONTEXT, which is what the URL builder reads, so the route is identical either way.
|
|
634
|
+
// No `onParentDelete`: the APPLICATION row is the deployment itself and is not purged.
|
|
635
|
+
createResourcesRelationship(CoreResourceType.APPLICATION, CoreResourceType.SYSTEM_OF_RECORD_PARTITION_ASSIGNMENTS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
636
|
+
isPrimaryScope: true,
|
|
637
|
+
foreignKeyField: 'applicationId',
|
|
638
|
+
parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,
|
|
639
|
+
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.REQUIRES_CONTEXT,
|
|
640
|
+
nature: RelationshipNature.REFERENCE,
|
|
641
|
+
contextPolicy: { enabled: false },
|
|
642
|
+
}),
|
|
643
|
+
// The UNIT the partition is confined to — the first edge in this registry from a non-org-scoped
|
|
644
|
+
// resource to ORGANIZATION_UNITS, so what it does and does not buy is stated rather than assumed.
|
|
645
|
+
//
|
|
646
|
+
// STANDALONE, because the assignment is addressed under the APPLICATION and never under a unit:
|
|
647
|
+
// an operator works from the partition map, not from the org chart.
|
|
648
|
+
//
|
|
649
|
+
// ⚠️ The FK buys EXISTENCE and nothing more. No relationship factory validates scope
|
|
650
|
+
// compatibility, and an APPLICATION-scoped row written by a super-administrator resolves
|
|
651
|
+
// `writeTenantId === ''` in the write-integrity check — so this edge cannot also assert that the
|
|
652
|
+
// unit belongs to the OWNER organization or that it is ACTIVE. Both are checked in the custom
|
|
653
|
+
// implementation through the system door against the owner-organization resolver, and pinned
|
|
654
|
+
// there. Reading this edge as a tenant check is the mistake it is written to prevent.
|
|
655
|
+
//
|
|
656
|
+
// `onParentDelete.enabled: false` states the survival explicitly rather than inheriting it. A
|
|
657
|
+
// cascade would be actively wrong: deleting a unit would silently unassign its partitions, and an
|
|
658
|
+
// unassigned partition is invisible to EVERY caller — an org-chart edit would quietly remove a
|
|
659
|
+
// company from the product. The unit DELETE guard refuses instead, which is the same answer that
|
|
660
|
+
// resource already gives for its own child units.
|
|
661
|
+
createResourcesRelationship(CoreResourceType.ORGANIZATION_UNITS, CoreResourceType.SYSTEM_OF_RECORD_PARTITION_ASSIGNMENTS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
662
|
+
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
|
|
663
|
+
nature: RelationshipNature.REFERENCE,
|
|
664
|
+
foreignKeyField: 'organizationUnitId',
|
|
665
|
+
parentResourceRequirement: ResourceParentResourceRequirement.MANDATORY,
|
|
666
|
+
/*
|
|
667
|
+
* REFUSE_WHILE_CHILDREN_EXIST — and a CASCADE here would be the worst available default.
|
|
668
|
+
*
|
|
669
|
+
* Deleting a unit that still names partitions would silently UNASSIGN them, and an
|
|
670
|
+
* unassigned partition is invisible to EVERY caller — an organization-wide administrator
|
|
671
|
+
* included, because their entitlement is "every partition the operator ASSIGNED, and no
|
|
672
|
+
* others". An ordinary org-chart edit would withdraw a company from the product, and the
|
|
673
|
+
* symptom ("the German invoices are gone") arrives far from the delete that caused it.
|
|
674
|
+
*
|
|
675
|
+
* This posture was carried by a hand-written DELETE-prefix guard until `f4175a240`
|
|
676
|
+
* replaced two such guards with this declaration — rightly, since a hand-written guard is
|
|
677
|
+
* registered on one variant and invisible to the bulk path.
|
|
678
|
+
*
|
|
679
|
+
* The declaration did not reach a REFERENCE edge until #1485: the coherence check read
|
|
680
|
+
* `enabled === true` without reading `strategy`, so the one strategy that ASSERTS the
|
|
681
|
+
* child is independent was barred from the one nature that declares it. REFERENCE stays
|
|
682
|
+
* correct here — an assignment is not composed by a unit, it is an APPLICATION-scoped row
|
|
683
|
+
* that references one — and widening the nature to reach the mechanism would have been
|
|
684
|
+
* choosing the wrong semantics.
|
|
685
|
+
*/
|
|
686
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: true, strategy: ChildLifecycleStrategy.REFUSE_WHILE_CHILDREN_EXIST } } },
|
|
687
|
+
contextPolicy: { enabled: false },
|
|
688
|
+
}),
|
|
689
|
+
// The OPERATOR who last assigned or moved the partition. REFERENCE with no cascade, on the
|
|
690
|
+
// access-grant precedent and for its reason: making a user the owner resolves `lifecycleModelMode`
|
|
691
|
+
// to DEPENDENT, which is the value `classifySubjectErasureDisposition` reads — a user erasure would
|
|
692
|
+
// then own the row's fate, and an operator leaving must not silently unassign the companies they
|
|
693
|
+
// configured. The row is RETAIN_AND_IMPERSONALIZE precisely so the configuration survives the
|
|
694
|
+
// person while their prose does not.
|
|
695
|
+
createResourcesRelationship(CoreResourceType.USERS, CoreResourceType.SYSTEM_OF_RECORD_PARTITION_ASSIGNMENTS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
696
|
+
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
|
|
697
|
+
nature: RelationshipNature.REFERENCE,
|
|
698
|
+
foreignKeyField: 'assignedByUserId',
|
|
699
|
+
// OPTIONAL because the field is `.optional()`: a row seeded by a lane with no session
|
|
700
|
+
// carries none, and MANDATORY would assert an operator every assignment must have.
|
|
701
|
+
parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,
|
|
702
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: false } } },
|
|
703
|
+
contextPolicy: { enabled: false },
|
|
704
|
+
}),
|
|
503
705
|
createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_PREFERENCES, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE, {
|
|
504
706
|
isPrimaryScope: true,
|
|
505
707
|
nature: RelationshipNature.COMPOSITION,
|
|
@@ -567,7 +769,7 @@ export const coreSharedResourceRelationship = [
|
|
|
567
769
|
// this went unnoticed. Removed rather than commented as pending. (The sibling
|
|
568
770
|
// APPLICATION_FEATURES edge records the same blocker.)
|
|
569
771
|
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
|
|
570
|
-
foreignKeyField: '
|
|
772
|
+
foreignKeyField: 'applicationId',
|
|
571
773
|
// 1:1 metadata: full on READ
|
|
572
774
|
contextPolicy: {
|
|
573
775
|
objectMode: ContextPolicy_ObjectMode.SUMMARY,
|
|
@@ -580,7 +782,7 @@ export const coreSharedResourceRelationship = [
|
|
|
580
782
|
isPrimaryScope: true,
|
|
581
783
|
nature: RelationshipNature.COMPOSITION,
|
|
582
784
|
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
|
|
583
|
-
foreignKeyField: '
|
|
785
|
+
foreignKeyField: 'applicationId',
|
|
584
786
|
// High cardinality over time: disable on LIST/SEARCH
|
|
585
787
|
contextPolicy: {
|
|
586
788
|
operationOverrides: {
|
|
@@ -593,16 +795,36 @@ export const coreSharedResourceRelationship = [
|
|
|
593
795
|
isPrimaryScope: true,
|
|
594
796
|
nature: RelationshipNature.COMPOSITION,
|
|
595
797
|
// Deliberately NO onParentCreate — same cache-resolved-ledger rationale as the
|
|
596
|
-
// ORGANIZATION_FEATURES edge above
|
|
597
|
-
//
|
|
598
|
-
//
|
|
599
|
-
//
|
|
600
|
-
//
|
|
601
|
-
//
|
|
602
|
-
//
|
|
603
|
-
//
|
|
798
|
+
// ORGANIZATION_FEATURES edge above, plus one APP-only blocker: APPLICATION rows are
|
|
799
|
+
// provisioned via the platform CLI / apps-manager bootstrap, not the engine
|
|
800
|
+
// handler.create → executePostOperationLogic, so the seed hook never fires on real app
|
|
801
|
+
// provisioning.
|
|
802
|
+
//
|
|
803
|
+
// THE FK IS `applicationId`, AND IT MUST STAY THAT NAME. This edge and its two siblings
|
|
804
|
+
// (APPLICATION_METADATA, APPLICATION_VERSIONS) declared `appId` until 2026-09-18. That
|
|
805
|
+
// is not a distinct ROLE the way `assignedToUserId` is — it is the application itself,
|
|
806
|
+
// spelled differently from the APPLICATION scope's registered field identifier — and
|
|
807
|
+
// every mechanism keyed on that identifier therefore skipped these three resources:
|
|
808
|
+
//
|
|
809
|
+
// • CONTEXT_AUTO_POPULATED_FIELD_IDENTIFIERS did not carry it, so createAsSystem's
|
|
810
|
+
// name-based preserve-list stripped it and a seed wrote an orphan row;
|
|
811
|
+
// • the URL builder read a non-standard FK as a custom relationship PREFIX, so the
|
|
812
|
+
// route became `/app-applications/{appId}/application-versions` (measured: that
|
|
813
|
+
// path answers 200 and nothing addresses it) instead of nesting under
|
|
814
|
+
// `/applications/{applicationId}`;
|
|
815
|
+
// • and the frontend, whose resource context carries `applicationId`, could not
|
|
816
|
+
// satisfy a required param named `appId`. Three Administration settings panes —
|
|
817
|
+
// General, Versions, Entitlements — issued NO REQUEST AT ALL and rendered their
|
|
818
|
+
// failure state, which is indistinguishable from a backend outage.
|
|
819
|
+
//
|
|
820
|
+
// The last one is why this is recorded here rather than in a changelog: the divergence
|
|
821
|
+
// was noticed twice and written down twice (in this comment's previous text, and in
|
|
822
|
+
// `resources-config-operations.urls-builder.utils.ts`, which called it "7 phantom
|
|
823
|
+
// combinations […] nobody had noticed because nothing called it"). Naming an invariant
|
|
824
|
+
// is not upholding it. A non-standard `foreignKeyField` is a claim that the edge means
|
|
825
|
+
// something other than plain ownership; do not spell one differently for brevity.
|
|
604
826
|
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
|
|
605
|
-
foreignKeyField: '
|
|
827
|
+
foreignKeyField: 'applicationId',
|
|
606
828
|
contextPolicy: {
|
|
607
829
|
objectMode: ContextPolicy_ObjectMode.SUMMARY,
|
|
608
830
|
}
|
|
@@ -642,15 +864,29 @@ export const coreSharedResourceRelationship = [
|
|
|
642
864
|
* restricts every read to the authenticated caller's own credentials — nobody can reach
|
|
643
865
|
* another person's key, structurally, rather than because a role list happens to be narrow.
|
|
644
866
|
*
|
|
645
|
-
* And
|
|
646
|
-
*
|
|
647
|
-
*
|
|
648
|
-
*
|
|
867
|
+
* And it is what destroys a person's credentials, on BOTH paths that remove a person: the
|
|
868
|
+
* delete cascade when the USERS row is deleted, and a subject erasure, which KEEPS the
|
|
869
|
+
* (scrubbed) USERS row and so reads this edge's `strategy` instead. A secret is not
|
|
870
|
+
* pseudonymised, it is destroyed.
|
|
871
|
+
*
|
|
872
|
+
* `strategy: DELETE` is AUTHORED, not left to the default, and that is the fix for #1569.
|
|
873
|
+
* The credential resource used to declare `retentionPolicy: RETAIN_ONLY`; once #1279 made a
|
|
874
|
+
* silent edge honour the child's retention declaration, every erasure kept the person's
|
|
875
|
+
* third-party tokens in place and reported them "retained by declaration". The retention
|
|
876
|
+
* policy is gone, and naming DELETE here means that if anyone re-adds one, the erasure
|
|
877
|
+
* refuses the contradiction loudly (`findSubjectErasureRetentionContradictedEdges`) instead
|
|
878
|
+
* of quietly keeping the credentials again.
|
|
879
|
+
*
|
|
880
|
+
* A REFERENCE edge cannot carry `onParentDelete` at all, so getting the nature wrong would
|
|
649
881
|
* leave a live third-party credential belonging to somebody who asked to be forgotten.
|
|
650
882
|
*/
|
|
651
883
|
isPrimaryScope: true,
|
|
652
884
|
nature: RelationshipNature.COMPOSITION,
|
|
653
|
-
childOperations: {
|
|
885
|
+
childOperations: {
|
|
886
|
+
lifecycle: {
|
|
887
|
+
onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1, strategy: ChildLifecycleStrategy.DELETE },
|
|
888
|
+
},
|
|
889
|
+
},
|
|
654
890
|
// SECURITY: as the organization-owned sibling — a row holding a secret must never ride in a
|
|
655
891
|
// context DTO the client receives.
|
|
656
892
|
contextPolicy: { enabled: false }
|
|
@@ -703,12 +939,11 @@ export const coreSharedResourceRelationship = [
|
|
|
703
939
|
childOperations: {
|
|
704
940
|
lifecycle: { onParentDelete: { enabled: false } },
|
|
705
941
|
},
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
},
|
|
942
|
+
// Off the context surface entirely (#583), as on the APPLICATION and USERS edges above. With
|
|
943
|
+
// READ still enabled, an organization context read embedded the tenant's WHOLE audit history
|
|
944
|
+
// — 143 rows on a two-week-old dogfood tenant, monotonically growing, on an interactive
|
|
945
|
+
// path. An audit row is not ambient context; the Audit Log Viewer pages this edge's LIST.
|
|
946
|
+
contextPolicy: { enabled: false },
|
|
712
947
|
}),
|
|
713
948
|
// parentResourceRequirement=OPTIONAL because AuditableEvent_BaseSchema.userId is optional —
|
|
714
949
|
// audit logs can be application-level events with no associated user (e.g. system events).
|
|
@@ -767,7 +1002,11 @@ export const coreSharedResourceRelationship = [
|
|
|
767
1002
|
isPrimaryScope: true,
|
|
768
1003
|
foreignKeyField: 'userId',
|
|
769
1004
|
nature: RelationshipNature.COMPOSITION,
|
|
770
|
-
|
|
1005
|
+
// `strategy: DELETE` is AUTHORED (#1569): a subject erasure keeps the scrubbed USERS row and
|
|
1006
|
+
// reads this strategy, so an erased person's unread counters are destroyed. Naming it means a
|
|
1007
|
+
// retention policy re-added to the badge resource is refused as a contradiction
|
|
1008
|
+
// (`findSubjectErasureRetentionContradictedEdges`) instead of quietly keeping the rows.
|
|
1009
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1, strategy: ChildLifecycleStrategy.DELETE } } },
|
|
771
1010
|
// Notifications: ephemeral, accessed via dedicated service
|
|
772
1011
|
contextPolicy: { enabled: false }
|
|
773
1012
|
}),
|
|
@@ -792,6 +1031,14 @@ export const coreSharedResourceRelationship = [
|
|
|
792
1031
|
// Internal resource: never fetch via context, accessed via dedicated services
|
|
793
1032
|
contextPolicy: { enabled: false }
|
|
794
1033
|
}),
|
|
1034
|
+
// Provider-call records: the same internal, application-primary shape as the queue records above.
|
|
1035
|
+
// STANDALONE keeps them off URL routing; nothing reaches them except the recorder and the evidence door.
|
|
1036
|
+
createResourcesRelationship(CoreResourceType.APPLICATION, CoreResourceType.PROVIDER_CALL_RECORDS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
1037
|
+
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
|
|
1038
|
+
isPrimaryScope: true,
|
|
1039
|
+
nature: RelationshipNature.REFERENCE,
|
|
1040
|
+
contextPolicy: { enabled: false }
|
|
1041
|
+
}),
|
|
795
1042
|
createResourcesRelationship(CoreResourceType.APPLICATION, CoreResourceType.JOB_PAYLOAD_STORAGE, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
796
1043
|
accessScopeStrategy: ResourceRelationshipAccessScopeStrategy.STANDALONE,
|
|
797
1044
|
isPrimaryScope: true,
|
|
@@ -961,11 +1208,11 @@ export const coreSharedResourceRelationship = [
|
|
|
961
1208
|
// account genuinely belongs to its scope); only the dies-with-parent behaviour is declined.
|
|
962
1209
|
//
|
|
963
1210
|
// With this cascade disabled, a DIRECT hard delete of the account became the only remaining path
|
|
964
|
-
// into the forbidden half-state described below. That path is
|
|
965
|
-
//
|
|
966
|
-
//
|
|
967
|
-
//
|
|
968
|
-
//
|
|
1211
|
+
// into the forbidden half-state described below. That path is closed at runtime by declaration:
|
|
1212
|
+
// each `BillingAccounts → <child>` edge below declares `onParentDelete.strategy:
|
|
1213
|
+
// REFUSE_WHILE_CHILDREN_EXIST`, so the service tier refuses the account's DELETE with 409
|
|
1214
|
+
// `RESOURCE_HAS_DEPENDENTS` while any retained child still references it, before anything is
|
|
1215
|
+
// written. The scope edges stay `enabled: false`: those rows must outlive their scope.
|
|
969
1216
|
...createPolymorphicScopeRelationships(billingAccountsPolymorphicDeclaration, {
|
|
970
1217
|
nature: RelationshipNature.COMPOSITION,
|
|
971
1218
|
childOperations: { lifecycle: { onParentDelete: { enabled: false } } }, // RETAIN (compliance decision 2026-07-29) — see the note above.
|
|
@@ -982,7 +1229,7 @@ export const coreSharedResourceRelationship = [
|
|
|
982
1229
|
// userBillingAccounts → userSubscriptions
|
|
983
1230
|
...createPolymorphicRelationships(billingAccountsPolymorphicDeclaration, billingSubscriptionsPolymorphicDeclaration, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
984
1231
|
nature: RelationshipNature.COMPOSITION,
|
|
985
|
-
childOperations: { lifecycle: { onParentDelete: { enabled:
|
|
1232
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: true, strategy: ChildLifecycleStrategy.REFUSE_WHILE_CHILDREN_EXIST } } }, // RESTRICT: the account may not be deleted while these retained rows reference it — see the billing-retention note above.
|
|
986
1233
|
contextPolicy: {},
|
|
987
1234
|
}),
|
|
988
1235
|
// ── Polymorphic Billing Children ─────────────────────────────────────
|
|
@@ -990,16 +1237,59 @@ export const coreSharedResourceRelationship = [
|
|
|
990
1237
|
// ⚠️ BILLING RETENTION (compliance decision, Paul — 2026-07-29): subscriptions / invoiceRefs /
|
|
991
1238
|
// usageRecords / creditPools are RETAINED, never cascade-deleted. The financial audit trail must
|
|
992
1239
|
// survive the deletion of the scope or the billing account that produced it (tax / SOX retention),
|
|
993
|
-
// so
|
|
994
|
-
//
|
|
1240
|
+
// so none of the 16 edges below cascades (4 families × 2 parents × 2 scope variants): the scope
|
|
1241
|
+
// edges DISABLE `onParentDelete`, and the billing-account edges declare REFUSE_WHILE_CHILDREN_EXIST
|
|
1242
|
+
// so the account cannot be deleted out from under them. These are the entries formerly tracked as
|
|
1243
|
+
// `KNOWN_CASCADE_DELETABILITY_GAPS`.
|
|
995
1244
|
//
|
|
996
1245
|
// Why NOT `retentionPolicy` + `IMPERSONALIZE_AND_RETAIN`: that machinery also HIDES and FREEZES the
|
|
997
1246
|
// row (reachable only through the audited see-through path), and these invoices must stay visible
|
|
998
|
-
// for ordinary accounting.
|
|
999
|
-
//
|
|
1000
|
-
//
|
|
1001
|
-
//
|
|
1002
|
-
//
|
|
1247
|
+
// for ordinary accounting.
|
|
1248
|
+
//
|
|
1249
|
+
// ## DECIDED 2026-09-17 (#1208), and the SECOND reason this used to give is now FALSE
|
|
1250
|
+
//
|
|
1251
|
+
// It said "a billing row holds no personal data of its own (no name, email or address; the person
|
|
1252
|
+
// is a foreign key), so there is nothing on it to scrub". That has not been true since
|
|
1253
|
+
// `invoice-ref.shared.schemas.ts` gained `hostedInvoiceUrl` and `invoicePdfUrl`, which
|
|
1254
|
+
// `addImpersonalizeWith(..., REMOVE)` marks precisely BECAUSE they address provider-hosted
|
|
1255
|
+
// documents carrying the person's name and billing address. A blanket "no personal data here" is
|
|
1256
|
+
// the kind of claim that stops being checked once it is written down.
|
|
1257
|
+
//
|
|
1258
|
+
// The conclusion survives on the FIRST reason alone, and the external norms point the same way:
|
|
1259
|
+
//
|
|
1260
|
+
// - The erasure right does not reach these records. GDPR Art. 17(3)(b) excepts processing
|
|
1261
|
+
// "necessary for compliance with a legal obligation which requires processing by Union or
|
|
1262
|
+
// Member State law to which the controller is subject", which is what a statutory invoice
|
|
1263
|
+
// retention period is.
|
|
1264
|
+
// spec-cite: Regulation (EU) 2016/679, Art. 17(3)(b) (https://gdpr-info.eu/art-17-gdpr/).
|
|
1265
|
+
// - The record must stay COMPLETE, not scrubbed. An invoice is legally required to carry "the
|
|
1266
|
+
// full name and address of the taxable person and of the customer", so the identifying data is
|
|
1267
|
+
// mandated CONTENT rather than something incidental that may be removed; and every taxable
|
|
1268
|
+
// person must store their invoices for a period each Member State sets.
|
|
1269
|
+
// spec-cite: Council Directive 2006/112/EC, Art. 226 (invoice content) and Arts. 244/247
|
|
1270
|
+
// (storage and period).
|
|
1271
|
+
// - Scrubbing our URL removes a POINTER, never the document. The invoice itself lives at the
|
|
1272
|
+
// payment provider, which retains it under its own obligation and offers its own redaction —
|
|
1273
|
+
// so dropping the link costs the operator the ability to open their own invoice and gains the
|
|
1274
|
+
// data subject nothing the controller does not still hold.
|
|
1275
|
+
//
|
|
1276
|
+
// Storage limitation is therefore satisfied by the retention SCHEDULE (the period a class
|
|
1277
|
+
// declares), not by an erasure — which is the split `retention-schedule.shared.schemas.ts` already
|
|
1278
|
+
// draws between WHAT erasure does to a row and HOW LONG a row is kept.
|
|
1279
|
+
//
|
|
1280
|
+
// ## The declared treatments are currently UNREACHABLE, which is the live half of #1208
|
|
1281
|
+
//
|
|
1282
|
+
// `retentionPolicy` is the RESOURCE-level opt-in; the per-EDGE trigger is
|
|
1283
|
+
// `onParentDelete.strategy: IMPERSONALIZE_AND_RETAIN`, and the ONLY occurrence of that member in
|
|
1284
|
+
// this file is the sentence above explaining why it is not used. So no billing row is ever marked
|
|
1285
|
+
// RETAINED and the invoice-ref scrub never runs: after an erasure those two URLs are intact.
|
|
1286
|
+
//
|
|
1287
|
+
// That is the opposite of what #1208 feared — the risk was never that an erased customer's
|
|
1288
|
+
// invoices would vanish from accounting, it is that a scrub was declared, reasoned about, and
|
|
1289
|
+
// wired to nothing. Removing `retentionPolicy` from the five billing resources is the follow-
|
|
1290
|
+
// through; it is left out of this change because it also withdraws derived `seeRetained` grants
|
|
1291
|
+
// and would orphan the `addImpersonalizeWith` treatments, which is a config-build question rather
|
|
1292
|
+
// than a documentation one.
|
|
1003
1293
|
//
|
|
1004
1294
|
// A COMPOSITION without `onParentDelete` is an explicitly supported combination — it leaves the
|
|
1005
1295
|
// children behind by design choice (see `validateCompositionCascadeDeletability`). The nature stays
|
|
@@ -1007,7 +1297,7 @@ export const coreSharedResourceRelationship = [
|
|
|
1007
1297
|
// behaviour is declined.
|
|
1008
1298
|
//
|
|
1009
1299
|
// The `Scope → BillingAccounts` edge above was RETAINED on the same day as a coherence follow-up
|
|
1010
|
-
// (18
|
|
1300
|
+
// (18 billing edges, none of which cascades). Without it these 16 edges kept rows whose owning account
|
|
1011
1301
|
// had been deleted — see the rationale block at that declaration. Do not re-enable either half in
|
|
1012
1302
|
// isolation: retaining the children while deleting the account strands the provider-customer
|
|
1013
1303
|
// mapping, and deleting the children while retaining the account discards the audit trail.
|
|
@@ -1019,7 +1309,7 @@ export const coreSharedResourceRelationship = [
|
|
|
1019
1309
|
// BillingAccounts → InvoiceRefs (variant-matched, 1:N)
|
|
1020
1310
|
...createPolymorphicRelationships(billingAccountsPolymorphicDeclaration, invoiceRefsPolymorphicDeclaration, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
1021
1311
|
nature: RelationshipNature.COMPOSITION,
|
|
1022
|
-
childOperations: { lifecycle: { onParentDelete: { enabled:
|
|
1312
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: true, strategy: ChildLifecycleStrategy.REFUSE_WHILE_CHILDREN_EXIST } } }, // RESTRICT: the account may not be deleted while these retained rows reference it — see the billing-retention note above.
|
|
1023
1313
|
contextPolicy: {},
|
|
1024
1314
|
}),
|
|
1025
1315
|
// Usage Records — scope relationships (2 variants: ORG, USER)
|
|
@@ -1030,7 +1320,7 @@ export const coreSharedResourceRelationship = [
|
|
|
1030
1320
|
// BillingAccounts → UsageRecords (variant-matched, 1:N)
|
|
1031
1321
|
...createPolymorphicRelationships(billingAccountsPolymorphicDeclaration, usageRecordsPolymorphicDeclaration, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
1032
1322
|
nature: RelationshipNature.COMPOSITION,
|
|
1033
|
-
childOperations: { lifecycle: { onParentDelete: { enabled:
|
|
1323
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: true, strategy: ChildLifecycleStrategy.REFUSE_WHILE_CHILDREN_EXIST } } }, // RESTRICT: the account may not be deleted while these retained rows reference it — see the billing-retention note above.
|
|
1034
1324
|
contextPolicy: { enabled: false },
|
|
1035
1325
|
}),
|
|
1036
1326
|
// Credit Pools — scope relationships (2 variants: ORG, USER)
|
|
@@ -1041,7 +1331,7 @@ export const coreSharedResourceRelationship = [
|
|
|
1041
1331
|
// BillingAccounts → CreditPools (variant-matched, 1:N)
|
|
1042
1332
|
...createPolymorphicRelationships(billingAccountsPolymorphicDeclaration, creditPoolsPolymorphicDeclaration, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
1043
1333
|
nature: RelationshipNature.COMPOSITION,
|
|
1044
|
-
childOperations: { lifecycle: { onParentDelete: { enabled:
|
|
1334
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: true, strategy: ChildLifecycleStrategy.REFUSE_WHILE_CHILDREN_EXIST } } }, // RESTRICT: the account may not be deleted while these retained rows reference it — see the billing-retention note above.
|
|
1045
1335
|
contextPolicy: {},
|
|
1046
1336
|
}),
|
|
1047
1337
|
// Referrals keep shared FK field names (`referrerBillingAccountId`, `referredBillingAccountId`)
|
|
@@ -1130,7 +1420,10 @@ export const coreSharedResourceRelationship = [
|
|
|
1130
1420
|
// (ORGANIZATION_FEATURES / APPLICATION_FEATURES both declared the cascade) →
|
|
1131
1421
|
// orphan-on-user-delete risk; now aligned. Deliberately NO onParentCreate: the
|
|
1132
1422
|
// scope-features ledger is cache-resolved (see the ORGANIZATION_FEATURES note).
|
|
1133
|
-
|
|
1423
|
+
// `strategy: DELETE` is AUTHORED (#1569): an erasure keeps the scrubbed USERS row and reads
|
|
1424
|
+
// this strategy, so an erased person's entitlement overrides are destroyed; a retention
|
|
1425
|
+
// policy re-added to USER_FEATURES is then refused as a contradiction rather than obeyed.
|
|
1426
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1, strategy: ChildLifecycleStrategy.DELETE } } },
|
|
1134
1427
|
contextPolicy: { enabled: false },
|
|
1135
1428
|
}),
|
|
1136
1429
|
createResourcesRelationship(CoreResourceType.APPLICATION, CoreResourceType.FILES, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
|
|
@@ -1203,15 +1496,78 @@ export const coreSharedResourceRelationship = [
|
|
|
1203
1496
|
nature: RelationshipNature.COMPOSITION,
|
|
1204
1497
|
// onParentCreate: eager-seed the lifecycle-state row on user creation — the
|
|
1205
1498
|
// genuine latent gap (no READ self-heal); the evaluator read-then-creates so no dup.
|
|
1206
|
-
|
|
1499
|
+
//
|
|
1500
|
+
// `initialData.override` because the SHAPE the two doors produce must match, and the
|
|
1501
|
+
// schema defaults alone cannot produce it. The lazy doors persist
|
|
1502
|
+
// `createInitialScopedLifecycleState` — `stageHistory: [{ SIGNED_UP, … }]`,
|
|
1503
|
+
// `stagesVisited: [SIGNED_UP]` — while this eager door wrote the schema defaults,
|
|
1504
|
+
// `[]` and `[]`. The eager door is the one that runs in production, so the lazy pair's
|
|
1505
|
+
// shape was only ever written when THIS one had failed.
|
|
1506
|
+
//
|
|
1507
|
+
// The consequence is `hasReachedStage`, whose own JSDoc says it exists "for reliable
|
|
1508
|
+
// stage visitation checks": after the first transition `stagesVisited` read
|
|
1509
|
+
// `[ACTIVATED]`, so it answered FALSE for SIGNED_UP — a stage the subject demonstrably
|
|
1510
|
+
// passed — and the transition audit trail started one entry short.
|
|
1511
|
+
//
|
|
1512
|
+
// The values come from the same named source the lazy doors use, so there is still one
|
|
1513
|
+
// shape. It is NOT moved into the schema defaults: `stageHistory` carries
|
|
1514
|
+
// `RedactionType.RESET`, so a dynamic default would be written BY an erasure — the
|
|
1515
|
+
// hazard `lastActiveAt` names one field below — re-asserting a SIGNED_UP entry stamped
|
|
1516
|
+
// at erasure time. Seeding and the erasure default are different questions.
|
|
1517
|
+
childOperations: {
|
|
1518
|
+
lifecycle: {
|
|
1519
|
+
onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 },
|
|
1520
|
+
onParentCreate: {
|
|
1521
|
+
enabled: true,
|
|
1522
|
+
initialData: {
|
|
1523
|
+
override: () => {
|
|
1524
|
+
const initial = GuidanceStateUtils.createInitialLifecycleState();
|
|
1525
|
+
return { stageHistory: initial.stageHistory, stagesVisited: initial.stagesVisited };
|
|
1526
|
+
},
|
|
1527
|
+
},
|
|
1528
|
+
},
|
|
1529
|
+
},
|
|
1530
|
+
},
|
|
1207
1531
|
contextPolicy: { enabled: false }
|
|
1208
1532
|
}),
|
|
1209
1533
|
createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CoreResourceType.ORGANIZATION_LIFECYCLE_STATE, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.ONE, {
|
|
1210
1534
|
isPrimaryScope: true,
|
|
1211
1535
|
foreignKeyField: 'organizationId',
|
|
1212
1536
|
nature: RelationshipNature.COMPOSITION,
|
|
1213
|
-
// onParentCreate: eager-seed the lifecycle-state row on org creation
|
|
1214
|
-
|
|
1537
|
+
// onParentCreate: eager-seed the lifecycle-state row on org creation — the
|
|
1538
|
+
// genuine latent gap (no READ self-heal); the evaluator read-then-creates so no dup.
|
|
1539
|
+
//
|
|
1540
|
+
// `initialData.override` because the SHAPE the two doors produce must match, and the
|
|
1541
|
+
// schema defaults alone cannot produce it. The lazy doors persist
|
|
1542
|
+
// `createInitialScopedLifecycleState` — `stageHistory: [{ SIGNED_UP, … }]`,
|
|
1543
|
+
// `stagesVisited: [SIGNED_UP]` — while this eager door wrote the schema defaults,
|
|
1544
|
+
// `[]` and `[]`. The eager door is the one that runs in production, so the lazy pair's
|
|
1545
|
+
// shape was only ever written when THIS one had failed.
|
|
1546
|
+
//
|
|
1547
|
+
// The consequence is `hasReachedStage`, whose own JSDoc says it exists "for reliable
|
|
1548
|
+
// stage visitation checks": after the first transition `stagesVisited` read
|
|
1549
|
+
// `[ACTIVATED]`, so it answered FALSE for SIGNED_UP — a stage the subject demonstrably
|
|
1550
|
+
// passed — and the transition audit trail started one entry short.
|
|
1551
|
+
//
|
|
1552
|
+
// The values come from the same named source the lazy doors use, so there is still one
|
|
1553
|
+
// shape. It is NOT moved into the schema defaults: `stageHistory` carries
|
|
1554
|
+
// `RedactionType.RESET`, so a dynamic default would be written BY an erasure — the
|
|
1555
|
+
// hazard `lastActiveAt` names one field below — re-asserting a SIGNED_UP entry stamped
|
|
1556
|
+
// at erasure time. Seeding and the erasure default are different questions.
|
|
1557
|
+
childOperations: {
|
|
1558
|
+
lifecycle: {
|
|
1559
|
+
onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 },
|
|
1560
|
+
onParentCreate: {
|
|
1561
|
+
enabled: true,
|
|
1562
|
+
initialData: {
|
|
1563
|
+
override: () => {
|
|
1564
|
+
const initial = GuidanceStateUtils.createInitialLifecycleState();
|
|
1565
|
+
return { stageHistory: initial.stageHistory, stagesVisited: initial.stagesVisited };
|
|
1566
|
+
},
|
|
1567
|
+
},
|
|
1568
|
+
},
|
|
1569
|
+
},
|
|
1570
|
+
},
|
|
1215
1571
|
contextPolicy: { enabled: false }
|
|
1216
1572
|
}),
|
|
1217
1573
|
// ── Inbound Contacts (Phase 0.5, Q-E=B) ──────────────────────────────
|
|
@@ -1317,16 +1673,22 @@ export const coreSharedResourceRelationship = [
|
|
|
1317
1673
|
},
|
|
1318
1674
|
},
|
|
1319
1675
|
}),
|
|
1320
|
-
// SIEM Delivery DLQ — collection (MANY per scope)
|
|
1676
|
+
// SIEM Delivery DLQ — collection (MANY per scope). Off the context surface (#583): a dead-letter
|
|
1677
|
+
// queue is append-only and grows without bound during a SIEM outage, exactly when a scope's context
|
|
1678
|
+
// read must stay cheap. Operators page it through its own LIST.
|
|
1321
1679
|
...createPolymorphicScopeRelationships(siemDeliveryDlqPolymorphicDeclaration, {
|
|
1322
1680
|
nature: RelationshipNature.COMPOSITION,
|
|
1323
1681
|
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
|
|
1324
|
-
contextPolicy: {
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1682
|
+
contextPolicy: { enabled: false },
|
|
1683
|
+
}),
|
|
1684
|
+
// SIEM Delivery Outbox — collection (MANY per scope). Off the context surface for the SAME reason
|
|
1685
|
+
// as the DLQ above and one more: these rows are machinery in flight, claimed and deleted by the
|
|
1686
|
+
// collector within a window, so a context read would carry a set that is stale by the time it is
|
|
1687
|
+
// read. Cascades on scope delete like its sibling — a tenant that is gone has nothing left to export.
|
|
1688
|
+
...createPolymorphicScopeRelationships(siemDeliveryOutboxPolymorphicDeclaration, {
|
|
1689
|
+
nature: RelationshipNature.COMPOSITION,
|
|
1690
|
+
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
|
|
1691
|
+
contextPolicy: { enabled: false },
|
|
1330
1692
|
}),
|
|
1331
1693
|
// SCIM Tokens — collection (MANY per scope)
|
|
1332
1694
|
...createPolymorphicScopeRelationships(scimTokensPolymorphicDeclaration, {
|
|
@@ -1363,18 +1725,13 @@ export const coreSharedResourceRelationship = [
|
|
|
1363
1725
|
},
|
|
1364
1726
|
},
|
|
1365
1727
|
}),
|
|
1366
|
-
// M2M Webhook Delivery Log — collection (MANY per scope).
|
|
1367
|
-
//
|
|
1368
|
-
// dedicated UI, not via implicit context inclusion
|
|
1728
|
+
// M2M Webhook Delivery Log — collection (MANY per scope). Off the context surface entirely (#583):
|
|
1729
|
+
// one row per delivery attempt, unbounded, and READ used to embed all of them. Admins query it via
|
|
1730
|
+
// the dedicated UI, not via implicit context inclusion. Mirrors SIEM DLQ wiring.
|
|
1369
1731
|
...createPolymorphicScopeRelationships(m2mWebhookDeliveryLogPolymorphicDeclaration, {
|
|
1370
1732
|
nature: RelationshipNature.COMPOSITION,
|
|
1371
1733
|
childOperations: { lifecycle: { onParentDelete: { enabled: true, mode: ChildLifecycleMode.IMMEDIATE, maxDepth: 1 } } },
|
|
1372
|
-
contextPolicy: {
|
|
1373
|
-
operationOverrides: {
|
|
1374
|
-
[CoreResourceOperation.LIST]: { enabled: false },
|
|
1375
|
-
[CoreResourceOperation.SEARCH]: { enabled: false },
|
|
1376
|
-
},
|
|
1377
|
-
},
|
|
1734
|
+
contextPolicy: { enabled: false },
|
|
1378
1735
|
}),
|
|
1379
1736
|
];
|
|
1380
1737
|
export const coreShared_ResourcesConfigurations_FactoryMap = {
|
|
@@ -1392,6 +1749,8 @@ export const coreShared_ResourcesConfigurations_FactoryMap = {
|
|
|
1392
1749
|
[CoreResourceType.ORGANIZATION_PROFILES]: organizationProfileResourceConfiguration_InitializationFactory,
|
|
1393
1750
|
[CoreResourceType.ORGANIZATION_PREFERENCES]: organizationPreferencesResourceConfiguration_InitializationFactory,
|
|
1394
1751
|
[CoreResourceType.PLATFORM_ACCESS_GRANTS]: platformAccessGrantsResourceConfiguration_InitializationFactory,
|
|
1752
|
+
[CoreResourceType.APPLICATION_ACCESS_GRANTS]: applicationAccessGrantsResourceConfiguration_InitializationFactory,
|
|
1753
|
+
[CoreResourceType.SYSTEM_OF_RECORD_PARTITION_ASSIGNMENTS]: systemOfRecordPartitionAssignmentsResourceConfiguration_InitializationFactory,
|
|
1395
1754
|
[CoreResourceType.ORGANIZATION_NOTIFICATIONS]: organizationNotificationsResourceConfiguration_InitializationFactory,
|
|
1396
1755
|
[CoreResourceType.ORGANIZATION_FEATURES]: organizationFeaturesResourceConfiguration_InitializationFactory,
|
|
1397
1756
|
[CoreResourceType.USER_FEATURES]: userFeaturesResourceConfiguration_InitializationFactory,
|
|
@@ -1433,6 +1792,7 @@ export const coreShared_ResourcesConfigurations_FactoryMap = {
|
|
|
1433
1792
|
// Queue System Resources (internal infrastructure)
|
|
1434
1793
|
[CoreResourceType.JOB_EXECUTIONS]: jobExecution_ResourceConfiguration_InitializationFactory,
|
|
1435
1794
|
[CoreResourceType.JOB_PAYLOAD_STORAGE]: jobPayloadStorage_ResourceConfiguration_InitializationFactory,
|
|
1795
|
+
[CoreResourceType.PROVIDER_CALL_RECORDS]: providerCallRecordsResourceConfiguration_InitializationFactory,
|
|
1436
1796
|
// Flows-Actors Execution Resource (persisted flow/actor system executions)
|
|
1437
1797
|
...flowActorExecutionsPolymorphicFactories,
|
|
1438
1798
|
// Flows-Actors Task Resource (the WORK plane behind the A2A `Task` object)
|
|
@@ -1442,6 +1802,7 @@ export const coreShared_ResourcesConfigurations_FactoryMap = {
|
|
|
1442
1802
|
// Authentication Resources
|
|
1443
1803
|
[CoreResourceType.USER_IDENTITY_LINKS]: userIdentityLinksResourceConfiguration_InitializationFactory,
|
|
1444
1804
|
[CoreResourceType.OAUTH_CONSENT_GRANTS]: oauthConsentGrantsResourceConfiguration_InitializationFactory,
|
|
1805
|
+
[CoreResourceType.USER_GOVERNED_DOCUMENT_ACCEPTANCES]: userGovernedDocumentAcceptancesResourceConfiguration_InitializationFactory,
|
|
1445
1806
|
// Anonymous Session Resources (W7.3a)
|
|
1446
1807
|
[CoreResourceType.ANONYMOUS_USERS]: anonymousUsersResourceConfiguration_InitializationFactory,
|
|
1447
1808
|
// Inbound Contacts (Phase 0.5 — public marketing-site lead capture, Q-E=B)
|
|
@@ -1460,6 +1821,7 @@ export const coreShared_ResourcesConfigurations_FactoryMap = {
|
|
|
1460
1821
|
...ssoConnectionPolymorphicFactories,
|
|
1461
1822
|
...siemExportConfigPolymorphicFactories,
|
|
1462
1823
|
...siemDeliveryDlqPolymorphicFactories,
|
|
1824
|
+
...siemDeliveryOutboxPolymorphicFactories,
|
|
1463
1825
|
...scimTokensPolymorphicFactories,
|
|
1464
1826
|
...scimProvisioningConfigPolymorphicFactories,
|
|
1465
1827
|
// M2M Outbound Webhook Resources — polymorphic dual-scope (2 × 2 = 4 entries)
|