@wildo-ai/saas-specifications 1.1.5 → 1.1.6
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/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts +10 -8
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js +14 -13
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js.map +1 -1
- package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.d.ts +3 -2
- package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.js +4 -3
- package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.js.map +1 -1
- package/dist/esm/_catalogs/schema-org/index.d.ts +31 -15
- package/dist/esm/_catalogs/schema-org/index.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/index.js +34 -13
- package/dist/esm/_catalogs/schema-org/index.js.map +1 -1
- package/dist/esm/_catalogs/schema-org/product.catalog-spec.d.ts +2 -2
- package/dist/esm/_catalogs/schema-org/product.catalog-spec.js +4 -4
- package/dist/esm/_catalogs/schema-org/product.catalog-spec.js.map +1 -1
- package/dist/esm/_catalogs/schema-org/software-application.catalog-spec.d.ts +45 -0
- package/dist/esm/_catalogs/schema-org/software-application.catalog-spec.d.ts.map +1 -0
- package/dist/esm/_catalogs/schema-org/software-application.catalog-spec.js +58 -0
- package/dist/esm/_catalogs/schema-org/software-application.catalog-spec.js.map +1 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +3 -2
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -1
- package/dist/esm/_core/application-specification-family-identity.schemas.js +3 -2
- package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +18 -0
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +39 -13
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +43 -13
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts +90 -2
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js +70 -6
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js +26 -4
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/business-semantics.specifications.schemas.d.ts +14 -0
- package/dist/esm/_core/business-semantics.specifications.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-semantics.specifications.schemas.js.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition-validation.js +1 -0
- package/dist/esm/_core/capability-composition/capability-composition-validation.js.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +21 -2
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js +20 -1
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +11 -32
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +70 -3
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts +142 -17
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js +285 -30
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +183 -18
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js +165 -18
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts +139 -0
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js +172 -0
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts +306 -0
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.js +502 -0
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.d.ts +107 -0
- package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.js +118 -0
- package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts +56 -0
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js +100 -0
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js.map +1 -0
- package/dist/esm/_core/composite-view-specification.schemas.js +8 -1
- package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +3 -2
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +3 -2
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts +16 -3
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js +70 -5
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.d.ts +10 -0
- package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
- package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +2 -2
- package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts +1 -0
- package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts +16 -0
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js +8 -0
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js.map +1 -1
- package/dist/esm/_core/index.d.ts +3 -0
- package/dist/esm/_core/index.d.ts.map +1 -1
- package/dist/esm/_core/index.js +3 -0
- package/dist/esm/_core/index.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +5 -0
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js +3 -1
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js +12 -2
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts +30 -2
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js +32 -2
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -1
- package/dist/esm/_core/market/feature-benefit.schemas.js +2 -2
- package/dist/esm/_core/market/feature-benefit.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-alternative.schemas.js +2 -2
- package/dist/esm/_core/market/market-alternative.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-buying-journey.schemas.js +2 -2
- package/dist/esm/_core/market/market-buying-journey.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-category.schemas.js +2 -2
- package/dist/esm/_core/market/market-category.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-channel.schemas.js +2 -2
- package/dist/esm/_core/market/market-channel.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-gain.schemas.js +2 -2
- package/dist/esm/_core/market/market-gain.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-icp.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-icp.schemas.js +2 -2
- package/dist/esm/_core/market/market-icp.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-job.schemas.js +2 -2
- package/dist/esm/_core/market/market-job.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-message-template.schemas.js +2 -2
- package/dist/esm/_core/market/market-message-template.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-objection.schemas.js +2 -2
- package/dist/esm/_core/market/market-objection.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-pain.schemas.js +2 -2
- package/dist/esm/_core/market/market-pain.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-persona.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-persona.schemas.js +2 -2
- package/dist/esm/_core/market/market-persona.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-positioning.schemas.js +2 -2
- package/dist/esm/_core/market/market-positioning.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-proof.schemas.js +2 -2
- package/dist/esm/_core/market/market-proof.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-references.schemas.d.ts +6 -0
- package/dist/esm/_core/market/market-references.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-references.schemas.js +6 -0
- package/dist/esm/_core/market/market-references.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +4 -4
- package/dist/esm/_core/market/market-tone-of-voice.schemas.js +2 -2
- package/dist/esm/_core/market/market-tone-of-voice.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-trigger.schemas.js +2 -2
- package/dist/esm/_core/market/market-trigger.schemas.js.map +1 -1
- package/dist/esm/_core/market/market.family-aspects.js +1 -1
- package/dist/esm/_core/market/market.family-aspects.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js +6 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +1 -0
- package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/functional-requirement.schemas.js +8 -0
- package/dist/esm/_core/requirements/functional-requirement.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +1 -0
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.d.ts +86 -28
- package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.js +110 -24
- package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
- package/dist/esm/_core/utils/retention-clock-field-specs.d.ts +13 -0
- package/dist/esm/_core/utils/retention-clock-field-specs.d.ts.map +1 -0
- package/dist/esm/_core/utils/retention-clock-field-specs.js +26 -0
- package/dist/esm/_core/utils/retention-clock-field-specs.js.map +1 -0
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts +31 -6
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.schemas.js +35 -6
- package/dist/esm/_core/website-plan/website-plan.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +142 -3
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js +148 -14
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +70 -10
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +98 -11
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts +215 -0
- package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts.map +1 -0
- package/dist/esm/application-creation/application-line.application-creation.schemas.js +253 -0
- package/dist/esm/application-creation/application-line.application-creation.schemas.js.map +1 -0
- package/dist/esm/application-creation/application-specification-family-decisions.application-creation.schemas.d.ts +39 -0
- package/dist/esm/application-creation/application-specification-family-decisions.application-creation.schemas.d.ts.map +1 -0
- package/dist/esm/application-creation/application-specification-family-decisions.application-creation.schemas.js +37 -0
- package/dist/esm/application-creation/application-specification-family-decisions.application-creation.schemas.js.map +1 -0
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +5 -49
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.js +25 -60
- package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/playbook-instance.application-creation.schemas.d.ts +28 -0
- package/dist/esm/application-creation/playbook-instance.application-creation.schemas.d.ts.map +1 -0
- package/dist/esm/application-creation/playbook-instance.application-creation.schemas.js +32 -0
- package/dist/esm/application-creation/playbook-instance.application-creation.schemas.js.map +1 -0
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +26 -6
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js +28 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation.exports.d.ts +7 -0
- package/dist/esm/application-creation.exports.d.ts.map +1 -1
- package/dist/esm/application-creation.exports.js +7 -0
- package/dist/esm/application-creation.exports.js.map +1 -1
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.d.ts +1 -1
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js +1 -1
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +24 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.js +75 -5
- package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +6 -0
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts +11 -0
- package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-blueprint-selection.js +22 -3
- package/dist/esm/assurance/assurance-document-blueprint-selection.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.js +39 -6
- package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts +11 -0
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.js +19 -0
- package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +295 -31
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts +7 -0
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-foundation.schemas.js +7 -0
- package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js +17 -0
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +5 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.js +6 -3
- package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-program.family-aspects.js +1 -1
- package/dist/esm/assurance/assurance-program.family-aspects.js.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.d.ts +232 -3
- package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.js +107 -14
- package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.js +77 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +23 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/governed-document-release.d.ts +7 -0
- package/dist/esm/assurance/governed-document-release.d.ts.map +1 -1
- package/dist/esm/assurance/governed-document-release.js +11 -2
- package/dist/esm/assurance/governed-document-release.js.map +1 -1
- package/dist/esm/companion-exports.d.ts +6 -5
- package/dist/esm/companion-exports.d.ts.map +1 -1
- package/dist/esm/companion-exports.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts +1 -0
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js +35 -33
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +6 -2
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +13 -12
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +26 -2
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.js +4 -4
- package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +11 -9
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js +2 -2
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts +1 -0
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js +45 -32
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +1 -23
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +185 -31
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +2 -1
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +29 -7
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js +7 -1
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +9 -6
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts +1 -0
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js +11 -7
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js +18 -16
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js +9 -11
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +238 -219
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts +0 -24
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +76 -16
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +2 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +28 -6
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +29 -11
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts +2 -0
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js +13 -12
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js +5 -5
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.js +12 -9
- package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.d.ts +7 -4
- package/dist/esm/engine/billing/resources/products.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.js +36 -16
- package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js +13 -10
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts +13 -8
- package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js +54 -20
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts +30 -4
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +85 -25
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.js +2 -2
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +15 -2
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +45 -10
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts +15 -2
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js +52 -12
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/index.d.ts +1 -0
- package/dist/esm/engine/compliance/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/index.js +1 -0
- package/dist/esm/engine/compliance/resources/index.js.map +1 -1
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts +39 -0
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js +325 -0
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.d.ts +23 -0
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js +197 -0
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js.map +1 -0
- package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.js +59 -0
- package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.js +69 -0
- package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts +5 -5
- package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.js +9 -10
- package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts +5 -5
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js +11 -11
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts +5 -5
- package/dist/esm/engine/features/resources/user-features.resource.specification.js +3 -3
- package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.js +7 -8
- package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +16 -4
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.d.ts +11 -0
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js +382 -0
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +139 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +150 -4
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js +9 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js +162 -0
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js +158 -0
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts +2 -1
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js +16 -9
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-request.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-request.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-appearance-settings.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-appearance-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js +3 -1
- package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +5 -4
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-number.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-number.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-string.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-string.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/index.d.ts +1 -0
- package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/index.js +3 -0
- package/dist/esm/engine/frontend-components/index.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-display.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-display.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.js +9 -4
- package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js +4 -4
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js +34 -0
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js +26 -0
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js +2 -2
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js +122 -0
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js +152 -0
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pending-references.resource.specification.d.ts +10 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pending-references.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pending-references.resource.specification.js +94 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pending-references.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.d.ts +10 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js +64 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts +4 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js +20 -16
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js +200 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +19 -6
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js +97 -0
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +8 -0
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js +2 -2
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +8 -8
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js +4 -4
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/system-of-record-write-admissions.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-write-admissions.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-write-admissions.resource.specification.js +153 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-write-admissions.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts +81 -0
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js +437 -0
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts +112 -0
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js +287 -0
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts +131 -0
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js +594 -0
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/index.d.ts +1 -0
- package/dist/esm/engine/notifications/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/index.js +1 -0
- package/dist/esm/engine/notifications/resources/index.js.map +1 -1
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts +6 -3
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +20 -5
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js +12 -2
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts +6 -6
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +8 -11
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts +4 -0
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts.map +1 -0
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js +62 -0
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js.map +1 -0
- package/dist/esm/engine/notifications/system-emails/index.d.ts +2 -1
- package/dist/esm/engine/notifications/system-emails/index.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/index.js +4 -2
- package/dist/esm/engine/notifications/system-emails/index.js.map +1 -1
- package/dist/esm/engine/organizations/resources/index.d.ts +2 -0
- package/dist/esm/engine/organizations/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/index.js +2 -0
- package/dist/esm/engine/organizations/resources/index.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +3 -0
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js +40 -12
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js +2 -2
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js +2 -2
- package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts +0 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +4 -6
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js +7 -3
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +15 -8
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts +3 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +36 -21
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts +38 -0
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js +152 -0
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js.map +1 -0
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.d.ts +106 -0
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js +417 -0
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js.map +1 -0
- package/dist/esm/engine/providers/apple.provider.specification.js +1 -1
- package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/github.provider.specification.js +1 -1
- package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/google-places.provider.specification.d.ts +6 -0
- package/dist/esm/engine/providers/google-places.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/google-places.provider.specification.js +44 -0
- package/dist/esm/engine/providers/google-places.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/google.provider.specification.js +1 -1
- package/dist/esm/engine/providers/google.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/index.d.ts +2 -0
- package/dist/esm/engine/providers/index.d.ts.map +1 -1
- package/dist/esm/engine/providers/index.js +5 -1
- package/dist/esm/engine/providers/index.js.map +1 -1
- package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/microsoft.provider.specification.js +10 -6
- package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/recaptcha.provider.specification.d.ts +6 -0
- package/dist/esm/engine/providers/recaptcha.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/recaptcha.provider.specification.js +38 -0
- package/dist/esm/engine/providers/recaptcha.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/resend.provider.specification.js +3 -1
- package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/stripe.provider.specification.js +3 -2
- package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -1
- package/dist/esm/engine/roles/app-billing-provider-events.role.specification.d.ts +2 -0
- package/dist/esm/engine/roles/app-billing-provider-events.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/app-billing-provider-events.role.specification.js +21 -0
- package/dist/esm/engine/roles/app-billing-provider-events.role.specification.js.map +1 -0
- package/dist/esm/engine/roles/app-email-inbound-intake.role.specification.d.ts +2 -0
- package/dist/esm/engine/roles/app-email-inbound-intake.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/app-email-inbound-intake.role.specification.js +21 -0
- package/dist/esm/engine/roles/app-email-inbound-intake.role.specification.js.map +1 -0
- package/dist/esm/engine/roles/index.d.ts +13 -5
- package/dist/esm/engine/roles/index.d.ts.map +1 -1
- package/dist/esm/engine/roles/index.js +19 -6
- package/dist/esm/engine/roles/index.js.map +1 -1
- package/dist/esm/engine/roles/org-billing-provider-events.role.specification.d.ts +2 -0
- package/dist/esm/engine/roles/org-billing-provider-events.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/org-billing-provider-events.role.specification.js +21 -0
- package/dist/esm/engine/roles/org-billing-provider-events.role.specification.js.map +1 -0
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts +7 -0
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js +72 -0
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js.map +1 -0
- package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts +2 -0
- package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/org-service-provider.role.specification.js +22 -0
- package/dist/esm/engine/roles/org-service-provider.role.specification.js.map +1 -0
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +2 -2
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +3 -3
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/self-service-user-notifications.shared.d.ts +1 -1
- package/dist/esm/engine/users/resources/self-service-user-notifications.shared.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/self-service-user-notifications.shared.js +3 -6
- package/dist/esm/engine/users/resources/self-service-user-notifications.shared.js.map +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +2 -2
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +2 -2
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts +0 -4
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js +0 -3
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +0 -3
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +7 -7
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +5 -5
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +0 -3
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +11 -18
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js +6 -6
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.js +5 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts +8 -5
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.js +49 -16
- package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +29 -10
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +8 -8
- package/dist/assurance/external-framework-mapping.json +0 -1228
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"computed-document-facts.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/compliance-documents/computed-document-facts.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,sBAAsB,EACtB,sBAAsB,EACtB,iBAAiB,EACjB,0BAA0B,EAC1B,0BAA0B,GAK3B,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL,0DAA0D,EAC1D,0CAA0C,EAC1C,oBAAoB,GAGrB,MAAM,iGAAiG,CAAC;AACzG,OAAO,EAAE,kCAAkC,EAAE,MAAM,yBAAyB,CAAC;AAC7E,OAAO,EACL,oCAAoC,EACpC,0BAA0B,EAC1B,0BAA0B,EAC1B,kCAAkC,GAEnC,MAAM,8BAA8B,CAAC;AAiDtC;;;GAGG;AACH,MAAM,uCAAuC,GAAmD;IAC9F,CAAC,oBAAoB,CAAC,sBAAsB,CAAC,EAAE,oBAAoB;IACnE,CAAC,oBAAoB,CAAC,yBAAyB,CAAC,EAAE,oBAAoB;IACtE,CAAC,oBAAoB,CAAC,YAAY,CAAC,EAAE,oBAAoB;IACzD,CAAC,oBAAoB,CAAC,eAAe,CAAC,EAAE,oBAAoB;IAC5D,CAAC,oBAAoB,CAAC,uBAAuB,CAAC,EAAE,oBAAoB;IACpE,CAAC,oBAAoB,CAAC,0BAA0B,CAAC,EAAE,oBAAoB;CACxE,CAAC;AAEF;;;;;;;;;;GAUG;AACH,SAAS,2BAA2B,CAAC,QAA2D;IAC9F,IAAI,QAAQ,EAAE,eAAe,KAAK,SAAS,IAAI,QAAQ,CAAC,cAAc,KAAK,SAAS,IAAI,QAAQ,CAAC,eAAe,KAAK,SAAS,EAAE,CAAC;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MAAM,YAAY,GAAG,CAAC,GAAG,IAAI,EAAE,GAAG,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAC/D,GAAG,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,kBAAkB,EAAE,GAAG,GAAG,KAAK,CAAC,cAAc,IAAI,KAAK,CAAC,kBAAkB,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CACrH,CAAC;IACF,OAAO,0CAA0C,CAAC,KAAK,CAAC;QACtD,aAAa,EAAE,CAAC;QAChB,gBAAgB,EAAE,MAAM,CAAC,gBAAgB;QACzC,oBAAoB,EAAE,MAAM,CAAC,oBAAoB;QACjD,YAAY;KACb,CAAC,CAAC;AACL,CAAC","sourcesContent":["import {\n complaintRouteUnderRegime,\n dataProtectionRegimeOf,\n OperatorProcessingRole,\n rightsUnderRegime,\n subjectRequestResponderFor,\n undeclaredRetentionClasses,\n type ApplicationOperatorComplianceIdentity,\n type ApplicationProviderComplianceChoices,\n type ApplicationRetentionSchedule,\n type ErasureRetentionMode,\n} from \"@wildo-ai/saas-models\";\n\nimport {\n ApplicationAssuranceDocumentFactContributionResolutionKind,\n ApplicationDocumentFactSpecificationSchema,\n ComputedDocumentFact,\n type ApplicationDerivedDocumentFactDeclaration,\n type ApplicationDocumentFactSpecification,\n} from \"../../application-creation/application-document-fact-specification.application-creation.schemas\";\nimport { AssuranceDocumentFactAuthorityKind } from \"../../assurance.exports\";\nimport {\n classifyConfiguredProviderRecipients,\n processorProcessingRegions,\n ProcessorRegisterEntryKind,\n ProcessorTransferDeterminationKind,\n type ApplicationProcessorRegister,\n} from \"./processor-register.schemas\";\n\n/**\n * Computing the {@link ComputedDocumentFact} members, and laying them over the facts a file declares.\n *\n * See the vocabulary's own JSDoc for why these facts are computed at read and never stored. This module\n * is the one place their values are built: the companion calls it where the application's facts are\n * read, and nothing writes its output to disk.\n */\n\n/** The value type a KNOWN derived declaration carries. */\ntype DocumentFactValue = Extract<\n ApplicationDerivedDocumentFactDeclaration,\n { resolutionKind: ApplicationAssuranceDocumentFactContributionResolutionKind.KNOWN }\n>[\"value\"];\n\n/** The typed declarations the computed facts are read from. Each is `undefined` when the application declares none. */\nexport interface ApplicationDocumentFactComputationInputs {\n readonly operatorComplianceIdentity: ApplicationOperatorComplianceIdentity | undefined;\n readonly processorRegister: ApplicationProcessorRegister | undefined;\n /**\n * The providers bound to a RUNTIME scope. A provider reached only by the build-time companion is not\n * in the path of any user's data and must not be passed here.\n */\n readonly runtimeScopedProviderRefs: readonly string[];\n readonly providerComplianceChoices: ApplicationProviderComplianceChoices | undefined;\n /** `dataRetention` — the period per data class. Partial by design; absent means no schedule was declared. */\n readonly retentionSchedule: ApplicationRetentionSchedule | undefined;\n /**\n * What erasure does to each resource's rows, as the resources declare it. `undefined` when the resources\n * could not be read, which is not the same as \"none declared\" and must answer nothing.\n */\n readonly resourceErasureTreatments: readonly ResourceErasureTreatment[] | undefined;\n /** The `operatingJurisdictions` slugs — where the data comes FROM. `undefined` when none are declared. */\n readonly operatingJurisdictionSlugs: readonly string[] | undefined;\n}\n\n/** One resource's declared erasure treatment. `erasureRetentionMode` is absent when the resource declares none. */\nexport interface ResourceErasureTreatment {\n readonly resourceType: string;\n readonly erasureRetentionMode?: ErasureRetentionMode;\n}\n\n/** One computed fact's answer. Always KNOWN: a fact whose inputs are absent produces no answer at all. */\nexport interface ComputedDocumentFactAnswer {\n readonly fact: ComputedDocumentFact;\n readonly value: DocumentFactValue;\n}\n\n/**\n * How public each computed fact is. Every one is published in a privacy notice, so every one is public;\n * the table exists so a member added later must state its own sensitivity rather than inherit one.\n */\nconst COMPUTED_DOCUMENT_FACT_SENSITIVITY_REFS: Readonly<Record<ComputedDocumentFact, string>> = {\n [ComputedDocumentFact.CONTROLLER_AND_CONTACT]: \"sensitivity:public\",\n [ComputedDocumentFact.RECIPIENTS_AND_PROCESSORS]: \"sensitivity:public\",\n [ComputedDocumentFact.LAWFUL_BASES]: \"sensitivity:public\",\n [ComputedDocumentFact.RETENTION_RULES]: \"sensitivity:public\",\n [ComputedDocumentFact.INTERNATIONAL_TRANSFERS]: \"sensitivity:public\",\n [ComputedDocumentFact.RIGHTS_AND_COMPLAINT_ROUTE]: \"sensitivity:public\",\n};\n\n/**\n * The operator as controller or processor, and how a person reaches it about privacy.\n *\n * Answers nothing unless the legal entity, the privacy contact and the role allocations are ALL declared:\n * the blueprint's question is \"every party acting as controller … and the public privacy contact route\",\n * and a partial answer to it would read as a complete one.\n *\n * A `JOINT_CONTROLLER` allocation also answers nothing. The question asks for EVERY such party, and the\n * identity records the operator's role without naming the other controller, so no function can state\n * the whole answer. The fact stays absent and the clause is marked owed.\n */\nfunction computeControllerAndContact(identity: ApplicationOperatorComplianceIdentity | undefined): DocumentFactValue | undefined {\n if (identity?.legalEntityName === undefined || identity.privacyContact === undefined || identity.roleAllocations === undefined) {\n return undefined;\n }\n if (identity.roleAllocations.some((allocation) => allocation.role === OperatorProcessingRole.JOINT_CONTROLLER)) return undefined;\n return {\n legalEntityName: identity.legalEntityName,\n ...(identity.registeredAddress === undefined ? {} : { registeredAddress: identity.registeredAddress }),\n privacyContact: identity.privacyContact,\n ...(identity.representative === undefined\n ? {}\n : { representative: { name: identity.representative.name, address: identity.representative.address } }),\n roleAllocations: identity.roleAllocations.map((allocation) => ({ dataScope: allocation.dataScope, role: allocation.role })),\n };\n}\n\n/**\n * Who else receives personal data: the declared processors, plus every gap the join finds.\n *\n * Answers nothing when there is NO processor register. An absent register means nobody has looked,\n * and an answer computed from it would state \"no recipients\" about an application whose recipients\n * are simply undeclared.\n *\n * With a register, the gaps are part of the answer rather than a reason to withhold it. A provider\n * that is configured but has no established identity is IN USE, and saying so is true. A register entry\n * for a provider no longer configured is named so a drafter does not publish it. A self-hosted provider\n * is named as operator-run, so it is never mistaken for a third party. The classification is\n * {@link classifyConfiguredProviderRecipients}, the same one the drafter's brief renders.\n */\nfunction computeRecipientsAndProcessors(inputs: ApplicationDocumentFactComputationInputs): DocumentFactValue | undefined {\n const register = inputs.processorRegister;\n if (register === undefined) return undefined;\n const classification = classifyConfiguredProviderRecipients(inputs.runtimeScopedProviderRefs, register, inputs.providerComplianceChoices);\n return {\n // A JSON round trip rather than a hand-listed projection: the register is already JSON-shaped, and a\n // field added to it later must reach the fact without an edit here. It also drops absent optional keys.\n processors: JSON.parse(JSON.stringify(register.processors)) as DocumentFactValue,\n processingRegions: [...processorProcessingRegions(register)],\n configuredProvidersWithoutEstablishedIdentity: [...classification.undeclaredProviderRefs],\n registeredProvidersNotConfigured: [...classification.staleProviderRefs],\n operatorRunProviderRefs: [...classification.operatorRunProviderRefs],\n };\n}\n\n/**\n * Each processing purpose and the basis relied on for it, with the balancing assessment where there is one.\n *\n * Answers nothing when no basis is declared: absent means nobody has decided, and \"no lawful basis\" is a\n * statement no function may make on the operator's behalf. The assessment travels with its basis because\n * Art. 13(1)(d) requires a notice relying on legitimate interests to state WHICH interests.\n */\nfunction computeLawfulBases(identity: ApplicationOperatorComplianceIdentity | undefined): DocumentFactValue | undefined {\n if (identity?.lawfulBases === undefined) return undefined;\n return {\n bases: identity.lawfulBases.map((entry) => ({\n purpose: entry.purpose,\n basis: entry.basis,\n ...(entry.assessmentNote === undefined ? {} : { assessmentNote: entry.assessmentNote }),\n })),\n };\n}\n\n/**\n * How long each class of data is kept and why, which classes have no period yet, and what erasure does to\n * each resource's rows.\n *\n * The blueprint asks for both halves — the period and \"the verified deletion or anonymization behavior\" —\n * and they come from two declarations on two axes: the period is the app-level `dataRetention` schedule\n * over `DataRetentionClass`, the treatment is each resource's `retentionPolicy.mode`. Neither stands in for\n * the other: a confident paragraph about impersonalization reads as an answer about how long, which is why\n * the schedule exists at all.\n *\n * Answers nothing without a schedule (nobody has decided a period, and \"kept forever\" is not what silence\n * means) or when the resources could not be read (the treatment half would be missing, and a fact reading\n * as complete without it is the failure above). With both, undeclared classes and resources declaring no\n * treatment are PART of the answer, named, exactly as the recipients fact names its gaps: the schedule is\n * partial on purpose and a notice marks the rest as owed.\n */\nfunction computeRetentionRules(inputs: ApplicationDocumentFactComputationInputs): DocumentFactValue | undefined {\n const schedule = inputs.retentionSchedule;\n const treatments = inputs.resourceErasureTreatments;\n if (schedule === undefined || treatments === undefined) return undefined;\n const byResource = [...treatments].sort((left, right) => (left.resourceType < right.resourceType ? -1 : 1));\n return {\n periods: Object.entries(schedule)\n .filter((entry): entry is [string, NonNullable<(typeof entry)[1]>] => entry[1] !== undefined)\n .map(([dataClass, period]) => ({ dataClass, retentionDays: period.retentionDays, rationale: period.rationale }))\n .sort((left, right) => (left.dataClass < right.dataClass ? -1 : 1)),\n classesWithoutDeclaredPeriod: [...undeclaredRetentionClasses(schedule)],\n erasureTreatments: byResource\n .filter((treatment) => treatment.erasureRetentionMode !== undefined)\n .map((treatment) => ({ resourceType: treatment.resourceType, erasureRetentionMode: treatment.erasureRetentionMode as string })),\n resourcesWithoutDeclaredErasureTreatment: byResource\n .filter((treatment) => treatment.erasureRetentionMode === undefined)\n .map((treatment) => treatment.resourceType),\n };\n}\n\n/**\n * Which processors are reached by a transfer out of the jurisdictions the data comes from, and under which\n * safeguard for each origin jurisdiction.\n *\n * Built from the operator's per-entry `transferDetermination` in the processor register, never from the\n * regions: those are free text, and the framework cannot tell whether `United States` or `eu-west-1` lies\n * outside a declared jurisdiction. It answers NOTHING without a register (nobody has looked) or without an\n * operating jurisdiction (the origin is unknown).\n *\n * Otherwise every gap is PART of the answer, as in the recipients fact, because each is a true statement a\n * notice must make rather than a reason to say nothing:\n * - `undeterminedRecipients` — a register entry with no determination, and a configured recipient candidate\n * the register does not establish at all (the same classification the recipients fact uses). Data may be\n * leaving through either, so neither may be left out of what reads as the transfer position;\n * - `safeguardGaps` — a declared origin jurisdiction a TRANSFER names no safeguard for.\n * An EMPTY register with no configured recipient states that nothing is transferred through a processor;\n * the operator's own establishment is stated by `controller-and-contact`.\n */\nfunction computeInternationalTransfers(inputs: ApplicationDocumentFactComputationInputs): DocumentFactValue | undefined {\n const register = inputs.processorRegister;\n const origins = inputs.operatingJurisdictionSlugs;\n if (register === undefined || origins === undefined) return undefined;\n const refOf = (processor: ApplicationProcessorRegister[\"processors\"][number]): string =>\n processor.kind === ProcessorRegisterEntryKind.CONFIGURED_PROVIDER ? processor.providerRef : processor.subprocessorRef;\n const classification = classifyConfiguredProviderRecipients(inputs.runtimeScopedProviderRefs, register, inputs.providerComplianceChoices);\n const safeguardGaps: { processorRef: string; originJurisdictionSlug: string }[] = [];\n for (const processor of register.processors) {\n const determination = processor.transferDetermination;\n if (determination?.kind !== ProcessorTransferDeterminationKind.TRANSFER) continue;\n const covered = new Set(determination.safeguards.map((safeguard) => safeguard.originJurisdictionSlug));\n for (const origin of origins) if (!covered.has(origin)) safeguardGaps.push({ processorRef: refOf(processor), originJurisdictionSlug: origin });\n }\n const determined = register.processors.filter((processor) => processor.transferDetermination !== undefined);\n return {\n originJurisdictions: [...origins].sort(),\n processors: determined.map((processor) => ({\n processorRef: refOf(processor),\n legalEntityName: processor.legalEntityName,\n processingRegions: [...processor.processingRegions],\n // A JSON round trip for the same reason as the recipients fact: a field added to the determination later\n // must reach the fact without an edit here.\n transferDetermination: JSON.parse(JSON.stringify(processor.transferDetermination)) as DocumentFactValue,\n })),\n undeterminedRecipients: [\n ...register.processors.filter((processor) => processor.transferDetermination === undefined).map(refOf),\n ...classification.undeclaredProviderRefs,\n ],\n safeguardGaps,\n };\n}\n\n/**\n * Which rights a person holds, how they ask, how they are verified, who answers, and where they may complain.\n *\n * Every part is a declaration or follows from one. The rights and the complaint route follow from the law of\n * the regime each operating jurisdiction falls under, conditioned on the declared lawful bases\n * (`rightsUnderRegime`); the channel is `privacyContact`; the verification step is\n * `subjectRequestIdentityVerification`; who answers follows from the role the operator holds over each\n * population (`subjectRequestResponderFor`).\n *\n * Answers nothing when any of those declarations is missing, or when a joint controllership leaves \"who\n * answers\" to an arrangement nothing records. A jurisdiction no known regime reaches is NAMED in the answer\n * rather than withheld: the rights the application owes there are unknown to the framework, and a notice\n * must say so instead of presenting the known regimes as the whole.\n */\nfunction computeRightsAndComplaintRoute(inputs: ApplicationDocumentFactComputationInputs): DocumentFactValue | undefined {\n const identity = inputs.operatorComplianceIdentity;\n const origins = inputs.operatingJurisdictionSlugs;\n if (\n identity?.lawfulBases === undefined\n || identity.privacyContact === undefined\n || identity.roleAllocations === undefined\n || identity.subjectRequestIdentityVerification === undefined\n || origins === undefined\n ) {\n return undefined;\n }\n const responsibility = identity.roleAllocations.map((allocation) => ({ dataScope: allocation.dataScope, respondedBy: subjectRequestResponderFor(allocation.role) }));\n if (responsibility.some((entry) => entry.respondedBy === undefined)) return undefined;\n const sortedOrigins = [...origins].sort();\n const regimes = [...new Set(sortedOrigins.map((slug) => dataProtectionRegimeOf(slug)).filter((regime) => regime !== undefined))];\n return {\n regimes: regimes.map((regime) => ({\n regime,\n jurisdictions: sortedOrigins.filter((slug) => dataProtectionRegimeOf(slug) === regime),\n rights: rightsUnderRegime(regime, identity.lawfulBases!).map((entry) => ({ right: entry.right, provision: entry.provision, purposes: [...entry.purposes] })),\n complaintRoute: complaintRouteUnderRegime(regime),\n })),\n jurisdictionsWithoutKnownRegime: sortedOrigins.filter((slug) => dataProtectionRegimeOf(slug) === undefined),\n requestChannel: identity.privacyContact,\n identityVerification: identity.subjectRequestIdentityVerification,\n responseOwnership: responsibility.map((entry) => ({ dataScope: entry.dataScope, respondedBy: entry.respondedBy as string })),\n };\n}\n\n/** Every computed fact the inputs can answer, in vocabulary order. */\nexport function computeApplicationDocumentFacts(inputs: ApplicationDocumentFactComputationInputs): readonly ComputedDocumentFactAnswer[] {\n const computers: Readonly<Record<ComputedDocumentFact, () => DocumentFactValue | undefined>> = {\n [ComputedDocumentFact.CONTROLLER_AND_CONTACT]: () => computeControllerAndContact(inputs.operatorComplianceIdentity),\n [ComputedDocumentFact.RECIPIENTS_AND_PROCESSORS]: () => computeRecipientsAndProcessors(inputs),\n [ComputedDocumentFact.LAWFUL_BASES]: () => computeLawfulBases(inputs.operatorComplianceIdentity),\n [ComputedDocumentFact.RETENTION_RULES]: () => computeRetentionRules(inputs),\n [ComputedDocumentFact.INTERNATIONAL_TRANSFERS]: () => computeInternationalTransfers(inputs),\n [ComputedDocumentFact.RIGHTS_AND_COMPLAINT_ROUTE]: () => computeRightsAndComplaintRoute(inputs),\n };\n return Object.values(ComputedDocumentFact).flatMap((fact) => {\n const value = computers[fact]();\n return value === undefined ? [] : [{ fact, value }];\n });\n}\n\n/**\n * The derived facts with the computed ones laid over them — what a reader of the application's facts sees.\n *\n * A computed answer REPLACES any declaration of the same fact, whatever its scope. A stored copy is refused\n * by the family validator, so replacing it is not a precedence rule: the stored copy is never the answer.\n * Declared facts pass through untouched, and the computed declarations adopt the stored file's governance\n * scope and specification ref, so one document reads one scope.\n *\n * ## Only over a family that exists\n *\n * `stored` is required. An application that has not produced its facts yet has nothing to enrich, and a\n * facts set synthesized from the computed ones alone would change what every reader concludes: \"no facts\n * produced yet\" makes a citation check skip, while \"declares only these two\" makes it refuse every other\n * citation. The computed facts join the application's facts; they do not stand in for them.\n */\nexport function overlayComputedDocumentFacts(\n stored: ApplicationDocumentFactSpecification,\n answers: readonly ComputedDocumentFactAnswer[],\n): ApplicationDocumentFactSpecification {\n if (answers.length === 0) return stored;\n const declarationRefOf = (fact: ComputedDocumentFact): string => `document-fact-declaration:${fact}`;\n const computedFactRefs = new Set(answers.map((answer) => `document-fact:${answer.fact}`));\n const computedDeclarationRefs = new Set(answers.map((answer) => declarationRefOf(answer.fact)));\n // The family schema requires at least one declaration, so a parsed specification always has a first.\n const governanceScope = stored.declarations[0]!.governanceScope;\n const kept = stored.declarations.filter(\n (declaration) => !computedFactRefs.has(declaration.factRef) && !computedDeclarationRefs.has(declaration.declarationRef),\n );\n const computed = answers.map((answer) => ({\n declarationRef: declarationRefOf(answer.fact),\n declarationVersion: 1,\n factRef: `document-fact:${answer.fact}`,\n factVersion: 1,\n governanceScope,\n sensitivityRef: COMPUTED_DOCUMENT_FACT_SENSITIVITY_REFS[answer.fact],\n authority: {\n factAuthorityKind: AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION,\n authorityRef: `document-fact-authority:${answer.fact}`,\n authorityVersion: 1,\n },\n resolutionKind: ApplicationAssuranceDocumentFactContributionResolutionKind.KNOWN,\n value: answer.value,\n }));\n const declarations = [...kept, ...computed].sort((left, right) =>\n `${left.declarationRef}@${left.declarationVersion}` < `${right.declarationRef}@${right.declarationVersion}` ? -1 : 1,\n );\n return ApplicationDocumentFactSpecificationSchema.parse({\n schemaVersion: 1,\n specificationRef: stored.specificationRef,\n specificationVersion: stored.specificationVersion,\n declarations,\n });\n}\n"]}
|
|
1
|
+
{"version":3,"file":"computed-document-facts.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/compliance-documents/computed-document-facts.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,sBAAsB,EACtB,sBAAsB,EACtB,iBAAiB,EACjB,0BAA0B,EAC1B,kBAAkB,EAClB,0BAA0B,EAC1B,iBAAiB,EACjB,iCAAiC,GAUlC,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL,0DAA0D,EAC1D,0CAA0C,EAC1C,sCAAsC,EACtC,oBAAoB,EACpB,sBAAsB,GAGvB,MAAM,iGAAiG,CAAC;AACzG,OAAO,EAAE,kCAAkC,EAAE,MAAM,yBAAyB,CAAC;AAC7E,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EAC1B,kCAAkC,GAEnC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,iCAAiC,EAAE,6BAA6B,EAA4B,MAAM,gCAAgC,CAAC;AAC5I,OAAO,EAAE,0BAA0B,EAAE,0BAA0B,EAA+B,MAAM,iCAAiC,CAAC;AACtI,OAAO,EAAE,+BAA+B,EAAE,MAAM,uCAAuC,CAAC;AAwFxF;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,wBAWX;AAXD,WAAY,wBAAwB;IA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AAI,CAAC,kBAAkB,EAAE,GAAG,GAAG,KAAK,CAAC,cAAc,IAAI,KAAK,CAAC,kBAAkB,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CACrH,CAAC;IACF,OAAO,0CAA0C,CAAC,KAAK,CAAC;QACtD,aAAa,EAAE,CAAC;QAChB,gBAAgB,EAAE,MAAM,CAAC,gBAAgB;QACzC,oBAAoB,EAAE,MAAM,CAAC,oBAAoB;QACjD,YAAY;KACb,CAAC,CAAC;AACL,CAAC","sourcesContent":["import {\n complaintRouteUnderRegime,\n dataProtectionRegimeOf,\n OperatorProcessingRole,\n rightsUnderRegime,\n subjectRequestResponderFor,\n DataRetentionClass,\n undeclaredRetentionClasses,\n isKeptUntilErased,\n RETENTION_CLASS_SWEEP_INTERVAL_MS,\n type ApplicationOperatorComplianceIdentity,\n type OperatorLawfulBasis,\n type ApplicationProviderComplianceChoices,\n type RetentionEnforcementEvidence,\n type ApplicationRetentionSchedule,\n type ErasureRetentionMode,\n type ResourceRetentionBinding,\n type ResourceStatutoryRetention,\n type SystemOfRecordPersonalDataOrigin,\n} from \"@wildo-ai/saas-models\";\n\nimport {\n ApplicationAssuranceDocumentFactContributionResolutionKind,\n ApplicationDocumentFactSpecificationSchema,\n COMPUTED_DOCUMENT_FACT_AUTHORITY_KINDS,\n ComputedDocumentFact,\n computedDocumentFactOf,\n type ApplicationDerivedDocumentFactDeclaration,\n type ApplicationDocumentFactSpecification,\n} from \"../../application-creation/application-document-fact-specification.application-creation.schemas\";\nimport { AssuranceDocumentFactAuthorityKind } from \"../../assurance.exports\";\nimport {\n processorProcessingRegions,\n ProcessorRegisterEntryKind,\n ProcessorTransferDeterminationKind,\n type ApplicationProcessorRegister,\n} from \"./processor-register.schemas\";\nimport { joinRecipientPopulationToRegister, RecipientPopulationMemberKind, type RecipientPopulation } from \"./recipient-population.schemas\";\nimport { deriveRecipientDisclosures, SystemOfRecordDataFlowKind, type SystemOfRecordDataFlow } from \"./recipient-disclosures.schemas\";\nimport { deriveRetentionEnforcementFacts } from \"./retention-enforcement-facts.schemas\";\n\n/**\n * Computing the {@link ComputedDocumentFact} members, and laying them over the facts a file declares.\n *\n * See the vocabulary's own JSDoc for why these facts are computed at read and never stored. This module\n * is the one place their values are built: the companion calls it where the application's facts are\n * read, and nothing writes its output to disk.\n */\n\n/** The value type a KNOWN derived declaration carries. */\ntype DocumentFactValue = Extract<\n ApplicationDerivedDocumentFactDeclaration,\n { resolutionKind: ApplicationAssuranceDocumentFactContributionResolutionKind.KNOWN }\n>[\"value\"];\n\n/** The typed declarations the computed facts are read from. Each is `undefined` when the application declares none. */\nexport interface ApplicationDocumentFactComputationInputs {\n readonly operatorComplianceIdentity: ApplicationOperatorComplianceIdentity | undefined;\n readonly processorRegister: ApplicationProcessorRegister | undefined;\n /**\n * WHO receives personal data, from {@link computeRecipientPopulation} — the same population the evidence\n * collector and the drafting brief read, so the three cannot disagree about who a recipient is (#1707).\n */\n readonly recipientPopulation: RecipientPopulation;\n /**\n * The system-of-record flows every resource declares (#1709), read off the materialized resources. OPTIONAL:\n * `undefined` means they could not be read, and each system-of-record recipient then reports its categories as not\n * derivable rather than as none.\n */\n readonly systemOfRecordFlows?: readonly SystemOfRecordDataFlow[] | undefined;\n /**\n * The `systemsOfRecord.<name>.vendor` of each declared instance (#1745), from {@link systemOfRecordVendorsOf} — what\n * the `system-of-record-sources` fact names beside the instance. OPTIONAL: an instance absent here is stated with no\n * vendor rather than guessed.\n */\n readonly systemOfRecordVendors?: Readonly<Record<string, string>> | undefined;\n /**\n * The `systemsOfRecord.<name>.personalDataOrigin` of each instance that declares one (#1745), from\n * `systemOfRecordPersonalDataOriginsOf` — whether its personal data can have come from publicly accessible sources.\n * An instance absent here has not stated it, and its sources carry no origin, so the notice marks it owed.\n */\n readonly systemOfRecordPersonalDataOrigins?: Readonly<Record<string, SystemOfRecordPersonalDataOrigin>> | undefined;\n /** `providerComplianceChoices`, read for the purposes each recipient links to (#1709). */\n readonly providerComplianceChoices?: ApplicationProviderComplianceChoices | undefined;\n /** `dataRetention` — the period per data class. Partial by design; absent means no schedule was declared. */\n readonly retentionSchedule: ApplicationRetentionSchedule | undefined;\n /**\n * What erasure does to each resource's rows, as the resources declare it. `undefined` when the resources\n * could not be read, which is not the same as \"none declared\" and must answer nothing.\n */\n readonly resourceErasureTreatments: readonly ResourceErasureTreatment[] | undefined;\n /**\n * How long each resource's rows are kept, as the resources declare it (#1613): its retention-class\n * binding, and whether a fixed `.ttl()` deletes its rows instead. OPTIONAL and separate from the\n * erasure treatments on purpose — the two are different axes. `undefined` means the bindings could not\n * be read, and the fact then states no mechanism rather than claiming none exists.\n */\n readonly resourceRetentionBindings?: readonly ResourceRetentionBindingFact[] | undefined;\n /** The `operatingJurisdictions` slugs — where the data comes FROM. `undefined` when none are declared. */\n readonly operatingJurisdictionSlugs: readonly string[] | undefined;\n /**\n * The retention-enforcement records of a window, as the evidence door answered them and the assurance\n * collector recorded them (#1636). OPTIONAL: `undefined` means no evidence was readable, and the\n * `retention-enforcement` fact then answers nothing — its clause is marked owed rather than claiming either\n * enforcement or its absence.\n */\n readonly retentionEnforcementEvidence?: RetentionEnforcementEvidence | undefined;\n}\n\n/** One resource's declared erasure treatment. `erasureRetentionMode` is absent when the resource declares none. */\nexport interface ResourceErasureTreatment {\n readonly resourceType: string;\n readonly erasureRetentionMode?: ErasureRetentionMode;\n /**\n * The statute that keeps the rows through an erasure (#1635). Present only where the resource declares\n * `retentionPolicy.statutoryRetention`; an erasure then restricts those rows until their period ends.\n */\n readonly statutoryRetention?: ResourceStatutoryRetention;\n}\n\n/** One resource's retention binding, as the retention-rules fact reads it. */\nexport interface ResourceRetentionBindingFact {\n readonly resourceType: string;\n readonly retentionBinding?: ResourceRetentionBinding;\n readonly declaresRowTtl: boolean;\n}\n\n/**\n * WHAT deletes data of a declared class when its period ends — the mechanism a retention clause may name.\n *\n * A statement about the application's CONFIGURATION (which mechanism the declarations wire up), not\n * runtime evidence that the mechanism ran: that is `ComputedDocumentFact.RETENTION_ENFORCEMENT`, computed\n * from the sweep's records (#1636). An empty list here means no mechanism is even wired for the class — a\n * notice must not describe a period nothing applies.\n */\nexport enum RetentionPeriodMechanism {\n /** At least one resource binds the class; the retention-class sweep deletes its rows past the period. */\n RETENTION_CLASS_SWEEP = \"RETENTION_CLASS_SWEEP\",\n /** The FILES class: file bytes released from their rows are destroyed by the files cleanup after the period. */\n FILES_CLEANUP = \"FILES_CLEANUP\",\n /**\n * The AUDIT_LOGS class: the audit trail is IMMUTABLE and never deleted; the period is its live-store\n * horizon, after which records are copied to the audit archive. A notice must not say audit records\n * are deleted.\n */\n AUDIT_ARCHIVAL = \"AUDIT_ARCHIVAL\",\n}\n\n/** The mechanisms that act on a declared class, given which resources bind it. Pure, so it is pinned directly. */\nexport function retentionPeriodMechanisms(dataClass: DataRetentionClass, boundResourceCount: number): RetentionPeriodMechanism[] {\n const mechanisms: RetentionPeriodMechanism[] = [];\n if (boundResourceCount > 0) mechanisms.push(RetentionPeriodMechanism.RETENTION_CLASS_SWEEP);\n if (dataClass === DataRetentionClass.FILES) mechanisms.push(RetentionPeriodMechanism.FILES_CLEANUP);\n if (dataClass === DataRetentionClass.AUDIT_LOGS) mechanisms.push(RetentionPeriodMechanism.AUDIT_ARCHIVAL);\n return mechanisms;\n}\n\n/** One computed fact's answer. Always KNOWN: a fact whose inputs are absent produces no answer at all. */\nexport interface ComputedDocumentFactAnswer {\n readonly fact: ComputedDocumentFact;\n readonly value: DocumentFactValue;\n /**\n * For a fact computed from RECORDS (`RUNTIME_EVIDENCE` in {@link COMPUTED_DOCUMENT_FACT_AUTHORITY_KINDS}):\n * the instant the evidence describes up to. Required for such a fact, absent for every other.\n */\n readonly observedAt?: string;\n}\n\n/**\n * How public each computed fact is. Every one is published in a privacy notice, so every one is public;\n * the table exists so a member added later must state its own sensitivity rather than inherit one.\n */\nconst COMPUTED_DOCUMENT_FACT_SENSITIVITY_REFS: Readonly<Record<ComputedDocumentFact, string>> = {\n [ComputedDocumentFact.CONTROLLER_AND_CONTACT]: \"sensitivity:public\",\n [ComputedDocumentFact.RECIPIENTS_AND_PROCESSORS]: \"sensitivity:public\",\n [ComputedDocumentFact.LAWFUL_BASES]: \"sensitivity:public\",\n [ComputedDocumentFact.RETENTION_RULES]: \"sensitivity:public\",\n [ComputedDocumentFact.INTERNATIONAL_TRANSFERS]: \"sensitivity:public\",\n [ComputedDocumentFact.RIGHTS_AND_COMPLAINT_ROUTE]: \"sensitivity:public\",\n // Counts and resource types, published in the notice's retention section.\n [ComputedDocumentFact.RETENTION_ENFORCEMENT]: \"sensitivity:public\",\n // Instance names, vendors, resource types and categories, published in the notice's data-and-sources section.\n [ComputedDocumentFact.SYSTEM_OF_RECORD_SOURCES]: \"sensitivity:public\",\n};\n\n/**\n * The operator as controller or processor, and how a person reaches it about privacy.\n *\n * Answers nothing unless the legal entity, the privacy contact and the role allocations are ALL declared:\n * the blueprint's question is \"every party acting as controller … and the public privacy contact route\",\n * and a partial answer to it would read as a complete one.\n *\n * A `JOINT_CONTROLLER` allocation also answers nothing. The question asks for EVERY such party, and the\n * identity records the operator's role without naming the other controller, so no function can state\n * the whole answer. The fact stays absent and the clause is marked owed.\n */\nfunction computeControllerAndContact(identity: ApplicationOperatorComplianceIdentity | undefined): DocumentFactValue | undefined {\n if (identity?.legalEntityName === undefined || identity.privacyContact === undefined || identity.roleAllocations === undefined) {\n return undefined;\n }\n if (identity.roleAllocations.some((allocation) => allocation.role === OperatorProcessingRole.JOINT_CONTROLLER)) return undefined;\n return {\n legalEntityName: identity.legalEntityName,\n ...(identity.registeredAddress === undefined ? {} : { registeredAddress: identity.registeredAddress }),\n privacyContact: identity.privacyContact,\n ...(identity.representative === undefined\n ? {}\n : { representative: { name: identity.representative.name, address: identity.representative.address } }),\n roleAllocations: identity.roleAllocations.map((allocation) => ({ dataScope: allocation.dataScope, role: allocation.role })),\n };\n}\n\n/**\n * Who else receives personal data: the declared processors, plus every gap the join finds.\n *\n * Answers nothing when there is NO processor register. An absent register means nobody has looked,\n * and an answer computed from it would state \"no recipients\" about an application whose recipients\n * are simply undeclared.\n *\n * With a register, the gaps are part of the answer rather than a reason to withhold it. An operator\n * sub-processor with no established identity is IN USE, and saying so is true. A register entry that no\n * data path reaches is named so a drafter does not publish it. A self-hosted provider is named as\n * operator-run, so it is never mistaken for a third party. A TENANT recipient — a vendor reached only\n * through a tenant's or a person's own connected account — is named separately: it is the tenant's vendor,\n * not the operator's sub-processor, and a register entry for one is named as a misstatement. A declared\n * member no data path reaches is named so it is neither published nor lost. The classification is\n * {@link joinRecipientPopulationToRegister} over {@link computeRecipientPopulation}, the same one the\n * drafter's brief renders and the evidence collector measures.\n */\nfunction computeRecipientsAndProcessors(inputs: ApplicationDocumentFactComputationInputs): DocumentFactValue | undefined {\n const register = inputs.processorRegister;\n if (register === undefined) return undefined;\n const classification = joinRecipientPopulationToRegister(inputs.recipientPopulation, register);\n return {\n // A JSON round trip rather than a hand-listed projection: the register is already JSON-shaped, and a\n // field added to it later must reach the fact without an edit here. It also drops absent optional keys.\n processors: JSON.parse(JSON.stringify(register.processors)) as DocumentFactValue,\n processingRegions: [...processorProcessingRegions(register)],\n configuredProvidersWithoutEstablishedIdentity: [...classification.undeclaredProviderRefs],\n registeredProvidersNotConfigured: [...classification.staleProviderRefs],\n operatorRunProviderRefs: [...classification.operatorRunProviderRefs],\n tenantRecipientRefs: [...classification.tenantRecipientRefs],\n registeredTenantRecipientRefs: [...classification.registeredTenantRecipientRefs],\n declaredWithoutDataPathRefs: [...classification.declaredWithoutDataPathRefs],\n /*\n * Per recipient: the categories its DECLARED flows carry, and the purposes its choice links to (#1709). A\n * recipient whose flow declares no field map carries `categoriesNotDerivable` — the notice must say what is\n * not established rather than list nothing. The law asks for categories of data and of recipients (GDPR Art.\n * 30(1)(c), (d); Art. 13(1)(e)); stating which reach which is the practice that keeps them consistent.\n */\n recipientDisclosures: JSON.parse(JSON.stringify(deriveRecipientDisclosures({\n population: inputs.recipientPopulation,\n systemOfRecordFlows: inputs.systemOfRecordFlows,\n providerComplianceChoices: inputs.providerComplianceChoices,\n lawfulBases: inputs.operatorComplianceIdentity?.lawfulBases,\n }))) as DocumentFactValue,\n };\n}\n\n/**\n * Each processing purpose and the basis relied on for it, with the balancing assessment where there is one.\n *\n * Answers nothing when no basis is declared: absent means nobody has decided, and \"no lawful basis\" is a\n * statement no function may make on the operator's behalf. The assessment travels with its basis because\n * Art. 13(1)(d) requires a notice relying on legitimate interests to state WHICH interests.\n */\nfunction computeLawfulBases(identity: ApplicationOperatorComplianceIdentity | undefined): DocumentFactValue | undefined {\n if (identity?.lawfulBases === undefined) return undefined;\n return {\n bases: identity.lawfulBases.map((entry) => ({\n purpose: entry.purpose,\n // The stable id recipients link to (#1709), so a drafter can join a recipient's purposes to this list.\n ...(entry.purposeRef === undefined ? {} : { purposeRef: entry.purposeRef }),\n basis: entry.basis,\n ...(entry.assessmentNote === undefined ? {} : { assessmentNote: entry.assessmentNote }),\n })),\n };\n}\n\n/**\n * How long each class of data is kept and why, which classes have no period yet, and what erasure does to\n * each resource's rows.\n *\n * The blueprint asks for both halves — the period and \"the verified deletion or anonymization behavior\" —\n * and they come from two declarations on two axes: the period is the app-level `dataRetention` schedule\n * over `DataRetentionClass`, the treatment is each resource's `retentionPolicy.mode`. Neither stands in for\n * the other: a confident paragraph about impersonalization reads as an answer about how long, which is why\n * the schedule exists at all.\n *\n * Answers nothing without a schedule (nobody has decided a period, and \"kept forever\" is not what silence\n * means) or when the resources could not be read (the treatment half would be missing, and a fact reading\n * as complete without it is the failure above). With both, undeclared classes and resources declaring no\n * treatment are PART of the answer, named, exactly as the recipients fact names its gaps: the schedule is\n * partial on purpose and a notice marks the rest as owed.\n *\n * When the resources' retention bindings were readable (#1613), each period also names the resources bound\n * to it and the {@link RetentionPeriodMechanism}s that act on it — an EMPTY list is \"declared, not yet\n * enforced\", so a notice never describes a period nothing applies — and the resources bound to no class are\n * named, because they are kept until erased and nobody decided otherwise.\n */\nfunction computeRetentionRules(inputs: ApplicationDocumentFactComputationInputs): DocumentFactValue | undefined {\n const schedule = inputs.retentionSchedule;\n const treatments = inputs.resourceErasureTreatments;\n if (schedule === undefined || treatments === undefined) return undefined;\n const byResource = [...treatments].sort((left, right) => (left.resourceType < right.resourceType ? -1 : 1));\n // #1613: which resources bind each class, and which bind nothing. Only when the bindings were readable —\n // otherwise the fact names no mechanism rather than implying none exists.\n const bindings = inputs.resourceRetentionBindings;\n const boundByClass = new Map<string, string[]>();\n for (const binding of bindings ?? []) {\n if (!binding.retentionBinding) continue;\n const list = boundByClass.get(binding.retentionBinding.retentionClass) ?? [];\n list.push(binding.resourceType);\n boundByClass.set(binding.retentionBinding.retentionClass, list);\n }\n return {\n periods: Object.entries(schedule)\n .filter((entry): entry is [string, NonNullable<(typeof entry)[1]>] => entry[1] !== undefined)\n .map(([dataClass, period]) => {\n const bound = [...(boundByClass.get(dataClass) ?? [])].sort();\n return {\n dataClass,\n retentionDays: period.retentionDays,\n rationale: period.rationale,\n ...(bindings === undefined ? {} : {\n boundResourceTypes: bound,\n mechanisms: retentionPeriodMechanisms(dataClass as DataRetentionClass, bound.length) as string[],\n }),\n };\n })\n .sort((left, right) => (left.dataClass < right.dataClass ? -1 : 1)),\n ...(bindings === undefined ? {} : {\n // Kept until erased: no class binding and no `.ttl()`. Undecided, and named so it stays visible.\n resourcesBoundToNoRetentionClass: bindings\n .filter(isKeptUntilErased)\n .map((binding) => binding.resourceType)\n .sort(),\n }),\n classesWithoutDeclaredPeriod: [...undeclaredRetentionClasses(schedule)],\n erasureTreatments: byResource\n .filter((treatment) => treatment.erasureRetentionMode !== undefined)\n .map((treatment) => ({\n resourceType: treatment.resourceType,\n erasureRetentionMode: treatment.erasureRetentionMode as string,\n // #1635: the rows are kept RESTRICTED through an erasure because a statute requires it, until the period\n // ends. The notice names the ground and the law; it never says the erasure is refused because of them.\n ...(treatment.statutoryRetention === undefined\n ? {}\n : { statutoryRetention: { ground: treatment.statutoryRetention.ground as string, rationale: treatment.statutoryRetention.rationale } }),\n })),\n resourcesWithoutDeclaredErasureTreatment: byResource\n .filter((treatment) => treatment.erasureRetentionMode === undefined)\n .map((treatment) => treatment.resourceType),\n };\n}\n\n/**\n * Which processors are reached by a transfer out of the jurisdictions the data comes from, and under which\n * safeguard for each origin jurisdiction.\n *\n * Built from the operator's per-entry `transferDetermination` in the processor register, never from the\n * regions: those are free text, and the framework cannot tell whether `United States` or `eu-west-1` lies\n * outside a declared jurisdiction. It answers NOTHING without a register (nobody has looked) or without an\n * operating jurisdiction (the origin is unknown).\n *\n * Otherwise every gap is PART of the answer, as in the recipients fact, because each is a true statement a\n * notice must make rather than a reason to say nothing:\n * - `undeterminedRecipients` — a register entry with no determination, and a configured recipient candidate\n * the register does not establish at all (the same classification the recipients fact uses). Data may be\n * leaving through either, so neither may be left out of what reads as the transfer position;\n * - `safeguardGaps` — a declared origin jurisdiction a TRANSFER names no safeguard for.\n * An EMPTY register with no configured recipient states that nothing is transferred through a processor;\n * the operator's own establishment is stated by `controller-and-contact`.\n */\nfunction computeInternationalTransfers(inputs: ApplicationDocumentFactComputationInputs): DocumentFactValue | undefined {\n const register = inputs.processorRegister;\n const origins = inputs.operatingJurisdictionSlugs;\n if (register === undefined || origins === undefined) return undefined;\n const refOf = (processor: ApplicationProcessorRegister[\"processors\"][number]): string =>\n processor.kind === ProcessorRegisterEntryKind.CONFIGURED_PROVIDER ? processor.providerRef : processor.subprocessorRef;\n const classification = joinRecipientPopulationToRegister(inputs.recipientPopulation, register);\n const safeguardGaps: { processorRef: string; originJurisdictionSlug: string }[] = [];\n for (const processor of register.processors) {\n const determination = processor.transferDetermination;\n if (determination?.kind !== ProcessorTransferDeterminationKind.TRANSFER) continue;\n const covered = new Set(determination.safeguards.map((safeguard) => safeguard.originJurisdictionSlug));\n for (const origin of origins) if (!covered.has(origin)) safeguardGaps.push({ processorRef: refOf(processor), originJurisdictionSlug: origin });\n }\n const determined = register.processors.filter((processor) => processor.transferDetermination !== undefined);\n return {\n originJurisdictions: [...origins].sort(),\n processors: determined.map((processor) => ({\n processorRef: refOf(processor),\n legalEntityName: processor.legalEntityName,\n processingRegions: [...processor.processingRegions],\n // A JSON round trip for the same reason as the recipients fact: a field added to the determination later\n // must reach the fact without an edit here.\n transferDetermination: JSON.parse(JSON.stringify(processor.transferDetermination)) as DocumentFactValue,\n })),\n undeterminedRecipients: [\n ...register.processors.filter((processor) => processor.transferDetermination === undefined).map(refOf),\n ...classification.undeclaredProviderRefs,\n ],\n safeguardGaps,\n };\n}\n\n/**\n * Which rights a person holds, how they ask, how they are verified, who answers, and where they may complain.\n *\n * Every part is a declaration or follows from one. The rights and the complaint route follow from the law of\n * the regime each operating jurisdiction falls under, conditioned on the declared lawful bases\n * (`rightsUnderRegime`); the channel is `privacyContact`; the verification step is\n * `subjectRequestIdentityVerification`; who answers follows from the role the operator holds over each\n * population (`subjectRequestResponderFor`).\n *\n * Answers nothing when any of those declarations is missing, or when a joint controllership leaves \"who\n * answers\" to an arrangement nothing records. A jurisdiction no known regime reaches is NAMED in the answer\n * rather than withheld: the rights the application owes there are unknown to the framework, and a notice\n * must say so instead of presenting the known regimes as the whole.\n */\nfunction computeRightsAndComplaintRoute(inputs: ApplicationDocumentFactComputationInputs): DocumentFactValue | undefined {\n const identity = inputs.operatorComplianceIdentity;\n const origins = inputs.operatingJurisdictionSlugs;\n if (\n identity?.lawfulBases === undefined\n || identity.privacyContact === undefined\n || identity.roleAllocations === undefined\n || identity.subjectRequestIdentityVerification === undefined\n || origins === undefined\n ) {\n return undefined;\n }\n const responsibility = identity.roleAllocations.map((allocation) => ({ dataScope: allocation.dataScope, respondedBy: subjectRequestResponderFor(allocation.role) }));\n if (responsibility.some((entry) => entry.respondedBy === undefined)) return undefined;\n const sortedOrigins = [...origins].sort();\n const regimes = [...new Set(sortedOrigins.map((slug) => dataProtectionRegimeOf(slug)).filter((regime) => regime !== undefined))];\n return {\n regimes: regimes.map((regime) => ({\n regime,\n jurisdictions: sortedOrigins.filter((slug) => dataProtectionRegimeOf(slug) === regime),\n rights: rightsUnderRegime(regime, identity.lawfulBases!).map((entry) => ({ right: entry.right, provision: entry.provision, purposes: [...entry.purposes] })),\n complaintRoute: complaintRouteUnderRegime(regime),\n })),\n jurisdictionsWithoutKnownRegime: sortedOrigins.filter((slug) => dataProtectionRegimeOf(slug) === undefined),\n requestChannel: identity.privacyContact,\n identityVerification: identity.subjectRequestIdentityVerification,\n responseOwnership: responsibility.map((entry) => ({ dataScope: entry.dataScope, respondedBy: entry.respondedBy as string })),\n };\n}\n\n/**\n * Per declared class, whether its period is ENFORCED, only DECLARED, or FAILING — read from the records the\n * retention-class sweep wrote (#1636). The first `RUNTIME_EVIDENCE` answer.\n *\n * Answers nothing unless the schedule, the bindings AND the evidence were all readable: without the schedule\n * there is no declared class to speak of, without the bindings \"no bound resource\" cannot be told from \"could\n * not read them\", and without the evidence nothing is known about what the product did. Each absence leaves the\n * fact absent, so the clause resting on it is marked owed rather than reading \"declared, not enforced\" about an\n * application whose records simply were not collected.\n */\nfunction computeRetentionEnforcement(inputs: ApplicationDocumentFactComputationInputs): ComputedDocumentFactAnswer | undefined {\n const evidence = inputs.retentionEnforcementEvidence;\n if (inputs.retentionSchedule === undefined || inputs.resourceRetentionBindings === undefined || evidence === undefined) return undefined;\n const observedAt = new Date(evidence.window.to);\n if (Number.isNaN(observedAt.getTime())) return undefined;\n const facts = deriveRetentionEnforcementFacts({\n evidence,\n schedule: inputs.retentionSchedule,\n bindings: inputs.resourceRetentionBindings,\n observedAt,\n sweepIntervalMs: RETENTION_CLASS_SWEEP_INTERVAL_MS,\n });\n // Per class, the mechanisms that act on it and that these records CANNOT evidence (#1636 review): the audit trail\n // is archived, never swept, and file bytes are destroyed by the files cleanup. So ENFORCED on AUDIT_LOGS or FILES\n // speaks only for the resources bound to the class — the side tables — and a notice must not read it as covering\n // the audit trail or the stored files. Derived from `retentionPeriodMechanisms`, the same table retention-rules uses.\n const classes = facts.classes.map((entry) => ({\n ...entry,\n mechanismsNotEvidencedByTheseRecords: retentionPeriodMechanisms(entry.dataClass as DataRetentionClass, entry.boundResourceTypes.length)\n .filter((mechanism) => mechanism !== RetentionPeriodMechanism.RETENTION_CLASS_SWEEP) as string[],\n }));\n // A JSON round trip: the derivation's answer is JSON-shaped by construction and drops absent optional keys.\n return {\n fact: ComputedDocumentFact.RETENTION_ENFORCEMENT,\n value: JSON.parse(JSON.stringify({ ...facts, classes })) as DocumentFactValue,\n observedAt: facts.observedAt,\n };\n}\n\n/** One source of personal data the application did not collect from the person: one resource bound to, or piped from, a system of record. */\nexport interface SystemOfRecordSource {\n readonly system: string;\n /** `systemsOfRecord.<name>.vendor`, or `null` when the instance declares none. */\n readonly vendor: string | null;\n readonly resourceType: string;\n readonly flowKind: SystemOfRecordDataFlowKind;\n /**\n * The instance's declared `personalDataOrigin` — the Art. 14(2)(f) \"publicly accessible sources\" half. ABSENT when the\n * instance states none: that half is then owed, and is never read as \"not from public sources\".\n */\n readonly personalDataOrigin?: SystemOfRecordPersonalDataOrigin;\n readonly categories: readonly string[];\n readonly uncategorizedPersonalFields: readonly string[];\n readonly purposes: readonly { readonly purposeRef: string; readonly purpose: string; readonly basis: string }[];\n readonly purposeRefsNamingNoPurpose: readonly string[];\n /** `true` for a pipeline (a local copy), `false` for a read-through binding (nothing kept locally). */\n readonly copiedLocally: boolean;\n /** For a copy, when the bindings were read: no retention class and no `.ttl()` (#1613). Absent otherwise. */\n readonly keptUntilErased?: boolean;\n /** For a copy bound to a retention class, that class. */\n readonly retentionClass?: string;\n}\n\n/**\n * Where personal data the application did NOT collect from the person comes from: every resource bound to, or piped\n * from, a declared system of record (#1745) — the ONE derivation the `system-of-record-sources` fact and the evidence\n * collector both call, so what a notice states and what the evidence measures cannot disagree.\n *\n * A notice owes, for such data, \"from which source the personal data originate, and if applicable, whether it came\n * from publicly accessible sources\", beside the categories and the purposes and legal basis for the processing.\n * spec-cite: GDPR Art. 14(2)(f), 14(1)(c) and 14(1)(d), https://gdpr-info.eu/art-14-gdpr/.\n *\n * Every part of an entry is a declaration or follows from one:\n * - the SOURCE is the instance the binding names, with its declared vendor — the PROXIMATE source, a deployment the\n * operator runs and reads with its own service identity (#1049 Q2);\n * - the CATEGORIES are the `.dataCategories()` of the fields that come from it ({@link SystemOfRecordDataFlow}), and\n * personal fields that name none are named, so a list that is incomplete says so;\n * - the PURPOSES are the ones the binding links (`binding.purposeRefs`), resolved against the lawful bases; a flow that\n * links none states no purpose, and a ref naming no declared purpose is reported as a broken link;\n * - for a PIPELINE (a local copy), whether the copied rows are kept until erased — no retention class and no `.ttl()`\n * (#1613), which is exactly where a copy of a record the source keeps for years goes unnoticed. A read-through\n * binding keeps nothing locally, so it states `copiedLocally: false` instead.\n *\n * A flow that carries no personal data is not a source of personal data and is left out.\n *\n * Whether the data ORIGINATED from publicly accessible sources (the second half of Art. 14(2)(f)) is not a property of\n * the binding: an ERP contact may have been entered from a public register or website. The operator states it per\n * instance (`systemsOfRecord.<name>.personalDataOrigin`) and the entry carries that declaration; an instance stating\n * none gives an entry with no origin, and a notice marks that half owed. Rejected: a constant\n * `publiclyAccessibleSource: false`, which would state a legal fact about the data's origin that nothing derives.\n *\n * Answers `[]` when no system of record is declared — a true statement, not a gap, since no binding can name an\n * undeclared instance. Answers `undefined` when instances are declared and the flows could not be read: an empty list\n * then would say \"nothing is obtained from them\" about an application whose declarations were simply not read.\n */\nexport function deriveSystemOfRecordSources(inputs: {\n readonly recipientPopulation: RecipientPopulation;\n readonly systemOfRecordFlows: readonly SystemOfRecordDataFlow[] | undefined;\n readonly systemOfRecordVendors: Readonly<Record<string, string>> | undefined;\n readonly systemOfRecordPersonalDataOrigins?: Readonly<Record<string, SystemOfRecordPersonalDataOrigin>> | undefined;\n readonly lawfulBases: readonly OperatorLawfulBasis[] | undefined;\n readonly resourceRetentionBindings?: readonly ResourceRetentionBindingFact[] | undefined;\n}): readonly SystemOfRecordSource[] | undefined {\n const declaresInstance = inputs.recipientPopulation.members.some((member) => member.kind === RecipientPopulationMemberKind.SYSTEM_OF_RECORD);\n if (!declaresInstance) return [];\n const flows = inputs.systemOfRecordFlows;\n if (flows === undefined) return undefined;\n const basesByRef = new Map((inputs.lawfulBases ?? []).flatMap((entry) => (entry.purposeRef === undefined ? [] : [[entry.purposeRef, entry] as const])));\n const bindingByResource = inputs.resourceRetentionBindings === undefined ? undefined\n : new Map(inputs.resourceRetentionBindings.map((binding) => [binding.resourceType, binding]));\n return flows\n .filter((flow) => flow.categories.length > 0 || flow.uncategorizedPersonalFields.length > 0)\n .map((flow): SystemOfRecordSource => {\n const copied = flow.kind === SystemOfRecordDataFlowKind.PIPELINE;\n const binding = bindingByResource?.get(flow.resourceType);\n const personalDataOrigin = inputs.systemOfRecordPersonalDataOrigins?.[flow.system];\n return {\n system: flow.system,\n vendor: inputs.systemOfRecordVendors?.[flow.system] ?? null,\n resourceType: flow.resourceType,\n flowKind: flow.kind,\n ...(personalDataOrigin === undefined ? {} : { personalDataOrigin }),\n categories: [...flow.categories],\n uncategorizedPersonalFields: [...flow.uncategorizedPersonalFields],\n purposes: flow.purposeRefs.flatMap((purposeRef) => {\n const basis = basesByRef.get(purposeRef);\n return basis === undefined ? [] : [{ purposeRef, purpose: basis.purpose, basis: basis.basis }];\n }),\n purposeRefsNamingNoPurpose: flow.purposeRefs.filter((purposeRef) => !basesByRef.has(purposeRef)),\n copiedLocally: copied,\n // Only for a copy, and only when the bindings were readable: otherwise \"kept until erased\" cannot be told from\n // \"not read\", and the key is absent rather than false.\n ...(copied && binding !== undefined\n ? { keptUntilErased: isKeptUntilErased(binding), ...(binding.retentionBinding === undefined ? {} : { retentionClass: binding.retentionBinding.retentionClass }) }\n : {}),\n };\n })\n .sort((left, right) => (`${left.system}/${left.resourceType}/${left.flowKind}` < `${right.system}/${right.resourceType}/${right.flowKind}` ? -1 : 1));\n}\n\n/** The `system-of-record-sources` fact: {@link deriveSystemOfRecordSources}, JSON-shaped. */\nfunction computeSystemOfRecordSources(inputs: ApplicationDocumentFactComputationInputs): DocumentFactValue | undefined {\n const sources = deriveSystemOfRecordSources({\n recipientPopulation: inputs.recipientPopulation,\n systemOfRecordFlows: inputs.systemOfRecordFlows,\n systemOfRecordVendors: inputs.systemOfRecordVendors,\n systemOfRecordPersonalDataOrigins: inputs.systemOfRecordPersonalDataOrigins,\n lawfulBases: inputs.operatorComplianceIdentity?.lawfulBases,\n resourceRetentionBindings: inputs.resourceRetentionBindings,\n });\n // A JSON round trip: the derivation's answer is JSON-shaped by construction and drops absent optional keys.\n return sources === undefined ? undefined : (JSON.parse(JSON.stringify({ sources })) as DocumentFactValue);\n}\n\n/** Every computed fact the inputs can answer, in vocabulary order. */\nexport function computeApplicationDocumentFacts(inputs: ApplicationDocumentFactComputationInputs): readonly ComputedDocumentFactAnswer[] {\n const declared = (fact: ComputedDocumentFact, value: DocumentFactValue | undefined): ComputedDocumentFactAnswer | undefined =>\n value === undefined ? undefined : { fact, value };\n const computers: Readonly<Record<ComputedDocumentFact, () => ComputedDocumentFactAnswer | undefined>> = {\n [ComputedDocumentFact.CONTROLLER_AND_CONTACT]: () => declared(ComputedDocumentFact.CONTROLLER_AND_CONTACT, computeControllerAndContact(inputs.operatorComplianceIdentity)),\n [ComputedDocumentFact.RECIPIENTS_AND_PROCESSORS]: () => declared(ComputedDocumentFact.RECIPIENTS_AND_PROCESSORS, computeRecipientsAndProcessors(inputs)),\n [ComputedDocumentFact.LAWFUL_BASES]: () => declared(ComputedDocumentFact.LAWFUL_BASES, computeLawfulBases(inputs.operatorComplianceIdentity)),\n [ComputedDocumentFact.RETENTION_RULES]: () => declared(ComputedDocumentFact.RETENTION_RULES, computeRetentionRules(inputs)),\n [ComputedDocumentFact.INTERNATIONAL_TRANSFERS]: () => declared(ComputedDocumentFact.INTERNATIONAL_TRANSFERS, computeInternationalTransfers(inputs)),\n [ComputedDocumentFact.RIGHTS_AND_COMPLAINT_ROUTE]: () => declared(ComputedDocumentFact.RIGHTS_AND_COMPLAINT_ROUTE, computeRightsAndComplaintRoute(inputs)),\n [ComputedDocumentFact.RETENTION_ENFORCEMENT]: () => computeRetentionEnforcement(inputs),\n [ComputedDocumentFact.SYSTEM_OF_RECORD_SOURCES]: () => declared(ComputedDocumentFact.SYSTEM_OF_RECORD_SOURCES, computeSystemOfRecordSources(inputs)),\n };\n return Object.values(ComputedDocumentFact).flatMap((fact) => {\n const answer = computers[fact]();\n return answer === undefined ? [] : [answer];\n });\n}\n\n/**\n * The derived facts with the computed ones laid over them — what a reader of the application's facts sees.\n *\n * A computed answer REPLACES any declaration of the same fact, whatever its scope. A stored copy is refused\n * by the family validator, so replacing it is not a precedence rule: the stored copy is never the answer.\n * Declared facts pass through untouched, and the computed declarations adopt the stored file's governance\n * scope and specification ref, so one document reads one scope.\n *\n * ## Only over a family that exists\n *\n * `stored` is required. An application that has not produced its facts yet has nothing to enrich, and a\n * facts set synthesized from the computed ones alone would change what every reader concludes: \"no facts\n * produced yet\" makes a citation check skip, while \"declares only these two\" makes it refuse every other\n * citation. The computed facts join the application's facts; they do not stand in for them.\n */\n/**\n * The authority a computed answer is stamped with: the fact's tier from {@link COMPUTED_DOCUMENT_FACT_AUTHORITY_KINDS},\n * never a default. A RUNTIME_EVIDENCE fact carries the instant its evidence describes; one produced without\n * that instant is a defect in its computation and is refused here rather than stamped as specification.\n */\nfunction computedFactAuthority(answer: ComputedDocumentFactAnswer) {\n const common = { authorityRef: `document-fact-authority:${answer.fact}`, authorityVersion: 1 };\n if (COMPUTED_DOCUMENT_FACT_AUTHORITY_KINDS[answer.fact] === AssuranceDocumentFactAuthorityKind.RUNTIME_EVIDENCE) {\n if (answer.observedAt === undefined) throw new Error(`Computed fact \"${answer.fact}\" is runtime evidence and was produced without its observedAt instant`);\n return { factAuthorityKind: AssuranceDocumentFactAuthorityKind.RUNTIME_EVIDENCE, ...common, observedAt: answer.observedAt };\n }\n return { factAuthorityKind: AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION, ...common };\n}\n\nexport function overlayComputedDocumentFacts(\n stored: ApplicationDocumentFactSpecification,\n answers: readonly ComputedDocumentFactAnswer[],\n): ApplicationDocumentFactSpecification {\n const declarationRefOf = (fact: ComputedDocumentFact): string => `document-fact-declaration:${fact}`;\n const everyComputedDeclarationRef = new Set(Object.values(ComputedDocumentFact).map(declarationRefOf));\n // A stored copy of ANY computed fact is dropped, answered or not (#1636 review). It used to be dropped only\n // when the runtime had an answer to replace it with, so an unanswered fact let the copy through — and for\n // `retention-enforcement` that is a typed \"ENFORCED\" under RUNTIME_EVIDENCE authority reaching a notice\n // whose records were never collected. A stored copy is never the answer; absent is.\n const isComputedCopy = (declaration: ApplicationDocumentFactSpecification[\"declarations\"][number]): boolean =>\n computedDocumentFactOf(declaration.factRef) !== undefined || everyComputedDeclarationRef.has(declaration.declarationRef);\n if (answers.length === 0 && !stored.declarations.some(isComputedCopy)) return stored;\n // The family schema requires at least one declaration, so a parsed specification always has a first.\n const governanceScope = stored.declarations[0]!.governanceScope;\n let kept = stored.declarations.filter((declaration) => !isComputedCopy(declaration));\n if (kept.length === 0 && answers.length === 0) {\n // Degenerate: the file holds nothing but copies of computed facts, and nothing was computed. The family\n // cannot be empty, so keep the copies that claim no runtime evidence (the validator reports them at every\n // landing) and never one that claims RUNTIME_EVIDENCE. A file of runtime-evidence copies alone is returned\n // as it is — the one residual, and one only a hand edit could produce (landing validation reports it as\n // DOCUMENT_FACT_IS_COMPUTED). It exists because the stored-file schema must admit RUNTIME_EVIDENCE for the\n // overlaid view to validate; the clean closure is a separate schema for the overlaid view, keeping that tier\n // out of the stored-file schema — not done yet, and recorded here rather than left implicit.\n kept = stored.declarations.filter((declaration) => declaration.authority?.factAuthorityKind !== AssuranceDocumentFactAuthorityKind.RUNTIME_EVIDENCE);\n if (kept.length === 0) return stored;\n }\n const computed = answers.map((answer) => ({\n declarationRef: declarationRefOf(answer.fact),\n declarationVersion: 1,\n factRef: `document-fact:${answer.fact}`,\n factVersion: 1,\n governanceScope,\n sensitivityRef: COMPUTED_DOCUMENT_FACT_SENSITIVITY_REFS[answer.fact],\n authority: computedFactAuthority(answer),\n resolutionKind: ApplicationAssuranceDocumentFactContributionResolutionKind.KNOWN,\n value: answer.value,\n }));\n const declarations = [...kept, ...computed].sort((left, right) =>\n `${left.declarationRef}@${left.declarationVersion}` < `${right.declarationRef}@${right.declarationVersion}` ? -1 : 1,\n );\n return ApplicationDocumentFactSpecificationSchema.parse({\n schemaVersion: 1,\n specificationRef: stored.specificationRef,\n specificationVersion: stored.specificationVersion,\n declarations,\n });\n}\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type ApplicationProviderComplianceChoices } from "@wildo-ai/saas-models";
|
|
2
1
|
import { z } from "zod";
|
|
3
2
|
import '@wildo-ai/zod-decorators';
|
|
3
|
+
import { type ProviderComplianceProfile } from '@wildo-ai/saas-models';
|
|
4
4
|
/** @wildo_source:part:start saas.specifications.processor-register facet:layer:shared facet:audience:app-developer */
|
|
5
5
|
/**
|
|
6
6
|
* **Who else processes personal data, under what legal identity, and where.**
|
|
@@ -28,6 +28,18 @@ import '@wildo-ai/zod-decorators';
|
|
|
28
28
|
* So the register is authored beside the application's other specifications and read from there. What
|
|
29
29
|
* the framework contributes is the QUESTION and the gap report, never the answer.
|
|
30
30
|
*
|
|
31
|
+
* ## Researched vendor facts are SUGGESTIONS, adopted only by the operator's commit (decided 2026-09-25, #1744)
|
|
32
|
+
*
|
|
33
|
+
* The framework does research the vendors applications actually declare — legal entity, processing regions,
|
|
34
|
+
* sub-processor list, data processing agreement — and ships each fact on the provider's compliance profile with the
|
|
35
|
+
* page it was read from and the date (`evidence`, #1708). Those facts are SUGGESTIONS: the brief offers them beside an
|
|
36
|
+
* undeclared entry as the question to answer, and nothing reaches a document until the operator checks the page,
|
|
37
|
+
* copies the fact into THIS register and commits it. The commit is the adoption (`one-source-of-truth.md` rule 2);
|
|
38
|
+
* the framework's statement stays "this is what we read, on this date, at this URL". Rejected: publishing the facts
|
|
39
|
+
* straight into computed document facts, which would make the framework the author of a legal statement in someone
|
|
40
|
+
* else's notice, and could not be walked back once a notice carried it; and shipping no facts at all, which leaves
|
|
41
|
+
* every operator to research every vendor alone. A stale suggestion is caught by `complianceFactStaleness`.
|
|
42
|
+
*
|
|
31
43
|
* ## Absence is a gap with a NAME, because the configured set is already known
|
|
32
44
|
*
|
|
33
45
|
* The application's composition already lists its configured providers. Comparing that list against
|
|
@@ -183,6 +195,32 @@ export declare const ProcessorTransferDeterminationSchema: z.ZodDiscriminatedUni
|
|
|
183
195
|
}, z.core.$strict>>;
|
|
184
196
|
}, z.core.$strict>], "kind">;
|
|
185
197
|
export type ProcessorTransferDetermination = z.infer<typeof ProcessorTransferDeterminationSchema>;
|
|
198
|
+
/**
|
|
199
|
+
* Whether THIS operator has a data processing agreement with the processor — the operator's fact, never the vendor's
|
|
200
|
+
* (#1709). A vendor OFFERING a DPA is a suggestion its compliance profile may carry (`dataProcessingAgreementUrl`);
|
|
201
|
+
* whether this operator is bound by one is not something the framework can know.
|
|
202
|
+
*
|
|
203
|
+
* spec-cite: GDPR Art. 28(3), https://gdpr-info.eu/art-28-gdpr/ — "Processing by a processor shall be governed by a
|
|
204
|
+
* contract or other legal act under Union or Member State law, that is binding on the processor with regard to the
|
|
205
|
+
* controller".
|
|
206
|
+
*/
|
|
207
|
+
export declare enum DataProcessingAgreementStatus {
|
|
208
|
+
/** A DPA the operator and the processor both signed. */
|
|
209
|
+
SIGNED = "SIGNED",
|
|
210
|
+
/** The processor's standard DPA forms part of the terms the operator accepted (the common self-serve case). */
|
|
211
|
+
INCORPORATED_IN_TERMS = "INCORPORATED_IN_TERMS",
|
|
212
|
+
/** No DPA governs this processing yet. Stated, so it reads as a gap rather than an omission. */
|
|
213
|
+
NOT_IN_PLACE = "NOT_IN_PLACE"
|
|
214
|
+
}
|
|
215
|
+
/** The operator's DPA with one processor. See {@link DataProcessingAgreementStatus}. */
|
|
216
|
+
export declare const ProcessorDataProcessingAgreementSchema: z.ZodObject<{
|
|
217
|
+
status: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof DataProcessingAgreementStatus>>;
|
|
218
|
+
/** When it took effect, `YYYY-MM-DD`, where the operator knows it. */
|
|
219
|
+
effectiveFrom: z.ZodOptional<z.ZodISODate>;
|
|
220
|
+
/** Where the operator's copy or the incorporated terms can be found — a URL or an internal reference. */
|
|
221
|
+
reference: z.ZodOptional<z.ZodString>;
|
|
222
|
+
}, z.core.$strict>;
|
|
223
|
+
export type ProcessorDataProcessingAgreement = z.infer<typeof ProcessorDataProcessingAgreementSchema>;
|
|
186
224
|
/** One entry in the register — a configured provider, or a subprocessor nothing configures. */
|
|
187
225
|
export declare const ApplicationProcessorDeclarationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
188
226
|
legalEntityName: z.ZodString;
|
|
@@ -219,6 +257,14 @@ export declare const ApplicationProcessorDeclarationSchema: z.ZodDiscriminatedUn
|
|
|
219
257
|
instrument: z.ZodString;
|
|
220
258
|
}, z.core.$strict>>;
|
|
221
259
|
}, z.core.$strict>], "kind">>;
|
|
260
|
+
dataProcessingAgreement: z.ZodOptional<z.ZodObject<{
|
|
261
|
+
status: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof DataProcessingAgreementStatus>>;
|
|
262
|
+
/** When it took effect, `YYYY-MM-DD`, where the operator knows it. */
|
|
263
|
+
effectiveFrom: z.ZodOptional<z.ZodISODate>;
|
|
264
|
+
/** Where the operator's copy or the incorporated terms can be found — a URL or an internal reference. */
|
|
265
|
+
reference: z.ZodOptional<z.ZodString>;
|
|
266
|
+
}, z.core.$strict>>;
|
|
267
|
+
vendorRetention: z.ZodOptional<z.ZodString>;
|
|
222
268
|
kind: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<ProcessorRegisterEntryKind.CONFIGURED_PROVIDER>>;
|
|
223
269
|
providerRef: z.ZodString;
|
|
224
270
|
purpose: z.ZodOptional<z.ZodString>;
|
|
@@ -257,6 +303,14 @@ export declare const ApplicationProcessorDeclarationSchema: z.ZodDiscriminatedUn
|
|
|
257
303
|
instrument: z.ZodString;
|
|
258
304
|
}, z.core.$strict>>;
|
|
259
305
|
}, z.core.$strict>], "kind">>;
|
|
306
|
+
dataProcessingAgreement: z.ZodOptional<z.ZodObject<{
|
|
307
|
+
status: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof DataProcessingAgreementStatus>>;
|
|
308
|
+
/** When it took effect, `YYYY-MM-DD`, where the operator knows it. */
|
|
309
|
+
effectiveFrom: z.ZodOptional<z.ZodISODate>;
|
|
310
|
+
/** Where the operator's copy or the incorporated terms can be found — a URL or an internal reference. */
|
|
311
|
+
reference: z.ZodOptional<z.ZodString>;
|
|
312
|
+
}, z.core.$strict>>;
|
|
313
|
+
vendorRetention: z.ZodOptional<z.ZodString>;
|
|
260
314
|
kind: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<ProcessorRegisterEntryKind.AUTHORED>>;
|
|
261
315
|
subprocessorRef: z.ZodString;
|
|
262
316
|
purpose: z.ZodString;
|
|
@@ -307,6 +361,14 @@ export declare const ApplicationProcessorRegisterSchema: z.ZodObject<{
|
|
|
307
361
|
instrument: z.ZodString;
|
|
308
362
|
}, z.core.$strict>>;
|
|
309
363
|
}, z.core.$strict>], "kind">>;
|
|
364
|
+
dataProcessingAgreement: z.ZodOptional<z.ZodObject<{
|
|
365
|
+
status: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof DataProcessingAgreementStatus>>;
|
|
366
|
+
/** When it took effect, `YYYY-MM-DD`, where the operator knows it. */
|
|
367
|
+
effectiveFrom: z.ZodOptional<z.ZodISODate>;
|
|
368
|
+
/** Where the operator's copy or the incorporated terms can be found — a URL or an internal reference. */
|
|
369
|
+
reference: z.ZodOptional<z.ZodString>;
|
|
370
|
+
}, z.core.$strict>>;
|
|
371
|
+
vendorRetention: z.ZodOptional<z.ZodString>;
|
|
310
372
|
kind: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<ProcessorRegisterEntryKind.CONFIGURED_PROVIDER>>;
|
|
311
373
|
providerRef: z.ZodString;
|
|
312
374
|
purpose: z.ZodOptional<z.ZodString>;
|
|
@@ -345,10 +407,41 @@ export declare const ApplicationProcessorRegisterSchema: z.ZodObject<{
|
|
|
345
407
|
instrument: z.ZodString;
|
|
346
408
|
}, z.core.$strict>>;
|
|
347
409
|
}, z.core.$strict>], "kind">>;
|
|
410
|
+
dataProcessingAgreement: z.ZodOptional<z.ZodObject<{
|
|
411
|
+
status: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof DataProcessingAgreementStatus>>;
|
|
412
|
+
/** When it took effect, `YYYY-MM-DD`, where the operator knows it. */
|
|
413
|
+
effectiveFrom: z.ZodOptional<z.ZodISODate>;
|
|
414
|
+
/** Where the operator's copy or the incorporated terms can be found — a URL or an internal reference. */
|
|
415
|
+
reference: z.ZodOptional<z.ZodString>;
|
|
416
|
+
}, z.core.$strict>>;
|
|
417
|
+
vendorRetention: z.ZodOptional<z.ZodString>;
|
|
348
418
|
kind: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<ProcessorRegisterEntryKind.AUTHORED>>;
|
|
349
419
|
subprocessorRef: z.ZodString;
|
|
350
420
|
purpose: z.ZodString;
|
|
351
421
|
}, z.core.$strict>], "kind">>;
|
|
422
|
+
/**
|
|
423
|
+
* When the operator last CHECKED this register against the vendors' own pages, and how long it lets that check
|
|
424
|
+
* stand (#1708).
|
|
425
|
+
*
|
|
426
|
+
* A register is a set of vendor facts with a shelf life — sub-processor lists change on a vendor's notice, legal
|
|
427
|
+
* entities reorganise — and until this field the only date anywhere was a comment ("Verified 2026-09-01") that
|
|
428
|
+
* nothing could read. With it, {@link complianceFactStaleness} names the register, and every framework-suggested
|
|
429
|
+
* vendor fact, that has outlived the interval the application chose. Reported, never refused.
|
|
430
|
+
*
|
|
431
|
+
* Optional: an absent verification is reported as UNDATED, which is the truthful state of a register nobody has
|
|
432
|
+
* dated. The interval is the application's own policy; the framework supplies no default, because how often a
|
|
433
|
+
* vendor register is re-checked is the operator's answer to its own risk, not a fact the framework holds.
|
|
434
|
+
*
|
|
435
|
+
* Typed by the operator rather than derived, and the derivation was considered: the register file's last commit
|
|
436
|
+
* time is when it last CHANGED, and a re-verification that finds nothing to change leaves no commit. Only the
|
|
437
|
+
* person who checked the vendors' pages can say when they did.
|
|
438
|
+
*/
|
|
439
|
+
verification: z.ZodOptional<z.ZodObject<{
|
|
440
|
+
/** The day the operator last checked every entry against the vendor's own pages, `YYYY-MM-DD`. */
|
|
441
|
+
verifiedAt: z.ZodISODate;
|
|
442
|
+
/** How many days a check stands before the register — and the vendor facts it relies on — is reported stale. */
|
|
443
|
+
reverificationIntervalDays: z.ZodNumber;
|
|
444
|
+
}, z.core.$strict>>;
|
|
352
445
|
}, z.core.$strict>;
|
|
353
446
|
export type ApplicationProcessorRegister = z.infer<typeof ApplicationProcessorRegisterSchema>;
|
|
354
447
|
/** @wildo_source:part:end saas.specifications.processor-register */
|
|
@@ -411,27 +504,99 @@ export declare function undeclaredProcessorRefs(configuredProviderRefs: readonly
|
|
|
411
504
|
* by hand, and a stale entry is a thing to notice, not a reason to reject the file.
|
|
412
505
|
*/
|
|
413
506
|
export declare function processorRefsNotConfigured(configuredProviderRefs: readonly string[], register: ApplicationProcessorRegister | undefined): readonly string[];
|
|
414
|
-
/**
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
/**
|
|
419
|
-
|
|
420
|
-
/**
|
|
507
|
+
/**
|
|
508
|
+
* Whether a dated compliance fact is still inside the interval the application declared (#1708).
|
|
509
|
+
*/
|
|
510
|
+
export declare enum ComplianceFactCurrency {
|
|
511
|
+
/** Checked within the declared interval. */
|
|
512
|
+
CURRENT = "CURRENT",
|
|
513
|
+
/** Checked longer ago than the declared interval: re-check it against the vendor's page. */
|
|
514
|
+
STALE = "STALE",
|
|
515
|
+
/** Carries no date at all, so its age cannot be known. */
|
|
516
|
+
UNDATED = "UNDATED",
|
|
517
|
+
/** Dated, but the application declares no interval, so nothing says how old is too old. */
|
|
518
|
+
NO_INTERVAL_DECLARED = "NO_INTERVAL_DECLARED"
|
|
519
|
+
}
|
|
520
|
+
/** One dated fact's currency. */
|
|
521
|
+
export interface ComplianceFactAge {
|
|
522
|
+
readonly verifiedAt: string | null;
|
|
523
|
+
readonly ageDays: number | null;
|
|
524
|
+
readonly currency: ComplianceFactCurrency;
|
|
525
|
+
}
|
|
526
|
+
/** The staleness report: the register's own date, and every established vendor profile a reader relies on. */
|
|
527
|
+
export interface ComplianceFactStalenessReport {
|
|
528
|
+
readonly asOf: string;
|
|
529
|
+
readonly reverificationIntervalDays: number | null;
|
|
530
|
+
readonly register: ComplianceFactAge;
|
|
531
|
+
/** Per provider ref with an ESTABLISHED profile, dated by its OLDEST evidence. Sorted by ref. */
|
|
532
|
+
readonly providerProfiles: readonly ({
|
|
533
|
+
readonly providerRef: string;
|
|
534
|
+
} & ComplianceFactAge)[];
|
|
535
|
+
/** True when the register's own verification is {@link ComplianceFactCurrency.STALE}. */
|
|
536
|
+
readonly registerStale: boolean;
|
|
537
|
+
/** The provider refs whose profile is {@link ComplianceFactCurrency.STALE}. */
|
|
421
538
|
readonly staleProviderRefs: readonly string[];
|
|
539
|
+
/** The provider refs whose ESTABLISHED profile cites no evidence at all, so its age cannot be known. */
|
|
540
|
+
readonly undatedProviderRefs: readonly string[];
|
|
422
541
|
}
|
|
423
542
|
/**
|
|
424
|
-
* Which
|
|
543
|
+
* Which compliance facts have outlived the interval the application declared (#1708) — DERIVED, never asked.
|
|
544
|
+
*
|
|
545
|
+
* Two populations, one interval: the operator's own register (its `verification.verifiedAt`) and the vendor facts
|
|
546
|
+
* the framework suggests (each established profile's oldest `evidence[].verifiedAt`). The interval is the register's
|
|
547
|
+
* `reverificationIntervalDays`, because how old is too old is the operator's policy for both; with none declared,
|
|
548
|
+
* ages are still reported and nothing is called stale.
|
|
549
|
+
*
|
|
550
|
+
* `asOf` is a `YYYY-MM-DD` day supplied by the caller (the run's own instant), so the report is a pure function of
|
|
551
|
+
* its inputs and a test can pin it. A report, never a refusal (`application-creation-directive.md`).
|
|
552
|
+
*
|
|
553
|
+
* assurance-control: WILDO.PRIVACY.THIRD_PARTY_PROCESSING — processor facts older than the operator's own
|
|
554
|
+
* re-verification interval are named, so a notice does not keep stating a vendor arrangement nobody re-checked.
|
|
555
|
+
*/
|
|
556
|
+
export declare function complianceFactStaleness(params: {
|
|
557
|
+
readonly register: ApplicationProcessorRegister | undefined;
|
|
558
|
+
readonly profilesByProviderRef: Readonly<Record<string, ProviderComplianceProfile>>;
|
|
559
|
+
/** The provider refs a reader relies on — the population's members. Profiles of other refs are not reported. */
|
|
560
|
+
readonly providerRefs: readonly string[];
|
|
561
|
+
readonly asOf: string;
|
|
562
|
+
}): ComplianceFactStalenessReport;
|
|
563
|
+
/** One register entry's contractual standing: its DPA and its recorded retention, as the operator stated them. */
|
|
564
|
+
export interface ProcessorAgreementStandingEntry {
|
|
565
|
+
/** `providerRef` for a configured provider, `subprocessorRef` for an authored entry. */
|
|
566
|
+
readonly ref: string;
|
|
567
|
+
readonly entryKind: ProcessorRegisterEntryKind;
|
|
568
|
+
/** `null` when the operator has not recorded a DPA — outstanding, never "not required". */
|
|
569
|
+
readonly dataProcessingAgreement: DataProcessingAgreementStatus | null;
|
|
570
|
+
readonly vendorRetention: string | null;
|
|
571
|
+
}
|
|
572
|
+
/** Which processors are governed by a recorded agreement, and which are not (#1709). */
|
|
573
|
+
export interface ProcessorAgreementStandingReport {
|
|
574
|
+
/** Every register entry, sorted by ref. */
|
|
575
|
+
readonly entries: readonly ProcessorAgreementStandingEntry[];
|
|
576
|
+
/** Entries with NO DPA recorded — the question is open. */
|
|
577
|
+
readonly agreementUnrecordedRefs: readonly string[];
|
|
578
|
+
/** Entries the operator states have NO DPA in place — an Art. 28(3) gap, stated as such. */
|
|
579
|
+
readonly agreementNotInPlaceRefs: readonly string[];
|
|
580
|
+
/** Entries with no vendor retention recorded. */
|
|
581
|
+
readonly vendorRetentionUnrecordedRefs: readonly string[];
|
|
582
|
+
}
|
|
583
|
+
/**
|
|
584
|
+
* The register's contractual standing — which processors a recorded DPA governs, which the operator says none does,
|
|
585
|
+
* and which nobody has recorded (#1709).
|
|
586
|
+
*
|
|
587
|
+
* Only the operator can know whether it is bound by a DPA, so this READS what the register states and names what it
|
|
588
|
+
* does not; it never infers a status from a vendor offering one. An absent register yields an empty report — the
|
|
589
|
+
* missing register is already named by the population join, and saying it twice would read as two findings.
|
|
590
|
+
*
|
|
591
|
+
* A report, never a refusal (`application-creation-directive.md`): a processing activity with no DPA is the
|
|
592
|
+
* operator's gap to close, and naming it is what lets them.
|
|
425
593
|
*
|
|
426
|
-
*
|
|
427
|
-
*
|
|
428
|
-
*
|
|
429
|
-
* exactly the disagreement wildo-ai/wildo-ai#208 recorded between two renderers in one section.
|
|
594
|
+
* spec-cite: GDPR Art. 28(3), https://gdpr-info.eu/art-28-gdpr/ — "Processing by a processor shall be governed by a
|
|
595
|
+
* contract or other legal act under Union or Member State law, that is binding on the processor with regard to the
|
|
596
|
+
* controller".
|
|
430
597
|
*
|
|
431
|
-
*
|
|
432
|
-
*
|
|
433
|
-
* `configuredProviderRefs` must be the RUNTIME-scoped providers; a build-time companion provider is not in
|
|
434
|
-
* the path of anyone's data. Order follows the configured list, so the answer reads like the composition.
|
|
598
|
+
* assurance-control: WILDO.PRIVACY.THIRD_PARTY_PROCESSING — a processor with no recorded or no in-place DPA is named,
|
|
599
|
+
* so an unrecorded contractual basis does not read as a governed one.
|
|
435
600
|
*/
|
|
436
|
-
export declare function
|
|
601
|
+
export declare function processorAgreementStanding(register: ApplicationProcessorRegister | undefined): ProcessorAgreementStandingReport;
|
|
437
602
|
//# sourceMappingURL=processor-register.schemas.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"processor-register.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/compliance-documents/processor-register.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"processor-register.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/compliance-documents/processor-register.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,0BAA0B,CAAC;AAClC,OAAO,EAGL,KAAK,yBAAyB,EAC/B,MAAM,uBAAuB,CAAC;AAE/B,sHAAsH;AACtH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AAEH;;;;;;GAMG;AACH,eAAO,MAAM,2BAA2B;IACtC,6DAA6D;;IAE7D;;;;;OAKG;;kBAEH,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF;;;;;;;;;;;;;;;GAeG;AACH,oBAAY,0BAA0B;IACpC,oGAAoG;IACpG,mBAAmB,wBAAwB;IAC3C,kHAAkH;IAClH,QAAQ,aAAa;CACtB;AAED;;;;;;;;;;;GAWG;AACH,oBAAY,8BAA8B;IACxC,mJAAmJ;IACnJ,iBAAiB,sBAAsB;IACvC,sHAAsH;IACtH,4BAA4B,iCAAiC;IAC7D,8FAA8F;IAC9F,uBAAuB,4BAA4B;IACnD,6FAA6F;IAC7F,wBAAwB,6BAA6B;IACrD,2FAA2F;IAC3F,sBAAsB,2BAA2B;IACjD,yGAAyG;IACzG,UAAU,eAAe;CAC1B;AAED,0HAA0H;AAC1H,oBAAY,+BAA+B;IACzC,0EAA0E;IAC1E,gBAAgB,qBAAqB;IACrC,sEAAsE;IACtE,qBAAqB,0BAA0B;IAC/C,uGAAuG;IACvG,4BAA4B,iCAAiC;IAC7D,4DAA4D;IAC5D,eAAe,oBAAoB;IAC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