@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/flows-actors/resources/operation-approval-requests.resource.specification.js
ADDED
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Resource: `operationApprovalRequests` — Wildo SaaS engine specification (organization-scoped, engine-written). #2288.
|
|
3
|
+
*
|
|
4
|
+
* Inputs:
|
|
5
|
+
* - Schema: `OperationApprovalRequestSchema` (`flows-actors/operation-approval-requests.shared.schemas.ts`)
|
|
6
|
+
* - Factory: `operationApprovalRequestsResourceConfiguration_InitializationFactory`
|
|
7
|
+
* - Writers: the hold (`OperationApprovalHoldBackendService`, a system create), the `settle` and `withdraw` verbs
|
|
8
|
+
* (`operation-approval-request-custom-implementation.backend.service.ts`), and the deadline sweep's reminder markers.
|
|
9
|
+
* - Readers: the organization's administrator (READ, LIST), the requester (`listMine`), the decision host.
|
|
10
|
+
*
|
|
11
|
+
* Why a held request is a row, and who is held, is the schema file's header; it is not restated here.
|
|
12
|
+
*/
|
|
13
|
+
import { LabelAudience } from '@wildo-ai/presets-components-models';
|
|
14
|
+
import { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance } from '@wildo-ai/zod-decorators';
|
|
15
|
+
import { HumanDecision_RouteKind, CoreResourceOperation as Op, HumanDecision_RequesterKind, OperationApprovalRequestFailureReason, OperationApprovalRequestSchema, OperationApprovalRequestStatus, OperationApprovalRequests_Operations, ResourcePrimaryScope, ReviewClockBasis, operationApprovalRequestsResourceConfiguration_InitializationFactory as operationApprovalRequestsFactory, } from '@wildo-ai/saas-models';
|
|
16
|
+
import { HttpResponseStatusCode, resourceSpecification } from '../../../_core/index.js';
|
|
17
|
+
import { EngineResourceSubDomain } from '../../engine-resource-sub-domain.js';
|
|
18
|
+
const enumDeclaration = (exportName) => ({
|
|
19
|
+
packageName: '@wildo-ai/saas-models',
|
|
20
|
+
exportName,
|
|
21
|
+
symbolKind: CodeSymbolKind.ENUM,
|
|
22
|
+
declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,
|
|
23
|
+
});
|
|
24
|
+
export const operationApprovalRequestsResourceSpecification = resourceSpecification(operationApprovalRequestsFactory, OperationApprovalRequestSchema, ({ schemaShape }) => ({
|
|
25
|
+
purpose: 'Hold an operation a person asked for until another person approves it, and record how it ended.',
|
|
26
|
+
businessRole: 'The maker-checker control: an operation declared to need approval (a supplier activated, a refund above a threshold) takes effect only once someone other than its requester, holding the declared role, approves it.',
|
|
27
|
+
lifecycleRole: 'Created PENDING by the engine when a person calls an operation that requires approval; ended APPLIED, FAILED or REJECTED by an approver\'s answer, LAPSED by its clock, or WITHDRAWN by its requester, or by the erasure of its requester or the purge of its organization while it waited; kept for the audit retention period and deleted with its organization.',
|
|
28
|
+
audience: LabelAudience.DEVELOPER,
|
|
29
|
+
subDomain: EngineResourceSubDomain.FLOWS_ACTORS,
|
|
30
|
+
codeHandling: {
|
|
31
|
+
mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'OperationApprovalRequestSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },
|
|
32
|
+
resourceFactory: { packageName: '@wildo-ai/saas-models', exportName: 'operationApprovalRequestsResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION },
|
|
33
|
+
resourceType: { enumDeclaration: enumDeclaration('CoreResourceType'), memberName: 'OPERATION_APPROVAL_REQUESTS' },
|
|
34
|
+
operationVocabulary: { coreEnum: enumDeclaration('CoreResourceOperation'), customEnum: enumDeclaration('OperationApprovalRequests_Operations') },
|
|
35
|
+
notes: [
|
|
36
|
+
'A request is created by the engine\'s hold, never by a client: CREATE and UPDATE are INTERNAL_CALL (the hold, and the sweep\'s reminder markers), UPDATE_MANY and DELETE are the retention and purge plumbing.',
|
|
37
|
+
'The decision is answered from the one decision inbox (`HumanDecision_Plane.OPERATION_APPROVAL`), never through this resource.',
|
|
38
|
+
'`settle` runs the approved operation and records it APPLIED in one transaction, so of two approvers answering at once only one applies it.',
|
|
39
|
+
],
|
|
40
|
+
},
|
|
41
|
+
fields: {
|
|
42
|
+
_id: schemaShape._id.stringSpec({ meaning: 'Identity of the held request.', semanticRole: 'identifier' }),
|
|
43
|
+
organizationId: schemaShape.organizationId.foreignKeySpec({
|
|
44
|
+
meaning: 'The organization the operation was asked in.',
|
|
45
|
+
whyItMatters: 'Its approvers hold the declared role in this organization, and the request is deleted with it.',
|
|
46
|
+
importance: FieldSemanticImportance.PRIMARY,
|
|
47
|
+
}),
|
|
48
|
+
status: schemaShape.status.enumSpec({
|
|
49
|
+
meaning: 'Where the request stands.',
|
|
50
|
+
importance: FieldSemanticImportance.PRIMARY,
|
|
51
|
+
enumDeclaration: enumDeclaration('OperationApprovalRequestStatus'),
|
|
52
|
+
values: {
|
|
53
|
+
[OperationApprovalRequestStatus.PENDING]: { meaning: 'Waiting for an approver\'s answer. Nothing has been applied.' },
|
|
54
|
+
[OperationApprovalRequestStatus.APPLIED]: { meaning: 'Approved, and the operation ran with the requester\'s authority.' },
|
|
55
|
+
[OperationApprovalRequestStatus.REJECTED]: { meaning: 'An approver refused it. Nothing was applied.' },
|
|
56
|
+
[OperationApprovalRequestStatus.LAPSED]: { meaning: 'Nobody answered before it lapsed. Nothing was applied, and nobody decided.' },
|
|
57
|
+
[OperationApprovalRequestStatus.WITHDRAWN]: { meaning: 'The requester took it back before anyone answered, or the requester was erased, or the organization purged, while it waited. Nothing was applied.' },
|
|
58
|
+
[OperationApprovalRequestStatus.FAILED]: { meaning: 'Approved, and the operation then could not run. Nothing was applied.' },
|
|
59
|
+
},
|
|
60
|
+
}),
|
|
61
|
+
decisionId: schemaShape.decisionId.stringSpec({ meaning: 'The decision its approvers answer.', whyItMatters: 'The one key the decision is read and settled by: an answer can only settle the request it was given.', semanticRole: 'identifier' }),
|
|
62
|
+
resourceType: schemaShape.resourceType.stringSpec({ meaning: 'The resource the held operation belongs to.', semanticRole: 'code', importance: FieldSemanticImportance.PRIMARY }),
|
|
63
|
+
operationIdentifier: schemaShape.operationIdentifier.stringSpec({ meaning: 'The held operation.', semanticRole: 'code', importance: FieldSemanticImportance.PRIMARY }),
|
|
64
|
+
variantKey: schemaShape.variantKey.stringSpec({ meaning: 'The held variant, when it is not the operation\'s default.', semanticRole: 'code' }),
|
|
65
|
+
operationPathKey: schemaShape.operationPathKey.stringSpec({ meaning: 'The held variant\'s canonical operation path.', whyItMatters: 'What the approval runs, exactly: never the operation\'s default variant.', semanticRole: 'code' }),
|
|
66
|
+
targetRecordId: schemaShape.targetRecordId.stringSpec({ meaning: 'The record the operation acts on. Absent for a create.', semanticRole: 'identifier' }),
|
|
67
|
+
targetVersion: schemaShape.targetVersion.numberSpec({ meaning: 'The version of that record the requester saw.', whyItMatters: 'The approval runs the operation only over this version, so an approver never approves a change on top of edits made after the request.' }),
|
|
68
|
+
requestScopeIds: schemaShape.requestScopeIds.objectSpec({
|
|
69
|
+
meaning: 'The scope ids the operation was addressed with when it was asked: the organization, and any parent record the resource is nested under, keyed by field identifier.',
|
|
70
|
+
whyItMatters: 'The approval addresses the operation with exactly these, so a nested resource runs under the same parent it was asked under.',
|
|
71
|
+
}),
|
|
72
|
+
requestPayload: schemaShape.requestPayload.stringSpec({
|
|
73
|
+
meaning: 'The operation\'s request body as the requester sent it. Backend-only.',
|
|
74
|
+
whyItMatters: 'Shown to the approver on the decision card and applied when they approve; cleared once the request ends, since the operation that ran is the record of what was applied.',
|
|
75
|
+
}),
|
|
76
|
+
requesterKind: schemaShape.requesterKind.enumSpec({
|
|
77
|
+
meaning: 'How the requester asked.',
|
|
78
|
+
enumDeclaration: enumDeclaration('HumanDecision_RequesterKind'),
|
|
79
|
+
values: {
|
|
80
|
+
[HumanDecision_RequesterKind.USER]: { meaning: 'Signed in themselves.' },
|
|
81
|
+
[HumanDecision_RequesterKind.DELEGATED_CLIENT]: { meaning: 'Through a client they delegated to (an A2A or MCP client); the delegation must still hold when the operation runs.' },
|
|
82
|
+
[HumanDecision_RequesterKind.MACHINE]: { meaning: 'Never held: a machine principal\'s call to an operation that requires approval is refused.' },
|
|
83
|
+
},
|
|
84
|
+
}),
|
|
85
|
+
requesterUserId: schemaShape.requesterUserId.foreignKeySpec({ meaning: 'The person who asked.', whyItMatters: 'Never an approver of their own request, and the authority the operation runs with when it is approved.', importance: FieldSemanticImportance.PRIMARY }),
|
|
86
|
+
requesterClientId: schemaShape.requesterClientId.stringSpec({ meaning: 'The delegated client a request came through.', semanticRole: 'identifier' }),
|
|
87
|
+
requesterThroughRelationshipIds: schemaShape.requesterThroughRelationshipIds.arraySpec({
|
|
88
|
+
meaning: 'The organization relationships the requester stood through when they asked.',
|
|
89
|
+
elementMeaning: 'One relationship id.',
|
|
90
|
+
whyItMatters: 'The operation runs only while the requester still stands through exactly these.',
|
|
91
|
+
}),
|
|
92
|
+
eligibleRole: schemaShape.eligibleRole.stringSpec({ meaning: 'The role an approver holds, as the operation declared it when the request was held.', semanticRole: 'code' }),
|
|
93
|
+
requiredQualificationKinds: schemaShape.requiredQualificationKinds.arraySpec({
|
|
94
|
+
meaning: 'The professional qualifications an approver must also hold, as the operation declared them when the request was held (#2967).',
|
|
95
|
+
elementMeaning: 'One kind the application declares in professionalQualificationKinds.',
|
|
96
|
+
whyItMatters: 'Read when each approver acts: someone holding the role but no valid qualification of every kind may neither approve nor take the request.',
|
|
97
|
+
}),
|
|
98
|
+
stepUpRequirement: schemaShape.stepUpRequirement.objectSpec({
|
|
99
|
+
meaning: 'The step-up an answer must carry, as the operation declared it when the request was held (#2923): how fresh the factor and how strong. Absent when none is required.',
|
|
100
|
+
whyItMatters: 'The answer and the decision card read this copy, not the live declaration, so a declaration changed or removed while the request waits does not change what answering it requires.',
|
|
101
|
+
}),
|
|
102
|
+
answerChannels: schemaShape.answerChannels.arraySpec({
|
|
103
|
+
meaning: 'The channels that may answer the request, as the operation declared them when it was held (#2923). Absent: every channel its other requirements allow.',
|
|
104
|
+
elementType: { enumDeclaration: enumDeclaration('HumanDecision_AnswerChannel') },
|
|
105
|
+
elementMeaning: 'One answering channel: the application\'s own session, a chat card, or a client the approver delegated to.',
|
|
106
|
+
whyItMatters: 'An answer through any other channel is refused and the request keeps waiting; a chat card links to it in the application instead.',
|
|
107
|
+
}),
|
|
108
|
+
routeKind: schemaShape.routeKind.enumSpec({
|
|
109
|
+
meaning: 'Who holds the request now.',
|
|
110
|
+
whyItMatters: 'Only a person the route admits may answer or move it; it moves only by a compare-and-swap on `routeVersion`.',
|
|
111
|
+
enumDeclaration: enumDeclaration('HumanDecision_RouteKind'),
|
|
112
|
+
values: {
|
|
113
|
+
[HumanDecision_RouteKind.ROLE]: { meaning: 'Everyone holding the eligible role in the organization; any of them may take it.' },
|
|
114
|
+
[HumanDecision_RouteKind.ASSIGNEE]: { meaning: 'One person, named by the declared resolver, a claim, a reassignment or an escalation.' },
|
|
115
|
+
[HumanDecision_RouteKind.OWNER]: { meaning: 'Never used by an operation approval: its requester may not approve it.' },
|
|
116
|
+
},
|
|
117
|
+
}),
|
|
118
|
+
assigneeUserId: schemaShape.assigneeUserId.stringSpec({ meaning: 'The one person holding the request on an assignee route.', whyItMatters: 'Kept as evidence of who held it; always holds the eligible role and is never the requester.', semanticRole: 'identifier' }),
|
|
119
|
+
claimedAt: schemaShape.claimedAt.dateSpec({ meaning: 'When the current holder took the request from the role.', temporalRole: 'occurred' }),
|
|
120
|
+
routeVersion: schemaShape.routeVersion.numberSpec({ meaning: 'How many times the route moved.', whyItMatters: 'Every move is a compare-and-swap on it, so two moves at once never both land.' }),
|
|
121
|
+
requestedAt: schemaShape.requestedAt.dateSpec({ meaning: 'When the requester asked.', temporalRole: 'occurred' }),
|
|
122
|
+
lapseAt: schemaShape.lapseAt.dateSpec({ meaning: 'When the request lapses, applying nothing, if nobody has answered it.', temporalRole: 'scheduled' }),
|
|
123
|
+
decisionDeadlineAt: schemaShape.decisionDeadlineAt.dateSpec({ meaning: 'The service target by which an approver is expected to answer.', temporalRole: 'scheduled' }),
|
|
124
|
+
decisionWarningAt: schemaShape.decisionWarningAt.dateSpec({ meaning: 'When the approvers are warned that the target is near, when the operation declares a warning.', temporalRole: 'scheduled' }),
|
|
125
|
+
decisionClockBasis: schemaShape.decisionClockBasis.enumSpec({
|
|
126
|
+
meaning: 'How the answer target is counted.',
|
|
127
|
+
enumDeclaration: enumDeclaration('ReviewClockBasis'),
|
|
128
|
+
values: {
|
|
129
|
+
[ReviewClockBasis.ELAPSED]: { meaning: 'Wall-clock time.' },
|
|
130
|
+
[ReviewClockBasis.CALENDAR]: { meaning: 'Working hours of the application\'s review calendar.' },
|
|
131
|
+
},
|
|
132
|
+
}),
|
|
133
|
+
decisionWarningFiredAt: schemaShape.decisionWarningFiredAt.dateSpec({ meaning: 'When the warning reminder fired. Backend-only.', whyItMatters: 'Set once by a compare-and-swap, so a reminder fires once across hosts.', temporalRole: 'occurred' }),
|
|
134
|
+
decisionMissedFiredAt: schemaShape.decisionMissedFiredAt.dateSpec({ meaning: 'When the missed-target reminder fired. Backend-only.', whyItMatters: 'Set once by a compare-and-swap, so a reminder fires once across hosts.', temporalRole: 'occurred' }),
|
|
135
|
+
claimDeadlineAt: schemaShape.claimDeadlineAt.dateSpec({ meaning: 'The service target by which someone holding the role is expected to take the request. Absent on a request routed to one person.', temporalRole: 'scheduled' }),
|
|
136
|
+
claimWarningAt: schemaShape.claimWarningAt.dateSpec({ meaning: 'When the role\'s holders are warned that the take target is near, when the operation declares a warning.', temporalRole: 'scheduled' }),
|
|
137
|
+
claimClockBasis: schemaShape.claimClockBasis.enumSpec({
|
|
138
|
+
meaning: 'How the take target is counted.',
|
|
139
|
+
enumDeclaration: enumDeclaration('ReviewClockBasis'),
|
|
140
|
+
values: {
|
|
141
|
+
[ReviewClockBasis.ELAPSED]: { meaning: 'Wall-clock time.' },
|
|
142
|
+
[ReviewClockBasis.CALENDAR]: { meaning: 'Working hours of the application\'s review calendar.' },
|
|
143
|
+
},
|
|
144
|
+
}),
|
|
145
|
+
claimWarningFiredAt: schemaShape.claimWarningFiredAt.dateSpec({ meaning: 'When the take-target warning fired. Backend-only.', whyItMatters: 'Set once by a compare-and-swap, so a reminder fires once across hosts.', temporalRole: 'occurred' }),
|
|
146
|
+
claimMissedFiredAt: schemaShape.claimMissedFiredAt.dateSpec({ meaning: 'When the missed take-target reminder fired. Backend-only.', whyItMatters: 'Set once by a compare-and-swap, so a reminder fires once across hosts.', temporalRole: 'occurred' }),
|
|
147
|
+
nextDueAt: schemaShape.nextDueAt.dateSpec({ meaning: 'The earliest of the lapse and any reminder still to fire. Backend-only.', whyItMatters: 'What the deadline sweep selects pending requests by.', temporalRole: 'scheduled' }),
|
|
148
|
+
resolvedAt: schemaShape.resolvedAt.dateSpec({ meaning: 'When the request ended.', whyItMatters: 'The retention period runs from here.', temporalRole: 'occurred' }),
|
|
149
|
+
decidedByUserId: schemaShape.decidedByUserId.stringSpec({ meaning: 'The approver who answered. Absent for a lapse or a withdrawal: nobody decided.', semanticRole: 'identifier' }),
|
|
150
|
+
failureReason: schemaShape.failureReason.enumSpec({
|
|
151
|
+
meaning: 'Why an approved request applied nothing.',
|
|
152
|
+
enumDeclaration: enumDeclaration('OperationApprovalRequestFailureReason'),
|
|
153
|
+
values: {
|
|
154
|
+
[OperationApprovalRequestFailureReason.REQUESTER_AUTHORITY_LAPSED]: { meaning: 'The requester no longer holds the authority the operation needs.' },
|
|
155
|
+
[OperationApprovalRequestFailureReason.OPERATION_REFUSED]: { meaning: 'The operation refused when it ran: the request no longer validates, the record changed, a value is taken, or a rule refused.' },
|
|
156
|
+
},
|
|
157
|
+
}),
|
|
158
|
+
appliedRecordId: schemaShape.appliedRecordId.stringSpec({ meaning: 'The record the approved operation produced or changed.', semanticRole: 'identifier' }),
|
|
159
|
+
createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the request was held.', temporalRole: 'creation' }),
|
|
160
|
+
updatedAt: schemaShape.updatedAt.dateSpec({ meaning: 'When the request last changed.', temporalRole: 'modified' }),
|
|
161
|
+
},
|
|
162
|
+
operations: {
|
|
163
|
+
[Op.READ]: {
|
|
164
|
+
purpose: 'Inspect one held request: the operation, its requester, where it stands and how it ended.',
|
|
165
|
+
outcome: 'The organization\'s administrator can see what was asked for, by whom, and who approved it.',
|
|
166
|
+
idempotent: true,
|
|
167
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The request was found.' }],
|
|
168
|
+
errorScenarios: [
|
|
169
|
+
{ code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No request with this id exists in this organization.' },
|
|
170
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not the organization\'s administrator.' },
|
|
171
|
+
],
|
|
172
|
+
},
|
|
173
|
+
[Op.LIST]: {
|
|
174
|
+
purpose: 'Browse the organization\'s held requests.',
|
|
175
|
+
outcome: 'The organization\'s administrator can follow every request made in it.',
|
|
176
|
+
idempotent: true,
|
|
177
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of requests.' }],
|
|
178
|
+
errorScenarios: [{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not the organization\'s administrator.' }],
|
|
179
|
+
},
|
|
180
|
+
[Op.COUNT]: {
|
|
181
|
+
purpose: 'Count the organization\'s held requests.',
|
|
182
|
+
outcome: 'The organization\'s administrator can size the queue.',
|
|
183
|
+
idempotent: true,
|
|
184
|
+
},
|
|
185
|
+
[Op.CREATE]: {
|
|
186
|
+
purpose: 'Record a held request. Internal write path: the engine\'s hold, never a client.',
|
|
187
|
+
outcome: 'The request waits for an approver, and its decision is in their inbox.',
|
|
188
|
+
},
|
|
189
|
+
[Op.UPDATE]: {
|
|
190
|
+
purpose: 'Mark a reminder as fired. Internal write path: the deadline sweep.',
|
|
191
|
+
outcome: 'The reminder fires once.',
|
|
192
|
+
},
|
|
193
|
+
[Op.UPDATE_MANY]: {
|
|
194
|
+
purpose: 'Internal retention plumbing: the impersonalize writer.',
|
|
195
|
+
outcome: 'A requester\'s erasure removes the stored request body and keeps the record, ending a pending request WITHDRAWN first.',
|
|
196
|
+
},
|
|
197
|
+
[Op.DELETE]: {
|
|
198
|
+
purpose: 'Internal cleanup: the organization purge.',
|
|
199
|
+
outcome: 'The request is removed with its organization.',
|
|
200
|
+
idempotent: true,
|
|
201
|
+
},
|
|
202
|
+
[OperationApprovalRequests_Operations.LIST_MINE]: {
|
|
203
|
+
operationId: OperationApprovalRequests_Operations.LIST_MINE,
|
|
204
|
+
purpose: 'List the caller\'s own held requests in the organization, newest first.',
|
|
205
|
+
outcome: 'A requester can follow their requests: which wait, which were applied, refused, lapsed or failed.',
|
|
206
|
+
whenToUse: 'Use after an operation answered 202: the answer names the request, and this lists it with the others.',
|
|
207
|
+
importance: FieldSemanticImportance.PRIMARY,
|
|
208
|
+
idempotent: true,
|
|
209
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of the caller\'s requests.' }],
|
|
210
|
+
errorScenarios: [{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a person (a machine credential has no requests of its own).' }],
|
|
211
|
+
},
|
|
212
|
+
[OperationApprovalRequests_Operations.WITHDRAW]: {
|
|
213
|
+
operationId: OperationApprovalRequests_Operations.WITHDRAW,
|
|
214
|
+
purpose: 'Take back a request nobody has answered.',
|
|
215
|
+
outcome: 'The request ends WITHDRAWN and its decision leaves the approvers\' inbox. Nothing is applied.',
|
|
216
|
+
whenToUse: 'Use when the requester no longer wants the operation. Only the requester can, and only while it waits.',
|
|
217
|
+
idempotent: false,
|
|
218
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The request was withdrawn; the updated request is returned.' }],
|
|
219
|
+
errorScenarios: [
|
|
220
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not the request\'s requester.' },
|
|
221
|
+
{ code: HttpResponseStatusCode.CONFLICT_409, when: 'The request was already answered, withdrawn or lapsed.' },
|
|
222
|
+
],
|
|
223
|
+
},
|
|
224
|
+
[OperationApprovalRequests_Operations.SETTLE]: {
|
|
225
|
+
operationId: OperationApprovalRequests_Operations.SETTLE,
|
|
226
|
+
purpose: 'End a request: run the approved operation and record it APPLIED, or record it REJECTED, LAPSED or FAILED. Internal: reached from the decision inbox after the approver was authorized, and from the deadline sweep.',
|
|
227
|
+
outcome: 'The request ends, and an approved operation has run exactly once with its requester\'s authority.',
|
|
228
|
+
idempotent: false,
|
|
229
|
+
},
|
|
230
|
+
},
|
|
231
|
+
businessConstraints: [
|
|
232
|
+
'The requester can never approve their own request; an approver holds the declared role in the request\'s organization when they answer.',
|
|
233
|
+
'An approved operation runs with the requester\'s authority as it stands at approval, over the record version they saw, and only once.',
|
|
234
|
+
'A rejection, a lapse, a withdrawal or a failure applies nothing.',
|
|
235
|
+
'Once a request ends, its requester is told how, in-app and by email, naming the operation by its title and never its values; a withdrawal tells them nothing, because they did it.',
|
|
236
|
+
'A machine principal\'s call to an operation that requires approval is refused, never held.',
|
|
237
|
+
'Every request belongs to an organization and is deleted with it.',
|
|
238
|
+
],
|
|
239
|
+
}), { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS });
|
|
240
|
+
//# sourceMappingURL=operation-approval-requests.resource.specification.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operation-approval-requests.resource.specification.js","sourceRoot":"","sources":["../../../../../src/engine/flows-actors/resources/operation-approval-requests.resource.specification.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACxG,OAAO,EACL,uBAAuB,EACvB,qBAAqB,IAAI,EAAE,EAC3B,2BAA2B,EAC3B,qCAAqC,EACrC,8BAA8B,EAC9B,8BAA8B,EAC9B,oCAAoC,EACpC,oBAAoB,EACpB,gBAAgB,EAChB,oEAAoE,IAAI,gCAAgC,GACzG,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAuC,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACjI,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAE3E,MAAM,eAAe,GAAG,CAAC,UAAkB,EAAE,EAAE,CAAC,CAAC;IAC/C,WAAW,EAAE,uBAAuB;IACpC,UAAU;IACV,UAAU,EAAE,cAAc,CAAC,IAAI;IAC/B,eAAe,EAAE,mBAAmB,CAAC,eAAe;CACrD,CAAC,CAAC;AAEH,MAAM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AAU,EAAE,IAAI;YAChB,gBAAgB,EAAE,CAAC,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,EAAE,OAAO,EAAE,oDAAoD,EAAE,CAAC;YAC1H,cAAc,EAAE,CAAC,EAAE,IAAI,EAAE,sBAAsB,CAAC,aAAa,EAAE,IAAI,EAAE,+EAA+E,EAAE,CAAC;SACxJ;QACD,CAAC,oCAAoC,CAAC,QAAQ,CAAC,EAAE;YAC/C,WAAW,EAAE,oCAAoC,CAAC,QAAQ;YAC1D,OAAO,EAAE,0CAA0C;YACnD,OAAO,EAAE,+FAA+F;YACxG,SAAS,EAAE,wGAAwG;YACnH,UAAU,EAAE,KAAK;YACjB,gBAAgB,EAAE,CAAC,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,EAAE,OAAO,EAAE,6DAA6D,EAAE,CAAC;YACnI,cAAc,EAAE;gBACd,EAAE,IAAI,EAAE,sBAAsB,CAAC,aAAa,EAAE,IAAI,EAAE,6CAA6C,EAAE;gBACnG,EAAE,IAAI,EAAE,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,wDAAwD,EAAE;aAC9G;SACF;QACD,CAAC,oCAAoC,CAAC,MAAM,CAAC,EAAE;YAC7C,WAAW,EAAE,oCAAoC,CAAC,MAAM;YACxD,OAAO,EAAE,qNAAqN;YAC9N,OAAO,EAAE,mGAAmG;YAC5G,UAAU,EAAE,KAAK;SAClB;KACF;IAED,mBAAmB,EAAE;QACnB,yIAAyI;QACzI,uIAAuI;QACvI,kEAAkE;QAClE,oLAAoL;QACpL,4FAA4F;QAC5F,kEAAkE;KACnE;CACF,CAAC,EACF,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,aAAa,EAAE,CAC7D,CAAC","sourcesContent":["/**\n * Resource: `operationApprovalRequests` — Wildo SaaS engine specification (organization-scoped, engine-written). #2288.\n *\n * Inputs:\n * - Schema: `OperationApprovalRequestSchema` (`flows-actors/operation-approval-requests.shared.schemas.ts`)\n * - Factory: `operationApprovalRequestsResourceConfiguration_InitializationFactory`\n * - Writers: the hold (`OperationApprovalHoldBackendService`, a system create), the `settle` and `withdraw` verbs\n * (`operation-approval-request-custom-implementation.backend.service.ts`), and the deadline sweep's reminder markers.\n * - Readers: the organization's administrator (READ, LIST), the requester (`listMine`), the decision host.\n *\n * Why a held request is a row, and who is held, is the schema file's header; it is not restated here.\n */\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance } from '@wildo-ai/zod-decorators';\nimport {\n HumanDecision_RouteKind,\n CoreResourceOperation as Op,\n HumanDecision_RequesterKind,\n OperationApprovalRequestFailureReason,\n OperationApprovalRequestSchema,\n OperationApprovalRequestStatus,\n OperationApprovalRequests_Operations,\n ResourcePrimaryScope,\n ReviewClockBasis,\n operationApprovalRequestsResourceConfiguration_InitializationFactory as operationApprovalRequestsFactory,\n} from '@wildo-ai/saas-models';\nimport { type AnyResourceSpecificationConfig, HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\nconst enumDeclaration = (exportName: string) => ({\n packageName: '@wildo-ai/saas-models',\n exportName,\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n});\n\nexport const operationApprovalRequestsResourceSpecification: AnyResourceSpecificationConfig = resourceSpecification(\n operationApprovalRequestsFactory,\n OperationApprovalRequestSchema,\n ({ schemaShape }) => ({\n purpose: 'Hold an operation a person asked for until another person approves it, and record how it ended.',\n businessRole: 'The maker-checker control: an operation declared to need approval (a supplier activated, a refund above a threshold) takes effect only once someone other than its requester, holding the declared role, approves it.',\n lifecycleRole: 'Created PENDING by the engine when a person calls an operation that requires approval; ended APPLIED, FAILED or REJECTED by an approver\\'s answer, LAPSED by its clock, or WITHDRAWN by its requester, or by the erasure of its requester or the purge of its organization while it waited; kept for the audit retention period and deleted with its organization.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.FLOWS_ACTORS,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'OperationApprovalRequestSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactory: { packageName: '@wildo-ai/saas-models', exportName: 'operationApprovalRequestsResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION },\n resourceType: { enumDeclaration: enumDeclaration('CoreResourceType'), memberName: 'OPERATION_APPROVAL_REQUESTS' },\n operationVocabulary: { coreEnum: enumDeclaration('CoreResourceOperation'), customEnum: enumDeclaration('OperationApprovalRequests_Operations') },\n notes: [\n 'A request is created by the engine\\'s hold, never by a client: CREATE and UPDATE are INTERNAL_CALL (the hold, and the sweep\\'s reminder markers), UPDATE_MANY and DELETE are the retention and purge plumbing.',\n 'The decision is answered from the one decision inbox (`HumanDecision_Plane.OPERATION_APPROVAL`), never through this resource.',\n '`settle` runs the approved operation and records it APPLIED in one transaction, so of two approvers answering at once only one applies it.',\n ],\n },\n\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Identity of the held request.', semanticRole: 'identifier' }),\n organizationId: schemaShape.organizationId.foreignKeySpec({\n meaning: 'The organization the operation was asked in.',\n whyItMatters: 'Its approvers hold the declared role in this organization, and the request is deleted with it.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n status: schemaShape.status.enumSpec({\n meaning: 'Where the request stands.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: enumDeclaration('OperationApprovalRequestStatus'),\n values: {\n [OperationApprovalRequestStatus.PENDING]: { meaning: 'Waiting for an approver\\'s answer. Nothing has been applied.' },\n [OperationApprovalRequestStatus.APPLIED]: { meaning: 'Approved, and the operation ran with the requester\\'s authority.' },\n [OperationApprovalRequestStatus.REJECTED]: { meaning: 'An approver refused it. Nothing was applied.' },\n [OperationApprovalRequestStatus.LAPSED]: { meaning: 'Nobody answered before it lapsed. Nothing was applied, and nobody decided.' },\n [OperationApprovalRequestStatus.WITHDRAWN]: { meaning: 'The requester took it back before anyone answered, or the requester was erased, or the organization purged, while it waited. Nothing was applied.' },\n [OperationApprovalRequestStatus.FAILED]: { meaning: 'Approved, and the operation then could not run. Nothing was applied.' },\n },\n }),\n decisionId: schemaShape.decisionId.stringSpec({ meaning: 'The decision its approvers answer.', whyItMatters: 'The one key the decision is read and settled by: an answer can only settle the request it was given.', semanticRole: 'identifier' }),\n resourceType: schemaShape.resourceType.stringSpec({ meaning: 'The resource the held operation belongs to.', semanticRole: 'code', importance: FieldSemanticImportance.PRIMARY }),\n operationIdentifier: schemaShape.operationIdentifier.stringSpec({ meaning: 'The held operation.', semanticRole: 'code', importance: FieldSemanticImportance.PRIMARY }),\n variantKey: schemaShape.variantKey.stringSpec({ meaning: 'The held variant, when it is not the operation\\'s default.', semanticRole: 'code' }),\n operationPathKey: schemaShape.operationPathKey.stringSpec({ meaning: 'The held variant\\'s canonical operation path.', whyItMatters: 'What the approval runs, exactly: never the operation\\'s default variant.', semanticRole: 'code' }),\n targetRecordId: schemaShape.targetRecordId.stringSpec({ meaning: 'The record the operation acts on. Absent for a create.', semanticRole: 'identifier' }),\n targetVersion: schemaShape.targetVersion.numberSpec({ meaning: 'The version of that record the requester saw.', whyItMatters: 'The approval runs the operation only over this version, so an approver never approves a change on top of edits made after the request.' }),\n requestScopeIds: schemaShape.requestScopeIds.objectSpec({\n meaning: 'The scope ids the operation was addressed with when it was asked: the organization, and any parent record the resource is nested under, keyed by field identifier.',\n whyItMatters: 'The approval addresses the operation with exactly these, so a nested resource runs under the same parent it was asked under.',\n }),\n requestPayload: schemaShape.requestPayload.stringSpec({\n meaning: 'The operation\\'s request body as the requester sent it. Backend-only.',\n whyItMatters: 'Shown to the approver on the decision card and applied when they approve; cleared once the request ends, since the operation that ran is the record of what was applied.',\n }),\n requesterKind: schemaShape.requesterKind.enumSpec({\n meaning: 'How the requester asked.',\n enumDeclaration: enumDeclaration('HumanDecision_RequesterKind'),\n values: {\n [HumanDecision_RequesterKind.USER]: { meaning: 'Signed in themselves.' },\n [HumanDecision_RequesterKind.DELEGATED_CLIENT]: { meaning: 'Through a client they delegated to (an A2A or MCP client); the delegation must still hold when the operation runs.' },\n [HumanDecision_RequesterKind.MACHINE]: { meaning: 'Never held: a machine principal\\'s call to an operation that requires approval is refused.' },\n },\n }),\n requesterUserId: schemaShape.requesterUserId.foreignKeySpec({ meaning: 'The person who asked.', whyItMatters: 'Never an approver of their own request, and the authority the operation runs with when it is approved.', importance: FieldSemanticImportance.PRIMARY }),\n requesterClientId: schemaShape.requesterClientId.stringSpec({ meaning: 'The delegated client a request came through.', semanticRole: 'identifier' }),\n requesterThroughRelationshipIds: schemaShape.requesterThroughRelationshipIds.arraySpec({\n meaning: 'The organization relationships the requester stood through when they asked.',\n elementMeaning: 'One relationship id.',\n whyItMatters: 'The operation runs only while the requester still stands through exactly these.',\n }),\n eligibleRole: schemaShape.eligibleRole.stringSpec({ meaning: 'The role an approver holds, as the operation declared it when the request was held.', semanticRole: 'code' }),\n requiredQualificationKinds: schemaShape.requiredQualificationKinds.arraySpec({\n meaning: 'The professional qualifications an approver must also hold, as the operation declared them when the request was held (#2967).',\n elementMeaning: 'One kind the application declares in professionalQualificationKinds.',\n whyItMatters: 'Read when each approver acts: someone holding the role but no valid qualification of every kind may neither approve nor take the request.',\n }),\n stepUpRequirement: schemaShape.stepUpRequirement.objectSpec({\n meaning: 'The step-up an answer must carry, as the operation declared it when the request was held (#2923): how fresh the factor and how strong. Absent when none is required.',\n whyItMatters: 'The answer and the decision card read this copy, not the live declaration, so a declaration changed or removed while the request waits does not change what answering it requires.',\n }),\n answerChannels: schemaShape.answerChannels.arraySpec({\n meaning: 'The channels that may answer the request, as the operation declared them when it was held (#2923). Absent: every channel its other requirements allow.',\n elementType: { enumDeclaration: enumDeclaration('HumanDecision_AnswerChannel') },\n elementMeaning: 'One answering channel: the application\\'s own session, a chat card, or a client the approver delegated to.',\n whyItMatters: 'An answer through any other channel is refused and the request keeps waiting; a chat card links to it in the application instead.',\n }),\n routeKind: schemaShape.routeKind.enumSpec({\n meaning: 'Who holds the request now.',\n whyItMatters: 'Only a person the route admits may answer or move it; it moves only by a compare-and-swap on `routeVersion`.',\n enumDeclaration: enumDeclaration('HumanDecision_RouteKind'),\n values: {\n [HumanDecision_RouteKind.ROLE]: { meaning: 'Everyone holding the eligible role in the organization; any of them may take it.' },\n [HumanDecision_RouteKind.ASSIGNEE]: { meaning: 'One person, named by the declared resolver, a claim, a reassignment or an escalation.' },\n [HumanDecision_RouteKind.OWNER]: { meaning: 'Never used by an operation approval: its requester may not approve it.' },\n },\n }),\n assigneeUserId: schemaShape.assigneeUserId.stringSpec({ meaning: 'The one person holding the request on an assignee route.', whyItMatters: 'Kept as evidence of who held it; always holds the eligible role and is never the requester.', semanticRole: 'identifier' }),\n claimedAt: schemaShape.claimedAt.dateSpec({ meaning: 'When the current holder took the request from the role.', temporalRole: 'occurred' }),\n routeVersion: schemaShape.routeVersion.numberSpec({ meaning: 'How many times the route moved.', whyItMatters: 'Every move is a compare-and-swap on it, so two moves at once never both land.' }),\n requestedAt: schemaShape.requestedAt.dateSpec({ meaning: 'When the requester asked.', temporalRole: 'occurred' }),\n lapseAt: schemaShape.lapseAt.dateSpec({ meaning: 'When the request lapses, applying nothing, if nobody has answered it.', temporalRole: 'scheduled' }),\n decisionDeadlineAt: schemaShape.decisionDeadlineAt.dateSpec({ meaning: 'The service target by which an approver is expected to answer.', temporalRole: 'scheduled' }),\n decisionWarningAt: schemaShape.decisionWarningAt.dateSpec({ meaning: 'When the approvers are warned that the target is near, when the operation declares a warning.', temporalRole: 'scheduled' }),\n decisionClockBasis: schemaShape.decisionClockBasis.enumSpec({\n meaning: 'How the answer target is counted.',\n enumDeclaration: enumDeclaration('ReviewClockBasis'),\n values: {\n [ReviewClockBasis.ELAPSED]: { meaning: 'Wall-clock time.' },\n [ReviewClockBasis.CALENDAR]: { meaning: 'Working hours of the application\\'s review calendar.' },\n },\n }),\n decisionWarningFiredAt: schemaShape.decisionWarningFiredAt.dateSpec({ meaning: 'When the warning reminder fired. Backend-only.', whyItMatters: 'Set once by a compare-and-swap, so a reminder fires once across hosts.', temporalRole: 'occurred' }),\n decisionMissedFiredAt: schemaShape.decisionMissedFiredAt.dateSpec({ meaning: 'When the missed-target reminder fired. Backend-only.', whyItMatters: 'Set once by a compare-and-swap, so a reminder fires once across hosts.', temporalRole: 'occurred' }),\n claimDeadlineAt: schemaShape.claimDeadlineAt.dateSpec({ meaning: 'The service target by which someone holding the role is expected to take the request. Absent on a request routed to one person.', temporalRole: 'scheduled' }),\n claimWarningAt: schemaShape.claimWarningAt.dateSpec({ meaning: 'When the role\\'s holders are warned that the take target is near, when the operation declares a warning.', temporalRole: 'scheduled' }),\n claimClockBasis: schemaShape.claimClockBasis.enumSpec({\n meaning: 'How the take target is counted.',\n enumDeclaration: enumDeclaration('ReviewClockBasis'),\n values: {\n [ReviewClockBasis.ELAPSED]: { meaning: 'Wall-clock time.' },\n [ReviewClockBasis.CALENDAR]: { meaning: 'Working hours of the application\\'s review calendar.' },\n },\n }),\n claimWarningFiredAt: schemaShape.claimWarningFiredAt.dateSpec({ meaning: 'When the take-target warning fired. Backend-only.', whyItMatters: 'Set once by a compare-and-swap, so a reminder fires once across hosts.', temporalRole: 'occurred' }),\n claimMissedFiredAt: schemaShape.claimMissedFiredAt.dateSpec({ meaning: 'When the missed take-target reminder fired. Backend-only.', whyItMatters: 'Set once by a compare-and-swap, so a reminder fires once across hosts.', temporalRole: 'occurred' }),\n nextDueAt: schemaShape.nextDueAt.dateSpec({ meaning: 'The earliest of the lapse and any reminder still to fire. Backend-only.', whyItMatters: 'What the deadline sweep selects pending requests by.', temporalRole: 'scheduled' }),\n resolvedAt: schemaShape.resolvedAt.dateSpec({ meaning: 'When the request ended.', whyItMatters: 'The retention period runs from here.', temporalRole: 'occurred' }),\n decidedByUserId: schemaShape.decidedByUserId.stringSpec({ meaning: 'The approver who answered. Absent for a lapse or a withdrawal: nobody decided.', semanticRole: 'identifier' }),\n failureReason: schemaShape.failureReason.enumSpec({\n meaning: 'Why an approved request applied nothing.',\n enumDeclaration: enumDeclaration('OperationApprovalRequestFailureReason'),\n values: {\n [OperationApprovalRequestFailureReason.REQUESTER_AUTHORITY_LAPSED]: { meaning: 'The requester no longer holds the authority the operation needs.' },\n [OperationApprovalRequestFailureReason.OPERATION_REFUSED]: { meaning: 'The operation refused when it ran: the request no longer validates, the record changed, a value is taken, or a rule refused.' },\n },\n }),\n appliedRecordId: schemaShape.appliedRecordId.stringSpec({ meaning: 'The record the approved operation produced or changed.', semanticRole: 'identifier' }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the request was held.', temporalRole: 'creation' }),\n updatedAt: schemaShape.updatedAt.dateSpec({ meaning: 'When the request last changed.', temporalRole: 'modified' }),\n },\n\n operations: {\n [Op.READ]: {\n purpose: 'Inspect one held request: the operation, its requester, where it stands and how it ended.',\n outcome: 'The organization\\'s administrator can see what was asked for, by whom, and who approved it.',\n idempotent: true,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The request was found.' }],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No request with this id exists in this organization.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not the organization\\'s administrator.' },\n ],\n },\n [Op.LIST]: {\n purpose: 'Browse the organization\\'s held requests.',\n outcome: 'The organization\\'s administrator can follow every request made in it.',\n idempotent: true,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of requests.' }],\n errorScenarios: [{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not the organization\\'s administrator.' }],\n },\n [Op.COUNT]: {\n purpose: 'Count the organization\\'s held requests.',\n outcome: 'The organization\\'s administrator can size the queue.',\n idempotent: true,\n },\n [Op.CREATE]: {\n purpose: 'Record a held request. Internal write path: the engine\\'s hold, never a client.',\n outcome: 'The request waits for an approver, and its decision is in their inbox.',\n },\n [Op.UPDATE]: {\n purpose: 'Mark a reminder as fired. Internal write path: the deadline sweep.',\n outcome: 'The reminder fires once.',\n },\n [Op.UPDATE_MANY]: {\n purpose: 'Internal retention plumbing: the impersonalize writer.',\n outcome: 'A requester\\'s erasure removes the stored request body and keeps the record, ending a pending request WITHDRAWN first.',\n },\n [Op.DELETE]: {\n purpose: 'Internal cleanup: the organization purge.',\n outcome: 'The request is removed with its organization.',\n idempotent: true,\n },\n [OperationApprovalRequests_Operations.LIST_MINE]: {\n operationId: OperationApprovalRequests_Operations.LIST_MINE,\n purpose: 'List the caller\\'s own held requests in the organization, newest first.',\n outcome: 'A requester can follow their requests: which wait, which were applied, refused, lapsed or failed.',\n whenToUse: 'Use after an operation answered 202: the answer names the request, and this lists it with the others.',\n importance: FieldSemanticImportance.PRIMARY,\n idempotent: true,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of the caller\\'s requests.' }],\n errorScenarios: [{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a person (a machine credential has no requests of its own).' }],\n },\n [OperationApprovalRequests_Operations.WITHDRAW]: {\n operationId: OperationApprovalRequests_Operations.WITHDRAW,\n purpose: 'Take back a request nobody has answered.',\n outcome: 'The request ends WITHDRAWN and its decision leaves the approvers\\' inbox. Nothing is applied.',\n whenToUse: 'Use when the requester no longer wants the operation. Only the requester can, and only while it waits.',\n idempotent: false,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The request was withdrawn; the updated request is returned.' }],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not the request\\'s requester.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The request was already answered, withdrawn or lapsed.' },\n ],\n },\n [OperationApprovalRequests_Operations.SETTLE]: {\n operationId: OperationApprovalRequests_Operations.SETTLE,\n purpose: 'End a request: run the approved operation and record it APPLIED, or record it REJECTED, LAPSED or FAILED. Internal: reached from the decision inbox after the approver was authorized, and from the deadline sweep.',\n outcome: 'The request ends, and an approved operation has run exactly once with its requester\\'s authority.',\n idempotent: false,\n },\n },\n\n businessConstraints: [\n 'The requester can never approve their own request; an approver holds the declared role in the request\\'s organization when they answer.',\n 'An approved operation runs with the requester\\'s authority as it stands at approval, over the record version they saw, and only once.',\n 'A rejection, a lapse, a withdrawal or a failure applies nothing.',\n 'Once a request ends, its requester is told how, in-app and by email, naming the operation by its title and never its values; a withdrawal tells them nothing, because they did it.',\n 'A machine principal\\'s call to an operation that requires approval is refused, never held.',\n 'Every request belongs to an organization and is deleted with it.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n);\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organization-agent-policies.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/flows-actors/resources/organization-agent-policies.resource.specification.ts"],"names":[],"mappings":"AA0BA,OAAO,EAAE,KAAK,8BAA8B,EAAiD,MAAM,6BAA6B,CAAC;AAUjI,eAAO,MAAM,8CAA8C,EAAE,8BAgI5D,CAAC"}
|
package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.js
ADDED
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Resource: `organizationAgentPolicies` — Wildo SaaS engine specification (organization singleton). #2292 R8.
|
|
3
|
+
*
|
|
4
|
+
* Inputs:
|
|
5
|
+
* - Schema: `OrganizationAgentPolicySchema` (`flows-actors/organization-agent-policies.shared.schemas.ts`)
|
|
6
|
+
* - Factory: `organizationAgentPoliciesResourceConfiguration_InitializationFactory`
|
|
7
|
+
* - Custom operations: `OrganizationAgentPolicies_Operations`. `relax` is implemented with the other doors by
|
|
8
|
+
* `organization-agent-policies.custom-impl.backend.service.ts`; #2843's `suspendAgent` / `resumeAgent` by
|
|
9
|
+
* `flows-actors/agent-suspension/agent-suspension.custom-impl.backend.service.ts` (saas-backend-lib).
|
|
10
|
+
* - Readers: the agent runtime, as the engine, on every turn acting for the organization (`agent-policy.backend.ts`), and
|
|
11
|
+
* the agent service's admission on every model call (`agent-suspension.backend.ts`).
|
|
12
|
+
*
|
|
13
|
+
* How the policy combines with an agent's own guardrails is `effectiveAgentContentGuardrails` (saas-models); it is not
|
|
14
|
+
* restated here.
|
|
15
|
+
*/
|
|
16
|
+
import { LabelAudience } from '@wildo-ai/presets-components-models';
|
|
17
|
+
import { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance } from '@wildo-ai/zod-decorators';
|
|
18
|
+
import { CoreResourceOperation as Op, FlowsActors_PromptInjectionScreeningScope, OrganizationAgentPolicies_Operations, OrganizationAgentPolicySchema, RedactionType, ResourcePrimaryScope, organizationAgentPoliciesResourceConfiguration_InitializationFactory, } from '@wildo-ai/saas-models';
|
|
19
|
+
import { HttpResponseStatusCode, resourceSpecification } from '../../../_core/index.js';
|
|
20
|
+
import { EngineResourceSubDomain } from '../../engine-resource-sub-domain.js';
|
|
21
|
+
const enumDeclaration = (exportName) => ({
|
|
22
|
+
packageName: '@wildo-ai/saas-models',
|
|
23
|
+
exportName,
|
|
24
|
+
symbolKind: CodeSymbolKind.ENUM,
|
|
25
|
+
declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,
|
|
26
|
+
});
|
|
27
|
+
export const organizationAgentPoliciesResourceSpecification = resourceSpecification(organizationAgentPoliciesResourceConfiguration_InitializationFactory, OrganizationAgentPolicySchema, ({ schemaShape }) => ({
|
|
28
|
+
purpose: 'Hold what one organization decides about the agents that work on its records (its agent policy): its tightening of their content guardrails (what their models are sent in place of personal data, whether what strangers wrote is screened, and which harmful outputs are withheld), and the agents it suspended.',
|
|
29
|
+
businessRole: 'An organization may protect its clients\' data more than the application does, never less: a firm under professional secrecy switches personal-data treatment on for every agent that touches its matters, whatever each agent declares.',
|
|
30
|
+
lifecycleRole: 'Created empty (nothing tightened) by the engine the first time its settings page is read; tightened by the organization\'s administrator and loosened only by its owner with a fresh proof of identity. Every change is on the audit trail. No row means nothing tightened.',
|
|
31
|
+
audience: LabelAudience.DEVELOPER,
|
|
32
|
+
subDomain: EngineResourceSubDomain.FLOWS_ACTORS,
|
|
33
|
+
codeHandling: {
|
|
34
|
+
mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'OrganizationAgentPolicySchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },
|
|
35
|
+
resourceFactory: { packageName: '@wildo-ai/saas-models', exportName: 'organizationAgentPoliciesResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION },
|
|
36
|
+
resourceType: { enumDeclaration: enumDeclaration('CoreResourceType'), memberName: 'ORGANIZATION_AGENT_POLICIES' },
|
|
37
|
+
operationVocabulary: { coreEnum: enumDeclaration('CoreResourceOperation'), customEnum: enumDeclaration('OrganizationAgentPolicies_Operations') },
|
|
38
|
+
notes: [
|
|
39
|
+
'One per organization (`organizationId` unique). Organization state: a representative works under it and never reads or edits it (every route admits only the organization\'s own members), and a first READ by anyone never stamps a relationship on the row.',
|
|
40
|
+
'UPDATE (ORG_ADMIN) may only tighten: a change that would let any agent be sent or write more than the stored row allows is refused 403 `agent_policy_loosening_requires_relax`. `relax` (ORG_OWNER, step-up) may change anything.',
|
|
41
|
+
'Every door refuses a malformed policy (a SAFE threshold, a category named twice) and a policy that switches screening or moderation on where no selected classifier can serve it. Every CREATE, UPDATE and `relax` emits AGENT_POLICY_CHANGED after it commits, with the posture before and after and whether it loosened anything.',
|
|
42
|
+
'Applied to every turn acting for the organization — its own members\', and a representative\'s — through a merge that can only tighten each agent\'s declaration. A policy that cannot be read refuses the turn.',
|
|
43
|
+
'`suspendedAgents` (#2843) is written only by `suspendAgent` and `resumeAgent` (ORG_ADMIN, with a reason): UPDATE and `relax` never change it. The agent service reads it before every model call acting for the organization and refuses a suspended agent (`agent_suspended`, the turn code `AGENT_SUSPENDED`); a list that cannot be read refuses the call. Each change emits AGENT_SUSPENSION_CHANGED (HIGH). An erased administrator\'s id leaves the entry; the suspension stays.',
|
|
44
|
+
],
|
|
45
|
+
},
|
|
46
|
+
fields: {
|
|
47
|
+
_id: schemaShape._id.stringSpec({ meaning: 'Identity of the policy.', semanticRole: 'identifier' }),
|
|
48
|
+
organizationId: schemaShape.organizationId.foreignKeySpec({ meaning: 'The organization the policy is for.', importance: FieldSemanticImportance.PRIMARY }),
|
|
49
|
+
personalDataTreatment: schemaShape.personalDataTreatment.enumSpec({
|
|
50
|
+
meaning: 'What every agent of the organization\'s model is sent in place of a personal field\'s value, at least. Switches the treatment on for an agent that declares none, or raises TOKENIZE to REMOVE. Empty: the agents\' own declarations.',
|
|
51
|
+
importance: FieldSemanticImportance.PRIMARY,
|
|
52
|
+
enumDeclaration: enumDeclaration('RedactionType'),
|
|
53
|
+
values: {
|
|
54
|
+
[RedactionType.REMOVE]: { meaning: 'A placeholder naming the kind of data: the model never learns the value, and nothing can put it back.' },
|
|
55
|
+
[RedactionType.TOKENIZE]: { meaning: 'A placeholder bound to the conversation: the model can refer to the value, and the engine puts it back for the person and for a write.' },
|
|
56
|
+
},
|
|
57
|
+
}),
|
|
58
|
+
machineReadersKeepPlaceholders: schemaShape.machineReadersKeepPlaceholders.booleanSpec({
|
|
59
|
+
meaning: 'Whether a turn no person reads as their own (an A2A client\'s, an autonomous turn) keeps the placeholders, whatever an agent declares about re-identifying for machine readers.',
|
|
60
|
+
}),
|
|
61
|
+
promptInjectionScreening: schemaShape.promptInjectionScreening.enumSpec({
|
|
62
|
+
meaning: 'Whether what somebody else wrote is screened for instructions aimed at the model before every agent of the organization reads it. Empty: the agents\' own declarations.',
|
|
63
|
+
importance: FieldSemanticImportance.PRIMARY,
|
|
64
|
+
enumDeclaration: enumDeclaration('FlowsActors_PromptInjectionScreeningScope'),
|
|
65
|
+
values: {
|
|
66
|
+
[FlowsActors_PromptInjectionScreeningScope.THIRD_PARTY_CONTENT]: { meaning: 'Tool results and an inbound delivery\'s content are screened before the model reads them.' },
|
|
67
|
+
},
|
|
68
|
+
}),
|
|
69
|
+
outputModeration: schemaShape.outputModeration.arraySpec({
|
|
70
|
+
meaning: 'Harm categories every agent of the organization\'s output is judged in, with the lowest severity withheld. Joined with each agent\'s own: a category either judges is judged, at the lower of the two severities.',
|
|
71
|
+
elementMeaning: 'One harm category and the lowest severity withheld in it.',
|
|
72
|
+
}),
|
|
73
|
+
suspendedAgents: schemaShape.suspendedAgents.arraySpec({
|
|
74
|
+
meaning: 'The agents the organization\'s administrator switched off: none of them runs for work done for the organization until it is resumed.',
|
|
75
|
+
elementMeaning: 'One suspended agent: its ref, who suspended it, why, and when.',
|
|
76
|
+
}),
|
|
77
|
+
createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the policy was created.', temporalRole: 'creation' }),
|
|
78
|
+
updatedAt: schemaShape.updatedAt.dateSpec({ meaning: 'When the policy was last changed.', temporalRole: 'modified' }),
|
|
79
|
+
},
|
|
80
|
+
operations: {
|
|
81
|
+
[Op.READ]: {
|
|
82
|
+
purpose: 'Read the organization\'s policy: its settings page.',
|
|
83
|
+
outcome: 'The policy is returned; an organization with none gets its empty row, created on this read.',
|
|
84
|
+
idempotent: true,
|
|
85
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The policy was found or created empty.' }],
|
|
86
|
+
},
|
|
87
|
+
[Op.CREATE]: {
|
|
88
|
+
purpose: 'Record the organization\'s policy.',
|
|
89
|
+
outcome: 'The policy applies to every turn acting for the organization from now on, and the change is audited.',
|
|
90
|
+
responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The policy was created.' }],
|
|
91
|
+
errorScenarios: [{ code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The policy is malformed, or switches screening or moderation on where no classifier can serve it.' }],
|
|
92
|
+
},
|
|
93
|
+
[Op.UPDATE]: {
|
|
94
|
+
purpose: 'Tighten the organization\'s policy.',
|
|
95
|
+
outcome: 'The tighter policy applies to every turn acting for the organization from now on, and the change is audited.',
|
|
96
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The policy was tightened.' }],
|
|
97
|
+
errorScenarios: [
|
|
98
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The change would loosen the policy: loosening is the owner\'s `relax`.' },
|
|
99
|
+
{ code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The policy is malformed, or switches screening or moderation on where no classifier can serve it.' },
|
|
100
|
+
],
|
|
101
|
+
},
|
|
102
|
+
[Op.DELETE]: { purpose: 'The organization-deletion cascade\'s door. Route-less.', outcome: 'The policy of a deleted organization is removed.', idempotent: true },
|
|
103
|
+
[OrganizationAgentPolicies_Operations.RELAX]: {
|
|
104
|
+
operationId: OrganizationAgentPolicies_Operations.RELAX,
|
|
105
|
+
purpose: 'Change the organization\'s policy in any direction, loosening included.',
|
|
106
|
+
outcome: 'The organization\'s agents may be sent or write more than before; the change, and that it loosened the policy, are audited at high risk.',
|
|
107
|
+
whenToUse: 'Use only when the organization decides its agents need less protection than it set. Needs the owner\'s role and a fresh proof of identity.',
|
|
108
|
+
importance: FieldSemanticImportance.PRIMARY,
|
|
109
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The policy was changed.' }],
|
|
110
|
+
errorScenarios: [
|
|
111
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not the organization\'s owner, or has not just proved their identity.' },
|
|
112
|
+
{ code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The policy is malformed, or switches screening or moderation on where no classifier can serve it.' },
|
|
113
|
+
],
|
|
114
|
+
idempotent: true,
|
|
115
|
+
},
|
|
116
|
+
[OrganizationAgentPolicies_Operations.SUSPEND_AGENT]: {
|
|
117
|
+
operationId: OrganizationAgentPolicies_Operations.SUSPEND_AGENT,
|
|
118
|
+
purpose: 'Switch one agent off for the organization, with a reason.',
|
|
119
|
+
outcome: 'Every call to the agent acting for the organization is refused before its model runs, until it is resumed. A call already running ends after its bounded steps. Audited.',
|
|
120
|
+
whenToUse: 'Use when one of the organization\'s agents misbehaves and must stop now, without waiting for a release.',
|
|
121
|
+
importance: FieldSemanticImportance.PRIMARY,
|
|
122
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The agent is suspended for the organization (or already was).' }],
|
|
123
|
+
errorScenarios: [
|
|
124
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an administrator of this organization.' },
|
|
125
|
+
{ code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No such agent is declared, or the policy row does not exist yet (read the page first).' },
|
|
126
|
+
{ code: HttpResponseStatusCode.CONFLICT_409, when: 'The policy changed since it was read; read it again.' },
|
|
127
|
+
],
|
|
128
|
+
idempotent: true,
|
|
129
|
+
},
|
|
130
|
+
[OrganizationAgentPolicies_Operations.RESUME_AGENT]: {
|
|
131
|
+
operationId: OrganizationAgentPolicies_Operations.RESUME_AGENT,
|
|
132
|
+
purpose: 'Let a suspended agent run for the organization again, with a reason.',
|
|
133
|
+
outcome: 'Calls to the agent acting for the organization run again (unless the application suspended it too). Audited.',
|
|
134
|
+
whenToUse: 'Use once the cause of the suspension is dealt with.',
|
|
135
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The agent is no longer suspended for the organization (or was not).' }],
|
|
136
|
+
errorScenarios: [
|
|
137
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an administrator of this organization.' },
|
|
138
|
+
{ code: HttpResponseStatusCode.CONFLICT_409, when: 'The policy changed since it was read; read it again.' },
|
|
139
|
+
],
|
|
140
|
+
idempotent: true,
|
|
141
|
+
},
|
|
142
|
+
},
|
|
143
|
+
businessConstraints: [
|
|
144
|
+
'One policy per organization.',
|
|
145
|
+
'An administrator can only tighten it; only the owner, with step-up, can loosen it.',
|
|
146
|
+
'It can only make an agent stricter than the agent declares, never looser.',
|
|
147
|
+
'Every change is audited.',
|
|
148
|
+
'Only an administrator of the organization suspends or resumes one of its agents; nobody else, and no other door, writes the suspension list.',
|
|
149
|
+
],
|
|
150
|
+
}), { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS });
|
|
151
|
+
//# sourceMappingURL=organization-agent-policies.resource.specification.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organization-agent-policies.resource.specification.js","sourceRoot":"","sources":["../../../../../src/engine/flows-actors/resources/organization-agent-policies.resource.specification.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACxG,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,yCAAyC,EACzC,oCAAoC,EACpC,6BAA6B,EAC7B,aAAa,EACb,oBAAoB,EACpB,oEAAoE,GACrE,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAuC,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACjI,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAE3E,MAAM,eAAe,GAAG,CAAC,UAAkB,EAAE,EAAE,CAAC,CAAC;IAC/C,WAAW,EAAE,uBAAuB;IACpC,UAAU;IACV,UAAU,EAAE,cAAc,CAAC,IAAI;IAC/B,eAAe,EAAE,mBAAmB,CAAC,eAAe;CACrD,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,8CAA8C,GAAmC,qBAAqB,CACjH,oEAAoE,EACpE,6BAA6B,EAC7B,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,CAAC;IACpB,OAAO,EAAE,oTAAoT;IAC7T,YAAY,EAAE,0OAA0O;IACxP,aAAa,EAAE,6QAA6Q;IAC5R,QAAQ,EAAE,aAAa,CAAC,SAAS;IACj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AAC,EACF,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,aAAa,EAAE,CAC7D,CAAC","sourcesContent":["/**\n * Resource: `organizationAgentPolicies` — Wildo SaaS engine specification (organization singleton). #2292 R8.\n *\n * Inputs:\n * - Schema: `OrganizationAgentPolicySchema` (`flows-actors/organization-agent-policies.shared.schemas.ts`)\n * - Factory: `organizationAgentPoliciesResourceConfiguration_InitializationFactory`\n * - Custom operations: `OrganizationAgentPolicies_Operations`. `relax` is implemented with the other doors by\n * `organization-agent-policies.custom-impl.backend.service.ts`; #2843's `suspendAgent` / `resumeAgent` by\n * `flows-actors/agent-suspension/agent-suspension.custom-impl.backend.service.ts` (saas-backend-lib).\n * - Readers: the agent runtime, as the engine, on every turn acting for the organization (`agent-policy.backend.ts`), and\n * the agent service's admission on every model call (`agent-suspension.backend.ts`).\n *\n * How the policy combines with an agent's own guardrails is `effectiveAgentContentGuardrails` (saas-models); it is not\n * restated here.\n */\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance } from '@wildo-ai/zod-decorators';\nimport {\n CoreResourceOperation as Op,\n FlowsActors_PromptInjectionScreeningScope,\n OrganizationAgentPolicies_Operations,\n OrganizationAgentPolicySchema,\n RedactionType,\n ResourcePrimaryScope,\n organizationAgentPoliciesResourceConfiguration_InitializationFactory,\n} from '@wildo-ai/saas-models';\nimport { type AnyResourceSpecificationConfig, HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\nconst enumDeclaration = (exportName: string) => ({\n packageName: '@wildo-ai/saas-models',\n exportName,\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n});\n\nexport const organizationAgentPoliciesResourceSpecification: AnyResourceSpecificationConfig = resourceSpecification(\n organizationAgentPoliciesResourceConfiguration_InitializationFactory,\n OrganizationAgentPolicySchema,\n ({ schemaShape }) => ({\n purpose: 'Hold what one organization decides about the agents that work on its records (its agent policy): its tightening of their content guardrails (what their models are sent in place of personal data, whether what strangers wrote is screened, and which harmful outputs are withheld), and the agents it suspended.',\n businessRole: 'An organization may protect its clients\\' data more than the application does, never less: a firm under professional secrecy switches personal-data treatment on for every agent that touches its matters, whatever each agent declares.',\n lifecycleRole: 'Created empty (nothing tightened) by the engine the first time its settings page is read; tightened by the organization\\'s administrator and loosened only by its owner with a fresh proof of identity. Every change is on the audit trail. No row means nothing tightened.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.FLOWS_ACTORS,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'OrganizationAgentPolicySchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactory: { packageName: '@wildo-ai/saas-models', exportName: 'organizationAgentPoliciesResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION },\n resourceType: { enumDeclaration: enumDeclaration('CoreResourceType'), memberName: 'ORGANIZATION_AGENT_POLICIES' },\n operationVocabulary: { coreEnum: enumDeclaration('CoreResourceOperation'), customEnum: enumDeclaration('OrganizationAgentPolicies_Operations') },\n notes: [\n 'One per organization (`organizationId` unique). Organization state: a representative works under it and never reads or edits it (every route admits only the organization\\'s own members), and a first READ by anyone never stamps a relationship on the row.',\n 'UPDATE (ORG_ADMIN) may only tighten: a change that would let any agent be sent or write more than the stored row allows is refused 403 `agent_policy_loosening_requires_relax`. `relax` (ORG_OWNER, step-up) may change anything.',\n 'Every door refuses a malformed policy (a SAFE threshold, a category named twice) and a policy that switches screening or moderation on where no selected classifier can serve it. Every CREATE, UPDATE and `relax` emits AGENT_POLICY_CHANGED after it commits, with the posture before and after and whether it loosened anything.',\n 'Applied to every turn acting for the organization — its own members\\', and a representative\\'s — through a merge that can only tighten each agent\\'s declaration. A policy that cannot be read refuses the turn.',\n '`suspendedAgents` (#2843) is written only by `suspendAgent` and `resumeAgent` (ORG_ADMIN, with a reason): UPDATE and `relax` never change it. The agent service reads it before every model call acting for the organization and refuses a suspended agent (`agent_suspended`, the turn code `AGENT_SUSPENDED`); a list that cannot be read refuses the call. Each change emits AGENT_SUSPENSION_CHANGED (HIGH). An erased administrator\\'s id leaves the entry; the suspension stays.',\n ],\n },\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Identity of the policy.', semanticRole: 'identifier' }),\n organizationId: schemaShape.organizationId.foreignKeySpec({ meaning: 'The organization the policy is for.', importance: FieldSemanticImportance.PRIMARY }),\n personalDataTreatment: schemaShape.personalDataTreatment.enumSpec({\n meaning: 'What every agent of the organization\\'s model is sent in place of a personal field\\'s value, at least. Switches the treatment on for an agent that declares none, or raises TOKENIZE to REMOVE. Empty: the agents\\' own declarations.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: enumDeclaration('RedactionType'),\n values: {\n [RedactionType.REMOVE]: { meaning: 'A placeholder naming the kind of data: the model never learns the value, and nothing can put it back.' },\n [RedactionType.TOKENIZE]: { meaning: 'A placeholder bound to the conversation: the model can refer to the value, and the engine puts it back for the person and for a write.' },\n },\n }),\n machineReadersKeepPlaceholders: schemaShape.machineReadersKeepPlaceholders.booleanSpec({\n meaning: 'Whether a turn no person reads as their own (an A2A client\\'s, an autonomous turn) keeps the placeholders, whatever an agent declares about re-identifying for machine readers.',\n }),\n promptInjectionScreening: schemaShape.promptInjectionScreening.enumSpec({\n meaning: 'Whether what somebody else wrote is screened for instructions aimed at the model before every agent of the organization reads it. Empty: the agents\\' own declarations.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: enumDeclaration('FlowsActors_PromptInjectionScreeningScope'),\n values: {\n [FlowsActors_PromptInjectionScreeningScope.THIRD_PARTY_CONTENT]: { meaning: 'Tool results and an inbound delivery\\'s content are screened before the model reads them.' },\n },\n }),\n outputModeration: schemaShape.outputModeration.arraySpec({\n meaning: 'Harm categories every agent of the organization\\'s output is judged in, with the lowest severity withheld. Joined with each agent\\'s own: a category either judges is judged, at the lower of the two severities.',\n elementMeaning: 'One harm category and the lowest severity withheld in it.',\n }),\n suspendedAgents: schemaShape.suspendedAgents.arraySpec({\n meaning: 'The agents the organization\\'s administrator switched off: none of them runs for work done for the organization until it is resumed.',\n elementMeaning: 'One suspended agent: its ref, who suspended it, why, and when.',\n }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the policy was created.', temporalRole: 'creation' }),\n updatedAt: schemaShape.updatedAt.dateSpec({ meaning: 'When the policy was last changed.', temporalRole: 'modified' }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Read the organization\\'s policy: its settings page.',\n outcome: 'The policy is returned; an organization with none gets its empty row, created on this read.',\n idempotent: true,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The policy was found or created empty.' }],\n },\n [Op.CREATE]: {\n purpose: 'Record the organization\\'s policy.',\n outcome: 'The policy applies to every turn acting for the organization from now on, and the change is audited.',\n responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The policy was created.' }],\n errorScenarios: [{ code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The policy is malformed, or switches screening or moderation on where no classifier can serve it.' }],\n },\n [Op.UPDATE]: {\n purpose: 'Tighten the organization\\'s policy.',\n outcome: 'The tighter policy applies to every turn acting for the organization from now on, and the change is audited.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The policy was tightened.' }],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The change would loosen the policy: loosening is the owner\\'s `relax`.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The policy is malformed, or switches screening or moderation on where no classifier can serve it.' },\n ],\n },\n [Op.DELETE]: { purpose: 'The organization-deletion cascade\\'s door. Route-less.', outcome: 'The policy of a deleted organization is removed.', idempotent: true },\n [OrganizationAgentPolicies_Operations.RELAX]: {\n operationId: OrganizationAgentPolicies_Operations.RELAX,\n purpose: 'Change the organization\\'s policy in any direction, loosening included.',\n outcome: 'The organization\\'s agents may be sent or write more than before; the change, and that it loosened the policy, are audited at high risk.',\n whenToUse: 'Use only when the organization decides its agents need less protection than it set. Needs the owner\\'s role and a fresh proof of identity.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The policy was changed.' }],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not the organization\\'s owner, or has not just proved their identity.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The policy is malformed, or switches screening or moderation on where no classifier can serve it.' },\n ],\n idempotent: true,\n },\n [OrganizationAgentPolicies_Operations.SUSPEND_AGENT]: {\n operationId: OrganizationAgentPolicies_Operations.SUSPEND_AGENT,\n purpose: 'Switch one agent off for the organization, with a reason.',\n outcome: 'Every call to the agent acting for the organization is refused before its model runs, until it is resumed. A call already running ends after its bounded steps. Audited.',\n whenToUse: 'Use when one of the organization\\'s agents misbehaves and must stop now, without waiting for a release.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The agent is suspended for the organization (or already was).' }],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an administrator of this organization.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No such agent is declared, or the policy row does not exist yet (read the page first).' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The policy changed since it was read; read it again.' },\n ],\n idempotent: true,\n },\n [OrganizationAgentPolicies_Operations.RESUME_AGENT]: {\n operationId: OrganizationAgentPolicies_Operations.RESUME_AGENT,\n purpose: 'Let a suspended agent run for the organization again, with a reason.',\n outcome: 'Calls to the agent acting for the organization run again (unless the application suspended it too). Audited.',\n whenToUse: 'Use once the cause of the suspension is dealt with.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The agent is no longer suspended for the organization (or was not).' }],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an administrator of this organization.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The policy changed since it was read; read it again.' },\n ],\n idempotent: true,\n },\n },\n businessConstraints: [\n 'One policy per organization.',\n 'An administrator can only tighten it; only the owner, with step-up, can loosen it.',\n 'It can only make an agent stricter than the agent declares, never looser.',\n 'Every change is audited.',\n 'Only an administrator of the organization suspends or resumes one of its agents; nobody else, and no other door, writes the suspension list.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n);\n"]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Resource: `organizationChatSettings` — Wildo SaaS engine specification (organization-scoped). #2665.
|
|
3
|
+
*
|
|
4
|
+
* Inputs:
|
|
5
|
+
* - Schema: `OrganizationChatSettingSchema` (`inbound/organization-chat-settings.shared.schemas.ts`)
|
|
6
|
+
* - Factory: `organizationChatSettingsResourceConfiguration_InitializationFactory`
|
|
7
|
+
* (`inbound/organization-chat-settings.shared.resources-config.schemas.ts`)
|
|
8
|
+
* - Write checks: `organization-chat-settings.custom-impl.backend.service.ts` (saas-backend-lib); the choice is resolved
|
|
9
|
+
* by `ChatAgentsBackendService.resolve`.
|
|
10
|
+
*
|
|
11
|
+
* Why `ORGANIZATIONS` scope: the choice is the organization's, applies only to its own people, and is purged with it.
|
|
12
|
+
* The registry relationship ORGANIZATIONS → organizationChatSettings carries `isPrimaryScope: true`.
|
|
13
|
+
*/
|
|
14
|
+
import { CoreResourceOperation as Op } from '@wildo-ai/saas-models';
|
|
15
|
+
export declare const organizationChatSettingsResourceSpecification: import("../../../_core").ResourceSpecificationConfig<undefined, Op.READ | Op.UPDATE | Op.DELETE | Op.DELETE_MANY | Op.CREATE | Op.LIST, import("zod").ZodObject<{
|
|
16
|
+
_id: import("zod").ZodString;
|
|
17
|
+
organizationId: import("zod").ZodString;
|
|
18
|
+
connectionRef: import("zod").ZodString;
|
|
19
|
+
chatAgentRef: import("zod").ZodString;
|
|
20
|
+
createdAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
21
|
+
updatedAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
22
|
+
}, import("zod/v4/core").$strip>>;
|
|
23
|
+
//# sourceMappingURL=organization-chat-settings.resource.specification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"organization-chat-settings.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/flows-actors/resources/organization-chat-settings.resource.specification.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAQH,OAAO,EACL,qBAAqB,IAAI,EAAE,EAI5B,MAAM,uBAAuB,CAAC;AA6B/B,eAAO,MAAM,6CAA6C;;;;;;;iCAyFzD,CAAC"}
|