@wildo-ai/saas-specifications 1.1.1 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/_core/brand/brand-asset.schemas.d.ts +4 -6
- package/dist/esm/_core/brand/brand-asset.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-asset.schemas.js +4 -12
- package/dist/esm/_core/brand/brand-asset.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-generation.schemas.d.ts +5 -3
- package/dist/esm/_core/brand/brand-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-generation.schemas.js +5 -2
- package/dist/esm/_core/brand/brand-generation.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts +10 -3
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot.schemas.js +10 -2
- package/dist/esm/_core/brand/brand-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand.family-aspects.d.ts +3 -0
- package/dist/esm/_core/brand/brand.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/brand/brand.family-aspects.js +51 -0
- package/dist/esm/_core/brand/brand.family-aspects.js.map +1 -0
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js +15 -5
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +40 -3
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +85 -6
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js +28 -0
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js +10 -4
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts +15 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.d.ts +3 -0
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.js +21 -0
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.js.map +1 -0
- package/dist/esm/_core/chart-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/chart-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/chart-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts +85 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js +41 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +178 -2
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +115 -9
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts +12 -0
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js +47 -0
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js.map +1 -0
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js +8 -3
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.d.ts +21 -0
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js +40 -0
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js.map +1 -0
- package/dist/esm/_core/composite-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +32 -0
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/execution-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/execution-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/execution-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +6 -7
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js +6 -13
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-validation.d.ts +0 -11
- package/dist/esm/_core/expert-personas/expert-persona-validation.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-validation.js +0 -19
- package/dist/esm/_core/expert-personas/expert-persona-validation.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts +1 -2
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.js +1 -2
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.js.map +1 -1
- package/dist/esm/_core/family-aspects.registry.d.ts +18 -0
- package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -0
- package/dist/esm/_core/family-aspects.registry.js +60 -0
- package/dist/esm/_core/family-aspects.registry.js.map +1 -0
- package/dist/esm/_core/family-aspects.schemas.d.ts +122 -0
- package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -0
- package/dist/esm/_core/family-aspects.schemas.js +15 -0
- package/dist/esm/_core/family-aspects.schemas.js.map +1 -0
- package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +11 -11
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.d.ts +3 -0
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js +25 -0
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js.map +1 -0
- package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js +17 -4
- package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js.map +1 -1
- package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/flows-actors-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/frontend-component-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/frontend-component-specification.schemas.js +19 -1
- package/dist/esm/_core/frontend-component-specification.schemas.js.map +1 -1
- package/dist/esm/_core/full-custom-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/full-custom-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/full-custom-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.js +14 -0
- package/dist/esm/_core/guidance-flow-specification.schemas.js.map +1 -1
- package/dist/esm/_core/index.d.ts +3 -0
- package/dist/esm/_core/index.d.ts.map +1 -1
- package/dist/esm/_core/index.js +3 -0
- package/dist/esm/_core/index.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +22 -22
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js +5 -40
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-validation.d.ts +15 -0
- package/dist/esm/_core/market/market-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/market/market-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/market/market.family-aspects.d.ts +9 -0
- package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/market/market.family-aspects.js +227 -0
- package/dist/esm/_core/market/market.family-aspects.js.map +1 -0
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/onboarding-view-specification.schemas.js +14 -0
- package/dist/esm/_core/onboarding-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js +11 -5
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +66 -9
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.js +62 -20
- package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +31 -0
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +4 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js +4 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
- package/dist/esm/_core/provider-specification.schemas.d.ts +82 -0
- package/dist/esm/_core/provider-specification.schemas.d.ts.map +1 -0
- package/dist/esm/_core/provider-specification.schemas.js +144 -0
- package/dist/esm/_core/provider-specification.schemas.js.map +1 -0
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js +13 -8
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts +15 -0
- package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.d.ts +9 -0
- package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/requirements/requirements.family-aspects.js +40 -0
- package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -0
- package/dist/esm/_core/resource-specification.schemas.d.ts +22 -0
- package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js +7 -2
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts +15 -0
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap.family-aspects.d.ts +3 -0
- package/dist/esm/_core/roadmap/roadmap.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/roadmap/roadmap.family-aspects.js +26 -0
- package/dist/esm/_core/roadmap/roadmap.family-aspects.js.map +1 -0
- package/dist/esm/_core/utils/family-ref-stamping.d.ts +64 -0
- package/dist/esm/_core/utils/family-ref-stamping.d.ts.map +1 -0
- package/dist/esm/_core/utils/family-ref-stamping.js +73 -0
- package/dist/esm/_core/utils/family-ref-stamping.js.map +1 -0
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js +23 -9
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/vision/vision.family-aspects.d.ts +11 -0
- package/dist/esm/_core/vision/vision.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/vision/vision.family-aspects.js +63 -0
- package/dist/esm/_core/vision/vision.family-aspects.js.map +1 -0
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts +0 -4
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +193 -38
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +157 -57
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts +3 -3
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js +3 -3
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts +38 -4
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js +37 -3
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/document-facts.family-aspects.d.ts +12 -0
- package/dist/esm/application-creation/document-facts.family-aspects.d.ts.map +1 -0
- package/dist/esm/application-creation/document-facts.family-aspects.js +37 -0
- package/dist/esm/application-creation/document-facts.family-aspects.js.map +1 -0
- package/dist/esm/application-creation/document-release-policy.family-aspects.d.ts +3 -0
- package/dist/esm/application-creation/document-release-policy.family-aspects.d.ts.map +1 -0
- package/dist/esm/application-creation/document-release-policy.family-aspects.js +23 -0
- package/dist/esm/application-creation/document-release-policy.family-aspects.js.map +1 -0
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +18 -6
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.js +18 -6
- package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +101 -85
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js +171 -86
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts +2 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js +2 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation.exports.d.ts +11 -0
- package/dist/esm/application-creation.exports.d.ts.map +1 -1
- package/dist/esm/application-creation.exports.js +11 -0
- package/dist/esm/application-creation.exports.js.map +1 -1
- package/dist/esm/assurance/application-document-publication.schemas.d.ts +20 -6
- package/dist/esm/assurance/application-document-publication.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/application-document-publication.schemas.js +26 -10
- package/dist/esm/assurance/application-document-publication.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +999 -2
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.js +2127 -61
- package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +26 -0
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.js +18 -3
- package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts +32 -2
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.js +32 -2
- package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts +36 -0
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +859 -0
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -0
- package/dist/esm/assurance/assurance-external-framework-mapping.d.ts +90 -0
- package/dist/esm/assurance/assurance-external-framework-mapping.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-external-framework-mapping.js +134 -0
- package/dist/esm/assurance/assurance-external-framework-mapping.js.map +1 -0
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts +43 -0
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-foundation.schemas.js +56 -0
- package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +78 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js +562 -5
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +148 -0
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-program-generation.schemas.js +385 -0
- package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -0
- package/dist/esm/assurance/assurance-program.family-aspects.d.ts +13 -0
- package/dist/esm/assurance/assurance-program.family-aspects.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-program.family-aspects.js +16 -0
- package/dist/esm/assurance/assurance-program.family-aspects.js.map +1 -0
- package/dist/esm/assurance/assurance-program.schemas.d.ts +474 -14
- package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.js +319 -8
- package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts +1 -0
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.js +12 -0
- package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.d.ts +76 -0
- package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.js +59 -0
- package/dist/esm/assurance/assurance-sources.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts +35 -0
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +999 -0
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -0
- package/dist/esm/assurance/document-publication.family-aspects.d.ts +29 -0
- package/dist/esm/assurance/document-publication.family-aspects.d.ts.map +1 -0
- package/dist/esm/assurance/document-publication.family-aspects.js +48 -0
- package/dist/esm/assurance/document-publication.family-aspects.js.map +1 -0
- package/dist/esm/assurance.exports.d.ts +2 -0
- package/dist/esm/assurance.exports.d.ts.map +1 -1
- package/dist/esm/assurance.exports.js +2 -0
- package/dist/esm/assurance.exports.js.map +1 -1
- package/dist/esm/companion-exports.d.ts +26 -8
- package/dist/esm/companion-exports.d.ts.map +1 -1
- package/dist/esm/companion-exports.js.map +1 -1
- package/dist/esm/engine/_bootstrap.js +3 -1
- package/dist/esm/engine/_bootstrap.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js +15 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +4 -2
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts +2 -0
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +17 -3
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +12 -10
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.js +4 -2
- package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.d.ts +36 -0
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js +193 -0
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js +3 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js +15 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +2 -0
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +17 -3
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +32 -0
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +308 -0
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts +1 -1
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js +6 -4
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +4 -2
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js +8 -6
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js +11 -9
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js +8 -6
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts +9 -25
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +106 -10
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts +0 -6
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +2 -0
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +32 -0
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +297 -0
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -0
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts +2 -2
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +6 -3
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts +8 -8
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js +4 -2
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts +2 -2
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js +5 -3
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.js +10 -8
- package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.js +10 -8
- package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js +16 -12
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js +10 -8
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts +6 -6
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +8 -3
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts +13 -9
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.js +30 -11
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js +10 -8
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.d.ts +2 -2
- package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.js +11 -2
- package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
- package/dist/esm/engine/engine-resource-sub-domain.d.ts +83 -0
- package/dist/esm/engine/engine-resource-sub-domain.d.ts.map +1 -0
- package/dist/esm/engine/engine-resource-sub-domain.js +153 -0
- package/dist/esm/engine/engine-resource-sub-domain.js.map +1 -0
- package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.js +44 -1
- package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
- package/dist/esm/engine/features/audit-logs.feature.specification.js +4 -4
- package/dist/esm/engine/features/audit-logs.feature.specification.js.map +1 -1
- package/dist/esm/engine/features/core-limits.feature.specifications.js +7 -7
- package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.js +5 -3
- package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js +5 -3
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.js +5 -3
- package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.js +12 -10
- package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts +3 -3
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +22 -10
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts +3 -3
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +6 -4
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +3 -3
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +4 -2
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts +3 -3
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js +3 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +81 -0
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js +8 -3
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts +0 -4
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts.map +0 -1
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js +0 -21
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js.map +0 -1
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts +0 -4
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts.map +0 -1
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js +0 -21
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js.map +0 -1
- package/dist/esm/engine/frontend-components/index.d.ts +0 -2
- package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/index.js +4 -6
- package/dist/esm/engine/frontend-components/index.js.map +1 -1
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts +1 -1
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js +15 -12
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts +1 -1
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js +12 -9
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts +9 -1
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js +9 -6
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/index.d.ts +2 -0
- package/dist/esm/engine/index.d.ts.map +1 -1
- package/dist/esm/engine/index.js +2 -0
- package/dist/esm/engine/index.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js +19 -17
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +9 -7
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js +10 -8
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +7 -2
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +12 -5
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +22 -15
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js +14 -10
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +31 -6
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js +11 -9
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js +5 -3
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js +6 -4
- package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +4 -2
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js +3 -1
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +2 -0
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +9 -7
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
- package/dist/esm/engine/providers/_engine-provider-shared.d.ts +9 -0
- package/dist/esm/engine/providers/_engine-provider-shared.d.ts.map +1 -0
- package/dist/esm/engine/providers/_engine-provider-shared.js +19 -0
- package/dist/esm/engine/providers/_engine-provider-shared.js.map +1 -0
- package/dist/esm/engine/providers/anthropic.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/anthropic.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/anthropic.provider.specification.js +33 -0
- package/dist/esm/engine/providers/anthropic.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/apple.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/apple.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/apple.provider.specification.js +35 -0
- package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/email-preview.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/email-preview.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/email-preview.provider.specification.js +31 -0
- package/dist/esm/engine/providers/email-preview.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/github.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/github.provider.specification.js +30 -0
- package/dist/esm/engine/providers/github.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/google.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/google.provider.specification.js +34 -0
- package/dist/esm/engine/providers/google.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/grok.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/grok.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/grok.provider.specification.js +30 -0
- package/dist/esm/engine/providers/grok.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/index.d.ts +23 -0
- package/dist/esm/engine/providers/index.d.ts.map +1 -0
- package/dist/esm/engine/providers/index.js +37 -0
- package/dist/esm/engine/providers/index.js.map +1 -0
- package/dist/esm/engine/providers/microsoft.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/microsoft.provider.specification.js +30 -0
- package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/mistral.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/mistral.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/mistral.provider.specification.js +33 -0
- package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/openai.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/openai.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/openai.provider.specification.js +43 -0
- package/dist/esm/engine/providers/openai.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/opencode.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/opencode.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/opencode.provider.specification.js +50 -0
- package/dist/esm/engine/providers/opencode.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/perplexity.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/perplexity.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/perplexity.provider.specification.js +30 -0
- package/dist/esm/engine/providers/perplexity.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/resend.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/resend.provider.specification.js +33 -0
- package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/stripe.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/stripe.provider.specification.js +35 -0
- package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/twilio.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/twilio.provider.specification.js +33 -0
- package/dist/esm/engine/providers/twilio.provider.specification.js.map +1 -0
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +9 -7
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +11 -9
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +4 -2
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +10 -8
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +5 -5
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +6 -4
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +4 -2
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +5 -5
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +15 -11
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts +1 -1
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js +3 -1
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.js +11 -9
- package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.js +95 -0
- package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts +5 -0
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +451 -25
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts +37 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.js +37 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/package.json +8 -8
- package/dist/esm/.builder.pid +0 -9
- package/dist/esm/_core/business-coverage/coverage-findings-validation.d.ts +0 -0
- package/dist/esm/_core/business-coverage/coverage-findings-validation.d.ts.map +0 -0
- package/dist/esm/_core/business-coverage/coverage-findings-validation.js.map +0 -0
- package/dist/esm/_core/business-coverage/coverage-findings.schemas.d.ts +0 -0
- package/dist/esm/_core/business-coverage/coverage-findings.schemas.d.ts.map +0 -0
- package/dist/esm/_core/business-coverage/coverage-findings.schemas.js.map +0 -0
|
@@ -23,8 +23,25 @@ export declare enum TechnicalDocumentationReaderAudience {
|
|
|
23
23
|
ORGANIZATION_ADMINISTRATOR = "ORGANIZATION_ADMINISTRATOR",
|
|
24
24
|
ORGANIZATION_INTEGRATION_DEVELOPER = "ORGANIZATION_INTEGRATION_DEVELOPER"
|
|
25
25
|
}
|
|
26
|
+
/**
|
|
27
|
+
* How far a piece of PROVENANCE may travel — the classification of the SOURCE a unit was derived
|
|
28
|
+
* from, not of the unit itself (that is {@link TechnicalDocumentationAccessClass}).
|
|
29
|
+
*
|
|
30
|
+
* A unit whose provenance carries anything but `PUBLIC` is suppressed from the public portal, and
|
|
31
|
+
* the public-bundle validator refuses one that slipped through. Both halves existed before
|
|
32
|
+
* `RESTRICTED` did: the vocabulary had a single member, so no unit could carry a restricted source
|
|
33
|
+
* and the suppression path had no producer at all (#474).
|
|
34
|
+
*/
|
|
26
35
|
export declare enum TechnicalDocumentationSourceClassification {
|
|
27
|
-
|
|
36
|
+
/** Derived from something the framework already publishes; safe to attribute in a public portal. */
|
|
37
|
+
PUBLIC = "PUBLIC",
|
|
38
|
+
/**
|
|
39
|
+
* Derived from a source the public portal must not attribute or expose — an internal design note,
|
|
40
|
+
* a private specification, an operational record. The unit is suppressed rather than redacted:
|
|
41
|
+
* provenance is not a field that can be trimmed and leave the unit honest, because a reader who
|
|
42
|
+
* cannot see where a statement came from cannot check it.
|
|
43
|
+
*/
|
|
44
|
+
RESTRICTED = "RESTRICTED"
|
|
28
45
|
}
|
|
29
46
|
export declare enum TechnicalDocumentationChannel {
|
|
30
47
|
PUBLIC_PORTAL = "PUBLIC_PORTAL"
|
|
@@ -48,12 +65,31 @@ export declare enum TechnicalDocumentationPublicationDecision {
|
|
|
48
65
|
REDACT = "REDACT",
|
|
49
66
|
SUPPRESS = "SUPPRESS"
|
|
50
67
|
}
|
|
68
|
+
/**
|
|
69
|
+
* Why the publication policy decided what it did about one unit. This is the decision RECORD an
|
|
70
|
+
* operator reads, so two different decisions must never share a reason — see `RESTRICTED_SOURCE`
|
|
71
|
+
* and `RESTRICTED_ASSET_REDACTED` below, which did until 2026-09-08 (#474).
|
|
72
|
+
*/
|
|
51
73
|
export declare enum TechnicalDocumentationPublicationReason {
|
|
52
74
|
ACCESS_CLASS_MISMATCH = "ACCESS_CLASS_MISMATCH",
|
|
53
75
|
APPLICABILITY_NOT_PROVEN = "APPLICABILITY_NOT_PROVEN",
|
|
54
76
|
EDITORIAL_NOT_APPROVED = "EDITORIAL_NOT_APPROVED",
|
|
55
77
|
INCLUDED_BY_POLICY = "INCLUDED_BY_POLICY",
|
|
78
|
+
/**
|
|
79
|
+
* The WHOLE unit was suppressed: its provenance names a non-`PUBLIC` source, so nothing about it
|
|
80
|
+
* may be published.
|
|
81
|
+
*/
|
|
56
82
|
RESTRICTED_SOURCE = "RESTRICTED_SOURCE",
|
|
83
|
+
/**
|
|
84
|
+
* The unit was PUBLISHED with one or more asset requests dropped, because their access class is
|
|
85
|
+
* not `PUBLIC`. The reader gets the unit; they do not get those assets.
|
|
86
|
+
*
|
|
87
|
+
* Distinct from `RESTRICTED_SOURCE` deliberately. Both used to emit `RESTRICTED_SOURCE`, so a
|
|
88
|
+
* decision record could not distinguish "this unit was withheld" from "this unit shipped with
|
|
89
|
+
* fewer pictures" — opposite outcomes for a reader, and the first is the one an operator needs
|
|
90
|
+
* to find.
|
|
91
|
+
*/
|
|
92
|
+
RESTRICTED_ASSET_REDACTED = "RESTRICTED_ASSET_REDACTED",
|
|
57
93
|
SUPERSEDED = "SUPERSEDED"
|
|
58
94
|
}
|
|
59
95
|
export declare const TechnicalDocumentationSectionV1Schema: z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"technical-documentation-units.schemas.d.ts","sourceRoot":"","sources":["../../../../src/technical-documentation/technical-documentation-units.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,OAAO,EACL,+CAA+C,EAC/C,iDAAiD,EAClD,MAAM,4CAA4C,CAAC;AAEpD,oBAAY,8BAA8B;IACxC,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,WAAW,gBAAgB;IAC3B,UAAU,eAAe;IACzB,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,eAAe,oBAAoB;CACpC;AAED,oBAAY,qCAAqC;IAC/C,qFAAqF;IACrF,gCAAgC,qCAAqC;IACrE,sBAAsB,2BAA2B;CAClD;AAED,6FAA6F;AAC7F,oBAAY,oCAAoC;IAC9C,4BAA4B,iCAAiC;IAC7D,0BAA0B,+BAA+B;IACzD,8BAA8B,mCAAmC;IACjE,0BAA0B,+BAA+B;IACzD,kCAAkC,uCAAuC;CAC1E;AAED,oBAAY,0CAA0C;IACpD,MAAM,WAAW;
|
|
1
|
+
{"version":3,"file":"technical-documentation-units.schemas.d.ts","sourceRoot":"","sources":["../../../../src/technical-documentation/technical-documentation-units.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,OAAO,EACL,+CAA+C,EAC/C,iDAAiD,EAClD,MAAM,4CAA4C,CAAC;AAEpD,oBAAY,8BAA8B;IACxC,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,WAAW,gBAAgB;IAC3B,UAAU,eAAe;IACzB,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,eAAe,oBAAoB;CACpC;AAED,oBAAY,qCAAqC;IAC/C,qFAAqF;IACrF,gCAAgC,qCAAqC;IACrE,sBAAsB,2BAA2B;CAClD;AAED,6FAA6F;AAC7F,oBAAY,oCAAoC;IAC9C,4BAA4B,iCAAiC;IAC7D,0BAA0B,+BAA+B;IACzD,8BAA8B,mCAAmC;IACjE,0BAA0B,+BAA+B;IACzD,kCAAkC,uCAAuC;CAC1E;AAED;;;;;;;;GAQG;AACH,oBAAY,0CAA0C;IACpD,oGAAoG;IACpG,MAAM,WAAW;IACjB;;;;;OAKG;IACH,UAAU,eAAe;CAC1B;AAED,oBAAY,6BAA6B;IACvC,aAAa,kBAAkB;CAChC;AAED,oBAAY,iCAAiC;IAC3C,MAAM,WAAW;CAClB;AAED,oBAAY,qCAAqC;IAC/C,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,eAAe,oBAAoB;CACpC;AAED,oBAAY,8BAA8B;IACxC,aAAa,kBAAkB;IAC/B,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,IAAI,SAAS;CACd;AAED,oBAAY,yCAAyC;IACnD,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,QAAQ,aAAa;CACtB;AAED;;;;GAIG;AACH,oBAAY,uCAAuC;IACjD,qBAAqB,0BAA0B;IAC/C,wBAAwB,6BAA6B;IACrD,sBAAsB,2BAA2B;IACjD,kBAAkB,uBAAuB;IACzC;;;OAGG;IACH,iBAAiB,sBAAsB;IACvC;;;;;;;;OAQG;IACH,yBAAyB,8BAA8B;IACvD,UAAU,eAAe;CAC1B;AAkBD,eAAO,MAAM,qCAAqC;;;;kBAIhD,CAAC;AACH,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qCAAqC,CAAC,CAAC;AAEpG,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA4B3C,CAAC;AACL,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAE9F,eAAO,MAAM,8CAA8C;;;;IAIzD;;;;;OAKG;;;kBAGH,CAAC;AACH,MAAM,MAAM,wCAAwC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8CAA8C,CAAC,CAAC;AAEtH,eAAO,MAAM,sDAAsD;;;;kBAU/D,CAAC;AACL,MAAM,MAAM,gDAAgD,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sDAAsD,CAAC,CAAC;AAEtI,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAxB7C;;;;;WAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA4DD,CAAC;AACL,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAE9F,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,4BAA4B,GAAG,4BAA4B,CAgBpH"}
|
|
@@ -30,9 +30,26 @@ export var TechnicalDocumentationReaderAudience;
|
|
|
30
30
|
TechnicalDocumentationReaderAudience["ORGANIZATION_ADMINISTRATOR"] = "ORGANIZATION_ADMINISTRATOR";
|
|
31
31
|
TechnicalDocumentationReaderAudience["ORGANIZATION_INTEGRATION_DEVELOPER"] = "ORGANIZATION_INTEGRATION_DEVELOPER";
|
|
32
32
|
})(TechnicalDocumentationReaderAudience || (TechnicalDocumentationReaderAudience = {}));
|
|
33
|
+
/**
|
|
34
|
+
* How far a piece of PROVENANCE may travel — the classification of the SOURCE a unit was derived
|
|
35
|
+
* from, not of the unit itself (that is {@link TechnicalDocumentationAccessClass}).
|
|
36
|
+
*
|
|
37
|
+
* A unit whose provenance carries anything but `PUBLIC` is suppressed from the public portal, and
|
|
38
|
+
* the public-bundle validator refuses one that slipped through. Both halves existed before
|
|
39
|
+
* `RESTRICTED` did: the vocabulary had a single member, so no unit could carry a restricted source
|
|
40
|
+
* and the suppression path had no producer at all (#474).
|
|
41
|
+
*/
|
|
33
42
|
export var TechnicalDocumentationSourceClassification;
|
|
34
43
|
(function (TechnicalDocumentationSourceClassification) {
|
|
44
|
+
/** Derived from something the framework already publishes; safe to attribute in a public portal. */
|
|
35
45
|
TechnicalDocumentationSourceClassification["PUBLIC"] = "PUBLIC";
|
|
46
|
+
/**
|
|
47
|
+
* Derived from a source the public portal must not attribute or expose — an internal design note,
|
|
48
|
+
* a private specification, an operational record. The unit is suppressed rather than redacted:
|
|
49
|
+
* provenance is not a field that can be trimmed and leave the unit honest, because a reader who
|
|
50
|
+
* cannot see where a statement came from cannot check it.
|
|
51
|
+
*/
|
|
52
|
+
TechnicalDocumentationSourceClassification["RESTRICTED"] = "RESTRICTED";
|
|
36
53
|
})(TechnicalDocumentationSourceClassification || (TechnicalDocumentationSourceClassification = {}));
|
|
37
54
|
export var TechnicalDocumentationChannel;
|
|
38
55
|
(function (TechnicalDocumentationChannel) {
|
|
@@ -61,13 +78,32 @@ export var TechnicalDocumentationPublicationDecision;
|
|
|
61
78
|
TechnicalDocumentationPublicationDecision["REDACT"] = "REDACT";
|
|
62
79
|
TechnicalDocumentationPublicationDecision["SUPPRESS"] = "SUPPRESS";
|
|
63
80
|
})(TechnicalDocumentationPublicationDecision || (TechnicalDocumentationPublicationDecision = {}));
|
|
81
|
+
/**
|
|
82
|
+
* Why the publication policy decided what it did about one unit. This is the decision RECORD an
|
|
83
|
+
* operator reads, so two different decisions must never share a reason — see `RESTRICTED_SOURCE`
|
|
84
|
+
* and `RESTRICTED_ASSET_REDACTED` below, which did until 2026-09-08 (#474).
|
|
85
|
+
*/
|
|
64
86
|
export var TechnicalDocumentationPublicationReason;
|
|
65
87
|
(function (TechnicalDocumentationPublicationReason) {
|
|
66
88
|
TechnicalDocumentationPublicationReason["ACCESS_CLASS_MISMATCH"] = "ACCESS_CLASS_MISMATCH";
|
|
67
89
|
TechnicalDocumentationPublicationReason["APPLICABILITY_NOT_PROVEN"] = "APPLICABILITY_NOT_PROVEN";
|
|
68
90
|
TechnicalDocumentationPublicationReason["EDITORIAL_NOT_APPROVED"] = "EDITORIAL_NOT_APPROVED";
|
|
69
91
|
TechnicalDocumentationPublicationReason["INCLUDED_BY_POLICY"] = "INCLUDED_BY_POLICY";
|
|
92
|
+
/**
|
|
93
|
+
* The WHOLE unit was suppressed: its provenance names a non-`PUBLIC` source, so nothing about it
|
|
94
|
+
* may be published.
|
|
95
|
+
*/
|
|
70
96
|
TechnicalDocumentationPublicationReason["RESTRICTED_SOURCE"] = "RESTRICTED_SOURCE";
|
|
97
|
+
/**
|
|
98
|
+
* The unit was PUBLISHED with one or more asset requests dropped, because their access class is
|
|
99
|
+
* not `PUBLIC`. The reader gets the unit; they do not get those assets.
|
|
100
|
+
*
|
|
101
|
+
* Distinct from `RESTRICTED_SOURCE` deliberately. Both used to emit `RESTRICTED_SOURCE`, so a
|
|
102
|
+
* decision record could not distinguish "this unit was withheld" from "this unit shipped with
|
|
103
|
+
* fewer pictures" — opposite outcomes for a reader, and the first is the one an operator needs
|
|
104
|
+
* to find.
|
|
105
|
+
*/
|
|
106
|
+
TechnicalDocumentationPublicationReason["RESTRICTED_ASSET_REDACTED"] = "RESTRICTED_ASSET_REDACTED";
|
|
71
107
|
TechnicalDocumentationPublicationReason["SUPERSEDED"] = "SUPERSEDED";
|
|
72
108
|
})(TechnicalDocumentationPublicationReason || (TechnicalDocumentationPublicationReason = {}));
|
|
73
109
|
const PortableMarkdownSchema = z
|
|
@@ -192,7 +228,7 @@ export function createTechnicalDocumentationUnitV1(input) {
|
|
|
192
228
|
applicabilityRequirements: canonicalizeTechnicalDocumentationRows(input.applicabilityRequirements.map((requirement) => ({
|
|
193
229
|
...requirement,
|
|
194
230
|
acceptableStatuses: [...new Set(requirement.acceptableStatuses)].sort(),
|
|
195
|
-
})), (requirement) => `${requirement.axis}
|
|
231
|
+
})), (requirement) => `${requirement.axis}\0${requirement.subjectRef}`),
|
|
196
232
|
assetRequests: canonicalizeTechnicalDocumentationRows(input.assetRequests, (asset) => asset.assetRef),
|
|
197
233
|
};
|
|
198
234
|
return TechnicalDocumentationUnitV1Schema.parse(canonicalInput);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"technical-documentation-units.schemas.js","sourceRoot":"","sources":["../../../../src/technical-documentation/technical-documentation-units.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,gCAAgC,EAAE,kCAAkC,EAAE,MAAM,sCAAsC,CAAC;AAE5H,OAAO,EAAE,0CAA0C,EAAE,MAAM,0CAA0C,CAAC;AACtG,OAAO,EAAE,gDAAgD,EAAE,MAAM,yDAAyD,CAAC;AAC3H,OAAO,EACL,sCAAsC,EACtC,8CAA8C,GAC/C,MAAM,0CAA0C,CAAC;AAClD,OAAO,EACL,+CAA+C,EAC/C,iDAAiD,GAClD,MAAM,4CAA4C,CAAC;AAEpD,MAAM,CAAN,IAAY,8BASX;AATD,WAAY,8BAA8B;IACxC,mDAAiB,CAAA;IACjB,qDAAmB,CAAA;IACnB,mDAAiB,CAAA;IACjB,6DAA2B,CAAA;IAC3B,2DAAyB,CAAA;IACzB,yDAAuB,CAAA;IACvB,qDAAmB,CAAA;IACnB,qEAAmC,CAAA;AACrC,CAAC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AU,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,SAAS,CAAC;QAClG,yBAAyB,EAAE,sCAAsC,CAC/D,KAAK,CAAC,yBAAyB,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC;YACpD,GAAG,WAAW;YACd,kBAAkB,EAAE,CAAC,GAAG,IAAI,GAAG,CAAC,WAAW,CAAC,kBAAkB,CAAC,CAAC,CAAC,IAAI,EAAE;SACxE,CAAC,CAAC,EACH,CAAC,WAAW,EAAE,EAAE,CAAC,GAAG,WAAW,CAAC,IAAI,IAAI,WAAW,CAAC,UAAU,EAAE,CACjE;QACD,aAAa,EAAE,sCAAsC,CAAC,KAAK,CAAC,aAAa,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC;KACtG,CAAC;IACF,OAAO,kCAAkC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;AAClE,CAAC","sourcesContent":["import { z } from \"zod\";\n\nimport { MetaWorkflow_NamespacedRefSchema, MetaWorkflow_PositiveVersionSchema } from \"@wildo-ai/saas-models/meta-workflows\";\n\nimport { TechnicalDocumentationAssetRequestV1Schema } from \"./technical-documentation-assets.schemas\";\nimport { TechnicalDocumentationApiReferenceTargetV1Schema } from \"./technical-documentation-api-reference-targets.schemas\";\nimport {\n canonicalizeTechnicalDocumentationRows,\n technicalDocumentationValuesAreUniqueAndSorted,\n} from \"./technical-documentation-common.schemas\";\nimport {\n TechnicalDocumentationApplicabilityEvidenceAxis,\n TechnicalDocumentationApplicabilityEvidenceStatus,\n} from \"./technical-documentation-evidence.schemas\";\n\nexport enum TechnicalDocumentationUnitKind {\n CHANGE = \"CHANGE\",\n CONCEPT = \"CONCEPT\",\n HOW_TO = \"HOW_TO\",\n ORIENTATION = \"ORIENTATION\",\n QUICKSTART = \"QUICKSTART\",\n REFERENCE = \"REFERENCE\",\n RUNBOOK = \"RUNBOOK\",\n TROUBLESHOOTING = \"TROUBLESHOOTING\",\n}\n\nexport enum TechnicalDocumentationSourceOwnership {\n /** A resolved application configuration projected by the application's companion. */\n APPLICATION_COMPANION_PROJECTION = \"APPLICATION_COMPANION_PROJECTION\",\n ENGINE_GENERIC_CONTENT = \"ENGINE_GENERIC_CONTENT\",\n}\n\n/** Readers of the generated application's documentation, never Wildo application authors. */\nexport enum TechnicalDocumentationReaderAudience {\n APPLICATION_OPERATIONS_STAFF = \"APPLICATION_OPERATIONS_STAFF\",\n CONSUMING_INTERNAL_SERVICE = \"CONSUMING_INTERNAL_SERVICE\",\n EXTERNAL_INTEGRATION_DEVELOPER = \"EXTERNAL_INTEGRATION_DEVELOPER\",\n ORGANIZATION_ADMINISTRATOR = \"ORGANIZATION_ADMINISTRATOR\",\n ORGANIZATION_INTEGRATION_DEVELOPER = \"ORGANIZATION_INTEGRATION_DEVELOPER\",\n}\n\nexport enum TechnicalDocumentationSourceClassification {\n PUBLIC = \"PUBLIC\",\n}\n\nexport enum TechnicalDocumentationChannel {\n PUBLIC_PORTAL = \"PUBLIC_PORTAL\",\n}\n\nexport enum TechnicalDocumentationAccessClass {\n PUBLIC = \"PUBLIC\",\n}\n\nexport enum TechnicalDocumentationEditorialStatus {\n APPROVED = \"APPROVED\",\n DRAFT = \"DRAFT\",\n REVIEW_REQUIRED = \"REVIEW_REQUIRED\",\n}\n\nexport enum TechnicalDocumentationLinkKind {\n API_REFERENCE = \"API_REFERENCE\",\n EXTERNAL = \"EXTERNAL\",\n SOURCE = \"SOURCE\",\n UNIT = \"UNIT\",\n}\n\nexport enum TechnicalDocumentationPublicationDecision {\n INCLUDE = \"INCLUDE\",\n REDACT = \"REDACT\",\n SUPPRESS = \"SUPPRESS\",\n}\n\nexport enum TechnicalDocumentationPublicationReason {\n ACCESS_CLASS_MISMATCH = \"ACCESS_CLASS_MISMATCH\",\n APPLICABILITY_NOT_PROVEN = \"APPLICABILITY_NOT_PROVEN\",\n EDITORIAL_NOT_APPROVED = \"EDITORIAL_NOT_APPROVED\",\n INCLUDED_BY_POLICY = \"INCLUDED_BY_POLICY\",\n RESTRICTED_SOURCE = \"RESTRICTED_SOURCE\",\n SUPERSEDED = \"SUPERSEDED\",\n}\n\n\nconst PortableMarkdownSchema = z\n .string()\n .trim()\n .min(1)\n .superRefine((markdown, context) => {\n if (/^\\s*(?:import|export)\\s/m.test(markdown) || /<\\/?[A-Z][A-Za-z0-9.]*(?:\\s|>|\\/)/.test(markdown)) {\n context.addIssue({ code: \"custom\", message: \"portable Markdown cannot contain executable MDX imports, exports or components\" });\n }\n if (/<\\/?(?:script|iframe|object|embed|style)\\b|\\bon[a-z]+\\s*=|javascript:/i.test(markdown)) {\n context.addIssue({ code: \"custom\", message: \"portable Markdown cannot contain active HTML or script URLs\" });\n }\n });\n\nconst TechnicalDocumentationExternalUrlSchema = z.url().regex(/^https?:\\/\\//, { message: \"external documentation links must use HTTP or HTTPS\" });\n\nexport const TechnicalDocumentationSectionV1Schema = z.strictObject({\n sectionRef: MetaWorkflow_NamespacedRefSchema,\n heading: z.string().trim().min(1),\n bodyMarkdown: PortableMarkdownSchema,\n});\nexport type TechnicalDocumentationSectionV1 = z.infer<typeof TechnicalDocumentationSectionV1Schema>;\n\nexport const TechnicalDocumentationLinkV1Schema = z\n .strictObject({\n linkRef: MetaWorkflow_NamespacedRefSchema,\n kind: z.enum(TechnicalDocumentationLinkKind),\n label: z.string().trim().min(1),\n targetUnitRef: MetaWorkflow_NamespacedRefSchema.nullable(),\n targetRef: MetaWorkflow_NamespacedRefSchema.nullable(),\n externalUrl: TechnicalDocumentationExternalUrlSchema.nullable(),\n apiReferenceTarget: TechnicalDocumentationApiReferenceTargetV1Schema.nullable(),\n })\n .superRefine((link, context) => {\n const populatedTargets = [link.targetUnitRef, link.targetRef, link.externalUrl, link.apiReferenceTarget].filter((value) => value !== null).length;\n if (populatedTargets !== 1) {\n context.addIssue({ code: \"custom\", message: \"a typed link must define exactly one matching target\", path: [\"kind\"] });\n return;\n }\n if (link.kind === TechnicalDocumentationLinkKind.UNIT && link.targetUnitRef === null) {\n context.addIssue({ code: \"custom\", message: \"UNIT links require targetUnitRef\", path: [\"targetUnitRef\"] });\n }\n if (link.kind === TechnicalDocumentationLinkKind.SOURCE && link.targetRef === null) {\n context.addIssue({ code: \"custom\", message: \"SOURCE links require targetRef\", path: [\"targetRef\"] });\n }\n if (link.kind === TechnicalDocumentationLinkKind.EXTERNAL && link.externalUrl === null) {\n context.addIssue({ code: \"custom\", message: \"EXTERNAL links require externalUrl\", path: [\"externalUrl\"] });\n }\n if (link.kind === TechnicalDocumentationLinkKind.API_REFERENCE && link.apiReferenceTarget === null) {\n context.addIssue({ code: \"custom\", message: \"API_REFERENCE links require apiReferenceTarget\", path: [\"apiReferenceTarget\"] });\n }\n });\nexport type TechnicalDocumentationLinkV1 = z.infer<typeof TechnicalDocumentationLinkV1Schema>;\n\nexport const TechnicalDocumentationSourceProvenanceV1Schema = z.strictObject({\n sourceRef: MetaWorkflow_NamespacedRefSchema,\n ownership: z.enum(TechnicalDocumentationSourceOwnership),\n classification: z.enum(TechnicalDocumentationSourceClassification),\n /**\n * The version of the source this unit was derived from. Two units citing one `sourceRef` at\n * different versions disagree about their input and are refused at bundle assembly; two citing\n * the same version agree. That is the whole question the retired `sourceSemanticDigest` answered,\n * and this form survives a merge.\n */\n sourceVersion: MetaWorkflow_PositiveVersionSchema,\n sourceAnchorRef: MetaWorkflow_NamespacedRefSchema.nullable(),\n});\nexport type TechnicalDocumentationSourceProvenanceV1 = z.infer<typeof TechnicalDocumentationSourceProvenanceV1Schema>;\n\nexport const TechnicalDocumentationApplicabilityRequirementV1Schema = z\n .strictObject({\n axis: z.enum(TechnicalDocumentationApplicabilityEvidenceAxis),\n subjectRef: MetaWorkflow_NamespacedRefSchema,\n acceptableStatuses: z.array(z.enum(TechnicalDocumentationApplicabilityEvidenceStatus)).min(1),\n })\n .superRefine((requirement, context) => {\n if (!technicalDocumentationValuesAreUniqueAndSorted(requirement.acceptableStatuses)) {\n context.addIssue({ code: \"custom\", message: \"acceptableStatuses must be unique and sorted\", path: [\"acceptableStatuses\"] });\n }\n });\nexport type TechnicalDocumentationApplicabilityRequirementV1 = z.infer<typeof TechnicalDocumentationApplicabilityRequirementV1Schema>;\n\nexport const TechnicalDocumentationUnitV1Schema = z\n .strictObject({\n schemaVersion: z.literal(1),\n unitRef: MetaWorkflow_NamespacedRefSchema,\n unitVersion: MetaWorkflow_PositiveVersionSchema,\n kind: z.enum(TechnicalDocumentationUnitKind),\n readerAudiences: z.array(z.enum(TechnicalDocumentationReaderAudience)).min(1),\n title: z.string().trim().min(1),\n summary: z.string().trim().min(1),\n sections: z.array(TechnicalDocumentationSectionV1Schema).min(1),\n links: z.array(TechnicalDocumentationLinkV1Schema),\n provenance: z.array(TechnicalDocumentationSourceProvenanceV1Schema).min(1),\n applicabilityRequirements: z.array(TechnicalDocumentationApplicabilityRequirementV1Schema),\n accessClass: z.enum(TechnicalDocumentationAccessClass),\n editorialStatus: z.enum(TechnicalDocumentationEditorialStatus),\n assetRequests: z.array(TechnicalDocumentationAssetRequestV1Schema),\n })\n .superRefine((unit, context) => {\n const sectionRefs = unit.sections.map((section) => section.sectionRef);\n if (!technicalDocumentationValuesAreUniqueAndSorted(unit.readerAudiences)) {\n context.addIssue({ code: \"custom\", message: \"readerAudiences must be unique and sorted\", path: [\"readerAudiences\"] });\n }\n if (new Set(sectionRefs).size !== sectionRefs.length) {\n context.addIssue({ code: \"custom\", message: \"section refs must be unique while retaining authored order\", path: [\"sections\"] });\n }\n const linkRefs = unit.links.map((link) => link.linkRef);\n if (!technicalDocumentationValuesAreUniqueAndSorted(linkRefs)) {\n context.addIssue({ code: \"custom\", message: \"links must be unique and sorted by linkRef\", path: [\"links\"] });\n }\n const sourceRefs = unit.provenance.map((source) => source.sourceRef);\n if (!technicalDocumentationValuesAreUniqueAndSorted(sourceRefs)) {\n context.addIssue({ code: \"custom\", message: \"provenance must be unique and sorted by sourceRef\", path: [\"provenance\"] });\n }\n const requirementKeys = unit.applicabilityRequirements.map((requirement) => `${requirement.axis}\\0${requirement.subjectRef}`);\n if (!technicalDocumentationValuesAreUniqueAndSorted(requirementKeys)) {\n context.addIssue({ code: \"custom\", message: \"applicability requirements must be unique and sorted\", path: [\"applicabilityRequirements\"] });\n }\n const assetRefs = unit.assetRequests.map((asset) => asset.assetRef);\n if (!technicalDocumentationValuesAreUniqueAndSorted(assetRefs)) {\n context.addIssue({ code: \"custom\", message: \"asset requests must be unique and sorted by assetRef\", path: [\"assetRequests\"] });\n }\n });\nexport type TechnicalDocumentationUnitV1 = z.infer<typeof TechnicalDocumentationUnitV1Schema>;\n\nexport function createTechnicalDocumentationUnitV1(input: TechnicalDocumentationUnitV1): TechnicalDocumentationUnitV1 {\n const canonicalInput: TechnicalDocumentationUnitV1 = {\n ...input,\n readerAudiences: [...new Set(input.readerAudiences)].sort(),\n links: canonicalizeTechnicalDocumentationRows(input.links, (link) => link.linkRef),\n provenance: canonicalizeTechnicalDocumentationRows(input.provenance, (source) => source.sourceRef),\n applicabilityRequirements: canonicalizeTechnicalDocumentationRows(\n input.applicabilityRequirements.map((requirement) => ({\n ...requirement,\n acceptableStatuses: [...new Set(requirement.acceptableStatuses)].sort(),\n })),\n (requirement) => `${requirement.axis}\u0000${requirement.subjectRef}`,\n ),\n assetRequests: canonicalizeTechnicalDocumentationRows(input.assetRequests, (asset) => asset.assetRef),\n };\n return TechnicalDocumentationUnitV1Schema.parse(canonicalInput);\n}\n"]}
|
|
1
|
+
{"version":3,"file":"technical-documentation-units.schemas.js","sourceRoot":"","sources":["../../../../src/technical-documentation/technical-documentation-units.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,gCAAgC,EAAE,kCAAkC,EAAE,MAAM,sCAAsC,CAAC;AAE5H,OAAO,EAAE,0CAA0C,EAAE,MAAM,0CAA0C,CAAC;AACtG,OAAO,EAAE,gDAAgD,EAAE,MAAM,yDAAyD,C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AC/D,OAAO,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,sDAAsD,EAAE,IAAI,EAAE,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC;IACjI,CAAC;AACH,CAAC,CAAC,CAAC;AAGL,MAAM,UAAU,kCAAkC,CAAC,KAAmC;IACpF,MAAM,cAAc,GAAiC;QACnD,GAAG,KAAK;QACR,eAAe,EAAE,CAAC,GAAG,IAAI,GAAG,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,IAAI,EAAE;QAC3D,KAAK,EAAE,sCAAsC,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC;QAClF,UAAU,EAAE,sCAAsC,CAAC,KAAK,CAAC,UAAU,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,SAAS,CAAC;QAClG,yBAAyB,EAAE,sCAAsC,CAC/D,KAAK,CAAC,yBAAyB,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC;YACpD,GAAG,WAAW;YACd,kBAAkB,EAAE,CAAC,GAAG,IAAI,GAAG,CAAC,WAAW,CAAC,kBAAkB,CAAC,CAAC,CAAC,IAAI,EAAE;SACxE,CAAC,CAAC,EACH,CAAC,WAAW,EAAE,EAAE,CAAC,GAAG,WAAW,CAAC,IAAI,KAAK,WAAW,CAAC,UAAU,EAAE,CAClE;QACD,aAAa,EAAE,sCAAsC,CAAC,KAAK,CAAC,aAAa,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC;KACtG,CAAC;IACF,OAAO,kCAAkC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;AAClE,CAAC","sourcesContent":["import { z } from \"zod\";\n\nimport { MetaWorkflow_NamespacedRefSchema, MetaWorkflow_PositiveVersionSchema } from \"@wildo-ai/saas-models/meta-workflows\";\n\nimport { TechnicalDocumentationAssetRequestV1Schema } from \"./technical-documentation-assets.schemas\";\nimport { TechnicalDocumentationApiReferenceTargetV1Schema } from \"./technical-documentation-api-reference-targets.schemas\";\nimport {\n canonicalizeTechnicalDocumentationRows,\n technicalDocumentationValuesAreUniqueAndSorted,\n} from \"./technical-documentation-common.schemas\";\nimport {\n TechnicalDocumentationApplicabilityEvidenceAxis,\n TechnicalDocumentationApplicabilityEvidenceStatus,\n} from \"./technical-documentation-evidence.schemas\";\n\nexport enum TechnicalDocumentationUnitKind {\n CHANGE = \"CHANGE\",\n CONCEPT = \"CONCEPT\",\n HOW_TO = \"HOW_TO\",\n ORIENTATION = \"ORIENTATION\",\n QUICKSTART = \"QUICKSTART\",\n REFERENCE = \"REFERENCE\",\n RUNBOOK = \"RUNBOOK\",\n TROUBLESHOOTING = \"TROUBLESHOOTING\",\n}\n\nexport enum TechnicalDocumentationSourceOwnership {\n /** A resolved application configuration projected by the application's companion. */\n APPLICATION_COMPANION_PROJECTION = \"APPLICATION_COMPANION_PROJECTION\",\n ENGINE_GENERIC_CONTENT = \"ENGINE_GENERIC_CONTENT\",\n}\n\n/** Readers of the generated application's documentation, never Wildo application authors. */\nexport enum TechnicalDocumentationReaderAudience {\n APPLICATION_OPERATIONS_STAFF = \"APPLICATION_OPERATIONS_STAFF\",\n CONSUMING_INTERNAL_SERVICE = \"CONSUMING_INTERNAL_SERVICE\",\n EXTERNAL_INTEGRATION_DEVELOPER = \"EXTERNAL_INTEGRATION_DEVELOPER\",\n ORGANIZATION_ADMINISTRATOR = \"ORGANIZATION_ADMINISTRATOR\",\n ORGANIZATION_INTEGRATION_DEVELOPER = \"ORGANIZATION_INTEGRATION_DEVELOPER\",\n}\n\n/**\n * How far a piece of PROVENANCE may travel — the classification of the SOURCE a unit was derived\n * from, not of the unit itself (that is {@link TechnicalDocumentationAccessClass}).\n *\n * A unit whose provenance carries anything but `PUBLIC` is suppressed from the public portal, and\n * the public-bundle validator refuses one that slipped through. Both halves existed before\n * `RESTRICTED` did: the vocabulary had a single member, so no unit could carry a restricted source\n * and the suppression path had no producer at all (#474).\n */\nexport enum TechnicalDocumentationSourceClassification {\n /** Derived from something the framework already publishes; safe to attribute in a public portal. */\n PUBLIC = \"PUBLIC\",\n /**\n * Derived from a source the public portal must not attribute or expose — an internal design note,\n * a private specification, an operational record. The unit is suppressed rather than redacted:\n * provenance is not a field that can be trimmed and leave the unit honest, because a reader who\n * cannot see where a statement came from cannot check it.\n */\n RESTRICTED = \"RESTRICTED\",\n}\n\nexport enum TechnicalDocumentationChannel {\n PUBLIC_PORTAL = \"PUBLIC_PORTAL\",\n}\n\nexport enum TechnicalDocumentationAccessClass {\n PUBLIC = \"PUBLIC\",\n}\n\nexport enum TechnicalDocumentationEditorialStatus {\n APPROVED = \"APPROVED\",\n DRAFT = \"DRAFT\",\n REVIEW_REQUIRED = \"REVIEW_REQUIRED\",\n}\n\nexport enum TechnicalDocumentationLinkKind {\n API_REFERENCE = \"API_REFERENCE\",\n EXTERNAL = \"EXTERNAL\",\n SOURCE = \"SOURCE\",\n UNIT = \"UNIT\",\n}\n\nexport enum TechnicalDocumentationPublicationDecision {\n INCLUDE = \"INCLUDE\",\n REDACT = \"REDACT\",\n SUPPRESS = \"SUPPRESS\",\n}\n\n/**\n * Why the publication policy decided what it did about one unit. This is the decision RECORD an\n * operator reads, so two different decisions must never share a reason — see `RESTRICTED_SOURCE`\n * and `RESTRICTED_ASSET_REDACTED` below, which did until 2026-09-08 (#474).\n */\nexport enum TechnicalDocumentationPublicationReason {\n ACCESS_CLASS_MISMATCH = \"ACCESS_CLASS_MISMATCH\",\n APPLICABILITY_NOT_PROVEN = \"APPLICABILITY_NOT_PROVEN\",\n EDITORIAL_NOT_APPROVED = \"EDITORIAL_NOT_APPROVED\",\n INCLUDED_BY_POLICY = \"INCLUDED_BY_POLICY\",\n /**\n * The WHOLE unit was suppressed: its provenance names a non-`PUBLIC` source, so nothing about it\n * may be published.\n */\n RESTRICTED_SOURCE = \"RESTRICTED_SOURCE\",\n /**\n * The unit was PUBLISHED with one or more asset requests dropped, because their access class is\n * not `PUBLIC`. The reader gets the unit; they do not get those assets.\n *\n * Distinct from `RESTRICTED_SOURCE` deliberately. Both used to emit `RESTRICTED_SOURCE`, so a\n * decision record could not distinguish \"this unit was withheld\" from \"this unit shipped with\n * fewer pictures\" — opposite outcomes for a reader, and the first is the one an operator needs\n * to find.\n */\n RESTRICTED_ASSET_REDACTED = \"RESTRICTED_ASSET_REDACTED\",\n SUPERSEDED = \"SUPERSEDED\",\n}\n\n\nconst PortableMarkdownSchema = z\n .string()\n .trim()\n .min(1)\n .superRefine((markdown, context) => {\n if (/^\\s*(?:import|export)\\s/m.test(markdown) || /<\\/?[A-Z][A-Za-z0-9.]*(?:\\s|>|\\/)/.test(markdown)) {\n context.addIssue({ code: \"custom\", message: \"portable Markdown cannot contain executable MDX imports, exports or components\" });\n }\n if (/<\\/?(?:script|iframe|object|embed|style)\\b|\\bon[a-z]+\\s*=|javascript:/i.test(markdown)) {\n context.addIssue({ code: \"custom\", message: \"portable Markdown cannot contain active HTML or script URLs\" });\n }\n });\n\nconst TechnicalDocumentationExternalUrlSchema = z.url().regex(/^https?:\\/\\//, { message: \"external documentation links must use HTTP or HTTPS\" });\n\nexport const TechnicalDocumentationSectionV1Schema = z.strictObject({\n sectionRef: MetaWorkflow_NamespacedRefSchema,\n heading: z.string().trim().min(1),\n bodyMarkdown: PortableMarkdownSchema,\n});\nexport type TechnicalDocumentationSectionV1 = z.infer<typeof TechnicalDocumentationSectionV1Schema>;\n\nexport const TechnicalDocumentationLinkV1Schema = z\n .strictObject({\n linkRef: MetaWorkflow_NamespacedRefSchema,\n kind: z.enum(TechnicalDocumentationLinkKind),\n label: z.string().trim().min(1),\n targetUnitRef: MetaWorkflow_NamespacedRefSchema.nullable(),\n targetRef: MetaWorkflow_NamespacedRefSchema.nullable(),\n externalUrl: TechnicalDocumentationExternalUrlSchema.nullable(),\n apiReferenceTarget: TechnicalDocumentationApiReferenceTargetV1Schema.nullable(),\n })\n .superRefine((link, context) => {\n const populatedTargets = [link.targetUnitRef, link.targetRef, link.externalUrl, link.apiReferenceTarget].filter((value) => value !== null).length;\n if (populatedTargets !== 1) {\n context.addIssue({ code: \"custom\", message: \"a typed link must define exactly one matching target\", path: [\"kind\"] });\n return;\n }\n if (link.kind === TechnicalDocumentationLinkKind.UNIT && link.targetUnitRef === null) {\n context.addIssue({ code: \"custom\", message: \"UNIT links require targetUnitRef\", path: [\"targetUnitRef\"] });\n }\n if (link.kind === TechnicalDocumentationLinkKind.SOURCE && link.targetRef === null) {\n context.addIssue({ code: \"custom\", message: \"SOURCE links require targetRef\", path: [\"targetRef\"] });\n }\n if (link.kind === TechnicalDocumentationLinkKind.EXTERNAL && link.externalUrl === null) {\n context.addIssue({ code: \"custom\", message: \"EXTERNAL links require externalUrl\", path: [\"externalUrl\"] });\n }\n if (link.kind === TechnicalDocumentationLinkKind.API_REFERENCE && link.apiReferenceTarget === null) {\n context.addIssue({ code: \"custom\", message: \"API_REFERENCE links require apiReferenceTarget\", path: [\"apiReferenceTarget\"] });\n }\n });\nexport type TechnicalDocumentationLinkV1 = z.infer<typeof TechnicalDocumentationLinkV1Schema>;\n\nexport const TechnicalDocumentationSourceProvenanceV1Schema = z.strictObject({\n sourceRef: MetaWorkflow_NamespacedRefSchema,\n ownership: z.enum(TechnicalDocumentationSourceOwnership),\n classification: z.enum(TechnicalDocumentationSourceClassification),\n /**\n * The version of the source this unit was derived from. Two units citing one `sourceRef` at\n * different versions disagree about their input and are refused at bundle assembly; two citing\n * the same version agree. That is the whole question the retired `sourceSemanticDigest` answered,\n * and this form survives a merge.\n */\n sourceVersion: MetaWorkflow_PositiveVersionSchema,\n sourceAnchorRef: MetaWorkflow_NamespacedRefSchema.nullable(),\n});\nexport type TechnicalDocumentationSourceProvenanceV1 = z.infer<typeof TechnicalDocumentationSourceProvenanceV1Schema>;\n\nexport const TechnicalDocumentationApplicabilityRequirementV1Schema = z\n .strictObject({\n axis: z.enum(TechnicalDocumentationApplicabilityEvidenceAxis),\n subjectRef: MetaWorkflow_NamespacedRefSchema,\n acceptableStatuses: z.array(z.enum(TechnicalDocumentationApplicabilityEvidenceStatus)).min(1),\n })\n .superRefine((requirement, context) => {\n if (!technicalDocumentationValuesAreUniqueAndSorted(requirement.acceptableStatuses)) {\n context.addIssue({ code: \"custom\", message: \"acceptableStatuses must be unique and sorted\", path: [\"acceptableStatuses\"] });\n }\n });\nexport type TechnicalDocumentationApplicabilityRequirementV1 = z.infer<typeof TechnicalDocumentationApplicabilityRequirementV1Schema>;\n\nexport const TechnicalDocumentationUnitV1Schema = z\n .strictObject({\n schemaVersion: z.literal(1),\n unitRef: MetaWorkflow_NamespacedRefSchema,\n unitVersion: MetaWorkflow_PositiveVersionSchema,\n kind: z.enum(TechnicalDocumentationUnitKind),\n readerAudiences: z.array(z.enum(TechnicalDocumentationReaderAudience)).min(1),\n title: z.string().trim().min(1),\n summary: z.string().trim().min(1),\n sections: z.array(TechnicalDocumentationSectionV1Schema).min(1),\n links: z.array(TechnicalDocumentationLinkV1Schema),\n provenance: z.array(TechnicalDocumentationSourceProvenanceV1Schema).min(1),\n applicabilityRequirements: z.array(TechnicalDocumentationApplicabilityRequirementV1Schema),\n accessClass: z.enum(TechnicalDocumentationAccessClass),\n editorialStatus: z.enum(TechnicalDocumentationEditorialStatus),\n assetRequests: z.array(TechnicalDocumentationAssetRequestV1Schema),\n })\n .superRefine((unit, context) => {\n const sectionRefs = unit.sections.map((section) => section.sectionRef);\n if (!technicalDocumentationValuesAreUniqueAndSorted(unit.readerAudiences)) {\n context.addIssue({ code: \"custom\", message: \"readerAudiences must be unique and sorted\", path: [\"readerAudiences\"] });\n }\n if (new Set(sectionRefs).size !== sectionRefs.length) {\n context.addIssue({ code: \"custom\", message: \"section refs must be unique while retaining authored order\", path: [\"sections\"] });\n }\n const linkRefs = unit.links.map((link) => link.linkRef);\n if (!technicalDocumentationValuesAreUniqueAndSorted(linkRefs)) {\n context.addIssue({ code: \"custom\", message: \"links must be unique and sorted by linkRef\", path: [\"links\"] });\n }\n const sourceRefs = unit.provenance.map((source) => source.sourceRef);\n if (!technicalDocumentationValuesAreUniqueAndSorted(sourceRefs)) {\n context.addIssue({ code: \"custom\", message: \"provenance must be unique and sorted by sourceRef\", path: [\"provenance\"] });\n }\n const requirementKeys = unit.applicabilityRequirements.map((requirement) => `${requirement.axis}\\0${requirement.subjectRef}`);\n if (!technicalDocumentationValuesAreUniqueAndSorted(requirementKeys)) {\n context.addIssue({ code: \"custom\", message: \"applicability requirements must be unique and sorted\", path: [\"applicabilityRequirements\"] });\n }\n const assetRefs = unit.assetRequests.map((asset) => asset.assetRef);\n if (!technicalDocumentationValuesAreUniqueAndSorted(assetRefs)) {\n context.addIssue({ code: \"custom\", message: \"asset requests must be unique and sorted by assetRef\", path: [\"assetRequests\"] });\n }\n });\nexport type TechnicalDocumentationUnitV1 = z.infer<typeof TechnicalDocumentationUnitV1Schema>;\n\nexport function createTechnicalDocumentationUnitV1(input: TechnicalDocumentationUnitV1): TechnicalDocumentationUnitV1 {\n const canonicalInput: TechnicalDocumentationUnitV1 = {\n ...input,\n readerAudiences: [...new Set(input.readerAudiences)].sort(),\n links: canonicalizeTechnicalDocumentationRows(input.links, (link) => link.linkRef),\n provenance: canonicalizeTechnicalDocumentationRows(input.provenance, (source) => source.sourceRef),\n applicabilityRequirements: canonicalizeTechnicalDocumentationRows(\n input.applicabilityRequirements.map((requirement) => ({\n ...requirement,\n acceptableStatuses: [...new Set(requirement.acceptableStatuses)].sort(),\n })),\n (requirement) => `${requirement.axis}\\0${requirement.subjectRef}`,\n ),\n assetRequests: canonicalizeTechnicalDocumentationRows(input.assetRequests, (asset) => asset.assetRef),\n };\n return TechnicalDocumentationUnitV1Schema.parse(canonicalInput);\n}\n"]}
|