@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,6 +1,8 @@
|
|
|
1
|
-
import { type ApplicationOperatorComplianceIdentity, type ApplicationProviderComplianceChoices, type ApplicationRetentionSchedule, type ErasureRetentionMode } from "@wildo-ai/saas-models";
|
|
1
|
+
import { DataRetentionClass, type ApplicationOperatorComplianceIdentity, type OperatorLawfulBasis, type ApplicationProviderComplianceChoices, type RetentionEnforcementEvidence, type ApplicationRetentionSchedule, type ErasureRetentionMode, type ResourceRetentionBinding, type ResourceStatutoryRetention, type SystemOfRecordPersonalDataOrigin } from "@wildo-ai/saas-models";
|
|
2
2
|
import { ApplicationAssuranceDocumentFactContributionResolutionKind, ComputedDocumentFact, type ApplicationDerivedDocumentFactDeclaration, type ApplicationDocumentFactSpecification } from "../../application-creation/application-document-fact-specification.application-creation.schemas";
|
|
3
3
|
import { type ApplicationProcessorRegister } from "./processor-register.schemas";
|
|
4
|
+
import { type RecipientPopulation } from "./recipient-population.schemas";
|
|
5
|
+
import { SystemOfRecordDataFlowKind, type SystemOfRecordDataFlow } from "./recipient-disclosures.schemas";
|
|
4
6
|
/**
|
|
5
7
|
* Computing the {@link ComputedDocumentFact} members, and laying them over the facts a file declares.
|
|
6
8
|
*
|
|
@@ -17,11 +19,30 @@ export interface ApplicationDocumentFactComputationInputs {
|
|
|
17
19
|
readonly operatorComplianceIdentity: ApplicationOperatorComplianceIdentity | undefined;
|
|
18
20
|
readonly processorRegister: ApplicationProcessorRegister | undefined;
|
|
19
21
|
/**
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
+
* WHO receives personal data, from {@link computeRecipientPopulation} — the same population the evidence
|
|
23
|
+
* collector and the drafting brief read, so the three cannot disagree about who a recipient is (#1707).
|
|
22
24
|
*/
|
|
23
|
-
readonly
|
|
24
|
-
|
|
25
|
+
readonly recipientPopulation: RecipientPopulation;
|
|
26
|
+
/**
|
|
27
|
+
* The system-of-record flows every resource declares (#1709), read off the materialized resources. OPTIONAL:
|
|
28
|
+
* `undefined` means they could not be read, and each system-of-record recipient then reports its categories as not
|
|
29
|
+
* derivable rather than as none.
|
|
30
|
+
*/
|
|
31
|
+
readonly systemOfRecordFlows?: readonly SystemOfRecordDataFlow[] | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* The `systemsOfRecord.<name>.vendor` of each declared instance (#1745), from {@link systemOfRecordVendorsOf} — what
|
|
34
|
+
* the `system-of-record-sources` fact names beside the instance. OPTIONAL: an instance absent here is stated with no
|
|
35
|
+
* vendor rather than guessed.
|
|
36
|
+
*/
|
|
37
|
+
readonly systemOfRecordVendors?: Readonly<Record<string, string>> | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* The `systemsOfRecord.<name>.personalDataOrigin` of each instance that declares one (#1745), from
|
|
40
|
+
* `systemOfRecordPersonalDataOriginsOf` — whether its personal data can have come from publicly accessible sources.
|
|
41
|
+
* An instance absent here has not stated it, and its sources carry no origin, so the notice marks it owed.
|
|
42
|
+
*/
|
|
43
|
+
readonly systemOfRecordPersonalDataOrigins?: Readonly<Record<string, SystemOfRecordPersonalDataOrigin>> | undefined;
|
|
44
|
+
/** `providerComplianceChoices`, read for the purposes each recipient links to (#1709). */
|
|
45
|
+
readonly providerComplianceChoices?: ApplicationProviderComplianceChoices | undefined;
|
|
25
46
|
/** `dataRetention` — the period per data class. Partial by design; absent means no schedule was declared. */
|
|
26
47
|
readonly retentionSchedule: ApplicationRetentionSchedule | undefined;
|
|
27
48
|
/**
|
|
@@ -29,36 +50,140 @@ export interface ApplicationDocumentFactComputationInputs {
|
|
|
29
50
|
* could not be read, which is not the same as "none declared" and must answer nothing.
|
|
30
51
|
*/
|
|
31
52
|
readonly resourceErasureTreatments: readonly ResourceErasureTreatment[] | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* How long each resource's rows are kept, as the resources declare it (#1613): its retention-class
|
|
55
|
+
* binding, and whether a fixed `.ttl()` deletes its rows instead. OPTIONAL and separate from the
|
|
56
|
+
* erasure treatments on purpose — the two are different axes. `undefined` means the bindings could not
|
|
57
|
+
* be read, and the fact then states no mechanism rather than claiming none exists.
|
|
58
|
+
*/
|
|
59
|
+
readonly resourceRetentionBindings?: readonly ResourceRetentionBindingFact[] | undefined;
|
|
32
60
|
/** The `operatingJurisdictions` slugs — where the data comes FROM. `undefined` when none are declared. */
|
|
33
61
|
readonly operatingJurisdictionSlugs: readonly string[] | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* The retention-enforcement records of a window, as the evidence door answered them and the assurance
|
|
64
|
+
* collector recorded them (#1636). OPTIONAL: `undefined` means no evidence was readable, and the
|
|
65
|
+
* `retention-enforcement` fact then answers nothing — its clause is marked owed rather than claiming either
|
|
66
|
+
* enforcement or its absence.
|
|
67
|
+
*/
|
|
68
|
+
readonly retentionEnforcementEvidence?: RetentionEnforcementEvidence | undefined;
|
|
34
69
|
}
|
|
35
70
|
/** One resource's declared erasure treatment. `erasureRetentionMode` is absent when the resource declares none. */
|
|
36
71
|
export interface ResourceErasureTreatment {
|
|
37
72
|
readonly resourceType: string;
|
|
38
73
|
readonly erasureRetentionMode?: ErasureRetentionMode;
|
|
74
|
+
/**
|
|
75
|
+
* The statute that keeps the rows through an erasure (#1635). Present only where the resource declares
|
|
76
|
+
* `retentionPolicy.statutoryRetention`; an erasure then restricts those rows until their period ends.
|
|
77
|
+
*/
|
|
78
|
+
readonly statutoryRetention?: ResourceStatutoryRetention;
|
|
79
|
+
}
|
|
80
|
+
/** One resource's retention binding, as the retention-rules fact reads it. */
|
|
81
|
+
export interface ResourceRetentionBindingFact {
|
|
82
|
+
readonly resourceType: string;
|
|
83
|
+
readonly retentionBinding?: ResourceRetentionBinding;
|
|
84
|
+
readonly declaresRowTtl: boolean;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* WHAT deletes data of a declared class when its period ends — the mechanism a retention clause may name.
|
|
88
|
+
*
|
|
89
|
+
* A statement about the application's CONFIGURATION (which mechanism the declarations wire up), not
|
|
90
|
+
* runtime evidence that the mechanism ran: that is `ComputedDocumentFact.RETENTION_ENFORCEMENT`, computed
|
|
91
|
+
* from the sweep's records (#1636). An empty list here means no mechanism is even wired for the class — a
|
|
92
|
+
* notice must not describe a period nothing applies.
|
|
93
|
+
*/
|
|
94
|
+
export declare enum RetentionPeriodMechanism {
|
|
95
|
+
/** At least one resource binds the class; the retention-class sweep deletes its rows past the period. */
|
|
96
|
+
RETENTION_CLASS_SWEEP = "RETENTION_CLASS_SWEEP",
|
|
97
|
+
/** The FILES class: file bytes released from their rows are destroyed by the files cleanup after the period. */
|
|
98
|
+
FILES_CLEANUP = "FILES_CLEANUP",
|
|
99
|
+
/**
|
|
100
|
+
* The AUDIT_LOGS class: the audit trail is IMMUTABLE and never deleted; the period is its live-store
|
|
101
|
+
* horizon, after which records are copied to the audit archive. A notice must not say audit records
|
|
102
|
+
* are deleted.
|
|
103
|
+
*/
|
|
104
|
+
AUDIT_ARCHIVAL = "AUDIT_ARCHIVAL"
|
|
39
105
|
}
|
|
106
|
+
/** The mechanisms that act on a declared class, given which resources bind it. Pure, so it is pinned directly. */
|
|
107
|
+
export declare function retentionPeriodMechanisms(dataClass: DataRetentionClass, boundResourceCount: number): RetentionPeriodMechanism[];
|
|
40
108
|
/** One computed fact's answer. Always KNOWN: a fact whose inputs are absent produces no answer at all. */
|
|
41
109
|
export interface ComputedDocumentFactAnswer {
|
|
42
110
|
readonly fact: ComputedDocumentFact;
|
|
43
111
|
readonly value: DocumentFactValue;
|
|
112
|
+
/**
|
|
113
|
+
* For a fact computed from RECORDS (`RUNTIME_EVIDENCE` in {@link COMPUTED_DOCUMENT_FACT_AUTHORITY_KINDS}):
|
|
114
|
+
* the instant the evidence describes up to. Required for such a fact, absent for every other.
|
|
115
|
+
*/
|
|
116
|
+
readonly observedAt?: string;
|
|
117
|
+
}
|
|
118
|
+
/** One source of personal data the application did not collect from the person: one resource bound to, or piped from, a system of record. */
|
|
119
|
+
export interface SystemOfRecordSource {
|
|
120
|
+
readonly system: string;
|
|
121
|
+
/** `systemsOfRecord.<name>.vendor`, or `null` when the instance declares none. */
|
|
122
|
+
readonly vendor: string | null;
|
|
123
|
+
readonly resourceType: string;
|
|
124
|
+
readonly flowKind: SystemOfRecordDataFlowKind;
|
|
125
|
+
/**
|
|
126
|
+
* The instance's declared `personalDataOrigin` — the Art. 14(2)(f) "publicly accessible sources" half. ABSENT when the
|
|
127
|
+
* instance states none: that half is then owed, and is never read as "not from public sources".
|
|
128
|
+
*/
|
|
129
|
+
readonly personalDataOrigin?: SystemOfRecordPersonalDataOrigin;
|
|
130
|
+
readonly categories: readonly string[];
|
|
131
|
+
readonly uncategorizedPersonalFields: readonly string[];
|
|
132
|
+
readonly purposes: readonly {
|
|
133
|
+
readonly purposeRef: string;
|
|
134
|
+
readonly purpose: string;
|
|
135
|
+
readonly basis: string;
|
|
136
|
+
}[];
|
|
137
|
+
readonly purposeRefsNamingNoPurpose: readonly string[];
|
|
138
|
+
/** `true` for a pipeline (a local copy), `false` for a read-through binding (nothing kept locally). */
|
|
139
|
+
readonly copiedLocally: boolean;
|
|
140
|
+
/** For a copy, when the bindings were read: no retention class and no `.ttl()` (#1613). Absent otherwise. */
|
|
141
|
+
readonly keptUntilErased?: boolean;
|
|
142
|
+
/** For a copy bound to a retention class, that class. */
|
|
143
|
+
readonly retentionClass?: string;
|
|
44
144
|
}
|
|
45
|
-
/** Every computed fact the inputs can answer, in vocabulary order. */
|
|
46
|
-
export declare function computeApplicationDocumentFacts(inputs: ApplicationDocumentFactComputationInputs): readonly ComputedDocumentFactAnswer[];
|
|
47
145
|
/**
|
|
48
|
-
*
|
|
146
|
+
* Where personal data the application did NOT collect from the person comes from: every resource bound to, or piped
|
|
147
|
+
* from, a declared system of record (#1745) — the ONE derivation the `system-of-record-sources` fact and the evidence
|
|
148
|
+
* collector both call, so what a notice states and what the evidence measures cannot disagree.
|
|
49
149
|
*
|
|
50
|
-
* A
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
* scope and specification ref, so one document reads one scope.
|
|
150
|
+
* A notice owes, for such data, "from which source the personal data originate, and if applicable, whether it came
|
|
151
|
+
* from publicly accessible sources", beside the categories and the purposes and legal basis for the processing.
|
|
152
|
+
* spec-cite: GDPR Art. 14(2)(f), 14(1)(c) and 14(1)(d), https://gdpr-info.eu/art-14-gdpr/.
|
|
54
153
|
*
|
|
55
|
-
*
|
|
154
|
+
* Every part of an entry is a declaration or follows from one:
|
|
155
|
+
* - the SOURCE is the instance the binding names, with its declared vendor — the PROXIMATE source, a deployment the
|
|
156
|
+
* operator runs and reads with its own service identity (#1049 Q2);
|
|
157
|
+
* - the CATEGORIES are the `.dataCategories()` of the fields that come from it ({@link SystemOfRecordDataFlow}), and
|
|
158
|
+
* personal fields that name none are named, so a list that is incomplete says so;
|
|
159
|
+
* - the PURPOSES are the ones the binding links (`binding.purposeRefs`), resolved against the lawful bases; a flow that
|
|
160
|
+
* links none states no purpose, and a ref naming no declared purpose is reported as a broken link;
|
|
161
|
+
* - for a PIPELINE (a local copy), whether the copied rows are kept until erased — no retention class and no `.ttl()`
|
|
162
|
+
* (#1613), which is exactly where a copy of a record the source keeps for years goes unnoticed. A read-through
|
|
163
|
+
* binding keeps nothing locally, so it states `copiedLocally: false` instead.
|
|
56
164
|
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
165
|
+
* A flow that carries no personal data is not a source of personal data and is left out.
|
|
166
|
+
*
|
|
167
|
+
* Whether the data ORIGINATED from publicly accessible sources (the second half of Art. 14(2)(f)) is not a property of
|
|
168
|
+
* the binding: an ERP contact may have been entered from a public register or website. The operator states it per
|
|
169
|
+
* instance (`systemsOfRecord.<name>.personalDataOrigin`) and the entry carries that declaration; an instance stating
|
|
170
|
+
* none gives an entry with no origin, and a notice marks that half owed. Rejected: a constant
|
|
171
|
+
* `publiclyAccessibleSource: false`, which would state a legal fact about the data's origin that nothing derives.
|
|
172
|
+
*
|
|
173
|
+
* Answers `[]` when no system of record is declared — a true statement, not a gap, since no binding can name an
|
|
174
|
+
* undeclared instance. Answers `undefined` when instances are declared and the flows could not be read: an empty list
|
|
175
|
+
* then would say "nothing is obtained from them" about an application whose declarations were simply not read.
|
|
61
176
|
*/
|
|
177
|
+
export declare function deriveSystemOfRecordSources(inputs: {
|
|
178
|
+
readonly recipientPopulation: RecipientPopulation;
|
|
179
|
+
readonly systemOfRecordFlows: readonly SystemOfRecordDataFlow[] | undefined;
|
|
180
|
+
readonly systemOfRecordVendors: Readonly<Record<string, string>> | undefined;
|
|
181
|
+
readonly systemOfRecordPersonalDataOrigins?: Readonly<Record<string, SystemOfRecordPersonalDataOrigin>> | undefined;
|
|
182
|
+
readonly lawfulBases: readonly OperatorLawfulBasis[] | undefined;
|
|
183
|
+
readonly resourceRetentionBindings?: readonly ResourceRetentionBindingFact[] | undefined;
|
|
184
|
+
}): readonly SystemOfRecordSource[] | undefined;
|
|
185
|
+
/** Every computed fact the inputs can answer, in vocabulary order. */
|
|
186
|
+
export declare function computeApplicationDocumentFacts(inputs: ApplicationDocumentFactComputationInputs): readonly ComputedDocumentFactAnswer[];
|
|
62
187
|
export declare function overlayComputedDocumentFacts(stored: ApplicationDocumentFactSpecification, answers: readonly ComputedDocumentFactAnswer[]): ApplicationDocumentFactSpecification;
|
|
63
188
|
export {};
|
|
64
189
|
//# sourceMappingURL=computed-document-facts.schemas.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"computed-document-facts.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/compliance-documents/computed-document-facts.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"computed-document-facts.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/compliance-documents/computed-document-facts.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,kBAAkB,EAIlB,KAAK,qCAAqC,EAC1C,KAAK,mBAAmB,EACxB,KAAK,oCAAoC,EACzC,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EACjC,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,gCAAgC,EACtC,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL,0DAA0D,EAG1D,oBAAoB,EAEpB,KAAK,yCAAyC,EAC9C,KAAK,oCAAoC,EAC1C,MAAM,iGAAiG,CAAC;AAEzG,OAAO,EAIL,KAAK,4BAA4B,EAClC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAoE,KAAK,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAC5I,OAAO,EAA8B,0BAA0B,EAAE,KAAK,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAGtI;;;;;;GAMG;AAEH,0DAA0D;AAC1D,KAAK,iBAAiB,GAAG,OAAO,CAC9B,yCAAyC,EACzC;IAAE,cAAc,EAAE,0DAA0D,CAAC,KAAK,CAAA;CAAE,CACrF,CAAC,OAAO,CAAC,CAAC;AAEX,uHAAuH;AACvH,MAAM,WAAW,wCAAwC;IACvD,QAAQ,CAAC,0BAA0B,EAAE,qCAAqC,GAAG,SAAS,CAAC;IACvF,QAAQ,CAAC,iBAAiB,EAAE,4BAA4B,GAAG,SAAS,CAAC;IACrE;;;OAGG;IACH,QAAQ,CAAC,mBAAmB,EAAE,mBAAmB,CAAC;IAClD;;;;OAIG;IACH,QAAQ,CAAC,mBAAmB,CAAC,EAAE,SAAS,sBAAsB,EAAE,GAAG,SAAS,CAAC;IAC7E;;;;OAIG;IACH,QAAQ,CAAC,qBAAqB,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,SAAS,CAAC;IAC9E;;;;OAIG;IACH,QAAQ,CAAC,iCAAiC,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,gCAAgC,CAAC,CAAC,GAAG,SAAS,CAAC;IACpH,0FAA0F;IAC1F,QAAQ,CAAC,yBAAyB,CAAC,EAAE,oCAAoC,GAAG,SAAS,CAAC;IACtF,6GAA6G;IAC7G,QAAQ,CAAC,iBAAiB,EAAE,4BAA4B,GAAG,SAAS,CAAC;IACrE;;;OAGG;IACH,QAAQ,CAAC,yBAAyB,EAAE,SAAS,wBAAwB,EAAE,GAAG,SAAS,CAAC;IACpF;;;;;OAKG;IACH,QAAQ,CAAC,yBAAyB,CAAC,EAAE,SAAS,4BAA4B,EAAE,GAAG,SAAS,CAAC;IACzF,0GAA0G;IAC1G,QAAQ,CAAC,0BAA0B,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;IACnE;;;;;OAKG;IACH,QAAQ,CAAC,4BAA4B,CAAC,EAAE,4BAA4B,GAAG,SAAS,CAAC;CAClF;AAED,mHAAmH;AACnH,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IACrD;;;OAGG;IACH,QAAQ,CAAC,kBAAkB,CAAC,EAAE,0BAA0B,CAAC;CAC1D;AAED,8EAA8E;AAC9E,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,gBAAgB,CAAC,EAAE,wBAAwB,CAAC;IACrD,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC;CAClC;AAED;;;;;;;GAOG;AACH,oBAAY,wBAAwB;IAClC,yGAAyG;IACzG,qBAAqB,0BAA0B;IAC/C,gHAAgH;IAChH,aAAa,kBAAkB;IAC/B;;;;OAIG;IACH,cAAc,mBAAmB;CAClC;AAED,kHAAkH;AAClH,wBAAgB,yBAAyB,CAAC,SAAS,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,GAAG,wBAAwB,EAAE,CAM/H;AAED,0GAA0G;AAC1G,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,IAAI,EAAE,oBAAoB,CAAC;IACpC,QAAQ,CAAC,KAAK,EAAE,iBAAiB,CAAC;IAClC;;;OAGG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;CAC9B;AAoUD,6IAA6I;AAC7I,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,kFAAkF;IAClF,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,QAAQ,EAAE,0BAA0B,CAAC;IAC9C;;;OAGG;IACH,QAAQ,CAAC,kBAAkB,CAAC,EAAE,gCAAgC,CAAC;IAC/D,QAAQ,CAAC,UAAU,EAAE,SAAS,MAAM,EAAE,CAAC;IACvC,QAAQ,CAAC,2BAA2B,EAAE,SAAS,MAAM,EAAE,CAAC;IACxD,QAAQ,CAAC,QAAQ,EAAE,SAAS;QAAE,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAChH,QAAQ,CAAC,0BAA0B,EAAE,SAAS,MAAM,EAAE,CAAC;IACvD,uGAAuG;IACvG,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAC;IAChC,6GAA6G;IAC7G,QAAQ,CAAC,eAAe,CAAC,EAAE,OAAO,CAAC;IACnC,yDAAyD;IACzD,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;CAClC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,wBAAgB,2BAA2B,CAAC,MAAM,EAAE;IAClD,QAAQ,CAAC,mBAAmB,EAAE,mBAAmB,CAAC;IAClD,QAAQ,CAAC,mBAAmB,EAAE,SAAS,sBAAsB,EAAE,GAAG,SAAS,CAAC;IAC5E,QAAQ,CAAC,qBAAqB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,SAAS,CAAC;IAC7E,QAAQ,CAAC,iCAAiC,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,gCAAgC,CAAC,CAAC,GAAG,SAAS,CAAC;IACpH,QAAQ,CAAC,WAAW,EAAE,SAAS,mBAAmB,EAAE,GAAG,SAAS,CAAC;IACjE,QAAQ,CAAC,yBAAyB,CAAC,EAAE,SAAS,4BAA4B,EAAE,GAAG,SAAS,CAAC;CAC1F,GAAG,SAAS,oBAAoB,EAAE,GAAG,SAAS,CAoC9C;AAgBD,sEAAsE;AACtE,wBAAgB,+BAA+B,CAAC,MAAM,EAAE,wCAAwC,GAAG,SAAS,0BAA0B,EAAE,CAiBvI;AA+BD,wBAAgB,4BAA4B,CAC1C,MAAM,EAAE,oCAAoC,EAC5C,OAAO,EAAE,SAAS,0BAA0B,EAAE,GAC7C,oCAAoC,CA4CtC"}
|
|
@@ -1,7 +1,42 @@
|
|
|
1
|
-
import { complaintRouteUnderRegime, dataProtectionRegimeOf, OperatorProcessingRole, rightsUnderRegime, subjectRequestResponderFor, undeclaredRetentionClasses, } from "@wildo-ai/saas-models";
|
|
2
|
-
import { ApplicationAssuranceDocumentFactContributionResolutionKind, ApplicationDocumentFactSpecificationSchema, ComputedDocumentFact, } from "../../application-creation/application-document-fact-specification.application-creation.schemas.js";
|
|
1
|
+
import { complaintRouteUnderRegime, dataProtectionRegimeOf, OperatorProcessingRole, rightsUnderRegime, subjectRequestResponderFor, DataRetentionClass, undeclaredRetentionClasses, isKeptUntilErased, RETENTION_CLASS_SWEEP_INTERVAL_MS, } from "@wildo-ai/saas-models";
|
|
2
|
+
import { ApplicationAssuranceDocumentFactContributionResolutionKind, ApplicationDocumentFactSpecificationSchema, COMPUTED_DOCUMENT_FACT_AUTHORITY_KINDS, ComputedDocumentFact, computedDocumentFactOf, } from "../../application-creation/application-document-fact-specification.application-creation.schemas.js";
|
|
3
3
|
import { AssuranceDocumentFactAuthorityKind } from "../../assurance.exports.js";
|
|
4
|
-
import {
|
|
4
|
+
import { processorProcessingRegions, ProcessorRegisterEntryKind, ProcessorTransferDeterminationKind, } from "./processor-register.schemas.js";
|
|
5
|
+
import { joinRecipientPopulationToRegister, RecipientPopulationMemberKind } from "./recipient-population.schemas.js";
|
|
6
|
+
import { deriveRecipientDisclosures, SystemOfRecordDataFlowKind } from "./recipient-disclosures.schemas.js";
|
|
7
|
+
import { deriveRetentionEnforcementFacts } from "./retention-enforcement-facts.schemas.js";
|
|
8
|
+
/**
|
|
9
|
+
* WHAT deletes data of a declared class when its period ends — the mechanism a retention clause may name.
|
|
10
|
+
*
|
|
11
|
+
* A statement about the application's CONFIGURATION (which mechanism the declarations wire up), not
|
|
12
|
+
* runtime evidence that the mechanism ran: that is `ComputedDocumentFact.RETENTION_ENFORCEMENT`, computed
|
|
13
|
+
* from the sweep's records (#1636). An empty list here means no mechanism is even wired for the class — a
|
|
14
|
+
* notice must not describe a period nothing applies.
|
|
15
|
+
*/
|
|
16
|
+
export var RetentionPeriodMechanism;
|
|
17
|
+
(function (RetentionPeriodMechanism) {
|
|
18
|
+
/** At least one resource binds the class; the retention-class sweep deletes its rows past the period. */
|
|
19
|
+
RetentionPeriodMechanism["RETENTION_CLASS_SWEEP"] = "RETENTION_CLASS_SWEEP";
|
|
20
|
+
/** The FILES class: file bytes released from their rows are destroyed by the files cleanup after the period. */
|
|
21
|
+
RetentionPeriodMechanism["FILES_CLEANUP"] = "FILES_CLEANUP";
|
|
22
|
+
/**
|
|
23
|
+
* The AUDIT_LOGS class: the audit trail is IMMUTABLE and never deleted; the period is its live-store
|
|
24
|
+
* horizon, after which records are copied to the audit archive. A notice must not say audit records
|
|
25
|
+
* are deleted.
|
|
26
|
+
*/
|
|
27
|
+
RetentionPeriodMechanism["AUDIT_ARCHIVAL"] = "AUDIT_ARCHIVAL";
|
|
28
|
+
})(RetentionPeriodMechanism || (RetentionPeriodMechanism = {}));
|
|
29
|
+
/** The mechanisms that act on a declared class, given which resources bind it. Pure, so it is pinned directly. */
|
|
30
|
+
export function retentionPeriodMechanisms(dataClass, boundResourceCount) {
|
|
31
|
+
const mechanisms = [];
|
|
32
|
+
if (boundResourceCount > 0)
|
|
33
|
+
mechanisms.push(RetentionPeriodMechanism.RETENTION_CLASS_SWEEP);
|
|
34
|
+
if (dataClass === DataRetentionClass.FILES)
|
|
35
|
+
mechanisms.push(RetentionPeriodMechanism.FILES_CLEANUP);
|
|
36
|
+
if (dataClass === DataRetentionClass.AUDIT_LOGS)
|
|
37
|
+
mechanisms.push(RetentionPeriodMechanism.AUDIT_ARCHIVAL);
|
|
38
|
+
return mechanisms;
|
|
39
|
+
}
|
|
5
40
|
/**
|
|
6
41
|
* How public each computed fact is. Every one is published in a privacy notice, so every one is public;
|
|
7
42
|
* the table exists so a member added later must state its own sensitivity rather than inherit one.
|
|
@@ -13,6 +48,10 @@ const COMPUTED_DOCUMENT_FACT_SENSITIVITY_REFS = {
|
|
|
13
48
|
[ComputedDocumentFact.RETENTION_RULES]: "sensitivity:public",
|
|
14
49
|
[ComputedDocumentFact.INTERNATIONAL_TRANSFERS]: "sensitivity:public",
|
|
15
50
|
[ComputedDocumentFact.RIGHTS_AND_COMPLAINT_ROUTE]: "sensitivity:public",
|
|
51
|
+
// Counts and resource types, published in the notice's retention section.
|
|
52
|
+
[ComputedDocumentFact.RETENTION_ENFORCEMENT]: "sensitivity:public",
|
|
53
|
+
// Instance names, vendors, resource types and categories, published in the notice's data-and-sources section.
|
|
54
|
+
[ComputedDocumentFact.SYSTEM_OF_RECORD_SOURCES]: "sensitivity:public",
|
|
16
55
|
};
|
|
17
56
|
/**
|
|
18
57
|
* The operator as controller or processor, and how a person reaches it about privacy.
|
|
@@ -48,17 +87,21 @@ function computeControllerAndContact(identity) {
|
|
|
48
87
|
* and an answer computed from it would state "no recipients" about an application whose recipients
|
|
49
88
|
* are simply undeclared.
|
|
50
89
|
*
|
|
51
|
-
* With a register, the gaps are part of the answer rather than a reason to withhold it.
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
90
|
+
* With a register, the gaps are part of the answer rather than a reason to withhold it. An operator
|
|
91
|
+
* sub-processor with no established identity is IN USE, and saying so is true. A register entry that no
|
|
92
|
+
* data path reaches is named so a drafter does not publish it. A self-hosted provider is named as
|
|
93
|
+
* operator-run, so it is never mistaken for a third party. A TENANT recipient — a vendor reached only
|
|
94
|
+
* through a tenant's or a person's own connected account — is named separately: it is the tenant's vendor,
|
|
95
|
+
* not the operator's sub-processor, and a register entry for one is named as a misstatement. A declared
|
|
96
|
+
* member no data path reaches is named so it is neither published nor lost. The classification is
|
|
97
|
+
* {@link joinRecipientPopulationToRegister} over {@link computeRecipientPopulation}, the same one the
|
|
98
|
+
* drafter's brief renders and the evidence collector measures.
|
|
56
99
|
*/
|
|
57
100
|
function computeRecipientsAndProcessors(inputs) {
|
|
58
101
|
const register = inputs.processorRegister;
|
|
59
102
|
if (register === undefined)
|
|
60
103
|
return undefined;
|
|
61
|
-
const classification =
|
|
104
|
+
const classification = joinRecipientPopulationToRegister(inputs.recipientPopulation, register);
|
|
62
105
|
return {
|
|
63
106
|
// A JSON round trip rather than a hand-listed projection: the register is already JSON-shaped, and a
|
|
64
107
|
// field added to it later must reach the fact without an edit here. It also drops absent optional keys.
|
|
@@ -67,6 +110,21 @@ function computeRecipientsAndProcessors(inputs) {
|
|
|
67
110
|
configuredProvidersWithoutEstablishedIdentity: [...classification.undeclaredProviderRefs],
|
|
68
111
|
registeredProvidersNotConfigured: [...classification.staleProviderRefs],
|
|
69
112
|
operatorRunProviderRefs: [...classification.operatorRunProviderRefs],
|
|
113
|
+
tenantRecipientRefs: [...classification.tenantRecipientRefs],
|
|
114
|
+
registeredTenantRecipientRefs: [...classification.registeredTenantRecipientRefs],
|
|
115
|
+
declaredWithoutDataPathRefs: [...classification.declaredWithoutDataPathRefs],
|
|
116
|
+
/*
|
|
117
|
+
* Per recipient: the categories its DECLARED flows carry, and the purposes its choice links to (#1709). A
|
|
118
|
+
* recipient whose flow declares no field map carries `categoriesNotDerivable` — the notice must say what is
|
|
119
|
+
* not established rather than list nothing. The law asks for categories of data and of recipients (GDPR Art.
|
|
120
|
+
* 30(1)(c), (d); Art. 13(1)(e)); stating which reach which is the practice that keeps them consistent.
|
|
121
|
+
*/
|
|
122
|
+
recipientDisclosures: JSON.parse(JSON.stringify(deriveRecipientDisclosures({
|
|
123
|
+
population: inputs.recipientPopulation,
|
|
124
|
+
systemOfRecordFlows: inputs.systemOfRecordFlows,
|
|
125
|
+
providerComplianceChoices: inputs.providerComplianceChoices,
|
|
126
|
+
lawfulBases: inputs.operatorComplianceIdentity?.lawfulBases,
|
|
127
|
+
}))),
|
|
70
128
|
};
|
|
71
129
|
}
|
|
72
130
|
/**
|
|
@@ -82,6 +140,8 @@ function computeLawfulBases(identity) {
|
|
|
82
140
|
return {
|
|
83
141
|
bases: identity.lawfulBases.map((entry) => ({
|
|
84
142
|
purpose: entry.purpose,
|
|
143
|
+
// The stable id recipients link to (#1709), so a drafter can join a recipient's purposes to this list.
|
|
144
|
+
...(entry.purposeRef === undefined ? {} : { purposeRef: entry.purposeRef }),
|
|
85
145
|
basis: entry.basis,
|
|
86
146
|
...(entry.assessmentNote === undefined ? {} : { assessmentNote: entry.assessmentNote }),
|
|
87
147
|
})),
|
|
@@ -102,6 +162,11 @@ function computeLawfulBases(identity) {
|
|
|
102
162
|
* as complete without it is the failure above). With both, undeclared classes and resources declaring no
|
|
103
163
|
* treatment are PART of the answer, named, exactly as the recipients fact names its gaps: the schedule is
|
|
104
164
|
* partial on purpose and a notice marks the rest as owed.
|
|
165
|
+
*
|
|
166
|
+
* When the resources' retention bindings were readable (#1613), each period also names the resources bound
|
|
167
|
+
* to it and the {@link RetentionPeriodMechanism}s that act on it — an EMPTY list is "declared, not yet
|
|
168
|
+
* enforced", so a notice never describes a period nothing applies — and the resources bound to no class are
|
|
169
|
+
* named, because they are kept until erased and nobody decided otherwise.
|
|
105
170
|
*/
|
|
106
171
|
function computeRetentionRules(inputs) {
|
|
107
172
|
const schedule = inputs.retentionSchedule;
|
|
@@ -109,15 +174,52 @@ function computeRetentionRules(inputs) {
|
|
|
109
174
|
if (schedule === undefined || treatments === undefined)
|
|
110
175
|
return undefined;
|
|
111
176
|
const byResource = [...treatments].sort((left, right) => (left.resourceType < right.resourceType ? -1 : 1));
|
|
177
|
+
// #1613: which resources bind each class, and which bind nothing. Only when the bindings were readable —
|
|
178
|
+
// otherwise the fact names no mechanism rather than implying none exists.
|
|
179
|
+
const bindings = inputs.resourceRetentionBindings;
|
|
180
|
+
const boundByClass = new Map();
|
|
181
|
+
for (const binding of bindings ?? []) {
|
|
182
|
+
if (!binding.retentionBinding)
|
|
183
|
+
continue;
|
|
184
|
+
const list = boundByClass.get(binding.retentionBinding.retentionClass) ?? [];
|
|
185
|
+
list.push(binding.resourceType);
|
|
186
|
+
boundByClass.set(binding.retentionBinding.retentionClass, list);
|
|
187
|
+
}
|
|
112
188
|
return {
|
|
113
189
|
periods: Object.entries(schedule)
|
|
114
190
|
.filter((entry) => entry[1] !== undefined)
|
|
115
|
-
.map(([dataClass, period]) =>
|
|
191
|
+
.map(([dataClass, period]) => {
|
|
192
|
+
const bound = [...(boundByClass.get(dataClass) ?? [])].sort();
|
|
193
|
+
return {
|
|
194
|
+
dataClass,
|
|
195
|
+
retentionDays: period.retentionDays,
|
|
196
|
+
rationale: period.rationale,
|
|
197
|
+
...(bindings === undefined ? {} : {
|
|
198
|
+
boundResourceTypes: bound,
|
|
199
|
+
mechanisms: retentionPeriodMechanisms(dataClass, bound.length),
|
|
200
|
+
}),
|
|
201
|
+
};
|
|
202
|
+
})
|
|
116
203
|
.sort((left, right) => (left.dataClass < right.dataClass ? -1 : 1)),
|
|
204
|
+
...(bindings === undefined ? {} : {
|
|
205
|
+
// Kept until erased: no class binding and no `.ttl()`. Undecided, and named so it stays visible.
|
|
206
|
+
resourcesBoundToNoRetentionClass: bindings
|
|
207
|
+
.filter(isKeptUntilErased)
|
|
208
|
+
.map((binding) => binding.resourceType)
|
|
209
|
+
.sort(),
|
|
210
|
+
}),
|
|
117
211
|
classesWithoutDeclaredPeriod: [...undeclaredRetentionClasses(schedule)],
|
|
118
212
|
erasureTreatments: byResource
|
|
119
213
|
.filter((treatment) => treatment.erasureRetentionMode !== undefined)
|
|
120
|
-
.map((treatment) => ({
|
|
214
|
+
.map((treatment) => ({
|
|
215
|
+
resourceType: treatment.resourceType,
|
|
216
|
+
erasureRetentionMode: treatment.erasureRetentionMode,
|
|
217
|
+
// #1635: the rows are kept RESTRICTED through an erasure because a statute requires it, until the period
|
|
218
|
+
// ends. The notice names the ground and the law; it never says the erasure is refused because of them.
|
|
219
|
+
...(treatment.statutoryRetention === undefined
|
|
220
|
+
? {}
|
|
221
|
+
: { statutoryRetention: { ground: treatment.statutoryRetention.ground, rationale: treatment.statutoryRetention.rationale } }),
|
|
222
|
+
})),
|
|
121
223
|
resourcesWithoutDeclaredErasureTreatment: byResource
|
|
122
224
|
.filter((treatment) => treatment.erasureRetentionMode === undefined)
|
|
123
225
|
.map((treatment) => treatment.resourceType),
|
|
@@ -147,7 +249,7 @@ function computeInternationalTransfers(inputs) {
|
|
|
147
249
|
if (register === undefined || origins === undefined)
|
|
148
250
|
return undefined;
|
|
149
251
|
const refOf = (processor) => processor.kind === ProcessorRegisterEntryKind.CONFIGURED_PROVIDER ? processor.providerRef : processor.subprocessorRef;
|
|
150
|
-
const classification =
|
|
252
|
+
const classification = joinRecipientPopulationToRegister(inputs.recipientPopulation, register);
|
|
151
253
|
const safeguardGaps = [];
|
|
152
254
|
for (const processor of register.processors) {
|
|
153
255
|
const determination = processor.transferDetermination;
|
|
@@ -218,19 +320,146 @@ function computeRightsAndComplaintRoute(inputs) {
|
|
|
218
320
|
responseOwnership: responsibility.map((entry) => ({ dataScope: entry.dataScope, respondedBy: entry.respondedBy })),
|
|
219
321
|
};
|
|
220
322
|
}
|
|
323
|
+
/**
|
|
324
|
+
* Per declared class, whether its period is ENFORCED, only DECLARED, or FAILING — read from the records the
|
|
325
|
+
* retention-class sweep wrote (#1636). The first `RUNTIME_EVIDENCE` answer.
|
|
326
|
+
*
|
|
327
|
+
* Answers nothing unless the schedule, the bindings AND the evidence were all readable: without the schedule
|
|
328
|
+
* there is no declared class to speak of, without the bindings "no bound resource" cannot be told from "could
|
|
329
|
+
* not read them", and without the evidence nothing is known about what the product did. Each absence leaves the
|
|
330
|
+
* fact absent, so the clause resting on it is marked owed rather than reading "declared, not enforced" about an
|
|
331
|
+
* application whose records simply were not collected.
|
|
332
|
+
*/
|
|
333
|
+
function computeRetentionEnforcement(inputs) {
|
|
334
|
+
const evidence = inputs.retentionEnforcementEvidence;
|
|
335
|
+
if (inputs.retentionSchedule === undefined || inputs.resourceRetentionBindings === undefined || evidence === undefined)
|
|
336
|
+
return undefined;
|
|
337
|
+
const observedAt = new Date(evidence.window.to);
|
|
338
|
+
if (Number.isNaN(observedAt.getTime()))
|
|
339
|
+
return undefined;
|
|
340
|
+
const facts = deriveRetentionEnforcementFacts({
|
|
341
|
+
evidence,
|
|
342
|
+
schedule: inputs.retentionSchedule,
|
|
343
|
+
bindings: inputs.resourceRetentionBindings,
|
|
344
|
+
observedAt,
|
|
345
|
+
sweepIntervalMs: RETENTION_CLASS_SWEEP_INTERVAL_MS,
|
|
346
|
+
});
|
|
347
|
+
// Per class, the mechanisms that act on it and that these records CANNOT evidence (#1636 review): the audit trail
|
|
348
|
+
// is archived, never swept, and file bytes are destroyed by the files cleanup. So ENFORCED on AUDIT_LOGS or FILES
|
|
349
|
+
// speaks only for the resources bound to the class — the side tables — and a notice must not read it as covering
|
|
350
|
+
// the audit trail or the stored files. Derived from `retentionPeriodMechanisms`, the same table retention-rules uses.
|
|
351
|
+
const classes = facts.classes.map((entry) => ({
|
|
352
|
+
...entry,
|
|
353
|
+
mechanismsNotEvidencedByTheseRecords: retentionPeriodMechanisms(entry.dataClass, entry.boundResourceTypes.length)
|
|
354
|
+
.filter((mechanism) => mechanism !== RetentionPeriodMechanism.RETENTION_CLASS_SWEEP),
|
|
355
|
+
}));
|
|
356
|
+
// A JSON round trip: the derivation's answer is JSON-shaped by construction and drops absent optional keys.
|
|
357
|
+
return {
|
|
358
|
+
fact: ComputedDocumentFact.RETENTION_ENFORCEMENT,
|
|
359
|
+
value: JSON.parse(JSON.stringify({ ...facts, classes })),
|
|
360
|
+
observedAt: facts.observedAt,
|
|
361
|
+
};
|
|
362
|
+
}
|
|
363
|
+
/**
|
|
364
|
+
* Where personal data the application did NOT collect from the person comes from: every resource bound to, or piped
|
|
365
|
+
* from, a declared system of record (#1745) — the ONE derivation the `system-of-record-sources` fact and the evidence
|
|
366
|
+
* collector both call, so what a notice states and what the evidence measures cannot disagree.
|
|
367
|
+
*
|
|
368
|
+
* A notice owes, for such data, "from which source the personal data originate, and if applicable, whether it came
|
|
369
|
+
* from publicly accessible sources", beside the categories and the purposes and legal basis for the processing.
|
|
370
|
+
* spec-cite: GDPR Art. 14(2)(f), 14(1)(c) and 14(1)(d), https://gdpr-info.eu/art-14-gdpr/.
|
|
371
|
+
*
|
|
372
|
+
* Every part of an entry is a declaration or follows from one:
|
|
373
|
+
* - the SOURCE is the instance the binding names, with its declared vendor — the PROXIMATE source, a deployment the
|
|
374
|
+
* operator runs and reads with its own service identity (#1049 Q2);
|
|
375
|
+
* - the CATEGORIES are the `.dataCategories()` of the fields that come from it ({@link SystemOfRecordDataFlow}), and
|
|
376
|
+
* personal fields that name none are named, so a list that is incomplete says so;
|
|
377
|
+
* - the PURPOSES are the ones the binding links (`binding.purposeRefs`), resolved against the lawful bases; a flow that
|
|
378
|
+
* links none states no purpose, and a ref naming no declared purpose is reported as a broken link;
|
|
379
|
+
* - for a PIPELINE (a local copy), whether the copied rows are kept until erased — no retention class and no `.ttl()`
|
|
380
|
+
* (#1613), which is exactly where a copy of a record the source keeps for years goes unnoticed. A read-through
|
|
381
|
+
* binding keeps nothing locally, so it states `copiedLocally: false` instead.
|
|
382
|
+
*
|
|
383
|
+
* A flow that carries no personal data is not a source of personal data and is left out.
|
|
384
|
+
*
|
|
385
|
+
* Whether the data ORIGINATED from publicly accessible sources (the second half of Art. 14(2)(f)) is not a property of
|
|
386
|
+
* the binding: an ERP contact may have been entered from a public register or website. The operator states it per
|
|
387
|
+
* instance (`systemsOfRecord.<name>.personalDataOrigin`) and the entry carries that declaration; an instance stating
|
|
388
|
+
* none gives an entry with no origin, and a notice marks that half owed. Rejected: a constant
|
|
389
|
+
* `publiclyAccessibleSource: false`, which would state a legal fact about the data's origin that nothing derives.
|
|
390
|
+
*
|
|
391
|
+
* Answers `[]` when no system of record is declared — a true statement, not a gap, since no binding can name an
|
|
392
|
+
* undeclared instance. Answers `undefined` when instances are declared and the flows could not be read: an empty list
|
|
393
|
+
* then would say "nothing is obtained from them" about an application whose declarations were simply not read.
|
|
394
|
+
*/
|
|
395
|
+
export function deriveSystemOfRecordSources(inputs) {
|
|
396
|
+
const declaresInstance = inputs.recipientPopulation.members.some((member) => member.kind === RecipientPopulationMemberKind.SYSTEM_OF_RECORD);
|
|
397
|
+
if (!declaresInstance)
|
|
398
|
+
return [];
|
|
399
|
+
const flows = inputs.systemOfRecordFlows;
|
|
400
|
+
if (flows === undefined)
|
|
401
|
+
return undefined;
|
|
402
|
+
const basesByRef = new Map((inputs.lawfulBases ?? []).flatMap((entry) => (entry.purposeRef === undefined ? [] : [[entry.purposeRef, entry]])));
|
|
403
|
+
const bindingByResource = inputs.resourceRetentionBindings === undefined ? undefined
|
|
404
|
+
: new Map(inputs.resourceRetentionBindings.map((binding) => [binding.resourceType, binding]));
|
|
405
|
+
return flows
|
|
406
|
+
.filter((flow) => flow.categories.length > 0 || flow.uncategorizedPersonalFields.length > 0)
|
|
407
|
+
.map((flow) => {
|
|
408
|
+
const copied = flow.kind === SystemOfRecordDataFlowKind.PIPELINE;
|
|
409
|
+
const binding = bindingByResource?.get(flow.resourceType);
|
|
410
|
+
const personalDataOrigin = inputs.systemOfRecordPersonalDataOrigins?.[flow.system];
|
|
411
|
+
return {
|
|
412
|
+
system: flow.system,
|
|
413
|
+
vendor: inputs.systemOfRecordVendors?.[flow.system] ?? null,
|
|
414
|
+
resourceType: flow.resourceType,
|
|
415
|
+
flowKind: flow.kind,
|
|
416
|
+
...(personalDataOrigin === undefined ? {} : { personalDataOrigin }),
|
|
417
|
+
categories: [...flow.categories],
|
|
418
|
+
uncategorizedPersonalFields: [...flow.uncategorizedPersonalFields],
|
|
419
|
+
purposes: flow.purposeRefs.flatMap((purposeRef) => {
|
|
420
|
+
const basis = basesByRef.get(purposeRef);
|
|
421
|
+
return basis === undefined ? [] : [{ purposeRef, purpose: basis.purpose, basis: basis.basis }];
|
|
422
|
+
}),
|
|
423
|
+
purposeRefsNamingNoPurpose: flow.purposeRefs.filter((purposeRef) => !basesByRef.has(purposeRef)),
|
|
424
|
+
copiedLocally: copied,
|
|
425
|
+
// Only for a copy, and only when the bindings were readable: otherwise "kept until erased" cannot be told from
|
|
426
|
+
// "not read", and the key is absent rather than false.
|
|
427
|
+
...(copied && binding !== undefined
|
|
428
|
+
? { keptUntilErased: isKeptUntilErased(binding), ...(binding.retentionBinding === undefined ? {} : { retentionClass: binding.retentionBinding.retentionClass }) }
|
|
429
|
+
: {}),
|
|
430
|
+
};
|
|
431
|
+
})
|
|
432
|
+
.sort((left, right) => (`${left.system}/${left.resourceType}/${left.flowKind}` < `${right.system}/${right.resourceType}/${right.flowKind}` ? -1 : 1));
|
|
433
|
+
}
|
|
434
|
+
/** The `system-of-record-sources` fact: {@link deriveSystemOfRecordSources}, JSON-shaped. */
|
|
435
|
+
function computeSystemOfRecordSources(inputs) {
|
|
436
|
+
const sources = deriveSystemOfRecordSources({
|
|
437
|
+
recipientPopulation: inputs.recipientPopulation,
|
|
438
|
+
systemOfRecordFlows: inputs.systemOfRecordFlows,
|
|
439
|
+
systemOfRecordVendors: inputs.systemOfRecordVendors,
|
|
440
|
+
systemOfRecordPersonalDataOrigins: inputs.systemOfRecordPersonalDataOrigins,
|
|
441
|
+
lawfulBases: inputs.operatorComplianceIdentity?.lawfulBases,
|
|
442
|
+
resourceRetentionBindings: inputs.resourceRetentionBindings,
|
|
443
|
+
});
|
|
444
|
+
// A JSON round trip: the derivation's answer is JSON-shaped by construction and drops absent optional keys.
|
|
445
|
+
return sources === undefined ? undefined : JSON.parse(JSON.stringify({ sources }));
|
|
446
|
+
}
|
|
221
447
|
/** Every computed fact the inputs can answer, in vocabulary order. */
|
|
222
448
|
export function computeApplicationDocumentFacts(inputs) {
|
|
449
|
+
const declared = (fact, value) => value === undefined ? undefined : { fact, value };
|
|
223
450
|
const computers = {
|
|
224
|
-
[ComputedDocumentFact.CONTROLLER_AND_CONTACT]: () => computeControllerAndContact(inputs.operatorComplianceIdentity),
|
|
225
|
-
[ComputedDocumentFact.RECIPIENTS_AND_PROCESSORS]: () => computeRecipientsAndProcessors(inputs),
|
|
226
|
-
[ComputedDocumentFact.LAWFUL_BASES]: () => computeLawfulBases(inputs.operatorComplianceIdentity),
|
|
227
|
-
[ComputedDocumentFact.RETENTION_RULES]: () => computeRetentionRules(inputs),
|
|
228
|
-
[ComputedDocumentFact.INTERNATIONAL_TRANSFERS]: () => computeInternationalTransfers(inputs),
|
|
229
|
-
[ComputedDocumentFact.RIGHTS_AND_COMPLAINT_ROUTE]: () => computeRightsAndComplaintRoute(inputs),
|
|
451
|
+
[ComputedDocumentFact.CONTROLLER_AND_CONTACT]: () => declared(ComputedDocumentFact.CONTROLLER_AND_CONTACT, computeControllerAndContact(inputs.operatorComplianceIdentity)),
|
|
452
|
+
[ComputedDocumentFact.RECIPIENTS_AND_PROCESSORS]: () => declared(ComputedDocumentFact.RECIPIENTS_AND_PROCESSORS, computeRecipientsAndProcessors(inputs)),
|
|
453
|
+
[ComputedDocumentFact.LAWFUL_BASES]: () => declared(ComputedDocumentFact.LAWFUL_BASES, computeLawfulBases(inputs.operatorComplianceIdentity)),
|
|
454
|
+
[ComputedDocumentFact.RETENTION_RULES]: () => declared(ComputedDocumentFact.RETENTION_RULES, computeRetentionRules(inputs)),
|
|
455
|
+
[ComputedDocumentFact.INTERNATIONAL_TRANSFERS]: () => declared(ComputedDocumentFact.INTERNATIONAL_TRANSFERS, computeInternationalTransfers(inputs)),
|
|
456
|
+
[ComputedDocumentFact.RIGHTS_AND_COMPLAINT_ROUTE]: () => declared(ComputedDocumentFact.RIGHTS_AND_COMPLAINT_ROUTE, computeRightsAndComplaintRoute(inputs)),
|
|
457
|
+
[ComputedDocumentFact.RETENTION_ENFORCEMENT]: () => computeRetentionEnforcement(inputs),
|
|
458
|
+
[ComputedDocumentFact.SYSTEM_OF_RECORD_SOURCES]: () => declared(ComputedDocumentFact.SYSTEM_OF_RECORD_SOURCES, computeSystemOfRecordSources(inputs)),
|
|
230
459
|
};
|
|
231
460
|
return Object.values(ComputedDocumentFact).flatMap((fact) => {
|
|
232
|
-
const
|
|
233
|
-
return
|
|
461
|
+
const answer = computers[fact]();
|
|
462
|
+
return answer === undefined ? [] : [answer];
|
|
234
463
|
});
|
|
235
464
|
}
|
|
236
465
|
/**
|
|
@@ -248,15 +477,45 @@ export function computeApplicationDocumentFacts(inputs) {
|
|
|
248
477
|
* produced yet" makes a citation check skip, while "declares only these two" makes it refuse every other
|
|
249
478
|
* citation. The computed facts join the application's facts; they do not stand in for them.
|
|
250
479
|
*/
|
|
480
|
+
/**
|
|
481
|
+
* The authority a computed answer is stamped with: the fact's tier from {@link COMPUTED_DOCUMENT_FACT_AUTHORITY_KINDS},
|
|
482
|
+
* never a default. A RUNTIME_EVIDENCE fact carries the instant its evidence describes; one produced without
|
|
483
|
+
* that instant is a defect in its computation and is refused here rather than stamped as specification.
|
|
484
|
+
*/
|
|
485
|
+
function computedFactAuthority(answer) {
|
|
486
|
+
const common = { authorityRef: `document-fact-authority:${answer.fact}`, authorityVersion: 1 };
|
|
487
|
+
if (COMPUTED_DOCUMENT_FACT_AUTHORITY_KINDS[answer.fact] === AssuranceDocumentFactAuthorityKind.RUNTIME_EVIDENCE) {
|
|
488
|
+
if (answer.observedAt === undefined)
|
|
489
|
+
throw new Error(`Computed fact "${answer.fact}" is runtime evidence and was produced without its observedAt instant`);
|
|
490
|
+
return { factAuthorityKind: AssuranceDocumentFactAuthorityKind.RUNTIME_EVIDENCE, ...common, observedAt: answer.observedAt };
|
|
491
|
+
}
|
|
492
|
+
return { factAuthorityKind: AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION, ...common };
|
|
493
|
+
}
|
|
251
494
|
export function overlayComputedDocumentFacts(stored, answers) {
|
|
252
|
-
if (answers.length === 0)
|
|
253
|
-
return stored;
|
|
254
495
|
const declarationRefOf = (fact) => `document-fact-declaration:${fact}`;
|
|
255
|
-
const
|
|
256
|
-
|
|
496
|
+
const everyComputedDeclarationRef = new Set(Object.values(ComputedDocumentFact).map(declarationRefOf));
|
|
497
|
+
// A stored copy of ANY computed fact is dropped, answered or not (#1636 review). It used to be dropped only
|
|
498
|
+
// when the runtime had an answer to replace it with, so an unanswered fact let the copy through — and for
|
|
499
|
+
// `retention-enforcement` that is a typed "ENFORCED" under RUNTIME_EVIDENCE authority reaching a notice
|
|
500
|
+
// whose records were never collected. A stored copy is never the answer; absent is.
|
|
501
|
+
const isComputedCopy = (declaration) => computedDocumentFactOf(declaration.factRef) !== undefined || everyComputedDeclarationRef.has(declaration.declarationRef);
|
|
502
|
+
if (answers.length === 0 && !stored.declarations.some(isComputedCopy))
|
|
503
|
+
return stored;
|
|
257
504
|
// The family schema requires at least one declaration, so a parsed specification always has a first.
|
|
258
505
|
const governanceScope = stored.declarations[0].governanceScope;
|
|
259
|
-
|
|
506
|
+
let kept = stored.declarations.filter((declaration) => !isComputedCopy(declaration));
|
|
507
|
+
if (kept.length === 0 && answers.length === 0) {
|
|
508
|
+
// Degenerate: the file holds nothing but copies of computed facts, and nothing was computed. The family
|
|
509
|
+
// cannot be empty, so keep the copies that claim no runtime evidence (the validator reports them at every
|
|
510
|
+
// landing) and never one that claims RUNTIME_EVIDENCE. A file of runtime-evidence copies alone is returned
|
|
511
|
+
// as it is — the one residual, and one only a hand edit could produce (landing validation reports it as
|
|
512
|
+
// DOCUMENT_FACT_IS_COMPUTED). It exists because the stored-file schema must admit RUNTIME_EVIDENCE for the
|
|
513
|
+
// overlaid view to validate; the clean closure is a separate schema for the overlaid view, keeping that tier
|
|
514
|
+
// out of the stored-file schema — not done yet, and recorded here rather than left implicit.
|
|
515
|
+
kept = stored.declarations.filter((declaration) => declaration.authority?.factAuthorityKind !== AssuranceDocumentFactAuthorityKind.RUNTIME_EVIDENCE);
|
|
516
|
+
if (kept.length === 0)
|
|
517
|
+
return stored;
|
|
518
|
+
}
|
|
260
519
|
const computed = answers.map((answer) => ({
|
|
261
520
|
declarationRef: declarationRefOf(answer.fact),
|
|
262
521
|
declarationVersion: 1,
|
|
@@ -264,11 +523,7 @@ export function overlayComputedDocumentFacts(stored, answers) {
|
|
|
264
523
|
factVersion: 1,
|
|
265
524
|
governanceScope,
|
|
266
525
|
sensitivityRef: COMPUTED_DOCUMENT_FACT_SENSITIVITY_REFS[answer.fact],
|
|
267
|
-
authority:
|
|
268
|
-
factAuthorityKind: AssuranceDocumentFactAuthorityKind.APPLICATION_SPECIFICATION,
|
|
269
|
-
authorityRef: `document-fact-authority:${answer.fact}`,
|
|
270
|
-
authorityVersion: 1,
|
|
271
|
-
},
|
|
526
|
+
authority: computedFactAuthority(answer),
|
|
272
527
|
resolutionKind: ApplicationAssuranceDocumentFactContributionResolutionKind.KNOWN,
|
|
273
528
|
value: answer.value,
|
|
274
529
|
}));
|