@wildo-ai/saas-specifications 1.1.9 → 1.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts +5 -4
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js +5 -4
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js.map +1 -1
- package/dist/esm/_catalogs/schema-org/index.js +1 -1
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js +1 -1
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js.map +1 -1
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +11 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -1
- package/dist/esm/_core/application-specification-family-identity.schemas.js +11 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-choice.d.ts +72 -10
- package/dist/esm/_core/brand/brand-name-choice.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-choice.js +144 -24
- package/dist/esm/_core/brand/brand-name-choice.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.d.ts +41 -1
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.js +19 -3
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-validation.d.ts +7 -1
- package/dist/esm/_core/brand/brand-name-screening-validation.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-validation.js +24 -3
- package/dist/esm/_core/brand/brand-name-screening-validation.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-view.d.ts +61 -9
- package/dist/esm/_core/brand/brand-name-screening-view.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-view.js +42 -1
- package/dist/esm/_core/brand/brand-name-screening-view.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts +130 -2
- package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening.schemas.js +165 -3
- package/dist/esm/_core/brand/brand-name-screening.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts +25 -7
- package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-visual-tone.schemas.js +26 -8
- package/dist/esm/_core/brand/brand-visual-tone.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +76 -0
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +7 -2
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +21 -3
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts +411 -13
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js +281 -8
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts +4 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js +3 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts +6 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js +20 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts +1 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts +1 -0
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js +7 -0
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +4 -3
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js +4 -3
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.d.ts +265 -0
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.js +371 -0
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts +55 -5
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js +66 -2
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts +42 -2
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js +174 -1
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +4 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js +10 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts +102 -10
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js +128 -25
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts +28 -0
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.js +36 -1
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts +15 -0
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.js +15 -0
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts +21 -10
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js +130 -14
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js.map +1 -1
- package/dist/esm/_core/data-seed-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/data-seed-specification.schemas.js +5 -1
- package/dist/esm/_core/data-seed-specification.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts +32 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.js +41 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts +33 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.js +134 -9
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts +117 -0
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js +118 -0
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +1 -0
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +22 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts +17 -1
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js +21 -5
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts +7 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.js +39 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js +31 -5
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts +81 -9
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js +88 -7
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +13 -6
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js +13 -6
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
- package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.registry.js +2 -0
- package/dist/esm/_core/family-aspects.registry.js.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.d.ts +24 -0
- package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.js +20 -0
- package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
- package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +6 -6
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js +2 -2
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js.map +1 -1
- package/dist/esm/_core/index.d.ts +6 -0
- package/dist/esm/_core/index.d.ts.map +1 -1
- package/dist/esm/_core/index.js +6 -0
- package/dist/esm/_core/index.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +1 -0
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js +2 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts +26 -2
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js +21 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-references.schemas.d.ts +7 -0
- package/dist/esm/_core/market/market-references.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-references.schemas.js +13 -1
- package/dist/esm/_core/market/market-references.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +18 -12
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js +46 -17
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/market/market.family-aspects.js +4 -1
- package/dist/esm/_core/market/market.family-aspects.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts +15 -3
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js +6 -3
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +12 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.js +56 -3
- package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +9 -0
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +83 -0
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js +102 -2
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +3 -2
- package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/functional-requirement.schemas.js +8 -2
- package/dist/esm/_core/requirements/functional-requirement.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts +1 -0
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.js +2 -0
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-pain-coverage.d.ts +41 -0
- package/dist/esm/_core/requirements/requirements-pain-coverage.d.ts.map +1 -0
- package/dist/esm/_core/requirements/requirements-pain-coverage.js +63 -0
- package/dist/esm/_core/requirements/requirements-pain-coverage.js.map +1 -0
- package/dist/esm/_core/requirements/requirements-references.schemas.d.ts +1 -1
- package/dist/esm/_core/requirements/requirements-references.schemas.js +1 -1
- package/dist/esm/_core/requirements/requirements-references.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts +16 -0
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js +12 -1
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts +13 -2
- package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.js +32 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +65 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.js +53 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.js +2 -0
- package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.d.ts +56 -15
- package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.js +73 -13
- package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts +1 -16
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.js +3 -17
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts +2 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js +2 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts +1 -1
- package/dist/esm/_core/service-method/service-method-derivation.d.ts +155 -0
- package/dist/esm/_core/service-method/service-method-derivation.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method-derivation.js +410 -0
- package/dist/esm/_core/service-method/service-method-derivation.js.map +1 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.d.ts +86 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.js +28 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.js.map +1 -0
- package/dist/esm/_core/service-method/service-method-validation.d.ts +35 -0
- package/dist/esm/_core/service-method/service-method-validation.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method-validation.js +75 -0
- package/dist/esm/_core/service-method/service-method-validation.js.map +1 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.d.ts +3 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.js +59 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.js.map +1 -0
- package/dist/esm/_core/service-method/service-method.schemas.d.ts +385 -0
- package/dist/esm/_core/service-method/service-method.schemas.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method.schemas.js +372 -0
- package/dist/esm/_core/service-method/service-method.schemas.js.map +1 -0
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts +37 -5
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.js +34 -6
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts +29 -3
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-validation.js +97 -5
- package/dist/esm/_core/website-plan/website-plan-validation.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.family-aspects.js +6 -1
- package/dist/esm/_core/website-plan/website-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts +521 -15
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.schemas.js +703 -23
- package/dist/esm/_core/website-plan/website-plan.schemas.js.map +1 -1
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.d.ts +78 -0
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.d.ts.map +1 -0
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.js +92 -0
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.js.map +1 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +26 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js +14 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +21 -5
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +22 -4
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts +119 -10
- package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-line.application-creation.schemas.js +140 -7
- package/dist/esm/application-creation/application-line.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts +7 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts.map +1 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.js +7 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.js.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +4 -2
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.js +4 -2
- package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +103 -15
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js +151 -21
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts +1 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js +1 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation.exports.d.ts +7 -0
- package/dist/esm/application-creation.exports.d.ts.map +1 -1
- package/dist/esm/application-creation.exports.js +7 -0
- package/dist/esm/application-creation.exports.js.map +1 -1
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts +36 -2
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts.map +1 -1
- package/dist/esm/assurance/application-risk-signals.derivations.js +52 -4
- package/dist/esm/assurance/application-risk-signals.derivations.js.map +1 -1
- package/dist/esm/assurance/assurance-assessment-twins.d.ts +38 -0
- package/dist/esm/assurance/assurance-assessment-twins.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-assessment-twins.js +36 -0
- package/dist/esm/assurance/assurance-assessment-twins.js.map +1 -0
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +608 -9
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.js +2962 -1078
- package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +15 -0
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.js +1 -0
- package/dist/esm/assurance/assurance-authority-basis.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts +2 -0
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.js +138 -19
- package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts +65 -0
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.js +13 -0
- package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts +81 -6
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.js +68 -7
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +1631 -70
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-host-implementation-artifacts.d.ts +77 -0
- package/dist/esm/assurance/assurance-host-implementation-artifacts.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-host-implementation-artifacts.js +51 -0
- package/dist/esm/assurance/assurance-host-implementation-artifacts.js.map +1 -0
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +3 -2
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js +327 -3
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.d.ts +12 -0
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.js +19 -0
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.js.map +1 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.d.ts +403 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.js +825 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.js.map +1 -0
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +83 -8
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.js +167 -20
- package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.d.ts +234 -35
- package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.js +255 -14
- package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts +2 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.js +259 -18
- package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.d.ts +17 -0
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.js +216 -0
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.js.map +1 -0
- package/dist/esm/assurance/assurance-sources.schemas.d.ts +110 -0
- package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.js +111 -1
- package/dist/esm/assurance/assurance-sources.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +356 -5
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/governed-document-audience.derivations.d.ts +83 -0
- package/dist/esm/assurance/governed-document-audience.derivations.d.ts.map +1 -0
- package/dist/esm/assurance/governed-document-audience.derivations.js +97 -0
- package/dist/esm/assurance/governed-document-audience.derivations.js.map +1 -0
- package/dist/esm/assurance/governed-document-release.d.ts +15 -1
- package/dist/esm/assurance/governed-document-release.d.ts.map +1 -1
- package/dist/esm/assurance/governed-document-release.js +3 -1
- package/dist/esm/assurance/governed-document-release.js.map +1 -1
- package/dist/esm/assurance.exports.d.ts +4 -0
- package/dist/esm/assurance.exports.d.ts.map +1 -1
- package/dist/esm/assurance.exports.js +4 -0
- package/dist/esm/assurance.exports.js.map +1 -1
- package/dist/esm/companion-exports.d.ts +9 -1
- package/dist/esm/companion-exports.d.ts.map +1 -1
- package/dist/esm/companion-exports.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js +33 -5
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +9 -12
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +60 -6
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +4 -4
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts +1 -0
- package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.js +2 -2
- package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts +12 -4
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +46 -10
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts +3 -2
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js +15 -4
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts +1 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js +40 -11
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +44 -3
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +7 -3
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +40 -8
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts +14 -8
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js +72 -19
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts +2 -2
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +6 -6
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts +1 -0
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js +14 -13
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js +2 -2
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +68 -12
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +75 -19
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +3 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +11 -7
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts +2 -0
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +2 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts +4 -2
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js +8 -7
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js +6 -6
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts +2 -2
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts +4 -0
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.js +4 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +9 -5
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +16 -8
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.d.ts +73 -0
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.js +192 -0
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts +5 -3
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js +19 -13
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts +11 -6
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js +14 -3
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.d.ts +37 -0
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.js +161 -0
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js +1 -1
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.js +55 -11
- package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.js +300 -5
- package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
- package/dist/esm/engine/features/core-limits.feature.specifications.d.ts +10 -4
- package/dist/esm/engine/features/core-limits.feature.specifications.d.ts.map +1 -1
- package/dist/esm/engine/features/core-limits.feature.specifications.js +100 -5
- package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
- package/dist/esm/engine/features/custom-branding.feature.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/custom-branding.feature.specification.js +7 -3
- package/dist/esm/engine/features/custom-branding.feature.specification.js.map +1 -1
- package/dist/esm/engine/features/index.d.ts +4 -2
- package/dist/esm/engine/features/index.d.ts.map +1 -1
- package/dist/esm/engine/features/index.js +6 -4
- package/dist/esm/engine/features/index.js.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.js +2 -2
- package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js +34 -15
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.d.ts +4 -1
- package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.js +24 -3
- package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +31 -3
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +6 -6
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.d.ts +30 -0
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.js +181 -0
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.js +110 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.js +286 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.js +147 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js +71 -26
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.js +92 -0
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.d.ts +46 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.js +196 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +73 -31
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +118 -18
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js +9 -4
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.js +184 -0
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js +17 -5
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js +47 -7
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.js +118 -0
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.js +230 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.js +151 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.d.ts +23 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.js +124 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.js +114 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js +45 -3
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.js +6 -0
- package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.js +78 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +3 -2
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js +2 -1
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js +3 -2
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.js +7 -0
- package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js +6 -6
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.js +24 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.js +6 -6
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.js +128 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.js +139 -0
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.js +5 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/index.d.ts +7 -0
- package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/index.js +29 -0
- package/dist/esm/engine/frontend-components/index.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.js +3 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.js +27 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js +3 -1
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.d.ts +24 -0
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.js +136 -0
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js +6 -1
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.js +110 -0
- package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js +10 -4
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js +20 -2
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js +6 -6
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js +5 -5
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.d.ts +10 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.js +118 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js +54 -8
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +9 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js +33 -5
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +21 -4
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +3 -3
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.d.ts +10 -0
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.js +159 -0
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts +5 -5
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js +38 -10
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.js +100 -0
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.d.ts +37 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.js +181 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts +3 -3
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js +7 -7
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts +31 -1
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js +33 -7
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts +16 -14
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js +56 -53
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts +6 -2
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +22 -4
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts +2 -2
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts +2 -0
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +3 -3
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts +1 -0
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js +43 -2
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/index.d.ts +0 -1
- package/dist/esm/engine/notifications/system-emails/index.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/index.js +1 -3
- package/dist/esm/engine/notifications/system-emails/index.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts +1 -1
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.js +25 -15
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js +13 -13
- package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/index.d.ts +1 -2
- package/dist/esm/engine/organizations/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/index.js +1 -2
- package/dist/esm/engine/organizations/resources/index.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +5 -4
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js +114 -51
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts +11 -10
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +10 -7
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/{service-provider-relationships.resource.specification.d.ts → organization-relationships.resource.specification.d.ts} +73 -56
- package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.js +643 -0
- package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.js.map +1 -0
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts +1 -1
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js +6 -4
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +2 -2
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts +4 -4
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +93 -43
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.d.ts +39 -0
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.js +140 -0
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.js.map +1 -0
- package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/github.provider.specification.js +8 -5
- package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/google-drive.provider.specification.d.ts +6 -0
- package/dist/esm/engine/providers/google-drive.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/google-drive.provider.specification.js +39 -0
- package/dist/esm/engine/providers/google-drive.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/index.d.ts +2 -0
- package/dist/esm/engine/providers/index.d.ts.map +1 -1
- package/dist/esm/engine/providers/index.js +5 -1
- package/dist/esm/engine/providers/index.js.map +1 -1
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.d.ts +6 -0
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.js +39 -0
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/mistral.provider.specification.js +2 -2
- package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/resend.provider.specification.js +8 -6
- package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js +1 -1
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js.map +1 -1
- package/dist/esm/engine/roles/index.d.ts +2 -2
- package/dist/esm/engine/roles/index.d.ts.map +1 -1
- package/dist/esm/engine/roles/index.js +5 -5
- package/dist/esm/engine/roles/index.js.map +1 -1
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts +1 -1
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js +24 -24
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js.map +1 -1
- package/dist/esm/engine/roles/org-representative.role.specification.d.ts +2 -0
- package/dist/esm/engine/roles/org-representative.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/org-representative.role.specification.js +22 -0
- package/dist/esm/engine/roles/org-representative.role.specification.js.map +1 -0
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts +1 -0
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +7 -5
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts +3 -3
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +3 -3
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +3 -3
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +13 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts +1 -0
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js +2 -0
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +4 -0
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +3 -3
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +4 -0
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +6 -2
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts +1 -0
- package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.js +33 -0
- package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts +2 -1
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.js +10 -4
- package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +17 -15
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
- package/package.json +8 -8
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts +0 -6
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts.map +0 -1
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.js +0 -146
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.js.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts +0 -38
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js +0 -152
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.d.ts.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js +0 -417
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js.map +0 -1
- package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts +0 -2
- package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts.map +0 -1
- package/dist/esm/engine/roles/org-service-provider.role.specification.js +0 -22
- package/dist/esm/engine/roles/org-service-provider.role.specification.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domain-plan-output-set-validation.d.ts","sourceRoot":"","sources":["../../../../../src/_core/domain-plan/domain-plan-output-set-validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"domain-plan-output-set-validation.d.ts","sourceRoot":"","sources":["../../../../../src/_core/domain-plan/domain-plan-output-set-validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAML,KAAK,mBAAmB,EACzB,MAAM,kCAAkC,CAAC;AAE1C,oBAAY,iCAAiC;IAC3C,KAAK,UAAU;IACf,OAAO,YAAY;CACpB;AAED,oBAAY,6BAA6B;IACvC,mBAAmB,wBAAwB;IAC3C,sCAAsC,2CAA2C;IACjF,2BAA2B,gCAAgC;IAC3D,kCAAkC,uCAAuC;IACzE,0BAA0B,+BAA+B;IACzD,sBAAsB,2BAA2B;IACjD,gCAAgC,qCAAqC;IACrE,qCAAqC,0CAA0C;IAC/E,gCAAgC,qCAAqC;IACrE,8BAA8B,mCAAmC;IACjE;;;;;OAKG;IACH,8CAA8C,mDAAmD;IACjG,2GAA2G;IAC3G,qCAAqC,0CAA0C;IAC/E,uGAAuG;IACvG,kCAAkC,uCAAuC;IACzE,yEAAyE;IACzE,mBAAmB,wBAAwB;IAC3C,qHAAqH;IACrH,0BAA0B,+BAA+B;IACzD,wDAAwD;IACxD,yBAAyB,8BAA8B;IACvD;;;;;OAKG;IACH,qCAAqC,0CAA0C;IAC/E;;;;OAIG;IACH,2CAA2C,gDAAgD;IAC3F;;;OAGG;IACH,gCAAgC,qCAAqC;IACrE,wEAAwE;IACxE,8BAA8B,mCAAmC;IACjE,kEAAkE;IAClE,2CAA2C,gDAAgD;CAC5F;AAED,eAAO,MAAM,+BAA+B;;;;;;iBAM1C,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAExF,eAAO,MAAM,yCAAyC;;;;;;;;;iBAGpD,CAAC;AACH,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yCAAyC,CAAC,CAAC;AAE5G;;;;GAIG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,mBAAmB,GAAG,mCAAmC,CA0R3G"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { ALL_CORE_OPERATIONS } from '@wildo-ai/saas-models';
|
|
2
3
|
import { DomainPlanOutputSetSchema, DomainRelationshipCardinalityIntent, DomainRelationshipOwnershipIntent, domainRelationshipOwnershipContradictsCardinality, domainRelationshipOwnershipRequiredByCardinality, } from './domain-plan-output-set.schemas.js';
|
|
3
4
|
export var DomainPlanValidationIssueSeverity;
|
|
4
5
|
(function (DomainPlanValidationIssueSeverity) {
|
|
@@ -24,6 +25,38 @@ export var DomainPlanValidationIssueCode;
|
|
|
24
25
|
* catch it as a GAP after the model had already spent its turn.
|
|
25
26
|
*/
|
|
26
27
|
DomainPlanValidationIssueCode["RELATIONSHIP_OWNERSHIP_CONTRADICTS_CARDINALITY"] = "relationship-ownership-contradicts-cardinality";
|
|
28
|
+
/** The same requirement left to the same engine concern twice (#2492): one of the entries says nothing. */
|
|
29
|
+
DomainPlanValidationIssueCode["DUPLICATE_ENGINE_REALIZED_REQUIREMENT"] = "duplicate-engine-realized-requirement";
|
|
30
|
+
/** #2491 — a lifecycle for a resource no module inventories: the build has nothing to attach it to. */
|
|
31
|
+
DomainPlanValidationIssueCode["LIFECYCLE_RESOURCE_NOT_INVENTORIED"] = "lifecycle-resource-not-inventoried";
|
|
32
|
+
/** Two lifecycles for one resource: a resource has one set of states. */
|
|
33
|
+
DomainPlanValidationIssueCode["DUPLICATE_LIFECYCLE"] = "duplicate-lifecycle";
|
|
34
|
+
/** A state named by `initialState`, a transition, `lockedStates` or `finalStates` that `states` does not declare. */
|
|
35
|
+
DomainPlanValidationIssueCode["LIFECYCLE_STATE_UNDECLARED"] = "lifecycle-state-undeclared";
|
|
36
|
+
/** One state listed twice in a lifecycle's `states`. */
|
|
37
|
+
DomainPlanValidationIssueCode["DUPLICATE_LIFECYCLE_STATE"] = "duplicate-lifecycle-state";
|
|
38
|
+
/**
|
|
39
|
+
* A transition that starts from a FINAL state (#2491 review F3). A final state is TERMINAL, so a plan that also
|
|
40
|
+
* moves the record out contradicts itself. Refused: the artifact would be untrue, whichever half was meant. A
|
|
41
|
+
* state that only stops EDITS (an issued invoice later marked paid) is a locked state, which a transition may
|
|
42
|
+
* leave.
|
|
43
|
+
*/
|
|
44
|
+
DomainPlanValidationIssueCode["LIFECYCLE_TRANSITION_FROM_FINAL_STATE"] = "lifecycle-transition-from-final-state";
|
|
45
|
+
/**
|
|
46
|
+
* A transition named after a core operation (`update`, `delete`, …). The build turns a transition into an
|
|
47
|
+
* operation of that name, which would collide with the core operation the resource already has and read as
|
|
48
|
+
* built before anything ran (#2491 review). Name the business verb instead (`archive`, not `delete`).
|
|
49
|
+
*/
|
|
50
|
+
DomainPlanValidationIssueCode["LIFECYCLE_TRANSITION_NAMES_A_CORE_OPERATION"] = "lifecycle-transition-names-a-core-operation";
|
|
51
|
+
/**
|
|
52
|
+
* A state listed as both locked and final. A WARNING: final already implies locked, so nothing is untrue, but
|
|
53
|
+
* the list says less than it should about whether the record still moves on.
|
|
54
|
+
*/
|
|
55
|
+
DomainPlanValidationIssueCode["LIFECYCLE_STATE_LOCKED_AND_FINAL"] = "lifecycle-state-locked-and-final";
|
|
56
|
+
/** One verb declared twice on a lifecycle: it becomes ONE operation. */
|
|
57
|
+
DomainPlanValidationIssueCode["DUPLICATE_LIFECYCLE_TRANSITION"] = "duplicate-lifecycle-transition";
|
|
58
|
+
/** A conversion that creates a resource no module inventories. */
|
|
59
|
+
DomainPlanValidationIssueCode["LIFECYCLE_CONVERSION_TARGET_NOT_INVENTORIED"] = "lifecycle-conversion-target-not-inventoried";
|
|
27
60
|
})(DomainPlanValidationIssueCode || (DomainPlanValidationIssueCode = {}));
|
|
28
61
|
export const DomainPlanValidationIssueSchema = z.object({
|
|
29
62
|
code: z.enum(DomainPlanValidationIssueCode),
|
|
@@ -50,33 +83,60 @@ export function validateDomainPlanOutputSet(input) {
|
|
|
50
83
|
addIssue(issues, DomainPlanValidationIssueCode.DUPLICATE_MODULE_ID, `modules[${duplicateIndex}].relatedModuleId`, `Module id is declared more than once: ${moduleId}`, [moduleId]);
|
|
51
84
|
}
|
|
52
85
|
}
|
|
86
|
+
/*
|
|
87
|
+
* The inventory findings below are read by the model that has to correct the plan (#2341), so each one
|
|
88
|
+
* points at the entry to change and says what the change is. The rule they enforce: a resource is MAIN
|
|
89
|
+
* in exactly one module, and one module never lists a resource in both roles. So promoting a resource a
|
|
90
|
+
* module lists as supporting is a MOVE, never only an add. Measured on app-creation-test-005: told only
|
|
91
|
+
* "has no main owning module", the model added seven resources to `mainResources` and left all seven in
|
|
92
|
+
* `supportingResources`, which spent an attempt on the both-roles refusal.
|
|
93
|
+
*/
|
|
53
94
|
const mainOwnerIndexesByResource = new Map();
|
|
95
|
+
const supportingPositionsByResource = new Map();
|
|
54
96
|
const inventoriedResources = new Set();
|
|
55
97
|
outputSet.modules.forEach((module, moduleIndex) => {
|
|
56
|
-
const
|
|
57
|
-
const
|
|
98
|
+
const mainPositions = new Map();
|
|
99
|
+
const supportingPositions = new Map();
|
|
58
100
|
module.mainResources.forEach((resourceRef, resourceIndex) => {
|
|
59
101
|
inventoriedResources.add(resourceRef);
|
|
60
|
-
|
|
61
|
-
|
|
102
|
+
const position = `modules[${moduleIndex}].mainResources[${resourceIndex}]`;
|
|
103
|
+
const firstPosition = mainPositions.get(resourceRef);
|
|
104
|
+
if (firstPosition !== undefined) {
|
|
105
|
+
addIssue(issues, DomainPlanValidationIssueCode.DUPLICATE_RESOURCE_IN_MODULE_INVENTORY, position, `Resource is repeated in the module's main inventory: ${resourceRef} (first at ${firstPosition}). Remove the entry at ${position}.`, [module.relatedModuleId, resourceRef]);
|
|
106
|
+
}
|
|
107
|
+
else {
|
|
108
|
+
mainPositions.set(resourceRef, position);
|
|
62
109
|
}
|
|
63
|
-
mainResources.add(resourceRef);
|
|
64
110
|
const owners = mainOwnerIndexesByResource.get(resourceRef) ?? new Set();
|
|
65
111
|
owners.add(moduleIndex);
|
|
66
112
|
mainOwnerIndexesByResource.set(resourceRef, owners);
|
|
67
113
|
});
|
|
68
114
|
module.supportingResources.forEach((resourceRef, resourceIndex) => {
|
|
69
115
|
inventoriedResources.add(resourceRef);
|
|
70
|
-
|
|
71
|
-
|
|
116
|
+
const position = `modules[${moduleIndex}].supportingResources[${resourceIndex}]`;
|
|
117
|
+
supportingPositionsByResource.set(resourceRef, [...(supportingPositionsByResource.get(resourceRef) ?? []), position]);
|
|
118
|
+
const mainPosition = mainPositions.get(resourceRef);
|
|
119
|
+
const firstPosition = supportingPositions.get(resourceRef);
|
|
120
|
+
if (mainPosition !== undefined) {
|
|
121
|
+
addIssue(issues, DomainPlanValidationIssueCode.DUPLICATE_RESOURCE_IN_MODULE_INVENTORY, position, `Resource is in both inventory roles of one module: ${resourceRef} is main at ${mainPosition} and supporting at ${position}. `
|
|
122
|
+
+ `A module lists a resource in one role only, and the main role wins: remove the supportingResources entry at ${position}.`, [module.relatedModuleId, resourceRef]);
|
|
123
|
+
}
|
|
124
|
+
else if (firstPosition !== undefined) {
|
|
125
|
+
addIssue(issues, DomainPlanValidationIssueCode.DUPLICATE_RESOURCE_IN_MODULE_INVENTORY, position, `Resource is repeated in the module's supporting inventory: ${resourceRef} (first at ${firstPosition}). Remove the entry at ${position}.`, [module.relatedModuleId, resourceRef]);
|
|
72
126
|
}
|
|
73
|
-
|
|
127
|
+
if (firstPosition === undefined)
|
|
128
|
+
supportingPositions.set(resourceRef, position);
|
|
74
129
|
});
|
|
75
130
|
});
|
|
76
131
|
for (const resourceRef of [...inventoriedResources].sort()) {
|
|
77
132
|
const owners = [...(mainOwnerIndexesByResource.get(resourceRef) ?? new Set())].sort((left, right) => left - right);
|
|
78
133
|
if (owners.length === 0) {
|
|
79
|
-
|
|
134
|
+
// No main owner means every place the resource is listed is a supporting entry, so there is at least one.
|
|
135
|
+
const supportingPositions = supportingPositionsByResource.get(resourceRef) ?? [];
|
|
136
|
+
addIssue(issues, DomainPlanValidationIssueCode.RESOURCE_WITHOUT_MAIN_OWNER, supportingPositions[0] ?? 'modules', `Inventoried resource has no main owning module: ${resourceRef}, listed only as supporting at ${supportingPositions.join(', ')}. `
|
|
137
|
+
+ 'Every inventoried resource is main in exactly one module, and a module lists a resource in one role only. '
|
|
138
|
+
+ 'To make it main in a module that lists it as supporting, MOVE it: add it to that module\'s mainResources and remove it from '
|
|
139
|
+
+ 'that module\'s supportingResources in the same correction. To make another module its owner, add it to that module\'s mainResources.', [resourceRef]);
|
|
80
140
|
}
|
|
81
141
|
if (owners.length > 1) {
|
|
82
142
|
addIssue(issues, DomainPlanValidationIssueCode.RESOURCE_WITH_MULTIPLE_MAIN_OWNERS, `modules[${owners[1]}].mainResources`, `Resource has more than one main owning module: ${resourceRef}`, [resourceRef, ...owners.map((index) => outputSet.modules[index].relatedModuleId)]);
|
|
@@ -121,6 +181,71 @@ export function validateDomainPlanOutputSet(input) {
|
|
|
121
181
|
+ `really holds the reference, the cardinality is ${reversed}.`, [relationship.relationshipRef, relationship.sourceResourceRef, relationship.targetResourceRef]);
|
|
122
182
|
}
|
|
123
183
|
});
|
|
184
|
+
const engineRealizationIndexes = groupIndexes((outputSet.engineRealizedRequirements ?? []).map((entry) => `${entry.requirementRef}\u0000${entry.realization}`));
|
|
185
|
+
for (const [key, indexes] of engineRealizationIndexes) {
|
|
186
|
+
const [requirementRef, realization] = key.split('\u0000');
|
|
187
|
+
for (const duplicateIndex of indexes.slice(1)) {
|
|
188
|
+
addIssue(issues, DomainPlanValidationIssueCode.DUPLICATE_ENGINE_REALIZED_REQUIREMENT, `engineRealizedRequirements[${duplicateIndex}]`, `Requirement "${requirementRef}" is left to ${realization} more than once (first at engineRealizedRequirements[${indexes[0]}]). Merge the rationales and remove the entry at engineRealizedRequirements[${duplicateIndex}].`, [requirementRef]);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
const lifecycleIndexesByResource = groupIndexes((outputSet.lifecycles ?? []).map((lifecycle) => lifecycle.resourceRef));
|
|
192
|
+
(outputSet.lifecycles ?? []).forEach((lifecycle, lifecycleIndex) => {
|
|
193
|
+
const path = `lifecycles[${lifecycleIndex}]`;
|
|
194
|
+
if (!inventoriedResources.has(lifecycle.resourceRef)) {
|
|
195
|
+
addIssue(issues, DomainPlanValidationIssueCode.LIFECYCLE_RESOURCE_NOT_INVENTORIED, `${path}.resourceRef`, `Lifecycle for "${lifecycle.resourceRef}", which no module inventories. Inventory the resource, or name the inventoried resource whose states these are.`, [lifecycle.resourceRef]);
|
|
196
|
+
}
|
|
197
|
+
const firstIndex = lifecycleIndexesByResource.get(lifecycle.resourceRef)?.[0];
|
|
198
|
+
if (firstIndex !== undefined && firstIndex !== lifecycleIndex) {
|
|
199
|
+
addIssue(issues, DomainPlanValidationIssueCode.DUPLICATE_LIFECYCLE, path, `"${lifecycle.resourceRef}" already has a lifecycle at lifecycles[${firstIndex}]. Merge the two into one.`, [lifecycle.resourceRef]);
|
|
200
|
+
}
|
|
201
|
+
const declared = new Set();
|
|
202
|
+
lifecycle.states.forEach((state, stateIndex) => {
|
|
203
|
+
if (declared.has(state)) {
|
|
204
|
+
addIssue(issues, DomainPlanValidationIssueCode.DUPLICATE_LIFECYCLE_STATE, `${path}.states[${stateIndex}]`, `State "${state}" of "${lifecycle.resourceRef}" is declared twice. Remove the entry at ${path}.states[${stateIndex}].`, [lifecycle.resourceRef, state]);
|
|
205
|
+
}
|
|
206
|
+
declared.add(state);
|
|
207
|
+
});
|
|
208
|
+
const requireDeclared = (state, statePath) => {
|
|
209
|
+
if (declared.has(state))
|
|
210
|
+
return;
|
|
211
|
+
addIssue(issues, DomainPlanValidationIssueCode.LIFECYCLE_STATE_UNDECLARED, statePath, `"${state}" is not one of the states of "${lifecycle.resourceRef}" (${lifecycle.states.join(', ')}). Add it to ${path}.states, or name a declared state.`, [lifecycle.resourceRef, state]);
|
|
212
|
+
};
|
|
213
|
+
requireDeclared(lifecycle.initialState, `${path}.initialState`);
|
|
214
|
+
(lifecycle.lockedStates ?? []).forEach((state, stateIndex) => requireDeclared(state, `${path}.lockedStates[${stateIndex}]`));
|
|
215
|
+
lifecycle.finalStates.forEach((state, stateIndex) => requireDeclared(state, `${path}.finalStates[${stateIndex}]`));
|
|
216
|
+
(lifecycle.lockedStates ?? []).forEach((state, stateIndex) => {
|
|
217
|
+
if (!lifecycle.finalStates.includes(state))
|
|
218
|
+
return;
|
|
219
|
+
issues.push({
|
|
220
|
+
code: DomainPlanValidationIssueCode.LIFECYCLE_STATE_LOCKED_AND_FINAL,
|
|
221
|
+
severity: DomainPlanValidationIssueSeverity.WARNING,
|
|
222
|
+
path: `${path}.lockedStates[${stateIndex}]`,
|
|
223
|
+
message: `"${state}" of "${lifecycle.resourceRef}" is listed as both locked and final. Keep it in finalStates if nothing moves the record out of it, otherwise only in lockedStates.`,
|
|
224
|
+
relatedRefs: [lifecycle.resourceRef, state],
|
|
225
|
+
});
|
|
226
|
+
});
|
|
227
|
+
const transitionIndexes = groupIndexes(lifecycle.transitions.map((transition) => transition.transitionRef));
|
|
228
|
+
lifecycle.transitions.forEach((transition, transitionIndex) => {
|
|
229
|
+
const transitionPath = `${path}.transitions[${transitionIndex}]`;
|
|
230
|
+
transition.from.forEach((state, fromIndex) => {
|
|
231
|
+
requireDeclared(state, `${transitionPath}.from[${fromIndex}]`);
|
|
232
|
+
if (lifecycle.finalStates.includes(state)) {
|
|
233
|
+
addIssue(issues, DomainPlanValidationIssueCode.LIFECYCLE_TRANSITION_FROM_FINAL_STATE, `${transitionPath}.from[${fromIndex}]`, `Transition "${transition.transitionRef}" of "${lifecycle.resourceRef}" starts from "${state}", which is a final state: nothing moves a record out of it. If the record only stops being edited there, move "${state}" to ${path}.lockedStates; otherwise remove it from this transition's "from".`, [lifecycle.resourceRef, transition.transitionRef, state]);
|
|
234
|
+
}
|
|
235
|
+
});
|
|
236
|
+
requireDeclared(transition.to, `${transitionPath}.to`);
|
|
237
|
+
if (ALL_CORE_OPERATIONS.includes(transition.transitionRef)) {
|
|
238
|
+
addIssue(issues, DomainPlanValidationIssueCode.LIFECYCLE_TRANSITION_NAMES_A_CORE_OPERATION, `${transitionPath}.transitionRef`, `Transition "${transition.transitionRef}" of "${lifecycle.resourceRef}" has the name of a core operation every resource already has. Name the business verb (archive, close, cancel).`, [lifecycle.resourceRef, transition.transitionRef]);
|
|
239
|
+
}
|
|
240
|
+
const firstTransition = transitionIndexes.get(transition.transitionRef)?.[0];
|
|
241
|
+
if (firstTransition !== undefined && firstTransition !== transitionIndex) {
|
|
242
|
+
addIssue(issues, DomainPlanValidationIssueCode.DUPLICATE_LIFECYCLE_TRANSITION, transitionPath, `Transition "${transition.transitionRef}" of "${lifecycle.resourceRef}" is declared twice (first at ${path}.transitions[${firstTransition}]). One verb is one operation: list every starting state in one transition's "from".`, [lifecycle.resourceRef, transition.transitionRef]);
|
|
243
|
+
}
|
|
244
|
+
if (transition.createsResourceRef !== undefined && !inventoriedResources.has(transition.createsResourceRef)) {
|
|
245
|
+
addIssue(issues, DomainPlanValidationIssueCode.LIFECYCLE_CONVERSION_TARGET_NOT_INVENTORIED, `${transitionPath}.createsResourceRef`, `Transition "${transition.transitionRef}" of "${lifecycle.resourceRef}" creates "${transition.createsResourceRef}", which no module inventories.`, [lifecycle.resourceRef, transition.createsResourceRef]);
|
|
246
|
+
}
|
|
247
|
+
});
|
|
248
|
+
});
|
|
124
249
|
issues.sort((left, right) => `${left.code}\u0000${left.path}\u0000${left.message}`.localeCompare(`${right.code}\u0000${right.path}\u0000${right.message}`));
|
|
125
250
|
return DomainPlanOutputSetValidationResultSchema.parse({
|
|
126
251
|
valid: !issues.some((issue) => issue.severity === DomainPlanValidationIssueSeverity.ERROR),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domain-plan-output-set-validation.js","sourceRoot":"","sources":["../../../../../src/_core/domain-plan/domain-plan-output-set-validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,yBAAyB,EACzB,mCAAmC,EACnC,iCAAiC,EACjC,iDAAiD,EACjD,gDAAgD,GAEjD,MAAM,kCAAkC,CAAC;AAE1C,MAAM,CAAN,IAAY,iCAGX;AAHD,WAAY,iCAAiC;IAC3C,oDAAe,CAAA;IACf,wDAAmB,CAAA;AACrB,CAAC,EAHW,iCAAiC,KAAjC,iCAAiC,QAG5C;AAED,MAAM,CAAN,IAAY,6BAkBX;AAlBD,WAAY,6BAA6B;IACvC,4EAA2C,CAAA;IAC3C,kHAAiF,CAAA;IACjF,4FAA2D,CAAA;IAC3D,0GAAyE,CAAA;IACzE,0FAAyD,CAAA;IACzD,kFAAiD,CAAA;IACjD,sGAAqE,CAAA;IACrE,gHAA+E,CAAA;IAC/E,sGAAqE,CAAA;IACrE,kGAAiE,CAAA;IACjE;;;;;OAKG;IACH,kIAAiG,CAAA;AACnG,CAAC,EAlBW,6BAA6B,KAA7B,6BAA6B,QAkBxC;AAED,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CAAC;IACtD,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,6BAA6B,CAAC;IAC3C,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,iCAAiC,CAAC;IACnD,IAAI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CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;IAC7F,OAAO,OAAO,CAAC;AACjB,CAAC;AAED,SAAS,QAAQ,CACf,MAAmC,EACnC,IAAmC,EACnC,IAAY,EACZ,OAAe,EACf,WAAqB;IAErB,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,iCAAiC,CAAC,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,CAAC,CAAC;AACvG,CAAC","sourcesContent":["import { z } from 'zod';\n\nimport {\n DomainPlanOutputSetSchema,\n DomainRelationshipCardinalityIntent,\n DomainRelationshipOwnershipIntent,\n domainRelationshipOwnershipContradictsCardinality,\n domainRelationshipOwnershipRequiredByCardinality,\n type DomainPlanOutputSet,\n} from './domain-plan-output-set.schemas';\n\nexport enum DomainPlanValidationIssueSeverity {\n ERROR = 'error',\n WARNING = 'warning',\n}\n\nexport enum DomainPlanValidationIssueCode {\n DUPLICATE_MODULE_ID = 'duplicate-module-id',\n DUPLICATE_RESOURCE_IN_MODULE_INVENTORY = 'duplicate-resource-in-module-inventory',\n RESOURCE_WITHOUT_MAIN_OWNER = 'resource-without-main-owner',\n RESOURCE_WITH_MULTIPLE_MAIN_OWNERS = 'resource-with-multiple-main-owners',\n DUPLICATE_RELATIONSHIP_REF = 'duplicate-relationship-ref',\n DUPLICATE_RELATIONSHIP = 'duplicate-relationship',\n RELATIONSHIP_ENDPOINTS_IDENTICAL = 'relationship-endpoints-identical',\n RELATIONSHIP_ENDPOINT_NOT_INVENTORIED = 'relationship-endpoint-not-inventoried',\n RELATIONSHIP_CARDINALITY_MISSING = 'relationship-cardinality-missing',\n RELATIONSHIP_OWNERSHIP_MISSING = 'relationship-ownership-missing',\n /**\n * A one-sided cardinality whose \"one\" end is said to hold the reference — e.g. `one-to-many` with\n * `source-holds-reference`. Read source → target, the many side holds the reference, so the two\n * intents cannot both be true. Refused here rather than left to the semantic judge, which used to\n * catch it as a GAP after the model had already spent its turn.\n */\n RELATIONSHIP_OWNERSHIP_CONTRADICTS_CARDINALITY = 'relationship-ownership-contradicts-cardinality',\n}\n\nexport const DomainPlanValidationIssueSchema = z.object({\n code: z.enum(DomainPlanValidationIssueCode),\n severity: z.enum(DomainPlanValidationIssueSeverity),\n path: z.string().min(1),\n message: z.string().min(1),\n relatedRefs: z.array(z.string().min(1)),\n});\nexport type DomainPlanValidationIssue = z.infer<typeof DomainPlanValidationIssueSchema>;\n\nexport const DomainPlanOutputSetValidationResultSchema = z.object({\n valid: z.boolean(),\n issues: z.array(DomainPlanValidationIssueSchema),\n});\nexport type DomainPlanOutputSetValidationResult = z.infer<typeof DomainPlanOutputSetValidationResultSchema>;\n\n/**\n * Deterministic structural validation before semantic evaluation. It diagnoses\n * a staged payload; it neither accepts family state nor substitutes for the\n * required `domain-plan-coherent` evaluator.\n */\nexport function validateDomainPlanOutputSet(input: DomainPlanOutputSet): DomainPlanOutputSetValidationResult {\n const outputSet = DomainPlanOutputSetSchema.parse(input);\n const issues: DomainPlanValidationIssue[] = [];\n const moduleIndexesById = groupIndexes(outputSet.modules.map((module) => module.relatedModuleId));\n for (const [moduleId, indexes] of moduleIndexesById) {\n for (const duplicateIndex of indexes.slice(1)) {\n addIssue(\n issues,\n DomainPlanValidationIssueCode.DUPLICATE_MODULE_ID,\n `modules[${duplicateIndex}].relatedModuleId`,\n `Module id is declared more than once: ${moduleId}`,\n [moduleId],\n );\n }\n }\n\n const mainOwnerIndexesByResource = new Map<string, Set<number>>();\n const inventoriedResources = new Set<string>();\n outputSet.modules.forEach((module, moduleIndex) => {\n const mainResources = new Set<string>();\n const supportingResources = new Set<string>();\n module.mainResources.forEach((resourceRef, resourceIndex) => {\n inventoriedResources.add(resourceRef);\n if (mainResources.has(resourceRef)) {\n addIssue(\n issues,\n DomainPlanValidationIssueCode.DUPLICATE_RESOURCE_IN_MODULE_INVENTORY,\n `modules[${moduleIndex}].mainResources[${resourceIndex}]`,\n `Resource is repeated in the module's main inventory: ${resourceRef}`,\n [module.relatedModuleId, resourceRef],\n );\n }\n mainResources.add(resourceRef);\n const owners = mainOwnerIndexesByResource.get(resourceRef) ?? new Set<number>();\n owners.add(moduleIndex);\n mainOwnerIndexesByResource.set(resourceRef, owners);\n });\n module.supportingResources.forEach((resourceRef, resourceIndex) => {\n inventoriedResources.add(resourceRef);\n if (supportingResources.has(resourceRef) || mainResources.has(resourceRef)) {\n addIssue(\n issues,\n DomainPlanValidationIssueCode.DUPLICATE_RESOURCE_IN_MODULE_INVENTORY,\n `modules[${moduleIndex}].supportingResources[${resourceIndex}]`,\n `Resource is repeated or occupies both inventory roles in one module: ${resourceRef}`,\n [module.relatedModuleId, resourceRef],\n );\n }\n supportingResources.add(resourceRef);\n });\n });\n\n for (const resourceRef of [...inventoriedResources].sort()) {\n const owners = [...(mainOwnerIndexesByResource.get(resourceRef) ?? new Set<number>())].sort((left, right) => left - right);\n if (owners.length === 0) {\n addIssue(issues, DomainPlanValidationIssueCode.RESOURCE_WITHOUT_MAIN_OWNER, 'modules', `Inventoried resource has no main owning module: ${resourceRef}`, [resourceRef]);\n }\n if (owners.length > 1) {\n addIssue(\n issues,\n DomainPlanValidationIssueCode.RESOURCE_WITH_MULTIPLE_MAIN_OWNERS,\n `modules[${owners[1]}].mainResources`,\n `Resource has more than one main owning module: ${resourceRef}`,\n [resourceRef, ...owners.map((index) => outputSet.modules[index]!.relatedModuleId)],\n );\n }\n }\n\n const relationshipIndexesByRef = groupIndexes(outputSet.relationships.map((relationship) => relationship.relationshipRef));\n const relationshipIndexesByEndpoints = groupIndexes(\n outputSet.relationships.map((relationship) => [relationship.sourceResourceRef, relationship.targetResourceRef].sort().join('\\u0000')),\n );\n outputSet.relationships.forEach((relationship, relationshipIndex) => {\n const path = `relationships[${relationshipIndex}]`;\n const sameRefIndexes = relationshipIndexesByRef.get(relationship.relationshipRef) ?? [];\n if (sameRefIndexes.length > 1 && sameRefIndexes[0] !== relationshipIndex) {\n addIssue(\n issues,\n DomainPlanValidationIssueCode.DUPLICATE_RELATIONSHIP_REF,\n `${path}.relationshipRef`,\n `Relationship ref is declared more than once: ${relationship.relationshipRef}`,\n [relationship.relationshipRef],\n );\n }\n const endpointKey = [relationship.sourceResourceRef, relationship.targetResourceRef].sort().join('\\u0000');\n const sameEndpointIndexes = relationshipIndexesByEndpoints.get(endpointKey) ?? [];\n if (sameEndpointIndexes.length > 1 && sameEndpointIndexes[0] !== relationshipIndex) {\n addIssue(\n issues,\n DomainPlanValidationIssueCode.DUPLICATE_RELATIONSHIP,\n path,\n 'The same resource endpoints are related more than once.',\n [relationship.sourceResourceRef, relationship.targetResourceRef],\n );\n }\n if (relationship.sourceResourceRef === relationship.targetResourceRef) {\n addIssue(\n issues,\n DomainPlanValidationIssueCode.RELATIONSHIP_ENDPOINTS_IDENTICAL,\n path,\n 'A relationship must name two distinct resource endpoints.',\n [relationship.sourceResourceRef],\n );\n }\n for (const [field, resourceRef] of [['sourceResourceRef', relationship.sourceResourceRef], ['targetResourceRef', relationship.targetResourceRef]] as const) {\n if (!inventoriedResources.has(resourceRef)) {\n addIssue(\n issues,\n DomainPlanValidationIssueCode.RELATIONSHIP_ENDPOINT_NOT_INVENTORIED,\n `${path}.${field}`,\n `Relationship endpoint is absent from the module inventory: ${resourceRef}`,\n [relationship.relationshipRef, resourceRef],\n );\n }\n }\n if (relationship.cardinalityIntent === undefined) {\n addIssue(\n issues,\n DomainPlanValidationIssueCode.RELATIONSHIP_CARDINALITY_MISSING,\n `${path}.cardinalityIntent`,\n 'Relationship cardinality intent is required before semantic evaluation.',\n [relationship.relationshipRef],\n );\n }\n if (relationship.ownershipIntent === undefined) {\n addIssue(\n issues,\n DomainPlanValidationIssueCode.RELATIONSHIP_OWNERSHIP_MISSING,\n `${path}.ownershipIntent`,\n 'Relationship ownership intent is required before semantic evaluation.',\n [relationship.relationshipRef],\n );\n }\n if (domainRelationshipOwnershipContradictsCardinality(relationship)) {\n // Both are defined here: the predicate is false while either is undecided.\n const required = domainRelationshipOwnershipRequiredByCardinality(relationship.cardinalityIntent!)!;\n const reversed = relationship.cardinalityIntent === DomainRelationshipCardinalityIntent.ONE_TO_MANY\n ? DomainRelationshipCardinalityIntent.MANY_TO_ONE\n : DomainRelationshipCardinalityIntent.ONE_TO_MANY;\n addIssue(\n issues,\n DomainPlanValidationIssueCode.RELATIONSHIP_OWNERSHIP_CONTRADICTS_CARDINALITY,\n `${path}.ownershipIntent`,\n `Relationship \"${relationship.relationshipRef}\" says ${relationship.cardinalityIntent} from ${relationship.sourceResourceRef} (source) to `\n + `${relationship.targetResourceRef} (target) with ${relationship.ownershipIntent}. Cardinality is read source → target, and the \"many\" side `\n + `holds the reference, so ${relationship.cardinalityIntent} requires ${required}. If ${relationship.ownershipIntent === DomainRelationshipOwnershipIntent.SOURCE_HOLDS_REFERENCE ? relationship.sourceResourceRef : relationship.targetResourceRef} `\n + `really holds the reference, the cardinality is ${reversed}.`,\n [relationship.relationshipRef, relationship.sourceResourceRef, relationship.targetResourceRef],\n );\n }\n });\n\n issues.sort((left, right) => `${left.code}\\u0000${left.path}\\u0000${left.message}`.localeCompare(`${right.code}\\u0000${right.path}\\u0000${right.message}`));\n return DomainPlanOutputSetValidationResultSchema.parse({\n valid: !issues.some((issue) => issue.severity === DomainPlanValidationIssueSeverity.ERROR),\n issues,\n });\n}\n\nfunction groupIndexes(values: readonly string[]): Map<string, number[]> {\n const grouped = new Map<string, number[]>();\n values.forEach((value, index) => grouped.set(value, [...(grouped.get(value) ?? []), index]));\n return grouped;\n}\n\nfunction addIssue(\n issues: DomainPlanValidationIssue[],\n code: DomainPlanValidationIssueCode,\n path: string,\n message: string,\n relatedRefs: string[],\n): void {\n issues.push({ code, severity: DomainPlanValidationIssueSeverity.ERROR, path, message, relatedRefs });\n}\n"]}
|
|
1
|
+
{"version":3,"file":"domain-plan-output-set-validation.js","sourceRoot":"","sources":["../../../../../src/_core/domain-plan/domain-plan-output-set-validation.ts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C,KAAK,CAAC;QACrD,KAAK,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,QAAQ,KAAK,iCAAiC,CAAC,KAAK,CAAC;QAC1F,MAAM;KACP,CAAC,CAAC;AACL,CAAC;AAED,SAAS,YAAY,CAAC,MAAyB;IAC7C,MAAM,OAAO,GAAG,IAAI,GAAG,EAAoB,CAAC;IAC5C,MAAM,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;IAC7F,OAAO,OAAO,CAAC;AACjB,CAAC;AAED,SAAS,QAAQ,CACf,MAAmC,EACnC,IAAmC,EACnC,IAAY,EACZ,OAAe,EACf,WAAqB;IAErB,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,iCAAiC,CAAC,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,CAAC,CAAC;AACvG,CAAC","sourcesContent":["import { z } from 'zod';\nimport { ALL_CORE_OPERATIONS } from '@wildo-ai/saas-models';\n\nimport {\n DomainPlanOutputSetSchema,\n DomainRelationshipCardinalityIntent,\n DomainRelationshipOwnershipIntent,\n domainRelationshipOwnershipContradictsCardinality,\n domainRelationshipOwnershipRequiredByCardinality,\n type DomainPlanOutputSet,\n} from './domain-plan-output-set.schemas';\n\nexport enum DomainPlanValidationIssueSeverity {\n ERROR = 'error',\n WARNING = 'warning',\n}\n\nexport enum DomainPlanValidationIssueCode {\n DUPLICATE_MODULE_ID = 'duplicate-module-id',\n DUPLICATE_RESOURCE_IN_MODULE_INVENTORY = 'duplicate-resource-in-module-inventory',\n RESOURCE_WITHOUT_MAIN_OWNER = 'resource-without-main-owner',\n RESOURCE_WITH_MULTIPLE_MAIN_OWNERS = 'resource-with-multiple-main-owners',\n DUPLICATE_RELATIONSHIP_REF = 'duplicate-relationship-ref',\n DUPLICATE_RELATIONSHIP = 'duplicate-relationship',\n RELATIONSHIP_ENDPOINTS_IDENTICAL = 'relationship-endpoints-identical',\n RELATIONSHIP_ENDPOINT_NOT_INVENTORIED = 'relationship-endpoint-not-inventoried',\n RELATIONSHIP_CARDINALITY_MISSING = 'relationship-cardinality-missing',\n RELATIONSHIP_OWNERSHIP_MISSING = 'relationship-ownership-missing',\n /**\n * A one-sided cardinality whose \"one\" end is said to hold the reference — e.g. `one-to-many` with\n * `source-holds-reference`. Read source → target, the many side holds the reference, so the two\n * intents cannot both be true. Refused here rather than left to the semantic judge, which used to\n * catch it as a GAP after the model had already spent its turn.\n */\n RELATIONSHIP_OWNERSHIP_CONTRADICTS_CARDINALITY = 'relationship-ownership-contradicts-cardinality',\n /** The same requirement left to the same engine concern twice (#2492): one of the entries says nothing. */\n DUPLICATE_ENGINE_REALIZED_REQUIREMENT = 'duplicate-engine-realized-requirement',\n /** #2491 — a lifecycle for a resource no module inventories: the build has nothing to attach it to. */\n LIFECYCLE_RESOURCE_NOT_INVENTORIED = 'lifecycle-resource-not-inventoried',\n /** Two lifecycles for one resource: a resource has one set of states. */\n DUPLICATE_LIFECYCLE = 'duplicate-lifecycle',\n /** A state named by `initialState`, a transition, `lockedStates` or `finalStates` that `states` does not declare. */\n LIFECYCLE_STATE_UNDECLARED = 'lifecycle-state-undeclared',\n /** One state listed twice in a lifecycle's `states`. */\n DUPLICATE_LIFECYCLE_STATE = 'duplicate-lifecycle-state',\n /**\n * A transition that starts from a FINAL state (#2491 review F3). A final state is TERMINAL, so a plan that also\n * moves the record out contradicts itself. Refused: the artifact would be untrue, whichever half was meant. A\n * state that only stops EDITS (an issued invoice later marked paid) is a locked state, which a transition may\n * leave.\n */\n LIFECYCLE_TRANSITION_FROM_FINAL_STATE = 'lifecycle-transition-from-final-state',\n /**\n * A transition named after a core operation (`update`, `delete`, …). The build turns a transition into an\n * operation of that name, which would collide with the core operation the resource already has and read as\n * built before anything ran (#2491 review). Name the business verb instead (`archive`, not `delete`).\n */\n LIFECYCLE_TRANSITION_NAMES_A_CORE_OPERATION = 'lifecycle-transition-names-a-core-operation',\n /**\n * A state listed as both locked and final. A WARNING: final already implies locked, so nothing is untrue, but\n * the list says less than it should about whether the record still moves on.\n */\n LIFECYCLE_STATE_LOCKED_AND_FINAL = 'lifecycle-state-locked-and-final',\n /** One verb declared twice on a lifecycle: it becomes ONE operation. */\n DUPLICATE_LIFECYCLE_TRANSITION = 'duplicate-lifecycle-transition',\n /** A conversion that creates a resource no module inventories. */\n LIFECYCLE_CONVERSION_TARGET_NOT_INVENTORIED = 'lifecycle-conversion-target-not-inventoried',\n}\n\nexport const DomainPlanValidationIssueSchema = z.object({\n code: z.enum(DomainPlanValidationIssueCode),\n severity: z.enum(DomainPlanValidationIssueSeverity),\n path: z.string().min(1),\n message: z.string().min(1),\n relatedRefs: z.array(z.string().min(1)),\n});\nexport type DomainPlanValidationIssue = z.infer<typeof DomainPlanValidationIssueSchema>;\n\nexport const DomainPlanOutputSetValidationResultSchema = z.object({\n valid: z.boolean(),\n issues: z.array(DomainPlanValidationIssueSchema),\n});\nexport type DomainPlanOutputSetValidationResult = z.infer<typeof DomainPlanOutputSetValidationResultSchema>;\n\n/**\n * Deterministic structural validation before semantic evaluation. It diagnoses\n * a staged payload; it neither accepts family state nor substitutes for the\n * required `domain-plan-coherent` evaluator.\n */\nexport function validateDomainPlanOutputSet(input: DomainPlanOutputSet): DomainPlanOutputSetValidationResult {\n const outputSet = DomainPlanOutputSetSchema.parse(input);\n const issues: DomainPlanValidationIssue[] = [];\n const moduleIndexesById = groupIndexes(outputSet.modules.map((module) => module.relatedModuleId));\n for (const [moduleId, indexes] of moduleIndexesById) {\n for (const duplicateIndex of indexes.slice(1)) {\n addIssue(\n issues,\n DomainPlanValidationIssueCode.DUPLICATE_MODULE_ID,\n `modules[${duplicateIndex}].relatedModuleId`,\n `Module id is declared more than once: ${moduleId}`,\n [moduleId],\n );\n }\n }\n\n /*\n * The inventory findings below are read by the model that has to correct the plan (#2341), so each one\n * points at the entry to change and says what the change is. The rule they enforce: a resource is MAIN\n * in exactly one module, and one module never lists a resource in both roles. So promoting a resource a\n * module lists as supporting is a MOVE, never only an add. Measured on app-creation-test-005: told only\n * \"has no main owning module\", the model added seven resources to `mainResources` and left all seven in\n * `supportingResources`, which spent an attempt on the both-roles refusal.\n */\n const mainOwnerIndexesByResource = new Map<string, Set<number>>();\n const supportingPositionsByResource = new Map<string, string[]>();\n const inventoriedResources = new Set<string>();\n outputSet.modules.forEach((module, moduleIndex) => {\n const mainPositions = new Map<string, string>();\n const supportingPositions = new Map<string, string>();\n module.mainResources.forEach((resourceRef, resourceIndex) => {\n inventoriedResources.add(resourceRef);\n const position = `modules[${moduleIndex}].mainResources[${resourceIndex}]`;\n const firstPosition = mainPositions.get(resourceRef);\n if (firstPosition !== undefined) {\n addIssue(\n issues,\n DomainPlanValidationIssueCode.DUPLICATE_RESOURCE_IN_MODULE_INVENTORY,\n position,\n `Resource is repeated in the module's main inventory: ${resourceRef} (first at ${firstPosition}). Remove the entry at ${position}.`,\n [module.relatedModuleId, resourceRef],\n );\n } else {\n mainPositions.set(resourceRef, position);\n }\n const owners = mainOwnerIndexesByResource.get(resourceRef) ?? new Set<number>();\n owners.add(moduleIndex);\n mainOwnerIndexesByResource.set(resourceRef, owners);\n });\n module.supportingResources.forEach((resourceRef, resourceIndex) => {\n inventoriedResources.add(resourceRef);\n const position = `modules[${moduleIndex}].supportingResources[${resourceIndex}]`;\n supportingPositionsByResource.set(resourceRef, [...(supportingPositionsByResource.get(resourceRef) ?? []), position]);\n const mainPosition = mainPositions.get(resourceRef);\n const firstPosition = supportingPositions.get(resourceRef);\n if (mainPosition !== undefined) {\n addIssue(\n issues,\n DomainPlanValidationIssueCode.DUPLICATE_RESOURCE_IN_MODULE_INVENTORY,\n position,\n `Resource is in both inventory roles of one module: ${resourceRef} is main at ${mainPosition} and supporting at ${position}. `\n + `A module lists a resource in one role only, and the main role wins: remove the supportingResources entry at ${position}.`,\n [module.relatedModuleId, resourceRef],\n );\n } else if (firstPosition !== undefined) {\n addIssue(\n issues,\n DomainPlanValidationIssueCode.DUPLICATE_RESOURCE_IN_MODULE_INVENTORY,\n position,\n `Resource is repeated in the module's supporting inventory: ${resourceRef} (first at ${firstPosition}). Remove the entry at ${position}.`,\n [module.relatedModuleId, resourceRef],\n );\n }\n if (firstPosition === undefined) supportingPositions.set(resourceRef, position);\n });\n });\n\n for (const resourceRef of [...inventoriedResources].sort()) {\n const owners = [...(mainOwnerIndexesByResource.get(resourceRef) ?? new Set<number>())].sort((left, right) => left - right);\n if (owners.length === 0) {\n // No main owner means every place the resource is listed is a supporting entry, so there is at least one.\n const supportingPositions = supportingPositionsByResource.get(resourceRef) ?? [];\n addIssue(\n issues,\n DomainPlanValidationIssueCode.RESOURCE_WITHOUT_MAIN_OWNER,\n supportingPositions[0] ?? 'modules',\n `Inventoried resource has no main owning module: ${resourceRef}, listed only as supporting at ${supportingPositions.join(', ')}. `\n + 'Every inventoried resource is main in exactly one module, and a module lists a resource in one role only. '\n + 'To make it main in a module that lists it as supporting, MOVE it: add it to that module\\'s mainResources and remove it from '\n + 'that module\\'s supportingResources in the same correction. To make another module its owner, add it to that module\\'s mainResources.',\n [resourceRef],\n );\n }\n if (owners.length > 1) {\n addIssue(\n issues,\n DomainPlanValidationIssueCode.RESOURCE_WITH_MULTIPLE_MAIN_OWNERS,\n `modules[${owners[1]}].mainResources`,\n `Resource has more than one main owning module: ${resourceRef}`,\n [resourceRef, ...owners.map((index) => outputSet.modules[index]!.relatedModuleId)],\n );\n }\n }\n\n const relationshipIndexesByRef = groupIndexes(outputSet.relationships.map((relationship) => relationship.relationshipRef));\n const relationshipIndexesByEndpoints = groupIndexes(\n outputSet.relationships.map((relationship) => [relationship.sourceResourceRef, relationship.targetResourceRef].sort().join('\\u0000')),\n );\n outputSet.relationships.forEach((relationship, relationshipIndex) => {\n const path = `relationships[${relationshipIndex}]`;\n const sameRefIndexes = relationshipIndexesByRef.get(relationship.relationshipRef) ?? [];\n if (sameRefIndexes.length > 1 && sameRefIndexes[0] !== relationshipIndex) {\n addIssue(\n issues,\n DomainPlanValidationIssueCode.DUPLICATE_RELATIONSHIP_REF,\n `${path}.relationshipRef`,\n `Relationship ref is declared more than once: ${relationship.relationshipRef}`,\n [relationship.relationshipRef],\n );\n }\n const endpointKey = [relationship.sourceResourceRef, relationship.targetResourceRef].sort().join('\\u0000');\n const sameEndpointIndexes = relationshipIndexesByEndpoints.get(endpointKey) ?? [];\n if (sameEndpointIndexes.length > 1 && sameEndpointIndexes[0] !== relationshipIndex) {\n addIssue(\n issues,\n DomainPlanValidationIssueCode.DUPLICATE_RELATIONSHIP,\n path,\n 'The same resource endpoints are related more than once.',\n [relationship.sourceResourceRef, relationship.targetResourceRef],\n );\n }\n if (relationship.sourceResourceRef === relationship.targetResourceRef) {\n addIssue(\n issues,\n DomainPlanValidationIssueCode.RELATIONSHIP_ENDPOINTS_IDENTICAL,\n path,\n 'A relationship must name two distinct resource endpoints.',\n [relationship.sourceResourceRef],\n );\n }\n for (const [field, resourceRef] of [['sourceResourceRef', relationship.sourceResourceRef], ['targetResourceRef', relationship.targetResourceRef]] as const) {\n if (!inventoriedResources.has(resourceRef)) {\n addIssue(\n issues,\n DomainPlanValidationIssueCode.RELATIONSHIP_ENDPOINT_NOT_INVENTORIED,\n `${path}.${field}`,\n `Relationship endpoint is absent from the module inventory: ${resourceRef}`,\n [relationship.relationshipRef, resourceRef],\n );\n }\n }\n if (relationship.cardinalityIntent === undefined) {\n addIssue(\n issues,\n DomainPlanValidationIssueCode.RELATIONSHIP_CARDINALITY_MISSING,\n `${path}.cardinalityIntent`,\n 'Relationship cardinality intent is required before semantic evaluation.',\n [relationship.relationshipRef],\n );\n }\n if (relationship.ownershipIntent === undefined) {\n addIssue(\n issues,\n DomainPlanValidationIssueCode.RELATIONSHIP_OWNERSHIP_MISSING,\n `${path}.ownershipIntent`,\n 'Relationship ownership intent is required before semantic evaluation.',\n [relationship.relationshipRef],\n );\n }\n if (domainRelationshipOwnershipContradictsCardinality(relationship)) {\n // Both are defined here: the predicate is false while either is undecided.\n const required = domainRelationshipOwnershipRequiredByCardinality(relationship.cardinalityIntent!)!;\n const reversed = relationship.cardinalityIntent === DomainRelationshipCardinalityIntent.ONE_TO_MANY\n ? DomainRelationshipCardinalityIntent.MANY_TO_ONE\n : DomainRelationshipCardinalityIntent.ONE_TO_MANY;\n addIssue(\n issues,\n DomainPlanValidationIssueCode.RELATIONSHIP_OWNERSHIP_CONTRADICTS_CARDINALITY,\n `${path}.ownershipIntent`,\n `Relationship \"${relationship.relationshipRef}\" says ${relationship.cardinalityIntent} from ${relationship.sourceResourceRef} (source) to `\n + `${relationship.targetResourceRef} (target) with ${relationship.ownershipIntent}. Cardinality is read source → target, and the \"many\" side `\n + `holds the reference, so ${relationship.cardinalityIntent} requires ${required}. If ${relationship.ownershipIntent === DomainRelationshipOwnershipIntent.SOURCE_HOLDS_REFERENCE ? relationship.sourceResourceRef : relationship.targetResourceRef} `\n + `really holds the reference, the cardinality is ${reversed}.`,\n [relationship.relationshipRef, relationship.sourceResourceRef, relationship.targetResourceRef],\n );\n }\n });\n\n const engineRealizationIndexes = groupIndexes(\n (outputSet.engineRealizedRequirements ?? []).map((entry) => `${entry.requirementRef}\\u0000${entry.realization}`),\n );\n for (const [key, indexes] of engineRealizationIndexes) {\n const [requirementRef, realization] = key.split('\\u0000') as [string, string];\n for (const duplicateIndex of indexes.slice(1)) {\n addIssue(\n issues,\n DomainPlanValidationIssueCode.DUPLICATE_ENGINE_REALIZED_REQUIREMENT,\n `engineRealizedRequirements[${duplicateIndex}]`,\n `Requirement \"${requirementRef}\" is left to ${realization} more than once (first at engineRealizedRequirements[${indexes[0]}]). Merge the rationales and remove the entry at engineRealizedRequirements[${duplicateIndex}].`,\n [requirementRef],\n );\n }\n }\n\n const lifecycleIndexesByResource = groupIndexes((outputSet.lifecycles ?? []).map((lifecycle) => lifecycle.resourceRef));\n (outputSet.lifecycles ?? []).forEach((lifecycle, lifecycleIndex) => {\n const path = `lifecycles[${lifecycleIndex}]`;\n if (!inventoriedResources.has(lifecycle.resourceRef)) {\n addIssue(issues, DomainPlanValidationIssueCode.LIFECYCLE_RESOURCE_NOT_INVENTORIED, `${path}.resourceRef`,\n `Lifecycle for \"${lifecycle.resourceRef}\", which no module inventories. Inventory the resource, or name the inventoried resource whose states these are.`,\n [lifecycle.resourceRef]);\n }\n const firstIndex = lifecycleIndexesByResource.get(lifecycle.resourceRef)?.[0];\n if (firstIndex !== undefined && firstIndex !== lifecycleIndex) {\n addIssue(issues, DomainPlanValidationIssueCode.DUPLICATE_LIFECYCLE, path,\n `\"${lifecycle.resourceRef}\" already has a lifecycle at lifecycles[${firstIndex}]. Merge the two into one.`,\n [lifecycle.resourceRef]);\n }\n const declared = new Set<string>();\n lifecycle.states.forEach((state, stateIndex) => {\n if (declared.has(state)) {\n addIssue(issues, DomainPlanValidationIssueCode.DUPLICATE_LIFECYCLE_STATE, `${path}.states[${stateIndex}]`,\n `State \"${state}\" of \"${lifecycle.resourceRef}\" is declared twice. Remove the entry at ${path}.states[${stateIndex}].`,\n [lifecycle.resourceRef, state]);\n }\n declared.add(state);\n });\n const requireDeclared = (state: string, statePath: string): void => {\n if (declared.has(state)) return;\n addIssue(issues, DomainPlanValidationIssueCode.LIFECYCLE_STATE_UNDECLARED, statePath,\n `\"${state}\" is not one of the states of \"${lifecycle.resourceRef}\" (${lifecycle.states.join(', ')}). Add it to ${path}.states, or name a declared state.`,\n [lifecycle.resourceRef, state]);\n };\n requireDeclared(lifecycle.initialState, `${path}.initialState`);\n (lifecycle.lockedStates ?? []).forEach((state, stateIndex) => requireDeclared(state, `${path}.lockedStates[${stateIndex}]`));\n lifecycle.finalStates.forEach((state, stateIndex) => requireDeclared(state, `${path}.finalStates[${stateIndex}]`));\n (lifecycle.lockedStates ?? []).forEach((state, stateIndex) => {\n if (!lifecycle.finalStates.includes(state)) return;\n issues.push({\n code: DomainPlanValidationIssueCode.LIFECYCLE_STATE_LOCKED_AND_FINAL,\n severity: DomainPlanValidationIssueSeverity.WARNING,\n path: `${path}.lockedStates[${stateIndex}]`,\n message: `\"${state}\" of \"${lifecycle.resourceRef}\" is listed as both locked and final. Keep it in finalStates if nothing moves the record out of it, otherwise only in lockedStates.`,\n relatedRefs: [lifecycle.resourceRef, state],\n });\n });\n const transitionIndexes = groupIndexes(lifecycle.transitions.map((transition) => transition.transitionRef));\n lifecycle.transitions.forEach((transition, transitionIndex) => {\n const transitionPath = `${path}.transitions[${transitionIndex}]`;\n transition.from.forEach((state, fromIndex) => {\n requireDeclared(state, `${transitionPath}.from[${fromIndex}]`);\n if (lifecycle.finalStates.includes(state)) {\n addIssue(issues, DomainPlanValidationIssueCode.LIFECYCLE_TRANSITION_FROM_FINAL_STATE, `${transitionPath}.from[${fromIndex}]`,\n `Transition \"${transition.transitionRef}\" of \"${lifecycle.resourceRef}\" starts from \"${state}\", which is a final state: nothing moves a record out of it. If the record only stops being edited there, move \"${state}\" to ${path}.lockedStates; otherwise remove it from this transition's \"from\".`,\n [lifecycle.resourceRef, transition.transitionRef, state]);\n }\n });\n requireDeclared(transition.to, `${transitionPath}.to`);\n if ((ALL_CORE_OPERATIONS as readonly string[]).includes(transition.transitionRef)) {\n addIssue(issues, DomainPlanValidationIssueCode.LIFECYCLE_TRANSITION_NAMES_A_CORE_OPERATION, `${transitionPath}.transitionRef`,\n `Transition \"${transition.transitionRef}\" of \"${lifecycle.resourceRef}\" has the name of a core operation every resource already has. Name the business verb (archive, close, cancel).`,\n [lifecycle.resourceRef, transition.transitionRef]);\n }\n const firstTransition = transitionIndexes.get(transition.transitionRef)?.[0];\n if (firstTransition !== undefined && firstTransition !== transitionIndex) {\n addIssue(issues, DomainPlanValidationIssueCode.DUPLICATE_LIFECYCLE_TRANSITION, transitionPath,\n `Transition \"${transition.transitionRef}\" of \"${lifecycle.resourceRef}\" is declared twice (first at ${path}.transitions[${firstTransition}]). One verb is one operation: list every starting state in one transition's \"from\".`,\n [lifecycle.resourceRef, transition.transitionRef]);\n }\n if (transition.createsResourceRef !== undefined && !inventoriedResources.has(transition.createsResourceRef)) {\n addIssue(issues, DomainPlanValidationIssueCode.LIFECYCLE_CONVERSION_TARGET_NOT_INVENTORIED, `${transitionPath}.createsResourceRef`,\n `Transition \"${transition.transitionRef}\" of \"${lifecycle.resourceRef}\" creates \"${transition.createsResourceRef}\", which no module inventories.`,\n [lifecycle.resourceRef, transition.createsResourceRef]);\n }\n });\n });\n\n issues.sort((left, right) => `${left.code}\\u0000${left.path}\\u0000${left.message}`.localeCompare(`${right.code}\\u0000${right.path}\\u0000${right.message}`));\n return DomainPlanOutputSetValidationResultSchema.parse({\n valid: !issues.some((issue) => issue.severity === DomainPlanValidationIssueSeverity.ERROR),\n issues,\n });\n}\n\nfunction groupIndexes(values: readonly string[]): Map<string, number[]> {\n const grouped = new Map<string, number[]>();\n values.forEach((value, index) => grouped.set(value, [...(grouped.get(value) ?? []), index]));\n return grouped;\n}\n\nfunction addIssue(\n issues: DomainPlanValidationIssue[],\n code: DomainPlanValidationIssueCode,\n path: string,\n message: string,\n relatedRefs: string[],\n): void {\n issues.push({ code, severity: DomainPlanValidationIssueSeverity.ERROR, path, message, relatedRefs });\n}\n"]}
|
|
@@ -122,6 +122,103 @@ export declare enum DomainPlanTenancyModel {
|
|
|
122
122
|
/** Every user's data is their own. User-scoped resources, no capability change. */
|
|
123
123
|
USERS = "users"
|
|
124
124
|
}
|
|
125
|
+
/**
|
|
126
|
+
* WHAT THE ENGINE ALREADY PROVIDES, so a requirement in its area is met by configuration rather than by a
|
|
127
|
+
* module of the application (#2492).
|
|
128
|
+
*
|
|
129
|
+
* The domain plan's coverage rule used to accept only a module home, so a requirement the engine already
|
|
130
|
+
* satisfies could only become an application resource. app-creation-test-005 turned "office and field
|
|
131
|
+
* users see different areas" into an access-role resource nothing reads, and "the documentation
|
|
132
|
+
* identifies the processing purposes" into a tenant-editable record of processing; -004 turned country
|
|
133
|
+
* guidance into an empty form. Each member names a concern the engine owns and where it is configured,
|
|
134
|
+
* which is what the build decomposition and the coding agent then act on.
|
|
135
|
+
*/
|
|
136
|
+
export declare enum DomainPlanEngineRealization {
|
|
137
|
+
/** Who may do what: the application's roles, the organization types that offer them, operation roles. */
|
|
138
|
+
APPLICATION_ROLES = "APPLICATION_ROLES",
|
|
139
|
+
/** Members of an organization, invitations, teams and organization units. */
|
|
140
|
+
ORGANIZATION_MEMBERSHIP = "ORGANIZATION_MEMBERSHIP",
|
|
141
|
+
/** A record of who did what and when, on every operation the engine audits. */
|
|
142
|
+
AUDIT_TRAIL = "AUDIT_TRAIL",
|
|
143
|
+
/** Personal data declared on fields, a person's export and erasure, retention of records. */
|
|
144
|
+
PERSONAL_DATA = "PERSONAL_DATA",
|
|
145
|
+
/**
|
|
146
|
+
* A statement the operator makes about the product: the privacy notice, the record of processing,
|
|
147
|
+
* terms, compliance and country-specific disclaimers. Composed from the product as a governed document,
|
|
148
|
+
* never typed into the product by its users.
|
|
149
|
+
*/
|
|
150
|
+
GOVERNED_DOCUMENT = "GOVERNED_DOCUMENT",
|
|
151
|
+
/** Plans, subscriptions, invoices FROM the operator TO its customers. Not the application's own invoicing. */
|
|
152
|
+
BILLING = "BILLING",
|
|
153
|
+
/** Onboarding guidance, milestones and celebrations. */
|
|
154
|
+
GUIDANCE = "GUIDANCE",
|
|
155
|
+
/** Telling a user something happened — in-app and by email — declared on the operation that causes it. */
|
|
156
|
+
NOTIFICATIONS = "NOTIFICATIONS",
|
|
157
|
+
/** The product in several languages. */
|
|
158
|
+
LOCALIZATION = "LOCALIZATION"
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* One requirement the domain plan leaves to the engine, with the concern that meets it and why. Counted as
|
|
162
|
+
* covered by the plan's coverage criterion, exactly like a module home.
|
|
163
|
+
*/
|
|
164
|
+
export declare const DomainPlanEngineRealizedRequirementSchema: z.ZodObject<{
|
|
165
|
+
requirementRef: z.ZodString;
|
|
166
|
+
realization: z.ZodEnum<typeof DomainPlanEngineRealization>;
|
|
167
|
+
rationale: z.ZodString;
|
|
168
|
+
}, z.core.$strip>;
|
|
169
|
+
export type DomainPlanEngineRealizedRequirement = z.infer<typeof DomainPlanEngineRealizedRequirementSchema>;
|
|
170
|
+
/**
|
|
171
|
+
* One move between states of a resource, as the business names it (#2491).
|
|
172
|
+
*
|
|
173
|
+
* A transition is behaviour, not a field: the build turns each one into an operation the engine guards
|
|
174
|
+
* (it refuses the move from any other state) and that stamps when it happened. `createsResourceRef` marks a
|
|
175
|
+
* CONVERSION — accepting a quote creates a job — whose write the build performs in the same transaction.
|
|
176
|
+
*/
|
|
177
|
+
/**
|
|
178
|
+
* A transition's name in slug form (#2491 review F12). Slug because the build carries it unchanged into the
|
|
179
|
+
* operation it adds, whose `operationRef` is a slug: a free-text verb would land a plan the build cannot express.
|
|
180
|
+
*/
|
|
181
|
+
export declare const DomainTransitionRefSchema: z.ZodString;
|
|
182
|
+
/** The camelCase timestamp field a transition records (`sentAt`, `paidAt`); one named schema for the family and the generation contract. */
|
|
183
|
+
export declare const DomainTransitionStampsFieldSchema: z.ZodString;
|
|
184
|
+
export declare const DomainResourceTransitionSchema: z.ZodObject<{
|
|
185
|
+
transitionRef: z.ZodString;
|
|
186
|
+
from: z.ZodArray<z.ZodString>;
|
|
187
|
+
to: z.ZodString;
|
|
188
|
+
performedBy: z.ZodString;
|
|
189
|
+
createsResourceRef: z.ZodOptional<z.ZodString>;
|
|
190
|
+
stampsField: z.ZodOptional<z.ZodString>;
|
|
191
|
+
}, z.core.$strip>;
|
|
192
|
+
export type DomainResourceTransition = z.infer<typeof DomainResourceTransitionSchema>;
|
|
193
|
+
/**
|
|
194
|
+
* The states a resource moves through and the transitions between them (#2491).
|
|
195
|
+
*
|
|
196
|
+
* Every layer used to defer lifecycle to a "later depth pass" that no playbook performs, so the build
|
|
197
|
+
* planned no operations and every step shipped as a status users edit by hand: app-creation-test-004 and
|
|
198
|
+
* -005 had no transition at all. The domain plan is where the resources are decided, so it is where their
|
|
199
|
+
* states are: the build decomposition emits one operation task per transition, and freezes a resource's
|
|
200
|
+
* UPDATE in its locked and final states.
|
|
201
|
+
*
|
|
202
|
+
* LOCKED and FINAL are two concepts and stay two fields (#2491 re-review M1). An issued invoice is LOCKED:
|
|
203
|
+
* nobody edits it, yet it is later marked paid. A paid invoice is FINAL: nothing moves it again. With one
|
|
204
|
+
* field, either the issued invoice stayed editable or the plan could not mark it paid.
|
|
205
|
+
*/
|
|
206
|
+
export declare const DomainResourceLifecycleSchema: z.ZodObject<{
|
|
207
|
+
resourceRef: z.ZodString;
|
|
208
|
+
states: z.ZodArray<z.ZodString>;
|
|
209
|
+
initialState: z.ZodString;
|
|
210
|
+
transitions: z.ZodArray<z.ZodObject<{
|
|
211
|
+
transitionRef: z.ZodString;
|
|
212
|
+
from: z.ZodArray<z.ZodString>;
|
|
213
|
+
to: z.ZodString;
|
|
214
|
+
performedBy: z.ZodString;
|
|
215
|
+
createsResourceRef: z.ZodOptional<z.ZodString>;
|
|
216
|
+
stampsField: z.ZodOptional<z.ZodString>;
|
|
217
|
+
}, z.core.$strip>>;
|
|
218
|
+
lockedStates: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
219
|
+
finalStates: z.ZodArray<z.ZodString>;
|
|
220
|
+
}, z.core.$strip>;
|
|
221
|
+
export type DomainResourceLifecycle = z.infer<typeof DomainResourceLifecycleSchema>;
|
|
125
222
|
/**
|
|
126
223
|
* THE `domain-plan` family artifact: modules AND their relationship drafts, one atomic value.
|
|
127
224
|
*
|
|
@@ -152,6 +249,26 @@ export declare const DomainPlanOutputSetSchema: z.ZodObject<{
|
|
|
152
249
|
rationale: z.ZodOptional<z.ZodString>;
|
|
153
250
|
}, z.core.$strip>>;
|
|
154
251
|
tenancy: z.ZodOptional<z.ZodEnum<typeof DomainPlanTenancyModel>>;
|
|
252
|
+
engineRealizedRequirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
253
|
+
requirementRef: z.ZodString;
|
|
254
|
+
realization: z.ZodEnum<typeof DomainPlanEngineRealization>;
|
|
255
|
+
rationale: z.ZodString;
|
|
256
|
+
}, z.core.$strip>>>;
|
|
257
|
+
lifecycles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
258
|
+
resourceRef: z.ZodString;
|
|
259
|
+
states: z.ZodArray<z.ZodString>;
|
|
260
|
+
initialState: z.ZodString;
|
|
261
|
+
transitions: z.ZodArray<z.ZodObject<{
|
|
262
|
+
transitionRef: z.ZodString;
|
|
263
|
+
from: z.ZodArray<z.ZodString>;
|
|
264
|
+
to: z.ZodString;
|
|
265
|
+
performedBy: z.ZodString;
|
|
266
|
+
createsResourceRef: z.ZodOptional<z.ZodString>;
|
|
267
|
+
stampsField: z.ZodOptional<z.ZodString>;
|
|
268
|
+
}, z.core.$strip>>;
|
|
269
|
+
lockedStates: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
270
|
+
finalStates: z.ZodArray<z.ZodString>;
|
|
271
|
+
}, z.core.$strip>>>;
|
|
155
272
|
}, z.core.$strip>;
|
|
156
273
|
export type DomainPlanOutputSet = z.infer<typeof DomainPlanOutputSetSchema>;
|
|
157
274
|
//# sourceMappingURL=domain-plan-output-set.schemas.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domain-plan-output-set.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/domain-plan/domain-plan-output-set.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,0BAA0B,CAAC;AAMlC,0EAA0E;AAC1E,eAAO,MAAM,iCAAiC,oCAAoC,CAAC;AAEnF;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,oBAAY,mCAAmC;IAC7C,2HAA2H;IAC3H,UAAU,eAAe;IACzB;;;OAGG;IACH,WAAW,gBAAgB;IAC3B;;;;OAIG;IACH,WAAW,gBAAgB;IAC3B,+GAA+G;IAC/G,YAAY,iBAAiB;CAC9B;AAED;;;;;;GAMG;AACH,oBAAY,iCAAiC;IAC3C,sBAAsB,2BAA2B;IACjD,sBAAsB,2BAA2B;CAClD;AAED;;;;;GAKG;AACH,wBAAgB,gDAAgD,CAC9D,WAAW,EAAE,mCAAmC,GAC/C,iCAAiC,GAAG,SAAS,CAU/C;AAED;;;;GAIG;AACH,wBAAgB,iDAAiD,CAAC,KAAK,EAAE;IACvE,QAAQ,CAAC,iBAAiB,CAAC,EAAE,mCAAmC,GAAG,SAAS,CAAC;IAC7E,QAAQ,CAAC,eAAe,CAAC,EAAE,iCAAiC,GAAG,SAAS,CAAC;CAC1E,GAAG,OAAO,CAIV;AAED;;;;;GAKG;AACH,eAAO,MAAM,6BAA6B;;;;;;;iBAOxC,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,oBAAY,sBAAsB;IAChC;;;OAGG;IACH,aAAa,kBAAkB;IAC/B,mFAAmF;IACnF,KAAK,UAAU;CAChB;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"domain-plan-output-set.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/domain-plan/domain-plan-output-set.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,0BAA0B,CAAC;AAMlC,0EAA0E;AAC1E,eAAO,MAAM,iCAAiC,oCAAoC,CAAC;AAEnF;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,oBAAY,mCAAmC;IAC7C,2HAA2H;IAC3H,UAAU,eAAe;IACzB;;;OAGG;IACH,WAAW,gBAA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C,CAAC,KAAK,CAAC,OAAO,yCAAyC,CAAC,CAAC;AAE5G;;;;;;GAMG;AACH;;;GAGG;AACH,eAAO,MAAM,yBAAyB,aAAiD,CAAC;AAExF,4IAA4I;AAC5I,eAAO,MAAM,iCAAiC,aAA0C,CAAC;AAEzF,eAAO,MAAM,8BAA8B;;;;;;;iBAgBzC,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAEtF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;iBAexC,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF;;;;;;;;GAQG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA4BpC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
|
|
@@ -140,6 +140,113 @@ export var DomainPlanTenancyModel;
|
|
|
140
140
|
/** Every user's data is their own. User-scoped resources, no capability change. */
|
|
141
141
|
DomainPlanTenancyModel["USERS"] = "users";
|
|
142
142
|
})(DomainPlanTenancyModel || (DomainPlanTenancyModel = {}));
|
|
143
|
+
/**
|
|
144
|
+
* WHAT THE ENGINE ALREADY PROVIDES, so a requirement in its area is met by configuration rather than by a
|
|
145
|
+
* module of the application (#2492).
|
|
146
|
+
*
|
|
147
|
+
* The domain plan's coverage rule used to accept only a module home, so a requirement the engine already
|
|
148
|
+
* satisfies could only become an application resource. app-creation-test-005 turned "office and field
|
|
149
|
+
* users see different areas" into an access-role resource nothing reads, and "the documentation
|
|
150
|
+
* identifies the processing purposes" into a tenant-editable record of processing; -004 turned country
|
|
151
|
+
* guidance into an empty form. Each member names a concern the engine owns and where it is configured,
|
|
152
|
+
* which is what the build decomposition and the coding agent then act on.
|
|
153
|
+
*/
|
|
154
|
+
export var DomainPlanEngineRealization;
|
|
155
|
+
(function (DomainPlanEngineRealization) {
|
|
156
|
+
/** Who may do what: the application's roles, the organization types that offer them, operation roles. */
|
|
157
|
+
DomainPlanEngineRealization["APPLICATION_ROLES"] = "APPLICATION_ROLES";
|
|
158
|
+
/** Members of an organization, invitations, teams and organization units. */
|
|
159
|
+
DomainPlanEngineRealization["ORGANIZATION_MEMBERSHIP"] = "ORGANIZATION_MEMBERSHIP";
|
|
160
|
+
/** A record of who did what and when, on every operation the engine audits. */
|
|
161
|
+
DomainPlanEngineRealization["AUDIT_TRAIL"] = "AUDIT_TRAIL";
|
|
162
|
+
/** Personal data declared on fields, a person's export and erasure, retention of records. */
|
|
163
|
+
DomainPlanEngineRealization["PERSONAL_DATA"] = "PERSONAL_DATA";
|
|
164
|
+
/**
|
|
165
|
+
* A statement the operator makes about the product: the privacy notice, the record of processing,
|
|
166
|
+
* terms, compliance and country-specific disclaimers. Composed from the product as a governed document,
|
|
167
|
+
* never typed into the product by its users.
|
|
168
|
+
*/
|
|
169
|
+
DomainPlanEngineRealization["GOVERNED_DOCUMENT"] = "GOVERNED_DOCUMENT";
|
|
170
|
+
/** Plans, subscriptions, invoices FROM the operator TO its customers. Not the application's own invoicing. */
|
|
171
|
+
DomainPlanEngineRealization["BILLING"] = "BILLING";
|
|
172
|
+
/** Onboarding guidance, milestones and celebrations. */
|
|
173
|
+
DomainPlanEngineRealization["GUIDANCE"] = "GUIDANCE";
|
|
174
|
+
/** Telling a user something happened — in-app and by email — declared on the operation that causes it. */
|
|
175
|
+
DomainPlanEngineRealization["NOTIFICATIONS"] = "NOTIFICATIONS";
|
|
176
|
+
/** The product in several languages. */
|
|
177
|
+
DomainPlanEngineRealization["LOCALIZATION"] = "LOCALIZATION";
|
|
178
|
+
})(DomainPlanEngineRealization || (DomainPlanEngineRealization = {}));
|
|
179
|
+
/**
|
|
180
|
+
* One requirement the domain plan leaves to the engine, with the concern that meets it and why. Counted as
|
|
181
|
+
* covered by the plan's coverage criterion, exactly like a module home.
|
|
182
|
+
*/
|
|
183
|
+
export const DomainPlanEngineRealizedRequirementSchema = z.object({
|
|
184
|
+
/** The requirement's ref, as the requirements family declares it. */
|
|
185
|
+
requirementRef: NonEmptyStringSchema,
|
|
186
|
+
realization: z.enum(DomainPlanEngineRealization),
|
|
187
|
+
/** Which part of the requirement the engine meets, and what the build still has to configure. */
|
|
188
|
+
rationale: NonEmptyStringSchema,
|
|
189
|
+
});
|
|
190
|
+
/**
|
|
191
|
+
* One move between states of a resource, as the business names it (#2491).
|
|
192
|
+
*
|
|
193
|
+
* A transition is behaviour, not a field: the build turns each one into an operation the engine guards
|
|
194
|
+
* (it refuses the move from any other state) and that stamps when it happened. `createsResourceRef` marks a
|
|
195
|
+
* CONVERSION — accepting a quote creates a job — whose write the build performs in the same transaction.
|
|
196
|
+
*/
|
|
197
|
+
/**
|
|
198
|
+
* A transition's name in slug form (#2491 review F12). Slug because the build carries it unchanged into the
|
|
199
|
+
* operation it adds, whose `operationRef` is a slug: a free-text verb would land a plan the build cannot express.
|
|
200
|
+
*/
|
|
201
|
+
export const DomainTransitionRefSchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);
|
|
202
|
+
/** The camelCase timestamp field a transition records (`sentAt`, `paidAt`); one named schema for the family and the generation contract. */
|
|
203
|
+
export const DomainTransitionStampsFieldSchema = z.string().regex(/^[a-z][a-zA-Z0-9]*$/);
|
|
204
|
+
export const DomainResourceTransitionSchema = z.object({
|
|
205
|
+
/** The verb, in slug form: `send`, `accept`, `issue`, `mark-paid`. Becomes the operation's name. */
|
|
206
|
+
transitionRef: DomainTransitionRefSchema,
|
|
207
|
+
/** The states the transition may start from. */
|
|
208
|
+
from: z.array(NonEmptyStringSchema).min(1),
|
|
209
|
+
to: NonEmptyStringSchema,
|
|
210
|
+
/** Who performs it, in the requirements' words (an office user, the customer, the system). */
|
|
211
|
+
performedBy: NonEmptyStringSchema,
|
|
212
|
+
/** The inventoried resource a conversion creates, when the transition creates one. */
|
|
213
|
+
createsResourceRef: NonEmptyStringSchema.optional(),
|
|
214
|
+
/**
|
|
215
|
+
* The timestamp field the transition records when it happens (`sentAt`, `decidedAt`, `paidAt`), in camelCase,
|
|
216
|
+
* when the business needs to know when it happened. The schema task creates it excluded from create and
|
|
217
|
+
* update, so only the transition writes it.
|
|
218
|
+
*/
|
|
219
|
+
stampsField: DomainTransitionStampsFieldSchema.optional(),
|
|
220
|
+
});
|
|
221
|
+
/**
|
|
222
|
+
* The states a resource moves through and the transitions between them (#2491).
|
|
223
|
+
*
|
|
224
|
+
* Every layer used to defer lifecycle to a "later depth pass" that no playbook performs, so the build
|
|
225
|
+
* planned no operations and every step shipped as a status users edit by hand: app-creation-test-004 and
|
|
226
|
+
* -005 had no transition at all. The domain plan is where the resources are decided, so it is where their
|
|
227
|
+
* states are: the build decomposition emits one operation task per transition, and freezes a resource's
|
|
228
|
+
* UPDATE in its locked and final states.
|
|
229
|
+
*
|
|
230
|
+
* LOCKED and FINAL are two concepts and stay two fields (#2491 re-review M1). An issued invoice is LOCKED:
|
|
231
|
+
* nobody edits it, yet it is later marked paid. A paid invoice is FINAL: nothing moves it again. With one
|
|
232
|
+
* field, either the issued invoice stayed editable or the plan could not mark it paid.
|
|
233
|
+
*/
|
|
234
|
+
export const DomainResourceLifecycleSchema = z.object({
|
|
235
|
+
/** An inventoried resource. */
|
|
236
|
+
resourceRef: NonEmptyStringSchema,
|
|
237
|
+
/** Every state, upper snake case: `DRAFT`, `SENT`, `ACCEPTED`. */
|
|
238
|
+
states: z.array(NonEmptyStringSchema).min(2),
|
|
239
|
+
/** The state a new record starts in. */
|
|
240
|
+
initialState: NonEmptyStringSchema,
|
|
241
|
+
transitions: z.array(DomainResourceTransitionSchema).min(1),
|
|
242
|
+
/**
|
|
243
|
+
* The states in which the record can no longer be EDITED but may still move on (an issued invoice, a sent
|
|
244
|
+
* quote). Optional on a stored plan; the generation contract requires it.
|
|
245
|
+
*/
|
|
246
|
+
lockedStates: z.array(NonEmptyStringSchema).optional(),
|
|
247
|
+
/** TERMINAL states: no transition leaves them, and the record is not edited there either. May be empty. */
|
|
248
|
+
finalStates: z.array(NonEmptyStringSchema),
|
|
249
|
+
});
|
|
143
250
|
/**
|
|
144
251
|
* THE `domain-plan` family artifact: modules AND their relationship drafts, one atomic value.
|
|
145
252
|
*
|
|
@@ -166,5 +273,16 @@ export const DomainPlanOutputSetSchema = z.object({
|
|
|
166
273
|
* here and why it is optional on this schema while required on the generation contract.
|
|
167
274
|
*/
|
|
168
275
|
tenancy: z.enum(DomainPlanTenancyModel).optional(),
|
|
276
|
+
/**
|
|
277
|
+
* The requirements met by what the engine provides (#2492). Optional here so plans authored before the
|
|
278
|
+
* field still parse; required on the generation contract, where an empty list is a statement.
|
|
279
|
+
*/
|
|
280
|
+
engineRealizedRequirements: z.array(DomainPlanEngineRealizedRequirementSchema).optional(),
|
|
281
|
+
/**
|
|
282
|
+
* The lifecycles of the resources that move through states (#2491). Optional here so plans authored
|
|
283
|
+
* before the field still parse; required on the generation contract, where an empty list says no
|
|
284
|
+
* resource has one.
|
|
285
|
+
*/
|
|
286
|
+
lifecycles: z.array(DomainResourceLifecycleSchema).optional(),
|
|
169
287
|
});
|
|
170
288
|
//# sourceMappingURL=domain-plan-output-set.schemas.js.map
|