@wildo-ai/saas-specifications 1.1.1 → 1.1.3
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/_core/brand/brand-asset.schemas.d.ts +4 -6
- package/dist/esm/_core/brand/brand-asset.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-asset.schemas.js +4 -12
- package/dist/esm/_core/brand/brand-asset.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-generation.schemas.d.ts +5 -3
- package/dist/esm/_core/brand/brand-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-generation.schemas.js +5 -2
- package/dist/esm/_core/brand/brand-generation.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts +10 -3
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot.schemas.js +10 -2
- package/dist/esm/_core/brand/brand-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand.family-aspects.d.ts +3 -0
- package/dist/esm/_core/brand/brand.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/brand/brand.family-aspects.js +51 -0
- package/dist/esm/_core/brand/brand.family-aspects.js.map +1 -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-generation.schemas.js +15 -5
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +40 -3
- 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 +85 -6
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js +28 -0
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -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 +10 -4
- 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 +15 -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.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.d.ts +3 -0
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.js +21 -0
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.js.map +1 -0
- package/dist/esm/_core/chart-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/chart-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/chart-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts +85 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js +41 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +178 -2
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +115 -9
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts +12 -0
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js +47 -0
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js.map +1 -0
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js +8 -3
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.d.ts +21 -0
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js +40 -0
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js.map +1 -0
- package/dist/esm/_core/composite-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +32 -0
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/execution-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/execution-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/execution-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +6 -7
- 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 +6 -13
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-validation.d.ts +0 -11
- package/dist/esm/_core/expert-personas/expert-persona-validation.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-validation.js +0 -19
- package/dist/esm/_core/expert-personas/expert-persona-validation.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts +1 -2
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.js +1 -2
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.js.map +1 -1
- package/dist/esm/_core/family-aspects.registry.d.ts +18 -0
- package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -0
- package/dist/esm/_core/family-aspects.registry.js +60 -0
- package/dist/esm/_core/family-aspects.registry.js.map +1 -0
- package/dist/esm/_core/family-aspects.schemas.d.ts +122 -0
- package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -0
- package/dist/esm/_core/family-aspects.schemas.js +15 -0
- package/dist/esm/_core/family-aspects.schemas.js.map +1 -0
- package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +11 -11
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.d.ts +3 -0
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js +25 -0
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js.map +1 -0
- package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js +17 -4
- package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js.map +1 -1
- package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/flows-actors-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/frontend-component-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/frontend-component-specification.schemas.js +19 -1
- package/dist/esm/_core/frontend-component-specification.schemas.js.map +1 -1
- package/dist/esm/_core/full-custom-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/full-custom-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/full-custom-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.js +14 -0
- package/dist/esm/_core/guidance-flow-specification.schemas.js.map +1 -1
- package/dist/esm/_core/index.d.ts +3 -0
- package/dist/esm/_core/index.d.ts.map +1 -1
- package/dist/esm/_core/index.js +3 -0
- package/dist/esm/_core/index.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +22 -22
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js +5 -40
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-validation.d.ts +15 -0
- package/dist/esm/_core/market/market-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/market/market-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/market/market.family-aspects.d.ts +9 -0
- package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/market/market.family-aspects.js +227 -0
- package/dist/esm/_core/market/market.family-aspects.js.map +1 -0
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/onboarding-view-specification.schemas.js +14 -0
- package/dist/esm/_core/onboarding-view-specification.schemas.js.map +1 -1
- 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 +11 -5
- 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 +66 -9
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.js +62 -20
- 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 +3 -0
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +31 -0
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +4 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js +4 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
- package/dist/esm/_core/provider-specification.schemas.d.ts +82 -0
- package/dist/esm/_core/provider-specification.schemas.d.ts.map +1 -0
- package/dist/esm/_core/provider-specification.schemas.js +144 -0
- package/dist/esm/_core/provider-specification.schemas.js.map +1 -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 +13 -8
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts +15 -0
- package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.d.ts +9 -0
- package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/requirements/requirements.family-aspects.js +40 -0
- package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -0
- package/dist/esm/_core/resource-specification.schemas.d.ts +22 -0
- package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.js.map +1 -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 +7 -2
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts +15 -0
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap.family-aspects.d.ts +3 -0
- package/dist/esm/_core/roadmap/roadmap.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/roadmap/roadmap.family-aspects.js +26 -0
- package/dist/esm/_core/roadmap/roadmap.family-aspects.js.map +1 -0
- package/dist/esm/_core/utils/family-ref-stamping.d.ts +64 -0
- package/dist/esm/_core/utils/family-ref-stamping.d.ts.map +1 -0
- package/dist/esm/_core/utils/family-ref-stamping.js +73 -0
- package/dist/esm/_core/utils/family-ref-stamping.js.map +1 -0
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js +23 -9
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/vision/vision.family-aspects.d.ts +11 -0
- package/dist/esm/_core/vision/vision.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/vision/vision.family-aspects.js +63 -0
- package/dist/esm/_core/vision/vision.family-aspects.js.map +1 -0
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts +0 -4
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +193 -38
- 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 +157 -57
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts +3 -3
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js +3 -3
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts +38 -4
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js +37 -3
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/document-facts.family-aspects.d.ts +12 -0
- package/dist/esm/application-creation/document-facts.family-aspects.d.ts.map +1 -0
- package/dist/esm/application-creation/document-facts.family-aspects.js +37 -0
- package/dist/esm/application-creation/document-facts.family-aspects.js.map +1 -0
- package/dist/esm/application-creation/document-release-policy.family-aspects.d.ts +3 -0
- package/dist/esm/application-creation/document-release-policy.family-aspects.d.ts.map +1 -0
- package/dist/esm/application-creation/document-release-policy.family-aspects.js +23 -0
- package/dist/esm/application-creation/document-release-policy.family-aspects.js.map +1 -0
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +18 -6
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.js +18 -6
- package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +101 -85
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js +171 -86
- 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 +2 -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 +2 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation.exports.d.ts +11 -0
- package/dist/esm/application-creation.exports.d.ts.map +1 -1
- package/dist/esm/application-creation.exports.js +11 -0
- package/dist/esm/application-creation.exports.js.map +1 -1
- package/dist/esm/assurance/application-document-publication.schemas.d.ts +20 -6
- package/dist/esm/assurance/application-document-publication.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/application-document-publication.schemas.js +26 -10
- package/dist/esm/assurance/application-document-publication.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +999 -2
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.js +2127 -61
- package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +26 -0
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.js +18 -3
- package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts +32 -2
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.js +32 -2
- package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts +36 -0
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +859 -0
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -0
- package/dist/esm/assurance/assurance-external-framework-mapping.d.ts +90 -0
- package/dist/esm/assurance/assurance-external-framework-mapping.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-external-framework-mapping.js +134 -0
- package/dist/esm/assurance/assurance-external-framework-mapping.js.map +1 -0
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts +43 -0
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-foundation.schemas.js +56 -0
- package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +78 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js +562 -5
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +148 -0
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-program-generation.schemas.js +385 -0
- package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -0
- package/dist/esm/assurance/assurance-program.family-aspects.d.ts +13 -0
- package/dist/esm/assurance/assurance-program.family-aspects.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-program.family-aspects.js +16 -0
- package/dist/esm/assurance/assurance-program.family-aspects.js.map +1 -0
- package/dist/esm/assurance/assurance-program.schemas.d.ts +474 -14
- package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.js +319 -8
- package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts +1 -0
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.js +12 -0
- package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.d.ts +76 -0
- package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.js +59 -0
- package/dist/esm/assurance/assurance-sources.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts +35 -0
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +999 -0
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -0
- package/dist/esm/assurance/document-publication.family-aspects.d.ts +29 -0
- package/dist/esm/assurance/document-publication.family-aspects.d.ts.map +1 -0
- package/dist/esm/assurance/document-publication.family-aspects.js +48 -0
- package/dist/esm/assurance/document-publication.family-aspects.js.map +1 -0
- package/dist/esm/assurance.exports.d.ts +2 -0
- package/dist/esm/assurance.exports.d.ts.map +1 -1
- package/dist/esm/assurance.exports.js +2 -0
- package/dist/esm/assurance.exports.js.map +1 -1
- package/dist/esm/companion-exports.d.ts +26 -8
- package/dist/esm/companion-exports.d.ts.map +1 -1
- package/dist/esm/companion-exports.js.map +1 -1
- package/dist/esm/engine/_bootstrap.js +3 -1
- package/dist/esm/engine/_bootstrap.js.map +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 +15 -1
- 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 +4 -2
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts +2 -0
- 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 +17 -3
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +12 -10
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.js +4 -2
- package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.d.ts +36 -0
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js +193 -0
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts +1 -1
- 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 +3 -1
- 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.map +1 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js +15 -1
- 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 +2 -0
- 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 +17 -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 +32 -0
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +308 -0
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts +1 -1
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js +6 -4
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +4 -2
- 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.map +1 -1
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js +8 -6
- 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 +11 -9
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js +8 -6
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts +9 -25
- 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 +106 -10
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts +0 -6
- 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 +2 -0
- 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 +32 -0
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +297 -0
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -0
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts +2 -2
- 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 +6 -3
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts +8 -8
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js +4 -2
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts +2 -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 +5 -3
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.js +10 -8
- package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.js +10 -8
- package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js +16 -12
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js +10 -8
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts +6 -6
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +8 -3
- 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 +13 -9
- 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 +30 -11
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
- 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 +10 -8
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.d.ts +2 -2
- package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.js +11 -2
- package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
- package/dist/esm/engine/engine-resource-sub-domain.d.ts +83 -0
- package/dist/esm/engine/engine-resource-sub-domain.d.ts.map +1 -0
- package/dist/esm/engine/engine-resource-sub-domain.js +153 -0
- package/dist/esm/engine/engine-resource-sub-domain.js.map +1 -0
- package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.js +44 -1
- package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
- package/dist/esm/engine/features/audit-logs.feature.specification.js +4 -4
- package/dist/esm/engine/features/audit-logs.feature.specification.js.map +1 -1
- package/dist/esm/engine/features/core-limits.feature.specifications.js +7 -7
- package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.js +5 -3
- 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 +5 -3
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.js +5 -3
- package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.js +12 -10
- 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 +3 -3
- 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 +22 -10
- 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.d.ts +3 -3
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +6 -4
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +3 -3
- 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 +4 -2
- 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 -3
- 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 +3 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +81 -0
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.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 +8 -3
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts +0 -4
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts.map +0 -1
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js +0 -21
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js.map +0 -1
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts +0 -4
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts.map +0 -1
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js +0 -21
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js.map +0 -1
- package/dist/esm/engine/frontend-components/index.d.ts +0 -2
- package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/index.js +4 -6
- package/dist/esm/engine/frontend-components/index.js.map +1 -1
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts +1 -1
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js +15 -12
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts +1 -1
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js +12 -9
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts +9 -1
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js +9 -6
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/index.d.ts +2 -0
- package/dist/esm/engine/index.d.ts.map +1 -1
- package/dist/esm/engine/index.js +2 -0
- package/dist/esm/engine/index.js.map +1 -1
- 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 +19 -17
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.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 -7
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js +10 -8
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +7 -2
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +12 -5
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
- 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 -15
- 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 +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js +14 -10
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +31 -6
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +1 -1
- 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 +11 -9
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js +5 -3
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js +6 -4
- package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +4 -2
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js +3 -1
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +2 -0
- 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.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +9 -7
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
- package/dist/esm/engine/providers/_engine-provider-shared.d.ts +9 -0
- package/dist/esm/engine/providers/_engine-provider-shared.d.ts.map +1 -0
- package/dist/esm/engine/providers/_engine-provider-shared.js +19 -0
- package/dist/esm/engine/providers/_engine-provider-shared.js.map +1 -0
- package/dist/esm/engine/providers/anthropic.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/anthropic.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/anthropic.provider.specification.js +33 -0
- package/dist/esm/engine/providers/anthropic.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/apple.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/apple.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/apple.provider.specification.js +35 -0
- package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/email-preview.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/email-preview.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/email-preview.provider.specification.js +31 -0
- package/dist/esm/engine/providers/email-preview.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/github.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/github.provider.specification.js +30 -0
- package/dist/esm/engine/providers/github.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/google.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/google.provider.specification.js +34 -0
- package/dist/esm/engine/providers/google.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/grok.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/grok.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/grok.provider.specification.js +30 -0
- package/dist/esm/engine/providers/grok.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/index.d.ts +23 -0
- package/dist/esm/engine/providers/index.d.ts.map +1 -0
- package/dist/esm/engine/providers/index.js +37 -0
- package/dist/esm/engine/providers/index.js.map +1 -0
- package/dist/esm/engine/providers/microsoft.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/microsoft.provider.specification.js +30 -0
- package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/mistral.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/mistral.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/mistral.provider.specification.js +33 -0
- package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/openai.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/openai.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/openai.provider.specification.js +43 -0
- package/dist/esm/engine/providers/openai.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/opencode.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/opencode.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/opencode.provider.specification.js +50 -0
- package/dist/esm/engine/providers/opencode.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/perplexity.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/perplexity.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/perplexity.provider.specification.js +30 -0
- package/dist/esm/engine/providers/perplexity.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/resend.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/resend.provider.specification.js +33 -0
- package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/stripe.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/stripe.provider.specification.js +35 -0
- package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/twilio.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/twilio.provider.specification.js +33 -0
- package/dist/esm/engine/providers/twilio.provider.specification.js.map +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 +9 -7
- 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 +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +11 -9
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +4 -2
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.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 +10 -8
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +5 -5
- 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 +6 -4
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +4 -2
- 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 +5 -5
- 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 +15 -11
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts +1 -1
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js +3 -1
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.js +11 -9
- 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.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.js +95 -0
- 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 +5 -0
- 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 +451 -25
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts +37 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.js +37 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/package.json +8 -8
- package/dist/esm/.builder.pid +0 -9
- package/dist/esm/_core/business-coverage/coverage-findings-validation.d.ts +0 -0
- package/dist/esm/_core/business-coverage/coverage-findings-validation.d.ts.map +0 -0
- package/dist/esm/_core/business-coverage/coverage-findings-validation.js.map +0 -0
- package/dist/esm/_core/business-coverage/coverage-findings.schemas.d.ts +0 -0
- package/dist/esm/_core/business-coverage/coverage-findings.schemas.d.ts.map +0 -0
- package/dist/esm/_core/business-coverage/coverage-findings.schemas.js.map +0 -0
package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts
CHANGED
|
@@ -18,6 +18,17 @@ export declare const ComplianceDocumentCandidateClauseGenerationSchema: z.ZodObj
|
|
|
18
18
|
closedBy: z.ZodString;
|
|
19
19
|
}, z.core.$strict>>;
|
|
20
20
|
factRefs: z.ZodArray<z.ZodString>;
|
|
21
|
+
/**
|
|
22
|
+
* Which of the blueprint's clauses THIS clause supplies — `null` when it supplies none.
|
|
23
|
+
*
|
|
24
|
+
* The clause half of issue #244, and it was found through the method's own prose rather than by
|
|
25
|
+
* looking: the drafting guidance says "**Clauses carry the same claim**, as `satisfiesClauseRefs`"
|
|
26
|
+
* while this `strictObject` had no such key, so the instruction was unfollowable at both levels.
|
|
27
|
+
* One claim, two call sites — see `.claude/rules/invariant-call-site-enumeration.md`.
|
|
28
|
+
*
|
|
29
|
+
* Required-and-nullable and `.min(1)` when present, for the reasons given on the section field.
|
|
30
|
+
*/
|
|
31
|
+
satisfiesClauseRefs: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
21
32
|
sourcePolicyRefs: z.ZodArray<z.ZodString>;
|
|
22
33
|
claimGuardRefs: z.ZodArray<z.ZodString>;
|
|
23
34
|
}, z.core.$strict>;
|
|
@@ -43,6 +54,32 @@ export declare const ComplianceDocumentCandidateSectionGenerationSchema: z.ZodOb
|
|
|
43
54
|
* `"retention-and-deletion"` are a silent miss and a reported gap that is not one.
|
|
44
55
|
*/
|
|
45
56
|
concernRef: z.ZodNullable<z.ZodEnum<typeof ComplianceConcern>>;
|
|
57
|
+
/**
|
|
58
|
+
* Which of the document blueprint's REQUIRED sections this section satisfies — `null` for a section
|
|
59
|
+
* that satisfies none (a preamble, a contact block).
|
|
60
|
+
*
|
|
61
|
+
* ## The measured defect this closes (issue #244)
|
|
62
|
+
*
|
|
63
|
+
* The field exists on the family schema and was ABSENT here, and this contract is a `strictObject`,
|
|
64
|
+
* so the drafter could not emit it however clearly its method asked. Every landed document therefore
|
|
65
|
+
* claimed nothing, and the coherence report's `compliance-document-required-section-not-covered`
|
|
66
|
+
* check reported EVERY required section uncovered on EVERY run — permanently, for every application.
|
|
67
|
+
*
|
|
68
|
+
* Measured on the first live service-terms candidate (wonder-crm, 2026-09-02): "11 of 11 section(s)
|
|
69
|
+
* this document's definition requires are claimed by no section of the draft", on a draft whose
|
|
70
|
+
* eleven sections corresponded to the blueprint's eleven one for one. The content was there; only
|
|
71
|
+
* the claim was missing. A coverage check that is wrong in the alarming direction on the legal
|
|
72
|
+
* surface is worse than one that is absent — it is the finding a reader learns to skip, and it masks
|
|
73
|
+
* the run where a section genuinely IS missing.
|
|
74
|
+
*
|
|
75
|
+
* Required-and-nullable rather than optional, for the same reason as {@link concernRef} above: the
|
|
76
|
+
* drafter is told to write against the blueprint's required set, so omitting the key is not a
|
|
77
|
+
* considered "this satisfies nothing" — it is a section whose coverage nobody recorded, and the
|
|
78
|
+
* coverage check cannot tell that apart from a genuine gap.
|
|
79
|
+
*
|
|
80
|
+
* `.min(1)` when present, because an empty array and `null` would be two spellings of one state.
|
|
81
|
+
*/
|
|
82
|
+
satisfiesSectionRefs: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
46
83
|
clauses: z.ZodArray<z.ZodObject<{
|
|
47
84
|
clauseRef: z.ZodString;
|
|
48
85
|
order: z.ZodNumber;
|
|
@@ -55,6 +92,17 @@ export declare const ComplianceDocumentCandidateSectionGenerationSchema: z.ZodOb
|
|
|
55
92
|
closedBy: z.ZodString;
|
|
56
93
|
}, z.core.$strict>>;
|
|
57
94
|
factRefs: z.ZodArray<z.ZodString>;
|
|
95
|
+
/**
|
|
96
|
+
* Which of the blueprint's clauses THIS clause supplies — `null` when it supplies none.
|
|
97
|
+
*
|
|
98
|
+
* The clause half of issue #244, and it was found through the method's own prose rather than by
|
|
99
|
+
* looking: the drafting guidance says "**Clauses carry the same claim**, as `satisfiesClauseRefs`"
|
|
100
|
+
* while this `strictObject` had no such key, so the instruction was unfollowable at both levels.
|
|
101
|
+
* One claim, two call sites — see `.claude/rules/invariant-call-site-enumeration.md`.
|
|
102
|
+
*
|
|
103
|
+
* Required-and-nullable and `.min(1)` when present, for the reasons given on the section field.
|
|
104
|
+
*/
|
|
105
|
+
satisfiesClauseRefs: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
58
106
|
sourcePolicyRefs: z.ZodArray<z.ZodString>;
|
|
59
107
|
claimGuardRefs: z.ZodArray<z.ZodString>;
|
|
60
108
|
}, z.core.$strict>>;
|
|
@@ -127,6 +175,32 @@ export declare const ComplianceDocumentCandidateGenerationSchema: z.ZodObject<{
|
|
|
127
175
|
* `"retention-and-deletion"` are a silent miss and a reported gap that is not one.
|
|
128
176
|
*/
|
|
129
177
|
concernRef: z.ZodNullable<z.ZodEnum<typeof ComplianceConcern>>;
|
|
178
|
+
/**
|
|
179
|
+
* Which of the document blueprint's REQUIRED sections this section satisfies — `null` for a section
|
|
180
|
+
* that satisfies none (a preamble, a contact block).
|
|
181
|
+
*
|
|
182
|
+
* ## The measured defect this closes (issue #244)
|
|
183
|
+
*
|
|
184
|
+
* The field exists on the family schema and was ABSENT here, and this contract is a `strictObject`,
|
|
185
|
+
* so the drafter could not emit it however clearly its method asked. Every landed document therefore
|
|
186
|
+
* claimed nothing, and the coherence report's `compliance-document-required-section-not-covered`
|
|
187
|
+
* check reported EVERY required section uncovered on EVERY run — permanently, for every application.
|
|
188
|
+
*
|
|
189
|
+
* Measured on the first live service-terms candidate (wonder-crm, 2026-09-02): "11 of 11 section(s)
|
|
190
|
+
* this document's definition requires are claimed by no section of the draft", on a draft whose
|
|
191
|
+
* eleven sections corresponded to the blueprint's eleven one for one. The content was there; only
|
|
192
|
+
* the claim was missing. A coverage check that is wrong in the alarming direction on the legal
|
|
193
|
+
* surface is worse than one that is absent — it is the finding a reader learns to skip, and it masks
|
|
194
|
+
* the run where a section genuinely IS missing.
|
|
195
|
+
*
|
|
196
|
+
* Required-and-nullable rather than optional, for the same reason as {@link concernRef} above: the
|
|
197
|
+
* drafter is told to write against the blueprint's required set, so omitting the key is not a
|
|
198
|
+
* considered "this satisfies nothing" — it is a section whose coverage nobody recorded, and the
|
|
199
|
+
* coverage check cannot tell that apart from a genuine gap.
|
|
200
|
+
*
|
|
201
|
+
* `.min(1)` when present, because an empty array and `null` would be two spellings of one state.
|
|
202
|
+
*/
|
|
203
|
+
satisfiesSectionRefs: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
130
204
|
clauses: z.ZodArray<z.ZodObject<{
|
|
131
205
|
clauseRef: z.ZodString;
|
|
132
206
|
order: z.ZodNumber;
|
|
@@ -139,6 +213,17 @@ export declare const ComplianceDocumentCandidateGenerationSchema: z.ZodObject<{
|
|
|
139
213
|
closedBy: z.ZodString;
|
|
140
214
|
}, z.core.$strict>>;
|
|
141
215
|
factRefs: z.ZodArray<z.ZodString>;
|
|
216
|
+
/**
|
|
217
|
+
* Which of the blueprint's clauses THIS clause supplies — `null` when it supplies none.
|
|
218
|
+
*
|
|
219
|
+
* The clause half of issue #244, and it was found through the method's own prose rather than by
|
|
220
|
+
* looking: the drafting guidance says "**Clauses carry the same claim**, as `satisfiesClauseRefs`"
|
|
221
|
+
* while this `strictObject` had no such key, so the instruction was unfollowable at both levels.
|
|
222
|
+
* One claim, two call sites — see `.claude/rules/invariant-call-site-enumeration.md`.
|
|
223
|
+
*
|
|
224
|
+
* Required-and-nullable and `.min(1)` when present, for the reasons given on the section field.
|
|
225
|
+
*/
|
|
226
|
+
satisfiesClauseRefs: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
142
227
|
sourcePolicyRefs: z.ZodArray<z.ZodString>;
|
|
143
228
|
claimGuardRefs: z.ZodArray<z.ZodString>;
|
|
144
229
|
}, z.core.$strict>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compliance-document-candidate-generation.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/compliance-documents/compliance-document-candidate-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAIL,+BAA+B,EAC/B,KAAK,2BAA2B,EACjC,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AA+ChF,yGAAyG;AACzG,eAAO,MAAM,iDAAiD;;;kBAG5D,CAAC;AAEH,eAAO,MAAM,iDAAiD;;;;IAK1D,uFAAuF;;IAEvF,2GAA2G
|
|
1
|
+
{"version":3,"file":"compliance-document-candidate-generation.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/compliance-documents/compliance-document-candidate-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAIL,+BAA+B,EAC/B,KAAK,2BAA2B,EACjC,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AA+ChF,yGAAyG;AACzG,eAAO,MAAM,iDAAiD;;;kBAG5D,CAAC;AAEH,eAAO,MAAM,iDAAiD;;;;IAK1D,uFAAuF;;IAEvF,2GAA2G;;;;;;IAG3G;;;;;;;;;OASG;;;;kBA2BH,CAAC;AAEL,eAAO,MAAM,kDAAkD;;;;IAI7D;;;;;;;;;;;;;;;;OAgBG;;IAEH;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;;;;;;QAzFD,uFAAuF;;QAEvF,2GAA2G;;;;;;QAG3G;;;;;;;;;WASG;;;;;kBA8EL,CAAC;AAEH,eAAO,MAAM,2DAA2D;;;;kBAItE,CAAC;AAEH,eAAO,MAAM,2CAA2C;IACtD;;;;;;;;;;;;;OAaG;;;;;;;;;;IAGH;;;;OAIG;;IAEH,4FAA4F;;IAE5F;;;OAGG;;;;;;;;;;QAjFH;;;;;;;;;;;;;;;;WAgBG;;QAEH;;;;;;;;;;;;;;;;;;;;;;;;WAwBG;;;;;;YAzFD,uFAAuF;;YAEvF,2GAA2G;;;;;;YAG3G;;;;;;;;;eASG;;;;;;;IAsHL,iGAAiG;;kBAEjG,CAAC;AACH,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2CAA2C,CAAC,CAAC;AAEhH,iHAAiH;AACjH,wBAAgB,0CAA0C,CAAC,KAAK,EAAE,OAAO,GAAG,2BAA2B,CAkCtG"}
|
package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js
CHANGED
|
@@ -59,6 +59,17 @@ export const ComplianceDocumentCandidateClauseGenerationSchema = z
|
|
|
59
59
|
/** `null` for a DERIVED clause; the pairing is enforced below exactly as the family schema enforces it. */
|
|
60
60
|
incompleteness: ComplianceStatementIncompletenessGenerationSchema.nullable(),
|
|
61
61
|
factRefs: z.array(ComplianceDocumentNamespacedRefSchema),
|
|
62
|
+
/**
|
|
63
|
+
* Which of the blueprint's clauses THIS clause supplies — `null` when it supplies none.
|
|
64
|
+
*
|
|
65
|
+
* The clause half of issue #244, and it was found through the method's own prose rather than by
|
|
66
|
+
* looking: the drafting guidance says "**Clauses carry the same claim**, as `satisfiesClauseRefs`"
|
|
67
|
+
* while this `strictObject` had no such key, so the instruction was unfollowable at both levels.
|
|
68
|
+
* One claim, two call sites — see `.claude/rules/invariant-call-site-enumeration.md`.
|
|
69
|
+
*
|
|
70
|
+
* Required-and-nullable and `.min(1)` when present, for the reasons given on the section field.
|
|
71
|
+
*/
|
|
72
|
+
satisfiesClauseRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1).nullable(),
|
|
62
73
|
sourcePolicyRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1),
|
|
63
74
|
claimGuardRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1),
|
|
64
75
|
})
|
|
@@ -107,6 +118,32 @@ export const ComplianceDocumentCandidateSectionGenerationSchema = z.strictObject
|
|
|
107
118
|
* `"retention-and-deletion"` are a silent miss and a reported gap that is not one.
|
|
108
119
|
*/
|
|
109
120
|
concernRef: z.enum(ComplianceConcern).nullable(),
|
|
121
|
+
/**
|
|
122
|
+
* Which of the document blueprint's REQUIRED sections this section satisfies — `null` for a section
|
|
123
|
+
* that satisfies none (a preamble, a contact block).
|
|
124
|
+
*
|
|
125
|
+
* ## The measured defect this closes (issue #244)
|
|
126
|
+
*
|
|
127
|
+
* The field exists on the family schema and was ABSENT here, and this contract is a `strictObject`,
|
|
128
|
+
* so the drafter could not emit it however clearly its method asked. Every landed document therefore
|
|
129
|
+
* claimed nothing, and the coherence report's `compliance-document-required-section-not-covered`
|
|
130
|
+
* check reported EVERY required section uncovered on EVERY run — permanently, for every application.
|
|
131
|
+
*
|
|
132
|
+
* Measured on the first live service-terms candidate (wonder-crm, 2026-09-02): "11 of 11 section(s)
|
|
133
|
+
* this document's definition requires are claimed by no section of the draft", on a draft whose
|
|
134
|
+
* eleven sections corresponded to the blueprint's eleven one for one. The content was there; only
|
|
135
|
+
* the claim was missing. A coverage check that is wrong in the alarming direction on the legal
|
|
136
|
+
* surface is worse than one that is absent — it is the finding a reader learns to skip, and it masks
|
|
137
|
+
* the run where a section genuinely IS missing.
|
|
138
|
+
*
|
|
139
|
+
* Required-and-nullable rather than optional, for the same reason as {@link concernRef} above: the
|
|
140
|
+
* drafter is told to write against the blueprint's required set, so omitting the key is not a
|
|
141
|
+
* considered "this satisfies nothing" — it is a section whose coverage nobody recorded, and the
|
|
142
|
+
* coverage check cannot tell that apart from a genuine gap.
|
|
143
|
+
*
|
|
144
|
+
* `.min(1)` when present, because an empty array and `null` would be two spellings of one state.
|
|
145
|
+
*/
|
|
146
|
+
satisfiesSectionRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1).nullable(),
|
|
110
147
|
clauses: z.array(ComplianceDocumentCandidateClauseGenerationSchema).min(1),
|
|
111
148
|
});
|
|
112
149
|
export const ComplianceDocumentCandidateVariantSelectionGenerationSchema = z.strictObject({
|
|
@@ -164,6 +201,9 @@ export function parseComplianceDocumentCandidateGeneration(input) {
|
|
|
164
201
|
order: section.order,
|
|
165
202
|
title: section.title,
|
|
166
203
|
...(section.concernRef === null ? {} : { concernRef: section.concernRef }),
|
|
204
|
+
// Absence, not `undefined`, exactly as the clause fields below: the family schema declares this
|
|
205
|
+
// optional, and a strictObject carrying an explicit `undefined` is not the same as omitting it.
|
|
206
|
+
...(section.satisfiesSectionRefs === null ? {} : { satisfiesSectionRefs: section.satisfiesSectionRefs }),
|
|
167
207
|
clauses: section.clauses.map((clause) => ({
|
|
168
208
|
clauseRef: clause.clauseRef,
|
|
169
209
|
order: clause.order,
|
|
@@ -173,6 +213,7 @@ export function parseComplianceDocumentCandidateGeneration(input) {
|
|
|
173
213
|
// strictObject carrying an explicit `undefined` is not the same as one omitting the key.
|
|
174
214
|
...(clause.incompleteness === null ? {} : { incompleteness: clause.incompleteness }),
|
|
175
215
|
factRefs: clause.factRefs,
|
|
216
|
+
...(clause.satisfiesClauseRefs === null ? {} : { satisfiesClauseRefs: clause.satisfiesClauseRefs }),
|
|
176
217
|
sourcePolicyRefs: clause.sourcePolicyRefs,
|
|
177
218
|
claimGuardRefs: clause.claimGuardRefs,
|
|
178
219
|
})),
|
package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compliance-document-candidate-generation.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/compliance-documents/compliance-document-candidate-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,iCAAiC,EACjC,kCAAkC,EAClC,qCAAqC,EACrC,+BAA+B,GAEhC,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AAChF,OAAO,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAE9E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AAEH,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAE7C,yGAAyG;AACzG,MAAM,CAAC,MAAM,iDAAiD,GAAG,CAAC,CAAC,YAAY,CAAC;IAC9E,KAAK,EAAE,WAAW;IAClB,QAAQ,EAAE,WAAW;CACtB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,iDAAiD,GAAG,CAAC;KAC/D,YAAY,CAAC;IACZ,SAAS,EAAE,qCAAqC;IAChD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAClC,YAAY,EAAE,WAAW;IACzB,uFAAuF;IACvF,YAAY,EAAE,CAAC,CAAC,IAAI,CAAC,+BAA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,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,cAAc,EAAE,MAAM,CAAC,cAAc,EAAE,CAAC;gBACpF,QAAQ,EAAE,MAAM,CAAC,QAAQ;gBACzB,gBAAgB,EAAE,MAAM,CAAC,gBAAgB;gBACzC,cAAc,EAAE,MAAM,CAAC,cAAc;aACtC,CAAC,CAAC;SACJ,CAAC,CAAC;QACH,mBAAmB,EAAE,SAAS,CAAC,mBAAmB;QAClD,cAAc,EAAE,SAAS,CAAC,cAAc;KACzC,CAAC,CAAC;AACL,CAAC","sourcesContent":["import { z } from \"zod\";\n\nimport {\n ComplianceDocumentCandidateSchema,\n ComplianceDocumentCandidateVersion,\n ComplianceDocumentNamespacedRefSchema,\n ComplianceStatementCompleteness,\n type ComplianceDocumentCandidate,\n} from \"./compliance-document-candidate.schemas\";\nimport { ComplianceConcern } from \"./compliance-completeness-statement.schemas\";\nimport { KNOWN_DOCUMENT_REFS_BY_NAME } from \"./required-document-set.schemas\";\n\n/**\n * The STRICT contract a provider answers for the `compliance-document-candidate` family.\n *\n * ## Why the family schema is not this contract\n *\n * The family schema is what a HAND-AUTHORED file is parsed against, so it is permissive where a human\n * would reasonably leave a key out: `completeness` defaults, `incompleteness` is optional, `locale` and\n * `jurisdictionRefs` are optional, `variantSelections` and `limitationRefs` default to empty. Every one\n * of those defaults is right for a human and wrong for a provider, for the reason three families in a\n * row shipped a broken lane in 2026-08: a model handed the permissive schema satisfies it by OMISSION,\n * and an omission is indistinguishable from a considered answer.\n *\n * ## The one that is not merely untidy\n *\n * `completeness` defaults to {@link ComplianceStatementCompleteness.DERIVED}, the STRICT state — a\n * clause claiming to be established from what the application is, whose every cited fact must be\n * declared. That default is correct for a hand-authored clause, where the cost of being wrong is a\n * refusal a human can answer.\n *\n * Given to a MODEL it inverts: a drafter that simply never emits the key produces a document of\n * silently-`DERIVED` clauses, and the fact-binding check — the one guard standing between a draft and\n * an unfounded legal claim — is exactly the thing that then rejects it. So the model is either blocked\n * by a rule it was never told about, or, on the clauses whose facts happen to exist, asserts as\n * established things it could not establish. **This is the single direction that readmits invention**,\n * which is why `completeness` is required-and-explicit here.\n *\n * ## Nullable-and-required, not optional\n *\n * Every deferrable field is `.nullable()` and required, matching every sibling generation contract\n * (`BusinessModelLiteSnapshotGenerationSchema`, `ApplicationDocumentFactSpecificationGenerationSchema`).\n * An omitted key and a considered \"there is none\" are different answers, and a provider that may drop a\n * key gives no way to tell them apart. The normalizer turns `null` back into absence, which is what the\n * family schema means by an unanswered second-step question.\n *\n * ## What the runtime stamps, and what it deliberately does not\n *\n * Only `version` — the family's schema discriminator, which is not content. Unlike the fact\n * specification, this contract does NOT stamp refs: a `clauseRef`, `sectionRef` and `documentRef` are\n * things the DOCUMENT says about its own structure, authored by the drafter, and inventing them in the\n * runtime would be the runtime writing part of the document.\n */\n\nconst ProseSchema = z.string().trim().min(1);\n\n/** What a marked statement needs and who supplies it — required whenever completeness is not DERIVED. */\nexport const ComplianceStatementIncompletenessGenerationSchema = z.strictObject({\n needs: ProseSchema,\n closedBy: ProseSchema,\n});\n\nexport const ComplianceDocumentCandidateClauseGenerationSchema = z\n .strictObject({\n clauseRef: ComplianceDocumentNamespacedRefSchema,\n order: z.number().int().positive(),\n bodyMarkdown: ProseSchema,\n /** Required, never defaulted — see the file header. This is the invention boundary. */\n completeness: z.enum(ComplianceStatementCompleteness),\n /** `null` for a DERIVED clause; the pairing is enforced below exactly as the family schema enforces it. */\n incompleteness: ComplianceStatementIncompletenessGenerationSchema.nullable(),\n factRefs: z.array(ComplianceDocumentNamespacedRefSchema),\n sourcePolicyRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1),\n claimGuardRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1),\n })\n .superRefine((clause, context) => {\n const marked = clause.completeness !== ComplianceStatementCompleteness.DERIVED;\n /*\n * Checked HERE as well as on the family schema, and the duplication earns its keep: a generation\n * rejection's message goes back to the MODEL as a retry finding, naming the clause it must fix. The\n * family schema would catch the same violation after normalization, as a Zod path index — correct,\n * and useless as a repair instruction.\n */\n if (marked && clause.incompleteness === null) {\n context.addIssue({\n code: \"custom\",\n path: [\"incompleteness\"],\n message: `clause \"${clause.clauseRef}\" is marked ${clause.completeness}, so it must state what it needs and who closes it`,\n });\n }\n if (!marked && clause.incompleteness !== null) {\n context.addIssue({\n code: \"custom\",\n path: [\"incompleteness\"],\n message: `clause \"${clause.clauseRef}\" is DERIVED, so it is established and cannot also declare what it is missing`,\n });\n }\n });\n\nexport const ComplianceDocumentCandidateSectionGenerationSchema = z.strictObject({\n sectionRef: ComplianceDocumentNamespacedRefSchema,\n order: z.number().int().positive(),\n title: ProseSchema,\n /**\n * Which compliance concern this section answers — `null` for a section that answers none (a\n * preamble, a contact block).\n *\n * Required-and-nullable rather than optional, like every other deferrable field here: the drafter is\n * told to write one section per concern from the composition reference, so omitting the key is not a\n * considered \"this answers no concern\" — it is a section whose concern nobody recorded, and the\n * completeness statement projected from it would silently under-count what the document covers.\n *\n * CONSTRAINED to {@link ComplianceConcern} since 2026-08-29, and the reason is measured rather than\n * tidiness. As a free string it was answerable with `null`, and the first document produced live\n * answered `null` for all four of its sections — so `projectComplianceCompletenessStatement`, which\n * groups clauses BY CONCERN, saw nothing to group and returned an empty statement. The completeness\n * projection was correct code with no reachable input. A free-form concern name would have been no\n * better: the projection matches against the enum's values, so `\"retention\"` and\n * `\"retention-and-deletion\"` are a silent miss and a reported gap that is not one.\n */\n concernRef: z.enum(ComplianceConcern).nullable(),\n clauses: z.array(ComplianceDocumentCandidateClauseGenerationSchema).min(1),\n});\n\nexport const ComplianceDocumentCandidateVariantSelectionGenerationSchema = z.strictObject({\n axisRef: ComplianceDocumentNamespacedRefSchema,\n optionRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1),\n supportingFactRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1),\n});\n\nexport const ComplianceDocumentCandidateGenerationSchema = z.strictObject({\n /**\n * WHICH governed document this is, from the closed set the framework knows how to measure.\n *\n * Constrained 2026-08-29. As a free namespaced ref, the first live run named\n * `compliance-document-candidate:wonder-crm-data-handling-notice` — a well-formed ref for a document\n * that exists nowhere: `CONCERNS_BY_DOCUMENT` has no entry for it, so the completeness statement had\n * no concern set to measure against, and `validateComplianceDocumentIsRequired` could not say whether\n * the application needs it. The draft was schema-valid, readable, and unmeasurable.\n *\n * A document the framework cannot name is a document it cannot state the gaps in, and stating the\n * gaps is this whole capability's purpose (D4: completeness is measured against FULL compliance).\n * Naming a NEW document is a framework change — a concern composition and a required-set rule — not\n * something a drafter decides mid-draft.\n */\n documentRef: z.enum(KNOWN_DOCUMENT_REFS_BY_NAME),\n title: ProseSchema,\n /**\n * `null` when the locale decision has not been taken — a second-step question that must never gate\n * drafting. Required-and-nullable so \"not yet decided\" is something the drafter STATES rather than\n * something a missing key implies.\n */\n locale: z.string().trim().min(2).nullable(),\n /** `null` when the jurisdiction decision is still open, for the same reason as `locale`. */\n jurisdictionRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1).nullable(),\n /**\n * Publication-axis decisions. Empty is the honest answer for a first draft — a variant selection is a\n * DECISION the document makes, and there is no \"undecided\" selection: an undecided axis is omitted.\n */\n variantSelections: z.array(ComplianceDocumentCandidateVariantSelectionGenerationSchema),\n sections: z.array(ComplianceDocumentCandidateSectionGenerationSchema).min(1),\n reviewChecklistRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1),\n /** What the draft does NOT cover, stated by the drafter rather than discovered by the reader. */\n limitationRefs: z.array(ComplianceDocumentNamespacedRefSchema),\n});\nexport type ComplianceDocumentCandidateGeneration = z.infer<typeof ComplianceDocumentCandidateGenerationSchema>;\n\n/** Normalize strict provider output into the canonical family value: `null` → absent, plus the version stamp. */\nexport function parseComplianceDocumentCandidateGeneration(input: unknown): ComplianceDocumentCandidate {\n const generated = ComplianceDocumentCandidateGenerationSchema.parse(input);\n return ComplianceDocumentCandidateSchema.parse({\n version: ComplianceDocumentCandidateVersion.V1,\n documentRef: generated.documentRef,\n title: generated.title,\n ...(generated.locale === null ? {} : { locale: generated.locale }),\n ...(generated.jurisdictionRefs === null ? {} : { jurisdictionRefs: generated.jurisdictionRefs }),\n variantSelections: generated.variantSelections,\n sections: generated.sections.map((section) => ({\n sectionRef: section.sectionRef,\n order: section.order,\n title: section.title,\n ...(section.concernRef === null ? {} : { concernRef: section.concernRef }),\n clauses: section.clauses.map((clause) => ({\n clauseRef: clause.clauseRef,\n order: clause.order,\n bodyMarkdown: clause.bodyMarkdown,\n completeness: clause.completeness,\n // Absence, not `undefined`: the family schema forbids the key on a DERIVED clause, and a\n // strictObject carrying an explicit `undefined` is not the same as one omitting the key.\n ...(clause.incompleteness === null ? {} : { incompleteness: clause.incompleteness }),\n factRefs: clause.factRefs,\n sourcePolicyRefs: clause.sourcePolicyRefs,\n claimGuardRefs: clause.claimGuardRefs,\n })),\n })),\n reviewChecklistRefs: generated.reviewChecklistRefs,\n limitationRefs: generated.limitationRefs,\n });\n}\n"]}
|
|
1
|
+
{"version":3,"file":"compliance-document-candidate-generation.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/compliance-documents/compliance-document-candidate-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,iCAAiC,EACjC,kCAAkC,EAClC,qCAAqC,EACrC,+BAA+B,GAEhC,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AAChF,OAAO,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAE9E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AAEH,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAE7C,yGAAyG;AACzG,MAAM,CAAC,MAAM,iDAAiD,GAAG,CAAC,CAAC,YAAY,C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Ac,EAAE,SAAS,CAAC,cAAc;KACzC,CAAC,CAAC;AACL,CAAC","sourcesContent":["import { z } from \"zod\";\n\nimport {\n ComplianceDocumentCandidateSchema,\n ComplianceDocumentCandidateVersion,\n ComplianceDocumentNamespacedRefSchema,\n ComplianceStatementCompleteness,\n type ComplianceDocumentCandidate,\n} from \"./compliance-document-candidate.schemas\";\nimport { ComplianceConcern } from \"./compliance-completeness-statement.schemas\";\nimport { KNOWN_DOCUMENT_REFS_BY_NAME } from \"./required-document-set.schemas\";\n\n/**\n * The STRICT contract a provider answers for the `compliance-document-candidate` family.\n *\n * ## Why the family schema is not this contract\n *\n * The family schema is what a HAND-AUTHORED file is parsed against, so it is permissive where a human\n * would reasonably leave a key out: `completeness` defaults, `incompleteness` is optional, `locale` and\n * `jurisdictionRefs` are optional, `variantSelections` and `limitationRefs` default to empty. Every one\n * of those defaults is right for a human and wrong for a provider, for the reason three families in a\n * row shipped a broken lane in 2026-08: a model handed the permissive schema satisfies it by OMISSION,\n * and an omission is indistinguishable from a considered answer.\n *\n * ## The one that is not merely untidy\n *\n * `completeness` defaults to {@link ComplianceStatementCompleteness.DERIVED}, the STRICT state — a\n * clause claiming to be established from what the application is, whose every cited fact must be\n * declared. That default is correct for a hand-authored clause, where the cost of being wrong is a\n * refusal a human can answer.\n *\n * Given to a MODEL it inverts: a drafter that simply never emits the key produces a document of\n * silently-`DERIVED` clauses, and the fact-binding check — the one guard standing between a draft and\n * an unfounded legal claim — is exactly the thing that then rejects it. So the model is either blocked\n * by a rule it was never told about, or, on the clauses whose facts happen to exist, asserts as\n * established things it could not establish. **This is the single direction that readmits invention**,\n * which is why `completeness` is required-and-explicit here.\n *\n * ## Nullable-and-required, not optional\n *\n * Every deferrable field is `.nullable()` and required, matching every sibling generation contract\n * (`BusinessModelLiteSnapshotGenerationSchema`, `ApplicationDocumentFactSpecificationGenerationSchema`).\n * An omitted key and a considered \"there is none\" are different answers, and a provider that may drop a\n * key gives no way to tell them apart. The normalizer turns `null` back into absence, which is what the\n * family schema means by an unanswered second-step question.\n *\n * ## What the runtime stamps, and what it deliberately does not\n *\n * Only `version` — the family's schema discriminator, which is not content. Unlike the fact\n * specification, this contract does NOT stamp refs: a `clauseRef`, `sectionRef` and `documentRef` are\n * things the DOCUMENT says about its own structure, authored by the drafter, and inventing them in the\n * runtime would be the runtime writing part of the document.\n */\n\nconst ProseSchema = z.string().trim().min(1);\n\n/** What a marked statement needs and who supplies it — required whenever completeness is not DERIVED. */\nexport const ComplianceStatementIncompletenessGenerationSchema = z.strictObject({\n needs: ProseSchema,\n closedBy: ProseSchema,\n});\n\nexport const ComplianceDocumentCandidateClauseGenerationSchema = z\n .strictObject({\n clauseRef: ComplianceDocumentNamespacedRefSchema,\n order: z.number().int().positive(),\n bodyMarkdown: ProseSchema,\n /** Required, never defaulted — see the file header. This is the invention boundary. */\n completeness: z.enum(ComplianceStatementCompleteness),\n /** `null` for a DERIVED clause; the pairing is enforced below exactly as the family schema enforces it. */\n incompleteness: ComplianceStatementIncompletenessGenerationSchema.nullable(),\n factRefs: z.array(ComplianceDocumentNamespacedRefSchema),\n /**\n * Which of the blueprint's clauses THIS clause supplies — `null` when it supplies none.\n *\n * The clause half of issue #244, and it was found through the method's own prose rather than by\n * looking: the drafting guidance says \"**Clauses carry the same claim**, as `satisfiesClauseRefs`\"\n * while this `strictObject` had no such key, so the instruction was unfollowable at both levels.\n * One claim, two call sites — see `.claude/rules/invariant-call-site-enumeration.md`.\n *\n * Required-and-nullable and `.min(1)` when present, for the reasons given on the section field.\n */\n satisfiesClauseRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1).nullable(),\n sourcePolicyRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1),\n claimGuardRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1),\n })\n .superRefine((clause, context) => {\n const marked = clause.completeness !== ComplianceStatementCompleteness.DERIVED;\n /*\n * Checked HERE as well as on the family schema, and the duplication earns its keep: a generation\n * rejection's message goes back to the MODEL as a retry finding, naming the clause it must fix. The\n * family schema would catch the same violation after normalization, as a Zod path index — correct,\n * and useless as a repair instruction.\n */\n if (marked && clause.incompleteness === null) {\n context.addIssue({\n code: \"custom\",\n path: [\"incompleteness\"],\n message: `clause \"${clause.clauseRef}\" is marked ${clause.completeness}, so it must state what it needs and who closes it`,\n });\n }\n if (!marked && clause.incompleteness !== null) {\n context.addIssue({\n code: \"custom\",\n path: [\"incompleteness\"],\n message: `clause \"${clause.clauseRef}\" is DERIVED, so it is established and cannot also declare what it is missing`,\n });\n }\n });\n\nexport const ComplianceDocumentCandidateSectionGenerationSchema = z.strictObject({\n sectionRef: ComplianceDocumentNamespacedRefSchema,\n order: z.number().int().positive(),\n title: ProseSchema,\n /**\n * Which compliance concern this section answers — `null` for a section that answers none (a\n * preamble, a contact block).\n *\n * Required-and-nullable rather than optional, like every other deferrable field here: the drafter is\n * told to write one section per concern from the composition reference, so omitting the key is not a\n * considered \"this answers no concern\" — it is a section whose concern nobody recorded, and the\n * completeness statement projected from it would silently under-count what the document covers.\n *\n * CONSTRAINED to {@link ComplianceConcern} since 2026-08-29, and the reason is measured rather than\n * tidiness. As a free string it was answerable with `null`, and the first document produced live\n * answered `null` for all four of its sections — so `projectComplianceCompletenessStatement`, which\n * groups clauses BY CONCERN, saw nothing to group and returned an empty statement. The completeness\n * projection was correct code with no reachable input. A free-form concern name would have been no\n * better: the projection matches against the enum's values, so `\"retention\"` and\n * `\"retention-and-deletion\"` are a silent miss and a reported gap that is not one.\n */\n concernRef: z.enum(ComplianceConcern).nullable(),\n /**\n * Which of the document blueprint's REQUIRED sections this section satisfies — `null` for a section\n * that satisfies none (a preamble, a contact block).\n *\n * ## The measured defect this closes (issue #244)\n *\n * The field exists on the family schema and was ABSENT here, and this contract is a `strictObject`,\n * so the drafter could not emit it however clearly its method asked. Every landed document therefore\n * claimed nothing, and the coherence report's `compliance-document-required-section-not-covered`\n * check reported EVERY required section uncovered on EVERY run — permanently, for every application.\n *\n * Measured on the first live service-terms candidate (wonder-crm, 2026-09-02): \"11 of 11 section(s)\n * this document's definition requires are claimed by no section of the draft\", on a draft whose\n * eleven sections corresponded to the blueprint's eleven one for one. The content was there; only\n * the claim was missing. A coverage check that is wrong in the alarming direction on the legal\n * surface is worse than one that is absent — it is the finding a reader learns to skip, and it masks\n * the run where a section genuinely IS missing.\n *\n * Required-and-nullable rather than optional, for the same reason as {@link concernRef} above: the\n * drafter is told to write against the blueprint's required set, so omitting the key is not a\n * considered \"this satisfies nothing\" — it is a section whose coverage nobody recorded, and the\n * coverage check cannot tell that apart from a genuine gap.\n *\n * `.min(1)` when present, because an empty array and `null` would be two spellings of one state.\n */\n satisfiesSectionRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1).nullable(),\n clauses: z.array(ComplianceDocumentCandidateClauseGenerationSchema).min(1),\n});\n\nexport const ComplianceDocumentCandidateVariantSelectionGenerationSchema = z.strictObject({\n axisRef: ComplianceDocumentNamespacedRefSchema,\n optionRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1),\n supportingFactRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1),\n});\n\nexport const ComplianceDocumentCandidateGenerationSchema = z.strictObject({\n /**\n * WHICH governed document this is, from the closed set the framework knows how to measure.\n *\n * Constrained 2026-08-29. As a free namespaced ref, the first live run named\n * `compliance-document-candidate:wonder-crm-data-handling-notice` — a well-formed ref for a document\n * that exists nowhere: `CONCERNS_BY_DOCUMENT` has no entry for it, so the completeness statement had\n * no concern set to measure against, and `validateComplianceDocumentIsRequired` could not say whether\n * the application needs it. The draft was schema-valid, readable, and unmeasurable.\n *\n * A document the framework cannot name is a document it cannot state the gaps in, and stating the\n * gaps is this whole capability's purpose (D4: completeness is measured against FULL compliance).\n * Naming a NEW document is a framework change — a concern composition and a required-set rule — not\n * something a drafter decides mid-draft.\n */\n documentRef: z.enum(KNOWN_DOCUMENT_REFS_BY_NAME),\n title: ProseSchema,\n /**\n * `null` when the locale decision has not been taken — a second-step question that must never gate\n * drafting. Required-and-nullable so \"not yet decided\" is something the drafter STATES rather than\n * something a missing key implies.\n */\n locale: z.string().trim().min(2).nullable(),\n /** `null` when the jurisdiction decision is still open, for the same reason as `locale`. */\n jurisdictionRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1).nullable(),\n /**\n * Publication-axis decisions. Empty is the honest answer for a first draft — a variant selection is a\n * DECISION the document makes, and there is no \"undecided\" selection: an undecided axis is omitted.\n */\n variantSelections: z.array(ComplianceDocumentCandidateVariantSelectionGenerationSchema),\n sections: z.array(ComplianceDocumentCandidateSectionGenerationSchema).min(1),\n reviewChecklistRefs: z.array(ComplianceDocumentNamespacedRefSchema).min(1),\n /** What the draft does NOT cover, stated by the drafter rather than discovered by the reader. */\n limitationRefs: z.array(ComplianceDocumentNamespacedRefSchema),\n});\nexport type ComplianceDocumentCandidateGeneration = z.infer<typeof ComplianceDocumentCandidateGenerationSchema>;\n\n/** Normalize strict provider output into the canonical family value: `null` → absent, plus the version stamp. */\nexport function parseComplianceDocumentCandidateGeneration(input: unknown): ComplianceDocumentCandidate {\n const generated = ComplianceDocumentCandidateGenerationSchema.parse(input);\n return ComplianceDocumentCandidateSchema.parse({\n version: ComplianceDocumentCandidateVersion.V1,\n documentRef: generated.documentRef,\n title: generated.title,\n ...(generated.locale === null ? {} : { locale: generated.locale }),\n ...(generated.jurisdictionRefs === null ? {} : { jurisdictionRefs: generated.jurisdictionRefs }),\n variantSelections: generated.variantSelections,\n sections: generated.sections.map((section) => ({\n sectionRef: section.sectionRef,\n order: section.order,\n title: section.title,\n ...(section.concernRef === null ? {} : { concernRef: section.concernRef }),\n // Absence, not `undefined`, exactly as the clause fields below: the family schema declares this\n // optional, and a strictObject carrying an explicit `undefined` is not the same as omitting it.\n ...(section.satisfiesSectionRefs === null ? {} : { satisfiesSectionRefs: section.satisfiesSectionRefs }),\n clauses: section.clauses.map((clause) => ({\n clauseRef: clause.clauseRef,\n order: clause.order,\n bodyMarkdown: clause.bodyMarkdown,\n completeness: clause.completeness,\n // Absence, not `undefined`: the family schema forbids the key on a DERIVED clause, and a\n // strictObject carrying an explicit `undefined` is not the same as one omitting the key.\n ...(clause.incompleteness === null ? {} : { incompleteness: clause.incompleteness }),\n factRefs: clause.factRefs,\n ...(clause.satisfiesClauseRefs === null ? {} : { satisfiesClauseRefs: clause.satisfiesClauseRefs }),\n sourcePolicyRefs: clause.sourcePolicyRefs,\n claimGuardRefs: clause.claimGuardRefs,\n })),\n })),\n reviewChecklistRefs: generated.reviewChecklistRefs,\n limitationRefs: generated.limitationRefs,\n });\n}\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { type
|
|
2
|
+
import { type ApplicationDocumentFactDeclarationSet } from "../../application-creation/application-document-fact-specification.application-creation.schemas";
|
|
3
3
|
/**
|
|
4
4
|
* A proposed governed-document draft — a privacy notice or service terms — as CONTENT.
|
|
5
5
|
*
|
|
@@ -94,6 +94,31 @@ export type ComplianceStatementIncompleteness = z.infer<typeof ComplianceStateme
|
|
|
94
94
|
/** One clause of the draft: the prose a reader sees, and what it rests on. */
|
|
95
95
|
export declare const ComplianceDocumentCandidateClauseSchema: z.ZodObject<{
|
|
96
96
|
clauseRef: z.ZodString;
|
|
97
|
+
/**
|
|
98
|
+
* Which of the document blueprint's clauses this clause supplies.
|
|
99
|
+
*
|
|
100
|
+
* The clause-level twin of `satisfiesSectionRefs`, and it exists for the reason that survived
|
|
101
|
+
* every other half of the ref-churn problem: a clause has NO stable anchor. Facts are dictated by
|
|
102
|
+
* the catalog and sections carry a `concernRef` from a closed vocabulary, so both join across two
|
|
103
|
+
* drafts. A clause is named freely and joins to nothing — so a reviewer who approved clause N
|
|
104
|
+
* cannot find it in the next revision, which is what makes a governed document's review
|
|
105
|
+
* un-carryable rather than merely untidy.
|
|
106
|
+
*
|
|
107
|
+
* Stated as a CLAIM rather than adopted as the clause's own `clauseRef`, for the same reason as
|
|
108
|
+
* sections: the candidate's clause set is the drafter's, and telling it to take catalog names
|
|
109
|
+
* asks it to reconcile two structures mid-draft. Several clauses may supply one blueprint clause
|
|
110
|
+
* between them, and one clause may supply several.
|
|
111
|
+
*
|
|
112
|
+
* `.optional()`, deliberately and with a scar behind it: `satisfiesSectionRefs` shipped as
|
|
113
|
+
* `.default([])` and broke every already-landed document at compile time, because a Zod default is
|
|
114
|
+
* required on the inferred OUTPUT type and a landed candidate is TypeScript authored against it.
|
|
115
|
+
* Absent means the clause claims nothing.
|
|
116
|
+
*
|
|
117
|
+
* Only REQUIRED blueprint clauses are ever expected. A CONDITIONAL clause is included when its
|
|
118
|
+
* condition groups hold, so an unclaimed one is not a gap — the coverage check filters on
|
|
119
|
+
* `inclusionKind`, which matters: service terms declares 4 conditional clauses of 15.
|
|
120
|
+
*/
|
|
121
|
+
satisfiesClauseRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
97
122
|
order: z.ZodNumber;
|
|
98
123
|
bodyMarkdown: z.ZodString;
|
|
99
124
|
/**
|
|
@@ -142,8 +167,74 @@ export declare const ComplianceDocumentCandidateSectionSchema: z.ZodObject<{
|
|
|
142
167
|
* knows. Naming it here records a decision it has already made.
|
|
143
168
|
*/
|
|
144
169
|
concernRef: z.ZodOptional<z.ZodString>;
|
|
170
|
+
/**
|
|
171
|
+
* Which of the DOCUMENT DEFINITION's required sections this section satisfies.
|
|
172
|
+
*
|
|
173
|
+
* The join between two vocabularies that are orthogonal rather than competing, and the reason
|
|
174
|
+
* neither could replace the other. A `concernRef` says what compliance TOPIC a section is about —
|
|
175
|
+
* one flat 19-member set spanning privacy notices, service terms and the governance documents,
|
|
176
|
+
* and the spine of the completeness statement that reports gaps ACROSS documents. A catalog
|
|
177
|
+
* section ref says where content belongs in THIS document — 42 distinct refs, defined per
|
|
178
|
+
* definition, because a privacy notice's eleven and a programme handbook's five are different
|
|
179
|
+
* sets by design.
|
|
180
|
+
*
|
|
181
|
+
* Stated per DRAFT rather than mapped once in the framework, deliberately. A global concern →
|
|
182
|
+
* section mapping has to give one answer for all six document types, and `analytics-and-tracking`
|
|
183
|
+
* does not sit under the same heading in a privacy notice and a programme handbook — so such a
|
|
184
|
+
* mapping is wrong somewhere by construction. Per document is the only level at which the
|
|
185
|
+
* question has a stable answer, and the drafter has both in front of it: the brief renders the
|
|
186
|
+
* definition's required sections, and the method walks the concerns.
|
|
187
|
+
*
|
|
188
|
+
* ⚠️ This does NOT make the catalog own the section set. An earlier attempt told the drafter to
|
|
189
|
+
* adopt catalog refs as its own `sectionRef`, which asked it to reconcile two structures mid-draft
|
|
190
|
+
* and was reverted. This adds a claim and changes no structure: the section keeps its own ref and
|
|
191
|
+
* its own ordering.
|
|
192
|
+
*
|
|
193
|
+
* `.optional()`, NOT `.default([])`, and the difference is not stylistic. A Zod default is
|
|
194
|
+
* optional on INPUT and REQUIRED on the inferred OUTPUT type — and a landed document is a
|
|
195
|
+
* TypeScript file typed against that output type. Declaring it with a default therefore broke
|
|
196
|
+
* every already-landed candidate at compile time (`TS2741`), which is a schema change reaching
|
|
197
|
+
* backwards into committed artifacts a human wrote. Absent means the section claims nothing, and
|
|
198
|
+
* every reader treats it that way.
|
|
199
|
+
*
|
|
200
|
+
* Unconstrained here on purpose — a section answering no required part of the definition (a
|
|
201
|
+
* preamble, a contact block) legitimately claims nothing. What the claims are worth
|
|
202
|
+
* is decided by the COVERAGE check over the landed pair, which is where the definition is known;
|
|
203
|
+
* this schema cannot see which document it is drafting.
|
|
204
|
+
*
|
|
205
|
+
* **What this proves and what it does not.** A required section claimed by NOTHING is caught. A
|
|
206
|
+
* section claiming a required part it does not actually address is NOT — nothing reads the prose.
|
|
207
|
+
* That is the same bound the fact-binding check carries (citation, not semantics), and it is
|
|
208
|
+
* stated here so the coverage result is not read as a stronger guarantee than it is.
|
|
209
|
+
*/
|
|
210
|
+
satisfiesSectionRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
145
211
|
clauses: z.ZodArray<z.ZodObject<{
|
|
146
212
|
clauseRef: z.ZodString;
|
|
213
|
+
/**
|
|
214
|
+
* Which of the document blueprint's clauses this clause supplies.
|
|
215
|
+
*
|
|
216
|
+
* The clause-level twin of `satisfiesSectionRefs`, and it exists for the reason that survived
|
|
217
|
+
* every other half of the ref-churn problem: a clause has NO stable anchor. Facts are dictated by
|
|
218
|
+
* the catalog and sections carry a `concernRef` from a closed vocabulary, so both join across two
|
|
219
|
+
* drafts. A clause is named freely and joins to nothing — so a reviewer who approved clause N
|
|
220
|
+
* cannot find it in the next revision, which is what makes a governed document's review
|
|
221
|
+
* un-carryable rather than merely untidy.
|
|
222
|
+
*
|
|
223
|
+
* Stated as a CLAIM rather than adopted as the clause's own `clauseRef`, for the same reason as
|
|
224
|
+
* sections: the candidate's clause set is the drafter's, and telling it to take catalog names
|
|
225
|
+
* asks it to reconcile two structures mid-draft. Several clauses may supply one blueprint clause
|
|
226
|
+
* between them, and one clause may supply several.
|
|
227
|
+
*
|
|
228
|
+
* `.optional()`, deliberately and with a scar behind it: `satisfiesSectionRefs` shipped as
|
|
229
|
+
* `.default([])` and broke every already-landed document at compile time, because a Zod default is
|
|
230
|
+
* required on the inferred OUTPUT type and a landed candidate is TypeScript authored against it.
|
|
231
|
+
* Absent means the clause claims nothing.
|
|
232
|
+
*
|
|
233
|
+
* Only REQUIRED blueprint clauses are ever expected. A CONDITIONAL clause is included when its
|
|
234
|
+
* condition groups hold, so an unclaimed one is not a gap — the coverage check filters on
|
|
235
|
+
* `inclusionKind`, which matters: service terms declares 4 conditional clauses of 15.
|
|
236
|
+
*/
|
|
237
|
+
satisfiesClauseRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
147
238
|
order: z.ZodNumber;
|
|
148
239
|
bodyMarkdown: z.ZodString;
|
|
149
240
|
/**
|
|
@@ -225,8 +316,74 @@ export declare const ComplianceDocumentCandidateSchema: z.ZodObject<{
|
|
|
225
316
|
* knows. Naming it here records a decision it has already made.
|
|
226
317
|
*/
|
|
227
318
|
concernRef: z.ZodOptional<z.ZodString>;
|
|
319
|
+
/**
|
|
320
|
+
* Which of the DOCUMENT DEFINITION's required sections this section satisfies.
|
|
321
|
+
*
|
|
322
|
+
* The join between two vocabularies that are orthogonal rather than competing, and the reason
|
|
323
|
+
* neither could replace the other. A `concernRef` says what compliance TOPIC a section is about —
|
|
324
|
+
* one flat 19-member set spanning privacy notices, service terms and the governance documents,
|
|
325
|
+
* and the spine of the completeness statement that reports gaps ACROSS documents. A catalog
|
|
326
|
+
* section ref says where content belongs in THIS document — 42 distinct refs, defined per
|
|
327
|
+
* definition, because a privacy notice's eleven and a programme handbook's five are different
|
|
328
|
+
* sets by design.
|
|
329
|
+
*
|
|
330
|
+
* Stated per DRAFT rather than mapped once in the framework, deliberately. A global concern →
|
|
331
|
+
* section mapping has to give one answer for all six document types, and `analytics-and-tracking`
|
|
332
|
+
* does not sit under the same heading in a privacy notice and a programme handbook — so such a
|
|
333
|
+
* mapping is wrong somewhere by construction. Per document is the only level at which the
|
|
334
|
+
* question has a stable answer, and the drafter has both in front of it: the brief renders the
|
|
335
|
+
* definition's required sections, and the method walks the concerns.
|
|
336
|
+
*
|
|
337
|
+
* ⚠️ This does NOT make the catalog own the section set. An earlier attempt told the drafter to
|
|
338
|
+
* adopt catalog refs as its own `sectionRef`, which asked it to reconcile two structures mid-draft
|
|
339
|
+
* and was reverted. This adds a claim and changes no structure: the section keeps its own ref and
|
|
340
|
+
* its own ordering.
|
|
341
|
+
*
|
|
342
|
+
* `.optional()`, NOT `.default([])`, and the difference is not stylistic. A Zod default is
|
|
343
|
+
* optional on INPUT and REQUIRED on the inferred OUTPUT type — and a landed document is a
|
|
344
|
+
* TypeScript file typed against that output type. Declaring it with a default therefore broke
|
|
345
|
+
* every already-landed candidate at compile time (`TS2741`), which is a schema change reaching
|
|
346
|
+
* backwards into committed artifacts a human wrote. Absent means the section claims nothing, and
|
|
347
|
+
* every reader treats it that way.
|
|
348
|
+
*
|
|
349
|
+
* Unconstrained here on purpose — a section answering no required part of the definition (a
|
|
350
|
+
* preamble, a contact block) legitimately claims nothing. What the claims are worth
|
|
351
|
+
* is decided by the COVERAGE check over the landed pair, which is where the definition is known;
|
|
352
|
+
* this schema cannot see which document it is drafting.
|
|
353
|
+
*
|
|
354
|
+
* **What this proves and what it does not.** A required section claimed by NOTHING is caught. A
|
|
355
|
+
* section claiming a required part it does not actually address is NOT — nothing reads the prose.
|
|
356
|
+
* That is the same bound the fact-binding check carries (citation, not semantics), and it is
|
|
357
|
+
* stated here so the coverage result is not read as a stronger guarantee than it is.
|
|
358
|
+
*/
|
|
359
|
+
satisfiesSectionRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
228
360
|
clauses: z.ZodArray<z.ZodObject<{
|
|
229
361
|
clauseRef: z.ZodString;
|
|
362
|
+
/**
|
|
363
|
+
* Which of the document blueprint's clauses this clause supplies.
|
|
364
|
+
*
|
|
365
|
+
* The clause-level twin of `satisfiesSectionRefs`, and it exists for the reason that survived
|
|
366
|
+
* every other half of the ref-churn problem: a clause has NO stable anchor. Facts are dictated by
|
|
367
|
+
* the catalog and sections carry a `concernRef` from a closed vocabulary, so both join across two
|
|
368
|
+
* drafts. A clause is named freely and joins to nothing — so a reviewer who approved clause N
|
|
369
|
+
* cannot find it in the next revision, which is what makes a governed document's review
|
|
370
|
+
* un-carryable rather than merely untidy.
|
|
371
|
+
*
|
|
372
|
+
* Stated as a CLAIM rather than adopted as the clause's own `clauseRef`, for the same reason as
|
|
373
|
+
* sections: the candidate's clause set is the drafter's, and telling it to take catalog names
|
|
374
|
+
* asks it to reconcile two structures mid-draft. Several clauses may supply one blueprint clause
|
|
375
|
+
* between them, and one clause may supply several.
|
|
376
|
+
*
|
|
377
|
+
* `.optional()`, deliberately and with a scar behind it: `satisfiesSectionRefs` shipped as
|
|
378
|
+
* `.default([])` and broke every already-landed document at compile time, because a Zod default is
|
|
379
|
+
* required on the inferred OUTPUT type and a landed candidate is TypeScript authored against it.
|
|
380
|
+
* Absent means the clause claims nothing.
|
|
381
|
+
*
|
|
382
|
+
* Only REQUIRED blueprint clauses are ever expected. A CONDITIONAL clause is included when its
|
|
383
|
+
* condition groups hold, so an unclaimed one is not a gap — the coverage check filters on
|
|
384
|
+
* `inclusionKind`, which matters: service terms declares 4 conditional clauses of 15.
|
|
385
|
+
*/
|
|
386
|
+
satisfiesClauseRefs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
230
387
|
order: z.ZodNumber;
|
|
231
388
|
bodyMarkdown: z.ZodString;
|
|
232
389
|
/**
|
|
@@ -266,6 +423,16 @@ export declare enum ComplianceDocumentCandidateIssueKind {
|
|
|
266
423
|
DUPLICATE_SECTION_REF = "DUPLICATE_SECTION_REF",
|
|
267
424
|
NON_CONTIGUOUS_SECTION_ORDER = "NON_CONTIGUOUS_SECTION_ORDER",
|
|
268
425
|
DUPLICATE_JURISDICTION = "DUPLICATE_JURISDICTION",
|
|
426
|
+
/**
|
|
427
|
+
* A jurisdiction ref is not `jurisdiction:<slug>` for a jurisdiction slug.
|
|
428
|
+
*
|
|
429
|
+
* The list stays OPTIONAL — an undecided jurisdiction is a deferral, and this validator refuses to
|
|
430
|
+
* turn a deferral into a refusal. But a PRESENT ref is an answer, and an answer nothing can resolve
|
|
431
|
+
* is worse than none: every later comparison is by exact string against the application's declared
|
|
432
|
+
* operating jurisdictions, so `jurisdiction:united-kingdom` beside a configuration declaring `gb`
|
|
433
|
+
* matches nothing and reports as a jurisdiction nobody covers.
|
|
434
|
+
*/
|
|
435
|
+
INVALID_JURISDICTION_REF = "INVALID_JURISDICTION_REF",
|
|
269
436
|
DUPLICATE_VARIANT_AXIS = "DUPLICATE_VARIANT_AXIS",
|
|
270
437
|
DANGLING_CLAUSE_FACT = "DANGLING_CLAUSE_FACT"
|
|
271
438
|
}
|
|
@@ -402,6 +569,15 @@ export declare function validateComplianceDocumentCandidateFactBinding(candidate
|
|
|
402
569
|
* asserts the fact, not one particular scope's declaration of it, and picking a scope here would be this
|
|
403
570
|
* function inventing a precedence rule that belongs to the document's governance scope. `NOT_APPLICABLE`
|
|
404
571
|
* therefore wins only when it is the ONLY answer on record.
|
|
572
|
+
*
|
|
573
|
+
* ## Several specifications, on purpose
|
|
574
|
+
*
|
|
575
|
+
* Since #192 the facts live in TWO families — `document-facts` (what the accepted specification answers,
|
|
576
|
+
* regenerated by a producer) and `document-facts-authored` (what a human established). A document reads
|
|
577
|
+
* both, because it asserts the FACT and does not care who wrote it. That is exactly the precedence rule
|
|
578
|
+
* above applied one level up, so it needed no new policy: variadic, absent-tolerant, same fold.
|
|
579
|
+
*
|
|
580
|
+
* Order between the two is therefore not significant, and a caller must not read it as significant.
|
|
405
581
|
*/
|
|
406
|
-
export declare function collectComplianceDocumentFactAvailability(
|
|
582
|
+
export declare function collectComplianceDocumentFactAvailability(...specifications: readonly (ApplicationDocumentFactDeclarationSet | undefined)[]): ReadonlyMap<string, ComplianceDocumentFactAvailability>;
|
|
407
583
|
//# sourceMappingURL=compliance-document-candidate.schemas.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compliance-document-candidate.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/compliance-documents/compliance-document-candidate.schemas.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"compliance-document-candidate.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/compliance-documents/compliance-document-candidate.schemas.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAEL,KAAK,qCAAqC,EAC3C,MAAM,iGAAiG,CAAC;AAEzG;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH;;;;;;GAMG;AACH,eAAO,MAAM,qCAAqC,aAAsH,CAAC;AAMzK;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,oBAAY,+BAA+B;IACzC;;;OAGG;IACH,OAAO,YAAY;IACnB;;;;;;OAMG;IACH,eAAe,oBAAoB;IACnC;;;OAGG;IACH,cAAc,mBAAmB;IACjC;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