@wildo-ai/saas-specifications 1.1.10 → 1.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts +5 -4
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js +5 -4
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js.map +1 -1
- package/dist/esm/_catalogs/schema-org/index.js +1 -1
- package/dist/esm/_core/application-maturity/application-maturity-validation.d.ts +5 -0
- package/dist/esm/_core/application-maturity/application-maturity-validation.d.ts.map +1 -1
- package/dist/esm/_core/application-maturity/application-maturity-validation.js +13 -0
- package/dist/esm/_core/application-maturity/application-maturity-validation.js.map +1 -1
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js +5 -0
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js.map +1 -1
- package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts +34 -40
- package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts.map +1 -1
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js +26 -2
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js.map +1 -1
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +20 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -1
- package/dist/esm/_core/application-specification-family-identity.schemas.js +20 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -1
- package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts +1 -1
- package/dist/esm/_core/assertions/assertion-behaviors.schemas.d.ts +4 -4
- package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts +4 -4
- package/dist/esm/_core/brand/brand-asset.schemas.d.ts +4 -4
- package/dist/esm/_core/brand/brand-audience.schemas.d.ts +2 -2
- package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts +2 -2
- package/dist/esm/_core/brand/brand-generation.schemas.d.ts +8 -4
- package/dist/esm/_core/brand/brand-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-generation.schemas.js +11 -1
- package/dist/esm/_core/brand/brand-generation.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts +4 -4
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.d.ts +25 -22
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.js +6 -4
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-validation.d.ts +25 -1
- package/dist/esm/_core/brand/brand-name-screening-validation.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-validation.js +77 -1
- package/dist/esm/_core/brand/brand-name-screening-validation.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-view.d.ts +34 -32
- package/dist/esm/_core/brand/brand-name-screening-view.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts +67 -35
- package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening.schemas.js +65 -8
- package/dist/esm/_core/brand/brand-name-screening.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-name.schemas.d.ts +2 -2
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts +14 -14
- package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts +27 -9
- package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-visual-tone.schemas.js +26 -8
- package/dist/esm/_core/brand/brand-visual-tone.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-relationship-grouping.d.ts +52 -0
- package/dist/esm/_core/build-plan/build-plan-relationship-grouping.d.ts.map +1 -0
- package/dist/esm/_core/build-plan/build-plan-relationship-grouping.js +325 -0
- package/dist/esm/_core/build-plan/build-plan-relationship-grouping.js.map +1 -0
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +225 -108
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js +39 -2
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +112 -8
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +249 -12
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts +506 -344
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js +425 -13
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js +11 -4
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts +2 -2
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts +5 -21
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js +16 -6
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts +12 -5
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js +32 -9
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts +30 -5
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.js +28 -2
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts +6 -5
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js +19 -9
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +12 -33
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js +4 -3
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -1
- package/dist/esm/_core/chart-view-specification.schemas.d.ts +19 -3
- package/dist/esm/_core/chart-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/chart-view-specification.schemas.js +7 -3
- package/dist/esm/_core/chart-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.d.ts +265 -0
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.js +371 -0
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts +0 -298
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts +1 -6
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +3 -619
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +14 -2
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts +1 -1
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts +60 -7
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js +137 -12
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts +0 -32
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js +2 -2
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts +50 -12
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js +166 -13
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +35 -148
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js +10 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts +102 -10
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js +128 -25
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts +28 -0
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.js +36 -1
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts +2 -24
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.js +18 -2
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.d.ts +4 -0
- package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.js +6 -0
- package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts +21 -10
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js +130 -14
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-posture/compliance-posture-generation.schemas.d.ts +26 -0
- package/dist/esm/_core/compliance-posture/compliance-posture-generation.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-posture/compliance-posture-generation.schemas.js +44 -0
- package/dist/esm/_core/compliance-posture/compliance-posture-generation.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-posture/compliance-posture-validation.d.ts +34 -0
- package/dist/esm/_core/compliance-posture/compliance-posture-validation.d.ts.map +1 -0
- package/dist/esm/_core/compliance-posture/compliance-posture-validation.js +47 -0
- package/dist/esm/_core/compliance-posture/compliance-posture-validation.js.map +1 -0
- package/dist/esm/_core/compliance-posture/compliance-posture.family-aspects.d.ts +4 -0
- package/dist/esm/_core/compliance-posture/compliance-posture.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/compliance-posture/compliance-posture.family-aspects.js +19 -0
- package/dist/esm/_core/compliance-posture/compliance-posture.family-aspects.js.map +1 -0
- package/dist/esm/_core/compliance-posture/compliance-posture.schemas.d.ts +88 -0
- package/dist/esm/_core/compliance-posture/compliance-posture.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-posture/compliance-posture.schemas.js +78 -0
- package/dist/esm/_core/compliance-posture/compliance-posture.schemas.js.map +1 -0
- package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/composite-view-specification.schemas.js +2 -2
- package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/data-seed-specification.schemas.d.ts +2 -0
- package/dist/esm/_core/data-seed-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/data-seed-specification.schemas.js +10 -1
- package/dist/esm/_core/data-seed-specification.schemas.js.map +1 -1
- package/dist/esm/_core/definition-specification-validators.d.ts +2 -3
- package/dist/esm/_core/definition-specification-validators.d.ts.map +1 -1
- package/dist/esm/_core/definition-specification-validators.js +2 -3
- package/dist/esm/_core/definition-specification-validators.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts +44 -19
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.js +75 -2
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts +93 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.js +369 -2
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts +412 -5
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js +429 -0
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +18 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +88 -2
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/execution-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/execution-view-specification.schemas.js +2 -2
- package/dist/esm/_core/execution-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts +20 -9
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js +3 -0
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts +25 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.js +57 -0
- package/dist/esm/_core/experience-plan/experience-plan-validation.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js +23 -4
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts +96 -131
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js +144 -1
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts +2 -2
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +15 -8
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js +13 -6
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
- package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.registry.js +4 -0
- package/dist/esm/_core/family-aspects.registry.js.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.d.ts +12 -1
- package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.js +11 -0
- package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
- package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +37 -53
- package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts +59 -59
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts +0 -14
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js +2 -2
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js.map +1 -1
- package/dist/esm/_core/feature-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-specification.schemas.js +5 -4
- package/dist/esm/_core/feature-specification.schemas.js.map +1 -1
- package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/flows-actors-view-specification.schemas.js +2 -2
- package/dist/esm/_core/flows-actors-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/full-custom-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/full-custom-view-specification.schemas.js +2 -2
- package/dist/esm/_core/full-custom-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts +1 -3
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.js +10 -12
- package/dist/esm/_core/guidance-flow-specification.schemas.js.map +1 -1
- package/dist/esm/_core/index.d.ts +12 -0
- package/dist/esm/_core/index.d.ts.map +1 -1
- package/dist/esm/_core/index.js +12 -0
- package/dist/esm/_core/index.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +8 -4
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js +2 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts +19 -51
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js +29 -10
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -1
- package/dist/esm/_core/market/feature-benefit.schemas.d.ts +5 -5
- package/dist/esm/_core/market/market-alternative.schemas.d.ts +3 -3
- package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts +2 -2
- package/dist/esm/_core/market/market-buying-journey.schemas.d.ts +4 -4
- package/dist/esm/_core/market/market-category.schemas.d.ts +2 -2
- package/dist/esm/_core/market/market-channel.schemas.d.ts +5 -5
- package/dist/esm/_core/market/market-gain.schemas.d.ts +3 -3
- package/dist/esm/_core/market/market-icp.schemas.d.ts +11 -11
- package/dist/esm/_core/market/market-job.schemas.d.ts +3 -3
- package/dist/esm/_core/market/market-message-template.schemas.d.ts +4 -4
- package/dist/esm/_core/market/market-objection.schemas.d.ts +3 -3
- package/dist/esm/_core/market/market-pain.schemas.d.ts +3 -3
- package/dist/esm/_core/market/market-persona.schemas.d.ts +4 -4
- package/dist/esm/_core/market/market-positioning.schemas.d.ts +2 -2
- package/dist/esm/_core/market/market-proof.schemas.d.ts +3 -3
- package/dist/esm/_core/market/market-references.schemas.d.ts +7 -0
- package/dist/esm/_core/market/market-references.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-references.schemas.js +13 -1
- package/dist/esm/_core/market/market-references.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +80 -106
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js +46 -17
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot.schemas.d.ts +59 -59
- package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts +3 -3
- package/dist/esm/_core/market/market-trigger.schemas.d.ts +3 -3
- package/dist/esm/_core/milestone-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/milestone-specification.schemas.js +5 -4
- package/dist/esm/_core/milestone-specification.schemas.js.map +1 -1
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts +0 -2
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/onboarding-view-specification.schemas.js +7 -8
- package/dist/esm/_core/onboarding-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts +32 -27
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js +3 -3
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +12 -2
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.js +42 -9
- package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +16 -4
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +84 -90
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js +90 -13
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
- package/dist/esm/_core/product-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/product-specification.schemas.js +5 -4
- package/dist/esm/_core/product-specification.schemas.js.map +1 -1
- package/dist/esm/_core/required-features-specification.schemas.d.ts +1 -5
- package/dist/esm/_core/required-features-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/required-features-specification.schemas.js +1 -5
- package/dist/esm/_core/required-features-specification.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +2 -2
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts +6 -6
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.js +4 -4
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts +2 -2
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts +0 -4
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +6 -15
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.js +2 -3
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.d.ts +76 -18
- package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.js +168 -60
- package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts +2 -2
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts +3 -18
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.js +3 -17
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts +2 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js +2 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts +3 -3
- package/dist/esm/_core/role-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/role-specification.schemas.js +5 -4
- package/dist/esm/_core/role-specification.schemas.js.map +1 -1
- package/dist/esm/_core/service-method/service-method-derivation.d.ts +155 -0
- package/dist/esm/_core/service-method/service-method-derivation.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method-derivation.js +415 -0
- package/dist/esm/_core/service-method/service-method-derivation.js.map +1 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.d.ts +87 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.js +30 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.js.map +1 -0
- package/dist/esm/_core/service-method/service-method-validation.d.ts +45 -0
- package/dist/esm/_core/service-method/service-method-validation.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method-validation.js +102 -0
- package/dist/esm/_core/service-method/service-method-validation.js.map +1 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.d.ts +3 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.js +59 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.js.map +1 -0
- package/dist/esm/_core/service-method/service-method.schemas.d.ts +356 -0
- package/dist/esm/_core/service-method/service-method.schemas.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method.schemas.js +416 -0
- package/dist/esm/_core/service-method/service-method.schemas.js.map +1 -0
- package/dist/esm/_core/sidebar-section-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/sidebar-section-specification.schemas.js +2 -2
- package/dist/esm/_core/sidebar-section-specification.schemas.js.map +1 -1
- package/dist/esm/_core/specification-definition-faults.d.ts +160 -0
- package/dist/esm/_core/specification-definition-faults.d.ts.map +1 -0
- package/dist/esm/_core/specification-definition-faults.js +283 -0
- package/dist/esm/_core/specification-definition-faults.js.map +1 -0
- package/dist/esm/_core/specification-module-faults.d.ts +271 -0
- package/dist/esm/_core/specification-module-faults.d.ts.map +1 -0
- package/dist/esm/_core/specification-module-faults.js +655 -0
- package/dist/esm/_core/specification-module-faults.js.map +1 -0
- package/dist/esm/_core/translation-glossary.schemas.d.ts +79 -0
- package/dist/esm/_core/translation-glossary.schemas.d.ts.map +1 -0
- package/dist/esm/_core/translation-glossary.schemas.js +98 -0
- package/dist/esm/_core/translation-glossary.schemas.js.map +1 -0
- package/dist/esm/_core/utils/extract-field-specs.d.ts +25 -0
- package/dist/esm/_core/utils/extract-field-specs.d.ts.map +1 -1
- package/dist/esm/_core/utils/extract-field-specs.js +6 -1
- package/dist/esm/_core/utils/extract-field-specs.js.map +1 -1
- package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-constraint.schemas.d.ts +6 -4
- package/dist/esm/_core/vision/vision-constraint.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-constraint.schemas.js +4 -2
- package/dist/esm/_core/vision/vision-constraint.schemas.js.map +1 -1
- package/dist/esm/_core/vision/vision-idea.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-mission.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-problem.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.d.ts +15 -9
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js +30 -20
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/vision/vision-snapshot.schemas.d.ts +10 -10
- package/dist/esm/_core/vision/vision-success-criterion.schemas.d.ts +2 -2
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts +31 -7
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.js +34 -6
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts +24 -4
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-validation.js +84 -7
- package/dist/esm/_core/website-plan/website-plan-validation.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.family-aspects.js +2 -1
- package/dist/esm/_core/website-plan/website-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts +424 -120
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.schemas.js +687 -32
- package/dist/esm/_core/website-plan/website-plan.schemas.js.map +1 -1
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.d.ts +90 -0
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.d.ts.map +1 -0
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.js +104 -0
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.js.map +1 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +110 -127
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js +122 -16
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-declared-answer.application-creation.schemas.d.ts +22 -0
- package/dist/esm/application-creation/application-declared-answer.application-creation.schemas.d.ts.map +1 -0
- package/dist/esm/application-creation/application-declared-answer.application-creation.schemas.js +23 -0
- package/dist/esm/application-creation/application-declared-answer.application-creation.schemas.js.map +1 -0
- package/dist/esm/application-creation/application-declared-answers.application-creation.schemas.d.ts +50 -0
- package/dist/esm/application-creation/application-declared-answers.application-creation.schemas.d.ts.map +1 -0
- package/dist/esm/application-creation/application-declared-answers.application-creation.schemas.js +33 -0
- package/dist/esm/application-creation/application-declared-answers.application-creation.schemas.js.map +1 -0
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +57 -41
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +22 -4
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts +3 -11
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts +206 -10
- package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-line.application-creation.schemas.js +226 -9
- package/dist/esm/application-creation/application-line.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +4 -2
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.js +4 -2
- package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +42 -41
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js +79 -23
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts +2 -2
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js +2 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation.exports.d.ts +13 -0
- package/dist/esm/application-creation.exports.d.ts.map +1 -1
- package/dist/esm/application-creation.exports.js +15 -0
- package/dist/esm/application-creation.exports.js.map +1 -1
- package/dist/esm/assurance/application-document-publication.schemas.d.ts +0 -12
- package/dist/esm/assurance/application-document-publication.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/application-document-release-set.schemas.d.ts +1 -9
- package/dist/esm/assurance/application-document-release-set.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/application-risk-register.schemas.d.ts +10 -73
- package/dist/esm/assurance/application-risk-register.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts +34 -0
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts.map +1 -1
- package/dist/esm/assurance/application-risk-signals.derivations.js +45 -1
- package/dist/esm/assurance/application-risk-signals.derivations.js.map +1 -1
- package/dist/esm/assurance/assurance-assessment-twins.d.ts +38 -0
- package/dist/esm/assurance/assurance-assessment-twins.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-assessment-twins.js +36 -0
- package/dist/esm/assurance/assurance-assessment-twins.js.map +1 -0
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +632 -19
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.js +3000 -1063
- package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +27 -22
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.js +1 -0
- package/dist/esm/assurance/assurance-authority-basis.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts +2 -0
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.js +168 -29
- package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts +34 -112
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.js +13 -0
- package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts +121 -114
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.js +142 -7
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +1746 -116
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts +0 -11
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-host-implementation-artifacts.d.ts +77 -0
- package/dist/esm/assurance/assurance-host-implementation-artifacts.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-host-implementation-artifacts.js +51 -0
- package/dist/esm/assurance/assurance-host-implementation-artifacts.js.map +1 -0
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +3 -2
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js +354 -5
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.d.ts +12 -0
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.js +19 -0
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.js.map +1 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.d.ts +422 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.js +886 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.js.map +1 -0
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +61 -182
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.js +180 -22
- package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-program-obligation-standing.d.ts +107 -0
- package/dist/esm/assurance/assurance-program-obligation-standing.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-program-obligation-standing.js +153 -0
- package/dist/esm/assurance/assurance-program-obligation-standing.js.map +1 -0
- package/dist/esm/assurance/assurance-program.schemas.d.ts +373 -1165
- package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.js +267 -18
- package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts +2 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.js +277 -23
- package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.d.ts +17 -0
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.js +246 -0
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.js.map +1 -0
- package/dist/esm/assurance/assurance-sources.schemas.d.ts +84 -24
- package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.js +111 -1
- package/dist/esm/assurance/assurance-sources.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +372 -17
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/governed-document-audience.derivations.d.ts +83 -0
- package/dist/esm/assurance/governed-document-audience.derivations.d.ts.map +1 -0
- package/dist/esm/assurance/governed-document-audience.derivations.js +97 -0
- package/dist/esm/assurance/governed-document-audience.derivations.js.map +1 -0
- package/dist/esm/assurance/governed-document-release.d.ts +15 -1
- package/dist/esm/assurance/governed-document-release.d.ts.map +1 -1
- package/dist/esm/assurance/governed-document-release.js +10 -4
- package/dist/esm/assurance/governed-document-release.js.map +1 -1
- package/dist/esm/assurance.exports.d.ts +5 -0
- package/dist/esm/assurance.exports.d.ts.map +1 -1
- package/dist/esm/assurance.exports.js +5 -0
- package/dist/esm/assurance.exports.js.map +1 -1
- package/dist/esm/companion-exports.d.ts +39 -3
- package/dist/esm/companion-exports.d.ts.map +1 -1
- package/dist/esm/companion-exports.js +61 -0
- package/dist/esm/companion-exports.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts +16 -16
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js +37 -11
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts +3 -3
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +10 -13
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts +19 -19
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +64 -12
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts +4 -4
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +4 -4
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts +7 -6
- package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.js +7 -7
- package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts +20 -12
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +51 -14
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/application-provider-credentials.resource.specification.d.ts +26 -0
- package/dist/esm/engine/auth/resources/application-provider-credentials.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/application-provider-credentials.resource.specification.js +112 -0
- package/dist/esm/engine/auth/resources/application-provider-credentials.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js +4 -4
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/index.d.ts +0 -2
- package/dist/esm/engine/auth/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/index.js +0 -2
- package/dist/esm/engine/auth/resources/index.js.map +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts +13 -12
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js +15 -4
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts +16 -16
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js +44 -17
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +20 -20
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +48 -9
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +25 -21
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +44 -12
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts +20 -14
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js +73 -20
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts +22 -22
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +15 -14
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts +9 -8
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js +20 -16
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts +40 -40
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +135 -16
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts +108 -108
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +80 -20
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-domain-reservations.resource.specification.d.ts +17 -0
- package/dist/esm/engine/auth/resources/sso-domain-reservations.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/sso-domain-reservations.resource.specification.js +85 -0
- package/dist/esm/engine/auth/resources/sso-domain-reservations.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +21 -19
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +14 -10
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts +14 -12
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +4 -2
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts +20 -20
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts +22 -20
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js +9 -8
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts +8 -8
- package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.js +11 -10
- package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.d.ts +16 -16
- package/dist/esm/engine/billing/resources/products.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.js +11 -10
- package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts +11 -11
- package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js +31 -29
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts +22 -21
- package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js +7 -6
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts +48 -48
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +112 -26
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts +30 -26
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.js +5 -2
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +37 -25
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +50 -12
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.d.ts +78 -0
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.js +213 -0
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts +33 -23
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js +61 -21
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/data-subject-requests.resource.specification.d.ts +39 -0
- package/dist/esm/engine/compliance/resources/data-subject-requests.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/data-subject-requests.resource.specification.js +533 -0
- package/dist/esm/engine/compliance/resources/data-subject-requests.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/index.d.ts +2 -0
- package/dist/esm/engine/compliance/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/index.js +2 -0
- package/dist/esm/engine/compliance/resources/index.js.map +1 -1
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts +21 -16
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js +17 -6
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.d.ts +37 -0
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.js +161 -0
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.d.ts +13 -11
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js +9 -1
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/siem-delivery-dlq.resource.specification.d.ts +27 -0
- package/dist/esm/engine/compliance/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/{auth → compliance}/resources/siem-delivery-dlq.resource.specification.js +24 -19
- package/dist/esm/engine/compliance/resources/siem-delivery-dlq.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/siem-delivery-outbox.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/{auth → compliance}/resources/siem-delivery-outbox.resource.specification.js +1 -1
- package/dist/esm/engine/compliance/resources/siem-delivery-outbox.resource.specification.js.map +1 -0
- package/dist/esm/engine/{auth → compliance}/resources/siem-export-config.resource.specification.d.ts +18 -18
- package/dist/esm/engine/compliance/resources/siem-export-config.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/{auth → compliance}/resources/siem-export-config.resource.specification.js +2 -2
- package/dist/esm/engine/compliance/resources/siem-export-config.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/signature-requests.resource.specification.d.ts +45 -0
- package/dist/esm/engine/compliance/resources/signature-requests.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/signature-requests.resource.specification.js +224 -0
- package/dist/esm/engine/compliance/resources/signature-requests.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts +1 -1
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.js +3 -2
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.js.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.js +82 -20
- package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
- package/dist/esm/engine/engine-resource-sub-domain.d.ts +7 -3
- package/dist/esm/engine/engine-resource-sub-domain.d.ts.map +1 -1
- package/dist/esm/engine/engine-resource-sub-domain.js +8 -4
- package/dist/esm/engine/engine-resource-sub-domain.js.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.js +359 -5
- package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
- package/dist/esm/engine/features/core-limits.feature.specifications.d.ts +10 -4
- package/dist/esm/engine/features/core-limits.feature.specifications.d.ts.map +1 -1
- package/dist/esm/engine/features/core-limits.feature.specifications.js +100 -5
- package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
- package/dist/esm/engine/features/custom-branding.feature.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/custom-branding.feature.specification.js +7 -3
- package/dist/esm/engine/features/custom-branding.feature.specification.js.map +1 -1
- package/dist/esm/engine/features/index.d.ts +4 -2
- package/dist/esm/engine/features/index.d.ts.map +1 -1
- package/dist/esm/engine/features/index.js +6 -4
- package/dist/esm/engine/features/index.js.map +1 -1
- package/dist/esm/engine/features/m2m-webhook-delivery.feature.specification.js +1 -1
- package/dist/esm/engine/features/m2m-webhook-delivery.feature.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts +7 -7
- package/dist/esm/engine/features/resources/application-features.resource.specification.js +8 -8
- package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts +7 -7
- package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js +37 -18
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts +7 -7
- package/dist/esm/engine/features/resources/user-features.resource.specification.js +4 -4
- package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.d.ts +27 -24
- package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.js +30 -8
- package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts +30 -30
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +32 -4
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts +18 -18
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +7 -7
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.d.ts +30 -0
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.js +181 -0
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.js +110 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.js +286 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.js +147 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js +71 -26
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.js +97 -0
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.d.ts +46 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.js +196 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +229 -178
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +126 -22
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts +60 -54
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js +23 -8
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.js +184 -0
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js +17 -5
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js +47 -7
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.js +118 -0
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.js +240 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.js +151 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.d.ts +23 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.js +124 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.js +114 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js +45 -3
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.js +9 -3
- package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.js +78 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +7 -5
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.js +3 -2
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/lifecycle-home-activation-progress.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/app/lifecycle-home-activation-progress.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/lifecycle-home-dashboard.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/app/lifecycle-home-dashboard.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/lifecycle-home-welcome-back.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/app/lifecycle-home-welcome-back.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js +2 -1
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js +3 -2
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.js +7 -0
- package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js +6 -6
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.js +24 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.js +6 -6
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.js +128 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/combobox-multiple.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/combobox-multiple.frontend-component.specification.js +1 -0
- package/dist/esm/engine/frontend-components/form/combobox-multiple.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/combobox.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/combobox.frontend-component.specification.js +3 -0
- package/dist/esm/engine/frontend-components/form/combobox.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.js +4 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.js +4 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.js +4 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.js +4 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-picker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-picker.frontend-component.specification.js +3 -0
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.js +4 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/select-multiple.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/select-multiple.frontend-component.specification.js +3 -0
- package/dist/esm/engine/frontend-components/form/controls/enum/select-multiple.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/select.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/select.frontend-component.specification.js +1 -0
- package/dist/esm/engine/frontend-components/form/controls/enum/select.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/input-group.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/input-group.frontend-component.specification.js +1 -0
- package/dist/esm/engine/frontend-components/form/controls/input-group.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/input.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/input.frontend-component.specification.js +1 -0
- package/dist/esm/engine/frontend-components/form/controls/input.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.js +139 -0
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/form/controls/string/color-input.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/color-input.frontend-component.specification.js +3 -0
- package/dist/esm/engine/frontend-components/form/controls/string/color-input.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/input-otp.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/input-otp.frontend-component.specification.js +3 -0
- package/dist/esm/engine/frontend-components/form/controls/string/input-otp.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/markdown-editor.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/markdown-editor.frontend-component.specification.js +3 -0
- package/dist/esm/engine/frontend-components/form/controls/string/markdown-editor.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/textarea.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/textarea.frontend-component.specification.js +3 -0
- package/dist/esm/engine/frontend-components/form/controls/string/textarea.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-chart.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-chart.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.js +5 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/index.d.ts +6 -0
- package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/index.js +26 -0
- package/dist/esm/engine/frontend-components/index.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.js +3 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.js +12 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-filters.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-filters.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.js +7 -3
- package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-operations-items.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-operations-items.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-read.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-read.frontend-component.specification.js +1 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-read.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.js +27 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js +5 -3
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts +16 -14
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js +4 -4
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts +18 -16
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts +20 -18
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.d.ts +24 -0
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.js +136 -0
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js +6 -1
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js +10 -4
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js +20 -2
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js +6 -6
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js +5 -5
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.d.ts +10 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.js +118 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js +54 -8
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +9 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js +33 -5
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-effect-reservations.resource.specification.d.ts +10 -0
- package/dist/esm/engine/infrastructure/resources/external-effect-reservations.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-effect-reservations.resource.specification.js +155 -0
- package/dist/esm/engine/infrastructure/resources/external-effect-reservations.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/idempotent-request-outcomes.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/idempotent-request-outcomes.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/idempotent-request-outcomes.resource.specification.js +155 -0
- package/dist/esm/engine/infrastructure/resources/idempotent-request-outcomes.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +37 -19
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +14 -14
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.d.ts +10 -0
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.js +159 -0
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts +15 -15
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js +45 -16
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.js +100 -0
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.d.ts +37 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.js +183 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts +52 -50
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js +18 -10
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts +86 -53
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js +78 -17
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts +85 -83
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js +59 -55
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts +30 -26
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +38 -20
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts +12 -14
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js +0 -2
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/sms-provider-events.resource.specification.d.ts +56 -0
- package/dist/esm/engine/notifications/resources/sms-provider-events.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/notifications/resources/sms-provider-events.resource.specification.js +277 -0
- package/dist/esm/engine/notifications/resources/sms-provider-events.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts +20 -16
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +13 -8
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts +1 -0
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js +43 -2
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/index.d.ts +0 -1
- package/dist/esm/engine/notifications/system-emails/index.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/index.js +1 -3
- package/dist/esm/engine/notifications/system-emails/index.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts +1 -1
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.js +25 -15
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js +13 -13
- package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/index.d.ts +1 -2
- package/dist/esm/engine/organizations/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/index.js +1 -2
- package/dist/esm/engine/organizations/resources/index.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-custom-domains.resource.specification.d.ts +33 -0
- package/dist/esm/engine/organizations/resources/organization-custom-domains.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/organizations/resources/organization-custom-domains.resource.specification.js +195 -0
- package/dist/esm/engine/organizations/resources/organization-custom-domains.resource.specification.js.map +1 -0
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +19 -18
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js +129 -64
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.d.ts +7 -7
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js +5 -1
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.d.ts +13 -13
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts +12 -11
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +10 -7
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.d.ts +128 -0
- package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.js +653 -0
- package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.js.map +1 -0
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts +9 -9
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js +15 -17
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts +14 -14
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +5 -5
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts +18 -13
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +111 -43
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.d.ts +39 -0
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.js +140 -0
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.js.map +1 -0
- package/dist/esm/engine/providers/anthropic.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/anthropic.provider.specification.js +18 -3
- package/dist/esm/engine/providers/anthropic.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/apple.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/apple.provider.specification.js +6 -2
- package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/github.provider.specification.js +18 -7
- package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/google-drive.provider.specification.d.ts +6 -0
- package/dist/esm/engine/providers/google-drive.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/google-drive.provider.specification.js +48 -0
- package/dist/esm/engine/providers/google-drive.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/google-places.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/google-places.provider.specification.js +5 -2
- package/dist/esm/engine/providers/google-places.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/google.provider.specification.js +8 -2
- package/dist/esm/engine/providers/google.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/grok.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/grok.provider.specification.js +14 -3
- package/dist/esm/engine/providers/grok.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/index.d.ts +2 -0
- package/dist/esm/engine/providers/index.d.ts.map +1 -1
- package/dist/esm/engine/providers/index.js +5 -1
- package/dist/esm/engine/providers/index.js.map +1 -1
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.d.ts +6 -0
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.js +55 -0
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/microsoft.provider.specification.js +26 -3
- package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/mistral.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/mistral.provider.specification.js +20 -5
- package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/openai.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/openai.provider.specification.js +30 -3
- package/dist/esm/engine/providers/openai.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/perplexity.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/perplexity.provider.specification.js +13 -2
- package/dist/esm/engine/providers/perplexity.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/recaptcha.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/recaptcha.provider.specification.js +8 -3
- package/dist/esm/engine/providers/recaptcha.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/resend.provider.specification.js +27 -10
- package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/stripe.provider.specification.js +19 -3
- package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/twilio.provider.specification.js +21 -6
- package/dist/esm/engine/providers/twilio.provider.specification.js.map +1 -1
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js +1 -1
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js.map +1 -1
- package/dist/esm/engine/roles/app-sms-provider-events.role.specification.d.ts +2 -0
- package/dist/esm/engine/roles/app-sms-provider-events.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/app-sms-provider-events.role.specification.js +21 -0
- package/dist/esm/engine/roles/app-sms-provider-events.role.specification.js.map +1 -0
- package/dist/esm/engine/roles/index.d.ts +8 -7
- package/dist/esm/engine/roles/index.d.ts.map +1 -1
- package/dist/esm/engine/roles/index.js +13 -10
- package/dist/esm/engine/roles/index.js.map +1 -1
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts +1 -1
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js +24 -24
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js.map +1 -1
- package/dist/esm/engine/roles/org-representative.role.specification.d.ts +2 -0
- package/dist/esm/engine/roles/org-representative.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/org-representative.role.specification.js +22 -0
- package/dist/esm/engine/roles/org-representative.role.specification.js.map +1 -0
- package/dist/esm/engine/roles/org-signature-provider-events.role.specification.d.ts +2 -0
- package/dist/esm/engine/roles/org-signature-provider-events.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/org-signature-provider-events.role.specification.js +21 -0
- package/dist/esm/engine/roles/org-signature-provider-events.role.specification.js.map +1 -0
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts +13 -12
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +7 -5
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts +12 -12
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +4 -3
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/self-service-user-notifications.shared.js +3 -3
- package/dist/esm/engine/users/resources/self-service-user-notifications.shared.js.map +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts +15 -15
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +3 -3
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts +17 -17
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +13 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts +2 -0
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js +4 -0
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +25 -20
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +8 -8
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts +8 -8
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +3 -3
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +25 -20
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +7 -2
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts +8 -8
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js +2 -2
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts +11 -9
- package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.js +46 -7
- package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/users-api-reference.examples.d.ts +3 -0
- package/dist/esm/engine/users/resources/users-api-reference.examples.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/users-api-reference.examples.js +3 -0
- package/dist/esm/engine/users/resources/users-api-reference.examples.js.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts +12 -10
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.js +26 -15
- package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts +63 -29
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js +75 -11
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.d.ts +2 -2
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts +2 -30
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.js +2 -2
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +51 -24
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-assets.schemas.d.ts +0 -31
- package/dist/esm/technical-documentation/technical-documentation-assets.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-capture.schemas.d.ts +0 -11
- package/dist/esm/technical-documentation/technical-documentation-capture.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.d.ts +0 -20
- package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.d.ts +0 -3
- package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-publication.schemas.d.ts +0 -24
- package/dist/esm/technical-documentation/technical-documentation-publication.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts +0 -12
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +11 -11
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts +0 -35
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +0 -1
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +0 -1
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts.map +0 -1
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js.map +0 -1
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +0 -1
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +0 -1
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts +0 -6
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts.map +0 -1
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.js +0 -146
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.js.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts +0 -38
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js +0 -152
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.d.ts +0 -106
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.d.ts.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js +0 -417
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js.map +0 -1
- package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts +0 -2
- package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts.map +0 -1
- package/dist/esm/engine/roles/org-service-provider.role.specification.js +0 -22
- package/dist/esm/engine/roles/org-service-provider.role.specification.js.map +0 -1
- /package/dist/esm/engine/{auth → compliance}/resources/siem-delivery-outbox.resource.specification.d.ts +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { ApiKeyScope, ApiKeyStatus, CORE_ORG_ROLES, CoreResourceOperation as Op, OrgApiKeys_Operations } from '@wildo-ai/saas-models';
|
|
2
|
-
export declare const organizationApiKeysResourceSpecification: import("../../../_core").ResourceSpecificationConfig<typeof OrgApiKeys_Operations, Op.READ | Op.DELETE | Op.CREATE | Op.LIST | Op.SEARCH | Op.COUNT, import("zod").ZodObject<{
|
|
3
|
-
_id: import("
|
|
4
|
-
name: import("
|
|
2
|
+
export declare const organizationApiKeysResourceSpecification: import("../../../_core").ResourceSpecificationConfig<typeof OrgApiKeys_Operations, Op.READ | Op.UPDATE | Op.DELETE | Op.CREATE | Op.LIST | Op.SEARCH | Op.COUNT, import("zod").ZodObject<{
|
|
3
|
+
_id: import("zod").ZodString;
|
|
4
|
+
name: import("zod").ZodString;
|
|
5
5
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
previousKeyInvalidationDate: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodDate>>>;
|
|
6
|
+
status: import("zod").ZodDefault<import("zod").ZodEnum<typeof ApiKeyStatus>>;
|
|
7
|
+
expiresAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
8
|
+
lentUnderCapabilityGrantId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9
|
+
lastUsedAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
10
|
+
createdAt: import("zod").ZodDefault<import("zod").ZodDate>;
|
|
11
|
+
updatedAt: import("zod").ZodDefault<import("zod").ZodDate>;
|
|
12
|
+
previousHashedKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
13
|
+
previousKeyPrefix: import("zod").ZodOptional<import("zod").ZodString>;
|
|
14
|
+
previousKeyInvalidationDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
16
15
|
scope: import("zod").ZodLiteral<ApiKeyScope.ORGANIZATION>;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
roles: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").CORE_ORG_ROLES>, import("zod").ZodString]>>>;
|
|
17
|
+
organizationId: import("zod").ZodString;
|
|
18
|
+
hashedKey: import("zod").ZodString;
|
|
19
|
+
keyPrefix: import("zod").ZodString;
|
|
20
20
|
}, import("zod/v4/core").$strip>>;
|
|
21
21
|
//# sourceMappingURL=organization-api-keys.resource.specification.d.ts.map
|
package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization-api-keys.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/auth/resources/organization-api-keys.resource.specification.ts"],"names":[],"mappings":"AAWA,OAAO,EAEL,WAAW,EACX,YAAY,EACZ,cAAc,EACd,qBAAqB,IAAI,EAAE,EAC3B,qBAAqB,EAItB,MAAM,uBAAuB,CAAC;AA4C/B,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"organization-api-keys.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/auth/resources/organization-api-keys.resource.specification.ts"],"names":[],"mappings":"AAWA,OAAO,EAEL,WAAW,EACX,YAAY,EACZ,cAAc,EACd,qBAAqB,IAAI,EAAE,EAC3B,qBAAqB,EAItB,MAAM,uBAAuB,CAAC;AA4C/B,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;iCAuiBpD,CAAC"}
|
|
@@ -110,12 +110,10 @@ export const organizationApiKeysResourceSpecification = resourceSpecificationFro
|
|
|
110
110
|
}),
|
|
111
111
|
roles: schemaShape.roles.arraySpec({
|
|
112
112
|
meaning: 'Roles embedded on the key; every request authenticated with it inherits exactly these roles, bounding what the integration or automation user may do (least-privilege).',
|
|
113
|
-
elementMeaning: 'One role
|
|
114
|
-
// Element is
|
|
115
|
-
//
|
|
116
|
-
//
|
|
117
|
-
// for an organization key). App tokens and custom strings remain valid
|
|
118
|
-
// per `elementMeaning`.
|
|
113
|
+
elementMeaning: 'One organization role: a core organization role or an organization role the application declares. An application role confers nothing on an organization credential, and the organization\'s type must offer the role.',
|
|
114
|
+
// Element is `OrgRolesSchema` (#3203): `CORE_ORG_ROLES` plus a custom role string, the
|
|
115
|
+
// organization role table this key acts in. Narrowed from the scope-neutral union so the form offers no role
|
|
116
|
+
// of the other scope, which would confer nothing.
|
|
119
117
|
elementType: {
|
|
120
118
|
enumDeclaration: {
|
|
121
119
|
packageName: '@wildo-ai/saas-models',
|
|
@@ -164,7 +162,7 @@ export const organizationApiKeysResourceSpecification = resourceSpecificationFro
|
|
|
164
162
|
],
|
|
165
163
|
errorScenarios: [
|
|
166
164
|
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an org admin for this key’s tenant (or lacks the super-admin `admin` role for cross-tenant reads).' },
|
|
167
|
-
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A
|
|
165
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A representative of another organization reaches this operation only through a live grant of the `MANAGE_API_KEYS` capability the organization lent its relationship (#1631), and is refused without one. The grant confers only while ACTIVE and before its `endsAt`, and a revocation takes effect on the representative\'s next request.' },
|
|
168
166
|
{ code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No API key exists for the supplied id in the caller’s visible scope.' },
|
|
169
167
|
],
|
|
170
168
|
idempotent: true,
|
|
@@ -225,8 +223,9 @@ export const organizationApiKeysResourceSpecification = resourceSpecificationFro
|
|
|
225
223
|
errorScenarios: [
|
|
226
224
|
{ code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The create payload fails schema validation (e.g. missing `name`, malformed `expiresAt`).' },
|
|
227
225
|
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an org admin (or app-admin acting on the tenant) authorized to mint API keys.' },
|
|
228
|
-
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A
|
|
226
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A representative of another organization reaches this operation only through a live grant of the `MANAGE_API_KEYS` capability the organization lent its relationship (#1631), and is refused without one. The grant confers only while ACTIVE and before its `endsAt`, and a revocation takes effect on the representative\'s next request.' },
|
|
229
227
|
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The key would carry a role above the caller\'s own (`role_ceiling_exceeded`). A delegated capability role (`ORG_DELEGATED_*`, #1631) is never within anyone\'s ceiling: a capability comes only from a live grant, so it cannot be copied onto a standing credential, and a machine principal that presented one would be refused.' },
|
|
228
|
+
{ code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'A requested role is not one the organization\'s type offers (`availableOrgRoles`), whoever mints or edits it, a platform super-administrator included: the role ceiling decides how high a role may be, the type decides which roles exist here (`machine_credential_role_not_offered_by_organization_type`, #2648). A stored role the type later withdraws confers nothing from the next request on.' },
|
|
230
229
|
],
|
|
231
230
|
idempotent: false,
|
|
232
231
|
rateLimitNote: 'Key minting is a credential-issuance path and may be rate-limited per organization to slow brute-force credential creation.',
|
|
@@ -242,22 +241,42 @@ export const organizationApiKeysResourceSpecification = resourceSpecificationFro
|
|
|
242
241
|
},
|
|
243
242
|
response: {
|
|
244
243
|
...ORGANIZATION_API_KEY_RECORD_EXAMPLE,
|
|
245
|
-
hashedKey: '4e47f19d78f4dba34a69075f877494db564faca7327849e6c15a47921a72e931',
|
|
246
244
|
plainKey: 'sk_org_a_example-secret-returned-once',
|
|
247
245
|
},
|
|
248
246
|
forStatus: HttpResponseStatusCode.CREATED_201,
|
|
249
247
|
},
|
|
250
248
|
],
|
|
251
249
|
},
|
|
250
|
+
[Op.UPDATE]: {
|
|
251
|
+
purpose: 'Rename a key, describe it, or change the roles it holds. The secret, the status and the expiry are not touched: rotate / regenerate, deactivate / reactivate and extend expiry own them.',
|
|
252
|
+
outcome: 'The key keeps authenticating with the same secret, under the new name and roles. A role change is audited with the roles before and after.',
|
|
253
|
+
responseStatuses: [
|
|
254
|
+
{ code: HttpResponseStatusCode.OK_200, meaning: 'The key was updated; the body is the key without any secret material.' },
|
|
255
|
+
],
|
|
256
|
+
errorScenarios: [
|
|
257
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-admin (or app-admin) role required to manage keys.' },
|
|
258
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A requested role is above the caller\'s own roles. A key never holds authority its editor could not grant, exactly as at creation.' },
|
|
259
|
+
{ code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'A requested role is not one the organization\'s type offers (`availableOrgRoles`), whoever mints or edits it, a platform super-administrator included: the role ceiling decides how high a role may be, the type decides which roles exist here (`machine_credential_role_not_offered_by_organization_type`, #2648). A stored role the type later withdraws confers nothing from the next request on.' },
|
|
260
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A representative of another organization reaches this operation only through a live grant of the `MANAGE_API_KEYS` capability the organization lent its relationship (#1631), and is refused without one.' },
|
|
261
|
+
{ code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No API key exists for the supplied id.' },
|
|
262
|
+
],
|
|
263
|
+
idempotent: true,
|
|
264
|
+
examples: [{
|
|
265
|
+
title: 'Rename a key and narrow what it may do',
|
|
266
|
+
request: { name: 'Order sync (read-only)', roles: [CORE_ORG_ROLES.ORG_MEMBER] },
|
|
267
|
+
response: { ...ORGANIZATION_API_KEY_RECORD_EXAMPLE, name: 'Order sync (read-only)', updatedAt: '2026-10-03T10:30:00.000Z' },
|
|
268
|
+
forStatus: HttpResponseStatusCode.OK_200,
|
|
269
|
+
}],
|
|
270
|
+
},
|
|
252
271
|
[Op.DELETE]: {
|
|
253
272
|
purpose: 'Permanently remove an organization API key that is no longer needed.',
|
|
254
273
|
outcome: 'The key can no longer authenticate API traffic.',
|
|
255
274
|
responseStatuses: [
|
|
256
|
-
{ code: HttpResponseStatusCode.
|
|
275
|
+
{ code: HttpResponseStatusCode.OK_200, meaning: 'The key was deleted and can no longer authenticate. The body carries its `id`; the bulk route answers `{ deletedIds, deletedCount }` instead.' },
|
|
257
276
|
],
|
|
258
277
|
errorScenarios: [
|
|
259
278
|
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-admin (or app-admin) role required to retire keys.' },
|
|
260
|
-
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A
|
|
279
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A representative of another organization reaches this operation only through a live grant of the `MANAGE_API_KEYS` capability the organization lent its relationship (#1631), and is refused without one. The grant confers only while ACTIVE and before its `endsAt`, and a revocation takes effect on the representative\'s next request.' },
|
|
261
280
|
{ code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No API key exists for the supplied id (or it was already deleted).' },
|
|
262
281
|
],
|
|
263
282
|
idempotent: true,
|
|
@@ -271,7 +290,7 @@ export const organizationApiKeysResourceSpecification = resourceSpecificationFro
|
|
|
271
290
|
],
|
|
272
291
|
errorScenarios: [
|
|
273
292
|
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the role to rotate this key (org-admin in tenant scope, or app-admin cross-tenant).' },
|
|
274
|
-
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A
|
|
293
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A representative of another organization reaches this operation only through a live grant of the `MANAGE_API_KEYS` capability the organization lent its relationship (#1631), and is refused without one. The grant confers only while ACTIVE and before its `endsAt`, and a revocation takes effect on the representative\'s next request.' },
|
|
275
294
|
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The operation declares `requiresStepUpAuthentication`, and the request carried no valid single-use re-authentication token. Rotation hands back the replacement in plaintext and establishes when the previous key becomes unusable, so holding a live session is deliberately not sufficient — obtain a token from the re-authentication route and retry with it.', customMessageReference: ErrorCustomMessageReference.STEP_UP_REQUIRED },
|
|
276
295
|
{ code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No API key exists for the supplied id in the caller’s scope.' },
|
|
277
296
|
{ code: HttpResponseStatusCode.CONFLICT_409, when: 'The key is in a state that cannot be rotated (e.g. already revoked/expired), so reissuing the secret is an illegal transition.' },
|
|
@@ -302,7 +321,7 @@ export const organizationApiKeysResourceSpecification = resourceSpecificationFro
|
|
|
302
321
|
],
|
|
303
322
|
errorScenarios: [
|
|
304
323
|
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the role to regenerate this key’s secret.' },
|
|
305
|
-
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A
|
|
324
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A representative of another organization reaches this operation only through a live grant of the `MANAGE_API_KEYS` capability the organization lent its relationship (#1631), and is refused without one. The grant confers only while ACTIVE and before its `endsAt`, and a revocation takes effect on the representative\'s next request.' },
|
|
306
325
|
{ code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No API key exists for the supplied id in the caller’s scope.' },
|
|
307
326
|
{ code: HttpResponseStatusCode.CONFLICT_409, when: 'The key is not in a regenerable state (e.g. permanently revoked), so issuing fresh material is rejected.' },
|
|
308
327
|
],
|
|
@@ -341,7 +360,7 @@ export const organizationApiKeysResourceSpecification = resourceSpecificationFro
|
|
|
341
360
|
],
|
|
342
361
|
errorScenarios: [
|
|
343
362
|
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the role to disable this key.' },
|
|
344
|
-
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A
|
|
363
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A representative of another organization reaches this operation only through a live grant of the `MANAGE_API_KEYS` capability the organization lent its relationship (#1631), and is refused without one. The grant confers only while ACTIVE and before its `endsAt`, and a revocation takes effect on the representative\'s next request.' },
|
|
345
364
|
{ code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No API key exists for the supplied id in the caller’s scope.' },
|
|
346
365
|
{ code: HttpResponseStatusCode.CONFLICT_409, when: 'The key is already inactive or expired, so deactivation is not a legal transition.' },
|
|
347
366
|
],
|
|
@@ -364,7 +383,7 @@ export const organizationApiKeysResourceSpecification = resourceSpecificationFro
|
|
|
364
383
|
],
|
|
365
384
|
errorScenarios: [
|
|
366
385
|
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the role to re-enable this key.' },
|
|
367
|
-
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A
|
|
386
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A representative of another organization reaches this operation only through a live grant of the `MANAGE_API_KEYS` capability the organization lent its relationship (#1631), and is refused without one. The grant confers only while ACTIVE and before its `endsAt`, and a revocation takes effect on the representative\'s next request.' },
|
|
368
387
|
{ code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No API key exists for the supplied id in the caller’s scope.' },
|
|
369
388
|
{ code: HttpResponseStatusCode.CONFLICT_409, when: 'The key is expired or already active, so reactivation is not a legal transition.' },
|
|
370
389
|
],
|
|
@@ -388,7 +407,7 @@ export const organizationApiKeysResourceSpecification = resourceSpecificationFro
|
|
|
388
407
|
errorScenarios: [
|
|
389
408
|
{ code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The requested expiry is missing or not a future date per the request DTO contract.' },
|
|
390
409
|
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the role to extend this key’s validity.' },
|
|
391
|
-
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A
|
|
410
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A representative of another organization reaches this operation only through a live grant of the `MANAGE_API_KEYS` capability the organization lent its relationship (#1631), and is refused without one. The grant confers only while ACTIVE and before its `endsAt`, and a revocation takes effect on the representative\'s next request.' },
|
|
392
411
|
{ code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No API key exists for the supplied id in the caller’s scope.' },
|
|
393
412
|
{ code: HttpResponseStatusCode.CONFLICT_409, when: 'The key has no expiry set, so there is no expiration window to extend.' },
|
|
394
413
|
],
|
|
@@ -438,7 +457,7 @@ export const organizationApiKeysResourceSpecification = resourceSpecificationFro
|
|
|
438
457
|
},
|
|
439
458
|
layout: {
|
|
440
459
|
purpose: 'A header that names the key and carries its status badge, then two groups: `overview` (key prefix, roles, description — no heading, since it would restate the header) and `lifecycle` (expiry, last use and creation; and, only while a rotated key\'s previous secret still authenticates, that secret\'s prefix and when it stops). After a regenerate the previous secret has no end date and keeps working until the next rotation, which the prefix row\'s description says. `scope` is not rendered: the organization schema fixes it to one literal.',
|
|
441
|
-
headerPurpose: 'The READ
|
|
460
|
+
headerPurpose: 'The READ header: the key name on the title line and its `status` badge on the facts line under it. Neither repeats in the body.',
|
|
442
461
|
displayPurpose: 'Settings rows with no section descriptions; the first card has no heading; an absent description, expiry or last use hides its row instead of showing a dash. The previous secret\'s prefix and end date appear only while that secret still authenticates, by the same rule the request authentication applies.',
|
|
443
462
|
summaryPurpose: 'A registry row or card: the name, the `status` badge, and the key prefix — the one card value that keeps its label, since a bare prefix reads as a second name.',
|
|
444
463
|
editPurpose: 'The CREATE form (the resource has no UPDATE): one stacked column with no headings — name (focused), description as a textarea, roles, expiry, status.',
|
|
@@ -485,6 +504,14 @@ export const organizationApiKeysResourceSpecification = resourceSpecificationFro
|
|
|
485
504
|
admin: { purpose: 'Super-admin search with additional filter fields in factory config.', whenToUse: 'Platform-wide directory maintenance.' },
|
|
486
505
|
},
|
|
487
506
|
},
|
|
507
|
+
[Op.UPDATE]: {
|
|
508
|
+
purpose: 'Edit a key\'s name, description and roles from its row; the form shows only those fields.',
|
|
509
|
+
whenToUse: 'Renaming a key, or narrowing or widening what an integration may do without reissuing its secret.',
|
|
510
|
+
variants: {
|
|
511
|
+
default: { purpose: 'Org admin edit within the tenant boundary.', whenToUse: 'Normal tenant-driven maintenance.' },
|
|
512
|
+
admin: { purpose: 'App-admin edit in elevated contexts.', whenToUse: 'Operator support and migration.' },
|
|
513
|
+
},
|
|
514
|
+
},
|
|
488
515
|
[Op.DELETE]: {
|
|
489
516
|
purpose: 'Delete one or more keys with optional bulk in factory config.',
|
|
490
517
|
whenToUse: 'Key retirement and offboarding when policy allows API delete.',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization-api-keys.resource.specification.js","sourceRoot":"","sources":["../../../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AE,wGAAwG;YACjH,SAAS,EAAE,+CAA+C;YAC1D,QAAQ,EAAE;gBACR,OAAO,EAAE,EAAE,OAAO,EAAE,4CAA4C,EAAE,SAAS,EAAE,yBAAyB,EAAE;gBACxG,KAAK,EAAE,EAAE,OAAO,EAAE,uDAAuD,EAAE,SAAS,EAAE,mCAAmC,EAAE;aAC5H;SACF;QACD,CAAC,qBAAqB,CAAC,WAAW,CAAC,EAAE;YACnC,OAAO,EAAE,uFAAuF;YAChG,SAAS,EAAE,2DAA2D;YACtE,QAAQ,EAAE;gBACR,OAAO,EAAE,EAAE,OAAO,EAAE,4CAA4C,EAAE,SAAS,EAAE,0CAA0C,EAAE;gBACzH,KAAK,EAAE,EAAE,OAAO,EAAE,6CAA6C,EAAE,SAAS,EAAE,sCAAsC,EAAE;aACrH;SACF;KACF;CACF,CAAC,CACH,CAAC","sourcesContent":["import {\n orgApiKeysAdminResourceUIBehavior as orgApiKeysAdminSource,\n orgApiKeysMainResourceUIBehavior as orgApiKeysMainSource,\n} from '@wildo-ai/presets-components';\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport type { ResourceUIBehaviorConfig } from '@wildo-ai/saas-frontend-lib/companion';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n ApiKeyOrganizationSchema,\n ApiKeyScope,\n ApiKeyStatus,\n CORE_ORG_ROLES,\n CoreResourceOperation as Op,\n OrgApiKeys_Operations,\n ResourcePrimaryScope,\n orgApiKeysResourceConfiguration_InitializationFactory as orgApiKeysFactory,\n ErrorCustomMessageReference,\n} from '@wildo-ai/saas-models';\nimport {\n HttpResponseStatusCode,\n mergeResourceFrontendConfigurations,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n} from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype Cfg = ReturnType<typeof orgApiKeysFactory>;\ntype Custom = NonNullable<Cfg['customOperation']>;\ntype Core = Cfg['coreOperations'][number];\ntype Main = Cfg['mainSchema'];\n\nconst orgApiKeysMainUIBehavior = orgApiKeysMainSource as ResourceUIBehaviorConfig<Custom, Core, Main>;\nconst orgApiKeysAdminUIBehavior = orgApiKeysAdminSource as ResourceUIBehaviorConfig<Custom, Core, Main>;\n\n/**\n * One schema-complete, non-secret record used by READ and collection examples.\n * Credential-issuing operations extend it with their one-time fields so the\n * OpenAPI examples cannot accidentally teach that `plainKey` is available on a\n * later READ.\n */\nconst ORGANIZATION_API_KEY_RECORD_EXAMPLE = {\n _id: 'orgkey_01JEXAMPLE',\n name: 'Production order sync',\n description: 'Least-privilege credential used by the order synchronization worker.',\n scope: ApiKeyScope.ORGANIZATION,\n roles: [CORE_ORG_ROLES.ORG_MEMBER],\n status: ApiKeyStatus.ACTIVE,\n expiresAt: '2099-01-01T00:00:00.000Z',\n lastUsedAt: '2026-08-18T09:42:12.000Z',\n createdAt: '2026-06-01T08:00:00.000Z',\n updatedAt: '2026-08-18T09:42:12.000Z',\n organizationId: 'org_01JEXAMPLE',\n keyPrefix: 'sk_org_a',\n} as const;\n\nconst ORGANIZATION_API_KEY_PAGE_EXAMPLE = {\n data: [ORGANIZATION_API_KEY_RECORD_EXAMPLE],\n pagination: { page: 1, limit: 20, total: 1, totalPages: 1 },\n} as const;\n\nexport const organizationApiKeysResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n mergeResourceFrontendConfigurations(\n resourceFrontendConfiguration(orgApiKeysMainUIBehavior),\n resourceFrontendConfiguration(orgApiKeysAdminUIBehavior),\n ),\n resourceSpecification(\n orgApiKeysFactory,\n ApiKeyOrganizationSchema,\n ({ schemaShape }) => ({\n purpose: 'Organization-scoped API keys: secrets used by org administrators and integrations to call backend APIs in tenant context.',\n businessRole: 'First-class auth credential for automation and partner integrations, distinct from end-user sessions.',\n lifecycleRole: 'Created with optional expiry, then rotated, deactivated or deleted by organization administrators. Per-key request analytics are not currently recorded.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.AUTH,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'ApiKeyOrganizationSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'orgApiKeysResourceConfiguration_InitializationFactory',\n symbolKind: CodeSymbolKind.FACTORY,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resourceType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'ORG_API_KEYS',\n },\n operationVocabulary: {\n coreEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n customEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrgApiKeys_Operations',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n frontendConfigurationSources: [\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'orgApiKeysMainResourceUIBehavior',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'orgApiKeysAdminResourceUIBehavior',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n ],\n },\n fields: {\n name: schemaShape.name.stringSpec({\n meaning: 'Human label for the key in admin UI and support.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n status: schemaShape.status.enumSpec({\n meaning: 'Whether the key can authenticate traffic.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'ApiKeyStatus',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [ApiKeyStatus.ACTIVE]: { meaning: 'Key may be used within policy and expiry.' },\n [ApiKeyStatus.INACTIVE]: { meaning: 'Revoked or disabled; authentications should fail.' },\n [ApiKeyStatus.EXPIRED]: { meaning: 'Past its validity window; treat as invalid.' },\n },\n }),\n keyPrefix: schemaShape.keyPrefix.stringSpec({\n meaning: 'Short public prefix of the key material for list records and support correlation.',\n }),\n roles: schemaShape.roles.arraySpec({\n meaning: 'Roles embedded on the key; every request authenticated with it inherits exactly these roles, bounding what the integration or automation user may do (least-privilege).',\n elementMeaning: 'One role identifier — a core app/org role token or an app-defined custom role string.',\n // Element is a union of `CORE_APP_ROLES` + `CORE_ORG_ROLES` + a free\n // custom-role string; the shape validator requires ONE enum vocabulary\n // to advertise, so we name the org-scope enum (the primary vocabulary\n // for an organization key). App tokens and custom strings remain valid\n // per `elementMeaning`.\n elementType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CORE_ORG_ROLES',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n }),\n organizationId: schemaShape.organizationId.stringSpec({\n meaning: 'Owning organization; immutable after create.',\n }),\n expiresAt: schemaShape.expiresAt.dateSpec({ meaning: 'Optional automatic invalidation time.' }),\n lastUsedAt: schemaShape.lastUsedAt.dateSpec({\n meaning: 'When the key was last accepted, to the minute. Absent when it has never been used.',\n whyItMatters: 'It is how an administrator finds keys nobody uses any more, which are the first to revoke. Written by the application each time the key authenticates a request, at most once a minute, and never counted as a change to the key.',\n }),\n previousKeyInvalidationDate: schemaShape.previousKeyInvalidationDate.dateSpec({\n meaning: 'After a rotation, when the PRIOR secret stops authenticating. During this grace window both the new and previous secrets work so integrations can migrate without downtime; absent/null after a regenerate means the prior secret stays valid until the next rotation.',\n }),\n previousKeyPrefix: schemaShape.previousKeyPrefix.stringSpec({\n meaning: 'The first 8 characters of the secret this key had before its last rotation or regeneration, so that value can still be recognised. Absent until the key is first reissued.',\n whyItMatters: 'Shown only while that previous secret still authenticates. When no end date is shown beside it — after a regenerate — it keeps working until the key is rotated or regenerated again, so an integration still using it is not cut off, and a leaked old secret is not revoked by regenerating.',\n }),\n description: schemaShape.description.stringSpec({\n meaning: 'Optional note on what the key is for, up to 500 characters. It is matched by search.',\n }),\n },\n operations: {\n [Op.COUNT]: {\n purpose: 'Repository-only counts for entitlements and feature metering.',\n outcome: 'Numeric total of keys per scope without a public list.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The count of API keys in scope is returned for entitlement/metering checks.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the operator/metering role; this repository-only count is not a member-facing surface.' },\n ],\n idempotent: true,\n },\n [Op.READ]: {\n purpose: 'Inspect one key (org admin default; app super-admin `admin` variant for cross-tenant).',\n outcome: 'Metadata and status without revealing raw secret material.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The key’s metadata and status are returned (never the raw secret material).' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an org admin for this key’s tenant (or lacks the super-admin `admin` role for cross-tenant reads).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A service firm\\'s expert reaches this operation only through a live grant of the `MANAGE_API_KEYS` capability the organization lent its relationship (#1631), and is refused without one. The grant confers only while ACTIVE and before its `endsAt`, and a revocation takes effect on the expert\\'s next request.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No API key exists for the supplied id in the caller’s visible scope.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Inspect an active integration key',\n response: ORGANIZATION_API_KEY_RECORD_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: { examples: [] },\n summary: { examples: [] },\n },\n },\n [Op.LIST]: {\n purpose: 'Enumerate keys the caller may see; members see a reduced roster vs admins.',\n outcome: 'Rows for security settings and admin consoles.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of API keys the caller is permitted to see.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks any role that grants visibility into the organization’s API-key roster.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Browse organization integration keys',\n request: { page: 1, limit: 20, sort: 'createdAt:desc' },\n response: ORGANIZATION_API_KEY_PAGE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: { examples: [] },\n summary: { examples: [] },\n },\n },\n [Op.SEARCH]: {\n purpose: 'Filter/sort with broader fields on the super-admin `admin` search variant.',\n outcome: 'Matching keys in large-tenant and platform views.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of API keys matching the search/filter query.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the role for the requested search scope (the broader-field filters require the super-admin `admin` variant).' },\n ],\n idempotent: true,\n examples: [{\n title: 'Find active expiring production keys',\n request: { q: 'production', status: ApiKeyStatus.ACTIVE, hasExpiration: true, page: 1, limit: 20, sort: 'lastUsedAt:desc' },\n response: ORGANIZATION_API_KEY_PAGE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.CREATE]: {\n purpose: 'Create a new organization API key for an integration or automation client.',\n outcome: 'The key is created and its plaintext value is returned exactly once. Store it before dismissing the response; later reads expose only its prefix.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'A new API key is minted; the org-admin path returns the full plaintext secret exactly once in this response.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The create payload fails schema validation (e.g. missing `name`, malformed `expiresAt`).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an org admin (or app-admin acting on the tenant) authorized to mint API keys.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A service firm\\'s expert reaches this operation only through a live grant of the `MANAGE_API_KEYS` capability the organization lent its relationship (#1631), and is refused without one. The grant confers only while ACTIVE and before its `endsAt`, and a revocation takes effect on the expert\\'s next request.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The key would carry a role above the caller\\'s own (`role_ceiling_exceeded`). A delegated capability role (`ORG_DELEGATED_*`, #1631) is never within anyone\\'s ceiling: a capability comes only from a live grant, so it cannot be copied onto a standing credential, and a machine principal that presented one would be refused.' },\n ],\n idempotent: false,\n rateLimitNote: 'Key minting is a credential-issuance path and may be rate-limited per organization to slow brute-force credential creation.',\n examples: [\n {\n title: 'Mint an organization API key with an expiry',\n request: {\n name: 'Production order sync',\n description: 'Least-privilege credential used by the order synchronization worker.',\n roles: [CORE_ORG_ROLES.ORG_MEMBER],\n status: ApiKeyStatus.ACTIVE,\n expiresAt: '2099-01-01T00:00:00.000Z',\n },\n response: {\n ...ORGANIZATION_API_KEY_RECORD_EXAMPLE,\n hashedKey: '4e47f19d78f4dba34a69075f877494db564faca7327849e6c15a47921a72e931',\n plainKey: 'sk_org_a_example-secret-returned-once',\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.DELETE]: {\n purpose: 'Permanently remove an organization API key that is no longer needed.',\n outcome: 'The key can no longer authenticate API traffic.',\n responseStatuses: [\n { code: HttpResponseStatusCode.NO_CONTENT_204, meaning: 'The key was deleted and can no longer authenticate; no body is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-admin (or app-admin) role required to retire keys.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A service firm\\'s expert reaches this operation only through a live grant of the `MANAGE_API_KEYS` capability the organization lent its relationship (#1631), and is refused without one. The grant confers only while ACTIVE and before its `endsAt`, and a revocation takes effect on the expert\\'s next request.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No API key exists for the supplied id (or it was already deleted).' },\n ],\n idempotent: true,\n },\n [OrgApiKeys_Operations.ROTATE]: {\n operationId: OrgApiKeys_Operations.ROTATE,\n purpose: 'Issue a new secret and schedule invalidation of the previous material.',\n outcome: 'The new plaintext key is returned exactly once. The previous key remains valid until the requested invalidation time so callers can migrate without downtime.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A fresh secret is issued and returned once; the previous material is scheduled for invalidation.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the role to rotate this key (org-admin in tenant scope, or app-admin cross-tenant).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A service firm\\'s expert reaches this operation only through a live grant of the `MANAGE_API_KEYS` capability the organization lent its relationship (#1631), and is refused without one. The grant confers only while ACTIVE and before its `endsAt`, and a revocation takes effect on the expert\\'s next request.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The operation declares `requiresStepUpAuthentication`, and the request carried no valid single-use re-authentication token. Rotation hands back the replacement in plaintext and establishes when the previous key becomes unusable, so holding a live session is deliberately not sufficient — obtain a token from the re-authentication route and retry with it.', customMessageReference: ErrorCustomMessageReference.STEP_UP_REQUIRED },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No API key exists for the supplied id in the caller’s scope.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The key is in a state that cannot be rotated (e.g. already revoked/expired), so reissuing the secret is an illegal transition.' },\n ],\n idempotent: false,\n rateLimitNote: 'Rotation issues new secret material and may be rate-limited to prevent rapid churn of live credentials.',\n examples: [{\n title: 'Rotate with a 24-hour migration window',\n request: { oldKeyInvalidationDate: '2099-01-02T00:00:00.000Z' },\n response: {\n ...ORGANIZATION_API_KEY_RECORD_EXAMPLE,\n keyPrefix: 'sk_org_b',\n previousKeyPrefix: ORGANIZATION_API_KEY_RECORD_EXAMPLE.keyPrefix,\n previousKeyInvalidationDate: '2099-01-02T00:00:00.000Z',\n plainKey: 'sk_org_b_example-secret-returned-once',\n oldKeyId: ORGANIZATION_API_KEY_RECORD_EXAMPLE._id,\n oldKeyInvalidationDate: '2099-01-02T00:00:00.000Z',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [OrgApiKeys_Operations.REGENERATE]: {\n operationId: OrgApiKeys_Operations.REGENERATE,\n purpose: 'Generate a new secret without a mandatory invalidation window for the old key yet.',\n outcome: 'The new plaintext key is returned exactly once while the previous key remains valid until a later rotation completes the cutover.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A new secret is generated and returned once; the prior material stays valid to allow an overlap window.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the role to regenerate this key’s secret.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A service firm\\'s expert reaches this operation only through a live grant of the `MANAGE_API_KEYS` capability the organization lent its relationship (#1631), and is refused without one. The grant confers only while ACTIVE and before its `endsAt`, and a revocation takes effect on the expert\\'s next request.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No API key exists for the supplied id in the caller’s scope.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The key is not in a regenerable state (e.g. permanently revoked), so issuing fresh material is rejected.' },\n ],\n idempotent: false,\n rateLimitNote: 'Secret regeneration is a credential-issuance path and may be rate-limited per key.',\n examples: [{\n title: 'Regenerate while retaining the previous secret',\n request: {},\n response: {\n ...ORGANIZATION_API_KEY_RECORD_EXAMPLE,\n keyPrefix: 'sk_org_c',\n previousKeyPrefix: ORGANIZATION_API_KEY_RECORD_EXAMPLE.keyPrefix,\n plainKey: 'sk_org_c_example-secret-returned-once',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n /**\n * INTERNAL_CALL, so this entry documents SEMANTICS and deliberately carries no HTTP\n * response statuses, error scenarios or examples: there is no route to call and no\n * response a consumer receives. Authoring a `200 OK` example here would document a door\n * that does not exist, which is worse than the silence.\n */\n [OrgApiKeys_Operations.EXPIRE]: {\n operationId: OrgApiKeys_Operations.EXPIRE,\n purpose: 'Record that a key’s validity window has elapsed, so a listing shows it as expired rather than active.',\n outcome: 'Status becomes expired. Nothing about authentication changes — the key already stopped working the instant its expiry passed.',\n whenToUse: 'Never called directly. The nightly credential-expiry sweep dispatches it; an administrator who wants a key gone sooner deactivates it, and one who wants it to last longer extends its expiry.',\n },\n [OrgApiKeys_Operations.DEACTIVATE]: {\n operationId: OrgApiKeys_Operations.DEACTIVATE,\n purpose: 'Turn off authentication for an active key without deleting its metadata.',\n outcome: 'Status becomes inactive; reactivation is a separate op when allowed.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The key’s status is set to inactive and it can no longer authenticate until reactivated. This operation accepts an empty JSON object.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the role to disable this key.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A service firm\\'s expert reaches this operation only through a live grant of the `MANAGE_API_KEYS` capability the organization lent its relationship (#1631), and is refused without one. The grant confers only while ACTIVE and before its `endsAt`, and a revocation takes effect on the expert\\'s next request.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No API key exists for the supplied id in the caller’s scope.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The key is already inactive or expired, so deactivation is not a legal transition.' },\n ],\n // NOT idempotent: the ACTIVE precondition flips on the first call, so a repeat is the\n // 409 above rather than a second 200.\n idempotent: false,\n examples: [{\n title: 'Deactivate a compromised integration key',\n request: {},\n response: { ...ORGANIZATION_API_KEY_RECORD_EXAMPLE, status: ApiKeyStatus.INACTIVE },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [OrgApiKeys_Operations.REACTIVATE]: {\n operationId: OrgApiKeys_Operations.REACTIVATE,\n purpose: 'Re-enable a previously inactive key if policy still permits.',\n outcome: 'The key returns to an active state and may authenticate again, provided it has not expired.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The key’s status returns to active and it may authenticate traffic again. This operation accepts an empty JSON object.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the role to re-enable this key.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A service firm\\'s expert reaches this operation only through a live grant of the `MANAGE_API_KEYS` capability the organization lent its relationship (#1631), and is refused without one. The grant confers only while ACTIVE and before its `endsAt`, and a revocation takes effect on the expert\\'s next request.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No API key exists for the supplied id in the caller’s scope.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The key is expired or already active, so reactivation is not a legal transition.' },\n ],\n // NOT idempotent: the INACTIVE precondition flips on the first call, so a repeat is the\n // 409 above rather than a second 200.\n idempotent: false,\n examples: [{\n title: 'Reactivate a remediated integration key',\n request: {},\n response: ORGANIZATION_API_KEY_RECORD_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [OrgApiKeys_Operations.EXTEND_EXPIRY]: {\n operationId: OrgApiKeys_Operations.EXTEND_EXPIRY,\n purpose: 'Push the expiration time when a dated key is still in use.',\n outcome: 'Updated validity; only meaningful when the key has an expiry set.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The key’s `expiresAt` is pushed to the requested future time and the updated validity window is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The requested expiry is missing or not a future date per the request DTO contract.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the role to extend this key’s validity.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A service firm\\'s expert reaches this operation only through a live grant of the `MANAGE_API_KEYS` capability the organization lent its relationship (#1631), and is refused without one. The grant confers only while ACTIVE and before its `endsAt`, and a revocation takes effect on the expert\\'s next request.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No API key exists for the supplied id in the caller’s scope.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The key has no expiry set, so there is no expiration window to extend.' },\n ],\n idempotent: false,\n examples: [{\n title: 'Extend a key before its scheduled expiry',\n request: { newExpiresAt: '2099-06-30T00:00:00.000Z' },\n response: { ...ORGANIZATION_API_KEY_RECORD_EXAMPLE, expiresAt: '2099-06-30T00:00:00.000Z' },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [OrgApiKeys_Operations.USAGE_STATS]: {\n operationId: OrgApiKeys_Operations.USAGE_STATS,\n purpose: 'Report how an organization API key has been used, so an administrator can find stale or unexpectedly busy keys.',\n outcome: 'The key\\u2019s recorded use: requests authenticated with it over the last hour, day and week, the share of them that failed, the route it reached most, and when it was last accepted. Every door that accepts a key records its use; counts are a rolling week, not a lifetime ledger, and a lifetime total and a rate-limit count are not reported because nothing can answer them truthfully.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The key\\u2019s usage statistics are returned. A key never used reports zero counts and no `lastUsedAt`.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the role to view this key’s usage analytics.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No API key exists for the supplied id in the caller’s scope.' },\n ],\n idempotent: true,\n examples: [{\n title: 'A key in regular use',\n response: {\n keyId: ORGANIZATION_API_KEY_RECORD_EXAMPLE._id,\n requestsLastHour: 12,\n requestsLastDay: 240,\n requestsLastWeek: 1480,\n lastUsedAt: '2026-09-27T09:58:00.000Z',\n mostUsedEndpoint: 'GET /api/v1/organizations/:organizationId/todos',\n errorRate: 1.35,\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n businessConstraints: [\n 'The plaintext key is only returned on create/rotate paths where the factory sets ephemeral response DTOs; companion copy must not imply clients can re-fetch full secrets later.',\n 'Super-admin `admin` HTTP variants mirror org-admin operations across tenants; wire RBAC to factory roles, not guesswork.',\n 'ROTATE/REGENERATE keep the PRIOR secret authenticating during a grace window (rotate: until `previousKeyInvalidationDate`; regenerate: until the next rotation), so API-key authentication accepts the current OR the not-yet-invalidated previous secret — a rotation is an immediate hard cutover only when `oldKeyInvalidationDate` is now (the default).',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n ),\n () => ({\n label: {\n purpose: 'Use the key `name` as the list and detail title so support can match rows to user-provided labels.',\n },\n layout: {\n purpose: 'A header that names the key and carries its status badge, then two groups: `overview` (key prefix, roles, description — no heading, since it would restate the header) and `lifecycle` (expiry, last use and creation; and, only while a rotated key\\'s previous secret still authenticates, that secret\\'s prefix and when it stops). After a regenerate the previous secret has no end date and keeps working until the next rotation, which the prefix row\\'s description says. `scope` is not rendered: the organization schema fixes it to one literal.',\n headerPurpose: 'The READ identity line: the key name as the title and its `status` badge beside it. Neither repeats in the body.',\n displayPurpose: 'Settings rows with no section descriptions; the first card has no heading; an absent description, expiry or last use hides its row instead of showing a dash. The previous secret\\'s prefix and end date appear only while that secret still authenticates, by the same rule the request authentication applies.',\n summaryPurpose: 'A registry row or card: the name, the `status` badge, and the key prefix — the one card value that keeps its label, since a bare prefix reads as a second name.',\n editPurpose: 'The CREATE form (the resource has no UPDATE): one stacked column with no headings — name (focused), description as a textarea, roles, expiry, status.',\n sections: {\n overview: {\n purpose: 'The key prefix (the visible first characters of the secret, never the secret), the roles embedded on the key, and its description. The name and status are the header\\'s, so they are not rows here.',\n whenToUse: 'Read-only key inspection.',\n textSlots: {\n title: { purpose: 'Label the key\\'s identity and access block (not rendered on the read page, whose header names the key).' },\n },\n },\n lifecycle: {\n purpose: 'Expiry, last use and creation, the dates a rotation or retirement decision turns on; and, while a rotated key\\'s previous secret still authenticates, that secret\\'s prefix and when it stops (after a regenerate it has no end date and keeps working until the next rotation, which the prefix row\\'s description says).',\n whenToUse: 'Deciding whether to rotate, extend or retire a key.',\n textSlots: {\n title: { purpose: 'Label the validity and rotation block: when the key expires, when it was used, and whether an old secret still works.' },\n },\n },\n },\n },\n views: {\n [Op.LIST]: { purpose: 'The addressable list surface in merged presets; primary navigation for key inventory.', whenToUse: 'Org security settings and app-admin org drill-downs.' },\n [Op.READ]: {\n purpose: 'Read shell for a single key record.',\n whenToUse: 'When operators open a key from a list; non-addressable in primary preset wiring.',\n variants: {\n default: { purpose: 'Org context read for org admins and members with factory visibility.', whenToUse: 'Tenant self-service key management.' },\n admin: { purpose: 'App super-admin read across organizations.', whenToUse: 'Platform support and cross-tenant key inspection.' },\n },\n },\n [Op.CREATE]: {\n purpose: 'Create flow surfaced as the Create action on the list toolbar + empty-state in merged presets — a NON-addressable (overlay) surface, drilled in within the Settings Hub panel. Action visibility is governed by `actionVisibility` + the declared view, NOT by URL-addressability. Merged admin uses `admin` API variants.',\n whenToUse: 'When minting a new org key from the product UI (Settings Hub → API keys) or app-admin.',\n variants: {\n default: { purpose: 'Org-admin create with ephemeral full key on success.', whenToUse: 'In-org automation onboarding.' },\n admin: { purpose: 'App-admin key creation on behalf of a tenant when enabled.', whenToUse: 'Back-office and migration support.' },\n },\n },\n [Op.SEARCH]: {\n purpose: 'Search and sort where the factory enables searchable variants.',\n whenToUse: 'Large rosters; admin variant extends filters per factory.',\n variants: {\n default: { purpose: 'Member/operator search in tenant scope.', whenToUse: 'Finding keys by name in standard org UIs.' },\n admin: { purpose: 'Super-admin search with additional filter fields in factory config.', whenToUse: 'Platform-wide directory maintenance.' },\n },\n },\n [Op.DELETE]: {\n purpose: 'Delete one or more keys with optional bulk in factory config.',\n whenToUse: 'Key retirement and offboarding when policy allows API delete.',\n variants: {\n default: { purpose: 'Org admin delete within the tenant boundary.', whenToUse: 'Normal tenant-driven removal.' },\n admin: { purpose: 'App-admin delete in elevated contexts.', whenToUse: 'Abuse, migration, and forced key retirement.' },\n },\n },\n [OrgApiKeys_Operations.ROTATE]: {\n purpose: 'High-risk reissuance; typically non-addressable as a custom route from read/create flows.',\n whenToUse: 'Planned or incident-driven rotation; notifications follow factory `userNotifications`.',\n variants: {\n default: { purpose: 'Org admin rotation in tenant scope.', whenToUse: 'When operators rotate integration secrets.' },\n admin: { purpose: 'App-admin rotation of org keys in cross-tenant mode.', whenToUse: 'Assisted support rotations.' },\n },\n },\n [OrgApiKeys_Operations.REGENERATE]: {\n purpose: 'Generate a new secret without the same invalidation story as full rotation when supported.',\n whenToUse: 'When overlap between old and new is acceptable; non-addressable in default preset wiring.',\n variants: {\n default: { purpose: 'Org-admin path.', whenToUse: 'Refresh keys where invalidation of the prior secret is not immediate.' },\n admin: { purpose: 'App-admin path.', whenToUse: 'Platform-assisted reissue across tenants.' },\n },\n },\n [OrgApiKeys_Operations.DEACTIVATE]: {\n purpose: 'Soft-disable a key in place; enabled only when the current row is active.',\n whenToUse: 'Stop traffic quickly without schema removal.',\n variants: {\n default: { purpose: 'Org-admin deactivation.', whenToUse: 'Temporarily block API key use.' },\n admin: { purpose: 'App-admin deactivation in elevated contexts.', whenToUse: 'Enforcement and incident response from platform roles.' },\n },\n },\n [OrgApiKeys_Operations.REACTIVATE]: {\n purpose: 'Re-enable a key that is inactive; enabled when status matches factory condition.',\n whenToUse: 'After mistaken deactivation or policy-driven reinstatement.',\n variants: {\n default: { purpose: 'Org-admin reactivation.', whenToUse: 'Bringing a key back for an org-owned integration.' },\n admin: { purpose: 'App-admin reactivation.', whenToUse: 'Cross-tenant re-enablement for support cases.' },\n },\n },\n [OrgApiKeys_Operations.EXTEND_EXPIRY]: {\n purpose: 'Update expiration when the key already has an expiry; requires future date in request DTO per factory.',\n whenToUse: 'Renewal before automated expiry cuts traffic.',\n variants: {\n default: { purpose: 'Org-admin extension within tenant context.', whenToUse: 'Standard renewal flows.' },\n admin: { purpose: 'App-admin extension when operating on any org’s keys.', whenToUse: 'Assisted long-lived integrations.' },\n },\n },\n [OrgApiKeys_Operations.USAGE_STATS]: {\n purpose: 'Read-side analytics (requests, error rate) for a key, modeled like READ in risk tier.',\n whenToUse: 'Dashboards; non-addressable in default preset list views.',\n variants: {\n default: { purpose: 'Org members and admins with factory roles.', whenToUse: 'Self-service key health in tenant scope.' },\n admin: { purpose: 'App super-admin stats in cross-tenant mode.', whenToUse: 'Support triage and capacity reviews.' },\n },\n },\n },\n }),\n);\n"]}
|
|
1
|
+
{"version":3,"file":"organization-api-keys.resource.specification.js","sourceRoot":"","sources":["../../../../../src/engine/auth/resources/organization-api-keys.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iCAAiC,IAAI,qBAAqB,EAC1D,gCAAgC,IAAI,oBAAoB,GACzD,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,wBAAwB,EACxB,WAAW,EACX,YAAY,EACZ,cAAc,EACd,qBAAqB,IAAI,EAAE,EAC3B,qBAAqB,EACrB,oBAAoB,EACpB,qDAAqD,IAAI,iBAAiB,EAC1E,2BAA2B,GAC5B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,sBAAsB,EACtB,mCAAmC,EACnC,6BAA6B,EAC7B,qBAAqB,EACrB,8CAA8C,GAC/C,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAO3E,MAAM,wBAAwB,GAAG,oBAAoE,CAAC;AACtG,MAAM,yBAAyB,GAAG,qBAAqE,CAAC;AAExG;;;;;GAKG;AACH,MAAM,mCAAmC,GAAG;IAC1C,GAAG,EAAE,mBAAmB;IACxB,IAAI,EAAE,uBAAuB;IAC7B,WAAW,EAAE,sEAAsE;IACnF,KAAK,EAAE,WAAW,CAAC,YAAY;IAC/B,KAAK,EAAE,CAAC,cAAc,CAAC,UAAU,CAAC;IAClC,MAAM,EAAE,YAAY,CAAC,MAAM;IAC3B,SAAS,EAAE,0BAA0B;IACrC,UAAU,EAAE,0BAA0B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,EAAE;gBACR,OAAO,EAAE,EAAE,OAAO,EAAE,yBAAyB,EAAE,SAAS,EAAE,mDAAmD,EAAE;gBAC/G,KAAK,EAAE,EAAE,OAAO,EAAE,yBAAyB,EAAE,SAAS,EAAE,+CAA+C,EAAE;aAC1G;SACF;QACD,CAAC,qBAAqB,CAAC,aAAa,CAAC,EAAE;YACrC,OAAO,EAAE,wGAAwG;YACjH,SAAS,EAAE,+CAA+C;YAC1D,QAAQ,EAAE;gBACR,OAAO,EAAE,EAAE,OAAO,EAAE,4CAA4C,EAAE,SAAS,EAAE,yBAAyB,EAAE;gBACxG,KAAK,EAAE,EAAE,OAAO,EAAE,uDAAuD,EAAE,SAAS,EAAE,mCAAmC,EAAE;aAC5H;SACF;QACD,CAAC,qBAAqB,CAAC,WAAW,CAAC,EAAE;YACnC,OAAO,EAAE,uFAAuF;YAChG,SAAS,EAAE,2DAA2D;YACtE,QAAQ,EAAE;gBACR,OAAO,EAAE,EAAE,OAAO,EAAE,4CAA4C,EAAE,SAAS,EAAE,0CAA0C,EAAE;gBACzH,KAAK,EAAE,EAAE,OAAO,EAAE,6CAA6C,EAAE,SAAS,EAAE,sCAAsC,EAAE;aACrH;SACF;KACF;CACF,CAAC,CACH,CAAC","sourcesContent":["import {\n orgApiKeysAdminResourceUIBehavior as orgApiKeysAdminSource,\n orgApiKeysMainResourceUIBehavior as orgApiKeysMainSource,\n} from '@wildo-ai/presets-components';\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport type { ResourceUIBehaviorConfig } from '@wildo-ai/saas-frontend-lib/companion';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n ApiKeyOrganizationSchema,\n ApiKeyScope,\n ApiKeyStatus,\n CORE_ORG_ROLES,\n CoreResourceOperation as Op,\n OrgApiKeys_Operations,\n ResourcePrimaryScope,\n orgApiKeysResourceConfiguration_InitializationFactory as orgApiKeysFactory,\n ErrorCustomMessageReference,\n} from '@wildo-ai/saas-models';\nimport {\n HttpResponseStatusCode,\n mergeResourceFrontendConfigurations,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n} from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype Cfg = ReturnType<typeof orgApiKeysFactory>;\ntype Custom = NonNullable<Cfg['customOperation']>;\ntype Core = Cfg['coreOperations'][number];\ntype Main = Cfg['mainSchema'];\n\nconst orgApiKeysMainUIBehavior = orgApiKeysMainSource as ResourceUIBehaviorConfig<Custom, Core, Main>;\nconst orgApiKeysAdminUIBehavior = orgApiKeysAdminSource as ResourceUIBehaviorConfig<Custom, Core, Main>;\n\n/**\n * One schema-complete, non-secret record used by READ and collection examples.\n * Credential-issuing operations extend it with their one-time fields so the\n * OpenAPI examples cannot accidentally teach that `plainKey` is available on a\n * later READ.\n */\nconst ORGANIZATION_API_KEY_RECORD_EXAMPLE = {\n _id: 'orgkey_01JEXAMPLE',\n name: 'Production order sync',\n description: 'Least-privilege credential used by the order synchronization worker.',\n scope: ApiKeyScope.ORGANIZATION,\n roles: [CORE_ORG_ROLES.ORG_MEMBER],\n status: ApiKeyStatus.ACTIVE,\n expiresAt: '2099-01-01T00:00:00.000Z',\n lastUsedAt: '2026-08-18T09:42:12.000Z',\n createdAt: '2026-06-01T08:00:00.000Z',\n updatedAt: '2026-08-18T09:42:12.000Z',\n organizationId: 'org_01JEXAMPLE',\n keyPrefix: 'sk_org_a',\n} as const;\n\nconst ORGANIZATION_API_KEY_PAGE_EXAMPLE = {\n data: [ORGANIZATION_API_KEY_RECORD_EXAMPLE],\n pagination: { page: 1, limit: 20, total: 1, totalPages: 1 },\n} as const;\n\nexport const organizationApiKeysResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n mergeResourceFrontendConfigurations(\n resourceFrontendConfiguration(orgApiKeysMainUIBehavior),\n resourceFrontendConfiguration(orgApiKeysAdminUIBehavior),\n ),\n resourceSpecification(\n orgApiKeysFactory,\n ApiKeyOrganizationSchema,\n ({ schemaShape }) => ({\n purpose: 'Organization-scoped API keys: secrets used by org administrators and integrations to call backend APIs in tenant context.',\n businessRole: 'First-class auth credential for automation and partner integrations, distinct from end-user sessions.',\n lifecycleRole: 'Created with optional expiry, then rotated, deactivated or deleted by organization administrators. Per-key request analytics are not currently recorded.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.AUTH,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'ApiKeyOrganizationSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'orgApiKeysResourceConfiguration_InitializationFactory',\n symbolKind: CodeSymbolKind.FACTORY,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resourceType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'ORG_API_KEYS',\n },\n operationVocabulary: {\n coreEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n customEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrgApiKeys_Operations',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n frontendConfigurationSources: [\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'orgApiKeysMainResourceUIBehavior',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'orgApiKeysAdminResourceUIBehavior',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n ],\n },\n fields: {\n name: schemaShape.name.stringSpec({\n meaning: 'Human label for the key in admin UI and support.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n status: schemaShape.status.enumSpec({\n meaning: 'Whether the key can authenticate traffic.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'ApiKeyStatus',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [ApiKeyStatus.ACTIVE]: { meaning: 'Key may be used within policy and expiry.' },\n [ApiKeyStatus.INACTIVE]: { meaning: 'Revoked or disabled; authentications should fail.' },\n [ApiKeyStatus.EXPIRED]: { meaning: 'Past its validity window; treat as invalid.' },\n },\n }),\n keyPrefix: schemaShape.keyPrefix.stringSpec({\n meaning: 'Short public prefix of the key material for list records and support correlation.',\n }),\n roles: schemaShape.roles.arraySpec({\n meaning: 'Roles embedded on the key; every request authenticated with it inherits exactly these roles, bounding what the integration or automation user may do (least-privilege).',\n elementMeaning: 'One organization role: a core organization role or an organization role the application declares. An application role confers nothing on an organization credential, and the organization\\'s type must offer the role.',\n // Element is `OrgRolesSchema` (#3203): `CORE_ORG_ROLES` plus a custom role string, the\n // organization role table this key acts in. Narrowed from the scope-neutral union so the form offers no role\n // of the other scope, which would confer nothing.\n elementType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CORE_ORG_ROLES',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n }),\n organizationId: schemaShape.organizationId.stringSpec({\n meaning: 'Owning organization; immutable after create.',\n }),\n expiresAt: schemaShape.expiresAt.dateSpec({ meaning: 'Optional automatic invalidation time.' }),\n lastUsedAt: schemaShape.lastUsedAt.dateSpec({\n meaning: 'When the key was last accepted, to the minute. Absent when it has never been used.',\n whyItMatters: 'It is how an administrator finds keys nobody uses any more, which are the first to revoke. Written by the application each time the key authenticates a request, at most once a minute, and never counted as a change to the key.',\n }),\n previousKeyInvalidationDate: schemaShape.previousKeyInvalidationDate.dateSpec({\n meaning: 'After a rotation, when the PRIOR secret stops authenticating. During this grace window both the new and previous secrets work so integrations can migrate without downtime; absent/null after a regenerate means the prior secret stays valid until the next rotation.',\n }),\n previousKeyPrefix: schemaShape.previousKeyPrefix.stringSpec({\n meaning: 'The first 8 characters of the secret this key had before its last rotation or regeneration, so that value can still be recognised. Absent until the key is first reissued.',\n whyItMatters: 'Shown only while that previous secret still authenticates. When no end date is shown beside it — after a regenerate — it keeps working until the key is rotated or regenerated again, so an integration still using it is not cut off, and a leaked old secret is not revoked by regenerating.',\n }),\n description: schemaShape.description.stringSpec({\n meaning: 'Optional note on what the key is for, up to 500 characters. It is matched by search.',\n }),\n },\n operations: {\n [Op.COUNT]: {\n purpose: 'Repository-only counts for entitlements and feature metering.',\n outcome: 'Numeric total of keys per scope without a public list.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The count of API keys in scope is returned for entitlement/metering checks.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the operator/metering role; this repository-only count is not a member-facing surface.' },\n ],\n idempotent: true,\n },\n [Op.READ]: {\n purpose: 'Inspect one key (org admin default; app super-admin `admin` variant for cross-tenant).',\n outcome: 'Metadata and status without revealing raw secret material.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The key’s metadata and status are returned (never the raw secret material).' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an org admin for this key’s tenant (or lacks the super-admin `admin` role for cross-tenant reads).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A representative of another organization reaches this operation only through a live grant of the `MANAGE_API_KEYS` capability the organization lent its relationship (#1631), and is refused without one. The grant confers only while ACTIVE and before its `endsAt`, and a revocation takes effect on the representative\\'s next request.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No API key exists for the supplied id in the caller’s visible scope.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Inspect an active integration key',\n response: ORGANIZATION_API_KEY_RECORD_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: { examples: [] },\n summary: { examples: [] },\n },\n },\n [Op.LIST]: {\n purpose: 'Enumerate keys the caller may see; members see a reduced roster vs admins.',\n outcome: 'Rows for security settings and admin consoles.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of API keys the caller is permitted to see.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks any role that grants visibility into the organization’s API-key roster.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Browse organization integration keys',\n request: { page: 1, limit: 20, sort: 'createdAt:desc' },\n response: ORGANIZATION_API_KEY_PAGE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: { examples: [] },\n summary: { examples: [] },\n },\n },\n [Op.SEARCH]: {\n purpose: 'Filter/sort with broader fields on the super-admin `admin` search variant.',\n outcome: 'Matching keys in large-tenant and platform views.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of API keys matching the search/filter query.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the role for the requested search scope (the broader-field filters require the super-admin `admin` variant).' },\n ],\n idempotent: true,\n examples: [{\n title: 'Find active expiring production keys',\n request: { q: 'production', status: ApiKeyStatus.ACTIVE, hasExpiration: true, page: 1, limit: 20, sort: 'lastUsedAt:desc' },\n response: ORGANIZATION_API_KEY_PAGE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.CREATE]: {\n purpose: 'Create a new organization API key for an integration or automation client.',\n outcome: 'The key is created and its plaintext value is returned exactly once. Store it before dismissing the response; later reads expose only its prefix.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'A new API key is minted; the org-admin path returns the full plaintext secret exactly once in this response.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The create payload fails schema validation (e.g. missing `name`, malformed `expiresAt`).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an org admin (or app-admin acting on the tenant) authorized to mint API keys.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A representative of another organization reaches this operation only through a live grant of the `MANAGE_API_KEYS` capability the organization lent its relationship (#1631), and is refused without one. The grant confers only while ACTIVE and before its `endsAt`, and a revocation takes effect on the representative\\'s next request.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The key would carry a role above the caller\\'s own (`role_ceiling_exceeded`). A delegated capability role (`ORG_DELEGATED_*`, #1631) is never within anyone\\'s ceiling: a capability comes only from a live grant, so it cannot be copied onto a standing credential, and a machine principal that presented one would be refused.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'A requested role is not one the organization\\'s type offers (`availableOrgRoles`), whoever mints or edits it, a platform super-administrator included: the role ceiling decides how high a role may be, the type decides which roles exist here (`machine_credential_role_not_offered_by_organization_type`, #2648). A stored role the type later withdraws confers nothing from the next request on.' },\n ],\n idempotent: false,\n rateLimitNote: 'Key minting is a credential-issuance path and may be rate-limited per organization to slow brute-force credential creation.',\n examples: [\n {\n title: 'Mint an organization API key with an expiry',\n request: {\n name: 'Production order sync',\n description: 'Least-privilege credential used by the order synchronization worker.',\n roles: [CORE_ORG_ROLES.ORG_MEMBER],\n status: ApiKeyStatus.ACTIVE,\n expiresAt: '2099-01-01T00:00:00.000Z',\n },\n response: {\n ...ORGANIZATION_API_KEY_RECORD_EXAMPLE,\n plainKey: 'sk_org_a_example-secret-returned-once',\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.UPDATE]: {\n purpose: 'Rename a key, describe it, or change the roles it holds. The secret, the status and the expiry are not touched: rotate / regenerate, deactivate / reactivate and extend expiry own them.',\n outcome: 'The key keeps authenticating with the same secret, under the new name and roles. A role change is audited with the roles before and after.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The key was updated; the body is the key without any secret material.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-admin (or app-admin) role required to manage keys.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A requested role is above the caller\\'s own roles. A key never holds authority its editor could not grant, exactly as at creation.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'A requested role is not one the organization\\'s type offers (`availableOrgRoles`), whoever mints or edits it, a platform super-administrator included: the role ceiling decides how high a role may be, the type decides which roles exist here (`machine_credential_role_not_offered_by_organization_type`, #2648). A stored role the type later withdraws confers nothing from the next request on.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A representative of another organization reaches this operation only through a live grant of the `MANAGE_API_KEYS` capability the organization lent its relationship (#1631), and is refused without one.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No API key exists for the supplied id.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Rename a key and narrow what it may do',\n request: { name: 'Order sync (read-only)', roles: [CORE_ORG_ROLES.ORG_MEMBER] },\n response: { ...ORGANIZATION_API_KEY_RECORD_EXAMPLE, name: 'Order sync (read-only)', updatedAt: '2026-10-03T10:30:00.000Z' },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.DELETE]: {\n purpose: 'Permanently remove an organization API key that is no longer needed.',\n outcome: 'The key can no longer authenticate API traffic.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The key was deleted and can no longer authenticate. The body carries its `id`; the bulk route answers `{ deletedIds, deletedCount }` instead.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the org-admin (or app-admin) role required to retire keys.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A representative of another organization reaches this operation only through a live grant of the `MANAGE_API_KEYS` capability the organization lent its relationship (#1631), and is refused without one. The grant confers only while ACTIVE and before its `endsAt`, and a revocation takes effect on the representative\\'s next request.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No API key exists for the supplied id (or it was already deleted).' },\n ],\n idempotent: true,\n },\n [OrgApiKeys_Operations.ROTATE]: {\n operationId: OrgApiKeys_Operations.ROTATE,\n purpose: 'Issue a new secret and schedule invalidation of the previous material.',\n outcome: 'The new plaintext key is returned exactly once. The previous key remains valid until the requested invalidation time so callers can migrate without downtime.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A fresh secret is issued and returned once; the previous material is scheduled for invalidation.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the role to rotate this key (org-admin in tenant scope, or app-admin cross-tenant).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A representative of another organization reaches this operation only through a live grant of the `MANAGE_API_KEYS` capability the organization lent its relationship (#1631), and is refused without one. The grant confers only while ACTIVE and before its `endsAt`, and a revocation takes effect on the representative\\'s next request.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The operation declares `requiresStepUpAuthentication`, and the request carried no valid single-use re-authentication token. Rotation hands back the replacement in plaintext and establishes when the previous key becomes unusable, so holding a live session is deliberately not sufficient — obtain a token from the re-authentication route and retry with it.', customMessageReference: ErrorCustomMessageReference.STEP_UP_REQUIRED },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No API key exists for the supplied id in the caller’s scope.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The key is in a state that cannot be rotated (e.g. already revoked/expired), so reissuing the secret is an illegal transition.' },\n ],\n idempotent: false,\n rateLimitNote: 'Rotation issues new secret material and may be rate-limited to prevent rapid churn of live credentials.',\n examples: [{\n title: 'Rotate with a 24-hour migration window',\n request: { oldKeyInvalidationDate: '2099-01-02T00:00:00.000Z' },\n response: {\n ...ORGANIZATION_API_KEY_RECORD_EXAMPLE,\n keyPrefix: 'sk_org_b',\n previousKeyPrefix: ORGANIZATION_API_KEY_RECORD_EXAMPLE.keyPrefix,\n previousKeyInvalidationDate: '2099-01-02T00:00:00.000Z',\n plainKey: 'sk_org_b_example-secret-returned-once',\n oldKeyId: ORGANIZATION_API_KEY_RECORD_EXAMPLE._id,\n oldKeyInvalidationDate: '2099-01-02T00:00:00.000Z',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [OrgApiKeys_Operations.REGENERATE]: {\n operationId: OrgApiKeys_Operations.REGENERATE,\n purpose: 'Generate a new secret without a mandatory invalidation window for the old key yet.',\n outcome: 'The new plaintext key is returned exactly once while the previous key remains valid until a later rotation completes the cutover.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A new secret is generated and returned once; the prior material stays valid to allow an overlap window.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the role to regenerate this key’s secret.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A representative of another organization reaches this operation only through a live grant of the `MANAGE_API_KEYS` capability the organization lent its relationship (#1631), and is refused without one. The grant confers only while ACTIVE and before its `endsAt`, and a revocation takes effect on the representative\\'s next request.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No API key exists for the supplied id in the caller’s scope.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The key is not in a regenerable state (e.g. permanently revoked), so issuing fresh material is rejected.' },\n ],\n idempotent: false,\n rateLimitNote: 'Secret regeneration is a credential-issuance path and may be rate-limited per key.',\n examples: [{\n title: 'Regenerate while retaining the previous secret',\n request: {},\n response: {\n ...ORGANIZATION_API_KEY_RECORD_EXAMPLE,\n keyPrefix: 'sk_org_c',\n previousKeyPrefix: ORGANIZATION_API_KEY_RECORD_EXAMPLE.keyPrefix,\n plainKey: 'sk_org_c_example-secret-returned-once',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n /**\n * INTERNAL_CALL, so this entry documents SEMANTICS and deliberately carries no HTTP\n * response statuses, error scenarios or examples: there is no route to call and no\n * response a consumer receives. Authoring a `200 OK` example here would document a door\n * that does not exist, which is worse than the silence.\n */\n [OrgApiKeys_Operations.EXPIRE]: {\n operationId: OrgApiKeys_Operations.EXPIRE,\n purpose: 'Record that a key’s validity window has elapsed, so a listing shows it as expired rather than active.',\n outcome: 'Status becomes expired. Nothing about authentication changes — the key already stopped working the instant its expiry passed.',\n whenToUse: 'Never called directly. The nightly credential-expiry sweep dispatches it; an administrator who wants a key gone sooner deactivates it, and one who wants it to last longer extends its expiry.',\n },\n [OrgApiKeys_Operations.DEACTIVATE]: {\n operationId: OrgApiKeys_Operations.DEACTIVATE,\n purpose: 'Turn off authentication for an active key without deleting its metadata.',\n outcome: 'Status becomes inactive; reactivation is a separate op when allowed.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The key’s status is set to inactive and it can no longer authenticate until reactivated. This operation accepts an empty JSON object.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the role to disable this key.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A representative of another organization reaches this operation only through a live grant of the `MANAGE_API_KEYS` capability the organization lent its relationship (#1631), and is refused without one. The grant confers only while ACTIVE and before its `endsAt`, and a revocation takes effect on the representative\\'s next request.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No API key exists for the supplied id in the caller’s scope.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The key is already inactive or expired, so deactivation is not a legal transition.' },\n ],\n // NOT idempotent: the ACTIVE precondition flips on the first call, so a repeat is the\n // 409 above rather than a second 200.\n idempotent: false,\n examples: [{\n title: 'Deactivate a compromised integration key',\n request: {},\n response: { ...ORGANIZATION_API_KEY_RECORD_EXAMPLE, status: ApiKeyStatus.INACTIVE },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [OrgApiKeys_Operations.REACTIVATE]: {\n operationId: OrgApiKeys_Operations.REACTIVATE,\n purpose: 'Re-enable a previously inactive key if policy still permits.',\n outcome: 'The key returns to an active state and may authenticate again, provided it has not expired.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The key’s status returns to active and it may authenticate traffic again. This operation accepts an empty JSON object.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the role to re-enable this key.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A representative of another organization reaches this operation only through a live grant of the `MANAGE_API_KEYS` capability the organization lent its relationship (#1631), and is refused without one. The grant confers only while ACTIVE and before its `endsAt`, and a revocation takes effect on the representative\\'s next request.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No API key exists for the supplied id in the caller’s scope.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The key is expired or already active, so reactivation is not a legal transition.' },\n ],\n // NOT idempotent: the INACTIVE precondition flips on the first call, so a repeat is the\n // 409 above rather than a second 200.\n idempotent: false,\n examples: [{\n title: 'Reactivate a remediated integration key',\n request: {},\n response: ORGANIZATION_API_KEY_RECORD_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [OrgApiKeys_Operations.EXTEND_EXPIRY]: {\n operationId: OrgApiKeys_Operations.EXTEND_EXPIRY,\n purpose: 'Push the expiration time when a dated key is still in use.',\n outcome: 'Updated validity; only meaningful when the key has an expiry set.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The key’s `expiresAt` is pushed to the requested future time and the updated validity window is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The requested expiry is missing or not a future date per the request DTO contract.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the role to extend this key’s validity.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A representative of another organization reaches this operation only through a live grant of the `MANAGE_API_KEYS` capability the organization lent its relationship (#1631), and is refused without one. The grant confers only while ACTIVE and before its `endsAt`, and a revocation takes effect on the representative\\'s next request.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No API key exists for the supplied id in the caller’s scope.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The key has no expiry set, so there is no expiration window to extend.' },\n ],\n idempotent: false,\n examples: [{\n title: 'Extend a key before its scheduled expiry',\n request: { newExpiresAt: '2099-06-30T00:00:00.000Z' },\n response: { ...ORGANIZATION_API_KEY_RECORD_EXAMPLE, expiresAt: '2099-06-30T00:00:00.000Z' },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [OrgApiKeys_Operations.USAGE_STATS]: {\n operationId: OrgApiKeys_Operations.USAGE_STATS,\n purpose: 'Report how an organization API key has been used, so an administrator can find stale or unexpectedly busy keys.',\n outcome: 'The key\\u2019s recorded use: requests authenticated with it over the last hour, day and week, the share of them that failed, the route it reached most, and when it was last accepted. Every door that accepts a key records its use; counts are a rolling week, not a lifetime ledger, and a lifetime total and a rate-limit count are not reported because nothing can answer them truthfully.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The key\\u2019s usage statistics are returned. A key never used reports zero counts and no `lastUsedAt`.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the role to view this key’s usage analytics.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No API key exists for the supplied id in the caller’s scope.' },\n ],\n idempotent: true,\n examples: [{\n title: 'A key in regular use',\n response: {\n keyId: ORGANIZATION_API_KEY_RECORD_EXAMPLE._id,\n requestsLastHour: 12,\n requestsLastDay: 240,\n requestsLastWeek: 1480,\n lastUsedAt: '2026-09-27T09:58:00.000Z',\n mostUsedEndpoint: 'GET /api/v1/organizations/:organizationId/todos',\n errorRate: 1.35,\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n businessConstraints: [\n 'The plaintext key is only returned on create/rotate paths where the factory sets ephemeral response DTOs; companion copy must not imply clients can re-fetch full secrets later.',\n 'Super-admin `admin` HTTP variants mirror org-admin operations across tenants; wire RBAC to factory roles, not guesswork.',\n 'ROTATE/REGENERATE keep the PRIOR secret authenticating during a grace window (rotate: until `previousKeyInvalidationDate`; regenerate: until the next rotation), so API-key authentication accepts the current OR the not-yet-invalidated previous secret — a rotation is an immediate hard cutover only when `oldKeyInvalidationDate` is now (the default).',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n ),\n () => ({\n label: {\n purpose: 'Use the key `name` as the list and detail title so support can match rows to user-provided labels.',\n },\n layout: {\n purpose: 'A header that names the key and carries its status badge, then two groups: `overview` (key prefix, roles, description — no heading, since it would restate the header) and `lifecycle` (expiry, last use and creation; and, only while a rotated key\\'s previous secret still authenticates, that secret\\'s prefix and when it stops). After a regenerate the previous secret has no end date and keeps working until the next rotation, which the prefix row\\'s description says. `scope` is not rendered: the organization schema fixes it to one literal.',\n headerPurpose: 'The READ header: the key name on the title line and its `status` badge on the facts line under it. Neither repeats in the body.',\n displayPurpose: 'Settings rows with no section descriptions; the first card has no heading; an absent description, expiry or last use hides its row instead of showing a dash. The previous secret\\'s prefix and end date appear only while that secret still authenticates, by the same rule the request authentication applies.',\n summaryPurpose: 'A registry row or card: the name, the `status` badge, and the key prefix — the one card value that keeps its label, since a bare prefix reads as a second name.',\n editPurpose: 'The CREATE form (the resource has no UPDATE): one stacked column with no headings — name (focused), description as a textarea, roles, expiry, status.',\n sections: {\n overview: {\n purpose: 'The key prefix (the visible first characters of the secret, never the secret), the roles embedded on the key, and its description. The name and status are the header\\'s, so they are not rows here.',\n whenToUse: 'Read-only key inspection.',\n textSlots: {\n title: { purpose: 'Label the key\\'s identity and access block (not rendered on the read page, whose header names the key).' },\n },\n },\n lifecycle: {\n purpose: 'Expiry, last use and creation, the dates a rotation or retirement decision turns on; and, while a rotated key\\'s previous secret still authenticates, that secret\\'s prefix and when it stops (after a regenerate it has no end date and keeps working until the next rotation, which the prefix row\\'s description says).',\n whenToUse: 'Deciding whether to rotate, extend or retire a key.',\n textSlots: {\n title: { purpose: 'Label the validity and rotation block: when the key expires, when it was used, and whether an old secret still works.' },\n },\n },\n },\n },\n views: {\n [Op.LIST]: { purpose: 'The addressable list surface in merged presets; primary navigation for key inventory.', whenToUse: 'Org security settings and app-admin org drill-downs.' },\n [Op.READ]: {\n purpose: 'Read shell for a single key record.',\n whenToUse: 'When operators open a key from a list; non-addressable in primary preset wiring.',\n variants: {\n default: { purpose: 'Org context read for org admins and members with factory visibility.', whenToUse: 'Tenant self-service key management.' },\n admin: { purpose: 'App super-admin read across organizations.', whenToUse: 'Platform support and cross-tenant key inspection.' },\n },\n },\n [Op.CREATE]: {\n purpose: 'Create flow surfaced as the Create action on the list toolbar + empty-state in merged presets — a NON-addressable (overlay) surface, drilled in within the Settings Hub panel. Action visibility is governed by `actionVisibility` + the declared view, NOT by URL-addressability. Merged admin uses `admin` API variants.',\n whenToUse: 'When minting a new org key from the product UI (Settings Hub → API keys) or app-admin.',\n variants: {\n default: { purpose: 'Org-admin create with ephemeral full key on success.', whenToUse: 'In-org automation onboarding.' },\n admin: { purpose: 'App-admin key creation on behalf of a tenant when enabled.', whenToUse: 'Back-office and migration support.' },\n },\n },\n [Op.SEARCH]: {\n purpose: 'Search and sort where the factory enables searchable variants.',\n whenToUse: 'Large rosters; admin variant extends filters per factory.',\n variants: {\n default: { purpose: 'Member/operator search in tenant scope.', whenToUse: 'Finding keys by name in standard org UIs.' },\n admin: { purpose: 'Super-admin search with additional filter fields in factory config.', whenToUse: 'Platform-wide directory maintenance.' },\n },\n },\n [Op.UPDATE]: {\n purpose: 'Edit a key\\'s name, description and roles from its row; the form shows only those fields.',\n whenToUse: 'Renaming a key, or narrowing or widening what an integration may do without reissuing its secret.',\n variants: {\n default: { purpose: 'Org admin edit within the tenant boundary.', whenToUse: 'Normal tenant-driven maintenance.' },\n admin: { purpose: 'App-admin edit in elevated contexts.', whenToUse: 'Operator support and migration.' },\n },\n },\n [Op.DELETE]: {\n purpose: 'Delete one or more keys with optional bulk in factory config.',\n whenToUse: 'Key retirement and offboarding when policy allows API delete.',\n variants: {\n default: { purpose: 'Org admin delete within the tenant boundary.', whenToUse: 'Normal tenant-driven removal.' },\n admin: { purpose: 'App-admin delete in elevated contexts.', whenToUse: 'Abuse, migration, and forced key retirement.' },\n },\n },\n [OrgApiKeys_Operations.ROTATE]: {\n purpose: 'High-risk reissuance; typically non-addressable as a custom route from read/create flows.',\n whenToUse: 'Planned or incident-driven rotation; notifications follow factory `userNotifications`.',\n variants: {\n default: { purpose: 'Org admin rotation in tenant scope.', whenToUse: 'When operators rotate integration secrets.' },\n admin: { purpose: 'App-admin rotation of org keys in cross-tenant mode.', whenToUse: 'Assisted support rotations.' },\n },\n },\n [OrgApiKeys_Operations.REGENERATE]: {\n purpose: 'Generate a new secret without the same invalidation story as full rotation when supported.',\n whenToUse: 'When overlap between old and new is acceptable; non-addressable in default preset wiring.',\n variants: {\n default: { purpose: 'Org-admin path.', whenToUse: 'Refresh keys where invalidation of the prior secret is not immediate.' },\n admin: { purpose: 'App-admin path.', whenToUse: 'Platform-assisted reissue across tenants.' },\n },\n },\n [OrgApiKeys_Operations.DEACTIVATE]: {\n purpose: 'Soft-disable a key in place; enabled only when the current row is active.',\n whenToUse: 'Stop traffic quickly without schema removal.',\n variants: {\n default: { purpose: 'Org-admin deactivation.', whenToUse: 'Temporarily block API key use.' },\n admin: { purpose: 'App-admin deactivation in elevated contexts.', whenToUse: 'Enforcement and incident response from platform roles.' },\n },\n },\n [OrgApiKeys_Operations.REACTIVATE]: {\n purpose: 'Re-enable a key that is inactive; enabled when status matches factory condition.',\n whenToUse: 'After mistaken deactivation or policy-driven reinstatement.',\n variants: {\n default: { purpose: 'Org-admin reactivation.', whenToUse: 'Bringing a key back for an org-owned integration.' },\n admin: { purpose: 'App-admin reactivation.', whenToUse: 'Cross-tenant re-enablement for support cases.' },\n },\n },\n [OrgApiKeys_Operations.EXTEND_EXPIRY]: {\n purpose: 'Update expiration when the key already has an expiry; requires future date in request DTO per factory.',\n whenToUse: 'Renewal before automated expiry cuts traffic.',\n variants: {\n default: { purpose: 'Org-admin extension within tenant context.', whenToUse: 'Standard renewal flows.' },\n admin: { purpose: 'App-admin extension when operating on any org’s keys.', whenToUse: 'Assisted long-lived integrations.' },\n },\n },\n [OrgApiKeys_Operations.USAGE_STATS]: {\n purpose: 'Read-side analytics (requests, error rate) for a key, modeled like READ in risk tier.',\n whenToUse: 'Dashboards; non-addressable in default preset list views.',\n variants: {\n default: { purpose: 'Org members and admins with factory roles.', whenToUse: 'Self-service key health in tenant scope.' },\n admin: { purpose: 'App super-admin stats in cross-tenant mode.', whenToUse: 'Support triage and capacity reviews.' },\n },\n },\n },\n }),\n);\n"]}
|
package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { ApiKeyScope, CORE_ORG_ROLES, CoreResourceOperation as Op, OAuthGrantType, OAuthClientRegistrationOrigin, OAuthClientStatus, OAuthTokenEndpointAuthMethod, OrgOAuthClients_Operations } from '@wildo-ai/saas-models';
|
|
2
|
-
export declare const organizationOAuthClientsResourceSpecification: import("../../../_core").ResourceSpecificationConfig<typeof OrgOAuthClients_Operations, Op.READ | Op.DELETE | Op.CREATE | Op.LIST | Op.SEARCH | Op.COUNT, import("zod").ZodObject<{
|
|
3
|
-
_id: import("
|
|
4
|
-
name: import("
|
|
2
|
+
export declare const organizationOAuthClientsResourceSpecification: import("../../../_core").ResourceSpecificationConfig<typeof OrgOAuthClients_Operations, Op.READ | Op.UPDATE | Op.DELETE | Op.CREATE | Op.LIST | Op.SEARCH | Op.COUNT, import("zod").ZodObject<{
|
|
3
|
+
_id: import("zod").ZodString;
|
|
4
|
+
name: import("zod").ZodString;
|
|
5
5
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6
|
-
roles: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").CORE_APP_ROLES>, import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").CORE_ORG_ROLES>, import("zod").ZodString]>>>>;
|
|
7
6
|
allowedScopes: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>;
|
|
8
7
|
allowedGrants: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodEnum<typeof OAuthGrantType>>>;
|
|
9
8
|
redirectUris: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>;
|
|
10
9
|
postLogoutRedirectUris: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>;
|
|
11
10
|
requiresConsent: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
12
|
-
tokenEndpointAuthMethod: import("
|
|
13
|
-
status: import("
|
|
14
|
-
expiresAt: import("
|
|
15
|
-
lastUsedAt: import("
|
|
16
|
-
createdAt: import("
|
|
17
|
-
updatedAt: import("
|
|
18
|
-
hashedSecret: import("
|
|
19
|
-
secretPrefix: import("
|
|
20
|
-
previousHashedSecret: import("
|
|
21
|
-
previousSecretPrefix: import("
|
|
22
|
-
previousSecretInvalidationDate: import("
|
|
23
|
-
registrationAccessTokenHash: import("
|
|
24
|
-
registrationAccessTokenPrefix: import("
|
|
25
|
-
registrationOrigin: import("
|
|
11
|
+
tokenEndpointAuthMethod: import("zod").ZodDefault<import("zod").ZodEnum<typeof OAuthTokenEndpointAuthMethod>>;
|
|
12
|
+
status: import("zod").ZodDefault<import("zod").ZodEnum<typeof OAuthClientStatus>>;
|
|
13
|
+
expiresAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
14
|
+
lastUsedAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
15
|
+
createdAt: import("zod").ZodDefault<import("zod").ZodDate>;
|
|
16
|
+
updatedAt: import("zod").ZodDefault<import("zod").ZodDate>;
|
|
17
|
+
hashedSecret: import("zod").ZodString;
|
|
18
|
+
secretPrefix: import("zod").ZodString;
|
|
19
|
+
previousHashedSecret: import("zod").ZodOptional<import("zod").ZodString>;
|
|
20
|
+
previousSecretPrefix: import("zod").ZodOptional<import("zod").ZodString>;
|
|
21
|
+
previousSecretInvalidationDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
22
|
+
registrationAccessTokenHash: import("zod").ZodOptional<import("zod").ZodString>;
|
|
23
|
+
registrationAccessTokenPrefix: import("zod").ZodOptional<import("zod").ZodString>;
|
|
24
|
+
registrationOrigin: import("zod").ZodDefault<import("zod").ZodEnum<typeof OAuthClientRegistrationOrigin>>;
|
|
26
25
|
scope: import("zod").ZodLiteral<ApiKeyScope.ORGANIZATION>;
|
|
27
|
-
organizationId: import("
|
|
28
|
-
|
|
26
|
+
organizationId: import("zod").ZodString;
|
|
27
|
+
roles: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").CORE_ORG_ROLES>, import("zod").ZodString]>>>;
|
|
28
|
+
autonomousAgentRefs: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>;
|
|
29
29
|
}, import("zod/v4/core").$strip>>;
|
|
30
30
|
//# sourceMappingURL=organization-oauth-clients.resource.specification.d.ts.map
|
package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization-oauth-clients.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/auth/resources/organization-oauth-clients.resource.specification.ts"],"names":[],"mappings":"AAWA,OAAO,EACL,WAAW,EACX,cAAc,EACd,qBAAqB,IAAI,EAAE,EAI3B,cAAc,EAEd,6BAA6B,EAC7B,iBAAiB,EACjB,4BAA4B,EAC5B,0BAA0B,EAG3B,MAAM,uBAAuB,CAAC;AA8F/B,eAAO,MAAM,6CAA6C;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"organization-oauth-clients.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/auth/resources/organization-oauth-clients.resource.specification.ts"],"names":[],"mappings":"AAWA,OAAO,EACL,WAAW,EACX,cAAc,EACd,qBAAqB,IAAI,EAAE,EAI3B,cAAc,EAEd,6BAA6B,EAC7B,iBAAiB,EACjB,4BAA4B,EAC5B,0BAA0B,EAG3B,MAAM,uBAAuB,CAAC;AA8F/B,eAAO,MAAM,6CAA6C;;;;;;;;;;;;;;;;;;;;;;;;;;;iCA0rBzD,CAAC"}
|