@wildo-ai/saas-specifications 1.1.9 → 1.1.11
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.schemas.js +1 -1
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js.map +1 -1
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +11 -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 +11 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-choice.d.ts +72 -10
- package/dist/esm/_core/brand/brand-name-choice.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-choice.js +144 -24
- package/dist/esm/_core/brand/brand-name-choice.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.d.ts +41 -1
- 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 +19 -3
- 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 +7 -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 +24 -3
- package/dist/esm/_core/brand/brand-name-screening-validation.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-view.d.ts +61 -9
- package/dist/esm/_core/brand/brand-name-screening-view.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-view.js +42 -1
- package/dist/esm/_core/brand/brand-name-screening-view.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts +130 -2
- package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening.schemas.js +165 -3
- package/dist/esm/_core/brand/brand-name-screening.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts +25 -7
- 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-task-graph-generation.schemas.d.ts +76 -0
- 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-validation.d.ts +7 -2
- 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 +21 -3
- 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 +411 -13
- 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 +281 -8
- 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.js +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts +4 -0
- 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 +3 -0
- 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 +6 -0
- 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 +20 -0
- 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 +1 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts +1 -0
- 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 +7 -0
- 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 +4 -3
- 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/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/computed-document-facts.schemas.d.ts +55 -5
- 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 +66 -2
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts +42 -2
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js +174 -1
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +4 -1
- 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 +15 -0
- 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 +15 -0
- package/dist/esm/_core/compliance-documents/required-document-set.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/data-seed-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/data-seed-specification.schemas.js +5 -1
- package/dist/esm/_core/data-seed-specification.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts +32 -1
- 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 +41 -1
- 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 +33 -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 +134 -9
- 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 +117 -0
- 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 +118 -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 +1 -0
- 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 +22 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts +17 -1
- 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 +21 -5
- 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 +7 -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 +39 -1
- 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 +31 -5
- 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 +81 -9
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js +88 -7
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +13 -6
- 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 +2 -0
- package/dist/esm/_core/family-aspects.registry.js.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.d.ts +24 -0
- package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.js +20 -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 +6 -6
- 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/index.d.ts +6 -0
- package/dist/esm/_core/index.d.ts.map +1 -1
- package/dist/esm/_core/index.js +6 -0
- package/dist/esm/_core/index.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +1 -0
- 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 +26 -2
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js +21 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -1
- 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 +18 -12
- 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.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/market/market.family-aspects.js +4 -1
- package/dist/esm/_core/market/market.family-aspects.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts +15 -3
- 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 +6 -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 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.js +56 -3
- 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 +9 -0
- 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 +83 -0
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js +102 -2
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +3 -2
- package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/functional-requirement.schemas.js +8 -2
- package/dist/esm/_core/requirements/functional-requirement.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts +1 -0
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.js +2 -0
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-pain-coverage.d.ts +41 -0
- package/dist/esm/_core/requirements/requirements-pain-coverage.d.ts.map +1 -0
- package/dist/esm/_core/requirements/requirements-pain-coverage.js +63 -0
- package/dist/esm/_core/requirements/requirements-pain-coverage.js.map +1 -0
- package/dist/esm/_core/requirements/requirements-references.schemas.d.ts +1 -1
- package/dist/esm/_core/requirements/requirements-references.schemas.js +1 -1
- package/dist/esm/_core/requirements/requirements-references.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts +16 -0
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js +12 -1
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts +13 -2
- package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.js +32 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +65 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.js +53 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.js +2 -0
- package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.d.ts +56 -15
- package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.js +73 -13
- package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts +1 -16
- 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 +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 +410 -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 +86 -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 +28 -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 +35 -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 +75 -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 +385 -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 +372 -0
- package/dist/esm/_core/service-method/service-method.schemas.js.map +1 -0
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts +37 -5
- 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 +29 -3
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-validation.js +97 -5
- 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 +6 -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 +521 -15
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.schemas.js +703 -23
- 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 +78 -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 +92 -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 +26 -0
- 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 +14 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +21 -5
- 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-line.application-creation.schemas.d.ts +119 -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 +140 -7
- package/dist/esm/application-creation/application-line.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts +7 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts.map +1 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.js +7 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.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 +103 -15
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js +151 -21
- 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 +1 -0
- 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 +1 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation.exports.d.ts +7 -0
- package/dist/esm/application-creation.exports.d.ts.map +1 -1
- package/dist/esm/application-creation.exports.js +7 -0
- package/dist/esm/application-creation.exports.js.map +1 -1
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts +36 -2
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts.map +1 -1
- package/dist/esm/assurance/application-risk-signals.derivations.js +52 -4
- 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 +608 -9
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.js +2962 -1078
- package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +15 -0
- 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 +138 -19
- package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts +65 -0
- 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 +81 -6
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.js +68 -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 +1631 -70
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.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 +327 -3
- 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 +403 -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 +825 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.js.map +1 -0
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +83 -8
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.js +167 -20
- package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.d.ts +234 -35
- package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.js +255 -14
- 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 +259 -18
- 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 +216 -0
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.js.map +1 -0
- package/dist/esm/assurance/assurance-sources.schemas.d.ts +110 -0
- 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 +356 -5
- 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 +3 -1
- package/dist/esm/assurance/governed-document-release.js.map +1 -1
- package/dist/esm/assurance.exports.d.ts +4 -0
- package/dist/esm/assurance.exports.d.ts.map +1 -1
- package/dist/esm/assurance.exports.js +4 -0
- package/dist/esm/assurance.exports.js.map +1 -1
- package/dist/esm/companion-exports.d.ts +9 -1
- package/dist/esm/companion-exports.d.ts.map +1 -1
- package/dist/esm/companion-exports.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts +1 -1
- 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 +33 -5
- 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.map +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +9 -12
- 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 +1 -1
- 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 +60 -6
- 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.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 +1 -0
- package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.js +2 -2
- 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 +12 -4
- 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 +46 -10
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts +3 -2
- 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 +1 -1
- 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 +40 -11
- 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 +1 -1
- 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 +44 -3
- 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 +7 -3
- 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 +40 -8
- 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 +14 -8
- 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 +72 -19
- 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 +2 -2
- 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 +6 -6
- 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 +1 -0
- 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 +14 -13
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js +2 -2
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js.map +1 -1
- 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 +68 -12
- 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.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +75 -19
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +3 -1
- 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 +11 -7
- 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 +2 -0
- 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 +2 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts +4 -2
- 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 +8 -7
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js +6 -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 +2 -2
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +1 -1
- 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 +4 -0
- 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 +4 -1
- 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 +9 -5
- 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 +16 -8
- 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 +73 -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 +192 -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 +5 -3
- 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 +19 -13
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts +11 -6
- 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 +14 -3
- 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.js +1 -1
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.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 +55 -11
- package/dist/esm/engine/engine-resource-specifications.registry.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 +300 -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/resources/application-features.resource.specification.js +2 -2
- 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.map +1 -1
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js +34 -15
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.d.ts +4 -1
- package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.js +24 -3
- 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.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +31 -3
- 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.js +6 -6
- 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 +92 -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 +73 -31
- 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 +118 -18
- 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 +3 -0
- 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 +9 -4
- 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 +230 -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 +6 -0
- 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 +3 -2
- 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-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/public-layout-legal-notice.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.js.map +1 -0
- 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/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/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.js +1 -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.js +1 -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.js +1 -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.js +1 -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-range-picker.frontend-component.specification.js +1 -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/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/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/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-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 +7 -0
- package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/index.js +29 -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-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.js +2 -2
- 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-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 +3 -1
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js.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/document-sequence-counters.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.js +110 -0
- package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.js.map +1 -0
- 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/job-executions.resource.specification.d.ts +21 -4
- 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 +3 -3
- 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 +5 -5
- 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 +38 -10
- 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 +181 -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 +3 -3
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js +7 -7
- 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 +31 -1
- 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 +33 -7
- 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 +16 -14
- 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 +56 -53
- 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 +6 -2
- 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 +22 -4
- 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 +2 -2
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts +2 -0
- 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 +3 -3
- 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-members.resource.specification.d.ts +5 -4
- 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 +114 -51
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts +11 -10
- 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/{service-provider-relationships.resource.specification.d.ts → organization-relationships.resource.specification.d.ts} +73 -56
- 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 +643 -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 +1 -1
- 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 +6 -4
- 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.js +2 -2
- 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 +4 -4
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +93 -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/github.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/github.provider.specification.js +8 -5
- 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 +39 -0
- package/dist/esm/engine/providers/google-drive.provider.specification.js.map +1 -0
- 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 +39 -0
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/mistral.provider.specification.js +2 -2
- package/dist/esm/engine/providers/mistral.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 +8 -6
- package/dist/esm/engine/providers/resend.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/index.d.ts +2 -2
- package/dist/esm/engine/roles/index.d.ts.map +1 -1
- package/dist/esm/engine/roles/index.js +5 -5
- 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/users/resources/anonymous-users.resource.specification.d.ts +1 -0
- 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 +3 -3
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +3 -3
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
- 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 +1 -1
- 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 +1 -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 +2 -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 +4 -0
- 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 +3 -3
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +1 -1
- 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 +4 -0
- 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 +6 -2
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts +1 -0
- 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 +33 -0
- package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts +2 -1
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.js +10 -4
- package/dist/esm/engine/users/resources/users.resource.specification.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 +17 -15
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
- package/package.json +8 -8
- 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.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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CorePresetNames, CorePreset_ResourceLayout_Read, LabelAudience, } from '@wildo-ai/presets-components-models';
|
|
2
2
|
import { securityAdminPresets, securityMainPresets, } from '@wildo-ai/presets-components';
|
|
3
|
-
import { CoreResourceOperation as Op, CoreResourceType, ResourcePrimaryScope, SsoConnection_Operations, SsoConnectionDiscoverySource, SsoConnectionTestOverallStatus, SsoConnectionBaseSchema, SamlNameIdFormat, SsoProtocol, ssoConnectionPolymorphicFactories, } from '@wildo-ai/saas-models';
|
|
3
|
+
import { CoreResourceOperation as Op, CoreResourceType, ResourcePrimaryScope, SsoConnection_Operations, SsoConnectionDiscoverySource, SsoConnectionTestOverallStatus, SsoConnectionBaseSchema, SamlNameIdFormat, SSOTemplateMode, SsoProtocol, WRITE_ONLY_SECRET_MASK, ssoConnectionPolymorphicFactories, } from '@wildo-ai/saas-models';
|
|
4
4
|
import { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance, } from '@wildo-ai/zod-decorators';
|
|
5
5
|
import { HttpResponseStatusCode, mergeResourceFrontendConfigurations, resourceFrontendConfiguration, resourceSpecification, resourceSpecificationFromFrontendConfiguration, } from '../../../_core/index.js';
|
|
6
6
|
import { EngineResourceSubDomain } from '../../engine-resource-sub-domain.js';
|
|
@@ -197,7 +197,7 @@ function buildSsoConnectionsBaseSpecification(resourceType, resourceTypeMemberNa
|
|
|
197
197
|
meaning: 'The SAML identity provider this connection federates with: its endpoints and certificates, how strictly its assertions are validated, and which attribute carries each user detail. Present when `protocol` is `saml`.',
|
|
198
198
|
}),
|
|
199
199
|
oidc: schemaShape.oidc.objectSpec({
|
|
200
|
-
meaning: 'The OpenID Connect provider this connection federates with: how its endpoints are found, the client credentials the application uses, what it requests at sign-in, and which claim carries each user detail. Present when `protocol` is `oidc`.',
|
|
200
|
+
meaning: 'The OpenID Connect provider this connection federates with: how its endpoints are found, the client credentials the application uses, what it requests at sign-in, and which claim carries each user detail. Present when `protocol` is `oidc`. Its `clientSecret` is stored SEALED (AES-256-GCM, bound to the connection\'s scope), opened only for the token exchange; a request carrying an already-sealed value is refused (400), since a round trip sends the mask.',
|
|
201
201
|
}),
|
|
202
202
|
externalProviderId: schemaShape.externalProviderId.stringSpec({
|
|
203
203
|
meaning: 'The known provider this OIDC connection is built on, such as Google or Microsoft. In `template` mode its endpoints come from that provider\'s definition, and in every mode the provider\'s own token rules apply, such as how it reports a verified email or which directory asserted the identity.',
|
|
@@ -230,7 +230,7 @@ function buildSsoConnectionsBaseSpecification(resourceType, resourceTypeMemberNa
|
|
|
230
230
|
],
|
|
231
231
|
errorScenarios: [
|
|
232
232
|
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to inspect SSO connection configuration.' },
|
|
233
|
-
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A
|
|
233
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A representative of another organization reaches this operation only through a live grant of the `MANAGE_SSO_SCIM` 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.' },
|
|
234
234
|
],
|
|
235
235
|
idempotent: true,
|
|
236
236
|
examples: [{
|
|
@@ -259,7 +259,7 @@ function buildSsoConnectionsBaseSpecification(resourceType, resourceTypeMemberNa
|
|
|
259
259
|
},
|
|
260
260
|
},
|
|
261
261
|
[Op.READ]: {
|
|
262
|
-
purpose: 'Retrieve the current configuration and status of one SSO connection.',
|
|
262
|
+
purpose: 'Retrieve the current configuration and status of one SSO connection — what an administrator opens to inspect or test it, and the owner before editing it. The OIDC client secret is returned masked, and a SAML connection\'s stored certificates are not returned at all.',
|
|
263
263
|
outcome: 'Administrators can inspect how the connection is wired and whether it is ready to support sign-in flows.',
|
|
264
264
|
whenToUse: 'Use when the goal is configuration review, troubleshooting, or pre-change verification.',
|
|
265
265
|
importance: FieldSemanticImportance.PRIMARY,
|
|
@@ -268,12 +268,13 @@ function buildSsoConnectionsBaseSpecification(resourceType, resourceTypeMemberNa
|
|
|
268
268
|
],
|
|
269
269
|
errorScenarios: [
|
|
270
270
|
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to inspect SSO connection configuration.' },
|
|
271
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A representative of another organization reaches this operation only through a live grant of the `MANAGE_SSO_SCIM` 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.' },
|
|
271
272
|
{ code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No SSO connection exists for the supplied id in the caller’s auth scope.' },
|
|
272
273
|
],
|
|
273
274
|
idempotent: true,
|
|
274
275
|
},
|
|
275
276
|
[Op.CREATE]: {
|
|
276
|
-
purpose: 'Create a new SSO connection for the current auth scope.
|
|
277
|
+
purpose: 'Create a new SSO connection for the current auth scope: the identity provider the scope\'s people will sign in through. The organization\'s owner authors it — usually after `discoverEndpoints` has read the provider\'s metadata into the form — and the server turns a SAML `x509CertificatePem` into the stored certificates and keeps one default connection per scope. The connection is identified by its `_id`, which the identity links made through it carry. Making a connection the default demotes the scope\'s previous default in the same write.',
|
|
277
278
|
outcome: 'The organization or application gains a newly authored external identity-provider connection.',
|
|
278
279
|
whenToUse: 'Use when onboarding a new enterprise identity provider or adding another auth route.',
|
|
279
280
|
importance: FieldSemanticImportance.PRIMARY,
|
|
@@ -282,19 +283,26 @@ function buildSsoConnectionsBaseSpecification(resourceType, resourceTypeMemberNa
|
|
|
282
283
|
],
|
|
283
284
|
errorScenarios: [
|
|
284
285
|
{ code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The connection fails schema validation (e.g. a missing `protocol`, an empty `displayName`, or protocol settings that do not match the selected `protocol`).' },
|
|
285
|
-
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller
|
|
286
|
-
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The
|
|
286
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not the organization\'s owner (for an application connection, the application\'s super administrator). A connection names the identity provider trusted to sign people in, and that provider can sign in as any existing account at the organization\'s verified domain, so only the top administrative tier writes one (#2519). An organization administrator is refused, and so is a representative of another organization: `MANAGE_SSO_SCIM` does not lend this operation.' },
|
|
287
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The organization is not entitled to single sign-on (`FEATURE_NOT_AVAILABLE`): setting up a connection is how an organization turns single sign-on on, exactly as discovering a provider\'s endpoints is (#2313).' },
|
|
288
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The write would grant a role above the writer\'s own (`role_ceiling_exceeded`, #1631): the roles this setting gives to the accounts it creates may not exceed the roles of whoever configures it, counting only roles the write adds.' },
|
|
287
289
|
{ code: HttpResponseStatusCode.CONFLICT_409, when: 'A connection with the same provider identity (e.g. duplicate `displayName` or issuer) already exists in this auth scope.' },
|
|
288
290
|
],
|
|
289
291
|
idempotent: false,
|
|
290
292
|
examples: [
|
|
291
293
|
{
|
|
292
|
-
title: 'Create an OIDC SSO connection',
|
|
294
|
+
title: 'Create an OIDC SSO connection read from the provider\'s discovery document',
|
|
293
295
|
request: {
|
|
294
296
|
protocol: SsoProtocol.OIDC,
|
|
295
297
|
displayName: 'Acme Okta',
|
|
296
298
|
enabled: false,
|
|
297
299
|
allowedDomains: ['acme.com'],
|
|
300
|
+
oidc: {
|
|
301
|
+
templateMode: SSOTemplateMode.DISCOVERY,
|
|
302
|
+
issuer: 'https://acme.okta.com',
|
|
303
|
+
clientId: '0oa1acmeexample',
|
|
304
|
+
clientSecret: 'the-client-secret-okta-issued',
|
|
305
|
+
},
|
|
298
306
|
},
|
|
299
307
|
response: {
|
|
300
308
|
_id: 'ssoconn_01HX2…',
|
|
@@ -302,13 +310,19 @@ function buildSsoConnectionsBaseSpecification(resourceType, resourceTypeMemberNa
|
|
|
302
310
|
displayName: 'Acme Okta',
|
|
303
311
|
enabled: false,
|
|
304
312
|
allowedDomains: ['acme.com'],
|
|
313
|
+
oidc: {
|
|
314
|
+
templateMode: SSOTemplateMode.DISCOVERY,
|
|
315
|
+
issuer: 'https://acme.okta.com',
|
|
316
|
+
clientId: '0oa1acmeexample',
|
|
317
|
+
clientSecret: WRITE_ONLY_SECRET_MASK,
|
|
318
|
+
},
|
|
305
319
|
},
|
|
306
320
|
forStatus: HttpResponseStatusCode.CREATED_201,
|
|
307
321
|
},
|
|
308
322
|
],
|
|
309
323
|
},
|
|
310
324
|
[Op.UPDATE]: {
|
|
311
|
-
purpose: 'Adjust the configuration of an existing SSO connection.
|
|
325
|
+
purpose: 'Adjust the configuration of an existing SSO connection. The edit replaces each protocol block as sent, with two protections for what a client cannot round-trip: the write-only `oidc.clientSecret` is kept when the caller sends the masked value or none, and a SAML connection\'s stored certificates are kept unless the edit supplies a new `x509CertificatePem`.',
|
|
312
326
|
outcome: 'The connection stays the same logical identity-provider entry but with updated settings or lifecycle posture.',
|
|
313
327
|
whenToUse: 'Use when rotating metadata, changing mapping rules, or enabling/disabling the provider.',
|
|
314
328
|
responseStatuses: [
|
|
@@ -316,12 +330,53 @@ function buildSsoConnectionsBaseSpecification(resourceType, resourceTypeMemberNa
|
|
|
316
330
|
],
|
|
317
331
|
errorScenarios: [
|
|
318
332
|
{ code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The edited protocol settings, domains, or display name fail schema validation.' },
|
|
319
|
-
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller
|
|
320
|
-
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The
|
|
333
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not the organization\'s owner (for an application connection, the application\'s super administrator). A connection names the identity provider trusted to sign people in, and that provider can sign in as any existing account at the organization\'s verified domain, so only the top administrative tier writes one (#2519). An organization administrator is refused, and so is a representative of another organization: `MANAGE_SSO_SCIM` does not lend this operation.' },
|
|
334
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The edit switches the connection ON (`enabled: true`) for an organization not entitled to single sign-on (`FEATURE_NOT_AVAILABLE`). Any other edit, switching it off, and deleting it stay open, so a tenant whose plan lapsed can wind single sign-on down (#2313).' },
|
|
335
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The write would grant a role above the writer\'s own (`role_ceiling_exceeded`, #1631): the roles this setting gives to the accounts it creates may not exceed the roles of whoever configures it, counting only roles the write adds.' },
|
|
321
336
|
{ code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No SSO connection exists for the supplied id in the caller’s auth scope.' },
|
|
322
337
|
],
|
|
323
338
|
idempotent: true,
|
|
324
339
|
},
|
|
340
|
+
[Op.DELETE]: {
|
|
341
|
+
purpose: 'Remove an SSO connection from its scope. The identity links people signed in through it are deleted with it, so nobody is matched to a provider the scope no longer trusts.',
|
|
342
|
+
outcome: 'Nobody can sign in through the removed provider; people who also hold another sign-in method keep it.',
|
|
343
|
+
whenToUse: 'Use when the organization stops using an identity provider. To pause one temporarily, switch it off with an update instead.',
|
|
344
|
+
responseStatuses: [
|
|
345
|
+
{ code: HttpResponseStatusCode.OK_200, meaning: 'The connection was deleted and the identity links made through it were removed. The body carries its `id`.' },
|
|
346
|
+
],
|
|
347
|
+
errorScenarios: [
|
|
348
|
+
{ code: HttpResponseStatusCode.CONFLICT_409, when: 'Deleting it would leave accounts with no way to sign in (`SSO_CONNECTION_REMOVAL_STRANDS_ACCOUNTS`, with `orphanedUserCount` and `affectedUserCount`). Give those people another sign-in method first, or have the organization\'s owner delete it with `forceDelete`, which takes a justification and that count.' },
|
|
349
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to remove SSO connections.' },
|
|
350
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A representative of another organization reaches this operation only through a live grant of the `MANAGE_SSO_SCIM` 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.' },
|
|
351
|
+
{ code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No SSO connection exists for the supplied id in the caller’s auth scope.' },
|
|
352
|
+
],
|
|
353
|
+
idempotent: false,
|
|
354
|
+
},
|
|
355
|
+
[SsoConnection_Operations.FORCE_DELETE]: {
|
|
356
|
+
operationId: SsoConnection_Operations.FORCE_DELETE,
|
|
357
|
+
purpose: 'Delete a connection that some accounts sign in only through, after DELETE refused it. Only the organization\'s owner may: it can strand everyone who signs in through the connection, the owner included, and only the owner can write a replacement. The owner gives a written justification and acknowledges how many accounts lose their only sign-in method; the count is measured again in the deletion\'s transaction, and the justification is recorded with the deletion.',
|
|
358
|
+
outcome: 'The connection and its identity links are gone. The accounts that signed in only through it have no sign-in method until they are given one, or until they sign in through another connection that admits their email domain, which links them again by their email.',
|
|
359
|
+
whenToUse: 'Use when the organization has retired the identity provider, or has moved to a replacement connection and accepts that the people who have not signed in through it yet must link again. To pause a provider, the owner switches the connection off with an update instead: that is undone by switching it back on.',
|
|
360
|
+
importance: FieldSemanticImportance.PRIMARY,
|
|
361
|
+
responseStatuses: [
|
|
362
|
+
{ code: HttpResponseStatusCode.OK_200, meaning: 'The connection was deleted and the identity links made through it were removed. The body carries its `id`.' },
|
|
363
|
+
],
|
|
364
|
+
errorScenarios: [
|
|
365
|
+
{ code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The justification is empty or longer than 500 characters, or the acknowledged count is missing or not a whole number.' },
|
|
366
|
+
{ code: HttpResponseStatusCode.CONFLICT_409, when: 'The number of accounts the deletion would strand is no longer the acknowledged one (`SSO_CONNECTION_STRANDED_ACCOUNT_COUNT_CHANGED`, with the current `orphanedUserCount`). Nothing is deleted; review the new count and send it.' },
|
|
367
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not the organization\'s owner (for an application connection, the application\'s super administrator). An organization administrator is refused, and so is a representative of another organization: `MANAGE_SSO_SCIM` does not lend this operation (#2519).' },
|
|
368
|
+
{ code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No SSO connection exists for the supplied id in the caller’s auth scope.' },
|
|
369
|
+
],
|
|
370
|
+
idempotent: false,
|
|
371
|
+
examples: [
|
|
372
|
+
{
|
|
373
|
+
title: 'Delete a retired identity provider that two accounts still sign in through',
|
|
374
|
+
request: { justification: 'The group retired this identity provider on 2026-10-01; everyone has moved to the new connection.', acknowledgedStrandedAccountCount: 2 },
|
|
375
|
+
response: { id: '507f1f77bcf86cd799439011' },
|
|
376
|
+
forStatus: HttpResponseStatusCode.OK_200,
|
|
377
|
+
},
|
|
378
|
+
],
|
|
379
|
+
},
|
|
325
380
|
[SsoConnection_Operations.TEST_CONNECTION]: {
|
|
326
381
|
operationId: SsoConnection_Operations.TEST_CONNECTION,
|
|
327
382
|
purpose: 'Evaluate the stored SSO connection without accepting a second connection identity in the request. SAML returns concrete certificate, endpoint, and service-provider metadata diagnostics; OIDC explicitly reports that its test flow is not implemented.',
|
|
@@ -333,7 +388,7 @@ function buildSsoConnectionsBaseSpecification(resourceType, resourceTypeMemberNa
|
|
|
333
388
|
],
|
|
334
389
|
errorScenarios: [
|
|
335
390
|
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to run an SSO connection test.' },
|
|
336
|
-
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A
|
|
391
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A representative of another organization reaches this operation only through a live grant of the `MANAGE_SSO_SCIM` 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.' },
|
|
337
392
|
{ code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No SSO connection exists for the supplied id to test.' },
|
|
338
393
|
],
|
|
339
394
|
idempotent: false,
|
|
@@ -416,7 +471,7 @@ function buildSsoConnectionsBaseSpecification(resourceType, resourceTypeMemberNa
|
|
|
416
471
|
errorScenarios: [
|
|
417
472
|
{ code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'Neither source is supplied, a URL is malformed or unreachable, the metadata URL resolves to an address an identity-provider destination may not reach (link-local always; a private network unless the operator declared its range in `auth.federatedIdentityProviderPrivateNetworks`; loopback outside a development or test runtime unless explicitly declared), the endpoint answers with a redirect — which is reported, never followed — or the SAML endpoint returns oversized, non-XML, or unparseable metadata. For `issuerUrl`: the issuer is not HTTPS, its discovery document is not a JSON object or is oversized, lacks an authorization, token or JWKS endpoint, or asserts a different `issuer` — carried as `oidc_discovery_failed` with the reason in its context.' },
|
|
418
473
|
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to run endpoint discovery.' },
|
|
419
|
-
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A
|
|
474
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A representative of another organization reaches this operation only through a live grant of the `MANAGE_SSO_SCIM` 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.' },
|
|
420
475
|
],
|
|
421
476
|
idempotent: false,
|
|
422
477
|
examples: [
|
|
@@ -457,6 +512,7 @@ function buildSsoConnectionsBaseSpecification(resourceType, resourceTypeMemberNa
|
|
|
457
512
|
businessConstraints: [
|
|
458
513
|
'Protocol-specific nested settings are only meaningful when the matching `protocol` is selected; do not flatten SAML and OIDC concerns into one generic prose bucket.',
|
|
459
514
|
'These resources describe authentication-provider wiring, not end-user identity records or access-policy outcomes directly.',
|
|
515
|
+
'Deleting a connection refuses to strand an account it can see: DELETE refuses while some account signs in only through it (linked to it, or at a domain the organization routes to it, which covers employees a directory pushed who have not signed in yet), and `forceDelete` (the owner\'s) removes it only with a justification and the stranded count, measured again inside the deletion\'s transaction (#2669). Whether an account keeps a way in is the engine\'s own answer, the one that stops a person removing their own last method, evaluated on the state the deletion leaves: a password or a passkey only where the account\'s user type enables it and sign-in still accepts it (at a domain that requires single sign-on, only for a break-glass account), a passkey only where a relying party is configured, and another connection only where it is enabled and the account is an active member of its scope. An account that is not active is not counted. A first sign-in that commits while the deletion runs collides with it on the connection\'s row, so its new link cannot survive the connection (#2675). Switching a connection off is never refused, because it is undone by switching it on.',
|
|
460
516
|
],
|
|
461
517
|
}), {
|
|
462
518
|
// Phase 4.5 Step 2 (F-1): scope is parameterised per polymorphic
|
|
@@ -543,19 +599,19 @@ function buildSsoConnectionsResourceSpecification(resourceType, resourceTypeMemb
|
|
|
543
599
|
},
|
|
544
600
|
},
|
|
545
601
|
},
|
|
546
|
-
[
|
|
547
|
-
purpose: '
|
|
602
|
+
[Op.CREATE]: {
|
|
603
|
+
purpose: 'Create a connection through a guided setup: importing the identity provider\'s SAML metadata pre-fills the create form, which then submits CREATE. (It was the DISCOVER_ENDPOINTS view until #2519, whose form could only ever submit the discovery request; discovery is now an API-only operation the wizard calls.)',
|
|
548
604
|
views: {
|
|
549
605
|
default: {
|
|
550
606
|
customView: {
|
|
551
|
-
purpose: 'Replace the generic create host with the SAML
|
|
552
|
-
whenToUse: 'Use when the operation should drive guided
|
|
607
|
+
purpose: 'Replace the generic create host with the SAML metadata-import wizard, so the organization\'s owner authors a connection from the provider\'s own metadata rather than typing its endpoints.',
|
|
608
|
+
whenToUse: 'Use when the operation should drive guided, metadata-derived setup rather than the default create form shell.',
|
|
553
609
|
textSlots: {
|
|
554
610
|
title: {
|
|
555
|
-
purpose: 'Name this custom setup host as the SSO
|
|
611
|
+
purpose: 'Name this custom setup host as the SSO connection setup workflow users are currently in.',
|
|
556
612
|
},
|
|
557
613
|
description: {
|
|
558
|
-
purpose: 'Explain that this host
|
|
614
|
+
purpose: 'Explain that this host imports the identity provider\'s metadata into the connection being created rather than asking for every endpoint by hand.',
|
|
559
615
|
},
|
|
560
616
|
},
|
|
561
617
|
basedOnPreset: CorePresetNames.DEFAULT,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sso-connections.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/auth/resources/sso-connections.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,8BAA8B,EAC9B,aAAa,GACd,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,gBAAgB,EAChB,oBAAoB,EACpB,wBAAwB,EACxB,4BAA4B,EAC5B,8BAA8B,EAC9B,uBAAuB,EACvB,gBAAgB,EAChB,WAAW,EACX,iCAAiC,GAClC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,sBAAsB,EACtB,mCAAmC,EACnC,6BAA6B,EAC7B,qBAAqB,EACrB,8CAA8C,GAE/C,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAsB3E,SAAS,8BAA8B,CACrC,MAAwC,EACxC,YAAuC,EACvC,UAAkB;IAElB,MAAM,UAAU,GAAG,MAAM,CAAC,YAAY,CAAmD,CAAC;IAC1F,IAAI,CAAC,UAAU,EAAE,CAAC;QAChB,MAAM,IAAI,KAAK,CAAC,YAAY,YAAY,oBAAoB,UAAU,GAAG,CAAC,CAAC;IAC7E,CAAC;IACD,OAAO,UAAU,CAAC;AACpB,CAAC;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,+CAA+C,GAGjD;IACF,CAAC,gBAAgB,CAAC,4BAA4B,CAAC,EAAE,oBAAoB,CAAC,aAAa;IACnF,C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B,CAAC,EAAE;gBAC7C,OAAO,EAAE,yGAAyG;gBAClH,KAAK,EAAE;oBACL,OAAO,EAAE;wBACP,UAAU,EAAE;4BACV,OAAO,EAAE,8HAA8H;4BACvI,SAAS,EAAE,iGAAiG;4BAC5G,SAAS,EAAE;gCACT,KAAK,EAAE;oCACL,OAAO,EAAE,4FAA4F;iCACtG;gCACD,WAAW,EAAE;oCACX,OAAO,EAAE,kIAAkI;iCAC5I;6BACF;4BACD,aAAa,EAAE,eAAe,CAAC,OAAO;4BACtC,oBAAoB,EAAE;gCACpB,WAAW,EAAE,6BAA6B;gCAC1C,UAAU,EAAE,wCAAwC;gCACpD,UAAU,EAAE,cAAc,CAAC,SAAS;gCACpC,eAAe,EAAE,mBAAmB,CAAC,QAAQ;6BAC9C;4BACD,kBAAkB,EAAE;gCAClB;oCACE,WAAW,EAAE,8BAA8B;oCAC3C,UAAU,EAAE,qBAAqB;oCACjC,UAAU,EAAE,cAAc,CAAC,WAAW;iCACvC;gCACD;oCACE,WAAW,EAAE,8BAA8B;oCAC3C,UAAU,EAAE,sBAAsB;oCAClC,UAAU,EAAE,cAAc,CAAC,WAAW;iCACvC;6BACF;yBACF;qBACF;iBACF;aACF;SACF;KACF,CAAC,CACH,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,+CAA+C,GAAG,wCAAwC,CACrG,gBAAgB,CAAC,4BAA4B,EAC7C,8BAA8B,CAC/B,CAAC;AAEF,MAAM,CAAC,MAAM,8CAA8C,GAAG,wCAAwC,CACpG,gBAAgB,CAAC,2BAA2B,EAC5C,6BAA6B,CAC9B,CAAC","sourcesContent":["import {\n CorePresetNames,\n CorePreset_ResourceLayout_Read,\n LabelAudience,\n} from '@wildo-ai/presets-components-models';\nimport {\n securityAdminPresets,\n securityMainPresets,\n} from '@wildo-ai/presets-components';\nimport type { ResourceUIBehaviorConfig } from '@wildo-ai/saas-frontend-lib/companion';\nimport {\n CoreResourceOperation as Op,\n CoreResourceType,\n ResourcePrimaryScope,\n SsoConnection_Operations,\n SsoConnectionDiscoverySource,\n SsoConnectionTestOverallStatus,\n SsoConnectionBaseSchema,\n SamlNameIdFormat,\n SsoProtocol,\n ssoConnectionPolymorphicFactories,\n} from '@wildo-ai/saas-models';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n HttpResponseStatusCode,\n mergeResourceFrontendConfigurations,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n type ResourceSpecificationConfig,\n} from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype SsoConnectionResourceType =\n | CoreResourceType.ORGANIZATION_SSO_CONNECTIONS\n | CoreResourceType.APPLICATION_SSO_CONNECTIONS;\n\ntype SsoConnectionResourceTypeMemberName =\n | 'ORGANIZATION_SSO_CONNECTIONS'\n | 'APPLICATION_SSO_CONNECTIONS';\n\ntype SsoConnectionResourceConfiguration = ReturnType<\n (typeof ssoConnectionPolymorphicFactories)[CoreResourceType.ORGANIZATION_SSO_CONNECTIONS]\n>;\ntype SsoConnectionCustomOperation = NonNullable<SsoConnectionResourceConfiguration['customOperation']>;\ntype SsoConnectionCoreOperation = SsoConnectionResourceConfiguration['coreOperations'][number];\ntype SsoConnectionMainSchema = typeof SsoConnectionBaseSchema;\ntype SsoConnectionFrontendConfiguration = ResourceUIBehaviorConfig<\n SsoConnectionCustomOperation,\n SsoConnectionCoreOperation,\n SsoConnectionMainSchema\n>;\n\nfunction resolveSsoConnectionUIBehavior(\n source: Partial<Record<string, unknown>>,\n resourceType: SsoConnectionResourceType,\n sourceName: string,\n): SsoConnectionFrontendConfiguration {\n const uiBehavior = source[resourceType] as SsoConnectionFrontendConfiguration | undefined;\n if (!uiBehavior) {\n throw new Error(`Missing \"${resourceType}\" UI behavior in ${sourceName}.`);\n }\n return uiBehavior;\n}\n\n/**\n * Map each polymorphic SSO-connection resource type to its declared\n * `resourcePrimaryScope` (Phase 4.5 Step 2 — F-1). The polymorphic\n * factory derives the same value from the resource's relationships\n * (`AUTH_SCOPE_VARIANTS` carries `isPrimaryScope: true` for both the\n * `ORGANIZATIONS` and `APPLICATION` parents, so\n * `createPolymorphicScopeRelationships` emits scope edges for both\n * variants). Adding a new SSO-connection variant requires explicitly\n * extending this map (TypeScript-enforced via the\n * `Record<SsoConnectionResourceType, ...>` type), preventing a silent\n * scope-default regression on the new variant.\n *\n * The cross-check that the declared value here matches the registry-\n * assembled scope is the responsibility of the post-factory check\n * tracked as Phase 4.5 Step 2.5 — the spec layer cannot perform it\n * because it never sees the real cross-resource `ResourceRelationship[]`.\n */\nconst ssoConnectionResourcePrimaryScopeByResourceType: Record<\n SsoConnectionResourceType,\n ResourcePrimaryScope\n> = {\n [CoreResourceType.ORGANIZATION_SSO_CONNECTIONS]: ResourcePrimaryScope.ORGANIZATIONS,\n [CoreResourceType.APPLICATION_SSO_CONNECTIONS]: ResourcePrimaryScope.APPLICATION,\n};\n\nconst SSO_CONNECTION_LIST_REQUEST_EXAMPLE = { page: 1, limit: 20, sort: 'displayName:asc' } as const;\n\nfunction createSsoConnectionExamples(resourceType: SsoConnectionResourceType) {\n const scopeIdentity = resourceType === CoreResourceType.ORGANIZATION_SSO_CONNECTIONS\n ? { organizationId: 'organization_01HX2EXAMPLE' }\n : { applicationId: 'application_01HX2EXAMPLE' };\n const record = {\n _id: resourceType === CoreResourceType.ORGANIZATION_SSO_CONNECTIONS ? 'sso_org_01HX2EXAMPLE' : 'sso_app_01HX2EXAMPLE',\n protocol: SsoProtocol.SAML,\n displayName: 'Corporate workforce SAML',\n enabled: true,\n isDefault: true,\n saml: {\n entityId: 'https://idp.example.com/saml',\n ssoUrl: 'https://idp.example.com/saml/sso',\n sloUrl: 'https://idp.example.com/saml/slo',\n x509Certificates: ['MIIBEXAMPLECERTIFICATE'],\n attributeMapping: {\n email: 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress',\n firstName: 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname',\n lastName: 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname',\n },\n signRequests: true,\n wantAssertionsSigned: true,\n allowedClockDrift: 30,\n forceAuthn: false,\n nameIdFormat: SamlNameIdFormat.EMAIL_ADDRESS,\n allowIdpInitiated: false,\n },\n autoCreateUsers: true,\n defaultRole: 'member',\n allowedDomains: ['example.com'],\n createdAt: '2026-08-01T09:00:00.000Z',\n updatedAt: '2026-08-20T08:30:00.000Z',\n ...scopeIdentity,\n };\n const page = {\n data: [record],\n pagination: { page: 1, limit: 20, total: 1, totalPages: 1 },\n };\n const summaryPage = {\n data: [{\n _id: record._id,\n protocol: record.protocol,\n displayName: record.displayName,\n enabled: record.enabled,\n }],\n pagination: page.pagination,\n };\n\n return { page, summaryPage };\n}\n\nfunction buildSsoConnectionsBaseSpecification(\n resourceType: SsoConnectionResourceType,\n resourceTypeMemberName: SsoConnectionResourceTypeMemberName,\n): ResourceSpecificationConfig<\n SsoConnectionCustomOperation,\n SsoConnectionCoreOperation,\n SsoConnectionMainSchema\n> {\n const examples = createSsoConnectionExamples(resourceType);\n return resourceSpecification<\n SsoConnectionCustomOperation,\n SsoConnectionCoreOperation,\n SsoConnectionMainSchema\n >(\n ssoConnectionPolymorphicFactories[resourceType],\n SsoConnectionBaseSchema,\n ({ schemaShape }) => ({\n purpose: 'Represent one configured SSO provider connection that governs how an organization or application accepts external identity-provider sign-ins.',\n businessRole: 'Administrative authentication-connection record that binds one auth scope to a concrete OIDC or SAML provider setup.',\n lifecycleRole: 'Moves from draft/provider setup through validation and eventual activation, rotation, or retirement under admin control.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.AUTH,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'SsoConnectionBaseSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactoryCollectionEntry: {\n collectionSymbol: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'ssoConnectionPolymorphicFactories',\n symbolKind: CodeSymbolKind.FACTORY,\n },\n identifierField: 'collectionKey',\n identifierValue: resourceType,\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: resourceTypeMemberName,\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: 'SsoConnection_Operations',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n frontendConfigurationSourceEntries: [\n {\n collectionSymbol: {\n packageName: '@wildo-ai/presets-components',\n exportName: 'securityMainPresets',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n identifierField: 'collectionKey',\n identifierValue: resourceType,\n },\n {\n collectionSymbol: {\n packageName: '@wildo-ai/presets-components',\n exportName: 'securityAdminPresets',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n identifierField: 'collectionKey',\n identifierValue: resourceType,\n },\n ],\n notes: [\n 'These resources are polymorphic: import the shared collection exports and select the entry keyed by the concrete resource type.',\n ],\n },\n fields: {\n protocol: schemaShape.protocol.enumSpec({\n meaning: 'Chooses which external authentication protocol contract this connection follows.',\n whyItMatters: 'It changes which nested configuration block is meaningful, which validation UI applies, and which custom admin views can surface.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'SsoProtocol',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [SsoProtocol.OIDC]: { meaning: 'OIDC provider configuration with discovery/token endpoints and OAuth-style settings.' },\n [SsoProtocol.SAML]: { meaning: 'SAML identity-provider configuration with metadata, certificates, and assertion settings.' },\n },\n }),\n displayName: schemaShape.displayName.stringSpec({\n meaning: 'Human-facing name administrators use to recognize this SSO connection in settings and support flows.',\n whyItMatters: 'It anchors the connection in admin UX and makes protocol/test results intelligible during troubleshooting.',\n semanticRole: 'label',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n enabled: schemaShape.enabled.booleanSpec({\n meaning: 'Indicates whether the connection may actively participate in authentication flows.',\n whyItMatters: 'Disabled connections remain configured for audit or later reuse, but should not be offered for live sign-in attempts.',\n }),\n isDefault: schemaShape.isDefault.booleanSpec({\n meaning: 'Marks the connection that receives a sign-in when several of the scope\\u2019s enabled connections could. Sign-in offers exactly one connection; among eligible connections, one that names the user\\u2019s email domain wins first, then the default, then the oldest.',\n whyItMatters: 'It decides which identity provider silently receives a login, which is why it is audit evidence. Making one connection the default removes the flag from the scope\\u2019s others in the same write.',\n }),\n allowedDomains: schemaShape.allowedDomains.arraySpec({\n meaning: 'Restricts which email/identity domains are accepted through this SSO connection.',\n whyItMatters: 'It is the primary admin-controlled allow-list that prevents unintended tenants or users from authenticating through this connection — a security-critical setting.',\n elementMeaning: 'One DNS-style domain that an authenticating identity must match (e.g. acme.com).',\n elementType: {\n notes: [\n 'Element schema is a free-form string — domain values are application-declared and validated at the backend service layer rather than via a fixed enum.',\n ],\n },\n }),\n saml: schemaShape.saml.objectSpec({\n meaning: 'The SAML identity provider this connection federates with: its endpoints and certificates, how strictly its assertions are validated, and which attribute carries each user detail. Present when `protocol` is `saml`.',\n }),\n oidc: schemaShape.oidc.objectSpec({\n meaning: 'The OpenID Connect provider this connection federates with: how its endpoints are found, the client credentials the application uses, what it requests at sign-in, and which claim carries each user detail. Present when `protocol` is `oidc`.',\n }),\n externalProviderId: schemaShape.externalProviderId.stringSpec({\n meaning: 'The known provider this OIDC connection is built on, such as Google or Microsoft. In `template` mode its endpoints come from that provider\\'s definition, and in every mode the provider\\'s own token rules apply, such as how it reports a verified email or which directory asserted the identity.',\n }),\n autoCreateUsers: schemaShape.autoCreateUsers.booleanSpec({\n meaning: 'Whether a person signing in through this connection for the first time gets an account. When off, only people who already have an account can sign in through it.',\n }),\n defaultRole: schemaShape.defaultRole.stringSpec({\n meaning: 'The organization role a person receives when neither `roleMapping` nor `groupMapping` yields one. Like a mapped role, it is dropped if the organization type does not allow it.',\n }),\n allowedDirectoryIds: schemaShape.allowedDirectoryIds.arraySpec({\n meaning: 'The provider directories this connection accepts identities from, such as Microsoft Entra tenant IDs. Empty means no directory restriction. Independent of `allowedDomains`: a directory can assert an address in a domain it does not own, so only this list proves membership of a directory.',\n elementMeaning: 'One directory identifier as the provider reports it (for Microsoft, the `tid` claim).',\n }),\n roleMapping: schemaShape.roleMapping.objectSpec({\n meaning: 'Translates the role values the provider sends into organization roles: each key is a provider value, each value an organization role. Mapped roles the organization type does not allow are dropped.',\n }),\n groupMapping: schemaShape.groupMapping.objectSpec({\n meaning: 'Translates the groups the provider says a person belongs to into organization roles: each key is a group as the provider sends it (for Microsoft Entra, the group\\'s object ID), each value the organization roles its members receive. A person receives the roles of every mapped group they are in, together with those `roleMapping` gives; roles the organization type does not allow are dropped.',\n }),\n },\n operations: {\n [Op.LIST]: {\n purpose: 'List the SSO connections configured for the current organization or application authentication scope.',\n outcome: 'Administrators receive each configured provider connection with its protocol, enabled state, and configuration summary so they can select one to inspect, test, or maintain.',\n whenToUse: 'Use to build the authentication settings inventory or to locate a connection before a configuration or diagnostics action.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The SSO connections visible in the caller’s authentication scope are returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to inspect SSO connection configuration.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A service firm\\'s expert reaches this operation only through a live grant of the `MANAGE_SSO_SCIM` 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 ],\n idempotent: true,\n examples: [{\n title: 'Browse configured SSO connections',\n request: SSO_CONNECTION_LIST_REQUEST_EXAMPLE,\n response: examples.page,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: 'Browse SSO connections through the context representation',\n request: SSO_CONNECTION_LIST_REQUEST_EXAMPLE,\n response: examples.page,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: 'Browse compact SSO connection summaries',\n request: SSO_CONNECTION_LIST_REQUEST_EXAMPLE,\n response: examples.summaryPage,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n },\n [Op.READ]: {\n purpose: 'Retrieve the current configuration and status of one SSO connection.',\n outcome: 'Administrators can inspect how the connection is wired and whether it is ready to support sign-in flows.',\n whenToUse: 'Use when the goal is configuration review, troubleshooting, or pre-change verification.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The SSO connection was found and its protocol configuration, allowed domains, and enabled state are returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to inspect SSO connection configuration.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No SSO connection exists for the supplied id in the caller’s auth scope.' },\n ],\n idempotent: true,\n },\n [Op.CREATE]: {\n purpose: 'Create a new SSO connection for the current auth scope. INTERNAL_CALL service transport — there is no public HTTP CREATE route (only API_CALL variants register routes); administrators reach this through the DISCOVER_ENDPOINTS wizard and internal/system callers through `createAsSystem`. The statuses below describe the service-operation outcome, not a client-facing endpoint.',\n outcome: 'The organization or application gains a newly authored external identity-provider connection.',\n whenToUse: 'Use when onboarding a new enterprise identity provider or adding another auth route.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'A new SSO connection was created for the auth scope and returned with its server-assigned id.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The connection fails schema validation (e.g. a missing `protocol`, an empty `displayName`, or protocol settings that do not match the selected `protocol`).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to author SSO connections for the scope.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The write would grant a role above the writer\\'s own (`role_ceiling_exceeded`, #1631): the roles this setting gives to the accounts it creates may not exceed the roles of whoever configures it, counting only roles the write adds. These writes are reached by organization administrators only (no capability opens them), so the check is what stops an administrator mapping a group to `ORG_OWNER`.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'A connection with the same provider identity (e.g. duplicate `displayName` or issuer) already exists in this auth scope.' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Create an OIDC SSO connection',\n request: {\n protocol: SsoProtocol.OIDC,\n displayName: 'Acme Okta',\n enabled: false,\n allowedDomains: ['acme.com'],\n },\n response: {\n _id: 'ssoconn_01HX2…',\n protocol: SsoProtocol.OIDC,\n displayName: 'Acme Okta',\n enabled: false,\n allowedDomains: ['acme.com'],\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.UPDATE]: {\n purpose: 'Adjust the configuration of an existing SSO connection. INTERNAL_CALL service transport — no public HTTP UPDATE route; the statuses below describe the service-operation outcome, not a client-facing endpoint. The write-only `oidc.clientSecret` is preserved when the caller round-trips the masked value.',\n outcome: 'The connection stays the same logical identity-provider entry but with updated settings or lifecycle posture.',\n whenToUse: 'Use when rotating metadata, changing mapping rules, or enabling/disabling the provider.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The SSO connection was updated and its new configuration/lifecycle state is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The edited protocol settings, domains, or display name fail schema validation.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to modify SSO connections.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The write would grant a role above the writer\\'s own (`role_ceiling_exceeded`, #1631): the roles this setting gives to the accounts it creates may not exceed the roles of whoever configures it, counting only roles the write adds. These writes are reached by organization administrators only (no capability opens them), so the check is what stops an administrator mapping a group to `ORG_OWNER`.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No SSO connection exists for the supplied id in the caller’s auth scope.' },\n ],\n idempotent: true,\n },\n [SsoConnection_Operations.TEST_CONNECTION]: {\n operationId: SsoConnection_Operations.TEST_CONNECTION,\n purpose: 'Evaluate the stored SSO connection without accepting a second connection identity in the request. SAML returns concrete certificate, endpoint, and service-provider metadata diagnostics; OIDC explicitly reports that its test flow is not implemented.',\n outcome: 'Administrators receive a protocol-discriminated result with `supported` always present, so a real SAML diagnostic cannot be confused with an unavailable OIDC test.',\n whenToUse: 'Use after configuring a SAML connection and before enabling it for production sign-in. For OIDC, use the response only to detect that this diagnostic capability is currently unavailable.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A protocol-discriminated result is returned. SAML validation failures use `overallStatus: fail`; an SSO or SLO URL the server may not connect to (a private network the operator has not declared) is reported as not probeable from the server — a warning, with `ssoUrlReachable` absent — because SAML sign-in reaches it through the browser. OIDC returns `supported: false` and performs no provider handshake.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to run an SSO connection test.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A service firm\\'s expert reaches this operation only through a live grant of the `MANAGE_SSO_SCIM` 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 SSO connection exists for the supplied id to test.' },\n ],\n idempotent: false,\n rateLimitNote: 'A supported SAML test checks provider endpoints; throttle repeated calls to avoid tripping identity-provider limits while an administrator iterates.',\n examples: [\n {\n title: 'SAML connection passes diagnostics',\n response: {\n protocol: SsoProtocol.SAML,\n supported: true,\n entityIdConfigured: true,\n ssoUrlReachable: true,\n ssoUrlStatus: 200,\n certificates: [{\n index: 0,\n valid: true,\n expiresAt: '2027-08-18T00:00:00.000Z',\n daysRemaining: 365,\n algorithm: 'sha256WithRSAEncryption',\n fingerprint: 'AA:BB:CC:DD:EE:FF',\n warnings: [],\n }],\n sloUrlReachable: true,\n sloUrlStatus: 200,\n spMetadataValid: true,\n overallStatus: SsoConnectionTestOverallStatus.PASS,\n errors: [],\n warnings: [],\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n {\n title: 'SAML connection fails diagnostics',\n response: {\n protocol: SsoProtocol.SAML,\n supported: true,\n entityIdConfigured: true,\n ssoUrlReachable: false,\n certificates: [],\n spMetadataValid: true,\n overallStatus: SsoConnectionTestOverallStatus.FAIL,\n errors: ['SSO URL is not reachable: request timed out', 'No X.509 certificates configured'],\n warnings: [],\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n {\n title: 'SAML SSO URL on an undeclared private network is not probeable from the server',\n response: {\n protocol: SsoProtocol.SAML,\n supported: true,\n entityIdConfigured: true,\n certificates: [],\n spMetadataValid: true,\n overallStatus: SsoConnectionTestOverallStatus.FAIL,\n errors: ['No X.509 certificates configured'],\n warnings: ['SSO URL is not probeable from the server: the server does not connect to this destination (private_or_reserved_address). SAML sign-in reaches this endpoint through the user\\'s browser, so this is not a finding that it is unreachable. To let the server probe it, the operator declares its network in auth.federatedIdentityProviderPrivateNetworks.'],\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n {\n title: 'OIDC diagnostics are unavailable',\n response: {\n protocol: SsoProtocol.OIDC,\n supported: false,\n message: 'OIDC connection testing is not implemented; no provider handshake was attempted.',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [SsoConnection_Operations.DISCOVER_ENDPOINTS]: {\n operationId: SsoConnection_Operations.DISCOVER_ENDPOINTS,\n purpose: 'Read provider endpoint metadata without creating or mutating an SSO connection: a SAML provider from its metadata document (`metadataUrl`), an OpenID Connect provider from its discovery document (`issuerUrl`).',\n outcome: 'The response contains the discovered endpoints for the caller to review and apply separately. For OpenID Connect, the fields carry the connection\\u2019s own `oidc.*` names, and `issuer` is exactly as the provider publishes it — the string an ID token\\u2019s `iss` must equal. This operation never persists the returned values. When both sources are sent, SAML metadata is read.',\n whenToUse: 'Use a `metadataUrl` while preparing SAML configuration, or an `issuerUrl` while preparing an OpenID Connect one. The OpenID document is fetched fresh on every call, so re-running after fixing the provider shows the change.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A protocol-discriminated discovery result is returned: parsed SAML metadata, or the OpenID Connect provider\\u2019s endpoints.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'Neither source is supplied, a URL is malformed or unreachable, the metadata URL resolves to an address an identity-provider destination may not reach (link-local always; a private network unless the operator declared its range in `auth.federatedIdentityProviderPrivateNetworks`; loopback outside a development or test runtime unless explicitly declared), the endpoint answers with a redirect — which is reported, never followed — or the SAML endpoint returns oversized, non-XML, or unparseable metadata. For `issuerUrl`: the issuer is not HTTPS, its discovery document is not a JSON object or is oversized, lacks an authorization, token or JWKS endpoint, or asserts a different `issuer` — carried as `oidc_discovery_failed` with the reason in its context.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to run endpoint discovery.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A service firm\\'s expert reaches this operation only through a live grant of the `MANAGE_SSO_SCIM` 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 ],\n idempotent: false,\n examples: [\n {\n title: 'Discover SAML identity-provider endpoints',\n request: { metadataUrl: 'https://idp.example.com/saml/metadata' },\n response: {\n protocol: SsoProtocol.SAML,\n supported: true,\n entityId: 'https://idp.example.com/saml',\n ssoUrl: 'https://idp.example.com/saml/sso',\n sloUrl: 'https://idp.example.com/saml/slo',\n x509Certificates: ['-----BEGIN CERTIFICATE-----\\nMIIBEXAMPLE\\n-----END CERTIFICATE-----'],\n nameIdFormat: 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress',\n source: SsoConnectionDiscoverySource.SAML_METADATA,\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n {\n title: 'Discover OpenID Connect provider endpoints',\n request: { issuerUrl: 'https://idp.example.com/oauth2/default' },\n response: {\n protocol: SsoProtocol.OIDC,\n supported: true,\n issuer: 'https://idp.example.com/oauth2/default',\n authorizationEndpoint: 'https://idp.example.com/oauth2/default/v1/authorize',\n tokenEndpoint: 'https://idp.example.com/oauth2/default/v1/token',\n userInfoEndpoint: 'https://idp.example.com/oauth2/default/v1/userinfo',\n jwksUri: 'https://idp.example.com/oauth2/default/v1/keys',\n scopesSupported: ['openid', 'email', 'profile'],\n source: SsoConnectionDiscoverySource.OIDC_DISCOVERY,\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n },\n businessConstraints: [\n 'Protocol-specific nested settings are only meaningful when the matching `protocol` is selected; do not flatten SAML and OIDC concerns into one generic prose bucket.',\n 'These resources describe authentication-provider wiring, not end-user identity records or access-policy outcomes directly.',\n ],\n }),\n {\n // Phase 4.5 Step 2 (F-1): scope is parameterised per polymorphic\n // resource type via `ssoConnectionResourcePrimaryScopeByResourceType`\n // — the map is `Record<SsoConnectionResourceType, ...>` so adding a\n // new variant is a TypeScript error until the scope is declared.\n resourcePrimaryScope: ssoConnectionResourcePrimaryScopeByResourceType[resourceType],\n },\n );\n}\n\nfunction buildSsoConnectionsResourceSpecification(\n resourceType: SsoConnectionResourceType,\n resourceTypeMemberName: SsoConnectionResourceTypeMemberName,\n): ResourceSpecificationConfig<\n SsoConnectionCustomOperation,\n SsoConnectionCoreOperation,\n SsoConnectionMainSchema\n> {\n const baseSpecification = buildSsoConnectionsBaseSpecification(resourceType, resourceTypeMemberName);\n const mainUIBehavior = resolveSsoConnectionUIBehavior(\n securityMainPresets as Partial<Record<string, unknown>>,\n resourceType,\n 'securityMainPresets',\n );\n const adminUIBehavior = resolveSsoConnectionUIBehavior(\n securityAdminPresets as Partial<Record<string, unknown>>,\n resourceType,\n 'securityAdminPresets',\n );\n const mergedFrontendConfiguration = mergeResourceFrontendConfigurations(\n resourceFrontendConfiguration(mainUIBehavior),\n resourceFrontendConfiguration(adminUIBehavior),\n );\n\n return resourceSpecificationFromFrontendConfiguration(\n mergedFrontendConfiguration,\n baseSpecification,\n () => ({\n label: {\n purpose: 'Use the connection display name as the primary admin label so protocol diagnostics and provider-specific actions stay easy to map to the right external identity provider.',\n },\n layout: {\n purpose: 'Sections `overview`, `oidc`, `saml` and `provisioning` in the `security` templates, shared by the main and admin lanes of both variants.',\n displayPurpose: 'The header names the connection and carries its protocol badge; the settings rows follow, with no section descriptions. Only the section of the connection\\'s own protocol renders. The list card shows the name, the protocol badge and whether the connection is on.',\n sections: {\n overview: {\n purpose: 'Whether the connection is on, whether it is the organization\\'s default, and the provider\\'s own identifier for it.',\n whenToUse: 'Checking or switching whether this connection is used at sign-in.',\n textSlots: { title: { purpose: 'Connection status (not rendered: the header names the connection).' } },\n },\n oidc: {\n purpose: 'The OpenID Connect settings: discovery, endpoints, client, PKCE, the authentication-strength demands placed on the provider, and claim mapping. Rendered only for an OIDC connection.',\n whenToUse: 'Configuring or diagnosing an OpenID Connect provider.',\n textSlots: { title: { purpose: 'Heading of the OpenID Connect settings of this connection.' } },\n },\n saml: {\n purpose: 'The SAML settings: entity id, sign-on and logout URLs, the provider certificate, signing and assertion requirements, and attribute mapping. Rendered only for a SAML connection.',\n whenToUse: 'Configuring or diagnosing a SAML provider.',\n textSlots: { title: { purpose: 'Heading of the SAML settings of this connection.' } },\n },\n provisioning: {\n purpose: 'What happens to a person the first time they sign in through this connection: whether an account is created, whether the email is trusted, which role they get, which email domains are allowed, and how provider roles and groups map to application roles.',\n whenToUse: 'Deciding who may join through this connection and with what access.',\n textSlots: { title: { purpose: 'Heading of the settings applied to people who sign in through this connection.' } },\n },\n },\n },\n views: {\n [SsoConnection_Operations.TEST_CONNECTION]: {\n purpose: 'Surface an admin-facing validation flow for the configured provider connection.',\n views: {\n default: {\n customView: {\n purpose: 'Augment the standard read shell with SAML-specific diagnostic and metadata sections while keeping the surrounding resource context intact.',\n whenToUse: 'Use when the operation behaves like a read-oriented diagnostics screen rather than a plain preset swap.',\n textSlots: {\n title: {\n purpose: 'Name this custom diagnostics host as the SSO connection test surface users are currently in.',\n },\n description: {\n purpose: 'Explain that this host focuses on validation and protocol diagnostics for the selected SSO connection.',\n },\n },\n basedOnPreset: CorePreset_ResourceLayout_Read.DEFAULT,\n implementationSymbol: {\n packageName: '@wildo-ai/saas-frontend-lib',\n exportName: 'ResourceLayoutPreset_Read_SsoSaml',\n symbolKind: CodeSymbolKind.COMPONENT,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n declarationSymbols: [\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'securityMainPresets',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'securityAdminPresets',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n ],\n notes: [\n 'This is resource-owned operation metadata, not an injectable framework component preset.',\n ],\n },\n },\n },\n },\n [SsoConnection_Operations.DISCOVER_ENDPOINTS]: {\n purpose: 'Surface a metadata-discovery workflow that behaves like a guided create/setup flow for SSO connections.',\n views: {\n default: {\n customView: {\n purpose: 'Replace the generic create host with the SAML discovery wizard when the administrator needs provider-derived endpoint setup.',\n whenToUse: 'Use when the operation should drive guided discovery rather than the default create form shell.',\n textSlots: {\n title: {\n purpose: 'Name this custom setup host as the SSO endpoint-discovery workflow users are currently in.',\n },\n description: {\n purpose: 'Explain that this host guides administrators through metadata-driven SSO endpoint discovery rather than generic manual creation.',\n },\n },\n basedOnPreset: CorePresetNames.DEFAULT,\n implementationSymbol: {\n packageName: '@wildo-ai/saas-frontend-lib',\n exportName: 'ResourceLayoutPreset_Create_SamlWizard',\n symbolKind: CodeSymbolKind.COMPONENT,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n declarationSymbols: [\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'securityMainPresets',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'securityAdminPresets',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n ],\n },\n },\n },\n },\n },\n }),\n );\n}\n\nexport const organizationSsoConnectionsResourceSpecification = buildSsoConnectionsResourceSpecification(\n CoreResourceType.ORGANIZATION_SSO_CONNECTIONS,\n 'ORGANIZATION_SSO_CONNECTIONS',\n);\n\nexport const applicationSsoConnectionsResourceSpecification = buildSsoConnectionsResourceSpecification(\n CoreResourceType.APPLICATION_SSO_CONNECTIONS,\n 'APPLICATION_SSO_CONNECTIONS',\n);\n"]}
|
|
1
|
+
{"version":3,"file":"sso-connections.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/auth/resources/sso-connections.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,8BAA8B,EAC9B,aAAa,GACd,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,gBAAgB,EAChB,oBAAoB,EACpB,wBAAwB,EACxB,4BAA4B,EAC5B,8BAA8B,EAC9B,uBAAuB,EACvB,gBAAgB,EAChB,eAAe,EACf,WAAW,EACX,sBAAsB,EACtB,iCAAiC,GAClC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,mB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","sourcesContent":["import {\n CorePresetNames,\n CorePreset_ResourceLayout_Read,\n LabelAudience,\n} from '@wildo-ai/presets-components-models';\nimport {\n securityAdminPresets,\n securityMainPresets,\n} from '@wildo-ai/presets-components';\nimport type { ResourceUIBehaviorConfig } from '@wildo-ai/saas-frontend-lib/companion';\nimport {\n CoreResourceOperation as Op,\n CoreResourceType,\n ResourcePrimaryScope,\n SsoConnection_Operations,\n SsoConnectionDiscoverySource,\n SsoConnectionTestOverallStatus,\n SsoConnectionBaseSchema,\n SamlNameIdFormat,\n SSOTemplateMode,\n SsoProtocol,\n WRITE_ONLY_SECRET_MASK,\n ssoConnectionPolymorphicFactories,\n} from '@wildo-ai/saas-models';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n HttpResponseStatusCode,\n mergeResourceFrontendConfigurations,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n type ResourceSpecificationConfig,\n} from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype SsoConnectionResourceType =\n | CoreResourceType.ORGANIZATION_SSO_CONNECTIONS\n | CoreResourceType.APPLICATION_SSO_CONNECTIONS;\n\ntype SsoConnectionResourceTypeMemberName =\n | 'ORGANIZATION_SSO_CONNECTIONS'\n | 'APPLICATION_SSO_CONNECTIONS';\n\ntype SsoConnectionResourceConfiguration = ReturnType<\n (typeof ssoConnectionPolymorphicFactories)[CoreResourceType.ORGANIZATION_SSO_CONNECTIONS]\n>;\ntype SsoConnectionCustomOperation = NonNullable<SsoConnectionResourceConfiguration['customOperation']>;\ntype SsoConnectionCoreOperation = SsoConnectionResourceConfiguration['coreOperations'][number];\ntype SsoConnectionMainSchema = typeof SsoConnectionBaseSchema;\ntype SsoConnectionFrontendConfiguration = ResourceUIBehaviorConfig<\n SsoConnectionCustomOperation,\n SsoConnectionCoreOperation,\n SsoConnectionMainSchema\n>;\n\nfunction resolveSsoConnectionUIBehavior(\n source: Partial<Record<string, unknown>>,\n resourceType: SsoConnectionResourceType,\n sourceName: string,\n): SsoConnectionFrontendConfiguration {\n const uiBehavior = source[resourceType] as SsoConnectionFrontendConfiguration | undefined;\n if (!uiBehavior) {\n throw new Error(`Missing \"${resourceType}\" UI behavior in ${sourceName}.`);\n }\n return uiBehavior;\n}\n\n/**\n * Map each polymorphic SSO-connection resource type to its declared\n * `resourcePrimaryScope` (Phase 4.5 Step 2 — F-1). The polymorphic\n * factory derives the same value from the resource's relationships\n * (`AUTH_SCOPE_VARIANTS` carries `isPrimaryScope: true` for both the\n * `ORGANIZATIONS` and `APPLICATION` parents, so\n * `createPolymorphicScopeRelationships` emits scope edges for both\n * variants). Adding a new SSO-connection variant requires explicitly\n * extending this map (TypeScript-enforced via the\n * `Record<SsoConnectionResourceType, ...>` type), preventing a silent\n * scope-default regression on the new variant.\n *\n * The cross-check that the declared value here matches the registry-\n * assembled scope is the responsibility of the post-factory check\n * tracked as Phase 4.5 Step 2.5 — the spec layer cannot perform it\n * because it never sees the real cross-resource `ResourceRelationship[]`.\n */\nconst ssoConnectionResourcePrimaryScopeByResourceType: Record<\n SsoConnectionResourceType,\n ResourcePrimaryScope\n> = {\n [CoreResourceType.ORGANIZATION_SSO_CONNECTIONS]: ResourcePrimaryScope.ORGANIZATIONS,\n [CoreResourceType.APPLICATION_SSO_CONNECTIONS]: ResourcePrimaryScope.APPLICATION,\n};\n\nconst SSO_CONNECTION_LIST_REQUEST_EXAMPLE = { page: 1, limit: 20, sort: 'displayName:asc' } as const;\n\nfunction createSsoConnectionExamples(resourceType: SsoConnectionResourceType) {\n const scopeIdentity = resourceType === CoreResourceType.ORGANIZATION_SSO_CONNECTIONS\n ? { organizationId: 'organization_01HX2EXAMPLE' }\n : { applicationId: 'application_01HX2EXAMPLE' };\n const record = {\n _id: resourceType === CoreResourceType.ORGANIZATION_SSO_CONNECTIONS ? 'sso_org_01HX2EXAMPLE' : 'sso_app_01HX2EXAMPLE',\n protocol: SsoProtocol.SAML,\n displayName: 'Corporate workforce SAML',\n enabled: true,\n isDefault: true,\n saml: {\n entityId: 'https://idp.example.com/saml',\n ssoUrl: 'https://idp.example.com/saml/sso',\n sloUrl: 'https://idp.example.com/saml/slo',\n x509Certificates: ['MIIBEXAMPLECERTIFICATE'],\n attributeMapping: {\n email: 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress',\n firstName: 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname',\n lastName: 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname',\n },\n signRequests: true,\n wantAssertionsSigned: true,\n allowedClockDrift: 30,\n forceAuthn: false,\n nameIdFormat: SamlNameIdFormat.EMAIL_ADDRESS,\n allowIdpInitiated: false,\n },\n autoCreateUsers: true,\n defaultRole: 'member',\n allowedDomains: ['example.com'],\n createdAt: '2026-08-01T09:00:00.000Z',\n updatedAt: '2026-08-20T08:30:00.000Z',\n ...scopeIdentity,\n };\n const page = {\n data: [record],\n pagination: { page: 1, limit: 20, total: 1, totalPages: 1 },\n };\n const summaryPage = {\n data: [{\n _id: record._id,\n protocol: record.protocol,\n displayName: record.displayName,\n enabled: record.enabled,\n }],\n pagination: page.pagination,\n };\n\n return { page, summaryPage };\n}\n\nfunction buildSsoConnectionsBaseSpecification(\n resourceType: SsoConnectionResourceType,\n resourceTypeMemberName: SsoConnectionResourceTypeMemberName,\n): ResourceSpecificationConfig<\n SsoConnectionCustomOperation,\n SsoConnectionCoreOperation,\n SsoConnectionMainSchema\n> {\n const examples = createSsoConnectionExamples(resourceType);\n return resourceSpecification<\n SsoConnectionCustomOperation,\n SsoConnectionCoreOperation,\n SsoConnectionMainSchema\n >(\n ssoConnectionPolymorphicFactories[resourceType],\n SsoConnectionBaseSchema,\n ({ schemaShape }) => ({\n purpose: 'Represent one configured SSO provider connection that governs how an organization or application accepts external identity-provider sign-ins.',\n businessRole: 'Administrative authentication-connection record that binds one auth scope to a concrete OIDC or SAML provider setup.',\n lifecycleRole: 'Moves from draft/provider setup through validation and eventual activation, rotation, or retirement under admin control.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.AUTH,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'SsoConnectionBaseSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactoryCollectionEntry: {\n collectionSymbol: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'ssoConnectionPolymorphicFactories',\n symbolKind: CodeSymbolKind.FACTORY,\n },\n identifierField: 'collectionKey',\n identifierValue: resourceType,\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: resourceTypeMemberName,\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: 'SsoConnection_Operations',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n frontendConfigurationSourceEntries: [\n {\n collectionSymbol: {\n packageName: '@wildo-ai/presets-components',\n exportName: 'securityMainPresets',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n identifierField: 'collectionKey',\n identifierValue: resourceType,\n },\n {\n collectionSymbol: {\n packageName: '@wildo-ai/presets-components',\n exportName: 'securityAdminPresets',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n identifierField: 'collectionKey',\n identifierValue: resourceType,\n },\n ],\n notes: [\n 'These resources are polymorphic: import the shared collection exports and select the entry keyed by the concrete resource type.',\n ],\n },\n fields: {\n protocol: schemaShape.protocol.enumSpec({\n meaning: 'Chooses which external authentication protocol contract this connection follows.',\n whyItMatters: 'It changes which nested configuration block is meaningful, which validation UI applies, and which custom admin views can surface.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'SsoProtocol',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [SsoProtocol.OIDC]: { meaning: 'OIDC provider configuration with discovery/token endpoints and OAuth-style settings.' },\n [SsoProtocol.SAML]: { meaning: 'SAML identity-provider configuration with metadata, certificates, and assertion settings.' },\n },\n }),\n displayName: schemaShape.displayName.stringSpec({\n meaning: 'Human-facing name administrators use to recognize this SSO connection in settings and support flows.',\n whyItMatters: 'It anchors the connection in admin UX and makes protocol/test results intelligible during troubleshooting.',\n semanticRole: 'label',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n enabled: schemaShape.enabled.booleanSpec({\n meaning: 'Indicates whether the connection may actively participate in authentication flows.',\n whyItMatters: 'Disabled connections remain configured for audit or later reuse, but should not be offered for live sign-in attempts.',\n }),\n isDefault: schemaShape.isDefault.booleanSpec({\n meaning: 'Marks the connection that receives a sign-in when several of the scope\\u2019s enabled connections could. Sign-in offers exactly one connection; among eligible connections, one that names the user\\u2019s email domain wins first, then the default, then the oldest.',\n whyItMatters: 'It decides which identity provider silently receives a login, which is why it is audit evidence. Making one connection the default removes the flag from the scope\\u2019s others in the same write.',\n }),\n allowedDomains: schemaShape.allowedDomains.arraySpec({\n meaning: 'Restricts which email/identity domains are accepted through this SSO connection.',\n whyItMatters: 'It is the primary admin-controlled allow-list that prevents unintended tenants or users from authenticating through this connection — a security-critical setting.',\n elementMeaning: 'One DNS-style domain that an authenticating identity must match (e.g. acme.com).',\n elementType: {\n notes: [\n 'Element schema is a free-form string — domain values are application-declared and validated at the backend service layer rather than via a fixed enum.',\n ],\n },\n }),\n saml: schemaShape.saml.objectSpec({\n meaning: 'The SAML identity provider this connection federates with: its endpoints and certificates, how strictly its assertions are validated, and which attribute carries each user detail. Present when `protocol` is `saml`.',\n }),\n oidc: schemaShape.oidc.objectSpec({\n meaning: 'The OpenID Connect provider this connection federates with: how its endpoints are found, the client credentials the application uses, what it requests at sign-in, and which claim carries each user detail. Present when `protocol` is `oidc`. Its `clientSecret` is stored SEALED (AES-256-GCM, bound to the connection\\'s scope), opened only for the token exchange; a request carrying an already-sealed value is refused (400), since a round trip sends the mask.',\n }),\n externalProviderId: schemaShape.externalProviderId.stringSpec({\n meaning: 'The known provider this OIDC connection is built on, such as Google or Microsoft. In `template` mode its endpoints come from that provider\\'s definition, and in every mode the provider\\'s own token rules apply, such as how it reports a verified email or which directory asserted the identity.',\n }),\n autoCreateUsers: schemaShape.autoCreateUsers.booleanSpec({\n meaning: 'Whether a person signing in through this connection for the first time gets an account. When off, only people who already have an account can sign in through it.',\n }),\n defaultRole: schemaShape.defaultRole.stringSpec({\n meaning: 'The organization role a person receives when neither `roleMapping` nor `groupMapping` yields one. Like a mapped role, it is dropped if the organization type does not allow it.',\n }),\n allowedDirectoryIds: schemaShape.allowedDirectoryIds.arraySpec({\n meaning: 'The provider directories this connection accepts identities from, such as Microsoft Entra tenant IDs. Empty means no directory restriction. Independent of `allowedDomains`: a directory can assert an address in a domain it does not own, so only this list proves membership of a directory.',\n elementMeaning: 'One directory identifier as the provider reports it (for Microsoft, the `tid` claim).',\n }),\n roleMapping: schemaShape.roleMapping.objectSpec({\n meaning: 'Translates the role values the provider sends into organization roles: each key is a provider value, each value an organization role. Mapped roles the organization type does not allow are dropped.',\n }),\n groupMapping: schemaShape.groupMapping.objectSpec({\n meaning: 'Translates the groups the provider says a person belongs to into organization roles: each key is a group as the provider sends it (for Microsoft Entra, the group\\'s object ID), each value the organization roles its members receive. A person receives the roles of every mapped group they are in, together with those `roleMapping` gives; roles the organization type does not allow are dropped.',\n }),\n },\n operations: {\n [Op.LIST]: {\n purpose: 'List the SSO connections configured for the current organization or application authentication scope.',\n outcome: 'Administrators receive each configured provider connection with its protocol, enabled state, and configuration summary so they can select one to inspect, test, or maintain.',\n whenToUse: 'Use to build the authentication settings inventory or to locate a connection before a configuration or diagnostics action.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The SSO connections visible in the caller’s authentication scope are returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to inspect SSO connection configuration.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A representative of another organization reaches this operation only through a live grant of the `MANAGE_SSO_SCIM` 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 ],\n idempotent: true,\n examples: [{\n title: 'Browse configured SSO connections',\n request: SSO_CONNECTION_LIST_REQUEST_EXAMPLE,\n response: examples.page,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: 'Browse SSO connections through the context representation',\n request: SSO_CONNECTION_LIST_REQUEST_EXAMPLE,\n response: examples.page,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: 'Browse compact SSO connection summaries',\n request: SSO_CONNECTION_LIST_REQUEST_EXAMPLE,\n response: examples.summaryPage,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n },\n [Op.READ]: {\n purpose: 'Retrieve the current configuration and status of one SSO connection — what an administrator opens to inspect or test it, and the owner before editing it. The OIDC client secret is returned masked, and a SAML connection\\'s stored certificates are not returned at all.',\n outcome: 'Administrators can inspect how the connection is wired and whether it is ready to support sign-in flows.',\n whenToUse: 'Use when the goal is configuration review, troubleshooting, or pre-change verification.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The SSO connection was found and its protocol configuration, allowed domains, and enabled state are returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to inspect SSO connection configuration.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A representative of another organization reaches this operation only through a live grant of the `MANAGE_SSO_SCIM` 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 SSO connection exists for the supplied id in the caller’s auth scope.' },\n ],\n idempotent: true,\n },\n [Op.CREATE]: {\n purpose: 'Create a new SSO connection for the current auth scope: the identity provider the scope\\'s people will sign in through. The organization\\'s owner authors it — usually after `discoverEndpoints` has read the provider\\'s metadata into the form — and the server turns a SAML `x509CertificatePem` into the stored certificates and keeps one default connection per scope. The connection is identified by its `_id`, which the identity links made through it carry. Making a connection the default demotes the scope\\'s previous default in the same write.',\n outcome: 'The organization or application gains a newly authored external identity-provider connection.',\n whenToUse: 'Use when onboarding a new enterprise identity provider or adding another auth route.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'A new SSO connection was created for the auth scope and returned with its server-assigned id.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The connection fails schema validation (e.g. a missing `protocol`, an empty `displayName`, or protocol settings that do not match the selected `protocol`).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not the organization\\'s owner (for an application connection, the application\\'s super administrator). A connection names the identity provider trusted to sign people in, and that provider can sign in as any existing account at the organization\\'s verified domain, so only the top administrative tier writes one (#2519). An organization administrator is refused, and so is a representative of another organization: `MANAGE_SSO_SCIM` does not lend this operation.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The organization is not entitled to single sign-on (`FEATURE_NOT_AVAILABLE`): setting up a connection is how an organization turns single sign-on on, exactly as discovering a provider\\'s endpoints is (#2313).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The write would grant a role above the writer\\'s own (`role_ceiling_exceeded`, #1631): the roles this setting gives to the accounts it creates may not exceed the roles of whoever configures it, counting only roles the write adds.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'A connection with the same provider identity (e.g. duplicate `displayName` or issuer) already exists in this auth scope.' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Create an OIDC SSO connection read from the provider\\'s discovery document',\n request: {\n protocol: SsoProtocol.OIDC,\n displayName: 'Acme Okta',\n enabled: false,\n allowedDomains: ['acme.com'],\n oidc: {\n templateMode: SSOTemplateMode.DISCOVERY,\n issuer: 'https://acme.okta.com',\n clientId: '0oa1acmeexample',\n clientSecret: 'the-client-secret-okta-issued',\n },\n },\n response: {\n _id: 'ssoconn_01HX2…',\n protocol: SsoProtocol.OIDC,\n displayName: 'Acme Okta',\n enabled: false,\n allowedDomains: ['acme.com'],\n oidc: {\n templateMode: SSOTemplateMode.DISCOVERY,\n issuer: 'https://acme.okta.com',\n clientId: '0oa1acmeexample',\n clientSecret: WRITE_ONLY_SECRET_MASK,\n },\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.UPDATE]: {\n purpose: 'Adjust the configuration of an existing SSO connection. The edit replaces each protocol block as sent, with two protections for what a client cannot round-trip: the write-only `oidc.clientSecret` is kept when the caller sends the masked value or none, and a SAML connection\\'s stored certificates are kept unless the edit supplies a new `x509CertificatePem`.',\n outcome: 'The connection stays the same logical identity-provider entry but with updated settings or lifecycle posture.',\n whenToUse: 'Use when rotating metadata, changing mapping rules, or enabling/disabling the provider.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The SSO connection was updated and its new configuration/lifecycle state is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The edited protocol settings, domains, or display name fail schema validation.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not the organization\\'s owner (for an application connection, the application\\'s super administrator). A connection names the identity provider trusted to sign people in, and that provider can sign in as any existing account at the organization\\'s verified domain, so only the top administrative tier writes one (#2519). An organization administrator is refused, and so is a representative of another organization: `MANAGE_SSO_SCIM` does not lend this operation.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The edit switches the connection ON (`enabled: true`) for an organization not entitled to single sign-on (`FEATURE_NOT_AVAILABLE`). Any other edit, switching it off, and deleting it stay open, so a tenant whose plan lapsed can wind single sign-on down (#2313).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The write would grant a role above the writer\\'s own (`role_ceiling_exceeded`, #1631): the roles this setting gives to the accounts it creates may not exceed the roles of whoever configures it, counting only roles the write adds.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No SSO connection exists for the supplied id in the caller’s auth scope.' },\n ],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Remove an SSO connection from its scope. The identity links people signed in through it are deleted with it, so nobody is matched to a provider the scope no longer trusts.',\n outcome: 'Nobody can sign in through the removed provider; people who also hold another sign-in method keep it.',\n whenToUse: 'Use when the organization stops using an identity provider. To pause one temporarily, switch it off with an update instead.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The connection was deleted and the identity links made through it were removed. The body carries its `id`.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'Deleting it would leave accounts with no way to sign in (`SSO_CONNECTION_REMOVAL_STRANDS_ACCOUNTS`, with `orphanedUserCount` and `affectedUserCount`). Give those people another sign-in method first, or have the organization\\'s owner delete it with `forceDelete`, which takes a justification and that count.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to remove SSO connections.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A representative of another organization reaches this operation only through a live grant of the `MANAGE_SSO_SCIM` 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 SSO connection exists for the supplied id in the caller’s auth scope.' },\n ],\n idempotent: false,\n },\n [SsoConnection_Operations.FORCE_DELETE]: {\n operationId: SsoConnection_Operations.FORCE_DELETE,\n purpose: 'Delete a connection that some accounts sign in only through, after DELETE refused it. Only the organization\\'s owner may: it can strand everyone who signs in through the connection, the owner included, and only the owner can write a replacement. The owner gives a written justification and acknowledges how many accounts lose their only sign-in method; the count is measured again in the deletion\\'s transaction, and the justification is recorded with the deletion.',\n outcome: 'The connection and its identity links are gone. The accounts that signed in only through it have no sign-in method until they are given one, or until they sign in through another connection that admits their email domain, which links them again by their email.',\n whenToUse: 'Use when the organization has retired the identity provider, or has moved to a replacement connection and accepts that the people who have not signed in through it yet must link again. To pause a provider, the owner switches the connection off with an update instead: that is undone by switching it back on.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The connection was deleted and the identity links made through it were removed. The body carries its `id`.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The justification is empty or longer than 500 characters, or the acknowledged count is missing or not a whole number.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The number of accounts the deletion would strand is no longer the acknowledged one (`SSO_CONNECTION_STRANDED_ACCOUNT_COUNT_CHANGED`, with the current `orphanedUserCount`). Nothing is deleted; review the new count and send it.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not the organization\\'s owner (for an application connection, the application\\'s super administrator). An organization administrator is refused, and so is a representative of another organization: `MANAGE_SSO_SCIM` does not lend this operation (#2519).' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No SSO connection exists for the supplied id in the caller’s auth scope.' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Delete a retired identity provider that two accounts still sign in through',\n request: { justification: 'The group retired this identity provider on 2026-10-01; everyone has moved to the new connection.', acknowledgedStrandedAccountCount: 2 },\n response: { id: '507f1f77bcf86cd799439011' },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [SsoConnection_Operations.TEST_CONNECTION]: {\n operationId: SsoConnection_Operations.TEST_CONNECTION,\n purpose: 'Evaluate the stored SSO connection without accepting a second connection identity in the request. SAML returns concrete certificate, endpoint, and service-provider metadata diagnostics; OIDC explicitly reports that its test flow is not implemented.',\n outcome: 'Administrators receive a protocol-discriminated result with `supported` always present, so a real SAML diagnostic cannot be confused with an unavailable OIDC test.',\n whenToUse: 'Use after configuring a SAML connection and before enabling it for production sign-in. For OIDC, use the response only to detect that this diagnostic capability is currently unavailable.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A protocol-discriminated result is returned. SAML validation failures use `overallStatus: fail`; an SSO or SLO URL the server may not connect to (a private network the operator has not declared) is reported as not probeable from the server — a warning, with `ssoUrlReachable` absent — because SAML sign-in reaches it through the browser. OIDC returns `supported: false` and performs no provider handshake.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to run an SSO connection test.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A representative of another organization reaches this operation only through a live grant of the `MANAGE_SSO_SCIM` 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 SSO connection exists for the supplied id to test.' },\n ],\n idempotent: false,\n rateLimitNote: 'A supported SAML test checks provider endpoints; throttle repeated calls to avoid tripping identity-provider limits while an administrator iterates.',\n examples: [\n {\n title: 'SAML connection passes diagnostics',\n response: {\n protocol: SsoProtocol.SAML,\n supported: true,\n entityIdConfigured: true,\n ssoUrlReachable: true,\n ssoUrlStatus: 200,\n certificates: [{\n index: 0,\n valid: true,\n expiresAt: '2027-08-18T00:00:00.000Z',\n daysRemaining: 365,\n algorithm: 'sha256WithRSAEncryption',\n fingerprint: 'AA:BB:CC:DD:EE:FF',\n warnings: [],\n }],\n sloUrlReachable: true,\n sloUrlStatus: 200,\n spMetadataValid: true,\n overallStatus: SsoConnectionTestOverallStatus.PASS,\n errors: [],\n warnings: [],\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n {\n title: 'SAML connection fails diagnostics',\n response: {\n protocol: SsoProtocol.SAML,\n supported: true,\n entityIdConfigured: true,\n ssoUrlReachable: false,\n certificates: [],\n spMetadataValid: true,\n overallStatus: SsoConnectionTestOverallStatus.FAIL,\n errors: ['SSO URL is not reachable: request timed out', 'No X.509 certificates configured'],\n warnings: [],\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n {\n title: 'SAML SSO URL on an undeclared private network is not probeable from the server',\n response: {\n protocol: SsoProtocol.SAML,\n supported: true,\n entityIdConfigured: true,\n certificates: [],\n spMetadataValid: true,\n overallStatus: SsoConnectionTestOverallStatus.FAIL,\n errors: ['No X.509 certificates configured'],\n warnings: ['SSO URL is not probeable from the server: the server does not connect to this destination (private_or_reserved_address). SAML sign-in reaches this endpoint through the user\\'s browser, so this is not a finding that it is unreachable. To let the server probe it, the operator declares its network in auth.federatedIdentityProviderPrivateNetworks.'],\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n {\n title: 'OIDC diagnostics are unavailable',\n response: {\n protocol: SsoProtocol.OIDC,\n supported: false,\n message: 'OIDC connection testing is not implemented; no provider handshake was attempted.',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n [SsoConnection_Operations.DISCOVER_ENDPOINTS]: {\n operationId: SsoConnection_Operations.DISCOVER_ENDPOINTS,\n purpose: 'Read provider endpoint metadata without creating or mutating an SSO connection: a SAML provider from its metadata document (`metadataUrl`), an OpenID Connect provider from its discovery document (`issuerUrl`).',\n outcome: 'The response contains the discovered endpoints for the caller to review and apply separately. For OpenID Connect, the fields carry the connection\\u2019s own `oidc.*` names, and `issuer` is exactly as the provider publishes it — the string an ID token\\u2019s `iss` must equal. This operation never persists the returned values. When both sources are sent, SAML metadata is read.',\n whenToUse: 'Use a `metadataUrl` while preparing SAML configuration, or an `issuerUrl` while preparing an OpenID Connect one. The OpenID document is fetched fresh on every call, so re-running after fixing the provider shows the change.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A protocol-discriminated discovery result is returned: parsed SAML metadata, or the OpenID Connect provider\\u2019s endpoints.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'Neither source is supplied, a URL is malformed or unreachable, the metadata URL resolves to an address an identity-provider destination may not reach (link-local always; a private network unless the operator declared its range in `auth.federatedIdentityProviderPrivateNetworks`; loopback outside a development or test runtime unless explicitly declared), the endpoint answers with a redirect — which is reported, never followed — or the SAML endpoint returns oversized, non-XML, or unparseable metadata. For `issuerUrl`: the issuer is not HTTPS, its discovery document is not a JSON object or is oversized, lacks an authorization, token or JWKS endpoint, or asserts a different `issuer` — carried as `oidc_discovery_failed` with the reason in its context.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to run endpoint discovery.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A representative of another organization reaches this operation only through a live grant of the `MANAGE_SSO_SCIM` 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 ],\n idempotent: false,\n examples: [\n {\n title: 'Discover SAML identity-provider endpoints',\n request: { metadataUrl: 'https://idp.example.com/saml/metadata' },\n response: {\n protocol: SsoProtocol.SAML,\n supported: true,\n entityId: 'https://idp.example.com/saml',\n ssoUrl: 'https://idp.example.com/saml/sso',\n sloUrl: 'https://idp.example.com/saml/slo',\n x509Certificates: ['-----BEGIN CERTIFICATE-----\\nMIIBEXAMPLE\\n-----END CERTIFICATE-----'],\n nameIdFormat: 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress',\n source: SsoConnectionDiscoverySource.SAML_METADATA,\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n {\n title: 'Discover OpenID Connect provider endpoints',\n request: { issuerUrl: 'https://idp.example.com/oauth2/default' },\n response: {\n protocol: SsoProtocol.OIDC,\n supported: true,\n issuer: 'https://idp.example.com/oauth2/default',\n authorizationEndpoint: 'https://idp.example.com/oauth2/default/v1/authorize',\n tokenEndpoint: 'https://idp.example.com/oauth2/default/v1/token',\n userInfoEndpoint: 'https://idp.example.com/oauth2/default/v1/userinfo',\n jwksUri: 'https://idp.example.com/oauth2/default/v1/keys',\n scopesSupported: ['openid', 'email', 'profile'],\n source: SsoConnectionDiscoverySource.OIDC_DISCOVERY,\n },\n forStatus: HttpResponseStatusCode.OK_200,\n },\n ],\n },\n },\n businessConstraints: [\n 'Protocol-specific nested settings are only meaningful when the matching `protocol` is selected; do not flatten SAML and OIDC concerns into one generic prose bucket.',\n 'These resources describe authentication-provider wiring, not end-user identity records or access-policy outcomes directly.',\n 'Deleting a connection refuses to strand an account it can see: DELETE refuses while some account signs in only through it (linked to it, or at a domain the organization routes to it, which covers employees a directory pushed who have not signed in yet), and `forceDelete` (the owner\\'s) removes it only with a justification and the stranded count, measured again inside the deletion\\'s transaction (#2669). Whether an account keeps a way in is the engine\\'s own answer, the one that stops a person removing their own last method, evaluated on the state the deletion leaves: a password or a passkey only where the account\\'s user type enables it and sign-in still accepts it (at a domain that requires single sign-on, only for a break-glass account), a passkey only where a relying party is configured, and another connection only where it is enabled and the account is an active member of its scope. An account that is not active is not counted. A first sign-in that commits while the deletion runs collides with it on the connection\\'s row, so its new link cannot survive the connection (#2675). Switching a connection off is never refused, because it is undone by switching it on.',\n ],\n }),\n {\n // Phase 4.5 Step 2 (F-1): scope is parameterised per polymorphic\n // resource type via `ssoConnectionResourcePrimaryScopeByResourceType`\n // — the map is `Record<SsoConnectionResourceType, ...>` so adding a\n // new variant is a TypeScript error until the scope is declared.\n resourcePrimaryScope: ssoConnectionResourcePrimaryScopeByResourceType[resourceType],\n },\n );\n}\n\nfunction buildSsoConnectionsResourceSpecification(\n resourceType: SsoConnectionResourceType,\n resourceTypeMemberName: SsoConnectionResourceTypeMemberName,\n): ResourceSpecificationConfig<\n SsoConnectionCustomOperation,\n SsoConnectionCoreOperation,\n SsoConnectionMainSchema\n> {\n const baseSpecification = buildSsoConnectionsBaseSpecification(resourceType, resourceTypeMemberName);\n const mainUIBehavior = resolveSsoConnectionUIBehavior(\n securityMainPresets as Partial<Record<string, unknown>>,\n resourceType,\n 'securityMainPresets',\n );\n const adminUIBehavior = resolveSsoConnectionUIBehavior(\n securityAdminPresets as Partial<Record<string, unknown>>,\n resourceType,\n 'securityAdminPresets',\n );\n const mergedFrontendConfiguration = mergeResourceFrontendConfigurations(\n resourceFrontendConfiguration(mainUIBehavior),\n resourceFrontendConfiguration(adminUIBehavior),\n );\n\n return resourceSpecificationFromFrontendConfiguration(\n mergedFrontendConfiguration,\n baseSpecification,\n () => ({\n label: {\n purpose: 'Use the connection display name as the primary admin label so protocol diagnostics and provider-specific actions stay easy to map to the right external identity provider.',\n },\n layout: {\n purpose: 'Sections `overview`, `oidc`, `saml` and `provisioning` in the `security` templates, shared by the main and admin lanes of both variants.',\n displayPurpose: 'The header names the connection and carries its protocol badge; the settings rows follow, with no section descriptions. Only the section of the connection\\'s own protocol renders. The list card shows the name, the protocol badge and whether the connection is on.',\n sections: {\n overview: {\n purpose: 'Whether the connection is on, whether it is the organization\\'s default, and the provider\\'s own identifier for it.',\n whenToUse: 'Checking or switching whether this connection is used at sign-in.',\n textSlots: { title: { purpose: 'Connection status (not rendered: the header names the connection).' } },\n },\n oidc: {\n purpose: 'The OpenID Connect settings: discovery, endpoints, client, PKCE, the authentication-strength demands placed on the provider, and claim mapping. Rendered only for an OIDC connection.',\n whenToUse: 'Configuring or diagnosing an OpenID Connect provider.',\n textSlots: { title: { purpose: 'Heading of the OpenID Connect settings of this connection.' } },\n },\n saml: {\n purpose: 'The SAML settings: entity id, sign-on and logout URLs, the provider certificate, signing and assertion requirements, and attribute mapping. Rendered only for a SAML connection.',\n whenToUse: 'Configuring or diagnosing a SAML provider.',\n textSlots: { title: { purpose: 'Heading of the SAML settings of this connection.' } },\n },\n provisioning: {\n purpose: 'What happens to a person the first time they sign in through this connection: whether an account is created, whether the email is trusted, which role they get, which email domains are allowed, and how provider roles and groups map to application roles.',\n whenToUse: 'Deciding who may join through this connection and with what access.',\n textSlots: { title: { purpose: 'Heading of the settings applied to people who sign in through this connection.' } },\n },\n },\n },\n views: {\n [SsoConnection_Operations.TEST_CONNECTION]: {\n purpose: 'Surface an admin-facing validation flow for the configured provider connection.',\n views: {\n default: {\n customView: {\n purpose: 'Augment the standard read shell with SAML-specific diagnostic and metadata sections while keeping the surrounding resource context intact.',\n whenToUse: 'Use when the operation behaves like a read-oriented diagnostics screen rather than a plain preset swap.',\n textSlots: {\n title: {\n purpose: 'Name this custom diagnostics host as the SSO connection test surface users are currently in.',\n },\n description: {\n purpose: 'Explain that this host focuses on validation and protocol diagnostics for the selected SSO connection.',\n },\n },\n basedOnPreset: CorePreset_ResourceLayout_Read.DEFAULT,\n implementationSymbol: {\n packageName: '@wildo-ai/saas-frontend-lib',\n exportName: 'ResourceLayoutPreset_Read_SsoSaml',\n symbolKind: CodeSymbolKind.COMPONENT,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n declarationSymbols: [\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'securityMainPresets',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'securityAdminPresets',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n ],\n notes: [\n 'This is resource-owned operation metadata, not an injectable framework component preset.',\n ],\n },\n },\n },\n },\n [Op.CREATE]: {\n purpose: 'Create a connection through a guided setup: importing the identity provider\\'s SAML metadata pre-fills the create form, which then submits CREATE. (It was the DISCOVER_ENDPOINTS view until #2519, whose form could only ever submit the discovery request; discovery is now an API-only operation the wizard calls.)',\n views: {\n default: {\n customView: {\n purpose: 'Replace the generic create host with the SAML metadata-import wizard, so the organization\\'s owner authors a connection from the provider\\'s own metadata rather than typing its endpoints.',\n whenToUse: 'Use when the operation should drive guided, metadata-derived setup rather than the default create form shell.',\n textSlots: {\n title: {\n purpose: 'Name this custom setup host as the SSO connection setup workflow users are currently in.',\n },\n description: {\n purpose: 'Explain that this host imports the identity provider\\'s metadata into the connection being created rather than asking for every endpoint by hand.',\n },\n },\n basedOnPreset: CorePresetNames.DEFAULT,\n implementationSymbol: {\n packageName: '@wildo-ai/saas-frontend-lib',\n exportName: 'ResourceLayoutPreset_Create_SamlWizard',\n symbolKind: CodeSymbolKind.COMPONENT,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n declarationSymbols: [\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'securityMainPresets',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n {\n packageName: '@wildo-ai/presets-components',\n exportName: 'securityAdminPresets',\n symbolKind: CodeSymbolKind.UI_BEHAVIOR,\n },\n ],\n },\n },\n },\n },\n },\n }),\n );\n}\n\nexport const organizationSsoConnectionsResourceSpecification = buildSsoConnectionsResourceSpecification(\n CoreResourceType.ORGANIZATION_SSO_CONNECTIONS,\n 'ORGANIZATION_SSO_CONNECTIONS',\n);\n\nexport const applicationSsoConnectionsResourceSpecification = buildSsoConnectionsResourceSpecification(\n CoreResourceType.APPLICATION_SSO_CONNECTIONS,\n 'APPLICATION_SSO_CONNECTIONS',\n);\n"]}
|
package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts
CHANGED
|
@@ -9,7 +9,9 @@
|
|
|
9
9
|
* → `userProviderCredentialsResourceConfiguration_InitializationFactory`
|
|
10
10
|
* - Custom operations: none
|
|
11
11
|
* - UI presets: `engine/presets-components/src/config/resources/security.resource-presets.tsx`
|
|
12
|
-
* → `USER_PROVIDER_CREDENTIALS
|
|
12
|
+
* → `USER_PROVIDER_CREDENTIALS`. Not placed in the Settings Hub since #2319: the `my-provider-credentials` destination
|
|
13
|
+
* opens the connected-accounts panel, whose one list shows these rows by connection and acts on them through this
|
|
14
|
+
* resource's own UPDATE and DELETE.
|
|
13
15
|
*/
|
|
14
16
|
import { CoreResourceOperation as Op, ProviderCredentialValidationState } from '@wildo-ai/saas-models';
|
|
15
17
|
export declare const userProviderCredentialsResourceSpecification: import("../../../_core").ResourceSpecificationConfig<undefined, Op.READ | Op.UPDATE | Op.DELETE | Op.CREATE | Op.LIST, import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodObject<{
|
package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-provider-credentials.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/auth/resources/user-provider-credentials.resource.specification.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"user-provider-credentials.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/auth/resources/user-provider-credentials.resource.specification.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAQH,OAAO,EACL,qBAAqB,IAAI,EAAE,EAE3B,iCAAiC,EAIlC,MAAM,uBAAuB,CAAC;AAqC/B,eAAO,MAAM,4CAA4C;;;;;;;;;;;;;;;;;;;;kCA6RxD,CAAC"}
|