@wildo-ai/saas-specifications 1.1.3 → 1.1.5
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/assurance/external-framework-mapping.json +1228 -0
- package/dist/esm/_core/application-maturity/application-maturity-validation.d.ts +34 -0
- package/dist/esm/_core/application-maturity/application-maturity-validation.d.ts.map +1 -0
- package/dist/esm/_core/application-maturity/application-maturity-validation.js +66 -0
- package/dist/esm/_core/application-maturity/application-maturity-validation.js.map +1 -0
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.d.ts +3 -0
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js +48 -0
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js.map +1 -0
- package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts +201 -0
- package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts.map +1 -0
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js +306 -0
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js.map +1 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +304 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.js +314 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -0
- package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts +2 -1
- package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.js +4 -1
- package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/assertions/assertion-behaviors.schemas.d.ts +4 -4
- package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts +5 -4
- package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/assertions/assertion-specification.schemas.js +4 -1
- package/dist/esm/_core/assertions/assertion-specification.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-asset.schemas.d.ts +5 -4
- package/dist/esm/_core/brand/brand-asset.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-asset.schemas.js +7 -4
- package/dist/esm/_core/brand/brand-asset.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-audience.schemas.d.ts +31 -0
- package/dist/esm/_core/brand/brand-audience.schemas.d.ts.map +1 -0
- package/dist/esm/_core/brand/brand-audience.schemas.js +29 -0
- package/dist/esm/_core/brand/brand-audience.schemas.js.map +1 -0
- package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/brand/brand-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-generation.schemas.d.ts +4 -4
- package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts +12 -9
- package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-logo-direction.schemas.js +12 -7
- package/dist/esm/_core/brand/brand-logo-direction.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-name.schemas.d.ts +2 -2
- package/dist/esm/_core/brand/brand-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot-validation.js +1 -8
- package/dist/esm/_core/brand/brand-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts +23 -12
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot.schemas.js +7 -0
- package/dist/esm/_core/brand/brand-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts +2 -2
- package/dist/esm/_core/brand/brand.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand.family-aspects.js +12 -1
- package/dist/esm/_core/brand/brand.family-aspects.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +252 -2
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js +19 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +121 -1
- 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 +215 -2
- 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 +703 -14
- 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 +536 -7
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js +82 -2
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts +3 -3
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.js +1 -1
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.js.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts +4 -3
- 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 +4 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js.map +1 -1
- package/dist/esm/_core/business-semantics.specifications.schemas.d.ts +36 -0
- package/dist/esm/_core/business-semantics.specifications.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-semantics.specifications.schemas.js +52 -1
- package/dist/esm/_core/business-semantics.specifications.schemas.js.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts +22 -0
- package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts.map +1 -0
- package/dist/esm/_core/capability-composition/capability-composition-validation.js +89 -0
- package/dist/esm/_core/capability-composition/capability-composition-validation.js.map +1 -0
- package/dist/esm/_core/capability-composition/capability-composition.family-aspects.d.ts +3 -0
- package/dist/esm/_core/capability-composition/capability-composition.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/capability-composition/capability-composition.family-aspects.js +26 -0
- package/dist/esm/_core/capability-composition/capability-composition.family-aspects.js.map +1 -0
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +141 -0
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -0
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js +147 -0
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts +160 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js +124 -4
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts +95 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.js +85 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +743 -14
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +699 -22
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts +98 -6
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js +197 -8
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js.map +1 -1
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts +64 -0
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js +283 -0
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js +30 -1
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +220 -4
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js +149 -2
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts +70 -3
- 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 +75 -3
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.js.map +1 -1
- package/dist/esm/_core/composite-view-specification.schemas.d.ts +14 -0
- package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/composite-view-specification.schemas.js +13 -0
- package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/cross-registry-assertions.d.ts +6 -4
- package/dist/esm/_core/cross-registry-assertions.d.ts.map +1 -1
- package/dist/esm/_core/cross-registry-assertions.js +7 -5
- package/dist/esm/_core/cross-registry-assertions.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts +5 -4
- 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 +5 -2
- 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 +30 -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 +99 -6
- 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 +58 -0
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js +71 -0
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts +37 -0
- package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan-validation.js +83 -0
- package/dist/esm/_core/experience-plan/experience-plan-validation.js.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js +78 -0
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts +285 -0
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js +293 -0
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -0
- package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +9 -2
- 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 +7 -0
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-personas.family-aspects.d.ts +18 -0
- package/dist/esm/_core/expert-personas/expert-personas.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/expert-personas/expert-personas.family-aspects.js +21 -0
- package/dist/esm/_core/expert-personas/expert-personas.family-aspects.js.map +1 -0
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts +19 -0
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.js +23 -0
- package/dist/esm/_core/expert-personas/expert-role-template.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 +22 -1
- package/dist/esm/_core/family-aspects.registry.js.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.d.ts +64 -1
- package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
- package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +27 -27
- package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts +59 -59
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js +1 -1
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js +6 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts +11 -15
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.js +12 -11
- package/dist/esm/_core/guidance-flow-specification.schemas.js.map +1 -1
- package/dist/esm/_core/index.d.ts +16 -0
- package/dist/esm/_core/index.d.ts.map +1 -1
- package/dist/esm/_core/index.js +16 -0
- package/dist/esm/_core/index.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +52 -0
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js +50 -0
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan-validation.d.ts +27 -0
- package/dist/esm/_core/integration-plan/integration-plan-validation.d.ts.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan-validation.js +63 -0
- package/dist/esm/_core/integration-plan/integration-plan-validation.js.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js +52 -0
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts +168 -0
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js +170 -0
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -0
- package/dist/esm/_core/market/feature-benefit.schemas.d.ts +6 -5
- package/dist/esm/_core/market/feature-benefit.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/feature-benefit.schemas.js +5 -2
- package/dist/esm/_core/market/feature-benefit.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-alternative.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-alternative.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-alternative.schemas.js +4 -1
- package/dist/esm/_core/market/market-alternative.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts +11 -9
- package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-authored-metadata.schemas.js +13 -10
- package/dist/esm/_core/market/market-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-buying-journey.schemas.d.ts +5 -4
- package/dist/esm/_core/market/market-buying-journey.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-buying-journey.schemas.js +4 -1
- package/dist/esm/_core/market/market-buying-journey.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-category.schemas.d.ts +2 -2
- package/dist/esm/_core/market/market-channel.schemas.d.ts +6 -5
- package/dist/esm/_core/market/market-channel.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-channel.schemas.js +6 -3
- package/dist/esm/_core/market/market-channel.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-gain.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-gain.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-gain.schemas.js +4 -1
- package/dist/esm/_core/market/market-gain.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-icp.schemas.d.ts +12 -11
- package/dist/esm/_core/market/market-icp.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-icp.schemas.js +12 -9
- package/dist/esm/_core/market/market-icp.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-job.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-job.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-job.schemas.js +4 -1
- package/dist/esm/_core/market/market-job.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-message-template.schemas.d.ts +5 -4
- package/dist/esm/_core/market/market-message-template.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-message-template.schemas.js +5 -2
- package/dist/esm/_core/market/market-message-template.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-objection.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-objection.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-objection.schemas.js +4 -1
- package/dist/esm/_core/market/market-objection.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-pain.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-pain.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-pain.schemas.js +4 -1
- package/dist/esm/_core/market/market-pain.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-persona.schemas.d.ts +5 -4
- package/dist/esm/_core/market/market-persona.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-persona.schemas.js +5 -2
- package/dist/esm/_core/market/market-persona.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-positioning.schemas.d.ts +2 -2
- package/dist/esm/_core/market/market-proof.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-proof.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-proof.schemas.js +4 -1
- package/dist/esm/_core/market/market-proof.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +54 -54
- package/dist/esm/_core/market/market-snapshot.schemas.d.ts +59 -59
- package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-tone-of-voice.schemas.js +4 -1
- package/dist/esm/_core/market/market-tone-of-voice.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-trigger.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-trigger.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-trigger.schemas.js +4 -1
- package/dist/esm/_core/market/market-trigger.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 +25 -1
- package/dist/esm/_core/market/market.family-aspects.js.map +1 -1
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts +27 -22
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/onboarding-view-specification.schemas.js +7 -12
- package/dist/esm/_core/onboarding-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts +21 -21
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +30 -16
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.js +34 -12
- 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 +24 -1
- 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 +78 -47
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js +62 -24
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
- package/dist/esm/_core/provider-specification.schemas.d.ts +19 -0
- package/dist/esm/_core/provider-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/provider-specification.schemas.js +0 -20
- package/dist/esm/_core/provider-specification.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +2 -2
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts +2 -2
- package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +4 -4
- package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.js +3 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.d.ts +8 -0
- package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts +2 -2
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts +5 -0
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js +1 -8
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts +2 -2
- package/dist/esm/_core/roadmap/roadmap.family-aspects.js +1 -1
- package/dist/esm/_core/roadmap/roadmap.family-aspects.js.map +1 -1
- package/dist/esm/_core/utils/extract-field-specs.d.ts.map +1 -1
- package/dist/esm/_core/utils/extract-field-specs.js +4 -2
- package/dist/esm/_core/utils/extract-field-specs.js.map +1 -1
- package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/vision/vision-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/vision/vision-constraint.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-idea.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-mission.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-problem.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-snapshot.schemas.d.ts +10 -10
- package/dist/esm/_core/vision/vision-success-criterion.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision.family-aspects.js +1 -1
- package/dist/esm/_core/vision/vision.family-aspects.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts +45 -0
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts.map +1 -0
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.js +55 -0
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.js.map +1 -0
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts +37 -0
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts.map +1 -0
- package/dist/esm/_core/website-plan/website-plan-validation.js +77 -0
- package/dist/esm/_core/website-plan/website-plan-validation.js.map +1 -0
- package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/website-plan/website-plan.family-aspects.js +35 -0
- package/dist/esm/_core/website-plan/website-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts +194 -0
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -0
- package/dist/esm/_core/website-plan/website-plan.schemas.js +193 -0
- package/dist/esm/_core/website-plan/website-plan.schemas.js.map +1 -0
- package/dist/esm/_core/zod-core-nameability.d.ts +47 -0
- package/dist/esm/_core/zod-core-nameability.d.ts.map +1 -0
- package/dist/esm/_core/zod-core-nameability.js +1 -0
- package/dist/esm/_core/zod-core-nameability.js.map +1 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +86 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts.map +1 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js +96 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -0
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +139 -34
- 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 +182 -11
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts +71 -2
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js +88 -1
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/creator-inputs.family-aspects.d.ts +14 -0
- package/dist/esm/application-creation/creator-inputs.family-aspects.d.ts.map +1 -0
- package/dist/esm/application-creation/creator-inputs.family-aspects.js +17 -0
- package/dist/esm/application-creation/creator-inputs.family-aspects.js.map +1 -0
- package/dist/esm/application-creation/document-facts.family-aspects.d.ts.map +1 -1
- package/dist/esm/application-creation/document-facts.family-aspects.js +25 -1
- package/dist/esm/application-creation/document-facts.family-aspects.js.map +1 -1
- package/dist/esm/application-creation/document-release-policy.family-aspects.js +1 -1
- package/dist/esm/application-creation/document-release-policy.family-aspects.js.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +14 -48
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.js +52 -52
- package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +209 -495
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js +257 -534
- 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 +10 -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 +10 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation.exports.d.ts +73 -8
- package/dist/esm/application-creation.exports.d.ts.map +1 -1
- package/dist/esm/application-creation.exports.js +103 -8
- package/dist/esm/application-creation.exports.js.map +1 -1
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.d.ts +24 -0
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.d.ts.map +1 -0
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js +24 -0
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js.map +1 -0
- package/dist/esm/assurance/application-document-publication.schemas.d.ts +49 -0
- package/dist/esm/assurance/application-document-publication.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/application-document-publication.schemas.js +51 -0
- package/dist/esm/assurance/application-document-publication.schemas.js.map +1 -1
- package/dist/esm/assurance/application-document-release-set.schemas.d.ts +161 -0
- package/dist/esm/assurance/application-document-release-set.schemas.d.ts.map +1 -0
- package/dist/esm/assurance/application-document-release-set.schemas.js +138 -0
- package/dist/esm/assurance/application-document-release-set.schemas.js.map +1 -0
- package/dist/esm/assurance/application-risk-register.family-aspects.d.ts +28 -0
- package/dist/esm/assurance/application-risk-register.family-aspects.d.ts.map +1 -0
- package/dist/esm/assurance/application-risk-register.family-aspects.js +58 -0
- package/dist/esm/assurance/application-risk-register.family-aspects.js.map +1 -0
- package/dist/esm/assurance/application-risk-register.schemas.d.ts +172 -0
- package/dist/esm/assurance/application-risk-register.schemas.d.ts.map +1 -0
- package/dist/esm/assurance/application-risk-register.schemas.js +192 -0
- package/dist/esm/assurance/application-risk-register.schemas.js.map +1 -0
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts +177 -0
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts.map +1 -0
- package/dist/esm/assurance/application-risk-signals.derivations.js +229 -0
- package/dist/esm/assurance/application-risk-signals.derivations.js.map +1 -0
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +257 -13
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.js +836 -69
- package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +99 -33
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.js +38 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts +30 -0
- package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-blueprint-selection.js +40 -0
- package/dist/esm/assurance/assurance-document-blueprint-selection.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.js +99 -8
- package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts +133 -41
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.js +60 -11
- package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts +470 -0
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.js +451 -0
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.js.map +1 -0
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts +0 -33
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +3339 -159
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts +21 -0
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-foundation.schemas.js +21 -0
- package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +32 -2
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js +148 -5
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +257 -14
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.js +588 -45
- package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-program.family-aspects.d.ts +32 -8
- package/dist/esm/assurance/assurance-program.family-aspects.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.family-aspects.js +288 -10
- package/dist/esm/assurance/assurance-program.family-aspects.js.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.d.ts +1182 -333
- package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.js +460 -68
- package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.js +70 -2
- package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.d.ts +17 -0
- package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.js +17 -0
- 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 +205 -3
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/document-publication.family-aspects.js +1 -1
- package/dist/esm/assurance/document-publication.family-aspects.js.map +1 -1
- package/dist/esm/assurance/document-release-set.family-aspects.d.ts +11 -0
- package/dist/esm/assurance/document-release-set.family-aspects.d.ts.map +1 -0
- package/dist/esm/assurance/document-release-set.family-aspects.js +36 -0
- package/dist/esm/assurance/document-release-set.family-aspects.js.map +1 -0
- package/dist/esm/assurance/governed-document-release.d.ts +211 -0
- package/dist/esm/assurance/governed-document-release.d.ts.map +1 -0
- package/dist/esm/assurance/governed-document-release.js +314 -0
- package/dist/esm/assurance/governed-document-release.js.map +1 -0
- package/dist/esm/assurance.exports.d.ts +5 -0
- package/dist/esm/assurance.exports.d.ts.map +1 -1
- package/dist/esm/assurance.exports.js +5 -0
- package/dist/esm/assurance.exports.js.map +1 -1
- package/dist/esm/companion-exports.d.ts +135 -11
- package/dist/esm/companion-exports.d.ts.map +1 -1
- package/dist/esm/companion-exports.js.map +1 -1
- package/dist/esm/engine/_bootstrap.d.ts +1 -1
- package/dist/esm/engine/_bootstrap.js +1 -1
- package/dist/esm/engine/_bootstrap.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +1 -1
- 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 +0 -23
- 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 +110 -28
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +1 -1
- 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/auth/resources/application-access-grants.resource.specification.d.ts +57 -0
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +412 -0
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/index.d.ts +2 -0
- package/dist/esm/engine/auth/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/index.js +2 -0
- package/dist/esm/engine/auth/resources/index.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +4 -4
- 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 +57 -6
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.d.ts +9 -0
- package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.js +141 -0
- package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +4 -1
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +10 -6
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +5 -4
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts +4 -0
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js +129 -0
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts +19 -7
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js +24 -13
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts +0 -40
- 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 +14 -27
- 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 +8 -2
- 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 +16 -3
- 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 +5 -2
- 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 +10 -16
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +15 -5
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.d.ts +9 -0
- package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.js +164 -0
- package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.js.map +1 -0
- package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.d.ts +14 -0
- package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js +124 -0
- package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js.map +1 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.d.ts +9 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.js +123 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.js.map +1 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.d.ts +11 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.js +172 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.js.map +1 -0
- package/dist/esm/engine/billing/resources/index.d.ts +4 -0
- package/dist/esm/engine/billing/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/index.js +4 -0
- package/dist/esm/engine/billing/resources/index.js.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts +3 -3
- package/dist/esm/engine/billing/resources/products.resource.specification.d.ts +3 -3
- 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/subscriptions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +92 -36
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +77 -0
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +375 -0
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts +1 -1
- package/dist/esm/engine/compliance/resources/index.d.ts +2 -0
- package/dist/esm/engine/compliance/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/index.js +2 -0
- package/dist/esm/engine/compliance/resources/index.js.map +1 -1
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts +16 -0
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.js +183 -0
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.js.map +1 -0
- package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.js +28 -0
- package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.js +123 -19
- package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.js +2 -1
- 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 +1 -0
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.js +4 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.js +15 -3
- package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +3 -0
- 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 +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts +3 -3
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts +14 -0
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js +184 -0
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.js +3 -2
- package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.js +18 -0
- package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.js +21 -0
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js +82 -0
- package/dist/esm/engine/frontend-components/app/app-layout-billing-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 +6 -5
- 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-consent-gate.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.js +81 -0
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.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 +4 -2
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.js +3 -2
- package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js +1 -1
- 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-register.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js +21 -0
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.js +20 -2
- package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.js +177 -0
- package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.js +10 -2
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.js +166 -0
- package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.js +122 -0
- package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.js +152 -0
- package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.js +13 -0
- package/dist/esm/engine/frontend-components/feedback/celebration-overlay.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/form/controls/string/inline-edit-text.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.js +92 -0
- package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js +29 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/index.d.ts +12 -0
- package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/index.js +40 -0
- package/dist/esm/engine/frontend-components/index.js.map +1 -1
- package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.d.ts +25 -1
- package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.js +16 -2
- package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.d.ts +9 -0
- package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.js +91 -7
- package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.js +9 -3
- package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.js +41 -1
- package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.js +19 -1
- package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.js.map +1 -1
- 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 +21 -1
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts +2 -0
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts +4 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js +48 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +3 -2
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +77 -3
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js +11 -3
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +26 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +17 -8
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts +49 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js +293 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +5 -5
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts +1 -1
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +6 -6
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js +3 -3
- package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +2 -2
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts +3 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +27 -5
- 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 +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +31 -12
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
- package/dist/esm/engine/providers/anthropic.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/anthropic.provider.specification.js +10 -1
- package/dist/esm/engine/providers/anthropic.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/apple.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/apple.provider.specification.js +12 -1
- package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/email-preview.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/email-preview.provider.specification.js +9 -1
- package/dist/esm/engine/providers/email-preview.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/github.provider.specification.js +12 -1
- package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/google.provider.specification.js +12 -1
- package/dist/esm/engine/providers/google.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/grok.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/grok.provider.specification.js +10 -1
- package/dist/esm/engine/providers/grok.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/microsoft.provider.specification.js +22 -1
- package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/mistral.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/mistral.provider.specification.js +10 -1
- package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/openai.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/openai.provider.specification.js +10 -1
- package/dist/esm/engine/providers/openai.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/opencode.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/opencode.provider.specification.js +9 -1
- package/dist/esm/engine/providers/opencode.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/perplexity.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/perplexity.provider.specification.js +10 -1
- package/dist/esm/engine/providers/perplexity.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 +10 -1
- package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/stripe.provider.specification.js +10 -1
- package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/twilio.provider.specification.js +10 -1
- package/dist/esm/engine/providers/twilio.provider.specification.js.map +1 -1
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.d.ts +2 -0
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js +21 -0
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js.map +1 -0
- package/dist/esm/engine/roles/index.d.ts +4 -3
- package/dist/esm/engine/roles/index.d.ts.map +1 -1
- package/dist/esm/engine/roles/index.js +6 -4
- package/dist/esm/engine/roles/index.js.map +1 -1
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts +5 -3
- 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 +2 -2
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts +2 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +2 -2
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts +1 -0
- 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 +8 -3
- 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 +2 -2
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js +2 -2
- 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 +5 -5
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +4 -4
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +3 -3
- 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 +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts +1 -0
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.js +2 -2
- package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
- package/dist/esm/index.d.ts +39 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +39 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts +134 -0
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js +142 -0
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.d.ts +35 -0
- package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.d.ts.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.js +45 -0
- package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.js.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan-validation.d.ts +33 -0
- package/dist/esm/technical-documentation/application-documentation-plan-validation.d.ts.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan-validation.js +77 -0
- package/dist/esm/technical-documentation/application-documentation-plan-validation.js.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.d.ts +3 -0
- package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.js +40 -0
- package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.js.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts +122 -0
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.js +138 -0
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.js.map +1 -0
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +7 -15
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-assets.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-assets.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-capture.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-capture.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-common.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-common.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-publication.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-publication.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts +14 -0
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.js +16 -3
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.js.map +1 -1
- package/dist/esm/technical-documentation.exports.d.ts +4 -0
- package/dist/esm/technical-documentation.exports.d.ts.map +1 -1
- package/dist/esm/technical-documentation.exports.js +24 -0
- package/dist/esm/technical-documentation.exports.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +8 -13
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts +0 -103
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts.map +0 -1
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.js +0 -76
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.js.map +0 -1
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts +0 -108
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts.map +0 -1
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js +0 -119
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js.map +0 -1
- package/dist/esm/application-creation-playbook-runtime.exports.d.ts +0 -3
- package/dist/esm/application-creation-playbook-runtime.exports.d.ts.map +0 -1
- package/dist/esm/application-creation-playbook-runtime.exports.js +0 -3
- package/dist/esm/application-creation-playbook-runtime.exports.js.map +0 -1
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts +0 -0
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts.map +0 -0
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js +0 -0
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js.map +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApplicationSpecificationFamilySemanticSchemaRef } from
|
|
1
|
+
import { ApplicationSpecificationFamilySemanticSchemaRef } from "../_core/application-specification-family-identity.schemas.js";
|
|
2
2
|
import { FamilyAspectKind } from '../_core/family-aspects.schemas.js';
|
|
3
3
|
import { AssuranceDocumentPublicationVariantSchema } from './application-document-publication.schemas.js';
|
|
4
4
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"document-publication.family-aspects.js","sourceRoot":"","sources":["../../../../src/assurance/document-publication.family-aspects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+CAA+C,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"document-publication.family-aspects.js","sourceRoot":"","sources":["../../../../src/assurance/document-publication.family-aspects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+CAA+C,EAAE,MAAM,4DAA4D,CAAC;AAE7H,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,yCAAyC,EAAE,MAAM,4CAA4C,CAAC;AAEvG;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,MAAM,CAAC,MAAM,mCAAmC,GAA6B;IAC3E,SAAS,EAAE,+CAA+C,CAAC,8CAA8C;IACzG,OAAO,EAAE;QACP;YACE,GAAG,EAAE,8BAA8B;YACnC,YAAY,EAAE,UAAU;YACxB,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,yCAAyC;YACrD,wFAAwF;YACxF,mDAAmD;YACnD,aAAa,EAAE,QAAQ;YACvB,KAAK,EAAE,EAAE;YACT,gBAAgB,EAAE;gBAChB,gBAAgB,EAAE,8BAA8B;aACjD;SACF;KACF;CACF,CAAC","sourcesContent":["import { ApplicationSpecificationFamilySemanticSchemaRef } from \"../_core/application-specification-family-identity.schemas\";\nimport type { FamilyAspectsDeclaration } from '../_core/family-aspects.schemas';\nimport { FamilyAspectKind } from '../_core/family-aspects.schemas';\nimport { AssuranceDocumentPublicationVariantSchema } from './application-document-publication.schemas';\n\n/**\n * entrypoint-closure-waiver: MEASURED SAFE by the root-only probe the rule prescribes, not argued.\n *\n * `application-document-publication.schemas` is published only by the `assurance` subpath, and this\n * file sits in the ROOT's closure (root → `application-creation.exports` → `_core/family-aspects.registry`\n * → here). Rule 7 reports that shape because a root-exported contract referencing a NOMINAL type from\n * a subpath-only module cannot be named by a consumer that imports only the root.\n *\n * The probe: a consumer resolving ONLY `@wildo-ai/saas-specifications`, deriving from\n * `FAMILY_ASPECTS_REGISTRY` and `getFamilyAspectByKey(...)`, compiled with `declaration: true`. It\n * emitted, with no error:\n *\n * registry: readonly import(\"@wildo-ai/saas-specifications\").FamilyAspectsDeclaration[]\n * oneAspect: import(\"@wildo-ai/saas-specifications\").FamilyAspectDeclaration | undefined\n * itsKind: import(\"@wildo-ai/saas-specifications\").FamilyAspectKind | undefined\n * itsSchema: import(\"zod\").ZodType<...> | undefined\n *\n * Every name resolves through a PUBLIC specifier — including `FamilyAspectKind`, which is a nominal\n * enum and therefore the one that would have failed. No `../../node_modules/...` path, no TS2742 /\n * TS2883.\n *\n * The reason it holds: the only symbol taken from the subpath-only module is a Zod SCHEMA, which is\n * structural and inlines; and `FamilyAspectsDeclaration` types `itemSchema` as `z.ZodTypeAny`, so no\n * inferred type ever has to name the variant schema's own module. Adding a NOMINAL export from that\n * module to this declaration would invalidate the waiver — re-run the probe if you do.\n */\n\nexport const DOCUMENT_PUBLICATION_FAMILY_ASPECTS: FamilyAspectsDeclaration = {\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.APPLICATION_DOCUMENT_PUBLICATION_SPECIFICATION,\n aspects: [\n {\n key: 'document-publication.variant',\n snapshotPath: 'variants',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: AssuranceDocumentPublicationVariantSchema,\n // Keyed by locale × jurisdictions — no single-field business key exists; identity falls\n // back to the indexed form the contract documents.\n headlineField: 'locale',\n edges: [],\n nonEdgeRefFields: {\n jurisdictionRefs: 'jurisdiction vocabulary keys',\n },\n },\n ],\n};\n"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { FamilyAspectsDeclaration } from '../_core/family-aspects.schemas';
|
|
2
|
+
/**
|
|
3
|
+
* Aspects for the committed release set.
|
|
4
|
+
*
|
|
5
|
+
* `headlineField` is the release's own `locale` rather than a ref, for the same reason the
|
|
6
|
+
* publication family uses it: a release has no single-field business key — its identity is the
|
|
7
|
+
* document, the release id and the version together — so the indexed form the contract documents is
|
|
8
|
+
* what identifies a row.
|
|
9
|
+
*/
|
|
10
|
+
export declare const DOCUMENT_RELEASE_SET_FAMILY_ASPECTS: FamilyAspectsDeclaration;
|
|
11
|
+
//# sourceMappingURL=document-release-set.family-aspects.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-release-set.family-aspects.d.ts","sourceRoot":"","sources":["../../../../src/assurance/document-release-set.family-aspects.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAIhF;;;;;;;GAOG;AACH,eAAO,MAAM,mCAAmC,EAAE,wBAuBjD,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { ApplicationSpecificationFamilySemanticSchemaRef } from "../_core/application-specification-family-identity.schemas.js";
|
|
2
|
+
import { FamilyAspectKind } from '../_core/family-aspects.schemas.js';
|
|
3
|
+
import { GovernedDocumentReleaseSchema } from '@wildo-ai/saas-models';
|
|
4
|
+
/**
|
|
5
|
+
* Aspects for the committed release set.
|
|
6
|
+
*
|
|
7
|
+
* `headlineField` is the release's own `locale` rather than a ref, for the same reason the
|
|
8
|
+
* publication family uses it: a release has no single-field business key — its identity is the
|
|
9
|
+
* document, the release id and the version together — so the indexed form the contract documents is
|
|
10
|
+
* what identifies a row.
|
|
11
|
+
*/
|
|
12
|
+
export const DOCUMENT_RELEASE_SET_FAMILY_ASPECTS = {
|
|
13
|
+
schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.APPLICATION_DOCUMENT_RELEASE_SET,
|
|
14
|
+
aspects: [
|
|
15
|
+
{
|
|
16
|
+
key: 'document-release-set.release',
|
|
17
|
+
snapshotPath: 'releases',
|
|
18
|
+
kind: FamilyAspectKind.COLLECTION,
|
|
19
|
+
itemSchema: GovernedDocumentReleaseSchema,
|
|
20
|
+
headlineField: 'locale',
|
|
21
|
+
edges: [],
|
|
22
|
+
nonEdgeRefFields: {
|
|
23
|
+
jurisdictionRefs: 'jurisdiction vocabulary keys',
|
|
24
|
+
approvalDecisions: 'approval-decision identities whose content stays in application-creation custody',
|
|
25
|
+
// Four WHOLE objects, each stated once (#1427). Same reasoning as the fact declarations they
|
|
26
|
+
// release: the governance scope is the operator's world, and the rest are engine-catalog or
|
|
27
|
+
// decision identities rather than elements any specification family owns.
|
|
28
|
+
governanceScope: "the OPERATOR's legal scope — subject, scope, participants, precedence rules; not a decided element of this application",
|
|
29
|
+
definition: 'the ENGINE CATALOG document definition this release realizes — a definition the engine owns, resolved against the catalog',
|
|
30
|
+
materialityDecision: 'a materiality decision identity, whose content stays in application-creation custody',
|
|
31
|
+
content: 'the released CONTENT — locale and jurisdiction vocabulary keys, not references to decided elements',
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=document-release-set.family-aspects.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-release-set.family-aspects.js","sourceRoot":"","sources":["../../../../src/assurance/document-release-set.family-aspects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+CAA+C,EAAE,MAAM,4DAA4D,CAAC;AAE7H,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,6BAA6B,EAAE,MAAM,uBAAuB,CAAC;AAEtE;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAA6B;IAC3E,SAAS,EAAE,+CAA+C,CAAC,gCAAgC;IAC3F,OAAO,EAAE;QACP;YACE,GAAG,EAAE,8BAA8B;YACnC,YAAY,EAAE,UAAU;YACxB,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,6BAA6B;YACzC,aAAa,EAAE,QAAQ;YACvB,KAAK,EAAE,EAAE;YACT,gBAAgB,EAAE;gBAChB,gBAAgB,EAAE,8BAA8B;gBAChD,iBAAiB,EAAE,kFAAkF;gBACrG,6FAA6F;gBAC7F,4FAA4F;gBAC5F,0EAA0E;gBAC1E,eAAe,EAAE,wHAAwH;gBACzI,UAAU,EAAE,2HAA2H;gBACvI,mBAAmB,EAAE,sFAAsF;gBAC3G,OAAO,EAAE,oGAAoG;aAC9G;SACF;KACF;CACF,CAAC","sourcesContent":["import { ApplicationSpecificationFamilySemanticSchemaRef } from \"../_core/application-specification-family-identity.schemas\";\nimport type { FamilyAspectsDeclaration } from '../_core/family-aspects.schemas';\nimport { FamilyAspectKind } from '../_core/family-aspects.schemas';\nimport { GovernedDocumentReleaseSchema } from '@wildo-ai/saas-models';\n\n/**\n * Aspects for the committed release set.\n *\n * `headlineField` is the release's own `locale` rather than a ref, for the same reason the\n * publication family uses it: a release has no single-field business key — its identity is the\n * document, the release id and the version together — so the indexed form the contract documents is\n * what identifies a row.\n */\nexport const DOCUMENT_RELEASE_SET_FAMILY_ASPECTS: FamilyAspectsDeclaration = {\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.APPLICATION_DOCUMENT_RELEASE_SET,\n aspects: [\n {\n key: 'document-release-set.release',\n snapshotPath: 'releases',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: GovernedDocumentReleaseSchema,\n headlineField: 'locale',\n edges: [],\n nonEdgeRefFields: {\n jurisdictionRefs: 'jurisdiction vocabulary keys',\n approvalDecisions: 'approval-decision identities whose content stays in application-creation custody',\n // Four WHOLE objects, each stated once (#1427). Same reasoning as the fact declarations they\n // release: the governance scope is the operator's world, and the rest are engine-catalog or\n // decision identities rather than elements any specification family owns.\n governanceScope: \"the OPERATOR's legal scope — subject, scope, participants, precedence rules; not a decided element of this application\",\n definition: 'the ENGINE CATALOG document definition this release realizes — a definition the engine owns, resolved against the catalog',\n materialityDecision: 'a materiality decision identity, whose content stays in application-creation custody',\n content: 'the released CONTENT — locale and jurisdiction vocabulary keys, not references to decided elements',\n },\n },\n ],\n};\n"]}
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
import { type GovernedDocumentApprovalDecisionIdentity, type GovernedDocumentMaterialityDecisionIdentity, type GovernedDocumentPublicContent, type GovernedDocumentRelease, type GovernedDocumentReleaseIdentity } from "@wildo-ai/saas-models";
|
|
2
|
+
import { type ApplicationDocumentReleasePolicySelectionV1 } from "../application-creation/application-document-release-policy-specification.application-creation.schemas";
|
|
3
|
+
import { type ComplianceDocumentCandidate } from "../_core/compliance-documents/compliance-document-candidate.schemas";
|
|
4
|
+
import type { AssuranceDocumentPublicationVariant } from "./application-document-publication.schemas";
|
|
5
|
+
import type { AssuranceDocumentDefinition } from "./assurance-document-system.schemas";
|
|
6
|
+
/** Validating form of the draft-to-public-text projection. Throws when the result is not valid public content. */
|
|
7
|
+
export declare function projectComplianceDocumentCandidatePublicContent(candidate: ComplianceDocumentCandidate, publication: {
|
|
8
|
+
readonly locale: string;
|
|
9
|
+
readonly jurisdictionRefs: readonly string[];
|
|
10
|
+
}): GovernedDocumentPublicContent;
|
|
11
|
+
/**
|
|
12
|
+
* @wildo_source:part:start saas.specifications.governed-document-release.contract facet:layer:specification facet:family:assurance
|
|
13
|
+
*
|
|
14
|
+
* Turning an APPROVED DRAFT into a RELEASE — the step whose absence meant a
|
|
15
|
+
* drafted governed document could never become a published one (issue #245).
|
|
16
|
+
*
|
|
17
|
+
* The lane could draft: an application holds a real
|
|
18
|
+
* `ComplianceDocumentCandidate` with its sections, clauses and prose. What it
|
|
19
|
+
* had no way to do was say *this draft, in this language, for these
|
|
20
|
+
* jurisdictions, is approved and takes effect on this date* — measured
|
|
21
|
+
* 2026-09-02 and re-measured 2026-09-11, `GovernedDocumentReleaseSchema`
|
|
22
|
+
* appeared in exactly two files, its own definition and its unit test, and
|
|
23
|
+
* nothing anywhere constructed one.
|
|
24
|
+
*
|
|
25
|
+
* **This is a composition, not a custody protocol, and the distinction is the
|
|
26
|
+
* whole design.** `0924c256` removed the previous publication lane — "a sealed
|
|
27
|
+
* machine that had never run" — and said what should replace it: *"A governed
|
|
28
|
+
* document is a file; publishing one is a commit. When an application has a
|
|
29
|
+
* document to serve, serving is rebuilt from files — a read, not a custody
|
|
30
|
+
* protocol."* So there is no bundle here, no digest, no content-addressed
|
|
31
|
+
* store and no byte-exact retrieval transport. A release is a record an
|
|
32
|
+
* application COMMITS, and {@link resolveEffectiveDocumentRelease} is the read.
|
|
33
|
+
*
|
|
34
|
+
* **Most of a release is DERIVED rather than authored**, which is the other
|
|
35
|
+
* half of the design. The accepted `AssuranceDocumentDefinition` already
|
|
36
|
+
* decides the document's class, who it addresses, which channels may carry it
|
|
37
|
+
* and which interactions it permits — so asking an author to restate them
|
|
38
|
+
* would invite five ways to disagree with the catalog, and the disagreement
|
|
39
|
+
* would be invisible. What is genuinely a human decision is the narrow part:
|
|
40
|
+
* which draft, which variant, which approval, and when it takes effect.
|
|
41
|
+
*/
|
|
42
|
+
export declare enum GovernedDocumentReleaseCompositionIssueKind {
|
|
43
|
+
/** The candidate drafts a different document from the one being released. */
|
|
44
|
+
CANDIDATE_DOCUMENT_MISMATCH = "CANDIDATE_DOCUMENT_MISMATCH",
|
|
45
|
+
/** The requested variant is not one the application declared it publishes in. */
|
|
46
|
+
VARIANT_NOT_PUBLISHED = "VARIANT_NOT_PUBLISHED",
|
|
47
|
+
/** The candidate states a locale or jurisdictions that contradict the variant being released. */
|
|
48
|
+
CANDIDATE_VARIANT_CONTRADICTION = "CANDIDATE_VARIANT_CONTRADICTION",
|
|
49
|
+
/** The governance subject is not one the document's definition governs. */
|
|
50
|
+
GOVERNANCE_SUBJECT_NOT_PERMITTED = "GOVERNANCE_SUBJECT_NOT_PERMITTED",
|
|
51
|
+
/** A release that replaces another must supersede the SAME document. */
|
|
52
|
+
REPLACES_DIFFERENT_DOCUMENT = "REPLACES_DIFFERENT_DOCUMENT",
|
|
53
|
+
/** The release policy consulted governs a different document from the one being released. */
|
|
54
|
+
RELEASE_POLICY_FOR_OTHER_REQUIREMENT = "RELEASE_POLICY_FOR_OTHER_REQUIREMENT",
|
|
55
|
+
/** The composed record does not satisfy `GovernedDocumentReleaseSchema`. */
|
|
56
|
+
RELEASE_RECORD_INVALID = "RELEASE_RECORD_INVALID"
|
|
57
|
+
}
|
|
58
|
+
export interface GovernedDocumentReleaseCompositionIssue {
|
|
59
|
+
readonly kind: GovernedDocumentReleaseCompositionIssueKind;
|
|
60
|
+
readonly message: string;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* What is TRUE about a composed release that a human must eventually act on — never a reason to
|
|
64
|
+
* refuse composing it.
|
|
65
|
+
*
|
|
66
|
+
* The split from {@link GovernedDocumentReleaseCompositionIssueKind} is the design, not a severity
|
|
67
|
+
* scale. An ISSUE means the record would be FALSE: it names a document the candidate does not draft,
|
|
68
|
+
* or publishes an `en-GB` draft as `fr-FR`. An ADVISORY means the record is TRUE and the workflow is
|
|
69
|
+
* not finished — nobody has approved it yet, or the application's own policy keeps this document in
|
|
70
|
+
* the draft-only lane.
|
|
71
|
+
*
|
|
72
|
+
* Wildo is agent-first, so the second kind may never stop the mechanism. A compliance workflow
|
|
73
|
+
* standing in front of application creation is exactly the shape this framework refuses: the system
|
|
74
|
+
* must WORK first, and
|
|
75
|
+
* restrictions arrive later as judge-style guards rather than ceremony wired into the mechanism.
|
|
76
|
+
*/
|
|
77
|
+
export declare enum GovernedDocumentReleaseAdvisoryKind {
|
|
78
|
+
/** Composed without an approval decision. The release says so in `approvalState`. */
|
|
79
|
+
NOT_APPROVED = "NOT_APPROVED",
|
|
80
|
+
/**
|
|
81
|
+
* The application's accepted policy keeps this document in the DRAFT_ONLY lane.
|
|
82
|
+
*
|
|
83
|
+
* It refused composition until 2026-09-11, and that was the error this whole split corrects: a
|
|
84
|
+
* lane an application chose for its OWN document became a wall in front of its own build. The
|
|
85
|
+
* release is composed, marked UNAPPROVED, and the lane is reported — so the decision to serve it
|
|
86
|
+
* is taken where serving happens, which is Gate 3's to arm.
|
|
87
|
+
*/
|
|
88
|
+
POLICY_IS_DRAFT_ONLY = "POLICY_IS_DRAFT_ONLY"
|
|
89
|
+
}
|
|
90
|
+
export interface GovernedDocumentReleaseAdvisory {
|
|
91
|
+
readonly kind: GovernedDocumentReleaseAdvisoryKind;
|
|
92
|
+
readonly message: string;
|
|
93
|
+
}
|
|
94
|
+
/** What a human actually decides. Everything else on the record is derived from the accepted definition. */
|
|
95
|
+
export interface GovernedDocumentReleaseComposition {
|
|
96
|
+
/** The framework-accepted definition. Supplies class, audiences, channels and permitted interactions. */
|
|
97
|
+
readonly definition: AssuranceDocumentDefinition;
|
|
98
|
+
/** The approved draft whose content this release publishes. */
|
|
99
|
+
readonly candidate: ComplianceDocumentCandidate;
|
|
100
|
+
/** The exact locale x jurisdiction combination being published. */
|
|
101
|
+
readonly variant: AssuranceDocumentPublicationVariant;
|
|
102
|
+
/** Every variant the application declared it publishes in; the variant above must be one of them. */
|
|
103
|
+
readonly publishedVariants: readonly AssuranceDocumentPublicationVariant[];
|
|
104
|
+
/**
|
|
105
|
+
* The application's accepted release-policy selection for THIS document's requirement.
|
|
106
|
+
*
|
|
107
|
+
* REQUIRED, because releasing is the act that policy exists to govern. `DRAFT_ONLY` means the
|
|
108
|
+
* document "may be generated and retained, but cannot be released or published" — a sentence with
|
|
109
|
+
* no effect unless something refuses, and the only place that can refuse is here. An optional
|
|
110
|
+
* input would have made the strictest lane the easiest one to skip: omit the field, get a release.
|
|
111
|
+
*
|
|
112
|
+
* The other two lanes do not branch here. Whether an operator attestation or a qualified review
|
|
113
|
+
* actually happened is recorded in `approvalDecisions`, and the selection's own schema already
|
|
114
|
+
* requires an attested lane to carry its explicit limitations.
|
|
115
|
+
*/
|
|
116
|
+
readonly releasePolicy: ApplicationDocumentReleasePolicySelectionV1;
|
|
117
|
+
/** The requirement the policy must govern — the join is by requirement, never by document ref. */
|
|
118
|
+
readonly requirement: {
|
|
119
|
+
readonly requirementRef: string;
|
|
120
|
+
readonly requirementVersion: number;
|
|
121
|
+
};
|
|
122
|
+
readonly identity: GovernedDocumentReleaseIdentity;
|
|
123
|
+
readonly governanceScope: GovernedDocumentRelease["governanceScope"];
|
|
124
|
+
/**
|
|
125
|
+
* The approvals retained for this release, if any yet.
|
|
126
|
+
*
|
|
127
|
+
* EMPTY is a first-class answer, not a missing input: it composes an UNAPPROVED release and an
|
|
128
|
+
* advisory saying so. Requiring one here would mean an application could only hold a release by
|
|
129
|
+
* forging an approval identity, which is worse than having none.
|
|
130
|
+
*/
|
|
131
|
+
readonly approvalDecisions: readonly GovernedDocumentApprovalDecisionIdentity[];
|
|
132
|
+
readonly issuedAt: string;
|
|
133
|
+
readonly effectiveAt: string;
|
|
134
|
+
readonly expiresAt?: string;
|
|
135
|
+
/**
|
|
136
|
+
* Superseding another release, stated ONCE as the materiality decision.
|
|
137
|
+
*
|
|
138
|
+
* The release record carries both `replacesRelease` and `materialityDecision`, and its schema
|
|
139
|
+
* requires them to be present together AND to name the same previous release. So the caller gives
|
|
140
|
+
* the decision and `replacesRelease` is DERIVED from `previousRelease` — two fields that must
|
|
141
|
+
* agree are not two decisions, and asking for both would only create a way to disagree.
|
|
142
|
+
*
|
|
143
|
+
* The decision itself is the governance question a replacement owes: did the change matter enough
|
|
144
|
+
* that the audience must meet the document again? `requiredInteractionKinds` is where that lands.
|
|
145
|
+
*/
|
|
146
|
+
readonly supersedes?: GovernedDocumentMaterialityDecisionIdentity;
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* Compose one release, or report why the parts do not agree.
|
|
150
|
+
*
|
|
151
|
+
* Returns issues rather than throwing, following the `_core` validator convention: a caller
|
|
152
|
+
* assembling several releases wants all the disagreements at once, not the first one.
|
|
153
|
+
*/
|
|
154
|
+
export declare function composeGovernedDocumentRelease(composition: GovernedDocumentReleaseComposition): {
|
|
155
|
+
readonly release: GovernedDocumentRelease | undefined;
|
|
156
|
+
readonly issues: readonly GovernedDocumentReleaseCompositionIssue[];
|
|
157
|
+
readonly advisories: readonly GovernedDocumentReleaseAdvisory[];
|
|
158
|
+
};
|
|
159
|
+
/** What a reader knows: which document, in which language, for which jurisdictions, at which instant. */
|
|
160
|
+
export interface GovernedDocumentReleaseQuery {
|
|
161
|
+
readonly documentRef: string;
|
|
162
|
+
readonly locale: string;
|
|
163
|
+
readonly jurisdictionRefs: readonly string[];
|
|
164
|
+
/** ISO-8601. The instant the answer is wanted FOR — usually now, but a past instant is what an audit asks. */
|
|
165
|
+
readonly at: string;
|
|
166
|
+
/**
|
|
167
|
+
* ⚠️ THE GATE POINT, and it is OFF by default. Deliberately.
|
|
168
|
+
*
|
|
169
|
+
* Serving an UNAPPROVED release to a real reader is a legally-binding statement leaving the
|
|
170
|
+
* system, which `one-source-of-truth.md` D5 names as a critical gate point — and says such points
|
|
171
|
+
* stay MARKED in every mechanism, notifying and proceeding under the current autonomy posture,
|
|
172
|
+
* with ARMING them part of Gate 3's membership test ("an application may face a real user").
|
|
173
|
+
*
|
|
174
|
+
* So this defaults to `false`: an application under construction reads its own documents, and a
|
|
175
|
+
* compliance workflow may not stand in front of the mechanism that builds it. Every returned
|
|
176
|
+
* release carries `approvalState`, so a caller always knows what it has.
|
|
177
|
+
*
|
|
178
|
+
* A surface that genuinely faces a real user passes `true`. When Gate 3 is armed, what changes is
|
|
179
|
+
* that passing it stops being the caller's choice — not that this parameter appears.
|
|
180
|
+
*/
|
|
181
|
+
readonly requireApproved?: boolean;
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* THE READ — which release is in force for one document, variant and instant.
|
|
185
|
+
*
|
|
186
|
+
* This is the half `0924c256` asked for when it deleted the custody machine: serving rebuilt as a
|
|
187
|
+
* read over committed files. It takes the releases an application has committed and answers from
|
|
188
|
+
* them alone; there is no store to consult and nothing to retrieve.
|
|
189
|
+
*
|
|
190
|
+
* What decides:
|
|
191
|
+
*
|
|
192
|
+
* - the variant must match EXACTLY. Locale and jurisdictions are one inseparable pair, and nothing
|
|
193
|
+
* here recombines them — an `en-GB` release for `jurisdiction:gb` is not an answer for
|
|
194
|
+
* `jurisdiction:eu`, even though both are `en-GB`;
|
|
195
|
+
* - `effectiveAt` must not be in the future and `expiresAt`, when present, must not have passed.
|
|
196
|
+
* A release that has been ISSUED is not yet in force; the difference is the whole point of
|
|
197
|
+
* carrying both dates;
|
|
198
|
+
* - of those in force, the one that took effect LAST wins, and `releaseVersion` breaks a tie. Two
|
|
199
|
+
* releases sharing an instant is an authoring fault rather than a question, and answering
|
|
200
|
+
* deterministically is better than answering arbitrarily.
|
|
201
|
+
*
|
|
202
|
+
* It does NOT filter by approval unless asked to — see `requireApproved`, which is the marked gate
|
|
203
|
+
* point and is off by default. An application being built must be able to read what it has.
|
|
204
|
+
*
|
|
205
|
+
* Returns `undefined` when nothing is in force, and a caller must treat that as "this application
|
|
206
|
+
* publishes no such document here yet" rather than as an error — for most of an application's life
|
|
207
|
+
* that is the true answer, and it is the state every consumer meets first.
|
|
208
|
+
*/
|
|
209
|
+
export declare function resolveEffectiveDocumentRelease(releases: readonly GovernedDocumentRelease[], query: GovernedDocumentReleaseQuery): GovernedDocumentRelease | undefined;
|
|
210
|
+
/** @wildo_source:part:end saas.specifications.governed-document-release.contract */
|
|
211
|
+
//# sourceMappingURL=governed-document-release.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"governed-document-release.d.ts","sourceRoot":"","sources":["../../../../src/assurance/governed-document-release.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,wCAAwC,EAE7C,KAAK,2CAA2C,EAChD,KAAK,6BAA6B,EAClC,KAAK,uBAAuB,EAC5B,KAAK,+BAA+B,EACrC,MAAM,uBAAuB,CAAC;AAgB/B,OAAO,EAEL,KAAK,2CAA2C,EACjD,MAAM,wGAAwG,CAAC;AAChH,OAAO,EAEL,KAAK,2BAA2B,EACjC,MAAM,qEAAqE,CAAC;AAC7E,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,4CAA4C,CAAC;AAEtG,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AA+CvF,kHAAkH;AAClH,wBAAgB,+CAA+C,CAC7D,SAAS,EAAE,2BAA2B,EACtC,WAAW,EAAE;IAAE,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,gBAAgB,EAAE,SAAS,MAAM,EAAE,CAAA;CAAE,GACrF,6BAA6B,CAE/B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,oBAAY,2CAA2C;IACrD,6EAA6E;IAC7E,2BAA2B,gCAAgC;IAC3D,iFAAiF;IACjF,qBAAqB,0BAA0B;IAC/C,iGAAiG;IACjG,+BAA+B,oCAAoC;IACnE,2EAA2E;IAC3E,gCAAgC,qCAAqC;IACrE,wEAAwE;IACxE,2BAA2B,gCAAgC;IAC3D,6FAA6F;IAC7F,oCAAoC,yCAAyC;IAC7E,4EAA4E;IAC5E,sBAAsB,2BAA2B;CAClD;AAED,MAAM,WAAW,uCAAuC;IACtD,QAAQ,CAAC,IAAI,EAAE,2CAA2C,CAAC;IAC3D,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;;;;;;;;;;GAcG;AACH,oBAAY,mCAAmC;IAC7C,qFAAqF;IACrF,YAAY,iBAAiB;IAC7B;;;;;;;OAOG;IACH,oBAAoB,yBAAyB;CAC9C;AAED,MAAM,WAAW,+BAA+B;IAC9C,QAAQ,CAAC,IAAI,EAAE,mCAAmC,CAAC;IACnD,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED,4GAA4G;AAC5G,MAAM,WAAW,kCAAkC;IACjD,yGAAyG;IACzG,QAAQ,CAAC,UAAU,EAAE,2BAA2B,CAAC;IACjD,+DAA+D;IAC/D,QAAQ,CAAC,SAAS,EAAE,2BAA2B,CAAC;IAChD,mEAAmE;IACnE,QAAQ,CAAC,OAAO,EAAE,mCAAmC,CAAC;IACtD,qGAAqG;IACrG,QAAQ,CAAC,iBAAiB,EAAE,SAAS,mCAAmC,EAAE,CAAC;IAC3E;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,aAAa,EAAE,2CAA2C,CAAC;IACpE,kGAAkG;IAClG,QAAQ,CAAC,WAAW,EAAE;QAAE,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAA;KAAE,CAAC;IAC/F,QAAQ,CAAC,QAAQ,EAAE,+BAA+B,CAAC;IACnD,QAAQ,CAAC,eAAe,EAAE,uBAAuB,CAAC,iBAAiB,CAAC,CAAC;IACrE;;;;;;OAMG;IACH,QAAQ,CAAC,iBAAiB,EAAE,SAAS,wCAAwC,EAAE,CAAC;IAChF,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,2CAA2C,CAAC;CACnE;AAKD;;;;;GAKG;AACH,wBAAgB,8BAA8B,CAC5C,WAAW,EAAE,kCAAkC,GAC9C;IACD,QAAQ,CAAC,OAAO,EAAE,uBAAuB,GAAG,SAAS,CAAC;IACtD,QAAQ,CAAC,MAAM,EAAE,SAAS,uCAAuC,EAAE,CAAC;IACpE,QAAQ,CAAC,UAAU,EAAE,SAAS,+BAA+B,EAAE,CAAC;CACjE,CAyHA;AAED,yGAAyG;AACzG,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,gBAAgB,EAAE,SAAS,MAAM,EAAE,CAAC;IAC7C,8GAA8G;IAC9G,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;;;;;;;;;;;;;OAcG;IACH,QAAQ,CAAC,eAAe,CAAC,EAAE,OAAO,CAAC;CACpC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,+BAA+B,CAC7C,QAAQ,EAAE,SAAS,uBAAuB,EAAE,EAC5C,KAAK,EAAE,4BAA4B,GAClC,uBAAuB,GAAG,SAAS,CAsBrC;AACD,oFAAoF"}
|
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
import { GOVERNED_DOCUMENT_PUBLIC_CONTENT_MEDIA_TYPE, governedDocumentReleaseIsInForce, GovernedDocumentPublicClauseStanding, GovernedDocumentPublicContentSchema, GovernedDocumentReleaseApprovalState, GovernedDocumentReleaseSchema, } from "@wildo-ai/saas-models";
|
|
2
|
+
/*
|
|
3
|
+
* CROSSING into `application-creation/`, deliberately and in the established direction — two
|
|
4
|
+
* `*.family-aspects.ts` files here already do it, and nothing in `application-creation/` imports
|
|
5
|
+
* back. The release POLICY is the thing that decides whether releasing is permitted at all, so a
|
|
6
|
+
* composer that could not see it would be the hole rather than the fix.
|
|
7
|
+
*
|
|
8
|
+
* Known shape, stated rather than left implicit: `GovernedDocumentReleaseComposition` is exported
|
|
9
|
+
* from the `assurance` subpath and reaches `ApplicationDocumentReleasePolicyLane`, a NOMINAL enum
|
|
10
|
+
* that subpath does not publish (the ROOT and `application-creation` do). `check:package-entrypoints`
|
|
11
|
+
* reports no finding for this file, and in practice a caller cannot HOLD a policy selection without
|
|
12
|
+
* having resolved the `application-creation` surface that owns the family — there is nowhere else to
|
|
13
|
+
* obtain one. If rule 7 ever does report it, the answer is the root-only probe that rule prescribes,
|
|
14
|
+
* not a re-export: a second door onto one room is what `root-barrel-overlap` refuses.
|
|
15
|
+
*/
|
|
16
|
+
import { ApplicationDocumentReleasePolicyLane, } from "../application-creation/application-document-release-policy-specification.application-creation.schemas.js";
|
|
17
|
+
import { ComplianceStatementCompleteness, } from "../_core/compliance-documents/compliance-document-candidate.schemas.js";
|
|
18
|
+
import { assuranceDocumentPublicationVariantKey } from "./application-document-publication.schemas.js";
|
|
19
|
+
/**
|
|
20
|
+
* The public text a draft becomes — what a release carries, and what a page shows for a document
|
|
21
|
+
* that was never released (wildo-ai/wildo-ai#968).
|
|
22
|
+
*
|
|
23
|
+
* An ALLOW-LIST, like every other public projection in this lane. A candidate clause carries fact
|
|
24
|
+
* refs, source-policy refs, claim-guard refs, blueprint joins and — when it is incomplete — who closes
|
|
25
|
+
* the gap and how (`closedBy`: issue refs, owners). None of that is the reader's. What survives is the
|
|
26
|
+
* structure (sections and clauses, by ref and order), the prose, and the clause's STANDING: a clause
|
|
27
|
+
* the drafter could not establish is marked `NOT_YET_ESTABLISHED` with the drafter's own `needs` text,
|
|
28
|
+
* never passed off as settled and never dropped.
|
|
29
|
+
*
|
|
30
|
+
* The language and jurisdictions come from the PUBLICATION, not the draft: a candidate may leave both
|
|
31
|
+
* open, and the release (or the application's declared variant, for an unreleased draft) is what
|
|
32
|
+
* decides them. The composer refuses a candidate that contradicts its variant before this runs.
|
|
33
|
+
*
|
|
34
|
+
* Returns the unparsed shape so the composer can validate it inside the release record and report a
|
|
35
|
+
* failure as an issue; {@link projectComplianceDocumentCandidatePublicContent} is the validating form.
|
|
36
|
+
*/
|
|
37
|
+
function draftPublicContent(candidate, publication) {
|
|
38
|
+
return {
|
|
39
|
+
schemaVersion: 1,
|
|
40
|
+
title: candidate.title,
|
|
41
|
+
locale: publication.locale,
|
|
42
|
+
jurisdictionRefs: [...publication.jurisdictionRefs],
|
|
43
|
+
sections: candidate.sections.map((section) => ({
|
|
44
|
+
sectionRef: section.sectionRef,
|
|
45
|
+
order: section.order,
|
|
46
|
+
title: section.title,
|
|
47
|
+
clauses: section.clauses.map((clause) => clause.completeness === ComplianceStatementCompleteness.DERIVED
|
|
48
|
+
? { clauseRef: clause.clauseRef, order: clause.order, bodyMarkdown: clause.bodyMarkdown, standing: GovernedDocumentPublicClauseStanding.ESTABLISHED }
|
|
49
|
+
: {
|
|
50
|
+
clauseRef: clause.clauseRef,
|
|
51
|
+
order: clause.order,
|
|
52
|
+
bodyMarkdown: clause.bodyMarkdown,
|
|
53
|
+
standing: GovernedDocumentPublicClauseStanding.NOT_YET_ESTABLISHED,
|
|
54
|
+
missingInformation: clause.incompleteness?.needs,
|
|
55
|
+
}),
|
|
56
|
+
})),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
/** Validating form of the draft-to-public-text projection. Throws when the result is not valid public content. */
|
|
60
|
+
export function projectComplianceDocumentCandidatePublicContent(candidate, publication) {
|
|
61
|
+
return GovernedDocumentPublicContentSchema.parse(draftPublicContent(candidate, publication));
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* @wildo_source:part:start saas.specifications.governed-document-release.contract facet:layer:specification facet:family:assurance
|
|
65
|
+
*
|
|
66
|
+
* Turning an APPROVED DRAFT into a RELEASE — the step whose absence meant a
|
|
67
|
+
* drafted governed document could never become a published one (issue #245).
|
|
68
|
+
*
|
|
69
|
+
* The lane could draft: an application holds a real
|
|
70
|
+
* `ComplianceDocumentCandidate` with its sections, clauses and prose. What it
|
|
71
|
+
* had no way to do was say *this draft, in this language, for these
|
|
72
|
+
* jurisdictions, is approved and takes effect on this date* — measured
|
|
73
|
+
* 2026-09-02 and re-measured 2026-09-11, `GovernedDocumentReleaseSchema`
|
|
74
|
+
* appeared in exactly two files, its own definition and its unit test, and
|
|
75
|
+
* nothing anywhere constructed one.
|
|
76
|
+
*
|
|
77
|
+
* **This is a composition, not a custody protocol, and the distinction is the
|
|
78
|
+
* whole design.** `0924c256` removed the previous publication lane — "a sealed
|
|
79
|
+
* machine that had never run" — and said what should replace it: *"A governed
|
|
80
|
+
* document is a file; publishing one is a commit. When an application has a
|
|
81
|
+
* document to serve, serving is rebuilt from files — a read, not a custody
|
|
82
|
+
* protocol."* So there is no bundle here, no digest, no content-addressed
|
|
83
|
+
* store and no byte-exact retrieval transport. A release is a record an
|
|
84
|
+
* application COMMITS, and {@link resolveEffectiveDocumentRelease} is the read.
|
|
85
|
+
*
|
|
86
|
+
* **Most of a release is DERIVED rather than authored**, which is the other
|
|
87
|
+
* half of the design. The accepted `AssuranceDocumentDefinition` already
|
|
88
|
+
* decides the document's class, who it addresses, which channels may carry it
|
|
89
|
+
* and which interactions it permits — so asking an author to restate them
|
|
90
|
+
* would invite five ways to disagree with the catalog, and the disagreement
|
|
91
|
+
* would be invisible. What is genuinely a human decision is the narrow part:
|
|
92
|
+
* which draft, which variant, which approval, and when it takes effect.
|
|
93
|
+
*/
|
|
94
|
+
export var GovernedDocumentReleaseCompositionIssueKind;
|
|
95
|
+
(function (GovernedDocumentReleaseCompositionIssueKind) {
|
|
96
|
+
/** The candidate drafts a different document from the one being released. */
|
|
97
|
+
GovernedDocumentReleaseCompositionIssueKind["CANDIDATE_DOCUMENT_MISMATCH"] = "CANDIDATE_DOCUMENT_MISMATCH";
|
|
98
|
+
/** The requested variant is not one the application declared it publishes in. */
|
|
99
|
+
GovernedDocumentReleaseCompositionIssueKind["VARIANT_NOT_PUBLISHED"] = "VARIANT_NOT_PUBLISHED";
|
|
100
|
+
/** The candidate states a locale or jurisdictions that contradict the variant being released. */
|
|
101
|
+
GovernedDocumentReleaseCompositionIssueKind["CANDIDATE_VARIANT_CONTRADICTION"] = "CANDIDATE_VARIANT_CONTRADICTION";
|
|
102
|
+
/** The governance subject is not one the document's definition governs. */
|
|
103
|
+
GovernedDocumentReleaseCompositionIssueKind["GOVERNANCE_SUBJECT_NOT_PERMITTED"] = "GOVERNANCE_SUBJECT_NOT_PERMITTED";
|
|
104
|
+
/** A release that replaces another must supersede the SAME document. */
|
|
105
|
+
GovernedDocumentReleaseCompositionIssueKind["REPLACES_DIFFERENT_DOCUMENT"] = "REPLACES_DIFFERENT_DOCUMENT";
|
|
106
|
+
/** The release policy consulted governs a different document from the one being released. */
|
|
107
|
+
GovernedDocumentReleaseCompositionIssueKind["RELEASE_POLICY_FOR_OTHER_REQUIREMENT"] = "RELEASE_POLICY_FOR_OTHER_REQUIREMENT";
|
|
108
|
+
/** The composed record does not satisfy `GovernedDocumentReleaseSchema`. */
|
|
109
|
+
GovernedDocumentReleaseCompositionIssueKind["RELEASE_RECORD_INVALID"] = "RELEASE_RECORD_INVALID";
|
|
110
|
+
})(GovernedDocumentReleaseCompositionIssueKind || (GovernedDocumentReleaseCompositionIssueKind = {}));
|
|
111
|
+
/**
|
|
112
|
+
* What is TRUE about a composed release that a human must eventually act on — never a reason to
|
|
113
|
+
* refuse composing it.
|
|
114
|
+
*
|
|
115
|
+
* The split from {@link GovernedDocumentReleaseCompositionIssueKind} is the design, not a severity
|
|
116
|
+
* scale. An ISSUE means the record would be FALSE: it names a document the candidate does not draft,
|
|
117
|
+
* or publishes an `en-GB` draft as `fr-FR`. An ADVISORY means the record is TRUE and the workflow is
|
|
118
|
+
* not finished — nobody has approved it yet, or the application's own policy keeps this document in
|
|
119
|
+
* the draft-only lane.
|
|
120
|
+
*
|
|
121
|
+
* Wildo is agent-first, so the second kind may never stop the mechanism. A compliance workflow
|
|
122
|
+
* standing in front of application creation is exactly the shape this framework refuses: the system
|
|
123
|
+
* must WORK first, and
|
|
124
|
+
* restrictions arrive later as judge-style guards rather than ceremony wired into the mechanism.
|
|
125
|
+
*/
|
|
126
|
+
export var GovernedDocumentReleaseAdvisoryKind;
|
|
127
|
+
(function (GovernedDocumentReleaseAdvisoryKind) {
|
|
128
|
+
/** Composed without an approval decision. The release says so in `approvalState`. */
|
|
129
|
+
GovernedDocumentReleaseAdvisoryKind["NOT_APPROVED"] = "NOT_APPROVED";
|
|
130
|
+
/**
|
|
131
|
+
* The application's accepted policy keeps this document in the DRAFT_ONLY lane.
|
|
132
|
+
*
|
|
133
|
+
* It refused composition until 2026-09-11, and that was the error this whole split corrects: a
|
|
134
|
+
* lane an application chose for its OWN document became a wall in front of its own build. The
|
|
135
|
+
* release is composed, marked UNAPPROVED, and the lane is reported — so the decision to serve it
|
|
136
|
+
* is taken where serving happens, which is Gate 3's to arm.
|
|
137
|
+
*/
|
|
138
|
+
GovernedDocumentReleaseAdvisoryKind["POLICY_IS_DRAFT_ONLY"] = "POLICY_IS_DRAFT_ONLY";
|
|
139
|
+
})(GovernedDocumentReleaseAdvisoryKind || (GovernedDocumentReleaseAdvisoryKind = {}));
|
|
140
|
+
const sorted = (values) => [...values].sort();
|
|
141
|
+
const sameSet = (left, right) => left.length === right.length && sorted(left).every((value, index) => value === sorted(right)[index]);
|
|
142
|
+
/**
|
|
143
|
+
* Compose one release, or report why the parts do not agree.
|
|
144
|
+
*
|
|
145
|
+
* Returns issues rather than throwing, following the `_core` validator convention: a caller
|
|
146
|
+
* assembling several releases wants all the disagreements at once, not the first one.
|
|
147
|
+
*/
|
|
148
|
+
export function composeGovernedDocumentRelease(composition) {
|
|
149
|
+
const issues = [];
|
|
150
|
+
const advisories = [];
|
|
151
|
+
const { candidate, variant, identity, definition } = composition;
|
|
152
|
+
if (candidate.documentRef !== identity.document.documentRef) {
|
|
153
|
+
issues.push({
|
|
154
|
+
kind: GovernedDocumentReleaseCompositionIssueKind.CANDIDATE_DOCUMENT_MISMATCH,
|
|
155
|
+
message: `candidate drafts "${candidate.documentRef}" but the release identifies "${identity.document.documentRef}"`,
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
if (composition.releasePolicy.requirementRef !== composition.requirement.requirementRef
|
|
159
|
+
|| composition.releasePolicy.requirementVersion !== composition.requirement.requirementVersion) {
|
|
160
|
+
issues.push({
|
|
161
|
+
kind: GovernedDocumentReleaseCompositionIssueKind.RELEASE_POLICY_FOR_OTHER_REQUIREMENT,
|
|
162
|
+
message: `release policy governs "${composition.releasePolicy.requirementRef}@${composition.releasePolicy.requirementVersion}" `
|
|
163
|
+
+ `but this release is for "${composition.requirement.requirementRef}@${composition.requirement.requirementVersion}"`,
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
if (composition.releasePolicy.lane === ApplicationDocumentReleasePolicyLane.DRAFT_ONLY) {
|
|
167
|
+
advisories.push({
|
|
168
|
+
kind: GovernedDocumentReleaseAdvisoryKind.POLICY_IS_DRAFT_ONLY,
|
|
169
|
+
message: `the accepted release policy puts "${composition.requirement.requirementRef}" in the DRAFT_ONLY lane: compose and retain it, but nothing may serve it as published`,
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
const variantKey = assuranceDocumentPublicationVariantKey(variant);
|
|
173
|
+
if (!composition.publishedVariants.some((published) => assuranceDocumentPublicationVariantKey(published) === variantKey)) {
|
|
174
|
+
issues.push({
|
|
175
|
+
kind: GovernedDocumentReleaseCompositionIssueKind.VARIANT_NOT_PUBLISHED,
|
|
176
|
+
message: `variant "${variantKey}" is not among the variants the application declared it publishes in`,
|
|
177
|
+
});
|
|
178
|
+
}
|
|
179
|
+
/*
|
|
180
|
+
* A candidate MAY leave locale and jurisdictions open — that is deliberate upstream, so a draft can
|
|
181
|
+
* exist before the routing decision. What it may not do is state them and DISAGREE: releasing an
|
|
182
|
+
* `en-GB` draft as the `fr-FR` variant would publish text under a claim it does not make.
|
|
183
|
+
*/
|
|
184
|
+
if (candidate.locale !== undefined && candidate.locale !== variant.locale) {
|
|
185
|
+
issues.push({
|
|
186
|
+
kind: GovernedDocumentReleaseCompositionIssueKind.CANDIDATE_VARIANT_CONTRADICTION,
|
|
187
|
+
message: `candidate states locale "${candidate.locale}" but the release publishes "${variant.locale}"`,
|
|
188
|
+
});
|
|
189
|
+
}
|
|
190
|
+
if (candidate.jurisdictionRefs !== undefined && !sameSet(candidate.jurisdictionRefs, variant.jurisdictionRefs)) {
|
|
191
|
+
issues.push({
|
|
192
|
+
kind: GovernedDocumentReleaseCompositionIssueKind.CANDIDATE_VARIANT_CONTRADICTION,
|
|
193
|
+
message: `candidate states jurisdictions [${sorted(candidate.jurisdictionRefs).join(", ")}] but the release publishes [${sorted(variant.jurisdictionRefs).join(", ")}]`,
|
|
194
|
+
});
|
|
195
|
+
}
|
|
196
|
+
if (!definition.governanceSubjectKinds.includes(composition.governanceScope.subjectKind)) {
|
|
197
|
+
issues.push({
|
|
198
|
+
kind: GovernedDocumentReleaseCompositionIssueKind.GOVERNANCE_SUBJECT_NOT_PERMITTED,
|
|
199
|
+
message: `definition "${definition.identity.definitionRef}" governs [${definition.governanceSubjectKinds.join(", ")}], not "${composition.governanceScope.subjectKind}"`,
|
|
200
|
+
});
|
|
201
|
+
}
|
|
202
|
+
const replacesRelease = composition.supersedes?.previousRelease;
|
|
203
|
+
if (replacesRelease !== undefined && replacesRelease.document.documentRef !== identity.document.documentRef) {
|
|
204
|
+
issues.push({
|
|
205
|
+
kind: GovernedDocumentReleaseCompositionIssueKind.REPLACES_DIFFERENT_DOCUMENT,
|
|
206
|
+
message: `a release may only supersede the same document: replacing "${replacesRelease.document.documentRef}" with "${identity.document.documentRef}"`,
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
const approvalState = composition.approvalDecisions.length > 0
|
|
210
|
+
? GovernedDocumentReleaseApprovalState.APPROVED
|
|
211
|
+
: GovernedDocumentReleaseApprovalState.UNAPPROVED;
|
|
212
|
+
if (approvalState === GovernedDocumentReleaseApprovalState.UNAPPROVED) {
|
|
213
|
+
advisories.push({
|
|
214
|
+
kind: GovernedDocumentReleaseAdvisoryKind.NOT_APPROVED,
|
|
215
|
+
message: `no approval decision is retained for "${identity.document.documentRef}"; the release is composed and marked UNAPPROVED`,
|
|
216
|
+
});
|
|
217
|
+
}
|
|
218
|
+
// ONLY incoherence stops here. Everything above that is workflow travels with the release.
|
|
219
|
+
if (issues.length > 0)
|
|
220
|
+
return { release: undefined, issues, advisories };
|
|
221
|
+
const parsed = GovernedDocumentReleaseSchema.safeParse({
|
|
222
|
+
schemaVersion: 1,
|
|
223
|
+
identity,
|
|
224
|
+
definition: definition.identity,
|
|
225
|
+
governanceScope: composition.governanceScope,
|
|
226
|
+
// DERIVED, every one of them — see this module's header.
|
|
227
|
+
documentClass: definition.documentClass,
|
|
228
|
+
audienceKinds: [...definition.audienceKinds],
|
|
229
|
+
publicationChannelKinds: [...definition.publicationChannelKinds],
|
|
230
|
+
allowedInteractionKinds: [...definition.allowedInteractionKinds],
|
|
231
|
+
locale: variant.locale,
|
|
232
|
+
jurisdictionRefs: [...variant.jurisdictionRefs],
|
|
233
|
+
/*
|
|
234
|
+
* The text this release publishes, CAPTURED here (#968). Every later read of the release — the
|
|
235
|
+
* one in force, the one it superseded, the one scheduled next — shows the text it was composed
|
|
236
|
+
* with, not whatever the draft says by then. That only holds if the composed record is what gets
|
|
237
|
+
* committed; recomposing from the live draft on every import re-captures today's text.
|
|
238
|
+
*/
|
|
239
|
+
content: draftPublicContent(candidate, variant),
|
|
240
|
+
// The shape of `content` above — not a caller's choice, so not an input.
|
|
241
|
+
contentMediaType: GOVERNED_DOCUMENT_PUBLIC_CONTENT_MEDIA_TYPE,
|
|
242
|
+
issuedAt: composition.issuedAt,
|
|
243
|
+
effectiveAt: composition.effectiveAt,
|
|
244
|
+
...(composition.expiresAt === undefined ? {} : { expiresAt: composition.expiresAt }),
|
|
245
|
+
approvalDecisions: [...composition.approvalDecisions],
|
|
246
|
+
approvalState,
|
|
247
|
+
// Both, or neither — and both from ONE input, so the schema's pairing rule cannot be violated here.
|
|
248
|
+
...(composition.supersedes === undefined ? {} : { replacesRelease, materialityDecision: composition.supersedes }),
|
|
249
|
+
});
|
|
250
|
+
if (!parsed.success) {
|
|
251
|
+
return {
|
|
252
|
+
release: undefined,
|
|
253
|
+
issues: [{
|
|
254
|
+
kind: GovernedDocumentReleaseCompositionIssueKind.RELEASE_RECORD_INVALID,
|
|
255
|
+
message: parsed.error.issues.map((issue) => `${issue.path.join(".") || "<root>"}: ${issue.message}`).join("; "),
|
|
256
|
+
}],
|
|
257
|
+
advisories,
|
|
258
|
+
};
|
|
259
|
+
}
|
|
260
|
+
return { release: parsed.data, issues: [], advisories };
|
|
261
|
+
}
|
|
262
|
+
/**
|
|
263
|
+
* THE READ — which release is in force for one document, variant and instant.
|
|
264
|
+
*
|
|
265
|
+
* This is the half `0924c256` asked for when it deleted the custody machine: serving rebuilt as a
|
|
266
|
+
* read over committed files. It takes the releases an application has committed and answers from
|
|
267
|
+
* them alone; there is no store to consult and nothing to retrieve.
|
|
268
|
+
*
|
|
269
|
+
* What decides:
|
|
270
|
+
*
|
|
271
|
+
* - the variant must match EXACTLY. Locale and jurisdictions are one inseparable pair, and nothing
|
|
272
|
+
* here recombines them — an `en-GB` release for `jurisdiction:gb` is not an answer for
|
|
273
|
+
* `jurisdiction:eu`, even though both are `en-GB`;
|
|
274
|
+
* - `effectiveAt` must not be in the future and `expiresAt`, when present, must not have passed.
|
|
275
|
+
* A release that has been ISSUED is not yet in force; the difference is the whole point of
|
|
276
|
+
* carrying both dates;
|
|
277
|
+
* - of those in force, the one that took effect LAST wins, and `releaseVersion` breaks a tie. Two
|
|
278
|
+
* releases sharing an instant is an authoring fault rather than a question, and answering
|
|
279
|
+
* deterministically is better than answering arbitrarily.
|
|
280
|
+
*
|
|
281
|
+
* It does NOT filter by approval unless asked to — see `requireApproved`, which is the marked gate
|
|
282
|
+
* point and is off by default. An application being built must be able to read what it has.
|
|
283
|
+
*
|
|
284
|
+
* Returns `undefined` when nothing is in force, and a caller must treat that as "this application
|
|
285
|
+
* publishes no such document here yet" rather than as an error — for most of an application's life
|
|
286
|
+
* that is the true answer, and it is the state every consumer meets first.
|
|
287
|
+
*/
|
|
288
|
+
export function resolveEffectiveDocumentRelease(releases, query) {
|
|
289
|
+
const at = Date.parse(query.at);
|
|
290
|
+
if (Number.isNaN(at))
|
|
291
|
+
return undefined;
|
|
292
|
+
const inForce = releases.filter((release) => (query.requireApproved !== true || release.approvalState === GovernedDocumentReleaseApprovalState.APPROVED)
|
|
293
|
+
&& release.identity.document.documentRef === query.documentRef
|
|
294
|
+
&& release.locale === query.locale
|
|
295
|
+
&& sameSet(release.jurisdictionRefs, query.jurisdictionRefs)
|
|
296
|
+
/*
|
|
297
|
+
* The interval question is ONE implementation, in `saas-models`, shared with the record side
|
|
298
|
+
* (`composeGovernedDocumentInteraction`). It was written out here and again there, and two
|
|
299
|
+
* copies of a half-open interval is precisely where a `<=`/`<` slip lives — which would mean a
|
|
300
|
+
* surface offering a release that the recorder then refuses as out of force, or worse, the
|
|
301
|
+
* reverse.
|
|
302
|
+
*/
|
|
303
|
+
&& governedDocumentReleaseIsInForce(release, query.at));
|
|
304
|
+
if (inForce.length === 0)
|
|
305
|
+
return undefined;
|
|
306
|
+
return inForce.reduce((winner, candidate) => {
|
|
307
|
+
const byEffective = Date.parse(candidate.effectiveAt) - Date.parse(winner.effectiveAt);
|
|
308
|
+
if (byEffective !== 0)
|
|
309
|
+
return byEffective > 0 ? candidate : winner;
|
|
310
|
+
return candidate.identity.releaseVersion > winner.identity.releaseVersion ? candidate : winner;
|
|
311
|
+
});
|
|
312
|
+
}
|
|
313
|
+
/** @wildo_source:part:end saas.specifications.governed-document-release.contract */
|
|
314
|
+
//# sourceMappingURL=governed-document-release.js.map
|