@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,3 +1,4 @@
|
|
|
1
|
+
import { EngineCapability } from "@wildo-ai/saas-models";
|
|
1
2
|
import { ApplicationSpecificationFamily } from "../_core/application-specification-family-identity.schemas";
|
|
2
3
|
import { type ApplicationCreatorInputs } from "./application-creator-inputs.application-creation.schemas";
|
|
3
4
|
/**
|
|
@@ -16,8 +17,8 @@ import { type ApplicationCreatorInputs } from "./application-creator-inputs.appl
|
|
|
16
17
|
* Secondary lines, opened in the middle of an application's life for a feature or a refinement,
|
|
17
18
|
* are a different concept with their own record (#1608); they never change this value.
|
|
18
19
|
*
|
|
19
|
-
* Members are added with the line they name, and only then
|
|
20
|
-
*
|
|
20
|
+
* Members are added with the line they name, and only then: AI-native service firms arrived as
|
|
21
|
+
* {@link ApplicationLine.SERVICE_FIRM} with the families and playbooks that line adds (#2305).
|
|
21
22
|
*/
|
|
22
23
|
export declare enum ApplicationLine {
|
|
23
24
|
/**
|
|
@@ -32,7 +33,34 @@ export declare enum ApplicationLine {
|
|
|
32
33
|
* owns the application, which is typically signed in through its own identity provider and often
|
|
33
34
|
* reads its data from systems of record the company already runs.
|
|
34
35
|
*/
|
|
35
|
-
INTERNAL_TOOL = "internal_tool"
|
|
36
|
+
INTERNAL_TOOL = "internal_tool",
|
|
37
|
+
/**
|
|
38
|
+
* An AI-native service firm's platform (#2305): the firm operates it and serves its clients through it — their cases
|
|
39
|
+
* worked by the firm's agents and reviewed by its qualified people. Sold like a B2B SaaS (a market, a business model,
|
|
40
|
+
* a brand, a website all apply, and billing per case), and owned like an internal tool (the firm is the one
|
|
41
|
+
* organization that runs it, and reads its own systems of record).
|
|
42
|
+
*/
|
|
43
|
+
SERVICE_FIRM = "service_firm"
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* How an application's organizations are arranged, decided by its line (#1605, #2305). Read by the foundation and by
|
|
47
|
+
* the framework blueprint of the line (`wildo/<line>`), so one value says what both lay down.
|
|
48
|
+
*
|
|
49
|
+
* It is the arrangement a line STARTS with, not an exclusive one (#2968). The arrangements combine where the engine
|
|
50
|
+
* allows it: a B2B SaaS whose vendor also serves some customers keeps its customer tenants and gains an owner type and
|
|
51
|
+
* a `service` relationship, laid down beside them (`layDownOperatorWithClients` in the creation runtime). What the
|
|
52
|
+
* configuration declares is the application's arrangement; this value is what its line asks for.
|
|
53
|
+
*/
|
|
54
|
+
export declare enum ApplicationOrganizationStructure {
|
|
55
|
+
/** Each customer organization is its own tenant and none owns the product: the base's single `workspace` type. */
|
|
56
|
+
CUSTOMER_TENANTS = "customer_tenants",
|
|
57
|
+
/** One organization owns the application and its members are the users: the single type marked `ownsApplication`. */
|
|
58
|
+
SINGLE_OWNER = "single_owner",
|
|
59
|
+
/**
|
|
60
|
+
* An OPERATOR organization owns the application and serves CLIENT organizations, which sign up on their own, linked by
|
|
61
|
+
* a `service` relationship in which the operator represents and the client grants (the shape Wonder Ledger runs).
|
|
62
|
+
*/
|
|
63
|
+
OPERATOR_WITH_CLIENTS = "operator_with_clients"
|
|
36
64
|
}
|
|
37
65
|
/**
|
|
38
66
|
* What one line admits, declared rather than listed.
|
|
@@ -57,11 +85,43 @@ export interface ApplicationLineDefinition {
|
|
|
57
85
|
*/
|
|
58
86
|
readonly notApplicableFamilies: readonly ApplicationSpecificationFamily[];
|
|
59
87
|
/**
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
88
|
+
* How the application's organizations are arranged (#1605, #2305): customer tenants, one owner, or an operator serving
|
|
89
|
+
* its clients. The foundation declares an owner before the first initialization for SINGLE_OWNER; for
|
|
90
|
+
* OPERATOR_WITH_CLIENTS it lays the structure down beside the types the configuration declares
|
|
91
|
+
* (`layDownOperatorWithClients`, #2968) and reports owed only what needs the creator's choice; `wildo init --line`
|
|
92
|
+
* lays it down at creation.
|
|
93
|
+
*
|
|
94
|
+
* The line's whole static posture, and read in three places (#2863, #2305): the foundation executor, for an
|
|
95
|
+
* application whose line was chosen in the interview; the blueprint the framework ships for the line (`wildo/<line>`,
|
|
96
|
+
* packed by `wildo fwk generate-blueprints` into `templates/saas/blueprints/`), for one created from it; and
|
|
97
|
+
* {@link resolveApplicationOrganizationStructure}, which every reader of the arrangement goes through (the privacy
|
|
98
|
+
* notice's audience, the companion's document set and briefs) and which a firm feature line can override. Changing it
|
|
99
|
+
* owes a regeneration; the currency test fails until the committed blueprint matches. Billing is {@link excludedEngineCapabilities}, and marketing email is the base's default on every line.
|
|
100
|
+
*/
|
|
101
|
+
readonly organizationStructure: ApplicationOrganizationStructure;
|
|
102
|
+
/**
|
|
103
|
+
* Engine capabilities an application on this line NEVER has (#1605): an internal tool has no billing at all (Paul,
|
|
104
|
+
* 2026-10-19). Not "off by default": the creator is never asked for a provider for one (its provider question is not
|
|
105
|
+
* applicable on the line), the foundation never derives it, and a configuration that enables it anyway is reported
|
|
106
|
+
* as contradicting the line, MARKED rather than refused (`application-creation-directive.md`).
|
|
107
|
+
*
|
|
108
|
+
* Read through {@link resolveExcludedEngineCapabilities}, the one place the main line is turned into the set.
|
|
63
109
|
*/
|
|
64
|
-
readonly
|
|
110
|
+
readonly excludedEngineCapabilities: readonly EngineCapability[];
|
|
111
|
+
/**
|
|
112
|
+
* Interview answers the LINE gives, so they are never asked (#1605): an internal tool is organization-scoped, its
|
|
113
|
+
* data belonging to the one organization that owns it, so the domain plan's tenancy question is answered by the line.
|
|
114
|
+
* Derived wherever answers are read and never stored, so answering the line question again changes them; the
|
|
115
|
+
* question's choices narrow to the decided value, so an answer contradicting the line is refused. Read through
|
|
116
|
+
* {@link resolveLineDecidedAnswers}.
|
|
117
|
+
*/
|
|
118
|
+
readonly decidedAnswers: readonly ApplicationLineDecidedAnswer[];
|
|
119
|
+
}
|
|
120
|
+
/** One interview answer a line gives: the question, by its playbook and its own ref, and the value. */
|
|
121
|
+
export interface ApplicationLineDecidedAnswer {
|
|
122
|
+
readonly playbookRef: string;
|
|
123
|
+
readonly questionRef: string;
|
|
124
|
+
readonly value: string;
|
|
65
125
|
}
|
|
66
126
|
/**
|
|
67
127
|
* Every line's definition, keyed by the vocabulary, so a member added to {@link ApplicationLine}
|
|
@@ -127,6 +187,21 @@ export type ApplicationLineDeclaration = {
|
|
|
127
187
|
};
|
|
128
188
|
/** Read the application's main line from its dossier. Pure; the dossier is the only place the line lives. */
|
|
129
189
|
export declare function resolveApplicationLineDeclaration(inputs: ApplicationCreatorInputs | undefined): ApplicationLineDeclaration;
|
|
190
|
+
/**
|
|
191
|
+
* The engine capabilities this application never has, from its MAIN line (#1605). Empty while no line is declared:
|
|
192
|
+
* nothing can be excluded before the kind of application is known. A secondary line changes the application's content,
|
|
193
|
+
* never its kind, so it does not widen or narrow this set.
|
|
194
|
+
*/
|
|
195
|
+
export declare function resolveExcludedEngineCapabilities(inputs: ApplicationCreatorInputs | undefined, definitions?: Readonly<Record<string, ApplicationLineDefinition>>): ReadonlySet<EngineCapability>;
|
|
196
|
+
/**
|
|
197
|
+
* The interview answers this application's MAIN line gives (#1605), or none while no line is declared. A secondary line
|
|
198
|
+
* changes the application's content, not its kind, with ONE exception that follows from the arrangement rather than
|
|
199
|
+
* the line: when a feature line needs the firm's method, the application is arranged as an operator serving its clients
|
|
200
|
+
* whatever its main line ({@link describeFirmStructureNeed}), and that arrangement is organizations, so the tenancy the
|
|
201
|
+
* service-firm line decides is decided here too (#2305 review). Without it the structure was laid down while the domain
|
|
202
|
+
* plan could still be user-scoped.
|
|
203
|
+
*/
|
|
204
|
+
export declare function resolveLineDecidedAnswers(inputs: ApplicationCreatorInputs | undefined, definitions?: Readonly<Record<string, ApplicationLineDefinition>>): readonly ApplicationLineDecidedAnswer[];
|
|
130
205
|
/**
|
|
131
206
|
* The specification families that do not apply to this application, read from its dossier (#1604).
|
|
132
207
|
* Empty while no line is declared: nothing can be said not to apply before the kind of application is
|
|
@@ -134,11 +209,44 @@ export declare function resolveApplicationLineDeclaration(inputs: ApplicationCre
|
|
|
134
209
|
* charter derivation, so none of them re-derives the line.
|
|
135
210
|
*/
|
|
136
211
|
export declare function resolveNotApplicableFamilies(inputs: ApplicationCreatorInputs | undefined, definitions?: Readonly<Record<string, ApplicationLineDefinition>>): ReadonlySet<string>;
|
|
212
|
+
/**
|
|
213
|
+
* Why this application serves clients as a firm although its main line may not say so (#2305, Paul's D3), or
|
|
214
|
+
* `undefined` when nothing says it does.
|
|
215
|
+
*
|
|
216
|
+
* A blueprint is a starting point, not a cage: a B2B SaaS whose market turns out to need a firm's work, or an internal
|
|
217
|
+
* tool that starts working cases for others, opens a secondary line that needs the `service-method` family, which those
|
|
218
|
+
* lines declare not applicable and the line therefore brings back. That need
|
|
219
|
+
* is the one trigger, and it is read from the DOSSIER (`resolveSecondaryLineNeededFamilies`) because every reader of
|
|
220
|
+
* the arrangement reads the dossier: the foundation that lays the structure down, the privacy notice's audience, the
|
|
221
|
+
* release a composition produces. A second input, such as a landed service method, would let them disagree.
|
|
222
|
+
*/
|
|
223
|
+
export declare function describeFirmStructureNeed(inputs: ApplicationCreatorInputs | undefined): string | undefined;
|
|
224
|
+
/**
|
|
225
|
+
* How this application's organizations are arranged (#1649), or `undefined` while no line is declared (or the declared
|
|
226
|
+
* value is no longer a line) and nothing makes it a firm. The arrangement, not the line's name, is what readers key on:
|
|
227
|
+
* the privacy notice's audience follows from whether one organization owns the application
|
|
228
|
+
* (`ApplicationOrganizationStructure.SINGLE_OWNER`), so a future line with that arrangement inherits the answer.
|
|
229
|
+
*
|
|
230
|
+
* The MAIN line decides it, with one exception (#2305): when a secondary line needs the firm's method
|
|
231
|
+
* ({@link describeFirmStructureNeed}), it is `OPERATOR_WITH_CLIENTS` whatever the line, because the foundation lays that
|
|
232
|
+
* structure down and the clients' people become the application's users. Any other secondary line changes the
|
|
233
|
+
* application's content, not its arrangement.
|
|
234
|
+
*
|
|
235
|
+
* It reads the DOSSIER, not the configuration, so it says what the application is meant to be. When a firm feature
|
|
236
|
+
* line is abandoned the dossier goes back to its main line while the configuration keeps the clients it laid down
|
|
237
|
+
* (nothing is removed): a single owner's notice is then addressed to its staff while clients can still sign up. The
|
|
238
|
+
* foundation names that leftover serving relationship as owed, and the notice is right again once it is removed or
|
|
239
|
+
* the line reopened (#2305 review). Deliberate: the arrangement is a decision, and a configuration left behind by an
|
|
240
|
+
* abandoned decision is the thing to fix, not a new decision.
|
|
241
|
+
*/
|
|
242
|
+
export declare function resolveApplicationOrganizationStructure(inputs: ApplicationCreatorInputs | undefined, definitions?: Readonly<Record<string, ApplicationLineDefinition>>): ApplicationOrganizationStructure | undefined;
|
|
137
243
|
/**
|
|
138
244
|
* A SECONDARY LINE: work opened beside the main line in the middle of an application's life (#1608), such as
|
|
139
245
|
* developing one feature or refining what exists. The main line decides what KIND of application it is; a
|
|
140
246
|
* secondary line never changes that. It changes the application's content: a feature line adds elements of
|
|
141
|
-
* its own, and a refinement line re-derives families the application already holds.
|
|
247
|
+
* its own, and a refinement line re-derives families the application already holds. One addition reaches the
|
|
248
|
+
* organizations: a line needing the `service-method` family adds the firm structure beside the line's own
|
|
249
|
+
* arrangement (`describeFirmStructureNeed`, #2305).
|
|
142
250
|
*
|
|
143
251
|
* A secondary line is an opened INSTANCE of its kind's entry composite (#1609): its instance key names the
|
|
144
252
|
* line, and the activation's purpose says what it is for. Its kind is derived from the entry playbook, so it
|
|
@@ -189,7 +297,7 @@ export interface OpenApplicationSecondaryLine {
|
|
|
189
297
|
/** `<entry ref>@<key>`: how runs, rows and answers address this line. */
|
|
190
298
|
readonly instanceId: string;
|
|
191
299
|
readonly purpose: string;
|
|
192
|
-
/** Families the line needs although the main line declares them not applicable; empty when none. */
|
|
300
|
+
/** Families the line needs although the main line declares them not applicable (`service-method` among them, #2305); empty when none. */
|
|
193
301
|
readonly neededFamilies: readonly ApplicationSpecificationFamily[];
|
|
194
302
|
/** The families a refinement line re-derives; empty for a line that names none. */
|
|
195
303
|
readonly refinedFamilies: readonly ApplicationSpecificationFamily[];
|
|
@@ -205,7 +313,8 @@ export declare function isSecondaryLineEntryPlaybook(playbookRef: string): boole
|
|
|
205
313
|
export declare function secondaryLineDefinitionOfEntry(playbookRef: string): ApplicationSecondaryLineDefinition | undefined;
|
|
206
314
|
/**
|
|
207
315
|
* The families the application's secondary lines need although its main line declares them not applicable
|
|
208
|
-
* (#1608): the union over every line that is not ABANDONED.
|
|
316
|
+
* (#1608): the union over every line that is not ABANDONED. Needing `service-method` also adds the firm structure
|
|
317
|
+
* (#2305, `describeFirmStructureNeed`).
|
|
209
318
|
*
|
|
210
319
|
* A COMPLETED line still counts: what it built is part of the product now, and a public website a finished
|
|
211
320
|
* feature added still needs its plan. An ABANDONED line's need lapses with it, and a file it landed is then
|
package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-line.application-creation.schemas.d.ts","sourceRoot":"","sources":["../../../../src/application-creation/application-line.application-creation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAE,MAAM,4DAA4D,CAAC;
|
|
1
|
+
{"version":3,"file":"application-line.application-creation.schemas.d.ts","sourceRoot":"","sources":["../../../../src/application-creation/application-line.application-creation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD,OAAO,EAAE,8BAA8B,EAAE,MAAM,4DAA4D,CAAC;AAE5G,OAAO,EAAyF,KAAK,wBAAwB,EAAE,MAAM,2DAA2D,CAAC;AAGjM;;;;;;;;;;;;;;;;;;GAkBG;AACH,oBAAY,eAAe;IACzB;;;;OAIG;IACH,QAAQ,aAAa;IACrB;;;;;OAKG;IACH,aAAa,kBAAkB;IAC/B;;;;;OAKG;IACH,YAAY,iB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AAS,8BAA8B,EAAE,CAAC;CACrE;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,wBAAwB,GAAG,SAAS,GAAG,SAAS,4BAA4B,EAAE,CAiB/H;AAED,qGAAqG;AACrG,wBAAgB,4BAA4B,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAEzE;AAED,4FAA4F;AAC5F,wBAAgB,8BAA8B,CAAC,WAAW,EAAE,MAAM,GAAG,kCAAkC,GAAG,SAAS,CAElH;AAED;;;;;;;;GAQG;AACH,wBAAgB,kCAAkC,CAAC,MAAM,EAAE,wBAAwB,GAAG,SAAS,GAAG,WAAW,CAAC,8BAA8B,CAAC,CAQ5I"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { EngineCapability } from "@wildo-ai/saas-models";
|
|
1
2
|
import { ApplicationSpecificationFamily } from "../_core/application-specification-family-identity.schemas.js";
|
|
3
|
+
import { DomainPlanTenancyModel } from "../_core/domain-plan/domain-plan-output-set.schemas.js";
|
|
2
4
|
import { ApplicationPlaybookInstanceClosureKind, creatorInputAnswerKey, isPlaybookInstanceOpen } from "./application-creator-inputs.application-creation.schemas.js";
|
|
3
5
|
import { playbookInstanceId } from "./playbook-instance.application-creation.schemas.js";
|
|
4
6
|
/**
|
|
@@ -17,8 +19,8 @@ import { playbookInstanceId } from "./playbook-instance.application-creation.sch
|
|
|
17
19
|
* Secondary lines, opened in the middle of an application's life for a feature or a refinement,
|
|
18
20
|
* are a different concept with their own record (#1608); they never change this value.
|
|
19
21
|
*
|
|
20
|
-
* Members are added with the line they name, and only then
|
|
21
|
-
*
|
|
22
|
+
* Members are added with the line they name, and only then: AI-native service firms arrived as
|
|
23
|
+
* {@link ApplicationLine.SERVICE_FIRM} with the families and playbooks that line adds (#2305).
|
|
22
24
|
*/
|
|
23
25
|
export var ApplicationLine;
|
|
24
26
|
(function (ApplicationLine) {
|
|
@@ -35,7 +37,35 @@ export var ApplicationLine;
|
|
|
35
37
|
* reads its data from systems of record the company already runs.
|
|
36
38
|
*/
|
|
37
39
|
ApplicationLine["INTERNAL_TOOL"] = "internal_tool";
|
|
40
|
+
/**
|
|
41
|
+
* An AI-native service firm's platform (#2305): the firm operates it and serves its clients through it — their cases
|
|
42
|
+
* worked by the firm's agents and reviewed by its qualified people. Sold like a B2B SaaS (a market, a business model,
|
|
43
|
+
* a brand, a website all apply, and billing per case), and owned like an internal tool (the firm is the one
|
|
44
|
+
* organization that runs it, and reads its own systems of record).
|
|
45
|
+
*/
|
|
46
|
+
ApplicationLine["SERVICE_FIRM"] = "service_firm";
|
|
38
47
|
})(ApplicationLine || (ApplicationLine = {}));
|
|
48
|
+
/**
|
|
49
|
+
* How an application's organizations are arranged, decided by its line (#1605, #2305). Read by the foundation and by
|
|
50
|
+
* the framework blueprint of the line (`wildo/<line>`), so one value says what both lay down.
|
|
51
|
+
*
|
|
52
|
+
* It is the arrangement a line STARTS with, not an exclusive one (#2968). The arrangements combine where the engine
|
|
53
|
+
* allows it: a B2B SaaS whose vendor also serves some customers keeps its customer tenants and gains an owner type and
|
|
54
|
+
* a `service` relationship, laid down beside them (`layDownOperatorWithClients` in the creation runtime). What the
|
|
55
|
+
* configuration declares is the application's arrangement; this value is what its line asks for.
|
|
56
|
+
*/
|
|
57
|
+
export var ApplicationOrganizationStructure;
|
|
58
|
+
(function (ApplicationOrganizationStructure) {
|
|
59
|
+
/** Each customer organization is its own tenant and none owns the product: the base's single `workspace` type. */
|
|
60
|
+
ApplicationOrganizationStructure["CUSTOMER_TENANTS"] = "customer_tenants";
|
|
61
|
+
/** One organization owns the application and its members are the users: the single type marked `ownsApplication`. */
|
|
62
|
+
ApplicationOrganizationStructure["SINGLE_OWNER"] = "single_owner";
|
|
63
|
+
/**
|
|
64
|
+
* An OPERATOR organization owns the application and serves CLIENT organizations, which sign up on their own, linked by
|
|
65
|
+
* a `service` relationship in which the operator represents and the client grants (the shape Wonder Ledger runs).
|
|
66
|
+
*/
|
|
67
|
+
ApplicationOrganizationStructure["OPERATOR_WITH_CLIENTS"] = "operator_with_clients";
|
|
68
|
+
})(ApplicationOrganizationStructure || (ApplicationOrganizationStructure = {}));
|
|
39
69
|
/**
|
|
40
70
|
* Every line's definition, keyed by the vocabulary, so a member added to {@link ApplicationLine}
|
|
41
71
|
* without a definition does not compile.
|
|
@@ -55,9 +85,17 @@ export const APPLICATION_LINE_DEFINITIONS = {
|
|
|
55
85
|
* market, so it runs capability-map, which drafts the features AND wires each benefit to them.
|
|
56
86
|
*/
|
|
57
87
|
excludedPlaybookRefs: ["top_down.feature-drafts"],
|
|
58
|
-
|
|
88
|
+
/*
|
|
89
|
+
* A firm's method is a service firm's (#2305). A B2B SaaS that turns out to need one (its market asks for cases
|
|
90
|
+
* worked by agents and qualified people) opens a feature line needing it, which brings the family back and lays
|
|
91
|
+
* the firm structure down (`describeFirmStructureNeed`): the blueprint is a starting point (Paul, D3).
|
|
92
|
+
*/
|
|
93
|
+
notApplicableFamilies: [ApplicationSpecificationFamily.SERVICE_METHOD],
|
|
59
94
|
// Sold to other businesses: each customer is its own tenant, and no single organization owns the product.
|
|
60
|
-
|
|
95
|
+
organizationStructure: ApplicationOrganizationStructure.CUSTOMER_TENANTS,
|
|
96
|
+
excludedEngineCapabilities: [],
|
|
97
|
+
// Whether customers work together is the product's decision, asked in the domain plan.
|
|
98
|
+
decidedAnswers: [],
|
|
61
99
|
},
|
|
62
100
|
[ApplicationLine.INTERNAL_TOOL]: {
|
|
63
101
|
line: ApplicationLine.INTERNAL_TOOL,
|
|
@@ -78,8 +116,30 @@ export const APPLICATION_LINE_DEFINITIONS = {
|
|
|
78
116
|
// No brand, so no name to screen: the naming lane leaves the line with the brand it names.
|
|
79
117
|
ApplicationSpecificationFamily.BRAND_NAME_SCREENING,
|
|
80
118
|
ApplicationSpecificationFamily.WEBSITE_PLAN,
|
|
119
|
+
// A firm's method, brought back by a feature line that needs one, as on the B2B line (#2305).
|
|
120
|
+
ApplicationSpecificationFamily.SERVICE_METHOD,
|
|
81
121
|
],
|
|
82
|
-
|
|
122
|
+
organizationStructure: ApplicationOrganizationStructure.SINGLE_OWNER,
|
|
123
|
+
// The company does not charge its own people for the tool it built for them.
|
|
124
|
+
excludedEngineCapabilities: [EngineCapability.BILLING],
|
|
125
|
+
// Its data belongs to the organization that owns it: organization-scoped, so ORGANIZATIONS is on (decided in #1605).
|
|
126
|
+
decidedAnswers: [{ playbookRef: "bottom_up.domain-plan", questionRef: "tenancy", value: DomainPlanTenancyModel.ORGANIZATIONS }],
|
|
127
|
+
},
|
|
128
|
+
[ApplicationLine.SERVICE_FIRM]: {
|
|
129
|
+
line: ApplicationLine.SERVICE_FIRM,
|
|
130
|
+
rootPlaybookRef: "cross_cutting.application-creation",
|
|
131
|
+
/*
|
|
132
|
+
* The B2B tree: a firm sells its service, so the market, the business model, the brand and the website apply, and
|
|
133
|
+
* capability-map drafts the features with their benefits. The firm's method, its decision points and signatories, is
|
|
134
|
+
* this line's own family: `top_down.service-method` writes it down (#2305), and the other lines leave it out.
|
|
135
|
+
*/
|
|
136
|
+
excludedPlaybookRefs: ["top_down.feature-drafts"],
|
|
137
|
+
notApplicableFamilies: [],
|
|
138
|
+
organizationStructure: ApplicationOrganizationStructure.OPERATOR_WITH_CLIENTS,
|
|
139
|
+
// A firm charges its clients (per case, typically): billing is the business model's to decide, as on a B2B SaaS.
|
|
140
|
+
excludedEngineCapabilities: [],
|
|
141
|
+
// The firm and its clients are organizations: organization-scoped, so ORGANIZATIONS is on.
|
|
142
|
+
decidedAnswers: [{ playbookRef: "bottom_up.domain-plan", questionRef: "tenancy", value: DomainPlanTenancyModel.ORGANIZATIONS }],
|
|
83
143
|
},
|
|
84
144
|
};
|
|
85
145
|
/**
|
|
@@ -138,6 +198,36 @@ export function resolveApplicationLineDeclaration(inputs) {
|
|
|
138
198
|
? { state: ApplicationLineDeclarationState.DECLARED, line: answer.value }
|
|
139
199
|
: { state: ApplicationLineDeclarationState.UNRECOGNIZED, value: answer.value };
|
|
140
200
|
}
|
|
201
|
+
/**
|
|
202
|
+
* The engine capabilities this application never has, from its MAIN line (#1605). Empty while no line is declared:
|
|
203
|
+
* nothing can be excluded before the kind of application is known. A secondary line changes the application's content,
|
|
204
|
+
* never its kind, so it does not widen or narrow this set.
|
|
205
|
+
*/
|
|
206
|
+
export function resolveExcludedEngineCapabilities(inputs, definitions = APPLICATION_LINE_DEFINITIONS) {
|
|
207
|
+
const declaration = resolveApplicationLineDeclaration(inputs);
|
|
208
|
+
if (declaration.state !== ApplicationLineDeclarationState.DECLARED)
|
|
209
|
+
return new Set();
|
|
210
|
+
return new Set(definitions[declaration.line].excludedEngineCapabilities);
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* The interview answers this application's MAIN line gives (#1605), or none while no line is declared. A secondary line
|
|
214
|
+
* changes the application's content, not its kind, with ONE exception that follows from the arrangement rather than
|
|
215
|
+
* the line: when a feature line needs the firm's method, the application is arranged as an operator serving its clients
|
|
216
|
+
* whatever its main line ({@link describeFirmStructureNeed}), and that arrangement is organizations, so the tenancy the
|
|
217
|
+
* service-firm line decides is decided here too (#2305 review). Without it the structure was laid down while the domain
|
|
218
|
+
* plan could still be user-scoped.
|
|
219
|
+
*/
|
|
220
|
+
export function resolveLineDecidedAnswers(inputs, definitions = APPLICATION_LINE_DEFINITIONS) {
|
|
221
|
+
const declaration = resolveApplicationLineDeclaration(inputs);
|
|
222
|
+
if (declaration.state !== ApplicationLineDeclarationState.DECLARED)
|
|
223
|
+
return [];
|
|
224
|
+
const lineAnswers = definitions[declaration.line].decidedAnswers;
|
|
225
|
+
if (declaration.line === ApplicationLine.SERVICE_FIRM || describeFirmStructureNeed(inputs) === undefined)
|
|
226
|
+
return lineAnswers;
|
|
227
|
+
const firmAnswers = definitions[ApplicationLine.SERVICE_FIRM]?.decidedAnswers ?? [];
|
|
228
|
+
const decidedByFirm = (answer) => firmAnswers.some((firm) => firm.playbookRef === answer.playbookRef && firm.questionRef === answer.questionRef);
|
|
229
|
+
return [...lineAnswers.filter((answer) => !decidedByFirm(answer)), ...firmAnswers];
|
|
230
|
+
}
|
|
141
231
|
/**
|
|
142
232
|
* The specification families that do not apply to this application, read from its dossier (#1604).
|
|
143
233
|
* Empty while no line is declared: nothing can be said not to apply before the kind of application is
|
|
@@ -155,11 +245,53 @@ export function resolveNotApplicableFamilies(inputs, definitions = APPLICATION_L
|
|
|
155
245
|
const needed = resolveSecondaryLineNeededFamilies(inputs);
|
|
156
246
|
return new Set(definitions[declaration.line].notApplicableFamilies.filter((family) => !needed.has(family)));
|
|
157
247
|
}
|
|
248
|
+
/**
|
|
249
|
+
* Why this application serves clients as a firm although its main line may not say so (#2305, Paul's D3), or
|
|
250
|
+
* `undefined` when nothing says it does.
|
|
251
|
+
*
|
|
252
|
+
* A blueprint is a starting point, not a cage: a B2B SaaS whose market turns out to need a firm's work, or an internal
|
|
253
|
+
* tool that starts working cases for others, opens a secondary line that needs the `service-method` family, which those
|
|
254
|
+
* lines declare not applicable and the line therefore brings back. That need
|
|
255
|
+
* is the one trigger, and it is read from the DOSSIER (`resolveSecondaryLineNeededFamilies`) because every reader of
|
|
256
|
+
* the arrangement reads the dossier: the foundation that lays the structure down, the privacy notice's audience, the
|
|
257
|
+
* release a composition produces. A second input, such as a landed service method, would let them disagree.
|
|
258
|
+
*/
|
|
259
|
+
export function describeFirmStructureNeed(inputs) {
|
|
260
|
+
if (!resolveSecondaryLineNeededFamilies(inputs).has(ApplicationSpecificationFamily.SERVICE_METHOD))
|
|
261
|
+
return undefined;
|
|
262
|
+
return "A secondary line needs its service method, so an operator serves its clients through a service relationship.";
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* How this application's organizations are arranged (#1649), or `undefined` while no line is declared (or the declared
|
|
266
|
+
* value is no longer a line) and nothing makes it a firm. The arrangement, not the line's name, is what readers key on:
|
|
267
|
+
* the privacy notice's audience follows from whether one organization owns the application
|
|
268
|
+
* (`ApplicationOrganizationStructure.SINGLE_OWNER`), so a future line with that arrangement inherits the answer.
|
|
269
|
+
*
|
|
270
|
+
* The MAIN line decides it, with one exception (#2305): when a secondary line needs the firm's method
|
|
271
|
+
* ({@link describeFirmStructureNeed}), it is `OPERATOR_WITH_CLIENTS` whatever the line, because the foundation lays that
|
|
272
|
+
* structure down and the clients' people become the application's users. Any other secondary line changes the
|
|
273
|
+
* application's content, not its arrangement.
|
|
274
|
+
*
|
|
275
|
+
* It reads the DOSSIER, not the configuration, so it says what the application is meant to be. When a firm feature
|
|
276
|
+
* line is abandoned the dossier goes back to its main line while the configuration keeps the clients it laid down
|
|
277
|
+
* (nothing is removed): a single owner's notice is then addressed to its staff while clients can still sign up. The
|
|
278
|
+
* foundation names that leftover serving relationship as owed, and the notice is right again once it is removed or
|
|
279
|
+
* the line reopened (#2305 review). Deliberate: the arrangement is a decision, and a configuration left behind by an
|
|
280
|
+
* abandoned decision is the thing to fix, not a new decision.
|
|
281
|
+
*/
|
|
282
|
+
export function resolveApplicationOrganizationStructure(inputs, definitions = APPLICATION_LINE_DEFINITIONS) {
|
|
283
|
+
if (describeFirmStructureNeed(inputs) !== undefined)
|
|
284
|
+
return ApplicationOrganizationStructure.OPERATOR_WITH_CLIENTS;
|
|
285
|
+
const declaration = resolveApplicationLineDeclaration(inputs);
|
|
286
|
+
return declaration.state === ApplicationLineDeclarationState.DECLARED ? definitions[declaration.line].organizationStructure : undefined;
|
|
287
|
+
}
|
|
158
288
|
/**
|
|
159
289
|
* A SECONDARY LINE: work opened beside the main line in the middle of an application's life (#1608), such as
|
|
160
290
|
* developing one feature or refining what exists. The main line decides what KIND of application it is; a
|
|
161
291
|
* secondary line never changes that. It changes the application's content: a feature line adds elements of
|
|
162
|
-
* its own, and a refinement line re-derives families the application already holds.
|
|
292
|
+
* its own, and a refinement line re-derives families the application already holds. One addition reaches the
|
|
293
|
+
* organizations: a line needing the `service-method` family adds the firm structure beside the line's own
|
|
294
|
+
* arrangement (`describeFirmStructureNeed`, #2305).
|
|
163
295
|
*
|
|
164
296
|
* A secondary line is an opened INSTANCE of its kind's entry composite (#1609): its instance key names the
|
|
165
297
|
* line, and the activation's purpose says what it is for. Its kind is derived from the entry playbook, so it
|
|
@@ -234,7 +366,8 @@ export function secondaryLineDefinitionOfEntry(playbookRef) {
|
|
|
234
366
|
}
|
|
235
367
|
/**
|
|
236
368
|
* The families the application's secondary lines need although its main line declares them not applicable
|
|
237
|
-
* (#1608): the union over every line that is not ABANDONED.
|
|
369
|
+
* (#1608): the union over every line that is not ABANDONED. Needing `service-method` also adds the firm structure
|
|
370
|
+
* (#2305, `describeFirmStructureNeed`).
|
|
238
371
|
*
|
|
239
372
|
* A COMPLETED line still counts: what it built is part of the product now, and a public website a finished
|
|
240
373
|
* feature added still needs its plan. An ABANDONED line's need lapses with it, and a file it landed is then
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-line.application-creation.schemas.js","sourceRoot":"","sources":["../../../../src/application-creation/application-line.application-creation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAE,MAAM,4DAA4D,CAAC;AAC5G,OAAO,EAAE,sCAAsC,EAAE,qBAAqB,EAAE,sBAAsB,EAAiC,MAAM,2DAA2D,CAAC;AACjM,OAAO,EAAE,kBAAkB,EAAE,MAAM,kDAAkD,CAAC;AAEtF;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAN,IAAY,eAcX;AAdD,WAAY,eAAe;IACzB;;;;OAIG;IACH,wCAAqB,CAAA;IACrB;;;;;OAKG;IACH,kDAA+B,CAAA;AACjC,CAAC,EAdW,eAAe,KAAf,eAAe,QAc1B;AAgCD;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAiE;IACxG,CAAC,eAAe,CAAC,QAAQ,CAAC,EAAE;QAC1B,IAAI,EAAE,eAAe,CAAC,QAAQ;QAC9B,eAAe,EAAE,oCAAoC;QACrD;;;WAGG;QACH,oBAAoB,EAAE,CAAC,yBAAyB,CAAC;QACjD,qBAAqB,EAA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C,GAAG,CAAC,MAAM,CAAC,CAAC;IAC3E,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC","sourcesContent":["import { ApplicationSpecificationFamily } from \"../_core/application-specification-family-identity.schemas\";\nimport { ApplicationPlaybookInstanceClosureKind, creatorInputAnswerKey, isPlaybookInstanceOpen, type ApplicationCreatorInputs } from \"./application-creator-inputs.application-creation.schemas\";\nimport { playbookInstanceId } from \"./playbook-instance.application-creation.schemas\";\n\n/**\n * The kind of application being created: its MAIN LINE (epic #1602, #1603).\n *\n * App creation is not a B2B SaaS pipeline. It serves several lines of application, and not every\n * playbook applies to every line: an internal tool has no marketing website and needs no market\n * analysis. The line an application is created on decides which playbooks it may run, and which\n * specification families do not apply to it at all.\n *\n * An application has exactly ONE main line at a time (Paul, 2026-09-25). The CREATOR chooses it,\n * as a typed answer in the first playbook's interview ({@link APPLICATION_LINE_QUESTION}), and it is\n * changeable deliberately by answering again. The model never proposes it: a line inferred from a\n * vision would be a guess recorded as a decision.\n *\n * Secondary lines, opened in the middle of an application's life for a feature or a refinement,\n * are a different concept with their own record (#1608); they never change this value.\n *\n * Members are added with the line they name, and only then. AI-native service companies come later\n * (#1593), with the families and playbooks that line adds.\n */\nexport enum ApplicationLine {\n /**\n * A commercial software product sold to other businesses: a market it competes in, a business model,\n * a brand, usually a public website and documentation. The line every application was created on\n * before lines existed, and its definition reproduces that catalog exactly.\n */\n B2B_SAAS = \"b2b_saas\",\n /**\n * Software a company builds for its own people (#1605): an operating team, not a market. No market\n * analysis, business model, brand or public website applies; its users belong to the company that\n * owns the application, which is typically signed in through its own identity provider and often\n * reads its data from systems of record the company already runs.\n */\n INTERNAL_TOOL = \"internal_tool\",\n}\n\n/**\n * What one line admits, declared rather than listed.\n *\n * A line is the tree under its ROOT composite (every playbook its `method.choreography.admits` reach,\n * transitively), minus what it EXCLUDES. Declaring a root instead of enumerating playbooks is what keeps\n * a line correct when the catalog grows: a playbook added to a lane joins every line that admits the\n * lane, rather than joining none until someone remembers each line's list.\n *\n * Excluding a composite excludes the part of the tree reached only through it.\n */\nexport interface ApplicationLineDefinition {\n readonly line: ApplicationLine;\n /** The composite whose tree this line runs. */\n readonly rootPlaybookRef: string;\n /** Playbooks (leaf or composite) this line never runs, even though its root reaches them. */\n readonly excludedPlaybookRefs: readonly string[];\n /**\n * Specification families that do not apply to an application on this line, e.g. the market snapshot\n * of an internal tool. Declared here because it is a fact about the line; read by eligibility once a\n * family can be not applicable (#1604).\n */\n readonly notApplicableFamilies: readonly ApplicationSpecificationFamily[];\n /**\n * Whether an application on this line is OWNED by one organization, whose members are its users\n * (#1605): an internal tool belongs to the company that built it. The foundation declares the\n * application's organization type `ownsApplication` before its first initialization when true.\n */\n readonly ownedByOneOrganization: boolean;\n}\n\n/**\n * Every line's definition, keyed by the vocabulary, so a member added to {@link ApplicationLine}\n * without a definition does not compile.\n *\n * Kept here, beside the vocabulary, rather than as a compiled framework-knowledge artifact kind:\n * a definition is a few declarations that reference playbook refs, the `Record` gives totality for\n * free, and a new artifact kind would need its own generator, loader, allow-list entry and audit\n * rules for data no application ever ships. The catalog references are checked by the runtime's\n * line-scope tests against the real catalog.\n */\nexport const APPLICATION_LINE_DEFINITIONS: Readonly<Record<ApplicationLine, ApplicationLineDefinition>> = {\n [ApplicationLine.B2B_SAAS]: {\n line: ApplicationLine.B2B_SAAS,\n rootPlaybookRef: \"cross_cutting.application-creation\",\n /*\n * The drafts-only variant of capability-map exists for lines with no market (#1604). This line has a\n * market, so it runs capability-map, which drafts the features AND wires each benefit to them.\n */\n excludedPlaybookRefs: [\"top_down.feature-drafts\"],\n notApplicableFamilies: [],\n // Sold to other businesses: each customer is its own tenant, and no single organization owns the product.\n ownedByOneOrganization: false,\n },\n [ApplicationLine.INTERNAL_TOOL]: {\n line: ApplicationLine.INTERNAL_TOOL,\n rootPlaybookRef: \"cross_cutting.application-creation\",\n /*\n * Only what the not-applicable families cannot decide. Capability-map produces the market AND the feature\n * drafts, so it is named; this line drafts its features with top_down.feature-drafts instead. The market\n * lane, the business model, the brand, the value proposition and the website plan leave the line by\n * themselves: everything their trees produce is declared not applicable below. (The market lane was named\n * here until #1608, when the walk learned to read a composite's whole tree; derived, it comes back when a\n * secondary line needs the market snapshot, and a name would have kept it out.)\n */\n excludedPlaybookRefs: [\"top_down.capability-map\"],\n notApplicableFamilies: [\n ApplicationSpecificationFamily.MARKET_SNAPSHOT,\n ApplicationSpecificationFamily.BUSINESS_MODEL,\n ApplicationSpecificationFamily.BRAND_BRIEF,\n // No brand, so no name to screen: the naming lane leaves the line with the brand it names.\n ApplicationSpecificationFamily.BRAND_NAME_SCREENING,\n ApplicationSpecificationFamily.WEBSITE_PLAN,\n ],\n ownedByOneOrganization: true,\n },\n};\n\n/**\n * Where the creator's choice of line is asked and recorded: one CHOICE question of the ENTRY\n * playbook, whose options are the {@link ApplicationLine} values.\n *\n * The entry playbook belongs to no line, so an application with no line yet can still run it; it is\n * the playbook in which the line gets declared.\n */\nexport const APPLICATION_LINE_QUESTION: { readonly playbookRef: string; readonly questionRef: string } = {\n playbookRef: \"top_down.vision-elicitation\",\n questionRef: \"application-line\",\n};\n\n/** Whether an application has declared its main line, and what the dossier says if it cannot be read as one. */\nexport enum ApplicationLineDeclarationState {\n /** The dossier answers the line question with an {@link ApplicationLine} value. */\n DECLARED = \"declared\",\n /** The line question has no answer yet: the application has not been told what it is. */\n UNDECLARED = \"undeclared\",\n /**\n * The dossier answers the line question with a value that is not a line, e.g. one a later release\n * removed. Kept apart from UNDECLARED because the remedy differs: the creator answered, and the answer\n * no longer means anything.\n */\n UNRECOGNIZED = \"unrecognized\",\n}\n\n/**\n * Why a playbook is, or is not, in the application's ACTIVE SET (#1607): the playbooks its line lets it run.\n *\n * DERIVED on every read from the line and the catalog, never stored: growth inside a line is eligibility\n * over the line's tree, and a record of it would be bookkeeping (`one-source-of-truth.md`). Whether an\n * active playbook may run RIGHT NOW is a separate answer, the eligibility board's; this one says whether\n * the application runs it at all, and why not.\n */\nexport enum PlaybookActivationStatus {\n /** In the tree of the application's line: it runs whenever its preconditions hold. */\n ACTIVE = \"active\",\n /** The line does not run it: excluded by name, or not reached from the line's root. */\n OUTSIDE_LINE = \"outside_line\",\n /** Everything it produces is a family the line declares not applicable, so there is nothing for it to do. */\n NOT_APPLICABLE = \"not_applicable\",\n /** No line is declared yet: only the entry playbook, and the composites that reach it, run until then. */\n AWAITING_LINE = \"awaiting_line\",\n}\n\nexport type ApplicationLineDeclaration =\n | { readonly state: ApplicationLineDeclarationState.DECLARED; readonly line: ApplicationLine }\n | { readonly state: ApplicationLineDeclarationState.UNDECLARED }\n | { readonly state: ApplicationLineDeclarationState.UNRECOGNIZED; readonly value: string };\n\nconst APPLICATION_LINE_VALUES: ReadonlySet<string> = new Set(Object.values(ApplicationLine));\n\n/** Read the application's main line from its dossier. Pure; the dossier is the only place the line lives. */\nexport function resolveApplicationLineDeclaration(inputs: ApplicationCreatorInputs | undefined): ApplicationLineDeclaration {\n const key = creatorInputAnswerKey(APPLICATION_LINE_QUESTION.playbookRef, APPLICATION_LINE_QUESTION.questionRef);\n // The line is the DEFAULT instance's answer (#1609): an instance of the entry playbook never re-declares it.\n const answer = (inputs?.answers ?? []).find((candidate) => creatorInputAnswerKey(candidate.playbookRef, candidate.questionRef, candidate.instanceKey) === key);\n if (answer === undefined) return { state: ApplicationLineDeclarationState.UNDECLARED };\n return APPLICATION_LINE_VALUES.has(answer.value)\n ? { state: ApplicationLineDeclarationState.DECLARED, line: answer.value as ApplicationLine }\n : { state: ApplicationLineDeclarationState.UNRECOGNIZED, value: answer.value };\n}\n\n/**\n * The specification families that do not apply to this application, read from its dossier (#1604).\n * Empty while no line is declared: nothing can be said not to apply before the kind of application is\n * known. One resolution for every reader that sees only the application's exports, such as the expert\n * charter derivation, so none of them re-derives the line.\n */\nexport function resolveNotApplicableFamilies(\n inputs: ApplicationCreatorInputs | undefined,\n definitions: Readonly<Record<string, ApplicationLineDefinition>> = APPLICATION_LINE_DEFINITIONS,\n): ReadonlySet<string> {\n const declaration = resolveApplicationLineDeclaration(inputs);\n if (declaration.state !== ApplicationLineDeclarationState.DECLARED) return new Set<string>();\n /*\n * Over the UNION of the lines (#1608): a family the main line declares not applicable applies again while\n * a secondary line needs it. The one computation of applicability: the run scope reads this function too.\n */\n const needed = resolveSecondaryLineNeededFamilies(inputs);\n return new Set<string>(definitions[declaration.line]!.notApplicableFamilies.filter((family) => !needed.has(family)));\n}\n\n/**\n * A SECONDARY LINE: work opened beside the main line in the middle of an application's life (#1608), such as\n * developing one feature or refining what exists. The main line decides what KIND of application it is; a\n * secondary line never changes that. It changes the application's content: a feature line adds elements of\n * its own, and a refinement line re-derives families the application already holds.\n *\n * A secondary line is an opened INSTANCE of its kind's entry composite (#1609): its instance key names the\n * line, and the activation's purpose says what it is for. Its kind is derived from the entry playbook, so it\n * has no record of its own beside the activation, which is committed the moment it is opened.\n *\n * Members are added with the line they name, and only then (the same rule as {@link ApplicationLine}).\n */\nexport enum ApplicationSecondaryLine {\n /**\n * Develop one feature through the product model: the feature lands as elements of the requirements and\n * the feature drafts, contributed by this line, and the domain plan and build decomposition re-derive\n * from them before the feature is built. The alternative, appending a build task, stays the shortcut for\n * a small code change.\n */\n FEATURE_DEVELOPMENT = \"feature_development\",\n /**\n * Refine one or more families the application already holds, in place (#1608): the requirements, the\n * experience plan, the value proposition. The main line re-derives a family only when it is missing or\n * stale, so without this line nothing re-derives a landed family on purpose. The line re-runs each named\n * family's producer on its own prior output, guided by the line's purpose, then refreshes what that made\n * stale and builds it. It adds no elements of its own: every child runs as the application.\n */\n REFINEMENT = \"refinement\",\n}\n\n/** What one kind of secondary line runs, and what it may add to. */\nexport interface ApplicationSecondaryLineDefinition {\n readonly line: ApplicationSecondaryLine;\n /** The composite an instance of which IS a line of this kind. It belongs to no main line's tree. */\n readonly entryPlaybookRef: string;\n /**\n * The families this line adds ELEMENTS to, each element stamped with the line. It never replaces a family\n * the main line holds: a whole-file landing from a line would overwrite the main line's content.\n */\n readonly contributesToFamilies: readonly ApplicationSpecificationFamily[];\n /**\n * Whether an instance of this line NAMES the families it re-derives (`refinedFamilies` on its activation):\n * required when true, refused when false. What the line is FOR is then a typed fact, not only a sentence.\n */\n readonly namesRefinedFamilies: boolean;\n}\n\n/** Every kind's definition; a member added to {@link ApplicationSecondaryLine} without one does not compile. */\nexport const APPLICATION_SECONDARY_LINE_DEFINITIONS: Readonly<Record<ApplicationSecondaryLine, ApplicationSecondaryLineDefinition>> = {\n [ApplicationSecondaryLine.FEATURE_DEVELOPMENT]: {\n line: ApplicationSecondaryLine.FEATURE_DEVELOPMENT,\n entryPlaybookRef: \"cross_cutting.feature-development\",\n contributesToFamilies: [ApplicationSpecificationFamily.REQUIREMENTS, ApplicationSpecificationFamily.FEATURE_DRAFTS],\n namesRefinedFamilies: false,\n },\n [ApplicationSecondaryLine.REFINEMENT]: {\n line: ApplicationSecondaryLine.REFINEMENT,\n entryPlaybookRef: \"cross_cutting.refinement\",\n // It adds no elements: each family it touches is re-derived whole, as the application.\n contributesToFamilies: [],\n namesRefinedFamilies: true,\n },\n};\n\n/** One secondary line the application has opened, read from its dossier. */\nexport interface OpenApplicationSecondaryLine {\n readonly line: ApplicationSecondaryLine;\n /** The line's name: the instance key of its entry composite. */\n readonly instanceKey: string;\n /** `<entry ref>@<key>`: how runs, rows and answers address this line. */\n readonly instanceId: string;\n readonly purpose: string;\n /** Families the line needs although the main line declares them not applicable; empty when none. */\n readonly neededFamilies: readonly ApplicationSpecificationFamily[];\n /** The families a refinement line re-derives; empty for a line that names none. */\n readonly refinedFamilies: readonly ApplicationSpecificationFamily[];\n}\n\n/**\n * The secondary lines the application has opened (#1608), derived from the dossier's activations: every\n * opened instance of a secondary-line entry composite. Sorted by instance id, like the activations.\n */\nexport function resolveOpenSecondaryLines(inputs: ApplicationCreatorInputs | undefined): readonly OpenApplicationSecondaryLine[] {\n const lineByEntry = new Map(Object.values(APPLICATION_SECONDARY_LINE_DEFINITIONS).map((definition) => [definition.entryPlaybookRef, definition.line]));\n const open: OpenApplicationSecondaryLine[] = [];\n for (const activation of Object.values(inputs?.activations ?? {})) {\n const line = lineByEntry.get(activation.playbookRef);\n // A closed line is no longer open; what it contributed stays, marked with it.\n if (line === undefined || !isPlaybookInstanceOpen(activation)) continue;\n open.push({\n line,\n instanceKey: activation.instanceKey,\n instanceId: playbookInstanceId(activation.playbookRef, activation.instanceKey),\n purpose: activation.purpose,\n neededFamilies: activation.neededFamilies ?? [],\n refinedFamilies: activation.refinedFamilies ?? [],\n });\n }\n return open.sort((left, right) => left.instanceId.localeCompare(right.instanceId));\n}\n\n/** Whether a playbook is the entry of a secondary line, i.e. whether an instance of it IS a line. */\nexport function isSecondaryLineEntryPlaybook(playbookRef: string): boolean {\n return secondaryLineDefinitionOfEntry(playbookRef) !== undefined;\n}\n\n/** The secondary-line definition whose entry composite this playbook is, or `undefined`. */\nexport function secondaryLineDefinitionOfEntry(playbookRef: string): ApplicationSecondaryLineDefinition | undefined {\n return Object.values(APPLICATION_SECONDARY_LINE_DEFINITIONS).find((definition) => definition.entryPlaybookRef === playbookRef);\n}\n\n/**\n * The families the application's secondary lines need although its main line declares them not applicable\n * (#1608): the union over every line that is not ABANDONED.\n *\n * A COMPLETED line still counts: what it built is part of the product now, and a public website a finished\n * feature added still needs its plan. An ABANDONED line's need lapses with it, and a file it landed is then\n * reported as ignored, never deleted (#1604). An open line counts, of course.\n */\nexport function resolveSecondaryLineNeededFamilies(inputs: ApplicationCreatorInputs | undefined): ReadonlySet<ApplicationSpecificationFamily> {\n const needed = new Set<ApplicationSpecificationFamily>();\n for (const activation of Object.values(inputs?.activations ?? {})) {\n if (!isSecondaryLineEntryPlaybook(activation.playbookRef)) continue;\n if (activation.closure?.kind === ApplicationPlaybookInstanceClosureKind.ABANDONED) continue;\n for (const family of activation.neededFamilies ?? []) needed.add(family);\n }\n return needed;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"application-line.application-creation.schemas.js","sourceRoot":"","sources":["../../../../src/application-creation/application-line.application-cre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AAM,CAAC,CAAC;IAC3E,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC","sourcesContent":["import { EngineCapability } from \"@wildo-ai/saas-models\";\n\nimport { ApplicationSpecificationFamily } from \"../_core/application-specification-family-identity.schemas\";\nimport { DomainPlanTenancyModel } from \"../_core/domain-plan/domain-plan-output-set.schemas\";\nimport { ApplicationPlaybookInstanceClosureKind, creatorInputAnswerKey, isPlaybookInstanceOpen, type ApplicationCreatorInputs } from \"./application-creator-inputs.application-creation.schemas\";\nimport { playbookInstanceId } from \"./playbook-instance.application-creation.schemas\";\n\n/**\n * The kind of application being created: its MAIN LINE (epic #1602, #1603).\n *\n * App creation is not a B2B SaaS pipeline. It serves several lines of application, and not every\n * playbook applies to every line: an internal tool has no marketing website and needs no market\n * analysis. The line an application is created on decides which playbooks it may run, and which\n * specification families do not apply to it at all.\n *\n * An application has exactly ONE main line at a time (Paul, 2026-09-25). The CREATOR chooses it,\n * as a typed answer in the first playbook's interview ({@link APPLICATION_LINE_QUESTION}), and it is\n * changeable deliberately by answering again. The model never proposes it: a line inferred from a\n * vision would be a guess recorded as a decision.\n *\n * Secondary lines, opened in the middle of an application's life for a feature or a refinement,\n * are a different concept with their own record (#1608); they never change this value.\n *\n * Members are added with the line they name, and only then: AI-native service firms arrived as\n * {@link ApplicationLine.SERVICE_FIRM} with the families and playbooks that line adds (#2305).\n */\nexport enum ApplicationLine {\n /**\n * A commercial software product sold to other businesses: a market it competes in, a business model,\n * a brand, usually a public website and documentation. The line every application was created on\n * before lines existed, and its definition reproduces that catalog exactly.\n */\n B2B_SAAS = \"b2b_saas\",\n /**\n * Software a company builds for its own people (#1605): an operating team, not a market. No market\n * analysis, business model, brand or public website applies; its users belong to the company that\n * owns the application, which is typically signed in through its own identity provider and often\n * reads its data from systems of record the company already runs.\n */\n INTERNAL_TOOL = \"internal_tool\",\n /**\n * An AI-native service firm's platform (#2305): the firm operates it and serves its clients through it — their cases\n * worked by the firm's agents and reviewed by its qualified people. Sold like a B2B SaaS (a market, a business model,\n * a brand, a website all apply, and billing per case), and owned like an internal tool (the firm is the one\n * organization that runs it, and reads its own systems of record).\n */\n SERVICE_FIRM = \"service_firm\",\n}\n\n/**\n * How an application's organizations are arranged, decided by its line (#1605, #2305). Read by the foundation and by\n * the framework blueprint of the line (`wildo/<line>`), so one value says what both lay down.\n *\n * It is the arrangement a line STARTS with, not an exclusive one (#2968). The arrangements combine where the engine\n * allows it: a B2B SaaS whose vendor also serves some customers keeps its customer tenants and gains an owner type and\n * a `service` relationship, laid down beside them (`layDownOperatorWithClients` in the creation runtime). What the\n * configuration declares is the application's arrangement; this value is what its line asks for.\n */\nexport enum ApplicationOrganizationStructure {\n /** Each customer organization is its own tenant and none owns the product: the base's single `workspace` type. */\n CUSTOMER_TENANTS = \"customer_tenants\",\n /** One organization owns the application and its members are the users: the single type marked `ownsApplication`. */\n SINGLE_OWNER = \"single_owner\",\n /**\n * An OPERATOR organization owns the application and serves CLIENT organizations, which sign up on their own, linked by\n * a `service` relationship in which the operator represents and the client grants (the shape Wonder Ledger runs).\n */\n OPERATOR_WITH_CLIENTS = \"operator_with_clients\",\n}\n\n/**\n * What one line admits, declared rather than listed.\n *\n * A line is the tree under its ROOT composite (every playbook its `method.choreography.admits` reach,\n * transitively), minus what it EXCLUDES. Declaring a root instead of enumerating playbooks is what keeps\n * a line correct when the catalog grows: a playbook added to a lane joins every line that admits the\n * lane, rather than joining none until someone remembers each line's list.\n *\n * Excluding a composite excludes the part of the tree reached only through it.\n */\nexport interface ApplicationLineDefinition {\n readonly line: ApplicationLine;\n /** The composite whose tree this line runs. */\n readonly rootPlaybookRef: string;\n /** Playbooks (leaf or composite) this line never runs, even though its root reaches them. */\n readonly excludedPlaybookRefs: readonly string[];\n /**\n * Specification families that do not apply to an application on this line, e.g. the market snapshot\n * of an internal tool. Declared here because it is a fact about the line; read by eligibility once a\n * family can be not applicable (#1604).\n */\n readonly notApplicableFamilies: readonly ApplicationSpecificationFamily[];\n /**\n * How the application's organizations are arranged (#1605, #2305): customer tenants, one owner, or an operator serving\n * its clients. The foundation declares an owner before the first initialization for SINGLE_OWNER; for\n * OPERATOR_WITH_CLIENTS it lays the structure down beside the types the configuration declares\n * (`layDownOperatorWithClients`, #2968) and reports owed only what needs the creator's choice; `wildo init --line`\n * lays it down at creation.\n *\n * The line's whole static posture, and read in three places (#2863, #2305): the foundation executor, for an\n * application whose line was chosen in the interview; the blueprint the framework ships for the line (`wildo/<line>`,\n * packed by `wildo fwk generate-blueprints` into `templates/saas/blueprints/`), for one created from it; and\n * {@link resolveApplicationOrganizationStructure}, which every reader of the arrangement goes through (the privacy\n * notice's audience, the companion's document set and briefs) and which a firm feature line can override. Changing it\n * owes a regeneration; the currency test fails until the committed blueprint matches. Billing is {@link excludedEngineCapabilities}, and marketing email is the base's default on every line.\n */\n readonly organizationStructure: ApplicationOrganizationStructure;\n /**\n * Engine capabilities an application on this line NEVER has (#1605): an internal tool has no billing at all (Paul,\n * 2026-10-19). Not \"off by default\": the creator is never asked for a provider for one (its provider question is not\n * applicable on the line), the foundation never derives it, and a configuration that enables it anyway is reported\n * as contradicting the line, MARKED rather than refused (`application-creation-directive.md`).\n *\n * Read through {@link resolveExcludedEngineCapabilities}, the one place the main line is turned into the set.\n */\n readonly excludedEngineCapabilities: readonly EngineCapability[];\n /**\n * Interview answers the LINE gives, so they are never asked (#1605): an internal tool is organization-scoped, its\n * data belonging to the one organization that owns it, so the domain plan's tenancy question is answered by the line.\n * Derived wherever answers are read and never stored, so answering the line question again changes them; the\n * question's choices narrow to the decided value, so an answer contradicting the line is refused. Read through\n * {@link resolveLineDecidedAnswers}.\n */\n readonly decidedAnswers: readonly ApplicationLineDecidedAnswer[];\n}\n\n/** One interview answer a line gives: the question, by its playbook and its own ref, and the value. */\nexport interface ApplicationLineDecidedAnswer {\n readonly playbookRef: string;\n readonly questionRef: string;\n readonly value: string;\n}\n\n/**\n * Every line's definition, keyed by the vocabulary, so a member added to {@link ApplicationLine}\n * without a definition does not compile.\n *\n * Kept here, beside the vocabulary, rather than as a compiled framework-knowledge artifact kind:\n * a definition is a few declarations that reference playbook refs, the `Record` gives totality for\n * free, and a new artifact kind would need its own generator, loader, allow-list entry and audit\n * rules for data no application ever ships. The catalog references are checked by the runtime's\n * line-scope tests against the real catalog.\n */\nexport const APPLICATION_LINE_DEFINITIONS: Readonly<Record<ApplicationLine, ApplicationLineDefinition>> = {\n [ApplicationLine.B2B_SAAS]: {\n line: ApplicationLine.B2B_SAAS,\n rootPlaybookRef: \"cross_cutting.application-creation\",\n /*\n * The drafts-only variant of capability-map exists for lines with no market (#1604). This line has a\n * market, so it runs capability-map, which drafts the features AND wires each benefit to them.\n */\n excludedPlaybookRefs: [\"top_down.feature-drafts\"],\n /*\n * A firm's method is a service firm's (#2305). A B2B SaaS that turns out to need one (its market asks for cases\n * worked by agents and qualified people) opens a feature line needing it, which brings the family back and lays\n * the firm structure down (`describeFirmStructureNeed`): the blueprint is a starting point (Paul, D3).\n */\n notApplicableFamilies: [ApplicationSpecificationFamily.SERVICE_METHOD],\n // Sold to other businesses: each customer is its own tenant, and no single organization owns the product.\n organizationStructure: ApplicationOrganizationStructure.CUSTOMER_TENANTS,\n excludedEngineCapabilities: [],\n // Whether customers work together is the product's decision, asked in the domain plan.\n decidedAnswers: [],\n },\n [ApplicationLine.INTERNAL_TOOL]: {\n line: ApplicationLine.INTERNAL_TOOL,\n rootPlaybookRef: \"cross_cutting.application-creation\",\n /*\n * Only what the not-applicable families cannot decide. Capability-map produces the market AND the feature\n * drafts, so it is named; this line drafts its features with top_down.feature-drafts instead. The market\n * lane, the business model, the brand, the value proposition and the website plan leave the line by\n * themselves: everything their trees produce is declared not applicable below. (The market lane was named\n * here until #1608, when the walk learned to read a composite's whole tree; derived, it comes back when a\n * secondary line needs the market snapshot, and a name would have kept it out.)\n */\n excludedPlaybookRefs: [\"top_down.capability-map\"],\n notApplicableFamilies: [\n ApplicationSpecificationFamily.MARKET_SNAPSHOT,\n ApplicationSpecificationFamily.BUSINESS_MODEL,\n ApplicationSpecificationFamily.BRAND_BRIEF,\n // No brand, so no name to screen: the naming lane leaves the line with the brand it names.\n ApplicationSpecificationFamily.BRAND_NAME_SCREENING,\n ApplicationSpecificationFamily.WEBSITE_PLAN,\n // A firm's method, brought back by a feature line that needs one, as on the B2B line (#2305).\n ApplicationSpecificationFamily.SERVICE_METHOD,\n ],\n organizationStructure: ApplicationOrganizationStructure.SINGLE_OWNER,\n // The company does not charge its own people for the tool it built for them.\n excludedEngineCapabilities: [EngineCapability.BILLING],\n // Its data belongs to the organization that owns it: organization-scoped, so ORGANIZATIONS is on (decided in #1605).\n decidedAnswers: [{ playbookRef: \"bottom_up.domain-plan\", questionRef: \"tenancy\", value: DomainPlanTenancyModel.ORGANIZATIONS }],\n },\n [ApplicationLine.SERVICE_FIRM]: {\n line: ApplicationLine.SERVICE_FIRM,\n rootPlaybookRef: \"cross_cutting.application-creation\",\n /*\n * The B2B tree: a firm sells its service, so the market, the business model, the brand and the website apply, and\n * capability-map drafts the features with their benefits. The firm's method, its decision points and signatories, is\n * this line's own family: `top_down.service-method` writes it down (#2305), and the other lines leave it out.\n */\n excludedPlaybookRefs: [\"top_down.feature-drafts\"],\n notApplicableFamilies: [],\n organizationStructure: ApplicationOrganizationStructure.OPERATOR_WITH_CLIENTS,\n // A firm charges its clients (per case, typically): billing is the business model's to decide, as on a B2B SaaS.\n excludedEngineCapabilities: [],\n // The firm and its clients are organizations: organization-scoped, so ORGANIZATIONS is on.\n decidedAnswers: [{ playbookRef: \"bottom_up.domain-plan\", questionRef: \"tenancy\", value: DomainPlanTenancyModel.ORGANIZATIONS }],\n },\n};\n\n/**\n * Where the creator's choice of line is asked and recorded: one CHOICE question of the ENTRY\n * playbook, whose options are the {@link ApplicationLine} values.\n *\n * The entry playbook belongs to no line, so an application with no line yet can still run it; it is\n * the playbook in which the line gets declared.\n */\nexport const APPLICATION_LINE_QUESTION: { readonly playbookRef: string; readonly questionRef: string } = {\n playbookRef: \"top_down.vision-elicitation\",\n questionRef: \"application-line\",\n};\n\n/** Whether an application has declared its main line, and what the dossier says if it cannot be read as one. */\nexport enum ApplicationLineDeclarationState {\n /** The dossier answers the line question with an {@link ApplicationLine} value. */\n DECLARED = \"declared\",\n /** The line question has no answer yet: the application has not been told what it is. */\n UNDECLARED = \"undeclared\",\n /**\n * The dossier answers the line question with a value that is not a line, e.g. one a later release\n * removed. Kept apart from UNDECLARED because the remedy differs: the creator answered, and the answer\n * no longer means anything.\n */\n UNRECOGNIZED = \"unrecognized\",\n}\n\n/**\n * Why a playbook is, or is not, in the application's ACTIVE SET (#1607): the playbooks its line lets it run.\n *\n * DERIVED on every read from the line and the catalog, never stored: growth inside a line is eligibility\n * over the line's tree, and a record of it would be bookkeeping (`one-source-of-truth.md`). Whether an\n * active playbook may run RIGHT NOW is a separate answer, the eligibility board's; this one says whether\n * the application runs it at all, and why not.\n */\nexport enum PlaybookActivationStatus {\n /** In the tree of the application's line: it runs whenever its preconditions hold. */\n ACTIVE = \"active\",\n /** The line does not run it: excluded by name, or not reached from the line's root. */\n OUTSIDE_LINE = \"outside_line\",\n /** Everything it produces is a family the line declares not applicable, so there is nothing for it to do. */\n NOT_APPLICABLE = \"not_applicable\",\n /** No line is declared yet: only the entry playbook, and the composites that reach it, run until then. */\n AWAITING_LINE = \"awaiting_line\",\n}\n\nexport type ApplicationLineDeclaration =\n | { readonly state: ApplicationLineDeclarationState.DECLARED; readonly line: ApplicationLine }\n | { readonly state: ApplicationLineDeclarationState.UNDECLARED }\n | { readonly state: ApplicationLineDeclarationState.UNRECOGNIZED; readonly value: string };\n\nconst APPLICATION_LINE_VALUES: ReadonlySet<string> = new Set(Object.values(ApplicationLine));\n\n/** Read the application's main line from its dossier. Pure; the dossier is the only place the line lives. */\nexport function resolveApplicationLineDeclaration(inputs: ApplicationCreatorInputs | undefined): ApplicationLineDeclaration {\n const key = creatorInputAnswerKey(APPLICATION_LINE_QUESTION.playbookRef, APPLICATION_LINE_QUESTION.questionRef);\n // The line is the DEFAULT instance's answer (#1609): an instance of the entry playbook never re-declares it.\n const answer = (inputs?.answers ?? []).find((candidate) => creatorInputAnswerKey(candidate.playbookRef, candidate.questionRef, candidate.instanceKey) === key);\n if (answer === undefined) return { state: ApplicationLineDeclarationState.UNDECLARED };\n return APPLICATION_LINE_VALUES.has(answer.value)\n ? { state: ApplicationLineDeclarationState.DECLARED, line: answer.value as ApplicationLine }\n : { state: ApplicationLineDeclarationState.UNRECOGNIZED, value: answer.value };\n}\n\n/**\n * The engine capabilities this application never has, from its MAIN line (#1605). Empty while no line is declared:\n * nothing can be excluded before the kind of application is known. A secondary line changes the application's content,\n * never its kind, so it does not widen or narrow this set.\n */\nexport function resolveExcludedEngineCapabilities(\n inputs: ApplicationCreatorInputs | undefined,\n definitions: Readonly<Record<string, ApplicationLineDefinition>> = APPLICATION_LINE_DEFINITIONS,\n): ReadonlySet<EngineCapability> {\n const declaration = resolveApplicationLineDeclaration(inputs);\n if (declaration.state !== ApplicationLineDeclarationState.DECLARED) return new Set<EngineCapability>();\n return new Set(definitions[declaration.line]!.excludedEngineCapabilities);\n}\n\n/**\n * The interview answers this application's MAIN line gives (#1605), or none while no line is declared. A secondary line\n * changes the application's content, not its kind, with ONE exception that follows from the arrangement rather than\n * the line: when a feature line needs the firm's method, the application is arranged as an operator serving its clients\n * whatever its main line ({@link describeFirmStructureNeed}), and that arrangement is organizations, so the tenancy the\n * service-firm line decides is decided here too (#2305 review). Without it the structure was laid down while the domain\n * plan could still be user-scoped.\n */\nexport function resolveLineDecidedAnswers(\n inputs: ApplicationCreatorInputs | undefined,\n definitions: Readonly<Record<string, ApplicationLineDefinition>> = APPLICATION_LINE_DEFINITIONS,\n): readonly ApplicationLineDecidedAnswer[] {\n const declaration = resolveApplicationLineDeclaration(inputs);\n if (declaration.state !== ApplicationLineDeclarationState.DECLARED) return [];\n const lineAnswers = definitions[declaration.line]!.decidedAnswers;\n if (declaration.line === ApplicationLine.SERVICE_FIRM || describeFirmStructureNeed(inputs) === undefined) return lineAnswers;\n const firmAnswers = definitions[ApplicationLine.SERVICE_FIRM]?.decidedAnswers ?? [];\n const decidedByFirm = (answer: ApplicationLineDecidedAnswer): boolean => firmAnswers.some((firm) => firm.playbookRef === answer.playbookRef && firm.questionRef === answer.questionRef);\n return [...lineAnswers.filter((answer) => !decidedByFirm(answer)), ...firmAnswers];\n}\n\n/**\n * The specification families that do not apply to this application, read from its dossier (#1604).\n * Empty while no line is declared: nothing can be said not to apply before the kind of application is\n * known. One resolution for every reader that sees only the application's exports, such as the expert\n * charter derivation, so none of them re-derives the line.\n */\nexport function resolveNotApplicableFamilies(\n inputs: ApplicationCreatorInputs | undefined,\n definitions: Readonly<Record<string, ApplicationLineDefinition>> = APPLICATION_LINE_DEFINITIONS,\n): ReadonlySet<string> {\n const declaration = resolveApplicationLineDeclaration(inputs);\n if (declaration.state !== ApplicationLineDeclarationState.DECLARED) return new Set<string>();\n /*\n * Over the UNION of the lines (#1608): a family the main line declares not applicable applies again while\n * a secondary line needs it. The one computation of applicability: the run scope reads this function too.\n */\n const needed = resolveSecondaryLineNeededFamilies(inputs);\n return new Set<string>(definitions[declaration.line]!.notApplicableFamilies.filter((family) => !needed.has(family)));\n}\n\n/**\n * Why this application serves clients as a firm although its main line may not say so (#2305, Paul's D3), or\n * `undefined` when nothing says it does.\n *\n * A blueprint is a starting point, not a cage: a B2B SaaS whose market turns out to need a firm's work, or an internal\n * tool that starts working cases for others, opens a secondary line that needs the `service-method` family, which those\n * lines declare not applicable and the line therefore brings back. That need\n * is the one trigger, and it is read from the DOSSIER (`resolveSecondaryLineNeededFamilies`) because every reader of\n * the arrangement reads the dossier: the foundation that lays the structure down, the privacy notice's audience, the\n * release a composition produces. A second input, such as a landed service method, would let them disagree.\n */\nexport function describeFirmStructureNeed(inputs: ApplicationCreatorInputs | undefined): string | undefined {\n if (!resolveSecondaryLineNeededFamilies(inputs).has(ApplicationSpecificationFamily.SERVICE_METHOD)) return undefined;\n return \"A secondary line needs its service method, so an operator serves its clients through a service relationship.\";\n}\n\n/**\n * How this application's organizations are arranged (#1649), or `undefined` while no line is declared (or the declared\n * value is no longer a line) and nothing makes it a firm. The arrangement, not the line's name, is what readers key on:\n * the privacy notice's audience follows from whether one organization owns the application\n * (`ApplicationOrganizationStructure.SINGLE_OWNER`), so a future line with that arrangement inherits the answer.\n *\n * The MAIN line decides it, with one exception (#2305): when a secondary line needs the firm's method\n * ({@link describeFirmStructureNeed}), it is `OPERATOR_WITH_CLIENTS` whatever the line, because the foundation lays that\n * structure down and the clients' people become the application's users. Any other secondary line changes the\n * application's content, not its arrangement.\n *\n * It reads the DOSSIER, not the configuration, so it says what the application is meant to be. When a firm feature\n * line is abandoned the dossier goes back to its main line while the configuration keeps the clients it laid down\n * (nothing is removed): a single owner's notice is then addressed to its staff while clients can still sign up. The\n * foundation names that leftover serving relationship as owed, and the notice is right again once it is removed or\n * the line reopened (#2305 review). Deliberate: the arrangement is a decision, and a configuration left behind by an\n * abandoned decision is the thing to fix, not a new decision.\n */\nexport function resolveApplicationOrganizationStructure(\n inputs: ApplicationCreatorInputs | undefined,\n definitions: Readonly<Record<string, ApplicationLineDefinition>> = APPLICATION_LINE_DEFINITIONS,\n): ApplicationOrganizationStructure | undefined {\n if (describeFirmStructureNeed(inputs) !== undefined) return ApplicationOrganizationStructure.OPERATOR_WITH_CLIENTS;\n const declaration = resolveApplicationLineDeclaration(inputs);\n return declaration.state === ApplicationLineDeclarationState.DECLARED ? definitions[declaration.line]!.organizationStructure : undefined;\n}\n\n/**\n * A SECONDARY LINE: work opened beside the main line in the middle of an application's life (#1608), such as\n * developing one feature or refining what exists. The main line decides what KIND of application it is; a\n * secondary line never changes that. It changes the application's content: a feature line adds elements of\n * its own, and a refinement line re-derives families the application already holds. One addition reaches the\n * organizations: a line needing the `service-method` family adds the firm structure beside the line's own\n * arrangement (`describeFirmStructureNeed`, #2305).\n *\n * A secondary line is an opened INSTANCE of its kind's entry composite (#1609): its instance key names the\n * line, and the activation's purpose says what it is for. Its kind is derived from the entry playbook, so it\n * has no record of its own beside the activation, which is committed the moment it is opened.\n *\n * Members are added with the line they name, and only then (the same rule as {@link ApplicationLine}).\n */\nexport enum ApplicationSecondaryLine {\n /**\n * Develop one feature through the product model: the feature lands as elements of the requirements and\n * the feature drafts, contributed by this line, and the domain plan and build decomposition re-derive\n * from them before the feature is built. The alternative, appending a build task, stays the shortcut for\n * a small code change.\n */\n FEATURE_DEVELOPMENT = \"feature_development\",\n /**\n * Refine one or more families the application already holds, in place (#1608): the requirements, the\n * experience plan, the value proposition. The main line re-derives a family only when it is missing or\n * stale, so without this line nothing re-derives a landed family on purpose. The line re-runs each named\n * family's producer on its own prior output, guided by the line's purpose, then refreshes what that made\n * stale and builds it. It adds no elements of its own: every child runs as the application.\n */\n REFINEMENT = \"refinement\",\n}\n\n/** What one kind of secondary line runs, and what it may add to. */\nexport interface ApplicationSecondaryLineDefinition {\n readonly line: ApplicationSecondaryLine;\n /** The composite an instance of which IS a line of this kind. It belongs to no main line's tree. */\n readonly entryPlaybookRef: string;\n /**\n * The families this line adds ELEMENTS to, each element stamped with the line. It never replaces a family\n * the main line holds: a whole-file landing from a line would overwrite the main line's content.\n */\n readonly contributesToFamilies: readonly ApplicationSpecificationFamily[];\n /**\n * Whether an instance of this line NAMES the families it re-derives (`refinedFamilies` on its activation):\n * required when true, refused when false. What the line is FOR is then a typed fact, not only a sentence.\n */\n readonly namesRefinedFamilies: boolean;\n}\n\n/** Every kind's definition; a member added to {@link ApplicationSecondaryLine} without one does not compile. */\nexport const APPLICATION_SECONDARY_LINE_DEFINITIONS: Readonly<Record<ApplicationSecondaryLine, ApplicationSecondaryLineDefinition>> = {\n [ApplicationSecondaryLine.FEATURE_DEVELOPMENT]: {\n line: ApplicationSecondaryLine.FEATURE_DEVELOPMENT,\n entryPlaybookRef: \"cross_cutting.feature-development\",\n contributesToFamilies: [ApplicationSpecificationFamily.REQUIREMENTS, ApplicationSpecificationFamily.FEATURE_DRAFTS],\n namesRefinedFamilies: false,\n },\n [ApplicationSecondaryLine.REFINEMENT]: {\n line: ApplicationSecondaryLine.REFINEMENT,\n entryPlaybookRef: \"cross_cutting.refinement\",\n // It adds no elements: each family it touches is re-derived whole, as the application.\n contributesToFamilies: [],\n namesRefinedFamilies: true,\n },\n};\n\n/** One secondary line the application has opened, read from its dossier. */\nexport interface OpenApplicationSecondaryLine {\n readonly line: ApplicationSecondaryLine;\n /** The line's name: the instance key of its entry composite. */\n readonly instanceKey: string;\n /** `<entry ref>@<key>`: how runs, rows and answers address this line. */\n readonly instanceId: string;\n readonly purpose: string;\n /** Families the line needs although the main line declares them not applicable (`service-method` among them, #2305); empty when none. */\n readonly neededFamilies: readonly ApplicationSpecificationFamily[];\n /** The families a refinement line re-derives; empty for a line that names none. */\n readonly refinedFamilies: readonly ApplicationSpecificationFamily[];\n}\n\n/**\n * The secondary lines the application has opened (#1608), derived from the dossier's activations: every\n * opened instance of a secondary-line entry composite. Sorted by instance id, like the activations.\n */\nexport function resolveOpenSecondaryLines(inputs: ApplicationCreatorInputs | undefined): readonly OpenApplicationSecondaryLine[] {\n const lineByEntry = new Map(Object.values(APPLICATION_SECONDARY_LINE_DEFINITIONS).map((definition) => [definition.entryPlaybookRef, definition.line]));\n const open: OpenApplicationSecondaryLine[] = [];\n for (const activation of Object.values(inputs?.activations ?? {})) {\n const line = lineByEntry.get(activation.playbookRef);\n // A closed line is no longer open; what it contributed stays, marked with it.\n if (line === undefined || !isPlaybookInstanceOpen(activation)) continue;\n open.push({\n line,\n instanceKey: activation.instanceKey,\n instanceId: playbookInstanceId(activation.playbookRef, activation.instanceKey),\n purpose: activation.purpose,\n neededFamilies: activation.neededFamilies ?? [],\n refinedFamilies: activation.refinedFamilies ?? [],\n });\n }\n return open.sort((left, right) => left.instanceId.localeCompare(right.instanceId));\n}\n\n/** Whether a playbook is the entry of a secondary line, i.e. whether an instance of it IS a line. */\nexport function isSecondaryLineEntryPlaybook(playbookRef: string): boolean {\n return secondaryLineDefinitionOfEntry(playbookRef) !== undefined;\n}\n\n/** The secondary-line definition whose entry composite this playbook is, or `undefined`. */\nexport function secondaryLineDefinitionOfEntry(playbookRef: string): ApplicationSecondaryLineDefinition | undefined {\n return Object.values(APPLICATION_SECONDARY_LINE_DEFINITIONS).find((definition) => definition.entryPlaybookRef === playbookRef);\n}\n\n/**\n * The families the application's secondary lines need although its main line declares them not applicable\n * (#1608): the union over every line that is not ABANDONED. Needing `service-method` also adds the firm structure\n * (#2305, `describeFirmStructureNeed`).\n *\n * A COMPLETED line still counts: what it built is part of the product now, and a public website a finished\n * feature added still needs its plan. An ABANDONED line's need lapses with it, and a file it landed is then\n * reported as ignored, never deleted (#1604). An open line counts, of course.\n */\nexport function resolveSecondaryLineNeededFamilies(inputs: ApplicationCreatorInputs | undefined): ReadonlySet<ApplicationSpecificationFamily> {\n const needed = new Set<ApplicationSpecificationFamily>();\n for (const activation of Object.values(inputs?.activations ?? {})) {\n if (!isSecondaryLineEntryPlaybook(activation.playbookRef)) continue;\n if (activation.closure?.kind === ApplicationPlaybookInstanceClosureKind.ABANDONED) continue;\n for (const family of activation.neededFamilies ?? []) needed.add(family);\n }\n return needed;\n}\n"]}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
/** Canonical semantic identities of the
|
|
1
|
+
/** Canonical semantic identities of the eight domain-plan evaluation lenses. */
|
|
2
2
|
export declare enum DomainPlanEvaluationCriterionRef {
|
|
3
3
|
BOUNDARY_DISCIPLINE = "application-creation:criterion/domain-plan-boundary-discipline",
|
|
4
|
+
/** #2492: no module or resource for what the engine already provides. */
|
|
5
|
+
ENGINE_CONCERN_DISCIPLINE = "application-creation:criterion/domain-plan-engine-concern-discipline",
|
|
4
6
|
FEATURE_COVERAGE = "application-creation:criterion/domain-plan-feature-coverage",
|
|
5
7
|
INVENTORY_PLAUSIBILITY = "application-creation:criterion/domain-plan-inventory-plausibility",
|
|
8
|
+
/** #2491: a requirement that moves a record through states has its lifecycle. */
|
|
9
|
+
LIFECYCLE_COVERAGE = "application-creation:criterion/domain-plan-lifecycle-coverage",
|
|
6
10
|
MODULE_JUSTIFICATION = "application-creation:criterion/domain-plan-module-justification",
|
|
7
11
|
RELATIONSHIP_INTEGRITY = "application-creation:criterion/domain-plan-relationship-integrity",
|
|
8
12
|
REQUIREMENT_COVERAGE = "application-creation:criterion/domain-plan-requirement-coverage"
|
|
@@ -10,8 +14,10 @@ export declare enum DomainPlanEvaluationCriterionRef {
|
|
|
10
14
|
/** One requirement identity per semantic lens; all require definition context plus the staged output set. */
|
|
11
15
|
export declare enum DomainPlanEvaluationEvidenceRequirementRef {
|
|
12
16
|
BOUNDARY_DISCIPLINE = "application-creation:evidence-requirement/domain-plan-boundary-discipline",
|
|
17
|
+
ENGINE_CONCERN_DISCIPLINE = "application-creation:evidence-requirement/domain-plan-engine-concern-discipline",
|
|
13
18
|
FEATURE_COVERAGE = "application-creation:evidence-requirement/domain-plan-feature-coverage",
|
|
14
19
|
INVENTORY_PLAUSIBILITY = "application-creation:evidence-requirement/domain-plan-inventory-plausibility",
|
|
20
|
+
LIFECYCLE_COVERAGE = "application-creation:evidence-requirement/domain-plan-lifecycle-coverage",
|
|
15
21
|
MODULE_JUSTIFICATION = "application-creation:evidence-requirement/domain-plan-module-justification",
|
|
16
22
|
RELATIONSHIP_INTEGRITY = "application-creation:evidence-requirement/domain-plan-relationship-integrity",
|
|
17
23
|
REQUIREMENT_COVERAGE = "application-creation:evidence-requirement/domain-plan-requirement-coverage"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domain-plan-evaluation-identities.application-creation.definitions.d.ts","sourceRoot":"","sources":["../../../../src/application-creation/domain-plan-evaluation-identities.application-creation.definitions.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"domain-plan-evaluation-identities.application-creation.definitions.d.ts","sourceRoot":"","sources":["../../../../src/application-creation/domain-plan-evaluation-identities.application-creation.definitions.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,oBAAY,gCAAgC;IAC1C,mBAAmB,mEAAmE;IACtF,yEAAyE;IACzE,yBAAyB,yEAAyE;IAClG,gBAAgB,gEAAgE;IAChF,sBAAsB,sEAAsE;IAC5F,iFAAiF;IACjF,kBAAkB,kEAAkE;IACpF,oBAAoB,oEAAoE;IACxF,sBAAsB,sEAAsE;IAC5F,oBAAoB,oEAAoE;CACzF;AAED,6GAA6G;AAC7G,oBAAY,0CAA0C;IACpD,mBAAmB,8EAA8E;IACjG,yBAAyB,oFAAoF;IAC7G,gBAAgB,2EAA2E;IAC3F,sBAAsB,iFAAiF;IACvG,kBAAkB,6EAA6E;IAC/F,oBAAoB,+EAA+E;IACnG,sBAAsB,iFAAiF;IACvG,oBAAoB,+EAA+E;CACpG;AAED,oBAAY,sCAAsC;IAChD,wCAAwC,+FAA+F;CACxI;AAED,oBAAY,6CAA6C;IACvD,gDAAgD,sGAAsG;CACvJ;AAED,oBAAY,8CAA8C;IACxD,wCAAwC,8FAA8F;CACvI"}
|