@wildo-ai/saas-specifications 1.1.9 → 1.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts +5 -4
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js +5 -4
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js.map +1 -1
- package/dist/esm/_catalogs/schema-org/index.js +1 -1
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js +1 -1
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js.map +1 -1
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +11 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -1
- package/dist/esm/_core/application-specification-family-identity.schemas.js +11 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-choice.d.ts +72 -10
- package/dist/esm/_core/brand/brand-name-choice.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-choice.js +144 -24
- package/dist/esm/_core/brand/brand-name-choice.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.d.ts +41 -1
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.js +19 -3
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-validation.d.ts +7 -1
- package/dist/esm/_core/brand/brand-name-screening-validation.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-validation.js +24 -3
- package/dist/esm/_core/brand/brand-name-screening-validation.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-view.d.ts +61 -9
- package/dist/esm/_core/brand/brand-name-screening-view.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-view.js +42 -1
- package/dist/esm/_core/brand/brand-name-screening-view.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts +130 -2
- package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening.schemas.js +165 -3
- package/dist/esm/_core/brand/brand-name-screening.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts +25 -7
- package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-visual-tone.schemas.js +26 -8
- package/dist/esm/_core/brand/brand-visual-tone.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +76 -0
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +7 -2
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +21 -3
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts +411 -13
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js +281 -8
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts +4 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js +3 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts +6 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js +20 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts +1 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts +1 -0
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js +7 -0
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +4 -3
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js +4 -3
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.d.ts +265 -0
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.js +371 -0
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts +55 -5
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js +66 -2
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts +42 -2
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js +174 -1
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +4 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js +10 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts +102 -10
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js +128 -25
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts +28 -0
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.js +36 -1
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts +15 -0
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.js +15 -0
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts +21 -10
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js +130 -14
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js.map +1 -1
- package/dist/esm/_core/data-seed-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/data-seed-specification.schemas.js +5 -1
- package/dist/esm/_core/data-seed-specification.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts +32 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.js +41 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts +33 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.js +134 -9
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts +117 -0
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js +118 -0
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +1 -0
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +22 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts +17 -1
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js +21 -5
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts +7 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.js +39 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js +31 -5
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts +81 -9
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js +88 -7
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +13 -6
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js +13 -6
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
- package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.registry.js +2 -0
- package/dist/esm/_core/family-aspects.registry.js.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.d.ts +24 -0
- package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.js +20 -0
- package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
- package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +6 -6
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js +2 -2
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js.map +1 -1
- package/dist/esm/_core/index.d.ts +6 -0
- package/dist/esm/_core/index.d.ts.map +1 -1
- package/dist/esm/_core/index.js +6 -0
- package/dist/esm/_core/index.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +1 -0
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js +2 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts +26 -2
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js +21 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-references.schemas.d.ts +7 -0
- package/dist/esm/_core/market/market-references.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-references.schemas.js +13 -1
- package/dist/esm/_core/market/market-references.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +18 -12
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js +46 -17
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/market/market.family-aspects.js +4 -1
- package/dist/esm/_core/market/market.family-aspects.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts +15 -3
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js +6 -3
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +12 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.js +56 -3
- package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +9 -0
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +83 -0
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js +102 -2
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +3 -2
- package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/functional-requirement.schemas.js +8 -2
- package/dist/esm/_core/requirements/functional-requirement.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts +1 -0
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.js +2 -0
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-pain-coverage.d.ts +41 -0
- package/dist/esm/_core/requirements/requirements-pain-coverage.d.ts.map +1 -0
- package/dist/esm/_core/requirements/requirements-pain-coverage.js +63 -0
- package/dist/esm/_core/requirements/requirements-pain-coverage.js.map +1 -0
- package/dist/esm/_core/requirements/requirements-references.schemas.d.ts +1 -1
- package/dist/esm/_core/requirements/requirements-references.schemas.js +1 -1
- package/dist/esm/_core/requirements/requirements-references.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts +16 -0
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js +12 -1
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts +13 -2
- package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.js +32 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +65 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.js +53 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.js +2 -0
- package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.d.ts +56 -15
- package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.js +73 -13
- package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts +1 -16
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.js +3 -17
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts +2 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js +2 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts +1 -1
- package/dist/esm/_core/service-method/service-method-derivation.d.ts +155 -0
- package/dist/esm/_core/service-method/service-method-derivation.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method-derivation.js +410 -0
- package/dist/esm/_core/service-method/service-method-derivation.js.map +1 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.d.ts +86 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.js +28 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.js.map +1 -0
- package/dist/esm/_core/service-method/service-method-validation.d.ts +35 -0
- package/dist/esm/_core/service-method/service-method-validation.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method-validation.js +75 -0
- package/dist/esm/_core/service-method/service-method-validation.js.map +1 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.d.ts +3 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.js +59 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.js.map +1 -0
- package/dist/esm/_core/service-method/service-method.schemas.d.ts +385 -0
- package/dist/esm/_core/service-method/service-method.schemas.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method.schemas.js +372 -0
- package/dist/esm/_core/service-method/service-method.schemas.js.map +1 -0
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts +37 -5
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.js +34 -6
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts +29 -3
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-validation.js +97 -5
- package/dist/esm/_core/website-plan/website-plan-validation.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.family-aspects.js +6 -1
- package/dist/esm/_core/website-plan/website-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts +521 -15
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.schemas.js +703 -23
- package/dist/esm/_core/website-plan/website-plan.schemas.js.map +1 -1
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.d.ts +78 -0
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.d.ts.map +1 -0
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.js +92 -0
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.js.map +1 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +26 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js +14 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +21 -5
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +22 -4
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts +119 -10
- package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-line.application-creation.schemas.js +140 -7
- package/dist/esm/application-creation/application-line.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts +7 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts.map +1 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.js +7 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.js.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +4 -2
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.js +4 -2
- package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +103 -15
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js +151 -21
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts +1 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js +1 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation.exports.d.ts +7 -0
- package/dist/esm/application-creation.exports.d.ts.map +1 -1
- package/dist/esm/application-creation.exports.js +7 -0
- package/dist/esm/application-creation.exports.js.map +1 -1
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts +36 -2
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts.map +1 -1
- package/dist/esm/assurance/application-risk-signals.derivations.js +52 -4
- package/dist/esm/assurance/application-risk-signals.derivations.js.map +1 -1
- package/dist/esm/assurance/assurance-assessment-twins.d.ts +38 -0
- package/dist/esm/assurance/assurance-assessment-twins.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-assessment-twins.js +36 -0
- package/dist/esm/assurance/assurance-assessment-twins.js.map +1 -0
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +608 -9
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.js +2962 -1078
- package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +15 -0
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.js +1 -0
- package/dist/esm/assurance/assurance-authority-basis.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts +2 -0
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.js +138 -19
- package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts +65 -0
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.js +13 -0
- package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts +81 -6
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.js +68 -7
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +1631 -70
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-host-implementation-artifacts.d.ts +77 -0
- package/dist/esm/assurance/assurance-host-implementation-artifacts.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-host-implementation-artifacts.js +51 -0
- package/dist/esm/assurance/assurance-host-implementation-artifacts.js.map +1 -0
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +3 -2
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js +327 -3
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.d.ts +12 -0
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.js +19 -0
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.js.map +1 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.d.ts +403 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.js +825 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.js.map +1 -0
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +83 -8
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.js +167 -20
- package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.d.ts +234 -35
- package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.js +255 -14
- package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts +2 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.js +259 -18
- package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.d.ts +17 -0
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.js +216 -0
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.js.map +1 -0
- package/dist/esm/assurance/assurance-sources.schemas.d.ts +110 -0
- package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.js +111 -1
- package/dist/esm/assurance/assurance-sources.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +356 -5
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/governed-document-audience.derivations.d.ts +83 -0
- package/dist/esm/assurance/governed-document-audience.derivations.d.ts.map +1 -0
- package/dist/esm/assurance/governed-document-audience.derivations.js +97 -0
- package/dist/esm/assurance/governed-document-audience.derivations.js.map +1 -0
- package/dist/esm/assurance/governed-document-release.d.ts +15 -1
- package/dist/esm/assurance/governed-document-release.d.ts.map +1 -1
- package/dist/esm/assurance/governed-document-release.js +3 -1
- package/dist/esm/assurance/governed-document-release.js.map +1 -1
- package/dist/esm/assurance.exports.d.ts +4 -0
- package/dist/esm/assurance.exports.d.ts.map +1 -1
- package/dist/esm/assurance.exports.js +4 -0
- package/dist/esm/assurance.exports.js.map +1 -1
- package/dist/esm/companion-exports.d.ts +9 -1
- package/dist/esm/companion-exports.d.ts.map +1 -1
- package/dist/esm/companion-exports.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js +33 -5
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +9 -12
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +60 -6
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +4 -4
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts +1 -0
- package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.js +2 -2
- package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts +12 -4
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +46 -10
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts +3 -2
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js +15 -4
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts +1 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js +40 -11
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +44 -3
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +7 -3
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +40 -8
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts +14 -8
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js +72 -19
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts +2 -2
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +6 -6
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts +1 -0
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js +14 -13
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js +2 -2
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +68 -12
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +75 -19
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +3 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +11 -7
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts +2 -0
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +2 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts +4 -2
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js +8 -7
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js +6 -6
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts +2 -2
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts +4 -0
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.js +4 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +9 -5
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +16 -8
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.d.ts +73 -0
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.js +192 -0
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts +5 -3
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js +19 -13
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts +11 -6
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js +14 -3
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.d.ts +37 -0
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.js +161 -0
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js +1 -1
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.js +55 -11
- package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.js +300 -5
- package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
- package/dist/esm/engine/features/core-limits.feature.specifications.d.ts +10 -4
- package/dist/esm/engine/features/core-limits.feature.specifications.d.ts.map +1 -1
- package/dist/esm/engine/features/core-limits.feature.specifications.js +100 -5
- package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
- package/dist/esm/engine/features/custom-branding.feature.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/custom-branding.feature.specification.js +7 -3
- package/dist/esm/engine/features/custom-branding.feature.specification.js.map +1 -1
- package/dist/esm/engine/features/index.d.ts +4 -2
- package/dist/esm/engine/features/index.d.ts.map +1 -1
- package/dist/esm/engine/features/index.js +6 -4
- package/dist/esm/engine/features/index.js.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.js +2 -2
- package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js +34 -15
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.d.ts +4 -1
- package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.js +24 -3
- package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +31 -3
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +6 -6
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.d.ts +30 -0
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.js +181 -0
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.js +110 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.js +286 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.js +147 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js +71 -26
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.js +92 -0
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.d.ts +46 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.js +196 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +73 -31
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +118 -18
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js +9 -4
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.js +184 -0
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js +17 -5
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js +47 -7
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.js +118 -0
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.js +230 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.js +151 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.d.ts +23 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.js +124 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.js +114 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js +45 -3
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.js +6 -0
- package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.js +78 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +3 -2
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js +2 -1
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js +3 -2
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.js +7 -0
- package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js +6 -6
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.js +24 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.js +6 -6
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.js +128 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.js +139 -0
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.js +5 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/index.d.ts +7 -0
- package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/index.js +29 -0
- package/dist/esm/engine/frontend-components/index.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.js +3 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.js +27 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js +3 -1
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.d.ts +24 -0
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.js +136 -0
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js +6 -1
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.js +110 -0
- package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js +10 -4
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js +20 -2
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js +6 -6
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js +5 -5
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.d.ts +10 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.js +118 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js +54 -8
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +9 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js +33 -5
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +21 -4
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +3 -3
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.d.ts +10 -0
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.js +159 -0
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts +5 -5
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js +38 -10
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.js +100 -0
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.d.ts +37 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.js +181 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts +3 -3
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js +7 -7
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts +31 -1
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js +33 -7
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts +16 -14
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js +56 -53
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts +6 -2
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +22 -4
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts +2 -2
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts +2 -0
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +3 -3
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts +1 -0
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js +43 -2
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/index.d.ts +0 -1
- package/dist/esm/engine/notifications/system-emails/index.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/index.js +1 -3
- package/dist/esm/engine/notifications/system-emails/index.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts +1 -1
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.js +25 -15
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js +13 -13
- package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/index.d.ts +1 -2
- package/dist/esm/engine/organizations/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/index.js +1 -2
- package/dist/esm/engine/organizations/resources/index.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +5 -4
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js +114 -51
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts +11 -10
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +10 -7
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/{service-provider-relationships.resource.specification.d.ts → organization-relationships.resource.specification.d.ts} +73 -56
- package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.js +643 -0
- package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.js.map +1 -0
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts +1 -1
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js +6 -4
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +2 -2
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts +4 -4
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +93 -43
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.d.ts +39 -0
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.js +140 -0
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.js.map +1 -0
- package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/github.provider.specification.js +8 -5
- package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/google-drive.provider.specification.d.ts +6 -0
- package/dist/esm/engine/providers/google-drive.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/google-drive.provider.specification.js +39 -0
- package/dist/esm/engine/providers/google-drive.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/index.d.ts +2 -0
- package/dist/esm/engine/providers/index.d.ts.map +1 -1
- package/dist/esm/engine/providers/index.js +5 -1
- package/dist/esm/engine/providers/index.js.map +1 -1
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.d.ts +6 -0
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.js +39 -0
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/mistral.provider.specification.js +2 -2
- package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/resend.provider.specification.js +8 -6
- package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js +1 -1
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js.map +1 -1
- package/dist/esm/engine/roles/index.d.ts +2 -2
- package/dist/esm/engine/roles/index.d.ts.map +1 -1
- package/dist/esm/engine/roles/index.js +5 -5
- package/dist/esm/engine/roles/index.js.map +1 -1
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts +1 -1
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js +24 -24
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js.map +1 -1
- package/dist/esm/engine/roles/org-representative.role.specification.d.ts +2 -0
- package/dist/esm/engine/roles/org-representative.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/org-representative.role.specification.js +22 -0
- package/dist/esm/engine/roles/org-representative.role.specification.js.map +1 -0
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts +1 -0
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +7 -5
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts +3 -3
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +3 -3
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +3 -3
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +13 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts +1 -0
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js +2 -0
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +4 -0
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +3 -3
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +4 -0
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +6 -2
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts +1 -0
- package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.js +33 -0
- package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts +2 -1
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.js +10 -4
- package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +17 -15
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
- package/package.json +8 -8
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts +0 -6
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts.map +0 -1
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.js +0 -146
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.js.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts +0 -38
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js +0 -152
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.d.ts.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js +0 -417
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js.map +0 -1
- package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts +0 -2
- package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts.map +0 -1
- package/dist/esm/engine/roles/org-service-provider.role.specification.js +0 -22
- package/dist/esm/engine/roles/org-service-provider.role.specification.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization-provider-credentials.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/auth/resources/organization-provider-credentials.resource.specification.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,oCAAoC,EACpC,kCAAkC,EAClC,iCAAiC,EACjC,oBAAoB,EACpB,iEAAiE,GAClE,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAC5F,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAE3E,MAAM,qBAAqB,GAAG,wCAAwC,CAAC;AACvE,MAAM,yBAAyB,GAAG,gCAAgC,CAAC;AAEnE;;;;;;;GAOG;AACH,MAAM,yBAAyB,GAAG;IAChC,GAAG,EAAE,qBAAqB;IAC1B,cAAc,EAAE,yBAAyB;IACzC,WAAW,EAAE,OAAO;IACpB,aAAa,EAAE,OAAO;IACtB,UAAU,EAAE,aAAa;IACzB,WAAW,EAAE,UAAU;IACvB,OAAO,EAAE,IAAI;IACb,eAAe,EAAE,iCAAiC,CAAC,KAAK;IACxD,eAAe,EAAE,0BAA0B;IAC3C,UAAU,EAAE,0BAA0B;IACtC,WAAW,EAAE,0BAA0B;IACvC,WAAW,EAAE,iCAAiC;IAC9C,WAAW,EAAE,8CAA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A8K;YAC7L,cAAc,EAAE,6NAA6N;YAC7O,cAAc,EAAE,wJAAwJ;YACxK,WAAW,EAAE,gYAAgY;SAC9Y;QACD,UAAU,EAAE;YACV,OAAO,EAAE,qOAAqO;SAC/O;KACF;IACD,mBAAmB,EAAE;QACnB,+qBAA+qB;QAC/qB,iWAAiW;QACjW,mHAAmH;QACnH,yYAAyY;QACzY,+PAA+P;KAChQ;CACF,CAAC,EACF,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,aAAa,EAAE,CAC7D,CAAC","sourcesContent":["/**\n * Resource: `organizationProviderCredentials` — Wildo SaaS engine specification\n * (organization-scoped, backend-managed secret).\n *\n * Inputs:\n * - Schema: engine/saas-models/src/security/connected-accounts/provider-credentials.shared.schemas.ts\n * → `OrganizationProviderCredentialSchema`\n * - Factory: engine/saas-models/src/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.ts\n * → `orgProviderCredentialsResourceConfiguration_InitializationFactory`\n * - Custom operations: none\n * - UI presets: none yet — the admin surface is a later slice (#332). The API is complete without it.\n */\n\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n CoreResourceOperation as Op,\n OrganizationProviderCredentialSchema,\n ProviderCredentialSlotWriteRefusal,\n ProviderCredentialValidationState,\n ResourcePrimaryScope,\n orgProviderCredentialsResourceConfiguration_InitializationFactory,\n} from '@wildo-ai/saas-models';\nimport { HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\nconst CREDENTIAL_EXAMPLE_ID = 'orgprovcred_01J7K2M4N6P8Q0R2S4T6V8W0XY';\nconst CREDENTIAL_EXAMPLE_ORG_ID = 'org_01J4M1Z2X3C4V5B6N7M8Q9R0ST';\n\n/**\n * The record as a client sees it — with the value MASKED.\n *\n * That mask is not decoration in an example: `secretValue` is `.isWriteOnlySecret()`, so the\n * framework redacts it at the client boundary on every read. Showing a plausible token here would\n * teach an integrator that a credential can be read back, which is the one thing this resource\n * guarantees it cannot.\n */\nconst CREDENTIAL_RECORD_EXAMPLE = {\n _id: CREDENTIAL_EXAMPLE_ID,\n organizationId: CREDENTIAL_EXAMPLE_ORG_ID,\n providerRef: 'slack',\n connectionRef: 'slack',\n secretSlug: 'accessToken',\n secretValue: '••••••••',\n enabled: true,\n validationState: ProviderCredentialValidationState.VALID,\n lastValidatedAt: '2026-09-02T11:14:00.000Z',\n lastUsedAt: '2026-09-02T11:14:00.000Z',\n secretSetAt: '2026-08-30T09:00:00.000Z',\n setByUserId: 'user_01J4M1Z2X3C4V5B6N7M8Q9R0ST',\n description: 'Bot token for the #orders workspace channel.',\n createdAt: '2026-08-30T09:00:00.000Z',\n updatedAt: '2026-09-02T11:14:00.000Z',\n} as const;\n\nconst CREDENTIAL_PAGE_EXAMPLE = {\n data: [CREDENTIAL_RECORD_EXAMPLE],\n pagination: { page: 1, limit: 20, total: 1, totalPages: 1 },\n} as const;\n\nexport const organizationProviderCredentialsResourceSpecification = resourceSpecification(\n orgProviderCredentialsResourceConfiguration_InitializationFactory,\n OrganizationProviderCredentialSchema,\n ({ schemaShape }) => ({\n purpose:\n \"One organization's OWN credential toward a third-party provider — its Slack workspace token, its CRM API key, its SMTP password.\",\n businessRole:\n 'The record that lets one application serve many organizations while each acts as ITSELF toward a third party. Without it every tenant shares the deployment\\'s single environment secret and therefore acts as the same third-party principal.',\n lifecycleRole:\n 'Created by an organization administrator when the tenant connects a provider, rotated in place when the vendor credential changes, disabled to park an integration during an incident, and removed when the tenant disconnects the provider or the organization itself is purged.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.AUTH,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrganizationProviderCredentialSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'orgProviderCredentialsResourceConfiguration_InitializationFactory',\n symbolKind: CodeSymbolKind.FACTORY,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resourceType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'ORG_PROVIDER_CREDENTIALS',\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 },\n notes: [\n 'The stored value is SEALED, never the plaintext an administrator typed: an AES-256-GCM envelope whose key is derived from the application\\'s own `secrets.security.session.encryptionKey` with a subsystem-specific domain separator. The seal is applied by the CREATE/UPDATE custom implementation, and its associated data binds the envelope to (organizationId, connectionRef, secretSlug), which is the key of the row (#1670) — so a ciphertext copied into another tenant\\'s row fails to open rather than silently working.',\n 'Every write door is ORG_ADMIN, and there is deliberately NO super-administrator variant. An operator who could list, rotate or spend a tenant\\'s credential could act as that tenant toward the vendor, and no later audit event makes that reversible. A tenant that has lost every administrator is repaired through `organizationMembers.grantOwnership` — restore an administrator, and the tenant repairs its own credentials.',\n 'Resolution order is the organization\\'s own credential, then the deployment\\'s env-projected SecretsContract, then a REFUSAL naming both places. A provider is never handed an empty credential.',\n 'A row appears in TWO ways, and only one of them is an HTTP write. A credential an administrator PASTES arrives through the organization\\'s 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, where the administrator authorizes on the vendor\\'s consent screen and the application records the grant — nobody types the token. The second path is why this resource permits a system-tier create.',\n 'Set, rotate, use and delete are audited as `ORGANIZATION_PROVIDER_CREDENTIAL_*`, annotated `WILDO.IDENTITY.DELEGATED_AUTHORIZATION`. None of the four payload schemas has a field the value could occupy.',\n ],\n },\n\n fields: {\n _id: schemaShape._id.stringSpec({\n meaning: 'Identifier for one stored credential.',\n whyItMatters: 'The address for a rotation or a revocation, and the id every audit event carries.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n organizationId: schemaShape.organizationId.foreignKeySpec({\n meaning: 'The tenant that owns this credential.',\n whyItMatters:\n 'The isolation axis. It is injected by the framework from the request scope rather than read from the payload, it scopes every read, and it is bound into the encryption envelope — so a credential cannot be read, spent or moved outside the organization that set it.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n providerRef: schemaShape.providerRef.stringSpec({\n meaning: 'The provider this credential authenticates toward — `slack`, `stripe`, a generated provider package\\'s ref.',\n whyItMatters: 'What an audit reader uses to see which third parties an organization has granted the application authority toward, and which ref\\'s connect flow or write CREATED the row. It is no longer part of the key (#1670): `connectionRef` is.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n connectionRef: schemaShape.connectionRef.stringSpec({\n meaning: 'The connection this credential belongs to — the grant a set of provider refs of one vendor spends. Derived by the server from `providerRef`, never supplied by a client, and equal to it for every ref an application has not declared as part of a shared connection.',\n whyItMatters:\n 'Half of the credential\\'s identity within its tenant, and what the sealed value is bound to. Every ref of one connection resolves this one row, so a tenant authorizes a vendor once rather than once per ref. It cannot change: a row stored under one connection is replaced by reconnecting, never moved (#1670).',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n secretSlug: schemaShape.secretSlug.stringSpec({\n meaning: \"The provider's `secretsContract` KEY this value satisfies (`accessToken`) — not the slot's environment-variable spelling, which the deployment's environment projection names and a provider regeneration may rename.\",\n whyItMatters:\n 'Keyed on the stable name so a regenerated provider cannot orphan the row. A provider declaring several secrets (an API key and a signing secret) gets one row per key. A row stored under a name the provider no longer declares cannot be renamed — the sealed value binds it — so it is replaced by reconnecting.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n secretValue: schemaShape.secretValue.stringSpec({\n meaning: 'The credential itself. Supplied in plaintext on write, stored SEALED, and never returned — a read renders a fixed mask.',\n whyItMatters:\n 'Echoing the mask back on an update means \"keep the stored secret\", which is how an administrator edits a description without retyping the credential. Sending a real value replaces it and is recorded as a rotation.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n enabled: schemaShape.enabled.booleanSpec({\n meaning: 'Whether this credential may be spent.',\n whyItMatters:\n 'Disabling parks an integration without destroying the credential — the reversible move during an incident. A disabled credential resolves as ABSENT, so the application falls back to the deployment environment exactly as it would for a tenant that never set one.',\n }),\n validationState: schemaShape.validationState.enumSpec({\n meaning: 'Whether the provider has accepted this credential on its last use.',\n whyItMatters:\n 'Separates \"never tried\" from \"tried and rejected\", which a boolean would merge into the same falsy answer. `INVALID` is the operator\\'s signal to rotate.',\n values: {\n [ProviderCredentialValidationState.UNVALIDATED]: {\n meaning: 'Stored, never exercised against the provider. Every credential starts here — storing one proves only that somebody typed it.',\n },\n [ProviderCredentialValidationState.VALID]: {\n meaning: 'The provider accepted it on its last use.',\n },\n [ProviderCredentialValidationState.INVALID]: {\n meaning: 'The provider rejected it on its last use; the integration is down until it is rotated.',\n },\n },\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'ProviderCredentialValidationState',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n }),\n validationError: schemaShape.validationError.stringSpec({\n meaning: \"The provider's own message about why the last use failed.\",\n whyItMatters:\n 'Turns \"the integration stopped working\" into a vendor-attributed reason. Server-owned: it describes the credential\\'s status and is never derived from the credential.',\n }),\n lastValidatedAt: schemaShape.lastValidatedAt.dateSpec({\n meaning: 'When the provider last accepted or rejected this credential.',\n whyItMatters: 'How current the validation state is — a `VALID` from three months ago says less than one from this morning.',\n temporalRole: 'modified',\n }),\n lastUsedAt: schemaShape.lastUsedAt.dateSpec({\n meaning: 'When this credential was last resolved for an outbound call.',\n whyItMatters: 'Identifies credentials nothing spends any more — the ones safest to revoke and riskiest to leave live.',\n temporalRole: 'modified',\n }),\n setByUserId: schemaShape.setByUserId.stringSpec({\n meaning: 'The administrator who last supplied the value.',\n whyItMatters:\n 'The first question of any credential incident. Deliberately NOT a registered USERS relationship: that edge would place a live credential on the subject-export graph, and would let a departing administrator\\'s erasure destroy the tenant\\'s integration.',\n semanticRole: 'identifier',\n }),\n secretSetAt: schemaShape.secretSetAt.dateSpec({\n meaning: 'When the stored VALUE last changed.',\n whyItMatters: 'Distinct from `updatedAt`, which any field write moves. This is the one that answers \"was this rotated after the incident?\".',\n temporalRole: 'modified',\n }),\n connectionFacts: schemaShape.connectionFacts.objectSpec({\n meaning: 'Facts about the connected account, keyed by name: values entered when connecting, such as a tenant or region, and values the vendor reported, such as the account\\'s API address. Calls to the provider are built from them. Not secret, and never written by a client.',\n }),\n description: schemaShape.description.stringSpec({\n meaning: 'An operator note — which workspace, which account, which environment this credential belongs to.',\n whyItMatters: 'A tenant may hold several credentials for one provider across slugs; the note is what tells them apart in a list.',\n }),\n createdAt: schemaShape.createdAt.dateSpec({\n meaning: 'When the credential was first stored.',\n whyItMatters: 'When this tenant first granted the application authority toward this provider.',\n temporalRole: 'creation',\n }),\n updatedAt: schemaShape.updatedAt.dateSpec({\n meaning: 'When any field last changed.',\n whyItMatters: 'Ordering for the credential list.',\n temporalRole: 'modified',\n }),\n },\n\n operations: {\n [Op.READ]: {\n purpose: \"Inspect one of the organization's stored provider credentials.\",\n outcome: 'The administrator sees which provider and slug the credential covers, whether it is enabled, and whether the provider last accepted it — with the value masked.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The credential was found in the caller\\'s organization scope and returned with `secretValue` masked.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an administrator of the organization.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: \"No credential with that id is visible in the caller's organization scope. A credential belonging to a DIFFERENT organization is indistinguishable from one that does not exist — the tenant boundary never confirms the existence of another tenant's row.\" },\n ],\n idempotent: true,\n examples: [{\n title: 'Inspect the Slack bot-token credential',\n request: { orgProviderCredentialId: CREDENTIAL_EXAMPLE_ID },\n response: CREDENTIAL_RECORD_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.LIST]: {\n purpose: \"List the organization's provider credentials — which third parties this tenant has connected.\",\n outcome: 'The administrator sees every provider the organization has credentials for and the health of each.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: \"A (possibly empty) page of the caller's own organization's credentials, values masked.\" },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an administrator of the organization.' },\n ],\n idempotent: true,\n examples: [{\n title: 'List the connected providers',\n request: { page: 1, limit: 20, sort: 'createdAt:desc' },\n response: CREDENTIAL_PAGE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.CREATE]: {\n purpose: 'Store the organization\\'s own credential for a provider, so the application acts as THIS tenant toward that third party.',\n outcome: \"Every subsequent outbound call this application makes to that provider on the organization's behalf uses the organization's own credential instead of the deployment's shared one.\",\n whenToUse: 'When a tenant connects a provider with a credential they obtained themselves — a Slack app installed in their workspace, an API key minted in their CRM account.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'The credential was sealed and stored. The response masks the value; it is never readable again.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The payload fails validation, or `secretValue` is empty.' },\n { 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 (`accessToken`) or its environment-variable spelling; it is stored as the key.\", errorCode: ProviderCredentialSlotWriteRefusal.SECRET_SLUG_NOT_DECLARED },\n { 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 },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an administrator of the organization.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The organization already holds a credential for this provider and slug — rotate that one instead of creating a second.' },\n ],\n idempotent: false,\n examples: [{\n title: 'Connect the tenant\\'s own Slack workspace',\n request: {\n providerRef: 'slack',\n secretSlug: 'accessToken',\n secretValue: 'xoxb-the-tenants-own-bot-token',\n description: 'Bot token for the #orders workspace channel.',\n },\n response: CREDENTIAL_RECORD_EXAMPLE,\n forStatus: HttpResponseStatusCode.CREATED_201,\n }],\n },\n [Op.UPDATE]: {\n purpose: 'Rotate the stored credential, or edit its description and enabled flag.',\n outcome: 'A new value replaces the old one immediately — there is no overlap window, because the vendor is the authority on which credential is live and only one of them is.',\n whenToUse: 'After rotating the credential at the vendor, or to park an integration by clearing `enabled`.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The credential was updated. A payload carrying a new `secretValue` re-seals it and is recorded as a rotation; one echoing the mask leaves the stored secret untouched.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The payload fails validation.' },\n { 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 },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The payload names a different `providerRef`, `connectionRef` or `secretSlug`. A stored credential cannot move: its sealed value is bound to its connection and slot, and `providerRef` records which ref created it.', errorCode: ProviderCredentialSlotWriteRefusal.CREDENTIAL_SLOT_IMMUTABLE },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an administrator of the organization.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: \"No credential with that id is visible in the caller's organization scope.\" },\n ],\n idempotent: true,\n examples: [{\n title: 'Rotate the bot token after a vendor-side reissue',\n request: { orgProviderCredentialId: CREDENTIAL_EXAMPLE_ID, secretValue: 'xoxb-the-newly-issued-bot-token' },\n response: CREDENTIAL_RECORD_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.DELETE]: {\n purpose: 'Revoke the organization\\'s credential for a provider.',\n outcome:\n \"The application stops acting as this tenant toward that provider. Whether the integration keeps working depends on the deployment: if the operator has set the environment secret, calls fall back to the shared principal; if not, they are refused by name.\",\n whenToUse: 'When the tenant disconnects the provider, or when a credential is believed compromised and rotation is not enough.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.NO_CONTENT_204, meaning: 'The credential was removed. No body.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an administrator of the organization.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: \"No credential with that id is visible in the caller's organization scope, including one already removed.\" },\n ],\n idempotent: true,\n examples: [{\n title: 'Disconnect the Slack workspace',\n request: { orgProviderCredentialId: CREDENTIAL_EXAMPLE_ID },\n forStatus: HttpResponseStatusCode.NO_CONTENT_204,\n }],\n },\n [Op.UPDATE_MANY]: {\n purpose: 'Route-less retention plumbing.',\n outcome:\n 'Nothing is scrubbed in practice: this resource declares `RETAIN_ONLY`, a positive assertion that it holds no personal data of its own. 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.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The matching records were processed. INTERNAL_CALL — it registers no HTTP route.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The filter fails validation.' },\n ],\n },\n },\n\n frontend: {\n layout: {\n purpose: 'No sections: a stored credential is a handful of facts that no heading would group better than the rows do, so the templates are flat rows under a header and the preset declares no `layout.refs`.',\n headerPurpose: 'The READ identity line: `providerRef · secretSlug` as the title and the `validationState` badge beside it. Neither the provider, the slot nor the state repeats in the body.',\n displayPurpose: 'Settings rows: whether the credential is enabled, then its description, last validation error, validation, use and secret-set dates, who set it and any connection facts — each hidden while empty — and its creation date.',\n summaryPurpose: 'A list card: the `providerRef · secretSlug` title, the `validationState` badge, and \"Enabled\" / \"Disabled\" as a word rather than a labelled checkmark.',\n editPurpose: 'The form reached from a credential\\'s Edit action: the new secret (focused), whether it is enabled, a description. `validationState` is not offered: it is the store\\'s verdict on the last use, excluded from create and update (#1809), and shows as the header badge. Provider and slot are the credential\\'s identity and are offered only on the API\\'s CREATE, which these screens hide.',\n },\n emptyState: {\n purpose: 'Say that nothing is connected yet and that connecting happens on the Connect tab beside this list — the list offers no Create of its own (#1040), so without this line the empty state is the page title again with no way forward.',\n },\n },\n businessConstraints: [\n 'The uniqueness grain is `(organizationId, connectionRef, secretSlug)` — the CONNECTION, not the provider ref (#1670): several refs of one vendor may share one connection and must then spend one stored grant rather than one per ref. Every ref is its own connection until the application declares otherwise, so today `connectionRef` equals `providerRef` on every row. It is enforced by a compound unique index rather than a read-then-write. Two administrators saving a rotation in the same minute would otherwise leave two rows, and the resolver would pick between them arbitrarily — so half the tenant\\'s outbound calls would carry the retired credential with nothing to say which half.',\n 'A credential is resolved BEFORE the deployment environment and never after it. A tenant that has set its own credential must never fall back to the shared deployment secret: an unopenable or tampered credential is REFUSED rather than substituted, because silently acting as the wrong third-party principal is the defect this resource exists to remove.',\n 'A disabled credential resolves as absent, not as an error — disabling parks an integration, it does not break it.',\n 'Credentials do not outlive their tenant: the ORGANIZATIONS composition cascade removes them when an organization is purged, through both the retention-window batch door and the super-administrator immediate-purge door. `request_deletion` only MARKS the tenant, so credentials survive the retention window deliberately — otherwise `restore` would return a tenant with no working integrations.',\n 'A subject erasure never reaches this resource. `setByUserId` names an ACTOR rather than a data subject, and no USERS relationship is registered for it — which also keeps a live credential off the subject-export graph, where `exportSubject` is FORBIDDEN.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n);\n"]}
|
|
1
|
+
{"version":3,"file":"organization-provider-credentials.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/auth/resources/organization-provider-credentials.resource.specification.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,yCAAyC,EACzC,oCAAoC,EACpC,kCAAkC,EAClC,iCAAiC,EACjC,oBAAoB,EACpB,iEAAiE,GAClE,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAC5F,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAE3E,MAAM,qBAAqB,GAAG,wCAAwC,CAAC;AACvE,MAAM,yBAAyB,GAAG,gCAAgC,CAAC;AAEnE;;;;;;;GAOG;AACH,MAAM,yBAAyB,GAAG;IAChC,GAAG,EAAE,qBAAqB;IAC1B,cAAc,EAAE,yBAAyB;IACzC,WAAW,EAAE,OAAO;IACpB,aAAa,EAAE,OAAO;IACtB,UAAU,EAAE,aAAa;IACzB,WAAW,EAAE,UAAU;IACvB,OAAO,EAAE,IAAI;IACb,eAAe,EAAE,iCAAiC,CAA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I,EAAE,8BAA8B,EAAE;aACvF;SACF;KACF;IAED,QAAQ,EAAE;QACR,MAAM,EAAE;YACN,OAAO,EAAE,qMAAqM;YAC9M,aAAa,EAAE,6LAA6L;YAC5M,cAAc,EAAE,6NAA6N;YAC7O,cAAc,EAAE,wJAAwJ;YACxK,WAAW,EAAE,gYAAgY;SAC9Y;QACD,UAAU,EAAE;YACV,OAAO,EAAE,wRAAwR;SAClS;KACF;IACD,mBAAmB,EAAE;QACnB,+qBAA+qB;QAC/qB,iWAAiW;QACjW,mHAAmH;QACnH,yYAAyY;QACzY,+PAA+P;KAChQ;CACF,CAAC,EACF,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,aAAa,EAAE,CAC7D,CAAC","sourcesContent":["/**\n * Resource: `organizationProviderCredentials` — Wildo SaaS engine specification\n * (organization-scoped, backend-managed secret).\n *\n * Inputs:\n * - Schema: engine/saas-models/src/security/connected-accounts/provider-credentials.shared.schemas.ts\n * → `OrganizationProviderCredentialSchema`\n * - Factory: engine/saas-models/src/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.ts\n * → `orgProviderCredentialsResourceConfiguration_InitializationFactory`\n * - Custom operations: none\n * - UI presets: `engine/presets-components/src/config/resources/security.resource-presets.tsx`\n * → `ORG_PROVIDER_CREDENTIALS`. Not placed in the Settings Hub since #2319: the `provider-credentials` destination\n * opens the organization's connected-accounts panel, whose one list shows these rows by connection and acts on them\n * through this resource's own UPDATE and DELETE.\n */\n\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n CoreResourceOperation as Op,\n OrganizationProviderCredential_Operations,\n OrganizationProviderCredentialSchema,\n ProviderCredentialSlotWriteRefusal,\n ProviderCredentialValidationState,\n ResourcePrimaryScope,\n orgProviderCredentialsResourceConfiguration_InitializationFactory,\n} from '@wildo-ai/saas-models';\nimport { HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\nconst CREDENTIAL_EXAMPLE_ID = 'orgprovcred_01J7K2M4N6P8Q0R2S4T6V8W0XY';\nconst CREDENTIAL_EXAMPLE_ORG_ID = 'org_01J4M1Z2X3C4V5B6N7M8Q9R0ST';\n\n/**\n * The record as a client sees it — with the value MASKED.\n *\n * That mask is not decoration in an example: `secretValue` is `.isWriteOnlySecret()`, so the\n * framework redacts it at the client boundary on every read. Showing a plausible token here would\n * teach an integrator that a credential can be read back, which is the one thing this resource\n * guarantees it cannot.\n */\nconst CREDENTIAL_RECORD_EXAMPLE = {\n _id: CREDENTIAL_EXAMPLE_ID,\n organizationId: CREDENTIAL_EXAMPLE_ORG_ID,\n providerRef: 'slack',\n connectionRef: 'slack',\n secretSlug: 'accessToken',\n secretValue: '••••••••',\n enabled: true,\n validationState: ProviderCredentialValidationState.VALID,\n lastValidatedAt: '2026-09-02T11:14:00.000Z',\n lastUsedAt: '2026-09-02T11:14:00.000Z',\n secretSetAt: '2026-08-30T09:00:00.000Z',\n setByUserId: 'user_01J4M1Z2X3C4V5B6N7M8Q9R0ST',\n description: 'Bot token for the #orders workspace channel.',\n createdAt: '2026-08-30T09:00:00.000Z',\n updatedAt: '2026-09-02T11:14:00.000Z',\n} as const;\n\nconst CREDENTIAL_PAGE_EXAMPLE = {\n data: [CREDENTIAL_RECORD_EXAMPLE],\n pagination: { page: 1, limit: 20, total: 1, totalPages: 1 },\n} as const;\n\nexport const organizationProviderCredentialsResourceSpecification = resourceSpecification(\n orgProviderCredentialsResourceConfiguration_InitializationFactory,\n OrganizationProviderCredentialSchema,\n ({ schemaShape }) => ({\n purpose:\n \"One organization's OWN credential toward a third-party provider — its Slack workspace token, its CRM API key, its SMTP password.\",\n businessRole:\n 'The record that lets one application serve many organizations while each acts as ITSELF toward a third party. Without it every tenant shares the deployment\\'s single environment secret and therefore acts as the same third-party principal.',\n lifecycleRole:\n 'Created by an organization administrator when the tenant connects a provider, rotated in place when the vendor credential changes, disabled to park an integration during an incident, and removed when the tenant disconnects the provider or the organization itself is purged.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.AUTH,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'OrganizationProviderCredentialSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'orgProviderCredentialsResourceConfiguration_InitializationFactory',\n symbolKind: CodeSymbolKind.FACTORY,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resourceType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'ORG_PROVIDER_CREDENTIALS',\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: 'OrganizationProviderCredential_Operations',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n notes: [\n 'The stored value is SEALED, never the plaintext an administrator typed: an AES-256-GCM envelope under one of the application\\'s data keys, which the platform custodian wraps and the application holds only in memory, with a subsystem-specific key domain in the associated data (envelope v2, #2894; a value sealed before then is a v1 envelope keyed from `secrets.security.session.encryptionKey`, and still opens). The seal is applied by the CREATE/UPDATE custom implementation, and its associated data binds the envelope to (organizationId, connectionRef, secretSlug), which is the key of the row (#1670) — so a ciphertext copied into another tenant\\'s row fails to open rather than silently working.',\n 'Every write door is ORG_ADMIN, and there is deliberately NO super-administrator variant. An operator who could list, rotate or spend a tenant\\'s credential could act as that tenant toward the vendor, and no later audit event makes that reversible. A tenant that has lost every administrator is repaired through `organizationMembers.grantOwnership` — restore an administrator, and the tenant repairs its own credentials.',\n 'One exception passes that reversibility test: RELEASE_ROUTING (#2715). A platform super-administrator, through the declared cross-tenant door and a usable two-person application-wide access grant signed for overruling THIS organization (purpose `tenant_overrule`; never the holding organization\\'s own grant, since it is the party overruled, and never a grant approved for reads), turns OFF one connection that holds a vendor account routing inbound deliveries (a Slack workspace, a Teams bot\\'s App ID, a Microsoft 365 tenant). It writes `enabled: false` and nothing else (no secret read, nothing rotated or revoked), and the holder turns it back on with UPDATE, which the one-organization-per-account rule then judges.',\n 'Resolution order is the organization\\'s own credential, then the deployment\\'s env-projected SecretsContract, then a REFUSAL naming both places. A provider is never handed an empty credential.',\n 'A row appears in TWO ways, and only one of them is an HTTP write. A credential an administrator PASTES arrives through the organization\\'s 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, where the administrator authorizes on the vendor\\'s consent screen and the application records the grant — nobody types the token. The second path is why this resource permits a system-tier create.',\n 'Set, rotate, use and delete are audited as `ORGANIZATION_PROVIDER_CREDENTIAL_*`, annotated `WILDO.IDENTITY.DELEGATED_AUTHORIZATION`. None of the four payload schemas has a field the value could occupy.',\n ],\n },\n\n fields: {\n _id: schemaShape._id.stringSpec({\n meaning: 'Identifier for one stored credential.',\n whyItMatters: 'The address for a rotation or a revocation, and the id every audit event carries.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n organizationId: schemaShape.organizationId.foreignKeySpec({\n meaning: 'The tenant that owns this credential.',\n whyItMatters:\n 'The isolation axis. It is injected by the framework from the request scope rather than read from the payload, it scopes every read, and it is bound into the encryption envelope — so a credential cannot be read, spent or moved outside the organization that set it.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n providerRef: schemaShape.providerRef.stringSpec({\n meaning: 'The provider this credential authenticates toward — `slack`, `stripe`, a generated provider package\\'s ref.',\n whyItMatters: 'What an audit reader uses to see which third parties an organization has granted the application authority toward, and which ref\\'s connect flow or write CREATED the row. It is no longer part of the key (#1670): `connectionRef` is.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n connectionRef: schemaShape.connectionRef.stringSpec({\n meaning: 'The connection this credential belongs to — the grant a set of provider refs of one vendor spends. Derived by the server from `providerRef`, never supplied by a client, and equal to it for every ref an application has not declared as part of a shared connection.',\n whyItMatters:\n 'Half of the credential\\'s identity within its tenant, and what the sealed value is bound to. Every ref of one connection resolves this one row, so a tenant authorizes a vendor once rather than once per ref. It cannot change: a row stored under one connection is replaced by reconnecting, never moved (#1670).',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n secretSlug: schemaShape.secretSlug.stringSpec({\n meaning: \"The provider's `secretsContract` KEY this value satisfies (`accessToken`) — not the slot's environment-variable spelling, which the deployment's environment projection names and a provider regeneration may rename.\",\n whyItMatters:\n 'Keyed on the stable name so a regenerated provider cannot orphan the row. A provider declaring several secrets (an API key and a signing secret) gets one row per key. A row stored under a name the provider no longer declares cannot be renamed — the sealed value binds it — so it is replaced by reconnecting.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n secretValue: schemaShape.secretValue.stringSpec({\n meaning: 'The credential itself. Supplied in plaintext on write, stored SEALED, and never returned — a read renders a fixed mask.',\n whyItMatters:\n 'Echoing the mask back on an update means \"keep the stored secret\", which is how an administrator edits a description without retyping the credential. Sending a real value replaces it and is recorded as a rotation.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n enabled: schemaShape.enabled.booleanSpec({\n meaning: 'Whether this credential may be spent.',\n whyItMatters:\n 'Disabling parks an integration without destroying the credential — the reversible move during an incident. A disabled credential resolves as ABSENT, so the application falls back to the deployment environment exactly as it would for a tenant that never set one.',\n }),\n validationState: schemaShape.validationState.enumSpec({\n meaning: 'Whether the provider has accepted this credential on its last use.',\n whyItMatters:\n 'Separates \"never tried\" from \"tried and rejected\", which a boolean would merge into the same falsy answer. `INVALID` is the operator\\'s signal to rotate.',\n values: {\n [ProviderCredentialValidationState.UNVALIDATED]: {\n meaning: 'Stored, never exercised against the provider. Every credential starts here — storing one proves only that somebody typed it.',\n },\n [ProviderCredentialValidationState.VALID]: {\n meaning: 'The provider accepted it on its last use.',\n },\n [ProviderCredentialValidationState.INVALID]: {\n meaning: 'The provider rejected it on its last use; the integration is down until it is rotated.',\n },\n },\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'ProviderCredentialValidationState',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n }),\n validationError: schemaShape.validationError.stringSpec({\n meaning: \"The provider's own message about why the last use failed.\",\n whyItMatters:\n 'Turns \"the integration stopped working\" into a vendor-attributed reason. Server-owned: it describes the credential\\'s status and is never derived from the credential.',\n }),\n lastValidatedAt: schemaShape.lastValidatedAt.dateSpec({\n meaning: 'When the provider last accepted or rejected this credential.',\n whyItMatters: 'How current the validation state is — a `VALID` from three months ago says less than one from this morning.',\n temporalRole: 'modified',\n }),\n lastUsedAt: schemaShape.lastUsedAt.dateSpec({\n meaning: 'When this credential was last resolved for an outbound call.',\n whyItMatters: 'Identifies credentials nothing spends any more — the ones safest to revoke and riskiest to leave live.',\n temporalRole: 'modified',\n }),\n setByName: schemaShape.setByName.stringSpec({ meaning: 'The person who set the credential, by name. Resolved at read time from the person\\'s profile, and absent when they have none (`forwardedUserName`; never their email); never stored, so the row keeps only the id (#1852).', whyItMatters: 'A virtual field is no relationship, so naming them puts nothing on the subject-export graph this row is kept off.' }),\n setByUserId: schemaShape.setByUserId.stringSpec({\n meaning: 'The administrator who last supplied the value.',\n whyItMatters:\n 'The first question of any credential incident. Deliberately NOT a registered USERS relationship: that edge would place a live credential on the subject-export graph, and would let a departing administrator\\'s erasure destroy the tenant\\'s integration.',\n semanticRole: 'identifier',\n }),\n secretSetAt: schemaShape.secretSetAt.dateSpec({\n meaning: 'When the stored VALUE last changed.',\n whyItMatters: 'Distinct from `updatedAt`, which any field write moves. This is the one that answers \"was this rotated after the incident?\".',\n temporalRole: 'modified',\n }),\n connectionFacts: schemaShape.connectionFacts.objectSpec({\n meaning: 'Facts about the connected account, keyed by name, each marked with how it was obtained: values entered when connecting, such as a tenant or region; values the vendor reported, such as the account\\'s API address or a Slack workspace; and values entered and then accepted by the vendor when it validated the credential, such as a Teams bot\\'s App ID. Calls to the provider are built from them, and a fact the vendor reported or accepted can route its inbound messages to this connection\\'s owner. Not secret, and never written by a client.',\n whyItMatters: 'A fact that routes inbound messages belongs to one owner, so a second organization connecting the same vendor account is refused; and a value somebody merely typed never routes anything.',\n }),\n description: schemaShape.description.stringSpec({\n meaning: 'An operator note — which workspace, which account, which environment this credential belongs to.',\n whyItMatters: 'A tenant may hold several credentials for one provider across slugs; the note is what tells them apart in a list.',\n }),\n createdAt: schemaShape.createdAt.dateSpec({\n meaning: 'When the credential was first stored.',\n whyItMatters: 'When this tenant first granted the application authority toward this provider.',\n temporalRole: 'creation',\n }),\n updatedAt: schemaShape.updatedAt.dateSpec({\n meaning: 'When any field last changed.',\n whyItMatters: 'Ordering for the credential list.',\n temporalRole: 'modified',\n }),\n },\n\n operations: {\n [Op.READ]: {\n purpose: \"Inspect one of the organization's stored provider credentials.\",\n outcome: 'The administrator sees which provider and slug the credential covers, whether it is enabled, and whether the provider last accepted it — with the value masked.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The credential was found in the caller\\'s organization scope and returned with `secretValue` masked.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an administrator of the organization.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: \"No credential with that id is visible in the caller's organization scope. A credential belonging to a DIFFERENT organization is indistinguishable from one that does not exist — the tenant boundary never confirms the existence of another tenant's row.\" },\n ],\n idempotent: true,\n examples: [{\n title: 'Inspect the Slack bot-token credential',\n request: { orgProviderCredentialId: CREDENTIAL_EXAMPLE_ID },\n response: CREDENTIAL_RECORD_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.LIST]: {\n purpose: \"List the organization's provider credentials — which third parties this tenant has connected.\",\n outcome: 'The administrator sees every provider the organization has credentials for and the health of each.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: \"A (possibly empty) page of the caller's own organization's credentials, values masked.\" },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an administrator of the organization.' },\n ],\n idempotent: true,\n examples: [{\n title: 'List the connected providers',\n request: { page: 1, limit: 20, sort: 'createdAt:desc' },\n response: CREDENTIAL_PAGE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.CREATE]: {\n purpose: 'Store the organization\\'s own credential for a provider, so the application acts as THIS tenant toward that third party.',\n outcome: \"Every subsequent outbound call this application makes to that provider on the organization's behalf uses the organization's own credential instead of the deployment's shared one.\",\n whenToUse: 'When a tenant connects a provider with a credential they obtained themselves — a Slack app installed in their workspace, an API key minted in their CRM account.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'The credential was sealed and stored. The response masks the value; it is never readable again.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The payload fails validation, or `secretValue` is empty.' },\n { 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 (`accessToken`) or its environment-variable spelling; it is stored as the key.\", errorCode: ProviderCredentialSlotWriteRefusal.SECRET_SLUG_NOT_DECLARED },\n { 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 },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an administrator of the organization.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The organization already holds a credential for this provider and slug — rotate that one instead of creating a second.' },\n ],\n idempotent: false,\n examples: [{\n title: 'Connect the tenant\\'s own Slack workspace',\n request: {\n providerRef: 'slack',\n secretSlug: 'accessToken',\n secretValue: 'xoxb-the-tenants-own-bot-token',\n description: 'Bot token for the #orders workspace channel.',\n },\n response: CREDENTIAL_RECORD_EXAMPLE,\n forStatus: HttpResponseStatusCode.CREATED_201,\n }],\n },\n [Op.UPDATE]: {\n purpose: 'Rotate the stored credential, or edit its description and enabled flag.',\n outcome: 'A new value replaces the old one immediately — there is no overlap window, because the vendor is the authority on which credential is live and only one of them is.',\n whenToUse: 'After rotating the credential at the vendor, or to park an integration by clearing `enabled`.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The credential was updated. A payload carrying a new `secretValue` re-seals it and is recorded as a rotation; one echoing the mask leaves the stored secret untouched.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The payload fails validation.' },\n { 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 },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The payload names a different `providerRef`, `connectionRef` or `secretSlug`. A stored credential cannot move: its sealed value is bound to its connection and slot, and `providerRef` records which ref created it.', errorCode: ProviderCredentialSlotWriteRefusal.CREDENTIAL_SLOT_IMMUTABLE },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an administrator of the organization.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: \"No credential with that id is visible in the caller's organization scope.\" },\n ],\n idempotent: true,\n examples: [{\n title: 'Rotate the bot token after a vendor-side reissue',\n request: { orgProviderCredentialId: CREDENTIAL_EXAMPLE_ID, secretValue: 'xoxb-the-newly-issued-bot-token' },\n response: CREDENTIAL_RECORD_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.DELETE]: {\n purpose: 'Revoke the organization\\'s credential for a provider.',\n outcome:\n \"The application stops acting as this tenant toward that provider. Whether the integration keeps working depends on the deployment: if the operator has set the environment secret, calls fall back to the shared principal; if not, they are refused by name.\",\n whenToUse: 'When the tenant disconnects the provider, or when a credential is believed compromised and rotation is not enough.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The credential was removed. The body carries its `id`.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an administrator of the organization.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: \"No credential with that id is visible in the caller's organization scope, including one already removed.\" },\n ],\n idempotent: true,\n examples: [{\n title: 'Disconnect the Slack workspace',\n request: { orgProviderCredentialId: CREDENTIAL_EXAMPLE_ID },\n response: { id: CREDENTIAL_EXAMPLE_ID },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [OrganizationProviderCredential_Operations.RELEASE_ROUTING]: {\n operationId: OrganizationProviderCredential_Operations.RELEASE_ROUTING,\n purpose: 'Turn off one organization\\'s connection that holds a vendor account routing inbound deliveries, so that account no longer routes to it (#2715).',\n outcome: 'The rightful organization can connect the account, which the one-organization-per-account rule refused while this connection held it. The holding organization keeps its connection, turned off, and its whole team is emailed.',\n whenToUse: 'Support only, when an organization holds a Slack workspace, a Teams bot or a Microsoft 365 tenant it should not, and will not disconnect it. The holder and the connection row are named by the application-level `provider_account_claim_refused` record the refused claim left. Requires a usable two-person application-wide access grant requested with purpose `tenant_overrule` and this organization as `targetOrganizationId`, approved by a second platform administrator (the holding organization\\'s own grant and a grant approved for reads do not admit this door; a machine credential never does), and a written justification, recorded on a CRITICAL row in its audit trail.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The connection is turned off. The answer is its id and `enabled: false`, nothing else of the tenant\\'s connection.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'No justification was given.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a platform super-administrator.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller holds the platform role and is a member of this organization, but holds no usable two-person grant signed for overruling it (`authorizations_application_access_grant_required`): request one. A member may know the row is there, so it is told what is missing.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is a machine credential holding the platform role, inside this organization (`authorizations_principal_kind_not_admitted`): a release is a person\\'s decision, and no grant admits a machine.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No connection with that id exists in the organization, or the caller is outside it and holds no usable two-person grant signed for overruling it (a machine credential never does): a crossing that is not admitted answers as if the row did not exist, so the tenant boundary confirms nothing.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The connection is already off, holds no account that routes deliveries, or changed while being released.' },\n ],\n idempotent: false,\n },\n [Op.UPDATE_MANY]: {\n purpose: 'Route-less retention plumbing.',\n outcome:\n 'Nothing is scrubbed in practice: this resource declares `RETAIN_ONLY`, a positive assertion that it holds no personal data of its own. 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.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The matching records were processed. INTERNAL_CALL — it registers no HTTP route.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The filter fails validation.' },\n ],\n },\n },\n\n frontend: {\n layout: {\n purpose: 'No sections: a stored credential is a handful of facts that no heading would group better than the rows do, so the templates are flat rows under a header and the preset declares no `layout.refs`.',\n headerPurpose: 'The READ header: `providerRef · secretSlug` on the title line and the `validationState` badge on the facts line under it. Neither the provider, the slot nor the state repeats in the body.',\n displayPurpose: 'Settings rows: whether the credential is enabled, then its description, last validation error, validation, use and secret-set dates, who set it and any connection facts — each hidden while empty — and its creation date.',\n summaryPurpose: 'A list card: the `providerRef · secretSlug` title, the `validationState` badge, and \"Enabled\" / \"Disabled\" as a word rather than a labelled checkmark.',\n editPurpose: 'The form reached from a credential\\'s Edit action: the new secret (focused), whether it is enabled, a description. `validationState` is not offered: it is the store\\'s verdict on the last use, excluded from create and update (#1809), and shows as the header badge. Provider and slot are the credential\\'s identity and are offered only on the API\\'s CREATE, which these screens hide.',\n },\n emptyState: {\n purpose: 'Say that nothing is connected yet and that connecting happens on the Integrations settings page, which lists every provider with its connect action — this list offers no Create of its own (#1040), so without this line the empty state is the page title again with no way forward.',\n },\n },\n businessConstraints: [\n 'The uniqueness grain is `(organizationId, connectionRef, secretSlug)` — the CONNECTION, not the provider ref (#1670): several refs of one vendor may share one connection and must then spend one stored grant rather than one per ref. Every ref is its own connection until the application declares otherwise, so today `connectionRef` equals `providerRef` on every row. It is enforced by a compound unique index rather than a read-then-write. Two administrators saving a rotation in the same minute would otherwise leave two rows, and the resolver would pick between them arbitrarily — so half the tenant\\'s outbound calls would carry the retired credential with nothing to say which half.',\n 'A credential is resolved BEFORE the deployment environment and never after it. A tenant that has set its own credential must never fall back to the shared deployment secret: an unopenable or tampered credential is REFUSED rather than substituted, because silently acting as the wrong third-party principal is the defect this resource exists to remove.',\n 'A disabled credential resolves as absent, not as an error — disabling parks an integration, it does not break it.',\n 'Credentials do not outlive their tenant: the ORGANIZATIONS composition cascade removes them when an organization is purged, through both the retention-window batch door and the super-administrator immediate-purge door. `request_deletion` only MARKS the tenant, so credentials survive the retention window deliberately — otherwise `restore` would return a tenant with no working integrations.',\n 'A subject erasure never reaches this resource. `setByUserId` names an ACTOR rather than a data subject, and no USERS relationship is registered for it — which also keeps a live credential off the subject-export graph, where `exportSubject` is FORBIDDEN.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n);\n"]}
|
|
@@ -12,10 +12,11 @@
|
|
|
12
12
|
* evaluation into the authorizer's module graph). Both modules are re-exported from the package
|
|
13
13
|
* root, so this spec imports every symbol from `@wildo-ai/saas-models` and is unaffected either way.
|
|
14
14
|
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
15
|
+
* UI presets: `platformAccessGrantsMainResourceUIBehavior` (presets-components, main scope, #2323) is the tenant's side,
|
|
16
|
+
* surfaced as Settings → Organization → Operator access, where its administrators approve, deny and revoke. The
|
|
17
|
+
* operator's request has no view there. `platformAccessGrantsAdminResourceUIBehavior` (operator scope, #2315) makes the
|
|
18
|
+
* request usable without a button: the tenant directory's page for one organization embeds it. Whether a request waits
|
|
19
|
+
* for the tenant is the organization's `platformAccessApprovalRequired`, on Organization → General.
|
|
19
20
|
*
|
|
20
21
|
* Why `ORGANIZATIONS` scope: the grant belongs to the tenant being reached INTO, not to the operator
|
|
21
22
|
* who asked. That is what lets the tenant read, approve and revoke elevations raised against it — a
|
|
@@ -27,15 +28,20 @@ import { CoreResourceOperation as Op, PlatformAccessGrantAutoApprovalReason, Pla
|
|
|
27
28
|
export declare const platformAccessGrantsResourceSpecification: import("../../../_core").ResourceSpecificationConfig<typeof PlatformAccessGrants_Operations, Op.READ | Op.UPDATE_MANY | Op.DELETE | Op.LIST | Op.COUNT, import("zod").ZodObject<{
|
|
28
29
|
_id: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>;
|
|
29
30
|
organizationId: 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("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>>>;
|
|
30
|
-
operatorUserId: 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("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString
|
|
31
|
+
operatorUserId: 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("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>>>>>>;
|
|
31
32
|
justification: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>;
|
|
32
33
|
status: 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("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDefault<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof PlatformAccessGrantStatus>>>>>>>>;
|
|
33
34
|
expiresAt: 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("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>>>>;
|
|
34
|
-
approvedByUserId: 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").ZodOptional<import("zod").ZodString
|
|
35
|
+
approvedByUserId: 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("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>>>>>>;
|
|
35
36
|
approvedAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodDate>>>;
|
|
37
|
+
decidedByUserId: 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("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>>>>>>;
|
|
38
|
+
decidedAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodDate>>>;
|
|
39
|
+
operatorName: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>>>;
|
|
40
|
+
approvedByName: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>>;
|
|
41
|
+
decidedByName: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString>>>;
|
|
36
42
|
autoApprovalReason: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodEnum<typeof PlatformAccessGrantAutoApprovalReason>>>>>>;
|
|
37
|
-
decisionReason: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodOptional<import("zod").ZodString
|
|
38
|
-
createdAt: import("zod").ZodOptional<import("zod").ZodDate
|
|
43
|
+
decisionReason: 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").ZodOptional<import("zod").ZodString>>>>>;
|
|
44
|
+
createdAt: import("zod").ZodOptional<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodDate>>;
|
|
39
45
|
updatedAt: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
40
46
|
}, import("zod/v4/core").$strip>>;
|
|
41
47
|
//# sourceMappingURL=platform-access-grants.resource.specification.d.ts.map
|
package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform-access-grants.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/auth/resources/platform-access-grants.resource.specification.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"platform-access-grants.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/auth/resources/platform-access-grants.resource.specification.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAaH,OAAO,EACL,qBAAqB,IAAI,EAAE,EAE3B,qCAAqC,EAErC,yBAAyB,EACzB,+BAA+B,EAGhC,MAAM,uBAAuB,CAAC;AA6E/B,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;iCA8drD,CAAC"}
|
|
@@ -12,10 +12,11 @@
|
|
|
12
12
|
* evaluation into the authorizer's module graph). Both modules are re-exported from the package
|
|
13
13
|
* root, so this spec imports every symbol from `@wildo-ai/saas-models` and is unaffected either way.
|
|
14
14
|
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
15
|
+
* UI presets: `platformAccessGrantsMainResourceUIBehavior` (presets-components, main scope, #2323) is the tenant's side,
|
|
16
|
+
* surfaced as Settings → Organization → Operator access, where its administrators approve, deny and revoke. The
|
|
17
|
+
* operator's request has no view there. `platformAccessGrantsAdminResourceUIBehavior` (operator scope, #2315) makes the
|
|
18
|
+
* request usable without a button: the tenant directory's page for one organization embeds it. Whether a request waits
|
|
19
|
+
* for the tenant is the organization's `platformAccessApprovalRequired`, on Organization → General.
|
|
19
20
|
*
|
|
20
21
|
* Why `ORGANIZATIONS` scope: the grant belongs to the tenant being reached INTO, not to the operator
|
|
21
22
|
* who asked. That is what lets the tenant read, approve and revoke elevations raised against it — a
|
|
@@ -23,10 +24,11 @@
|
|
|
23
24
|
* scope is expressed once, in the registry relationship ORGANIZATIONS → PLATFORM_ACCESS_GRANTS
|
|
24
25
|
* carrying `isPrimaryScope: true`; the runtime config deliberately does not restate it.
|
|
25
26
|
*/
|
|
27
|
+
import { platformAccessGrantsAdminResourceUIBehavior as platformAccessGrantsAdminUIBehaviorSource, platformAccessGrantsMainResourceUIBehavior as platformAccessGrantsUIBehaviorSource, } from '@wildo-ai/presets-components';
|
|
26
28
|
import { LabelAudience } from '@wildo-ai/presets-components-models';
|
|
27
29
|
import { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance, } from '@wildo-ai/zod-decorators';
|
|
28
30
|
import { CoreResourceOperation as Op, CoreUserNotificationTarget, PlatformAccessGrantAutoApprovalReason, PlatformAccessGrantSchema, PlatformAccessGrantStatus, PlatformAccessGrants_Operations, ResourcePrimaryScope, platformAccessGrantsResourceConfiguration_InitializationFactory, } from '@wildo-ai/saas-models';
|
|
29
|
-
import { HttpResponseStatusCode, resourceSpecification } from '../../../_core/index.js';
|
|
31
|
+
import { HttpResponseStatusCode, mergeResourceFrontendConfigurations, resourceFrontendConfiguration, resourceSpecification, resourceSpecificationFromFrontendConfiguration } from '../../../_core/index.js';
|
|
30
32
|
import { EngineResourceSubDomain } from '../../engine-resource-sub-domain.js';
|
|
31
33
|
const TENANT_CONSENT_AUDIENCE = 'Administrators of the TARGET tenant — the party whose data is about to be reached into, and the only party who can refuse.';
|
|
32
34
|
const TENANT_CONSENT_TONE = 'Direct and factual, and never reassuring by omission: name the operator, the reason they gave, and the window they asked for, so the recipient can decide rather than merely be informed.';
|
|
@@ -51,6 +53,8 @@ const platformAccessActiveGrantExample = {
|
|
|
51
53
|
status: PlatformAccessGrantStatus.ACTIVE,
|
|
52
54
|
approvedByUserId: PLATFORM_ACCESS_APPROVER_USER_ID,
|
|
53
55
|
approvedAt: '2026-08-20T12:08:00.000Z',
|
|
56
|
+
decidedByUserId: PLATFORM_ACCESS_APPROVER_USER_ID,
|
|
57
|
+
decidedAt: '2026-08-20T12:08:00.000Z',
|
|
54
58
|
updatedAt: '2026-08-20T12:08:00.000Z',
|
|
55
59
|
};
|
|
56
60
|
const platformAccessPendingGrantSummaryExample = {
|
|
@@ -83,7 +87,9 @@ function platformAccessGrantPage(data) {
|
|
|
83
87
|
},
|
|
84
88
|
};
|
|
85
89
|
}
|
|
86
|
-
|
|
90
|
+
const platformAccessGrantsUIBehavior = platformAccessGrantsUIBehaviorSource;
|
|
91
|
+
const platformAccessGrantsAdminUIBehavior = platformAccessGrantsAdminUIBehaviorSource;
|
|
92
|
+
export const platformAccessGrantsResourceSpecification = resourceSpecificationFromFrontendConfiguration(mergeResourceFrontendConfigurations(resourceFrontendConfiguration(platformAccessGrantsUIBehavior), resourceFrontendConfiguration(platformAccessGrantsAdminUIBehavior)), resourceSpecification(platformAccessGrantsResourceConfiguration_InitializationFactory, PlatformAccessGrantSchema, ({ schemaShape }) => ({
|
|
87
93
|
purpose: 'Give an application support team a justified, time-limited way to request access to an organization while keeping that organization informed and in control of the decision.',
|
|
88
94
|
businessRole: 'The organization\'s support-access ledger. It answers who requested access, why they requested it, how long the window lasts, whether an administrator approved it and when access ended.',
|
|
89
95
|
lifecycleRole: 'An authorized support operator creates a request. It waits for an organization administrator when approval is required, or becomes active immediately with an explicit automatic-approval reason. An administrator can approve or deny a pending request; either side can revoke pending or active access; expiry ends access automatically. Completed requests remain available as access-review history.',
|
|
@@ -187,6 +193,18 @@ export const platformAccessGrantsResourceSpecification = resourceSpecification(p
|
|
|
187
193
|
whyItMatters: 'Fixes the consent moment relative to the access that followed — a reviewer needs to see that approval preceded use, not merely that both happened.',
|
|
188
194
|
temporalRole: 'occurred',
|
|
189
195
|
}),
|
|
196
|
+
decidedByUserId: schemaShape.decidedByUserId.foreignKeySpec({
|
|
197
|
+
meaning: 'The tenant administrator who made the last decision on the grant: approved, denied or revoked it.',
|
|
198
|
+
whyItMatters: 'Answers who refused a request or ended a window early, which the approver field cannot, and keeps the last decision\'s reason attached to the person who gave it. Written by `approve`, `deny` and `revoke`; expiry is not a decision and leaves it alone.',
|
|
199
|
+
}),
|
|
200
|
+
operatorName: schemaShape.operatorName.stringSpec({ meaning: 'The operator who requested the elevation, by name: `operatorUserId`\'s label fallback. Resolved at read time from the person\'s profile, else their account\'s email (`forwardedUserName`, opted in for the operator only); never stored, so the row keeps only the id (#1852).', whyItMatters: 'A tenant administrator approving an operator usually may not read the operator\'s account, so the reference alone could not say who is asking. Hidden from display: the person is shown through the foreign key, and this name is its label when the viewer may not read the user.' }),
|
|
201
|
+
approvedByName: schemaShape.approvedByName.stringSpec({ meaning: 'The administrator who approved, by name: `approvedByUserId`\'s label fallback. Resolved at read time from the person\'s profile, and absent when they have none (`forwardedUserName`; never their email); never stored, so the row keeps only the id (#1852).', whyItMatters: 'Hidden from display: the person is shown through the foreign key, and this name is its label when the viewer may not read the user.' }),
|
|
202
|
+
decidedByName: schemaShape.decidedByName.stringSpec({ meaning: 'The administrator who made the last decision, by name: `decidedByUserId`\'s label fallback. Resolved at read time from the person\'s profile, and absent when they have none (`forwardedUserName`; never their email); never stored, so the row keeps only the id (#1852).', whyItMatters: 'Hidden from display: the person is shown through the foreign key, and this name is its label when the viewer may not read the user.' }),
|
|
203
|
+
decidedAt: schemaShape.decidedAt.dateSpec({
|
|
204
|
+
meaning: 'When the last decision was made.',
|
|
205
|
+
whyItMatters: 'Places a refusal or an early revocation in time against the access it ended.',
|
|
206
|
+
temporalRole: 'occurred',
|
|
207
|
+
}),
|
|
190
208
|
autoApprovalReason: schemaShape.autoApprovalReason.enumSpec({
|
|
191
209
|
meaning: 'Why this grant became ACTIVE with no tenant administrator acting.',
|
|
192
210
|
whyItMatters: 'Present exactly when nobody in the tenant consented, so its ABSENCE on an ACTIVE grant is itself evidence that a human approved. That distinction is what a customer audit asks for, and precisely what a single `approved: true` boolean would erase.',
|
|
@@ -202,8 +220,8 @@ export const platformAccessGrantsResourceSpecification = resourceSpecification(p
|
|
|
202
220
|
},
|
|
203
221
|
}),
|
|
204
222
|
decisionReason: schemaShape.decisionReason.stringSpec({
|
|
205
|
-
meaning: 'The
|
|
206
|
-
whyItMatters: 'Optional, unlike `justification`: a refusal owes no explanation, whereas a request does.
|
|
223
|
+
meaning: 'The reason given with the LAST decision — an approval, a refusal or a revocation. A decision given without one clears it.',
|
|
224
|
+
whyItMatters: 'Optional, unlike `justification`: a refusal owes no explanation, whereas a request does. It always belongs to `decidedByUserId`, so an approver\'s reason never reads as the revoker\'s.',
|
|
207
225
|
}),
|
|
208
226
|
createdAt: schemaShape.createdAt.dateSpec({
|
|
209
227
|
meaning: 'When the elevation was requested.',
|
|
@@ -227,7 +245,7 @@ export const platformAccessGrantsResourceSpecification = resourceSpecification(p
|
|
|
227
245
|
],
|
|
228
246
|
errorScenarios: [
|
|
229
247
|
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller does not hold the organization-administrator authority required to review support access.' },
|
|
230
|
-
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A
|
|
248
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A representative of another organization reaches this operation only through a live grant of the `APPROVE_ACCESS_GRANTS` capability the organization\'s OWNER lent its relationship, with step-up and for a task-sized window (#1631); refused without one, and on the next request after a revocation.' },
|
|
231
249
|
{ code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No request with the supplied id is visible in the caller\'s organization. Missing and other organizations\' requests are indistinguishable.' },
|
|
232
250
|
],
|
|
233
251
|
idempotent: true,
|
|
@@ -277,7 +295,7 @@ export const platformAccessGrantsResourceSpecification = resourceSpecification(p
|
|
|
277
295
|
],
|
|
278
296
|
errorScenarios: [
|
|
279
297
|
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller does not hold the organization-administrator authority required to review support access.' },
|
|
280
|
-
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A
|
|
298
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A representative of another organization reaches this operation only through a live grant of the `APPROVE_ACCESS_GRANTS` capability the organization\'s OWNER lent its relationship, with step-up and for a task-sized window (#1631); refused without one, and on the next request after a revocation.' },
|
|
281
299
|
],
|
|
282
300
|
idempotent: true,
|
|
283
301
|
examples: [{
|
|
@@ -329,7 +347,7 @@ export const platformAccessGrantsResourceSpecification = resourceSpecification(p
|
|
|
329
347
|
],
|
|
330
348
|
errorScenarios: [
|
|
331
349
|
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller does not hold the organization-administrator authority required to review support access.' },
|
|
332
|
-
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A
|
|
350
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A representative of another organization reaches this operation only through a live grant of the `APPROVE_ACCESS_GRANTS` capability the organization\'s OWNER lent its relationship, with step-up and for a task-sized window (#1631); refused without one, and on the next request after a revocation.' },
|
|
333
351
|
],
|
|
334
352
|
idempotent: true,
|
|
335
353
|
examples: [{
|
|
@@ -344,7 +362,7 @@ export const platformAccessGrantsResourceSpecification = resourceSpecification(p
|
|
|
344
362
|
outcome: 'The row is hard-deleted. Reachable exclusively by the ORGANIZATIONS `onParentDelete` cascade during a tenant purge; its single variant is INTERNAL_CALL, so it has no HTTP route and no client — of either party — can invoke it.',
|
|
345
363
|
whenToUse: 'Never directly. It exists so the composition cascade has a verb it can call: a child declaring `onParentDelete` while omitting DELETE fails the registry\'s composition-cascade-deletability guard, and at runtime would abort the parent tenant\'s deletion the moment a grant row existed.',
|
|
346
364
|
responseStatuses: [
|
|
347
|
-
{ code: HttpResponseStatusCode.
|
|
365
|
+
{ code: HttpResponseStatusCode.OK_200, meaning: 'The grant record was removed as part of its tenant\'s purge. Not observable over HTTP — the operation has no route.' },
|
|
348
366
|
],
|
|
349
367
|
idempotent: true,
|
|
350
368
|
},
|
|
@@ -402,7 +420,7 @@ export const platformAccessGrantsResourceSpecification = resourceSpecification(p
|
|
|
402
420
|
[PlatformAccessGrants_Operations.APPROVE]: {
|
|
403
421
|
operationId: PlatformAccessGrants_Operations.APPROVE,
|
|
404
422
|
purpose: 'Approve a pending support-access request.',
|
|
405
|
-
outcome: 'The request becomes `active`; the response records the approving administrator and decision time. Access remains usable only until it expires or is revoked.',
|
|
423
|
+
outcome: 'The request becomes `active`; the response records the approving administrator and decision time. Access remains usable only until it expires or is revoked. The operator who asked is emailed the answer.',
|
|
406
424
|
whenToUse: 'An administrator of the requested organization has reviewed the requester, justification and time window and agrees to grant access.',
|
|
407
425
|
importance: FieldSemanticImportance.PRIMARY,
|
|
408
426
|
responseStatuses: [
|
|
@@ -410,7 +428,7 @@ export const platformAccessGrantsResourceSpecification = resourceSpecification(p
|
|
|
410
428
|
],
|
|
411
429
|
errorScenarios: [
|
|
412
430
|
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an administrator of the organization the request targets. A support operator cannot approve their own request.' },
|
|
413
|
-
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A
|
|
431
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A representative of another organization reaches this operation only through a live grant of the `APPROVE_ACCESS_GRANTS` capability the organization\'s OWNER lent its relationship, with step-up and for a task-sized window (#1631); refused without one, and on the next request after a revocation.' },
|
|
414
432
|
{ code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No request with the supplied id is visible in the caller\'s organization.' },
|
|
415
433
|
{ code: HttpResponseStatusCode.CONFLICT_409, when: 'The request is no longer `pending_approval`; an approved, denied, revoked or expired request cannot be approved again.' },
|
|
416
434
|
],
|
|
@@ -429,14 +447,14 @@ export const platformAccessGrantsResourceSpecification = resourceSpecification(p
|
|
|
429
447
|
[PlatformAccessGrants_Operations.DENY]: {
|
|
430
448
|
operationId: PlatformAccessGrants_Operations.DENY,
|
|
431
449
|
purpose: 'Deny a pending support-access request.',
|
|
432
|
-
outcome: 'The request becomes `denied` and cannot be retried. Any later support need requires a new request.',
|
|
450
|
+
outcome: 'The request becomes `denied` and cannot be retried. Any later support need requires a new request. The operator who asked is emailed the answer.',
|
|
433
451
|
whenToUse: 'An administrator of the requested organization has reviewed the request and declines access.',
|
|
434
452
|
responseStatuses: [
|
|
435
453
|
{ code: HttpResponseStatusCode.OK_200, meaning: 'The support-access request was denied, and its final state is returned.' },
|
|
436
454
|
],
|
|
437
455
|
errorScenarios: [
|
|
438
456
|
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an administrator of the organization the request targets. A support operator cannot decide their own request.' },
|
|
439
|
-
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A
|
|
457
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A representative of another organization reaches this operation only through a live grant of the `APPROVE_ACCESS_GRANTS` capability the organization\'s OWNER lent its relationship, with step-up and for a task-sized window (#1631); refused without one, and on the next request after a revocation.' },
|
|
440
458
|
{ code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No request with the supplied id is visible in the caller\'s organization.' },
|
|
441
459
|
{ code: HttpResponseStatusCode.CONFLICT_409, when: 'The request is no longer `pending_approval`; it was already approved, denied, revoked or has expired.' },
|
|
442
460
|
],
|
|
@@ -460,14 +478,14 @@ export const platformAccessGrantsResourceSpecification = resourceSpecification(p
|
|
|
460
478
|
[PlatformAccessGrants_Operations.REVOKE]: {
|
|
461
479
|
operationId: PlatformAccessGrants_Operations.REVOKE,
|
|
462
480
|
purpose: 'End pending or active support access early.',
|
|
463
|
-
outcome: 'The request becomes `revoked` and access stops immediately instead of remaining available until the recorded expiry.',
|
|
481
|
+
outcome: 'The request becomes `revoked` and access stops immediately instead of remaining available until the recorded expiry. The operator is emailed, unless they revoked it themselves.',
|
|
464
482
|
whenToUse: 'An organization withdraws access it approved, or an application support operator closes access as soon as the support work is complete.',
|
|
465
483
|
responseStatuses: [
|
|
466
484
|
{ code: HttpResponseStatusCode.OK_200, meaning: 'The support-access request was revoked, and its final state is returned.' },
|
|
467
485
|
],
|
|
468
486
|
errorScenarios: [
|
|
469
487
|
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is neither an administrator of the requested organization nor an application super-administrator.' },
|
|
470
|
-
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A
|
|
488
|
+
{ code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A representative of another organization reaches this operation only through a live grant of the `APPROVE_ACCESS_GRANTS` capability the organization\'s OWNER lent its relationship, with step-up and for a task-sized window (#1631); refused without one, and on the next request after a revocation.' },
|
|
471
489
|
{ code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No request with the supplied id is visible to the caller.' },
|
|
472
490
|
{ code: HttpResponseStatusCode.CONFLICT_409, when: 'The request is already denied, revoked or expired. Only a `pending_approval` or `active` request can be revoked.' },
|
|
473
491
|
],
|
|
@@ -498,5 +516,40 @@ export const platformAccessGrantsResourceSpecification = resourceSpecification(p
|
|
|
498
516
|
'A tenant with no administratively usable owner cannot be required to approve its own repair — that is circular, and the administrative-continuity floors exist precisely because a tenant can reach that state. It is resolved by MEASUREMENT rather than exception: the grant is auto-approved with `TENANT_CANNOT_APPROVE`, evaluated with the SAME predicate the owner floor uses to refuse writes, so the two subsystems can never disagree about whether a tenant can administer itself. An operator cannot manufacture the condition either — stranding a tenant is exactly what the floors refuse.',
|
|
499
517
|
'Terminal statuses are how a grant ends. DENIED, EXPIRED and REVOKED are never edited back to life, and the row is never erased by either party: an elevation record either side could delete is not evidence. The only removal path is the tenant purge cascade, which destroys the tenant the record was about.',
|
|
500
518
|
],
|
|
501
|
-
}), { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS })
|
|
519
|
+
}), { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS }), () => ({
|
|
520
|
+
label: {
|
|
521
|
+
purpose: 'The instant the request was made, in the viewer\'s date-time format. The record carries the operator only as a user id, and a synchronous label cannot resolve a name, so the operator is shown, resolved to the person, as the first row of the body and on the card instead.',
|
|
522
|
+
},
|
|
523
|
+
layout: {
|
|
524
|
+
purpose: 'Three sections that keep the two identities apart: `request` (the operator and their stated reason), `decision` (who in the tenant signed, when and why), `window` (how long it lasts, and why it opened without a signature when it was auto-approved).',
|
|
525
|
+
displayPurpose: 'Read-only: every state change is a named verb (approve, deny, revoke), none a form. The header carries the request instant and the status badge, a pending request in the warning colour. Both identities resolve to the person. The decision reason and the auto-approval reason hide when empty; the approver row stays, because on a pending request its emptiness is the answer.',
|
|
526
|
+
summaryPurpose: 'A card titled with the request instant, then who asked, the status badge, and the expiry labelled.',
|
|
527
|
+
sections: {
|
|
528
|
+
request: {
|
|
529
|
+
purpose: 'The platform operator who asked, and the justification they gave.',
|
|
530
|
+
whenToUse: 'Deciding a pending request, and the first block of any grant\'s record.',
|
|
531
|
+
textSlots: { title: { purpose: 'Label the request block: who asked, and why.' } },
|
|
532
|
+
},
|
|
533
|
+
decision: {
|
|
534
|
+
purpose: 'The tenant administrator who approved and when, the administrator who made the LAST decision (approved, denied or revoked) and when, and that decision\u2019s reason. A denial or a revocation is read against its own decider, never against the approver.',
|
|
535
|
+
whenToUse: 'Auditing whether an operator\'s access was approved by the organization, and on what grounds.',
|
|
536
|
+
textSlots: { title: { purpose: 'Label the decision block.' } },
|
|
537
|
+
},
|
|
538
|
+
window: {
|
|
539
|
+
purpose: 'When the access ends, and, for a window opened without the tenant\'s signature, why (approval not required, or the tenant had no usable administrator).',
|
|
540
|
+
whenToUse: 'Judging whether an operator can still reach the organization.',
|
|
541
|
+
textSlots: { title: { purpose: 'Label the validity block.' } },
|
|
542
|
+
},
|
|
543
|
+
},
|
|
544
|
+
},
|
|
545
|
+
views: {
|
|
546
|
+
[Op.LIST]: { purpose: 'Every operator access request against this organization, newest first in day groups, reached from Settings → Organization → Operator access. A pending one carries the warning badge.', whenToUse: 'Approving or refusing a pending request, and reviewing who reached the organization and when.' },
|
|
547
|
+
[Op.READ]: { purpose: 'One request in full, both identities and both reasons, in the companion drawer.', whenToUse: 'Reading the justification before deciding, or auditing a window afterwards.' },
|
|
548
|
+
[PlatformAccessGrants_Operations.APPROVE]: { purpose: 'The tenant\'s signature on a pending request, with an optional recorded reason; the window opens.', whenToUse: 'The justification holds and the organization accepts the access.' },
|
|
549
|
+
[PlatformAccessGrants_Operations.DENY]: { purpose: 'Terminal refusal of a pending request, with an optional recorded reason.', whenToUse: 'The justification does not hold, or the organization does not accept access now.' },
|
|
550
|
+
[PlatformAccessGrants_Operations.REVOKE]: { purpose: 'Ends a pending request or an open window early.', whenToUse: 'The support case is over, or the organization withdraws its consent.' },
|
|
551
|
+
[PlatformAccessGrants_Operations.REQUEST_ACCESS]: { purpose: 'The operator\'s request: a justification and an optional duration. Headless in the tenant\'s scope, since the organization does not request access to itself. In the operator scope it has no button and is embedded in the tenant directory\'s page for one organization (#2315), the page an operator without a grant reaches; afterwards the form goes back, since the grant\'s page is the tenant\'s.', whenToUse: 'An operator asking a tenant they do not belong to for a time-limited window, from Administration \u2192 Organizations.' },
|
|
552
|
+
[PlatformAccessGrants_Operations.EXPIRE]: { purpose: 'ACTIVE → EXPIRED, dispatched by the expiry sweep and by nothing else. Headless.', whenToUse: 'Never by hand; revoke ends a window early.' },
|
|
553
|
+
},
|
|
554
|
+
}));
|
|
502
555
|
//# sourceMappingURL=platform-access-grants.resource.specification.js.map
|