@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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"governed-documents.shared.schemas.js","sourceRoot":"","sources":["../../../../../src/compliance/documents/governed-documents.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AAEH,mFAAmF;AACnF,MAAM,CAAC,MAAM,2CAA2C,GAAG,+DAA+D,CAAC;AAE3H,MAAM,0BAA0B,GAAG,oEAAoE,CAAC;AACxG,MAAM,oBAAoB,GAAG,CAAC,IAAY,EAAE,KAAa,EAAU,EAAE,CAAC,CAAC,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACjH,MAAM,eAAe,GAAG,CAAC,MAAyB,EAAW,EAAE,CAAC,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC,IAAI,KAAK,MAAM,CAAC,MAAM,CAAC;AACvG,MAAM,wBAAwB,GAAG,CAAC,MAAyB,EAAW,EAAE,CACtE,MAAM,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,CAAC,IAAI,oBAAoB,CAAC,MAAM,CAAC,KAAK,GAAG,CAAC,CAAE,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;AAEtG,MAAM,oBAAoB,GAAG,CAAC,MAAyB,EAAE,OAAwB,EAAE,IAAmB,EAAE,KAAa,EAAQ,EAAE;IAC7H,IAAI,CAAC,eAAe,CAAC,MAAM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E,CAAC,CAAC,CAAC,EAAE,CAAC;KAC/D,CAAC,CAAC;AACL,CAAC,CAAC","sourcesContent":["import { z } from \"zod\";\n\n/**\n * What a GOVERNED DOCUMENT is: its classes, audiences, review and publication vocabulary, its\n * identities, its governance scope, its public content, and the release and publication events that\n * record it being issued and withdrawn.\n *\n * ## What this file used to also be, and why that half is gone (2026-08-28)\n *\n * Until this revision the same file carried a complete SEALED DELIVERY MACHINE beside the\n * vocabulary: public-release and deployment BUNDLES with self-referential digests, deployment\n * OBSERVATIONS carrying canonical bytes plus a detached backend signature and a rotated-key\n * `notAfter` window, publication PROOF digests, interaction RECEIPTS, byte-exact retrieval queries,\n * and a dozen `canonicalize*DigestBasis` functions feeding them. Around it sat a backend registry\n * that revalidated every digest at boot, two controllers, a CLI artifact-sync writing immutable\n * receipts, and a generated module the application loaded at startup.\n *\n * All of it is removed under `.claude/rules/one-source-of-truth.md` Rule 0 — *nothing that is not\n * branchable on git*. A digest chain cannot merge: two branches that publish different content\n * produce a merged tree whose digests belong to neither. What the machine protected — that a\n * published document is exactly the bytes somebody approved — is what git and the forge already\n * provide, per commit, mergeably, to a reviewer reading a diff.\n *\n * Two facts made the removal cheap rather than risky, and both were measured rather than assumed:\n * **no application had ever produced a bundle** (`.wildo-saas/generated/compliance/` was empty in\n * both example applications), and every read path was built on the seal, so there was no\n * non-sealed serving to preserve.\n *\n * ## What replaces it\n *\n * Nothing yet, deliberately. A governed document is a FILE in the application's specifications\n * package; publishing one is a decision recorded by a commit. When an application actually has a\n * document to serve, the serving is rebuilt from those files — a read, not a custody protocol. The\n * vocabulary below is what survives, and it is the half every other layer actually consumes.\n */\n\n/** Exact media type of the canonical browser-safe governed-document JSON bytes. */\nexport const GOVERNED_DOCUMENT_PUBLIC_CONTENT_MEDIA_TYPE = \"application/vnd.wildo.governed-document.public+json;version=1\";\n\nconst governedDocumentRefPattern = /^[a-z][a-z0-9]*(?:[.-][a-z0-9]+)*(?::[A-Za-z0-9][A-Za-z0-9._-]*)+$/;\nconst compareCanonicalText = (left: string, right: string): number => (left < right ? -1 : left > right ? 1 : 0);\nconst valuesAreUnique = (values: readonly string[]): boolean => new Set(values).size === values.length;\nconst valuesAreLexicallySorted = (values: readonly string[]): boolean =>\n values.every((value, index) => index === 0 || compareCanonicalText(values[index - 1]!, value) <= 0);\n\nconst addUniqueSortedIssue = (values: readonly string[], context: z.RefinementCtx, path: PropertyKey[], label: string): void => {\n if (!valuesAreUnique(values) || !valuesAreLexicallySorted(values)) {\n context.addIssue({ code: \"custom\", message: `${label} must be unique and lexically sorted`, path });\n }\n};\n\nexport const GovernedDocumentRefSchema = z.string().trim().regex(governedDocumentRefPattern).brand<\"GovernedDocumentRef\">();\nexport type GovernedDocumentRef = z.infer<typeof GovernedDocumentRefSchema>;\n\nexport const GovernedDocumentIsoDateTimeSchema = z.iso.datetime({ offset: true });\nexport const GovernedDocumentIsoDateSchema = z.iso.date();\n/** One runtime source for every governed-document version/order identity. */\nexport const GovernedDocumentPositiveSafeIntegerSchema = z.number().int().positive().max(Number.MAX_SAFE_INTEGER);\n\n/** Semantic class of governed content. The class controls review, release and interaction rules; a public label never changes it. */\nexport enum GovernedDocumentClass {\n PUBLIC_NOTICE = \"PUBLIC_NOTICE\",\n CONTRACTUAL_TERMS = \"CONTRACTUAL_TERMS\",\n GOVERNANCE_POLICY = \"GOVERNANCE_POLICY\",\n PROCEDURE_OR_RUNBOOK = \"PROCEDURE_OR_RUNBOOK\",\n PLAN = \"PLAN\",\n REGISTER = \"REGISTER\",\n REVIEW_OR_DECISION_RECORD = \"REVIEW_OR_DECISION_RECORD\",\n ASSESSMENT_OR_REPORT = \"ASSESSMENT_OR_REPORT\",\n EVIDENCE_ARTIFACT = \"EVIDENCE_ARTIFACT\",\n}\n\n/** Whose facts and authority a document may speak for. Shared responsibility is explicit rather than a flattened synthetic owner. */\nexport enum GovernedDocumentGovernanceSubjectKind {\n WILDO_PROVIDER = \"WILDO_PROVIDER\",\n APPLICATION_OPERATOR = \"APPLICATION_OPERATOR\",\n TENANT_ORGANIZATION = \"TENANT_ORGANIZATION\",\n SHARED_RESPONSIBILITY = \"SHARED_RESPONSIBILITY\",\n}\n\nexport enum GovernedDocumentAudienceKind {\n PUBLIC_GENERAL = \"PUBLIC_GENERAL\",\n BUSINESS_CUSTOMER = \"BUSINESS_CUSTOMER\",\n CONSUMER = \"CONSUMER\",\n APPLICATION_USER = \"APPLICATION_USER\",\n WORKFORCE = \"WORKFORCE\",\n TENANT_ADMINISTRATOR = \"TENANT_ADMINISTRATOR\",\n QUALIFIED_REVIEWER = \"QUALIFIED_REVIEWER\",\n}\n\nexport enum GovernedDocumentApplicabilityStatus {\n APPLICABLE = \"APPLICABLE\",\n NOT_APPLICABLE = \"NOT_APPLICABLE\",\n DEFERRED = \"DEFERRED\",\n}\n\nexport enum GovernedDocumentFactResolutionStatus {\n KNOWN = \"KNOWN\",\n MISSING = \"MISSING\",\n CONFLICTING = \"CONFLICTING\",\n STALE = \"STALE\",\n NOT_APPLICABLE = \"NOT_APPLICABLE\",\n}\n\nexport enum GovernedDocumentCandidateStatus {\n DRAFT = \"DRAFT\",\n BLOCKED = \"BLOCKED\",\n READY_FOR_REVIEW = \"READY_FOR_REVIEW\",\n SUPERSEDED = \"SUPERSEDED\",\n}\n\nexport enum GovernedDocumentReviewKind {\n CONTENT = \"CONTENT\",\n TECHNICAL = \"TECHNICAL\",\n PRIVACY = \"PRIVACY\",\n SECURITY = \"SECURITY\",\n LEGAL = \"LEGAL\",\n BUSINESS = \"BUSINESS\",\n INDEPENDENT_ASSESSMENT = \"INDEPENDENT_ASSESSMENT\",\n}\n\nexport enum GovernedDocumentReviewDecisionKind {\n APPROVED = \"APPROVED\",\n CHANGES_REQUIRED = \"CHANGES_REQUIRED\",\n REJECTED = \"REJECTED\",\n CONFLICT = \"CONFLICT\",\n}\n\nexport enum GovernedDocumentPublicationChannelKind {\n PUBLIC_WEB = \"PUBLIC_WEB\",\n AUTHENTICATED_WEB = \"AUTHENTICATED_WEB\",\n DURABLE_DOWNLOAD = \"DURABLE_DOWNLOAD\",\n DIRECT_DELIVERY = \"DIRECT_DELIVERY\",\n GOVERNANCE_REPOSITORY = \"GOVERNANCE_REPOSITORY\",\n}\n\nexport enum GovernedDocumentPublicationEventKind {\n PUBLISHED = \"PUBLISHED\",\n WITHDRAWN = \"WITHDRAWN\",\n}\n\n/** Distinct legal/user interactions. A notice interaction, contract acceptance and consent decision are never aliases. */\nexport enum GovernedDocumentInteractionKind {\n NOTICE_DELIVERED = \"NOTICE_DELIVERED\",\n NOTICE_ACKNOWLEDGED = \"NOTICE_ACKNOWLEDGED\",\n CONTRACT_ACCEPTED = \"CONTRACT_ACCEPTED\",\n CONSENT_GIVEN = \"CONSENT_GIVEN\",\n CONSENT_WITHDRAWN = \"CONSENT_WITHDRAWN\",\n}\n\nexport enum GovernedDocumentChangeAction {\n NO_PUBLIC_ACTION = \"NO_PUBLIC_ACTION\",\n REVISE_CANDIDATE = \"REVISE_CANDIDATE\",\n REPUBLISH = \"REPUBLISH\",\n NOTIFY = \"NOTIFY\",\n REQUEST_REACKNOWLEDGEMENT = \"REQUEST_REACKNOWLEDGEMENT\",\n REQUEST_REACCEPTANCE = \"REQUEST_REACCEPTANCE\",\n WITHDRAW = \"WITHDRAW\",\n ESCALATE_FOR_QUALIFIED_REVIEW = \"ESCALATE_FOR_QUALIFIED_REVIEW\",\n}\n\nexport const GovernedDocumentDefinitionIdentitySchema = z.strictObject({\n definitionRef: GovernedDocumentRefSchema,\n definitionVersion: GovernedDocumentPositiveSafeIntegerSchema,\n});\nexport type GovernedDocumentDefinitionIdentity = z.infer<typeof GovernedDocumentDefinitionIdentitySchema>;\n\nexport const GovernedDocumentIdentitySchema = z.strictObject({\n documentRef: GovernedDocumentRefSchema,\n documentVersion: GovernedDocumentPositiveSafeIntegerSchema,\n});\nexport type GovernedDocumentIdentity = z.infer<typeof GovernedDocumentIdentitySchema>;\n\nexport const GovernedDocumentReleaseIdentitySchema = z.strictObject({\n document: GovernedDocumentIdentitySchema,\n releaseId: GovernedDocumentRefSchema,\n releaseVersion: GovernedDocumentPositiveSafeIntegerSchema,\n});\nexport type GovernedDocumentReleaseIdentity = z.infer<typeof GovernedDocumentReleaseIdentitySchema>;\n\nexport const governedDocumentReleaseIdentityKey = (identity: GovernedDocumentReleaseIdentity): string =>\n `${identity.document.documentRef}@${identity.document.documentVersion}:${identity.releaseId}@${identity.releaseVersion}`;\n\n/** Exact immutable approval-decision identity retained by an issued release without exposing private review content publicly. */\nexport const GovernedDocumentApprovalDecisionIdentitySchema = z.strictObject({\n decisionRef: GovernedDocumentRefSchema,\n decisionVersion: GovernedDocumentPositiveSafeIntegerSchema,\n});\nexport type GovernedDocumentApprovalDecisionIdentity = z.infer<typeof GovernedDocumentApprovalDecisionIdentitySchema>;\n\n/**\n * Exact private materiality-decision identity retained when one release\n * replaces another. The full decision and authority evidence remain in\n * application-creation custody; this identity makes the replacement and any\n * required renewed interaction causally auditable without exposing the\n * decision publicly.\n */\nexport const GovernedDocumentMaterialityDecisionIdentitySchema = z\n .strictObject({\n decisionRef: GovernedDocumentRefSchema,\n decisionVersion: GovernedDocumentPositiveSafeIntegerSchema,\n previousRelease: GovernedDocumentReleaseIdentitySchema,\n requiredInteractionKinds: z.array(z.enum(GovernedDocumentInteractionKind)),\n })\n .superRefine((decision, context) => {\n addUniqueSortedIssue(decision.requiredInteractionKinds, context, [\"requiredInteractionKinds\"], \"requiredInteractionKinds\");\n });\nexport type GovernedDocumentMaterialityDecisionIdentity = z.infer<typeof GovernedDocumentMaterialityDecisionIdentitySchema>;\n\n/** Exact immutable reviewer-authority grant selected by a review decision. */\nexport const GovernedDocumentReviewerAuthorityIdentitySchema = z.strictObject({\n authorityRef: GovernedDocumentRefSchema,\n authorityVersion: GovernedDocumentPositiveSafeIntegerSchema,\n});\nexport type GovernedDocumentReviewerAuthorityIdentity = z.infer<typeof GovernedDocumentReviewerAuthorityIdentitySchema>;\n\n/** Exact immutable authority identity selected for a document materiality decision; never interchangeable with candidate-review authority. */\nexport const GovernedDocumentMaterialityAuthorityIdentitySchema = z.strictObject({\n authorityRef: GovernedDocumentRefSchema,\n authorityVersion: GovernedDocumentPositiveSafeIntegerSchema,\n});\nexport type GovernedDocumentMaterialityAuthorityIdentity = z.infer<typeof GovernedDocumentMaterialityAuthorityIdentitySchema>;\n\n/**\n * Exact ownership boundary for one governed document.\n *\n * Shared-responsibility output must retain at least two attributed parties and an explicit precedence rule. A single-subject output must not carry those shared-only\n * fields, preventing provider, operator and tenant statements from being silently flattened into one voice.\n */\nexport const GovernedDocumentGovernanceScopeSchema = z\n .strictObject({\n subjectKind: z.enum(GovernedDocumentGovernanceSubjectKind),\n subjectRef: GovernedDocumentRefSchema,\n scopeRef: GovernedDocumentRefSchema,\n scopeVersion: GovernedDocumentPositiveSafeIntegerSchema,\n participantRefs: z.array(GovernedDocumentRefSchema),\n precedenceRuleRefs: z.array(GovernedDocumentRefSchema),\n })\n .superRefine((scope, context) => {\n addUniqueSortedIssue(scope.participantRefs, context, [\"participantRefs\"], \"participantRefs\");\n addUniqueSortedIssue(scope.precedenceRuleRefs, context, [\"precedenceRuleRefs\"], \"precedenceRuleRefs\");\n if (scope.subjectKind === GovernedDocumentGovernanceSubjectKind.SHARED_RESPONSIBILITY) {\n if (scope.participantRefs.length < 2) {\n context.addIssue({ code: \"custom\", message: \"shared responsibility requires at least two attributed participants\", path: [\"participantRefs\"] });\n }\n if (scope.precedenceRuleRefs.length === 0) {\n context.addIssue({ code: \"custom\", message: \"shared responsibility requires an explicit precedence rule\", path: [\"precedenceRuleRefs\"] });\n }\n } else if (scope.participantRefs.length > 0 || scope.precedenceRuleRefs.length > 0) {\n context.addIssue({\n code: \"custom\",\n message: \"single-subject governance cannot carry shared-responsibility participants or precedence rules\",\n path: [\"participantRefs\"],\n });\n }\n });\nexport type GovernedDocumentGovernanceScope = z.infer<typeof GovernedDocumentGovernanceScopeSchema>;\n\n/**\n * Browser-safe public projection of approved semantic document content.\n *\n * Internal fact, authority, source-policy and review evidence stays in the\n * candidate/release records. Public routes render this exact projection as\n * text; `bodyMarkdown` is never trusted as raw HTML.\n */\nexport const GovernedDocumentPublicClauseSchema = z.strictObject({\n clauseRef: GovernedDocumentRefSchema,\n clauseVersion: GovernedDocumentPositiveSafeIntegerSchema,\n order: GovernedDocumentPositiveSafeIntegerSchema,\n bodyMarkdown: z.string().trim().min(1),\n});\nexport type GovernedDocumentPublicClause = z.infer<typeof GovernedDocumentPublicClauseSchema>;\n\nexport const GovernedDocumentPublicSectionSchema = z\n .strictObject({\n sectionRef: GovernedDocumentRefSchema,\n sectionVersion: GovernedDocumentPositiveSafeIntegerSchema,\n order: GovernedDocumentPositiveSafeIntegerSchema,\n title: z.string().trim().min(1),\n clauses: z.array(GovernedDocumentPublicClauseSchema).min(1),\n })\n .superRefine((section, context) => {\n if (!valuesAreUnique(section.clauses.map((clause) => clause.clauseRef))) {\n context.addIssue({ code: \"custom\", message: \"public document clause references must be unique\", path: [\"clauses\"] });\n }\n section.clauses.forEach((clause, index) => {\n if (clause.order !== index + 1) {\n context.addIssue({\n code: \"custom\",\n message: \"public document clause order must be contiguous and match array order\",\n path: [\"clauses\", index, \"order\"],\n });\n }\n });\n });\nexport type GovernedDocumentPublicSection = z.infer<typeof GovernedDocumentPublicSectionSchema>;\n\nexport const GovernedDocumentPublicContentSchema = z\n .strictObject({\n schemaVersion: z.literal(1),\n title: z.string().trim().min(1),\n locale: z.string().trim().min(2),\n jurisdictionRefs: z.array(GovernedDocumentRefSchema),\n sections: z.array(GovernedDocumentPublicSectionSchema).min(1),\n })\n .superRefine((content, context) => {\n addUniqueSortedIssue(content.jurisdictionRefs, context, [\"jurisdictionRefs\"], \"jurisdictionRefs\");\n if (!valuesAreUnique(content.sections.map((section) => section.sectionRef))) {\n context.addIssue({ code: \"custom\", message: \"public document section references must be unique\", path: [\"sections\"] });\n }\n content.sections.forEach((section, index) => {\n if (section.order !== index + 1) {\n context.addIssue({\n code: \"custom\",\n message: \"public document section order must be contiguous and match array order\",\n path: [\"sections\", index, \"order\"],\n });\n }\n });\n });\nexport type GovernedDocumentPublicContent = z.infer<typeof GovernedDocumentPublicContentSchema>;\n\n/**\n * Content-branch-neutral immutable release metadata.\n *\n * Historical public releases and current internal structured releases add\n * their own explicit schema/content discriminators to this shared invariant\n * basis. Consumers must select one complete branch rather than accepting this\n * common shape directly.\n */\nexport const GovernedDocumentReleaseCommonSchema = z\n .strictObject({\n identity: GovernedDocumentReleaseIdentitySchema,\n definition: GovernedDocumentDefinitionIdentitySchema,\n governanceScope: GovernedDocumentGovernanceScopeSchema,\n documentClass: z.enum(GovernedDocumentClass),\n audienceKinds: z.array(z.enum(GovernedDocumentAudienceKind)).min(1),\n publicationChannelKinds: z.array(z.enum(GovernedDocumentPublicationChannelKind)).min(1),\n allowedInteractionKinds: z.array(z.enum(GovernedDocumentInteractionKind)),\n locale: z.string().trim().min(2),\n jurisdictionRefs: z.array(GovernedDocumentRefSchema),\n /*\n * The release names its content's MEDIA TYPE and nothing more.\n *\n * It carried `candidateDigest`, `contentDigest` and `contentArtifactRef` until 2026-08-28 — a\n * seal binding the release to exact bytes in a content-addressed store. The store and the\n * verifier are gone with the rest of the digest machinery; the binding a reader needs is the\n * commit that introduced both the release and its content file.\n */\n contentMediaType: z.string().trim().min(1),\n issuedAt: GovernedDocumentIsoDateTimeSchema,\n effectiveAt: GovernedDocumentIsoDateTimeSchema,\n expiresAt: GovernedDocumentIsoDateTimeSchema.optional(),\n approvalDecisions: z.array(GovernedDocumentApprovalDecisionIdentitySchema).min(1),\n replacesRelease: GovernedDocumentReleaseIdentitySchema.optional(),\n materialityDecision: GovernedDocumentMaterialityDecisionIdentitySchema.optional(),\n })\n .superRefine((release, context) => {\n addUniqueSortedIssue(release.audienceKinds, context, [\"audienceKinds\"], \"audienceKinds\");\n addUniqueSortedIssue(release.publicationChannelKinds, context, [\"publicationChannelKinds\"], \"publicationChannelKinds\");\n addUniqueSortedIssue(release.allowedInteractionKinds, context, [\"allowedInteractionKinds\"], \"allowedInteractionKinds\");\n addUniqueSortedIssue(release.jurisdictionRefs, context, [\"jurisdictionRefs\"], \"jurisdictionRefs\");\n addUniqueSortedIssue(\n release.approvalDecisions.map((decision) => `${decision.decisionRef}@${decision.decisionVersion}`),\n context,\n [\"approvalDecisions\"],\n \"approvalDecisions\",\n );\n if (Date.parse(release.effectiveAt) < Date.parse(release.issuedAt)) {\n context.addIssue({ code: \"custom\", message: \"effectiveAt cannot precede issuedAt\", path: [\"effectiveAt\"] });\n }\n if (release.expiresAt && Date.parse(release.expiresAt) <= Date.parse(release.effectiveAt)) {\n context.addIssue({ code: \"custom\", message: \"expiresAt must follow effectiveAt\", path: [\"expiresAt\"] });\n }\n if (\n release.replacesRelease &&\n release.replacesRelease.document.documentRef === release.identity.document.documentRef &&\n release.replacesRelease.releaseId === release.identity.releaseId &&\n release.replacesRelease.releaseVersion === release.identity.releaseVersion\n ) {\n context.addIssue({ code: \"custom\", message: \"a release cannot replace itself\", path: [\"replacesRelease\"] });\n }\n if (release.replacesRelease && release.replacesRelease.document.documentRef !== release.identity.document.documentRef) {\n context.addIssue({ code: \"custom\", message: \"a release can replace only a prior release of the same governed document\", path: [\"replacesRelease\"] });\n }\n if ((release.replacesRelease === undefined) !== (release.materialityDecision === undefined)) {\n context.addIssue({\n code: \"custom\",\n message: \"replacement release identity and exact materiality decision must be present together\",\n path: [\"materialityDecision\"],\n });\n }\n if (\n release.replacesRelease &&\n release.materialityDecision &&\n governedDocumentReleaseIdentityKey(release.replacesRelease) !== governedDocumentReleaseIdentityKey(release.materialityDecision.previousRelease)\n ) {\n context.addIssue({\n code: \"custom\",\n message: \"materiality decision must bind the exact release being replaced\",\n path: [\"materialityDecision\", \"previousRelease\"],\n });\n }\n if (release.materialityDecision?.requiredInteractionKinds.some((interactionKind) => !release.allowedInteractionKinds.includes(interactionKind))) {\n context.addIssue({\n code: \"custom\",\n message: \"required renewed interactions must be authorized by the replacement release\",\n path: [\"materialityDecision\", \"requiredInteractionKinds\"],\n });\n }\n });\n\n/** Immutable historical/public issued release. Its content branch remains byte-exact v1. */\nexport const GovernedDocumentReleaseSchema = GovernedDocumentReleaseCommonSchema.safeExtend({\n schemaVersion: z.literal(1),\n});\nexport type GovernedDocumentRelease = z.infer<typeof GovernedDocumentReleaseSchema>;\n\n/** Locator kind is explicit so a channel cannot reinterpret an arbitrary string. */\nexport enum GovernedDocumentPublicationLocatorKind {\n WEB_URL = \"WEB_URL\",\n RECORD_REF = \"RECORD_REF\",\n}\n\nexport const GovernedDocumentPublicationWebLocatorSchema = z.strictObject({\n kind: z.literal(GovernedDocumentPublicationLocatorKind.WEB_URL),\n url: z.url().refine((value) => new URL(value).protocol === \"https:\", \"published web locations require HTTPS\"),\n});\nexport const GovernedDocumentPublicationRecordLocatorSchema = z.strictObject({\n kind: z.literal(GovernedDocumentPublicationLocatorKind.RECORD_REF),\n recordRef: GovernedDocumentRefSchema,\n});\nexport const GovernedDocumentPublicationLocatorSchema = z.discriminatedUnion(\"kind\", [\n GovernedDocumentPublicationWebLocatorSchema,\n GovernedDocumentPublicationRecordLocatorSchema,\n]);\nexport type GovernedDocumentPublicationLocator = z.infer<typeof GovernedDocumentPublicationLocatorSchema>;\n\nconst GovernedDocumentPublicationEventCommonSchema = z.strictObject({\n schemaVersion: z.literal(1),\n eventRef: GovernedDocumentRefSchema,\n release: GovernedDocumentReleaseIdentitySchema,\n channel: z.enum(GovernedDocumentPublicationChannelKind),\n occurredAt: GovernedDocumentIsoDateTimeSchema,\n publicationLocator: GovernedDocumentPublicationLocatorSchema,\n});\n\nconst addGovernedDocumentPublicationLocatorIssue = (\n event: { readonly channel: GovernedDocumentPublicationChannelKind; readonly publicationLocator?: GovernedDocumentPublicationLocator },\n context: z.RefinementCtx,\n): void => {\n // Zod invokes refinements over its input shape, where a required nested\n // object may still be absent before the base object reports that issue.\n // Leave requiredness to the property schema and validate channel semantics\n // only once a locator has successfully parsed.\n if (!event.publicationLocator) return;\n const requiresWebUrl =\n event.channel === GovernedDocumentPublicationChannelKind.PUBLIC_WEB || event.channel === GovernedDocumentPublicationChannelKind.AUTHENTICATED_WEB;\n if (requiresWebUrl !== (event.publicationLocator.kind === GovernedDocumentPublicationLocatorKind.WEB_URL)) {\n context.addIssue({\n code: \"custom\",\n message: requiresWebUrl ? \"web publication channels require an HTTPS locator\" : \"non-web publication channels require a durable record reference\",\n path: [\"publicationLocator\"],\n });\n }\n};\n\nexport const GovernedDocumentPublishedEventSchema = GovernedDocumentPublicationEventCommonSchema.extend({\n eventKind: z.literal(GovernedDocumentPublicationEventKind.PUBLISHED),\n /*\n * It carried `servedContentDigest`, `exactByteProofDigest` and an optional `deploymentObservation`\n * — the latter a signed record of bytes read back from a deployed bundle — until 2026-08-28. The\n * event's own JSDoc called the observation the difference between \"evidence of deployed bytes\" and\n * \"a self-assertion over custody\", which was a fair description of a machine that had never once\n * run. A publication is now what it says it is: this release, on this channel, at this locator, at\n * this time — recorded in a file, in a commit, which a reviewer can read.\n */\n}).superRefine(addGovernedDocumentPublicationLocatorIssue);\nexport type GovernedDocumentPublishedEvent = z.infer<typeof GovernedDocumentPublishedEventSchema>;\n\nexport const GovernedDocumentWithdrawnEventSchema = GovernedDocumentPublicationEventCommonSchema.extend({\n eventKind: z.literal(GovernedDocumentPublicationEventKind.WITHDRAWN),\n withdrawalReason: z.string().trim().min(1),\n}).superRefine(addGovernedDocumentPublicationLocatorIssue);\nexport type GovernedDocumentWithdrawnEvent = z.infer<typeof GovernedDocumentWithdrawnEventSchema>;\n\nexport const GovernedDocumentPublicationEventSchema = z.discriminatedUnion(\"eventKind\", [\n GovernedDocumentPublishedEventSchema,\n GovernedDocumentWithdrawnEventSchema,\n]);\nexport type GovernedDocumentPublicationEvent = z.infer<typeof GovernedDocumentPublicationEventSchema>;\n\n/**\n * Browser-safe immutable release projection.\n *\n * Governance scope, candidate digest, approval-decision identities and the\n * internal content-artifact ref remain in the retained release/bundle custody\n * boundary. Public consumers receive only the fields needed to route, display\n * and independently verify the published bytes and effective interval.\n */\nexport const GovernedDocumentPublicReleaseProjectionSchema = z\n .strictObject({\n schemaVersion: z.literal(1),\n identity: GovernedDocumentReleaseIdentitySchema,\n definition: GovernedDocumentDefinitionIdentitySchema,\n documentClass: z.enum(GovernedDocumentClass),\n locale: z.string().trim().min(2),\n jurisdictionRefs: z.array(GovernedDocumentRefSchema),\n contentMediaType: z.literal(GOVERNED_DOCUMENT_PUBLIC_CONTENT_MEDIA_TYPE),\n issuedAt: GovernedDocumentIsoDateTimeSchema,\n effectiveAt: GovernedDocumentIsoDateTimeSchema,\n expiresAt: GovernedDocumentIsoDateTimeSchema.optional(),\n })\n .superRefine((release, context) => {\n addUniqueSortedIssue(release.jurisdictionRefs, context, [\"jurisdictionRefs\"], \"jurisdictionRefs\");\n if (Date.parse(release.effectiveAt) < Date.parse(release.issuedAt)) {\n context.addIssue({ code: \"custom\", message: \"effectiveAt cannot precede issuance\", path: [\"effectiveAt\"] });\n }\n if (release.expiresAt && Date.parse(release.expiresAt) <= Date.parse(release.effectiveAt)) {\n context.addIssue({ code: \"custom\", message: \"expiresAt must follow effectiveAt\", path: [\"expiresAt\"] });\n }\n });\nexport type GovernedDocumentPublicReleaseProjection = z.infer<typeof GovernedDocumentPublicReleaseProjectionSchema>;\n\n/** Explicit allow-list projection from retained internal release to public release metadata. */\nexport const projectGovernedDocumentPublicRelease = (releaseInput: GovernedDocumentRelease): GovernedDocumentPublicReleaseProjection => {\n const release = GovernedDocumentReleaseSchema.parse(releaseInput);\n return GovernedDocumentPublicReleaseProjectionSchema.parse({\n schemaVersion: 1,\n identity: release.identity,\n definition: release.definition,\n documentClass: release.documentClass,\n locale: release.locale,\n jurisdictionRefs: release.jurisdictionRefs,\n contentMediaType: release.contentMediaType,\n issuedAt: release.issuedAt,\n effectiveAt: release.effectiveAt,\n ...(release.expiresAt ? { expiresAt: release.expiresAt } : {}),\n });\n};\n\n"]}
|
|
1
|
+
{"version":3,"file":"governed-documents.shared.schemas.js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,CAAC,YAAY,CAAC;IAChF,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;IAC3B,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,kCAAkC,CAAC,gBAAgB,CAAC;IACpE,yDAAyD;IACzD,WAAW,EAAE,yBAAyB;IACtC,OAAO,EAAE,mCAAmC;CAC7C,CAAC,CAAC;AAGH,iHAAiH;AACjH,MAAM,CAAC,MAAM,oCAAoC,GAAG,CAAC,CAAC,kBAAkB,CAAC,MAAM,EAAE;IAC/E,4CAA4C;IAC5C,mDAAmD;CACpD,CAAC,CAAC","sourcesContent":["import { z } from \"zod\";\n// Side-effect import: this module calls `.systemEnum()` at load, so the decorators must be installed first —\n// never by the importer's luck (#966). A named import used only as a type would be elided and install nothing.\nimport \"@wildo-ai/zod-decorators\";\n\n/**\n * What a GOVERNED DOCUMENT is: its classes, audiences, review and publication vocabulary, its\n * identities, its governance scope, its public content, and the release and publication events that\n * record it being issued and withdrawn.\n *\n * ## What this file used to also be, and why that half is gone (2026-08-28)\n *\n * Until this revision the same file carried a complete SEALED DELIVERY MACHINE beside the\n * vocabulary: public-release and deployment BUNDLES with self-referential digests, deployment\n * OBSERVATIONS carrying canonical bytes plus a detached backend signature and a rotated-key\n * `notAfter` window, publication PROOF digests, interaction RECEIPTS, byte-exact retrieval queries,\n * and a dozen `canonicalize*DigestBasis` functions feeding them. Around it sat a backend registry\n * that revalidated every digest at boot, two controllers, a CLI artifact-sync writing immutable\n * receipts, and a generated module the application loaded at startup.\n *\n * All of it is removed under `.claude/rules/one-source-of-truth.md` Rule 0 — *nothing that is not\n * branchable on git*. A digest chain cannot merge: two branches that publish different content\n * produce a merged tree whose digests belong to neither. What the machine protected — that a\n * published document is exactly the bytes somebody approved — is what git and the forge already\n * provide, per commit, mergeably, to a reviewer reading a diff.\n *\n * Two facts made the removal cheap rather than risky, and both were measured rather than assumed:\n * **no application had ever produced a bundle** (`.wildo-saas/generated/compliance/` was empty in\n * both example applications), and every read path was built on the seal, so there was no\n * non-sealed serving to preserve.\n *\n * ## What replaces it\n *\n * A read over committed files, not a custody protocol. A governed document is a FILE in the\n * application's specifications package, and a release is a record the application commits — since\n * 2026-09-12 carrying the text it publishes (`GovernedDocumentReleaseSchema.content`, #968), so the\n * commit that introduced the record is what binds a release to its words. What a public page serves\n * is `GovernedDocumentPublicDocument`: a release with its text, or the latest draft of a document\n * never released, chosen by `resolveInForcePublicDocument`. No digest, no bundle, no receipt.\n */\n\n/** Exact media type of the canonical browser-safe governed-document JSON bytes. */\nexport const GOVERNED_DOCUMENT_PUBLIC_CONTENT_MEDIA_TYPE = \"application/vnd.wildo.governed-document.public+json;version=1\";\n\nconst governedDocumentRefPattern = /^[a-z][a-z0-9]*(?:[.-][a-z0-9]+)*(?::[A-Za-z0-9][A-Za-z0-9._-]*)+$/;\nconst compareCanonicalText = (left: string, right: string): number => (left < right ? -1 : left > right ? 1 : 0);\nconst valuesAreUnique = (values: readonly string[]): boolean => new Set(values).size === values.length;\nconst valuesAreLexicallySorted = (values: readonly string[]): boolean =>\n values.every((value, index) => index === 0 || compareCanonicalText(values[index - 1]!, value) <= 0);\n\nconst addUniqueSortedIssue = (values: readonly string[], context: z.RefinementCtx, path: PropertyKey[], label: string): void => {\n if (!valuesAreUnique(values) || !valuesAreLexicallySorted(values)) {\n context.addIssue({ code: \"custom\", message: `${label} must be unique and lexically sorted`, path });\n }\n};\n\nexport const GovernedDocumentRefSchema = z.string().trim().regex(governedDocumentRefPattern).brand<\"GovernedDocumentRef\">();\nexport type GovernedDocumentRef = z.infer<typeof GovernedDocumentRefSchema>;\n\nexport const GovernedDocumentIsoDateTimeSchema = z.iso.datetime({ offset: true });\nexport const GovernedDocumentIsoDateSchema = z.iso.date();\n/** One runtime source for every governed-document version/order identity. */\nexport const GovernedDocumentPositiveSafeIntegerSchema = z.number().int().positive().max(Number.MAX_SAFE_INTEGER);\n\n/** Semantic class of governed content. The class controls review, release and interaction rules; a public label never changes it. */\nexport enum GovernedDocumentClass {\n PUBLIC_NOTICE = \"PUBLIC_NOTICE\",\n CONTRACTUAL_TERMS = \"CONTRACTUAL_TERMS\",\n GOVERNANCE_POLICY = \"GOVERNANCE_POLICY\",\n PROCEDURE_OR_RUNBOOK = \"PROCEDURE_OR_RUNBOOK\",\n PLAN = \"PLAN\",\n REGISTER = \"REGISTER\",\n REVIEW_OR_DECISION_RECORD = \"REVIEW_OR_DECISION_RECORD\",\n ASSESSMENT_OR_REPORT = \"ASSESSMENT_OR_REPORT\",\n EVIDENCE_ARTIFACT = \"EVIDENCE_ARTIFACT\",\n}\n\n/** Whose facts and authority a document may speak for. Shared responsibility is explicit rather than a flattened synthetic owner. */\nexport enum GovernedDocumentGovernanceSubjectKind {\n WILDO_PROVIDER = \"WILDO_PROVIDER\",\n APPLICATION_OPERATOR = \"APPLICATION_OPERATOR\",\n TENANT_ORGANIZATION = \"TENANT_ORGANIZATION\",\n SHARED_RESPONSIBILITY = \"SHARED_RESPONSIBILITY\",\n}\n\nexport enum GovernedDocumentAudienceKind {\n PUBLIC_GENERAL = \"PUBLIC_GENERAL\",\n BUSINESS_CUSTOMER = \"BUSINESS_CUSTOMER\",\n CONSUMER = \"CONSUMER\",\n APPLICATION_USER = \"APPLICATION_USER\",\n WORKFORCE = \"WORKFORCE\",\n TENANT_ADMINISTRATOR = \"TENANT_ADMINISTRATOR\",\n QUALIFIED_REVIEWER = \"QUALIFIED_REVIEWER\",\n}\n\nexport enum GovernedDocumentApplicabilityStatus {\n APPLICABLE = \"APPLICABLE\",\n NOT_APPLICABLE = \"NOT_APPLICABLE\",\n DEFERRED = \"DEFERRED\",\n}\n\nexport enum GovernedDocumentFactResolutionStatus {\n KNOWN = \"KNOWN\",\n MISSING = \"MISSING\",\n CONFLICTING = \"CONFLICTING\",\n STALE = \"STALE\",\n NOT_APPLICABLE = \"NOT_APPLICABLE\",\n}\n\nexport enum GovernedDocumentCandidateStatus {\n DRAFT = \"DRAFT\",\n BLOCKED = \"BLOCKED\",\n READY_FOR_REVIEW = \"READY_FOR_REVIEW\",\n SUPERSEDED = \"SUPERSEDED\",\n}\n\nexport enum GovernedDocumentReviewKind {\n CONTENT = \"CONTENT\",\n TECHNICAL = \"TECHNICAL\",\n PRIVACY = \"PRIVACY\",\n SECURITY = \"SECURITY\",\n LEGAL = \"LEGAL\",\n BUSINESS = \"BUSINESS\",\n INDEPENDENT_ASSESSMENT = \"INDEPENDENT_ASSESSMENT\",\n}\n\nexport enum GovernedDocumentReviewDecisionKind {\n APPROVED = \"APPROVED\",\n CHANGES_REQUIRED = \"CHANGES_REQUIRED\",\n REJECTED = \"REJECTED\",\n CONFLICT = \"CONFLICT\",\n}\n\nexport enum GovernedDocumentPublicationChannelKind {\n PUBLIC_WEB = \"PUBLIC_WEB\",\n AUTHENTICATED_WEB = \"AUTHENTICATED_WEB\",\n DURABLE_DOWNLOAD = \"DURABLE_DOWNLOAD\",\n DIRECT_DELIVERY = \"DIRECT_DELIVERY\",\n GOVERNANCE_REPOSITORY = \"GOVERNANCE_REPOSITORY\",\n}\n\nexport enum GovernedDocumentPublicationEventKind {\n PUBLISHED = \"PUBLISHED\",\n WITHDRAWN = \"WITHDRAWN\",\n}\n\n/** Distinct legal/user interactions. A notice interaction, contract acceptance and consent decision are never aliases. */\nexport enum GovernedDocumentInteractionKind {\n NOTICE_DELIVERED = \"NOTICE_DELIVERED\",\n NOTICE_ACKNOWLEDGED = \"NOTICE_ACKNOWLEDGED\",\n CONTRACT_ACCEPTED = \"CONTRACT_ACCEPTED\",\n CONSENT_GIVEN = \"CONSENT_GIVEN\",\n CONSENT_WITHDRAWN = \"CONSENT_WITHDRAWN\",\n}\n\n/** @wildo_source:part:start saas.models.governed-document-acceptance-mode facet:layer:shared facet:audience:app-developer */\n/**\n * HOW an application asks a registrant to accept the documents it requires accepting — the three\n * shapes courts actually distinguish, declared once per application (#1258).\n *\n * Declared on `compliance.governedDocumentAcceptanceMode` in the application's own\n * `backend-api/src/saas-config.backend.ts`, beside `governedDocumentReleases` and `publicDocuments`.\n *\n * It is a RENDERING posture, not a server-side gate. The backend records whichever accepted release\n * ids a registration carries and does not know which mode produced them, so a client that does not\n * use the form is bound by none of the three. That is the honest scope: what the mode decides is how\n * strong a notice a person is given and what the form withholds until they act — the things a\n * registration screen can actually control.\n *\n * ## Why this is a declared CHOICE rather than one shipped behaviour\n *\n * Registration shipped with exactly one shape — an unticked box gating the submit button — and no\n * way to ask for another. That is the strongest of the three and it is the right DEFAULT, but it is\n * not the right answer for every application: a product whose terms are a one-paragraph acceptable-use\n * statement and a product whose terms carry an arbitration clause are not asking the same thing of the\n * same person, and the framework should let each say which it is asking.\n *\n * ## The enforceability ladder, which is what the members are ordered by\n *\n * Enforceability turns on whether the person had REASONABLE NOTICE of the terms and took an action\n * MANIFESTING ASSENT to them. Clickwrap — an affirmative act aimed at the terms themselves — is the\n * shape courts uphold most consistently; sign-in-wrap, where the act is the registration and the\n * notice sits beside it, is upheld when the notice is conspicuous and fails when it is buried;\n * browsewrap, where nothing but a footer link exists, is the shape that routinely fails. This\n * vocabulary offers the first two and does NOT offer the third, because an application that asks for\n * nothing is already representable by declaring no release that permits `CONTRACT_ACCEPTED`.\n *\n * (Drawn from the settled shape of US and EU practice on online contract formation, not from a single\n * cited authority. Not legal advice — an operator's counsel decides which their terms warrant.)\n *\n * ## Every member DOES something, deliberately\n *\n * Each one changes what the registration form renders and what it refuses. A member that only named a\n * posture without changing behaviour is the defect removed from this lane one commit earlier, when a\n * stored privacy-level field was deleted for meaning nothing at any call site.\n */\nexport enum GovernedDocumentAcceptanceMode {\n /**\n * SIGN-IN-WRAP — \"by registering you agree to our terms and privacy policy\", beside the button.\n *\n * No checkbox and no separate act: submitting the registration IS the act of assent, so the\n * accepted release ids still travel with it and the interaction is still recorded. What changes is\n * that nothing is withheld — the button is available from the first keystroke.\n *\n * The notice is rendered immediately above the submit control rather than in a footer, because\n * conspicuousness is the whole of what distinguishes this from the browsewrap shape that fails.\n */\n IMPLIED_BY_REGISTERING = \"IMPLIED_BY_REGISTERING\",\n /**\n * CLICKWRAP — an unticked box the person ticks, with the submit control unavailable until they do.\n *\n * The DEFAULT, and the framework default may not silently weaken: an application that declared\n * nothing shipped this behaviour before the vocabulary existed, and must keep shipping it.\n *\n * The box is never pre-ticked. A pre-ticked box is not an affirmative act, so it undermines the one\n * property this mode exists to provide — the same reason the consent gate's own optional purposes\n * start unticked.\n */\n EXPLICIT_CHECKBOX = \"EXPLICIT_CHECKBOX\",\n /**\n * CLICKWRAP WITH A READING GATE — the document is shown, and the box cannot be ticked until the\n * reader has scrolled to the end of it.\n *\n * The strongest available notice: the terms are not merely linked, they are placed in front of the\n * person and the affirmative act is unavailable until they have passed over all of them.\n *\n * Two things it deliberately does NOT claim. It does not claim the person READ the document — no\n * mechanism can — only that the text was presented in full and the act came after. And it does not\n * replace the public document page: the pane shows the same content that page serves, and links to\n * it, because the page is where the document is rendered with its own typography.\n */\n EXPLICIT_AFTER_READING = \"EXPLICIT_AFTER_READING\",\n}\n\n/**\n * Does this mode require a SEPARATE affirmative act before the registration may be submitted?\n *\n * Two readers, one answer: the form disables its submit control on it, and the same form decides on\n * it whether the accepted release ids travel with the request. Those had to agree — a submit the\n * person could press without the ids being sent records nothing while reporting success — so the\n * predicate is named once here rather than spelled twice at the two call sites.\n *\n * Written as \"anything but implied\" deliberately: a fourth mode added tomorrow is treated as needing\n * the act until somebody says otherwise, which is the direction that fails safe. The inverse spelling\n * ({@link GovernedDocumentAcceptanceMode.EXPLICIT_CHECKBOX} or `EXPLICIT_AFTER_READING`) would let a\n * new member fall through to \"registering is enough\" silently.\n */\nexport const governedDocumentAcceptanceRequiresExplicitAct = (mode: GovernedDocumentAcceptanceMode): boolean =>\n mode !== GovernedDocumentAcceptanceMode.IMPLIED_BY_REGISTERING;\n\n/**\n * Must the document be placed in front of the reader, and the affirmative act withheld until they\n * have passed over all of it?\n *\n * Named rather than compared inline for the same reason as its sibling, and spelled the other way\n * round for the same fail-safe reason read in the other direction: a new mode does NOT acquire a\n * reading gate nobody asked for.\n */\nexport const governedDocumentAcceptanceRequiresReading = (mode: GovernedDocumentAcceptanceMode): boolean =>\n mode === GovernedDocumentAcceptanceMode.EXPLICIT_AFTER_READING;\n/** @wildo_source:part:end saas.models.governed-document-acceptance-mode */\n\nexport enum GovernedDocumentChangeAction {\n NO_PUBLIC_ACTION = \"NO_PUBLIC_ACTION\",\n REVISE_CANDIDATE = \"REVISE_CANDIDATE\",\n REPUBLISH = \"REPUBLISH\",\n NOTIFY = \"NOTIFY\",\n REQUEST_REACKNOWLEDGEMENT = \"REQUEST_REACKNOWLEDGEMENT\",\n REQUEST_REACCEPTANCE = \"REQUEST_REACCEPTANCE\",\n WITHDRAW = \"WITHDRAW\",\n ESCALATE_FOR_QUALIFIED_REVIEW = \"ESCALATE_FOR_QUALIFIED_REVIEW\",\n}\n\nexport const GovernedDocumentDefinitionIdentitySchema = z.strictObject({\n definitionRef: GovernedDocumentRefSchema,\n definitionVersion: GovernedDocumentPositiveSafeIntegerSchema,\n});\nexport type GovernedDocumentDefinitionIdentity = z.infer<typeof GovernedDocumentDefinitionIdentitySchema>;\n\nexport const GovernedDocumentIdentitySchema = z.strictObject({\n documentRef: GovernedDocumentRefSchema,\n documentVersion: GovernedDocumentPositiveSafeIntegerSchema,\n});\nexport type GovernedDocumentIdentity = z.infer<typeof GovernedDocumentIdentitySchema>;\n\nexport const GovernedDocumentReleaseIdentitySchema = z.strictObject({\n document: GovernedDocumentIdentitySchema,\n releaseId: GovernedDocumentRefSchema,\n releaseVersion: GovernedDocumentPositiveSafeIntegerSchema,\n});\nexport type GovernedDocumentReleaseIdentity = z.infer<typeof GovernedDocumentReleaseIdentitySchema>;\n\nexport const governedDocumentReleaseIdentityKey = (identity: GovernedDocumentReleaseIdentity): string =>\n `${identity.document.documentRef}@${identity.document.documentVersion}:${identity.releaseId}@${identity.releaseVersion}`;\n\n/** Exact immutable approval-decision identity retained by an issued release without exposing private review content publicly. */\nexport const GovernedDocumentApprovalDecisionIdentitySchema = z.strictObject({\n decisionRef: GovernedDocumentRefSchema,\n decisionVersion: GovernedDocumentPositiveSafeIntegerSchema,\n});\nexport type GovernedDocumentApprovalDecisionIdentity = z.infer<typeof GovernedDocumentApprovalDecisionIdentitySchema>;\n\n/**\n * Whether a release has been APPROVED yet — and it is a MARK, never a gate on producing one.\n *\n * Wildo is agent-first: the mechanism composes the artifact and says what is true about it. Approval\n * is a workflow act that happens at the END, so requiring it in order to compose a release would put\n * a compliance workflow in front of the application-creation mechanism — which is the one thing that\n * must never block. `approvalDecisions` was `.min(1)` until 2026-09-11, and that single constraint\n * meant an unapproved release could not be REPRESENTED at all: an application either forged an\n * approval identity or had no release, and the honest third answer did not exist.\n *\n * What replaces the refusal is this field. A release always exists and always states its own\n * standing, so nothing downstream has to infer it and nothing can mistake a draft for a published\n * document. Arming the gate that actually withholds an UNAPPROVED release from a real reader belongs\n * to Gate 3 (\"an application may face a real user\"), per `one-source-of-truth.md` D5: critical gate\n * points stay MARKED in every mechanism so they can be switched on when the posture changes.\n */\nexport enum GovernedDocumentReleaseApprovalState {\n /** At least one approval decision is retained. The release may be served as a published document. */\n APPROVED = \"APPROVED\",\n /**\n * Composed, coherent, and NOT approved.\n *\n * A true record of a real draft — not a defect and not a placeholder. It is what an application\n * holds between drafting and approval, which for most of its life is where it is.\n */\n UNAPPROVED = \"UNAPPROVED\",\n}\n\n/**\n * Exact private materiality-decision identity retained when one release\n * replaces another. The full decision and authority evidence remain in\n * application-creation custody; this identity makes the replacement and any\n * required renewed interaction causally auditable without exposing the\n * decision publicly.\n */\nexport const GovernedDocumentMaterialityDecisionIdentitySchema = z\n .strictObject({\n decisionRef: GovernedDocumentRefSchema,\n decisionVersion: GovernedDocumentPositiveSafeIntegerSchema,\n previousRelease: GovernedDocumentReleaseIdentitySchema,\n requiredInteractionKinds: z.array(z.enum(GovernedDocumentInteractionKind)),\n })\n .superRefine((decision, context) => {\n addUniqueSortedIssue(decision.requiredInteractionKinds, context, [\"requiredInteractionKinds\"], \"requiredInteractionKinds\");\n });\nexport type GovernedDocumentMaterialityDecisionIdentity = z.infer<typeof GovernedDocumentMaterialityDecisionIdentitySchema>;\n\n/** Exact immutable reviewer-authority grant selected by a review decision. */\nexport const GovernedDocumentReviewerAuthorityIdentitySchema = z.strictObject({\n authorityRef: GovernedDocumentRefSchema,\n authorityVersion: GovernedDocumentPositiveSafeIntegerSchema,\n});\nexport type GovernedDocumentReviewerAuthorityIdentity = z.infer<typeof GovernedDocumentReviewerAuthorityIdentitySchema>;\n\n/** Exact immutable authority identity selected for a document materiality decision; never interchangeable with candidate-review authority. */\nexport const GovernedDocumentMaterialityAuthorityIdentitySchema = z.strictObject({\n authorityRef: GovernedDocumentRefSchema,\n authorityVersion: GovernedDocumentPositiveSafeIntegerSchema,\n});\nexport type GovernedDocumentMaterialityAuthorityIdentity = z.infer<typeof GovernedDocumentMaterialityAuthorityIdentitySchema>;\n\n/**\n * Exact ownership boundary for one governed document.\n *\n * Shared-responsibility output must retain at least two attributed parties and an explicit precedence rule. A single-subject output must not carry those shared-only\n * fields, preventing provider, operator and tenant statements from being silently flattened into one voice.\n */\nexport const GovernedDocumentGovernanceScopeSchema = z\n .strictObject({\n // Declared so any surface wording this scope reads the one authored vocabulary (#966).\n subjectKind: z.enum(GovernedDocumentGovernanceSubjectKind).systemEnum(\"GovernedDocumentGovernanceSubjectKind\"),\n subjectRef: GovernedDocumentRefSchema,\n scopeRef: GovernedDocumentRefSchema,\n scopeVersion: GovernedDocumentPositiveSafeIntegerSchema,\n participantRefs: z.array(GovernedDocumentRefSchema),\n precedenceRuleRefs: z.array(GovernedDocumentRefSchema),\n })\n .superRefine((scope, context) => {\n addUniqueSortedIssue(scope.participantRefs, context, [\"participantRefs\"], \"participantRefs\");\n addUniqueSortedIssue(scope.precedenceRuleRefs, context, [\"precedenceRuleRefs\"], \"precedenceRuleRefs\");\n if (scope.subjectKind === GovernedDocumentGovernanceSubjectKind.SHARED_RESPONSIBILITY) {\n if (scope.participantRefs.length < 2) {\n context.addIssue({ code: \"custom\", message: \"shared responsibility requires at least two attributed participants\", path: [\"participantRefs\"] });\n }\n if (scope.precedenceRuleRefs.length === 0) {\n context.addIssue({ code: \"custom\", message: \"shared responsibility requires an explicit precedence rule\", path: [\"precedenceRuleRefs\"] });\n }\n } else if (scope.participantRefs.length > 0 || scope.precedenceRuleRefs.length > 0) {\n context.addIssue({\n code: \"custom\",\n message: \"single-subject governance cannot carry shared-responsibility participants or precedence rules\",\n path: [\"participantRefs\"],\n });\n }\n });\nexport type GovernedDocumentGovernanceScope = z.infer<typeof GovernedDocumentGovernanceScopeSchema>;\n\n/**\n * Whether a published clause states something the application has ESTABLISHED — the one fact about a\n * draft's completeness a READER is owed.\n *\n * It is the public projection of the candidate's `ComplianceStatementCompleteness`\n * (`@wildo-ai/saas-specifications`): `DERIVED` becomes `ESTABLISHED`, and each of the three `NEEDS_*`\n * members becomes `NOT_YET_ESTABLISHED`. Coarser ON PURPOSE, the way the public release projection\n * withholds `governanceScope`: which party closes a gap (a framework change, an operator decision, an\n * application configuration) and how (`closedBy` — issue refs, owners) is the publisher's custody.\n * What a person reading the document is owed is that this statement is not yet established, and what\n * is missing.\n *\n * Decided 2026-09-12 (wildo-ai/wildo-ai#968): an unestablished clause is MARKED on the page. Omitting it\n * would narrow the document (#454 rejects that), and refusing the whole document would put a workflow\n * fact in front of the page. Projecting it as plain text would state as settled what the drafter wrote\n * down as unsettled.\n */\nexport enum GovernedDocumentPublicClauseStanding {\n ESTABLISHED = \"ESTABLISHED\",\n NOT_YET_ESTABLISHED = \"NOT_YET_ESTABLISHED\",\n}\n\n/**\n * Browser-safe public projection of governed document content.\n *\n * Internal fact, authority, source-policy and review evidence stays in the\n * candidate/release records. Public routes render this exact projection as\n * text; `bodyMarkdown` is never trusted as raw HTML.\n *\n * Carried `clauseVersion` (and its section `sectionVersion`) until 2026-09-12 (#968). Nothing read\n * either, no draft carries one, and a clause's revision history is the commits that changed it — so a\n * required integer here could only be stamped, which would assert a history nothing tracks.\n */\nexport const GovernedDocumentPublicClauseSchema = z\n .strictObject({\n clauseRef: GovernedDocumentRefSchema,\n order: GovernedDocumentPositiveSafeIntegerSchema,\n bodyMarkdown: z.string().trim().min(1),\n standing: z.enum(GovernedDocumentPublicClauseStanding),\n /**\n * What is missing, in the reader's terms — the drafter's own `needs` text. Present exactly when the\n * clause is `NOT_YET_ESTABLISHED`: a marked clause that does not say what it lacks tells a reader\n * nothing they can use, and an established clause carrying one would contradict itself.\n */\n missingInformation: z.string().trim().min(1).optional(),\n })\n .superRefine((clause, context) => {\n const marked = clause.standing === GovernedDocumentPublicClauseStanding.NOT_YET_ESTABLISHED;\n if (marked && clause.missingInformation === undefined) {\n context.addIssue({ code: \"custom\", message: \"a clause that is not yet established must say what is missing\", path: [\"missingInformation\"] });\n }\n if (!marked && clause.missingInformation !== undefined) {\n context.addIssue({ code: \"custom\", message: \"an established clause cannot carry missing information\", path: [\"missingInformation\"] });\n }\n });\nexport type GovernedDocumentPublicClause = z.infer<typeof GovernedDocumentPublicClauseSchema>;\n\nexport const GovernedDocumentPublicSectionSchema = z\n .strictObject({\n sectionRef: GovernedDocumentRefSchema,\n order: GovernedDocumentPositiveSafeIntegerSchema,\n title: z.string().trim().min(1),\n clauses: z.array(GovernedDocumentPublicClauseSchema).min(1),\n })\n .superRefine((section, context) => {\n if (!valuesAreUnique(section.clauses.map((clause) => clause.clauseRef))) {\n context.addIssue({ code: \"custom\", message: \"public document clause references must be unique\", path: [\"clauses\"] });\n }\n section.clauses.forEach((clause, index) => {\n if (clause.order !== index + 1) {\n context.addIssue({\n code: \"custom\",\n message: \"public document clause order must be contiguous and match array order\",\n path: [\"clauses\", index, \"order\"],\n });\n }\n });\n });\nexport type GovernedDocumentPublicSection = z.infer<typeof GovernedDocumentPublicSectionSchema>;\n\nexport const GovernedDocumentPublicContentSchema = z\n .strictObject({\n schemaVersion: z.literal(1),\n title: z.string().trim().min(1),\n locale: z.string().trim().min(2),\n jurisdictionRefs: z.array(GovernedDocumentRefSchema),\n sections: z.array(GovernedDocumentPublicSectionSchema).min(1),\n })\n .superRefine((content, context) => {\n addUniqueSortedIssue(content.jurisdictionRefs, context, [\"jurisdictionRefs\"], \"jurisdictionRefs\");\n if (!valuesAreUnique(content.sections.map((section) => section.sectionRef))) {\n context.addIssue({ code: \"custom\", message: \"public document section references must be unique\", path: [\"sections\"] });\n }\n content.sections.forEach((section, index) => {\n if (section.order !== index + 1) {\n context.addIssue({\n code: \"custom\",\n message: \"public document section order must be contiguous and match array order\",\n path: [\"sections\", index, \"order\"],\n });\n }\n });\n });\nexport type GovernedDocumentPublicContent = z.infer<typeof GovernedDocumentPublicContentSchema>;\n\n/**\n * Content-branch-neutral immutable release metadata.\n *\n * Historical public releases and current internal structured releases add\n * their own explicit schema/content discriminators to this shared invariant\n * basis. Consumers must select one complete branch rather than accepting this\n * common shape directly.\n */\nexport const GovernedDocumentReleaseCommonSchema = z\n .strictObject({\n identity: GovernedDocumentReleaseIdentitySchema,\n definition: GovernedDocumentDefinitionIdentitySchema,\n governanceScope: GovernedDocumentGovernanceScopeSchema,\n documentClass: z.enum(GovernedDocumentClass),\n audienceKinds: z.array(z.enum(GovernedDocumentAudienceKind)).min(1),\n publicationChannelKinds: z.array(z.enum(GovernedDocumentPublicationChannelKind)).min(1),\n allowedInteractionKinds: z.array(z.enum(GovernedDocumentInteractionKind)),\n locale: z.string().trim().min(2),\n jurisdictionRefs: z.array(GovernedDocumentRefSchema),\n /*\n * The content's MEDIA TYPE. The content itself is carried by `GovernedDocumentReleaseSchema.content`.\n *\n * It carried `candidateDigest`, `contentDigest` and `contentArtifactRef` until 2026-08-28 — a\n * seal binding the release to exact bytes in a content-addressed store. The store and the\n * verifier are gone with the rest of the digest machinery and are not coming back: since\n * 2026-09-12 (#968) the release holds its published text directly, and the commit that\n * introduced the release record is what a reader audits.\n */\n contentMediaType: z.string().trim().min(1),\n issuedAt: GovernedDocumentIsoDateTimeSchema,\n effectiveAt: GovernedDocumentIsoDateTimeSchema,\n expiresAt: GovernedDocumentIsoDateTimeSchema.optional(),\n /**\n * NOT `.min(1)`: see {@link GovernedDocumentReleaseApprovalState}. An unapproved release carries\n * none, and says so in `approvalState` rather than being unrepresentable.\n */\n approvalDecisions: z.array(GovernedDocumentApprovalDecisionIdentitySchema),\n approvalState: z.enum(GovernedDocumentReleaseApprovalState),\n replacesRelease: GovernedDocumentReleaseIdentitySchema.optional(),\n materialityDecision: GovernedDocumentMaterialityDecisionIdentitySchema.optional(),\n })\n .superRefine((release, context) => {\n addUniqueSortedIssue(release.audienceKinds, context, [\"audienceKinds\"], \"audienceKinds\");\n addUniqueSortedIssue(release.publicationChannelKinds, context, [\"publicationChannelKinds\"], \"publicationChannelKinds\");\n addUniqueSortedIssue(release.allowedInteractionKinds, context, [\"allowedInteractionKinds\"], \"allowedInteractionKinds\");\n addUniqueSortedIssue(release.jurisdictionRefs, context, [\"jurisdictionRefs\"], \"jurisdictionRefs\");\n addUniqueSortedIssue(\n release.approvalDecisions.map((decision) => `${decision.decisionRef}@${decision.decisionVersion}`),\n context,\n [\"approvalDecisions\"],\n \"approvalDecisions\",\n );\n /*\n * The state and the evidence must agree. APPROVED with nothing retained would be a claim with no\n * basis; UNAPPROVED while holding decisions would hide an approval that happened. Neither is a\n * workflow gate — both are the record contradicting itself.\n */\n if (release.approvalState === GovernedDocumentReleaseApprovalState.APPROVED && release.approvalDecisions.length === 0) {\n context.addIssue({ code: \"custom\", message: \"an APPROVED release must retain at least one approval decision\", path: [\"approvalDecisions\"] });\n }\n if (release.approvalState === GovernedDocumentReleaseApprovalState.UNAPPROVED && release.approvalDecisions.length > 0) {\n context.addIssue({ code: \"custom\", message: \"an UNAPPROVED release must retain no approval decision\", path: [\"approvalDecisions\"] });\n }\n if (Date.parse(release.effectiveAt) < Date.parse(release.issuedAt)) {\n context.addIssue({ code: \"custom\", message: \"effectiveAt cannot precede issuedAt\", path: [\"effectiveAt\"] });\n }\n if (release.expiresAt && Date.parse(release.expiresAt) <= Date.parse(release.effectiveAt)) {\n context.addIssue({ code: \"custom\", message: \"expiresAt must follow effectiveAt\", path: [\"expiresAt\"] });\n }\n if (\n release.replacesRelease &&\n release.replacesRelease.document.documentRef === release.identity.document.documentRef &&\n release.replacesRelease.releaseId === release.identity.releaseId &&\n release.replacesRelease.releaseVersion === release.identity.releaseVersion\n ) {\n context.addIssue({ code: \"custom\", message: \"a release cannot replace itself\", path: [\"replacesRelease\"] });\n }\n if (release.replacesRelease && release.replacesRelease.document.documentRef !== release.identity.document.documentRef) {\n context.addIssue({ code: \"custom\", message: \"a release can replace only a prior release of the same governed document\", path: [\"replacesRelease\"] });\n }\n if ((release.replacesRelease === undefined) !== (release.materialityDecision === undefined)) {\n context.addIssue({\n code: \"custom\",\n message: \"replacement release identity and exact materiality decision must be present together\",\n path: [\"materialityDecision\"],\n });\n }\n if (\n release.replacesRelease &&\n release.materialityDecision &&\n governedDocumentReleaseIdentityKey(release.replacesRelease) !== governedDocumentReleaseIdentityKey(release.materialityDecision.previousRelease)\n ) {\n context.addIssue({\n code: \"custom\",\n message: \"materiality decision must bind the exact release being replaced\",\n path: [\"materialityDecision\", \"previousRelease\"],\n });\n }\n if (release.materialityDecision?.requiredInteractionKinds.some((interactionKind) => !release.allowedInteractionKinds.includes(interactionKind))) {\n context.addIssue({\n code: \"custom\",\n message: \"required renewed interactions must be authorized by the replacement release\",\n path: [\"materialityDecision\", \"requiredInteractionKinds\"],\n });\n }\n });\n\n/**\n * An issued release — and, since 2026-09-12, the TEXT it publishes (wildo-ai/wildo-ai#968).\n *\n * ## Why the release carries its content\n *\n * A release says which drafted content takes effect, and until #968 it could not say WHICH text: the\n * sealed content binding went with the digest machinery on 2026-08-28, leaving only \"the commit that\n * introduced both the release and its content file\". But a draft keeps changing after it is released,\n * so pairing a release with \"the draft of the same document\" at read time shows every release — the\n * one in force, the one it superseded, the one scheduled next — the SAME, current text. Two releases\n * of one document could not differ at all.\n *\n * So the release holds its own published text, captured when it is composed. Retrieving \"release N of\n * a document\" is one read. Intermediate drafts are NOT kept here — their history is the commits that\n * changed the draft — and neither is anything the public projection withholds: `content` is already\n * the browser-safe shape (no fact refs, no source policies, no `closedBy`).\n *\n * ## The text is only frozen if the RECORD is\n *\n * This field makes the binding representable; committing the record as data is what keeps it. An\n * application that recomposes its releases from the live draft on every import would carry today's\n * draft in every release, which is the defect above one layer later.\n *\n * ## What it refuses\n *\n * Content in a language or for jurisdictions the release does not name: publishing `fr-FR` text under\n * an `en-GB` release is a false legal statement, the same lie `GovernedDocumentPublicDocumentSchema`\n * refuses.\n */\nexport const GovernedDocumentReleaseSchema = GovernedDocumentReleaseCommonSchema.safeExtend({\n schemaVersion: z.literal(1),\n content: GovernedDocumentPublicContentSchema,\n /*\n * Pinned, because it now names the shape of `content` rather than an external rendering: a release\n * whose text is the structured public JSON and whose media type said `text/html` would contradict\n * itself, and the public projection already accepts nothing else.\n */\n contentMediaType: z.literal(GOVERNED_DOCUMENT_PUBLIC_CONTENT_MEDIA_TYPE),\n}).superRefine((release, context) => {\n if (release.content.locale !== release.locale) {\n context.addIssue({ code: \"custom\", message: \"release content locale must match the release\", path: [\"content\", \"locale\"] });\n }\n if (release.content.jurisdictionRefs.join(\"\\u0000\") !== release.jurisdictionRefs.join(\"\\u0000\")) {\n context.addIssue({ code: \"custom\", message: \"release content jurisdictions must match the release\", path: [\"content\", \"jurisdictionRefs\"] });\n }\n});\nexport type GovernedDocumentRelease = z.infer<typeof GovernedDocumentReleaseSchema>;\n\n/**\n * The governed documents an application SERVES as public pages, named once for every layer.\n *\n * These two live HERE, in the shared wire layer, and not with their four governance siblings in\n * `saas-specifications/_core/compliance-documents` — because these are the only two a BROWSER has\n * to name. `AppRouter` mounts `/privacy` and `/terms` and must say which document each serves, and\n * `saas-frontend-lib` neither depends on `saas-specifications` nor should: that is the design-time\n * layer. The alternative was a second copy of two strings in the router, which is exactly the\n * closed-vocabulary-with-no-named-source shape `CLAUDE.md` refuses.\n *\n * `required-document-set.schemas.ts` imports them rather than re-declaring them, so the composer\n * and the page agree about which document they are talking about by construction.\n */\nexport const PUBLIC_GOVERNED_DOCUMENT_REFS = Object.freeze({\n PRIVACY_NOTICE: \"document:public.privacy-notice\",\n SERVICE_TERMS: \"document:public.service-terms\",\n} as const);\nexport type PublicGovernedDocumentRefName = keyof typeof PUBLIC_GOVERNED_DOCUMENT_REFS;\n\n/**\n * Which public page serves which governed document — the pairing every surface that links to one needs.\n *\n * TOTAL over {@link PUBLIC_GOVERNED_DOCUMENT_REFS} by its type, so a third public document added to\n * that vocabulary is a compile error here rather than a document with no page. A hand-kept list of\n * pairings is the thing that rots; a total over the vocabulary is the thing that cannot.\n *\n * ## Why the PATH lives here and not with the frontend's other routes\n *\n * The same reason the refs beside it do, and it took a SECOND reader to make it obvious. `AppRouter`\n * MOUNTS these paths; the consent panel LINKS to the privacy notice from `presets-components`, and\n * the registration form links to each required document from `saas-frontend-lib`. Only the router can\n * reach that package's internal route module, so the panel would have hard-coded a copy — the\n * closed-vocabulary-with-no-named-source shape `CLAUDE.md` refuses, and a copy nothing renders is the\n * one that drifts. `CommonRoutePaths.privacy` / `.terms` are derived from this, so the router still\n * spells its routes in one place and that place agrees with the links.\n *\n * A MARKETING WEBSITE is deliberately NOT one of the readers, although an earlier version of this\n * note claimed it was. `saas-website` may import only `@wildo-ai/saas-models/public-runtime` under\n * bundle discipline, and this is not exported there — so the claim named a reader that could not\n * reach it. If a website ever needs these paths, carve them into `public-runtime` through the K-2\n * protocol rather than restoring the sentence.\n */\nexport const PUBLIC_GOVERNED_DOCUMENT_ROUTE_PATHS: Readonly<Record<(typeof PUBLIC_GOVERNED_DOCUMENT_REFS)[PublicGovernedDocumentRefName], string>> =\n Object.freeze({\n [PUBLIC_GOVERNED_DOCUMENT_REFS.PRIVACY_NOTICE]: \"/privacy\",\n [PUBLIC_GOVERNED_DOCUMENT_REFS.SERVICE_TERMS]: \"/terms\",\n });\n\n/**\n * The page serving this document, or `undefined` when it has none.\n *\n * A governed document an application requires acceptance of need NOT be one of the two public pages\n * — an application may require a data-processing agreement served elsewhere entirely — so a caller\n * gets `undefined` and omits the link rather than being handed a route that leads nowhere.\n */\nexport const resolvePublicGovernedDocumentRoutePath = (documentRef: string): string | undefined =>\n (PUBLIC_GOVERNED_DOCUMENT_ROUTE_PATHS as Record<string, string | undefined>)[documentRef];\n\n/** Locator kind is explicit so a channel cannot reinterpret an arbitrary string. */\nexport enum GovernedDocumentPublicationLocatorKind {\n WEB_URL = \"WEB_URL\",\n RECORD_REF = \"RECORD_REF\",\n}\n\nexport const GovernedDocumentPublicationWebLocatorSchema = z.strictObject({\n kind: z.literal(GovernedDocumentPublicationLocatorKind.WEB_URL),\n url: z.url().refine((value) => new URL(value).protocol === \"https:\", \"published web locations require HTTPS\"),\n});\nexport const GovernedDocumentPublicationRecordLocatorSchema = z.strictObject({\n kind: z.literal(GovernedDocumentPublicationLocatorKind.RECORD_REF),\n recordRef: GovernedDocumentRefSchema,\n});\nexport const GovernedDocumentPublicationLocatorSchema = z.discriminatedUnion(\"kind\", [\n GovernedDocumentPublicationWebLocatorSchema,\n GovernedDocumentPublicationRecordLocatorSchema,\n]);\nexport type GovernedDocumentPublicationLocator = z.infer<typeof GovernedDocumentPublicationLocatorSchema>;\n\nconst GovernedDocumentPublicationEventCommonSchema = z.strictObject({\n schemaVersion: z.literal(1),\n eventRef: GovernedDocumentRefSchema,\n release: GovernedDocumentReleaseIdentitySchema,\n channel: z.enum(GovernedDocumentPublicationChannelKind),\n occurredAt: GovernedDocumentIsoDateTimeSchema,\n publicationLocator: GovernedDocumentPublicationLocatorSchema,\n});\n\nconst addGovernedDocumentPublicationLocatorIssue = (\n event: { readonly channel: GovernedDocumentPublicationChannelKind; readonly publicationLocator?: GovernedDocumentPublicationLocator },\n context: z.RefinementCtx,\n): void => {\n // Zod invokes refinements over its input shape, where a required nested\n // object may still be absent before the base object reports that issue.\n // Leave requiredness to the property schema and validate channel semantics\n // only once a locator has successfully parsed.\n if (!event.publicationLocator) return;\n const requiresWebUrl =\n event.channel === GovernedDocumentPublicationChannelKind.PUBLIC_WEB || event.channel === GovernedDocumentPublicationChannelKind.AUTHENTICATED_WEB;\n if (requiresWebUrl !== (event.publicationLocator.kind === GovernedDocumentPublicationLocatorKind.WEB_URL)) {\n context.addIssue({\n code: \"custom\",\n message: requiresWebUrl ? \"web publication channels require an HTTPS locator\" : \"non-web publication channels require a durable record reference\",\n path: [\"publicationLocator\"],\n });\n }\n};\n\nexport const GovernedDocumentPublishedEventSchema = GovernedDocumentPublicationEventCommonSchema.extend({\n eventKind: z.literal(GovernedDocumentPublicationEventKind.PUBLISHED),\n /*\n * It carried `servedContentDigest`, `exactByteProofDigest` and an optional `deploymentObservation`\n * — the latter a signed record of bytes read back from a deployed bundle — until 2026-08-28. The\n * event's own JSDoc called the observation the difference between \"evidence of deployed bytes\" and\n * \"a self-assertion over custody\", which was a fair description of a machine that had never once\n * run. A publication is now what it says it is: this release, on this channel, at this locator, at\n * this time — recorded in a file, in a commit, which a reviewer can read.\n */\n}).superRefine(addGovernedDocumentPublicationLocatorIssue);\nexport type GovernedDocumentPublishedEvent = z.infer<typeof GovernedDocumentPublishedEventSchema>;\n\nexport const GovernedDocumentWithdrawnEventSchema = GovernedDocumentPublicationEventCommonSchema.extend({\n eventKind: z.literal(GovernedDocumentPublicationEventKind.WITHDRAWN),\n withdrawalReason: z.string().trim().min(1),\n}).superRefine(addGovernedDocumentPublicationLocatorIssue);\nexport type GovernedDocumentWithdrawnEvent = z.infer<typeof GovernedDocumentWithdrawnEventSchema>;\n\nexport const GovernedDocumentPublicationEventSchema = z.discriminatedUnion(\"eventKind\", [\n GovernedDocumentPublishedEventSchema,\n GovernedDocumentWithdrawnEventSchema,\n]);\nexport type GovernedDocumentPublicationEvent = z.infer<typeof GovernedDocumentPublicationEventSchema>;\n\n/**\n * Browser-safe immutable release projection.\n *\n * Governance scope, candidate digest, approval-decision identities and the\n * internal content-artifact ref remain in the retained release/bundle custody\n * boundary. Public consumers receive only the fields needed to route, display\n * and independently verify the published bytes and effective interval.\n */\nexport const GovernedDocumentPublicReleaseProjectionSchema = z\n .strictObject({\n schemaVersion: z.literal(1),\n identity: GovernedDocumentReleaseIdentitySchema,\n definition: GovernedDocumentDefinitionIdentitySchema,\n documentClass: z.enum(GovernedDocumentClass),\n locale: z.string().trim().min(2),\n jurisdictionRefs: z.array(GovernedDocumentRefSchema),\n contentMediaType: z.literal(GOVERNED_DOCUMENT_PUBLIC_CONTENT_MEDIA_TYPE),\n issuedAt: GovernedDocumentIsoDateTimeSchema,\n effectiveAt: GovernedDocumentIsoDateTimeSchema,\n expiresAt: GovernedDocumentIsoDateTimeSchema.optional(),\n /**\n * What a person may DO with this release — carried onto the public projection so the serving\n * surface can tell whether recording a `NOTICE_DELIVERED` (#1258 Step 5) is something the\n * release actually permits, without a second, wider read of the release's own custody record.\n * Not new authority: `composeGovernedDocumentInteraction` already refuses an interaction kind a\n * release does not permit, so a reader without this field could only guess.\n */\n allowedInteractionKinds: z.array(z.enum(GovernedDocumentInteractionKind)),\n })\n .superRefine((release, context) => {\n addUniqueSortedIssue(release.jurisdictionRefs, context, [\"jurisdictionRefs\"], \"jurisdictionRefs\");\n if (Date.parse(release.effectiveAt) < Date.parse(release.issuedAt)) {\n context.addIssue({ code: \"custom\", message: \"effectiveAt cannot precede issuance\", path: [\"effectiveAt\"] });\n }\n if (release.expiresAt && Date.parse(release.expiresAt) <= Date.parse(release.effectiveAt)) {\n context.addIssue({ code: \"custom\", message: \"expiresAt must follow effectiveAt\", path: [\"expiresAt\"] });\n }\n });\nexport type GovernedDocumentPublicReleaseProjection = z.infer<typeof GovernedDocumentPublicReleaseProjectionSchema>;\n\n/** Explicit allow-list projection from retained internal release to public release metadata. */\nexport const projectGovernedDocumentPublicRelease = (releaseInput: GovernedDocumentRelease): GovernedDocumentPublicReleaseProjection => {\n const release = GovernedDocumentReleaseSchema.parse(releaseInput);\n return GovernedDocumentPublicReleaseProjectionSchema.parse({\n schemaVersion: 1,\n identity: release.identity,\n definition: release.definition,\n documentClass: release.documentClass,\n locale: release.locale,\n jurisdictionRefs: release.jurisdictionRefs,\n contentMediaType: release.contentMediaType,\n issuedAt: release.issuedAt,\n effectiveAt: release.effectiveAt,\n ...(release.expiresAt ? { expiresAt: release.expiresAt } : {}),\n allowedInteractionKinds: release.allowedInteractionKinds,\n });\n};\n\n/**\n * A governed document AS A PUBLIC PAGE CAN HOLD IT — the release metadata a reader is entitled to,\n * paired with the exact content bytes it names. Issue #168.\n *\n * ## Why this pair, and why it is one record\n *\n * The two halves already existed and had never been joined. `GovernedDocumentPublicReleaseProjection`\n * answers *which release is this, in what language, for which jurisdictions, in force when* —\n * deliberately narrower than the internal release, withholding `governanceScope` and\n * `approvalDecisions` as custody detail. `GovernedDocumentPublicContent` answers *what does it say*.\n * A page needs both and must not be able to show one release's date above another release's prose,\n * so they travel together and their agreement is checked here rather than at each reader.\n *\n * ## What the guard refuses, and what it deliberately does not\n *\n * It refuses a record that would be a LIE: content whose `locale` or `jurisdictionRefs` disagree\n * with the release naming it, and a media type the release does not declare. Serving an `en-GB`\n * notice under a release that says `fr-FR` is a false legal statement, and that is the one thing a\n * public document may never be.\n *\n * It does NOT refuse an UNAPPROVED release, and that is the directive'''s own instruction rather than\n * an oversight: *\"Composing a release harms nobody; serving an unapproved one to a real reader is a\n * legally-binding statement leaving the system. So the filter lives on the READ, defaults to off,\n * and says at its own site that it is the gate point.\"* The approval gate is\n * {@link resolveInForcePublicDocument}'''s `requireApproved`, MARKED there and armed at Gate 3.\n * Refusing here would make an application unable to REPRESENT a draft notice at all, which is the\n * shape `.claude/rules/application-creation-directive.md` records as the reference defect.\n *\n * The release'''s own `approvalState` is not carried, because this projection deliberately withholds\n * it (a reader is not told about internal custody). The approval decision is made where the document\n * is SELECTED, from the authored release, before it reaches a browser.\n */\nexport enum GovernedDocumentPublicDocumentKind {\n /** A composed release and the text that release carries. */\n RELEASED = \"RELEASED\",\n /**\n * The latest draft of a document the application has NEVER released (wildo-ai/wildo-ai#968 decision 5).\n *\n * It exists so that neither a missing approval nor a missing release leaves a page with nothing. It\n * carries no release projection and no approval state because neither exists — inventing either\n * would claim a release nobody composed — and a page showing one must SAY it is a draft.\n */\n UNRELEASED_DRAFT = \"UNRELEASED_DRAFT\",\n}\n\nexport const GovernedDocumentReleasedPublicDocumentSchema = z\n .strictObject({\n schemaVersion: z.literal(1),\n kind: z.literal(GovernedDocumentPublicDocumentKind.RELEASED),\n release: GovernedDocumentPublicReleaseProjectionSchema,\n content: GovernedDocumentPublicContentSchema,\n /**\n * Whether the release this content belongs to has been approved.\n *\n * Carried HERE rather than on the release projection because it is a fact about the PUBLISHER'''s\n * process, not about the document, and the projection is the shape a reader receives. A serving\n * surface needs it to decide whether it may render at all; it is never displayed.\n */\n approvalState: z.enum(GovernedDocumentReleaseApprovalState),\n })\n .superRefine((document, context) => {\n if (document.content.locale !== document.release.locale) {\n context.addIssue({\n code: \"custom\",\n message: \"public content locale must match the release that names it\",\n path: [\"content\", \"locale\"],\n });\n }\n const releaseJurisdictions = document.release.jurisdictionRefs.join(\"\\u0000\");\n if (document.content.jurisdictionRefs.join(\"\\u0000\") !== releaseJurisdictions) {\n context.addIssue({\n code: \"custom\",\n message: \"public content jurisdictions must match the release that names it\",\n path: [\"content\", \"jurisdictionRefs\"],\n });\n }\n });\nexport type GovernedDocumentReleasedPublicDocument = z.infer<typeof GovernedDocumentReleasedPublicDocumentSchema>;\n\n/** See {@link GovernedDocumentPublicDocumentKind.UNRELEASED_DRAFT}. */\nexport const GovernedDocumentUnreleasedDraftPublicDocumentSchema = z.strictObject({\n schemaVersion: z.literal(1),\n kind: z.literal(GovernedDocumentPublicDocumentKind.UNRELEASED_DRAFT),\n /** The governed document this is the latest draft of. */\n documentRef: GovernedDocumentRefSchema,\n content: GovernedDocumentPublicContentSchema,\n});\nexport type GovernedDocumentUnreleasedDraftPublicDocument = z.infer<typeof GovernedDocumentUnreleasedDraftPublicDocumentSchema>;\n\n/** A document a public page may render: a composed release, or the latest draft of a never-released document. */\nexport const GovernedDocumentPublicDocumentSchema = z.discriminatedUnion(\"kind\", [\n GovernedDocumentReleasedPublicDocumentSchema,\n GovernedDocumentUnreleasedDraftPublicDocumentSchema,\n]);\nexport type GovernedDocumentPublicDocument = z.infer<typeof GovernedDocumentPublicDocumentSchema>;\n\n"]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CoreResourceOperation } from '../../resources/resources.shared.core.definitions';
|
|
2
|
+
import { ResourceRelationship } from '../../resources/resources.shared.schemas';
|
|
3
|
+
export declare const userGovernedDocumentAcceptancesResourceConfiguration_InitializationFactory: (resourcesRelationships: ResourceRelationship[]) => import("../..").ResourceConfiguration<undefined, CoreResourceOperation.READ | CoreResourceOperation.CREATE | CoreResourceOperation.LIST, import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodObject<{
|
|
4
|
+
_id: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>;
|
|
5
|
+
userId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>>;
|
|
6
|
+
documentRef: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
|
|
7
|
+
documentVersion: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodNumber>;
|
|
8
|
+
releaseId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
|
|
9
|
+
releaseVersion: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodNumber>>;
|
|
10
|
+
documentClass: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof import("./governed-documents.shared.schemas").GovernedDocumentClass>>;
|
|
11
|
+
locale: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>;
|
|
12
|
+
jurisdictionRefs: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>>;
|
|
13
|
+
acceptanceMode: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodEnum<typeof import("./governed-documents.shared.schemas").GovernedDocumentAcceptanceMode>>>;
|
|
14
|
+
releaseApprovalState: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof import("./governed-documents.shared.schemas").GovernedDocumentReleaseApprovalState>>;
|
|
15
|
+
acceptedAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>;
|
|
16
|
+
createdAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodDate>>>>;
|
|
17
|
+
}, import("zod/v4/core").$strip>>>;
|
|
18
|
+
//# sourceMappingURL=user-governed-document-acceptances.shared.resources-config.schemas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-governed-document-acceptances.shared.resources-config.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,qBAAqB,EAAwD,MAAM,mDAAmD,CAAC;AAChJ,OAAO,EAA4D,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAI1I,eAAO,MAAM,0EAA0E,GACrF,wBAAwB,oBAAoB,EAAE;;;;;;;;;;;;;;kCA4E9C,CAAC"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* User Governed-Document Acceptances — resource configuration (internal-only).
|
|
3
|
+
*
|
|
4
|
+
* No HTTP surface: every variant is INTERNAL_CALL. The ONE writer is
|
|
5
|
+
* `recordGovernedDocumentAcceptances` (saas-backend-lib), which writes this row and the audit
|
|
6
|
+
* interaction for the same act, so the queryable state and the evidence cannot disagree. Readers go
|
|
7
|
+
* through the system door too — a person meets their own acceptance state through the prompt that
|
|
8
|
+
* asks them for what is owed, never by browsing rows.
|
|
9
|
+
*
|
|
10
|
+
* APPEND-ONLY by construction: there is no UPDATE and no DELETE. An acceptance is a thing that
|
|
11
|
+
* happened; a later acceptance is a new row, never an edit of an old one.
|
|
12
|
+
*/
|
|
13
|
+
import { DataPortabilityProvenance } from '../privacy/subject-export.shared.schemas.js';
|
|
14
|
+
import { createResourceConfiguration_Initialization } from '../../resources/resources-config.shared.factory.js';
|
|
15
|
+
import { ResourceSystemAccessMode } from '../../resources/resources-config.shared.schemas.js';
|
|
16
|
+
import { CoreResourceOperation, CoreResourceType, coreResourceShared_FieldIdentifier } from '../../resources/resources.shared.core.definitions.js';
|
|
17
|
+
import { ResourceOperationRiskLevel, ResourceOperationVariantType } from '../../resources/resources.shared.schemas.js';
|
|
18
|
+
import { CORE_APP_ROLES } from '../../security/authorizations/roles.shared.schemas.js';
|
|
19
|
+
import { UserGovernedDocumentAcceptanceSchema } from './user-governed-document-acceptances.shared.schemas.js';
|
|
20
|
+
export const userGovernedDocumentAcceptancesResourceConfiguration_InitializationFactory = (resourcesRelationships) => createResourceConfiguration_Initialization({
|
|
21
|
+
mainSchema: UserGovernedDocumentAcceptanceSchema,
|
|
22
|
+
resourceIdentifier: CoreResourceType.USER_GOVERNED_DOCUMENT_ACCEPTANCES,
|
|
23
|
+
resourceFieldIdentifier: coreResourceShared_FieldIdentifier[CoreResourceType.USER_GOVERNED_DOCUMENT_ACCEPTANCES],
|
|
24
|
+
resourceRelationships: resourcesRelationships,
|
|
25
|
+
isSystemResource: true,
|
|
26
|
+
/*
|
|
27
|
+
* The writer runs on a request-context-less execution context — during registration, and on the
|
|
28
|
+
* return leg of a federated sign-up — so the client-shaped CREATE DTO would strip `userId` by name.
|
|
29
|
+
* The system door re-attaches it from the schema allowlist. `read` / `list` serve the owed-acceptance
|
|
30
|
+
* derivation, which runs for the person but not as a resource request of theirs.
|
|
31
|
+
*/
|
|
32
|
+
systemAccessPolicy: {
|
|
33
|
+
exportSubject: ResourceSystemAccessMode.ALLOWED,
|
|
34
|
+
create: ResourceSystemAccessMode.ALLOWED,
|
|
35
|
+
read: ResourceSystemAccessMode.ALLOWED,
|
|
36
|
+
list: ResourceSystemAccessMode.ALLOWED,
|
|
37
|
+
},
|
|
38
|
+
/*
|
|
39
|
+
* The person performed the act — ticked the box, pressed the button beside the notice, scrolled the
|
|
40
|
+
* document and accepted. That is a value they supplied, not one observed about them or derived.
|
|
41
|
+
* Exported with the rest of their data: what someone agreed to is squarely theirs to see (Art. 15).
|
|
42
|
+
*/
|
|
43
|
+
portabilityPolicy: { defaultProvenance: DataPortabilityProvenance.SUBJECT_PROVIDED },
|
|
44
|
+
/*
|
|
45
|
+
* No `dataSubjectPolicy`, deliberately. That declaration describes a resource that can itself be
|
|
46
|
+
* an ERASURE SUBJECT, and the factory refuses it without a `retentionPolicy`, because
|
|
47
|
+
* `eraseSubjectAsSystem` would refuse such a subject anyway. An acceptance is never erased as a
|
|
48
|
+
* subject: it is KEPT by its `USERS →` edge (`onParentDelete` disabled). Declaring a subject kind
|
|
49
|
+
* here would describe an erasure that cannot happen.
|
|
50
|
+
*/
|
|
51
|
+
coreOperations: [
|
|
52
|
+
CoreResourceOperation.READ,
|
|
53
|
+
CoreResourceOperation.LIST,
|
|
54
|
+
CoreResourceOperation.CREATE,
|
|
55
|
+
],
|
|
56
|
+
operationsConfiguration: {
|
|
57
|
+
[CoreResourceOperation.READ]: {
|
|
58
|
+
variants: [
|
|
59
|
+
{
|
|
60
|
+
variantType: ResourceOperationVariantType.INTERNAL_CALL,
|
|
61
|
+
isDefault: true,
|
|
62
|
+
roles: [CORE_APP_ROLES.APP_ADMIN_SUPER_ADMIN],
|
|
63
|
+
riskLevel: ResourceOperationRiskLevel.LOW,
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
},
|
|
67
|
+
[CoreResourceOperation.LIST]: {
|
|
68
|
+
variants: [
|
|
69
|
+
{
|
|
70
|
+
variantType: ResourceOperationVariantType.INTERNAL_CALL,
|
|
71
|
+
isDefault: true,
|
|
72
|
+
roles: [CORE_APP_ROLES.APP_ADMIN_SUPER_ADMIN],
|
|
73
|
+
riskLevel: ResourceOperationRiskLevel.LOW,
|
|
74
|
+
},
|
|
75
|
+
],
|
|
76
|
+
},
|
|
77
|
+
[CoreResourceOperation.CREATE]: {
|
|
78
|
+
variants: [
|
|
79
|
+
{
|
|
80
|
+
variantType: ResourceOperationVariantType.INTERNAL_CALL,
|
|
81
|
+
isDefault: true,
|
|
82
|
+
roles: [CORE_APP_ROLES.APP_ADMIN_SUPER_ADMIN],
|
|
83
|
+
riskLevel: ResourceOperationRiskLevel.MEDIUM,
|
|
84
|
+
},
|
|
85
|
+
],
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
});
|
|
89
|
+
//# sourceMappingURL=user-governed-document-acceptances.shared.resources-config.schemas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-governed-document-acceptances.shared.resources-config.schemas.js","sourceRoot":"","sources":["../../../../../src/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;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ACvD,SAAS,EAAE,IAAI;oBACf,KAAK,EAAE,CAAC,cAAc,CAAC,qBAAqB,CAAC;oBAC7C,SAAS,EAAE,0BAA0B,CAAC,GAAG;iBAC1C;aACF;SACF;QACD,CAAC,qBAAqB,CAAC,IAAI,CAAC,EAAE;YAC5B,QAAQ,EAAE;gBACR;oBACE,WAAW,EAAE,4BAA4B,CAAC,aAAa;oBACvD,SAAS,EAAE,IAAI;oBACf,KAAK,EAAE,CAAC,cAAc,CAAC,qBAAqB,CAAC;oBAC7C,SAAS,EAAE,0BAA0B,CAAC,GAAG;iBAC1C;aACF;SACF;QACD,CAAC,qBAAqB,CAAC,MAAM,CAAC,EAAE;YAC9B,QAAQ,EAAE;gBACR;oBACE,WAAW,EAAE,4BAA4B,CAAC,aAAa;oBACvD,SAAS,EAAE,IAAI;oBACf,KAAK,EAAE,CAAC,cAAc,CAAC,qBAAqB,CAAC;oBAC7C,SAAS,EAAE,0BAA0B,CAAC,MAAM;iBAC7C;aACF;SACF;KACF;CACF,CAAC,CAAC","sourcesContent":["/**\n * User Governed-Document Acceptances — resource configuration (internal-only).\n *\n * No HTTP surface: every variant is INTERNAL_CALL. The ONE writer is\n * `recordGovernedDocumentAcceptances` (saas-backend-lib), which writes this row and the audit\n * interaction for the same act, so the queryable state and the evidence cannot disagree. Readers go\n * through the system door too — a person meets their own acceptance state through the prompt that\n * asks them for what is owed, never by browsing rows.\n *\n * APPEND-ONLY by construction: there is no UPDATE and no DELETE. An acceptance is a thing that\n * happened; a later acceptance is a new row, never an edit of an old one.\n */\nimport { DataPortabilityProvenance } from '../privacy/subject-export.shared.schemas';\nimport { createResourceConfiguration_Initialization } from '../../resources/resources-config.shared.factory';\nimport { ResourceSystemAccessMode } from '../../resources/resources-config.shared.schemas';\nimport { CoreResourceOperation, CoreResourceType, coreResourceShared_FieldIdentifier } from '../../resources/resources.shared.core.definitions';\nimport { ResourceOperationRiskLevel, ResourceOperationVariantType, ResourceRelationship } from '../../resources/resources.shared.schemas';\nimport { CORE_APP_ROLES } from '../../security/authorizations/roles.shared.schemas';\nimport { UserGovernedDocumentAcceptanceSchema } from './user-governed-document-acceptances.shared.schemas';\n\nexport const userGovernedDocumentAcceptancesResourceConfiguration_InitializationFactory = (\n resourcesRelationships: ResourceRelationship[],\n) => createResourceConfiguration_Initialization<undefined,\n CoreResourceOperation.READ | CoreResourceOperation.LIST | CoreResourceOperation.CREATE,\n typeof UserGovernedDocumentAcceptanceSchema\n>({\n mainSchema: UserGovernedDocumentAcceptanceSchema,\n resourceIdentifier: CoreResourceType.USER_GOVERNED_DOCUMENT_ACCEPTANCES,\n resourceFieldIdentifier: coreResourceShared_FieldIdentifier[CoreResourceType.USER_GOVERNED_DOCUMENT_ACCEPTANCES],\n resourceRelationships: resourcesRelationships,\n isSystemResource: true,\n\n /*\n * The writer runs on a request-context-less execution context — during registration, and on the\n * return leg of a federated sign-up — so the client-shaped CREATE DTO would strip `userId` by name.\n * The system door re-attaches it from the schema allowlist. `read` / `list` serve the owed-acceptance\n * derivation, which runs for the person but not as a resource request of theirs.\n */\n systemAccessPolicy: {\n exportSubject: ResourceSystemAccessMode.ALLOWED,\n create: ResourceSystemAccessMode.ALLOWED,\n read: ResourceSystemAccessMode.ALLOWED,\n list: ResourceSystemAccessMode.ALLOWED,\n },\n\n /*\n * The person performed the act — ticked the box, pressed the button beside the notice, scrolled the\n * document and accepted. That is a value they supplied, not one observed about them or derived.\n * Exported with the rest of their data: what someone agreed to is squarely theirs to see (Art. 15).\n */\n portabilityPolicy: { defaultProvenance: DataPortabilityProvenance.SUBJECT_PROVIDED },\n\n /*\n * No `dataSubjectPolicy`, deliberately. That declaration describes a resource that can itself be\n * an ERASURE SUBJECT, and the factory refuses it without a `retentionPolicy`, because\n * `eraseSubjectAsSystem` would refuse such a subject anyway. An acceptance is never erased as a\n * subject: it is KEPT by its `USERS →` edge (`onParentDelete` disabled). Declaring a subject kind\n * here would describe an erasure that cannot happen.\n */\n\n coreOperations: [\n CoreResourceOperation.READ,\n CoreResourceOperation.LIST,\n CoreResourceOperation.CREATE,\n ],\n operationsConfiguration: {\n [CoreResourceOperation.READ]: {\n variants: [\n {\n variantType: ResourceOperationVariantType.INTERNAL_CALL,\n isDefault: true,\n roles: [CORE_APP_ROLES.APP_ADMIN_SUPER_ADMIN],\n riskLevel: ResourceOperationRiskLevel.LOW,\n },\n ],\n },\n [CoreResourceOperation.LIST]: {\n variants: [\n {\n variantType: ResourceOperationVariantType.INTERNAL_CALL,\n isDefault: true,\n roles: [CORE_APP_ROLES.APP_ADMIN_SUPER_ADMIN],\n riskLevel: ResourceOperationRiskLevel.LOW,\n },\n ],\n },\n [CoreResourceOperation.CREATE]: {\n variants: [\n {\n variantType: ResourceOperationVariantType.INTERNAL_CALL,\n isDefault: true,\n roles: [CORE_APP_ROLES.APP_ADMIN_SUPER_ADMIN],\n riskLevel: ResourceOperationRiskLevel.MEDIUM,\n },\n ],\n },\n },\n});\n"]}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Which governed-document releases a person has ACCEPTED — the queryable state that makes
|
|
3
|
+
* re-acceptance possible at all (#1258, Step 2 / R6).
|
|
4
|
+
*
|
|
5
|
+
* ## Why a resource, when every acceptance is already an audit event
|
|
6
|
+
*
|
|
7
|
+
* `GOVERNED_DOCUMENT_INTERACTION_RECORDED` is the EVIDENCE of an act, written once into a trail built
|
|
8
|
+
* to be appended to and never queried in the ordinary run of a request. "Has this person accepted the
|
|
9
|
+
* terms now in force?" is asked on every first session, so answering it by reading the trail would put
|
|
10
|
+
* the audit store on the hot path and make the trail's retention decide the product's behaviour. So the
|
|
11
|
+
* two are separate records of one act, written by ONE function (`recordGovernedDocumentAcceptances`) so
|
|
12
|
+
* they cannot disagree about which acts happened.
|
|
13
|
+
*
|
|
14
|
+
* ## One row per accepted RELEASE, and the release identity is copied rather than joined
|
|
15
|
+
*
|
|
16
|
+
* The same reason `GovernedDocumentInteractionSchema` gives: a record must stay readable when the
|
|
17
|
+
* release file moves on, which is the whole point of binding an acceptance to a version. Locale and
|
|
18
|
+
* jurisdictions are copied as EVIDENCE of which variant was met — never as part of what "accepted"
|
|
19
|
+
* means. Accepting the French terms is accepting the terms; see `governedDocumentAcceptancesOwed`.
|
|
20
|
+
*
|
|
21
|
+
* ## It holds no personal data of its own
|
|
22
|
+
*
|
|
23
|
+
* Every value here describes the ACCOUNT's contractual standing — which document, which release, when,
|
|
24
|
+
* how it was asked — with the person as a foreign key. That is the criterion
|
|
25
|
+
* `.claude/context/privacy-erasure-retention.md` gives for a row that is not itself personal data, so
|
|
26
|
+
* no field carries `dataCategories` and nothing is scrubbed. How the row survives an erasure is decided
|
|
27
|
+
* on the `USERS →` edge, not here.
|
|
28
|
+
*/
|
|
29
|
+
import { z } from 'zod';
|
|
30
|
+
import { GovernedDocumentAcceptanceMode, GovernedDocumentClass, GovernedDocumentReleaseApprovalState } from './governed-documents.shared.schemas';
|
|
31
|
+
export declare const UserGovernedDocumentAcceptanceSchema: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodObject<{
|
|
32
|
+
_id: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>;
|
|
33
|
+
userId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>>>;
|
|
34
|
+
documentRef: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>>;
|
|
35
|
+
documentVersion: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodNumber>;
|
|
36
|
+
releaseId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>>;
|
|
37
|
+
releaseVersion: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodNumber>>;
|
|
38
|
+
documentClass: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof GovernedDocumentClass>>;
|
|
39
|
+
locale: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>;
|
|
40
|
+
jurisdictionRefs: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
41
|
+
acceptanceMode: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodOptional<z.ZodEnum<typeof GovernedDocumentAcceptanceMode>>>;
|
|
42
|
+
releaseApprovalState: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof GovernedDocumentReleaseApprovalState>>;
|
|
43
|
+
acceptedAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodDate>>>;
|
|
44
|
+
createdAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodDefault<z.ZodDate>>>>;
|
|
45
|
+
}, z.core.$strip>>;
|
|
46
|
+
export type UserGovernedDocumentAcceptance = z.infer<typeof UserGovernedDocumentAcceptanceSchema>;
|
|
47
|
+
//# sourceMappingURL=user-governed-document-acceptances.shared.schemas.d.ts.map
|
package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-governed-document-acceptances.shared.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/compliance/documents/user-governed-document-acceptances.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,8BAA8B,EAC9B,qBAAqB,EACrB,oCAAoC,EACrC,MAAM,qCAAqC,CAAC;AAE7C,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;kBAgD/C,CAAC;AACH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Which governed-document releases a person has ACCEPTED — the queryable state that makes
|
|
3
|
+
* re-acceptance possible at all (#1258, Step 2 / R6).
|
|
4
|
+
*
|
|
5
|
+
* ## Why a resource, when every acceptance is already an audit event
|
|
6
|
+
*
|
|
7
|
+
* `GOVERNED_DOCUMENT_INTERACTION_RECORDED` is the EVIDENCE of an act, written once into a trail built
|
|
8
|
+
* to be appended to and never queried in the ordinary run of a request. "Has this person accepted the
|
|
9
|
+
* terms now in force?" is asked on every first session, so answering it by reading the trail would put
|
|
10
|
+
* the audit store on the hot path and make the trail's retention decide the product's behaviour. So the
|
|
11
|
+
* two are separate records of one act, written by ONE function (`recordGovernedDocumentAcceptances`) so
|
|
12
|
+
* they cannot disagree about which acts happened.
|
|
13
|
+
*
|
|
14
|
+
* ## One row per accepted RELEASE, and the release identity is copied rather than joined
|
|
15
|
+
*
|
|
16
|
+
* The same reason `GovernedDocumentInteractionSchema` gives: a record must stay readable when the
|
|
17
|
+
* release file moves on, which is the whole point of binding an acceptance to a version. Locale and
|
|
18
|
+
* jurisdictions are copied as EVIDENCE of which variant was met — never as part of what "accepted"
|
|
19
|
+
* means. Accepting the French terms is accepting the terms; see `governedDocumentAcceptancesOwed`.
|
|
20
|
+
*
|
|
21
|
+
* ## It holds no personal data of its own
|
|
22
|
+
*
|
|
23
|
+
* Every value here describes the ACCOUNT's contractual standing — which document, which release, when,
|
|
24
|
+
* how it was asked — with the person as a foreign key. That is the criterion
|
|
25
|
+
* `.claude/context/privacy-erasure-retention.md` gives for a row that is not itself personal data, so
|
|
26
|
+
* no field carries `dataCategories` and nothing is scrubbed. How the row survives an erasure is decided
|
|
27
|
+
* on the `USERS →` edge, not here.
|
|
28
|
+
*/
|
|
29
|
+
import { z } from 'zod';
|
|
30
|
+
import { GovernedDocumentAcceptanceMode, GovernedDocumentClass, GovernedDocumentReleaseApprovalState, } from './governed-documents.shared.schemas.js';
|
|
31
|
+
export const UserGovernedDocumentAcceptanceSchema = z.object({
|
|
32
|
+
_id: z.string().min(1).isPrimaryKey().isSummaryField(),
|
|
33
|
+
/** FK → USERS — the person who accepted. */
|
|
34
|
+
userId: z.string().min(1).isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),
|
|
35
|
+
/**
|
|
36
|
+
* The DOCUMENT accepted, independent of variant. This is the axis "has this person accepted the
|
|
37
|
+
* terms?" is answered on, which is why it is indexed on its own.
|
|
38
|
+
*/
|
|
39
|
+
documentRef: z.string().min(1).isDBIndexed().isSummaryField().excludeFromUpdate(),
|
|
40
|
+
documentVersion: z.number().int().positive().excludeFromUpdate(),
|
|
41
|
+
/** The exact RELEASE accepted — a locale + jurisdiction variant of the document, at a version. */
|
|
42
|
+
releaseId: z.string().min(1).isDBIndexed().isSummaryField().excludeFromUpdate(),
|
|
43
|
+
releaseVersion: z.number().int().positive().isSummaryField().excludeFromUpdate(),
|
|
44
|
+
/** Copied from the release, as evidence of what kind of document was agreed to. */
|
|
45
|
+
documentClass: z.enum(GovernedDocumentClass).excludeFromUpdate(),
|
|
46
|
+
/** The variant the person met. Evidence only — never part of whether a document counts as accepted. */
|
|
47
|
+
locale: z.string().min(2).excludeFromUpdate(),
|
|
48
|
+
jurisdictionRefs: z.array(z.string()).default([]).excludeFromUpdate(),
|
|
49
|
+
/**
|
|
50
|
+
* How the application asked, when its surface declared a mode (#1382). Absent means the surface did
|
|
51
|
+
* not say — the interaction record carries the advisory that marks it.
|
|
52
|
+
*/
|
|
53
|
+
acceptanceMode: z.enum(GovernedDocumentAcceptanceMode).optional().excludeFromUpdate(),
|
|
54
|
+
/** The release's standing AT THE MOMENT it was accepted. Not re-derivable later. */
|
|
55
|
+
releaseApprovalState: z.enum(GovernedDocumentReleaseApprovalState).excludeFromUpdate(),
|
|
56
|
+
/**
|
|
57
|
+
* When the person accepted — the SAME instant the interaction record carries, supplied by the one
|
|
58
|
+
* writer, never read from the clock separately. `governedDocumentAcceptancesOwed` compares it against
|
|
59
|
+
* a release's `effectiveAt` to decide whether an acceptance predates a change that requires a new one.
|
|
60
|
+
*/
|
|
61
|
+
acceptedAt: z.date().isDBIndexed().isSummaryField().excludeFromUpdate(),
|
|
62
|
+
createdAt: z.date().default(() => new Date()).isDBIndexed().excludeFromCreate().excludeFromUpdate(),
|
|
63
|
+
}).businessKeySet([
|
|
64
|
+
/*
|
|
65
|
+
* One row per person per RELEASE AT A VERSION. Accepting the same release twice — a re-submitted
|
|
66
|
+
* form, a retried request — is one fact, and a unique key is what makes the writer idempotent rather
|
|
67
|
+
* than a check-then-insert that two concurrent submissions both pass.
|
|
68
|
+
*/
|
|
69
|
+
'userId',
|
|
70
|
+
'releaseId',
|
|
71
|
+
'releaseVersion',
|
|
72
|
+
]);
|
|
73
|
+
//# sourceMappingURL=user-governed-document-acceptances.shared.schemas.js.map
|
package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-governed-document-acceptances.shared.schemas.js","sourceRoot":"","sources":["../../../../../src/compliance/documents/user-governed-document-acceptances.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;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AAC,iBAAiB,EAAE;IAErE;;;OAGG;IACH,cAAc,EAAE,CAAC,CAAC,IAAI,CAAC,8BAA8B,CAAC,CAAC,QAAQ,EAAE,CAAC,iBAAiB,EAAE;IACrF,oFAAoF;IACpF,oBAAoB,EAAE,CAAC,CAAC,IAAI,CAAC,oCAAoC,CAAC,CAAC,iBAAiB,EAAE;IAEtF;;;;OAIG;IACH,UAAU,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC,cAAc,EAAE,CAAC,iBAAiB,EAAE;IAEvE,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC,iBAAiB,EAAE,CAAC,iBAAiB,EAAE;CACpG,CAAC,CAAC,cAAc,CAAC;IAChB;;;;OAIG;IACH,QAAQ;IACR,WAAW;IACX,gBAAgB;CACjB,CAAC,CAAC","sourcesContent":["/**\n * Which governed-document releases a person has ACCEPTED — the queryable state that makes\n * re-acceptance possible at all (#1258, Step 2 / R6).\n *\n * ## Why a resource, when every acceptance is already an audit event\n *\n * `GOVERNED_DOCUMENT_INTERACTION_RECORDED` is the EVIDENCE of an act, written once into a trail built\n * to be appended to and never queried in the ordinary run of a request. \"Has this person accepted the\n * terms now in force?\" is asked on every first session, so answering it by reading the trail would put\n * the audit store on the hot path and make the trail's retention decide the product's behaviour. So the\n * two are separate records of one act, written by ONE function (`recordGovernedDocumentAcceptances`) so\n * they cannot disagree about which acts happened.\n *\n * ## One row per accepted RELEASE, and the release identity is copied rather than joined\n *\n * The same reason `GovernedDocumentInteractionSchema` gives: a record must stay readable when the\n * release file moves on, which is the whole point of binding an acceptance to a version. Locale and\n * jurisdictions are copied as EVIDENCE of which variant was met — never as part of what \"accepted\"\n * means. Accepting the French terms is accepting the terms; see `governedDocumentAcceptancesOwed`.\n *\n * ## It holds no personal data of its own\n *\n * Every value here describes the ACCOUNT's contractual standing — which document, which release, when,\n * how it was asked — with the person as a foreign key. That is the criterion\n * `.claude/context/privacy-erasure-retention.md` gives for a row that is not itself personal data, so\n * no field carries `dataCategories` and nothing is scrubbed. How the row survives an erasure is decided\n * on the `USERS →` edge, not here.\n */\nimport { z } from 'zod';\n\nimport {\n GovernedDocumentAcceptanceMode,\n GovernedDocumentClass,\n GovernedDocumentReleaseApprovalState,\n} from './governed-documents.shared.schemas';\n\nexport const UserGovernedDocumentAcceptanceSchema = z.object({\n _id: z.string().min(1).isPrimaryKey().isSummaryField(),\n\n /** FK → USERS — the person who accepted. */\n userId: z.string().min(1).isDBIndexed().isForeignKey().isSummaryField().excludeFromUpdate(),\n\n /**\n * The DOCUMENT accepted, independent of variant. This is the axis \"has this person accepted the\n * terms?\" is answered on, which is why it is indexed on its own.\n */\n documentRef: z.string().min(1).isDBIndexed().isSummaryField().excludeFromUpdate(),\n documentVersion: z.number().int().positive().excludeFromUpdate(),\n\n /** The exact RELEASE accepted — a locale + jurisdiction variant of the document, at a version. */\n releaseId: z.string().min(1).isDBIndexed().isSummaryField().excludeFromUpdate(),\n releaseVersion: z.number().int().positive().isSummaryField().excludeFromUpdate(),\n\n /** Copied from the release, as evidence of what kind of document was agreed to. */\n documentClass: z.enum(GovernedDocumentClass).excludeFromUpdate(),\n /** The variant the person met. Evidence only — never part of whether a document counts as accepted. */\n locale: z.string().min(2).excludeFromUpdate(),\n jurisdictionRefs: z.array(z.string()).default([]).excludeFromUpdate(),\n\n /**\n * How the application asked, when its surface declared a mode (#1382). Absent means the surface did\n * not say — the interaction record carries the advisory that marks it.\n */\n acceptanceMode: z.enum(GovernedDocumentAcceptanceMode).optional().excludeFromUpdate(),\n /** The release's standing AT THE MOMENT it was accepted. Not re-derivable later. */\n releaseApprovalState: z.enum(GovernedDocumentReleaseApprovalState).excludeFromUpdate(),\n\n /**\n * When the person accepted — the SAME instant the interaction record carries, supplied by the one\n * writer, never read from the clock separately. `governedDocumentAcceptancesOwed` compares it against\n * a release's `effectiveAt` to decide whether an acceptance predates a change that requires a new one.\n */\n acceptedAt: z.date().isDBIndexed().isSummaryField().excludeFromUpdate(),\n\n createdAt: z.date().default(() => new Date()).isDBIndexed().excludeFromCreate().excludeFromUpdate(),\n}).businessKeySet([\n /*\n * One row per person per RELEASE AT A VERSION. Accepting the same release twice — a re-submitted\n * form, a retried request — is one fact, and a unique key is what makes the writer idempotent rather\n * than a check-then-insert that two concurrent submissions both pass.\n */\n 'userId',\n 'releaseId',\n 'releaseVersion',\n]);\nexport type UserGovernedDocumentAcceptance = z.infer<typeof UserGovernedDocumentAcceptanceSchema>;\n"]}
|
|
@@ -102,6 +102,27 @@ export type ApplicationAiUsePosture = z.infer<typeof ApplicationAiUsePostureSche
|
|
|
102
102
|
* data under a different name would silently stay out.
|
|
103
103
|
*/
|
|
104
104
|
export declare const AI_ENGINE_CAPABILITIES: readonly EngineCapability[];
|
|
105
|
+
/**
|
|
106
|
+
* The AI capabilities a document about the CONTRACTED SERVICE must ask about.
|
|
107
|
+
*
|
|
108
|
+
* The set above, minus the capabilities that never run while the application serves a user. This is
|
|
109
|
+
* the set a privacy notice, a record of processing and an Article 22 automated-decision statement
|
|
110
|
+
* are about, and the distinction is not cosmetic: `AI_CODING_AGENT` is a build-time tool that writes
|
|
111
|
+
* the application's SOURCE. It decides nothing about a data subject and processes none of their
|
|
112
|
+
* data, so asking an operator to declare its "posture" toward people, or listing it as OUTSTANDING
|
|
113
|
+
* in a notice, invents an AI question the service does not raise.
|
|
114
|
+
*
|
|
115
|
+
* That is not hypothetical. Wonder CRM enables `AI_CODING_AGENT` and no other AI capability. Under
|
|
116
|
+
* the unfiltered set the drafter is pushed into the per-capability AI branch — the branch that asks
|
|
117
|
+
* "whether it DECIDES something about a person" — for an application whose contracted service
|
|
118
|
+
* performs no AI at all, and whose own declared fact says exactly that.
|
|
119
|
+
*
|
|
120
|
+
* DERIVED rather than listed, and total over the set above, so an AI capability added tomorrow lands
|
|
121
|
+
* on the right side of this line by its DECLARED SURFACE rather than by anyone remembering to add it
|
|
122
|
+
* here. The surface map is itself exhaustive over `EngineCapability`, so there is no default to fall
|
|
123
|
+
* through.
|
|
124
|
+
*/
|
|
125
|
+
export declare const AI_ENGINE_CAPABILITIES_IN_THE_CONTRACTED_SERVICE: readonly EngineCapability[];
|
|
105
126
|
/**
|
|
106
127
|
* Enabled AI capabilities with no declared posture — what a document must report as outstanding.
|
|
107
128
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-use-posture.shared.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/compliance/privacy/ai-use-posture.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"ai-use-posture.shared.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/compliance/privacy/ai-use-posture.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,6DAA6D,CAAC;AAE/F;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,oBAAY,qBAAqB;IAC/B;;;;;;OAMG;IACH,WAAW,gBAAgB;IAC3B;;;;;;;OAOG;IACH,sBAAsB,2BAA2B;IACjD,+FAA+F;IAC/F,oBAAoB,yBAAyB;CAC9C;AAED,4CAA4C;AAC5C,eAAO,MAAM,kBAAkB;;IAG3B;;;;;;OAMG;;IAEH;;;;;;;OAOG;;kBAqBH,CAAC;AACL,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D;;;;;;;;GAQG;AACH,eAAO,MAAM,6BAA6B;;IAhDtC;;;;;;OAMG;;IAEH;;;;;;;OAOG;;mBAiCmG,CAAC;AAC3G,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,EAAE,SAAS,gBAAgB,EAqB5D,CAAC;AAEH;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,gDAAgD,EAAE,SAAS,gBAAgB,EAEvF,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,2BAA2B,CACzC,mBAAmB,EAAE,SAAS,MAAM,EAAE,EACtC,OAAO,EAAE,uBAAuB,GAAG,SAAS,GAC3C,SAAS,gBAAgB,EAAE,CAK7B"}
|