@wildo-ai/saas-specifications 1.1.3 → 1.1.5
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/assurance/external-framework-mapping.json +1228 -0
- package/dist/esm/_core/application-maturity/application-maturity-validation.d.ts +34 -0
- package/dist/esm/_core/application-maturity/application-maturity-validation.d.ts.map +1 -0
- package/dist/esm/_core/application-maturity/application-maturity-validation.js +66 -0
- package/dist/esm/_core/application-maturity/application-maturity-validation.js.map +1 -0
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.d.ts +3 -0
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js +48 -0
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js.map +1 -0
- package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts +201 -0
- package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts.map +1 -0
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js +306 -0
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js.map +1 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +304 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.js +314 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -0
- package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts +2 -1
- package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.js +4 -1
- package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/assertions/assertion-behaviors.schemas.d.ts +4 -4
- package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts +5 -4
- package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/assertions/assertion-specification.schemas.js +4 -1
- package/dist/esm/_core/assertions/assertion-specification.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-asset.schemas.d.ts +5 -4
- package/dist/esm/_core/brand/brand-asset.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-asset.schemas.js +7 -4
- package/dist/esm/_core/brand/brand-asset.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-audience.schemas.d.ts +31 -0
- package/dist/esm/_core/brand/brand-audience.schemas.d.ts.map +1 -0
- package/dist/esm/_core/brand/brand-audience.schemas.js +29 -0
- package/dist/esm/_core/brand/brand-audience.schemas.js.map +1 -0
- package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/brand/brand-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-generation.schemas.d.ts +4 -4
- package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts +12 -9
- package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-logo-direction.schemas.js +12 -7
- package/dist/esm/_core/brand/brand-logo-direction.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-name.schemas.d.ts +2 -2
- package/dist/esm/_core/brand/brand-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot-validation.js +1 -8
- package/dist/esm/_core/brand/brand-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts +23 -12
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot.schemas.js +7 -0
- package/dist/esm/_core/brand/brand-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts +2 -2
- package/dist/esm/_core/brand/brand.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand.family-aspects.js +12 -1
- package/dist/esm/_core/brand/brand.family-aspects.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +252 -2
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js +19 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +121 -1
- 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 +215 -2
- 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 +703 -14
- 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 +536 -7
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js +82 -2
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts +3 -3
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.js +1 -1
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.js.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts +4 -3
- 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 +4 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js.map +1 -1
- package/dist/esm/_core/business-semantics.specifications.schemas.d.ts +36 -0
- package/dist/esm/_core/business-semantics.specifications.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-semantics.specifications.schemas.js +52 -1
- package/dist/esm/_core/business-semantics.specifications.schemas.js.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts +22 -0
- package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts.map +1 -0
- package/dist/esm/_core/capability-composition/capability-composition-validation.js +89 -0
- package/dist/esm/_core/capability-composition/capability-composition-validation.js.map +1 -0
- package/dist/esm/_core/capability-composition/capability-composition.family-aspects.d.ts +3 -0
- package/dist/esm/_core/capability-composition/capability-composition.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/capability-composition/capability-composition.family-aspects.js +26 -0
- package/dist/esm/_core/capability-composition/capability-composition.family-aspects.js.map +1 -0
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +141 -0
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -0
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js +147 -0
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts +160 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js +124 -4
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts +95 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.js +85 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +743 -14
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +699 -22
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts +98 -6
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js +197 -8
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js.map +1 -1
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts +64 -0
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js +283 -0
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js +30 -1
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +220 -4
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js +149 -2
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts +70 -3
- 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 +75 -3
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.js.map +1 -1
- package/dist/esm/_core/composite-view-specification.schemas.d.ts +14 -0
- package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/composite-view-specification.schemas.js +13 -0
- package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/cross-registry-assertions.d.ts +6 -4
- package/dist/esm/_core/cross-registry-assertions.d.ts.map +1 -1
- package/dist/esm/_core/cross-registry-assertions.js +7 -5
- package/dist/esm/_core/cross-registry-assertions.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts +5 -4
- 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 +5 -2
- 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 +30 -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 +99 -6
- 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 +58 -0
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js +71 -0
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts +37 -0
- package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan-validation.js +83 -0
- package/dist/esm/_core/experience-plan/experience-plan-validation.js.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js +78 -0
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts +285 -0
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js +293 -0
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -0
- package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +9 -2
- 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 +7 -0
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-personas.family-aspects.d.ts +18 -0
- package/dist/esm/_core/expert-personas/expert-personas.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/expert-personas/expert-personas.family-aspects.js +21 -0
- package/dist/esm/_core/expert-personas/expert-personas.family-aspects.js.map +1 -0
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts +19 -0
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.js +23 -0
- package/dist/esm/_core/expert-personas/expert-role-template.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 +22 -1
- package/dist/esm/_core/family-aspects.registry.js.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.d.ts +64 -1
- package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
- 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 +27 -27
- package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts +59 -59
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js +1 -1
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js +6 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts +11 -15
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.js +12 -11
- package/dist/esm/_core/guidance-flow-specification.schemas.js.map +1 -1
- package/dist/esm/_core/index.d.ts +16 -0
- package/dist/esm/_core/index.d.ts.map +1 -1
- package/dist/esm/_core/index.js +16 -0
- package/dist/esm/_core/index.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +52 -0
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js +50 -0
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan-validation.d.ts +27 -0
- package/dist/esm/_core/integration-plan/integration-plan-validation.d.ts.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan-validation.js +63 -0
- package/dist/esm/_core/integration-plan/integration-plan-validation.js.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js +52 -0
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts +168 -0
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js +170 -0
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -0
- package/dist/esm/_core/market/feature-benefit.schemas.d.ts +6 -5
- package/dist/esm/_core/market/feature-benefit.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/feature-benefit.schemas.js +5 -2
- package/dist/esm/_core/market/feature-benefit.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-alternative.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-alternative.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-alternative.schemas.js +4 -1
- package/dist/esm/_core/market/market-alternative.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts +11 -9
- package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-authored-metadata.schemas.js +13 -10
- package/dist/esm/_core/market/market-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-buying-journey.schemas.d.ts +5 -4
- package/dist/esm/_core/market/market-buying-journey.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-buying-journey.schemas.js +4 -1
- package/dist/esm/_core/market/market-buying-journey.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-category.schemas.d.ts +2 -2
- package/dist/esm/_core/market/market-channel.schemas.d.ts +6 -5
- package/dist/esm/_core/market/market-channel.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-channel.schemas.js +6 -3
- package/dist/esm/_core/market/market-channel.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-gain.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-gain.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-gain.schemas.js +4 -1
- package/dist/esm/_core/market/market-gain.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-icp.schemas.d.ts +12 -11
- package/dist/esm/_core/market/market-icp.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-icp.schemas.js +12 -9
- package/dist/esm/_core/market/market-icp.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-job.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-job.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-job.schemas.js +4 -1
- package/dist/esm/_core/market/market-job.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-message-template.schemas.d.ts +5 -4
- package/dist/esm/_core/market/market-message-template.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-message-template.schemas.js +5 -2
- package/dist/esm/_core/market/market-message-template.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-objection.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-objection.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-objection.schemas.js +4 -1
- package/dist/esm/_core/market/market-objection.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-pain.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-pain.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-pain.schemas.js +4 -1
- package/dist/esm/_core/market/market-pain.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-persona.schemas.d.ts +5 -4
- package/dist/esm/_core/market/market-persona.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-persona.schemas.js +5 -2
- package/dist/esm/_core/market/market-persona.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-positioning.schemas.d.ts +2 -2
- package/dist/esm/_core/market/market-proof.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-proof.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-proof.schemas.js +4 -1
- package/dist/esm/_core/market/market-proof.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +54 -54
- package/dist/esm/_core/market/market-snapshot.schemas.d.ts +59 -59
- package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-tone-of-voice.schemas.js +4 -1
- package/dist/esm/_core/market/market-tone-of-voice.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-trigger.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-trigger.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-trigger.schemas.js +4 -1
- package/dist/esm/_core/market/market-trigger.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 +25 -1
- package/dist/esm/_core/market/market.family-aspects.js.map +1 -1
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts +27 -22
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/onboarding-view-specification.schemas.js +7 -12
- package/dist/esm/_core/onboarding-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts +21 -21
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +30 -16
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.js +34 -12
- 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 +24 -1
- 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 +78 -47
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js +62 -24
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
- package/dist/esm/_core/provider-specification.schemas.d.ts +19 -0
- package/dist/esm/_core/provider-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/provider-specification.schemas.js +0 -20
- package/dist/esm/_core/provider-specification.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +2 -2
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts +2 -2
- package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +4 -4
- package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.js +3 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.d.ts +8 -0
- package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts +2 -2
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts +5 -0
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js +1 -8
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts +2 -2
- package/dist/esm/_core/roadmap/roadmap.family-aspects.js +1 -1
- package/dist/esm/_core/roadmap/roadmap.family-aspects.js.map +1 -1
- package/dist/esm/_core/utils/extract-field-specs.d.ts.map +1 -1
- package/dist/esm/_core/utils/extract-field-specs.js +4 -2
- package/dist/esm/_core/utils/extract-field-specs.js.map +1 -1
- package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/vision/vision-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/vision/vision-constraint.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-idea.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-mission.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-problem.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-snapshot.schemas.d.ts +10 -10
- package/dist/esm/_core/vision/vision-success-criterion.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision.family-aspects.js +1 -1
- package/dist/esm/_core/vision/vision.family-aspects.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts +45 -0
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts.map +1 -0
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.js +55 -0
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.js.map +1 -0
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts +37 -0
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts.map +1 -0
- package/dist/esm/_core/website-plan/website-plan-validation.js +77 -0
- package/dist/esm/_core/website-plan/website-plan-validation.js.map +1 -0
- package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/website-plan/website-plan.family-aspects.js +35 -0
- package/dist/esm/_core/website-plan/website-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts +194 -0
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -0
- package/dist/esm/_core/website-plan/website-plan.schemas.js +193 -0
- package/dist/esm/_core/website-plan/website-plan.schemas.js.map +1 -0
- package/dist/esm/_core/zod-core-nameability.d.ts +47 -0
- package/dist/esm/_core/zod-core-nameability.d.ts.map +1 -0
- package/dist/esm/_core/zod-core-nameability.js +1 -0
- package/dist/esm/_core/zod-core-nameability.js.map +1 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +86 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts.map +1 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js +96 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -0
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +139 -34
- 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 +182 -11
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts +71 -2
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js +88 -1
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/creator-inputs.family-aspects.d.ts +14 -0
- package/dist/esm/application-creation/creator-inputs.family-aspects.d.ts.map +1 -0
- package/dist/esm/application-creation/creator-inputs.family-aspects.js +17 -0
- package/dist/esm/application-creation/creator-inputs.family-aspects.js.map +1 -0
- package/dist/esm/application-creation/document-facts.family-aspects.d.ts.map +1 -1
- package/dist/esm/application-creation/document-facts.family-aspects.js +25 -1
- package/dist/esm/application-creation/document-facts.family-aspects.js.map +1 -1
- package/dist/esm/application-creation/document-release-policy.family-aspects.js +1 -1
- package/dist/esm/application-creation/document-release-policy.family-aspects.js.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +14 -48
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.js +52 -52
- package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +209 -495
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js +257 -534
- 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 +10 -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 +10 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation.exports.d.ts +73 -8
- package/dist/esm/application-creation.exports.d.ts.map +1 -1
- package/dist/esm/application-creation.exports.js +103 -8
- package/dist/esm/application-creation.exports.js.map +1 -1
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.d.ts +24 -0
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.d.ts.map +1 -0
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js +24 -0
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js.map +1 -0
- package/dist/esm/assurance/application-document-publication.schemas.d.ts +49 -0
- package/dist/esm/assurance/application-document-publication.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/application-document-publication.schemas.js +51 -0
- package/dist/esm/assurance/application-document-publication.schemas.js.map +1 -1
- package/dist/esm/assurance/application-document-release-set.schemas.d.ts +161 -0
- package/dist/esm/assurance/application-document-release-set.schemas.d.ts.map +1 -0
- package/dist/esm/assurance/application-document-release-set.schemas.js +138 -0
- package/dist/esm/assurance/application-document-release-set.schemas.js.map +1 -0
- package/dist/esm/assurance/application-risk-register.family-aspects.d.ts +28 -0
- package/dist/esm/assurance/application-risk-register.family-aspects.d.ts.map +1 -0
- package/dist/esm/assurance/application-risk-register.family-aspects.js +58 -0
- package/dist/esm/assurance/application-risk-register.family-aspects.js.map +1 -0
- package/dist/esm/assurance/application-risk-register.schemas.d.ts +172 -0
- package/dist/esm/assurance/application-risk-register.schemas.d.ts.map +1 -0
- package/dist/esm/assurance/application-risk-register.schemas.js +192 -0
- package/dist/esm/assurance/application-risk-register.schemas.js.map +1 -0
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts +177 -0
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts.map +1 -0
- package/dist/esm/assurance/application-risk-signals.derivations.js +229 -0
- package/dist/esm/assurance/application-risk-signals.derivations.js.map +1 -0
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +257 -13
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.js +836 -69
- package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +99 -33
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.js +38 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts +30 -0
- package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-blueprint-selection.js +40 -0
- package/dist/esm/assurance/assurance-document-blueprint-selection.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.js +99 -8
- package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts +133 -41
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.js +60 -11
- package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts +470 -0
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.js +451 -0
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.js.map +1 -0
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts +0 -33
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +3339 -159
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts +21 -0
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-foundation.schemas.js +21 -0
- package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +32 -2
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js +148 -5
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +257 -14
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.js +588 -45
- package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-program.family-aspects.d.ts +32 -8
- package/dist/esm/assurance/assurance-program.family-aspects.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.family-aspects.js +288 -10
- package/dist/esm/assurance/assurance-program.family-aspects.js.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.d.ts +1182 -333
- package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.js +460 -68
- package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.js +70 -2
- package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.d.ts +17 -0
- package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.js +17 -0
- 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 +205 -3
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/document-publication.family-aspects.js +1 -1
- package/dist/esm/assurance/document-publication.family-aspects.js.map +1 -1
- package/dist/esm/assurance/document-release-set.family-aspects.d.ts +11 -0
- package/dist/esm/assurance/document-release-set.family-aspects.d.ts.map +1 -0
- package/dist/esm/assurance/document-release-set.family-aspects.js +36 -0
- package/dist/esm/assurance/document-release-set.family-aspects.js.map +1 -0
- package/dist/esm/assurance/governed-document-release.d.ts +211 -0
- package/dist/esm/assurance/governed-document-release.d.ts.map +1 -0
- package/dist/esm/assurance/governed-document-release.js +314 -0
- package/dist/esm/assurance/governed-document-release.js.map +1 -0
- package/dist/esm/assurance.exports.d.ts +5 -0
- package/dist/esm/assurance.exports.d.ts.map +1 -1
- package/dist/esm/assurance.exports.js +5 -0
- package/dist/esm/assurance.exports.js.map +1 -1
- package/dist/esm/companion-exports.d.ts +135 -11
- package/dist/esm/companion-exports.d.ts.map +1 -1
- package/dist/esm/companion-exports.js.map +1 -1
- package/dist/esm/engine/_bootstrap.d.ts +1 -1
- package/dist/esm/engine/_bootstrap.js +1 -1
- package/dist/esm/engine/_bootstrap.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +1 -1
- 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 +0 -23
- 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 +110 -28
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +1 -1
- 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/auth/resources/application-access-grants.resource.specification.d.ts +57 -0
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +412 -0
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/index.d.ts +2 -0
- package/dist/esm/engine/auth/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/index.js +2 -0
- package/dist/esm/engine/auth/resources/index.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +4 -4
- 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 +57 -6
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.d.ts +9 -0
- package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.js +141 -0
- package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +4 -1
- 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 +10 -6
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -1
- 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 +5 -4
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts +4 -0
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js +129 -0
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts +19 -7
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js +24 -13
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts +0 -40
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +14 -27
- 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 +8 -2
- 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 +16 -3
- 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 +5 -2
- 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 +10 -16
- 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.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +15 -5
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.d.ts +9 -0
- package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.js +164 -0
- package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.js.map +1 -0
- package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.d.ts +14 -0
- package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js +124 -0
- package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js.map +1 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.d.ts +9 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.js +123 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.js.map +1 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.d.ts +11 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.js +172 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.js.map +1 -0
- package/dist/esm/engine/billing/resources/index.d.ts +4 -0
- package/dist/esm/engine/billing/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/index.js +4 -0
- package/dist/esm/engine/billing/resources/index.js.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts +3 -3
- package/dist/esm/engine/billing/resources/products.resource.specification.d.ts +3 -3
- 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/subscriptions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +92 -36
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +77 -0
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +375 -0
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts +1 -1
- package/dist/esm/engine/compliance/resources/index.d.ts +2 -0
- package/dist/esm/engine/compliance/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/index.js +2 -0
- package/dist/esm/engine/compliance/resources/index.js.map +1 -1
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts +16 -0
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.js +183 -0
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.js.map +1 -0
- package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.js +28 -0
- 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 +123 -19
- package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.js +2 -1
- 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 +1 -0
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.js +4 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.js +15 -3
- package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +3 -0
- 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 +1 -1
- 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 -3
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts +14 -0
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js +184 -0
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.js +3 -2
- package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.js +18 -0
- package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.js +21 -0
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js +82 -0
- package/dist/esm/engine/frontend-components/app/app-layout-billing-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 +6 -5
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.js +81 -0
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.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 +4 -2
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.js +3 -2
- package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js +1 -1
- 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-register.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js +21 -0
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.js +20 -2
- package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.js +177 -0
- package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.js +10 -2
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.js +166 -0
- package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.js +122 -0
- package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.js +152 -0
- package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.js +13 -0
- package/dist/esm/engine/frontend-components/feedback/celebration-overlay.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/form/controls/string/inline-edit-text.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.js +92 -0
- package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js +29 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/index.d.ts +12 -0
- package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/index.js +40 -0
- package/dist/esm/engine/frontend-components/index.js.map +1 -1
- package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.d.ts +25 -1
- package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.js +16 -2
- package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.d.ts +9 -0
- package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.js +91 -7
- package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.js +9 -3
- package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.js +41 -1
- package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.js +19 -1
- package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.js.map +1 -1
- 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 +21 -1
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts +2 -0
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts +4 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js +48 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js.map +1 -0
- 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 +3 -2
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +77 -3
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js +11 -3
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +26 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +17 -8
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts +49 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js +293 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +5 -5
- 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 +1 -1
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +6 -6
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js +3 -3
- package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +2 -2
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts +3 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +27 -5
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +31 -12
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
- package/dist/esm/engine/providers/anthropic.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/anthropic.provider.specification.js +10 -1
- package/dist/esm/engine/providers/anthropic.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/apple.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/apple.provider.specification.js +12 -1
- package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/email-preview.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/email-preview.provider.specification.js +9 -1
- package/dist/esm/engine/providers/email-preview.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/github.provider.specification.js +12 -1
- package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/google.provider.specification.js +12 -1
- package/dist/esm/engine/providers/google.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/grok.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/grok.provider.specification.js +10 -1
- package/dist/esm/engine/providers/grok.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/microsoft.provider.specification.js +22 -1
- package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/mistral.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/mistral.provider.specification.js +10 -1
- package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/openai.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/openai.provider.specification.js +10 -1
- package/dist/esm/engine/providers/openai.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/opencode.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/opencode.provider.specification.js +9 -1
- package/dist/esm/engine/providers/opencode.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/perplexity.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/perplexity.provider.specification.js +10 -1
- package/dist/esm/engine/providers/perplexity.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 +10 -1
- package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/stripe.provider.specification.js +10 -1
- package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/twilio.provider.specification.js +10 -1
- package/dist/esm/engine/providers/twilio.provider.specification.js.map +1 -1
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.d.ts +2 -0
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js +21 -0
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js.map +1 -0
- package/dist/esm/engine/roles/index.d.ts +4 -3
- package/dist/esm/engine/roles/index.d.ts.map +1 -1
- package/dist/esm/engine/roles/index.js +6 -4
- package/dist/esm/engine/roles/index.js.map +1 -1
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts +5 -3
- 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 +2 -2
- 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 +2 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +2 -2
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts +1 -0
- 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 +8 -3
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts +2 -2
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js +2 -2
- 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 +5 -5
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +4 -4
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +3 -3
- 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 +1 -1
- 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 +1 -0
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.js +2 -2
- package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
- package/dist/esm/index.d.ts +39 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +39 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts +134 -0
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js +142 -0
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.d.ts +35 -0
- package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.d.ts.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.js +45 -0
- package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.js.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan-validation.d.ts +33 -0
- package/dist/esm/technical-documentation/application-documentation-plan-validation.d.ts.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan-validation.js +77 -0
- package/dist/esm/technical-documentation/application-documentation-plan-validation.js.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.d.ts +3 -0
- package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.js +40 -0
- package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.js.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts +122 -0
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.js +138 -0
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.js.map +1 -0
- 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 +7 -15
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-assets.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-assets.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-capture.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-capture.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-common.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-common.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-publication.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-publication.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts +14 -0
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.js +16 -3
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.js.map +1 -1
- package/dist/esm/technical-documentation.exports.d.ts +4 -0
- package/dist/esm/technical-documentation.exports.d.ts.map +1 -1
- package/dist/esm/technical-documentation.exports.js +24 -0
- package/dist/esm/technical-documentation.exports.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +8 -13
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts +0 -103
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts.map +0 -1
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.js +0 -76
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.js.map +0 -1
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts +0 -108
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts.map +0 -1
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js +0 -119
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js.map +0 -1
- package/dist/esm/application-creation-playbook-runtime.exports.d.ts +0 -3
- package/dist/esm/application-creation-playbook-runtime.exports.d.ts.map +0 -1
- package/dist/esm/application-creation-playbook-runtime.exports.js +0 -3
- package/dist/esm/application-creation-playbook-runtime.exports.js.map +0 -1
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts +0 -0
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts.map +0 -0
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js +0 -0
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js.map +0 -0
|
@@ -27,6 +27,7 @@ export declare const organizationSsoConnectionsResourceSpecification: ResourceSp
|
|
|
27
27
|
allowedClockDrift: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodNumber>>;
|
|
28
28
|
forceAuthn: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodBoolean>>;
|
|
29
29
|
maxAuthAge: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
30
|
+
reAuthenticationEnabled: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodBoolean>>;
|
|
30
31
|
nameIdFormat: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
31
32
|
readonly UNSPECIFIED: "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified";
|
|
32
33
|
readonly EMAIL_ADDRESS: "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress";
|
|
@@ -55,6 +56,7 @@ export declare const organizationSsoConnectionsResourceSpecification: ResourceSp
|
|
|
55
56
|
userInfoEndpoint: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodURL>>;
|
|
56
57
|
jwksUri: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodURL>>;
|
|
57
58
|
endSessionEndpoint: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodURL>>;
|
|
59
|
+
federatedLogoutEnabled: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodBoolean>>;
|
|
58
60
|
clientId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>;
|
|
59
61
|
clientSecret: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>;
|
|
60
62
|
scopes: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>>;
|
|
@@ -85,6 +87,7 @@ export declare const organizationSsoConnectionsResourceSpecification: ResourceSp
|
|
|
85
87
|
readonly CONSENT: "consent";
|
|
86
88
|
readonly SELECT_ACCOUNT: "select_account";
|
|
87
89
|
}>>>;
|
|
90
|
+
reAuthenticationEnabled: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodBoolean>>;
|
|
88
91
|
pkceEnabled: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodBoolean>>;
|
|
89
92
|
pkceMethod: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
90
93
|
readonly S256: "S256";
|
|
@@ -99,9 +102,9 @@ export declare const organizationSsoConnectionsResourceSpecification: ResourceSp
|
|
|
99
102
|
}, import("zod/v4/core").$strip>>;
|
|
100
103
|
autoCreateUsers: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
101
104
|
autoVerifyEmail: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
102
|
-
bypassAppMFA: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodBoolean>>;
|
|
103
105
|
defaultRole: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
104
106
|
allowedDomains: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>>>;
|
|
107
|
+
allowedDirectoryIds: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>>;
|
|
105
108
|
roleMapping: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>>;
|
|
106
109
|
groupMapping: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>>>>;
|
|
107
110
|
createdAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodDate>>>;
|
|
@@ -134,6 +137,7 @@ export declare const applicationSsoConnectionsResourceSpecification: ResourceSpe
|
|
|
134
137
|
allowedClockDrift: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodNumber>>;
|
|
135
138
|
forceAuthn: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodBoolean>>;
|
|
136
139
|
maxAuthAge: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodNumber>>;
|
|
140
|
+
reAuthenticationEnabled: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodBoolean>>;
|
|
137
141
|
nameIdFormat: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
138
142
|
readonly UNSPECIFIED: "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified";
|
|
139
143
|
readonly EMAIL_ADDRESS: "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress";
|
|
@@ -162,6 +166,7 @@ export declare const applicationSsoConnectionsResourceSpecification: ResourceSpe
|
|
|
162
166
|
userInfoEndpoint: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodURL>>;
|
|
163
167
|
jwksUri: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodURL>>;
|
|
164
168
|
endSessionEndpoint: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodURL>>;
|
|
169
|
+
federatedLogoutEnabled: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodBoolean>>;
|
|
165
170
|
clientId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>;
|
|
166
171
|
clientSecret: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>;
|
|
167
172
|
scopes: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>>;
|
|
@@ -192,6 +197,7 @@ export declare const applicationSsoConnectionsResourceSpecification: ResourceSpe
|
|
|
192
197
|
readonly CONSENT: "consent";
|
|
193
198
|
readonly SELECT_ACCOUNT: "select_account";
|
|
194
199
|
}>>>;
|
|
200
|
+
reAuthenticationEnabled: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodBoolean>>;
|
|
195
201
|
pkceEnabled: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodBoolean>>;
|
|
196
202
|
pkceMethod: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
197
203
|
readonly S256: "S256";
|
|
@@ -206,9 +212,9 @@ export declare const applicationSsoConnectionsResourceSpecification: ResourceSpe
|
|
|
206
212
|
}, import("zod/v4/core").$strip>>;
|
|
207
213
|
autoCreateUsers: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
208
214
|
autoVerifyEmail: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
209
|
-
bypassAppMFA: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodBoolean>>;
|
|
210
215
|
defaultRole: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
211
216
|
allowedDomains: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>>>;
|
|
217
|
+
allowedDirectoryIds: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>>;
|
|
212
218
|
roleMapping: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>>;
|
|
213
219
|
groupMapping: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>>>>;
|
|
214
220
|
createdAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodDate>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sso-connections.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/auth/resources/sso-connections.resource.specification.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,qBAAqB,IAAI,EAAE,EAG3B,wBAAwB,EAKxB,WAAW,EAEZ,MAAM,uBAAuB,CAAC;AAM/B,OAAO,EAML,KAAK,2BAA2B,EACjC,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"sso-connections.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/auth/resources/sso-connections.resource.specification.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,qBAAqB,IAAI,EAAE,EAG3B,wBAAwB,EAKxB,WAAW,EAEZ,MAAM,uBAAuB,CAAC;AAM/B,OAAO,EAML,KAAK,2BAA2B,EACjC,MAAM,6BAA6B,CAAC;AAolBrC,eAAO,MAAM,+CAA+C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAG3D,CAAC;AAEF,eAAO,MAAM,8CAA8C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAG1D,CAAC"}
|
|
@@ -67,7 +67,6 @@ function createSsoConnectionExamples(resourceType) {
|
|
|
67
67
|
},
|
|
68
68
|
autoCreateUsers: true,
|
|
69
69
|
autoVerifyEmail: true,
|
|
70
|
-
bypassAppMFA: false,
|
|
71
70
|
defaultRole: 'member',
|
|
72
71
|
allowedDomains: ['example.com'],
|
|
73
72
|
createdAt: '2026-08-01T09:00:00.000Z',
|
|
@@ -304,7 +303,7 @@ function buildSsoConnectionsBaseSpecification(resourceType, resourceTypeMemberNa
|
|
|
304
303
|
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.',
|
|
305
304
|
importance: FieldSemanticImportance.PRIMARY,
|
|
306
305
|
responseStatuses: [
|
|
307
|
-
{ code: HttpResponseStatusCode.OK_200, meaning: 'A protocol-discriminated result is returned. SAML validation failures use `overallStatus: fail`; OIDC returns `supported: false` and performs no provider handshake.' },
|
|
306
|
+
{ 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.' },
|
|
308
307
|
],
|
|
309
308
|
errorScenarios: [
|
|
310
309
|
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to run an SSO connection test.' },
|
|
@@ -354,6 +353,20 @@ function buildSsoConnectionsBaseSpecification(resourceType, resourceTypeMemberNa
|
|
|
354
353
|
},
|
|
355
354
|
forStatus: HttpResponseStatusCode.OK_200,
|
|
356
355
|
},
|
|
356
|
+
{
|
|
357
|
+
title: 'SAML SSO URL on an undeclared private network is not probeable from the server',
|
|
358
|
+
response: {
|
|
359
|
+
protocol: SsoProtocol.SAML,
|
|
360
|
+
supported: true,
|
|
361
|
+
entityIdConfigured: true,
|
|
362
|
+
certificates: [],
|
|
363
|
+
spMetadataValid: true,
|
|
364
|
+
overallStatus: SsoConnectionTestOverallStatus.FAIL,
|
|
365
|
+
errors: ['No X.509 certificates configured'],
|
|
366
|
+
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.'],
|
|
367
|
+
},
|
|
368
|
+
forStatus: HttpResponseStatusCode.OK_200,
|
|
369
|
+
},
|
|
357
370
|
{
|
|
358
371
|
title: 'OIDC diagnostics are unavailable',
|
|
359
372
|
response: {
|
|
@@ -374,7 +387,7 @@ function buildSsoConnectionsBaseSpecification(resourceType, resourceTypeMemberNa
|
|
|
374
387
|
{ code: HttpResponseStatusCode.OK_200, meaning: 'A protocol-discriminated discovery result is returned. SAML contains parsed provider metadata; OIDC returns `supported: false` without fetching issuer metadata.' },
|
|
375
388
|
],
|
|
376
389
|
errorScenarios: [
|
|
377
|
-
{ code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'Neither source is supplied, a URL is malformed or unreachable, or the SAML endpoint returns oversized, non-XML, or unparseable metadata.', errorCode: 'VALIDATION_FAILED' },
|
|
390
|
+
{ 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.', errorCode: 'VALIDATION_FAILED' },
|
|
378
391
|
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to run endpoint discovery.' },
|
|
379
392
|
],
|
|
380
393
|
idempotent: false,
|
|
@@ -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,MA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;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 auditSettings: {\n logAuthAttempts: true,\n logAttributeMapping: true,\n retentionDays: 90,\n },\n },\n autoCreateUsers: true,\n autoVerifyEmail: true,\n bypassAppMFA: false,\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 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 },\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 ],\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`).', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to author SSO connections for the scope.' },\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.', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to modify SSO connections.' },\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`; 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.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: '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. SAML metadata discovery is implemented; OIDC issuer discovery returns an explicit unsupported result.',\n outcome: 'The response contains discovered SAML metadata for the caller to review and apply separately, or an OIDC `supported: false` result. This operation never persists the returned values.',\n whenToUse: 'Use a `metadataUrl` while preparing SAML configuration. Supplying an `issuerUrl` currently provides only a machine-readable indication that OIDC discovery is unavailable.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A protocol-discriminated discovery result is returned. SAML contains parsed provider metadata; OIDC returns `supported: false` without fetching issuer metadata.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'Neither source is supplied, a URL is malformed or unreachable, or the SAML endpoint returns oversized, non-XML, or unparseable metadata.', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to run endpoint discovery.' },\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: 'OIDC discovery is unavailable',\n request: { issuerUrl: 'https://idp.example.com/oauth2/default' },\n response: {\n protocol: SsoProtocol.OIDC,\n supported: false,\n message: 'OIDC endpoint discovery is not implemented; issuer metadata was not fetched.',\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 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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GAAyG;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 auditSettings: {\n logAuthAttempts: true,\n logAttributeMapping: true,\n retentionDays: 90,\n },\n },\n autoCreateUsers: true,\n autoVerifyEmail: 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 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 },\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 ],\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`).', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to author SSO connections for the scope.' },\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.', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to modify SSO connections.' },\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.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. SAML metadata discovery is implemented; OIDC issuer discovery returns an explicit unsupported result.',\n outcome: 'The response contains discovered SAML metadata for the caller to review and apply separately, or an OIDC `supported: false` result. This operation never persists the returned values.',\n whenToUse: 'Use a `metadataUrl` while preparing SAML configuration. Supplying an `issuerUrl` currently provides only a machine-readable indication that OIDC discovery is unavailable.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A protocol-discriminated discovery result is returned. SAML contains parsed provider metadata; OIDC returns `supported: false` without fetching issuer metadata.' },\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.', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the security-admin role required to run endpoint discovery.' },\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: 'OIDC discovery is unavailable',\n request: { issuerUrl: 'https://idp.example.com/oauth2/default' },\n response: {\n protocol: SsoProtocol.OIDC,\n supported: false,\n message: 'OIDC endpoint discovery is not implemented; issuer metadata was not fetched.',\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 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"]}
|
package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* → `USER_PROVIDER_CREDENTIALS`, reached through the `my-provider-credentials` settings destination.
|
|
13
13
|
*/
|
|
14
14
|
import { CoreResourceOperation as Op, ProviderCredentialValidationState } from '@wildo-ai/saas-models';
|
|
15
|
-
export declare const userProviderCredentialsResourceSpecification: import("../../../_core").ResourceSpecificationConfig<undefined, Op.READ | Op.UPDATE | Op.
|
|
15
|
+
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<{
|
|
16
16
|
_id: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>;
|
|
17
17
|
userId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>>;
|
|
18
18
|
providerRef: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>;
|
|
@@ -24,7 +24,10 @@ export declare const userProviderCredentialsResourceSpecification: import("../..
|
|
|
24
24
|
lastValidatedAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodDate>>>;
|
|
25
25
|
lastUsedAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodDate>>>>;
|
|
26
26
|
secretSetAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodDate>>>;
|
|
27
|
-
|
|
27
|
+
connectionFacts: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
28
|
+
value: import("zod").ZodString;
|
|
29
|
+
provenance: import("zod").ZodEnum<typeof import("@wildo-ai/saas-models").ProviderConnectionFactProvenance>;
|
|
30
|
+
}, import("zod/v4/core").$strict>>>>>;
|
|
28
31
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
29
32
|
createdAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodDate>>>>>;
|
|
30
33
|
updatedAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("zod").ZodDate>>>>;
|
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;;;;;;;;;;;;GAYG;AAQH,OAAO,EACL,qBAAqB,IAAI,EAAE,
|
|
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;;;;;;;;;;;;GAYG;AAQH,OAAO,EACL,qBAAqB,IAAI,EAAE,EAE3B,iCAAiC,EAIlC,MAAM,uBAAuB,CAAC;AAoC/B,eAAO,MAAM,4CAA4C;;;;;;;;;;;;;;;;;;;kCAqQxD,CAAC"}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import { LabelAudience } from '@wildo-ai/presets-components-models';
|
|
15
15
|
import { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance, } from '@wildo-ai/zod-decorators';
|
|
16
|
-
import { CoreResourceOperation as Op, ProviderCredentialValidationState, ResourcePrimaryScope, UserProviderCredentialSchema, userProviderCredentialsResourceConfiguration_InitializationFactory, } from '@wildo-ai/saas-models';
|
|
16
|
+
import { CoreResourceOperation as Op, ProviderCredentialSlotWriteRefusal, ProviderCredentialValidationState, ResourcePrimaryScope, UserProviderCredentialSchema, userProviderCredentialsResourceConfiguration_InitializationFactory, } from '@wildo-ai/saas-models';
|
|
17
17
|
import { HttpResponseStatusCode, resourceSpecification } from '../../../_core/index.js';
|
|
18
18
|
import { EngineResourceSubDomain } from '../../engine-resource-sub-domain.js';
|
|
19
19
|
const CREDENTIAL_EXAMPLE_ID = 'usrprovcred_01J7K2M4N6P8Q0R2S4T6V8W0XY';
|
|
@@ -30,7 +30,7 @@ const CREDENTIAL_RECORD_EXAMPLE = {
|
|
|
30
30
|
_id: CREDENTIAL_EXAMPLE_ID,
|
|
31
31
|
userId: CREDENTIAL_EXAMPLE_USER_ID,
|
|
32
32
|
providerRef: 'openai',
|
|
33
|
-
secretSlug: '
|
|
33
|
+
secretSlug: 'apiKey',
|
|
34
34
|
secretValue: '••••••••',
|
|
35
35
|
enabled: true,
|
|
36
36
|
validationState: ProviderCredentialValidationState.VALID,
|
|
@@ -85,7 +85,7 @@ export const userProviderCredentialsResourceSpecification = resourceSpecificatio
|
|
|
85
85
|
'The stored value is SEALED, never the plaintext the holder typed: an AES-256-GCM envelope whose key is derived from the application\'s own `secrets.security.session.encryptionKey`. The USER scope selects a DIFFERENT key domain from the organization-owned sibling, so a person\'s envelope cannot be opened as a tenant\'s even with a matching owner id — and the associated data binds it to (userId, providerRef, secretSlug), so a ciphertext copied into another person\'s row fails to open rather than silently working.',
|
|
86
86
|
'Every door is APP_USER and there is deliberately NO administrative variant — not an organization administrator\'s, not a platform operator\'s. Consenting to STORE a personal credential is not consenting for somebody else to spend it, and the vendor records the resulting act as the holder\'s, which no later audit event makes reversible.',
|
|
87
87
|
'There is NO resolution fallback. A person who has connected nothing gets a refusal naming what to connect — never the deployment\'s shared principal and never their organization\'s credential. Substituting either would attribute the act to a party that granted no permission for it.',
|
|
88
|
-
'A row appears in TWO ways, and only one of them is an HTTP write. A credential you PASTE arrives through `CREATE` below. A credential a vendor MINTS arrives through the authorization exchange: you authorize on the vendor\'s own consent screen, come back through one shared callback, and the application records the grant — you never see or type the token. The second path is why this resource permits a system-tier create at all.',
|
|
88
|
+
'A row appears in TWO ways, and only one of them is an HTTP write. A credential you PASTE arrives through the Connect screen, which offers only the providers this application declares and, for each, only the credential slots that provider declares, and stores it through the connection controller\'s declared-secret door. `CREATE` below performs the same write for an API caller; the application\'s own screens do not offer it, because a free-text slot is how a value lands where nothing will ever read it (#1040). A credential a vendor MINTS arrives through the authorization exchange: you authorize on the vendor\'s own consent screen, come back through one shared callback, and the application records the grant — you never see or type the token. The second path is why this resource permits a system-tier create at all.',
|
|
89
89
|
'Set, rotate, use and delete are audited as `USER_PROVIDER_CREDENTIAL_*`, annotated `WILDO.IDENTITY.DELEGATED_AUTHORIZATION`. None of the four payload schemas has a field the value could occupy, and none carries an organization — a person\'s connections must not reach their tenant\'s SIEM stream.',
|
|
90
90
|
],
|
|
91
91
|
},
|
|
@@ -108,7 +108,7 @@ export const userProviderCredentialsResourceSpecification = resourceSpecificatio
|
|
|
108
108
|
importance: FieldSemanticImportance.PRIMARY,
|
|
109
109
|
}),
|
|
110
110
|
secretSlug: schemaShape.secretSlug.stringSpec({
|
|
111
|
-
meaning: "The
|
|
111
|
+
meaning: "The provider's `secretsContract` KEY this value satisfies (`accessToken`) — not the slot's environment-variable spelling, which a provider regeneration may rename.",
|
|
112
112
|
whyItMatters: 'A provider declaring several secrets (an API key and a signing secret) gets one row per slug, so the holder can rotate one without disturbing the other.',
|
|
113
113
|
semanticRole: 'identifier',
|
|
114
114
|
importance: FieldSemanticImportance.PRIMARY,
|
|
@@ -222,6 +222,8 @@ export const userProviderCredentialsResourceSpecification = resourceSpecificatio
|
|
|
222
222
|
],
|
|
223
223
|
errorScenarios: [
|
|
224
224
|
{ code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The payload fails validation, or `secretValue` is empty.', errorCode: 'VALIDATION_FAILED' },
|
|
225
|
+
{ code: HttpResponseStatusCode.BAD_REQUEST_400, when: "`secretSlug` names no credential slot of the provider's current secrets contract — a retired or free-text name, or an unregistered provider. A value stored there could never be read, so it is refused (#624). Name the slot by its contract key (`apiKey`) or its environment-variable spelling; it is stored as the key.", errorCode: ProviderCredentialSlotWriteRefusal.SECRET_SLUG_NOT_DECLARED },
|
|
226
|
+
{ code: HttpResponseStatusCode.BAD_REQUEST_400, when: "`secretSlug` names the provider's own OAuth2 registration (a client id or secret), which is authored in the deployment environment and never read from a credential row.", errorCode: ProviderCredentialSlotWriteRefusal.SECRET_SLUG_NOT_A_CREDENTIAL },
|
|
225
227
|
{ code: HttpResponseStatusCode.CONFLICT_409, when: 'You already hold a credential for this provider and slug — rotate that one instead of creating a second.' },
|
|
226
228
|
],
|
|
227
229
|
idempotent: false,
|
|
@@ -229,7 +231,7 @@ export const userProviderCredentialsResourceSpecification = resourceSpecificatio
|
|
|
229
231
|
title: 'Connect my own OpenAI account',
|
|
230
232
|
request: {
|
|
231
233
|
providerRef: 'openai',
|
|
232
|
-
secretSlug: '
|
|
234
|
+
secretSlug: 'apiKey',
|
|
233
235
|
secretValue: 'sk-my-own-personal-key',
|
|
234
236
|
description: 'My personal key, so my drafts are billed to me.',
|
|
235
237
|
},
|
|
@@ -247,6 +249,8 @@ export const userProviderCredentialsResourceSpecification = resourceSpecificatio
|
|
|
247
249
|
],
|
|
248
250
|
errorScenarios: [
|
|
249
251
|
{ code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The payload fails validation.', errorCode: 'VALIDATION_FAILED' },
|
|
252
|
+
{ code: HttpResponseStatusCode.BAD_REQUEST_400, when: "A new `secretValue` is written into a credential stored under a slot the provider's current secrets contract no longer declares. That value could never be read; reconnect (or create the credential under the current slot) and delete this row. Edits that carry no new value are still accepted.", errorCode: ProviderCredentialSlotWriteRefusal.SECRET_SLUG_NOT_DECLARED },
|
|
253
|
+
{ code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The payload names a different `providerRef` or `secretSlug`. A stored credential cannot move: its sealed value is bound to both.', errorCode: ProviderCredentialSlotWriteRefusal.CREDENTIAL_SLOT_IMMUTABLE },
|
|
250
254
|
{ code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No credential with that id belongs to the caller.' },
|
|
251
255
|
],
|
|
252
256
|
idempotent: true,
|
|
@@ -275,22 +279,12 @@ export const userProviderCredentialsResourceSpecification = resourceSpecificatio
|
|
|
275
279
|
forStatus: HttpResponseStatusCode.NO_CONTENT_204,
|
|
276
280
|
}],
|
|
277
281
|
},
|
|
278
|
-
[Op.UPDATE_MANY]: {
|
|
279
|
-
purpose: 'Route-less retention plumbing.',
|
|
280
|
-
outcome: 'Nothing is scrubbed in practice: this resource declares `RETAIN_ONLY`, because a secret is not pseudonymised — it is destroyed. The operation exists because the retention contract requires READ + LIST + UPDATE_MANY to resolve, and a declared-but-unresolvable operation fails when an erasure actually runs.',
|
|
281
|
-
responseStatuses: [
|
|
282
|
-
{ code: HttpResponseStatusCode.OK_200, meaning: 'The matching records were processed. INTERNAL_CALL — it registers no HTTP route.' },
|
|
283
|
-
],
|
|
284
|
-
errorScenarios: [
|
|
285
|
-
{ code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The filter fails validation.', errorCode: 'VALIDATION_FAILED' },
|
|
286
|
-
],
|
|
287
|
-
},
|
|
288
282
|
},
|
|
289
283
|
businessConstraints: [
|
|
290
284
|
'The uniqueness grain is `(userId, providerRef, secretSlug)`, enforced by a compound unique index rather than a read-then-write. Saving a rotation twice in the same minute would otherwise leave two rows, and the resolver would pick between them arbitrarily — so half the holder\'s outbound calls would carry the retired credential with nothing to say which half.',
|
|
291
285
|
'A person\'s credential has NO fallback, in either direction. Their organization\'s credential is not a next-best owner and neither is the deployment\'s: a call that named this person and could not resolve them is REFUSED, because the vendor records the act under whichever identity was actually spent and that record outlives us.',
|
|
292
286
|
'Nobody but the holder may read, spend, rotate or remove one. There is no administrative variant at any tier — consent to STORE a personal credential is not consent for somebody else to use it.',
|
|
293
|
-
'A subject erasure DOES reach this resource, and
|
|
287
|
+
'A subject erasure DOES reach this resource, and it DESTROYS the rows. The resource declares no `retentionPolicy`, because neither retain treatment fits a secret: an impersonalized row would keep key material that still opens against a person who asked to be forgotten, and a RETAIN_ONLY row keeps it untouched. The `USERS` → credentials edge authors `onParentDelete.strategy: DELETE`, read both by the delete cascade and by an erasure, which keeps the scrubbed person row. Until #1569 the resource declared RETAIN_ONLY, and every erasure kept the credentials.',
|
|
294
288
|
'`exportSubject` is FORBIDDEN, and it matters more here than on the organization-owned sibling. That row is unreachable on the subject-export graph by construction; this one is reachable BY construction, because it hangs off the subject. The refusal is what stands between a subject-access request and a working credential in the response.',
|
|
295
289
|
],
|
|
296
290
|
}), { resourcePrimaryScope: ResourcePrimaryScope.USER_SELF });
|