@wildo-ai/saas-specifications 1.1.9 → 1.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts +5 -4
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js +5 -4
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js.map +1 -1
- package/dist/esm/_catalogs/schema-org/index.js +1 -1
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js +1 -1
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js.map +1 -1
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +11 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -1
- package/dist/esm/_core/application-specification-family-identity.schemas.js +11 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-choice.d.ts +72 -10
- package/dist/esm/_core/brand/brand-name-choice.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-choice.js +144 -24
- package/dist/esm/_core/brand/brand-name-choice.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.d.ts +41 -1
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.js +19 -3
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-validation.d.ts +7 -1
- package/dist/esm/_core/brand/brand-name-screening-validation.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-validation.js +24 -3
- package/dist/esm/_core/brand/brand-name-screening-validation.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-view.d.ts +61 -9
- package/dist/esm/_core/brand/brand-name-screening-view.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-view.js +42 -1
- package/dist/esm/_core/brand/brand-name-screening-view.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts +130 -2
- package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening.schemas.js +165 -3
- package/dist/esm/_core/brand/brand-name-screening.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts +25 -7
- package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-visual-tone.schemas.js +26 -8
- package/dist/esm/_core/brand/brand-visual-tone.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +76 -0
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +7 -2
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +21 -3
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts +411 -13
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js +281 -8
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts +4 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js +3 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts +6 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js +20 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts +1 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts +1 -0
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js +7 -0
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +4 -3
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js +4 -3
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.d.ts +265 -0
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.js +371 -0
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts +55 -5
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js +66 -2
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts +42 -2
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js +174 -1
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +4 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js +10 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts +102 -10
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js +128 -25
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts +28 -0
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.js +36 -1
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts +15 -0
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.js +15 -0
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts +21 -10
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js +130 -14
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js.map +1 -1
- package/dist/esm/_core/data-seed-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/data-seed-specification.schemas.js +5 -1
- package/dist/esm/_core/data-seed-specification.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts +32 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.js +41 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts +33 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.js +134 -9
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts +117 -0
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js +118 -0
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +1 -0
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +22 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts +17 -1
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js +21 -5
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts +7 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.js +39 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js +31 -5
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts +81 -9
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js +88 -7
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +13 -6
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js +13 -6
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
- package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.registry.js +2 -0
- package/dist/esm/_core/family-aspects.registry.js.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.d.ts +24 -0
- package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.js +20 -0
- package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
- package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +6 -6
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js +2 -2
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js.map +1 -1
- package/dist/esm/_core/index.d.ts +6 -0
- package/dist/esm/_core/index.d.ts.map +1 -1
- package/dist/esm/_core/index.js +6 -0
- package/dist/esm/_core/index.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +1 -0
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js +2 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts +26 -2
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js +21 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-references.schemas.d.ts +7 -0
- package/dist/esm/_core/market/market-references.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-references.schemas.js +13 -1
- package/dist/esm/_core/market/market-references.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +18 -12
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js +46 -17
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/market/market.family-aspects.js +4 -1
- package/dist/esm/_core/market/market.family-aspects.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts +15 -3
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js +6 -3
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +12 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.js +56 -3
- package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +9 -0
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +83 -0
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js +102 -2
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +3 -2
- package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/functional-requirement.schemas.js +8 -2
- package/dist/esm/_core/requirements/functional-requirement.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts +1 -0
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.js +2 -0
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-pain-coverage.d.ts +41 -0
- package/dist/esm/_core/requirements/requirements-pain-coverage.d.ts.map +1 -0
- package/dist/esm/_core/requirements/requirements-pain-coverage.js +63 -0
- package/dist/esm/_core/requirements/requirements-pain-coverage.js.map +1 -0
- package/dist/esm/_core/requirements/requirements-references.schemas.d.ts +1 -1
- package/dist/esm/_core/requirements/requirements-references.schemas.js +1 -1
- package/dist/esm/_core/requirements/requirements-references.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts +16 -0
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js +12 -1
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts +13 -2
- package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.js +32 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +65 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.js +53 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.js +2 -0
- package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.d.ts +56 -15
- package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.js +73 -13
- package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts +1 -16
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.js +3 -17
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts +2 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js +2 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts +1 -1
- package/dist/esm/_core/service-method/service-method-derivation.d.ts +155 -0
- package/dist/esm/_core/service-method/service-method-derivation.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method-derivation.js +410 -0
- package/dist/esm/_core/service-method/service-method-derivation.js.map +1 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.d.ts +86 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.js +28 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.js.map +1 -0
- package/dist/esm/_core/service-method/service-method-validation.d.ts +35 -0
- package/dist/esm/_core/service-method/service-method-validation.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method-validation.js +75 -0
- package/dist/esm/_core/service-method/service-method-validation.js.map +1 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.d.ts +3 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.js +59 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.js.map +1 -0
- package/dist/esm/_core/service-method/service-method.schemas.d.ts +385 -0
- package/dist/esm/_core/service-method/service-method.schemas.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method.schemas.js +372 -0
- package/dist/esm/_core/service-method/service-method.schemas.js.map +1 -0
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts +37 -5
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.js +34 -6
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts +29 -3
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-validation.js +97 -5
- package/dist/esm/_core/website-plan/website-plan-validation.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.family-aspects.js +6 -1
- package/dist/esm/_core/website-plan/website-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts +521 -15
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.schemas.js +703 -23
- package/dist/esm/_core/website-plan/website-plan.schemas.js.map +1 -1
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.d.ts +78 -0
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.d.ts.map +1 -0
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.js +92 -0
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.js.map +1 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +26 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js +14 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +21 -5
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +22 -4
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts +119 -10
- package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-line.application-creation.schemas.js +140 -7
- package/dist/esm/application-creation/application-line.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts +7 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts.map +1 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.js +7 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.js.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +4 -2
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.js +4 -2
- package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +103 -15
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js +151 -21
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts +1 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js +1 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation.exports.d.ts +7 -0
- package/dist/esm/application-creation.exports.d.ts.map +1 -1
- package/dist/esm/application-creation.exports.js +7 -0
- package/dist/esm/application-creation.exports.js.map +1 -1
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts +36 -2
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts.map +1 -1
- package/dist/esm/assurance/application-risk-signals.derivations.js +52 -4
- package/dist/esm/assurance/application-risk-signals.derivations.js.map +1 -1
- package/dist/esm/assurance/assurance-assessment-twins.d.ts +38 -0
- package/dist/esm/assurance/assurance-assessment-twins.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-assessment-twins.js +36 -0
- package/dist/esm/assurance/assurance-assessment-twins.js.map +1 -0
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +608 -9
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.js +2962 -1078
- package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +15 -0
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.js +1 -0
- package/dist/esm/assurance/assurance-authority-basis.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts +2 -0
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.js +138 -19
- package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts +65 -0
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.js +13 -0
- package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts +81 -6
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.js +68 -7
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +1631 -70
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-host-implementation-artifacts.d.ts +77 -0
- package/dist/esm/assurance/assurance-host-implementation-artifacts.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-host-implementation-artifacts.js +51 -0
- package/dist/esm/assurance/assurance-host-implementation-artifacts.js.map +1 -0
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +3 -2
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js +327 -3
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.d.ts +12 -0
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.js +19 -0
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.js.map +1 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.d.ts +403 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.js +825 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.js.map +1 -0
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +83 -8
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.js +167 -20
- package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.d.ts +234 -35
- package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.js +255 -14
- package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts +2 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.js +259 -18
- package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.d.ts +17 -0
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.js +216 -0
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.js.map +1 -0
- package/dist/esm/assurance/assurance-sources.schemas.d.ts +110 -0
- package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.js +111 -1
- package/dist/esm/assurance/assurance-sources.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +356 -5
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/governed-document-audience.derivations.d.ts +83 -0
- package/dist/esm/assurance/governed-document-audience.derivations.d.ts.map +1 -0
- package/dist/esm/assurance/governed-document-audience.derivations.js +97 -0
- package/dist/esm/assurance/governed-document-audience.derivations.js.map +1 -0
- package/dist/esm/assurance/governed-document-release.d.ts +15 -1
- package/dist/esm/assurance/governed-document-release.d.ts.map +1 -1
- package/dist/esm/assurance/governed-document-release.js +3 -1
- package/dist/esm/assurance/governed-document-release.js.map +1 -1
- package/dist/esm/assurance.exports.d.ts +4 -0
- package/dist/esm/assurance.exports.d.ts.map +1 -1
- package/dist/esm/assurance.exports.js +4 -0
- package/dist/esm/assurance.exports.js.map +1 -1
- package/dist/esm/companion-exports.d.ts +9 -1
- package/dist/esm/companion-exports.d.ts.map +1 -1
- package/dist/esm/companion-exports.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js +33 -5
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +9 -12
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +60 -6
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +4 -4
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts +1 -0
- package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.js +2 -2
- package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts +12 -4
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +46 -10
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts +3 -2
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js +15 -4
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts +1 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js +40 -11
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +44 -3
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +7 -3
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +40 -8
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts +14 -8
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js +72 -19
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts +2 -2
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +6 -6
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts +1 -0
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js +14 -13
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js +2 -2
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +68 -12
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +75 -19
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +3 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +11 -7
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts +2 -0
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +2 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts +4 -2
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js +8 -7
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js +6 -6
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts +2 -2
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts +4 -0
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.js +4 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +9 -5
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +16 -8
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.d.ts +73 -0
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.js +192 -0
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts +5 -3
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js +19 -13
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts +11 -6
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js +14 -3
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.d.ts +37 -0
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.js +161 -0
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js +1 -1
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.js +55 -11
- package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.js +300 -5
- package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
- package/dist/esm/engine/features/core-limits.feature.specifications.d.ts +10 -4
- package/dist/esm/engine/features/core-limits.feature.specifications.d.ts.map +1 -1
- package/dist/esm/engine/features/core-limits.feature.specifications.js +100 -5
- package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
- package/dist/esm/engine/features/custom-branding.feature.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/custom-branding.feature.specification.js +7 -3
- package/dist/esm/engine/features/custom-branding.feature.specification.js.map +1 -1
- package/dist/esm/engine/features/index.d.ts +4 -2
- package/dist/esm/engine/features/index.d.ts.map +1 -1
- package/dist/esm/engine/features/index.js +6 -4
- package/dist/esm/engine/features/index.js.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.js +2 -2
- package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js +34 -15
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.d.ts +4 -1
- package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.js +24 -3
- package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +31 -3
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +6 -6
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.d.ts +30 -0
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.js +181 -0
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.js +110 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.js +286 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.js +147 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js +71 -26
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.js +92 -0
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.d.ts +46 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.js +196 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +73 -31
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +118 -18
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js +9 -4
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.js +184 -0
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js +17 -5
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js +47 -7
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.js +118 -0
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.js +230 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.js +151 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.d.ts +23 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.js +124 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.js +114 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js +45 -3
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.js +6 -0
- package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.js +78 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +3 -2
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js +2 -1
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js +3 -2
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.js +7 -0
- package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js +6 -6
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.js +24 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.js +6 -6
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.js +128 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.js +139 -0
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.js +5 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/index.d.ts +7 -0
- package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/index.js +29 -0
- package/dist/esm/engine/frontend-components/index.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.js +3 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.js +27 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js +3 -1
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.d.ts +24 -0
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.js +136 -0
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js +6 -1
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.js +110 -0
- package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js +10 -4
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js +20 -2
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js +6 -6
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js +5 -5
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.d.ts +10 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.js +118 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js +54 -8
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +9 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js +33 -5
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +21 -4
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +3 -3
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.d.ts +10 -0
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.js +159 -0
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts +5 -5
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js +38 -10
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.js +100 -0
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.d.ts +37 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.js +181 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts +3 -3
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js +7 -7
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts +31 -1
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js +33 -7
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts +16 -14
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js +56 -53
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts +6 -2
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +22 -4
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts +2 -2
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts +2 -0
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +3 -3
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts +1 -0
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js +43 -2
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/index.d.ts +0 -1
- package/dist/esm/engine/notifications/system-emails/index.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/index.js +1 -3
- package/dist/esm/engine/notifications/system-emails/index.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts +1 -1
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.js +25 -15
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js +13 -13
- package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/index.d.ts +1 -2
- package/dist/esm/engine/organizations/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/index.js +1 -2
- package/dist/esm/engine/organizations/resources/index.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +5 -4
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js +114 -51
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts +11 -10
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +10 -7
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/{service-provider-relationships.resource.specification.d.ts → organization-relationships.resource.specification.d.ts} +73 -56
- package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.js +643 -0
- package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.js.map +1 -0
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts +1 -1
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js +6 -4
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +2 -2
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts +4 -4
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +93 -43
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.d.ts +39 -0
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.js +140 -0
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.js.map +1 -0
- package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/github.provider.specification.js +8 -5
- package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/google-drive.provider.specification.d.ts +6 -0
- package/dist/esm/engine/providers/google-drive.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/google-drive.provider.specification.js +39 -0
- package/dist/esm/engine/providers/google-drive.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/index.d.ts +2 -0
- package/dist/esm/engine/providers/index.d.ts.map +1 -1
- package/dist/esm/engine/providers/index.js +5 -1
- package/dist/esm/engine/providers/index.js.map +1 -1
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.d.ts +6 -0
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.js +39 -0
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/mistral.provider.specification.js +2 -2
- package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/resend.provider.specification.js +8 -6
- package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js +1 -1
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js.map +1 -1
- package/dist/esm/engine/roles/index.d.ts +2 -2
- package/dist/esm/engine/roles/index.d.ts.map +1 -1
- package/dist/esm/engine/roles/index.js +5 -5
- package/dist/esm/engine/roles/index.js.map +1 -1
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts +1 -1
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js +24 -24
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js.map +1 -1
- package/dist/esm/engine/roles/org-representative.role.specification.d.ts +2 -0
- package/dist/esm/engine/roles/org-representative.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/org-representative.role.specification.js +22 -0
- package/dist/esm/engine/roles/org-representative.role.specification.js.map +1 -0
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts +1 -0
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +7 -5
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts +3 -3
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +3 -3
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +3 -3
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +13 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts +1 -0
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js +2 -0
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +4 -0
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +3 -3
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +4 -0
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +6 -2
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts +1 -0
- package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.js +33 -0
- package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts +2 -1
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.js +10 -4
- package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +17 -15
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
- package/package.json +8 -8
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts +0 -6
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts.map +0 -1
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.js +0 -146
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.js.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts +0 -38
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js +0 -152
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.d.ts.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js +0 -417
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js.map +0 -1
- package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts +0 -2
- package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts.map +0 -1
- package/dist/esm/engine/roles/org-service-provider.role.specification.js +0 -22
- package/dist/esm/engine/roles/org-service-provider.role.specification.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inbound-email.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/notifications/resources/inbound-email.resource.specification.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,mBAAmB,EACnB,qBAAqB,IAAI,EAAE,EAC3B,6BAA6B,EAC7B,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,EAChB,sBAAsB,EACtB,6BAA6B,EAC7B,6BAA6B,EAC7B,mCAAmC,EACnC,oBAAoB,EACpB,0DAA0D,EAC1D,mEAAmE,EACnE,wDAAwD,EACxD,mEAAmE,GACpE,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAC5F,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAE3E,MAAM,uBAAuB,GAAG,gCAAgC,CAAC;AACjE,MAAM,4BAA4B,GAAG,gCAAgC,CAAC;AACtE,MAAM,wBAAwB,GAAG,0BAA0B,CAAC;AAC5D,MAAM,iBAAiB,GAAG,0BAA0B,CAAC;AACrD,MAAM,kBAAkB,GAAG,0BAA0B,CAAC;AACtD,MAAM,uBAAuB,GAAG,0BAA0B,CAAC;AAE3D,MAAM,eAAe,GAAG,CAAC,UAAkB,EAAE,EAAE,CAAC,CAAC;IAC/C,WA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YACX,OAAO,EAAE,uHAAuH;YAChI,OAAO,EAAE,4DAA4D;YACrE,SAAS,EAAE,yCAAyC;YACpD,gBAAgB,EAAE,CAAC,EAAE,IAAI,EAAE,sBAAsB,CAAC,WAAW,EAAE,OAAO,EAAE,gDAAgD,EAAE,CAAC;YAC3H,cAAc,EAAE,CAAC,EAAE,IAAI,EAAE,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,iCAAiC,EAAE,CAAC;YACxG,UAAU,EAAE,KAAK;SAClB;QACD,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE;YACT,OAAO,EAAE,yDAAyD;YAClE,OAAO,EAAE,wGAAwG;YACjH,gBAAgB,EAAE,CAAC,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,EAAE,OAAO,EAAE,gBAAgB,EAAE,CAAC;YACtF,UAAU,EAAE,IAAI;SACjB;QACD,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE;YACT,OAAO,EAAE,8CAA8C;YACvD,OAAO,EAAE,4DAA4D;YACrE,gBAAgB,EAAE,CAAC,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,EAAE,OAAO,EAAE,gBAAgB,EAAE,CAAC;YACtF,UAAU,EAAE,IAAI;SACjB;KACF;IACD,mBAAmB,EAAE;QACnB,+EAA+E;QAC/E,iDAAiD;KAClD;CACF,CAAC,EACF,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,WAAW,EAAE,CAC3D,CAAC","sourcesContent":["/**\n * Resources: `inboundEmails`, `organizationEmailDomains`, `clientMailboxes`, `inboundAddressTombstones` — Wildo\n * SaaS engine specifications for receiving email (#1600).\n *\n * Inputs:\n * - Schemas: `InboundEmailSchema`, `OrganizationEmailDomainSchema`, `ClientMailboxSchema`,\n * `InboundAddressTombstoneSchema` (`notifications/inbound-email/inbound-email.shared.schemas.ts`)\n * - Factories: `{inboundEmails,organizationEmailDomains,clientMailboxes,inboundAddressTombstones}ResourceConfiguration_InitializationFactory`\n * (`notifications/inbound-email/inbound-email.shared.resources-config.schemas.ts`)\n * - Custom operations: `OrganizationEmailDomains_Operations` (`claim`, `verify_ownership`, `verify`, `remove`), and\n * the client-mailbox CREATE / DELETE, all OVERRIDE_ALL in `inbound-email.custom-impl.backend.service.ts`\n * (saas-backend-lib), driving `OrganizationEmailDomainsBackendService`.\n * - Writers: the email channel's stage 1 (`InboundEmailReceptionBackendService`) writes `inboundEmails`; the\n * `email-domain-recheck` batch (every fifteen minutes) suspends or settles domains; the organization DELETE\n * hook deletes the provider's domains and writes `inboundAddressTombstones`.\n *\n * Scopes: the three organization resources carry `isPrimaryScope: true` on their ORGANIZATIONS relationship (a\n * client mailbox belongs to the CLIENT organization); the tombstones are application-wide (APPLICATION →\n * INBOUND_ADDRESS_TOMBSTONES carries `isPrimaryScope: true`).\n */\n\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n ClientMailboxSchema,\n CoreResourceOperation as Op,\n InboundAddressTombstoneSchema,\n InboundEmailLimit,\n InboundEmailSchema,\n InboundEmailStatus,\n InboundRouteKind,\n InboundSenderAssurance,\n OrganizationEmailDomainSchema,\n OrganizationEmailDomainStatus,\n OrganizationEmailDomains_Operations,\n ResourcePrimaryScope,\n clientMailboxesResourceConfiguration_InitializationFactory,\n inboundAddressTombstonesResourceConfiguration_InitializationFactory,\n inboundEmailsResourceConfiguration_InitializationFactory,\n organizationEmailDomainsResourceConfiguration_InitializationFactory,\n} from '@wildo-ai/saas-models';\nimport { HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\nconst EXAMPLE_ORGANIZATION_ID = 'org_01J4P8F1M2N3Q4R5S6T7V8W9XY';\nconst EXAMPLE_FIRM_ORGANIZATION_ID = 'org_01J4P8F1M2N3Q4R5S6T7FIRM01';\nconst EXAMPLE_INBOUND_EMAIL_ID = '66f6a1c2e3d4b5a697889900';\nconst EXAMPLE_DOMAIN_ID = '66f6a1c2e3d4b5a697881001';\nconst EXAMPLE_MAILBOX_ID = '66f6a1c2e3d4b5a697882001';\nconst EXAMPLE_RELATIONSHIP_ID = '66f6a1c2e3d4b5a697883001';\n\nconst enumDeclaration = (exportName: string) => ({\n packageName: '@wildo-ai/saas-models',\n exportName,\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n});\n\nconst operationVocabulary = (customEnum?: string) => ({\n coreEnum: enumDeclaration('CoreResourceOperation'),\n ...(customEnum ? { customEnum: enumDeclaration(customEnum) } : {}),\n});\n\nconst page = <T>(data: readonly T[]) => ({ data, pagination: { page: 1, limit: 20, total: data.length, totalPages: data.length === 0 ? 0 : 1 } });\n\nconst MEMBER_FORBIDDEN = { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a member of the organization.' };\nconst ADMIN_FORBIDDEN = { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an administrator of the organization.' };\n\n// ── inboundEmails ───────────────────────────────────────────────────────────\n\nconst dispatchedEmailExample = {\n _id: EXAMPLE_INBOUND_EMAIL_ID,\n organizationId: EXAMPLE_ORGANIZATION_ID,\n inboundDeliveryId: '5f1c2e9b8a7d6c5b4a392817',\n providerRef: 'resend',\n providerMessageId: 'em_8Qz2LkX7pW',\n messageId: '<CAF7x2kLq9@mail.client.example>',\n inReplyTo: null,\n references: [],\n threadId: '66f6a1c2e3d4b5a697887766',\n fromAddress: 'anna@client.example',\n fromName: 'Anna Keller',\n to: [{ address: 'matters+intake@firm.example' }],\n cc: [],\n replyTo: null,\n receivedFor: 'matters+intake@firm.example',\n routeKind: InboundRouteKind.ORGANIZATION_DOMAIN,\n routeTag: 'intake',\n subject: 'Matter 2026-17 — signed engagement letter',\n textBody: 'Please find the signed engagement letter attached.',\n htmlBody: null,\n strippedReply: null,\n headers: { 'message-id': '<CAF7x2kLq9@mail.client.example>', subject: 'Matter 2026-17 — signed engagement letter' },\n textTruncated: false,\n authentication: { spf: 'pass', dkim: 'pass', dmarc: 'pass', dmarcAligned: true },\n senderAssurance: InboundSenderAssurance.DOMAIN_ALIGNED,\n attachments: [{ fileId: '66f6a1c2e3d4b5a697889a01', filename: 'engagement-letter-signed.pdf', contentType: 'application/pdf', size: 182340, disposition: 'attachment' }],\n withheldAttachments: [],\n rawMime: { fileId: '66f6a1c2e3d4b5a697889a02', sha256: '9f2c4e1d7a3b6c5e8f0a1b2c3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60', sizeBytes: 251904 },\n sizeBytes: 251904,\n receivedAt: '2026-09-27T09:10:00.000Z',\n status: InboundEmailStatus.DISPATCHED,\n limitExceeded: null,\n createdAt: '2026-09-27T09:10:02.000Z',\n updatedAt: '2026-09-27T09:10:05.000Z',\n};\n\nexport const inboundEmailsResourceSpecification = resourceSpecification(\n inboundEmailsResourceConfiguration_InitializationFactory,\n InboundEmailSchema,\n ({ schemaShape }) => ({\n purpose: 'Keep every email the application received, in the organization it was routed to, exactly as it arrived: sender, recipients, bodies, allow-listed headers, authentication results, attachments and the original bytes.',\n businessRole: 'The email channel\\'s own record of a received letter. Routing decided the organization from the envelope recipient — never from the sender — and the row is what the organization\\'s conversation messages point at for the full message and its attachments.',\n lifecycleRole: 'Written AWAITING_ATTACHMENT_SCAN by the channel\\'s stage 1 once the recipient routed; moved to DISPATCHED or STORED_BELOW_MINIMUM once every attachment has a scan verdict and the channel intake admitted it. A message over a limit is stored REJECTED_LIMIT as its envelope only. Nothing rewrites what was received. Deleted by the retention sweep once the application\\'s BUSINESS_RECORDS period, counted from the end of the calendar year it was received, has passed — its raw MIME and attachment files with it; an erasure inside that period impersonalizes the row instead: its text, addresses and attachment names are reset and its files erased.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.NOTIFICATIONS,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'InboundEmailSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactory: { packageName: '@wildo-ai/saas-models', exportName: 'inboundEmailsResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION },\n resourceType: { enumDeclaration: enumDeclaration('CoreResourceType'), memberName: 'INBOUND_EMAILS' },\n operationVocabulary: operationVocabulary(),\n notes: [\n 'READ and LIST are the only HTTP surface (organization members). CREATE and UPDATE are REPOSITORY_ONLY and UPDATE_MANY / DELETE / DELETE_MANY are INTERNAL_CALL: no request can invent, rewrite or delete a received letter.',\n 'Every received field is `excludeFromUpdate`, and `status` / `limitExceeded` are excluded from both writes: the engine moves the disposition through a guarded mutation from AWAITING_ATTACHMENT_SCAN, once.',\n 'A message addressed to two organizations is one row in EACH; a row never names another tenant.',\n 'Retention: `RETAIN_AND_IMPERSONALIZE` under a LEGAL_OBLIGATION statutory ground (received business letters), bound to BUSINESS_RECORDS from the end of the calendar year. Each personal field declares what erasure writes over it (masked address and subject, reset names, recipients, bodies and headers).',\n ],\n },\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Identifier of one received message in one organization.', semanticRole: 'identifier', importance: FieldSemanticImportance.PRIMARY }),\n organizationId: schemaShape.organizationId.foreignKeySpec({ meaning: 'The organization routing delivered the message to.', whyItMatters: 'Decided from the envelope recipient, never from the sender or a header the sender wrote, so nobody can write into a tenant by naming it.', importance: FieldSemanticImportance.PRIMARY }),\n inboundDeliveryId: schemaShape.inboundDeliveryId.stringSpec({ meaning: 'The stored inbound delivery of the provider\\'s notification that announced this message.', whyItMatters: 'Stage 1 runs as that delivery\\'s handler, so a crash or a scan wait is retried from it and the row is written once.', semanticRole: 'identifier' }),\n providerRef: schemaShape.providerRef.stringSpec({ meaning: 'The receiving provider that took the message.', semanticRole: 'code' }),\n providerMessageId: schemaShape.providerMessageId.stringSpec({ meaning: 'The provider\\'s id for the message.', whyItMatters: 'With the organization and provider it is the row\\'s business key: one message is stored once per organization.', semanticRole: 'identifier' }),\n messageId: schemaShape.messageId.stringSpec({ meaning: 'The Message-ID the message carried, angle brackets included, when it carried a well-formed one.', semanticRole: 'code' }),\n inReplyTo: schemaShape.inReplyTo.stringSpec({ meaning: 'The Message-ID this message answers.', whyItMatters: 'What joins a reply to an existing conversation thread.', semanticRole: 'code' }),\n references: schemaShape.references.arraySpec({ meaning: 'The Message-IDs of the thread before this message, oldest first.', elementMeaning: 'One earlier Message-ID.' }),\n threadId: schemaShape.threadId.stringSpec({ meaning: 'The conversation thread the message was recorded in, once it was dispatched.', whyItMatters: 'A plain id, set by the engine when the channel intake admitted the message; empty for a message never dispatched.', semanticRole: 'identifier' }),\n fromAddress: schemaShape.fromAddress.stringSpec({ meaning: 'The sender\\'s address, lower-cased.', whyItMatters: 'Indexed so a data subject\\'s erasure finds their letters; masked on erasure. Never used to route.', importance: FieldSemanticImportance.PRIMARY }),\n fromName: schemaShape.fromName.stringSpec({ meaning: 'The sender\\'s display name.', whyItMatters: 'Reset on erasure.' }),\n to: schemaShape.to.arraySpec({ meaning: 'The addresses in To, as the message named them.', elementMeaning: 'One address with its display name.', whyItMatters: 'Reset on erasure.' }),\n cc: schemaShape.cc.arraySpec({ meaning: 'The addresses in Cc.', elementMeaning: 'One address with its display name.', whyItMatters: 'Reset on erasure.' }),\n replyTo: schemaShape.replyTo.stringSpec({ meaning: 'The Reply-To address, when the message named one.', whyItMatters: 'Reset on erasure.' }),\n receivedFor: schemaShape.receivedFor.stringSpec({ meaning: 'The envelope recipient the message was delivered for, which routing read.', whyItMatters: 'The address on this organization\\'s route; it is what decided the organization.', importance: FieldSemanticImportance.PRIMARY }),\n routeKind: schemaShape.routeKind.enumSpec({\n meaning: 'How that address reached this organization.',\n enumDeclaration: enumDeclaration('InboundRouteKind'),\n values: {\n [InboundRouteKind.REPLY_TOKEN]: { meaning: 'A reply address (`{local}+r-{token}@{domain}`) issued on one of this organization\\'s threads.' },\n [InboundRouteKind.CLIENT_MAILBOX]: { meaning: 'An exact client mailbox on a firm\\'s verified domain, under an ACTIVE service-provider relationship.' },\n [InboundRouteKind.ORGANIZATION_DOMAIN]: { meaning: 'Any address on a VERIFIED receiving domain of the organization.' },\n [InboundRouteKind.SHARED_DOMAIN]: { meaning: 'The organization\\'s zero-configuration address on the application\\'s shared domain (`{slug}@{sharedDomain}`).' },\n },\n }),\n routeTag: schemaShape.routeTag.stringSpec({ meaning: 'The tag the address carried (`cases+tag@…`).', whyItMatters: 'It selects which channel handler receives the message.', semanticRole: 'code' }),\n subject: schemaShape.subject.stringSpec({ meaning: 'The subject line.', whyItMatters: 'Masked on erasure.', importance: FieldSemanticImportance.PRIMARY }),\n textBody: schemaShape.textBody.stringSpec({ meaning: 'The plain-text body, cut at 1 MB.', whyItMatters: 'Reset on erasure.', semanticRole: 'content' }),\n htmlBody: schemaShape.htmlBody.stringSpec({ meaning: 'The HTML body exactly as received, cut at 1 MB.', whyItMatters: 'Never trusted as markup: it is rendered only in a sandboxed frame that runs no script and loads no remote content (a remote image would be a read receipt). Reset on erasure.', semanticRole: 'content' }),\n strippedReply: schemaShape.strippedReply.stringSpec({ meaning: 'The new part of a reply without its quoted history, when it could be separated.', whyItMatters: 'What a handler usually reads. Reset on erasure.', semanticRole: 'content' }),\n headers: schemaShape.headers.objectSpec({ meaning: 'The allow-listed headers the message carried.', whyItMatters: 'An allow-list, not a deny-list: a header not on it is not stored, because headers are correspondence metadata that can carry personal data. Reset on erasure.' }),\n textTruncated: schemaShape.textTruncated.booleanSpec({ meaning: 'Whether a body was cut at the 1 MB stored-text limit.' }),\n authentication: schemaShape.authentication.objectSpec({ meaning: 'The SPF, DKIM and DMARC results the receiving provider reported, and whether the From domain aligned with an authenticated identifier.', whyItMatters: 'What the sender assurance is derived from.' }),\n senderAssurance: schemaShape.senderAssurance.enumSpec({\n meaning: 'How well the sender is known, as the channel derived it; empty until the message was admitted.',\n whyItMatters: 'It decides only whether a handler runs, never what the handler may do.',\n enumDeclaration: enumDeclaration('InboundSenderAssurance'),\n values: {\n [InboundSenderAssurance.UNVERIFIED]: { meaning: 'Nothing about the sender is proven.' },\n [InboundSenderAssurance.SOURCE_SIGNED]: { meaning: 'Not used for email: a signed webhook delivery.' },\n [InboundSenderAssurance.DOMAIN_ALIGNED]: { meaning: 'DMARC passed aligned with the From domain: the domain is authenticated, not the mailbox.' },\n [InboundSenderAssurance.KNOWN_CONTACT]: { meaning: 'Domain-aligned, and the address is a member of the organization or a contact the application recognises.' },\n [InboundSenderAssurance.THREAD_TOKEN_BOUND]: { meaning: 'Domain-aligned, on a live reply address, from the recipient that address was issued to.' },\n },\n }),\n attachments: schemaShape.attachments.arraySpec({ meaning: 'The attachments that were stored, with what the sender declared about each.', elementMeaning: 'One stored file with its filename, content type, size and disposition.', whyItMatters: 'Nothing reaches a handler before every attachment has a verdict. Reset on erasure: filenames are the sender\\'s words.' }),\n attachmentFiles: schemaShape.attachmentFiles.fileSpec({ meaning: 'The CLEAN attachments, as files linked to the message.', whyItMatters: 'Linking keeps them for the message\\'s retention — an unlinked file is swept a day after its scan — and serves them to whoever may read the message. An infected or unscannable file is never linked, so never served. Removed, and its files erased, on erasure.' }),\n withheldAttachments: schemaShape.withheldAttachments.arraySpec({ meaning: 'The attachments that were not made available, and why.', elementMeaning: 'One withheld filename with its reason: INFECTED (quarantined, never served) or SCAN_FAILED (not proven clean).', whyItMatters: 'The message itself still reaches its handler; only the unproven file is held back, and each is audited.' }),\n rawMime: schemaShape.rawMime.objectSpec({ meaning: 'The SHA-256 and size of the original message bytes as captured, and the file they were stored in.', whyItMatters: 'Only the original bytes can be re-verified (DKIM is computed over them), and received letters must be reproducible as received. Empty when the application discards raw MIME, or for a message rejected over a limit.' }),\n rawMimeFile: schemaShape.rawMimeFile.fileSpec({ meaning: 'The original message, as a file linked to the message — set once its scan is clean.', whyItMatters: 'Kept for the message\\'s retention and served to whoever may read the message. Removed, and the file erased, on erasure: it holds everything the reset text fields held.' }),\n sizeBytes: schemaShape.sizeBytes.numberSpec({ meaning: 'The size of the message in bytes.' }),\n receivedAt: schemaShape.receivedAt.dateSpec({ meaning: 'When the provider received the message.', temporalRole: 'occurred', importance: FieldSemanticImportance.PRIMARY }),\n status: schemaShape.status.enumSpec({\n meaning: 'What became of the message — its disposition only. Whether its handler ran is the inbound delivery\\'s status.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: enumDeclaration('InboundEmailStatus'),\n values: {\n [InboundEmailStatus.AWAITING_ATTACHMENT_SCAN]: { meaning: 'Stored; at least one attachment has no scan verdict yet, so nothing has reached a handler.' },\n [InboundEmailStatus.DISPATCHED]: { meaning: 'Handed to its channel handler through a stored delivery, and recorded in a conversation thread.' },\n [InboundEmailStatus.STORED_BELOW_MINIMUM]: { meaning: 'The sender is below the selected handler\\'s minimum assurance and no below-minimum handler is declared: kept as correspondence, audited, dispatched to nobody.' },\n [InboundEmailStatus.REJECTED_LIMIT]: { meaning: 'Over a limit: only the envelope is kept, without bodies or attachments. `limitExceeded` says which.' },\n },\n }),\n limitExceeded: schemaShape.limitExceeded.enumSpec({\n meaning: 'For a message rejected over a limit, which one.',\n enumDeclaration: enumDeclaration('InboundEmailLimit'),\n values: {\n [InboundEmailLimit.MESSAGE_SIZE]: { meaning: 'The whole message is larger than the application\\'s configured maximum.' },\n [InboundEmailLimit.ATTACHMENT_COUNT]: { meaning: 'More than twenty attachments.' },\n [InboundEmailLimit.ATTACHMENT_SIZE]: { meaning: 'One attachment is larger than the application\\'s maximum file size.' },\n },\n }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the row was stored.', temporalRole: 'creation' }),\n updatedAt: schemaShape.updatedAt.dateSpec({ meaning: 'When the row last changed — its disposition.', temporalRole: 'modified' }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Read one email your organization received, with its bodies, attachments and authentication results.',\n outcome: 'The stored message and its disposition.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The message is returned.' }],\n errorScenarios: [MEMBER_FORBIDDEN, { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No received message with this id exists in the organization.' }],\n idempotent: true,\n examples: [{ title: 'Read a dispatched message', request: { organizationId: EXAMPLE_ORGANIZATION_ID, inboundEmailId: EXAMPLE_INBOUND_EMAIL_ID }, response: dispatchedEmailExample, forStatus: HttpResponseStatusCode.OK_200 }],\n },\n [Op.LIST]: {\n purpose: 'List the organization\\'s received emails, filtered by `status`, `routeKind` or `threadId` and sorted by `receivedAt`.',\n outcome: 'A page of received messages.',\n whenToUse: 'Find what arrived for one thread, or what was stored below minimum and needs a person to look at it.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'A possibly empty page of messages.' }],\n errorScenarios: [MEMBER_FORBIDDEN],\n idempotent: true,\n examples: [{\n title: 'List the messages stored below the handler\\'s minimum',\n request: { organizationId: EXAMPLE_ORGANIZATION_ID, status: InboundEmailStatus.STORED_BELOW_MINIMUM, sort: 'receivedAt:desc' },\n response: page([{ ...dispatchedEmailExample, threadId: null, status: InboundEmailStatus.STORED_BELOW_MINIMUM, senderAssurance: InboundSenderAssurance.UNVERIFIED }]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.CREATE]: {\n purpose: 'Store a routed message. Written only by the email channel\\'s stage 1.',\n outcome: 'The message exists in its organization, AWAITING_ATTACHMENT_SCAN (or REJECTED_LIMIT as an envelope).',\n whenToUse: 'Repository-only: never an HTTP surface.',\n responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The message was stored. Internal write path.' }],\n errorScenarios: [{ code: HttpResponseStatusCode.CONFLICT_409, when: 'The same provider message is already stored for the organization.' }],\n idempotent: false,\n },\n [Op.UPDATE]: {\n purpose: 'Settle the message\\'s disposition and record its thread and sender assurance. Written only by the engine.',\n outcome: 'The message leaves AWAITING_ATTACHMENT_SCAN once, with its withheld attachments listed.',\n whenToUse: 'Repository-only: never an HTTP surface — nothing rewrites what was received.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The message was updated. Internal write path.' }],\n errorScenarios: [{ code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No message with this id exists.' }],\n idempotent: false,\n },\n [Op.UPDATE_MANY]: {\n purpose: 'The erasure writer\\'s door (internal, route-less, CRITICAL): impersonalizes a data subject\\'s letters once no statutory period restricts them.',\n outcome: 'Addresses and subjects are masked, names, recipients, bodies and headers reset, while the record that a letter arrived stays.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Internal scrub completed.' }],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'The retention sweep\\'s door (internal, route-less, HIGH risk): deleting correspondence removes evidence of what a client sent.',\n outcome: 'A message leaves when its BUSINESS_RECORDS period, counted from the end of its calendar year, has passed — with its raw MIME and attachment files.',\n responseStatuses: [{ code: HttpResponseStatusCode.NO_CONTENT_204, meaning: 'Internal retention delete completed.' }],\n idempotent: true,\n },\n [Op.DELETE_MANY]: {\n purpose: 'Bulk twin of DELETE for the retention sweep (internal, route-less).',\n outcome: 'Messages whose statutory period has ended are removed together.',\n responseStatuses: [{ code: HttpResponseStatusCode.NO_CONTENT_204, meaning: 'Internal retention delete completed.' }],\n idempotent: true,\n },\n },\n businessConstraints: [\n 'The organization a message lands in is chosen by routing from the envelope recipient, in a fixed order — reply token, client mailbox, verified organization domain, shared-domain slug — and anything else is UNROUTABLE, audited and not stored.',\n 'Nothing reaches a handler before every attachment has a scan verdict; an infected or unscanned attachment is withheld and listed, never served.',\n 'A received letter is kept for its statutory period; an erasure inside it restricts the row instead of deleting it.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n);\n\n// ── organizationEmailDomains ────────────────────────────────────────────────\n\nconst pendingDomainExample = {\n _id: EXAMPLE_DOMAIN_ID,\n organizationId: EXAMPLE_FIRM_ORGANIZATION_ID,\n domain: 'inbox.firm.example',\n capabilities: { sending: true, receiving: true },\n providerRef: null,\n providerDomainId: null,\n ownershipChallenge: { txtName: '_wildo-verification.inbox.firm.example', nonceHash: '3a7bd3e2360a3d29eea436fcfb7e44c735d117c42d1c1835420b6b9942dd4f1b' },\n status: OrganizationEmailDomainStatus.OWNERSHIP_PENDING,\n dnsRecords: [],\n ownershipVerifiedAt: null,\n lastVerifiedAt: null,\n createdAt: '2026-09-27T08:00:00.000Z',\n updatedAt: '2026-09-27T08:00:00.000Z',\n};\n\nconst providerPendingDomainExample = {\n ...pendingDomainExample,\n providerRef: 'resend',\n providerDomainId: 'd_91f3c2a8',\n status: OrganizationEmailDomainStatus.PROVIDER_PENDING,\n dnsRecords: [\n { purpose: 'DKIM', type: 'TXT', name: 'resend._domainkey.inbox.firm.example', value: 'p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC…', status: 'not_started' },\n { purpose: 'MX', type: 'MX', name: 'inbox.firm.example', value: 'inbound-smtp.eu-west-1.amazonaws.com', priority: 10, status: 'not_started' },\n ],\n ownershipVerifiedAt: '2026-09-27T08:20:00.000Z',\n updatedAt: '2026-09-27T08:20:00.000Z',\n};\n\nconst verifiedDomainExample = { ...providerPendingDomainExample, status: OrganizationEmailDomainStatus.VERIFIED, lastVerifiedAt: '2026-09-27T09:00:00.000Z', updatedAt: '2026-09-27T09:00:00.000Z' };\n\nexport const organizationEmailDomainsResourceSpecification = resourceSpecification(\n organizationEmailDomainsResourceConfiguration_InitializationFactory,\n OrganizationEmailDomainSchema,\n ({ schemaShape }) => ({\n purpose: 'Let an organization receive mail on, and send from, a domain of its own — once it has proven it controls that domain\\'s DNS.',\n businessRole: 'What lets a firm use `inbox.firm.com` instead of the application\\'s shared address. Every tenant shares one provider account, so ownership is proven per organization BEFORE anything is created at the provider: otherwise a squatter\\'s claim would verify the moment the real owner published its records.',\n lifecycleRole: '`claim` records OWNERSHIP_PENDING and returns the DNS TXT challenge once; `verify_ownership` resolves it and, for the first organization to prove it, creates the domain at the provider (PROVIDER_PENDING, or VERIFIED at once); `verify` asks the provider to verify its records (VERIFIED, FAILED or still PROVIDER_PENDING) and suspends a domain whose ownership record disappeared; the fifteen-minute re-check suspends a verified domain whose records vanished and settles a pending one. `remove`, and the deletion of the organization, delete the domain at the provider and then the row.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.NOTIFICATIONS,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'OrganizationEmailDomainSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactory: { packageName: '@wildo-ai/saas-models', exportName: 'organizationEmailDomainsResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION },\n resourceType: { enumDeclaration: enumDeclaration('CoreResourceType'), memberName: 'ORGANIZATION_EMAIL_DOMAINS' },\n operationVocabulary: operationVocabulary('OrganizationEmailDomains_Operations'),\n notes: [\n 'The four verbs are the whole write surface, each OVERRIDE_ALL and each audited under its own event. CREATE and UPDATE are REPOSITORY_ONLY and UPDATE_MANY / DELETE / DELETE_MANY are INTERNAL_CALL: a row that could be written directly could claim VERIFIED without proving anything.',\n 'Only the SHA-256 of the ownership challenge value is stored. The value (`wildo-email-domain-verification=<nonce>`, published at `_wildo-verification.{domain}`) is answered once by `claim`; claiming again while pending mints a fresh one and invalidates the old.',\n 'Refusals never name the organization that holds a domain: telling one tenant which tenant holds it would disclose a customer\\'s configuration.',\n '`RETAIN_ONLY` and FORBIDDEN from a subject export: a domain names an organization\\'s infrastructure, not a person.',\n ],\n },\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Identifier of one organization\\'s claim on one domain, derived from the organization and the domain.', semanticRole: 'identifier', importance: FieldSemanticImportance.PRIMARY }),\n organizationId: schemaShape.organizationId.foreignKeySpec({ meaning: 'The organization that claimed the domain.', whyItMatters: 'Once proven, the domain routes mail into and sends for this organization only.', importance: FieldSemanticImportance.PRIMARY }),\n domain: schemaShape.domain.stringSpec({ meaning: 'The lower-case DNS hostname, e.g. `inbox.firm.com`.', whyItMatters: 'Not unique: several organizations may hold pending claims on one domain. A subdomain keeps the organization\\'s existing mailbox untouched.', importance: FieldSemanticImportance.PRIMARY }),\n capabilities: schemaShape.capabilities.objectSpec({ meaning: 'Whether the organization sends from the domain, receives on it, or both.', whyItMatters: 'A claim for neither is refused; the provider domain is created with exactly these capabilities.' }),\n providerRef: schemaShape.providerRef.stringSpec({ meaning: 'The email provider the domain was created at, once ownership was proven.', semanticRole: 'code' }),\n providerDomainId: schemaShape.providerDomainId.stringSpec({ meaning: 'The provider\\'s id for the domain, once created there.', whyItMatters: 'What `verify`, the re-check and `remove` address at the provider.', semanticRole: 'identifier' }),\n ownershipChallenge: schemaShape.ownershipChallenge.objectSpec({ meaning: 'The DNS TXT ownership challenge: the name to publish it on, and the SHA-256 of the value.', whyItMatters: 'The organization proves control of the domain by publishing the value; the re-check keeps asking for it, and its disappearance suspends the domain.' }),\n status: schemaShape.status.enumSpec({\n meaning: 'Where the domain stands. Only a verified domain routes and sends.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: enumDeclaration('OrganizationEmailDomainStatus'),\n values: {\n [OrganizationEmailDomainStatus.OWNERSHIP_PENDING]: { meaning: 'Claimed; the TXT challenge is not answered yet. Blocks nobody: several organizations may be here at once.' },\n [OrganizationEmailDomainStatus.PROVIDER_PENDING]: { meaning: 'Ownership proven and the domain created at the provider; its DNS records are not verified there yet.' },\n [OrganizationEmailDomainStatus.VERIFIED]: { meaning: 'Ownership proven and the provider verified the records: the domain routes mail (receiving) and sends (sending).' },\n [OrganizationEmailDomainStatus.FAILED]: { meaning: 'The provider could not verify the records. Fix the DNS and verify again.' },\n [OrganizationEmailDomainStatus.SUSPENDED]: { meaning: 'Was verified; the ownership record or the provider\\'s records disappeared. Routing and sending stop until it verifies again.' },\n },\n }),\n dnsRecords: schemaShape.dnsRecords.arraySpec({ meaning: 'The records the provider asks the organization to publish, as the provider reported them.', elementMeaning: 'One record: its purpose (DKIM, SPF, MX…), type, name, value, MX priority and the provider\\'s status for it.' }),\n ownershipVerifiedAt: schemaShape.ownershipVerifiedAt.dateSpec({ meaning: 'When the organization proved it owns the domain.', whyItMatters: 'From then on the domain is refused to every other organization.', temporalRole: 'occurred' }),\n lastVerifiedAt: schemaShape.lastVerifiedAt.dateSpec({ meaning: 'When the domain was last found verified.', temporalRole: 'occurred' }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the domain was claimed.', temporalRole: 'creation' }),\n updatedAt: schemaShape.updatedAt.dateSpec({ meaning: 'When the claim last changed.', temporalRole: 'modified' }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Read one of your organization\\'s email domains, with its status and the DNS records to publish.',\n outcome: 'The domain claim.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The domain is returned.' }],\n errorScenarios: [ADMIN_FORBIDDEN, { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No domain with this id exists in the organization.' }],\n idempotent: true,\n examples: [{ title: 'Read a domain waiting for the provider', request: { organizationId: EXAMPLE_FIRM_ORGANIZATION_ID, organizationEmailDomainId: EXAMPLE_DOMAIN_ID }, response: providerPendingDomainExample, forStatus: HttpResponseStatusCode.OK_200 }],\n },\n [Op.LIST]: {\n purpose: 'List the organization\\'s email domains, filtered by `status` and sorted by `createdAt`.',\n outcome: 'A page of domain claims.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'A possibly empty page of domains.' }],\n errorScenarios: [ADMIN_FORBIDDEN],\n idempotent: true,\n examples: [{ title: 'List verified domains', request: { organizationId: EXAMPLE_FIRM_ORGANIZATION_ID, status: OrganizationEmailDomainStatus.VERIFIED }, response: page([verifiedDomainExample]), forStatus: HttpResponseStatusCode.OK_200 }],\n },\n [Op.CREATE]: {\n purpose: 'Store a claim. Written only by `claim`.',\n outcome: 'The claim exists OWNERSHIP_PENDING.',\n whenToUse: 'Repository-only: never an HTTP surface — organizations act through `claim`.',\n responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The claim was stored. Internal write path.' }],\n errorScenarios: [{ code: HttpResponseStatusCode.CONFLICT_409, when: 'The organization already holds a claim on this domain.' }],\n idempotent: false,\n },\n [Op.UPDATE]: {\n purpose: 'Move a claim through its lifecycle. Written only by the verbs and the re-check, through guarded mutations.',\n outcome: 'The claim reflects the latest ownership and provider verification.',\n whenToUse: 'Repository-only: never an HTTP surface.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The claim was updated. Internal write path.' }],\n errorScenarios: [{ code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No claim with this id exists.' }],\n idempotent: false,\n },\n [Op.UPDATE_MANY]: {\n purpose: 'Internal, route-less bulk update (CRITICAL). No personal field exists to scrub.',\n outcome: 'Reserved for engine maintenance.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Internal update completed.' }],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Internal, route-less delete (HIGH risk): the tenant cascade\\'s door when the organization is deleted, after the provider\\'s copy was read for deletion.',\n outcome: 'The claim leaves with its organization.',\n responseStatuses: [{ code: HttpResponseStatusCode.NO_CONTENT_204, meaning: 'Internal delete completed.' }],\n idempotent: true,\n },\n [Op.DELETE_MANY]: {\n purpose: 'Bulk twin of DELETE (internal, route-less).',\n outcome: 'An organization\\'s claims leave together.',\n responseStatuses: [{ code: HttpResponseStatusCode.NO_CONTENT_204, meaning: 'Internal delete completed.' }],\n idempotent: true,\n },\n [OrganizationEmailDomains_Operations.CLAIM]: {\n operationId: OrganizationEmailDomains_Operations.CLAIM,\n purpose: 'Claim a domain for sending, receiving, or both, and receive the DNS TXT record that proves ownership.',\n outcome: 'The claim is OWNERSHIP_PENDING and the answer carries `txtName` (`_wildo-verification.{domain}`) and `txtValue` (`wildo-email-domain-verification=<nonce>`), shown this once. Nothing is created at the provider. Claiming again while pending mints a fresh value and invalidates the old one.',\n whenToUse: 'The organization wants to receive on, or send from, a domain it controls.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The claim and its one-time TXT record value are returned.' }],\n errorScenarios: [\n ADMIN_FORBIDDEN,\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The domain is not a DNS hostname with at least two labels, or the claim is for neither sending nor receiving.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'Another organization has already proven it owns the domain, or this organization already proved it (remove the domain to claim it again).' },\n ],\n idempotent: false,\n examples: [{\n title: 'Claim a receiving and sending subdomain',\n request: { organizationId: EXAMPLE_FIRM_ORGANIZATION_ID, domain: 'inbox.firm.example', capabilities: { sending: true, receiving: true } },\n response: { organizationEmailDomainId: EXAMPLE_DOMAIN_ID, domain: 'inbox.firm.example', status: OrganizationEmailDomainStatus.OWNERSHIP_PENDING, txtName: '_wildo-verification.inbox.firm.example', txtValue: 'wildo-email-domain-verification=Qm9vc3RlZC1ub25jZS12YWx1ZS0x' },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [OrganizationEmailDomains_Operations.VERIFY_OWNERSHIP]: {\n operationId: OrganizationEmailDomains_Operations.VERIFY_OWNERSHIP,\n purpose: 'Prove ownership: resolve the published TXT record, and — for the first organization to prove it — create the domain at the email provider.',\n outcome: 'The domain is PROVIDER_PENDING (or VERIFIED) with `ownershipVerifiedAt`, the provider\\'s id and the DNS records to publish. From then on the domain is refused to every other organization.',\n whenToUse: 'After publishing the TXT record `claim` returned and letting DNS propagate. Only while OWNERSHIP_PENDING.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Ownership is proven; the updated domain is returned.' }],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an administrator of the organization, or the domain is no longer OWNERSHIP_PENDING (the operation is disabled for it).' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No domain with this id exists in the organization.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The TXT record was not found at `_wildo-verification.{domain}`.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'Another organization has already proven it owns the domain, or the claim changed while it was being verified.' },\n ],\n idempotent: false,\n examples: [{ title: 'Prove ownership of a claimed domain', request: { organizationId: EXAMPLE_FIRM_ORGANIZATION_ID, organizationEmailDomainId: EXAMPLE_DOMAIN_ID }, response: providerPendingDomainExample, forStatus: HttpResponseStatusCode.OK_200 }],\n },\n [OrganizationEmailDomains_Operations.VERIFY]: {\n operationId: OrganizationEmailDomains_Operations.VERIFY,\n purpose: 'Ask the provider to verify the domain\\'s DNS records now, and record what it answers.',\n outcome: 'The domain is VERIFIED, FAILED or still PROVIDER_PENDING (the provider verifies asynchronously), with the records as the provider reports them. A domain whose ownership record is no longer published is SUSPENDED instead.',\n whenToUse: 'After publishing the provider\\'s records, after fixing a FAILED domain, or to bring a SUSPENDED domain back once its records are published again.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The domain as verified now is returned.' }],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an administrator of the organization, or the domain is still OWNERSHIP_PENDING (the operation is disabled for it).' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No domain with this id exists in the organization.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The ownership TXT record is no longer published and the domain is already SUSPENDED.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'Ownership of the domain has not been proven yet.' },\n ],\n idempotent: false,\n examples: [{ title: 'Verify a domain whose records are published', request: { organizationId: EXAMPLE_FIRM_ORGANIZATION_ID, organizationEmailDomainId: EXAMPLE_DOMAIN_ID }, response: verifiedDomainExample, forStatus: HttpResponseStatusCode.OK_200 }],\n },\n [OrganizationEmailDomains_Operations.REMOVE]: {\n operationId: OrganizationEmailDomains_Operations.REMOVE,\n purpose: 'Remove a domain: delete it at the email provider, then the claim.',\n outcome: 'Mail to the domain stops routing at once and nothing is sent from it. The answer says whether the provider held the domain and deleted it.',\n whenToUse: 'The organization no longer uses the domain, or wants to claim it again from the start.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The domain was removed.' }],\n errorScenarios: [ADMIN_FORBIDDEN, { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No domain with this id exists in the organization.' }],\n idempotent: false,\n examples: [{\n title: 'Remove a verified domain',\n request: { organizationId: EXAMPLE_FIRM_ORGANIZATION_ID, organizationEmailDomainId: EXAMPLE_DOMAIN_ID },\n response: { organizationEmailDomainId: EXAMPLE_DOMAIN_ID, domain: 'inbox.firm.example', providerDomainDeleted: true },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n businessConstraints: [\n 'Nothing is created at the provider until THIS organization proved control of the domain\\'s DNS; the first organization to prove it wins, and pending claims block nobody.',\n 'Only a VERIFIED domain routes mail and sends; a verified domain whose ownership record or provider records disappear is SUSPENDED.',\n 'Removing a domain, or deleting its organization, deletes it at the provider too.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n);\n\n// ── clientMailboxes ─────────────────────────────────────────────────────────\n\nconst clientMailboxExample = {\n _id: EXAMPLE_MAILBOX_ID,\n organizationId: EXAMPLE_FIRM_ORGANIZATION_ID,\n address: 'acme@inbox.firm.example',\n emailDomainId: EXAMPLE_DOMAIN_ID,\n serviceProviderRelationshipId: EXAMPLE_RELATIONSHIP_ID,\n clientOrganizationId: EXAMPLE_ORGANIZATION_ID,\n createdAt: '2026-09-27T10:00:00.000Z',\n updatedAt: '2026-09-27T10:00:00.000Z',\n};\n\nexport const clientMailboxesResourceSpecification = resourceSpecification(\n clientMailboxesResourceConfiguration_InitializationFactory,\n ClientMailboxSchema,\n ({ schemaShape }) => ({\n purpose: 'Give a client its own address on the domain of the firm serving it, so mail to `acme@inbox.firm.com` lands in the client organization, where the case lives.',\n businessRole: 'How a service firm receives a client\\'s correspondence on its own domain without it landing in the firm\\'s tenant: the mailbox belongs to the FIRM that owns the domain — the domain owner decides what each of its addresses does — and routes into the client organization the service-provider relationship names.',\n lifecycleRole: 'Created by the firm\\'s administrator on its own VERIFIED receiving domain for a client it serves under an ACTIVE relationship; routes only while the domain stays verified and the relationship stays active — re-checked for every message; deleted by the firm\\'s administrator, or with the firm organization. The client ends it by ending the relationship.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.NOTIFICATIONS,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'ClientMailboxSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactory: { packageName: '@wildo-ai/saas-models', exportName: 'clientMailboxesResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION },\n resourceType: { enumDeclaration: enumDeclaration('CoreResourceType'), memberName: 'CLIENT_MAILBOXES' },\n operationVocabulary: operationVocabulary(),\n notes: [\n 'CREATE and DELETE are API_CALL for ORG_ADMIN and OVERRIDE_ALL, each audited; there is no UPDATE — a mailbox is replaced, never re-pointed. UPDATE_MANY and DELETE_MANY are INTERNAL_CALL.',\n 'CREATE re-checks the whole authority whoever calls: the domain is a VERIFIED receiving domain of THIS organization, the relationship is ACTIVE with this organization as its provider, and the address is a plain mailbox (no tag, no reply token) on that domain. A client can create none: that let a client take any address on the firm\\'s domain, the firm\\'s own intake included.',\n '`clientOrganizationId` and `serviceProviderRelationshipId` are plain ids, not navigable relationships: they name rows of ANOTHER tenant, and an edge across tenants is refused.',\n 'CLIENT_MAILBOX_CREATED / CLIENT_MAILBOX_REMOVED are written to both organizations\\' trails.',\n '`RETAIN_ONLY` and FORBIDDEN from a subject export: the address belongs to an organization, not a person.',\n ],\n },\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Identifier of one client mailbox, derived from its address.', semanticRole: 'identifier', importance: FieldSemanticImportance.PRIMARY }),\n organizationId: schemaShape.organizationId.foreignKeySpec({ meaning: 'The FIRM — the organization that owns the domain and the mailbox.', whyItMatters: 'Only the domain owner decides what its addresses do: only its administrators create or delete one.', importance: FieldSemanticImportance.PRIMARY }),\n address: schemaShape.address.stringSpec({ meaning: 'The mailbox address, lower-cased, on the firm\\'s verified domain.', whyItMatters: 'Unique across the application: one address routes to one organization.', importance: FieldSemanticImportance.PRIMARY }),\n emailDomainId: schemaShape.emailDomainId.stringSpec({ meaning: 'The firm\\'s own email domain the address is on.', whyItMatters: 'The mailbox routes only while that domain is VERIFIED for receiving.', semanticRole: 'identifier' }),\n serviceProviderRelationshipId: schemaShape.serviceProviderRelationshipId.stringSpec({ meaning: 'The relationship between the client and the firm that authorizes this mailbox.', whyItMatters: 'Re-checked for every message: once it is no longer ACTIVE, the address stops routing.', semanticRole: 'identifier' }),\n clientOrganizationId: schemaShape.clientOrganizationId.stringSpec({ meaning: 'The client organization the mail lands in, as the relationship names it.', whyItMatters: 'Set by the engine from the relationship, never by the caller: routing delivers into exactly this organization.', semanticRole: 'identifier' }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the mailbox was created.', temporalRole: 'creation' }),\n updatedAt: schemaShape.updatedAt.dateSpec({ meaning: 'When the row last changed.', temporalRole: 'modified' }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Read one of your organization\\'s client mailboxes.',\n outcome: 'The mailbox, its firm domain and the relationship behind it.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The mailbox is returned.' }],\n errorScenarios: [MEMBER_FORBIDDEN, { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No mailbox with this id exists in the organization.' }],\n idempotent: true,\n examples: [{ title: 'Read a client mailbox', request: { organizationId: EXAMPLE_ORGANIZATION_ID, clientMailboxId: EXAMPLE_MAILBOX_ID }, response: clientMailboxExample, forStatus: HttpResponseStatusCode.OK_200 }],\n },\n [Op.LIST]: {\n purpose: 'List the addresses on firms\\' domains that route into your organization, sorted by `createdAt`.',\n outcome: 'A page of client mailboxes.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'A possibly empty page of mailboxes.' }],\n errorScenarios: [MEMBER_FORBIDDEN],\n idempotent: true,\n examples: [{ title: 'List the organization\\'s client mailboxes', request: { organizationId: EXAMPLE_ORGANIZATION_ID }, response: page([clientMailboxExample]), forStatus: HttpResponseStatusCode.OK_200 }],\n },\n [Op.CREATE]: {\n purpose: 'Create a mailbox on the firm\\'s verified domain that routes into this client organization.',\n outcome: 'Mail to the address lands in this organization while the domain stays verified and the relationship stays active. The creation is audited.',\n whenToUse: 'A client wants the firm serving it to receive its correspondence on the firm\\'s domain, in the client\\'s own organization.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The mailbox was created.' }],\n errorScenarios: [\n ADMIN_FORBIDDEN,\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The relationship is not an active relationship of this organization, the domain is not a verified receiving domain of that relationship\\'s firm, or the address is not a plain mailbox on that domain.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The address is already a mailbox.' },\n ],\n idempotent: false,\n examples: [{\n title: 'Create a mailbox on the firm\\'s domain',\n request: { organizationId: EXAMPLE_ORGANIZATION_ID, address: 'acme@inbox.firm.example', emailDomainId: EXAMPLE_DOMAIN_ID, serviceProviderRelationshipId: EXAMPLE_RELATIONSHIP_ID },\n response: clientMailboxExample,\n forStatus: HttpResponseStatusCode.CREATED_201,\n }],\n },\n [Op.UPDATE_MANY]: {\n purpose: 'Internal, route-less bulk update (CRITICAL). No personal field exists to scrub.',\n outcome: 'Reserved for engine maintenance.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Internal update completed.' }],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Delete a mailbox that routes into your organization.',\n outcome: 'The address stops routing at once. The removal is audited.',\n whenToUse: 'The client no longer wants mail on that address, or the engagement with the firm ended.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The mailbox was deleted; its id is returned.' }],\n errorScenarios: [ADMIN_FORBIDDEN, { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No mailbox with this id exists in the organization.' }],\n idempotent: false,\n examples: [{ title: 'Delete a client mailbox', request: { organizationId: EXAMPLE_ORGANIZATION_ID, clientMailboxId: EXAMPLE_MAILBOX_ID }, response: { id: EXAMPLE_MAILBOX_ID }, forStatus: HttpResponseStatusCode.OK_200 }],\n },\n [Op.DELETE_MANY]: {\n purpose: 'Bulk delete (internal, route-less, HIGH risk) — the tenant cascade when the client organization is deleted.',\n outcome: 'An organization\\'s mailboxes leave with it.',\n responseStatuses: [{ code: HttpResponseStatusCode.NO_CONTENT_204, meaning: 'Internal delete completed.' }],\n idempotent: true,\n },\n },\n businessConstraints: [\n 'A mailbox routes only while its domain is VERIFIED and belongs to the relationship\\'s firm, and the relationship is ACTIVE between the two organizations — checked when it is created and again for every message.',\n 'One address routes to exactly one organization.',\n 'A client administrator can always delete a mailbox that routes into its organization.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n);\n\n// ── inboundAddressTombstones ────────────────────────────────────────────────\n\nexport const inboundAddressTombstonesResourceSpecification = resourceSpecification(\n inboundAddressTombstonesResourceConfiguration_InitializationFactory,\n InboundAddressTombstoneSchema,\n ({ schemaShape }) => ({\n purpose: 'Remember the slug of every deleted organization, so its shared-domain address never routes mail to a later organization that takes the same slug.',\n businessRole: 'What keeps an old organization\\'s correspondents from writing into a stranger\\'s tenant: `{slug}@{sharedDomain}` of a deleted organization routes nowhere, and a later organization holding that slug answers at `{slug}.{shortOrgId}` instead.',\n lifecycleRole: 'Written once, after an organization\\'s deletion commits; read by routing and by address composition. Never updated and never deleted: kept for as long as the application exists.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.NOTIFICATIONS,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'InboundAddressTombstoneSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactory: { packageName: '@wildo-ai/saas-models', exportName: 'inboundAddressTombstonesResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION },\n resourceType: { enumDeclaration: enumDeclaration('CoreResourceType'), memberName: 'INBOUND_ADDRESS_TOMBSTONES' },\n operationVocabulary: operationVocabulary(),\n notes: [\n 'No HTTP surface at all: CREATE is REPOSITORY_ONLY and READ / LIST are INTERNAL_CALL. There is no UPDATE and no DELETE.',\n 'No retention binding, deliberately: a tombstone that expired would route an old organization\\'s correspondents to whoever took its slug next — the one outcome it exists to prevent.',\n 'FORBIDDEN from a subject export and no `retentionPolicy`: a slug names a deleted organization, not a person.',\n ],\n },\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Identifier of one tombstone, derived from the slug.', semanticRole: 'identifier', importance: FieldSemanticImportance.PRIMARY }),\n applicationId: schemaShape.applicationId.foreignKeySpec({ meaning: 'The application whose shared domain the slug is retired from.', importance: FieldSemanticImportance.PRIMARY }),\n slug: schemaShape.slug.stringSpec({ meaning: 'The slug of the deleted organization.', whyItMatters: 'Unique across the application: a slug is tombstoned once, and from then on `{slug}@{sharedDomain}` routes nowhere.', semanticRole: 'code', importance: FieldSemanticImportance.PRIMARY }),\n tombstonedAt: schemaShape.tombstonedAt.dateSpec({ meaning: 'When the organization was deleted.', temporalRole: 'occurred' }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the tombstone was written.', temporalRole: 'creation' }),\n updatedAt: schemaShape.updatedAt.dateSpec({ meaning: 'When the row was written; a tombstone never changes.', temporalRole: 'modified' }),\n },\n operations: {\n [Op.CREATE]: {\n purpose: 'Tombstone a deleted organization\\'s slug. Written only by the organization-deletion hook, after the deletion commits.',\n outcome: 'The slug\\'s shared-domain address stops routing, for good.',\n whenToUse: 'Repository-only: never an HTTP surface.',\n responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The tombstone was stored. Internal write path.' }],\n errorScenarios: [{ code: HttpResponseStatusCode.CONFLICT_409, when: 'The slug is already tombstoned.' }],\n idempotent: false,\n },\n [Op.READ]: {\n purpose: 'Ask whether a slug is tombstoned. Internal, route-less.',\n outcome: 'Routing refuses a tombstoned slug, and address composition gives a later holder `{slug}.{shortOrgId}`.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Internal read.' }],\n idempotent: true,\n },\n [Op.LIST]: {\n purpose: 'List tombstoned slugs. Internal, route-less.',\n outcome: 'The engine sees which shared-domain addresses are retired.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Internal read.' }],\n idempotent: true,\n },\n },\n businessConstraints: [\n 'A deleted organization\\'s shared-domain address never routes to anyone again.',\n 'A tombstone never expires and is never removed.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION },\n);\n"]}
|
|
1
|
+
{"version":3,"file":"inbound-email.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/notifications/resources/inbound-email.resource.specification.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,yBAAyB,EACzB,qBAAqB,IAAI,EAAE,EAC3B,6BAA6B,EAC7B,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,EAChB,sBAAsB,EACtB,6BAA6B,EAC7B,6BAA6B,EAC7B,mCAAmC,EACnC,oBAAoB,EACpB,gEAAgE,EAChE,mEAAmE,EACnE,wDAAwD,EACxD,mEAAmE,GACpE,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,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C,EACF,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,WAAW,EAAE,CAC3D,CAAC","sourcesContent":["/**\n * Resources: `inboundEmails`, `organizationEmailDomains`, `relationshipMailboxes`, `inboundAddressTombstones` — Wildo\n * SaaS engine specifications for receiving email (#1600).\n *\n * Inputs:\n * - Schemas: `InboundEmailSchema`, `OrganizationEmailDomainSchema`, `RelationshipMailboxSchema`,\n * `InboundAddressTombstoneSchema` (`notifications/inbound-email/inbound-email.shared.schemas.ts`)\n * - Factories: `{inboundEmails,organizationEmailDomains,relationshipMailboxes,inboundAddressTombstones}ResourceConfiguration_InitializationFactory`\n * (`notifications/inbound-email/inbound-email.shared.resources-config.schemas.ts`)\n * - Custom operations: `OrganizationEmailDomains_Operations` (`claim`, `verify_ownership`, `verify`, `remove`), and\n * the relationship-mailbox CREATE / DELETE, all OVERRIDE_ALL in `inbound-email.custom-impl.backend.service.ts`\n * (saas-backend-lib), driving `OrganizationEmailDomainsBackendService`.\n * - Writers: the email channel's stage 1 (`InboundEmailReceptionBackendService`) writes `inboundEmails`; the\n * `email-domain-recheck` batch (every fifteen minutes) suspends or settles domains; the organization DELETE\n * hook deletes the provider's domains and writes `inboundAddressTombstones`.\n *\n * Scopes: the three organization resources carry `isPrimaryScope: true` on their ORGANIZATIONS relationship (a\n * relationship mailbox belongs to the REPRESENTING organization that owns its domain, and routes mail into the granting\n * organization its relationship names);\n * the tombstones are application-wide (APPLICATION →\n * INBOUND_ADDRESS_TOMBSTONES carries `isPrimaryScope: true`).\n */\n\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n RelationshipMailboxSchema,\n CoreResourceOperation as Op,\n InboundAddressTombstoneSchema,\n InboundEmailLimit,\n InboundEmailSchema,\n InboundEmailStatus,\n InboundRouteKind,\n InboundSenderAssurance,\n OrganizationEmailDomainSchema,\n OrganizationEmailDomainStatus,\n OrganizationEmailDomains_Operations,\n ResourcePrimaryScope,\n relationshipMailboxesResourceConfiguration_InitializationFactory,\n inboundAddressTombstonesResourceConfiguration_InitializationFactory,\n inboundEmailsResourceConfiguration_InitializationFactory,\n organizationEmailDomainsResourceConfiguration_InitializationFactory,\n} from '@wildo-ai/saas-models';\nimport { HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\nconst EXAMPLE_ORGANIZATION_ID = 'org_01J4P8F1M2N3Q4R5S6T7V8W9XY';\nconst EXAMPLE_FIRM_ORGANIZATION_ID = 'org_01J4P8F1M2N3Q4R5S6T7FIRM01';\nconst EXAMPLE_INBOUND_EMAIL_ID = '66f6a1c2e3d4b5a697889900';\nconst EXAMPLE_DOMAIN_ID = '66f6a1c2e3d4b5a697881001';\nconst EXAMPLE_MAILBOX_ID = '66f6a1c2e3d4b5a697882001';\nconst EXAMPLE_RELATIONSHIP_ID = '66f6a1c2e3d4b5a697883001';\n\nconst enumDeclaration = (exportName: string) => ({\n packageName: '@wildo-ai/saas-models',\n exportName,\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n});\n\nconst operationVocabulary = (customEnum?: string) => ({\n coreEnum: enumDeclaration('CoreResourceOperation'),\n ...(customEnum ? { customEnum: enumDeclaration(customEnum) } : {}),\n});\n\nconst page = <T>(data: readonly T[]) => ({ data, pagination: { page: 1, limit: 20, total: data.length, totalPages: data.length === 0 ? 0 : 1 } });\n\nconst MEMBER_FORBIDDEN = { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a member of the organization.' };\nconst ADMIN_FORBIDDEN = { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an administrator of the organization.' };\n\n// ── inboundEmails ───────────────────────────────────────────────────────────\n\nconst dispatchedEmailExample = {\n _id: EXAMPLE_INBOUND_EMAIL_ID,\n organizationId: EXAMPLE_ORGANIZATION_ID,\n inboundDeliveryId: '5f1c2e9b8a7d6c5b4a392817',\n providerRef: 'resend',\n providerMessageId: 'em_8Qz2LkX7pW',\n messageId: '<CAF7x2kLq9@mail.client.example>',\n inReplyTo: null,\n references: [],\n threadId: '66f6a1c2e3d4b5a697887766',\n fromAddress: 'anna@client.example',\n fromName: 'Anna Keller',\n to: [{ address: 'matters+intake@firm.example' }],\n cc: [],\n replyTo: null,\n receivedFor: 'matters+intake@firm.example',\n routeKind: InboundRouteKind.ORGANIZATION_DOMAIN,\n routeTag: 'intake',\n subject: 'Matter 2026-17 — signed engagement letter',\n textBody: 'Please find the signed engagement letter attached.',\n htmlBody: null,\n strippedReply: null,\n headers: { 'message-id': '<CAF7x2kLq9@mail.client.example>', subject: 'Matter 2026-17 — signed engagement letter' },\n textTruncated: false,\n authentication: { spf: 'pass', dkim: 'pass', dmarc: 'pass', dmarcAligned: true },\n senderAssurance: InboundSenderAssurance.DOMAIN_ALIGNED,\n attachments: [{ fileId: '66f6a1c2e3d4b5a697889a01', filename: 'engagement-letter-signed.pdf', contentType: 'application/pdf', size: 182340, disposition: 'attachment' }],\n withheldAttachments: [],\n rawMime: { fileId: '66f6a1c2e3d4b5a697889a02', sha256: '9f2c4e1d7a3b6c5e8f0a1b2c3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60', sizeBytes: 251904 },\n sizeBytes: 251904,\n receivedAt: '2026-09-27T09:10:00.000Z',\n status: InboundEmailStatus.DISPATCHED,\n limitExceeded: null,\n createdAt: '2026-09-27T09:10:02.000Z',\n updatedAt: '2026-09-27T09:10:05.000Z',\n};\n\nexport const inboundEmailsResourceSpecification = resourceSpecification(\n inboundEmailsResourceConfiguration_InitializationFactory,\n InboundEmailSchema,\n ({ schemaShape }) => ({\n purpose: 'Keep every email the application received, in the organization it was routed to, exactly as it arrived: sender, recipients, bodies, allow-listed headers, authentication results, attachments and the original bytes.',\n businessRole: 'The email channel\\'s own record of a received letter. Routing decided the organization from the envelope recipient — never from the sender — and the row is what the organization\\'s conversation messages point at for the full message and its attachments.',\n lifecycleRole: 'Written AWAITING_ATTACHMENT_SCAN by the channel\\'s stage 1 once the recipient routed; moved to DISPATCHED or STORED_BELOW_MINIMUM once every attachment has a scan verdict and the channel intake admitted it. A message over a limit is stored REJECTED_LIMIT as its envelope only. Nothing rewrites what was received. Deleted by the retention sweep once the application\\'s BUSINESS_RECORDS period, counted from the end of the calendar year it was received, has passed — its raw MIME and attachment files with it; an erasure inside that period impersonalizes the row instead: its text, addresses and attachment names are reset and its files erased.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.NOTIFICATIONS,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'InboundEmailSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactory: { packageName: '@wildo-ai/saas-models', exportName: 'inboundEmailsResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION },\n resourceType: { enumDeclaration: enumDeclaration('CoreResourceType'), memberName: 'INBOUND_EMAILS' },\n operationVocabulary: operationVocabulary(),\n notes: [\n 'READ and LIST are the only HTTP surface (organization members). CREATE and UPDATE are REPOSITORY_ONLY and UPDATE_MANY / DELETE / DELETE_MANY are INTERNAL_CALL: no request can invent, rewrite or delete a received letter.',\n 'Every received field is `excludeFromUpdate`, and `status` / `limitExceeded` are excluded from both writes: the engine moves the disposition through a guarded mutation from AWAITING_ATTACHMENT_SCAN, once.',\n 'A message addressed to two organizations is one row in EACH; a row never names another tenant.',\n 'Retention: `RETAIN_AND_IMPERSONALIZE` under a LEGAL_OBLIGATION statutory ground (received business letters), bound to BUSINESS_RECORDS from the end of the calendar year. Each personal field declares what erasure writes over it (masked address and subject, reset names, recipients, bodies and headers).',\n ],\n },\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Identifier of one received message in one organization.', semanticRole: 'identifier', importance: FieldSemanticImportance.PRIMARY }),\n organizationId: schemaShape.organizationId.foreignKeySpec({ meaning: 'The organization routing delivered the message to.', whyItMatters: 'Decided from the envelope recipient, never from the sender or a header the sender wrote, so nobody can write into a tenant by naming it.', importance: FieldSemanticImportance.PRIMARY }),\n inboundDeliveryId: schemaShape.inboundDeliveryId.stringSpec({ meaning: 'The stored inbound delivery of the provider\\'s notification that announced this message.', whyItMatters: 'Stage 1 runs as that delivery\\'s handler, so a crash or a scan wait is retried from it and the row is written once.', semanticRole: 'identifier' }),\n providerRef: schemaShape.providerRef.stringSpec({ meaning: 'The receiving provider that took the message.', semanticRole: 'code' }),\n providerMessageId: schemaShape.providerMessageId.stringSpec({ meaning: 'The provider\\'s id for the message.', whyItMatters: 'With the organization and provider it is the row\\'s business key: one message is stored once per organization.', semanticRole: 'identifier' }),\n messageId: schemaShape.messageId.stringSpec({ meaning: 'The Message-ID the message carried, angle brackets included, when it carried a well-formed one.', semanticRole: 'code' }),\n inReplyTo: schemaShape.inReplyTo.stringSpec({ meaning: 'The Message-ID this message answers.', whyItMatters: 'What joins a reply to an existing conversation thread.', semanticRole: 'code' }),\n references: schemaShape.references.arraySpec({ meaning: 'The Message-IDs of the thread before this message, oldest first.', elementMeaning: 'One earlier Message-ID.' }),\n threadId: schemaShape.threadId.stringSpec({ meaning: 'The conversation thread the message was recorded in, once it was dispatched.', whyItMatters: 'A plain id, set by the engine when the channel intake admitted the message; empty for a message never dispatched.', semanticRole: 'identifier' }),\n fromAddress: schemaShape.fromAddress.stringSpec({ meaning: 'The sender\\'s address, lower-cased.', whyItMatters: 'Indexed so a data subject\\'s erasure finds their letters; masked on erasure. Never used to route.', importance: FieldSemanticImportance.PRIMARY }),\n fromName: schemaShape.fromName.stringSpec({ meaning: 'The sender\\'s display name.', whyItMatters: 'Reset on erasure.' }),\n to: schemaShape.to.arraySpec({ meaning: 'The addresses in To, as the message named them.', elementMeaning: 'One address with its display name.', whyItMatters: 'Reset on erasure.' }),\n cc: schemaShape.cc.arraySpec({ meaning: 'The addresses in Cc.', elementMeaning: 'One address with its display name.', whyItMatters: 'Reset on erasure.' }),\n replyTo: schemaShape.replyTo.stringSpec({ meaning: 'The Reply-To address, when the message named one.', whyItMatters: 'Reset on erasure.' }),\n receivedFor: schemaShape.receivedFor.stringSpec({ meaning: 'The envelope recipient the message was delivered for, which routing read.', whyItMatters: 'The address on this organization\\'s route; it is what decided the organization.', importance: FieldSemanticImportance.PRIMARY }),\n routeKind: schemaShape.routeKind.enumSpec({\n meaning: 'How that address reached this organization.',\n enumDeclaration: enumDeclaration('InboundRouteKind'),\n values: {\n [InboundRouteKind.REPLY_TOKEN]: { meaning: 'A reply address (`{local}+r-{token}@{domain}`) issued on one of this organization\\'s threads.' },\n [InboundRouteKind.RELATIONSHIP_MAILBOX]: { meaning: 'An exact relationship mailbox on a representing organization\\'s verified domain, routed here because this organization is the granting organization its ACTIVE relationship names.' },\n [InboundRouteKind.ORGANIZATION_DOMAIN]: { meaning: 'Any address on a VERIFIED receiving domain of the organization.' },\n [InboundRouteKind.SHARED_DOMAIN]: { meaning: 'The organization\\'s zero-configuration address on the application\\'s shared domain (`{slug}@{sharedDomain}`).' },\n },\n }),\n routeTag: schemaShape.routeTag.stringSpec({ meaning: 'The tag the address carried (`cases+tag@…`).', whyItMatters: 'It selects which channel handler receives the message.', semanticRole: 'code' }),\n subject: schemaShape.subject.stringSpec({ meaning: 'The subject line.', whyItMatters: 'Masked on erasure.', importance: FieldSemanticImportance.PRIMARY }),\n textBody: schemaShape.textBody.stringSpec({ meaning: 'The plain-text body, cut at 1 MB.', whyItMatters: 'Reset on erasure.', semanticRole: 'content' }),\n htmlBody: schemaShape.htmlBody.stringSpec({ meaning: 'The HTML body exactly as received, cut at 1 MB.', whyItMatters: 'Never trusted as markup: it is rendered only in a sandboxed frame that runs no script and loads no remote content (a remote image would be a read receipt). Reset on erasure.', semanticRole: 'content' }),\n strippedReply: schemaShape.strippedReply.stringSpec({ meaning: 'The new part of a reply without its quoted history, when it could be separated.', whyItMatters: 'What a handler usually reads. Reset on erasure.', semanticRole: 'content' }),\n headers: schemaShape.headers.objectSpec({ meaning: 'The allow-listed headers the message carried.', whyItMatters: 'An allow-list, not a deny-list: a header not on it is not stored, because headers are correspondence metadata that can carry personal data. Reset on erasure.' }),\n textTruncated: schemaShape.textTruncated.booleanSpec({ meaning: 'Whether a body was cut at the 1 MB stored-text limit.' }),\n authentication: schemaShape.authentication.objectSpec({ meaning: 'The SPF, DKIM and DMARC results the receiving provider reported, and whether the From domain aligned with an authenticated identifier.', whyItMatters: 'What the sender assurance is derived from.' }),\n senderAssurance: schemaShape.senderAssurance.enumSpec({\n meaning: 'How well the sender is known, as the channel derived it; empty until the message was admitted.',\n whyItMatters: 'It decides only whether a handler runs, never what the handler may do.',\n enumDeclaration: enumDeclaration('InboundSenderAssurance'),\n values: {\n [InboundSenderAssurance.UNVERIFIED]: { meaning: 'Nothing about the sender is proven.' },\n [InboundSenderAssurance.SOURCE_SIGNED]: { meaning: 'Not used for email: a signed webhook delivery.' },\n [InboundSenderAssurance.DOMAIN_ALIGNED]: { meaning: 'DMARC passed aligned with the From domain: the domain is authenticated, not the mailbox.' },\n [InboundSenderAssurance.KNOWN_CONTACT]: { meaning: 'Domain-aligned, and the address is a member of the organization or a contact the application recognises.' },\n [InboundSenderAssurance.THREAD_TOKEN_BOUND]: { meaning: 'Domain-aligned, on a live reply address, from the recipient that address was issued to.' },\n },\n }),\n attachments: schemaShape.attachments.arraySpec({ meaning: 'The attachments that were stored, with what the sender declared about each.', elementMeaning: 'One stored file with its filename, content type, size and disposition.', whyItMatters: 'Nothing reaches a handler before every attachment has a verdict. Reset on erasure: filenames are the sender\\'s words.' }),\n attachmentFiles: schemaShape.attachmentFiles.fileSpec({ meaning: 'The CLEAN attachments, as files linked to the message.', whyItMatters: 'Linking keeps them for the message\\'s retention — an unlinked file is swept a day after its scan — and serves them to whoever may read the message. An infected or unscannable file is never linked, so never served. Removed, and its files erased, on erasure.' }),\n withheldAttachments: schemaShape.withheldAttachments.arraySpec({ meaning: 'The attachments that were not made available, and why.', elementMeaning: 'One withheld filename with its reason: INFECTED (quarantined, never served) or SCAN_FAILED (not proven clean).', whyItMatters: 'The message itself still reaches its handler; only the unproven file is held back, and each is audited.' }),\n rawMime: schemaShape.rawMime.objectSpec({ meaning: 'The SHA-256 and size of the original message bytes as captured, and the file they were stored in.', whyItMatters: 'Only the original bytes can be re-verified (DKIM is computed over them), and received letters must be reproducible as received. Empty when the application discards raw MIME, or for a message rejected over a limit.' }),\n rawMimeFile: schemaShape.rawMimeFile.fileSpec({ meaning: 'The original message, as a file linked to the message — set once its scan is clean.', whyItMatters: 'Kept for the message\\'s retention and served to whoever may read the message. Removed, and the file erased, on erasure: it holds everything the reset text fields held.' }),\n sizeBytes: schemaShape.sizeBytes.numberSpec({ meaning: 'The size of the message in bytes.' }),\n receivedAt: schemaShape.receivedAt.dateSpec({ meaning: 'When the provider received the message.', temporalRole: 'occurred', importance: FieldSemanticImportance.PRIMARY }),\n status: schemaShape.status.enumSpec({\n meaning: 'What became of the message — its disposition only. Whether its handler ran is the inbound delivery\\'s status.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: enumDeclaration('InboundEmailStatus'),\n values: {\n [InboundEmailStatus.AWAITING_ATTACHMENT_SCAN]: { meaning: 'Stored; at least one attachment has no scan verdict yet, so nothing has reached a handler.' },\n [InboundEmailStatus.DISPATCHED]: { meaning: 'Handed to its channel handler through a stored delivery, and recorded in a conversation thread.' },\n [InboundEmailStatus.STORED_BELOW_MINIMUM]: { meaning: 'The sender is below the selected handler\\'s minimum assurance and no below-minimum handler is declared: kept as correspondence, audited, dispatched to nobody.' },\n [InboundEmailStatus.REJECTED_LIMIT]: { meaning: 'Over a limit: only the envelope is kept, without bodies or attachments. `limitExceeded` says which.' },\n },\n }),\n limitExceeded: schemaShape.limitExceeded.enumSpec({\n meaning: 'For a message rejected over a limit, which one.',\n enumDeclaration: enumDeclaration('InboundEmailLimit'),\n values: {\n [InboundEmailLimit.MESSAGE_SIZE]: { meaning: 'The whole message is larger than the application\\'s configured maximum.' },\n [InboundEmailLimit.ATTACHMENT_COUNT]: { meaning: 'More than twenty attachments.' },\n [InboundEmailLimit.ATTACHMENT_SIZE]: { meaning: 'One attachment is larger than the application\\'s maximum file size.' },\n },\n }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the row was stored.', temporalRole: 'creation' }),\n updatedAt: schemaShape.updatedAt.dateSpec({ meaning: 'When the row last changed — its disposition.', temporalRole: 'modified' }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Read one email your organization received, with its bodies, attachments and authentication results.',\n outcome: 'The stored message and its disposition.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The message is returned.' }],\n errorScenarios: [MEMBER_FORBIDDEN, { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No received message with this id exists in the organization.' }],\n idempotent: true,\n examples: [{ title: 'Read a dispatched message', request: { organizationId: EXAMPLE_ORGANIZATION_ID, inboundEmailId: EXAMPLE_INBOUND_EMAIL_ID }, response: dispatchedEmailExample, forStatus: HttpResponseStatusCode.OK_200 }],\n },\n [Op.LIST]: {\n purpose: 'List the organization\\'s received emails, filtered by `status`, `routeKind` or `threadId` and sorted by `receivedAt`.',\n outcome: 'A page of received messages.',\n whenToUse: 'Find what arrived for one thread, or what was stored below minimum and needs a person to look at it.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'A possibly empty page of messages.' }],\n errorScenarios: [MEMBER_FORBIDDEN],\n idempotent: true,\n examples: [{\n title: 'List the messages stored below the handler\\'s minimum',\n request: { organizationId: EXAMPLE_ORGANIZATION_ID, status: InboundEmailStatus.STORED_BELOW_MINIMUM, sort: 'receivedAt:desc' },\n response: page([{ ...dispatchedEmailExample, threadId: null, status: InboundEmailStatus.STORED_BELOW_MINIMUM, senderAssurance: InboundSenderAssurance.UNVERIFIED }]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.CREATE]: {\n purpose: 'Store a routed message. Written only by the email channel\\'s stage 1.',\n outcome: 'The message exists in its organization, AWAITING_ATTACHMENT_SCAN (or REJECTED_LIMIT as an envelope).',\n whenToUse: 'Repository-only: never an HTTP surface.',\n responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The message was stored. Internal write path.' }],\n errorScenarios: [{ code: HttpResponseStatusCode.CONFLICT_409, when: 'The same provider message is already stored for the organization.' }],\n idempotent: false,\n },\n [Op.UPDATE]: {\n purpose: 'Settle the message\\'s disposition and record its thread and sender assurance. Written only by the engine.',\n outcome: 'The message leaves AWAITING_ATTACHMENT_SCAN once, with its withheld attachments listed.',\n whenToUse: 'Repository-only: never an HTTP surface — nothing rewrites what was received.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The message was updated. Internal write path.' }],\n errorScenarios: [{ code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No message with this id exists.' }],\n idempotent: false,\n },\n [Op.UPDATE_MANY]: {\n purpose: 'The erasure writer\\'s door (internal, route-less, CRITICAL): impersonalizes a data subject\\'s letters once no statutory period restricts them.',\n outcome: 'Addresses and subjects are masked, names, recipients, bodies and headers reset, while the record that a letter arrived stays.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Internal scrub completed.' }],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'The retention sweep\\'s door (internal, route-less, HIGH risk): deleting correspondence removes evidence of what a client sent.',\n outcome: 'A message leaves when its BUSINESS_RECORDS period, counted from the end of its calendar year, has passed — with its raw MIME and attachment files.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Internal retention delete completed.' }],\n idempotent: true,\n },\n [Op.DELETE_MANY]: {\n purpose: 'Bulk twin of DELETE for the retention sweep (internal, route-less).',\n outcome: 'Messages whose statutory period has ended are removed together.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Internal retention delete completed.' }],\n idempotent: true,\n },\n },\n businessConstraints: [\n 'The organization a message lands in is chosen by routing from the envelope recipient, in a fixed order — reply token, relationship mailbox, verified organization domain, shared-domain slug — and anything else is UNROUTABLE, audited and not stored.',\n 'Nothing reaches a handler before every attachment has a scan verdict; an infected or unscanned attachment is withheld and listed, never served.',\n 'A received letter is kept for its statutory period; an erasure inside it restricts the row instead of deleting it.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n);\n\n// ── organizationEmailDomains ────────────────────────────────────────────────\n\nconst pendingDomainExample = {\n _id: EXAMPLE_DOMAIN_ID,\n organizationId: EXAMPLE_FIRM_ORGANIZATION_ID,\n domain: 'inbox.firm.example',\n capabilities: { sending: true, receiving: true },\n providerRef: null,\n providerDomainId: null,\n ownershipChallenge: { txtName: '_wildo-verification.inbox.firm.example', nonceHash: '3a7bd3e2360a3d29eea436fcfb7e44c735d117c42d1c1835420b6b9942dd4f1b' },\n status: OrganizationEmailDomainStatus.OWNERSHIP_PENDING,\n dnsRecords: [],\n ownershipVerifiedAt: null,\n lastVerifiedAt: null,\n createdAt: '2026-09-27T08:00:00.000Z',\n updatedAt: '2026-09-27T08:00:00.000Z',\n};\n\nconst providerPendingDomainExample = {\n ...pendingDomainExample,\n providerRef: 'resend',\n providerDomainId: 'd_91f3c2a8',\n status: OrganizationEmailDomainStatus.PROVIDER_PENDING,\n dnsRecords: [\n { purpose: 'DKIM', type: 'TXT', name: 'resend._domainkey.inbox.firm.example', value: 'p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC…', status: 'not_started' },\n { purpose: 'MX', type: 'MX', name: 'inbox.firm.example', value: 'inbound-smtp.eu-west-1.amazonaws.com', priority: 10, status: 'not_started' },\n ],\n ownershipVerifiedAt: '2026-09-27T08:20:00.000Z',\n updatedAt: '2026-09-27T08:20:00.000Z',\n};\n\nconst verifiedDomainExample = { ...providerPendingDomainExample, status: OrganizationEmailDomainStatus.VERIFIED, lastVerifiedAt: '2026-09-27T09:00:00.000Z', updatedAt: '2026-09-27T09:00:00.000Z' };\n\nexport const organizationEmailDomainsResourceSpecification = resourceSpecification(\n organizationEmailDomainsResourceConfiguration_InitializationFactory,\n OrganizationEmailDomainSchema,\n ({ schemaShape }) => ({\n purpose: 'Let an organization receive mail on, and send from, a domain of its own — once it has proven it controls that domain\\'s DNS.',\n businessRole: 'What lets an organization use a domain of its own, such as `inbox.firm.com`, instead of the application\\'s shared address. Every tenant shares one provider account, so ownership is proven per organization BEFORE anything is created at the provider: otherwise a squatter\\'s claim would verify the moment the real owner published its records.',\n lifecycleRole: '`claim` records OWNERSHIP_PENDING and returns the DNS TXT challenge once; `verify_ownership` resolves it and, for the first organization to prove it, creates the domain at the provider (PROVIDER_PENDING, or VERIFIED at once); `verify` asks the provider to verify its records (VERIFIED, FAILED or still PROVIDER_PENDING) and suspends a domain whose ownership record disappeared; the fifteen-minute re-check suspends a verified domain whose records vanished and settles a pending one. `remove`, and the deletion of the organization, delete the domain at the provider and then the row.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.NOTIFICATIONS,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'OrganizationEmailDomainSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactory: { packageName: '@wildo-ai/saas-models', exportName: 'organizationEmailDomainsResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION },\n resourceType: { enumDeclaration: enumDeclaration('CoreResourceType'), memberName: 'ORGANIZATION_EMAIL_DOMAINS' },\n operationVocabulary: operationVocabulary('OrganizationEmailDomains_Operations'),\n notes: [\n 'The four verbs are the whole write surface, each OVERRIDE_ALL and each audited under its own event. CREATE and UPDATE are REPOSITORY_ONLY and UPDATE_MANY / DELETE / DELETE_MANY are INTERNAL_CALL: a row that could be written directly could claim VERIFIED without proving anything.',\n 'Only the SHA-256 of the ownership challenge value is stored. The value (`wildo-email-domain-verification=<nonce>`, published at `_wildo-verification.{domain}`) is answered once by `claim`; claiming again while pending mints a fresh one and invalidates the old.',\n 'Refusals never name the organization that holds a domain: telling one tenant which tenant holds it would disclose a customer\\'s configuration.',\n '`RETAIN_ONLY` and FORBIDDEN from a subject export: a domain names an organization\\'s infrastructure, not a person.',\n ],\n },\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Identifier of one organization\\'s claim on one domain, derived from the organization and the domain.', semanticRole: 'identifier', importance: FieldSemanticImportance.PRIMARY }),\n organizationId: schemaShape.organizationId.foreignKeySpec({ meaning: 'The organization that claimed the domain.', whyItMatters: 'Once proven, the domain routes mail into and sends for this organization only.', importance: FieldSemanticImportance.PRIMARY }),\n domain: schemaShape.domain.stringSpec({ meaning: 'The lower-case DNS hostname, e.g. `inbox.firm.com`.', whyItMatters: 'Not unique: several organizations may hold pending claims on one domain. A subdomain keeps the organization\\'s existing mailbox untouched.', importance: FieldSemanticImportance.PRIMARY }),\n capabilities: schemaShape.capabilities.objectSpec({ meaning: 'Whether the organization sends from the domain, receives on it, or both.', whyItMatters: 'A claim for neither is refused; the provider domain is created with exactly these capabilities.' }),\n providerRef: schemaShape.providerRef.stringSpec({ meaning: 'The email provider the domain was created at, once ownership was proven.', semanticRole: 'code' }),\n providerDomainId: schemaShape.providerDomainId.stringSpec({ meaning: 'The provider\\'s id for the domain, once created there.', whyItMatters: 'What `verify`, the re-check and `remove` address at the provider.', semanticRole: 'identifier' }),\n ownershipChallenge: schemaShape.ownershipChallenge.objectSpec({ meaning: 'The DNS TXT ownership challenge: the name to publish it on, and the SHA-256 of the value.', whyItMatters: 'The organization proves control of the domain by publishing the value; the re-check keeps asking for it, and its disappearance suspends the domain.' }),\n status: schemaShape.status.enumSpec({\n meaning: 'Where the domain stands. Only a verified domain routes and sends.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: enumDeclaration('OrganizationEmailDomainStatus'),\n values: {\n [OrganizationEmailDomainStatus.OWNERSHIP_PENDING]: { meaning: 'Claimed; the TXT challenge is not answered yet. Blocks nobody: several organizations may be here at once.' },\n [OrganizationEmailDomainStatus.PROVIDER_PENDING]: { meaning: 'Ownership proven and the domain created at the provider; its DNS records are not verified there yet.' },\n [OrganizationEmailDomainStatus.VERIFIED]: { meaning: 'Ownership proven and the provider verified the records: the domain routes mail (receiving) and sends (sending).' },\n [OrganizationEmailDomainStatus.FAILED]: { meaning: 'The provider could not verify the records. Fix the DNS and verify again.' },\n [OrganizationEmailDomainStatus.SUSPENDED]: { meaning: 'Was verified; the ownership record or the provider\\'s records disappeared. Routing and sending stop until it verifies again.' },\n },\n }),\n dnsRecords: schemaShape.dnsRecords.arraySpec({ meaning: 'The records the provider asks the organization to publish, as the provider reported them.', elementMeaning: 'One record: its purpose (DKIM, SPF, MX…), type, name, value, MX priority and the provider\\'s status for it.' }),\n ownershipVerifiedAt: schemaShape.ownershipVerifiedAt.dateSpec({ meaning: 'When the organization proved it owns the domain.', whyItMatters: 'From then on the domain is refused to every other organization.', temporalRole: 'occurred' }),\n lastVerifiedAt: schemaShape.lastVerifiedAt.dateSpec({ meaning: 'When the domain was last found verified.', temporalRole: 'occurred' }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the domain was claimed.', temporalRole: 'creation' }),\n updatedAt: schemaShape.updatedAt.dateSpec({ meaning: 'When the claim last changed.', temporalRole: 'modified' }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Read one of your organization\\'s email domains, with its status and the DNS records to publish.',\n outcome: 'The domain claim.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The domain is returned.' }],\n errorScenarios: [ADMIN_FORBIDDEN, { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No domain with this id exists in the organization.' }],\n idempotent: true,\n examples: [{ title: 'Read a domain waiting for the provider', request: { organizationId: EXAMPLE_FIRM_ORGANIZATION_ID, organizationEmailDomainId: EXAMPLE_DOMAIN_ID }, response: providerPendingDomainExample, forStatus: HttpResponseStatusCode.OK_200 }],\n },\n [Op.LIST]: {\n purpose: 'List the organization\\'s email domains, filtered by `status` and sorted by `createdAt`.',\n outcome: 'A page of domain claims.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'A possibly empty page of domains.' }],\n errorScenarios: [ADMIN_FORBIDDEN],\n idempotent: true,\n examples: [{ title: 'List verified domains', request: { organizationId: EXAMPLE_FIRM_ORGANIZATION_ID, status: OrganizationEmailDomainStatus.VERIFIED }, response: page([verifiedDomainExample]), forStatus: HttpResponseStatusCode.OK_200 }],\n },\n [Op.CREATE]: {\n purpose: 'Store a claim. Written only by `claim`.',\n outcome: 'The claim exists OWNERSHIP_PENDING.',\n whenToUse: 'Repository-only: never an HTTP surface — organizations act through `claim`.',\n responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The claim was stored. Internal write path.' }],\n errorScenarios: [{ code: HttpResponseStatusCode.CONFLICT_409, when: 'The organization already holds a claim on this domain.' }],\n idempotent: false,\n },\n [Op.UPDATE]: {\n purpose: 'Move a claim through its lifecycle. Written only by the verbs and the re-check, through guarded mutations.',\n outcome: 'The claim reflects the latest ownership and provider verification.',\n whenToUse: 'Repository-only: never an HTTP surface.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The claim was updated. Internal write path.' }],\n errorScenarios: [{ code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No claim with this id exists.' }],\n idempotent: false,\n },\n [Op.UPDATE_MANY]: {\n purpose: 'Internal, route-less bulk update (CRITICAL). No personal field exists to scrub.',\n outcome: 'Reserved for engine maintenance.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Internal update completed.' }],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Internal, route-less delete (HIGH risk): the tenant cascade\\'s door when the organization is deleted, after the provider\\'s copy was read for deletion.',\n outcome: 'The claim leaves with its organization.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Internal delete completed.' }],\n idempotent: true,\n },\n [Op.DELETE_MANY]: {\n purpose: 'Bulk twin of DELETE (internal, route-less).',\n outcome: 'An organization\\'s claims leave together.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Internal delete completed.' }],\n idempotent: true,\n },\n [OrganizationEmailDomains_Operations.CLAIM]: {\n operationId: OrganizationEmailDomains_Operations.CLAIM,\n purpose: 'Claim a domain for sending, receiving, or both, and receive the DNS TXT record that proves ownership.',\n outcome: 'The claim is OWNERSHIP_PENDING and the answer carries `txtName` (`_wildo-verification.{domain}`) and `txtValue` (`wildo-email-domain-verification=<nonce>`), shown this once. Nothing is created at the provider. Claiming again while pending mints a fresh value and invalidates the old one.',\n whenToUse: 'The organization wants to receive on, or send from, a domain it controls.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The claim and its one-time TXT record value are returned.' }],\n errorScenarios: [\n ADMIN_FORBIDDEN,\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The domain is not a DNS hostname with at least two labels, or the claim is for neither sending nor receiving.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'Another organization has already proven it owns the domain, or this organization already proved it (remove the domain to claim it again).' },\n ],\n idempotent: false,\n examples: [{\n title: 'Claim a receiving and sending subdomain',\n request: { organizationId: EXAMPLE_FIRM_ORGANIZATION_ID, domain: 'inbox.firm.example', capabilities: { sending: true, receiving: true } },\n response: { organizationEmailDomainId: EXAMPLE_DOMAIN_ID, domain: 'inbox.firm.example', status: OrganizationEmailDomainStatus.OWNERSHIP_PENDING, txtName: '_wildo-verification.inbox.firm.example', txtValue: 'wildo-email-domain-verification=Qm9vc3RlZC1ub25jZS12YWx1ZS0x' },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [OrganizationEmailDomains_Operations.VERIFY_OWNERSHIP]: {\n operationId: OrganizationEmailDomains_Operations.VERIFY_OWNERSHIP,\n purpose: 'Prove ownership: resolve the published TXT record, and — for the first organization to prove it — create the domain at the email provider.',\n outcome: 'The domain is PROVIDER_PENDING (or VERIFIED) with `ownershipVerifiedAt`, the provider\\'s id and the DNS records to publish. From then on the domain is refused to every other organization.',\n whenToUse: 'After publishing the TXT record `claim` returned and letting DNS propagate. Only while OWNERSHIP_PENDING.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Ownership is proven; the updated domain is returned.' }],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an administrator of the organization, or the domain is no longer OWNERSHIP_PENDING (the operation is disabled for it).' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No domain with this id exists in the organization.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The TXT record was not found at `_wildo-verification.{domain}`.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'Another organization has already proven it owns the domain, or the claim changed while it was being verified.' },\n ],\n idempotent: false,\n examples: [{ title: 'Prove ownership of a claimed domain', request: { organizationId: EXAMPLE_FIRM_ORGANIZATION_ID, organizationEmailDomainId: EXAMPLE_DOMAIN_ID }, response: providerPendingDomainExample, forStatus: HttpResponseStatusCode.OK_200 }],\n },\n [OrganizationEmailDomains_Operations.VERIFY]: {\n operationId: OrganizationEmailDomains_Operations.VERIFY,\n purpose: 'Ask the provider to verify the domain\\'s DNS records now, and record what it answers.',\n outcome: 'The domain is VERIFIED, FAILED or still PROVIDER_PENDING (the provider verifies asynchronously), with the records as the provider reports them. A domain whose ownership record is no longer published is SUSPENDED instead.',\n whenToUse: 'After publishing the provider\\'s records, after fixing a FAILED domain, or to bring a SUSPENDED domain back once its records are published again.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The domain as verified now is returned.' }],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an administrator of the organization, or the domain is still OWNERSHIP_PENDING (the operation is disabled for it).' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No domain with this id exists in the organization.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The ownership TXT record is no longer published and the domain is already SUSPENDED.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'Ownership of the domain has not been proven yet.' },\n ],\n idempotent: false,\n examples: [{ title: 'Verify a domain whose records are published', request: { organizationId: EXAMPLE_FIRM_ORGANIZATION_ID, organizationEmailDomainId: EXAMPLE_DOMAIN_ID }, response: verifiedDomainExample, forStatus: HttpResponseStatusCode.OK_200 }],\n },\n [OrganizationEmailDomains_Operations.REMOVE]: {\n operationId: OrganizationEmailDomains_Operations.REMOVE,\n purpose: 'Remove a domain: delete it at the email provider, then the claim.',\n outcome: 'Mail to the domain stops routing at once and nothing is sent from it. The answer says whether the provider held the domain and deleted it.',\n whenToUse: 'The organization no longer uses the domain, or wants to claim it again from the start.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The domain was removed.' }],\n errorScenarios: [ADMIN_FORBIDDEN, { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No domain with this id exists in the organization.' }],\n idempotent: false,\n examples: [{\n title: 'Remove a verified domain',\n request: { organizationId: EXAMPLE_FIRM_ORGANIZATION_ID, organizationEmailDomainId: EXAMPLE_DOMAIN_ID },\n response: { organizationEmailDomainId: EXAMPLE_DOMAIN_ID, domain: 'inbox.firm.example', providerDomainDeleted: true },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n businessConstraints: [\n 'Nothing is created at the provider until THIS organization proved control of the domain\\'s DNS; the first organization to prove it wins, and pending claims block nobody.',\n 'Only a VERIFIED domain routes mail and sends; a verified domain whose ownership record or provider records disappear is SUSPENDED.',\n 'Removing a domain, or deleting its organization, deletes it at the provider too.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n);\n\n// ── relationshipMailboxes ─────────────────────────────────────────────────────────\n\nconst relationshipMailboxExample = {\n _id: EXAMPLE_MAILBOX_ID,\n organizationId: EXAMPLE_FIRM_ORGANIZATION_ID,\n address: 'acme@inbox.firm.example',\n emailDomainId: EXAMPLE_DOMAIN_ID,\n organizationRelationshipId: EXAMPLE_RELATIONSHIP_ID,\n grantingOrganizationId: EXAMPLE_ORGANIZATION_ID,\n createdAt: '2026-09-27T10:00:00.000Z',\n updatedAt: '2026-09-27T10:00:00.000Z',\n};\n\nexport const relationshipMailboxesResourceSpecification = resourceSpecification(\n relationshipMailboxesResourceConfiguration_InitializationFactory,\n RelationshipMailboxSchema,\n ({ schemaShape }) => ({\n purpose: 'Give a granting organization its own address on the domain of an organization representing it, so mail to `acme@inbox.firm.com` lands in the granting organization, where the case lives (a firm giving each client an address on its own domain, for example).',\n businessRole: 'How a representing organization receives a granting organization\\'s correspondence on its own domain without it landing in its own tenant: the mailbox belongs to the REPRESENTING organization that owns the domain — the domain owner decides what each of its addresses does — and routes into the granting organization the relationship names.',\n lifecycleRole: 'Created by the representing organization\\'s administrator on its own VERIFIED receiving domain for a granting organization it represents under an ACTIVE relationship; routes only while the domain stays verified and the relationship stays active — re-checked for every message; deleted by the representing organization\\'s administrator, or with the representing organization. The granting organization ends it by ending the relationship.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.NOTIFICATIONS,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'RelationshipMailboxSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactory: { packageName: '@wildo-ai/saas-models', exportName: 'relationshipMailboxesResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION },\n resourceType: { enumDeclaration: enumDeclaration('CoreResourceType'), memberName: 'RELATIONSHIP_MAILBOXES' },\n operationVocabulary: operationVocabulary(),\n notes: [\n 'CREATE and DELETE are API_CALL for ORG_ADMIN and OVERRIDE_ALL, each audited; there is no UPDATE — a mailbox is replaced, never re-pointed. UPDATE_MANY and DELETE_MANY are INTERNAL_CALL.',\n 'CREATE re-checks the whole authority whoever calls: the domain is a VERIFIED receiving domain of THIS organization, the relationship is ACTIVE with this organization as its representing organization, and the address is a plain mailbox (no tag, no reply token) on that domain. A granting organization can create none: that let a granting organization take any address on the representing organization\\'s domain, its own intake included.',\n '`grantingOrganizationId` and `organizationRelationshipId` are plain ids, not navigable relationships: they name rows of ANOTHER tenant, and an edge across tenants is refused.',\n 'RELATIONSHIP_MAILBOX_CREATED / RELATIONSHIP_MAILBOX_REMOVED are written to both organizations\\' trails.',\n '`RETAIN_ONLY` and FORBIDDEN from a subject export: the address belongs to an organization, not a person.',\n 'Reach is by assignment (#2826): the organization\\'s administrators and owners read every mailbox; every other role reads only the mailboxes of the relationships it holds an ACTIVE representative assignment for (`ENGINE_ORGANIZATION_ASSIGNED_ROWS`, matched on `organizationRelationshipId`), as for the client relationships themselves. An address commonly names the client, so the whole list would tell every member who every client is.',\n ],\n },\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Identifier of one relationship mailbox, derived from its address.', semanticRole: 'identifier', importance: FieldSemanticImportance.PRIMARY }),\n organizationId: schemaShape.organizationId.foreignKeySpec({ meaning: 'The REPRESENTING organization — the organization that owns the domain and the mailbox.', whyItMatters: 'Only the domain owner decides what its addresses do: only its administrators create or delete one.', importance: FieldSemanticImportance.PRIMARY }),\n address: schemaShape.address.stringSpec({ meaning: 'The mailbox address, lower-cased, on the representing organization\\'s verified domain.', whyItMatters: 'Unique across the application: one address routes to one organization.', importance: FieldSemanticImportance.PRIMARY }),\n emailDomainId: schemaShape.emailDomainId.stringSpec({ meaning: 'The representing organization\\'s own email domain the address is on.', whyItMatters: 'The mailbox routes only while that domain is VERIFIED for receiving.', semanticRole: 'identifier' }),\n organizationRelationshipId: schemaShape.organizationRelationshipId.stringSpec({ meaning: 'The relationship between the granting and the representing organization that authorizes this mailbox.', whyItMatters: 'Re-checked for every message: once it is no longer ACTIVE, the address stops routing.', semanticRole: 'identifier' }),\n grantingOrganizationId: schemaShape.grantingOrganizationId.stringSpec({ meaning: 'The granting organization the mail lands in, as the relationship names it.', whyItMatters: 'Set by the engine from the relationship, never by the caller: routing delivers into exactly this organization.', semanticRole: 'identifier' }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the mailbox was created.', temporalRole: 'creation' }),\n updatedAt: schemaShape.updatedAt.dateSpec({ meaning: 'When the row last changed.', temporalRole: 'modified' }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Read one of your organization\\'s relationship mailboxes.',\n outcome: 'The mailbox, the domain it is on and the relationship behind it.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The mailbox is returned.' }],\n errorScenarios: [MEMBER_FORBIDDEN, { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No mailbox with this id exists in the organization.' }],\n idempotent: true,\n examples: [{ title: 'Read a relationship mailbox', request: { organizationId: EXAMPLE_ORGANIZATION_ID, relationshipMailboxId: EXAMPLE_MAILBOX_ID }, response: relationshipMailboxExample, forStatus: HttpResponseStatusCode.OK_200 }],\n },\n [Op.LIST]: {\n purpose: 'List your organization\\'s relationship mailboxes — the addresses on its verified domains that route into the organizations it represents — sorted by `createdAt`. An administrator lists every one; any other role, the mailboxes of the clients it is assigned to; `organizationRelationshipId` narrows to one client\\'s.',\n outcome: 'A page of relationship mailboxes.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'A possibly empty page of mailboxes.' }],\n errorScenarios: [MEMBER_FORBIDDEN],\n idempotent: true,\n examples: [{ title: 'List the organization\\'s relationship mailboxes', request: { organizationId: EXAMPLE_ORGANIZATION_ID }, response: page([relationshipMailboxExample]), forStatus: HttpResponseStatusCode.OK_200 }],\n },\n [Op.CREATE]: {\n purpose: 'Create a mailbox on your organization\\'s verified domain that routes into an organization it represents.',\n outcome: 'Mail to the address lands in the granting organization the relationship names, while the domain stays verified and the relationship stays active. The creation is audited.',\n whenToUse: 'An organization yours represents wants its correspondence received on your domain and delivered into its own organization (a firm giving a client an address on the firm\\'s domain, for example).',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The mailbox was created.' }],\n errorScenarios: [\n ADMIN_FORBIDDEN,\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The relationship does not confer now with your organization as its representing side, the domain is not a verified receiving domain of your organization, or the address is not a plain mailbox on that domain.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The address is already a mailbox.' },\n ],\n idempotent: false,\n examples: [{\n title: 'Create a mailbox on the representing organization\\'s domain',\n request: { organizationId: EXAMPLE_ORGANIZATION_ID, address: 'acme@inbox.firm.example', emailDomainId: EXAMPLE_DOMAIN_ID, organizationRelationshipId: EXAMPLE_RELATIONSHIP_ID },\n response: relationshipMailboxExample,\n forStatus: HttpResponseStatusCode.CREATED_201,\n }],\n },\n [Op.UPDATE_MANY]: {\n purpose: 'Internal, route-less bulk update (CRITICAL). No personal field exists to scrub.',\n outcome: 'Reserved for engine maintenance.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Internal update completed.' }],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Delete one of your organization\\'s relationship mailboxes.',\n outcome: 'The address stops routing at once. The removal is audited.',\n whenToUse: 'The granting organization no longer wants mail on that address, or the relationship with it ended.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The mailbox was deleted; its id is returned.' }],\n errorScenarios: [ADMIN_FORBIDDEN, { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No mailbox with this id exists in the organization.' }],\n idempotent: false,\n examples: [{ title: 'Delete a relationship mailbox', request: { organizationId: EXAMPLE_ORGANIZATION_ID, relationshipMailboxId: EXAMPLE_MAILBOX_ID }, response: { id: EXAMPLE_MAILBOX_ID }, forStatus: HttpResponseStatusCode.OK_200 }],\n },\n [Op.DELETE_MANY]: {\n purpose: 'Bulk delete (internal, route-less, HIGH risk) — the tenant cascade when the representing organization that owns the mailboxes is deleted.',\n outcome: 'An organization\\'s mailboxes leave with it.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Internal delete completed.' }],\n idempotent: true,\n },\n },\n businessConstraints: [\n 'A mailbox routes only while its domain is VERIFIED and belongs to the relationship\\'s representing organization, and the relationship is ACTIVE between the two organizations — checked when it is created and again for every message.',\n 'One address routes to exactly one organization.',\n 'Only an administrator of the representing organization creates or deletes a mailbox; the granting organization stops one by ending the relationship, which routing re-checks for every message.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n);\n\n// ── inboundAddressTombstones ────────────────────────────────────────────────\n\nexport const inboundAddressTombstonesResourceSpecification = resourceSpecification(\n inboundAddressTombstonesResourceConfiguration_InitializationFactory,\n InboundAddressTombstoneSchema,\n ({ schemaShape }) => ({\n purpose: 'Remember the slug of every deleted organization, so its shared-domain address never routes mail to a later organization that takes the same slug.',\n businessRole: 'What keeps an old organization\\'s correspondents from writing into a stranger\\'s tenant: `{slug}@{sharedDomain}` of a deleted organization routes nowhere, and a later organization holding that slug answers at `{slug}.{shortOrgId}` instead.',\n lifecycleRole: 'Written once, after an organization\\'s deletion commits; read by routing and by address composition. Never updated and never deleted: kept for as long as the application exists.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.NOTIFICATIONS,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'InboundAddressTombstoneSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactory: { packageName: '@wildo-ai/saas-models', exportName: 'inboundAddressTombstonesResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION },\n resourceType: { enumDeclaration: enumDeclaration('CoreResourceType'), memberName: 'INBOUND_ADDRESS_TOMBSTONES' },\n operationVocabulary: operationVocabulary(),\n notes: [\n 'No HTTP surface at all: CREATE is REPOSITORY_ONLY and READ / LIST are INTERNAL_CALL. There is no UPDATE and no DELETE.',\n 'No retention binding, deliberately: a tombstone that expired would route an old organization\\'s correspondents to whoever took its slug next — the one outcome it exists to prevent.',\n 'FORBIDDEN from a subject export and no `retentionPolicy`: a slug names a deleted organization, not a person.',\n ],\n },\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Identifier of one tombstone, derived from the slug.', semanticRole: 'identifier', importance: FieldSemanticImportance.PRIMARY }),\n applicationId: schemaShape.applicationId.foreignKeySpec({ meaning: 'The application whose shared domain the slug is retired from.', importance: FieldSemanticImportance.PRIMARY }),\n slug: schemaShape.slug.stringSpec({ meaning: 'The slug of the deleted organization.', whyItMatters: 'Unique across the application: a slug is tombstoned once, and from then on `{slug}@{sharedDomain}` routes nowhere.', semanticRole: 'code', importance: FieldSemanticImportance.PRIMARY }),\n tombstonedAt: schemaShape.tombstonedAt.dateSpec({ meaning: 'When the organization was deleted.', temporalRole: 'occurred' }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the tombstone was written.', temporalRole: 'creation' }),\n updatedAt: schemaShape.updatedAt.dateSpec({ meaning: 'When the row was written; a tombstone never changes.', temporalRole: 'modified' }),\n },\n operations: {\n [Op.CREATE]: {\n purpose: 'Tombstone a deleted organization\\'s slug. Written only by the organization-deletion hook, after the deletion commits.',\n outcome: 'The slug\\'s shared-domain address stops routing, for good.',\n whenToUse: 'Repository-only: never an HTTP surface.',\n responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The tombstone was stored. Internal write path.' }],\n errorScenarios: [{ code: HttpResponseStatusCode.CONFLICT_409, when: 'The slug is already tombstoned.' }],\n idempotent: false,\n },\n [Op.READ]: {\n purpose: 'Ask whether a slug is tombstoned. Internal, route-less.',\n outcome: 'Routing refuses a tombstoned slug, and address composition gives a later holder `{slug}.{shortOrgId}`.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Internal read.' }],\n idempotent: true,\n },\n [Op.LIST]: {\n purpose: 'List tombstoned slugs. Internal, route-less.',\n outcome: 'The engine sees which shared-domain addresses are retired.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Internal read.' }],\n idempotent: true,\n },\n },\n businessConstraints: [\n 'A deleted organization\\'s shared-domain address never routes to anyone again.',\n 'A tombstone never expires and is never removed.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION },\n);\n"]}
|
package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts
CHANGED
|
@@ -14,18 +14,20 @@
|
|
|
14
14
|
* status quick-filter tab strip (`collectionDisplayConfig.quickFilterField`)
|
|
15
15
|
* + day-bucket date headings (`temporalGroupField: 'createdAt'`) on LIST,
|
|
16
16
|
* EMBEDDED READ (row click → companion drawer): the resource · operation as the
|
|
17
|
-
* title
|
|
17
|
+
* title and the status badge on the facts line under it, then one flat list of facts with empty
|
|
18
18
|
* rows hidden, and the opaque `payload` last, unlabelled, as pretty JSON.
|
|
19
19
|
* Cards show the status, URL, labelled attempt count and failure reason.
|
|
20
20
|
* `retry` / `purgeOld` actions.
|
|
21
21
|
*/
|
|
22
|
-
import { CoreM2MNotificationChannel, CoreResourceOperation as Op, M2MWebhookDeliveryLog_Operations } from '@wildo-ai/saas-models';
|
|
22
|
+
import { CoreM2MNotificationChannel, CoreResourceOperation as Op, M2MWebhookDeliveryLog_Operations, M2MWebhookEventType } from '@wildo-ai/saas-models';
|
|
23
23
|
import { type ResourceSpecificationConfig } from '../../../_core';
|
|
24
24
|
type M2mDeliveryCoreOp = Op.READ | Op.LIST | Op.SEARCH | Op.CREATE | Op.UPDATE | Op.DELETE | Op.DELETE_MANY;
|
|
25
25
|
export declare const organizationM2mWebhookDeliveryLogResourceSpecification: ResourceSpecificationConfig<typeof M2MWebhookDeliveryLog_Operations, M2mDeliveryCoreOp, import("zod").ZodObject<{
|
|
26
26
|
_id: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>;
|
|
27
27
|
endpointId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>;
|
|
28
28
|
channel: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof CoreM2MNotificationChannel>>;
|
|
29
|
+
eventType: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof M2MWebhookEventType>>>>;
|
|
30
|
+
jobId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
29
31
|
resourceIdentifier: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>;
|
|
30
32
|
operationIdentifier: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>;
|
|
31
33
|
variantKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -54,6 +56,8 @@ export declare const applicationM2mWebhookDeliveryLogResourceSpecification: Reso
|
|
|
54
56
|
_id: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>;
|
|
55
57
|
endpointId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>;
|
|
56
58
|
channel: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof CoreM2MNotificationChannel>>;
|
|
59
|
+
eventType: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof M2MWebhookEventType>>>>;
|
|
60
|
+
jobId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
57
61
|
resourceIdentifier: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>;
|
|
58
62
|
operationIdentifier: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>;
|
|
59
63
|
variantKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"m2m-webhook-delivery-log.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAQH,OAAO,EACL,0BAA0B,EAC1B,qBAAqB,IAAI,EAAE,EAE3B,gCAAgC,
|
|
1
|
+
{"version":3,"file":"m2m-webhook-delivery-log.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAQH,OAAO,EACL,0BAA0B,EAC1B,qBAAqB,IAAI,EAAE,EAE3B,gCAAgC,EAGhC,mBAAmB,EAGpB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAiD,KAAK,2BAA2B,EAAE,MAAM,6BAA6B,CAAC;AAoB9H,KAAK,iBAAiB,GAClB,EAAE,CAAC,IAAI,GACP,EAAE,CAAC,IAAI,GACP,EAAE,CAAC,MAAM,GACT,EAAE,CAAC,MAAM,GACT,EAAE,CAAC,MAAM,GACT,EAAE,CAAC,MAAM,GACT,EAAE,CAAC,WAAW,CAAC;AAianB,eAAO,MAAM,sDAAsD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAGlE,CAAC;AAEF,eAAO,MAAM,qDAAqD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAGjE,CAAC"}
|
package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js
CHANGED
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
* status quick-filter tab strip (`collectionDisplayConfig.quickFilterField`)
|
|
15
15
|
* + day-bucket date headings (`temporalGroupField: 'createdAt'`) on LIST,
|
|
16
16
|
* EMBEDDED READ (row click → companion drawer): the resource · operation as the
|
|
17
|
-
* title
|
|
17
|
+
* title and the status badge on the facts line under it, then one flat list of facts with empty
|
|
18
18
|
* rows hidden, and the opaque `payload` last, unlabelled, as pretty JSON.
|
|
19
19
|
* Cards show the status, URL, labelled attempt count and failure reason.
|
|
20
20
|
* `retry` / `purgeOld` actions.
|
|
21
21
|
*/
|
|
22
22
|
import { LabelAudience } from '@wildo-ai/presets-components-models';
|
|
23
23
|
import { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance, } from '@wildo-ai/zod-decorators';
|
|
24
|
-
import { CoreM2MNotificationChannel, CoreResourceOperation as Op, CoreResourceType, M2MWebhookDeliveryLog_Operations, M2MWebhookDeliveryLogBaseSchema, M2MWebhookDeliveryLogStatus, ResourcePrimaryScope, m2mWebhookDeliveryLogPolymorphicFactories, } from '@wildo-ai/saas-models';
|
|
24
|
+
import { CoreM2MNotificationChannel, CoreResourceOperation as Op, CoreResourceType, M2MWebhookDeliveryLog_Operations, M2MWebhookDeliveryLogBaseSchema, M2MWebhookDeliveryLogStatus, M2MWebhookEventType, ResourcePrimaryScope, m2mWebhookDeliveryLogPolymorphicFactories, } from '@wildo-ai/saas-models';
|
|
25
25
|
import { HttpResponseStatusCode, resourceSpecification } from '../../../_core/index.js';
|
|
26
26
|
import { EngineResourceSubDomain } from '../../engine-resource-sub-domain.js';
|
|
27
27
|
const m2mDeliveryLogResourcePrimaryScope = {
|
|
@@ -143,6 +143,24 @@ function buildM2mWebhookDeliveryLogSpecification(resourceType, memberName) {
|
|
|
143
143
|
[CoreM2MNotificationChannel.WEBHOOK_APPLICATION]: { meaning: 'App-scoped outbound webhook (resolves the app id from `appConfigService`).' },
|
|
144
144
|
},
|
|
145
145
|
}),
|
|
146
|
+
eventType: schemaShape.eventType.enumSpec({
|
|
147
|
+
meaning: 'What the delivery reports, sent as its event header so a receiver can route before parsing the body. A row written before events existed reported a completed operation, so that is its value.',
|
|
148
|
+
importance: FieldSemanticImportance.PRIMARY,
|
|
149
|
+
enumDeclaration: {
|
|
150
|
+
packageName: '@wildo-ai/saas-models',
|
|
151
|
+
exportName: 'M2MWebhookEventType',
|
|
152
|
+
symbolKind: CodeSymbolKind.ENUM,
|
|
153
|
+
declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,
|
|
154
|
+
},
|
|
155
|
+
values: {
|
|
156
|
+
[M2MWebhookEventType.OPERATION_COMPLETED]: { meaning: 'The operation succeeded: inline, or as a background run.' },
|
|
157
|
+
[M2MWebhookEventType.OPERATION_FAILED]: { meaning: 'A background run of the operation failed.' },
|
|
158
|
+
},
|
|
159
|
+
}),
|
|
160
|
+
jobId: schemaShape.jobId.stringSpec({
|
|
161
|
+
meaning: 'The background job the delivery reports on: present for every `operation.failed`, and for an `operation.completed` produced by a background run. Absent for an inline call, which has no job.',
|
|
162
|
+
semanticRole: 'code',
|
|
163
|
+
}),
|
|
146
164
|
resourceIdentifier: schemaShape.resourceIdentifier.stringSpec({
|
|
147
165
|
meaning: 'Originating `CoreResourceType` string (or app resource key) that produced the M2M payload.',
|
|
148
166
|
semanticRole: 'code',
|
|
@@ -340,7 +358,7 @@ function buildM2mWebhookDeliveryLogSpecification(resourceType, memberName) {
|
|
|
340
358
|
purpose: 'Reserved for `PURGE_OLD` and internal cleanup — no public single-row delete to keep the audit trail honest.',
|
|
341
359
|
outcome: 'Old rows are removed in bulk, not opportunistically per UI click, matching the high-risk gating in the config.',
|
|
342
360
|
responseStatuses: [
|
|
343
|
-
{ code: HttpResponseStatusCode.
|
|
361
|
+
{ code: HttpResponseStatusCode.OK_200, meaning: 'An internal/maintenance single-record delete completed; the body carries its `id`. Intentionally not a public per-click operation — routine cleanup goes through `PURGE_OLD`.' },
|
|
344
362
|
],
|
|
345
363
|
errorScenarios: [
|
|
346
364
|
{ code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No delivery log row exists for the supplied id to delete.' },
|
|
@@ -353,7 +371,7 @@ function buildM2mWebhookDeliveryLogSpecification(resourceType, memberName) {
|
|
|
353
371
|
outcome: 'Retention purges scale with one bulk delete instead of N per-row deletes; non-terminal rows are never touched (the drain owns them).',
|
|
354
372
|
whenToUse: 'Repository-only — never a public HTTP surface. Admins purge via the `PURGE_OLD` custom operation, which owns request validation and the purge summary response.',
|
|
355
373
|
responseStatuses: [
|
|
356
|
-
{ code: HttpResponseStatusCode.
|
|
374
|
+
{ code: HttpResponseStatusCode.OK_200, meaning: 'The matched terminal records were bulk-deleted; the body carries `deletedIds` and `deletedCount`, and the `PURGE_OLD` wrapper reports the count in its own summary response.' },
|
|
357
375
|
],
|
|
358
376
|
errorScenarios: [
|
|
359
377
|
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A non-system caller attempts the repository-only bulk delete directly; UI/API flows must use `PURGE_OLD`.' },
|