@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizations.resource.specification.js","sourceRoot":"","sources":["../../../../../src/engine/organizations/resources/organizations.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uCAAuC,IAAI,kCAAkC,EAC7E,sCAAsC,IAAI,iCAAiC,GAC5E,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,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;KACF;CACF,CAAC,CACH,CAAC","sourcesContent":["import {\n organizationsAdminOrgResourceUIBehavior as organizationsAdminUIBehaviorSource,\n organizationsMainOrgResourceUIBehavior as organizationsMainUIBehaviorSource,\n} from '@wildo-ai/presets-components';\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport type { ResourceUIBehaviorConfig } from '@wildo-ai/saas-frontend-lib/companion';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n CoreResourceOperation as Op,\n OrganizationSchema,\n OrganizationStatus,\n Organization_Lifecycle_Operations,\n ResourcePrimaryScope,\n organizationResourceConfiguration_InitializationFactory as organizationsFactory,\n ErrorCustomMessageReference,\n} from '@wildo-ai/saas-models';\nimport {\n HttpResponseStatusCode,\n mergeResourceFrontendConfigurations,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n} from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype OrgsConfig = ReturnType<typeof organizationsFactory>;\ntype OrgsCustom = NonNullable<OrgsConfig['customOperation']>;\ntype OrgsCore = OrgsConfig['coreOperations'][number];\ntype OrgsSchema = OrgsConfig['mainSchema'];\n\nconst organizationsMainUIBehavior = organizationsMainUIBehaviorSource as ResourceUIBehaviorConfig<\n OrgsCustom,\n OrgsCore,\n OrgsSchema\n>;\nconst organizationsAdminUIBehavior = organizationsAdminUIBehaviorSource as ResourceUIBehaviorConfig<\n OrgsCustom,\n OrgsCore,\n OrgsSchema\n>;\n\n/**\n * Merged `ORGANIZATIONS` UI: org self-service CRUD in main presets, super-admin\n * directory + lifecycle in admin (`organizations.resource-presets.tsx`).\n */\nexport const organizationsResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n mergeResourceFrontendConfigurations(\n resourceFrontendConfiguration(organizationsMainUIBehavior),\n resourceFrontendConfiguration(organizationsAdminUIBehavior),\n ),\n resourceSpecification(\n organizationsFactory,\n OrganizationSchema,\n ({ schemaShape }) => ({\n purpose: 'Tenant (organization) record for a customer context inside the application — name, slug, type, and lifecycle state.',\n businessRole: 'The anchor for org-scoped data: members, units, entitlements, billing, and security configuration all hang off this key.',\n lifecycleRole: 'Progresses from trial through active use, suspension, and eventual cancellation or deletion under policy.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.ORGANIZATIONS,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrganizationSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'organizationResourceConfiguration_InitializationFactory',\n symbolKind: CodeSymbolKind.FACTORY,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resourceType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'ORGANIZATIONS',\n },\n operationVocabulary: {\n coreEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n customEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'Organization_Lifecycle_Operations',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n frontendConfigurationSources: [\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'organizationsMainOrgResourceUIBehavior',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'organizationsAdminOrgResourceUIBehavior',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n ],\n },\n fields: {\n name: schemaShape.name.stringSpec({\n meaning: 'Human label for the organization in UI and support.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n type: schemaShape.type.stringSpec({\n meaning: 'Creation-time organization policy identity selecting role, membership-grant, and authentication behavior. Required, and it must name one of the application\\'s declared organization types: a member of an organization whose type resolves to nothing cannot sign in, so a missing or undeclared type is refused at creation, and an organization whose stored type resolves to nothing (none, or one no longer declared) is typed at startup when only one type is declared, recording the value it replaced. Transitions require a dedicated dependent-policy migration. Shown as the type\\'s word (`system_enums.OrganizationType.<type>`, planned from `organizationTypes`), the key itself while the word is missing.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n slug: schemaShape.slug.stringSpec({\n meaning: 'URL-safe identifier, stable for routing and APIs. Unique across the application, and creation-time identity — it cannot be edited afterwards, which is why a collision is refused at CREATE rather than reconciled later.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n ownerFloorSerializationToken: schemaShape.ownerFloorSerializationToken.numberSpec({\n meaning: 'Concurrency token for the organization-owner floor. Carries NO business meaning and is never read for one — it exists so that two concurrent owner-reducing operations write the same document and the storage engine aborts the loser. Without it the floor is open to write skew: two callers each remove a DIFFERENT owner, each observes the other still present, and both commit, leaving a tenant nobody can administer. Backend-only and hidden; a lost update on the value itself is harmless.',\n importance: FieldSemanticImportance.CONTEXTUAL,\n }),\n serviceProviderRelationshipSerializationToken: schemaShape.serviceProviderRelationshipSerializationToken.numberSpec({\n meaning: 'Concurrency token for decisions on this organization\\'s service-provider relationships. Carries NO business meaning and is never read for one — every relationship verb (from either side) writes it on the CLIENT organization inside its transaction BEFORE reading the state it decides on, so two concurrent decisions write the same row: on MongoDB the loser is retried from a fresh read, on PostgreSQL it waits for the winner and then reads its committed result. Without it two proposals could both observe no live relationship and both commit, and a resume racing a terminate could turn a TERMINATED relationship back to ACTIVE. Separate from the owner-floor token so the two unrelated decisions never conflict with each other. Backend-only and hidden.',\n importance: FieldSemanticImportance.CONTEXTUAL,\n }),\n autonomousAgentBindingSerializationToken: schemaShape.autonomousAgentBindingSerializationToken.numberSpec({\n meaning: 'Concurrency token for binding autonomous agents to this organization\\'s OAuth clients (#1611). Carries NO business meaning and is never read for one — every `setAutonomousAgents` call writes it inside its transaction BEFORE counting the clients that already run an agent, so two concurrent binds of one agent write the same row: on MongoDB the loser is retried from a fresh read, on PostgreSQL it waits and then counts the winner. Without it both could see no binding and commit, and the agent would resolve to two principals. Backend-only and hidden.',\n importance: FieldSemanticImportance.CONTEXTUAL,\n }),\n status: schemaShape.status.enumSpec({\n meaning: 'Subscription and access posture for the tenant.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrganizationStatus',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [OrganizationStatus.ACTIVE]: { meaning: 'Normal operations.' },\n [OrganizationStatus.SUSPENDED]: { meaning: 'Blocked by policy or billing until reinstated. Confers NO authority: a membership in a suspended tenant stops granting its roles, resolved per request rather than by rewriting membership records.' },\n [OrganizationStatus.TRIAL]: { meaning: 'Time-boxed evaluation.' },\n [OrganizationStatus.TRIAL_EXPIRED]: { meaning: 'Trial ended without conversion.' },\n [OrganizationStatus.CANCELLED]: { meaning: 'Customer-initiated or scheduled end. Terminal, and confers NO authority.' },\n [OrganizationStatus.DELETED]: { meaning: 'MARKED for deletion and inside its retention window — present, restorable, and conferring NO authority. Written by `request_deletion`, cleared by `restore`, and consumed by the `organization-purge` batch once `purgeScheduledAt` elapses. NOT a synonym for removed: the record and every child it owns are intact until the purge runs.' },\n },\n }),\n platformAccessApprovalRequired: schemaShape.platformAccessApprovalRequired.booleanSpec({\n meaning: 'Whether a platform operator needs this organization\\'s approval before an access elevation into it becomes usable. Off by default: elevations still need a request, a justification, a time limit and an audit trail, but do not wait for someone in the organization to approve.',\n whyItMatters: 'Turning it on is the strongest operator-access posture. It does not lock support out of an organization with no usable owner, which cannot approve anything.',\n }),\n deletionRequestedAt: schemaShape.deletionRequestedAt.dateSpec({\n meaning: 'When the organization was marked for deletion. Absent unless its `status` is `DELETED`; `restore` clears it.',\n whyItMatters: 'A marked organization is still fully present and restorable. When it is actually removed is `purgeScheduledAt`, not this.',\n }),\n purgeScheduledAt: schemaShape.purgeScheduledAt.dateSpec({\n meaning: 'When a marked organization and everything it owns are permanently removed, at the end of its retention window. Absent unless the organization is marked for deletion; `restore` clears it.',\n whyItMatters: 'Until this instant the deletion can be undone with `restore`; after the purge it cannot.',\n }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Load org context for members (default) or any org as super-admin (`admin` variant in factory).',\n outcome: 'Clients render the tenant record and link related org-scoped resources.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The organization was found and its tenant record (name, slug, type, status) is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No organization exists for the supplied id, or the caller cannot resolve it within their tenant scope.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A member attempts to read an organization other than their own, or the `admin` cross-tenant read variant is used without the platform/super-admin role.' },\n ],\n idempotent: true,\n },\n [Op.LIST]: {\n purpose: 'Application-wide organization directory, for platform administrators.',\n outcome: 'A paginated directory for support and platform operations.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of organizations for the platform directory.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the platform/super-admin entitlement required to enumerate every tenant in the application.' },\n ],\n idempotent: true,\n },\n [Op.SEARCH]: {\n purpose: 'Filter/sort org directory for operators.',\n outcome: 'Matching organizations for search surfaces.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of organizations matching the name/slug/status query.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the platform/super-admin entitlement required to search across tenants.' },\n ],\n idempotent: true,\n },\n [Op.CREATE]: {\n purpose: 'Registration-owned tenant bootstrap (route-less internal variant), direct end-user creation (default HTTP variant), or super-admin creation (`admin` HTTP variant). Organization types governed by a registration creation policy are accepted only on the internal path.',\n outcome: 'A new `ORGANIZATIONS` row and downstream provisioning hooks run.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'A new organization was provisioned and is returned with its server-assigned id and starting lifecycle status.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The organization payload fails schema validation (e.g. missing `name` or a malformed `slug`).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not permitted to create a tenant: self-serve bootstrap is disabled for this application, or the `admin` create variant is invoked without the super-admin role.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'Another organization already uses the requested URL-safe `slug` (or the name where the application enforces name uniqueness).', customMessageReference: ErrorCustomMessageReference.ORGANIZATION_SLUG_EXISTS },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The requested `type` declares `ownsApplication`. The organization that OPERATES the application is not created through ANY service-tier door — the refusal is by DOOR rather than by count, so it holds before an owner organization exists, which is exactly when the default `APP_USER` variant would otherwise have let the first registrant found it. The two doors that DO produce it are the platform bootstrap and `promoteToOwnerOrganization`. CONFLICT and not 403 deliberately: a super-administrator is refused by the same rule as a registrant, so the caller’s authority is not what is lacking — and an AUTHORIZATION error would have its context stripped, leaving a client nothing stable to branch on.', errorCode: 'OWNER_ORGANIZATION_TYPE_NOT_CREATABLE' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Bootstrap a new organization',\n request: {\n name: 'Acme Corp',\n slug: 'acme-corp',\n },\n response: {\n _id: 'org_01HX2…',\n name: 'Acme Corp',\n slug: 'acme-corp',\n status: OrganizationStatus.TRIAL,\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.UPDATE]: {\n purpose: 'Org admin patch (default) or super-admin patch (`admin` variant) excluding immutable slug and organization type.',\n outcome: 'Field updates that propagate to org-scoped UIs and integrations.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The organization was patched and the updated tenant record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The edited fields fail schema validation, or a caller attempts to mutate immutable `slug` / `type` identity through generic UPDATE.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is neither an org admin of this tenant nor a platform super-admin using the `admin` edit variant.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No organization exists for the supplied id in the caller’s scope.' },\n ],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'PURGE — irreversible destruction of a tenant at the end of its retention window. No longer the tenant-facing delete: an org admin uses `request_deletion`, which marks the tenant instead.',\n outcome: 'The tenant row is hard-deleted and every enabled `onParentDelete` cascade in the resource registry runs, including organization members. Cascade edges resolve their own per-edge strategy, so children declared `IMPERSONALIZE_AND_RETAIN` are scrubbed and kept rather than removed. Deliberately retained edges (billing accounts and subscriptions, audit logs, job executions) survive the tenant by design. Before its rows go, every live service-provider relationship the tenant is party to is ended in the same transaction — TERMINATED where it is the client, WITHDRAWN where it is the provider firm — together with the firm\\'s engagement record, the experts\\' ACTIVE assignments and their ACTIVE provider memberships in the client, so the surviving tenant keeps no live record for a party that no longer exists; a SUSPENDED provider membership, the client\\'s own decision about that person, is kept. A refused delete ends nothing. Emits `ORGANIZATION_DELETED`, the evidence of what was destroyed, once the delete commits.',\n responseStatuses: [\n { code: HttpResponseStatusCode.NO_CONTENT_204, meaning: 'The organization record was deleted and its registry-declared cascades ran; no body is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The organization OPERATES the application (its type declares `ownsApplication`), so it cannot be put on the deletion path. Everything the application owns as an operator belongs to it, and nothing could re-create it — `type` is creation-time identity and no door mints a second owner. Refused on BOTH declared doors — the route-less INTERNAL_CALL the purge batch dispatches and the super-administrator’s immediate-purge `admin` variant — so the batch skips the tenant and logs rather than destroying it. SUSPENSION stays available: halting the owner tenant is incident response and is recoverable, where a purge is not.', errorCode: 'OWNER_ORGANIZATION_CANNOT_BE_DELETED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the platform super-admin role, OR holds it but is not a member of the target organization. Unlike `restore`, `activate` and `requestDeletion: admin`, this variant deliberately does NOT declare `admitsCrossTenantPlatformAdministration` (decided 2026-08-05): it is irreversible, whole-tenant, cascading, and skips the retention window on purpose, so crossing it would turn a compromised platform credential from a per-tenant threat into an any-tenant one. The sanctioned operator takedown path is `requestDeletion: admin` (mark + notify + window, undoable by `restore`). Opening this one would require shipping a mandatory justification, a separable high-severity audit event, and a two-person rule alongside it. Only the `admin` variant is reachable over HTTP; the default variant is a route-less INTERNAL_CALL owned by the `organization-purge` batch, so no client can skip the retention window.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The `admin` variant declares `requiresStepUpAuthentication`, and the request carried no valid single-use re-authentication token. Obtain one from the re-authentication route and retry with it. Re-authentication accepts a password, an enrolled second factor (a TOTP code or a backup code), or a passkey assertion, so a directory-managed (SCIM) user whose local first factor the framework destroys by design can still clear this gate through an enrolled second factor. A principal holding none of the three cannot.', customMessageReference: ErrorCustomMessageReference.STEP_UP_REQUIRED },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No organization exists for the supplied id (or it was already purged).' },\n ],\n idempotent: true,\n },\n [Organization_Lifecycle_Operations.REQUEST_DELETION]: {\n operationId: Organization_Lifecycle_Operations.REQUEST_DELETION,\n purpose: 'Mark the tenant for deletion — the tenant-facing delete. Replaces the former org-admin `DELETE` door.',\n outcome: 'The tenant becomes authorization-dead immediately and stays data-alive until the retention window elapses. NOW: `status` flips to `DELETED`, `deletionRequestedAt` and `purgeScheduledAt` are stamped, every affected user’s global `userTypes` are reconciled and their tokens invalidated, and members are notified. LATER: the `organization-purge` batch destroys the tenant once `purgeScheduledAt` has passed. No rows are removed here — membership rows in particular are preserved precisely so `restore` can re-derive organization-scoped authority from them.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The organization transitioned to `DELETED` with its purge deadline stamped; the updated tenant record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-admin role (default variant) or the platform super-admin role (`admin` variant) that gates this destructive transition. Only the `admin` variant declares `admitsCrossTenantPlatformAdministration`: an operator marks a tenant they are not a member of, which is the takedown path for a legal order or abuse report. It is the REVERSIBLE destructive door — mark, notify, window — crossed together with RESTORE deliberately, since a marking door without its release would be a one-way door calling itself a window.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'Both variants declare `requiresStepUpAuthentication`, and the request carried no valid single-use re-authentication token. Obtain one from the re-authentication route and retry with it. Re-authentication accepts a password, an enrolled second factor (a TOTP code or a backup code), or a passkey assertion, so a directory-managed (SCIM) user whose local first factor the framework destroys by design can still clear this gate through an enrolled second factor. A principal holding none of the three cannot clear it and must route the teardown through the `admin` variant.', customMessageReference: ErrorCustomMessageReference.STEP_UP_REQUIRED },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'REQUEST_DELETION is unavailable for the organization’s current status — it is enabled only from `ACTIVE`, `TRIAL`, `TRIAL_EXPIRED` or `SUSPENDED`. From `DELETED` (already marked) or the terminal `CANCELLED` the operation is disabled, so a double-mark cannot silently re-arm the retention window. Enforced as conditional availability (`enabledCondition`) on both the frontend (the action is disabled) and the backend (rejected as operation-disabled). On the default variant the `SUSPENDED` arm is additionally unreachable, because a suspended tenant confers no authority to its own admins.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The organization OPERATES the application (its type declares `ownsApplication`), so it cannot be put on the deletion path. Everything the application owns as an operator belongs to it, and nothing could re-create it — `type` is creation-time identity and no door mints a second owner. Refused at the MARK and not only at the purge, because the mark is what makes the tenant authorization-dead. SUSPENSION stays available: halting the owner tenant is incident response and is recoverable, where a purge is not.', errorCode: 'OWNER_ORGANIZATION_CANNOT_BE_DELETED' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No organization exists for the supplied id in the caller’s scope.' },\n ],\n idempotent: false,\n },\n [Organization_Lifecycle_Operations.RESTORE]: {\n operationId: Organization_Lifecycle_Operations.RESTORE,\n purpose: 'Cancel a pending tenant deletion inside its retention window (platform super-admin).',\n outcome: 'The tenant returns to `ACTIVE`, its deletion marks are cleared, and each affected user’s global `userTypes` are re-granted. Organization-scoped authority needs no restoration step: it is recomputed per request from the tenant status, over membership rows the mark deliberately left untouched.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The organization transitioned back to `ACTIVE` with its deletion marks cleared; the updated tenant record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the platform super-admin role. There is deliberately NO org-scoped variant: a `DELETED` tenant confers no authority, so its own admin could never satisfy one — recovery is a provider-side action, as it is in comparable systems. The variant declares `admitsCrossTenantPlatformAdministration`, so a platform super-administrator reaches it WITHOUT being a member of the marked tenant. That crossing is what makes the retention window a real safety net: until 2026-08-05 the operator was refused by the tenant-boundary check too, so a marked tenant could be restored by NOBODY and was always collected by the purge batch.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'RESTORE is unavailable unless the organization is currently `DELETED`. Enforced as conditional availability (`enabledCondition`) on both the frontend (the action is disabled) and the backend (rejected as operation-disabled).' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No organization exists for the supplied id — the retention window has elapsed and the tenant was purged, or the id is unknown. There is no separate “too late to restore” state: if the row is present it is restorable.' },\n ],\n idempotent: false,\n },\n [Organization_Lifecycle_Operations.ACTIVATE]: {\n operationId: Organization_Lifecycle_Operations.ACTIVATE,\n purpose: 'Return a halted or expired organization to normal operation (super-admin). Also the trial-conversion path.',\n outcome: 'The tenant transitions to `ACTIVE` and immediately confers its members’ organization roles again — authority is recomputed per request from the tenant status over membership rows suspension never touched. Membership-derived GLOBAL `userTypes` withdrawn while the tenant was halted are re-granted from configuration (additive and idempotent, so a member who never lost one is untouched). Emits `ORGANIZATION_ACTIVATED` carrying the status it came FROM, so lifting a suspension stays distinguishable from converting a lapsed trial. Notifications fan out to org leadership.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The organization transitioned to `ACTIVE` and the updated tenant record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the platform/super-admin role that gates organization lifecycle transitions. The variant declares `admitsCrossTenantPlatformAdministration`, so that role is sufficient on its own — membership of the target tenant is NOT additionally required, and could not be relied upon: ACTIVATE runs only from `SUSPENDED` or `TRIAL_EXPIRED`, and a `SUSPENDED` tenant confers no authority to its own members.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'ACTIVATE is unavailable for the organization’s current status — it is enabled only from `SUSPENDED` or `TRIAL_EXPIRED`. From `ACTIVE` (a no-op) or the terminal `CANCELLED`/`DELETED` states the operation is disabled. Enforced as conditional availability (`enabledCondition`) on both the frontend (the action is disabled) and the backend (rejected as operation-disabled).' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No organization exists for the supplied id in the caller’s scope.' },\n ],\n idempotent: true,\n },\n [Organization_Lifecycle_Operations.PROMOTE_TO_OWNER_ORGANIZATION]: {\n operationId: Organization_Lifecycle_Operations.PROMOTE_TO_OWNER_ORGANIZATION,\n purpose: 'Name this organization as the one that OPERATES the application — the paired mutation path for the otherwise-immutable `type`.',\n outcome: 'The tenant’s `type` becomes the declared type that carries `ownsApplication`, and everything the application owns as an operator resolves to this organization from then on. NOTHING about anyone’s authority moves: the operation refuses rather than reconciling whenever the owner type would grant fewer user types, would not offer a role a membership holds, or would drop an active directory binding. Emits `ORGANIZATION_TYPE_ASSIGNED` with basis `operator_promotion`, the type it replaced, the operator, and their mandatory `justification` — the only basis of that event that names a person, because the other two are boot-time derivations. Exactly one organization may ever be promoted, and there is no demotion door. No notification is sent, deliberately: the operation is uncrossed, so the caller is a member of the very organization being promoted and there is no outside party for a tenant to be told about — the audit row naming the actor and their justification is the record this act owes.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The organization now carries the owner type and the updated tenant record is returned. Idempotent: promoting an organization that already holds the type changes nothing and records nothing.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the platform super-admin role. This variant deliberately does NOT declare `admitsCrossTenantPlatformAdministration` — unlike RESTORE, ACTIVATE and `requestDeletion: admin`, which are crossed because each is reversible. Promotion has no inverse, so the caller must ALSO be a member of the target organization; the bootstrap administrator is exactly that. Opening the crossing would require a demotion door or a two-person rule, neither of which exists.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The variant declares `requiresStepUpAuthentication` and the request carried no valid single-use re-authentication token. The act is irreversible and re-points everything the application owns as an operator, so a session must not reach it on the strength of a login that happened at some earlier point.', customMessageReference: ErrorCustomMessageReference.STEP_UP_REQUIRED },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The operation is unavailable unless the organization is currently `ACTIVE`. A suspended, marked or terminal tenant confers no authority, and an owner organization nobody can act through is not an owner. Enforced as conditional availability (`enabledCondition`) on both the frontend (the action is disabled) and the backend (rejected as operation-disabled).' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The application already has an organization of the owner type. Exactly one may exist and there is no operation that demotes one.', errorCode: 'APPLICATION_OWNER_ORGANIZATION_EXISTS' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'No declared organization type carries `ownsApplication`, so there is nothing to promote into. Declare one in `wildo.saas.config.ts` and run `wildo config reapply-declaration`.', errorCode: 'APPLICATION_DECLARES_NO_OWNER_ORGANIZATION_TYPE' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The owner type would change what this organization’s members are or may hold: it grants fewer `userTypes` than the current type, a membership holds a role it does not list in `availableOrgRoles`, or the organization is actively managed by a directory and the owner type does not declare `scimProvisioning`. The refusal names which mismatch and the exact values; widen the owner type in the declaration and retry. Refusing rather than revoking and re-granting is what keeps the promotion a change of IDENTITY that touches nobody’s authority.', errorCode: 'OWNER_PROMOTION_INCOMPATIBLE_WITH_TARGET_TYPE' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No organization exists for the supplied id in the caller’s scope.' },\n ],\n idempotent: true,\n },\n [Organization_Lifecycle_Operations.SUSPEND]: {\n operationId: Organization_Lifecycle_Operations.SUSPEND,\n purpose: 'Halt an organization for abuse, billing, or compliance (super-admin).',\n outcome: 'The tenant transitions to `SUSPENDED` and STOPS CONFERRING AUTHORITY: every member loses their organization roles at once, resolved per request rather than by editing membership rows, so the change is complete the moment it commits and is fully reversed by `ACTIVATE`. Members are emailed unless `notifyMembers` is false — a deliberately quiet hold is supported and is recorded in the audit event. Membership-derived GLOBAL `userTypes` are also reconciled: a membership in a non-authority-conferring tenant no longer justifies such a grant, so suspending an organization withdraws what it was vouching for platform-wide, and users who actually lose a grant have their tokens invalidated. `activate` restores them. Emits `ORGANIZATION_SUSPENDED` with the reason, the prior status, and how many users lost a global grant.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The organization transitioned to `SUSPENDED` and the updated tenant record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the platform/super-admin role that gates organization lifecycle transitions.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'SUSPEND is unavailable for the organization’s current status — it is enabled only from `ACTIVE` or `TRIAL`. From `SUSPENDED` (a no-op) or the terminal `CANCELLED`/`DELETED` states the operation is disabled. Enforced as conditional availability (`enabledCondition`) on both the frontend (the action is disabled) and the backend (rejected as operation-disabled).' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No organization exists for the supplied id in the caller’s scope.' },\n ],\n idempotent: true,\n },\n },\n businessConstraints: [\n 'Registry self-anchor is `ORGANIZATIONS` for the ORGANIZATIONS primary scope; align `resourcePrimaryScope` with the factory.',\n 'Organization `type` is creation-time policy identity; generic UPDATE strips it. ONE dedicated transition exists — `promoteToOwnerOrganization` — and it discharges the reconciliation requirement by REFUSING any move that would change member roles, membership-derived user types, or an active directory binding, rather than reconciling them. Any future transition owes the same bar: refuse, or reconcile every dependent surface in one transaction.',\n 'Organization types with a registration creation policy cannot be created through either HTTP CREATE variant. Registration and registration-onboarding own the distinct route-less INTERNAL_CALL CREATE path, so direct CRUD cannot impersonate that authority.',\n 'An organization type that declares `ownsApplication` names the organization OPERATING the application, and at most one such organization may exist. No service-tier CREATE may produce it — the refusal is by DOOR rather than by count, so it holds before any owner organization exists, which is exactly when the default `APP_USER` CREATE variant would otherwise have let the first registrant found it. The two doors that DO produce it are the platform bootstrap and `promoteToOwnerOrganization`.',\n 'An organization type that declares `servesAsProvider` is a SERVICE FIRM whose people may work inside organizations of the listed `clientOrganizationTypes`, under a relationship the CLIENT controls (`serviceProviderRelationships`, stored in the client; the firm sees its `serviceEngagements` mirror). The declaration only makes such relationships possible — each one is still proposed or accepted by the client\\'s owner, may be confined to some of its organization units, and ends on the next request. Every `providerRoles` entry must be offered by the client type\\'s `availableOrgRoles` and must not reach `ORG_ADMIN`; startup refuses either.',\n 'An organization type may declare `acceptsServiceProviders.defaultExpertAdmissionPolicy` (#1612): how its organizations, as CLIENTS, admit a firm\\'s experts when nobody chose — each expert admitted by the relationship (the default), or each one waiting for a client administrator\\'s approval. It sits on the CLIENT type because the client owns the choice; every relationship still carries its own `expertAdmissionPolicy`, set by the client when proposing or accepting and changed by a client administrator, and that value always wins.',\n 'The application-owner organization cannot be put on the deletion path: `requestDeletion` and `delete` refuse it on every declared variant, and the purge batch inherits that refusal through the INTERNAL_CALL door it dispatches. SUSPENSION is deliberately still allowed — halting the owner tenant is incident response and is recoverable, where a purge is not.',\n // DELETE deliberately has NO dependents guard. An earlier revision of this spec documented a\n // 409 `ORGANIZATION_HAS_DEPENDENTS` naming active members, organization units and live\n // subscriptions as blockers; it was removed (2026-07-29) because each named dependent\n // contradicts the tenant-teardown contract rather than supporting it. Kept as a constraint so\n // the refusal is not re-derived as a \"missing\" guard.\n 'Deleting an organization is never refused for having dependents. Organization units are cascade-deleted with the tenant (every unit carries the tenant id, so the whole tree goes in one pass). Billing accounts and subscriptions are retained on purpose by the billing-retention decision, which explicitly accepts the resulting dangling tenant reference so the financial audit trail outlives the tenant. And blocking on active members would be self-defeating: the default DELETE variant is performed BY an org admin, who is himself an active member, so such a guard could never pass.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n ),\n () => ({\n layout: {\n purpose: 'Name-first layout for org settings (General) and the super-admin org directory card.',\n headerPurpose: 'The READ identity line: the organization name as the title and its `status` badge beside it — whether the tenant is live, suspended or marked for deletion is the first thing a reader needs. Neither repeats in the body.',\n displayPurpose: 'READ is one flat list of rows and documents no section: `slug`, `type` and `createdAt`. `name` and `status` are the header\\'s. The `lifecycle` slot was retired because a section holding one timestamp is a heading with a row under it rather than a grouping, and the `overview` slot because a heading over the only group names the page, not a part of it.',\n summaryPurpose: 'A directory card: the name as the title, then the `status` badge and the declared `type` as bare values — the two facts that tell one tenant from another. `slug` restates the name and `createdAt` answers nothing a directory scan asks.',\n editPurpose: 'One flat form, no section: `name` (focused) and `slug` on every form; `status` and the declared `type` only on the admin CREATE form, since both are `excludeFromUpdate`.',\n },\n views: {\n [Op.READ]: {\n variants: {\n default: {\n purpose: 'Member-facing read of the current organization in standard app context.',\n whenToUse: 'Org home and any surface scoped to the active tenant.',\n },\n admin: {\n purpose: 'Super-admin read of any customer organization (factory `admin` variant).',\n whenToUse: 'Platform and support org detail drawers.',\n },\n },\n },\n [Op.LIST]: {\n purpose: 'Platform listing of all organizations (merged admin preset only; main bundle does not surface LIST).',\n whenToUse: 'Directory and org-picker rows for app administrators.',\n },\n [Op.SEARCH]: {\n purpose: 'Filterable org search in app-admin consoles.',\n whenToUse: 'Lookup by name, slug, or status when managing many tenants.',\n },\n [Op.CREATE]: {\n variants: {\n default: {\n purpose: 'Self-serve or guided creation of a new org by an authenticated user.',\n whenToUse: 'Onboarding where users can stand up a tenant without platform admin tools.',\n },\n admin: {\n purpose: 'Back-office or migration flows where a super-admin creates an org for a customer.',\n whenToUse: 'Manual provisioning, imports, and partner enablement — addressable in merged preset.',\n },\n },\n },\n [Op.UPDATE]: {\n variants: {\n default: {\n purpose: 'Org administrators edit mutable fields (not slug) in product settings.',\n whenToUse: 'Renaming, status transitions permitted to org roles.',\n },\n admin: {\n purpose: 'Super-admin correction or elevated edits across tenants.',\n whenToUse: 'Support, compliance, and data-fix workflows.',\n },\n },\n },\n [Op.DELETE]: {\n variants: {\n admin: {\n purpose: 'Platform-driven immediate tenant purge that bypasses the retention window (high trust).',\n whenToUse: 'Exceptional abuse, legal-order, or emergency takedowns that cannot wait for scheduled purge.',\n },\n },\n },\n [Organization_Lifecycle_Operations.ACTIVATE]: {\n purpose: 'Restore operations after a suspension in app-admin UIs.',\n whenToUse: 'Reinstatement from billing recovery or false-positive security holds.',\n },\n [Organization_Lifecycle_Operations.SUSPEND]: {\n purpose: 'Emergency or policy hold that blocks org access while retaining data for audit.',\n whenToUse: 'Non-payment, ToS, or law-enforcement–driven pauses.',\n },\n [Organization_Lifecycle_Operations.PROMOTE_TO_OWNER_ORGANIZATION]: {\n purpose: 'Declare which organization operates this application, on a deployment that adopted the marker after it was already running.',\n whenToUse: 'Once, by a super-administrator who is a member of the organization being promoted. A deployment created after the marker was declared never needs it — the platform seeds the owner organization with the first administrator.',\n },\n },\n }),\n);\n"]}
|
|
1
|
+
{"version":3,"file":"organizations.resource.specification.js","sourceRoot":"","sources":["../../../../../src/engine/organizations/resources/organizations.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uCAAuC,IAAI,kCAAkC,EAC7E,sCAAsC,IAAI,iCAAiC,GAC5E,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAA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,uEAAuE;SACnF;QACD,CAAC,iCAAiC,CAAC,OAAO,CAAC,EAAE;YAC3C,OAAO,EAAE,iFAAiF;YAC1F,SAAS,EAAE,qDAAqD;SACjE;QACD,CAAC,iCAAiC,CAAC,WAAW,CAAC,EAAE;YAC/C,OAAO,EAAE,sHAAsH;YAC/H,SAAS,EAAE,kRAAkR;SAC9R;QACD,CAAC,iCAAiC,CAAC,6BAA6B,CAAC,EAAE;YACjE,OAAO,EAAE,6HAA6H;YACtI,SAAS,EAAE,gOAAgO;SAC5O;KACF;CACF,CAAC,CACH,CAAC","sourcesContent":["import {\n organizationsAdminOrgResourceUIBehavior as organizationsAdminUIBehaviorSource,\n organizationsMainOrgResourceUIBehavior as organizationsMainUIBehaviorSource,\n} from '@wildo-ai/presets-components';\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport type { ResourceUIBehaviorConfig } from '@wildo-ai/saas-frontend-lib/companion';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n CoreResourceOperation as Op,\n OrganizationSchema,\n OrganizationStatus,\n Organization_Lifecycle_Operations,\n OrganizationTypeChangeErrorCode,\n ResourcePrimaryScope,\n organizationResourceConfiguration_InitializationFactory as organizationsFactory,\n ErrorCustomMessageReference,\n} from '@wildo-ai/saas-models';\nimport {\n HttpResponseStatusCode,\n mergeResourceFrontendConfigurations,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n} from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype OrgsConfig = ReturnType<typeof organizationsFactory>;\ntype OrgsCustom = NonNullable<OrgsConfig['customOperation']>;\ntype OrgsCore = OrgsConfig['coreOperations'][number];\ntype OrgsSchema = OrgsConfig['mainSchema'];\n\nconst organizationsMainUIBehavior = organizationsMainUIBehaviorSource as ResourceUIBehaviorConfig<\n OrgsCustom,\n OrgsCore,\n OrgsSchema\n>;\nconst organizationsAdminUIBehavior = organizationsAdminUIBehaviorSource as ResourceUIBehaviorConfig<\n OrgsCustom,\n OrgsCore,\n OrgsSchema\n>;\n\n/**\n * Merged `ORGANIZATIONS` UI: org self-service CRUD in main presets, super-admin\n * directory + lifecycle in admin (`organizations.resource-presets.tsx`).\n */\nexport const organizationsResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n mergeResourceFrontendConfigurations(\n resourceFrontendConfiguration(organizationsMainUIBehavior),\n resourceFrontendConfiguration(organizationsAdminUIBehavior),\n ),\n resourceSpecification(\n organizationsFactory,\n OrganizationSchema,\n ({ schemaShape }) => ({\n purpose: 'Tenant (organization) record for a customer context inside the application — name, slug, type, and lifecycle state.',\n businessRole: 'The anchor for org-scoped data: members, units, entitlements, billing, and security configuration all hang off this key.',\n lifecycleRole: 'Progresses from trial through active use, suspension, and eventual cancellation or deletion under policy.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.ORGANIZATIONS,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrganizationSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'organizationResourceConfiguration_InitializationFactory',\n symbolKind: CodeSymbolKind.FACTORY,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resourceType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'ORGANIZATIONS',\n },\n operationVocabulary: {\n coreEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n customEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'Organization_Lifecycle_Operations',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n frontendConfigurationSources: [\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'organizationsMainOrgResourceUIBehavior',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'organizationsAdminOrgResourceUIBehavior',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n ],\n },\n fields: {\n name: schemaShape.name.stringSpec({\n meaning: 'Human label for the organization in UI and support.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n type: schemaShape.type.stringSpec({\n meaning: 'Creation-time organization policy identity selecting role, membership-grant, and authentication behavior. Required, and it must name one of the application\\'s declared organization types: a member of an organization whose type resolves to nothing cannot sign in, so a missing or undeclared type is refused at creation, and an organization whose stored type resolves to nothing (none, or one no longer declared) is typed at startup when only one type is declared, recording the value it replaced. Transitions require a dedicated dependent-policy migration. Shown as the type\\'s word (`system_enums.OrganizationType.<type>`, planned from `organizationTypes`), the key itself while the word is missing.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n slug: schemaShape.slug.stringSpec({\n meaning: 'URL-safe identifier, stable for routing and APIs. Unique across the application, and creation-time identity — it cannot be edited afterwards, which is why a collision is refused at CREATE rather than reconciled later.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n ownerFloorSerializationToken: schemaShape.ownerFloorSerializationToken.numberSpec({\n meaning: 'Concurrency token for the organization-owner floor. Carries NO business meaning and is never read for one — it exists so that two concurrent owner-reducing operations write the same document and the storage engine aborts the loser. Without it the floor is open to write skew: two callers each remove a DIFFERENT owner, each observes the other still present, and both commit, leaving a tenant nobody can administer. Backend-only and hidden; a lost update on the value itself is harmless.',\n importance: FieldSemanticImportance.CONTEXTUAL,\n }),\n organizationRelationshipSerializationToken: schemaShape.organizationRelationshipSerializationToken.numberSpec({\n meaning: 'Concurrency token for decisions on the relationships this organization grants. Carries NO business meaning and is never read for one — every relationship verb (from either side) writes it on the GRANTING organization inside its transaction BEFORE reading the state it decides on, so two concurrent decisions write the same row: on MongoDB the loser is retried from a fresh read, on PostgreSQL it waits for the winner and then reads its committed result. Without it two proposals could both observe no live relationship and both commit, and a resume racing a terminate could turn a TERMINATED relationship back to ACTIVE. Separate from the owner-floor token so the two unrelated decisions never conflict with each other. Backend-only and hidden.',\n importance: FieldSemanticImportance.CONTEXTUAL,\n }),\n autonomousAgentBindingSerializationToken: schemaShape.autonomousAgentBindingSerializationToken.numberSpec({\n meaning: 'Concurrency token for binding autonomous agents to this organization\\'s OAuth clients (#1611). Carries NO business meaning and is never read for one — every `setAutonomousAgents` call writes it inside its transaction BEFORE counting the clients that already run an agent, so two concurrent binds of one agent write the same row: on MongoDB the loser is retried from a fresh read, on PostgreSQL it waits and then counts the winner. Without it both could see no binding and commit, and the agent would resolve to two principals. Backend-only and hidden.',\n importance: FieldSemanticImportance.CONTEXTUAL,\n }),\n status: schemaShape.status.enumSpec({\n meaning: 'Subscription and access posture for the tenant.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrganizationStatus',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [OrganizationStatus.ACTIVE]: { meaning: 'Normal operations.' },\n [OrganizationStatus.SUSPENDED]: { meaning: 'Blocked by policy or billing until reinstated. Confers NO authority: a membership in a suspended tenant stops granting its roles, resolved per request rather than by rewriting membership records.' },\n [OrganizationStatus.TRIAL]: { meaning: 'Time-boxed evaluation.' },\n [OrganizationStatus.TRIAL_EXPIRED]: { meaning: 'Trial ended without conversion.' },\n [OrganizationStatus.CANCELLED]: { meaning: 'Customer-initiated or scheduled end. Terminal, and confers NO authority.' },\n [OrganizationStatus.DELETED]: { meaning: 'MARKED for deletion and inside its retention window — present, restorable, and conferring NO authority. Written by `request_deletion`, cleared by `restore`, and consumed by the `organization-purge` batch once `purgeScheduledAt` elapses. NOT a synonym for removed: the record and every child it owns are intact until the purge runs.' },\n },\n }),\n platformAccessApprovalRequired: schemaShape.platformAccessApprovalRequired.booleanSpec({\n meaning: 'Whether a platform operator needs this organization\\'s approval before an access elevation into it becomes usable. Elevations always need a request, a justification, a time limit and an audit trail; with this on they also wait for someone in the organization to approve. The server decides where it starts when the organization is created (#2618): on, when the parties of some relationship kind are independent of the application\\'s operator (the operator\\'s organization type represents nobody in that kind); off otherwise. Only the organization\\'s own administrator changes it afterwards.',\n whyItMatters: 'Turning it on is the strongest operator-access posture, and it is where a tenant starts when the operator is a third party to the parties of a relationship kind. Nobody sets it at creation, the operator creating a tenant for someone else included, so the operator cannot waive a tenant\\'s protection before the tenant exists. It does not lock support out of an organization with no usable owner, which cannot approve anything.',\n }),\n dataResidency: schemaShape.dataResidency.objectSpec({\n meaning: 'The places this organization\\'s data may be processed in, as jurisdiction slugs (`eu`, `de`, `ch`), when the organization is pinned to a narrower place than the application\\'s own data residency (#2294). Written by the organization\\'s administrator on its own update, and refused there unless the application declares a data residency and every territory lies inside it: an organization can only narrow the application\\'s. Absent means the organization adds nothing to the application\\'s residency.',\n whyItMatters: 'Every provider call made for the organization is held to it: a call to a provider whose chosen region processes anywhere outside these places, or through an organization\\'s or a person\\'s own connected vendor account whose region nothing records, is refused and recorded as a `PROVIDER_DATA_RESIDENCY_REFUSED` audit row. It covers the vendors the data is sent to, not the application\\'s own databases, which the application\\'s residency covers.',\n }),\n dataResidencyAdmissibleTerritories: schemaShape.dataResidencyAdmissibleTerritories.arraySpec({\n meaning: 'The territories this organization\\'s `dataResidency` may name, computed at read time from the application\\'s own data residency and never stored: each of its territories and every country an aggregate one contains (`eu` offers `eu` and each member state). Empty when the application declares no residency; absent when it cannot be read (#2294).',\n elementMeaning: 'One jurisdiction slug inside the application\\'s data residency.',\n whyItMatters: 'The organization\\'s settings offer exactly these as the choices for its residency, so an administrator picks a place the application keeps the data in rather than typing one the update then refuses.',\n }),\n deletionRequestedAt: schemaShape.deletionRequestedAt.dateSpec({\n meaning: 'When the organization was marked for deletion. Absent unless its `status` is `DELETED`; `restore` clears it.',\n whyItMatters: 'A marked organization is still fully present and restorable. When it is actually removed is `purgeScheduledAt`, not this.',\n }),\n purgeScheduledAt: schemaShape.purgeScheduledAt.dateSpec({\n meaning: 'When a marked organization and everything it owns are permanently removed, at the end of its retention window. Absent unless the organization is marked for deletion; `restore` clears it.',\n whyItMatters: 'Until this instant the deletion can be undone with `restore`; after the purge it cannot.',\n }),\n activeLegalHoldCount: schemaShape.activeLegalHoldCount.numberSpec({\n meaning: 'How many legal holds are active on the organization, of every scope kind (the whole organization, some of its rows, one of its people). Read from `legalHolds` at read time and never stored. Computed only on the governed directory (the `directory` LIST, SEARCH and READ); absent on every other read, and absent on the directory when the holds could not be read (unknown, never zero). Never carries a hold\\'s scope, ground, subject or matter text (#1846).',\n whyItMatters: 'It answers which tenants are under a legal hold right now, the first question of an incident or an audit, and a tenant with a count above zero is one the purge will not remove. It is disclosed only on reads that already need a two-person application-wide grant (or that tenant\\'s grant, for one organization) and are recorded, so the reads that reveal it are the reads that are gated. A member\\'s own read does not carry it, because only the organization\\'s owner may list its holds.',\n }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Load the tenant record: for its members (default variant), for a platform super-admin who is also a member (`admin` variant), or for an operator opening a tenant from the governed directory (`directory` variant). Only the `directory` variant crosses into a tenant the caller does not belong to, and only under that tenant\\'s platform access grant.',\n outcome: 'Clients render the tenant record and link related org-scoped resources.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The organization was found and its tenant record (name, slug, type, status) is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No organization exists for the supplied id, or the caller cannot resolve it within their tenant scope.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a member of this organization, or uses the `admin` variant without the platform super-admin role.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'The `directory` variant is used on a tenant the caller does not belong to without a usable platform access grant for that tenant. Answered exactly like a missing organization, so nobody can probe which ids exist. Request a grant for the tenant (it may need the tenant\\'s approval), then retry; the directory\\'s page for the tenant offers the request. Every crossing is recorded as cross-tenant administrative access.' },\n ],\n idempotent: true,\n },\n [Op.LIST]: {\n purpose: 'The default variant lists the organizations the caller belongs to (a platform super-admin sees their OWN tenants). The `directory` variant lists every tenant of the application, for platform operations, behind an application-wide access grant a second administrator signed.',\n outcome: 'A paginated list: the caller\\'s tenants, or the governed directory an operator uses to find a tenant before requesting per-tenant access to it. Each directory row carries `activeLegalHoldCount`, the number of legal holds active on that tenant.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of organizations. On the `directory` variant, every read is recorded as a platform directory access naming the operator and the grant.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the platform super-admin role.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The `directory` variant is used without a usable application-wide access grant: requested with a justification, approved by a different platform administrator, and not yet expired. Request one in the application access grants, then retry. The default variant needs no grant because it is confined to the caller\\'s own tenants.' },\n ],\n idempotent: true,\n },\n [Op.SEARCH]: {\n purpose: 'Search organizations by name or slug. The same two variants as LIST: the caller\\'s own tenants (default), or the governed `directory` of every tenant. A third, `mine`, is the default\\'s confined read open to every signed-in person: the organizations they hold an organization-wide role in, newest first. The organization switcher uses it to find an organization past the first 20 memberships the user context carries.',\n outcome: 'Matching organizations for search surfaces.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of organizations matching the name/slug/status query. On `mine`, only organizations the caller is a member of with organization-wide standing.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The default or `directory` variant is used by a caller without the platform super-admin role, or `mine` by a caller without the application user role.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The `directory` variant is used without a usable application-wide access grant approved by a different platform administrator.' },\n ],\n idempotent: true,\n },\n [Op.CREATE]: {\n purpose: 'Registration-owned tenant bootstrap (route-less internal variant), direct end-user creation (default HTTP variant), or super-admin creation (`admin` HTTP variant). Each door creates the types `isOrganizationTypeCreatableThrough` admits (#2609): a type with a registration creation policy only on the internal path, a type that declares `selfServiceCreation` on the default variant, and any other non-owner type on the `admin` variant.',\n outcome: 'A new organization is created and its setup runs. The server sets the row\\'s `platformAccessApprovalRequired` on every door, whatever the caller sent (#2618): on when the parties of some relationship kind are independent of the application\\'s operator, off otherwise.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'A new organization was provisioned and is returned with its server-assigned id and starting lifecycle status.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The organization payload fails schema validation (e.g. missing `name` or a malformed `slug`).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not permitted to create a tenant: the default variant without the application user role, or the `admin` create variant without the super-admin role.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'Default variant only: founding the organization would give the caller one of its type\\'s user types that they do not hold and whose registration mode does not admit self-service acquisition (`invitation_only`, `admin_only` or `disabled`). Founding an organization ACQUIRES those user types, so it answers to the same acquisition policy as registration, invitation and enterprise provisioning (#2605). Refused before the row is written; a user who already holds the type is not refused. The message names the denied mode.', customMessageReference: ErrorCustomMessageReference.REGISTRATION_INVITATION_ONLY },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The requested `type` declares a registration `creationPolicy`: registration creates it and no HTTP variant does. Carries `ORGANIZATION_TYPE_CREATED_BY_REGISTRATION_ONLY`.', errorCode: 'ORGANIZATION_TYPE_CREATED_BY_REGISTRATION_ONLY' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'Default variant only: the requested `type` does not declare `selfServiceCreation`, so an administrator creates it (#2609). Carries `ORGANIZATION_TYPE_NOT_SELF_SERVICE_CREATABLE`.', errorCode: 'ORGANIZATION_TYPE_NOT_SELF_SERVICE_CREATABLE' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'Another organization already uses the requested URL-safe `slug` (or the name where the application enforces name uniqueness).', customMessageReference: ErrorCustomMessageReference.ORGANIZATION_SLUG_EXISTS },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The requested `type` declares `ownsApplication`. The organization that OPERATES the application is not created through ANY service-tier door — the refusal is by DOOR rather than by count, so it holds before an owner organization exists, which is exactly when the default `APP_USER` variant would otherwise have let the first registrant found it. The two doors that DO produce it are the platform bootstrap and `promoteToOwnerOrganization`. CONFLICT and not 403 deliberately: a super-administrator is refused by the same rule as a registrant, so the caller’s authority is not what is lacking — and an AUTHORIZATION error would have its context stripped, leaving a client nothing stable to branch on.', errorCode: 'OWNER_ORGANIZATION_TYPE_NOT_CREATABLE' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Bootstrap a new organization',\n // `type` is required on create (#3204: the API reference refused this example while it had none). Its values\n // are the application's own organization types; `workspace` is the one the engine's examples use.\n request: {\n name: 'Acme Corp',\n slug: 'acme-corp',\n type: 'workspace',\n },\n response: {\n _id: 'org_01HX2…',\n name: 'Acme Corp',\n slug: 'acme-corp',\n type: 'workspace',\n status: OrganizationStatus.TRIAL,\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.UPDATE]: {\n purpose: 'Org admin patch (default) or super-admin patch (`admin` variant) excluding immutable slug and organization type.',\n outcome: 'Field updates that propagate to org-scoped UIs and integrations. Every update, on both variants, records a `resource_operation_performed` row naming the fields it changed, although the verb is below the automatic audit floor: it can turn `platformAccessApprovalRequired` off, which decides whether an operator\\u2019s access needs this organization\\u2019s approval, and that field\\u2019s before and after are carried as evidence, as are `dataResidency`\\u2019s (#2294).',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The organization was patched and the updated tenant record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The edited fields fail schema validation, or a caller attempts to mutate immutable `slug` / `type` identity through generic UPDATE.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The edit sets a `dataResidency` that does not narrow the application\\'s: the application declares no data residency, or a territory lies outside it (#2294). The message names the territories and the remedy. Clearing it (`null`) is always admitted.', customMessageReference: ErrorCustomMessageReference.SERVICE_RESOURCE_VALIDATION_FAILED },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is neither an org admin of this tenant nor a platform super-admin using the `admin` edit variant.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No organization exists for the supplied id in the caller’s scope.' },\n ],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'PURGE — irreversible destruction of a tenant at the end of its retention window. No longer the tenant-facing delete: an org admin uses `request_deletion`, which marks the tenant instead.',\n outcome: 'The tenant row is hard-deleted and every enabled `onParentDelete` cascade in the resource registry runs, including organization members. Cascade edges resolve their own per-edge strategy, so children declared `impersonalize_and_retain` are scrubbed and kept rather than removed. Deliberately retained edges (billing accounts and subscriptions, audit logs, job executions) survive the tenant by design. Before its rows go, every live organization relationship the tenant is party to is ended in the same transaction — TERMINATED where it is the granting organization, WITHDRAWN where it is the representing organization — together with the representing organization\\'s representation record, the representatives\\' ACTIVE assignments and their ACTIVE relationship memberships in the granting organization, so the surviving tenant keeps no live record for a party that no longer exists; a SUSPENDED relationship membership, the granting organization\\'s own decision about that person, is kept. A refused delete ends nothing. Emits `organization_deleted`, the evidence of what was destroyed, once the delete commits.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The organization record was deleted and its registry-declared cascades ran; the body carries its `id`.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The organization OPERATES the application (its type declares `ownsApplication`), so it cannot be put on the deletion path. Everything the application owns as an operator belongs to it, and nothing could re-create it — no door mints a second owner. Refused on BOTH declared doors — the route-less INTERNAL_CALL the purge batch dispatches and the super-administrator’s immediate-purge `admin` variant — so the batch skips the tenant and logs rather than destroying it. SUSPENSION stays available: halting the owner tenant is incident response and is recoverable, where a purge is not.', errorCode: 'OWNER_ORGANIZATION_CANNOT_BE_DELETED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the platform super-admin role, OR holds it but is not a member of the target organization. Unlike `restore`, `activate` and `requestDeletion: admin`, this variant deliberately does NOT declare `admitsCrossTenantPlatformAdministration` (decided 2026-08-05): it is irreversible, whole-tenant, cascading, and skips the retention window on purpose, so crossing it would turn a compromised platform credential from a per-tenant threat into an any-tenant one. The sanctioned operator takedown path is `requestDeletion: admin` (mark + notify + window, undoable by `restore`). Opening this one would require shipping a mandatory justification, a separable high-severity audit event, and a two-person rule alongside it. Only the `admin` variant is reachable over HTTP; the default variant is a route-less INTERNAL_CALL owned by the `organization-purge` batch, so no client can skip the retention window.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The `admin` variant declares `requiresStepUpAuthentication`, and the request carried no valid single-use re-authentication token. Obtain one from the re-authentication route and retry with it. Re-authentication accepts a password, an enrolled second factor (a TOTP code or a backup code), or a passkey assertion, so a directory-managed (SCIM) user whose local first factor the framework destroys by design can still clear this gate through an enrolled second factor. A principal holding none of the three cannot.', customMessageReference: ErrorCustomMessageReference.STEP_UP_REQUIRED },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No organization exists for the supplied id (or it was already purged).' },\n ],\n idempotent: true,\n },\n [Organization_Lifecycle_Operations.REQUEST_DELETION]: {\n operationId: Organization_Lifecycle_Operations.REQUEST_DELETION,\n purpose: 'Mark the tenant for deletion — the tenant-facing delete. Replaces the former org-admin `DELETE` door.',\n outcome: 'The tenant becomes authorization-dead immediately and stays data-alive until the retention window elapses. NOW: `status` flips to `DELETED`, `deletionRequestedAt` and `purgeScheduledAt` are stamped, every affected user’s global `userTypes` are reconciled and their tokens invalidated, and members are notified. LATER: the `organization-purge` batch destroys the tenant once `purgeScheduledAt` has passed. No rows are removed here — membership rows in particular are preserved precisely so `restore` can re-derive organization-scoped authority from them. Every organization relationship that confers only because this tenant does stops conferring (dormant, not ended; the purge ends it): each is recorded in both parties\\u2019 trails as `DORMANT_BY_PARTY_STATUS`, and the other party is emailed (#2795). A tenant already SUSPENDED moves none.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The organization transitioned to `DELETED` with its purge deadline stamped; the updated tenant record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-admin role (default variant) or the platform super-admin role (`admin` variant) that gates this destructive transition. Only the `admin` variant declares `admitsCrossTenantPlatformAdministration`: an operator marks a tenant they are not a member of, which is the takedown path for a legal order or abuse report. It is the REVERSIBLE destructive door — mark, notify, window — crossed together with RESTORE deliberately, since a marking door without its release would be a one-way door calling itself a window.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'Both variants declare `requiresStepUpAuthentication`, and the request carried no valid single-use re-authentication token. Obtain one from the re-authentication route and retry with it. Re-authentication accepts a password, an enrolled second factor (a TOTP code or a backup code), or a passkey assertion, so a directory-managed (SCIM) user whose local first factor the framework destroys by design can still clear this gate through an enrolled second factor. A principal holding none of the three cannot clear it and must route the teardown through the `admin` variant.', customMessageReference: ErrorCustomMessageReference.STEP_UP_REQUIRED },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'REQUEST_DELETION is unavailable for the organization’s current status — it is enabled only from `ACTIVE`, `TRIAL`, `TRIAL_EXPIRED` or `SUSPENDED`. From `DELETED` (already marked) or the terminal `CANCELLED` the operation is disabled, so a double-mark cannot silently re-arm the retention window. Enforced as conditional availability (`enabledCondition`) on both the frontend (the action is disabled) and the backend (rejected as operation-disabled). On the default variant the `SUSPENDED` arm is additionally unreachable, because a suspended tenant confers no authority to its own admins.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The organization OPERATES the application (its type declares `ownsApplication`), so it cannot be put on the deletion path. Everything the application owns as an operator belongs to it, and nothing could re-create it — no door mints a second owner. Refused at the MARK and not only at the purge, because the mark is what makes the tenant authorization-dead. SUSPENSION stays available: halting the owner tenant is incident response and is recoverable, where a purge is not.', errorCode: 'OWNER_ORGANIZATION_CANNOT_BE_DELETED' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No organization exists for the supplied id in the caller’s scope.' },\n ],\n idempotent: false,\n },\n [Organization_Lifecycle_Operations.RESTORE]: {\n operationId: Organization_Lifecycle_Operations.RESTORE,\n purpose: 'Cancel a pending tenant deletion inside its retention window (platform super-admin).',\n outcome: 'The tenant returns to `ACTIVE`, its deletion marks are cleared, and each affected user’s global `userTypes` are re-granted. Organization-scoped authority needs no restoration step: it is recomputed per request from the tenant status, over membership rows the mark deliberately left untouched. Every organization relationship that stopped conferring only because of this tenant\\u2019s status confers again: each is recorded in both parties\\u2019 trails as `REVIVED_BY_PARTY_STATUS`, and the other party is emailed (#2795).',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The organization transitioned back to `ACTIVE` with its deletion marks cleared; the updated tenant record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the platform super-admin role. There is deliberately NO org-scoped variant: a `DELETED` tenant confers no authority, so its own admin could never satisfy one — recovery is a provider-side action, as it is in comparable systems. The variant declares `admitsCrossTenantPlatformAdministration`, so a platform super-administrator reaches it WITHOUT being a member of the marked tenant. That crossing is what makes the retention window a real safety net: until 2026-08-05 the operator was refused by the tenant-boundary check too, so a marked tenant could be restored by NOBODY and was always collected by the purge batch.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'RESTORE is unavailable unless the organization is currently `DELETED`. Enforced as conditional availability (`enabledCondition`) on both the frontend (the action is disabled) and the backend (rejected as operation-disabled).' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No organization exists for the supplied id — the retention window has elapsed and the tenant was purged, or the id is unknown. There is no separate “too late to restore” state: if the row is present it is restorable.' },\n ],\n idempotent: false,\n },\n [Organization_Lifecycle_Operations.ACTIVATE]: {\n operationId: Organization_Lifecycle_Operations.ACTIVATE,\n purpose: 'Return a halted or expired organization to normal operation (super-admin). Also the trial-conversion path.',\n outcome: 'The tenant transitions to `ACTIVE` and immediately confers its members’ organization roles again — authority is recomputed per request from the tenant status over membership rows suspension never touched. Membership-derived GLOBAL `userTypes` withdrawn while the tenant was halted are re-granted from configuration (additive and idempotent, so a member who never lost one is untouched). Emits `organization_activated` carrying the status it came FROM, so lifting a suspension stays distinguishable from converting a lapsed trial. Notifications fan out to org leadership. Lifting a suspension also revives every organization relationship that stopped conferring only because of it: each is recorded in both parties\\u2019 trails as `REVIVED_BY_PARTY_STATUS`, and the other party is emailed (#2795).',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The organization transitioned to `ACTIVE` and the updated tenant record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the platform/super-admin role that gates organization lifecycle transitions. The variant declares `admitsCrossTenantPlatformAdministration`, so that role is sufficient on its own — membership of the target tenant is NOT additionally required, and could not be relied upon: ACTIVATE runs only from `SUSPENDED` or `TRIAL_EXPIRED`, and a `SUSPENDED` tenant confers no authority to its own members.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'ACTIVATE is unavailable for the organization’s current status — it is enabled only from `SUSPENDED` or `TRIAL_EXPIRED`. From `ACTIVE` (a no-op) or the terminal `CANCELLED`/`DELETED` states the operation is disabled. Enforced as conditional availability (`enabledCondition`) on both the frontend (the action is disabled) and the backend (rejected as operation-disabled).' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No organization exists for the supplied id in the caller’s scope.' },\n ],\n idempotent: true,\n },\n [Organization_Lifecycle_Operations.PROMOTE_TO_OWNER_ORGANIZATION]: {\n operationId: Organization_Lifecycle_Operations.PROMOTE_TO_OWNER_ORGANIZATION,\n purpose: 'Name this organization as the one that OPERATES the application — the paired mutation path for the otherwise-immutable `type`.',\n outcome: 'The tenant’s `type` becomes the declared type that carries `ownsApplication`, the organization is RECORDED on the application row as its owner (so a later move of the marker cannot silently elect another), and everything the application owns as an operator resolves to this organization from then on. NOTHING about anyone’s authority moves: the operation refuses rather than reconciling whenever the owner type would grant different user types (fewer or more), would not offer a role a membership, a unit assignment or a live machine credential holds, or would cross the directory-provisioning boundary while an unrevoked SCIM token exists. Emits `organization_type_assigned` with basis `operator_promotion`, the type it replaced, the operator, their mandatory `justification`, and what the move did that it does not refuse — whether the members’ sign-in policy changed (`signInPolicyChanged`), which organization relationships the owner type no longer allows (`relationshipsLeftDormant`, dormant rather than ended) and which it allows again (`relationshipsRevived`), each also recorded in both parties’ trails. Like `operator_type_change`, a basis that names a person; the other two are boot-time derivations. Exactly one organization may ever be promoted, and there is no demotion door. No notification is sent, deliberately: the operation is uncrossed, so the caller is a member of the very organization being promoted and there is no outside party for a tenant to be told about — the audit row naming the actor and their justification is the record this act owes.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The organization now carries the owner type, the application records it as its owner, and the updated tenant record is returned. Idempotent for the RECORDED owner: promoting it again changes nothing and records nothing. An organization that carries the owner type without being recorded (the marker moved onto its type, or several organizations carry it) is recorded and audited: that is the repair the start-time report asks for (#2608).' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the platform super-admin role. This variant deliberately does NOT declare `admitsCrossTenantPlatformAdministration` — unlike RESTORE, ACTIVATE and `requestDeletion: admin`, which are crossed because each is reversible. Promotion has no inverse, so the caller must ALSO be a member of the target organization; the bootstrap administrator is exactly that. Opening the crossing would require a demotion door or a two-person rule, neither of which exists.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The variant declares `requiresStepUpAuthentication` and the request carried no valid single-use re-authentication token. The act is irreversible and re-points everything the application owns as an operator, so a session must not reach it on the strength of a login that happened at some earlier point.', customMessageReference: ErrorCustomMessageReference.STEP_UP_REQUIRED },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The operation is unavailable unless the organization is currently `ACTIVE`. A suspended, marked or terminal tenant confers no authority, and an owner organization nobody can act through is not an owner. Enforced as conditional availability (`enabledCondition`) on both the frontend (the action is disabled) and the backend (rejected as operation-disabled).' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The application already has an owner organization: the recorded one, or the single organization of the owner type, which the first resolution records. Exactly one may exist and there is no operation that demotes one. A recorded owner that is gone or no longer carries the owner type resolves as no owner, so promotion is then the repair.', errorCode: 'APPLICATION_OWNER_ORGANIZATION_EXISTS' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'No declared organization type carries `ownsApplication`, so there is nothing to promote into. Declare one in `wildo.saas.config.ts` and run `wildo config reapply-declaration`.', errorCode: 'APPLICATION_DECLARES_NO_OWNER_ORGANIZATION_TYPE' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The owner type would change what this organization’s members are or may hold: it grants different `userTypes` from the current type (fewer would revoke one from every member, more would leave current members without what a new member receives), a membership or one of its unit assignments holds a role it does not list in `availableOrgRoles`, a live API key or OAuth client of the organization holds such a role, or the organization holds an unrevoked SCIM token while only one of the two types declares `scimProvisioning` (leaving would make the SCIM API refuse its directory, deprovisioning included; entering would re-enable a token that did nothing — revoke it first). The refusal names which mismatch and the exact values; widen the owner type in the declaration and retry. Refusing rather than revoking and re-granting is what keeps the promotion a change of IDENTITY that touches nobody’s authority.', errorCode: 'OWNER_PROMOTION_INCOMPATIBLE_WITH_TARGET_TYPE' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No organization exists for the supplied id in the caller’s scope.' },\n ],\n idempotent: true,\n },\n [Organization_Lifecycle_Operations.CHANGE_TYPE]: {\n operationId: Organization_Lifecycle_Operations.CHANGE_TYPE,\n purpose: 'Move an organization from one ordinary declared type to another, and back — a client moving to a regulated tier, for instance.',\n outcome: 'The tenant’s `type` becomes `targetType`. Like promotion, it changes the tenant’s IDENTITY and touches nobody’s authority: it refuses rather than reconciling whenever the target would grant different user types (fewer or more), would not offer a role an ordinary membership, one of its unit assignments or a live machine credential holds, or would cross the directory-provisioning boundary while an unrevoked SCIM token exists — the same assessment promotion runs. What it does not refuse it records on `organization_type_assigned` with basis `operator_type_change`, beside the type it replaced, the operator and their mandatory `justification`: whether the members’ sign-in policy changed (`signInPolicyChanged`, stricter or looser — that is what moving between tiers is for), which organization relationships the previous type allowed and the new one does not (`relationshipsLeftDormant`), and which it allows again (`relationshipsRevived`). Each such relationship is also recorded in BOTH parties’ trails as a `organization_relationship_lifecycle` transition (`DORMANT_BY_TYPE_CHANGE`, `REVIVED_BY_TYPE_CHANGE`), so the party whose type did not change learns of it. A dormant relationship confers nothing until a declaration allows it again; it is the granting organization’s to end, never the type change’s. The tenant’s owners and administrators are emailed, because the change is made from outside the tenant and alters how its members sign in. The email names the new type in the application’s own words, says whether sign-in changed, and counts the relationships that stopped or resumed giving access: the same measurement the audit event records, derived after the commit (#2635).',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The organization now carries the target type and the updated tenant record is returned. Idempotent: changing an organization to the type it already has changes nothing and records no type assignment (the operation itself, and any crossing, are still recorded as for every call).' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the platform super-admin role. The variant declares `admitsCrossTenantPlatformAdministration` because the change is reversible (the same door changes it back), so membership of the target is not required — but every crossing needs a usable platform access grant and is recorded as `cross_tenant_administrative_access`.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The variant declares `requiresStepUpAuthentication` and the request carried no valid single-use re-authentication token. The change alters how every member signs in.', customMessageReference: ErrorCustomMessageReference.STEP_UP_REQUIRED },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The operation is unavailable unless the organization is currently `ACTIVE`. Enforced as conditional availability (`enabledCondition`) on both the frontend (the action is disabled) and the backend (rejected as operation-disabled).' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: '`targetType` names no declared organization type. The refusal lists the declared ones.', errorCode: OrganizationTypeChangeErrorCode.TARGET_TYPE_NOT_DECLARED },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The organization is the recorded owner of the application, or carries the owner type while no owner resolves (so which one is the owner is unknown). No door moves the owner out of the owner type: there is no demotion, because an application must never be left without one. Another organization of the owner type that is not the recorded owner is admitted, so it can be moved out.', errorCode: OrganizationTypeChangeErrorCode.OWNER_ORGANIZATION },\n { code: HttpResponseStatusCode.CONFLICT_409, when: '`targetType` is the owner type. The only way into it is `promoteToOwnerOrganization`, which guarantees there is never a second owner.', errorCode: OrganizationTypeChangeErrorCode.TARGET_IS_OWNER_TYPE },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The target type would change what this organization’s members are or may hold: it grants different `userTypes` from the current type (fewer would revoke one from every member, more would leave current members without what a new member receives), an ordinary membership or one of its unit assignments holds a role it does not offer in `availableOrgRoles`, a live API key or OAuth client of the organization holds such a role, or the organization holds an unrevoked SCIM token while only one of the two types declares `scimProvisioning` (leaving would make the SCIM API refuse its directory, deprovisioning included; entering would re-enable a token that did nothing — revoke it first). The refusal names which mismatch and the exact values; widen the target type in the declaration and retry. A relationship membership’s role belongs to its relationship and is measured as a consequence instead.', errorCode: OrganizationTypeChangeErrorCode.INCOMPATIBLE_WITH_TARGET_TYPE },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No organization exists for the supplied id in the caller’s scope.' },\n ],\n idempotent: true,\n },\n [Organization_Lifecycle_Operations.SUSPEND]: {\n operationId: Organization_Lifecycle_Operations.SUSPEND,\n purpose: 'Halt an organization for abuse, billing, or compliance (super-admin).',\n outcome: 'The tenant transitions to `SUSPENDED` and STOPS CONFERRING AUTHORITY: every member loses their organization roles at once, resolved per request rather than by editing membership rows, so the change is complete the moment it commits and is fully reversed by `ACTIVATE`. Members are emailed unless `notifyMembers` is false — a deliberately quiet hold is supported and is recorded in the audit event. Membership-derived GLOBAL `userTypes` are also reconciled: a membership in a non-authority-conferring tenant no longer justifies such a grant, so suspending an organization withdraws what it was vouching for platform-wide, and users who actually lose a grant have their tokens invalidated. `activate` restores them. Emits `organization_suspended` with the reason, the prior status, and how many users lost a global grant. Every organization relationship that confers only because this tenant does stops conferring (dormant, not ended): each is recorded in both parties\\u2019 trails as `DORMANT_BY_PARTY_STATUS`, and the other party is emailed (#2795).',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The organization transitioned to `SUSPENDED` and the updated tenant record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the platform/super-admin role that gates organization lifecycle transitions.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'SUSPEND is unavailable for the organization’s current status — it is enabled only from `ACTIVE` or `TRIAL`. From `SUSPENDED` (a no-op) or the terminal `CANCELLED`/`DELETED` states the operation is disabled. Enforced as conditional availability (`enabledCondition`) on both the frontend (the action is disabled) and the backend (rejected as operation-disabled).' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No organization exists for the supplied id in the caller’s scope.' },\n ],\n idempotent: true,\n },\n },\n businessConstraints: [\n 'Registry self-anchor is `ORGANIZATIONS` for the ORGANIZATIONS primary scope; align `resourcePrimaryScope` with the factory.',\n 'Organization `type` is creation-time policy identity; generic UPDATE strips it. TWO dedicated transitions exist — `promoteToOwnerOrganization` (the only way INTO the owner type) and `changeType` (between ordinary declared types) — and both discharge the reconciliation requirement through ONE assessment, by REFUSING any move that would change member roles, a live machine credential’s roles, membership-derived user types, or what an unrevoked SCIM token can do, rather than reconciling them. What neither refuses — a changed sign-in policy, relationships the new type no longer allows — both record on `organization_type_assigned`. Nothing moves an organization OUT of the owner type. Any future transition owes the same bar: refuse, or reconcile every dependent surface in one transaction.',\n 'Organization types with a registration creation policy cannot be created through either HTTP CREATE variant. Registration and registration-onboarding own the distinct route-less INTERNAL_CALL CREATE path, so direct CRUD cannot impersonate that authority.',\n 'An organization type that declares `ownsApplication` names the organization OPERATING the application, and at most one such organization may exist. No service-tier CREATE may produce it — the refusal is by DOOR rather than by count, so it holds before any owner organization exists, which is exactly when the default `APP_USER` CREATE variant would otherwise have let the first registrant found it. The two doors that DO produce it are the platform bootstrap and `promoteToOwnerOrganization`. The owner is RECORDED on the application row (`Application.ownerOrganizationId`): promotion writes it, and the first resolution records the single organization of the owner type when nothing is recorded yet. From then on the record decides, and a declaration that disagrees with it is reported at startup rather than obeyed.',\n 'Organizations reach each other only through relationships, each an instance of a KIND declared once under `organizationRelationships` between organization types (#2722): which types represent and which grant, what a relationship may confer, what its representatives see of the granting tenant\\'s own records, who may propose it. A kind only makes such relationships possible — each one is still proposed or accepted by the granting organization\\'s owner, may be confined to some of its organization units, and ends on the next request. The relationship lives in the GRANTING organization (`organizationRelationships`); the representing organization sees its `organizationRepresentations` mirror. Every conferred role must be offered by each granting type\\'s `availableOrgRoles` and must not reach `ORG_ADMIN`; startup refuses either.',\n 'A kind may give each granting organization type its own defaults (#1612, #1631): `defaultRepresentativeAdmissionPolicy` — how its organizations admit the representatives the other side designates when nobody chose (each admitted by the relationship, the default, or each waiting for one of its administrators) — the longest it lends a security-critical capability, and when a pending representative approval lapses. They sit with the GRANTING type because the granting organization owns those choices; every relationship still carries its own `representativeAdmissionPolicy`, and that value always wins.',\n 'The organization type that `ownsApplication` either is the only representing type of a kind (the operator is the party, as in an accounting practice running its own platform) or represents nobody in it (the parties are independent of the operator). Startup refuses the middle — the operator representing organizations beside other representing types it competes with, on the platform it runs.',\n 'The application-owner organization cannot be put on the deletion path: `requestDeletion` and `delete` refuse it on every declared variant, and the purge batch inherits that refusal through the INTERNAL_CALL door it dispatches. SUSPENSION is deliberately still allowed — halting the owner tenant is incident response and is recoverable, where a purge is not.',\n // DELETE deliberately has NO dependents guard. An earlier revision of this spec documented a\n // 409 `ORGANIZATION_HAS_DEPENDENTS` naming active members, organization units and live\n // subscriptions as blockers; it was removed (2026-07-29) because each named dependent\n // contradicts the tenant-teardown contract rather than supporting it. Kept as a constraint so\n // the refusal is not re-derived as a \"missing\" guard.\n 'Deleting an organization is never refused for having dependents. Organization units are cascade-deleted with the tenant (every unit carries the tenant id, so the whole tree goes in one pass). Billing accounts and subscriptions are retained on purpose by the billing-retention decision, which explicitly accepts the resulting dangling tenant reference so the financial audit trail outlives the tenant. And blocking on active members would be self-defeating: the default DELETE variant is performed BY an org admin, who is himself an active member, so such a guard could never pass.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n ),\n () => ({\n layout: {\n purpose: 'Name-first layout for org settings (General) and the super-admin org directory card.',\n headerPurpose: 'The READ header: the organization name on the title line and its `status` badge on the facts line under it — whether the tenant is live, suspended or marked for deletion is the first thing a reader needs. Neither repeats in the body.',\n displayPurpose: 'READ is one flat list of rows and documents no section: `slug`, `type`, `createdAt`, then `platformAccessApprovalRequired` — whether a platform operator needs this organization\\u2019s approval before their access is usable, edited in place; the requests it governs are on Organization → Operator access (#2323). `name` and `status` are the header\\'s. The `lifecycle` slot was retired because a section holding one timestamp is a heading with a row under it rather than a grouping, and the `overview` slot because a heading over the only group names the page, not a part of it.',\n summaryPurpose: 'A directory card: the name as the title, then the `status` badge and the declared `type` as bare values — the two facts that tell one tenant from another. `slug` restates the name and `createdAt` answers nothing a directory scan asks.',\n editPurpose: 'One flat form, no section: `name` (focused) on every form; `slug`, `status` and the declared `type` only on CREATE, since all three are `excludeFromUpdate`; `platformAccessApprovalRequired` only on UPDATE, since the server decides where it starts (`excludeFromCreate`, #2618) and the organization\\'s administrator changes it afterwards.',\n },\n views: {\n [Op.READ]: {\n variants: {\n default: {\n purpose: 'Member-facing read of the current organization in standard app context.',\n whenToUse: 'Org home and any surface scoped to the active tenant.',\n },\n admin: {\n purpose: 'A platform super-administrator\\u2019s read of an organization they are a member of (factory `admin` variant). It does not cross into another tenant.',\n whenToUse: 'An operator\\u2019s own tenants, opened from the operator scope.',\n },\n directory: {\n purpose: 'One organization opened from the tenant directory (#2315): its page, crossing into the tenant under that tenant\\u2019s platform access grant; once that read has answered, the tenant\\u2019s members and legal holds through their crossed `admin` variants; and below them the operator\\u2019s request for access. Without a usable grant the body answers 404 like a missing organization, the lists are not placed, and the request is what the page still offers.',\n whenToUse: 'An operator reaching a tenant they do not belong to, from Administration \\u2192 Organizations.',\n },\n },\n },\n [Op.LIST]: {\n variants: {\n default: {\n purpose: 'A platform super-administrator\\u2019s list of the organizations they belong to. Not surfaced as a page; the tenant directory is the `directory` variant.',\n whenToUse: 'Never as a listing page.',\n },\n directory: {\n purpose: 'The governed tenant directory: every organization of the application, behind an application-wide access grant a second administrator signed. Administration \\u2192 Organizations \\u2192 All organizations; a row opens the `directory` READ.',\n whenToUse: 'An operator finding a tenant before requesting access to it.',\n },\n },\n },\n [Op.SEARCH]: {\n variants: {\n default: {\n purpose: 'A platform super-administrator\\u2019s console search over the organizations they belong to.',\n whenToUse: 'Looking up one of the operator\\u2019s own tenants by name or slug. The organization switcher reads the `mine` variant instead, which has no view and is documented with the SEARCH operation.',\n },\n directory: {\n purpose: 'Search over the governed tenant directory, by name or slug, under the same application-wide grant as its LIST.',\n whenToUse: 'Finding one tenant among many in the directory.',\n },\n },\n },\n [Op.CREATE]: {\n variants: {\n default: {\n purpose: 'Self-serve or guided creation of a new org by an authenticated user.',\n whenToUse: 'Onboarding where users can stand up a tenant without platform admin tools.',\n },\n admin: {\n purpose: 'Back-office or migration flows where a super-admin creates an org for a customer.',\n whenToUse: 'Manual provisioning, imports, and partner enablement — addressable in merged preset.',\n },\n },\n },\n [Op.UPDATE]: {\n variants: {\n default: {\n purpose: 'Org administrators edit mutable fields (not slug) in product settings.',\n whenToUse: 'Renaming, status transitions permitted to org roles.',\n },\n admin: {\n purpose: 'Super-admin correction or elevated edits across tenants.',\n whenToUse: 'Support, compliance, and data-fix workflows.',\n },\n },\n },\n [Op.DELETE]: {\n variants: {\n admin: {\n purpose: 'Platform-driven immediate tenant purge that bypasses the retention window (high trust).',\n whenToUse: 'Exceptional abuse, legal-order, or emergency takedowns that cannot wait for scheduled purge.',\n },\n },\n },\n [Organization_Lifecycle_Operations.ACTIVATE]: {\n purpose: 'Restore operations after a suspension in app-admin UIs.',\n whenToUse: 'Reinstatement from billing recovery or false-positive security holds.',\n },\n [Organization_Lifecycle_Operations.SUSPEND]: {\n purpose: 'Emergency or policy hold that blocks org access while retaining data for audit.',\n whenToUse: 'Non-payment, ToS, or law-enforcement–driven pauses.',\n },\n [Organization_Lifecycle_Operations.CHANGE_TYPE]: {\n purpose: 'Move a tenant between ordinary declared types — a client moving to or from a regulated tier — without rebuilding it.',\n whenToUse: 'By a platform super-administrator, under a platform access grant and a written justification, when a tenant’s declared policy (its user types, sign-in rules, roles or the relationships it may enter) must change. Widen the target type first if the refusal names a mismatch.',\n },\n [Organization_Lifecycle_Operations.PROMOTE_TO_OWNER_ORGANIZATION]: {\n purpose: 'Declare which organization operates this application, on a deployment that adopted the marker after it was already running.',\n whenToUse: 'Once, by a super-administrator who is a member of the organization being promoted. A deployment created after the marker was declared never needs it — the platform seeds the owner organization with the first administrator.',\n },\n },\n }),\n);\n"]}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Resource: `professionalQualifications` — Wildo SaaS engine specification (#2967, organization-scoped, backend verbs).
|
|
3
|
+
*
|
|
4
|
+
* Inputs:
|
|
5
|
+
* - Schema + vocabulary: engine/saas-models/src/organizations/professional-qualifications.shared.schemas.ts
|
|
6
|
+
* - Factory: engine/saas-models/src/organizations/professional-qualifications.shared.resources-config.schemas.ts
|
|
7
|
+
*
|
|
8
|
+
* A qualification is a fact about ONE person (a chartered accountant's registration, an auditor's licence), recorded and
|
|
9
|
+
* checked by the organization that employs them. A decision may require a kind, and then admits only a decider holding a
|
|
10
|
+
* verified one within its validity: the individual guarantee a role, granted per organization or per relationship,
|
|
11
|
+
* cannot give.
|
|
12
|
+
*/
|
|
13
|
+
import { CoreResourceOperation as Op, ProfessionalQualificationStatus, ProfessionalQualifications_Operations } from '@wildo-ai/saas-models';
|
|
14
|
+
export declare const professionalQualificationsResourceSpecification: import("../../../_core").ResourceSpecificationConfig<typeof ProfessionalQualifications_Operations, Op.READ | Op.UPDATE | Op.UPDATE_MANY | Op.DELETE | Op.CREATE | Op.LIST | Op.COUNT, import("zod").ZodObject<{
|
|
15
|
+
_id: import("zod").ZodString;
|
|
16
|
+
organizationId: import("zod").ZodString;
|
|
17
|
+
holderUserId: import("zod").ZodString;
|
|
18
|
+
holderName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
19
|
+
kind: import("zod").ZodString;
|
|
20
|
+
issuer: import("zod").ZodString;
|
|
21
|
+
registrationNumber: import("zod").ZodString;
|
|
22
|
+
validFrom: import("zod").ZodDate;
|
|
23
|
+
validUntil: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
24
|
+
proof: import("zod").ZodOptional<import("@wildo-ai/zod-decorators").DecoratedFileSchema> | import("zod").ZodOptional<import("@wildo-ai/zod-decorators").DecoratedMultipleFileSchema>;
|
|
25
|
+
status: import("zod").ZodDefault<import("zod").ZodEnum<typeof ProfessionalQualificationStatus>>;
|
|
26
|
+
verifiedByUserId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
27
|
+
verifiedAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
28
|
+
revokedByUserId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
29
|
+
revokedAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
30
|
+
revocationReason: import("zod").ZodOptional<import("zod").ZodString>;
|
|
31
|
+
verifiedByName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
32
|
+
revokedByName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
33
|
+
expiryWarningSentAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
34
|
+
endedAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
35
|
+
createdByUserId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
36
|
+
createdAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
37
|
+
updatedAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
38
|
+
}, import("zod/v4/core").$strip>>;
|
|
39
|
+
//# sourceMappingURL=professional-qualifications.resource.specification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"professional-qualifications.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/organizations/resources/professional-qualifications.resource.specification.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAIH,OAAO,EACL,qBAAqB,IAAI,EAAE,EAE3B,+BAA+B,EAC/B,qCAAqC,EAGtC,MAAM,uBAAuB,CAAC;AAY/B,eAAO,MAAM,+CAA+C;;;;;;;;;;;;;;;;;;;;;;;;iCAwH3D,CAAC"}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Resource: `professionalQualifications` — Wildo SaaS engine specification (#2967, organization-scoped, backend verbs).
|
|
3
|
+
*
|
|
4
|
+
* Inputs:
|
|
5
|
+
* - Schema + vocabulary: engine/saas-models/src/organizations/professional-qualifications.shared.schemas.ts
|
|
6
|
+
* - Factory: engine/saas-models/src/organizations/professional-qualifications.shared.resources-config.schemas.ts
|
|
7
|
+
*
|
|
8
|
+
* A qualification is a fact about ONE person (a chartered accountant's registration, an auditor's licence), recorded and
|
|
9
|
+
* checked by the organization that employs them. A decision may require a kind, and then admits only a decider holding a
|
|
10
|
+
* verified one within its validity: the individual guarantee a role, granted per organization or per relationship,
|
|
11
|
+
* cannot give.
|
|
12
|
+
*/
|
|
13
|
+
import { LabelAudience } from '@wildo-ai/presets-components-models';
|
|
14
|
+
import { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance } from '@wildo-ai/zod-decorators';
|
|
15
|
+
import { CoreResourceOperation as Op, ProfessionalQualificationSchema, ProfessionalQualificationStatus, ProfessionalQualifications_Operations, ResourcePrimaryScope, professionalQualificationsResourceConfiguration_InitializationFactory, } from '@wildo-ai/saas-models';
|
|
16
|
+
import { HttpResponseStatusCode, resourceSpecification } from '../../../_core/index.js';
|
|
17
|
+
import { EngineResourceSubDomain } from '../../engine-resource-sub-domain.js';
|
|
18
|
+
const modelsExport = (exportName, symbolKind, declarationKind) => ({
|
|
19
|
+
packageName: '@wildo-ai/saas-models', exportName, symbolKind, declarationKind,
|
|
20
|
+
});
|
|
21
|
+
const enumDeclaration = (exportName) => modelsExport(exportName, CodeSymbolKind.ENUM, CodeDeclarationKind.TYPESCRIPT_ENUM);
|
|
22
|
+
const NOT_IN_STATUS = { code: HttpResponseStatusCode.CONFLICT_409, when: 'The qualification is not in a status this verb applies to, or changed since it was read (`PROFESSIONAL_QUALIFICATION_NOT_IN_STATUS`).' };
|
|
23
|
+
const NOT_ADMIN = { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an administrator of the organization.' };
|
|
24
|
+
export const professionalQualificationsResourceSpecification = resourceSpecification(professionalQualificationsResourceConfiguration_InitializationFactory, ProfessionalQualificationSchema, ({ schemaShape }) => ({
|
|
25
|
+
purpose: 'Record the professional qualifications your organization\'s people hold (a chartered accountant\'s registration, an auditor\'s licence) and check them, so a decision that requires one reaches only a person who holds it.',
|
|
26
|
+
businessRole: 'The employing organization\'s record of who holds which qualification, issued by whom, valid when, checked against which proof and by whom.',
|
|
27
|
+
lifecycleRole: 'PENDING_VERIFICATION when recorded (correctable, counts for nothing); VERIFIED once an administrator other than the holder checks it against its proof (counts while valid); REVOKED when withdrawn; EXPIRED when the sweep relabels it after its validity. A renewal is a new qualification. Ended qualifications stay as the record of who was qualified when.',
|
|
28
|
+
audience: LabelAudience.ADMIN,
|
|
29
|
+
subDomain: EngineResourceSubDomain.ORGANIZATIONS,
|
|
30
|
+
codeHandling: {
|
|
31
|
+
mainSchema: modelsExport('ProfessionalQualificationSchema', CodeSymbolKind.SCHEMA, CodeDeclarationKind.ZOD_SCHEMA),
|
|
32
|
+
resourceFactory: modelsExport('professionalQualificationsResourceConfiguration_InitializationFactory', CodeSymbolKind.FACTORY, CodeDeclarationKind.FUNCTION),
|
|
33
|
+
resourceType: { enumDeclaration: enumDeclaration('CoreResourceType'), memberName: 'PROFESSIONAL_QUALIFICATIONS' },
|
|
34
|
+
operationVocabulary: { coreEnum: enumDeclaration('CoreResourceOperation'), customEnum: enumDeclaration('ProfessionalQualifications_Operations') },
|
|
35
|
+
notes: [
|
|
36
|
+
'What a qualification DOES is not decided here: a decision that requires a kind (`requiredQualificationKinds`) reads `isProfessionalQualificationValid` for its decider on every decision — VERIFIED, valid from a moment already passed, and with no end or an end still ahead — so a lapse takes effect at `validUntil` whether or not the sweep has run.',
|
|
37
|
+
'The kinds are the application\'s, declared once in `wildo.saas.config.ts` under `professionalQualificationKinds`; a kind the declaration does not carry is refused when recorded.',
|
|
38
|
+
'Rows live in the organization that EMPLOYS the holder, which vouches for them. A relationship\'s representative is refused as a holder: that person is another organization\'s.',
|
|
39
|
+
],
|
|
40
|
+
},
|
|
41
|
+
fields: {
|
|
42
|
+
_id: schemaShape._id.stringSpec({ meaning: 'Identifier of one qualification.', importance: FieldSemanticImportance.PRIMARY }),
|
|
43
|
+
organizationId: schemaShape.organizationId.foreignKeySpec({ meaning: 'The organization that employs the holder — the scope anchor.', whyItMatters: 'It records and checks the qualification and vouches for its people to others.', importance: FieldSemanticImportance.PRIMARY }),
|
|
44
|
+
holderUserId: schemaShape.holderUserId.foreignKeySpec({ meaning: 'The person who holds it: an active member of the organization.', whyItMatters: 'A decision requiring the kind admits this person while the qualification counts.', importance: FieldSemanticImportance.PRIMARY }),
|
|
45
|
+
holderName: schemaShape.holderName.stringSpec({ meaning: 'The holder, by name. Resolved at read time from the person\'s profile, and absent when they have none (`forwardedUserName`; never their email); never stored.' }),
|
|
46
|
+
kind: schemaShape.kind.stringSpec({
|
|
47
|
+
meaning: 'The qualification\'s kind — a key of the application\'s `professionalQualificationKinds` declaration.',
|
|
48
|
+
whyItMatters: 'A decision names the kinds its decider must hold. The kind also decides whether verifying needs a proof and when the holder is warned before it lapses.',
|
|
49
|
+
importance: FieldSemanticImportance.PRIMARY,
|
|
50
|
+
}),
|
|
51
|
+
issuer: schemaShape.issuer.stringSpec({ meaning: 'The body that issued it.' }),
|
|
52
|
+
registrationNumber: schemaShape.registrationNumber.stringSpec({ meaning: 'Its number in the issuer\'s register.', whyItMatters: 'What an administrator checks against the issuer\'s public register. Masked on the holder\'s erasure.' }),
|
|
53
|
+
validFrom: schemaShape.validFrom.dateSpec({ meaning: 'From when it is valid.', whyItMatters: 'A qualification counts only from this moment.' }),
|
|
54
|
+
validUntil: schemaShape.validUntil.dateSpec({ meaning: 'When it stops being valid; absent for one that does not lapse.', whyItMatters: 'Read directly by every decision, so the qualification stops counting at this instant.', temporalRole: 'expiration' }),
|
|
55
|
+
proof: schemaShape.proof.fileSpec({ meaning: 'The certificate or register extract that proves it, as a PDF or a scan.', whyItMatters: 'Required to verify when the kind says so. Removed on the holder\'s erasure.' }),
|
|
56
|
+
status: schemaShape.status.enumSpec({
|
|
57
|
+
meaning: 'Where the qualification stands.',
|
|
58
|
+
importance: FieldSemanticImportance.PRIMARY,
|
|
59
|
+
enumDeclaration: enumDeclaration('ProfessionalQualificationStatus'),
|
|
60
|
+
values: {
|
|
61
|
+
[ProfessionalQualificationStatus.PENDING_VERIFICATION]: { meaning: 'Recorded, not yet checked. Counts for nothing; its facts can still be corrected.' },
|
|
62
|
+
[ProfessionalQualificationStatus.VERIFIED]: { meaning: 'Checked against its proof by an administrator other than the holder. Counts while valid.' },
|
|
63
|
+
[ProfessionalQualificationStatus.REVOKED]: { meaning: 'Withdrawn by an administrator, with the reason. Terminal.' },
|
|
64
|
+
[ProfessionalQualificationStatus.EXPIRED]: { meaning: 'Relabelled by the sweep after `validUntil`. Terminal bookkeeping — it had already stopped counting.' },
|
|
65
|
+
[ProfessionalQualificationStatus.HOLDER_LEFT]: { meaning: 'Ended when the holder\'s membership was removed: the organization no longer vouches for it. Terminal; a person who joins again records it again.' },
|
|
66
|
+
},
|
|
67
|
+
}),
|
|
68
|
+
verifiedByUserId: schemaShape.verifiedByUserId.stringSpec({ meaning: 'The administrator who verified it — never the holder.' }),
|
|
69
|
+
verifiedAt: schemaShape.verifiedAt.dateSpec({ meaning: 'When it was verified.', temporalRole: 'occurred' }),
|
|
70
|
+
verifiedByName: schemaShape.verifiedByName.stringSpec({ meaning: 'Who verified it, by name. Resolved at read time; never stored.' }),
|
|
71
|
+
revokedByUserId: schemaShape.revokedByUserId.stringSpec({ meaning: 'The administrator who revoked it.' }),
|
|
72
|
+
revokedAt: schemaShape.revokedAt.dateSpec({ meaning: 'When it was revoked.', temporalRole: 'occurred' }),
|
|
73
|
+
revokedByName: schemaShape.revokedByName.stringSpec({ meaning: 'Who revoked it, by name. Resolved at read time; never stored.' }),
|
|
74
|
+
revocationReason: schemaShape.revocationReason.stringSpec({ meaning: 'Why it was revoked: struck off, suspended, or recorded in error.' }),
|
|
75
|
+
expiryWarningSentAt: schemaShape.expiryWarningSentAt.dateSpec({ meaning: 'When the one warning before it lapses was sent.', temporalRole: 'occurred' }),
|
|
76
|
+
endedAt: schemaShape.endedAt.dateSpec({ meaning: 'When it stopped counting for good — revoked or relabelled.', whyItMatters: 'The retention start point (AUDIT_LOGS class).', temporalRole: 'occurred' }),
|
|
77
|
+
createdByUserId: schemaShape.createdByUserId.stringSpec({ meaning: 'The administrator who recorded it.' }),
|
|
78
|
+
createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When it was recorded.', temporalRole: 'creation' }),
|
|
79
|
+
updatedAt: schemaShape.updatedAt.dateSpec({ meaning: 'When it last changed.', temporalRole: 'modified' }),
|
|
80
|
+
},
|
|
81
|
+
operations: {
|
|
82
|
+
[Op.READ]: { purpose: 'Inspect one qualification.', outcome: 'The qualification.', whenToUse: 'Checking who holds what.', responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The qualification.' }], idempotent: true },
|
|
83
|
+
[Op.LIST]: { purpose: 'List your organization\'s qualifications.', outcome: 'A page of qualifications, pending, valid and ended.', whenToUse: 'The qualifications screen and reviews.', responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'A possibly empty page.' }], idempotent: true },
|
|
84
|
+
[Op.COUNT]: { purpose: 'Count them.', outcome: 'A total.', whenToUse: 'Dashboards.', responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The count.' }], idempotent: true },
|
|
85
|
+
[Op.CREATE]: {
|
|
86
|
+
purpose: 'Record a qualification one of your organization\'s people holds.',
|
|
87
|
+
outcome: 'A PENDING_VERIFICATION qualification. It counts for nothing until an administrator verifies it.',
|
|
88
|
+
whenToUse: 'A member presents a registration, licence or admission that a decision may require.',
|
|
89
|
+
importance: FieldSemanticImportance.PRIMARY,
|
|
90
|
+
responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'Recorded.' }],
|
|
91
|
+
errorScenarios: [
|
|
92
|
+
NOT_ADMIN,
|
|
93
|
+
{ code: HttpResponseStatusCode.CONFLICT_409, when: 'The kind is not declared (`PROFESSIONAL_QUALIFICATION_KIND_UNDECLARED`), the holder is not an active member of the organization (`PROFESSIONAL_QUALIFICATION_HOLDER_NOT_A_MEMBER`), or `validUntil` is not after `validFrom` (`PROFESSIONAL_QUALIFICATION_VALIDITY_INVALID`).' },
|
|
94
|
+
],
|
|
95
|
+
idempotent: false,
|
|
96
|
+
},
|
|
97
|
+
[Op.UPDATE]: {
|
|
98
|
+
purpose: 'Correct a pending qualification.',
|
|
99
|
+
outcome: 'The corrected qualification, still pending.',
|
|
100
|
+
whenToUse: 'A detail was recorded wrongly before it was checked. A verified qualification is never edited: record a new one.',
|
|
101
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Corrected.' }],
|
|
102
|
+
errorScenarios: [
|
|
103
|
+
NOT_ADMIN,
|
|
104
|
+
{ code: HttpResponseStatusCode.CONFLICT_409, when: 'It is no longer pending (`PROFESSIONAL_QUALIFICATION_VERIFIED_IMMUTABLE`, or `PROFESSIONAL_QUALIFICATION_NOT_IN_STATUS`), the new kind is not declared, or the validity is invalid.' },
|
|
105
|
+
],
|
|
106
|
+
idempotent: true,
|
|
107
|
+
},
|
|
108
|
+
[Op.DELETE]: { purpose: 'PURGE ONLY — removed with the organization.', outcome: 'Hard-deleted by the tenant purge cascade.', whenToUse: 'Never directly.', responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Not observable over HTTP.' }], idempotent: true },
|
|
109
|
+
[ProfessionalQualifications_Operations.VERIFY]: {
|
|
110
|
+
operationId: ProfessionalQualifications_Operations.VERIFY,
|
|
111
|
+
purpose: 'Check a pending qualification against its proof.',
|
|
112
|
+
outcome: 'VERIFIED: from the next decision on, it counts for every decision requiring its kind, until `validUntil`. The holder is emailed.',
|
|
113
|
+
whenToUse: 'You have checked the proof (and, where it exists, the issuer\'s public register).',
|
|
114
|
+
importance: FieldSemanticImportance.PRIMARY,
|
|
115
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Verified.' }],
|
|
116
|
+
errorScenarios: [
|
|
117
|
+
NOT_ADMIN,
|
|
118
|
+
{ code: HttpResponseStatusCode.CONFLICT_409, when: 'The caller is the holder (`PROFESSIONAL_QUALIFICATION_SELF_VERIFICATION`), the kind requires a proof and none is attached (`PROFESSIONAL_QUALIFICATION_PROOF_REQUIRED`), the holder is no longer an active member, or it is not pending.' },
|
|
119
|
+
],
|
|
120
|
+
idempotent: false,
|
|
121
|
+
},
|
|
122
|
+
[ProfessionalQualifications_Operations.REVOKE]: {
|
|
123
|
+
operationId: ProfessionalQualifications_Operations.REVOKE,
|
|
124
|
+
purpose: 'Withdraw a qualification.',
|
|
125
|
+
outcome: 'REVOKED: it stops counting from the next decision. The holder is emailed.',
|
|
126
|
+
whenToUse: 'The holder was struck off or suspended, or it was recorded in error.',
|
|
127
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Revoked.' }],
|
|
128
|
+
errorScenarios: [NOT_ADMIN, NOT_IN_STATUS],
|
|
129
|
+
idempotent: false,
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
businessConstraints: [
|
|
133
|
+
'A person never verifies their own qualification.',
|
|
134
|
+
'Only a VERIFIED qualification within its validity counts for a decision; a pending, revoked or lapsed one never does.',
|
|
135
|
+
'A verified qualification\'s facts are frozen: correcting them would make the check refer to facts nobody checked. A renewal is a new qualification.',
|
|
136
|
+
'The holder must be an active OWN member of the organization; a relationship\'s representative is vouched for by the organization that employs them.',
|
|
137
|
+
'The holder and the organization\'s administrators are told once, the kind\'s `expiryWarningDays` ahead, before a qualification lapses, and again when it is relabelled expired.',
|
|
138
|
+
],
|
|
139
|
+
}), { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS });
|
|
140
|
+
//# sourceMappingURL=professional-qualifications.resource.specification.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"professional-qualifications.resource.specification.js","sourceRoot":"","sources":["../../../../../src/engine/organizations/resources/professional-qualifications.resource.specification.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACxG,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,+BAA+B,EAC/B,+BAA+B,EAC/B,qCAAqC,EACrC,oBAAoB,EACpB,qEAAqE,GACtE,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAC5F,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAE3E,MAAM,YAAY,GAAG,CAAC,UAAkB,EAAE,UAA0B,EAAE,eAAoC,EAAE,EAAE,CAAC,CAAC;IAC9G,WAAW,EAAE,uBAAuB,EAAE,UAAU,EAAE,UAAU,EAAE,eAAe;CAC9E,CAAC,CAAC;AACH,MAAM,eAAe,GAAG,CAAC,UAAkB,E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C,EAAE;YAC9C,WAAW,EAAE,qCAAqC,CAAC,MAAM;YACzD,OAAO,EAAE,kDAAkD;YAC3D,OAAO,EAAE,kIAAkI;YAC3I,SAAS,EAAE,mFAAmF;YAC9F,UAAU,EAAE,uBAAuB,CAAC,OAAO;YAC3C,gBAAgB,EAAE,CAAC,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,CAAC;YACjF,cAAc,EAAE;gBACd,SAAS;gBACT,EAAE,IAAI,EAAE,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,0OAA0O,EAAE;aAChS;YACD,UAAU,EAAE,KAAK;SAClB;QACD,CAAC,qCAAqC,CAAC,MAAM,CAAC,EAAE;YAC9C,WAAW,EAAE,qCAAqC,CAAC,MAAM;YACzD,OAAO,EAAE,2BAA2B;YACpC,OAAO,EAAE,2EAA2E;YACpF,SAAS,EAAE,sEAAsE;YACjF,gBAAgB,EAAE,CAAC,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;YAChF,cAAc,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;YAC1C,UAAU,EAAE,KAAK;SAClB;KACF;IACD,mBAAmB,EAAE;QACnB,kDAAkD;QAClD,uHAAuH;QACvH,qJAAqJ;QACrJ,qJAAqJ;QACrJ,iLAAiL;KAClL;CACF,CAAC,EACF,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,aAAa,EAAE,CAC7D,CAAC","sourcesContent":["/**\n * Resource: `professionalQualifications` — Wildo SaaS engine specification (#2967, organization-scoped, backend verbs).\n *\n * Inputs:\n * - Schema + vocabulary: engine/saas-models/src/organizations/professional-qualifications.shared.schemas.ts\n * - Factory: engine/saas-models/src/organizations/professional-qualifications.shared.resources-config.schemas.ts\n *\n * A qualification is a fact about ONE person (a chartered accountant's registration, an auditor's licence), recorded and\n * checked by the organization that employs them. A decision may require a kind, and then admits only a decider holding a\n * verified one within its validity: the individual guarantee a role, granted per organization or per relationship,\n * cannot give.\n */\n\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance } from '@wildo-ai/zod-decorators';\nimport {\n CoreResourceOperation as Op,\n ProfessionalQualificationSchema,\n ProfessionalQualificationStatus,\n ProfessionalQualifications_Operations,\n ResourcePrimaryScope,\n professionalQualificationsResourceConfiguration_InitializationFactory,\n} from '@wildo-ai/saas-models';\nimport { HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\nconst modelsExport = (exportName: string, symbolKind: CodeSymbolKind, declarationKind: CodeDeclarationKind) => ({\n packageName: '@wildo-ai/saas-models', exportName, symbolKind, declarationKind,\n});\nconst enumDeclaration = (exportName: string) => modelsExport(exportName, CodeSymbolKind.ENUM, CodeDeclarationKind.TYPESCRIPT_ENUM);\n\nconst NOT_IN_STATUS = { code: HttpResponseStatusCode.CONFLICT_409, when: 'The qualification is not in a status this verb applies to, or changed since it was read (`PROFESSIONAL_QUALIFICATION_NOT_IN_STATUS`).' };\nconst NOT_ADMIN = { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an administrator of the organization.' };\n\nexport const professionalQualificationsResourceSpecification = resourceSpecification(\n professionalQualificationsResourceConfiguration_InitializationFactory,\n ProfessionalQualificationSchema,\n ({ schemaShape }) => ({\n purpose: 'Record the professional qualifications your organization\\'s people hold (a chartered accountant\\'s registration, an auditor\\'s licence) and check them, so a decision that requires one reaches only a person who holds it.',\n businessRole: 'The employing organization\\'s record of who holds which qualification, issued by whom, valid when, checked against which proof and by whom.',\n lifecycleRole: 'PENDING_VERIFICATION when recorded (correctable, counts for nothing); VERIFIED once an administrator other than the holder checks it against its proof (counts while valid); REVOKED when withdrawn; EXPIRED when the sweep relabels it after its validity. A renewal is a new qualification. Ended qualifications stay as the record of who was qualified when.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.ORGANIZATIONS,\n codeHandling: {\n mainSchema: modelsExport('ProfessionalQualificationSchema', CodeSymbolKind.SCHEMA, CodeDeclarationKind.ZOD_SCHEMA),\n resourceFactory: modelsExport('professionalQualificationsResourceConfiguration_InitializationFactory', CodeSymbolKind.FACTORY, CodeDeclarationKind.FUNCTION),\n resourceType: { enumDeclaration: enumDeclaration('CoreResourceType'), memberName: 'PROFESSIONAL_QUALIFICATIONS' },\n operationVocabulary: { coreEnum: enumDeclaration('CoreResourceOperation'), customEnum: enumDeclaration('ProfessionalQualifications_Operations') },\n notes: [\n 'What a qualification DOES is not decided here: a decision that requires a kind (`requiredQualificationKinds`) reads `isProfessionalQualificationValid` for its decider on every decision — VERIFIED, valid from a moment already passed, and with no end or an end still ahead — so a lapse takes effect at `validUntil` whether or not the sweep has run.',\n 'The kinds are the application\\'s, declared once in `wildo.saas.config.ts` under `professionalQualificationKinds`; a kind the declaration does not carry is refused when recorded.',\n 'Rows live in the organization that EMPLOYS the holder, which vouches for them. A relationship\\'s representative is refused as a holder: that person is another organization\\'s.',\n ],\n },\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Identifier of one qualification.', importance: FieldSemanticImportance.PRIMARY }),\n organizationId: schemaShape.organizationId.foreignKeySpec({ meaning: 'The organization that employs the holder — the scope anchor.', whyItMatters: 'It records and checks the qualification and vouches for its people to others.', importance: FieldSemanticImportance.PRIMARY }),\n holderUserId: schemaShape.holderUserId.foreignKeySpec({ meaning: 'The person who holds it: an active member of the organization.', whyItMatters: 'A decision requiring the kind admits this person while the qualification counts.', importance: FieldSemanticImportance.PRIMARY }),\n holderName: schemaShape.holderName.stringSpec({ meaning: 'The holder, by name. Resolved at read time from the person\\'s profile, and absent when they have none (`forwardedUserName`; never their email); never stored.' }),\n kind: schemaShape.kind.stringSpec({\n meaning: 'The qualification\\'s kind — a key of the application\\'s `professionalQualificationKinds` declaration.',\n whyItMatters: 'A decision names the kinds its decider must hold. The kind also decides whether verifying needs a proof and when the holder is warned before it lapses.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n issuer: schemaShape.issuer.stringSpec({ meaning: 'The body that issued it.' }),\n registrationNumber: schemaShape.registrationNumber.stringSpec({ meaning: 'Its number in the issuer\\'s register.', whyItMatters: 'What an administrator checks against the issuer\\'s public register. Masked on the holder\\'s erasure.' }),\n validFrom: schemaShape.validFrom.dateSpec({ meaning: 'From when it is valid.', whyItMatters: 'A qualification counts only from this moment.' }),\n validUntil: schemaShape.validUntil.dateSpec({ meaning: 'When it stops being valid; absent for one that does not lapse.', whyItMatters: 'Read directly by every decision, so the qualification stops counting at this instant.', temporalRole: 'expiration' }),\n proof: schemaShape.proof.fileSpec({ meaning: 'The certificate or register extract that proves it, as a PDF or a scan.', whyItMatters: 'Required to verify when the kind says so. Removed on the holder\\'s erasure.' }),\n status: schemaShape.status.enumSpec({\n meaning: 'Where the qualification stands.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: enumDeclaration('ProfessionalQualificationStatus'),\n values: {\n [ProfessionalQualificationStatus.PENDING_VERIFICATION]: { meaning: 'Recorded, not yet checked. Counts for nothing; its facts can still be corrected.' },\n [ProfessionalQualificationStatus.VERIFIED]: { meaning: 'Checked against its proof by an administrator other than the holder. Counts while valid.' },\n [ProfessionalQualificationStatus.REVOKED]: { meaning: 'Withdrawn by an administrator, with the reason. Terminal.' },\n [ProfessionalQualificationStatus.EXPIRED]: { meaning: 'Relabelled by the sweep after `validUntil`. Terminal bookkeeping — it had already stopped counting.' },\n [ProfessionalQualificationStatus.HOLDER_LEFT]: { meaning: 'Ended when the holder\\'s membership was removed: the organization no longer vouches for it. Terminal; a person who joins again records it again.' },\n },\n }),\n verifiedByUserId: schemaShape.verifiedByUserId.stringSpec({ meaning: 'The administrator who verified it — never the holder.' }),\n verifiedAt: schemaShape.verifiedAt.dateSpec({ meaning: 'When it was verified.', temporalRole: 'occurred' }),\n verifiedByName: schemaShape.verifiedByName.stringSpec({ meaning: 'Who verified it, by name. Resolved at read time; never stored.' }),\n revokedByUserId: schemaShape.revokedByUserId.stringSpec({ meaning: 'The administrator who revoked it.' }),\n revokedAt: schemaShape.revokedAt.dateSpec({ meaning: 'When it was revoked.', temporalRole: 'occurred' }),\n revokedByName: schemaShape.revokedByName.stringSpec({ meaning: 'Who revoked it, by name. Resolved at read time; never stored.' }),\n revocationReason: schemaShape.revocationReason.stringSpec({ meaning: 'Why it was revoked: struck off, suspended, or recorded in error.' }),\n expiryWarningSentAt: schemaShape.expiryWarningSentAt.dateSpec({ meaning: 'When the one warning before it lapses was sent.', temporalRole: 'occurred' }),\n endedAt: schemaShape.endedAt.dateSpec({ meaning: 'When it stopped counting for good — revoked or relabelled.', whyItMatters: 'The retention start point (AUDIT_LOGS class).', temporalRole: 'occurred' }),\n createdByUserId: schemaShape.createdByUserId.stringSpec({ meaning: 'The administrator who recorded it.' }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When it was recorded.', temporalRole: 'creation' }),\n updatedAt: schemaShape.updatedAt.dateSpec({ meaning: 'When it last changed.', temporalRole: 'modified' }),\n },\n operations: {\n [Op.READ]: { purpose: 'Inspect one qualification.', outcome: 'The qualification.', whenToUse: 'Checking who holds what.', responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The qualification.' }], idempotent: true },\n [Op.LIST]: { purpose: 'List your organization\\'s qualifications.', outcome: 'A page of qualifications, pending, valid and ended.', whenToUse: 'The qualifications screen and reviews.', responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'A possibly empty page.' }], idempotent: true },\n [Op.COUNT]: { purpose: 'Count them.', outcome: 'A total.', whenToUse: 'Dashboards.', responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The count.' }], idempotent: true },\n [Op.CREATE]: {\n purpose: 'Record a qualification one of your organization\\'s people holds.',\n outcome: 'A PENDING_VERIFICATION qualification. It counts for nothing until an administrator verifies it.',\n whenToUse: 'A member presents a registration, licence or admission that a decision may require.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'Recorded.' }],\n errorScenarios: [\n NOT_ADMIN,\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The kind is not declared (`PROFESSIONAL_QUALIFICATION_KIND_UNDECLARED`), the holder is not an active member of the organization (`PROFESSIONAL_QUALIFICATION_HOLDER_NOT_A_MEMBER`), or `validUntil` is not after `validFrom` (`PROFESSIONAL_QUALIFICATION_VALIDITY_INVALID`).' },\n ],\n idempotent: false,\n },\n [Op.UPDATE]: {\n purpose: 'Correct a pending qualification.',\n outcome: 'The corrected qualification, still pending.',\n whenToUse: 'A detail was recorded wrongly before it was checked. A verified qualification is never edited: record a new one.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Corrected.' }],\n errorScenarios: [\n NOT_ADMIN,\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'It is no longer pending (`PROFESSIONAL_QUALIFICATION_VERIFIED_IMMUTABLE`, or `PROFESSIONAL_QUALIFICATION_NOT_IN_STATUS`), the new kind is not declared, or the validity is invalid.' },\n ],\n idempotent: true,\n },\n [Op.DELETE]: { purpose: 'PURGE ONLY — removed with the organization.', outcome: 'Hard-deleted by the tenant purge cascade.', whenToUse: 'Never directly.', responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Not observable over HTTP.' }], idempotent: true },\n [ProfessionalQualifications_Operations.VERIFY]: {\n operationId: ProfessionalQualifications_Operations.VERIFY,\n purpose: 'Check a pending qualification against its proof.',\n outcome: 'VERIFIED: from the next decision on, it counts for every decision requiring its kind, until `validUntil`. The holder is emailed.',\n whenToUse: 'You have checked the proof (and, where it exists, the issuer\\'s public register).',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Verified.' }],\n errorScenarios: [\n NOT_ADMIN,\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The caller is the holder (`PROFESSIONAL_QUALIFICATION_SELF_VERIFICATION`), the kind requires a proof and none is attached (`PROFESSIONAL_QUALIFICATION_PROOF_REQUIRED`), the holder is no longer an active member, or it is not pending.' },\n ],\n idempotent: false,\n },\n [ProfessionalQualifications_Operations.REVOKE]: {\n operationId: ProfessionalQualifications_Operations.REVOKE,\n purpose: 'Withdraw a qualification.',\n outcome: 'REVOKED: it stops counting from the next decision. The holder is emailed.',\n whenToUse: 'The holder was struck off or suspended, or it was recorded in error.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'Revoked.' }],\n errorScenarios: [NOT_ADMIN, NOT_IN_STATUS],\n idempotent: false,\n },\n },\n businessConstraints: [\n 'A person never verifies their own qualification.',\n 'Only a VERIFIED qualification within its validity counts for a decision; a pending, revoked or lapsed one never does.',\n 'A verified qualification\\'s facts are frozen: correcting them would make the check refer to facts nobody checked. A renewal is a new qualification.',\n 'The holder must be an active OWN member of the organization; a relationship\\'s representative is vouched for by the organization that employs them.',\n 'The holder and the organization\\'s administrators are told once, the kind\\'s `expiryWarningDays` ahead, before a qualification lapses, and again when it is relabelled expired.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n);\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"anthropic.provider.specification.d.ts","sourceRoot":"","sources":["../../../../src/engine/providers/anthropic.provider.specification.ts"],"names":[],"mappings":"AAQA;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,
|
|
1
|
+
{"version":3,"file":"anthropic.provider.specification.d.ts","sourceRoot":"","sources":["../../../../src/engine/providers/anthropic.provider.specification.ts"],"names":[],"mappings":"AAQA;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,mEAkD1C,CAAC"}
|