@wildo-ai/saas-specifications 1.1.1 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/_core/brand/brand-asset.schemas.d.ts +4 -6
- package/dist/esm/_core/brand/brand-asset.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-asset.schemas.js +4 -12
- package/dist/esm/_core/brand/brand-asset.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-generation.schemas.d.ts +5 -3
- package/dist/esm/_core/brand/brand-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-generation.schemas.js +5 -2
- package/dist/esm/_core/brand/brand-generation.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts +10 -3
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot.schemas.js +10 -2
- package/dist/esm/_core/brand/brand-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand.family-aspects.d.ts +3 -0
- package/dist/esm/_core/brand/brand.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/brand/brand.family-aspects.js +51 -0
- package/dist/esm/_core/brand/brand.family-aspects.js.map +1 -0
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js +15 -5
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +40 -3
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +85 -6
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js +28 -0
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js +10 -4
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts +15 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.d.ts +3 -0
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.js +21 -0
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.js.map +1 -0
- package/dist/esm/_core/chart-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/chart-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/chart-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts +85 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js +41 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +178 -2
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +115 -9
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts +12 -0
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js +47 -0
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js.map +1 -0
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js +8 -3
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.d.ts +21 -0
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js +40 -0
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js.map +1 -0
- package/dist/esm/_core/composite-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +32 -0
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/execution-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/execution-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/execution-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +6 -7
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js +6 -13
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-validation.d.ts +0 -11
- package/dist/esm/_core/expert-personas/expert-persona-validation.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-validation.js +0 -19
- package/dist/esm/_core/expert-personas/expert-persona-validation.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts +1 -2
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.js +1 -2
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.js.map +1 -1
- package/dist/esm/_core/family-aspects.registry.d.ts +18 -0
- package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -0
- package/dist/esm/_core/family-aspects.registry.js +60 -0
- package/dist/esm/_core/family-aspects.registry.js.map +1 -0
- package/dist/esm/_core/family-aspects.schemas.d.ts +122 -0
- package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -0
- package/dist/esm/_core/family-aspects.schemas.js +15 -0
- package/dist/esm/_core/family-aspects.schemas.js.map +1 -0
- package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +11 -11
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.d.ts +3 -0
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js +25 -0
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js.map +1 -0
- package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js +17 -4
- package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js.map +1 -1
- package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/flows-actors-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/frontend-component-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/frontend-component-specification.schemas.js +19 -1
- package/dist/esm/_core/frontend-component-specification.schemas.js.map +1 -1
- package/dist/esm/_core/full-custom-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/full-custom-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/full-custom-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.js +14 -0
- package/dist/esm/_core/guidance-flow-specification.schemas.js.map +1 -1
- package/dist/esm/_core/index.d.ts +3 -0
- package/dist/esm/_core/index.d.ts.map +1 -1
- package/dist/esm/_core/index.js +3 -0
- package/dist/esm/_core/index.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +22 -22
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js +5 -40
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-validation.d.ts +15 -0
- package/dist/esm/_core/market/market-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/market/market-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/market/market.family-aspects.d.ts +9 -0
- package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/market/market.family-aspects.js +227 -0
- package/dist/esm/_core/market/market.family-aspects.js.map +1 -0
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts +11 -0
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/onboarding-view-specification.schemas.js +14 -0
- package/dist/esm/_core/onboarding-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js +11 -5
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +66 -9
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.js +62 -20
- package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +31 -0
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +4 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js +4 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
- package/dist/esm/_core/provider-specification.schemas.d.ts +82 -0
- package/dist/esm/_core/provider-specification.schemas.d.ts.map +1 -0
- package/dist/esm/_core/provider-specification.schemas.js +144 -0
- package/dist/esm/_core/provider-specification.schemas.js.map +1 -0
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js +13 -8
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts +15 -0
- package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.d.ts +9 -0
- package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/requirements/requirements.family-aspects.js +40 -0
- package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -0
- package/dist/esm/_core/resource-specification.schemas.d.ts +22 -0
- package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js +7 -2
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts +15 -0
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap.family-aspects.d.ts +3 -0
- package/dist/esm/_core/roadmap/roadmap.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/roadmap/roadmap.family-aspects.js +26 -0
- package/dist/esm/_core/roadmap/roadmap.family-aspects.js.map +1 -0
- package/dist/esm/_core/utils/family-ref-stamping.d.ts +64 -0
- package/dist/esm/_core/utils/family-ref-stamping.d.ts.map +1 -0
- package/dist/esm/_core/utils/family-ref-stamping.js +73 -0
- package/dist/esm/_core/utils/family-ref-stamping.js.map +1 -0
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js +23 -9
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/vision/vision.family-aspects.d.ts +11 -0
- package/dist/esm/_core/vision/vision.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/vision/vision.family-aspects.js +63 -0
- package/dist/esm/_core/vision/vision.family-aspects.js.map +1 -0
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts +0 -4
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +193 -38
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +157 -57
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts +3 -3
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js +3 -3
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts +38 -4
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js +37 -3
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/document-facts.family-aspects.d.ts +12 -0
- package/dist/esm/application-creation/document-facts.family-aspects.d.ts.map +1 -0
- package/dist/esm/application-creation/document-facts.family-aspects.js +37 -0
- package/dist/esm/application-creation/document-facts.family-aspects.js.map +1 -0
- package/dist/esm/application-creation/document-release-policy.family-aspects.d.ts +3 -0
- package/dist/esm/application-creation/document-release-policy.family-aspects.d.ts.map +1 -0
- package/dist/esm/application-creation/document-release-policy.family-aspects.js +23 -0
- package/dist/esm/application-creation/document-release-policy.family-aspects.js.map +1 -0
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +18 -6
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.js +18 -6
- package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +101 -85
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js +171 -86
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts +2 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js +2 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation.exports.d.ts +11 -0
- package/dist/esm/application-creation.exports.d.ts.map +1 -1
- package/dist/esm/application-creation.exports.js +11 -0
- package/dist/esm/application-creation.exports.js.map +1 -1
- package/dist/esm/assurance/application-document-publication.schemas.d.ts +20 -6
- package/dist/esm/assurance/application-document-publication.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/application-document-publication.schemas.js +26 -10
- package/dist/esm/assurance/application-document-publication.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +999 -2
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.js +2127 -61
- package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +26 -0
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.js +18 -3
- package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts +32 -2
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.js +32 -2
- package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts +36 -0
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +859 -0
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -0
- package/dist/esm/assurance/assurance-external-framework-mapping.d.ts +90 -0
- package/dist/esm/assurance/assurance-external-framework-mapping.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-external-framework-mapping.js +134 -0
- package/dist/esm/assurance/assurance-external-framework-mapping.js.map +1 -0
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts +43 -0
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-foundation.schemas.js +56 -0
- package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +78 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js +562 -5
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +148 -0
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-program-generation.schemas.js +385 -0
- package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -0
- package/dist/esm/assurance/assurance-program.family-aspects.d.ts +13 -0
- package/dist/esm/assurance/assurance-program.family-aspects.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-program.family-aspects.js +16 -0
- package/dist/esm/assurance/assurance-program.family-aspects.js.map +1 -0
- package/dist/esm/assurance/assurance-program.schemas.d.ts +474 -14
- package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.js +319 -8
- package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts +1 -0
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.js +12 -0
- package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.d.ts +76 -0
- package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.js +59 -0
- package/dist/esm/assurance/assurance-sources.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts +35 -0
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +999 -0
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -0
- package/dist/esm/assurance/document-publication.family-aspects.d.ts +29 -0
- package/dist/esm/assurance/document-publication.family-aspects.d.ts.map +1 -0
- package/dist/esm/assurance/document-publication.family-aspects.js +48 -0
- package/dist/esm/assurance/document-publication.family-aspects.js.map +1 -0
- package/dist/esm/assurance.exports.d.ts +2 -0
- package/dist/esm/assurance.exports.d.ts.map +1 -1
- package/dist/esm/assurance.exports.js +2 -0
- package/dist/esm/assurance.exports.js.map +1 -1
- package/dist/esm/companion-exports.d.ts +26 -8
- package/dist/esm/companion-exports.d.ts.map +1 -1
- package/dist/esm/companion-exports.js.map +1 -1
- package/dist/esm/engine/_bootstrap.js +3 -1
- package/dist/esm/engine/_bootstrap.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js +15 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +4 -2
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts +2 -0
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +17 -3
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +12 -10
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.js +4 -2
- package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.d.ts +36 -0
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js +193 -0
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js +3 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js +15 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +2 -0
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +17 -3
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +32 -0
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +308 -0
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts +1 -1
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js +6 -4
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +4 -2
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js +8 -6
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js +11 -9
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js +8 -6
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts +9 -25
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +106 -10
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts +0 -6
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +2 -0
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +32 -0
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +297 -0
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -0
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts +2 -2
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +6 -3
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts +8 -8
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js +4 -2
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts +2 -2
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js +5 -3
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.js +10 -8
- package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.js +10 -8
- package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js +16 -12
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js +10 -8
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts +6 -6
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +8 -3
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts +13 -9
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.js +30 -11
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js +10 -8
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.d.ts +2 -2
- package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.js +11 -2
- package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
- package/dist/esm/engine/engine-resource-sub-domain.d.ts +83 -0
- package/dist/esm/engine/engine-resource-sub-domain.d.ts.map +1 -0
- package/dist/esm/engine/engine-resource-sub-domain.js +153 -0
- package/dist/esm/engine/engine-resource-sub-domain.js.map +1 -0
- package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.js +44 -1
- package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
- package/dist/esm/engine/features/audit-logs.feature.specification.js +4 -4
- package/dist/esm/engine/features/audit-logs.feature.specification.js.map +1 -1
- package/dist/esm/engine/features/core-limits.feature.specifications.js +7 -7
- package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.js +5 -3
- package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js +5 -3
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.js +5 -3
- package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.js +12 -10
- package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts +3 -3
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +22 -10
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts +3 -3
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +6 -4
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +3 -3
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +4 -2
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts +3 -3
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js +3 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +81 -0
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js +8 -3
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts +0 -4
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts.map +0 -1
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js +0 -21
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js.map +0 -1
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts +0 -4
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts.map +0 -1
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js +0 -21
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js.map +0 -1
- package/dist/esm/engine/frontend-components/index.d.ts +0 -2
- package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/index.js +4 -6
- package/dist/esm/engine/frontend-components/index.js.map +1 -1
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts +1 -1
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js +15 -12
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts +1 -1
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js +12 -9
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts +9 -1
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js +9 -6
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/index.d.ts +2 -0
- package/dist/esm/engine/index.d.ts.map +1 -1
- package/dist/esm/engine/index.js +2 -0
- package/dist/esm/engine/index.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js +19 -17
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +9 -7
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js +10 -8
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +7 -2
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +12 -5
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +22 -15
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js +14 -10
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +31 -6
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js +11 -9
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js +5 -3
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js +6 -4
- package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +4 -2
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js +3 -1
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +2 -0
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +9 -7
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
- package/dist/esm/engine/providers/_engine-provider-shared.d.ts +9 -0
- package/dist/esm/engine/providers/_engine-provider-shared.d.ts.map +1 -0
- package/dist/esm/engine/providers/_engine-provider-shared.js +19 -0
- package/dist/esm/engine/providers/_engine-provider-shared.js.map +1 -0
- package/dist/esm/engine/providers/anthropic.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/anthropic.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/anthropic.provider.specification.js +33 -0
- package/dist/esm/engine/providers/anthropic.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/apple.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/apple.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/apple.provider.specification.js +35 -0
- package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/email-preview.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/email-preview.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/email-preview.provider.specification.js +31 -0
- package/dist/esm/engine/providers/email-preview.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/github.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/github.provider.specification.js +30 -0
- package/dist/esm/engine/providers/github.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/google.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/google.provider.specification.js +34 -0
- package/dist/esm/engine/providers/google.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/grok.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/grok.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/grok.provider.specification.js +30 -0
- package/dist/esm/engine/providers/grok.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/index.d.ts +23 -0
- package/dist/esm/engine/providers/index.d.ts.map +1 -0
- package/dist/esm/engine/providers/index.js +37 -0
- package/dist/esm/engine/providers/index.js.map +1 -0
- package/dist/esm/engine/providers/microsoft.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/microsoft.provider.specification.js +30 -0
- package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/mistral.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/mistral.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/mistral.provider.specification.js +33 -0
- package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/openai.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/openai.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/openai.provider.specification.js +43 -0
- package/dist/esm/engine/providers/openai.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/opencode.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/opencode.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/opencode.provider.specification.js +50 -0
- package/dist/esm/engine/providers/opencode.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/perplexity.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/perplexity.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/perplexity.provider.specification.js +30 -0
- package/dist/esm/engine/providers/perplexity.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/resend.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/resend.provider.specification.js +33 -0
- package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/stripe.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/stripe.provider.specification.js +35 -0
- package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/twilio.provider.specification.d.ts +7 -0
- package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/twilio.provider.specification.js +33 -0
- package/dist/esm/engine/providers/twilio.provider.specification.js.map +1 -0
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +9 -7
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +11 -9
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +4 -2
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +10 -8
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +5 -5
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +6 -4
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +4 -2
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +5 -5
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +15 -11
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts +1 -1
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js +3 -1
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.js +11 -9
- package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.js +95 -0
- package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts +5 -0
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +451 -25
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts +37 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.js +37 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/package.json +8 -8
- package/dist/esm/.builder.pid +0 -9
- package/dist/esm/_core/business-coverage/coverage-findings-validation.d.ts +0 -0
- package/dist/esm/_core/business-coverage/coverage-findings-validation.d.ts.map +0 -0
- package/dist/esm/_core/business-coverage/coverage-findings-validation.js.map +0 -0
- package/dist/esm/_core/business-coverage/coverage-findings.schemas.d.ts +0 -0
- package/dist/esm/_core/business-coverage/coverage-findings.schemas.d.ts.map +0 -0
- package/dist/esm/_core/business-coverage/coverage-findings.schemas.js.map +0 -0
package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { API_KEY_CREDENTIAL_PRESENTATION, AUTH_METHOD_CATEGORY_MAP, AUTH_METHOD_FACTOR_MAP, ApiKeyStatus, ApiKeyScope, AuthMethod, CoreResourceType, CoreResourceOperation, EngineCapability, ErrorCustomMessageReference, OAuthClientRegistrationOrigin, OAuthClientSchemaBase, OAuthClientStatus, OAuthGrantType, OAuthTokenEndpointAuthMethod, OrgOAuthClients_Operations, OrgApiKeys_Operations, AdministrativeContinuityErrorCode, BillingInterval, BillingTiming, DiscountType, InvoiceStatus, LimitGrantMode, OrganizationMemberSchema, OrganizationMemberStatus, OrganizationUnitMemberSchema, OrganizationUnitSchema, OrganizationUnitType, OrganizationUnit_PermissionInheritanceType, OrganizationUnitStatus, ProductType, PricingModel, PromotionDuration, PromotionType, ProrationBehavior, ScimAttributeMappingSchema, ScimOrganizationUnitMappingEntrySchema, ScimProvisioningConfigBaseSchema, SIEMEventCategory, SIEMFilterSeverity, SiemExportConfigBaseSchema, SsoConnectionBaseSchema, SsoConnection_Operations, SsoProtocol, SubscriptionStatus, TaxDisplayMode, UsageSourceType, WebhookConfigBaseSchema, WildoHeaderKeys, } from "@wildo-ai/saas-models";
|
|
1
|
+
import { API_KEY_CREDENTIAL_PRESENTATION, AUTH_METHOD_CATEGORY_MAP, AUTH_METHOD_FACTOR_MAP, ApiKeyStatus, ApiKeyScope, AuthMethod, AuthFactorType, AUDIT_EVENT_CATEGORY_MEANINGS, AUDIT_EVENT_SEVERITY_MEANINGS, AuditEventCategory, AuditEventSeverity, CoreResourceType, CoreResourceOperation, EngineCapability, ErrorCustomMessageReference, OAuthClientRegistrationOrigin, OAuthClientSchemaBase, OAuthClientStatus, OAuthGrantType, OAuthTokenEndpointAuthMethod, OrgOAuthClients_Operations, OrgApiKeys_Operations, AdministrativeContinuityErrorCode, BillingInterval, BillingTiming, DiscountType, InvoiceStatus, LimitGrantMode, OrganizationMemberSchema, OrganizationMemberStatus, OrganizationUnitMemberSchema, OrganizationUnitSchema, OrganizationUnitType, OrganizationUnit_PermissionInheritanceType, OrganizationUnitStatus, ProductType, PricingModel, PromotionDuration, PromotionType, ProrationBehavior, SCIM_SERVICE_BASE_PATH, ScimAttributeMappingSchema, ScimOrganizationUnitMappingEntrySchema, ScimProvisioningConfigBaseSchema, SIEM_DELIVERY_RELIABILITY_CONTRACT, SIEMEventCategory, SIEMFilterSeverity, SiemExportConfigBaseSchema, SsoConnectionBaseSchema, SsoConnection_Operations, SsoProtocol, SubscriptionStatus, TaxDisplayMode, UsageSourceType, WebhookConfigBaseSchema, WildoHeaderKeys, COLLECTION_QUERY_PARAMETERS, CoreM2MNotificationChannel, ERROR_DEFINITIONS, ErrorResponseSchema, ErrorType, M2M_WEBHOOK_DELIVERY_CONTRACT, M2MWebhookDeliveryLogBaseSchema, M2MWebhookDeliveryLogStatus, Resources_PaginationRequestSchema, Resources_PaginationResponseMetadataSchema, WebhookEndpointProbeOutcome, WebhookEndpointSchema, ResourceOperationVariantType, ResourcesConfig_OperationPathUtils, } from "@wildo-ai/saas-models";
|
|
2
2
|
import { getZodType, isBackendOnlyField, isExcludedFromCreate, isExcludedFromUpdate, isWriteOnlySecretField, unwrapSchema, } from "@wildo-ai/zod-decorators";
|
|
3
3
|
import { extractFieldSpecsFromFieldMap } from "../_core/utils/extract-field-specs.js";
|
|
4
4
|
import { appLevelFeatureSpecificationKeyFor } from "../_core/definition-specification.schemas.js";
|
|
@@ -14,6 +14,7 @@ import { organizationScimProvisioningConfigResourceSpecification } from "../engi
|
|
|
14
14
|
import { organizationApiKeysResourceSpecification } from "../engine/auth/resources/organization-api-keys.resource.specification.js";
|
|
15
15
|
import { organizationOAuthClientsResourceSpecification } from "../engine/auth/resources/organization-oauth-clients.resource.specification.js";
|
|
16
16
|
import { organizationSiemExportConfigResourceSpecification } from "../engine/auth/resources/siem-export-config.resource.specification.js";
|
|
17
|
+
import { auditLogsResourceSpecification } from "../engine/compliance/resources/audit-logs.resource.specification.js";
|
|
17
18
|
import { organizationSsoConnectionsResourceSpecification } from "../engine/auth/resources/sso-connections.resource.specification.js";
|
|
18
19
|
import { organizationMembersResourceSpecification } from "../engine/organizations/resources/organization-members.resource.specification.js";
|
|
19
20
|
import { organizationNotificationsResourceSpecification } from "../engine/organizations/resources/organization-notifications.resource.specification.js";
|
|
@@ -81,24 +82,157 @@ function optionalNumber(value) {
|
|
|
81
82
|
function optionalBoolean(value) {
|
|
82
83
|
return typeof value === "boolean" ? value : null;
|
|
83
84
|
}
|
|
84
|
-
|
|
85
|
-
|
|
85
|
+
/**
|
|
86
|
+
* Customer-facing words for the closed vocabularies these facts print.
|
|
87
|
+
*
|
|
88
|
+
* They replace a helper that title-cased a constant — the shape
|
|
89
|
+
* `.claude/rules/display-text-comes-from-i18n.md` forbids: text nobody wrote, untranslatable,
|
|
90
|
+
* unsearchable, and wrong on every acronym it met (`ORG_SAML` reached a shipped page as "Org Saml").
|
|
91
|
+
* The sign-in-method and audit vocabularies were fixed this way earlier; these are the rest, and
|
|
92
|
+
* with them the helper goes.
|
|
93
|
+
*
|
|
94
|
+
* ## Why they live here and not in the i18n tree
|
|
95
|
+
*
|
|
96
|
+
* The rule's home for display text is the application's label tree, and that is right for anything a
|
|
97
|
+
* running application RENDERS. This is a build-time document: the companion projects these words
|
|
98
|
+
* into markdown once, with no locale in play and no bundle to resolve against, so an i18n key here
|
|
99
|
+
* would be a lookup with no table behind it. What the rule forbids is DERIVING text from an
|
|
100
|
+
* identifier, and a `Record<Enum, …>` is the opposite — authored words, beside the vocabulary they
|
|
101
|
+
* explain, where a new member is a compile error rather than a new piece of invented English on a
|
|
102
|
+
* page that has already shipped.
|
|
103
|
+
*
|
|
104
|
+
* ## Where a WIRE VALUE is the honest label
|
|
105
|
+
*
|
|
106
|
+
* `authorization_code` is what an integrator types into a client registration, and "Authorization
|
|
107
|
+
* Code" is not. So those tables print the value in code font beside an authored meaning, which is
|
|
108
|
+
* what the status tables next to them already did.
|
|
109
|
+
*/
|
|
110
|
+
const API_KEY_SCOPE_MEANINGS = {
|
|
111
|
+
[ApiKeyScope.ORGANIZATION]: {
|
|
112
|
+
name: 'Organization key',
|
|
113
|
+
meaning: 'Acts inside one organization, and can reach only what that organization can see.',
|
|
114
|
+
},
|
|
115
|
+
[ApiKeyScope.APPLICATION]: {
|
|
116
|
+
name: 'Application key',
|
|
117
|
+
meaning: 'Acts for the application itself, across organizations, for operator and integration work.',
|
|
118
|
+
},
|
|
119
|
+
};
|
|
120
|
+
/** What each OAuth grant is FOR, said to somebody deciding which one to register. */
|
|
121
|
+
const OAUTH_GRANT_TYPE_MEANINGS = {
|
|
122
|
+
[OAuthGrantType.AUTHORIZATION_CODE]: 'A person signs in and authorizes your client, which then acts on their behalf.',
|
|
123
|
+
[OAuthGrantType.CLIENT_CREDENTIALS]: 'Your client acts as itself, with no person involved — server-to-server work.',
|
|
124
|
+
[OAuthGrantType.REFRESH_TOKEN]: 'Your client exchanges a refresh token for a new access token without asking the person again.',
|
|
125
|
+
};
|
|
126
|
+
/** The membership states, as a reader meets them in the interface. */
|
|
127
|
+
const ORGANIZATION_MEMBER_STATUS_NAMES = {
|
|
128
|
+
[OrganizationMemberStatus.INVITED]: 'Invited',
|
|
129
|
+
[OrganizationMemberStatus.ACTIVE]: 'Active',
|
|
130
|
+
[OrganizationMemberStatus.INACTIVE]: 'Inactive',
|
|
131
|
+
[OrganizationMemberStatus.SUSPENDED]: 'Suspended',
|
|
132
|
+
};
|
|
133
|
+
const CREDENTIAL_LIFECYCLE_ACTION_NAMES = {
|
|
134
|
+
[CoreResourceOperation.CREATE]: 'Create',
|
|
135
|
+
[CoreResourceOperation.DELETE]: 'Delete',
|
|
136
|
+
[OrgApiKeys_Operations.ROTATE]: 'Rotate',
|
|
137
|
+
[OrgApiKeys_Operations.REGENERATE]: 'Regenerate',
|
|
138
|
+
[OrgApiKeys_Operations.DEACTIVATE]: 'Deactivate',
|
|
139
|
+
[OrgApiKeys_Operations.REACTIVATE]: 'Reactivate',
|
|
140
|
+
[OrgApiKeys_Operations.EXTEND_EXPIRY]: 'Extend expiry',
|
|
141
|
+
[OrgApiKeys_Operations.USAGE_STATS]: 'Usage statistics',
|
|
142
|
+
/*
|
|
143
|
+
* Present because the map is EXHAUSTIVE BY TYPE, not because a customer page renders it: the
|
|
144
|
+
* lifecycle tables below enumerate an authored array, and `expire` is deliberately absent from it.
|
|
145
|
+
* It is an INTERNAL_CALL verb the nightly sweep dispatches (#413) — nobody performs it, so listing
|
|
146
|
+
* it beside Rotate and Deactivate would document an action with no door.
|
|
147
|
+
*/
|
|
148
|
+
[OrgApiKeys_Operations.EXPIRE]: 'Expire',
|
|
149
|
+
};
|
|
150
|
+
/** The authored name for a credential lifecycle action, or a refusal — never a derived one. */
|
|
151
|
+
function credentialLifecycleActionName(operationId) {
|
|
152
|
+
const name = CREDENTIAL_LIFECYCLE_ACTION_NAMES[operationId];
|
|
153
|
+
if (name === undefined) {
|
|
154
|
+
throw new Error(`Credential lifecycle action '${operationId}' has no authored customer-facing name`);
|
|
155
|
+
}
|
|
156
|
+
return name;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Customer-facing words for each sign-in method.
|
|
160
|
+
*
|
|
161
|
+
* Authored, not derived. The helper this replaced title-cased a constant, which turned `ORG_SAML` into
|
|
162
|
+
* "Org Saml", `SMS_OTP` into "Sms Otp" and `TOTP` into "Totp" — text no product would print, and
|
|
163
|
+
* text no reader can search for. A closed vocabulary's WORDS belong beside the vocabulary, and the
|
|
164
|
+
* `Record<AuthMethod, …>` makes a new method a compile error here rather than a new piece of
|
|
165
|
+
* invented English on a shipped page.
|
|
166
|
+
*/
|
|
167
|
+
const AUTH_METHOD_CONSUMER_MEANINGS = {
|
|
168
|
+
[AuthMethod.PASSWORD]: { name: 'Password', meaning: 'A password the person sets and the application stores only as a verifier.' },
|
|
169
|
+
[AuthMethod.MAGIC_LINK]: { name: 'Magic link', meaning: 'A single-use link sent to the person\'s email address; no password is involved.' },
|
|
170
|
+
[AuthMethod.EXTERNAL_OAUTH2]: { name: 'External identity provider', meaning: 'Sign-in through a third-party account the application accepts, such as a social or vendor login.' },
|
|
171
|
+
[AuthMethod.ORG_SAML]: { name: 'Organization SAML single sign-on', meaning: 'The organization\'s own identity provider authenticates the person over SAML.' },
|
|
172
|
+
[AuthMethod.ORG_OPENID_CONNECT]: { name: 'Organization OpenID Connect single sign-on', meaning: 'The organization\'s own identity provider authenticates the person over OpenID Connect.' },
|
|
173
|
+
[AuthMethod.TOTP]: { name: 'Authenticator app code', meaning: 'A rotating six-digit code from an authenticator app, used as a second factor.' },
|
|
174
|
+
[AuthMethod.SMS_OTP]: { name: 'SMS code', meaning: 'A one-time code sent by text message.' },
|
|
175
|
+
[AuthMethod.EMAIL_OTP]: { name: 'Email code', meaning: 'A one-time code sent by email, used as a second factor.' },
|
|
176
|
+
[AuthMethod.PASSKEY]: { name: 'Passkey', meaning: 'A device-held credential unlocked by the device\'s own biometric or screen lock; nothing is typed.' },
|
|
177
|
+
};
|
|
178
|
+
/** Where a method may sit in the sign-in sequence, said the way a reader experiences it. */
|
|
179
|
+
const AUTH_FACTOR_POSITION_MEANINGS = {
|
|
180
|
+
[AuthFactorType.FIRST_ONLY]: 'Starts the sign-in',
|
|
181
|
+
[AuthFactorType.SECOND_ONLY]: 'Confirms a sign-in already started',
|
|
182
|
+
[AuthFactorType.FIRST_OR_SECOND]: 'Starts a sign-in or confirms one',
|
|
183
|
+
[AuthFactorType.ANY]: 'Usable at any point in the sign-in',
|
|
184
|
+
};
|
|
185
|
+
/** What a reader can narrow the trail by, said in the words the search screen and the API use. */
|
|
186
|
+
function projectAuditTrailConsumerFact(source) {
|
|
187
|
+
const categoryRows = Object.values(source.categories).map((category) => {
|
|
188
|
+
const meanings = AUDIT_EVENT_CATEGORY_MEANINGS[category];
|
|
189
|
+
if (meanings === undefined)
|
|
190
|
+
throw new Error(`no customer-facing words are authored for audit category ${category}`);
|
|
191
|
+
return `| ${meanings.name} | \`${category}\` | ${meanings.meaning} |`;
|
|
192
|
+
}).join("\n");
|
|
193
|
+
const severityRows = Object.values(source.severities).map((severity) => {
|
|
194
|
+
const meanings = AUDIT_EVENT_SEVERITY_MEANINGS[severity];
|
|
195
|
+
if (meanings === undefined)
|
|
196
|
+
throw new Error(`no customer-facing words are authored for audit severity ${severity}`);
|
|
197
|
+
return `| ${meanings.name} | \`${severity}\` | ${meanings.meaning} |`;
|
|
198
|
+
}).join("\n");
|
|
199
|
+
const filters = source.filterFieldNames.map((field) => `\`${field}\``).join(', ');
|
|
200
|
+
const sorts = source.sortFieldNames.map((field) => `\`${field}\``).join(', ');
|
|
201
|
+
return {
|
|
202
|
+
categoriesMarkdown: `| Category | Filter value | What it selects |\n| --- | --- | --- |\n${categoryRows}`,
|
|
203
|
+
severitiesMarkdown: `| Severity | Filter value | What it means |\n| --- | --- | --- |\n${severityRows}`,
|
|
204
|
+
queryMarkdown: `You can narrow the trail by ${filters}, and order it by ${sorts}. A single page returns at most ${source.maxRecordsPerPage} records; ask for the next page rather than widening the range until everything fits.`,
|
|
205
|
+
filterFieldNames: source.filterFieldNames,
|
|
206
|
+
sortFieldNames: source.sortFieldNames,
|
|
207
|
+
maxRecordsPerPage: source.maxRecordsPerPage,
|
|
208
|
+
};
|
|
209
|
+
}
|
|
210
|
+
export function authenticationMethodConsumerWords(method) {
|
|
211
|
+
const meanings = AUTH_METHOD_CONSUMER_MEANINGS[method];
|
|
212
|
+
if (meanings === undefined)
|
|
213
|
+
throw new Error(`no customer-facing words are authored for sign-in method ${method}`);
|
|
214
|
+
return meanings;
|
|
86
215
|
}
|
|
87
216
|
function projectAuthenticationMethodsConsumerFact(source) {
|
|
88
|
-
const rows = Object.values(source.methods).map((method) =>
|
|
89
|
-
method
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
217
|
+
const rows = Object.values(source.methods).map((method) => {
|
|
218
|
+
const meanings = AUTH_METHOD_CONSUMER_MEANINGS[method];
|
|
219
|
+
if (meanings === undefined)
|
|
220
|
+
throw new Error(`authentication-methods consumer fact has no customer-facing words for ${method}`);
|
|
221
|
+
const factorType = source.factorTypes[method];
|
|
222
|
+
const position = AUTH_FACTOR_POSITION_MEANINGS[factorType];
|
|
223
|
+
if (position === undefined)
|
|
224
|
+
throw new Error(`authentication-methods consumer fact has no reader meaning for factor position ${factorType}`);
|
|
225
|
+
return { method, name: meanings.name, meaning: meanings.meaning, category: source.categories[method], factorType, position };
|
|
226
|
+
});
|
|
227
|
+
const table = rows.map((row) => `| ${row.name} | ${row.meaning} | ${row.position} |`).join("\n");
|
|
94
228
|
return {
|
|
95
|
-
markdown: `
|
|
229
|
+
markdown: `These are the sign-in methods this application can present. It is a catalogue, not a promise: which of them are offered depends on how the application is configured, and an organization can narrow that further for its own people. The sign-in screen shows the methods actually available to you.\n\n| Method | What it is | Where it fits |\n| --- | --- | --- |\n${table}`,
|
|
96
230
|
methods: rows,
|
|
97
231
|
};
|
|
98
232
|
}
|
|
99
233
|
function projectApiKeysConsumerFact(source) {
|
|
100
234
|
const rows = Object.values(ApiKeyScope).map((scope) => ({ scope, prefix: source.prefixesByScope[scope] }));
|
|
101
|
-
const table = rows.map((row) => `| ${
|
|
235
|
+
const table = rows.map((row) => `| ${API_KEY_SCOPE_MEANINGS[row.scope].name} | \`${row.prefix}\` | ${API_KEY_SCOPE_MEANINGS[row.scope].meaning} |`).join("\n");
|
|
102
236
|
const organizationCredential = `${source.prefixesByScope[ApiKeyScope.ORGANIZATION]}<api-key>`;
|
|
103
237
|
const statusField = projectResourceFields(source.organizationSpecification).find((candidate) => {
|
|
104
238
|
return candidate !== null && typeof candidate === "object" && !Array.isArray(candidate)
|
|
@@ -135,7 +269,7 @@ function projectApiKeysConsumerFact(source) {
|
|
|
135
269
|
const applicationOperation = source.applicationSpecification.operations?.[operationId];
|
|
136
270
|
if (applicationOperation === undefined)
|
|
137
271
|
throw new Error(`Application API-key specification is missing operation ${operationId}`);
|
|
138
|
-
return { action:
|
|
272
|
+
return { action: credentialLifecycleActionName(operationId), purpose: operation.purpose, outcome: operation.outcome };
|
|
139
273
|
};
|
|
140
274
|
const lifecycle = [
|
|
141
275
|
CoreResourceOperation.CREATE,
|
|
@@ -147,7 +281,7 @@ function projectApiKeysConsumerFact(source) {
|
|
|
147
281
|
].map(operationSummary);
|
|
148
282
|
const usageStats = operationSummary(OrgApiKeys_Operations.USAGE_STATS);
|
|
149
283
|
return {
|
|
150
|
-
markdown: `Present the complete opaque key in the \`${source.authorizationHeader}\` field, without a \`Bearer\` scheme. This raw scheme-less presentation is the application's API-key wire contract, not OAuth bearer-token syntax. The prefix identifies the credential scope; it does not grant broader permissions.\n\n| Key scope | Credential prefix |\n| --- | --- |\n${table}`,
|
|
284
|
+
markdown: `Present the complete opaque key in the \`${source.authorizationHeader}\` field, without a \`Bearer\` scheme. This raw scheme-less presentation is the application's API-key wire contract, not OAuth bearer-token syntax. The prefix identifies the credential scope; it does not grant broader permissions.\n\n| Key scope | Credential prefix | What it can reach |\n| --- | --- | --- |\n${table}`,
|
|
151
285
|
authorizationHeader: source.authorizationHeader,
|
|
152
286
|
requestHeader: `Authorization: ${organizationCredential}`,
|
|
153
287
|
curlRequestHeader: `--header "Authorization: ${organizationCredential}"`,
|
|
@@ -212,9 +346,12 @@ function createSingleSignOnConsumerFactDefaults() {
|
|
|
212
346
|
scopes: [...oidcConnection.oidc.scopes],
|
|
213
347
|
responseType: oidcConnection.oidc.responseType,
|
|
214
348
|
responseMode: oidcConnection.oidc.responseMode ?? null,
|
|
215
|
-
validateIssuer
|
|
216
|
-
|
|
217
|
-
|
|
349
|
+
// No `validateIssuer` / `validateAudience` / `clockTolerance`: removed from the schema on
|
|
350
|
+
// 2026-09-08 (#419) because the ID-token verification is unconditional and they could only
|
|
351
|
+
// have weakened it. Documenting them as "accepted values" told an operator the opposite.
|
|
352
|
+
acrValues: oidcConnection.oidc.acrValues ? [...oidcConnection.oidc.acrValues] : null,
|
|
353
|
+
maxAge: oidcConnection.oidc.maxAge ?? null,
|
|
354
|
+
prompt: oidcConnection.oidc.prompt ?? null,
|
|
218
355
|
pkceEnabled: oidcConnection.oidc.pkceEnabled,
|
|
219
356
|
pkceMethod: oidcConnection.oidc.pkceMethod,
|
|
220
357
|
},
|
|
@@ -261,7 +398,7 @@ function projectSingleSignOnConsumerFact(source) {
|
|
|
261
398
|
protocols,
|
|
262
399
|
connectionControls: { enabled: true, defaultConnection: true },
|
|
263
400
|
connectionConfigurationMarkdown: `| Configuration | Accepted/default value | What it changes |\n| --- | --- | --- |\n| \`enabled\` | **${String(shared.enabled)}** | Controls whether this connection can participate in sign-in. Keep it off until a controlled end-to-end sign-in has passed. |\n| \`isDefault\` | **${String(shared.isDefault)}** | Lets the sign-in journey choose this connection automatically. It does not prove the connection is healthy. |\n| \`allowedDomains\` | **Empty list** by default | Restricts accepted identities by email domain. An empty list means no connection-level domain restriction, so configure an explicit allow-list for an organization connection. |\n| \`autoCreateUsers\` | **${String(shared.autoCreateUsers)}** | Allows an eligible first SSO sign-in to create the application user and organization membership. Turn it off when membership must already exist. |\n| \`autoVerifyEmail\` | **${String(shared.autoVerifyEmail)}** | Treats the provider-supplied email as verified during enterprise provisioning. Use only with a provider and mapping that establish the email claim reliably. |\n| \`defaultRole\` | **Not set** | Supplies the fallback organization role when no external role/group mapping produces one. Keep this non-administrative. |\n| \`roleMapping\` | **Not set** | Maps exact external role values to application organization roles. Unmapped values do not become roles. |\n| \`groupMapping\` | **Not set** | Maps exact external group values to one or more application organization roles. Review it as an access-control change. |\n| \`bypassAppMFA\` | **${String(shared.bypassAppMFA)}** | Declares an intended application-MFA bypass. The current authentication runtime does not consume this field; keep it off and do not use it as evidence that MFA was bypassed or enforced. |`,
|
|
264
|
-
oidcConfigurationMarkdown: `| OIDC configuration | Accepted/default value | Operational meaning |\n| --- | --- | --- |\n| \`templateMode\` | **${String(oidc.templateMode)}** | Chooses provider template, issuer discovery, or manually supplied endpoints. |\n| \`discoveryUrl\` / \`issuer\` | Optional URL | In discovery mode, identifies the provider metadata and issuer trust boundary. |\n| \`authorizationEndpoint\` / \`tokenEndpoint\` | Required in manual mode | Browser authorization destination and backend code-exchange destination. Both must belong to the same provider environment. |\n| \`userInfoEndpoint\` / \`jwksUri\` | Optional URLs | Supplies identity claims and signing keys when the selected provider journey uses them. |\n| \`clientId\` | Required | Public identity of this application registration at the provider. |\n| \`clientSecret\` | Required, write-only | Backend credential for the token exchange. It is masked on client reads and must never appear in documentation evidence. |\n| \`scopes\` | **${oidc.scopes.map((scope) => `\`${scope}\``).join(', ')}** | Requests the identity claims needed to map the person. These scopes do not grant application roles. |\n| \`responseType\` | **${String(oidc.responseType)}** | Uses the authorization-code journey by default. |\n| \`responseMode\` | Provider default when unset | Chooses how the provider returns the authorization response. |\n| \`
|
|
401
|
+
oidcConfigurationMarkdown: `| OIDC configuration | Accepted/default value | Operational meaning |\n| --- | --- | --- |\n| \`templateMode\` | **${String(oidc.templateMode)}** | Chooses provider template, issuer discovery, or manually supplied endpoints. |\n| \`discoveryUrl\` / \`issuer\` | Optional URL | In discovery mode, identifies the provider metadata and issuer trust boundary. |\n| \`authorizationEndpoint\` / \`tokenEndpoint\` | Required in manual mode | Browser authorization destination and backend code-exchange destination. Both must belong to the same provider environment. |\n| \`userInfoEndpoint\` / \`jwksUri\` | Optional URLs | Supplies identity claims and signing keys when the selected provider journey uses them. |\n| \`clientId\` | Required | Public identity of this application registration at the provider. |\n| \`clientSecret\` | Required, write-only | Backend credential for the token exchange. It is masked on client reads and must never appear in documentation evidence. |\n| \`scopes\` | **${oidc.scopes.map((scope) => `\`${scope}\``).join(', ')}** | Requests the identity claims needed to map the person. These scopes do not grant application roles. |\n| \`responseType\` | **${String(oidc.responseType)}** | Uses the authorization-code journey by default. |\n| \`responseMode\` | Provider default when unset | Chooses how the provider returns the authorization response. |\n| \`acrValues\` | Optional list | Authentication context classes this connection REQUIRES of the provider — the step-up demand. Sent as \`acr_values\`; a provider that cannot satisfy them decides what to do. |\n| \`maxAge\` / \`prompt\` | Optional | Maximum acceptable age of the person's existing provider authentication, and whether the provider must re-authenticate, re-consent, or must not prompt. |\n| ID-token verification | Always on | Issuer and audience are verified on every ID token and the maximum token age is fixed. It is not configurable, deliberately: the only available adjustment would be to weaken it. |\n| \`pkceEnabled\` / \`pkceMethod\` | **${String(oidc.pkceEnabled)} / ${String(oidc.pkceMethod)}** | Binds the authorization request to its code exchange. Keep S256 enabled. |\n| Claims mapping | \`email\`, \`given_name\`, \`family_name\` | Maps stable provider claims to the application person; optional role, group, department and employee-id claims remain explicit. |`,
|
|
265
402
|
samlConfigurationMarkdown: `| SAML configuration | Accepted/default value | Operational meaning |\n| --- | --- | --- |\n| \`entityId\` | Required | Stable identity of the provider tenant the application trusts. |\n| \`ssoUrl\` | Required URL | Destination for SAML authentication requests. |\n| \`sloUrl\` | Optional URL | Provider destination used when single logout is configured. |\n| Signing certificates | At least one required | Public certificates used to validate provider signatures. Plan overlap during certificate rotation. |\n| \`signRequests\` | **${String(saml.signRequests)}** | Declares that application authentication requests are signed. |\n| \`wantAssertionsSigned\` | **${String(saml.wantAssertionsSigned)}** | Requires signed assertions; keep this enabled. |\n| \`allowedClockDrift\` | **${String(saml.allowedClockDrift)} seconds** (0–300) | Small allowance when checking assertion validity windows. |\n| \`nameIdFormat\` | **${String(saml.nameIdFormat)}** | Requests the subject identifier format. Prefer a stable identifier and map email separately when the provider supports it. |\n| \`allowIdpInitiated\` | **${String(saml.allowIdpInitiated)}** | Allows an unsolicited provider-started sign-in. Leave off unless that journey is deliberately operated and tested. |\n| Attribute mapping | Standard email/given-name/surname claim URIs | Maps provider attributes to the application person; optional role, group, department and employee-id attributes remain explicit. |\n| \`forceAuthn\` / \`maxAuthAge\` | **${String(saml.forceAuthn)} / not set** | These fields are present in configuration but are not currently applied when building the SAML request. Do not use them as proof of provider reauthentication. |`,
|
|
266
403
|
diagnosticsMarkdown: `| Administrative operation | Current supported result |\n| --- | --- |\n| Test connection | **SAML:** endpoint, certificate and service-provider metadata diagnostics. **OIDC:** returns \`supported: false\`; no provider handshake is attempted. |\n| Discover endpoints | **SAML:** fetches and parses provider metadata without persisting it. **OIDC:** returns \`supported: false\`; issuer metadata is not fetched by this admin operation. Runtime OIDC sign-in can still use discovery mode when its issuer/discovery URL is configured. |\n\nThe maintained operation contract describes the test as: ${testConnection.purpose ?? 'No maintained purpose.'}\n\nThe maintained discovery contract describes the operation as: ${discoverEndpoints.purpose ?? 'No maintained purpose.'}`,
|
|
267
404
|
diagnosticSupport: {
|
|
@@ -274,7 +411,7 @@ function projectSingleSignOnConsumerFact(source) {
|
|
|
274
411
|
}
|
|
275
412
|
function projectOAuthClientsConsumerFact(source) {
|
|
276
413
|
assertConsumerFactFields('OAuth client', source.clientFieldNames, ['roles', 'allowedScopes', 'allowedGrants', 'redirectUris', 'postLogoutRedirectUris', 'requiresConsent', 'tokenEndpointAuthMethod']);
|
|
277
|
-
const grants = Object.values(source.grantTypes).map((grantType) => ({ grantType, label:
|
|
414
|
+
const grants = Object.values(source.grantTypes).map((grantType) => ({ grantType, label: grantType, meaning: OAUTH_GRANT_TYPE_MEANINGS[grantType] }));
|
|
278
415
|
const tokenEndpointAuthMethods = Object.values(source.tokenEndpointAuthMethods).map((method) => ({
|
|
279
416
|
method,
|
|
280
417
|
clientClass: method === OAuthTokenEndpointAuthMethod.NONE ? 'public' : 'confidential',
|
|
@@ -318,7 +455,7 @@ function projectOAuthClientsConsumerFact(source) {
|
|
|
318
455
|
throw new Error(`OAuth-client consumer fact is missing specification operation ${operationId}`);
|
|
319
456
|
}
|
|
320
457
|
return {
|
|
321
|
-
action:
|
|
458
|
+
action: credentialLifecycleActionName(operationId),
|
|
322
459
|
organizationPurpose: operation.purpose,
|
|
323
460
|
organizationOutcome: operation.outcome,
|
|
324
461
|
applicationPurpose: applicationOperation.purpose,
|
|
@@ -338,7 +475,7 @@ function projectOAuthClientsConsumerFact(source) {
|
|
|
338
475
|
return `| ${label} | ${specification.purpose} | ${specification.businessRole} |`;
|
|
339
476
|
};
|
|
340
477
|
return {
|
|
341
|
-
markdown: `OAuth clients can be registered with these grant types. A client’s roles are the authorization axis for operations; its allowed scopes describe identity claims and do not grant application permissions. Redirect URIs are an exact allowlist, and delegated access can require explicit user consent.\n\n| Supported grant |\n| --- |\n${grants.map(({ label }) => `|
|
|
478
|
+
markdown: `OAuth clients can be registered with these grant types. A client’s roles are the authorization axis for operations; its allowed scopes describe identity claims and do not grant application permissions. Redirect URIs are an exact allowlist, and delegated access can require explicit user consent.\n\n| Supported grant | What it is for |\n| --- | --- |\n${grants.map(({ label, meaning }) => `| \`${label}\` | ${meaning} |`).join('\n')}`,
|
|
342
479
|
grants,
|
|
343
480
|
tokenEndpointAuthMethods,
|
|
344
481
|
registrationOrigins: Object.values(source.registrationOrigins),
|
|
@@ -435,9 +572,13 @@ function projectScimProvisioningConsumerFact(source) {
|
|
|
435
572
|
{
|
|
436
573
|
field: 'scimEndpointUrl',
|
|
437
574
|
acceptedValue: 'Read-only, application-derived path',
|
|
438
|
-
defaultValue:
|
|
575
|
+
defaultValue: `\`${SCIM_SERVICE_BASE_PATH}\``,
|
|
439
576
|
meaning: fieldMeaning('scimEndpointUrl'),
|
|
440
|
-
|
|
577
|
+
// Resolved by the connection projection AFTER consumer facts are inlined, so this reaches the
|
|
578
|
+
// page as the application's own SCIM base. It used to read `https://api.example.com/...` — a
|
|
579
|
+
// correct path under a host that does not exist, which is the worst shape for a value an
|
|
580
|
+
// administrator is meant to paste into their identity provider: it looks usable.
|
|
581
|
+
example: '`{{APPLICATION_CONNECTION_VALUE:scimBaseUrl}}`',
|
|
441
582
|
},
|
|
442
583
|
{
|
|
443
584
|
field: 'allowedDomains',
|
|
@@ -581,7 +722,9 @@ ${tableRows(Object.values(SIEMFilterSeverity).map((value) => ({ value, meaning:
|
|
|
581
722
|
| \`timeoutSeconds\` | 1–60 seconds | ${source.defaults.delivery.timeoutSeconds} | Enforced for each HTTP request |
|
|
582
723
|
| \`batchSize\` | 1–100 | ${source.defaults.delivery.batchSize} | **Reserved:** stored, but the current worker sends one event per request |
|
|
583
724
|
| \`batchWindowSeconds\` | 0–60 seconds | ${source.defaults.delivery.batchWindowSeconds} | **Reserved:** stored, but the current worker does not aggregate a time window |`;
|
|
725
|
+
const reliabilityMarkdown = `A destination that keeps failing is paused rather than retried forever. After **${SIEM_DELIVERY_RELIABILITY_CONTRACT.circuitBreakerFailureThreshold} consecutive failed deliveries** to the same destination, delivery to it stops for **${SIEM_DELIVERY_RELIABILITY_CONTRACT.circuitBreakerCooldownMinutes} minutes**, then one delivery is tried again. That pause is fixed and is not part of the per-organization retry settings above: those govern one delivery attempt, this governs whether attempts continue at all. Events produced while a destination is paused are not lost — they follow the same failure path as any other undelivered event.`;
|
|
584
726
|
return {
|
|
727
|
+
deliveryReliabilityMarkdown: reliabilityMarkdown,
|
|
585
728
|
markdown: 'Organization SIEM export is a filtered outbound copy of the authoritative audit trail. Only the organization-scoped producer is active in this framework version; an application-scoped configuration does not create an application event stream.',
|
|
586
729
|
configurationMarkdown,
|
|
587
730
|
authenticationValuesMarkdown,
|
|
@@ -590,6 +733,225 @@ ${tableRows(Object.values(SIEMFilterSeverity).map((value) => ({ value, meaning:
|
|
|
590
733
|
deliveryValuesMarkdown,
|
|
591
734
|
};
|
|
592
735
|
}
|
|
736
|
+
/**
|
|
737
|
+
* Meanings a REST caller needs for each error type, keyed by the runtime enum so
|
|
738
|
+
* a new member fails this projection instead of silently shipping undocumented.
|
|
739
|
+
*/
|
|
740
|
+
const ERROR_TYPE_CONSUMER_MEANINGS = {
|
|
741
|
+
[ErrorType.VALIDATION]: "The request is malformed or breaks a field rule. Fix the request; repeating it unchanged fails again. `validationErrors` names the fields.",
|
|
742
|
+
[ErrorType.PAYLOAD_TOO_LARGE]: "The request body exceeds the accepted size. Send less data.",
|
|
743
|
+
[ErrorType.AUTHENTICATION]: "No credential, or a credential the application does not accept: missing, expired, revoked or sent in the wrong form.",
|
|
744
|
+
[ErrorType.AUTHORIZATION]: "The credential is valid but this identity may not perform this operation in this scope.",
|
|
745
|
+
[ErrorType.FEATURE_NOT_AVAILABLE]: "The organization's plan does not include this capability.",
|
|
746
|
+
[ErrorType.FEATURE_LIMIT_EXCEEDED]: "The organization has reached a plan limit for this capability.",
|
|
747
|
+
[ErrorType.INSUFFICIENT_CREDITS]: "The organization has no remaining credit for this metered capability.",
|
|
748
|
+
[ErrorType.NOT_FOUND]: "The resource does not exist, or is not visible to this identity in this organization. The two cases are deliberately indistinguishable.",
|
|
749
|
+
[ErrorType.CONFLICT]: "The current state refuses the change: a uniqueness rule, a stale `If-Match` version, or a transition the state machine forbids. Read the resource again before deciding.",
|
|
750
|
+
[ErrorType.BUSINESS_RULE]: "The request is well-formed but a domain rule refuses it. `customMessageReference` names the rule.",
|
|
751
|
+
[ErrorType.RATE_LIMIT]: "Too many requests in a window. Wait for `Retry-After` seconds before sending again.",
|
|
752
|
+
[ErrorType.INTERNAL]: "The application failed while handling the request. Quote `correlationId` to support.",
|
|
753
|
+
[ErrorType.DATABASE]: "The application's data store failed. Quote `correlationId` to support.",
|
|
754
|
+
[ErrorType.UNKNOWN]: "An unclassified failure. Quote `correlationId` to support.",
|
|
755
|
+
[ErrorType.UNCAUGHT_EXCEPTION]: "An unexpected failure inside the application. Quote `correlationId` to support.",
|
|
756
|
+
[ErrorType.UNHANDLED_REJECTION]: "An unexpected asynchronous failure inside the application. Quote `correlationId` to support.",
|
|
757
|
+
[ErrorType.CONFIGURATION]: "The application is misconfigured for this operation. An operator must correct it; a retry does not help.",
|
|
758
|
+
[ErrorType.EXTERNAL_SERVICE]: "A provider the application depends on failed. Usually transient.",
|
|
759
|
+
[ErrorType.INFRASTRUCTURE]: "A platform service the application depends on is unavailable. Usually transient.",
|
|
760
|
+
[ErrorType.NETWORK]: "The application could not reach a dependency. Usually transient.",
|
|
761
|
+
};
|
|
762
|
+
const ERROR_ENVELOPE_FIELD_MEANINGS = {
|
|
763
|
+
type: "Machine-readable class of the failure. Branch on it, never on `message`.",
|
|
764
|
+
severity: "How serious the application considers the failure.",
|
|
765
|
+
message: "The same reference key as `customMessageReference`. It is not prose and not localized; do not display it or branch on it.",
|
|
766
|
+
customMessage: "Also the reference key. Localized wording is produced by the client from `customMessageReference`, not sent on the wire.",
|
|
767
|
+
customMessageReference: "Stable key of the user-facing message (for example `conflict`, `version_conflict`). Resolve it to text in your own language layer.",
|
|
768
|
+
code: "Stable, operation-specific refusal code when the operation defines one (for example `LAST_ORGANIZATION_OWNER`), also repeated as `details.code`. Branch on it for known refusals.",
|
|
769
|
+
operationPath: "Key of the operation that produced the error, as `resource | operation | variant | …`. It names the operation in the API reference; it is not a URL.",
|
|
770
|
+
correlationId: "Request-correlation identifier. Quote it to support; it joins the response to the application's logs and audit trail and contains no personal data.",
|
|
771
|
+
details: "Structured context for failures that expose one: `details.code` and `details.message` for a named refusal, `details.versionConflict` with the current and expected versions for a stale `If-Match`, `details.retryAfterSeconds` for a rate limit.",
|
|
772
|
+
timestamp: "When the application produced the error.",
|
|
773
|
+
initiatorIds: "Identifiers of the caller as the application resolved them, when available.",
|
|
774
|
+
validationErrors: "Field-level validation failures keyed by field name.",
|
|
775
|
+
userGuidance: "Optional explanation, resolution and next-action text for a person.",
|
|
776
|
+
};
|
|
777
|
+
function projectRestConventionsConsumerFact(source) {
|
|
778
|
+
const sourceRef = "source:consumer-fact:rest-conventions";
|
|
779
|
+
assertConsumerFactFields(sourceRef, source.errorEnvelopeFieldNames, Object.keys(ERROR_ENVELOPE_FIELD_MEANINGS));
|
|
780
|
+
const undocumentedEnvelopeFields = source.errorEnvelopeFieldNames.filter((field) => !(field in ERROR_ENVELOPE_FIELD_MEANINGS));
|
|
781
|
+
if (undocumentedEnvelopeFields.length > 0) {
|
|
782
|
+
throw new Error(`${sourceRef} error envelope has fields without a consumer meaning: ${undocumentedEnvelopeFields.join(", ")}`);
|
|
783
|
+
}
|
|
784
|
+
assertConsumerFactFields(sourceRef, source.pagination.requestFieldNames, ["page", "limit"]);
|
|
785
|
+
assertConsumerFactFields(sourceRef, source.pagination.responseFieldNames, ["page", "limit", "total", "totalPages"]);
|
|
786
|
+
const errorRows = Object.values(ErrorType).map((type) => {
|
|
787
|
+
const definition = source.errorDefinitions[type];
|
|
788
|
+
if (definition === undefined)
|
|
789
|
+
throw new Error(`${sourceRef} has no definition for error type ${type}`);
|
|
790
|
+
return { status: Number(definition.statusCode), type, meaning: ERROR_TYPE_CONSUMER_MEANINGS[type] };
|
|
791
|
+
}).sort((left, right) => left.status - right.status || left.type.localeCompare(right.type, "en-US"));
|
|
792
|
+
const errorStatusMarkdown = `| HTTP status | \`error.type\` | What it means for the caller |\n| --- | --- | --- |\n${errorRows.map((row) => `| ${row.status} | \`${row.type}\` | ${row.meaning} |`).join("\n")}`;
|
|
793
|
+
const envelopeRows = source.errorEnvelopeFieldNames.map((field) => `| \`error.${field}\` | ${ERROR_ENVELOPE_FIELD_MEANINGS[field]} |`).join("\n");
|
|
794
|
+
const errorEnvelopeMarkdown = `Every error response carries one JSON object under \`error\`:\n\n| Field | Meaning |\n| --- | --- |\n${envelopeRows}`;
|
|
795
|
+
// Mirrors what `ErrorHandlerService` serializes for the owner-floor refusal: `message` and
|
|
796
|
+
// `customMessage` carry the reference key, the refusal code rides both `code` and `details.code`,
|
|
797
|
+
// and `operationPath` is the operation KEY. Change this only against the handler.
|
|
798
|
+
const errorExampleJson = JSON.stringify({
|
|
799
|
+
error: {
|
|
800
|
+
type: ErrorType.CONFLICT,
|
|
801
|
+
severity: "medium",
|
|
802
|
+
message: "conflict",
|
|
803
|
+
customMessage: "conflict",
|
|
804
|
+
customMessageReference: "conflict",
|
|
805
|
+
code: "LAST_ORGANIZATION_OWNER",
|
|
806
|
+
// Derived through the same utility the error builder uses, never typed by hand.
|
|
807
|
+
operationPath: ResourcesConfig_OperationPathUtils.createOperationPathKey({
|
|
808
|
+
resourceIdentifier: CoreResourceType.ORGANIZATION_MEMBERS,
|
|
809
|
+
operationIdentifier: CoreResourceOperation.DELETE,
|
|
810
|
+
variantType: ResourceOperationVariantType.API_CALL,
|
|
811
|
+
isOperationDefault: true,
|
|
812
|
+
}),
|
|
813
|
+
correlationId: "4f0b2c6e-8d3a-4e1f-9b7c-2a5d6e8f0c13",
|
|
814
|
+
timestamp: "2026-09-03T10:15:00.000Z",
|
|
815
|
+
details: {
|
|
816
|
+
code: "LAST_ORGANIZATION_OWNER",
|
|
817
|
+
message: "Refused: this would leave an organization with no usable owner. Grant owner access to another active member first.",
|
|
818
|
+
},
|
|
819
|
+
},
|
|
820
|
+
}, null, 2);
|
|
821
|
+
const { queryParameters, pagination } = source;
|
|
822
|
+
const collectionQueryMarkdown = `| Query parameter | Applies to | Meaning |\n| --- | --- | --- |\n| \`${queryParameters.page}\` | list, search | 1-based page number. Default ${pagination.defaultPage}. |\n| \`${queryParameters.limit}\` | list, search | Items per page. Default ${pagination.defaultLimit}, at most ${pagination.maxLimit} unless the operation states a different ceiling. |\n| \`${queryParameters.sort}\` | list, search | Comma-separated \`field:asc\` or \`field:desc\` pairs, highest priority first, for example \`${queryParameters.sort}=createdAt:desc,title:asc\`. |\n| \`${queryParameters.search}\` | search | Free-text term matched against the operation's searchable fields. |\n| one parameter per filter field | list, search | The API reference lists each operation's filter fields. Date ranges use bracket notation: \`createdAt[startDate]=2026-09-01T00:00:00Z&createdAt[endDate]=2026-09-30T23:59:59Z\`. |`;
|
|
823
|
+
const paginationResponseMarkdown = `A collection response is one object with \`data\` (the page) and \`pagination\`:\n\n| Field | Meaning |\n| --- | --- |\n| \`pagination.page\` | The page that was returned. |\n| \`pagination.limit\` | The page size the operation applied. |\n| \`pagination.total\` | Matching records for the whole query. |\n| \`pagination.totalPages\` | Number of pages at this limit. Stop when \`page\` equals it; do not infer the end from a short page. |`;
|
|
824
|
+
const rateLimitMarkdown = `| Response header | Meaning |\n| --- | --- |\n| \`${source.headers.rateLimitLimit}\` | Requests allowed in the tightest active window. |\n| \`${source.headers.rateLimitRemaining}\` | Requests left in that window. |\n| \`${source.headers.rateLimitReset}\` | Seconds until that window resets. |\n| \`Retry-After\` | Sent with a 429 only: seconds to wait before the next attempt. Every tripped window must recover, so wait the full value. |`;
|
|
825
|
+
const concurrencyMarkdown = `Records carry an integer \`_version\` that increases on every write. To refuse a write that would overwrite a change you have not seen, send the version you read in the \`${source.headers.ifMatch}\` header. A mismatch answers **409** with \`error.details.versionConflict\` carrying the current version; read the record again, merge, and resend with the new version.`;
|
|
826
|
+
return {
|
|
827
|
+
markdown: errorStatusMarkdown,
|
|
828
|
+
errorStatusMarkdown,
|
|
829
|
+
errorEnvelopeMarkdown,
|
|
830
|
+
errorExampleJson,
|
|
831
|
+
collectionQueryMarkdown,
|
|
832
|
+
paginationResponseMarkdown,
|
|
833
|
+
rateLimitMarkdown,
|
|
834
|
+
concurrencyMarkdown,
|
|
835
|
+
authorizationHeader: source.headers.authorization,
|
|
836
|
+
queryParameters: { ...queryParameters },
|
|
837
|
+
pagination: { defaultPage: pagination.defaultPage, defaultLimit: pagination.defaultLimit, maxLimit: pagination.maxLimit },
|
|
838
|
+
errors: errorRows,
|
|
839
|
+
};
|
|
840
|
+
}
|
|
841
|
+
const WEBHOOK_DELIVERY_STATUS_MEANINGS = {
|
|
842
|
+
[M2MWebhookDeliveryLogStatus.PENDING]: { meaning: "Waiting for its first attempt or for a scheduled retry.", action: "Compare `nextAttemptAt` with the retry ladder. Do not send it yourself." },
|
|
843
|
+
[M2MWebhookDeliveryLogStatus.IN_FLIGHT]: { meaning: "A worker currently holds the row and is making one HTTP attempt.", action: "Wait for the attempt to finish; the timeout bounds it." },
|
|
844
|
+
[M2MWebhookDeliveryLogStatus.DELIVERED]: { meaning: "Your receiver answered 2xx to one attempt.", action: "Confirm your receiver stored the `jti` and finished the work; the application cannot see that." },
|
|
845
|
+
[M2MWebhookDeliveryLogStatus.FAILED]: { meaning: "A terminal response (3xx, or a 4xx other than 408 and 429) was received, or every attempt was used.", action: "Fix the cause, then use the retry operation on that one row." },
|
|
846
|
+
};
|
|
847
|
+
const WEBHOOK_PROBE_OUTCOME_MEANINGS = {
|
|
848
|
+
[WebhookEndpointProbeOutcome.ACCEPTED]: { meaning: "The endpoint answered 2xx to the signed synthetic request.", action: "Check your receiver's log shows signature and body-hash verification ran before it answered." },
|
|
849
|
+
[WebhookEndpointProbeOutcome.REJECTED]: { meaning: "The endpoint answered, but not with 2xx.", action: "Read the recorded status and body; the receiver refused or failed." },
|
|
850
|
+
[WebhookEndpointProbeOutcome.UNREACHABLE]: { meaning: "No HTTP response arrived within the timeout.", action: "Check public reachability, DNS, TLS and the receiver's own timeout." },
|
|
851
|
+
[WebhookEndpointProbeOutcome.NOT_SENT]: { meaning: "The application refused to send: the URL failed policy (private address, embedded credentials) or signing was not possible.", action: "Correct the endpoint URL or the application's signing configuration." },
|
|
852
|
+
};
|
|
853
|
+
function projectOutboundWebhooksConsumerFact(source) {
|
|
854
|
+
const sourceRef = "source:consumer-fact:outbound-webhooks";
|
|
855
|
+
const { contract } = source;
|
|
856
|
+
// The receiver contract says "every enabled endpoint receives every event". That is
|
|
857
|
+
// only true while an endpoint has no event filter, so this projection fails closed the
|
|
858
|
+
// day a filter field appears on the endpoint schema.
|
|
859
|
+
const expectedEndpointFields = ["id", "url", "description", "enabled", "createdAt", "updatedAt"];
|
|
860
|
+
assertConsumerFactFields(sourceRef, source.endpointFieldNames, expectedEndpointFields);
|
|
861
|
+
const unexpectedEndpointFields = source.endpointFieldNames.filter((field) => !expectedEndpointFields.includes(field));
|
|
862
|
+
if (unexpectedEndpointFields.length > 0) {
|
|
863
|
+
throw new Error(`${sourceRef} endpoint schema grew fields the documented delivery model does not cover: ${unexpectedEndpointFields.join(", ")}`);
|
|
864
|
+
}
|
|
865
|
+
assertConsumerFactFields(sourceRef, source.configurationFieldNames, ["enabled", "endpoints", "applicationPublicKeyPem"]);
|
|
866
|
+
assertConsumerFactFields(sourceRef, source.deliveryLogFieldNames, ["endpointId", "channel", "resourceIdentifier", "operationIdentifier", "httpUrl", "attemptCount", "nextAttemptAt", "responseStatus", "responseBodyTruncated", "failureReason", "signatureJti"]);
|
|
867
|
+
for (const status of Object.values(source.deliveryStatuses)) {
|
|
868
|
+
if (WEBHOOK_DELIVERY_STATUS_MEANINGS[status] === undefined)
|
|
869
|
+
throw new Error(`${sourceRef} has no meaning for delivery status ${status}`);
|
|
870
|
+
}
|
|
871
|
+
for (const outcome of Object.values(source.probeOutcomes)) {
|
|
872
|
+
if (WEBHOOK_PROBE_OUTCOME_MEANINGS[outcome] === undefined)
|
|
873
|
+
throw new Error(`${sourceRef} has no meaning for endpoint test outcome ${outcome}`);
|
|
874
|
+
}
|
|
875
|
+
const claims = contract.signatureClaims;
|
|
876
|
+
const signatureMarkdown = `Every delivery is a \`POST\` whose \`${contract.signatureHeader}\` header carries a JSON Web Token signed with **${contract.signatureAlgorithm}** by the application's webhook key. The public key is the \`applicationPublicKeyPem\` value on the webhook configuration. The JWT header's \`kid\` is the RFC 7638 thumbprint of that key: do not pin a fixed value, verify with the PEM you hold, and treat a \`kid\` you have not seen as the signal that the key rotated. The body itself is not inside the token, only its hash.\n\n| Claim | Value or meaning |\n| --- | --- |\n| \`iss\` | \`${contract.signature.issuer}\` |\n| \`aud\` | \`${contract.signature.audience}\` |\n| \`iat\`, \`exp\` | Issued per attempt; a token lives ${contract.signature.expiresIn}. |\n| \`${claims.deliveryId}\` | Identifier of this delivery. Identical on every retry of the same delivery, different for every other delivery, even one carrying the same body. Deduplicate on it. |\n| \`${claims.bodyHash}\` | Hex ${contract.bodyHashAlgorithm.toUpperCase()} digest of the exact raw request bytes. |\n| \`${claims.bodyHashAlgorithm}\` | \`${contract.bodyHashAlgorithm}\` |\n| \`${claims.eventChannel}\` | Which configuration produced it: \`${Object.values(source.channels).join("\` or \`")}\`. |\n| \`${claims.resourceIdentifier}\`, \`${claims.operationIdentifier}\` | The resource and operation that fired the event, as named in the API reference. |`;
|
|
877
|
+
const claimsExampleJson = JSON.stringify({
|
|
878
|
+
iss: contract.signature.issuer,
|
|
879
|
+
aud: contract.signature.audience,
|
|
880
|
+
iat: 1788174900,
|
|
881
|
+
exp: 1788196500,
|
|
882
|
+
[claims.deliveryId]: "9d2b5f3c-1e8a-4c6f-b0d7-3a4e5f6c7d8e",
|
|
883
|
+
[claims.bodyHash]: "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
|
|
884
|
+
[claims.bodyHashAlgorithm]: contract.bodyHashAlgorithm,
|
|
885
|
+
[claims.eventChannel]: source.channels.WEBHOOK_ORGANIZATION,
|
|
886
|
+
[claims.resourceIdentifier]: "organizationMembers",
|
|
887
|
+
[claims.operationIdentifier]: "create",
|
|
888
|
+
}, null, 2);
|
|
889
|
+
const ladder = contract.backoffScheduleSeconds.map((seconds, index) => {
|
|
890
|
+
const label = seconds >= 3600 ? `${seconds / 3600} h` : `${seconds / 60} min`;
|
|
891
|
+
return `| ${index + 2} | after ${label} |`;
|
|
892
|
+
}).join("\n");
|
|
893
|
+
const retryMarkdown = `| Attempt | When |\n| --- | --- |\n| 1 | Immediately after the event |\n${ladder}\n\nAt most **${contract.maxAttempts}** attempts. Each attempt times out after ${contract.requestTimeoutMs / 1000} seconds. A network failure, a timeout, a **5xx**, a **${contract.retryableHttpStatuses.join("** or a **")}** schedules the next attempt; any other **4xx** and every **3xx** ends the delivery as failed, because the same bytes would be refused again. The first ${contract.responseBodyTruncationBytes / 1024} KiB of your response body is recorded on the delivery for diagnosis. Requests carry \`User-Agent: ${contract.userAgent}\`.`;
|
|
894
|
+
const deliveryStatesMarkdown = `| Status | Meaning | What to do |\n| --- | --- | --- |\n${Object.values(source.deliveryStatuses).map((status) => `| \`${status}\` | ${WEBHOOK_DELIVERY_STATUS_MEANINGS[status].meaning} | ${WEBHOOK_DELIVERY_STATUS_MEANINGS[status].action} |`).join("\n")}`;
|
|
895
|
+
const testOutcomesMarkdown = `| Outcome | Meaning | What to do |\n| --- | --- | --- |\n${Object.values(source.probeOutcomes).map((outcome) => `| \`${outcome}\` | ${WEBHOOK_PROBE_OUTCOME_MEANINGS[outcome].meaning} | ${WEBHOOK_PROBE_OUTCOME_MEANINGS[outcome].action} |`).join("\n")}`;
|
|
896
|
+
const endpointMarkdown = `A webhook configuration holds a master \`enabled\` switch, the \`endpoints\` list and the read-only \`applicationPublicKeyPem\`. Each endpoint has exactly these fields: ${expectedEndpointFields.map((field) => `\`${field}\``).join(", ")}. **There is no per-endpoint event filter.** Every enabled endpoint receives every event the application publishes on that channel; route or ignore events inside your receiver using the \`${claims.resourceIdentifier}\` and \`${claims.operationIdentifier}\` claims.`;
|
|
897
|
+
const verifierSampleNode = [
|
|
898
|
+
"const crypto = require('node:crypto');",
|
|
899
|
+
"const express = require('express');",
|
|
900
|
+
"const jwt = require('jsonwebtoken');",
|
|
901
|
+
"",
|
|
902
|
+
"// Copy applicationPublicKeyPem from the webhook configuration into your secret store.",
|
|
903
|
+
"const PUBLIC_KEY_PEM = process.env.APP_WEBHOOK_PUBLIC_KEY_PEM;",
|
|
904
|
+
"",
|
|
905
|
+
"const app = express();",
|
|
906
|
+
"",
|
|
907
|
+
"// Keep the raw bytes: any JSON parser before this handler changes the body hash.",
|
|
908
|
+
"app.post('/webhooks/app', express.raw({ type: '*/*' }), async (req, res) => {",
|
|
909
|
+
` const token = req.get('${contract.signatureHeader}');`,
|
|
910
|
+
" if (!token) return res.status(401).end();",
|
|
911
|
+
"",
|
|
912
|
+
" let claims;",
|
|
913
|
+
" try {",
|
|
914
|
+
" claims = jwt.verify(token, PUBLIC_KEY_PEM, {",
|
|
915
|
+
` algorithms: ['${contract.signatureAlgorithm}'],`,
|
|
916
|
+
` issuer: '${contract.signature.issuer}',`,
|
|
917
|
+
` audience: '${contract.signature.audience}',`,
|
|
918
|
+
" });",
|
|
919
|
+
" } catch {",
|
|
920
|
+
" return res.status(401).end();",
|
|
921
|
+
" }",
|
|
922
|
+
"",
|
|
923
|
+
` const bodyHash = crypto.createHash('${contract.bodyHashAlgorithm}').update(req.body).digest('hex');`,
|
|
924
|
+
` const expected = Buffer.from(String(claims.${claims.bodyHash}));`,
|
|
925
|
+
" if (expected.length !== bodyHash.length || !crypto.timingSafeEqual(Buffer.from(bodyHash), expected)) {",
|
|
926
|
+
" return res.status(401).end();",
|
|
927
|
+
" }",
|
|
928
|
+
"",
|
|
929
|
+
` // Claim the delivery id atomically; a retry of the same delivery carries the same ${claims.deliveryId}.`,
|
|
930
|
+
` const firstTime = await claimDeliveryOnce(claims.${claims.deliveryId});`,
|
|
931
|
+
" if (!firstTime) return res.status(200).end();",
|
|
932
|
+
"",
|
|
933
|
+
" const event = JSON.parse(req.body.toString('utf8'));",
|
|
934
|
+
` await enqueue({ resource: claims.${claims.resourceIdentifier}, operation: claims.${claims.operationIdentifier}, event });`,
|
|
935
|
+
" return res.status(202).end();",
|
|
936
|
+
"});",
|
|
937
|
+
].join("\n");
|
|
938
|
+
return {
|
|
939
|
+
markdown: signatureMarkdown,
|
|
940
|
+
signatureMarkdown,
|
|
941
|
+
claimsExampleJson,
|
|
942
|
+
retryMarkdown,
|
|
943
|
+
deliveryStatesMarkdown,
|
|
944
|
+
testOutcomesMarkdown,
|
|
945
|
+
endpointMarkdown,
|
|
946
|
+
verifierSampleNode,
|
|
947
|
+
signatureHeader: contract.signatureHeader,
|
|
948
|
+
signatureAlgorithm: contract.signatureAlgorithm,
|
|
949
|
+
maxAttempts: contract.maxAttempts,
|
|
950
|
+
backoffScheduleSeconds: [...contract.backoffScheduleSeconds],
|
|
951
|
+
requestTimeoutMs: contract.requestTimeoutMs,
|
|
952
|
+
claims: { ...claims },
|
|
953
|
+
};
|
|
954
|
+
}
|
|
593
955
|
function projectOrganizationUnitsConsumerFact(source) {
|
|
594
956
|
assertConsumerFactFields('organization unit', source.unitFieldNames, ['organizationId', 'parentUnitId', 'inheritanceType', 'status']);
|
|
595
957
|
assertConsumerFactFields('organization unit membership', source.unitMemberFieldNames, ['organizationMemberId', 'organizationUnitId', 'role']);
|
|
@@ -626,9 +988,9 @@ function projectOrganizationMembershipAdministrationConsumerFact(source) {
|
|
|
626
988
|
[OrganizationMemberStatus.SUSPENDED]: 'Membership is temporarily suspended; it can be deliberately reactivated.',
|
|
627
989
|
}[status],
|
|
628
990
|
}));
|
|
629
|
-
const lifecycleTable = lifecycle.map(({ status, meaning }) => `| ${
|
|
991
|
+
const lifecycleTable = lifecycle.map(({ status, meaning }) => `| ${ORGANIZATION_MEMBER_STATUS_NAMES[status]} | ${meaning} |`).join('\n');
|
|
630
992
|
return {
|
|
631
|
-
markdown: `An organization membership is the invitation record: there is no separate invitation object. Inviting by email creates an **Invited** membership; accepting it activates that same membership. A membership carries roles inside one organization, so changing organization never copies authority from another membership.\n\n| Membership state | Meaning |\n| --- | --- |\n${lifecycleTable}\n\nOnly an active membership can contribute organization authority. Before removing, suspending or demoting a member, grant owner authority to another active member when needed: the application refuses a change that would leave the organization without an administratively usable owner. The stable
|
|
993
|
+
markdown: `An organization membership is the invitation record: there is no separate invitation object. Inviting by email creates an **Invited** membership; accepting it activates that same membership. A membership carries roles inside one organization, so changing organization never copies authority from another membership.\n\n| Membership state | Meaning |\n| --- | --- |\n${lifecycleTable}\n\nOnly an active membership can contribute organization authority. Before removing, suspending or demoting a member, grant owner authority to another active member when needed: the application refuses a change that would leave the organization without an administratively usable owner. The refusal is HTTP **409** with \`error.type\` \`CONFLICT\` and the stable code \`${source.continuityCodes.LAST_ORGANIZATION_OWNER}\` in \`error.code\`.`,
|
|
632
994
|
lifecycle,
|
|
633
995
|
invitationRecord: 'membership',
|
|
634
996
|
authorizationStatus: OrganizationMemberStatus.ACTIVE,
|
|
@@ -711,7 +1073,7 @@ function projectBillingLifecycleConsumerFact(source) {
|
|
|
711
1073
|
const usageSourceTypes = Object.values(source.usageSourceTypes).map((value) => ({ value, meaning: usageSourceMeanings[value] }));
|
|
712
1074
|
const subscriptionStatuses = Object.values(source.subscriptionStatuses).map((value) => ({ value, meaning: subscriptionMeanings[value] }));
|
|
713
1075
|
const invoiceStatuses = Object.values(source.invoiceStatuses).map((value) => ({ value, meaning: invoiceMeanings[value] }));
|
|
714
|
-
const table = (rows) => rows.map(({ value, meaning }) => `|
|
|
1076
|
+
const table = (rows) => rows.map(({ value, meaning }) => `| \`${value}\` | ${meaning} |`).join('\n');
|
|
715
1077
|
return {
|
|
716
1078
|
markdown: `Billing state is application state, not a browser redirect. A hosted checkout or billing portal collects provider-managed payment and customer details; the application updates subscriptions, invoices, usage and billing-derived access from its verified billing flow. Only **Active** and **Trialing** subscriptions contribute billing-derived features and limits.`,
|
|
717
1079
|
productTypesMarkdown: `| Product kind | What it means |\n| --- | --- |\n${table(productTypes)}`,
|
|
@@ -1070,6 +1432,22 @@ const MANAGED_SOURCES_UNSORTED = [
|
|
|
1070
1432
|
},
|
|
1071
1433
|
project: (source) => projectScimProvisioningConsumerFact(source),
|
|
1072
1434
|
}),
|
|
1435
|
+
managedSource({
|
|
1436
|
+
sourceRef: "source:consumer-fact:organization-audit-trail",
|
|
1437
|
+
specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.CONSUMER_FACT,
|
|
1438
|
+
sourceModuleBinding: "engine/saas-models/src/compliance/audit-trails/auditable-events.shared.schema.ts#AuditEventCategory|engine/saas-models/src/compliance/audit-trails/audit-logs.shared.resources-config.schemas.ts#AuditLogs_FilterSchema",
|
|
1439
|
+
projectorRef: "projector:technical-documentation:consumer-fact:v1",
|
|
1440
|
+
source: {
|
|
1441
|
+
categories: AuditEventCategory,
|
|
1442
|
+
severities: AuditEventSeverity,
|
|
1443
|
+
// The exact fields the LIST operation declares; a reader cannot filter by anything else.
|
|
1444
|
+
filterFieldNames: ['eventType', 'eventCategory', 'severity', 'userId', 'organizationId', 'applicationId', 'correlationId', 'clientInstanceId', 'createdAt'],
|
|
1445
|
+
sortFieldNames: ['createdAt', 'severity', 'eventType', 'eventId'],
|
|
1446
|
+
maxRecordsPerPage: 100,
|
|
1447
|
+
specification: auditLogsResourceSpecification,
|
|
1448
|
+
},
|
|
1449
|
+
project: (source) => projectAuditTrailConsumerFact(source),
|
|
1450
|
+
}),
|
|
1073
1451
|
managedSource({
|
|
1074
1452
|
sourceRef: "source:consumer-fact:organization-siem-export",
|
|
1075
1453
|
specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.CONSUMER_FACT,
|
|
@@ -1106,6 +1484,54 @@ const MANAGED_SOURCES_UNSORTED = [
|
|
|
1106
1484
|
},
|
|
1107
1485
|
project: (source) => projectOrganizationUnitsConsumerFact(source),
|
|
1108
1486
|
}),
|
|
1487
|
+
managedSource({
|
|
1488
|
+
sourceRef: "source:consumer-fact:rest-conventions",
|
|
1489
|
+
specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.CONSUMER_FACT,
|
|
1490
|
+
sourceModuleBinding: "engine/saas-models/src/errors/errors.shared.definitions.ts#ERROR_DEFINITIONS|engine/saas-models/src/errors/errors.shared.schemas.ts#ErrorResponseSchema|engine/saas-models/src/resources/collection-query-parameters.shared.ts#COLLECTION_QUERY_PARAMETERS|engine/saas-models/src/resources/resources-config.shared.schemas.ts#Resources_PaginationRequestSchema|engine/saas-models/src/requests/header-keys.shared.ts#WildoHeaderKeys",
|
|
1491
|
+
projectorRef: "projector:technical-documentation:consumer-fact:v1",
|
|
1492
|
+
source: {
|
|
1493
|
+
errorDefinitions: ERROR_DEFINITIONS,
|
|
1494
|
+
errorEnvelopeFieldNames: Object.keys(ErrorResponseSchema.shape.error.shape),
|
|
1495
|
+
queryParameters: COLLECTION_QUERY_PARAMETERS,
|
|
1496
|
+
pagination: {
|
|
1497
|
+
defaultPage: Resources_PaginationRequestSchema.shape.page.parse(undefined),
|
|
1498
|
+
defaultLimit: Resources_PaginationRequestSchema.shape.limit.parse(undefined),
|
|
1499
|
+
maxLimit: (() => {
|
|
1500
|
+
const limit = unwrapSchema(Resources_PaginationRequestSchema.shape.limit);
|
|
1501
|
+
if (typeof limit.maxValue !== "number")
|
|
1502
|
+
throw new Error("pagination limit schema has no maximum");
|
|
1503
|
+
return limit.maxValue;
|
|
1504
|
+
})(),
|
|
1505
|
+
requestFieldNames: Object.keys(Resources_PaginationRequestSchema.shape),
|
|
1506
|
+
responseFieldNames: Object.keys(Resources_PaginationResponseMetadataSchema.shape),
|
|
1507
|
+
},
|
|
1508
|
+
headers: {
|
|
1509
|
+
authorization: WildoHeaderKeys.AUTHORIZATION,
|
|
1510
|
+
ifMatch: WildoHeaderKeys.IF_MATCH,
|
|
1511
|
+
etag: WildoHeaderKeys.ETAG,
|
|
1512
|
+
rateLimitLimit: WildoHeaderKeys.RATE_LIMIT_LIMIT,
|
|
1513
|
+
rateLimitRemaining: WildoHeaderKeys.RATE_LIMIT_REMAINING,
|
|
1514
|
+
rateLimitReset: WildoHeaderKeys.RATE_LIMIT_RESET,
|
|
1515
|
+
},
|
|
1516
|
+
},
|
|
1517
|
+
project: (source) => projectRestConventionsConsumerFact(source),
|
|
1518
|
+
}),
|
|
1519
|
+
managedSource({
|
|
1520
|
+
sourceRef: "source:consumer-fact:outbound-webhooks",
|
|
1521
|
+
specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.CONSUMER_FACT,
|
|
1522
|
+
sourceModuleBinding: "engine/saas-models/src/notifications/m2m/m2m-webhook-delivery-contract.shared.ts#M2M_WEBHOOK_DELIVERY_CONTRACT|engine/saas-models/src/notifications/m2m/webhook-config.shared.schemas.ts#WebhookEndpointSchema|WebhookConfigBaseSchema|WebhookEndpointProbeOutcome|engine/saas-models/src/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.ts#M2MWebhookDeliveryLogBaseSchema|M2MWebhookDeliveryLogStatus",
|
|
1523
|
+
projectorRef: "projector:technical-documentation:consumer-fact:v1",
|
|
1524
|
+
source: {
|
|
1525
|
+
contract: M2M_WEBHOOK_DELIVERY_CONTRACT,
|
|
1526
|
+
endpointFieldNames: Object.keys(WebhookEndpointSchema.shape),
|
|
1527
|
+
configurationFieldNames: Object.keys(WebhookConfigBaseSchema.shape),
|
|
1528
|
+
deliveryLogFieldNames: Object.keys(M2MWebhookDeliveryLogBaseSchema.shape),
|
|
1529
|
+
deliveryStatuses: M2MWebhookDeliveryLogStatus,
|
|
1530
|
+
probeOutcomes: WebhookEndpointProbeOutcome,
|
|
1531
|
+
channels: CoreM2MNotificationChannel,
|
|
1532
|
+
},
|
|
1533
|
+
project: (source) => projectOutboundWebhooksConsumerFact(source),
|
|
1534
|
+
}),
|
|
1109
1535
|
managedSource({
|
|
1110
1536
|
sourceRef: "source:engine-capability:ORGANIZATIONS",
|
|
1111
1537
|
specificationFamilyRef: EngineDocumentationSpecificationFamilyRef.ENGINE_CAPABILITY,
|