@wildo-ai/saas-specifications 1.1.10 → 1.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts +5 -4
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js +5 -4
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js.map +1 -1
- package/dist/esm/_catalogs/schema-org/index.js +1 -1
- package/dist/esm/_core/application-maturity/application-maturity-validation.d.ts +5 -0
- package/dist/esm/_core/application-maturity/application-maturity-validation.d.ts.map +1 -1
- package/dist/esm/_core/application-maturity/application-maturity-validation.js +13 -0
- package/dist/esm/_core/application-maturity/application-maturity-validation.js.map +1 -1
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js +5 -0
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js.map +1 -1
- package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts +34 -40
- package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts.map +1 -1
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js +26 -2
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js.map +1 -1
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +20 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -1
- package/dist/esm/_core/application-specification-family-identity.schemas.js +20 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -1
- package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts +1 -1
- package/dist/esm/_core/assertions/assertion-behaviors.schemas.d.ts +4 -4
- package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts +4 -4
- package/dist/esm/_core/brand/brand-asset.schemas.d.ts +4 -4
- package/dist/esm/_core/brand/brand-audience.schemas.d.ts +2 -2
- package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts +2 -2
- package/dist/esm/_core/brand/brand-generation.schemas.d.ts +8 -4
- package/dist/esm/_core/brand/brand-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-generation.schemas.js +11 -1
- package/dist/esm/_core/brand/brand-generation.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts +4 -4
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.d.ts +25 -22
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.js +6 -4
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-validation.d.ts +25 -1
- package/dist/esm/_core/brand/brand-name-screening-validation.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-validation.js +77 -1
- package/dist/esm/_core/brand/brand-name-screening-validation.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-view.d.ts +34 -32
- package/dist/esm/_core/brand/brand-name-screening-view.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts +67 -35
- package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening.schemas.js +65 -8
- package/dist/esm/_core/brand/brand-name-screening.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-name.schemas.d.ts +2 -2
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts +14 -14
- package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts +27 -9
- package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-visual-tone.schemas.js +26 -8
- package/dist/esm/_core/brand/brand-visual-tone.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-relationship-grouping.d.ts +52 -0
- package/dist/esm/_core/build-plan/build-plan-relationship-grouping.d.ts.map +1 -0
- package/dist/esm/_core/build-plan/build-plan-relationship-grouping.js +325 -0
- package/dist/esm/_core/build-plan/build-plan-relationship-grouping.js.map +1 -0
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +225 -108
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js +39 -2
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +112 -8
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +249 -12
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts +506 -344
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js +425 -13
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js +11 -4
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts +2 -2
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts +5 -21
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js +16 -6
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts +12 -5
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js +32 -9
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts +30 -5
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.js +28 -2
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts +6 -5
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js +19 -9
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +12 -33
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js +4 -3
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -1
- package/dist/esm/_core/chart-view-specification.schemas.d.ts +19 -3
- package/dist/esm/_core/chart-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/chart-view-specification.schemas.js +7 -3
- package/dist/esm/_core/chart-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.d.ts +265 -0
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.js +371 -0
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts +0 -298
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts +1 -6
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +3 -619
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +14 -2
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts +1 -1
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts +60 -7
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js +137 -12
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts +0 -32
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js +2 -2
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts +50 -12
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js +166 -13
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +35 -148
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js +10 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts +102 -10
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js +128 -25
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts +28 -0
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.js +36 -1
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts +2 -24
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.js +18 -2
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.d.ts +4 -0
- package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.js +6 -0
- package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts +21 -10
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js +130 -14
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-posture/compliance-posture-generation.schemas.d.ts +26 -0
- package/dist/esm/_core/compliance-posture/compliance-posture-generation.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-posture/compliance-posture-generation.schemas.js +44 -0
- package/dist/esm/_core/compliance-posture/compliance-posture-generation.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-posture/compliance-posture-validation.d.ts +34 -0
- package/dist/esm/_core/compliance-posture/compliance-posture-validation.d.ts.map +1 -0
- package/dist/esm/_core/compliance-posture/compliance-posture-validation.js +47 -0
- package/dist/esm/_core/compliance-posture/compliance-posture-validation.js.map +1 -0
- package/dist/esm/_core/compliance-posture/compliance-posture.family-aspects.d.ts +4 -0
- package/dist/esm/_core/compliance-posture/compliance-posture.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/compliance-posture/compliance-posture.family-aspects.js +19 -0
- package/dist/esm/_core/compliance-posture/compliance-posture.family-aspects.js.map +1 -0
- package/dist/esm/_core/compliance-posture/compliance-posture.schemas.d.ts +88 -0
- package/dist/esm/_core/compliance-posture/compliance-posture.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-posture/compliance-posture.schemas.js +78 -0
- package/dist/esm/_core/compliance-posture/compliance-posture.schemas.js.map +1 -0
- package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/composite-view-specification.schemas.js +2 -2
- package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/data-seed-specification.schemas.d.ts +2 -0
- package/dist/esm/_core/data-seed-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/data-seed-specification.schemas.js +10 -1
- package/dist/esm/_core/data-seed-specification.schemas.js.map +1 -1
- package/dist/esm/_core/definition-specification-validators.d.ts +2 -3
- package/dist/esm/_core/definition-specification-validators.d.ts.map +1 -1
- package/dist/esm/_core/definition-specification-validators.js +2 -3
- package/dist/esm/_core/definition-specification-validators.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts +44 -19
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.js +75 -2
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts +93 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.js +369 -2
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts +412 -5
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js +429 -0
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +18 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +88 -2
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/execution-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/execution-view-specification.schemas.js +2 -2
- package/dist/esm/_core/execution-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts +20 -9
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js +3 -0
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts +25 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.js +57 -0
- package/dist/esm/_core/experience-plan/experience-plan-validation.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js +23 -4
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts +96 -131
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js +144 -1
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts +2 -2
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +15 -8
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js +13 -6
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
- package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.registry.js +4 -0
- package/dist/esm/_core/family-aspects.registry.js.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.d.ts +12 -1
- package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.js +11 -0
- package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
- package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +37 -53
- package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts +59 -59
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts +0 -14
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js +2 -2
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js.map +1 -1
- package/dist/esm/_core/feature-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-specification.schemas.js +5 -4
- package/dist/esm/_core/feature-specification.schemas.js.map +1 -1
- package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/flows-actors-view-specification.schemas.js +2 -2
- package/dist/esm/_core/flows-actors-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/full-custom-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/full-custom-view-specification.schemas.js +2 -2
- package/dist/esm/_core/full-custom-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts +1 -3
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.js +10 -12
- package/dist/esm/_core/guidance-flow-specification.schemas.js.map +1 -1
- package/dist/esm/_core/index.d.ts +12 -0
- package/dist/esm/_core/index.d.ts.map +1 -1
- package/dist/esm/_core/index.js +12 -0
- package/dist/esm/_core/index.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +8 -4
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js +2 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts +19 -51
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js +29 -10
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -1
- package/dist/esm/_core/market/feature-benefit.schemas.d.ts +5 -5
- package/dist/esm/_core/market/market-alternative.schemas.d.ts +3 -3
- package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts +2 -2
- package/dist/esm/_core/market/market-buying-journey.schemas.d.ts +4 -4
- package/dist/esm/_core/market/market-category.schemas.d.ts +2 -2
- package/dist/esm/_core/market/market-channel.schemas.d.ts +5 -5
- package/dist/esm/_core/market/market-gain.schemas.d.ts +3 -3
- package/dist/esm/_core/market/market-icp.schemas.d.ts +11 -11
- package/dist/esm/_core/market/market-job.schemas.d.ts +3 -3
- package/dist/esm/_core/market/market-message-template.schemas.d.ts +4 -4
- package/dist/esm/_core/market/market-objection.schemas.d.ts +3 -3
- package/dist/esm/_core/market/market-pain.schemas.d.ts +3 -3
- package/dist/esm/_core/market/market-persona.schemas.d.ts +4 -4
- package/dist/esm/_core/market/market-positioning.schemas.d.ts +2 -2
- package/dist/esm/_core/market/market-proof.schemas.d.ts +3 -3
- package/dist/esm/_core/market/market-references.schemas.d.ts +7 -0
- package/dist/esm/_core/market/market-references.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-references.schemas.js +13 -1
- package/dist/esm/_core/market/market-references.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +80 -106
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js +46 -17
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot.schemas.d.ts +59 -59
- package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts +3 -3
- package/dist/esm/_core/market/market-trigger.schemas.d.ts +3 -3
- package/dist/esm/_core/milestone-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/milestone-specification.schemas.js +5 -4
- package/dist/esm/_core/milestone-specification.schemas.js.map +1 -1
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts +0 -2
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/onboarding-view-specification.schemas.js +7 -8
- package/dist/esm/_core/onboarding-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts +32 -27
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js +3 -3
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +12 -2
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.js +42 -9
- package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +16 -4
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +84 -90
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js +90 -13
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
- package/dist/esm/_core/product-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/product-specification.schemas.js +5 -4
- package/dist/esm/_core/product-specification.schemas.js.map +1 -1
- package/dist/esm/_core/required-features-specification.schemas.d.ts +1 -5
- package/dist/esm/_core/required-features-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/required-features-specification.schemas.js +1 -5
- package/dist/esm/_core/required-features-specification.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +2 -2
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts +6 -6
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.js +4 -4
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts +2 -2
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts +0 -4
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +6 -15
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.js +2 -3
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.d.ts +76 -18
- package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.js +168 -60
- package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts +2 -2
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts +3 -18
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.js +3 -17
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts +2 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js +2 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts +3 -3
- package/dist/esm/_core/role-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/role-specification.schemas.js +5 -4
- package/dist/esm/_core/role-specification.schemas.js.map +1 -1
- package/dist/esm/_core/service-method/service-method-derivation.d.ts +155 -0
- package/dist/esm/_core/service-method/service-method-derivation.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method-derivation.js +415 -0
- package/dist/esm/_core/service-method/service-method-derivation.js.map +1 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.d.ts +87 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.js +30 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.js.map +1 -0
- package/dist/esm/_core/service-method/service-method-validation.d.ts +45 -0
- package/dist/esm/_core/service-method/service-method-validation.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method-validation.js +102 -0
- package/dist/esm/_core/service-method/service-method-validation.js.map +1 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.d.ts +3 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.js +59 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.js.map +1 -0
- package/dist/esm/_core/service-method/service-method.schemas.d.ts +356 -0
- package/dist/esm/_core/service-method/service-method.schemas.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method.schemas.js +416 -0
- package/dist/esm/_core/service-method/service-method.schemas.js.map +1 -0
- package/dist/esm/_core/sidebar-section-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/sidebar-section-specification.schemas.js +2 -2
- package/dist/esm/_core/sidebar-section-specification.schemas.js.map +1 -1
- package/dist/esm/_core/specification-definition-faults.d.ts +160 -0
- package/dist/esm/_core/specification-definition-faults.d.ts.map +1 -0
- package/dist/esm/_core/specification-definition-faults.js +283 -0
- package/dist/esm/_core/specification-definition-faults.js.map +1 -0
- package/dist/esm/_core/specification-module-faults.d.ts +271 -0
- package/dist/esm/_core/specification-module-faults.d.ts.map +1 -0
- package/dist/esm/_core/specification-module-faults.js +655 -0
- package/dist/esm/_core/specification-module-faults.js.map +1 -0
- package/dist/esm/_core/translation-glossary.schemas.d.ts +79 -0
- package/dist/esm/_core/translation-glossary.schemas.d.ts.map +1 -0
- package/dist/esm/_core/translation-glossary.schemas.js +98 -0
- package/dist/esm/_core/translation-glossary.schemas.js.map +1 -0
- package/dist/esm/_core/utils/extract-field-specs.d.ts +25 -0
- package/dist/esm/_core/utils/extract-field-specs.d.ts.map +1 -1
- package/dist/esm/_core/utils/extract-field-specs.js +6 -1
- package/dist/esm/_core/utils/extract-field-specs.js.map +1 -1
- package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-constraint.schemas.d.ts +6 -4
- package/dist/esm/_core/vision/vision-constraint.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-constraint.schemas.js +4 -2
- package/dist/esm/_core/vision/vision-constraint.schemas.js.map +1 -1
- package/dist/esm/_core/vision/vision-idea.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-mission.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-problem.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.d.ts +15 -9
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js +30 -20
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/vision/vision-snapshot.schemas.d.ts +10 -10
- package/dist/esm/_core/vision/vision-success-criterion.schemas.d.ts +2 -2
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts +31 -7
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.js +34 -6
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts +24 -4
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-validation.js +84 -7
- package/dist/esm/_core/website-plan/website-plan-validation.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.family-aspects.js +2 -1
- package/dist/esm/_core/website-plan/website-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts +424 -120
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.schemas.js +687 -32
- package/dist/esm/_core/website-plan/website-plan.schemas.js.map +1 -1
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.d.ts +90 -0
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.d.ts.map +1 -0
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.js +104 -0
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.js.map +1 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +110 -127
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js +122 -16
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-declared-answer.application-creation.schemas.d.ts +22 -0
- package/dist/esm/application-creation/application-declared-answer.application-creation.schemas.d.ts.map +1 -0
- package/dist/esm/application-creation/application-declared-answer.application-creation.schemas.js +23 -0
- package/dist/esm/application-creation/application-declared-answer.application-creation.schemas.js.map +1 -0
- package/dist/esm/application-creation/application-declared-answers.application-creation.schemas.d.ts +50 -0
- package/dist/esm/application-creation/application-declared-answers.application-creation.schemas.d.ts.map +1 -0
- package/dist/esm/application-creation/application-declared-answers.application-creation.schemas.js +33 -0
- package/dist/esm/application-creation/application-declared-answers.application-creation.schemas.js.map +1 -0
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +57 -41
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +22 -4
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts +3 -11
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts +206 -10
- package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-line.application-creation.schemas.js +226 -9
- package/dist/esm/application-creation/application-line.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +4 -2
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.js +4 -2
- package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +42 -41
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js +79 -23
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts +2 -2
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js +2 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation.exports.d.ts +13 -0
- package/dist/esm/application-creation.exports.d.ts.map +1 -1
- package/dist/esm/application-creation.exports.js +15 -0
- package/dist/esm/application-creation.exports.js.map +1 -1
- package/dist/esm/assurance/application-document-publication.schemas.d.ts +0 -12
- package/dist/esm/assurance/application-document-publication.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/application-document-release-set.schemas.d.ts +1 -9
- package/dist/esm/assurance/application-document-release-set.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/application-risk-register.schemas.d.ts +10 -73
- package/dist/esm/assurance/application-risk-register.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts +34 -0
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts.map +1 -1
- package/dist/esm/assurance/application-risk-signals.derivations.js +45 -1
- package/dist/esm/assurance/application-risk-signals.derivations.js.map +1 -1
- package/dist/esm/assurance/assurance-assessment-twins.d.ts +38 -0
- package/dist/esm/assurance/assurance-assessment-twins.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-assessment-twins.js +36 -0
- package/dist/esm/assurance/assurance-assessment-twins.js.map +1 -0
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +632 -19
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.js +3000 -1063
- package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +27 -22
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.js +1 -0
- package/dist/esm/assurance/assurance-authority-basis.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts +2 -0
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.js +168 -29
- package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts +34 -112
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.js +13 -0
- package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts +121 -114
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.js +142 -7
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +1746 -116
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts +0 -11
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-host-implementation-artifacts.d.ts +77 -0
- package/dist/esm/assurance/assurance-host-implementation-artifacts.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-host-implementation-artifacts.js +51 -0
- package/dist/esm/assurance/assurance-host-implementation-artifacts.js.map +1 -0
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +3 -2
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js +354 -5
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.d.ts +12 -0
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.js +19 -0
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.js.map +1 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.d.ts +422 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.js +886 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.js.map +1 -0
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +61 -182
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.js +180 -22
- package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-program-obligation-standing.d.ts +107 -0
- package/dist/esm/assurance/assurance-program-obligation-standing.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-program-obligation-standing.js +153 -0
- package/dist/esm/assurance/assurance-program-obligation-standing.js.map +1 -0
- package/dist/esm/assurance/assurance-program.schemas.d.ts +373 -1165
- package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.js +267 -18
- package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts +2 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.js +277 -23
- package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.d.ts +17 -0
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.js +246 -0
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.js.map +1 -0
- package/dist/esm/assurance/assurance-sources.schemas.d.ts +84 -24
- package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.js +111 -1
- package/dist/esm/assurance/assurance-sources.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +372 -17
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/governed-document-audience.derivations.d.ts +83 -0
- package/dist/esm/assurance/governed-document-audience.derivations.d.ts.map +1 -0
- package/dist/esm/assurance/governed-document-audience.derivations.js +97 -0
- package/dist/esm/assurance/governed-document-audience.derivations.js.map +1 -0
- package/dist/esm/assurance/governed-document-release.d.ts +15 -1
- package/dist/esm/assurance/governed-document-release.d.ts.map +1 -1
- package/dist/esm/assurance/governed-document-release.js +10 -4
- package/dist/esm/assurance/governed-document-release.js.map +1 -1
- package/dist/esm/assurance.exports.d.ts +5 -0
- package/dist/esm/assurance.exports.d.ts.map +1 -1
- package/dist/esm/assurance.exports.js +5 -0
- package/dist/esm/assurance.exports.js.map +1 -1
- package/dist/esm/companion-exports.d.ts +39 -3
- package/dist/esm/companion-exports.d.ts.map +1 -1
- package/dist/esm/companion-exports.js +61 -0
- package/dist/esm/companion-exports.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts +16 -16
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js +37 -11
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts +3 -3
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +10 -13
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts +19 -19
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +64 -12
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts +4 -4
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +4 -4
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts +7 -6
- package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.js +7 -7
- package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts +20 -12
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +51 -14
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/application-provider-credentials.resource.specification.d.ts +26 -0
- package/dist/esm/engine/auth/resources/application-provider-credentials.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/application-provider-credentials.resource.specification.js +112 -0
- package/dist/esm/engine/auth/resources/application-provider-credentials.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js +4 -4
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/index.d.ts +0 -2
- package/dist/esm/engine/auth/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/index.js +0 -2
- package/dist/esm/engine/auth/resources/index.js.map +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts +13 -12
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js +15 -4
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts +16 -16
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js +44 -17
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +20 -20
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +48 -9
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +25 -21
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +44 -12
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts +20 -14
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js +73 -20
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts +22 -22
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +15 -14
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts +9 -8
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js +20 -16
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts +40 -40
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +135 -16
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts +108 -108
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +80 -20
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-domain-reservations.resource.specification.d.ts +17 -0
- package/dist/esm/engine/auth/resources/sso-domain-reservations.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/sso-domain-reservations.resource.specification.js +85 -0
- package/dist/esm/engine/auth/resources/sso-domain-reservations.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +21 -19
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +14 -10
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts +14 -12
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +4 -2
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts +20 -20
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts +22 -20
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js +9 -8
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts +8 -8
- package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.js +11 -10
- package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.d.ts +16 -16
- package/dist/esm/engine/billing/resources/products.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.js +11 -10
- package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts +11 -11
- package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js +31 -29
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts +22 -21
- package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js +7 -6
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts +48 -48
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +112 -26
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts +30 -26
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.js +5 -2
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +37 -25
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +50 -12
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.d.ts +78 -0
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.js +213 -0
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts +33 -23
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js +61 -21
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/data-subject-requests.resource.specification.d.ts +39 -0
- package/dist/esm/engine/compliance/resources/data-subject-requests.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/data-subject-requests.resource.specification.js +533 -0
- package/dist/esm/engine/compliance/resources/data-subject-requests.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/index.d.ts +2 -0
- package/dist/esm/engine/compliance/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/index.js +2 -0
- package/dist/esm/engine/compliance/resources/index.js.map +1 -1
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts +21 -16
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js +17 -6
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.d.ts +37 -0
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.js +161 -0
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.d.ts +13 -11
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js +9 -1
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/siem-delivery-dlq.resource.specification.d.ts +27 -0
- package/dist/esm/engine/compliance/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/{auth → compliance}/resources/siem-delivery-dlq.resource.specification.js +24 -19
- package/dist/esm/engine/compliance/resources/siem-delivery-dlq.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/siem-delivery-outbox.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/{auth → compliance}/resources/siem-delivery-outbox.resource.specification.js +1 -1
- package/dist/esm/engine/compliance/resources/siem-delivery-outbox.resource.specification.js.map +1 -0
- package/dist/esm/engine/{auth → compliance}/resources/siem-export-config.resource.specification.d.ts +18 -18
- package/dist/esm/engine/compliance/resources/siem-export-config.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/{auth → compliance}/resources/siem-export-config.resource.specification.js +2 -2
- package/dist/esm/engine/compliance/resources/siem-export-config.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/signature-requests.resource.specification.d.ts +45 -0
- package/dist/esm/engine/compliance/resources/signature-requests.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/signature-requests.resource.specification.js +224 -0
- package/dist/esm/engine/compliance/resources/signature-requests.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts +1 -1
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.js +3 -2
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.js.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.js +82 -20
- package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
- package/dist/esm/engine/engine-resource-sub-domain.d.ts +7 -3
- package/dist/esm/engine/engine-resource-sub-domain.d.ts.map +1 -1
- package/dist/esm/engine/engine-resource-sub-domain.js +8 -4
- package/dist/esm/engine/engine-resource-sub-domain.js.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.js +359 -5
- package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
- package/dist/esm/engine/features/core-limits.feature.specifications.d.ts +10 -4
- package/dist/esm/engine/features/core-limits.feature.specifications.d.ts.map +1 -1
- package/dist/esm/engine/features/core-limits.feature.specifications.js +100 -5
- package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
- package/dist/esm/engine/features/custom-branding.feature.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/custom-branding.feature.specification.js +7 -3
- package/dist/esm/engine/features/custom-branding.feature.specification.js.map +1 -1
- package/dist/esm/engine/features/index.d.ts +4 -2
- package/dist/esm/engine/features/index.d.ts.map +1 -1
- package/dist/esm/engine/features/index.js +6 -4
- package/dist/esm/engine/features/index.js.map +1 -1
- package/dist/esm/engine/features/m2m-webhook-delivery.feature.specification.js +1 -1
- package/dist/esm/engine/features/m2m-webhook-delivery.feature.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts +7 -7
- package/dist/esm/engine/features/resources/application-features.resource.specification.js +8 -8
- package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts +7 -7
- package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js +37 -18
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts +7 -7
- package/dist/esm/engine/features/resources/user-features.resource.specification.js +4 -4
- package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.d.ts +27 -24
- package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.js +30 -8
- package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts +30 -30
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +32 -4
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts +18 -18
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +7 -7
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.d.ts +30 -0
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.js +181 -0
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.js +110 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.js +286 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.js +147 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js +71 -26
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.js +97 -0
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.d.ts +46 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.js +196 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +229 -178
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +126 -22
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts +60 -54
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js +23 -8
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.js +184 -0
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js +17 -5
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js +47 -7
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.js +118 -0
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.js +240 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.js +151 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.d.ts +23 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.js +124 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.js +114 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js +45 -3
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.js +9 -3
- package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.js +78 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +7 -5
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.js +3 -2
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/lifecycle-home-activation-progress.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/app/lifecycle-home-activation-progress.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/lifecycle-home-dashboard.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/app/lifecycle-home-dashboard.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/lifecycle-home-welcome-back.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/app/lifecycle-home-welcome-back.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js +2 -1
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js +3 -2
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.js +7 -0
- package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js +6 -6
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.js +24 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.js +6 -6
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.js +128 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/combobox-multiple.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/combobox-multiple.frontend-component.specification.js +1 -0
- package/dist/esm/engine/frontend-components/form/combobox-multiple.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/combobox.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/combobox.frontend-component.specification.js +3 -0
- package/dist/esm/engine/frontend-components/form/combobox.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.js +4 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.js +4 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.js +4 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.js +4 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-picker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-picker.frontend-component.specification.js +3 -0
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.js +4 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/select-multiple.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/select-multiple.frontend-component.specification.js +3 -0
- package/dist/esm/engine/frontend-components/form/controls/enum/select-multiple.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/select.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/select.frontend-component.specification.js +1 -0
- package/dist/esm/engine/frontend-components/form/controls/enum/select.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/input-group.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/input-group.frontend-component.specification.js +1 -0
- package/dist/esm/engine/frontend-components/form/controls/input-group.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/input.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/input.frontend-component.specification.js +1 -0
- package/dist/esm/engine/frontend-components/form/controls/input.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.js +139 -0
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/form/controls/string/color-input.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/color-input.frontend-component.specification.js +3 -0
- package/dist/esm/engine/frontend-components/form/controls/string/color-input.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/input-otp.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/input-otp.frontend-component.specification.js +3 -0
- package/dist/esm/engine/frontend-components/form/controls/string/input-otp.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/markdown-editor.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/markdown-editor.frontend-component.specification.js +3 -0
- package/dist/esm/engine/frontend-components/form/controls/string/markdown-editor.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/textarea.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/textarea.frontend-component.specification.js +3 -0
- package/dist/esm/engine/frontend-components/form/controls/string/textarea.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-chart.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-chart.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.js +5 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/index.d.ts +6 -0
- package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/index.js +26 -0
- package/dist/esm/engine/frontend-components/index.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.js +3 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.js +12 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-filters.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-filters.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.js +7 -3
- package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-operations-items.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-operations-items.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-read.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-read.frontend-component.specification.js +1 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-read.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.js +27 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js +5 -3
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts +16 -14
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js +4 -4
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts +18 -16
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts +20 -18
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.d.ts +24 -0
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.js +136 -0
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js +6 -1
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js +10 -4
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js +20 -2
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js +6 -6
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js +5 -5
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.d.ts +10 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.js +118 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js +54 -8
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +9 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js +33 -5
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-effect-reservations.resource.specification.d.ts +10 -0
- package/dist/esm/engine/infrastructure/resources/external-effect-reservations.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-effect-reservations.resource.specification.js +155 -0
- package/dist/esm/engine/infrastructure/resources/external-effect-reservations.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/idempotent-request-outcomes.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/idempotent-request-outcomes.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/idempotent-request-outcomes.resource.specification.js +155 -0
- package/dist/esm/engine/infrastructure/resources/idempotent-request-outcomes.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +37 -19
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +14 -14
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.d.ts +10 -0
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.js +159 -0
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts +15 -15
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js +45 -16
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.js +100 -0
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.d.ts +37 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.js +183 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts +52 -50
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js +18 -10
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts +86 -53
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js +78 -17
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts +85 -83
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js +59 -55
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts +30 -26
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +38 -20
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts +12 -14
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js +0 -2
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/sms-provider-events.resource.specification.d.ts +56 -0
- package/dist/esm/engine/notifications/resources/sms-provider-events.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/notifications/resources/sms-provider-events.resource.specification.js +277 -0
- package/dist/esm/engine/notifications/resources/sms-provider-events.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts +20 -16
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +13 -8
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts +1 -0
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js +43 -2
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/index.d.ts +0 -1
- package/dist/esm/engine/notifications/system-emails/index.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/index.js +1 -3
- package/dist/esm/engine/notifications/system-emails/index.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts +1 -1
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.js +25 -15
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js +13 -13
- package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/index.d.ts +1 -2
- package/dist/esm/engine/organizations/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/index.js +1 -2
- package/dist/esm/engine/organizations/resources/index.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-custom-domains.resource.specification.d.ts +33 -0
- package/dist/esm/engine/organizations/resources/organization-custom-domains.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/organizations/resources/organization-custom-domains.resource.specification.js +195 -0
- package/dist/esm/engine/organizations/resources/organization-custom-domains.resource.specification.js.map +1 -0
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +19 -18
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js +129 -64
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.d.ts +7 -7
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js +5 -1
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.d.ts +13 -13
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts +12 -11
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +10 -7
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.d.ts +128 -0
- package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.js +653 -0
- package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.js.map +1 -0
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts +9 -9
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js +15 -17
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts +14 -14
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +5 -5
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts +18 -13
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +111 -43
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.d.ts +39 -0
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.js +140 -0
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.js.map +1 -0
- package/dist/esm/engine/providers/anthropic.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/anthropic.provider.specification.js +18 -3
- package/dist/esm/engine/providers/anthropic.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/apple.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/apple.provider.specification.js +6 -2
- package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/github.provider.specification.js +18 -7
- package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/google-drive.provider.specification.d.ts +6 -0
- package/dist/esm/engine/providers/google-drive.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/google-drive.provider.specification.js +48 -0
- package/dist/esm/engine/providers/google-drive.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/google-places.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/google-places.provider.specification.js +5 -2
- package/dist/esm/engine/providers/google-places.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/google.provider.specification.js +8 -2
- package/dist/esm/engine/providers/google.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/grok.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/grok.provider.specification.js +14 -3
- package/dist/esm/engine/providers/grok.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/index.d.ts +2 -0
- package/dist/esm/engine/providers/index.d.ts.map +1 -1
- package/dist/esm/engine/providers/index.js +5 -1
- package/dist/esm/engine/providers/index.js.map +1 -1
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.d.ts +6 -0
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.js +55 -0
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/microsoft.provider.specification.js +26 -3
- package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/mistral.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/mistral.provider.specification.js +20 -5
- package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/openai.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/openai.provider.specification.js +30 -3
- package/dist/esm/engine/providers/openai.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/perplexity.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/perplexity.provider.specification.js +13 -2
- package/dist/esm/engine/providers/perplexity.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/recaptcha.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/recaptcha.provider.specification.js +8 -3
- package/dist/esm/engine/providers/recaptcha.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/resend.provider.specification.js +27 -10
- package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/stripe.provider.specification.js +19 -3
- package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/twilio.provider.specification.js +21 -6
- package/dist/esm/engine/providers/twilio.provider.specification.js.map +1 -1
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js +1 -1
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js.map +1 -1
- package/dist/esm/engine/roles/app-sms-provider-events.role.specification.d.ts +2 -0
- package/dist/esm/engine/roles/app-sms-provider-events.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/app-sms-provider-events.role.specification.js +21 -0
- package/dist/esm/engine/roles/app-sms-provider-events.role.specification.js.map +1 -0
- package/dist/esm/engine/roles/index.d.ts +8 -7
- package/dist/esm/engine/roles/index.d.ts.map +1 -1
- package/dist/esm/engine/roles/index.js +13 -10
- package/dist/esm/engine/roles/index.js.map +1 -1
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts +1 -1
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js +24 -24
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js.map +1 -1
- package/dist/esm/engine/roles/org-representative.role.specification.d.ts +2 -0
- package/dist/esm/engine/roles/org-representative.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/org-representative.role.specification.js +22 -0
- package/dist/esm/engine/roles/org-representative.role.specification.js.map +1 -0
- package/dist/esm/engine/roles/org-signature-provider-events.role.specification.d.ts +2 -0
- package/dist/esm/engine/roles/org-signature-provider-events.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/org-signature-provider-events.role.specification.js +21 -0
- package/dist/esm/engine/roles/org-signature-provider-events.role.specification.js.map +1 -0
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts +13 -12
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +7 -5
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts +12 -12
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +4 -3
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/self-service-user-notifications.shared.js +3 -3
- package/dist/esm/engine/users/resources/self-service-user-notifications.shared.js.map +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts +15 -15
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +3 -3
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts +17 -17
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +13 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts +2 -0
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js +4 -0
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +25 -20
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +8 -8
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts +8 -8
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +3 -3
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +25 -20
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +7 -2
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts +8 -8
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js +2 -2
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts +11 -9
- package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.js +46 -7
- package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/users-api-reference.examples.d.ts +3 -0
- package/dist/esm/engine/users/resources/users-api-reference.examples.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/users-api-reference.examples.js +3 -0
- package/dist/esm/engine/users/resources/users-api-reference.examples.js.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts +12 -10
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.js +26 -15
- package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts +63 -29
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js +75 -11
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.d.ts +2 -2
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts +2 -30
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.js +2 -2
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +51 -24
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-assets.schemas.d.ts +0 -31
- package/dist/esm/technical-documentation/technical-documentation-assets.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-capture.schemas.d.ts +0 -11
- package/dist/esm/technical-documentation/technical-documentation-capture.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.d.ts +0 -20
- package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.d.ts +0 -3
- package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-publication.schemas.d.ts +0 -24
- package/dist/esm/technical-documentation/technical-documentation-publication.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts +0 -12
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +11 -11
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts +0 -35
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +0 -1
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +0 -1
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts.map +0 -1
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js.map +0 -1
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +0 -1
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +0 -1
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts +0 -6
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts.map +0 -1
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.js +0 -146
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.js.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts +0 -38
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js +0 -152
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.d.ts +0 -106
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.d.ts.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js +0 -417
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js.map +0 -1
- package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts +0 -2
- package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts.map +0 -1
- package/dist/esm/engine/roles/org-service-provider.role.specification.js +0 -22
- package/dist/esm/engine/roles/org-service-provider.role.specification.js.map +0 -1
- /package/dist/esm/engine/{auth → compliance}/resources/siem-delivery-outbox.resource.specification.d.ts +0 -0
package/dist/esm/engine/features/resources/application-features.resource.specification.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-features.resource.specification.js","sourceRoot":"","sources":["../../../../../src/engine/features/resources/application-features.resource.specification.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EACL,0CAA0C,IAAI,8BAA8B,GAC7E,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EACL,mBAAmB,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BAC9J;aACF;YACD,SAAS,EAAE;gBACT,OAAO,EAAE,2JAA2J;gBACpK,SAAS,EAAE,4GAA4G;gBACvH,SAAS,EAAE;oBACT,KAAK,EAAE,EAAE,OAAO,EAAE,qDAAqD,EAAE;oBACzE,WAAW,EAAE,EAAE,OAAO,EAAE,2GAA2G,EAAE;iBACtI;aACF;SACF;KACF;IACD,KAAK,EAAE;QACL,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE,qCAAqC,EAAE,SAAS,EAAE,kDAAkD,EAAE;QAC5H,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,0BAA0B,EAAE,SAAS,EAAE,sCAAsC,EAAE;QACvG,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,sCAAsC,EAAE,SAAS,EAAE,8DAA8D,EAAE;QAC3I,CAAC,8BAA8B,CAAC,cAAc,CAAC,EAAE,EAAE,OAAO,EAAE,kCAAkC,EAAE,SAAS,EAAE,iEAAiE,EAAE;QAC9K,CAAC,8BAA8B,CAAC,eAAe,CAAC,EAAE,EAAE,OAAO,EAAE,mCAAmC,EAAE,SAAS,EAAE,wCAAwC,EAAE;QACvJ,CAAC,8BAA8B,CAAC,cAAc,CAAC,EAAE,EAAE,OAAO,EAAE,mCAAmC,EAAE,SAAS,EAAE,+CAA+C,EAAE;KAC9J;CACF,CAAC,CACH,CAAC","sourcesContent":["/**\n * Resource: `applicationFeatures` — Wildo SaaS engine specification (application scope).\n *\n * Inputs:\n * - Schema: `ScopeFeaturesWithOverridesSchema`\n * - Factory: `applicationFeaturesResourceConfiguration_InitializationFactory`\n * - Custom operations: `ApplicationFeatures_Operations`\n * - Preset: `applicationFeaturesAdminResourceUIBehavior`\n */\n\nimport {\n applicationFeaturesAdminResourceUIBehavior as applicationFeaturesAdminSource,\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 ApplicationFeatures_Operations,\n CoreResourceOperation as Op,\n ResourcePrimaryScope,\n ScopeFeaturesWithOverridesSchema,\n applicationFeaturesResourceConfiguration_InitializationFactory as applicationFeaturesFactory,\n} from '@wildo-ai/saas-models';\nimport {\n HttpResponseStatusCode,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n} from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype ApplicationFeaturesConfig = ReturnType<typeof applicationFeaturesFactory>;\ntype ApplicationFeaturesCoreOp = ApplicationFeaturesConfig['coreOperations'][number];\ntype ApplicationFeaturesSchema = ApplicationFeaturesConfig['mainSchema'];\n\nconst applicationFeaturesAdminResourceUIBehavior = applicationFeaturesAdminSource as ResourceUIBehaviorConfig<\n typeof ApplicationFeatures_Operations,\n ApplicationFeaturesCoreOp,\n ApplicationFeaturesSchema\n>;\n\nexport const applicationFeaturesResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n resourceFrontendConfiguration(applicationFeaturesAdminResourceUIBehavior),\n resourceSpecification(\n applicationFeaturesFactory,\n ScopeFeaturesWithOverridesSchema,\n ({ schemaShape }) => ({\n purpose: 'Application-wide entitlements: enabled features, limits, and manual overrides for app-scoped capabilities.',\n businessRole: 'Unblocks exact application-scope feature gates such as `M2M_WEBHOOK_DELIVERY` for `WEBHOOK_APPLICATION` delivery without leaking app opt-in to every organization.',\n lifecycleRole: 'Materialized by high-trust admin operations when an application-scope capability needs to be enabled or reset.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.FEATURES,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'ScopeFeaturesWithOverridesSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'applicationFeaturesResourceConfiguration_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: 'APPLICATION_FEATURES',\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: 'ApplicationFeatures_Operations',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n frontendConfigurationSources: [\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'applicationFeaturesAdminResourceUIBehavior',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n ],\n },\n fields: {\n features: schemaShape.features.clone().arraySpec({\n meaning: 'Enabled application-scope feature keys. Each is shown as its word (`billing_features.<id>.label`), the identifier while the word is missing.',\n whyItMatters: 'The M2M dispatcher checks this ledger for exact app-scope delivery gates.',\n elementMeaning: 'One `CoreFeature` or custom feature key applicable to application scope.',\n elementType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreFeature',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n notes: [\n '`CoreFeature.M2M_WEBHOOK_DELIVERY` is the first application-scope consumer; it is scope-bound and must be enabled independently from organization scope.',\n ],\n },\n }),\n limits: schemaShape.limits.clone().objectSpec({\n meaning: 'Application-level caps keyed by feature or meter identifier. Each key is shown as its word (`billing_limits.<id>.label`), and `-1` (`FEATURES_UNLIMITED`) as unlimited.',\n whyItMatters: 'Reserved for app-scoped limits; org/user limits remain in their own ledgers.',\n }),\n manualOverrides: schemaShape.manualOverrides.clone().objectSpec({\n meaning: 'App-admin-applied enable/disable/limit delta that survives config/profile changes until reset.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n },\n operations: {\n [Op.CREATE]: {\n purpose: 'Repository-only bootstrap of the application feature ledger.',\n outcome: 'The application has a singleton entitlement row.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'The singleton application-feature ledger record was materialized for the app.' },\n ],\n // REPOSITORY_ONLY variant — invoked by system/admin bootstrap workflows, not exposed as a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: false,\n },\n [Op.READ]: {\n purpose: 'Load app-scoped entitlements for super-admin diagnostics.',\n outcome: 'Admin surfaces and gates can inspect application-wide feature state.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The application feature ledger is returned with its effective features, limits, and manual overrides.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an application super-admin; app-scope entitlements are not exposed to lower-trust roles.' },\n ],\n idempotent: true,\n },\n [Op.SEARCH]: {\n purpose: 'Reserved lightweight listing path for app feature rows.',\n outcome: 'Returns rows if a host admin surface enables it.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of application feature ledger records for super-admin diagnostics.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an application super-admin; the app-feature listing path is admin-only.' },\n ],\n idempotent: true,\n },\n [Op.UPDATE]: {\n purpose: 'Super-admin partial update of the application entitlements document.',\n outcome: 'Application-scope gates observe the updated feature state after cache invalidation.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The application entitlements document was patched and the updated ledger is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The partial entitlements payload fails `ScopeFeaturesWithOverridesSchema.partial()` validation.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an application super-admin; document-level overrides are high-trust only.' },\n ],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Repository-only teardown of the application feature ledger when its owning application is deleted (composition `onParentDelete` cascade).',\n outcome: 'The singleton entitlement row is removed together with the application — the composition part does not outlive its whole.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The application-feature ledger record was deleted as part of the owning application’s deletion cascade.' },\n ],\n // REPOSITORY_ONLY variant (super-admin) — invoked by the onParentDelete cascade, not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: true,\n },\n [ApplicationFeatures_Operations.ENABLE_FEATURE]: {\n operationId: ApplicationFeatures_Operations.ENABLE_FEATURE,\n purpose: 'Surgical enable of one application-scope feature.',\n outcome: 'Feature flag flips for the application without knowing `applicationFeaturesId`.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The named feature is now enabled at application scope and the updated ledger is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The `featureId` is not a member of `CoreFeature` (the request DTO is enum-constrained, so an unknown key is a validation failure rather than a 404).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an application super-admin; feature enablement is admin-gated.' },\n ],\n // Convergent: enabling an already-enabled feature lands the same end state.\n idempotent: true,\n examples: [\n {\n title: 'Enable an application-scope feature',\n request: {\n featureId: 'M2M_WEBHOOK_DELIVERY',\n reason: 'Enable application-wide webhook delivery for the dogfood pilot.',\n },\n response: {\n features: ['M2M_WEBHOOK_DELIVERY'],\n manualOverrides: { M2M_WEBHOOK_DELIVERY: { enabled: true } },\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [ApplicationFeatures_Operations.DISABLE_FEATURE]: {\n operationId: ApplicationFeatures_Operations.DISABLE_FEATURE,\n purpose: 'Surgical disable of one application-scope feature.',\n outcome: 'Application-scope capability is removed while other overrides remain intact.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The named feature is now disabled at application scope and the updated ledger is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The `featureId` is not a `CoreFeature` member, or the required `reason` is missing/empty.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an application super-admin; feature disablement is admin-gated.' },\n ],\n // Convergent: disabling an already-disabled feature lands the same end state.\n idempotent: true,\n },\n [ApplicationFeatures_Operations.RESET_FEATURES]: {\n operationId: ApplicationFeatures_Operations.RESET_FEATURES,\n purpose: 'Clear all application-scope manual overrides.',\n outcome: 'Application returns to defaults/profile-derived features.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'All application-scope manual overrides were cleared and the defaults-derived ledger is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The required `reason` justification is missing or empty.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an application super-admin; clearing overrides is the highest-trust feature operation.' },\n ],\n // Convergent: this clears overrides back to the defaults baseline, so a repeated reset lands the same cleared state (not an incrementing/event-style mutation).\n idempotent: true,\n },\n },\n businessConstraints: [\n 'ENABLE_FEATURE, DISABLE_FEATURE and RESET_FEATURES record a committed RESOURCE_OPERATION_PERFORMED event with the persisted feature-ledger id, override change and supplied reason. Enable accepts an optional reason; disable and reset require one. Audit history survives later override changes and resets.',\n '`APPLICATION_FEATURES` is one-to-one by `applicationId`; it is not an organization fallback or global feature catalog.',\n 'Do not use app-scope enablement to imply org-scope enablement for `scopeBoundary` features.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION },\n ),\n () => ({\n layout: {\n purpose: 'Show app-scoped entitlement state and manual overrides for high-trust operators.',\n displayPurpose: 'Super-admin-only diagnostic and override surface. The effective features and limits sit in an untitled card (the page header already names the record); the manual overrides keep their heading, which is what separates a grant the configuration gave from one a person gave. No read section shows a description; an empty list says \"None yet\". The form keeps one description, on the overrides.',\n summaryPurpose: 'Compact feature and limit summary for application-level gates, as bare values.',\n sections: {\n overview: {\n purpose: 'Render `features` and `limits` as the engine currently evaluates them at application scope (e.g. `M2M_WEBHOOK_DELIVERY` for `WEBHOOK_APPLICATION`).',\n whenToUse: 'Default super-admin diagnostic page when inspecting why an app-scope gate is open or closed.',\n textSlots: {\n title: { purpose: 'Label the overview area for the application’s effective app-scope entitlements. Not rendered: the page header already names the record.' },\n },\n },\n overrides: {\n purpose: 'Author `manualOverrides` deltas (enable / disable / limit patches) when operators intentionally diverge an application from its profile-derived defaults.',\n whenToUse: 'Break-glass enables for app-scope dogfood pilots, incident-driven disables, and bespoke limit adjustments.',\n textSlots: {\n title: { purpose: 'Label the manual-override area for the application.' },\n description: { purpose: 'State that these overrides survive config/profile changes until cleared via the RESET_FEATURES operation.' },\n },\n },\n },\n },\n views: {\n [Op.READ]: { purpose: 'Super-admin app feature inspection.', whenToUse: 'Debug app-scoped gates like WEBHOOK_APPLICATION.' },\n [Op.SEARCH]: { purpose: 'Rare admin listing path.', whenToUse: 'Diagnostics and registry validation.' },\n [Op.UPDATE]: { purpose: 'Super-admin document-level override.', whenToUse: 'Break-glass edits when surgical operations are insufficient.' },\n [ApplicationFeatures_Operations.ENABLE_FEATURE]: { purpose: 'Single-feature app-scope enable.', whenToUse: 'Enable WEBHOOK_APPLICATION dogfood or app-level feature pilots.' },\n [ApplicationFeatures_Operations.DISABLE_FEATURE]: { purpose: 'Single-feature app-scope disable.', whenToUse: 'Incident response or feature rollback.' },\n [ApplicationFeatures_Operations.RESET_FEATURES]: { purpose: 'Clear app-scope manual overrides.', whenToUse: 'Return application to defaults/profile truth.' },\n },\n }),\n);\n"]}
|
|
1
|
+
{"version":3,"file":"application-features.resource.specification.js","sourceRoot":"","sources":["../../../../../src/engine/features/resources/application-features.resource.specification.ts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EAAE,gFAAgF;QAChG,QAAQ,EAAE;YACR,QAAQ,EAAE;gBACR,OAAO,EAAE,qJAAqJ;gBAC9J,SAAS,EAAE,8FAA8F;gBACzG,SAAS,EAAE;oBACT,KAAK,EAAE,EAAE,OAAO,EAAE,yIAAyI,EAAE;iBAC9J;aACF;YACD,SAAS,EAAE;gBACT,OAAO,EAAE,2JAA2J;gBACpK,SAAS,EAAE,4GAA4G;gBACvH,SAAS,EAAE;oBACT,KAAK,EAAE,EAAE,OAAO,EAAE,qDAAqD,EAAE;oBACzE,WAAW,EAAE,EAAE,OAAO,EAAE,2GAA2G,EAAE;iBACtI;aACF;SACF;KACF;IACD,KAAK,EAAE;QACL,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE,qCAAqC,EAAE,SAAS,EAAE,kDAAkD,EAAE;QAC5H,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,0BAA0B,EAAE,SAAS,EAAE,sCAAsC,EAAE;QACvG,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,sCAAsC,EAAE,SAAS,EAAE,8DAA8D,EAAE;QAC3I,CAAC,8BAA8B,CAAC,cAAc,CAAC,EAAE,EAAE,OAAO,EAAE,kCAAkC,EAAE,SAAS,EAAE,iEAAiE,EAAE;QAC9K,CAAC,8BAA8B,CAAC,eAAe,CAAC,EAAE,EAAE,OAAO,EAAE,mCAAmC,EAAE,SAAS,EAAE,wCAAwC,EAAE;QACvJ,CAAC,8BAA8B,CAAC,cAAc,CAAC,EAAE,EAAE,OAAO,EAAE,mCAAmC,EAAE,SAAS,EAAE,+CAA+C,EAAE;KAC9J;CACF,CAAC,CACH,CAAC","sourcesContent":["/**\n * Resource: `applicationFeatures` — Wildo SaaS engine specification (application scope).\n *\n * Inputs:\n * - Schema: `ScopeFeaturesWithOverridesSchema`\n * - Factory: `applicationFeaturesResourceConfiguration_InitializationFactory`\n * - Custom operations: `ApplicationFeatures_Operations`\n * - Preset: `applicationFeaturesAdminResourceUIBehavior`\n */\n\nimport {\n applicationFeaturesAdminResourceUIBehavior as applicationFeaturesAdminSource,\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 ApplicationFeatures_Operations,\n CoreResourceOperation as Op,\n ResourcePrimaryScope,\n ScopeFeaturesWithOverridesSchema,\n applicationFeaturesResourceConfiguration_InitializationFactory as applicationFeaturesFactory,\n} from '@wildo-ai/saas-models';\nimport {\n HttpResponseStatusCode,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n} from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype ApplicationFeaturesConfig = ReturnType<typeof applicationFeaturesFactory>;\ntype ApplicationFeaturesCoreOp = ApplicationFeaturesConfig['coreOperations'][number];\ntype ApplicationFeaturesSchema = ApplicationFeaturesConfig['mainSchema'];\n\nconst applicationFeaturesAdminResourceUIBehavior = applicationFeaturesAdminSource as ResourceUIBehaviorConfig<\n typeof ApplicationFeatures_Operations,\n ApplicationFeaturesCoreOp,\n ApplicationFeaturesSchema\n>;\n\nexport const applicationFeaturesResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n resourceFrontendConfiguration(applicationFeaturesAdminResourceUIBehavior),\n resourceSpecification(\n applicationFeaturesFactory,\n ScopeFeaturesWithOverridesSchema,\n ({ schemaShape }) => ({\n purpose: 'Application-wide entitlements: enabled features, limits, and manual overrides for app-scoped capabilities.',\n businessRole: 'Unblocks exact application-scope feature gates such as `M2M_WEBHOOK_DELIVERY` for `webhook_application` delivery without leaking app opt-in to every organization.',\n lifecycleRole: 'Materialized by high-trust admin operations when an application-scope capability needs to be enabled or reset.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.FEATURES,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'ScopeFeaturesWithOverridesSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'applicationFeaturesResourceConfiguration_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: 'APPLICATION_FEATURES',\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: 'ApplicationFeatures_Operations',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n frontendConfigurationSources: [\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'applicationFeaturesAdminResourceUIBehavior',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n ],\n },\n fields: {\n features: schemaShape.features.clone().arraySpec({\n meaning: 'Enabled application-scope feature keys.',\n whyItMatters: 'The M2M dispatcher checks this ledger for exact app-scope delivery gates.',\n elementMeaning: 'One feature key that applies at the application scope: a feature the framework defines or one the application declares.',\n elementType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreFeature',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n notes: [\n '`CoreFeature.M2M_WEBHOOK_DELIVERY` is the first application-scope consumer; it is scope-bound and must be enabled independently from organization scope.',\n ],\n },\n }),\n limits: schemaShape.limits.clone().objectSpec({\n meaning: 'Application-level caps keyed by feature or meter identifier. `-1` means unlimited.',\n whyItMatters: 'Reserved for app-scoped limits; org/user limits remain in their own ledgers.',\n }),\n manualOverrides: schemaShape.manualOverrides.clone().objectSpec({\n meaning: 'App-admin-applied enable/disable/limit delta that survives config/profile changes until reset.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n },\n operations: {\n [Op.CREATE]: {\n purpose: 'Route-less bootstrap of the application feature ledger, written by the seed or by the system door when the row is first needed.',\n outcome: 'The application has a singleton entitlement row.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'The singleton application-feature ledger record was materialized for the app.' },\n ],\n // INTERNAL_CALL variant (#2695): route-less, and resolvable by `createAsSystem`. Not exposed as a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: false,\n },\n [Op.READ]: {\n purpose: 'Load app-scoped entitlements for super-admin diagnostics.',\n outcome: 'Admin surfaces and gates can inspect application-wide feature state.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The application feature ledger is returned with its effective features, limits, and manual overrides.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an application super-admin; app-scope entitlements are not exposed to lower-trust roles.' },\n ],\n idempotent: true,\n },\n [Op.SEARCH]: {\n purpose: 'Reserved lightweight listing path for app feature rows.',\n outcome: 'Returns rows if a host admin surface enables it.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of application feature ledger records for super-admin diagnostics.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an application super-admin; the app-feature listing path is admin-only.' },\n ],\n idempotent: true,\n },\n [Op.UPDATE]: {\n purpose: 'Super-admin partial update of the application entitlements document.',\n outcome: 'Application-scope gates observe the updated feature state after cache invalidation.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The application entitlements document was patched and the updated ledger is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The partial entitlements payload is not valid.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an application super-admin; document-level overrides are high-trust only.' },\n ],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Repository-only teardown of the application feature ledger when its owning application is deleted (composition `onParentDelete` cascade).',\n outcome: 'The singleton entitlement row is removed together with the application — the composition part does not outlive its whole.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The application-feature ledger record was deleted as part of the owning application’s deletion cascade.' },\n ],\n // REPOSITORY_ONLY variant (super-admin) — invoked by the onParentDelete cascade, not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: true,\n },\n [ApplicationFeatures_Operations.ENABLE_FEATURE]: {\n operationId: ApplicationFeatures_Operations.ENABLE_FEATURE,\n purpose: 'Surgical enable of one application-scope feature.',\n outcome: 'Feature flag flips for the application without knowing `applicationFeaturesId`.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The named feature is now enabled at application scope and the updated ledger is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The `featureId` is not a member of `CoreFeature` (the request DTO is enum-constrained, so an unknown key is a validation failure rather than a 404).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an application super-admin; feature enablement is admin-gated.' },\n ],\n // Convergent: enabling an already-enabled feature lands the same end state.\n idempotent: true,\n examples: [\n {\n title: 'Enable an application-scope feature',\n request: {\n featureId: 'M2M_WEBHOOK_DELIVERY',\n reason: 'Enable application-wide webhook delivery for the dogfood pilot.',\n },\n response: {\n features: ['M2M_WEBHOOK_DELIVERY'],\n manualOverrides: { M2M_WEBHOOK_DELIVERY: { enabled: true } },\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [ApplicationFeatures_Operations.DISABLE_FEATURE]: {\n operationId: ApplicationFeatures_Operations.DISABLE_FEATURE,\n purpose: 'Surgical disable of one application-scope feature.',\n outcome: 'Application-scope capability is removed while other overrides remain intact.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The named feature is now disabled at application scope and the updated ledger is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The `featureId` is not a `CoreFeature` member, or the required `reason` is missing/empty.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an application super-admin; feature disablement is admin-gated.' },\n ],\n // Convergent: disabling an already-disabled feature lands the same end state.\n idempotent: true,\n },\n [ApplicationFeatures_Operations.RESET_FEATURES]: {\n operationId: ApplicationFeatures_Operations.RESET_FEATURES,\n purpose: 'Clear all application-scope manual overrides.',\n outcome: 'Application returns to defaults/profile-derived features.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'All application-scope manual overrides were cleared and the defaults-derived ledger is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The required `reason` justification is missing or empty.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an application super-admin; clearing overrides is the highest-trust feature operation.' },\n ],\n // Convergent: this clears overrides back to the defaults baseline, so a repeated reset lands the same cleared state (not an incrementing/event-style mutation).\n idempotent: true,\n },\n },\n businessConstraints: [\n 'ENABLE_FEATURE, DISABLE_FEATURE and RESET_FEATURES record a committed RESOURCE_OPERATION_PERFORMED event with the persisted feature-ledger id, override change and supplied reason. Enable accepts an optional reason; disable and reset require one. Audit history survives later override changes and resets.',\n '`APPLICATION_FEATURES` is one-to-one by `applicationId`; it is not an organization fallback or global feature catalog.',\n 'Do not use app-scope enablement to imply org-scope enablement for `scopeBoundary` features.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION },\n ),\n () => ({\n layout: {\n purpose: 'Show app-scoped entitlement state and manual overrides for high-trust operators.',\n displayPurpose: 'Super-admin-only diagnostic and override surface. The effective features and limits sit in an untitled card (the page header already names the record); the manual overrides keep their heading, which is what separates a grant the configuration gave from one a person gave. No read section shows a description; an empty list says \"None yet\". The form keeps one description, on the overrides.',\n summaryPurpose: 'Compact feature and limit summary for application-level gates, as bare values.',\n sections: {\n overview: {\n purpose: 'Render `features` and `limits` as the engine currently evaluates them at application scope (e.g. `M2M_WEBHOOK_DELIVERY` for `webhook_application`).',\n whenToUse: 'Default super-admin diagnostic page when inspecting why an app-scope gate is open or closed.',\n textSlots: {\n title: { purpose: 'Label the overview area for the application’s effective app-scope entitlements. Not rendered: the page header already names the record.' },\n },\n },\n overrides: {\n purpose: 'Author `manualOverrides` deltas (enable / disable / limit patches) when operators intentionally diverge an application from its profile-derived defaults.',\n whenToUse: 'Break-glass enables for app-scope dogfood pilots, incident-driven disables, and bespoke limit adjustments.',\n textSlots: {\n title: { purpose: 'Label the manual-override area for the application.' },\n description: { purpose: 'State that these overrides survive config/profile changes until cleared via the RESET_FEATURES operation.' },\n },\n },\n },\n },\n views: {\n [Op.READ]: { purpose: 'Super-admin app feature inspection.', whenToUse: 'Debug app-scoped gates like WEBHOOK_APPLICATION.' },\n [Op.SEARCH]: { purpose: 'Rare admin listing path.', whenToUse: 'Diagnostics and registry validation.' },\n [Op.UPDATE]: { purpose: 'Super-admin document-level override.', whenToUse: 'Break-glass edits when surgical operations are insufficient.' },\n [ApplicationFeatures_Operations.ENABLE_FEATURE]: { purpose: 'Single-feature app-scope enable.', whenToUse: 'Enable WEBHOOK_APPLICATION dogfood or app-level feature pilots.' },\n [ApplicationFeatures_Operations.DISABLE_FEATURE]: { purpose: 'Single-feature app-scope disable.', whenToUse: 'Incident response or feature rollback.' },\n [ApplicationFeatures_Operations.RESET_FEATURES]: { purpose: 'Clear app-scope manual overrides.', whenToUse: 'Return application to defaults/profile truth.' },\n },\n }),\n);\n"]}
|
package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts
CHANGED
|
@@ -4,12 +4,12 @@ import { CoreFeature, CoreResourceOperation as Op, OrganizationFeatures_Operatio
|
|
|
4
4
|
* can override, toggle, or reset the feature bundle (`organizations.resource-presets.tsx`).
|
|
5
5
|
*/
|
|
6
6
|
export declare const organizationFeaturesResourceSpecification: import("../../../_core").ResourceSpecificationConfig<typeof OrganizationFeatures_Operations, Op.READ | Op.UPDATE | Op.DELETE | Op.CREATE | Op.SEARCH, import("zod").ZodObject<{
|
|
7
|
-
features: import("
|
|
8
|
-
limits: import("
|
|
9
|
-
manualOverrides: import("
|
|
10
|
-
addedFeatures: import("zod").ZodDefault<import("zod").ZodArray<import("
|
|
11
|
-
removedFeatures: import("zod").ZodDefault<import("zod").ZodArray<import("
|
|
12
|
-
limitOverrides: import("zod").ZodDefault<import("zod").ZodRecord<import("
|
|
13
|
-
}, import("zod/v4/core").$strip
|
|
7
|
+
features: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodEnum<typeof CoreFeature>, import("zod").ZodString]>>>;
|
|
8
|
+
limits: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodNumber>>;
|
|
9
|
+
manualOverrides: import("zod").ZodDefault<import("zod").ZodObject<{
|
|
10
|
+
addedFeatures: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>;
|
|
11
|
+
removedFeatures: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>;
|
|
12
|
+
limitOverrides: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodNumber>>;
|
|
13
|
+
}, import("zod/v4/core").$strip>>;
|
|
14
14
|
}, import("zod/v4/core").$strip>>;
|
|
15
15
|
//# sourceMappingURL=organization-features.resource.specification.d.ts.map
|
package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization-features.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/features/resources/organization-features.resource.specification.ts"],"names":[],"mappings":"AAWA,OAAO,EACL,WAAW,EACX,qBAAqB,IAAI,EAAE,EAC3B,+BAA+B,EAIhC,MAAM,uBAAuB,CAAC;AA4E/B;;;GAGG;AACH,eAAO,MAAM,yCAAyC;;;;;;;;
|
|
1
|
+
{"version":3,"file":"organization-features.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/features/resources/organization-features.resource.specification.ts"],"names":[],"mappings":"AAWA,OAAO,EACL,WAAW,EACX,qBAAqB,IAAI,EAAE,EAC3B,+BAA+B,EAIhC,MAAM,uBAAuB,CAAC;AA4E/B;;;GAGG;AACH,eAAO,MAAM,yCAAyC;;;;;;;;iCA2VrD,CAAC"}
|
|
@@ -121,7 +121,7 @@ export const organizationFeaturesResourceSpecification = resourceSpecificationFr
|
|
|
121
121
|
// every field before adding scope-specific metadata so one specification
|
|
122
122
|
// cannot overwrite another specification's generated descriptions.
|
|
123
123
|
features: schemaShape.features.clone().arraySpec({
|
|
124
|
-
meaning: 'Effective feature keys enabled for this organization.
|
|
124
|
+
meaning: 'Effective feature keys enabled for this organization.',
|
|
125
125
|
whyItMatters: 'Organization-level capability checks consult this set after plan state and manual overrides are resolved.',
|
|
126
126
|
elementMeaning: 'One framework feature or application-defined entitlement key.',
|
|
127
127
|
elementType: {
|
|
@@ -138,7 +138,7 @@ export const organizationFeaturesResourceSpecification = resourceSpecificationFr
|
|
|
138
138
|
},
|
|
139
139
|
}),
|
|
140
140
|
limits: schemaShape.limits.clone().objectSpec({
|
|
141
|
-
meaning: 'Effective numeric caps keyed by feature or meter identifier for this organization.
|
|
141
|
+
meaning: 'Effective numeric caps keyed by feature or meter identifier for this organization. `-1` means unlimited.',
|
|
142
142
|
whyItMatters: 'A feature may be enabled while still carrying a quantity limit such as seats, API requests, or storage.',
|
|
143
143
|
}),
|
|
144
144
|
manualOverrides: schemaShape.manualOverrides.clone().objectSpec({
|
|
@@ -149,16 +149,16 @@ export const organizationFeaturesResourceSpecification = resourceSpecificationFr
|
|
|
149
149
|
},
|
|
150
150
|
operations: {
|
|
151
151
|
[Op.CREATE]: {
|
|
152
|
-
purpose: '
|
|
152
|
+
purpose: 'Route-less bootstrap of the org feature ledger: the default seed writes it, and so does the system door when an administrator first configures a tenant that has no row (the context-addressed singleton seam).',
|
|
153
153
|
outcome: 'The organization has a singleton entitlement row to receive billing-derived features and manual overrides.',
|
|
154
154
|
responseStatuses: [
|
|
155
155
|
{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The singleton org-feature ledger record was materialized for the tenant.' },
|
|
156
156
|
],
|
|
157
|
-
//
|
|
157
|
+
// INTERNAL_CALL variant (#2695): route-less, and resolvable by `createAsSystem`, which the seam writes through. Not a public HTTP endpoint, so no client-facing 400/403/404 are documented.
|
|
158
158
|
idempotent: false,
|
|
159
159
|
},
|
|
160
160
|
[Op.READ]: {
|
|
161
|
-
purpose: 'Read the effective feature entitlements and limits for the addressed organization.',
|
|
161
|
+
purpose: 'Read the effective feature entitlements and limits for the addressed organization. The `admin` variant is the operator\u2019s read of a tenant they do not belong to (#2316), crossing only under its platform access grant.',
|
|
162
162
|
outcome: 'The caller receives the resolved feature set, numeric limits, and any administrator-authored override delta.',
|
|
163
163
|
whenToUse: 'Use this representation to explain which organization capabilities are available and which quantitative limits currently apply.',
|
|
164
164
|
responseStatuses: [
|
|
@@ -166,6 +166,7 @@ export const organizationFeaturesResourceSpecification = resourceSpecificationFr
|
|
|
166
166
|
],
|
|
167
167
|
errorScenarios: [
|
|
168
168
|
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a member of this organization; the effective entitlements ledger is readable by any organization member (writes remain super-admin-only).' },
|
|
169
|
+
{ code: HttpResponseStatusCode.NOT_FOUND_404, when: 'On the `admin` variant, a platform super-administrator who holds no usable platform access grant for the tenant, when the tenant has a features row: the crossed read is refused exactly like a missing row. A tenant with no row yet is refused at the collection gate instead (403), as the default variant is.' },
|
|
169
170
|
],
|
|
170
171
|
examples: [{
|
|
171
172
|
title: 'Read organization feature entitlements',
|
|
@@ -233,7 +234,7 @@ export const organizationFeaturesResourceSpecification = resourceSpecificationFr
|
|
|
233
234
|
{ code: HttpResponseStatusCode.OK_200, meaning: 'The org entitlements document was patched and the updated ledger is returned.' },
|
|
234
235
|
],
|
|
235
236
|
errorScenarios: [
|
|
236
|
-
{ code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The partial entitlements payload
|
|
237
|
+
{ code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The partial entitlements payload is not valid.' },
|
|
237
238
|
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an application super-admin; document-level overrides are high-trust only.' },
|
|
238
239
|
],
|
|
239
240
|
examples: [{
|
|
@@ -258,7 +259,7 @@ export const organizationFeaturesResourceSpecification = resourceSpecificationFr
|
|
|
258
259
|
},
|
|
259
260
|
[OrganizationFeatures_Operations.ENABLE_FEATURE]: {
|
|
260
261
|
operationId: OrganizationFeatures_Operations.ENABLE_FEATURE,
|
|
261
|
-
purpose: 'Add one feature to the organization’s manual enablement overrides.',
|
|
262
|
+
purpose: 'Add one feature to the organization’s manual enablement overrides. The `admin` variant is the same write by an operator into a tenant they do not belong to (#2316), crossing only under its platform access grant; it is reversible (disabling undoes it), which is why it may cross.',
|
|
262
263
|
outcome: 'The feature is removed from any disable override, added once to the enable override, and the updated feature ledger is returned.',
|
|
263
264
|
whenToUse: 'Use this command for one deliberate entitlement grant. The optional reason lets the caller explain why the change is being requested.',
|
|
264
265
|
responseStatuses: [
|
|
@@ -266,7 +267,7 @@ export const organizationFeaturesResourceSpecification = resourceSpecificationFr
|
|
|
266
267
|
],
|
|
267
268
|
errorScenarios: [
|
|
268
269
|
{ code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The `featureId` is not a member of `CoreFeature` (the request DTO is enum-constrained, so an unknown key is a validation failure rather than a 404).' },
|
|
269
|
-
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an application super-admin; feature enablement is administration-gated.' },
|
|
270
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an application super-admin; feature enablement is administration-gated. The default variant admits a super-admin only as a MEMBER of the organization, as every per-instance verb does (#2482), and refuses a non-member. On the `admin` variant, a super-admin with no usable platform access grant for the tenant.' },
|
|
270
271
|
],
|
|
271
272
|
// Convergent: enabling an already-enabled feature lands the same end state.
|
|
272
273
|
idempotent: true,
|
|
@@ -292,7 +293,7 @@ export const organizationFeaturesResourceSpecification = resourceSpecificationFr
|
|
|
292
293
|
},
|
|
293
294
|
[OrganizationFeatures_Operations.DISABLE_FEATURE]: {
|
|
294
295
|
operationId: OrganizationFeatures_Operations.DISABLE_FEATURE,
|
|
295
|
-
purpose: 'Add one feature to the organization’s manual disablement overrides.',
|
|
296
|
+
purpose: 'Add one feature to the organization’s manual disablement overrides. The `admin` variant is the same write by an operator into a tenant they do not belong to (#2316), crossing only under its platform access grant; reversible (enabling undoes it).',
|
|
296
297
|
outcome: 'The feature is removed from any enable override, added once to the disable override, and the updated feature ledger is returned.',
|
|
297
298
|
whenToUse: 'Use this command for one deliberate entitlement withdrawal. A non-empty reason is required.',
|
|
298
299
|
responseStatuses: [
|
|
@@ -310,7 +311,7 @@ export const organizationFeaturesResourceSpecification = resourceSpecificationFr
|
|
|
310
311
|
}],
|
|
311
312
|
errorScenarios: [
|
|
312
313
|
{ code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The `featureId` is not a `CoreFeature` member, or the required `reason` justification is missing/empty.' },
|
|
313
|
-
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an application super-admin; feature disablement is administration-gated.' },
|
|
314
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an application super-admin; feature disablement is administration-gated. The default variant admits a super-admin only as a MEMBER of the organization, as every per-instance verb does (#2482), and refuses a non-member. On the `admin` variant, a super-admin with no usable platform access grant for the tenant.' },
|
|
314
315
|
],
|
|
315
316
|
// Convergent: disabling an already-disabled feature lands the same end state.
|
|
316
317
|
idempotent: true,
|
|
@@ -334,7 +335,7 @@ export const organizationFeaturesResourceSpecification = resourceSpecificationFr
|
|
|
334
335
|
}],
|
|
335
336
|
errorScenarios: [
|
|
336
337
|
{ code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The required `reason` justification is missing or empty.' },
|
|
337
|
-
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an application super-admin; clearing overrides is the highest-trust feature operation.' },
|
|
338
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an application super-admin; clearing overrides is the highest-trust feature operation. A super-admin is admitted only as a MEMBER of the organization (#2482); RESET has no crossed variant, so a platform operator outside the tenant is always refused. It is irreversible: it clears every override the organization holds, limit overrides included, and returns it to its plan. The crossed ENABLE and DISABLE change one feature at a time and leave limits alone, so they do not reach the same state; there is no operator door to a full reset.' },
|
|
338
339
|
],
|
|
339
340
|
// Convergent: re-syncing to plan defaults lands the same cleared state on repeat, so this is idempotent despite being a high-risk action.
|
|
340
341
|
idempotent: true,
|
|
@@ -348,9 +349,9 @@ export const organizationFeaturesResourceSpecification = resourceSpecificationFr
|
|
|
348
349
|
}), { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS }), () => ({
|
|
349
350
|
layout: {
|
|
350
351
|
purpose: 'Show effective entitlements and manual deltas for a tenant without mixing in unrelated billing calculations.',
|
|
351
|
-
displayPurpose: 'Read-only for
|
|
352
|
+
displayPurpose: 'Read-only for everyone, a platform administrator who is a member included (#2316). Two groups: the effective `features` and `limits` in an untitled card (the page title already names it), then the `overrides` section, titled because it is what separates a grant the plan gave from one a person gave. An empty override list reads "None yet", which on this pane is the answer. No section shows a description on read.',
|
|
352
353
|
summaryPurpose: 'Compact summary of org-level feature chips and high-signal limit highlights, as bare values.',
|
|
353
|
-
editPurpose: '
|
|
354
|
+
editPurpose: 'The ledger as a stacked form, declared by the preset but rendered by no surface while UPDATE is API-only (#2316). The `overrides` section would keep its description on it: that a hand-made override outlives plan changes until reset is the consequence of saving, and no field name says it.',
|
|
354
355
|
sections: {
|
|
355
356
|
overview: {
|
|
356
357
|
purpose: 'Render `features` and `limits` for the org as the engine currently evaluates them.',
|
|
@@ -369,13 +370,31 @@ export const organizationFeaturesResourceSpecification = resourceSpecificationFr
|
|
|
369
370
|
},
|
|
370
371
|
},
|
|
371
372
|
},
|
|
373
|
+
// An organization does not manage its entitlements (Paul, 2026-10-02): its own Entitlements page is read-only for
|
|
374
|
+
// everyone, a super-administrator who is a member included (#2316). The operator's crossed `admin` ENABLE and
|
|
375
|
+
// DISABLE are on the tenant directory's page. The default UPDATE, ENABLE, DISABLE and RESET have no view: they are
|
|
376
|
+
// API-only, and admit a super-administrator only as a member of the tenant (#2482). RESET has no crossed variant
|
|
377
|
+
// (irreversible: it clears every override, limit overrides included, and returns the organization to its plan), so a
|
|
378
|
+
// platform operator outside the tenant cannot reset its features. The crossed ENABLE / DISABLE change one feature at
|
|
379
|
+
// a time and leave limits alone; they are not a path to the same state.
|
|
372
380
|
views: {
|
|
373
|
-
[Op.READ]: {
|
|
381
|
+
[Op.READ]: {
|
|
382
|
+
variants: {
|
|
383
|
+
default: { purpose: 'Members and admins read their organization\u2019s effective entitlements on Organization \u2192 Entitlements, read-only.', whenToUse: 'Seeing why a feature is unavailable, and plan comparison.' },
|
|
384
|
+
admin: { purpose: 'An operator\u2019s read of a tenant\u2019s entitlements on the tenant directory\u2019s page for that organization, crossing only under its platform access grant.', whenToUse: 'Support and sales-assist: checking, then enabling or disabling, one tenant\u2019s features.' },
|
|
385
|
+
},
|
|
386
|
+
},
|
|
374
387
|
[Op.SEARCH]: { purpose: 'Search across feature metadata in merged main behavior.', whenToUse: 'Large shared catalogs in multi-tenant admin hosts.' },
|
|
375
|
-
[
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
388
|
+
[OrganizationFeatures_Operations.ENABLE_FEATURE]: {
|
|
389
|
+
variants: {
|
|
390
|
+
admin: { purpose: 'The operator switches one feature on for a tenant they reached, under its grant. Never offered on the tenant\u2019s own page.', whenToUse: 'Sales-assist, pilots, and emergency unlocks with narrow blast radius.' },
|
|
391
|
+
},
|
|
392
|
+
},
|
|
393
|
+
[OrganizationFeatures_Operations.DISABLE_FEATURE]: {
|
|
394
|
+
variants: {
|
|
395
|
+
admin: { purpose: 'The operator switches one feature off for a tenant they reached, with a required reason, under its grant. Never offered on the tenant\u2019s own page.', whenToUse: 'Abuse, license claw-back, and incident response for one capability.' },
|
|
396
|
+
},
|
|
397
|
+
},
|
|
379
398
|
},
|
|
380
399
|
}));
|
|
381
400
|
//# sourceMappingURL=organization-features.resource.specification.js.map
|
package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization-features.resource.specification.js","sourceRoot":"","sources":["../../../../../src/engine/features/resources/organization-features.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2CAA2C,IAAI,+BAA+B,EAC9E,0CAA0C,IAAI,8BAA8B,GAC7E,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,WAAW,EACX,qBAAqB,IAAI,EAAE,EAC3B,+BAA+B,EAC/B,oBAAoB,EACpB,gCAAgC,EAChC,+DAA+D,IAAI,2BAA2B,GAC/F,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,sBAAsB,EACtB,mCAAmC,EACnC,6BAA6B,EAC7B,qBAAqB,EACrB,8CAA8C,GAC/C,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAO3E,MAAM,0BAA0B,GAAG,8BAA8E,CAAC;AAClH,MAAM,2BAA2B,GAAG,+BAA+E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AE,oFAAoF;gBAC7F,SAAS,EAAE,4IAA4I;gBACvJ,SAAS,EAAE;oBACT,KAAK,EAAE,EAAE,OAAO,EAAE,+DAA+D,EAAE;iBACpF;aACF;YACD,SAAS,EAAE;gBACT,OAAO,EAAE,+HAA+H;gBACxI,SAAS,EAAE,kEAAkE;gBAC7E,SAAS,EAAE;oBACT,KAAK,EAAE,EAAE,OAAO,EAAE,sDAAsD,EAAE;oBAC1E,WAAW,EAAE,EAAE,OAAO,EAAE,gIAAgI,EAAE;iBAC3J;aACF;SACF;KACF;IACD,KAAK,EAAE;QACL,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE,6EAA6E,EAAE,SAAS,EAAE,6CAA6C,EAAE;QAC/J,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,yDAAyD,EAAE,SAAS,EAAE,oDAAoD,EAAE;QACpJ,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,6EAA6E,EAAE,SAAS,EAAE,uEAAuE,EAAE;QAC3L,CAAC,+BAA+B,CAAC,cAAc,CAAC,EAAE,EAAE,OAAO,EAAE,gDAAgD,EAAE,SAAS,EAAE,uEAAuE,EAAE;QACnM,CAAC,+BAA+B,CAAC,eAAe,CAAC,EAAE,EAAE,OAAO,EAAE,oDAAoD,EAAE,SAAS,EAAE,qEAAqE,EAAE;QACtM,CAAC,+BAA+B,CAAC,cAAc,CAAC,EAAE,EAAE,OAAO,EAAE,oEAAoE,EAAE,SAAS,EAAE,2DAA2D,EAAE;KAC5M;CACF,CAAC,CACH,CAAC","sourcesContent":["import {\n organizationFeaturesAdminResourceUIBehavior as organizationFeaturesAdminSource,\n organizationFeaturesMainResourceUIBehavior as organizationFeaturesMainSource,\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 CoreFeature,\n CoreResourceOperation as Op,\n OrganizationFeatures_Operations,\n ResourcePrimaryScope,\n ScopeFeaturesWithOverridesSchema,\n organizationFeaturesResourceConfiguration_InitializationFactory as organizationFeaturesFactory,\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 Cfg = ReturnType<typeof organizationFeaturesFactory>;\ntype Custom = NonNullable<Cfg['customOperation']>;\ntype Core = Cfg['coreOperations'][number];\ntype Main = Cfg['mainSchema'];\n\nconst organizationFeaturesMainUI = organizationFeaturesMainSource as ResourceUIBehaviorConfig<Custom, Core, Main>;\nconst organizationFeaturesAdminUI = organizationFeaturesAdminSource as ResourceUIBehaviorConfig<Custom, Core, Main>;\n\nconst ORGANIZATION_FEATURE_STATE_EXAMPLE = {\n features: [\n CoreFeature.CUSTOM_BRANDING,\n CoreFeature.SINGLE_SIGN_ON,\n CoreFeature.AUDIT_LOGS,\n CoreFeature.M2M_WEBHOOK_DELIVERY,\n ],\n limits: {\n seats: 250,\n monthlyApiRequests: 1_000_000,\n },\n manualOverrides: {\n addedFeatures: [CoreFeature.M2M_WEBHOOK_DELIVERY],\n removedFeatures: [],\n limitOverrides: { seats: 250 },\n },\n} as const;\n\nconst ORGANIZATION_FEATURE_CONTEXT_EXAMPLE = {\n ...ORGANIZATION_FEATURE_STATE_EXAMPLE,\n organization: { _id: 'org_01JEXAMPLE' },\n} as const;\n\nconst ORGANIZATION_FEATURE_SUMMARY_EXAMPLE = {\n features: ORGANIZATION_FEATURE_STATE_EXAMPLE.features,\n limits: ORGANIZATION_FEATURE_STATE_EXAMPLE.limits,\n} as const;\n\nconst ORGANIZATION_FEATURE_UPDATE_REQUEST_EXAMPLE = {\n manualOverrides: {\n addedFeatures: [CoreFeature.ADVANCED_ANALYTICS, CoreFeature.M2M_WEBHOOK_DELIVERY],\n removedFeatures: [],\n limitOverrides: { seats: 300 },\n },\n} as const;\n\nconst ORGANIZATION_FEATURE_UPDATE_RESPONSE_EXAMPLE = {\n ...ORGANIZATION_FEATURE_STATE_EXAMPLE,\n features: [...ORGANIZATION_FEATURE_STATE_EXAMPLE.features, CoreFeature.ADVANCED_ANALYTICS],\n limits: { ...ORGANIZATION_FEATURE_STATE_EXAMPLE.limits, seats: 300 },\n manualOverrides: ORGANIZATION_FEATURE_UPDATE_REQUEST_EXAMPLE.manualOverrides,\n} as const;\n\nconst ORGANIZATION_FEATURE_DISABLE_RESPONSE_EXAMPLE = {\n ...ORGANIZATION_FEATURE_STATE_EXAMPLE,\n features: ORGANIZATION_FEATURE_STATE_EXAMPLE.features.filter((feature) => feature !== CoreFeature.SINGLE_SIGN_ON),\n manualOverrides: {\n ...ORGANIZATION_FEATURE_STATE_EXAMPLE.manualOverrides,\n removedFeatures: [CoreFeature.SINGLE_SIGN_ON],\n },\n} as const;\n\nconst ORGANIZATION_FEATURE_RESET_RESPONSE_EXAMPLE = {\n features: [CoreFeature.CUSTOM_BRANDING, CoreFeature.SINGLE_SIGN_ON, CoreFeature.AUDIT_LOGS],\n limits: { seats: 200, monthlyApiRequests: 1_000_000 },\n manualOverrides: { addedFeatures: [], removedFeatures: [], limitOverrides: {} },\n} as const;\n\n/**\n * Merged `ORGANIZATION_FEATURES` UI: org members can read entitlements, super-admins\n * can override, toggle, or reset the feature bundle (`organizations.resource-presets.tsx`).\n */\nexport const organizationFeaturesResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n mergeResourceFrontendConfigurations(\n resourceFrontendConfiguration(organizationFeaturesMainUI),\n resourceFrontendConfiguration(organizationFeaturesAdminUI),\n ),\n resourceSpecification(\n organizationFeaturesFactory,\n ScopeFeaturesWithOverridesSchema,\n ({ schemaShape }) => ({\n purpose: 'Current features and numeric limits available to one organization, including explicit application-administrator exceptions.',\n businessRole: 'Lets members and integrations understand organization-level availability while giving application administrators controlled entitlement operations.',\n lifecycleRole: 'Changes when the organization’s plan changes or an application administrator grants, withdraws, or resets an exception.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.FEATURES,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'ScopeFeaturesWithOverridesSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'organizationFeaturesResourceConfiguration_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: 'ORGANIZATION_FEATURES',\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: 'OrganizationFeatures_Operations',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n frontendConfigurationSources: [\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'organizationFeaturesMainResourceUIBehavior',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'organizationFeaturesAdminResourceUIBehavior',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n ],\n },\n fields: {\n // This schema is shared with application and user feature ledgers. Clone\n // every field before adding scope-specific metadata so one specification\n // cannot overwrite another specification's generated descriptions.\n features: schemaShape.features.clone().arraySpec({\n meaning: 'Effective feature keys enabled for this organization. Each is shown as its word (`billing_features.<id>.label`), the identifier while the word is missing.',\n whyItMatters: 'Organization-level capability checks consult this set after plan state and manual overrides are resolved.',\n elementMeaning: 'One framework feature or application-defined entitlement key.',\n elementType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreFeature',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n notes: [\n 'Runtime can union additional custom entitlement feature string keys; `EngineCapability` is not stored here.',\n 'Example `CoreFeature` member: `SINGLE_SIGN_ON` — enterprise IdP and SSO sign-in for the tenant.',\n ],\n },\n }),\n limits: schemaShape.limits.clone().objectSpec({\n meaning: 'Effective numeric caps keyed by feature or meter identifier for this organization. Each key is shown as its word (`billing_limits.<id>.label`), and `-1` (`FEATURES_UNLIMITED`) as unlimited.',\n whyItMatters: 'A feature may be enabled while still carrying a quantity limit such as seats, API requests, or storage.',\n }),\n manualOverrides: schemaShape.manualOverrides.clone().objectSpec({\n meaning: 'Application-administrator additions, removals, and limit changes applied on top of this organization’s plan-derived state.',\n whyItMatters: 'These deliberate exceptions survive plan changes until an administrator replaces or resets them.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n },\n operations: {\n [Op.CREATE]: {\n purpose: 'Repository-only bootstrap of the org feature ledger when a system/admin workflow first materializes it.',\n outcome: 'The organization has a singleton entitlement row to receive billing-derived features and manual overrides.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'The singleton org-feature ledger record was materialized for the tenant.' },\n ],\n // REPOSITORY_ONLY variant — materialized by system/admin workflows, not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: false,\n },\n [Op.READ]: {\n purpose: 'Read the effective feature entitlements and limits for the addressed organization.',\n outcome: 'The caller receives the resolved feature set, numeric limits, and any administrator-authored override delta.',\n whenToUse: 'Use this representation to explain which organization capabilities are available and which quantitative limits currently apply.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The org feature ledger is returned with its effective features, plan limits, and manual overrides.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a member of this organization; the effective entitlements ledger is readable by any organization member (writes remain super-admin-only).' },\n ],\n examples: [{\n title: 'Read organization feature entitlements',\n request: { organizationId: 'org_01JEXAMPLE' },\n response: ORGANIZATION_FEATURE_STATE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n purpose: 'Read effective organization feature state with its organization relationship context.',\n outcome: 'The feature state and related organization identifier are returned together.',\n examples: [{\n title: 'Read organization features with context',\n request: { organizationId: 'org_01JEXAMPLE' },\n response: ORGANIZATION_FEATURE_CONTEXT_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n purpose: 'Read the compact effective feature and limit representation.',\n outcome: 'The resolved feature keys and numeric limits are returned without the administrator override details.',\n examples: [{\n title: 'Read compact organization feature state',\n request: { organizationId: 'org_01JEXAMPLE' },\n response: ORGANIZATION_FEATURE_SUMMARY_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n idempotent: true,\n },\n [Op.SEARCH]: {\n purpose: 'Filter the addressed organization’s feature-state row by an enabled feature key.',\n outcome: 'A paginated result contains the singleton feature-state row when it matches, or an empty page when it does not.',\n whenToUse: 'Use this route when a client needs a collection-shaped eligibility check. Use READ when the complete organization feature state is required regardless of one feature.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of org feature records matching the supplied feature filter.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a member of this organization; the entitlements search is available to organization members.' },\n ],\n examples: [{\n title: 'Filter organization state by enabled SSO feature',\n request: {\n organizationId: 'org_01JEXAMPLE',\n q: 'single sign on',\n features: CoreFeature.SINGLE_SIGN_ON,\n page: 1,\n limit: 20,\n sort: 'features:asc',\n },\n response: {\n data: [ORGANIZATION_FEATURE_STATE_EXAMPLE],\n pagination: { page: 1, limit: 20, total: 1, totalPages: 1 },\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n idempotent: true,\n },\n [Op.UPDATE]: {\n purpose: 'Replace one or more organization feature-state fields through the application-administration API.',\n outcome: 'The updated effective state and override delta are returned, and subsequent capability checks use the new values.',\n whenToUse: 'Use this operation for a coordinated override change involving several feature or limit entries. Use enable, disable, or reset for one explicit administrative action.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The org entitlements document was patched and the updated ledger is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The partial entitlements payload fails `ScopeFeaturesWithOverridesSchema.partial()` validation.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an application super-admin; document-level overrides are high-trust only.' },\n ],\n examples: [{\n title: 'Update organization feature overrides and seat limit',\n request: {\n organizationId: 'org_01JEXAMPLE',\n ...ORGANIZATION_FEATURE_UPDATE_REQUEST_EXAMPLE,\n },\n response: ORGANIZATION_FEATURE_UPDATE_RESPONSE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Repository-only teardown of the org feature ledger when its owning organization is deleted (composition `onParentDelete` cascade).',\n outcome: 'The singleton entitlement row is removed together with the organization — the composition part does not outlive its whole.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The org-feature ledger record was deleted as part of the owning organization’s deletion cascade.' },\n ],\n // REPOSITORY_ONLY variant (super-admin) — invoked by the onParentDelete cascade, not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: true,\n },\n [OrganizationFeatures_Operations.ENABLE_FEATURE]: {\n operationId: OrganizationFeatures_Operations.ENABLE_FEATURE,\n purpose: 'Add one feature to the organization’s manual enablement overrides.',\n outcome: 'The feature is removed from any disable override, added once to the enable override, and the updated feature ledger is returned.',\n whenToUse: 'Use this command for one deliberate entitlement grant. The optional reason lets the caller explain why the change is being requested.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The named feature is now enabled for the org and the updated ledger is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The `featureId` is not a member of `CoreFeature` (the request DTO is enum-constrained, so an unknown key is a validation failure rather than a 404).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an application super-admin; feature enablement is administration-gated.' },\n ],\n // Convergent: enabling an already-enabled feature lands the same end state.\n idempotent: true,\n examples: [\n {\n title: 'Enable advanced analytics for an organization',\n request: {\n organizationId: 'org_01JEXAMPLE',\n featureId: CoreFeature.ADVANCED_ANALYTICS,\n reason: 'Advanced analytics is included in the signed enterprise addendum.',\n },\n response: {\n ...ORGANIZATION_FEATURE_STATE_EXAMPLE,\n features: [...ORGANIZATION_FEATURE_STATE_EXAMPLE.features, CoreFeature.ADVANCED_ANALYTICS],\n manualOverrides: {\n ...ORGANIZATION_FEATURE_STATE_EXAMPLE.manualOverrides,\n addedFeatures: [CoreFeature.M2M_WEBHOOK_DELIVERY, CoreFeature.ADVANCED_ANALYTICS],\n },\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [OrganizationFeatures_Operations.DISABLE_FEATURE]: {\n operationId: OrganizationFeatures_Operations.DISABLE_FEATURE,\n purpose: 'Add one feature to the organization’s manual disablement overrides.',\n outcome: 'The feature is removed from any enable override, added once to the disable override, and the updated feature ledger is returned.',\n whenToUse: 'Use this command for one deliberate entitlement withdrawal. A non-empty reason is required.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The named feature is now disabled for the org and the updated ledger is returned.' },\n ],\n examples: [{\n title: 'Disable organization SSO after contract expiry',\n request: {\n organizationId: 'org_01JEXAMPLE',\n featureId: CoreFeature.SINGLE_SIGN_ON,\n reason: 'The enterprise SSO add-on ended on 2026-08-20.',\n },\n response: ORGANIZATION_FEATURE_DISABLE_RESPONSE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The `featureId` is not a `CoreFeature` member, or the required `reason` justification is missing/empty.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an application super-admin; feature disablement is administration-gated.' },\n ],\n // Convergent: disabling an already-disabled feature lands the same end state.\n idempotent: true,\n },\n [OrganizationFeatures_Operations.RESET_FEATURES]: {\n operationId: OrganizationFeatures_Operations.RESET_FEATURES,\n purpose: 'Clear every manual organization feature and limit override.',\n outcome: 'The feature ledger returns to its plan-derived feature set and limits, and the updated ledger is returned.',\n whenToUse: 'Use this command after a temporary exception ends or when the organization should again follow its plan without manual additions, removals, or limit changes.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'All org manual overrides were cleared, the ledger was re-synced to plan truth, and the result is returned.' },\n ],\n examples: [{\n title: 'Reset organization features to plan-derived state',\n request: {\n organizationId: 'org_01JEXAMPLE',\n reason: 'Temporary migration entitlements are no longer required.',\n },\n response: ORGANIZATION_FEATURE_RESET_RESPONSE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The required `reason` justification is missing or empty.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an application super-admin; clearing overrides is the highest-trust feature operation.' },\n ],\n // Convergent: re-syncing to plan defaults lands the same cleared state on repeat, so this is idempotent despite being a high-risk action.\n idempotent: true,\n },\n },\n businessConstraints: [\n 'ENABLE_FEATURE, DISABLE_FEATURE and RESET_FEATURES record a committed RESOURCE_OPERATION_PERFORMED event with the persisted feature-ledger id, override change and supplied reason. Enable accepts an optional reason; disable and reset require one. Audit history survives later override changes and resets.',\n 'Each organization has one current feature-state record. The search route therefore returns either that matching record or an empty page; it is not a cross-organization feature catalogue.',\n 'Organization feature state and user feature state are separate entitlement layers. A capability may require both scopes to allow it.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n ),\n () => ({\n layout: {\n purpose: 'Show effective entitlements and manual deltas for a tenant without mixing in unrelated billing calculations.',\n displayPurpose: 'Read-only for org members. Two groups: the effective `features` and `limits` in an untitled card (the page title already names it), then the `overrides` section, titled because it is what separates a grant the plan gave from one a person gave. An empty override list reads \"None yet\", which on this pane is the answer. No section shows a description on read.',\n summaryPurpose: 'Compact summary of org-level feature chips and high-signal limit highlights, as bare values.',\n editPurpose: 'Super-admin edit of the ledger, stacked. The `overrides` section keeps its description on the form: that a hand-made override outlives plan changes until reset is the consequence of saving, and no field name says it.',\n sections: {\n overview: {\n purpose: 'Render `features` and `limits` for the org as the engine currently evaluates them.',\n whenToUse: 'Default org-level feature page and billing alignment reviews. Untitled on read; titled on the edit form, where it sits beside `overrides`.',\n textSlots: {\n title: { purpose: 'Label the overview area for the org’s effective entitlements.' },\n },\n },\n overrides: {\n purpose: 'Author `manualOverrides` deltas (add/remove and limit patches) when operators intentionally diverge a tenant from plan truth.',\n whenToUse: 'Break-glass support, contract exceptions, and migration assists.',\n textSlots: {\n title: { purpose: 'Label the manual-override area for the organization.' },\n description: { purpose: 'On the edit form only: state that these persist across billing plan transitions until reset via policy or the RESET operation.' },\n },\n },\n },\n },\n views: {\n [Op.READ]: { purpose: 'Members and admins read effective entitlements in org settings and billing.', whenToUse: 'Plan comparison and support investigations.' },\n [Op.SEARCH]: { purpose: 'Search across feature metadata in merged main behavior.', whenToUse: 'Large shared catalogs in multi-tenant admin hosts.' },\n [Op.UPDATE]: { purpose: 'Super-admin edit of the entitlements document (admin preset adds this key).', whenToUse: 'Manual break-glass grants when billing cannot respond quickly enough.' },\n [OrganizationFeatures_Operations.ENABLE_FEATURE]: { purpose: 'Single-toggle enable UX tied to the custom op.', whenToUse: 'Sales-assist, pilots, and emergency unlocks with narrow blast radius.' },\n [OrganizationFeatures_Operations.DISABLE_FEATURE]: { purpose: 'Single-toggle disable with required reason string.', whenToUse: 'Abuse, license claw-back, and incident response for one capability.' },\n [OrganizationFeatures_Operations.RESET_FEATURES]: { purpose: 'Nuclear option to return to plan defaults after many manual edits.', whenToUse: 'Offboarding a bespoke bundle or after migration mistakes.' },\n },\n }),\n);\n"]}
|
|
1
|
+
{"version":3,"file":"organization-features.resource.specification.js","sourceRoot":"","sources":["../../../../../src/engine/features/resources/organization-features.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2CAA2C,IAAI,+BAA+B,EAC9E,0CAA0C,IAAI,8BAA8B,GAC7E,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,WAAW,EACX,qBAAqB,IAAI,EAAE,EAC3B,+BAA+B,EAC/B,oBAAoB,EACpB,gCAAgC,EAChC,+DAA+D,IAAI,2BAA2B,GAC/F,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,sBAAsB,EACtB,mCAAmC,EACnC,6BAA6B,EAC7B,qBAAqB,EACrB,8CAA8C,GAC/C,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAO3E,MAAM,0BAA0B,GAAG,8BAA8E,CAAC;AAClH,MAAM,2BAA2B,GAAG,+BAA+E,CAAC;AAEpH,MAAM,kCAAkC,GAAG;IACzC,QAAQ,EAAE;QACR,WAAW,CAAC,eAAe;QAC3B,WAAW,CAAC,cAAc;QAC1B,WAAW,CAAC,UAAU;QACtB,WAAW,CAAC,oBAAoB;KACjC;IACD,MAAM,EAAE;QACN,KAAK,EAAE,GAAG;QACV,kBAAkB,EAAE,SAAS;KAC9B;IACD,eAAe,EAAE;Q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I,SAAS,EAAE,kEAAkE;gBAC7E,SAAS,EAAE;oBACT,KAAK,EAAE,EAAE,OAAO,EAAE,sDAAsD,EAAE;oBAC1E,WAAW,EAAE,EAAE,OAAO,EAAE,gIAAgI,EAAE;iBAC3J;aACF;SACF;KACF;IACD,kHAAkH;IAClH,8GAA8G;IAC9G,mHAAmH;IACnH,iHAAiH;IACjH,qHAAqH;IACrH,qHAAqH;IACrH,wEAAwE;IACxE,KAAK,EAAE;QACL,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE;YACT,QAAQ,EAAE;gBACR,OAAO,EAAE,EAAE,OAAO,EAAE,0HAA0H,EAAE,SAAS,EAAE,2DAA2D,EAAE;gBACxN,KAAK,EAAE,EAAE,OAAO,EAAE,mKAAmK,EAAE,SAAS,EAAE,6FAA6F,EAAE;aAClS;SACF;QACD,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,yDAAyD,EAAE,SAAS,EAAE,oDAAoD,EAAE;QACpJ,CAAC,+BAA+B,CAAC,cAAc,CAAC,EAAE;YAChD,QAAQ,EAAE;gBACR,KAAK,EAAE,EAAE,OAAO,EAAE,+HAA+H,EAAE,SAAS,EAAE,uEAAuE,EAAE;aACxO;SACF;QACD,CAAC,+BAA+B,CAAC,eAAe,CAAC,EAAE;YACjD,QAAQ,EAAE;gBACR,KAAK,EAAE,EAAE,OAAO,EAAE,wJAAwJ,EAAE,SAAS,EAAE,qEAAqE,EAAE;aAC/P;SACF;KACF;CACF,CAAC,CACH,CAAC","sourcesContent":["import {\n organizationFeaturesAdminResourceUIBehavior as organizationFeaturesAdminSource,\n organizationFeaturesMainResourceUIBehavior as organizationFeaturesMainSource,\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 CoreFeature,\n CoreResourceOperation as Op,\n OrganizationFeatures_Operations,\n ResourcePrimaryScope,\n ScopeFeaturesWithOverridesSchema,\n organizationFeaturesResourceConfiguration_InitializationFactory as organizationFeaturesFactory,\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 Cfg = ReturnType<typeof organizationFeaturesFactory>;\ntype Custom = NonNullable<Cfg['customOperation']>;\ntype Core = Cfg['coreOperations'][number];\ntype Main = Cfg['mainSchema'];\n\nconst organizationFeaturesMainUI = organizationFeaturesMainSource as ResourceUIBehaviorConfig<Custom, Core, Main>;\nconst organizationFeaturesAdminUI = organizationFeaturesAdminSource as ResourceUIBehaviorConfig<Custom, Core, Main>;\n\nconst ORGANIZATION_FEATURE_STATE_EXAMPLE = {\n features: [\n CoreFeature.CUSTOM_BRANDING,\n CoreFeature.SINGLE_SIGN_ON,\n CoreFeature.AUDIT_LOGS,\n CoreFeature.M2M_WEBHOOK_DELIVERY,\n ],\n limits: {\n seats: 250,\n monthlyApiRequests: 1_000_000,\n },\n manualOverrides: {\n addedFeatures: [CoreFeature.M2M_WEBHOOK_DELIVERY],\n removedFeatures: [],\n limitOverrides: { seats: 250 },\n },\n} as const;\n\nconst ORGANIZATION_FEATURE_CONTEXT_EXAMPLE = {\n ...ORGANIZATION_FEATURE_STATE_EXAMPLE,\n organization: { _id: 'org_01JEXAMPLE' },\n} as const;\n\nconst ORGANIZATION_FEATURE_SUMMARY_EXAMPLE = {\n features: ORGANIZATION_FEATURE_STATE_EXAMPLE.features,\n limits: ORGANIZATION_FEATURE_STATE_EXAMPLE.limits,\n} as const;\n\nconst ORGANIZATION_FEATURE_UPDATE_REQUEST_EXAMPLE = {\n manualOverrides: {\n addedFeatures: [CoreFeature.ADVANCED_ANALYTICS, CoreFeature.M2M_WEBHOOK_DELIVERY],\n removedFeatures: [],\n limitOverrides: { seats: 300 },\n },\n} as const;\n\nconst ORGANIZATION_FEATURE_UPDATE_RESPONSE_EXAMPLE = {\n ...ORGANIZATION_FEATURE_STATE_EXAMPLE,\n features: [...ORGANIZATION_FEATURE_STATE_EXAMPLE.features, CoreFeature.ADVANCED_ANALYTICS],\n limits: { ...ORGANIZATION_FEATURE_STATE_EXAMPLE.limits, seats: 300 },\n manualOverrides: ORGANIZATION_FEATURE_UPDATE_REQUEST_EXAMPLE.manualOverrides,\n} as const;\n\nconst ORGANIZATION_FEATURE_DISABLE_RESPONSE_EXAMPLE = {\n ...ORGANIZATION_FEATURE_STATE_EXAMPLE,\n features: ORGANIZATION_FEATURE_STATE_EXAMPLE.features.filter((feature) => feature !== CoreFeature.SINGLE_SIGN_ON),\n manualOverrides: {\n ...ORGANIZATION_FEATURE_STATE_EXAMPLE.manualOverrides,\n removedFeatures: [CoreFeature.SINGLE_SIGN_ON],\n },\n} as const;\n\nconst ORGANIZATION_FEATURE_RESET_RESPONSE_EXAMPLE = {\n features: [CoreFeature.CUSTOM_BRANDING, CoreFeature.SINGLE_SIGN_ON, CoreFeature.AUDIT_LOGS],\n limits: { seats: 200, monthlyApiRequests: 1_000_000 },\n manualOverrides: { addedFeatures: [], removedFeatures: [], limitOverrides: {} },\n} as const;\n\n/**\n * Merged `ORGANIZATION_FEATURES` UI: org members can read entitlements, super-admins\n * can override, toggle, or reset the feature bundle (`organizations.resource-presets.tsx`).\n */\nexport const organizationFeaturesResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n mergeResourceFrontendConfigurations(\n resourceFrontendConfiguration(organizationFeaturesMainUI),\n resourceFrontendConfiguration(organizationFeaturesAdminUI),\n ),\n resourceSpecification(\n organizationFeaturesFactory,\n ScopeFeaturesWithOverridesSchema,\n ({ schemaShape }) => ({\n purpose: 'Current features and numeric limits available to one organization, including explicit application-administrator exceptions.',\n businessRole: 'Lets members and integrations understand organization-level availability while giving application administrators controlled entitlement operations.',\n lifecycleRole: 'Changes when the organization’s plan changes or an application administrator grants, withdraws, or resets an exception.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.FEATURES,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'ScopeFeaturesWithOverridesSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'organizationFeaturesResourceConfiguration_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: 'ORGANIZATION_FEATURES',\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: 'OrganizationFeatures_Operations',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n frontendConfigurationSources: [\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'organizationFeaturesMainResourceUIBehavior',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'organizationFeaturesAdminResourceUIBehavior',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n ],\n },\n fields: {\n // This schema is shared with application and user feature ledgers. Clone\n // every field before adding scope-specific metadata so one specification\n // cannot overwrite another specification's generated descriptions.\n features: schemaShape.features.clone().arraySpec({\n meaning: 'Effective feature keys enabled for this organization.',\n whyItMatters: 'Organization-level capability checks consult this set after plan state and manual overrides are resolved.',\n elementMeaning: 'One framework feature or application-defined entitlement key.',\n elementType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreFeature',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n notes: [\n 'Runtime can union additional custom entitlement feature string keys; `EngineCapability` is not stored here.',\n 'Example `CoreFeature` member: `SINGLE_SIGN_ON` — enterprise IdP and SSO sign-in for the tenant.',\n ],\n },\n }),\n limits: schemaShape.limits.clone().objectSpec({\n meaning: 'Effective numeric caps keyed by feature or meter identifier for this organization. `-1` means unlimited.',\n whyItMatters: 'A feature may be enabled while still carrying a quantity limit such as seats, API requests, or storage.',\n }),\n manualOverrides: schemaShape.manualOverrides.clone().objectSpec({\n meaning: 'Application-administrator additions, removals, and limit changes applied on top of this organization’s plan-derived state.',\n whyItMatters: 'These deliberate exceptions survive plan changes until an administrator replaces or resets them.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n },\n operations: {\n [Op.CREATE]: {\n purpose: 'Route-less bootstrap of the org feature ledger: the default seed writes it, and so does the system door when an administrator first configures a tenant that has no row (the context-addressed singleton seam).',\n outcome: 'The organization has a singleton entitlement row to receive billing-derived features and manual overrides.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'The singleton org-feature ledger record was materialized for the tenant.' },\n ],\n // INTERNAL_CALL variant (#2695): route-less, and resolvable by `createAsSystem`, which the seam writes through. Not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: false,\n },\n [Op.READ]: {\n purpose: 'Read the effective feature entitlements and limits for the addressed organization. The `admin` variant is the operator\\u2019s read of a tenant they do not belong to (#2316), crossing only under its platform access grant.',\n outcome: 'The caller receives the resolved feature set, numeric limits, and any administrator-authored override delta.',\n whenToUse: 'Use this representation to explain which organization capabilities are available and which quantitative limits currently apply.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The org feature ledger is returned with its effective features, plan limits, and manual overrides.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a member of this organization; the effective entitlements ledger is readable by any organization member (writes remain super-admin-only).' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'On the `admin` variant, a platform super-administrator who holds no usable platform access grant for the tenant, when the tenant has a features row: the crossed read is refused exactly like a missing row. A tenant with no row yet is refused at the collection gate instead (403), as the default variant is.' },\n ],\n examples: [{\n title: 'Read organization feature entitlements',\n request: { organizationId: 'org_01JEXAMPLE' },\n response: ORGANIZATION_FEATURE_STATE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n purpose: 'Read effective organization feature state with its organization relationship context.',\n outcome: 'The feature state and related organization identifier are returned together.',\n examples: [{\n title: 'Read organization features with context',\n request: { organizationId: 'org_01JEXAMPLE' },\n response: ORGANIZATION_FEATURE_CONTEXT_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n purpose: 'Read the compact effective feature and limit representation.',\n outcome: 'The resolved feature keys and numeric limits are returned without the administrator override details.',\n examples: [{\n title: 'Read compact organization feature state',\n request: { organizationId: 'org_01JEXAMPLE' },\n response: ORGANIZATION_FEATURE_SUMMARY_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n idempotent: true,\n },\n [Op.SEARCH]: {\n purpose: 'Filter the addressed organization’s feature-state row by an enabled feature key.',\n outcome: 'A paginated result contains the singleton feature-state row when it matches, or an empty page when it does not.',\n whenToUse: 'Use this route when a client needs a collection-shaped eligibility check. Use READ when the complete organization feature state is required regardless of one feature.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of org feature records matching the supplied feature filter.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a member of this organization; the entitlements search is available to organization members.' },\n ],\n examples: [{\n title: 'Filter organization state by enabled SSO feature',\n request: {\n organizationId: 'org_01JEXAMPLE',\n q: 'single sign on',\n features: CoreFeature.SINGLE_SIGN_ON,\n page: 1,\n limit: 20,\n sort: 'features:asc',\n },\n response: {\n data: [ORGANIZATION_FEATURE_STATE_EXAMPLE],\n pagination: { page: 1, limit: 20, total: 1, totalPages: 1 },\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n idempotent: true,\n },\n [Op.UPDATE]: {\n purpose: 'Replace one or more organization feature-state fields through the application-administration API.',\n outcome: 'The updated effective state and override delta are returned, and subsequent capability checks use the new values.',\n whenToUse: 'Use this operation for a coordinated override change involving several feature or limit entries. Use enable, disable, or reset for one explicit administrative action.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The org entitlements document was patched and the updated ledger is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The partial entitlements payload is not valid.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an application super-admin; document-level overrides are high-trust only.' },\n ],\n examples: [{\n title: 'Update organization feature overrides and seat limit',\n request: {\n organizationId: 'org_01JEXAMPLE',\n ...ORGANIZATION_FEATURE_UPDATE_REQUEST_EXAMPLE,\n },\n response: ORGANIZATION_FEATURE_UPDATE_RESPONSE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Repository-only teardown of the org feature ledger when its owning organization is deleted (composition `onParentDelete` cascade).',\n outcome: 'The singleton entitlement row is removed together with the organization — the composition part does not outlive its whole.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The org-feature ledger record was deleted as part of the owning organization’s deletion cascade.' },\n ],\n // REPOSITORY_ONLY variant (super-admin) — invoked by the onParentDelete cascade, not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: true,\n },\n [OrganizationFeatures_Operations.ENABLE_FEATURE]: {\n operationId: OrganizationFeatures_Operations.ENABLE_FEATURE,\n purpose: 'Add one feature to the organization’s manual enablement overrides. The `admin` variant is the same write by an operator into a tenant they do not belong to (#2316), crossing only under its platform access grant; it is reversible (disabling undoes it), which is why it may cross.',\n outcome: 'The feature is removed from any disable override, added once to the enable override, and the updated feature ledger is returned.',\n whenToUse: 'Use this command for one deliberate entitlement grant. The optional reason lets the caller explain why the change is being requested.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The named feature is now enabled for the org and the updated ledger is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The `featureId` is not a member of `CoreFeature` (the request DTO is enum-constrained, so an unknown key is a validation failure rather than a 404).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an application super-admin; feature enablement is administration-gated. The default variant admits a super-admin only as a MEMBER of the organization, as every per-instance verb does (#2482), and refuses a non-member. On the `admin` variant, a super-admin with no usable platform access grant for the tenant.' },\n ],\n // Convergent: enabling an already-enabled feature lands the same end state.\n idempotent: true,\n examples: [\n {\n title: 'Enable advanced analytics for an organization',\n request: {\n organizationId: 'org_01JEXAMPLE',\n featureId: CoreFeature.ADVANCED_ANALYTICS,\n reason: 'Advanced analytics is included in the signed enterprise addendum.',\n },\n response: {\n ...ORGANIZATION_FEATURE_STATE_EXAMPLE,\n features: [...ORGANIZATION_FEATURE_STATE_EXAMPLE.features, CoreFeature.ADVANCED_ANALYTICS],\n manualOverrides: {\n ...ORGANIZATION_FEATURE_STATE_EXAMPLE.manualOverrides,\n addedFeatures: [CoreFeature.M2M_WEBHOOK_DELIVERY, CoreFeature.ADVANCED_ANALYTICS],\n },\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [OrganizationFeatures_Operations.DISABLE_FEATURE]: {\n operationId: OrganizationFeatures_Operations.DISABLE_FEATURE,\n purpose: 'Add one feature to the organization’s manual disablement overrides. The `admin` variant is the same write by an operator into a tenant they do not belong to (#2316), crossing only under its platform access grant; reversible (enabling undoes it).',\n outcome: 'The feature is removed from any enable override, added once to the disable override, and the updated feature ledger is returned.',\n whenToUse: 'Use this command for one deliberate entitlement withdrawal. A non-empty reason is required.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The named feature is now disabled for the org and the updated ledger is returned.' },\n ],\n examples: [{\n title: 'Disable organization SSO after contract expiry',\n request: {\n organizationId: 'org_01JEXAMPLE',\n featureId: CoreFeature.SINGLE_SIGN_ON,\n reason: 'The enterprise SSO add-on ended on 2026-08-20.',\n },\n response: ORGANIZATION_FEATURE_DISABLE_RESPONSE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The `featureId` is not a `CoreFeature` member, or the required `reason` justification is missing/empty.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an application super-admin; feature disablement is administration-gated. The default variant admits a super-admin only as a MEMBER of the organization, as every per-instance verb does (#2482), and refuses a non-member. On the `admin` variant, a super-admin with no usable platform access grant for the tenant.' },\n ],\n // Convergent: disabling an already-disabled feature lands the same end state.\n idempotent: true,\n },\n [OrganizationFeatures_Operations.RESET_FEATURES]: {\n operationId: OrganizationFeatures_Operations.RESET_FEATURES,\n purpose: 'Clear every manual organization feature and limit override.',\n outcome: 'The feature ledger returns to its plan-derived feature set and limits, and the updated ledger is returned.',\n whenToUse: 'Use this command after a temporary exception ends or when the organization should again follow its plan without manual additions, removals, or limit changes.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'All org manual overrides were cleared, the ledger was re-synced to plan truth, and the result is returned.' },\n ],\n examples: [{\n title: 'Reset organization features to plan-derived state',\n request: {\n organizationId: 'org_01JEXAMPLE',\n reason: 'Temporary migration entitlements are no longer required.',\n },\n response: ORGANIZATION_FEATURE_RESET_RESPONSE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The required `reason` justification is missing or empty.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an application super-admin; clearing overrides is the highest-trust feature operation. A super-admin is admitted only as a MEMBER of the organization (#2482); RESET has no crossed variant, so a platform operator outside the tenant is always refused. It is irreversible: it clears every override the organization holds, limit overrides included, and returns it to its plan. The crossed ENABLE and DISABLE change one feature at a time and leave limits alone, so they do not reach the same state; there is no operator door to a full reset.' },\n ],\n // Convergent: re-syncing to plan defaults lands the same cleared state on repeat, so this is idempotent despite being a high-risk action.\n idempotent: true,\n },\n },\n businessConstraints: [\n 'ENABLE_FEATURE, DISABLE_FEATURE and RESET_FEATURES record a committed RESOURCE_OPERATION_PERFORMED event with the persisted feature-ledger id, override change and supplied reason. Enable accepts an optional reason; disable and reset require one. Audit history survives later override changes and resets.',\n 'Each organization has one current feature-state record. The search route therefore returns either that matching record or an empty page; it is not a cross-organization feature catalogue.',\n 'Organization feature state and user feature state are separate entitlement layers. A capability may require both scopes to allow it.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n ),\n () => ({\n layout: {\n purpose: 'Show effective entitlements and manual deltas for a tenant without mixing in unrelated billing calculations.',\n displayPurpose: 'Read-only for everyone, a platform administrator who is a member included (#2316). Two groups: the effective `features` and `limits` in an untitled card (the page title already names it), then the `overrides` section, titled because it is what separates a grant the plan gave from one a person gave. An empty override list reads \"None yet\", which on this pane is the answer. No section shows a description on read.',\n summaryPurpose: 'Compact summary of org-level feature chips and high-signal limit highlights, as bare values.',\n editPurpose: 'The ledger as a stacked form, declared by the preset but rendered by no surface while UPDATE is API-only (#2316). The `overrides` section would keep its description on it: that a hand-made override outlives plan changes until reset is the consequence of saving, and no field name says it.',\n sections: {\n overview: {\n purpose: 'Render `features` and `limits` for the org as the engine currently evaluates them.',\n whenToUse: 'Default org-level feature page and billing alignment reviews. Untitled on read; titled on the edit form, where it sits beside `overrides`.',\n textSlots: {\n title: { purpose: 'Label the overview area for the org’s effective entitlements.' },\n },\n },\n overrides: {\n purpose: 'Author `manualOverrides` deltas (add/remove and limit patches) when operators intentionally diverge a tenant from plan truth.',\n whenToUse: 'Break-glass support, contract exceptions, and migration assists.',\n textSlots: {\n title: { purpose: 'Label the manual-override area for the organization.' },\n description: { purpose: 'On the edit form only: state that these persist across billing plan transitions until reset via policy or the RESET operation.' },\n },\n },\n },\n },\n // An organization does not manage its entitlements (Paul, 2026-10-02): its own Entitlements page is read-only for\n // everyone, a super-administrator who is a member included (#2316). The operator's crossed `admin` ENABLE and\n // DISABLE are on the tenant directory's page. The default UPDATE, ENABLE, DISABLE and RESET have no view: they are\n // API-only, and admit a super-administrator only as a member of the tenant (#2482). RESET has no crossed variant\n // (irreversible: it clears every override, limit overrides included, and returns the organization to its plan), so a\n // platform operator outside the tenant cannot reset its features. The crossed ENABLE / DISABLE change one feature at\n // a time and leave limits alone; they are not a path to the same state.\n views: {\n [Op.READ]: {\n variants: {\n default: { purpose: 'Members and admins read their organization\\u2019s effective entitlements on Organization \\u2192 Entitlements, read-only.', whenToUse: 'Seeing why a feature is unavailable, and plan comparison.' },\n admin: { purpose: 'An operator\\u2019s read of a tenant\\u2019s entitlements on the tenant directory\\u2019s page for that organization, crossing only under its platform access grant.', whenToUse: 'Support and sales-assist: checking, then enabling or disabling, one tenant\\u2019s features.' },\n },\n },\n [Op.SEARCH]: { purpose: 'Search across feature metadata in merged main behavior.', whenToUse: 'Large shared catalogs in multi-tenant admin hosts.' },\n [OrganizationFeatures_Operations.ENABLE_FEATURE]: {\n variants: {\n admin: { purpose: 'The operator switches one feature on for a tenant they reached, under its grant. Never offered on the tenant\\u2019s own page.', whenToUse: 'Sales-assist, pilots, and emergency unlocks with narrow blast radius.' },\n },\n },\n [OrganizationFeatures_Operations.DISABLE_FEATURE]: {\n variants: {\n admin: { purpose: 'The operator switches one feature off for a tenant they reached, with a required reason, under its grant. Never offered on the tenant\\u2019s own page.', whenToUse: 'Abuse, license claw-back, and incident response for one capability.' },\n },\n },\n },\n }),\n);\n"]}
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import { CoreResourceOperation as Op } from '@wildo-ai/saas-models';
|
|
11
11
|
export declare const userFeaturesResourceSpecification: import("../../../_core").ResourceSpecificationConfig<Record<string, never>, Op.READ | Op.UPDATE | Op.DELETE | Op.CREATE | Op.SEARCH, import("zod").ZodObject<{
|
|
12
|
-
features: import("
|
|
13
|
-
limits: import("
|
|
14
|
-
manualOverrides: import("
|
|
15
|
-
addedFeatures: import("zod").ZodDefault<import("zod").ZodArray<import("
|
|
16
|
-
removedFeatures: import("zod").ZodDefault<import("zod").ZodArray<import("
|
|
17
|
-
limitOverrides: import("zod").ZodDefault<import("zod").ZodRecord<import("
|
|
18
|
-
}, import("zod/v4/core").$strip
|
|
12
|
+
features: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").CoreFeature>, import("zod").ZodString]>>>;
|
|
13
|
+
limits: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodNumber>>;
|
|
14
|
+
manualOverrides: import("zod").ZodDefault<import("zod").ZodObject<{
|
|
15
|
+
addedFeatures: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>;
|
|
16
|
+
removedFeatures: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>;
|
|
17
|
+
limitOverrides: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodNumber>>;
|
|
18
|
+
}, import("zod/v4/core").$strip>>;
|
|
19
19
|
}, import("zod/v4/core").$strip>>;
|
|
20
20
|
//# sourceMappingURL=user-features.resource.specification.d.ts.map
|
|
@@ -69,7 +69,7 @@ export const userFeaturesResourceSpecification = resourceSpecificationFromFronte
|
|
|
69
69
|
},
|
|
70
70
|
fields: {
|
|
71
71
|
features: schemaShape.features.clone().arraySpec({
|
|
72
|
-
meaning: 'Boolean feature switches currently enabled for this user (
|
|
72
|
+
meaning: 'Boolean feature switches currently enabled for this user (features the framework defines and features the application declares).',
|
|
73
73
|
whyItMatters: 'Feature gates across the product consult this set when evaluating user-level entitlements.',
|
|
74
74
|
elementMeaning: 'One feature key — an engine feature enum member, a connector capability, or a tenant-specific string key.',
|
|
75
75
|
elementType: {
|
|
@@ -86,7 +86,7 @@ export const userFeaturesResourceSpecification = resourceSpecificationFromFronte
|
|
|
86
86
|
},
|
|
87
87
|
}),
|
|
88
88
|
limits: schemaShape.limits.clone().objectSpec({
|
|
89
|
-
meaning: 'Numeric caps keyed by feature identifier
|
|
89
|
+
meaning: 'Numeric caps keyed by feature identifier. `-1` means unlimited.',
|
|
90
90
|
whyItMatters: 'Distinguishes “feature on” from “how much of it” (seats, API units, etc.).',
|
|
91
91
|
}),
|
|
92
92
|
manualOverrides: schemaShape.manualOverrides.clone().objectSpec({
|
|
@@ -139,7 +139,7 @@ export const userFeaturesResourceSpecification = resourceSpecificationFromFronte
|
|
|
139
139
|
{ code: HttpResponseStatusCode.OK_200, meaning: 'The user’s entitlements were overridden and the updated ledger is returned.' },
|
|
140
140
|
],
|
|
141
141
|
errorScenarios: [
|
|
142
|
-
{ code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The entitlements payload
|
|
142
|
+
{ code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The entitlements payload is not valid.' },
|
|
143
143
|
// UPDATE is an APP_ADMIN_SUPER_ADMIN API call (unlike the ORG_MEMBER reads), so a non-admin caller is forbidden (403).
|
|
144
144
|
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an application super-admin; overriding a user’s entitlements is high-trust.' },
|
|
145
145
|
],
|
|
@@ -156,7 +156,7 @@ export const userFeaturesResourceSpecification = resourceSpecificationFromFronte
|
|
|
156
156
|
},
|
|
157
157
|
},
|
|
158
158
|
businessConstraints: [
|
|
159
|
-
'The registry anchors `USER_FEATURES` under `USERS` with a one-to-one STANDALONE composition rel — the declared `resourcePrimaryScope` is `
|
|
159
|
+
'The registry anchors `USER_FEATURES` under `USERS` with a one-to-one STANDALONE composition rel — the declared `resourcePrimaryScope` is `user_self` to match the factory’s self-anchor, not a free-floating application catalog record.',
|
|
160
160
|
'Elements in `features` are entitlement feature ids. Provider-backed runtime needs live in `engineCapabilities`, not in this resource.',
|
|
161
161
|
],
|
|
162
162
|
}), { resourcePrimaryScope: ResourcePrimaryScope.USER_SELF }), () => ({
|