@wildo-ai/saas-specifications 1.1.10 → 1.1.12
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-validation.d.ts +5 -0
- package/dist/esm/_core/application-maturity/application-maturity-validation.d.ts.map +1 -1
- package/dist/esm/_core/application-maturity/application-maturity-validation.js +13 -0
- package/dist/esm/_core/application-maturity/application-maturity-validation.js.map +1 -1
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js +5 -0
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js.map +1 -1
- package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts +34 -40
- package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts.map +1 -1
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js +26 -2
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js.map +1 -1
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +20 -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 +20 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -1
- package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts +1 -1
- package/dist/esm/_core/assertions/assertion-behaviors.schemas.d.ts +4 -4
- package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts +4 -4
- package/dist/esm/_core/brand/brand-asset.schemas.d.ts +4 -4
- package/dist/esm/_core/brand/brand-audience.schemas.d.ts +2 -2
- package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts +2 -2
- package/dist/esm/_core/brand/brand-generation.schemas.d.ts +8 -4
- package/dist/esm/_core/brand/brand-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-generation.schemas.js +11 -1
- package/dist/esm/_core/brand/brand-generation.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts +4 -4
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.d.ts +25 -22
- 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 +6 -4
- 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 +25 -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 +77 -1
- package/dist/esm/_core/brand/brand-name-screening-validation.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-view.d.ts +34 -32
- package/dist/esm/_core/brand/brand-name-screening-view.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts +67 -35
- package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening.schemas.js +65 -8
- package/dist/esm/_core/brand/brand-name-screening.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-name.schemas.d.ts +2 -2
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts +14 -14
- package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts +27 -9
- 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-relationship-grouping.d.ts +52 -0
- package/dist/esm/_core/build-plan/build-plan-relationship-grouping.d.ts.map +1 -0
- package/dist/esm/_core/build-plan/build-plan-relationship-grouping.js +325 -0
- package/dist/esm/_core/build-plan/build-plan-relationship-grouping.js.map +1 -0
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +225 -108
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js +39 -2
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +112 -8
- 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 +249 -12
- 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 +506 -344
- 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 +425 -13
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js +11 -4
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts +2 -2
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts +5 -21
- 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 +16 -6
- 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 +12 -5
- 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 +32 -9
- 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 +30 -5
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.js +28 -2
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts +6 -5
- 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 +19 -9
- 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 +12 -33
- 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/chart-view-specification.schemas.d.ts +19 -3
- package/dist/esm/_core/chart-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/chart-view-specification.schemas.js +7 -3
- package/dist/esm/_core/chart-view-specification.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/compliance-document-candidate-generation.schemas.d.ts +0 -298
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts +1 -6
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +3 -619
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +14 -2
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts +1 -1
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts +60 -7
- 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 +137 -12
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts +0 -32
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js +2 -2
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts +50 -12
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js +166 -13
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +35 -148
- 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 +2 -24
- 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 +18 -2
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.d.ts +4 -0
- package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.js +6 -0
- package/dist/esm/_core/compliance-documents/retention-enforcement-facts.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/compliance-posture/compliance-posture-generation.schemas.d.ts +26 -0
- package/dist/esm/_core/compliance-posture/compliance-posture-generation.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-posture/compliance-posture-generation.schemas.js +44 -0
- package/dist/esm/_core/compliance-posture/compliance-posture-generation.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-posture/compliance-posture-validation.d.ts +34 -0
- package/dist/esm/_core/compliance-posture/compliance-posture-validation.d.ts.map +1 -0
- package/dist/esm/_core/compliance-posture/compliance-posture-validation.js +47 -0
- package/dist/esm/_core/compliance-posture/compliance-posture-validation.js.map +1 -0
- package/dist/esm/_core/compliance-posture/compliance-posture.family-aspects.d.ts +4 -0
- package/dist/esm/_core/compliance-posture/compliance-posture.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/compliance-posture/compliance-posture.family-aspects.js +19 -0
- package/dist/esm/_core/compliance-posture/compliance-posture.family-aspects.js.map +1 -0
- package/dist/esm/_core/compliance-posture/compliance-posture.schemas.d.ts +88 -0
- package/dist/esm/_core/compliance-posture/compliance-posture.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-posture/compliance-posture.schemas.js +78 -0
- package/dist/esm/_core/compliance-posture/compliance-posture.schemas.js.map +1 -0
- package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/composite-view-specification.schemas.js +2 -2
- package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/data-seed-specification.schemas.d.ts +2 -0
- package/dist/esm/_core/data-seed-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/data-seed-specification.schemas.js +10 -1
- package/dist/esm/_core/data-seed-specification.schemas.js.map +1 -1
- package/dist/esm/_core/definition-specification-validators.d.ts +2 -3
- package/dist/esm/_core/definition-specification-validators.d.ts.map +1 -1
- package/dist/esm/_core/definition-specification-validators.js +2 -3
- package/dist/esm/_core/definition-specification-validators.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts +44 -19
- 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 +75 -2
- 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 +93 -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 +369 -2
- 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 +412 -5
- 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 +429 -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 +18 -1
- 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 +88 -2
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/execution-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/execution-view-specification.schemas.js +2 -2
- package/dist/esm/_core/execution-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts +20 -9
- 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 +3 -0
- 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 +25 -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 +57 -0
- 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 +23 -4
- 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 +96 -131
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js +144 -1
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts +2 -2
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +15 -8
- 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 +4 -0
- package/dist/esm/_core/family-aspects.registry.js.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.d.ts +12 -1
- package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.js +11 -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 +37 -53
- package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts +59 -59
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts +0 -14
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js +2 -2
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js.map +1 -1
- package/dist/esm/_core/feature-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-specification.schemas.js +5 -4
- package/dist/esm/_core/feature-specification.schemas.js.map +1 -1
- package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/flows-actors-view-specification.schemas.js +2 -2
- package/dist/esm/_core/flows-actors-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/full-custom-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/full-custom-view-specification.schemas.js +2 -2
- package/dist/esm/_core/full-custom-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts +1 -3
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.js +10 -12
- package/dist/esm/_core/guidance-flow-specification.schemas.js.map +1 -1
- package/dist/esm/_core/index.d.ts +12 -0
- package/dist/esm/_core/index.d.ts.map +1 -1
- package/dist/esm/_core/index.js +12 -0
- package/dist/esm/_core/index.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +8 -4
- 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 +19 -51
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js +29 -10
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -1
- package/dist/esm/_core/market/feature-benefit.schemas.d.ts +5 -5
- package/dist/esm/_core/market/market-alternative.schemas.d.ts +3 -3
- package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts +2 -2
- package/dist/esm/_core/market/market-buying-journey.schemas.d.ts +4 -4
- package/dist/esm/_core/market/market-category.schemas.d.ts +2 -2
- package/dist/esm/_core/market/market-channel.schemas.d.ts +5 -5
- package/dist/esm/_core/market/market-gain.schemas.d.ts +3 -3
- package/dist/esm/_core/market/market-icp.schemas.d.ts +11 -11
- package/dist/esm/_core/market/market-job.schemas.d.ts +3 -3
- package/dist/esm/_core/market/market-message-template.schemas.d.ts +4 -4
- package/dist/esm/_core/market/market-objection.schemas.d.ts +3 -3
- package/dist/esm/_core/market/market-pain.schemas.d.ts +3 -3
- package/dist/esm/_core/market/market-persona.schemas.d.ts +4 -4
- package/dist/esm/_core/market/market-positioning.schemas.d.ts +2 -2
- package/dist/esm/_core/market/market-proof.schemas.d.ts +3 -3
- 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 +80 -106
- 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-snapshot.schemas.d.ts +59 -59
- package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts +3 -3
- package/dist/esm/_core/market/market-trigger.schemas.d.ts +3 -3
- package/dist/esm/_core/milestone-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/milestone-specification.schemas.js +5 -4
- package/dist/esm/_core/milestone-specification.schemas.js.map +1 -1
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts +0 -2
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/onboarding-view-specification.schemas.js +7 -8
- package/dist/esm/_core/onboarding-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts +32 -27
- 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 +3 -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 -2
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.js +42 -9
- 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 +16 -4
- 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 +84 -90
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js +90 -13
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
- package/dist/esm/_core/product-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/product-specification.schemas.js +5 -4
- package/dist/esm/_core/product-specification.schemas.js.map +1 -1
- package/dist/esm/_core/required-features-specification.schemas.d.ts +1 -5
- package/dist/esm/_core/required-features-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/required-features-specification.schemas.js +1 -5
- package/dist/esm/_core/required-features-specification.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +2 -2
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts +6 -6
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.js +4 -4
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts +2 -2
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts +0 -4
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +6 -15
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.js +2 -3
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.d.ts +76 -18
- package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.js +168 -60
- package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts +2 -2
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts +3 -18
- 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 +3 -3
- package/dist/esm/_core/role-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/role-specification.schemas.js +5 -4
- package/dist/esm/_core/role-specification.schemas.js.map +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 +415 -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 +87 -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 +30 -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 +45 -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 +102 -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 +356 -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 +416 -0
- package/dist/esm/_core/service-method/service-method.schemas.js.map +1 -0
- package/dist/esm/_core/sidebar-section-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/sidebar-section-specification.schemas.js +2 -2
- package/dist/esm/_core/sidebar-section-specification.schemas.js.map +1 -1
- package/dist/esm/_core/specification-definition-faults.d.ts +160 -0
- package/dist/esm/_core/specification-definition-faults.d.ts.map +1 -0
- package/dist/esm/_core/specification-definition-faults.js +283 -0
- package/dist/esm/_core/specification-definition-faults.js.map +1 -0
- package/dist/esm/_core/specification-module-faults.d.ts +271 -0
- package/dist/esm/_core/specification-module-faults.d.ts.map +1 -0
- package/dist/esm/_core/specification-module-faults.js +655 -0
- package/dist/esm/_core/specification-module-faults.js.map +1 -0
- package/dist/esm/_core/translation-glossary.schemas.d.ts +79 -0
- package/dist/esm/_core/translation-glossary.schemas.d.ts.map +1 -0
- package/dist/esm/_core/translation-glossary.schemas.js +98 -0
- package/dist/esm/_core/translation-glossary.schemas.js.map +1 -0
- package/dist/esm/_core/utils/extract-field-specs.d.ts +25 -0
- package/dist/esm/_core/utils/extract-field-specs.d.ts.map +1 -1
- package/dist/esm/_core/utils/extract-field-specs.js +6 -1
- package/dist/esm/_core/utils/extract-field-specs.js.map +1 -1
- package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-constraint.schemas.d.ts +6 -4
- package/dist/esm/_core/vision/vision-constraint.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-constraint.schemas.js +4 -2
- package/dist/esm/_core/vision/vision-constraint.schemas.js.map +1 -1
- package/dist/esm/_core/vision/vision-idea.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-mission.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-problem.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.d.ts +15 -9
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js +30 -20
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/vision/vision-snapshot.schemas.d.ts +10 -10
- package/dist/esm/_core/vision/vision-success-criterion.schemas.d.ts +2 -2
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts +31 -7
- 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 +24 -4
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-validation.js +84 -7
- 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 +2 -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 +424 -120
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.schemas.js +687 -32
- 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 +90 -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 +104 -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 +110 -127
- 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 +122 -16
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-declared-answer.application-creation.schemas.d.ts +22 -0
- package/dist/esm/application-creation/application-declared-answer.application-creation.schemas.d.ts.map +1 -0
- package/dist/esm/application-creation/application-declared-answer.application-creation.schemas.js +23 -0
- package/dist/esm/application-creation/application-declared-answer.application-creation.schemas.js.map +1 -0
- package/dist/esm/application-creation/application-declared-answers.application-creation.schemas.d.ts +50 -0
- package/dist/esm/application-creation/application-declared-answers.application-creation.schemas.d.ts.map +1 -0
- package/dist/esm/application-creation/application-declared-answers.application-creation.schemas.js +33 -0
- package/dist/esm/application-creation/application-declared-answers.application-creation.schemas.js.map +1 -0
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +57 -41
- 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-document-release-policy-specification.application-creation.schemas.d.ts +3 -11
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts +206 -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 +226 -9
- package/dist/esm/application-creation/application-line.application-creation.schemas.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 +42 -41
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js +79 -23
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts +2 -2
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js +2 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation.exports.d.ts +13 -0
- package/dist/esm/application-creation.exports.d.ts.map +1 -1
- package/dist/esm/application-creation.exports.js +15 -0
- package/dist/esm/application-creation.exports.js.map +1 -1
- package/dist/esm/assurance/application-document-publication.schemas.d.ts +0 -12
- package/dist/esm/assurance/application-document-publication.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/application-document-release-set.schemas.d.ts +1 -9
- package/dist/esm/assurance/application-document-release-set.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/application-risk-register.schemas.d.ts +10 -73
- package/dist/esm/assurance/application-risk-register.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts +34 -0
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts.map +1 -1
- package/dist/esm/assurance/application-risk-signals.derivations.js +45 -1
- 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 +632 -19
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.js +3000 -1063
- package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +27 -22
- 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 +168 -29
- package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts +34 -112
- 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 +121 -114
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.js +142 -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 +1746 -116
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts +0 -11
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts.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 +354 -5
- 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 +422 -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 +886 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.js.map +1 -0
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +61 -182
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.js +180 -22
- package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-program-obligation-standing.d.ts +107 -0
- package/dist/esm/assurance/assurance-program-obligation-standing.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-program-obligation-standing.js +153 -0
- package/dist/esm/assurance/assurance-program-obligation-standing.js.map +1 -0
- package/dist/esm/assurance/assurance-program.schemas.d.ts +373 -1165
- package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.js +267 -18
- 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 +277 -23
- 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 +246 -0
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.js.map +1 -0
- package/dist/esm/assurance/assurance-sources.schemas.d.ts +84 -24
- 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 +372 -17
- 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 +10 -4
- package/dist/esm/assurance/governed-document-release.js.map +1 -1
- package/dist/esm/assurance.exports.d.ts +5 -0
- package/dist/esm/assurance.exports.d.ts.map +1 -1
- package/dist/esm/assurance.exports.js +5 -0
- package/dist/esm/assurance.exports.js.map +1 -1
- package/dist/esm/companion-exports.d.ts +39 -3
- package/dist/esm/companion-exports.d.ts.map +1 -1
- package/dist/esm/companion-exports.js +61 -0
- package/dist/esm/companion-exports.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts +16 -16
- 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 +37 -11
- 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 +3 -3
- 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 +10 -13
- 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 +19 -19
- 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 +64 -12
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts +4 -4
- 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 +7 -6
- package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.js +7 -7
- 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 +20 -12
- 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 +51 -14
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/application-provider-credentials.resource.specification.d.ts +26 -0
- package/dist/esm/engine/auth/resources/application-provider-credentials.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/application-provider-credentials.resource.specification.js +112 -0
- package/dist/esm/engine/auth/resources/application-provider-credentials.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js +4 -4
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/index.d.ts +0 -2
- package/dist/esm/engine/auth/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/index.js +0 -2
- package/dist/esm/engine/auth/resources/index.js.map +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts +13 -12
- 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 +16 -16
- 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 +44 -17
- 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 +20 -20
- 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 +48 -9
- 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 +25 -21
- 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 +44 -12
- 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 +20 -14
- 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 +73 -20
- 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 +22 -22
- 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 +15 -14
- 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 +9 -8
- 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 +20 -16
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts +40 -40
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +135 -16
- 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 +108 -108
- 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 +80 -20
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-domain-reservations.resource.specification.d.ts +17 -0
- package/dist/esm/engine/auth/resources/sso-domain-reservations.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/sso-domain-reservations.resource.specification.js +85 -0
- package/dist/esm/engine/auth/resources/sso-domain-reservations.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +21 -19
- 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 +14 -10
- 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 +14 -12
- 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 +4 -2
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts +20 -20
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts +22 -20
- 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 +9 -8
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts +8 -8
- package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.js +11 -10
- package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.d.ts +16 -16
- package/dist/esm/engine/billing/resources/products.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.js +11 -10
- package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts +11 -11
- package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js +31 -29
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts +22 -21
- package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js +7 -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 +48 -48
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +112 -26
- 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 +30 -26
- 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 +5 -2
- 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 +37 -25
- 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 +50 -12
- 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 +78 -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 +213 -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 +33 -23
- 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 +61 -21
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/data-subject-requests.resource.specification.d.ts +39 -0
- package/dist/esm/engine/compliance/resources/data-subject-requests.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/data-subject-requests.resource.specification.js +533 -0
- package/dist/esm/engine/compliance/resources/data-subject-requests.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/index.d.ts +2 -0
- package/dist/esm/engine/compliance/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/index.js +2 -0
- package/dist/esm/engine/compliance/resources/index.js.map +1 -1
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts +21 -16
- 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 +17 -6
- 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.d.ts +13 -11
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js +9 -1
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/siem-delivery-dlq.resource.specification.d.ts +27 -0
- package/dist/esm/engine/compliance/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/{auth → compliance}/resources/siem-delivery-dlq.resource.specification.js +24 -19
- package/dist/esm/engine/compliance/resources/siem-delivery-dlq.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/siem-delivery-outbox.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/{auth → compliance}/resources/siem-delivery-outbox.resource.specification.js +1 -1
- package/dist/esm/engine/compliance/resources/siem-delivery-outbox.resource.specification.js.map +1 -0
- package/dist/esm/engine/{auth → compliance}/resources/siem-export-config.resource.specification.d.ts +18 -18
- package/dist/esm/engine/compliance/resources/siem-export-config.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/{auth → compliance}/resources/siem-export-config.resource.specification.js +2 -2
- package/dist/esm/engine/compliance/resources/siem-export-config.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/signature-requests.resource.specification.d.ts +45 -0
- package/dist/esm/engine/compliance/resources/signature-requests.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/signature-requests.resource.specification.js +224 -0
- package/dist/esm/engine/compliance/resources/signature-requests.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts +1 -1
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.js +3 -2
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.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 +82 -20
- package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
- package/dist/esm/engine/engine-resource-sub-domain.d.ts +7 -3
- package/dist/esm/engine/engine-resource-sub-domain.d.ts.map +1 -1
- package/dist/esm/engine/engine-resource-sub-domain.js +8 -4
- package/dist/esm/engine/engine-resource-sub-domain.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 +359 -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/m2m-webhook-delivery.feature.specification.js +1 -1
- package/dist/esm/engine/features/m2m-webhook-delivery.feature.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts +7 -7
- package/dist/esm/engine/features/resources/application-features.resource.specification.js +8 -8
- 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 +7 -7
- 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 +37 -18
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts +7 -7
- package/dist/esm/engine/features/resources/user-features.resource.specification.js +4 -4
- package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.d.ts +27 -24
- package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.js +30 -8
- 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 +30 -30
- 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 +32 -4
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts +18 -18
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +7 -7
- 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 +97 -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 +229 -178
- 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 +126 -22
- 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 +60 -54
- 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 +23 -8
- 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 +240 -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 +9 -3
- 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 +7 -5
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.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/app-layout-surface-error-boundary.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.js +3 -2
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/lifecycle-home-activation-progress.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/app/lifecycle-home-activation-progress.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/lifecycle-home-dashboard.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/app/lifecycle-home-dashboard.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/lifecycle-home-welcome-back.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/app/lifecycle-home-welcome-back.frontend-component.specification.js.map +1 -1
- 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/app/public-layout-terms.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/app/public-layout-terms.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/combobox-multiple.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/combobox-multiple.frontend-component.specification.js +1 -0
- package/dist/esm/engine/frontend-components/form/combobox-multiple.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/combobox.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/combobox.frontend-component.specification.js +3 -0
- package/dist/esm/engine/frontend-components/form/combobox.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.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.js +4 -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.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.js +4 -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.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.js +4 -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.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.js +4 -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-picker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-picker.frontend-component.specification.js +3 -0
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.js +4 -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/select-multiple.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/select-multiple.frontend-component.specification.js +3 -0
- package/dist/esm/engine/frontend-components/form/controls/enum/select-multiple.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/select.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/select.frontend-component.specification.js +1 -0
- package/dist/esm/engine/frontend-components/form/controls/enum/select.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/input-group.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/input-group.frontend-component.specification.js +1 -0
- package/dist/esm/engine/frontend-components/form/controls/input-group.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/input.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/input.frontend-component.specification.js +1 -0
- package/dist/esm/engine/frontend-components/form/controls/input.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/controls/string/color-input.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/color-input.frontend-component.specification.js +3 -0
- package/dist/esm/engine/frontend-components/form/controls/string/color-input.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/input-otp.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/input-otp.frontend-component.specification.js +3 -0
- package/dist/esm/engine/frontend-components/form/controls/string/input-otp.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/markdown-editor.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/markdown-editor.frontend-component.specification.js +3 -0
- package/dist/esm/engine/frontend-components/form/controls/string/markdown-editor.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/textarea.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/textarea.frontend-component.specification.js +3 -0
- package/dist/esm/engine/frontend-components/form/controls/string/textarea.frontend-component.specification.js.map +1 -1
- 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-chart.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-chart.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 +6 -0
- package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/index.js +26 -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-empty-state.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.js +12 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-filters.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-filters.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.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.js +7 -3
- 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-operations-items.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-operations-items.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-read.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-read.frontend-component.specification.js +1 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-read.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 +5 -3
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts +16 -14
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js +4 -4
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts +18 -16
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts +20 -18
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.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/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/external-effect-reservations.resource.specification.d.ts +10 -0
- package/dist/esm/engine/infrastructure/resources/external-effect-reservations.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-effect-reservations.resource.specification.js +155 -0
- package/dist/esm/engine/infrastructure/resources/external-effect-reservations.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/idempotent-request-outcomes.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/idempotent-request-outcomes.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/idempotent-request-outcomes.resource.specification.js +155 -0
- package/dist/esm/engine/infrastructure/resources/idempotent-request-outcomes.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +37 -19
- 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 +14 -14
- 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 +15 -15
- 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 +45 -16
- 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 +183 -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 +52 -50
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js +18 -10
- 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 +86 -53
- 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 +78 -17
- 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 +85 -83
- 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 +59 -55
- 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 +30 -26
- 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 +38 -20
- 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 +12 -14
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js +0 -2
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/sms-provider-events.resource.specification.d.ts +56 -0
- package/dist/esm/engine/notifications/resources/sms-provider-events.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/notifications/resources/sms-provider-events.resource.specification.js +277 -0
- package/dist/esm/engine/notifications/resources/sms-provider-events.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts +20 -16
- 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 +13 -8
- 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-custom-domains.resource.specification.d.ts +33 -0
- package/dist/esm/engine/organizations/resources/organization-custom-domains.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/organizations/resources/organization-custom-domains.resource.specification.js +195 -0
- package/dist/esm/engine/organizations/resources/organization-custom-domains.resource.specification.js.map +1 -0
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +19 -18
- 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 +129 -64
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.d.ts +7 -7
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js +5 -1
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.d.ts +13 -13
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts +12 -11
- 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/organization-relationships.resource.specification.d.ts +128 -0
- 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 +653 -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 +9 -9
- 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 +15 -17
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts +14 -14
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +5 -5
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts +18 -13
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +111 -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/anthropic.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/anthropic.provider.specification.js +18 -3
- package/dist/esm/engine/providers/anthropic.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/apple.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/apple.provider.specification.js +6 -2
- package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/github.provider.specification.js +18 -7
- 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 +48 -0
- package/dist/esm/engine/providers/google-drive.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/google-places.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/google-places.provider.specification.js +5 -2
- package/dist/esm/engine/providers/google-places.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/google.provider.specification.js +8 -2
- package/dist/esm/engine/providers/google.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/grok.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/grok.provider.specification.js +14 -3
- package/dist/esm/engine/providers/grok.provider.specification.js.map +1 -1
- 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 +55 -0
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/microsoft.provider.specification.js +26 -3
- package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/mistral.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/mistral.provider.specification.js +20 -5
- package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/openai.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/openai.provider.specification.js +30 -3
- package/dist/esm/engine/providers/openai.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/perplexity.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/perplexity.provider.specification.js +13 -2
- package/dist/esm/engine/providers/perplexity.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/recaptcha.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/recaptcha.provider.specification.js +8 -3
- package/dist/esm/engine/providers/recaptcha.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 +27 -10
- package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/stripe.provider.specification.js +19 -3
- package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/twilio.provider.specification.js +21 -6
- package/dist/esm/engine/providers/twilio.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/app-sms-provider-events.role.specification.d.ts +2 -0
- package/dist/esm/engine/roles/app-sms-provider-events.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/app-sms-provider-events.role.specification.js +21 -0
- package/dist/esm/engine/roles/app-sms-provider-events.role.specification.js.map +1 -0
- package/dist/esm/engine/roles/index.d.ts +8 -7
- package/dist/esm/engine/roles/index.d.ts.map +1 -1
- package/dist/esm/engine/roles/index.js +13 -10
- 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/roles/org-signature-provider-events.role.specification.d.ts +2 -0
- package/dist/esm/engine/roles/org-signature-provider-events.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/org-signature-provider-events.role.specification.js +21 -0
- package/dist/esm/engine/roles/org-signature-provider-events.role.specification.js.map +1 -0
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts +13 -12
- 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 +12 -12
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +4 -3
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/self-service-user-notifications.shared.js +3 -3
- package/dist/esm/engine/users/resources/self-service-user-notifications.shared.js.map +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts +15 -15
- 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 +17 -17
- 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 +2 -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 +4 -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 +25 -20
- 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 +8 -8
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts +8 -8
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +3 -3
- 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 +25 -20
- 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 +7 -2
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts +8 -8
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js +2 -2
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts +11 -9
- 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 +46 -7
- package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/users-api-reference.examples.d.ts +3 -0
- package/dist/esm/engine/users/resources/users-api-reference.examples.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/users-api-reference.examples.js +3 -0
- package/dist/esm/engine/users/resources/users-api-reference.examples.js.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts +12 -10
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.js +26 -15
- package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts +63 -29
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js +75 -11
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.d.ts +2 -2
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts +2 -30
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.js +2 -2
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.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 +51 -24
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-assets.schemas.d.ts +0 -31
- package/dist/esm/technical-documentation/technical-documentation-assets.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-capture.schemas.d.ts +0 -11
- package/dist/esm/technical-documentation/technical-documentation-capture.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.d.ts +0 -20
- package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.d.ts +0 -3
- package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-publication.schemas.d.ts +0 -24
- package/dist/esm/technical-documentation/technical-documentation-publication.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts +0 -12
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +11 -11
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts +0 -35
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +0 -1
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +0 -1
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts.map +0 -1
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js.map +0 -1
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +0 -1
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +0 -1
- 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 +0 -106
- 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
- /package/dist/esm/engine/{auth → compliance}/resources/siem-delivery-outbox.resource.specification.d.ts +0 -0
package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts
CHANGED
|
@@ -16,66 +16,68 @@
|
|
|
16
16
|
* registry relationships ORGANIZATIONS → each resource carry `isPrimaryScope: true`.
|
|
17
17
|
*/
|
|
18
18
|
import { ConversationMessageDirection, ConversationOutboundStatus, ConversationThreadStatus, ConversationThreads_Operations, CoreResourceOperation as Op, InboundChannelKind, ReplyTokenRevocationReason } from '@wildo-ai/saas-models';
|
|
19
|
-
export declare const conversationThreadsResourceSpecification: import("../../../_core").ResourceSpecificationConfig<typeof ConversationThreads_Operations, Op.READ | Op.UPDATE | Op.UPDATE_MANY | Op.DELETE | Op.DELETE_MANY | Op.CREATE | Op.LIST, import("
|
|
20
|
-
_id: import("
|
|
21
|
-
organizationId: import("
|
|
22
|
-
channel: import("
|
|
23
|
-
threadKey: import("
|
|
24
|
-
counterpartAddress: import("
|
|
25
|
-
subject: import("
|
|
19
|
+
export declare const conversationThreadsResourceSpecification: import("../../../_core").ResourceSpecificationConfig<typeof ConversationThreads_Operations, Op.READ | Op.UPDATE | Op.UPDATE_MANY | Op.DELETE | Op.DELETE_MANY | Op.CREATE | Op.LIST, import("zod").ZodObject<{
|
|
20
|
+
_id: import("zod").ZodString;
|
|
21
|
+
organizationId: import("zod").ZodString;
|
|
22
|
+
channel: import("zod").ZodEnum<typeof InboundChannelKind>;
|
|
23
|
+
threadKey: import("zod").ZodString;
|
|
24
|
+
counterpartAddress: import("zod").ZodString;
|
|
25
|
+
subject: import("zod").ZodDefault<import("zod").ZodString>;
|
|
26
26
|
linkedResource: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
27
27
|
resourceType: import("zod").ZodString;
|
|
28
28
|
resourceId: import("zod").ZodString;
|
|
29
29
|
}, import("zod/v4/core").$strict>>>;
|
|
30
|
-
status: import("
|
|
31
|
-
lastMessageAt: import("
|
|
32
|
-
closedAt: import("
|
|
33
|
-
createdAt: import("
|
|
34
|
-
updatedAt: import("
|
|
35
|
-
}, import("zod/v4/core").$strip
|
|
30
|
+
status: import("zod").ZodDefault<import("zod").ZodEnum<typeof ConversationThreadStatus>>;
|
|
31
|
+
lastMessageAt: import("zod").ZodDate;
|
|
32
|
+
closedAt: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodDate>>;
|
|
33
|
+
createdAt: import("zod").ZodDefault<import("zod").ZodDate>;
|
|
34
|
+
updatedAt: import("zod").ZodDefault<import("zod").ZodDate>;
|
|
35
|
+
}, import("zod/v4/core").$strip>>;
|
|
36
36
|
export declare const conversationMessagesResourceSpecification: import("../../../_core").ResourceSpecificationConfig<Record<string, never>, Op.READ | Op.UPDATE | Op.UPDATE_MANY | Op.DELETE | Op.DELETE_MANY | Op.CREATE | Op.LIST, import("zod").ZodObject<{
|
|
37
|
-
_id: import("
|
|
38
|
-
organizationId: import("
|
|
39
|
-
threadId: import("
|
|
40
|
-
direction: import("
|
|
41
|
-
rfcMessageId: import("
|
|
42
|
-
fromAddress: import("
|
|
43
|
-
toAddresses: import("
|
|
44
|
-
subject: import("
|
|
45
|
-
textPreview: import("
|
|
46
|
-
occurredAt: import("
|
|
47
|
-
inboundDeliveryId: import("
|
|
48
|
-
channelRecordRef: import("
|
|
37
|
+
_id: import("zod").ZodString;
|
|
38
|
+
organizationId: import("zod").ZodString;
|
|
39
|
+
threadId: import("zod").ZodString;
|
|
40
|
+
direction: import("zod").ZodEnum<typeof ConversationMessageDirection>;
|
|
41
|
+
rfcMessageId: import("zod").ZodString;
|
|
42
|
+
fromAddress: import("zod").ZodString;
|
|
43
|
+
toAddresses: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>;
|
|
44
|
+
subject: import("zod").ZodDefault<import("zod").ZodString>;
|
|
45
|
+
textPreview: import("zod").ZodDefault<import("zod").ZodString>;
|
|
46
|
+
occurredAt: import("zod").ZodDate;
|
|
47
|
+
inboundDeliveryId: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
48
|
+
channelRecordRef: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
49
49
|
resourceType: import("zod").ZodString;
|
|
50
50
|
resourceId: import("zod").ZodString;
|
|
51
|
-
}, import("zod/v4/core").$strict
|
|
52
|
-
submissionId: import("
|
|
53
|
-
outboundStatus: import("
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
51
|
+
}, import("zod/v4/core").$strict>>>;
|
|
52
|
+
submissionId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
53
|
+
outboundStatus: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodEnum<typeof ConversationOutboundStatus>>>;
|
|
54
|
+
replyText: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
55
|
+
templateRef: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
56
|
+
templateVariables: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
57
|
+
locale: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
58
|
+
attachmentFileIds: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>;
|
|
59
|
+
replyToAddress: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
60
|
+
threading: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
59
61
|
inReplyTo: import("zod").ZodOptional<import("zod").ZodString>;
|
|
60
62
|
references: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>;
|
|
61
|
-
}, import("zod/v4/core").$strict
|
|
62
|
-
providerMessageIds: import("
|
|
63
|
-
failureCode: import("
|
|
64
|
-
settledAt: import("
|
|
65
|
-
createdAt: import("
|
|
66
|
-
updatedAt: import("
|
|
63
|
+
}, import("zod/v4/core").$strict>>>;
|
|
64
|
+
providerMessageIds: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>;
|
|
65
|
+
failureCode: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
66
|
+
settledAt: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodDate>>;
|
|
67
|
+
createdAt: import("zod").ZodDefault<import("zod").ZodDate>;
|
|
68
|
+
updatedAt: import("zod").ZodDefault<import("zod").ZodDate>;
|
|
67
69
|
}, import("zod/v4/core").$strip>>;
|
|
68
70
|
export declare const conversationReplyTokensResourceSpecification: import("../../../_core").ResourceSpecificationConfig<Record<string, never>, Op.READ | Op.UPDATE | Op.UPDATE_MANY | Op.DELETE | Op.DELETE_MANY | Op.CREATE | Op.LIST, import("zod").ZodObject<{
|
|
69
|
-
_id: import("
|
|
70
|
-
organizationId: import("
|
|
71
|
-
threadId: import("
|
|
72
|
-
recipientAddress: import("
|
|
73
|
-
recipientMemberUserId: import("
|
|
74
|
-
tokenHash: import("
|
|
75
|
-
issuedAt: import("
|
|
76
|
-
revokedAt: import("
|
|
77
|
-
revocationReason: import("
|
|
78
|
-
createdAt: import("
|
|
79
|
-
updatedAt: import("
|
|
71
|
+
_id: import("zod").ZodString;
|
|
72
|
+
organizationId: import("zod").ZodString;
|
|
73
|
+
threadId: import("zod").ZodString;
|
|
74
|
+
recipientAddress: import("zod").ZodString;
|
|
75
|
+
recipientMemberUserId: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
76
|
+
tokenHash: import("zod").ZodString;
|
|
77
|
+
issuedAt: import("zod").ZodDate;
|
|
78
|
+
revokedAt: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodDate>>;
|
|
79
|
+
revocationReason: import("zod").ZodDefault<import("zod").ZodNullable<import("zod").ZodEnum<typeof ReplyTokenRevocationReason>>>;
|
|
80
|
+
createdAt: import("zod").ZodDefault<import("zod").ZodDate>;
|
|
81
|
+
updatedAt: import("zod").ZodDefault<import("zod").ZodDate>;
|
|
80
82
|
}, import("zod/v4/core").$strip>>;
|
|
81
83
|
//# sourceMappingURL=conversation-threads.resource.specification.d.ts.map
|
package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversation-threads.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/notifications/resources/conversation-threads.resource.specification.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAQH,OAAO,EACL,4BAA4B,EAE5B,0BAA0B,EAG1B,wBAAwB,EACxB,8BAA8B,EAC9B,qBAAqB,IAAI,EAAE,EAC3B,kBAAkB,EAClB,0BAA0B,EAK3B,MAAM,uBAAuB,CAAC;AA8C/B,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"conversation-threads.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/notifications/resources/conversation-threads.resource.specification.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAQH,OAAO,EACL,4BAA4B,EAE5B,0BAA0B,EAG1B,wBAAwB,EACxB,8BAA8B,EAC9B,qBAAqB,IAAI,EAAE,EAC3B,kBAAkB,EAClB,0BAA0B,EAK3B,MAAM,uBAAuB,CAAC;AA8C/B,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;iCAkIpD,CAAC;AAqDF,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCA+HrD,CAAC;AAIF,eAAO,MAAM,4CAA4C;;;;;;;;;;;;iCA+FxD,CAAC"}
|
package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js
CHANGED
|
@@ -78,6 +78,7 @@ export const conversationThreadsResourceSpecification = resourceSpecification(co
|
|
|
78
78
|
enumDeclaration: enumDeclaration('InboundChannelKind'),
|
|
79
79
|
values: {
|
|
80
80
|
[InboundChannelKind.EMAIL]: { meaning: 'Email: messages received for the application\'s addresses and replies sent from them.' },
|
|
81
|
+
[InboundChannelKind.SMS]: { meaning: 'SMS: texts received on a number the application gave the organization, and replies sent from that number. One thread per open exchange between the two numbers.' },
|
|
81
82
|
[InboundChannelKind.WEBHOOK]: { meaning: 'Not used for threads: a signed webhook delivery is not a conversation.' },
|
|
82
83
|
},
|
|
83
84
|
}),
|
|
@@ -147,13 +148,13 @@ export const conversationThreadsResourceSpecification = resourceSpecification(co
|
|
|
147
148
|
[Op.DELETE]: {
|
|
148
149
|
purpose: 'The retention sweep\'s door: an internal, route-less call. Takes the thread\'s reply tokens with it, never its messages.',
|
|
149
150
|
outcome: 'A thread leaves only when its RESOURCE_DATA period since closure has passed, or with its organization.',
|
|
150
|
-
responseStatuses: [{ code: HttpResponseStatusCode.
|
|
151
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Internal retention delete completed.' }],
|
|
151
152
|
idempotent: true,
|
|
152
153
|
},
|
|
153
154
|
[Op.DELETE_MANY]: {
|
|
154
155
|
purpose: 'Bulk twin of DELETE for the retention sweep (internal, route-less).',
|
|
155
156
|
outcome: 'Closed threads whose period has ended are removed together with their reply tokens.',
|
|
156
|
-
responseStatuses: [{ code: HttpResponseStatusCode.
|
|
157
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Internal retention delete completed.' }],
|
|
157
158
|
idempotent: true,
|
|
158
159
|
},
|
|
159
160
|
[ConversationThreads_Operations.CLOSE]: {
|
|
@@ -196,7 +197,8 @@ const inboundMessageExample = {
|
|
|
196
197
|
templateRef: null,
|
|
197
198
|
templateVariables: null,
|
|
198
199
|
locale: null,
|
|
199
|
-
|
|
200
|
+
attachmentFileIds: [],
|
|
201
|
+
// No `replyToAddress`: it is backend-only (it carries the reply token in plaintext), so no response returns it (#1838).
|
|
200
202
|
threading: null,
|
|
201
203
|
providerMessageIds: [],
|
|
202
204
|
failureCode: null,
|
|
@@ -219,7 +221,7 @@ const replyMessageExample = {
|
|
|
219
221
|
outboundStatus: ConversationOutboundStatus.ACCEPTED_BY_PROVIDER,
|
|
220
222
|
templateRef: 'matters.document-received',
|
|
221
223
|
locale: 'en',
|
|
222
|
-
|
|
224
|
+
attachmentFileIds: ['66f6a1c2e3d4b5a697889911'],
|
|
223
225
|
threading: { inReplyTo: '<CAF7x2kLq9@mail.client.example>', references: ['<CAF7x2kLq9@mail.client.example>'] },
|
|
224
226
|
providerMessageIds: ['re_7mX2p9Lk'],
|
|
225
227
|
settledAt: '2026-09-27T09:12:03.000Z',
|
|
@@ -238,7 +240,8 @@ export const conversationMessagesResourceSpecification = resourceSpecification(c
|
|
|
238
240
|
operationVocabulary: operationVocabulary(),
|
|
239
241
|
notes: [
|
|
240
242
|
ENGINE_ONLY_NOTE,
|
|
241
|
-
'
|
|
243
|
+
'A received message\'s row carries a preview, never the body or the attachments: those stay in the channel\'s own record (`channelRecordRef`), which the erasure of the channel record governs.',
|
|
244
|
+
'A reply\'s row carries the ids of the files its handler attached (`attachmentFileIds`), each one checked against the handler\'s own READ authority in the organization when the reply was queued, and confined to the organization again when it is sent.',
|
|
242
245
|
'`submissionId` makes a reply idempotent: a handler that runs twice for one delivery queues one reply, and the provider receives one send.',
|
|
243
246
|
],
|
|
244
247
|
},
|
|
@@ -276,6 +279,11 @@ export const conversationMessagesResourceSpecification = resourceSpecification(c
|
|
|
276
279
|
templateRef: schemaShape.templateRef.stringSpec({ meaning: 'For a reply: the email template the handler chose.', semanticRole: 'code' }),
|
|
277
280
|
templateVariables: schemaShape.templateVariables.objectSpec({ meaning: 'For a reply: the values the template was rendered with.', whyItMatters: 'Reset on erasure: they may name the data subject.' }),
|
|
278
281
|
locale: schemaShape.locale.stringSpec({ meaning: 'For a reply: the language the template was rendered in.', semanticRole: 'code' }),
|
|
282
|
+
attachmentFileIds: schemaShape.attachmentFileIds.arraySpec({
|
|
283
|
+
meaning: 'For a reply: the files sent with it as attachments, by id.',
|
|
284
|
+
elementMeaning: 'One file id: a file on a record the handler could read, or one its delivery produced.',
|
|
285
|
+
whyItMatters: 'The reply\'s only record of what it sends, kept from the moment it is queued until it is sent. A file the handler could not read, or another organization\'s, is refused when the reply is queued.',
|
|
286
|
+
}),
|
|
279
287
|
replyToAddress: schemaShape.replyToAddress.stringSpec({ meaning: 'For a reply still QUEUED: the reply address its send composed, which binds an answer to this thread and recipient.', whyItMatters: 'It carries the reply token in plaintext, so it is backend-only and cleared when the reply settles — kept only so a retried send carries the same address.' }),
|
|
280
288
|
threading: schemaShape.threading.objectSpec({ meaning: 'For a reply: the In-Reply-To and References it was sent with, so the recipient\'s mail client files it in the same conversation.' }),
|
|
281
289
|
providerMessageIds: schemaShape.providerMessageIds.arraySpec({ meaning: 'For a reply: the ids the email provider returned.', elementMeaning: 'One provider message id.' }),
|
|
@@ -326,13 +334,13 @@ export const conversationMessagesResourceSpecification = resourceSpecification(c
|
|
|
326
334
|
[Op.DELETE]: {
|
|
327
335
|
purpose: 'The retention sweep\'s door (internal, route-less).',
|
|
328
336
|
outcome: 'A message leaves when its BUSINESS_RECORDS period, counted from the end of its calendar year, has passed, or with its organization.',
|
|
329
|
-
responseStatuses: [{ code: HttpResponseStatusCode.
|
|
337
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Internal retention delete completed.' }],
|
|
330
338
|
idempotent: true,
|
|
331
339
|
},
|
|
332
340
|
[Op.DELETE_MANY]: {
|
|
333
341
|
purpose: 'Bulk twin of DELETE for the retention sweep (internal, route-less).',
|
|
334
342
|
outcome: 'Messages whose statutory period has ended are removed together.',
|
|
335
|
-
responseStatuses: [{ code: HttpResponseStatusCode.
|
|
343
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Internal retention delete completed.' }],
|
|
336
344
|
idempotent: true,
|
|
337
345
|
},
|
|
338
346
|
},
|
|
@@ -365,7 +373,7 @@ export const conversationReplyTokensResourceSpecification = resourceSpecificatio
|
|
|
365
373
|
organizationId: schemaShape.organizationId.foreignKeySpec({ meaning: 'The organization that issued the address.', whyItMatters: 'A token resolves only inside this organization.', importance: FieldSemanticImportance.PRIMARY }),
|
|
366
374
|
threadId: schemaShape.threadId.foreignKeySpec({ meaning: 'The thread the address binds replies to.', importance: FieldSemanticImportance.PRIMARY }),
|
|
367
375
|
recipientAddress: schemaShape.recipientAddress.stringSpec({ meaning: 'The address the reply address was issued to.', whyItMatters: 'A reply from any other address is downgraded, and audited. Masked on erasure.' }),
|
|
368
|
-
recipientMemberUserId: schemaShape.recipientMemberUserId.foreignKeySpec({ meaning: 'When the recipient is a member of the organization, that member.', whyItMatters: 'Re-checked when the token is used: once they stop being a member, the token binds nothing.' }),
|
|
376
|
+
recipientMemberUserId: schemaShape.recipientMemberUserId.foreignKeySpec({ meaning: 'When the recipient is a member of the organization, that member.', whyItMatters: 'Re-checked when the token is used: once they stop being a member, the token binds nothing. When that member is erased, the token is revoked, this is cleared and the address is masked.' }),
|
|
369
377
|
tokenHash: schemaShape.tokenHash.stringSpec({ meaning: 'SHA-256 of the secret, hex.', whyItMatters: 'The only stored form of the secret; backend-only and never returned.', semanticRole: 'code' }),
|
|
370
378
|
issuedAt: schemaShape.issuedAt.dateSpec({ meaning: 'When the address was issued.', temporalRole: 'occurred' }),
|
|
371
379
|
revokedAt: schemaShape.revokedAt.dateSpec({ meaning: 'When the address stopped binding.', temporalRole: 'occurred' }),
|
|
@@ -418,13 +426,13 @@ export const conversationReplyTokensResourceSpecification = resourceSpecificatio
|
|
|
418
426
|
[Op.DELETE]: {
|
|
419
427
|
purpose: 'Remove a token with its thread (internal, route-less).',
|
|
420
428
|
outcome: 'Tokens never outlive their thread.',
|
|
421
|
-
responseStatuses: [{ code: HttpResponseStatusCode.
|
|
429
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Internal delete completed.' }],
|
|
422
430
|
idempotent: true,
|
|
423
431
|
},
|
|
424
432
|
[Op.DELETE_MANY]: {
|
|
425
433
|
purpose: 'Bulk twin of DELETE, for a thread\'s cascade (internal, route-less).',
|
|
426
434
|
outcome: 'A deleted thread takes every token issued on it.',
|
|
427
|
-
responseStatuses: [{ code: HttpResponseStatusCode.
|
|
435
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Internal delete completed.' }],
|
|
428
436
|
idempotent: true,
|
|
429
437
|
},
|
|
430
438
|
},
|
package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversation-threads.resource.specification.js","sourceRoot":"","sources":["../../../../../src/engine/notifications/resources/conversation-threads.resource.specification.ts"],"names":[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AC,EAAE;YACX,OAAO,EAAE,wDAAwD;YACjE,OAAO,EAAE,oCAAoC;YAC7C,gBAAgB,EAAE,CAAC,EAAE,IAAI,EAAE,sBAAsB,CAAC,cAAc,EAAE,OAAO,EAAE,4BAA4B,EAAE,CAAC;YAC1G,UAAU,EAAE,IAAI;SACjB;QACD,CAAC,EAAE,CAAC,WAAW,CAAC,EAAE;YAChB,OAAO,EAAE,sEAAsE;YAC/E,OAAO,EAAE,kDAAkD;YAC3D,gBAAgB,EAAE,CAAC,EAAE,IAAI,EAAE,sBAAsB,CAAC,cAAc,EAAE,OAAO,EAAE,4BAA4B,EAAE,CAAC;YAC1G,UAAU,EAAE,IAAI;SACjB;KACF;IACD,mBAAmB,EAAE;QACnB,oDAAoD;QACpD,wJAAwJ;QACxJ,0DAA0D;KAC3D;CACF,CAAC,EACF,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,aAAa,EAAE,CAC7D,CAAC","sourcesContent":["/**\n * Resources: `conversationThreads`, `conversationMessages`, `conversationReplyTokens` — Wildo SaaS engine\n * specifications (organization-scoped, engine-written). #1630.\n *\n * Inputs:\n * - Schemas: `ConversationThreadSchema`, `ConversationMessageSchema`, `ConversationReplyTokenSchema`\n * (`inbound/conversation-threads.shared.schemas.ts`)\n * - Factories: `conversation{Threads,Messages,ReplyTokens}ResourceConfiguration_InitializationFactory`\n * (`inbound/conversation-threads.shared.resources-config.schemas.ts`)\n * - Custom operation: `ConversationThreads_Operations.CLOSE`, implemented by\n * `conversation-thread-close.custom-impl.backend.service.ts` (saas-backend-lib).\n * - Writers: the channel intake opens threads and records received messages, `ctx.reply` records replies\n * and the reply worker settles them, the reply-token service issues and revokes tokens.\n *\n * Why `ORGANIZATIONS` scope: a thread is the organization's own correspondence about its own cases. The\n * registry relationships ORGANIZATIONS → each resource carry `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 ConversationMessageDirection,\n ConversationMessageSchema,\n ConversationOutboundStatus,\n ConversationReplyTokenSchema,\n ConversationThreadSchema,\n ConversationThreadStatus,\n ConversationThreads_Operations,\n CoreResourceOperation as Op,\n InboundChannelKind,\n ReplyTokenRevocationReason,\n ResourcePrimaryScope,\n conversationMessagesResourceConfiguration_InitializationFactory,\n conversationReplyTokensResourceConfiguration_InitializationFactory,\n conversationThreadsResourceConfiguration_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_THREAD_ID = '66f6a1c2e3d4b5a697887766';\nconst EXAMPLE_MESSAGE_ID = '66f6a1c2e3d4b5a697887767';\nconst EXAMPLE_REPLY_ID = '66f6a1c2e3d4b5a697887768';\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.' };\n\nconst ENGINE_ONLY_NOTE = 'CREATE and UPDATE are REPOSITORY_ONLY and UPDATE_MANY / DELETE / DELETE_MANY are INTERNAL_CALL: the engine is the only writer, so no request can invent a message, backdate a closure or delete correspondence.';\n\n// ── conversationThreads ─────────────────────────────────────────────────────\n\nconst openThreadExample = {\n _id: EXAMPLE_THREAD_ID,\n organizationId: EXAMPLE_ORGANIZATION_ID,\n channel: InboundChannelKind.EMAIL,\n threadKey: '<CAF7x2kLq9@mail.client.example>',\n counterpartAddress: 'anna@client.example',\n subject: 'Matter 2026-17 — signed engagement letter',\n linkedResource: { resourceType: 'matters', resourceId: '66f6a1c2e3d4b5a697880001' },\n status: ConversationThreadStatus.OPEN,\n lastMessageAt: '2026-09-27T09:12:00.000Z',\n closedAt: null,\n createdAt: '2026-09-27T09:10:00.000Z',\n updatedAt: '2026-09-27T09:12:00.000Z',\n};\n\nconst closedThreadExample = { ...openThreadExample, status: ConversationThreadStatus.CLOSED, closedAt: '2026-10-02T16:00:00.000Z', updatedAt: '2026-10-02T16:00:00.000Z' };\n\nexport const conversationThreadsResourceSpecification = resourceSpecification(\n conversationThreadsResourceConfiguration_InitializationFactory,\n ConversationThreadSchema,\n ({ schemaShape }) => ({\n purpose: 'Group the messages exchanged with one counterpart on one channel into a conversation the organization can follow, link to its own work and close.',\n businessRole: 'What makes inbound correspondence traceable: every message received and every reply sent lands in a thread, so the organization can see what a client sent about a case and what it answered.',\n lifecycleRole: 'Opened OPEN by the channel intake when a message starts a new exchange; moved forward by every message in either direction; CLOSED by an organization administrator, which revokes the thread\\'s reply addresses. Deleted by the retention sweep once the application\\'s RESOURCE_DATA period has passed since it closed; an open thread never expires.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.NOTIFICATIONS,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'ConversationThreadSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactory: { packageName: '@wildo-ai/saas-models', exportName: 'conversationThreadsResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION },\n resourceType: { enumDeclaration: enumDeclaration('CoreResourceType'), memberName: 'CONVERSATION_THREADS' },\n operationVocabulary: operationVocabulary('ConversationThreads_Operations'),\n notes: [\n ENGINE_ONLY_NOTE,\n 'A thread is correlation, not the record: its messages are the business letters and carry their own statutory retention. Deleting a thread takes its reply tokens (COMPOSITION) but never its messages (REFERENCE).',\n '`linkedResource` is set only through the channel handler\\'s `ctx.thread.link`, and only to a row that handler can READ with its own declared roles — never by a message.',\n ],\n },\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Identifier of one conversation.', semanticRole: 'identifier', importance: FieldSemanticImportance.PRIMARY }),\n organizationId: schemaShape.organizationId.foreignKeySpec({ meaning: 'The organization whose correspondence this is.', whyItMatters: 'The scope anchor: a thread, its messages and its reply addresses never reach another organization.', importance: FieldSemanticImportance.PRIMARY }),\n channel: schemaShape.channel.enumSpec({\n meaning: 'The channel the conversation happens on.',\n enumDeclaration: enumDeclaration('InboundChannelKind'),\n values: {\n [InboundChannelKind.EMAIL]: { meaning: 'Email: messages received for the application\\'s addresses and replies sent from them.' },\n [InboundChannelKind.WEBHOOK]: { meaning: 'Not used for threads: a signed webhook delivery is not a conversation.' },\n },\n }),\n threadKey: schemaShape.threadKey.stringSpec({ meaning: 'The channel\\'s own identity of the exchange — for email, the Message-ID of the message that started it.', whyItMatters: 'Unique per organization and channel, so two messages of one exchange can never open two threads.', semanticRole: 'code' }),\n counterpartAddress: schemaShape.counterpartAddress.stringSpec({ meaning: 'The address of the party the organization is corresponding with.', whyItMatters: 'Header correlation only admits a reply from this party\\'s domain, and a change of counterpart revokes the previous one\\'s reply addresses. Masked on erasure.', importance: FieldSemanticImportance.PRIMARY }),\n subject: schemaShape.subject.stringSpec({ meaning: 'The subject of the exchange, as the first message stated it.', importance: FieldSemanticImportance.PRIMARY }),\n linkedResource: schemaShape.linkedResource.objectSpec({ meaning: 'The case, matter or other record of the organization this conversation is about, when the handler linked one.', whyItMatters: 'What lets the organization read the correspondence from the record it concerns.' }),\n status: schemaShape.status.enumSpec({\n meaning: 'Whether the exchange is still open.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: enumDeclaration('ConversationThreadStatus'),\n values: {\n [ConversationThreadStatus.OPEN]: { meaning: 'Messages still join the thread and its reply addresses still bind.' },\n [ConversationThreadStatus.CLOSED]: { meaning: 'Closed by an administrator: its reply addresses are revoked and its retention period runs.' },\n },\n }),\n lastMessageAt: schemaShape.lastMessageAt.dateSpec({ meaning: 'When the latest message, in either direction, was recorded.', temporalRole: 'occurred' }),\n closedAt: schemaShape.closedAt.dateSpec({ meaning: 'When the thread was closed.', whyItMatters: 'The start of the thread\\'s RESOURCE_DATA retention period. Absent while open, so an open thread never expires.', temporalRole: 'occurred' }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the thread was opened.', temporalRole: 'creation' }),\n updatedAt: schemaShape.updatedAt.dateSpec({ meaning: 'When the thread last changed.', temporalRole: 'modified' }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Read one conversation of your organization.',\n outcome: 'The thread, with its counterpart, subject, linked record and status.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The thread is returned.' }],\n errorScenarios: [MEMBER_FORBIDDEN, { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No thread with this id exists in the organization.' }],\n idempotent: true,\n examples: [{ title: 'Read an open email thread', request: { organizationId: EXAMPLE_ORGANIZATION_ID, conversationThreadId: EXAMPLE_THREAD_ID }, response: openThreadExample, forStatus: HttpResponseStatusCode.OK_200 }],\n },\n [Op.LIST]: {\n purpose: 'List the organization\\'s conversations — typically those linked to one record, by filtering on `linkedResource.resourceType` and `linkedResource.resourceId`.',\n outcome: 'A page of threads, newest first; sorting by `lastMessageAt` puts the most recently active first.',\n whenToUse: 'A record\\'s page shows its conversations with `EmbedLinkedConversations`, which pins both linked-resource filters to that record.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'A possibly empty page of threads.' }],\n errorScenarios: [MEMBER_FORBIDDEN],\n idempotent: true,\n examples: [{\n title: 'List the conversations linked to one matter',\n request: { organizationId: EXAMPLE_ORGANIZATION_ID, 'linkedResource.resourceType': 'matters', 'linkedResource.resourceId': '66f6a1c2e3d4b5a697880001', sort: 'lastMessageAt:desc' },\n response: page([openThreadExample]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.CREATE]: {\n purpose: 'Open a thread. Written only by the channel intake, when a message starts a new exchange.',\n outcome: 'The exchange has a thread its messages join.',\n whenToUse: 'Repository-only: never an HTTP surface.',\n responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The thread was stored. Internal write path.' }],\n errorScenarios: [{ code: HttpResponseStatusCode.CONFLICT_409, when: 'A thread with the same key already exists for the organization and channel.' }],\n idempotent: false,\n },\n [Op.UPDATE]: {\n purpose: 'Advance a thread (latest message, linked record, counterpart). Written only by the engine.',\n outcome: 'The thread reflects its latest message.',\n whenToUse: 'Repository-only: never an HTTP surface — administrators act through CLOSE.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The thread was updated. Internal write path.' }],\n errorScenarios: [{ code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No thread with this id exists.' }],\n idempotent: false,\n },\n [Op.UPDATE_MANY]: {\n purpose: 'The erasure writer\\'s door: masks counterpart addresses and subjects in bulk. Internal, route-less.',\n outcome: 'A data subject\\'s address and words leave the threads while the structure 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: an internal, route-less call. Takes the thread\\'s reply tokens with it, never its messages.',\n outcome: 'A thread leaves only when its RESOURCE_DATA period since closure has passed, or with its organization.',\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: 'Closed threads whose period has ended are removed together with their reply tokens.',\n responseStatuses: [{ code: HttpResponseStatusCode.NO_CONTENT_204, meaning: 'Internal retention delete completed.' }],\n idempotent: true,\n },\n [ConversationThreads_Operations.CLOSE]: {\n operationId: ConversationThreads_Operations.CLOSE,\n purpose: 'Close a conversation: end the exchange and revoke every reply address issued on it.',\n outcome: 'The thread is CLOSED with `closedAt` set, its live reply tokens are revoked (a reply to it no longer binds to the thread), and its retention period starts. The revocation is written to the audit trail.',\n whenToUse: 'The case the conversation was about is finished, or its reply address may have leaked.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The thread is closed; the updated thread is returned.' }],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an administrator of the organization.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No thread with this id exists in the organization.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The thread is already closed.' },\n ],\n idempotent: false,\n examples: [{ title: 'Close a finished matter\\'s thread', request: { organizationId: EXAMPLE_ORGANIZATION_ID, conversationThreadId: EXAMPLE_THREAD_ID }, response: closedThreadExample, forStatus: HttpResponseStatusCode.OK_200 }],\n },\n },\n businessConstraints: [\n 'A thread holds one counterpart on one channel; a new exchange is a new thread.',\n 'What a message causes is decided by the channel handler with its own declared roles. How well the sender is known decides only whether the handler runs, never what it may do.',\n 'Closing revokes every reply address of the thread, and a closed thread is never joined again: a later message opens a new thread.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n);\n\n// ── conversationMessages ────────────────────────────────────────────────────\n\nconst inboundMessageExample = {\n _id: EXAMPLE_MESSAGE_ID,\n organizationId: EXAMPLE_ORGANIZATION_ID,\n threadId: EXAMPLE_THREAD_ID,\n direction: ConversationMessageDirection.INBOUND,\n rfcMessageId: '<CAF7x2kLq9@mail.client.example>',\n fromAddress: 'anna@client.example',\n toAddresses: ['matters@firm.example'],\n subject: 'Matter 2026-17 — signed engagement letter',\n textPreview: 'Please find the signed engagement letter attached.',\n occurredAt: '2026-09-27T09:10:00.000Z',\n inboundDeliveryId: '5f1c2e9b8a7d6c5b4a392817',\n channelRecordRef: { resourceType: 'inboundEmails', resourceId: '66f6a1c2e3d4b5a697889900' },\n outboundStatus: null,\n templateRef: null,\n templateVariables: null,\n locale: null,\n replyToAddress: null,\n threading: null,\n providerMessageIds: [],\n failureCode: null,\n settledAt: null,\n createdAt: '2026-09-27T09:10:00.000Z',\n updatedAt: '2026-09-27T09:10:00.000Z',\n};\n\nconst replyMessageExample = {\n ...inboundMessageExample,\n _id: EXAMPLE_REPLY_ID,\n direction: ConversationMessageDirection.OUTBOUND,\n rfcMessageId: '<3b1f9a2c7d6e5f40a1b2c3d4e5f60718@firm.example>',\n fromAddress: 'matters@firm.example',\n toAddresses: ['anna@client.example'],\n subject: 'Re: Matter 2026-17 — signed engagement letter',\n textPreview: '',\n occurredAt: '2026-09-27T09:12:00.000Z',\n inboundDeliveryId: '5f1c2e9b8a7d6c5b4a392817',\n channelRecordRef: null,\n outboundStatus: ConversationOutboundStatus.ACCEPTED_BY_PROVIDER,\n templateRef: 'matters.document-received',\n locale: 'en',\n replyToAddress: null,\n threading: { inReplyTo: '<CAF7x2kLq9@mail.client.example>', references: ['<CAF7x2kLq9@mail.client.example>'] },\n providerMessageIds: ['re_7mX2p9Lk'],\n settledAt: '2026-09-27T09:12:03.000Z',\n updatedAt: '2026-09-27T09:12:03.000Z',\n};\n\nexport const conversationMessagesResourceSpecification = resourceSpecification(\n conversationMessagesResourceConfiguration_InitializationFactory,\n ConversationMessageSchema,\n ({ schemaShape }) => ({\n purpose: 'Keep every message received on a channel and every reply the application sent, in its thread, as the organization\\'s correspondence.',\n businessRole: 'The business letters themselves: what a client sent and what the organization answered. Commercial and tax law require them kept, so they outlive the thread that grouped them.',\n lifecycleRole: 'An inbound message is recorded when the channel intake admits it; a reply is recorded QUEUED when a handler answers and settled ACCEPTED_BY_PROVIDER or FAILED by the reply worker. Deleted by the retention sweep once the application\\'s BUSINESS_RECORDS period, counted from the end of the calendar year of the message, has passed; an erasure inside that period restricts the message instead of scrubbing it.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.NOTIFICATIONS,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'ConversationMessageSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactory: { packageName: '@wildo-ai/saas-models', exportName: 'conversationMessagesResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION },\n resourceType: { enumDeclaration: enumDeclaration('CoreResourceType'), memberName: 'CONVERSATION_MESSAGES' },\n operationVocabulary: operationVocabulary(),\n notes: [\n ENGINE_ONLY_NOTE,\n 'The message row carries a preview, never the body or the attachments: those stay in the channel\\'s own record (`channelRecordRef`), which the erasure of the channel record governs.',\n '`submissionId` makes a reply idempotent: a handler that runs twice for one delivery queues one reply, and the provider receives one send.',\n ],\n },\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Identifier of one message. For an inbound message it is the id of the delivery that carried it.', semanticRole: 'identifier', importance: FieldSemanticImportance.PRIMARY }),\n organizationId: schemaShape.organizationId.foreignKeySpec({ meaning: 'The organization whose correspondence this is.', importance: FieldSemanticImportance.PRIMARY }),\n threadId: schemaShape.threadId.foreignKeySpec({ meaning: 'The thread the message belongs to.', whyItMatters: 'A plain reference, not ownership: the message outlives its thread for its statutory period.', importance: FieldSemanticImportance.PRIMARY }),\n direction: schemaShape.direction.enumSpec({\n meaning: 'Whether the message was received or sent.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: enumDeclaration('ConversationMessageDirection'),\n values: {\n [ConversationMessageDirection.INBOUND]: { meaning: 'Received on the channel and admitted by the intake.' },\n [ConversationMessageDirection.OUTBOUND]: { meaning: 'A reply the application sent through a handler\\'s `ctx.reply`.' },\n },\n }),\n rfcMessageId: schemaShape.rfcMessageId.stringSpec({ meaning: 'The message\\'s Message-ID: the sender\\'s for a received message, the application\\'s own for a reply.', whyItMatters: 'What later messages cite in In-Reply-To and References to join this thread.', semanticRole: 'code' }),\n fromAddress: schemaShape.fromAddress.stringSpec({ meaning: 'Who sent the message.', whyItMatters: 'Masked on erasure.' }),\n toAddresses: schemaShape.toAddresses.arraySpec({ meaning: 'Who the message was addressed to.', elementMeaning: 'One recipient address.', whyItMatters: 'Emptied on erasure.' }),\n subject: schemaShape.subject.stringSpec({ meaning: 'The subject line.', importance: FieldSemanticImportance.PRIMARY }),\n textPreview: schemaShape.textPreview.stringSpec({ meaning: 'The first 500 characters of the text, for the thread view. Empty for a reply, whose words live in its template.', whyItMatters: 'Masked on erasure.' }),\n occurredAt: schemaShape.occurredAt.dateSpec({ meaning: 'When the message was received, or queued to send.', temporalRole: 'occurred', importance: FieldSemanticImportance.PRIMARY }),\n inboundDeliveryId: schemaShape.inboundDeliveryId.stringSpec({ meaning: 'The inbound delivery that carried a received message, or that the reply answers.', semanticRole: 'identifier' }),\n channelRecordRef: schemaShape.channelRecordRef.objectSpec({ meaning: 'Where the channel\\'s full record of a received message lives (for email, the stored message with its body and attachments).' }),\n submissionId: schemaShape.submissionId.stringSpec({ meaning: 'For a reply: the idempotency key derived from the delivery answered and the template chosen.', whyItMatters: 'Unique, so one delivery queues one reply per template however often its handler runs.', semanticRole: 'code' }),\n outboundStatus: schemaShape.outboundStatus.enumSpec({\n meaning: 'For a reply: whether it has left the application.',\n enumDeclaration: enumDeclaration('ConversationOutboundStatus'),\n values: {\n [ConversationOutboundStatus.QUEUED]: { meaning: 'Recorded and waiting for the reply worker.' },\n [ConversationOutboundStatus.ACCEPTED_BY_PROVIDER]: { meaning: 'The email provider accepted it for delivery. Delivery to the inbox is the provider\\'s to report.' },\n [ConversationOutboundStatus.FAILED]: { meaning: 'Refused by the provider, or out of retries. `failureCode` says why.' },\n },\n }),\n templateRef: schemaShape.templateRef.stringSpec({ meaning: 'For a reply: the email template the handler chose.', semanticRole: 'code' }),\n templateVariables: schemaShape.templateVariables.objectSpec({ meaning: 'For a reply: the values the template was rendered with.', whyItMatters: 'Reset on erasure: they may name the data subject.' }),\n locale: schemaShape.locale.stringSpec({ meaning: 'For a reply: the language the template was rendered in.', semanticRole: 'code' }),\n replyToAddress: schemaShape.replyToAddress.stringSpec({ meaning: 'For a reply still QUEUED: the reply address its send composed, which binds an answer to this thread and recipient.', whyItMatters: 'It carries the reply token in plaintext, so it is backend-only and cleared when the reply settles — kept only so a retried send carries the same address.' }),\n threading: schemaShape.threading.objectSpec({ meaning: 'For a reply: the In-Reply-To and References it was sent with, so the recipient\\'s mail client files it in the same conversation.' }),\n providerMessageIds: schemaShape.providerMessageIds.arraySpec({ meaning: 'For a reply: the ids the email provider returned.', elementMeaning: 'One provider message id.' }),\n failureCode: schemaShape.failureCode.stringSpec({ meaning: 'For a failed reply: the classified reason. Never an error message.', semanticRole: 'code' }),\n settledAt: schemaShape.settledAt.dateSpec({ meaning: 'For a reply: when it was accepted or finally failed.', temporalRole: 'occurred' }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the message was recorded.', temporalRole: 'creation' }),\n updatedAt: schemaShape.updatedAt.dateSpec({ meaning: 'When the message row last changed.', temporalRole: 'modified' }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Read one message of your organization\\'s correspondence.',\n outcome: 'The message, with its direction, sender, recipients, preview and, for a reply, its delivery state.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The message is returned.' }],\n errorScenarios: [MEMBER_FORBIDDEN, { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No message with this id exists in the organization.' }],\n idempotent: true,\n examples: [{ title: 'Read a received message', request: { organizationId: EXAMPLE_ORGANIZATION_ID, conversationMessageId: EXAMPLE_MESSAGE_ID }, response: inboundMessageExample, forStatus: HttpResponseStatusCode.OK_200 }],\n },\n [Op.LIST]: {\n purpose: 'List messages, typically those of one thread (`threadId`), optionally one direction.',\n outcome: 'A page of messages.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'A possibly empty page of messages.' }],\n errorScenarios: [MEMBER_FORBIDDEN],\n idempotent: true,\n examples: [{ title: 'List a thread\\'s messages', request: { organizationId: EXAMPLE_ORGANIZATION_ID, threadId: EXAMPLE_THREAD_ID, sort: 'occurredAt:asc' }, response: page([inboundMessageExample, replyMessageExample]), forStatus: HttpResponseStatusCode.OK_200 }],\n },\n [Op.CREATE]: {\n purpose: 'Record a message. Written only by the channel intake (received) and by `ctx.reply` (sent).',\n outcome: 'The message is part of its thread.',\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 delivery or reply submission is already recorded.' }],\n idempotent: false,\n },\n [Op.UPDATE]: {\n purpose: 'Settle a reply (accepted or failed). Written only by the reply worker.',\n outcome: 'The reply\\'s delivery state is recorded once.',\n whenToUse: 'Repository-only: never an HTTP surface.',\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): scrubs addresses, subjects, previews and template variables once no statutory period restricts it.',\n outcome: 'A data subject\\'s words and addresses leave the correspondence while the record that a message existed 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).',\n outcome: 'A message leaves when its BUSINESS_RECORDS period, counted from the end of its calendar year, has passed, or with its organization.',\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 'A reply leaves only through the application\\'s email service, with exactly the Message-ID, In-Reply-To and References headers; a handler cannot set any other header.',\n 'One delivery queues at most one reply per template, however often its handler runs.',\n 'Received and sent messages are business correspondence: an erasure inside their statutory period restricts them instead of deleting them.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n);\n\n// ── conversationReplyTokens ─────────────────────────────────────────────────\n\nexport const conversationReplyTokensResourceSpecification = resourceSpecification(\n conversationReplyTokensResourceConfiguration_InitializationFactory,\n ConversationReplyTokenSchema,\n ({ schemaShape }) => ({\n purpose: 'Record the reply addresses issued on a thread, by the hash of their secret, so an answer to one binds to its thread and to the recipient it was issued to.',\n businessRole: 'The strongest proof of who is replying that email offers: a reply address is a bearer secret issued to one recipient on one thread, so a reply to it from that recipient\\'s aligned domain is THREAD_TOKEN_BOUND.',\n lifecycleRole: 'Issued when a reply is sent to a recipient; a new issue to the same recipient on the same thread rotates the previous one. Revoked when the thread closes, when its counterpart changes, and — detected when it is next used — when a member recipient stops being a member. Deleted with its thread.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.NOTIFICATIONS,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'ConversationReplyTokenSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactory: { packageName: '@wildo-ai/saas-models', exportName: 'conversationReplyTokensResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION },\n resourceType: { enumDeclaration: enumDeclaration('CoreResourceType'), memberName: 'CONVERSATION_REPLY_TOKENS' },\n operationVocabulary: operationVocabulary(),\n notes: [\n 'No HTTP surface at all: READ and LIST are INTERNAL_CALL. A reply address is a bearer secret, and which ones exist is nobody\\'s business but the engine\\'s.',\n 'The token is 128 bits from a CSPRNG and only its SHA-256 is stored; the plaintext exists only in the address the reply carried.',\n 'A token of another organization, presented at this organization\\'s address, makes the message UNROUTABLE rather than merely unbound.',\n ],\n },\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Identifier of one issued reply address, derived from its hash.', semanticRole: 'identifier', importance: FieldSemanticImportance.PRIMARY }),\n organizationId: schemaShape.organizationId.foreignKeySpec({ meaning: 'The organization that issued the address.', whyItMatters: 'A token resolves only inside this organization.', importance: FieldSemanticImportance.PRIMARY }),\n threadId: schemaShape.threadId.foreignKeySpec({ meaning: 'The thread the address binds replies to.', importance: FieldSemanticImportance.PRIMARY }),\n recipientAddress: schemaShape.recipientAddress.stringSpec({ meaning: 'The address the reply address was issued to.', whyItMatters: 'A reply from any other address is downgraded, and audited. Masked on erasure.' }),\n recipientMemberUserId: schemaShape.recipientMemberUserId.foreignKeySpec({ meaning: 'When the recipient is a member of the organization, that member.', whyItMatters: 'Re-checked when the token is used: once they stop being a member, the token binds nothing.' }),\n tokenHash: schemaShape.tokenHash.stringSpec({ meaning: 'SHA-256 of the secret, hex.', whyItMatters: 'The only stored form of the secret; backend-only and never returned.', semanticRole: 'code' }),\n issuedAt: schemaShape.issuedAt.dateSpec({ meaning: 'When the address was issued.', temporalRole: 'occurred' }),\n revokedAt: schemaShape.revokedAt.dateSpec({ meaning: 'When the address stopped binding.', temporalRole: 'occurred' }),\n revocationReason: schemaShape.revocationReason.enumSpec({\n meaning: 'Why the address stopped binding.',\n enumDeclaration: enumDeclaration('ReplyTokenRevocationReason'),\n values: {\n [ReplyTokenRevocationReason.THREAD_CLOSED]: { meaning: 'Its thread was closed.' },\n [ReplyTokenRevocationReason.COUNTERPART_CHANGED]: { meaning: 'The thread\\'s counterpart changed, so the previous counterpart\\'s addresses were revoked.' },\n [ReplyTokenRevocationReason.MEMBER_REMOVED]: { meaning: 'Its member recipient is no longer an active member.' },\n [ReplyTokenRevocationReason.ROTATED]: { meaning: 'A newer address was issued to the same recipient on the same thread.' },\n },\n }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the row was written.', temporalRole: 'creation' }),\n updatedAt: schemaShape.updatedAt.dateSpec({ meaning: 'When the row last changed — its revocation.', temporalRole: 'modified' }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Resolve a presented reply address by its hash. Internal, route-less.',\n outcome: 'The token service learns which thread and recipient the address binds, and whether it still does.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Internal read.' }],\n idempotent: true,\n },\n [Op.LIST]: {\n purpose: 'Find the live addresses of a thread or recipient, to rotate or revoke them. Internal, route-less.',\n outcome: 'The token service revokes exactly the addresses it means to.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Internal read.' }],\n idempotent: true,\n },\n [Op.CREATE]: {\n purpose: 'Issue a reply address. Written only by the token service.',\n outcome: 'A reply to the address binds to its thread and recipient.',\n whenToUse: 'Repository-only: never an HTTP surface.',\n responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The token was stored. Internal write path.' }],\n idempotent: false,\n },\n [Op.UPDATE]: {\n purpose: 'Revoke a reply address, once, with its reason. Written only by the token service.',\n outcome: 'The address binds nothing from that instant.',\n whenToUse: 'Repository-only: never an HTTP surface.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The token was revoked. Internal write path.' }],\n idempotent: false,\n },\n [Op.UPDATE_MANY]: {\n purpose: 'The erasure writer\\'s door (internal, route-less): masks recipient addresses.',\n outcome: 'A data subject\\'s address leaves the tokens.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Internal scrub completed.' }],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Remove a token with its thread (internal, route-less).',\n outcome: 'Tokens never outlive their thread.',\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, for a thread\\'s cascade (internal, route-less).',\n outcome: 'A deleted thread takes every token issued on it.',\n responseStatuses: [{ code: HttpResponseStatusCode.NO_CONTENT_204, meaning: 'Internal delete completed.' }],\n idempotent: true,\n },\n },\n businessConstraints: [\n 'At most one live address per recipient per thread.',\n 'A token binds only in the organization that issued it, only while it is live, and only for a reply from the recipient\\'s address on an aligned domain.',\n 'The plaintext secret is never stored and never returned.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n);\n"]}
|
|
1
|
+
{"version":3,"file":"conversation-threads.resource.specification.js","sourceRoot":"","sources":["../../../../../src/engine/notifications/resources/conversation-threads.resource.specification.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,4BAA4B,EAC5B,yBAAyB,EACzB,0BAA0B,EAC1B,4BAA4B,EAC5B,wBAAwB,EACxB,wBAAwB,EACxB,8BAA8B,EAC9B,qBAAqB,IAAI,EAAE,EAC3B,kBAAkB,EAClB,0BAA0B,EAC1B,oBAAoB,EACpB,+DAA+D,EAC/D,kEAAkE,EAClE,8DAA8D,GAC/D,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,iBAAiB,GAAG,0BAA0B,CAAC;AACrD,MAAM,kBAAkB,GAAG,0BAA0B,CAAC;AACtD,MAAM,gBAAgB,GAAG,0BAA0B,CAAC;AAEpD,MAAM,eAAe,GAAG,CAAC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QACpD,wJAAwJ;QACxJ,0DAA0D;KAC3D;CACF,CAAC,EACF,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,aAAa,EAAE,CAC7D,CAAC","sourcesContent":["/**\n * Resources: `conversationThreads`, `conversationMessages`, `conversationReplyTokens` — Wildo SaaS engine\n * specifications (organization-scoped, engine-written). #1630.\n *\n * Inputs:\n * - Schemas: `ConversationThreadSchema`, `ConversationMessageSchema`, `ConversationReplyTokenSchema`\n * (`inbound/conversation-threads.shared.schemas.ts`)\n * - Factories: `conversation{Threads,Messages,ReplyTokens}ResourceConfiguration_InitializationFactory`\n * (`inbound/conversation-threads.shared.resources-config.schemas.ts`)\n * - Custom operation: `ConversationThreads_Operations.CLOSE`, implemented by\n * `conversation-thread-close.custom-impl.backend.service.ts` (saas-backend-lib).\n * - Writers: the channel intake opens threads and records received messages, `ctx.reply` records replies\n * and the reply worker settles them, the reply-token service issues and revokes tokens.\n *\n * Why `ORGANIZATIONS` scope: a thread is the organization's own correspondence about its own cases. The\n * registry relationships ORGANIZATIONS → each resource carry `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 ConversationMessageDirection,\n ConversationMessageSchema,\n ConversationOutboundStatus,\n ConversationReplyTokenSchema,\n ConversationThreadSchema,\n ConversationThreadStatus,\n ConversationThreads_Operations,\n CoreResourceOperation as Op,\n InboundChannelKind,\n ReplyTokenRevocationReason,\n ResourcePrimaryScope,\n conversationMessagesResourceConfiguration_InitializationFactory,\n conversationReplyTokensResourceConfiguration_InitializationFactory,\n conversationThreadsResourceConfiguration_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_THREAD_ID = '66f6a1c2e3d4b5a697887766';\nconst EXAMPLE_MESSAGE_ID = '66f6a1c2e3d4b5a697887767';\nconst EXAMPLE_REPLY_ID = '66f6a1c2e3d4b5a697887768';\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.' };\n\nconst ENGINE_ONLY_NOTE = 'CREATE and UPDATE are REPOSITORY_ONLY and UPDATE_MANY / DELETE / DELETE_MANY are INTERNAL_CALL: the engine is the only writer, so no request can invent a message, backdate a closure or delete correspondence.';\n\n// ── conversationThreads ─────────────────────────────────────────────────────\n\nconst openThreadExample = {\n _id: EXAMPLE_THREAD_ID,\n organizationId: EXAMPLE_ORGANIZATION_ID,\n channel: InboundChannelKind.EMAIL,\n threadKey: '<CAF7x2kLq9@mail.client.example>',\n counterpartAddress: 'anna@client.example',\n subject: 'Matter 2026-17 — signed engagement letter',\n linkedResource: { resourceType: 'matters', resourceId: '66f6a1c2e3d4b5a697880001' },\n status: ConversationThreadStatus.OPEN,\n lastMessageAt: '2026-09-27T09:12:00.000Z',\n closedAt: null,\n createdAt: '2026-09-27T09:10:00.000Z',\n updatedAt: '2026-09-27T09:12:00.000Z',\n};\n\nconst closedThreadExample = { ...openThreadExample, status: ConversationThreadStatus.CLOSED, closedAt: '2026-10-02T16:00:00.000Z', updatedAt: '2026-10-02T16:00:00.000Z' };\n\nexport const conversationThreadsResourceSpecification = resourceSpecification(\n conversationThreadsResourceConfiguration_InitializationFactory,\n ConversationThreadSchema,\n ({ schemaShape }) => ({\n purpose: 'Group the messages exchanged with one counterpart on one channel into a conversation the organization can follow, link to its own work and close.',\n businessRole: 'What makes inbound correspondence traceable: every message received and every reply sent lands in a thread, so the organization can see what a client sent about a case and what it answered.',\n lifecycleRole: 'Opened OPEN by the channel intake when a message starts a new exchange; moved forward by every message in either direction; CLOSED by an organization administrator, which revokes the thread\\'s reply addresses. Deleted by the retention sweep once the application\\'s RESOURCE_DATA period has passed since it closed; an open thread never expires.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.NOTIFICATIONS,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'ConversationThreadSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactory: { packageName: '@wildo-ai/saas-models', exportName: 'conversationThreadsResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION },\n resourceType: { enumDeclaration: enumDeclaration('CoreResourceType'), memberName: 'CONVERSATION_THREADS' },\n operationVocabulary: operationVocabulary('ConversationThreads_Operations'),\n notes: [\n ENGINE_ONLY_NOTE,\n 'A thread is correlation, not the record: its messages are the business letters and carry their own statutory retention. Deleting a thread takes its reply tokens (COMPOSITION) but never its messages (REFERENCE).',\n '`linkedResource` is set only through the channel handler\\'s `ctx.thread.link`, and only to a row that handler can READ with its own declared roles — never by a message.',\n ],\n },\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Identifier of one conversation.', semanticRole: 'identifier', importance: FieldSemanticImportance.PRIMARY }),\n organizationId: schemaShape.organizationId.foreignKeySpec({ meaning: 'The organization whose correspondence this is.', whyItMatters: 'The scope anchor: a thread, its messages and its reply addresses never reach another organization.', importance: FieldSemanticImportance.PRIMARY }),\n channel: schemaShape.channel.enumSpec({\n meaning: 'The channel the conversation happens on.',\n enumDeclaration: enumDeclaration('InboundChannelKind'),\n values: {\n [InboundChannelKind.EMAIL]: { meaning: 'Email: messages received for the application\\'s addresses and replies sent from them.' },\n [InboundChannelKind.SMS]: { meaning: 'SMS: texts received on a number the application gave the organization, and replies sent from that number. One thread per open exchange between the two numbers.' },\n [InboundChannelKind.WEBHOOK]: { meaning: 'Not used for threads: a signed webhook delivery is not a conversation.' },\n },\n }),\n threadKey: schemaShape.threadKey.stringSpec({ meaning: 'The channel\\'s own identity of the exchange — for email, the Message-ID of the message that started it.', whyItMatters: 'Unique per organization and channel, so two messages of one exchange can never open two threads.', semanticRole: 'code' }),\n counterpartAddress: schemaShape.counterpartAddress.stringSpec({ meaning: 'The address of the party the organization is corresponding with.', whyItMatters: 'Header correlation only admits a reply from this party\\'s domain, and a change of counterpart revokes the previous one\\'s reply addresses. Masked on erasure.', importance: FieldSemanticImportance.PRIMARY }),\n subject: schemaShape.subject.stringSpec({ meaning: 'The subject of the exchange, as the first message stated it.', importance: FieldSemanticImportance.PRIMARY }),\n linkedResource: schemaShape.linkedResource.objectSpec({ meaning: 'The case, matter or other record of the organization this conversation is about, when the handler linked one.', whyItMatters: 'What lets the organization read the correspondence from the record it concerns.' }),\n status: schemaShape.status.enumSpec({\n meaning: 'Whether the exchange is still open.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: enumDeclaration('ConversationThreadStatus'),\n values: {\n [ConversationThreadStatus.OPEN]: { meaning: 'Messages still join the thread and its reply addresses still bind.' },\n [ConversationThreadStatus.CLOSED]: { meaning: 'Closed by an administrator: its reply addresses are revoked and its retention period runs.' },\n },\n }),\n lastMessageAt: schemaShape.lastMessageAt.dateSpec({ meaning: 'When the latest message, in either direction, was recorded.', temporalRole: 'occurred' }),\n closedAt: schemaShape.closedAt.dateSpec({ meaning: 'When the thread was closed.', whyItMatters: 'The start of the thread\\'s RESOURCE_DATA retention period. Absent while open, so an open thread never expires.', temporalRole: 'occurred' }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the thread was opened.', temporalRole: 'creation' }),\n updatedAt: schemaShape.updatedAt.dateSpec({ meaning: 'When the thread last changed.', temporalRole: 'modified' }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Read one conversation of your organization.',\n outcome: 'The thread, with its counterpart, subject, linked record and status.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The thread is returned.' }],\n errorScenarios: [MEMBER_FORBIDDEN, { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No thread with this id exists in the organization.' }],\n idempotent: true,\n examples: [{ title: 'Read an open email thread', request: { organizationId: EXAMPLE_ORGANIZATION_ID, conversationThreadId: EXAMPLE_THREAD_ID }, response: openThreadExample, forStatus: HttpResponseStatusCode.OK_200 }],\n },\n [Op.LIST]: {\n purpose: 'List the organization\\'s conversations — typically those linked to one record, by filtering on `linkedResource.resourceType` and `linkedResource.resourceId`.',\n outcome: 'A page of threads, newest first; sorting by `lastMessageAt` puts the most recently active first.',\n whenToUse: 'A record\\'s page shows its conversations with `EmbedLinkedConversations`, which pins both linked-resource filters to that record.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'A possibly empty page of threads.' }],\n errorScenarios: [MEMBER_FORBIDDEN],\n idempotent: true,\n examples: [{\n title: 'List the conversations linked to one matter',\n request: { organizationId: EXAMPLE_ORGANIZATION_ID, 'linkedResource.resourceType': 'matters', 'linkedResource.resourceId': '66f6a1c2e3d4b5a697880001', sort: 'lastMessageAt:desc' },\n response: page([openThreadExample]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.CREATE]: {\n purpose: 'Open a thread. Written only by the channel intake, when a message starts a new exchange.',\n outcome: 'The exchange has a thread its messages join.',\n whenToUse: 'Repository-only: never an HTTP surface.',\n responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The thread was stored. Internal write path.' }],\n errorScenarios: [{ code: HttpResponseStatusCode.CONFLICT_409, when: 'A thread with the same key already exists for the organization and channel.' }],\n idempotent: false,\n },\n [Op.UPDATE]: {\n purpose: 'Advance a thread (latest message, linked record, counterpart). Written only by the engine.',\n outcome: 'The thread reflects its latest message.',\n whenToUse: 'Repository-only: never an HTTP surface — administrators act through CLOSE.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The thread was updated. Internal write path.' }],\n errorScenarios: [{ code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No thread with this id exists.' }],\n idempotent: false,\n },\n [Op.UPDATE_MANY]: {\n purpose: 'The erasure writer\\'s door: masks counterpart addresses and subjects in bulk. Internal, route-less.',\n outcome: 'A data subject\\'s address and words leave the threads while the structure 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: an internal, route-less call. Takes the thread\\'s reply tokens with it, never its messages.',\n outcome: 'A thread leaves only when its RESOURCE_DATA period since closure has passed, or with its organization.',\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: 'Closed threads whose period has ended are removed together with their reply tokens.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Internal retention delete completed.' }],\n idempotent: true,\n },\n [ConversationThreads_Operations.CLOSE]: {\n operationId: ConversationThreads_Operations.CLOSE,\n purpose: 'Close a conversation: end the exchange and revoke every reply address issued on it.',\n outcome: 'The thread is CLOSED with `closedAt` set, its live reply tokens are revoked (a reply to it no longer binds to the thread), and its retention period starts. The revocation is written to the audit trail.',\n whenToUse: 'The case the conversation was about is finished, or its reply address may have leaked.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The thread is closed; the updated thread is returned.' }],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an administrator of the organization.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No thread with this id exists in the organization.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The thread is already closed.' },\n ],\n idempotent: false,\n examples: [{ title: 'Close a finished matter\\'s thread', request: { organizationId: EXAMPLE_ORGANIZATION_ID, conversationThreadId: EXAMPLE_THREAD_ID }, response: closedThreadExample, forStatus: HttpResponseStatusCode.OK_200 }],\n },\n },\n businessConstraints: [\n 'A thread holds one counterpart on one channel; a new exchange is a new thread.',\n 'What a message causes is decided by the channel handler with its own declared roles. How well the sender is known decides only whether the handler runs, never what it may do.',\n 'Closing revokes every reply address of the thread, and a closed thread is never joined again: a later message opens a new thread.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n);\n\n// ── conversationMessages ────────────────────────────────────────────────────\n\nconst inboundMessageExample = {\n _id: EXAMPLE_MESSAGE_ID,\n organizationId: EXAMPLE_ORGANIZATION_ID,\n threadId: EXAMPLE_THREAD_ID,\n direction: ConversationMessageDirection.INBOUND,\n rfcMessageId: '<CAF7x2kLq9@mail.client.example>',\n fromAddress: 'anna@client.example',\n toAddresses: ['matters@firm.example'],\n subject: 'Matter 2026-17 — signed engagement letter',\n textPreview: 'Please find the signed engagement letter attached.',\n occurredAt: '2026-09-27T09:10:00.000Z',\n inboundDeliveryId: '5f1c2e9b8a7d6c5b4a392817',\n channelRecordRef: { resourceType: 'inboundEmails', resourceId: '66f6a1c2e3d4b5a697889900' },\n outboundStatus: null,\n templateRef: null,\n templateVariables: null,\n locale: null,\n attachmentFileIds: [],\n // No `replyToAddress`: it is backend-only (it carries the reply token in plaintext), so no response returns it (#1838).\n threading: null,\n providerMessageIds: [],\n failureCode: null,\n settledAt: null,\n createdAt: '2026-09-27T09:10:00.000Z',\n updatedAt: '2026-09-27T09:10:00.000Z',\n};\n\nconst replyMessageExample = {\n ...inboundMessageExample,\n _id: EXAMPLE_REPLY_ID,\n direction: ConversationMessageDirection.OUTBOUND,\n rfcMessageId: '<3b1f9a2c7d6e5f40a1b2c3d4e5f60718@firm.example>',\n fromAddress: 'matters@firm.example',\n toAddresses: ['anna@client.example'],\n subject: 'Re: Matter 2026-17 — signed engagement letter',\n textPreview: '',\n occurredAt: '2026-09-27T09:12:00.000Z',\n inboundDeliveryId: '5f1c2e9b8a7d6c5b4a392817',\n channelRecordRef: null,\n outboundStatus: ConversationOutboundStatus.ACCEPTED_BY_PROVIDER,\n templateRef: 'matters.document-received',\n locale: 'en',\n attachmentFileIds: ['66f6a1c2e3d4b5a697889911'],\n threading: { inReplyTo: '<CAF7x2kLq9@mail.client.example>', references: ['<CAF7x2kLq9@mail.client.example>'] },\n providerMessageIds: ['re_7mX2p9Lk'],\n settledAt: '2026-09-27T09:12:03.000Z',\n updatedAt: '2026-09-27T09:12:03.000Z',\n};\n\nexport const conversationMessagesResourceSpecification = resourceSpecification(\n conversationMessagesResourceConfiguration_InitializationFactory,\n ConversationMessageSchema,\n ({ schemaShape }) => ({\n purpose: 'Keep every message received on a channel and every reply the application sent, in its thread, as the organization\\'s correspondence.',\n businessRole: 'The business letters themselves: what a client sent and what the organization answered. Commercial and tax law require them kept, so they outlive the thread that grouped them.',\n lifecycleRole: 'An inbound message is recorded when the channel intake admits it; a reply is recorded QUEUED when a handler answers and settled ACCEPTED_BY_PROVIDER or FAILED by the reply worker. Deleted by the retention sweep once the application\\'s BUSINESS_RECORDS period, counted from the end of the calendar year of the message, has passed; an erasure inside that period restricts the message instead of scrubbing it.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.NOTIFICATIONS,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'ConversationMessageSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactory: { packageName: '@wildo-ai/saas-models', exportName: 'conversationMessagesResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION },\n resourceType: { enumDeclaration: enumDeclaration('CoreResourceType'), memberName: 'CONVERSATION_MESSAGES' },\n operationVocabulary: operationVocabulary(),\n notes: [\n ENGINE_ONLY_NOTE,\n 'A received message\\'s row carries a preview, never the body or the attachments: those stay in the channel\\'s own record (`channelRecordRef`), which the erasure of the channel record governs.',\n 'A reply\\'s row carries the ids of the files its handler attached (`attachmentFileIds`), each one checked against the handler\\'s own READ authority in the organization when the reply was queued, and confined to the organization again when it is sent.',\n '`submissionId` makes a reply idempotent: a handler that runs twice for one delivery queues one reply, and the provider receives one send.',\n ],\n },\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Identifier of one message. For an inbound message it is the id of the delivery that carried it.', semanticRole: 'identifier', importance: FieldSemanticImportance.PRIMARY }),\n organizationId: schemaShape.organizationId.foreignKeySpec({ meaning: 'The organization whose correspondence this is.', importance: FieldSemanticImportance.PRIMARY }),\n threadId: schemaShape.threadId.foreignKeySpec({ meaning: 'The thread the message belongs to.', whyItMatters: 'A plain reference, not ownership: the message outlives its thread for its statutory period.', importance: FieldSemanticImportance.PRIMARY }),\n direction: schemaShape.direction.enumSpec({\n meaning: 'Whether the message was received or sent.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: enumDeclaration('ConversationMessageDirection'),\n values: {\n [ConversationMessageDirection.INBOUND]: { meaning: 'Received on the channel and admitted by the intake.' },\n [ConversationMessageDirection.OUTBOUND]: { meaning: 'A reply the application sent through a handler\\'s `ctx.reply`.' },\n },\n }),\n rfcMessageId: schemaShape.rfcMessageId.stringSpec({ meaning: 'The message\\'s Message-ID: the sender\\'s for a received message, the application\\'s own for a reply.', whyItMatters: 'What later messages cite in In-Reply-To and References to join this thread.', semanticRole: 'code' }),\n fromAddress: schemaShape.fromAddress.stringSpec({ meaning: 'Who sent the message.', whyItMatters: 'Masked on erasure.' }),\n toAddresses: schemaShape.toAddresses.arraySpec({ meaning: 'Who the message was addressed to.', elementMeaning: 'One recipient address.', whyItMatters: 'Emptied on erasure.' }),\n subject: schemaShape.subject.stringSpec({ meaning: 'The subject line.', importance: FieldSemanticImportance.PRIMARY }),\n textPreview: schemaShape.textPreview.stringSpec({ meaning: 'The first 500 characters of the text, for the thread view. Empty for a reply, whose words live in its template.', whyItMatters: 'Masked on erasure.' }),\n occurredAt: schemaShape.occurredAt.dateSpec({ meaning: 'When the message was received, or queued to send.', temporalRole: 'occurred', importance: FieldSemanticImportance.PRIMARY }),\n inboundDeliveryId: schemaShape.inboundDeliveryId.stringSpec({ meaning: 'The inbound delivery that carried a received message, or that the reply answers.', semanticRole: 'identifier' }),\n channelRecordRef: schemaShape.channelRecordRef.objectSpec({ meaning: 'Where the channel\\'s full record of a received message lives (for email, the stored message with its body and attachments).' }),\n submissionId: schemaShape.submissionId.stringSpec({ meaning: 'For a reply: the idempotency key derived from the delivery answered and the template chosen.', whyItMatters: 'Unique, so one delivery queues one reply per template however often its handler runs.', semanticRole: 'code' }),\n outboundStatus: schemaShape.outboundStatus.enumSpec({\n meaning: 'For a reply: whether it has left the application.',\n enumDeclaration: enumDeclaration('ConversationOutboundStatus'),\n values: {\n [ConversationOutboundStatus.QUEUED]: { meaning: 'Recorded and waiting for the reply worker.' },\n [ConversationOutboundStatus.ACCEPTED_BY_PROVIDER]: { meaning: 'The email provider accepted it for delivery. Delivery to the inbox is the provider\\'s to report.' },\n [ConversationOutboundStatus.FAILED]: { meaning: 'Refused by the provider, or out of retries. `failureCode` says why.' },\n },\n }),\n templateRef: schemaShape.templateRef.stringSpec({ meaning: 'For a reply: the email template the handler chose.', semanticRole: 'code' }),\n templateVariables: schemaShape.templateVariables.objectSpec({ meaning: 'For a reply: the values the template was rendered with.', whyItMatters: 'Reset on erasure: they may name the data subject.' }),\n locale: schemaShape.locale.stringSpec({ meaning: 'For a reply: the language the template was rendered in.', semanticRole: 'code' }),\n attachmentFileIds: schemaShape.attachmentFileIds.arraySpec({\n meaning: 'For a reply: the files sent with it as attachments, by id.',\n elementMeaning: 'One file id: a file on a record the handler could read, or one its delivery produced.',\n whyItMatters: 'The reply\\'s only record of what it sends, kept from the moment it is queued until it is sent. A file the handler could not read, or another organization\\'s, is refused when the reply is queued.',\n }),\n replyToAddress: schemaShape.replyToAddress.stringSpec({ meaning: 'For a reply still QUEUED: the reply address its send composed, which binds an answer to this thread and recipient.', whyItMatters: 'It carries the reply token in plaintext, so it is backend-only and cleared when the reply settles — kept only so a retried send carries the same address.' }),\n threading: schemaShape.threading.objectSpec({ meaning: 'For a reply: the In-Reply-To and References it was sent with, so the recipient\\'s mail client files it in the same conversation.' }),\n providerMessageIds: schemaShape.providerMessageIds.arraySpec({ meaning: 'For a reply: the ids the email provider returned.', elementMeaning: 'One provider message id.' }),\n failureCode: schemaShape.failureCode.stringSpec({ meaning: 'For a failed reply: the classified reason. Never an error message.', semanticRole: 'code' }),\n settledAt: schemaShape.settledAt.dateSpec({ meaning: 'For a reply: when it was accepted or finally failed.', temporalRole: 'occurred' }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the message was recorded.', temporalRole: 'creation' }),\n updatedAt: schemaShape.updatedAt.dateSpec({ meaning: 'When the message row last changed.', temporalRole: 'modified' }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Read one message of your organization\\'s correspondence.',\n outcome: 'The message, with its direction, sender, recipients, preview and, for a reply, its delivery state.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The message is returned.' }],\n errorScenarios: [MEMBER_FORBIDDEN, { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No message with this id exists in the organization.' }],\n idempotent: true,\n examples: [{ title: 'Read a received message', request: { organizationId: EXAMPLE_ORGANIZATION_ID, conversationMessageId: EXAMPLE_MESSAGE_ID }, response: inboundMessageExample, forStatus: HttpResponseStatusCode.OK_200 }],\n },\n [Op.LIST]: {\n purpose: 'List messages, typically those of one thread (`threadId`), optionally one direction.',\n outcome: 'A page of messages.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'A possibly empty page of messages.' }],\n errorScenarios: [MEMBER_FORBIDDEN],\n idempotent: true,\n examples: [{ title: 'List a thread\\'s messages', request: { organizationId: EXAMPLE_ORGANIZATION_ID, threadId: EXAMPLE_THREAD_ID, sort: 'occurredAt:asc' }, response: page([inboundMessageExample, replyMessageExample]), forStatus: HttpResponseStatusCode.OK_200 }],\n },\n [Op.CREATE]: {\n purpose: 'Record a message. Written only by the channel intake (received) and by `ctx.reply` (sent).',\n outcome: 'The message is part of its thread.',\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 delivery or reply submission is already recorded.' }],\n idempotent: false,\n },\n [Op.UPDATE]: {\n purpose: 'Settle a reply (accepted or failed). Written only by the reply worker.',\n outcome: 'The reply\\'s delivery state is recorded once.',\n whenToUse: 'Repository-only: never an HTTP surface.',\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): scrubs addresses, subjects, previews and template variables once no statutory period restricts it.',\n outcome: 'A data subject\\'s words and addresses leave the correspondence while the record that a message existed 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).',\n outcome: 'A message leaves when its BUSINESS_RECORDS period, counted from the end of its calendar year, has passed, or with its organization.',\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 'A reply leaves only through the application\\'s email service, with exactly the Message-ID, In-Reply-To and References headers; a handler cannot set any other header.',\n 'One delivery queues at most one reply per template, however often its handler runs.',\n 'Received and sent messages are business correspondence: an erasure inside their statutory period restricts them instead of deleting them.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n);\n\n// ── conversationReplyTokens ─────────────────────────────────────────────────\n\nexport const conversationReplyTokensResourceSpecification = resourceSpecification(\n conversationReplyTokensResourceConfiguration_InitializationFactory,\n ConversationReplyTokenSchema,\n ({ schemaShape }) => ({\n purpose: 'Record the reply addresses issued on a thread, by the hash of their secret, so an answer to one binds to its thread and to the recipient it was issued to.',\n businessRole: 'The strongest proof of who is replying that email offers: a reply address is a bearer secret issued to one recipient on one thread, so a reply to it from that recipient\\'s aligned domain is THREAD_TOKEN_BOUND.',\n lifecycleRole: 'Issued when a reply is sent to a recipient; a new issue to the same recipient on the same thread rotates the previous one. Revoked when the thread closes, when its counterpart changes, and — detected when it is next used — when a member recipient stops being a member. Deleted with its thread.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.NOTIFICATIONS,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'ConversationReplyTokenSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactory: { packageName: '@wildo-ai/saas-models', exportName: 'conversationReplyTokensResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION },\n resourceType: { enumDeclaration: enumDeclaration('CoreResourceType'), memberName: 'CONVERSATION_REPLY_TOKENS' },\n operationVocabulary: operationVocabulary(),\n notes: [\n 'No HTTP surface at all: READ and LIST are INTERNAL_CALL. A reply address is a bearer secret, and which ones exist is nobody\\'s business but the engine\\'s.',\n 'The token is 128 bits from a CSPRNG and only its SHA-256 is stored; the plaintext exists only in the address the reply carried.',\n 'A token of another organization, presented at this organization\\'s address, makes the message UNROUTABLE rather than merely unbound.',\n ],\n },\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Identifier of one issued reply address, derived from its hash.', semanticRole: 'identifier', importance: FieldSemanticImportance.PRIMARY }),\n organizationId: schemaShape.organizationId.foreignKeySpec({ meaning: 'The organization that issued the address.', whyItMatters: 'A token resolves only inside this organization.', importance: FieldSemanticImportance.PRIMARY }),\n threadId: schemaShape.threadId.foreignKeySpec({ meaning: 'The thread the address binds replies to.', importance: FieldSemanticImportance.PRIMARY }),\n recipientAddress: schemaShape.recipientAddress.stringSpec({ meaning: 'The address the reply address was issued to.', whyItMatters: 'A reply from any other address is downgraded, and audited. Masked on erasure.' }),\n recipientMemberUserId: schemaShape.recipientMemberUserId.foreignKeySpec({ meaning: 'When the recipient is a member of the organization, that member.', whyItMatters: 'Re-checked when the token is used: once they stop being a member, the token binds nothing. When that member is erased, the token is revoked, this is cleared and the address is masked.' }),\n tokenHash: schemaShape.tokenHash.stringSpec({ meaning: 'SHA-256 of the secret, hex.', whyItMatters: 'The only stored form of the secret; backend-only and never returned.', semanticRole: 'code' }),\n issuedAt: schemaShape.issuedAt.dateSpec({ meaning: 'When the address was issued.', temporalRole: 'occurred' }),\n revokedAt: schemaShape.revokedAt.dateSpec({ meaning: 'When the address stopped binding.', temporalRole: 'occurred' }),\n revocationReason: schemaShape.revocationReason.enumSpec({\n meaning: 'Why the address stopped binding.',\n enumDeclaration: enumDeclaration('ReplyTokenRevocationReason'),\n values: {\n [ReplyTokenRevocationReason.THREAD_CLOSED]: { meaning: 'Its thread was closed.' },\n [ReplyTokenRevocationReason.COUNTERPART_CHANGED]: { meaning: 'The thread\\'s counterpart changed, so the previous counterpart\\'s addresses were revoked.' },\n [ReplyTokenRevocationReason.MEMBER_REMOVED]: { meaning: 'Its member recipient is no longer an active member.' },\n [ReplyTokenRevocationReason.ROTATED]: { meaning: 'A newer address was issued to the same recipient on the same thread.' },\n },\n }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the row was written.', temporalRole: 'creation' }),\n updatedAt: schemaShape.updatedAt.dateSpec({ meaning: 'When the row last changed — its revocation.', temporalRole: 'modified' }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Resolve a presented reply address by its hash. Internal, route-less.',\n outcome: 'The token service learns which thread and recipient the address binds, and whether it still does.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Internal read.' }],\n idempotent: true,\n },\n [Op.LIST]: {\n purpose: 'Find the live addresses of a thread or recipient, to rotate or revoke them. Internal, route-less.',\n outcome: 'The token service revokes exactly the addresses it means to.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Internal read.' }],\n idempotent: true,\n },\n [Op.CREATE]: {\n purpose: 'Issue a reply address. Written only by the token service.',\n outcome: 'A reply to the address binds to its thread and recipient.',\n whenToUse: 'Repository-only: never an HTTP surface.',\n responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The token was stored. Internal write path.' }],\n idempotent: false,\n },\n [Op.UPDATE]: {\n purpose: 'Revoke a reply address, once, with its reason. Written only by the token service.',\n outcome: 'The address binds nothing from that instant.',\n whenToUse: 'Repository-only: never an HTTP surface.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The token was revoked. Internal write path.' }],\n idempotent: false,\n },\n [Op.UPDATE_MANY]: {\n purpose: 'The erasure writer\\'s door (internal, route-less): masks recipient addresses.',\n outcome: 'A data subject\\'s address leaves the tokens.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Internal scrub completed.' }],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Remove a token with its thread (internal, route-less).',\n outcome: 'Tokens never outlive their thread.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Internal delete completed.' }],\n idempotent: true,\n },\n [Op.DELETE_MANY]: {\n purpose: 'Bulk twin of DELETE, for a thread\\'s cascade (internal, route-less).',\n outcome: 'A deleted thread takes every token issued on it.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Internal delete completed.' }],\n idempotent: true,\n },\n },\n businessConstraints: [\n 'At most one live address per recipient per thread.',\n 'A token binds only in the organization that issued it, only while it is live, and only for a reply from the recipient\\'s address on an aligned domain.',\n 'The plaintext secret is never stored and never returned.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n);\n"]}
|