@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audit-logs.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/compliance/resources/audit-logs.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,IAAI,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AAC5G,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,yBAAyB,EACzB,kBAAkB,EAClB,kBAAkB,EAClB,qBAAqB,IAAI,EAAE,EAC3B,oBAAoB,EACpB,0BAA0B,EAC1B,oBAAoB,EACpB,oDAAoD,IAAI,gBA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AAE;oBACT,KAAK,EAAE,EAAE,OAAO,EAAE,2EAA2E,EAAE;oBAC/F,WAAW,EAAE,EAAE,OAAO,EAAE,mFAAmF,EAAE;iBAC9G;aACF;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,mEAAmE;gBAC5E,SAAS,EAAE,8DAA8D;gBACzE,SAAS,EAAE;oBACT,KAAK,EAAE,EAAE,OAAO,EAAE,0BAA0B,EAAE;oBAC9C,WAAW,EAAE,EAAE,OAAO,EAAE,gGAAgG,EAAE;iBAC3H;aACF;YACD,OAAO,EAAE;gBACP,OAAO,EAAE,0FAA0F;gBACnG,SAAS,EAAE,+EAA+E;gBAC1F,SAAS,EAAE;oBACT,KAAK,EAAE,EAAE,OAAO,EAAE,mCAAmC,EAAE;oBACvD,WAAW,EAAE,EAAE,OAAO,EAAE,8FAA8F,EAAE;iBACzH;aACF;SACF;KACF;IACD,KAAK,EAAE;QACL,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE,mRAAmR,EAAE,SAAS,EAAE,+FAA+F,EAAE;QACvZ,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,kGAAkG,EAAE,SAAS,EAAE,gFAAgF,EAAE;QACzN,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE,0GAA0G,EAAE,SAAS,EAAE,4CAA4C,EAAE;QAC3L,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,EAAE,OAAO,EAAE,wIAAwI,EAAE,SAAS,EAAE,gGAAgG,EAAE;KAC7S;CACF,CAAC,CACH,CAAC","sourcesContent":["import { auditLogsMainResourceUIBehavior as auditLogsUIBehaviorSource } from '@wildo-ai/presets-components';\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport type { ResourceUIBehaviorConfig } from '@wildo-ai/saas-frontend-lib/companion';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n AuditableEvent_BaseSchema,\n AuditEventCategory,\n AuditEventSeverity,\n CoreResourceOperation as Op,\n ResourcePrimaryScope,\n ResourceOperationRiskLevel,\n AuditLogs_Operations,\n auditLogsResourceConfiguration_InitializationFactory as auditLogsFactory,\n} from '@wildo-ai/saas-models';\nimport {\n HttpResponseStatusCode,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n} from '~wildo-specifications/_core';\n\ntype Cfg = ReturnType<typeof auditLogsFactory>;\ntype Custom = NonNullable<Cfg['customOperation']>;\ntype Core = Cfg['coreOperations'][number];\ntype Main = Cfg['mainSchema'];\n\nconst auditLogsUIBehavior = auditLogsUIBehaviorSource as ResourceUIBehaviorConfig<Custom, Core, Main>;\n\nconst AUDIT_ORGANIZATION_ID = 'organization_01JEXAMPLE';\nconst AUDIT_APPLICATION_ID = 'application_01JEXAMPLE';\nconst AUDIT_LOG_ID = 'audit_log_01JEXAMPLE';\n\nconst AUDIT_LOG_EXAMPLE = {\n _id: AUDIT_LOG_ID,\n eventId: 'a5ad8e36-7f34-4f0e-a7f4-1454a7997721',\n userId: 'user_01JEXAMPLE',\n organizationId: AUDIT_ORGANIZATION_ID,\n applicationId: AUDIT_APPLICATION_ID,\n correlationId: 'request_01JEXAMPLE',\n frontendServiceName: 'app',\n clientInstanceId: 'client_instance_01JEXAMPLE',\n riskLevel: ResourceOperationRiskLevel.HIGH,\n eventType: 'organization.member.role.changed',\n eventData: {\n targetUserId: 'user_01JTARGET',\n previousRoles: ['ORG_MEMBER'],\n newRoles: ['ORG_ADMIN'],\n },\n eventCategory: AuditEventCategory.ORG_MANAGEMENT,\n severity: AuditEventSeverity.WARNING,\n createdAt: '2026-08-20T14:32:10.000Z',\n updatedAt: '2026-08-20T14:32:10.000Z',\n _version: 1,\n} as const;\n\nconst AUDIT_LOG_CONTEXT_EXAMPLE = {\n ...AUDIT_LOG_EXAMPLE,\n organization: { _id: AUDIT_ORGANIZATION_ID },\n} as const;\n\nconst AUDIT_LOG_SUMMARY_EXAMPLE = {\n _id: AUDIT_LOG_EXAMPLE._id,\n userId: AUDIT_LOG_EXAMPLE.userId,\n organizationId: AUDIT_LOG_EXAMPLE.organizationId,\n applicationId: AUDIT_LOG_EXAMPLE.applicationId,\n correlationId: AUDIT_LOG_EXAMPLE.correlationId,\n frontendServiceName: AUDIT_LOG_EXAMPLE.frontendServiceName,\n clientInstanceId: AUDIT_LOG_EXAMPLE.clientInstanceId,\n riskLevel: AUDIT_LOG_EXAMPLE.riskLevel,\n eventType: AUDIT_LOG_EXAMPLE.eventType,\n eventCategory: AUDIT_LOG_EXAMPLE.eventCategory,\n severity: AUDIT_LOG_EXAMPLE.severity,\n createdAt: AUDIT_LOG_EXAMPLE.createdAt,\n _version: AUDIT_LOG_EXAMPLE._version,\n} as const;\n\nconst AUDIT_LOG_PAGE = {\n data: [AUDIT_LOG_EXAMPLE],\n pagination: { page: 1, limit: 20, total: 1, totalPages: 1 },\n} as const;\n\nconst AUDIT_LOG_CONTEXT_PAGE = {\n data: [AUDIT_LOG_CONTEXT_EXAMPLE],\n pagination: AUDIT_LOG_PAGE.pagination,\n} as const;\n\nconst AUDIT_LOG_SUMMARY_PAGE = {\n data: [AUDIT_LOG_SUMMARY_EXAMPLE],\n pagination: AUDIT_LOG_PAGE.pagination,\n} as const;\n\nconst AUDIT_LOG_LIST_REQUEST = {\n organizationId: AUDIT_ORGANIZATION_ID,\n eventCategory: AuditEventCategory.ORG_MANAGEMENT,\n severity: AuditEventSeverity.WARNING,\n createdAt: {\n startDate: '2026-08-20T00:00:00.000Z',\n endDate: '2026-08-21T00:00:00.000Z',\n },\n page: 1,\n limit: 20,\n sort: 'createdAt:desc,eventId:desc',\n} as const;\n\nexport const auditLogsResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n resourceFrontendConfiguration(auditLogsUIBehavior),\n resourceSpecification(\n auditLogsFactory,\n AuditableEvent_BaseSchema,\n ({ schemaShape }) => ({\n purpose: 'Immutable evidence records for security, access, administration, and data events within the addressed organization.',\n businessRole: 'Supports investigation and compliance review by showing what happened, when it happened, who acted when known, and how the event was classified.',\n lifecycleRole: 'Events are appended by the application, can be read, filtered, and exported through the API, and cannot be updated or deleted through customer APIs.',\n audience: LabelAudience.ADMIN,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'AuditableEvent_BaseSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'auditLogsResourceConfiguration_InitializationFactory',\n symbolKind: CodeSymbolKind.FACTORY,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resourceType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'AUDIT_LOGS',\n },\n operationVocabulary: {\n coreEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n customEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'AuditLogs_Operations',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n frontendConfigurationSources: [\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'auditLogsMainResourceUIBehavior',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n ],\n notes: [\n 'Registry `AUDIT_LOGS` links optionally to both `ORGANIZATIONS` and `APPLICATION`; the application relationship carries the canonical `isPrimaryScope: true` classification used for the spec’s `resourcePrimaryScope`, while individual organization-scoped, user-only, and system rows may omit `applicationId`.',\n ],\n },\n fields: {\n eventType: schemaShape.eventType.stringSpec({\n meaning: 'Stable event name identifying what happened, such as a role change or authentication outcome.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n eventId: schemaShape.eventId.stringSpec({\n meaning: 'Stable identifier for the event itself. Use it to match the same event across API results, exports, and configured external audit sinks.',\n }),\n correlationId: schemaShape.correlationId.stringSpec({\n meaning: 'Identifier shared by events and operational records produced by one request or background execution. Use it to investigate related activity as one sequence.',\n }),\n eventCategory: schemaShape.eventCategory.enumSpec({\n meaning: 'High-level area for navigation, filters, and export groupings (populated by the service classifier).',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'AuditEventCategory',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [AuditEventCategory.AUTHENTICATION]: { meaning: 'Sign-in, session, and credential events.' },\n [AuditEventCategory.AUTHORIZATION]: { meaning: 'Access control and policy evaluation outcomes when classified here.' },\n [AuditEventCategory.USER_LIFECYCLE]: { meaning: 'User profile and account lifecycle when classified here.' },\n [AuditEventCategory.ORG_MANAGEMENT]: { meaning: 'Org structure, membership, and org-scoped security configuration changes when classified here.' },\n [AuditEventCategory.DATA_ACCESS]: { meaning: 'Sensitive or tracked data read/write and export when classified here.' },\n },\n }),\n severity: schemaShape.severity.enumSpec({\n meaning: 'UI and export triage level for a row (populated with `eventCategory` by the service classifier on CREATE).',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'AuditEventSeverity',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [AuditEventSeverity.INFO]: { meaning: 'Normal operational or informational log lines.' },\n [AuditEventSeverity.WARNING]: { meaning: 'Notable but not always urgent — worth review when scanning.' },\n [AuditEventSeverity.CRITICAL]: { meaning: 'Escalation-tier events in product triage and export filters.' },\n },\n }),\n userId: schemaShape.userId.stringSpec({ meaning: 'Acting user when known; may be empty for system-only events.' }),\n organizationId: schemaShape.organizationId.foreignKeySpec({\n meaning: 'The `organizations` row that owns the tenant context of this event; used to scope and filter the trail per tenant. Optional in cross-tenant or user-only events where no single org owns the row.',\n }),\n applicationId: schemaShape.applicationId.foreignKeySpec({\n meaning: 'The `applications` row that owns an application-scoped event. Kept distinct from organization tenancy so application SSO and machine-auth trails never synthesize an organization.',\n }),\n frontendServiceName: schemaShape.frontendServiceName.stringSpec({\n meaning: 'Frontend surface from which the action originated, when the event came from an interactive request. It can be absent for background or internal activity.',\n }),\n clientInstanceId: schemaShape.clientInstanceId.stringSpec({\n meaning: 'Optional pseudonymous browser or device-install identifier used to group activity across sessions when client-instance collection is enabled for the application.',\n }),\n eventData: schemaShape.eventData.objectSpec({\n meaning: 'Event-specific JSON details. Its keys depend on `eventType`; clients must not assume one payload shape across all event types.',\n }),\n riskLevel: schemaShape.riskLevel.enumSpec({\n meaning: 'Resource-operation risk tier for the action that generated this log row, when the classifier can map it.',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'ResourceOperationRiskLevel',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [ResourceOperationRiskLevel.LOW]: { meaning: 'Low-impact action that still warrants audit in policy.' },\n [ResourceOperationRiskLevel.MEDIUM]: { meaning: 'Moderate risk — policy-sensitive changes or data movement.' },\n [ResourceOperationRiskLevel.HIGH]: { meaning: 'High impact — should stand out in review queues.' },\n [ResourceOperationRiskLevel.CRITICAL]: { meaning: 'Maximum tier — may trigger paging or runbooks when surfaced to operators.' },\n },\n }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the auditable event was recorded.' }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Read one immutable audit event in the addressed organization.',\n outcome: 'The event’s classification, actor and origin identifiers, timestamp, risk level, and event-specific details are returned.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The immutable audit event row for the supplied id was found and its classification, actor, risk tier, and payload are returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No audit event row exists for the supplied id in the caller’s scope.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is neither an organization member or administrator nor an application super administrator for the addressed scope.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Inspect one organization role-change event',\n request: { organizationId: AUDIT_ORGANIZATION_ID, auditLogId: AUDIT_LOG_ID },\n response: AUDIT_LOG_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: 'Inspect an event with its organization context',\n request: { organizationId: AUDIT_ORGANIZATION_ID, auditLogId: AUDIT_LOG_ID },\n response: AUDIT_LOG_CONTEXT_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: 'Inspect a compact event summary',\n request: { organizationId: AUDIT_ORGANIZATION_ID, auditLogId: AUDIT_LOG_ID },\n response: AUDIT_LOG_SUMMARY_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n },\n [Op.LIST]: {\n purpose: 'List immutable audit events in the addressed organization, optionally filtering by classification, actor, application, correlation, client instance, or time window.',\n outcome: 'A newest-first paginated page of matching events is returned, up to 100 records per page.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) paginated page of audit event rows in the caller’s scope.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is neither an organization member or administrator nor an application super administrator for the addressed scope.' },\n ],\n idempotent: true,\n examples: [{\n title: 'List warning-level organization-management events',\n request: AUDIT_LOG_LIST_REQUEST,\n response: AUDIT_LOG_PAGE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: 'List events with their organization context',\n request: AUDIT_LOG_LIST_REQUEST,\n response: AUDIT_LOG_CONTEXT_PAGE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: 'List compact event summaries',\n request: AUDIT_LOG_LIST_REQUEST,\n response: AUDIT_LOG_SUMMARY_PAGE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n },\n [Op.SEARCH]: {\n purpose: 'Filter the organization audit trail by structured fields. This operation does not perform free-text search.',\n outcome: 'A paginated page of events matching every supplied filter is returned.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of audit rows matching the category / severity / time-window / actor filters.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is neither an organization member or administrator nor an application super administrator for the addressed scope.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Filter warning-level organization changes by time window',\n request: {\n ...AUDIT_LOG_LIST_REQUEST,\n severity: AuditEventSeverity.WARNING,\n limit: 100,\n sort: 'createdAt:desc',\n },\n response: {\n ...AUDIT_LOG_PAGE,\n pagination: { ...AUDIT_LOG_PAGE.pagination, limit: 100 },\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.CREATE]: {\n purpose: 'Internal write path for new audit rows; repository-only in factory for ingesters.',\n outcome: 'Immutable append to the log collection under service controls.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'An immutable audit row was appended to the log collection. Internal/service write path — the classifier/ingester appends rows; this is never a self-serve API create, and rows are never updated or deleted afterward.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The event fails schema validation (e.g. missing the service-classified `eventCategory` / `severity`, or an unknown `eventType`).', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A non-ingester caller attempts to append an audit row — only internal service ingesters may write to the immutable trail.' },\n ],\n idempotent: false,\n },\n [AuditLogs_Operations.EXPORT_AUDIT_LOGS]: {\n operationId: AuditLogs_Operations.EXPORT_AUDIT_LOGS,\n purpose: 'Export a bounded, filtered JSON window from the addressed organization’s immutable audit trail.',\n outcome: 'Returns up to 100 audit events and the total number of matching events in the caller’s authorized scope.',\n whenToUse: 'Use when an investigation or compliance workflow needs a small synchronous JSON data set. For larger or continuously delivered data, use the separately configured SIEM delivery capability.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A synchronous JSON response containing `records`, the fixed `format: \"json\"`, and `totalCount`. It is not a file download or an asynchronous archive job.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The export filter DTO is malformed (for example, an invalid date range or `maxRecords` outside 1–100).', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization administrator or application super administrator for the addressed scope.' },\n ],\n idempotent: true,\n rateLimitNote: 'Each request performs a bounded read of at most 100 audit events; apply a service-level rate limit before repeatedly scanning broad date ranges.',\n examples: [{\n title: 'Export warning-level organization-management events',\n request: {\n organizationId: AUDIT_ORGANIZATION_ID,\n eventCategory: AuditEventCategory.ORG_MANAGEMENT,\n severity: AuditEventSeverity.WARNING,\n userId: AUDIT_LOG_EXAMPLE.userId,\n createdAt: AUDIT_LOG_LIST_REQUEST.createdAt,\n maxRecords: 100,\n },\n response: {\n records: [AUDIT_LOG_EXAMPLE],\n format: 'json',\n totalCount: 1,\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n businessConstraints: [\n 'Audit events cannot be updated or deleted through customer APIs. A correction or reversal must be represented by a new event rather than changing history.',\n 'The application assigns `eventCategory` and `severity` when recording an event; API clients use those values for filtering and must not treat them as editable labels.',\n ],\n }),\n // Scope mirrors the registry-derived value: the `APPLICATION → AUDIT_LOGS`\n // relationship in `resources-registry.shared.core.definitions.ts` carries\n // `isPrimaryScope: true`, so the factory derives APPLICATION. Audit rows are\n // an app-wide compliance ledger (rows carry an `organizationId` column for\n // per-tenant filtering, but the resource itself is anchored at the\n // application). Was ORGANIZATIONS until the companion alignment guard\n // started pairing engine specs with materialized core configs (2026-07-02)\n // and flagged the drift.\n { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION },\n ),\n () => ({\n label: {\n purpose: 'Default merged preset builds a string from `eventType` and `createdAt` for the row label; the spec’s label purpose is to keep human-readable one-line context in list surfaces.',\n },\n layout: {\n purpose: 'Align `security` audit log templates with `overview` (event identity), `actors` (who/where), and `payload` (payload JSON / structured data).',\n displayPurpose: 'Read-only list + detail: display template wires these sections; there is no edit layout for immutable rows in default presets.',\n sections: {\n overview: {\n purpose: 'Event type, severity, risk, and time — first screen when triaging a row.',\n whenToUse: 'Summary cards and the top of a detail drawer.',\n textSlots: {\n title: { purpose: 'Name the current audit event in human language (often event type + time).' },\n description: { purpose: 'Clarify that rows are point-in-time records and are not user-editable in product.' },\n },\n },\n actors: {\n purpose: 'User, org, and related actor identifiers when present on the row.',\n whenToUse: 'Answering “who was involved” before reading payload content.',\n textSlots: {\n title: { purpose: 'Label the parties block.' },\n description: { purpose: 'Tie the row to people and org context without over-claiming attribution when fields are empty.' },\n },\n },\n payload: {\n purpose: 'Structured `eventData` and any redacted or expanded technical fields per template rules.',\n whenToUse: 'Deep inspection and support debugging after orientation from overview/actors.',\n textSlots: {\n title: { purpose: 'Label the payload/technical area.' },\n description: { purpose: 'Caution that shape varies by `eventType`; do not assert a single fixed JSON schema in prose.' },\n },\n },\n },\n },\n views: {\n [Op.LIST]: { purpose: 'Primary addressable trail view in merged security preset wiring — dashboard-style: `severity` quick-filter tab strip + `createdAt` day-bucket grouping via `collectionDisplayConfig` (both fields are in the LIST op\\'s declared `filterFields`; `createdAt` is a summary field).', whenToUse: 'Org and app security audit log routes when enabled; severity tabs are the review entry point.' },\n [Op.SEARCH]: { purpose: 'Addressable search surface when the merged preset flags search as addressable for this resource.', whenToUse: 'Investigators filtering by category, time, and severity in large environments.' },\n [Op.READ]: { purpose: 'Single-event inspection; not addressable in the default `views` array but still modeled for read shells.', whenToUse: 'Drill-in from a list row in audit viewers.' },\n [AuditLogs_Operations.EXPORT_AUDIT_LOGS]: { purpose: 'Bounded JSON retrieval flow with filter DTO; non-addressable in the default `views` array but invoked from admin/audit UIs when wired.', whenToUse: 'Focused investigation and compliance review where the requested window fits within 100 events.' },\n },\n }),\n);\n"]}
|
|
1
|
+
{"version":3,"file":"audit-logs.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/compliance/resources/audit-logs.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,IAAI,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AAC5G,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,yBAAyB,EACzB,kBAAkB,EAClB,kBAAkB,EAClB,qBAAqB,IAAI,EAAE,EAC3B,oBAAoB,EACpB,0BAA0B,EAC1B,oBAAoB,EACpB,oDAAoD,IAAI,gBAAgB,GACzE,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,sBAAsB,EACtB,6BAA6B,EAC7B,qBAAqB,EACrB,8CAA8C,GAC/C,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAO3E,MAAM,mBAAmB,GAAG,yBAAyE,CAAC;AAEtG,MAAM,qBAAqB,GAAG,yBAAyB,CAAC;AACxD,MAAM,oBAAoB,GAAG,wBAAwB,CAAC;AACtD,MAAM,YAAY,GAAG,sBAAsB,CAAC;AAE5C,MAAM,iBAAiB,GAAG;IACxB,GAAG,EAAE,YAAY;IACjB,OAAO,EAAE,sCAAsC;IAC/C,MAAM,EAAE,iBAAiB;IACzB,cAAc,EAAE,qBAAqB;IACrC,aAAa,EAAE,oBAAoB;IACnC,aAAa,EAAE,oBAAoB;IACnC,mBAAmB,EAAE,KAAK;IAC1B,gBAAgB,EAAE,4BAA4B;IAC9C,SAAS,EAAE,0BAA0B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BACzH;aACF;SACF;KACF;IACD,KAAK,EAAE;QACL,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE,mRAAmR,EAAE,SAAS,EAAE,+FAA+F,EAAE;QACvZ,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,kGAAkG,EAAE,SAAS,EAAE,gFAAgF,EAAE;QACzN,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE,0GAA0G,EAAE,SAAS,EAAE,4CAA4C,EAAE;QAC3L,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,EAAE,OAAO,EAAE,wIAAwI,EAAE,SAAS,EAAE,gGAAgG,EAAE;KAC7S;CACF,CAAC,CACH,CAAC","sourcesContent":["import { auditLogsMainResourceUIBehavior as auditLogsUIBehaviorSource } from '@wildo-ai/presets-components';\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport type { ResourceUIBehaviorConfig } from '@wildo-ai/saas-frontend-lib/companion';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n AuditableEvent_BaseSchema,\n AuditEventCategory,\n AuditEventSeverity,\n CoreResourceOperation as Op,\n ResourcePrimaryScope,\n ResourceOperationRiskLevel,\n AuditLogs_Operations,\n auditLogsResourceConfiguration_InitializationFactory as auditLogsFactory,\n} from '@wildo-ai/saas-models';\nimport {\n HttpResponseStatusCode,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n} from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype Cfg = ReturnType<typeof auditLogsFactory>;\ntype Custom = NonNullable<Cfg['customOperation']>;\ntype Core = Cfg['coreOperations'][number];\ntype Main = Cfg['mainSchema'];\n\nconst auditLogsUIBehavior = auditLogsUIBehaviorSource as ResourceUIBehaviorConfig<Custom, Core, Main>;\n\nconst AUDIT_ORGANIZATION_ID = 'organization_01JEXAMPLE';\nconst AUDIT_APPLICATION_ID = 'application_01JEXAMPLE';\nconst AUDIT_LOG_ID = 'audit_log_01JEXAMPLE';\n\nconst AUDIT_LOG_EXAMPLE = {\n _id: AUDIT_LOG_ID,\n eventId: 'a5ad8e36-7f34-4f0e-a7f4-1454a7997721',\n userId: 'user_01JEXAMPLE',\n organizationId: AUDIT_ORGANIZATION_ID,\n applicationId: AUDIT_APPLICATION_ID,\n correlationId: 'request_01JEXAMPLE',\n frontendServiceName: 'app',\n clientInstanceId: 'client_instance_01JEXAMPLE',\n riskLevel: ResourceOperationRiskLevel.HIGH,\n eventType: 'organization.member.role.changed',\n eventData: {\n targetUserId: 'user_01JTARGET',\n previousRoles: ['ORG_MEMBER'],\n newRoles: ['ORG_ADMIN'],\n },\n eventCategory: AuditEventCategory.ORG_MANAGEMENT,\n severity: AuditEventSeverity.WARNING,\n createdAt: '2026-08-20T14:32:10.000Z',\n updatedAt: '2026-08-20T14:32:10.000Z',\n _version: 1,\n} as const;\n\nconst AUDIT_LOG_CONTEXT_EXAMPLE = {\n ...AUDIT_LOG_EXAMPLE,\n organization: { _id: AUDIT_ORGANIZATION_ID },\n} as const;\n\nconst AUDIT_LOG_SUMMARY_EXAMPLE = {\n _id: AUDIT_LOG_EXAMPLE._id,\n userId: AUDIT_LOG_EXAMPLE.userId,\n organizationId: AUDIT_LOG_EXAMPLE.organizationId,\n applicationId: AUDIT_LOG_EXAMPLE.applicationId,\n correlationId: AUDIT_LOG_EXAMPLE.correlationId,\n frontendServiceName: AUDIT_LOG_EXAMPLE.frontendServiceName,\n clientInstanceId: AUDIT_LOG_EXAMPLE.clientInstanceId,\n riskLevel: AUDIT_LOG_EXAMPLE.riskLevel,\n eventType: AUDIT_LOG_EXAMPLE.eventType,\n eventCategory: AUDIT_LOG_EXAMPLE.eventCategory,\n severity: AUDIT_LOG_EXAMPLE.severity,\n createdAt: AUDIT_LOG_EXAMPLE.createdAt,\n _version: AUDIT_LOG_EXAMPLE._version,\n} as const;\n\nconst AUDIT_LOG_PAGE = {\n data: [AUDIT_LOG_EXAMPLE],\n pagination: { page: 1, limit: 20, total: 1, totalPages: 1 },\n} as const;\n\nconst AUDIT_LOG_CONTEXT_PAGE = {\n data: [AUDIT_LOG_CONTEXT_EXAMPLE],\n pagination: AUDIT_LOG_PAGE.pagination,\n} as const;\n\nconst AUDIT_LOG_SUMMARY_PAGE = {\n data: [AUDIT_LOG_SUMMARY_EXAMPLE],\n pagination: AUDIT_LOG_PAGE.pagination,\n} as const;\n\nconst AUDIT_LOG_LIST_REQUEST = {\n organizationId: AUDIT_ORGANIZATION_ID,\n eventCategory: AuditEventCategory.ORG_MANAGEMENT,\n severity: AuditEventSeverity.WARNING,\n createdAt: {\n startDate: '2026-08-20T00:00:00.000Z',\n endDate: '2026-08-21T00:00:00.000Z',\n },\n page: 1,\n limit: 20,\n sort: 'createdAt:desc,eventId:desc',\n} as const;\n\nexport const auditLogsResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n resourceFrontendConfiguration(auditLogsUIBehavior),\n resourceSpecification(\n auditLogsFactory,\n AuditableEvent_BaseSchema,\n ({ schemaShape }) => ({\n purpose: 'Immutable evidence records for security, access, administration, and data events within the addressed organization.',\n businessRole: 'Supports investigation and compliance review by showing what happened, when it happened, who acted when known, and how the event was classified.',\n lifecycleRole: 'Events are appended by the application, can be read, filtered, and exported through the API, and cannot be updated or deleted through customer APIs.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.COMPLIANCE,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'AuditableEvent_BaseSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'auditLogsResourceConfiguration_InitializationFactory',\n symbolKind: CodeSymbolKind.FACTORY,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resourceType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'AUDIT_LOGS',\n },\n operationVocabulary: {\n coreEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n customEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'AuditLogs_Operations',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n frontendConfigurationSources: [\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'auditLogsMainResourceUIBehavior',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n ],\n notes: [\n 'Registry `AUDIT_LOGS` links optionally to both `ORGANIZATIONS` and `APPLICATION`; the application relationship carries the canonical `isPrimaryScope: true` classification used for the spec’s `resourcePrimaryScope`, while individual organization-scoped, user-only, and system rows may omit `applicationId`.',\n ],\n },\n fields: {\n eventType: schemaShape.eventType.stringSpec({\n meaning: 'Stable event name identifying what happened, such as a role change or authentication outcome.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n eventId: schemaShape.eventId.stringSpec({\n meaning: 'Stable identifier for the event itself. Use it to match the same event across API results, exports, and configured external audit sinks.',\n }),\n correlationId: schemaShape.correlationId.stringSpec({\n meaning: 'Identifier shared by events and operational records produced by one request or background execution. Use it to investigate related activity as one sequence.',\n }),\n eventCategory: schemaShape.eventCategory.enumSpec({\n meaning: 'High-level area for navigation, filters, and export groupings (populated by the service classifier).',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'AuditEventCategory',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [AuditEventCategory.AUTHENTICATION]: { meaning: 'Sign-in, session, and credential events.' },\n [AuditEventCategory.AUTHORIZATION]: { meaning: 'Access control and policy evaluation outcomes when classified here.' },\n [AuditEventCategory.USER_LIFECYCLE]: { meaning: 'User profile and account lifecycle when classified here.' },\n [AuditEventCategory.ORG_MANAGEMENT]: { meaning: 'Org structure, membership, and org-scoped security configuration changes when classified here.' },\n [AuditEventCategory.DATA_ACCESS]: { meaning: 'Sensitive or tracked data read/write and export when classified here.' },\n },\n }),\n severity: schemaShape.severity.enumSpec({\n meaning: 'UI and export triage level for a record (populated with `eventCategory` by the service classifier on CREATE).',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'AuditEventSeverity',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [AuditEventSeverity.INFO]: { meaning: 'Normal operational or informational log lines.' },\n [AuditEventSeverity.WARNING]: { meaning: 'Notable but not always urgent — worth review when scanning.' },\n [AuditEventSeverity.CRITICAL]: { meaning: 'Escalation-tier events in product triage and export filters.' },\n },\n }),\n userId: schemaShape.userId.stringSpec({ meaning: 'Acting user when known; may be empty for system-only events.' }),\n organizationId: schemaShape.organizationId.foreignKeySpec({\n meaning: 'The `organizations` record that owns the tenant context of this event; used to scope and filter the trail per tenant. Optional in cross-tenant or user-only events where no single org owns the record.',\n }),\n applicationId: schemaShape.applicationId.foreignKeySpec({\n meaning: 'The `applications` record that owns an application-scoped event. Kept distinct from organization tenancy so application SSO and machine-auth trails never synthesize an organization.',\n }),\n frontendServiceName: schemaShape.frontendServiceName.stringSpec({\n meaning: 'Frontend surface from which the action originated, when the event came from an interactive request. It can be absent for background or internal activity.',\n }),\n clientInstanceId: schemaShape.clientInstanceId.stringSpec({\n meaning: 'Optional pseudonymous browser or device-install identifier used to group activity across sessions when client-instance collection is enabled for the application.',\n }),\n eventData: schemaShape.eventData.objectSpec({\n meaning: 'Event-specific JSON details. Its keys depend on `eventType`; clients must not assume one payload shape across all event types.',\n }),\n riskLevel: schemaShape.riskLevel.enumSpec({\n meaning: 'Resource-operation risk tier for the action that generated this log record, when the classifier can map it.',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'ResourceOperationRiskLevel',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [ResourceOperationRiskLevel.LOW]: { meaning: 'Low-impact action that still warrants audit in policy.' },\n [ResourceOperationRiskLevel.MEDIUM]: { meaning: 'Moderate risk — policy-sensitive changes or data movement.' },\n [ResourceOperationRiskLevel.HIGH]: { meaning: 'High impact — should stand out in review queues.' },\n [ResourceOperationRiskLevel.CRITICAL]: { meaning: 'Maximum tier — may trigger paging or runbooks when surfaced to operators.' },\n },\n }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the auditable event was recorded.' }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Read one immutable audit event in the addressed organization.',\n outcome: 'The event’s classification, actor and origin identifiers, timestamp, risk level, and event-specific details are returned.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The immutable audit event record for the supplied id was found and its classification, actor, risk tier, and payload are returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No audit event row exists for the supplied id in the caller’s scope.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is neither an organization member or administrator nor an application super administrator for the addressed scope.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Inspect one organization role-change event',\n request: { organizationId: AUDIT_ORGANIZATION_ID, auditLogId: AUDIT_LOG_ID },\n response: AUDIT_LOG_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: 'Inspect an event with its organization context',\n request: { organizationId: AUDIT_ORGANIZATION_ID, auditLogId: AUDIT_LOG_ID },\n response: AUDIT_LOG_CONTEXT_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: 'Inspect a compact event summary',\n request: { organizationId: AUDIT_ORGANIZATION_ID, auditLogId: AUDIT_LOG_ID },\n response: AUDIT_LOG_SUMMARY_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n },\n [Op.LIST]: {\n purpose: 'List immutable audit events in the addressed organization, optionally filtering by classification, actor, application, correlation, client instance, or time window.',\n outcome: 'A newest-first paginated page of matching events is returned, up to 100 records per page.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) paginated page of audit event records in the caller’s scope.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is neither an organization member or administrator nor an application super administrator for the addressed scope.' },\n ],\n idempotent: true,\n examples: [{\n title: 'List warning-level organization-management events',\n request: AUDIT_LOG_LIST_REQUEST,\n response: AUDIT_LOG_PAGE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: 'List events with their organization context',\n request: AUDIT_LOG_LIST_REQUEST,\n response: AUDIT_LOG_CONTEXT_PAGE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: 'List compact event summaries',\n request: AUDIT_LOG_LIST_REQUEST,\n response: AUDIT_LOG_SUMMARY_PAGE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n },\n [Op.SEARCH]: {\n purpose: 'Filter the organization audit trail by structured fields. This operation does not perform free-text search.',\n outcome: 'A paginated page of events matching every supplied filter is returned.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of audit records matching the category / severity / time-window / actor filters.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is neither an organization member or administrator nor an application super administrator for the addressed scope.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Filter warning-level organization changes by time window',\n request: {\n ...AUDIT_LOG_LIST_REQUEST,\n severity: AuditEventSeverity.WARNING,\n limit: 100,\n sort: 'createdAt:desc',\n },\n response: {\n ...AUDIT_LOG_PAGE,\n pagination: { ...AUDIT_LOG_PAGE.pagination, limit: 100 },\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.CREATE]: {\n purpose: 'Internal write path for new audit rows; repository-only in factory for ingesters.',\n outcome: 'Immutable append to the log collection under service controls.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'An immutable audit record was appended to the log collection. Internal/service write path — the classifier/ingester appends records; this is never a self-serve API create, and records are never updated or deleted afterward.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The event fails schema validation (e.g. missing the service-classified `eventCategory` / `severity`, or an unknown `eventType`).', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A non-ingester caller attempts to append an audit row — only internal service ingesters may write to the immutable trail.' },\n ],\n idempotent: false,\n },\n [AuditLogs_Operations.EXPORT_AUDIT_LOGS]: {\n operationId: AuditLogs_Operations.EXPORT_AUDIT_LOGS,\n purpose: 'Export a bounded, filtered JSON window from the addressed organization’s immutable audit trail.',\n outcome: 'Returns up to 100 audit events and the total number of matching events in the caller’s authorized scope.',\n whenToUse: 'Use when an investigation or compliance workflow needs a small synchronous JSON data set. For larger or continuously delivered data, use the separately configured SIEM delivery capability.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A synchronous JSON response containing `records`, the fixed `format: \"json\"`, and `totalCount`. It is not a file download or an asynchronous archive job.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The export filter DTO is malformed (for example, an invalid date range or `maxRecords` outside 1–100).', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization administrator or application super administrator for the addressed scope.' },\n ],\n idempotent: true,\n rateLimitNote: 'Each request performs a bounded read of at most 100 audit events; apply a service-level rate limit before repeatedly scanning broad date ranges.',\n examples: [{\n title: 'Export warning-level organization-management events',\n request: {\n organizationId: AUDIT_ORGANIZATION_ID,\n eventCategory: AuditEventCategory.ORG_MANAGEMENT,\n severity: AuditEventSeverity.WARNING,\n userId: AUDIT_LOG_EXAMPLE.userId,\n createdAt: AUDIT_LOG_LIST_REQUEST.createdAt,\n maxRecords: 100,\n },\n response: {\n records: [AUDIT_LOG_EXAMPLE],\n format: 'json',\n totalCount: 1,\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n businessConstraints: [\n 'Audit events cannot be updated or deleted through customer APIs. A correction or reversal must be represented by a new event rather than changing history.',\n 'The application assigns `eventCategory` and `severity` when recording an event; API clients use those values for filtering and must not treat them as editable labels.',\n ],\n }),\n // Scope mirrors the registry-derived value: the `APPLICATION → AUDIT_LOGS`\n // relationship in `resources-registry.shared.core.definitions.ts` carries\n // `isPrimaryScope: true`, so the factory derives APPLICATION. Audit rows are\n // an app-wide compliance ledger (rows carry an `organizationId` column for\n // per-tenant filtering, but the resource itself is anchored at the\n // application). Was ORGANIZATIONS until the companion alignment guard\n // started pairing engine specs with materialized core configs (2026-07-02)\n // and flagged the drift.\n { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION },\n ),\n () => ({\n label: {\n purpose: 'Default merged preset builds a string from `eventType` and `createdAt` for the row label; the spec’s label purpose is to keep human-readable one-line context in list surfaces.',\n },\n layout: {\n purpose: 'Align `security` audit log templates with `overview` (event identity), `actors` (who/where), and `payload` (payload JSON / structured data).',\n displayPurpose: 'Read-only list + detail: display template wires these sections; there is no edit layout for immutable rows in default presets.',\n sections: {\n overview: {\n purpose: 'Event type, severity, risk, and time — first screen when triaging a row.',\n whenToUse: 'Summary cards and the top of a detail drawer.',\n textSlots: {\n title: { purpose: 'Name the current audit event in human language (often event type + time).' },\n description: { purpose: 'Clarify that rows are point-in-time records and are not user-editable in product.' },\n },\n },\n actors: {\n purpose: 'User, org, and related actor identifiers when present on the row.',\n whenToUse: 'Answering “who was involved” before reading payload content.',\n textSlots: {\n title: { purpose: 'Label the parties block.' },\n description: { purpose: 'Tie the row to people and org context without over-claiming attribution when fields are empty.' },\n },\n },\n payload: {\n purpose: 'Structured `eventData` and any redacted or expanded technical fields per template rules.',\n whenToUse: 'Deep inspection and support debugging after orientation from overview/actors.',\n textSlots: {\n title: { purpose: 'Label the payload/technical area.' },\n description: { purpose: 'Caution that shape varies by `eventType`; do not assert a single fixed JSON schema in prose.' },\n },\n },\n },\n },\n views: {\n [Op.LIST]: { purpose: 'Primary addressable trail view in merged security preset wiring — dashboard-style: `severity` quick-filter tab strip + `createdAt` day-bucket grouping via `collectionDisplayConfig` (both fields are in the LIST op\\'s declared `filterFields`; `createdAt` is a summary field).', whenToUse: 'Org and app security audit log routes when enabled; severity tabs are the review entry point.' },\n [Op.SEARCH]: { purpose: 'Addressable search surface when the merged preset flags search as addressable for this resource.', whenToUse: 'Investigators filtering by category, time, and severity in large environments.' },\n [Op.READ]: { purpose: 'Single-event inspection; not addressable in the default `views` array but still modeled for read shells.', whenToUse: 'Drill-in from a list row in audit viewers.' },\n [AuditLogs_Operations.EXPORT_AUDIT_LOGS]: { purpose: 'Bounded JSON retrieval flow with filter DTO; non-addressable in the default `views` array but invoked from admin/audit UIs when wired.', whenToUse: 'Focused investigation and compliance review where the requested window fits within 100 events.' },\n },\n }),\n);\n"]}
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
* Applications spread this registry FIRST into their specifications package's
|
|
18
18
|
* `resourceSpecifications` companion export (app-authored specs override on a
|
|
19
19
|
* shared `resourceType`) so the companion can resolve engine-resource
|
|
20
|
-
* per-field / per-operation semantics for labelling, translation, and
|
|
21
|
-
* `wildo context
|
|
20
|
+
* per-field / per-operation semantics for labelling, translation, and the
|
|
21
|
+
* CLI's `wildo context info resource-specifications`. That handler runs
|
|
22
22
|
* `assertResourceSpecificationsAlignWithRegistry` over that merged overlay
|
|
23
23
|
* against a registry view that mirrors the backend runtime merge: the app's
|
|
24
24
|
* shared registry PLUS the core configs materialized from
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"engine-resource-specifications.registry.d.ts","sourceRoot":"","sources":["../../../../src/engine/engine-resource-specifications.registry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AAIH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"engine-resource-specifications.registry.d.ts","sourceRoot":"","sources":["../../../../src/engine/engine-resource-specifications.registry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AAIH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAgJzE;;;;;GAKG;AACH,eAAO,MAAM,kCAAkC,EAAE,qBA4GhD,CAAC"}
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
* Applications spread this registry FIRST into their specifications package's
|
|
18
18
|
* `resourceSpecifications` companion export (app-authored specs override on a
|
|
19
19
|
* shared `resourceType`) so the companion can resolve engine-resource
|
|
20
|
-
* per-field / per-operation semantics for labelling, translation, and
|
|
21
|
-
* `wildo context
|
|
20
|
+
* per-field / per-operation semantics for labelling, translation, and the
|
|
21
|
+
* CLI's `wildo context info resource-specifications`. That handler runs
|
|
22
22
|
* `assertResourceSpecificationsAlignWithRegistry` over that merged overlay
|
|
23
23
|
* against a registry view that mirrors the backend runtime merge: the app's
|
|
24
24
|
* shared registry PLUS the core configs materialized from
|
|
@@ -49,7 +49,10 @@ import { applicationVersionsResourceSpecification } from './applications/resourc
|
|
|
49
49
|
import { applicationsResourceSpecification } from './applications/resources/applications.resource.specification.js';
|
|
50
50
|
// auth
|
|
51
51
|
import { organizationApiKeysResourceSpecification } from './auth/resources/organization-api-keys.resource.specification.js';
|
|
52
|
+
import { organizationProviderCredentialsResourceSpecification } from './auth/resources/organization-provider-credentials.resource.specification.js';
|
|
53
|
+
import { userProviderCredentialsResourceSpecification } from './auth/resources/user-provider-credentials.resource.specification.js';
|
|
52
54
|
import { organizationOAuthClientsResourceSpecification } from './auth/resources/organization-oauth-clients.resource.specification.js';
|
|
55
|
+
import { consumableTokensResourceSpecification } from './auth/resources/consumable-tokens.resource.specification.js';
|
|
53
56
|
import { oauthConsentGrantsResourceSpecification } from './auth/resources/oauth-consent-grants.resource.specification.js';
|
|
54
57
|
import { platformAccessGrantsResourceSpecification } from './auth/resources/platform-access-grants.resource.specification.js';
|
|
55
58
|
import { applicationScimProvisioningConfigResourceSpecification, organizationScimProvisioningConfigResourceSpecification, } from './auth/resources/scim-provisioning-config.resource.specification.js';
|
|
@@ -129,7 +132,13 @@ export const engineResourceSpecificationsByType = {
|
|
|
129
132
|
[CoreResourceType.APPLICATION_VERSIONS]: applicationVersionsResourceSpecification,
|
|
130
133
|
[CoreResourceType.APPLICATION]: applicationsResourceSpecification,
|
|
131
134
|
// auth
|
|
135
|
+
// `consumableTokens` is a BackendResourceType, not a CoreResourceType — same situation as
|
|
136
|
+
// `dataSeedRuns` below, so it is keyed by its literal resource-type string and sits outside the
|
|
137
|
+
// core-registry alignment guard's population by construction.
|
|
138
|
+
consumableTokens: consumableTokensResourceSpecification,
|
|
132
139
|
[CoreResourceType.ORG_API_KEYS]: organizationApiKeysResourceSpecification,
|
|
140
|
+
[CoreResourceType.ORG_PROVIDER_CREDENTIALS]: organizationProviderCredentialsResourceSpecification,
|
|
141
|
+
[CoreResourceType.USER_PROVIDER_CREDENTIALS]: userProviderCredentialsResourceSpecification,
|
|
133
142
|
[CoreResourceType.OAUTH_CLIENTS_ORGANIZATION]: organizationOAuthClientsResourceSpecification,
|
|
134
143
|
[CoreResourceType.ORGANIZATION_SCIM_PROVISIONING_CONFIG]: organizationScimProvisioningConfigResourceSpecification,
|
|
135
144
|
[CoreResourceType.APPLICATION_SCIM_PROVISIONING_CONFIG]: applicationScimProvisioningConfigResourceSpecification,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"engine-resource-specifications.registry.js","sourceRoot":"","sources":["../../../../src/engine/engine-resource-specifications.registry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAIzD,eAAe;AACf,OAAO,EAAE,uCAAuC,EAAE,MAAM,sEAAsE,CAAC;AAC/H,OAAO,EAAE,wCAAwC,EAAE,MAAM,sEAAsE,CAAC;AAChI,OAAO,EAAE,4CAA4C,EAAE,MAAM,2EAA2E,CAAC;AACzI,OAAO,EAAE,wCAAwC,EAAE,MAAM,sEAAsE,CAAC;AAChI,OAAO,EAAE,iCAAiC,EAAE,MAAM,8DAA8D,CAAC;AACjH,OAAO;AACP,OAAO,EAAE,wCAAwC,EAAE,MAAM,+DAA+D,CAAC;AACzH,OAAO,EAAE,6CAA6C,EAAE,MAAM,oEAAoE,CAAC;AACnI,OAAO,EAAE,uCAAuC,EAAE,MAAM,8DAA8D,CAAC;AACvH,OAAO,EAAE,yCAAyC,EAAE,MAAM,gEAAgE,CAAC;AAC3H,OAAO,EACL,sDAAsD,EACtD,uDAAuD,GACxD,MAAM,kEAAkE,CAAC;AAC1E,8EAA8E;AAC9E,0FAA0F;AAC1F,OAAO,EAAE,2CAA2C,EAAE,MAAM,qDAAqD,CAAC;AAClH,OAAO,EACL,+CAA+C,EAC/C,gDAAgD,GACjD,MAAM,2DAA2D,CAAC;AACnE,OAAO,EACL,gDAAgD,EAChD,iDAAiD,GAClD,MAAM,4DAA4D,CAAC;AACpE,OAAO,EACL,yCAAyC,EACzC,0CAA0C,GAC3C,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EACL,8CAA8C,EAC9C,+CAA+C,GAChD,MAAM,y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gB,CAAC,EAAE,oCAAoC;IACzE,CAAC,gBAAgB,CAAC,aAAa,CAAC,EAAE,iCAAiC;IACnE,CAAC,gBAAgB,CAAC,qBAAqB,CAAC,EAAE,wCAAwC;IAClF,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,EAAE,qCAAqC;IAC5E,CAAC,gBAAgB,CAAC,SAAS,CAAC,EAAE,6BAA6B;IAC3D,CAAC,gBAAgB,CAAC,KAAK,CAAC,EAAE,0BAA0B;CACrD,CAAC","sourcesContent":["/**\n * Aggregated engine resource-specification overlay, keyed by `CoreResourceType`.\n *\n * # Purpose\n *\n * Every engine `*.resource.specification.ts` authors Tier-1/2/3 documentation\n * (operation summary/description, field/enum/tag descriptions, response statuses,\n * error scenarios, idempotency, rate-limit notes, examples). Those specs are\n * exported file-by-file with no aggregation. This registry collects all of them\n * into a single `Record<resourceType, ResourceSpecificationConfig>` so the\n * **companion OpenAPI projector** can attach the authored documentation as an\n * overlay when it projects core (engine) resources into an application's\n * generated OpenAPI (`apiDocResources` in `WildoTechnicalDocConfig`).\n *\n * # Consumption model (merged into an app's `resourceSpecifications` overlay)\n *\n * Applications spread this registry FIRST into their specifications package's\n * `resourceSpecifications` companion export (app-authored specs override on a\n * shared `resourceType`) so the companion can resolve engine-resource\n * per-field / per-operation semantics for labelling, translation, and\n * `wildo context spec`. The companion's `resource-specifications` handler runs\n * `assertResourceSpecificationsAlignWithRegistry` over that merged overlay\n * against a registry view that mirrors the backend runtime merge: the app's\n * shared registry PLUS the core configs materialized from\n * `coreShared_ResourcesConfigurations_FactoryMap` (app registrations win).\n * Every spec here that declares `resourcePrimaryScope` is therefore\n * scope-checked against its materialized core config on every introspection\n * call — a declared scope that drifts from the registry-derived scope fails\n * fast at the companion. The OpenAPI projector consumes the same registry to\n * overlay Tier-1/2/3 documentation onto the core resources it materializes.\n *\n * # Keying\n *\n * Keys are `CoreResourceType` members and MUST match the keys of\n * `coreShared_ResourcesConfigurations_FactoryMap` (`@wildo-ai/saas-models`) so\n * the projector's `engineResourceSpecificationsByType[resourceType]` lookup\n * resolves the overlay for the materialized config. Polymorphic resources\n * (org/app/user variants) contribute one entry per variant.\n *\n * One entry per exported `*ResourceSpecification` const across all engine\n * resource specs (77 total).\n */\n\nimport { CoreResourceType } from '@wildo-ai/saas-models';\n\nimport type { ResourceSpecification } from '~wildo-specifications/_core';\n\n// applications\nimport { applicationApiKeysResourceSpecification } from './applications/resources/application-api-keys.resource.specification';\nimport { applicationMetadataResourceSpecification } from './applications/resources/application-metadata.resource.specification';\nimport { applicationOAuthClientsResourceSpecification } from './applications/resources/application-oauth-clients.resource.specification';\nimport { applicationVersionsResourceSpecification } from './applications/resources/application-versions.resource.specification';\nimport { applicationsResourceSpecification } from './applications/resources/applications.resource.specification';\n// auth\nimport { organizationApiKeysResourceSpecification } from './auth/resources/organization-api-keys.resource.specification';\nimport { organizationOAuthClientsResourceSpecification } from './auth/resources/organization-oauth-clients.resource.specification';\nimport { oauthConsentGrantsResourceSpecification } from './auth/resources/oauth-consent-grants.resource.specification';\nimport { platformAccessGrantsResourceSpecification } from './auth/resources/platform-access-grants.resource.specification';\nimport {\n applicationScimProvisioningConfigResourceSpecification,\n organizationScimProvisioningConfigResourceSpecification,\n} from './auth/resources/scim-provisioning-config.resource.specification';\n// SCIM bearer credentials are organization-scoped until an application-scoped\n// SCIM protocol and authorizer actually exist; do not register a documentation-only twin.\nimport { organizationScimTokensResourceSpecification } from './auth/resources/scim-tokens.resource.specification';\nimport {\n applicationSiemDeliveryDlqResourceSpecification,\n organizationSiemDeliveryDlqResourceSpecification,\n} from './auth/resources/siem-delivery-dlq.resource.specification';\nimport {\n applicationSiemExportConfigResourceSpecification,\n organizationSiemExportConfigResourceSpecification,\n} from './auth/resources/siem-export-config.resource.specification';\nimport {\n applicationSsoConfigResourceSpecification,\n organizationSsoConfigResourceSpecification,\n} from './auth/resources/sso-config.resource.specification';\nimport {\n applicationSsoConnectionsResourceSpecification,\n organizationSsoConnectionsResourceSpecification,\n} from './auth/resources/sso-connections.resource.specification';\n// billing\nimport {\n organizationBillingAccountsResourceSpecification,\n userBillingAccountsResourceSpecification,\n} from './billing/resources/billing-accounts.resource.specification';\nimport {\n organizationCreditPoolsResourceSpecification,\n userCreditPoolsResourceSpecification,\n} from './billing/resources/credit-pools.resource.specification';\nimport {\n organizationInvoiceRefsResourceSpecification,\n userInvoiceRefsResourceSpecification,\n} from './billing/resources/invoice-refs.resource.specification';\nimport { pricesResourceSpecification } from './billing/resources/prices.resource.specification';\nimport { productsResourceSpecification } from './billing/resources/products.resource.specification';\nimport { promotionsResourceSpecification } from './billing/resources/promotions.resource.specification';\nimport { referralsResourceSpecification } from './billing/resources/referrals.resource.specification';\nimport {\n organizationSubscriptionsResourceSpecification,\n userSubscriptionsResourceSpecification,\n} from './billing/resources/subscriptions.resource.specification';\nimport {\n organizationUsageRecordsResourceSpecification,\n userUsageRecordsResourceSpecification,\n} from './billing/resources/usage-records.resource.specification';\n// compliance\nimport { auditLogsResourceSpecification } from './compliance/resources/audit-logs.resource.specification';\n// features\nimport { applicationFeaturesResourceSpecification } from './features/resources/application-features.resource.specification';\nimport { organizationFeaturesResourceSpecification } from './features/resources/organization-features.resource.specification';\nimport { userFeaturesResourceSpecification } from './features/resources/user-features.resource.specification';\n// files\nimport { filesResourceSpecification } from './files/resources/files.resource.specification';\n// guidance\nimport {\n organizationGuidanceStateResourceSpecification,\n userGuidanceStateResourceSpecification,\n} from './guidance/resources/guidance-state.resource.specification';\nimport {\n organizationLifecycleStateResourceSpecification,\n userLifecycleStateResourceSpecification,\n} from './guidance/resources/lifecycle-state.resource.specification';\nimport {\n organizationProgressionStateResourceSpecification,\n userProgressionStateResourceSpecification,\n} from './guidance/resources/progression-state.resource.specification';\n// infrastructure\nimport { dataSeedRunsResourceSpecification } from './infrastructure/resources/data-seed-runs.resource.specification';\nimport { externalDataPipelineStatesResourceSpecification } from './infrastructure/resources/external-data-pipeline-states.resource.specification';\nimport { jobExecutionsResourceSpecification } from './infrastructure/resources/job-executions.resource.specification';\nimport { jobPayloadStorageResourceSpecification } from './infrastructure/resources/job-payload-storage.resource.specification';\n// flows-actors\nimport {\n applicationA2aTokenBudgetStateResourceSpecification,\n organizationA2aTokenBudgetStateResourceSpecification,\n userA2aTokenBudgetStateResourceSpecification,\n} from './flows-actors/resources/a2a-token-budget-state.resource.specification';\nimport {\n userA2aPushDeliveryLogResourceSpecification,\n organizationA2aPushDeliveryLogResourceSpecification,\n applicationA2aPushDeliveryLogResourceSpecification,\n} from './flows-actors/resources/a2a-push-delivery-log.resource.specification';\nimport {\n applicationFlowActorExecutionsResourceSpecification,\n organizationFlowActorExecutionsResourceSpecification,\n userFlowActorExecutionsResourceSpecification,\n} from './flows-actors/resources/flow-actor-executions.resource.specification';\nimport {\n applicationFlowActorTasksResourceSpecification,\n organizationFlowActorTasksResourceSpecification,\n userFlowActorTasksResourceSpecification,\n} from './flows-actors/resources/flow-actor-tasks.resource.specification';\n// notifications\nimport {\n applicationM2mWebhookDeliveryLogResourceSpecification,\n organizationM2mWebhookDeliveryLogResourceSpecification,\n} from './notifications/resources/m2m-webhook-delivery-log.resource.specification';\nimport {\n organizationNotificationBadgesResourceSpecification,\n userNotificationBadgesResourceSpecification,\n} from './notifications/resources/notification-badges.resource.specification';\nimport {\n applicationWebhookConfigResourceSpecification,\n organizationWebhookConfigResourceSpecification,\n} from './notifications/resources/webhook-config.resource.specification';\n// organizations\nimport { organizationMembersResourceSpecification } from './organizations/resources/organization-members.resource.specification';\nimport { organizationNotificationsResourceSpecification } from './organizations/resources/organization-notifications.resource.specification';\nimport { organizationPreferencesResourceSpecification } from './organizations/resources/organization-preferences.resource.specification';\nimport { organizationProfilesResourceSpecification } from './organizations/resources/organization-profiles.resource.specification';\nimport { organizationUnitMembersResourceSpecification } from './organizations/resources/organization-unit-members.resource.specification';\nimport { organizationUnitsResourceSpecification } from './organizations/resources/organization-units.resource.specification';\nimport { organizationsResourceSpecification } from './organizations/resources/organizations.resource.specification';\n// users\nimport { anonymousUsersResourceSpecification } from './users/resources/anonymous-users.resource.specification';\nimport { inboundContactsResourceSpecification } from './users/resources/inbound-contacts.resource.specification';\nimport { userCredentialsResourceSpecification } from './users/resources/user-credentials.resource.specification';\nimport { userIdentityLinksResourceSpecification } from './users/resources/user-identity-links.resource.specification';\nimport { userPreferencesResourceSpecification } from './users/resources/user-preferences.resource.specification';\nimport { userProfilesResourceSpecification } from './users/resources/user-profiles.resource.specification';\nimport { userSelfPreferencesResourceSpecification } from './users/resources/user-self-preferences.resource.specification';\nimport { userSelfProfilesResourceSpecification } from './users/resources/user-self-profiles.resource.specification';\nimport { userSelfResourceSpecification } from './users/resources/user-self.resource.specification';\nimport { usersResourceSpecification } from './users/resources/users.resource.specification';\n\n/**\n * All engine resource specifications keyed by their `CoreResourceType`.\n * Consumed by the companion OpenAPI projector as a documentation overlay for\n * core resources (see file-level JSDoc). Explicit type annotation keeps the\n * export `isolatedDeclarations`-safe.\n */\nexport const engineResourceSpecificationsByType: ResourceSpecification = {\n // applications\n [CoreResourceType.APPLICATION_API_KEYS]: applicationApiKeysResourceSpecification,\n [CoreResourceType.APPLICATION_METADATA]: applicationMetadataResourceSpecification,\n [CoreResourceType.OAUTH_CLIENTS_APPLICATION]: applicationOAuthClientsResourceSpecification,\n [CoreResourceType.APPLICATION_VERSIONS]: applicationVersionsResourceSpecification,\n [CoreResourceType.APPLICATION]: applicationsResourceSpecification,\n // auth\n [CoreResourceType.ORG_API_KEYS]: organizationApiKeysResourceSpecification,\n [CoreResourceType.OAUTH_CLIENTS_ORGANIZATION]: organizationOAuthClientsResourceSpecification,\n [CoreResourceType.ORGANIZATION_SCIM_PROVISIONING_CONFIG]: organizationScimProvisioningConfigResourceSpecification,\n [CoreResourceType.APPLICATION_SCIM_PROVISIONING_CONFIG]: applicationScimProvisioningConfigResourceSpecification,\n [CoreResourceType.ORGANIZATION_SCIM_TOKENS]: organizationScimTokensResourceSpecification,\n [CoreResourceType.ORGANIZATION_SIEM_DELIVERY_DLQ]: organizationSiemDeliveryDlqResourceSpecification,\n [CoreResourceType.APPLICATION_SIEM_DELIVERY_DLQ]: applicationSiemDeliveryDlqResourceSpecification,\n [CoreResourceType.ORGANIZATION_SIEM_EXPORT_CONFIG]: organizationSiemExportConfigResourceSpecification,\n [CoreResourceType.APPLICATION_SIEM_EXPORT_CONFIG]: applicationSiemExportConfigResourceSpecification,\n [CoreResourceType.ORGANIZATION_SSO_CONFIG]: organizationSsoConfigResourceSpecification,\n [CoreResourceType.APPLICATION_SSO_CONFIG]: applicationSsoConfigResourceSpecification,\n [CoreResourceType.ORGANIZATION_SSO_CONNECTIONS]: organizationSsoConnectionsResourceSpecification,\n [CoreResourceType.APPLICATION_SSO_CONNECTIONS]: applicationSsoConnectionsResourceSpecification,\n [CoreResourceType.PLATFORM_ACCESS_GRANTS]: platformAccessGrantsResourceSpecification,\n // billing\n [CoreResourceType.ORGANIZATION_BILLING_ACCOUNTS]: organizationBillingAccountsResourceSpecification,\n [CoreResourceType.USER_BILLING_ACCOUNTS]: userBillingAccountsResourceSpecification,\n [CoreResourceType.ORGANIZATION_CREDIT_POOLS]: organizationCreditPoolsResourceSpecification,\n [CoreResourceType.USER_CREDIT_POOLS]: userCreditPoolsResourceSpecification,\n [CoreResourceType.ORGANIZATION_INVOICE_REFS]: organizationInvoiceRefsResourceSpecification,\n [CoreResourceType.USER_INVOICE_REFS]: userInvoiceRefsResourceSpecification,\n [CoreResourceType.PRICES]: pricesResourceSpecification,\n [CoreResourceType.PRODUCTS]: productsResourceSpecification,\n [CoreResourceType.PROMOTIONS]: promotionsResourceSpecification,\n [CoreResourceType.REFERRALS]: referralsResourceSpecification,\n [CoreResourceType.ORGANIZATION_SUBSCRIPTIONS]: organizationSubscriptionsResourceSpecification,\n [CoreResourceType.USER_SUBSCRIPTIONS]: userSubscriptionsResourceSpecification,\n [CoreResourceType.ORGANIZATION_USAGE_RECORDS]: organizationUsageRecordsResourceSpecification,\n [CoreResourceType.USER_USAGE_RECORDS]: userUsageRecordsResourceSpecification,\n // compliance\n [CoreResourceType.AUDIT_LOGS]: auditLogsResourceSpecification,\n // features\n [CoreResourceType.APPLICATION_FEATURES]: applicationFeaturesResourceSpecification,\n [CoreResourceType.ORGANIZATION_FEATURES]: organizationFeaturesResourceSpecification,\n [CoreResourceType.USER_FEATURES]: userFeaturesResourceSpecification,\n // files\n [CoreResourceType.FILES]: filesResourceSpecification,\n // guidance\n [CoreResourceType.USER_GUIDANCE_STATE]: userGuidanceStateResourceSpecification,\n [CoreResourceType.ORGANIZATION_GUIDANCE_STATE]: organizationGuidanceStateResourceSpecification,\n [CoreResourceType.USER_LIFECYCLE_STATE]: userLifecycleStateResourceSpecification,\n [CoreResourceType.ORGANIZATION_LIFECYCLE_STATE]: organizationLifecycleStateResourceSpecification,\n [CoreResourceType.USER_PROGRESSION_STATE]: userProgressionStateResourceSpecification,\n [CoreResourceType.ORGANIZATION_PROGRESSION_STATE]: organizationProgressionStateResourceSpecification,\n // infrastructure\n [CoreResourceType.JOB_EXECUTIONS]: jobExecutionsResourceSpecification,\n // `dataSeedRuns` is a BackendResourceType, not a CoreResourceType, so it is keyed by its\n // literal resource-type string. The registry is Record<string, …> and the runtime-scope\n // alignment guard intersects with the CORE registry, so this entry is outside that guard's\n // population by construction rather than by omission.\n dataSeedRuns: dataSeedRunsResourceSpecification,\n // `etlPipelineStates` — same BackendResourceType situation as `dataSeedRuns` above.\n etlPipelineStates: externalDataPipelineStatesResourceSpecification,\n [CoreResourceType.JOB_PAYLOAD_STORAGE]: jobPayloadStorageResourceSpecification,\n // flows-actors\n [CoreResourceType.USER_FLOW_ACTOR_TASKS]: userFlowActorTasksResourceSpecification,\n [CoreResourceType.ORGANIZATION_FLOW_ACTOR_TASKS]: organizationFlowActorTasksResourceSpecification,\n [CoreResourceType.APPLICATION_FLOW_ACTOR_TASKS]: applicationFlowActorTasksResourceSpecification,\n [CoreResourceType.USER_FLOW_ACTOR_EXECUTIONS]: userFlowActorExecutionsResourceSpecification,\n [CoreResourceType.ORGANIZATION_FLOW_ACTOR_EXECUTIONS]: organizationFlowActorExecutionsResourceSpecification,\n [CoreResourceType.APPLICATION_FLOW_ACTOR_EXECUTIONS]: applicationFlowActorExecutionsResourceSpecification,\n [CoreResourceType.USER_A2A_TOKEN_BUDGET_STATE]: userA2aTokenBudgetStateResourceSpecification,\n [CoreResourceType.ORGANIZATION_A2A_TOKEN_BUDGET_STATE]: organizationA2aTokenBudgetStateResourceSpecification,\n [CoreResourceType.APPLICATION_A2A_TOKEN_BUDGET_STATE]: applicationA2aTokenBudgetStateResourceSpecification,\n [CoreResourceType.USER_A2A_PUSH_DELIVERY_LOG]: userA2aPushDeliveryLogResourceSpecification,\n [CoreResourceType.ORGANIZATION_A2A_PUSH_DELIVERY_LOG]: organizationA2aPushDeliveryLogResourceSpecification,\n [CoreResourceType.APPLICATION_A2A_PUSH_DELIVERY_LOG]: applicationA2aPushDeliveryLogResourceSpecification,\n // notifications\n [CoreResourceType.ORGANIZATION_M2M_WEBHOOK_DELIVERY_LOG]: organizationM2mWebhookDeliveryLogResourceSpecification,\n [CoreResourceType.APPLICATION_M2M_WEBHOOK_DELIVERY_LOG]: applicationM2mWebhookDeliveryLogResourceSpecification,\n [CoreResourceType.USER_NOTIFICATION_BADGES]: userNotificationBadgesResourceSpecification,\n [CoreResourceType.ORGANIZATION_NOTIFICATION_BADGES]: organizationNotificationBadgesResourceSpecification,\n [CoreResourceType.ORGANIZATION_WEBHOOK_CONFIG]: organizationWebhookConfigResourceSpecification,\n [CoreResourceType.APPLICATION_WEBHOOK_CONFIG]: applicationWebhookConfigResourceSpecification,\n // organizations\n [CoreResourceType.ORGANIZATION_MEMBERS]: organizationMembersResourceSpecification,\n [CoreResourceType.ORGANIZATION_NOTIFICATIONS]: organizationNotificationsResourceSpecification,\n [CoreResourceType.ORGANIZATION_PREFERENCES]: organizationPreferencesResourceSpecification,\n [CoreResourceType.ORGANIZATION_PROFILES]: organizationProfilesResourceSpecification,\n [CoreResourceType.ORGANIZATION_UNIT_MEMBERS]: organizationUnitMembersResourceSpecification,\n [CoreResourceType.ORGANIZATION_UNITS]: organizationUnitsResourceSpecification,\n [CoreResourceType.ORGANIZATIONS]: organizationsResourceSpecification,\n // users\n [CoreResourceType.ANONYMOUS_USERS]: anonymousUsersResourceSpecification,\n [CoreResourceType.INBOUND_CONTACTS]: inboundContactsResourceSpecification,\n [CoreResourceType.USER_CREDENTIALS]: userCredentialsResourceSpecification,\n [CoreResourceType.USER_IDENTITY_LINKS]: userIdentityLinksResourceSpecification,\n [CoreResourceType.OAUTH_CONSENT_GRANTS]: oauthConsentGrantsResourceSpecification,\n [CoreResourceType.USER_PREFERENCES]: userPreferencesResourceSpecification,\n [CoreResourceType.USER_PROFILES]: userProfilesResourceSpecification,\n [CoreResourceType.USER_SELF_PREFERENCES]: userSelfPreferencesResourceSpecification,\n [CoreResourceType.USER_SELF_PROFILES]: userSelfProfilesResourceSpecification,\n [CoreResourceType.USER_SELF]: userSelfResourceSpecification,\n [CoreResourceType.USERS]: usersResourceSpecification,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"engine-resource-specifications.registry.js","sourceRoot":"","sources":["../../../../src/engine/engine-resource-specifications.registry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAIzD,eAAe;AACf,OAAO,EAAE,uCAAuC,EAAE,MAAM,sEAAsE,CAAC;AAC/H,OAAO,EAAE,wCAAwC,EAAE,MAAM,sEAAsE,CAAC;AAChI,OAAO,EAAE,4CAA4C,EAAE,MAAM,2EAA2E,CAAC;AACzI,OAAO,EAAE,wCAAwC,EAAE,MAAM,sEAAsE,CAAC;AAChI,OAAO,EAAE,iCAAiC,EAAE,MAAM,8DAA8D,CAAC;AACjH,OAAO;AACP,OAAO,EAAE,wCAAwC,EAAE,MAAM,+DAA+D,CAAC;AACzH,OAAO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ated engine resource-specification overlay, keyed by `CoreResourceType`.\n *\n * # Purpose\n *\n * Every engine `*.resource.specification.ts` authors Tier-1/2/3 documentation\n * (operation summary/description, field/enum/tag descriptions, response statuses,\n * error scenarios, idempotency, rate-limit notes, examples). Those specs are\n * exported file-by-file with no aggregation. This registry collects all of them\n * into a single `Record<resourceType, ResourceSpecificationConfig>` so the\n * **companion OpenAPI projector** can attach the authored documentation as an\n * overlay when it projects core (engine) resources into an application's\n * generated OpenAPI (`apiDocResources` in `WildoTechnicalDocConfig`).\n *\n * # Consumption model (merged into an app's `resourceSpecifications` overlay)\n *\n * Applications spread this registry FIRST into their specifications package's\n * `resourceSpecifications` companion export (app-authored specs override on a\n * shared `resourceType`) so the companion can resolve engine-resource\n * per-field / per-operation semantics for labelling, translation, and the\n * CLI's `wildo context info resource-specifications`. That handler runs\n * `assertResourceSpecificationsAlignWithRegistry` over that merged overlay\n * against a registry view that mirrors the backend runtime merge: the app's\n * shared registry PLUS the core configs materialized from\n * `coreShared_ResourcesConfigurations_FactoryMap` (app registrations win).\n * Every spec here that declares `resourcePrimaryScope` is therefore\n * scope-checked against its materialized core config on every introspection\n * call — a declared scope that drifts from the registry-derived scope fails\n * fast at the companion. The OpenAPI projector consumes the same registry to\n * overlay Tier-1/2/3 documentation onto the core resources it materializes.\n *\n * # Keying\n *\n * Keys are `CoreResourceType` members and MUST match the keys of\n * `coreShared_ResourcesConfigurations_FactoryMap` (`@wildo-ai/saas-models`) so\n * the projector's `engineResourceSpecificationsByType[resourceType]` lookup\n * resolves the overlay for the materialized config. Polymorphic resources\n * (org/app/user variants) contribute one entry per variant.\n *\n * One entry per exported `*ResourceSpecification` const across all engine\n * resource specs (77 total).\n */\n\nimport { CoreResourceType } from '@wildo-ai/saas-models';\n\nimport type { ResourceSpecification } from '~wildo-specifications/_core';\n\n// applications\nimport { applicationApiKeysResourceSpecification } from './applications/resources/application-api-keys.resource.specification';\nimport { applicationMetadataResourceSpecification } from './applications/resources/application-metadata.resource.specification';\nimport { applicationOAuthClientsResourceSpecification } from './applications/resources/application-oauth-clients.resource.specification';\nimport { applicationVersionsResourceSpecification } from './applications/resources/application-versions.resource.specification';\nimport { applicationsResourceSpecification } from './applications/resources/applications.resource.specification';\n// auth\nimport { organizationApiKeysResourceSpecification } from './auth/resources/organization-api-keys.resource.specification';\nimport { organizationProviderCredentialsResourceSpecification } from './auth/resources/organization-provider-credentials.resource.specification';\nimport { userProviderCredentialsResourceSpecification } from './auth/resources/user-provider-credentials.resource.specification';\nimport { organizationOAuthClientsResourceSpecification } from './auth/resources/organization-oauth-clients.resource.specification';\nimport { consumableTokensResourceSpecification } from './auth/resources/consumable-tokens.resource.specification';\nimport { oauthConsentGrantsResourceSpecification } from './auth/resources/oauth-consent-grants.resource.specification';\nimport { platformAccessGrantsResourceSpecification } from './auth/resources/platform-access-grants.resource.specification';\nimport {\n applicationScimProvisioningConfigResourceSpecification,\n organizationScimProvisioningConfigResourceSpecification,\n} from './auth/resources/scim-provisioning-config.resource.specification';\n// SCIM bearer credentials are organization-scoped until an application-scoped\n// SCIM protocol and authorizer actually exist; do not register a documentation-only twin.\nimport { organizationScimTokensResourceSpecification } from './auth/resources/scim-tokens.resource.specification';\nimport {\n applicationSiemDeliveryDlqResourceSpecification,\n organizationSiemDeliveryDlqResourceSpecification,\n} from './auth/resources/siem-delivery-dlq.resource.specification';\nimport {\n applicationSiemExportConfigResourceSpecification,\n organizationSiemExportConfigResourceSpecification,\n} from './auth/resources/siem-export-config.resource.specification';\nimport {\n applicationSsoConfigResourceSpecification,\n organizationSsoConfigResourceSpecification,\n} from './auth/resources/sso-config.resource.specification';\nimport {\n applicationSsoConnectionsResourceSpecification,\n organizationSsoConnectionsResourceSpecification,\n} from './auth/resources/sso-connections.resource.specification';\n// billing\nimport {\n organizationBillingAccountsResourceSpecification,\n userBillingAccountsResourceSpecification,\n} from './billing/resources/billing-accounts.resource.specification';\nimport {\n organizationCreditPoolsResourceSpecification,\n userCreditPoolsResourceSpecification,\n} from './billing/resources/credit-pools.resource.specification';\nimport {\n organizationInvoiceRefsResourceSpecification,\n userInvoiceRefsResourceSpecification,\n} from './billing/resources/invoice-refs.resource.specification';\nimport { pricesResourceSpecification } from './billing/resources/prices.resource.specification';\nimport { productsResourceSpecification } from './billing/resources/products.resource.specification';\nimport { promotionsResourceSpecification } from './billing/resources/promotions.resource.specification';\nimport { referralsResourceSpecification } from './billing/resources/referrals.resource.specification';\nimport {\n organizationSubscriptionsResourceSpecification,\n userSubscriptionsResourceSpecification,\n} from './billing/resources/subscriptions.resource.specification';\nimport {\n organizationUsageRecordsResourceSpecification,\n userUsageRecordsResourceSpecification,\n} from './billing/resources/usage-records.resource.specification';\n// compliance\nimport { auditLogsResourceSpecification } from './compliance/resources/audit-logs.resource.specification';\n// features\nimport { applicationFeaturesResourceSpecification } from './features/resources/application-features.resource.specification';\nimport { organizationFeaturesResourceSpecification } from './features/resources/organization-features.resource.specification';\nimport { userFeaturesResourceSpecification } from './features/resources/user-features.resource.specification';\n// files\nimport { filesResourceSpecification } from './files/resources/files.resource.specification';\n// guidance\nimport {\n organizationGuidanceStateResourceSpecification,\n userGuidanceStateResourceSpecification,\n} from './guidance/resources/guidance-state.resource.specification';\nimport {\n organizationLifecycleStateResourceSpecification,\n userLifecycleStateResourceSpecification,\n} from './guidance/resources/lifecycle-state.resource.specification';\nimport {\n organizationProgressionStateResourceSpecification,\n userProgressionStateResourceSpecification,\n} from './guidance/resources/progression-state.resource.specification';\n// infrastructure\nimport { dataSeedRunsResourceSpecification } from './infrastructure/resources/data-seed-runs.resource.specification';\nimport { externalDataPipelineStatesResourceSpecification } from './infrastructure/resources/external-data-pipeline-states.resource.specification';\nimport { jobExecutionsResourceSpecification } from './infrastructure/resources/job-executions.resource.specification';\nimport { jobPayloadStorageResourceSpecification } from './infrastructure/resources/job-payload-storage.resource.specification';\n// flows-actors\nimport {\n applicationA2aTokenBudgetStateResourceSpecification,\n organizationA2aTokenBudgetStateResourceSpecification,\n userA2aTokenBudgetStateResourceSpecification,\n} from './flows-actors/resources/a2a-token-budget-state.resource.specification';\nimport {\n userA2aPushDeliveryLogResourceSpecification,\n organizationA2aPushDeliveryLogResourceSpecification,\n applicationA2aPushDeliveryLogResourceSpecification,\n} from './flows-actors/resources/a2a-push-delivery-log.resource.specification';\nimport {\n applicationFlowActorExecutionsResourceSpecification,\n organizationFlowActorExecutionsResourceSpecification,\n userFlowActorExecutionsResourceSpecification,\n} from './flows-actors/resources/flow-actor-executions.resource.specification';\nimport {\n applicationFlowActorTasksResourceSpecification,\n organizationFlowActorTasksResourceSpecification,\n userFlowActorTasksResourceSpecification,\n} from './flows-actors/resources/flow-actor-tasks.resource.specification';\n// notifications\nimport {\n applicationM2mWebhookDeliveryLogResourceSpecification,\n organizationM2mWebhookDeliveryLogResourceSpecification,\n} from './notifications/resources/m2m-webhook-delivery-log.resource.specification';\nimport {\n organizationNotificationBadgesResourceSpecification,\n userNotificationBadgesResourceSpecification,\n} from './notifications/resources/notification-badges.resource.specification';\nimport {\n applicationWebhookConfigResourceSpecification,\n organizationWebhookConfigResourceSpecification,\n} from './notifications/resources/webhook-config.resource.specification';\n// organizations\nimport { organizationMembersResourceSpecification } from './organizations/resources/organization-members.resource.specification';\nimport { organizationNotificationsResourceSpecification } from './organizations/resources/organization-notifications.resource.specification';\nimport { organizationPreferencesResourceSpecification } from './organizations/resources/organization-preferences.resource.specification';\nimport { organizationProfilesResourceSpecification } from './organizations/resources/organization-profiles.resource.specification';\nimport { organizationUnitMembersResourceSpecification } from './organizations/resources/organization-unit-members.resource.specification';\nimport { organizationUnitsResourceSpecification } from './organizations/resources/organization-units.resource.specification';\nimport { organizationsResourceSpecification } from './organizations/resources/organizations.resource.specification';\n// users\nimport { anonymousUsersResourceSpecification } from './users/resources/anonymous-users.resource.specification';\nimport { inboundContactsResourceSpecification } from './users/resources/inbound-contacts.resource.specification';\nimport { userCredentialsResourceSpecification } from './users/resources/user-credentials.resource.specification';\nimport { userIdentityLinksResourceSpecification } from './users/resources/user-identity-links.resource.specification';\nimport { userPreferencesResourceSpecification } from './users/resources/user-preferences.resource.specification';\nimport { userProfilesResourceSpecification } from './users/resources/user-profiles.resource.specification';\nimport { userSelfPreferencesResourceSpecification } from './users/resources/user-self-preferences.resource.specification';\nimport { userSelfProfilesResourceSpecification } from './users/resources/user-self-profiles.resource.specification';\nimport { userSelfResourceSpecification } from './users/resources/user-self.resource.specification';\nimport { usersResourceSpecification } from './users/resources/users.resource.specification';\n\n/**\n * All engine resource specifications keyed by their `CoreResourceType`.\n * Consumed by the companion OpenAPI projector as a documentation overlay for\n * core resources (see file-level JSDoc). Explicit type annotation keeps the\n * export `isolatedDeclarations`-safe.\n */\nexport const engineResourceSpecificationsByType: ResourceSpecification = {\n // applications\n [CoreResourceType.APPLICATION_API_KEYS]: applicationApiKeysResourceSpecification,\n [CoreResourceType.APPLICATION_METADATA]: applicationMetadataResourceSpecification,\n [CoreResourceType.OAUTH_CLIENTS_APPLICATION]: applicationOAuthClientsResourceSpecification,\n [CoreResourceType.APPLICATION_VERSIONS]: applicationVersionsResourceSpecification,\n [CoreResourceType.APPLICATION]: applicationsResourceSpecification,\n // auth\n // `consumableTokens` is a BackendResourceType, not a CoreResourceType — same situation as\n // `dataSeedRuns` below, so it is keyed by its literal resource-type string and sits outside the\n // core-registry alignment guard's population by construction.\n consumableTokens: consumableTokensResourceSpecification,\n [CoreResourceType.ORG_API_KEYS]: organizationApiKeysResourceSpecification,\n [CoreResourceType.ORG_PROVIDER_CREDENTIALS]: organizationProviderCredentialsResourceSpecification,\n [CoreResourceType.USER_PROVIDER_CREDENTIALS]: userProviderCredentialsResourceSpecification,\n [CoreResourceType.OAUTH_CLIENTS_ORGANIZATION]: organizationOAuthClientsResourceSpecification,\n [CoreResourceType.ORGANIZATION_SCIM_PROVISIONING_CONFIG]: organizationScimProvisioningConfigResourceSpecification,\n [CoreResourceType.APPLICATION_SCIM_PROVISIONING_CONFIG]: applicationScimProvisioningConfigResourceSpecification,\n [CoreResourceType.ORGANIZATION_SCIM_TOKENS]: organizationScimTokensResourceSpecification,\n [CoreResourceType.ORGANIZATION_SIEM_DELIVERY_DLQ]: organizationSiemDeliveryDlqResourceSpecification,\n [CoreResourceType.APPLICATION_SIEM_DELIVERY_DLQ]: applicationSiemDeliveryDlqResourceSpecification,\n [CoreResourceType.ORGANIZATION_SIEM_EXPORT_CONFIG]: organizationSiemExportConfigResourceSpecification,\n [CoreResourceType.APPLICATION_SIEM_EXPORT_CONFIG]: applicationSiemExportConfigResourceSpecification,\n [CoreResourceType.ORGANIZATION_SSO_CONFIG]: organizationSsoConfigResourceSpecification,\n [CoreResourceType.APPLICATION_SSO_CONFIG]: applicationSsoConfigResourceSpecification,\n [CoreResourceType.ORGANIZATION_SSO_CONNECTIONS]: organizationSsoConnectionsResourceSpecification,\n [CoreResourceType.APPLICATION_SSO_CONNECTIONS]: applicationSsoConnectionsResourceSpecification,\n [CoreResourceType.PLATFORM_ACCESS_GRANTS]: platformAccessGrantsResourceSpecification,\n // billing\n [CoreResourceType.ORGANIZATION_BILLING_ACCOUNTS]: organizationBillingAccountsResourceSpecification,\n [CoreResourceType.USER_BILLING_ACCOUNTS]: userBillingAccountsResourceSpecification,\n [CoreResourceType.ORGANIZATION_CREDIT_POOLS]: organizationCreditPoolsResourceSpecification,\n [CoreResourceType.USER_CREDIT_POOLS]: userCreditPoolsResourceSpecification,\n [CoreResourceType.ORGANIZATION_INVOICE_REFS]: organizationInvoiceRefsResourceSpecification,\n [CoreResourceType.USER_INVOICE_REFS]: userInvoiceRefsResourceSpecification,\n [CoreResourceType.PRICES]: pricesResourceSpecification,\n [CoreResourceType.PRODUCTS]: productsResourceSpecification,\n [CoreResourceType.PROMOTIONS]: promotionsResourceSpecification,\n [CoreResourceType.REFERRALS]: referralsResourceSpecification,\n [CoreResourceType.ORGANIZATION_SUBSCRIPTIONS]: organizationSubscriptionsResourceSpecification,\n [CoreResourceType.USER_SUBSCRIPTIONS]: userSubscriptionsResourceSpecification,\n [CoreResourceType.ORGANIZATION_USAGE_RECORDS]: organizationUsageRecordsResourceSpecification,\n [CoreResourceType.USER_USAGE_RECORDS]: userUsageRecordsResourceSpecification,\n // compliance\n [CoreResourceType.AUDIT_LOGS]: auditLogsResourceSpecification,\n // features\n [CoreResourceType.APPLICATION_FEATURES]: applicationFeaturesResourceSpecification,\n [CoreResourceType.ORGANIZATION_FEATURES]: organizationFeaturesResourceSpecification,\n [CoreResourceType.USER_FEATURES]: userFeaturesResourceSpecification,\n // files\n [CoreResourceType.FILES]: filesResourceSpecification,\n // guidance\n [CoreResourceType.USER_GUIDANCE_STATE]: userGuidanceStateResourceSpecification,\n [CoreResourceType.ORGANIZATION_GUIDANCE_STATE]: organizationGuidanceStateResourceSpecification,\n [CoreResourceType.USER_LIFECYCLE_STATE]: userLifecycleStateResourceSpecification,\n [CoreResourceType.ORGANIZATION_LIFECYCLE_STATE]: organizationLifecycleStateResourceSpecification,\n [CoreResourceType.USER_PROGRESSION_STATE]: userProgressionStateResourceSpecification,\n [CoreResourceType.ORGANIZATION_PROGRESSION_STATE]: organizationProgressionStateResourceSpecification,\n // infrastructure\n [CoreResourceType.JOB_EXECUTIONS]: jobExecutionsResourceSpecification,\n // `dataSeedRuns` is a BackendResourceType, not a CoreResourceType, so it is keyed by its\n // literal resource-type string. The registry is Record<string, …> and the runtime-scope\n // alignment guard intersects with the CORE registry, so this entry is outside that guard's\n // population by construction rather than by omission.\n dataSeedRuns: dataSeedRunsResourceSpecification,\n // `etlPipelineStates` — same BackendResourceType situation as `dataSeedRuns` above.\n etlPipelineStates: externalDataPipelineStatesResourceSpecification,\n [CoreResourceType.JOB_PAYLOAD_STORAGE]: jobPayloadStorageResourceSpecification,\n // flows-actors\n [CoreResourceType.USER_FLOW_ACTOR_TASKS]: userFlowActorTasksResourceSpecification,\n [CoreResourceType.ORGANIZATION_FLOW_ACTOR_TASKS]: organizationFlowActorTasksResourceSpecification,\n [CoreResourceType.APPLICATION_FLOW_ACTOR_TASKS]: applicationFlowActorTasksResourceSpecification,\n [CoreResourceType.USER_FLOW_ACTOR_EXECUTIONS]: userFlowActorExecutionsResourceSpecification,\n [CoreResourceType.ORGANIZATION_FLOW_ACTOR_EXECUTIONS]: organizationFlowActorExecutionsResourceSpecification,\n [CoreResourceType.APPLICATION_FLOW_ACTOR_EXECUTIONS]: applicationFlowActorExecutionsResourceSpecification,\n [CoreResourceType.USER_A2A_TOKEN_BUDGET_STATE]: userA2aTokenBudgetStateResourceSpecification,\n [CoreResourceType.ORGANIZATION_A2A_TOKEN_BUDGET_STATE]: organizationA2aTokenBudgetStateResourceSpecification,\n [CoreResourceType.APPLICATION_A2A_TOKEN_BUDGET_STATE]: applicationA2aTokenBudgetStateResourceSpecification,\n [CoreResourceType.USER_A2A_PUSH_DELIVERY_LOG]: userA2aPushDeliveryLogResourceSpecification,\n [CoreResourceType.ORGANIZATION_A2A_PUSH_DELIVERY_LOG]: organizationA2aPushDeliveryLogResourceSpecification,\n [CoreResourceType.APPLICATION_A2A_PUSH_DELIVERY_LOG]: applicationA2aPushDeliveryLogResourceSpecification,\n // notifications\n [CoreResourceType.ORGANIZATION_M2M_WEBHOOK_DELIVERY_LOG]: organizationM2mWebhookDeliveryLogResourceSpecification,\n [CoreResourceType.APPLICATION_M2M_WEBHOOK_DELIVERY_LOG]: applicationM2mWebhookDeliveryLogResourceSpecification,\n [CoreResourceType.USER_NOTIFICATION_BADGES]: userNotificationBadgesResourceSpecification,\n [CoreResourceType.ORGANIZATION_NOTIFICATION_BADGES]: organizationNotificationBadgesResourceSpecification,\n [CoreResourceType.ORGANIZATION_WEBHOOK_CONFIG]: organizationWebhookConfigResourceSpecification,\n [CoreResourceType.APPLICATION_WEBHOOK_CONFIG]: applicationWebhookConfigResourceSpecification,\n // organizations\n [CoreResourceType.ORGANIZATION_MEMBERS]: organizationMembersResourceSpecification,\n [CoreResourceType.ORGANIZATION_NOTIFICATIONS]: organizationNotificationsResourceSpecification,\n [CoreResourceType.ORGANIZATION_PREFERENCES]: organizationPreferencesResourceSpecification,\n [CoreResourceType.ORGANIZATION_PROFILES]: organizationProfilesResourceSpecification,\n [CoreResourceType.ORGANIZATION_UNIT_MEMBERS]: organizationUnitMembersResourceSpecification,\n [CoreResourceType.ORGANIZATION_UNITS]: organizationUnitsResourceSpecification,\n [CoreResourceType.ORGANIZATIONS]: organizationsResourceSpecification,\n // users\n [CoreResourceType.ANONYMOUS_USERS]: anonymousUsersResourceSpecification,\n [CoreResourceType.INBOUND_CONTACTS]: inboundContactsResourceSpecification,\n [CoreResourceType.USER_CREDENTIALS]: userCredentialsResourceSpecification,\n [CoreResourceType.USER_IDENTITY_LINKS]: userIdentityLinksResourceSpecification,\n [CoreResourceType.OAUTH_CONSENT_GRANTS]: oauthConsentGrantsResourceSpecification,\n [CoreResourceType.USER_PREFERENCES]: userPreferencesResourceSpecification,\n [CoreResourceType.USER_PROFILES]: userProfilesResourceSpecification,\n [CoreResourceType.USER_SELF_PREFERENCES]: userSelfPreferencesResourceSpecification,\n [CoreResourceType.USER_SELF_PROFILES]: userSelfProfilesResourceSpecification,\n [CoreResourceType.USER_SELF]: userSelfResourceSpecification,\n [CoreResourceType.USERS]: usersResourceSpecification,\n};\n"]}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Which part of the ENGINE a resource belongs to.
|
|
3
|
+
*
|
|
4
|
+
* ## Why this exists
|
|
5
|
+
*
|
|
6
|
+
* An application's own resources are grouped by the module that registers them, and the engine's are
|
|
7
|
+
* grouped by nothing at all. Every engine resource arrives as one flat set of 85 — `users` beside
|
|
8
|
+
* `stripeWebhookEvents` beside `flowsActorsTaskEvents` — so any surface that has to present them
|
|
9
|
+
* (the domain-model graph, `wildo context`, generated documentation, an application-creation
|
|
10
|
+
* playbook deciding what to show a builder) either shows all 85 undifferentiated or invents its own
|
|
11
|
+
* grouping and drifts from the next surface that does the same.
|
|
12
|
+
*
|
|
13
|
+
* The grouping is not new: it has existed since the specs were written, as the DIRECTORY each spec
|
|
14
|
+
* lives in and as a matching row of `// auth`, `// billing`, `// users` banner comments in
|
|
15
|
+
* `engine-resource-specifications.registry.ts`. Both are hand-maintained, neither is reachable at
|
|
16
|
+
* runtime, and nothing checks that they agree. This enum is those same twelve values made addressable
|
|
17
|
+
* — a name a member's meaning can be written next to, which a folder name cannot carry.
|
|
18
|
+
*
|
|
19
|
+
* ## What this is NOT
|
|
20
|
+
*
|
|
21
|
+
* - **Not `ApplicationModuleKind`** (`'domain' | 'engine'`). That decides whether a resource is the
|
|
22
|
+
* application's or the engine's; this subdivides the engine's half, which that axis cannot do.
|
|
23
|
+
* - **Not `EngineCapability`.** That is a PROCUREMENT axis — which external provider fills a slot
|
|
24
|
+
* (`BILLING`, `AI_LLM`, `SMS`). Most engine resources map to none of it (`users`, `roles`,
|
|
25
|
+
* `sessions`, `apiKeys`), and reusing it would fuse "who supplies this" with "what part of the
|
|
26
|
+
* product this is".
|
|
27
|
+
* - **Not a scope, a tenancy axis or an authorization boundary.** `ResourcePrimaryScope` answers who
|
|
28
|
+
* a row belongs to; this answers what it is about. A single sub-domain spans several scopes.
|
|
29
|
+
*
|
|
30
|
+
* ## Its counterpart on an application's side
|
|
31
|
+
*
|
|
32
|
+
* `ResourceSpecificationConfig.subDomain` is typed `string`, not this enum, because an application's
|
|
33
|
+
* sub-domains are its own and this repository cannot enumerate them. This is the ENGINE's closed
|
|
34
|
+
* vocabulary for that open field — the one named runtime source for the twelve values engine specs
|
|
35
|
+
* are allowed to use.
|
|
36
|
+
*/
|
|
37
|
+
export declare enum EngineResourceSubDomain {
|
|
38
|
+
/** The application itself as a record: its metadata, versions, API keys and OAuth clients. */
|
|
39
|
+
APPLICATIONS = "applications",
|
|
40
|
+
/** Proving who is calling and what they may delegate: sessions, MFA, SSO/SCIM, OAuth, consumable tokens. */
|
|
41
|
+
AUTH = "auth",
|
|
42
|
+
/** Money: products, plans, subscriptions, invoices, payments and the provider events behind them. */
|
|
43
|
+
BILLING = "billing",
|
|
44
|
+
/** What an operator must be able to SAY: governed documents, privacy notices, evidence. */
|
|
45
|
+
COMPLIANCE = "compliance",
|
|
46
|
+
/** What the application offers and to whom: features, products, milestones. */
|
|
47
|
+
FEATURES = "features",
|
|
48
|
+
/** Uploaded bytes and the metadata that links them to a domain row. */
|
|
49
|
+
FILES = "files",
|
|
50
|
+
/** Work that runs: flows, actors, tasks, agents and their execution records. */
|
|
51
|
+
FLOWS_ACTORS = "flows-actors",
|
|
52
|
+
/** Leading a user through something: onboarding, guidance flows, their state. */
|
|
53
|
+
GUIDANCE = "guidance",
|
|
54
|
+
/** The machinery an application runs ON: jobs, seeding, ETL, webhooks, integration plumbing. */
|
|
55
|
+
INFRASTRUCTURE = "infrastructure",
|
|
56
|
+
/** Telling someone: email, in-app notifications, their templates and delivery records. */
|
|
57
|
+
NOTIFICATIONS = "notifications",
|
|
58
|
+
/** The tenant: organizations, their members, invitations, units and settings. */
|
|
59
|
+
ORGANIZATIONS = "organizations",
|
|
60
|
+
/** The person: user records, profiles, preferences, roles and their assignments. */
|
|
61
|
+
USERS = "users"
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* The words a READER meets for each engine sub-domain.
|
|
65
|
+
*
|
|
66
|
+
* The enum member carries a machine identity and a JSDoc meaning; a JSDoc comment is not reachable
|
|
67
|
+
* at runtime, so a surface that has to SHOW a sub-domain either re-invents the words or humanizes
|
|
68
|
+
* the value — and `flows-actors` humanized is "Flows actors", which is not what anybody would write.
|
|
69
|
+
* This is the same authoring the enum's docstrings already do, made reachable, so the twelve values
|
|
70
|
+
* are worded ONCE for every surface that presents them.
|
|
71
|
+
*
|
|
72
|
+
* `label` is the group's name; `description` is one sentence a customer can read before deciding
|
|
73
|
+
* whether the group is the one they want. Both are deliberately written for someone OUTSIDE the
|
|
74
|
+
* framework — a generated application's API reference is the first consumer — rather than for a
|
|
75
|
+
* framework maintainer, which is why they do not simply restate the enum's internal meanings.
|
|
76
|
+
*
|
|
77
|
+
* Exhaustive by type: a thirteenth sub-domain does not compile until it has been worded.
|
|
78
|
+
*/
|
|
79
|
+
export declare const ENGINE_RESOURCE_SUB_DOMAIN_DOCUMENTATION: Readonly<Record<EngineResourceSubDomain, {
|
|
80
|
+
readonly label: string;
|
|
81
|
+
readonly description: string;
|
|
82
|
+
}>>;
|
|
83
|
+
//# sourceMappingURL=engine-resource-sub-domain.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"engine-resource-sub-domain.d.ts","sourceRoot":"","sources":["../../../../src/engine/engine-resource-sub-domain.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,oBAAY,uBAAuB;IACjC,8FAA8F;IAC9F,YAAY,iBAAiB;IAC7B,4GAA4G;IAC5G,IAAI,SAAS;IACb,qGAAqG;IACrG,OAAO,YAAY;IACnB,2FAA2F;IAC3F,UAAU,eAAe;IACzB,+EAA+E;IAC/E,QAAQ,aAAa;IACrB,uEAAuE;IACvE,KAAK,UAAU;IACf,gFAAgF;IAChF,YAAY,iBAAiB;IAC7B,iFAAiF;IACjF,QAAQ,aAAa;IACrB,gGAAgG;IAChG,cAAc,mBAAmB;IACjC,0FAA0F;IAC1F,aAAa,kBAAkB;IAC/B,iFAAiF;IACjF,aAAa,kBAAkB;IAC/B,oFAAoF;IACpF,KAAK,UAAU;CAChB;AAED;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,wCAAwC,EAAE,QAAQ,CAAC,MAAM,CAAC,uBAAuB,EAAE;IAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAAC,CAiDxJ,CAAC"}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Which part of the ENGINE a resource belongs to.
|
|
3
|
+
*
|
|
4
|
+
* ## Why this exists
|
|
5
|
+
*
|
|
6
|
+
* An application's own resources are grouped by the module that registers them, and the engine's are
|
|
7
|
+
* grouped by nothing at all. Every engine resource arrives as one flat set of 85 — `users` beside
|
|
8
|
+
* `stripeWebhookEvents` beside `flowsActorsTaskEvents` — so any surface that has to present them
|
|
9
|
+
* (the domain-model graph, `wildo context`, generated documentation, an application-creation
|
|
10
|
+
* playbook deciding what to show a builder) either shows all 85 undifferentiated or invents its own
|
|
11
|
+
* grouping and drifts from the next surface that does the same.
|
|
12
|
+
*
|
|
13
|
+
* The grouping is not new: it has existed since the specs were written, as the DIRECTORY each spec
|
|
14
|
+
* lives in and as a matching row of `// auth`, `// billing`, `// users` banner comments in
|
|
15
|
+
* `engine-resource-specifications.registry.ts`. Both are hand-maintained, neither is reachable at
|
|
16
|
+
* runtime, and nothing checks that they agree. This enum is those same twelve values made addressable
|
|
17
|
+
* — a name a member's meaning can be written next to, which a folder name cannot carry.
|
|
18
|
+
*
|
|
19
|
+
* ## What this is NOT
|
|
20
|
+
*
|
|
21
|
+
* - **Not `ApplicationModuleKind`** (`'domain' | 'engine'`). That decides whether a resource is the
|
|
22
|
+
* application's or the engine's; this subdivides the engine's half, which that axis cannot do.
|
|
23
|
+
* - **Not `EngineCapability`.** That is a PROCUREMENT axis — which external provider fills a slot
|
|
24
|
+
* (`BILLING`, `AI_LLM`, `SMS`). Most engine resources map to none of it (`users`, `roles`,
|
|
25
|
+
* `sessions`, `apiKeys`), and reusing it would fuse "who supplies this" with "what part of the
|
|
26
|
+
* product this is".
|
|
27
|
+
* - **Not a scope, a tenancy axis or an authorization boundary.** `ResourcePrimaryScope` answers who
|
|
28
|
+
* a row belongs to; this answers what it is about. A single sub-domain spans several scopes.
|
|
29
|
+
*
|
|
30
|
+
* ## Its counterpart on an application's side
|
|
31
|
+
*
|
|
32
|
+
* `ResourceSpecificationConfig.subDomain` is typed `string`, not this enum, because an application's
|
|
33
|
+
* sub-domains are its own and this repository cannot enumerate them. This is the ENGINE's closed
|
|
34
|
+
* vocabulary for that open field — the one named runtime source for the twelve values engine specs
|
|
35
|
+
* are allowed to use.
|
|
36
|
+
*/
|
|
37
|
+
export var EngineResourceSubDomain;
|
|
38
|
+
(function (EngineResourceSubDomain) {
|
|
39
|
+
/** The application itself as a record: its metadata, versions, API keys and OAuth clients. */
|
|
40
|
+
EngineResourceSubDomain["APPLICATIONS"] = "applications";
|
|
41
|
+
/** Proving who is calling and what they may delegate: sessions, MFA, SSO/SCIM, OAuth, consumable tokens. */
|
|
42
|
+
EngineResourceSubDomain["AUTH"] = "auth";
|
|
43
|
+
/** Money: products, plans, subscriptions, invoices, payments and the provider events behind them. */
|
|
44
|
+
EngineResourceSubDomain["BILLING"] = "billing";
|
|
45
|
+
/** What an operator must be able to SAY: governed documents, privacy notices, evidence. */
|
|
46
|
+
EngineResourceSubDomain["COMPLIANCE"] = "compliance";
|
|
47
|
+
/** What the application offers and to whom: features, products, milestones. */
|
|
48
|
+
EngineResourceSubDomain["FEATURES"] = "features";
|
|
49
|
+
/** Uploaded bytes and the metadata that links them to a domain row. */
|
|
50
|
+
EngineResourceSubDomain["FILES"] = "files";
|
|
51
|
+
/** Work that runs: flows, actors, tasks, agents and their execution records. */
|
|
52
|
+
EngineResourceSubDomain["FLOWS_ACTORS"] = "flows-actors";
|
|
53
|
+
/** Leading a user through something: onboarding, guidance flows, their state. */
|
|
54
|
+
EngineResourceSubDomain["GUIDANCE"] = "guidance";
|
|
55
|
+
/** The machinery an application runs ON: jobs, seeding, ETL, webhooks, integration plumbing. */
|
|
56
|
+
EngineResourceSubDomain["INFRASTRUCTURE"] = "infrastructure";
|
|
57
|
+
/** Telling someone: email, in-app notifications, their templates and delivery records. */
|
|
58
|
+
EngineResourceSubDomain["NOTIFICATIONS"] = "notifications";
|
|
59
|
+
/** The tenant: organizations, their members, invitations, units and settings. */
|
|
60
|
+
EngineResourceSubDomain["ORGANIZATIONS"] = "organizations";
|
|
61
|
+
/** The person: user records, profiles, preferences, roles and their assignments. */
|
|
62
|
+
EngineResourceSubDomain["USERS"] = "users";
|
|
63
|
+
})(EngineResourceSubDomain || (EngineResourceSubDomain = {}));
|
|
64
|
+
/**
|
|
65
|
+
* The words a READER meets for each engine sub-domain.
|
|
66
|
+
*
|
|
67
|
+
* The enum member carries a machine identity and a JSDoc meaning; a JSDoc comment is not reachable
|
|
68
|
+
* at runtime, so a surface that has to SHOW a sub-domain either re-invents the words or humanizes
|
|
69
|
+
* the value — and `flows-actors` humanized is "Flows actors", which is not what anybody would write.
|
|
70
|
+
* This is the same authoring the enum's docstrings already do, made reachable, so the twelve values
|
|
71
|
+
* are worded ONCE for every surface that presents them.
|
|
72
|
+
*
|
|
73
|
+
* `label` is the group's name; `description` is one sentence a customer can read before deciding
|
|
74
|
+
* whether the group is the one they want. Both are deliberately written for someone OUTSIDE the
|
|
75
|
+
* framework — a generated application's API reference is the first consumer — rather than for a
|
|
76
|
+
* framework maintainer, which is why they do not simply restate the enum's internal meanings.
|
|
77
|
+
*
|
|
78
|
+
* Exhaustive by type: a thirteenth sub-domain does not compile until it has been worded.
|
|
79
|
+
*/
|
|
80
|
+
export const ENGINE_RESOURCE_SUB_DOMAIN_DOCUMENTATION = {
|
|
81
|
+
[EngineResourceSubDomain.APPLICATIONS]: {
|
|
82
|
+
label: 'Application',
|
|
83
|
+
description: 'The application itself as a record: its metadata, its versions, and the credentials that reach it.',
|
|
84
|
+
},
|
|
85
|
+
[EngineResourceSubDomain.AUTH]: {
|
|
86
|
+
label: 'Authentication and access',
|
|
87
|
+
description: 'Proving who is calling and what they may do on someone else\'s behalf: sessions, multi-factor, SSO, SCIM and OAuth.',
|
|
88
|
+
},
|
|
89
|
+
[EngineResourceSubDomain.BILLING]: {
|
|
90
|
+
label: 'Billing',
|
|
91
|
+
description: 'What is offered and what is owed: plans, subscriptions, invoices, payments and usage.',
|
|
92
|
+
},
|
|
93
|
+
[EngineResourceSubDomain.COMPLIANCE]: {
|
|
94
|
+
label: 'Compliance',
|
|
95
|
+
description: 'What an operator must be able to state and evidence: governed documents, privacy notices and records.',
|
|
96
|
+
},
|
|
97
|
+
[EngineResourceSubDomain.FEATURES]: {
|
|
98
|
+
label: 'Features and entitlements',
|
|
99
|
+
description: 'What the application offers and who is entitled to it.',
|
|
100
|
+
},
|
|
101
|
+
[EngineResourceSubDomain.FILES]: {
|
|
102
|
+
label: 'Files',
|
|
103
|
+
description: 'Uploaded content and the records that attach it to the rest of the application.',
|
|
104
|
+
},
|
|
105
|
+
[EngineResourceSubDomain.FLOWS_ACTORS]: {
|
|
106
|
+
label: 'Automation',
|
|
107
|
+
description: 'Work that runs on its own: flows, agents, the tasks they carry out and the record of each run.',
|
|
108
|
+
},
|
|
109
|
+
[EngineResourceSubDomain.GUIDANCE]: {
|
|
110
|
+
label: 'Onboarding and guidance',
|
|
111
|
+
description: 'Leading someone through something, and remembering how far they have got.',
|
|
112
|
+
},
|
|
113
|
+
[EngineResourceSubDomain.INFRASTRUCTURE]: {
|
|
114
|
+
label: 'Operations and integration',
|
|
115
|
+
description: 'The machinery the application runs on: scheduled work, data loading, webhooks and event delivery.',
|
|
116
|
+
},
|
|
117
|
+
[EngineResourceSubDomain.NOTIFICATIONS]: {
|
|
118
|
+
label: 'Notifications',
|
|
119
|
+
description: 'Telling someone: email, in-app messages, and the record of what was sent.',
|
|
120
|
+
},
|
|
121
|
+
[EngineResourceSubDomain.ORGANIZATIONS]: {
|
|
122
|
+
label: 'Organizations',
|
|
123
|
+
description: 'The customer account: organizations, their members, their units and their settings.',
|
|
124
|
+
},
|
|
125
|
+
[EngineResourceSubDomain.USERS]: {
|
|
126
|
+
label: 'People',
|
|
127
|
+
description: 'The person: their account, profile, preferences and what they are allowed to do.',
|
|
128
|
+
},
|
|
129
|
+
};
|
|
130
|
+
/*
|
|
131
|
+
* NO PRESENTATION ORDER LIVES HERE, and that was tried first.
|
|
132
|
+
*
|
|
133
|
+
* A ranking of these twelve values was written beside them, on the argument that two surfaces
|
|
134
|
+
* ordering one vocabulary by their own lights will drift. The argument is real and it lost to a
|
|
135
|
+
* measured cost: the only consumer is a BROWSER package, and importing this module pulls the
|
|
136
|
+
* `saas-specifications` root barrel, which pulls all 84 engine resource specifications and — through
|
|
137
|
+
* `data-seed-runs` — a hop into `@wildo-ai/saas-backend-lib` SOURCE, whose internal `~wildo-backend-lib`
|
|
138
|
+
* aliases the consumer cannot resolve. The import failed outright, and had it resolved it would have
|
|
139
|
+
* put the entire specification tree in an application chunk.
|
|
140
|
+
*
|
|
141
|
+
* A narrow subpath was the other candidate and is refused by `check:package-entrypoints`: one module
|
|
142
|
+
* behind its own public specifier is `single-file-subpath`, which exposes repository organization as
|
|
143
|
+
* API.
|
|
144
|
+
*
|
|
145
|
+
* What is left is the honest split. This file owns the VOCABULARY — what the twelve values are and
|
|
146
|
+
* what each means, which is a contract. The order a diagram meets them in is a property of that
|
|
147
|
+
* diagram and lives with it (`domain-model-graph.builder.ts`), where an unknown value sorts last by
|
|
148
|
+
* a documented rule rather than silently.
|
|
149
|
+
*
|
|
150
|
+
* If a SECOND surface ever needs the same order, that is the moment to give this vocabulary a real
|
|
151
|
+
* cohesive entrypoint — not before, and not by paying a bundle for a consumer that does not exist.
|
|
152
|
+
*/
|
|
153
|
+
//# sourceMappingURL=engine-resource-sub-domain.js.map
|