@wildo-ai/saas-specifications 1.1.9 → 1.1.11
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 +5 -4
- 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 +5 -4
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js.map +1 -1
- package/dist/esm/_catalogs/schema-org/index.js +1 -1
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js +1 -1
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js.map +1 -1
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +11 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -1
- package/dist/esm/_core/application-specification-family-identity.schemas.js +11 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-choice.d.ts +72 -10
- package/dist/esm/_core/brand/brand-name-choice.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-choice.js +144 -24
- package/dist/esm/_core/brand/brand-name-choice.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.d.ts +41 -1
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.js +19 -3
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-validation.d.ts +7 -1
- package/dist/esm/_core/brand/brand-name-screening-validation.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-validation.js +24 -3
- package/dist/esm/_core/brand/brand-name-screening-validation.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-view.d.ts +61 -9
- package/dist/esm/_core/brand/brand-name-screening-view.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-view.js +42 -1
- package/dist/esm/_core/brand/brand-name-screening-view.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts +130 -2
- package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening.schemas.js +165 -3
- package/dist/esm/_core/brand/brand-name-screening.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts +25 -7
- package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-visual-tone.schemas.js +26 -8
- package/dist/esm/_core/brand/brand-visual-tone.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +76 -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 +7 -2
- 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 +21 -3
- 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 +411 -13
- 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 +281 -8
- 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.js +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts +4 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js +3 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts +6 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js +20 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts +1 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts +1 -0
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js +7 -0
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +4 -3
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js +4 -3
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.d.ts +265 -0
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.js +371 -0
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts +55 -5
- 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 +66 -2
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts +42 -2
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js +174 -1
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +4 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js +10 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts +102 -10
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js +128 -25
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts +28 -0
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.js +36 -1
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts +15 -0
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.js +15 -0
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts +21 -10
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js +130 -14
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js.map +1 -1
- package/dist/esm/_core/data-seed-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/data-seed-specification.schemas.js +5 -1
- package/dist/esm/_core/data-seed-specification.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts +32 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.js +41 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts +33 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.js +134 -9
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts +117 -0
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js +118 -0
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +1 -0
- 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 +22 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts +17 -1
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js +21 -5
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts +7 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.js +39 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js +31 -5
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts +81 -9
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js +88 -7
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +13 -6
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js +13 -6
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
- package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.registry.js +2 -0
- package/dist/esm/_core/family-aspects.registry.js.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.d.ts +24 -0
- package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.js +20 -0
- 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 +6 -6
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js +2 -2
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js.map +1 -1
- package/dist/esm/_core/index.d.ts +6 -0
- package/dist/esm/_core/index.d.ts.map +1 -1
- package/dist/esm/_core/index.js +6 -0
- package/dist/esm/_core/index.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +1 -0
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.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 +2 -1
- 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 +26 -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 +21 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-references.schemas.d.ts +7 -0
- package/dist/esm/_core/market/market-references.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-references.schemas.js +13 -1
- package/dist/esm/_core/market/market-references.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +18 -12
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js +46 -17
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/market/market.family-aspects.js +4 -1
- package/dist/esm/_core/market/market.family-aspects.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts +15 -3
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js +6 -3
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +12 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.js +56 -3
- package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +9 -0
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +83 -0
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js +102 -2
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +3 -2
- package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/functional-requirement.schemas.js +8 -2
- package/dist/esm/_core/requirements/functional-requirement.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts +1 -0
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.js +2 -0
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-pain-coverage.d.ts +41 -0
- package/dist/esm/_core/requirements/requirements-pain-coverage.d.ts.map +1 -0
- package/dist/esm/_core/requirements/requirements-pain-coverage.js +63 -0
- package/dist/esm/_core/requirements/requirements-pain-coverage.js.map +1 -0
- package/dist/esm/_core/requirements/requirements-references.schemas.d.ts +1 -1
- package/dist/esm/_core/requirements/requirements-references.schemas.js +1 -1
- package/dist/esm/_core/requirements/requirements-references.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts +16 -0
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js +12 -1
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts +13 -2
- package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.js +32 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +65 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.js +53 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.js +2 -0
- package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.d.ts +56 -15
- package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.js +73 -13
- package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts +1 -16
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.js +3 -17
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts +2 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js +2 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts +1 -1
- package/dist/esm/_core/service-method/service-method-derivation.d.ts +155 -0
- package/dist/esm/_core/service-method/service-method-derivation.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method-derivation.js +410 -0
- package/dist/esm/_core/service-method/service-method-derivation.js.map +1 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.d.ts +86 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.js +28 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.js.map +1 -0
- package/dist/esm/_core/service-method/service-method-validation.d.ts +35 -0
- package/dist/esm/_core/service-method/service-method-validation.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method-validation.js +75 -0
- package/dist/esm/_core/service-method/service-method-validation.js.map +1 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.d.ts +3 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.js +59 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.js.map +1 -0
- package/dist/esm/_core/service-method/service-method.schemas.d.ts +385 -0
- package/dist/esm/_core/service-method/service-method.schemas.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method.schemas.js +372 -0
- package/dist/esm/_core/service-method/service-method.schemas.js.map +1 -0
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts +37 -5
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.js +34 -6
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts +29 -3
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-validation.js +97 -5
- package/dist/esm/_core/website-plan/website-plan-validation.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.family-aspects.js +6 -1
- package/dist/esm/_core/website-plan/website-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts +521 -15
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.schemas.js +703 -23
- package/dist/esm/_core/website-plan/website-plan.schemas.js.map +1 -1
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.d.ts +78 -0
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.d.ts.map +1 -0
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.js +92 -0
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.js.map +1 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +26 -0
- 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 +14 -0
- 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 +21 -5
- 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 +22 -4
- 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 +119 -10
- package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-line.application-creation.schemas.js +140 -7
- package/dist/esm/application-creation/application-line.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts +7 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts.map +1 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.js +7 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.js.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +4 -2
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.js +4 -2
- package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +103 -15
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js +151 -21
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts +1 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js +1 -0
- package/dist/esm/application-creation/structured-artifact-landing.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/application-risk-signals.derivations.d.ts +36 -2
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts.map +1 -1
- package/dist/esm/assurance/application-risk-signals.derivations.js +52 -4
- package/dist/esm/assurance/application-risk-signals.derivations.js.map +1 -1
- package/dist/esm/assurance/assurance-assessment-twins.d.ts +38 -0
- package/dist/esm/assurance/assurance-assessment-twins.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-assessment-twins.js +36 -0
- package/dist/esm/assurance/assurance-assessment-twins.js.map +1 -0
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +608 -9
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.js +2962 -1078
- package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +15 -0
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.js +1 -0
- package/dist/esm/assurance/assurance-authority-basis.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts +2 -0
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.js +138 -19
- package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts +65 -0
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.js +13 -0
- package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts +81 -6
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.js +68 -7
- package/dist/esm/assurance/assurance-evidence-judgement.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 +1631 -70
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-host-implementation-artifacts.d.ts +77 -0
- package/dist/esm/assurance/assurance-host-implementation-artifacts.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-host-implementation-artifacts.js +51 -0
- package/dist/esm/assurance/assurance-host-implementation-artifacts.js.map +1 -0
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +3 -2
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js +327 -3
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.d.ts +12 -0
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.js +19 -0
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.js.map +1 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.d.ts +403 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.js +825 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.js.map +1 -0
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +83 -8
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.js +167 -20
- package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.d.ts +234 -35
- package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.js +255 -14
- package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts +2 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.js +259 -18
- package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.d.ts +17 -0
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.js +216 -0
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.js.map +1 -0
- package/dist/esm/assurance/assurance-sources.schemas.d.ts +110 -0
- package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.js +111 -1
- package/dist/esm/assurance/assurance-sources.schemas.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 +356 -5
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/governed-document-audience.derivations.d.ts +83 -0
- package/dist/esm/assurance/governed-document-audience.derivations.d.ts.map +1 -0
- package/dist/esm/assurance/governed-document-audience.derivations.js +97 -0
- package/dist/esm/assurance/governed-document-audience.derivations.js.map +1 -0
- package/dist/esm/assurance/governed-document-release.d.ts +15 -1
- package/dist/esm/assurance/governed-document-release.d.ts.map +1 -1
- package/dist/esm/assurance/governed-document-release.js +3 -1
- package/dist/esm/assurance/governed-document-release.js.map +1 -1
- package/dist/esm/assurance.exports.d.ts +4 -0
- package/dist/esm/assurance.exports.d.ts.map +1 -1
- package/dist/esm/assurance.exports.js +4 -0
- package/dist/esm/assurance.exports.js.map +1 -1
- package/dist/esm/companion-exports.d.ts +9 -1
- 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 -1
- 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 +33 -5
- 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 +9 -12
- 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 +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 +60 -6
- 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.js +4 -4
- 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 +1 -0
- package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.js +2 -2
- 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 +12 -4
- 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 +46 -10
- 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.d.ts +3 -2
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js +15 -4
- 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 -1
- 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 +40 -11
- 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 -1
- 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 +44 -3
- 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 +7 -3
- 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 +40 -8
- 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 +14 -8
- 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 +72 -19
- 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 +2 -2
- 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 +6 -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 +14 -13
- 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 +2 -2
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.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 +68 -12
- 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.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +75 -19
- 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 +3 -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 +11 -7
- 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 +2 -0
- 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 +2 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts +4 -2
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js +8 -7
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js +6 -6
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts +2 -2
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts +4 -0
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.js +4 -1
- 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 +9 -5
- 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 +16 -8
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.d.ts +73 -0
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.js +192 -0
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts +5 -3
- 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 +19 -13
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts +11 -6
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js +14 -3
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.d.ts +37 -0
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.js +161 -0
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js +1 -1
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.js +55 -11
- 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 +300 -5
- package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
- package/dist/esm/engine/features/core-limits.feature.specifications.d.ts +10 -4
- package/dist/esm/engine/features/core-limits.feature.specifications.d.ts.map +1 -1
- package/dist/esm/engine/features/core-limits.feature.specifications.js +100 -5
- package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
- package/dist/esm/engine/features/custom-branding.feature.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/custom-branding.feature.specification.js +7 -3
- package/dist/esm/engine/features/custom-branding.feature.specification.js.map +1 -1
- package/dist/esm/engine/features/index.d.ts +4 -2
- package/dist/esm/engine/features/index.d.ts.map +1 -1
- package/dist/esm/engine/features/index.js +6 -4
- package/dist/esm/engine/features/index.js.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.js +2 -2
- 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.map +1 -1
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js +34 -15
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.d.ts +4 -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 +24 -3
- 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 +31 -3
- 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 +6 -6
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.d.ts +30 -0
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.js +181 -0
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.js +110 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.js +286 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.js +147 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js +71 -26
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.js +92 -0
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.d.ts +46 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.js +196 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +73 -31
- 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 +118 -18
- 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 +3 -0
- 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 -4
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.js +184 -0
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js +17 -5
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js +47 -7
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.js +118 -0
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.js +230 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.js +151 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.d.ts +23 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.js +124 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.js +114 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.js.map +1 -0
- 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 +45 -3
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.js +6 -0
- package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.js +78 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js +3 -3
- 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/graph/ai-canvas.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.js.map +1 -0
- 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 +3 -2
- 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 +3 -3
- package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js +2 -1
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js +3 -2
- 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/auth/public-layout-chat-identity-link.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js +1 -1
- 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/badge.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.js +7 -0
- package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.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 +6 -6
- 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/flows-actors/low-level-ai-execution-usage.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.js +24 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.js +6 -6
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.js +128 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.js +139 -0
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.js +5 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/index.d.ts +7 -0
- package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/index.js +29 -0
- package/dist/esm/engine/frontend-components/index.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.js +3 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.js +27 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js +3 -1
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.d.ts +24 -0
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.js +136 -0
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js +6 -1
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.js +110 -0
- package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js +10 -4
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js +20 -2
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js +6 -6
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js +5 -5
- 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-requested-keys.resource.specification.d.ts +10 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.js +118 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js +54 -8
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js.map +1 -1
- 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 +9 -0
- 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.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js +33 -5
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +21 -4
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +3 -3
- 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/post-commit-effect-outbox.resource.specification.d.ts +10 -0
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.js +159 -0
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts +5 -5
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js +38 -10
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.js +100 -0
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.d.ts +37 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.js +181 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts +3 -3
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js +7 -7
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts +31 -1
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js +33 -7
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts +16 -14
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js +56 -53
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts +6 -2
- 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 +22 -4
- 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 +2 -2
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts +2 -0
- 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 +3 -3
- 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 +1 -0
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js +43 -2
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/index.d.ts +0 -1
- package/dist/esm/engine/notifications/system-emails/index.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/index.js +1 -3
- package/dist/esm/engine/notifications/system-emails/index.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts +1 -1
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.js +25 -15
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js +13 -13
- package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/index.d.ts +1 -2
- package/dist/esm/engine/organizations/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/index.js +1 -2
- package/dist/esm/engine/organizations/resources/index.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +5 -4
- 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 +114 -51
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts +11 -10
- 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 +10 -7
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/{service-provider-relationships.resource.specification.d.ts → organization-relationships.resource.specification.d.ts} +73 -56
- package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.js +643 -0
- package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.js.map +1 -0
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts +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 +6 -4
- 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.js +2 -2
- 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 +4 -4
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +93 -43
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.d.ts +39 -0
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.js +140 -0
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.js.map +1 -0
- package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/github.provider.specification.js +8 -5
- package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/google-drive.provider.specification.d.ts +6 -0
- package/dist/esm/engine/providers/google-drive.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/google-drive.provider.specification.js +39 -0
- package/dist/esm/engine/providers/google-drive.provider.specification.js.map +1 -0
- 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-onedrive.provider.specification.d.ts +6 -0
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.js +39 -0
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/mistral.provider.specification.js +2 -2
- package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/resend.provider.specification.js +8 -6
- package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js +1 -1
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js.map +1 -1
- package/dist/esm/engine/roles/index.d.ts +2 -2
- package/dist/esm/engine/roles/index.d.ts.map +1 -1
- package/dist/esm/engine/roles/index.js +5 -5
- package/dist/esm/engine/roles/index.js.map +1 -1
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts +1 -1
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js +24 -24
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js.map +1 -1
- package/dist/esm/engine/roles/org-representative.role.specification.d.ts +2 -0
- package/dist/esm/engine/roles/org-representative.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/org-representative.role.specification.js +22 -0
- package/dist/esm/engine/roles/org-representative.role.specification.js.map +1 -0
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts +1 -0
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +7 -5
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts +3 -3
- 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/user-credentials.resource.specification.js +3 -3
- 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.d.ts +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +13 -1
- 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 +1 -0
- 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 +2 -0
- 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 +4 -0
- 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 +3 -3
- 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 +1 -1
- 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 +4 -0
- 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 +6 -2
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts +1 -0
- 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 +33 -0
- 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 +2 -1
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.js +10 -4
- 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 +17 -15
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
- package/package.json +8 -8
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts +0 -6
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts.map +0 -1
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.js +0 -146
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.js.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts +0 -38
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js +0 -152
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.d.ts.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js +0 -417
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js.map +0 -1
- package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts +0 -2
- package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts.map +0 -1
- package/dist/esm/engine/roles/org-service-provider.role.specification.js +0 -22
- package/dist/esm/engine/roles/org-service-provider.role.specification.js.map +0 -1
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { AiUseDeclarationSource, AiUseRiskTier, CoreAuditableEventType, type AgentAiUseDeclaration, type AgentOperationEvidence, type AiDecisionConsequence, type AiUseDomain, type EngineCapability, type ApplicationAiUsePosture } from "@wildo-ai/saas-models";
|
|
3
|
+
import { type ApplicationProcessorRegister } from "./processor-register.schemas";
|
|
4
|
+
import { type RecipientPopulation } from "./recipient-population.schemas";
|
|
5
|
+
/**
|
|
6
|
+
* # What AI an application runs, and whether its agents' guardrails ran — two computed document facts (#2847)
|
|
7
|
+
*
|
|
8
|
+
* A privacy notice's automated-decisions clause and a service terms' AI clause used to rest on prose a model wrote from
|
|
9
|
+
* the brief, stamped `APPLICATION_SPECIFICATION` whatever it was drawn from. These two derivations replace that prose
|
|
10
|
+
* with FUNCTIONS of the product (`.claude/rules/compliance-is-derived-from-the-product.md`):
|
|
11
|
+
*
|
|
12
|
+
* - {@link deriveAiUseInventory} — the `ai-use-inventory` fact, from the application's AI-use DECLARATIONS (#2838): every
|
|
13
|
+
* use of the contracted service, at the capability or on the agent that runs it, with its domain, consequence, human
|
|
14
|
+
* review, the providers that serve it, and — only where the EU AI Act reaches the application (#2852) — its candidate
|
|
15
|
+
* class. `APPLICATION_SPECIFICATION`, earned: the whole answer is a projection of typed declarations.
|
|
16
|
+
* - {@link deriveAiContentGuardrailFacts} — the `ai-content-guardrails` fact, from the RECORDS the evidence plane
|
|
17
|
+
* collected (#2841's operation record, #2292's guardrail audit events): per agent, the guardrails it declares and
|
|
18
|
+
* whether each RAN in the window. `RUNTIME_EVIDENCE`: it says what the product did.
|
|
19
|
+
*
|
|
20
|
+
* Both are pure and JSON-shaped, called where the application's facts are read and never stored. Neither refuses
|
|
21
|
+
* anything: a gap (an undeclared use, a high-risk candidate, a guardrail with no recorded run) is PART of the answer,
|
|
22
|
+
* named, the way the recipients fact names its gaps (`application-creation-directive.md`: compliance marks, never blocks).
|
|
23
|
+
*/
|
|
24
|
+
/** Where the application's AI uses stand against the AI regulations the framework reads (#2852). */
|
|
25
|
+
export declare enum AiUseRegulatoryScope {
|
|
26
|
+
/** The application operates where the EU AI Act reaches: each use carries its candidate class under it. */
|
|
27
|
+
EU_AI_ACT = "EU_AI_ACT",
|
|
28
|
+
/**
|
|
29
|
+
* The application declares where it operates and no AI regulation the framework reads reaches it there. The uses are
|
|
30
|
+
* stated without a regulatory reading: describing them in an Act's terms would apply a law that does not bind them.
|
|
31
|
+
*/
|
|
32
|
+
NO_AI_REGULATION_REACHES = "NO_AI_REGULATION_REACHES",
|
|
33
|
+
/** The application declares no operating jurisdiction, so which AI regulation binds it is OWED, never guessed. */
|
|
34
|
+
JURISDICTION_NOT_DECLARED = "JURISDICTION_NOT_DECLARED"
|
|
35
|
+
}
|
|
36
|
+
/** The application's AI-use declarations, as the `ai-use-inventory` and `ai-content-guardrails` facts read them. */
|
|
37
|
+
export interface ApplicationAiUseInventoryInput {
|
|
38
|
+
/**
|
|
39
|
+
* The declared engine capabilities that reach the CONTRACTED SERVICE, from `partitionCapabilitiesByContractedService`
|
|
40
|
+
* — the one rule the brief, the evidence collector and these facts share (#2838).
|
|
41
|
+
*/
|
|
42
|
+
readonly contractedServiceCapabilities: readonly string[];
|
|
43
|
+
/** The declared capabilities that serve only the build. Named in the answer as outside the service, never dropped. */
|
|
44
|
+
readonly authoringOnlyCapabilities: readonly string[];
|
|
45
|
+
/** `aiUsePosture`: the uses declared at the capability, for the AI no agent carries. */
|
|
46
|
+
readonly capabilityPosture: ApplicationAiUsePosture | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* The application's agents, from `projectAgentAiUseDeclarations` through the introspection door. `undefined` means NOT
|
|
49
|
+
* READ, which is never "no agents": an agent-level declaration then counts for nothing, so a fact that would list a use
|
|
50
|
+
* as undeclared is not computed at all.
|
|
51
|
+
*/
|
|
52
|
+
readonly agents: readonly AgentAiUseDeclaration[] | undefined;
|
|
53
|
+
}
|
|
54
|
+
/** One provider that serves an AI use, joined to the processor register. */
|
|
55
|
+
export interface AiUseServingProvider {
|
|
56
|
+
readonly providerRef: string;
|
|
57
|
+
/** Bound to a runtime scope of the application (the recipient population). An agent's provider bound only to the build is not. */
|
|
58
|
+
readonly runtimeScoped: boolean;
|
|
59
|
+
/** The operator runs it (`SELF_HOSTED`): no third party receives what the model is sent. */
|
|
60
|
+
readonly operatorRun: boolean;
|
|
61
|
+
/** Whether the processor register establishes it; `null` when there is no register to read. */
|
|
62
|
+
readonly onProcessorRegister: boolean | null;
|
|
63
|
+
/** From its register entry; `null` when the register does not establish it. */
|
|
64
|
+
readonly legalEntityName: string | null;
|
|
65
|
+
readonly processingRegions: readonly string[] | null;
|
|
66
|
+
}
|
|
67
|
+
/** One AI use of the contracted service, as the `ai-use-inventory` fact states it. JSON-shaped. */
|
|
68
|
+
export interface AiUseInventoryEntry {
|
|
69
|
+
readonly source: AiUseDeclarationSource;
|
|
70
|
+
readonly ref: string;
|
|
71
|
+
readonly capability: EngineCapability;
|
|
72
|
+
readonly purpose: string;
|
|
73
|
+
/** `null` when the use declares no domain: its class is owed. */
|
|
74
|
+
readonly domain: AiUseDomain | null;
|
|
75
|
+
readonly consequence: AiDecisionConsequence;
|
|
76
|
+
readonly humanReview: {
|
|
77
|
+
/** The declared `humanReviewArrangement`, or `null` when none is declared (a `NO_DECISION` use owes none). */
|
|
78
|
+
readonly declaredArrangement: string | null;
|
|
79
|
+
/** An agent whose every changing tool waits for a person's approval: the gates ARE its review (`deriveAgentWriteOversight`). */
|
|
80
|
+
readonly derivedFromApprovalGates: boolean;
|
|
81
|
+
/** The agent's changing tools that wait for approval, and those that do not. Empty for a capability-level use. */
|
|
82
|
+
readonly gatedWriteToolRefs: readonly string[];
|
|
83
|
+
readonly ungatedWriteToolRefs: readonly string[];
|
|
84
|
+
/** Tool refs the application does not register, which the reading could not see. */
|
|
85
|
+
readonly unresolvedToolRefs: readonly string[];
|
|
86
|
+
};
|
|
87
|
+
/** `null` for an agent whose configuration provider could not be read. */
|
|
88
|
+
readonly providers: readonly AiUseServingProvider[] | null;
|
|
89
|
+
/**
|
|
90
|
+
* The candidate class under the EU AI Act. PRESENT only when the regulatory scope is `EU_AI_ACT`; `null` there when
|
|
91
|
+
* the use declares no domain. A candidate the operator confirms, never a legal conclusion.
|
|
92
|
+
*/
|
|
93
|
+
readonly aiActReading?: {
|
|
94
|
+
readonly tier: AiUseRiskTier;
|
|
95
|
+
readonly annexIIIArea?: number;
|
|
96
|
+
readonly article5Point?: string;
|
|
97
|
+
readonly appliesFrom?: string;
|
|
98
|
+
/**
|
|
99
|
+
* Wildo does not support high-risk AI systems yet, nor offers anything for a prohibited practice (Paul, 2026-10-18):
|
|
100
|
+
* a high-risk or prohibited CANDIDATE is stated as such, with this mark, and never refused or hidden.
|
|
101
|
+
*/
|
|
102
|
+
readonly notSupportedYet: boolean;
|
|
103
|
+
readonly exemptionNotApplicable: boolean;
|
|
104
|
+
readonly exemptionVoidedByProfiling: boolean;
|
|
105
|
+
readonly classificationOwed: boolean;
|
|
106
|
+
} | null;
|
|
107
|
+
}
|
|
108
|
+
/** What {@link deriveAiUseInventory} answers: a KNOWN value, or a recorded "does not apply" with its reason. */
|
|
109
|
+
export type AiUseInventoryAnswer = {
|
|
110
|
+
readonly applies: true;
|
|
111
|
+
readonly value: Record<string, unknown>;
|
|
112
|
+
} | {
|
|
113
|
+
readonly applies: false;
|
|
114
|
+
readonly notApplicableReason: string;
|
|
115
|
+
};
|
|
116
|
+
/**
|
|
117
|
+
* The `ai-use-inventory` fact: every AI use of the contracted service, from the application's declarations (#2847).
|
|
118
|
+
*
|
|
119
|
+
* Answers NOTHING (`undefined`) — the fact stays absent and its clauses are marked owed — when:
|
|
120
|
+
* - the AI-use input was not read (the capabilities were not declared or not readable); or
|
|
121
|
+
* - an agent can run on a contracted-service AI capability and the agents could not be read, because every agent-level
|
|
122
|
+
* declaration would then read as missing, and a fact listing a declared use as OUTSTANDING is false.
|
|
123
|
+
*
|
|
124
|
+
* Answers NOT APPLICABLE, with its reason, when no AI capability reaches the contracted service: a positive, checkable
|
|
125
|
+
* statement that the service performs no AI processing, which a clause may cite (a recorded "does not apply" is a
|
|
126
|
+
* finding, never silence). The capabilities that serve only the build are named in the reason, so the statement is
|
|
127
|
+
* about the SERVICE and does not deny a capability the application enables.
|
|
128
|
+
*
|
|
129
|
+
* Otherwise every gap is part of the answer: a capability or agent declaring no use (`undeclaredCapabilities`,
|
|
130
|
+
* `undeclaredAgentRefs`), a use declaring no domain (`domainOwedRefs`), a declaration the posture schema refuses
|
|
131
|
+
* (`invalidDeclarations`), and, under the EU AI Act, every high-risk and prohibited-practice CANDIDATE — listed, marked
|
|
132
|
+
* `notSupportedYet`, and never left out of what reads as the application's AI.
|
|
133
|
+
*
|
|
134
|
+
* The regulatory reading appears ONLY when the application operates where the EU AI Act reaches (#2852). Elsewhere each
|
|
135
|
+
* use is stated without one, and the scope says why: no regulation reaches, or no jurisdiction is declared.
|
|
136
|
+
*
|
|
137
|
+
* assurance-control: WILDO.AI.USE_CLASSIFICATION — the AI uses a governed document states are computed from the
|
|
138
|
+
* declarations, with their derived class, rather than written as prose.
|
|
139
|
+
*/
|
|
140
|
+
export declare function deriveAiUseInventory(inputs: {
|
|
141
|
+
readonly aiUses: ApplicationAiUseInventoryInput | undefined;
|
|
142
|
+
readonly recipientPopulation: RecipientPopulation;
|
|
143
|
+
readonly processorRegister: ApplicationProcessorRegister | undefined;
|
|
144
|
+
readonly operatingJurisdictionSlugs: readonly string[] | undefined;
|
|
145
|
+
}): AiUseInventoryAnswer | undefined;
|
|
146
|
+
/**
|
|
147
|
+
* The four guardrail audit events whose committed EMITTED measurements this fact reads (#2292 Phase 4c): the
|
|
148
|
+
* `requiredAuditEventMembers` of `WILDO.AI.UNTRUSTED_CONTENT_SCREENING` and `WILDO.AI.OUTPUT_MODERATION` C3.
|
|
149
|
+
*
|
|
150
|
+
* They fire only on a quarantine, a withholding or a failure. So they COUNT outcomes and never show that a guardrail
|
|
151
|
+
* ran: a clean window and a guardrail that never ran both show zero. Whether a guardrail ran is read from the operation
|
|
152
|
+
* record's positive counts instead.
|
|
153
|
+
*/
|
|
154
|
+
export declare const AI_CONTENT_GUARDRAIL_AUDIT_EVENT_TYPES: readonly [CoreAuditableEventType.AGENT_CONTENT_QUARANTINED, CoreAuditableEventType.AGENT_CONTENT_SCREENING_FAILED, CoreAuditableEventType.AGENT_OUTPUT_WITHHELD, CoreAuditableEventType.AGENT_OUTPUT_MODERATION_FAILED];
|
|
155
|
+
/** One of {@link AI_CONTENT_GUARDRAIL_AUDIT_EVENT_TYPES}: a reader keying a table on it gets a compile error for a missing type. */
|
|
156
|
+
export type AiContentGuardrailAuditEventType = (typeof AI_CONTENT_GUARDRAIL_AUDIT_EVENT_TYPES)[number];
|
|
157
|
+
/**
|
|
158
|
+
* One committed EMITTED measurement: how many rows of one audit event type the window held, and the CONTROL that makes a
|
|
159
|
+
* zero meaningful. The collector writes a measurement even when its control found no row of ANY type in the window, and
|
|
160
|
+
* calls that zero UNCONTROLLED: it cannot be told apart from a query that returns nothing. So the control is required
|
|
161
|
+
* here, and a measurement without one reads as not collected.
|
|
162
|
+
*/
|
|
163
|
+
export declare const AiContentGuardrailAuditEventMeasurementSchema: z.ZodObject<{
|
|
164
|
+
count: z.ZodNumber;
|
|
165
|
+
window: z.ZodObject<{
|
|
166
|
+
from: z.ZodString;
|
|
167
|
+
to: z.ZodString;
|
|
168
|
+
}, z.core.$strip>;
|
|
169
|
+
control: z.ZodObject<{
|
|
170
|
+
kind: z.ZodString;
|
|
171
|
+
count: z.ZodNumber;
|
|
172
|
+
}, z.core.$strip>;
|
|
173
|
+
}, z.core.$strip>;
|
|
174
|
+
export type AiContentGuardrailAuditEventMeasurement = z.infer<typeof AiContentGuardrailAuditEventMeasurementSchema>;
|
|
175
|
+
/** The committed evidence the `ai-content-guardrails` fact is computed from. */
|
|
176
|
+
export interface AiContentGuardrailEvidence {
|
|
177
|
+
/** The agent-operation evidence door's answer (#2841), as the engine-store collector committed it. */
|
|
178
|
+
readonly operationRecords: AgentOperationEvidence;
|
|
179
|
+
/** Per audit event type, its committed EMITTED measurement. A type absent here was not collected, which is never zero. */
|
|
180
|
+
readonly auditEventMeasurements: Readonly<Partial<Record<string, AiContentGuardrailAuditEventMeasurement>>>;
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* Parse the committed answers into {@link AiContentGuardrailEvidence}: the ONE place a JSON-crossed answer is read.
|
|
184
|
+
*
|
|
185
|
+
* `undefined` when the operation-record evidence is absent or does not parse — including a door answer recorded before
|
|
186
|
+
* the per-agent counts existed, which cannot say what each agent's guardrails did. An audit measurement that does not
|
|
187
|
+
* parse is dropped, and reads as not collected.
|
|
188
|
+
*/
|
|
189
|
+
export declare function parseAiContentGuardrailEvidence(input: {
|
|
190
|
+
readonly operationRecordsEvidence: unknown;
|
|
191
|
+
readonly auditEventMeasurements: Readonly<Record<string, unknown>>;
|
|
192
|
+
}): AiContentGuardrailEvidence | undefined;
|
|
193
|
+
/** Whether a guardrail audit event's count can be stated, and why not when it cannot. */
|
|
194
|
+
export declare enum AiContentGuardrailAuditCountStanding {
|
|
195
|
+
/** Collected, with a control that found rows in the window: the count is a real count, a zero included. */
|
|
196
|
+
COUNTED = "COUNTED",
|
|
197
|
+
/** Collected, and the control found no row of any type in the window: the count proves nothing, so none is stated. */
|
|
198
|
+
UNCONTROLLED = "UNCONTROLLED",
|
|
199
|
+
/** No committed measurement (or one that does not parse): nothing was collected, which is never zero. */
|
|
200
|
+
NOT_COLLECTED = "NOT_COLLECTED"
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* What the operation records show about one guardrail of one agent in the window.
|
|
204
|
+
*
|
|
205
|
+
* Read from the VERDICT counts (`screenedResults`, `judgedOutputs`, and for personal data the treated operations), never
|
|
206
|
+
* from the operations on which the guardrail was merely ACTIVE (`screenedOperations`, `moderatedOperations`): a guardrail
|
|
207
|
+
* switched on for a call that read no tool result, or wrote nothing, is active and judged nothing.
|
|
208
|
+
*/
|
|
209
|
+
export declare enum AiContentGuardrailRunObservation {
|
|
210
|
+
/** A positive signal: the records hold at least one verdict of this guardrail for the agent. */
|
|
211
|
+
RAN = "RAN",
|
|
212
|
+
/**
|
|
213
|
+
* The agent was called in the window and no record carries a verdict of this guardrail. NOT "not enforced": screening
|
|
214
|
+
* has nothing to judge on a call that read no tool result, and the records say nothing either way about a call that
|
|
215
|
+
* left no record. It says the window holds no run, and a document says exactly that.
|
|
216
|
+
*/
|
|
217
|
+
NO_RUN_RECORDED = "NO_RUN_RECORDED",
|
|
218
|
+
/**
|
|
219
|
+
* The window holds no operation record of the agent. NOT "the agent was not called": a call whose record failed to
|
|
220
|
+
* write is attributed to no agent (`callsWithoutOperationRecord`), so this says only what the records hold. A window
|
|
221
|
+
* with no record and no agent call at all is no evidence, and the fact is then absent rather than reading this for
|
|
222
|
+
* every agent.
|
|
223
|
+
*/
|
|
224
|
+
NO_OPERATION_RECORDED = "NO_OPERATION_RECORDED"
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* The `ai-content-guardrails` fact (#2847): per agent of the contracted service, the content guardrails it DECLARES and
|
|
228
|
+
* whether each RAN in the window, from the records the evidence plane collected. `RUNTIME_EVIDENCE`.
|
|
229
|
+
*
|
|
230
|
+
* ## Ran is read from a POSITIVE signal, never from silence
|
|
231
|
+
*
|
|
232
|
+
* The operation record (#2841) carries, per call, what each guardrail decided: the personal fields withheld, the tool
|
|
233
|
+
* results screened, the outputs judged. Those counts going above zero is what RAN means. The guardrail audit events are
|
|
234
|
+
* the wrong source for it: they fire only on a quarantine, a withholding or a failure, so a clean window and a guardrail
|
|
235
|
+
* that never ran look the same there. They are read for what they ARE — the counts of outcomes — and stated beside, per
|
|
236
|
+
* event type, with their own window.
|
|
237
|
+
*
|
|
238
|
+
* Ran is stated per guardrail regardless of the declaration, because an organization's agent policy can switch a
|
|
239
|
+
* guardrail on at run time where the agent declares none (#2292): a run the records show is a run, declared or not.
|
|
240
|
+
*
|
|
241
|
+
* ## Absent, never negative
|
|
242
|
+
*
|
|
243
|
+
* Answers NOTHING when the operation-record evidence was not collected (or predates the per-agent counts), when its
|
|
244
|
+
* window holds no record and no agent call at all (no evidence either way), when the agents could not be read (the
|
|
245
|
+
* declared half would be missing), or when the evidence's window end is not an instant.
|
|
246
|
+
* The fact is then absent and its clause is marked owed. It never states "not enforced" about evidence nobody
|
|
247
|
+
* collected.
|
|
248
|
+
*
|
|
249
|
+
* ## Limits the value carries
|
|
250
|
+
*
|
|
251
|
+
* An agent call with no operation record (`callsWithoutOperationRecord`) is not counted for any agent, so a positive
|
|
252
|
+
* count may be short. An agent the records name that is not an agent of the contracted service is listed apart rather
|
|
253
|
+
* than dropped.
|
|
254
|
+
*
|
|
255
|
+
* assurance-control: WILDO.AI.UNTRUSTED_CONTENT_SCREENING, WILDO.AI.OUTPUT_MODERATION — what a governed document says
|
|
256
|
+
* about an agent's guardrails is computed from the records they left, not asserted.
|
|
257
|
+
*/
|
|
258
|
+
export declare function deriveAiContentGuardrailFacts(inputs: {
|
|
259
|
+
readonly aiUses: ApplicationAiUseInventoryInput | undefined;
|
|
260
|
+
readonly evidence: AiContentGuardrailEvidence | undefined;
|
|
261
|
+
}): {
|
|
262
|
+
readonly value: Record<string, unknown>;
|
|
263
|
+
readonly observedAt: string;
|
|
264
|
+
} | undefined;
|
|
265
|
+
//# sourceMappingURL=ai-document-facts.schemas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai-document-facts.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/compliance-documents/ai-document-facts.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAOL,sBAAsB,EACtB,aAAa,EACb,sBAAsB,EAItB,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,WAAW,EAChB,KAAK,gBAAgB,EAGrB,KAAK,uBAAuB,EAC7B,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAA8B,KAAK,4BAA4B,EAAE,MAAM,8BAA8B,CAAC;AAC7G,OAAO,EAAmD,KAAK,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAE3H;;;;;;;;;;;;;;;;;;GAkBG;AAEH,oGAAoG;AACpG,oBAAY,oBAAoB;IAC9B,2GAA2G;IAC3G,SAAS,cAAc;IACvB;;;OAGG;IACH,wBAAwB,6BAA6B;IACrD,kHAAkH;IAClH,yBAAyB,8BAA8B;CACxD;AAED,oHAAoH;AACpH,MAAM,WAAW,8BAA8B;IAC7C;;;OAGG;IACH,QAAQ,CAAC,6BAA6B,EAAE,SAAS,MAAM,EAAE,CAAC;IAC1D,sHAAsH;IACtH,QAAQ,CAAC,yBAAyB,EAAE,SAAS,MAAM,EAAE,CAAC;IACtD,wFAAwF;IACxF,QAAQ,CAAC,iBAAiB,EAAE,uBAAuB,GAAG,SAAS,CAAC;IAChE;;;;OAIG;IACH,QAAQ,CAAC,MAAM,EAAE,SAAS,qBAAqB,EAAE,GAAG,SAAS,CAAC;CAC/D;AAED,4EAA4E;AAC5E,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,kIAAkI;IAClI,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAC;IAChC,4FAA4F;IAC5F,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC;IAC9B,+FAA+F;IAC/F,QAAQ,CAAC,mBAAmB,EAAE,OAAO,GAAG,IAAI,CAAC;IAC7C,+EAA+E;IAC/E,QAAQ,CAAC,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,QAAQ,CAAC,iBAAiB,EAAE,SAAS,MAAM,EAAE,GAAG,IAAI,CAAC;CACtD;AAED,mGAAmG;AACnG,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,MAAM,EAAE,sBAAsB,CAAC;IACxC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,UAAU,EAAE,gBAAgB,CAAC;IACtC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,iEAAiE;IACjE,QAAQ,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,CAAC;IACpC,QAAQ,CAAC,WAAW,EAAE,qBAAqB,CAAC;IAC5C,QAAQ,CAAC,WAAW,EAAE;QACpB,8GAA8G;QAC9G,QAAQ,CAAC,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;QAC5C,gIAAgI;QAChI,QAAQ,CAAC,wBAAwB,EAAE,OAAO,CAAC;QAC3C,kHAAkH;QAClH,QAAQ,CAAC,kBAAkB,EAAE,SAAS,MAAM,EAAE,CAAC;QAC/C,QAAQ,CAAC,oBAAoB,EAAE,SAAS,MAAM,EAAE,CAAC;QACjD,oFAAoF;QACpF,QAAQ,CAAC,kBAAkB,EAAE,SAAS,MAAM,EAAE,CAAC;KAChD,CAAC;IACF,0EAA0E;IAC1E,QAAQ,CAAC,SAAS,EAAE,SAAS,oBAAoB,EAAE,GAAG,IAAI,CAAC;IAC3D;;;OAGG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE;QACtB,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAC;QAC7B,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;QAC/B,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;QAChC,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;QAC9B;;;WAGG;QACH,QAAQ,CAAC,eAAe,EAAE,OAAO,CAAC;QAClC,QAAQ,CAAC,sBAAsB,EAAE,OAAO,CAAC;QACzC,QAAQ,CAAC,0BAA0B,EAAE,OAAO,CAAC;QAC7C,QAAQ,CAAC,kBAAkB,EAAE,OAAO,CAAC;KACtC,GAAG,IAAI,CAAC;CACV;AAED,gHAAgH;AAChH,MAAM,MAAM,oBAAoB,GAC5B;IAAE,QAAQ,CAAC,OAAO,EAAE,IAAI,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAAE,GACnE;IAAE,QAAQ,CAAC,OAAO,EAAE,KAAK,CAAC;IAAC,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAA;CAAE,CAAC;AAqCtE;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE;IAC3C,QAAQ,CAAC,MAAM,EAAE,8BAA8B,GAAG,SAAS,CAAC;IAC5D,QAAQ,CAAC,mBAAmB,EAAE,mBAAmB,CAAC;IAClD,QAAQ,CAAC,iBAAiB,EAAE,4BAA4B,GAAG,SAAS,CAAC;IACrE,QAAQ,CAAC,0BAA0B,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;CACpE,GAAG,oBAAoB,GAAG,SAAS,CA4FnC;AAMD;;;;;;;GAOG;AACH,eAAO,MAAM,sCAAsC,yNAKxC,CAAC;AACZ,oIAAoI;AACpI,MAAM,MAAM,gCAAgC,GAAG,CAAC,OAAO,sCAAsC,CAAC,CAAC,MAAM,CAAC,CAAC;AAEvG;;;;;GAKG;AACH,eAAO,MAAM,6CAA6C;;;;;;;;;;iBAIxD,CAAC;AACH,MAAM,MAAM,uCAAuC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6CAA6C,CAAC,CAAC;AAEpH,gFAAgF;AAChF,MAAM,WAAW,0BAA0B;IACzC,sGAAsG;IACtG,QAAQ,CAAC,gBAAgB,EAAE,sBAAsB,CAAC;IAClD,0HAA0H;IAC1H,QAAQ,CAAC,sBAAsB,EAAE,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,uCAAuC,CAAC,CAAC,CAAC,CAAC;CAC7G;AAED;;;;;;GAMG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE;IACrD,QAAQ,CAAC,wBAAwB,EAAE,OAAO,CAAC;IAC3C,QAAQ,CAAC,sBAAsB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;CACpE,GAAG,0BAA0B,GAAG,SAAS,CASzC;AAED,yFAAyF;AACzF,oBAAY,oCAAoC;IAC9C,2GAA2G;IAC3G,OAAO,YAAY;IACnB,sHAAsH;IACtH,YAAY,iBAAiB;IAC7B,yGAAyG;IACzG,aAAa,kBAAkB;CAChC;AAED;;;;;;GAMG;AACH,oBAAY,gCAAgC;IAC1C,gGAAgG;IAChG,GAAG,QAAQ;IACX;;;;OAIG;IACH,eAAe,oBAAoB;IACnC;;;;;OAKG;IACH,qBAAqB,0BAA0B;CAChD;AAWD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,wBAAgB,6BAA6B,CAAC,MAAM,EAAE;IACpD,QAAQ,CAAC,MAAM,EAAE,8BAA8B,GAAG,SAAS,CAAC;IAC5D,QAAQ,CAAC,QAAQ,EAAE,0BAA0B,GAAG,SAAS,CAAC;CAC3D,GAAG;IAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAAC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAkEvF"}
|
|
@@ -0,0 +1,371 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { AGENT_AI_ENGINE_CAPABILITIES, AI_ENGINE_CAPABILITIES, AI_ENGINE_CAPABILITIES_IN_THE_CONTRACTED_SERVICE, AgentOperationEvidenceSchema, AgentWriteOversight, AiRegulationRegime, AiUseDeclarationSource, AiUseRiskTier, CoreAuditableEventType, deriveAgentWriteOversight, deriveAiRegulationRegimes, deriveApplicationAiUses, } from "@wildo-ai/saas-models";
|
|
3
|
+
import { ProcessorRegisterEntryKind } from "./processor-register.schemas.js";
|
|
4
|
+
import { RecipientDataPathKind, RecipientPopulationClass } from "./recipient-population.schemas.js";
|
|
5
|
+
/**
|
|
6
|
+
* # What AI an application runs, and whether its agents' guardrails ran — two computed document facts (#2847)
|
|
7
|
+
*
|
|
8
|
+
* A privacy notice's automated-decisions clause and a service terms' AI clause used to rest on prose a model wrote from
|
|
9
|
+
* the brief, stamped `APPLICATION_SPECIFICATION` whatever it was drawn from. These two derivations replace that prose
|
|
10
|
+
* with FUNCTIONS of the product (`.claude/rules/compliance-is-derived-from-the-product.md`):
|
|
11
|
+
*
|
|
12
|
+
* - {@link deriveAiUseInventory} — the `ai-use-inventory` fact, from the application's AI-use DECLARATIONS (#2838): every
|
|
13
|
+
* use of the contracted service, at the capability or on the agent that runs it, with its domain, consequence, human
|
|
14
|
+
* review, the providers that serve it, and — only where the EU AI Act reaches the application (#2852) — its candidate
|
|
15
|
+
* class. `APPLICATION_SPECIFICATION`, earned: the whole answer is a projection of typed declarations.
|
|
16
|
+
* - {@link deriveAiContentGuardrailFacts} — the `ai-content-guardrails` fact, from the RECORDS the evidence plane
|
|
17
|
+
* collected (#2841's operation record, #2292's guardrail audit events): per agent, the guardrails it declares and
|
|
18
|
+
* whether each RAN in the window. `RUNTIME_EVIDENCE`: it says what the product did.
|
|
19
|
+
*
|
|
20
|
+
* Both are pure and JSON-shaped, called where the application's facts are read and never stored. Neither refuses
|
|
21
|
+
* anything: a gap (an undeclared use, a high-risk candidate, a guardrail with no recorded run) is PART of the answer,
|
|
22
|
+
* named, the way the recipients fact names its gaps (`application-creation-directive.md`: compliance marks, never blocks).
|
|
23
|
+
*/
|
|
24
|
+
/** Where the application's AI uses stand against the AI regulations the framework reads (#2852). */
|
|
25
|
+
export var AiUseRegulatoryScope;
|
|
26
|
+
(function (AiUseRegulatoryScope) {
|
|
27
|
+
/** The application operates where the EU AI Act reaches: each use carries its candidate class under it. */
|
|
28
|
+
AiUseRegulatoryScope["EU_AI_ACT"] = "EU_AI_ACT";
|
|
29
|
+
/**
|
|
30
|
+
* The application declares where it operates and no AI regulation the framework reads reaches it there. The uses are
|
|
31
|
+
* stated without a regulatory reading: describing them in an Act's terms would apply a law that does not bind them.
|
|
32
|
+
*/
|
|
33
|
+
AiUseRegulatoryScope["NO_AI_REGULATION_REACHES"] = "NO_AI_REGULATION_REACHES";
|
|
34
|
+
/** The application declares no operating jurisdiction, so which AI regulation binds it is OWED, never guessed. */
|
|
35
|
+
AiUseRegulatoryScope["JURISDICTION_NOT_DECLARED"] = "JURISDICTION_NOT_DECLARED";
|
|
36
|
+
})(AiUseRegulatoryScope || (AiUseRegulatoryScope = {}));
|
|
37
|
+
const sortedRefs = (values) => [...new Set(values)].sort();
|
|
38
|
+
/** The regulatory scope of the declared jurisdictions. `undefined` slugs: none declared. */
|
|
39
|
+
function aiUseRegulatoryScope(operatingJurisdictionSlugs) {
|
|
40
|
+
const derived = deriveAiRegulationRegimes(operatingJurisdictionSlugs === undefined ? undefined : { jurisdictions: operatingJurisdictionSlugs.map((jurisdictionSlug) => ({ jurisdictionSlug })) });
|
|
41
|
+
if (!derived.jurisdictionsDeclared)
|
|
42
|
+
return { scope: AiUseRegulatoryScope.JURISDICTION_NOT_DECLARED, regimes: [] };
|
|
43
|
+
return {
|
|
44
|
+
scope: derived.regimes.includes(AiRegulationRegime.EU_AI_ACT) ? AiUseRegulatoryScope.EU_AI_ACT : AiUseRegulatoryScope.NO_AI_REGULATION_REACHES,
|
|
45
|
+
regimes: derived.regimes,
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
/** The providers that serve one capability-level use: every runtime-scoped provider whose engine-capability path carries it. */
|
|
49
|
+
function providersServingCapability(capability, population) {
|
|
50
|
+
return sortedRefs(population.members
|
|
51
|
+
.filter((member) => member.dataPaths.some((path) => path.kind === RecipientDataPathKind.ENGINE_CAPABILITY && path.detail.includes(capability)))
|
|
52
|
+
.map((member) => member.ref));
|
|
53
|
+
}
|
|
54
|
+
/** One provider, joined to the recipient population and the register. */
|
|
55
|
+
function servingProvider(providerRef, population, register) {
|
|
56
|
+
const member = population.members.find((candidate) => candidate.ref === providerRef);
|
|
57
|
+
const entry = register?.processors.find((processor) => processor.kind === ProcessorRegisterEntryKind.CONFIGURED_PROVIDER && processor.providerRef === providerRef);
|
|
58
|
+
return {
|
|
59
|
+
providerRef,
|
|
60
|
+
runtimeScoped: member !== undefined,
|
|
61
|
+
operatorRun: member?.populationClass === RecipientPopulationClass.OPERATOR_RUN,
|
|
62
|
+
onProcessorRegister: register === undefined ? null : entry !== undefined,
|
|
63
|
+
legalEntityName: entry?.legalEntityName ?? null,
|
|
64
|
+
processingRegions: entry === undefined ? null : [...entry.processingRegions],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* The `ai-use-inventory` fact: every AI use of the contracted service, from the application's declarations (#2847).
|
|
69
|
+
*
|
|
70
|
+
* Answers NOTHING (`undefined`) — the fact stays absent and its clauses are marked owed — when:
|
|
71
|
+
* - the AI-use input was not read (the capabilities were not declared or not readable); or
|
|
72
|
+
* - an agent can run on a contracted-service AI capability and the agents could not be read, because every agent-level
|
|
73
|
+
* declaration would then read as missing, and a fact listing a declared use as OUTSTANDING is false.
|
|
74
|
+
*
|
|
75
|
+
* Answers NOT APPLICABLE, with its reason, when no AI capability reaches the contracted service: a positive, checkable
|
|
76
|
+
* statement that the service performs no AI processing, which a clause may cite (a recorded "does not apply" is a
|
|
77
|
+
* finding, never silence). The capabilities that serve only the build are named in the reason, so the statement is
|
|
78
|
+
* about the SERVICE and does not deny a capability the application enables.
|
|
79
|
+
*
|
|
80
|
+
* Otherwise every gap is part of the answer: a capability or agent declaring no use (`undeclaredCapabilities`,
|
|
81
|
+
* `undeclaredAgentRefs`), a use declaring no domain (`domainOwedRefs`), a declaration the posture schema refuses
|
|
82
|
+
* (`invalidDeclarations`), and, under the EU AI Act, every high-risk and prohibited-practice CANDIDATE — listed, marked
|
|
83
|
+
* `notSupportedYet`, and never left out of what reads as the application's AI.
|
|
84
|
+
*
|
|
85
|
+
* The regulatory reading appears ONLY when the application operates where the EU AI Act reaches (#2852). Elsewhere each
|
|
86
|
+
* use is stated without one, and the scope says why: no regulation reaches, or no jurisdiction is declared.
|
|
87
|
+
*
|
|
88
|
+
* assurance-control: WILDO.AI.USE_CLASSIFICATION — the AI uses a governed document states are computed from the
|
|
89
|
+
* declarations, with their derived class, rather than written as prose.
|
|
90
|
+
*/
|
|
91
|
+
export function deriveAiUseInventory(inputs) {
|
|
92
|
+
const aiUses = inputs.aiUses;
|
|
93
|
+
if (aiUses === undefined)
|
|
94
|
+
return undefined;
|
|
95
|
+
const inService = new Set(aiUses.contractedServiceCapabilities);
|
|
96
|
+
// The contracted-service AI vocabulary, the same one `deriveApplicationAiUses` reads, so the two cannot disagree.
|
|
97
|
+
const contractedAi = AI_ENGINE_CAPABILITIES_IN_THE_CONTRACTED_SERVICE.filter((capability) => inService.has(capability));
|
|
98
|
+
const authoringOnlyAi = AI_ENGINE_CAPABILITIES.filter((capability) => aiUses.authoringOnlyCapabilities.includes(capability));
|
|
99
|
+
if (contractedAi.length === 0) {
|
|
100
|
+
return {
|
|
101
|
+
applies: false,
|
|
102
|
+
notApplicableReason: "No AI capability reaches this application's contracted service, so the service performs no AI processing."
|
|
103
|
+
+ (authoringOnlyAi.length > 0
|
|
104
|
+
? ` Enabled only as build-time tooling, outside the contracted service: ${authoringOnlyAi.join(", ")}.`
|
|
105
|
+
: ""),
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
if (aiUses.agents === undefined && contractedAi.some((capability) => AGENT_AI_ENGINE_CAPABILITIES.includes(capability)))
|
|
109
|
+
return undefined;
|
|
110
|
+
const { scope, regimes } = aiUseRegulatoryScope(inputs.operatingJurisdictionSlugs);
|
|
111
|
+
const derived = deriveApplicationAiUses({
|
|
112
|
+
contractedServiceCapabilities: contractedAi,
|
|
113
|
+
capabilityPosture: aiUses.capabilityPosture,
|
|
114
|
+
agents: aiUses.agents,
|
|
115
|
+
regimes,
|
|
116
|
+
});
|
|
117
|
+
const agentsByRef = new Map((aiUses.agents ?? []).map((agent) => [agent.ref, agent]));
|
|
118
|
+
const underAiAct = scope === AiUseRegulatoryScope.EU_AI_ACT;
|
|
119
|
+
const entryOf = (use) => {
|
|
120
|
+
const agent = use.source === AiUseDeclarationSource.AGENT ? agentsByRef.get(use.ref) : undefined;
|
|
121
|
+
const oversight = agent === undefined ? undefined : deriveAgentWriteOversight(agent);
|
|
122
|
+
const providerRefs = agent === undefined
|
|
123
|
+
? providersServingCapability(use.capability, inputs.recipientPopulation)
|
|
124
|
+
: agent.providerRef === undefined ? undefined : agent.providerRef === null ? [] : [agent.providerRef];
|
|
125
|
+
const reading = use.reading;
|
|
126
|
+
return {
|
|
127
|
+
source: use.source,
|
|
128
|
+
ref: use.ref,
|
|
129
|
+
capability: use.capability,
|
|
130
|
+
purpose: use.posture.purpose,
|
|
131
|
+
domain: use.posture.domain ?? null,
|
|
132
|
+
consequence: use.posture.consequence,
|
|
133
|
+
humanReview: {
|
|
134
|
+
declaredArrangement: use.posture.humanReviewArrangement,
|
|
135
|
+
derivedFromApprovalGates: oversight?.arrangementDerivedFromGates === true,
|
|
136
|
+
gatedWriteToolRefs: [...(agent?.gatedWriteToolRefs ?? [])],
|
|
137
|
+
ungatedWriteToolRefs: oversight?.oversight === AgentWriteOversight.UNGATED_WRITES ? [...agent.ungatedWriteToolRefs] : [],
|
|
138
|
+
unresolvedToolRefs: [...(agent?.unresolvedToolRefs ?? [])],
|
|
139
|
+
},
|
|
140
|
+
providers: providerRefs === undefined ? null : providerRefs.map((ref) => servingProvider(ref, inputs.recipientPopulation, inputs.processorRegister)),
|
|
141
|
+
...(underAiAct
|
|
142
|
+
? {
|
|
143
|
+
aiActReading: reading === null
|
|
144
|
+
? null
|
|
145
|
+
: {
|
|
146
|
+
tier: reading.tier,
|
|
147
|
+
...(reading.annexIIIArea === undefined ? {} : { annexIIIArea: reading.annexIIIArea }),
|
|
148
|
+
...(reading.article5Point === undefined ? {} : { article5Point: reading.article5Point }),
|
|
149
|
+
...(reading.appliesFrom === undefined ? {} : { appliesFrom: reading.appliesFrom }),
|
|
150
|
+
notSupportedYet: reading.tier === AiUseRiskTier.HIGH_RISK_CANDIDATE || reading.tier === AiUseRiskTier.PROHIBITED_PRACTICE_CANDIDATE,
|
|
151
|
+
exemptionNotApplicable: reading.exemptionNotApplicable,
|
|
152
|
+
exemptionVoidedByProfiling: reading.exemptionVoidedByProfiling,
|
|
153
|
+
classificationOwed: reading.classificationOwed,
|
|
154
|
+
},
|
|
155
|
+
}
|
|
156
|
+
: {}),
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
const uses = derived.uses
|
|
160
|
+
.map(entryOf)
|
|
161
|
+
.sort((left, right) => (`${left.source}/${left.ref}` < `${right.source}/${right.ref}` ? -1 : 1));
|
|
162
|
+
const tierRefs = (tier) => sortedRefs(derived.uses.filter((use) => use.reading?.tier === tier).map((use) => use.ref));
|
|
163
|
+
const value = {
|
|
164
|
+
regulatoryScope: scope,
|
|
165
|
+
uses,
|
|
166
|
+
undeclaredCapabilities: [...derived.undeclaredCapabilities],
|
|
167
|
+
// `null` only when the agents were not read AND no agent capability is in the service, so none could be undeclared.
|
|
168
|
+
undeclaredAgentRefs: derived.undeclaredAgentRefs === null ? [] : [...derived.undeclaredAgentRefs],
|
|
169
|
+
domainOwedRefs: [...derived.domainOwedRefs],
|
|
170
|
+
invalidDeclarations: derived.invalidDeclarations.map((invalid) => ({ ref: invalid.ref, issues: [...invalid.issues] })),
|
|
171
|
+
authoringOnlyCapabilities: [...authoringOnlyAi],
|
|
172
|
+
processorRegisterRead: inputs.processorRegister !== undefined,
|
|
173
|
+
...(underAiAct
|
|
174
|
+
? {
|
|
175
|
+
prohibitedPracticeCandidateRefs: tierRefs(AiUseRiskTier.PROHIBITED_PRACTICE_CANDIDATE),
|
|
176
|
+
highRiskCandidateRefs: tierRefs(AiUseRiskTier.HIGH_RISK_CANDIDATE),
|
|
177
|
+
}
|
|
178
|
+
: {}),
|
|
179
|
+
};
|
|
180
|
+
// A JSON round trip: drops absent optional keys, so the value is exactly what a document fact can carry.
|
|
181
|
+
return { applies: true, value: JSON.parse(JSON.stringify(value)) };
|
|
182
|
+
}
|
|
183
|
+
// ===================================================================================================================
|
|
184
|
+
// ai-content-guardrails
|
|
185
|
+
// ===================================================================================================================
|
|
186
|
+
/**
|
|
187
|
+
* The four guardrail audit events whose committed EMITTED measurements this fact reads (#2292 Phase 4c): the
|
|
188
|
+
* `requiredAuditEventMembers` of `WILDO.AI.UNTRUSTED_CONTENT_SCREENING` and `WILDO.AI.OUTPUT_MODERATION` C3.
|
|
189
|
+
*
|
|
190
|
+
* They fire only on a quarantine, a withholding or a failure. So they COUNT outcomes and never show that a guardrail
|
|
191
|
+
* ran: a clean window and a guardrail that never ran both show zero. Whether a guardrail ran is read from the operation
|
|
192
|
+
* record's positive counts instead.
|
|
193
|
+
*/
|
|
194
|
+
export const AI_CONTENT_GUARDRAIL_AUDIT_EVENT_TYPES = Object.freeze([
|
|
195
|
+
CoreAuditableEventType.AGENT_CONTENT_QUARANTINED,
|
|
196
|
+
CoreAuditableEventType.AGENT_CONTENT_SCREENING_FAILED,
|
|
197
|
+
CoreAuditableEventType.AGENT_OUTPUT_WITHHELD,
|
|
198
|
+
CoreAuditableEventType.AGENT_OUTPUT_MODERATION_FAILED,
|
|
199
|
+
]);
|
|
200
|
+
/**
|
|
201
|
+
* One committed EMITTED measurement: how many rows of one audit event type the window held, and the CONTROL that makes a
|
|
202
|
+
* zero meaningful. The collector writes a measurement even when its control found no row of ANY type in the window, and
|
|
203
|
+
* calls that zero UNCONTROLLED: it cannot be told apart from a query that returns nothing. So the control is required
|
|
204
|
+
* here, and a measurement without one reads as not collected.
|
|
205
|
+
*/
|
|
206
|
+
export const AiContentGuardrailAuditEventMeasurementSchema = z.object({
|
|
207
|
+
count: z.number().int().min(0),
|
|
208
|
+
window: z.object({ from: z.string().min(1), to: z.string().min(1) }),
|
|
209
|
+
control: z.object({ kind: z.string().min(1), count: z.number().int().min(0) }),
|
|
210
|
+
});
|
|
211
|
+
/**
|
|
212
|
+
* Parse the committed answers into {@link AiContentGuardrailEvidence}: the ONE place a JSON-crossed answer is read.
|
|
213
|
+
*
|
|
214
|
+
* `undefined` when the operation-record evidence is absent or does not parse — including a door answer recorded before
|
|
215
|
+
* the per-agent counts existed, which cannot say what each agent's guardrails did. An audit measurement that does not
|
|
216
|
+
* parse is dropped, and reads as not collected.
|
|
217
|
+
*/
|
|
218
|
+
export function parseAiContentGuardrailEvidence(input) {
|
|
219
|
+
const operationRecords = AgentOperationEvidenceSchema.safeParse(input.operationRecordsEvidence);
|
|
220
|
+
if (!operationRecords.success)
|
|
221
|
+
return undefined;
|
|
222
|
+
const auditEventMeasurements = {};
|
|
223
|
+
for (const eventType of AI_CONTENT_GUARDRAIL_AUDIT_EVENT_TYPES) {
|
|
224
|
+
const parsed = AiContentGuardrailAuditEventMeasurementSchema.safeParse(input.auditEventMeasurements[eventType]);
|
|
225
|
+
if (parsed.success)
|
|
226
|
+
auditEventMeasurements[eventType] = parsed.data;
|
|
227
|
+
}
|
|
228
|
+
return { operationRecords: operationRecords.data, auditEventMeasurements };
|
|
229
|
+
}
|
|
230
|
+
/** Whether a guardrail audit event's count can be stated, and why not when it cannot. */
|
|
231
|
+
export var AiContentGuardrailAuditCountStanding;
|
|
232
|
+
(function (AiContentGuardrailAuditCountStanding) {
|
|
233
|
+
/** Collected, with a control that found rows in the window: the count is a real count, a zero included. */
|
|
234
|
+
AiContentGuardrailAuditCountStanding["COUNTED"] = "COUNTED";
|
|
235
|
+
/** Collected, and the control found no row of any type in the window: the count proves nothing, so none is stated. */
|
|
236
|
+
AiContentGuardrailAuditCountStanding["UNCONTROLLED"] = "UNCONTROLLED";
|
|
237
|
+
/** No committed measurement (or one that does not parse): nothing was collected, which is never zero. */
|
|
238
|
+
AiContentGuardrailAuditCountStanding["NOT_COLLECTED"] = "NOT_COLLECTED";
|
|
239
|
+
})(AiContentGuardrailAuditCountStanding || (AiContentGuardrailAuditCountStanding = {}));
|
|
240
|
+
/**
|
|
241
|
+
* What the operation records show about one guardrail of one agent in the window.
|
|
242
|
+
*
|
|
243
|
+
* Read from the VERDICT counts (`screenedResults`, `judgedOutputs`, and for personal data the treated operations), never
|
|
244
|
+
* from the operations on which the guardrail was merely ACTIVE (`screenedOperations`, `moderatedOperations`): a guardrail
|
|
245
|
+
* switched on for a call that read no tool result, or wrote nothing, is active and judged nothing.
|
|
246
|
+
*/
|
|
247
|
+
export var AiContentGuardrailRunObservation;
|
|
248
|
+
(function (AiContentGuardrailRunObservation) {
|
|
249
|
+
/** A positive signal: the records hold at least one verdict of this guardrail for the agent. */
|
|
250
|
+
AiContentGuardrailRunObservation["RAN"] = "RAN";
|
|
251
|
+
/**
|
|
252
|
+
* The agent was called in the window and no record carries a verdict of this guardrail. NOT "not enforced": screening
|
|
253
|
+
* has nothing to judge on a call that read no tool result, and the records say nothing either way about a call that
|
|
254
|
+
* left no record. It says the window holds no run, and a document says exactly that.
|
|
255
|
+
*/
|
|
256
|
+
AiContentGuardrailRunObservation["NO_RUN_RECORDED"] = "NO_RUN_RECORDED";
|
|
257
|
+
/**
|
|
258
|
+
* The window holds no operation record of the agent. NOT "the agent was not called": a call whose record failed to
|
|
259
|
+
* write is attributed to no agent (`callsWithoutOperationRecord`), so this says only what the records hold. A window
|
|
260
|
+
* with no record and no agent call at all is no evidence, and the fact is then absent rather than reading this for
|
|
261
|
+
* every agent.
|
|
262
|
+
*/
|
|
263
|
+
AiContentGuardrailRunObservation["NO_OPERATION_RECORDED"] = "NO_OPERATION_RECORDED";
|
|
264
|
+
})(AiContentGuardrailRunObservation || (AiContentGuardrailRunObservation = {}));
|
|
265
|
+
const observe = (operations, positive) => operations === 0 ? AiContentGuardrailRunObservation.NO_OPERATION_RECORDED
|
|
266
|
+
: positive > 0 ? AiContentGuardrailRunObservation.RAN : AiContentGuardrailRunObservation.NO_RUN_RECORDED;
|
|
267
|
+
const EMPTY_COUNTS = {
|
|
268
|
+
personalDataTreatedOperations: 0, personalDataFieldsWithheld: 0, screenedOperations: 0, screenedResults: 0, attackDetected: 0,
|
|
269
|
+
notScreened: 0, moderatedOperations: 0, judgedOutputs: 0, withheldByCode: [],
|
|
270
|
+
};
|
|
271
|
+
/**
|
|
272
|
+
* The `ai-content-guardrails` fact (#2847): per agent of the contracted service, the content guardrails it DECLARES and
|
|
273
|
+
* whether each RAN in the window, from the records the evidence plane collected. `RUNTIME_EVIDENCE`.
|
|
274
|
+
*
|
|
275
|
+
* ## Ran is read from a POSITIVE signal, never from silence
|
|
276
|
+
*
|
|
277
|
+
* The operation record (#2841) carries, per call, what each guardrail decided: the personal fields withheld, the tool
|
|
278
|
+
* results screened, the outputs judged. Those counts going above zero is what RAN means. The guardrail audit events are
|
|
279
|
+
* the wrong source for it: they fire only on a quarantine, a withholding or a failure, so a clean window and a guardrail
|
|
280
|
+
* that never ran look the same there. They are read for what they ARE — the counts of outcomes — and stated beside, per
|
|
281
|
+
* event type, with their own window.
|
|
282
|
+
*
|
|
283
|
+
* Ran is stated per guardrail regardless of the declaration, because an organization's agent policy can switch a
|
|
284
|
+
* guardrail on at run time where the agent declares none (#2292): a run the records show is a run, declared or not.
|
|
285
|
+
*
|
|
286
|
+
* ## Absent, never negative
|
|
287
|
+
*
|
|
288
|
+
* Answers NOTHING when the operation-record evidence was not collected (or predates the per-agent counts), when its
|
|
289
|
+
* window holds no record and no agent call at all (no evidence either way), when the agents could not be read (the
|
|
290
|
+
* declared half would be missing), or when the evidence's window end is not an instant.
|
|
291
|
+
* The fact is then absent and its clause is marked owed. It never states "not enforced" about evidence nobody
|
|
292
|
+
* collected.
|
|
293
|
+
*
|
|
294
|
+
* ## Limits the value carries
|
|
295
|
+
*
|
|
296
|
+
* An agent call with no operation record (`callsWithoutOperationRecord`) is not counted for any agent, so a positive
|
|
297
|
+
* count may be short. An agent the records name that is not an agent of the contracted service is listed apart rather
|
|
298
|
+
* than dropped.
|
|
299
|
+
*
|
|
300
|
+
* assurance-control: WILDO.AI.UNTRUSTED_CONTENT_SCREENING, WILDO.AI.OUTPUT_MODERATION — what a governed document says
|
|
301
|
+
* about an agent's guardrails is computed from the records they left, not asserted.
|
|
302
|
+
*/
|
|
303
|
+
export function deriveAiContentGuardrailFacts(inputs) {
|
|
304
|
+
const { aiUses, evidence } = inputs;
|
|
305
|
+
if (aiUses === undefined || aiUses.agents === undefined || evidence === undefined)
|
|
306
|
+
return undefined;
|
|
307
|
+
// A wholly empty window is no evidence: an application whose agents did nothing and a recorder that stopped writing
|
|
308
|
+
// leave the same window, as the C1 collector itself refuses to read it. Absent, so the clause is marked owed.
|
|
309
|
+
if (evidence.operationRecords.operations === 0 && evidence.operationRecords.agentProviderCalls === 0)
|
|
310
|
+
return undefined;
|
|
311
|
+
const observedAt = new Date(evidence.operationRecords.window.to);
|
|
312
|
+
if (Number.isNaN(observedAt.getTime()))
|
|
313
|
+
return undefined;
|
|
314
|
+
const inService = new Set(aiUses.contractedServiceCapabilities);
|
|
315
|
+
const serviceAgents = [...aiUses.agents].filter((agent) => inService.has(agent.capability)).sort((left, right) => (left.ref < right.ref ? -1 : 1));
|
|
316
|
+
const recordedByRef = new Map(evidence.operationRecords.guardrailsByAgent.map((entry) => [entry.agentRef, entry]));
|
|
317
|
+
const serviceRefs = new Set(serviceAgents.map((agent) => agent.ref));
|
|
318
|
+
const agents = serviceAgents.map((agent) => {
|
|
319
|
+
const recorded = recordedByRef.get(agent.ref);
|
|
320
|
+
const operations = recorded?.operations ?? 0;
|
|
321
|
+
const counts = recorded ?? EMPTY_COUNTS;
|
|
322
|
+
return {
|
|
323
|
+
agentRef: agent.ref,
|
|
324
|
+
declared: {
|
|
325
|
+
personalDataTreatment: agent.personalDataTreatment,
|
|
326
|
+
promptInjectionScreening: agent.promptInjectionScreening,
|
|
327
|
+
outputModeration: agent.outputModeration,
|
|
328
|
+
},
|
|
329
|
+
operations,
|
|
330
|
+
personalData: {
|
|
331
|
+
observation: observe(operations, counts.personalDataTreatedOperations),
|
|
332
|
+
treatedOperations: counts.personalDataTreatedOperations,
|
|
333
|
+
fieldsWithheld: counts.personalDataFieldsWithheld,
|
|
334
|
+
},
|
|
335
|
+
promptInjectionScreening: {
|
|
336
|
+
observation: observe(operations, counts.screenedResults),
|
|
337
|
+
screenedOperations: counts.screenedOperations,
|
|
338
|
+
screenedResults: counts.screenedResults,
|
|
339
|
+
attackDetected: counts.attackDetected,
|
|
340
|
+
notScreened: counts.notScreened,
|
|
341
|
+
},
|
|
342
|
+
outputModeration: {
|
|
343
|
+
observation: observe(operations, counts.judgedOutputs),
|
|
344
|
+
moderatedOperations: counts.moderatedOperations,
|
|
345
|
+
judgedOutputs: counts.judgedOutputs,
|
|
346
|
+
withheldByCode: counts.withheldByCode.map((entry) => ({ code: entry.code, operations: entry.operations })),
|
|
347
|
+
},
|
|
348
|
+
};
|
|
349
|
+
});
|
|
350
|
+
const value = {
|
|
351
|
+
window: { from: evidence.operationRecords.window.from, to: evidence.operationRecords.window.to },
|
|
352
|
+
agents,
|
|
353
|
+
recordedAgentsOutsideTheContractedService: evidence.operationRecords.guardrailsByAgent
|
|
354
|
+
.filter((entry) => !serviceRefs.has(entry.agentRef))
|
|
355
|
+
.map((entry) => ({ agentRef: entry.agentRef, operations: entry.operations })),
|
|
356
|
+
callsWithoutOperationRecord: evidence.operationRecords.agentProviderCallsWithoutOperationRecord,
|
|
357
|
+
// Application-wide, per event type: the collector does not split the audit trail by agent. `count: null` unless the
|
|
358
|
+
// measurement was collected AND its control found rows, so a negative claim rests on a working control.
|
|
359
|
+
guardrailAuditEvents: AI_CONTENT_GUARDRAIL_AUDIT_EVENT_TYPES.map((eventType) => {
|
|
360
|
+
const measured = evidence.auditEventMeasurements[eventType];
|
|
361
|
+
if (measured === undefined)
|
|
362
|
+
return { eventType, standing: AiContentGuardrailAuditCountStanding.NOT_COLLECTED, count: null, window: null };
|
|
363
|
+
const window = { from: measured.window.from, to: measured.window.to };
|
|
364
|
+
return measured.control.count > 0
|
|
365
|
+
? { eventType, standing: AiContentGuardrailAuditCountStanding.COUNTED, count: measured.count, window }
|
|
366
|
+
: { eventType, standing: AiContentGuardrailAuditCountStanding.UNCONTROLLED, count: null, window };
|
|
367
|
+
}),
|
|
368
|
+
};
|
|
369
|
+
return { value: JSON.parse(JSON.stringify(value)), observedAt: observedAt.toISOString() };
|
|
370
|
+
}
|
|
371
|
+
//# sourceMappingURL=ai-document-facts.schemas.js.map
|